@everymatrix/player-account-gaming-limits 1.65.2 → 1.65.3

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 (25) hide show
  1. package/components/{PlayerAccountGamingLimits-B8dVy1dw.js → PlayerAccountGamingLimits-CqmOKdVH.js} +1622 -1657
  2. package/components/{PlayerAccountGamingLimits-Csz1rGwm.js → PlayerAccountGamingLimits-DCaWtkE6.js} +1428 -1463
  3. package/components/PlayerAccountGamingLimits-T5-mSITY.cjs +21 -0
  4. package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct3UzL1l.js → PlayerAccountGamingLimitsConfirmationModal-BFdGoRdT.js} +53 -53
  5. package/components/PlayerAccountGamingLimitsConfirmationModal-BcmMpc4k.cjs +1 -0
  6. package/components/{PlayerAccountGamingLimitsConfirmationModal-BSyUmrl3.js → PlayerAccountGamingLimitsConfirmationModal-OGalQefI.js} +53 -53
  7. package/components/{PlayerAccountGamingLimitsGroupEdit-5CQm4ZCc.js → PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js} +395 -393
  8. package/components/PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs +1 -0
  9. package/components/{PlayerAccountGamingLimitsGroupEdit-56lXVmhz.js → PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js} +395 -393
  10. package/components/{PlayerAccountGamingLimitsInfoCard-DJVcHz9f.js → PlayerAccountGamingLimitsInfoCard-BR08lfFb.js} +92 -92
  11. package/components/{PlayerAccountGamingLimitsInfoCard-DYnNmpCR.js → PlayerAccountGamingLimitsInfoCard-BUt4LvKE.js} +91 -91
  12. package/components/{PlayerAccountGamingLimitsInfoCard-Fw7CHUvq.cjs → PlayerAccountGamingLimitsInfoCard-DWoR16RN.cjs} +1 -1
  13. package/components/{PlayerAccountGamingLimitsPopup-CjUttWsG.cjs → PlayerAccountGamingLimitsPopup-CLICaYT2.cjs} +1 -1
  14. package/components/{PlayerAccountGamingLimitsPopup-ky7XPDCp.js → PlayerAccountGamingLimitsPopup-CVwe9722.js} +26 -26
  15. package/components/{PlayerAccountGamingLimitsPopup-BgSqCL5f.js → PlayerAccountGamingLimitsPopup-D9Pjzy7_.js} +26 -26
  16. package/components/{PlayerAccountModal-ChUAMeqV.js → PlayerAccountModal-BECvIT3d.js} +29 -29
  17. package/components/{PlayerAccountModal-woh_9W4B.js → PlayerAccountModal-BcLiGXkj.js} +29 -29
  18. package/components/{PlayerAccountModal-CfM5jG9-.cjs → PlayerAccountModal-ioLlN0au.cjs} +1 -1
  19. package/es2015/player-account-gaming-limits.cjs +1 -1
  20. package/es2015/player-account-gaming-limits.js +1 -1
  21. package/esnext/player-account-gaming-limits.js +1 -1
  22. package/package.json +1 -1
  23. package/components/PlayerAccountGamingLimits-BFWvpDsh.cjs +0 -21
  24. package/components/PlayerAccountGamingLimitsConfirmationModal-beH99OjB.cjs +0 -1
  25. package/components/PlayerAccountGamingLimitsGroupEdit-C6B13sEM.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as q, $ as U, S as H, i as J, s as K, f as y, b as Q, c as V, d as P, r as X, t as Y, e as Z, u as $, g as tt, h as it, j as F, k as T, l, m as z, n as L, o as E, p as S, q as a, v as et, w as nt, x as ot, y as at, z as D, A as rt, B as st, C as lt, D as mt, E as ct, F as dt } from "./PlayerAccountGamingLimits-B8dVy1dw.js";
1
+ import { a as q, $ as U, S as H, i as J, f as y, c as K, s as Q, b as V, d as X, e as L, g as F, t as z, h as a, j as P, k as l, l as E, u as Y, m as Z, n as $, o as S, p as tt, q as it, r as T, v as et, w as nt, x as ot, y as at, z as rt, A as st, B as lt, C as mt, D, E as ct, F as dt } from "./PlayerAccountGamingLimits-CqmOKdVH.js";
2
2
  function N(e, t) {
3
3
  q(e, t);
4
4
  }
@@ -52,7 +52,7 @@ const O = {
52
52
  }
53
53
  };
