@everymatrix/player-challenges 0.1.18 → 0.1.20

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 (95) hide show
  1. package/components/{ArrowLeftIcon-f3IOpYNO.cjs → ArrowLeftIcon-DO6udG1s.cjs} +1 -1
  2. package/components/{ArrowLeftIcon-DorWQbN-.js → ArrowLeftIcon-Kaa3LG8f.js} +1 -1
  3. package/components/Badge-CRqhE-Hj.js +138 -0
  4. package/components/Badge-D0ZJbgp_.cjs +9 -0
  5. package/components/{Button-DgtpbC5z.js → Button--aG_lPro.js} +17 -17
  6. package/components/{Button-CUICdAqJ.cjs → Button-DAWII22_.cjs} +2 -2
  7. package/components/ChallengeBanner-BSZGA4qu.js +75 -0
  8. package/components/ChallengeBanner-Bs54x1Zc.cjs +4 -0
  9. package/components/ChallengeBreadcrumbs-D-k5g986.cjs +1 -0
  10. package/components/{ChallengeBreadcrumbs-DHNKXK43.js → ChallengeBreadcrumbs-DeCNSw4j.js} +7 -7
  11. package/components/{ChallengeCard-BuDYjnna.cjs → ChallengeCard-DV8NRsI8.cjs} +1 -1
  12. package/components/{ChallengeCard-SkQ_xfqo.js → ChallengeCard-DmJwt2y9.js} +5 -5
  13. package/components/{ChallengeClaimCode-zgBFr-2W.cjs → ChallengeClaimCode-C3wmimbK.cjs} +1 -1
  14. package/components/{ChallengeClaimCode-DiJqww5t.js → ChallengeClaimCode-lHWYRca3.js} +2 -2
  15. package/components/{ChallengeDetails-DMdkjCMC.js → ChallengeDetails-CfJ9IZJZ.js} +2 -2
  16. package/components/{ChallengeDetails-D1h6ITwb.cjs → ChallengeDetails-DhoUowNR.cjs} +1 -1
  17. package/components/ChallengeDetailsSkeleton-CQE9XygJ.js +138 -0
  18. package/components/ChallengeDetailsSkeleton-DUsj6Ex3.cjs +20 -0
  19. package/components/{ChallengeEvents-B6l3iUIf.js → ChallengeEvents-D94H9Krw.js} +16 -16
  20. package/components/{ChallengeEvents-D5kenBIc.cjs → ChallengeEvents-DbhIZhJN.cjs} +1 -1
  21. package/components/ChallengeGames-BzYJAg3r.cjs +14 -0
  22. package/components/ChallengeGames-CEbrL9fk.js +135 -0
  23. package/components/{ChallengeHistory-8LPDK1aA.js → ChallengeHistory-C37Ju-TF.js} +4 -4
  24. package/components/{ChallengeHistory-CHK2Q13H.cjs → ChallengeHistory-IrHNMx-f.cjs} +1 -1
  25. package/components/ChallengeLevels-C1Za1xaA.js +314 -0
  26. package/components/ChallengeLevels-C9PgTVw2.cjs +8 -0
  27. package/components/ChallengeList-DBHOCEpb.cjs +21 -0
  28. package/components/ChallengeList-DNBErKGO.js +1228 -0
  29. package/components/{ChallengeProgress-BFAihSd8.js → ChallengeProgress-BYIofXd9.js} +15 -15
  30. package/components/{ChallengeProgress-F4DvqxcC.cjs → ChallengeProgress-DD6NEO1V.cjs} +1 -1
  31. package/components/{ChallengeProgressItem-BHk-1FKU.js → ChallengeProgressItem-BPDACh1_.js} +241 -225
  32. package/components/ChallengeProgressItem-Cx1q3OK1.cjs +69 -0
  33. package/components/ChallengeRules-Cd4G_z7I.js +161 -0
  34. package/components/ChallengeRules-yhHxeXjC.cjs +1 -0
  35. package/components/ChallengeSummary-DUvVQjAb.js +230 -0
  36. package/components/ChallengeSummary-DYXjswnX.cjs +1 -0
  37. package/components/ChallengeTabContent-GaoM87MI.cjs +16 -0
  38. package/components/ChallengeTabContent-e78Z_mn_.js +782 -0
  39. package/components/ChallengeTabPanel-CSDQ_fby.cjs +1 -0
  40. package/components/{ChallengeTabPanel-CdcGT_LI.js → ChallengeTabPanel-swSmY8NR.js} +47 -44
  41. package/components/ChallengeTabs-C8XAfjLf.cjs +14 -0
  42. package/components/ChallengeTabs-DJMMrYac.js +8754 -0
  43. package/components/{CheckIcon-BqS1Tdfu.cjs → CheckIcon-BlrbsjpT.cjs} +1 -1
  44. package/components/{CheckIcon-B82NDFTL.js → CheckIcon-tK7V78N4.js} +1 -1
  45. package/components/{ChevronIcon-zvGKIAT7.cjs → ChevronIcon-BqhIe8-q.cjs} +1 -1
  46. package/components/{ChevronIcon-C0yjiiug.js → ChevronIcon-qaJ1Oj2y.js} +1 -1
  47. package/components/ChipIcon-BduX6dog.cjs +1 -0
  48. package/components/ChipIcon-Ujh-VOxq.js +26 -0
  49. package/components/ChipShineIcon-CeuttnnT.js +28 -0
  50. package/components/ChipShineIcon-Da9RxUg4.cjs +1 -0
  51. package/components/{ExistIcon-Y3lLvkAJ.js → ExistIcon-D4vwoDrn.js} +1 -1
  52. package/components/{ExistIcon-DifozqZH.cjs → ExistIcon-DRSBI9MS.cjs} +1 -1
  53. package/components/{GiftIcon-Bd4y8-Fm.cjs → GiftIcon-CamLbeF4.cjs} +1 -1
  54. package/components/{GiftIcon-CY_-XK0b.js → GiftIcon-OBRuiA-K.js} +14 -14
  55. package/components/{LinkIcon-CLHvOQ2s.js → LinkIcon-CgJEoIZw.js} +1 -1
  56. package/components/{LinkIcon-Bttg6ZAz.cjs → LinkIcon-Ddovd_62.cjs} +1 -1
  57. package/components/{LockIcon-gAFRYl52.js → LockIcon-DIQ-GJQk.js} +1 -1
  58. package/components/{LockIcon-BgDxb03o.cjs → LockIcon-a1RxQQaV.cjs} +1 -1
  59. package/components/Pagination-CP5YVa1Z.js +113 -0
  60. package/components/Pagination-o53D-u3a.cjs +4 -0
  61. package/components/PlayerChallenges-B8InccvG.cjs +1 -0
  62. package/components/{PlayerChallenges-CaUu7idr.js → PlayerChallenges-BvI4m2pX.js} +158 -135
  63. package/components/{StarIcon-DE0r6703.cjs → StarIcon-BObqgUDq.cjs} +1 -1
  64. package/components/{StarIcon-CbfuCfUA.js → StarIcon-DndEbyJY.js} +1 -1
  65. package/components/{TargetIcon-BVhRYDcS.js → TargetIcon-Bo2nEJYn.js} +14 -14
  66. package/components/{TargetIcon-DDclkkVP.cjs → TargetIcon-DI14gV_H.cjs} +1 -1
  67. package/esnext/player-challenges.cjs +1 -1
  68. package/esnext/player-challenges.js +2 -2
  69. package/package.json +1 -1
  70. package/components/Badge-BDyFx08l.cjs +0 -7
  71. package/components/Badge-t5ERZxvC.js +0 -130
  72. package/components/ChallengeBanner-DSarDh3k.js +0 -59
  73. package/components/ChallengeBanner-uzrRUAwa.cjs +0 -4
  74. package/components/ChallengeBreadcrumbs-DwyCD4n7.cjs +0 -1
  75. package/components/ChallengeGames-CZu1MzPA.cjs +0 -11
  76. package/components/ChallengeGames-CjLLzYVy.js +0 -134
  77. package/components/ChallengeLevels-CCZGLr9f.cjs +0 -8
  78. package/components/ChallengeLevels-s9abBMuq.js +0 -292
  79. package/components/ChallengeList-CK16hckg.cjs +0 -20
  80. package/components/ChallengeList-D6_LjVsa.js +0 -1203
  81. package/components/ChallengeProgressItem-DrMZEU3z.cjs +0 -68
  82. package/components/ChallengeRules-CIINsSVb.js +0 -173
  83. package/components/ChallengeRules-D5vuaTVl.cjs +0 -1
  84. package/components/ChallengeSummary-BhoNxD8d.cjs +0 -1
  85. package/components/ChallengeSummary-sGIfhmFq.js +0 -213
  86. package/components/ChallengeTabContent-CYsszYCj.js +0 -795
  87. package/components/ChallengeTabContent-CftvI5C6.cjs +0 -12
  88. package/components/ChallengeTabPanel-ChsZw13b.cjs +0 -1
  89. package/components/ChallengeTabSkeleton-CDYom40f.cjs +0 -15
  90. package/components/ChallengeTabSkeleton-CuRzH3G_.js +0 -92
  91. package/components/ChallengeTabs-Dcgam5G5.cjs +0 -14
  92. package/components/ChallengeTabs-TgwP2u9F.js +0 -8618
  93. package/components/Pagination-4P-rWszf.cjs +0 -12
  94. package/components/Pagination-CbvI_9SC.js +0 -123
  95. package/components/PlayerChallenges-CtnY-k5K.cjs +0 -1
