@everymatrix/casino-lobby 1.41.0 → 1.42.69
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-BQx5-rlk.cjs +9 -0
- package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
- package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
- package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
- package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
- package/components/CasinoCalendar-wabXB62Y.js +5174 -0
- package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
- package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
- package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
- package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
- package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
- package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
- package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
- package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
- package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
- package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
- package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
- package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
- package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
- package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
- package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
- package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
- package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
- package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
- package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
- package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
- package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
- package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
- package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
- package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
- package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
- package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
- package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
- package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
- package/components/CasinoFilter-B9sKxzVS.js +620 -0
- package/components/CasinoFilter-CMVqOmbG.js +619 -0
- package/components/CasinoFilter-Cf00T9dk.js +620 -0
- package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
- package/components/CasinoFilter-DD3HMkSy.js +619 -0
- package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
- package/components/CasinoGamePage-BundiLLb.js +4266 -0
- package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
- package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
- package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
- package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
- package/components/CasinoGamePage-yVND0I7w.js +4287 -0
- package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
- package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
- package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
- package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
- package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
- package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
- package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
- package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
- package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
- package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
- package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
- package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
- package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
- package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
- package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
- package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
- package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
- package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
- package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
- package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
- package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
- package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
- package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
- package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
- package/components/CasinoLobby-AFKKESbR.cjs +1 -0
- package/components/CasinoLobby-CHvuexFs.js +2315 -0
- package/components/CasinoLobby-ClhYpfUU.js +2315 -0
- package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
- package/components/CasinoLobby-hrKaH7qN.js +2315 -0
- package/components/CasinoLobby-ouSesgdC.js +2315 -0
- package/components/CasinoModal-BIVMlWQX.js +359 -0
- package/components/CasinoModal-BYKM2vRV.cjs +1 -0
- package/components/CasinoModal-C3wpERtX.js +359 -0
- package/components/CasinoModal-Cabai4o3.js +359 -0
- package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
- package/components/CasinoModal-Dw_y4THL.js +359 -0
- package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
- package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
- package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
- package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
- package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
- package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
- package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
- package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
- package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
- package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
- package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
- package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
- package/components/CasinoPage-BGO7Qjz8.js +3535 -0
- package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
- package/components/CasinoPage-Ccz2mt9L.js +3535 -0
- package/components/CasinoPage-D4SKFGBe.cjs +1 -0
- package/components/CasinoPage-DLYXRAgH.js +3538 -0
- package/components/CasinoPage-OtILzfbb.js +3538 -0
- package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
- package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
- package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
- package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
- package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
- package/components/CasinoRandomGame-HLWP49DK.js +658 -0
- package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
- package/components/CasinoSearch-BMZWS8yv.js +1058 -0
- package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
- package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
- package/components/CasinoSearch-CbqN_jyR.js +1058 -0
- package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
- package/components/CasinoSlider-BOVT94iB.js +794 -0
- package/components/CasinoSlider-BSHGeAYd.js +788 -0
- package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
- package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
- package/components/CasinoSlider-CrHKe4Xk.js +803 -0
- package/components/CasinoSlider-Cxh3sOkP.js +797 -0
- package/components/CasinoSort-BOWrHLh_.js +420 -0
- package/components/CasinoSort-BwnNTnFA.js +420 -0
- package/components/CasinoSort-DTw1r10v.js +419 -0
- package/components/CasinoSort-DWtBvm9D.cjs +1 -0
- package/components/CasinoSort-LblMuLP4.js +419 -0
- package/components/CasinoSort-hnzXlXWX.cjs +1 -0
- package/components/CasinoWinners-C9izX5Hz.js +955 -0
- package/components/CasinoWinners-CO3x7y86.js +955 -0
- package/components/CasinoWinners-CZWuAxEs.js +953 -0
- package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
- package/components/CasinoWinners-DOucg2Bq.js +953 -0
- package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
- package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
- package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
- package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
- package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
- package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
- package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +14 -0
- package/package.json +19 -34
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
- package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
- package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
- package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
- package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
- package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
- package/CHANGELOG.md +0 -39
- package/README.md +0 -0
- package/dist/casino-lobby.js +0 -33
- package/dist/casino-lobby.js.map +0 -1
- package/documentation.md +0 -176
- package/index.html +0 -50
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoLobby.svelte +0 -454
- package/src/i18n.js +0 -25
- package/src/index.ts +0 -4
- package/stories/CasinoLobby.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import { $ as q, W as et, a as rt, S as ot, i as nt, f as T, c as at, s as lt, b as st, e as f, d as P, D as U, j as R, k as it, o as ct, n as dt, L as pt, M as gt, N as ut, q as G, G as Z, r as I, u as W, v as r, w as s, x as tt, B as K, C as ht, F as mt } from "./CasinoCalendar-T2eu_ijJ.js";
|
|
2
|
+
function ft({ withLocale: t, translations: e }) {
|
|
3
|
+
q.subscribe((o) => {
|
|
4
|
+
o == null && (et.set(e), q.set(t));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function Q(t, e) {
|
|
8
|
+
rt(t, e);
|
|
9
|
+
}
|
|
10
|
+
const X = {
|
|
11
|
+
en: {
|
|
12
|
+
sortby: "Sort by:",
|
|
13
|
+
all: "All",
|
|
14
|
+
az: "A-Z",
|
|
15
|
+
newest: "Newest",
|
|
16
|
+
hottest: "Hottest"
|
|
17
|
+
},
|
|
18
|
+
zh: {
|
|
19
|
+
sortby: "Sort by",
|
|
20
|
+
all: "All",
|
|
21
|
+
az: "A-Z",
|
|
22
|
+
newest: "Newest",
|
|
23
|
+
hottest: "Hottest"
|
|
24
|
+
},
|
|
25
|
+
de: {
|
|
26
|
+
sortby: "Sort by:",
|
|
27
|
+
all: "All",
|
|
28
|
+
az: "A-Z",
|
|
29
|
+
newest: "Newest",
|
|
30
|
+
hottest: "Hottest"
|
|
31
|
+
},
|
|
32
|
+
it: {
|
|
33
|
+
sortby: "Sort by:",
|
|
34
|
+
all: "All",
|
|
35
|
+
az: "A-Z",
|
|
36
|
+
newest: "Newest",
|
|
37
|
+
hottest: "Hottest"
|
|
38
|
+
},
|
|
39
|
+
fr: {
|
|
40
|
+
sortby: "Sort by:",
|
|
41
|
+
all: "All",
|
|
42
|
+
az: "A-Z",
|
|
43
|
+
newest: "Newest",
|
|
44
|
+
hottest: "Hottest"
|
|
45
|
+
},
|
|
46
|
+
es: {
|
|
47
|
+
sortby: "Sort by:",
|
|
48
|
+
all: "All",
|
|
49
|
+
az: "A-Z",
|
|
50
|
+
newest: "Newest",
|
|
51
|
+
hottest: "Hottest"
|
|
52
|
+
},
|
|
53
|
+
tr: {
|
|
54
|
+
sortby: "Sırala:",
|
|
55
|
+
all: "Hepsi",
|
|
56
|
+
az: "A-Z",
|
|
57
|
+
newest: "En yeni",
|
|
58
|
+
hottest: "Öne Çıkan"
|
|
59
|
+
},
|
|
60
|
+
ru: {
|
|
61
|
+
sortby: "Sort by:",
|
|
62
|
+
all: "All",
|
|
63
|
+
az: "A-Z",
|
|
64
|
+
newest: "Newest",
|
|
65
|
+
hottest: "Hottest"
|
|
66
|
+
},
|
|
67
|
+
ro: {
|
|
68
|
+
sortby: "Sort by:",
|
|
69
|
+
all: "All",
|
|
70
|
+
az: "A-Z",
|
|
71
|
+
newest: "Newest",
|
|
72
|
+
hottest: "Hottest"
|
|
73
|
+
},
|
|
74
|
+
hr: {
|
|
75
|
+
sortby: "Poredaj po:",
|
|
76
|
+
all: "Sve",
|
|
77
|
+
az: "A-Z",
|
|
78
|
+
newest: "Najnovije",
|
|
79
|
+
hottest: "Hot igre"
|
|
80
|
+
},
|
|
81
|
+
hu: {
|
|
82
|
+
sortby: "Sort by:",
|
|
83
|
+
all: "All",
|
|
84
|
+
az: "A-Z",
|
|
85
|
+
newest: "Newest",
|
|
86
|
+
hottest: "Hottest"
|
|
87
|
+
},
|
|
88
|
+
pl: {
|
|
89
|
+
sortby: "Sort by:",
|
|
90
|
+
all: "All",
|
|
91
|
+
az: "A-Z",
|
|
92
|
+
newest: "Newest",
|
|
93
|
+
hottest: "Hottest"
|
|
94
|
+
},
|
|
95
|
+
pt: {
|
|
96
|
+
sortby: "Sort by:",
|
|
97
|
+
all: "All",
|
|
98
|
+
az: "A-Z",
|
|
99
|
+
newest: "Newest",
|
|
100
|
+
hottest: "Hottest"
|
|
101
|
+
},
|
|
102
|
+
sl: {
|
|
103
|
+
sortby: "Sort by:",
|
|
104
|
+
all: "All",
|
|
105
|
+
az: "A-Z",
|
|
106
|
+
newest: "Newest",
|
|
107
|
+
hottest: "Hottest"
|
|
108
|
+
},
|
|
109
|
+
sr: {
|
|
110
|
+
sortby: "Sort by:",
|
|
111
|
+
all: "All",
|
|
112
|
+
az: "A-Z",
|
|
113
|
+
newest: "Newest",
|
|
114
|
+
hottest: "Hottest"
|
|
115
|
+
},
|
|
116
|
+
"pt-br": {
|
|
117
|
+
sortby: "Organizar por:",
|
|
118
|
+
all: "Todos",
|
|
119
|
+
az: "A-Z",
|
|
120
|
+
newest: "Mais recente",
|
|
121
|
+
hottest: "mais quente"
|
|
122
|
+
},
|
|
123
|
+
"es-mx": {
|
|
124
|
+
sortby: "Ordenar Por:",
|
|
125
|
+
all: "Todo",
|
|
126
|
+
az: "A-Z",
|
|
127
|
+
newest: "Más nuevos",
|
|
128
|
+
hottest: "Más calientes"
|
|
129
|
+
},
|
|
130
|
+
"en-us": {
|
|
131
|
+
sortby: "Sort by:",
|
|
132
|
+
all: "All",
|
|
133
|
+
az: "A-Z",
|
|
134
|
+
newest: "Newest",
|
|
135
|
+
hottest: "Hottest"
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
function yt(t) {
|
|
139
|
+
st(t, "svelte-kh3a1g", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
|
|
140
|
+
}
|
|
141
|
+
function Y(t, e, o) {
|
|
142
|
+
const a = t.slice();
|
|
143
|
+
return a[22] = e[o], a;
|
|
144
|
+
}
|
|
145
|
+
function wt(t) {
|
|
146
|
+
let e, o, a, l, i, d, b, g, y, u, v, S = (
|
|
147
|
+
/*$_*/
|
|
148
|
+
t[4]("sortby") + ""
|
|
149
|
+
), m, k, x, O, F = (
|
|
150
|
+
/*vendorSortingBy*/
|
|
151
|
+
(t[3] || /*$_*/
|
|
152
|
+
t[4]("all")) + ""
|
|
153
|
+
), B, H, N, _, C, n, p, z, D, L, j, E, V, M = G(Object.values(
|
|
154
|
+
/*vendorMap*/
|
|
155
|
+
t[5]
|
|
156
|
+
)), w = [];
|
|
157
|
+
for (let c = 0; c < M.length; c += 1)
|
|
158
|
+
w[c] = $(Y(t, M, c));
|
|
159
|
+
return {
|
|
160
|
+
c() {
|
|
161
|
+
e = f("div"), o = f("div"), a = f("div"), l = Z("svg"), i = Z("g"), d = Z("path"), b = Z("path"), g = Z("path"), y = I(), u = f("div"), v = f("span"), m = W(S), k = I(), x = f("div"), O = f("span"), B = W(F), H = I(), N = f("span"), _ = Z("svg"), C = Z("path"), z = I(), D = f("div"), L = f("ul");
|
|
162
|
+
for (let c = 0; c < w.length; c += 1)
|
|
163
|
+
w[c].c();
|
|
164
|
+
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(b, "id", "Path_5268"), r(b, "data-name", "Path 5268"), r(b, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(b, "transform", "translate(0 0)"), r(b, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(v, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(u, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(C, "id", "arrow"), r(C, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(C, "transform", "translate(-274.511 -441.088)"), r(C, "fill", "#d1d1d1"), r(_, "xmlns", "http://www.w3.org/2000/svg"), r(_, "width", "14"), r(_, "height", "6.835"), r(_, "viewBox", "0 0 14 6.835"), r(N, "class", n = "TriangleInactive " + /*isSorterActive*/
|
|
165
|
+
(t[1] ? "TriangleActive" : "")), r(o, "class", p = "SorterSelector " + /*isSorterActive*/
|
|
166
|
+
(t[1] ? "SorterSelectorOpen" : "")), r(L, "class", "SorterDropdown"), r(D, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
167
|
+
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
|
168
|
+
},
|
|
169
|
+
m(c, A) {
|
|
170
|
+
P(c, e, A), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, b), s(i, g), s(a, y), s(a, u), s(u, v), s(v, m), s(u, k), s(u, x), s(x, O), s(O, B), s(o, H), s(o, N), s(N, _), s(_, C), s(e, z), s(e, D), s(D, L);
|
|
171
|
+
for (let h = 0; h < w.length; h += 1)
|
|
172
|
+
w[h] && w[h].m(L, null);
|
|
173
|
+
E || (V = tt(
|
|
174
|
+
o,
|
|
175
|
+
"click",
|
|
176
|
+
/*click_handler*/
|
|
177
|
+
t[13]
|
|
178
|
+
), E = !0);
|
|
179
|
+
},
|
|
180
|
+
p(c, A) {
|
|
181
|
+
if (A & /*$_*/
|
|
182
|
+
16 && S !== (S = /*$_*/
|
|
183
|
+
c[4]("sortby") + "") && K(m, S), A & /*vendorSortingBy, $_*/
|
|
184
|
+
24 && F !== (F = /*vendorSortingBy*/
|
|
185
|
+
(c[3] || /*$_*/
|
|
186
|
+
c[4]("all")) + "") && K(B, F), A & /*isSorterActive*/
|
|
187
|
+
2 && n !== (n = "TriangleInactive " + /*isSorterActive*/
|
|
188
|
+
(c[1] ? "TriangleActive" : "")) && r(N, "class", n), A & /*isSorterActive*/
|
|
189
|
+
2 && p !== (p = "SorterSelector " + /*isSorterActive*/
|
|
190
|
+
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", p), A & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
|
191
|
+
120) {
|
|
192
|
+
M = G(Object.values(
|
|
193
|
+
/*vendorMap*/
|
|
194
|
+
c[5]
|
|
195
|
+
));
|
|
196
|
+
let h;
|
|
197
|
+
for (h = 0; h < M.length; h += 1) {
|
|
198
|
+
const J = Y(c, M, h);
|
|
199
|
+
w[h] ? w[h].p(J, A) : (w[h] = $(J), w[h].c(), w[h].m(L, null));
|
|
200
|
+
}
|
|
201
|
+
for (; h < w.length; h += 1)
|
|
202
|
+
w[h].d(1);
|
|
203
|
+
w.length = M.length;
|
|
204
|
+
}
|
|
205
|
+
A & /*isSorterActive*/
|
|
206
|
+
2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
|
|
207
|
+
(c[1] ? "SorterOpen" : "")) && r(D, "class", j);
|
|
208
|
+
},
|
|
209
|
+
d(c) {
|
|
210
|
+
c && R(e), ht(w, c), E = !1, V();
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
function $(t) {
|
|
215
|
+
let e, o, a, l, i, d, b, g, y, u, v;
|
|
216
|
+
function S() {
|
|
217
|
+
return (
|
|
218
|
+
/*click_handler_1*/
|
|
219
|
+
t[14](
|
|
220
|
+
/*sort*/
|
|
221
|
+
t[22]
|
|
222
|
+
)
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
return {
|
|
226
|
+
c() {
|
|
227
|
+
e = f("li"), o = f("label"), a = f("input"), i = I(), d = f("span"), b = I(), g = f("span"), g.textContent = `${/*sort*/
|
|
228
|
+
t[22]}`, y = I(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
|
|
229
|
+
t[22], a.checked = l = /*vendorSortingBy*/
|
|
230
|
+
t[3] == /*sort*/
|
|
231
|
+
t[22] ? !0 : (
|
|
232
|
+
/*vendorSortingBy*/
|
|
233
|
+
t[3] == null && /*sort*/
|
|
234
|
+
t[22] == /*$_*/
|
|
235
|
+
t[4]("all")
|
|
236
|
+
), r(d, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(e, "class", "SorterItem"), e.value = /*sort*/
|
|
237
|
+
t[22];
|
|
238
|
+
},
|
|
239
|
+
m(m, k) {
|
|
240
|
+
P(m, e, k), s(e, o), s(o, a), s(o, i), s(o, d), s(o, b), s(o, g), s(e, y), u || (v = tt(a, "click", S), u = !0);
|
|
241
|
+
},
|
|
242
|
+
p(m, k) {
|
|
243
|
+
t = m, k & /*vendorSortingBy, $_*/
|
|
244
|
+
24 && l !== (l = /*vendorSortingBy*/
|
|
245
|
+
t[3] == /*sort*/
|
|
246
|
+
t[22] ? !0 : (
|
|
247
|
+
/*vendorSortingBy*/
|
|
248
|
+
t[3] == null && /*sort*/
|
|
249
|
+
t[22] == /*$_*/
|
|
250
|
+
t[4]("all")
|
|
251
|
+
)) && (a.checked = l);
|
|
252
|
+
},
|
|
253
|
+
d(m) {
|
|
254
|
+
m && R(e), u = !1, v();
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
function bt(t) {
|
|
259
|
+
let e;
|
|
260
|
+
function o(i, d) {
|
|
261
|
+
if (!/*isLoading*/
|
|
262
|
+
i[2]) return wt;
|
|
263
|
+
}
|
|
264
|
+
let a = o(t), l = a && a(t);
|
|
265
|
+
return {
|
|
266
|
+
c() {
|
|
267
|
+
e = f("div"), l && l.c();
|
|
268
|
+
},
|
|
269
|
+
m(i, d) {
|
|
270
|
+
P(i, e, d), l && l.m(e, null), t[15](e);
|
|
271
|
+
},
|
|
272
|
+
p(i, [d]) {
|
|
273
|
+
a === (a = o(i)) && l ? l.p(i, d) : (l && l.d(1), l = a && a(i), l && (l.c(), l.m(e, null)));
|
|
274
|
+
},
|
|
275
|
+
i: U,
|
|
276
|
+
o: U,
|
|
277
|
+
d(i) {
|
|
278
|
+
i && R(e), l && l.d(), t[15](null);
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function St(t, e, o) {
|
|
283
|
+
let a;
|
|
284
|
+
it(t, mt, (n) => o(4, a = n));
|
|
285
|
+
let { lang: l = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, y, u = !1, v = !0, S = "", m = "All";
|
|
286
|
+
ft({ withLocale: "en", translations: {} });
|
|
287
|
+
const k = () => {
|
|
288
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
|
289
|
+
Object.keys(p).forEach((z) => {
|
|
290
|
+
Q(z, p[z]);
|
|
291
|
+
});
|
|
292
|
+
}).catch((p) => {
|
|
293
|
+
console.log(p);
|
|
294
|
+
});
|
|
295
|
+
};
|
|
296
|
+
Object.keys(X).forEach((n) => {
|
|
297
|
+
Q(n, X[n]);
|
|
298
|
+
});
|
|
299
|
+
const x = {
|
|
300
|
+
All: a("all"),
|
|
301
|
+
name: a("az"),
|
|
302
|
+
isNew: a("newest"),
|
|
303
|
+
"advancedTags(name(hot))": a("hottest")
|
|
304
|
+
}, O = () => {
|
|
305
|
+
var p;
|
|
306
|
+
o(3, m = "All"), o(2, v = !1), o(1, u = !1);
|
|
307
|
+
let n = (p = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : p[g];
|
|
308
|
+
n ? o(3, m = n) : o(3, m = "All"), o(3, m = x[n]);
|
|
309
|
+
}, F = (n) => {
|
|
310
|
+
o(3, m = n);
|
|
311
|
+
let p = localStorage.getItem("vendorSortingBy");
|
|
312
|
+
S = n;
|
|
313
|
+
for (let z in x)
|
|
314
|
+
if (x[z] === n) {
|
|
315
|
+
S = z;
|
|
316
|
+
break;
|
|
317
|
+
}
|
|
318
|
+
p == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [g]: S })) : (p = JSON.parse(p), p[g] = S, localStorage.setItem("vendorSortingBy", JSON.stringify(p))), window.postMessage(
|
|
319
|
+
{
|
|
320
|
+
type: "ApplySorter",
|
|
321
|
+
sortBy: S,
|
|
322
|
+
itemId: g
|
|
323
|
+
},
|
|
324
|
+
window.location.href
|
|
325
|
+
), o(1, u = !u);
|
|
326
|
+
}, B = () => {
|
|
327
|
+
o(1, u = !u), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
|
328
|
+
}, H = (n) => {
|
|
329
|
+
n.data.type == "FilterOpened" && o(1, u = !1);
|
|
330
|
+
};
|
|
331
|
+
ct(() => (window.addEventListener("message", H, !1), () => {
|
|
332
|
+
window.removeEventListener("message", H);
|
|
333
|
+
}));
|
|
334
|
+
const N = () => B(), _ = (n) => F(n);
|
|
335
|
+
function C(n) {
|
|
336
|
+
dt[n ? "unshift" : "push"](() => {
|
|
337
|
+
y = n, o(0, y);
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
return t.$$set = (n) => {
|
|
341
|
+
"lang" in n && o(8, l = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11, b = n.clientstylingurl), "categoryid" in n && o(12, g = n.categoryid);
|
|
342
|
+
}, t.$$.update = () => {
|
|
343
|
+
t.$$.dirty & /*categoryid*/
|
|
344
|
+
4096 && g && O(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
345
|
+
1025 && d && y && pt(y, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
346
|
+
2049 && b && y && gt(y), t.$$.dirty & /*customStylingContainer*/
|
|
347
|
+
1 && y && ut(y, "Casino.Style"), t.$$.dirty & /*translationurl*/
|
|
348
|
+
512 && i && k();
|
|
349
|
+
}, [
|
|
350
|
+
y,
|
|
351
|
+
u,
|
|
352
|
+
v,
|
|
353
|
+
m,
|
|
354
|
+
a,
|
|
355
|
+
x,
|
|
356
|
+
F,
|
|
357
|
+
B,
|
|
358
|
+
l,
|
|
359
|
+
i,
|
|
360
|
+
d,
|
|
361
|
+
b,
|
|
362
|
+
g,
|
|
363
|
+
N,
|
|
364
|
+
_,
|
|
365
|
+
C
|
|
366
|
+
];
|
|
367
|
+
}
|
|
368
|
+
class vt extends ot {
|
|
369
|
+
constructor(e) {
|
|
370
|
+
super(), nt(
|
|
371
|
+
this,
|
|
372
|
+
e,
|
|
373
|
+
St,
|
|
374
|
+
bt,
|
|
375
|
+
lt,
|
|
376
|
+
{
|
|
377
|
+
lang: 8,
|
|
378
|
+
translationurl: 9,
|
|
379
|
+
clientstyling: 10,
|
|
380
|
+
clientstylingurl: 11,
|
|
381
|
+
categoryid: 12
|
|
382
|
+
},
|
|
383
|
+
yt
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
get lang() {
|
|
387
|
+
return this.$$.ctx[8];
|
|
388
|
+
}
|
|
389
|
+
set lang(e) {
|
|
390
|
+
this.$$set({ lang: e }), T();
|
|
391
|
+
}
|
|
392
|
+
get translationurl() {
|
|
393
|
+
return this.$$.ctx[9];
|
|
394
|
+
}
|
|
395
|
+
set translationurl(e) {
|
|
396
|
+
this.$$set({ translationurl: e }), T();
|
|
397
|
+
}
|
|
398
|
+
get clientstyling() {
|
|
399
|
+
return this.$$.ctx[10];
|
|
400
|
+
}
|
|
401
|
+
set clientstyling(e) {
|
|
402
|
+
this.$$set({ clientstyling: e }), T();
|
|
403
|
+
}
|
|
404
|
+
get clientstylingurl() {
|
|
405
|
+
return this.$$.ctx[11];
|
|
406
|
+
}
|
|
407
|
+
set clientstylingurl(e) {
|
|
408
|
+
this.$$set({ clientstylingurl: e }), T();
|
|
409
|
+
}
|
|
410
|
+
get categoryid() {
|
|
411
|
+
return this.$$.ctx[12];
|
|
412
|
+
}
|
|
413
|
+
set categoryid(e) {
|
|
414
|
+
this.$$set({ categoryid: e }), T();
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {} }, [], [], !0);
|
|
418
|
+
export {
|
|
419
|
+
vt as default
|
|
420
|
+
};
|