@everymatrix/casino-page-nd 1.76.14 → 1.77.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-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
- package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
- package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
- package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
- package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
- package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
- package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
- package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
- package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
- package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
- package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
- package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
- package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
- package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
- package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
- package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
- package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
- package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
- package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
- package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
- package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
- package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
- package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
- package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
- package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
- package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
- package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
- package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
- package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
- package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
- package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
- package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
- package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
- package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
- package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
- package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
- package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
- package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
- package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
- package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
- package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
- package/components/CasinoWinners-DiN0im-f.cjs +1 -0
- package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
- package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
- package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
- package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/casino-calendar-6neds2oy.js +16 -0
- package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
- package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
- package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
- package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
- package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
- package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
- package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
- package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
- package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
- package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
- package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
- package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
- package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
- package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
- package/lazy/casino-filter-C-pmSjXr.js +16 -0
- package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
- package/lazy/casino-filter-Cj7_L9pL.js +16 -0
- package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
- package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
- package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
- package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
- package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
- package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
- package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
- package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
- package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
- package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
- package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
- package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
- package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
- package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
- package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
- package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
- package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
- package/lazy/casino-play-random-game--i81UNg_.js +566 -0
- package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
- package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
- package/lazy/casino-random-game-CrCiwriJ.js +16 -0
- package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
- package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
- package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
- package/lazy/casino-search-nd-C9BJPr43.js +16 -0
- package/lazy/casino-search-nd-CwQvpchn.js +16 -0
- package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
- package/lazy/casino-sort-CAbAJiMw.js +16 -0
- package/lazy/casino-sort-DvKa_qwq.js +16 -0
- package/lazy/casino-winners-B_gD0IFb.js +16 -0
- package/lazy/casino-winners-C7YkitCv.cjs +1 -0
- package/lazy/casino-winners-SrWXp94E.js +16 -0
- package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
- package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
- package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
- package/lazy/ui-image-BAx5XP4T.js +554 -0
- package/lazy/ui-image-q7RKTAnB.js +538 -0
- package/lazy/ui-image-xAOmP7KP.cjs +1 -0
- package/package.json +3 -2
- package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
- package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
- package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
- package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
- package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
- package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
- package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
- package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
- package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
- package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
- package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
- package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
- package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
- package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
- package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
- package/components/CasinoFilter-BVW1b78L.cjs +0 -1
- package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
- package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
- package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
- package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
- package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
- package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
- package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
- package/stencil/index-242ac81a-Czg480dJ.js +0 -554
- package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
- package/stencil/index-27b314b8-9-rvsddy.js +0 -566
- package/stencil/index-27b314b8-CCprWmCo.js +0 -582
- package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CzrlHwD6.cjs");require("../stencil/ui-image-CNN86Aho.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.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--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DGE4j4zu.cjs");require("../stencil/ui-image-eIUrNbW3.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.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--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DGE4j4zu.cjs");require("../lazy/casino-games-category-section-nd-D6bEuvm5.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l,
|
|
2
|
-
import "
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as D, h as M, q as Z, j as P, u as A, k as le, l as re, o as oe, D as ue, p as ce, r as me, F as i, P as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-DYLVhtW-.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DSMqYaGz.js";
|
|
3
|
+
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const V = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,13 +33,13 @@ const Z = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
|
-
e =
|
|
42
|
+
e = P("casino-games-category-section-nd"), i(
|
|
43
43
|
e,
|
|
44
44
|
"session",
|
|
45
45
|
/*session*/
|
|
@@ -268,15 +268,15 @@ function _e(s) {
|
|
|
268
268
|
), n;
|
|
269
269
|
return {
|
|
270
270
|
c() {
|
|
271
|
-
e =
|
|
271
|
+
e = P("p"), n = me(t), A(e, "class", "SearchLoading");
|
|
272
272
|
},
|
|
273
273
|
m(o, r) {
|
|
274
|
-
M(o, e, r),
|
|
274
|
+
M(o, e, r), Z(e, n);
|
|
275
275
|
},
|
|
276
276
|
p(o, r) {
|
|
277
277
|
r[0] & /*$_*/
|
|
278
278
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
279
|
+
o[21]("noRecentGames") + "") && ce(n, t);
|
|
280
280
|
},
|
|
281
281
|
d(o) {
|
|
282
282
|
o && D(e);
|
|
@@ -294,43 +294,43 @@ function ke(s) {
|
|
|
294
294
|
let o = n(s), r = o(s);
|
|
295
295
|
return {
|
|
296
296
|
c() {
|
|
297
|
-
e =
|
|
297
|
+
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
298
|
},
|
|
299
299
|
m(m, d) {
|
|
300
|
-
M(m, e, d),
|
|
300
|
+
M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
|
|
301
301
|
},
|
|
302
302
|
p(m, d) {
|
|
303
303
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
304
304
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
305
|
+
i: H,
|
|
306
|
+
o: H,
|
|
307
307
|
d(m) {
|
|
308
308
|
m && D(e), r.d(), s[26](null);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Le(s, e, t) {
|
|
313
313
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop:
|
|
314
|
+
le(s, re, (a) => t(21, n = a));
|
|
315
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: E = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
316
316
|
const Q = () => {
|
|
317
317
|
fetch(_).then((g) => g.json()).then((g) => {
|
|
318
318
|
Object.keys(g).forEach((u) => {
|
|
319
|
-
|
|
319
|
+
K(u, g[u]);
|
|
320
320
|
});
|
|
321
321
|
}).catch((g) => {
|
|
322
322
|
console.log(g);
|
|
323
323
|
});
|
|
324
324
|
};
|
|
325
|
-
Object.keys(
|
|
326
|
-
|
|
325
|
+
Object.keys(V).forEach((a) => {
|
|
326
|
+
K(a, V[a]);
|
|
327
327
|
});
|
|
328
328
|
const W = () => new Promise((a, g) => {
|
|
329
329
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C),
|
|
330
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ge(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
331
331
|
c.items = c.items.filter(($) => {
|
|
332
|
-
let
|
|
333
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
332
|
+
let J = !0;
|
|
333
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
334
334
|
}), a(c), window.postMessage(
|
|
335
335
|
{
|
|
336
336
|
type: "AddNewCategory",
|
|
@@ -349,7 +349,7 @@ function Pe(s, e, t) {
|
|
|
349
349
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
350
|
h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
351
351
|
}), Promise.all(g).then((u) => {
|
|
352
|
-
|
|
352
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
353
353
|
});
|
|
354
354
|
} else
|
|
355
355
|
t(20, Y = !0);
|
|
@@ -357,22 +357,22 @@ function Pe(s, e, t) {
|
|
|
357
357
|
}, p = () => {
|
|
358
358
|
be(d);
|
|
359
359
|
};
|
|
360
|
-
|
|
360
|
+
oe(() => () => {
|
|
361
361
|
});
|
|
362
362
|
function x(a) {
|
|
363
|
-
|
|
363
|
+
ue[a ? "unshift" : "push"](() => {
|
|
364
364
|
f = a, t(19, f);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12,
|
|
368
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, E = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, z = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
|
|
369
369
|
}, s.$$.update = () => {
|
|
370
370
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
371
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
372
372
|
512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
373
|
-
524416 && v && f &&
|
|
374
|
-
524544 && w && f &&
|
|
375
|
-
524352 && b && f &&
|
|
373
|
+
524416 && v && f && de(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
374
|
+
524544 && w && f && fe(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
375
|
+
524352 && b && f && he(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
376
376
|
8 && d && p();
|
|
377
377
|
}, [
|
|
378
378
|
o,
|
|
@@ -387,8 +387,8 @@ function Pe(s, e, t) {
|
|
|
387
387
|
_,
|
|
388
388
|
k,
|
|
389
389
|
N,
|
|
390
|
-
z,
|
|
391
390
|
E,
|
|
391
|
+
z,
|
|
392
392
|
O,
|
|
393
393
|
S,
|
|
394
394
|
T,
|
|
@@ -404,12 +404,12 @@ function Pe(s, e, t) {
|
|
|
404
404
|
x
|
|
405
405
|
];
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class Pe extends ae {
|
|
408
408
|
constructor(e) {
|
|
409
409
|
super(), se(
|
|
410
410
|
this,
|
|
411
411
|
e,
|
|
412
|
-
|
|
412
|
+
Le,
|
|
413
413
|
ke,
|
|
414
414
|
ie,
|
|
415
415
|
{
|
|
@@ -580,7 +580,7 @@ class Le extends ae {
|
|
|
580
580
|
this.$$set({ fetchviaevent: e }), l();
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
|
|
583
|
+
ye(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
584
584
|
export {
|
|
585
|
-
|
|
585
|
+
Pe as default
|
|
586
586
|
};
|
package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l,
|
|
2
|
-
import "
|
|
3
|
-
function
|
|
1
|
+
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-CCAwhtBt.js";
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DWQClofk.js";
|
|
3
|
+
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
6
6
|
function be(s) {
|
|
7
7
|
te.set(s);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const V = {
|
|
10
10
|
en: {
|
|
11
11
|
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
12
12
|
},
|
|
@@ -33,13 +33,13 @@ const Z = {
|
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
function ve(s) {
|
|
36
|
-
|
|
36
|
+
ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
37
37
|
}
|
|
38
38
|
function we(s) {
|
|
39
39
|
let e;
|
|
40
40
|
return {
|
|
41
41
|
c() {
|
|
42
|
-
e =
|
|
42
|
+
e = P("casino-games-category-section-nd"), i(
|
|
43
43
|
e,
|
|
44
44
|
"session",
|
|
45
45
|
/*session*/
|
|
@@ -137,7 +137,7 @@ function we(s) {
|
|
|
137
137
|
);
|
|
138
138
|
},
|
|
139
139
|
m(t, n) {
|
|
140
|
-
|
|
140
|
+
D(t, e, n);
|
|
141
141
|
},
|
|
142
142
|
p(t, n) {
|
|
143
143
|
n[0] & /*session*/
|
|
@@ -257,7 +257,7 @@ function we(s) {
|
|
|
257
257
|
);
|
|
258
258
|
},
|
|
259
259
|
d(t) {
|
|
260
|
-
t &&
|
|
260
|
+
t && M(e);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
@@ -268,18 +268,18 @@ function _e(s) {
|
|
|
268
268
|
), n;
|
|
269
269
|
return {
|
|
270
270
|
c() {
|
|
271
|
-
e =
|
|
271
|
+
e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
|
|
272
272
|
},
|
|
273
273
|
m(o, r) {
|
|
274
|
-
|
|
274
|
+
D(o, e, r), Z(e, n);
|
|
275
275
|
},
|
|
276
276
|
p(o, r) {
|
|
277
277
|
r[0] & /*$_*/
|
|
278
278
|
2097152 && t !== (t = /*$_*/
|
|
279
|
-
o[21]("noRecentGames") + "") &&
|
|
279
|
+
o[21]("noRecentGames") + "") && ue(n, t);
|
|
280
280
|
},
|
|
281
281
|
d(o) {
|
|
282
|
-
o &&
|
|
282
|
+
o && M(e);
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
}
|
|
@@ -294,43 +294,43 @@ function ke(s) {
|
|
|
294
294
|
let o = n(s), r = o(s);
|
|
295
295
|
return {
|
|
296
296
|
c() {
|
|
297
|
-
e =
|
|
297
|
+
e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
|
|
298
298
|
},
|
|
299
299
|
m(m, d) {
|
|
300
|
-
|
|
300
|
+
D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
|
|
301
301
|
},
|
|
302
302
|
p(m, d) {
|
|
303
303
|
o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
|
|
304
304
|
},
|
|
305
|
-
i:
|
|
306
|
-
o:
|
|
305
|
+
i: H,
|
|
306
|
+
o: H,
|
|
307
307
|
d(m) {
|
|
308
|
-
m &&
|
|
308
|
+
m && M(e), r.d(), s[26](null);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
|
-
function
|
|
312
|
+
function Le(s, e, t) {
|
|
313
313
|
let n;
|
|
314
|
-
|
|
315
|
-
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session:
|
|
314
|
+
le(s, ye, (a) => t(21, n = a));
|
|
315
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
|
|
316
316
|
const Q = () => {
|
|
317
317
|
fetch(_).then((g) => g.json()).then((g) => {
|
|
318
318
|
Object.keys(g).forEach((u) => {
|
|
319
|
-
|
|
319
|
+
K(u, g[u]);
|
|
320
320
|
});
|
|
321
321
|
}).catch((g) => {
|
|
322
322
|
console.log(g);
|
|
323
323
|
});
|
|
324
324
|
};
|
|
325
|
-
Object.keys(
|
|
326
|
-
|
|
325
|
+
Object.keys(V).forEach((a) => {
|
|
326
|
+
K(a, V[a]);
|
|
327
327
|
});
|
|
328
328
|
const W = () => new Promise((a, g) => {
|
|
329
329
|
let u = new URL(`${o}/v1/player/${y}/games/last-played`);
|
|
330
|
-
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period",
|
|
330
|
+
u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
|
|
331
331
|
c.items = c.items.filter(($) => {
|
|
332
|
-
let
|
|
333
|
-
return $.gameCode == "OddsMatrix2" && (c.count--,
|
|
332
|
+
let J = !0;
|
|
333
|
+
return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
|
|
334
334
|
}), a(c), window.postMessage(
|
|
335
335
|
{
|
|
336
336
|
type: "AddNewCategory",
|
|
@@ -349,7 +349,7 @@ function Pe(s, e, t) {
|
|
|
349
349
|
let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
|
|
350
350
|
h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
|
|
351
351
|
}), Promise.all(g).then((u) => {
|
|
352
|
-
|
|
352
|
+
L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
|
|
353
353
|
});
|
|
354
354
|
} else
|
|
355
355
|
t(20, Y = !0);
|
|
@@ -357,29 +357,29 @@ function Pe(s, e, t) {
|
|
|
357
357
|
}, p = () => {
|
|
358
358
|
be(d);
|
|
359
359
|
};
|
|
360
|
-
|
|
360
|
+
re(() => () => {
|
|
361
361
|
});
|
|
362
362
|
function x(a) {
|
|
363
|
-
|
|
363
|
+
oe[a ? "unshift" : "push"](() => {
|
|
364
364
|
f = a, t(19, f);
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
367
|
return s.$$set = (a) => {
|
|
368
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4,
|
|
368
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, z = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
|
|
369
369
|
}, s.$$.update = () => {
|
|
370
370
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
371
371
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
372
372
|
512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
373
|
-
524416 && v && f &&
|
|
374
|
-
524544 && w && f &&
|
|
375
|
-
524352 && b && f &&
|
|
373
|
+
524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
374
|
+
524544 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
375
|
+
524352 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
376
376
|
8 && d && p();
|
|
377
377
|
}, [
|
|
378
378
|
o,
|
|
379
379
|
r,
|
|
380
380
|
m,
|
|
381
381
|
d,
|
|
382
|
-
|
|
382
|
+
E,
|
|
383
383
|
y,
|
|
384
384
|
b,
|
|
385
385
|
v,
|
|
@@ -387,29 +387,29 @@ function Pe(s, e, t) {
|
|
|
387
387
|
_,
|
|
388
388
|
k,
|
|
389
389
|
N,
|
|
390
|
+
F,
|
|
390
391
|
z,
|
|
391
|
-
E,
|
|
392
392
|
O,
|
|
393
|
-
|
|
393
|
+
C,
|
|
394
394
|
T,
|
|
395
395
|
R,
|
|
396
396
|
U,
|
|
397
397
|
f,
|
|
398
398
|
Y,
|
|
399
399
|
n,
|
|
400
|
-
|
|
400
|
+
S,
|
|
401
401
|
j,
|
|
402
402
|
G,
|
|
403
403
|
q,
|
|
404
404
|
x
|
|
405
405
|
];
|
|
406
406
|
}
|
|
407
|
-
class
|
|
407
|
+
class Pe extends ae {
|
|
408
408
|
constructor(e) {
|
|
409
409
|
super(), se(
|
|
410
410
|
this,
|
|
411
411
|
e,
|
|
412
|
-
|
|
412
|
+
Le,
|
|
413
413
|
ke,
|
|
414
414
|
ie,
|
|
415
415
|
{
|
|
@@ -580,7 +580,7 @@ class Le extends ae {
|
|
|
580
580
|
this.$$set({ fetchviaevent: e }), l();
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
|
|
583
|
+
he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
|
|
584
584
|
export {
|
|
585
|
-
|
|
585
|
+
Pe as default
|
|
586
586
|
};
|