@everymatrix/casino-page-nd 1.87.20 → 1.87.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/components/{CasinoFavoritesSectionNd-BA3170u7.cjs → CasinoFavoritesSectionNd-BELSdOTJ.cjs} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-2CqXK5k6.js → CasinoFavoritesSectionNd-Doh425U1.js} +1 -1
  3. package/components/{CasinoFavoritesSectionNd-VUoFRlkN.js → CasinoFavoritesSectionNd-OgOa7MBa.js} +1 -1
  4. package/components/{CasinoGameThumbnailNd-BJOwb878.js → CasinoGameThumbnailNd-BR1mn9ZI.js} +1 -1
  5. package/components/{CasinoGameThumbnailNd-BhMXUEuY.js → CasinoGameThumbnailNd-CuVwgwvD.js} +1 -1
  6. package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +30 -0
  7. package/components/{CasinoGamesCategorySectionNd-DWqSUxPN.cjs → CasinoGamesCategorySectionNd-BdsjIQ7s.cjs} +1 -1
  8. package/components/{CasinoGamesCategorySectionNd-BuihuDC2.js → CasinoGamesCategorySectionNd-K7o3qVk7.js} +2 -2
  9. package/components/{CasinoGamesCategorySectionNd-5PgdTQMT.js → CasinoGamesCategorySectionNd-hFAHZgTC.js} +2 -2
  10. package/components/{CasinoLastPlayedSectionNd-Bn3Uk17d.cjs → CasinoLastPlayedSectionNd-BnKRy68b.cjs} +1 -1
  11. package/components/{CasinoLastPlayedSectionNd-BMGhNOXu.js → CasinoLastPlayedSectionNd-CDt_OWWF.js} +2 -2
  12. package/components/{CasinoLastPlayedSectionNd-bJMrS8ke.js → CasinoLastPlayedSectionNd-DNewZ65k.js} +2 -2
  13. package/components/{CasinoMostPlayedSectionNd-Dc5doWw4.cjs → CasinoMostPlayedSectionNd-6Hm3k1kM.cjs} +1 -1
  14. package/components/{CasinoMostPlayedSectionNd-B9Iu77mh.js → CasinoMostPlayedSectionNd-BPJRi-mx.js} +2 -2
  15. package/components/{CasinoMostPlayedSectionNd-Cg8GnJ0K.js → CasinoMostPlayedSectionNd-CqVf2pf-.js} +2 -2
  16. package/components/{CasinoMyGamesNd-BA393LO6.js → CasinoMyGamesNd-4iJsQUyK.js} +4 -4
  17. package/components/{CasinoMyGamesNd-BNCUCVL7.js → CasinoMyGamesNd-PlQpeD0V.js} +4 -4
  18. package/components/{CasinoMyGamesNd-Cb7ILFA8.cjs → CasinoMyGamesNd-y1vPuFt-.cjs} +1 -1
  19. package/components/{CasinoPageNd-DK7jPp92.js → CasinoPageNd-BBi0HzpA.js} +6 -6
  20. package/components/{CasinoPageNd-R4nwLPUN.cjs → CasinoPageNd-D5mGix6W.cjs} +1 -1
  21. package/components/{CasinoPageNd-oUQwFV7C.js → CasinoPageNd-DSKsK40E.js} +6 -6
  22. package/components/{CasinoSearchNd-CLL6Z82k.js → CasinoSearchNd-2oH02fm7.js} +2 -2
  23. package/components/{CasinoSearchNd-CitBzEnC.cjs → CasinoSearchNd-BONwYpjU.cjs} +1 -1
  24. package/components/{CasinoSearchNd-D_jNeZ64.js → CasinoSearchNd-CxPW28Eu.js} +2 -2
  25. package/components/{CasinoWinners-DGEdj61G.cjs → CasinoWinners-BNaYIdgc.cjs} +1 -1
  26. package/components/{CasinoWinners-BXqKa3QL.js → CasinoWinners-CJLTqoB5.js} +1 -1
  27. package/components/{CasinoWinners--Sn5RpG3.js → CasinoWinners-CQd0AWVY.js} +1 -1
  28. package/es2015/casino-page-nd.cjs +1 -1
  29. package/es2015/casino-page-nd.js +1 -1
  30. package/esnext/casino-page-nd.js +1 -1
  31. package/lazy/{casino-favorites-section-nd-C7z7XFM5.cjs → casino-favorites-section-nd--WmlZh9C.cjs} +1 -1
  32. package/lazy/{casino-favorites-section-nd-Czl8Lb7Z.js → casino-favorites-section-nd-C6rFw4hJ.js} +1 -1
  33. package/lazy/{casino-favorites-section-nd-BEa1CVj9.js → casino-favorites-section-nd-DTHR_WoG.js} +1 -1
  34. package/lazy/{casino-game-thumbnail-nd-N5nWpTDy.js → casino-game-thumbnail-nd-C6m6nRiR.js} +1 -1
  35. package/lazy/{casino-game-thumbnail-nd-BxXa51lv.cjs → casino-game-thumbnail-nd-C_3atSCn.cjs} +1 -1
  36. package/lazy/{casino-game-thumbnail-nd-BRX8CtFL.js → casino-game-thumbnail-nd-TwbY9jp9.js} +1 -1
  37. package/lazy/{casino-games-category-section-nd-Da1bg5pW.cjs → casino-games-category-section-nd-B5EKRtdm.cjs} +1 -1
  38. package/lazy/{casino-games-category-section-nd-DV6aZgx8.js → casino-games-category-section-nd-CS53a63I.js} +1 -1
  39. package/lazy/{casino-games-category-section-nd-Bek7LmEY.js → casino-games-category-section-nd-Dcf6QgfF.js} +1 -1
  40. package/lazy/{casino-last-played-section-nd-C_uZTXGG.js → casino-last-played-section-nd-BPs_q57i.js} +1 -1
  41. package/lazy/{casino-last-played-section-nd-C-w4JAEm.cjs → casino-last-played-section-nd-DrB-yi_x.cjs} +1 -1
  42. package/lazy/{casino-last-played-section-nd-DM_bNI-P.js → casino-last-played-section-nd-Z1Eqkg-W.js} +1 -1
  43. package/lazy/{casino-most-played-section-nd-B-WRIbes.cjs → casino-most-played-section-nd-CsO2-tH-.cjs} +1 -1
  44. package/lazy/{casino-most-played-section-nd-BDMFdoDV.js → casino-most-played-section-nd-UW_M18NT.js} +1 -1
  45. package/lazy/{casino-most-played-section-nd-C6iB31Fp.js → casino-most-played-section-nd-vNEsmYNv.js} +1 -1
  46. package/lazy/{casino-my-games-nd-juRtmjU0.cjs → casino-my-games-nd-BgkBJ625.cjs} +1 -1
  47. package/lazy/{casino-my-games-nd-ZBAhbaPb.js → casino-my-games-nd-DsN_8Hh5.js} +1 -1
  48. package/lazy/{casino-my-games-nd-DdlWVYGv.js → casino-my-games-nd-wnfXxA4K.js} +1 -1
  49. package/lazy/{casino-play-random-game-DeHBe5wA.cjs → casino-play-random-game-B_ZqJC9O.cjs} +1 -1
  50. package/lazy/{casino-play-random-game-CoZa7Ts_.js → casino-play-random-game-BwP_PyGn.js} +1 -1
  51. package/lazy/{casino-play-random-game-BAWUP39M.js → casino-play-random-game-DtfZNoGc.js} +1 -1
  52. package/lazy/{casino-search-nd-Dd__mJ8R.js → casino-search-nd-0h3RFpG5.js} +1 -1
  53. package/lazy/{casino-search-nd-D2Ad4__9.cjs → casino-search-nd-B4IMeGRL.cjs} +1 -1
  54. package/lazy/{casino-search-nd-Day8oHvj.js → casino-search-nd-DK7NClj7.js} +1 -1
  55. package/lazy/{casino-winners-CDoQxoRf.js → casino-winners-CNIy3lxn.js} +1 -1
  56. package/lazy/{casino-winners-DwTj0vSa.cjs → casino-winners-D-kl8Pt9.cjs} +1 -1
  57. package/lazy/{casino-winners-qCV1DXuS.js → casino-winners-wudr0jE1.js} +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-CgVzX6ft.cjs → casino-play-random-game-DyQoGWi6.cjs} +1 -1
  60. package/stencil/{casino-play-random-game-xNh3lCLn.js → casino-play-random-game-ViBhO659.js} +2 -2
  61. package/stencil/{casino-play-random-game-DXVh75QU.js → casino-play-random-game-lwEwVdAM.js} +2 -2
  62. package/stencil/{casino-play-random-game_2-86oqD2c-.js → casino-play-random-game_2-C4f-74R0.js} +2 -2
  63. package/stencil/{casino-play-random-game_2-Dh2ixYRd.cjs → casino-play-random-game_2-C64foLSL.cjs} +3 -3
  64. package/stencil/{casino-play-random-game_2-CpRfDfPV.js → casino-play-random-game_2-CDiEK5Rt.js} +2 -2
  65. package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +0 -30
