@everymatrix/casino-page-nd 1.76.11 → 1.76.13

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 (93) hide show
  1. package/components/{CasinoCalendar-dCsBOCh4.cjs → CasinoCalendar-1EiuG4ja.cjs} +1 -1
  2. package/components/{CasinoCalendar-mfSLB8Ze.js → CasinoCalendar-DDXo_sLW.js} +25 -25
  3. package/components/{CasinoCalendar-DWprq3Up.js → CasinoCalendar-DdCnnpAB.js} +4 -4
  4. package/components/{CasinoCalendarDailyDetails-3C8wq3Kf.cjs → CasinoCalendarDailyDetails-C27NHVH_.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Cm0lICEn.js → CasinoCalendarDailyDetails-CQZJ4CVD.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-DvqRVPua.js → CasinoCalendarDailyDetails-CY7B1lxS.js} +14 -14
  7. package/components/{CasinoCalendarDailyItem-C_FN646X.cjs → CasinoCalendarDailyItem-BqL5H57o.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-CZlYfyPq.js → CasinoCalendarDailyItem-CwQkhLDC.js} +17 -17
  9. package/components/{CasinoCalendarDailyItem-CzzCu3b9.js → CasinoCalendarDailyItem-DGbWXxCR.js} +2 -2
  10. package/components/{CasinoCollectionsProviders-CWyeNZSU.js → CasinoCollectionsProviders-BoWCBksj.js} +38 -38
  11. package/components/{CasinoCollectionsProviders-LcGduY03.js → CasinoCollectionsProviders-D9evjksc.js} +1 -1
  12. package/components/{CasinoCollectionsProviders-qWvxMAY4.cjs → CasinoCollectionsProviders-DuN6pZVH.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-D7PT7RRj.js → CasinoFavoritesSectionNd-CGOlvGdM.js} +48 -40
  14. package/components/CasinoFavoritesSectionNd-CvXJsyAP.cjs +1 -0
  15. package/components/{CasinoFavoritesSectionNd-BO5Gv4XQ.js → CasinoFavoritesSectionNd-H7nx1r94.js} +47 -39
  16. package/components/{CasinoFilter-DaDCgGyI.cjs → CasinoFilter-Da1iRlYf.cjs} +1 -1
  17. package/components/{CasinoFilter-BxbFkTPB.js → CasinoFilter-DnMTdTn9.js} +32 -32
  18. package/components/{CasinoFilter-CKKGIb12.js → CasinoFilter-KfWVyYe3.js} +1 -1
  19. package/components/{CasinoGameThumbnailNd-BQ1wqZ-e.js → CasinoGameThumbnailNd-Bzu_4Oxw.js} +2 -2
  20. package/components/{CasinoGameThumbnailNd-CmRsAJDi.cjs → CasinoGameThumbnailNd-CZW4Modc.cjs} +1 -1
  21. package/components/{CasinoGameThumbnailNd-Dcordt0f.js → CasinoGameThumbnailNd-NR9WwTZ6.js} +8 -8
  22. package/components/CasinoGamesCategorySectionNd-CIcaCq68.cjs +1 -0
  23. package/components/{CasinoGamesCategorySectionNd-BGZ-ePsT.js → CasinoGamesCategorySectionNd-CblCav-m.js} +200 -192
  24. package/components/{CasinoGamesCategorySectionNd-CKAJcNzR.js → CasinoGamesCategorySectionNd-Rm6DYIBP.js} +217 -209
  25. package/components/{CasinoJackpotBanner-B96gNAcA.cjs → CasinoJackpotBanner-BwX1dP1o.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-BWmZP7BL.js → CasinoJackpotBanner-C6wXEguN.js} +15 -15
  27. package/components/{CasinoJackpotBanner-DqIZizFB.js → CasinoJackpotBanner-MCIBXYea.js} +2 -2
  28. package/components/{CasinoLastPlayedSectionNd-BgOVZqPi.cjs → CasinoLastPlayedSectionNd-Bxs8eYQG.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-D5fz5x-v.js → CasinoLastPlayedSectionNd-CN3yKI9-.js} +25 -25
  30. package/components/{CasinoLastPlayedSectionNd-BmLauasH.js → CasinoLastPlayedSectionNd-fAiSSaIh.js} +2 -2
  31. package/components/{CasinoMostPlayedSectionNd-DxpDBvyi.js → CasinoMostPlayedSectionNd-B1at83la.js} +30 -30
  32. package/components/{CasinoMostPlayedSectionNd-Scrl1-r0.cjs → CasinoMostPlayedSectionNd-C-cloax-.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-CDSQQPLi.js → CasinoMostPlayedSectionNd-G7f4yFDo.js} +2 -2
  34. package/components/{CasinoMyGamesNd-DyvlKH0N.js → CasinoMyGamesNd-Bj2okvQP.js} +4 -4
  35. package/components/CasinoMyGamesNd-CxF3mFQs.cjs +1 -0
  36. package/components/{CasinoMyGamesNd-B0RMhNOQ.js → CasinoMyGamesNd-DwAtzu1i.js} +23 -23
  37. package/components/{CasinoPageNd-CdikoQYm.js → CasinoPageNd-B6pJElK0.js} +1161 -1222
  38. package/components/{CasinoPageNd-BBnA0Inr.js → CasinoPageNd-Bo7ns-k8.js} +1075 -1136
  39. package/components/CasinoPageNd-DxVmo3F5.cjs +1 -0
  40. package/components/{CasinoRandomGame-DgwvXr3L.js → CasinoRandomGame-8L_f477H.js} +14 -14
  41. package/components/{CasinoRandomGame-BXQZCC2U.cjs → CasinoRandomGame-CxZ9BOdC.cjs} +1 -1
  42. package/components/{CasinoRandomGame-_9lAMA2P.js → CasinoRandomGame-DlzNumMI.js} +26 -26
  43. package/components/{CasinoSearchNd-C893ijmJ.cjs → CasinoSearchNd-BGNGhn3i.cjs} +1 -1
  44. package/components/{CasinoSearchNd-C7QNS9Ai.js → CasinoSearchNd-DHWo9Sq0.js} +3 -3
  45. package/components/{CasinoSearchNd-DQ2c9d3i.js → CasinoSearchNd-DlBxnUCa.js} +23 -23
  46. package/components/{CasinoSort-CKm8hNbY.cjs → CasinoSort-BXkq0BBq.cjs} +1 -1
  47. package/components/{CasinoSort-D187w5tA.js → CasinoSort-D-B4gJyW.js} +1 -1
  48. package/components/{CasinoSort-BNREfqiL.js → CasinoSort-DNllDxl4.js} +36 -36
  49. package/components/{CasinoWinners-C4hnivSF.js → CasinoWinners-BXurlLis.js} +2 -2
  50. package/components/{CasinoWinners-CfPd4kzY.js → CasinoWinners-Gp8fceSt.js} +43 -43
  51. package/components/{CasinoWinners-433auKih.cjs → CasinoWinners-eDycJCzQ.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-DRvkLtzi.cjs → GeneralAnimationLoading-CGEL9clS.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-CuOjTz53.js → GeneralAnimationLoading-DZ1wrvtM.js} +1 -1
  54. package/components/{GeneralAnimationLoading-DnAbjVes.js → GeneralAnimationLoading-vgt-l_aE.js} +4 -4
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-CNkwfnjq.js → casino-play-random-game-BpDaQ8lr.js} +5 -1
  60. package/stencil/casino-play-random-game-BtyKwZuB.cjs +1 -0
  61. package/stencil/{casino-play-random-game-BkPr2CWQ.js → casino-play-random-game-DkvncoWi.js} +5 -1
  62. package/stencil/{casino-play-random-game_2-Cr07t-U3.js → casino-play-random-game_2-BdD78js8.js} +2 -2
  63. package/stencil/{casino-play-random-game_2-rMFQqRp8.js → casino-play-random-game_2-C2bZyPjR.js} +2 -2
  64. package/stencil/{casino-play-random-game_2-BJVoDn1D.cjs → casino-play-random-game_2-CYSobUaR.cjs} +1 -1
  65. package/stencil/index-242ac81a-BqeIndhr.js +554 -0
  66. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  67. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  68. package/stencil/{index-328e660d-Dti9H7_B.js → index-328e660d-B9ooleuJ.js} +91 -90
  69. package/stencil/{index-328e660d-Cex2hzsG.js → index-328e660d-C6jlVqfy.js} +96 -95
  70. package/stencil/{index-328e660d-MaaYKutI.cjs → index-328e660d-D9ZPPQF8.cjs} +1 -1
  71. package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
  72. package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
  73. package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
  74. package/stencil/ui-image-BTT8PTe6.js +25 -0
  75. package/stencil/ui-image-Bj3y-YhF.js +7 -0
  76. package/stencil/ui-image-SXcjABMO.cjs +1 -0
  77. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-B21W_djK.js} +2 -2
  78. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  79. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-VgK3B8gQ.js} +2 -2
  80. package/components/CasinoFavoritesSectionNd-BIfrHNCv.cjs +0 -1
  81. package/components/CasinoGamesCategorySectionNd-BWwBc-gL.cjs +0 -1
  82. package/components/CasinoMyGamesNd-C5_wy8U9.cjs +0 -1
  83. package/components/CasinoPageNd-C6XEbbie.cjs +0 -1
  84. package/stencil/casino-play-random-game-CIgnME2D.cjs +0 -1
  85. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  86. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  87. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  88. package/stencil/ui-image-5q4WODJu.cjs +0 -1
  89. package/stencil/ui-image-CfZf6HBq.js +0 -7
  90. package/stencil/ui-image-CtfMdADr.js +0 -25
  91. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
  92. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
  93. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as j, d as Q, D as R, E as L, m as A, r as u, G as O, h as X, p as r, A as Y, j as c, B, q as W, k as Z, o as $, l as ee, C as P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-DWprq3Up.js";
