@everymatrix/casino-lobby 1.59.2 → 1.59.3

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 (97) hide show
  1. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-BYTytQgJ.js} +690 -712
  2. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-CI-C6zUY.js} +696 -718
  3. package/components/CasinoCalendar-DqS7aKva.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-CGaAU2gc.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-CsEZhtVE.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-CAbwFBvZ.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DSlC0F3s.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-5aqnKIMr.js → CasinoCalendarDailyItem-CjRZKnnD.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-D_MTrKed.js → CasinoCalendarDailyItem-DC91__VM.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-CZHyRC-C.js → CasinoCategoriesSlider-BeqGvJrA.js} +67 -67
  11. package/components/{CasinoCategoriesSlider-Dm2i_QTf.js → CasinoCategoriesSlider-Cvb-krxJ.js} +66 -66
  12. package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-BMyAx20Y.js} +73 -73
  14. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-B_4F6cIK.js} +71 -71
  15. package/components/{CasinoCollectionsProviders-B6occ8TF.cjs → CasinoCollectionsProviders-FGrPURo4.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-C949lfcK.js → CasinoFavoritesSection-BZmf5I3g.js} +26 -26
  17. package/components/{CasinoFavoritesSection-hHKNAcoS.cjs → CasinoFavoritesSection-CBb3Eo8J.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-V5ybOUJC.js → CasinoFavoritesSection-Dmko0_Ik.js} +26 -26
  19. package/components/{CasinoFilter-BWjq7W1e.js → CasinoFilter-BHLJqOwW.js} +235 -234
  20. package/components/CasinoFilter-Bg-VilMd.cjs +1 -0
  21. package/components/{CasinoFilter-BTof425X.js → CasinoFilter-Dt8GhenI.js} +246 -247
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-5moXxd0d.js} +741 -741
  23. package/components/{CasinoGamePage-D2huRBJX.cjs → CasinoGamePage-BmgERtPr.cjs} +6 -6
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-D_TzJsC-.js} +742 -742
  25. package/components/{CasinoGameThumbnail-CVz7FpsB.js → CasinoGameThumbnail-DSjNVacg.js} +512 -528
  26. package/components/{CasinoGameThumbnail-NLieCJGe.js → CasinoGameThumbnail-DqBpfUwf.js} +436 -420
  27. package/components/{CasinoGameThumbnail-DK9cpR-G.cjs → CasinoGameThumbnail-OrvrYv4V.cjs} +15 -15
  28. package/components/{CasinoGamesCategorySection-BP3bZsZg.js → CasinoGamesCategorySection-Ce43OSOZ.js} +247 -247
  29. package/components/{CasinoGamesCategorySection-BAcJus2G.cjs → CasinoGamesCategorySection-DEh7yuGp.cjs} +1 -1
  30. package/components/{CasinoGamesCategorySection-Bpy9vh6D.js → CasinoGamesCategorySection-d8QOFywW.js} +247 -247
  31. package/components/{CasinoJackpotBanner-DredUN6K.cjs → CasinoJackpotBanner-B_CnR3Kj.cjs} +1 -1
  32. package/components/{CasinoJackpotBanner-CuP8WP5Q.js → CasinoJackpotBanner-Dxq2Y_-S.js} +74 -74
  33. package/components/{CasinoJackpotBanner-Dl2rX6vI.js → CasinoJackpotBanner-UQaC63Zv.js} +69 -69
  34. package/components/{CasinoLastPlayedSection-CVEuFsbi.js → CasinoLastPlayedSection-BVANPPTi.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-B9I2fZm5.js → CasinoLastPlayedSection-Bmr8n1pA.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-COAM1aoc.cjs → CasinoLastPlayedSection-CyL83M3y.cjs} +1 -1
  37. package/components/{CasinoLobby-AoZlXLOV.js → CasinoLobby-CWzN0imw.js} +45 -45
  38. package/components/{CasinoLobby-BRiasSXJ.js → CasinoLobby-DUI1Ki3q.js} +47 -47
  39. package/components/{CasinoLobby-CYqI5Bvp.cjs → CasinoLobby-os94WdnE.cjs} +1 -1
  40. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-BaV1FE12.js} +41 -41
  41. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-Bn6r73ff.js} +41 -41
  42. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-9B6X9czZ.js → CasinoMostPlayedSection-B4SHGVp4.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-DwZh0uxo.js → CasinoMostPlayedSection-CD00UC6r.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-BUwIld9p.cjs → CasinoMostPlayedSection-y-GWnOes.cjs} +1 -1
  46. package/components/{CasinoMyGames-76IMIo9z.js → CasinoMyGames-BBsq56wQ.js} +50 -50
  47. package/components/{CasinoMyGames-DTGaTHyO.cjs → CasinoMyGames-DKu8rYmc.cjs} +1 -1
  48. package/components/{CasinoMyGames-DRCxYUHg.js → CasinoMyGames-DRCL87dq.js} +53 -53
  49. package/components/{CasinoPage-CikRIum6.js → CasinoPage-BJ2hLXJb.js} +93 -93
  50. package/components/{CasinoPage-DZ6Yhwli.cjs → CasinoPage-CXAKd3oS.cjs} +1 -1
  51. package/components/{CasinoPage-BPxxsTeq.js → CasinoPage-DXP80Vgm.js} +85 -85
  52. package/components/{CasinoRandomGame-CBcSHzZL.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-CsA5xgwc.js} +63 -63
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DLzqJj4x.js} +64 -64
  55. package/components/{CasinoSearch-CZSrkWFZ.cjs → CasinoSearch-CxFbGTdy.cjs} +1 -1
  56. package/components/{CasinoSearch-CCcjmB9U.js → CasinoSearch-CzUqsTgU.js} +72 -72
  57. package/components/{CasinoSearch-Cs8FRwGb.js → CasinoSearch-atJ6AGYa.js} +72 -72
  58. package/components/{CasinoSlider-CMKmgXUK.cjs → CasinoSlider-CgiDJzPs.cjs} +1 -1
  59. package/components/{CasinoSlider-0rdHVHjG.js → CasinoSlider-DjqwMakd.js} +65 -65
  60. package/components/{CasinoSlider-CleETLFf.js → CasinoSlider-zHVThApL.js} +74 -74
  61. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
  62. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-B3A_Ar_A.js} +110 -111
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DtUIrmuZ.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-CF_PptIS.js} +162 -162
  65. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-Gb2w2dXe.js} +179 -179
  66. package/components/{CasinoWinners-Cp1yMlzb.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-8TvNjXay.js} +16 -16
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Bbxdne1m.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +2 -2
  74. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
  75. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
  77. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  78. package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
  79. package/stencil/index-ab3202d6-hGs51skN.js +559 -0
  80. package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
  81. package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
  82. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
  83. package/stencil/{ui-skeleton-DET4YE0J.js → ui-skeleton-Bz6cw7xJ.js} +2 -2
  84. package/stencil/{ui-skeleton-DlNNnOZy.cjs → ui-skeleton-D9k-xWaS.cjs} +1 -1
  85. package/stencil/{ui-skeleton-C02hm1pt.js → ui-skeleton-DDYD_XHU.js} +2 -2
  86. package/stencil/{ui-skeleton-a642cced-Dn9GOtgo.js → ui-skeleton-a642cced-Bg6oYmhk.js} +1 -1
  87. package/stencil/{ui-skeleton-a642cced-BhVS1i2r.cjs → ui-skeleton-a642cced-CVw8zpGJ.cjs} +1 -1
  88. package/stencil/{ui-skeleton-a642cced-7C4Fyb2d.js → ui-skeleton-a642cced-MvzXi5-c.js} +1 -1
  89. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  90. package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +0 -1
  91. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  92. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  93. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  94. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  95. package/stencil/index-ae04a8b1-BvZmaj3p.js +0 -532
  96. package/stencil/index-ae04a8b1-DoeYpoC5.js +0 -516
  97. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-Km8tdNHN.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-CI-C6zUY.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -9,7 +9,7 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
