@everymatrix/casino-lobby 1.71.1 → 1.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/components/CasinoCalendar-CqIFh2Q5.cjs +19 -0
  2. package/components/{CasinoCalendar-BsOWkLVp.js → CasinoCalendar-D8285A_4.js} +858 -837
  3. package/components/{CasinoCalendar-RmQ6YNrd.js → CasinoCalendar-DaqInWFB.js} +1031 -1010
  4. package/components/{CasinoCalendarDailyDetails-CIDfmzEU.cjs → CasinoCalendarDailyDetails-B_q2ojzj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CZvv-VEw.js → CasinoCalendarDailyDetails-Bawf2lVh.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-CgySlNqk.js → CasinoCalendarDailyDetails-D17fJmHk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-Bqhwdp9N.js → CasinoCalendarDailyItem-C-jXPiMc.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-6fstg8rl.js → CasinoCalendarDailyItem-CNU2dbWb.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-Dn8aZPDI.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BrMd9akG.js → CasinoCategoriesSlider-CeLXgUCx.js} +73 -73
  11. package/components/{CasinoCategoriesSlider-rcQ6H4dN.js → CasinoCategoriesSlider-DH7-Jx22.js} +72 -72
  12. package/components/CasinoCategoriesSlider-Xyi6Epkq.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-RmY6DCmf.js → CasinoCollectionsProviders-BMYO5_oZ.js} +77 -77
  14. package/components/{CasinoCollectionsProviders-X_gMs4dQ.js → CasinoCollectionsProviders-BvTs6B-x.js} +64 -64
  15. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-DYgLBp3O.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-b-j22ATa.js → CasinoFavoritesSection-BKqd6QPI.js} +17 -17
  17. package/components/{CasinoFavoritesSection-D1C6HI9v.js → CasinoFavoritesSection-C70AjovE.js} +17 -17
  18. package/components/{CasinoFavoritesSection-Db99Uv7P.cjs → CasinoFavoritesSection-XYINNBSA.cjs} +1 -1
  19. package/components/CasinoFilter-BcJ-9hhc.js +645 -0
  20. package/components/CasinoFilter-DENEZ_Ic.cjs +1 -0
  21. package/components/CasinoFilter-dnkB-x_S.js +644 -0
  22. package/components/CasinoGameThumbnail-DhG_1DP9.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-MrOCBFNA.js → CasinoGameThumbnail-DoFtJNVa.js} +1253 -1269
  24. package/components/{CasinoGameThumbnail-CeT997Kx.js → CasinoGameThumbnail-fh7soJLK.js} +778 -762
  25. package/components/{CasinoGamesCategorySection-CxiyhVqf.js → CasinoGamesCategorySection-BUme-Htd.js} +246 -246
  26. package/components/{CasinoGamesCategorySection-C8xeG4sY.cjs → CasinoGamesCategorySection-CR3TsCIr.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-Dk6YpheO.js → CasinoGamesCategorySection-DvtiqWF7.js} +249 -249
  28. package/components/{CasinoJackpotBanner-g0X8UAFW.js → CasinoJackpotBanner-Afzkq4td.js} +119 -119
  29. package/components/{CasinoJackpotBanner-CpGio5N4.cjs → CasinoJackpotBanner-SH08_0Ad.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-CUP2An9A.js → CasinoJackpotBanner-THaCe8Q8.js} +113 -113
  31. package/components/{CasinoLastPlayedSection-lO1pohBq.cjs → CasinoLastPlayedSection-1yhfRFjo.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-B668qxot.js → CasinoLastPlayedSection-Rb4msFL_.js} +37 -37
  33. package/components/{CasinoLastPlayedSection-D_0OBhSj.js → CasinoLastPlayedSection-oGkfGBwG.js} +37 -37
  34. package/components/{CasinoLobby-DwdNm6xo.js → CasinoLobby-CQ3V0-l_.js} +57 -57
  35. package/components/{CasinoLobby-BaQGWp9s.js → CasinoLobby-DnWoXtXL.js} +56 -56
  36. package/components/{CasinoLobby-lkQTAmN7.cjs → CasinoLobby-aB9f0zFp.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-C5gy3zyh.js → CasinoMostPlayedSection-BVvh0OQ0.js} +46 -46
  38. package/components/{CasinoMostPlayedSection-87nEdbm3.cjs → CasinoMostPlayedSection-CZOxOZVF.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-CGXfghDB.js → CasinoMostPlayedSection-CckjcAvV.js} +46 -46
  40. package/components/{CasinoMyGames-BC98Tqse.js → CasinoMyGames-BUX8JdRW.js} +39 -39
  41. package/components/{CasinoMyGames-BkWFi0SD.js → CasinoMyGames-DBk0qpL0.js} +42 -42
  42. package/components/{CasinoMyGames-B4eUiwD2.cjs → CasinoMyGames-DMeOP0Ir.cjs} +1 -1
  43. package/components/{CasinoPage-mW7N_X4p.js → CasinoPage-963K0qkA.js} +881 -881
  44. package/components/{CasinoPage-DCj9ufQS.js → CasinoPage-CTQ4pjz5.js} +203 -203
  45. package/components/CasinoPage-DBbBQIRX.cjs +1 -0
  46. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-BtYuGyAc.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BOlMftfW.js → CasinoRandomGame-DR9ShIKc.js} +56 -56
  48. package/components/{CasinoRandomGame-BPoQwGvz.js → CasinoRandomGame-DdY0LMqV.js} +57 -57
  49. package/components/{CasinoSearch-CxY1btEF.js → CasinoSearch-BFj2WAB3.js} +95 -95
  50. package/components/{CasinoSearch-_PkKs4Jp.cjs → CasinoSearch-D41XnJOo.cjs} +1 -1
  51. package/components/{CasinoSearch-DYeI3pnX.js → CasinoSearch-O8BFfuMh.js} +98 -98
  52. package/components/{CasinoSlider-CKrkEFp2.cjs → CasinoSlider-BxMmHxNN.cjs} +1 -1
  53. package/components/{CasinoSlider-mFk7hXGi.js → CasinoSlider-DxPhvmx5.js} +95 -95
  54. package/components/{CasinoSlider-D5pUgU6y.js → CasinoSlider-zDcdSGZI.js} +68 -68
  55. package/components/{CasinoSort-Bu7GAVyk.js → CasinoSort-BqIqZPtn.js} +103 -102
  56. package/components/{CasinoSort-CR3_Z1HP.js → CasinoSort-Bv9Xm47a.js} +111 -112
  57. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-CU7Sv-_a.cjs} +1 -1
  58. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-BJ15FnbR.cjs} +1 -1
  59. package/components/{CasinoWinners-BTigQx6l.js → CasinoWinners-C9LGaZlh.js} +145 -145
  60. package/components/{CasinoWinners-BHsWULT4.js → CasinoWinners-CkNCqfiv.js} +152 -152
  61. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-3ff4R40K.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-BYX0Qvf2.js → GeneralAnimationLoading-Dnw96YoY.js} +16 -16
  63. package/components/{GeneralAnimationLoading-DkDspmaZ.js → GeneralAnimationLoading-oBd_asJT.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-BMX5GkhL.cjs} +2 -2
  69. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-Ct3VSPhq.js} +2 -2
  70. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-DyfvRpYv.js} +2 -2
  71. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  72. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  73. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  74. package/stencil/index-ab3202d6-BXlsno-y.js +559 -0
  75. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +1 -0
  76. package/stencil/index-ab3202d6-ncf4oQhs.js +575 -0
  77. package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
  78. package/stencil/index-b2193545-Dxw-xjac.js +503 -0
  79. package/stencil/index-b2193545-TbRClz6K.js +519 -0
  80. package/stencil/{ui-image-BAqS-hS6.js → ui-image-2_i-_1cj.js} +1 -1
  81. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  82. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  84. package/stencil/{ui-image-I_uR7pAI.js → ui-image-bN_3pDWc.js} +1 -1
  85. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-eY8BEG3a.cjs} +1 -1
  86. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  87. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  88. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  89. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CSMUbPcJ.js} +2 -2
  90. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-CiszU04_.js} +2 -2
  91. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
  92. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
  95. package/components/CasinoCalendar-wYGJExu0.cjs +0 -19
  96. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +0 -1
  97. package/components/CasinoFilter-BG-xQ7Z9.js +0 -645
  98. package/components/CasinoFilter-Czto4aq6.js +0 -644
  99. package/components/CasinoFilter-DSxqwRvu.cjs +0 -1
  100. package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +0 -47
  101. package/components/CasinoPage-CJXFGWAG.cjs +0 -1
  102. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  103. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  104. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  105. package/stencil/index-ab3202d6-CSUArOSv.js +0 -559
  106. package/stencil/index-ab3202d6-CoRS04SH.js +0 -575
  107. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  108. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
  109. package/stencil/index-b2193545-D_cUvAA-.js +0 -519
  110. package/stencil/index-b2193545-kN0z2MLt.js +0 -503
