@everymatrix/casino-lobby 1.74.8 → 1.75.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/components/{CasinoLobby-D8qvx3h6.js → CasinoLobby-CuN_WRmF.js} +1 -1
- package/components/{CasinoLobby-BN2EJtl2.js → CasinoLobby-Dbi-V4x1.js} +1 -1
- package/components/{CasinoLobby-nUsTGR-H.cjs → CasinoLobby-DvKJ-3FS.cjs} +1 -1
- package/components/{CasinoPage-KebAtIf2.js → CasinoPage-B--hiCfp.js} +1 -1
- package/components/{CasinoPage-C9nOimHH.js → CasinoPage-DFYiODDJ.js} +1 -1
- package/components/{CasinoPage-BOiAVVXu.cjs → CasinoPage-Jj48NeBe.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-9qJt7GKy.cjs +1 -0
- package/stencil/casino-play-random-game-CNwOj3DJ.js +25 -0
- package/stencil/casino-play-random-game-Cchj3hDo.js +7 -0
- package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game_2-BBqDze0C.js} +216 -66
- package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game_2-BoSB4X57.js} +223 -91
- package/stencil/casino-play-random-game_2-DVELgSp-.cjs +432 -0
- package/stencil/index-328e660d-04xW6326.cjs +1 -0
- package/stencil/{index-ab3202d6-CoRS04SH.js → index-328e660d-BUOKdOvn.js} +16 -15
- package/stencil/{index-ab3202d6-CSUArOSv.js → index-328e660d-O5RXzgXA.js} +17 -16
- package/stencil/casino-play-random-game-C3hhQjhn.cjs +0 -378
- package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const ye = "casino-play-random-game", V = (
|
|
2
2
|
/* casino-play-random-game */
|
|
3
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !
|
|
3
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
4
4
|
);
|
|
5
5
|
var me = Object.defineProperty, Se = (e, t) => {
|
|
6
6
|
for (var r in t)
|
|
@@ -23,10 +23,10 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
23
23
|
{
|
|
24
24
|
const a = (o) => (I.set(n, o), o[s]);
|
|
25
25
|
switch (n) {
|
|
26
|
-
case "casino-play-random-
|
|
26
|
+
case "casino-play-random-game_2":
|
|
27
27
|
return import(
|
|
28
28
|
/* webpackMode: "lazy" */
|
|
29
|
-
"./casino-play-random-
|
|
29
|
+
"./casino-play-random-game_2-BBqDze0C.js"
|
|
30
30
|
).then(a, k);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -45,13 +45,13 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
45
45
|
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
|
46
46
|
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
|
47
47
|
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
-
}, we = (e) => Promise.resolve(e),
|
|
48
|
+
}, we = (e) => Promise.resolve(e), xe = /* @__PURE__ */ (() => {
|
|
49
49
|
try {
|
|
50
50
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
53
|
return !1;
|
|
54
|
-
})(), j = !1, X = [], te = [],
|
|
54
|
+
})(), j = !1, X = [], te = [], Te = (e, t) => (r) => {
|
|
55
55
|
e.push(r), j || (j = !0, h.$flags$ & 4 ? F(U) : h.raf(U));
|
|
56
56
|
}, G = (e) => {
|
|
57
57
|
for (let t = 0; t < e.length; t++)
|
|
@@ -63,7 +63,7 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
63
63
|
e.length = 0;
|
|
64
64
|
}, U = () => {
|
|
65
65
|
G(X), G(te), (j = X.length > 0) && h.raf(U);
|
|
66
|
-
}, F = (e) => we().then(e), Le = /* @__PURE__ */
|
|
66
|
+
}, F = (e) => we().then(e), Le = /* @__PURE__ */ Te(te), Q = {}, Pe = (e) => e != null, H = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
67
|
function se(e) {
|
|
68
68
|
var t, r, s;
|
|
69
69
|
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
|
@@ -130,7 +130,7 @@ var Ce = (e) => {
|
|
|
130
130
|
$children$: null
|
|
131
131
|
};
|
|
132
132
|
return r.$attrs$ = null, r.$key$ = null, r;
|
|
133
|
-
}, Ue = {}, ze = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !H(e)
|
|
133
|
+
}, Ue = {}, ze = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !H(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Re = (e) => b(e).$hostElement$, rt = (e, t, r) => {
|
|
134
134
|
const s = Re(e);
|
|
135
135
|
return {
|
|
136
136
|
emit: (n) => re(s, t, {
|
|
@@ -145,7 +145,7 @@ var Ce = (e) => {
|
|
|
145
145
|
return e.dispatchEvent(s), s;
|
|
146
146
|
}, Y = /* @__PURE__ */ new WeakMap(), Be = (e, t, r) => {
|
|
147
147
|
let s = A.get(e);
|
|
148
|
-
|
|
148
|
+
xe && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
|
149
149
|
}, Fe = (e, t, r) => {
|
|
150
150
|
var s;
|
|
151
151
|
const n = ae(t), l = A.get(n);
|
|
@@ -249,13 +249,13 @@ var L, q, ie = !1, ce = !1, _ = (e, t, r, s) => {
|
|
|
249
249
|
u = s[++a];
|
|
250
250
|
else if (p == null)
|
|
251
251
|
p = s[--d];
|
|
252
|
-
else if (
|
|
252
|
+
else if (T($, u, n))
|
|
253
253
|
w($, u, n), $ = t[++l], u = s[++a];
|
|
254
|
-
else if (
|
|
254
|
+
else if (T(f, p, n))
|
|
255
255
|
w(f, p, n), f = t[--c], p = s[--d];
|
|
256
|
-
else if (
|
|
256
|
+
else if (T($, p, n))
|
|
257
257
|
w($, p, n), P(e, $.$elm$, f.$elm$.nextSibling), $ = t[++l], p = s[--d];
|
|
258
|
-
else if (
|
|
258
|
+
else if (T(f, u, n))
|
|
259
259
|
w(f, u, n), P(e, f.$elm$, $.$elm$), f = t[--c], u = s[++a];
|
|
260
260
|
else {
|
|
261
261
|
for (o = -1, i = l; i <= c; ++i)
|
|
@@ -273,7 +273,7 @@ var L, q, ie = !1, ce = !1, _ = (e, t, r, s) => {
|
|
|
273
273
|
a,
|
|
274
274
|
d
|
|
275
275
|
) : a > d && fe(t, l, c);
|
|
276
|
-
},
|
|
276
|
+
}, T = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
|
|
277
277
|
const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, a = t.$text$;
|
|
278
278
|
a === null ? (oe(e, t, ce), n !== null && l !== null ? Me(s, n, t, l, r) : l !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, l, 0, l.length - 1)) : n !== null && fe(n, 0, n.length - 1)) : e.$text$ !== a && (s.data = a);
|
|
279
279
|
}, de = (e) => {
|
|
@@ -510,7 +510,7 @@ var L, q, ie = !1, ce = !1, _ = (e, t, r, s) => {
|
|
|
510
510
|
$listeners$: v[3]
|
|
511
511
|
};
|
|
512
512
|
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
|
|
513
|
-
const
|
|
513
|
+
const x = g.$tagName$, ge = class extends HTMLElement {
|
|
514
514
|
// StencilLazyHost
|
|
515
515
|
constructor(E) {
|
|
516
516
|
if (super(E), this.hasRegisteredEventListeners = !1, E = this, be(E, g), g.$flags$ & 1) {
|
|
@@ -532,8 +532,8 @@ var L, q, ie = !1, ce = !1, _ = (e, t, r, s) => {
|
|
|
532
532
|
return b(this).$onReadyPromise$;
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
|
-
g.$lazyBundleId$ = p[0], !l.includes(
|
|
536
|
-
|
|
535
|
+
g.$lazyBundleId$ = p[0], !l.includes(x) && !a.get(x) && (n.push(x), a.define(
|
|
536
|
+
x,
|
|
537
537
|
he(
|
|
538
538
|
ge,
|
|
539
539
|
g,
|
|
@@ -550,6 +550,7 @@ var L, q, ie = !1, ce = !1, _ = (e, t, r, s) => {
|
|
|
550
550
|
d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(pe, 30)), s();
|
|
551
551
|
};
|
|
552
552
|
export {
|
|
553
|
+
Ue as H,
|
|
553
554
|
at as b,
|
|
554
555
|
rt as c,
|
|
555
556
|
Re as g,
|
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
"use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ab3202d6-DitihRZv.cjs"),x=require("./app-globals-0f993ce5-4b17CI_n.cjs");var p=typeof document!="undefined"?document.currentScript:null,b=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-C3hhQjhn.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),i.promiseResolve(e)};b().then(n=>g(exports,null,function*(){return yield x.globalScripts(),i.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const G=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},v="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{l[t]||(l[t]={});for(let o in a[t])l[t][o]=a[t][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:v][n]};function f(n,e){if(n){const a=document.createElement("style");a.innerHTML=e,n.appendChild(a)}}function w(n,e){const a=new URL(e);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,n&&n.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function R(n,e,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(e,o=>{t.innerHTML=o,n&&n.appendChild(t)})}}const C=`:host {
|
|
2
|
-
display: block;
|
|
3
|
-
font-family: inherit;
|
|
4
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
5
|
-
transform: translate3d(0, 0, 0);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host * {
|
|
9
|
-
-webkit-transform: translate3d(0, 0, 0);
|
|
10
|
-
transform: translate3d(0, 0, 0);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.RandomGameWrapper {
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: var(--emw--size-4x-medium, 700px);
|
|
16
|
-
background: transparent;
|
|
17
|
-
position: relative;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.GameContainerGradient {
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 10%;
|
|
24
|
-
left: -5px;
|
|
25
|
-
width: 100vw;
|
|
26
|
-
height: 80%;
|
|
27
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.5) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.5) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
z-index: 1;
|
|
30
|
-
filter: blur(10px);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.GamesContainer {
|
|
34
|
-
display: flex;
|
|
35
|
-
height: var(--emw--size-4x-medium, 600px);
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
flex-wrap: nowrap;
|
|
38
|
-
justify-content: flex-start;
|
|
39
|
-
align-items: center;
|
|
40
|
-
align-content: flex-start;
|
|
41
|
-
gap: var(--emw--spacing-large, 20px);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.RandomGameCard {
|
|
45
|
-
position: relative;
|
|
46
|
-
width: var(--emw--size-3x-medium, 300px);
|
|
47
|
-
height: var(--emw--size-4x-medium, 420px);
|
|
48
|
-
border-radius: var(--emw--border-radius-large, 10px);
|
|
49
|
-
top: 8%;
|
|
50
|
-
filter: blur(5px);
|
|
51
|
-
}
|
|
52
|
-
.RandomGameCard .RandomGameVendor {
|
|
53
|
-
position: absolute;
|
|
54
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
55
|
-
bottom: var(--emw--spacing-small-minus, 10px);
|
|
56
|
-
left: var(--emw--spacing-small-minus, 10px);
|
|
57
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.TheRandomGame {
|
|
61
|
-
animation-name: ZoomFadeIn;
|
|
62
|
-
animation-duration: 0.5s;
|
|
63
|
-
animation-fill-mode: forwards;
|
|
64
|
-
-webkit-animation-name: ZoomFadeIn;
|
|
65
|
-
-webkit-animation-duration: 0.5s;
|
|
66
|
-
-webkit-animation-fill-mode: forwards;
|
|
67
|
-
opacity: 1;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
filter: blur(0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.RandomGameImage {
|
|
73
|
-
width: inherit;
|
|
74
|
-
height: inherit;
|
|
75
|
-
object-fit: cover;
|
|
76
|
-
border-radius: var(--emw--border-radius-large, 10px);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.RandomGameDetails {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-direction: row;
|
|
82
|
-
justify-content: space-between;
|
|
83
|
-
align-items: center;
|
|
84
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
85
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
86
|
-
width: 100%;
|
|
87
|
-
}
|
|
88
|
-
.RandomGameDetails .RandomGameTitle {
|
|
89
|
-
line-height: 18px;
|
|
90
|
-
margin: 5px 0;
|
|
91
|
-
}
|
|
92
|
-
.RandomGameDetails .RandomGameInfo {
|
|
93
|
-
border-radius: 50%;
|
|
94
|
-
width: var(--emw--spacing-medium, 16px);
|
|
95
|
-
height: var(--emw--spacing-medium, 16px);
|
|
96
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
97
|
-
font-weight: var(--emw--font-weight-normal, 400);
|
|
98
|
-
border: solid 1px var(--emw--color-typography, #FFFFFF);
|
|
99
|
-
text-align: center;
|
|
100
|
-
margin: var(--emw--spacing-2x-small, 4px) 0;
|
|
101
|
-
line-height: 14px;
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
}
|
|
104
|
-
.RandomGameDetails .RandomGamePlay {
|
|
105
|
-
background: var(--emw--color-primary, #4bd004);
|
|
106
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
107
|
-
border: none;
|
|
108
|
-
border-radius: var(--emw--border-radius-medium, 5px);
|
|
109
|
-
width: 200px;
|
|
110
|
-
height: 40px;
|
|
111
|
-
font-size: var(--emw--font-size-small, 14px);
|
|
112
|
-
cursor: pointer;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.ButtonWrapper {
|
|
116
|
-
position: absolute;
|
|
117
|
-
top: 50%;
|
|
118
|
-
left: 50%;
|
|
119
|
-
transform: translate(-50%, -50%);
|
|
120
|
-
z-index: 20;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.ButtonContainer {
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
justify-content: center;
|
|
127
|
-
align-items: center;
|
|
128
|
-
gap: 10px;
|
|
129
|
-
width: 100%;
|
|
130
|
-
position: relative;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ButtonIcon {
|
|
134
|
-
display: flex;
|
|
135
|
-
flex-direction: column;
|
|
136
|
-
justify-content: center;
|
|
137
|
-
align-items: center;
|
|
138
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.QustionMark {
|
|
142
|
-
position: absolute;
|
|
143
|
-
font-family: sans-serif;
|
|
144
|
-
font-size: 120px;
|
|
145
|
-
font-weight: 900;
|
|
146
|
-
color: color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 10%);
|
|
147
|
-
text-shadow: 0px 12px 0px color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 50%);
|
|
148
|
-
left: 50%;
|
|
149
|
-
top: -20%;
|
|
150
|
-
transform: translateX(-50%);
|
|
151
|
-
z-index: 10;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.HexagonMarkShadow {
|
|
155
|
-
width: 100px;
|
|
156
|
-
height: 115px;
|
|
157
|
-
display: flex;
|
|
158
|
-
justify-content: center;
|
|
159
|
-
align-items: center;
|
|
160
|
-
background: color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 70%);
|
|
161
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.HexagonMark {
|
|
165
|
-
position: absolute;
|
|
166
|
-
width: var(--emw--size-medium, 90px);
|
|
167
|
-
height: 105px;
|
|
168
|
-
background: linear-gradient(to bottom, color-mix(in srgb, var(--emw--casino-color-secondary, var(--emw--color-secondary, #eeac4a)), black 20%) 0%, var(--emw--categories-color-secondary, var(--emw--color-secondary, #eeac4a)) 100%);
|
|
169
|
-
clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.RandomButtons {
|
|
173
|
-
display: flex;
|
|
174
|
-
flex-direction: row;
|
|
175
|
-
justify-content: center;
|
|
176
|
-
align-items: center;
|
|
177
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
178
|
-
width: 100%;
|
|
179
|
-
position: relative;
|
|
180
|
-
z-index: 10;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.RandomButton {
|
|
184
|
-
font-size: var(--emw--font-size-large, 12px);
|
|
185
|
-
text-transform: uppercase;
|
|
186
|
-
width: max-content;
|
|
187
|
-
border-radius: var(--emw--button-border-radius, 10px);
|
|
188
|
-
padding: var(--emw--spacing-large, 20px) var(--emw--spacing-2x-large, 40px);
|
|
189
|
-
border: solid 3px var(--emw--button-border-color, #063B17);
|
|
190
|
-
color: var(--emw--button-text-color, #FFFFFF);
|
|
191
|
-
opacity: 1;
|
|
192
|
-
animation: ButtonEffect 3s linear infinite;
|
|
193
|
-
background-image: linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E), black 30%), var(--emw--color-primary, #22B04E));
|
|
194
|
-
background-size: 300% 100%;
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
position: relative;
|
|
197
|
-
z-index: 10;
|
|
198
|
-
}
|
|
199
|
-
.RandomButton:hover {
|
|
200
|
-
opacity: 0.8;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.HideAnimation {
|
|
204
|
-
filter: blur(5px);
|
|
205
|
-
animation: AnimateButton 0.2s forwards;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.Flip {
|
|
209
|
-
animation-name: Flip, Blur;
|
|
210
|
-
animation-duration: 0.75s, 3s;
|
|
211
|
-
animation-iteration-count: infinite, 1;
|
|
212
|
-
-webkit-animation-name: Flip, Blur;
|
|
213
|
-
-webkit-animation-duration: 0.75s, 3s;
|
|
214
|
-
-webkit-animation-iteration-count: infinite, 1;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
@keyframes ButtonEffect {
|
|
218
|
-
0% {
|
|
219
|
-
background-position: 0% 50%;
|
|
220
|
-
}
|
|
221
|
-
33% {
|
|
222
|
-
background-position: 100% 50%;
|
|
223
|
-
}
|
|
224
|
-
66% {
|
|
225
|
-
background-position: 200% 50%;
|
|
226
|
-
}
|
|
227
|
-
100% {
|
|
228
|
-
background-position: 300% 50%;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
@keyframes ZoomFadeIn {
|
|
232
|
-
0% {
|
|
233
|
-
transform: scale(0.2) translateY(0);
|
|
234
|
-
filter: blur(5px);
|
|
235
|
-
opacity: 0.3;
|
|
236
|
-
}
|
|
237
|
-
50% {
|
|
238
|
-
transform: scale(1.1) translateY(-30px);
|
|
239
|
-
filter: blur(2px);
|
|
240
|
-
opacity: 0.7;
|
|
241
|
-
}
|
|
242
|
-
100% {
|
|
243
|
-
transform: scale(1) translateY(-30px);
|
|
244
|
-
filter: blur(0px);
|
|
245
|
-
opacity: 1;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
@keyframes AnimateButton {
|
|
249
|
-
0% {
|
|
250
|
-
opacity: 0.7;
|
|
251
|
-
}
|
|
252
|
-
50% {
|
|
253
|
-
opacity: 0.4;
|
|
254
|
-
}
|
|
255
|
-
100% {
|
|
256
|
-
opacity: 0;
|
|
257
|
-
display: none;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
@keyframes Flip {
|
|
261
|
-
0% {
|
|
262
|
-
transform: rotateY(0deg);
|
|
263
|
-
}
|
|
264
|
-
50% {
|
|
265
|
-
transform: rotateY(180deg);
|
|
266
|
-
}
|
|
267
|
-
100% {
|
|
268
|
-
transform: rotateY(360deg);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
@keyframes Blur {
|
|
272
|
-
0% {
|
|
273
|
-
filter: blur(0);
|
|
274
|
-
}
|
|
275
|
-
50% {
|
|
276
|
-
filter: blur(1px);
|
|
277
|
-
}
|
|
278
|
-
100% {
|
|
279
|
-
filter: blur(3px);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
@media screen and (max-width: 480px) {
|
|
283
|
-
.RandomButtons .RandomButton {
|
|
284
|
-
font-size: var(--emw--font-size-medium, 12px);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
@container (max-width: 475px) {
|
|
288
|
-
.GamesContainer {
|
|
289
|
-
height: inherit;
|
|
290
|
-
gap: var(--emw--spacing-2x-small, 5px);
|
|
291
|
-
}
|
|
292
|
-
.RandomGameWrapper {
|
|
293
|
-
width: 100%;
|
|
294
|
-
height: 300px;
|
|
295
|
-
overflow: hidden;
|
|
296
|
-
background: transparent;
|
|
297
|
-
position: relative;
|
|
298
|
-
}
|
|
299
|
-
.GameContainerGradient {
|
|
300
|
-
position: absolute;
|
|
301
|
-
top: 10%;
|
|
302
|
-
left: -5px;
|
|
303
|
-
width: 100vw;
|
|
304
|
-
height: 80%;
|
|
305
|
-
background: linear-gradient(90deg, var(--emw--color-background, rgba(0, 0, 0, 0.9)) 0%, rgba(14, 21, 17, 0.2) 25%, rgba(14, 21, 17, 0) 50%, rgba(14, 21, 16, 0.2) 75%, var(--emw--color-background, rgba(10, 0, 0, 0.9)) 100%);
|
|
306
|
-
pointer-events: none;
|
|
307
|
-
z-index: 1;
|
|
308
|
-
filter: blur(5px);
|
|
309
|
-
}
|
|
310
|
-
.RandomGameCard {
|
|
311
|
-
width: 100px;
|
|
312
|
-
height: 150px;
|
|
313
|
-
top: 0%;
|
|
314
|
-
border-radius: var(--emw--border-radius-medium, 4px);
|
|
315
|
-
filter: blur(5px);
|
|
316
|
-
}
|
|
317
|
-
.RandomGameImage {
|
|
318
|
-
width: 102px;
|
|
319
|
-
height: inherit;
|
|
320
|
-
top: 0%;
|
|
321
|
-
}
|
|
322
|
-
.RandomGameDetails {
|
|
323
|
-
font-size: 14px;
|
|
324
|
-
width: 100%;
|
|
325
|
-
}
|
|
326
|
-
.RandomGameDetails .RandomGameTitle {
|
|
327
|
-
margin: 5px 0;
|
|
328
|
-
line-height: 18px;
|
|
329
|
-
width: 75%;
|
|
330
|
-
}
|
|
331
|
-
.RandomGameDetails .RandomGameInfo {
|
|
332
|
-
border-radius: 50%;
|
|
333
|
-
width: 16px;
|
|
334
|
-
height: 16px;
|
|
335
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
336
|
-
line-height: 14px;
|
|
337
|
-
}
|
|
338
|
-
.RandomGameDetails .RandomGamePlay {
|
|
339
|
-
background: var(--emw--color-primary, #52d004);
|
|
340
|
-
color: var(--emw--color-typography, #FFFFFF);
|
|
341
|
-
border: none;
|
|
342
|
-
border-radius: 5px;
|
|
343
|
-
width: 200px;
|
|
344
|
-
height: 40px;
|
|
345
|
-
font-size: 14px;
|
|
346
|
-
cursor: pointer;
|
|
347
|
-
}
|
|
348
|
-
.RandomGameCard .RandomGameVendor {
|
|
349
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
350
|
-
bottom: 5px;
|
|
351
|
-
right: 5px;
|
|
352
|
-
}
|
|
353
|
-
.RandomButtons {
|
|
354
|
-
display: flex;
|
|
355
|
-
flex-direction: column;
|
|
356
|
-
justify-content: center;
|
|
357
|
-
align-items: center;
|
|
358
|
-
gap: 5px;
|
|
359
|
-
width: 100%;
|
|
360
|
-
}
|
|
361
|
-
.RandomButton {
|
|
362
|
-
font-size: var(--emw--font-size-x-small, 12px);
|
|
363
|
-
padding: 10px 15px;
|
|
364
|
-
border: solid 1px var(--emw--button-border-color, #063B17);
|
|
365
|
-
}
|
|
366
|
-
.QustionMark {
|
|
367
|
-
font-size: 100px;
|
|
368
|
-
font-weight: 700;
|
|
369
|
-
}
|
|
370
|
-
.HexagonMarkShadow {
|
|
371
|
-
width: 80px;
|
|
372
|
-
height: 95px;
|
|
373
|
-
}
|
|
374
|
-
.HexagonMark {
|
|
375
|
-
width: 70px;
|
|
376
|
-
height: 85px;
|
|
377
|
-
}
|
|
378
|
-
}`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.dataLoaded=i.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){return i.h("div",{key:"07d7315d72cc4a34fd8ce7085efebd9161584570",ref:n=>this.stylingContainer=n},this.hasErrors?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language))):this.isLoading?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("randomGameLoading",this.language))):i.h("div",{class:"RandomGameWrapper"},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var a=o=>{try{i(n.next(o))}catch(c){r(c)}},l=o=>{try{i(n.throw(o))}catch(c){r(c)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const be="casino-play-random-game",ee={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1,watchCallback:!0};var ke=Object.defineProperty,we=(e,t)=>{for(var n in t)ke(e,n,{get:t[n],enumerable:!0})},F=new WeakMap,E=e=>F.get(e),Te=(e,t)=>F.set(t.$lazyInstance$=e,t),xe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],F.set(e,n)},X=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),j=new Map,Le=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=j.get(r);if(a)return a[s];{const l=i=>(j.set(r,i),i[s]);switch(r){case"casino-play-random-game":return Promise.resolve().then(()=>require("./casino-play-random-game-C3hhQjhn.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(j.set(r,l),l[s]),k)},_=new Map,Pe="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},m=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},se=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,G=[],ne=[],_e=(e,t)=>n=>{e.push(n),U||(U=!0,h.$flags$&4?H(z):h.raf(z))},Q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},z=()=>{Q(G),Q(ne),(U=G.length>0)&&h.raf(z)},H=e=>se().then(e),Ce=_e(ne),Y={},Ie=e=>e!=null,q=e=>(e=typeof e,e==="object"||e==="function");function re(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>le,map:()=>je,ok:()=>D,unwrap:()=>Ue,unwrapErr:()=>ze});var D=e=>({isOk:!0,isErr:!1,value:e}),le=e=>({isOk:!1,isErr:!0,value:e});function je(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(e.isErr){const n=e.value;return le(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},ze=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},De=(e,t)=>()=>{},ae=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!q(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?R(null,s):s),l=a)};if(o(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=R(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},R=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},Re={},Be=e=>e&&e.$tag$===Re,Fe=(e,t)=>e!=null&&!q(e)&&t&1?String(e):e,oe=e=>E(e).$hostElement$,He=(e,t,n)=>{const s=oe(e);return{emit:r=>ie(s,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}},ie=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},J=new WeakMap,qe=(e,t,n)=>{let s=_.get(e);Ae&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,_.set(e,s)},We=(e,t,n)=>{var s;const r=ce(t),a=_.get(r);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=J.get(e),i;if(l||J.set(e,l=new Set),!l.has(r)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:re(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Me=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=S("attachStyles",t.$tagName$),a=We(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=a,n.classList.add(a+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,K=(e,t,n,s,r,a)=>{if(n!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,c=Z(n),$=Z(s);o.remove(...c.filter(f=>f&&!$.includes(f))),o.add(...$.filter(f=>f&&!c.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),n||s){const o=t.endsWith($e);t=t.replace(Ge,""),n&&h.rel(e,t,n,o),s&&h.ael(e,t,s,o)}}else{const o=q(s);if((l||o&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Xe=/\s/,Z=e=>e?e.split(Xe):[],$e="Capture",Ge=new RegExp($e+"$"),fe=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||Y,a=t.$attrs$||Y;for(const l of N(Object.keys(r)))l in a||K(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(a)))K(s,l,r[l],a[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var P,W,de=!1,ue=!1,C=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,i;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(!de&&ee.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),fe(null,r,ue),Ie(P)&&l["s-si"]!==P&&l.classList.add(l["s-si"]=P),r.$children$)for(a=0;a<r.$children$.length;++a)i=C(e,r,a),i&&l.appendChild(i);return l["s-hn"]=W,l},pe=(e,t,n,s,r,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===W&&(l=l.shadowRoot);r<=a;++r)s[r]&&(i=C(null,n,r),i&&(s[r].$elm$=i,A(l,i,t)))},ve=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;he(r),a&&a.remove()}}},Qe=(e,t,n,s,r=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],v,y;for(;a<=c&&l<=d;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(L($,u,r))w($,u,r),$=t[++a],u=s[++l];else if(L(f,p,r))w(f,p,r),f=t[--c],p=s[--d];else if(L($,p,r))w($,p,r),A(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],p=s[--d];else if(L(f,u,r))w(f,u,r),A(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?v=C(t&&t[l],n,i):(w(y,u,r),t[i]=void 0,v=y.$elm$),u=s[++l]):(v=C(t&&t[l],n,l),u=s[++l]),v&&A($.$elm$.parentNode,v,$.$elm$)}a>c?pe(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ve(t,a,c)},L=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,w=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),r!==null&&a!==null?Qe(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),pe(s,null,t,a,0,a.length-1)):r!==null&&ve(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ye=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||R(null,null),l=Be(t)?t:ae(null,null,t);if(W=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),n&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,P=s["s-sc"],de=(r.$flags$&1)!==0,w(a,l,n)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},M=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ce(()=>Je(e,t))},Je=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.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 t&&(a=O(r,"componentWillLoad")),s(),Ke(a,()=>Ne(e,r,t))},Ke=(e,t)=>Ze(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ze=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ne=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ve(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),a();{const o=(s=r["s-p"])!=null?s:[],c=()=>et(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),Ve=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},et=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,me(n),O(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),a||ye()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>M(e,!1)),e.$flags$&=-517},ye=e=>{me(m.documentElement),H(()=>ie(I,"appload",{detail:{namespace:be}}))},O=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},me=e=>{var t;return e.classList.add((t=ee.hydratedSelectorName)!=null?t:"hydrated")},tt=(e,t)=>E(e).$instanceValues$.get(t),st=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$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=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,o=r.$lazyInstance$;n=Fe(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](n,l,t)}catch(u){k(u,a)}})}(i&18)===2&&M(r,!1)}},Se=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return tt(this,i)},set(c){st(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){h.jmp(()=>{var f;const d=i.get(o);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=E(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const v=u.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,o)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{var $;const f=c[1]||o;return i.set(f,o),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,f])),f})]))}}return e},nt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=Le(n);if(o&&"then"in o){const $=De();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,Se(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c(),B(t.$lazyInstance$)}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=ce(n);if(!_.has(c)){const $=S("registerStyles",n.$tagName$);qe(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>M(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),B=e=>{O(e,"connectedCallback")},rt=e=>{if(!(h.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?B(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>B(t.$lazyInstance$));else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ge(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),nt(e,t,n)}s()}},V=e=>{O(e,"disconnectedCallback")},lt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),at=(e,t={})=>{var n;const s=S(),r=[],a=t.exclude||[],l=I.customElements,i=m.head,o=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(v=>{var y;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$attrsToReflect$=[],g.$watchers$=(y=v[4])!=null?y:{};const T=g.$tagName$,Ee=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,xe(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):h.jmp(()=>rt(this))}disconnectedCallback(){h.jmp(()=>lt(this))}componentOnReady(){return E(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!a.includes(T)&&!l.get(T)&&(r.push(T),l.define(T,Se(Ee,g,1)))})}),r.length>0&&(u&&(c.textContent+=te),c.textContent+=r.sort()+Pe,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=h.$nonce$)!=null?n:re(m);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,o?o.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):h.jmp(()=>f=setTimeout(ye,30)),s()};exports.bootstrapLazy=at;exports.createEvent=He;exports.getElement=oe;exports.h=ae;exports.promiseResolve=se;exports.registerInstance=Te;
|