@@ -1 +1 @@
1
- "use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=o=>{try{i(r.next(o))}catch($){n($)}},l=o=>{try{i(r.throw(o))}catch($){n($)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=i=>(z.set(n,i),i[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("../stencil/casino-play-random-game_2-Dh2ixYRd.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,h.$flags$&4?D(H):h.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&h.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const i=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?B(null,s):s),l=a)};if(o(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,i.length>0&&($.$children$=i),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,oe=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=oe(e);return{emit:n=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},ie=(e,t,r)=>{const s=h.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:ne(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,$=Z(r),c=Z(s);o.remove(...$.filter(f=>f&&!c.includes(f))),o.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const o=t.endsWith(ce);t=t.replace(Ge,""),r&&h.rel(e,t,r,o),s&&h.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,i;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)i=I(e,n,a),i&&l.appendChild(i);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(i=I(null,r,n),i&&(s[n].$elm$=i,A(l,i,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,i=0,o=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],g,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(i=-1,o=a;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==d.$tag$?g=I(t&&t[l],r,i):(w(y,d,n),t[i]=void 0,g=y.$elm$),d=s[++l]):(g=I(t&&t[l],r,l),d=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(o=>o()),n["s-rc"]=void 0),i(),a();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>ie(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),i=n.$flags$,o=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(i&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{o[u](r,l,t)}catch(d){b(d,a)}})}(i&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(a,i,{get(){return et(this,i)},set($){tt(this,i,$,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;a.attributeChangedCallback=function(o,$,c){h.jmp(()=>{var f;const u=i.get(o);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,o)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([o,$])=>$[0]&15).map(([o,$])=>{var c;const f=$[1]||o;return i.set(f,o),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([o,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const o=xe(r);if(o&&"then"in o){const c=Ce();n=yield o,c()}else n=o;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,o,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(h.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,i=m.head,o=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var y;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(d=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(y=g[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=h.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,o?o.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(pe,30)),s()},at=e=>h.$nonce$=e;exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=oe;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;exports.setNonce=at;
1
+ "use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=o=>{try{i(r.next(o))}catch($){n($)}},l=o=>{try{i(r.throw(o))}catch($){n($)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=i=>(z.set(n,i),i[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("../stencil/casino-play-random-game_2-C64foLSL.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,h.$flags$&4?D(H):h.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&h.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const i=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?B(null,s):s),l=a)};if(o(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,i.length>0&&($.$children$=i),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,oe=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=oe(e);return{emit:n=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},ie=(e,t,r)=>{const s=h.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:ne(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),i=t.toLowerCase();if(t==="class"){const o=e.classList,$=Z(r),c=Z(s);o.remove(...$.filter(f=>f&&!c.includes(f))),o.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const o=t.endsWith(ce);t=t.replace(Ge,""),r&&h.rel(e,t,r,o),s&&h.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,i;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)i=I(e,n,a),i&&l.appendChild(i);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(i=I(null,r,n),i&&(s[n].$elm$=i,A(l,i,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,i=0,o=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],g,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(i=-1,o=a;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==d.$tag$?g=I(t&&t[l],r,i):(w(y,d,n),t[i]=void 0,g=y.$elm$),d=s[++l]):(g=I(t&&t[l],r,l),d=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([i,o])=>l.$attrs$[o]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const i=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(o=>o()),n["s-rc"]=void 0),i(),a();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>ie(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),i=n.$flags$,o=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(i&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{o[u](r,l,t)}catch(d){b(d,a)}})}(i&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(a,i,{get(){return et(this,i)},set($){tt(this,i,$,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;a.attributeChangedCallback=function(o,$,c){h.jmp(()=>{var f;const u=i.get(o);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,o)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([o,$])=>$[0]&15).map(([o,$])=>{var c;const f=$[1]||o;return i.set(f,o),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([o,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const o=xe(r);if(o&&"then"in o){const c=Ce();n=yield o,c()}else n=o;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,o,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(h.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(h.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,i=m.head,o=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var y;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(d=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(y=g[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=h.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,o?o.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(pe,30)),s()},at=e=>h.$nonce$=e;exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=oe;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;exports.setNonce=at;
@@ -42,7 +42,7 @@ var me = Object.defineProperty, Se = (e, t) => {
42
42
  case "casino-play-random-game_2":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "../stencil/casino-play-random-game_2-CpRfDfPV.js"
45
+ "../stencil/casino-play-random-game_2-CDiEK5Rt.js"
46
46
  ).then(l, b);
47
47
  }
48
48
  }
@@ -26,7 +26,7 @@ var ye = Object.defineProperty, me = (e, t) => {
26
26
  case "casino-play-random-game_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "../stencil/casino-play-random-game_2-86oqD2c-.js"
29
+ "../stencil/casino-play-random-game_2-C4f-74R0.js"
30
30
  ).then(l, b);
31
31
  }
32
32
  }
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoSearchNd-CLL6Z82k.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoSearchNd-2oH02fm7.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-search-nd") && customElements.define("casino-search-nd", t.element);
15
15
  });
16
16
  }
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearchNd-CitBzEnC.cjs")).then(({default:t})=>{!customElements.get("casino-search-nd")&&customElements.define("casino-search-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearchNd-BONwYpjU.cjs")).then(({default:t})=>{!customElements.get("casino-search-nd")&&customElements.define("casino-search-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoSearchNd-D_jNeZ64.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoSearchNd-CxPW28Eu.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-search-nd") && customElements.define("casino-search-nd", t.element);
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoWinners-BXqKa3QL.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoWinners-CJLTqoB5.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-winners") && customElements.define("casino-winners", t.element);
15
15
  });
16
16
  }
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-DGEdj61G.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-BNaYIdgc.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoWinners--Sn5RpG3.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoWinners-CQd0AWVY.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-winners") && customElements.define("casino-winners", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page-nd",
3
- "version": "1.87.20",
3
+ "version": "1.87.22",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page-nd.cjs",
6
6
  "module": "esnext/casino-page-nd.js",
@@ -1 +1 @@
1
- "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-DeHBe5wA.cjs"),d=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,p=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-CgVzX6ft.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
1
+ "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-B_ZqJC9O.cjs"),d=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,p=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-DyQoGWi6.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
@@ -1,5 +1,5 @@
1
- import { b as a, p as t } from "../lazy/casino-play-random-game-BAWUP39M.js";
2
- import { s as g } from "../lazy/casino-play-random-game-BAWUP39M.js";
1
+ import { b as a, p as t } from "../lazy/casino-play-random-game-DtfZNoGc.js";
2
+ import { s as g } from "../lazy/casino-play-random-game-DtfZNoGc.js";
3
3
  import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
4
4
  var r = () => {
5
5
  const n = import.meta.url, i = {};
@@ -14,8 +14,8 @@ var l = (i, a, t) => new Promise((s, o) => {
14
14
  }, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
15
15
  e((t = t.apply(i, a)).next());
16
16
  });
17
- import { b as m, p as u } from "../lazy/casino-play-random-game-CoZa7Ts_.js";
18
- import { s as f } from "../lazy/casino-play-random-game-CoZa7Ts_.js";
17
+ import { b as m, p as u } from "../lazy/casino-play-random-game-BwP_PyGn.js";
18
+ import { s as f } from "../lazy/casino-play-random-game-BwP_PyGn.js";
19
19
  import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
20
20
  var h = () => {
21
21
  const i = import.meta.url, a = {};
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-BAWUP39M.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-DtfZNoGc.js";
2
2
  const y = () => {
3
3
  let e = window.navigator.userAgent;
4
4
  return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-DeHBe5wA.cjs"),w=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},f="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(t=>{fetch(e).then(a=>a.json()).then(a=>{h(a),t(!0)})}),s=(e,t)=>{const a=t;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(t=>{r[t]||(r[t]={});for(let a in e[t])r[t][a]=e[t][a]})};function m(e,t){if(e){const a=document.createElement("style");a.innerHTML=t,e.appendChild(a)}}function d(e,t){if(!e||!t)return;const a=new URL(t);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function y(e,t,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,t,a){window.emMessageBus&&window.emMessageBus.subscribe(e,a)}const x=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-B_ZqJC9O.cjs"),w=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},f="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{h(a),n(!0)})}),s=(e,n)=>{const a=n;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(n=>{r[n]||(r[n]={});for(let a in e[n])r[n][a]=e[n][a]})};function m(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function d(e,n){if(!e||!n)return;const a=new URL(n);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function y(e,n,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(n,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),n}const x=`:host {
2
2
  display: block;
3
3
  font-family: inherit;
4
4
  -webkit-transform: translate3d(0, 0, 0);
@@ -375,7 +375,7 @@
375
375
  width: 70px;
376
376
  height: 85px;
377
377
  }
378
- }`,k=x,c=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let a=t.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[t[a],t[i]]=[t[i],t[a]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",w()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((t,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),t(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+t)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,a)=>n.h("div",{class:"RandomGameCard",key:a},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",v=G,g=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,k=x,c=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",w()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+n)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",v=G,g=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
379
379
  :host {
380
380
  --emw-skeleton-logo-width: ${this.stylingValue.width};
381
381
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -429,4 +429,4 @@
429
429
  :host {
430
430
  --emw-skeleton-circle-size: ${this.stylingValue.size};
431
431
  }
432
- `;break;default:e=""}return n.h(n.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},n.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
432
+ `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-CoZa7Ts_.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-BwP_PyGn.js";
2
2
  const y = () => {
3
3
  let e = window.navigator.userAgent;
4
4
  return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1,30 +0,0 @@
1
- "use strict";var Ze=(a,e,t)=>new Promise((r,i)=>{var o=u=>{try{m(t.next(u))}catch(c){i(c)}},s=u=>{try{m(t.throw(u))}catch(c){i(c)}},m=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);m((t=t.apply(a,e)).next())});const n=require("./CasinoCalendar-DrrajltR.cjs");require("../stencil/ui-image-D9jjPnnA.cjs");function bt(a,e,t){window.emMessageBus&&window.emMessageBus.subscribe(a,t)}function fe(a){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(a)}function q(a){if(a===null||a===!0||a===!1)return NaN;var e=Number(a);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function M(a,e){if(e.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+e.length+" present")}function x(a){M(1,arguments);var e=Object.prototype.toString.call(a);return a instanceof Date||fe(a)==="object"&&e==="[object Date]"?new Date(a.getTime()):typeof a=="number"||e==="[object Number]"?new Date(a):((typeof a=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ht(a,e){M(2,arguments);var t=x(a).getTime(),r=q(e);return new Date(t+r)}var jt={};function pe(){return jt}function Kt(a){var e=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return e.setUTCFullYear(a.getFullYear()),a.getTime()-e.getTime()}function Vt(a){return M(1,arguments),a instanceof Date||fe(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function qt(a){if(M(1,arguments),!Vt(a)&&typeof a!="number")return!1;var e=x(a);return!isNaN(Number(e))}function Xt(a,e){return M(2,arguments),x(a).getTime()-x(e).getTime()}function Qt(a,e){M(2,arguments);var t=q(e);return Ht(a,-t)}var Jt=864e5;function Zt(a){M(1,arguments);var e=x(a),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=t-r;return Math.floor(i/Jt)+1}function he(a){M(1,arguments);var e=1,t=x(a),r=t.getUTCDay(),i=(r<e?7:0)+r-e;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}function vt(a){M(1,arguments);var e=x(a),t=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var i=he(r),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var s=he(o);return e.getTime()>=i.getTime()?t+1:e.getTime()>=s.getTime()?t:t-1}function $t(a){M(1,arguments);var e=vt(a),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var r=he(t);return r}var ea=6048e5;function ta(a){M(1,arguments);var e=x(a),t=he(e).getTime()-$t(e).getTime();return Math.round(t/ea)+1}function ge(a,e){var t,r,i,o,s,m,u,c;M(1,arguments);var f=pe(),d=q((t=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&t!==void 0?t:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=x(a),g=p.getUTCDay(),G=(g<d?7:0)+g-d;return p.setUTCDate(p.getUTCDate()-G),p.setUTCHours(0,0,0,0),p}function wt(a,e){var t,r,i,o,s,m,u,c;M(1,arguments);var f=x(a),d=f.getUTCFullYear(),p=pe(),g=q((t=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:p.firstWeekContainsDate)!==null&&r!==void 0?r:(u=p.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var G=new Date(0);G.setUTCFullYear(d+1,0,g),G.setUTCHours(0,0,0,0);var C=ge(G,e),_=new Date(0);_.setUTCFullYear(d,0,g),_.setUTCHours(0,0,0,0);var N=ge(_,e);return f.getTime()>=C.getTime()?d+1:f.getTime()>=N.getTime()?d:d-1}function aa(a,e){var t,r,i,o,s,m,u,c;M(1,arguments);var f=pe(),d=q((t=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1),p=wt(a,e),g=new Date(0);g.setUTCFullYear(p,0,d),g.setUTCHours(0,0,0,0);var G=ge(g,e);return G}var na=6048e5;function ra(a,e){M(1,arguments);var t=x(a),r=ge(t,e).getTime()-aa(t,e).getTime();return Math.round(r/na)+1}function y(a,e){for(var t=a<0?"-":"",r=Math.abs(a).toString();r.length<e;)r="0"+r;return t+r}var j={y:function(e,t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return y(t==="yy"?i%100:i,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):y(r+1,2)},d:function(e,t){return y(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return y(e.getUTCHours()%12||12,t.length)},H:function(e,t){return y(e.getUTCHours(),t.length)},m:function(e,t){return y(e.getUTCMinutes(),t.length)},s:function(e,t){return y(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return y(o,t.length)}},J={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ia={G:function(e,t,r){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return j.y(e,t)},Y:function(e,t,r,i){var o=wt(e,i),s=o>0?o:1-o;if(t==="YY"){var m=s%100;return y(m,2)}return t==="Yo"?r.ordinalNumber(s,{unit:"year"}):y(s,t.length)},R:function(e,t){var r=vt(e);return y(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return y(r,t.length)},Q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return y(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return y(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,r){var i=e.getUTCMonth();switch(t){case"M":case"MM":return j.M(e,t);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,r){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return y(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,r,i){var o=ra(e,i);return t==="wo"?r.ordinalNumber(o,{unit:"week"}):y(o,t.length)},I:function(e,t,r){var i=ta(e);return t==="Io"?r.ordinalNumber(i,{unit:"week"}):y(i,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):j.d(e,t)},D:function(e,t,r){var i=Zt(e);return t==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):y(i,t.length)},E:function(e,t,r){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return y(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return y(s,t.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,r){var i=e.getUTCDay(),o=i===0?7:i;switch(t){case"i":return String(o);case"ii":return y(o,t.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,r){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,r){var i=e.getUTCHours(),o;switch(i===12?o=J.noon:i===0?o=J.midnight:o=i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,r){var i=e.getUTCHours(),o;switch(i>=17?o=J.evening:i>=12?o=J.afternoon:i>=4?o=J.morning:o=J.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return j.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):j.H(e,t)},K:function(e,t,r){var i=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(i,{unit:"hour"}):y(i,t.length)},k:function(e,t,r){var i=e.getUTCHours();return i===0&&(i=24),t==="ko"?r.ordinalNumber(i,{unit:"hour"}):y(i,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):j.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):j.s(e,t)},S:function(e,t){return j.S(e,t)},X:function(e,t,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(t){case"X":return et(s);case"XXXX":case"XX":return V(s);case"XXXXX":case"XXX":default:return V(s,":")}},x:function(e,t,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"x":return et(s);case"xxxx":case"xx":return V(s);case"xxxxx":case"xxx":default:return V(s,":")}},O:function(e,t,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+$e(s,":");case"OOOO":default:return"GMT"+V(s,":")}},z:function(e,t,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+$e(s,":");case"zzzz":default:return"GMT"+V(s,":")}},t:function(e,t,r,i){var o=i._originalDate||e,s=Math.floor(o.getTime()/1e3);return y(s,t.length)},T:function(e,t,r,i){var o=i._originalDate||e,s=o.getTime();return y(s,t.length)}};function $e(a,e){var t=a>0?"-":"+",r=Math.abs(a),i=Math.floor(r/60),o=r%60;if(o===0)return t+String(i);var s=e;return t+String(i)+s+y(o,2)}function et(a,e){if(a%60===0){var t=a>0?"-":"+";return t+y(Math.abs(a)/60,2)}return V(a,e)}function V(a,e){var t=e||"",r=a>0?"-":"+",i=Math.abs(a),o=y(Math.floor(i/60),2),s=y(i%60,2);return r+o+t+s}var tt=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yt=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},oa=function(e,t){var r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return tt(e,t);var s;switch(i){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",tt(i,t)).replace("{{time}}",yt(o,t))},sa={p:yt,P:oa},la=["D","DD"],ma=["YY","YYYY"];function ua(a){return la.indexOf(a)!==-1}function da(a){return ma.indexOf(a)!==-1}function at(a,e,t){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ca={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},fa=function(e,t,r){var i,o=ca[e];return typeof o=="string"?i=o:t===1?i=o.one:i=o.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function Pe(a){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):a.defaultWidth,r=a.formats[t]||a.formats[a.defaultWidth];return r}}var ha={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ga={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},pa={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ba={date:Pe({formats:ha,defaultWidth:"full"}),time:Pe({formats:ga,defaultWidth:"full"}),dateTime:Pe({formats:pa,defaultWidth:"full"})},va={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},wa=function(e,t,r,i){return va[e]};function ne(a){return function(e,t){var r=t!=null&&t.context?String(t.context):"standalone",i;if(r==="formatting"&&a.formattingValues){var o=a.defaultFormattingWidth||a.defaultWidth,s=t!=null&&t.width?String(t.width):o;i=a.formattingValues[s]||a.formattingValues[o]}else{var m=a.defaultWidth,u=t!=null&&t.width?String(t.width):a.defaultWidth;i=a.values[u]||a.values[m]}var c=a.argumentCallback?a.argumentCallback(e):e;return i[c]}}var ya={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ga={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ca={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_a={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},La={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Fa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ka=function(e,t){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Ia={ordinalNumber:ka,era:ne({values:ya,defaultWidth:"wide"}),quarter:ne({values:Ga,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ne({values:Ca,defaultWidth:"wide"}),day:ne({values:_a,defaultWidth:"wide"}),dayPeriod:ne({values:La,defaultWidth:"wide",formattingValues:Fa,defaultFormattingWidth:"wide"})};function re(a){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,i=r&&a.matchPatterns[r]||a.matchPatterns[a.defaultMatchWidth],o=e.match(i);if(!o)return null;var s=o[0],m=r&&a.parsePatterns[r]||a.parsePatterns[a.defaultParseWidth],u=Array.isArray(m)?Sa(m,function(d){return d.test(s)}):Ta(m,function(d){return d.test(s)}),c;c=a.valueCallback?a.valueCallback(u):u,c=t.valueCallback?t.valueCallback(c):c;var f=e.slice(s.length);return{value:c,rest:f}}}function Ta(a,e){for(var t in a)if(a.hasOwnProperty(t)&&e(a[t]))return t}function Sa(a,e){for(var t=0;t<a.length;t++)if(e(a[t]))return t}function Oa(a){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(a.matchPattern);if(!r)return null;var i=r[0],o=e.match(a.parsePattern);if(!o)return null;var s=a.valueCallback?a.valueCallback(o[0]):o[0];s=t.valueCallback?t.valueCallback(s):s;var m=e.slice(i.length);return{value:s,rest:m}}}var Da=/^(\d+)(th|st|nd|rd)?/i,Ma=/\d+/i,xa={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Pa={any:[/^b/i,/^(a|c)/i]},Ra={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Na={any:[/1/i,/2/i,/3/i,/4/i]},Ea={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ba={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Wa={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Ua={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Aa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ya={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},za={ordinalNumber:Oa({matchPattern:Da,parsePattern:Ma,valueCallback:function(e){return parseInt(e,10)}}),era:re({matchPatterns:xa,defaultMatchWidth:"wide",parsePatterns:Pa,defaultParseWidth:"any"}),quarter:re({matchPatterns:Ra,defaultMatchWidth:"wide",parsePatterns:Na,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:re({matchPatterns:Ea,defaultMatchWidth:"wide",parsePatterns:Ba,defaultParseWidth:"any"}),day:re({matchPatterns:Wa,defaultMatchWidth:"wide",parsePatterns:Ua,defaultParseWidth:"any"}),dayPeriod:re({matchPatterns:Aa,defaultMatchWidth:"any",parsePatterns:Ya,defaultParseWidth:"any"})},Ha={code:"en-US",formatDistance:fa,formatLong:ba,formatRelative:wa,localize:Ia,match:za,options:{weekStartsOn:0,firstWeekContainsDate:1}},ja=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ka=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Va=/^'([^]*?)'?$/,qa=/''/g,Xa=/[a-zA-Z]/;function nt(a,e,t){var r,i,o,s,m,u,c,f,d,p,g,G,C,_;M(2,arguments);var N=String(e),S=pe(),F=(r=(i=void 0)!==null&&i!==void 0?i:S.locale)!==null&&r!==void 0?r:Ha,T=q((o=(s=(m=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&m!==void 0?m:S.firstWeekContainsDate)!==null&&s!==void 0?s:(c=S.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=q((d=(p=(g=(G=void 0)!==null&&G!==void 0?G:void 0)!==null&&g!==void 0?g:S.weekStartsOn)!==null&&p!==void 0?p:(C=S.locale)===null||C===void 0||(_=C.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&d!==void 0?d:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!F.localize)throw new RangeError("locale must contain localize property");if(!F.formatLong)throw new RangeError("locale must contain formatLong property");var L=x(a);if(!qt(L))throw new RangeError("Invalid time value");var Y=Kt(L),P=Qt(L,Y),O={firstWeekContainsDate:T,weekStartsOn:k,locale:F,_originalDate:L},I=N.match(Ka).map(function(h){var v=h[0];if(v==="p"||v==="P"){var A=sa[v];return A(h,F.formatLong)}return h}).join("").match(ja).map(function(h){if(h==="''")return"'";var v=h[0];if(v==="'")return Qa(h);var A=ia[v];if(A)return da(h)&&at(h,e,String(a)),ua(h)&&at(h,e,String(a)),A(P,h,F.localize,O);if(v.match(Xa))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return h}).join("");return I}function Qa(a){var e=a.match(Va);return e?e[1].replace(qa,"'"):a}function Ja(a,e){M(2,arguments);var t=x(a),r=x(e);return t.getTime()>r.getTime()}function Za(a,e){M(2,arguments);var t=x(a),r=x(e);return t.getTime()<r.getTime()}function $a(a,e){n.addMessages(a,e)}function en(a){n.$locale.set(a)}const tn={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},an={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function nn(a){n.append_styles(a,"svelte-eplxqg",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameContainer.WithGameName.pb-0:not(.CasinoGamesGridSlider){padding-bottom:0px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;position:absolute;top:0}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}')}function rt(a,e,t){const r=a.slice();return r[106]=e[t],r[108]=t,r}function it(a,e,t){const r=a.slice();return r[103]=e[t],r}function ot(a){let e,t=!n.isMobile(a[36]),r,i,o=a[35]("playNow")+"",s,m,u,c=t&&rn();return{c(){e=n.element("button"),c&&c.c(),r=n.space(),i=n.element("span"),s=n.text(o),n.attr(e,"class","GameInfoBtn")},m(f,d){n.insert(f,e,d),c&&c.m(e,null),n.append(e,r),n.append(e,i),n.append(i,s),m||(u=n.listen(e,"click",a[65]),m=!0)},p(f,d){d[1]&16&&o!==(o=f[35]("playNow")+"")&&n.set_data(s,o)},d(f){f&&n.detach(e),c&&c.d(),m=!1,u()}}}function rn(a){let e,t,r,i,o,s;return{c(){e=n.svg_element("svg"),t=n.svg_element("g"),r=n.svg_element("g"),i=n.svg_element("path"),o=n.svg_element("path"),s=n.svg_element("path"),n.attr(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),n.attr(i,"stroke","none"),n.attr(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),n.attr(o,"stroke","none"),n.attr(o,"fill","#fff"),n.attr(r,"id","Ellipse_664_copy"),n.attr(r,"data-name","Ellipse 664 copy"),n.attr(r,"transform","translate(26 13)"),n.attr(r,"fill","rgba(249,165,2,0)"),n.attr(s,"id","Rounded_Rectangle_683"),n.attr(s,"data-name","Rounded Rectangle 683"),n.attr(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),n.attr(s,"transform","translate(-1102 -885)"),n.attr(s,"fill","#fff"),n.attr(t,"id","Group_5260"),n.attr(t,"data-name","Group 5260"),n.attr(t,"transform","translate(-26 -13)"),n.attr(e,"xmlns","http://www.w3.org/2000/svg"),n.attr(e,"width","28"),n.attr(e,"height","28"),n.attr(e,"viewBox","0 0 28 28")},m(m,u){n.insert(m,e,u),n.append(e,t),n.append(t,r),n.append(r,i),n.append(r,o),n.append(t,s)},d(m){m&&n.detach(e)}}}function st(a){let e,t=a[35]("new")+"",r;return{c(){e=n.element("span"),r=n.text(t),n.attr(e,"class","GameExtraInfoLabel NewGameTag")},m(i,o){n.insert(i,e,o),n.append(e,r)},p(i,o){o[1]&16&&t!==(t=i[35]("new")+"")&&n.set_data(r,t)},d(i){i&&n.detach(e)}}}function lt(a){let e,t;return{c(){e=n.element("span"),t=n.text(a[8]),n.attr(e,"class","GameExtraInfoLabel PopularGameTag")},m(r,i){n.insert(r,e,i),n.append(e,t)},p(r,i){i[0]&256&&n.set_data(t,r[8])},d(r){r&&n.detach(e)}}}function mt(a){let e,t,r=!a[21]&&a[19]&&a[20]&&ut(a);function i(m,u){if(m[21]&&m[18]&&m[18]===Re)return sn;if(m[21]&&m[18]&&m[18]===Ne)return on}let o=i(a),s=o&&o(a);return{c(){r&&r.c(),e=n.space(),s&&s.c(),t=n.empty()},m(m,u){r&&r.m(m,u),n.insert(m,e,u),s&&s.m(m,u),n.insert(m,t,u)},p(m,u){!m[21]&&m[19]&&m[20]?r?r.p(m,u):(r=ut(m),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o===(o=i(m))&&s?s.p(m,u):(s&&s.d(1),s=o&&o(m),s&&(s.c(),s.m(t.parentNode,t)))},d(m){m&&(n.detach(e),n.detach(t)),r&&r.d(m),s&&s.d(m)}}}function ut(a){let e,t,r=a[35]("opens")+"",i,o,s,m=nt(new Date(a[19]),a[20])+"",u,c,f,d=a[41](a[33])+"",p,g,G=a[40](a[25],a[26],a[24])+"";return{c(){e=n.element("div"),t=n.element("div"),i=n.text(r),o=n.space(),s=n.element("span"),u=n.text(m),c=n.space(),f=new n.HtmlTag(!1),p=n.space(),g=new n.HtmlTag(!1),n.attr(t,"class","ClosedGame"),f.a=p,g.a=null,n.attr(e,"class","GameProp LiveProps")},m(C,_){n.insert(C,e,_),n.append(e,t),n.append(t,i),n.append(t,o),n.append(t,s),n.append(s,u),n.append(e,c),f.m(d,e),n.append(e,p),g.m(G,e)},p(C,_){_[1]&16&&r!==(r=C[35]("opens")+"")&&n.set_data(i,r),_[0]&1572864&&m!==(m=nt(new Date(C[19]),C[20])+"")&&n.set_data(u,m),_[1]&4&&d!==(d=C[41](C[33])+"")&&f.p(d),_[0]&117440512&&G!==(G=C[40](C[25],C[26],C[24])+"")&&g.p(G)},d(C){C&&n.detach(e)}}}function on(a){let e,t,r,i,o=a[41](a[33])+"",s,m,u=a[40](a[25],a[26],a[24])+"",c=n.ensure_array_like(new Array(pt)),f=[];for(let d=0;d<c.length;d+=1)f[d]=ct(rt(a,c,d));return{c(){e=n.element("div"),t=n.element("div");for(let d=0;d<f.length;d+=1)f[d].c();r=n.space(),i=new n.HtmlTag(!1),s=n.space(),m=new n.HtmlTag(!1),n.attr(t,"class","LiveIcons"),i.a=s,m.a=null,n.attr(e,"class",a[29])},m(d,p){n.insert(d,e,p),n.append(e,t);for(let g=0;g<f.length;g+=1)f[g]&&f[g].m(t,null);a[66](t),n.append(e,r),i.m(o,e),n.append(e,s),m.m(u,e)},p(d,p){if(p[0]&1342193664|p[1]&2048){c=n.ensure_array_like(new Array(pt));let g;for(g=0;g<c.length;g+=1){const G=rt(d,c,g);f[g]?f[g].p(G,p):(f[g]=ct(G),f[g].c(),f[g].m(t,null))}for(;g<f.length;g+=1)f[g].d(1);f.length=c.length}p[1]&4&&o!==(o=d[41](d[33])+"")&&i.p(o),p[0]&117440512&&u!==(u=d[40](d[25],d[26],d[24])+"")&&m.p(u),p[0]&536870912&&n.attr(e,"class",d[29])},d(d){d&&n.detach(e),n.destroy_each(f,d),a[66](null)}}}function sn(a){let e,t,r,i,o=a[41](a[33])+"",s,m,u=a[40](a[25],a[26],a[24])+"";function c(p,g){return p[31]?dn:un}let f=c(a),d=f(a);return{c(){e=n.element("div"),t=n.element("div"),d.c(),r=n.space(),i=new n.HtmlTag(!1),s=n.space(),m=new n.HtmlTag(!1),n.attr(t,"class","LiveIcons"),i.a=s,m.a=null,n.attr(e,"class","GameProp LiveProps BlackjackDisplay"),n.attr(e,"part","GameProp LiveProps BlackjackDisplay")},m(p,g){n.insert(p,e,g),n.append(e,t),d.m(t,null),n.append(e,r),i.m(o,e),n.append(e,s),m.m(u,e)},p(p,g){f===(f=c(p))&&d?d.p(p,g):(d.d(1),d=f(p),d&&(d.c(),d.m(t,null))),g[1]&4&&o!==(o=p[41](p[33])+"")&&i.p(o),g[0]&117440512&&u!==(u=p[40](p[25],p[26],p[24])+"")&&m.p(u)},d(p){p&&n.detach(e),d.d()}}}function dt(a){let e;function t(o,s){return o[28]?mn:ln}let r=t(a),i=r(a);return{c(){i.c(),e=n.empty()},m(o,s){i.m(o,s),n.insert(o,e,s)},p(o,s){r===(r=t(o))&&i?i.p(o,s):(i.d(1),i=r(o),i&&(i.c(),i.m(e.parentNode,e)))},d(o){o&&n.detach(e),i.d(o)}}}function ln(a){let e,t=a[42](`LatestResult ${a[108]===0?"First":""}`,a[108],a[14][a[108]],a[30][a[14][a[108]]])+"",r;return{c(){e=new n.HtmlTag(!1),r=n.empty(),e.a=r},m(i,o){e.m(t,i,o),n.insert(i,r,o)},p(i,o){o[0]&1073758208&&t!==(t=i[42](`LatestResult ${i[108]===0?"First":""}`,i[108],i[14][i[108]],i[30][i[14][i[108]]])+"")&&e.p(t)},d(i){i&&(n.detach(r),e.d())}}}function mn(a){let e,t,r=a[42](`LatestResult ${a[108]===0?"First":""}`,`first${a[108]}${a[14][a[108]][0]}`,a[14][a[108]][0],a[30][a[14][a[108]][0]])+"",i,o,s=a[42](`LatestResult ${a[108]===0?"First":""}`,`second${a[108]}${a[14][a[108]][1]}`,a[14][a[108]][1],a[30][a[14][a[108]][1]])+"",m;return{c(){e=n.element("div"),t=new n.HtmlTag(!1),i=n.space(),o=new n.HtmlTag(!1),m=n.space(),t.a=i,o.a=m,n.attr(e,"class","Double")},m(u,c){n.insert(u,e,c),t.m(r,e),n.append(e,i),o.m(s,e),n.append(e,m)},p(u,c){c[0]&1073758208&&r!==(r=u[42](`LatestResult ${u[108]===0?"First":""}`,`first${u[108]}${u[14][u[108]][0]}`,u[14][u[108]][0],u[30][u[14][u[108]][0]])+"")&&t.p(r),c[0]&1073758208&&s!==(s=u[42](`LatestResult ${u[108]===0?"First":""}`,`second${u[108]}${u[14][u[108]][1]}`,u[14][u[108]][1],u[30][u[14][u[108]][1]])+"")&&o.p(s)},d(u){u&&n.detach(e)}}}function ct(a){let e,t=a[14]&&a[14][a[108]]&&dt(a);return{c(){t&&t.c(),e=n.empty()},m(r,i){t&&t.m(r,i),n.insert(r,e,i)},p(r,i){r[14]&&r[14][r[108]]?t?t.p(r,i):(t=dt(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(r){r&&n.detach(e),t&&t.d(r)}}}function un(a){let e,t=n.ensure_array_like(a[23]),r=[];for(let i=0;i<t.length;i+=1)r[i]=ft(it(a,t,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();e=n.empty()},m(i,o){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(i,o);n.insert(i,e,o)},p(i,o){if(o[0]&142606336|o[1]&256){t=n.ensure_array_like(i[23]);let s;for(s=0;s<t.length;s+=1){const m=it(i,t,s);r[s]?r[s].p(m,o):(r[s]=ft(m),r[s].c(),r[s].m(e.parentNode,e))}for(;s<r.length;s+=1)r[s].d(1);r.length=t.length}},d(i){i&&n.detach(e),n.destroy_each(r,i)}}}function dn(a){let e,t=a[35]("full")+"",r;return{c(){e=n.element("span"),r=n.text(t),n.attr(e,"class","FullTable")},m(i,o){n.insert(i,e,o),n.append(e,r)},p(i,o){o[1]&16&&t!==(t=i[35]("full")+"")&&n.set_data(r,t)},d(i){i&&n.detach(e)}}}function ft(a){let e,t,r,i,o,s;return{c(){e=n.element("span"),t=n.svg_element("svg"),r=n.svg_element("path"),i=n.svg_element("path"),o=n.space(),n.attr(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),n.attr(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),n.attr(t,"xmlns","http://www.w3.org/2000/svg"),n.attr(t,"width","13"),n.attr(t,"height","14"),n.attr(t,"viewBox","0 0 13 14"),n.attr(e,"class",s=a[39](a[27],a[103].toString())?"ClosedSeat":"OpenSeat")},m(m,u){n.insert(m,e,u),n.append(e,t),n.append(t,r),n.append(t,i),n.append(e,o)},p(m,u){u[0]&142606336&&s!==(s=m[39](m[27],m[103].toString())?"ClosedSeat":"OpenSeat")&&n.attr(e,"class",s)},d(m){m&&n.detach(e)}}}function cn(a){let e;return{c(){e=n.element("div"),e.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',n.attr(e,"class","FavIconContainer")},m(t,r){n.insert(t,e,r)},p:n.noop,d(t){t&&n.detach(e)}}}function fn(a){let e,t,r;function i(m,u){if(m[0]&&m[16]&&m[2]==="true")return gn;if(!m[0]&&m[16]&&m[2]==="true")return hn}let o=i(a),s=o&&o(a);return{c(){e=n.element("div"),t=n.element("span"),r=n.space(),s&&s.c(),n.attr(t,"class","GameInfoVendor"),n.set_style(t,"background-image","url("+a[5]+")"),n.attr(e,"class","GameTopContainer")},m(m,u){n.insert(m,e,u),n.append(e,t),n.append(e,r),s&&s.m(e,null)},p(m,u){u[0]&32&&n.set_style(t,"background-image","url("+m[5]+")"),o===(o=i(m))&&s?s.p(m,u):(s&&s.d(1),s=o&&o(m),s&&(s.c(),s.m(e,null)))},d(m){m&&n.detach(e),s&&s.d()}}}function hn(a){let e,t,r;return{c(){e=n.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',n.attr(e,"class","FavIconContainer")},m(i,o){n.insert(i,e,o),t||(r=n.listen(e,"click",a[68]),t=!0)},p:n.noop,d(i){i&&n.detach(e),t=!1,r()}}}function gn(a){let e,t,r;return{c(){e=n.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',n.attr(e,"class","FavIconContainer")},m(i,o){n.insert(i,e,o),t||(r=n.listen(e,"click",a[67]),t=!0)},p:n.noop,d(i){i&&n.detach(e),t=!1,r()}}}function ht(a){let e,t;return{c(){e=n.element("p"),t=n.text(a[4]),n.attr(e,"class","GameNameBelow"),n.attr(e,"title",a[4])},m(r,i){n.insert(r,e,i),n.append(e,t)},p(r,i){i[0]&16&&n.set_data(t,r[4]),i[0]&16&&n.attr(e,"title",r[4])},d(r){r&&n.detach(e)}}}function pn(a){let e,t,r,i,o,s,m,u,c,f,d,p,g,G,C,_,N,S,F=a[1]&&ot(a),T=a[7]&&st(a),k=a[8]&&lt(a),L=a[13]&&mt(a);function Y(h,v){if(C==null&&(C=!n.isMobile(h[36])),C)return fn;if(h[0]&&h[16]&&h[2]==="true")return cn}let P=Y(a),O=P&&P(a),I=a[10]==="true"&&ht(a);return{c(){e=n.element("div"),t=n.element("div"),r=n.element("ui-image"),s=n.space(),m=n.element("div"),u=n.element("div"),F&&F.c(),c=n.space(),f=n.element("div"),d=n.element("div"),T&&T.c(),p=n.space(),k&&k.c(),g=n.space(),L&&L.c(),G=n.space(),O&&O.c(),N=n.space(),I&&I.c(),n.src_url_equal(r.src,i=a[34])||n.set_custom_element_data(r,"src",i),n.set_custom_element_data(r,"class",o=`GameBg GameBg-${a[9]}`),n.set_custom_element_data(r,"alt","Game thumbnail"),n.set_custom_element_data(r,"loading","lazy"),n.attr(u,"class","GameInfo"),n.attr(m,"class","GameInfoWrapper"),n.attr(d,"class","GameExtraInfo"),n.attr(f,"class","GameExtraInfoContainer"),n.attr(t,"class",_="GameInnerContainer "+(a[13]&&!a[21]&&a[22].value||a[13]&&a[31]?"GameInnerContainerUnavailable":"")),n.attr(e,"class",S=`GameContainer ${a[32]} ${a[11]=="true"?"CasinoGamesGridSlider":""} ${a[3]&&n.isMobile(a[36])?"pb-0":""}`),n.toggle_class(e,"WithGameName",a[10])},m(h,v){n.insert(h,e,v),n.append(e,t),n.append(t,r),a[64](r),n.append(t,s),n.append(t,m),n.append(m,u),F&&F.m(u,null),n.append(t,c),n.append(t,f),n.append(f,d),T&&T.m(d,null),n.append(d,p),k&&k.m(d,null),n.append(d,g),L&&L.m(d,null),n.append(f,G),O&&O.m(f,null),n.append(e,N),I&&I.m(e,null),a[69](e)},p(h,v){v[1]&8&&!n.src_url_equal(r.src,i=h[34])&&n.set_custom_element_data(r,"src",i),v[0]&512&&o!==(o=`GameBg GameBg-${h[9]}`)&&n.set_custom_element_data(r,"class",o),h[1]?F?F.p(h,v):(F=ot(h),F.c(),F.m(u,null)):F&&(F.d(1),F=null),h[7]?T?T.p(h,v):(T=st(h),T.c(),T.m(d,p)):T&&(T.d(1),T=null),h[8]?k?k.p(h,v):(k=lt(h),k.c(),k.m(d,g)):k&&(k.d(1),k=null),h[13]?L?L.p(h,v):(L=mt(h),L.c(),L.m(d,null)):L&&(L.d(1),L=null),P===(P=Y(h))&&O?O.p(h,v):(O&&O.d(1),O=P&&P(h),O&&(O.c(),O.m(f,null))),v[0]&6299648|v[1]&1&&_!==(_="GameInnerContainer "+(h[13]&&!h[21]&&h[22].value||h[13]&&h[31]?"GameInnerContainerUnavailable":""))&&n.attr(t,"class",_),h[10]==="true"?I?I.p(h,v):(I=ht(h),I.c(),I.m(e,null)):I&&(I.d(1),I=null),v[0]&2056|v[1]&2&&S!==(S=`GameContainer ${h[32]} ${h[11]=="true"?"CasinoGamesGridSlider":""} ${h[3]&&n.isMobile(h[36])?"pb-0":""}`)&&n.attr(e,"class",S),v[0]&3080|v[1]&2&&n.toggle_class(e,"WithGameName",h[10])},i:n.noop,o:n.noop,d(h){h&&n.detach(e),a[64](null),F&&F.d(),T&&T.d(),k&&k.d(),L&&L.d(),O&&O.d(),I&&I.d(),a[69](null)}}}const Re="blackjack",Ne="roulette",gt="doubleballroulette",bn=7,vn=",",pt=5;function wn(a,e,t){let r,i;n.component_subscribe(a,n.$format,l=>t(35,i=l));let{session:o=""}=e,{userid:s=""}=e,{lang:m="en"}=e,{clientstyling:u=""}=e,{mbsource:c}=e,{clientstylingurl:f=""}=e,{translationurl:d=""}=e,{favorites:p=""}=e,{gamethumbnail:g=""}=e,{icon:G}=e,{gamename:C=""}=e,{gamevendor:_=""}=e,{gamelaunchurl:N=""}=e,{gameid:S=""}=e,{gameisnew:F=!1}=e,{gametag:T=""}=e,{gamefunmode:k=!1}=e,{gamefavorite:L=!1}=e,{gamecellsize:Y=""}=e,{showfavoredcategory:P=!1}=e,{showgamename:O=""}=e,{currency:I=""}=e,{gamepagemodalurl:h="false"}=e,{endpoint:v=""}=e,{categoryid:A=""}=e,{livelobbyendpoint:Z=""}=e,{connectlive:X=""}=e,{visibilityconnect:$=""}=e,{integratedgameframedesktop:ie="false"}=e,{integratedgameframemobile:oe="false"}=e,{casinogamesgridslider:Ee="false"}=e,be=!1,se,Ct,ve,E=window.navigator.userAgent,W,w,z,Be,we,ye="HH:mm",K,Ge={},ee,We=[],Ue="EUR",Ce,_e,Le,te,Fe,ke,Ie,le,Te,Se,Ae,Q,Oe,B="",ae,Ye,De;const _t=[Re],ze=[Ne,gt],He={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},je={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},Me=l=>{Object.keys(l).forEach(b=>{$a(b,l[b])})},Lt=()=>{fetch(d).then(b=>b.json()).then(b=>{Me(b)}).catch(b=>{console.log(b)})};Me(tn);const Ke=l=>{l.data.type===`AddFavoriteThumbnail_${S}`&&!P&&t(0,L=!0),l.data.type===`RemoveFavoriteThumbnail_${S}`&&!P&&t(0,L=!1),l.data.type==="UserSessionID"&&(t(16,be=!0),l.data.session,se=l.data.userID),l.data.type==="CategoryUpdate"&&t(13,w=null)},Ve=l=>{window.postMessage({type:"SearchedItemClicked",gameId:l},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${l}`,userId:`${se||"Not logged in"}`}),n.isMobile(E)&&oe=="true"?window.postMessage({type:"OpenGameFrame",gameId:l,gamefunmode:k,gamepagemodalurl:h,isMobile:n.isMobile(E),source:"GameThumbnail",identifier:"Lobby",subVendor:_,launchUrl:N},window.location.href):n.isMobile(E)&&oe=="false"&&window.postMessage({type:"ShowGameModal",gameId:l,isMobile:n.isMobile(E)},window.location.href),!n.isMobile(E)&&ie=="true"?window.postMessage({type:"OpenGameFrame",gameId:l,gamefunmode:k,gamepagemodalurl:h,isMobile:n.isMobile(E),identifier:"Lobby",subVendor:_,launchUrl:N},window.location.href):!n.isMobile(E)&&ie=="false"&&window.postMessage({type:"ShowGameModal",gameId:l,isMobile:n.isMobile(E)},window.location.href)},xe=l=>{L?window.postMessage({type:`SetUnfavoredGame${A}`,id:l},window.location.href):window.postMessage({type:`SetFavoredGame${A}`,id:l},window.location.href)},Ft=()=>{en(m)},kt=()=>{t(16,be=!0),se=s},It=(l,b)=>`${v}/v1/encoder/lobby/updates/${l}/${b}`,qe=()=>{Z&&EventSource&&!z&&_&&S&&(z=new EventSource(It(_,S)),z.addEventListener("message",Qe))},Xe=()=>{z&&(z.close(),z=void 0)},Qe=l=>Ze(this,null,function*(){const{type:b,data:D}=l;let R;switch(b){case"message":{if(D)try{R=JSON.parse(D)}catch(U){console.error("MESSAGE PARSING ERROR: ",U)}if(R){const{InternalTableId:U,MessageType:ue,Results:H,Seats:de,Open:ce}=R;if(U)switch(ue){case"SeatsUpdated":{de&&Array.isArray(de)&&(t(27,te=de),t(13,w.currentOccupiedSeats=de,w),yield n.tick());break}case"RouletteResultsUpdated":{H&&Array.isArray(H)&&(Fe=H,t(13,w.currentRouletteNumbers=H,w),yield n.tick());break}case"DoubleBallRouletteResultsUpdated":{H&&Array.isArray(H)&&(ke=H,t(13,w.currentDoubleBallRouletteNumbers=H,w),yield n.tick());break}case"TableOpened":{t(21,K=ce),t(13,w.isOpen=ce,w),yield n.tick();break}case"TableClosed":{t(21,K=ce),t(13,w.isOpen=ce,w),yield n.tick();break}}}}}}),Tt=()=>{let l=new URL(`${Z.split("?")[0]}`);l.searchParams.append("platform",n.getDevice(E)),l.searchParams.append("language",m),fetch(l).then(b=>b.json()).then(b=>{const{details:D}=b[0];t(13,w=D)})},Je=(l,b=vn)=>l!=null?`${l}`.replace(/\B(?=(\d{3})+(?!\d))/g,b):"",me=(l,b)=>l.some(D=>D===b),St=l=>{let b=null;if(l){const{vendorCategory:D}=l;if(D){const R=D.toLowerCase();me(_t,R)?b=Re:me(ze,R)&&(b=Ne)}}return b},Ot=(l,b,D)=>{let R,U;return l!=null&&b!==void 0&&b!==null&&(U=`
2
- <span>
3
- ${D}
4
- </span>
5
- ${Je(l)}-${Je(b)}`),De&&(R=`
6
- <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
7
- <span class="NrOfPlayers">${De}</span>`),!R&&!U?"":`
8
- <p class="LiveLimits">
9
- <span class="BetLimitLeft">
10
- ${U||""}
11
- </span>
12
- <span class="BetLimitRight">
13
- ${R||""}
14
- </span>
15
- </p>`},Dt=l=>l?`
16
- <p class="LiveLimits">
17
- <span class="DealerName">${i("dealer")}: ${l}</span>
18
- </p>
19
- `:"",Mt=l=>{Le=l.totalSeats||bn,t(27,te=l.currentOccupiedSeats||[]);const b=[];for(let D=1;D<=Le;D++)b.push(D);return{seats:b}},xt=(l,b,D,R="")=>{const U=`${l} ${R}`,ue=b.toString().match(/first0|second0|0/g);return b===0||ue&&ue.length!==0?`
20
- <span
21
- id=${b}
22
- class="${U}"
23
- >
24
- ${D}
25
- </span>
26
- `:`
27
- <span id=${b} class="${U}">
28
- ${D}
29
- </span>
30
- `},Pt=()=>{const l="FirstElementAnimated",b=ae.getElementsByClassName("First")[0];b&&(b.classList.add(l),setTimeout(()=>{b.classList.remove(l)},2e3))},Rt=()=>{if(w){if(t(21,K=w.isOpen),Ge=w.betLimit||{},t(22,ee=w.openHours),t(23,We=Mt(w).seats),ee&&ee.value){const{value:{startTime:l,originalTimeFormat:b}}=ee;t(19,we=l),t(20,ye=b||ye)}K&&t(18,Be=St(w)),t(24,Ue=an[I]),t(25,Ce=(Ge.min||{})[I]),t(26,_e=(Ge.max||{})[I]),Fe=w.currentRouletteNumbers,ke=w.currentDoubleBallRouletteNumbers,Ie=w.vendorCategory,t(28,le=Ie.toLowerCase()===gt),t(14,Te=(le?ke:Fe)||[]),t(29,Se="GameProp LiveProps RoulleteProps"),t(29,Se+=le?" Double":""),t(30,Ae=me(ze,Ie.toLowerCase())?je:He),Oe=Q,t(31,Q=Array.isArray(te)&&te.length===Le),w.dealer&&t(33,Ye=w.dealer.DealerName),De=w.numberOfPlayers,t(32,B="ListGame"),w.isOpen&&w.currentRouletteNumbers&&t(32,B+=" GameBackdrop"),K&&Q&&Ce&&_e&&w.currentOccupiedSeats?t(32,B+=" GameContainerDimmed"):K===!1&&we&&t(32,B+=" GameContainerFullyDimmed"),W&&(!Oe&&Q?(t(32,B+=" PulsatingRedShadow"),t(32,B=B.replace(" PulsatingGreenShadow",""))):Oe&&!Q&&(t(32,B+=" PulsatingGreenShadow"),t(32,B=B.replace(" PulsatingRedShadow",""))))}},Nt=()=>{X==="disconnect"?Xe():X==="connect"&&qe()},Et=()=>{$==="disconnect"?Xe():$==="connect"&&X==="connect"&&qe()};n.onMount(()=>(window.addEventListener("message",Ke,!1),()=>{window.removeEventListener("message",Ke),z&&z.removeEventListener("message",Qe)}));function Bt(l){n.binding_callbacks[l?"unshift":"push"](()=>{ve=l,t(17,ve)})}const Wt=()=>Ve(S);function Ut(l){n.binding_callbacks[l?"unshift":"push"](()=>{ae=l,t(15,ae)})}const At=()=>xe(S),Yt=()=>xe(S);function zt(l){n.binding_callbacks[l?"unshift":"push"](()=>{W=l,t(12,W)})}return a.$$set=l=>{"session"in l&&t(43,o=l.session),"userid"in l&&t(44,s=l.userid),"lang"in l&&t(1,m=l.lang),"clientstyling"in l&&t(45,u=l.clientstyling),"mbsource"in l&&t(46,c=l.mbsource),"clientstylingurl"in l&&t(47,f=l.clientstylingurl),"translationurl"in l&&t(48,d=l.translationurl),"favorites"in l&&t(2,p=l.favorites),"gamethumbnail"in l&&t(49,g=l.gamethumbnail),"icon"in l&&t(3,G=l.icon),"gamename"in l&&t(4,C=l.gamename),"gamevendor"in l&&t(5,_=l.gamevendor),"gamelaunchurl"in l&&t(50,N=l.gamelaunchurl),"gameid"in l&&t(6,S=l.gameid),"gameisnew"in l&&t(7,F=l.gameisnew),"gametag"in l&&t(8,T=l.gametag),"gamefunmode"in l&&t(51,k=l.gamefunmode),"gamefavorite"in l&&t(0,L=l.gamefavorite),"gamecellsize"in l&&t(9,Y=l.gamecellsize),"showfavoredcategory"in l&&t(52,P=l.showfavoredcategory),"showgamename"in l&&t(10,O=l.showgamename),"currency"in l&&t(53,I=l.currency),"gamepagemodalurl"in l&&t(54,h=l.gamepagemodalurl),"endpoint"in l&&t(55,v=l.endpoint),"categoryid"in l&&t(56,A=l.categoryid),"livelobbyendpoint"in l&&t(57,Z=l.livelobbyendpoint),"connectlive"in l&&t(58,X=l.connectlive),"visibilityconnect"in l&&t(59,$=l.visibilityconnect),"integratedgameframedesktop"in l&&t(60,ie=l.integratedgameframedesktop),"integratedgameframemobile"in l&&t(61,oe=l.integratedgameframemobile),"casinogamesgridslider"in l&&t(11,Ee=l.casinogamesgridslider)},a.$$.update=()=>{a.$$.dirty[1]&134217728&&X&&Nt(),a.$$.dirty[1]&268435456&&$&&Et(),a.$$.dirty[0]&2&&m&&Ft(),a.$$.dirty[1]&16789504&&o&&s&&v&&kt(),a.$$.dirty[0]&4096|a.$$.dirty[1]&16384&&u&&W&&n.setClientStyling(W,u),a.$$.dirty[0]&4096|a.$$.dirty[1]&65536&&f&&W&&n.setClientStylingURL(W,f),a.$$.dirty[0]&4096|a.$$.dirty[1]&32768&&c&&W&&n.setStreamStyling(W,`${c}.Style`),a.$$.dirty[1]&163840&&c&&!d&&bt(`${c}.Translation`,Ct,Me),a.$$.dirty[0]&4,a.$$.dirty[1]&131072&&d&&Lt(),a.$$.dirty[0]&512|a.$$.dirty[1]&65536&&Y&&f&&n.setClientStylingURL(),a.$$.dirty[1]&83886080&&v&&Z&&Tt(),a.$$.dirty[0]&8192&&w&&Rt(),a.$$.dirty[0]&49152&&ae&&Te&&Pt(),a.$$.dirty[0]&8|a.$$.dirty[1]&262144&&t(34,r=G&&n.isMobile(E)?G:g)},[L,m,p,G,C,_,S,F,T,Y,O,Ee,W,w,Te,ae,be,ve,Be,we,ye,K,ee,We,Ue,Ce,_e,te,le,Se,Ae,Q,B,Ye,r,i,E,Ve,xe,me,Ot,Dt,xt,o,s,u,c,f,d,g,N,k,P,I,h,v,A,Z,X,$,ie,oe,He,je,Bt,Wt,Ut,At,Yt,zt]}class Gt extends n.SvelteComponent{constructor(e){super(),n.init(this,e,wn,pn,n.safe_not_equal,{session:43,userid:44,lang:1,clientstyling:45,mbsource:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:49,icon:3,gamename:4,gamevendor:5,gamelaunchurl:50,gameid:6,gameisnew:7,gametag:8,gamefunmode:51,gamefavorite:0,gamecellsize:9,showfavoredcategory:52,showgamename:10,currency:53,gamepagemodalurl:54,endpoint:55,categoryid:56,livelobbyendpoint:57,connectlive:58,visibilityconnect:59,integratedgameframedesktop:60,integratedgameframemobile:61,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:62,ROULETTE_COLOR_MAP:63},nn,[-1,-1,-1,-1])}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),n.flush()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),n.flush()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),n.flush()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),n.flush()}get mbsource(){return this.$$.ctx[46]}set mbsource(e){this.$$set({mbsource:e}),n.flush()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),n.flush()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),n.flush()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),n.flush()}get gamethumbnail(){return this.$$.ctx[49]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),n.flush()}get icon(){return this.$$.ctx[3]}set icon(e){this.$$set({icon:e}),n.flush()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),n.flush()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),n.flush()}get gamelaunchurl(){return this.$$.ctx[50]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),n.flush()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),n.flush()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),n.flush()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),n.flush()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(e){this.$$set({gamefunmode:e}),n.flush()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),n.flush()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),n.flush()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),n.flush()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),n.flush()}get currency(){return this.$$.ctx[53]}set currency(e){this.$$set({currency:e}),n.flush()}get gamepagemodalurl(){return this.$$.ctx[54]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),n.flush()}get endpoint(){return this.$$.ctx[55]}set endpoint(e){this.$$set({endpoint:e}),n.flush()}get categoryid(){return this.$$.ctx[56]}set categoryid(e){this.$$set({categoryid:e}),n.flush()}get livelobbyendpoint(){return this.$$.ctx[57]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),n.flush()}get connectlive(){return this.$$.ctx[58]}set connectlive(e){this.$$set({connectlive:e}),n.flush()}get visibilityconnect(){return this.$$.ctx[59]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),n.flush()}get integratedgameframedesktop(){return this.$$.ctx[60]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),n.flush()}get integratedgameframemobile(){return this.$$.ctx[61]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),n.flush()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),n.flush()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[62]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[63]}}n.create_custom_element(Gt,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);const yn=Object.freeze(Object.defineProperty({__proto__:null,default:Gt},Symbol.toStringTag,{value:"Module"}));exports.CasinoGameThumbnailNd_ce=yn;exports.differenceInMilliseconds=Xt;exports.getStreamTranslations=bt;exports.isAfter=Ja;exports.isBefore=Za;