@everymatrix/casino-page-nd 1.68.0 → 1.69.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/components/{CasinoCalendar-B7HDzCMK.cjs → CasinoCalendar-B5O5LT1y.cjs} +1 -1
  2. package/components/{CasinoCalendar-gzR0syWU.js → CasinoCalendar-BRSurPQ1.js} +2 -2
  3. package/components/{CasinoCalendar-Vkb-R-ZX.js → CasinoCalendar-CkW7Nq-e.js} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-Cf_NBcOX.js → CasinoCalendarDailyDetails-CEzv_HoL.js} +2 -2
  5. package/components/{CasinoCalendarDailyDetails-Bc0r0Ym3.cjs → CasinoCalendarDailyDetails-CjlgzD3n.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-BSQbzcGH.js → CasinoCalendarDailyDetails-CjqOA-Ru.js} +2 -2
  7. package/components/CasinoCalendarDailyItem-BXoWvhsp.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-BYis_1B-.js +307 -0
  9. package/components/CasinoCalendarDailyItem-BrY2uGYK.js +307 -0
  10. package/components/{CasinoCollectionsProviders-CQOBEpAZ.js → CasinoCollectionsProviders-BS9uJ5d9.js} +1 -1
  11. package/components/{CasinoCollectionsProviders-58EKJRFt.cjs → CasinoCollectionsProviders-ChC5IT2j.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-C2HckLP0.js → CasinoCollectionsProviders-CoaBKsCp.js} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-Y5CRmfC1.js → CasinoFavoritesSectionNd-Bf3ixWyh.js} +2 -2
  14. package/components/{CasinoFavoritesSectionNd-HB3UGiml.js → CasinoFavoritesSectionNd-CZH5Py6S.js} +2 -2
  15. package/components/{CasinoFavoritesSectionNd-TagZC4mH.cjs → CasinoFavoritesSectionNd-npKiNpax.cjs} +1 -1
  16. package/components/{CasinoFilter-Bgdgnv7e.js → CasinoFilter-Dq21351p.js} +1 -1
  17. package/components/{CasinoFilter-Bmbi-NIl.cjs → CasinoFilter-EgN6U44N.cjs} +1 -1
  18. package/components/{CasinoFilter-DcGO-ipH.js → CasinoFilter-zq1OanWb.js} +1 -1
  19. package/components/{CasinoGameThumbnailNd-BDbD2umK.js → CasinoGameThumbnailNd-DVqT6eO5.js} +2 -2
  20. package/components/{CasinoGameThumbnailNd-DmBLLFq_.cjs → CasinoGameThumbnailNd-SCcpFD_b.cjs} +1 -1
  21. package/components/{CasinoGameThumbnailNd-aQNB3bNo.js → CasinoGameThumbnailNd-lkpfL4bu.js} +2 -2
  22. package/components/{CasinoGamesCategorySectionNd-Du0NY7fa.cjs → CasinoGamesCategorySectionNd-Ccy-lINT.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-wSdhm48R.js → CasinoGamesCategorySectionNd-DK8Bn4zl.js} +5 -5
  24. package/components/{CasinoGamesCategorySectionNd-sSS8GFK0.js → CasinoGamesCategorySectionNd-H91i6wMi.js} +5 -5
  25. package/components/{CasinoJackpotBanner-CzYBUhxU.js → CasinoJackpotBanner-3IUZsnW1.js} +2 -2
  26. package/components/{CasinoJackpotBanner-emlytO5A.js → CasinoJackpotBanner-Cj8mYN03.js} +2 -2
  27. package/components/{CasinoJackpotBanner-BuVB-M1i.cjs → CasinoJackpotBanner-DmXwGi_M.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-0D4erZmc.js → CasinoLastPlayedSectionNd-B6vhjDTq.js} +2 -2
  29. package/components/{CasinoLastPlayedSectionNd-BUVevCMk.js → CasinoLastPlayedSectionNd-BMgF5rro.js} +2 -2
  30. package/components/{CasinoLastPlayedSectionNd-DaLY6zv0.cjs → CasinoLastPlayedSectionNd-DQ3zQtDg.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-Cd9SvY9d.cjs → CasinoMostPlayedSectionNd-6vIbP3vD.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-BCgfAB8x.js → CasinoMostPlayedSectionNd-C5X-7NwH.js} +2 -2
  33. package/components/{CasinoMostPlayedSectionNd-_uBByBqg.js → CasinoMostPlayedSectionNd-HKWNaaTH.js} +2 -2
  34. package/components/{CasinoMyGamesNd-DccHB-P4.js → CasinoMyGamesNd-BAYjmEnb.js} +4 -4
  35. package/components/{CasinoMyGamesNd-CPmZzn1X.js → CasinoMyGamesNd-ChEvFt0C.js} +4 -4
  36. package/components/{CasinoMyGamesNd-y9vFZ8f5.cjs → CasinoMyGamesNd-CvqSh4NW.cjs} +1 -1
  37. package/components/CasinoPageNd-9tERMrCc.cjs +1 -0
  38. package/components/{CasinoPageNd-CTdsAGGb.js → CasinoPageNd-BTutYGev.js} +990 -961
  39. package/components/{CasinoPageNd-BTZPSEgP.js → CasinoPageNd-CCE-bHrW.js} +1009 -980
  40. package/components/{CasinoRandomGame-Bu3vRXKq.cjs → CasinoRandomGame-2MqqCunM.cjs} +1 -1
  41. package/components/{CasinoRandomGame-SWOJ-rEc.js → CasinoRandomGame-DCHXMN3H.js} +1 -1
  42. package/components/{CasinoRandomGame-DCljkb0K.js → CasinoRandomGame-JiL-G6z9.js} +1 -1
  43. package/components/{CasinoSearchNd-Co6hfc--.js → CasinoSearchNd-C32qaH23.js} +3 -3
  44. package/components/{CasinoSearchNd-DyE-xgq0.cjs → CasinoSearchNd-Ct6Ix5Bp.cjs} +1 -1
  45. package/components/{CasinoSearchNd-C7BYLeK6.js → CasinoSearchNd-d3P_HK2Q.js} +3 -3
  46. package/components/{CasinoSort-DKVyUE8P.cjs → CasinoSort-DVL-jxII.cjs} +1 -1
  47. package/components/{CasinoSort-DfH2maWJ.js → CasinoSort-KtelAbGr.js} +1 -1
  48. package/components/{CasinoSort-CFb0U8jb.js → CasinoSort-q3hXIPHR.js} +1 -1
  49. package/components/{CasinoWinners-D02DDUiQ.js → CasinoWinners-BfTG-dzZ.js} +2 -2
  50. package/components/{CasinoWinners-C9tJh4_L.cjs → CasinoWinners-CdEAHsOQ.cjs} +1 -1
  51. package/components/{CasinoWinners-DB-fwvGm.js → CasinoWinners-L_vXO8uR.js} +2 -2
  52. package/components/{GeneralAnimationLoading-Gvq6az05.cjs → GeneralAnimationLoading-BdKUfWzz.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-B2emFg0o.js → GeneralAnimationLoading-YEYhQQ-X.js} +1 -1
  54. package/components/{GeneralAnimationLoading-DCyTdaug.js → GeneralAnimationLoading-lR11uF3_.js} +1 -1
  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/{index-97d17652-D5_8Vwfn.cjs → index-97d17652-CjAagVjG.cjs} +1 -1
  60. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-D1-6d0Bk.js} +1 -1
  61. package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-IdX2D3yt.js} +1 -1
  62. package/stencil/{index-b2193545-60VR4wV3.js → index-b2193545-Be-aVZj0.js} +1 -1
  63. package/stencil/{index-b2193545-nJb2J-aJ.cjs → index-b2193545-CeGUFmMF.cjs} +1 -1
  64. package/stencil/{index-b2193545-LYFajSbf.js → index-b2193545-DWTOspXW.js} +1 -1
  65. package/stencil/{ui-image-DLXwOzO2.cjs → ui-image-CFxudyi7.cjs} +1 -1
  66. package/stencil/{ui-image-YGEFo8L0.js → ui-image-CaNQyRPV.js} +2 -2
  67. package/stencil/{ui-image-w38Eao2h.js → ui-image-ChBO-svA.js} +2 -2
  68. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-C2NxBIqB.js} +1 -1
  69. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-CSbk4a-_.js} +1 -1
  70. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DtQlRvK7.cjs} +1 -1
  71. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-BjVQzUTV.js} +63 -43
  72. package/stencil/{ui-skeleton-1cb75d00-BWUmrSx4.js → ui-image_2-CaETIZEN.js} +63 -41
  73. package/stencil/ui-image_2-gOIKmeIr.cjs +73 -0
  74. package/stencil/{ui-skeleton-1cb75d00-D5AevndQ.js → ui-skeleton-161699c3-Bv6d6tD_.js} +61 -41
  75. package/stencil/ui-skeleton-161699c3-C0Kl5CvZ.cjs +73 -0
  76. package/stencil/{ui-image_2-B56t6kXT.js → ui-skeleton-161699c3-C8TDQr7b.js} +61 -43
  77. package/stencil/{ui-skeleton-D5ACyLBl.js → ui-skeleton-BDWZ8ELm.js} +3 -3
  78. package/stencil/{ui-skeleton-CDhNSEbX.js → ui-skeleton-DJUh90Sp.js} +3 -3
  79. package/stencil/{ui-skeleton-CUmVjhrn.cjs → ui-skeleton-DW9HAqES.cjs} +1 -1
  80. package/components/CasinoCalendarDailyItem-CQSuNZtl.js +0 -307
  81. package/components/CasinoCalendarDailyItem-DcM708OO.cjs +0 -1
  82. package/components/CasinoCalendarDailyItem-Dn5Go7LC.js +0 -307
  83. package/components/CasinoPageNd-f9PTkPa0.cjs +0 -1
  84. package/stencil/ui-image_2-YkYxLKu7.cjs +0 -73
  85. package/stencil/ui-skeleton-1cb75d00-C9ZtbYpX.cjs +0 -73
