@everymatrix/player-account-controller-nd 1.52.5 → 1.53.0

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 (44) hide show
  1. package/components/PlayerAccountControllerNd-B2_bahHf.cjs +1 -0
  2. package/components/{PlayerAccountControllerNd-DPYLx7NR.js → PlayerAccountControllerNd-CS3nKF7-.js} +577 -517
  3. package/components/{PlayerAccountGamingLimits-Ba8gZhzx.js → PlayerAccountGamingLimits-9Stjo0gs.js} +1 -1
  4. package/components/{PlayerAccountGamingLimits-96NZsRcC.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsGroupEdit-CHTvuuJn.js → PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js} +1 -1
  6. package/components/{PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +1 -1
  7. package/components/{PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsInfoCard-CuWuZhIt.js → PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js} +2 -2
  9. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-qfL5QXeR.js → PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js} +1421 -989
  10. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +21 -0
  11. package/components/{PlayerAccountGamingLimitsWrapper2Nd-C2l4GKfA.js → PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js} +22 -19
  12. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +1 -0
  13. package/components/PlayerAccountGeneralConfirmationModal-BlglDNwU.js +365 -0
  14. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +1 -0
  15. package/components/{PlayerAccountMenuNd-DCG8VBeN.js → PlayerAccountMenuNd-BWUhUlIY.js} +71 -71
  16. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +1 -0
  17. package/components/PlayerAccountModal-C7aZZlBw.cjs +1 -0
  18. package/components/PlayerAccountModal-CzVRNZzB.js +213 -0
  19. package/components/{PlayerAccountSelfExclusionNd-CcWfUeeq.js → PlayerAccountSelfExclusionNd-D2JmyzgE.js} +2624 -2548
  20. package/components/{PlayerAccountSelfExclusionNd-y8YlFTpW.cjs → PlayerAccountSelfExclusionNd-DCsOgBZR.cjs} +184 -184
  21. package/components/{PlayerAccountTimeout-B0g85-4A.js → PlayerAccountTimeout-BO3G2t3W.js} +448 -288
  22. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +1 -0
  23. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +1 -0
  24. package/components/PlayerActiveBonuses-ZwmUwEUl.js +1089 -0
  25. package/components/PlayerBonusCard-DGPJpICk.cjs +1 -0
  26. package/components/PlayerBonusCard-dFgfE3Pv.js +722 -0
  27. package/components/{PlayerBonusHistory-Bq7IPMXk.cjs → PlayerBonusHistory-BfiKd2bg.cjs} +1 -1
  28. package/components/{PlayerBonusHistory-DG8zGNVv.js → PlayerBonusHistory-CgvT-d4z.js} +3 -3
  29. package/components/{PlayerGamingHistory-CyH6YJA_.js → PlayerGamingHistory-BGLAtN_Q.js} +3 -3
  30. package/components/{PlayerGamingHistory-CxUirJqc.cjs → PlayerGamingHistory-DKuaAado.cjs} +1 -1
  31. package/es2015/player-account-controller-nd.cjs +1 -1
  32. package/es2015/player-account-controller-nd.js +1 -1
  33. package/package.json +1 -1
  34. package/components/PlayerAccountControllerNd-Q0t7Ubzn.cjs +0 -1
  35. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-TSh0wb3T.cjs +0 -21
  36. package/components/PlayerAccountGamingLimitsWrapper2Nd-B9Q7iGIP.cjs +0 -1
  37. package/components/PlayerAccountMenuNd-BIuXWBiI.cjs +0 -1
  38. package/components/PlayerAccountModal-C52SG5dV.cjs +0 -1
  39. package/components/PlayerAccountModal-DAqNrt36.js +0 -198
  40. package/components/PlayerAccountTimeout-C0lXekrR.cjs +0 -1
  41. package/components/PlayerActiveBonuses-B53gZwaj.cjs +0 -1
  42. package/components/PlayerActiveBonuses-DeDDPDuH.js +0 -998
  43. package/components/PlayerBonusCard-BbvG-zJm.js +0 -579
  44. package/components/PlayerBonusCard-Crm5CyLi.cjs +0 -1
