@everymatrix/casino-lobby 1.62.0 → 1.62.2

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.
Files changed (127) hide show
  1. package/components/CasinoCalendar-B4GcXKnc.cjs +22 -0
  2. package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-CinFtvuW.js} +1099 -1078
  3. package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-zRo_9Za0.js} +873 -852
  4. package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-Cn37GUIj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-DL8uHwSN.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-qkwXMyxI.js} +49 -49
  7. package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-Bo9evLEj.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-DcqDKyz5.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-DoK3veTp.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-BBVXEukg.js} +70 -70
  11. package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-YxbN9BpC.js} +71 -71
  12. package/components/CasinoCategoriesSlider-n2yKGzdi.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BvaxV9cb.js} +77 -77
  14. package/components/CasinoCollectionsProviders-CPX65G1M.cjs +1 -0
  15. package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-Q0qcn7b_.js} +58 -58
  16. package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-B1f0uSCY.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-CR--CUNF.js} +23 -23
  18. package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-DG1Vt4HX.js} +23 -23
  19. package/components/CasinoFilter-ChsEa9Bx.js +645 -0
  20. package/components/CasinoFilter-DbcntrTg.js +644 -0
  21. package/components/CasinoFilter-DhiwjMr2.cjs +1 -0
  22. package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-C7LOIY6s.js} +783 -783
  23. package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-CmF8v1Cv.cjs} +6 -6
  24. package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-DccB7M76.js} +746 -746
  25. package/components/CasinoGameThumbnail-BtO5lRYS.cjs +38 -0
  26. package/components/CasinoGameThumbnail-CZYWQzTY.js +1836 -0
  27. package/components/CasinoGameThumbnail-DZFIn3jP.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-CQaK0CN3.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-CujQbdKb.js} +249 -249
  30. package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-DFNU_Gsz.js} +332 -332
  31. package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-BhgV3UvA.js} +131 -131
  32. package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-CkVmxLVH.js} +163 -163
  33. package/components/CasinoJackpotBanner-D5DqHlAR.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-CE97lSQ6.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-CTorwEQu.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-U57Y5miR.cjs} +1 -1
  37. package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-80EyIh80.js} +74 -74
  38. package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-C1-TdZOS.cjs} +1 -1
  39. package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-hiqWHHHg.js} +73 -73
  40. package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-7GCtnm_K.cjs} +1 -1
  41. package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-DRoX6zuP.js} +43 -43
  42. package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-DTJpGGWW.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-CKuVf-En.js} +44 -44
  44. package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-Cptq1E56.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-oxfCPIeN.js} +44 -44
  46. package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-DhHqogUJ.cjs} +1 -1
  47. package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-gq_8VbcF.js} +47 -47
  48. package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-sC9ouRW_.js} +51 -51
  49. package/components/{CasinoPage-BfG57-mo.js → CasinoPage-BCAEtuBw.js} +77 -77
  50. package/components/{CasinoPage-DlenCL5e.js → CasinoPage-Bh2MrJ1P.js} +77 -77
  51. package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-BzbZtzqt.cjs} +1 -1
  52. package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-CbQvQHMi.js} +165 -166
  53. package/components/CasinoRandomGame-D4bGW7wH.cjs +2 -0
  54. package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-neIdOgUC.js} +201 -202
  55. package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B65DzQEn.js} +69 -69
  56. package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-BYuM1VFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-d7Y-IpLr.js} +69 -69
  58. package/components/CasinoSlider-CotyciEv.cjs +1 -0
  59. package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DGETBGTm.js} +177 -178
  60. package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-TfFHBss2.js} +228 -229
  61. package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-B-2h6Htw.js} +110 -111
  62. package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-Cmgp5JM5.js} +104 -103
  63. package/components/{CasinoSort-Big21575.cjs → CasinoSort-X6V8pABW.cjs} +1 -1
  64. package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-BSQs3S54.js} +151 -151
  65. package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CuaTZjz4.cjs} +1 -1
  66. package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-CyDC7j5x.js} +138 -138
  67. package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-B1-7gNLR.js} +18 -18
  68. package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-BV3DII71.js} +18 -18
  69. package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-DasE8cAb.cjs} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  75. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  76. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  77. package/stencil/index-97d17652-B8yQdy7J.js +542 -0
  78. package/stencil/index-97d17652-C616IYj2.js +558 -0
  79. package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
  80. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  81. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  82. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  83. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  84. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  85. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  86. package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
  87. package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
  88. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
  89. package/stencil/ui-image-BSTP7sZO.js +7 -0
  90. package/stencil/ui-image-C3XzpHRB.cjs +1 -0
  91. package/stencil/ui-image-CYB9UUHg.js +25 -0
  92. package/stencil/ui-image_2-BXgptLvl.js +154 -0
  93. package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
  94. package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
  95. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  96. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  97. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  98. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  99. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  100. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  101. package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
  102. package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
  103. package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
  104. package/components/CasinoFilter-CAtpk4a4.js +0 -645
  105. package/components/CasinoFilter-CtjgbEie.js +0 -646
  106. package/components/CasinoFilter-dn8i37bN.cjs +0 -1
  107. package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
  108. package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
  109. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
  110. package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
  111. package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
  112. package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
  113. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  114. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  115. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  116. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  117. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  118. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  119. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  120. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  121. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  122. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  123. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  124. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  125. package/stencil/ui-image-CzWACXX6.js +0 -11
  126. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  127. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -1,646 +0,0 @@