12
+ ne(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
14
  const be = (s) => ({}), N = (s) => ({});
15
15
  function V(s) {
@@ -35,19 +35,19 @@ function V(s) {
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ce(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
46
+ j(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = de(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
50
- ), s[23](e), u = !0, b || (p = fe(
50
+ ), s[23](e), u = !0, b || (p = ue(
51
51
  l,
52
52
  "click",
53
53
  /*close*/
@@ -56,37 +56,37 @@ function V(s) {
56
56
  },
57
57
  p(a, g) {
58
58
  s = a, d && d.p && (!u || g[0] & /*$$scope*/
59
- 524288) && A(
59
+ 524288) && P(
60
60
  d,
61
61
  C,
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? P(
65
+ u ? x(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : O(
71
+ ) : q(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
75
75
  null
76
76
  ), h && h.p && (!u || g[0] & /*$$scope*/
77
- 524288) && A(
77
+ 524288) && P(
78
78
  h,
79
79
  M,
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? P(
83
+ u ? x(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : O(
89
+ ) : q(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
@@ -97,21 +97,21 @@ function V(s) {
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && q(() => {
101
- u && (c || (c = U(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && O(() => {
101
+ u && (c || (c = A(t, K, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = A(t, K, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && H(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -122,11 +122,11 @@ function pe(s) {
122
122
  e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- H(n, e, o), z(e, t);
125
+ j(n, e, o), z(e, t);
126
126
  },
127
- p: _e,
127
+ p: ge,
128
128
  d(n) {
129
- n && j(e);
129
+ n && H(e);
130
130
  }
131
131
  };
132
132
  }
@@ -137,17 +137,17 @@ function Me(s) {
137
137
  );
138
138
  return {
139
139
  c() {
140
- n && n.c(), e = ae();
140
+ n && n.c(), e = le();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), H(o, e, l), t = !0;
143
+ n && n.m(o, l), j(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (oe(), W(n, 1, 1, () => {
149
149
  n = null;
150
- }), le());
150
+ }), ae());
151
151
  },
152
152
  i(o) {
153
153
  t || (F(n), t = !0);
@@ -156,12 +156,12 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && j(e), n && n.d(o);
159
+ o && H(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, G, S = !1;
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, L, D, S = !1;
165
165
  const X = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
@@ -172,7 +172,7 @@ function ke(s, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, L = (i) => {
175
+ }, I = (i) => {
176
176
  if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
@@ -187,23 +187,23 @@ function ke(s, e, t) {
187
187
  },
188
188
  window.location.href
189
189
  ), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
190
- let I = {
190
+ let G = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
- window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
194
+ window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
195
195
  }
196
196
  i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
197
  }, Q = (i) => {
198
198
  if (v) {
199
- let I = {
199
+ let G = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
- window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
203
+ window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
- M == "true" && me(p, w).then(
206
+ M == "true" && fe(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
209
209
  },
@@ -212,19 +212,19 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Q, !1), () => {
216
- window.removeEventListener("message", L), window.removeEventListener("resize", L);
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
216
+ window.removeEventListener("message", I), window.removeEventListener("resize", I);
217
217
  }));
218
218
  function Y(i) {
219
- x[i ? "unshift" : "push"](() => {
219
+ U[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
223
  function Z() {
224
- D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
224
+ L = this.clientWidth, D = this.clientHeight, t(5, L), t(6, D);
225
225
  }
226
226
  function $(i) {
227
- x[i ? "unshift" : "push"](() => {
227
+ U[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -233,8 +233,8 @@ function ke(s, e, t) {
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
235
  17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
- 2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
- 8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
236
+ 2052 && c && y && me(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
+ 8196 && b && y && he(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
239
239
  }, [
240
240
  l,
@@ -242,8 +242,8 @@ function ke(s, e, t) {
242
242
  y,
243
243
  g,
244
244
  _,
245
+ L,
245
246
  D,
246
- G,
247
247
  S,
248
248
  X,
249
249
  w,
@@ -270,7 +270,7 @@ class Ce extends te {
270
270
  e,
271
271
  ke,
272
272
  Me,
273
- ne,
273
+ se,
274
274
  {
275
275
  duration: 0,
276
276
  session: 9,
@@ -362,7 +362,7 @@ class Ce extends te {
362
362
  this.$$set({ mbsource: e }), m();
363
363
  }
364
364
  }
365
- se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
365
+ _e(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
366
366
  export {
367
367
  Ce as default
368
368
  };
@@ -1,4 +1,4 @@
1
- import { a2 as ee, S as te, i as ie, f as m, c as se, s as ne, b as oe, K as ae, d as H, h as F, t as W, g as le, j, o as re, l as de, u as R, e as B, w as ue, y as r, a3 as q, z, a4 as ce, A as fe, B as A, C as O, D as P, a5 as U, n as ge, p as E, X as me, q as x, r as he, m as we, J, G as _e } from "./CasinoCalendar-6ncpIgng.js";
1
+ import { a2 as ee, S as te, i as ie, s as se, f as m, b as ne, d as H, t as W, c as F, g as oe, e as ae, h as j, F as le, o as re, l as E, u as R, a3 as A, a4 as O, x as P, y as q, z as x, r, p as z, a5 as de, A as ue, j as B, B as ce, X as fe, C as U, n as ge, E as J, I as me, J as he, K as we, L as _e } from "./CasinoCalendar-BYTytQgJ.js";
2
2
  function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
3
3
  const o = +getComputedStyle(s).opacity;
4
4
  return {
@@ -9,7 +9,7 @@ function K(s, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
9
9
  };
10
10
  }
11
11
  function ye(s) {
12
- oe(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
12
+ ne(s, "svelte-1durwr3", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
14
  const be = (s) => ({}), N = (s) => ({});
15
15
  function V(s) {
@@ -35,19 +35,19 @@ function V(s) {
35
35
  ), f = h || pe();
36
36
  return {
37
37
  c() {
38
- e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ue(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = B("div"), t = B("div"), n = B("div"), d && d.c(), o = ce(), l = B("span"), f && f.c(), r(n, "class", "ModalContainer"), r(n, "part", "ModalContainer"), r(l, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (s[1] == "true" && /*mobileView*/
40
- s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), q(() => (
40
+ s[3] ? "ModalPanicCloseButton" : "")), r(l, "role", "button"), r(t, "class", "ModalWindow"), r(t, "part", "ModalWindow"), r(t, "id", "Modal"), O(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  s[22].call(t)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
45
  m(a, g) {
46
- H(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = ce(
46
+ j(a, e, g), z(e, t), z(t, n), d && d.m(n, null), z(t, o), z(t, l), f && f.m(l, null), s[21](t), k = de(
47
47
  t,
48
48
  /*div1_elementresize_handler*/
49
49
  s[22].bind(t)
50
- ), s[23](e), u = !0, b || (p = fe(
50
+ ), s[23](e), u = !0, b || (p = ue(
51
51
  l,
52
52
  "click",
53
53
  /*close*/
@@ -56,37 +56,37 @@ function V(s) {
56
56
  },
57
57
  p(a, g) {
58
58
  s = a, d && d.p && (!u || g[0] & /*$$scope*/
59
- 524288) && A(
59
+ 524288) && P(
60
60
  d,
61
61
  C,
62
62
  s,
63
63
  /*$$scope*/
64
64
  s[19],
65
- u ? P(
65
+ u ? x(
66
66
  C,
67
67
  /*$$scope*/
68
68
  s[19],
69
69
  g,
70
70
  null
71
- ) : O(
71
+ ) : q(
72
72
  /*$$scope*/
73
73
  s[19]
74
74
  ),
75
75
  null
76
76
  ), h && h.p && (!u || g[0] & /*$$scope*/
77
- 524288) && A(
77
+ 524288) && P(
78
78
  h,
79
79
  M,
80
80
  s,
81
81
  /*$$scope*/
82
82
  s[19],
83
- u ? P(
83
+ u ? x(
84
84
  M,
85
85
  /*$$scope*/
86
86
  s[19],
87
87
  g,
88
88
  be
89
- ) : O(
89
+ ) : q(
90
90
  /*$$scope*/
91
91
  s[19]
92
92
  ),
@@ -97,21 +97,21 @@ function V(s) {
97
97
  s[3] ? "ModalPanicCloseButton" : ""))) && r(l, "class", w);
98
98
  },
99
99
  i(a) {
100
- u || (F(d, a), F(f, a), a && q(() => {
101
- u && (c || (c = U(t, K, { transitionDuration: (
100
+ u || (F(d, a), F(f, a), a && O(() => {
101
+ u && (c || (c = A(t, K, { transitionDuration: (
102
102
  /*duration*/
103
103
  s[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(a) {
108
- W(d, a), W(f, a), a && (c || (c = U(t, K, { transitionDuration: (
108
+ W(d, a), W(f, a), a && (c || (c = A(t, K, { transitionDuration: (
109
109
  /*duration*/
110
110
  s[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(a) {
114
- a && j(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
114
+ a && H(e), d && d.d(a), f && f.d(a), s[21](null), k(), a && c && c.end(), s[23](null), b = !1, p();
115
115
  }
116
116
  };
117
117
  }
@@ -122,11 +122,11 @@ function pe(s) {
122
122
  e = J("svg"), t = J("path"), r(t, "stroke-linecap", "round"), r(t, "stroke-linejoin", "round"), r(t, "stroke-width", "2"), r(t, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(n, o) {
125
- H(n, e, o), z(e, t);
125
+ j(n, e, o), z(e, t);
126
126
  },
127
- p: _e,
127
+ p: ge,
128
128
  d(n) {
129
- n && j(e);
129
+ n && H(e);
130
130
  }
131
131
  };
132
132
  }
@@ -137,17 +137,17 @@ function Me(s) {
137
137
  );
138
138
  return {
139
139
  c() {
140
- n && n.c(), e = ae();
140
+ n && n.c(), e = le();
141
141
  },
142
142
  m(o, l) {
143
- n && n.m(o, l), H(o, e, l), t = !0;
143
+ n && n.m(o, l), j(o, e, l), t = !0;
144
144
  },
145
145
  p(o, l) {
146
146
  /*show*/
147
147
  o[7] ? n ? (n.p(o, l), l[0] & /*show*/
148
- 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (ge(), W(n, 1, 1, () => {
148
+ 128 && F(n, 1)) : (n = V(o), n.c(), F(n, 1), n.m(e.parentNode, e)) : n && (oe(), W(n, 1, 1, () => {
149
149
  n = null;
150
- }), le());
150
+ }), ae());
151
151
  },
152
152
  i(o) {
153
153
  t || (F(n), t = !0);
@@ -156,12 +156,12 @@ function Me(s) {
156
156
  W(n), t = !1;
157
157
  },
158
158
  d(o) {
159
- o && j(e), n && n.d(o);
159
+ o && H(e), n && n.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function ke(s, e, t) {
164
- let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, D, G, S = !1;
164
+ let { $$slots: n = {}, $$scope: o } = e, { duration: l = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: b = "" } = e, { endpoint: p = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: h = "false" } = e, { mbsource: f } = e, a = window.navigator.userAgent, g = !1, v = !1, _, y, L, D, S = !1;
165
165
  const X = () => {
166
166
  t(7, S = !1), t(3, g = E(a)), window.postMessage(
167
167
  {
@@ -172,7 +172,7 @@ function ke(s, e, t) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, L = (i) => {
175
+ }, I = (i) => {
176
176
  if (i.data.type == "ShowModal" && u == i.data.identifier && (t(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type == "ModalClosed" && (h === "true" || E(a)) && t(7, S = !1), i.data.type === "ShowGameModal" && (t(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
@@ -187,23 +187,23 @@ function ke(s, e, t) {
187
187
  },
188
188
  window.location.href
189
189
  ), h === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), i.data.type === "RequestModalSize") {
190
- let I = {
190
+ let G = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
- window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
194
+ window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
195
195
  }
196
196
  i.data.type === "GameStateOnResize" && (v = i.data.detailsObtained);
197
197
  }, Q = (i) => {
198
198
  if (v) {
199
- let I = {
199
+ let G = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
202
202
  };
203
- window.postMessage({ type: "ModalSize", modalContainerSize: I }, window.location.href);
203
+ window.postMessage({ type: "ModalSize", modalContainerSize: G }, window.location.href);
204
204
  }
205
205
  }, T = () => {
206
- M == "true" && me(p, w).then(
206
+ M == "true" && fe(p, w).then(
207
207
  (i) => {
208
208
  i.Guid, i.UserID;
209
209
  },
@@ -212,19 +212,19 @@ function ke(s, e, t) {
212
212
  }
213
213
  );
214
214
  };
215
- re(() => (t(3, g = E(a)), window.addEventListener("message", L, !1), window.addEventListener("resize", Q, !1), () => {
216
- window.removeEventListener("message", L), window.removeEventListener("resize", L);
215
+ re(() => (t(3, g = E(a)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
216
+ window.removeEventListener("message", I), window.removeEventListener("resize", I);
217
217
  }));
218
218
  function Y(i) {
219
- x[i ? "unshift" : "push"](() => {
219
+ U[i ? "unshift" : "push"](() => {
220
220
  _ = i, t(4, _);
221
221
  });
222
222
  }
223
223
  function Z() {
224
- D = this.clientWidth, G = this.clientHeight, t(5, D), t(6, G);
224
+ L = this.clientWidth, D = this.clientHeight, t(5, L), t(6, D);
225
225
  }
226
226
  function $(i) {
227
- x[i ? "unshift" : "push"](() => {
227
+ U[i ? "unshift" : "push"](() => {
228
228
  y = i, t(2, y);
229
229
  });
230
230
  }
@@ -233,8 +233,8 @@ function ke(s, e, t) {
233
233
  }, s.$$.update = () => {
234
234
  s.$$.dirty[0] & /*session, userid, endpoint*/
235
235
  17920 && w && k && p && T(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
236
- 2052 && c && y && he(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
- 8196 && b && y && de(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
236
+ 2052 && c && y && me(y, c), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
237
+ 8196 && b && y && he(y, b), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
238
238
  262148 && y && we(y, `${f}.Style`);
239
239
  }, [
240
240
  l,
@@ -242,8 +242,8 @@ function ke(s, e, t) {
242
242
  y,
243
243
  g,
244
244
  _,
245
+ L,
245
246
  D,
246
- G,
247
247
  S,
248
248
  X,
249
249
  w,
@@ -270,7 +270,7 @@ class Ce extends te {
270
270
  e,
271
271
  ke,
272
272
  Me,
273
- ne,
273
+ se,
274
274
  {
275
275
  duration: 0,
276
276
  session: 9,
@@ -362,7 +362,7 @@ class Ce extends te {
362
362
  this.$$set({ mbsource: e }), m();
363
363
  }
364
364
  }
365
- se(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
365
+ _e(Ce, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {}, mbsource: {} }, ["default", "close"], [], !0);
366
366
  export {
367
367
  Ce as default
368
368
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CkNAiTx8.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function D(s,{delay:t=0,duration:i=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:i,easing:o,css:r=>`opacity: ${r*l}`}}function R(s){e.append_styles(s,"svelte-1durwr3","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const q=s=>({}),L=s=>({});function G(s){let t,i,o,l,r,h,M,c,u,b,y;const k=s[20].default,d=e.create_slot(k,s,s[19],null),p=s[20].close,m=e.create_slot(p,s,s[19],L),f=m||A();return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(i,"class","ModalWindow"),e.attr(i,"part","ModalWindow"),e.attr(i,"id","Modal"),e.add_render_callback(()=>s[22].call(i)),e.attr(t,"part","CustomStylingContainer")},m(a,g){e.insert(a,t,g),e.append(t,i),e.append(i,o),d&&d.m(o,null),e.append(i,l),e.append(i,r),f&&f.m(r,null),s[21](i),M=e.add_iframe_resize_listener(i,s[22].bind(i)),s[23](t),u=!0,b||(y=e.listen(r,"click",s[8]),b=!0)},p(a,g){s=a,d&&d.p&&(!u||g[0]&524288)&&e.update_slot_base(d,k,s,s[19],u?e.get_slot_changes(k,s[19],g,null):e.get_all_dirty_from_scope(s[19]),null),m&&m.p&&(!u||g[0]&524288)&&e.update_slot_base(m,p,s,s[19],u?e.get_slot_changes(p,s[19],g,q):e.get_all_dirty_from_scope(s[19]),L),(!u||g[0]&10&&h!==(h="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",h)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(i,D,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[21](null),M(),a&&c&&c.end(),s[23](null),b=!1,y()}}}function A(s){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"stroke-linecap","round"),e.attr(i,"stroke-linejoin","round"),e.attr(i,"stroke-width","2"),e.attr(i,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,i)},p:e.noop,d(o){o&&e.detach(t)}}}function U(s){let t,i,o=s[7]&&G(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),i=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=G(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){i||(e.transition_in(o),i=!0)},o(l){e.transition_out(o),i=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function N(s,t,i){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:h=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:b=""}=t,{endpoint:y=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:p="true"}=t,{integratedgameframedesktop:m="false"}=t,{mbsource:f}=t,a=window.navigator.userAgent,g=!1,B=!1,_,w,S,z,C=!1;const v=()=>{i(7,C=!1),i(3,g=e.isMobile(a)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:g,closeIntegratedGameFrameDesktop:!0},window.location.href)},F=n=>{if(n.data.type=="ShowModal"&&u==n.data.identifier&&(i(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type=="ModalClosed"&&(m==="true"||e.isMobile(a))&&i(7,C=!1),n.data.type==="ShowGameModal"&&(i(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:n.data.gameId},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="OpenGameFrameModal"&&(i(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:n.data.gameId,gameFunMode:n.data.gamefunmode},window.location.href),m==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),n.data.type==="RequestModalSize"){let W={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}n.data.type==="GameStateOnResize"&&(B=n.data.detailsObtained)},E=n=>{if(B){let W={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:W},window.location.href)}},H=()=>{p=="true"&&e.checkSession(y,h).then(n=>{n.Guid,n.UserID},n=>{console.error("err on session",n)})};e.onMount(()=>(i(3,g=e.isMobile(a)),window.addEventListener("message",F,!1),window.addEventListener("resize",E,!1),()=>{window.removeEventListener("message",F),window.removeEventListener("resize",F)}));function j(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,i(4,_)})}function O(){S=this.clientWidth,z=this.clientHeight,i(5,S),i(6,z)}function P(n){e.binding_callbacks[n?"unshift":"push"](()=>{w=n,i(2,w)})}return s.$$set=n=>{"duration"in n&&i(0,r=n.duration),"session"in n&&i(9,h=n.session),"userid"in n&&i(10,M=n.userid),"clientstyling"in n&&i(11,c=n.clientstyling),"identifier"in n&&i(12,u=n.identifier),"clientstylingurl"in n&&i(13,b=n.clientstylingurl),"endpoint"in n&&i(14,y=n.endpoint),"haspanicbutton"in n&&i(1,k=n.haspanicbutton),"gamepagemodalurl"in n&&i(15,d=n.gamepagemodalurl),"sessioncheck"in n&&i(16,p=n.sessioncheck),"integratedgameframedesktop"in n&&i(17,m=n.integratedgameframedesktop),"mbsource"in n&&i(18,f=n.mbsource),"$$scope"in n&&i(19,l=n.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&h&&M&&y&&H(),s.$$.dirty[0]&2052&&c&&w&&e.setClientStyling(w,c),s.$$.dirty[0]&8196&&b&&w&&e.setClientStylingURL(w,b),s.$$.dirty[0]&262148&&w&&e.setStreamStyling(w,`${f}.Style`)},[r,k,w,g,_,S,z,C,v,h,M,c,u,b,y,d,p,m,f,l,o,j,O,P]}class I extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,U,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17,mbsource:18},R,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(I,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{},mbsource:{}},["default","close"],[],!0);exports.default=I;