2
- import "../stencil/ui-image-CtfMdADr.js";
1
+ import { a as N, $ as U, S as J, i as K, s as V, f as y, b as G, n as j, d as Q, E as R, F as L, p as O, u, H as W, h as X, q as r, B as Y, j as c, C as B, r as A, k as Z, l as $, o as ee, m as te, D as P, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-DDXo_sLW.js";
2
+ import "../stencil/ui-image-Bj3y-YhF.js";
3
3
  function q(a, t) {
4
4
  N(a, t);
5
5
  }
@@ -75,7 +75,7 @@ const H = {
75
75
  }
76
76
  };
77
77
  function de(a) {
78
- V(a, "svelte-l9b1y7", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
78
+ G(a, "svelte-l9b1y7", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
79
79
  }
80
80
  function le(a) {
81
81
  let t, i, w, l, f, F, n, g, s, m, v, b, h = (
@@ -85,7 +85,7 @@ function le(a) {
85
85
  ), x, p, o, T, _, C, z, S, k, E, M;
86
86
  return {
87
87
  c() {
88
- t = c("div"), i = c("div"), w = c("div"), l = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', F = B(), n = c("div"), g = c("div"), s = c("ui-image"), v = B(), b = c("div"), x = W(h), p = B(), o = c("div"), T = B(), _ = c("div"), C = c("button"), z = W(
88
+ t = c("div"), i = c("div"), w = c("div"), l = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', F = B(), n = c("div"), g = c("div"), s = c("ui-image"), v = B(), b = c("div"), x = A(h), p = B(), o = c("div"), T = B(), _ = c("div"), C = c("button"), z = A(
89
89
  /*dailybuttontitle*/
90
90
  a[3]
91
91
  ), u(f, "class", "CalendarBar"), R(s.src, m = /*dailyicon*/
@@ -95,7 +95,7 @@ function le(a) {
95
95
  /*dailyicon*/
96
96
  a[1]
97
97
  ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(C, "class", "MoreInfoButton"), u(_, "class", "CasinoCalendarDailyItemButton"), u(n, "class", S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
- a[4] == "OpenCalendarModal" ? "Tear" : "")), O(n, "--background-image-url", "url('" + /*dailybackground*/
98
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), W(n, "--background-image-url", "url('" + /*dailybackground*/
99
99
  a[0] + "')"), u(l, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(i, "class", k = "Container " + /*mobileView*/
100
100
  (a[7] ? "Mobile" : ""));
101
101
  },
@@ -119,15 +119,15 @@ function le(a) {
119
119
  ), e & /*$_, dailyday*/
120
120
  260 && h !== (h = /*$_*/
121
121
  d[8](`${/*dailyday*/
122
- d[2]}`) + "") && A(x, h), e & /*dailybuttontitle*/
123
- 8 && A(
122
+ d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
123
+ 8 && O(
124
124
  z,
125
125
  /*dailybuttontitle*/
126
126
  d[3]
127
127
  ), e & /*index*/
128
128
  16 && S !== (S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
129
  d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S), e & /*dailybackground*/
130
- 1 && O(n, "--background-image-url", "url('" + /*dailybackground*/
130
+ 1 && W(n, "--background-image-url", "url('" + /*dailybackground*/
131
131
  d[0] + "')"), e & /*mobileView*/
132
132
  128 && k !== (k = "Container " + /*mobileView*/
133
133
  (d[7] ? "Mobile" : "")) && u(i, "class", k);
@@ -141,7 +141,7 @@ function le(a) {
141
141
  }
142
142
  function se(a, t, i) {
143
143
  let w;
144
- Z(a, re, (e) => i(8, w = e));
144
+ Z(a, $, (e) => i(8, w = e));
145
145
  let { lang: l = "" } = t, { dailybackground: f = "" } = t, { dailyicon: F = "" } = t, { dailyday: n = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: s = "" } = t, { index: m = "0" } = t, { mbsource: v } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, T = !1, _ = window.navigator.userAgent;
146
146
  const C = () => {
147
147
  oe(l);
@@ -165,7 +165,7 @@ function se(a, t, i) {
165
165
  }, k = () => {
166
166
  window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
167
  };
168
- $(() => (ee(_) && i(7, T = !0), () => {
168
+ ee(() => (te(_) && i(7, T = !0), () => {
169
169
  }));
170
170
  function E(e) {
171
171
  P[e ? "unshift" : "push"](() => {
@@ -185,9 +185,9 @@ function se(a, t, i) {
185
185
  1024 && l && C(), a.$$.dirty & /*lang, translationurl*/
186
186
  33792 && l && x && z(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
187
  2063 && F && n && g && s && f && S(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
- 8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
- 16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
- 4128 && v && o && ie(o, `${v}.Style`);
188
+ 8224 && b && o && ae(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && ie(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && v && o && ne(o, `${v}.Style`);
191
191
  }, [
192
192
  f,
193
193
  F,
@@ -210,14 +210,14 @@ function se(a, t, i) {
210
210
  d
211
211
  ];
212
212
  }
213
- class ue extends G {
213
+ class ue extends J {
214
214
  constructor(t) {
215
- super(), J(
215
+ super(), K(
216
216
  this,
217
217
  t,
218
218
  se,
219
219
  le,
220
- K,
220
+ V,
221
221
  {
222
222
  lang: 10,
223
223
  dailybackground: 0,
@@ -301,7 +301,7 @@ class ue extends G {
301
301
  this.$$set({ translationurl: t }), y();
302
302
  }
303
303
  }
304
- ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
304
+ re(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
305
  export {
306
306
  ue as default
307
307
  };
@@ -1,5 +1,5 @@
1
- import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as j, d as Q, D as R, E as L, m as A, r as u, G as O, h as X, p as r, A as Y, j as c, B, q as W, k as Z, o as $, l as ee, C as P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-mfSLB8Ze.js";
2
- import "../stencil/ui-image-CfZf6HBq.js";
1
+ import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as j, d as Q, D as R, E as L, m as A, r as u, G as O, h as X, p as r, A as Y, j as c, B, q as W, k as Z, o as $, l as ee, C as P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-DdCnnpAB.js";
2
+ import "../stencil/ui-image-BTT8PTe6.js";
3
3
  function q(a, t) {
4
4
  N(a, t);
5
5
  }
@@ -1,4 +1,4 @@
1
- import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, b as Se, n as T, d as j, h as x, j as y, k as ke, o as Ge, l as Pe, C as Y, r as m, v as B, w as ne, m as I, p as b, q as R, B as F, M as Le, A as H, G as N, D as O, N as Me, H as je, I as xe, J as Fe, K as Te, L as Be } from "./CasinoCalendar-mfSLB8Ze.js";
1
+ import { a as be, $ as Ce, S as ye, i as _e, s as we, f as M, b as Se, n as T, d as x, h as j, j as y, k as ke, l as Ge, o as Pe, m as Le, D as Y, u as m, w as B, x as ne, p as I, q as b, r as R, C as F, M as Me, B as H, H as A, E as O, N as xe, I as je, J as Fe, K as Te, L as Be } from "./CasinoCalendar-DDXo_sLW.js";
2
2
  function D(t, e) {
3
3
  be(t, e);
4
4
  }
@@ -143,7 +143,7 @@ function ze(t) {
143
143
  (t[0] === "vendor" ? "Providers" : "Collections"));
144
144
  },
145
145
  m(d, g) {
146
- x(d, e, g), b(e, i), b(i, n), b(n, r), b(i, c), s && s.m(i, null), b(e, _), b(e, C);
146
+ j(d, e, g), b(e, i), b(i, n), b(n, r), b(i, c), s && s.m(i, null), b(e, _), b(e, C);
147
147
  for (let h = 0; h < a.length; h += 1)
148
148
  a[h] && a[h].m(C, null);
149
149
  t[25](C);
@@ -180,22 +180,22 @@ function ze(t) {
180
180
  (d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", S);
181
181
  },
182
182
  d(d) {
183
- d && j(e), s && s.d(), ne(a, d), t[25](null);
183
+ d && x(e), s && s.d(), ne(a, d), t[25](null);
184
184
  }
185
185
  };
186
186
  }
187
- function Ae(t) {
187
+ function Ee(t) {
188
188
  let e;
189
189
  return {
190
190
  c() {
191
191
  e = y("div"), m(e, "class", "LoadingSpinner");
192
192
  },
193
193
  m(i, n) {
194
- x(i, e, n);
194
+ j(i, e, n);
195
195
  },
196
196
  p: T,
197
197
  d(i) {
198
- i && j(e);
198
+ i && x(e);
199
199
  }
200
200
  };
201
201
  }
@@ -206,7 +206,7 @@ function te(t) {
206
206
  e = y("div"), i = y("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), l = y("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
207
207
  },
208
208
  m(_, C) {
209
- x(_, e, C), b(e, i), b(e, n), b(e, l), r || (c = [
209
+ j(_, e, C), b(e, i), b(e, n), b(e, l), r || (c = [
210
210
  H(
211
211
  i,
212
212
  "click",
@@ -223,11 +223,11 @@ function te(t) {
223
223
  },
224
224
  p: T,
225
225
  d(_) {
226
- _ && j(e), r = !1, Le(c);
226
+ _ && x(e), r = !1, Me(c);
227
227
  }
228
228
  };
229
229
  }
230
- function Ee(t) {
230
+ function Ne(t) {
231
231
  let e, i = (
232
232
  /*category*/
233
233
  t[41].name + ""
@@ -237,7 +237,7 @@ function Ee(t) {
237
237
  e = y("p"), n = R(i), m(e, "class", "CategorySlideTitle");
238
238
  },
239
239
  m(l, r) {
240
- x(l, e, r), b(e, n);
240
+ j(l, e, r), b(e, n);
241
241
  },
242
242
  p(l, r) {
243
243
  r[0] & /*gameCategories*/
@@ -245,11 +245,11 @@ function Ee(t) {
245
245
  l[41].name + "") && I(n, i);
246
246
  },
247
247
  d(l) {
248
- l && j(e);
248
+ l && x(e);
249
249
  }
250
250
  };
251
251
  }
252
- function Ne(t) {
252
+ function Ae(t) {
253
253
  let e, i, n;
254
254
  return {
255
255
  c() {
@@ -258,7 +258,7 @@ function Ne(t) {
258
258
  t[41].name + " icon");
259
259
  },
260
260
  m(l, r) {
261
- x(l, e, r);
261
+ j(l, e, r);
262
262
  },
263
263
  p(l, r) {
264
264
  r[0] & /*gameCategories*/
@@ -268,7 +268,7 @@ function Ne(t) {
268
268
  l[41].name + " icon") && m(e, "alt", n);
269
269
  },
270
270
  d(l) {
271
- l && j(e);
271
+ l && x(e);
272
272
  }
273
273
  };
274
274
  }
@@ -283,7 +283,7 @@ function ie(t) {
283
283
  t[44].name);
284
284
  },
285
285
  m(r, c) {
286
- x(r, e, c), b(e, n);
286
+ j(r, e, c), b(e, n);
287
287
  },
288
288
  p(r, c) {
289
289
  c[0] & /*gameCategories*/
@@ -293,7 +293,7 @@ function ie(t) {
293
293
  r[44].name) && m(e, "title", l);
294
294
  },
295
295
  d(r) {
296
- r && j(e);
296
+ r && x(e);
297
297
  }
298
298
  };
299
299
  }
@@ -319,7 +319,7 @@ function oe(t) {
319
319
  t[44].name), m(e, "class", "CategorySlideGames");
320
320
  },
321
321
  m(f, a) {
322
- x(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C = H(i, "click", Me(S)), _ = !0);
322
+ j(f, e, a), b(e, i), b(e, r), s && s.m(e, null), b(e, c), _ || (C = H(i, "click", xe(S)), _ = !0);
323
323
  },
324
324
  p(f, a) {
325
325
  t = f, a[0] & /*gameCategories*/
@@ -330,7 +330,7 @@ function oe(t) {
330
330
  t[2] == "true" ? s ? s.p(t, a) : (s = ie(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
331
331
  },
332
332
  d(f) {
333
- f && j(e), s && s.d(), _ = !1, C();
333
+ f && x(e), s && s.d(), _ = !1, C();
334
334
  }
335
335
  };
336
336
  }
@@ -341,12 +341,12 @@ function le(t) {
341
341
  /*titletype*/
342
342
  u[1] === "logo"
343
343
  )
344
- return Ne;
344
+ return Ae;
345
345
  if (
346
346
  /*titletype*/
347
347
  u[1] === "title"
348
348
  )
349
- return Ee;
349
+ return Ne;
350
350
  }
351
351
  let f = s(t), a = f && f(t), d = B(
352
352
  /*category*/
@@ -369,11 +369,11 @@ function le(t) {
369
369
  for (let u = 0; u < g.length; u += 1)
370
370
  g[u].c();
371
371
  _ = F(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
372
- (t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
373
- t[41]?.background + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
372
+ (t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), A(i, "background-image", "url(" + /*category*/
373
+ t[41]?.background + ")"), A(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
374
374
  },
375
375
  m(u, v) {
376
- x(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
376
+ j(u, e, v), b(e, i), b(i, n), a && a.m(n, null), b(i, l), b(i, r);
377
377
  for (let p = 0; p < g.length; p += 1)
378
378
  g[p] && g[p].m(r, null);
379
379
  b(e, _), C || (S = H(i, "click", h), C = !0);
@@ -397,11 +397,11 @@ function le(t) {
397
397
  v[0] & /*gameCategories*/
398
398
  8 && c !== (c = "CategorySlide " + /*category*/
399
399
  (t[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), v[0] & /*gameCategories*/
400
- 8 && N(i, "background-image", "url(" + /*category*/
400
+ 8 && A(i, "background-image", "url(" + /*category*/
401
401
  t[41]?.background + ")");
402
402
  },
403
403
  d(u) {
404
- u && j(e), a && a.d(), ne(g, u), C = !1, S();
404
+ u && x(e), a && a.d(), ne(g, u), C = !1, S();
405
405
  }
406
406
  };
407
407
  }
@@ -410,7 +410,7 @@ function Ie(t) {
410
410
  function i(r, c) {
411
411
  return (
412
412
  /*isLoading*/
413
- r[6] ? Ae : ze
413
+ r[6] ? Ee : ze
414
414
  );
415
415
  }
416
416
  let n = i(t), l = n(t);
@@ -419,7 +419,7 @@ function Ie(t) {
419
419
  e = y("div"), l.c();
420
420
  },
421
421
  m(r, c) {
422
- x(r, e, c), l.m(e, null), t[26](e);
422
+ j(r, e, c), l.m(e, null), t[26](e);
423
423
  },
424
424
  p(r, c) {
425
425
  n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
@@ -427,14 +427,14 @@ function Ie(t) {
427
427
  i: T,
428
428
  o: T,
429
429
  d(r) {
430
- r && j(e), l.d(), t[26](null);
430
+ r && x(e), l.d(), t[26](null);
431
431
  }
432
432
  };
433
433
  }
434
434
  function Re(t, e, i) {
435
435
  let n;
436
- ke(t, Be, (o) => i(10, n = o));
437
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U, z, q = 0, A = 50, E = !1, G, re = window.navigator.userAgent, V;
436
+ ke(t, Ge, (o) => i(10, n = o));
437
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: C = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, v = 0, p = 0, k = 0, U, z, q = 0, E = 50, N = !1, G, re = window.navigator.userAgent, V;
438
438
  const ae = () => {
439
439
  fetch(f).then((w) => w.json()).then((w) => {
440
440
  Object.keys(w).forEach((P) => {
@@ -449,8 +449,8 @@ function Re(t, e, i) {
449
449
  });
450
450
  const W = () => {
451
451
  const o = new URL(`${l}/v2/casino/groups/${r}`);
452
- o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${A}`), fetch(o.href).then((w) => w.json()).then((w) => {
453
- i(6, h = !1), w.total > A && (q += 50, A += 50, i(22, E = !0));
452
+ o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
453
+ i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
454
454
  let P = w.items.map((L) => ({
455
455
  id: L.id,
456
456
  name: L.name,
@@ -501,7 +501,7 @@ function Re(t, e, i) {
501
501
  }, ue = () => {
502
502
  He(c);
503
503
  };
504
- Ge(() => (i(9, V = Pe(re)), () => {
504
+ Pe(() => (i(9, V = Le(re)), () => {
505
505
  }));
506
506
  const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
507
507
  function pe(o) {
@@ -522,10 +522,10 @@ function Re(t, e, i) {
522
522
  24 && g && u && K(), t.$$.dirty[0] & /*lang*/
523
523
  131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
524
524
  262176 && S && G && je(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
525
- 524320 && s && G && xe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
526
- 2097184 && G && Fe(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
525
+ 524320 && s && G && Fe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
526
+ 2097184 && G && Te(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
527
527
  1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
528
- 4194304 && E && W();
528
+ 4194304 && N && W();
529
529
  }, [
530
530
  _,
531
531
  C,
@@ -549,7 +549,7 @@ function Re(t, e, i) {
549
549
  s,
550
550
  f,
551
551
  d,
552
- E,
552
+ N,
553
553
  me,
554
554
  fe,
555
555
  pe,
@@ -641,7 +641,7 @@ class Ue extends ye {
641
641
  this.$$set({ mbsource: e }), M();
642
642
  }
643
643
  }
644
- Te(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
644
+ Be(Ue, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
645
645
  export {
646
646
  Ue as default
647
647
  };
@@ -1,4 +1,4 @@
1
- import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as H, d as x, h as F, j as y, k as Le, o as Me, l as je, C as $, r as m, v as O, w as se, m as R, p as v, q as U, B as T, M as xe, A as z, G as I, D as A, N as Fe, H as Te, I as Be, J as He, K as Oe, L as ze } from "./CasinoCalendar-DWprq3Up.js";
1
+ import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as H, d as x, h as F, j as y, k as Le, o as Me, l as je, C as $, r as m, v as O, w as se, m as R, p as v, q as U, B as T, M as xe, A as z, G as I, D as A, N as Fe, H as Te, I as Be, J as He, K as Oe, L as ze } from "./CasinoCalendar-DdCnnpAB.js";
2
2
  function ee(t, e) {
3
3
  _e(t, e);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-dCsBOCh4.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-1EiuG4ja.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;