@@ -0,0 +1,213 @@
1
+ import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-BZhvD1EQ.js";
2
+ function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
3
+ const s = +getComputedStyle(t).opacity;
4
+ return {
5
+ delay: e,
6
+ duration: i,
7
+ easing: n,
8
+ css: (o) => `opacity: ${o * s}`
9
+ };
10
+ }
11
+ function K(t) {
12
+ W(t, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
13
+ }
14
+ function S(t) {
15
+ let e, i, n, s, o;
16
+ const c = (
17
+ /*#slots*/
18
+ t[8].default
19
+ ), r = G(
20
+ c,
21
+ t,
22
+ /*$$scope*/
23
+ t[7],
24
+ null
25
+ );
26
+ return {
27
+ c() {
28
+ e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
29
+ },
30
+ m(a, u) {
31
+ L(a, e, u), M(e, i), M(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
32
+ },
33
+ p(a, u) {
34
+ t = a, r && r.p && (!o || u & /*$$scope*/
35
+ 128) && I(
36
+ r,
37
+ c,
38
+ t,
39
+ /*$$scope*/
40
+ t[7],
41
+ o ? Y(
42
+ c,
43
+ /*$$scope*/
44
+ t[7],
45
+ u,
46
+ null
47
+ ) : N(
48
+ /*$$scope*/
49
+ t[7]
50
+ ),
51
+ null
52
+ );
53
+ },
54
+ i(a) {
55
+ o || (m(r, a), a && Z(() => {
56
+ o && (s || (s = C(i, p, { transitionDuration: (
57
+ /*duration*/
58
+ t[1]
59
+ ) }, !0)), s.run(1));
60
+ }), o = !0);
61
+ },
62
+ o(a) {
63
+ w(r, a), a && (s || (s = C(i, p, { transitionDuration: (
64
+ /*duration*/
65
+ t[1]
66
+ ) }, !1)), s.run(0)), o = !1;
67
+ },
68
+ d(a) {
69
+ a && E(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
70
+ }
71
+ };
72
+ }
73
+ function O(t) {
74
+ let e, i, n = (
75
+ /*show*/
76
+ t[0] && S(t)
77
+ );
78
+ return {
79
+ c() {
80
+ n && n.c(), e = j();
81
+ },
82
+ m(s, o) {
83
+ n && n.m(s, o), L(s, e, o), i = !0;
84
+ },
85
+ p(s, [o]) {
86
+ /*show*/
87
+ s[0] ? n ? (n.p(s, o), o & /*show*/
88
+ 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (J(), w(n, 1, 1, () => {
89
+ n = null;
90
+ }), q());
91
+ },
92
+ i(s) {
93
+ i || (m(n), i = !0);
94
+ },
95
+ o(s) {
96
+ w(n), i = !1;
97
+ },
98
+ d(s) {
99
+ s && E(e), n && n.d(s);
100
+ }
101
+ };
102
+ }
103
+ function Q(t, e, i) {
104
+ let { $$slots: n = {}, $$scope: s } = e, { show: o = !1 } = e, { duration: c = 350 } = e, { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, { showmodaleventname: u = "ShowLimitsConfirmationModal" } = e, d, h;
105
+ const b = (l) => {
106
+ switch (l.data.type) {
107
+ case "ModalClosed":
108
+ i(0, o = !1);
109
+ break;
110
+ case u:
111
+ i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
+ break;
113
+ }
114
+ }, D = () => {
115
+ let l = document.createElement("style");
116
+ l.innerHTML = r, d.appendChild(l);
117
+ }, H = () => {
118
+ let l = new URL(a), v = document.createElement("style");
119
+ fetch(l.href).then((g) => g.text()).then((g) => {
120
+ v.innerHTML = g, setTimeout(
121
+ () => {
122
+ d.appendChild(v);
123
+ },
124
+ 1
125
+ );
126
+ });
127
+ };
128
+ A(() => (window.addEventListener("message", b, !1), () => {
129
+ window.removeEventListener("message", b);
130
+ }));
131
+ function T(l) {
132
+ k[l ? "unshift" : "push"](() => {
133
+ h = l, i(3, h);
134
+ });
135
+ }
136
+ function z(l) {
137
+ k[l ? "unshift" : "push"](() => {
138
+ d = l, i(2, d);
139
+ });
140
+ }
141
+ return t.$$set = (l) => {
142
+ "show" in l && i(0, o = l.show), "duration" in l && i(1, c = l.duration), "clientstyling" in l && i(4, r = l.clientstyling), "clientstylingurl" in l && i(5, a = l.clientstylingurl), "showmodaleventname" in l && i(6, u = l.showmodaleventname), "$$scope" in l && i(7, s = l.$$scope);
143
+ }, t.$$.update = () => {
144
+ t.$$.dirty & /*clientstylingurl, customStylingContainer*/
145
+ 36 && a && d && H(), t.$$.dirty & /*clientstyling, customStylingContainer*/
146
+ 20 && r && d && D();
147
+ }, [
148
+ o,
149
+ c,
150
+ d,
151
+ h,
152
+ r,
153
+ a,
154
+ u,
155
+ s,
156
+ n,
157
+ T,
158
+ z
159
+ ];
160
+ }
161
+ class V extends F {
162
+ constructor(e) {
163
+ super(), P(
164
+ this,
165
+ e,
166
+ Q,
167
+ O,
168
+ U,
169
+ {
170
+ show: 0,
171
+ duration: 1,
172
+ clientstyling: 4,
173
+ clientstylingurl: 5,
174
+ showmodaleventname: 6
175
+ },
176
+ K
177
+ );
178
+ }
179
+ get show() {
180
+ return this.$$.ctx[0];
181
+ }
182
+ set show(e) {
183
+ this.$$set({ show: e }), f();
184
+ }
185
+ get duration() {
186
+ return this.$$.ctx[1];
187
+ }
188
+ set duration(e) {
189
+ this.$$set({ duration: e }), f();
190
+ }
191
+ get clientstyling() {
192
+ return this.$$.ctx[4];
193
+ }
194
+ set clientstyling(e) {
195
+ this.$$set({ clientstyling: e }), f();
196
+ }
197
+ get clientstylingurl() {
198
+ return this.$$.ctx[5];
199
+ }
200
+ set clientstylingurl(e) {
201
+ this.$$set({ clientstylingurl: e }), f();
202
+ }
203
+ get showmodaleventname() {
204
+ return this.$$.ctx[6];
205
+ }
206
+ set showmodaleventname(e) {
207
+ this.$$set({ showmodaleventname: e }), f();
208
+ }
209
+ }
210
+ R(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
211
+ export {
212
+ V as default
213
+ };