@trifle/trifle-hub 1.0.161 → 1.0.162

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 (74) hide show
  1. package/dist/AccountIndex-CTjOLmjP.js +144 -0
  2. package/dist/Earn-DMrF4S31.js +255 -0
  3. package/dist/{ExchangeController-D9_uwgvR.js → ExchangeController-6NjzC79Z.js} +1 -1
  4. package/dist/{Games-M9GlINCE.js → Games-CLUUM0mP.js} +10 -10
  5. package/dist/{HelpersUtil-3kK0MJ3p.js → HelpersUtil-Dj0wfodo.js} +4 -4
  6. package/dist/{Leaderboard-B7Mh8DS-.js → Leaderboard-CuG041PJ.js} +1 -1
  7. package/dist/Profile-YoSRBmlN.js +1818 -0
  8. package/dist/QuestCard-CapG6iNR.js +318 -0
  9. package/dist/{ReownAuthentication-CVPDiHcH.js → ReownAuthentication-ClyLCgeo.js} +4 -4
  10. package/dist/{SocialsButtons-aWpzKjcb.js → SocialsButtons-uL2_XTTy.js} +1 -1
  11. package/dist/SwapBalls-ChUy9GIh.js +277 -0
  12. package/dist/{SwapController-BeK9JnGm.js → SwapController-Q_rNvOur.js} +1 -1
  13. package/dist/{TrifleGuide-CR0Ozy_0.js → TrifleGuide-Dn1FDCub.js} +1 -1
  14. package/dist/components/QuestCard.vue.d.ts +2 -0
  15. package/dist/components/ScrollMaskedX.vue.d.ts +17 -0
  16. package/dist/config/pointsConfig.d.ts +98 -0
  17. package/dist/config/socialsConfig.d.ts +12 -0
  18. package/dist/config/tailwindTheme.d.ts +12 -0
  19. package/dist/{data-capture-SpEqbF3k.js → data-capture-C1pQbx1q.js} +10 -10
  20. package/dist/{email-nGysUKxe.js → email-D2uCwQIX.js} +15 -15
  21. package/dist/{embedded-wallet-CVRT-KKq.js → embedded-wallet-C4TtNIAk.js} +20 -20
  22. package/dist/{features-ltH2yyBF.js → features-p7PixpOp.js} +1 -1
  23. package/dist/{if-defined-Dy4LSJRL.js → if-defined-Db2RYcoI.js} +1 -1
  24. package/dist/{index-D7KogVqW.js → index-B7YpXXOx.js} +3 -3
  25. package/dist/{index-el2rRTti.js → index-B874HQ1C.js} +1 -1
  26. package/dist/{index-DB2RGu8K.js → index-BBZwHOZx.js} +7174 -7062
  27. package/dist/{index-CGTgmNWF.js → index-BCwqn9QZ.js} +7 -7
  28. package/dist/{index-D8jtytdS.js → index-BPUorytH.js} +4 -4
  29. package/dist/{index-B6EegOWr.js → index-BUYdR_2_.js} +3 -3
  30. package/dist/{index-Br4pPBw3.js → index-Be1ETcsd.js} +2 -2
  31. package/dist/{index-vWXwGhx5.js → index-BgP8qyHN.js} +8 -8
  32. package/dist/{index-B5tdNBnN.js → index-BlHGPGWv.js} +5 -5
  33. package/dist/{index-DFRmrUjX.js → index-Bw4BSPxV.js} +1 -1
  34. package/dist/{index-D_P4Urp2.js → index-ByEuzHZx.js} +4 -4
  35. package/dist/{index-Ry5qK6ET.js → index-Bz5RbsFD.js} +4 -4
  36. package/dist/{index-fsHFGWT7.js → index-C5VTkzn_.js} +2 -2
  37. package/dist/{index-BPEOHrMY.js → index-CCLcIWvl.js} +2 -2
  38. package/dist/{index-B6ReSoq4.js → index-CEp7-6gC.js} +12 -12
  39. package/dist/{index-zrzeJIBS.js → index-CG4RerkJ.js} +4 -4
  40. package/dist/{index-CABGgn9P.js → index-CGVqIMrP.js} +2 -2
  41. package/dist/{index-JL3Wermk.js → index-CRnT53WM.js} +4 -4
  42. package/dist/{index-fMGZyGCM.js → index-CbMqJqgs.js} +3 -3
  43. package/dist/{index-CAqkQtOq.js → index-Ch8Y71PT.js} +2 -2
  44. package/dist/{index-C2ffuAYb.js → index-CldzoQ7r.js} +4 -4
  45. package/dist/{index-Dpn8_aG_.js → index-CnEa77cL.js} +23 -23
  46. package/dist/{index-DHWhyTIK.js → index-Cs4b_oEO.js} +4 -4
  47. package/dist/{index-C2PmirTf.js → index-D6xLy_9u.js} +3 -3
  48. package/dist/{index-356dXR_D.js → index-DCC9iWUP.js} +5 -5
  49. package/dist/{index-Dg7OV12A.js → index-DISZZqKI.js} +86 -86
  50. package/dist/{index-C2kYO0cy.js → index-DKxX5-s9.js} +4 -4
  51. package/dist/{index-BHFhjWws.js → index-DPKtJuhj.js} +7 -7
  52. package/dist/{index-BIohKOaQ.js → index-DT6SLq6J.js} +101 -101
  53. package/dist/{index-D0PeBPfJ.js → index-Diei326e.js} +8 -8
  54. package/dist/{index-Dvj2aQzS.js → index-DoLlp6XK.js} +6 -6
  55. package/dist/{index-Ce6TjHV2.js → index-Dw0RgphK.js} +3 -3
  56. package/dist/{index-DUlBiQtl.js → index-gICsvOhN.js} +3 -3
  57. package/dist/{index-5j1niEF0.js → index-iR5Uvd14.js} +3 -3
  58. package/dist/{index-cQyA4S9L.js → index-u4YndyyJ.js} +7 -7
  59. package/dist/{index-Cx-FU6Gm.js → index-wAnKlCQm.js} +7 -7
  60. package/dist/index.es.js +2 -2
  61. package/dist/{onramp-DqtQTg4r.js → onramp-3E-5EGhn.js} +47 -47
  62. package/dist/{pay-with-exchange-C0oNjyvj.js → pay-with-exchange-DBpQTxCY.js} +17 -17
  63. package/dist/{receive-Bb7EcFWE.js → receive-DDXsTS6R.js} +5 -5
  64. package/dist/{ref-CujhPCia.js → ref-CRKmoaio.js} +2 -2
  65. package/dist/{send-DGTDv4Th.js → send-Bp9p9m9K.js} +18 -18
  66. package/dist/{socials-Cp4djpe9.js → socials-C1MyEZn9.js} +20 -20
  67. package/dist/{swaps-DD8uJyu7.js → swaps-Hpy8DwH3.js} +11 -11
  68. package/dist/{transactions-DYOP0lkN.js → transactions-BV1mkVO3.js} +7 -7
  69. package/dist/{w3m-modal-JJJ6hUHU.js → w3m-modal-Du6ALWMy.js} +20 -20
  70. package/package.json +2 -1
  71. package/dist/AccountIndex-BEX1k5b6.js +0 -128
  72. package/dist/Earn-CgpWSs87.js +0 -521
  73. package/dist/Profile-Ct-mDc2u.js +0 -1696
  74. package/dist/SwapBalls-D14eVMm3.js +0 -279