@@ -1,13 +1,13 @@
1
- import { c as V, d as F, h as ue, p as s, u as j, q as ge, ak as H, aq as B, v as _, D as O, w as E, x as G, aI as S, aN as x, E as k, A as n, aO as N, aP as ce, aK as he, z as be, a as U, b as Q, C as u, k as W, e as l, aG as ve, n as me, r as fe, H as q, o as J, aQ as Te, aR as Ie, aS as Ce, aL as K, al as ye } from "./ChallengeTabs-TgwP2u9F.js";
2
- import { a as De } from "./ChallengeList-D6_LjVsa.js";
3
- import { C as ke } from "./ChallengeBreadcrumbs-DHNKXK43.js";
4
- import { b as Se } from "./ChallengeTabContent-CYsszYCj.js";
1
+ import { c as W, d as X, h as ce, p as s, u as U, q as he, au as O, aA as G, v as z, E as V, w as N, x as q, aR as y, aW as H, F as _, A as t, aX as x, aY as be, aT as me, z as ve, a as B, b as Y, C as i, k as Z, e as r, aP as fe, n as Te, r as Ie, I as F, o as J, aZ as ye, a_ as Ce, a$ as De, aU as R, av as ke, aV as Se } from "./ChallengeTabs-DJMMrYac.js";
2
+ import { a as _e } from "./ChallengeList-DNBErKGO.js";
3
+ import { C as Me } from "./ChallengeBreadcrumbs-DeCNSw4j.js";
4
+ import { b as ze } from "./ChallengeTabContent-e78Z_mn_.js";
5
5
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
6
6
  }, globalThis.customElements = { define() {
7
7
  }, get() {
8
8
  }, whenDefined() {
9
9
  } });
