@everymatrix/casino-page-nd 1.0.69 → 1.0.70

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 (37) hide show
  1. package/components/CasinoCalendar-5u74DcLE.cjs +6 -0
  2. package/components/CasinoCalendar-Dshv21Cf.js +4908 -0
  3. package/components/CasinoCalendarDailyDetails-BRBMLsB7.js +605 -0
  4. package/components/CasinoCalendarDailyDetails-Cn3MGBtm.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-DUfbw99q.js +228 -0
  6. package/components/CasinoCalendarDailyItem-Dd5Qwauh.cjs +1 -0
  7. package/components/CasinoCollectionsProviders-BTfRZJih.js +624 -0
  8. package/components/CasinoCollectionsProviders-Dpdu7x_G.cjs +1 -0
  9. package/components/CasinoFavoritesSectionNd-ByJ_eTZg.cjs +1 -0
  10. package/components/CasinoFavoritesSectionNd-DDWpN4gz.js +418 -0
  11. package/components/CasinoFilter-CMSoB-g5.js +628 -0
  12. package/components/CasinoFilter-tlkFocSg.cjs +1 -0
  13. package/components/CasinoGameThumbnailNd-CgJCFekB.cjs +39 -0
  14. package/components/CasinoGameThumbnailNd-Dnvi9XzQ.js +4403 -0
  15. package/components/CasinoGamesCategorySectionNd-BPf6pC8C.cjs +1 -0
  16. package/components/CasinoGamesCategorySectionNd-BYI7mKab.js +3018 -0
  17. package/components/CasinoJackpotBanner-1haMylVJ.cjs +1 -0
  18. package/components/CasinoJackpotBanner-uk0S8Dbs.js +619 -0
  19. package/components/CasinoLastPlayedSectionNd-BoS8v_Zv.cjs +1 -0
  20. package/components/CasinoLastPlayedSectionNd-DmzCxUN1.js +563 -0
  21. package/components/CasinoMostPlayedSectionNd-STZksmhK.js +580 -0
  22. package/components/CasinoMostPlayedSectionNd-anNR6iCn.cjs +1 -0
  23. package/components/CasinoMyGamesNd-BAODfgXZ.js +1313 -0
  24. package/components/CasinoMyGamesNd-Dk4TIAdJ.cjs +1 -0
  25. package/components/CasinoPageNd-B1ei1g-G.cjs +1 -0
  26. package/components/CasinoPageNd-DxwIploB.js +3525 -0
  27. package/components/CasinoRandomGame-C6T9mp6M.js +641 -0
  28. package/components/CasinoRandomGame-XO0pxgx1.cjs +2 -0
  29. package/components/CasinoSearchNd-CReTBete.js +1066 -0
  30. package/components/CasinoSearchNd-rHtHrOWF.cjs +1 -0
  31. package/components/CasinoSort-DSMtMOLF.cjs +1 -0
  32. package/components/CasinoSort-US1B32po.js +425 -0
  33. package/components/CasinoWinners-C_0O4Zpr.js +878 -0
  34. package/components/CasinoWinners-u8y7Ze1v.cjs +1 -0
  35. package/components/GeneralAnimationLoading-CX5EA8zI.cjs +1 -0
  36. package/components/GeneralAnimationLoading-C_l_vwEq.js +75 -0
  37. package/package.json +12 -11
