@blockend/widget 1.0.55-beta.1 → 1.0.55-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/{AllRoutes-D6S-NFxZ.js → AllRoutes-DIde2MHr.js} +910 -929
  2. package/dist/{Box-DESo1bHm.js → Box-DQB1ZyEK.js} +15 -15
  3. package/dist/EstGas-C7sLxEX_.js +1523 -0
  4. package/dist/{Grow-DzEr7XrA.js → Grow-CxaAxl6-.js} +300 -303
  5. package/dist/InputComp-CDuJJKaD.js +105 -0
  6. package/dist/LoadRoute-CVas28CM.js +123 -0
  7. package/dist/QuotesProgress-DaL4L4Db.js +27 -0
  8. package/dist/{SwapAsset-MBXcdeBf.js → SwapAsset-DSV6l90O.js} +13 -14
  9. package/dist/{Tooltip-DSAJT2x7.js → Tooltip-PAQ9gquY.js} +35 -35
  10. package/dist/TxnButton-BiO4vJ-y.js +207 -0
  11. package/dist/ccip-B6-4PQvj.js +226 -0
  12. package/dist/core-SB441dD5.js +13166 -0
  13. package/dist/{down-BFx-Bg5Q.js → down-DJH_apvy.js} +267 -270
  14. package/dist/{getChainIds-CeLEUxe0.js → getChainIds-CBclVfs9.js} +221 -223
  15. package/dist/getCosmosAddress-CI7CTn-0.js +57 -0
  16. package/dist/{hamburger-BzMrQx9y.js → hamburger-Dp-PI6Yn.js} +153 -153
  17. package/dist/{index-DpHhW0_2.js → index-5WTwgH9q.js} +3 -3
  18. package/dist/index-B-FRPlBv.js +3240 -0
  19. package/dist/index-B158Vaz9.js +146 -0
  20. package/dist/{index-BK0BZT6j.js → index-B9PIELoY.js} +5118 -5241
  21. package/dist/{index-DHYWnqST.js → index-BGt3GtoG.js} +1 -1
  22. package/dist/index-BuGCRLd5.js +198 -0
  23. package/dist/index-CRhXLwtt.js +7445 -0
  24. package/dist/{index-A8ClQmZo.js → index-Dmf6i8k4.js} +3 -4
  25. package/dist/{index-SkYFFVLL.js → index-PxQusjX0.js} +3368 -3415
  26. package/dist/{index-C5bv1F_u.js → index-UFdEurQ_.js} +12086 -12350
  27. package/dist/{index.es-DB9y_DEM.js → index.es-AaEds8Wm.js} +81 -83
  28. package/dist/{index.es-vIyUKt0W.js → index.es-Df0KTgu4.js} +4523 -4628
  29. package/dist/index.es.js +1 -1
  30. package/dist/{unsupportedProp-BLzY2-w_.js → unsupportedProp-BlS305Lt.js} +1 -1
  31. package/dist/{useRegisterError-Cf6oylnR.js → useRegisterError-BvjIv1Yc.js} +1668 -1701
  32. package/dist/widget.css +1 -1
  33. package/package.json +4 -5
  34. package/dist/EstGas-Dy3XfCzY.js +0 -1496
  35. package/dist/InputComp-GcnDqx_s.js +0 -105
  36. package/dist/LoadRoute-BmUgvDid.js +0 -125
  37. package/dist/QuotesProgress-E5JnUMS0.js +0 -28
  38. package/dist/TxnButton-Br8R19rF.js +0 -215
  39. package/dist/add-BryKCrpI.js +0 -19
  40. package/dist/all-wallets-BMVOK2Ci.js +0 -10
  41. package/dist/app-store-3WurbJdI.js +0 -21
  42. package/dist/apple-eM872Ubz.js +0 -22
  43. package/dist/arrow-bottom-HMc73fJ8.js +0 -12
  44. package/dist/arrow-bottom-circle-B1N_R8Ux.js +0 -15
  45. package/dist/arrow-left-Q7GAZkD7.js +0 -12
  46. package/dist/arrow-right-ft3TcIM3.js +0 -12
  47. package/dist/arrow-top-C2xmF6tK.js +0 -12
  48. package/dist/bank-Bk-2ZR5E.js +0 -18
  49. package/dist/basic-CWrKgDAB.js +0 -5783
  50. package/dist/browser-BFB3TFfv.js +0 -18
  51. package/dist/card-DCx59si8.js +0 -18
  52. package/dist/ccip-CXr08uP1.js +0 -228
  53. package/dist/checkmark-BGsuJuhE.js +0 -15
  54. package/dist/checkmark-bold-DvjIl-51.js +0 -12
  55. package/dist/chevron-bottom-DAEnG7QP.js +0 -12
  56. package/dist/chevron-left-D33h2ppx.js +0 -12
  57. package/dist/chevron-right-C8Z_feNK.js +0 -12
  58. package/dist/chevron-top-DwDMd3p9.js +0 -12
  59. package/dist/chrome-store-B7ZDs2Fj.js +0 -65
  60. package/dist/clock-DnELUxSR.js +0 -12
  61. package/dist/close-Dnt29Pss.js +0 -12
  62. package/dist/coinPlaceholder-C09pzuXv.js +0 -12
  63. package/dist/compass-D8ZY16nH.js +0 -12
  64. package/dist/copy-DEh4RBKI.js +0 -19
  65. package/dist/core-CgIQaiRa.js +0 -14966
  66. package/dist/cursor-BtzkAOER.js +0 -7
  67. package/dist/cursor-transparent-B0nCflmb.js +0 -16
  68. package/dist/desktop-toTG92uH.js +0 -13
  69. package/dist/disconnect-C97lbAtY.js +0 -12
  70. package/dist/discord-BNJ3JePY.js +0 -21
  71. package/dist/etherscan-CK87TQMS.js +0 -10
  72. package/dist/exclamation-triangle-LWnOk0uz.js +0 -8
  73. package/dist/extension-5eIZU28A.js +0 -12
  74. package/dist/external-link-DDlCfigP.js +0 -12
  75. package/dist/facebook-1lTMXKeH.js +0 -30
  76. package/dist/farcaster-Di2TUKlZ.js +0 -16
  77. package/dist/filters-B_THnHaX.js +0 -12
  78. package/dist/getCosmosAddress-B8s9Ycj4.js +0 -6075
  79. package/dist/github-D5B1FE4K.js +0 -22
  80. package/dist/google-C8_WSUfw.js +0 -22
  81. package/dist/help-circle-C-ZOzjAP.js +0 -16
  82. package/dist/id-BynpKmej.js +0 -16
  83. package/dist/image-BRYUh760.js +0 -8
  84. package/dist/index-BFUVWgoD.js +0 -992
  85. package/dist/index-CN6pVc2G.js +0 -1483
  86. package/dist/index-CZwuzz6v.js +0 -6712
  87. package/dist/index-Dnyeih-W.js +0 -3261
  88. package/dist/index-krrwn6Pi.js +0 -206
  89. package/dist/info-DSQyHS8b.js +0 -7
  90. package/dist/info-circle-BfpWcI4c.js +0 -16
  91. package/dist/lightbulb-DEMYYsZd.js +0 -7
  92. package/dist/mail-DNZ2to_6.js +0 -12
  93. package/dist/mobile-qsyS8oMK.js +0 -13
  94. package/dist/more-CnBuKwll.js +0 -15
  95. package/dist/network-placeholder-DhJITakA.js +0 -18
  96. package/dist/nftPlaceholder-DD3-Cc9U.js +0 -12
  97. package/dist/off-CBApAdDk.js +0 -12
  98. package/dist/play-store-DDoeRc-b.js +0 -36
  99. package/dist/plus-C3J-XWCn.js +0 -17
  100. package/dist/qr-code-CEoOYtHk.js +0 -10
  101. package/dist/recycle-horizontal-BHJ_s9Yx.js +0 -13
  102. package/dist/refresh-CtzOoHls.js +0 -12
  103. package/dist/reown-logo-BOj4YDUQ.js +0 -16
  104. package/dist/search--Miza3A_.js +0 -12
  105. package/dist/send-Bhl1lz4j.js +0 -19
  106. package/dist/swapHorizontal-CCvKCngz.js +0 -12
  107. package/dist/swapHorizontalBold-B90V-dXL.js +0 -12
  108. package/dist/swapHorizontalMedium-CYjeHjnI.js +0 -20
  109. package/dist/swapHorizontalRoundedBold-DSMWeXdW.js +0 -12
  110. package/dist/swapVertical-DOJUNIvk.js +0 -12
  111. package/dist/telegram-CufEY_4d.js +0 -20
  112. package/dist/three-dots-J2ngva7G.js +0 -9
  113. package/dist/twitch-B4vTKVf5.js +0 -22
  114. package/dist/twitterIcon-DLrxpAGg.js +0 -10
  115. package/dist/verify-CbHqPQKs.js +0 -12
  116. package/dist/verify-filled-CzKx9Cph.js +0 -12
  117. package/dist/w3m-modal-DhpjK4cG.js +0 -1471
  118. package/dist/wallet-CvIeO6On.js +0 -12
  119. package/dist/wallet-placeholder-BqELXTBj.js +0 -18
  120. package/dist/walletconnect-BN4c4XQ5.js +0 -36
  121. package/dist/warning-circle--dqxXujk.js +0 -16
  122. package/dist/x-CkCp5gtL.js +0 -16