10
- const Me = {
10
+ const Le = {
11
11
  en: {
12
12
  noChallenges: "No challenges at the moment. Try exploring events or keep playing to unlock new ones.",
13
13
  loadMore: "Load more",
@@ -44,142 +44,148 @@ const Me = {
44
44
  challengesAnonymous: "Jelentkezzen be, hogy lássa a kihívásait és haladását."
45
45
  }
46
46
  };
47
- var R = W("<!> <!>", 1), _e = W('<div class="player-challenges svelte-1edjcz1"><!></div>');
48
- const pe = {
47
+ var K = Z("<!> <!>", 1), we = Z('<div class="player-challenges svelte-1edjcz1"><!></div>');
48
+ const Pe = {
49
49
  hash: "svelte-1edjcz1",
50
50
  code: ".player-challenges.svelte-1edjcz1 {display:flex;flex-direction:column;gap:12px;width:100%;}"
51
51
  };
52
- function X(z, t) {
53
- F(t, !0), ue(z, pe);
54
- const g = s(t, "endpoint", 7, ""), c = s(t, "userSession", 7, ""), h = s(t, "userId", 7, ""), b = s(t, "domainId", 7, ""), r = s(t, "locale", 7, "en"), v = s(t, "translationUrl", 7), i = s(t, "isMobile", 7), T = s(t, "activeTab", 23, () => S.Promo), C = s(t, "activeChallengeId", 7), y = s(t, "activeDetailsTab", 7), D = s(t, "showTabDot", 7, !1);
55
- j(() => ge(r(), Me)), H(() => {
56
- v() && B(v(), "challenge-card");
57
- }), _(() => {
58
- O(r() || "en");
52
+ function Q(w, n) {
53
+ X(n, !0), ce(w, Pe);
54
+ const g = s(n, "endpoint", 7, ""), c = s(n, "userSession", 7, ""), h = s(n, "userId", 7, ""), b = s(n, "domainId", 7, ""), l = s(n, "locale", 7, "en"), m = s(n, "translationUrl", 7), d = s(n, "isMobile", 7, !0), T = s(n, "activeTab", 23, () => y.Promo), C = s(n, "activeChallengeId", 7), D = s(n, "activeDetailsTab", 7), k = s(n, "historyLimit", 7), S = s(n, "showTabDot", 7, !1);
55
+ U(() => he(l(), Le)), O(() => {
56
+ m() && G(m(), "challenge-card");
57
+ }), z(() => {
58
+ V(l() || "en");
59
59
  });
60
- let m = E(G(j(() => x(T())) ?? S.Promo));
61
- _(() => {
62
- const e = x(T());
63
- e !== void 0 && k(m, e, !0);
60
+ let v = N(q(U(() => H(T())) ?? y.Promo));
61
+ z(() => {
62
+ const e = H(T());
63
+ e !== void 0 && _(v, e, !0);
64
64
  });
65
- const M = u(() => i() ? void 0 : C() || void 0);
66
- let f = E(G(j(() => n(M))));
67
- _(() => {
68
- n(M) !== void 0 && (k(f, n(M), !0), N(!0, n(M)));
65
+ const M = i(() => d() ? void 0 : C() || void 0);
66
+ let f = N(q(U(() => t(M))));
67
+ z(() => {
68
+ t(M) !== void 0 && (_(f, t(M), !0), x(!0, t(M)));
69
69
  });
70
- let p = E(void 0);
71
- const w = u(() => !c() && !h()), d = ce(() => ({
70
+ let L = N(void 0);
71
+ const A = i(() => !c() && !h()), u = be(() => ({
72
72
  endpoint: g(),
73
73
  domainId: b(),
74
74
  userSession: c(),
75
75
  userId: h(),
76
- locale: r(),
77
- pageSize: ve(i())
78
- })), a = u(() => d.findChallenge(n(f))), Z = u(() => {
76
+ locale: l(),
77
+ pageSize: fe(d())
78
+ })), P = i(() => u.findChallenge(t(f))), a = i(() => {
79
79
  const e = [];
80
- return d.runningChallenges.some((o) => o.IsNew) && e.push(S.Active), d.pausedChallenges.some((o) => o.IsNew) && e.push(S.Pending), e;
81
- }), $ = (e) => {
82
- e !== n(m) && (k(m, e, !0), Ie(Ce[e]));
83
- }, ee = (e, o) => {
84
- k(f, e, !0), k(p, o, !0), i() || N(!0, e);
80
+ return u.activeChallenges.some((o) => o.IsNew) && e.push(y.Active), u.awaitingChallenges.some((o) => o.IsNew) && e.push(y.Pending), e;
81
+ }), ee = (e) => {
82
+ e !== t(v) && (_(v, e, !0), Ce(De[e]));
83
+ }, te = (e, o) => {
84
+ _(f, e, !0), _(L, o, !0), d() || x(!0, e);
85
85
  }, ne = () => {
86
- i() || N(!1, n(f)), k(f, void 0), k(p, void 0);
86
+ d() || x(!1, t(f)), _(f, void 0), _(L, void 0);
87
87
  };
88
- H(() => {
89
- v() && B(v(), "player-challenges");
90
- }), _(() => {
91
- O(r() || "en");
92
- }), _(() => {
93
- const e = n(m), o = {
88
+ O(() => {
89
+ m() && G(m(), "player-challenges");
90
+ }), z(() => {
91
+ V(l() || "en");
92
+ }), z(() => {
93
+ const e = t(v), o = {
94
94
  endpoint: g(),
95
95
  domainId: b(),
96
96
  userSession: c(),
97
97
  userId: h(),
98
- locale: r()
99
- }, I = he[e];
100
- !o.endpoint || !I || d.load(I, n(w));
101
- }), _(() => {
98
+ locale: l()
99
+ }, I = me[e];
100
+ !o.endpoint || !I || u.load(I, t(A));
101
+ }), z(() => {
102
102
  if (g())
103
- return d.connect(), () => d.disconnect();
103
+ return u.connect(), () => u.disconnect();
104
104
  });
105
- var te = {
105
+ var ae = {
106
106
  get endpoint() {
107
107
  return g();
108
108
  },
109
109
  set endpoint(e = "") {
110
- g(e), l();
110
+ g(e), r();
111
111
  },
112
112
  get userSession() {
113
113
  return c();
114
114
  },
115
115
  set userSession(e = "") {
116
- c(e), l();
116
+ c(e), r();
117
117
  },
118
118
  get userId() {
119
119
  return h();
120
120
  },
121
121
  set userId(e = "") {
122
- h(e), l();
122
+ h(e), r();
123
123
  },
124
124
  get domainId() {
125
125
  return b();
126
126
  },
127
127
  set domainId(e = "") {
128
- b(e), l();
128
+ b(e), r();
129
129
  },
130
130
  get locale() {
131
- return r();
131
+ return l();
132
132
  },
133
133
  set locale(e = "en") {
134
- r(e), l();
134
+ l(e), r();
135
135
  },
136
136
  get translationUrl() {
137
- return v();
137
+ return m();
138
138
  },
139
139
  set translationUrl(e) {
140
- v(e), l();
140
+ m(e), r();
141
141
  },
142
142
  get isMobile() {
143
- return i();
143
+ return d();
144
144
  },
145
- set isMobile(e) {
146
- i(e), l();
145
+ set isMobile(e = !0) {
146
+ d(e), r();
147
147
  },
148
148
  get activeTab() {
149
149
  return T();
150
150
  },
151
- set activeTab(e = S.Promo) {
152
- T(e), l();
151
+ set activeTab(e = y.Promo) {
152
+ T(e), r();
153
153
  },
154
154
  get activeChallengeId() {
155
155
  return C();
156
156
  },
157
157
  set activeChallengeId(e) {
158
- C(e), l();
158
+ C(e), r();
159
159
  },
160
160
  get activeDetailsTab() {
161
- return y();
161
+ return D();
162
162
  },
163
163
  set activeDetailsTab(e) {
164
- y(e), l();
164
+ D(e), r();
165
+ },
166
+ get historyLimit() {
167
+ return k();
168
+ },
169
+ set historyLimit(e) {
170
+ k(e), r();
165
171
  },
166
172
  get showTabDot() {
167
- return D();
173
+ return S();
168
174
  },
169
175
  set showTabDot(e = !1) {
170
- D(e), l();
176
+ S(e), r();
171
177
  }
172
- }, A = _e(), ae = me(A);
178
+ }, p = we(), se = Te(p);
173
179
  {
174
- var se = (e) => {
175
- var o = R(), I = q(o);
176
- ke(I, { onBack: ne });
177
- var P = J(I, 2);
180
+ var re = (e) => {
181
+ var o = K(), I = F(o);
182
+ Me(I, { onBack: ne });
183
+ var j = J(I, 2);
178
184
  {
179
- let re = u(() => n(m) === S.Promo), oe = u(() => !!n(a) && d.pausedChallengeIds.includes(n(a).ChallengeId)), ie = u(() => n(p) ?? y());
180
- De(P, {
185
+ let le = i(() => t(v) === y.Promo), oe = i(() => t(v) === y.Pending), de = i(() => !!t(P) && u.pausedChallengeIds.includes(t(P).ChallengeId)), ue = i(() => t(L) ?? D());
186
+ _e(j, {
181
187
  get challengeId() {
182
- return n(f);
188
+ return t(f);
183
189
  },
184
190
  get endpoint() {
185
191
  return g();
@@ -194,41 +200,44 @@ function X(z, t) {
194
200
  return b();
195
201
  },
196
202
  get locale() {
197
- return r();
203
+ return l();
198
204
  },
199
205
  get isPromo() {
200
- return n(re);
206
+ return t(le);
207
+ },
208
+ get isPending() {
209
+ return t(oe);
201
210
  },
202
211
  get isPaused() {
203
- return n(oe);
212
+ return t(de);
204
213
  },
205
- onStatusChange: (L, de) => d.patchProgress(L, { Status: de }),
206
- onViewed: (L) => d.patchProgress(L, { IsNew: !1 }),
214
+ onStatusChange: (E, ge) => u.patchProgress(E, { Status: ge }),
215
+ onViewed: (E) => u.patchProgress(E, { IsNew: !1 }),
207
216
  get activeTab() {
208
- return n(ie);
217
+ return t(ue);
209
218
  },
210
219
  get isMobile() {
211
- return i();
220
+ return d();
212
221
  }
213
222
  });
214
223
  }
215
- U(e, o);
216
- }, le = (e) => {
217
- var o = R(), I = q(o);
218
- Te(I, {
224
+ B(e, o);
225
+ }, ie = (e) => {
226
+ var o = K(), I = F(o);
227
+ ye(I, {
219
228
  get activeTab() {
220
- return n(m);
229
+ return t(v);
221
230
  },
222
- onTabChange: $,
231
+ onTabChange: ee,
223
232
  get notifyTabs() {
224
- return n(Z);
233
+ return t(a);
225
234
  },
226
235
  get showTabDot() {
227
- return D();
236
+ return S();
228
237
  }
229
238
  });
230
- var P = J(I, 2);
231
- Se(P, {
239
+ var j = J(I, 2);
240
+ ze(j, {
232
241
  get endpoint() {
233
242
  return g();
234
243
  },
@@ -242,28 +251,31 @@ function X(z, t) {
242
251
  return b();
243
252
  },
244
253
  get locale() {
245
- return r();
254
+ return l();
246
255
  },
247
256
  get challenges() {
248
- return d;
257
+ return u;
249
258
  },
250
- onViewDetails: ee,
259
+ onViewDetails: te,
251
260
  get activeTab() {
252
- return n(m);
261
+ return t(v);
253
262
  },
254
263
  get isMobile() {
255
- return i();
264
+ return d();
265
+ },
266
+ get historyLimit() {
267
+ return k();
256
268
  }
257
- }), U(e, o);
269
+ }), B(e, o);
258
270
  };
259
- be(ae, (e) => {
260
- n(f) ? e(se) : e(le, -1);
271
+ ve(se, (e) => {
272
+ t(f) ? e(re) : e(ie, -1);
261
273
  });
262
274
  }
263
- return fe(A), U(z, A), Q(te);
275
+ return Ie(p), B(w, p), Y(ae);
264
276
  }
265
- V(
266
- X,
277
+ W(
278
+ Q,
267
279
  {
268
280
  endpoint: {},
269
281
  userSession: {},
@@ -275,85 +287,92 @@ V(
275
287
  activeTab: {},
276
288
  activeChallengeId: {},
277
289
  activeDetailsTab: {},
290
+ historyLimit: {},
278
291
  showTabDot: {}
279
292
  },
280
293
  [],
281
294
  [],
282
295
  { mode: "open" }
283
296
  );
284
- function Y(z, t) {
285
- F(t, !0);
286
- let g = s(t, "endpoint", 7, ""), c = s(t, "userSession", 7, ""), h = s(t, "userId", 7, ""), b = s(t, "domainId", 7, ""), r = s(t, "locale", 7, "en"), v = s(t, "translationUrl", 7, ""), i = s(t, "isMobile", 7), T = s(t, "activeTab", 7), C = s(t, "activeChallengeId", 7), y = s(t, "activeDetailsTab", 7), D = s(t, "showTabDot", 7);
287
- const m = u(() => K(i(), !0)), M = u(() => x(T()) ?? S.Promo), f = u(() => C() || void 0), p = u(() => ye(y())), w = u(() => K(D()));
288
- var d = {
297
+ function $(w, n) {
298
+ X(n, !0);
299
+ let g = s(n, "endpoint", 7, ""), c = s(n, "userSession", 7, ""), h = s(n, "userId", 7, ""), b = s(n, "domainId", 7, ""), l = s(n, "locale", 7, "en"), m = s(n, "translationUrl", 7, ""), d = s(n, "isMobile", 7), T = s(n, "activeTab", 7), C = s(n, "activeChallengeId", 7), D = s(n, "activeDetailsTab", 7), k = s(n, "historyLimit", 7), S = s(n, "showTabDot", 7);
300
+ const v = i(() => R(d(), !0)), M = i(() => H(T()) ?? y.Promo), f = i(() => C() || void 0), L = i(() => ke(D())), A = i(() => R(S())), u = i(() => Se(k(), 0) || void 0);
301
+ var P = {
289
302
  get endpoint() {
290
303
  return g();
291
304
  },
292
305
  set endpoint(a = "") {
293
- g(a), l();
306
+ g(a), r();
294
307
  },
295
308
  get userSession() {
296
309
  return c();
297
310
  },
298
311
  set userSession(a = "") {
299
- c(a), l();
312
+ c(a), r();
300
313
  },
301
314
  get userId() {
302
315
  return h();
303
316
  },
304
317
  set userId(a = "") {
305
- h(a), l();
318
+ h(a), r();
306
319
  },
307
320
  get domainId() {
308
321
  return b();
309
322
  },
310
323
  set domainId(a = "") {
311
- b(a), l();
324
+ b(a), r();
312
325
  },
313
326
  get locale() {
314
- return r();
327
+ return l();
315
328
  },
316
329
  set locale(a = "en") {
317
- r(a), l();
330
+ l(a), r();
318
331
  },
319
332
  get translationUrl() {
320
- return v();
333
+ return m();
321
334
  },
322
335
  set translationUrl(a = "") {
323
- v(a), l();
336
+ m(a), r();
324
337
  },
325
338
  get isMobile() {
326
- return i();
339
+ return d();
327
340
  },
328
341
  set isMobile(a) {
329
- i(a), l();
342
+ d(a), r();
330
343
  },
331
344
  get activeTab() {
332
345
  return T();
333
346
  },
334
347
  set activeTab(a) {
335
- T(a), l();
348
+ T(a), r();
336
349
  },
337
350
  get activeChallengeId() {
338
351
  return C();
339
352
  },
340
353
  set activeChallengeId(a) {
341
- C(a), l();
354
+ C(a), r();
342
355
  },
343
356
  get activeDetailsTab() {
344
- return y();
357
+ return D();
345
358
  },
346
359
  set activeDetailsTab(a) {
347
- y(a), l();
360
+ D(a), r();
361
+ },
362
+ get historyLimit() {
363
+ return k();
364
+ },
365
+ set historyLimit(a) {
366
+ k(a), r();
348
367
  },
349
368
  get showTabDot() {
350
- return D();
369
+ return S();
351
370
  },
352
371
  set showTabDot(a) {
353
- D(a), l();
372
+ S(a), r();
354
373
  }
355
374
  };
356
- return X(z, {
375
+ return Q(w, {
357
376
  get endpoint() {
358
377
  return g();
359
378
  },
@@ -367,30 +386,33 @@ function Y(z, t) {
367
386
  return b();
368
387
  },
369
388
  get locale() {
370
- return r();
389
+ return l();
371
390
  },
372
391
  get translationUrl() {
373
- return v();
392
+ return m();
374
393
  },
375
394
  get isMobile() {
376
- return n(m);
395
+ return t(v);
377
396
  },
378
397
  get activeTab() {
379
- return n(M);
398
+ return t(M);
380
399
  },
381
400
  get activeChallengeId() {
382
- return n(f);
401
+ return t(f);
383
402
  },
384
403
  get activeDetailsTab() {
385
- return n(p);
404
+ return t(L);
405
+ },
406
+ get historyLimit() {
407
+ return t(u);
386
408
  },
387
409
  get showTabDot() {
388
- return n(w);
410
+ return t(A);
389
411
  }
390
- }), Q(d);
412
+ }), Y(P);
391
413
  }
392
- customElements.define("player-challenges", V(
393
- Y,
414
+ customElements.define("player-challenges", W(
415
+ $,
394
416
  {
395
417
  endpoint: {},
396
418
  userSession: {},
@@ -402,16 +424,17 @@ customElements.define("player-challenges", V(
402
424
  activeTab: {},
403
425
  activeChallengeId: {},
404
426
  activeDetailsTab: {},
427
+ historyLimit: {},
405
428
  showTabDot: {}
406
429
  },
407
430
  [],
408
431
  []
409
432
  ));
410
- const Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
433
+ const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
411
434
  __proto__: null,
412
- default: Y
435
+ default: $
413
436
  }, Symbol.toStringTag, { value: "Module" }));
414
437
  export {
415
- X as P,
416
- Le as a
438
+ Q as P,
439
+ Ue as a
417
440
  };
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var a=e.from_svg('<svg viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M4.46289 0.26802C5.08176 -0.0893401 5.845 -0.0893401 6.46387 0.26802L9.92676 2.26802C10.5455 2.6253 10.9268 3.28596 10.9268 4.00044V8.00044C10.9268 8.71492 10.5455 9.37558 9.92676 9.73286L6.46387 11.7329C5.845 12.0902 5.08176 12.0902 4.46289 11.7329L1 9.73286C0.381267 9.37558 0 8.71492 0 8.00044V4.00044C0 3.28596 0.381267 2.6253 1 2.26802L4.46289 0.26802ZM4.36914 4.49263L1.86328 4.82954L3.69238 6.57466L3.23828 9.06197L5.46387 7.86177L7.68848 9.06197L7.23535 6.57466L9.06348 4.82954L6.55859 4.49263L5.46387 2.21333L4.36914 4.49263Z" fill="currentColor"></path></svg>');function s(o,t){e.push(t,!0);let h=e.prop(t,"width",7,11),i=e.prop(t,"height",7,12);var l={get width(){return h()},set width(r=11){h(r),e.flushSync()},get height(){return i()},set height(r=12){i(r),e.flushSync()}},n=a();return e.template_effect(()=>{e.set_attribute(n,"width",h()),e.set_attribute(n,"height",i())}),e.append(o,n),e.pop(l)}e.create_custom_element(s,{width:{},height:{}},[],[],{mode:"open"});exports.StarIcon=s;
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-C8XAfjLf.cjs");var a=e.from_svg('<svg viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M4.46289 0.26802C5.08176 -0.0893401 5.845 -0.0893401 6.46387 0.26802L9.92676 2.26802C10.5455 2.6253 10.9268 3.28596 10.9268 4.00044V8.00044C10.9268 8.71492 10.5455 9.37558 9.92676 9.73286L6.46387 11.7329C5.845 12.0902 5.08176 12.0902 4.46289 11.7329L1 9.73286C0.381267 9.37558 0 8.71492 0 8.00044V4.00044C0 3.28596 0.381267 2.6253 1 2.26802L4.46289 0.26802ZM4.36914 4.49263L1.86328 4.82954L3.69238 6.57466L3.23828 9.06197L5.46387 7.86177L7.68848 9.06197L7.23535 6.57466L9.06348 4.82954L6.55859 4.49263L5.46387 2.21333L4.36914 4.49263Z" fill="currentColor"></path></svg>');function s(o,t){e.push(t,!0);let h=e.prop(t,"width",7,11),i=e.prop(t,"height",7,12);var l={get width(){return h()},set width(r=11){h(r),e.flushSync()},get height(){return i()},set height(r=12){i(r),e.flushSync()}},n=a();return e.template_effect(()=>{e.set_attribute(n,"width",h()),e.set_attribute(n,"height",i())}),e.append(o,n),e.pop(l)}e.create_custom_element(s,{width:{},height:{}},[],[],{mode:"open"});exports.StarIcon=s;
@@ -1,4 +1,4 @@
1
- import { c as g, d, p as i, t as L, a as f, b as p, f as u, e as r, s as n } from "./ChallengeTabs-TgwP2u9F.js";
1
+ import { c as g, d, p as i, t as L, a as f, b as p, f as u, e as r, s as n } from "./ChallengeTabs-DJMMrYac.js";
2
2
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
3
3
  }, globalThis.customElements = { define() {
4
4
  }, get() {
@@ -1,26 +1,26 @@
1
- import { c as h, d, p as f, o as g, n as l, t as u, a as v, b as m, f as L, e as _, r as a, s } from "./ChallengeTabs-TgwP2u9F.js";
1
+ import { c as h, d, p as f, o as g, n as r, t as u, a as v, b as m, f as L, e as _, D as w, r as C, s } from "./ChallengeTabs-DJMMrYac.js";
2
2
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
3
3
  }, globalThis.customElements = { define() {
4
4
  }, get() {
5
5
  }, whenDefined() {
6
6
  } });
7
- var w = L('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');
8
- function T(n, i) {
9
- d(i, !0);
10
- let e = f(i, "size", 7, 12);
11
- var p = {
7
+ var T = L('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');
8
+ function b(o, l) {
9
+ d(l, !0);
10
+ let e = f(l, "size", 7, 12);
11
+ var n = {
12
12
  get size() {
13
13
  return e();
14
14
  },
15
- set size(c = 12) {
16
- e(c), _();
15
+ set size(p = 12) {
16
+ e(p), _();
17
17
  }
18
- }, t = w(), r = g(l(t)), C = l(r), o = l(C);
19
- return a(C), a(r), a(t), u(() => {
20
- s(t, "width", e()), s(t, "height", e()), s(o, "width", e()), s(o, "height", e());
21
- }), v(n, t), m(p);
18
+ }, t = T(), a = g(r(t)), c = r(a), i = w(c);
19
+ return C(a), C(t), u(() => {
20
+ s(t, "width", e()), s(t, "height", e()), s(i, "width", e()), s(i, "height", e());
21
+ }), v(o, t), m(n);
22
22
  }
23
- h(T, { size: {} }, [], [], { mode: "open" });
23
+ h(b, { size: {} }, [], [], { mode: "open" });
24
24
  export {
25
- T
25
+ b as T
26
26
  };
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-Dcgam5G5.cjs");var h=e.from_svg('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');function n(o,l){e.push(l,!0);let t=e.prop(l,"size",7,12);var a={get size(){return t()},set size(c=12){t(c),e.flushSync()}},i=h(),r=e.sibling(e.child(i)),s=e.child(r),C=e.child(s);return e.reset(s),e.reset(r),e.reset(i),e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",t()),e.set_attribute(C,"width",t()),e.set_attribute(C,"height",t())}),e.append(o,i),e.pop(a)}e.create_custom_element(n,{size:{}},[],[],{mode:"open"});exports.TargetIcon=n;
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./ChallengeTabs-C8XAfjLf.cjs");var h=e.from_svg('<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3193_42932)"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.90553 0.0070498C10.0786 0.035135 10.2276 0.144704 10.306 0.301526L10.7702 1.22981L11.6985 1.69396C11.8553 1.77237 11.9648 1.92138 11.9929 2.09445C12.021 2.26752 11.9642 2.44354 11.8402 2.56752L10.2039 4.20388C10.1016 4.30618 9.96282 4.36364 9.81816 4.36364H8.40773L6.38568 6.38567C6.17266 6.59869 5.8273 6.59868 5.61429 6.38567C5.40128 6.17266 5.40128 5.82729 5.61429 5.61428L7.63634 3.59225V2.18182C7.63634 2.03716 7.69381 1.89842 7.7961 1.79613L9.43246 0.159767C9.55644 0.0357875 9.73246 -0.0210354 9.90553 0.0070498ZM8.72725 3.27273H9.59222L10.5337 2.33125L10.1197 2.12424C10.0141 2.07146 9.92853 1.98587 9.87574 1.88031L9.66873 1.46628L8.72725 2.40776V3.27273ZM6 1.09092C3.28878 1.09092 1.09091 3.28879 1.09091 6.00001C1.09091 8.71122 3.28878 10.9091 6 10.9091C8.71122 10.9091 10.9091 8.71122 10.9091 6.00001C10.9091 5.69876 11.1533 5.45455 11.4545 5.45455C11.7558 5.45455 12 5.69876 12 6.00001C12 9.31372 9.31371 12 6 12C2.68629 12 0 9.31372 0 6.00001C0 2.6863 2.68629 6.58379e-06 6 6.58379e-06C6.30125 6.58379e-06 6.54545 0.244215 6.54545 0.545461C6.54545 0.846707 6.30125 1.09092 6 1.09092ZM6 3.81819C4.79502 3.81819 3.81818 4.79502 3.81818 6.00001C3.81818 7.20499 4.79502 8.18183 6 8.18183C7.20499 8.18183 8.18182 7.20499 8.18182 6.00001C8.18182 5.69876 8.42603 5.45455 8.72727 5.45455C9.02852 5.45455 9.27273 5.69876 9.27273 6.00001C9.27273 7.80748 7.80748 9.27273 6 9.27273C4.19252 9.27273 2.72727 7.80748 2.72727 6.00001C2.72727 4.19253 4.19252 2.72728 6 2.72728C6.30125 2.72728 6.54545 2.97149 6.54545 3.27273C6.54545 3.57398 6.30125 3.81819 6 3.81819Z" fill="currentColor"></path></g><defs><clipPath id="clip0_3193_42932"><rect fill="currentColor"></rect></clipPath></defs></svg>');function C(n,i){e.push(i,!0);let t=e.prop(i,"size",7,12);var o={get size(){return t()},set size(c=12){t(c),e.flushSync()}},l=h(),r=e.sibling(e.child(l)),a=e.child(r),s=e.only_child(a);return e.reset(r),e.reset(l),e.template_effect(()=>{e.set_attribute(l,"width",t()),e.set_attribute(l,"height",t()),e.set_attribute(s,"width",t()),e.set_attribute(s,"height",t())}),e.append(n,l),e.pop(o)}e.create_custom_element(C,{size:{}},[],[],{mode:"open"});exports.TargetIcon=C;
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const l=require("../components/PlayerChallenges-CtnY-k5K.cjs");if(typeof window<"u"){let s=function(e){return function(...t){try{return e.apply(this,t)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n instanceof Error&&n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/PlayerChallenges-CtnY-k5K.cjs")).then(e=>e.PlayerChallenges_ce).then(e=>{const t=e.default||e;customElements.get("player-challenges")||customElements.define("player-challenges",t.element||t)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=l.PlayerChallenges;
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const l=require("../components/PlayerChallenges-B8InccvG.cjs");if(typeof window<"u"){let s=function(e){return function(...t){try{return e.apply(this,t)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n instanceof Error&&n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/PlayerChallenges-B8InccvG.cjs")).then(e=>e.PlayerChallenges_ce).then(e=>{const t=e.default||e;customElements.get("player-challenges")||customElements.define("player-challenges",t.element||t)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=l.PlayerChallenges;
@@ -1,4 +1,4 @@
1
- import { P as o } from "../components/PlayerChallenges-CaUu7idr.js";
1
+ import { P as o } from "../components/PlayerChallenges-BvI4m2pX.js";
2
2
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
3
3
  }, globalThis.customElements = { define() {
4
4
  }, get() {
@@ -16,7 +16,7 @@ if (typeof window < "u") {
16
16
  }
17
17
  };
18
18
  };
19
- customElements.define = s(customElements.define), import("../components/PlayerChallenges-CaUu7idr.js").then((e) => e.a).then((e) => {
19
+ customElements.define = s(customElements.define), import("../components/PlayerChallenges-BvI4m2pX.js").then((e) => e.a).then((e) => {
20
20
  const n = e.default || e;
21
21
  customElements.get("player-challenges") || customElements.define("player-challenges", n.element || n);
22
22
  }).catch((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-challenges",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "type": "module",
5
5
  "main": "./esnext/player-challenges.cjs",
6
6
  "module": "./esnext/player-challenges.js",