@everymatrix/casino-lobby 1.77.13 → 1.77.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-zuTe3VuX.js → CasinoCalendar-2Cpj6Bg6.js} +2 -2
- package/components/{CasinoCalendar-DyBPfr8g.js → CasinoCalendar-CMIWRUUm.js} +2 -2
- package/components/{CasinoCalendar-BXkKXIW5.cjs → CasinoCalendar-DV_HGN_d.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-exLcPp9d.js → CasinoCalendarDailyDetails-B5krFnaT.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-BSZTWjUP.js → CasinoCalendarDailyDetails-DA7MIM93.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-C-Z1rUGp.cjs → CasinoCalendarDailyDetails-XuqvF6i3.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DhxDC_cY.js → CasinoCalendarDailyItem-BAJJIvIo.js} +2 -2
- package/components/{CasinoCalendarDailyItem-DsszYt1n.js → CasinoCalendarDailyItem-DY2ge_ta.js} +2 -2
- package/components/{CasinoCalendarDailyItem-C2-bAoC9.cjs → CasinoCalendarDailyItem-Q79--gB8.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BBjSAeXS.cjs → CasinoCategoriesSlider-Bj5sxBdL.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-DbzHTxyP.js → CasinoCategoriesSlider-D8ihGze3.js} +2 -2
- package/components/{CasinoCategoriesSlider-C_rVyJhr.js → CasinoCategoriesSlider-QFkK1VfK.js} +2 -2
- package/components/{CasinoCollectionsProviders-07KHU5kx.js → CasinoCollectionsProviders-4Z4WIkbN.js} +1 -1
- package/components/{CasinoCollectionsProviders-D3Zl7Nz0.cjs → CasinoCollectionsProviders-CyhsgC2q.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-995xsVnL.js → CasinoCollectionsProviders-KSxevvZ5.js} +1 -1
- package/components/{CasinoFavoritesSection-DJZI2rYY.js → CasinoFavoritesSection-5t-YdXxm.js} +2 -2
- package/components/{CasinoFavoritesSection-DfLdFUrZ.js → CasinoFavoritesSection-BJE-MQG7.js} +2 -2
- package/components/{CasinoFavoritesSection-5bYhSr79.cjs → CasinoFavoritesSection-DjiIRQLn.cjs} +1 -1
- package/components/{CasinoFilter-D-MHArIw.cjs → CasinoFilter-BDFP3doT.cjs} +1 -1
- package/components/{CasinoFilter-BuGoytL_.js → CasinoFilter-DqvsdQLm.js} +1 -1
- package/components/{CasinoFilter-MHNyQSU3.js → CasinoFilter-nIExzBTm.js} +1 -1
- package/components/{CasinoGameThumbnail-cHRupZt_.cjs → CasinoGameThumbnail-CRu4wYn9.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C_0Y1dkd.js → CasinoGameThumbnail-D0NeJLRZ.js} +2 -2
- package/components/{CasinoGameThumbnail-BSIYg04A.js → CasinoGameThumbnail-D913j_wH.js} +2 -2
- package/components/{CasinoGamesCategorySection-CESeqX_L.js → CasinoGamesCategorySection-5LFU5yuj.js} +5 -5
- package/components/{CasinoGamesCategorySection-CBkUE5uv.cjs → CasinoGamesCategorySection-CRaxNGy0.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-A08NUgCq.js → CasinoGamesCategorySection-CXzA9Pec.js} +5 -5
- package/components/{CasinoJackpotBanner-75MQ66qi.cjs → CasinoJackpotBanner-C2pEv1Zb.cjs} +1 -1
- package/components/{CasinoJackpotBanner-3DwTsCVK.js → CasinoJackpotBanner-EKq86n9z.js} +2 -2
- package/components/{CasinoJackpotBanner-CnlNGCDY.js → CasinoJackpotBanner-uWhhU8zz.js} +2 -2
- package/components/{CasinoLastPlayedSection-BZtGmUUA.cjs → CasinoLastPlayedSection-9KTmn4zi.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-D-8v-cne.js → CasinoLastPlayedSection-CNaFhDz8.js} +2 -2
- package/components/{CasinoLastPlayedSection-DRoIS-0_.js → CasinoLastPlayedSection-O8WbOixZ.js} +2 -2
- package/components/{CasinoLobby-LgecSfVr.js → CasinoLobby-BFQ4We_Z.js} +3 -3
- package/components/{CasinoLobby-i-a4pZhC.js → CasinoLobby-BgA2Yfeh.js} +3 -3
- package/components/{CasinoLobby-HHgiyccN.cjs → CasinoLobby-BtMWFSuO.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BwEKJcPf.js → CasinoMostPlayedSection-Akkt-8zb.js} +2 -2
- package/components/{CasinoMostPlayedSection-BBXzsvRl.cjs → CasinoMostPlayedSection-CCxUcNEd.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CjYZTW4E.js → CasinoMostPlayedSection-DHre12XW.js} +2 -2
- package/components/{CasinoMyGames-xkjGsmOF.js → CasinoMyGames-6UepUaP6.js} +4 -4
- package/components/{CasinoMyGames-77EwW-yt.cjs → CasinoMyGames-C5pDZdI8.cjs} +1 -1
- package/components/{CasinoMyGames-DHuPaNG0.js → CasinoMyGames-CxerF-Yu.js} +4 -4
- package/components/{CasinoPage-DI-PASIJ.js → CasinoPage-Baakldpz.js} +11 -11
- package/components/{CasinoPage-4oV_jcI0.cjs → CasinoPage-Dcsv0xP0.cjs} +1 -1
- package/components/{CasinoPage-CB70PkG7.js → CasinoPage-DpOZxl2w.js} +11 -11
- package/components/{CasinoRandomGame-C9StTrk4.js → CasinoRandomGame-C0LeVa_K.js} +1 -1
- package/components/{CasinoRandomGame-CPpU-72j.cjs → CasinoRandomGame-CN0ZsyT7.cjs} +1 -1
- package/components/{CasinoRandomGame-BYvwFr_b.js → CasinoRandomGame-KqxBje-s.js} +1 -1
- package/components/{CasinoSearch-BfUtEpJL.js → CasinoSearch--k-N3P69.js} +2 -2
- package/components/{CasinoSearch-_jYPvRsN.cjs → CasinoSearch-CpZ8gqIq.cjs} +1 -1
- package/components/{CasinoSearch-igrUXd6J.js → CasinoSearch-D6g4OD8M.js} +2 -2
- package/components/{CasinoSlider-BXIE8lic.js → CasinoSlider-B8GaaNuP.js} +1 -1
- package/components/{CasinoSlider-B7h9pFKI.js → CasinoSlider-CBsaRkSG.js} +1 -1
- package/components/{CasinoSlider-CAMW98Br.cjs → CasinoSlider-DbyJ57E6.cjs} +1 -1
- package/components/{CasinoSort-zgez3kXp.cjs → CasinoSort-5CSg7HAS.cjs} +1 -1
- package/components/{CasinoSort-xXZ4iy3F.js → CasinoSort-DUnBFMEc.js} +1 -1
- package/components/{CasinoSort-BOxuTvzM.js → CasinoSort-DdVCJHJU.js} +1 -1
- package/components/{CasinoWinners-Dk_FM8M_.cjs → CasinoWinners-4uQChe2F.cjs} +1 -1
- package/components/{CasinoWinners-Cm0fFuOT.js → CasinoWinners-BO9ep3XD.js} +2 -2
- package/components/{CasinoWinners-Czcw38Ba.js → CasinoWinners-D9hsy2fX.js} +2 -2
- package/components/{GeneralAnimationLoading-BRm7wmIo.js → GeneralAnimationLoading-DKWSPDDc.js} +1 -1
- package/components/{GeneralAnimationLoading-KzmRRNdV.cjs → GeneralAnimationLoading-DpT91_iF.cjs} +1 -1
- package/components/{GeneralAnimationLoading-D3xBKGsh.js → GeneralAnimationLoading-yNj1-Ym_.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-Cokl6Z0T.js +25 -0
- package/stencil/casino-play-random-game-YkE8NRAS.cjs +1 -0
- package/stencil/casino-play-random-game-aAxIDx1E.js +7 -0
- package/stencil/{casino-play-random-game_3-hXg44sIc.js → casino-play-random-game_2-C4OzRB6p.js} +62 -146
- package/stencil/{casino-play-random-game_3-DwEH0qQ6.cjs → casino-play-random-game_2-CW63Z1oW.cjs} +3 -3
- package/stencil/{casino-play-random-game_3-k-nIZgX3.js → casino-play-random-game_2-DQXJFV3B.js} +62 -146
- package/stencil/index-328e660d-B68qAbuh.js +576 -0
- package/stencil/index-328e660d-Bw8nOXsd.js +560 -0
- package/stencil/index-328e660d-r819jp36.cjs +1 -0
- package/stencil/{index-256b7d4e-DrOXnq3q.js → index-97d17652--F7PvMq9.js} +101 -102
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-256b7d4e-B27ydHcs.js → index-97d17652-CCFHkzJw.js} +104 -105
- package/stencil/ui-image-2_i-_1cj.js +25 -0
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
- package/stencil/ui-image-bN_3pDWc.js +7 -0
- package/stencil/ui-image-eY8BEG3a.cjs +1 -0
- package/stencil/{ui-image_2-hEBXfomA.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-C-3C7pxb.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-D4c_LX5r.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/casino-play-random-game-Baz3hijs.cjs +0 -1
- package/stencil/casino-play-random-game-CBvP0KH-.js +0 -7
- package/stencil/casino-play-random-game-CFbeQuDp.js +0 -25
- package/stencil/index-256b7d4e-yFNBIexD.cjs +0 -1
- package/stencil/index-27b314b8-B8NkclUW.cjs +0 -1
- package/stencil/index-27b314b8-BP-avhfQ.js +0 -581
- package/stencil/index-27b314b8-yHH25nm_.js +0 -565
- package/stencil/ui-image-CApqhy9w.js +0 -25
- package/stencil/ui-image-CSw577-7.js +0 -7
- package/stencil/ui-image-DrI4EMDq.cjs +0 -1
- package/stencil/ui-image-ae115205-Bmmit6PH.js +0 -81
- package/stencil/ui-image-ae115205-C9w0DS-q.js +0 -81
- package/stencil/ui-image-ae115205-CcwMMc09.cjs +0 -1
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { r as n, h as t, H as r, g as a } from "./index-256b7d4e-B27ydHcs.js";
|
|
2
|
-
const o = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", d = o, h = class {
|
|
3
|
-
constructor(i) {
|
|
4
|
-
n(this, i), this._onLoad = () => {
|
|
5
|
-
this.imgLoaded = !0;
|
|
6
|
-
}, this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.loading = "lazy", this.imgLoaded = !1;
|
|
7
|
-
}
|
|
8
|
-
onSrcChange() {
|
|
9
|
-
this.loading !== "eager" && (this.imgLoaded = !1, (typeof window == "undefined" || !("IntersectionObserver" in window)) && this.beginLoad());
|
|
10
|
-
}
|
|
11
|
-
onLoadingChange(i, e) {
|
|
12
|
-
i !== e && (this.cleanupObserver(), i === "eager" ? this.imgEl && this.src && (this.imgEl.src = this.src) : (this.imgLoaded = !1, this.setupObserver()));
|
|
13
|
-
}
|
|
14
|
-
componentDidLoad() {
|
|
15
|
-
this.loading !== "eager" && this.setupObserver();
|
|
16
|
-
}
|
|
17
|
-
disconnectedCallback() {
|
|
18
|
-
this.cleanupObserver(), this.imgEl && (this.imgEl.src = "");
|
|
19
|
-
}
|
|
20
|
-
canUseIO() {
|
|
21
|
-
return typeof window != "undefined" && "IntersectionObserver" in window;
|
|
22
|
-
}
|
|
23
|
-
setupObserver() {
|
|
24
|
-
if (this.loading !== "eager") {
|
|
25
|
-
if (!this.canUseIO()) {
|
|
26
|
-
this.beginLoad();
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
this.io = new IntersectionObserver((i) => {
|
|
30
|
-
var e;
|
|
31
|
-
for (const s of i)
|
|
32
|
-
if (s.isIntersecting) {
|
|
33
|
-
this.beginLoad(), (e = this.io) === null || e === void 0 || e.unobserve(s.target), this.cleanupObserver();
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
}, { root: null, rootMargin: this.detectDistance, threshold: 0 }), this.io.observe(this.el);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
cleanupObserver() {
|
|
40
|
-
var i;
|
|
41
|
-
(i = this.io) === null || i === void 0 || i.disconnect(), this.io = void 0;
|
|
42
|
-
}
|
|
43
|
-
beginLoad() {
|
|
44
|
-
this.preloadAndSetSrc(), this.imgEl && this.imgEl.complete && this.imgEl.naturalWidth > 0 && (this.imgLoaded = !0);
|
|
45
|
-
}
|
|
46
|
-
preloadAndSetSrc() {
|
|
47
|
-
if (!this.src || !this.imgEl)
|
|
48
|
-
return;
|
|
49
|
-
const i = new Image();
|
|
50
|
-
i.onload = () => {
|
|
51
|
-
this.imgEl && (this.imgEl.src = i.src, this.imgLoaded = !0);
|
|
52
|
-
}, i.onerror = () => {
|
|
53
|
-
this.imgEl && (this.imgEl.src = this.src);
|
|
54
|
-
}, i.src = this.src;
|
|
55
|
-
}
|
|
56
|
-
get showSkeleton() {
|
|
57
|
-
return this.loading !== "eager" && !this.imgLoaded;
|
|
58
|
-
}
|
|
59
|
-
renderEager() {
|
|
60
|
-
return t(r, { class: "HostContainer" }, t("img", { src: this.src, decoding: "async", style: this.styles, class: "UiContainer Visible", alt: this.alt, width: this.width, height: this.height, loading: "eager" }));
|
|
61
|
-
}
|
|
62
|
-
renderLazy() {
|
|
63
|
-
return t(r, { class: "HostContainer", "aria-busy": this.imgLoaded ? "false" : "true" }, this.showSkeleton && t("ui-skeleton", { class: "UiContainer", structure: "image", width: "100%", height: "100%" }), t("img", { ref: (i) => this.imgEl = i, src: void 0, decoding: "async", style: this.styles, onLoad: this._onLoad, class: `UiContainer ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" }));
|
|
64
|
-
}
|
|
65
|
-
render() {
|
|
66
|
-
return this.loading === "eager" ? this.renderEager() : this.renderLazy();
|
|
67
|
-
}
|
|
68
|
-
get el() {
|
|
69
|
-
return a(this);
|
|
70
|
-
}
|
|
71
|
-
static get watchers() {
|
|
72
|
-
return {
|
|
73
|
-
src: ["onSrcChange"],
|
|
74
|
-
loading: ["onLoadingChange"]
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
h.style = d;
|
|
79
|
-
export {
|
|
80
|
-
h as U
|
|
81
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./index-256b7d4e-yFNBIexD.cjs"),n=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",a=n,r=class{constructor(i){e.registerInstance(this,i),this._onLoad=()=>{this.imgLoaded=!0},this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.loading="lazy",this.imgLoaded=!1}onSrcChange(){this.loading!=="eager"&&(this.imgLoaded=!1,(typeof window=="undefined"||!("IntersectionObserver"in window))&&this.beginLoad())}onLoadingChange(i,t){i!==t&&(this.cleanupObserver(),i==="eager"?this.imgEl&&this.src&&(this.imgEl.src=this.src):(this.imgLoaded=!1,this.setupObserver()))}componentDidLoad(){this.loading!=="eager"&&this.setupObserver()}disconnectedCallback(){this.cleanupObserver(),this.imgEl&&(this.imgEl.src="")}canUseIO(){return typeof window!="undefined"&&"IntersectionObserver"in window}setupObserver(){if(this.loading!=="eager"){if(!this.canUseIO()){this.beginLoad();return}this.io=new IntersectionObserver(i=>{var t;for(const s of i)if(s.isIntersecting){this.beginLoad(),(t=this.io)===null||t===void 0||t.unobserve(s.target),this.cleanupObserver();break}},{root:null,rootMargin:this.detectDistance,threshold:0}),this.io.observe(this.el)}}cleanupObserver(){var i;(i=this.io)===null||i===void 0||i.disconnect(),this.io=void 0}beginLoad(){this.preloadAndSetSrc(),this.imgEl&&this.imgEl.complete&&this.imgEl.naturalWidth>0&&(this.imgLoaded=!0)}preloadAndSetSrc(){if(!this.src||!this.imgEl)return;const i=new Image;i.onload=()=>{this.imgEl&&(this.imgEl.src=i.src,this.imgLoaded=!0)},i.onerror=()=>{this.imgEl&&(this.imgEl.src=this.src)},i.src=this.src}get showSkeleton(){return this.loading!=="eager"&&!this.imgLoaded}renderEager(){return e.h(e.Host,{class:"HostContainer"},e.h("img",{src:this.src,decoding:"async",style:this.styles,class:"UiContainer Visible",alt:this.alt,width:this.width,height:this.height,loading:"eager"}))}renderLazy(){return e.h(e.Host,{class:"HostContainer","aria-busy":this.imgLoaded?"false":"true"},this.showSkeleton&&e.h("ui-skeleton",{class:"UiContainer",structure:"image",width:"100%",height:"100%"}),e.h("img",{ref:i=>this.imgEl=i,src:void 0,decoding:"async",style:this.styles,onLoad:this._onLoad,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}render(){return this.loading==="eager"?this.renderEager():this.renderLazy()}get el(){return e.getElement(this)}static get watchers(){return{src:["onSrcChange"],loading:["onLoadingChange"]}}};r.style=a;exports.UiImage=r;
|