@everymatrix/casino-page-nd 1.86.26 → 1.86.28

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 (50) hide show
  1. package/components/{CasinoFavoritesSectionNd-CLFFLvzr.js → CasinoFavoritesSectionNd-2CqXK5k6.js} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-CIYjO9Xo.cjs → CasinoFavoritesSectionNd-BA3170u7.cjs} +1 -1
  3. package/components/{CasinoFavoritesSectionNd-DCeYnvoM.js → CasinoFavoritesSectionNd-VUoFRlkN.js} +1 -1
  4. package/components/{CasinoGamesCategorySectionNd-CkHrJKK7.js → CasinoGamesCategorySectionNd-5PgdTQMT.js} +480 -470
  5. package/components/{CasinoGamesCategorySectionNd-Dikjdol8.js → CasinoGamesCategorySectionNd-BuihuDC2.js} +539 -529
  6. package/components/CasinoGamesCategorySectionNd-DWqSUxPN.cjs +1 -0
  7. package/components/{CasinoLastPlayedSectionNd-BgrQh6JT.js → CasinoLastPlayedSectionNd-BMGhNOXu.js} +78 -76
  8. package/components/CasinoLastPlayedSectionNd-Bn3Uk17d.cjs +1 -0
  9. package/components/{CasinoLastPlayedSectionNd-Bgk4eFk1.js → CasinoLastPlayedSectionNd-bJMrS8ke.js} +75 -73
  10. package/components/{CasinoMostPlayedSectionNd-B2mzOjbO.js → CasinoMostPlayedSectionNd-B9Iu77mh.js} +99 -97
  11. package/components/{CasinoMostPlayedSectionNd-DGRQ6ubz.js → CasinoMostPlayedSectionNd-Cg8GnJ0K.js} +96 -94
  12. package/components/CasinoMostPlayedSectionNd-Dc5doWw4.cjs +1 -0
  13. package/components/{CasinoMyGamesNd-DNQviRQW.js → CasinoMyGamesNd-BA393LO6.js} +3 -3
  14. package/components/{CasinoMyGamesNd-DSaEksBg.js → CasinoMyGamesNd-BNCUCVL7.js} +3 -3
  15. package/components/{CasinoMyGamesNd-BbAsUABa.cjs → CasinoMyGamesNd-Cb7ILFA8.cjs} +1 -1
  16. package/components/{CasinoPageNd-Cgk-cOhL.js → CasinoPageNd-1hhm_Mwh.js} +945 -915
  17. package/components/CasinoPageNd-DOo9al9X.cjs +1 -0
  18. package/components/{CasinoPageNd-BL7DXVWl.js → CasinoPageNd-stOLyY72.js} +1165 -1135
  19. package/es2015/casino-page-nd.cjs +1 -1
  20. package/es2015/casino-page-nd.js +1 -1
  21. package/esnext/casino-page-nd.js +1 -1
  22. package/lazy/{casino-favorites-section-nd-D0jLhD_G.js → casino-favorites-section-nd-BEa1CVj9.js} +1 -1
  23. package/lazy/{casino-favorites-section-nd-CEmu0PHX.cjs → casino-favorites-section-nd-C7z7XFM5.cjs} +1 -1
  24. package/lazy/{casino-favorites-section-nd-Dz24Svx4.js → casino-favorites-section-nd-Czl8Lb7Z.js} +1 -1
  25. package/lazy/{casino-games-category-section-nd-CEUqwZ2H.js → casino-games-category-section-nd-Bek7LmEY.js} +1 -1
  26. package/lazy/{casino-games-category-section-nd-BUFJ6SV3.js → casino-games-category-section-nd-DV6aZgx8.js} +1 -1
  27. package/lazy/{casino-games-category-section-nd-Cg7T9ODM.cjs → casino-games-category-section-nd-Da1bg5pW.cjs} +1 -1
  28. package/lazy/{casino-last-played-section-nd-D9E0n-bS.cjs → casino-last-played-section-nd-C-w4JAEm.cjs} +1 -1
  29. package/lazy/{casino-last-played-section-nd-C9DpiUym.js → casino-last-played-section-nd-C_uZTXGG.js} +1 -1
  30. package/lazy/{casino-last-played-section-nd-DZdEOLyD.js → casino-last-played-section-nd-DM_bNI-P.js} +1 -1
  31. package/lazy/{casino-most-played-section-nd-CrISknqG.cjs → casino-most-played-section-nd-B-WRIbes.cjs} +1 -1
  32. package/lazy/{casino-most-played-section-nd-CAf-NQQK.js → casino-most-played-section-nd-BDMFdoDV.js} +1 -1
  33. package/lazy/{casino-most-played-section-nd-BtaA0hae.js → casino-most-played-section-nd-C6iB31Fp.js} +1 -1
  34. package/lazy/{casino-my-games-nd-5RyRXP6Z.js → casino-my-games-nd-DdlWVYGv.js} +1 -1
  35. package/lazy/{casino-my-games-nd-Bz503WUE.js → casino-my-games-nd-ZBAhbaPb.js} +1 -1
  36. package/lazy/{casino-my-games-nd-BDZ4Yq3i.cjs → casino-my-games-nd-juRtmjU0.cjs} +1 -1
  37. package/lazy/{casino-play-random-game-CWiaE6SD.js → casino-play-random-game-BAWUP39M.js} +1 -1
  38. package/lazy/{casino-play-random-game-BgvQt_9c.js → casino-play-random-game-CoZa7Ts_.js} +1 -1
  39. package/lazy/{casino-play-random-game-BlG2E9dd.cjs → casino-play-random-game-DeHBe5wA.cjs} +1 -1
  40. package/package.json +1 -1
  41. package/stencil/{casino-play-random-game-Cy_f5K43.cjs → casino-play-random-game-CgVzX6ft.cjs} +1 -1
  42. package/stencil/{casino-play-random-game-BgPgrR13.js → casino-play-random-game-DXVh75QU.js} +2 -2
  43. package/stencil/{casino-play-random-game-BiGMkSw_.js → casino-play-random-game-xNh3lCLn.js} +2 -2
  44. package/stencil/{casino-play-random-game_2-NeDOlhPe.js → casino-play-random-game_2-86oqD2c-.js} +78 -73
  45. package/stencil/{casino-play-random-game_2-D-e9crBu.js → casino-play-random-game_2-CpRfDfPV.js} +78 -73
  46. package/stencil/{casino-play-random-game_2-BZDqAOHM.cjs → casino-play-random-game_2-Dh2ixYRd.cjs} +3 -3
  47. package/components/CasinoGamesCategorySectionNd-ZqUp8Eds.cjs +0 -1
  48. package/components/CasinoLastPlayedSectionNd-BXdICRZs.cjs +0 -1
  49. package/components/CasinoMostPlayedSectionNd-8UvzEIFs.cjs +0 -1
  50. package/components/CasinoPageNd-DkoYdwVl.cjs +0 -1
