@everymatrix/casino-engagement-suite-luckywheel-list 1.55.0 → 1.56.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.
- package/dist/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/index.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/{p-85d47702.entry.js → p-0d270bab.entry.js} +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-95998397.js +1 -0
- package/dist/casino-engagement-suite-luckywheel-list/p-f8cbc45f.js +2 -0
- package/dist/cjs/{casino-engagement-suite-luckywheel-list-165ce85c.js → casino-engagement-suite-luckywheel-list-1978fae3.js} +214 -157
- package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +2 -2
- package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +27 -9
- package/dist/cjs/{index-3815b8e0.js → index-622d50a1.js} +172 -71
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.js +45 -15
- package/dist/esm/{casino-engagement-suite-luckywheel-list-22ab01f5.js → casino-engagement-suite-luckywheel-list-e5d5497e.js} +214 -157
- package/dist/esm/casino-engagement-suite-luckywheel-list.js +3 -3
- package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +27 -9
- package/dist/esm/{index-68de30f0.js → index-ccb37e4c.js} +172 -71
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-40284e0b.js +0 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-c227cdc7.js +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-622d50a1.js');
|
|
4
4
|
|
|
5
5
|
const DEFAULT_LANGUAGE = 'en';
|
|
6
6
|
const SUPPORTED_LANGUAGES = ['en'];
|
|
@@ -51,35 +51,35 @@ const getTranslations = (url) => {
|
|
|
51
51
|
|
|
52
52
|
function a() {
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function M(t) {
|
|
55
55
|
return t();
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function O() {
|
|
58
58
|
return /* @__PURE__ */ Object.create(null);
|
|
59
59
|
}
|
|
60
60
|
function y(t) {
|
|
61
|
-
t.forEach(
|
|
61
|
+
t.forEach(M);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function N(t) {
|
|
64
64
|
return typeof t == "function";
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function R(t, e) {
|
|
67
67
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function T(t) {
|
|
70
70
|
return Object.keys(t).length === 0;
|
|
71
71
|
}
|
|
72
72
|
function H(t, e) {
|
|
73
73
|
t.appendChild(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
76
|
-
const s =
|
|
75
|
+
function U(t, e, n) {
|
|
76
|
+
const s = I(t);
|
|
77
77
|
if (!s.getElementById(e)) {
|
|
78
78
|
const i = v("style");
|
|
79
|
-
i.id = e, i.textContent = n,
|
|
79
|
+
i.id = e, i.textContent = n, z(s, i);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function I(t) {
|
|
83
83
|
if (!t) return document;
|
|
84
84
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
85
85
|
return e && /** @type {ShadowRoot} */
|
|
@@ -88,14 +88,14 @@ function U(t) {
|
|
|
88
88
|
e
|
|
89
89
|
) : t.ownerDocument;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function z(t, e) {
|
|
92
92
|
return H(
|
|
93
93
|
/** @type {Document} */
|
|
94
94
|
t.head || t,
|
|
95
95
|
e
|
|
96
96
|
), e.sheet;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function B(t, e, n) {
|
|
99
99
|
t.insertBefore(e, n || null);
|
|
100
100
|
}
|
|
101
101
|
function E(t) {
|
|
@@ -104,13 +104,13 @@ function E(t) {
|
|
|
104
104
|
function v(t) {
|
|
105
105
|
return document.createElement(t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function D(t, e, n) {
|
|
108
108
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function F(t) {
|
|
111
111
|
return Array.from(t.childNodes);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function G(t) {
|
|
114
114
|
const e = {};
|
|
115
115
|
return t.childNodes.forEach(
|
|
116
116
|
/** @param {Element} node */
|
|
@@ -119,116 +119,123 @@ function V(t) {
|
|
|
119
119
|
}
|
|
120
120
|
), e;
|
|
121
121
|
}
|
|
122
|
-
let
|
|
123
|
-
function
|
|
124
|
-
|
|
122
|
+
let p;
|
|
123
|
+
function _(t) {
|
|
124
|
+
p = t;
|
|
125
|
+
}
|
|
126
|
+
function J() {
|
|
127
|
+
if (!p) throw new Error("Function called outside component initialization");
|
|
128
|
+
return p;
|
|
125
129
|
}
|
|
126
|
-
|
|
130
|
+
function V(t) {
|
|
131
|
+
J().$$.on_mount.push(t);
|
|
132
|
+
}
|
|
133
|
+
const $ = [], w = [];
|
|
127
134
|
let h = [];
|
|
128
|
-
const
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
135
|
+
const A = [], q = /* @__PURE__ */ Promise.resolve();
|
|
136
|
+
let x = !1;
|
|
137
|
+
function K() {
|
|
138
|
+
x || (x = !0, q.then(m));
|
|
132
139
|
}
|
|
133
140
|
function k(t) {
|
|
134
141
|
h.push(t);
|
|
135
142
|
}
|
|
136
143
|
const b = /* @__PURE__ */ new Set();
|
|
137
|
-
let
|
|
144
|
+
let f = 0;
|
|
138
145
|
function m() {
|
|
139
|
-
if (
|
|
146
|
+
if (f !== 0)
|
|
140
147
|
return;
|
|
141
|
-
const t =
|
|
148
|
+
const t = p;
|
|
142
149
|
do {
|
|
143
150
|
try {
|
|
144
|
-
for (;
|
|
145
|
-
const e = f
|
|
146
|
-
|
|
151
|
+
for (; f < $.length; ) {
|
|
152
|
+
const e = $[f];
|
|
153
|
+
f++, _(e), Q(e.$$);
|
|
147
154
|
}
|
|
148
155
|
} catch (e) {
|
|
149
|
-
throw
|
|
156
|
+
throw $.length = 0, f = 0, e;
|
|
150
157
|
}
|
|
151
|
-
for (
|
|
158
|
+
for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
|
|
152
159
|
for (let e = 0; e < h.length; e += 1) {
|
|
153
160
|
const n = h[e];
|
|
154
161
|
b.has(n) || (b.add(n), n());
|
|
155
162
|
}
|
|
156
163
|
h.length = 0;
|
|
157
|
-
} while (
|
|
158
|
-
for (;
|
|
159
|
-
|
|
160
|
-
|
|
164
|
+
} while ($.length);
|
|
165
|
+
for (; A.length; )
|
|
166
|
+
A.pop()();
|
|
167
|
+
x = !1, b.clear(), _(t);
|
|
161
168
|
}
|
|
162
|
-
function
|
|
169
|
+
function Q(t) {
|
|
163
170
|
if (t.fragment !== null) {
|
|
164
171
|
t.update(), y(t.before_update);
|
|
165
172
|
const e = t.dirty;
|
|
166
173
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
167
174
|
}
|
|
168
175
|
}
|
|
169
|
-
function
|
|
176
|
+
function W(t) {
|
|
170
177
|
const e = [], n = [];
|
|
171
178
|
h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
|
|
172
179
|
}
|
|
173
|
-
const
|
|
174
|
-
function
|
|
175
|
-
t && t.i && (
|
|
180
|
+
const X = /* @__PURE__ */ new Set();
|
|
181
|
+
function Y(t, e) {
|
|
182
|
+
t && t.i && (X.delete(t), t.i(e));
|
|
176
183
|
}
|
|
177
|
-
function
|
|
184
|
+
function Z(t, e, n) {
|
|
178
185
|
const { fragment: s, after_update: i } = t.$$;
|
|
179
186
|
s && s.m(e, n), k(() => {
|
|
180
|
-
const
|
|
181
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...
|
|
187
|
+
const r = t.$$.on_mount.map(M).filter(N);
|
|
188
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
|
|
182
189
|
}), i.forEach(k);
|
|
183
190
|
}
|
|
184
|
-
function
|
|
191
|
+
function tt(t, e) {
|
|
185
192
|
const n = t.$$;
|
|
186
|
-
n.fragment !== null && (
|
|
193
|
+
n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
187
194
|
}
|
|
188
|
-
function
|
|
189
|
-
t.$$.dirty[0] === -1 && (
|
|
195
|
+
function et(t, e) {
|
|
196
|
+
t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
190
197
|
}
|
|
191
|
-
function
|
|
192
|
-
const
|
|
193
|
-
|
|
194
|
-
const
|
|
198
|
+
function nt(t, e, n, s, i, r, o = null, l = [-1]) {
|
|
199
|
+
const c = p;
|
|
200
|
+
_(t);
|
|
201
|
+
const u = t.$$ = {
|
|
195
202
|
fragment: null,
|
|
196
203
|
ctx: [],
|
|
197
204
|
// state
|
|
198
|
-
props:
|
|
205
|
+
props: r,
|
|
199
206
|
update: a,
|
|
200
207
|
not_equal: i,
|
|
201
|
-
bound:
|
|
208
|
+
bound: O(),
|
|
202
209
|
// lifecycle
|
|
203
210
|
on_mount: [],
|
|
204
211
|
on_destroy: [],
|
|
205
212
|
on_disconnect: [],
|
|
206
213
|
before_update: [],
|
|
207
214
|
after_update: [],
|
|
208
|
-
context: new Map(e.context || (
|
|
215
|
+
context: new Map(e.context || (c ? c.$$.context : [])),
|
|
209
216
|
// everything else
|
|
210
|
-
callbacks:
|
|
211
|
-
dirty:
|
|
217
|
+
callbacks: O(),
|
|
218
|
+
dirty: l,
|
|
212
219
|
skip_bound: !1,
|
|
213
|
-
root: e.target ||
|
|
220
|
+
root: e.target || c.$$.root
|
|
214
221
|
};
|
|
215
|
-
|
|
216
|
-
let
|
|
217
|
-
if (
|
|
218
|
-
const
|
|
219
|
-
return
|
|
220
|
-
}) : [],
|
|
222
|
+
o && o(u.root);
|
|
223
|
+
let L = !1;
|
|
224
|
+
if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
|
|
225
|
+
const j = S.length ? S[0] : C;
|
|
226
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
|
|
227
|
+
}) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
|
|
221
228
|
if (e.hydrate) {
|
|
222
|
-
const d =
|
|
223
|
-
|
|
229
|
+
const d = F(e.target);
|
|
230
|
+
u.fragment && u.fragment.l(d), d.forEach(E);
|
|
224
231
|
} else
|
|
225
|
-
|
|
226
|
-
e.intro &&
|
|
232
|
+
u.fragment && u.fragment.c();
|
|
233
|
+
e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
|
|
227
234
|
}
|
|
228
|
-
|
|
235
|
+
_(c);
|
|
229
236
|
}
|
|
230
|
-
let
|
|
231
|
-
typeof HTMLElement == "function" && (
|
|
237
|
+
let P;
|
|
238
|
+
typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
232
239
|
/** The Svelte component constructor */
|
|
233
240
|
$$ctor;
|
|
234
241
|
/** Slots */
|
|
@@ -267,32 +274,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
267
274
|
if (this.$$cn = !0, !this.$$c) {
|
|
268
275
|
let t = function(i) {
|
|
269
276
|
return () => {
|
|
270
|
-
let
|
|
277
|
+
let r;
|
|
271
278
|
return {
|
|
272
279
|
c: function() {
|
|
273
|
-
|
|
280
|
+
r = v("slot"), i !== "default" && D(r, "name", i);
|
|
274
281
|
},
|
|
275
282
|
/**
|
|
276
283
|
* @param {HTMLElement} target
|
|
277
284
|
* @param {HTMLElement} [anchor]
|
|
278
285
|
*/
|
|
279
|
-
m: function(
|
|
280
|
-
|
|
286
|
+
m: function(c, u) {
|
|
287
|
+
B(c, r, u);
|
|
281
288
|
},
|
|
282
|
-
d: function(
|
|
283
|
-
|
|
289
|
+
d: function(c) {
|
|
290
|
+
c && E(r);
|
|
284
291
|
}
|
|
285
292
|
};
|
|
286
293
|
};
|
|
287
294
|
};
|
|
288
295
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
289
296
|
return;
|
|
290
|
-
const e = {}, n =
|
|
297
|
+
const e = {}, n = G(this);
|
|
291
298
|
for (const i of this.$$s)
|
|
292
299
|
i in n && (e[i] = [t(i)]);
|
|
293
300
|
for (const i of this.attributes) {
|
|
294
|
-
const
|
|
295
|
-
|
|
301
|
+
const r = this.$$g_p(i.name);
|
|
302
|
+
r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
|
|
296
303
|
}
|
|
297
304
|
for (const i in this.$$p_d)
|
|
298
305
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -310,21 +317,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
310
317
|
this.$$r = !0;
|
|
311
318
|
for (const i in this.$$p_d)
|
|
312
319
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
313
|
-
const
|
|
320
|
+
const r = g(
|
|
314
321
|
i,
|
|
315
322
|
this.$$d[i],
|
|
316
323
|
this.$$p_d,
|
|
317
324
|
"toAttribute"
|
|
318
325
|
);
|
|
319
|
-
|
|
326
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
320
327
|
}
|
|
321
328
|
this.$$r = !1;
|
|
322
329
|
};
|
|
323
330
|
this.$$c.$$.after_update.push(s), s();
|
|
324
331
|
for (const i in this.$$l)
|
|
325
|
-
for (const
|
|
326
|
-
const
|
|
327
|
-
this.$$l_u.set(
|
|
332
|
+
for (const r of this.$$l[i]) {
|
|
333
|
+
const o = this.$$c.$on(i, r);
|
|
334
|
+
this.$$l_u.set(r, o);
|
|
328
335
|
}
|
|
329
336
|
this.$$l = {};
|
|
330
337
|
}
|
|
@@ -374,36 +381,36 @@ function g(t, e, n, s) {
|
|
|
374
381
|
return e;
|
|
375
382
|
}
|
|
376
383
|
}
|
|
377
|
-
function
|
|
378
|
-
let
|
|
384
|
+
function it(t, e, n, s, i, r) {
|
|
385
|
+
let o = class extends P {
|
|
379
386
|
constructor() {
|
|
380
387
|
super(t, n, i), this.$$p_d = e;
|
|
381
388
|
}
|
|
382
389
|
static get observedAttributes() {
|
|
383
390
|
return Object.keys(e).map(
|
|
384
|
-
(
|
|
391
|
+
(l) => (e[l].attribute || l).toLowerCase()
|
|
385
392
|
);
|
|
386
393
|
}
|
|
387
394
|
};
|
|
388
|
-
return Object.keys(e).forEach((
|
|
389
|
-
Object.defineProperty(
|
|
395
|
+
return Object.keys(e).forEach((l) => {
|
|
396
|
+
Object.defineProperty(o.prototype, l, {
|
|
390
397
|
get() {
|
|
391
|
-
return this.$$c &&
|
|
398
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
392
399
|
},
|
|
393
|
-
set(
|
|
394
|
-
|
|
400
|
+
set(c) {
|
|
401
|
+
c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
395
402
|
}
|
|
396
403
|
});
|
|
397
|
-
}), s.forEach((
|
|
398
|
-
Object.defineProperty(
|
|
404
|
+
}), s.forEach((l) => {
|
|
405
|
+
Object.defineProperty(o.prototype, l, {
|
|
399
406
|
get() {
|
|
400
|
-
return this.$$c?.[
|
|
407
|
+
return this.$$c?.[l];
|
|
401
408
|
}
|
|
402
409
|
});
|
|
403
410
|
}), t.element = /** @type {any} */
|
|
404
|
-
|
|
411
|
+
o, o;
|
|
405
412
|
}
|
|
406
|
-
class
|
|
413
|
+
class st {
|
|
407
414
|
/**
|
|
408
415
|
* ### PRIVATE API
|
|
409
416
|
*
|
|
@@ -422,7 +429,7 @@ class nt {
|
|
|
422
429
|
$$set = void 0;
|
|
423
430
|
/** @returns {void} */
|
|
424
431
|
$destroy() {
|
|
425
|
-
|
|
432
|
+
tt(this, 1), this.$destroy = a;
|
|
426
433
|
}
|
|
427
434
|
/**
|
|
428
435
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -431,7 +438,7 @@ class nt {
|
|
|
431
438
|
* @returns {() => void}
|
|
432
439
|
*/
|
|
433
440
|
$on(e, n) {
|
|
434
|
-
if (!
|
|
441
|
+
if (!N(n))
|
|
435
442
|
return a;
|
|
436
443
|
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
437
444
|
return s.push(n), () => {
|
|
@@ -444,67 +451,93 @@ class nt {
|
|
|
444
451
|
* @returns {void}
|
|
445
452
|
*/
|
|
446
453
|
$set(e) {
|
|
447
|
-
this.$$set && !
|
|
454
|
+
this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
const rt = "4";
|
|
458
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
|
|
459
|
+
function ct(t, e) {
|
|
460
|
+
if (t) {
|
|
461
|
+
const n = document.createElement("style");
|
|
462
|
+
n.innerHTML = e, t.appendChild(n);
|
|
448
463
|
}
|
|
449
464
|
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
465
|
+
function ot(t, e) {
|
|
466
|
+
const n = new URL(e);
|
|
467
|
+
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
468
|
+
const i = document.createElement("style");
|
|
469
|
+
i.innerHTML = s, t && t.appendChild(i);
|
|
470
|
+
}).catch((s) => {
|
|
471
|
+
console.error("There was an error while trying to load client styling from URL", s);
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
function lt(t, e, n) {
|
|
475
|
+
if (window.emMessageBus) {
|
|
476
|
+
const s = document.createElement("style");
|
|
477
|
+
window.emMessageBus.subscribe(e, (i) => {
|
|
478
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
479
|
+
});
|
|
480
|
+
}
|
|
454
481
|
}
|
|
455
|
-
function
|
|
482
|
+
function ut(t) {
|
|
483
|
+
U(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
484
|
+
}
|
|
485
|
+
function dt(t) {
|
|
456
486
|
let e;
|
|
457
487
|
return {
|
|
458
488
|
c() {
|
|
459
|
-
e = v("div"), e.innerHTML = '<section class="LoaderContainer"
|
|
489
|
+
e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
460
490
|
},
|
|
461
491
|
m(n, s) {
|
|
462
|
-
|
|
492
|
+
B(n, e, s), t[4](e);
|
|
463
493
|
},
|
|
464
494
|
p: a,
|
|
465
495
|
i: a,
|
|
466
496
|
o: a,
|
|
467
497
|
d(n) {
|
|
468
|
-
n && E(e), t[
|
|
498
|
+
n && E(e), t[4](null);
|
|
469
499
|
}
|
|
470
500
|
};
|
|
471
501
|
}
|
|
472
|
-
function
|
|
473
|
-
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e,
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
fetch(r.href).then((d) => d.text()).then((d) => {
|
|
480
|
-
_.innerHTML = d, setTimeout(
|
|
481
|
-
() => {
|
|
482
|
-
l.appendChild(_);
|
|
483
|
-
},
|
|
484
|
-
1
|
|
485
|
-
), setTimeout(
|
|
486
|
-
() => {
|
|
487
|
-
},
|
|
488
|
-
500
|
|
489
|
-
);
|
|
490
|
-
});
|
|
491
|
-
};
|
|
492
|
-
function o(r) {
|
|
493
|
-
x[r ? "unshift" : "push"](() => {
|
|
494
|
-
l = r, n(0, l);
|
|
502
|
+
function ft(t, e, n) {
|
|
503
|
+
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
|
|
504
|
+
V(() => () => {
|
|
505
|
+
});
|
|
506
|
+
function l(c) {
|
|
507
|
+
w[c ? "unshift" : "push"](() => {
|
|
508
|
+
o = c, n(0, o);
|
|
495
509
|
});
|
|
496
510
|
}
|
|
497
|
-
return t.$$set = (
|
|
498
|
-
"clientstyling" in
|
|
511
|
+
return t.$$set = (c) => {
|
|
512
|
+
"clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
|
|
499
513
|
}, t.$$.update = () => {
|
|
500
514
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
501
|
-
3 && s &&
|
|
502
|
-
5 && i &&
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
|
|
515
|
+
3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
516
|
+
5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
517
|
+
9 && r && o && lt(o, `${r}.Style`);
|
|
518
|
+
}, [
|
|
519
|
+
o,
|
|
520
|
+
s,
|
|
521
|
+
i,
|
|
522
|
+
r,
|
|
523
|
+
l
|
|
524
|
+
];
|
|
525
|
+
}
|
|
526
|
+
class $t extends st {
|
|
506
527
|
constructor(e) {
|
|
507
|
-
super(),
|
|
528
|
+
super(), nt(
|
|
529
|
+
this,
|
|
530
|
+
e,
|
|
531
|
+
ft,
|
|
532
|
+
dt,
|
|
533
|
+
R,
|
|
534
|
+
{
|
|
535
|
+
clientstyling: 1,
|
|
536
|
+
clientstylingurl: 2,
|
|
537
|
+
mbsource: 3
|
|
538
|
+
},
|
|
539
|
+
ut
|
|
540
|
+
);
|
|
508
541
|
}
|
|
509
542
|
get clientstyling() {
|
|
510
543
|
return this.$$.ctx[1];
|
|
@@ -518,8 +551,14 @@ class ct extends nt {
|
|
|
518
551
|
set clientstylingurl(e) {
|
|
519
552
|
this.$$set({ clientstylingurl: e }), m();
|
|
520
553
|
}
|
|
554
|
+
get mbsource() {
|
|
555
|
+
return this.$$.ctx[3];
|
|
556
|
+
}
|
|
557
|
+
set mbsource(e) {
|
|
558
|
+
this.$$set({ mbsource: e }), m();
|
|
559
|
+
}
|
|
521
560
|
}
|
|
522
|
-
|
|
561
|
+
it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
523
562
|
|
|
524
563
|
function i(n) {
|
|
525
564
|
return function(...t) {
|
|
@@ -533,7 +572,7 @@ function i(n) {
|
|
|
533
572
|
};
|
|
534
573
|
}
|
|
535
574
|
customElements.define = i(customElements.define);
|
|
536
|
-
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading",
|
|
575
|
+
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
|
|
537
576
|
|
|
538
577
|
var LuckyWheelRewardType;
|
|
539
578
|
(function (LuckyWheelRewardType) {
|
|
@@ -2792,6 +2831,39 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2792
2831
|
constructor(hostRef) {
|
|
2793
2832
|
index.registerInstance(this, hostRef);
|
|
2794
2833
|
this.close = index.createEvent(this, "close", 7);
|
|
2834
|
+
/**
|
|
2835
|
+
* Client custom styling via string
|
|
2836
|
+
*/
|
|
2837
|
+
this.clientStyling = '';
|
|
2838
|
+
/**
|
|
2839
|
+
* Client custom styling via url
|
|
2840
|
+
*/
|
|
2841
|
+
this.clientStylingUrl = '';
|
|
2842
|
+
/**
|
|
2843
|
+
* Language of the widget
|
|
2844
|
+
*/
|
|
2845
|
+
this.language = 'en';
|
|
2846
|
+
/**
|
|
2847
|
+
* User's device type
|
|
2848
|
+
*/
|
|
2849
|
+
this.device = 'Mobile';
|
|
2850
|
+
/**
|
|
2851
|
+
* List of lucky wheels
|
|
2852
|
+
*/
|
|
2853
|
+
this.luckyWheels = [];
|
|
2854
|
+
/**
|
|
2855
|
+
* Translations via URL
|
|
2856
|
+
*/
|
|
2857
|
+
this.translationUrl = '';
|
|
2858
|
+
this.tooltip = false;
|
|
2859
|
+
this.timers = {};
|
|
2860
|
+
this.limitStylingAppends = false;
|
|
2861
|
+
this.activeTab = 1;
|
|
2862
|
+
this.historyLoading = false;
|
|
2863
|
+
this.luckywheelHistory = {};
|
|
2864
|
+
this.openedHistoryIds = [];
|
|
2865
|
+
this.historyLoaded = false;
|
|
2866
|
+
this.isLoading = false;
|
|
2795
2867
|
this.setClientStyling = () => {
|
|
2796
2868
|
let sheet = document.createElement('style');
|
|
2797
2869
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -2842,21 +2914,6 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2842
2914
|
}
|
|
2843
2915
|
this.openedHistoryIds = [...this.openedHistoryIds];
|
|
2844
2916
|
};
|
|
2845
|
-
this.clientStyling = '';
|
|
2846
|
-
this.clientStylingUrl = '';
|
|
2847
|
-
this.language = 'en';
|
|
2848
|
-
this.device = 'Mobile';
|
|
2849
|
-
this.luckyWheels = [];
|
|
2850
|
-
this.translationUrl = '';
|
|
2851
|
-
this.tooltip = false;
|
|
2852
|
-
this.timers = {};
|
|
2853
|
-
this.limitStylingAppends = false;
|
|
2854
|
-
this.activeTab = 1;
|
|
2855
|
-
this.historyLoading = false;
|
|
2856
|
-
this.luckywheelHistory = {};
|
|
2857
|
-
this.openedHistoryIds = [];
|
|
2858
|
-
this.historyLoaded = false;
|
|
2859
|
-
this.isLoading = false;
|
|
2860
2917
|
}
|
|
2861
2918
|
handleEvent(e) {
|
|
2862
2919
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-622d50a1.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-engagement-suite-luckywheel-list.cjs.js', document.baseURI).href));
|