@everymatrix/casino-lobby 1.86.27 → 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 (19) hide show
  1. package/components/{CasinoLobby-Cs6HmQRu.cjs → CasinoLobby-4YtVMO-6.cjs} +1 -1
  2. package/components/{CasinoLobby-Bc2QHTe4.js → CasinoLobby-DWmhPfwT.js} +1 -1
  3. package/components/{CasinoLobby-Bkj4ZQu6.js → CasinoLobby-XvRr9BZi.js} +1 -1
  4. package/components/{CasinoPage-BzASY7Hg.cjs → CasinoPage-Bo8ylg3y.cjs} +1 -1
  5. package/components/{CasinoPage-Dg5sPuQa.js → CasinoPage-DwBmzonF.js} +1 -1
  6. package/components/{CasinoPage-CUUEVdPt.js → CasinoPage-h-RHbW1r.js} +1 -1
  7. package/es2015/casino-lobby.cjs +1 -1
  8. package/es2015/casino-lobby.js +1 -1
  9. package/esnext/casino-lobby.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{casino-play-random-game-rBIQ75Yb.cjs → casino-play-random-game-C2iMyuvU.cjs} +1 -1
  12. package/stencil/{casino-play-random-game-DmsXPThq.js → casino-play-random-game-Cl9JcOrj.js} +1 -1
  13. package/stencil/{casino-play-random-game-bUDjgSKo.js → casino-play-random-game-RGUpuZPq.js} +1 -1
  14. package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-CO2NNXfY.js} +78 -73
  15. package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-DDUIsLoS.js} +78 -73
  16. package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-DLUn9wKp.cjs} +3 -3
  17. package/stencil/{index-328e660d-C6OCQOhB.cjs → index-328e660d-B-CyVkeM.cjs} +1 -1
  18. package/stencil/{index-328e660d-Duk3nD23.js → index-328e660d-BObr7mUW.js} +1 -1
  19. package/stencil/{index-328e660d-B6ge05AJ.js → index-328e660d-CRkYzdMU.js} +1 -1
@@ -1,8 +1,8 @@
1
- import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-Duk3nD23.js";
2
- const f = () => {
1
+ import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-CRkYzdMU.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
  };
@@ -1,8 +1,8 @@
1
- import { r as h, c as u, h as n, g as p, H as w } from "./index-328e660d-B6ge05AJ.js";
2
- const f = () => {
1
+ import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-BObr7mUW.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?.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 == null ? void 0 : 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
  };