@@ -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/CasinoPageNd-DkoYdwVl.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-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/CasinoPageNd-DOo9al9X.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-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/CasinoPageNd-Cgk-cOhL.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPageNd-1hhm_Mwh.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page-nd") && customElements.define("casino-page-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoPageNd-BL7DXVWl.js";
1
+ import { C as s } from "../components/CasinoPageNd-stOLyY72.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoFavoritesSectionNd-CLFFLvzr.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoFavoritesSectionNd-2CqXK5k6.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-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/CasinoFavoritesSectionNd-CIYjO9Xo.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-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/CasinoFavoritesSectionNd-BA3170u7.cjs")).then(({default:t})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-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/CasinoFavoritesSectionNd-DCeYnvoM.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoFavoritesSectionNd-VUoFRlkN.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", t.element);
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySectionNd-Dikjdol8.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySectionNd-BuihuDC2.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-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/CasinoGamesCategorySectionNd-CkHrJKK7.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySectionNd-5PgdTQMT.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-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/CasinoGamesCategorySectionNd-ZqUp8Eds.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-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/CasinoGamesCategorySectionNd-DWqSUxPN.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",t.element)})}
@@ -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/CasinoLastPlayedSectionNd-BXdICRZs.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-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/CasinoLastPlayedSectionNd-Bn3Uk17d.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-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/CasinoLastPlayedSectionNd-BgrQh6JT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLastPlayedSectionNd-BMGhNOXu.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", t.element);
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLastPlayedSectionNd-Bgk4eFk1.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLastPlayedSectionNd-bJMrS8ke.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-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/CasinoMostPlayedSectionNd-8UvzEIFs.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-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/CasinoMostPlayedSectionNd-Dc5doWw4.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-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/CasinoMostPlayedSectionNd-B2mzOjbO.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSectionNd-B9Iu77mh.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", t.element);
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSectionNd-DGRQ6ubz.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSectionNd-Cg8GnJ0K.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", t.element);
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoMyGamesNd-DSaEksBg.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMyGamesNd-BNCUCVL7.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-my-games-nd") && customElements.define("casino-my-games-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/CasinoMyGamesNd-DNQviRQW.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMyGamesNd-BA393LO6.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-my-games-nd") && customElements.define("casino-my-games-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/CasinoMyGamesNd-BbAsUABa.cjs")).then(({default:t})=>{!customElements.get("casino-my-games-nd")&&customElements.define("casino-my-games-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/CasinoMyGamesNd-Cb7ILFA8.cjs")).then(({default:t})=>{!customElements.get("casino-my-games-nd")&&customElements.define("casino-my-games-nd",t.element)})}
@@ -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-D-e9crBu.js"
29
+ "../stencil/casino-play-random-game_2-86oqD2c-.js"
30
30
  ).then(l, b);
