@everymatrix/player-limit-notification 0.6.4 → 0.6.5
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/PlayerAccountGamingLimitsHistory2Nd-BPDMvyK7.cjs +18 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-mWkH_LLa.js → PlayerAccountGamingLimitsHistory2Nd-BetTT8pd.js} +916 -895
- package/components/{PlayerAccountGamingLimitsHistory2Nd-gc0INEye.js → PlayerAccountGamingLimitsHistory2Nd-Rz7KSqHF.js} +1069 -1048
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BCOHZYpc.js → PlayerAccountGamingLimitsPage2Gm16Nd-6jezdPSI.js} +129 -129
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DbNTVmeR.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DTS6QEQW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BKCbMIUy.js → PlayerAccountGamingLimitsPage2Gm16Nd-fgfmAwLi.js} +126 -126
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-C7RelM81.cjs → PlayerAccountGamingLimitsWrapper2Nd-2z3_GBiO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-jQgjwmoV.js → PlayerAccountGamingLimitsWrapper2Nd-CV2C9zMp.js} +56 -56
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DmnJjBml.js → PlayerAccountGamingLimitsWrapper2Nd-Cf_X2Mhf.js} +63 -63
- package/components/{PlayerLimitNotification-jhgxEbHZ.cjs → PlayerLimitNotification-BrMdgJrq.cjs} +1 -1
- package/components/{PlayerLimitNotification-DKJyH3PY.js → PlayerLimitNotification-DMo7_odP.js} +51 -51
- package/components/{PlayerLimitNotification-DbORJ66O.js → PlayerLimitNotification-zuggJ4lR.js} +47 -47
- package/es2015/player-limit-notification.cjs +1 -1
- package/es2015/player-limit-notification.js +1 -1
- package/esnext/player-limit-notification.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-9K-aI7zC.cjs +1 -0
- package/stencil/index-b2193545-DsMHU6jb.js +519 -0
- package/stencil/index-b2193545-R7ZoV-kY.js +503 -0
- package/stencil/{ui-skeleton-C7KTfaPd.cjs → ui-skeleton-BreIU6e5.cjs} +1 -1
- package/stencil/{ui-skeleton-Cn9Rv2BY.js → ui-skeleton-W50o8tfg.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BA-lE0xf.js → ui-skeleton-ed169f8f-CVY4B-CP.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-cGTgZqRU.cjs → ui-skeleton-ed169f8f-CpiCXJrP.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-b70BXhTZ.js → ui-skeleton-ed169f8f-D3TjbVKy.js} +1 -1
- package/stencil/{ui-skeleton-YNoAIoec.js → ui-skeleton-xXZA3rYO.js} +2 -2
- package/components/PlayerAccountGamingLimitsHistory2Nd-CVtyVFxN.cjs +0 -18
- package/stencil/index-b2193545-CMoQ4Pov.js +0 -503
- package/stencil/index-b2193545-CQaBo5im.cjs +0 -1
- package/stencil/index-b2193545-DvP9W4Go.js +0 -519
package/components/{PlayerLimitNotification-DKJyH3PY.js → PlayerLimitNotification-DMo7_odP.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Z, $, S as tt, i as it, f as o,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
function
|
|
1
|
+
import { a as Z, $, S as tt, i as it, f as o, s as et, Q as nt, b as st, w as F, d as lt, z as ot, p as a, A as R, h as at, j as s, D as V, k as c, l as j, E as H, m as rt, o as mt, G as U, R as ct, N as ut, O as dt, P as pt } from "./PlayerAccountGamingLimitsHistory2Nd-Rz7KSqHF.js";
|
|
2
|
+
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
3
|
+
function J(e, t) {
|
|
4
4
|
Z(e, t);
|
|
5
5
|
}
|
|
6
6
|
function gt(e) {
|
|
7
7
|
$.set(e);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const q = {
|
|
10
10
|
en: {
|
|
11
11
|
savePlayerLimit: "SAVE",
|
|
12
12
|
skipLimitLimitDescription: "I do not wish to set a limit at this time.",
|
|
@@ -44,7 +44,7 @@ if (typeof window != "undefined") {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-
|
|
47
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-CV2C9zMp.js").then(({ default: t }) => {
|
|
48
48
|
!customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
|
|
49
49
|
"player-account-gaming-limits-wrapper-2-nd",
|
|
50
50
|
t.element
|
|
@@ -55,28 +55,28 @@ function ht(e) {
|
|
|
55
55
|
st(e, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
|
|
56
56
|
}
|
|
57
57
|
function ft(e) {
|
|
58
|
-
let t, n, l, b, w, y,
|
|
58
|
+
let t, n, l, b, w, y, E, x, L, d, p, g, v, D, A, S, M, h, _, N = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[4]("skipLimitLimitDescription") + ""
|
|
61
|
-
),
|
|
61
|
+
), C, T, r, m = (
|
|
62
62
|
/*$_*/
|
|
63
63
|
e[4]("savePlayerLimit") + ""
|
|
64
64
|
), k, P, G;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = j(), y = c("section"),
|
|
67
|
+
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = j(), y = c("section"), E = j(), x = c("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', L = j(), d = c("section"), p = c("button"), g = c("div"), v = c("input"), D = j(), A = c("span"), M = j(), h = c("div"), _ = c("p"), C = H(N), T = j(), r = c("button"), k = H(m), a(b, "slot", "LimitWrapperTitle"), a(y, "slot", "LimitsList"), a(x, "slot", "LimitSkeleton"), a(v, "type", "checkbox"), a(v, "class", "skip-switch-input"), a(A, "class", "skip-switch-core"), a(g, "class", S = "skip-switch " + /*skipLimit*/
|
|
68
68
|
(e[0] ? "checked" : "")), a(_, "class", "label"), a(h, "class", "skip-limit-label"), a(p, "class", "toggle-content"), a(r, "class", "limit-submit-button"), a(r, "type", "submit"), r.disabled = /*disableSaveLimit*/
|
|
69
69
|
e[3], a(d, "slot", "LimitSubmitButton"), a(n, "class", "limit-modal-container"), a(t, "class", "player-limit-modal");
|
|
70
70
|
},
|
|
71
|
-
m(f,
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
m(f, z) {
|
|
72
|
+
at(f, t, z), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, E), s(l, x), s(l, L), s(l, d), s(d, p), s(p, g), s(g, v), s(g, D), s(g, A), s(p, M), s(p, h), s(h, _), s(_, C), s(d, T), s(d, r), s(r, k), e[25](l), e[26](t), P || (G = [
|
|
73
|
+
V(
|
|
74
74
|
p,
|
|
75
75
|
"click",
|
|
76
76
|
/*toggleSkipLimit*/
|
|
77
77
|
e[6]
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
V(
|
|
80
80
|
r,
|
|
81
81
|
"click",
|
|
82
82
|
/*submitLimit*/
|
|
@@ -84,28 +84,28 @@ function ft(e) {
|
|
|
84
84
|
)
|
|
85
85
|
], P = !0);
|
|
86
86
|
},
|
|
87
|
-
p(f,
|
|
88
|
-
|
|
87
|
+
p(f, z) {
|
|
88
|
+
z[0] & /*skipLimit*/
|
|
89
89
|
1 && S !== (S = "skip-switch " + /*skipLimit*/
|
|
90
|
-
(f[0] ? "checked" : "")) && a(g, "class", S),
|
|
91
|
-
16 &&
|
|
92
|
-
f[4]("skipLimitLimitDescription") + "") &&
|
|
90
|
+
(f[0] ? "checked" : "")) && a(g, "class", S), z[0] & /*$_*/
|
|
91
|
+
16 && N !== (N = /*$_*/
|
|
92
|
+
f[4]("skipLimitLimitDescription") + "") && R(C, N), z[0] & /*$_*/
|
|
93
93
|
16 && m !== (m = /*$_*/
|
|
94
|
-
f[4]("savePlayerLimit") + "") &&
|
|
94
|
+
f[4]("savePlayerLimit") + "") && R(k, m), z[0] & /*disableSaveLimit*/
|
|
95
95
|
8 && (r.disabled = /*disableSaveLimit*/
|
|
96
96
|
f[3]);
|
|
97
97
|
},
|
|
98
|
-
i:
|
|
99
|
-
o:
|
|
98
|
+
i: F,
|
|
99
|
+
o: F,
|
|
100
100
|
d(f) {
|
|
101
|
-
f &&
|
|
101
|
+
f && lt(t), e[25](null), e[26](null), P = !1, ot(G);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
function bt(e, t, n) {
|
|
106
106
|
let l;
|
|
107
|
-
rt(e,
|
|
108
|
-
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session:
|
|
107
|
+
rt(e, ct, (i) => n(4, l = i));
|
|
108
|
+
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: E = "" } = t, { userid: x = "" } = t, { lang: L = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: v = "All(deposit): D-W-M" } = t, { limitformat: D = "" } = t, { currency: A = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: M = "" } = t, { translationurl: h = "" } = t, { timezone: _ = "GMT" } = t, { defaultperiod: N = "Monthly" } = t, C = !0, T = !0, r = !1, m, k;
|
|
109
109
|
const P = `
|
|
110
110
|
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
111
111
|
min-height: revert;
|
|
@@ -143,20 +143,20 @@ function bt(e, t, n) {
|
|
|
143
143
|
margin-right: 5px;
|
|
144
144
|
}
|
|
145
145
|
`, G = () => {
|
|
146
|
-
gt(
|
|
146
|
+
gt(L);
|
|
147
147
|
}, f = () => {
|
|
148
148
|
fetch(h).then((u) => u.json()).then((u) => {
|
|
149
149
|
Object.keys(u).forEach((I) => {
|
|
150
|
-
|
|
150
|
+
J(I, u[I]);
|
|
151
151
|
});
|
|
152
152
|
}).catch((u) => {
|
|
153
153
|
console.log(u);
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
156
|
+
Object.keys(q).forEach((i) => {
|
|
157
|
+
J(i, q[i]);
|
|
158
158
|
});
|
|
159
|
-
const
|
|
159
|
+
const z = () => {
|
|
160
160
|
if (!T) {
|
|
161
161
|
if (r) {
|
|
162
162
|
Q();
|
|
@@ -168,7 +168,7 @@ function bt(e, t, n) {
|
|
|
168
168
|
const i = new URL(`${d}/api/pam/v1/player-notifications`);
|
|
169
169
|
i.searchParams.append("createNotificationIfNotFound", "true"), fetch(i, {
|
|
170
170
|
headers: {
|
|
171
|
-
"X-SessionId":
|
|
171
|
+
"X-SessionId": E,
|
|
172
172
|
"Content-Type": "application/json"
|
|
173
173
|
},
|
|
174
174
|
method: "PATCH",
|
|
@@ -213,11 +213,11 @@ function bt(e, t, n) {
|
|
|
213
213
|
},
|
|
214
214
|
window.location.href
|
|
215
215
|
);
|
|
216
|
-
},
|
|
216
|
+
}, O = (i) => {
|
|
217
217
|
if (i.data)
|
|
218
218
|
switch (i.data.type) {
|
|
219
219
|
case "InValidLimit": {
|
|
220
|
-
n(24,
|
|
220
|
+
n(24, C = i.data.data);
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -232,26 +232,26 @@ function bt(e, t, n) {
|
|
|
232
232
|
limittabvisible: "true",
|
|
233
233
|
endpoint: d,
|
|
234
234
|
userid: x,
|
|
235
|
-
session:
|
|
235
|
+
session: E,
|
|
236
236
|
timezone: _,
|
|
237
|
-
lang:
|
|
237
|
+
lang: L,
|
|
238
238
|
tablabels: p,
|
|
239
239
|
limitsamount: g,
|
|
240
|
-
limitsperiods:
|
|
241
|
-
currency:
|
|
240
|
+
limitsperiods: v,
|
|
241
|
+
currency: A,
|
|
242
242
|
customcurrencysymbols: S,
|
|
243
243
|
apiversion: M,
|
|
244
244
|
translationurl: h,
|
|
245
245
|
clientstylingurl: w,
|
|
246
246
|
mbsource: y,
|
|
247
|
-
defaultperiod:
|
|
247
|
+
defaultperiod: N,
|
|
248
248
|
limitformat: D
|
|
249
249
|
}).forEach(([I, W]) => {
|
|
250
250
|
W != null && i.setAttribute(I, W.toString());
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
mt(() => (window.addEventListener("message",
|
|
254
|
-
window.removeEventListener("message",
|
|
253
|
+
mt(() => (window.addEventListener("message", O), () => {
|
|
254
|
+
window.removeEventListener("message", O);
|
|
255
255
|
}));
|
|
256
256
|
function Y(i) {
|
|
257
257
|
U[i ? "unshift" : "push"](() => {
|
|
@@ -264,15 +264,15 @@ function bt(e, t, n) {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return e.$$set = (i) => {
|
|
267
|
-
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10,
|
|
267
|
+
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, E = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, L = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, v = i.limitsperiods), "limitformat" in i && n(17, D = i.limitformat), "currency" in i && n(18, A = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, M = i.apiversion), "translationurl" in i && n(21, h = i.translationurl), "timezone" in i && n(22, _ = i.timezone), "defaultperiod" in i && n(23, N = i.defaultperiod);
|
|
268
268
|
}, e.$$.update = () => {
|
|
269
269
|
e.$$.dirty[0] & /*lang*/
|
|
270
|
-
4096 &&
|
|
270
|
+
4096 && L && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
271
271
|
130 && b && m && ut(m, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
272
272
|
258 && w && m && dt(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
273
|
-
514 && y && m &&
|
|
273
|
+
514 && y && m && pt(m, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
274
274
|
2097152 && h && f(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
|
|
275
|
-
16777217 && n(3, T = r ? !1 :
|
|
275
|
+
16777217 && n(3, T = r ? !1 : C), e.$$.dirty[0] & /*innerComponent*/
|
|
276
276
|
4 && k && X(k);
|
|
277
277
|
}, [
|
|
278
278
|
r,
|
|
@@ -280,26 +280,26 @@ function bt(e, t, n) {
|
|
|
280
280
|
k,
|
|
281
281
|
T,
|
|
282
282
|
l,
|
|
283
|
-
|
|
283
|
+
z,
|
|
284
284
|
B,
|
|
285
285
|
b,
|
|
286
286
|
w,
|
|
287
287
|
y,
|
|
288
|
-
|
|
288
|
+
E,
|
|
289
289
|
x,
|
|
290
|
-
|
|
290
|
+
L,
|
|
291
291
|
d,
|
|
292
292
|
p,
|
|
293
293
|
g,
|
|
294
|
-
|
|
294
|
+
v,
|
|
295
295
|
D,
|
|
296
|
-
|
|
296
|
+
A,
|
|
297
297
|
S,
|
|
298
298
|
M,
|
|
299
299
|
h,
|
|
300
300
|
_,
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
N,
|
|
302
|
+
C,
|
|
303
303
|
Y,
|
|
304
304
|
K
|
|
305
305
|
];
|
|
@@ -311,7 +311,7 @@ class yt extends tt {
|
|
|
311
311
|
t,
|
|
312
312
|
bt,
|
|
313
313
|
ft,
|
|
314
|
-
|
|
314
|
+
et,
|
|
315
315
|
{
|
|
316
316
|
clientstyling: 7,
|
|
317
317
|
clientstylingurl: 8,
|
|
@@ -438,7 +438,7 @@ class yt extends tt {
|
|
|
438
438
|
this.$$set({ defaultperiod: t }), o();
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
|
|
441
|
+
nt(yt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, session: {}, userid: {}, lang: {}, endpoint: {}, tablabels: {}, limitsamount: {}, limitsperiods: {}, limitformat: {}, currency: {}, customcurrencysymbols: {}, apiversion: {}, translationurl: {}, timezone: {}, defaultperiod: {} }, [], [], !0);
|
|
442
442
|
export {
|
|
443
443
|
yt as default
|
|
444
444
|
};
|
package/components/{PlayerLimitNotification-DbORJ66O.js → PlayerLimitNotification-zuggJ4lR.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Z, $,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
function
|
|
1
|
+
import { a as Z, $, Q as tt, S as it, i as et, s as nt, f as o, b as st, v as O, d as lt, y as ot, n as a, z as R, g as at, h as s, C as V, j as c, k as T, D as H, l as rt, o as mt, F as U, R as ct, N as ut, O as dt, P as pt } from "./PlayerAccountGamingLimitsHistory2Nd-BetTT8pd.js";
|
|
2
|
+
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
3
|
+
function J(e, t) {
|
|
4
4
|
Z(e, t);
|
|
5
5
|
}
|
|
6
6
|
function gt(e) {
|
|
7
7
|
$.set(e);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const q = {
|
|
10
10
|
en: {
|
|
11
11
|
savePlayerLimit: "SAVE",
|
|
12
12
|
skipLimitLimitDescription: "I do not wish to set a limit at this time.",
|
|
@@ -44,7 +44,7 @@ if (typeof window < "u") {
|
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-
|
|
47
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-Cf_X2Mhf.js").then(({ default: t }) => {
|
|
48
48
|
!customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
|
|
49
49
|
"player-account-gaming-limits-wrapper-2-nd",
|
|
50
50
|
t.element
|
|
@@ -55,28 +55,28 @@ function ht(e) {
|
|
|
55
55
|
st(e, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
|
|
56
56
|
}
|
|
57
57
|
function ft(e) {
|
|
58
|
-
let t, n, l, b, w, y, C, x, v, d, p, g, L,
|
|
58
|
+
let t, n, l, b, w, y, C, x, v, d, p, g, L, M, E, S, A, h, _, N = (
|
|
59
59
|
/*$_*/
|
|
60
60
|
e[4]("skipLimitLimitDescription") + ""
|
|
61
|
-
),
|
|
61
|
+
), D, P, r, m = (
|
|
62
62
|
/*$_*/
|
|
63
63
|
e[4]("savePlayerLimit") + ""
|
|
64
|
-
), k, j,
|
|
64
|
+
), k, j, I;
|
|
65
65
|
return {
|
|
66
66
|
c() {
|
|
67
|
-
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w =
|
|
67
|
+
t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = T(), y = c("section"), C = T(), x = c("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', v = T(), d = c("section"), p = c("button"), g = c("div"), L = c("input"), M = T(), E = c("span"), A = T(), h = c("div"), _ = c("p"), D = H(N), P = T(), r = c("button"), k = H(m), a(b, "slot", "LimitWrapperTitle"), a(y, "slot", "LimitsList"), a(x, "slot", "LimitSkeleton"), a(L, "type", "checkbox"), a(L, "class", "skip-switch-input"), a(E, "class", "skip-switch-core"), a(g, "class", S = "skip-switch " + /*skipLimit*/
|
|
68
68
|
(e[0] ? "checked" : "")), a(_, "class", "label"), a(h, "class", "skip-limit-label"), a(p, "class", "toggle-content"), a(r, "class", "limit-submit-button"), a(r, "type", "submit"), r.disabled = /*disableSaveLimit*/
|
|
69
69
|
e[3], a(d, "slot", "LimitSubmitButton"), a(n, "class", "limit-modal-container"), a(t, "class", "player-limit-modal");
|
|
70
70
|
},
|
|
71
|
-
m(f,
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
m(f, z) {
|
|
72
|
+
at(f, t, z), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, C), s(l, x), s(l, v), s(l, d), s(d, p), s(p, g), s(g, L), s(g, M), s(g, E), s(p, A), s(p, h), s(h, _), s(_, D), s(d, P), s(d, r), s(r, k), e[25](l), e[26](t), j || (I = [
|
|
73
|
+
V(
|
|
74
74
|
p,
|
|
75
75
|
"click",
|
|
76
76
|
/*toggleSkipLimit*/
|
|
77
77
|
e[6]
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
V(
|
|
80
80
|
r,
|
|
81
81
|
"click",
|
|
82
82
|
/*submitLimit*/
|
|
@@ -84,28 +84,28 @@ function ft(e) {
|
|
|
84
84
|
)
|
|
85
85
|
], j = !0);
|
|
86
86
|
},
|
|
87
|
-
p(f,
|
|
88
|
-
|
|
87
|
+
p(f, z) {
|
|
88
|
+
z[0] & /*skipLimit*/
|
|
89
89
|
1 && S !== (S = "skip-switch " + /*skipLimit*/
|
|
90
|
-
(f[0] ? "checked" : "")) && a(g, "class", S),
|
|
91
|
-
16 &&
|
|
92
|
-
f[4]("skipLimitLimitDescription") + "") &&
|
|
90
|
+
(f[0] ? "checked" : "")) && a(g, "class", S), z[0] & /*$_*/
|
|
91
|
+
16 && N !== (N = /*$_*/
|
|
92
|
+
f[4]("skipLimitLimitDescription") + "") && R(D, N), z[0] & /*$_*/
|
|
93
93
|
16 && m !== (m = /*$_*/
|
|
94
|
-
f[4]("savePlayerLimit") + "") &&
|
|
94
|
+
f[4]("savePlayerLimit") + "") && R(k, m), z[0] & /*disableSaveLimit*/
|
|
95
95
|
8 && (r.disabled = /*disableSaveLimit*/
|
|
96
96
|
f[3]);
|
|
97
97
|
},
|
|
98
|
-
i:
|
|
99
|
-
o:
|
|
98
|
+
i: O,
|
|
99
|
+
o: O,
|
|
100
100
|
d(f) {
|
|
101
|
-
f &&
|
|
101
|
+
f && lt(t), e[25](null), e[26](null), j = !1, ot(I);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
function bt(e, t, n) {
|
|
106
106
|
let l;
|
|
107
|
-
rt(e,
|
|
108
|
-
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: C = "" } = t, { userid: x = "" } = t, { lang: v = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: L = "All(deposit): D-W-M" } = t, { limitformat:
|
|
107
|
+
rt(e, ct, (i) => n(4, l = i));
|
|
108
|
+
let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: C = "" } = t, { userid: x = "" } = t, { lang: v = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: L = "All(deposit): D-W-M" } = t, { limitformat: M = "" } = t, { currency: E = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: A = "" } = t, { translationurl: h = "" } = t, { timezone: _ = "GMT" } = t, { defaultperiod: N = "Monthly" } = t, D = !0, P = !0, r = !1, m, k;
|
|
109
109
|
const j = `
|
|
110
110
|
.GamingLimitsWrapper div.GamingLimitsContent {
|
|
111
111
|
min-height: revert;
|
|
@@ -142,22 +142,22 @@ function bt(e, t, n) {
|
|
|
142
142
|
font-size: 10px;
|
|
143
143
|
margin-right: 5px;
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`, I = () => {
|
|
146
146
|
gt(v);
|
|
147
147
|
}, f = () => {
|
|
148
148
|
fetch(h).then((u) => u.json()).then((u) => {
|
|
149
|
-
Object.keys(u).forEach((
|
|
150
|
-
|
|
149
|
+
Object.keys(u).forEach((W) => {
|
|
150
|
+
J(W, u[W]);
|
|
151
151
|
});
|
|
152
152
|
}).catch((u) => {
|
|
153
153
|
console.log(u);
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
156
|
+
Object.keys(q).forEach((i) => {
|
|
157
|
+
J(i, q[i]);
|
|
158
158
|
});
|
|
159
|
-
const
|
|
160
|
-
if (!
|
|
159
|
+
const z = () => {
|
|
160
|
+
if (!P) {
|
|
161
161
|
if (r) {
|
|
162
162
|
Q();
|
|
163
163
|
return;
|
|
@@ -217,7 +217,7 @@ function bt(e, t, n) {
|
|
|
217
217
|
if (i.data)
|
|
218
218
|
switch (i.data.type) {
|
|
219
219
|
case "InValidLimit": {
|
|
220
|
-
n(24,
|
|
220
|
+
n(24, D = i.data.data);
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
@@ -240,14 +240,14 @@ function bt(e, t, n) {
|
|
|
240
240
|
limitsperiods: L,
|
|
241
241
|
currency: E,
|
|
242
242
|
customcurrencysymbols: S,
|
|
243
|
-
apiversion:
|
|
243
|
+
apiversion: A,
|
|
244
244
|
translationurl: h,
|
|
245
245
|
clientstylingurl: w,
|
|
246
246
|
mbsource: y,
|
|
247
|
-
defaultperiod:
|
|
248
|
-
limitformat:
|
|
249
|
-
}).forEach(([
|
|
250
|
-
|
|
247
|
+
defaultperiod: N,
|
|
248
|
+
limitformat: M
|
|
249
|
+
}).forEach(([W, G]) => {
|
|
250
|
+
G != null && i.setAttribute(W, G.toString());
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
mt(() => (window.addEventListener("message", F), () => {
|
|
@@ -264,23 +264,23 @@ function bt(e, t, n) {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return e.$$set = (i) => {
|
|
267
|
-
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, C = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, v = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, L = i.limitsperiods), "limitformat" in i && n(17,
|
|
267
|
+
"clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, C = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, v = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, L = i.limitsperiods), "limitformat" in i && n(17, M = i.limitformat), "currency" in i && n(18, E = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, A = i.apiversion), "translationurl" in i && n(21, h = i.translationurl), "timezone" in i && n(22, _ = i.timezone), "defaultperiod" in i && n(23, N = i.defaultperiod);
|
|
268
268
|
}, e.$$.update = () => {
|
|
269
269
|
e.$$.dirty[0] & /*lang*/
|
|
270
|
-
4096 && v &&
|
|
270
|
+
4096 && v && I(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
271
271
|
130 && b && m && ut(m, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
272
272
|
258 && w && m && dt(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
273
|
-
514 && y && m &&
|
|
273
|
+
514 && y && m && pt(m, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
274
274
|
2097152 && h && f(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
|
|
275
|
-
16777217 && n(3,
|
|
275
|
+
16777217 && n(3, P = r ? !1 : D), e.$$.dirty[0] & /*innerComponent*/
|
|
276
276
|
4 && k && X(k);
|
|
277
277
|
}, [
|
|
278
278
|
r,
|
|
279
279
|
m,
|
|
280
280
|
k,
|
|
281
|
-
|
|
281
|
+
P,
|
|
282
282
|
l,
|
|
283
|
-
|
|
283
|
+
z,
|
|
284
284
|
B,
|
|
285
285
|
b,
|
|
286
286
|
w,
|
|
@@ -292,14 +292,14 @@ function bt(e, t, n) {
|
|
|
292
292
|
p,
|
|
293
293
|
g,
|
|
294
294
|
L,
|
|
295
|
-
|
|
295
|
+
M,
|
|
296
296
|
E,
|
|
297
297
|
S,
|
|
298
|
-
|
|
298
|
+
A,
|
|
299
299
|
h,
|
|
300
300
|
_,
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
N,
|
|
302
|
+
D,
|
|
303
303
|
Y,
|
|
304
304
|
K
|
|
305
305
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-BrMdgJrq.cjs")).then(({default:t})=>{!customElements.get("player-limit-notification")&&customElements.define("player-limit-notification",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-DMo7_odP.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-limit-notification") && customElements.define("player-limit-notification", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var P=(e,t,s)=>new Promise((r,n)=>{var a=i=>{try{o(s.next(i))}catch($){n($)}},l=i=>{try{o(s.throw(i))}catch($){n($)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const ue="ui-skeleton",fe={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},U=new WeakMap,b=e=>U.get(e),ve=(e,t)=>U.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],U.set(e,s)},E=(e,t)=>(0,console.error)(e,t),O=new Map,he=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=O.get(n);if(a)return a[r];{const l=o=>(O.set(n,o),o[r]);switch(n){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-BreIU6e5.cjs")).then(l,E)}}return import(`./${n}.entry.js`).then(l=>(O.set(n,l),l[r]),E)},L=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),A=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),A||(A=!0,g.$flags$&4?z(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){E(s)}e.length=0},I=()=>{D(C),D(Q),(A=C.length>0)&&g.raf(I)},z=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>H(r)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},V=(e,t,...s)=>{let r=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let u=0;u<c.length;u++)r=c[u],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!X(r))&&(r=String(r)),a&&l?o[o.length-1].$text$+=r:o.push(a?N(null,r):r),l=a)};if(i(s),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(u=>c[u]).join(" "))}}const $=N(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},N=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},ee={},Te=e=>e&&e.$tag$===ee,Le=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,_e=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},M=new WeakMap,je=(e,t,s)=>{let r=L.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,L.set(e,r)},Oe=(e,t,s)=>{var r;const n=te(t),a=L.get(n);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(n)){{o=y.createElement("style"),o.innerHTML=a;const i=(r=g.$nonce$)!=null?r:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Ae=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=S("attachStyles",t.$tagName$);Oe(s.getRootNode(),t),r()},te=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,r,n,a)=>{if(s!==r&&(t.toLowerCase(),t==="class")){const l=e.classList,o=Y(s),i=Y(r);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.filter($=>$&&!o.includes($)))}},Ie=/\s/,Y=e=>e?e.split(Ie):[],ne=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(n)))l in a||W(r,l,n[l],void 0);for(const l of G(Object.keys(a)))W(r,l,n[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var se,_=(e,t,s,r)=>{const n=t.$children$[s];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=y.createTextNode(n.$text$);else if(l=n.$elm$=y.createElement(n.$tag$),ne(null,n),n.$children$)for(a=0;a<n.$children$.length;++a)o=_(e,n,a),o&&l.appendChild(o);return l["s-hn"]=se,l},re=(e,t,s,r,n,a)=>{let l=e,o;for(;n<=a;++n)r[n]&&(o=_(null,s,n),o&&(r[n].$elm$=o,T(l,o,t)))},le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const a=n.$elm$;a&&a.remove()}}},He=(e,t,s,r,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],u=t[$],f=r.length-1,d=r[0],m=r[f],v,h;for(;a<=$&&l<=f;)if(c==null)c=t[++a];else if(u==null)u=t[--$];else if(d==null)d=r[++l];else if(m==null)m=r[--f];else if(x(c,d,n))k(c,d,n),c=t[++a],d=r[++l];else if(x(u,m,n))k(u,m,n),u=t[--$],m=r[--f];else if(x(c,m,n))k(c,m,n),T(e,c.$elm$,u.$elm$.nextSibling),c=t[++a],m=r[--f];else if(x(u,d,n))k(u,d,n),T(e,u.$elm$,c.$elm$),u=t[--$],d=r[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=_(t&&t[l],s,o):(k(h,d,n),t[o]=void 0,v=h.$elm$),d=r[++l]):(v=_(t&&t[l],s,l),d=r[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?re(e,r[f+1]==null?null:r[f+1].$elm$,s,r,l,f):l>f&&le(t,a,$)},x=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,k=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(ne(e,t),n!==null&&a!==null?He(r,n,t,a,s):a!==null?(e.$text$!==null&&(r.textContent=""),re(r,null,t,a,0,a.length-1)):n!==null&&le(n,0,n.length-1)):e.$text$!==l&&(r.data=l)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),Ne=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$vnode$||N(null,null),a=Te(t)?t:V(null,null,t);if(se=r.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))r.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=r[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=n.$elm$=r,k(n,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Ue(e,t))},Ue=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return r(),Be(a,()=>qe(e,n,t))},Be=(e,t)=>ze(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,s)=>P(exports,null,function*(){var r;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];s&&Ae(e);const o=S("render",e.$cmpMeta$.$tagName$);Ce(e,t,n,s),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(r=n["s-p"])!=null?r:[],$=()=>De(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ce=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ne(e,t,r)}catch(n){E(n,e.$hostElement$)}return null},De=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$ancestorComponent$;e.$flags$&64?r():(e.$flags$|=64,oe(s),r(),e.$onReadyResolve$(s),n||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&z(()=>q(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),z(()=>_e(B,"appload",{detail:{namespace:ue}}))},oe=e=>{var t;return e.classList.add((t=fe.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>b(e).$instanceValues$.get(t),Me=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=Le(s,r.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const u=r.$watchers$[t];u&&u.map(f=>{try{i[f](s,l,t)}catch(d){E(d,a)}})}(o&18)===2&&q(n,!1)}},$e=(e,t,s)=>{var r,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((r=t.$members$)!=null?r:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return Fe(this,o)},set($){Me(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var u;const f=o.get(i);if(this.hasOwnProperty(f))c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(u=t.$watchers$)==null?void 0:u[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},We=(e,t,s,r)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=xe();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,$e(n,s,2),n.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){E(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=te(s);if(!L.has($)){const c=S("registerStyles",s.$tagName$);je($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>q(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Ye=e=>{},Ge=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ye());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),We(e,t,s)}r()}},Je=e=>{},Ke=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je())}}),Qe=(e,t={})=>{var s;const r=S(),n=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let u,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(j){super(j),this.hasRegisteredEventListeners=!1,j=this,ge(j,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?c.push(this):g.jmp(()=>Ge(this))}disconnectedCallback(){g.jmp(()=>Ke(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(n.push(w),l.define(w,$e(ce,p,1)))})}),n.length>0&&(d&&($.textContent+=J),$.textContent+=n.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}f=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>u=setTimeout(ie,30)),r()};exports.Host=ee;exports.bootstrapLazy=Qe;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|