@@ -1,4 +1,4 @@
1
- import { L as z } from "./useRegisterError-Cf6oylnR.js";
1
+ import { L as z } from "./useRegisterError-BvjIv1Yc.js";
2
2
  import G, { useEffect as C, useState as J, useRef as j } from "react";
3
3
  function E(t, e) {
4
4
  (e == null || e > t.length) && (e = t.length);
@@ -9,7 +9,7 @@ function Q(t) {
9
9
  if (Array.isArray(t)) return t;
10
10
  }
11
11
  function Z(t, e, r) {
12
- return (e = oe(e)) in t ? Object.defineProperty(t, e, {
12
+ return (e = ae(e)) in t ? Object.defineProperty(t, e, {
13
13
  value: r,
14
14
  enumerable: !0,
15
15
  configurable: !0,
@@ -22,8 +22,8 @@ function ee(t, e) {
22
22
  var n, c, f, i, b = [], d = !0, A = !1;
23
23
  try {
24
24
  if (f = (r = r.call(t)).next, e !== 0) for (; !(d = (n = f.call(r)).done) && (b.push(n.value), b.length !== e); d = !0) ;
25
- } catch (g) {
26
- A = !0, c = g;
25
+ } catch (p) {
26
+ A = !0, c = p;
27
27
  } finally {
28
28
  try {
29
29
  if (!d && r.return != null && (i = r.return(), Object(i) !== i)) return;
@@ -80,7 +80,7 @@ function ne(t, e) {
80
80
  function re(t, e) {
81
81
  return Q(t) || ee(t, e) || ie(t, e) || te();
82
82
  }
83
- function ae(t, e) {
83
+ function oe(t, e) {
84
84
  if (typeof t != "object" || !t) return t;
85
85
  var r = t[Symbol.toPrimitive];
86
86
  if (r !== void 0) {
@@ -90,8 +90,8 @@ function ae(t, e) {
90
90
  }
91
91
  return (e === "string" ? String : Number)(t);
92
92
  }
93
- function oe(t) {
94
- var e = ae(t, "string");
93
+ function ae(t) {
94
+ var e = oe(t, "string");
95
95
  return typeof e == "symbol" ? e : e + "";
96
96
  }
97
97
  function ie(t, e) {
@@ -102,68 +102,66 @@ function ie(t, e) {
102
102
  }
103
103
  }
104
104
  var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], le = function(e, r) {
105
- var n = e.animationData, c = e.loop, f = e.autoplay, i = e.initialSegment, b = e.onComplete, d = e.onLoopComplete, A = e.onEnterFrame, g = e.onSegmentStart, L = e.onConfigReady, _ = e.onDataReady, h = e.onDataFailed, u = e.onLoadedImages, w = e.onDOMLoaded, S = e.onDestroy;
106
- e.lottieRef, e.renderer, e.name, e.assetsPath, e.rendererSettings;
107
- var p = H(e, ue), D = J(!1), l = re(D, 2), O = l[0], R = l[1], o = j(), v = j(null), M = function() {
108
- var a;
109
- (a = o.current) === null || a === void 0 || a.play();
105
+ var n = e.animationData, c = e.loop, f = e.autoplay, i = e.initialSegment, b = e.onComplete, d = e.onLoopComplete, A = e.onEnterFrame, p = e.onSegmentStart, L = e.onConfigReady, _ = e.onDataReady, h = e.onDataFailed, u = e.onLoadedImages, w = e.onDOMLoaded, S = e.onDestroy, g = H(e, ue), D = J(!1), l = re(D, 2), P = l[0], R = l[1], a = j(), v = j(null), M = function() {
106
+ var o;
107
+ (o = a.current) === null || o === void 0 || o.play();
110
108
  }, F = function() {
111
- var a;
112
- (a = o.current) === null || a === void 0 || a.stop();
109
+ var o;
110
+ (o = a.current) === null || o === void 0 || o.stop();
113
111
  }, V = function() {
114
- var a;
115
- (a = o.current) === null || a === void 0 || a.pause();
116
- }, N = function(a) {
112
+ var o;
113
+ (o = a.current) === null || o === void 0 || o.pause();
114
+ }, N = function(o) {
117
115
  var s;
118
- (s = o.current) === null || s === void 0 || s.setSpeed(a);
119
- }, $ = function(a, s) {
116
+ (s = a.current) === null || s === void 0 || s.setSpeed(o);
117
+ }, $ = function(o, s) {
120
118
  var m;
121
- (m = o.current) === null || m === void 0 || m.goToAndPlay(a, s);
122
- }, k = function(a, s) {
119
+ (m = a.current) === null || m === void 0 || m.goToAndPlay(o, s);
120
+ }, k = function(o, s) {
123
121
  var m;
124
- (m = o.current) === null || m === void 0 || m.goToAndStop(a, s);
125
- }, B = function(a) {
122
+ (m = a.current) === null || m === void 0 || m.goToAndStop(o, s);
123
+ }, B = function(o) {
126
124
  var s;
127
- (s = o.current) === null || s === void 0 || s.setDirection(a);
128
- }, W = function(a, s) {
125
+ (s = a.current) === null || s === void 0 || s.setDirection(o);
126
+ }, W = function(o, s) {
129
127
  var m;
130
- (m = o.current) === null || m === void 0 || m.playSegments(a, s);
131
- }, K = function(a) {
128
+ (m = a.current) === null || m === void 0 || m.playSegments(o, s);
129
+ }, K = function(o) {
132
130
  var s;
133
- (s = o.current) === null || s === void 0 || s.setSubframe(a);
134
- }, U = function(a) {
131
+ (s = a.current) === null || s === void 0 || s.setSubframe(o);
132
+ }, U = function(o) {
135
133
  var s;
136
- return (s = o.current) === null || s === void 0 ? void 0 : s.getDuration(a);
134
+ return (s = a.current) === null || s === void 0 ? void 0 : s.getDuration(o);
137
135
  }, X = function() {
138
- var a;
139
- (a = o.current) === null || a === void 0 || a.destroy(), o.current = void 0;
136
+ var o;
137
+ (o = a.current) === null || o === void 0 || o.destroy(), a.current = void 0;
140
138
  }, Y = function() {
141
- var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s;
139
+ var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s;
142
140
  if (v.current) {
143
- (s = o.current) === null || s === void 0 || s.destroy();
144
- var m = I(I(I({}, e), a), {}, {
141
+ (s = a.current) === null || s === void 0 || s.destroy();
142
+ var m = I(I(I({}, e), o), {}, {
145
143
  container: v.current
146
144
  });
147
- return o.current = z.loadAnimation(m), R(!!o.current), function() {
148
- var P;
149
- (P = o.current) === null || P === void 0 || P.destroy(), o.current = void 0;
145
+ return a.current = z.loadAnimation(m), R(!!a.current), function() {
146
+ var O;
147
+ (O = a.current) === null || O === void 0 || O.destroy(), a.current = void 0;
150
148
  };
151
149
  }
152
150
  };
153
151
  C(function() {
154
152
  var y = Y();
155
153
  return function() {
156
- return y == null ? void 0 : y();
154
+ return y?.();
157
155
  };
158
156
  }, [n, c]), C(function() {
159
- o.current && (o.current.autoplay = !!f);
157
+ a.current && (a.current.autoplay = !!f);
160
158
  }, [f]), C(function() {
161
- if (o.current) {
159
+ if (a.current) {
162
160
  if (!i) {
163
- o.current.resetSegments(!0);
161
+ a.current.resetSegments(!0);
164
162
  return;
165
163
  }
166
- !Array.isArray(i) || !i.length || ((o.current.currentRawFrame < i[0] || o.current.currentRawFrame > i[1]) && (o.current.currentRawFrame = i[0]), o.current.setSegment(i[0], i[1]));
164
+ !Array.isArray(i) || !i.length || ((a.current.currentRawFrame < i[0] || a.current.currentRawFrame > i[1]) && (a.current.currentRawFrame = i[0]), a.current.setSegment(i[0], i[1]));
167
165
  }
168
166
  }, [i]), C(function() {
169
167
  var y = [{
@@ -177,7 +175,7 @@ var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "
177
175
  handler: A
178
176
  }, {
179
177
  name: "segmentStart",
180
- handler: g
178
+ handler: p
181
179
  }, {
182
180
  name: "config_ready",
183
181
  handler: L
@@ -196,21 +194,21 @@ var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "
196
194
  }, {
197
195
  name: "destroy",
198
196
  handler: S
199
- }], a = y.filter(function(m) {
197
+ }], o = y.filter(function(m) {
200
198
  return m.handler != null;
201
199
  });
202
- if (a.length) {
203
- var s = a.map(
200
+ if (o.length) {
201
+ var s = o.map(
204
202
  /**
205
203
  * Handle the process of adding an event listener
206
204
  * @param {Listener} listener
207
205
  * @return {Function} Function that deregister the listener
208
206
  */
209
207
  function(m) {
210
- var P;
211
- return (P = o.current) === null || P === void 0 || P.addEventListener(m.name, m.handler), function() {
208
+ var O;
209
+ return (O = a.current) === null || O === void 0 || O.addEventListener(m.name, m.handler), function() {
212
210
  var T;
213
- (T = o.current) === null || T === void 0 || T.removeEventListener(m.name, m.handler);
211
+ (T = a.current) === null || T === void 0 || T.removeEventListener(m.name, m.handler);
214
212
  };
215
213
  }
216
214
  );
@@ -220,11 +218,11 @@ var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "
220
218
  });
221
219
  };
222
220
  }
223
- }, [b, d, A, g, L, _, h, u, w, S]);
221
+ }, [b, d, A, p, L, _, h, u, w, S]);
224
222
  var q = /* @__PURE__ */ G.createElement("div", I({
225
223
  style: r,
226
224
  ref: v
227
- }, p));
225
+ }, g));
228
226
  return {
229
227
  View: q,
230
228
  play: M,
@@ -239,8 +237,8 @@ var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "
239
237
  getDuration: U,
240
238
  destroy: X,
241
239
  animationContainerRef: v,
242
- animationLoaded: O,
243
- animationItem: o.current
240
+ animationLoaded: P,
241
+ animationItem: a.current
244
242
  };
245
243
  };
246
244
  function se(t) {
@@ -261,44 +259,44 @@ var ce = function(e) {
261
259
  if (!(!i || !n || !f.length)) {
262
260
  n.stop();
263
261
  var b = function() {
264
- var g = null, L = function() {
262
+ var p = null, L = function() {
265
263
  var h = se(i), u = f.find(function(S) {
266
- var p = S.visibility;
267
- return p && h >= p[0] && h <= p[1];
264
+ var g = S.visibility;
265
+ return g && h >= g[0] && h <= g[1];
268
266
  });
269
267
  if (u) {
270
268
  if (u.type === "seek" && u.visibility && u.frames.length === 2) {
271
269
  var w = u.frames[0] + Math.ceil((h - u.visibility[0]) / (u.visibility[1] - u.visibility[0]) * u.frames[1]);
272
270
  n.goToAndStop(w - n.firstFrame - 1, !0);
273
271
  }
274
- u.type === "loop" && (g === null || g !== u.frames || n.isPaused) && (n.playSegments(u.frames, !0), g = u.frames), u.type === "play" && n.isPaused && (n.resetSegments(!0), n.play()), u.type === "stop" && n.goToAndStop(u.frames[0] - n.firstFrame - 1, !0);
272
+ u.type === "loop" && (p === null || p !== u.frames || n.isPaused) && (n.playSegments(u.frames, !0), p = u.frames), u.type === "play" && n.isPaused && (n.resetSegments(!0), n.play()), u.type === "stop" && n.goToAndStop(u.frames[0] - n.firstFrame - 1, !0);
275
273
  }
276
274
  };
277
275
  return document.addEventListener("scroll", L), function() {
278
276
  document.removeEventListener("scroll", L);
279
277
  };
280
278
  }, d = function() {
281
- var g = function(u, w) {
282
- var S = u, p = w;
283
- if (S !== -1 && p !== -1) {
284
- var D = de(i, S, p);
285
- S = D.x, p = D.y;
279
+ var p = function(u, w) {
280
+ var S = u, g = w;
281
+ if (S !== -1 && g !== -1) {
282
+ var D = de(i, S, g);
283
+ S = D.x, g = D.y;
286
284
  }
287
- var l = f.find(function(o) {
288
- var v = o.position;
289
- return v && Array.isArray(v.x) && Array.isArray(v.y) ? S >= v.x[0] && S <= v.x[1] && p >= v.y[0] && p <= v.y[1] : v && !Number.isNaN(v.x) && !Number.isNaN(v.y) ? S === v.x && p === v.y : !1;
285
+ var l = f.find(function(a) {
286
+ var v = a.position;
287
+ return v && Array.isArray(v.x) && Array.isArray(v.y) ? S >= v.x[0] && S <= v.x[1] && g >= v.y[0] && g <= v.y[1] : v && !Number.isNaN(v.x) && !Number.isNaN(v.y) ? S === v.x && g === v.y : !1;
290
288
  });
291
289
  if (l) {
292
290
  if (l.type === "seek" && l.position && Array.isArray(l.position.x) && Array.isArray(l.position.y) && l.frames.length === 2) {
293
- var O = (S - l.position.x[0]) / (l.position.x[1] - l.position.x[0]), R = (p - l.position.y[0]) / (l.position.y[1] - l.position.y[0]);
294
- n.playSegments(l.frames, !0), n.goToAndStop(Math.ceil((O + R) / 2 * (l.frames[1] - l.frames[0])), !0);
291
+ var P = (S - l.position.x[0]) / (l.position.x[1] - l.position.x[0]), R = (g - l.position.y[0]) / (l.position.y[1] - l.position.y[0]);
292
+ n.playSegments(l.frames, !0), n.goToAndStop(Math.ceil((P + R) / 2 * (l.frames[1] - l.frames[0])), !0);
295
293
  }
296
294
  l.type === "loop" && n.playSegments(l.frames, !0), l.type === "play" && (n.isPaused && n.resetSegments(!1), n.playSegments(l.frames)), l.type === "stop" && n.goToAndStop(l.frames[0], !0);
297
295
  }
298
296
  }, L = function(u) {
299
- g(u.clientX, u.clientY);
297
+ p(u.clientX, u.clientY);
300
298
  }, _ = function() {
301
- g(-1, -1);
299
+ p(-1, -1);
302
300
  };
303
301
  return i.addEventListener("mousemove", L), i.addEventListener("mouseout", _), function() {
304
302
  i.removeEventListener("mousemove", L), i.removeEventListener("mouseout", _);
@@ -320,47 +318,47 @@ var ce = function(e) {
320
318
  mode: n,
321
319
  wrapperRef: b
322
320
  }), i;
323
- }, fe = ["style", "interactivity"], ge = function(e) {
324
- var r, n, c, f = e.style, i = e.interactivity, b = H(e, fe), d = le(b, f), A = d.View, g = d.play, L = d.stop, _ = d.pause, h = d.setSpeed, u = d.goToAndStop, w = d.goToAndPlay, S = d.setDirection, p = d.playSegments, D = d.setSubframe, l = d.getDuration, O = d.destroy, R = d.animationContainerRef, o = d.animationLoaded, v = d.animationItem;
321
+ }, fe = ["style", "interactivity"], pe = function(e) {
322
+ var r, n, c, f = e.style, i = e.interactivity, b = H(e, fe), d = le(b, f), A = d.View, p = d.play, L = d.stop, _ = d.pause, h = d.setSpeed, u = d.goToAndStop, w = d.goToAndPlay, S = d.setDirection, g = d.playSegments, D = d.setSubframe, l = d.getDuration, P = d.destroy, R = d.animationContainerRef, a = d.animationLoaded, v = d.animationItem;
325
323
  return C(function() {
326
324
  e.lottieRef && (e.lottieRef.current = {
327
- play: g,
325
+ play: p,
328
326
  stop: L,
329
327
  pause: _,
330
328
  setSpeed: h,
331
329
  goToAndPlay: w,
332
330
  goToAndStop: u,
333
331
  setDirection: S,
334
- playSegments: p,
332
+ playSegments: g,
335
333
  setSubframe: D,
336
334
  getDuration: l,
337
- destroy: O,
335
+ destroy: P,
338
336
  animationContainerRef: R,
339
- animationLoaded: o,
337
+ animationLoaded: a,
340
338
  animationItem: v
341
339
  });
342
340
  }, [(r = e.lottieRef) === null || r === void 0 ? void 0 : r.current]), me({
343
341
  lottieObj: {
344
342
  View: A,
345
- play: g,
343
+ play: p,
346
344
  stop: L,
347
345
  pause: _,
348
346
  setSpeed: h,
349
347
  goToAndStop: u,
350
348
  goToAndPlay: w,
351
349
  setDirection: S,
352
- playSegments: p,
350
+ playSegments: g,
353
351
  setSubframe: D,
354
352
  getDuration: l,
355
- destroy: O,
353
+ destroy: P,
356
354
  animationContainerRef: R,
357
- animationLoaded: o,
355
+ animationLoaded: a,
358
356
  animationItem: v
359
357
  },
360
- actions: (n = i == null ? void 0 : i.actions) !== null && n !== void 0 ? n : [],
361
- mode: (c = i == null ? void 0 : i.mode) !== null && c !== void 0 ? c : "scroll"
358
+ actions: (n = i?.actions) !== null && n !== void 0 ? n : [],
359
+ mode: (c = i?.mode) !== null && c !== void 0 ? c : "scroll"
362
360
  });
363
361
  };
364
362
  export {
365
- ge as L
363
+ pe as L
366
364
  };