@@ -0,0 +1,228 @@
1
+ import { $ as T, a as A, S as O, i as q, f as g, c as U, s as G, b as V, e as d, r as L, u as E, d as l, D as S, G as C, g as W, v as s, w as J, A as H, C as P, k as K, o as N, m as Q, n as j } from "./CasinoCalendar-Dshv21Cf.js";
2
+ function X({ withLocale: n, translations: t }) {
3
+ T.subscribe((a) => {
4
+ a == null && (A.set(t), T.set(n));
5
+ });
6
+ }
7
+ function Y(n) {
8
+ V(n, "svelte-128e4zn", '.svelte-128e4zn.svelte-128e4zn,.svelte-128e4zn.svelte-128e4zn::before,.svelte-128e4zn.svelte-128e4zn::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container.svelte-128e4zn.svelte-128e4zn{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container.svelte-128e4zn.svelte-128e4zn::-webkit-scrollbar{display:none}.CalendarBar.svelte-128e4zn.svelte-128e4zn{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.svelte-128e4zn.svelte-128e4zn::before{content:"";position:absolute;z-index:-1}.RingLeft.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;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.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;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.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage.svelte-128e4zn.svelte-128e4zn{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear.svelte-128e4zn.svelte-128e4zn{animation:svelte-128e4zn-tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes svelte-128e4zn-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.svelte-128e4zn.svelte-128e4zn{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems.svelte-128e4zn.svelte-128e4zn{width:100%}.CasinoCalendarItemBackground.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-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.svelte-128e4zn.svelte-128e4zn{height:20px;margin:15px}.CasinoCalendarDailyIcon.svelte-128e4zn img.svelte-128e4zn{max-height:28px}.CasinoCalendarDailyTitle.svelte-128e4zn.svelte-128e4zn{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription.svelte-128e4zn.svelte-128e4zn{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton.svelte-128e4zn.svelte-128e4zn{width:100%;text-align:center}.MoreInfoButton.svelte-128e4zn.svelte-128e4zn{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, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
9
+ }
10
+ function Z(n) {
11
+ let t, a, y, u, f, w, i, p, o, b, m, v, x, c, z, M, k, h, I, F, _, B, D;
12
+ return {
13
+ c() {
14
+ t = d("div"), a = d("div"), y = d("div"), u = d("div"), f = d("div"), f.innerHTML = '<div class="RingLeft svelte-128e4zn"></div> <div class="RingRight svelte-128e4zn"></div>', w = L(), i = d("div"), p = d("div"), o = d("img"), m = L(), v = d("div"), x = E(
15
+ /*dailyday*/
16
+ n[2]
17
+ ), c = L(), z = d("div"), M = L(), k = d("div"), h = d("button"), I = E(
18
+ /*dailybuttontitle*/
19
+ n[3]
20
+ ), l(f, "class", "CalendarBar svelte-128e4zn"), S(o.src, b = /*dailyicon*/
21
+ n[1]) || l(o, "src", b), l(
22
+ o,
23
+ "alt",
24
+ /*dailyicon*/
25
+ n[1]
26
+ ), l(o, "class", "svelte-128e4zn"), l(p, "class", "CasinoCalendarDailyIcon svelte-128e4zn"), l(v, "class", "CasinoCalendarDailyTitle svelte-128e4zn"), l(z, "class", "CasinoCalendarDailyItemDescription svelte-128e4zn"), l(h, "class", "MoreInfoButton svelte-128e4zn"), l(k, "class", "CasinoCalendarDailyItemButton svelte-128e4zn"), l(i, "class", F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
27
+ n[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn"), C(i, "background-image", "url('" + /*dailybackground*/
28
+ n[0] + "')"), C(i, "background-size", "cover"), C(i, "background-position", "center"), C(i, "-webkit-background-size", "cover"), C(i, "-moz-background-size", "cover"), C(i, "-o-background-size", "cover"), l(u, "class", "CalendarCard svelte-128e4zn"), l(y, "class", "CasinoCalendarItems svelte-128e4zn"), l(a, "class", _ = "Container " + /*mobileView*/
29
+ (n[7] ? "Mobile" : "") + " svelte-128e4zn"), l(t, "class", "svelte-128e4zn");
30
+ },
31
+ m(e, r) {
32
+ W(e, t, r), s(t, a), s(a, y), s(y, u), s(u, f), s(u, w), s(u, i), s(i, p), s(p, o), s(i, m), s(i, v), s(v, x), s(i, c), s(i, z), n[14](z), s(i, M), s(i, k), s(k, h), s(h, I), n[16](t), B || (D = J(
33
+ h,
34
+ "click",
35
+ /*click_handler*/
36
+ n[15]
37
+ ), B = !0);
38
+ },
39
+ p(e, [r]) {
40
+ r & /*dailyicon*/
41
+ 2 && !S(o.src, b = /*dailyicon*/
42
+ e[1]) && l(o, "src", b), r & /*dailyicon*/
43
+ 2 && l(
44
+ o,
45
+ "alt",
46
+ /*dailyicon*/
47
+ e[1]
48
+ ), r & /*dailyday*/
49
+ 4 && H(
50
+ x,
51
+ /*dailyday*/
52
+ e[2]
53
+ ), r & /*dailybuttontitle*/
54
+ 8 && H(
55
+ I,
56
+ /*dailybuttontitle*/
57
+ e[3]
58
+ ), r & /*index*/
59
+ 16 && F !== (F = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
60
+ e[4] == "OpenCalendarModal" ? "Tear" : "") + " svelte-128e4zn") && l(i, "class", F), r & /*dailybackground*/
61
+ 1 && C(i, "background-image", "url('" + /*dailybackground*/
62
+ e[0] + "')"), r & /*mobileView*/
63
+ 128 && _ !== (_ = "Container " + /*mobileView*/
64
+ (e[7] ? "Mobile" : "") + " svelte-128e4zn") && l(a, "class", _);
65
+ },
66
+ i: P,
67
+ o: P,
68
+ d(e) {
69
+ e && K(t), n[14](null), n[16](null), B = !1, D();
70
+ }
71
+ };
72
+ }
73
+ function $(n, t, a) {
74
+ let { cmsendpoint: y = "" } = t, { lang: u = "" } = t, { dailybackground: f = "" } = t, { dailyicon: w = "" } = t, { dailyday: i = "" } = t, { dailydescription: p = "<p></p>" } = t, { dailybuttontitle: o = "" } = t, { index: b = "0" } = t, { clientstyling: m = "" } = t, { clientstylingurl: v = "" } = t;
75
+ X({ withLocale: "en", translations: {} });
76
+ let x, c, z = !1, M = window.navigator.userAgent;
77
+ const k = () => {
78
+ let e = document.createElement("div");
79
+ e.innerHTML = p, x && x.append(e);
80
+ }, h = () => {
81
+ window.postMessage({ type: "OpenCalendar", index: b }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
82
+ }, I = () => {
83
+ let e = document.createElement("style");
84
+ e.innerHTML = m, c.appendChild(e);
85
+ }, F = () => {
86
+ let e = new URL(v), r = document.createElement("style");
87
+ fetch(e.href).then((R) => R.text()).then((R) => {
88
+ r.innerHTML = R, setTimeout(
89
+ () => {
90
+ c.appendChild(r);
91
+ },
92
+ 1
93
+ ), setTimeout(
94
+ () => {
95
+ },
96
+ 500
97
+ );
98
+ });
99
+ };
100
+ N(() => {
101
+ Q(M) && a(7, z = !0);
102
+ });
103
+ function _(e) {
104
+ j[e ? "unshift" : "push"](() => {
105
+ x = e, a(6, x);
106
+ });
107
+ }
108
+ const B = () => h();
109
+ function D(e) {
110
+ j[e ? "unshift" : "push"](() => {
111
+ c = e, a(5, c);
112
+ });
113
+ }
114
+ return n.$$set = (e) => {
115
+ "cmsendpoint" in e && a(9, y = e.cmsendpoint), "lang" in e && a(10, u = e.lang), "dailybackground" in e && a(0, f = e.dailybackground), "dailyicon" in e && a(1, w = e.dailyicon), "dailyday" in e && a(2, i = e.dailyday), "dailydescription" in e && a(11, p = e.dailydescription), "dailybuttontitle" in e && a(3, o = e.dailybuttontitle), "index" in e && a(4, b = e.index), "clientstyling" in e && a(12, m = e.clientstyling), "clientstylingurl" in e && a(13, v = e.clientstylingurl);
116
+ }, n.$$.update = () => {
117
+ n.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
118
+ 2063 && w && i && p && o && f && k(), n.$$.dirty & /*clientstyling, customStylingContainer*/
119
+ 4128 && m && c && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
120
+ 8224 && v && c && F();
121
+ }, [
122
+ f,
123
+ w,
124
+ i,
125
+ o,
126
+ b,
127
+ c,
128
+ x,
129
+ z,
130
+ h,
131
+ y,
132
+ u,
133
+ p,
134
+ m,
135
+ v,
136
+ _,
137
+ B,
138
+ D
139
+ ];
140
+ }
141
+ class ee extends O {
142
+ constructor(t) {
143
+ super(), q(
144
+ this,
145
+ t,
146
+ $,
147
+ Z,
148
+ G,
149
+ {
150
+ cmsendpoint: 9,
151
+ lang: 10,
152
+ dailybackground: 0,
153
+ dailyicon: 1,
154
+ dailyday: 2,
155
+ dailydescription: 11,
156
+ dailybuttontitle: 3,
157
+ index: 4,
158
+ clientstyling: 12,
159
+ clientstylingurl: 13
160
+ },
161
+ Y
162
+ );
163
+ }
164
+ get cmsendpoint() {
165
+ return this.$$.ctx[9];
166
+ }
167
+ set cmsendpoint(t) {
168
+ this.$$set({ cmsendpoint: t }), g();
169
+ }
170
+ get lang() {
171
+ return this.$$.ctx[10];
172
+ }
173
+ set lang(t) {
174
+ this.$$set({ lang: t }), g();
175
+ }
176
+ get dailybackground() {
177
+ return this.$$.ctx[0];
178
+ }
179
+ set dailybackground(t) {
180
+ this.$$set({ dailybackground: t }), g();
181
+ }
182
+ get dailyicon() {
183
+ return this.$$.ctx[1];
184
+ }
185
+ set dailyicon(t) {
186
+ this.$$set({ dailyicon: t }), g();
187
+ }
188
+ get dailyday() {
189
+ return this.$$.ctx[2];
190
+ }
191
+ set dailyday(t) {
192
+ this.$$set({ dailyday: t }), g();
193
+ }
194
+ get dailydescription() {
195
+ return this.$$.ctx[11];
196
+ }
197
+ set dailydescription(t) {
198
+ this.$$set({ dailydescription: t }), g();
199
+ }
200
+ get dailybuttontitle() {
201
+ return this.$$.ctx[3];
202
+ }
203
+ set dailybuttontitle(t) {
204
+ this.$$set({ dailybuttontitle: t }), g();
205
+ }
206
+ get index() {
207
+ return this.$$.ctx[4];
208
+ }
209
+ set index(t) {
210
+ this.$$set({ index: t }), g();
211
+ }
212
+ get clientstyling() {
213
+ return this.$$.ctx[12];
214
+ }
215
+ set clientstyling(t) {
216
+ this.$$set({ clientstyling: t }), g();
217
+ }
218
+ get clientstylingurl() {
219
+ return this.$$.ctx[13];
220
+ }
221
+ set clientstylingurl(t) {
222
+ this.$$set({ clientstylingurl: t }), g();
223
+ }
224
+ }
225
+ U(ee, { cmsendpoint: {}, lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
226
+ export {
227
+ ee as default
228
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-5u74DcLE.cjs");function M({withLocale:i,translations:n}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(n),e.$locale.set(i))})}function D(i){e.append_styles(i,"svelte-128e4zn",'.svelte-128e4zn.svelte-128e4zn,.svelte-128e4zn.svelte-128e4zn::before,.svelte-128e4zn.svelte-128e4zn::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container.svelte-128e4zn.svelte-128e4zn{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container.svelte-128e4zn.svelte-128e4zn::-webkit-scrollbar{display:none}.CalendarBar.svelte-128e4zn.svelte-128e4zn{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.svelte-128e4zn.svelte-128e4zn::before{content:"";position:absolute;z-index:-1}.RingLeft.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;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.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight.svelte-128e4zn.svelte-128e4zn::before{content:"";width:8px;height:24px;border-radius:20px;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.svelte-128e4zn.svelte-128e4zn::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage.svelte-128e4zn.svelte-128e4zn{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear.svelte-128e4zn.svelte-128e4zn{animation:svelte-128e4zn-tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes svelte-128e4zn-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.svelte-128e4zn.svelte-128e4zn{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems.svelte-128e4zn.svelte-128e4zn{width:100%}.CasinoCalendarItemBackground.svelte-128e4zn.svelte-128e4zn{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-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.svelte-128e4zn.svelte-128e4zn{height:20px;margin:15px}.CasinoCalendarDailyIcon.svelte-128e4zn img.svelte-128e4zn{max-height:28px}.CasinoCalendarDailyTitle.svelte-128e4zn.svelte-128e4zn{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription.svelte-128e4zn.svelte-128e4zn{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton.svelte-128e4zn.svelte-128e4zn{width:100%;text-align:center}.MoreInfoButton.svelte-128e4zn.svelte-128e4zn{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, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function L(i){let n,a,h,d,g,y,l,c,s,f,x,u,p,r,b,F,m,v,w,z,C,k,_;return{c(){n=e.element("div"),a=e.element("div"),h=e.element("div"),d=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft svelte-128e4zn"></div> <div class="RingRight svelte-128e4zn"></div>',y=e.space(),l=e.element("div"),c=e.element("div"),s=e.element("img"),x=e.space(),u=e.element("div"),p=e.text(i[2]),r=e.space(),b=e.element("div"),F=e.space(),m=e.element("div"),v=e.element("button"),w=e.text(i[3]),e.attr(g,"class","CalendarBar svelte-128e4zn"),e.src_url_equal(s.src,f=i[1])||e.attr(s,"src",f),e.attr(s,"alt",i[1]),e.attr(s,"class","svelte-128e4zn"),e.attr(c,"class","CasinoCalendarDailyIcon svelte-128e4zn"),e.attr(u,"class","CasinoCalendarDailyTitle svelte-128e4zn"),e.attr(b,"class","CasinoCalendarDailyItemDescription svelte-128e4zn"),e.attr(v,"class","MoreInfoButton svelte-128e4zn"),e.attr(m,"class","CasinoCalendarDailyItemButton svelte-128e4zn"),e.attr(l,"class",z="CasinoCalendarItemBackground CalendarPage "+(i[4]=="OpenCalendarModal"?"Tear":"")+" svelte-128e4zn"),e.set_style(l,"background-image","url('"+i[0]+"')"),e.set_style(l,"background-size","cover"),e.set_style(l,"background-position","center"),e.set_style(l,"-webkit-background-size","cover"),e.set_style(l,"-moz-background-size","cover"),e.set_style(l,"-o-background-size","cover"),e.attr(d,"class","CalendarCard svelte-128e4zn"),e.attr(h,"class","CasinoCalendarItems svelte-128e4zn"),e.attr(a,"class",C="Container "+(i[7]?"Mobile":"")+" svelte-128e4zn"),e.attr(n,"class","svelte-128e4zn")},m(t,o){e.insert(t,n,o),e.append(n,a),e.append(a,h),e.append(h,d),e.append(d,g),e.append(d,y),e.append(d,l),e.append(l,c),e.append(c,s),e.append(l,x),e.append(l,u),e.append(u,p),e.append(l,r),e.append(l,b),i[14](b),e.append(l,F),e.append(l,m),e.append(m,v),e.append(v,w),i[16](n),k||(_=e.listen(v,"click",i[15]),k=!0)},p(t,[o]){o&2&&!e.src_url_equal(s.src,f=t[1])&&e.attr(s,"src",f),o&2&&e.attr(s,"alt",t[1]),o&4&&e.set_data(p,t[2]),o&8&&e.set_data(w,t[3]),o&16&&z!==(z="CasinoCalendarItemBackground CalendarPage "+(t[4]=="OpenCalendarModal"?"Tear":"")+" svelte-128e4zn")&&e.attr(l,"class",z),o&1&&e.set_style(l,"background-image","url('"+t[0]+"')"),o&128&&C!==(C="Container "+(t[7]?"Mobile":"")+" svelte-128e4zn")&&e.attr(a,"class",C)},i:e.noop,o:e.noop,d(t){t&&e.detach(n),i[14](null),i[16](null),k=!1,_()}}}function T(i,n,a){let{cmsendpoint:h=""}=n,{lang:d=""}=n,{dailybackground:g=""}=n,{dailyicon:y=""}=n,{dailyday:l=""}=n,{dailydescription:c="<p></p>"}=n,{dailybuttontitle:s=""}=n,{index:f="0"}=n,{clientstyling:x=""}=n,{clientstylingurl:u=""}=n;M({withLocale:"en",translations:{}});let p,r,b=!1,F=window.navigator.userAgent;const m=()=>{let t=document.createElement("div");t.innerHTML=c,p&&p.append(t)},v=()=>{window.postMessage({type:"OpenCalendar",index:f},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})},w=()=>{let t=document.createElement("style");t.innerHTML=x,r.appendChild(t)},z=()=>{let t=new URL(u),o=document.createElement("style");fetch(t.href).then(I=>I.text()).then(I=>{o.innerHTML=I,setTimeout(()=>{r.appendChild(o)},1),setTimeout(()=>{},500)})};e.onMount(()=>{e.isMobile(F)&&a(7,b=!0)});function C(t){e.binding_callbacks[t?"unshift":"push"](()=>{p=t,a(6,p)})}const k=()=>v();function _(t){e.binding_callbacks[t?"unshift":"push"](()=>{r=t,a(5,r)})}return i.$$set=t=>{"cmsendpoint"in t&&a(9,h=t.cmsendpoint),"lang"in t&&a(10,d=t.lang),"dailybackground"in t&&a(0,g=t.dailybackground),"dailyicon"in t&&a(1,y=t.dailyicon),"dailyday"in t&&a(2,l=t.dailyday),"dailydescription"in t&&a(11,c=t.dailydescription),"dailybuttontitle"in t&&a(3,s=t.dailybuttontitle),"index"in t&&a(4,f=t.index),"clientstyling"in t&&a(12,x=t.clientstyling),"clientstylingurl"in t&&a(13,u=t.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&2063&&y&&l&&c&&s&&g&&m(),i.$$.dirty&4128&&x&&r&&w(),i.$$.dirty&8224&&u&&r&&z()},[g,y,l,s,f,r,p,b,v,h,d,c,x,u,C,k,_]}class B extends e.SvelteComponent{constructor(n){super(),e.init(this,n,T,L,e.safe_not_equal,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},D)}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(n){this.$$set({cmsendpoint:n}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(n){this.$$set({lang:n}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(n){this.$$set({dailybackground:n}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(n){this.$$set({dailyicon:n}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(n){this.$$set({dailyday:n}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(n){this.$$set({dailydescription:n}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(n){this.$$set({dailybuttontitle:n}),e.flush()}get index(){return this.$$.ctx[4]}set index(n){this.$$set({index:n}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}}e.create_custom_element(B,{cmsendpoint:{},lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=B;