@everymatrix/casino-page 1.77.12 → 1.77.14
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-B97UQ8gq.cjs → CasinoCalendar-BEFWuyZL.cjs} +1 -1
- package/components/{CasinoCalendar-bxzSz8nH.js → CasinoCalendar-OJZrTCla.js} +2 -2
- package/components/{CasinoCalendar-D8Nxjvdx.js → CasinoCalendar-nkrznZpo.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-FhDzA2T2.cjs → CasinoCalendarDailyDetails-B0uEWbbt.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DW5KFMyK.js → CasinoCalendarDailyDetails-D-PrPj8s.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-CdHtqnbi.js → CasinoCalendarDailyDetails-Jxs5L-1T.js} +2 -2
- package/components/{CasinoCalendarDailyItem-CMeOcDvi.cjs → CasinoCalendarDailyItem-BJHwZkKJ.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DZK8oHrA.js → CasinoCalendarDailyItem-D24LBmnc.js} +2 -2
- package/components/{CasinoCalendarDailyItem-DEXziX0x.js → CasinoCalendarDailyItem-DrZ46wZq.js} +2 -2
- package/components/{CasinoCollectionsProviders-D9rYIHmo.js → CasinoCollectionsProviders-CTlOHOW4.js} +1 -1
- package/components/{CasinoCollectionsProviders-r1icymt2.cjs → CasinoCollectionsProviders-CzBxsowK.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-AzoM3XoH.js → CasinoCollectionsProviders-DBLRCWWo.js} +1 -1
- package/components/{CasinoFavoritesSection-DyTr4xi9.cjs → CasinoFavoritesSection-BurItg-S.cjs} +1 -1
- package/components/{CasinoFavoritesSection-CuaC5dff.js → CasinoFavoritesSection-CqaFWWNw.js} +2 -2
- package/components/{CasinoFavoritesSection-6VKj960X.js → CasinoFavoritesSection-DraV0MSt.js} +2 -2
- package/components/{CasinoFilter-C9ZHmWWK.js → CasinoFilter-5hTa8CKw.js} +1 -1
- package/components/{CasinoFilter-BjZcu1Zd.cjs → CasinoFilter-BAo8wmWH.cjs} +1 -1
- package/components/{CasinoFilter-DpvSwfM8.js → CasinoFilter-CTkRb1UC.js} +1 -1
- package/components/{CasinoGameThumbnail-qM-Gbzwf.js → CasinoGameThumbnail-7tgQYm_R.js} +2 -2
- package/components/{CasinoGameThumbnail-tIN9eASG.cjs → CasinoGameThumbnail-RQtdJeDy.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Cvv5K-V-.js → CasinoGameThumbnail-ggwIl1Pw.js} +2 -2
- package/components/{CasinoGamesCategorySection-d_7mPJ0n.js → CasinoGamesCategorySection-C2ELh_D0.js} +5 -5
- package/components/{CasinoGamesCategorySection-CtB1PYdf.cjs → CasinoGamesCategorySection-C5V7hmwW.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DPDv5Z2A.js → CasinoGamesCategorySection-vNzKJNTE.js} +5 -5
- package/components/{CasinoJackpotBanner-DzRXI3vL.js → CasinoJackpotBanner-C51E4rGA.js} +2 -2
- package/components/{CasinoJackpotBanner-DMv8eIrI.js → CasinoJackpotBanner-CTxmfDSK.js} +2 -2
- package/components/{CasinoJackpotBanner-CURWuLnM.cjs → CasinoJackpotBanner-DBer4LlE.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BblHD9QD.js → CasinoLastPlayedSection-BVaBQx_r.js} +2 -2
- package/components/{CasinoLastPlayedSection-Bo3A8Do6.js → CasinoLastPlayedSection-D4zSf-iH.js} +2 -2
- package/components/{CasinoLastPlayedSection-BDr3xzBe.cjs → CasinoLastPlayedSection-DvqOceHg.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-lHx7VIRZ.cjs → CasinoMostPlayedSection-67rPpLwO.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Be7sgpSu.js → CasinoMostPlayedSection-BtBK3dNe.js} +2 -2
- package/components/{CasinoMostPlayedSection-DUwezet4.js → CasinoMostPlayedSection-C-yob1Wg.js} +2 -2
- package/components/{CasinoMyGames-DLSOoTzq.cjs → CasinoMyGames-C4HjhxAp.cjs} +1 -1
- package/components/{CasinoMyGames-ChvMwchp.js → CasinoMyGames-CGk2YIXc.js} +4 -4
- package/components/{CasinoMyGames-DDGwXZnF.js → CasinoMyGames-on4J8rS0.js} +4 -4
- package/components/{CasinoPage-DmfE2oNt.cjs → CasinoPage-0D_mE0t7.cjs} +1 -1
- package/components/{CasinoPage-DaDeLn1I.js → CasinoPage-B3fr6oUR.js} +11 -11
- package/components/{CasinoPage-nWOuy_6P.js → CasinoPage-hmXNQabF.js} +11 -11
- package/components/{CasinoRandomGame-CUm9RIYn.js → CasinoRandomGame-BAEkb2tu.js} +1 -1
- package/components/{CasinoRandomGame-ZMPjnHVk.js → CasinoRandomGame-BmMyshhG.js} +1 -1
- package/components/{CasinoRandomGame-CGMKRa0S.cjs → CasinoRandomGame-KabCqklE.cjs} +1 -1
- package/components/{CasinoSearch-CJ0lzyrB.js → CasinoSearch-BpiOTe-d.js} +2 -2
- package/components/{CasinoSearch-axJVj8TI.cjs → CasinoSearch-RK-64XQL.cjs} +1 -1
- package/components/{CasinoSearch-DgqCUUZI.js → CasinoSearch-RUGp93EK.js} +2 -2
- package/components/{CasinoSort-B6gX0-I0.js → CasinoSort-Bq2rlwaB.js} +1 -1
- package/components/{CasinoSort-DLnYiKhk.cjs → CasinoSort-DoQJjcDE.cjs} +1 -1
- package/components/{CasinoSort-DJ9t5LDz.js → CasinoSort-DuhCSjcj.js} +1 -1
- package/components/{CasinoWinners-D4AMnOYW.js → CasinoWinners-BW3nKr2t.js} +2 -2
- package/components/{CasinoWinners-Dgyd_o1N.cjs → CasinoWinners-D7mQLu0o.cjs} +1 -1
- package/components/{CasinoWinners-eCwoQx77.js → CasinoWinners-DrPaYn8M.js} +2 -2
- package/components/{GeneralAnimationLoading-C7soYqt4.js → GeneralAnimationLoading-BK4eHT2E.js} +1 -1
- package/components/{GeneralAnimationLoading-DvXYU_Of.js → GeneralAnimationLoading-BlaU9rOM.js} +1 -1
- package/components/{GeneralAnimationLoading-BXiH57LA.cjs → GeneralAnimationLoading-QrfZPZRh.cjs} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/casino-play-random-game-9IuvoPt4.cjs +1 -0
- package/stencil/casino-play-random-game-Cokl6Z0T.js +25 -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-D4c_LX5r.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-hEBXfomA.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/casino-play-random-game-CBvP0KH-.js +0 -7
- package/stencil/casino-play-random-game-CFbeQuDp.js +0 -25
- package/stencil/casino-play-random-game-KOZPmhaf.cjs +0 -1
- 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;
|