54
54
  function ut(e) {
55
- Q(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
55
+ V(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
56
56
  }
57
57
  const ft = (e) => ({}), W = (e) => ({});
58
58
  function Ct(e) {
@@ -62,111 +62,111 @@ function Ct(e) {
62
62
  t = D("svg"), n = D("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
63
63
  },
64
64
  m(s, v) {
65
- T(s, t, v), l(t, n);
65
+ P(s, t, v), l(t, n);
66
66
  },
67
- p: at,
67
+ p: ct,
68
68
  d(s) {
69
- s && P(t);
69
+ s && T(t);
70
70
  }
71
71
  };
72
72
  }
73
73
  function pt(e) {
74
- let t, n, s, v, b, h, d, m, g, C = (
74
+ let t, n, s, v, p, b, d, m, g, f = (
75
75
  /*$_*/
76
76
  e[2]("cancel") + ""
77
- ), p, w, x, r = (
77
+ ), C, h, w, r = (
78
78
  /*$_*/
79
79
  e[2]("confirm") + ""
80
80
  ), k, c, _, B;
81
81
  const A = (
82
82
  /*#slots*/
83
83
  e[14].close
84
- ), G = V(
84
+ ), G = X(
85
85
  A,
86
86
  e,
87
87
  /*$$scope*/
88
88
  e[13],
89
89
  W
90
- ), u = G || Ct();
90
+ ), x = G || Ct();
91
91
  return {
92
92
  c() {
93
- t = L("div"), n = L("div"), s = L("span"), u && u.c(), v = E(), b = L("div"), h = S(
93
+ t = L("div"), n = L("div"), s = L("span"), x.c(), v = F(), p = L("div"), b = z(
94
94
  /*modaltext*/
95
95
  e[0]
96
- ), d = E(), m = L("div"), g = L("button"), p = S(C), w = E(), x = L("button"), k = S(r), a(s, "class", "ModalCloseBtn"), a(s, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(x, "class", "GamingLimitsConfirmButton"), a(m, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
96
+ ), d = F(), m = L("div"), g = L("button"), C = z(f), h = F(), w = L("button"), k = z(r), a(s, "class", "ModalCloseBtn"), a(s, "role", "button"), a(p, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(w, "class", "GamingLimitsConfirmButton"), a(m, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
97
97
  (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
98
98
  (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
99
99
  (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
100
100
  },
101
- m(o, f) {
102
- T(o, t, f), l(t, n), l(n, s), u && u.m(s, null), l(n, v), l(n, b), l(b, h), l(n, d), l(n, m), l(m, g), l(g, p), l(m, w), l(m, x), l(x, k), e[15](t), c = !0, _ || (B = [
103
- z(
101
+ m(o, u) {
102
+ P(o, t, u), l(t, n), l(n, s), x.m(s, null), l(n, v), l(n, p), l(p, b), l(n, d), l(n, m), l(m, g), l(g, C), l(m, h), l(m, w), l(w, k), e[15](t), c = !0, _ || (B = [
103
+ E(
104
104
  s,
105
105
  "click",
106
106
  /*close*/
107
107
  e[4]
108
108
  ),
109
- z(
109
+ E(
110
110
  g,
111
111
  "click",
112
112
  /*cancelChanges*/
113
113
  e[6]
114
114
  ),
115
- z(
116
- x,
115
+ E(
116
+ w,
117
117
  "click",
118
118
  /*confirmChanges*/
119
119
  e[5]
120
120
  )
121
121
  ], _ = !0);
122
122
  },
123
- p(o, [f]) {
124
- G && G.p && (!c || f & /*$$scope*/
125
- 8192) && $(
123
+ p(o, [u]) {
124
+ G && G.p && (!c || u & /*$$scope*/
125
+ 8192) && Y(
126
126
  G,
127
127
  A,
128
128
  o,
129
129
  /*$$scope*/
130
130
  o[13],
131
- c ? it(
131
+ c ? $(
132
132
  A,
133
133
  /*$$scope*/
134
134
  o[13],
135
- f,
135
+ u,
136
136
  ft
137
- ) : tt(
137
+ ) : Z(
138
138
  /*$$scope*/
139
139
  o[13]
140
140
  ),
141
141
  W
142
- ), (!c || f & /*modaltext*/
143
- 1) && F(
144
- h,
142
+ ), (!c || u & /*modaltext*/
143
+ 1) && S(
144
+ b,
145
145
  /*modaltext*/
146
146
  o[0]
147
- ), (!c || f & /*$_*/
148
- 4) && C !== (C = /*$_*/
149
- o[2]("cancel") + "") && F(p, C), (!c || f & /*$_*/
147
+ ), (!c || u & /*$_*/
148
+ 4) && f !== (f = /*$_*/
149
+ o[2]("cancel") + "") && S(C, f), (!c || u & /*$_*/
150
150
  4) && r !== (r = /*$_*/
151
- o[2]("confirm") + "") && F(k, r);
151
+ o[2]("confirm") + "") && S(k, r);
152
152
  },
153
153
  i(o) {
154
- c || (Z(u, o), c = !0);
154
+ c || (tt(x, o), c = !0);
155
155
  },
156
156
  o(o) {
157
- Y(u, o), c = !1;
157
+ it(x, o), c = !1;
158
158
  },
159
159
  d(o) {
160
- o && P(t), u && u.d(o), e[15](null), _ = !1, X(B);
160
+ o && T(t), x.d(o), e[15](null), _ = !1, et(B);
161
161
  }
162
162
  };
163
163
  }
164
164
  function bt(e, t, n) {
165
165
  let s;
166
- et(e, dt, (i) => n(2, s = i));
167
- let { $$slots: v = {}, $$scope: b } = t, { modaltext: h = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: C = "" } = t, { mbsource: p } = t, { translationurl: w = "" } = t;
168
- const x = () => {
169
- fetch(w).then((M) => M.json()).then((M) => {
166
+ nt(e, dt, (i) => n(2, s = i));
167
+ let { $$slots: v = {}, $$scope: p } = t, { modaltext: b = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: C } = t, { translationurl: h = "" } = t;
168
+ const w = () => {
169
+ fetch(h).then((M) => M.json()).then((M) => {
170
170
  Object.keys(M).forEach((j) => {
171
171
  N(j, M[j]);
172
172
  });
@@ -177,7 +177,7 @@ function bt(e, t, n) {
177
177
  Object.keys(O).forEach((i) => {
178
178
  N(i, O[i]);
179
179
  });
180
- let r, k = window.navigator.userAgent, c = nt(k) !== "PC", _ = {}, B = "";
180
+ let r, k = window.navigator.userAgent, c = ot(k) !== "PC", _ = {}, B = "";
181
181
  const A = () => {
182
182
  window.postMessage({ type: "ModalClosed" }, window.location.href);
183
183
  }, G = () => {
@@ -189,9 +189,9 @@ function bt(e, t, n) {
189
189
  },
190
190
  window.location.href
191
191
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
192
- }, u = () => {
192
+ }, x = () => {
193
193
  d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
194
- }, o = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", f = (i) => {
194
+ }, o = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", u = (i) => {
195
195
  if (i.data)
196
196
  switch (i.data.type) {
197
197
  case "DeleteLimitsItem":
@@ -201,8 +201,8 @@ function bt(e, t, n) {
201
201
  }, I = () => {
202
202
  gt(m);
203
203
  };
204
- ot(() => (window.addEventListener("message", f, !1), () => {
205
- window.removeEventListener("message", f);
204
+ at(() => (window.addEventListener("message", u, !1), () => {
205
+ window.removeEventListener("message", u);
206
206
  }));
207
207
  function R(i) {
208
208
  rt[i ? "unshift" : "push"](() => {
@@ -210,29 +210,29 @@ function bt(e, t, n) {
210
210
  });
211
211
  }
212
212
  return e.$$set = (i) => {
213
- "modaltext" in i && n(0, h = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, m = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, C = i.clientstylingurl), "mbsource" in i && n(11, p = i.mbsource), "translationurl" in i && n(12, w = i.translationurl), "$$scope" in i && n(13, b = i.$$scope);
213
+ "modaltext" in i && n(0, b = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, m = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "mbsource" in i && n(11, C = i.mbsource), "translationurl" in i && n(12, h = i.translationurl), "$$scope" in i && n(13, p = i.$$scope);
214
214
  }, e.$$.update = () => {
215
215
  e.$$.dirty & /*modaltext, modalsource, lang*/
216
- 385 && h && d && m && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
216
+ 385 && b && d && m && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
217
217
  514 && g && r && st(r, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
218
- 1026 && C && r && lt(r, C), e.$$.dirty & /*mbsource, customStylingContainer*/
219
- 2050 && p && r && mt(r, `${p}.Style`), e.$$.dirty & /*translationurl*/
220
- 4096 && w && x();
218
+ 1026 && f && r && lt(r, f), e.$$.dirty & /*mbsource, customStylingContainer*/
219
+ 2050 && C && r && mt(r, `${C}.Style`), e.$$.dirty & /*translationurl*/
220
+ 4096 && h && w();
221
221
  }, [
222
- h,
222
+ b,
223
223
  r,
224
224
  s,
225
225
  c,
226
226
  A,
227
227
  G,
228
- u,
228
+ x,
229
229
  d,
230
230
  m,
231
231
  g,
232
+ f,
232
233
  C,
234
+ h,
233
235
  p,
234
- w,
235
- b,
236
236
  v,
237
237
  R
238
238
  ];
@@ -244,7 +244,7 @@ class ht extends H {
244
244
  t,
245
245
  bt,
246
246
  pt,
247
- K,
247
+ Q,
248
248
  {
249
249
  modaltext: 0,
250
250
  modalsource: 7,
@@ -300,7 +300,7 @@ class ht extends H {
300
300
  this.$$set({ translationurl: t }), y();
301
301
  }
302
302
  }
303
- ct(ht, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
303
+ K(ht, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
304
304
  export {
305
305
  ht as default
306
306
  };