reacthub-pixitweenjs 0.2.107-alpha.104 → 0.2.107-alpha.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -237,10 +237,10 @@ const GsapPixieContext = React.createContext({}), Events = {
237
237
  Z.current.isDragging = !0, U && U($e), emitCustomEvent(Events.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
238
238
  },
239
239
  [U]
240
- ), ke = React.useCallback(() => {
240
+ ), Oe = React.useCallback(() => {
241
241
  if (E.current === null)
242
242
  return;
243
- const $e = E.current.x, Le = E.current.y, Ge = E.current.width, He = E.current.height, We = E.current.rotation, je = [
243
+ const $e = E.current.x, Le = E.current.y, Ue = E.current.width, He = E.current.height, We = E.current.rotation, je = [
244
244
  E.current.scale.x,
245
245
  E.current.scale.y
246
246
  ], Ve = je[0] < 0 ? -1 : 1, ze = je[1] < 0 ? -1 : 1;
@@ -249,7 +249,7 @@ const GsapPixieContext = React.createContext({}), Events = {
249
249
  transformation: {
250
250
  x: Math.round($e),
251
251
  y: Math.round(Le),
252
- width: Math.round(Math.max(5, Ge)),
252
+ width: Math.round(Math.max(5, Ue)),
253
253
  height: Math.round(Math.max(5, He)),
254
254
  rotation: We,
255
255
  scale: K ? je : [Ve, ze]
@@ -278,7 +278,7 @@ const GsapPixieContext = React.createContext({}), Events = {
278
278
  radius: 10
279
279
  },
280
280
  transformchange: Fe,
281
- transformcommit: ke
281
+ transformcommit: Oe
282
282
  }
283
283
  );
284
284
  };
@@ -893,7 +893,7 @@ function isEmpty(C) {
893
893
  }
894
894
  var isEmpty_1 = isEmpty;
895
895
  const isEmpty$1 = /* @__PURE__ */ getDefaultExportFromCjs(isEmpty_1);
896
- var OverlayTypes = /* @__PURE__ */ ((C) => (C.NONE = "none", C.NORMAL = "normal", C.LENSFLARE = "lensflare", C.FILMSTRIP = "filmstrip", C.GRUNGE = "grunge", C.BRICKS = "bricks", C))(OverlayTypes || {});
896
+ var OverlayTypes = /* @__PURE__ */ ((C) => (C.NONE = "none", C.NORMAL = "normal", C.LENSFLARE = "lensflare", C.FILMSTRIP = "filmstrip", C.GRUNGE = "grunge", C.BRICKS = "bricks", C))(OverlayTypes || {}), Waveforms = /* @__PURE__ */ ((C) => (C.NONE = "none", C.EQUALIZER = "equalizer", C.SINE = "sine", C))(Waveforms || {});
897
897
  const overlays = {
898
898
  normal: {
899
899
  src: "https://eyecastvideoeditorfiles.s3.ap-southeast-2.amazonaws.com/assets/overlays/eyecast_lensflare_overlay_50.jpg",
@@ -967,23 +967,23 @@ function arcToSegment(C, E, I, B, U, V, X, Y, K) {
967
967
  I = _abs(I), B = _abs(B);
968
968
  var _e = U % 360 * _DEG2RAD$1, xe = _cos(_e), Z = _sin(_e), J = Math.PI, Se = J * 2, Te = (C - Y) / 2, Ae = (E - K) / 2, Me = xe * Te + Z * Ae, Ee = -Z * Te + xe * Ae, we = Me * Me, Pe = Ee * Ee, Ie = we / (I * I) + Pe / (B * B);
969
969
  Ie > 1 && (I = _sqrt(Ie) * I, B = _sqrt(Ie) * B);
970
- var Fe = I * I, ke = B * B, $e = (Fe * ke - Fe * Pe - ke * we) / (Fe * Pe + ke * we);
970
+ var Fe = I * I, Oe = B * B, $e = (Fe * Oe - Fe * Pe - Oe * we) / (Fe * Pe + Oe * we);
971
971
  $e < 0 && ($e = 0);
972
- var Le = (V === X ? -1 : 1) * _sqrt($e), Ge = Le * (I * Ee / B), He = Le * -(B * Me / I), We = (C + Y) / 2, je = (E + K) / 2, Ve = We + (xe * Ge - Z * He), ze = je + (Z * Ge + xe * He), Xe = (Me - Ge) / I, De = (Ee - He) / B, Be = (-Me - Ge) / I, Re = (-Ee - He) / B, Oe = Xe * Xe + De * De, Ue = (De < 0 ? -1 : 1) * Math.acos(Xe / _sqrt(Oe)), Ne = (Xe * Re - De * Be < 0 ? -1 : 1) * Math.acos((Xe * Be + De * Re) / _sqrt(Oe * (Be * Be + Re * Re)));
973
- isNaN(Ne) && (Ne = J), !X && Ne > 0 ? Ne -= Se : X && Ne < 0 && (Ne += Se), Ue %= Se, Ne %= Se;
974
- var Ye = Math.ceil(_abs(Ne) / (Se / 4)), qe = [], Ke = Ne / Ye, et = 4 / 3 * _sin(Ke / 2) / (1 + _cos(Ke / 2)), Je = xe * I, nt = Z * I, at = Z * -B, ot = xe * B, Qe;
975
- for (Qe = 0; Qe < Ye; Qe++)
976
- U = Ue + Qe * Ke, Me = _cos(U), Ee = _sin(U), Xe = _cos(U += Ke), De = _sin(U), qe.push(Me - et * Ee, Ee + et * Me, Xe + et * De, De - et * Xe, Xe, De);
977
- for (Qe = 0; Qe < qe.length; Qe += 2)
978
- Me = qe[Qe], Ee = qe[Qe + 1], qe[Qe] = Me * Je + Ee * at + Ve, qe[Qe + 1] = Me * nt + Ee * ot + ze;
979
- return qe[Qe - 2] = Y, qe[Qe - 1] = K, qe;
972
+ var Le = (V === X ? -1 : 1) * _sqrt($e), Ue = Le * (I * Ee / B), He = Le * -(B * Me / I), We = (C + Y) / 2, je = (E + K) / 2, Ve = We + (xe * Ue - Z * He), ze = je + (Z * Ue + xe * He), Xe = (Me - Ue) / I, De = (Ee - He) / B, Be = (-Me - Ue) / I, Re = (-Ee - He) / B, ke = Xe * Xe + De * De, Ge = (De < 0 ? -1 : 1) * Math.acos(Xe / _sqrt(ke)), Ne = (Xe * Re - De * Be < 0 ? -1 : 1) * Math.acos((Xe * Be + De * Re) / _sqrt(ke * (Be * Be + Re * Re)));
973
+ isNaN(Ne) && (Ne = J), !X && Ne > 0 ? Ne -= Se : X && Ne < 0 && (Ne += Se), Ge %= Se, Ne %= Se;
974
+ var qe = Math.ceil(_abs(Ne) / (Se / 4)), Ye = [], Ke = Ne / qe, rt = 4 / 3 * _sin(Ke / 2) / (1 + _cos(Ke / 2)), it = xe * I, Qe = Z * I, st = Z * -B, at = xe * B, Ze;
975
+ for (Ze = 0; Ze < qe; Ze++)
976
+ U = Ge + Ze * Ke, Me = _cos(U), Ee = _sin(U), Xe = _cos(U += Ke), De = _sin(U), Ye.push(Me - rt * Ee, Ee + rt * Me, Xe + rt * De, De - rt * Xe, Xe, De);
977
+ for (Ze = 0; Ze < Ye.length; Ze += 2)
978
+ Me = Ye[Ze], Ee = Ye[Ze + 1], Ye[Ze] = Me * it + Ee * st + Ve, Ye[Ze + 1] = Me * Qe + Ee * at + ze;
979
+ return Ye[Ze - 2] = Y, Ye[Ze - 1] = K, Ye;
980
980
  }
981
981
  }
982
982
  function stringToRawPath(C) {
983
- var E = (C + "").replace(_scientific, function(Ge) {
984
- var He = +Ge;
983
+ var E = (C + "").replace(_scientific, function(Ue) {
984
+ var He = +Ue;
985
985
  return He < 1e-4 && He > -1e-4 ? 0 : He;
986
- }).match(_svgPathExp) || [], I = [], B = 0, U = 0, V = 2 / 3, X = E.length, Y = 0, K = "ERROR: malformed path: " + C, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, ke, $e, Le = function(He, We, je, Ve) {
986
+ }).match(_svgPathExp) || [], I = [], B = 0, U = 0, V = 2 / 3, X = E.length, Y = 0, K = "ERROR: malformed path: " + C, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, Oe, $e, Le = function(He, We, je, Ve) {
987
987
  we = (je - He) / 3, Pe = (Ve - We) / 3, Ae.push(He + we, We + Pe, je - we, Ve - Pe, je, Ve);
988
988
  };
989
989
  if (!C || !isNaN(E[0]) || isNaN(E[1]))
@@ -1006,7 +1006,7 @@ function stringToRawPath(C) {
1006
1006
  else if (Se === "L" || Se === "Z")
1007
1007
  Se === "Z" && (Z = Me, J = Ee, Ae.closed = !0), (Se === "L" || _abs(B - Z) > 0.5 || _abs(U - J) > 0.5) && (Le(B, U, Z, J), Se === "L" && (_e += 2)), B = Z, U = J;
1008
1008
  else if (Se === "A") {
1009
- if (ke = E[_e + 4], $e = E[_e + 5], we = E[_e + 6], Pe = E[_e + 7], xe = 7, ke.length > 1 && (ke.length < 3 ? (Pe = we, we = $e, xe--) : (Pe = $e, we = ke.substr(2), xe -= 2), $e = ke.charAt(1), ke = ke.charAt(0)), Ie = arcToSegment(B, U, +E[_e + 1], +E[_e + 2], +E[_e + 3], +ke, +$e, (Te ? B : 0) + we * 1, (Te ? U : 0) + Pe * 1), _e += xe, Ie)
1009
+ if (Oe = E[_e + 4], $e = E[_e + 5], we = E[_e + 6], Pe = E[_e + 7], xe = 7, Oe.length > 1 && (Oe.length < 3 ? (Pe = we, we = $e, xe--) : (Pe = $e, we = Oe.substr(2), xe -= 2), $e = Oe.charAt(1), Oe = Oe.charAt(0)), Ie = arcToSegment(B, U, +E[_e + 1], +E[_e + 2], +E[_e + 3], +Oe, +$e, (Te ? B : 0) + we * 1, (Te ? U : 0) + Pe * 1), _e += xe, Ie)
1010
1010
  for (xe = 0; xe < Ie.length; xe++)
1011
1011
  Ae.push(Ie[xe]);
1012
1012
  B = Ae[Ae.length - 2], U = Ae[Ae.length - 1];
@@ -1050,7 +1050,7 @@ var gsap$1, _coreInitted, _getGSAP$1 = function() {
1050
1050
  for (K ? K = 1 / K : K = -Y, _e = 0; _e < X; _e += 2)
1051
1051
  E[_e] = (+E[_e] + U) * Y, E[_e + 1] = (+E[_e + 1] + V) * K;
1052
1052
  }, _bezierToPoints = function C(E, I, B, U, V, X, Y, K, _e, xe, Z) {
1053
- var J = (E + B) / 2, Se = (I + U) / 2, Te = (B + V) / 2, Ae = (U + X) / 2, Me = (V + Y) / 2, Ee = (X + K) / 2, we = (J + Te) / 2, Pe = (Se + Ae) / 2, Ie = (Te + Me) / 2, Fe = (Ae + Ee) / 2, ke = (we + Ie) / 2, $e = (Pe + Fe) / 2, Le = Y - E, Ge = K - I, He = Math.abs((B - Y) * Ge - (U - K) * Le), We = Math.abs((V - Y) * Ge - (X - K) * Le), je;
1053
+ var J = (E + B) / 2, Se = (I + U) / 2, Te = (B + V) / 2, Ae = (U + X) / 2, Me = (V + Y) / 2, Ee = (X + K) / 2, we = (J + Te) / 2, Pe = (Se + Ae) / 2, Ie = (Te + Me) / 2, Fe = (Ae + Ee) / 2, Oe = (we + Ie) / 2, $e = (Pe + Fe) / 2, Le = Y - E, Ue = K - I, He = Math.abs((B - Y) * Ue - (U - K) * Le), We = Math.abs((V - Y) * Ue - (X - K) * Le), je;
1054
1054
  return xe || (xe = [{
1055
1055
  x: E,
1056
1056
  y: I
@@ -1058,9 +1058,9 @@ var gsap$1, _coreInitted, _getGSAP$1 = function() {
1058
1058
  x: Y,
1059
1059
  y: K
1060
1060
  }], Z = 1), xe.splice(Z || xe.length - 1, 0, {
1061
- x: ke,
1061
+ x: Oe,
1062
1062
  y: $e
1063
- }), (He + We) * (He + We) > _e * (Le * Le + Ge * Ge) && (je = xe.length, C(E, I, J, Se, we, Pe, ke, $e, _e, xe, Z), C(ke, $e, Ie, Fe, Me, Ee, Y, K, _e, xe, Z + 1 + (xe.length - je))), xe;
1063
+ }), (He + We) * (He + We) > _e * (Le * Le + Ue * Ue) && (je = xe.length, C(E, I, J, Se, we, Pe, Oe, $e, _e, xe, Z), C(Oe, $e, Ie, Fe, Me, Ee, Y, K, _e, xe, Z + 1 + (xe.length - je))), xe;
1064
1064
  }, CustomEase = /* @__PURE__ */ function() {
1065
1065
  function C(I, B, U) {
1066
1066
  _coreInitted || _initCore$1(), this.id = I, this.setData(B, U);
@@ -1590,33 +1590,46 @@ function useGsapEffect() {
1590
1590
  ) };
1591
1591
  }
1592
1592
  var Animations = /* @__PURE__ */ ((C) => (C.NONE = "NONE", C.FLASH = "FLASH", C.PULSE = "PULSE", C.SHAKE = "SHAKE", C.SWING = "SWING", C.JELLO = "JELLO", C.WOOBLE = "WOOBLE", C.FADE_IN = "FADE_IN", C.FADE_OUT = "FADE_OUT", C.FADE_IN_OUT = "FADE_IN_OUT", C.SLIDE_IN_LEFT = "SLIDE_IN_LEFT", C.SLIDE_IN_RIGHT = "SLIDE_IN_RIGHT", C.SLIDE_IN_TOP = "SLIDE_IN_TOP", C.SLIDE_IN_BOTTOM = "SLIDE_IN_BOTTOM", C.SLIDE_OUT_LEFT = "SLIDE_OUT_LEFT", C.SLIDE_OUT_RIGHT = "SLIDE_OUT_RIGHT", C.SLIDE_OUT_TOP = "SLIDE_OUT_TOP", C.SLIDE_OUT_BOTTOM = "SLIDE_OUT_BOTTOM", C.ZOOM_IN = "ZOOM_IN", C.ZOOM_OUT = "ZOOM_OUT", C.ZOOM_IN_OUT = "ZOOM_IN_OUT", C.BOUNCE_IN = "BOUNCE_IN", C.BOUNCE_OUT = "BOUNCE_OUT", C.BOUNCE_IN_OUT = "BOUNCE_IN_OUT", C.BOUNCE_IN_DOWN = "BOUNCE_IN_DOWN", C.BOUNCE_IN_LEFT = "BOUNCE_IN_LEFT", C.BOUNCE_IN_RIGHT = "BOUNCE_IN_RIGHT", C.BOUNCE_IN_UP = "BOUNCE_IN_UP", C.BOUNCE_OUT_DOWN = "BOUNCE_OUT_DOWN", C.BOUNCE_OUT_LEFT = "BOUNCE_OUT_LEFT", C.BOUNCE_OUT_RIGHT = "BOUNCE_OUT_RIGHT", C.BOUNCE_OUT_UP = "BOUNCE_OUT_UP", C.FADE_IN_DOWN = "FADE_IN_DOWN", C.FADE_IN_LEFT = "FADE_IN_LEFT", C.FADE_IN_RIGHT = "FADE_IN_RIGHT", C.FADE_IN_UP = "FADE_IN_UP", C.FADE_OUT_DOWN = "FADE_OUT_DOWN", C.FADE_OUT_LEFT = "FADE_OUT_LEFT", C.FADE_OUT_RIGHT = "FADE_OUT_RIGHT", C.FADE_OUT_UP = "FADE_OUT_UP", C.ELASTIC_IN = "ELASTIC_IN", C.ELASTIC_OUT = "ELASTIC_OUT", C.ELASTIC_IN_OUT = "ELASTIC_IN_OUT", C.BACK_IN = "BACK_IN", C.BACK_OUT = "BACK_OUT", C.BACK_IN_OUT = "BACK_IN_OUT", C.CIRCULAR_IN = "CIRCULAR_IN", C.CIRCULAR_OUT = "CIRCULAR_OUT", C.CIRCULAR_IN_OUT = "CIRCULAR_IN_OUT", C.EXPO_IN = "EXPO_IN", C.EXPO_OUT = "EXPO_OUT", C.EXPO_IN_OUT = "EXPO_IN_OUT", C.SINE_IN = "SINE_IN", C.SINE_OUT = "SINE_OUT", C.SINE_IN_OUT = "SINE_IN_OUT", C.BOUNCE = "BOUNCE", C.ELASTIC = "ELASTIC", C.BACK = "BACK", C.CIRCULAR = "CIRCULAR", C.EXPO = "EXPO", C.SINE = "SINE", C))(Animations || {});
1593
- const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], AbstractContainer = React.forwardRef((C, E) => {
1593
+ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], initalTransforms = {
1594
+ x: 0,
1595
+ y: 0,
1596
+ width: 0,
1597
+ height: 0,
1598
+ anchor: 0.5,
1599
+ animation: Animations.NONE,
1600
+ maxX: 0,
1601
+ maxY: 0,
1602
+ scale: 1,
1603
+ rotation: 0,
1604
+ effect: Effects.Normal,
1605
+ overlay: OverlayTypes.NONE
1606
+ }, AbstractContainer = React.forwardRef((C, E) => {
1594
1607
  const [I, B] = React.useState(!1), [U, V] = useState(!1), [X, Y] = useState(!1), [K, _e] = useState(), xe = useDebounce(K, 300), Z = useRef(null), J = useRef(null), Se = useRef(null), Te = useRef(null), Ae = useRef(null), Me = useRef(null), { tl: Ee } = useContext(GsapPixieContext), we = useApp(), Pe = we.screen.width, Ie = we.screen.height, {
1595
1608
  uniqueId: Fe,
1596
- visible: ke,
1609
+ visible: Oe,
1597
1610
  startAt: $e,
1598
- transformation: {
1599
- x: Le,
1600
- y: Ge,
1601
- width: He,
1602
- height: We,
1603
- scale: je = [1, 1],
1604
- rotation: Ve = 0,
1605
- effect: ze,
1606
- overlay: Xe,
1607
- animation: De = Animations.NONE
1608
- },
1609
- applyTransformer: Be,
1610
- disabled: Re,
1611
- pointerdown: Oe,
1612
- pointerout: Ue,
1613
- pointerover: Ne,
1614
- isText: Ye,
1615
- isDragging: qe,
1616
- isGif: Ke,
1617
- onDoubleClick: et,
1618
- isTextEditMode: Je
1619
- } = C, nt = useGsapEffect();
1611
+ transformation: Le = initalTransforms,
1612
+ applyTransformer: Ue,
1613
+ disabled: He,
1614
+ pointerdown: We,
1615
+ pointerout: je,
1616
+ pointerover: Ve,
1617
+ isText: ze,
1618
+ isDragging: Xe,
1619
+ isGif: De,
1620
+ onDoubleClick: Be,
1621
+ isTextEditMode: Re
1622
+ } = C, {
1623
+ x: ke = 0,
1624
+ y: Ge = 0,
1625
+ width: Ne,
1626
+ height: qe,
1627
+ scale: Ye = [1, 1],
1628
+ rotation: Ke = 0,
1629
+ effect: rt,
1630
+ overlay: it,
1631
+ animation: Qe = Animations.NONE
1632
+ } = Le, st = useGsapEffect();
1620
1633
  useCustomEventListener(Events.COMPLETE, () => {
1621
1634
  Z.current;
1622
1635
  }), React.useImperativeHandle(
@@ -1630,51 +1643,51 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1630
1643
  Z.current && B(!0);
1631
1644
  }, []), React.useEffect(() => {
1632
1645
  _e({
1633
- x: Le,
1646
+ x: ke,
1634
1647
  y: Ge,
1635
- width: He,
1636
- height: We,
1637
- animation: De,
1648
+ width: Ne,
1649
+ height: qe,
1650
+ animation: Qe,
1638
1651
  maxX: Pe,
1639
1652
  maxY: Ie
1640
1653
  });
1641
- }, [De, Le, Ge, He, We, Pe, Ie]), React.useEffect(() => {
1654
+ }, [Qe, ke, Ge, Ne, qe, Pe, Ie]), React.useEffect(() => {
1642
1655
  if (!J.current)
1643
1656
  return;
1644
- const rt = gsap$2.context(() => {
1657
+ const tt = gsap$2.context(() => {
1645
1658
  if (Ee.current && xe) {
1646
- const { x: it, y: Ze, animation: st, maxX: lt, maxY: ut } = xe || {}, ct = Ee.current.progress(), ht = nt.updateEffect(
1659
+ const { x: Je, y: ot, animation: lt, maxX: ht, maxY: ct } = xe || {}, ft = Ee.current.progress(), ut = st.updateEffect(
1647
1660
  Z.current,
1648
- st,
1661
+ lt,
1649
1662
  {
1650
1663
  immediateRender: !1,
1651
- x: it,
1652
- y: Ze,
1664
+ x: Je,
1665
+ y: ot,
1653
1666
  overwrite: !0,
1654
- maxX: lt,
1655
- maxY: ut
1667
+ maxX: ht,
1668
+ maxY: ct
1656
1669
  }
1657
1670
  );
1658
- Ae.current && (Ee.current.remove(Ae.current), Ae.current.progress(0).kill()), ct > 0.1 ? (ht.eventCallback("onComplete", () => {
1659
- ht.remove("onComplete"), Ee.current.add(ht, $e), Ae.current = ht;
1660
- }), ht.play()) : (ht.progress(1), Ee.current.add(ht, $e), Ae.current = ht);
1671
+ Ae.current && (Ee.current.remove(Ae.current), Ae.current.progress(0).kill()), ft > 0.1 ? (ut.eventCallback("onComplete", () => {
1672
+ ut.remove("onComplete"), Ee.current.add(ut, $e), Ae.current = ut;
1673
+ }), ut.play()) : (ut.progress(1), Ee.current.add(ut, $e), Ae.current = ut);
1661
1674
  } else
1662
1675
  Ae.current && Ae.current.progress(0).kill();
1663
1676
  }, J.current);
1664
1677
  return () => {
1665
- rt.revert();
1678
+ tt.revert();
1666
1679
  };
1667
1680
  }, [$e, xe]);
1668
1681
  const at = React.useCallback(() => {
1669
- Y(!0), Ne && Ne();
1670
- }, []), ot = React.useCallback(() => {
1682
+ Y(!0), Ve && Ve();
1683
+ }, []), Ze = React.useCallback(() => {
1671
1684
  V(!0);
1672
- }, []), Qe = React.useCallback(
1673
- (rt) => {
1674
- C.onAnchorTransformationEnd && C.onAnchorTransformationEnd(rt), V(!1);
1685
+ }, []), et = React.useCallback(
1686
+ (tt) => {
1687
+ C.onAnchorTransformationEnd && C.onAnchorTransformationEnd(tt), V(!1);
1675
1688
  },
1676
1689
  []
1677
- ), tt = withFilters(Container$1, {
1690
+ ), nt = withFilters(Container$1, {
1678
1691
  matrix: PIXI.filters.ColorMatrixFilter
1679
1692
  });
1680
1693
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$1, { ref: J, children: [
@@ -1682,26 +1695,26 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1682
1695
  Container$1,
1683
1696
  {
1684
1697
  ref: Z,
1685
- position: [Le, Ge],
1686
- pivot: [Le, Ge],
1687
- width: He,
1688
- height: We,
1689
- scale: je,
1690
- rotation: Ve,
1691
- ...!Re && ke && !U && !qe && {
1698
+ position: [ke, Ge],
1699
+ pivot: [ke, Ge],
1700
+ width: Ne,
1701
+ height: qe,
1702
+ scale: Ye,
1703
+ rotation: Ke,
1704
+ ...!He && Oe && !U && !Xe && {
1692
1705
  interactive: !0,
1693
1706
  buttonMode: !0,
1694
- pointerdown: Oe,
1695
- pointerover: Ne,
1696
- pointerout: Ue
1707
+ pointerdown: We,
1708
+ pointerover: Ve,
1709
+ pointerout: je
1697
1710
  },
1698
1711
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$1, { ref: Me, children: [
1699
- !Ke && /* @__PURE__ */ jsxRuntimeExports.jsx(
1700
- tt,
1712
+ !De && /* @__PURE__ */ jsxRuntimeExports.jsx(
1713
+ nt,
1701
1714
  {
1702
1715
  scale: 1,
1703
- apply: ({ matrix: rt }) => {
1704
- ze === Effects.BlackAndWhite ? rt.desaturate() : ze === Effects.Sepia ? rt.sepia() : ze === Effects.RetroVintage || ze === Effects.NightVision ? rt.negative() : ze === Effects.Normal && rt.reset();
1716
+ apply: ({ matrix: tt }) => {
1717
+ rt === Effects.BlackAndWhite ? tt.desaturate() : rt === Effects.Sepia ? tt.sepia() : rt === Effects.RetroVintage || rt === Effects.NightVision ? tt.negative() : rt === Effects.Normal && tt.reset();
1705
1718
  },
1706
1719
  matrix: {
1707
1720
  enabled: !0,
@@ -1711,32 +1724,32 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1711
1724
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children })
1712
1725
  }
1713
1726
  ),
1714
- Ke && /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children }),
1715
- !isEmpty$1(Xe) && Xe !== OverlayTypes.NONE && Xe !== OverlayTypes.NORMAL && /* @__PURE__ */ jsxRuntimeExports.jsx(
1727
+ De && /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children }),
1728
+ !isEmpty$1(it) && it !== OverlayTypes.NONE && it !== OverlayTypes.NORMAL && /* @__PURE__ */ jsxRuntimeExports.jsx(
1716
1729
  PixiOverlayTilingSprite,
1717
1730
  {
1718
- overlay: Xe,
1719
- width: He,
1720
- height: We,
1721
- x: Le,
1731
+ overlay: it,
1732
+ width: Ne,
1733
+ height: qe,
1734
+ x: ke,
1722
1735
  y: Ge
1723
1736
  }
1724
1737
  )
1725
1738
  ] })
1726
1739
  }
1727
1740
  ),
1728
- Be && ke && !Je && /* @__PURE__ */ jsxRuntimeExports.jsx(
1741
+ Ue && Oe && !Re && /* @__PURE__ */ jsxRuntimeExports.jsx(
1729
1742
  PixiTransformer,
1730
1743
  {
1731
1744
  pixiTransformerRef: Te,
1732
1745
  imageRef: Z,
1733
1746
  isMounted: I,
1734
- transformCommit: Qe,
1735
- transformChange: ot,
1747
+ transformCommit: et,
1748
+ transformChange: Ze,
1736
1749
  mouseoverEvent: at,
1737
1750
  uniqueId: Fe,
1738
- isText: Ye,
1739
- onDoubleClick: et
1751
+ isText: ze,
1752
+ onDoubleClick: Be
1740
1753
  }
1741
1754
  )
1742
1755
  ] });
@@ -2221,81 +2234,81 @@ punycode$1.exports;
2221
2234
  overflow: "Overflow: input needs wider integers to process",
2222
2235
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2223
2236
  "invalid-input": "Invalid input"
2224
- }, Ie = K - _e, Fe = Math.floor, ke = String.fromCharCode, $e;
2225
- function Le(Ue) {
2226
- throw new RangeError(Pe[Ue]);
2227
- }
2228
- function Ge(Ue, Ne) {
2229
- for (var Ye = Ue.length, qe = []; Ye--; )
2230
- qe[Ye] = Ne(Ue[Ye]);
2231
- return qe;
2232
- }
2233
- function He(Ue, Ne) {
2234
- var Ye = Ue.split("@"), qe = "";
2235
- Ye.length > 1 && (qe = Ye[0] + "@", Ue = Ye[1]), Ue = Ue.replace(we, ".");
2236
- var Ke = Ue.split("."), et = Ge(Ke, Ne).join(".");
2237
- return qe + et;
2238
- }
2239
- function We(Ue) {
2240
- for (var Ne = [], Ye = 0, qe = Ue.length, Ke, et; Ye < qe; )
2241
- Ke = Ue.charCodeAt(Ye++), Ke >= 55296 && Ke <= 56319 && Ye < qe ? (et = Ue.charCodeAt(Ye++), (et & 64512) == 56320 ? Ne.push(((Ke & 1023) << 10) + (et & 1023) + 65536) : (Ne.push(Ke), Ye--)) : Ne.push(Ke);
2237
+ }, Ie = K - _e, Fe = Math.floor, Oe = String.fromCharCode, $e;
2238
+ function Le(Ge) {
2239
+ throw new RangeError(Pe[Ge]);
2240
+ }
2241
+ function Ue(Ge, Ne) {
2242
+ for (var qe = Ge.length, Ye = []; qe--; )
2243
+ Ye[qe] = Ne(Ge[qe]);
2244
+ return Ye;
2245
+ }
2246
+ function He(Ge, Ne) {
2247
+ var qe = Ge.split("@"), Ye = "";
2248
+ qe.length > 1 && (Ye = qe[0] + "@", Ge = qe[1]), Ge = Ge.replace(we, ".");
2249
+ var Ke = Ge.split("."), rt = Ue(Ke, Ne).join(".");
2250
+ return Ye + rt;
2251
+ }
2252
+ function We(Ge) {
2253
+ for (var Ne = [], qe = 0, Ye = Ge.length, Ke, rt; qe < Ye; )
2254
+ Ke = Ge.charCodeAt(qe++), Ke >= 55296 && Ke <= 56319 && qe < Ye ? (rt = Ge.charCodeAt(qe++), (rt & 64512) == 56320 ? Ne.push(((Ke & 1023) << 10) + (rt & 1023) + 65536) : (Ne.push(Ke), qe--)) : Ne.push(Ke);
2242
2255
  return Ne;
2243
2256
  }
2244
- function je(Ue) {
2245
- return Ge(Ue, function(Ne) {
2246
- var Ye = "";
2247
- return Ne > 65535 && (Ne -= 65536, Ye += ke(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), Ye += ke(Ne), Ye;
2257
+ function je(Ge) {
2258
+ return Ue(Ge, function(Ne) {
2259
+ var qe = "";
2260
+ return Ne > 65535 && (Ne -= 65536, qe += Oe(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), qe += Oe(Ne), qe;
2248
2261
  }).join("");
2249
2262
  }
2250
- function Ve(Ue) {
2251
- return Ue - 48 < 10 ? Ue - 22 : Ue - 65 < 26 ? Ue - 65 : Ue - 97 < 26 ? Ue - 97 : K;
2263
+ function Ve(Ge) {
2264
+ return Ge - 48 < 10 ? Ge - 22 : Ge - 65 < 26 ? Ge - 65 : Ge - 97 < 26 ? Ge - 97 : K;
2252
2265
  }
2253
- function ze(Ue, Ne) {
2254
- return Ue + 22 + 75 * (Ue < 26) - ((Ne != 0) << 5);
2266
+ function ze(Ge, Ne) {
2267
+ return Ge + 22 + 75 * (Ge < 26) - ((Ne != 0) << 5);
2255
2268
  }
2256
- function Xe(Ue, Ne, Ye) {
2257
- var qe = 0;
2258
- for (Ue = Ye ? Fe(Ue / J) : Ue >> 1, Ue += Fe(Ue / Ne); Ue > Ie * xe >> 1; qe += K)
2259
- Ue = Fe(Ue / Ie);
2260
- return Fe(qe + (Ie + 1) * Ue / (Ue + Z));
2269
+ function Xe(Ge, Ne, qe) {
2270
+ var Ye = 0;
2271
+ for (Ge = qe ? Fe(Ge / J) : Ge >> 1, Ge += Fe(Ge / Ne); Ge > Ie * xe >> 1; Ye += K)
2272
+ Ge = Fe(Ge / Ie);
2273
+ return Fe(Ye + (Ie + 1) * Ge / (Ge + Z));
2261
2274
  }
2262
- function De(Ue) {
2263
- var Ne = [], Ye = Ue.length, qe, Ke = 0, et = Te, Je = Se, nt, at, ot, Qe, tt, rt, it, Ze, st;
2264
- for (nt = Ue.lastIndexOf(Ae), nt < 0 && (nt = 0), at = 0; at < nt; ++at)
2265
- Ue.charCodeAt(at) >= 128 && Le("not-basic"), Ne.push(Ue.charCodeAt(at));
2266
- for (ot = nt > 0 ? nt + 1 : 0; ot < Ye; ) {
2267
- for (Qe = Ke, tt = 1, rt = K; ot >= Ye && Le("invalid-input"), it = Ve(Ue.charCodeAt(ot++)), (it >= K || it > Fe((Y - Ke) / tt)) && Le("overflow"), Ke += it * tt, Ze = rt <= Je ? _e : rt >= Je + xe ? xe : rt - Je, !(it < Ze); rt += K)
2268
- st = K - Ze, tt > Fe(Y / st) && Le("overflow"), tt *= st;
2269
- qe = Ne.length + 1, Je = Xe(Ke - Qe, qe, Qe == 0), Fe(Ke / qe) > Y - et && Le("overflow"), et += Fe(Ke / qe), Ke %= qe, Ne.splice(Ke++, 0, et);
2275
+ function De(Ge) {
2276
+ var Ne = [], qe = Ge.length, Ye, Ke = 0, rt = Te, it = Se, Qe, st, at, Ze, et, nt, tt, Je, ot;
2277
+ for (Qe = Ge.lastIndexOf(Ae), Qe < 0 && (Qe = 0), st = 0; st < Qe; ++st)
2278
+ Ge.charCodeAt(st) >= 128 && Le("not-basic"), Ne.push(Ge.charCodeAt(st));
2279
+ for (at = Qe > 0 ? Qe + 1 : 0; at < qe; ) {
2280
+ for (Ze = Ke, et = 1, nt = K; at >= qe && Le("invalid-input"), tt = Ve(Ge.charCodeAt(at++)), (tt >= K || tt > Fe((Y - Ke) / et)) && Le("overflow"), Ke += tt * et, Je = nt <= it ? _e : nt >= it + xe ? xe : nt - it, !(tt < Je); nt += K)
2281
+ ot = K - Je, et > Fe(Y / ot) && Le("overflow"), et *= ot;
2282
+ Ye = Ne.length + 1, it = Xe(Ke - Ze, Ye, Ze == 0), Fe(Ke / Ye) > Y - rt && Le("overflow"), rt += Fe(Ke / Ye), Ke %= Ye, Ne.splice(Ke++, 0, rt);
2270
2283
  }
2271
2284
  return je(Ne);
2272
2285
  }
2273
- function Be(Ue) {
2274
- var Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt = [], it, Ze, st, lt;
2275
- for (Ue = We(Ue), it = Ue.length, Ne = Te, Ye = 0, et = Se, Je = 0; Je < it; ++Je)
2276
- tt = Ue[Je], tt < 128 && rt.push(ke(tt));
2277
- for (qe = Ke = rt.length, Ke && rt.push(Ae); qe < it; ) {
2278
- for (nt = Y, Je = 0; Je < it; ++Je)
2279
- tt = Ue[Je], tt >= Ne && tt < nt && (nt = tt);
2280
- for (Ze = qe + 1, nt - Ne > Fe((Y - Ye) / Ze) && Le("overflow"), Ye += (nt - Ne) * Ze, Ne = nt, Je = 0; Je < it; ++Je)
2281
- if (tt = Ue[Je], tt < Ne && ++Ye > Y && Le("overflow"), tt == Ne) {
2282
- for (at = Ye, ot = K; Qe = ot <= et ? _e : ot >= et + xe ? xe : ot - et, !(at < Qe); ot += K)
2283
- lt = at - Qe, st = K - Qe, rt.push(
2284
- ke(ze(Qe + lt % st, 0))
2285
- ), at = Fe(lt / st);
2286
- rt.push(ke(ze(at, 0))), et = Xe(Ye, Ze, qe == Ke), Ye = 0, ++qe;
2286
+ function Be(Ge) {
2287
+ var Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt = [], tt, Je, ot, lt;
2288
+ for (Ge = We(Ge), tt = Ge.length, Ne = Te, qe = 0, rt = Se, it = 0; it < tt; ++it)
2289
+ et = Ge[it], et < 128 && nt.push(Oe(et));
2290
+ for (Ye = Ke = nt.length, Ke && nt.push(Ae); Ye < tt; ) {
2291
+ for (Qe = Y, it = 0; it < tt; ++it)
2292
+ et = Ge[it], et >= Ne && et < Qe && (Qe = et);
2293
+ for (Je = Ye + 1, Qe - Ne > Fe((Y - qe) / Je) && Le("overflow"), qe += (Qe - Ne) * Je, Ne = Qe, it = 0; it < tt; ++it)
2294
+ if (et = Ge[it], et < Ne && ++qe > Y && Le("overflow"), et == Ne) {
2295
+ for (st = qe, at = K; Ze = at <= rt ? _e : at >= rt + xe ? xe : at - rt, !(st < Ze); at += K)
2296
+ lt = st - Ze, ot = K - Ze, nt.push(
2297
+ Oe(ze(Ze + lt % ot, 0))
2298
+ ), st = Fe(lt / ot);
2299
+ nt.push(Oe(ze(st, 0))), rt = Xe(qe, Je, Ye == Ke), qe = 0, ++Ye;
2287
2300
  }
2288
- ++Ye, ++Ne;
2301
+ ++qe, ++Ne;
2289
2302
  }
2290
- return rt.join("");
2303
+ return nt.join("");
2291
2304
  }
2292
- function Re(Ue) {
2293
- return He(Ue, function(Ne) {
2305
+ function Re(Ge) {
2306
+ return He(Ge, function(Ne) {
2294
2307
  return Me.test(Ne) ? De(Ne.slice(4).toLowerCase()) : Ne;
2295
2308
  });
2296
2309
  }
2297
- function Oe(Ue) {
2298
- return He(Ue, function(Ne) {
2310
+ function ke(Ge) {
2311
+ return He(Ge, function(Ne) {
2299
2312
  return Ee.test(Ne) ? "xn--" + Be(Ne) : Ne;
2300
2313
  });
2301
2314
  }
@@ -2319,7 +2332,7 @@ punycode$1.exports;
2319
2332
  },
2320
2333
  decode: De,
2321
2334
  encode: Be,
2322
- toASCII: Oe,
2335
+ toASCII: ke,
2323
2336
  toUnicode: Re
2324
2337
  }, B && U)
2325
2338
  if (C.exports == B)
@@ -2742,10 +2755,10 @@ var utilInspect = require$$0, inspectCustom = utilInspect.custom, inspectSymbol
2742
2755
  }), collectionOf("Map", mapSize$1.call(E), Fe, Z);
2743
2756
  }
2744
2757
  if (isSet(E)) {
2745
- var ke = [];
2758
+ var Oe = [];
2746
2759
  return setForEach && setForEach.call(E, function(Ve) {
2747
- ke.push(J(Ve, E));
2748
- }), collectionOf("Set", setSize.call(E), ke, Z);
2760
+ Oe.push(J(Ve, E));
2761
+ }), collectionOf("Set", setSize.call(E), Oe, Z);
2749
2762
  }
2750
2763
  if (isWeakMap(E))
2751
2764
  return weakCollectionOf("WeakMap");
@@ -2762,7 +2775,7 @@ var utilInspect = require$$0, inspectCustom = utilInspect.custom, inspectSymbol
2762
2775
  if (isString(E))
2763
2776
  return markBoxed(J(String(E)));
2764
2777
  if (!isDate(E) && !isRegExp$1(E)) {
2765
- var $e = arrObjKeys(E, J), Le = gPO ? gPO(E) === Object.prototype : E instanceof Object || E.constructor === Object, Ge = E instanceof Object ? "" : "null prototype", He = !Le && toStringTag && Object(E) === E && toStringTag in E ? $slice.call(toStr(E), 8, -1) : Ge ? "Object" : "", We = Le || typeof E.constructor != "function" ? "" : E.constructor.name ? E.constructor.name + " " : "", je = We + (He || Ge ? "[" + $join.call($concat.call([], He || [], Ge || []), ": ") + "] " : "");
2778
+ var $e = arrObjKeys(E, J), Le = gPO ? gPO(E) === Object.prototype : E instanceof Object || E.constructor === Object, Ue = E instanceof Object ? "" : "null prototype", He = !Le && toStringTag && Object(E) === E && toStringTag in E ? $slice.call(toStr(E), 8, -1) : Ue ? "Object" : "", We = Le || typeof E.constructor != "function" ? "" : E.constructor.name ? E.constructor.name + " " : "", je = We + (He || Ue ? "[" + $join.call($concat.call([], He || [], Ue || []), ": ") + "] " : "");
2766
2779
  return $e.length === 0 ? je + "{}" : Z ? je + "{" + indentedJoin($e, Z) + "}" : je + "{ " + $join.call($e, ", ") + " }";
2767
2780
  }
2768
2781
  return String(E);
@@ -3219,8 +3232,8 @@ var GetIntrinsic = getIntrinsic, callBound = callBound$1, inspect = objectInspec
3219
3232
  }
3220
3233
  if (isNonNullishPrimitive(Ee) || utils$1.isBuffer(Ee)) {
3221
3234
  if (Y) {
3222
- var ke = Te ? I : Y(I, defaults$1.encoder, Ae, "key", J);
3223
- return [Se(ke) + "=" + Se(Y(Ee, defaults$1.encoder, Ae, "value", J))];
3235
+ var Oe = Te ? I : Y(I, defaults$1.encoder, Ae, "key", J);
3236
+ return [Se(Oe) + "=" + Se(Y(Ee, defaults$1.encoder, Ae, "value", J))];
3224
3237
  }
3225
3238
  return [Se(I) + "=" + Se(String(Ee))];
3226
3239
  }
@@ -3233,8 +3246,8 @@ var GetIntrinsic = getIntrinsic, callBound = callBound$1, inspect = objectInspec
3233
3246
  else if (isArray$7(K))
3234
3247
  Le = K;
3235
3248
  else {
3236
- var Ge = Object.keys(Ee);
3237
- Le = _e ? Ge.sort(_e) : Ge;
3249
+ var Ue = Object.keys(Ee);
3250
+ Le = _e ? Ue.sort(_e) : Ue;
3238
3251
  }
3239
3252
  for (var He = U && isArray$7(Ee) && Ee.length === 1 ? I + "[]" : I, We = 0; We < Le.length; ++We) {
3240
3253
  var je = Le[We], Ve = typeof je == "object" && typeof je.value < "u" ? je.value : Ee[je];
@@ -3531,11 +3544,11 @@ Url.prototype.parse = function(C, E, I) {
3531
3544
  for (var we = this.hostname.split(/\./), Se = 0, Pe = we.length; Se < Pe; Se++) {
3532
3545
  var Ie = we[Se];
3533
3546
  if (Ie && !Ie.match(hostnamePartPattern)) {
3534
- for (var Fe = "", ke = 0, $e = Ie.length; ke < $e; ke++)
3535
- Ie.charCodeAt(ke) > 127 ? Fe += "x" : Fe += Ie[ke];
3547
+ for (var Fe = "", Oe = 0, $e = Ie.length; Oe < $e; Oe++)
3548
+ Ie.charCodeAt(Oe) > 127 ? Fe += "x" : Fe += Ie[Oe];
3536
3549
  if (!Fe.match(hostnamePartPattern)) {
3537
- var Le = we.slice(0, Se), Ge = we.slice(Se + 1), He = Ie.match(hostnamePartStart);
3538
- He && (Le.push(He[1]), Ge.unshift(He[2])), Ge.length && (Y = "/" + Ge.join(".") + Y), this.hostname = Le.join(".");
3550
+ var Le = we.slice(0, Se), Ue = we.slice(Se + 1), He = Ie.match(hostnamePartStart);
3551
+ He && (Le.push(He[1]), Ue.unshift(He[2])), Ue.length && (Y = "/" + Ue.join(".") + Y), this.hostname = Le.join(".");
3539
3552
  break;
3540
3553
  }
3541
3554
  }
@@ -3633,8 +3646,8 @@ Url.prototype.resolveObject = function(C) {
3633
3646
  }
3634
3647
  if (!we.length)
3635
3648
  return I.pathname = null, I.search ? I.path = "/" + I.search : I.path = null, I.href = I.format(), I;
3636
- for (var ke = we.slice(-1)[0], $e = (I.host || C.host || we.length > 1) && (ke === "." || ke === "..") || ke === "", Le = 0, Ge = we.length; Ge >= 0; Ge--)
3637
- ke = we[Ge], ke === "." ? we.splice(Ge, 1) : ke === ".." ? (we.splice(Ge, 1), Le++) : Le && (we.splice(Ge, 1), Le--);
3649
+ for (var Oe = we.slice(-1)[0], $e = (I.host || C.host || we.length > 1) && (Oe === "." || Oe === "..") || Oe === "", Le = 0, Ue = we.length; Ue >= 0; Ue--)
3650
+ Oe = we[Ue], Oe === "." ? we.splice(Ue, 1) : Oe === ".." ? (we.splice(Ue, 1), Le++) : Le && (we.splice(Ue, 1), Le--);
3638
3651
  if (!Me && !Ee)
3639
3652
  for (; Le--; Le)
3640
3653
  we.unshift("..");
@@ -4786,8 +4799,8 @@ class Rectangle {
4786
4799
  const J = Z * (K.y - Y.y), Se = Z * (Y.x - K.x), Te = J * B + Se * V, Ae = J * U + Se * V, Me = J * B + Se * X, Ee = J * U + Se * X;
4787
4800
  if (Math.max(Te, Ae, Me, Ee) <= J * Y.x + Se * Y.y || Math.min(Te, Ae, Me, Ee) >= J * xe.x + Se * xe.y)
4788
4801
  return !1;
4789
- const we = Z * (Y.y - _e.y), Pe = Z * (_e.x - Y.x), Ie = we * B + Pe * V, Fe = we * U + Pe * V, ke = we * B + Pe * X, $e = we * U + Pe * X;
4790
- return !(Math.max(Ie, Fe, ke, $e) <= we * Y.x + Pe * Y.y || Math.min(Ie, Fe, ke, $e) >= we * xe.x + Pe * xe.y);
4802
+ const we = Z * (Y.y - _e.y), Pe = Z * (_e.x - Y.x), Ie = we * B + Pe * V, Fe = we * U + Pe * V, Oe = we * B + Pe * X, $e = we * U + Pe * X;
4803
+ return !(Math.max(Ie, Fe, Oe, $e) <= we * Y.x + Pe * Y.y || Math.min(Ie, Fe, Oe, $e) >= we * xe.x + Pe * xe.y);
4791
4804
  }
4792
4805
  pad(E = 0, I = E) {
4793
4806
  return this.x -= E, this.y -= I, this.width += E * 2, this.height += I * 2, this;
@@ -9861,18 +9874,18 @@ v$1.parse = function() {
9861
9874
  function V() {
9862
9875
  return X("linear-gradient", C.linearGradient, K) || X("repeating-linear-gradient", C.repeatingLinearGradient, K) || X("radial-gradient", C.radialGradient, Z) || X("repeating-radial-gradient", C.repeatingRadialGradient, Z);
9863
9876
  }
9864
- function X(Be, Re, Oe) {
9865
- return Y(Re, function(Ue) {
9866
- var Ne = Oe();
9877
+ function X(Be, Re, ke) {
9878
+ return Y(Re, function(Ge) {
9879
+ var Ne = ke();
9867
9880
  return Ne && (Xe(C.comma) || I("Missing comma before color stops")), { type: Be, orientation: Ne, colorStops: Pe(Ie) };
9868
9881
  });
9869
9882
  }
9870
9883
  function Y(Be, Re) {
9871
- var Oe = Xe(Be);
9872
- if (Oe) {
9884
+ var ke = Xe(Be);
9885
+ if (ke) {
9873
9886
  Xe(C.startCall) || I("Missing (");
9874
- var Ue = Re(Oe);
9875
- return Xe(C.endCall) || I("Missing )"), Ue;
9887
+ var Ge = Re(ke);
9888
+ return Xe(C.endCall) || I("Missing )"), Ge;
9876
9889
  }
9877
9890
  }
9878
9891
  function K() {
@@ -9885,8 +9898,8 @@ v$1.parse = function() {
9885
9898
  return ze("angular", C.angleValue, 1);
9886
9899
  }
9887
9900
  function Z() {
9888
- var Be, Re = J(), Oe;
9889
- return Re && (Be = [], Be.push(Re), Oe = E, Xe(C.comma) && (Re = J(), Re ? Be.push(Re) : E = Oe)), Be;
9901
+ var Be, Re = J(), ke;
9902
+ return Re && (Be = [], Be.push(Re), ke = E, Xe(C.comma) && (Re = J(), Re ? Be.push(Re) : E = ke)), Be;
9890
9903
  }
9891
9904
  function J() {
9892
9905
  var Be = Se() || Te();
@@ -9896,11 +9909,11 @@ v$1.parse = function() {
9896
9909
  var Re = Ae();
9897
9910
  if (Re) {
9898
9911
  Be = Re;
9899
- var Oe = Me();
9900
- Oe && (Be.at = Oe);
9912
+ var ke = Me();
9913
+ ke && (Be.at = ke);
9901
9914
  } else {
9902
- var Ue = Ee();
9903
- Ue && (Be = { type: "default-radial", at: Ue });
9915
+ var Ge = Ee();
9916
+ Ge && (Be = { type: "default-radial", at: Ge });
9904
9917
  }
9905
9918
  }
9906
9919
  return Be;
@@ -9931,20 +9944,20 @@ v$1.parse = function() {
9931
9944
  return { x: We(), y: We() };
9932
9945
  }
9933
9946
  function Pe(Be) {
9934
- var Re = Be(), Oe = [];
9947
+ var Re = Be(), ke = [];
9935
9948
  if (Re)
9936
- for (Oe.push(Re); Xe(C.comma); )
9937
- Re = Be(), Re ? Oe.push(Re) : I("One extra comma");
9938
- return Oe;
9949
+ for (ke.push(Re); Xe(C.comma); )
9950
+ Re = Be(), Re ? ke.push(Re) : I("One extra comma");
9951
+ return ke;
9939
9952
  }
9940
9953
  function Ie() {
9941
9954
  var Be = Fe();
9942
9955
  return Be || I("Expected color definition"), Be.length = We(), Be;
9943
9956
  }
9944
9957
  function Fe() {
9945
- return $e() || Ge() || Le() || ke();
9958
+ return $e() || Ue() || Le() || Oe();
9946
9959
  }
9947
- function ke() {
9960
+ function Oe() {
9948
9961
  return ze("literal", C.literalColor, 0);
9949
9962
  }
9950
9963
  function $e() {
@@ -9955,7 +9968,7 @@ v$1.parse = function() {
9955
9968
  return { type: "rgb", value: Pe(He) };
9956
9969
  });
9957
9970
  }
9958
- function Ge() {
9971
+ function Ue() {
9959
9972
  return Y(C.rgbaColor, function() {
9960
9973
  return { type: "rgba", value: Pe(He) };
9961
9974
  });
@@ -9972,14 +9985,14 @@ v$1.parse = function() {
9972
9985
  function Ve() {
9973
9986
  return ze("px", C.pixelValue, 1) || ze("em", C.emValue, 1);
9974
9987
  }
9975
- function ze(Be, Re, Oe) {
9976
- var Ue = Xe(Re);
9977
- if (Ue)
9978
- return { type: Be, value: Ue[Oe] };
9988
+ function ze(Be, Re, ke) {
9989
+ var Ge = Xe(Re);
9990
+ if (Ge)
9991
+ return { type: Be, value: Ge[ke] };
9979
9992
  }
9980
9993
  function Xe(Be) {
9981
- var Re, Oe;
9982
- return Oe = /^[\n\r\t\s]+/.exec(E), Oe && De(Oe[0].length), Re = Be.exec(E), Re && De(Re[0].length), Re;
9994
+ var Re, ke;
9995
+ return ke = /^[\n\r\t\s]+/.exec(E), ke && De(ke[0].length), Re = Be.exec(E), Re && De(Re[0].length), Re;
9983
9996
  }
9984
9997
  function De(Be) {
9985
9998
  E = E.substr(Be);
@@ -12173,11 +12186,11 @@ const withFiltersHook = (C) => {
12173
12186
  sharpnessFilter: Pe,
12174
12187
  hueFilter: Ie,
12175
12188
  blurFilter: Fe,
12176
- adjustmentFilter: ke,
12189
+ adjustmentFilter: Oe,
12177
12190
  vignetteFilter: $e,
12178
12191
  noiseFilter: Le
12179
12192
  // outlineFilter,
12180
- } = withFiltersHook(J), { nightVisionFilter: Ge } = withEffectsHooks();
12193
+ } = withFiltersHook(J), { nightVisionFilter: Ue } = withEffectsHooks();
12181
12194
  return React.useEffect(() => () => {
12182
12195
  console.log("PixiImageSprite unmounting");
12183
12196
  }, []), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12196,11 +12209,11 @@ const withFiltersHook = (C) => {
12196
12209
  we,
12197
12210
  Pe,
12198
12211
  Ie,
12199
- ke,
12212
+ Oe,
12200
12213
  // conditionally add blur filter
12201
12214
  ...Ae > 0 ? [Fe] : [],
12202
12215
  // conditionally add night vision filter
12203
- ...Se === Effects.NightVision ? [Ge] : [],
12216
+ ...Se === Effects.NightVision ? [Ue] : [],
12204
12217
  // conditionally add vignette filter
12205
12218
  ...Me > 0 ? [$e] : [],
12206
12219
  // conditionally add noise filter
@@ -12358,10 +12371,10 @@ class ArcUtils {
12358
12371
  const Y = X[X.length - 2], _e = X[X.length - 1] - I, xe = Y - E, Z = U - I, J = B - E, Se = Math.abs(_e * J - xe * Z);
12359
12372
  if (Se < 1e-8 || V === 0)
12360
12373
  return (X[X.length - 2] !== E || X[X.length - 1] !== I) && X.push(E, I), null;
12361
- const Te = _e * _e + xe * xe, Ae = Z * Z + J * J, Me = _e * Z + xe * J, Ee = V * Math.sqrt(Te) / Se, we = V * Math.sqrt(Ae) / Se, Pe = Ee * Me / Te, Ie = we * Me / Ae, Fe = Ee * J + we * xe, ke = Ee * Z + we * _e, $e = xe * (we + Pe), Le = _e * (we + Pe), Ge = J * (Ee + Ie), He = Z * (Ee + Ie), We = Math.atan2(Le - ke, $e - Fe), je = Math.atan2(He - ke, Ge - Fe);
12374
+ const Te = _e * _e + xe * xe, Ae = Z * Z + J * J, Me = _e * Z + xe * J, Ee = V * Math.sqrt(Te) / Se, we = V * Math.sqrt(Ae) / Se, Pe = Ee * Me / Te, Ie = we * Me / Ae, Fe = Ee * J + we * xe, Oe = Ee * Z + we * _e, $e = xe * (we + Pe), Le = _e * (we + Pe), Ue = J * (Ee + Ie), He = Z * (Ee + Ie), We = Math.atan2(Le - Oe, $e - Fe), je = Math.atan2(He - Oe, Ue - Fe);
12362
12375
  return {
12363
12376
  cx: Fe + E,
12364
- cy: ke + I,
12377
+ cy: Oe + I,
12365
12378
  radius: V,
12366
12379
  startAngle: We,
12367
12380
  endAngle: je,
@@ -12371,8 +12384,8 @@ class ArcUtils {
12371
12384
  static arc(E, I, B, U, V, X, Y, K, _e) {
12372
12385
  const xe = Y - X, Z = curves._segmentsCount(Math.abs(xe) * V, Math.ceil(Math.abs(xe) / PI_2) * 40), J = xe / (Z * 2), Se = J * 2, Te = Math.cos(J), Ae = Math.sin(J), Me = Z - 1, Ee = Me % 1 / Me;
12373
12386
  for (let we = 0; we <= Me; ++we) {
12374
- const Pe = we + Ee * we, Ie = J + X + Se * Pe, Fe = Math.cos(Ie), ke = -Math.sin(Ie);
12375
- _e.push((Te * Fe + Ae * ke) * V + B, (Te * -ke + Ae * Fe) * V + U);
12387
+ const Pe = we + Ee * we, Ie = J + X + Se * Pe, Fe = Math.cos(Ie), Oe = -Math.sin(Ie);
12388
+ _e.push((Te * Fe + Ae * Oe) * V + B, (Te * -Oe + Ae * Fe) * V + U);
12376
12389
  }
12377
12390
  }
12378
12391
  }
@@ -12392,9 +12405,9 @@ class BatchPart {
12392
12405
  }
12393
12406
  class BezierUtils {
12394
12407
  static curveLength(E, I, B, U, V, X, Y, K) {
12395
- let xe = 0, Z = 0, J = 0, Se = 0, Te = 0, Ae = 0, Me = 0, Ee = 0, we = 0, Pe = 0, Ie = 0, Fe = E, ke = I;
12408
+ let xe = 0, Z = 0, J = 0, Se = 0, Te = 0, Ae = 0, Me = 0, Ee = 0, we = 0, Pe = 0, Ie = 0, Fe = E, Oe = I;
12396
12409
  for (let $e = 1; $e <= 10; ++$e)
12397
- Z = $e / 10, J = Z * Z, Se = J * Z, Te = 1 - Z, Ae = Te * Te, Me = Ae * Te, Ee = Me * E + 3 * Ae * Z * B + 3 * Te * J * V + Se * Y, we = Me * I + 3 * Ae * Z * U + 3 * Te * J * X + Se * K, Pe = Fe - Ee, Ie = ke - we, Fe = Ee, ke = we, xe += Math.sqrt(Pe * Pe + Ie * Ie);
12410
+ Z = $e / 10, J = Z * Z, Se = J * Z, Te = 1 - Z, Ae = Te * Te, Me = Ae * Te, Ee = Me * E + 3 * Ae * Z * B + 3 * Te * J * V + Se * Y, we = Me * I + 3 * Ae * Z * U + 3 * Te * J * X + Se * K, Pe = Fe - Ee, Ie = Oe - we, Fe = Ee, Oe = we, xe += Math.sqrt(Pe * Pe + Ie * Ie);
12398
12411
  return xe;
12399
12412
  }
12400
12413
  static curveTo(E, I, B, U, V, X, Y) {
@@ -12448,52 +12461,52 @@ function buildNonNativeLine(C, E) {
12448
12461
  const xe = E.points, Z = B.length / 2;
12449
12462
  let J = B.length;
12450
12463
  const Se = xe.length / 2, Te = V.width / 2, Ae = Te * Te, Me = V.miterLimit * V.miterLimit;
12451
- let Ee = B[0], we = B[1], Pe = B[2], Ie = B[3], Fe = 0, ke = 0, $e = -(we - Ie), Le = Ee - Pe, Ge = 0, He = 0, We = Math.sqrt($e * $e + Le * Le);
12464
+ let Ee = B[0], we = B[1], Pe = B[2], Ie = B[3], Fe = 0, Oe = 0, $e = -(we - Ie), Le = Ee - Pe, Ue = 0, He = 0, We = Math.sqrt($e * $e + Le * Le);
12452
12465
  $e /= We, Le /= We, $e *= Te, Le *= Te;
12453
12466
  const je = V.alignment, Ve = (1 - je) * 2, ze = je * 2;
12454
12467
  K || (V.cap === LINE_CAP.ROUND ? J += round(Ee - $e * (Ve - ze) * 0.5, we - Le * (Ve - ze) * 0.5, Ee - $e * Ve, we - Le * Ve, Ee + $e * ze, we + Le * ze, xe, !0) + 2 : V.cap === LINE_CAP.SQUARE && (J += square(Ee, we, $e, Le, Ve, ze, !0, xe))), xe.push(Ee - $e * Ve, we - Le * Ve, Ee + $e * ze, we + Le * ze);
12455
12468
  for (let Be = 1; Be < Z - 1; ++Be) {
12456
- Ee = B[(Be - 1) * 2], we = B[(Be - 1) * 2 + 1], Pe = B[Be * 2], Ie = B[Be * 2 + 1], Fe = B[(Be + 1) * 2], ke = B[(Be + 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, Ge = -(Ie - ke), He = Pe - Fe, We = Math.sqrt(Ge * Ge + He * He), Ge /= We, He /= We, Ge *= Te, He *= Te;
12457
- const Re = Pe - Ee, Oe = we - Ie, Ue = Pe - Fe, Ne = ke - Ie, Ye = Re * Ue + Oe * Ne, qe = Oe * Ue - Ne * Re, Ke = qe < 0;
12458
- if (Math.abs(qe) < 1e-3 * Math.abs(Ye)) {
12459
- xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), Ye >= 0 && (V.join === LINE_JOIN.ROUND ? J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 4 : J += 2, xe.push(Pe - Ge * ze, Ie - He * ze, Pe + Ge * Ve, Ie + He * Ve));
12469
+ Ee = B[(Be - 1) * 2], we = B[(Be - 1) * 2 + 1], Pe = B[Be * 2], Ie = B[Be * 2 + 1], Fe = B[(Be + 1) * 2], Oe = B[(Be + 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, Ue = -(Ie - Oe), He = Pe - Fe, We = Math.sqrt(Ue * Ue + He * He), Ue /= We, He /= We, Ue *= Te, He *= Te;
12470
+ const Re = Pe - Ee, ke = we - Ie, Ge = Pe - Fe, Ne = Oe - Ie, qe = Re * Ge + ke * Ne, Ye = ke * Ge - Ne * Re, Ke = Ye < 0;
12471
+ if (Math.abs(Ye) < 1e-3 * Math.abs(qe)) {
12472
+ xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), qe >= 0 && (V.join === LINE_JOIN.ROUND ? J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 4 : J += 2, xe.push(Pe - Ue * ze, Ie - He * ze, Pe + Ue * Ve, Ie + He * Ve));
12460
12473
  continue;
12461
12474
  }
12462
- const et = (-$e + Ee) * (-Le + Ie) - (-$e + Pe) * (-Le + we), Je = (-Ge + Fe) * (-He + Ie) - (-Ge + Pe) * (-He + ke), nt = (Re * Je - Ue * et) / qe, at = (Ne * et - Oe * Je) / qe, ot = (nt - Pe) * (nt - Pe) + (at - Ie) * (at - Ie), Qe = Pe + (nt - Pe) * Ve, tt = Ie + (at - Ie) * Ve, rt = Pe - (nt - Pe) * ze, it = Ie - (at - Ie) * ze, Ze = Math.min(Re * Re + Oe * Oe, Ue * Ue + Ne * Ne), st = Ke ? Ve : ze, lt = Ze + st * st * Ae, ut = ot <= lt;
12475
+ const rt = (-$e + Ee) * (-Le + Ie) - (-$e + Pe) * (-Le + we), it = (-Ue + Fe) * (-He + Ie) - (-Ue + Pe) * (-He + Oe), Qe = (Re * it - Ge * rt) / Ye, st = (Ne * rt - ke * it) / Ye, at = (Qe - Pe) * (Qe - Pe) + (st - Ie) * (st - Ie), Ze = Pe + (Qe - Pe) * Ve, et = Ie + (st - Ie) * Ve, nt = Pe - (Qe - Pe) * ze, tt = Ie - (st - Ie) * ze, Je = Math.min(Re * Re + ke * ke, Ge * Ge + Ne * Ne), ot = Ke ? Ve : ze, lt = Je + ot * ot * Ae, ht = at <= lt;
12463
12476
  let ct = V.join;
12464
- if (ct === LINE_JOIN.MITER && ot / Ae > Me && (ct = LINE_JOIN.BEVEL), ut)
12477
+ if (ct === LINE_JOIN.MITER && at / Ae > Me && (ct = LINE_JOIN.BEVEL), ht)
12465
12478
  switch (ct) {
12466
12479
  case LINE_JOIN.MITER: {
12467
- xe.push(Qe, tt, rt, it);
12480
+ xe.push(Ze, et, nt, tt);
12468
12481
  break;
12469
12482
  }
12470
12483
  case LINE_JOIN.BEVEL: {
12471
- Ke ? xe.push(Qe, tt, Pe + $e * ze, Ie + Le * ze, Qe, tt, Pe + Ge * ze, Ie + He * ze) : xe.push(Pe - $e * Ve, Ie - Le * Ve, rt, it, Pe - Ge * Ve, Ie - He * Ve, rt, it), J += 2;
12484
+ Ke ? xe.push(Ze, et, Pe + $e * ze, Ie + Le * ze, Ze, et, Pe + Ue * ze, Ie + He * ze) : xe.push(Pe - $e * Ve, Ie - Le * Ve, nt, tt, Pe - Ue * Ve, Ie - He * Ve, nt, tt), J += 2;
12472
12485
  break;
12473
12486
  }
12474
12487
  case LINE_JOIN.ROUND: {
12475
- Ke ? (xe.push(Qe, tt, Pe + $e * ze, Ie + Le * ze), J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ge * ze, Ie + He * ze, xe, !0) + 4, xe.push(Qe, tt, Pe + Ge * ze, Ie + He * ze)) : (xe.push(Pe - $e * Ve, Ie - Le * Ve, rt, it), J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 4, xe.push(Pe - Ge * Ve, Ie - He * Ve, rt, it));
12488
+ Ke ? (xe.push(Ze, et, Pe + $e * ze, Ie + Le * ze), J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ue * ze, Ie + He * ze, xe, !0) + 4, xe.push(Ze, et, Pe + Ue * ze, Ie + He * ze)) : (xe.push(Pe - $e * Ve, Ie - Le * Ve, nt, tt), J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 4, xe.push(Pe - Ue * Ve, Ie - He * Ve, nt, tt));
12476
12489
  break;
12477
12490
  }
12478
12491
  }
12479
12492
  else {
12480
12493
  switch (xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), ct) {
12481
12494
  case LINE_JOIN.MITER: {
12482
- Ke ? xe.push(rt, it, rt, it) : xe.push(Qe, tt, Qe, tt), J += 2;
12495
+ Ke ? xe.push(nt, tt, nt, tt) : xe.push(Ze, et, Ze, et), J += 2;
12483
12496
  break;
12484
12497
  }
12485
12498
  case LINE_JOIN.ROUND: {
12486
- Ke ? J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ge * ze, Ie + He * ze, xe, !0) + 2 : J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 2;
12499
+ Ke ? J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ue * ze, Ie + He * ze, xe, !0) + 2 : J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 2;
12487
12500
  break;
12488
12501
  }
12489
12502
  }
12490
- xe.push(Pe - Ge * Ve, Ie - He * Ve, Pe + Ge * ze, Ie + He * ze), J += 2;
12503
+ xe.push(Pe - Ue * Ve, Ie - He * Ve, Pe + Ue * ze, Ie + He * ze), J += 2;
12491
12504
  }
12492
12505
  }
12493
12506
  Ee = B[(Z - 2) * 2], we = B[(Z - 2) * 2 + 1], Pe = B[(Z - 1) * 2], Ie = B[(Z - 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), K || (V.cap === LINE_CAP.ROUND ? J += round(Pe - $e * (Ve - ze) * 0.5, Ie - Le * (Ve - ze) * 0.5, Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze, xe, !1) + 2 : V.cap === LINE_CAP.SQUARE && (J += square(Pe, Ie, $e, Le, Ve, ze, !1, xe)));
12494
12507
  const Xe = E.indices, De = curves.epsilon * curves.epsilon;
12495
12508
  for (let Be = Se; Be < J + Se - 2; ++Be)
12496
- Ee = xe[Be * 2], we = xe[Be * 2 + 1], Pe = xe[(Be + 1) * 2], Ie = xe[(Be + 1) * 2 + 1], Fe = xe[(Be + 2) * 2], ke = xe[(Be + 2) * 2 + 1], !(Math.abs(Ee * (Ie - ke) + Pe * (ke - we) + Fe * (we - Ie)) < De) && Xe.push(Be, Be + 1, Be + 2);
12509
+ Ee = xe[Be * 2], we = xe[Be * 2 + 1], Pe = xe[(Be + 1) * 2], Ie = xe[(Be + 1) * 2 + 1], Fe = xe[(Be + 2) * 2], Oe = xe[(Be + 2) * 2 + 1], !(Math.abs(Ee * (Ie - Oe) + Pe * (Oe - we) + Fe * (we - Ie)) < De) && Xe.push(Be, Be + 1, Be + 2);
12497
12510
  }
12498
12511
  function buildNativeLine(C, E) {
12499
12512
  let I = 0;
@@ -14296,7 +14309,7 @@ var _slicedToArray = function() {
14296
14309
  }, getArcCenter = function(E, I, B, U, V, X, Y, K, _e, xe, Z, J) {
14297
14310
  var Se = Math.pow(V, 2), Te = Math.pow(X, 2), Ae = Math.pow(Z, 2), Me = Math.pow(J, 2), Ee = Se * Te - Se * Me - Te * Ae;
14298
14311
  Ee < 0 && (Ee = 0), Ee /= Se * Me + Te * Ae, Ee = Math.sqrt(Ee) * (Y === K ? -1 : 1);
14299
- var we = Ee * V / X * J, Pe = Ee * -X / V * Z, Ie = xe * we - _e * Pe + (E + B) / 2, Fe = _e * we + xe * Pe + (I + U) / 2, ke = (Z - we) / V, $e = (J - Pe) / X, Le = (-Z - we) / V, Ge = (-J - Pe) / X, He = vectorAngle(1, 0, ke, $e), We = vectorAngle(ke, $e, Le, Ge);
14312
+ var we = Ee * V / X * J, Pe = Ee * -X / V * Z, Ie = xe * we - _e * Pe + (E + B) / 2, Fe = _e * we + xe * Pe + (I + U) / 2, Oe = (Z - we) / V, $e = (J - Pe) / X, Le = (-Z - we) / V, Ue = (-J - Pe) / X, He = vectorAngle(1, 0, Oe, $e), We = vectorAngle(Oe, $e, Le, Ue);
14300
14313
  return K === 0 && We > 0 && (We -= TAU$1), K === 1 && We < 0 && (We += TAU$1), [Ie, Fe, He, We];
14301
14314
  }, arcToBezier = function(E) {
14302
14315
  var I = E.px, B = E.py, U = E.cx, V = E.cy, X = E.rx, Y = E.ry, K = E.xAxisRotation, _e = K === void 0 ? 0 : K, xe = E.largeArcFlag, Z = xe === void 0 ? 0 : xe, J = E.sweepFlag, Se = J === void 0 ? 0 : J, Te = [];
@@ -14308,15 +14321,15 @@ var _slicedToArray = function() {
14308
14321
  X = Math.abs(X), Y = Math.abs(Y);
14309
14322
  var Pe = Math.pow(Ee, 2) / Math.pow(X, 2) + Math.pow(we, 2) / Math.pow(Y, 2);
14310
14323
  Pe > 1 && (X *= Math.sqrt(Pe), Y *= Math.sqrt(Pe));
14311
- var Ie = getArcCenter(I, B, U, V, X, Y, Z, Se, Ae, Me, Ee, we), Fe = _slicedToArray(Ie, 4), ke = Fe[0], $e = Fe[1], Le = Fe[2], Ge = Fe[3], He = Math.abs(Ge) / (TAU$1 / 4);
14324
+ var Ie = getArcCenter(I, B, U, V, X, Y, Z, Se, Ae, Me, Ee, we), Fe = _slicedToArray(Ie, 4), Oe = Fe[0], $e = Fe[1], Le = Fe[2], Ue = Fe[3], He = Math.abs(Ue) / (TAU$1 / 4);
14312
14325
  Math.abs(1 - He) < 1e-7 && (He = 1);
14313
14326
  var We = Math.max(Math.ceil(He), 1);
14314
- Ge /= We;
14327
+ Ue /= We;
14315
14328
  for (var je = 0; je < We; je++)
14316
- Te.push(approxUnitArc(Le, Ge)), Le += Ge;
14329
+ Te.push(approxUnitArc(Le, Ue)), Le += Ue;
14317
14330
  return Te.map(function(Ve) {
14318
- var ze = mapToEllipse(Ve[0], X, Y, Me, Ae, ke, $e), Xe = ze.x, De = ze.y, Be = mapToEllipse(Ve[1], X, Y, Me, Ae, ke, $e), Re = Be.x, Oe = Be.y, Ue = mapToEllipse(Ve[2], X, Y, Me, Ae, ke, $e), Ne = Ue.x, Ye = Ue.y;
14319
- return { x1: Xe, y1: De, x2: Re, y2: Oe, x: Ne, y: Ye };
14331
+ var ze = mapToEllipse(Ve[0], X, Y, Me, Ae, Oe, $e), Xe = ze.x, De = ze.y, Be = mapToEllipse(Ve[1], X, Y, Me, Ae, Oe, $e), Re = Be.x, ke = Be.y, Ge = mapToEllipse(Ve[2], X, Y, Me, Ae, Oe, $e), Ne = Ge.x, qe = Ge.y;
14332
+ return { x1: Xe, y1: De, x2: Re, y2: ke, x: Ne, y: qe };
14320
14333
  });
14321
14334
  };
14322
14335
  class SVG extends Graphics {
@@ -14858,8 +14871,8 @@ function unit_vector_angle(C, E, I, B) {
14858
14871
  function get_arc_center(C, E, I, B, U, V, X, Y, K, _e) {
14859
14872
  var xe = _e * (C - I) / 2 + K * (E - B) / 2, Z = -K * (C - I) / 2 + _e * (E - B) / 2, J = X * X, Se = Y * Y, Te = xe * xe, Ae = Z * Z, Me = J * Se - J * Ae - Se * Te;
14860
14873
  Me < 0 && (Me = 0), Me /= J * Ae + Se * Te, Me = Math.sqrt(Me) * (U === V ? -1 : 1);
14861
- var Ee = Me * X / Y * Z, we = Me * -Y / X * xe, Pe = _e * Ee - K * we + (C + I) / 2, Ie = K * Ee + _e * we + (E + B) / 2, Fe = (xe - Ee) / X, ke = (Z - we) / Y, $e = (-xe - Ee) / X, Le = (-Z - we) / Y, Ge = unit_vector_angle(1, 0, Fe, ke), He = unit_vector_angle(Fe, ke, $e, Le);
14862
- return V === 0 && He > 0 && (He -= TAU), V === 1 && He < 0 && (He += TAU), [Pe, Ie, Ge, He];
14874
+ var Ee = Me * X / Y * Z, we = Me * -Y / X * xe, Pe = _e * Ee - K * we + (C + I) / 2, Ie = K * Ee + _e * we + (E + B) / 2, Fe = (xe - Ee) / X, Oe = (Z - we) / Y, $e = (-xe - Ee) / X, Le = (-Z - we) / Y, Ue = unit_vector_angle(1, 0, Fe, Oe), He = unit_vector_angle(Fe, Oe, $e, Le);
14875
+ return V === 0 && He > 0 && (He -= TAU), V === 1 && He < 0 && (He += TAU), [Pe, Ie, Ue, He];
14863
14876
  }
14864
14877
  function approximate_unit_arc(C, E) {
14865
14878
  var I = 1.3333333333333333 * Math.tan(E / 4), B = Math.cos(C), U = Math.sin(C), V = Math.cos(C + E), X = Math.sin(C + E);
@@ -14879,11 +14892,11 @@ var a2c$1 = function(E, I, B, U, V, X, Y, K, _e) {
14879
14892
  for (var Ie = 0; Ie < Pe; Ie++)
14880
14893
  Me.push(approximate_unit_arc(Ee, we)), Ee += we;
14881
14894
  return Me.map(function(Fe) {
14882
- for (var ke = 0; ke < Fe.length; ke += 2) {
14883
- var $e = Fe[ke + 0], Le = Fe[ke + 1];
14895
+ for (var Oe = 0; Oe < Fe.length; Oe += 2) {
14896
+ var $e = Fe[Oe + 0], Le = Fe[Oe + 1];
14884
14897
  $e *= Y, Le *= K;
14885
- var Ge = Z * $e - xe * Le, He = xe * $e + Z * Le;
14886
- Fe[ke + 0] = Ge + Ae[0], Fe[ke + 1] = He + Ae[1];
14898
+ var Ue = Z * $e - xe * Le, He = xe * $e + Z * Le;
14899
+ Fe[Oe + 0] = Ue + Ae[0], Fe[Oe + 1] = He + Ae[1];
14887
14900
  }
14888
14901
  return Fe;
14889
14902
  });
@@ -15167,10 +15180,10 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
15167
15180
  },
15168
15181
  pointerdown: Ie,
15169
15182
  pointerup: Fe
15170
- } = C, ke = useApp(), {
15183
+ } = C, Oe = useApp(), {
15171
15184
  temperatureFilter: $e,
15172
15185
  sharpnessFilter: Le,
15173
- hueFilter: Ge,
15186
+ hueFilter: Ue,
15174
15187
  blurFilter: He,
15175
15188
  adjustmentFilter: We,
15176
15189
  vignetteFilter: je,
@@ -15180,10 +15193,10 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
15180
15193
  const Be = svgpath$1(Y).scale(5).translate(0, 0).toString(), Re = `<svg xmlns="http://www.w3.org/2000/svg" width="${J}" height="${Se}">
15181
15194
  <path stroke="${Ee}" stroke-width="${we}" fill="${Ae || Me}" d="${Be}">
15182
15195
  </path>
15183
- </svg>`, Oe = new SVG(Re), Ue = ke.renderer.generateTexture(Oe);
15184
- return B(Ue), () => {
15196
+ </svg>`, ke = new SVG(Re), Ge = Oe.renderer.generateTexture(ke);
15197
+ return B(Ge), () => {
15185
15198
  };
15186
- }, [ke, Y, Ee, we, Ae, Me]), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: V, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: X, children: I && /* @__PURE__ */ jsxRuntimeExports.jsx(
15199
+ }, [Oe, Y, Ee, we, Ae, Me]), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: V, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: X, children: I && /* @__PURE__ */ jsxRuntimeExports.jsx(
15187
15200
  Sprite,
15188
15201
  {
15189
15202
  texture: I,
@@ -15202,7 +15215,7 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
15202
15215
  filters: [
15203
15216
  $e,
15204
15217
  Le,
15205
- Ge,
15218
+ Ue,
15206
15219
  We,
15207
15220
  // conditionally add blur filter
15208
15221
  ...ze > 0 ? [He] : [],
@@ -15546,55 +15559,55 @@ var howler = {};
15546
15559
  if (Te && !Ee._paused)
15547
15560
  return J || Se._loadQueue("play"), Ee._id;
15548
15561
  Se._webAudio && I._autoResume();
15549
- var Pe = Math.max(0, Ee._seek > 0 ? Ee._seek : Se._sprite[Z][0] / 1e3), Ie = Math.max(0, (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3 - Pe), Fe = Ie * 1e3 / Math.abs(Ee._rate), ke = Se._sprite[Z][0] / 1e3, $e = (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3;
15562
+ var Pe = Math.max(0, Ee._seek > 0 ? Ee._seek : Se._sprite[Z][0] / 1e3), Ie = Math.max(0, (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3 - Pe), Fe = Ie * 1e3 / Math.abs(Ee._rate), Oe = Se._sprite[Z][0] / 1e3, $e = (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3;
15550
15563
  Ee._sprite = Z, Ee._ended = !1;
15551
15564
  var Le = function() {
15552
- Ee._paused = !1, Ee._seek = Pe, Ee._start = ke, Ee._stop = $e, Ee._loop = !!(Ee._loop || Se._sprite[Z][2]);
15565
+ Ee._paused = !1, Ee._seek = Pe, Ee._start = Oe, Ee._stop = $e, Ee._loop = !!(Ee._loop || Se._sprite[Z][2]);
15553
15566
  };
15554
15567
  if (Pe >= $e) {
15555
15568
  Se._ended(Ee);
15556
15569
  return;
15557
15570
  }
15558
- var Ge = Ee._node;
15571
+ var Ue = Ee._node;
15559
15572
  if (Se._webAudio) {
15560
15573
  var He = function() {
15561
15574
  Se._playLock = !1, Le(), Se._refreshBuffer(Ee);
15562
15575
  var ze = Ee._muted || Se._muted ? 0 : Ee._volume;
15563
- Ge.gain.setValueAtTime(ze, I.ctx.currentTime), Ee._playStart = I.ctx.currentTime, typeof Ge.bufferSource.start > "u" ? Ee._loop ? Ge.bufferSource.noteGrainOn(0, Pe, 86400) : Ge.bufferSource.noteGrainOn(0, Pe, Ie) : Ee._loop ? Ge.bufferSource.start(0, Pe, 86400) : Ge.bufferSource.start(0, Pe, Ie), Fe !== 1 / 0 && (Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe)), J || setTimeout(function() {
15576
+ Ue.gain.setValueAtTime(ze, I.ctx.currentTime), Ee._playStart = I.ctx.currentTime, typeof Ue.bufferSource.start > "u" ? Ee._loop ? Ue.bufferSource.noteGrainOn(0, Pe, 86400) : Ue.bufferSource.noteGrainOn(0, Pe, Ie) : Ee._loop ? Ue.bufferSource.start(0, Pe, 86400) : Ue.bufferSource.start(0, Pe, Ie), Fe !== 1 / 0 && (Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe)), J || setTimeout(function() {
15564
15577
  Se._emit("play", Ee._id), Se._loadQueue();
15565
15578
  }, 0);
15566
15579
  };
15567
15580
  I.state === "running" && I.ctx.state !== "interrupted" ? He() : (Se._playLock = !0, Se.once("resume", He), Se._clearTimer(Ee._id));
15568
15581
  } else {
15569
15582
  var We = function() {
15570
- Ge.currentTime = Pe, Ge.muted = Ee._muted || Se._muted || I._muted || Ge.muted, Ge.volume = Ee._volume * I.volume(), Ge.playbackRate = Ee._rate;
15583
+ Ue.currentTime = Pe, Ue.muted = Ee._muted || Se._muted || I._muted || Ue.muted, Ue.volume = Ee._volume * I.volume(), Ue.playbackRate = Ee._rate;
15571
15584
  try {
15572
- var ze = Ge.play();
15585
+ var ze = Ue.play();
15573
15586
  if (ze && typeof Promise < "u" && (ze instanceof Promise || typeof ze.then == "function") ? (Se._playLock = !0, Le(), ze.then(function() {
15574
- Se._playLock = !1, Ge._unlocked = !0, J ? Se._loadQueue() : Se._emit("play", Ee._id);
15587
+ Se._playLock = !1, Ue._unlocked = !0, J ? Se._loadQueue() : Se._emit("play", Ee._id);
15575
15588
  }).catch(function() {
15576
15589
  Se._playLock = !1, Se._emit("playerror", Ee._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."), Ee._ended = !0, Ee._paused = !0;
15577
- })) : J || (Se._playLock = !1, Le(), Se._emit("play", Ee._id)), Ge.playbackRate = Ee._rate, Ge.paused) {
15590
+ })) : J || (Se._playLock = !1, Le(), Se._emit("play", Ee._id)), Ue.playbackRate = Ee._rate, Ue.paused) {
15578
15591
  Se._emit("playerror", Ee._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");
15579
15592
  return;
15580
15593
  }
15581
15594
  Z !== "__default" || Ee._loop ? Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe) : (Se._endTimers[Ee._id] = function() {
15582
- Se._ended(Ee), Ge.removeEventListener("ended", Se._endTimers[Ee._id], !1);
15583
- }, Ge.addEventListener("ended", Se._endTimers[Ee._id], !1));
15595
+ Se._ended(Ee), Ue.removeEventListener("ended", Se._endTimers[Ee._id], !1);
15596
+ }, Ue.addEventListener("ended", Se._endTimers[Ee._id], !1));
15584
15597
  } catch (Xe) {
15585
15598
  Se._emit("playerror", Ee._id, Xe);
15586
15599
  }
15587
15600
  };
15588
- Ge.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (Ge.src = Se._src, Ge.load());
15589
- var je = window && window.ejecta || !Ge.readyState && I._navigator.isCocoonJS;
15590
- if (Ge.readyState >= 3 || je)
15601
+ Ue.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (Ue.src = Se._src, Ue.load());
15602
+ var je = window && window.ejecta || !Ue.readyState && I._navigator.isCocoonJS;
15603
+ if (Ue.readyState >= 3 || je)
15591
15604
  We();
15592
15605
  else {
15593
15606
  Se._playLock = !0, Se._state = "loading";
15594
15607
  var Ve = function() {
15595
- Se._state = "loaded", We(), Ge.removeEventListener(I._canPlayEvent, Ve, !1);
15608
+ Se._state = "loaded", We(), Ue.removeEventListener(I._canPlayEvent, Ve, !1);
15596
15609
  };
15597
- Ge.addEventListener(I._canPlayEvent, Ve, !1), Se._clearTimer(Ee._id);
15610
+ Ue.addEventListener(I._canPlayEvent, Ve, !1), Se._clearTimer(Ee._id);
15598
15611
  }
15599
15612
  }
15600
15613
  return Ee._id;
@@ -15748,10 +15761,10 @@ var howler = {};
15748
15761
  * @param {Boolean} isGroup If true, set the volume on the group.
15749
15762
  */
15750
15763
  _startFadeInterval: function(Z, J, Se, Te, Ae, Me) {
15751
- var Ee = this, we = J, Pe = Se - J, Ie = Math.abs(Pe / 0.01), Fe = Math.max(4, Ie > 0 ? Te / Ie : Te), ke = Date.now();
15764
+ var Ee = this, we = J, Pe = Se - J, Ie = Math.abs(Pe / 0.01), Fe = Math.max(4, Ie > 0 ? Te / Ie : Te), Oe = Date.now();
15752
15765
  Z._fadeTo = Se, Z._interval = setInterval(function() {
15753
- var $e = (Date.now() - ke) / Te;
15754
- ke = Date.now(), we += Pe * $e, we = Math.round(we * 100) / 100, Pe < 0 ? we = Math.max(Se, we) : we = Math.min(Se, we), Ee._webAudio ? Z._volume = we : Ee.volume(we, Z._id, !0), Me && (Ee._volume = we), (Se < J && we <= Se || Se > J && we >= Se) && (clearInterval(Z._interval), Z._interval = null, Z._fadeTo = null, Ee.volume(Se, Z._id), Ee._emit("fade", Z._id));
15766
+ var $e = (Date.now() - Oe) / Te;
15767
+ Oe = Date.now(), we += Pe * $e, we = Math.round(we * 100) / 100, Pe < 0 ? we = Math.max(Se, we) : we = Math.min(Se, we), Ee._webAudio ? Z._volume = we : Ee.volume(we, Z._id, !0), Me && (Ee._volume = we), (Se < J && we <= Se || Se > J && we >= Se) && (clearInterval(Z._interval), Z._interval = null, Z._fadeTo = null, Ee.volume(Se, Z._id), Ee._emit("fade", Z._id));
15755
15768
  }, Fe);
15756
15769
  },
15757
15770
  /**
@@ -15866,8 +15879,8 @@ var howler = {};
15866
15879
  } else
15867
15880
  Pe();
15868
15881
  } else if (Z._webAudio) {
15869
- var Fe = Z.playing(Te) ? I.ctx.currentTime - Ee._playStart : 0, ke = Ee._rateSeek ? Ee._rateSeek - Ee._seek : 0;
15870
- return Ee._seek + (ke + Fe * Math.abs(Ee._rate));
15882
+ var Fe = Z.playing(Te) ? I.ctx.currentTime - Ee._playStart : 0, Oe = Ee._rateSeek ? Ee._rateSeek - Ee._seek : 0;
15883
+ return Ee._seek + (Oe + Fe * Math.abs(Ee._rate));
15871
15884
  } else
15872
15885
  return Ee._node.currentTime;
15873
15886
  return Z;
@@ -16417,8 +16430,8 @@ var howler = {};
16417
16430
  };
16418
16431
  })();
16419
16432
  })(howler);
16420
- const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsWith("data"), PixiAudioSprite = (C) => {
16421
- const E = {
16433
+ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsWith("data"), PixiAudioSprite = React.forwardRef((C, E) => {
16434
+ const I = {
16422
16435
  isPlaying: !1,
16423
16436
  progress: 0,
16424
16437
  speed: 1,
@@ -16427,130 +16440,142 @@ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsW
16427
16440
  loaded: !1,
16428
16441
  size: { width: 50, height: 50 },
16429
16442
  isDragging: !1
16430
- }, [, I] = React.useState(!1), [B, U] = React.useState(""), [V, X] = React.useState({}), [Y, K] = React.useState(!1), _e = useRef(null), xe = useRef(E), Z = useRef(null), J = React.useRef(null), Se = useRef(), Te = React.useRef(), Ae = useRef(), Me = useRef(), Ee = useRef(document.body), we = useRef(null), Pe = React.useRef(), { tl: Ie, dragModeRef: Fe } = useContext(GsapPixieContext), {
16431
- uniqueId: ke,
16432
- src: $e,
16433
- startAt: Le,
16434
- endAt: Ge,
16435
- mute: He,
16436
- speed: We,
16437
- audioStartAt: je,
16438
- audioEndAt: Ve,
16439
- visible: ze = !1,
16440
- waveform: Xe = !1,
16441
- width: De = 300,
16442
- height: Be = 300
16443
- } = C;
16444
- React.useLayoutEffect(() => {
16445
- Te.current = document.createElement("canvas"), Te.current.setAttribute("id", `${ke}audioContainer`), Te.current.setAttribute("width", "300"), Te.current.setAttribute("height", "300");
16446
- const qe = Ee.current;
16447
- return qe.appendChild(Te.current), () => {
16448
- Te.current && (qe.removeChild(Te.current), Te.current = void 0);
16449
- };
16450
- }, []), useCustomEventListener(Events.PAUSE, () => {
16451
- var qe;
16452
- _e.current && J.current && ((qe = J.current) == null || qe.pause(), xe.current.isPlaying = !1);
16443
+ }, [, B] = React.useState(!1), [U, V] = React.useState(""), [X, Y] = React.useState({}), [K, _e] = React.useState(!1), xe = useRef(null), Z = useRef(I), J = useRef(null), Se = React.useRef(null), Te = useRef(), Ae = React.useRef(), Me = useRef(), Ee = useRef(), we = useRef(document.body), Pe = useRef(null), Ie = React.useRef(), { tl: Fe, dragModeRef: Oe } = useContext(GsapPixieContext), {
16444
+ uniqueId: $e,
16445
+ src: Le,
16446
+ startAt: Ue,
16447
+ endAt: He,
16448
+ mute: We,
16449
+ speed: je,
16450
+ audioStartAt: Ve,
16451
+ audioEndAt: ze,
16452
+ visible: Xe = !1,
16453
+ transformation: De
16454
+ } = C, {
16455
+ width: Be = 0,
16456
+ height: Re = 0,
16457
+ x: ke = 0,
16458
+ y: Ge = 0,
16459
+ waveform: Ne = Waveforms.NONE
16460
+ } = De || {};
16461
+ React.useLayoutEffect(() => (Ne !== Waveforms.NONE && (Ae.current = document.createElement("canvas"), Ae.current.setAttribute("id", `${$e}audioContainer`), Ae.current.setAttribute("width", "300"), Ae.current.setAttribute("height", "300"), we.current.appendChild(Ae.current)), () => {
16462
+ Ae.current && we.current && (we.current.removeChild(Ae.current), Ae.current = void 0);
16463
+ }), [Ne]), useCustomEventListener(Events.PAUSE, () => {
16464
+ var Qe;
16465
+ xe.current && Se.current && ((Qe = Se.current) == null || Qe.pause(), Z.current.isPlaying = !1);
16453
16466
  }), useCustomEventListener(Events.COMPLETE, () => {
16454
- je > 0 && J.current && J.current.seek(je);
16467
+ Ve > 0 && Se.current && Se.current.seek(Ve);
16455
16468
  }), useCustomEventListener(Events.SCRUBBER_CLICKED, () => {
16456
- var qe;
16457
- _e.current && J.current && ((qe = J.current) == null || qe.pause(), xe.current.isPlaying = !1);
16469
+ var Qe;
16470
+ xe.current && Se.current && ((Qe = Se.current) == null || Qe.pause(), Z.current.isPlaying = !1);
16458
16471
  });
16459
- const Re = React.useCallback(() => {
16460
- if (Se.current && Te.current) {
16461
- const qe = Te.current, Ke = qe.getContext("2d"), et = qe.width, Je = qe.height, nt = Se.current, at = nt.frequencyBinCount, ot = new Uint8Array(at), Qe = et / at * 2.5;
16462
- let tt = 0;
16463
- nt.getByteFrequencyData(ot), Ke.fillStyle = "#000", Ke.fillRect(0, 0, et, Je);
16464
- for (let rt = 0; rt < at; rt++) {
16465
- const it = ot[rt], Ze = it + 25 * (rt / at), st = 250 * (rt / at), lt = 50;
16466
- Ke.fillStyle = "rgb(" + Ze + "," + st + "," + lt + ")", Ke.fillRect(tt, Je - it, Qe, it), tt += Qe + 1;
16472
+ const qe = React.useCallback(() => {
16473
+ if (Te.current && Ae.current) {
16474
+ const Qe = Ae.current, st = Qe.getContext("2d"), at = Qe.width, Ze = Qe.height, et = Te.current, nt = et.frequencyBinCount, tt = new Uint8Array(nt), Je = at / nt * 2.5;
16475
+ let ot = 0;
16476
+ et.getByteFrequencyData(tt), st.fillStyle = "#000", st.fillRect(0, 0, at, Ze);
16477
+ for (let lt = 0; lt < nt; lt++) {
16478
+ const ht = tt[lt], ct = ht + 25 * (lt / nt), ft = 250 * (lt / nt), ut = 50;
16479
+ st.fillStyle = "rgb(" + ct + "," + ft + "," + ut + ")", st.fillRect(ot, Ze - ht, Je, ht), ot += Je + 1;
16467
16480
  }
16468
16481
  }
16469
16482
  }, []);
16470
16483
  React.useEffect(() => {
16471
- const qe = async (et) => {
16484
+ const Qe = async (at) => {
16472
16485
  try {
16473
- return await fetch(et, {
16486
+ return await fetch(at, {
16474
16487
  mode: "cors",
16475
16488
  referrerPolicy: "no-referrer-when-downgrade"
16476
16489
  });
16477
- } catch (Je) {
16478
- const nt = Je;
16490
+ } catch (Ze) {
16491
+ const et = Ze;
16479
16492
  throw (
16480
16493
  // Chrome
16481
- nt.message.includes("Failed to fetch") || // Safari
16482
- nt.message.includes("Load failed") || // Firefox
16483
- nt.message.includes(
16494
+ et.message.includes("Failed to fetch") || // Safari
16495
+ et.message.includes("Load failed") || // Firefox
16496
+ et.message.includes(
16484
16497
  "NetworkError when attempting to fetch resource"
16485
16498
  ) ? new TypeError(
16486
- `Failed to read from ${et}: ${nt.message}. Does the resource support CORS?`
16487
- ) : Je
16499
+ `Failed to read from ${at}: ${et.message}. Does the resource support CORS?`
16500
+ ) : Ze
16488
16501
  );
16489
16502
  }
16490
16503
  };
16491
16504
  (async () => {
16492
- if (!isEmpty$1($e)) {
16493
- const Je = await (await qe($e)).arrayBuffer(), nt = new Blob([Je]), at = URL.createObjectURL(nt);
16505
+ if (!isEmpty$1(Le)) {
16506
+ const Ze = await (await Qe(Le)).arrayBuffer(), et = new Blob([Ze]), nt = URL.createObjectURL(et);
16494
16507
  if (Howler.ctx) {
16495
- const ot = await Howler.ctx.decodeAudioData(Je), tt = {
16496
- channelWaveforms: new Array(ot.numberOfChannels).fill(!0).map((rt, it) => ot.getChannelData(it)),
16508
+ const tt = await Howler.ctx.decodeAudioData(Ze), ot = {
16509
+ channelWaveforms: new Array(tt.numberOfChannels).fill(!0).map((lt, ht) => tt.getChannelData(ht)),
16497
16510
  sampleRate: Howler.ctx.sampleRate,
16498
- durationInSeconds: ot.duration,
16499
- numberOfChannels: ot.numberOfChannels,
16511
+ durationInSeconds: tt.duration,
16512
+ numberOfChannels: tt.numberOfChannels,
16500
16513
  resultId: String(Math.random()),
16501
- isRemote: isRemoteAsset($e)
16514
+ isRemote: isRemoteAsset(Le)
16502
16515
  };
16503
- X(tt);
16516
+ Y(ot);
16504
16517
  }
16505
- U(at);
16518
+ V(nt);
16506
16519
  }
16507
16520
  })();
16508
- }, [$e]), React.useEffect(() => {
16509
- J.current && (Fe.current ? (J.current.pause(), xe.current.isPlaying = !1, xe.current.isDragging = !0) : xe.current.isDragging = !1);
16510
- }, [Fe]);
16511
- const Oe = (qe, Ke) => {
16512
- Ie.current && Ie.current.isActive() && Z.current && Z.current.isActive() && !Fe.current && J.current && (console.log("gsap on start 0020", ke, qe, Ke), J.current.play(), xe.current.isPlaying = !0);
16513
- }, Ue = () => {
16514
- var qe;
16515
- _e.current && ((qe = J.current) == null || qe.stop(), xe.current.isPlaying = !1, xe.current.completed = !0);
16516
- }, Ne = (qe) => {
16517
- var et, Je;
16518
- const Ke = qe + ((et = Z.current) == null ? void 0 : et.time());
16519
- J.current && Fe.current ? (J.current.seek(Ke), J.current.pause(), xe.current.isPlaying = !1) : _e.current && !xe.current.isPlaying && ((Je = Ie.current) != null && Je.isActive()) && J.current && (J.current.seek(Ke), J.current.play(), xe.current.isPlaying = !0), Re(), Pe.current && Pe.current.update();
16520
- }, Ye = () => {
16521
+ }, [
16522
+ $e,
16523
+ Le,
16524
+ Ue,
16525
+ He,
16526
+ Ve,
16527
+ ze,
16528
+ We,
16529
+ Xe,
16530
+ je,
16531
+ Le,
16532
+ Ne
16533
+ ]), React.useEffect(() => {
16534
+ Se.current && (Oe.current ? (Se.current.pause(), Z.current.isPlaying = !1, Z.current.isDragging = !0) : Z.current.isDragging = !1);
16535
+ }, [Oe]);
16536
+ const Ye = (Qe, st) => {
16537
+ Fe.current && Fe.current.isActive() && J.current && J.current.isActive() && !Oe.current && Se.current && (console.log("gsap on start 0020", $e, Qe, st), Se.current.play(), Z.current.isPlaying = !0);
16538
+ }, Ke = () => {
16539
+ var Qe;
16540
+ xe.current && ((Qe = Se.current) == null || Qe.stop(), Z.current.isPlaying = !1, Z.current.completed = !0);
16541
+ }, rt = (Qe) => {
16542
+ var at, Ze;
16543
+ const st = Qe + ((at = J.current) == null ? void 0 : at.time());
16544
+ Se.current && Oe.current ? (Se.current.seek(st), Se.current.pause(), Z.current.isPlaying = !1) : xe.current && !Z.current.isPlaying && ((Ze = Fe.current) != null && Ze.isActive()) && Se.current && (Se.current.seek(st), Se.current.play(), Z.current.isPlaying = !0), qe(), Ie.current && Ie.current.update();
16545
+ }, it = () => {
16521
16546
  };
16522
16547
  return useEffect(() => {
16523
- let qe = gsap$2.context(() => {
16548
+ let Qe = gsap$2.context(() => {
16524
16549
  });
16525
- if (_e.current && Ie.current) {
16526
- const Ke = {
16527
- duration: Number(Ve) - Number(je),
16528
- onStart: Oe,
16529
- onComplete: Ue,
16530
- onStartParams: [je, Ve],
16550
+ if (xe.current && Fe.current) {
16551
+ const st = {
16552
+ duration: Number(ze) - Number(Ve),
16553
+ onStart: Ye,
16554
+ onComplete: Ke,
16555
+ onStartParams: [Ve, ze],
16531
16556
  onCompleteParams: [],
16532
- onInterrupt: Ye,
16533
- onUpdate: Ne,
16534
- onUpdateParams: [je, Ve],
16535
- id: ke
16557
+ onInterrupt: it,
16558
+ onUpdate: rt,
16559
+ onUpdateParams: [Ve, ze],
16560
+ id: $e
16536
16561
  };
16537
- qe = gsap$2.context(() => {
16538
- Z.current = gsap$2.from(
16539
- _e.current,
16562
+ Qe = gsap$2.context(() => {
16563
+ J.current = gsap$2.from(
16564
+ xe.current,
16540
16565
  // @ts-ignore
16541
- Ke,
16542
- je
16543
- ), Ie.current.to(_e.current, { alpha: 1, duration: 0.01 }, Le).to(_e.current, { alpha: 0, duration: 0.1 }, Number(Ge)), Ie.current.add(Z.current, Le);
16566
+ st,
16567
+ Ve
16568
+ ), Fe.current.to(xe.current, { alpha: 1, duration: 0.01 }, Ue).to(xe.current, { alpha: 0, duration: 0.1 }, Number(He)), Fe.current.add(J.current, Ue);
16544
16569
  });
16545
16570
  }
16546
16571
  return () => {
16547
- Z.current && (Z.current.kill(), gsap$2.killTweensOf(Z.current)), qe.revert();
16572
+ J.current && (J.current.kill(), gsap$2.killTweensOf(J.current)), Qe.revert();
16548
16573
  };
16549
- }, [Le, Ge, je, Ve, ke]), React.useEffect(() => {
16550
- _e.current && I(!0);
16551
- }, []), React.useEffect(() => (Pe.current && Pe.current.update(), () => {
16552
- }), [Y]), React.useEffect(() => (isEmpty$1(B) || (J.current = new howler.Howl({
16553
- src: [B],
16574
+ }, [Ue, He, Ve, ze, $e]), React.useEffect(() => (xe.current && B(!0), () => {
16575
+ console.log("unmounting audio sprite", $e), console.log("audioContainerRef.current", Se.current);
16576
+ }), []), React.useEffect(() => (Ie.current && Ie.current.update(), () => {
16577
+ }), [K]), React.useEffect(() => (isEmpty$1(U) || (Se.current = new howler.Howl({
16578
+ src: [U],
16554
16579
  // sprite: {
16555
16580
  // [uniqueId]: [audioStartAt * 1000, (audioEndAt - audioStartAt) * 1000],
16556
16581
  // },
@@ -16560,69 +16585,78 @@ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsW
16560
16585
  // Use HTML5 audio
16561
16586
  autoplay: !1,
16562
16587
  loop: !1,
16563
- rate: We || 1,
16564
- volume: !He && ze ? 1 : 0,
16588
+ rate: je || 1,
16589
+ /// volume: !mute && visible ? 1 : 0,
16565
16590
  onload: () => {
16566
- if (xe.current.loaded = !0, J.current && (je > 0 && J.current.seek(je), J.current.volume(!He && ze ? 1 : 0), J.current.rate(We || 1), J.current.pause(), xe.current.isPlaying = !1, xe.current.completed = !1, !Se.current && Xe)) {
16567
- const qe = Howler.ctx.createAnalyser();
16568
- qe.fftSize = 256;
16569
- const Ke = Howler.ctx.createGain();
16570
- Ke.gain.value = 1;
16571
- const et = Howler.ctx.createMediaElementSource(
16591
+ if (Z.current.loaded = !0, Se.current && (Ve > 0 && Se.current.seek(Ve), Se.current.volume(!We && Xe ? 1 : 0), Se.current.rate(je || 1), Se.current.pause(), Z.current.isPlaying = !1, Z.current.completed = !1, !Te.current && Ne !== Waveforms.NONE)) {
16592
+ const Qe = Howler.ctx.createAnalyser();
16593
+ Qe.fftSize = 256;
16594
+ const st = Howler.ctx.createGain(), at = Howler.ctx.createMediaElementSource(
16572
16595
  // @ts-ignore
16573
- J.current._sounds[0]._node
16596
+ Se.current._sounds[0]._node
16574
16597
  );
16575
- if (et.connect(qe), qe.connect(Ke), Ke.connect(Howler.ctx.destination), Se.current = qe, Ae.current = et, Me.current = Ke, Te.current) {
16576
- Te.current.setAttribute("style", "display:none");
16577
- const Je = PIXI.Texture.from(Te.current);
16578
- Pe.current = Je;
16598
+ if (at.connect(Qe), Qe.connect(st), st.connect(Howler.ctx.destination), Te.current = Qe, Me.current = at, Ee.current = st, Ae.current) {
16599
+ Ae.current.setAttribute("style", "display:none");
16600
+ const Ze = PIXI.Texture.from(Ae.current);
16601
+ Ie.current = Ze;
16579
16602
  }
16580
- K(!0);
16603
+ _e(!0);
16581
16604
  }
16582
16605
  },
16583
16606
  onend: () => {
16584
- console.log("end of playing audio sprite" + ke), xe.current.isPlaying = !1, xe.current.completed = !0;
16607
+ console.log("end of playing audio sprite" + $e), Z.current.isPlaying = !1, Z.current.completed = !0;
16585
16608
  },
16586
16609
  onplay: () => {
16587
- console.log("play of playing audio sprite" + ke), xe.current.isPlaying = !0;
16610
+ console.log("play of playing audio sprite" + $e), Z.current.isPlaying = !0;
16588
16611
  },
16589
16612
  onpause: () => {
16590
- console.log("pause of playing audio sprite" + ke), xe.current.isPlaying = !1;
16613
+ console.log("pause of playing audio sprite" + $e), Z.current.isPlaying = !1;
16591
16614
  },
16592
16615
  onstop: () => {
16593
- console.log("stop of playing audio sprite" + ke), xe.current.isPlaying = !1;
16616
+ console.log("stop of playing audio sprite" + $e), Z.current.isPlaying = !1;
16594
16617
  }
16618
+ }), Howler.ctx.resume().then(() => {
16619
+ console.log("audio ctx resumed");
16595
16620
  })), () => {
16596
- J.current && J.current.unload(), isEmpty$1(B) || URL.revokeObjectURL(B);
16621
+ Se.current && Se.current.unload(), isEmpty$1(U) || URL.revokeObjectURL(U);
16597
16622
  }), [
16598
- ke,
16599
16623
  $e,
16600
16624
  Le,
16601
- Ge,
16602
- je,
16603
- Ve,
16625
+ Ue,
16604
16626
  He,
16627
+ Ve,
16605
16628
  ze,
16606
16629
  We,
16607
- B,
16608
- Xe
16630
+ Xe,
16631
+ je,
16632
+ U,
16633
+ Ne
16609
16634
  ]), React.useEffect(() => {
16610
- J.current && (console.log("running updateEffect 2002", ke, Ve), J.current.volume(!He && ze ? 1 : 0), J.current.rate(We || 1), xe.current.isPlaying = !0);
16611
- }, [He, ze, We]), // @ts-ignore
16612
- /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: _e, children: Xe && Y && Pe.current && /* @__PURE__ */ jsxRuntimeExports.jsx(
16613
- Sprite,
16635
+ Se.current && (console.log("running updateEffect 2002", $e, ze), Se.current.volume(!We && Xe ? 1 : 0), Se.current.rate(je || 1), Z.current.isPlaying = !0);
16636
+ }, [We, Xe, je]), // @ts-ignore
16637
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: xe, children: Ne !== Waveforms.NONE && K && Ie.current && /* @__PURE__ */ jsxRuntimeExports.jsx(
16638
+ AbstractContainer,
16614
16639
  {
16615
- texture: Pe.current,
16616
- width: De || 300,
16617
- height: Be || 300,
16618
- anchor: 0.5,
16619
- x: 0,
16620
- y: 0,
16621
- ref: we,
16622
- alpha: ze ? 1 : 0
16640
+ ...C,
16641
+ ref: E,
16642
+ ignoreTlForVideo: !0,
16643
+ isGif: !0,
16644
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16645
+ Sprite,
16646
+ {
16647
+ texture: Ie.current,
16648
+ width: Be || 300,
16649
+ height: Re || 300,
16650
+ anchor: 0.5,
16651
+ x: ke,
16652
+ y: Ge,
16653
+ ref: Pe,
16654
+ alpha: Xe ? 1 : 0
16655
+ }
16656
+ )
16623
16657
  }
16624
16658
  ) });
16625
- };
16659
+ });
16626
16660
  function arrayMap$2(C, E) {
16627
16661
  for (var I = -1, B = C == null ? 0 : C.length, U = Array(B); ++I < B; )
16628
16662
  U[I] = E(C[I], I, C);
@@ -17161,17 +17195,17 @@ Object.defineProperty(lzw$1, "__esModule", {
17161
17195
  });
17162
17196
  lzw$1.lzw = void 0;
17163
17197
  var lzw = function(E, I, B) {
17164
- var U = 4096, V = -1, X = B, Y, K, _e, xe, Z, J, Se, ke, Te, Ae, Fe, Me, $e, Le, He, Ge, Ee = new Array(B), we = new Array(U), Pe = new Array(U), Ie = new Array(U + 1);
17198
+ var U = 4096, V = -1, X = B, Y, K, _e, xe, Z, J, Se, Oe, Te, Ae, Fe, Me, $e, Le, He, Ue, Ee = new Array(B), we = new Array(U), Pe = new Array(U), Ie = new Array(U + 1);
17165
17199
  for (Me = E, K = 1 << Me, Z = K + 1, Y = K + 2, Se = V, xe = Me + 1, _e = (1 << xe) - 1, Te = 0; Te < K; Te++)
17166
17200
  we[Te] = 0, Pe[Te] = Te;
17167
- var Fe, ke, $e, Le, Ge, He;
17168
- for (Fe = ke = $e = Le = Ge = He = 0, Ae = 0; Ae < X; ) {
17201
+ var Fe, Oe, $e, Le, Ue, He;
17202
+ for (Fe = Oe = $e = Le = Ue = He = 0, Ae = 0; Ae < X; ) {
17169
17203
  if (Le === 0) {
17170
- if (ke < xe) {
17171
- Fe += I[He] << ke, ke += 8, He++;
17204
+ if (Oe < xe) {
17205
+ Fe += I[He] << Oe, Oe += 8, He++;
17172
17206
  continue;
17173
17207
  }
17174
- if (Te = Fe & _e, Fe >>= xe, ke -= xe, Te > Y || Te == Z)
17208
+ if (Te = Fe & _e, Fe >>= xe, Oe -= xe, Te > Y || Te == Z)
17175
17209
  break;
17176
17210
  if (Te == K) {
17177
17211
  xe = Me + 1, _e = (1 << xe) - 1, Y = K + 2, Se = V;
@@ -17185,9 +17219,9 @@ var lzw = function(E, I, B) {
17185
17219
  Ie[Le++] = Pe[Te], Te = we[Te];
17186
17220
  $e = Pe[Te] & 255, Ie[Le++] = $e, Y < U && (we[Y] = Se, Pe[Y] = $e, Y++, !(Y & _e) && Y < U && (xe++, _e += Y)), Se = J;
17187
17221
  }
17188
- Le--, Ee[Ge++] = Ie[Le], Ae++;
17222
+ Le--, Ee[Ue++] = Ie[Le], Ae++;
17189
17223
  }
17190
- for (Ae = Ge; Ae < X; Ae++)
17224
+ for (Ae = Ue; Ae < X; Ae++)
17191
17225
  Ee[Ae] = 0;
17192
17226
  return Ee;
17193
17227
  };
@@ -17360,8 +17394,8 @@ const genearate = (C) => ({
17360
17394
  frameEndAt: Pe,
17361
17395
  loop: Ie,
17362
17396
  visible: Fe,
17363
- disabled: ke,
17364
- transformation: { width: $e = 0, height: Le = 0, x: Ge, y: He, colorCorrection: We = {} },
17397
+ disabled: Oe,
17398
+ transformation: { width: $e = 0, height: Le = 0, x: Ue, y: He, colorCorrection: We = {} },
17365
17399
  pointerdown: je
17366
17400
  } = C, { frames: Ve, delays: ze } = Z;
17367
17401
  useWorkerParser(Te, J);
@@ -17370,65 +17404,65 @@ const genearate = (C) => ({
17370
17404
  sharpnessFilter: De,
17371
17405
  hueFilter: Be,
17372
17406
  blurFilter: Re,
17373
- adjustmentFilter: Oe,
17374
- vignetteFilter: Ue,
17407
+ adjustmentFilter: ke,
17408
+ vignetteFilter: Ge,
17375
17409
  noiseFilter: Ne
17376
- } = withFiltersHook(We), { blurRadius: Ye = 0, vignette: qe = 0, noise: Ke = 0 } = We, et = 0.1;
17410
+ } = withFiltersHook(We), { blurRadius: qe = 0, vignette: Ye = 0, noise: Ke = 0 } = We, rt = 0.1;
17377
17411
  React.useEffect(() => {
17378
17412
  if (!isEmpty$1(Ve)) {
17379
- const Qe = map$1(Ve, (rt) => {
17380
- const { data: it, width: Ze, height: st } = rt, lt = new Uint8Array(it);
17381
- return PIXI.Texture.fromBuffer(lt, Ze, st);
17413
+ const Ze = map$1(Ve, (nt) => {
17414
+ const { data: tt, width: Je, height: ot } = nt, lt = new Uint8Array(tt);
17415
+ return PIXI.Texture.fromBuffer(lt, Je, ot);
17382
17416
  }).map(
17383
- (rt, it) => ({
17384
- texture: rt,
17385
- time: ze[it]
17417
+ (nt, tt) => ({
17418
+ texture: nt,
17419
+ time: ze[tt]
17386
17420
  })
17387
17421
  );
17388
- V(Qe);
17389
- let tt = 0;
17390
- ze.forEach((rt) => {
17391
- tt += rt;
17392
- }), B(tt / 1e3), _e.current.totalDuration = tt, _e.current.totalFrames = Ve.length;
17422
+ V(Ze);
17423
+ let et = 0;
17424
+ ze.forEach((nt) => {
17425
+ et += nt;
17426
+ }), B(et / 1e3), _e.current.totalDuration = et, _e.current.totalFrames = Ve.length;
17393
17427
  }
17394
17428
  }, [Ae, Ve, ze]);
17395
- const Je = () => {
17429
+ const it = () => {
17396
17430
  Y.current && (Y.current.stop(), _e.current.isPlaying = !1);
17397
- }, nt = () => {
17431
+ }, Qe = () => {
17398
17432
  if (Y.current && xe.current) {
17399
- const ot = xe.current.time();
17400
- let Qe = ot === 0 ? 0 : ot / et;
17401
- Qe = isNaN(Qe) ? 0 : Qe;
17402
- const tt = _e.current.totalFrames;
17403
- Qe = Qe > tt ? tt : Qe, Qe = Math.round(Qe), Qe >= tt ? (Y.current.gotoAndStop(0), _e.current.isPlaying = !1) : (Y.current.currentFrame = Qe, _e.current.isPlaying = !0);
17433
+ const at = xe.current.time();
17434
+ let Ze = at === 0 ? 0 : at / rt;
17435
+ Ze = isNaN(Ze) ? 0 : Ze;
17436
+ const et = _e.current.totalFrames;
17437
+ Ze = Ze > et ? et : Ze, Ze = Math.round(Ze), Ze >= et ? (Y.current.gotoAndStop(0), _e.current.isPlaying = !1) : (Y.current.currentFrame = Ze, _e.current.isPlaying = !0);
17404
17438
  }
17405
- }, at = () => {
17439
+ }, st = () => {
17406
17440
  X(!0);
17407
17441
  };
17408
17442
  return useEffect(() => {
17409
- let ot = gsap$2.context(() => {
17443
+ let at = gsap$2.context(() => {
17410
17444
  });
17411
17445
  if (K.current && Se.current && I > 0) {
17412
- const Qe = {
17446
+ const Ze = {
17413
17447
  duration: Number(I),
17414
- onInterrupt: Je,
17415
- onUpdate: nt,
17448
+ onInterrupt: it,
17449
+ onUpdate: Qe,
17416
17450
  onUpdateParams: [we, Pe]
17417
- }, tt = Number(Ee) - Number(Me), rt = Math.max(
17451
+ }, et = Number(Ee) - Number(Me), nt = Math.max(
17418
17452
  0,
17419
- Math.floor(tt / I) - 1
17453
+ Math.floor(et / I) - 1
17420
17454
  );
17421
- xe.current && xe.current.kill(), ot = gsap$2.context(() => {
17422
- xe.current = gsap$2.timeline({ repeat: Ie ? rt : 0, repeatDelay: 0 }).from(
17455
+ xe.current && xe.current.kill(), at = gsap$2.context(() => {
17456
+ xe.current = gsap$2.timeline({ repeat: Ie ? nt : 0, repeatDelay: 0 }).from(
17423
17457
  K.current,
17424
17458
  // @ts-ignore
17425
- Qe,
17459
+ Ze,
17426
17460
  we
17427
17461
  ), Se.current.add(xe.current, Me);
17428
17462
  });
17429
17463
  }
17430
17464
  return () => {
17431
- xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), ot.revert();
17465
+ xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), at.revert();
17432
17466
  };
17433
17467
  }, [
17434
17468
  Te,
@@ -17449,7 +17483,7 @@ const genearate = (C) => ({
17449
17483
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: K, children: !isEmpty$1(U) && /* @__PURE__ */ jsxRuntimeExports.jsx(
17450
17484
  PixiAnimatedSprite,
17451
17485
  {
17452
- x: Ge,
17486
+ x: Ue,
17453
17487
  y: He,
17454
17488
  width: $e,
17455
17489
  height: Le,
@@ -17457,19 +17491,19 @@ const genearate = (C) => ({
17457
17491
  alpha: Fe ? 1 : 0,
17458
17492
  loop: Ie,
17459
17493
  textures: U,
17460
- onComplete: at,
17494
+ onComplete: st,
17461
17495
  anchor: 0.5,
17462
17496
  forwardRef: Y,
17463
- ...!ke && Fe && { interactive: !0, pointerdown: je },
17497
+ ...!Oe && Fe && { interactive: !0, pointerdown: je },
17464
17498
  filters: [
17465
17499
  Xe,
17466
17500
  De,
17467
17501
  Be,
17468
- Oe,
17502
+ ke,
17469
17503
  // conditionally add blur filter
17470
- ...Ye > 0 ? [Re] : [],
17504
+ ...qe > 0 ? [Re] : [],
17471
17505
  // conditionally add vignette filter
17472
- ...qe > 0 ? [Ue] : [],
17506
+ ...Ye > 0 ? [Ge] : [],
17473
17507
  // conditionally add noise filter
17474
17508
  ...Ke > 0 ? [Ne] : []
17475
17509
  ]
@@ -17495,12 +17529,12 @@ const genearate = (C) => ({
17495
17529
  fontSize: Ie = 16,
17496
17530
  fontVariant: Fe = "normal",
17497
17531
  // fill
17498
- fill: ke = "black",
17532
+ fill: Oe = "black",
17499
17533
  // stroke
17500
17534
  stroke: $e,
17501
17535
  strokeThickness: Le = 0,
17502
17536
  // drop shadow
17503
- blurRadius: Ge = 0,
17537
+ blurRadius: Ue = 0,
17504
17538
  blurEnabled: He = !1,
17505
17539
  dropShadowColor: We = null,
17506
17540
  dropShadow: je = !1,
@@ -17512,25 +17546,25 @@ const genearate = (C) => ({
17512
17546
  colorCorrection: Be = {}
17513
17547
  } = J, {
17514
17548
  temperatureFilter: Re,
17515
- sharpnessFilter: Oe,
17516
- hueFilter: Ue,
17549
+ sharpnessFilter: ke,
17550
+ hueFilter: Ge,
17517
17551
  blurFilter: Ne,
17518
- adjustmentFilter: Ye
17519
- } = withFiltersHook(Be), { blurRadius: qe = 0 } = Be;
17552
+ adjustmentFilter: qe
17553
+ } = withFiltersHook(Be), { blurRadius: Ye = 0 } = Be;
17520
17554
  React.useEffect(() => {
17521
17555
  Y.current = Number(Ie);
17522
17556
  }, [Ie]);
17523
- const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, et = ["small-caps"].includes(Fe), Je = [
17557
+ const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, rt = ["small-caps"].includes(Fe), it = [
17524
17558
  "bold",
17525
17559
  "bolder",
17526
17560
  "lighter",
17527
17561
  "100",
17528
17562
  "200",
17529
17563
  "300"
17530
- ].includes(we) ? we : void 0, nt = Number(De) > 0 ? De : void 0, at = React.useMemo(() => new PIXI.TextStyle({
17564
+ ].includes(we) ? we : void 0, Qe = Number(De) > 0 ? De : void 0, st = React.useMemo(() => new PIXI.TextStyle({
17531
17565
  fontFamily: Ee,
17532
17566
  fontSize: Ie,
17533
- fill: ke || "white",
17567
+ fill: Oe || "white",
17534
17568
  //[color, '#00ff99'], // gradient
17535
17569
  ...$e && Le > 0 && {
17536
17570
  stroke: $e,
@@ -17539,16 +17573,16 @@ const genearate = (C) => ({
17539
17573
  ...Ke && {
17540
17574
  fontStyle: Ke
17541
17575
  },
17542
- ...et && {
17543
- fontVariant: et
17576
+ ...rt && {
17577
+ fontVariant: rt
17544
17578
  },
17545
- ...Je && {
17546
- fontWeight: Je
17579
+ ...it && {
17580
+ fontWeight: it
17547
17581
  },
17548
- ...nt && { letterSpacing: nt },
17582
+ ...Qe && { letterSpacing: Qe },
17549
17583
  ...He && {
17550
17584
  dropShadow: !0,
17551
- dropShadowBlur: Number(Ge),
17585
+ dropShadowBlur: Number(Ue),
17552
17586
  dropShadowColor: (We == null ? void 0 : We.toString()) || "black",
17553
17587
  dropShadowAngle: 0.5235987755982988,
17554
17588
  dropShadowDistance: 5
@@ -17567,16 +17601,16 @@ const genearate = (C) => ({
17567
17601
  // lineHeight: lineHeight,
17568
17602
  }), [
17569
17603
  He,
17570
- Ge,
17571
- ke,
17604
+ Ue,
17605
+ Oe,
17572
17606
  Ee,
17573
17607
  Ie,
17574
17608
  Pe,
17575
17609
  Xe,
17576
17610
  Ke,
17577
- Je,
17578
- et,
17579
- nt,
17611
+ it,
17612
+ rt,
17613
+ Qe,
17580
17614
  We,
17581
17615
  $e,
17582
17616
  Le,
@@ -17589,10 +17623,10 @@ const genearate = (C) => ({
17589
17623
  ...J
17590
17624
  };
17591
17625
  }, [J]);
17592
- const ot = () => {
17593
- const tt = (/* @__PURE__ */ new Date()).getTime();
17594
- tt - U.current < 300 && Te ? Te() : Se && Se(), U.current = tt;
17595
- }, Qe = () => {
17626
+ const at = () => {
17627
+ const et = (/* @__PURE__ */ new Date()).getTime();
17628
+ et - U.current < 300 && Te ? Te() : Se && Se(), U.current = et;
17629
+ }, Ze = () => {
17596
17630
  !Z && Te && Te();
17597
17631
  };
17598
17632
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -17601,11 +17635,11 @@ const genearate = (C) => ({
17601
17635
  ...C,
17602
17636
  ref: E,
17603
17637
  isText: !0,
17604
- onDoubleClick: Qe,
17638
+ onDoubleClick: Ze,
17605
17639
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { alpha: 1, ref: X, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17606
17640
  Text,
17607
17641
  {
17608
- style: at,
17642
+ style: st,
17609
17643
  x: Ae,
17610
17644
  y: Me,
17611
17645
  anchor: 0.5,
@@ -17614,16 +17648,16 @@ const genearate = (C) => ({
17614
17648
  ..._e && !Z && {
17615
17649
  interactive: !0,
17616
17650
  buttonMode: !0,
17617
- pointerdown: ot
17651
+ pointerdown: at
17618
17652
  },
17619
17653
  ref: V,
17620
17654
  filters: [
17621
17655
  Re,
17622
- Oe,
17623
- Ue,
17624
- Ye,
17656
+ ke,
17657
+ Ge,
17658
+ qe,
17625
17659
  // conditionally add blur filter
17626
- ...qe > 0 ? [Ne] : []
17660
+ ...Ye > 0 ? [Ne] : []
17627
17661
  ]
17628
17662
  }
17629
17663
  ) }) })
@@ -17664,29 +17698,29 @@ function debounce(C, E, I) {
17664
17698
  if (typeof C != "function")
17665
17699
  throw new TypeError(FUNC_ERROR_TEXT);
17666
17700
  E = toNumber(E) || 0, isObject(I) && (xe = !!I.leading, Z = "maxWait" in I, V = Z ? nativeMax(toNumber(I.maxWait) || 0, E) : V, J = "trailing" in I ? !!I.trailing : J);
17667
- function Se(ke) {
17701
+ function Se(Oe) {
17668
17702
  var $e = B, Le = U;
17669
- return B = U = void 0, _e = ke, X = C.apply(Le, $e), X;
17703
+ return B = U = void 0, _e = Oe, X = C.apply(Le, $e), X;
17670
17704
  }
17671
- function Te(ke) {
17672
- return _e = ke, Y = setTimeout(Ee, E), xe ? Se(ke) : X;
17705
+ function Te(Oe) {
17706
+ return _e = Oe, Y = setTimeout(Ee, E), xe ? Se(Oe) : X;
17673
17707
  }
17674
- function Ae(ke) {
17675
- var $e = ke - K, Le = ke - _e, Ge = E - $e;
17676
- return Z ? nativeMin(Ge, V - Le) : Ge;
17708
+ function Ae(Oe) {
17709
+ var $e = Oe - K, Le = Oe - _e, Ue = E - $e;
17710
+ return Z ? nativeMin(Ue, V - Le) : Ue;
17677
17711
  }
17678
- function Me(ke) {
17679
- var $e = ke - K, Le = ke - _e;
17712
+ function Me(Oe) {
17713
+ var $e = Oe - K, Le = Oe - _e;
17680
17714
  return K === void 0 || $e >= E || $e < 0 || Z && Le >= V;
17681
17715
  }
17682
17716
  function Ee() {
17683
- var ke = now();
17684
- if (Me(ke))
17685
- return we(ke);
17686
- Y = setTimeout(Ee, Ae(ke));
17717
+ var Oe = now();
17718
+ if (Me(Oe))
17719
+ return we(Oe);
17720
+ Y = setTimeout(Ee, Ae(Oe));
17687
17721
  }
17688
- function we(ke) {
17689
- return Y = void 0, J && B ? Se(ke) : (B = U = void 0, X);
17722
+ function we(Oe) {
17723
+ return Y = void 0, J && B ? Se(Oe) : (B = U = void 0, X);
17690
17724
  }
17691
17725
  function Pe() {
17692
17726
  Y !== void 0 && clearTimeout(Y), _e = 0, B = K = U = Y = void 0;
@@ -17695,8 +17729,8 @@ function debounce(C, E, I) {
17695
17729
  return Y === void 0 ? X : we(now());
17696
17730
  }
17697
17731
  function Fe() {
17698
- var ke = now(), $e = Me(ke);
17699
- if (B = arguments, U = this, K = ke, $e) {
17732
+ var Oe = now(), $e = Me(Oe);
17733
+ if (B = arguments, U = this, K = Oe, $e) {
17700
17734
  if (Y === void 0)
17701
17735
  return Te(K);
17702
17736
  if (Z)
@@ -17751,25 +17785,25 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17751
17785
  frameEndAt: Me,
17752
17786
  visible: Ee,
17753
17787
  disabled: we,
17754
- transformation: { x: Pe, y: Ie, width: Fe, height: ke, animation: $e, colorCorrection: Le = {} },
17755
- pointerdown: Ge = () => {
17788
+ transformation: { x: Pe, y: Ie, width: Fe, height: Oe, animation: $e, colorCorrection: Le = {} },
17789
+ pointerdown: Ue = () => {
17756
17790
  },
17757
17791
  pointerout: He = () => {
17758
17792
  },
17759
17793
  pointerover: We = () => {
17760
17794
  },
17761
17795
  fps: je = 0
17762
- } = C, { tl: Ve, dragModeRef: ze, isRemotion: Xe } = useContext(GsapPixieContext), { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(We, Ge, He, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = Le, {
17763
- temperatureFilter: Ye,
17764
- sharpnessFilter: qe,
17796
+ } = C, { tl: Ve, dragModeRef: ze, isRemotion: Xe } = useContext(GsapPixieContext), { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(We, Ue, He, 1), { blurRadius: ke = 0, vignette: Ge = 0, noise: Ne = 0 } = Le, {
17797
+ temperatureFilter: qe,
17798
+ sharpnessFilter: Ye,
17765
17799
  hueFilter: Ke,
17766
- blurFilter: et,
17767
- adjustmentFilter: Je,
17768
- vignetteFilter: nt,
17769
- noiseFilter: at
17770
- } = withFiltersHook(Le), ot = J || "", Qe = React.useMemo(() => {
17771
- const st = document.createElement("video");
17772
- return st.src = J, st.crossOrigin = "Anonymus", st.autoplay = !1, st.currentTime = Ae === 0 ? 1e-3 : Ae, st;
17800
+ blurFilter: rt,
17801
+ adjustmentFilter: it,
17802
+ vignetteFilter: Qe,
17803
+ noiseFilter: st
17804
+ } = withFiltersHook(Le), at = J || "", Ze = React.useMemo(() => {
17805
+ const ot = document.createElement("video");
17806
+ return ot.src = J, ot.crossOrigin = "Anonymus", ot.autoplay = !1, ot.currentTime = Ae === 0 ? 1e-3 : Ae, ot;
17773
17807
  }, [J, Ae]);
17774
17808
  useCustomEventListener(Events.PAUSE, () => {
17775
17809
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
@@ -17778,41 +17812,41 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17778
17812
  }), useCustomEventListener(Events.REVERSE_MODE_END, () => {
17779
17813
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
17780
17814
  });
17781
- const tt = (st) => {
17815
+ const et = (ot) => {
17782
17816
  if (Y.current) {
17783
- if (Y.current.currentTime = Number(st), !ze.current) {
17784
- const lt = Y.current, ut = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
17785
- Ve.current && Ve.current.isActive() && _e.current && _e.current.isActive() && (ut || Y.current.play(), K.current.isPlaying = !0);
17817
+ if (Y.current.currentTime = Number(ot), !ze.current) {
17818
+ const lt = Y.current, ht = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
17819
+ Ve.current && Ve.current.isActive() && _e.current && _e.current.isActive() && (ht || Y.current.play(), K.current.isPlaying = !0);
17786
17820
  }
17787
17821
  K.current.progress = 0;
17788
17822
  }
17789
- }, rt = () => {
17823
+ }, nt = () => {
17790
17824
  if (Y.current) {
17791
- const st = Y.current;
17792
- st.currentTime > 0 && !st.paused && !st.ended && st.readyState > st.HAVE_CURRENT_DATA && Y.current.pause(), K.current.isPlaying = !1, _e.current && (K.current.progress = _e.current.progress());
17825
+ const ot = Y.current;
17826
+ ot.currentTime > 0 && !ot.paused && !ot.ended && ot.readyState > ot.HAVE_CURRENT_DATA && Y.current.pause(), K.current.isPlaying = !1, _e.current && (K.current.progress = _e.current.progress());
17793
17827
  }
17794
- }, it = () => {
17795
- }, Ze = () => {
17796
- var st, lt;
17828
+ }, tt = () => {
17829
+ }, Je = () => {
17830
+ var ot, lt;
17797
17831
  if (_e.current && (K.current.progress = _e.current.progress()), Y.current && _e.current) {
17798
- const ut = Ae + ((st = _e == null ? void 0 : _e.current) == null ? void 0 : st.time()), ct = Math.abs(
17799
- Y.current.currentTime - ut
17800
- ), ht = Y.current, ft = ht.currentTime > 0 && !ht.paused && !ht.ended && ht.readyState > ht.HAVE_CURRENT_DATA;
17801
- ze.current && U.current ? (Y.current.currentTime = ut, U.current.update(), K.current.isPlaying = !1) : (ft !== K.current.isPlaying || !ft) && K.current.progress > 0.01 && K.current.progress < 0.99 ? (lt = Ve.current) != null && lt.isActive() && _e.current && _e.current.isActive() && (ft || Y.current.play(), K.current.isPlaying = !0) : ct > 0.3 && K.current.progress > 0.01 && K.current.progress < 0.99 && (Y.current.currentTime = ut);
17832
+ const ht = Ae + ((ot = _e == null ? void 0 : _e.current) == null ? void 0 : ot.time()), ct = Math.abs(
17833
+ Y.current.currentTime - ht
17834
+ ), ft = Y.current, ut = ft.currentTime > 0 && !ft.paused && !ft.ended && ft.readyState > ft.HAVE_CURRENT_DATA;
17835
+ ze.current && U.current ? (Y.current.currentTime = ht, U.current.update(), K.current.isPlaying = !1) : (ut !== K.current.isPlaying || !ut) && K.current.progress > 0.01 && K.current.progress < 0.99 ? (lt = Ve.current) != null && lt.isActive() && _e.current && _e.current.isActive() && (ut || Y.current.play(), K.current.isPlaying = !0) : ct > 0.3 && K.current.progress > 0.01 && K.current.progress < 0.99 && (Y.current.currentTime = ht);
17802
17836
  }
17803
17837
  };
17804
17838
  return useEffect(() => {
17805
- let st = gsap$2.context(() => {
17839
+ let ot = gsap$2.context(() => {
17806
17840
  });
17807
17841
  if (X.current && Ve.current) {
17808
17842
  const lt = {
17809
17843
  duration: Number(Te) - Number(Se),
17810
- onStart: tt,
17811
- onComplete: rt,
17844
+ onStart: et,
17845
+ onComplete: nt,
17812
17846
  onStartParams: [Ae, Me],
17813
17847
  onCompleteParams: [],
17814
- onInterrupt: it,
17815
- onUpdate: Ze,
17848
+ onInterrupt: tt,
17849
+ onUpdate: Je,
17816
17850
  onUpdateParams: [Ae, Me],
17817
17851
  onPause: () => {
17818
17852
  console.log("onPause video sprite pause", xe);
@@ -17830,7 +17864,7 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17830
17864
  console.log("onKill video sprite kill", xe);
17831
17865
  }
17832
17866
  };
17833
- _e.current && (_e.current.kill(), Ve.current.remove(_e.current)), st = gsap$2.context(() => {
17867
+ _e.current && (_e.current.kill(), Ve.current.remove(_e.current)), ot = gsap$2.context(() => {
17834
17868
  _e.current = gsap$2.to(
17835
17869
  X.current,
17836
17870
  // @ts-ignore
@@ -17840,29 +17874,29 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17840
17874
  });
17841
17875
  }
17842
17876
  return () => {
17843
- _e.current && (_e.current.kill(), gsap$2.killTweensOf(_e.current)), st.revert();
17877
+ _e.current && (_e.current.kill(), gsap$2.killTweensOf(_e.current)), ot.revert();
17844
17878
  };
17845
17879
  }, [$e, Se, Te, Ae, Me, xe]), React.useEffect(() => {
17846
17880
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17847
- const st = setTimeout(() => {
17881
+ const ot = setTimeout(() => {
17848
17882
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17849
17883
  }, 1500);
17850
17884
  return () => {
17851
- clearTimeout(st);
17885
+ clearTimeout(ot);
17852
17886
  };
17853
17887
  }, [Z]), React.useEffect(() => {
17854
- const st = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, lt = function() {
17855
- Y.current && (Y.current.currentTime = st, Y.current.muted = Z);
17856
- }, ut = function() {
17888
+ const ot = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, lt = function() {
17889
+ Y.current && (Y.current.currentTime = ot, Y.current.muted = Z);
17890
+ }, ht = function() {
17857
17891
  K.current.isWaiting = !1, K.current.isStalled = !1;
17858
17892
  }, ct = function() {
17859
17893
  K.current.isWaiting = !0, K.current.isStalled = !1;
17860
- }, ht = function() {
17861
- K.current.isWaiting = !1, K.current.isStalled = !1;
17862
17894
  }, ft = function() {
17895
+ K.current.isWaiting = !1, K.current.isStalled = !1;
17896
+ }, ut = function() {
17863
17897
  K.current.isWaiting = !1, K.current.isStalled = !0;
17864
- }, dt = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, gt = Math.round((Number(Me) + Number.EPSILON) * 100) / 100, vt = `${ot}#t=${dt},${gt}`;
17865
- return PIXI.Texture.fromLoader(Qe, vt, xe, {
17898
+ }, dt = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, gt = Math.round((Number(Me) + Number.EPSILON) * 100) / 100, vt = `${at}#t=${dt},${gt}`;
17899
+ return PIXI.Texture.fromLoader(Ze, vt, xe, {
17866
17900
  pixiIdPrefix: xe,
17867
17901
  resourceOptions: {
17868
17902
  autoPlay: !1,
@@ -17870,19 +17904,19 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17870
17904
  updateFPS: je ? Math.max(120, Number(je)) : 30
17871
17905
  }
17872
17906
  }).then((pt) => {
17873
- pt && (U.current = pt, B(!0), Y.current = pt.baseTexture.resource.source, Y.current.id = xe, Y.current.addEventListener("loadedmetadata", lt), Y.current.addEventListener("ended", ut), Y.current.addEventListener("loadstart", ct), Y.current.addEventListener("canplaythrough", ht), Y.current.addEventListener("stalled", ft));
17907
+ pt && (U.current = pt, B(!0), Y.current = pt.baseTexture.resource.source, Y.current.id = xe, Y.current.addEventListener("loadedmetadata", lt), Y.current.addEventListener("ended", ht), Y.current.addEventListener("loadstart", ct), Y.current.addEventListener("canplaythrough", ft), Y.current.addEventListener("stalled", ut));
17874
17908
  }), () => {
17875
- Y.current && (Y.current.pause(), Y.current.removeEventListener("loadedmetadata", lt), Y.current.removeEventListener("ended", ut), Y.current.removeEventListener("loadstart", ct), Y.current.removeEventListener(
17909
+ Y.current && (Y.current.pause(), Y.current.removeEventListener("loadedmetadata", lt), Y.current.removeEventListener("ended", ht), Y.current.removeEventListener("loadstart", ct), Y.current.removeEventListener(
17876
17910
  "canplaythrough",
17877
- ht
17878
- ), Y.current.removeEventListener("stalled", ft));
17911
+ ft
17912
+ ), Y.current.removeEventListener("stalled", ut));
17879
17913
  };
17880
- }, [ot, xe, Ae, Me, Qe]), React.useEffect(() => {
17881
- const st = setTimeout(() => {
17914
+ }, [at, xe, Ae, Me, Ze]), React.useEffect(() => {
17915
+ const ot = setTimeout(() => {
17882
17916
  I && U.current && _e.current && Ve.current && _e.current.progress() < 0.1 && Y.current && !_e.current.isActive() && !Xe && (Y.current.currentTime = Ae, U.current.update());
17883
17917
  }, 30);
17884
17918
  return () => {
17885
- clearTimeout(st);
17919
+ clearTimeout(ot);
17886
17920
  };
17887
17921
  }, [I]), /* @__PURE__ */ jsxRuntimeExports.jsx(
17888
17922
  AbstractContainer,
@@ -17898,24 +17932,24 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17898
17932
  {
17899
17933
  texture: U.current,
17900
17934
  width: Fe,
17901
- height: ke,
17935
+ height: Oe,
17902
17936
  anchor: 0.5,
17903
17937
  x: Pe,
17904
17938
  y: Ie,
17905
17939
  ref: V,
17906
17940
  alpha: Ee ? 1 : 0,
17907
- ...!we && Ee && { interactive: !0, pointerdown: Ge },
17941
+ ...!we && Ee && { interactive: !0, pointerdown: Ue },
17908
17942
  filters: [
17909
- Ye,
17910
17943
  qe,
17944
+ Ye,
17911
17945
  Ke,
17912
- Je,
17946
+ it,
17913
17947
  // conditionally add blur filter
17914
- ...Oe > 0 ? [et] : [],
17948
+ ...ke > 0 ? [rt] : [],
17915
17949
  // conditionally add vignette filter
17916
- ...Ue > 0 ? [nt] : [],
17950
+ ...Ge > 0 ? [Qe] : [],
17917
17951
  // conditionally add noise filter
17918
- ...Ne > 0 ? [at] : []
17952
+ ...Ne > 0 ? [st] : []
17919
17953
  ]
17920
17954
  }
17921
17955
  ) })
@@ -17938,8 +17972,8 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17938
17972
  pointerover: Ae = () => {
17939
17973
  },
17940
17974
  canvasImageRef: Me
17941
- } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: ke = 0, vignette: $e = 0, noise: Le = 0 } = J, {
17942
- temperatureFilter: Ge,
17975
+ } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: Oe = 0, vignette: $e = 0, noise: Le = 0 } = J, {
17976
+ temperatureFilter: Ue,
17943
17977
  sharpnessFilter: He,
17944
17978
  hueFilter: We,
17945
17979
  blurFilter: je,
@@ -17979,12 +18013,12 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17979
18013
  alpha: X ? 1 : 0,
17980
18014
  ...!Y && X && { interactive: !0, pointerdown: Se },
17981
18015
  filters: [
17982
- Ge,
18016
+ Ue,
17983
18017
  He,
17984
18018
  We,
17985
18019
  Ve,
17986
18020
  // conditionally add blur filter
17987
- ...ke > 0 ? [je] : [],
18021
+ ...Oe > 0 ? [je] : [],
17988
18022
  // conditionally add vignette filter
17989
18023
  ...$e > 0 ? [ze] : [],
17990
18024
  // conditionally add noise filter
@@ -18039,8 +18073,8 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
18039
18073
  pointerover: Ae = () => {
18040
18074
  },
18041
18075
  canvasImageRef: Me
18042
- } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: ke = 0, vignette: $e = 0, noise: Le = 0 } = J, {
18043
- temperatureFilter: Ge,
18076
+ } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: Oe = 0, vignette: $e = 0, noise: Le = 0 } = J, {
18077
+ temperatureFilter: Ue,
18044
18078
  sharpnessFilter: He,
18045
18079
  hueFilter: We,
18046
18080
  blurFilter: je,
@@ -18080,12 +18114,12 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
18080
18114
  alpha: X ? 1 : 0,
18081
18115
  ...!Y && X && { interactive: !0, pointerdown: Se },
18082
18116
  filters: [
18083
- Ge,
18117
+ Ue,
18084
18118
  He,
18085
18119
  We,
18086
18120
  Ve,
18087
18121
  // conditionally add blur filter
18088
- ...ke > 0 ? [je] : [],
18122
+ ...Oe > 0 ? [je] : [],
18089
18123
  // conditionally add vignette filter
18090
18124
  ...$e > 0 ? [ze] : [],
18091
18125
  // conditionally add noise filter
@@ -18394,17 +18428,17 @@ var lottie$1 = { exports: {} };
18394
18428
  B || (B = X(function(Se) {
18395
18429
  function Te() {
18396
18430
  function Me(Xe, De) {
18397
- var Be, Re, Oe = Xe.length, Ue, Ne, Ye, qe;
18398
- for (Re = 0; Re < Oe; Re += 1)
18431
+ var Be, Re, ke = Xe.length, Ge, Ne, qe, Ye;
18432
+ for (Re = 0; Re < ke; Re += 1)
18399
18433
  if (Be = Xe[Re], "ks" in Be && !Be.completed) {
18400
18434
  if (Be.completed = !0, Be.hasMask) {
18401
18435
  var Ke = Be.masksProperties;
18402
- for (Ne = Ke.length, Ue = 0; Ue < Ne; Ue += 1)
18403
- if (Ke[Ue].pt.k.i)
18404
- Fe(Ke[Ue].pt.k);
18436
+ for (Ne = Ke.length, Ge = 0; Ge < Ne; Ge += 1)
18437
+ if (Ke[Ge].pt.k.i)
18438
+ Fe(Ke[Ge].pt.k);
18405
18439
  else
18406
- for (qe = Ke[Ue].pt.k.length, Ye = 0; Ye < qe; Ye += 1)
18407
- Ke[Ue].pt.k[Ye].s && Fe(Ke[Ue].pt.k[Ye].s[0]), Ke[Ue].pt.k[Ye].e && Fe(Ke[Ue].pt.k[Ye].e[0]);
18440
+ for (Ye = Ke[Ge].pt.k.length, qe = 0; qe < Ye; qe += 1)
18441
+ Ke[Ge].pt.k[qe].s && Fe(Ke[Ge].pt.k[qe].s[0]), Ke[Ge].pt.k[qe].e && Fe(Ke[Ge].pt.k[qe].e[0]);
18408
18442
  }
18409
18443
  Be.ty === 0 ? (Be.layers = Pe(Be.refId, De), Me(Be.layers, De)) : Be.ty === 4 ? Ie(Be.shapes) : Be.ty === 5 && Ve(Be);
18410
18444
  }
@@ -18429,13 +18463,13 @@ var lottie$1 = { exports: {} };
18429
18463
  return Be ? Be.layers.__used ? JSON.parse(JSON.stringify(Be.layers)) : (Be.layers.__used = !0, Be.layers) : null;
18430
18464
  }
18431
18465
  function Ie(Xe) {
18432
- var De, Be = Xe.length, Re, Oe;
18466
+ var De, Be = Xe.length, Re, ke;
18433
18467
  for (De = Be - 1; De >= 0; De -= 1)
18434
18468
  if (Xe[De].ty === "sh")
18435
18469
  if (Xe[De].ks.k.i)
18436
18470
  Fe(Xe[De].ks.k);
18437
18471
  else
18438
- for (Oe = Xe[De].ks.k.length, Re = 0; Re < Oe; Re += 1)
18472
+ for (ke = Xe[De].ks.k.length, Re = 0; Re < ke; Re += 1)
18439
18473
  Xe[De].ks.k[Re].s && Fe(Xe[De].ks.k[Re].s[0]), Xe[De].ks.k[Re].e && Fe(Xe[De].ks.k[Re].e[0]);
18440
18474
  else
18441
18475
  Xe[De].ty === "gr" && Ie(Xe[De].it);
@@ -18445,41 +18479,41 @@ var lottie$1 = { exports: {} };
18445
18479
  for (De = 0; De < Be; De += 1)
18446
18480
  Xe.i[De][0] += Xe.v[De][0], Xe.i[De][1] += Xe.v[De][1], Xe.o[De][0] += Xe.v[De][0], Xe.o[De][1] += Xe.v[De][1];
18447
18481
  }
18448
- function ke(Xe, De) {
18482
+ function Oe(Xe, De) {
18449
18483
  var Be = De ? De.split(".") : [100, 100, 100];
18450
18484
  return Xe[0] > Be[0] ? !0 : Be[0] > Xe[0] ? !1 : Xe[1] > Be[1] ? !0 : Be[1] > Xe[1] ? !1 : Xe[2] > Be[2] ? !0 : Be[2] > Xe[2] ? !1 : null;
18451
18485
  }
18452
18486
  var $e = function() {
18453
18487
  var Xe = [4, 4, 14];
18454
18488
  function De(Re) {
18455
- var Oe = Re.t.d;
18489
+ var ke = Re.t.d;
18456
18490
  Re.t.d = {
18457
18491
  k: [{
18458
- s: Oe,
18492
+ s: ke,
18459
18493
  t: 0
18460
18494
  }]
18461
18495
  };
18462
18496
  }
18463
18497
  function Be(Re) {
18464
- var Oe, Ue = Re.length;
18465
- for (Oe = 0; Oe < Ue; Oe += 1)
18466
- Re[Oe].ty === 5 && De(Re[Oe]);
18498
+ var ke, Ge = Re.length;
18499
+ for (ke = 0; ke < Ge; ke += 1)
18500
+ Re[ke].ty === 5 && De(Re[ke]);
18467
18501
  }
18468
18502
  return function(Re) {
18469
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18470
- var Oe, Ue = Re.assets.length;
18471
- for (Oe = 0; Oe < Ue; Oe += 1)
18472
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18503
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18504
+ var ke, Ge = Re.assets.length;
18505
+ for (ke = 0; ke < Ge; ke += 1)
18506
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18473
18507
  }
18474
18508
  };
18475
18509
  }(), Le = function() {
18476
18510
  var Xe = [4, 7, 99];
18477
18511
  return function(De) {
18478
- if (De.chars && !ke(Xe, De.v)) {
18512
+ if (De.chars && !Oe(Xe, De.v)) {
18479
18513
  var Be, Re = De.chars.length;
18480
18514
  for (Be = 0; Be < Re; Be += 1) {
18481
- var Oe = De.chars[Be];
18482
- Oe.data && Oe.data.shapes && (Ie(Oe.data.shapes), Oe.data.ip = 0, Oe.data.op = 99999, Oe.data.st = 0, Oe.data.sr = 1, Oe.data.ks = {
18515
+ var ke = De.chars[Be];
18516
+ ke.data && ke.data.shapes && (Ie(ke.data.shapes), ke.data.ip = 0, ke.data.op = 99999, ke.data.st = 0, ke.data.sr = 1, ke.data.ks = {
18483
18517
  p: {
18484
18518
  k: [0, 0],
18485
18519
  a: 0
@@ -18500,9 +18534,9 @@ var lottie$1 = { exports: {} };
18500
18534
  k: 100,
18501
18535
  a: 0
18502
18536
  }
18503
- }, De.chars[Be].t || (Oe.data.shapes.push({
18537
+ }, De.chars[Be].t || (ke.data.shapes.push({
18504
18538
  ty: "no"
18505
- }), Oe.data.shapes[0].it.push({
18539
+ }), ke.data.shapes[0].it.push({
18506
18540
  p: {
18507
18541
  k: [0, 0],
18508
18542
  a: 0
@@ -18536,104 +18570,104 @@ var lottie$1 = { exports: {} };
18536
18570
  }
18537
18571
  }
18538
18572
  };
18539
- }(), Ge = function() {
18573
+ }(), Ue = function() {
18540
18574
  var Xe = [5, 7, 15];
18541
18575
  function De(Re) {
18542
- var Oe = Re.t.p;
18543
- typeof Oe.a == "number" && (Oe.a = {
18576
+ var ke = Re.t.p;
18577
+ typeof ke.a == "number" && (ke.a = {
18544
18578
  a: 0,
18545
- k: Oe.a
18546
- }), typeof Oe.p == "number" && (Oe.p = {
18579
+ k: ke.a
18580
+ }), typeof ke.p == "number" && (ke.p = {
18547
18581
  a: 0,
18548
- k: Oe.p
18549
- }), typeof Oe.r == "number" && (Oe.r = {
18582
+ k: ke.p
18583
+ }), typeof ke.r == "number" && (ke.r = {
18550
18584
  a: 0,
18551
- k: Oe.r
18585
+ k: ke.r
18552
18586
  });
18553
18587
  }
18554
18588
  function Be(Re) {
18555
- var Oe, Ue = Re.length;
18556
- for (Oe = 0; Oe < Ue; Oe += 1)
18557
- Re[Oe].ty === 5 && De(Re[Oe]);
18589
+ var ke, Ge = Re.length;
18590
+ for (ke = 0; ke < Ge; ke += 1)
18591
+ Re[ke].ty === 5 && De(Re[ke]);
18558
18592
  }
18559
18593
  return function(Re) {
18560
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18561
- var Oe, Ue = Re.assets.length;
18562
- for (Oe = 0; Oe < Ue; Oe += 1)
18563
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18594
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18595
+ var ke, Ge = Re.assets.length;
18596
+ for (ke = 0; ke < Ge; ke += 1)
18597
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18564
18598
  }
18565
18599
  };
18566
18600
  }(), He = function() {
18567
18601
  var Xe = [4, 1, 9];
18568
18602
  function De(Re) {
18569
- var Oe, Ue = Re.length, Ne, Ye;
18570
- for (Oe = 0; Oe < Ue; Oe += 1)
18571
- if (Re[Oe].ty === "gr")
18572
- De(Re[Oe].it);
18573
- else if (Re[Oe].ty === "fl" || Re[Oe].ty === "st")
18574
- if (Re[Oe].c.k && Re[Oe].c.k[0].i)
18575
- for (Ye = Re[Oe].c.k.length, Ne = 0; Ne < Ye; Ne += 1)
18576
- Re[Oe].c.k[Ne].s && (Re[Oe].c.k[Ne].s[0] /= 255, Re[Oe].c.k[Ne].s[1] /= 255, Re[Oe].c.k[Ne].s[2] /= 255, Re[Oe].c.k[Ne].s[3] /= 255), Re[Oe].c.k[Ne].e && (Re[Oe].c.k[Ne].e[0] /= 255, Re[Oe].c.k[Ne].e[1] /= 255, Re[Oe].c.k[Ne].e[2] /= 255, Re[Oe].c.k[Ne].e[3] /= 255);
18603
+ var ke, Ge = Re.length, Ne, qe;
18604
+ for (ke = 0; ke < Ge; ke += 1)
18605
+ if (Re[ke].ty === "gr")
18606
+ De(Re[ke].it);
18607
+ else if (Re[ke].ty === "fl" || Re[ke].ty === "st")
18608
+ if (Re[ke].c.k && Re[ke].c.k[0].i)
18609
+ for (qe = Re[ke].c.k.length, Ne = 0; Ne < qe; Ne += 1)
18610
+ Re[ke].c.k[Ne].s && (Re[ke].c.k[Ne].s[0] /= 255, Re[ke].c.k[Ne].s[1] /= 255, Re[ke].c.k[Ne].s[2] /= 255, Re[ke].c.k[Ne].s[3] /= 255), Re[ke].c.k[Ne].e && (Re[ke].c.k[Ne].e[0] /= 255, Re[ke].c.k[Ne].e[1] /= 255, Re[ke].c.k[Ne].e[2] /= 255, Re[ke].c.k[Ne].e[3] /= 255);
18577
18611
  else
18578
- Re[Oe].c.k[0] /= 255, Re[Oe].c.k[1] /= 255, Re[Oe].c.k[2] /= 255, Re[Oe].c.k[3] /= 255;
18612
+ Re[ke].c.k[0] /= 255, Re[ke].c.k[1] /= 255, Re[ke].c.k[2] /= 255, Re[ke].c.k[3] /= 255;
18579
18613
  }
18580
18614
  function Be(Re) {
18581
- var Oe, Ue = Re.length;
18582
- for (Oe = 0; Oe < Ue; Oe += 1)
18583
- Re[Oe].ty === 4 && De(Re[Oe].shapes);
18615
+ var ke, Ge = Re.length;
18616
+ for (ke = 0; ke < Ge; ke += 1)
18617
+ Re[ke].ty === 4 && De(Re[ke].shapes);
18584
18618
  }
18585
18619
  return function(Re) {
18586
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18587
- var Oe, Ue = Re.assets.length;
18588
- for (Oe = 0; Oe < Ue; Oe += 1)
18589
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18620
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18621
+ var ke, Ge = Re.assets.length;
18622
+ for (ke = 0; ke < Ge; ke += 1)
18623
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18590
18624
  }
18591
18625
  };
18592
18626
  }(), We = function() {
18593
18627
  var Xe = [4, 4, 18];
18594
18628
  function De(Re) {
18595
- var Oe, Ue = Re.length, Ne, Ye;
18596
- for (Oe = Ue - 1; Oe >= 0; Oe -= 1)
18597
- if (Re[Oe].ty === "sh")
18598
- if (Re[Oe].ks.k.i)
18599
- Re[Oe].ks.k.c = Re[Oe].closed;
18629
+ var ke, Ge = Re.length, Ne, qe;
18630
+ for (ke = Ge - 1; ke >= 0; ke -= 1)
18631
+ if (Re[ke].ty === "sh")
18632
+ if (Re[ke].ks.k.i)
18633
+ Re[ke].ks.k.c = Re[ke].closed;
18600
18634
  else
18601
- for (Ye = Re[Oe].ks.k.length, Ne = 0; Ne < Ye; Ne += 1)
18602
- Re[Oe].ks.k[Ne].s && (Re[Oe].ks.k[Ne].s[0].c = Re[Oe].closed), Re[Oe].ks.k[Ne].e && (Re[Oe].ks.k[Ne].e[0].c = Re[Oe].closed);
18635
+ for (qe = Re[ke].ks.k.length, Ne = 0; Ne < qe; Ne += 1)
18636
+ Re[ke].ks.k[Ne].s && (Re[ke].ks.k[Ne].s[0].c = Re[ke].closed), Re[ke].ks.k[Ne].e && (Re[ke].ks.k[Ne].e[0].c = Re[ke].closed);
18603
18637
  else
18604
- Re[Oe].ty === "gr" && De(Re[Oe].it);
18638
+ Re[ke].ty === "gr" && De(Re[ke].it);
18605
18639
  }
18606
18640
  function Be(Re) {
18607
- var Oe, Ue, Ne = Re.length, Ye, qe, Ke, et;
18608
- for (Ue = 0; Ue < Ne; Ue += 1) {
18609
- if (Oe = Re[Ue], Oe.hasMask) {
18610
- var Je = Oe.masksProperties;
18611
- for (qe = Je.length, Ye = 0; Ye < qe; Ye += 1)
18612
- if (Je[Ye].pt.k.i)
18613
- Je[Ye].pt.k.c = Je[Ye].cl;
18641
+ var ke, Ge, Ne = Re.length, qe, Ye, Ke, rt;
18642
+ for (Ge = 0; Ge < Ne; Ge += 1) {
18643
+ if (ke = Re[Ge], ke.hasMask) {
18644
+ var it = ke.masksProperties;
18645
+ for (Ye = it.length, qe = 0; qe < Ye; qe += 1)
18646
+ if (it[qe].pt.k.i)
18647
+ it[qe].pt.k.c = it[qe].cl;
18614
18648
  else
18615
- for (et = Je[Ye].pt.k.length, Ke = 0; Ke < et; Ke += 1)
18616
- Je[Ye].pt.k[Ke].s && (Je[Ye].pt.k[Ke].s[0].c = Je[Ye].cl), Je[Ye].pt.k[Ke].e && (Je[Ye].pt.k[Ke].e[0].c = Je[Ye].cl);
18649
+ for (rt = it[qe].pt.k.length, Ke = 0; Ke < rt; Ke += 1)
18650
+ it[qe].pt.k[Ke].s && (it[qe].pt.k[Ke].s[0].c = it[qe].cl), it[qe].pt.k[Ke].e && (it[qe].pt.k[Ke].e[0].c = it[qe].cl);
18617
18651
  }
18618
- Oe.ty === 4 && De(Oe.shapes);
18652
+ ke.ty === 4 && De(ke.shapes);
18619
18653
  }
18620
18654
  }
18621
18655
  return function(Re) {
18622
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18623
- var Oe, Ue = Re.assets.length;
18624
- for (Oe = 0; Oe < Ue; Oe += 1)
18625
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18656
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18657
+ var ke, Ge = Re.assets.length;
18658
+ for (ke = 0; ke < Ge; ke += 1)
18659
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18626
18660
  }
18627
18661
  };
18628
18662
  }();
18629
18663
  function je(Xe) {
18630
- Xe.__complete || (He(Xe), $e(Xe), Le(Xe), Ge(Xe), We(Xe), Me(Xe.layers, Xe.assets), Ee(Xe.chars, Xe.assets), Xe.__complete = !0);
18664
+ Xe.__complete || (He(Xe), $e(Xe), Le(Xe), Ue(Xe), We(Xe), Me(Xe.layers, Xe.assets), Ee(Xe.chars, Xe.assets), Xe.__complete = !0);
18631
18665
  }
18632
18666
  function Ve(Xe) {
18633
18667
  Xe.t.a.length === 0 && "m" in Xe.t.p;
18634
18668
  }
18635
18669
  var ze = {};
18636
- return ze.completeData = je, ze.checkColors = He, ze.checkChars = Le, ze.checkPathProperties = Ge, ze.checkShapes = We, ze.completeLayers = Me, ze;
18670
+ return ze.completeData = je, ze.checkColors = He, ze.checkChars = Le, ze.checkPathProperties = Ue, ze.checkShapes = We, ze.completeLayers = Me, ze;
18637
18671
  }
18638
18672
  if (V.dataManager || (V.dataManager = Te()), V.assetLoader || (V.assetLoader = function() {
18639
18673
  function Me(we) {
@@ -18641,7 +18675,7 @@ var lottie$1 = { exports: {} };
18641
18675
  return Pe && we.responseType === "json" && Pe.indexOf("json") !== -1 || we.response && _typeof$5(we.response) === "object" ? we.response : we.response && typeof we.response == "string" ? JSON.parse(we.response) : we.responseText ? JSON.parse(we.responseText) : null;
18642
18676
  }
18643
18677
  function Ee(we, Pe, Ie, Fe) {
18644
- var ke, $e = new XMLHttpRequest();
18678
+ var Oe, $e = new XMLHttpRequest();
18645
18679
  try {
18646
18680
  $e.responseType = "json";
18647
18681
  } catch {
@@ -18649,10 +18683,10 @@ var lottie$1 = { exports: {} };
18649
18683
  $e.onreadystatechange = function() {
18650
18684
  if ($e.readyState === 4)
18651
18685
  if ($e.status === 200)
18652
- ke = Me($e), Ie(ke);
18686
+ Oe = Me($e), Ie(Oe);
18653
18687
  else
18654
18688
  try {
18655
- ke = Me($e), Ie(ke);
18689
+ Oe = Me($e), Ie(Oe);
18656
18690
  } catch (Le) {
18657
18691
  Fe && Fe(Le);
18658
18692
  }
@@ -19196,8 +19230,8 @@ var lottie$1 = { exports: {} };
19196
19230
  return E[Re].animation;
19197
19231
  Re += 1;
19198
19232
  }
19199
- var Oe = new AnimationItem();
19200
- return J(Oe, De), Oe.setData(De, Be), Oe;
19233
+ var ke = new AnimationItem();
19234
+ return J(ke, De), ke.setData(De, Be), ke;
19201
19235
  }
19202
19236
  function _e() {
19203
19237
  var De, Be = E.length, Re = [];
@@ -19251,16 +19285,16 @@ var lottie$1 = { exports: {} };
19251
19285
  E[Be].animation.pause(De);
19252
19286
  }
19253
19287
  function Ie(De, Be, Re) {
19254
- var Oe;
19255
- for (Oe = 0; Oe < B; Oe += 1)
19256
- E[Oe].animation.goToAndStop(De, Be, Re);
19288
+ var ke;
19289
+ for (ke = 0; ke < B; ke += 1)
19290
+ E[ke].animation.goToAndStop(De, Be, Re);
19257
19291
  }
19258
19292
  function Fe(De) {
19259
19293
  var Be;
19260
19294
  for (Be = 0; Be < B; Be += 1)
19261
19295
  E[Be].animation.stop(De);
19262
19296
  }
19263
- function ke(De) {
19297
+ function Oe(De) {
19264
19298
  var Be;
19265
19299
  for (Be = 0; Be < B; Be += 1)
19266
19300
  E[Be].animation.togglePause(De);
@@ -19271,18 +19305,18 @@ var lottie$1 = { exports: {} };
19271
19305
  E[Be].animation.destroy(De);
19272
19306
  }
19273
19307
  function Le(De, Be, Re) {
19274
- var Oe = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), Ue, Ne = Oe.length;
19275
- for (Ue = 0; Ue < Ne; Ue += 1)
19276
- Re && Oe[Ue].setAttribute("data-bm-type", Re), K(Oe[Ue], De);
19308
+ var ke = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), Ge, Ne = ke.length;
19309
+ for (Ge = 0; Ge < Ne; Ge += 1)
19310
+ Re && ke[Ge].setAttribute("data-bm-type", Re), K(ke[Ge], De);
19277
19311
  if (Be && Ne === 0) {
19278
19312
  Re || (Re = "svg");
19279
- var Ye = document.getElementsByTagName("body")[0];
19280
- Ye.innerText = "";
19281
- var qe = createTag("div");
19282
- qe.style.width = "100%", qe.style.height = "100%", qe.setAttribute("data-bm-type", Re), Ye.appendChild(qe), K(qe, De);
19313
+ var qe = document.getElementsByTagName("body")[0];
19314
+ qe.innerText = "";
19315
+ var Ye = createTag("div");
19316
+ Ye.style.width = "100%", Ye.style.height = "100%", Ye.setAttribute("data-bm-type", Re), qe.appendChild(Ye), K(Ye, De);
19283
19317
  }
19284
19318
  }
19285
- function Ge() {
19319
+ function Ue() {
19286
19320
  var De;
19287
19321
  for (De = 0; De < B; De += 1)
19288
19322
  E[De].animation.resize();
@@ -19311,13 +19345,13 @@ var lottie$1 = { exports: {} };
19311
19345
  for (Be = 0; Be < B; Be += 1)
19312
19346
  E[Be].animation.unmute(De);
19313
19347
  }
19314
- return C.registerAnimation = K, C.loadAnimation = Se, C.setSpeed = Te, C.setDirection = Ae, C.play = Me, C.pause = Pe, C.stop = Fe, C.togglePause = ke, C.searchAnimations = Le, C.resize = Ge, C.goToAndStop = Ie, C.destroy = $e, C.freeze = We, C.unfreeze = je, C.setVolume = Ve, C.mute = ze, C.unmute = Xe, C.getRegisteredAnimations = _e, C;
19348
+ return C.registerAnimation = K, C.loadAnimation = Se, C.setSpeed = Te, C.setDirection = Ae, C.play = Me, C.pause = Pe, C.stop = Fe, C.togglePause = Oe, C.searchAnimations = Le, C.resize = Ue, C.goToAndStop = Ie, C.destroy = $e, C.freeze = We, C.unfreeze = je, C.setVolume = Ve, C.mute = ze, C.unmute = Xe, C.getRegisteredAnimations = _e, C;
19315
19349
  }(), BezierFactory = function() {
19316
19350
  var C = {};
19317
19351
  C.getBezierEasing = I;
19318
19352
  var E = {};
19319
- function I(we, Pe, Ie, Fe, ke) {
19320
- var $e = ke || ("bez_" + we + "_" + Pe + "_" + Ie + "_" + Fe).replace(/\./g, "p");
19353
+ function I(we, Pe, Ie, Fe, Oe) {
19354
+ var $e = Oe || ("bez_" + we + "_" + Pe + "_" + Ie + "_" + Fe).replace(/\./g, "p");
19321
19355
  if (E[$e])
19322
19356
  return E[$e];
19323
19357
  var Le = new Ee([we, Pe, Ie, Fe]);
@@ -19339,15 +19373,15 @@ var lottie$1 = { exports: {} };
19339
19373
  function Te(we, Pe, Ie) {
19340
19374
  return 3 * xe(Pe, Ie) * we * we + 2 * Z(Pe, Ie) * we + J(Pe);
19341
19375
  }
19342
- function Ae(we, Pe, Ie, Fe, ke) {
19343
- var $e, Le, Ge = 0;
19376
+ function Ae(we, Pe, Ie, Fe, Oe) {
19377
+ var $e, Le, Ue = 0;
19344
19378
  do
19345
- Le = Pe + (Ie - Pe) / 2, $e = Se(Le, Fe, ke) - we, $e > 0 ? Ie = Le : Pe = Le;
19346
- while (Math.abs($e) > V && ++Ge < X);
19379
+ Le = Pe + (Ie - Pe) / 2, $e = Se(Le, Fe, Oe) - we, $e > 0 ? Ie = Le : Pe = Le;
19380
+ while (Math.abs($e) > V && ++Ue < X);
19347
19381
  return Le;
19348
19382
  }
19349
19383
  function Me(we, Pe, Ie, Fe) {
19350
- for (var ke = 0; ke < B; ++ke) {
19384
+ for (var Oe = 0; Oe < B; ++Oe) {
19351
19385
  var $e = Te(Pe, Ie, Fe);
19352
19386
  if ($e === 0)
19353
19387
  return Pe;
@@ -19361,13 +19395,13 @@ var lottie$1 = { exports: {} };
19361
19395
  }
19362
19396
  return Ee.prototype = {
19363
19397
  get: function(Pe) {
19364
- var Ie = this._p[0], Fe = this._p[1], ke = this._p[2], $e = this._p[3];
19365
- return this._precomputed || this._precompute(), Ie === Fe && ke === $e ? Pe : Pe === 0 ? 0 : Pe === 1 ? 1 : Se(this._getTForX(Pe), Fe, $e);
19398
+ var Ie = this._p[0], Fe = this._p[1], Oe = this._p[2], $e = this._p[3];
19399
+ return this._precomputed || this._precompute(), Ie === Fe && Oe === $e ? Pe : Pe === 0 ? 0 : Pe === 1 ? 1 : Se(this._getTForX(Pe), Fe, $e);
19366
19400
  },
19367
19401
  // Private part
19368
19402
  _precompute: function() {
19369
- var Pe = this._p[0], Ie = this._p[1], Fe = this._p[2], ke = this._p[3];
19370
- this._precomputed = !0, (Pe !== Ie || Fe !== ke) && this._calcSampleValues();
19403
+ var Pe = this._p[0], Ie = this._p[1], Fe = this._p[2], Oe = this._p[3];
19404
+ this._precomputed = !0, (Pe !== Ie || Fe !== Oe) && this._calcSampleValues();
19371
19405
  },
19372
19406
  _calcSampleValues: function() {
19373
19407
  for (var Pe = this._p[0], Ie = this._p[2], Fe = 0; Fe < Y; ++Fe)
@@ -19377,10 +19411,10 @@ var lottie$1 = { exports: {} };
19377
19411
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
19378
19412
  */
19379
19413
  _getTForX: function(Pe) {
19380
- for (var Ie = this._p[0], Fe = this._p[2], ke = this._mSampleValues, $e = 0, Le = 1, Ge = Y - 1; Le !== Ge && ke[Le] <= Pe; ++Le)
19414
+ for (var Ie = this._p[0], Fe = this._p[2], Oe = this._mSampleValues, $e = 0, Le = 1, Ue = Y - 1; Le !== Ue && Oe[Le] <= Pe; ++Le)
19381
19415
  $e += K;
19382
19416
  --Le;
19383
- var He = (Pe - ke[Le]) / (ke[Le + 1] - ke[Le]), We = $e + He * K, je = Te(We, Ie, Fe);
19417
+ var He = (Pe - Oe[Le]) / (Oe[Le + 1] - Oe[Le]), We = $e + He * K, je = Te(We, Ie, Fe);
19384
19418
  return je >= U ? Me(Pe, We, Ie, Fe) : je === 0 ? We : Ae(Pe, $e, $e + K, Ie, Fe);
19385
19419
  }
19386
19420
  }, C;
@@ -19439,18 +19473,18 @@ var lottie$1 = { exports: {} };
19439
19473
  function I(J, Se, Te, Ae, Me, Ee, we, Pe, Ie) {
19440
19474
  if (Te === 0 && Ee === 0 && Ie === 0)
19441
19475
  return E(J, Se, Ae, Me, we, Pe);
19442
- var Fe = C.sqrt(C.pow(Ae - J, 2) + C.pow(Me - Se, 2) + C.pow(Ee - Te, 2)), ke = C.sqrt(C.pow(we - J, 2) + C.pow(Pe - Se, 2) + C.pow(Ie - Te, 2)), $e = C.sqrt(C.pow(we - Ae, 2) + C.pow(Pe - Me, 2) + C.pow(Ie - Ee, 2)), Le;
19443
- return Fe > ke ? Fe > $e ? Le = Fe - ke - $e : Le = $e - ke - Fe : $e > ke ? Le = $e - ke - Fe : Le = ke - Fe - $e, Le > -1e-4 && Le < 1e-4;
19476
+ var Fe = C.sqrt(C.pow(Ae - J, 2) + C.pow(Me - Se, 2) + C.pow(Ee - Te, 2)), Oe = C.sqrt(C.pow(we - J, 2) + C.pow(Pe - Se, 2) + C.pow(Ie - Te, 2)), $e = C.sqrt(C.pow(we - Ae, 2) + C.pow(Pe - Me, 2) + C.pow(Ie - Ee, 2)), Le;
19477
+ return Fe > Oe ? Fe > $e ? Le = Fe - Oe - $e : Le = $e - Oe - Fe : $e > Oe ? Le = $e - Oe - Fe : Le = Oe - Fe - $e, Le > -1e-4 && Le < 1e-4;
19444
19478
  }
19445
19479
  var B = function() {
19446
19480
  return function(J, Se, Te, Ae) {
19447
- var Me = getDefaultCurveSegments(), Ee, we, Pe, Ie, Fe, ke = 0, $e, Le = [], Ge = [], He = bezierLengthPool.newElement();
19481
+ var Me = getDefaultCurveSegments(), Ee, we, Pe, Ie, Fe, Oe = 0, $e, Le = [], Ue = [], He = bezierLengthPool.newElement();
19448
19482
  for (Pe = Te.length, Ee = 0; Ee < Me; Ee += 1) {
19449
19483
  for (Fe = Ee / (Me - 1), $e = 0, we = 0; we < Pe; we += 1)
19450
- Ie = bmPow(1 - Fe, 3) * J[we] + 3 * bmPow(1 - Fe, 2) * Fe * Te[we] + 3 * (1 - Fe) * bmPow(Fe, 2) * Ae[we] + bmPow(Fe, 3) * Se[we], Le[we] = Ie, Ge[we] !== null && ($e += bmPow(Le[we] - Ge[we], 2)), Ge[we] = Le[we];
19451
- $e && ($e = bmSqrt($e), ke += $e), He.percents[Ee] = Fe, He.lengths[Ee] = ke;
19484
+ Ie = bmPow(1 - Fe, 3) * J[we] + 3 * bmPow(1 - Fe, 2) * Fe * Te[we] + 3 * (1 - Fe) * bmPow(Fe, 2) * Ae[we] + bmPow(Fe, 3) * Se[we], Le[we] = Ie, Ue[we] !== null && ($e += bmPow(Le[we] - Ue[we], 2)), Ue[we] = Le[we];
19485
+ $e && ($e = bmSqrt($e), Oe += $e), He.percents[Ee] = Fe, He.lengths[Ee] = Oe;
19452
19486
  }
19453
- return He.addedLength = ke, He;
19487
+ return He.addedLength = Oe, He;
19454
19488
  };
19455
19489
  }();
19456
19490
  function U(J) {
@@ -19470,13 +19504,13 @@ var lottie$1 = { exports: {} };
19470
19504
  return function(Se, Te, Ae, Me) {
19471
19505
  var Ee = (Se[0] + "_" + Se[1] + "_" + Te[0] + "_" + Te[1] + "_" + Ae[0] + "_" + Ae[1] + "_" + Me[0] + "_" + Me[1]).replace(/\./g, "p");
19472
19506
  if (!J[Ee]) {
19473
- var we = getDefaultCurveSegments(), Pe, Ie, Fe, ke, $e, Le = 0, Ge, He, We = null;
19507
+ var we = getDefaultCurveSegments(), Pe, Ie, Fe, Oe, $e, Le = 0, Ue, He, We = null;
19474
19508
  Se.length === 2 && (Se[0] !== Te[0] || Se[1] !== Te[1]) && E(Se[0], Se[1], Te[0], Te[1], Se[0] + Ae[0], Se[1] + Ae[1]) && E(Se[0], Se[1], Te[0], Te[1], Te[0] + Me[0], Te[1] + Me[1]) && (we = 2);
19475
19509
  var je = new V(we);
19476
19510
  for (Fe = Ae.length, Pe = 0; Pe < we; Pe += 1) {
19477
- for (He = createSizedArray(Fe), $e = Pe / (we - 1), Ge = 0, Ie = 0; Ie < Fe; Ie += 1)
19478
- ke = bmPow(1 - $e, 3) * Se[Ie] + 3 * bmPow(1 - $e, 2) * $e * (Se[Ie] + Ae[Ie]) + 3 * (1 - $e) * bmPow($e, 2) * (Te[Ie] + Me[Ie]) + bmPow($e, 3) * Te[Ie], He[Ie] = ke, We !== null && (Ge += bmPow(He[Ie] - We[Ie], 2));
19479
- Ge = bmSqrt(Ge), Le += Ge, je.points[Pe] = new X(Ge, He), We = He;
19511
+ for (He = createSizedArray(Fe), $e = Pe / (we - 1), Ue = 0, Ie = 0; Ie < Fe; Ie += 1)
19512
+ Oe = bmPow(1 - $e, 3) * Se[Ie] + 3 * bmPow(1 - $e, 2) * $e * (Se[Ie] + Ae[Ie]) + 3 * (1 - $e) * bmPow($e, 2) * (Te[Ie] + Me[Ie]) + bmPow($e, 3) * Te[Ie], He[Ie] = Oe, We !== null && (Ue += bmPow(He[Ie] - We[Ie], 2));
19513
+ Ue = bmSqrt(Ue), Le += Ue, je.points[Pe] = new X(Ue, He), We = He;
19480
19514
  }
19481
19515
  je.segmentLength = Le, J[Ee] = je;
19482
19516
  }
@@ -19504,9 +19538,9 @@ var lottie$1 = { exports: {} };
19504
19538
  Me < 0 ? Me = 0 : Me > 1 && (Me = 1);
19505
19539
  var Pe = K(Me, we);
19506
19540
  Ee = Ee > 1 ? 1 : Ee;
19507
- var Ie = K(Ee, we), Fe, ke = J.length, $e = 1 - Pe, Le = 1 - Ie, Ge = $e * $e * $e, He = Pe * $e * $e * 3, We = Pe * Pe * $e * 3, je = Pe * Pe * Pe, Ve = $e * $e * Le, ze = Pe * $e * Le + $e * Pe * Le + $e * $e * Ie, Xe = Pe * Pe * Le + $e * Pe * Ie + Pe * $e * Ie, De = Pe * Pe * Ie, Be = $e * Le * Le, Re = Pe * Le * Le + $e * Ie * Le + $e * Le * Ie, Oe = Pe * Ie * Le + $e * Ie * Ie + Pe * Le * Ie, Ue = Pe * Ie * Ie, Ne = Le * Le * Le, Ye = Ie * Le * Le + Le * Ie * Le + Le * Le * Ie, qe = Ie * Ie * Le + Le * Ie * Ie + Ie * Le * Ie, Ke = Ie * Ie * Ie;
19508
- for (Fe = 0; Fe < ke; Fe += 1)
19509
- xe[Fe * 4] = C.round((Ge * J[Fe] + He * Te[Fe] + We * Ae[Fe] + je * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 1] = C.round((Ve * J[Fe] + ze * Te[Fe] + Xe * Ae[Fe] + De * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 2] = C.round((Be * J[Fe] + Re * Te[Fe] + Oe * Ae[Fe] + Ue * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 3] = C.round((Ne * J[Fe] + Ye * Te[Fe] + qe * Ae[Fe] + Ke * Se[Fe]) * 1e3) / 1e3;
19541
+ var Ie = K(Ee, we), Fe, Oe = J.length, $e = 1 - Pe, Le = 1 - Ie, Ue = $e * $e * $e, He = Pe * $e * $e * 3, We = Pe * Pe * $e * 3, je = Pe * Pe * Pe, Ve = $e * $e * Le, ze = Pe * $e * Le + $e * Pe * Le + $e * $e * Ie, Xe = Pe * Pe * Le + $e * Pe * Ie + Pe * $e * Ie, De = Pe * Pe * Ie, Be = $e * Le * Le, Re = Pe * Le * Le + $e * Ie * Le + $e * Le * Ie, ke = Pe * Ie * Le + $e * Ie * Ie + Pe * Le * Ie, Ge = Pe * Ie * Ie, Ne = Le * Le * Le, qe = Ie * Le * Le + Le * Ie * Le + Le * Le * Ie, Ye = Ie * Ie * Le + Le * Ie * Ie + Ie * Le * Ie, Ke = Ie * Ie * Ie;
19542
+ for (Fe = 0; Fe < Oe; Fe += 1)
19543
+ xe[Fe * 4] = C.round((Ue * J[Fe] + He * Te[Fe] + We * Ae[Fe] + je * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 1] = C.round((Ve * J[Fe] + ze * Te[Fe] + Xe * Ae[Fe] + De * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 2] = C.round((Be * J[Fe] + Re * Te[Fe] + ke * Ae[Fe] + Ge * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 3] = C.round((Ne * J[Fe] + qe * Te[Fe] + Ye * Ae[Fe] + Ke * Se[Fe]) * 1e3) / 1e3;
19510
19544
  return xe;
19511
19545
  }
19512
19546
  return {
@@ -19544,14 +19578,14 @@ var lottie$1 = { exports: {} };
19544
19578
  B[Z] = Ie.points[Fe].point[Z];
19545
19579
  } else {
19546
19580
  xe.__fnct ? Me = xe.__fnct : (Me = BezierFactory.getBezierEasing(K.o.x, K.o.y, K.i.x, K.i.y, K.n).get, xe.__fnct = Me), Se = Me((C - we) / (Ee - we));
19547
- var ke = Ie.segmentLength * Se, $e, Le = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastAddedLength : 0;
19581
+ var Oe = Ie.segmentLength * Se, $e, Le = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastAddedLength : 0;
19548
19582
  for (Ae = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastPoint : 0, Y = !0, Te = Ie.points.length; Y; ) {
19549
- if (Le += Ie.points[Ae].partialLength, ke === 0 || Se === 0 || Ae === Ie.points.length - 1) {
19583
+ if (Le += Ie.points[Ae].partialLength, Oe === 0 || Se === 0 || Ae === Ie.points.length - 1) {
19550
19584
  for (J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19551
19585
  B[Z] = Ie.points[Ae].point[Z];
19552
19586
  break;
19553
- } else if (ke >= Le && ke < Le + Ie.points[Ae + 1].partialLength) {
19554
- for ($e = (ke - Le) / Ie.points[Ae + 1].partialLength, J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19587
+ } else if (Oe >= Le && Oe < Le + Ie.points[Ae + 1].partialLength) {
19588
+ for ($e = (Oe - Le) / Ie.points[Ae + 1].partialLength, J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19555
19589
  B[Z] = Ie.points[Ae].point[Z] + (Ie.points[Ae + 1].point[Z] - Ie.points[Ae].point[Z]) * $e;
19556
19590
  break;
19557
19591
  }
@@ -19560,7 +19594,7 @@ var lottie$1 = { exports: {} };
19560
19594
  E._lastPoint = Ae, E._lastAddedLength = Le - Ie.points[Ae].partialLength, E._lastKeyframeIndex = V;
19561
19595
  }
19562
19596
  } else {
19563
- var Ge, He, We, je, Ve;
19597
+ var Ue, He, We, je, Ve;
19564
19598
  if (X = K.s.length, Pe = _e.s || K.e, this.sh && K.h !== 1)
19565
19599
  if (C >= Ee)
19566
19600
  B[0] = Pe[0], B[1] = Pe[1], B[2] = Pe[2];
@@ -19572,7 +19606,7 @@ var lottie$1 = { exports: {} };
19572
19606
  }
19573
19607
  else
19574
19608
  for (V = 0; V < X; V += 1)
19575
- K.h !== 1 && (C >= Ee ? Se = 1 : C < we ? Se = 0 : (K.o.x.constructor === Array ? (xe.__fnct || (xe.__fnct = []), xe.__fnct[V] ? Me = xe.__fnct[V] : (Ge = K.o.x[V] === void 0 ? K.o.x[0] : K.o.x[V], He = K.o.y[V] === void 0 ? K.o.y[0] : K.o.y[V], We = K.i.x[V] === void 0 ? K.i.x[0] : K.i.x[V], je = K.i.y[V] === void 0 ? K.i.y[0] : K.i.y[V], Me = BezierFactory.getBezierEasing(Ge, He, We, je).get, xe.__fnct[V] = Me)) : xe.__fnct ? Me = xe.__fnct : (Ge = K.o.x, He = K.o.y, We = K.i.x, je = K.i.y, Me = BezierFactory.getBezierEasing(Ge, He, We, je).get, K.keyframeMetadata = Me), Se = Me((C - we) / (Ee - we)))), Pe = _e.s || K.e, Ve = K.h === 1 ? K.s[V] : K.s[V] + (Pe[V] - K.s[V]) * Se, this.propType === "multidimensional" ? B[V] = Ve : B = Ve;
19609
+ K.h !== 1 && (C >= Ee ? Se = 1 : C < we ? Se = 0 : (K.o.x.constructor === Array ? (xe.__fnct || (xe.__fnct = []), xe.__fnct[V] ? Me = xe.__fnct[V] : (Ue = K.o.x[V] === void 0 ? K.o.x[0] : K.o.x[V], He = K.o.y[V] === void 0 ? K.o.y[0] : K.o.y[V], We = K.i.x[V] === void 0 ? K.i.x[0] : K.i.x[V], je = K.i.y[V] === void 0 ? K.i.y[0] : K.i.y[V], Me = BezierFactory.getBezierEasing(Ue, He, We, je).get, xe.__fnct[V] = Me)) : xe.__fnct ? Me = xe.__fnct : (Ue = K.o.x, He = K.o.y, We = K.i.x, je = K.i.y, Me = BezierFactory.getBezierEasing(Ue, He, We, je).get, K.keyframeMetadata = Me), Se = Me((C - we) / (Ee - we)))), Pe = _e.s || K.e, Ve = K.h === 1 ? K.s[V] : K.s[V] + (Pe[V] - K.s[V]) * Se, this.propType === "multidimensional" ? B[V] = Ve : B = Ve;
19576
19610
  }
19577
19611
  return E.lastIndex = U, B;
19578
19612
  }
@@ -19793,30 +19827,30 @@ var lottie$1 = { exports: {} };
19793
19827
  }(), ShapePropertyFactory = function() {
19794
19828
  var C = -999999;
19795
19829
  function E(Ee, we, Pe) {
19796
- var Ie = Pe.lastIndex, Fe, ke, $e, Le, Ge, He, We, je, Ve, ze = this.keyframes;
19830
+ var Ie = Pe.lastIndex, Fe, Oe, $e, Le, Ue, He, We, je, Ve, ze = this.keyframes;
19797
19831
  if (Ee < ze[0].t - this.offsetTime)
19798
19832
  Fe = ze[0].s[0], $e = !0, Ie = 0;
19799
19833
  else if (Ee >= ze[ze.length - 1].t - this.offsetTime)
19800
19834
  Fe = ze[ze.length - 1].s ? ze[ze.length - 1].s[0] : ze[ze.length - 2].e[0], $e = !0;
19801
19835
  else {
19802
- for (var Xe = Ie, De = ze.length - 1, Be = !0, Re, Oe, Ue; Be && (Re = ze[Xe], Oe = ze[Xe + 1], !(Oe.t - this.offsetTime > Ee)); )
19836
+ for (var Xe = Ie, De = ze.length - 1, Be = !0, Re, ke, Ge; Be && (Re = ze[Xe], ke = ze[Xe + 1], !(ke.t - this.offsetTime > Ee)); )
19803
19837
  Xe < De - 1 ? Xe += 1 : Be = !1;
19804
- if (Ue = this.keyframesMetadata[Xe] || {}, $e = Re.h === 1, Ie = Xe, !$e) {
19805
- if (Ee >= Oe.t - this.offsetTime)
19838
+ if (Ge = this.keyframesMetadata[Xe] || {}, $e = Re.h === 1, Ie = Xe, !$e) {
19839
+ if (Ee >= ke.t - this.offsetTime)
19806
19840
  je = 1;
19807
19841
  else if (Ee < Re.t - this.offsetTime)
19808
19842
  je = 0;
19809
19843
  else {
19810
19844
  var Ne;
19811
- Ue.__fnct ? Ne = Ue.__fnct : (Ne = BezierFactory.getBezierEasing(Re.o.x, Re.o.y, Re.i.x, Re.i.y).get, Ue.__fnct = Ne), je = Ne((Ee - (Re.t - this.offsetTime)) / (Oe.t - this.offsetTime - (Re.t - this.offsetTime)));
19845
+ Ge.__fnct ? Ne = Ge.__fnct : (Ne = BezierFactory.getBezierEasing(Re.o.x, Re.o.y, Re.i.x, Re.i.y).get, Ge.__fnct = Ne), je = Ne((Ee - (Re.t - this.offsetTime)) / (ke.t - this.offsetTime - (Re.t - this.offsetTime)));
19812
19846
  }
19813
- ke = Oe.s ? Oe.s[0] : Re.e[0];
19847
+ Oe = ke.s ? ke.s[0] : Re.e[0];
19814
19848
  }
19815
19849
  Fe = Re.s[0];
19816
19850
  }
19817
19851
  for (He = we._length, We = Fe.i[0].length, Pe.lastIndex = Ie, Le = 0; Le < He; Le += 1)
19818
- for (Ge = 0; Ge < We; Ge += 1)
19819
- Ve = $e ? Fe.i[Le][Ge] : Fe.i[Le][Ge] + (ke.i[Le][Ge] - Fe.i[Le][Ge]) * je, we.i[Le][Ge] = Ve, Ve = $e ? Fe.o[Le][Ge] : Fe.o[Le][Ge] + (ke.o[Le][Ge] - Fe.o[Le][Ge]) * je, we.o[Le][Ge] = Ve, Ve = $e ? Fe.v[Le][Ge] : Fe.v[Le][Ge] + (ke.v[Le][Ge] - Fe.v[Le][Ge]) * je, we.v[Le][Ge] = Ve;
19852
+ for (Ue = 0; Ue < We; Ue += 1)
19853
+ Ve = $e ? Fe.i[Le][Ue] : Fe.i[Le][Ue] + (Oe.i[Le][Ue] - Fe.i[Le][Ue]) * je, we.i[Le][Ue] = Ve, Ve = $e ? Fe.o[Le][Ue] : Fe.o[Le][Ue] + (Oe.o[Le][Ue] - Fe.o[Le][Ue]) * je, we.o[Le][Ue] = Ve, Ve = $e ? Fe.v[Le][Ue] : Fe.v[Le][Ue] + (Oe.v[Le][Ue] - Fe.v[Le][Ue]) * je, we.v[Le][Ue] = Ve;
19820
19854
  }
19821
19855
  function I() {
19822
19856
  var Ee = this.comp.renderedFrame - this.offsetTime, we = this.keyframes[0].t - this.offsetTime, Pe = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, Ie = this._caching.lastFrame;
@@ -19885,8 +19919,8 @@ var lottie$1 = { exports: {} };
19885
19919
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
19886
19920
  },
19887
19921
  convertEllToPath: function() {
19888
- var Ie = this.p.v[0], Fe = this.p.v[1], ke = this.s.v[0] / 2, $e = this.s.v[1] / 2, Le = this.d !== 3, Ge = this.v;
19889
- Ge.v[0][0] = Ie, Ge.v[0][1] = Fe - $e, Ge.v[1][0] = Le ? Ie + ke : Ie - ke, Ge.v[1][1] = Fe, Ge.v[2][0] = Ie, Ge.v[2][1] = Fe + $e, Ge.v[3][0] = Le ? Ie - ke : Ie + ke, Ge.v[3][1] = Fe, Ge.i[0][0] = Le ? Ie - ke * Ee : Ie + ke * Ee, Ge.i[0][1] = Fe - $e, Ge.i[1][0] = Le ? Ie + ke : Ie - ke, Ge.i[1][1] = Fe - $e * Ee, Ge.i[2][0] = Le ? Ie + ke * Ee : Ie - ke * Ee, Ge.i[2][1] = Fe + $e, Ge.i[3][0] = Le ? Ie - ke : Ie + ke, Ge.i[3][1] = Fe + $e * Ee, Ge.o[0][0] = Le ? Ie + ke * Ee : Ie - ke * Ee, Ge.o[0][1] = Fe - $e, Ge.o[1][0] = Le ? Ie + ke : Ie - ke, Ge.o[1][1] = Fe + $e * Ee, Ge.o[2][0] = Le ? Ie - ke * Ee : Ie + ke * Ee, Ge.o[2][1] = Fe + $e, Ge.o[3][0] = Le ? Ie - ke : Ie + ke, Ge.o[3][1] = Fe - $e * Ee;
19922
+ var Ie = this.p.v[0], Fe = this.p.v[1], Oe = this.s.v[0] / 2, $e = this.s.v[1] / 2, Le = this.d !== 3, Ue = this.v;
19923
+ Ue.v[0][0] = Ie, Ue.v[0][1] = Fe - $e, Ue.v[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.v[1][1] = Fe, Ue.v[2][0] = Ie, Ue.v[2][1] = Fe + $e, Ue.v[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.v[3][1] = Fe, Ue.i[0][0] = Le ? Ie - Oe * Ee : Ie + Oe * Ee, Ue.i[0][1] = Fe - $e, Ue.i[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.i[1][1] = Fe - $e * Ee, Ue.i[2][0] = Le ? Ie + Oe * Ee : Ie - Oe * Ee, Ue.i[2][1] = Fe + $e, Ue.i[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.i[3][1] = Fe + $e * Ee, Ue.o[0][0] = Le ? Ie + Oe * Ee : Ie - Oe * Ee, Ue.o[0][1] = Fe - $e, Ue.o[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.o[1][1] = Fe + $e * Ee, Ue.o[2][0] = Le ? Ie - Oe * Ee : Ie + Oe * Ee, Ue.o[2][1] = Fe + $e, Ue.o[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.o[3][1] = Fe - $e * Ee;
19890
19924
  }
19891
19925
  }, extendPrototype([DynamicPropertyContainer], we), we;
19892
19926
  }(), Z = function() {
@@ -19899,20 +19933,20 @@ var lottie$1 = { exports: {} };
19899
19933
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
19900
19934
  },
19901
19935
  convertStarToPath: function() {
19902
- var Pe = Math.floor(this.pt.v) * 2, Ie = Math.PI * 2 / Pe, Fe = !0, ke = this.or.v, $e = this.ir.v, Le = this.os.v, Ge = this.is.v, He = 2 * Math.PI * ke / (Pe * 2), We = 2 * Math.PI * $e / (Pe * 2), je, Ve, ze, Xe, De = -Math.PI / 2;
19936
+ var Pe = Math.floor(this.pt.v) * 2, Ie = Math.PI * 2 / Pe, Fe = !0, Oe = this.or.v, $e = this.ir.v, Le = this.os.v, Ue = this.is.v, He = 2 * Math.PI * Oe / (Pe * 2), We = 2 * Math.PI * $e / (Pe * 2), je, Ve, ze, Xe, De = -Math.PI / 2;
19903
19937
  De += this.r.v;
19904
19938
  var Be = this.data.d === 3 ? -1 : 1;
19905
19939
  for (this.v._length = 0, je = 0; je < Pe; je += 1) {
19906
- Ve = Fe ? ke : $e, ze = Fe ? Le : Ge, Xe = Fe ? He : We;
19907
- var Re = Ve * Math.cos(De), Oe = Ve * Math.sin(De), Ue = Re === 0 && Oe === 0 ? 0 : Oe / Math.sqrt(Re * Re + Oe * Oe), Ne = Re === 0 && Oe === 0 ? 0 : -Re / Math.sqrt(Re * Re + Oe * Oe);
19908
- Re += +this.p.v[0], Oe += +this.p.v[1], this.v.setTripleAt(Re, Oe, Re - Ue * Xe * ze * Be, Oe - Ne * Xe * ze * Be, Re + Ue * Xe * ze * Be, Oe + Ne * Xe * ze * Be, je, !0), Fe = !Fe, De += Ie * Be;
19940
+ Ve = Fe ? Oe : $e, ze = Fe ? Le : Ue, Xe = Fe ? He : We;
19941
+ var Re = Ve * Math.cos(De), ke = Ve * Math.sin(De), Ge = Re === 0 && ke === 0 ? 0 : ke / Math.sqrt(Re * Re + ke * ke), Ne = Re === 0 && ke === 0 ? 0 : -Re / Math.sqrt(Re * Re + ke * ke);
19942
+ Re += +this.p.v[0], ke += +this.p.v[1], this.v.setTripleAt(Re, ke, Re - Ge * Xe * ze * Be, ke - Ne * Xe * ze * Be, Re + Ge * Xe * ze * Be, ke + Ne * Xe * ze * Be, je, !0), Fe = !Fe, De += Ie * Be;
19909
19943
  }
19910
19944
  },
19911
19945
  convertPolygonToPath: function() {
19912
- var Pe = Math.floor(this.pt.v), Ie = Math.PI * 2 / Pe, Fe = this.or.v, ke = this.os.v, $e = 2 * Math.PI * Fe / (Pe * 4), Le, Ge = -Math.PI * 0.5, He = this.data.d === 3 ? -1 : 1;
19913
- for (Ge += this.r.v, this.v._length = 0, Le = 0; Le < Pe; Le += 1) {
19914
- var We = Fe * Math.cos(Ge), je = Fe * Math.sin(Ge), Ve = We === 0 && je === 0 ? 0 : je / Math.sqrt(We * We + je * je), ze = We === 0 && je === 0 ? 0 : -We / Math.sqrt(We * We + je * je);
19915
- We += +this.p.v[0], je += +this.p.v[1], this.v.setTripleAt(We, je, We - Ve * $e * ke * He, je - ze * $e * ke * He, We + Ve * $e * ke * He, je + ze * $e * ke * He, Le, !0), Ge += Ie * He;
19946
+ var Pe = Math.floor(this.pt.v), Ie = Math.PI * 2 / Pe, Fe = this.or.v, Oe = this.os.v, $e = 2 * Math.PI * Fe / (Pe * 4), Le, Ue = -Math.PI * 0.5, He = this.data.d === 3 ? -1 : 1;
19947
+ for (Ue += this.r.v, this.v._length = 0, Le = 0; Le < Pe; Le += 1) {
19948
+ var We = Fe * Math.cos(Ue), je = Fe * Math.sin(Ue), Ve = We === 0 && je === 0 ? 0 : je / Math.sqrt(We * We + je * je), ze = We === 0 && je === 0 ? 0 : -We / Math.sqrt(We * We + je * je);
19949
+ We += +this.p.v[0], je += +this.p.v[1], this.v.setTripleAt(We, je, We - Ve * $e * Oe * He, je - ze * $e * Oe * He, We + Ve * $e * Oe * He, je + ze * $e * Oe * He, Le, !0), Ue += Ie * He;
19916
19950
  }
19917
19951
  this.paths.length = 0, this.paths[0] = this.v;
19918
19952
  }
@@ -19923,8 +19957,8 @@ var lottie$1 = { exports: {} };
19923
19957
  }
19924
19958
  return Ee.prototype = {
19925
19959
  convertRectToPath: function() {
19926
- var Pe = this.p.v[0], Ie = this.p.v[1], Fe = this.s.v[0] / 2, ke = this.s.v[1] / 2, $e = bmMin(Fe, ke, this.r.v), Le = $e * (1 - roundCorner);
19927
- this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + Le, 0, !0), this.v.setTripleAt(Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - Le, Pe + Fe, Ie + ke - $e, 1, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie + ke, Pe + Fe - $e, Ie + ke, Pe + Fe - Le, Ie + ke, 2, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + ke, Pe - Fe + Le, Ie + ke, Pe - Fe + $e, Ie + ke, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - Le, 4, !0), this.v.setTripleAt(Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + Le, Pe - Fe, Ie - ke + $e, 5, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - ke, Pe - Fe + $e, Ie - ke, Pe - Fe + Le, Ie - ke, 6, !0), this.v.setTripleAt(Pe + Fe - $e, Ie - ke, Pe + Fe - Le, Ie - ke, Pe + Fe - $e, Ie - ke, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie + ke, Pe - Fe + Le, Ie + ke, Pe - Fe, Ie + ke, 2), this.v.setTripleAt(Pe - Fe, Ie - ke, Pe - Fe, Ie - ke + Le, Pe - Fe, Ie - ke, 3))) : (this.v.setTripleAt(Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + Le, Pe + Fe, Ie - ke + $e, 0, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie - ke, Pe + Fe - $e, Ie - ke, Pe + Fe - Le, Ie - ke, 1, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - ke, Pe - Fe + Le, Ie - ke, Pe - Fe + $e, Ie - ke, 2, !0), this.v.setTripleAt(Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + Le, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - Le, Pe - Fe, Ie + ke - $e, 4, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + ke, Pe - Fe + $e, Ie + ke, Pe - Fe + Le, Ie + ke, 5, !0), this.v.setTripleAt(Pe + Fe - $e, Ie + ke, Pe + Fe - Le, Ie + ke, Pe + Fe - $e, Ie + ke, 6, !0), this.v.setTripleAt(Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - Le, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie - ke, Pe - Fe + Le, Ie - ke, Pe - Fe, Ie - ke, 1, !0), this.v.setTripleAt(Pe - Fe, Ie + ke, Pe - Fe, Ie + ke - Le, Pe - Fe, Ie + ke, 2, !0), this.v.setTripleAt(Pe + Fe, Ie + ke, Pe + Fe - Le, Ie + ke, Pe + Fe, Ie + ke, 3, !0)));
19960
+ var Pe = this.p.v[0], Ie = this.p.v[1], Fe = this.s.v[0] / 2, Oe = this.s.v[1] / 2, $e = bmMin(Fe, Oe, this.r.v), Le = $e * (1 - roundCorner);
19961
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + Le, 0, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - Le, Pe + Fe, Ie + Oe - $e, 1, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie + Oe, Pe + Fe - $e, Ie + Oe, Pe + Fe - Le, Ie + Oe, 2, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + Oe, Pe - Fe + Le, Ie + Oe, Pe - Fe + $e, Ie + Oe, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - Le, 4, !0), this.v.setTripleAt(Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + Le, Pe - Fe, Ie - Oe + $e, 5, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - Oe, Pe - Fe + $e, Ie - Oe, Pe - Fe + Le, Ie - Oe, 6, !0), this.v.setTripleAt(Pe + Fe - $e, Ie - Oe, Pe + Fe - Le, Ie - Oe, Pe + Fe - $e, Ie - Oe, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie + Oe, Pe - Fe + Le, Ie + Oe, Pe - Fe, Ie + Oe, 2), this.v.setTripleAt(Pe - Fe, Ie - Oe, Pe - Fe, Ie - Oe + Le, Pe - Fe, Ie - Oe, 3))) : (this.v.setTripleAt(Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + Le, Pe + Fe, Ie - Oe + $e, 0, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie - Oe, Pe + Fe - $e, Ie - Oe, Pe + Fe - Le, Ie - Oe, 1, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - Oe, Pe - Fe + Le, Ie - Oe, Pe - Fe + $e, Ie - Oe, 2, !0), this.v.setTripleAt(Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + Le, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - Le, Pe - Fe, Ie + Oe - $e, 4, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + Oe, Pe - Fe + $e, Ie + Oe, Pe - Fe + Le, Ie + Oe, 5, !0), this.v.setTripleAt(Pe + Fe - $e, Ie + Oe, Pe + Fe - Le, Ie + Oe, Pe + Fe - $e, Ie + Oe, 6, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - Le, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie - Oe, Pe - Fe + Le, Ie - Oe, Pe - Fe, Ie - Oe, 1, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe, Pe - Fe, Ie + Oe - Le, Pe - Fe, Ie + Oe, 2, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe, Pe + Fe - Le, Ie + Oe, Pe + Fe, Ie + Oe, 3, !0)));
19928
19962
  },
19929
19963
  getValue: function() {
19930
19964
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
@@ -19935,8 +19969,8 @@ var lottie$1 = { exports: {} };
19935
19969
  function Se(Ee, we, Pe) {
19936
19970
  var Ie;
19937
19971
  if (Pe === 3 || Pe === 4) {
19938
- var Fe = Pe === 3 ? we.pt : we.ks, ke = Fe.k;
19939
- ke.length ? Ie = new _e(Ee, we, Pe) : Ie = new Y(Ee, we, Pe);
19972
+ var Fe = Pe === 3 ? we.pt : we.ks, Oe = Fe.k;
19973
+ Oe.length ? Ie = new _e(Ee, we, Pe) : Ie = new Y(Ee, we, Pe);
19940
19974
  } else
19941
19975
  Pe === 5 ? Ie = new J(Ee, we) : Pe === 6 ? Ie = new xe(Ee, we) : Pe === 7 && (Ie = new Z(Ee, we));
19942
19976
  return Ie.k && Ee.addDynamicProperty(Ie), Ie;
@@ -19966,144 +20000,144 @@ var lottie$1 = { exports: {} };
19966
20000
  function V(Re) {
19967
20001
  if (Re === 0)
19968
20002
  return this;
19969
- var Oe = C(Re), Ue = E(Re);
19970
- return this._t(Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20003
+ var ke = C(Re), Ge = E(Re);
20004
+ return this._t(ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19971
20005
  }
19972
20006
  function X(Re) {
19973
20007
  if (Re === 0)
19974
20008
  return this;
19975
- var Oe = C(Re), Ue = E(Re);
19976
- return this._t(1, 0, 0, 0, 0, Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1);
20009
+ var ke = C(Re), Ge = E(Re);
20010
+ return this._t(1, 0, 0, 0, 0, ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1);
19977
20011
  }
19978
20012
  function Y(Re) {
19979
20013
  if (Re === 0)
19980
20014
  return this;
19981
- var Oe = C(Re), Ue = E(Re);
19982
- return this._t(Oe, 0, Ue, 0, 0, 1, 0, 0, -Ue, 0, Oe, 0, 0, 0, 0, 1);
20015
+ var ke = C(Re), Ge = E(Re);
20016
+ return this._t(ke, 0, Ge, 0, 0, 1, 0, 0, -Ge, 0, ke, 0, 0, 0, 0, 1);
19983
20017
  }
19984
20018
  function K(Re) {
19985
20019
  if (Re === 0)
19986
20020
  return this;
19987
- var Oe = C(Re), Ue = E(Re);
19988
- return this._t(Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20021
+ var ke = C(Re), Ge = E(Re);
20022
+ return this._t(ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19989
20023
  }
19990
- function _e(Re, Oe) {
19991
- return this._t(1, Oe, Re, 1, 0, 0);
20024
+ function _e(Re, ke) {
20025
+ return this._t(1, ke, Re, 1, 0, 0);
19992
20026
  }
19993
- function xe(Re, Oe) {
19994
- return this.shear(I(Re), I(Oe));
20027
+ function xe(Re, ke) {
20028
+ return this.shear(I(Re), I(ke));
19995
20029
  }
19996
- function Z(Re, Oe) {
19997
- var Ue = C(Oe), Ne = E(Oe);
19998
- return this._t(Ue, Ne, 0, 0, -Ne, Ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, I(Re), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Ue, -Ne, 0, 0, Ne, Ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20030
+ function Z(Re, ke) {
20031
+ var Ge = C(ke), Ne = E(ke);
20032
+ return this._t(Ge, Ne, 0, 0, -Ne, Ge, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, I(Re), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Ge, -Ne, 0, 0, Ne, Ge, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19999
20033
  }
20000
- function J(Re, Oe, Ue) {
20001
- return !Ue && Ue !== 0 && (Ue = 1), Re === 1 && Oe === 1 && Ue === 1 ? this : this._t(Re, 0, 0, 0, 0, Oe, 0, 0, 0, 0, Ue, 0, 0, 0, 0, 1);
20034
+ function J(Re, ke, Ge) {
20035
+ return !Ge && Ge !== 0 && (Ge = 1), Re === 1 && ke === 1 && Ge === 1 ? this : this._t(Re, 0, 0, 0, 0, ke, 0, 0, 0, 0, Ge, 0, 0, 0, 0, 1);
20002
20036
  }
20003
- function Se(Re, Oe, Ue, Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt, it) {
20004
- return this.props[0] = Re, this.props[1] = Oe, this.props[2] = Ue, this.props[3] = Ne, this.props[4] = Ye, this.props[5] = qe, this.props[6] = Ke, this.props[7] = et, this.props[8] = Je, this.props[9] = nt, this.props[10] = at, this.props[11] = ot, this.props[12] = Qe, this.props[13] = tt, this.props[14] = rt, this.props[15] = it, this;
20037
+ function Se(Re, ke, Ge, Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt, tt) {
20038
+ return this.props[0] = Re, this.props[1] = ke, this.props[2] = Ge, this.props[3] = Ne, this.props[4] = qe, this.props[5] = Ye, this.props[6] = Ke, this.props[7] = rt, this.props[8] = it, this.props[9] = Qe, this.props[10] = st, this.props[11] = at, this.props[12] = Ze, this.props[13] = et, this.props[14] = nt, this.props[15] = tt, this;
20005
20039
  }
20006
- function Te(Re, Oe, Ue) {
20007
- return Ue = Ue || 0, Re !== 0 || Oe !== 0 || Ue !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, Re, Oe, Ue, 1) : this;
20040
+ function Te(Re, ke, Ge) {
20041
+ return Ge = Ge || 0, Re !== 0 || ke !== 0 || Ge !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, Re, ke, Ge, 1) : this;
20008
20042
  }
20009
- function Ae(Re, Oe, Ue, Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt, it) {
20010
- var Ze = this.props;
20011
- if (Re === 1 && Oe === 0 && Ue === 0 && Ne === 0 && Ye === 0 && qe === 1 && Ke === 0 && et === 0 && Je === 0 && nt === 0 && at === 1 && ot === 0)
20012
- return Ze[12] = Ze[12] * Re + Ze[15] * Qe, Ze[13] = Ze[13] * qe + Ze[15] * tt, Ze[14] = Ze[14] * at + Ze[15] * rt, Ze[15] *= it, this._identityCalculated = !1, this;
20013
- var st = Ze[0], lt = Ze[1], ut = Ze[2], ct = Ze[3], ht = Ze[4], ft = Ze[5], dt = Ze[6], gt = Ze[7], vt = Ze[8], pt = Ze[9], yt = Ze[10], mt = Ze[11], _t = Ze[12], xt = Ze[13], bt = Ze[14], St = Ze[15];
20014
- return Ze[0] = st * Re + lt * Ye + ut * Je + ct * Qe, Ze[1] = st * Oe + lt * qe + ut * nt + ct * tt, Ze[2] = st * Ue + lt * Ke + ut * at + ct * rt, Ze[3] = st * Ne + lt * et + ut * ot + ct * it, Ze[4] = ht * Re + ft * Ye + dt * Je + gt * Qe, Ze[5] = ht * Oe + ft * qe + dt * nt + gt * tt, Ze[6] = ht * Ue + ft * Ke + dt * at + gt * rt, Ze[7] = ht * Ne + ft * et + dt * ot + gt * it, Ze[8] = vt * Re + pt * Ye + yt * Je + mt * Qe, Ze[9] = vt * Oe + pt * qe + yt * nt + mt * tt, Ze[10] = vt * Ue + pt * Ke + yt * at + mt * rt, Ze[11] = vt * Ne + pt * et + yt * ot + mt * it, Ze[12] = _t * Re + xt * Ye + bt * Je + St * Qe, Ze[13] = _t * Oe + xt * qe + bt * nt + St * tt, Ze[14] = _t * Ue + xt * Ke + bt * at + St * rt, Ze[15] = _t * Ne + xt * et + bt * ot + St * it, this._identityCalculated = !1, this;
20043
+ function Ae(Re, ke, Ge, Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt, tt) {
20044
+ var Je = this.props;
20045
+ if (Re === 1 && ke === 0 && Ge === 0 && Ne === 0 && qe === 0 && Ye === 1 && Ke === 0 && rt === 0 && it === 0 && Qe === 0 && st === 1 && at === 0)
20046
+ return Je[12] = Je[12] * Re + Je[15] * Ze, Je[13] = Je[13] * Ye + Je[15] * et, Je[14] = Je[14] * st + Je[15] * nt, Je[15] *= tt, this._identityCalculated = !1, this;
20047
+ var ot = Je[0], lt = Je[1], ht = Je[2], ct = Je[3], ft = Je[4], ut = Je[5], dt = Je[6], gt = Je[7], vt = Je[8], pt = Je[9], yt = Je[10], mt = Je[11], _t = Je[12], xt = Je[13], bt = Je[14], St = Je[15];
20048
+ return Je[0] = ot * Re + lt * qe + ht * it + ct * Ze, Je[1] = ot * ke + lt * Ye + ht * Qe + ct * et, Je[2] = ot * Ge + lt * Ke + ht * st + ct * nt, Je[3] = ot * Ne + lt * rt + ht * at + ct * tt, Je[4] = ft * Re + ut * qe + dt * it + gt * Ze, Je[5] = ft * ke + ut * Ye + dt * Qe + gt * et, Je[6] = ft * Ge + ut * Ke + dt * st + gt * nt, Je[7] = ft * Ne + ut * rt + dt * at + gt * tt, Je[8] = vt * Re + pt * qe + yt * it + mt * Ze, Je[9] = vt * ke + pt * Ye + yt * Qe + mt * et, Je[10] = vt * Ge + pt * Ke + yt * st + mt * nt, Je[11] = vt * Ne + pt * rt + yt * at + mt * tt, Je[12] = _t * Re + xt * qe + bt * it + St * Ze, Je[13] = _t * ke + xt * Ye + bt * Qe + St * et, Je[14] = _t * Ge + xt * Ke + bt * st + St * nt, Je[15] = _t * Ne + xt * rt + bt * at + St * tt, this._identityCalculated = !1, this;
20015
20049
  }
20016
20050
  function Me(Re) {
20017
- var Oe = Re.props;
20018
- return this.transform(Oe[0], Oe[1], Oe[2], Oe[3], Oe[4], Oe[5], Oe[6], Oe[7], Oe[8], Oe[9], Oe[10], Oe[11], Oe[12], Oe[13], Oe[14], Oe[15]);
20051
+ var ke = Re.props;
20052
+ return this.transform(ke[0], ke[1], ke[2], ke[3], ke[4], ke[5], ke[6], ke[7], ke[8], ke[9], ke[10], ke[11], ke[12], ke[13], ke[14], ke[15]);
20019
20053
  }
20020
20054
  function Ee() {
20021
20055
  return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = !0), this._identity;
20022
20056
  }
20023
20057
  function we(Re) {
20024
- for (var Oe = 0; Oe < 16; ) {
20025
- if (Re.props[Oe] !== this.props[Oe])
20058
+ for (var ke = 0; ke < 16; ) {
20059
+ if (Re.props[ke] !== this.props[ke])
20026
20060
  return !1;
20027
- Oe += 1;
20061
+ ke += 1;
20028
20062
  }
20029
20063
  return !0;
20030
20064
  }
20031
20065
  function Pe(Re) {
20032
- var Oe;
20033
- for (Oe = 0; Oe < 16; Oe += 1)
20034
- Re.props[Oe] = this.props[Oe];
20066
+ var ke;
20067
+ for (ke = 0; ke < 16; ke += 1)
20068
+ Re.props[ke] = this.props[ke];
20035
20069
  return Re;
20036
20070
  }
20037
20071
  function Ie(Re) {
20038
- var Oe;
20039
- for (Oe = 0; Oe < 16; Oe += 1)
20040
- this.props[Oe] = Re[Oe];
20072
+ var ke;
20073
+ for (ke = 0; ke < 16; ke += 1)
20074
+ this.props[ke] = Re[ke];
20041
20075
  }
20042
- function Fe(Re, Oe, Ue) {
20076
+ function Fe(Re, ke, Ge) {
20043
20077
  return {
20044
- x: Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12],
20045
- y: Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13],
20046
- z: Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14]
20078
+ x: Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12],
20079
+ y: Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13],
20080
+ z: Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14]
20047
20081
  };
20048
20082
  }
20049
- function ke(Re, Oe, Ue) {
20050
- return Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12];
20083
+ function Oe(Re, ke, Ge) {
20084
+ return Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12];
20051
20085
  }
20052
- function $e(Re, Oe, Ue) {
20053
- return Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13];
20086
+ function $e(Re, ke, Ge) {
20087
+ return Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13];
20054
20088
  }
20055
- function Le(Re, Oe, Ue) {
20056
- return Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14];
20089
+ function Le(Re, ke, Ge) {
20090
+ return Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14];
20057
20091
  }
20058
- function Ge() {
20059
- var Re = this.props[0] * this.props[5] - this.props[1] * this.props[4], Oe = this.props[5] / Re, Ue = -this.props[1] / Re, Ne = -this.props[4] / Re, Ye = this.props[0] / Re, qe = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / Re, Ke = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / Re, et = new Matrix();
20060
- return et.props[0] = Oe, et.props[1] = Ue, et.props[4] = Ne, et.props[5] = Ye, et.props[12] = qe, et.props[13] = Ke, et;
20092
+ function Ue() {
20093
+ var Re = this.props[0] * this.props[5] - this.props[1] * this.props[4], ke = this.props[5] / Re, Ge = -this.props[1] / Re, Ne = -this.props[4] / Re, qe = this.props[0] / Re, Ye = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / Re, Ke = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / Re, rt = new Matrix();
20094
+ return rt.props[0] = ke, rt.props[1] = Ge, rt.props[4] = Ne, rt.props[5] = qe, rt.props[12] = Ye, rt.props[13] = Ke, rt;
20061
20095
  }
20062
20096
  function He(Re) {
20063
- var Oe = this.getInverseMatrix();
20064
- return Oe.applyToPointArray(Re[0], Re[1], Re[2] || 0);
20097
+ var ke = this.getInverseMatrix();
20098
+ return ke.applyToPointArray(Re[0], Re[1], Re[2] || 0);
20065
20099
  }
20066
20100
  function We(Re) {
20067
- var Oe, Ue = Re.length, Ne = [];
20068
- for (Oe = 0; Oe < Ue; Oe += 1)
20069
- Ne[Oe] = He(Re[Oe]);
20101
+ var ke, Ge = Re.length, Ne = [];
20102
+ for (ke = 0; ke < Ge; ke += 1)
20103
+ Ne[ke] = He(Re[ke]);
20070
20104
  return Ne;
20071
20105
  }
20072
- function je(Re, Oe, Ue) {
20106
+ function je(Re, ke, Ge) {
20073
20107
  var Ne = createTypedArray("float32", 6);
20074
20108
  if (this.isIdentity())
20075
- Ne[0] = Re[0], Ne[1] = Re[1], Ne[2] = Oe[0], Ne[3] = Oe[1], Ne[4] = Ue[0], Ne[5] = Ue[1];
20109
+ Ne[0] = Re[0], Ne[1] = Re[1], Ne[2] = ke[0], Ne[3] = ke[1], Ne[4] = Ge[0], Ne[5] = Ge[1];
20076
20110
  else {
20077
- var Ye = this.props[0], qe = this.props[1], Ke = this.props[4], et = this.props[5], Je = this.props[12], nt = this.props[13];
20078
- Ne[0] = Re[0] * Ye + Re[1] * Ke + Je, Ne[1] = Re[0] * qe + Re[1] * et + nt, Ne[2] = Oe[0] * Ye + Oe[1] * Ke + Je, Ne[3] = Oe[0] * qe + Oe[1] * et + nt, Ne[4] = Ue[0] * Ye + Ue[1] * Ke + Je, Ne[5] = Ue[0] * qe + Ue[1] * et + nt;
20111
+ var qe = this.props[0], Ye = this.props[1], Ke = this.props[4], rt = this.props[5], it = this.props[12], Qe = this.props[13];
20112
+ Ne[0] = Re[0] * qe + Re[1] * Ke + it, Ne[1] = Re[0] * Ye + Re[1] * rt + Qe, Ne[2] = ke[0] * qe + ke[1] * Ke + it, Ne[3] = ke[0] * Ye + ke[1] * rt + Qe, Ne[4] = Ge[0] * qe + Ge[1] * Ke + it, Ne[5] = Ge[0] * Ye + Ge[1] * rt + Qe;
20079
20113
  }
20080
20114
  return Ne;
20081
20115
  }
20082
- function Ve(Re, Oe, Ue) {
20116
+ function Ve(Re, ke, Ge) {
20083
20117
  var Ne;
20084
- return this.isIdentity() ? Ne = [Re, Oe, Ue] : Ne = [Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12], Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13], Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14]], Ne;
20118
+ return this.isIdentity() ? Ne = [Re, ke, Ge] : Ne = [Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12], Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13], Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14]], Ne;
20085
20119
  }
20086
- function ze(Re, Oe) {
20120
+ function ze(Re, ke) {
20087
20121
  if (this.isIdentity())
20088
- return Re + "," + Oe;
20089
- var Ue = this.props;
20090
- return Math.round((Re * Ue[0] + Oe * Ue[4] + Ue[12]) * 100) / 100 + "," + Math.round((Re * Ue[1] + Oe * Ue[5] + Ue[13]) * 100) / 100;
20122
+ return Re + "," + ke;
20123
+ var Ge = this.props;
20124
+ return Math.round((Re * Ge[0] + ke * Ge[4] + Ge[12]) * 100) / 100 + "," + Math.round((Re * Ge[1] + ke * Ge[5] + Ge[13]) * 100) / 100;
20091
20125
  }
20092
20126
  function Xe() {
20093
- for (var Re = 0, Oe = this.props, Ue = "matrix3d(", Ne = 1e4; Re < 16; )
20094
- Ue += B(Oe[Re] * Ne) / Ne, Ue += Re === 15 ? ")" : ",", Re += 1;
20095
- return Ue;
20127
+ for (var Re = 0, ke = this.props, Ge = "matrix3d(", Ne = 1e4; Re < 16; )
20128
+ Ge += B(ke[Re] * Ne) / Ne, Ge += Re === 15 ? ")" : ",", Re += 1;
20129
+ return Ge;
20096
20130
  }
20097
20131
  function De(Re) {
20098
- var Oe = 1e4;
20099
- return Re < 1e-6 && Re > 0 || Re > -1e-6 && Re < 0 ? B(Re * Oe) / Oe : Re;
20132
+ var ke = 1e4;
20133
+ return Re < 1e-6 && Re > 0 || Re > -1e-6 && Re < 0 ? B(Re * ke) / ke : Re;
20100
20134
  }
20101
20135
  function Be() {
20102
- var Re = this.props, Oe = De(Re[0]), Ue = De(Re[1]), Ne = De(Re[4]), Ye = De(Re[5]), qe = De(Re[12]), Ke = De(Re[13]);
20103
- return "matrix(" + Oe + "," + Ue + "," + Ne + "," + Ye + "," + qe + "," + Ke + ")";
20136
+ var Re = this.props, ke = De(Re[0]), Ge = De(Re[1]), Ne = De(Re[4]), qe = De(Re[5]), Ye = De(Re[12]), Ke = De(Re[13]);
20137
+ return "matrix(" + ke + "," + Ge + "," + Ne + "," + qe + "," + Ye + "," + Ke + ")";
20104
20138
  }
20105
20139
  return function() {
20106
- this.reset = U, this.rotate = V, this.rotateX = X, this.rotateY = Y, this.rotateZ = K, this.skew = xe, this.skewFromAxis = Z, this.shear = _e, this.scale = J, this.setTransform = Se, this.translate = Te, this.transform = Ae, this.multiply = Me, this.applyToPoint = Fe, this.applyToX = ke, this.applyToY = $e, this.applyToZ = Le, this.applyToPointArray = Ve, this.applyToTriplePoints = je, this.applyToPointStringified = ze, this.toCSS = Xe, this.to2dCSS = Be, this.clone = Pe, this.cloneFromProps = Ie, this.equals = we, this.inversePoints = We, this.inversePoint = He, this.getInverseMatrix = Ge, this._t = this.transform, this.isIdentity = Ee, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
20140
+ this.reset = U, this.rotate = V, this.rotateX = X, this.rotateY = Y, this.rotateZ = K, this.skew = xe, this.skewFromAxis = Z, this.shear = _e, this.scale = J, this.setTransform = Se, this.translate = Te, this.transform = Ae, this.multiply = Me, this.applyToPoint = Fe, this.applyToX = Oe, this.applyToY = $e, this.applyToZ = Le, this.applyToPointArray = Ve, this.applyToTriplePoints = je, this.applyToPointStringified = ze, this.toCSS = Xe, this.to2dCSS = Be, this.clone = Pe, this.cloneFromProps = Ie, this.equals = we, this.inversePoints = We, this.inversePoint = He, this.getInverseMatrix = Ue, this._t = this.transform, this.isIdentity = Ee, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
20107
20141
  };
20108
20142
  }();
20109
20143
  function _typeof$3(C) {
@@ -20306,8 +20340,8 @@ var lottie$1 = { exports: {} };
20306
20340
  var Fe = this.addShapes(Ae, Te[0]);
20307
20341
  if (Te[0].s !== Te[0].e) {
20308
20342
  if (Te.length > 1) {
20309
- var ke = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20310
- if (ke.c) {
20343
+ var Oe = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20344
+ if (Oe.c) {
20311
20345
  var $e = Fe.pop();
20312
20346
  this.addPaths(Fe, Me), Fe = this.addShapes(Ae, Te[1], $e);
20313
20347
  } else
@@ -20937,43 +20971,43 @@ var lottie$1 = { exports: {} };
20937
20971
  I = I.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
20938
20972
  var B = 127988, U = 917631, V = 917601, X = 917626, Y = 65039, K = 8205, _e = 127462, xe = 127487, Z = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
20939
20973
  function J(De) {
20940
- var Be = De.split(","), Re, Oe = Be.length, Ue = [];
20941
- for (Re = 0; Re < Oe; Re += 1)
20942
- Be[Re] !== "sans-serif" && Be[Re] !== "monospace" && Ue.push(Be[Re]);
20943
- return Ue.join(",");
20974
+ var Be = De.split(","), Re, ke = Be.length, Ge = [];
20975
+ for (Re = 0; Re < ke; Re += 1)
20976
+ Be[Re] !== "sans-serif" && Be[Re] !== "monospace" && Ge.push(Be[Re]);
20977
+ return Ge.join(",");
20944
20978
  }
20945
20979
  function Se(De, Be) {
20946
20980
  var Re = createTag("span");
20947
20981
  Re.setAttribute("aria-hidden", !0), Re.style.fontFamily = Be;
20948
- var Oe = createTag("span");
20949
- Oe.innerText = "giItT1WQy@!-/#", Re.style.position = "absolute", Re.style.left = "-10000px", Re.style.top = "-10000px", Re.style.fontSize = "300px", Re.style.fontVariant = "normal", Re.style.fontStyle = "normal", Re.style.fontWeight = "normal", Re.style.letterSpacing = "0", Re.appendChild(Oe), document.body.appendChild(Re);
20950
- var Ue = Oe.offsetWidth;
20951
- return Oe.style.fontFamily = J(De) + ", " + Be, {
20952
- node: Oe,
20953
- w: Ue,
20982
+ var ke = createTag("span");
20983
+ ke.innerText = "giItT1WQy@!-/#", Re.style.position = "absolute", Re.style.left = "-10000px", Re.style.top = "-10000px", Re.style.fontSize = "300px", Re.style.fontVariant = "normal", Re.style.fontStyle = "normal", Re.style.fontWeight = "normal", Re.style.letterSpacing = "0", Re.appendChild(ke), document.body.appendChild(Re);
20984
+ var Ge = ke.offsetWidth;
20985
+ return ke.style.fontFamily = J(De) + ", " + Be, {
20986
+ node: ke,
20987
+ w: Ge,
20954
20988
  parent: Re
20955
20989
  };
20956
20990
  }
20957
20991
  function Te() {
20958
- var De, Be = this.fonts.length, Re, Oe, Ue = Be;
20992
+ var De, Be = this.fonts.length, Re, ke, Ge = Be;
20959
20993
  for (De = 0; De < Be; De += 1)
20960
- this.fonts[De].loaded ? Ue -= 1 : this.fonts[De].fOrigin === "n" || this.fonts[De].origin === 0 ? this.fonts[De].loaded = !0 : (Re = this.fonts[De].monoCase.node, Oe = this.fonts[De].monoCase.w, Re.offsetWidth !== Oe ? (Ue -= 1, this.fonts[De].loaded = !0) : (Re = this.fonts[De].sansCase.node, Oe = this.fonts[De].sansCase.w, Re.offsetWidth !== Oe && (Ue -= 1, this.fonts[De].loaded = !0)), this.fonts[De].loaded && (this.fonts[De].sansCase.parent.parentNode.removeChild(this.fonts[De].sansCase.parent), this.fonts[De].monoCase.parent.parentNode.removeChild(this.fonts[De].monoCase.parent)));
20961
- Ue !== 0 && Date.now() - this.initTime < C ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
20994
+ this.fonts[De].loaded ? Ge -= 1 : this.fonts[De].fOrigin === "n" || this.fonts[De].origin === 0 ? this.fonts[De].loaded = !0 : (Re = this.fonts[De].monoCase.node, ke = this.fonts[De].monoCase.w, Re.offsetWidth !== ke ? (Ge -= 1, this.fonts[De].loaded = !0) : (Re = this.fonts[De].sansCase.node, ke = this.fonts[De].sansCase.w, Re.offsetWidth !== ke && (Ge -= 1, this.fonts[De].loaded = !0)), this.fonts[De].loaded && (this.fonts[De].sansCase.parent.parentNode.removeChild(this.fonts[De].sansCase.parent), this.fonts[De].monoCase.parent.parentNode.removeChild(this.fonts[De].monoCase.parent)));
20995
+ Ge !== 0 && Date.now() - this.initTime < C ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
20962
20996
  }
20963
20997
  function Ae(De, Be) {
20964
- var Re = document.body && Be ? "svg" : "canvas", Oe, Ue = getFontProperties(De);
20998
+ var Re = document.body && Be ? "svg" : "canvas", ke, Ge = getFontProperties(De);
20965
20999
  if (Re === "svg") {
20966
21000
  var Ne = createNS("text");
20967
- Ne.style.fontSize = "100px", Ne.setAttribute("font-family", De.fFamily), Ne.setAttribute("font-style", Ue.style), Ne.setAttribute("font-weight", Ue.weight), Ne.textContent = "1", De.fClass ? (Ne.style.fontFamily = "inherit", Ne.setAttribute("class", De.fClass)) : Ne.style.fontFamily = De.fFamily, Be.appendChild(Ne), Oe = Ne;
21001
+ Ne.style.fontSize = "100px", Ne.setAttribute("font-family", De.fFamily), Ne.setAttribute("font-style", Ge.style), Ne.setAttribute("font-weight", Ge.weight), Ne.textContent = "1", De.fClass ? (Ne.style.fontFamily = "inherit", Ne.setAttribute("class", De.fClass)) : Ne.style.fontFamily = De.fFamily, Be.appendChild(Ne), ke = Ne;
20968
21002
  } else {
20969
- var Ye = new OffscreenCanvas(500, 500).getContext("2d");
20970
- Ye.font = Ue.style + " " + Ue.weight + " 100px " + De.fFamily, Oe = Ye;
21003
+ var qe = new OffscreenCanvas(500, 500).getContext("2d");
21004
+ qe.font = Ge.style + " " + Ge.weight + " 100px " + De.fFamily, ke = qe;
20971
21005
  }
20972
- function qe(Ke) {
20973
- return Re === "svg" ? (Oe.textContent = Ke, Oe.getComputedTextLength()) : Oe.measureText(Ke).width;
21006
+ function Ye(Ke) {
21007
+ return Re === "svg" ? (ke.textContent = Ke, ke.getComputedTextLength()) : ke.measureText(Ke).width;
20974
21008
  }
20975
21009
  return {
20976
- measureText: qe
21010
+ measureText: Ye
20977
21011
  };
20978
21012
  }
20979
21013
  function Me(De, Be) {
@@ -20986,70 +21020,70 @@ var lottie$1 = { exports: {} };
20986
21020
  return;
20987
21021
  }
20988
21022
  if (!document.body) {
20989
- this.isLoaded = !0, De.list.forEach(function(at) {
20990
- at.helper = Ae(at), at.cache = {};
21023
+ this.isLoaded = !0, De.list.forEach(function(st) {
21024
+ st.helper = Ae(st), st.cache = {};
20991
21025
  }), this.fonts = De.list;
20992
21026
  return;
20993
21027
  }
20994
- var Re = De.list, Oe, Ue = Re.length, Ne = Ue;
20995
- for (Oe = 0; Oe < Ue; Oe += 1) {
20996
- var Ye = !0, qe, Ke;
20997
- if (Re[Oe].loaded = !1, Re[Oe].monoCase = Se(Re[Oe].fFamily, "monospace"), Re[Oe].sansCase = Se(Re[Oe].fFamily, "sans-serif"), !Re[Oe].fPath)
20998
- Re[Oe].loaded = !0, Ne -= 1;
20999
- else if (Re[Oe].fOrigin === "p" || Re[Oe].origin === 3) {
21000
- if (qe = document.querySelectorAll('style[f-forigin="p"][f-family="' + Re[Oe].fFamily + '"], style[f-origin="3"][f-family="' + Re[Oe].fFamily + '"]'), qe.length > 0 && (Ye = !1), Ye) {
21001
- var et = createTag("style");
21002
- et.setAttribute("f-forigin", Re[Oe].fOrigin), et.setAttribute("f-origin", Re[Oe].origin), et.setAttribute("f-family", Re[Oe].fFamily), et.type = "text/css", et.innerText = "@font-face {font-family: " + Re[Oe].fFamily + "; font-style: normal; src: url('" + Re[Oe].fPath + "');}", Be.appendChild(et);
21028
+ var Re = De.list, ke, Ge = Re.length, Ne = Ge;
21029
+ for (ke = 0; ke < Ge; ke += 1) {
21030
+ var qe = !0, Ye, Ke;
21031
+ if (Re[ke].loaded = !1, Re[ke].monoCase = Se(Re[ke].fFamily, "monospace"), Re[ke].sansCase = Se(Re[ke].fFamily, "sans-serif"), !Re[ke].fPath)
21032
+ Re[ke].loaded = !0, Ne -= 1;
21033
+ else if (Re[ke].fOrigin === "p" || Re[ke].origin === 3) {
21034
+ if (Ye = document.querySelectorAll('style[f-forigin="p"][f-family="' + Re[ke].fFamily + '"], style[f-origin="3"][f-family="' + Re[ke].fFamily + '"]'), Ye.length > 0 && (qe = !1), qe) {
21035
+ var rt = createTag("style");
21036
+ rt.setAttribute("f-forigin", Re[ke].fOrigin), rt.setAttribute("f-origin", Re[ke].origin), rt.setAttribute("f-family", Re[ke].fFamily), rt.type = "text/css", rt.innerText = "@font-face {font-family: " + Re[ke].fFamily + "; font-style: normal; src: url('" + Re[ke].fPath + "');}", Be.appendChild(rt);
21003
21037
  }
21004
- } else if (Re[Oe].fOrigin === "g" || Re[Oe].origin === 1) {
21005
- for (qe = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Ke = 0; Ke < qe.length; Ke += 1)
21006
- qe[Ke].href.indexOf(Re[Oe].fPath) !== -1 && (Ye = !1);
21007
- if (Ye) {
21008
- var Je = createTag("link");
21009
- Je.setAttribute("f-forigin", Re[Oe].fOrigin), Je.setAttribute("f-origin", Re[Oe].origin), Je.type = "text/css", Je.rel = "stylesheet", Je.href = Re[Oe].fPath, document.body.appendChild(Je);
21038
+ } else if (Re[ke].fOrigin === "g" || Re[ke].origin === 1) {
21039
+ for (Ye = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Ke = 0; Ke < Ye.length; Ke += 1)
21040
+ Ye[Ke].href.indexOf(Re[ke].fPath) !== -1 && (qe = !1);
21041
+ if (qe) {
21042
+ var it = createTag("link");
21043
+ it.setAttribute("f-forigin", Re[ke].fOrigin), it.setAttribute("f-origin", Re[ke].origin), it.type = "text/css", it.rel = "stylesheet", it.href = Re[ke].fPath, document.body.appendChild(it);
21010
21044
  }
21011
- } else if (Re[Oe].fOrigin === "t" || Re[Oe].origin === 2) {
21012
- for (qe = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < qe.length; Ke += 1)
21013
- Re[Oe].fPath === qe[Ke].src && (Ye = !1);
21014
- if (Ye) {
21015
- var nt = createTag("link");
21016
- nt.setAttribute("f-forigin", Re[Oe].fOrigin), nt.setAttribute("f-origin", Re[Oe].origin), nt.setAttribute("rel", "stylesheet"), nt.setAttribute("href", Re[Oe].fPath), Be.appendChild(nt);
21045
+ } else if (Re[ke].fOrigin === "t" || Re[ke].origin === 2) {
21046
+ for (Ye = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < Ye.length; Ke += 1)
21047
+ Re[ke].fPath === Ye[Ke].src && (qe = !1);
21048
+ if (qe) {
21049
+ var Qe = createTag("link");
21050
+ Qe.setAttribute("f-forigin", Re[ke].fOrigin), Qe.setAttribute("f-origin", Re[ke].origin), Qe.setAttribute("rel", "stylesheet"), Qe.setAttribute("href", Re[ke].fPath), Be.appendChild(Qe);
21017
21051
  }
21018
21052
  }
21019
- Re[Oe].helper = Ae(Re[Oe], Be), Re[Oe].cache = {}, this.fonts.push(Re[Oe]);
21053
+ Re[ke].helper = Ae(Re[ke], Be), Re[ke].cache = {}, this.fonts.push(Re[ke]);
21020
21054
  }
21021
21055
  Ne === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
21022
21056
  }
21023
21057
  function Ee(De) {
21024
21058
  if (De) {
21025
21059
  this.chars || (this.chars = []);
21026
- var Be, Re = De.length, Oe, Ue = this.chars.length, Ne;
21060
+ var Be, Re = De.length, ke, Ge = this.chars.length, Ne;
21027
21061
  for (Be = 0; Be < Re; Be += 1) {
21028
- for (Oe = 0, Ne = !1; Oe < Ue; )
21029
- this.chars[Oe].style === De[Be].style && this.chars[Oe].fFamily === De[Be].fFamily && this.chars[Oe].ch === De[Be].ch && (Ne = !0), Oe += 1;
21030
- Ne || (this.chars.push(De[Be]), Ue += 1);
21062
+ for (ke = 0, Ne = !1; ke < Ge; )
21063
+ this.chars[ke].style === De[Be].style && this.chars[ke].fFamily === De[Be].fFamily && this.chars[ke].ch === De[Be].ch && (Ne = !0), ke += 1;
21064
+ Ne || (this.chars.push(De[Be]), Ge += 1);
21031
21065
  }
21032
21066
  }
21033
21067
  }
21034
21068
  function we(De, Be, Re) {
21035
- for (var Oe = 0, Ue = this.chars.length; Oe < Ue; ) {
21036
- if (this.chars[Oe].ch === De && this.chars[Oe].style === Be && this.chars[Oe].fFamily === Re)
21037
- return this.chars[Oe];
21038
- Oe += 1;
21069
+ for (var ke = 0, Ge = this.chars.length; ke < Ge; ) {
21070
+ if (this.chars[ke].ch === De && this.chars[ke].style === Be && this.chars[ke].fFamily === Re)
21071
+ return this.chars[ke];
21072
+ ke += 1;
21039
21073
  }
21040
21074
  return (typeof De == "string" && De.charCodeAt(0) !== 13 || !De) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", De, Be, Re)), E;
21041
21075
  }
21042
21076
  function Pe(De, Be, Re) {
21043
- var Oe = this.getFontByName(Be), Ue = De;
21044
- if (!Oe.cache[Ue]) {
21045
- var Ne = Oe.helper;
21077
+ var ke = this.getFontByName(Be), Ge = De;
21078
+ if (!ke.cache[Ge]) {
21079
+ var Ne = ke.helper;
21046
21080
  if (De === " ") {
21047
- var Ye = Ne.measureText("|" + De + "|"), qe = Ne.measureText("||");
21048
- Oe.cache[Ue] = (Ye - qe) / 100;
21081
+ var qe = Ne.measureText("|" + De + "|"), Ye = Ne.measureText("||");
21082
+ ke.cache[Ge] = (qe - Ye) / 100;
21049
21083
  } else
21050
- Oe.cache[Ue] = Ne.measureText(De) / 100;
21084
+ ke.cache[Ge] = Ne.measureText(De) / 100;
21051
21085
  }
21052
- return Oe.cache[Ue] * Re;
21086
+ return ke.cache[Ge] * Re;
21053
21087
  }
21054
21088
  function Ie(De) {
21055
21089
  for (var Be = 0, Re = this.fonts.length; Be < Re; ) {
@@ -21062,12 +21096,12 @@ var lottie$1 = { exports: {} };
21062
21096
  function Fe(De) {
21063
21097
  var Be = 0, Re = De.charCodeAt(0);
21064
21098
  if (Re >= 55296 && Re <= 56319) {
21065
- var Oe = De.charCodeAt(1);
21066
- Oe >= 56320 && Oe <= 57343 && (Be = (Re - 55296) * 1024 + Oe - 56320 + 65536);
21099
+ var ke = De.charCodeAt(1);
21100
+ ke >= 56320 && ke <= 57343 && (Be = (Re - 55296) * 1024 + ke - 56320 + 65536);
21067
21101
  }
21068
21102
  return Be;
21069
21103
  }
21070
- function ke(De, Be) {
21104
+ function Oe(De, Be) {
21071
21105
  var Re = De.toString(16) + Be.toString(16);
21072
21106
  return Z.indexOf(Re) !== -1;
21073
21107
  }
@@ -21077,12 +21111,12 @@ var lottie$1 = { exports: {} };
21077
21111
  function Le(De) {
21078
21112
  return De === Y;
21079
21113
  }
21080
- function Ge(De) {
21114
+ function Ue(De) {
21081
21115
  var Be = Fe(De);
21082
21116
  return Be >= _e && Be <= xe;
21083
21117
  }
21084
21118
  function He(De) {
21085
- return Ge(De.substr(0, 2)) && Ge(De.substr(2, 2));
21119
+ return Ue(De.substr(0, 2)) && Ue(De.substr(2, 2));
21086
21120
  }
21087
21121
  function We(De) {
21088
21122
  return I.indexOf(De) !== -1;
@@ -21091,11 +21125,11 @@ var lottie$1 = { exports: {} };
21091
21125
  var Re = Fe(De.substr(Be, 2));
21092
21126
  if (Re !== B)
21093
21127
  return !1;
21094
- var Oe = 0;
21095
- for (Be += 2; Oe < 5; ) {
21128
+ var ke = 0;
21129
+ for (Be += 2; ke < 5; ) {
21096
21130
  if (Re = Fe(De.substr(Be, 2)), Re < V || Re > X)
21097
21131
  return !1;
21098
- Oe += 1, Be += 2;
21132
+ ke += 1, Be += 2;
21099
21133
  }
21100
21134
  return Fe(De.substr(Be, 2)) === U;
21101
21135
  }
@@ -21105,7 +21139,7 @@ var lottie$1 = { exports: {} };
21105
21139
  var ze = function() {
21106
21140
  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);
21107
21141
  };
21108
- ze.isModifier = ke, ze.isZeroWidthJoiner = $e, ze.isFlagEmoji = He, ze.isRegionalCode = Ge, ze.isCombinedCharacter = We, ze.isRegionalFlag = je, ze.isVariationSelector = Le, ze.BLACK_FLAG_CODE_POINT = B;
21142
+ ze.isModifier = Oe, ze.isZeroWidthJoiner = $e, ze.isFlagEmoji = He, ze.isRegionalCode = Ue, ze.isCombinedCharacter = We, ze.isRegionalFlag = je, ze.isVariationSelector = Le, ze.BLACK_FLAG_CODE_POINT = B;
21109
21143
  var Xe = {
21110
21144
  addChars: Ee,
21111
21145
  addFonts: Me,
@@ -22065,19 +22099,19 @@ var lottie$1 = { exports: {} };
22065
22099
  function V() {
22066
22100
  }
22067
22101
  function X(Z, J, Se) {
22068
- var Te, Ae, Me, Ee, we, Pe, Ie = J.styles.length, Fe = J.lvl, ke, $e, Le, Ge;
22102
+ var Te, Ae, Me, Ee, we, Pe, Ie = J.styles.length, Fe = J.lvl, Oe, $e, Le, Ue;
22069
22103
  for (Pe = 0; Pe < Ie; Pe += 1) {
22070
22104
  if (Ee = J.sh._mdf || Se, J.styles[Pe].lvl < Fe) {
22071
- for ($e = E.reset(), Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; !Ee && Le > 0; )
22072
- Ee = J.transformers[Ge].mProps._mdf || Ee, Le -= 1, Ge -= 1;
22105
+ for ($e = E.reset(), Le = Fe - J.styles[Pe].lvl, Ue = J.transformers.length - 1; !Ee && Le > 0; )
22106
+ Ee = J.transformers[Ue].mProps._mdf || Ee, Le -= 1, Ue -= 1;
22073
22107
  if (Ee)
22074
- for (Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; Le > 0; )
22075
- $e.multiply(J.transformers[Ge].mProps.v), Le -= 1, Ge -= 1;
22108
+ for (Le = Fe - J.styles[Pe].lvl, Ue = J.transformers.length - 1; Le > 0; )
22109
+ $e.multiply(J.transformers[Ue].mProps.v), Le -= 1, Ue -= 1;
22076
22110
  } else
22077
22111
  $e = C;
22078
- if (ke = J.sh.paths, Ae = ke._length, Ee) {
22112
+ if (Oe = J.sh.paths, Ae = Oe._length, Ee) {
22079
22113
  for (Me = "", Te = 0; Te < Ae; Te += 1)
22080
- we = ke.shapes[Te], we && we._length && (Me += buildShapeString(we, we._length, we.c, $e));
22114
+ we = Oe.shapes[Te], we && we._length && (Me += buildShapeString(we, we._length, we.c, $e));
22081
22115
  J.caches[Pe] = Me;
22082
22116
  } else
22083
22117
  Me = J.caches[Pe];
@@ -22101,17 +22135,17 @@ var lottie$1 = { exports: {} };
22101
22135
  var Pe = Z.t === 1 ? "x1" : "cx", Ie = Pe === "x1" ? "y1" : "cy";
22102
22136
  Te.setAttribute(Pe, Me[0]), Te.setAttribute(Ie, Me[1]), Ae && !J.g._collapsable && (J.of.setAttribute(Pe, Me[0]), J.of.setAttribute(Ie, Me[1]));
22103
22137
  }
22104
- var Fe, ke, $e, Le;
22138
+ var Fe, Oe, $e, Le;
22105
22139
  if (J.g._cmdf || Se) {
22106
22140
  Fe = J.cst;
22107
- var Ge = J.g.c;
22108
- for ($e = Fe.length, ke = 0; ke < $e; ke += 1)
22109
- Le = Fe[ke], Le.setAttribute("offset", Ge[ke * 4] + "%"), Le.setAttribute("stop-color", "rgb(" + Ge[ke * 4 + 1] + "," + Ge[ke * 4 + 2] + "," + Ge[ke * 4 + 3] + ")");
22141
+ var Ue = J.g.c;
22142
+ for ($e = Fe.length, Oe = 0; Oe < $e; Oe += 1)
22143
+ Le = Fe[Oe], Le.setAttribute("offset", Ue[Oe * 4] + "%"), Le.setAttribute("stop-color", "rgb(" + Ue[Oe * 4 + 1] + "," + Ue[Oe * 4 + 2] + "," + Ue[Oe * 4 + 3] + ")");
22110
22144
  }
22111
22145
  if (Ae && (J.g._omdf || Se)) {
22112
22146
  var He = J.g.o;
22113
- for (J.g._collapsable ? Fe = J.cst : Fe = J.ost, $e = Fe.length, ke = 0; ke < $e; ke += 1)
22114
- Le = Fe[ke], J.g._collapsable || Le.setAttribute("offset", He[ke * 2] + "%"), Le.setAttribute("stop-opacity", He[ke * 2 + 1]);
22147
+ for (J.g._collapsable ? Fe = J.cst : Fe = J.ost, $e = Fe.length, Oe = 0; Oe < $e; Oe += 1)
22148
+ Le = Fe[Oe], J.g._collapsable || Le.setAttribute("offset", He[Oe * 2] + "%"), Le.setAttribute("stop-opacity", He[Oe * 2 + 1]);
22115
22149
  }
22116
22150
  if (Z.t === 1)
22117
22151
  (J.e._mdf || Se) && (Te.setAttribute("x2", Ee[0]), Te.setAttribute("y2", Ee[1]), Ae && !J.g._collapsable && (J.of.setAttribute("x2", Ee[0]), J.of.setAttribute("y2", Ee[1])));
@@ -22315,19 +22349,19 @@ var lottie$1 = { exports: {} };
22315
22349
  C.__complete = !0;
22316
22350
  var E = this.elem.globalData.fontManager, I = this.data, B = [], U, V, X, Y = 0, K, _e = I.m.g, xe = 0, Z = 0, J = 0, Se = [], Te = 0, Ae = 0, Me, Ee, we = E.getFontByName(C.f), Pe, Ie = 0, Fe = getFontProperties(we);
22317
22351
  C.fWeight = Fe.weight, C.fStyle = Fe.style, C.finalSize = C.s, C.finalText = this.buildFinalText(C.t), V = C.finalText.length, C.finalLineHeight = C.lh;
22318
- var ke = C.tr / 1e3 * C.finalSize, $e;
22352
+ var Oe = C.tr / 1e3 * C.finalSize, $e;
22319
22353
  if (C.sz)
22320
- for (var Le = !0, Ge = C.sz[0], He = C.sz[1], We, je; Le; ) {
22321
- je = this.buildFinalText(C.t), We = 0, Te = 0, V = je.length, ke = C.tr / 1e3 * C.finalSize;
22354
+ for (var Le = !0, Ue = C.sz[0], He = C.sz[1], We, je; Le; ) {
22355
+ je = this.buildFinalText(C.t), We = 0, Te = 0, V = je.length, Oe = C.tr / 1e3 * C.finalSize;
22322
22356
  var Ve = -1;
22323
22357
  for (U = 0; U < V; U += 1)
22324
- $e = je[U].charCodeAt(0), X = !1, je[U] === " " ? Ve = U : ($e === 13 || $e === 3) && (Te = 0, X = !0, We += C.finalLineHeight || C.finalSize * 1.2), E.chars ? (Pe = E.getCharData(je[U], we.fStyle, we.fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(je[U], C.f, C.finalSize), Te + Ie > Ge && je[U] !== " " ? (Ve === -1 ? V += 1 : U = Ve, We += C.finalLineHeight || C.finalSize * 1.2, je.splice(U, Ve === U ? 1 : 0, "\r"), Ve = -1, Te = 0) : (Te += Ie, Te += ke);
22358
+ $e = je[U].charCodeAt(0), X = !1, je[U] === " " ? Ve = U : ($e === 13 || $e === 3) && (Te = 0, X = !0, We += C.finalLineHeight || C.finalSize * 1.2), E.chars ? (Pe = E.getCharData(je[U], we.fStyle, we.fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(je[U], C.f, C.finalSize), Te + Ie > Ue && je[U] !== " " ? (Ve === -1 ? V += 1 : U = Ve, We += C.finalLineHeight || C.finalSize * 1.2, je.splice(U, Ve === U ? 1 : 0, "\r"), Ve = -1, Te = 0) : (Te += Ie, Te += Oe);
22325
22359
  We += we.ascent * C.finalSize / 100, this.canResize && C.finalSize > this.minimumFontSize && He < We ? (C.finalSize -= 1, C.finalLineHeight = C.finalSize * C.lh / C.s) : (C.finalText = je, V = C.finalText.length, Le = !1);
22326
22360
  }
22327
- Te = -ke, Ie = 0;
22361
+ Te = -Oe, Ie = 0;
22328
22362
  var ze = 0, Xe;
22329
22363
  for (U = 0; U < V; U += 1)
22330
- if (X = !1, Xe = C.finalText[U], $e = Xe.charCodeAt(0), $e === 13 || $e === 3 ? (ze = 0, Se.push(Te), Ae = Te > Ae ? Te : Ae, Te = -2 * ke, K = "", X = !0, J += 1) : K = Xe, E.chars ? (Pe = E.getCharData(Xe, we.fStyle, E.getFontByName(C.f).fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(K, C.f, C.finalSize), Xe === " " ? ze += Ie + ke : (Te += Ie + ke + ze, ze = 0), B.push({
22364
+ if (X = !1, Xe = C.finalText[U], $e = Xe.charCodeAt(0), $e === 13 || $e === 3 ? (ze = 0, Se.push(Te), Ae = Te > Ae ? Te : Ae, Te = -2 * Oe, K = "", X = !0, J += 1) : K = Xe, E.chars ? (Pe = E.getCharData(Xe, we.fStyle, E.getFontByName(C.f).fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(K, C.f, C.finalSize), Xe === " " ? ze += Ie + Oe : (Te += Ie + Oe + ze, ze = 0), B.push({
22331
22365
  l: Ie,
22332
22366
  an: Ie,
22333
22367
  add: xe,
@@ -22366,15 +22400,15 @@ var lottie$1 = { exports: {} };
22366
22400
  C.lineWidths = Se;
22367
22401
  var De = I.a, Be, Re;
22368
22402
  Ee = De.length;
22369
- var Oe, Ue, Ne = [];
22403
+ var ke, Ge, Ne = [];
22370
22404
  for (Me = 0; Me < Ee; Me += 1) {
22371
- for (Be = De[Me], Be.a.sc && (C.strokeColorAnim = !0), Be.a.sw && (C.strokeWidthAnim = !0), (Be.a.fc || Be.a.fh || Be.a.fs || Be.a.fb) && (C.fillColorAnim = !0), Ue = 0, Oe = Be.s.b, U = 0; U < V; U += 1)
22372
- Re = B[U], Re.anIndexes[Me] = Ue, (Oe == 1 && Re.val !== "" || Oe == 2 && Re.val !== "" && Re.val !== " " || Oe == 3 && (Re.n || Re.val == " " || U == V - 1) || Oe == 4 && (Re.n || U == V - 1)) && (Be.s.rn === 1 && Ne.push(Ue), Ue += 1);
22373
- I.a[Me].s.totalChars = Ue;
22374
- var Ye = -1, qe;
22405
+ for (Be = De[Me], Be.a.sc && (C.strokeColorAnim = !0), Be.a.sw && (C.strokeWidthAnim = !0), (Be.a.fc || Be.a.fh || Be.a.fs || Be.a.fb) && (C.fillColorAnim = !0), Ge = 0, ke = Be.s.b, U = 0; U < V; U += 1)
22406
+ Re = B[U], Re.anIndexes[Me] = Ge, (ke == 1 && Re.val !== "" || ke == 2 && Re.val !== "" && Re.val !== " " || ke == 3 && (Re.n || Re.val == " " || U == V - 1) || ke == 4 && (Re.n || U == V - 1)) && (Be.s.rn === 1 && Ne.push(Ge), Ge += 1);
22407
+ I.a[Me].s.totalChars = Ge;
22408
+ var qe = -1, Ye;
22375
22409
  if (Be.s.rn === 1)
22376
22410
  for (U = 0; U < V; U += 1)
22377
- Re = B[U], Ye != Re.anIndexes[Me] && (Ye = Re.anIndexes[Me], qe = Ne.splice(Math.floor(Math.random() * Ne.length), 1)[0]), Re.anIndexes[Me] = qe;
22411
+ Re = B[U], qe != Re.anIndexes[Me] && (qe = Re.anIndexes[Me], Ye = Ne.splice(Math.floor(Math.random() * Ne.length), 1)[0]), Re.anIndexes[Me] = Ye;
22378
22412
  }
22379
22413
  C.yOffset = C.finalLineHeight || C.finalSize * 1.2, C.ls = C.ls || 0, C.ascent = we.ascent * C.finalSize / 100;
22380
22414
  }, TextProperty.prototype.updateDocumentData = function(C, E) {
@@ -22498,7 +22532,7 @@ var lottie$1 = { exports: {} };
22498
22532
  }, TextAnimatorProperty.prototype.getMeasures = function(C, E) {
22499
22533
  if (this.lettersChangedFlag = E, !(!this._mdf && !this._isFirstFrame && !E && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
22500
22534
  this._isFirstFrame = !1;
22501
- var I = this._moreOptions.alignment.v, B = this._animatorsData, U = this._textData, V = this.mHelper, X = this._renderType, Y = this.renderedLetters.length, K, _e, xe, Z, J = C.l, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, ke, $e, Le, Ge, He, We;
22535
+ var I = this._moreOptions.alignment.v, B = this._animatorsData, U = this._textData, V = this.mHelper, X = this._renderType, Y = this.renderedLetters.length, K, _e, xe, Z, J = C.l, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, Oe, $e, Le, Ue, He, We;
22502
22536
  if (this._hasMaskedPath) {
22503
22537
  if (We = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
22504
22538
  var je = We.v;
@@ -22511,15 +22545,15 @@ var lottie$1 = { exports: {} };
22511
22545
  Ve = bez.buildBezierData(je.v[xe], je.v[xe + 1], [je.o[xe][0] - je.v[xe][0], je.o[xe][1] - je.v[xe][1]], [je.i[xe + 1][0] - je.v[xe + 1][0], je.i[xe + 1][1] - je.v[xe + 1][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength;
22512
22546
  xe = Z, We.v.c && (Ve = bez.buildBezierData(je.v[xe], je.v[0], [je.o[xe][0] - je.v[xe][0], je.o[xe][1] - je.v[xe][1]], [je.i[0][0] - je.v[0][0], je.i[0][1] - je.v[0][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength), this._pathData.pi = Se;
22513
22547
  }
22514
- if (Se = this._pathData.pi, Te = this._pathData.f.v, Pe = 0, we = 1, Me = 0, Ee = !0, ke = Se.segments, Te < 0 && We.v.c)
22515
- for (Se.tLength < Math.abs(Te) && (Te = -Math.abs(Te) % Se.tLength), Pe = ke.length - 1, Fe = ke[Pe].points, we = Fe.length - 1; Te < 0; )
22516
- Te += Fe[we].partialLength, we -= 1, we < 0 && (Pe -= 1, Fe = ke[Pe].points, we = Fe.length - 1);
22517
- Fe = ke[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength;
22548
+ if (Se = this._pathData.pi, Te = this._pathData.f.v, Pe = 0, we = 1, Me = 0, Ee = !0, Oe = Se.segments, Te < 0 && We.v.c)
22549
+ for (Se.tLength < Math.abs(Te) && (Te = -Math.abs(Te) % Se.tLength), Pe = Oe.length - 1, Fe = Oe[Pe].points, we = Fe.length - 1; Te < 0; )
22550
+ Te += Fe[we].partialLength, we -= 1, we < 0 && (Pe -= 1, Fe = Oe[Pe].points, we = Fe.length - 1);
22551
+ Fe = Oe[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength;
22518
22552
  }
22519
22553
  Z = J.length, K = 0, _e = 0;
22520
- var ze = C.finalSize * 1.2 * 0.714, Xe = !0, De, Be, Re, Oe, Ue;
22521
- Oe = B.length;
22522
- var Ne, Ye = -1, qe, Ke, et, Je = Te, nt = Pe, at = we, ot = -1, Qe, tt, rt, it, Ze, st, lt, ut, ct = "", ht = this.defaultPropsArray, ft;
22554
+ var ze = C.finalSize * 1.2 * 0.714, Xe = !0, De, Be, Re, ke, Ge;
22555
+ ke = B.length;
22556
+ var Ne, qe = -1, Ye, Ke, rt, it = Te, Qe = Pe, st = we, at = -1, Ze, et, nt, tt, Je, ot, lt, ht, ct = "", ft = this.defaultPropsArray, ut;
22523
22557
  if (C.j === 2 || C.j === 1) {
22524
22558
  var dt = 0, gt = 0, vt = C.j === 2 ? -0.5 : -1, pt = 0, yt = !0;
22525
22559
  for (xe = 0; xe < Z; xe += 1)
@@ -22528,7 +22562,7 @@ var lottie$1 = { exports: {} };
22528
22562
  J[pt].animatorJustifyOffset = dt, pt += 1;
22529
22563
  dt = 0, yt = !0;
22530
22564
  } else {
22531
- for (Re = 0; Re < Oe; Re += 1)
22565
+ for (Re = 0; Re < ke; Re += 1)
22532
22566
  De = B[Re].a, De.t.propType && (yt && C.j === 2 && (gt += De.t.v * vt), Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? dt += De.t.v * Ne[0] * vt : dt += De.t.v * Ne * vt);
22533
22567
  yt = !1;
22534
22568
  }
@@ -22536,11 +22570,11 @@ var lottie$1 = { exports: {} };
22536
22570
  J[pt].animatorJustifyOffset = dt, pt += 1;
22537
22571
  }
22538
22572
  for (xe = 0; xe < Z; xe += 1) {
22539
- if (V.reset(), Qe = 1, J[xe].n)
22540
- K = 0, _e += C.yOffset, _e += Xe ? 1 : 0, Te = Je, Xe = !1, this._hasMaskedPath && (Pe = nt, we = at, Fe = ke[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength, Me = 0), ct = "", ut = "", st = "", ft = "", ht = this.defaultPropsArray;
22573
+ if (V.reset(), Ze = 1, J[xe].n)
22574
+ K = 0, _e += C.yOffset, _e += Xe ? 1 : 0, Te = it, Xe = !1, this._hasMaskedPath && (Pe = Qe, we = st, Fe = Oe[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength, Me = 0), ct = "", ht = "", ot = "", ut = "", ft = this.defaultPropsArray;
22541
22575
  else {
22542
22576
  if (this._hasMaskedPath) {
22543
- if (ot !== J[xe].line) {
22577
+ if (at !== J[xe].line) {
22544
22578
  switch (C.j) {
22545
22579
  case 1:
22546
22580
  Te += Le - C.lineWidths[J[xe].line];
@@ -22549,43 +22583,43 @@ var lottie$1 = { exports: {} };
22549
22583
  Te += (Le - C.lineWidths[J[xe].line]) / 2;
22550
22584
  break;
22551
22585
  }
22552
- ot = J[xe].line;
22586
+ at = J[xe].line;
22553
22587
  }
22554
- Ye !== J[xe].ind && (J[Ye] && (Te += J[Ye].extra), Te += J[xe].an / 2, Ye = J[xe].ind), Te += I[0] * J[xe].an * 5e-3;
22588
+ qe !== J[xe].ind && (J[qe] && (Te += J[qe].extra), Te += J[xe].an / 2, qe = J[xe].ind), Te += I[0] * J[xe].an * 5e-3;
22555
22589
  var mt = 0;
22556
- for (Re = 0; Re < Oe; Re += 1)
22590
+ for (Re = 0; Re < ke; Re += 1)
22557
22591
  De = B[Re].a, De.p.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? mt += De.p.v[0] * Ne[0] : mt += De.p.v[0] * Ne), De.a.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? mt += De.a.v[0] * Ne[0] : mt += De.a.v[0] * Ne);
22558
- for (Ee = !0, this._pathData.a.v && (Te = J[0].an * 0.5 + (Le - this._pathData.f.v - J[0].an * 0.5 - J[J.length - 1].an * 0.5) * Ye / (Z - 1), Te += this._pathData.f.v); Ee; )
22559
- Me + $e >= Te + mt || !Fe ? (Ge = (Te + mt - Me) / Ae.partialLength, Ke = Ie.point[0] + (Ae.point[0] - Ie.point[0]) * Ge, et = Ie.point[1] + (Ae.point[1] - Ie.point[1]) * Ge, V.translate(-I[0] * J[xe].an * 5e-3, -(I[1] * ze) * 0.01), Ee = !1) : Fe && (Me += Ae.partialLength, we += 1, we >= Fe.length && (we = 0, Pe += 1, ke[Pe] ? Fe = ke[Pe].points : We.v.c ? (we = 0, Pe = 0, Fe = ke[Pe].points) : (Me -= Ae.partialLength, Fe = null)), Fe && (Ie = Ae, Ae = Fe[we], $e = Ae.partialLength));
22560
- qe = J[xe].an / 2 - J[xe].add, V.translate(-qe, 0, 0);
22592
+ for (Ee = !0, this._pathData.a.v && (Te = J[0].an * 0.5 + (Le - this._pathData.f.v - J[0].an * 0.5 - J[J.length - 1].an * 0.5) * qe / (Z - 1), Te += this._pathData.f.v); Ee; )
22593
+ Me + $e >= Te + mt || !Fe ? (Ue = (Te + mt - Me) / Ae.partialLength, Ke = Ie.point[0] + (Ae.point[0] - Ie.point[0]) * Ue, rt = Ie.point[1] + (Ae.point[1] - Ie.point[1]) * Ue, V.translate(-I[0] * J[xe].an * 5e-3, -(I[1] * ze) * 0.01), Ee = !1) : Fe && (Me += Ae.partialLength, we += 1, we >= Fe.length && (we = 0, Pe += 1, Oe[Pe] ? Fe = Oe[Pe].points : We.v.c ? (we = 0, Pe = 0, Fe = Oe[Pe].points) : (Me -= Ae.partialLength, Fe = null)), Fe && (Ie = Ae, Ae = Fe[we], $e = Ae.partialLength));
22594
+ Ye = J[xe].an / 2 - J[xe].add, V.translate(-Ye, 0, 0);
22561
22595
  } else
22562
- qe = J[xe].an / 2 - J[xe].add, V.translate(-qe, 0, 0), V.translate(-I[0] * J[xe].an * 5e-3, -I[1] * ze * 0.01, 0);
22563
- for (Re = 0; Re < Oe; Re += 1)
22596
+ Ye = J[xe].an / 2 - J[xe].add, V.translate(-Ye, 0, 0), V.translate(-I[0] * J[xe].an * 5e-3, -I[1] * ze * 0.01, 0);
22597
+ for (Re = 0; Re < ke; Re += 1)
22564
22598
  De = B[Re].a, De.t.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), (K !== 0 || C.j !== 0) && (this._hasMaskedPath ? Ne.length ? Te += De.t.v * Ne[0] : Te += De.t.v * Ne : Ne.length ? K += De.t.v * Ne[0] : K += De.t.v * Ne));
22565
- for (C.strokeWidthAnim && (rt = C.sw || 0), C.strokeColorAnim && (C.sc ? tt = [C.sc[0], C.sc[1], C.sc[2]] : tt = [0, 0, 0]), C.fillColorAnim && C.fc && (it = [C.fc[0], C.fc[1], C.fc[2]]), Re = 0; Re < Oe; Re += 1)
22599
+ for (C.strokeWidthAnim && (nt = C.sw || 0), C.strokeColorAnim && (C.sc ? et = [C.sc[0], C.sc[1], C.sc[2]] : et = [0, 0, 0]), C.fillColorAnim && C.fc && (tt = [C.fc[0], C.fc[1], C.fc[2]]), Re = 0; Re < ke; Re += 1)
22566
22600
  De = B[Re].a, De.a.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? V.translate(-De.a.v[0] * Ne[0], -De.a.v[1] * Ne[1], De.a.v[2] * Ne[2]) : V.translate(-De.a.v[0] * Ne, -De.a.v[1] * Ne, De.a.v[2] * Ne));
22567
- for (Re = 0; Re < Oe; Re += 1)
22601
+ for (Re = 0; Re < ke; Re += 1)
22568
22602
  De = B[Re].a, De.s.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? V.scale(1 + (De.s.v[0] - 1) * Ne[0], 1 + (De.s.v[1] - 1) * Ne[1], 1) : V.scale(1 + (De.s.v[0] - 1) * Ne, 1 + (De.s.v[1] - 1) * Ne, 1));
22569
- for (Re = 0; Re < Oe; Re += 1) {
22570
- if (De = B[Re].a, Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), De.sk.propType && (Ne.length ? V.skewFromAxis(-De.sk.v * Ne[0], De.sa.v * Ne[1]) : V.skewFromAxis(-De.sk.v * Ne, De.sa.v * Ne)), De.r.propType && (Ne.length ? V.rotateZ(-De.r.v * Ne[2]) : V.rotateZ(-De.r.v * Ne)), De.ry.propType && (Ne.length ? V.rotateY(De.ry.v * Ne[1]) : V.rotateY(De.ry.v * Ne)), De.rx.propType && (Ne.length ? V.rotateX(De.rx.v * Ne[0]) : V.rotateX(De.rx.v * Ne)), De.o.propType && (Ne.length ? Qe += (De.o.v * Ne[0] - Qe) * Ne[0] : Qe += (De.o.v * Ne - Qe) * Ne), C.strokeWidthAnim && De.sw.propType && (Ne.length ? rt += De.sw.v * Ne[0] : rt += De.sw.v * Ne), C.strokeColorAnim && De.sc.propType)
22571
- for (Ze = 0; Ze < 3; Ze += 1)
22572
- Ne.length ? tt[Ze] += (De.sc.v[Ze] - tt[Ze]) * Ne[0] : tt[Ze] += (De.sc.v[Ze] - tt[Ze]) * Ne;
22603
+ for (Re = 0; Re < ke; Re += 1) {
22604
+ if (De = B[Re].a, Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), De.sk.propType && (Ne.length ? V.skewFromAxis(-De.sk.v * Ne[0], De.sa.v * Ne[1]) : V.skewFromAxis(-De.sk.v * Ne, De.sa.v * Ne)), De.r.propType && (Ne.length ? V.rotateZ(-De.r.v * Ne[2]) : V.rotateZ(-De.r.v * Ne)), De.ry.propType && (Ne.length ? V.rotateY(De.ry.v * Ne[1]) : V.rotateY(De.ry.v * Ne)), De.rx.propType && (Ne.length ? V.rotateX(De.rx.v * Ne[0]) : V.rotateX(De.rx.v * Ne)), De.o.propType && (Ne.length ? Ze += (De.o.v * Ne[0] - Ze) * Ne[0] : Ze += (De.o.v * Ne - Ze) * Ne), C.strokeWidthAnim && De.sw.propType && (Ne.length ? nt += De.sw.v * Ne[0] : nt += De.sw.v * Ne), C.strokeColorAnim && De.sc.propType)
22605
+ for (Je = 0; Je < 3; Je += 1)
22606
+ Ne.length ? et[Je] += (De.sc.v[Je] - et[Je]) * Ne[0] : et[Je] += (De.sc.v[Je] - et[Je]) * Ne;
22573
22607
  if (C.fillColorAnim && C.fc) {
22574
22608
  if (De.fc.propType)
22575
- for (Ze = 0; Ze < 3; Ze += 1)
22576
- Ne.length ? it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne[0] : it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne;
22577
- De.fh.propType && (Ne.length ? it = addHueToRGB(it, De.fh.v * Ne[0]) : it = addHueToRGB(it, De.fh.v * Ne)), De.fs.propType && (Ne.length ? it = addSaturationToRGB(it, De.fs.v * Ne[0]) : it = addSaturationToRGB(it, De.fs.v * Ne)), De.fb.propType && (Ne.length ? it = addBrightnessToRGB(it, De.fb.v * Ne[0]) : it = addBrightnessToRGB(it, De.fb.v * Ne));
22609
+ for (Je = 0; Je < 3; Je += 1)
22610
+ Ne.length ? tt[Je] += (De.fc.v[Je] - tt[Je]) * Ne[0] : tt[Je] += (De.fc.v[Je] - tt[Je]) * Ne;
22611
+ De.fh.propType && (Ne.length ? tt = addHueToRGB(tt, De.fh.v * Ne[0]) : tt = addHueToRGB(tt, De.fh.v * Ne)), De.fs.propType && (Ne.length ? tt = addSaturationToRGB(tt, De.fs.v * Ne[0]) : tt = addSaturationToRGB(tt, De.fs.v * Ne)), De.fb.propType && (Ne.length ? tt = addBrightnessToRGB(tt, De.fb.v * Ne[0]) : tt = addBrightnessToRGB(tt, De.fb.v * Ne));
22578
22612
  }
22579
22613
  }
22580
- for (Re = 0; Re < Oe; Re += 1)
22614
+ for (Re = 0; Re < ke; Re += 1)
22581
22615
  De = B[Re].a, De.p.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), this._hasMaskedPath ? Ne.length ? V.translate(0, De.p.v[1] * Ne[0], -De.p.v[2] * Ne[1]) : V.translate(0, De.p.v[1] * Ne, -De.p.v[2] * Ne) : Ne.length ? V.translate(De.p.v[0] * Ne[0], De.p.v[1] * Ne[1], -De.p.v[2] * Ne[2]) : V.translate(De.p.v[0] * Ne, De.p.v[1] * Ne, -De.p.v[2] * Ne));
22582
- if (C.strokeWidthAnim && (st = rt < 0 ? 0 : rt), C.strokeColorAnim && (lt = "rgb(" + Math.round(tt[0] * 255) + "," + Math.round(tt[1] * 255) + "," + Math.round(tt[2] * 255) + ")"), C.fillColorAnim && C.fc && (ut = "rgb(" + Math.round(it[0] * 255) + "," + Math.round(it[1] * 255) + "," + Math.round(it[2] * 255) + ")"), this._hasMaskedPath) {
22616
+ if (C.strokeWidthAnim && (ot = nt < 0 ? 0 : nt), C.strokeColorAnim && (lt = "rgb(" + Math.round(et[0] * 255) + "," + Math.round(et[1] * 255) + "," + Math.round(et[2] * 255) + ")"), C.fillColorAnim && C.fc && (ht = "rgb(" + Math.round(tt[0] * 255) + "," + Math.round(tt[1] * 255) + "," + Math.round(tt[2] * 255) + ")"), this._hasMaskedPath) {
22583
22617
  if (V.translate(0, -C.ls), V.translate(0, I[1] * ze * 0.01 + _e, 0), this._pathData.p.v) {
22584
22618
  He = (Ae.point[1] - Ie.point[1]) / (Ae.point[0] - Ie.point[0]);
22585
22619
  var _t = Math.atan(He) * 180 / Math.PI;
22586
22620
  Ae.point[0] < Ie.point[0] && (_t += 180), V.rotate(-_t * Math.PI / 180);
22587
22621
  }
22588
- V.translate(Ke, et, 0), Te -= I[0] * J[xe].an * 5e-3, J[xe + 1] && Ye !== J[xe + 1].ind && (Te += J[xe].an / 2, Te += C.tr * 1e-3 * C.finalSize);
22622
+ V.translate(Ke, rt, 0), Te -= I[0] * J[xe].an * 5e-3, J[xe + 1] && qe !== J[xe + 1].ind && (Te += J[xe].an / 2, Te += C.tr * 1e-3 * C.finalSize);
22589
22623
  } else {
22590
22624
  switch (V.translate(K, _e, 0), C.ps && V.translate(C.ps[0], C.ps[1] + C.ascent, 0), C.j) {
22591
22625
  case 1:
@@ -22595,11 +22629,11 @@ var lottie$1 = { exports: {} };
22595
22629
  V.translate(J[xe].animatorJustifyOffset + C.justifyOffset + (C.boxWidth - C.lineWidths[J[xe].line]) / 2, 0, 0);
22596
22630
  break;
22597
22631
  }
22598
- V.translate(0, -C.ls), V.translate(qe, 0, 0), V.translate(I[0] * J[xe].an * 5e-3, I[1] * ze * 0.01, 0), K += J[xe].l + C.tr * 1e-3 * C.finalSize;
22632
+ V.translate(0, -C.ls), V.translate(Ye, 0, 0), V.translate(I[0] * J[xe].an * 5e-3, I[1] * ze * 0.01, 0), K += J[xe].l + C.tr * 1e-3 * C.finalSize;
22599
22633
  }
22600
- X === "html" ? ct = V.toCSS() : X === "svg" ? ct = V.to2dCSS() : ht = [V.props[0], V.props[1], V.props[2], V.props[3], V.props[4], V.props[5], V.props[6], V.props[7], V.props[8], V.props[9], V.props[10], V.props[11], V.props[12], V.props[13], V.props[14], V.props[15]], ft = Qe;
22634
+ X === "html" ? ct = V.toCSS() : X === "svg" ? ct = V.to2dCSS() : ft = [V.props[0], V.props[1], V.props[2], V.props[3], V.props[4], V.props[5], V.props[6], V.props[7], V.props[8], V.props[9], V.props[10], V.props[11], V.props[12], V.props[13], V.props[14], V.props[15]], ut = Ze;
22601
22635
  }
22602
- Y <= xe ? (Ue = new LetterProps(ft, st, lt, ut, ct, ht), this.renderedLetters.push(Ue), Y += 1, this.lettersChangedFlag = !0) : (Ue = this.renderedLetters[xe], this.lettersChangedFlag = Ue.update(ft, st, lt, ut, ct, ht) || this.lettersChangedFlag);
22636
+ Y <= xe ? (Ge = new LetterProps(ut, ot, lt, ht, ct, ft), this.renderedLetters.push(Ge), Y += 1, this.lettersChangedFlag = !0) : (Ge = this.renderedLetters[xe], this.lettersChangedFlag = Ge.update(ut, ot, lt, ht, ct, ft) || this.lettersChangedFlag);
22603
22637
  }
22604
22638
  }
22605
22639
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -22715,18 +22749,18 @@ var lottie$1 = { exports: {} };
22715
22749
  }
22716
22750
  if (_e.reset(), Z && (X[C].n && (J = -Ae, Se += I.yOffset, Se += Te ? 1 : 0, Te = !1), this.applyTextPropertiesToMatrix(I, _e, X[C].line, J, Se), J += X[C].l || 0, J += Ae), Y) {
22717
22751
  Ie = this.globalData.fontManager.getCharData(I.finalText[C], B.fStyle, this.globalData.fontManager.getFontByName(I.f).fFamily);
22718
- var ke;
22752
+ var Oe;
22719
22753
  if (Ie.t === 1)
22720
- ke = new SVGCompElement(Ie.data, this.globalData, this);
22754
+ Oe = new SVGCompElement(Ie.data, this.globalData, this);
22721
22755
  else {
22722
22756
  var $e = emptyShapeData;
22723
- Ie.data && Ie.data.shapes && ($e = this.buildShapeData(Ie.data, I.finalSize)), ke = new SVGShapeElement($e, this.globalData, this);
22757
+ Ie.data && Ie.data.shapes && ($e = this.buildShapeData(Ie.data, I.finalSize)), Oe = new SVGShapeElement($e, this.globalData, this);
22724
22758
  }
22725
22759
  if (this.textSpans[C].glyph) {
22726
22760
  var Le = this.textSpans[C].glyph;
22727
22761
  this.textSpans[C].childSpan.removeChild(Le.layerElement), Le.destroy();
22728
22762
  }
22729
- this.textSpans[C].glyph = ke, ke._debug = !0, ke.prepareFrame(0), ke.renderFrame(), this.textSpans[C].childSpan.appendChild(ke.layerElement), Ie.t === 1 && this.textSpans[C].childSpan.setAttribute("transform", "scale(" + I.finalSize / 100 + "," + I.finalSize / 100 + ")");
22763
+ this.textSpans[C].glyph = Oe, Oe._debug = !0, Oe.prepareFrame(0), Oe.renderFrame(), this.textSpans[C].childSpan.appendChild(Oe.layerElement), Ie.t === 1 && this.textSpans[C].childSpan.setAttribute("transform", "scale(" + I.finalSize / 100 + "," + I.finalSize / 100 + ")");
22730
22764
  } else
22731
22765
  Z && K.setAttribute("transform", "translate(" + _e.props[12] + "," + _e.props[13] + ")"), K.textContent = X[C].val, K.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
22732
22766
  }
@@ -23342,9 +23376,9 @@ var lottie$1 = { exports: {} };
23342
23376
  C.sc && (I = !0, this.values.stroke = this.buildColor(C.sc), this.values.sWidth = C.sw);
23343
23377
  var B = this.globalData.fontManager.getFontByName(C.f), U, V, X = C.l, Y = this.mHelper;
23344
23378
  this.stroke = I, this.values.fValue = C.finalSize + "px " + this.globalData.fontManager.getFontByName(C.f).fFamily, V = C.finalText.length;
23345
- var K, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we = this.data.singleShape, Pe = C.tr * 1e-3 * C.finalSize, Ie = 0, Fe = 0, ke = !0, $e = 0;
23379
+ var K, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we = this.data.singleShape, Pe = C.tr * 1e-3 * C.finalSize, Ie = 0, Fe = 0, Oe = !0, $e = 0;
23346
23380
  for (U = 0; U < V; U += 1) {
23347
- K = this.globalData.fontManager.getCharData(C.finalText[U], B.fStyle, this.globalData.fontManager.getFontByName(C.f).fFamily), _e = K && K.data || {}, Y.reset(), we && X[U].n && (Ie = -Pe, Fe += C.yOffset, Fe += ke ? 1 : 0, ke = !1), J = _e.shapes ? _e.shapes[0].it : [], Te = J.length, Y.scale(C.finalSize / 100, C.finalSize / 100), we && this.applyTextPropertiesToMatrix(C, Y, X[U].line, Ie, Fe), Me = createSizedArray(Te - 1);
23381
+ K = this.globalData.fontManager.getCharData(C.finalText[U], B.fStyle, this.globalData.fontManager.getFontByName(C.f).fFamily), _e = K && K.data || {}, Y.reset(), we && X[U].n && (Ie = -Pe, Fe += C.yOffset, Fe += Oe ? 1 : 0, Oe = !1), J = _e.shapes ? _e.shapes[0].it : [], Te = J.length, Y.scale(C.finalSize / 100, C.finalSize / 100), we && this.applyTextPropertiesToMatrix(C, Y, X[U].line, Ie, Fe), Me = createSizedArray(Te - 1);
23348
23382
  var Le = 0;
23349
23383
  for (Se = 0; Se < Te; Se += 1)
23350
23384
  if (J[Se].ty === "sh") {
@@ -23796,8 +23830,8 @@ var lottie$1 = { exports: {} };
23796
23830
  this.innerElem.appendChild(_e);
23797
23831
  else {
23798
23832
  this.innerElem.appendChild(xe);
23799
- var Fe = _e.style, ke = "translate3d(0," + -C.finalSize / 1.2 + "px,0)";
23800
- Fe.transform = ke, Fe.webkitTransform = ke;
23833
+ var Fe = _e.style, Oe = "translate3d(0," + -C.finalSize / 1.2 + "px,0)";
23834
+ Fe.transform = Oe, Fe.webkitTransform = Oe;
23801
23835
  }
23802
23836
  this.isMasked ? this.textSpans[Ae] = _e : this.textSpans[Ae] = xe, this.textSpans[Ae].style.display = "block", this.textPaths[Ae] = _e, Ae += 1;
23803
23837
  }
@@ -24093,56 +24127,56 @@ var lottie$1 = { exports: {} };
24093
24127
  function seedRandom(C, E) {
24094
24128
  var I = this, B = 256, U = 6, V = 52, X = "random", Y = E.pow(B, U), K = E.pow(2, V), _e = K * 2, xe = B - 1, Z;
24095
24129
  function J(Pe, Ie, Fe) {
24096
- var ke = [];
24130
+ var Oe = [];
24097
24131
  Ie = Ie === !0 ? {
24098
24132
  entropy: !0
24099
24133
  } : Ie || {};
24100
- var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), ke), Le = new Se(ke), Ge = function() {
24134
+ var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), Oe), Le = new Se(Oe), Ue = function() {
24101
24135
  for (var We = Le.g(U), je = Y, Ve = 0; We < K; )
24102
24136
  We = (We + Ve) * B, je *= B, Ve = Le.g(1);
24103
24137
  for (; We >= _e; )
24104
24138
  We /= 2, je /= 2, Ve >>>= 1;
24105
24139
  return (We + Ve) / je;
24106
24140
  };
24107
- return Ge.int32 = function() {
24141
+ return Ue.int32 = function() {
24108
24142
  return Le.g(4) | 0;
24109
- }, Ge.quick = function() {
24143
+ }, Ue.quick = function() {
24110
24144
  return Le.g(4) / 4294967296;
24111
- }, Ge.double = Ge, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, je, Ve) {
24145
+ }, Ue.double = Ue, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, je, Ve) {
24112
24146
  return Ve && (Ve.S && Te(Ve, Le), He.state = function() {
24113
24147
  return Te(Le, {});
24114
24148
  }), je ? (E[X] = He, We) : He;
24115
- })(Ge, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24149
+ })(Ue, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24116
24150
  }
24117
24151
  E["seed" + X] = J;
24118
24152
  function Se(Pe) {
24119
- var Ie, Fe = Pe.length, ke = this, $e = 0, Le = ke.i = ke.j = 0, Ge = ke.S = [];
24153
+ var Ie, Fe = Pe.length, Oe = this, $e = 0, Le = Oe.i = Oe.j = 0, Ue = Oe.S = [];
24120
24154
  for (Fe || (Pe = [Fe++]); $e < B; )
24121
- Ge[$e] = $e++;
24155
+ Ue[$e] = $e++;
24122
24156
  for ($e = 0; $e < B; $e++)
24123
- Ge[$e] = Ge[Le = xe & Le + Pe[$e % Fe] + (Ie = Ge[$e])], Ge[Le] = Ie;
24124
- ke.g = function(He) {
24125
- for (var We, je = 0, Ve = ke.i, ze = ke.j, Xe = ke.S; He--; )
24157
+ Ue[$e] = Ue[Le = xe & Le + Pe[$e % Fe] + (Ie = Ue[$e])], Ue[Le] = Ie;
24158
+ Oe.g = function(He) {
24159
+ for (var We, je = 0, Ve = Oe.i, ze = Oe.j, Xe = Oe.S; He--; )
24126
24160
  We = Xe[Ve = xe & Ve + 1], je = je * B + Xe[xe & (Xe[Ve] = Xe[ze = xe & ze + We]) + (Xe[ze] = We)];
24127
- return ke.i = Ve, ke.j = ze, je;
24161
+ return Oe.i = Ve, Oe.j = ze, je;
24128
24162
  };
24129
24163
  }
24130
24164
  function Te(Pe, Ie) {
24131
24165
  return Ie.i = Pe.i, Ie.j = Pe.j, Ie.S = Pe.S.slice(), Ie;
24132
24166
  }
24133
24167
  function Ae(Pe, Ie) {
24134
- var Fe = [], ke = _typeof$2(Pe), $e;
24135
- if (Ie && ke == "object")
24168
+ var Fe = [], Oe = _typeof$2(Pe), $e;
24169
+ if (Ie && Oe == "object")
24136
24170
  for ($e in Pe)
24137
24171
  try {
24138
24172
  Fe.push(Ae(Pe[$e], Ie - 1));
24139
24173
  } catch {
24140
24174
  }
24141
- return Fe.length ? Fe : ke == "string" ? Pe : Pe + "\0";
24175
+ return Fe.length ? Fe : Oe == "string" ? Pe : Pe + "\0";
24142
24176
  }
24143
24177
  function Me(Pe, Ie) {
24144
- for (var Fe = Pe + "", ke, $e = 0; $e < Fe.length; )
24145
- Ie[xe & $e] = xe & (ke ^= Ie[xe & $e] * 19) + Fe.charCodeAt($e++);
24178
+ for (var Fe = Pe + "", Oe, $e = 0; $e < Fe.length; )
24179
+ Ie[xe & $e] = xe & (Oe ^= Ie[xe & $e] * 19) + Fe.charCodeAt($e++);
24146
24180
  return we(Ie);
24147
24181
  }
24148
24182
  function Ee() {
@@ -24907,10 +24941,10 @@ var lottie$1 = { exports: {} };
24907
24941
  }
24908
24942
  function E(Te, Ae, Me) {
24909
24943
  var Ee, we = function(Fe) {
24910
- for (var ke = 0, $e = Ee.length; ke < $e; ) {
24911
- if (Ee[ke]._name === Fe || Ee[ke].mn === Fe || Ee[ke].propertyIndex === Fe || Ee[ke].ix === Fe || Ee[ke].ind === Fe)
24912
- return Ee[ke];
24913
- ke += 1;
24944
+ for (var Oe = 0, $e = Ee.length; Oe < $e; ) {
24945
+ if (Ee[Oe]._name === Fe || Ee[Oe].mn === Fe || Ee[Oe].propertyIndex === Fe || Ee[Oe].ix === Fe || Ee[Oe].ind === Fe)
24946
+ return Ee[Oe];
24947
+ Oe += 1;
24914
24948
  }
24915
24949
  return typeof Fe == "number" ? Ee[Fe - 1] : null;
24916
24950
  };
@@ -24990,13 +25024,13 @@ var lottie$1 = { exports: {} };
24990
25024
  return Te;
24991
25025
  }
24992
25026
  function X(Te, Ae, Me) {
24993
- var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(ke, Ee);
25027
+ var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(Oe, Ee);
24994
25028
  function Pe(Le) {
24995
- Object.defineProperty(ke, Te.d[Le].nm, {
25029
+ Object.defineProperty(Oe, Te.d[Le].nm, {
24996
25030
  get: ExpressionPropertyInterface(Ae.d.dataProps[Le].p)
24997
25031
  });
24998
25032
  }
24999
- var Ie, Fe = Te.d ? Te.d.length : 0, ke = {};
25033
+ var Ie, Fe = Te.d ? Te.d.length : 0, Oe = {};
25000
25034
  for (Ie = 0; Ie < Fe; Ie += 1)
25001
25035
  Pe(Ie), Ae.d.dataProps[Ie].p.setGroupProperty(we);
25002
25036
  function $e(Le) {
@@ -25014,7 +25048,7 @@ var lottie$1 = { exports: {} };
25014
25048
  },
25015
25049
  dash: {
25016
25050
  get: function() {
25017
- return ke;
25051
+ return Oe;
25018
25052
  }
25019
25053
  },
25020
25054
  _name: {
@@ -25184,7 +25218,7 @@ var lottie$1 = { exports: {} };
25184
25218
  function we(Ie) {
25185
25219
  if (typeof Ie == "number")
25186
25220
  return Ie = Ie === void 0 ? 1 : Ie, Ie === 0 ? Me : Ee[Ie - 1];
25187
- for (var Fe = 0, ke = Ee.length; Fe < ke; ) {
25221
+ for (var Fe = 0, Oe = Ee.length; Fe < Oe; ) {
25188
25222
  if (Ee[Fe]._name === Ie)
25189
25223
  return Ee[Fe];
25190
25224
  Fe += 1;
@@ -25326,25 +25360,25 @@ var lottie$1 = { exports: {} };
25326
25360
  return this.pv;
25327
25361
  var we, Pe;
25328
25362
  Te ? (Se ? we = Math.abs(Ee - this.elem.comp.globalData.frameRate * Se) : we = Math.max(0, Ee - this.elem.data.ip), Pe = Ee - we) : ((!Se || Se > Me.length - 1) && (Se = Me.length - 1), Pe = Me[Me.length - 1 - Se].t, we = Ee - Pe);
25329
- var Ie, Fe, ke;
25363
+ var Ie, Fe, Oe;
25330
25364
  if (J === "pingpong") {
25331
25365
  var $e = Math.floor((Ae - Pe) / we);
25332
25366
  if ($e % 2 !== 0)
25333
25367
  return this.getValueAtTime((we - (Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0);
25334
25368
  } else if (J === "offset") {
25335
- var Le = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), Ge = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), He = this.getValueAtTime(((Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0), We = Math.floor((Ae - Pe) / we);
25369
+ var Le = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), Ue = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), He = this.getValueAtTime(((Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0), We = Math.floor((Ae - Pe) / we);
25336
25370
  if (this.pv.length) {
25337
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25338
- ke[Ie] = (Ge[Ie] - Le[Ie]) * We + He[Ie];
25339
- return ke;
25371
+ for (Oe = new Array(Le.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25372
+ Oe[Ie] = (Ue[Ie] - Le[Ie]) * We + He[Ie];
25373
+ return Oe;
25340
25374
  }
25341
- return (Ge - Le) * We + He;
25375
+ return (Ue - Le) * We + He;
25342
25376
  } else if (J === "continue") {
25343
25377
  var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee - 1e-3) / this.comp.globalData.frameRate, 0);
25344
25378
  if (this.pv.length) {
25345
- for (ke = new Array(je.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25346
- ke[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * ((Ae - Ee) / this.comp.globalData.frameRate) / 5e-4;
25347
- return ke;
25379
+ for (Oe = new Array(je.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25380
+ Oe[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * ((Ae - Ee) / this.comp.globalData.frameRate) / 5e-4;
25381
+ return Oe;
25348
25382
  }
25349
25383
  return je + (je - Ve) * ((Ae - Ee) / 1e-3);
25350
25384
  }
@@ -25359,25 +25393,25 @@ var lottie$1 = { exports: {} };
25359
25393
  return this.pv;
25360
25394
  var we, Pe;
25361
25395
  Te ? (Se ? we = Math.abs(this.elem.comp.globalData.frameRate * Se) : we = Math.max(0, this.elem.data.op - Ee), Pe = Ee + we) : ((!Se || Se > Me.length - 1) && (Se = Me.length - 1), Pe = Me[Se].t, we = Pe - Ee);
25362
- var Ie, Fe, ke;
25396
+ var Ie, Fe, Oe;
25363
25397
  if (J === "pingpong") {
25364
25398
  var $e = Math.floor((Ee - Ae) / we);
25365
25399
  if ($e % 2 === 0)
25366
25400
  return this.getValueAtTime(((Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0);
25367
25401
  } else if (J === "offset") {
25368
- var Le = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ge = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), He = this.getValueAtTime((we - (Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0), We = Math.floor((Ee - Ae) / we) + 1;
25402
+ var Le = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ue = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), He = this.getValueAtTime((we - (Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0), We = Math.floor((Ee - Ae) / we) + 1;
25369
25403
  if (this.pv.length) {
25370
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25371
- ke[Ie] = He[Ie] - (Ge[Ie] - Le[Ie]) * We;
25372
- return ke;
25404
+ for (Oe = new Array(Le.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25405
+ Oe[Ie] = He[Ie] - (Ue[Ie] - Le[Ie]) * We;
25406
+ return Oe;
25373
25407
  }
25374
- return He - (Ge - Le) * We;
25408
+ return He - (Ue - Le) * We;
25375
25409
  } else if (J === "continue") {
25376
25410
  var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee + 1e-3) / this.comp.globalData.frameRate, 0);
25377
25411
  if (this.pv.length) {
25378
- for (ke = new Array(je.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25379
- ke[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * (Ee - Ae) / 1e-3;
25380
- return ke;
25412
+ for (Oe = new Array(je.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25413
+ Oe[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * (Ee - Ae) / 1e-3;
25414
+ return Oe;
25381
25415
  }
25382
25416
  return je + (je - Ve) * (Ee - Ae) / 1e-3;
25383
25417
  }
@@ -25426,14 +25460,14 @@ var lottie$1 = { exports: {} };
25426
25460
  var we = this.r.getValueAtTime(J);
25427
25461
  Se.rotate(-we * this.r.mult);
25428
25462
  } else if (!this.r && this.appliedTransformations < 4) {
25429
- var Pe = this.rz.getValueAtTime(J), Ie = this.ry.getValueAtTime(J), Fe = this.rx.getValueAtTime(J), ke = this.or.getValueAtTime(J);
25430
- Se.rotateZ(-Pe * this.rz.mult).rotateY(Ie * this.ry.mult).rotateX(Fe * this.rx.mult).rotateZ(-ke[2] * this.or.mult).rotateY(ke[1] * this.or.mult).rotateX(ke[0] * this.or.mult);
25463
+ var Pe = this.rz.getValueAtTime(J), Ie = this.ry.getValueAtTime(J), Fe = this.rx.getValueAtTime(J), Oe = this.or.getValueAtTime(J);
25464
+ Se.rotateZ(-Pe * this.rz.mult).rotateY(Ie * this.ry.mult).rotateX(Fe * this.rx.mult).rotateZ(-Oe[2] * this.or.mult).rotateY(Oe[1] * this.or.mult).rotateX(Oe[0] * this.or.mult);
25431
25465
  }
25432
25466
  if (this.data.p && this.data.p.s) {
25433
25467
  var $e = this.px.getValueAtTime(J), Le = this.py.getValueAtTime(J);
25434
25468
  if (this.data.p.z) {
25435
- var Ge = this.pz.getValueAtTime(J);
25436
- Se.translate($e * this.px.mult, Le * this.py.mult, -Ge * this.pz.mult);
25469
+ var Ue = this.pz.getValueAtTime(J);
25470
+ Se.translate($e * this.px.mult, Le * this.py.mult, -Ue * this.pz.mult);
25437
25471
  } else
25438
25472
  Se.translate($e * this.px.mult, Le * this.py.mult, 0);
25439
25473
  } else {
@@ -25496,16 +25530,16 @@ var lottie$1 = { exports: {} };
25496
25530
  pointOnPath: function(Se, Te) {
25497
25531
  var Ae = this.v;
25498
25532
  Te !== void 0 && (Ae = this.getValueAtTime(Te, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(Ae));
25499
- for (var Me = this._segmentsLength, Ee = Me.lengths, we = Me.totalLength * Se, Pe = 0, Ie = Ee.length, Fe = 0, ke; Pe < Ie; ) {
25533
+ for (var Me = this._segmentsLength, Ee = Me.lengths, we = Me.totalLength * Se, Pe = 0, Ie = Ee.length, Fe = 0, Oe; Pe < Ie; ) {
25500
25534
  if (Fe + Ee[Pe].addedLength > we) {
25501
- var $e = Pe, Le = Ae.c && Pe === Ie - 1 ? 0 : Pe + 1, Ge = (we - Fe) / Ee[Pe].addedLength;
25502
- ke = bez.getPointInSegment(Ae.v[$e], Ae.v[Le], Ae.o[$e], Ae.i[Le], Ge, Ee[Pe]);
25535
+ var $e = Pe, Le = Ae.c && Pe === Ie - 1 ? 0 : Pe + 1, Ue = (we - Fe) / Ee[Pe].addedLength;
25536
+ Oe = bez.getPointInSegment(Ae.v[$e], Ae.v[Le], Ae.o[$e], Ae.i[Le], Ue, Ee[Pe]);
25503
25537
  break;
25504
25538
  } else
25505
25539
  Fe += Ee[Pe].addedLength;
25506
25540
  Pe += 1;
25507
25541
  }
25508
- return ke || (ke = Ae.c ? [Ae.v[0][0], Ae.v[0][1]] : [Ae.v[Ae._length - 1][0], Ae.v[Ae._length - 1][1]]), ke;
25542
+ return Oe || (Oe = Ae.c ? [Ae.v[0][0], Ae.v[0][1]] : [Ae.v[Ae._length - 1][0], Ae.v[Ae._length - 1][1]]), Oe;
25509
25543
  },
25510
25544
  vectorOnPath: function(Se, Te, Ae) {
25511
25545
  Se == 1 ? Se = this.v.c : Se == 0 && (Se = 0.999);
@@ -25795,8 +25829,8 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25795
25829
  frameEndAt: Pe,
25796
25830
  visible: Ie,
25797
25831
  disabled: Fe,
25798
- loop: ke = !1,
25799
- transformation: { x: $e, y: Le, width: Ge, height: He, colorCorrection: We = {} },
25832
+ loop: Oe = !1,
25833
+ transformation: { x: $e, y: Le, width: Ue, height: He, colorCorrection: We = {} },
25800
25834
  pointerdown: je = () => {
25801
25835
  },
25802
25836
  pointerout: Ve = () => {
@@ -25807,23 +25841,23 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25807
25841
  useCustomEventListener(Events.PAUSE, () => {
25808
25842
  _e.current && _e.current.pause();
25809
25843
  });
25810
- const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, je, Ve, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = We, {
25811
- temperatureFilter: Ye,
25812
- sharpnessFilter: qe,
25844
+ const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, je, Ve, 1), { blurRadius: ke = 0, vignette: Ge = 0, noise: Ne = 0 } = We, {
25845
+ temperatureFilter: qe,
25846
+ sharpnessFilter: Ye,
25813
25847
  hueFilter: Ke,
25814
- blurFilter: et,
25815
- adjustmentFilter: Je,
25816
- vignetteFilter: nt,
25817
- noiseFilter: at
25848
+ blurFilter: rt,
25849
+ adjustmentFilter: it,
25850
+ vignetteFilter: Qe,
25851
+ noiseFilter: st
25818
25852
  } = withFiltersHook(We);
25819
25853
  React.useLayoutEffect(() => {
25820
- K.current = document.createElement("canvas"), K.current.setAttribute("id", "lottieContainersvg"), K.current.setAttribute("id", `${Te}lottieContainer`), K.current.setAttribute("width", `${Ge}`), K.current.setAttribute("height", `${He}`);
25821
- const Qe = Se.current;
25822
- return Qe.appendChild(K.current), () => {
25823
- K.current && Qe.removeChild(K.current);
25854
+ K.current = document.createElement("canvas"), K.current.setAttribute("id", "lottieContainersvg"), K.current.setAttribute("id", `${Te}lottieContainer`), K.current.setAttribute("width", `${Ue}`), K.current.setAttribute("height", `${He}`);
25855
+ const Ze = Se.current;
25856
+ return Ze.appendChild(K.current), () => {
25857
+ K.current && Ze.removeChild(K.current);
25824
25858
  };
25825
25859
  }, []), React.useEffect(() => {
25826
- async function Qe() {
25860
+ async function Ze() {
25827
25861
  _e.current && _e.current.destroy(), K.current.removeAttribute("style"), _e.current = lottie.loadAnimation({
25828
25862
  container: K.current || document.getElementById("lottieroot"),
25829
25863
  renderer: "canvas",
@@ -25840,12 +25874,12 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25840
25874
  }
25841
25875
  }), _e.current.addEventListener("data_ready", () => {
25842
25876
  if (K.current && K.current.setAttribute("style", "display:none"), _e.current && _e.current.renderer.canvasContext) {
25843
- const tt = _e.current.totalFrames;
25844
- Z.current.totalFrames = tt;
25845
- const rt = _e.current.getDuration();
25846
- Z.current.totalDuration = rt;
25847
- const it = _e.current.renderer.canvasContext.canvas, Ze = PIXI.Texture.from(it);
25848
- J.current = Ze, V(!0), B(rt);
25877
+ const et = _e.current.totalFrames;
25878
+ Z.current.totalFrames = et;
25879
+ const nt = _e.current.getDuration();
25880
+ Z.current.totalDuration = nt;
25881
+ const tt = _e.current.renderer.canvasContext.canvas, Je = PIXI.Texture.from(tt);
25882
+ J.current = Je, V(!0), B(nt);
25849
25883
  }
25850
25884
  }), _e.current.addEventListener("loaded_images", () => {
25851
25885
  }), _e.current.addEventListener("complete", () => {
@@ -25853,42 +25887,42 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25853
25887
  }), _e.current.addEventListener("enterFrame", () => {
25854
25888
  }), _e.current.addEventListener("config_ready", () => {
25855
25889
  console.log("config_ready", _e.current);
25856
- }), _e.current.addEventListener("error", (tt) => {
25857
- console.log("error", tt);
25890
+ }), _e.current.addEventListener("error", (et) => {
25891
+ console.log("error", et);
25858
25892
  });
25859
25893
  }
25860
- return Qe(), () => {
25894
+ return Ze(), () => {
25861
25895
  _e.current && (_e.current.removeEventListener("complete"), _e.current.removeEventListener("config_ready"), _e.current.removeEventListener("enterFrame"), _e.current.removeEventListener("loaded_images"), _e.current.removeEventListener("loopComplete"), _e.current.removeEventListener("data_ready"), _e.current.removeEventListener("error"), _e.current.destroy());
25862
25896
  };
25863
25897
  }, [Ae, Te]), React.useEffect(() => (J.current && J.current.update(), () => {
25864
25898
  }), [U]);
25865
- const ot = (Qe) => {
25899
+ const at = (Ze) => {
25866
25900
  if (_e.current && X.current && xe.current) {
25867
- const rt = Qe(xe.current.time()) / xe.current.duration() * Z.current.totalFrames, it = Z.current.totalFrames;
25868
- let Ze = rt;
25869
- Ze = Math.round(Math.floor(Ze)), Ze >= it ? (_e.current.goToAndStop(0, !0), J.current && J.current.update(), Z.current.isPlaying = !1) : (_e.current.goToAndStop(Ze, !0), J.current && J.current.update(), Z.current.isPlaying = !0);
25901
+ const nt = Ze(xe.current.time()) / xe.current.duration() * Z.current.totalFrames, tt = Z.current.totalFrames;
25902
+ let Je = nt;
25903
+ Je = Math.round(Math.floor(Je)), Je >= tt ? (_e.current.goToAndStop(0, !0), J.current && J.current.update(), Z.current.isPlaying = !1) : (_e.current.goToAndStop(Je, !0), J.current && J.current.update(), Z.current.isPlaying = !0);
25870
25904
  }
25871
25905
  };
25872
25906
  return React.useEffect(() => {
25873
- let Qe = gsap$2.context(() => {
25907
+ let Ze = gsap$2.context(() => {
25874
25908
  });
25875
25909
  if (Y.current && Xe.current && I > 0) {
25876
- const tt = Number(Ee) - Number(Me);
25877
- xe.current && (xe.current.kill(), Xe.current.remove(xe.current)), Qe = gsap$2.context(() => {
25878
- const rt = gsap$2.utils.wrap(Me, I);
25910
+ const et = Number(Ee) - Number(Me);
25911
+ xe.current && (xe.current.kill(), Xe.current.remove(xe.current)), Ze = gsap$2.context(() => {
25912
+ const nt = gsap$2.utils.wrap(Me, I);
25879
25913
  xe.current = gsap$2.timeline({}).to(
25880
25914
  Y.current,
25881
25915
  {
25882
- duration: Number(tt),
25883
- onUpdate: ot,
25884
- onUpdateParams: [rt, we, Pe]
25916
+ duration: Number(et),
25917
+ onUpdate: at,
25918
+ onUpdateParams: [nt, we, Pe]
25885
25919
  },
25886
25920
  we
25887
25921
  ), Xe.current.add(xe.current, Me);
25888
25922
  });
25889
25923
  }
25890
25924
  return () => {
25891
- xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Qe.revert();
25925
+ xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Ze.revert();
25892
25926
  };
25893
25927
  }, [
25894
25928
  Me,
@@ -25897,7 +25931,7 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25897
25931
  Pe,
25898
25932
  Te,
25899
25933
  I,
25900
- ke
25934
+ Oe
25901
25935
  ]), /* @__PURE__ */ jsxRuntimeExports.jsx(
25902
25936
  AbstractContainer,
25903
25937
  {
@@ -25911,7 +25945,7 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25911
25945
  Sprite,
25912
25946
  {
25913
25947
  texture: J.current,
25914
- width: Ge,
25948
+ width: Ue,
25915
25949
  height: He,
25916
25950
  anchor: 0.5,
25917
25951
  x: $e,
@@ -25920,16 +25954,16 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25920
25954
  alpha: Ie ? 1 : 0,
25921
25955
  ...!Fe && Ie && { interactive: !0, pointerdown: je },
25922
25956
  filters: [
25923
- Ye,
25924
25957
  qe,
25958
+ Ye,
25925
25959
  Ke,
25926
- Je,
25960
+ it,
25927
25961
  // conditionally add blur filter
25928
- ...Oe > 0 ? [et] : [],
25962
+ ...ke > 0 ? [rt] : [],
25929
25963
  // conditionally add vignette filter
25930
- ...Ue > 0 ? [nt] : [],
25964
+ ...Ge > 0 ? [Qe] : [],
25931
25965
  // conditionally add noise filter
25932
- ...Ne > 0 ? [at] : []
25966
+ ...Ne > 0 ? [st] : []
25933
25967
  ]
25934
25968
  }
25935
25969
  ) })