@everymatrix/casino-lobby 1.61.0 → 1.61.1
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.
- package/components/{CasinoCalendar-CR3NqEmo.cjs → CasinoCalendar-BaQd3tuL.cjs} +6 -6
- package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-C4nbeq1g.js} +277 -271
- package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-WuTw9Z8d.js} +277 -271
- package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-BAGuydyF.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-CHONyOB5.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-DrcJ9qsj.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-B3npUDyl.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-CPM6-0C8.js} +1 -1
- package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-eOgZSp2O.js} +1 -1
- package/components/{CasinoCategoriesSlider-BqUXbvm-.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-DgQayYzE.js} +11 -11
- package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-DyNiM5Xn.js} +10 -10
- package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-5PJh4coY.js} +1 -1
- package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-BMFI1FD2.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-DvICMch1.js} +1 -1
- package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-BLswksE3.js} +2 -2
- package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-D57jT5yq.js} +2 -2
- package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-DXEM7KtA.cjs} +1 -1
- package/components/{CasinoFilter-C_1U3dc9.cjs → CasinoFilter-B9G8cs2A.cjs} +1 -1
- package/components/{CasinoFilter-D80YfaXW.js → CasinoFilter-BH7-Laxf.js} +1 -1
- package/components/{CasinoFilter-Cs9ZMDdP.js → CasinoFilter-COinUQ6E.js} +1 -1
- package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-D4oYftHp.js} +1 -1
- package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-DhNoxzWb.cjs} +1 -1
- package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-NTjXPK0_.js} +1 -1
- package/components/{CasinoGameThumbnail-D6vWUaB6.js → CasinoGameThumbnail-C_F6ViBB.js} +2 -2
- package/components/{CasinoGameThumbnail-p0ydxgWU.cjs → CasinoGameThumbnail-DWRrHNvN.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C3GiNGVC.js → CasinoGameThumbnail-pajQYCwc.js} +2 -2
- package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +1 -0
- package/components/{CasinoGamesCategorySection-o-CZJ4iD.js → CasinoGamesCategorySection-Br-ZBeEp.js} +1181 -1111
- package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-DrL01BnG.js} +742 -673
- package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-BoWCKFIJ.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-CG4fFV2M.js} +22 -22
- package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Yo5HGzmD.js} +22 -22
- package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-BUIc0ZEt.js} +2 -2
- package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DjRKGJ8F.js} +2 -2
- package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-CQVjJ22J.js} +277 -238
- package/components/CasinoLobby-DnBSVJ5P.cjs +1 -0
- package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-L5w-S2-2.js} +277 -238
- package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-CeEDc631.cjs} +1 -1
- package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Cx4skobD.js} +1 -1
- package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-DrALs71O.js} +1 -1
- package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-BrjuU2ad.js} +2 -2
- package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-D72Posxa.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-Dru8l_gX.js} +2 -2
- package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-Cc8aQUy5.js} +4 -4
- package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-DP5VtRtX.cjs} +1 -1
- package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-Eco1Z13t.js} +4 -4
- package/components/{CasinoPage-DOSD686t.js → CasinoPage-BvKvwzQq.js} +1021 -879
- package/components/CasinoPage-DAptP7ZQ.cjs +1 -0
- package/components/{CasinoPage-CiONVvV8.js → CasinoPage-mARxTyiZ.js} +1000 -842
- package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-5kYiDYSm.js} +1 -1
- package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-BJiVFaRb.cjs} +1 -1
- package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-RYfnY5_c.js} +1 -1
- package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-CnWoNOtX.js} +4 -4
- package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-D-hwTHcV.cjs} +1 -1
- package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Nqv4h_zq.js} +4 -4
- package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-B3dV89iI.cjs} +1 -1
- package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-Cr-fAktO.js} +1 -1
- package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-D1JzP31y.js} +1 -1
- package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-ByAjtAxn.cjs} +1 -1
- package/components/{CasinoSort-BSaxbC32.js → CasinoSort-D51DNHxk.js} +1 -1
- package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-DXiP4dA5.js} +1 -1
- package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-B1BXrca1.js} +2 -2
- package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-CEq9st2v.cjs} +1 -1
- package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-pzI08CdT.js} +2 -2
- package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-CI4qqgO_.js} +1 -1
- package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-CIaY2Gvf.js} +1 -1
- package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DiZmxxRF.cjs} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
- package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
- package/components/CasinoPage-CO6a5Btu.cjs +0 -1
package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-BAGuydyF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ce, $ as ue, S as fe, i as ye, s as ge, f as L, b as me, d as M, t as O, c as P, g as he, e as be, h as E, j as p, k as pe, o as _e, l as we, n as W, m as R, p as m, q as G, r, u as ve, v as q, w as ne, x as ke, y as Ce, z as Fe, A as J, B as H, C as Te, D as K, E as N, H as xe, F as A, G as De, I as Q, J as Me, K as Ee, L as Se, M as Ie, N as Le } from "./CasinoCalendar-
|
|
1
|
+
import { a as ce, $ as ue, S as fe, i as ye, s as ge, f as L, b as me, d as M, t as O, c as P, g as he, e as be, h as E, j as p, k as pe, o as _e, l as we, n as W, m as R, p as m, q as G, r, u as ve, v as q, w as ne, x as ke, y as Ce, z as Fe, A as J, B as H, C as Te, D as K, E as N, H as xe, F as A, G as De, I as Q, J as Me, K as Ee, L as Se, M as Ie, N as Le } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
import "../stencil/ui-image-DG3xEaHN.js";
|
|
3
3
|
function X(t, e) {
|
|
4
4
|
ce(t, e);
|
package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-CHONyOB5.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ce, $ as ue, S as fe, i as ye, s as ge, f as L, b as me, d as M, t as O, c as P, g as he, e as be, h as E, j as p, k as pe, o as _e, l as we, n as W, m as R, p as m, q as G, r, u as ve, v as q, w as ne, x as ke, y as Ce, z as Fe, A as J, B as H, C as Te, D as K, E as N, H as xe, F as A, G as De, I as Q, J as Me, K as Ee, L as Se, M as Ie, N as Le } from "./CasinoCalendar-
|
|
1
|
+
import { a as ce, $ as ue, S as fe, i as ye, s as ge, f as L, b as me, d as M, t as O, c as P, g as he, e as be, h as E, j as p, k as pe, o as _e, l as we, n as W, m as R, p as m, q as G, r, u as ve, v as q, w as ne, x as ke, y as Ce, z as Fe, A as J, B as H, C as Te, D as K, E as N, H as xe, F as A, G as De, I as Q, J as Me, K as Ee, L as Se, M as Ie, N as Le } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
import "../stencil/ui-image-CV8AJ9cY.js";
|
|
3
3
|
function X(t, e) {
|
|
4
4
|
ce(t, e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CR3NqEmo.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function B(a,t){e.addMessages(a,t)}function J(a){e.$locale.set(a)}const j={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 K(a){e.append_styles(a,"svelte-1cah7g7","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;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}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emw--color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage ui-image img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emw--gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emw--color-white, #FFFFFF) 55%, var(--emw--color-gray-100, #E6E6E6));overflow-wrap:break-word}.HeaderDailyDetails{overflow:hidden;width:110%;border-bottom:1px solid var(--emw--casino-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:var(--emw--casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}")}function H(a,t,n){const l=a.slice();return l[30]=t[n],l[31]=t,l[32]=n,l}function z(a,t,n){const l=a.slice();return l[33]=t[n],l[35]=n,l}const Q=a=>({}),A=a=>({});function X(a){let t,n,l,i,o,s=a[6](`${a[1]}`)+"",d,u,c,g,w,h;const v=a[20].close,_=e.create_slot(v,a,a[19],A),b=_||$();let C=e.ensure_array_like(a[3]),y=[];for(let f=0;f<C.length;f+=1)y[f]=O(H(a,C,f));return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),b&&b.c(),i=e.space(),o=e.element("div"),d=e.text(s),u=e.space();for(let f=0;f<y.length;f+=1)y[f].c();e.attr(l,"class","ModalCloseBtn"),e.attr(l,"role","button"),e.attr(o,"class","CasinoCalendarDailyDay"),e.attr(n,"class","HeaderDailyDetails"),e.attr(t,"class",c="CasinoCalendarDailyDetailsBackground "+(a[5]?"Mobile":""))},m(f,F){e.insert(f,t,F),e.append(t,n),e.append(n,l),b&&b.m(l,null),e.append(n,i),e.append(n,o),e.append(o,d),e.append(t,u);for(let p=0;p<y.length;p+=1)y[p]&&y[p].m(t,null);g=!0,w||(h=e.listen(l,"click",a[7]),w=!0)},p(f,F){if(_&&_.p&&(!g||F[0]&524288)&&e.update_slot_base(_,v,f,f[19],g?e.get_slot_changes(v,f[19],F,Q):e.get_all_dirty_from_scope(f[19]),A),(!g||F[0]&66)&&s!==(s=f[6](`${f[1]}`)+"")&&e.set_data(d,s),F[0]&777){C=e.ensure_array_like(f[3]);let p;for(p=0;p<C.length;p+=1){const T=H(f,C,p);y[p]?y[p].p(T,F):(y[p]=O(T),y[p].c(),y[p].m(t,null))}for(;p<y.length;p+=1)y[p].d(1);y.length=C.length}(!g||F[0]&32&&c!==(c="CasinoCalendarDailyDetailsBackground "+(f[5]?"Mobile":"")))&&e.attr(t,"class",c)},i(f){g||(e.transition_in(b,f),g=!0)},o(f){e.transition_out(b,f),g=!1},d(f){f&&e.detach(t),b&&b.d(f),e.destroy_each(y,f),w=!1,h()}}}function Y(a){let t,n=a[6]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(n),e.attr(t,"class","SearchLoading")},m(i,o){e.insert(i,t,o),e.append(t,l)},p(i,o){o[0]&64&&n!==(n=i[6]("loading")+"")&&e.set_data(l,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function Z(a){let t,n=a[6]("error")+"",l;return{c(){t=e.element("p"),l=e.text(n),e.attr(t,"class","SearchLoading")},m(i,o){e.insert(i,t,o),e.append(t,l)},p(i,o){o[0]&64&&n!==(n=i[6]("error")+"")&&e.set_data(l,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function $(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"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(l,i){e.insert(l,t,i),e.append(t,n)},p:e.noop,d(l){l&&e.detach(t)}}}function ee(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconDown")},m(l,i){e.insert(l,t,i),e.append(t,n)},d(l){l&&e.detach(t)}}}function te(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconUp")},m(l,i){e.insert(l,t,i),e.append(t,n)},d(l){l&&e.detach(t)}}}function N(a){let t,n,l,i=e.ensure_array_like(a[30].details),o=[];for(let d=0;d<i.length;d+=1)o[d]=W(z(a,i,d));let s=a[30].detailsExpanded&&q(a);return{c(){t=e.element("div");for(let d=0;d<o.length;d+=1)o[d].c();n=e.space(),s&&s.c(),l=e.empty(),e.attr(t,"class","DetailsTabsTitles")},m(d,u){e.insert(d,t,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);e.insert(d,n,u),s&&s.m(d,u),e.insert(d,l,u)},p(d,u){if(u[0]&520){i=e.ensure_array_like(d[30].details);let c;for(c=0;c<i.length;c+=1){const g=z(d,i,c);o[c]?o[c].p(g,u):(o[c]=W(g),o[c].c(),o[c].m(t,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}d[30].detailsExpanded?s?s.p(d,u):(s=q(d),s.c(),s.m(l.parentNode,l)):s&&(s.d(1),s=null)},d(d){d&&(e.detach(t),e.detach(n),e.detach(l)),e.destroy_each(o,d),s&&s.d(d)}}}function W(a){let t,n,l,i=a[33].title+"",o,s,d,u,c;function g(){return a[22](a[30],a[35],a[32])}return{c(){t=e.element("div"),n=e.element("div"),l=e.element("button"),s=e.space(),e.attr(l,"class",o="HeaderButton "+(a[35]===a[30].selectedTab?"Active":"")),e.attr(n,"class","Header"),e.attr(t,"class",d=a[35]===a[30].selectedTab?"SelectedTab":""),e.attr(t,"id","CollapseMoreInfoButton"),e.set_style(t,"height",a[30].expandedInfo?"100%":"")},m(w,h){e.insert(w,t,h),e.append(t,n),e.append(n,l),l.innerHTML=i,e.append(t,s),u||(c=e.listen(l,"click",g),u=!0)},p(w,h){a=w,h[0]&8&&i!==(i=a[33].title+"")&&(l.innerHTML=i),h[0]&8&&o!==(o="HeaderButton "+(a[35]===a[30].selectedTab?"Active":""))&&e.attr(l,"class",o),h[0]&8&&d!==(d=a[35]===a[30].selectedTab?"SelectedTab":"")&&e.attr(t,"class",d),h[0]&8&&e.set_style(t,"height",a[30].expandedInfo?"100%":"")},d(w){w&&e.detach(t),u=!1,c()}}}function q(a){let t,n=a[30].details[a[30].selectedTab].description+"",l;return{c(){t=e.element("div"),e.attr(t,"class",l="DetailTabsDescription "+(a[30].details[a[30].selectedTab].expandedTab?"":"NotVisible"))},m(i,o){e.insert(i,t,o),t.innerHTML=n},p(i,o){o[0]&8&&n!==(n=i[30].details[i[30].selectedTab].description+"")&&(t.innerHTML=n),o[0]&8&&l!==(l="DetailTabsDescription "+(i[30].details[i[30].selectedTab].expandedTab?"":"NotVisible"))&&e.attr(t,"class",l)},d(i){i&&e.detach(t)}}}function O(a){let t,n,l=a[30].title+"",i,o,s,d,u,c,g,w=a[30].description+"",h,v,_,b,C,y,f,F,p;function T(S,x){return S[30].expandedInfo==!0?te:ee}let E=T(a),M=E(a);function I(){return a[21](a[30],a[31],a[32])}let k=a[30].expandedInfo==!0&&N(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.space(),o=e.element("div"),s=e.element("ui-image"),c=e.space(),g=e.element("div"),h=e.space(),v=e.element("div"),_=e.element("button"),b=new e.HtmlTag(!1),C=e.space(),M.c(),y=e.space(),k&&k.c(),f=e.space(),e.attr(n,"class","CasinoCalendarDailyTitle"),e.set_custom_element_data(s,"imgClass","CasinoCalendarFitImage"),e.src_url_equal(s.src,d=a[30].image)||e.set_custom_element_data(s,"src",d),e.set_custom_element_data(s,"alt",u=a[30].image),e.attr(o,"class","CasinoCalendarImage"),e.attr(g,"class","CasinoCalendarDailyDescription"),b.a=C,e.attr(_,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarTabs"),e.attr(t,"class","CasinoCalendarDailyDetailsParent")},m(S,x){e.insert(S,t,x),e.append(t,n),n.innerHTML=l,e.append(t,i),e.append(t,o),e.append(o,s),e.append(t,c),e.append(t,g),g.innerHTML=w,e.append(t,h),e.append(t,v),e.append(v,_),b.m(a[0],_),e.append(_,C),M.m(_,null),e.append(v,y),k&&k.m(v,null),e.append(t,f),F||(p=e.listen(_,"click",I),F=!0)},p(S,x){a=S,x[0]&8&&l!==(l=a[30].title+"")&&(n.innerHTML=l),x[0]&8&&!e.src_url_equal(s.src,d=a[30].image)&&e.set_custom_element_data(s,"src",d),x[0]&8&&u!==(u=a[30].image)&&e.set_custom_element_data(s,"alt",u),x[0]&8&&w!==(w=a[30].description+"")&&(g.innerHTML=w),x[0]&1&&b.p(a[0]),E!==(E=T(a))&&(M.d(1),M=E(a),M&&(M.c(),M.m(_,null))),a[30].expandedInfo==!0?k?k.p(a,x):(k=N(a),k.c(),k.m(v,null)):k&&(k.d(1),k=null)},d(S){S&&e.detach(t),M.d(),k&&k.d(),F=!1,p()}}}function ae(a){let t,n,l,i;const o=[Z,Y,X],s=[];function d(u,c){return u[4]?1:2}return n=d(a),l=s[n]=o[n](a),{c(){t=e.element("div"),l.c()},m(u,c){e.insert(u,t,c),s[n].m(t,null),a[23](t),i=!0},p(u,c){let g=n;n=d(u),n===g?s[n].p(u,c):(e.group_outros(),e.transition_out(s[g],1,1,()=>{s[g]=null}),e.check_outros(),l=s[n],l?l.p(u,c):(l=s[n]=o[n](u),l.c()),e.transition_in(l,1),l.m(t,null))},i(u){i||(e.transition_in(l),i=!0)},o(u){e.transition_out(l),i=!1},d(u){u&&e.detach(t),s[n].d(),a[23](null)}}}function ne(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(6,l=r));let{$$slots:i={},$$scope:o}=t,{dailybackground:s=""}=t,{dailybuttontitle:d=""}=t,{dailyday:u=""}=t,{dailydescription:c="<p></p>"}=t,{dailyicon:g=""}=t,{dailytitle:w=""}=t,{lang:h="en"}=t,{mbsource:v}=t,{clientstyling:_=""}=t,{clientstylingurl:b=""}=t,{translationurl:C=""}=t,y=[],f=!0,F=!1,p=window.navigator.userAgent,T;const E=()=>{J(h)};Object.keys(j).forEach(r=>{B(r,j[r])});const M=()=>{let r=C;if(r)return fetch(r).then(m=>m.json()).then(m=>{Object.keys(m).forEach(D=>{B(D,m[D])})}).catch(m=>{console.log(m)})},I=r=>{r.data.type=="DailyEventsData"&&(n(4,f=!1),n(3,y=r.data.data),y.forEach(m=>{m.expandedInfo=!1,m.detailsExpanded=!1,m.selectedTab=0,m.details.forEach((D,L)=>{D.expandedTab=L==0})}))},k=()=>{window.postMessage({type:"ModalClosed"},window.location.href),y.forEach((r,m)=>{r.detailsExpanded=m==0,r.expandedInfo=m==0,r.selectedTab=0})},S=r=>{n(3,y[r].detailsExpanded=!y[r].detailsExpanded,y),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},x=(r,m,D)=>{n(3,y[D].selectedTab=m,y),r.details.forEach((L,G)=>{y[D].selectedTab!=G?L.expandedTab=!1:L.expandedTab=!0})};e.onMount(()=>(window.addEventListener("message",I,!1),e.isMobile(p)&&n(5,F=!0),()=>{window.removeEventListener("message",I)}));const V=(r,m,D)=>{n(3,m[D].expandedInfo=!r.expandedInfo,y),S(D)},P=(r,m,D)=>{x(r,m,D)};function R(r){e.binding_callbacks[r?"unshift":"push"](()=>{T=r,n(2,T)})}return a.$$set=r=>{"dailybackground"in r&&n(10,s=r.dailybackground),"dailybuttontitle"in r&&n(0,d=r.dailybuttontitle),"dailyday"in r&&n(1,u=r.dailyday),"dailydescription"in r&&n(11,c=r.dailydescription),"dailyicon"in r&&n(12,g=r.dailyicon),"dailytitle"in r&&n(13,w=r.dailytitle),"lang"in r&&n(14,h=r.lang),"mbsource"in r&&n(15,v=r.mbsource),"clientstyling"in r&&n(16,_=r.clientstyling),"clientstylingurl"in r&&n(17,b=r.clientstylingurl),"translationurl"in r&&n(18,C=r.translationurl),"$$scope"in r&&n(19,o=r.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&16384&&h&&E(),a.$$.dirty[0]&278528&&h&&C&&M(),a.$$.dirty[0]&65540&&_&&T&&e.setClientStyling(T,_),a.$$.dirty[0]&131076&&b&&T&&e.setClientStylingURL(T,b),a.$$.dirty[0]&32772&&v&&T&&e.setStreamStyling(T,`${v}.Style`)},[d,u,T,y,f,F,l,k,S,x,s,c,g,w,h,v,_,b,C,o,i,V,P,R]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,ae,e.safe_not_equal,{dailybackground:10,dailybuttontitle:0,dailyday:1,dailydescription:11,dailyicon:12,dailytitle:13,lang:14,mbsource:15,clientstyling:16,clientstylingurl:17,translationurl:18},K,[-1,-1])}get dailybackground(){return this.$$.ctx[10]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailyicon(){return this.$$.ctx[12]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailytitle(){return this.$$.ctx[13]}set dailytitle(t){this.$$set({dailytitle:t}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{dailybackground:{},dailybuttontitle:{},dailyday:{},dailydescription:{},dailyicon:{},dailytitle:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=U;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function B(a,t){e.addMessages(a,t)}function J(a){e.$locale.set(a)}const j={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 K(a){e.append_styles(a,"svelte-1cah7g7","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;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}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emw--color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emw--color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage ui-image img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emw--gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emw--color-white, #FFFFFF) 55%, var(--emw--color-gray-100, #E6E6E6));overflow-wrap:break-word}.HeaderDailyDetails{overflow:hidden;width:110%;border-bottom:1px solid var(--emw--casino-color-primary, #D0046C)}.ModalCloseBtn{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:var(--emw--casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emw--color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}")}function H(a,t,n){const l=a.slice();return l[30]=t[n],l[31]=t,l[32]=n,l}function z(a,t,n){const l=a.slice();return l[33]=t[n],l[35]=n,l}const Q=a=>({}),A=a=>({});function X(a){let t,n,l,i,o,s=a[6](`${a[1]}`)+"",d,u,c,g,w,h;const v=a[20].close,_=e.create_slot(v,a,a[19],A),b=_||$();let C=e.ensure_array_like(a[3]),y=[];for(let f=0;f<C.length;f+=1)y[f]=O(H(a,C,f));return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),b&&b.c(),i=e.space(),o=e.element("div"),d=e.text(s),u=e.space();for(let f=0;f<y.length;f+=1)y[f].c();e.attr(l,"class","ModalCloseBtn"),e.attr(l,"role","button"),e.attr(o,"class","CasinoCalendarDailyDay"),e.attr(n,"class","HeaderDailyDetails"),e.attr(t,"class",c="CasinoCalendarDailyDetailsBackground "+(a[5]?"Mobile":""))},m(f,F){e.insert(f,t,F),e.append(t,n),e.append(n,l),b&&b.m(l,null),e.append(n,i),e.append(n,o),e.append(o,d),e.append(t,u);for(let p=0;p<y.length;p+=1)y[p]&&y[p].m(t,null);g=!0,w||(h=e.listen(l,"click",a[7]),w=!0)},p(f,F){if(_&&_.p&&(!g||F[0]&524288)&&e.update_slot_base(_,v,f,f[19],g?e.get_slot_changes(v,f[19],F,Q):e.get_all_dirty_from_scope(f[19]),A),(!g||F[0]&66)&&s!==(s=f[6](`${f[1]}`)+"")&&e.set_data(d,s),F[0]&777){C=e.ensure_array_like(f[3]);let p;for(p=0;p<C.length;p+=1){const T=H(f,C,p);y[p]?y[p].p(T,F):(y[p]=O(T),y[p].c(),y[p].m(t,null))}for(;p<y.length;p+=1)y[p].d(1);y.length=C.length}(!g||F[0]&32&&c!==(c="CasinoCalendarDailyDetailsBackground "+(f[5]?"Mobile":"")))&&e.attr(t,"class",c)},i(f){g||(e.transition_in(b,f),g=!0)},o(f){e.transition_out(b,f),g=!1},d(f){f&&e.detach(t),b&&b.d(f),e.destroy_each(y,f),w=!1,h()}}}function Y(a){let t,n=a[6]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(n),e.attr(t,"class","SearchLoading")},m(i,o){e.insert(i,t,o),e.append(t,l)},p(i,o){o[0]&64&&n!==(n=i[6]("loading")+"")&&e.set_data(l,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function Z(a){let t,n=a[6]("error")+"",l;return{c(){t=e.element("p"),l=e.text(n),e.attr(t,"class","SearchLoading")},m(i,o){e.insert(i,t,o),e.append(t,l)},p(i,o){o[0]&64&&n!==(n=i[6]("error")+"")&&e.set_data(l,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function $(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"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(l,i){e.insert(l,t,i),e.append(t,n)},p:e.noop,d(l){l&&e.detach(t)}}}function ee(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconDown")},m(l,i){e.insert(l,t,i),e.append(t,n)},d(l){l&&e.detach(t)}}}function te(a){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))"),e.attr(t,"class","IconUp")},m(l,i){e.insert(l,t,i),e.append(t,n)},d(l){l&&e.detach(t)}}}function N(a){let t,n,l,i=e.ensure_array_like(a[30].details),o=[];for(let d=0;d<i.length;d+=1)o[d]=W(z(a,i,d));let s=a[30].detailsExpanded&&q(a);return{c(){t=e.element("div");for(let d=0;d<o.length;d+=1)o[d].c();n=e.space(),s&&s.c(),l=e.empty(),e.attr(t,"class","DetailsTabsTitles")},m(d,u){e.insert(d,t,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);e.insert(d,n,u),s&&s.m(d,u),e.insert(d,l,u)},p(d,u){if(u[0]&520){i=e.ensure_array_like(d[30].details);let c;for(c=0;c<i.length;c+=1){const g=z(d,i,c);o[c]?o[c].p(g,u):(o[c]=W(g),o[c].c(),o[c].m(t,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}d[30].detailsExpanded?s?s.p(d,u):(s=q(d),s.c(),s.m(l.parentNode,l)):s&&(s.d(1),s=null)},d(d){d&&(e.detach(t),e.detach(n),e.detach(l)),e.destroy_each(o,d),s&&s.d(d)}}}function W(a){let t,n,l,i=a[33].title+"",o,s,d,u,c;function g(){return a[22](a[30],a[35],a[32])}return{c(){t=e.element("div"),n=e.element("div"),l=e.element("button"),s=e.space(),e.attr(l,"class",o="HeaderButton "+(a[35]===a[30].selectedTab?"Active":"")),e.attr(n,"class","Header"),e.attr(t,"class",d=a[35]===a[30].selectedTab?"SelectedTab":""),e.attr(t,"id","CollapseMoreInfoButton"),e.set_style(t,"height",a[30].expandedInfo?"100%":"")},m(w,h){e.insert(w,t,h),e.append(t,n),e.append(n,l),l.innerHTML=i,e.append(t,s),u||(c=e.listen(l,"click",g),u=!0)},p(w,h){a=w,h[0]&8&&i!==(i=a[33].title+"")&&(l.innerHTML=i),h[0]&8&&o!==(o="HeaderButton "+(a[35]===a[30].selectedTab?"Active":""))&&e.attr(l,"class",o),h[0]&8&&d!==(d=a[35]===a[30].selectedTab?"SelectedTab":"")&&e.attr(t,"class",d),h[0]&8&&e.set_style(t,"height",a[30].expandedInfo?"100%":"")},d(w){w&&e.detach(t),u=!1,c()}}}function q(a){let t,n=a[30].details[a[30].selectedTab].description+"",l;return{c(){t=e.element("div"),e.attr(t,"class",l="DetailTabsDescription "+(a[30].details[a[30].selectedTab].expandedTab?"":"NotVisible"))},m(i,o){e.insert(i,t,o),t.innerHTML=n},p(i,o){o[0]&8&&n!==(n=i[30].details[i[30].selectedTab].description+"")&&(t.innerHTML=n),o[0]&8&&l!==(l="DetailTabsDescription "+(i[30].details[i[30].selectedTab].expandedTab?"":"NotVisible"))&&e.attr(t,"class",l)},d(i){i&&e.detach(t)}}}function O(a){let t,n,l=a[30].title+"",i,o,s,d,u,c,g,w=a[30].description+"",h,v,_,b,C,y,f,F,p;function T(S,x){return S[30].expandedInfo==!0?te:ee}let E=T(a),M=E(a);function I(){return a[21](a[30],a[31],a[32])}let k=a[30].expandedInfo==!0&&N(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.space(),o=e.element("div"),s=e.element("ui-image"),c=e.space(),g=e.element("div"),h=e.space(),v=e.element("div"),_=e.element("button"),b=new e.HtmlTag(!1),C=e.space(),M.c(),y=e.space(),k&&k.c(),f=e.space(),e.attr(n,"class","CasinoCalendarDailyTitle"),e.set_custom_element_data(s,"imgClass","CasinoCalendarFitImage"),e.src_url_equal(s.src,d=a[30].image)||e.set_custom_element_data(s,"src",d),e.set_custom_element_data(s,"alt",u=a[30].image),e.attr(o,"class","CasinoCalendarImage"),e.attr(g,"class","CasinoCalendarDailyDescription"),b.a=C,e.attr(_,"class","MoreInfoButton"),e.attr(v,"class","CasinoCalendarTabs"),e.attr(t,"class","CasinoCalendarDailyDetailsParent")},m(S,x){e.insert(S,t,x),e.append(t,n),n.innerHTML=l,e.append(t,i),e.append(t,o),e.append(o,s),e.append(t,c),e.append(t,g),g.innerHTML=w,e.append(t,h),e.append(t,v),e.append(v,_),b.m(a[0],_),e.append(_,C),M.m(_,null),e.append(v,y),k&&k.m(v,null),e.append(t,f),F||(p=e.listen(_,"click",I),F=!0)},p(S,x){a=S,x[0]&8&&l!==(l=a[30].title+"")&&(n.innerHTML=l),x[0]&8&&!e.src_url_equal(s.src,d=a[30].image)&&e.set_custom_element_data(s,"src",d),x[0]&8&&u!==(u=a[30].image)&&e.set_custom_element_data(s,"alt",u),x[0]&8&&w!==(w=a[30].description+"")&&(g.innerHTML=w),x[0]&1&&b.p(a[0]),E!==(E=T(a))&&(M.d(1),M=E(a),M&&(M.c(),M.m(_,null))),a[30].expandedInfo==!0?k?k.p(a,x):(k=N(a),k.c(),k.m(v,null)):k&&(k.d(1),k=null)},d(S){S&&e.detach(t),M.d(),k&&k.d(),F=!1,p()}}}function ae(a){let t,n,l,i;const o=[Z,Y,X],s=[];function d(u,c){return u[4]?1:2}return n=d(a),l=s[n]=o[n](a),{c(){t=e.element("div"),l.c()},m(u,c){e.insert(u,t,c),s[n].m(t,null),a[23](t),i=!0},p(u,c){let g=n;n=d(u),n===g?s[n].p(u,c):(e.group_outros(),e.transition_out(s[g],1,1,()=>{s[g]=null}),e.check_outros(),l=s[n],l?l.p(u,c):(l=s[n]=o[n](u),l.c()),e.transition_in(l,1),l.m(t,null))},i(u){i||(e.transition_in(l),i=!0)},o(u){e.transition_out(l),i=!1},d(u){u&&e.detach(t),s[n].d(),a[23](null)}}}function ne(a,t,n){let l;e.component_subscribe(a,e.$format,r=>n(6,l=r));let{$$slots:i={},$$scope:o}=t,{dailybackground:s=""}=t,{dailybuttontitle:d=""}=t,{dailyday:u=""}=t,{dailydescription:c="<p></p>"}=t,{dailyicon:g=""}=t,{dailytitle:w=""}=t,{lang:h="en"}=t,{mbsource:v}=t,{clientstyling:_=""}=t,{clientstylingurl:b=""}=t,{translationurl:C=""}=t,y=[],f=!0,F=!1,p=window.navigator.userAgent,T;const E=()=>{J(h)};Object.keys(j).forEach(r=>{B(r,j[r])});const M=()=>{let r=C;if(r)return fetch(r).then(m=>m.json()).then(m=>{Object.keys(m).forEach(D=>{B(D,m[D])})}).catch(m=>{console.log(m)})},I=r=>{r.data.type=="DailyEventsData"&&(n(4,f=!1),n(3,y=r.data.data),y.forEach(m=>{m.expandedInfo=!1,m.detailsExpanded=!1,m.selectedTab=0,m.details.forEach((D,L)=>{D.expandedTab=L==0})}))},k=()=>{window.postMessage({type:"ModalClosed"},window.location.href),y.forEach((r,m)=>{r.detailsExpanded=m==0,r.expandedInfo=m==0,r.selectedTab=0})},S=r=>{n(3,y[r].detailsExpanded=!y[r].detailsExpanded,y),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetDetails"})},x=(r,m,D)=>{n(3,y[D].selectedTab=m,y),r.details.forEach((L,G)=>{y[D].selectedTab!=G?L.expandedTab=!1:L.expandedTab=!0})};e.onMount(()=>(window.addEventListener("message",I,!1),e.isMobile(p)&&n(5,F=!0),()=>{window.removeEventListener("message",I)}));const V=(r,m,D)=>{n(3,m[D].expandedInfo=!r.expandedInfo,y),S(D)},P=(r,m,D)=>{x(r,m,D)};function R(r){e.binding_callbacks[r?"unshift":"push"](()=>{T=r,n(2,T)})}return a.$$set=r=>{"dailybackground"in r&&n(10,s=r.dailybackground),"dailybuttontitle"in r&&n(0,d=r.dailybuttontitle),"dailyday"in r&&n(1,u=r.dailyday),"dailydescription"in r&&n(11,c=r.dailydescription),"dailyicon"in r&&n(12,g=r.dailyicon),"dailytitle"in r&&n(13,w=r.dailytitle),"lang"in r&&n(14,h=r.lang),"mbsource"in r&&n(15,v=r.mbsource),"clientstyling"in r&&n(16,_=r.clientstyling),"clientstylingurl"in r&&n(17,b=r.clientstylingurl),"translationurl"in r&&n(18,C=r.translationurl),"$$scope"in r&&n(19,o=r.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&16384&&h&&E(),a.$$.dirty[0]&278528&&h&&C&&M(),a.$$.dirty[0]&65540&&_&&T&&e.setClientStyling(T,_),a.$$.dirty[0]&131076&&b&&T&&e.setClientStylingURL(T,b),a.$$.dirty[0]&32772&&v&&T&&e.setStreamStyling(T,`${v}.Style`)},[d,u,T,y,f,F,l,k,S,x,s,c,g,w,h,v,_,b,C,o,i,V,P,R]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,ae,e.safe_not_equal,{dailybackground:10,dailybuttontitle:0,dailyday:1,dailydescription:11,dailyicon:12,dailytitle:13,lang:14,mbsource:15,clientstyling:16,clientstylingurl:17,translationurl:18},K,[-1,-1])}get dailybackground(){return this.$$.ctx[10]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailyicon(){return this.$$.ctx[12]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailytitle(){return this.$$.ctx[13]}set dailytitle(t){this.$$set({dailytitle:t}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{dailybackground:{},dailybuttontitle:{},dailyday:{},dailydescription:{},dailyicon:{},dailytitle:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=U;
|
package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-B3npUDyl.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CR3NqEmo.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function M(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-g8pzdd",'*,*::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: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::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius: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: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::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{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, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=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"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=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(o,"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(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),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(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=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:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}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,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function M(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-g8pzdd",'*,*::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: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::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius: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: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::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{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, 20px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,r,b,l,g,C,i,u,s,p,m,c,y=n[8](`${n[2]}`)+"",h,f,o,F,v,x,S,_,w,I,T;return{c(){a=e.element("div"),r=e.element("div"),b=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"),m=e.space(),c=e.element("div"),h=e.text(y),f=e.space(),o=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(o,"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(b,"class","CasinoCalendarItems"),e.attr(r,"class",w="Container "+(n[7]?"Mobile":""))},m(d,t){e.insert(d,a,t),e.append(a,r),e.append(r,b),e.append(b,l),e.append(l,g),e.append(l,C),e.append(l,i),e.append(i,u),e.append(u,s),e.append(i,m),e.append(i,c),e.append(c,h),e.append(i,f),e.append(i,o),n[16](o),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(d,[t]){t&2&&!e.src_url_equal(s.src,p=d[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",d[1]),t&260&&y!==(y=d[8](`${d[2]}`)+"")&&e.set_data(h,y),t&8&&e.set_data(S,d[3]),t&16&&_!==(_="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(i,"class",_),t&1&&e.set_style(i,"background-image","url('"+d[0]+"')"),t&128&&w!==(w="Container "+(d[7]?"Mobile":""))&&e.attr(r,"class",w)},i:e.noop,o:e.noop,d(d){d&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,r){let b;e.component_subscribe(n,e.$format,t=>r(8,b=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:m}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:h=""}=a,f,o,F=!1,v=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{M(t,E[t])});const S=()=>{let t=h;if(t)return fetch(t).then(k=>k.json()).then(k=>{Object.keys(k).forEach(z=>{M(z,k[z])})}).catch(k=>{console.log(k)})},_=()=>{let t=document.createElement("div");t.innerHTML=u,f&&f.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&r(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{f=t,r(6,f)})}const T=()=>w();function d(t){e.binding_callbacks[t?"unshift":"push"](()=>{o=t,r(5,o)})}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,m=t.mbsource),"clientstyling"in t&&r(13,c=t.clientstyling),"clientstylingurl"in t&&r(14,y=t.clientstylingurl),"translationurl"in t&&r(15,h=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&h&&S(),n.$$.dirty&2063&&C&&i&&u&&s&&g&&_(),n.$$.dirty&8224&&c&&o&&e.setClientStyling(o,c),n.$$.dirty&16416&&y&&o&&e.setClientStylingURL(o,y),n.$$.dirty&4128&&m&&o&&e.setStreamStyling(o,`${m}.Style`)},[g,C,i,s,p,o,f,F,b,w,l,u,m,c,y,h,I,T,d]}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;
|
package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-CPM6-0C8.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I 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 N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-
|
|
1
|
+
import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I 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 N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
import "../stencil/ui-image-CV8AJ9cY.js";
|
|
3
3
|
function P(a, t) {
|
|
4
4
|
H(a, t);
|
package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-eOgZSp2O.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I 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 N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-
|
|
1
|
+
import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I 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 N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
import "../stencil/ui-image-DG3xEaHN.js";
|
|
3
3
|
function P(a, t) {
|
|
4
4
|
H(a, t);
|
package/components/{CasinoCategoriesSlider-BqUXbvm-.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");function J(i,e){t.addMessages(i,e)}const K={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BU163_5n.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ae(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(n,o){return n[13]||le||re?ne:n[15]?ie:ae}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",le=!1,re=!1;function ce(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:N=""}=e,{clientstyling:w=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,I,g=!0,f,y=[],d=!1,V=window.navigator.userAgent,m,B,Y=!1,S=!1;const W=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{J(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(a=>{J(a,K[a])});const X=()=>{Y==!1&&(N=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:q,href:"",games:[]}),t.tick(),Y=!0,s(26,S=!0),k()},Z=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),x=()=>{if(q=l("myGamesName"),I=l("lobbyName"),!Z()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(V)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),ee=c.items.filter(H=>{let E=!1;if(H.games.total>0&&(E=!0,M))for(let te of C)H.flags==te&&(E=!1);return E});y=[],y=y.concat(ee),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,N=a.favorites),"clientstyling"in a&&s(4,w=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&x(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||N)&&!g&&X(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&p(),i.$$.dirty[0]&33554432&&v&&W(),i.$$.dirty[0]&16400&&w&&m&&t.setClientStyling(m,w),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,B=0),[u,r,n,o,w,L,F,D,O,T,R,U,G,g,m,d,B,k,P,h,b,_,N,A,M,v,S,$]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=Q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");function J(i,e){t.addMessages(i,e)}const K={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-B3dV89iI.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ae(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(n,o){return n[13]||le||re?ne:n[15]?ie:ae}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",le=!1,re=!1;function ce(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:N=""}=e,{clientstyling:w=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,I,g=!0,f,y=[],d=!1,V=window.navigator.userAgent,m,B,Y=!1,S=!1;const W=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{J(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(a=>{J(a,K[a])});const X=()=>{Y==!1&&(N=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:q,href:"",games:[]}),t.tick(),Y=!0,s(26,S=!0),k()},Z=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),x=()=>{if(q=l("myGamesName"),I=l("lobbyName"),!Z()){let a=new URL(`${r}/v2/casino/groups/${n}`);a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(V)),a.searchParams.append("fields","id,name,games(href)"),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),ee=c.items.filter(H=>{let E=!1;if(H.games.total>0&&(E=!0,M))for(let te of C)H.flags==te&&(E=!1);return E});y=[],y=y.concat(ee),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,N=a.favorites),"clientstyling"in a&&s(4,w=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&x(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||N)&&!g&&X(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&p(),i.$$.dirty[0]&33554432&&v&&W(),i.$$.dirty[0]&16400&&w&&m&&t.setClientStyling(m,w),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,B=0),[u,r,n,o,w,L,F,D,O,T,R,U,G,g,m,d,B,k,P,h,b,_,N,A,M,v,S,$]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=Q;
|
package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-DgQayYzE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, O as fe, C as
|
|
1
|
+
import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, O as fe, C as de, r as T, E as n, p as be, P as he, J as Ne, K as we, L as Le, M as Me, Q as _e, N as ve } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
function Z(i, e) {
|
|
3
3
|
re(i, e);
|
|
4
4
|
}
|
|
@@ -88,7 +88,7 @@ if (typeof window != "undefined") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-Cr-fAktO.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -172,7 +172,7 @@ function Ge(i) {
|
|
|
172
172
|
), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
|
173
173
|
},
|
|
174
174
|
m(a, o) {
|
|
175
|
-
j(a, e, o),
|
|
175
|
+
j(a, e, o), be(e, t), r || (c = he(
|
|
176
176
|
/*sendSliderData*/
|
|
177
177
|
i[17].call(null, t)
|
|
178
178
|
), r = !0);
|
|
@@ -332,7 +332,7 @@ let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
|
332
332
|
function Fe(i, e, t) {
|
|
333
333
|
let r;
|
|
334
334
|
ue(i, ve, (s) => t(33, r = s));
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0,
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, d, b = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
|
|
336
336
|
const $ = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
@@ -346,17 +346,17 @@ function Fe(i, e, t) {
|
|
|
346
346
|
Z(s, x[s]);
|
|
347
347
|
});
|
|
348
348
|
const ee = () => {
|
|
349
|
-
V == !1 && (M == "true" || w == "true" || L == "true") &&
|
|
349
|
+
V == !1 && (M == "true" || w == "true" || L == "true") && b.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
352
|
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
355
|
}), _e(), V = !0, t(26, F = !0), A();
|
|
356
|
-
}, te = () => (c || (
|
|
356
|
+
}, te = () => (c || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(d)), (!o || o.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(d)), f), se = () => {
|
|
357
357
|
if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
|
|
358
|
-
let s = new URL(`${c}/
|
|
359
|
-
s.searchParams.append("
|
|
358
|
+
let s = new URL(`${c}/v2/casino/groups/${a}`);
|
|
359
|
+
s.searchParams.append("language", o), s.searchParams.append("platform", fe(p)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
361
|
let k = C.split(","), ne = m.items.filter((X) => {
|
|
362
362
|
let D = !1;
|
|
@@ -365,7 +365,7 @@ function Fe(i, e, t) {
|
|
|
365
365
|
X.flags == oe && (D = !1);
|
|
366
366
|
return D;
|
|
367
367
|
});
|
|
368
|
-
|
|
368
|
+
b = [], b = b.concat(ne), b.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
371
|
name: K,
|
|
@@ -388,7 +388,7 @@ function Fe(i, e, t) {
|
|
|
388
388
|
{
|
|
389
389
|
type: "SliderData",
|
|
390
390
|
identity: O,
|
|
391
|
-
data:
|
|
391
|
+
data: b
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
@@ -399,7 +399,7 @@ function Fe(i, e, t) {
|
|
|
399
399
|
window.removeEventListener("message", W);
|
|
400
400
|
}));
|
|
401
401
|
function ae(s) {
|
|
402
|
-
|
|
402
|
+
de[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-DyNiM5Xn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as re, S as le, i as ce, f as l, s as me, M as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, O as
|
|
1
|
+
import { a as re, S as le, i as ce, f as l, s as me, M as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, O as de, C as be, r as T, E as n, p as he, P as Ne, N as we, J as Le, K as Me, L as _e, Q as ve } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
function Z(i, e) {
|
|
3
3
|
re(i, e);
|
|
4
4
|
}
|
|
@@ -88,7 +88,7 @@ if (typeof window < "u") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-D1JzP31y.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -332,7 +332,7 @@ let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
|
332
332
|
function Fe(i, e, t) {
|
|
333
333
|
let r;
|
|
334
334
|
ye(i, we, (s) => t(33, r = s));
|
|
335
|
-
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0,
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, d, b = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
|
|
336
336
|
const $ = () => {
|
|
337
337
|
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
338
|
Object.keys(m).forEach((k) => {
|
|
@@ -346,17 +346,17 @@ function Fe(i, e, t) {
|
|
|
346
346
|
Z(s, x[s]);
|
|
347
347
|
});
|
|
348
348
|
const ee = () => {
|
|
349
|
-
V == !1 && (M == "true" || w == "true" || L == "true") &&
|
|
349
|
+
V == !1 && (M == "true" || w == "true" || L == "true") && b.splice(1, 0, {
|
|
350
350
|
// @ts-ignore
|
|
351
351
|
id: "MYGAMES",
|
|
352
352
|
name: J,
|
|
353
353
|
href: "",
|
|
354
354
|
games: []
|
|
355
355
|
}), ve(), V = !0, t(26, F = !0), A();
|
|
356
|
-
}, te = () => (c || (
|
|
356
|
+
}, te = () => (c || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(d)), (!o || o.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(d)), f), se = () => {
|
|
357
357
|
if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
|
|
358
|
-
let s = new URL(`${c}/
|
|
359
|
-
s.searchParams.append("
|
|
358
|
+
let s = new URL(`${c}/v2/casino/groups/${a}`);
|
|
359
|
+
s.searchParams.append("language", o), s.searchParams.append("platform", de(p)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((m) => m.json()).then(
|
|
360
360
|
(m) => {
|
|
361
361
|
let k = C.split(","), ne = m.items.filter((X) => {
|
|
362
362
|
let D = !1;
|
|
@@ -365,7 +365,7 @@ function Fe(i, e, t) {
|
|
|
365
365
|
X.flags == oe && (D = !1);
|
|
366
366
|
return D;
|
|
367
367
|
});
|
|
368
|
-
|
|
368
|
+
b = [], b = b.concat(ne), b.unshift({
|
|
369
369
|
// @ts-ignore
|
|
370
370
|
id: "LOBBY",
|
|
371
371
|
name: K,
|
|
@@ -388,7 +388,7 @@ function Fe(i, e, t) {
|
|
|
388
388
|
{
|
|
389
389
|
type: "SliderData",
|
|
390
390
|
identity: O,
|
|
391
|
-
data:
|
|
391
|
+
data: b
|
|
392
392
|
},
|
|
393
393
|
window.location.href
|
|
394
394
|
);
|
|
@@ -399,7 +399,7 @@ function Fe(i, e, t) {
|
|
|
399
399
|
window.removeEventListener("message", W);
|
|
400
400
|
}));
|
|
401
401
|
function ae(s) {
|
|
402
|
-
|
|
402
|
+
be[s ? "unshift" : "push"](() => {
|
|
403
403
|
g = s, t(14, g);
|
|
404
404
|
});
|
|
405
405
|
}
|
package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-5PJh4coY.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _e, $ as Ce, S as ye, i as we, s as Se, f as M, b as ke, n as O, d as x, h as T, j as _, k as Ge, o as Pe, l as Le, C as Y, r as y, v as B, w as re, m as I, p as v, q, B as F, R as Me, A as H, I as R, D as z, E as j, T as je, J as xe, K as Te, L as Fe, M as Oe, N as Be } from "./CasinoCalendar-
|
|
1
|
+
import { a as _e, $ as Ce, S as ye, i as we, s as Se, f as M, b as ke, n as O, d as x, h as T, j as _, k as Ge, o as Pe, l as Le, C as Y, r as y, v as B, w as re, m as I, p as v, q, B as F, R as Me, A as H, I as R, D as z, E as j, T as je, J as xe, K as Te, L as Fe, M as Oe, N as Be } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
import "../stencil/ui-image-DG3xEaHN.js";
|
|
3
3
|
function Q(t, e) {
|
|
4
4
|
_e(t, e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CR3NqEmo.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,_,w,d=i[7]>i[8]&&V(i),p=e.ensure_array_like(i[3]),s=[];for(let c=0;c<p.length;c+=1)s[c]=K(I(i,p,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),_=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(_,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,_);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(_,null);i[25](_)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){p=e.ensure_array_like(c[3]);let h;for(h=0;h<p.length;h+=1){const m=I(c,p,h);s[h]?s[h].p(m,u):(s[h]=K(m),s[h].c(),s[h].m(_,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=p.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,_){e.insert(b,t,_),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("ui-image"),e.set_custom_element_data(t,"imgClass","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.set_custom_element_data(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.set_custom_element_data(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,_;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("ui-image"),a=e.space(),d&&d.c(),g=e.space(),e.set_custom_element_data(l,"imgClass","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(p,s){e.insert(p,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(_=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(p,s){i=p,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.set_custom_element_data(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.set_custom_element_data(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(p){p&&e.detach(t),d&&d.d(),b=!1,_()}}}function K(i){let t,l,r,o,a,g,b,_,w;function d(m,f){if(m[1]==="logo")return ue;if(m[1]==="title")return ge}let p=d(i),s=p&&p(i),c=e.ensure_array_like(i[41].games),u=[];for(let m=0;m<c.length;m+=1)u[m]=D(U(i,c,m));function h(){return i[24](i[41])}return{c(){var m,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let v=0;v<u.length;v+=1)u[v].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((m=i[41])==null?void 0:m.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(m,f){e.insert(m,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(a,null);e.append(t,b),_||(w=e.listen(l,"click",h),_=!0)},p(m,f){var v,k;if(i=m,p===(p=d(i))&&s?s.p(i,f):(s&&s.d(1),s=p&&p(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((v=i[41])==null?void 0:v.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(m){m&&e.detach(t),s&&s.d(),e.destroy_each(u,m),_=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:_=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:p=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,m,f=0,v=0,k=0,y,L,x=0,M=50,j=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(C=>C.json()).then(C=>{Object.keys(C).forEach(P=>{E(P,C[P])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let P=C.items.map(S=>{var B,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(B=S.vendors)==null?void 0:B.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,v=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var C;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),y=(C=L[0])==null?void 0:C.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=v-k:f-k<-1?f=0:f--,H()},ee=()=>{f===v-k?f=0:v-k<f+1?f=v-k:f++,H()},q=(n,C,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},z=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>q(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>z(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,l(4,m)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,_=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,p=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&m&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&p&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,q,z,o,a,g,w,d,p,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BaQd3tuL.cjs");require("../stencil/ui-image-LuWVcxjH.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-3oqkg3",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,_,w,d=i[7]>i[8]&&V(i),p=e.ensure_array_like(i[3]),s=[];for(let c=0;c<p.length;c+=1)s[c]=K(I(i,p,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),_=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(_,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,_);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(_,null);i[25](_)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){p=e.ensure_array_like(c[3]);let h;for(h=0;h<p.length;h+=1){const m=I(c,p,h);s[h]?s[h].p(m,u):(s[h]=K(m),s[h].c(),s[h].m(_,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=p.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,_){e.insert(b,t,_),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("ui-image"),e.set_custom_element_data(t,"imgClass","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.set_custom_element_data(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.set_custom_element_data(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,_;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("ui-image"),a=e.space(),d&&d.c(),g=e.space(),e.set_custom_element_data(l,"imgClass","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(p,s){e.insert(p,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(_=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(p,s){i=p,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.set_custom_element_data(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.set_custom_element_data(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(p){p&&e.detach(t),d&&d.d(),b=!1,_()}}}function K(i){let t,l,r,o,a,g,b,_,w;function d(m,f){if(m[1]==="logo")return ue;if(m[1]==="title")return ge}let p=d(i),s=p&&p(i),c=e.ensure_array_like(i[41].games),u=[];for(let m=0;m<c.length;m+=1)u[m]=D(U(i,c,m));function h(){return i[24](i[41])}return{c(){var m,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let v=0;v<u.length;v+=1)u[v].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((m=i[41])==null?void 0:m.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(m,f){e.insert(m,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(a,null);e.append(t,b),_||(w=e.listen(l,"click",h),_=!0)},p(m,f){var v,k;if(i=m,p===(p=d(i))&&s?s.p(i,f):(s&&s.d(1),s=p&&p(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((v=i[41])==null?void 0:v.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(m){m&&e.detach(t),s&&s.d(),e.destroy_each(u,m),_=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:_=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:p=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,m,f=0,v=0,k=0,y,L,x=0,M=50,j=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(C=>C.json()).then(C=>{Object.keys(C).forEach(P=>{E(P,C[P])})}).catch(C=>{console.log(C)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let P=C.items.map(S=>{var B,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(B=S.vendors)==null?void 0:B.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,v=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var C;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),y=(C=L[0])==null?void 0:C.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/y))},H=()=>{O(f)},$=()=>{f===0?f=v-k:f-k<-1?f=0:f--,H()},ee=()=>{f===v-k?f=0:v-k<f+1?f=v-k:f++,H()},q=(n,C,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},z=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>q(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>z(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,l(4,m)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,_=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,p=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&m&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&p&&X(),i.$$.dirty[0]&4194304&&j&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,q,z,o,a,g,w,d,p,c,j,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
|
package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-DvICMch1.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as je, l as xe, C as ee, r as w, v as z, w as ce, m as q, p as h, q as U, B as O, R as Te, A, I, D as N, E as j, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-
|
|
1
|
+
import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as je, l as xe, C as ee, r as w, v as z, w as ce, m as q, p as h, q as U, B as O, R as Te, A, I, D as N, E as j, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
import "../stencil/ui-image-CV8AJ9cY.js";
|
|
3
3
|
function te(t, e) {
|
|
4
4
|
we(t, e);
|
package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-BLswksE3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-
|
|
1
|
+
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-WuTw9Z8d.js";
|
|
2
2
|
if (typeof window != "undefined") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window != "undefined") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-Br-ZBeEp.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-D57jT5yq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-
|
|
1
|
+
import { $ as E, U as O, S as R, i as U, s as j, f as l, b as z, n as L, d as q, h as A, j as D, r as J, o as K, E as s, C as T, J as V, K as B, L as G, M as H } from "./CasinoCalendar-C4nbeq1g.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
3
|
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
@@ -11,7 +11,7 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-DrL01BnG.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|