@justeattakeaway/pie-lottie-player 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ const d = class d extends m {
6
6
  this.getAttribute("v") || this.setAttribute("v", d.v);
7
7
  }
8
8
  };
9
- d.v = "0.4.3";
9
+ d.v = "0.4.5";
10
10
  let p = d;
11
11
  const A = ["forward", "reverse"], l = {
12
12
  loopDisabled: !1,
@@ -24,7 +24,7 @@ let i = class extends p {
24
24
  super(...arguments), this._animationSrc = "", this._autoPlayDisabled = l.autoPlayDisabled, this._loopDisabled = l.loopDisabled, this._speed = l.speed, this._direction = l.direction;
25
25
  }
26
26
  async firstUpdated() {
27
- const t = await import("./lottie_light_canvas.min-BoHyO1GA.js").then((e) => e.l);
27
+ const t = await import("./lottie_light_canvas.min-CNFOaiJT.js").then((e) => e.l);
28
28
  t && t.default && (this._lottie = t.default, this._loadAnimation());
29
29
  }
30
30
  disconnectedCallback() {
@@ -19,10 +19,10 @@ function fa(Tt) {
19
19
  }
20
20
  var ze = { exports: {} }, ca = ze.exports, Mi;
21
21
  function da() {
22
- return Mi || (Mi = 1, function(Tt, Oe) {
23
- typeof document < "u" && typeof navigator < "u" && function(ie, It) {
22
+ return Mi || (Mi = 1, (function(Tt, Oe) {
23
+ typeof document < "u" && typeof navigator < "u" && (function(ie, It) {
24
24
  Tt.exports = It();
25
- }(ca, function() {
25
+ })(ca, (function() {
26
26
  var ie = "", It = !1, Jt = -999999, dt = function() {
27
27
  return ie;
28
28
  };
@@ -38,7 +38,7 @@ function da() {
38
38
  }
39
39
  return e.prototype = t, e;
40
40
  }
41
- var Ei = function() {
41
+ var Ei = (function() {
42
42
  function t(e) {
43
43
  this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
44
44
  }
@@ -78,7 +78,7 @@ function da() {
78
78
  } }, function() {
79
79
  return new t();
80
80
  };
81
- }(), ht = /* @__PURE__ */ function() {
81
+ })(), ht = /* @__PURE__ */ (function() {
82
82
  function t(e, s) {
83
83
  var i, a = 0, r = [];
84
84
  switch (e) {
@@ -95,7 +95,7 @@ function da() {
95
95
  return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? function(e, s) {
96
96
  return e === "float32" ? new Float32Array(s) : e === "int16" ? new Int16Array(s) : e === "uint8c" ? new Uint8ClampedArray(s) : t(e, s);
97
97
  } : t;
98
- }();
98
+ })();
99
99
  function K(t) {
100
100
  return Array.apply(null, { length: t });
101
101
  }
@@ -197,7 +197,7 @@ function da() {
197
197
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
198
198
  }, hs(t);
199
199
  }
200
- var Ce = /* @__PURE__ */ function() {
200
+ var Ce = /* @__PURE__ */ (function() {
201
201
  var t, e, s = 1, i = [], a = { onmessage: function() {
202
202
  }, postMessage: function(y) {
203
203
  t({ data: y });
@@ -212,8 +212,8 @@ function da() {
212
212
  return t = y, a;
213
213
  }
214
214
  function n() {
215
- e || (e = h(function(y) {
216
- if (r.dataManager || (r.dataManager = function() {
215
+ e || (e = h((function(y) {
216
+ if (r.dataManager || (r.dataManager = (function() {
217
217
  function d(x, T) {
218
218
  var M, _, D, w, P, R, O = x.length;
219
219
  for (_ = 0; _ < O; _ += 1) if ("ks" in (M = x[_]) && !M.completed) {
@@ -226,13 +226,13 @@ function da() {
226
226
  }
227
227
  }
228
228
  function c(x, T) {
229
- var M = function(_, D) {
229
+ var M = (function(_, D) {
230
230
  for (var w = 0, P = D.length; w < P; ) {
231
231
  if (D[w].id === _) return D[w];
232
232
  w += 1;
233
233
  }
234
234
  return null;
235
- }(x, T);
235
+ })(x, T);
236
236
  return M ? M.layers.__used ? JSON.parse(JSON.stringify(M.layers)) : (M.layers.__used = !0, M.layers) : null;
237
237
  }
238
238
  function m(x) {
@@ -249,7 +249,7 @@ function da() {
249
249
  var M = T ? T.split(".") : [100, 100, 100];
250
250
  return x[0] > M[0] || !(M[0] > x[0]) && (x[1] > M[1] || !(M[1] > x[1]) && (x[2] > M[2] || !(M[2] > x[2]) && null));
251
251
  }
252
- var p, u = /* @__PURE__ */ function() {
252
+ var p, u = /* @__PURE__ */ (function() {
253
253
  var x = [4, 4, 14];
254
254
  function T(M) {
255
255
  var _, D, w, P = M.length;
@@ -261,7 +261,7 @@ function da() {
261
261
  for (_ = 0; _ < D; _ += 1) M.assets[_].layers && T(M.assets[_].layers);
262
262
  }
263
263
  };
264
- }(), v = (p = [4, 7, 99], function(x) {
264
+ })(), v = (p = [4, 7, 99], function(x) {
265
265
  if (x.chars && !f(p, x.v)) {
266
266
  var T, M = x.chars.length;
267
267
  for (T = 0; T < M; T += 1) {
@@ -269,7 +269,7 @@ function da() {
269
269
  _.data && _.data.shapes && (m(_.data.shapes), _.data.ip = 0, _.data.op = 99999, _.data.st = 0, _.data.sr = 1, _.data.ks = { p: { k: [0, 0], a: 0 }, s: { k: [100, 100], a: 0 }, a: { k: [0, 0], a: 0 }, r: { k: 0, a: 0 }, o: { k: 100, a: 0 } }, x.chars[T].t || (_.data.shapes.push({ ty: "no" }), _.data.shapes[0].it.push({ p: { k: [0, 0], a: 0 }, s: { k: [100, 100], a: 0 }, a: { k: [0, 0], a: 0 }, r: { k: 0, a: 0 }, o: { k: 100, a: 0 }, sk: { k: 0, a: 0 }, sa: { k: 0, a: 0 }, ty: "tr" })));
270
270
  }
271
271
  }
272
- }), k = /* @__PURE__ */ function() {
272
+ }), k = /* @__PURE__ */ (function() {
273
273
  var x = [5, 7, 15];
274
274
  function T(M) {
275
275
  var _, D, w = M.length;
@@ -281,7 +281,7 @@ function da() {
281
281
  for (_ = 0; _ < D; _ += 1) M.assets[_].layers && T(M.assets[_].layers);
282
282
  }
283
283
  };
284
- }(), C = /* @__PURE__ */ function() {
284
+ })(), C = /* @__PURE__ */ (function() {
285
285
  var x = [4, 1, 9];
286
286
  function T(_) {
287
287
  var D, w, P, R = _.length;
@@ -299,7 +299,7 @@ function da() {
299
299
  for (D = 0; D < w; D += 1) _.assets[D].layers && M(_.assets[D].layers);
300
300
  }
301
301
  };
302
- }(), A = /* @__PURE__ */ function() {
302
+ })(), A = /* @__PURE__ */ (function() {
303
303
  var x = [4, 4, 18];
304
304
  function T(_) {
305
305
  var D, w, P;
@@ -324,20 +324,20 @@ function da() {
324
324
  for (D = 0; D < w; D += 1) _.assets[D].layers && M(_.assets[D].layers);
325
325
  }
326
326
  };
327
- }();
327
+ })();
328
328
  function F(x) {
329
329
  x.t.a.length === 0 && x.t.p;
330
330
  }
331
331
  var I = { completeData: function(x) {
332
- x.__complete || (C(x), u(x), v(x), k(x), A(x), d(x.layers, x.assets), function(T, M) {
332
+ x.__complete || (C(x), u(x), v(x), k(x), A(x), d(x.layers, x.assets), (function(T, M) {
333
333
  if (T) {
334
334
  var _ = 0, D = T.length;
335
335
  for (_ = 0; _ < D; _ += 1) T[_].t === 1 && (T[_].data.layers = c(T[_].data.refId, M), d(T[_].data.layers, M));
336
336
  }
337
- }(x.chars, x.assets), x.__complete = !0);
337
+ })(x.chars, x.assets), x.__complete = !0);
338
338
  } };
339
339
  return I.checkColors = C, I.checkChars = v, I.checkPathProperties = k, I.checkShapes = A, I.completeLayers = d, I;
340
- }()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ function() {
340
+ })()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ (function() {
341
341
  function d(c) {
342
342
  var m = c.getResponseHeader("content-type");
343
343
  return m && c.responseType === "json" && m.indexOf("json") !== -1 || c.response && hs(c.response) === "object" ? c.response : c.response && typeof c.response == "string" ? JSON.parse(c.response) : c.responseText ? JSON.parse(c.responseText) : null;
@@ -363,20 +363,20 @@ function da() {
363
363
  }
364
364
  u.send();
365
365
  } };
366
- }()), y.data.type === "loadAnimation") r.assetLoader.load(y.data.path, y.data.fullPath, function(d) {
366
+ })()), y.data.type === "loadAnimation") r.assetLoader.load(y.data.path, y.data.fullPath, (function(d) {
367
367
  r.dataManager.completeData(d), r.postMessage({ id: y.data.id, payload: d, status: "success" });
368
- }, function() {
368
+ }), (function() {
369
369
  r.postMessage({ id: y.data.id, status: "error" });
370
- });
370
+ }));
371
371
  else if (y.data.type === "complete") {
372
372
  var o = y.data.animation;
373
373
  r.dataManager.completeData(o), r.postMessage({ id: y.data.id, payload: o, status: "success" });
374
- } else y.data.type === "loadData" && r.assetLoader.load(y.data.path, y.data.fullPath, function(d) {
374
+ } else y.data.type === "loadData" && r.assetLoader.load(y.data.path, y.data.fullPath, (function(d) {
375
375
  r.postMessage({ id: y.data.id, payload: d, status: "success" });
376
- }, function() {
376
+ }), (function() {
377
377
  r.postMessage({ id: y.data.id, status: "error" });
378
- });
379
- }), e.onmessage = function(y) {
378
+ }));
379
+ })), e.onmessage = function(y) {
380
380
  var o = y.data, d = o.id, c = i[d];
381
381
  i[d] = null, o.status === "success" ? c.onComplete(o.payload) : c.onError && c.onError();
382
382
  });
@@ -398,13 +398,13 @@ function da() {
398
398
  var c = g(o, d);
399
399
  e.postMessage({ type: "complete", animation: y, id: c });
400
400
  } };
401
- }(), zi = function() {
402
- var t = function() {
401
+ })(), zi = (function() {
402
+ var t = (function() {
403
403
  var n = Pt("canvas");
404
404
  n.width = 1, n.height = 1;
405
405
  var g = n.getContext("2d");
406
406
  return g.fillStyle = "rgba(0,0,0,0)", g.fillRect(0, 0, 1, 1), n;
407
- }();
407
+ })();
408
408
  function e() {
409
409
  this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
410
410
  }
@@ -474,7 +474,7 @@ function da() {
474
474
  }, imageLoaded: e, footageLoaded: s, setCacheType: function(n, g) {
475
475
  n === "svg" ? (this._elementHelper = g, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
476
476
  } }, h;
477
- }();
477
+ })();
478
478
  function Bs() {
479
479
  }
480
480
  Bs.prototype = { triggerEvent: function(t, e) {
@@ -491,7 +491,7 @@ function da() {
491
491
  }
492
492
  } else this._cbs[t] = null;
493
493
  } };
494
- var Oi = /* @__PURE__ */ function() {
494
+ var Oi = /* @__PURE__ */ (function() {
495
495
  function t(e) {
496
496
  for (var s, i = e.split(`\r
497
497
  `), a = {}, r = 0, h = 0; h < i.length; h += 1) (s = i[h].split(":")).length === 2 && (a[s[0]] = s[1].trim(), r += 1);
@@ -514,7 +514,7 @@ function da() {
514
514
  }
515
515
  return s;
516
516
  };
517
- }(), Ni = /* @__PURE__ */ function() {
517
+ })(), Ni = /* @__PURE__ */ (function() {
518
518
  function t(e) {
519
519
  this.compositions.push(e);
520
520
  }
@@ -528,7 +528,7 @@ function da() {
528
528
  }
529
529
  return e.compositions = [], e.currentFrame = 0, e.registerComposition = t, e;
530
530
  };
531
- }(), xe = {};
531
+ })(), xe = {};
532
532
  function We(t) {
533
533
  return We = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
534
534
  return typeof e;
@@ -552,11 +552,11 @@ function da() {
552
552
  }, V.prototype.setData = function(t, e) {
553
553
  e && We(e) !== "object" && (e = JSON.parse(e));
554
554
  var s = { wrapper: t, animationData: e }, i = t.attributes;
555
- s.path = i.getNamedItem("data-animation-path") ? i.getNamedItem("data-animation-path").value : i.getNamedItem("data-bm-path") ? i.getNamedItem("data-bm-path").value : i.getNamedItem("bm-path") ? i.getNamedItem("bm-path").value : "", s.animType = i.getNamedItem("data-anim-type") ? i.getNamedItem("data-anim-type").value : i.getNamedItem("data-bm-type") ? i.getNamedItem("data-bm-type").value : i.getNamedItem("bm-type") ? i.getNamedItem("bm-type").value : i.getNamedItem("data-bm-renderer") ? i.getNamedItem("data-bm-renderer").value : i.getNamedItem("bm-renderer") ? i.getNamedItem("bm-renderer").value : function() {
555
+ s.path = i.getNamedItem("data-animation-path") ? i.getNamedItem("data-animation-path").value : i.getNamedItem("data-bm-path") ? i.getNamedItem("data-bm-path").value : i.getNamedItem("bm-path") ? i.getNamedItem("bm-path").value : "", s.animType = i.getNamedItem("data-anim-type") ? i.getNamedItem("data-anim-type").value : i.getNamedItem("data-bm-type") ? i.getNamedItem("data-bm-type").value : i.getNamedItem("bm-type") ? i.getNamedItem("bm-type").value : i.getNamedItem("data-bm-renderer") ? i.getNamedItem("data-bm-renderer").value : i.getNamedItem("bm-renderer") ? i.getNamedItem("bm-renderer").value : (function() {
556
556
  if (xe.canvas) return "canvas";
557
557
  for (var h in xe) if (xe[h]) return h;
558
558
  return "";
559
- }() || "canvas";
559
+ })() || "canvas";
560
560
  var a = i.getNamedItem("data-anim-loop") ? i.getNamedItem("data-anim-loop").value : i.getNamedItem("data-bm-loop") ? i.getNamedItem("data-bm-loop").value : i.getNamedItem("bm-loop") ? i.getNamedItem("bm-loop").value : "";
561
561
  a === "false" ? s.loop = !1 : a === "true" ? s.loop = !0 : a !== "" && (s.loop = parseInt(a, 10));
562
562
  var r = i.getNamedItem("data-anim-autoplay") ? i.getNamedItem("data-anim-autoplay").value : i.getNamedItem("data-bm-autoplay") ? i.getNamedItem("data-bm-autoplay").value : !i.getNamedItem("bm-autoplay") || i.getNamedItem("bm-autoplay").value;
@@ -748,7 +748,7 @@ function da() {
748
748
  var e = new Vi(t, this.currentFrame);
749
749
  this.triggerEvent("error", e), this.onError && this.onError.call(this, e);
750
750
  };
751
- var lt = function() {
751
+ var lt = (function() {
752
752
  var t = {}, e = [], s = 0, i = 0, a = 0, r = !0, h = !1;
753
753
  function n(f) {
754
754
  for (var p = 0, u = f.target; p < i; ) e[p].animation === u && (e.splice(p, 1), p -= 1, i -= 1, u.isPaused || o()), p += 1;
@@ -840,7 +840,7 @@ function da() {
840
840
  for (f = 0; f < p; f += 1) u.push(e[f].animation);
841
841
  return u;
842
842
  }, t;
843
- }(), ke = function() {
843
+ })(), ke = (function() {
844
844
  var t = { getBezierEasing: function(d, c, m, l, f) {
845
845
  var p = f || ("bez_" + d + "_" + c + "_" + m + "_" + l).replace(/\./g, "p");
846
846
  if (e[p]) return e[p];
@@ -876,22 +876,22 @@ function da() {
876
876
  }, _getTForX: function(d) {
877
877
  for (var c = this._p[0], m = this._p[2], l = this._mSampleValues, f = 0, p = 1, u = s - 1; p !== u && l[p] <= d; ++p) f += i;
878
878
  var v = f + (d - l[--p]) / (l[p + 1] - l[p]) * i, k = y(v, c, m);
879
- return k >= 1e-3 ? function(C, A, F, I) {
879
+ return k >= 1e-3 ? (function(C, A, F, I) {
880
880
  for (var x = 0; x < 4; ++x) {
881
881
  var T = y(A, F, I);
882
882
  if (T === 0) return A;
883
883
  A -= (g(A, F, I) - C) / T;
884
884
  }
885
885
  return A;
886
- }(d, v, c, m) : k === 0 ? v : function(C, A, F, I, x) {
886
+ })(d, v, c, m) : k === 0 ? v : (function(C, A, F, I, x) {
887
887
  var T, M, _ = 0;
888
888
  do
889
889
  (T = g(M = A + (F - A) / 2, I, x) - C) > 0 ? F = M : A = M;
890
890
  while (Math.abs(T) > 1e-7 && ++_ < 10);
891
891
  return M;
892
- }(d, f, f + i, c, m);
892
+ })(d, f, f + i, c, m);
893
893
  } }, t;
894
- }(), Ws = { double: function(t) {
894
+ })(), Ws = { double: function(t) {
895
895
  return t.concat(K(t.length));
896
896
  } }, je = function(t, e, s) {
897
897
  var i = 0, a = t, r = K(a);
@@ -900,15 +900,15 @@ function da() {
900
900
  }, release: function(h) {
901
901
  i === a && (r = Ws.double(r), a *= 2), s && s(h), r[i] = h, i += 1;
902
902
  } };
903
- }, js = je(8, function() {
903
+ }, js = je(8, (function() {
904
904
  return { addedLength: 0, percents: ht("float32", Be()), lengths: ht("float32", Be()) };
905
- }), Js = je(8, function() {
905
+ })), Js = je(8, (function() {
906
906
  return { lengths: [], totalLength: 0 };
907
- }, function(t) {
907
+ }), (function(t) {
908
908
  var e, s = t.lengths.length;
909
909
  for (e = 0; e < s; e += 1) js.release(t.lengths[e]);
910
910
  t.lengths.length = 0;
911
- }), Vt = function() {
911
+ })), Vt = (function() {
912
912
  var t = Math;
913
913
  function e(y, o, d, c, m, l) {
914
914
  var f = y * c + o * m + d * l - m * c - l * y - d * o;
@@ -969,7 +969,7 @@ function da() {
969
969
  var v, k = t.sqrt(t.pow(c - y, 2) + t.pow(m - o, 2) + t.pow(l - d, 2)), C = t.sqrt(t.pow(f - y, 2) + t.pow(p - o, 2) + t.pow(u - d, 2)), A = t.sqrt(t.pow(f - c, 2) + t.pow(p - m, 2) + t.pow(u - l, 2));
970
970
  return (v = k > C ? k > A ? k - C - A : A - C - k : A > C ? A - C - k : C - k - A) > -1e-4 && v < 1e-4;
971
971
  } };
972
- }(), ae = Jt, Ys = Math.abs;
972
+ })(), ae = Jt, Ys = Math.abs;
973
973
  function Xs(t, e) {
974
974
  var s, i = this.offsetTime;
975
975
  this.propType === "multidimensional" && (s = ht("float32", this.pv.length));
@@ -1014,10 +1014,10 @@ function da() {
1014
1014
  else if (t <= D) s[0] = a.s[0], s[1] = a.s[1], s[2] = a.s[2];
1015
1015
  else {
1016
1016
  var $ = Hs(a.s), Q = Hs(u);
1017
- v = s, k = function(J, tt, j) {
1017
+ v = s, k = (function(J, tt, j) {
1018
1018
  var Y, ct, bt, rt, nt, at = [], q = J[0], Ht = J[1], Gt = J[2], jt = J[3], _t = tt[0], kt = tt[1], ot = tt[2], St = tt[3];
1019
1019
  return (ct = q * _t + Ht * kt + Gt * ot + jt * St) < 0 && (ct = -ct, _t = -_t, kt = -kt, ot = -ot, St = -St), 1 - ct > 1e-6 ? (Y = Math.acos(ct), bt = Math.sin(Y), rt = Math.sin((1 - j) * Y) / bt, nt = Math.sin(j * Y) / bt) : (rt = 1 - j, nt = j), at[0] = rt * q + nt * _t, at[1] = rt * Ht + nt * kt, at[2] = rt * Gt + nt * ot, at[3] = rt * jt + nt * St, at;
1020
- }($, Q, (t - D) / (_ - D)), C = k[0], A = k[1], F = k[2], I = k[3], x = Math.atan2(2 * A * I - 2 * C * F, 1 - 2 * A * A - 2 * F * F), T = Math.asin(2 * C * A + 2 * F * I), M = Math.atan2(2 * C * I - 2 * A * F, 1 - 2 * C * C - 2 * F * F), v[0] = x / et, v[1] = T / et, v[2] = M / et;
1020
+ })($, Q, (t - D) / (_ - D)), C = k[0], A = k[1], F = k[2], I = k[3], x = Math.atan2(2 * A * I - 2 * C * F, 1 - 2 * A * A - 2 * F * F), T = Math.asin(2 * C * A + 2 * F * I), M = Math.atan2(2 * C * I - 2 * A * F, 1 - 2 * C * C - 2 * F * F), v[0] = x / et, v[1] = T / et, v[2] = M / et;
1021
1021
  }
1022
1022
  else for (l = 0; l < f; l += 1) a.h !== 1 && (t >= _ ? y = 1 : t < D ? y = 0 : (a.o.x.constructor === Array ? (h.__fnct || (h.__fnct = []), h.__fnct[l] ? c = h.__fnct[l] : (b = a.o.x[l] === void 0 ? a.o.x[0] : a.o.x[l], S = a.o.y[l] === void 0 ? a.o.y[0] : a.o.y[l], L = a.i.x[l] === void 0 ? a.i.x[0] : a.i.x[l], N = a.i.y[l] === void 0 ? a.i.y[0] : a.i.y[l], c = ke.getBezierEasing(b, S, L, N).get, h.__fnct[l] = c)) : h.__fnct ? c = h.__fnct : (b = a.o.x, S = a.o.y, L = a.i.x, N = a.i.y, c = ke.getBezierEasing(b, S, L, N).get, a.keyframeMetadata = c), y = c((t - D) / (_ - D)))), u = r.s || a.e, U = a.h === 1 ? a.s[l] : a.s[l] + (u[l] - a.s[l]) * y, this.propType === "multidimensional" ? s[l] = U : s = U;
1023
1023
  }
@@ -1102,9 +1102,9 @@ function da() {
1102
1102
  }, initDynamicPropertyContainer: function(t) {
1103
1103
  this.container = t, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
1104
1104
  } };
1105
- var re = je(8, function() {
1105
+ var re = je(8, (function() {
1106
1106
  return ht("float32", 2);
1107
- });
1107
+ }));
1108
1108
  function Yt() {
1109
1109
  this.c = !1, this._length = 0, this._maxLength = 8, this.v = K(this._maxLength), this.o = K(this._maxLength), this.i = K(this._maxLength);
1110
1110
  }
@@ -1145,13 +1145,13 @@ function da() {
1145
1145
  }, Yt.prototype.length = function() {
1146
1146
  return this._length;
1147
1147
  };
1148
- var ls, yt = ((ls = je(4, function() {
1148
+ var ls, yt = ((ls = je(4, (function() {
1149
1149
  return new Yt();
1150
- }, function(t) {
1150
+ }), (function(t) {
1151
1151
  var e, s = t._length;
1152
1152
  for (e = 0; e < s; e += 1) re.release(t.v[e]), re.release(t.i[e]), re.release(t.o[e]), t.v[e] = null, t.i[e] = null, t.o[e] = null;
1153
1153
  t._length = 0, t.c = !1;
1154
- })).clone = function(t) {
1154
+ }))).clone = function(t) {
1155
1155
  var e, s = ls.newElement(), i = t._length === void 0 ? t.v.length : t._length;
1156
1156
  for (s.setLength(i), s.c = t.c, e = 0; e < i; e += 1) s.setTripleAt(t.v[e][0], t.v[e][1], t.o[e][0], t.o[e][1], t.i[e][0], t.i[e][1], e);
1157
1157
  return s;
@@ -1172,7 +1172,7 @@ function da() {
1172
1172
  var e, s = t._length;
1173
1173
  for (e = 0; e < s; e += 1) yt.release(t.shapes[e]);
1174
1174
  t._length = 0, fe === fs && (Pe = Ws.double(Pe), fs *= 2), Pe[fe] = t, fe += 1;
1175
- } }, fe = 0, Pe = K(fs = 4), Ks), de = function() {
1175
+ } }, fe = 0, Pe = K(fs = 4), Ks), de = (function() {
1176
1176
  var t = -999999;
1177
1177
  function e(m, l, f) {
1178
1178
  var p, u, v, k, C, A, F, I, x, T = f.lastIndex, M = this.keyframes;
@@ -1233,7 +1233,7 @@ function da() {
1233
1233
  this.v = yt.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, p), this.pv = yt.clone(this.v), this.localShapeCollection = ce.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = t, this.reset = i, this._caching = { lastFrame: t, lastIndex: 0 }, this.effectsSequence = [s.bind(this)];
1234
1234
  }
1235
1235
  h.prototype.interpolateShape = e, h.prototype.getValue = r, h.prototype.setVValue = a, h.prototype.addEffect = n, g.prototype.getValue = r, g.prototype.interpolateShape = e, g.prototype.setVValue = a, g.prototype.addEffect = n;
1236
- var y = function() {
1236
+ var y = (function() {
1237
1237
  var m = Kt;
1238
1238
  function l(f, p) {
1239
1239
  this.v = yt.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = ce.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = p.d, this.elem = f, this.comp = f.comp, this.frameId = -1, this.initDynamicPropertyContainer(f), this.p = E.getProp(f, p.p, 1, 0, this), this.s = E.getProp(f, p.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
@@ -1244,7 +1244,7 @@ function da() {
1244
1244
  var f = this.p.v[0], p = this.p.v[1], u = this.s.v[0] / 2, v = this.s.v[1] / 2, k = this.d !== 3, C = this.v;
1245
1245
  C.v[0][0] = f, C.v[0][1] = p - v, C.v[1][0] = k ? f + u : f - u, C.v[1][1] = p, C.v[2][0] = f, C.v[2][1] = p + v, C.v[3][0] = k ? f - u : f + u, C.v[3][1] = p, C.i[0][0] = k ? f - u * m : f + u * m, C.i[0][1] = p - v, C.i[1][0] = k ? f + u : f - u, C.i[1][1] = p - v * m, C.i[2][0] = k ? f + u * m : f - u * m, C.i[2][1] = p + v, C.i[3][0] = k ? f - u : f + u, C.i[3][1] = p + v * m, C.o[0][0] = k ? f + u * m : f - u * m, C.o[0][1] = p - v, C.o[1][0] = k ? f + u : f - u, C.o[1][1] = p + v * m, C.o[2][0] = k ? f - u * m : f + u * m, C.o[2][1] = p + v, C.o[3][0] = k ? f - u : f + u, C.o[3][1] = p - v * m;
1246
1246
  } }, W([ut], l), l;
1247
- }(), o = function() {
1247
+ })(), o = (function() {
1248
1248
  function m(l, f) {
1249
1249
  this.v = yt.newElement(), this.v.setPathData(!0, 0), this.elem = l, this.comp = l.comp, this.data = f, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(l), f.sy === 1 ? (this.ir = E.getProp(l, f.ir, 0, 0, this), this.is = E.getProp(l, f.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = E.getProp(l, f.pt, 0, 0, this), this.p = E.getProp(l, f.p, 1, 0, this), this.r = E.getProp(l, f.r, 0, et, this), this.or = E.getProp(l, f.or, 0, 0, this), this.os = E.getProp(l, f.os, 0, 0.01, this), this.localShapeCollection = ce.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
1250
1250
  }
@@ -1267,7 +1267,7 @@ function da() {
1267
1267
  }
1268
1268
  this.paths.length = 0, this.paths[0] = this.v;
1269
1269
  } }, W([ut], m), m;
1270
- }(), d = function() {
1270
+ })(), d = (function() {
1271
1271
  function m(l, f) {
1272
1272
  this.v = yt.newElement(), this.v.c = !0, this.localShapeCollection = ce.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = l, this.comp = l.comp, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(l), this.p = E.getProp(l, f.p, 1, 0, this), this.s = E.getProp(l, f.s, 1, 0, this), this.r = E.getProp(l, f.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
1273
1273
  }
@@ -1277,7 +1277,7 @@ function da() {
1277
1277
  }, getValue: function() {
1278
1278
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
1279
1279
  }, reset: i }, W([ut], m), m;
1280
- }(), c = { getShapeProp: function(m, l, f) {
1280
+ })(), c = { getShapeProp: function(m, l, f) {
1281
1281
  var p;
1282
1282
  return f === 3 || f === 4 ? p = (f === 3 ? l.pt : l.ks).k.length ? new g(m, l, f) : new h(m, l, f) : f === 5 ? p = new d(m, l) : f === 6 ? p = new y(m, l) : f === 7 && (p = new o(m, l)), p.k && m.addDynamicProperty(p), p;
1283
1283
  }, getConstructorFunction: function() {
@@ -1286,7 +1286,7 @@ function da() {
1286
1286
  return g;
1287
1287
  } };
1288
1288
  return c;
1289
- }(), st = /* @__PURE__ */ function() {
1289
+ })(), st = /* @__PURE__ */ (function() {
1290
1290
  var t = Math.cos, e = Math.sin, s = Math.tan, i = Math.round;
1291
1291
  function a() {
1292
1292
  return this.props[0] = 1, this.props[1] = 0, this.props[2] = 0, this.props[3] = 0, this.props[4] = 0, this.props[5] = 1, this.props[6] = 0, this.props[7] = 0, this.props[8] = 0, this.props[9] = 0, this.props[10] = 1, this.props[11] = 0, this.props[12] = 0, this.props[13] = 0, this.props[14] = 0, this.props[15] = 1, this;
@@ -1414,7 +1414,7 @@ function da() {
1414
1414
  return function() {
1415
1415
  this.reset = a, this.rotate = r, this.rotateX = h, this.rotateY = n, this.rotateZ = g, this.skew = o, this.skewFromAxis = d, this.shear = y, this.scale = c, this.setTransform = m, this.translate = l, this.transform = f, this.multiply = p, this.applyToPoint = A, this.applyToX = F, this.applyToY = I, this.applyToZ = x, this.applyToPointArray = w, this.applyToTriplePoints = D, this.applyToPointStringified = P, this.toCSS = R, this.to2dCSS = B, this.clone = k, this.cloneFromProps = C, this.equals = v, this.inversePoints = _, this.inversePoint = M, this.getInverseMatrix = T, this._t = this.transform, this.isIdentity = u, this._identity = !0, this._identityCalculated = !1, this.props = ht("float32", 16), this.reset();
1416
1416
  };
1417
- }();
1417
+ })();
1418
1418
  function cs(t) {
1419
1419
  return cs = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1420
1420
  return typeof e;
@@ -1470,29 +1470,29 @@ function da() {
1470
1470
  var Zs = "";
1471
1471
  {
1472
1472
  var $s = document.getElementsByTagName("script"), Qs = $s[$s.length - 1] || { src: "" };
1473
- Zs = Qs.src ? Qs.src.replace(/^[^\?]+\??/, "") : "", function(t) {
1473
+ Zs = Qs.src ? Qs.src.replace(/^[^\?]+\??/, "") : "", (function(t) {
1474
1474
  for (var e = Zs.split("&"), s = 0; s < e.length; s += 1) {
1475
1475
  var i = e[s].split("=");
1476
1476
  if (decodeURIComponent(i[0]) == t) return decodeURIComponent(i[1]);
1477
1477
  }
1478
1478
  return null;
1479
- }("renderer");
1479
+ })("renderer");
1480
1480
  }
1481
- var Ji = setInterval(function() {
1481
+ var Ji = setInterval((function() {
1482
1482
  document.readyState === "complete" && (clearInterval(Ji), Us());
1483
- }, 100);
1483
+ }), 100);
1484
1484
  try {
1485
1485
  cs(Oe) === "object" || (window.bodymovin = H);
1486
1486
  } catch {
1487
1487
  }
1488
- var zt = function() {
1488
+ var zt = (function() {
1489
1489
  var t = {}, e = {};
1490
1490
  return t.registerModifier = function(s, i) {
1491
1491
  e[s] || (e[s] = i);
1492
1492
  }, t.getModifier = function(s, i, a) {
1493
1493
  return new e[s](i, a);
1494
1494
  }, t;
1495
- }();
1495
+ })();
1496
1496
  function At() {
1497
1497
  }
1498
1498
  function Ft() {
@@ -1614,7 +1614,7 @@ function da() {
1614
1614
  }
1615
1615
  this.dynamicProperties.length || (this._mdf = !1);
1616
1616
  };
1617
- var He = function() {
1617
+ var He = (function() {
1618
1618
  var t = [0, 0];
1619
1619
  function e(s, i, a) {
1620
1620
  if (this.elem = s, this.frameId = -1, this.propType = "transform", this.data = i, this.v = new st(), this.pre = new st(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(a || s), i.p && i.p.s ? (this.px = E.getProp(s, i.p.x, 0, 0, this), this.py = E.getProp(s, i.p.y, 0, 0, this), i.p.z && (this.pz = E.getProp(s, i.p.z, 0, 0, this))) : this.p = E.getProp(s, i.p || { k: [0, 0, 0] }, 1, 0, this), i.rx) {
@@ -1661,7 +1661,7 @@ function da() {
1661
1661
  }, e.prototype._addDynamicProperty = ut.prototype.addDynamicProperty, { getTransformProperty: function(s, i, a) {
1662
1662
  return new e(s, i, a);
1663
1663
  } };
1664
- }();
1664
+ })();
1665
1665
  function Ot() {
1666
1666
  }
1667
1667
  function Se() {
@@ -1695,7 +1695,7 @@ function da() {
1695
1695
  var a = i;
1696
1696
  i = s, s = a;
1697
1697
  }
1698
- for (var r = function(g, y, o) {
1698
+ for (var r = (function(g, y, o) {
1699
1699
  if (g === 0) return [];
1700
1700
  var d = y * y - 4 * g * o;
1701
1701
  if (d < 0) return [];
@@ -1703,7 +1703,7 @@ function da() {
1703
1703
  if (d === 0) return [c];
1704
1704
  var m = Math.sqrt(d) / (2 * g);
1705
1705
  return [c - m, c + m];
1706
- }(3 * t.a[e], 2 * t.b[e], t.c[e]), h = 0; h < r.length; h += 1) if (r[h] > 0 && r[h] < 1) {
1706
+ })(3 * t.a[e], 2 * t.b[e], t.c[e]), h = 0; h < r.length; h += 1) if (r[h] > 0 && r[h] < 1) {
1707
1707
  var n = t.point(r[h])[e];
1708
1708
  n < s ? s = n : n > i && (i = n);
1709
1709
  }
@@ -1913,9 +1913,9 @@ function da() {
1913
1913
  var e = -0.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1]) / t, s = e * e - 1 / 3 * (this.b[1] * this.c[0] - this.b[0] * this.c[1]) / t;
1914
1914
  if (s < 0) return [];
1915
1915
  var i = Math.sqrt(s);
1916
- return ds(i) ? i > 0 && i < 1 ? [e] : [] : [e - i, e + i].filter(function(a) {
1916
+ return ds(i) ? i > 0 && i < 1 ? [e] : [] : [e - i, e + i].filter((function(a) {
1917
1917
  return a > 0 && a < 1;
1918
- });
1918
+ }));
1919
1919
  }, it.prototype.split = function(t) {
1920
1920
  if (t <= 0) return [si(this.points[0]), this];
1921
1921
  if (t >= 1) return [this, si(this.points[this.points.length - 1])];
@@ -1962,10 +1962,10 @@ function da() {
1962
1962
  var y = [];
1963
1963
  for (r = 0; r < g; r += 1) n = it.shapeSegment(t, r), y.push(pi(n, e));
1964
1964
  if (!t.c) for (r = g - 1; r >= 0; r -= 1) n = it.shapeSegmentInverted(t, r), y.push(pi(n, e));
1965
- y = function(m) {
1965
+ y = (function(m) {
1966
1966
  for (var l, f = 1; f < m.length; f += 1) l = li(m[f - 1], m[f]), m[f - 1] = l[0], m[f] = l[1];
1967
1967
  return m.length > 1 && (l = li(m[m.length - 1], m[0]), m[m.length - 1] = l[0], m[0] = l[1]), m;
1968
- }(y);
1968
+ })(y);
1969
1969
  var o = null, d = null;
1970
1970
  for (r = 0; r < y.length; r += 1) {
1971
1971
  var c = y[r];
@@ -1980,7 +1980,7 @@ function da() {
1980
1980
  }
1981
1981
  this.dynamicProperties.length || (this._mdf = !1);
1982
1982
  };
1983
- var ne = function() {
1983
+ var ne = (function() {
1984
1984
  var t = { w: 0, size: 0, shapes: [], data: { shapes: [] } }, e = [];
1985
1985
  e = e.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]);
1986
1986
  var s = 127988, i = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
@@ -1990,11 +1990,11 @@ function da() {
1990
1990
  var m = Pt("span");
1991
1991
  m.innerText = "giItT1WQy@!-/#", c.style.position = "absolute", c.style.left = "-10000px", c.style.top = "-10000px", c.style.fontSize = "300px", c.style.fontVariant = "normal", c.style.fontStyle = "normal", c.style.fontWeight = "normal", c.style.letterSpacing = "0", c.appendChild(m), document.body.appendChild(c);
1992
1992
  var l = m.offsetWidth;
1993
- return m.style.fontFamily = function(f) {
1993
+ return m.style.fontFamily = (function(f) {
1994
1994
  var p, u = f.split(","), v = u.length, k = [];
1995
1995
  for (p = 0; p < v; p += 1) u[p] !== "sans-serif" && u[p] !== "monospace" && k.push(u[p]);
1996
1996
  return k.join(",");
1997
- }(o) + ", " + d, { node: m, w: l, parent: c };
1997
+ })(o) + ", " + d, { node: m, w: l, parent: c };
1998
1998
  }
1999
1999
  function r(o, d) {
2000
2000
  var c, m = document.body && d ? "svg" : "canvas", l = fi(o);
@@ -2058,9 +2058,9 @@ function da() {
2058
2058
  }, addFonts: function(o, d) {
2059
2059
  if (o) {
2060
2060
  if (this.chars) return this.isLoaded = !0, void (this.fonts = o.list);
2061
- if (!document.body) return this.isLoaded = !0, o.list.forEach(function(F) {
2061
+ if (!document.body) return this.isLoaded = !0, o.list.forEach((function(F) {
2062
2062
  F.helper = r(F), F.cache = {};
2063
- }), void (this.fonts = o.list);
2063
+ })), void (this.fonts = o.list);
2064
2064
  var c, m = o.list, l = m.length, f = l;
2065
2065
  for (c = 0; c < l; c += 1) {
2066
2066
  var p, u, v = !0;
@@ -2118,7 +2118,7 @@ function da() {
2118
2118
  this.isLoaded = !0;
2119
2119
  } };
2120
2120
  return g.prototype = y, g;
2121
- }();
2121
+ })();
2122
2122
  function ci(t) {
2123
2123
  this.animationData = t;
2124
2124
  }
@@ -2367,9 +2367,9 @@ function da() {
2367
2367
  }
2368
2368
  return t.length === 0 ? e : e.getElementByPath(t);
2369
2369
  }, mt.prototype.setupGlobalData = function(t, e) {
2370
- this.globalData.fontManager = new ne(), this.globalData.slotManager = function(s) {
2370
+ this.globalData.fontManager = new ne(), this.globalData.slotManager = (function(s) {
2371
2371
  return new ci(s);
2372
- }(t), this.globalData.fontManager.addChars(t.chars), this.globalData.fontManager.addFonts(t.fonts, e), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = t.fr, this.globalData.nm = t.nm, this.globalData.compSize = { w: t.w, h: t.h };
2372
+ })(t), this.globalData.fontManager.addChars(t.chars), this.globalData.fontManager.addFonts(t.fonts, e), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = t.fr, this.globalData.nm = t.nm, this.globalData.compSize = { w: t.w, h: t.h };
2373
2373
  };
2374
2374
  var mi = "transformEFfect";
2375
2375
  function Nt() {
@@ -2467,7 +2467,7 @@ function da() {
2467
2467
  }, Qt.prototype.destroy = function() {
2468
2468
  this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
2469
2469
  };
2470
- var Fe = function() {
2470
+ var Fe = (function() {
2471
2471
  var t = {};
2472
2472
  return t.createFilter = function(e, s) {
2473
2473
  var i = z("filter");
@@ -2476,10 +2476,10 @@ function da() {
2476
2476
  var e = z("feColorMatrix");
2477
2477
  return e.setAttribute("type", "matrix"), e.setAttribute("color-interpolation-filters", "sRGB"), e.setAttribute("values", "0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"), e;
2478
2478
  }, t;
2479
- }(), $e = function() {
2479
+ })(), $e = (function() {
2480
2480
  var t = { maskType: !0, svgLumaHidden: !0, offscreenCanvas: typeof OffscreenCanvas < "u" };
2481
2481
  return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (t.maskType = !1), /firefox/i.test(navigator.userAgent) && (t.svgLumaHidden = !1), t;
2482
- }(), ys = {}, gi = "filter_result_";
2482
+ })(), ys = {}, gi = "filter_result_";
2483
2483
  function vs(t) {
2484
2484
  var e, s, i = "SourceGraphic", a = t.data.ef ? t.data.ef.length : 0, r = Ct(), h = Fe.createFilter(r, !0), n = 0;
2485
2485
  for (this.filters = [], e = 0; e < a; e += 1) {
@@ -2714,7 +2714,7 @@ function da() {
2714
2714
  var a, r = t.o, h = t.i, n = t.v, g = " M" + i.applyToPointStringified(n[0][0], n[0][1]);
2715
2715
  for (a = 1; a < e; a += 1) g += " C" + i.applyToPointStringified(r[a - 1][0], r[a - 1][1]) + " " + i.applyToPointStringified(h[a][0], h[a][1]) + " " + i.applyToPointStringified(n[a][0], n[a][1]);
2716
2716
  return s && e && (g += " C" + i.applyToPointStringified(r[a - 1][0], r[a - 1][1]) + " " + i.applyToPointStringified(h[0][0], h[0][1]) + " " + i.applyToPointStringified(n[0][0], n[0][1]), g += "z"), g;
2717
- }, aa = function() {
2717
+ }, aa = (function() {
2718
2718
  var t = new st(), e = new st();
2719
2719
  function s(y, o, d) {
2720
2720
  (d || o.transform.op._mdf) && o.transform.container.setAttribute("opacity", o.transform.op.v), (d || o.transform.mProps._mdf) && o.transform.container.setAttribute("transform", o.transform.mProps.v.to2dCSS());
@@ -2797,7 +2797,7 @@ function da() {
2797
2797
  return null;
2798
2798
  }
2799
2799
  } };
2800
- }();
2800
+ })();
2801
2801
  function Z(t, e, s) {
2802
2802
  this.shapes = [], this.shapesData = t.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(t, e, s), this.prevViewData = [];
2803
2803
  }
@@ -2966,7 +2966,7 @@ function da() {
2966
2966
  }, vt.prototype.setMinimumFontSize = function(t) {
2967
2967
  this.minimumFontSize = Math.floor(t) || 1, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
2968
2968
  };
2969
- var ra = function() {
2969
+ var ra = (function() {
2970
2970
  var t = Math.max, e = Math.min, s = Math.floor;
2971
2971
  function i(a, r) {
2972
2972
  this._currentTextLength = -1, this.k = !1, this.data = r, this.elem = a, this.comp = a.comp, this.finalS = 0, this.finalE = 0, this.initDynamicPropertyContainer(a), this.s = E.getProp(a, r.s || { k: 0 }, 0, 0, this), this.e = "e" in r ? E.getProp(a, r.e, 0, 0, this) : { v: 100 }, this.o = E.getProp(a, r.o || { k: 0 }, 0, 0, this), this.xe = E.getProp(a, r.xe || { k: 0 }, 0, 0, this), this.ne = E.getProp(a, r.ne || { k: 0 }, 0, 0, this), this.sm = E.getProp(a, r.sm || { k: 100 }, 0, 0, this), this.a = E.getProp(a, r.a, 0, 0.01, this), this.dynamicProperties.length || this.getValue();
@@ -3005,7 +3005,7 @@ function da() {
3005
3005
  } }, W([ut], i), { getTextSelectorProp: function(a, r, h) {
3006
3006
  return new i(a, r);
3007
3007
  } };
3008
- }();
3008
+ })();
3009
3009
  function na(t, e, s) {
3010
3010
  var i = { propType: !1 }, a = E.getProp, r = e.a;
3011
3011
  this.a = { r: r.r ? a(t, r.r, 0, et, s) : i, rx: r.rx ? a(t, r.rx, 0, et, s) : i, ry: r.ry ? a(t, r.ry, 0, et, s) : i, sk: r.sk ? a(t, r.sk, 0, et, s) : i, sa: r.sa ? a(t, r.sa, 0, et, s) : i, s: r.s ? a(t, r.s, 1, 0.01, s) : i, a: r.a ? a(t, r.a, 1, 0, s) : i, o: r.o ? a(t, r.o, 0, 0.01, s) : i, p: r.p ? a(t, r.p, 1, 0, s) : i, sw: r.sw ? a(t, r.sw, 0, 0, s) : i, sc: r.sc ? a(t, r.sc, 1, 0, s) : i, fc: r.fc ? a(t, r.fc, 1, 0, s) : i, fh: r.fh ? a(t, r.fh, 0, 0, s) : i, fs: r.fs ? a(t, r.fs, 0, 0.01, s) : i, fb: r.fb ? a(t, r.fb, 0, 0.01, s) : i, t: r.t ? a(t, r.t, 0, 0, s) : i }, this.s = ra.getTextSelectorProp(t, e.s, s), this.s.t = e.s.t;
@@ -3842,8 +3842,8 @@ function da() {
3842
3842
  }, W([X], As), As.prototype.createComp = function(t) {
3843
3843
  return new _e(t, this.globalData, this);
3844
3844
  }, Si = As, xe.canvas = Si, zt.registerModifier("tm", Ft), zt.registerModifier("pb", De), zt.registerModifier("rp", Ot), zt.registerModifier("rd", Se), zt.registerModifier("zz", we), zt.registerModifier("op", Me), H;
3845
- });
3846
- }(ze, ze.exports)), ze.exports;
3845
+ }));
3846
+ })(ze, ze.exports)), ze.exports;
3847
3847
  }
3848
3848
  var Ti = /* @__PURE__ */ da();
3849
3849
  const ua = /* @__PURE__ */ fa(Ti), ma = /* @__PURE__ */ pa({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-lottie-player",
3
3
  "description": "PIE Design System Lottie Player built using Web Components",
4
- "version": "0.4.3",
4
+ "version": "0.4.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -26,30 +26,27 @@
26
26
  },
27
27
  "scripts": {
28
28
  "build": "run -T vite build",
29
- "build:react-wrapper": "npx build-react-wrapper",
29
+ "build:react-wrapper": "run -T build-react-wrapper",
30
30
  "create:manifest": "run -T cem analyze --litelement",
31
31
  "lint:scripts": "run -T eslint .",
32
32
  "lint:scripts:fix": "yarn lint:scripts --fix",
33
33
  "watch": "run -T vite build --watch",
34
- "test:browsers": "npx playwright test -c ./playwright-lit.config.ts",
34
+ "test:browsers": "run -T playwright test -c ./playwright-lit.config.ts",
35
35
  "test:browsers:ci": "yarn test:browsers",
36
- "test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_LOTTIE_PLAYER} percy exec --allowed-hostname cloudfront.net -- npx playwright test -c ./playwright-lit-visual.config.ts",
36
+ "test:visual": "run -T cross-env-shell PERCY_TOKEN=${PERCY_TOKEN_PIE_LOTTIE_PLAYER} percy exec --allowed-hostname cloudfront.net -- run -T playwright test -c ./playwright-lit-visual.config.ts",
37
37
  "test:visual:ci": "yarn test:visual"
38
38
  },
39
39
  "author": "Just Eat Takeaway.com - Design System Team",
40
40
  "license": "Apache-2.0",
41
41
  "devDependencies": {
42
- "@justeattakeaway/pie-components-config": "0.21.2",
43
- "@justeattakeaway/pie-css": "1.1.1",
44
- "@justeattakeaway/pie-monorepo-utils": "0.9.1"
42
+ "@justeattakeaway/pie-components-config": "0.21.3",
43
+ "@justeattakeaway/pie-css": "1.2.0",
44
+ "@justeattakeaway/pie-monorepo-utils": "0.9.5"
45
45
  },
46
46
  "dependencies": {
47
- "@justeattakeaway/pie-webc-core": "14.0.1",
47
+ "@justeattakeaway/pie-webc-core": "15.0.0",
48
48
  "lottie-web": "5.13.0"
49
49
  },
50
- "volta": {
51
- "extends": "../../../package.json"
52
- },
53
50
  "customElements": "custom-elements.json",
54
51
  "sideEffects": [
55
52
  "dist/*.js"