@@ -1,12 +1,31 @@
1
- import { U as h } from "./ui-image-b7b48fe5-V9vp4faA.js";
2
- import { r as o, h as t, H as i } from "./index-97d17652-BEnqZAxL.js";
3
- const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
1
+ import { r as i, h as t, H as o } from "./index-b2193545-Be-aVZj0.js";
2
+ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, l = class {
4
3
  constructor(e) {
5
- o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
4
+ i(this, e), this.stylingValue = {
5
+ width: this.handleStylingProps(this.width),
6
+ height: this.handleStylingProps(this.height),
7
+ borderRadius: this.handleStylingProps(this.borderRadius),
8
+ marginBottom: this.handleStylingProps(this.marginBottom),
9
+ marginTop: this.handleStylingProps(this.marginTop),
10
+ marginLeft: this.handleStylingProps(this.marginLeft),
11
+ marginRight: this.handleStylingProps(this.marginRight)
12
+ }, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%", this.color = "#c2c2c2", this.primaryColor = "#c2c2c2", this.secondaryColor = "#ffffff";
6
13
  }
7
14
  handleStructureChange(e, r) {
8
15
  r !== e && this.handleStructure(e);
9
16
  }
17
+ handleStylingProps(e) {
18
+ switch (typeof e) {
19
+ case "number":
20
+ return e === 0 ? 0 : `${e}px`;
21
+ case "undefined":
22
+ return "unset";
23
+ case "string":
24
+ return ["auto", "unset", "none", "inherit", "initial"].includes(e) || e.endsWith("px") || e.endsWith("%") ? e : "unset";
25
+ default:
26
+ return "unset";
27
+ }
28
+ }
10
29
  handleStructure(e) {
11
30
  switch (e) {
12
31
  case "logo":
@@ -49,13 +68,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
49
68
  case "logo":
50
69
  e = `
51
70
  :host {
52
- --emw-skeleton-logo-width: ${this.width};
53
- --emw-skeleton-logo-height: ${this.height};
54
- --emw-skeleton-logo-border-radius: ${this.borderRadius}px;
55
- --emw-skeleton-logo-margin-bottom: ${this.marginBottom}px;
56
- --emw-skeleton-logo-margin-top: ${this.marginTop}px;
57
- --emw-skeleton-logo-margin-left: ${this.marginLeft}px;
58
- --emw-skeleton-logo-margin-right: ${this.marginRight}px;
71
+ --emw-skeleton-logo-width: ${this.stylingValue.width};
72
+ --emw-skeleton-logo-height: ${this.stylingValue.height};
73
+ --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
74
+ --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
75
+ --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
76
+ --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
77
+ --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
59
78
  --emw-skeleton-logo-background: ${this.color};
60
79
  --emw-skeleton-primary-color: ${this.primaryColor};
61
80
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -65,13 +84,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
65
84
  case "image":
66
85
  e = `
67
86
  :host {
68
- --emw-skeleton-image-width: ${this.width};
69
- --emw-skeleton-image-height: ${this.height};
70
- --emw-skeleton-image-border-radius: ${this.borderRadius}px;
71
- --emw-skeleton-image-margin-bottom: ${this.marginBottom}px;
72
- --emw-skeleton-image-margin-top: ${this.marginTop}px;
73
- --emw-skeleton-image-margin-left: ${this.marginLeft}px;
74
- --emw-skeleton-image-margin-right: ${this.marginRight}px;
87
+ --emw-skeleton-image-width: ${this.stylingValue.width};
88
+ --emw-skeleton-image-height: ${this.stylingValue.height};
89
+ --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
90
+ --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
91
+ --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
92
+ --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
93
+ --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
75
94
  --emw-skeleton-image-background: ${this.color};
76
95
  --emw-skeleton-primary-color: ${this.primaryColor};
77
96
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -81,13 +100,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
81
100
  case "title":
82
101
  e = `
83
102
  :host {
84
- --emw-skeleton-title-width: ${this.width};
85
- --emw-skeleton-title-height: ${this.height};
86
- --emw-skeleton-title-border-radius: ${this.borderRadius}px;
87
- --emw-skeleton-title-margin-bottom: ${this.marginBottom}px;
88
- --emw-skeleton-title-margin-top: ${this.marginTop}px;
89
- --emw-skeleton-title-margin-left: ${this.marginLeft}px;
90
- --emw-skeleton-title-margin-right: ${this.marginRight}px;
103
+ --emw-skeleton-title-width: ${this.stylingValue.width};
104
+ --emw-skeleton-title-height: ${this.stylingValue.height};
105
+ --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
106
+ --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
107
+ --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
108
+ --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
109
+ --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
91
110
  --emw-skeleton-title-background: ${this.color};
92
111
  --emw-skeleton-primary-color: ${this.primaryColor};
93
112
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -97,13 +116,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
97
116
  case "text":
98
117
  e = `
99
118
  :host {
100
- --emw-skeleton-text-width: ${this.width};
101
- --emw-skeleton-text-height: ${this.height};
102
- --emw-skeleton-text-border-radius: ${this.borderRadius}px;
103
- --emw-skeleton-text-margin-bottom: ${this.marginBottom}px;
104
- --emw-skeleton-text-margin-top: ${this.marginTop}px;
105
- --emw-skeleton-text-margin-left: ${this.marginLeft}px;
106
- --emw-skeleton-text-margin-right: ${this.marginRight}px;
119
+ --emw-skeleton-text-width: ${this.stylingValue.width};
120
+ --emw-skeleton-text-height: ${this.stylingValue.height};
121
+ --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
122
+ --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
123
+ --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
124
+ --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
125
+ --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
107
126
  --emw-skeleton-text-background: ${this.color};
108
127
  --emw-skeleton-primary-color: ${this.primaryColor};
109
128
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -113,13 +132,13 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
113
132
  case "rectangle":
114
133
  e = `
115
134
  :host {
116
- --emw-skeleton-rectangle-width: ${this.width};
117
- --emw-skeleton-rectangle-height: ${this.height};
118
- --emw-skeleton-rectangle-border-radius: ${this.borderRadius}px;
119
- --emw-skeleton-rectangle-margin-bottom: ${this.marginBottom}px;
120
- --emw-skeleton-rectangle-margin-top: ${this.marginTop}px;
121
- --emw-skeleton-rectangle-margin-left: ${this.marginLeft}px;
122
- --emw-skeleton-rectangle-margin-right: ${this.marginRight}px;
135
+ --emw-skeleton-rectangle-width: ${this.stylingValue.width};
136
+ --emw-skeleton-rectangle-height: ${this.stylingValue.height};
137
+ --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
138
+ --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
139
+ --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
140
+ --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
141
+ --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
123
142
  --emw-skeleton-rectangle-background: ${this.color};
124
143
  --emw-skeleton-primary-color: ${this.primaryColor};
125
144
  --emw-skeleton-secondary-color: ${this.secondaryColor};
@@ -139,7 +158,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
139
158
  default:
140
159
  e = "";
141
160
  }
142
- return t(i, { key: "3bb792a149db7fe732d5cbfa092cdb4d6ca0689e" }, t("style", { key: "a4607599b60659f385ae2660513e38b383739674" }, e), this.handleStructure(this.structure));
161
+ return t(o, { key: "5c185b76c438d20d4ad88bc48d94ff5628410bb7" }, t("style", { key: "de95e60a5955d5b2af83710423fe40329c187f7e" }, e), this.handleStructure(this.structure));
143
162
  }
144
163
  static get watchers() {
145
164
  return {
@@ -147,8 +166,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
147
166
  };
148
167
  }
149
168
  };
150
- a.style = s;
169
+ l.style = s;
151
170
  export {
152
- h as ui_image,
153
- a as ui_skeleton
171
+ l as U
154
172
  };
@@ -1,11 +1,11 @@
1
- import { b as t, p as e } from "./index-b2193545-LYFajSbf.js";
1
+ import { b as t, p as e } from "./index-b2193545-DWTOspXW.js";
2
2
  import { b as a } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
- import { U as u } from "./ui-skeleton-1cb75d00-BWUmrSx4.js";
3
+ import { U as u } from "./ui-skeleton-161699c3-Bv6d6tD_.js";
4
4
  var i = () => {
5
5
  const r = import.meta.url, o = {};
6
6
  return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
7
7
  };
8
- i().then(async (r) => (await a(), t([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
8
+ i().then(async (r) => (await a(), t([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
9
9
  export {
10
10
  u as ui_skeleton
11
11
  };
@@ -14,15 +14,15 @@ var n = (o, t, e) => new Promise((m, s) => {
14
14
  }, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
15
15
  a((e = e.apply(o, t)).next());
16
16
  });
17
- import { b as p, p as c } from "./index-b2193545-60VR4wV3.js";
17
+ import { b as p, p as c } from "./index-b2193545-Be-aVZj0.js";
18
18
  import { b as g } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
- import { U as R } from "./ui-skeleton-1cb75d00-D5AevndQ.js";
19
+ import { U as R } from "./ui-skeleton-161699c3-C8TDQr7b.js";
20
20
  var h = () => {
21
21
  const o = import.meta.url, t = {};
22
22
  return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
23
23
  };
24
24
  h().then((o) => n(void 0, null, function* () {
25
- return yield g(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
25
+ return yield g(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [8, "border-radius"], marginBottom: [8, "margin-bottom"], marginTop: [8, "margin-top"], marginLeft: [8, "margin-left"], marginRight: [8, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
26
26
  }));
27
27
  export {
28
28
  R as ui_skeleton
@@ -1 +1 @@
1
- "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-nJb2J-aJ.cjs"),p=require("./app-globals-0f993ce5-4b17CI_n.cjs"),g=require("./ui-skeleton-1cb75d00-C9ZtbYpX.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-CUmVjhrn.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
1
+ "use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-CeGUFmMF.cjs"),p=require("./app-globals-0f993ce5-4b17CI_n.cjs"),g=require("./ui-skeleton-161699c3-C0Kl5CvZ.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-DW9HAqES.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
@@ -1,307 +0,0 @@
1
- import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as R, d as Q, D as A, E as B, m as O, r as u, G as F, h as X, p as r, A as Y, j as c, B as D, 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-Vkb-R-ZX.js";
2
- import "../stencil/ui-image-YGEFo8L0.js";
3
- function q(a, t) {
4
- N(a, t);
5
- }
6
- function oe(a) {
7
- U.set(a);
8
- }
9
- const H = {
10
- en: {
11
- error: "500 Error - Internal Server Error",
12
- loading: "Loading ...",
13
- monday: "Monday",
14
- tuesday: "Tuesday",
15
- wednesday: "Wednesday",
16
- thursday: "Thursday",
17
- friday: "Friday",
18
- saturday: "Saturday",
19
- sunday: "Sunday"
20
- },
21
- hr: {
22
- error: "500 Error - Internal Server Error",
23
- loading: "Loading ...",
24
- monday: "ponedjeljak",
25
- tuesday: "utorak",
26
- wednesday: "srijeda",
27
- thursday: "četvrtak",
28
- friday: "petak",
29
- saturday: "subota",
30
- sunday: "nedjelja"
31
- },
32
- "pt-br": {
33
- error: "500 Error - Internal Server Error",
34
- loading: "Loading ...",
35
- monday: "Monday",
36
- tuesday: "Tuesday",
37
- wednesday: "Wednesday",
38
- thursday: "Thursday",
39
- friday: "Friday",
40
- saturday: "Saturday",
41
- sunday: "Sunday"
42
- },
43
- "es-mx": {
44
- error: "500 Error - Internal Server Error",
45
- loading: "Loading ...",
46
- monday: "Monday",
47
- tuesday: "Tuesday",
48
- wednesday: "Wednesday",
49
- thursday: "Thursday",
50
- friday: "Friday",
51
- saturday: "Saturday",
52
- sunday: "Sunday"
53
- },
54
- tr: {
55
- error: "500 Error - Internal Server Error",
56
- loading: "Loading ...",
57
- monday: "Monday",
58
- tuesday: "Tuesday",
59
- wednesday: "Wednesday",
60
- thursday: "Thursday",
61
- friday: "Friday",
62
- saturday: "Saturday",
63
- sunday: "Sunday"
64
- },
65
- "en-us": {
66
- error: "500 Error - Internal Server Error",
67
- loading: "Loading ...",
68
- monday: "Monday",
69
- tuesday: "Tuesday",
70
- wednesday: "Wednesday",
71
- thursday: "Thursday",
72
- friday: "Friday",
73
- saturday: "Saturday",
74
- sunday: "Sunday"
75
- }
76
- };
77
- function de(a) {
78
- V(a, "svelte-1mw336g", '*,*::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:var(--emw--color-gray-300, #58586B);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;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
- }
80
- function se(a) {
81
- let t, n, w, s, f, _, i, g, l, m, C, b, h = (
82
- /*$_*/
83
- a[8](`${/*dailyday*/
84
- a[2]}`) + ""
85
- ), x, p, o, z, S, v, E, I, k, M, L;
86
- return {
87
- c() {
88
- t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), x = W(h), p = D(), o = c("div"), z = D(), S = c("div"), v = c("button"), E = W(
89
- /*dailybuttontitle*/
90
- a[3]
91
- ), u(f, "class", "CalendarBar"), A(l.src, m = /*dailyicon*/
92
- a[1]) || B(l, "src", m), B(
93
- l,
94
- "alt",
95
- /*dailyicon*/
96
- a[1]
97
- ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(v, "class", "MoreInfoButton"), u(S, "class", "CasinoCalendarDailyItemButton"), u(i, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
- a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
99
- a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), u(s, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(n, "class", k = "Container " + /*mobileView*/
100
- (a[7] ? "Mobile" : ""));
101
- },
102
- m(d, e) {
103
- X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, x), r(i, p), r(i, o), a[16](o), r(i, z), r(i, S), r(S, v), r(v, E), a[18](t), M || (L = Y(
104
- v,
105
- "click",
106
- /*click_handler*/
107
- a[17]
108
- ), M = !0);
109
- },
110
- p(d, [e]) {
111
- e & /*dailyicon*/
112
- 2 && !A(l.src, m = /*dailyicon*/
113
- d[1]) && B(l, "src", m), e & /*dailyicon*/
114
- 2 && B(
115
- l,
116
- "alt",
117
- /*dailyicon*/
118
- d[1]
119
- ), e & /*$_, dailyday*/
120
- 260 && h !== (h = /*$_*/
121
- d[8](`${/*dailyday*/
122
- d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
123
- 8 && O(
124
- E,
125
- /*dailybuttontitle*/
126
- d[3]
127
- ), e & /*index*/
128
- 16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
- d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(i, "class", I), e & /*dailybackground*/
130
- 1 && F(i, "background-image", "url('" + /*dailybackground*/
131
- d[0] + "')"), e & /*mobileView*/
132
- 128 && k !== (k = "Container " + /*mobileView*/
133
- (d[7] ? "Mobile" : "")) && u(n, "class", k);
134
- },
135
- i: R,
136
- o: R,
137
- d(d) {
138
- d && Q(t), a[16](null), a[18](null), M = !1, L();
139
- }
140
- };
141
- }
142
- function le(a, t, n) {
143
- let w;
144
- Z(a, re, (e) => n(8, w = e));
145
- let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: m = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, z = !1, S = window.navigator.userAgent;
146
- const v = () => {
147
- oe(s);
148
- };
149
- Object.keys(H).forEach((e) => {
150
- q(e, H[e]);
151
- });
152
- const E = () => {
153
- let e = x;
154
- if (e)
155
- return fetch(e).then((T) => T.json()).then((T) => {
156
- Object.keys(T).forEach((j) => {
157
- q(j, T[j]);
158
- });
159
- }).catch((T) => {
160
- console.log(T);
161
- });
162
- }, I = () => {
163
- let e = document.createElement("div");
164
- e.innerHTML = g, p && p.append(e);
165
- }, k = () => {
166
- window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
- };
168
- $(() => (ee(S) && n(7, z = !0), () => {
169
- }));
170
- function M(e) {
171
- P[e ? "unshift" : "push"](() => {
172
- p = e, n(6, p);
173
- });
174
- }
175
- const L = () => k();
176
- function d(e) {
177
- P[e ? "unshift" : "push"](() => {
178
- o = e, n(5, o);
179
- });
180
- }
181
- return a.$$set = (e) => {
182
- "lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, m = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, x = e.translationurl);
183
- }, a.$$.update = () => {
184
- a.$$.dirty & /*lang*/
185
- 1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
186
- 33792 && s && x && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
- 2063 && _ && i && g && l && f && I(), 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 && C && o && ie(o, `${C}.Style`);
191
- }, [
192
- f,
193
- _,
194
- i,
195
- l,
196
- m,
197
- o,
198
- p,
199
- z,
200
- w,
201
- k,
202
- s,
203
- g,
204
- C,
205
- b,
206
- h,
207
- x,
208
- M,
209
- L,
210
- d
211
- ];
212
- }
213
- class ue extends G {
214
- constructor(t) {
215
- super(), J(
216
- this,
217
- t,
218
- le,
219
- se,
220
- K,
221
- {
222
- lang: 10,
223
- dailybackground: 0,
224
- dailyicon: 1,
225
- dailyday: 2,
226
- dailydescription: 11,
227
- dailybuttontitle: 3,
228
- index: 4,
229
- mbsource: 12,
230
- clientstyling: 13,
231
- clientstylingurl: 14,
232
- translationurl: 15
233
- },
234
- de
235
- );
236
- }
237
- get lang() {
238
- return this.$$.ctx[10];
239
- }
240
- set lang(t) {
241
- this.$$set({ lang: t }), y();
242
- }
243
- get dailybackground() {
244
- return this.$$.ctx[0];
245
- }
246
- set dailybackground(t) {
247
- this.$$set({ dailybackground: t }), y();
248
- }
249
- get dailyicon() {
250
- return this.$$.ctx[1];
251
- }
252
- set dailyicon(t) {
253
- this.$$set({ dailyicon: t }), y();
254
- }
255
- get dailyday() {
256
- return this.$$.ctx[2];
257
- }
258
- set dailyday(t) {
259
- this.$$set({ dailyday: t }), y();
260
- }
261
- get dailydescription() {
262
- return this.$$.ctx[11];
263
- }
264
- set dailydescription(t) {
265
- this.$$set({ dailydescription: t }), y();
266
- }
267
- get dailybuttontitle() {
268
- return this.$$.ctx[3];
269
- }
270
- set dailybuttontitle(t) {
271
- this.$$set({ dailybuttontitle: t }), y();
272
- }
273
- get index() {
274
- return this.$$.ctx[4];
275
- }
276
- set index(t) {
277
- this.$$set({ index: t }), y();
278
- }
279
- get mbsource() {
280
- return this.$$.ctx[12];
281
- }
282
- set mbsource(t) {
283
- this.$$set({ mbsource: t }), y();
284
- }
285
- get clientstyling() {
286
- return this.$$.ctx[13];
287
- }
288
- set clientstyling(t) {
289
- this.$$set({ clientstyling: t }), y();
290
- }
291
- get clientstylingurl() {
292
- return this.$$.ctx[14];
293
- }
294
- set clientstylingurl(t) {
295
- this.$$set({ clientstylingurl: t }), y();
296
- }
297
- get translationurl() {
298
- return this.$$.ctx[15];
299
- }
300
- set translationurl(t) {
301
- this.$$set({ translationurl: t }), y();
302
- }
303
- }
304
- ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
- export {
306
- ue as default
307
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B7HDzCMK.cjs");require("../stencil/ui-image-DLXwOzO2.cjs");function z(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-1mw336g",'*,*::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:var(--emw--color-gray-300, #58586B);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;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}')}function D(n){let a,r,f,l,g,C,i,u,s,p,b,c,y=n[8](`${n[2]}`)+"",m,h,d,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),f=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),i=e.element("div"),u=e.element("div"),s=e.element("ui-image"),b=e.space(),c=e.element("div"),m=e.text(y),h=e.space(),d=e.element("div"),F=e.space(),v=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(d,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarDailyItemButton"),e.attr(i,"class",_="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(i,"background-image","url('"+n[0]+"')"),e.set_style(i,"background-size","cover"),e.set_style(i,"background-position","center"),e.set_style(i,"-webkit-background-size","cover"),e.set_style(i,"-moz-background-size","cover"),e.set_style(i,"-o-background-size","cover"),e.attr(l,"class","CalendarCard"),e.attr(f,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(o,t){e.insert(o,a,t),e.append(a,r),e.append(r,f),e.append(f,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,b),e.append(i,c),e.append(c,m),e.append(i,h),e.append(i,d),n[16](d),e.append(i,F),e.append(i,v),e.append(v,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(o,[t]){t&2&&!e.src_url_equal(s.src,p=o[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",o[1]),t&260&&y!==(y=o[8](`${o[2]}`)+"")&&e.set_data(m,y),t&8&&e.set_data(S,o[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(o[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+o[0]+"')"),t&128&&w!==(w="Container "+(o[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(o){o&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let f;e.component_subscribe(n,e.$format,t=>r(8,f=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:C=""}=a,{dailyday:i=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:b}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:m=""}=a,h,d,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=m;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(M=>{z(M,k[M])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,h&&h.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{h=t,r(6,h)})}const T=()=>w();function o(t){e.binding_callbacks[t?"unshift":"push"](()=>{d=t,r(5,d)})}return n.$$set=t=>{"lang"in t&&r(10,l=t.lang),"dailybackground"in t&&r(0,g=t.dailybackground),"dailyicon"in t&&r(1,C=t.dailyicon),"dailyday"in t&&r(2,i=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,s=t.dailybuttontitle),"index"in t&&r(4,p=t.index),"mbsource"in t&&r(12,b=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,m=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&m&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&d&&e.setClientStyling(d,c),n.$$.dirty&16416&&y&&d&&e.setClientStylingURL(d,y),n.$$.dirty&4128&&b&&d&&e.setStreamStyling(d,`${b}.Style`)},[g,C,i,s,p,d,h,F,f,w,l,u,b,c,y,m,I,T,o]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;