@@ -1,5 +1,5 @@
1
- import { n as c, q as f, x as l } from "./index-DB2RGu8K.js";
2
- import { n as h, c as m } from "./index-el2rRTti.js";
1
+ import { q as c, u as f, x as l } from "./index-BBZwHOZx.js";
2
+ import { n as u, c as m } from "./index-B874HQ1C.js";
3
3
  const p = c`
4
4
  :host {
5
5
  display: block;
@@ -30,7 +30,7 @@ const p = c`
30
30
  var n = function(e, o, i, s) {
31
31
  var d = arguments.length, t = d < 3 ? o : s === null ? s = Object.getOwnPropertyDescriptor(o, i) : s, a;
32
32
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(e, o, i, s);
33
- else for (var u = e.length - 1; u >= 0; u--) (a = e[u]) && (t = (d < 3 ? a(t) : d > 3 ? a(o, i, t) : a(o, i)) || t);
33
+ else for (var h = e.length - 1; h >= 0; h--) (a = e[h]) && (t = (d < 3 ? a(t) : d > 3 ? a(o, i, t) : a(o, i)) || t);
34
34
  return d > 3 && t && Object.defineProperty(o, i, t), t;
35
35
  };
36
36
  let r = class extends f {
@@ -46,16 +46,16 @@ let r = class extends f {
46
46
  };
47
47
  r.styles = [p];
48
48
  n([
49
- h()
49
+ u()
50
50
  ], r.prototype, "width", void 0);
51
51
  n([
52
- h()
52
+ u()
53
53
  ], r.prototype, "height", void 0);
54
54
  n([
55
- h()
55
+ u()
56
56
  ], r.prototype, "variant", void 0);
57
57
  n([
58
- h({ type: Boolean })
58
+ u({ type: Boolean })
59
59
  ], r.prototype, "rounded", void 0);
60
60
  r = n([
61
61
  m("wui-shimmer")
@@ -1,7 +1,7 @@
1
- import { n as u, r as p, q as m, x as h } from "./index-DB2RGu8K.js";
2
- import { n as o, c as f } from "./index-el2rRTti.js";
3
- import "./index-Ce6TjHV2.js";
4
- import "./index-C2PmirTf.js";
1
+ import { q as u, r as p, u as m, x as h } from "./index-BBZwHOZx.js";
2
+ import { n as o, c as f } from "./index-B874HQ1C.js";
3
+ import "./index-Dw0RgphK.js";
4
+ import "./index-D6xLy_9u.js";
5
5
  const w = u`
6
6
  :host {
7
7
  position: relative;
@@ -1,6 +1,6 @@
1
- import { n as b, r as g, o as p, q as h, x as c } from "./index-DB2RGu8K.js";
2
- import { n, c as v } from "./index-el2rRTti.js";
3
- import "./index-BPEOHrMY.js";
1
+ import { q as b, r as g, t as p, u as h, x as c } from "./index-BBZwHOZx.js";
2
+ import { n, c as v } from "./index-B874HQ1C.js";
3
+ import "./index-CCLcIWvl.js";
4
4
  const m = b`
5
5
  :host {
6
6
  width: var(--local-width);
@@ -56,7 +56,7 @@ function m(f = {}) {
56
56
  ...f.preference,
57
57
  options: ((c = f.preference) == null ? void 0 : c.options) ?? "all"
58
58
  };
59
- })(), { createBaseAccountSDK: e } = await import("./index-BIohKOaQ.js");
59
+ })(), { createBaseAccountSDK: e } = await import("./index-DT6SLq6J.js");
60
60
  u = e({
61
61
  ...f,
62
62
  appChainIds: o.chains.map((c) => c.id),
@@ -166,7 +166,7 @@ function D(f = {}) {
166
166
  if (!n)
167
167
  throw new Error("Could not load Safe information");
168
168
  const c = await (async () => {
169
- const s = await import("./index-DFRmrUjX.js").then((d) => d.i);
169
+ const s = await import("./index-Bw4BSPxV.js").then((d) => d.i);
170
170
  return typeof s.SafeAppProvider != "function" && typeof s.default.SafeAppProvider == "function" ? s.default.SafeAppProvider : s.SafeAppProvider;
171
171
  })();
172
172
  a = new c(n, e);
@@ -1,6 +1,6 @@
1
- import { n as l, r as p, o as h, q as b, x as y } from "./index-DB2RGu8K.js";
2
- import { n as r, c as f } from "./index-el2rRTti.js";
3
- import { o as v } from "./if-defined-Dy4LSJRL.js";
1
+ import { q as l, r as p, t as h, u as b, x as y } from "./index-BBZwHOZx.js";
2
+ import { n as r, c as f } from "./index-B874HQ1C.js";
3
+ import { o as v } from "./if-defined-Db2RYcoI.js";
4
4
  const m = l`
5
5
  :host {
6
6
  position: relative;
@@ -123,11 +123,11 @@ const m = l`
123
123
  cursor: not-allowed;
124
124
  }
125
125
  `;
126
- var i = function(t, n, a, d) {
127
- var c = arguments.length, o = c < 3 ? n : d === null ? d = Object.getOwnPropertyDescriptor(n, a) : d, s;
128
- if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, n, a, d);
129
- else for (var u = t.length - 1; u >= 0; u--) (s = t[u]) && (o = (c < 3 ? s(o) : c > 3 ? s(n, a, o) : s(n, a)) || o);
130
- return c > 3 && o && Object.defineProperty(n, a, o), o;
126
+ var i = function(t, a, n, d) {
127
+ var c = arguments.length, o = c < 3 ? a : d === null ? d = Object.getOwnPropertyDescriptor(a, n) : d, u;
128
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, a, n, d);
129
+ else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (o = (c < 3 ? u(o) : c > 3 ? u(a, n, o) : u(a, n)) || o);
130
+ return c > 3 && o && Object.defineProperty(a, n, o), o;
131
131
  };
132
132
  let e = class extends b {
133
133
  constructor() {
@@ -1,6 +1,6 @@
1
- import { n as h, r as f, q as u, x as v } from "./index-DB2RGu8K.js";
2
- import { n as d, c as m, U as p } from "./index-el2rRTti.js";
3
- import "./index-Ce6TjHV2.js";
1
+ import { q as h, r as u, u as f, x as v } from "./index-BBZwHOZx.js";
2
+ import { n as d, c as m, U as p } from "./index-B874HQ1C.js";
3
+ import "./index-Dw0RgphK.js";
4
4
  const x = h`
5
5
  :host {
6
6
  display: block;
@@ -49,7 +49,7 @@ var o = function(r, a, l, i) {
49
49
  else for (var n = r.length - 1; n >= 0; n--) (c = r[n]) && (e = (s < 3 ? c(e) : s > 3 ? c(a, l, e) : c(a, l)) || e);
50
50
  return s > 3 && e && Object.defineProperty(a, l, e), e;
51
51
  };
52
- let t = class extends u {
52
+ let t = class extends f {
53
53
  constructor() {
54
54
  super(...arguments), this.imageSrc = void 0, this.alt = void 0, this.address = void 0, this.size = "xl";
55
55
  }
@@ -82,7 +82,7 @@ let t = class extends u {
82
82
  return this.dataset.variant = "default", null;
83
83
  }
84
84
  };
85
- t.styles = [f, x];
85
+ t.styles = [u, x];
86
86
  o([
87
87
  d()
88
88
  ], t.prototype, "imageSrc", void 0);
@@ -1,4 +1,4 @@
1
- import { au as Ce, ap as Re } from "./index-DB2RGu8K.js";
1
+ import { av as Ce, aq as Re } from "./index-BBZwHOZx.js";
2
2
  import { r as Ee } from "./index-ChxXyuZj.js";
3
3
  import * as Me from 'viem';
4
4
  function je(e, o) {
@@ -1,7 +1,7 @@
1
- import { n as u, r as g, o as m, q as p, x as n } from "./index-DB2RGu8K.js";
2
- import { n as r, c as x } from "./index-el2rRTti.js";
3
- import "./index-Ce6TjHV2.js";
4
- import "./index-CGTgmNWF.js";
1
+ import { q as u, r as g, t as m, u as p, x as n } from "./index-BBZwHOZx.js";
2
+ import { n as r, c as x } from "./index-B874HQ1C.js";
3
+ import "./index-Dw0RgphK.js";
4
+ import "./index-BCwqn9QZ.js";
5
5
  const b = u`
6
6
  button {
7
7
  display: block;
@@ -1,7 +1,7 @@
1
- import { a as g, s as C, j as w, n as k, r as $, q as m, x as d, O as l } from "./index-DB2RGu8K.js";
2
- import { n as x, c as f, r as v } from "./index-el2rRTti.js";
3
- import { o as z } from "./if-defined-Dy4LSJRL.js";
4
- import { e as O, n as _ } from "./ref-CujhPCia.js";
1
+ import { a as g, s as C, j as w, q as k, r as $, u as m, x as d, O as l } from "./index-BBZwHOZx.js";
2
+ import { n as x, c as f, r as v } from "./index-B874HQ1C.js";
3
+ import { o as z } from "./if-defined-Db2RYcoI.js";
4
+ import { e as O, n as _ } from "./ref-CRKmoaio.js";
5
5
  const h = g({
6
6
  isLegalCheckboxChecked: !1
7
7
  }), u = {
@@ -1,5 +1,5 @@
1
- import { n as p, r as d, q as f, x as c } from "./index-DB2RGu8K.js";
2
- import { n as m, c as h } from "./index-el2rRTti.js";
1
+ import { q as p, r as d, u as f, x as c } from "./index-BBZwHOZx.js";
2
+ import { n as m, c as h } from "./index-B874HQ1C.js";
3
3
  const x = p`
4
4
  :host {
5
5
  position: relative;
@@ -1,5 +1,5 @@
1
- import { t as d, r as p, q as m, v as r, x } from "./index-DB2RGu8K.js";
2
- import { n as h, c as f } from "./index-el2rRTti.js";
1
+ import { w as d, r as p, u as m, v as r, x } from "./index-BBZwHOZx.js";
2
+ import { n as h, c as f } from "./index-B874HQ1C.js";
3
3
  const g = d`
4
4
  :host {
5
5
  display: flex;
@@ -1,6 +1,6 @@
1
- import { C as l, E as g, R as h, G as m, S as w, b as c, Z as E, $ as _, y as R, n as y, r as b, q as v, x as C, o as $ } from "./index-DB2RGu8K.js";
2
- import { n as d, c as S } from "./index-el2rRTti.js";
3
- import { o as O } from "./if-defined-Dy4LSJRL.js";
1
+ import { C as l, E as g, R as h, I as m, S as w, b as c, $ as E, a0 as _, A as R, q as y, r as b, u as v, x as C, t as $ } from "./index-BBZwHOZx.js";
2
+ import { n as d, c as S } from "./index-B874HQ1C.js";
3
+ import { o as O } from "./if-defined-Db2RYcoI.js";
4
4
  function I() {
5
5
  try {
6
6
  return c.returnOpenHref(`${R.SECURE_SITE_SDK_ORIGIN}/loading`, "popupWindow", "width=600,height=800,scrollbars=yes");
@@ -8,7 +8,7 @@ function I() {
8
8
  throw new Error("Could not open social popup");
9
9
  }
10
10
  }
11
- async function L() {
11
+ async function A() {
12
12
  h.push("ConnectingFarcaster");
13
13
  const e = m.getAuthConnector();
14
14
  if (e) {
@@ -22,7 +22,7 @@ async function L() {
22
22
  }
23
23
  }
24
24
  }
25
- async function T(e) {
25
+ async function L(e) {
26
26
  h.push("ConnectingSocial");
27
27
  const o = m.getAuthConnector();
28
28
  let t = null;
@@ -57,14 +57,14 @@ async function T(e) {
57
57
  });
58
58
  }
59
59
  }
60
- async function G(e) {
60
+ async function W(e) {
61
61
  l.setAccountProp("socialProvider", e, l.state.activeChain), g.sendEvent({
62
62
  type: "track",
63
63
  event: "SOCIAL_LOGIN_STARTED",
64
64
  properties: { provider: e }
65
- }), e === "farcaster" ? await L() : await T(e);
65
+ }), e === "farcaster" ? await A() : await L(e);
66
66
  }
67
- const U = y`
67
+ const T = y`
68
68
  :host {
69
69
  display: flex;
70
70
  justify-content: center;
@@ -94,14 +94,14 @@ let p = class extends v {
94
94
  return C`<wui-icon color="inherit" size="inherit" name=${this.logo}></wui-icon> `;
95
95
  }
96
96
  };
97
- p.styles = [b, U];
97
+ p.styles = [b, T];
98
98
  x([
99
99
  d()
100
100
  ], p.prototype, "logo", void 0);
101
101
  p = x([
102
102
  S("wui-logo")
103
103
  ], p);
104
- const A = y`
104
+ const U = y`
105
105
  :host {
106
106
  width: 100%;
107
107
  }
@@ -153,7 +153,7 @@ let u = class extends v {
153
153
  `;
154
154
  }
155
155
  };
156
- u.styles = [b, $, A];
156
+ u.styles = [b, $, U];
157
157
  f([
158
158
  d()
159
159
  ], u.prototype, "logo", void 0);
@@ -170,5 +170,5 @@ u = f([
170
170
  S("wui-list-social")
171
171
  ], u);
172
172
  export {
173
- G as e
173
+ W as e
174
174
  };
@@ -1,5 +1,5 @@
1
- import { w as d, a as h, s as f, j as g, n as w, q as b, x as y } from "./index-DB2RGu8K.js";
2
- import { r as m, c as x } from "./index-el2rRTti.js";
1
+ import { y as d, a as h, s as f, j as g, q as w, u as y, x as b } from "./index-BBZwHOZx.js";
2
+ import { r as m, c as x } from "./index-B874HQ1C.js";
3
3
  const o = h({
4
4
  message: "",
5
5
  open: !1,
@@ -114,7 +114,7 @@ var n = function(t, e, i, p) {
114
114
  else for (var u = t.length - 1; u >= 0; u--) (c = t[u]) && (a = (l < 3 ? c(a) : l > 3 ? c(e, i, a) : c(e, i)) || a);
115
115
  return l > 3 && a && Object.defineProperty(e, i, a), a;
116
116
  };
117
- let r = class extends b {
117
+ let r = class extends y {
118
118
  constructor() {
119
119
  super(), this.unsubscribe = [], this.open = s.state.open, this.message = s.state.message, this.triggerRect = s.state.triggerRect, this.variant = s.state.variant, this.unsubscribe.push(s.subscribe((e) => {
120
120
  this.open = e.open, this.message = e.message, this.triggerRect = e.triggerRect, this.variant = e.variant;
@@ -132,7 +132,7 @@ let r = class extends b {
132
132
  --w3m-tooltip-parent-width: ${this.triggerRect.width / 2}px;
133
133
  --w3m-tooltip-display: ${this.open ? "flex" : "none"};
134
134
  --w3m-tooltip-opacity: ${this.open ? 1 : 0};
135
- `, y`<wui-flex>
135
+ `, b`<wui-flex>
136
136
  <wui-icon data-placement="top" size="inherit" name="cursor"></wui-icon>
137
137
  <wui-text color="primary" variant="sm-regular">${this.message}</wui-text>
138
138
  </wui-flex>`;
@@ -1,5 +1,5 @@
1
- import { n as l, r as b, o as p, q as h, x as v } from "./index-DB2RGu8K.js";
2
- import { n as r, c as f } from "./index-el2rRTti.js";
1
+ import { q as l, r as b, t as p, u as h, x as v } from "./index-BBZwHOZx.js";
2
+ import { n as r, c as f } from "./index-B874HQ1C.js";
3
3
  const m = l`
4
4
  button {
5
5
  background-color: transparent;
@@ -1,5 +1,5 @@
1
- import { n as c, r as l, q as u, x as f } from "./index-DB2RGu8K.js";
2
- import { n as p, c as m } from "./index-el2rRTti.js";
1
+ import { q as c, r as u, u as l, x as f } from "./index-BBZwHOZx.js";
2
+ import { n as p, c as m } from "./index-B874HQ1C.js";
3
3
  const g = c`
4
4
  :host {
5
5
  display: block;
@@ -32,7 +32,7 @@ var h = function(r, e, a, s) {
32
32
  else for (var d = r.length - 1; d >= 0; d--) (o = r[d]) && (t = (n < 3 ? o(t) : n > 3 ? o(e, a, t) : o(e, a)) || t);
33
33
  return n > 3 && t && Object.defineProperty(e, a, t), t;
34
34
  };
35
- let i = class extends u {
35
+ let i = class extends l {
36
36
  constructor() {
37
37
  super(...arguments), this.radius = 36;
38
38
  }
@@ -56,7 +56,7 @@ let i = class extends u {
56
56
  `;
57
57
  }
58
58
  };
59
- i.styles = [l, g];
59
+ i.styles = [u, g];
60
60
  h([
61
61
  p({ type: Number })
62
62
  ], i.prototype, "radius", void 0);
@@ -1,6 +1,6 @@
1
- import { t as h, q as d, O as c, x as a, E as x, z as b, C as g, W as v, R as C, n as m, r as _, o as $ } from "./index-DB2RGu8K.js";
2
- import { c as w, r as R } from "./index-el2rRTti.js";
3
- import "./index-CAqkQtOq.js";
1
+ import { w as h, u as d, O as c, x as a, E as x, D as b, C as g, W as v, R as C, q as m, r as _, t as $ } from "./index-BBZwHOZx.js";
2
+ import { c as w, r as R } from "./index-B874HQ1C.js";
3
+ import "./index-Ch8Y71PT.js";
4
4
  const T = h``;
5
5
  var O = function(n, e, r, o) {
6
6
  var i = arguments.length, t = i < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, r) : o, s;
@@ -1,5 +1,5 @@
1
- import { n as b, r as p, o as f, q as m, x as l } from "./index-DB2RGu8K.js";
2
- import { n as d, c as v } from "./index-el2rRTti.js";
1
+ import { q as b, r as p, t as f, u as m, x as l } from "./index-BBZwHOZx.js";
2
+ import { n as d, c as v } from "./index-B874HQ1C.js";
3
3
  const h = b`
4
4
  button {
5
5
  border: none;
@@ -1,7 +1,7 @@
1
- import { t as m, r as c, q as f, x as d } from "./index-DB2RGu8K.js";
2
- import { n as u, c as h } from "./index-el2rRTti.js";
3
- import { o as v } from "./if-defined-Dy4LSJRL.js";
4
- import "./index-C2kYO0cy.js";
1
+ import { w as m, r as c, u as f, x as d } from "./index-BBZwHOZx.js";
2
+ import { n as u, c as h } from "./index-B874HQ1C.js";
3
+ import { o as v } from "./if-defined-Db2RYcoI.js";
4
+ import "./index-DKxX5-s9.js";
5
5
  const b = m`
6
6
  :host {
7
7
  position: relative;
@@ -1,16 +1,16 @@
1
- import { O as $, ab as b, b as C, C as p, y as g, ac as B, u as w, ad as j, a as q, E as _, S as T, R as L, M as x, s as z, j as X, t as W, q as F, x as m, Y as J, G as M, X as Z } from "./index-DB2RGu8K.js";
2
- import { r as h, c as H } from "./index-el2rRTti.js";
3
- import { o as Y } from "./if-defined-Dy4LSJRL.js";
4
- import "./index-B6EegOWr.js";
5
- import "./index-vWXwGhx5.js";
6
- import "./index-CABGgn9P.js";
7
- import "./index-Ce6TjHV2.js";
8
- import "./index-DHWhyTIK.js";
9
- import "./index-BPEOHrMY.js";
10
- import "./index-D7KogVqW.js";
11
- import "./index-fsHFGWT7.js";
12
- import "./index-D8jtytdS.js";
13
- import "./index-JL3Wermk.js";
1
+ import { O as $, ac as b, b as T, C as p, A as g, ad as B, z as w, ae as j, a as q, E as _, S as C, R as L, T as x, s as z, j as X, w as W, u as F, x as m, Z as J, I as M, Y as Z } from "./index-BBZwHOZx.js";
2
+ import { r as h, c as H } from "./index-B874HQ1C.js";
3
+ import { o as Y } from "./if-defined-Db2RYcoI.js";
4
+ import "./index-BUYdR_2_.js";
5
+ import "./index-BgP8qyHN.js";
6
+ import "./index-CGVqIMrP.js";
7
+ import "./index-Dw0RgphK.js";
8
+ import "./index-Cs4b_oEO.js";
9
+ import "./index-CCLcIWvl.js";
10
+ import "./index-B7YpXXOx.js";
11
+ import "./index-C5VTkzn_.js";
12
+ import "./index-BPUorytH.js";
13
+ import "./index-CRnT53WM.js";
14
14
  const o = {
15
15
  INVALID_PAYMENT_CONFIG: "INVALID_PAYMENT_CONFIG",
16
16
  INVALID_RECIPIENT: "INVALID_RECIPIENT",
@@ -104,7 +104,7 @@ function ie(t) {
104
104
  return ae.includes(e);
105
105
  }
106
106
  async function oe(t) {
107
- const { paymentAssetNetwork: e, activeCaipNetwork: s, approvedCaipNetworkIds: a, requestedCaipNetworks: r } = t, u = C.sortRequestedNetworks(a, r).find((P) => P.caipNetworkId === e);
107
+ const { paymentAssetNetwork: e, activeCaipNetwork: s, approvedCaipNetworkIds: a, requestedCaipNetworks: r } = t, u = T.sortRequestedNetworks(a, r).find((P) => P.caipNetworkId === e);
108
108
  if (!u)
109
109
  throw new c(o.INVALID_PAYMENT_CONFIG);
110
110
  if (u.caipNetworkId === s.caipNetworkId)
@@ -257,7 +257,7 @@ const V = 0, v = "unknown", n = q({
257
257
  });
258
258
  n.exchanges = t.exchanges.slice(0, 2);
259
259
  } catch {
260
- throw T.showError(N.UNABLE_TO_GET_EXCHANGES), new c(o.UNABLE_TO_GET_EXCHANGES);
260
+ throw C.showError(N.UNABLE_TO_GET_EXCHANGES), new c(o.UNABLE_TO_GET_EXCHANGES);
261
261
  } finally {
262
262
  n.isLoading = !1;
263
263
  }
@@ -331,7 +331,7 @@ const V = 0, v = "unknown", n = q({
331
331
  if (!a)
332
332
  throw new c(o.UNABLE_TO_GET_PAY_URL);
333
333
  const i = t.openInNewTab ?? !0 ? "_blank" : "_self";
334
- return C.openHref(a.url, i), a;
334
+ return T.openHref(a.url, i), a;
335
335
  } catch (a) {
336
336
  throw a instanceof c ? n.error = a.message : n.error = N.GENERIC_PAYMENT_ERROR, new c(o.UNABLE_TO_GET_PAY_URL);
337
337
  }
@@ -393,7 +393,7 @@ const V = 0, v = "unknown", n = q({
393
393
  throw new c(o.INVALID_CHAIN_NAMESPACE);
394
394
  }
395
395
  } catch (u) {
396
- u instanceof c ? n.error = u.message : n.error = N.GENERIC_PAYMENT_ERROR, n.currentPayment.status = "FAILED", T.showError(n.error);
396
+ u instanceof c ? n.error = u.message : n.error = N.GENERIC_PAYMENT_ERROR, n.currentPayment.status = "FAILED", C.showError(n.error);
397
397
  } finally {
398
398
  n.isPaymentInProgress = !1;
399
399
  }
@@ -444,7 +444,7 @@ const V = 0, v = "unknown", n = q({
444
444
  openInNewTab: n.openInNewTab
445
445
  };
446
446
  } catch (e) {
447
- return e instanceof c ? n.error = e.message : n.error = N.GENERIC_PAYMENT_ERROR, n.isPaymentInProgress = !1, T.showError(n.error), null;
447
+ return e instanceof c ? n.error = e.message : n.error = N.GENERIC_PAYMENT_ERROR, n.isPaymentInProgress = !1, C.showError(n.error), null;
448
448
  }
449
449
  },
450
450
  async getBuyStatus(t, e) {
@@ -455,7 +455,7 @@ const V = 0, v = "unknown", n = q({
455
455
  type: "track",
456
456
  event: r.status === "SUCCESS" ? "PAY_SUCCESS" : "PAY_ERROR",
457
457
  properties: {
458
- message: r.status === "FAILED" ? C.parseError(n.error) : void 0,
458
+ message: r.status === "FAILED" ? T.parseError(n.error) : void 0,
459
459
  source: "pay",
460
460
  paymentId: n.paymentId || v,
461
461
  configuration: {
@@ -500,7 +500,7 @@ const V = 0, v = "unknown", n = q({
500
500
  type: "track",
501
501
  event: s,
502
502
  properties: {
503
- message: n.currentPayment.status === "FAILED" ? C.parseError(n.error) : void 0,
503
+ message: n.currentPayment.status === "FAILED" ? T.parseError(n.error) : void 0,
504
504
  source: "pay",
505
505
  paymentId: n.paymentId || v,
506
506
  configuration: {
@@ -678,9 +678,9 @@ let y = class extends F {
678
678
  const s = await l.handlePayWithExchange(e);
679
679
  s && (await x.open({
680
680
  view: "PayLoading"
681
- }), C.openHref(s.url, s.openInNewTab ? "_blank" : "_self"));
681
+ }), T.openHref(s.url, s.openInNewTab ? "_blank" : "_self"));
682
682
  } catch (s) {
683
- console.error("Failed to pay with exchange", s), T.showError("Failed to pay with exchange");
683
+ console.error("Failed to pay with exchange", s), C.showError("Failed to pay with exchange");
684
684
  } finally {
685
685
  this.loadingExchangeId = null;
686
686
  }
@@ -690,7 +690,7 @@ let y = class extends F {
690
690
  try {
691
691
  await w.disconnect();
692
692
  } catch {
693
- console.error("Failed to disconnect"), T.showError("Failed to disconnect");
693
+ console.error("Failed to disconnect"), C.showError("Failed to disconnect");
694
694
  }
695
695
  }
696
696
  disconnectedCallback() {
@@ -1,7 +1,7 @@
1
- import { n as h, r as m, o as f, q as g, x as a } from "./index-DB2RGu8K.js";
2
- import { n as i, c as b } from "./index-el2rRTti.js";
3
- import { o as p } from "./if-defined-Dy4LSJRL.js";
4
- import "./index-BPEOHrMY.js";
1
+ import { q as h, r as m, t as f, u as g, x as a } from "./index-BBZwHOZx.js";
2
+ import { n as i, c as b } from "./index-B874HQ1C.js";
3
+ import { o as p } from "./if-defined-Db2RYcoI.js";
4
+ import "./index-CCLcIWvl.js";
5
5
  const y = h`
6
6
  :host {
7
7
  width: 100%;
@@ -1,6 +1,6 @@
1
- import { n as u, r as h, o as f, q as p, x as g } from "./index-DB2RGu8K.js";
2
- import { n as d, c as m } from "./index-el2rRTti.js";
3
- import { o as b } from "./if-defined-Dy4LSJRL.js";
1
+ import { q as u, r as h, t as f, u as p, x as g } from "./index-BBZwHOZx.js";
2
+ import { n as d, c as m } from "./index-B874HQ1C.js";
3
+ import { o as b } from "./if-defined-Db2RYcoI.js";
4
4
  const y = u`
5
5
  :host {
6
6
  display: inline-flex;
@@ -1,6 +1,6 @@
1
- import { n as d, r as m, o as c, q as f, v, x as h } from "./index-DB2RGu8K.js";
2
- import { n as r, c as y, U as b } from "./index-el2rRTti.js";
3
- import { e as g, n as w } from "./ref-CujhPCia.js";
1
+ import { q as d, r as m, t as c, u as f, v, x as h } from "./index-BBZwHOZx.js";
2
+ import { n as r, c as y, U as b } from "./index-B874HQ1C.js";
3
+ import { e as g, n as w } from "./ref-CRKmoaio.js";
4
4
  const x = d`
5
5
  :host {
6
6
  position: relative;
@@ -65,9 +65,9 @@ const x = d`
65
65
  }
66
66
  `;
67
67
  var a = function(t, e, n, s) {
68
- var p = arguments.length, o = p < 3 ? e : s === null ? s = Object.getOwnPropertyDescriptor(e, n) : s, l;
68
+ var p = arguments.length, o = p < 3 ? e : s === null ? s = Object.getOwnPropertyDescriptor(e, n) : s, u;
69
69
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(t, e, n, s);
70
- else for (var u = t.length - 1; u >= 0; u--) (l = t[u]) && (o = (p < 3 ? l(o) : p > 3 ? l(e, n, o) : l(e, n)) || o);
70
+ else for (var l = t.length - 1; l >= 0; l--) (u = t[l]) && (o = (p < 3 ? u(o) : p > 3 ? u(e, n, o) : u(e, n)) || o);
71
71
  return p > 3 && o && Object.defineProperty(e, n, o), o;
72
72
  };
73
73
  let i = class extends f {