@everymatrix/player-account-controller 1.80.2 → 1.80.4

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.
@@ -261,7 +261,7 @@ if (typeof window < "u") {
261
261
  }
262
262
  };
263
263
  };
264
- customElements.define = s(customElements.define), import("./PlayerProfileInfo-DVss0s13.js").then(({ default: e }) => {
264
+ customElements.define = s(customElements.define), import("./PlayerProfileInfo-DAmO3c1C.js").then(({ default: e }) => {
265
265
  !customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
266
266
  });
267
267
  }
@@ -862,7 +862,7 @@ function pi(e) {
862
862
  /*$_*/
863
863
  e[19]("profileSecurityQuestion")
864
864
  )) + ""
865
- ), or, Ue, ke, vt, G, nr, sr, yt, lr, gt, Pe, Xe, ur = (
865
+ ), nr, Ue, ke, vt, G, sr, lr, yt, ur, gt, Pe, Xe, cr = (
866
866
  /*custominputtextswitch*/
867
867
  (e[0] == "true" ? (
868
868
  /*$_*/
@@ -871,16 +871,16 @@ function pi(e) {
871
871
  /*$_*/
872
872
  e[19]("profileSecurityAnswer")
873
873
  )) + ""
874
- ), Ye, Dr, tr, bt, V, cr, pr, ht, dr, Ct, Ze, mr, Ve = (
874
+ ), Ye, Dr, tr, bt, V, ar, pr, ht, dr, Ct, Ze, mr, Ve = (
875
875
  /*$_*/
876
876
  e[19]("userEmail") + ""
877
- ), Ir, kt, be, fr, ar, vr, Pt, $e, yr, gr = (
877
+ ), Ir, kt, be, fr, ir, vr, Pt, $e, yr, gr = (
878
878
  /*$_*/
879
879
  e[19]("dateOfBirth") + ""
880
- ), Mr, _t, p, f, E, z, Y, N, B, qe = (
880
+ ), Mr, _t, p, f, E, N, Y, z, B, qe = (
881
881
  /*$_*/
882
882
  e[19]("firstName") + ""
883
- ), Z, ir, q, br, Or, St, Oa, hr, At, wt = (
883
+ ), Z, or, q, br, Or, St, Oa, hr, At, wt = (
884
884
  /*$_*/
885
885
  e[19]("lastName") + ""
886
886
  ), fa, Ba, we, Et, Br, Dt, za, Cr, It, Mt = (
@@ -946,7 +946,7 @@ function pi(e) {
946
946
  t = l("form"), r = l("div"), ae && ae.c(), n = y(), o = l("h2"), d = P(s), v = y(), k = l("div"), m = l("h3"), A = P(h), _ = y(), C = l("section"), w = l("div"), D = l("label"), I = P(Q), W = y(), T = l("input"), Ce = y(), F = l("div"), ge = l("label"), g = P(c), Se = y(), H = l("div"), x = l("select");
947
947
  for (let Ar = 0; Ar < X.length; Ar += 1)
948
948
  X[Ar].c();
949
- er = y(), L = l("input"), rr = y(), ie && ie.c(), Ge = y(), oe && oe.c(), Ke = y(), K = l("div"), Ne = l("label"), or = P(Je), Ue = P(":"), ke = l("span"), ke.textContent = "*", vt = y(), G = l("input"), yt = y(), ne && ne.c(), gt = y(), Pe = l("div"), Xe = l("label"), Ye = P(ur), Dr = P(":"), tr = l("span"), tr.textContent = "*", bt = y(), V = l("input"), ht = y(), se && se.c(), Ct = y(), Ze = l("div"), mr = l("label"), Ir = P(Ve), kt = y(), be = l("input"), Pt = y(), $e = l("div"), yr = l("label"), Mr = P(gr), _t = y(), p = l("input"), Y = y(), N = l("div"), B = l("label"), Z = P(qe), ir = y(), q = l("input"), Oa = y(), hr = l("div"), At = l("label"), fa = P(wt), Ba = y(), we = l("input"), za = y(), Cr = l("div"), It = l("label"), va = P(Mt), Na = y(), Ee = l("input"), Ha = y(), kr = l("div"), zt = l("label"), ya = P(Nt), ja = y(), De = l("input"), Ta = y(), le && le.c(), Qa = y(), Tt = l("div"), ga = l("h3"), ba = P(Qt), Fa = y(), J = l("section"), Pr = l("div"), Ft = l("label"), ha = P(Lt), La = y(), he = l("input"), Wa = y(), He = l("div"), qt = l("label"), Ca = P(Rt), Ua = y(), $ = l("input"), Va = y(), ue && ue.c(), qa = y(), je = l("div"), Jt = l("label"), ka = P(Xt), Ra = y(), ee = l("input"), xa = y(), ce && ce.c(), Ga = y(), Te = l("div"), ea = l("label"), Pa = P(ra), Ka = y(), re = l("input"), Ja = y(), pe && pe.c(), Xa = y(), Qe = l("div"), oa = l("label"), _a = P(na), Ya = y(), te = l("input"), Za = y(), de && de.c(), $a = y(), me && me.c(), ei = y(), fe && fe.c(), Aa = y(), jr = l("section"), _r = l("button"), wa = P(ca), ri = y(), ve && ve.c(), i(o, "class", b = "MyAccountCategoryTitle " + /*isMobileView*/
949
+ er = y(), L = l("input"), rr = y(), ie && ie.c(), Ge = y(), oe && oe.c(), Ke = y(), K = l("div"), Ne = l("label"), nr = P(Je), Ue = P(":"), ke = l("span"), ke.textContent = "*", vt = y(), G = l("input"), yt = y(), ne && ne.c(), gt = y(), Pe = l("div"), Xe = l("label"), Ye = P(cr), Dr = P(":"), tr = l("span"), tr.textContent = "*", bt = y(), V = l("input"), ht = y(), se && se.c(), Ct = y(), Ze = l("div"), mr = l("label"), Ir = P(Ve), kt = y(), be = l("input"), Pt = y(), $e = l("div"), yr = l("label"), Mr = P(gr), _t = y(), p = l("input"), Y = y(), z = l("div"), B = l("label"), Z = P(qe), or = y(), q = l("input"), Oa = y(), hr = l("div"), At = l("label"), fa = P(wt), Ba = y(), we = l("input"), za = y(), Cr = l("div"), It = l("label"), va = P(Mt), Na = y(), Ee = l("input"), Ha = y(), kr = l("div"), zt = l("label"), ya = P(Nt), ja = y(), De = l("input"), Ta = y(), le && le.c(), Qa = y(), Tt = l("div"), ga = l("h3"), ba = P(Qt), Fa = y(), J = l("section"), Pr = l("div"), Ft = l("label"), ha = P(Lt), La = y(), he = l("input"), Wa = y(), He = l("div"), qt = l("label"), Ca = P(Rt), Ua = y(), $ = l("input"), Va = y(), ue && ue.c(), qa = y(), je = l("div"), Jt = l("label"), ka = P(Xt), Ra = y(), ee = l("input"), xa = y(), ce && ce.c(), Ga = y(), Te = l("div"), ea = l("label"), Pa = P(ra), Ka = y(), re = l("input"), Ja = y(), pe && pe.c(), Xa = y(), Qe = l("div"), oa = l("label"), _a = P(na), Ya = y(), te = l("input"), Za = y(), de && de.c(), $a = y(), me && me.c(), ei = y(), fe && fe.c(), Aa = y(), jr = l("section"), _r = l("button"), wa = P(ca), ri = y(), ve && ve.c(), i(o, "class", b = "MyAccountCategoryTitle " + /*isMobileView*/
950
950
  (e[7] ? "MyAccountCategoryTitleNone" : "")), i(k, "class", "PlayerNotificationsHeader"), i(T, "type", "text"), i(T, "class", Oe = `${/*profileValues*/
951
951
  (ye = e[4].username) != null && ye.readOnly ? "FieldDisabled" : ""}`), T.value = R = /*profileValues*/
952
952
  (Fe = (u = e[4].username) == null ? void 0 : u.value) != null ? Fe : "", T.readOnly = Be = /*profileValues*/
@@ -965,15 +965,15 @@ function pi(e) {
965
965
  ), L.readOnly = We = /*profileValues*/
966
966
  (Wr = e[4].mobile) == null ? void 0 : Wr.readOnly, i(H, "class", "PlayerPhoneNumber"), i(F, "class", ze = "PlayerInfoBox " + /*isMobileValid*/
967
967
  (e[16] ? "" : "InvalidField") + " " + /*isPrefixValid*/
968
- (e[17] ? "" : "InvalidPrefix")), i(ke, "class", "FormRequired"), i(Ne, "for", "SecurityQuestion"), i(G, "id", "SecurityQuestion"), i(G, "type", "text"), i(G, "class", nr = `${/*profileValues*/
968
+ (e[17] ? "" : "InvalidPrefix")), i(ke, "class", "FormRequired"), i(Ne, "for", "SecurityQuestion"), i(G, "id", "SecurityQuestion"), i(G, "type", "text"), i(G, "class", sr = `${/*profileValues*/
969
969
  (Ur = e[4].securityQuestion) != null && Ur.readOnly ? "FieldDisabled" : ""}`), i(
970
970
  G,
971
971
  "placeholder",
972
972
  /*defaultValues*/
973
973
  e[20].securityQuestion
974
- ), G.readOnly = sr = /*profileValues*/
975
- (Vr = e[4].securityQuestion) == null ? void 0 : Vr.readOnly, i(K, "class", lr = "PlayerInfoBox " + /*isSecurityQuestionValid*/
976
- (e[14] ? "" : "InvalidField")), i(tr, "class", "FormRequired"), i(Xe, "for", "SecurityAnswer"), i(V, "id", "SecurityAnswer"), i(V, "type", "text"), i(V, "class", cr = `${/*profileValues*/
974
+ ), G.readOnly = lr = /*profileValues*/
975
+ (Vr = e[4].securityQuestion) == null ? void 0 : Vr.readOnly, i(K, "class", ur = "PlayerInfoBox " + /*isSecurityQuestionValid*/
976
+ (e[14] ? "" : "InvalidField")), i(tr, "class", "FormRequired"), i(Xe, "for", "SecurityAnswer"), i(V, "id", "SecurityAnswer"), i(V, "type", "text"), i(V, "class", ar = `${/*profileValues*/
977
977
  (qr = e[4].securityAnswer) != null && qr.readOnly ? "FieldDisabled" : ""}`), i(
978
978
  V,
979
979
  "placeholder",
@@ -982,15 +982,15 @@ function pi(e) {
982
982
  ), V.readOnly = pr = /*profileValues*/
983
983
  (Rr = e[4].securityAnswer) == null ? void 0 : Rr.readOnly, i(Pe, "class", dr = "PlayerInfoBox " + /*isSecurityAnswerValid*/
984
984
  (e[15] ? "" : "InvalidField")), i(mr, "for", "UserEmail"), i(be, "id", "UserEmail"), i(be, "type", "email"), i(be, "class", fr = `${/*profileValues*/
985
- (xr = e[4].email) != null && xr.readOnly ? "FieldDisabled" : ""}`), be.value = ar = /*profileValues*/
985
+ (xr = e[4].email) != null && xr.readOnly ? "FieldDisabled" : ""}`), be.value = ir = /*profileValues*/
986
986
  e[4].email.value, be.readOnly = vr = /*profileValues*/
987
987
  (Gr = e[4].email) == null ? void 0 : Gr.readOnly, i(Ze, "class", "PlayerInfoBox"), i(yr, "for", "DateOfBirth"), i(p, "id", "DateOfBirth"), i(p, "type", "text"), i(p, "class", f = `${/*profileValues*/
988
988
  (Kr = e[4].birth) != null && Kr.readOnly ? "FieldDisabled" : ""}`), p.value = E = /*profileValues*/
989
- e[4].birth.value, p.readOnly = z = /*profileValues*/
989
+ e[4].birth.value, p.readOnly = N = /*profileValues*/
990
990
  (Jr = e[4].birth) == null ? void 0 : Jr.readOnly, i($e, "class", "PlayerInfoBox"), i(B, "for", "FirstName"), i(q, "id", "FirstName"), i(q, "type", "text"), i(q, "class", br = `${/*profileValues*/
991
991
  (Xr = e[4].firstname) != null && Xr.readOnly ? "FieldDisabled" : ""}`), q.value = Or = /*profileValues*/
992
992
  e[4].firstname.value, q.readOnly = St = /*profileValues*/
993
- (Yr = e[4].firstname) == null ? void 0 : Yr.readOnly, i(N, "class", "PlayerInfoBox"), i(At, "for", "LastName"), i(we, "id", "LastName"), i(we, "type", "text"), i(we, "class", Et = `${/*profileValues*/
993
+ (Yr = e[4].firstname) == null ? void 0 : Yr.readOnly, i(z, "class", "PlayerInfoBox"), i(At, "for", "LastName"), i(we, "id", "LastName"), i(we, "type", "text"), i(we, "class", Et = `${/*profileValues*/
994
994
  (Zr = e[4].lastname) != null && Zr.readOnly ? "FieldDisabled" : ""}`), we.value = Br = /*profileValues*/
995
995
  e[4].lastname.value, we.readOnly = Dt = /*profileValues*/
996
996
  ($r = e[4].lastname) == null ? void 0 : $r.readOnly, i(hr, "class", "PlayerInfoBox"), i(It, "for", "UserTitle"), i(Ee, "id", "UserTitle"), i(Ee, "type", "text"), i(Ee, "class", Ot = `${/*profileValues*/
@@ -1054,7 +1054,7 @@ function pi(e) {
1054
1054
  L,
1055
1055
  /*profileValues*/
1056
1056
  e[4].mobile.number
1057
- ), a(F, rr), ie && ie.m(F, null), a(F, Ge), oe && oe.m(F, null), a(C, Ke), a(C, K), a(K, Ne), a(Ne, or), a(Ne, Ue), a(Ne, ke), a(K, vt), a(K, G), U(
1057
+ ), a(F, rr), ie && ie.m(F, null), a(F, Ge), oe && oe.m(F, null), a(C, Ke), a(C, K), a(K, Ne), a(Ne, nr), a(Ne, Ue), a(Ne, ke), a(K, vt), a(K, G), U(
1058
1058
  G,
1059
1059
  /*profileValues*/
1060
1060
  e[4].securityQuestion.value
@@ -1062,7 +1062,7 @@ function pi(e) {
1062
1062
  V,
1063
1063
  /*profileValues*/
1064
1064
  e[4].securityAnswer.value
1065
- ), a(Pe, ht), se && se.m(Pe, null), a(C, Ct), a(C, Ze), a(Ze, mr), a(mr, Ir), a(Ze, kt), a(Ze, be), a(C, Pt), a(C, $e), a($e, yr), a(yr, Mr), a($e, _t), a($e, p), a(C, Y), a(C, N), a(N, B), a(B, Z), a(N, ir), a(N, q), a(C, Oa), a(C, hr), a(hr, At), a(At, fa), a(hr, Ba), a(hr, we), a(C, za), a(C, Cr), a(Cr, It), a(It, va), a(Cr, Na), a(Cr, Ee), a(C, Ha), a(C, kr), a(kr, zt), a(zt, ya), a(kr, ja), a(kr, De), a(C, Ta), le && le.m(C, null), a(r, Qa), a(r, Tt), a(Tt, ga), a(ga, ba), a(r, Fa), a(r, J), a(J, Pr), a(Pr, Ft), a(Ft, ha), a(Pr, La), a(Pr, he), a(J, Wa), a(J, He), a(He, qt), a(qt, Ca), a(He, Ua), a(He, $), U(
1065
+ ), a(Pe, ht), se && se.m(Pe, null), a(C, Ct), a(C, Ze), a(Ze, mr), a(mr, Ir), a(Ze, kt), a(Ze, be), a(C, Pt), a(C, $e), a($e, yr), a(yr, Mr), a($e, _t), a($e, p), a(C, Y), a(C, z), a(z, B), a(B, Z), a(z, or), a(z, q), a(C, Oa), a(C, hr), a(hr, At), a(At, fa), a(hr, Ba), a(hr, we), a(C, za), a(C, Cr), a(Cr, It), a(It, va), a(Cr, Na), a(Cr, Ee), a(C, Ha), a(C, kr), a(kr, zt), a(zt, ya), a(kr, ja), a(kr, De), a(C, Ta), le && le.m(C, null), a(r, Qa), a(r, Tt), a(Tt, ga), a(ga, ba), a(r, Fa), a(r, J), a(J, Pr), a(Pr, Ft), a(Ft, ha), a(Pr, La), a(Pr, he), a(J, Wa), a(J, He), a(He, qt), a(qt, Ca), a(He, Ua), a(He, $), U(
1066
1066
  $,
1067
1067
  /*profileValues*/
1068
1068
  e[4].city.value
@@ -1258,11 +1258,11 @@ function pi(e) {
1258
1258
  ) : (
1259
1259
  /*$_*/
1260
1260
  e[19]("profileSecurityQuestion")
1261
- )) + "") && S(or, Je), u[0] & /*profileValues, prefixesArray*/
1262
- 24 && nr !== (nr = `${/*profileValues*/
1263
- (qr = e[4].securityQuestion) != null && qr.readOnly ? "FieldDisabled" : ""}`) && i(G, "class", nr), u[0] & /*profileValues, prefixesArray*/
1264
- 24 && sr !== (sr = /*profileValues*/
1265
- (Rr = e[4].securityQuestion) == null ? void 0 : Rr.readOnly) && (G.readOnly = sr), u[0] & /*profileValues, prefixesArray*/
1261
+ )) + "") && S(nr, Je), u[0] & /*profileValues, prefixesArray*/
1262
+ 24 && sr !== (sr = `${/*profileValues*/
1263
+ (qr = e[4].securityQuestion) != null && qr.readOnly ? "FieldDisabled" : ""}`) && i(G, "class", sr), u[0] & /*profileValues, prefixesArray*/
1264
+ 24 && lr !== (lr = /*profileValues*/
1265
+ (Rr = e[4].securityQuestion) == null ? void 0 : Rr.readOnly) && (G.readOnly = lr), u[0] & /*profileValues, prefixesArray*/
1266
1266
  24 && G.value !== /*profileValues*/
1267
1267
  e[4].securityQuestion.value && U(
1268
1268
  G,
@@ -1270,18 +1270,18 @@ function pi(e) {
1270
1270
  e[4].securityQuestion.value
1271
1271
  ), /*isSecurityQuestionValid*/
1272
1272
  e[14] ? ne && (ne.d(1), ne = null) : ne ? ne.p(e, u) : (ne = yi(e), ne.c(), ne.m(K, null)), u[0] & /*isSecurityQuestionValid*/
1273
- 16384 && lr !== (lr = "PlayerInfoBox " + /*isSecurityQuestionValid*/
1274
- (e[14] ? "" : "InvalidField")) && i(K, "class", lr), u[0] & /*custominputtextswitch, $_*/
1275
- 524289 && ur !== (ur = /*custominputtextswitch*/
1273
+ 16384 && ur !== (ur = "PlayerInfoBox " + /*isSecurityQuestionValid*/
1274
+ (e[14] ? "" : "InvalidField")) && i(K, "class", ur), u[0] & /*custominputtextswitch, $_*/
1275
+ 524289 && cr !== (cr = /*custominputtextswitch*/
1276
1276
  (e[0] == "true" ? (
1277
1277
  /*$_*/
1278
1278
  e[19]("profileSecurityAnswer2")
1279
1279
  ) : (
1280
1280
  /*$_*/
1281
1281
  e[19]("profileSecurityAnswer")
1282
- )) + "") && S(Ye, ur), u[0] & /*profileValues, prefixesArray*/
1283
- 24 && cr !== (cr = `${/*profileValues*/
1284
- (xr = e[4].securityAnswer) != null && xr.readOnly ? "FieldDisabled" : ""}`) && i(V, "class", cr), u[0] & /*profileValues, prefixesArray*/
1282
+ )) + "") && S(Ye, cr), u[0] & /*profileValues, prefixesArray*/
1283
+ 24 && ar !== (ar = `${/*profileValues*/
1284
+ (xr = e[4].securityAnswer) != null && xr.readOnly ? "FieldDisabled" : ""}`) && i(V, "class", ar), u[0] & /*profileValues, prefixesArray*/
1285
1285
  24 && pr !== (pr = /*profileValues*/
1286
1286
  (Gr = e[4].securityAnswer) == null ? void 0 : Gr.readOnly) && (V.readOnly = pr), u[0] & /*profileValues, prefixesArray*/
1287
1287
  24 && V.value !== /*profileValues*/
@@ -1297,8 +1297,8 @@ function pi(e) {
1297
1297
  e[19]("userEmail") + "") && S(Ir, Ve), u[0] & /*profileValues, prefixesArray*/
1298
1298
  24 && fr !== (fr = `${/*profileValues*/
1299
1299
  (Kr = e[4].email) != null && Kr.readOnly ? "FieldDisabled" : ""}`) && i(be, "class", fr), u[0] & /*profileValues, prefixesArray*/
1300
- 24 && ar !== (ar = /*profileValues*/
1301
- e[4].email.value) && be.value !== ar && (be.value = ar), u[0] & /*profileValues, prefixesArray*/
1300
+ 24 && ir !== (ir = /*profileValues*/
1301
+ e[4].email.value) && be.value !== ir && (be.value = ir), u[0] & /*profileValues, prefixesArray*/
1302
1302
  24 && vr !== (vr = /*profileValues*/
1303
1303
  (Jr = e[4].email) == null ? void 0 : Jr.readOnly) && (be.readOnly = vr), u[0] & /*$_*/
1304
1304
  524288 && gr !== (gr = /*$_*/
@@ -1307,8 +1307,8 @@ function pi(e) {
1307
1307
  (Xr = e[4].birth) != null && Xr.readOnly ? "FieldDisabled" : ""}`) && i(p, "class", f), u[0] & /*profileValues, prefixesArray*/
1308
1308
  24 && E !== (E = /*profileValues*/
1309
1309
  e[4].birth.value) && p.value !== E && (p.value = E), u[0] & /*profileValues, prefixesArray*/
1310
- 24 && z !== (z = /*profileValues*/
1311
- (Yr = e[4].birth) == null ? void 0 : Yr.readOnly) && (p.readOnly = z), u[0] & /*$_*/
1310
+ 24 && N !== (N = /*profileValues*/
1311
+ (Yr = e[4].birth) == null ? void 0 : Yr.readOnly) && (p.readOnly = N), u[0] & /*$_*/
1312
1312
  524288 && qe !== (qe = /*$_*/
1313
1313
  e[19]("firstName") + "") && S(Z, qe), u[0] & /*profileValues, prefixesArray*/
1314
1314
  24 && br !== (br = `${/*profileValues*/
@@ -2163,7 +2163,7 @@ function oo(e, t, r) {
2163
2163
  username: "Username"
2164
2164
  }, c = {}, g = {}, Se = ["Marketing", "Casino", "Sports", "Bingo", "VirtualSports"], H = ["Casino", "Sports", "Bingo", "VirtualSports"];
2165
2165
  let x = !0, xe = !1, Ae = !1, er = !1, L = !0, Le = !0, We = !0, rr = !0, Ge = !0, ze = !0, Ke = !0, K = !0, Ne = !0, Je = !1;
2166
- const or = {
2166
+ const nr = {
2167
2167
  document: /^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/
2168
2168
  };
2169
2169
  window.matchMedia("(min-width: 768px)");
@@ -2175,7 +2175,7 @@ function oo(e, t, r) {
2175
2175
  }
2176
2176
  }, ke = (p) => Ie(this, null, function* () {
2177
2177
  try {
2178
- const f = new URL(`${d}${p}`), z = { method: "GET", headers: new Headers({ "X-SessionID": s }) }, Y = yield fetch(f.href, z);
2178
+ const f = new URL(`${d}${p}`), N = { method: "GET", headers: new Headers({ "X-SessionID": s }) }, Y = yield fetch(f.href, N);
2179
2179
  if (!Y.ok)
2180
2180
  throw new Error(`HTTP error! Status: ${Y.status}`);
2181
2181
  return yield Y.json();
@@ -2193,26 +2193,26 @@ function oo(e, t, r) {
2193
2193
  r(38, W = (yield ke(`/v1/player/${o}/consent`)).items);
2194
2194
  });
2195
2195
  }
2196
- function nr() {
2196
+ function sr() {
2197
2197
  return Ie(this, null, function* () {
2198
2198
  r(39, T = (yield ke("/v1/player/consentRequirements")).items);
2199
2199
  });
2200
2200
  }
2201
- function sr() {
2201
+ function lr() {
2202
2202
  return Ie(this, null, function* () {
2203
2203
  r(36, Q = (yield ke("/v1/player/countries")).countries);
2204
2204
  });
2205
2205
  }
2206
2206
  const yt = () => {
2207
2207
  Object.keys(I).forEach((f) => {
2208
- var E, z, Y, N, B, qe;
2208
+ var E, N, Y, z, B, qe;
2209
2209
  switch (r(4, c[f] = {}, c), f) {
2210
2210
  case "birth":
2211
- const Z = ((E = I[f]) == null ? void 0 : E.day) || "", ir = ((z = I[f]) == null ? void 0 : z.month) || "", q = ((Y = I[f]) == null ? void 0 : Y.year) || "";
2212
- r(4, c[f].value = `${Z}/${ir}/${q}`, c);
2211
+ const Z = ((E = I[f]) == null ? void 0 : E.day) || "", or = ((N = I[f]) == null ? void 0 : N.month) || "", q = ((Y = I[f]) == null ? void 0 : Y.year) || "";
2212
+ r(4, c[f].value = `${Z}/${or}/${q}`, c);
2213
2213
  break;
2214
2214
  case "country":
2215
- r(4, c[f].countryName = ((N = Q.find((br) => br.Alpha2Code === I.country)) == null ? void 0 : N.Name) || "I.E. Ireland", c), r(4, c[f].countryCode = I.country || "", c);
2215
+ r(4, c[f].countryName = ((z = Q.find((br) => br.Alpha2Code === I.country)) == null ? void 0 : z.Name) || "I.E. Ireland", c), r(4, c[f].countryCode = I.country || "", c);
2216
2216
  break;
2217
2217
  case "mobile":
2218
2218
  r(4, c[f].prefix = (B = I.mobile) == null ? void 0 : B.prefix, c), r(4, c[f].number = (qe = I.mobile) == null ? void 0 : qe.number, c);
@@ -2223,7 +2223,7 @@ function oo(e, t, r) {
2223
2223
  r(4, c[f].readOnly = Oe.includes(f), c);
2224
2224
  }), r(4, c.consents = {}, c), T.forEach((f) => {
2225
2225
  if (Se.includes(f.category) && !f.mustAccept) {
2226
- const E = W.find((z) => z.tagCode === f.tagCode);
2226
+ const E = W.find((N) => N.tagCode === f.tagCode);
2227
2227
  r(4, c.consents[f.category] = c.consents[f.category] || [], c), E ? c.consents[f.category].push({
2228
2228
  tagCode: E.tagCode,
2229
2229
  status: E.status === "Accepted"
@@ -2232,16 +2232,16 @@ function oo(e, t, r) {
2232
2232
  });
2233
2233
  const p = c.consents;
2234
2234
  for (const [f, E] of Object.entries(p))
2235
- g[f] || (r(5, g[f] = {}, g), r(5, g[f].parent = null, g), E.forEach((z) => r(5, g[f][z.tagCode] = null, g)));
2235
+ g[f] || (r(5, g[f] = {}, g), r(5, g[f].parent = null, g), E.forEach((N) => r(5, g[f][N.tagCode] = null, g)));
2236
2236
  Be = Ue(c), R = Ue(c.consents), r(6, x = !1);
2237
- }, lr = (p) => p.split(","), gt = () => {
2237
+ }, ur = (p) => p.split(","), gt = () => {
2238
2238
  const p = new URL(`${d}/v1/player/operatorSupportedPhoneCodes`);
2239
2239
  fetch(p.href).then((f) => f.json()).then((f) => r(3, D = f.phoneCodes)).catch((f) => console.log("Failed to fetch phone codes:", f));
2240
2240
  }, Pe = () => {
2241
2241
  r(9, L = !1), ze && Ke && Le && rr && Ge && We && K && Ne && r(9, L = !0);
2242
2242
  }, Xe = () => {
2243
2243
  r(8, Ae = Ue(c) !== Be);
2244
- }, ur = () => {
2244
+ }, cr = () => {
2245
2245
  er = Ue(c.consents) !== R;
2246
2246
  }, Ye = (p) => () => {
2247
2247
  switch (p) {
@@ -2267,7 +2267,7 @@ function oo(e, t, r) {
2267
2267
  if (r(14, ze = !1), c.securityQuestion.value)
2268
2268
  switch (A) {
2269
2269
  case "true":
2270
- or.document.test(c.securityQuestion.value) && c.securityQuestion.value.length <= 50 && r(14, ze = !0);
2270
+ nr.document.test(c.securityQuestion.value) && c.securityQuestion.value.length <= 50 && r(14, ze = !0);
2271
2271
  break;
2272
2272
  case "false":
2273
2273
  c.securityQuestion.value && c.securityQuestion.value.length <= 120 && r(14, ze = !0);
@@ -2278,7 +2278,7 @@ function oo(e, t, r) {
2278
2278
  if (r(15, Ke = !1), c.securityAnswer.value)
2279
2279
  switch (A) {
2280
2280
  case "true":
2281
- or.document.test(c.securityAnswer.value) && c.securityAnswer.value.length <= 50 && r(15, Ke = !0);
2281
+ nr.document.test(c.securityAnswer.value) && c.securityAnswer.value.length <= 50 && r(15, Ke = !0);
2282
2282
  break;
2283
2283
  case "false":
2284
2284
  c.securityAnswer.value && c.securityAnswer.value.length <= 120 && r(15, Ke = !0);
@@ -2286,7 +2286,7 @@ function oo(e, t, r) {
2286
2286
  }
2287
2287
  break;
2288
2288
  case "consents":
2289
- ur();
2289
+ cr();
2290
2290
  break;
2291
2291
  }
2292
2292
  Xe(), Pe();
@@ -2331,42 +2331,42 @@ function oo(e, t, r) {
2331
2331
  const p = new URL(`${d}/v1/player/${o}/profile`), f = new Headers();
2332
2332
  f.append("X-SessionID", s), f.append("Content-Type", "application/json"), f.append("Accept", "application/json");
2333
2333
  const E = Object.entries(c).reduce(
2334
- (N, [B, qe]) => {
2335
- var ir;
2334
+ (z, [B, qe]) => {
2335
+ var or;
2336
2336
  const Z = qe;
2337
2337
  if (!Z.readOnly)
2338
2338
  if (B === "mobile" || B === "phone")
2339
- N[B] = { prefix: Z.prefix, number: Z.number };
2339
+ z[B] = { prefix: Z.prefix, number: Z.number };
2340
2340
  else if (B === "consents")
2341
- N[B] = Z;
2341
+ z[B] = Z;
2342
2342
  else if (B === "country")
2343
- N[B] = Z.countryCode;
2343
+ z[B] = Z.countryCode;
2344
2344
  else if (B === "birth" && typeof Z.value == "string") {
2345
2345
  const q = Z.value.split("/");
2346
- N[B] = {
2346
+ z[B] = {
2347
2347
  year: q[2],
2348
2348
  month: q[1],
2349
2349
  day: q[0]
2350
2350
  };
2351
2351
  } else
2352
- N[B] = (ir = Z.value) != null ? ir : null;
2353
- return N;
2352
+ z[B] = (or = Z.value) != null ? or : null;
2353
+ return z;
2354
2354
  },
2355
2355
  {}
2356
- ), z = Ue(E);
2357
- if (z === null)
2356
+ ), N = Ue(E);
2357
+ if (N === null)
2358
2358
  return !1;
2359
- const Y = { method: "POST", headers: f, body: z };
2359
+ const Y = { method: "POST", headers: f, body: N };
2360
2360
  try {
2361
- const N = yield fetch(p.href, Y);
2362
- if (N.status === 200)
2361
+ const z = yield fetch(p.href, Y);
2362
+ if (z.status === 200)
2363
2363
  return !0;
2364
- const B = yield N.json();
2365
- return cr(B), !1;
2366
- } catch (N) {
2367
- return console.error(N), !1;
2364
+ const B = yield z.json();
2365
+ return ar(B), !1;
2366
+ } catch (z) {
2367
+ return console.error(z), ar(z), !1;
2368
2368
  }
2369
- }), cr = (p) => {
2369
+ }), ar = (p) => {
2370
2370
  var E;
2371
2371
  const f = (E = p.thirdPartyResponse) == null ? void 0 : E.message;
2372
2372
  f && f.includes("Mandatory input parameter is missing: mobilePrefix") ? (F = n("userPrefixError"), Ye("mobilePrefix")()) : F = n("userProfileUpdateError");
@@ -2377,13 +2377,13 @@ function oo(e, t, r) {
2377
2377
  tagCode: B.tagCode,
2378
2378
  status: B.status ? "Accepted" : "Denied"
2379
2379
  });
2380
- const E = new URL(`${d}/v1/player/${o}/consent`), z = new Headers();
2381
- z.append("X-SessionID", s), z.append("Content-Type", "application/json"), z.append("Accept", "application/json");
2380
+ const E = new URL(`${d}/v1/player/${o}/consent`), N = new Headers();
2381
+ N.append("X-SessionID", s), N.append("Content-Type", "application/json"), N.append("Accept", "application/json");
2382
2382
  const Y = Ue({ items: p });
2383
2383
  if (Y === null)
2384
2384
  return !1;
2385
- const N = { method: "POST", headers: z, body: Y };
2386
- return yield fetch(E.href, N).then((B) => B.status == 200, (B) => (console.error(B), !1));
2385
+ const z = { method: "POST", headers: N, body: Y };
2386
+ return yield fetch(E.href, z).then((B) => B.status == 200, (B) => (console.error(B), !1));
2387
2387
  }), ht = () => {
2388
2388
  window.postMessage(
2389
2389
  {
@@ -2408,8 +2408,8 @@ function oo(e, t, r) {
2408
2408
  });
2409
2409
  const Ze = (p) => (f) => {
2410
2410
  c.consents[p].forEach((E) => {
2411
- E.status = f.target.checked, Object.values(g[p]).forEach((z) => {
2412
- z && (z.checked = E.status);
2411
+ E.status = f.target.checked, Object.values(g[p]).forEach((N) => {
2412
+ N && (N.checked = E.status);
2413
2413
  });
2414
2414
  }), Ye("consents")();
2415
2415
  }, mr = (p) => (f) => {
@@ -2429,7 +2429,7 @@ function oo(e, t, r) {
2429
2429
  function fr() {
2430
2430
  c.securityAnswer.value = this.value, r(4, c), r(3, D);
2431
2431
  }
2432
- function ar() {
2432
+ function ir() {
2433
2433
  c.city.value = this.value, r(4, c), r(3, D);
2434
2434
  }
2435
2435
  function vr() {
@@ -2463,11 +2463,11 @@ function oo(e, t, r) {
2463
2463
  "userid" in p && r(27, o = p.userid), "sessionid" in p && r(28, s = p.sessionid), "endpoint" in p && r(29, d = p.endpoint), "lang" in p && r(30, b = p.lang), "clientstyling" in p && r(31, v = p.clientstyling), "clientstylingurl" in p && r(32, k = p.clientstylingurl), "mbsource" in p && r(33, m = p.mbsource), "translationurl" in p && r(34, h = p.translationurl), "custominputtextswitch" in p && r(0, A = p.custominputtextswitch), "showlocationdetailsdescription" in p && r(1, _ = p.showlocationdetailsdescription), "disabledfields" in p && r(35, C = p.disabledfields);
2464
2464
  }, e.$$.update = () => {
2465
2465
  e.$$.dirty[0] & /*endpoint, userid, sessionid*/
2466
- 939524096 && d && o && s && vt() && G() && nr(), e.$$.dirty[0] & /*endpoint*/
2467
- 536870912 && d && sr() && gt(), e.$$.dirty[1] & /*profileInfo, profileConsents, profileConsentRequirements, countriesArray*/
2466
+ 939524096 && d && o && s && vt() && G() && sr(), e.$$.dirty[0] & /*endpoint*/
2467
+ 536870912 && d && lr() && gt(), e.$$.dirty[1] & /*profileInfo, profileConsents, profileConsentRequirements, countriesArray*/
2468
2468
  480 && Ve(I) && Ve(W) && Ve(T) && Ve(Q) && yt(), e.$$.dirty[0] & /*lang*/
2469
2469
  1073741824 && b && dr(), e.$$.dirty[1] & /*disabledfields*/
2470
- 16 && C && (Oe = lr(C)), e.$$.dirty[0] & /*customStylingContainer*/
2470
+ 16 && C && (Oe = ur(C)), e.$$.dirty[0] & /*customStylingContainer*/
2471
2471
  4 | e.$$.dirty[1] & /*clientstyling*/
2472
2472
  1 && v && w && Vi(w, v), e.$$.dirty[0] & /*customStylingContainer*/
2473
2473
  4 | e.$$.dirty[1] & /*clientstylingurl*/
@@ -2520,7 +2520,7 @@ function oo(e, t, r) {
2520
2520
  kt,
2521
2521
  be,
2522
2522
  fr,
2523
- ar,
2523
+ ir,
2524
2524
  vr,
2525
2525
  Pt,
2526
2526
  $e,