@everymatrix/casino-page-nd 1.80.12 → 1.80.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-Dvq0s7Wu.js → CasinoCalendar-B8zCvPQQ.js} +2 -2
- package/components/{CasinoCalendar-CMBPy1pJ.cjs → CasinoCalendar-DGad7so9.cjs} +1 -1
- package/components/{CasinoCalendar-CVV5rh8D.js → CasinoCalendar-DJM0Q4qp.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-Ce8DWjpV.js → CasinoCalendarDailyDetails-BXbVx1M0.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-DexFgNfS.cjs → CasinoCalendarDailyDetails-DOP-Wf9W.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DoK91rza.js → CasinoCalendarDailyDetails-DSJMF5gm.js} +2 -2
- package/components/{CasinoCalendarDailyItem-D15k2m1h.js → CasinoCalendarDailyItem-BUaK2KTI.js} +2 -2
- package/components/{CasinoCalendarDailyItem-DJzXrKrB.cjs → CasinoCalendarDailyItem-COoHmOXB.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DYvCgZu8.js → CasinoCalendarDailyItem-TfZsK_tm.js} +2 -2
- package/components/{CasinoCollectionsProviders-m_2jJqD9.js → CasinoCollectionsProviders-BRl-v3Ya.js} +1 -1
- package/components/{CasinoCollectionsProviders-CME6A3fn.js → CasinoCollectionsProviders-BSL3h2Qc.js} +1 -1
- package/components/{CasinoCollectionsProviders-DBJEOSOQ.cjs → CasinoCollectionsProviders-oXuN-VKl.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-CgVosAeB.js → CasinoFavoritesSectionNd-BnA8dg88.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-Ce-LxtIc.cjs → CasinoFavoritesSectionNd-DwyUG06e.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-CC2Mhe7g.js → CasinoFavoritesSectionNd-d-gn6JTA.js} +2 -2
- package/components/{CasinoFilter-B9UcHS3B.js → CasinoFilter-Bysyz-Dr.js} +1 -1
- package/components/{CasinoFilter-BM39VdLR.js → CasinoFilter-CDPDDoGj.js} +1 -1
- package/components/{CasinoFilter-fiig0zZL.cjs → CasinoFilter-MNR9rxSs.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-Nx3_mCqs.js → CasinoGameThumbnailNd-BJxh83td.js} +2 -2
- package/components/{CasinoGameThumbnailNd-WGdWotyu.cjs → CasinoGameThumbnailNd-BaVlGhBW.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-Bl3MN85w.js → CasinoGameThumbnailNd-BoiI9srr.js} +2 -2
- package/components/{CasinoGamesCategorySectionNd-BNmu6Qj6.cjs → CasinoGamesCategorySectionNd-6S-3AibH.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-58xX9Nx1.js → CasinoGamesCategorySectionNd-lbHfWlW7.js} +5 -5
- package/components/{CasinoGamesCategorySectionNd-Bs-F5_mf.js → CasinoGamesCategorySectionNd-tcUDJIk7.js} +5 -5
- package/components/{CasinoJackpotBanner-Ct4mMod2.js → CasinoJackpotBanner-BNBPYSwS.js} +2 -2
- package/components/{CasinoJackpotBanner-BftiHhI-.cjs → CasinoJackpotBanner-Cvjf5QJ5.cjs} +1 -1
- package/components/{CasinoJackpotBanner-OnXeUt0G.js → CasinoJackpotBanner-_bo8-ZfT.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-DoutH-S-.js → CasinoLastPlayedSectionNd-D_Tvyepz.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-Dq0XKZje.js → CasinoLastPlayedSectionNd-Dpf6rlEg.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-DRV2hBQj.cjs → CasinoLastPlayedSectionNd-nYGqjPcR.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DuGjpOL0.js → CasinoMostPlayedSectionNd-DSv6MUZ3.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-CooslTx2.cjs → CasinoMostPlayedSectionNd-mjSg_Irv.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-IdVE7ZfM.js → CasinoMostPlayedSectionNd-nGsT6Zzk.js} +2 -2
- package/components/{CasinoMyGamesNd-6pzU7NK9.js → CasinoMyGamesNd-1MVnNNOx.js} +4 -4
- package/components/{CasinoMyGamesNd-BVxJsLdw.cjs → CasinoMyGamesNd-BeHZv7-Y.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DkusqFbz.js → CasinoMyGamesNd-CGxStqgi.js} +4 -4
- package/components/{CasinoPageNd-dbV-9e6J.js → CasinoPageNd-BMvcjaZw.js} +11 -11
- package/components/{CasinoPageNd-CUoNzOR6.cjs → CasinoPageNd-BVVMCKtp.cjs} +1 -1
- package/components/{CasinoPageNd-BOAZLxmi.js → CasinoPageNd-DdWryIwZ.js} +11 -11
- package/components/{CasinoRandomGame-DfVbawNf.js → CasinoRandomGame-B3E9Sl77.js} +1 -1
- package/components/{CasinoRandomGame-CtrV5Zq9.cjs → CasinoRandomGame-DxySmSNO.cjs} +1 -1
- package/components/{CasinoRandomGame-D9uI-0HJ.js → CasinoRandomGame-DzO_5BpD.js} +1 -1
- package/components/{CasinoSearchNd-C1Ek0xKo.js → CasinoSearchNd-Bk3JMfF4.js} +3 -3
- package/components/{CasinoSearchNd-CqhySh-z.js → CasinoSearchNd-Bzd0q07t.js} +3 -3
- package/components/{CasinoSearchNd-CfuNbJWs.cjs → CasinoSearchNd-XAJ23bXb.cjs} +1 -1
- package/components/{CasinoSort-CTN72s-D.js → CasinoSort-B3ZRJU28.js} +1 -1
- package/components/{CasinoSort-BsXOeI0C.cjs → CasinoSort-DItr2owY.cjs} +1 -1
- package/components/{CasinoSort-V3aduIWF.js → CasinoSort-DPaqjDVj.js} +1 -1
- package/components/{CasinoWinners-CQK4PyWm.cjs → CasinoWinners-9ojJxKwU.cjs} +1 -1
- package/components/{CasinoWinners-DOHnPkbg.js → CasinoWinners-BQNq6diA.js} +2 -2
- package/components/{CasinoWinners-CdrRukBX.js → CasinoWinners-WEifp-Jg.js} +2 -2
- package/components/{GeneralAnimationLoading-2pIa3WZ2.js → GeneralAnimationLoading-BOpJvYT-.js} +1 -1
- package/components/{GeneralAnimationLoading-BIa2hgIm.cjs → GeneralAnimationLoading-BWC71dDm.cjs} +1 -1
- package/components/{GeneralAnimationLoading-B9CgzrHo.js → GeneralAnimationLoading-Cw5VlSbW.js} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-CCjyf9sY.js → casino-calendar-Bzqugr5a.js} +1 -1
- package/lazy/{casino-calendar-DouPWVGN.cjs → casino-calendar-D4V4c4JN.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-C0P3w-fs.js → casino-calendar-daily-details-CQM3i2TG.js} +1 -1
- package/lazy/{casino-calendar-daily-details-4_z9E4ve.js → casino-calendar-daily-details-Dt5uG9BV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Dt4FF_n8.cjs → casino-calendar-daily-details-DvWhncEL.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-DMKoFR_q.js → casino-calendar-daily-item-B61xGMrG.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CUVB-kY4.js → casino-calendar-daily-item-BFTsNeO-.js} +1 -1
- package/lazy/{casino-calendar-daily-item-BWcR9mep.cjs → casino-calendar-daily-item-CiF8pzVW.cjs} +1 -1
- package/lazy/{casino-calendar-BnA6moNu.js → casino-calendar-nmc9XOIj.js} +1 -1
- package/lazy/{casino-collections-providers-DatVbMye.js → casino-collections-providers-CaD0ebdb.js} +1 -1
- package/lazy/{casino-collections-providers-BXXUgv8B.js → casino-collections-providers-JMF0FYaI.js} +1 -1
- package/lazy/{casino-collections-providers-DXotDGWT.cjs → casino-collections-providers-seL3DhJv.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-CKmc0Tdc.js → casino-favorites-section-nd-CW6BnwjD.js} +1 -1
- package/lazy/{casino-favorites-section-nd-qug7jCRH.cjs → casino-favorites-section-nd-ticehTxj.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-xd4tlB2L.js → casino-favorites-section-nd-zHywKou9.js} +1 -1
- package/lazy/{casino-filter-M72JDTfo.js → casino-filter-2UQClM6j.js} +1 -1
- package/lazy/{casino-filter-B2xf5U69.cjs → casino-filter-CTrDDTJN.cjs} +1 -1
- package/lazy/{casino-filter-CZ82Hcqj.js → casino-filter-CykEQLsk.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-B3ensVYq.js → casino-game-thumbnail-nd-BBPpDxxb.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CGFmHMUJ.cjs → casino-game-thumbnail-nd-BZGWLL8a.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CjWIli6K.js → casino-game-thumbnail-nd-DGVO0Nzx.js} +1 -1
- package/lazy/{casino-games-category-section-nd-B5jtEEsm.cjs → casino-games-category-section-nd-BJo3MoZm.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-BkfrNGFv.js → casino-games-category-section-nd-CbqvJGLa.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Yp-GayCg.js → casino-games-category-section-nd-MBPMqifX.js} +1 -1
- package/lazy/{casino-jackpot-banner-BdLavtLx.cjs → casino-jackpot-banner-B2ZdIHWB.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-wv7HsxL_.js → casino-jackpot-banner-BH26K3qe.js} +1 -1
- package/lazy/{casino-jackpot-banner-DZQ5Wi9n.js → casino-jackpot-banner-Cpb3ldMn.js} +1 -1
- package/lazy/{casino-last-played-section-nd-D07zhROs.js → casino-last-played-section-nd-BsM38kSd.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BgUmc6rY.js → casino-last-played-section-nd-Bu4JEYeA.js} +1 -1
- package/lazy/{casino-last-played-section-nd-C07GsDpH.cjs → casino-last-played-section-nd-Cc-IfBw9.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-BuK7soOM.js → casino-most-played-section-nd-CAeEo_EB.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CJWmLRyY.js → casino-most-played-section-nd-CCY70JHc.js} +1 -1
- package/lazy/{casino-most-played-section-nd-inS8P_NS.cjs → casino-most-played-section-nd-DTMDSqV5.cjs} +1 -1
- package/lazy/{casino-my-games-nd-CnbaoUcd.js → casino-my-games-nd-1cdwgJLZ.js} +1 -1
- package/lazy/{casino-my-games-nd-O-BUY9mM.cjs → casino-my-games-nd-B-0ZtFSl.cjs} +1 -1
- package/lazy/{casino-my-games-nd-BfhS6qGQ.js → casino-my-games-nd-CudddMC-.js} +1 -1
- package/lazy/{casino-play-random-game-DJtnASHn.cjs → casino-play-random-game-C3T5zP_L.cjs} +1 -1
- package/lazy/{casino-play-random-game-6lpggPdG.js → casino-play-random-game-DbB_HmpF.js} +1 -1
- package/lazy/{casino-play-random-game-pSLEGfAB.js → casino-play-random-game-DqfdayBW.js} +1 -1
- package/lazy/{casino-random-game-DoOoACUd.cjs → casino-random-game-BSoXw7et.cjs} +1 -1
- package/lazy/{casino-random-game-v4cKTQdE.js → casino-random-game-Co20ePIB.js} +1 -1
- package/lazy/{casino-random-game-BNjDmcBR.js → casino-random-game-DuHs9eiJ.js} +1 -1
- package/lazy/{casino-search-nd-DpWBk9sf.js → casino-search-nd-B-bPED82.js} +1 -1
- package/lazy/{casino-search-nd-BFEbICYA.cjs → casino-search-nd-BQXvzoym.cjs} +1 -1
- package/lazy/{casino-search-nd-B0t4-P97.js → casino-search-nd-CsF1w_pt.js} +1 -1
- package/lazy/{casino-sort-BI4VLIYM.js → casino-sort-BWiC7LPT.js} +1 -1
- package/lazy/{casino-sort--VUnkatZ.cjs → casino-sort-C4eh5Q-U.cjs} +1 -1
- package/lazy/{casino-sort-CA7YDNNV.js → casino-sort-gTAW3ZA8.js} +1 -1
- package/lazy/{casino-winners-BoSpTNtM.js → casino-winners-BGtu379Y.js} +1 -1
- package/lazy/{casino-winners-0xcY0J6b.js → casino-winners-BiiGCQQR.js} +1 -1
- package/lazy/{casino-winners-SHJa6bFo.cjs → casino-winners-u8o6YPg0.cjs} +1 -1
- package/lazy/{general-animation-loading-XGVRNffx.js → general-animation-loading-CsFr8z5-.js} +1 -1
- package/lazy/{general-animation-loading-B8SfjdID.cjs → general-animation-loading-DRDzG0S8.cjs} +1 -1
- package/lazy/{general-animation-loading-mNCrvpE1.js → general-animation-loading-DsR594mb.js} +1 -1
- package/lazy/{ui-image-BTer2Blj.cjs → ui-image-B7I7ijf1.cjs} +1 -1
- package/lazy/{ui-image-6OZUScHT.js → ui-image-CbDOUZoh.js} +1 -1
- package/lazy/{ui-image-DrfhaZQK.js → ui-image-Cg1Yec7y.js} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BX2tki3v.cjs → casino-play-random-game-B7l47HrS.cjs} +1 -1
- package/stencil/{casino-play-random-game-BvFOgOx2.js → casino-play-random-game-BV_DtwOl.js} +2 -2
- package/stencil/{casino-play-random-game-DXUvivEt.js → casino-play-random-game-Pfrge18a.js} +2 -2
- package/stencil/{casino-play-random-game_2-Mc_EMhs0.cjs → casino-play-random-game_2-CeJOL5JJ.cjs} +3 -3
- package/stencil/{casino-play-random-game_2-X7gDHQuf.js → casino-play-random-game_2-CiIRujkd.js} +9 -9
- package/stencil/{casino-play-random-game_2-DLQ8WMsx.js → casino-play-random-game_2-DIJdD6hP.js} +9 -9
- package/stencil/{ui-image-BSbeFMrw.js → ui-image-CeUOY7QN.js} +1 -1
- package/stencil/{ui-image-_R7s8yZ5.cjs → ui-image-D9jjPnnA.cjs} +1 -1
- package/stencil/{ui-image-D0QGiLPH.js → ui-image-Da7NRAu7.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D0uYqQgN.cjs → ui-image-b7b48fe5-BdId4SMU.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-Dp3Q6FzO.js → ui-image-b7b48fe5-CMO5mvIM.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DL2Udm8K.js → ui-image-b7b48fe5-ClSc4k9k.js} +1 -1
- package/stencil/{ui-image_2-1wLfOSXS.js → ui-image_2-Be-VuTP3.js} +13 -13
- package/stencil/ui-image_2-CgvJomOn.cjs +55 -0
- package/stencil/{ui-image_2-zG8MepJB.js → ui-image_2-FUyfOVWg.js} +13 -13
- package/stencil/ui-image_2-CU1S4WDO.cjs +0 -55
package/stencil/{casino-play-random-game-BX2tki3v.cjs → casino-play-random-game-B7l47HrS.cjs}
RENAMED
|
@@ -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-
|
|
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-C3T5zP_L.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-B7l47HrS.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as a, p as t } from "../lazy/casino-play-random-game-
|
|
2
|
-
import { s as g } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { b as a, p as t } from "../lazy/casino-play-random-game-DqfdayBW.js";
|
|
2
|
+
import { s as g } from "../lazy/casino-play-random-game-DqfdayBW.js";
|
|
3
3
|
import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
4
4
|
var r = () => {
|
|
5
5
|
const n = import.meta.url, i = {};
|
|
@@ -14,8 +14,8 @@ var l = (i, a, t) => new Promise((s, o) => {
|
|
|
14
14
|
}, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
|
|
15
15
|
e((t = t.apply(i, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as m, p as u } from "../lazy/casino-play-random-game-
|
|
18
|
-
import { s as f } from "../lazy/casino-play-random-game-
|
|
17
|
+
import { b as m, p as u } from "../lazy/casino-play-random-game-DbB_HmpF.js";
|
|
18
|
+
import { s as f } from "../lazy/casino-play-random-game-DbB_HmpF.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 = {};
|
package/stencil/{casino-play-random-game_2-Mc_EMhs0.cjs → casino-play-random-game_2-CeJOL5JJ.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-C3T5zP_L.cjs"),p=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},w="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(a=>{r[a]||(r[a]={});for(let o in i[a])r[a][o]=i[a][o]}),t(!0)})}),s=(e,t)=>{const i=t;return r[i!==void 0&&i in r?i:w][e]};function m(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function d(e,t){const i=new URL(t);fetch(i.href).then(a=>a.text()).then(a=>{const o=document.createElement("style");o.innerHTML=a,e&&e.appendChild(o)}).catch(a=>{console.error("There was an error while trying to load client styling from URL",a)})}function f(e,t,i){if(window.emMessageBus){const a=document.createElement("style");window.emMessageBus.subscribe(t,o=>{a.innerHTML=o,e&&e.appendChild(a)})}}const y=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
width: 70px;
|
|
376
376
|
height: 85px;
|
|
377
377
|
}
|
|
378
|
-
}`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),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)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;const b=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{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)}.Circle{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%}.Text{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)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{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)}.Image{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)}.Logo{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)}}",k=b,c=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
378
|
+
}`,x=y,h=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let i=t.length,a;for(;i!==0;)a=Math.floor(Math.random()*i),i--,[t[i],t[a]]=[t[a],t[i]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?f(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",p()),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)=>{this.isLoading=!0,fetch(e.href).then(a=>a.json()).then(a=>{this.gamesToShow=this.setUpGames(a==null?void 0:a.items),t(!0)}).catch(a=>{console.error(a),this.hasErrors=!0,i(a)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),i=this.selectedGameEl.offsetWidth,a=this.gameContainer.offsetWidth,o=(i+t)*this.selectedGameIndex+i/2-a/2,g=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],u={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(g,u),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,i)=>n.h("div",{class:"RandomGameCard",key:i},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"1f326cff688b0b71ca1d6efbc6766c6b768cb846",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};h.style=x;const b=":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)}}",k=b,c=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
379
379
|
:host {
|
|
380
380
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
381
381
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -429,4 +429,4 @@
|
|
|
429
429
|
:host {
|
|
430
430
|
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
431
431
|
}
|
|
432
|
-
`;break;default:e=""}return n.h(n.Host,{key:"
|
|
432
|
+
`;break;default:e=""}return n.h(n.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},n.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};c.style=k;exports.casino_play_random_game=h;exports.ui_skeleton=c;
|
package/stencil/{casino-play-random-game_2-X7gDHQuf.js → casino-play-random-game_2-CiIRujkd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as u, h as n, g as p, H as w } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { r as h, c as u, h as n, g as p, H as w } from "../lazy/casino-play-random-game-DqfdayBW.js";
|
|
2
2
|
const f = () => {
|
|
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";
|
|
@@ -581,7 +581,7 @@ const b = `:host {
|
|
|
581
581
|
}
|
|
582
582
|
};
|
|
583
583
|
G.style = k;
|
|
584
|
-
const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
584
|
+
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 {
|
|
585
585
|
constructor(e) {
|
|
586
586
|
h(this, e), this.stylingValue = {
|
|
587
587
|
width: this.handleStylingProps(this.width),
|
|
@@ -628,22 +628,22 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
renderLogo() {
|
|
631
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
631
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
632
632
|
}
|
|
633
633
|
renderImage() {
|
|
634
|
-
return n("div", { class: "
|
|
634
|
+
return n("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
635
635
|
}
|
|
636
636
|
renderTitle() {
|
|
637
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
637
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
638
638
|
}
|
|
639
639
|
renderText() {
|
|
640
|
-
return n("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, t) => n("div", { key: t, class: "
|
|
640
|
+
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" : "") })));
|
|
641
641
|
}
|
|
642
642
|
renderRectangle() {
|
|
643
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
643
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
644
644
|
}
|
|
645
645
|
renderCircle() {
|
|
646
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
646
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
647
647
|
}
|
|
648
648
|
render() {
|
|
649
649
|
let e = "";
|
|
@@ -723,7 +723,7 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
723
723
|
default:
|
|
724
724
|
e = "";
|
|
725
725
|
}
|
|
726
|
-
return n(w, { key: "
|
|
726
|
+
return n(w, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, n("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
727
727
|
}
|
|
728
728
|
static get watchers() {
|
|
729
729
|
return {
|
package/stencil/{casino-play-random-game_2-DLQ8WMsx.js → casino-play-random-game_2-DIJdD6hP.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as h, c as u, h as n, g as p, H as w } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { r as h, c as u, h as n, g as p, H as w } from "../lazy/casino-play-random-game-DbB_HmpF.js";
|
|
2
2
|
const f = () => {
|
|
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";
|
|
@@ -581,7 +581,7 @@ const b = `:host {
|
|
|
581
581
|
}
|
|
582
582
|
};
|
|
583
583
|
G.style = k;
|
|
584
|
-
const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
584
|
+
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 {
|
|
585
585
|
constructor(e) {
|
|
586
586
|
h(this, e), this.stylingValue = {
|
|
587
587
|
width: this.handleStylingProps(this.width),
|
|
@@ -628,22 +628,22 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
renderLogo() {
|
|
631
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
631
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
632
632
|
}
|
|
633
633
|
renderImage() {
|
|
634
|
-
return n("div", { class: "
|
|
634
|
+
return n("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
635
635
|
}
|
|
636
636
|
renderTitle() {
|
|
637
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
637
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
638
638
|
}
|
|
639
639
|
renderText() {
|
|
640
|
-
return n("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, t) => n("div", { key: t, class: "
|
|
640
|
+
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" : "") })));
|
|
641
641
|
}
|
|
642
642
|
renderRectangle() {
|
|
643
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
643
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
644
644
|
}
|
|
645
645
|
renderCircle() {
|
|
646
|
-
return n("div", { class: "SkeletonContainer" }, n("div", { class: "
|
|
646
|
+
return n("div", { class: "SkeletonContainer" }, n("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
647
647
|
}
|
|
648
648
|
render() {
|
|
649
649
|
let e = "";
|
|
@@ -723,7 +723,7 @@ const v = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
723
723
|
default:
|
|
724
724
|
e = "";
|
|
725
725
|
}
|
|
726
|
-
return n(w, { key: "
|
|
726
|
+
return n(w, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, n("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
727
727
|
}
|
|
728
728
|
static get watchers() {
|
|
729
729
|
return {
|
|
@@ -14,7 +14,7 @@ var n = (r, e, a) => new Promise((m, s) => {
|
|
|
14
14
|
}, i = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(u, g);
|
|
15
15
|
i((a = a.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as c, p as l } from "../lazy/ui-image-
|
|
17
|
+
import { b as c, p as l } from "../lazy/ui-image-CbDOUZoh.js";
|
|
18
18
|
import { a as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const r = import.meta.url, e = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=(t,r,i)=>new Promise((m,s)=>{var d=e=>{try{a(i.next(e))}catch(n){s(n)}},l=e=>{try{a(i.throw(e))}catch(n){s(n)}},a=e=>e.done?m(e.value):Promise.resolve(e.value).then(d,l);a((i=i.apply(t,r)).next())});const c=require("../lazy/ui-image-
|
|
1
|
+
"use strict";var u=(t,r,i)=>new Promise((m,s)=>{var d=e=>{try{a(i.next(e))}catch(n){s(n)}},l=e=>{try{a(i.throw(e))}catch(n){s(n)}},a=e=>e.done?m(e.value):Promise.resolve(e.value).then(d,l);a((i=i.apply(t,r)).next())});const c=require("../lazy/ui-image-B7I7ijf1.cjs"),g=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-D9jjPnnA.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),c.promiseResolve(r)};h().then(t=>u(exports,null,function*(){return yield g.globalScripts$1(),c.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[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"]}]]]],t)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("../lazy/ui-image-
|
|
1
|
+
"use strict";const i=require("../lazy/ui-image-B7I7ijf1.cjs"),r=".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=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=a;exports.UiImage=n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "../lazy/ui-image-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "../lazy/ui-image-CbDOUZoh.js";
|
|
2
2
|
const d = ".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}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, h as s, H as n, g as a } from "../lazy/ui-image-
|
|
1
|
+
import { r, h as s, H as n, g as a } from "../lazy/ui-image-Cg1Yec7y.js";
|
|
2
2
|
const d = ".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}", o = d, h = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r, h as t, H as
|
|
3
|
-
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-ClSc4k9k.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "../lazy/ui-image-Cg1Yec7y.js";
|
|
3
|
+
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)}}", l = s, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
|
-
|
|
5
|
+
n(this, e), this.stylingValue = {
|
|
6
6
|
width: this.handleStylingProps(this.width),
|
|
7
7
|
height: this.handleStylingProps(this.height),
|
|
8
8
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -47,22 +47,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
renderLogo() {
|
|
50
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
50
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
51
51
|
}
|
|
52
52
|
renderImage() {
|
|
53
|
-
return t("div", { class: "
|
|
53
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
54
54
|
}
|
|
55
55
|
renderTitle() {
|
|
56
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
56
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
57
57
|
}
|
|
58
58
|
renderText() {
|
|
59
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "
|
|
59
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
60
60
|
}
|
|
61
61
|
renderRectangle() {
|
|
62
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
62
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
63
63
|
}
|
|
64
64
|
renderCircle() {
|
|
65
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
65
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
let e = "";
|
|
@@ -142,7 +142,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
142
142
|
default:
|
|
143
143
|
e = "";
|
|
144
144
|
}
|
|
145
|
-
return t(
|
|
145
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
146
146
|
}
|
|
147
147
|
static get watchers() {
|
|
148
148
|
return {
|
|
@@ -150,8 +150,8 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
a.style = l;
|
|
154
154
|
export {
|
|
155
155
|
m as ui_image,
|
|
156
|
-
|
|
156
|
+
a as ui_skeleton
|
|
157
157
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-BdId4SMU.cjs"),t=require("../lazy/ui-image-B7I7ijf1.cjs"),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)}}",l=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
+
:host {
|
|
3
|
+
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
+
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
+
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
+
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
+
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
+
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
+
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
+
}
|
|
11
|
+
`;break;case"image":e=`
|
|
12
|
+
:host {
|
|
13
|
+
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
+
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
+
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
+
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
+
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
+
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
+
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
+
}
|
|
21
|
+
`;break;case"title":e=`
|
|
22
|
+
:host {
|
|
23
|
+
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
+
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
+
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
+
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
+
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
+
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
+
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
+
}
|
|
31
|
+
`;break;case"text":e=`
|
|
32
|
+
:host {
|
|
33
|
+
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
+
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
+
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
+
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
+
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
+
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
+
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
+
}
|
|
41
|
+
`;break;case"rectangle":e=`
|
|
42
|
+
:host {
|
|
43
|
+
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
+
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
+
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
+
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
+
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
+
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
+
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
+
}
|
|
51
|
+
`;break;case"circle":e=`
|
|
52
|
+
:host {
|
|
53
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
+
}
|
|
55
|
+
`;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=l;exports.ui_image=r.UiImage;exports.ui_skeleton=n;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r, h as t, H as
|
|
3
|
-
const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.
|
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-CMO5mvIM.js";
|
|
2
|
+
import { r as n, h as t, H as r } from "../lazy/ui-image-CbDOUZoh.js";
|
|
3
|
+
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)}}", l = s, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
|
-
|
|
5
|
+
n(this, e), this.stylingValue = {
|
|
6
6
|
width: this.handleStylingProps(this.width),
|
|
7
7
|
height: this.handleStylingProps(this.height),
|
|
8
8
|
borderRadius: this.handleStylingProps(this.borderRadius),
|
|
@@ -47,22 +47,22 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
renderLogo() {
|
|
50
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
50
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonLogo " + (this.animation ? "Skeleton" : "") }));
|
|
51
51
|
}
|
|
52
52
|
renderImage() {
|
|
53
|
-
return t("div", { class: "
|
|
53
|
+
return t("div", { class: "SkeletonImage " + (this.animation ? "Skeleton" : "") });
|
|
54
54
|
}
|
|
55
55
|
renderTitle() {
|
|
56
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
56
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonTitle " + (this.animation ? "Skeleton" : "") }));
|
|
57
57
|
}
|
|
58
58
|
renderText() {
|
|
59
|
-
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "
|
|
59
|
+
return t("div", { class: "SkeletonContainer" }, Array.from({ length: this.rows > 0 ? this.rows : 1 }).map((e, i) => t("div", { key: i, class: "SkeletonText " + (this.animation ? "Skeleton" : "") })));
|
|
60
60
|
}
|
|
61
61
|
renderRectangle() {
|
|
62
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
62
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonRectangle " + (this.animation ? "Skeleton" : "") }));
|
|
63
63
|
}
|
|
64
64
|
renderCircle() {
|
|
65
|
-
return t("div", { class: "SkeletonContainer" }, t("div", { class: "
|
|
65
|
+
return t("div", { class: "SkeletonContainer" }, t("div", { class: "SkeletonCircle " + (this.animation ? "Skeleton" : "") }));
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
let e = "";
|
|
@@ -142,7 +142,7 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
142
142
|
default:
|
|
143
143
|
e = "";
|
|
144
144
|
}
|
|
145
|
-
return t(
|
|
145
|
+
return t(r, { key: "c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8" }, t("style", { key: "9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19" }, e), this.handleStructure(this.structure));
|
|
146
146
|
}
|
|
147
147
|
static get watchers() {
|
|
148
148
|
return {
|
|
@@ -150,8 +150,8 @@ const s = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear in
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
a.style = l;
|
|
154
154
|
export {
|
|
155
155
|
m as ui_image,
|
|
156
|
-
|
|
156
|
+
a as ui_skeleton
|
|
157
157
|
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-D0uYqQgN.cjs"),t=require("../lazy/ui-image-BTer2Blj.cjs"),s=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{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)}.Circle{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%}.Text{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)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{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)}.Image{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)}.Logo{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)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
|
-
:host {
|
|
3
|
-
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
|
-
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
5
|
-
--emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};
|
|
6
|
-
--emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};
|
|
7
|
-
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
8
|
-
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
9
|
-
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
10
|
-
}
|
|
11
|
-
`;break;case"image":e=`
|
|
12
|
-
:host {
|
|
13
|
-
--emw-skeleton-image-width: ${this.stylingValue.width};
|
|
14
|
-
--emw-skeleton-image-height: ${this.stylingValue.height};
|
|
15
|
-
--emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};
|
|
16
|
-
--emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};
|
|
17
|
-
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18
|
-
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
19
|
-
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
20
|
-
}
|
|
21
|
-
`;break;case"title":e=`
|
|
22
|
-
:host {
|
|
23
|
-
--emw-skeleton-title-width: ${this.stylingValue.width};
|
|
24
|
-
--emw-skeleton-title-height: ${this.stylingValue.height};
|
|
25
|
-
--emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};
|
|
26
|
-
--emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};
|
|
27
|
-
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
28
|
-
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
29
|
-
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
30
|
-
}
|
|
31
|
-
`;break;case"text":e=`
|
|
32
|
-
:host {
|
|
33
|
-
--emw-skeleton-text-width: ${this.stylingValue.width};
|
|
34
|
-
--emw-skeleton-text-height: ${this.stylingValue.height};
|
|
35
|
-
--emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};
|
|
36
|
-
--emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};
|
|
37
|
-
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
38
|
-
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
39
|
-
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
40
|
-
}
|
|
41
|
-
`;break;case"rectangle":e=`
|
|
42
|
-
:host {
|
|
43
|
-
--emw-skeleton-rectangle-width: ${this.stylingValue.width};
|
|
44
|
-
--emw-skeleton-rectangle-height: ${this.stylingValue.height};
|
|
45
|
-
--emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};
|
|
46
|
-
--emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};
|
|
47
|
-
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
48
|
-
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
49
|
-
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
50
|
-
}
|
|
51
|
-
`;break;case"circle":e=`
|
|
52
|
-
:host {
|
|
53
|
-
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
54
|
-
}
|
|
55
|
-
`;break;default:e=""}return t.h(t.Host,{key:"e6b885bfd985ce7663d990756fe9101e25eb97f0"},t.h("style",{key:"06ae24c7bb74f4dacfc12ae58085333f9dc89da5"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};n.style=a;exports.ui_image=r.UiImage;exports.ui_skeleton=n;
|