@everymatrix/player-account-controller-nd 1.83.0 → 1.83.1

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.
@@ -1,20 +1,20 @@
1
- var U = (i, e, t) => new Promise((o, a) => {
1
+ var U = (i, e, t) => new Promise((o, n) => {
2
2
  var l = (u) => {
3
3
  try {
4
4
  g(t.next(u));
5
5
  } catch (y) {
6
- a(y);
6
+ n(y);
7
7
  }
8
8
  }, c = (u) => {
9
9
  try {
10
10
  g(t.throw(u));
11
11
  } catch (y) {
12
- a(y);
12
+ n(y);
13
13
  }
14
14
  }, g = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(l, c);
15
15
  g((t = t.apply(i, e)).next());
16
16
  });
17
- import { a as $, $ as ee, S as te, i as ie, s as ne, f as T, b as ae, n as E, d as C, h as P, k as f, e as p, p as oe, q as re, u as se, w as le, C as J, D as Q, j as s, m as S, g as b, c as N, l as W, t as z, r as ce, v as O, a7 as ue, V, x as pe, y as de, z as me, A as ve, B as ye } from "./GeneralLogout-DIvT_pyf.js";
17
+ import { a as $, $ as ee, S as te, i as ie, s as ae, f as T, b as ne, n as E, d as F, h as P, k as f, e as p, p as oe, q as re, u as se, w as le, C as J, D as Q, j as s, m as S, g as b, c as I, l as W, t as N, r as ce, v as O, a7 as ue, V, x as pe, y as de, z as me, A as ve, B as ye } from "./GeneralLogout-DIvT_pyf.js";
18
18
  import "../stencil/ui-skeleton-Ur_BR5_B.js";
19
19
  function G(i, e) {
20
20
  $(i, e);
@@ -24,7 +24,7 @@ function ge(i) {
24
24
  }
25
25
  const Y = {
26
26
  en: {
27
- titleAccountReview: "Account Review prompt frequency",
27
+ titleAccountReview: "Account Review Frequency",
28
28
  accountReviewText: "To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",
29
29
  setFrequency: "Set frequency",
30
30
  successMessage: "Your preference was saved",
@@ -123,7 +123,7 @@ const Y = {
123
123
  monthly: "Mensual"
124
124
  },
125
125
  "en-us": {
126
- titleAccountReview: "Account Review prompt frequency",
126
+ titleAccountReview: "Account Review Frequency",
127
127
  accountReviewText: "To promote responsible play, we periodically prompt customers to review their account activity, including Betting History, Payment History, and Gaming History. These reviews help ensure that your activity remains aligned with your current preferences and circumstances. From this page, you can adjust how often you receive these prompts, giving you more control over your experience.",
128
128
  setFrequency: "Set frequency",
129
129
  successMessage: "Your preference was saved.",
@@ -135,7 +135,7 @@ const Y = {
135
135
  }
136
136
  };
137
137
  function fe(i) {
138
- ae(i, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
138
+ ne(i, "svelte-1u91vzw", '.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation:fadeIn 0.3s ease-in 1}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #fff);border:1px solid var(--emw--color-gray-300, #58586b);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.PlayerAccountReviewWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072a));padding:50px;max-width:760px}.PlayerAccountReviewWrapper.PlayerAccountReviewWrapperMobile{padding:20px 15px;max-width:unset}.AccountReviewTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.AccountReviewTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.AccountReviewTitleNone{display:none}.AccountReviewDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072a));line-height:24px}.AccountReviewDescription p{min-height:140px}.AccountReviewDescription.AccountReviewDescriptionMobile{font-size:12px;line-height:18px}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #fff));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586b)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.containerTimeout{animation:fadeIn 0.3s ease-in 1}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
139
139
  }
140
140
  function X(i, e, t) {
141
141
  const o = i.slice();
@@ -146,7 +146,7 @@ function he(i, e, t) {
146
146
  return o[25] = e[t], o;
147
147
  }
148
148
  function we(i) {
149
- let e, t, o, a = (
149
+ let e, t, o, n = (
150
150
  /*$_*/
151
151
  i[5]("titleAccountReview") + ""
152
152
  ), l, c, g, u, y = (
@@ -155,7 +155,7 @@ function we(i) {
155
155
  ), w, _, d, R, m, r, k = (
156
156
  /*$_*/
157
157
  i[5]("setFrequency") + ""
158
- ), A, H, D, I, L, j = (
158
+ ), A, H, D, z, L, j = (
159
159
  /*isMobile*/
160
160
  i[6] && ke(i)
161
161
  ), q = J(
@@ -166,10 +166,10 @@ function we(i) {
166
166
  x[v] = Z(X(i, q, v));
167
167
  return {
168
168
  c() {
169
- e = f("div"), j && j.c(), t = S(), o = f("h2"), l = z(a), c = S(), g = f("div"), u = f("p"), w = z(y), _ = S(), d = f("form");
169
+ e = f("div"), j && j.c(), t = S(), o = f("h2"), l = N(n), c = S(), g = f("div"), u = f("p"), w = N(y), _ = S(), d = f("form");
170
170
  for (let v = 0; v < x.length; v += 1)
171
171
  x[v].c();
172
- R = S(), m = f("div"), r = f("button"), A = z(k), p(o, "class", "AccountReviewTitle " + /*isMobile*/
172
+ R = S(), m = f("div"), r = f("button"), A = N(k), p(o, "class", "AccountReviewTitle " + /*isMobile*/
173
173
  (i[6] ? "AccountReviewTitleNone" : "")), p(g, "class", "AccountReviewDescription " + /*isMobile*/
174
174
  (i[6] ? "AccountReviewDescriptionMobile" : "")), p(r, "class", H = "PlayerRealityCheckButton " + (!/*selectedInterval*/
175
175
  i[2] || /*currentInterval*/
@@ -182,41 +182,41 @@ function we(i) {
182
182
  },
183
183
  m(v, M) {
184
184
  P(v, e, M), j && j.m(e, null), s(e, t), s(e, o), s(o, l), s(e, c), s(e, g), s(g, u), s(u, w), s(e, _), s(e, d);
185
- for (let n = 0; n < x.length; n += 1)
186
- x[n] && x[n].m(d, null);
187
- s(d, R), s(d, m), s(m, r), s(r, A), I || (L = W(
185
+ for (let a = 0; a < x.length; a += 1)
186
+ x[a] && x[a].m(d, null);
187
+ s(d, R), s(d, m), s(m, r), s(r, A), z || (L = W(
188
188
  r,
189
189
  "click",
190
190
  /*submit*/
191
191
  i[7]
192
- ), I = !0);
192
+ ), z = !0);
193
193
  },
194
194
  p(v, M) {
195
195
  if (
196
196
  /*isMobile*/
197
197
  v[6] && j.p(v, M), M[0] & /*$_*/
198
- 32 && a !== (a = /*$_*/
199
- v[5]("titleAccountReview") + "") && N(l, a), M[0] & /*$_*/
198
+ 32 && n !== (n = /*$_*/
199
+ v[5]("titleAccountReview") + "") && I(l, n), M[0] & /*$_*/
200
200
  32 && y !== (y = /*$_*/
201
- v[5]("accountReviewText") + "") && N(w, y), M[0] & /*options, selectedInterval*/
201
+ v[5]("accountReviewText") + "") && I(w, y), M[0] & /*options, selectedInterval*/
202
202
  20
203
203
  ) {
204
204
  q = J(
205
205
  /*options*/
206
206
  v[4]
207
207
  );
208
- let n;
209
- for (n = 0; n < q.length; n += 1) {
210
- const h = X(v, q, n);
211
- x[n] ? x[n].p(h, M) : (x[n] = Z(h), x[n].c(), x[n].m(d, R));
208
+ let a;
209
+ for (a = 0; a < q.length; a += 1) {
210
+ const h = X(v, q, a);
211
+ x[a] ? x[a].p(h, M) : (x[a] = Z(h), x[a].c(), x[a].m(d, R));
212
212
  }
213
- for (; n < x.length; n += 1)
214
- x[n].d(1);
213
+ for (; a < x.length; a += 1)
214
+ x[a].d(1);
215
215
  x.length = q.length;
216
216
  }
217
217
  M[0] & /*$_*/
218
218
  32 && k !== (k = /*$_*/
219
- v[5]("setFrequency") + "") && N(A, k), M[0] & /*selectedInterval, currentInterval*/
219
+ v[5]("setFrequency") + "") && I(A, k), M[0] & /*selectedInterval, currentInterval*/
220
220
  12 && H !== (H = "PlayerRealityCheckButton " + (!/*selectedInterval*/
221
221
  v[2] || /*currentInterval*/
222
222
  v[3] === /*selectedInterval*/
@@ -227,12 +227,12 @@ function we(i) {
227
227
  v[2]) && (r.disabled = D);
228
228
  },
229
229
  d(v) {
230
- v && C(e), j && j.d(), Q(x, v), I = !1, L();
230
+ v && F(e), j && j.d(), Q(x, v), z = !1, L();
231
231
  }
232
232
  };
233
233
  }
234
234
  function be(i) {
235
- let e, t, o, a, l, c, g, u, y;
235
+ let e, t, o, n, l, c, g, u, y;
236
236
  function w(r, k) {
237
237
  return (
238
238
  /*isMobile*/
@@ -244,11 +244,11 @@ function be(i) {
244
244
  m[r] = Re(he(i, R, r));
245
245
  return {
246
246
  c() {
247
- e = f("div"), d.c(), t = S(), o = f("div"), a = f("ui-skeleton"), l = S(), c = f("div");
247
+ e = f("div"), d.c(), t = S(), o = f("div"), n = f("ui-skeleton"), l = S(), c = f("div");
248
248
  for (let r = 0; r < m.length; r += 1)
249
249
  m[r].c();
250
- g = S(), u = f("div"), y = f("ui-skeleton"), b(a, "structure", "text"), b(a, "height", "15px"), b(a, "width", "100%"), b(a, "margin-bottom", "7px"), b(
251
- a,
250
+ g = S(), u = f("div"), y = f("ui-skeleton"), b(n, "structure", "text"), b(n, "height", "15px"), b(n, "width", "100%"), b(n, "margin-bottom", "7px"), b(
251
+ n,
252
252
  "rows",
253
253
  /*isMobile*/
254
254
  i[6] ? "5" : "3"
@@ -260,7 +260,7 @@ function be(i) {
260
260
  ), p(u, "class", "Button"), p(c, "class", "SkeletonOptionContainer"), p(e, "class", "SkeletonContainer");
261
261
  },
262
262
  m(r, k) {
263
- P(r, e, k), d.m(e, null), s(e, t), s(e, o), s(o, a), s(e, l), s(e, c);
263
+ P(r, e, k), d.m(e, null), s(e, t), s(e, o), s(o, n), s(e, l), s(e, c);
264
264
  for (let A = 0; A < m.length; A += 1)
265
265
  m[A] && m[A].m(c, null);
266
266
  s(c, g), s(c, u), s(u, y);
@@ -269,24 +269,24 @@ function be(i) {
269
269
  d.p(r, k);
270
270
  },
271
271
  d(r) {
272
- r && C(e), d.d(), Q(m, r);
272
+ r && F(e), d.d(), Q(m, r);
273
273
  }
274
274
  };
275
275
  }
276
276
  function ke(i) {
277
- let e, t, o, a, l, c, g, u, y, w, _ = (
277
+ let e, t, o, n, l, c, g, u, y, w, _ = (
278
278
  /*$_*/
279
279
  i[5]("titleAccountReview") + ""
280
280
  ), d, R, m;
281
281
  return {
282
282
  c() {
283
- e = f("div"), t = O("svg"), o = O("defs"), a = O("style"), l = z(`.aaa {
283
+ e = f("div"), t = O("svg"), o = O("defs"), n = O("style"), l = N(`.aaa {
284
284
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
285
285
  }
286
- `), c = O("g"), g = O("g"), u = O("path"), y = S(), w = f("h2"), d = z(_), p(u, "class", "aaa"), p(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(u, "transform", "translate(15 15) rotate(180)"), p(g, "transform", "translate(20 158)"), p(c, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(w, "class", "AccountReviewTitleMobile"), p(e, "class", "MenuReturnButton");
286
+ `), c = O("g"), g = O("g"), u = O("path"), y = S(), w = f("h2"), d = N(_), p(u, "class", "aaa"), p(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(u, "transform", "translate(15 15) rotate(180)"), p(g, "transform", "translate(20 158)"), p(c, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(w, "class", "AccountReviewTitleMobile"), p(e, "class", "MenuReturnButton");
287
287
  },
288
288
  m(r, k) {
289
- P(r, e, k), s(e, t), s(t, o), s(o, a), s(a, l), s(t, c), s(c, g), s(g, u), s(e, y), s(e, w), s(w, d), R || (m = [
289
+ P(r, e, k), s(e, t), s(t, o), s(o, n), s(n, l), s(t, c), s(c, g), s(g, u), s(e, y), s(e, w), s(w, d), R || (m = [
290
290
  W(
291
291
  e,
292
292
  "click",
@@ -299,15 +299,15 @@ function ke(i) {
299
299
  p(r, k) {
300
300
  k[0] & /*$_*/
301
301
  32 && _ !== (_ = /*$_*/
302
- r[5]("titleAccountReview") + "") && N(d, _);
302
+ r[5]("titleAccountReview") + "") && I(d, _);
303
303
  },
304
304
  d(r) {
305
- r && C(e), R = !1, ce(m);
305
+ r && F(e), R = !1, ce(m);
306
306
  }
307
307
  };
308
308
  }
309
309
  function Z(i) {
310
- let e, t, o, a, l = !1, c, g, u = (
310
+ let e, t, o, n, l = !1, c, g, u = (
311
311
  /*text*/
312
312
  i[29] + ""
313
313
  ), y, w, _, d, R;
@@ -316,8 +316,8 @@ function Z(i) {
316
316
  i[18][0]
317
317
  ), {
318
318
  c() {
319
- e = f("div"), t = f("input"), c = S(), g = f("label"), y = z(u), p(t, "type", "radio"), p(t, "id", o = "interval-" + /*value*/
320
- i[28]), t.__value = a = /*value*/
319
+ e = f("div"), t = f("input"), c = S(), g = f("label"), y = N(u), p(t, "type", "radio"), p(t, "id", o = "interval-" + /*value*/
320
+ i[28]), t.__value = n = /*value*/
321
321
  i[28], V(t, t.__value), p(g, "for", w = "interval-" + /*value*/
322
322
  i[28]), _.p(t);
323
323
  },
@@ -334,17 +334,17 @@ function Z(i) {
334
334
  r[0] & /*options*/
335
335
  16 && o !== (o = "interval-" + /*value*/
336
336
  m[28]) && p(t, "id", o), r[0] & /*options*/
337
- 16 && a !== (a = /*value*/
338
- m[28]) && (t.__value = a, V(t, t.__value), l = !0), (l || r[0] & /*selectedInterval, options*/
337
+ 16 && n !== (n = /*value*/
338
+ m[28]) && (t.__value = n, V(t, t.__value), l = !0), (l || r[0] & /*selectedInterval, options*/
339
339
  20) && (t.checked = t.__value === /*selectedInterval*/
340
340
  m[2]), r[0] & /*options*/
341
341
  16 && u !== (u = /*text*/
342
- m[29] + "") && N(y, u), r[0] & /*options*/
342
+ m[29] + "") && I(y, u), r[0] & /*options*/
343
343
  16 && w !== (w = "interval-" + /*value*/
344
344
  m[28]) && p(g, "for", w);
345
345
  },
346
346
  d(m) {
347
- m && C(e), _.r(), d = !1, R();
347
+ m && F(e), _.r(), d = !1, R();
348
348
  }
349
349
  };
350
350
  }
@@ -359,23 +359,23 @@ function _e(i) {
359
359
  },
360
360
  p: E,
361
361
  d(t) {
362
- t && C(e);
362
+ t && F(e);
363
363
  }
364
364
  };
365
365
  }
366
366
  function xe(i) {
367
- let e, t, o, a;
367
+ let e, t, o, n;
368
368
  return {
369
369
  c() {
370
- e = f("div"), t = f("ui-skeleton"), o = S(), a = f("ui-skeleton"), b(t, "structure", "title"), b(t, "width", "20px"), b(t, "height", "20px"), b(t, "margin-top", "5px"), b(t, "margin-bottom", "15px"), b(a, "structure", "title"), b(a, "width", "180px"), b(a, "height", "20px"), b(a, "margin-top", "5px"), b(a, "margin-bottom", "15px"), p(e, "class", "SkeletonMenuButton " + /*isMobile*/
370
+ e = f("div"), t = f("ui-skeleton"), o = S(), n = f("ui-skeleton"), b(t, "structure", "title"), b(t, "width", "20px"), b(t, "height", "20px"), b(t, "margin-top", "5px"), b(t, "margin-bottom", "15px"), b(n, "structure", "title"), b(n, "width", "180px"), b(n, "height", "20px"), b(n, "margin-top", "5px"), b(n, "margin-bottom", "15px"), p(e, "class", "SkeletonMenuButton " + /*isMobile*/
371
371
  (i[6] ? "Mobile" : ""));
372
372
  },
373
373
  m(l, c) {
374
- P(l, e, c), s(e, t), s(e, o), s(e, a);
374
+ P(l, e, c), s(e, t), s(e, o), s(e, n);
375
375
  },
376
376
  p: E,
377
377
  d(l) {
378
- l && C(e);
378
+ l && F(e);
379
379
  }
380
380
  };
381
381
  }
@@ -390,7 +390,7 @@ function Re(i) {
390
390
  },
391
391
  p: E,
392
392
  d(t) {
393
- t && C(e);
393
+ t && F(e);
394
394
  }
395
395
  };
396
396
  }
@@ -402,67 +402,67 @@ function Ae(i) {
402
402
  l[1] ? be : we
403
403
  );
404
404
  }
405
- let o = t(i), a = o(i);
405
+ let o = t(i), n = o(i);
406
406
  return {
407
407
  c() {
408
- e = f("div"), a.c(), p(e, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
408
+ e = f("div"), n.c(), p(e, "class", "PlayerAccountReviewWrapper " + /*isMobile*/
409
409
  (i[6] ? "PlayerAccountReviewWrapperMobile" : ""));
410
410
  },
411
411
  m(l, c) {
412
- P(l, e, c), a.m(e, null), i[19](e);
412
+ P(l, e, c), n.m(e, null), i[19](e);
413
413
  },
414
414
  p(l, c) {
415
- o === (o = t(l)) && a ? a.p(l, c) : (a.d(1), a = o(l), a && (a.c(), a.m(e, null)));
415
+ o === (o = t(l)) && n ? n.p(l, c) : (n.d(1), n = o(l), n && (n.c(), n.m(e, null)));
416
416
  },
417
417
  i: E,
418
418
  o: E,
419
419
  d(l) {
420
- l && C(e), a.d(), i[19](null);
420
+ l && F(e), n.d(), i[19](null);
421
421
  }
422
422
  };
423
423
  }
424
424
  const K = 2;
425
425
  function Me(i, e, t) {
426
426
  let o;
427
- oe(i, ye, (n) => t(5, o = n));
428
- let { endpoint: a = "" } = e, { playerid: l = "" } = e, { session: c = "" } = e, { lang: g = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: _ = "" } = e, d, R = re(window.navigator.userAgent) !== "PC", m = !0, r = "", k = "", A = [];
427
+ oe(i, ye, (a) => t(5, o = a));
428
+ let { endpoint: n = "" } = e, { playerid: l = "" } = e, { session: c = "" } = e, { lang: g = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: _ = "" } = e, d, R = re(window.navigator.userAgent) !== "PC", m = !0, r = "", k = "", A = [];
429
429
  const H = () => U(this, null, function* () {
430
430
  try {
431
- const n = new URL(`${a}/api/pam/v1/player-notifications`);
432
- n.searchParams.set("type", String(K));
431
+ const a = new URL(`${n}/api/pam/v1/player-notifications`);
432
+ a.searchParams.set("type", String(K)), a.searchParams.append("createNotificationIfNotFound", "true");
433
433
  const h = new Headers();
434
434
  h.append("X-SessionID", c), h.append("accept", "application/json");
435
- const B = yield (yield fetch(n.href, { method: "GET", headers: h })).json();
435
+ const B = yield (yield fetch(a.href, { method: "GET", headers: h })).json();
436
436
  B != null && B.interval && (t(3, k = String(B == null ? void 0 : B.interval)), t(2, r = k)), A.length || t(4, A = [
437
437
  { value: "1", text: o("daily") },
438
438
  { value: "2", text: o("weekly") },
439
439
  { value: "3", text: o("monthly") },
440
440
  { value: "4", text: `6 ${o("months")}` }
441
441
  ]), t(1, m = !1);
442
- } catch (n) {
443
- console.error(n), t(1, m = !1);
442
+ } catch (a) {
443
+ console.error(a), t(1, m = !1);
444
444
  }
445
445
  }), D = () => U(this, null, function* () {
446
446
  try {
447
- const n = new URL(`${a}/api/pam/v1/player-notifications`), h = new Headers();
448
- h.append("X-SessionID", c), h.append("Content-Type", "application/json"), h.append("Accept", "application/json");
449
- const F = {
447
+ const a = new URL(`${n}/api/pam/v1/player-notifications`), h = new Headers();
448
+ h.append("X-SessionID", c), h.append("Content-Type", "application/json"), h.append("Accept", "application/json"), a.searchParams.append("createNotificationIfNotFound", "true");
449
+ const C = {
450
450
  type: K,
451
451
  interval: Number(r),
452
452
  acknowledge: !0,
453
453
  ackNotificationTimestamp: (/* @__PURE__ */ new Date()).toISOString()
454
454
  };
455
- return (yield fetch(n.href, {
455
+ return (yield fetch(a.href, {
456
456
  method: "PATCH",
457
457
  headers: h,
458
- body: JSON.stringify(F)
458
+ body: JSON.stringify(C)
459
459
  })).ok;
460
- } catch (n) {
461
- return console.error(n), !1;
460
+ } catch (a) {
461
+ return console.error(a), !1;
462
462
  }
463
- }), I = (n) => {
464
- n.preventDefault(), r && D().then((h) => {
465
- const F = h ? {
463
+ }), z = (a) => {
464
+ a.preventDefault(), r && D().then((h) => {
465
+ const C = h ? {
466
466
  type: "success",
467
467
  message: o("successMessage")
468
468
  } : {
@@ -472,7 +472,7 @@ function Me(i, e, t) {
472
472
  window.postMessage(
473
473
  {
474
474
  type: "WidgetNotification",
475
- data: F
475
+ data: C
476
476
  },
477
477
  window.location.href
478
478
  ), h && t(3, k = r);
@@ -486,30 +486,30 @@ function Me(i, e, t) {
486
486
  window.location.href
487
487
  );
488
488
  }, j = () => ge(g), q = () => {
489
- const n = _;
490
- n && fetch(n).then((h) => h.json()).then((h) => {
491
- Object.keys(h).forEach((F) => {
492
- G(F, h[F]);
489
+ const a = _;
490
+ a && fetch(a).then((h) => h.json()).then((h) => {
491
+ Object.keys(h).forEach((C) => {
492
+ G(C, h[C]);
493
493
  });
494
494
  }).catch((h) => console.log(h));
495
495
  };
496
- Object.keys(Y).forEach((n) => G(n, Y[n])), se(() => () => {
496
+ Object.keys(Y).forEach((a) => G(a, Y[a])), se(() => () => {
497
497
  });
498
498
  const x = [[]];
499
499
  function v() {
500
500
  r = this.__value, t(2, r);
501
501
  }
502
- function M(n) {
503
- le[n ? "unshift" : "push"](() => {
504
- d = n, t(0, d);
502
+ function M(a) {
503
+ le[a ? "unshift" : "push"](() => {
504
+ d = a, t(0, d);
505
505
  });
506
506
  }
507
- return i.$$set = (n) => {
508
- "endpoint" in n && t(9, a = n.endpoint), "playerid" in n && t(10, l = n.playerid), "session" in n && t(11, c = n.session), "lang" in n && t(12, g = n.lang), "clientstyling" in n && t(13, u = n.clientstyling), "clientstylingurl" in n && t(14, y = n.clientstylingurl), "mbsource" in n && t(15, w = n.mbsource), "translationurl" in n && t(16, _ = n.translationurl);
507
+ return i.$$set = (a) => {
508
+ "endpoint" in a && t(9, n = a.endpoint), "playerid" in a && t(10, l = a.playerid), "session" in a && t(11, c = a.session), "lang" in a && t(12, g = a.lang), "clientstyling" in a && t(13, u = a.clientstyling), "clientstylingurl" in a && t(14, y = a.clientstylingurl), "mbsource" in a && t(15, w = a.mbsource), "translationurl" in a && t(16, _ = a.translationurl);
509
509
  }, i.$$.update = () => {
510
510
  i.$$.dirty[0] & /*lang*/
511
511
  4096 && g && j(), i.$$.dirty[0] & /*endpoint, playerid, session*/
512
- 3584 && a && l && c && H(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
512
+ 3584 && n && l && c && H(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
513
513
  8193 && u && d && pe(d, u), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
514
514
  16385 && y && d && de(d, y), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
515
515
  32769 && w && d && me(d, `${w}.Style`), i.$$.dirty[0] & /*translationurl*/
@@ -522,9 +522,9 @@ function Me(i, e, t) {
522
522
  A,
523
523
  o,
524
524
  R,
525
- I,
525
+ z,
526
526
  L,
527
- a,
527
+ n,
528
528
  l,
529
529
  c,
530
530
  g,
@@ -544,7 +544,7 @@ class Se extends te {
544
544
  e,
545
545
  Me,
546
546
  Ae,
547
- ne,
547
+ ae,
548
548
  {
549
549
  endpoint: 9,
550
550
  playerid: 10,