@everymatrix/player-account-product-restriction 0.0.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.
- package/components/PlayerAccountGeneralConfirmationModal-BGHFq1BP.js +4849 -0
- package/components/PlayerAccountGeneralConfirmationModal-BL-SK99e.js +4886 -0
- package/components/PlayerAccountGeneralConfirmationModal-Bobr9XUh.cjs +21 -0
- package/components/PlayerAccountModal-0lKoL-vz.cjs +1 -0
- package/components/PlayerAccountModal-BshNeXf4.js +209 -0
- package/components/PlayerAccountModal-D3-9T5Q2.js +209 -0
- package/components/PlayerAccountProductRestriction-BcTOg6RL.js +16071 -0
- package/components/PlayerAccountProductRestriction-TVzq4jTH.cjs +5639 -0
- package/components/PlayerAccountProductRestriction-cSqfoT-W.js +16100 -0
- package/es2015/player-account-product-restriction.cjs +1 -0
- package/es2015/player-account-product-restriction.js +16 -0
- package/esnext/player-account-product-restriction.js +14 -0
- package/package.json +25 -0
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b2193545-CayB6jRX.js +519 -0
- package/stencil/index-b2193545-DrvOqGyq.js +503 -0
- package/stencil/index-b2193545-lC_KoC4p.cjs +1 -0
- package/stencil/ui-skeleton-1cb75d00-6KKxtHwu.cjs +73 -0
- package/stencil/ui-skeleton-1cb75d00-BAHBT-wb.js +152 -0
- package/stencil/ui-skeleton-1cb75d00-BPfsKHrC.js +152 -0
- package/stencil/ui-skeleton-CaX4F6ue.cjs +1 -0
- package/stencil/ui-skeleton-QVfoKja7.js +11 -0
- package/stencil/ui-skeleton-b2oavT4f.js +29 -0
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { i as j, S as q, a as A, f, c as W, s as B, b as H, e as N, d as L, t as m, g as w, h as P, j as z, o as R, k as U, l as _, m as y, n as S, u as F, p as G, q as I, r as J, v, w as K, x as k, y as O, z as Q, A as T } from "./PlayerAccountGeneralConfirmationModal-BL-SK99e.js";
|
|
2
|
+
function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
3
|
+
const s = +getComputedStyle(e).opacity;
|
|
4
|
+
return {
|
|
5
|
+
delay: t,
|
|
6
|
+
duration: n,
|
|
7
|
+
easing: i,
|
|
8
|
+
css: (o) => `opacity: ${o * s}`
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function V(e) {
|
|
12
|
+
H(e, "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 C(e) {
|
|
15
|
+
let t, n, i, s, o;
|
|
16
|
+
const d = (
|
|
17
|
+
/*#slots*/
|
|
18
|
+
e[9].default
|
|
19
|
+
), r = U(
|
|
20
|
+
d,
|
|
21
|
+
e,
|
|
22
|
+
/*$$scope*/
|
|
23
|
+
e[8],
|
|
24
|
+
null
|
|
25
|
+
);
|
|
26
|
+
return {
|
|
27
|
+
c() {
|
|
28
|
+
t = _("div"), n = _("div"), i = _("div"), r && r.c(), y(i, "class", "ModalContainer"), y(n, "class", "ModalWindow"), y(n, "id", "Modal");
|
|
29
|
+
},
|
|
30
|
+
m(a, u) {
|
|
31
|
+
L(a, t, u), S(t, n), S(n, i), r && r.m(i, null), e[10](n), e[11](t), o = !0;
|
|
32
|
+
},
|
|
33
|
+
p(a, u) {
|
|
34
|
+
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
+
256) && F(
|
|
36
|
+
r,
|
|
37
|
+
d,
|
|
38
|
+
e,
|
|
39
|
+
/*$$scope*/
|
|
40
|
+
e[8],
|
|
41
|
+
o ? I(
|
|
42
|
+
d,
|
|
43
|
+
/*$$scope*/
|
|
44
|
+
e[8],
|
|
45
|
+
u,
|
|
46
|
+
null
|
|
47
|
+
) : G(
|
|
48
|
+
/*$$scope*/
|
|
49
|
+
e[8]
|
|
50
|
+
),
|
|
51
|
+
null
|
|
52
|
+
);
|
|
53
|
+
},
|
|
54
|
+
i(a) {
|
|
55
|
+
o || (m(r, a), a && J(() => {
|
|
56
|
+
o && (s || (s = v(n, M, { transitionDuration: (
|
|
57
|
+
/*duration*/
|
|
58
|
+
e[1]
|
|
59
|
+
) }, !0)), s.run(1));
|
|
60
|
+
}), o = !0);
|
|
61
|
+
},
|
|
62
|
+
o(a) {
|
|
63
|
+
w(r, a), a && (s || (s = v(n, M, { transitionDuration: (
|
|
64
|
+
/*duration*/
|
|
65
|
+
e[1]
|
|
66
|
+
) }, !1)), s.run(0)), o = !1;
|
|
67
|
+
},
|
|
68
|
+
d(a) {
|
|
69
|
+
a && z(t), r && r.d(a), e[10](null), a && s && s.end(), e[11](null);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function X(e) {
|
|
74
|
+
let t, n, i = (
|
|
75
|
+
/*show*/
|
|
76
|
+
e[0] && C(e)
|
|
77
|
+
);
|
|
78
|
+
return {
|
|
79
|
+
c() {
|
|
80
|
+
i && i.c(), t = N();
|
|
81
|
+
},
|
|
82
|
+
m(s, o) {
|
|
83
|
+
i && i.m(s, o), L(s, t, o), n = !0;
|
|
84
|
+
},
|
|
85
|
+
p(s, [o]) {
|
|
86
|
+
/*show*/
|
|
87
|
+
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
+
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (K(), w(i, 1, 1, () => {
|
|
89
|
+
i = null;
|
|
90
|
+
}), P());
|
|
91
|
+
},
|
|
92
|
+
i(s) {
|
|
93
|
+
n || (m(i), n = !0);
|
|
94
|
+
},
|
|
95
|
+
o(s) {
|
|
96
|
+
w(i), n = !1;
|
|
97
|
+
},
|
|
98
|
+
d(s) {
|
|
99
|
+
s && z(t), i && i.d(s);
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function Y(e, t, n) {
|
|
104
|
+
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
|
|
105
|
+
const b = (l) => {
|
|
106
|
+
switch (l.data.type) {
|
|
107
|
+
case "ModalClosed":
|
|
108
|
+
n(0, o = !1);
|
|
109
|
+
break;
|
|
110
|
+
case g:
|
|
111
|
+
n(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
R(() => (window.addEventListener("message", b, !1), () => {
|
|
116
|
+
window.removeEventListener("message", b);
|
|
117
|
+
}));
|
|
118
|
+
function D(l) {
|
|
119
|
+
k[l ? "unshift" : "push"](() => {
|
|
120
|
+
h = l, n(3, h);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function E(l) {
|
|
124
|
+
k[l ? "unshift" : "push"](() => {
|
|
125
|
+
c = l, n(2, c);
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
return e.$$set = (l) => {
|
|
129
|
+
"show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
|
+
}, e.$$.update = () => {
|
|
131
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
+
20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && a && c && Q(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && T(c, `${u}.Style`);
|
|
135
|
+
}, [
|
|
136
|
+
o,
|
|
137
|
+
d,
|
|
138
|
+
c,
|
|
139
|
+
h,
|
|
140
|
+
r,
|
|
141
|
+
a,
|
|
142
|
+
u,
|
|
143
|
+
g,
|
|
144
|
+
s,
|
|
145
|
+
i,
|
|
146
|
+
D,
|
|
147
|
+
E
|
|
148
|
+
];
|
|
149
|
+
}
|
|
150
|
+
class Z extends q {
|
|
151
|
+
constructor(t) {
|
|
152
|
+
super(), A(
|
|
153
|
+
this,
|
|
154
|
+
t,
|
|
155
|
+
Y,
|
|
156
|
+
X,
|
|
157
|
+
B,
|
|
158
|
+
{
|
|
159
|
+
show: 0,
|
|
160
|
+
duration: 1,
|
|
161
|
+
clientstyling: 4,
|
|
162
|
+
clientstylingurl: 5,
|
|
163
|
+
mbsource: 6,
|
|
164
|
+
showmodaleventname: 7
|
|
165
|
+
},
|
|
166
|
+
V
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
get show() {
|
|
170
|
+
return this.$$.ctx[0];
|
|
171
|
+
}
|
|
172
|
+
set show(t) {
|
|
173
|
+
this.$$set({ show: t }), f();
|
|
174
|
+
}
|
|
175
|
+
get duration() {
|
|
176
|
+
return this.$$.ctx[1];
|
|
177
|
+
}
|
|
178
|
+
set duration(t) {
|
|
179
|
+
this.$$set({ duration: t }), f();
|
|
180
|
+
}
|
|
181
|
+
get clientstyling() {
|
|
182
|
+
return this.$$.ctx[4];
|
|
183
|
+
}
|
|
184
|
+
set clientstyling(t) {
|
|
185
|
+
this.$$set({ clientstyling: t }), f();
|
|
186
|
+
}
|
|
187
|
+
get clientstylingurl() {
|
|
188
|
+
return this.$$.ctx[5];
|
|
189
|
+
}
|
|
190
|
+
set clientstylingurl(t) {
|
|
191
|
+
this.$$set({ clientstylingurl: t }), f();
|
|
192
|
+
}
|
|
193
|
+
get mbsource() {
|
|
194
|
+
return this.$$.ctx[6];
|
|
195
|
+
}
|
|
196
|
+
set mbsource(t) {
|
|
197
|
+
this.$$set({ mbsource: t }), f();
|
|
198
|
+
}
|
|
199
|
+
get showmodaleventname() {
|
|
200
|
+
return this.$$.ctx[7];
|
|
201
|
+
}
|
|
202
|
+
set showmodaleventname(t) {
|
|
203
|
+
this.$$set({ showmodaleventname: t }), f();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
W(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
207
|
+
export {
|
|
208
|
+
Z as default
|
|
209
|
+
};
|