@@ -0,0 +1,645 @@
1
+ import { $ as re, Q as pe, a as me, S as he, i as Fe, s as be, f as I, b as ye, n as ie, d as D, h as j, j as u, k as ve, o as we, M as _e, C as ke, r as o, v as ae, w as Ce, O as ge, m as J, p as s, A as te, F as ee, B as O, q as T, R as ne, D as oe, H as xe, I as Se, J as Ie, K as Le, L as Pe } from "./CasinoCalendar-DaqInWFB.js";
2
+ function Ae({ withLocale: r, translations: e }) {
3
+ re.subscribe((t) => {
4
+ t == null && (pe.set(e), re.set(r));
5
+ });
6
+ }
7
+ function se(r, e) {
8
+ me(r, e);
9
+ }
10
+ const ce = {
11
+ en: {
12
+ providers: "Providers:",
13
+ filterby: "Filter by:",
14
+ all: "All",
15
+ clear: "Clear all"
16
+ },
17
+ zh: {
18
+ providers: "Providers:",
19
+ filterby: "Filter by",
20
+ all: "all",
21
+ clear: "Clear all"
22
+ },
23
+ de: {
24
+ providers: "Providers:",
25
+ filterby: "Filter by:",
26
+ all: "all",
27
+ clear: "Clear all"
28
+ },
29
+ it: {
30
+ providers: "Providers:",
31
+ filterby: "Filter by:",
32
+ all: "all",
33
+ clear: "Clear all"
34
+ },
35
+ fr: {
36
+ providers: "Providers:",
37
+ filterby: "Filter by:",
38
+ all: "all",
39
+ clear: "Clear all"
40
+ },
41
+ es: {
42
+ providers: "Proveedores:",
43
+ filterby: "Filtrar Por:",
44
+ all: "Todos",
45
+ clear: "Limpiar todos"
46
+ },
47
+ tr: {
48
+ providers: "Sağlayıcılar:",
49
+ filterby: "Filtrele:",
50
+ all: "Hepsi",
51
+ clear: "Tümünü Temizle"
52
+ },
53
+ ru: {
54
+ providers: "Providers:",
55
+ filterby: "Filter by:",
56
+ all: "all",
57
+ clear: "Clear all"
58
+ },
59
+ ro: {
60
+ providers: "Providers:",
61
+ filterby: "Filter by:",
62
+ all: "all",
63
+ clear: "Clear all"
64
+ },
65
+ hr: {
66
+ providers: "Brendovi igara",
67
+ filterby: "Filtrirati po:",
68
+ all: "Sve",
69
+ clear: "Očisti sve"
70
+ },
71
+ hu: {
72
+ providers: "Providers:",
73
+ filterby: "Filter by:",
74
+ all: "all",
75
+ clear: "Clear all"
76
+ },
77
+ pl: {
78
+ providers: "Providers:",
79
+ filterby: "Filter by:",
80
+ all: "all",
81
+ clear: "Clear all"
82
+ },
83
+ pt: {
84
+ providers: "Providers:",
85
+ filterby: "Filter by:",
86
+ all: "all",
87
+ clear: "Clear all"
88
+ },
89
+ sl: {
90
+ providers: "Providers:",
91
+ filterby: "Filter by:",
92
+ all: "all",
93
+ clear: "Clear all"
94
+ },
95
+ sr: {
96
+ providers: "Providers:",
97
+ filterby: "Filter by:",
98
+ all: "all",
99
+ clear: "Clear all"
100
+ },
101
+ "pt-br": {
102
+ providers: "Provedores:",
103
+ filterby: "Filtrar por",
104
+ all: "Tudo",
105
+ clear: "Apagar tudo"
106
+ },
107
+ "es-mx": {
108
+ providers: "Proveedores:",
109
+ filterby: "Filtrar por",
110
+ all: "Todo",
111
+ clear: "Borrar todo"
112
+ },
113
+ "en-us": {
114
+ providers: "Providers:",
115
+ filterby: "Filter by:",
116
+ all: "All",
117
+ clear: "Clear all"
118
+ }
119
+ };
120
+ function Oe(r) {
121
+ ye(r, "svelte-14m0j7n", ':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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 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 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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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%}}');
122
+ }
123
+ function de(r, e, t) {
124
+ const i = r.slice();
125
+ return i[37] = e[t], i[38] = e, i[39] = t, i;
126
+ }
127
+ function Ee(r) {
128
+ let e, t, i, a, d, h, v, w, b = (
129
+ /*$_*/
130
+ r[11]("filterby") + ""
131
+ ), g, k, y, E, P = (
132
+ /*$_*/
133
+ r[11]("providers") + ""
134
+ ), x, C, F, p, f, L, B, z, R, _, M, Q, A, V = (
135
+ /*$_*/
136
+ r[11]("clear") + ""
137
+ ), q, W, K, H, U, X;
138
+ function Y(n, m) {
139
+ return (
140
+ /*fullSelection*/
141
+ n[7] ? Me : Be
142
+ );
143
+ }
144
+ let Z = Y(r), S = Z(r), N = ae(
145
+ /*vendorArray*/
146
+ r[5]
147
+ ), l = [];
148
+ for (let n = 0; n < N.length; n += 1)
149
+ l[n] = fe(de(r, N, n));
150
+ return {
151
+ c() {
152
+ e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), d = ee("path"), h = O(), v = u("div"), w = u("span"), g = T(b), k = O(), y = u("div"), E = u("span"), x = T(P), C = O(), S.c(), F = O(), p = u("span"), f = ee("svg"), L = ee("path"), R = O(), _ = u("div"), M = u("ul");
153
+ for (let n = 0; n < l.length; n += 1)
154
+ l[n].c();
155
+ Q = O(), A = u("button"), q = T(V), o(d, "id", "noun_filter_736223"), o(d, "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"), o(d, "transform", "translate(-5 -6.2)"), o(d, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(L, "id", "arrow"), o(L, "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"), o(L, "transform", "translate(-274.511 -441.088)"), o(L, "fill", "#d1d1d1"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "14"), o(f, "height", "6.835"), o(f, "viewBox", "0 0 14 6.835"), o(p, "class", B = "TriangleInactive " + /*isFilterActive*/
156
+ (r[4] ? "TriangleActive" : "")), o(t, "class", z = "FilterSelector " + /*isFilterActive*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(A, "class", "ClearFilters"), A.disabled = W = /*fullSelection*/
158
+ r[7] && /*selectedVendorArray*/
159
+ r[6].length != /*vendorArray*/
160
+ r[5].length, o(_, "class", K = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
+ (r[0] == "true" && /*addsortingselector*/
163
+ r[1] == "true" ? "FilerContainerSplit" : ""));
164
+ },
165
+ m(n, m) {
166
+ j(n, e, m), s(e, t), s(t, i), s(i, a), s(a, d), s(i, h), s(i, v), s(v, w), s(w, g), s(v, k), s(v, y), s(y, E), s(E, x), s(y, C), S.m(y, null), s(t, F), s(t, p), s(p, f), s(f, L), s(e, R), s(e, _), s(_, M);
167
+ for (let c = 0; c < l.length; c += 1)
168
+ l[c] && l[c].m(M, null);
169
+ s(_, Q), s(_, A), s(A, q), U || (X = [
170
+ te(
171
+ t,
172
+ "click",
173
+ /*click_handler*/
174
+ r[24]
175
+ ),
176
+ te(
177
+ A,
178
+ "click",
179
+ /*click_handler_2*/
180
+ r[27]
181
+ )
182
+ ], U = !0);
183
+ },
184
+ p(n, m) {
185
+ if (m[0] & /*$_*/
186
+ 2048 && b !== (b = /*$_*/
187
+ n[11]("filterby") + "") && J(g, b), m[0] & /*$_*/
188
+ 2048 && P !== (P = /*$_*/
189
+ n[11]("providers") + "") && J(x, P), Z === (Z = Y(n)) && S ? S.p(n, m) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), m[0] & /*isFilterActive*/
190
+ 16 && B !== (B = "TriangleInactive " + /*isFilterActive*/
191
+ (n[4] ? "TriangleActive" : "")) && o(p, "class", B), m[0] & /*isFilterActive*/
192
+ 16 && z !== (z = "FilterSelector " + /*isFilterActive*/
193
+ (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", z), m[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
+ 8228) {
195
+ N = ae(
196
+ /*vendorArray*/
197
+ n[5]
198
+ );
199
+ let c;
200
+ for (c = 0; c < N.length; c += 1) {
201
+ const G = de(n, N, c);
202
+ l[c] ? l[c].p(G, m) : (l[c] = fe(G), l[c].c(), l[c].m(M, null));
203
+ }
204
+ for (; c < l.length; c += 1)
205
+ l[c].d(1);
206
+ l.length = N.length;
207
+ }
208
+ m[0] & /*$_*/
209
+ 2048 && V !== (V = /*$_*/
210
+ n[11]("clear") + "") && J(q, V), m[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && W !== (W = /*fullSelection*/
212
+ n[7] && /*selectedVendorArray*/
213
+ n[6].length != /*vendorArray*/
214
+ n[5].length) && (A.disabled = W), m[0] & /*isFilterActive*/
215
+ 16 && K !== (K = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (n[4] ? "FilterOpen" : "")) && o(_, "class", K), m[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
218
+ (n[0] == "true" && /*addsortingselector*/
219
+ n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
+ },
221
+ d(n) {
222
+ n && D(e), S.d(), Ce(l, n), U = !1, ge(X);
223
+ }
224
+ };
225
+ }
226
+ function Te(r) {
227
+ let e, t = (
228
+ /*$_*/
229
+ r[11]("500") + ""
230
+ );
231
+ return {
232
+ c() {
233
+ e = u("p"), o(e, "class", "SearchLoading");
234
+ },
235
+ m(i, a) {
236
+ j(i, e, a), e.innerHTML = t;
237
+ },
238
+ p(i, a) {
239
+ a[0] & /*$_*/
240
+ 2048 && t !== (t = /*$_*/
241
+ i[11]("500") + "") && (e.innerHTML = t);
242
+ },
243
+ d(i) {
244
+ i && D(e);
245
+ }
246
+ };
247
+ }
248
+ function Be(r) {
249
+ let e, t;
250
+ return {
251
+ c() {
252
+ e = u("span"), t = T(
253
+ /*selectionNumber*/
254
+ r[8]
255
+ ), o(e, "class", "FilterCounter");
256
+ },
257
+ m(i, a) {
258
+ j(i, e, a), s(e, t);
259
+ },
260
+ p(i, a) {
261
+ a[0] & /*selectionNumber*/
262
+ 256 && J(
263
+ t,
264
+ /*selectionNumber*/
265
+ i[8]
266
+ );
267
+ },
268
+ d(i) {
269
+ i && D(e);
270
+ }
271
+ };
272
+ }
273
+ function Me(r) {
274
+ let e, t = (
275
+ /*$_*/
276
+ r[11]("all") + ""
277
+ ), i;
278
+ return {
279
+ c() {
280
+ e = u("span"), i = T(t), o(e, "class", "FilterCounter");
281
+ },
282
+ m(a, d) {
283
+ j(a, e, d), s(e, i);
284
+ },
285
+ p(a, d) {
286
+ d[0] & /*$_*/
287
+ 2048 && t !== (t = /*$_*/
288
+ a[11]("all") + "") && J(i, t);
289
+ },
290
+ d(a) {
291
+ a && D(e);
292
+ }
293
+ };
294
+ }
295
+ function Ne(r) {
296
+ let e, t;
297
+ return {
298
+ c() {
299
+ e = u("img"), oe(e.src, t = /*vendor*/
300
+ r[37].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
+ },
302
+ m(i, a) {
303
+ j(i, e, a);
304
+ },
305
+ p(i, a) {
306
+ a[0] & /*vendorArray*/
307
+ 32 && !oe(e.src, t = /*vendor*/
308
+ i[37].logo) && o(e, "src", t);
309
+ },
310
+ d(i) {
311
+ i && D(e);
312
+ }
313
+ };
314
+ }
315
+ function De(r) {
316
+ let e, t, i = (
317
+ /*vendor*/
318
+ r[37].name + ""
319
+ ), a, d, h, v, w = (
320
+ /*vendor*/
321
+ r[37].games.total + ""
322
+ ), b, g;
323
+ return {
324
+ c() {
325
+ e = u("div"), t = u("span"), a = T(i), d = O(), h = u("span"), v = T("("), b = T(w), g = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
326
+ },
327
+ m(k, y) {
328
+ j(k, e, y), s(e, t), s(t, a), s(e, d), s(e, h), s(h, v), s(h, b), s(h, g);
329
+ },
330
+ p(k, y) {
331
+ y[0] & /*vendorArray*/
332
+ 32 && i !== (i = /*vendor*/
333
+ k[37].name + "") && J(a, i), y[0] & /*vendorArray*/
334
+ 32 && w !== (w = /*vendor*/
335
+ k[37].games.total + "") && J(b, w);
336
+ },
337
+ d(k) {
338
+ k && D(e);
339
+ }
340
+ };
341
+ }
342
+ function fe(r) {
343
+ let e, t, i, a, d, h, v, w, b, g, k, y;
344
+ function E() {
345
+ r[25].call(
346
+ i,
347
+ /*each_value*/
348
+ r[38],
349
+ /*vendor_index*/
350
+ r[39]
351
+ );
352
+ }
353
+ function P() {
354
+ return (
355
+ /*click_handler_1*/
356
+ r[26](
357
+ /*vendor*/
358
+ r[37]
359
+ )
360
+ );
361
+ }
362
+ function x(p, f) {
363
+ if (
364
+ /*filterbylogo*/
365
+ p[2] === "false"
366
+ )
367
+ return De;
368
+ if (
369
+ /*filterbylogo*/
370
+ p[2] === "true"
371
+ )
372
+ return Ne;
373
+ }
374
+ let C = x(r), F = C && C(r);
375
+ return {
376
+ c() {
377
+ e = u("li"), t = u("label"), i = u("input"), d = O(), h = u("span"), v = O(), F && F.c(), w = O(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
+ r[37].name, ne(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
379
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
380
+ r[37].name;
381
+ },
382
+ m(p, f) {
383
+ j(p, e, f), s(e, t), s(t, i), i.checked = /*vendor*/
384
+ r[37].isFilterSelected, s(t, d), s(t, h), s(t, v), F && F.m(t, null), s(e, w), k || (y = [
385
+ te(i, "change", E),
386
+ te(i, "click", P)
387
+ ], k = !0);
388
+ },
389
+ p(p, f) {
390
+ r = p, f[0] & /*vendorArray*/
391
+ 32 && a !== (a = /*vendor*/
392
+ r[37].name) && (i.__value = a, ne(i, i.__value)), f[0] & /*vendorArray*/
393
+ 32 && (i.checked = /*vendor*/
394
+ r[37].isFilterSelected), C === (C = x(r)) && F ? F.p(r, f) : (F && F.d(1), F = C && C(r), F && (F.c(), F.m(t, null))), f[0] & /*filterbylogo*/
395
+ 4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), f[0] & /*vendorArray*/
397
+ 32 && g !== (g = /*vendor*/
398
+ r[37].name) && (e.value = g);
399
+ },
400
+ d(p) {
401
+ p && D(e), F && F.d(), k = !1, ge(y);
402
+ }
403
+ };
404
+ }
405
+ function je(r) {
406
+ let e;
407
+ function t(d, h) {
408
+ if (
409
+ /*hasErrors*/
410
+ d[10]
411
+ )
412
+ return Te;
413
+ if (!/*isLoading*/
414
+ d[9])
415
+ return Ee;
416
+ }
417
+ let i = t(r), a = i && i(r);
418
+ return {
419
+ c() {
420
+ e = u("div"), a && a.c();
421
+ },
422
+ m(d, h) {
423
+ j(d, e, h), a && a.m(e, null), r[28](e);
424
+ },
425
+ p(d, h) {
426
+ i === (i = t(d)) && a ? a.p(d, h) : (a && a.d(1), a = i && i(d), a && (a.c(), a.m(e, null)));
427
+ },
428
+ i: ie,
429
+ o: ie,
430
+ d(d) {
431
+ d && D(e), a && a.d(), r[28](null);
432
+ }
433
+ };
434
+ }
435
+ function ze(r, e, t) {
436
+ let i;
437
+ ve(r, Pe, (l) => t(11, i = l));
438
+ let { endpoint: a = "" } = e, { datasource: d = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: x = "false" } = e, C = !1, F = window.navigator.userAgent, p = [], f = [], L = {}, B = !1, z = 0, R = !0, _, M = !1;
439
+ Ae({ withLocale: "en", translations: {} });
440
+ const Q = () => {
441
+ fetch(v).then((n) => n.json()).then((n) => {
442
+ Object.keys(n).forEach((m) => {
443
+ se(m, n[m]);
444
+ });
445
+ }).catch((n) => {
446
+ console.log(n);
447
+ });
448
+ };
449
+ Object.keys(ce).forEach((l) => {
450
+ se(l, ce[l]);
451
+ }), L[g] && (L = { [g]: [] });
452
+ const A = () => {
453
+ t(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
+ }, V = (l) => (t(9, R = !0), new Promise((n, m) => {
455
+ fetch(l).then((c) => c.json()).then((c) => {
456
+ c = c.items, n(c.items), t(6, f = []);
457
+ let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
+ const ue = x === "true" ? "*" : g;
459
+ c.forEach(($) => {
460
+ var le;
461
+ G || (G = { currentCategoryId: [] }), ((le = G[ue]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, f.push($)) : $.isFilterSelected = !1;
462
+ }), t(5, p = c), W();
463
+ }).catch((c) => {
464
+ console.error(c), t(10, M = !0), m(c);
465
+ }).finally(() => {
466
+ t(9, R = !1);
467
+ });
468
+ })), q = (l) => {
469
+ let n = localStorage.getItem("vendorFiltersByCategory");
470
+ l.isFilterSelected = !l.isFilterSelected, !f.length || f.filter((c) => c.name === l.name).length == 0 ? f.push(l) : t(6, f = f.filter((c) => c.name !== l.name));
471
+ const m = x === "true" ? "*" : g;
472
+ n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
473
+ [m]: f.map((c) => c.id)
474
+ })) : (n = JSON.parse(n), n[m] = f.map((c) => c.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
475
+ }, W = () => {
476
+ t(7, B = f.length === p.length || f.length == 0), t(8, z = f.length);
477
+ }, K = () => {
478
+ if (p.length && x === "true")
479
+ return;
480
+ const l = new URL(`${a}/v1/casino/vendors`);
481
+ t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", d), l.searchParams.append("platform", _e(F)), x === "true" || ((g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`)), V(l);
482
+ }, H = () => {
483
+ t(6, f = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
484
+ [x === "true" ? "*" : g]: f.map((l) => l.id)
485
+ })), p.forEach((l) => l.isFilterSelected = !1), t(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, B = !0), t(4, C = !1);
486
+ }, U = (l) => {
487
+ l.data.type == "SortingOpened" && t(4, C = !1);
488
+ };
489
+ we(() => (window.addEventListener("message", U, !1), () => {
490
+ window.removeEventListener("message", U);
491
+ }));
492
+ const X = () => A();
493
+ function Y(l, n) {
494
+ l[n].isFilterSelected = this.checked, t(5, p);
495
+ }
496
+ const Z = (l) => q(l), S = () => H();
497
+ function N(l) {
498
+ ke[l ? "unshift" : "push"](() => {
499
+ _ = l, t(3, _);
500
+ });
501
+ }
502
+ return r.$$set = (l) => {
503
+ "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, d = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, g = l.categoryid), "addfilterselector" in l && t(0, k = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, E = l.filterbylogo), "mbsource" in l && t(22, P = l.mbsource), "usesinglevendorfilter" in l && t(23, x = l.usesinglevendorfilter);
504
+ }, r.$$.update = () => {
505
+ r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
506
+ 2195460 && a && d && g && E && K(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
+ 524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
508
+ 1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
509
+ 4194312 && _ && Ie(_, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
510
+ 262144 && v && Q();
511
+ }, [
512
+ k,
513
+ y,
514
+ E,
515
+ _,
516
+ C,
517
+ p,
518
+ f,
519
+ B,
520
+ z,
521
+ R,
522
+ M,
523
+ i,
524
+ A,
525
+ q,
526
+ H,
527
+ a,
528
+ d,
529
+ h,
530
+ v,
531
+ w,
532
+ b,
533
+ g,
534
+ P,
535
+ x,
536
+ X,
537
+ Y,
538
+ Z,
539
+ S,
540
+ N
541
+ ];
542
+ }
543
+ class Ve extends he {
544
+ constructor(e) {
545
+ super(), Fe(
546
+ this,
547
+ e,
548
+ ze,
549
+ je,
550
+ be,
551
+ {
552
+ endpoint: 15,
553
+ datasource: 16,
554
+ lang: 17,
555
+ translationurl: 18,
556
+ clientstyling: 19,
557
+ clientstylingurl: 20,
558
+ categoryid: 21,
559
+ addfilterselector: 0,
560
+ addsortingselector: 1,
561
+ filterbylogo: 2,
562
+ mbsource: 22,
563
+ usesinglevendorfilter: 23
564
+ },
565
+ Oe,
566
+ [-1, -1]
567
+ );
568
+ }
569
+ get endpoint() {
570
+ return this.$$.ctx[15];
571
+ }
572
+ set endpoint(e) {
573
+ this.$$set({ endpoint: e }), I();
574
+ }
575
+ get datasource() {
576
+ return this.$$.ctx[16];
577
+ }
578
+ set datasource(e) {
579
+ this.$$set({ datasource: e }), I();
580
+ }
581
+ get lang() {
582
+ return this.$$.ctx[17];
583
+ }
584
+ set lang(e) {
585
+ this.$$set({ lang: e }), I();
586
+ }
587
+ get translationurl() {
588
+ return this.$$.ctx[18];
589
+ }
590
+ set translationurl(e) {
591
+ this.$$set({ translationurl: e }), I();
592
+ }
593
+ get clientstyling() {
594
+ return this.$$.ctx[19];
595
+ }
596
+ set clientstyling(e) {
597
+ this.$$set({ clientstyling: e }), I();
598
+ }
599
+ get clientstylingurl() {
600
+ return this.$$.ctx[20];
601
+ }
602
+ set clientstylingurl(e) {
603
+ this.$$set({ clientstylingurl: e }), I();
604
+ }
605
+ get categoryid() {
606
+ return this.$$.ctx[21];
607
+ }
608
+ set categoryid(e) {
609
+ this.$$set({ categoryid: e }), I();
610
+ }
611
+ get addfilterselector() {
612
+ return this.$$.ctx[0];
613
+ }
614
+ set addfilterselector(e) {
615
+ this.$$set({ addfilterselector: e }), I();
616
+ }
617
+ get addsortingselector() {
618
+ return this.$$.ctx[1];
619
+ }
620
+ set addsortingselector(e) {
621
+ this.$$set({ addsortingselector: e }), I();
622
+ }
623
+ get filterbylogo() {
624
+ return this.$$.ctx[2];
625
+ }
626
+ set filterbylogo(e) {
627
+ this.$$set({ filterbylogo: e }), I();
628
+ }
629
+ get mbsource() {
630
+ return this.$$.ctx[22];
631
+ }
632
+ set mbsource(e) {
633
+ this.$$set({ mbsource: e }), I();
634
+ }
635
+ get usesinglevendorfilter() {
636
+ return this.$$.ctx[23];
637
+ }
638
+ set usesinglevendorfilter(e) {
639
+ this.$$set({ usesinglevendorfilter: e }), I();
640
+ }
641
+ }
642
+ Le(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
643
+ export {
644
+ Ve as default
645
+ };