@everymatrix/casino-categories-providers 1.94.4 → 1.94.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/{CasinoCategories-CK_qQ4Hb.js → CasinoCategories-CkX5Sv_6.js} +9 -9
- package/components/{CasinoCategories-BJZE-V-5.js → CasinoCategories-DknKUUGA.js} +7 -7
- package/components/{CasinoCategoriesProviders-fBIPFHNV.js → CasinoCategoriesProviders-CuCjd6NO.js} +30 -30
- package/components/{CasinoCategoriesProviders-CrOt4e-U.js → CasinoCategoriesProviders-D3kwecqy.js} +31 -31
- package/components/{CasinoProviders-BdgEuoFt.js → CasinoProviders-D5HPJa6d.js} +29 -29
- package/components/{CasinoProviders-DFBzCCvk.js → CasinoProviders-DRdrnzmh.js} +29 -29
- package/es2015/casino-categories-providers.js +1 -1
- package/esnext/casino-categories-providers.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as $, a as ee, S as te, o as ae, n as x, t as ie, h as oe, d as se, r as P, j as I, p as K, k as b, g as re, s as le, f as ne, e as j, m as U, i as G, y as S, c, B as E, z as O, A as q, x as L, q as V, $ as ge, u as ce, v as ue, w as de } from "./CasinoCategoriesProviders-D3kwecqy.js";
|
|
2
2
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
3
|
-
function
|
|
3
|
+
function B(t, e) {
|
|
4
4
|
$(t, e);
|
|
5
5
|
}
|
|
6
6
|
function he(t) {
|
|
7
7
|
ee.set(t);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const D = {
|
|
10
10
|
en: {
|
|
11
11
|
topCategories: "Top Categories",
|
|
12
12
|
otherCategories: "Other Categories",
|
|
@@ -119,7 +119,7 @@ const Y = {
|
|
|
119
119
|
function fe(t) {
|
|
120
120
|
se(t, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Y(t, e, a) {
|
|
123
123
|
const r = t.slice();
|
|
124
124
|
return r[23] = e[a], r;
|
|
125
125
|
}
|
|
@@ -145,7 +145,7 @@ function me(t) {
|
|
|
145
145
|
t[4]
|
|
146
146
|
), f = [];
|
|
147
147
|
for (let o = 0; o < u.length; o += 1)
|
|
148
|
-
f[o] = Q(
|
|
148
|
+
f[o] = Q(Y(t, u, o));
|
|
149
149
|
return {
|
|
150
150
|
c() {
|
|
151
151
|
e = b("div"), a = b("h4"), n = E(r), d = O();
|
|
@@ -192,7 +192,7 @@ function me(t) {
|
|
|
192
192
|
);
|
|
193
193
|
let i;
|
|
194
194
|
for (i = 0; i < u.length; i += 1) {
|
|
195
|
-
const p =
|
|
195
|
+
const p = Y(o, u, i);
|
|
196
196
|
f[i] ? f[i].p(p, m) : (f[i] = Q(p), f[i].c(), f[i].m(e, null));
|
|
197
197
|
}
|
|
198
198
|
for (; i < f.length; i += 1)
|
|
@@ -356,13 +356,13 @@ function _e(t, e, a) {
|
|
|
356
356
|
let { endpoint: n = "" } = e, { datasource: d = "" } = e, { lang: g = "en" } = e, { activecategory: v = "" } = e, { excludedflags: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: h = "" } = e, { mbsource: l } = e, u, f, o = !1;
|
|
357
357
|
const m = [];
|
|
358
358
|
let i = [], p = [];
|
|
359
|
-
Object.keys(
|
|
360
|
-
|
|
359
|
+
Object.keys(D).forEach((s) => {
|
|
360
|
+
B(s, D[s]);
|
|
361
361
|
});
|
|
362
362
|
const A = () => {
|
|
363
363
|
fetch(h).then((F) => F.json()).then((F) => {
|
|
364
364
|
Object.keys(F).forEach((N) => {
|
|
365
|
-
|
|
365
|
+
B(N, F[N]);
|
|
366
366
|
});
|
|
367
367
|
}).catch((F) => {
|
|
368
368
|
console.log(F);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ee, a as te, S as ae, o as ie, t as oe, n as x, d as se, r as P, j as I, p as K, k as b, g as re, s as le, f as ne, e as j, m as U, i as B, y as S, c, B as E, z as O, A as q, x as L, q as W, u as ge, v as ce, w as ue, h as de, $ as he } from "./CasinoCategoriesProviders-CuCjd6NO.js";
|
|
2
2
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
3
|
-
function
|
|
3
|
+
function D(t, e) {
|
|
4
4
|
ee(t, e);
|
|
5
5
|
}
|
|
6
6
|
function fe(t) {
|
|
7
7
|
te.set(t);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const Y = {
|
|
10
10
|
en: {
|
|
11
11
|
topCategories: "Top Categories",
|
|
12
12
|
otherCategories: "Other Categories",
|
|
@@ -201,7 +201,7 @@ function Ce(t) {
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
d(o) {
|
|
204
|
-
o && I(e),
|
|
204
|
+
o && I(e), B(l, o), B(f, o);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
@@ -356,13 +356,13 @@ function ye(t, e, a) {
|
|
|
356
356
|
let { endpoint: n = "" } = e, { datasource: d = "" } = e, { lang: g = "en" } = e, { activecategory: v = "" } = e, { excludedflags: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: h = "" } = e, { mbsource: l } = e, u, f, o = !1;
|
|
357
357
|
const m = [];
|
|
358
358
|
let i = [], p = [];
|
|
359
|
-
Object.keys(
|
|
360
|
-
|
|
359
|
+
Object.keys(Y).forEach((s) => {
|
|
360
|
+
D(s, Y[s]);
|
|
361
361
|
});
|
|
362
362
|
const A = () => {
|
|
363
363
|
fetch(h).then((F) => F.json()).then((F) => {
|
|
364
364
|
Object.keys(F).forEach((N) => {
|
|
365
|
-
|
|
365
|
+
D(N, F[N]);
|
|
366
366
|
});
|
|
367
367
|
}).catch((F) => {
|
|
368
368
|
console.log(F);
|
package/components/{CasinoCategoriesProviders-fBIPFHNV.js → CasinoCategoriesProviders-CuCjd6NO.js}
RENAMED
|
@@ -3840,7 +3840,7 @@ if (typeof window != "undefined") {
|
|
|
3840
3840
|
}
|
|
3841
3841
|
};
|
|
3842
3842
|
};
|
|
3843
|
-
customElements.define = e(customElements.define), import("./CasinoCategories-
|
|
3843
|
+
customElements.define = e(customElements.define), import("./CasinoCategories-DknKUUGA.js").then(({ default: t }) => {
|
|
3844
3844
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
3845
3845
|
});
|
|
3846
3846
|
}
|
|
@@ -3856,7 +3856,7 @@ if (typeof window != "undefined") {
|
|
|
3856
3856
|
}
|
|
3857
3857
|
};
|
|
3858
3858
|
};
|
|
3859
|
-
customElements.define = e(customElements.define), import("./CasinoProviders-
|
|
3859
|
+
customElements.define = e(customElements.define), import("./CasinoProviders-D5HPJa6d.js").then(({ default: t }) => {
|
|
3860
3860
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
3861
3861
|
});
|
|
3862
3862
|
}
|
|
@@ -4280,35 +4280,35 @@ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4280
4280
|
default: kt
|
|
4281
4281
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4282
4282
|
export {
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4283
|
+
oi as $,
|
|
4284
|
+
bi as A,
|
|
4285
|
+
ce as B,
|
|
4286
4286
|
xi as C,
|
|
4287
4287
|
gr as S,
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4288
|
+
Y as a,
|
|
4289
|
+
Dt as b,
|
|
4290
|
+
A as c,
|
|
4291
|
+
Yt as d,
|
|
4292
|
+
C as e,
|
|
4293
|
+
Pe as f,
|
|
4294
4294
|
Jt as g,
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4295
|
+
pr as h,
|
|
4296
|
+
vi as i,
|
|
4297
|
+
je as j,
|
|
4298
|
+
I as k,
|
|
4299
|
+
yi as l,
|
|
4300
|
+
Ei as m,
|
|
4301
|
+
P as n,
|
|
4302
|
+
dr as o,
|
|
4303
|
+
vt as p,
|
|
4304
|
+
Je as q,
|
|
4305
|
+
L as r,
|
|
4306
|
+
ir as s,
|
|
4307
|
+
gt as t,
|
|
4308
|
+
ui as u,
|
|
4309
|
+
hi as v,
|
|
4310
|
+
li as w,
|
|
4311
|
+
x,
|
|
4312
|
+
Ye as y,
|
|
4313
|
+
xe as z
|
|
4314
4314
|
};
|
package/components/{CasinoCategoriesProviders-CrOt4e-U.js → CasinoCategoriesProviders-D3kwecqy.js}
RENAMED
|
@@ -3803,7 +3803,7 @@ if (typeof window < "u") {
|
|
|
3803
3803
|
}
|
|
3804
3804
|
};
|
|
3805
3805
|
};
|
|
3806
|
-
customElements.define = e(customElements.define), import("./CasinoCategories-
|
|
3806
|
+
customElements.define = e(customElements.define), import("./CasinoCategories-CkX5Sv_6.js").then(({ default: t }) => {
|
|
3807
3807
|
!customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
|
|
3808
3808
|
});
|
|
3809
3809
|
}
|
|
@@ -3819,7 +3819,7 @@ if (typeof window < "u") {
|
|
|
3819
3819
|
}
|
|
3820
3820
|
};
|
|
3821
3821
|
};
|
|
3822
|
-
customElements.define = e(customElements.define), import("./CasinoProviders-
|
|
3822
|
+
customElements.define = e(customElements.define), import("./CasinoProviders-DRdrnzmh.js").then(({ default: t }) => {
|
|
3823
3823
|
!customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
|
|
3824
3824
|
});
|
|
3825
3825
|
}
|
|
@@ -4239,35 +4239,35 @@ class ii extends ir {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
nr(ii, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4241
4241
|
export {
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4242
|
+
Zn as $,
|
|
4243
|
+
si as A,
|
|
4244
|
+
le as B,
|
|
4245
4245
|
ii as C,
|
|
4246
4246
|
ir as S,
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4247
|
+
J as a,
|
|
4248
|
+
It as b,
|
|
4249
|
+
A as c,
|
|
4250
|
+
Gt as d,
|
|
4251
|
+
N as e,
|
|
4252
|
+
Ae as f,
|
|
4253
|
+
Dt as g,
|
|
4254
|
+
nr as h,
|
|
4255
|
+
oi as i,
|
|
4256
|
+
Ge as j,
|
|
4257
|
+
C as k,
|
|
4258
|
+
ai as l,
|
|
4259
|
+
ui as m,
|
|
4260
|
+
P as n,
|
|
4261
|
+
rr as o,
|
|
4262
|
+
ft as p,
|
|
4263
|
+
Xe as q,
|
|
4264
|
+
I as r,
|
|
4265
|
+
zt as s,
|
|
4266
|
+
lt as t,
|
|
4267
|
+
qn as u,
|
|
4268
|
+
Jn as v,
|
|
4269
|
+
Yn as w,
|
|
4270
|
+
_ as x,
|
|
4271
|
+
ze as y,
|
|
4272
|
+
ye as z
|
|
4273
4273
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Q, a as W, S as X, o as Y, t as Z, n as N, d as $, r as I, j as O, p as L, k as S, e as v, g as ee, f as te, y as A, c, B as z, m as V, i as q, z as C, l as re, A as x, q as J, u as ie, v as le, w as se, h as oe, $ as ae } from "./CasinoCategoriesProviders-CuCjd6NO.js";
|
|
2
2
|
const R = {
|
|
3
3
|
en: {
|
|
4
4
|
popularProviders: "Popular Suppliers",
|
|
@@ -133,13 +133,13 @@ function de(t) {
|
|
|
133
133
|
), a, o, u, n, P = (
|
|
134
134
|
/*$_*/
|
|
135
135
|
t[4]("otherProviders") + ""
|
|
136
|
-
), h, _, b, m =
|
|
136
|
+
), h, _, b, m = V(
|
|
137
137
|
/*topProviders*/
|
|
138
138
|
t[1]
|
|
139
139
|
), d = [];
|
|
140
140
|
for (let r = 0; r < m.length; r += 1)
|
|
141
141
|
d[r] = D(G(t, m, r));
|
|
142
|
-
let f =
|
|
142
|
+
let f = V(
|
|
143
143
|
/*otherProviders*/
|
|
144
144
|
t[2]
|
|
145
145
|
), g = [];
|
|
@@ -169,7 +169,7 @@ function de(t) {
|
|
|
169
169
|
16 && i !== (i = /*$_*/
|
|
170
170
|
r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
|
|
171
171
|
50) {
|
|
172
|
-
m =
|
|
172
|
+
m = V(
|
|
173
173
|
/*topProviders*/
|
|
174
174
|
r[1]
|
|
175
175
|
);
|
|
@@ -186,7 +186,7 @@ function de(t) {
|
|
|
186
186
|
16 && P !== (P = /*$_*/
|
|
187
187
|
r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
|
|
188
188
|
52) {
|
|
189
|
-
f =
|
|
189
|
+
f = V(
|
|
190
190
|
/*otherProviders*/
|
|
191
191
|
r[2]
|
|
192
192
|
);
|
|
@@ -238,7 +238,7 @@ function D(t) {
|
|
|
238
238
|
/*$_*/
|
|
239
239
|
t[4]("games") + ""
|
|
240
240
|
), p, l, w;
|
|
241
|
-
function
|
|
241
|
+
function E() {
|
|
242
242
|
return (
|
|
243
243
|
/*click_handler*/
|
|
244
244
|
t[13](
|
|
@@ -249,16 +249,16 @@ function D(t) {
|
|
|
249
249
|
}
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r),
|
|
252
|
+
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), x(i.src, a = /*provider*/
|
|
253
253
|
t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
|
|
254
254
|
t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
|
|
255
255
|
},
|
|
256
256
|
m(j, y) {
|
|
257
|
-
L(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click",
|
|
257
|
+
L(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", E), l = !0);
|
|
258
258
|
},
|
|
259
259
|
p(j, y) {
|
|
260
260
|
t = j, y & /*topProviders*/
|
|
261
|
-
2 && !
|
|
261
|
+
2 && !x(i.src, a = /*provider*/
|
|
262
262
|
t[21].logo) && v(i, "src", a), y & /*topProviders*/
|
|
263
263
|
2 && o !== (o = /*provider*/
|
|
264
264
|
t[21].name) && v(i, "alt", o), y & /*topProviders*/
|
|
@@ -284,7 +284,7 @@ function H(t) {
|
|
|
284
284
|
), f, g, r = (
|
|
285
285
|
/*$_*/
|
|
286
286
|
t[4]("games") + ""
|
|
287
|
-
), p, l, w,
|
|
287
|
+
), p, l, w, E;
|
|
288
288
|
function j() {
|
|
289
289
|
return (
|
|
290
290
|
/*click_handler_1*/
|
|
@@ -296,16 +296,16 @@ function H(t) {
|
|
|
296
296
|
}
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(),
|
|
299
|
+
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(), x(i.src, a = /*provider*/
|
|
300
300
|
t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
|
|
301
301
|
t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
|
|
302
302
|
},
|
|
303
303
|
m(y, F) {
|
|
304
|
-
L(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (
|
|
304
|
+
L(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (E = J(e, "click", j), w = !0);
|
|
305
305
|
},
|
|
306
306
|
p(y, F) {
|
|
307
307
|
t = y, F & /*otherProviders*/
|
|
308
|
-
4 && !
|
|
308
|
+
4 && !x(i.src, a = /*provider*/
|
|
309
309
|
t[21].logo) && v(i, "src", a), F & /*otherProviders*/
|
|
310
310
|
4 && o !== (o = /*provider*/
|
|
311
311
|
t[21].name) && v(i, "alt", o), F & /*otherProviders*/
|
|
@@ -317,7 +317,7 @@ function H(t) {
|
|
|
317
317
|
t[4]("games") + "") && A(p, r);
|
|
318
318
|
},
|
|
319
319
|
d(y) {
|
|
320
|
-
y && O(e), w = !1,
|
|
320
|
+
y && O(e), w = !1, E();
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
}
|
|
@@ -353,8 +353,8 @@ function ce(t, e, i) {
|
|
|
353
353
|
let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r, p;
|
|
354
354
|
const l = () => {
|
|
355
355
|
fetch(_).then((k) => k.json()).then((k) => {
|
|
356
|
-
Object.keys(k).forEach((
|
|
357
|
-
U(
|
|
356
|
+
Object.keys(k).forEach((M) => {
|
|
357
|
+
U(M, k[M]);
|
|
358
358
|
});
|
|
359
359
|
}).catch((k) => {
|
|
360
360
|
console.log(k);
|
|
@@ -368,22 +368,22 @@ function ce(t, e, i) {
|
|
|
368
368
|
const s = new URL(`${o}/v1/casino/vendors`);
|
|
369
369
|
s.searchParams.append("datasource", u), s.searchParams.append("language", n), s.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(s).then((k) => k.json()).then((k) => {
|
|
370
370
|
i(3, g = !1), m = k.items.map((T) => T), i(1, d = m.filter((T) => T.isTopVendor === !0)), i(2, f = m.filter((T) => T.isTopVendor === !1));
|
|
371
|
-
let
|
|
372
|
-
|
|
371
|
+
let M = [];
|
|
372
|
+
M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
|
|
373
373
|
});
|
|
374
|
-
},
|
|
374
|
+
}, E = (s, k, M) => {
|
|
375
375
|
window.postMessage(
|
|
376
376
|
{
|
|
377
377
|
type: "OpenGameProvider",
|
|
378
378
|
providerId: s,
|
|
379
379
|
providerName: k,
|
|
380
|
-
providerLogo:
|
|
380
|
+
providerLogo: M
|
|
381
381
|
},
|
|
382
382
|
window.location.href
|
|
383
383
|
);
|
|
384
384
|
}, j = () => {
|
|
385
385
|
ne(n);
|
|
386
|
-
}, y = (s) =>
|
|
386
|
+
}, y = (s) => E(s.id, s.name, s.logo), F = (s) => E(s.id, s.name, s.logo);
|
|
387
387
|
function K(s) {
|
|
388
388
|
te[s ? "unshift" : "push"](() => {
|
|
389
389
|
r = s, i(0, r);
|
|
@@ -405,7 +405,7 @@ function ce(t, e, i) {
|
|
|
405
405
|
f,
|
|
406
406
|
g,
|
|
407
407
|
a,
|
|
408
|
-
|
|
408
|
+
E,
|
|
409
409
|
o,
|
|
410
410
|
u,
|
|
411
411
|
n,
|
|
@@ -442,43 +442,43 @@ class me extends X {
|
|
|
442
442
|
return this.$$.ctx[6];
|
|
443
443
|
}
|
|
444
444
|
set endpoint(e) {
|
|
445
|
-
this.$$set({ endpoint: e }),
|
|
445
|
+
this.$$set({ endpoint: e }), N();
|
|
446
446
|
}
|
|
447
447
|
get datasource() {
|
|
448
448
|
return this.$$.ctx[7];
|
|
449
449
|
}
|
|
450
450
|
set datasource(e) {
|
|
451
|
-
this.$$set({ datasource: e }),
|
|
451
|
+
this.$$set({ datasource: e }), N();
|
|
452
452
|
}
|
|
453
453
|
get lang() {
|
|
454
454
|
return this.$$.ctx[8];
|
|
455
455
|
}
|
|
456
456
|
set lang(e) {
|
|
457
|
-
this.$$set({ lang: e }),
|
|
457
|
+
this.$$set({ lang: e }), N();
|
|
458
458
|
}
|
|
459
459
|
get clientstyling() {
|
|
460
460
|
return this.$$.ctx[9];
|
|
461
461
|
}
|
|
462
462
|
set clientstyling(e) {
|
|
463
|
-
this.$$set({ clientstyling: e }),
|
|
463
|
+
this.$$set({ clientstyling: e }), N();
|
|
464
464
|
}
|
|
465
465
|
get clientstylingurl() {
|
|
466
466
|
return this.$$.ctx[10];
|
|
467
467
|
}
|
|
468
468
|
set clientstylingurl(e) {
|
|
469
|
-
this.$$set({ clientstylingurl: e }),
|
|
469
|
+
this.$$set({ clientstylingurl: e }), N();
|
|
470
470
|
}
|
|
471
471
|
get translationurl() {
|
|
472
472
|
return this.$$.ctx[11];
|
|
473
473
|
}
|
|
474
474
|
set translationurl(e) {
|
|
475
|
-
this.$$set({ translationurl: e }),
|
|
475
|
+
this.$$set({ translationurl: e }), N();
|
|
476
476
|
}
|
|
477
477
|
get mbsource() {
|
|
478
478
|
return this.$$.ctx[12];
|
|
479
479
|
}
|
|
480
480
|
set mbsource(e) {
|
|
481
|
-
this.$$set({ mbsource: e }),
|
|
481
|
+
this.$$set({ mbsource: e }), N();
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
oe(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Q, a as W, S as X, o as Y, t as Z, n as N, d as $, r as I, j as O, p as L, k as S, e as v, g as ee, f as te, y as A, c, B as z, m as V, i as q, z as C, l as re, A as x, q as J, u as ie, v as le, w as se, h as oe, $ as ae } from "./CasinoCategoriesProviders-D3kwecqy.js";
|
|
2
2
|
const R = {
|
|
3
3
|
en: {
|
|
4
4
|
popularProviders: "Popular Suppliers",
|
|
@@ -133,13 +133,13 @@ function de(t) {
|
|
|
133
133
|
), a, o, u, n, P = (
|
|
134
134
|
/*$_*/
|
|
135
135
|
t[4]("otherProviders") + ""
|
|
136
|
-
), h, _, b, m =
|
|
136
|
+
), h, _, b, m = V(
|
|
137
137
|
/*topProviders*/
|
|
138
138
|
t[1]
|
|
139
139
|
), d = [];
|
|
140
140
|
for (let r = 0; r < m.length; r += 1)
|
|
141
141
|
d[r] = D(G(t, m, r));
|
|
142
|
-
let f =
|
|
142
|
+
let f = V(
|
|
143
143
|
/*otherProviders*/
|
|
144
144
|
t[2]
|
|
145
145
|
), g = [];
|
|
@@ -169,7 +169,7 @@ function de(t) {
|
|
|
169
169
|
16 && i !== (i = /*$_*/
|
|
170
170
|
r[4]("popularProviders") + "") && A(a, i), p & /*openGameProviderPage, topProviders, $_*/
|
|
171
171
|
50) {
|
|
172
|
-
m =
|
|
172
|
+
m = V(
|
|
173
173
|
/*topProviders*/
|
|
174
174
|
r[1]
|
|
175
175
|
);
|
|
@@ -186,7 +186,7 @@ function de(t) {
|
|
|
186
186
|
16 && P !== (P = /*$_*/
|
|
187
187
|
r[4]("otherProviders") + "") && A(h, P), p & /*openGameProviderPage, otherProviders, $_*/
|
|
188
188
|
52) {
|
|
189
|
-
f =
|
|
189
|
+
f = V(
|
|
190
190
|
/*otherProviders*/
|
|
191
191
|
r[2]
|
|
192
192
|
);
|
|
@@ -238,7 +238,7 @@ function D(t) {
|
|
|
238
238
|
/*$_*/
|
|
239
239
|
t[4]("games") + ""
|
|
240
240
|
), p, l, w;
|
|
241
|
-
function
|
|
241
|
+
function E() {
|
|
242
242
|
return (
|
|
243
243
|
/*click_handler*/
|
|
244
244
|
t[13](
|
|
@@ -249,16 +249,16 @@ function D(t) {
|
|
|
249
249
|
}
|
|
250
250
|
return {
|
|
251
251
|
c() {
|
|
252
|
-
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r),
|
|
252
|
+
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), x(i.src, a = /*provider*/
|
|
253
253
|
t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
|
|
254
254
|
t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
|
|
255
255
|
},
|
|
256
256
|
m(j, y) {
|
|
257
|
-
L(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click",
|
|
257
|
+
L(j, e, y), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), l || (w = J(e, "click", E), l = !0);
|
|
258
258
|
},
|
|
259
259
|
p(j, y) {
|
|
260
260
|
t = j, y & /*topProviders*/
|
|
261
|
-
2 && !
|
|
261
|
+
2 && !x(i.src, a = /*provider*/
|
|
262
262
|
t[21].logo) && v(i, "src", a), y & /*topProviders*/
|
|
263
263
|
2 && o !== (o = /*provider*/
|
|
264
264
|
t[21].name) && v(i, "alt", o), y & /*topProviders*/
|
|
@@ -284,7 +284,7 @@ function H(t) {
|
|
|
284
284
|
), f, g, r = (
|
|
285
285
|
/*$_*/
|
|
286
286
|
t[4]("games") + ""
|
|
287
|
-
), p, l, w,
|
|
287
|
+
), p, l, w, E;
|
|
288
288
|
function j() {
|
|
289
289
|
return (
|
|
290
290
|
/*click_handler_1*/
|
|
@@ -296,16 +296,16 @@ function H(t) {
|
|
|
296
296
|
}
|
|
297
297
|
return {
|
|
298
298
|
c() {
|
|
299
|
-
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(),
|
|
299
|
+
e = S("div"), i = S("img"), u = C(), n = S("div"), P = S("p"), _ = z(h), b = C(), m = S("p"), f = z(d), g = C(), p = z(r), l = C(), x(i.src, a = /*provider*/
|
|
300
300
|
t[21].logo) || v(i, "src", a), v(i, "alt", o = /*provider*/
|
|
301
301
|
t[21].name), v(i, "class", "ProviderImage"), v(n, "class", "ProviderTextContainer"), v(e, "class", "Provider");
|
|
302
302
|
},
|
|
303
303
|
m(y, F) {
|
|
304
|
-
L(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (
|
|
304
|
+
L(y, e, F), c(e, i), c(e, u), c(e, n), c(n, P), c(P, _), c(n, b), c(n, m), c(m, f), c(m, g), c(m, p), c(e, l), w || (E = J(e, "click", j), w = !0);
|
|
305
305
|
},
|
|
306
306
|
p(y, F) {
|
|
307
307
|
t = y, F & /*otherProviders*/
|
|
308
|
-
4 && !
|
|
308
|
+
4 && !x(i.src, a = /*provider*/
|
|
309
309
|
t[21].logo) && v(i, "src", a), F & /*otherProviders*/
|
|
310
310
|
4 && o !== (o = /*provider*/
|
|
311
311
|
t[21].name) && v(i, "alt", o), F & /*otherProviders*/
|
|
@@ -317,7 +317,7 @@ function H(t) {
|
|
|
317
317
|
t[4]("games") + "") && A(p, r);
|
|
318
318
|
},
|
|
319
319
|
d(y) {
|
|
320
|
-
y && O(e), w = !1,
|
|
320
|
+
y && O(e), w = !1, E();
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
323
|
}
|
|
@@ -353,8 +353,8 @@ function ce(t, e, i) {
|
|
|
353
353
|
let { endpoint: o = "" } = e, { datasource: u = "" } = e, { lang: n = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: _ = "" } = e, { mbsource: b } = e, m = [], d = [], f = [], g = !1, r, p;
|
|
354
354
|
const l = () => {
|
|
355
355
|
fetch(_).then((k) => k.json()).then((k) => {
|
|
356
|
-
Object.keys(k).forEach((
|
|
357
|
-
U(
|
|
356
|
+
Object.keys(k).forEach((M) => {
|
|
357
|
+
U(M, k[M]);
|
|
358
358
|
});
|
|
359
359
|
}).catch((k) => {
|
|
360
360
|
console.log(k);
|
|
@@ -368,22 +368,22 @@ function ce(t, e, i) {
|
|
|
368
368
|
const s = new URL(`${o}/v1/casino/vendors`);
|
|
369
369
|
s.searchParams.append("datasource", u), s.searchParams.append("language", n), s.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games"), fetch(s).then((k) => k.json()).then((k) => {
|
|
370
370
|
i(3, g = !1), m = k.items.map((T) => T), i(1, d = m.filter((T) => T.isTopVendor === !0)), i(2, f = m.filter((T) => T.isTopVendor === !1));
|
|
371
|
-
let
|
|
372
|
-
|
|
371
|
+
let M = [];
|
|
372
|
+
M = m.flatMap((T) => T.subVendors), f.push(...M.filter((T) => T.games.count > 0));
|
|
373
373
|
});
|
|
374
|
-
},
|
|
374
|
+
}, E = (s, k, M) => {
|
|
375
375
|
window.postMessage(
|
|
376
376
|
{
|
|
377
377
|
type: "OpenGameProvider",
|
|
378
378
|
providerId: s,
|
|
379
379
|
providerName: k,
|
|
380
|
-
providerLogo:
|
|
380
|
+
providerLogo: M
|
|
381
381
|
},
|
|
382
382
|
window.location.href
|
|
383
383
|
);
|
|
384
384
|
}, j = () => {
|
|
385
385
|
ne(n);
|
|
386
|
-
}, y = (s) =>
|
|
386
|
+
}, y = (s) => E(s.id, s.name, s.logo), F = (s) => E(s.id, s.name, s.logo);
|
|
387
387
|
function K(s) {
|
|
388
388
|
te[s ? "unshift" : "push"](() => {
|
|
389
389
|
r = s, i(0, r);
|
|
@@ -405,7 +405,7 @@ function ce(t, e, i) {
|
|
|
405
405
|
f,
|
|
406
406
|
g,
|
|
407
407
|
a,
|
|
408
|
-
|
|
408
|
+
E,
|
|
409
409
|
o,
|
|
410
410
|
u,
|
|
411
411
|
n,
|
|
@@ -442,43 +442,43 @@ class me extends X {
|
|
|
442
442
|
return this.$$.ctx[6];
|
|
443
443
|
}
|
|
444
444
|
set endpoint(e) {
|
|
445
|
-
this.$$set({ endpoint: e }),
|
|
445
|
+
this.$$set({ endpoint: e }), N();
|
|
446
446
|
}
|
|
447
447
|
get datasource() {
|
|
448
448
|
return this.$$.ctx[7];
|
|
449
449
|
}
|
|
450
450
|
set datasource(e) {
|
|
451
|
-
this.$$set({ datasource: e }),
|
|
451
|
+
this.$$set({ datasource: e }), N();
|
|
452
452
|
}
|
|
453
453
|
get lang() {
|
|
454
454
|
return this.$$.ctx[8];
|
|
455
455
|
}
|
|
456
456
|
set lang(e) {
|
|
457
|
-
this.$$set({ lang: e }),
|
|
457
|
+
this.$$set({ lang: e }), N();
|
|
458
458
|
}
|
|
459
459
|
get clientstyling() {
|
|
460
460
|
return this.$$.ctx[9];
|
|
461
461
|
}
|
|
462
462
|
set clientstyling(e) {
|
|
463
|
-
this.$$set({ clientstyling: e }),
|
|
463
|
+
this.$$set({ clientstyling: e }), N();
|
|
464
464
|
}
|
|
465
465
|
get clientstylingurl() {
|
|
466
466
|
return this.$$.ctx[10];
|
|
467
467
|
}
|
|
468
468
|
set clientstylingurl(e) {
|
|
469
|
-
this.$$set({ clientstylingurl: e }),
|
|
469
|
+
this.$$set({ clientstylingurl: e }), N();
|
|
470
470
|
}
|
|
471
471
|
get translationurl() {
|
|
472
472
|
return this.$$.ctx[11];
|
|
473
473
|
}
|
|
474
474
|
set translationurl(e) {
|
|
475
|
-
this.$$set({ translationurl: e }),
|
|
475
|
+
this.$$set({ translationurl: e }), N();
|
|
476
476
|
}
|
|
477
477
|
get mbsource() {
|
|
478
478
|
return this.$$.ctx[12];
|
|
479
479
|
}
|
|
480
480
|
set mbsource(e) {
|
|
481
|
-
this.$$set({ mbsource: e }),
|
|
481
|
+
this.$$set({ mbsource: e }), N();
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
oe(me, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoCategoriesProviders-CuCjd6NO.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-categories-providers") && customElements.define("casino-categories-providers", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|