31
31
  }
32
32
  }
@@ -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-NeDOlhPe.js"
45
+ "../stencil/casino-play-random-game_2-CpRfDfPV.js"
46
46
  ).then(l, b);
47
47
  }
48
48
  }
@@ -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-BZDqAOHM.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-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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page-nd",
3
- "version": "1.86.26",
3
+ "version": "1.86.28",
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-BlG2E9dd.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-Cy_f5K43.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-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;
@@ -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-BgvQt_9c.js";
18
- import { s as f } from "../lazy/casino-play-random-game-BgvQt_9c.js";
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";
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,5 +1,5 @@
1
- import { b as a, p as t } from "../lazy/casino-play-random-game-CWiaE6SD.js";
2
- import { s as g } from "../lazy/casino-play-random-game-CWiaE6SD.js";
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";
3
3
  import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
4
4
  var r = () => {
5
5
  const n = import.meta.url, i = {};
@@ -1,8 +1,8 @@
1
- import { r as h, c as u, h as n, g as p, H as w } from "../lazy/casino-play-random-game-BgvQt_9c.js";
2
- const f = () => {
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";
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";
5
- }, y = "en", r = {
5
+ }, b = "en", r = {
6
6
  en: {
7
7
  error: "Error",
8
8
  randomGameLoading: "Loading ...",
@@ -45,44 +45,49 @@ const f = () => {
45
45
  playNowRandomGame: "Şimdi Oyna",
46
46
  spinRandomGame: "DEĞİŞTİR"
47
47
  }
48
- }, l = (e) => new Promise((t) => {
49
- fetch(e).then((i) => i.json()).then((i) => {
50
- Object.keys(i).forEach((a) => {
51
- r[a] || (r[a] = {});
52
- for (let o in i[a])
53
- r[a][o] = i[a][o];
54
- }), t(!0);
48
+ }, l = (e) => new Promise((n) => {
49
+ fetch(e).then((a) => a.json()).then((a) => {
50
+ c(a), n(!0);
51
+ });
52
+ }), s = (e, n) => {
53
+ const a = n;
54
+ return r[a !== void 0 && a in r ? a : b][e];
55
+ }, c = (e) => {
56
+ Object.keys(e).forEach((n) => {
57
+ r[n] || (r[n] = {});
58
+ for (let a in e[n])
59
+ r[n][a] = e[n][a];
55
60
  });
56
- }), s = (e, t) => {
57
- const i = t;
58
- return r[i !== void 0 && i in r ? i : y][e];
59
61
  };
60
- function m(e, t) {
62
+ function m(e, n) {
61
63
  if (e) {
62
- const i = document.createElement("style");
63
- i.innerHTML = t, e.appendChild(i);
64
+ const a = document.createElement("style");
65
+ a.innerHTML = n, e.appendChild(a);
64
66
  }
65
67
  }
66
- function d(e, t) {
67
- if (!e || !t)
68
+ function d(e, n) {
69
+ if (!e || !n)
68
70
  return;
69
- const i = new URL(t);
70
- fetch(i.href).then((a) => a.text()).then((a) => {
71
+ const a = new URL(n);
72
+ fetch(a.href).then((i) => i.text()).then((i) => {
71
73
  const o = document.createElement("style");
72
- o.innerHTML = a, e && e.appendChild(o);
73
- }).catch((a) => {
74
- console.error("There was an error while trying to load client styling from URL", a);
74
+ o.innerHTML = i, e && e.appendChild(o);
75
+ }).catch((i) => {
76
+ console.error("There was an error while trying to load client styling from URL", i);
75
77
  });
76
78
  }
77
- function x(e, t, i) {
79
+ function x(e, n, a) {
78
80
  if (window.emMessageBus) {
79
- const a = document.createElement("style");
80
- window.emMessageBus.subscribe(t, (o) => {
81
- a.innerHTML = o, e && e.appendChild(a);
81
+ const i = document.createElement("style");
82
+ window.emMessageBus.subscribe(n, (o) => {
83
+ i.innerHTML = o, e && e.appendChild(i);
82
84
  });
83
85
  }
84
86
  }
85
- const b = `:host {
87
+ function k(e, n, a) {
88
+ window.emMessageBus && window.emMessageBus.subscribe(e, a);
89
+ }
90
+ const G = `:host {
86
91
  display: block;
87
92
  font-family: inherit;
88
93
  -webkit-transform: translate3d(0, 0, 0);
@@ -459,17 +464,17 @@ const b = `:host {
459
464
  width: 70px;
460
465
  height: 85px;
461
466
  }
462
- }`, k = b, G = class {
467
+ }`, v = G, R = class {
463
468
  constructor(e) {
464
- h(this, e), this.dataLoaded = u(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (t) => {
465
- let i = t.length, a;
466
- for (; i !== 0; )
467
- a = Math.floor(Math.random() * i), i--, [t[i], t[a]] = [t[a], t[i]];
468
- return t;
469
+ h(this, e), this.dataLoaded = p(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (n) => {
470
+ let a = n.length, i;
471
+ for (; a !== 0; )
472
+ i = Math.floor(Math.random() * a), a--, [n[a], n[i]] = [n[i], n[a]];
473
+ return n;
469
474
  }, 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;
470
475
  }
471
- watchEndpoint(e, t) {
472
- e && e != t && this.endpoint && this.fetchGameList();
476
+ watchEndpoint(e, n) {
477
+ e && e != n && this.endpoint && this.fetchGameList();
473
478
  }
474
479
  handleNewTranslations() {
475
480
  this.isLoading = !0, l(this.translationUrl).then(() => {
@@ -479,32 +484,32 @@ const b = `:host {
479
484
  handleIsIconVisible() {
480
485
  this.iconVisibility = this.iconVisible === "true";
481
486
  }
482
- handleClientStylingChange(e, t) {
483
- e != t && m(this.stylingContainer, this.clientStyling);
487
+ handleClientStylingChange(e, n) {
488
+ e != n && m(this.stylingContainer, this.clientStyling);
484
489
  }
485
- handleClientStylingChangeURL(e, t) {
486
- e != t && this.clientStylingUrl && d(this.stylingContainer, this.clientStylingUrl);
490
+ handleClientStylingChangeURL(e, n) {
491
+ e != n && this.clientStylingUrl && d(this.stylingContainer, this.clientStylingUrl);
487
492
  }
488
493
  connectedCallback() {
489
494
  this.handleIsIconVisible();
490
495
  }
491
496
  componentWillLoad() {
492
- if (this.translationUrl.length > 2 && l(this.translationUrl), this.endpoint && this.language && this.datasource)
497
+ if (this.translationUrl.length > 2 && l(this.translationUrl), !this.translationUrl && this.mbSource && window.emMessageBus != null && k(`${this.mbSource}.Translation`, this.translationSubscription, c), this.endpoint && this.language && this.datasource)
493
498
  return this.fetchGameList();
494
499
  }
495
500
  componentDidLoad() {
496
501
  window.emMessageBus != null ? x(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && m(this.stylingContainer, this.clientStyling), this.clientStylingUrl && d(this.stylingContainer, this.clientStylingUrl));
497
502
  }
498
503
  disconnectedCallback() {
499
- this.stylingSubscription && this.stylingSubscription.unsubscribe();
504
+ this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.translationSubscription && this.translationSubscription.unsubscribe();
500
505
  }
501
506
  fetchGameList() {
502
507
  let e = new URL(`${this.endpoint}/v1/casino/games`);
503
- return e.searchParams.append("platform", f()), 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, i) => {
504
- this.isLoading = !0, fetch(e.href).then((a) => a.json()).then((a) => {
505
- this.gamesToShow = this.setUpGames(a == null ? void 0 : a.items), t(!0);
506
- }).catch((a) => {
507
- console.error(a), this.hasErrors = !0, i(a);
508
+ return e.searchParams.append("platform", y()), 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) => {
509
+ this.isLoading = !0, fetch(e.href).then((i) => i.json()).then((i) => {
510
+ this.gamesToShow = this.setUpGames(i?.items), n(!0);
511
+ }).catch((i) => {
512
+ console.error(i), this.hasErrors = !0, a(i);
508
513
  }).finally(() => {
509
514
  this.isLoading = !1, this.dataLoaded.emit({
510
515
  target: this.host
@@ -513,8 +518,8 @@ const b = `:host {
513
518
  });
514
519
  }
515
520
  setUpGames(e) {
516
- const t = this.shuffle(e).slice(0, 40);
517
- return t.concat(t);
521
+ const n = this.shuffle(e).slice(0, 40);
522
+ return n.concat(n);
518
523
  }
519
524
  selectRandomGame() {
520
525
  const e = this.gamesToShow.length / 2;
@@ -532,18 +537,18 @@ const b = `:host {
532
537
  }
533
538
  animateGames() {
534
539
  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();
535
- const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), t = parseInt(e, 10), i = this.selectedGameEl.offsetWidth, a = this.gameContainer.offsetWidth, o = (i + t) * this.selectedGameIndex + // Width of game cards up to the selected
536
- i / 2 - // Additional half card width to center to the selected game
537
- a / 2, c = [
540
+ 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 + // Width of game cards up to the selected
541
+ a / 2 - // Additional half card width to center to the selected game
542
+ i / 2, g = [
538
543
  { transform: "translateX(0px)", scale: 1 },
539
544
  { scale: 0.75 },
540
545
  { transform: `translateX(-${o}px)`, scale: 1 }
541
- ], g = {
546
+ ], u = {
542
547
  duration: 3e3,
543
548
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
544
549
  fill: "forwards"
545
550
  };
546
- this.animation = this.gameContainer.animate(c, g), this.animation.onfinish = () => {
551
+ this.animation = this.gameContainer.animate(g, u), this.animation.onfinish = () => {
547
552
  this.animationDone = !0, this.selectedGameEl.classList.add("TheRandomGame"), this.selectedGame = this.gamesToShow[this.selectedGameIndex];
548
553
  };
549
554
  }
@@ -558,17 +563,17 @@ const b = `:host {
558
563
  });
559
564
  }
560
565
  renderGameDetails() {
561
- return n("div", { class: "RandomButtonsWrapper" }, n("div", { class: "RandomGameDetails" }, n("span", { class: "RandomGameTitle" }, this.selectedGame.name), n("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), n("div", { class: "RandomButtons" }, n("button", { class: "RandomButton On", onClick: () => this.respin() }, s("spinRandomGame", this.language)), !this.launchByGameCard && n("button", { class: "RandomButton On", onClick: () => this.playGame() }, s("playNowRandomGame", this.language))));
566
+ return t("div", { class: "RandomButtonsWrapper" }, t("div", { class: "RandomGameDetails" }, t("span", { class: "RandomGameTitle" }, this.selectedGame.name), t("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), t("div", { class: "RandomButtons" }, t("button", { class: "RandomButton On", onClick: () => this.respin() }, s("spinRandomGame", this.language)), !this.launchByGameCard && t("button", { class: "RandomButton On", onClick: () => this.playGame() }, s("playNowRandomGame", this.language))));
562
567
  }
563
568
  renderSkeleton() {
564
- const e = Array.from({ length: 5 }, (t, i) => n("div", { class: "RandomGameCard", key: i }, n("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
565
- return n("div", { class: "RandomGameWrapper" }, n("div", { class: "GameContainerGradient" }), n("div", { class: "GamesContainer" }, e));
569
+ const e = Array.from({ length: 5 }, (n, a) => t("div", { class: "RandomGameCard", key: a }, t("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
570
+ return t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer" }, e));
566
571
  }
567
572
  render() {
568
- return n("div", { key: "1f326cff688b0b71ca1d6efbc6766c6b768cb846", ref: (e) => this.stylingContainer = e }, this.hasErrors ? n("div", { class: "RandomGameError" }, n("div", { class: "Title" }, s("error", this.language))) : this.isLoading ? this.renderSkeleton() : n("div", { class: "RandomGameWrapper" }, n("div", { class: "GameContainerGradient" }), n("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, t) => n("div", { class: "RandomGameCard", key: t, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, n("div", { class: "RandomGameVendor" }, e.vendor.name), n("img", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name }), this.selectedGame && this.selectedGameIndex === t && this.renderGameDetails()))), n("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, n("div", { class: "ButtonContainer" }, this.iconVisibility && n("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, n("div", { class: "QustionMark" }, "?"), n("div", { class: "HexagonMarkShadow" }), n("div", { class: "HexagonMark" })), !this.animationStarted && n("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, s("playRandomGame", this.language))))));
573
+ return t("div", { key: "a1e3f626fea9bcd6a351f1769675e11b21ac8fbd", ref: (e) => this.stylingContainer = e }, this.hasErrors ? t("div", { class: "RandomGameError" }, t("div", { class: "Title" }, s("error", this.language))) : this.isLoading ? this.renderSkeleton() : t("div", { class: "RandomGameWrapper" }, t("div", { class: "GameContainerGradient" }), t("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, n) => t("div", { class: "RandomGameCard", key: n, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, t("div", { class: "RandomGameVendor" }, e.vendor.name), t("img", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name }), this.selectedGame && this.selectedGameIndex === n && this.renderGameDetails()))), t("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, t("div", { class: "ButtonContainer" }, this.iconVisibility && t("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, t("div", { class: "QustionMark" }, "?"), t("div", { class: "HexagonMarkShadow" }), t("div", { class: "HexagonMark" })), !this.animationStarted && t("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, s("playRandomGame", this.language))))));
569
574
  }
570
575
  get host() {
571
- return p(this);
576
+ return w(this);
572
577
  }
573
578
  static get watchers() {
574
579
  return {
@@ -582,8 +587,8 @@ const b = `:host {
582
587
  };
583
588
  }
584
589
  };
585
- G.style = k;
586
- const v = ":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)}}", R = v, S = class {
590
+ R.style = v;
591
+ const S = ":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)}}", C = S, V = class {
587
592
  constructor(e) {
588
593
  h(this, e), this.stylingValue = {
589
594
  width: this.handleStylingProps(this.width),
@@ -596,8 +601,8 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
596
601
  size: this.handleStylingProps(this.size)
597
602
  }, 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%";
598
603
  }
599
- handleStructureChange(e, t) {
600
- t !== e && this.handleStructure(e);
604
+ handleStructureChange(e, n) {
605
+ n !== e && this.handleStructure(e);
601
606
  }
602
607
  handleStylingProps(e) {
603
608
  switch (typeof e) {
@@ -630,22 +635,22 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
630
635
  }
631
636
  }
632
637
  renderLogo() {
633
- return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
638
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
634
639
  }
635
640
  renderImage() {
636
- return n("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
641
+ return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
637
642
  }
638
643
  renderTitle() {
639
- return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
644
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
640
645
  }
641
646
  renderText() {
642
- return n("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, t) => n("div", { key: t, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
647
+ return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, n) => t("div", { key: n, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
643
648
  }
644
649
  renderRectangle() {
645
- return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
650
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
646
651
  }
647
652
  renderCircle() {
648
- return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
653
+ return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
649
654
  }
650
655
  render() {
651
656
  let e = "";
@@ -725,7 +730,7 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
725
730
  default:
726
731
  e = "";
727
732
  }
728
- return n(w, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, n("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
733
+ return t(f, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
729
734
  }
730
735
  static get watchers() {
731
736
  return {
@@ -733,8 +738,8 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
733
738
  };
734
739
  }
735
740
  };
736
- S.style = R;
741
+ V.style = C;
737
742
  export {
738
- G as casino_play_random_game,
739
- S as ui_skeleton
743
+ R as casino_play_random_game,
744
+ V as ui_skeleton
740
745
  };