@everymatrix/casino-page-nd 1.76.14 → 1.77.1
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/{CasinoCalendar-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
- package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
- package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
- package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
- package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
- package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
- package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
- package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
- package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
- package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
- package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
- package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
- package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
- package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
- package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
- package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
- package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
- package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
- package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
- package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
- package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
- package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
- package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
- package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
- package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
- package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
- package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
- package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
- package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
- package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
- package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
- package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
- package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
- package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
- package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
- package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
- package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
- package/components/CasinoWinners-DiN0im-f.cjs +1 -0
- package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
- package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
- package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
- package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/casino-calendar-6neds2oy.js +16 -0
- package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
- package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
- package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
- package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
- package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
- package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
- package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
- package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
- package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
- package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
- package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
- package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
- package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
- package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
- package/lazy/casino-filter-C-pmSjXr.js +16 -0
- package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
- package/lazy/casino-filter-Cj7_L9pL.js +16 -0
- package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
- package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
- package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
- package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
- package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
- package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
- package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
- package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
- package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
- package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
- package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
- package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
- package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
- package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
- package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
- package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
- package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
- package/lazy/casino-play-random-game--i81UNg_.js +566 -0
- package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
- package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
- package/lazy/casino-random-game-CrCiwriJ.js +16 -0
- package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
- package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
- package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
- package/lazy/casino-search-nd-C9BJPr43.js +16 -0
- package/lazy/casino-search-nd-CwQvpchn.js +16 -0
- package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
- package/lazy/casino-sort-CAbAJiMw.js +16 -0
- package/lazy/casino-sort-DvKa_qwq.js +16 -0
- package/lazy/casino-winners-B_gD0IFb.js +16 -0
- package/lazy/casino-winners-C7YkitCv.cjs +1 -0
- package/lazy/casino-winners-SrWXp94E.js +16 -0
- package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
- package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
- package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
- package/lazy/ui-image-BAx5XP4T.js +554 -0
- package/lazy/ui-image-q7RKTAnB.js +538 -0
- package/lazy/ui-image-xAOmP7KP.cjs +1 -0
- package/package.json +3 -2
- package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
- package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
- package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
- package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
- package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
- package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
- package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
- package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
- package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
- package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
- package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
- package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
- package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
- package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
- package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
- package/components/CasinoFilter-BVW1b78L.cjs +0 -1
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
- package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
- package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
- package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
- package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
- package/stencil/index-242ac81a-Czg480dJ.js +0 -554
- package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
- package/stencil/index-27b314b8-9-rvsddy.js +0 -566
- package/stencil/index-27b314b8-CCprWmCo.js +0 -582
- package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as H, O as be, a as we, S as _e, i as Ge, s as Re, f as v,
|
|
1
|
+
import { $ as H, O as be, a as we, S as _e, i as Ge, s as Re, f as v, b as xe, d as x, t as E, c as P, g as ke, e as ve, h as k, q as h, B as J, j as w, C, u, k as Me, l as Fe, o as Ce, v as Le, y as Se, z as We, A as Te, P as je, D as q, n as Ne, G as Y, p as L, r as S, V as Be, w as K, x as ze, E as X, M as Ie, I as Pe, J as Je, K as Ae, L as De } from "./CasinoCalendar-DYLVhtW-.js";
|
|
2
2
|
function He({ withLocale: a, translations: e }) {
|
|
3
3
|
H.subscribe((t) => {
|
|
4
4
|
t == null && (be.set(e), H.set(a));
|
|
@@ -85,7 +85,7 @@ const Q = {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
function Oe(a) {
|
|
88
|
-
|
|
88
|
+
xe(a, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
89
89
|
}
|
|
90
90
|
function $(a, e, t) {
|
|
91
91
|
const n = a.slice();
|
|
@@ -97,7 +97,7 @@ function te(a) {
|
|
|
97
97
|
const p = (
|
|
98
98
|
/*#slots*/
|
|
99
99
|
a[23].close
|
|
100
|
-
), g =
|
|
100
|
+
), g = Le(
|
|
101
101
|
p,
|
|
102
102
|
a,
|
|
103
103
|
/*$$scope*/
|
|
@@ -116,7 +116,7 @@ function te(a) {
|
|
|
116
116
|
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
117
117
|
},
|
|
118
118
|
m(r, b) {
|
|
119
|
-
|
|
119
|
+
k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = J(
|
|
120
120
|
n,
|
|
121
121
|
"click",
|
|
122
122
|
/*closeModal*/
|
|
@@ -125,19 +125,19 @@ function te(a) {
|
|
|
125
125
|
},
|
|
126
126
|
p(r, b) {
|
|
127
127
|
g && g.p && (!s || b[0] & /*$$scope*/
|
|
128
|
-
4194304) &&
|
|
128
|
+
4194304) && Se(
|
|
129
129
|
g,
|
|
130
130
|
p,
|
|
131
131
|
r,
|
|
132
132
|
/*$$scope*/
|
|
133
133
|
r[22],
|
|
134
|
-
s ?
|
|
134
|
+
s ? Te(
|
|
135
135
|
p,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
r[22],
|
|
138
138
|
b,
|
|
139
139
|
Ue
|
|
140
|
-
) :
|
|
140
|
+
) : We(
|
|
141
141
|
/*$$scope*/
|
|
142
142
|
r[22]
|
|
143
143
|
),
|
|
@@ -151,7 +151,7 @@ function te(a) {
|
|
|
151
151
|
E(o, r), s = !1;
|
|
152
152
|
},
|
|
153
153
|
d(r) {
|
|
154
|
-
r &&
|
|
154
|
+
r && x(e), o && o.d(r), d.d(), c = !1, f();
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -162,11 +162,11 @@ function Ve(a) {
|
|
|
162
162
|
e = Y("svg"), t = Y("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
163
163
|
},
|
|
164
164
|
m(n, l) {
|
|
165
|
-
|
|
165
|
+
k(n, e, l), h(e, t);
|
|
166
166
|
},
|
|
167
|
-
p:
|
|
167
|
+
p: Ne,
|
|
168
168
|
d(n) {
|
|
169
|
-
n &&
|
|
169
|
+
n && x(e);
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
@@ -177,18 +177,18 @@ function qe(a) {
|
|
|
177
177
|
), n;
|
|
178
178
|
return {
|
|
179
179
|
c() {
|
|
180
|
-
e = w("p"), n =
|
|
180
|
+
e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
181
181
|
},
|
|
182
182
|
m(l, s) {
|
|
183
|
-
|
|
183
|
+
k(l, e, s), h(e, n);
|
|
184
184
|
},
|
|
185
185
|
p(l, s) {
|
|
186
186
|
s[0] & /*$_*/
|
|
187
187
|
512 && t !== (t = /*$_*/
|
|
188
|
-
l[9]("noGames") + "") &&
|
|
188
|
+
l[9]("noGames") + "") && L(n, t);
|
|
189
189
|
},
|
|
190
190
|
d(l) {
|
|
191
|
-
l &&
|
|
191
|
+
l && x(e);
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
@@ -214,7 +214,7 @@ function Ye(a) {
|
|
|
214
214
|
l = C(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
215
215
|
},
|
|
216
216
|
m(o, _) {
|
|
217
|
-
|
|
217
|
+
k(o, e, _), h(e, t), h(t, n);
|
|
218
218
|
for (let m = 0; m < c.length; m += 1)
|
|
219
219
|
c[m] && c[m].m(n, null);
|
|
220
220
|
a[24](n), h(e, l), g.m(e, null);
|
|
@@ -238,7 +238,7 @@ function Ye(a) {
|
|
|
238
238
|
p === (p = f(o)) && g ? g.p(o, _) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
|
|
239
239
|
},
|
|
240
240
|
d(o) {
|
|
241
|
-
o &&
|
|
241
|
+
o && x(e), ze(c, o), a[24](null), g.d();
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
}
|
|
@@ -252,7 +252,7 @@ function ae(a) {
|
|
|
252
252
|
a[41].name), u(e, "class", "item");
|
|
253
253
|
},
|
|
254
254
|
m(f, p) {
|
|
255
|
-
|
|
255
|
+
k(f, e, p), h(e, t), h(e, c);
|
|
256
256
|
},
|
|
257
257
|
p(f, p) {
|
|
258
258
|
p[0] & /*gamesToShow*/
|
|
@@ -264,7 +264,7 @@ function ae(a) {
|
|
|
264
264
|
f[41].name) && u(t, "title", s);
|
|
265
265
|
},
|
|
266
266
|
d(f) {
|
|
267
|
-
f &&
|
|
267
|
+
f && x(e);
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
@@ -275,18 +275,18 @@ function Ke(a) {
|
|
|
275
275
|
), n;
|
|
276
276
|
return {
|
|
277
277
|
c() {
|
|
278
|
-
e = w("p"), n =
|
|
278
|
+
e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
279
279
|
},
|
|
280
280
|
m(l, s) {
|
|
281
|
-
|
|
281
|
+
k(l, e, s), h(e, n);
|
|
282
282
|
},
|
|
283
283
|
p(l, s) {
|
|
284
284
|
s[0] & /*$_*/
|
|
285
285
|
512 && t !== (t = /*$_*/
|
|
286
|
-
l[9]("randomGameLoading") + "") &&
|
|
286
|
+
l[9]("randomGameLoading") + "") && L(n, t);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
|
-
l &&
|
|
289
|
+
l && x(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
@@ -304,10 +304,10 @@ function Xe(a) {
|
|
|
304
304
|
return {
|
|
305
305
|
c() {
|
|
306
306
|
e = w("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
307
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"), c =
|
|
307
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"), c = S(s), f = C(), p = w("p"), o = S(g), _ = C(), m = w("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
308
308
|
},
|
|
309
309
|
m(R, G) {
|
|
310
|
-
|
|
310
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (W = [
|
|
311
311
|
J(
|
|
312
312
|
e,
|
|
313
313
|
"click",
|
|
@@ -325,14 +325,14 @@ function Xe(a) {
|
|
|
325
325
|
p(R, G) {
|
|
326
326
|
G[0] & /*randomGame*/
|
|
327
327
|
8 && s !== (s = /*randomGame*/
|
|
328
|
-
R[3].name + "") &&
|
|
328
|
+
R[3].name + "") && L(c, s), G[0] & /*randomGame*/
|
|
329
329
|
8 && g !== (g = /*randomGame*/
|
|
330
|
-
R[3].vendor.name + "") &&
|
|
330
|
+
R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
|
|
331
331
|
512 && d !== (d = /*$_*/
|
|
332
|
-
R[9]("playNowRandomGame") + "") &&
|
|
332
|
+
R[9]("playNowRandomGame") + "") && L(r, d);
|
|
333
333
|
},
|
|
334
334
|
d(R) {
|
|
335
|
-
R && (
|
|
335
|
+
R && (x(e), x(t), x(n)), b = !1, Ie(W);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
@@ -343,18 +343,18 @@ function Ze(a) {
|
|
|
343
343
|
), n;
|
|
344
344
|
return {
|
|
345
345
|
c() {
|
|
346
|
-
e = w("span"), n =
|
|
346
|
+
e = w("span"), n = S(t), u(e, "class", "RandomButtonText");
|
|
347
347
|
},
|
|
348
348
|
m(l, s) {
|
|
349
|
-
|
|
349
|
+
k(l, e, s), h(e, n);
|
|
350
350
|
},
|
|
351
351
|
p(l, s) {
|
|
352
352
|
s[0] & /*$_*/
|
|
353
353
|
512 && t !== (t = /*$_*/
|
|
354
|
-
l[9]("playRandomGame") + "") &&
|
|
354
|
+
l[9]("playRandomGame") + "") && L(n, t);
|
|
355
355
|
},
|
|
356
356
|
d(l) {
|
|
357
|
-
l &&
|
|
357
|
+
l && x(e);
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
@@ -362,24 +362,24 @@ function Qe(a) {
|
|
|
362
362
|
let e, t;
|
|
363
363
|
return {
|
|
364
364
|
c() {
|
|
365
|
-
e = w("span"), t =
|
|
365
|
+
e = w("span"), t = S(
|
|
366
366
|
/*buttontext*/
|
|
367
367
|
a[1]
|
|
368
368
|
), u(e, "class", "RandomButtonText");
|
|
369
369
|
},
|
|
370
370
|
m(n, l) {
|
|
371
|
-
|
|
371
|
+
k(n, e, l), h(e, t);
|
|
372
372
|
},
|
|
373
373
|
p(n, l) {
|
|
374
374
|
l[0] & /*buttontext*/
|
|
375
|
-
2 &&
|
|
375
|
+
2 && L(
|
|
376
376
|
t,
|
|
377
377
|
/*buttontext*/
|
|
378
378
|
n[1]
|
|
379
379
|
);
|
|
380
380
|
},
|
|
381
381
|
d(n) {
|
|
382
|
-
n &&
|
|
382
|
+
n && x(e);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
}
|
|
@@ -404,7 +404,7 @@ function $e(a) {
|
|
|
404
404
|
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"), d && d.c(), s = C(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
405
405
|
},
|
|
406
406
|
m(r, b) {
|
|
407
|
-
|
|
407
|
+
k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
|
|
408
408
|
a[0], a[28](e), f = !0, p || (g = J(
|
|
409
409
|
l,
|
|
410
410
|
"click",
|
|
@@ -415,9 +415,9 @@ function $e(a) {
|
|
|
415
415
|
p(r, b) {
|
|
416
416
|
/*show*/
|
|
417
417
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
418
|
-
32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (
|
|
418
|
+
32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (ke(), E(o, 1, 1, () => {
|
|
419
419
|
o = null;
|
|
420
|
-
}),
|
|
420
|
+
}), ve()), m === (m = _(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
|
|
421
421
|
1) && (c.innerHTML = /*randombuttonicon*/
|
|
422
422
|
r[0]);
|
|
423
423
|
},
|
|
@@ -428,13 +428,13 @@ function $e(a) {
|
|
|
428
428
|
E(o), f = !1;
|
|
429
429
|
},
|
|
430
430
|
d(r) {
|
|
431
|
-
r &&
|
|
431
|
+
r && x(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
function et(a, e, t) {
|
|
436
436
|
let n;
|
|
437
|
-
|
|
437
|
+
Me(a, Fe, (i) => t(9, n = i));
|
|
438
438
|
let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", T, N = !1, A = !1, z = !1, ne = window.navigator.userAgent, M, j, O, I, U = null;
|
|
439
439
|
He({ withLocale: "en", translations: {} });
|
|
440
440
|
const oe = () => {
|
|
@@ -451,7 +451,7 @@ function et(a, e, t) {
|
|
|
451
451
|
});
|
|
452
452
|
const le = () => {
|
|
453
453
|
let i = new URL(`${c}/v1/casino/games`);
|
|
454
|
-
i.searchParams.append("platform",
|
|
454
|
+
i.searchParams.append("platform", je(ne)), i.searchParams.append("datasource", f), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
|
|
455
455
|
R = y.items, R.length ? (t(4, T = ie(R.slice(0, 19))), t(7, z = !0)) : (t(4, T = []), t(7, z = !1));
|
|
456
456
|
}).catch((y) => {
|
|
457
457
|
console.log(y), t(7, z = !1);
|
|
@@ -460,7 +460,7 @@ function et(a, e, t) {
|
|
|
460
460
|
const y = se(i);
|
|
461
461
|
return y.concat(y);
|
|
462
462
|
}, re = async () => {
|
|
463
|
-
await
|
|
463
|
+
await Be(), I = Math.floor(Math.random() * (T.length / 2)) + T.length / 2, t(3, G = T[I]), O = j.children[I];
|
|
464
464
|
}, D = async () => {
|
|
465
465
|
t(6, A = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await re();
|
|
466
466
|
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (O.offsetHeight + y) * I, he = [
|
|
@@ -499,7 +499,7 @@ function et(a, e, t) {
|
|
|
499
499
|
}, de = () => {
|
|
500
500
|
Ee(g);
|
|
501
501
|
};
|
|
502
|
-
|
|
502
|
+
Ce(() => () => {
|
|
503
503
|
});
|
|
504
504
|
function ce(i) {
|
|
505
505
|
q[i ? "unshift" : "push"](() => {
|
|
@@ -519,9 +519,9 @@ function et(a, e, t) {
|
|
|
519
519
|
65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
|
|
520
520
|
131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
521
521
|
24576 && c && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
522
|
-
262148 && d && M &&
|
|
523
|
-
524292 && r && M &&
|
|
524
|
-
2097156 && M &&
|
|
522
|
+
262148 && d && M && Pe(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
|
+
524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
524
|
+
2097156 && M && Ae(M, `${W}.Style`);
|
|
525
525
|
}, [
|
|
526
526
|
o,
|
|
527
527
|
_,
|
|
@@ -646,7 +646,7 @@ class tt extends _e {
|
|
|
646
646
|
this.$$set({ mbsource: e }), v();
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
|
|
649
|
+
De(tt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
650
650
|
export {
|
|
651
651
|
tt as default
|
|
652
652
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-
|
|
1
|
+
"use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DGE4j4zu.cjs");function oe({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function le(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-kfgfhx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const ie=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||se();function _(d,y){return d[7]?me:de}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,ie):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function se(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function de(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function me(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?ue:ce}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ce(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ue(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
2
2
|
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function pe(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ge(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function fe(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&A(n);function _(d,y){if(d[1])return ge;if(!d[1])return pe}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=A(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function he(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,F=!1,O=window.navigator.userAgent,G,v,j,L,N=null;oe({withLocale:"en",translations:{}});const E=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const q=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=U(w.slice(0,19))),a(7,F=!0)):(a(4,k=[]),a(7,F=!1))}).catch(h=>{console.log(h),a(7,F=!1)})},U=i=>{const h=Y(i);return h.concat(h)},V=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield V();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,C=(j.offsetHeight+h)*L,ae=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${C}px)`}],ne={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ae,ne),N.onfinish=()=>{a(6,S=!0)}}),Y=i=>{const h=structuredClone(i);let x=h.length,C;for(;x!=0;)C=Math.floor(Math.random()*x),x--,[h[x],h[C]]=[h[C],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},X=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},Z=()=>{le(g)};e.onMount(()=>()=>{});function K(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const Q=()=>T(),$=()=>B(),ee=()=>T();function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&Z(),n.$$.dirty[0]&131072&&m&&E(),n.$$.dirty[0]&24576&&c&&f&&q(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`)},[l,_,G,b,k,M,S,F,v,o,T,B,X,c,f,p,g,m,u,d,y,R,s,r,K,Q,$,ee,te]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,fe,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
|