1
- import { $ as ae, U as he, a as Fe, S as be, i as ye, f as L, c as ve, s as we, b as _e, e as g, d as B, G as ne, j as V, k as Ce, o as ke, l as xe, P as Se, q as Ie, r as Le, m as Pe, v as oe, K as ee, w as O, x as D, y as n, z as o, A as te, E as j, F as Ae, R as pe, V as se, J as Oe, I as ce, H as re } from "./CasinoCalendar-DwNK-Krf.js";
2
- import "../stencil/ui-image-shmNN3yX.js";
3
- function De({ withLocale: r, translations: e }) {
4
- ae.subscribe((l) => {
5
- l == null && (he.set(e), ae.set(r));
6
- });
7
- }
8
- function de(r, e) {
9
- Fe(r, e);
10
- }
11
- const ue = {
12
- en: {
13
- providers: "Providers:",
14
- filterby: "Filter by:",
15
- all: "All",
16
- clear: "Clear all"
17
- },
18
- zh: {
19
- providers: "Providers:",
20
- filterby: "Filter by",
21
- all: "all",
22
- clear: "Clear all"
23
- },
24
- de: {
25
- providers: "Providers:",
26
- filterby: "Filter by:",
27
- all: "all",
28
- clear: "Clear all"
29
- },
30
- it: {
31
- providers: "Providers:",
32
- filterby: "Filter by:",
33
- all: "all",
34
- clear: "Clear all"
35
- },
36
- fr: {
37
- providers: "Providers:",
38
- filterby: "Filter by:",
39
- all: "all",
40
- clear: "Clear all"
41
- },
42
- es: {
43
- providers: "Proveedores:",
44
- filterby: "Filtrar Por:",
45
- all: "Todos",
46
- clear: "Limpiar todos"
47
- },
48
- tr: {
49
- providers: "Sağlayıcılar:",
50
- filterby: "Filtrele:",
51
- all: "Hepsi",
52
- clear: "Tümünü Temizle"
53
- },
54
- ru: {
55
- providers: "Providers:",
56
- filterby: "Filter by:",
57
- all: "all",
58
- clear: "Clear all"
59
- },
60
- ro: {
61
- providers: "Providers:",
62
- filterby: "Filter by:",
63
- all: "all",
64
- clear: "Clear all"
65
- },
66
- hr: {
67
- providers: "Brendovi igara",
68
- filterby: "Filtrirati po:",
69
- all: "Sve",
70
- clear: "Očisti sve"
71
- },
72
- hu: {
73
- providers: "Providers:",
74
- filterby: "Filter by:",
75
- all: "all",
76
- clear: "Clear all"
77
- },
78
- pl: {
79
- providers: "Providers:",
80
- filterby: "Filter by:",
81
- all: "all",
82
- clear: "Clear all"
83
- },
84
- pt: {
85
- providers: "Providers:",
86
- filterby: "Filter by:",
87
- all: "all",
88
- clear: "Clear all"
89
- },
90
- sl: {
91
- providers: "Providers:",
92
- filterby: "Filter by:",
93
- all: "all",
94
- clear: "Clear all"
95
- },
96
- sr: {
97
- providers: "Providers:",
98
- filterby: "Filter by:",
99
- all: "all",
100
- clear: "Clear all"
101
- },
102
- "pt-br": {
103
- providers: "Provedores:",
104
- filterby: "Filtrar por",
105
- all: "Tudo",
106
- clear: "Apagar tudo"
107
- },
108
- "es-mx": {
109
- providers: "Proveedores:",
110
- filterby: "Filtrar por",
111
- all: "Todo",
112
- clear: "Borrar todo"
113
- },
114
- "en-us": {
115
- providers: "Providers:",
116
- filterby: "Filter by:",
117
- all: "All",
118
- clear: "Clear all"
119
- }
120
- };
121
- function Te(r) {
122
- _e(r, "svelte-1o2ogwk", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{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;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{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}.FilterDropdownContainer{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:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{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))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label ui-image img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;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}.ClearFilters: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){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
123
- }
124
- function fe(r, e, l) {
125
- const i = r.slice();
126
- return i[37] = e[l], i[38] = e, i[39] = l, i;
127
- }
128
- function Ne(r) {
129
- let e, l, i, a, s, m, v, w, b = (
130
- /*$_*/
131
- r[11]("filterby") + ""
132
- ), f, k, y, T, A = (
133
- /*$_*/
134
- r[11]("providers") + ""
135
- ), S, x, F, p, c, P, E, W, U, _, M, Q, N, J = (
136
- /*$_*/
137
- r[11]("clear") + ""
138
- ), q, H, R, G, K, X;
139
- function Y(t, d) {
140
- return (
141
- /*fullSelection*/
142
- t[7] ? ze : Me
143
- );
144
- }
145
- let Z = Y(r), I = Z(r), z = oe(
146
- /*vendorArray*/
147
- r[5]
148
- ), C = [];
149
- for (let t = 0; t < z.length; t += 1)
150
- C[t] = ge(fe(r, z, t));
151
- return {
152
- c() {
153
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), f = D(b), k = O(), y = g("div"), T = g("span"), S = D(A), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), P = ee("path"), U = O(), _ = g("div"), M = g("ul");
154
- for (let t = 0; t < C.length; t += 1)
155
- C[t].c();
156
- Q = O(), N = g("button"), q = D(J), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(P, "id", "arrow"), n(P, "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"), n(P, "transform", "translate(-274.511 -441.088)"), n(P, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", E = "TriangleInactive " + /*isFilterActive*/
157
- (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
158
- (r[4] ? "FilterSelectorOpen" : "")), n(M, "class", "FilterDropdown"), n(N, "class", "ClearFilters"), N.disabled = H = /*fullSelection*/
159
- r[7] && /*selectedVendorArray*/
160
- r[6].length != /*vendorArray*/
161
- r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
162
- (r[4] ? "FilterOpen" : "")), n(e, "class", G = "FilterContainer " + /*addfilterselector*/
163
- (r[0] == "true" && /*addsortingselector*/
164
- r[1] == "true" ? "FilerContainerSplit" : ""));
165
- },
166
- m(t, d) {
167
- B(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, f), o(v, k), o(v, y), o(y, T), o(T, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, P), o(e, U), o(e, _), o(_, M);
168
- for (let u = 0; u < C.length; u += 1)
169
- C[u] && C[u].m(M, null);
170
- o(_, Q), o(_, N), o(N, q), K || (X = [
171
- te(
172
- l,
173
- "click",
174
- /*click_handler*/
175
- r[24]
176
- ),
177
- te(
178
- N,
179
- "click",
180
- /*click_handler_2*/
181
- r[27]
182
- )
183
- ], K = !0);
184
- },
185
- p(t, d) {
186
- if (d[0] & /*$_*/
187
- 2048 && b !== (b = /*$_*/
188
- t[11]("filterby") + "") && j(f, b), d[0] & /*$_*/
189
- 2048 && A !== (A = /*$_*/
190
- t[11]("providers") + "") && j(S, A), Z === (Z = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Z(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
191
- 16 && E !== (E = "TriangleInactive " + /*isFilterActive*/
192
- (t[4] ? "TriangleActive" : "")) && n(p, "class", E), d[0] & /*isFilterActive*/
193
- 16 && W !== (W = "FilterSelector " + /*isFilterActive*/
194
- (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
195
- 8228) {
196
- z = oe(
197
- /*vendorArray*/
198
- t[5]
199
- );
200
- let u;
201
- for (u = 0; u < z.length; u += 1) {
202
- const h = fe(t, z, u);
203
- C[u] ? C[u].p(h, d) : (C[u] = ge(h), C[u].c(), C[u].m(M, null));
204
- }
205
- for (; u < C.length; u += 1)
206
- C[u].d(1);
207
- C.length = z.length;
208
- }
209
- d[0] & /*$_*/
210
- 2048 && J !== (J = /*$_*/
211
- t[11]("clear") + "") && j(q, J), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
212
- 224 && H !== (H = /*fullSelection*/
213
- t[7] && /*selectedVendorArray*/
214
- t[6].length != /*vendorArray*/
215
- t[5].length) && (N.disabled = H), d[0] & /*isFilterActive*/
216
- 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
217
- (t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
218
- 3 && G !== (G = "FilterContainer " + /*addfilterselector*/
219
- (t[0] == "true" && /*addsortingselector*/
220
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", G);
221
- },
222
- d(t) {
223
- t && V(e), I.d(), Ae(C, t), K = !1, pe(X);
224
- }
225
- };
226
- }
227
- function Ee(r) {
228
- let e, l = (
229
- /*$_*/
230
- r[11]("500") + ""
231
- ), i;
232
- return {
233
- c() {
234
- e = g("p"), i = D(l), n(e, "class", "SearchLoading");
235
- },
236
- m(a, s) {
237
- B(a, e, s), o(e, i);
238
- },
239
- p(a, s) {
240
- s[0] & /*$_*/
241
- 2048 && l !== (l = /*$_*/
242
- a[11]("500") + "") && j(i, l);
243
- },
244
- d(a) {
245
- a && V(e);
246
- }
247
- };
248
- }
249
- function Me(r) {
250
- let e, l;
251
- return {
252
- c() {
253
- e = g("span"), l = D(
254
- /*selectionNumber*/
255
- r[8]
256
- ), n(e, "class", "FilterCounter");
257
- },
258
- m(i, a) {
259
- B(i, e, a), o(e, l);
260
- },
261
- p(i, a) {
262
- a[0] & /*selectionNumber*/
263
- 256 && j(
264
- l,
265
- /*selectionNumber*/
266
- i[8]
267
- );
268
- },
269
- d(i) {
270
- i && V(e);
271
- }
272
- };
273
- }
274
- function ze(r) {
275
- let e, l = (
276
- /*$_*/
277
- r[11]("all") + ""
278
- ), i;
279
- return {
280
- c() {
281
- e = g("span"), i = D(l), n(e, "class", "FilterCounter");
282
- },
283
- m(a, s) {
284
- B(a, e, s), o(e, i);
285
- },
286
- p(a, s) {
287
- s[0] & /*$_*/
288
- 2048 && l !== (l = /*$_*/
289
- a[11]("all") + "") && j(i, l);
290
- },
291
- d(a) {
292
- a && V(e);
293
- }
294
- };
295
- }
296
- function je(r) {
297
- let e, l;
298
- return {
299
- c() {
300
- e = g("ui-image"), ce(e.src, l = /*vendor*/
301
- r[37].logo) || re(e, "src", l), re(e, "alt", "vendor logo");
302
- },
303
- m(i, a) {
304
- B(i, e, a);
305
- },
306
- p(i, a) {
307
- a[0] & /*vendorArray*/
308
- 32 && !ce(e.src, l = /*vendor*/
309
- i[37].logo) && re(e, "src", l);
310
- },
311
- d(i) {
312
- i && V(e);
313
- }
314
- };
315
- }
316
- function Be(r) {
317
- let e, l, i = (
318
- /*vendor*/
319
- r[37].name + ""
320
- ), a, s, m, v, w = (
321
- /*vendor*/
322
- r[37].games.total + ""
323
- ), b, f;
324
- return {
325
- c() {
326
- e = g("div"), l = g("span"), a = D(i), s = O(), m = g("span"), v = D("("), b = D(w), f = D(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
327
- },
328
- m(k, y) {
329
- B(k, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, f);
330
- },
331
- p(k, y) {
332
- y[0] & /*vendorArray*/
333
- 32 && i !== (i = /*vendor*/
334
- k[37].name + "") && j(a, i), y[0] & /*vendorArray*/
335
- 32 && w !== (w = /*vendor*/
336
- k[37].games.total + "") && j(b, w);
337
- },
338
- d(k) {
339
- k && V(e);
340
- }
341
- };
342
- }
343
- function ge(r) {
344
- let e, l, i, a, s, m, v, w, b, f, k, y;
345
- function T() {
346
- r[25].call(
347
- i,
348
- /*each_value*/
349
- r[38],
350
- /*vendor_index*/
351
- r[39]
352
- );
353
- }
354
- function A() {
355
- return (
356
- /*click_handler_1*/
357
- r[26](
358
- /*vendor*/
359
- r[37]
360
- )
361
- );
362
- }
363
- function S(p, c) {
364
- if (
365
- /*filterbylogo*/
366
- p[2] === "false"
367
- )
368
- return Be;
369
- if (
370
- /*filterbylogo*/
371
- p[2] === "true"
372
- )
373
- return je;
374
- }
375
- let x = S(r), F = x && x(r);
376
- return {
377
- c() {
378
- e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
379
- r[37].name, se(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
380
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
381
- r[37].name;
382
- },
383
- m(p, c) {
384
- B(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
385
- r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), k || (y = [
386
- te(i, "change", T),
387
- te(i, "click", A)
388
- ], k = !0);
389
- },
390
- p(p, c) {
391
- r = p, c[0] & /*vendorArray*/
392
- 32 && a !== (a = /*vendor*/
393
- r[37].name) && (i.__value = a, se(i, i.__value)), c[0] & /*vendorArray*/
394
- 32 && (i.checked = /*vendor*/
395
- r[37].isFilterSelected), x === (x = S(r)) && F ? F.p(r, c) : (F && F.d(1), F = x && x(r), F && (F.c(), F.m(l, null))), c[0] & /*filterbylogo*/
396
- 4 && b !== (b = "FilterItem " + /*filterbylogo*/
397
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", b), c[0] & /*vendorArray*/
398
- 32 && f !== (f = /*vendor*/
399
- r[37].name) && (e.value = f);
400
- },
401
- d(p) {
402
- p && V(e), F && F.d(), k = !1, pe(y);
403
- }
404
- };
405
- }
406
- function Ve(r) {
407
- let e;
408
- function l(s, m) {
409
- if (
410
- /*hasErrors*/
411
- s[10]
412
- )
413
- return Ee;
414
- if (!/*isLoading*/
415
- s[9])
416
- return Ne;
417
- }
418
- let i = l(r), a = i && i(r);
419
- return {
420
- c() {
421
- e = g("div"), a && a.c();
422
- },
423
- m(s, m) {
424
- B(s, e, m), a && a.m(e, null), r[28](e);
425
- },
426
- p(s, m) {
427
- i === (i = l(s)) && a ? a.p(s, m) : (a && a.d(1), a = i && i(s), a && (a.c(), a.m(e, null)));
428
- },
429
- i: ne,
430
- o: ne,
431
- d(s) {
432
- s && V(e), a && a.d(), r[28](null);
433
- }
434
- };
435
- }
436
- function We(r, e, l) {
437
- let i;
438
- Ce(r, Oe, (t) => l(11, i = t));
439
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: f = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: A } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], P = {}, E = !1, W = 0, U = !0, _, M = !1, Q;
440
- De({ withLocale: "en", translations: {} });
441
- const N = () => {
442
- fetch(v).then((d) => d.json()).then((d) => {
443
- Object.keys(d).forEach((u) => {
444
- de(u, d[u]);
445
- });
446
- }).catch((d) => {
447
- console.log(d);
448
- });
449
- };
450
- Object.keys(ue).forEach((t) => {
451
- de(t, ue[t]);
452
- }), P[f] && (P = { [f]: [] });
453
- const J = () => {
454
- l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
455
- }, q = (t) => (l(9, U = !0), new Promise((d, u) => {
456
- fetch(t).then((h) => h.json()).then((h) => {
457
- h = h.items, d(h.items), l(6, c = []);
458
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
459
- const me = S === "true" ? "*" : f;
460
- h.forEach(($) => {
461
- var ie;
462
- le || (le = { currentCategoryId: [] }), ((ie = le[me]) == null ? void 0 : ie.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
463
- }), l(5, p = h), R();
464
- }).catch((h) => {
465
- console.error(h), l(10, M = !0), u(h);
466
- }).finally(() => {
467
- l(9, U = !1);
468
- });
469
- })), H = (t) => {
470
- let d = localStorage.getItem("vendorFiltersByCategory");
471
- t.isFilterSelected = !t.isFilterSelected, !c.length || c.filter((h) => h.name === t.name).length == 0 ? c.push(t) : l(6, c = c.filter((h) => h.name !== t.name));
472
- const u = S === "true" ? "*" : f;
473
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
474
- [u]: c.map((h) => h.id)
475
- })) : (d = JSON.parse(d), d[u] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
476
- }, R = () => {
477
- l(7, E = c.length === p.length || c.length == 0), l(8, W = c.length);
478
- }, G = () => {
479
- if (p.length && S === "true")
480
- return;
481
- const t = new URL(`${a}/v1/casino/vendors`);
482
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", Se(F)), S === "true" || ((f.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${f})`), t.searchParams.append("subVendors", `games(subGroups=${f})`)) : t.searchParams.append("filter", `games(groups=${f})`)), q(t);
483
- }, K = () => {
484
- l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
485
- [S === "true" ? "*" : f]: c.map((t) => t.id)
486
- })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, E = !0), l(4, x = !1);
487
- }, X = (t) => {
488
- t.data.type == "SortingOpened" && l(4, x = !1);
489
- };
490
- ke(() => (window.addEventListener("message", X, !1), () => {
491
- window.emMessageBus != null && Q && Q.unsubscribe(), window.removeEventListener("message", X);
492
- }));
493
- const Y = () => J();
494
- function Z(t, d) {
495
- t[d].isFilterSelected = this.checked, l(5, p);
496
- }
497
- const I = (t) => H(t), z = () => K();
498
- function C(t) {
499
- Ie[t ? "unshift" : "push"](() => {
500
- _ = t, l(3, _);
501
- });
502
- }
503
- return r.$$set = (t) => {
504
- "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, f = t.categoryid), "addfilterselector" in t && l(0, k = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, T = t.filterbylogo), "mbsource" in t && l(22, A = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
505
- }, r.$$.update = () => {
506
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
507
- 2195460 && a && s && f && T && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
508
- 524296 && w && _ && Le(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
509
- 1048584 && b && _ && xe(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
510
- 4194312 && _ && Pe(_, `${A}.Style`), r.$$.dirty[0] & /*translationurl*/
511
- 262144 && v && N();
512
- }, [
513
- k,
514
- y,
515
- T,
516
- _,
517
- x,
518
- p,
519
- c,
520
- E,
521
- W,
522
- U,
523
- M,
524
- i,
525
- J,
526
- H,
527
- K,
528
- a,
529
- s,
530
- m,
531
- v,
532
- w,
533
- b,
534
- f,
535
- A,
536
- S,
537
- Y,
538
- Z,
539
- I,
540
- z,
541
- C
542
- ];
543
- }
544
- class Je extends be {
545
- constructor(e) {
546
- super(), ye(
547
- this,
548
- e,
549
- We,
550
- Ve,
551
- we,
552
- {
553
- endpoint: 15,
554
- datasource: 16,
555
- lang: 17,
556
- translationurl: 18,
557
- clientstyling: 19,
558
- clientstylingurl: 20,
559
- categoryid: 21,
560
- addfilterselector: 0,
561
- addsortingselector: 1,
562
- filterbylogo: 2,
563
- mbsource: 22,
564
- usesinglevendorfilter: 23
565
- },
566
- Te,
567
- [-1, -1]
568
- );
569
- }
570
- get endpoint() {
571
- return this.$$.ctx[15];
572
- }
573
- set endpoint(e) {
574
- this.$$set({ endpoint: e }), L();
575
- }
576
- get datasource() {
577
- return this.$$.ctx[16];
578
- }
579
- set datasource(e) {
580
- this.$$set({ datasource: e }), L();
581
- }
582
- get lang() {
583
- return this.$$.ctx[17];
584
- }
585
- set lang(e) {
586
- this.$$set({ lang: e }), L();
587
- }
588
- get translationurl() {
589
- return this.$$.ctx[18];
590
- }
591
- set translationurl(e) {
592
- this.$$set({ translationurl: e }), L();
593
- }
594
- get clientstyling() {
595
- return this.$$.ctx[19];
596
- }
597
- set clientstyling(e) {
598
- this.$$set({ clientstyling: e }), L();
599
- }
600
- get clientstylingurl() {
601
- return this.$$.ctx[20];
602
- }
603
- set clientstylingurl(e) {
604
- this.$$set({ clientstylingurl: e }), L();
605
- }
606
- get categoryid() {
607
- return this.$$.ctx[21];
608
- }
609
- set categoryid(e) {
610
- this.$$set({ categoryid: e }), L();
611
- }
612
- get addfilterselector() {
613
- return this.$$.ctx[0];
614
- }
615
- set addfilterselector(e) {
616
- this.$$set({ addfilterselector: e }), L();
617
- }
618
- get addsortingselector() {
619
- return this.$$.ctx[1];
620
- }
621
- set addsortingselector(e) {
622
- this.$$set({ addsortingselector: e }), L();
623
- }
624
- get filterbylogo() {
625
- return this.$$.ctx[2];
626
- }
627
- set filterbylogo(e) {
628
- this.$$set({ filterbylogo: e }), L();
629
- }
630
- get mbsource() {
631
- return this.$$.ctx[22];
632
- }
633
- set mbsource(e) {
634
- this.$$set({ mbsource: e }), L();
635
- }
636
- get usesinglevendorfilter() {
637
- return this.$$.ctx[23];
638
- }
639
- set usesinglevendorfilter(e) {
640
- this.$$set({ usesinglevendorfilter: e }), L();
641
- }
642
- }
643
- ve(Je, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
644
- export {
645
- Je as default
646
- };