@everymatrix/casino-lobby 1.94.112 → 1.94.113
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-BjySUHyZ.js → CasinoCalendar-BXvfEoIw.js} +17 -17
- package/components/{CasinoCalendar-CPSaANk_.cjs → CasinoCalendar-DVcLQ7L7.cjs} +2 -2
- package/components/{CasinoCalendar-BSSrHXNQ.js → CasinoCalendar-DVcPRo_u.js} +4 -4
- package/components/{CasinoCalendarDailyDetails-VGdSGrVK.cjs → CasinoCalendarDailyDetails-BfIli_AA.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BoDKzZAL.js → CasinoCalendarDailyDetails-CvwYgkF-.js} +2 -2
- package/components/{CasinoCalendarDailyDetails-DhX-usiB.js → CasinoCalendarDailyDetails-GkJZhCMM.js} +2 -2
- package/components/{CasinoCalendarDailyItem-CA5M4JX2.js → CasinoCalendarDailyItem-BJIqQwPm.js} +2 -2
- package/components/{CasinoCalendarDailyItem-C3xfp-OS.cjs → CasinoCalendarDailyItem-D2drOS7l.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CMjiC6kY.js → CasinoCalendarDailyItem-DDfOE3Kh.js} +2 -2
- package/components/{CasinoCategoriesSlider-DmIIvJxr.js → CasinoCategoriesSlider-B-3Ima-R.js} +2 -2
- package/components/{CasinoCategoriesSlider-DEc0M4Jn.js → CasinoCategoriesSlider-B_h-qaMt.js} +2 -2
- package/components/{CasinoCategoriesSlider-BTw-gZW4.cjs → CasinoCategoriesSlider-BgvID_By.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-CmZnRhGO.js → CasinoCollectionsProviders-B57Ptt-X.js} +1 -1
- package/components/{CasinoCollectionsProviders-Bk2Q_dKh.js → CasinoCollectionsProviders-Dgs8Og2Y.js} +1 -1
- package/components/{CasinoCollectionsProviders-BX2V3tDm.cjs → CasinoCollectionsProviders-KIiljAsY.cjs} +1 -1
- package/components/{CasinoFavoritesSection-NizzPczK.js → CasinoFavoritesSection-B_v_E83y.js} +2 -2
- package/components/{CasinoFavoritesSection-DE_s0gS_.cjs → CasinoFavoritesSection-CVHGr7Mw.cjs} +1 -1
- package/components/{CasinoFavoritesSection-B5IloH92.js → CasinoFavoritesSection-yi6FSchQ.js} +2 -2
- package/components/{CasinoFilter-UrtcDtAa.js → CasinoFilter-CZvBafRA.js} +1 -1
- package/components/{CasinoFilter-C4hPyQNk.js → CasinoFilter-CgzM_O4f.js} +1 -1
- package/components/{CasinoFilter-CFym68mv.cjs → CasinoFilter-D7aDTGx9.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Dg2U96dy.cjs → CasinoGameThumbnail-CAuANFf_.cjs} +1 -1
- package/components/{CasinoGameThumbnail-Cu4ldhfo.js → CasinoGameThumbnail-DNNKQjcx.js} +3 -3
- package/components/{CasinoGameThumbnail-DkOf6fv3.js → CasinoGameThumbnail-Yg8ErMNy.js} +3 -3
- package/components/{CasinoGamesCategorySection-xB7lSgTz.js → CasinoGamesCategorySection-CEA7wun9.js} +4 -4
- package/components/{CasinoGamesCategorySection-BMVgv-gE.cjs → CasinoGamesCategorySection-CNZYqrc-.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-C6V4Owht.js → CasinoGamesCategorySection-DISW2U9O.js} +4 -4
- package/components/{CasinoJackpotBanner-g0vrCtzB.js → CasinoJackpotBanner-9IthYU25.js} +2 -2
- package/components/{CasinoJackpotBanner-Cmi7j_9o.cjs → CasinoJackpotBanner-BIhalKSt.cjs} +1 -1
- package/components/{CasinoJackpotBanner-Czp2f53o.js → CasinoJackpotBanner-DrdS8dax.js} +2 -2
- package/components/{CasinoLastPlayedSection-DIOQytk1.js → CasinoLastPlayedSection-BVD7Hxb_.js} +2 -2
- package/components/{CasinoLastPlayedSection-eVskdQwE.cjs → CasinoLastPlayedSection-CGwZHr5P.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-BeXbhcJS.js → CasinoLastPlayedSection-XwTAS2c1.js} +2 -2
- package/components/{CasinoLobby-CTZObrkO.cjs → CasinoLobby-C25KkvZc.cjs} +1 -1
- package/components/{CasinoLobby-DlkT0ycq.js → CasinoLobby-CMJNGWoh.js} +2 -2
- package/components/{CasinoLobby-CmAf2BJ4.js → CasinoLobby-sLFlEjwG.js} +2 -2
- package/components/{CasinoMostPlayedSection-BdNavRAR.js → CasinoMostPlayedSection-BcMhTfD-.js} +42 -44
- package/components/{CasinoMostPlayedSection-CsYfyBz6.js → CasinoMostPlayedSection-D0h8KIwb.js} +42 -44
- package/components/CasinoMostPlayedSection-MlFICa6q.cjs +1 -0
- package/components/{CasinoMyGames-DXHLKn-b.js → CasinoMyGames-BNpabEQy.js} +4 -4
- package/components/{CasinoMyGames-DquSH-8S.js → CasinoMyGames-CA9Z9n2Y.js} +4 -4
- package/components/{CasinoMyGames-BkZPnCAU.cjs → CasinoMyGames-um1WOcfO.cjs} +1 -1
- package/components/{CasinoPage-BMNjtSeY.js → CasinoPage-BTu5ttuD.js} +12 -12
- package/components/{CasinoPage-Z_i9BoVq.cjs → CasinoPage-D9OCJV8s.cjs} +1 -1
- package/components/{CasinoPage-6DlUJdNB.js → CasinoPage-DeKu31ab.js} +12 -12
- package/components/{CasinoRandomGame-sGQ_8-fH.cjs → CasinoRandomGame-Bnq_6_FF.cjs} +1 -1
- package/components/{CasinoRandomGame-CZbhowv3.js → CasinoRandomGame-CVfk4pbZ.js} +1 -1
- package/components/{CasinoRandomGame-CmSz_YAA.js → CasinoRandomGame-Cc5_MPh5.js} +1 -1
- package/components/{CasinoSearch-DaPqNPP0.js → CasinoSearch-BtA3V3f5.js} +3 -3
- package/components/{CasinoSearch-DDc1Do7_.cjs → CasinoSearch-D1KpWB-7.cjs} +1 -1
- package/components/{CasinoSearch-YX2fRFUd.js → CasinoSearch-kzayyZlM.js} +3 -3
- package/components/{CasinoSlider-C2_jk1q5.js → CasinoSlider-C8MdHH0y.js} +1 -1
- package/components/{CasinoSlider-Cz1PnHTs.cjs → CasinoSlider-DYQFD4el.cjs} +1 -1
- package/components/{CasinoSlider-BtDxtbI7.js → CasinoSlider-YRYhDg-K.js} +1 -1
- package/components/{CasinoSort-k10aVq_3.js → CasinoSort-BSRs7fCY.js} +1 -1
- package/components/{CasinoSort-RSvZK7cN.cjs → CasinoSort-D05dFWFO.cjs} +1 -1
- package/components/{CasinoSort-8w8Vz2RT.js → CasinoSort-DWEJhUOQ.js} +1 -1
- package/components/{CasinoWinners-BO86kYDi.cjs → CasinoWinners-BG5c0_SH.cjs} +1 -1
- package/components/{CasinoWinners-CYwfUKUr.js → CasinoWinners-Cx57FKjt.js} +2 -2
- package/components/{CasinoWinners-Ck4zkyiP.js → CasinoWinners-nx0m0Pur.js} +2 -2
- package/components/{GeneralAnimationLoading-CULwno4n.js → GeneralAnimationLoading-BBH5wTSk.js} +1 -1
- package/components/{GeneralAnimationLoading-BqJ_ozRW.cjs → GeneralAnimationLoading-CHAXmLkt.cjs} +1 -1
- package/components/{GeneralAnimationLoading-XCOgxsu9.js → GeneralAnimationLoading-CxRv2hHa.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CU27nwc3.cjs → casino-play-random-game-CuVBTwWf.cjs} +1 -1
- package/stencil/{casino-play-random-game-BZvQcwmI.js → casino-play-random-game-D7Gr9Smx.js} +1 -1
- package/stencil/{casino-play-random-game-kxhDUKEQ.js → casino-play-random-game-DvAQkCON.js} +1 -1
- package/stencil/{casino-play-random-game_2-RzA6u_oV.js → casino-play-random-game_2-C0Z0uKIu.js} +1 -1
- package/stencil/{casino-play-random-game_2-Bf35wiL3.js → casino-play-random-game_2-CSLfErGM.js} +1 -1
- package/stencil/{casino-play-random-game_2-BsDiR4__.cjs → casino-play-random-game_2-ChZ7dNoq.cjs} +1 -1
- package/stencil/index-328e660d-Chmlsf5X.cjs +1 -0
- package/stencil/index-328e660d-Cm2nvvc2.js +569 -0
- package/stencil/index-328e660d-Dal_PHmU.js +553 -0
- package/stencil/index-97d17652-BeQGJyxy.js +532 -0
- package/stencil/{index-97d17652-B6BYeRne.js → index-97d17652-Ce2P8K1l.js} +176 -170
- package/stencil/index-97d17652-QrAXVnlo.cjs +1 -0
- package/stencil/index-b2193545-Cqothb8h.cjs +1 -0
- package/stencil/index-b2193545-DVd_LeME.js +509 -0
- package/stencil/index-b2193545-DwYEVBYH.js +493 -0
- package/stencil/{ui-image-D8_P6p7o.js → ui-image-BSZFyV-S.js} +1 -1
- package/stencil/{ui-image-BNLichPz.cjs → ui-image-C0501mue.cjs} +1 -1
- package/stencil/{ui-image-KAOdlRk_.js → ui-image-D6j_u98T.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CEPR_2Zl.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-CynWE8qT.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-DdUCzkcr.js} +1 -1
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-C0sJC5CL.cjs} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-Do1rIyeJ.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-N1zHirfP.js} +2 -2
- package/stencil/{ui-skeleton-TOJItxHv.cjs → ui-skeleton-C3bxkPuL.cjs} +1 -1
- package/stencil/{ui-skeleton-DgkQtSrH.js → ui-skeleton-Cv83ir7R.js} +2 -2
- package/stencil/{ui-skeleton-CbcQXFpx.js → ui-skeleton-DJ-5nbfp.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BD9hI4Jz.js → ui-skeleton-ed169f8f-BKnEgS1i.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CaxkPCnR.js → ui-skeleton-ed169f8f-BLQYU5hh.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CGu6WFdq.cjs → ui-skeleton-ed169f8f-Bu2qkh_n.cjs} +1 -1
- package/components/CasinoMostPlayedSection-D08L25CV.cjs +0 -1
- package/stencil/index-328e660d-26xupJLF.cjs +0 -1
- package/stencil/index-328e660d-BQWT7GHQ.js +0 -560
- package/stencil/index-328e660d-CH9p2kzU.js +0 -576
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-BYDm8FOU.cjs +0 -1
- package/stencil/index-b2193545-CVvOSay7.js +0 -519
- package/stencil/index-b2193545-DkSkdO8p.js +0 -503
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
|
1
|
+
"use strict";const t=require("./index-b2193545-Cqothb8h.cjs"),r=":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)}}",s=r,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
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobby-CTZObrkO.cjs");require("./CasinoPage-Z_i9BoVq.cjs");function U(n,e){t.addMessages(n,e)}function W(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function X(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function Z(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(r,u){return r[20]?p:Z}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:C=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:M="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:j="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c,Y;const B=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",S);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(V=>{let R=!0;return V.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},H=()=>{B({limit:100,device:t.getDevice(I),rounds:j}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},K=()=>{W(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,C=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,L=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,M=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,j=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&H(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`,Y),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&K()},[o,l,r,u,C,h,y,b,v,w,L,M,A,O,N,E,G,P,F,c,T,i,S,j,Q]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},X,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-BsDiR4__.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
|
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
const ge = "casino-play-random-game", pe = (
|
|
2
|
-
/* casino-play-random-game */
|
|
3
|
-
{ hydratedSelectorName: "hydrated" }
|
|
4
|
-
);
|
|
5
|
-
var ye = Object.defineProperty, me = (e, t) => {
|
|
6
|
-
for (var r in t)
|
|
7
|
-
ye(e, r, { get: t[r], enumerable: !0 });
|
|
8
|
-
}, q = /* @__PURE__ */ new WeakMap(), E = (e) => q.get(e), st = (e, t) => q.set(t.$lazyInstance$ = e, t), Se = (e, t) => {
|
|
9
|
-
const r = {
|
|
10
|
-
$flags$: 0,
|
|
11
|
-
$hostElement$: e,
|
|
12
|
-
$cmpMeta$: t,
|
|
13
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
|
14
|
-
};
|
|
15
|
-
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], q.set(e, r);
|
|
16
|
-
}, W = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), Ee = (e, t, r) => {
|
|
17
|
-
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
|
18
|
-
if (!n)
|
|
19
|
-
return;
|
|
20
|
-
const a = O.get(n);
|
|
21
|
-
if (a)
|
|
22
|
-
return a[s];
|
|
23
|
-
{
|
|
24
|
-
const l = (i) => (O.set(n, i), i[s]);
|
|
25
|
-
switch (n) {
|
|
26
|
-
case "casino-play-random-game_2":
|
|
27
|
-
return import(
|
|
28
|
-
/* webpackMode: "lazy" */
|
|
29
|
-
"./casino-play-random-game_2-Bf35wiL3.js"
|
|
30
|
-
).then(l, b);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return import(
|
|
34
|
-
/* @vite-ignore */
|
|
35
|
-
/* webpackInclude: /\.entry\.js$/ */
|
|
36
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
37
|
-
/* webpackMode: "lazy" */
|
|
38
|
-
`./${n}.entry.js`
|
|
39
|
-
).then((l) => (O.set(n, l), l[s]), b);
|
|
40
|
-
}, A = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", I = typeof window < "u" ? window : {}, m = I.document || { head: {} }, g = {
|
|
41
|
-
$flags$: 0,
|
|
42
|
-
$resourcesUrl$: "",
|
|
43
|
-
jmp: (e) => e(),
|
|
44
|
-
raf: (e) => requestAnimationFrame(e),
|
|
45
|
-
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
|
46
|
-
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
|
47
|
-
ce: (e, t) => new CustomEvent(e, t)
|
|
48
|
-
}, be = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
|
|
49
|
-
try {
|
|
50
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
51
|
-
} catch {
|
|
52
|
-
}
|
|
53
|
-
return !1;
|
|
54
|
-
})(), U = !1, G = [], ee = [], xe = (e, t) => (r) => {
|
|
55
|
-
e.push(r), U || (U = !0, g.$flags$ & 4 ? R(z) : g.raf(z));
|
|
56
|
-
}, X = (e) => {
|
|
57
|
-
for (let t = 0; t < e.length; t++)
|
|
58
|
-
try {
|
|
59
|
-
e[t](performance.now());
|
|
60
|
-
} catch (r) {
|
|
61
|
-
b(r);
|
|
62
|
-
}
|
|
63
|
-
e.length = 0;
|
|
64
|
-
}, z = () => {
|
|
65
|
-
X(G), X(ee), (U = G.length > 0) && g.raf(z);
|
|
66
|
-
}, R = (e) => be().then(e), Te = /* @__PURE__ */ xe(ee), Y = {}, Pe = (e) => e != null, D = (e) => (e = typeof e, e === "object" || e === "function");
|
|
67
|
-
function te(e) {
|
|
68
|
-
var t, r, s;
|
|
69
|
-
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
|
70
|
-
}
|
|
71
|
-
var _e = {};
|
|
72
|
-
me(_e, {
|
|
73
|
-
err: () => se,
|
|
74
|
-
map: () => Ae,
|
|
75
|
-
ok: () => H,
|
|
76
|
-
unwrap: () => Le,
|
|
77
|
-
unwrapErr: () => Ie
|
|
78
|
-
});
|
|
79
|
-
var H = (e) => ({
|
|
80
|
-
isOk: !0,
|
|
81
|
-
isErr: !1,
|
|
82
|
-
value: e
|
|
83
|
-
}), se = (e) => ({
|
|
84
|
-
isOk: !1,
|
|
85
|
-
isErr: !0,
|
|
86
|
-
value: e
|
|
87
|
-
});
|
|
88
|
-
function Ae(e, t) {
|
|
89
|
-
if (e.isOk) {
|
|
90
|
-
const r = t(e.value);
|
|
91
|
-
return r instanceof Promise ? r.then((s) => H(s)) : H(r);
|
|
92
|
-
}
|
|
93
|
-
if (e.isErr) {
|
|
94
|
-
const r = e.value;
|
|
95
|
-
return se(r);
|
|
96
|
-
}
|
|
97
|
-
throw "should never get here";
|
|
98
|
-
}
|
|
99
|
-
var Le = (e) => {
|
|
100
|
-
if (e.isOk)
|
|
101
|
-
return e.value;
|
|
102
|
-
throw e.value;
|
|
103
|
-
}, Ie = (e) => {
|
|
104
|
-
if (e.isErr)
|
|
105
|
-
return e.value;
|
|
106
|
-
throw e.value;
|
|
107
|
-
}, S = (e, t = "") => () => {
|
|
108
|
-
}, je = (e, t) => () => {
|
|
109
|
-
}, Oe = (e, t, ...r) => {
|
|
110
|
-
let s = null, n = null, a = !1, l = !1;
|
|
111
|
-
const i = [], o = (c) => {
|
|
112
|
-
for (let f = 0; f < c.length; f++)
|
|
113
|
-
s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !D(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? C(null, s) : s), l = a);
|
|
114
|
-
};
|
|
115
|
-
if (o(r), t) {
|
|
116
|
-
t.key && (n = t.key);
|
|
117
|
-
{
|
|
118
|
-
const c = t.className || t.class;
|
|
119
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
const $ = C(e, null);
|
|
123
|
-
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
|
|
124
|
-
}, C = (e, t) => {
|
|
125
|
-
const r = {
|
|
126
|
-
$flags$: 0,
|
|
127
|
-
$tag$: e,
|
|
128
|
-
$text$: t,
|
|
129
|
-
$elm$: null,
|
|
130
|
-
$children$: null
|
|
131
|
-
};
|
|
132
|
-
return r.$attrs$ = null, r.$key$ = null, r;
|
|
133
|
-
}, Ue = {}, ze = (e) => e && e.$tag$ === Ue, He = (e, t) => e != null && !D(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ce = (e) => E(e).$hostElement$, nt = (e, t, r) => {
|
|
134
|
-
const s = Ce(e);
|
|
135
|
-
return {
|
|
136
|
-
emit: (n) => ne(s, t, {
|
|
137
|
-
bubbles: !0,
|
|
138
|
-
composed: !0,
|
|
139
|
-
cancelable: !0,
|
|
140
|
-
detail: n
|
|
141
|
-
})
|
|
142
|
-
};
|
|
143
|
-
}, ne = (e, t, r) => {
|
|
144
|
-
const s = g.ce(t, r);
|
|
145
|
-
return e.dispatchEvent(s), s;
|
|
146
|
-
}, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, r) => {
|
|
147
|
-
let s = A.get(e);
|
|
148
|
-
we && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
|
149
|
-
}, qe = (e, t, r) => {
|
|
150
|
-
var s;
|
|
151
|
-
const n = re(t), a = A.get(n);
|
|
152
|
-
if (e = e.nodeType === 11 ? e : m, a)
|
|
153
|
-
if (typeof a == "string") {
|
|
154
|
-
e = e.head || e;
|
|
155
|
-
let l = J.get(e), i;
|
|
156
|
-
if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
|
157
|
-
{
|
|
158
|
-
i = m.createElement("style"), i.innerHTML = a;
|
|
159
|
-
const o = (s = g.$nonce$) != null ? s : te(m);
|
|
160
|
-
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
|
161
|
-
}
|
|
162
|
-
t.$flags$ & 4 && (i.innerHTML += V), l && l.add(n);
|
|
163
|
-
}
|
|
164
|
-
} else
|
|
165
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
166
|
-
return n;
|
|
167
|
-
}, Re = (e) => {
|
|
168
|
-
const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = qe(
|
|
169
|
-
r.shadowRoot ? r.shadowRoot : r.getRootNode(),
|
|
170
|
-
t
|
|
171
|
-
);
|
|
172
|
-
s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
|
|
173
|
-
}, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
|
|
174
|
-
if (r !== s) {
|
|
175
|
-
let l = W(e, t), i = t.toLowerCase();
|
|
176
|
-
if (t === "class") {
|
|
177
|
-
const o = e.classList, $ = Q(r), c = Q(s);
|
|
178
|
-
o.remove(...$.filter((f) => f && !c.includes(f))), o.add(...c.filter((f) => f && !$.includes(f)));
|
|
179
|
-
} else if (t !== "key")
|
|
180
|
-
if (t === "ref")
|
|
181
|
-
s && s(e);
|
|
182
|
-
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
183
|
-
if (t[2] === "-" ? t = t.slice(3) : W(I, i) ? t = i.slice(2) : t = i[2] + t.slice(3), r || s) {
|
|
184
|
-
const o = t.endsWith(le);
|
|
185
|
-
t = t.replace(Fe, ""), r && g.rel(e, t, r, o), s && g.ael(e, t, s, o);
|
|
186
|
-
}
|
|
187
|
-
} else {
|
|
188
|
-
const o = D(s);
|
|
189
|
-
if ((l || o && s !== null) && !n)
|
|
190
|
-
try {
|
|
191
|
-
if (e.tagName.includes("-"))
|
|
192
|
-
e[t] = s;
|
|
193
|
-
else {
|
|
194
|
-
const $ = s ?? "";
|
|
195
|
-
t === "list" ? l = !1 : (r == null || e[t] != $) && (e[t] = $);
|
|
196
|
-
}
|
|
197
|
-
} catch {
|
|
198
|
-
}
|
|
199
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}, De = /\s/, Q = (e) => e ? e.split(De) : [], le = "Capture", Fe = new RegExp(le + "$"), ae = (e, t, r) => {
|
|
203
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
|
|
204
|
-
for (const l of Z(Object.keys(n)))
|
|
205
|
-
l in a || K(s, l, n[l], void 0, r, t.$flags$);
|
|
206
|
-
for (const l of Z(Object.keys(a)))
|
|
207
|
-
K(s, l, n[l], a[l], r, t.$flags$);
|
|
208
|
-
};
|
|
209
|
-
function Z(e) {
|
|
210
|
-
return e.includes("ref") ? (
|
|
211
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
|
212
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
|
213
|
-
) : (
|
|
214
|
-
// no need to sort, return the original array
|
|
215
|
-
e
|
|
216
|
-
);
|
|
217
|
-
}
|
|
218
|
-
var P, F, ie = !1, L = (e, t, r, s) => {
|
|
219
|
-
const n = t.$children$[r];
|
|
220
|
-
let a = 0, l, i;
|
|
221
|
-
if (n.$text$ !== null)
|
|
222
|
-
l = n.$elm$ = m.createTextNode(n.$text$);
|
|
223
|
-
else if (l = n.$elm$ = m.createElement(
|
|
224
|
-
n.$tag$
|
|
225
|
-
), ae(null, n, ie), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), n.$children$)
|
|
226
|
-
for (a = 0; a < n.$children$.length; ++a)
|
|
227
|
-
i = L(e, n, a), i && l.appendChild(i);
|
|
228
|
-
return l["s-hn"] = F, l;
|
|
229
|
-
}, oe = (e, t, r, s, n, a) => {
|
|
230
|
-
let l = e, i;
|
|
231
|
-
for (l.shadowRoot && l.tagName === F && (l = l.shadowRoot); n <= a; ++n)
|
|
232
|
-
s[n] && (i = L(null, r, n), i && (s[n].$elm$ = i, _(l, i, t)));
|
|
233
|
-
}, $e = (e, t, r) => {
|
|
234
|
-
for (let s = t; s <= r; ++s) {
|
|
235
|
-
const n = e[s];
|
|
236
|
-
if (n) {
|
|
237
|
-
const a = n.$elm$;
|
|
238
|
-
ce(n), a && a.remove();
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}, Me = (e, t, r, s, n = !1) => {
|
|
242
|
-
let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], h, y;
|
|
243
|
-
for (; a <= $ && l <= u; )
|
|
244
|
-
if (c == null)
|
|
245
|
-
c = t[++a];
|
|
246
|
-
else if (f == null)
|
|
247
|
-
f = t[--$];
|
|
248
|
-
else if (d == null)
|
|
249
|
-
d = s[++l];
|
|
250
|
-
else if (v == null)
|
|
251
|
-
v = s[--u];
|
|
252
|
-
else if (T(c, d, n))
|
|
253
|
-
w(c, d, n), c = t[++a], d = s[++l];
|
|
254
|
-
else if (T(f, v, n))
|
|
255
|
-
w(f, v, n), f = t[--$], v = s[--u];
|
|
256
|
-
else if (T(c, v, n))
|
|
257
|
-
w(c, v, n), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
|
|
258
|
-
else if (T(f, d, n))
|
|
259
|
-
w(f, d, n), _(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
|
|
260
|
-
else {
|
|
261
|
-
for (i = -1, o = a; o <= $; ++o)
|
|
262
|
-
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
263
|
-
i = o;
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
i >= 0 ? (y = t[i], y.$tag$ !== d.$tag$ ? h = L(t && t[l], r, i) : (w(y, d, n), t[i] = void 0, h = y.$elm$), d = s[++l]) : (h = L(t && t[l], r, l), d = s[++l]), h && _(c.$elm$.parentNode, h, c.$elm$);
|
|
267
|
-
}
|
|
268
|
-
a > $ ? oe(
|
|
269
|
-
e,
|
|
270
|
-
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
271
|
-
r,
|
|
272
|
-
s,
|
|
273
|
-
l,
|
|
274
|
-
u
|
|
275
|
-
) : l > u && $e(t, a, $);
|
|
276
|
-
}, T = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
|
|
277
|
-
const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
|
|
278
|
-
l === null ? (ae(e, t, ie), n !== null && a !== null ? Me(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), oe(s, null, t, a, 0, a.length - 1)) : n !== null && $e(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
279
|
-
}, ce = (e) => {
|
|
280
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ce);
|
|
281
|
-
}, _ = (e, t, r) => e?.insertBefore(t, r), We = (e, t, r = !1) => {
|
|
282
|
-
const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || C(null, null), l = ze(t) ? t : Oe(null, null, t);
|
|
283
|
-
if (F = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
|
|
284
|
-
([i, o]) => l.$attrs$[o] = s[i]
|
|
285
|
-
)), r && l.$attrs$)
|
|
286
|
-
for (const i of Object.keys(l.$attrs$))
|
|
287
|
-
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
|
288
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, P = s["s-sc"], n.$flags$ & 1, w(a, l, r);
|
|
289
|
-
}, fe = (e, t) => {
|
|
290
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
|
291
|
-
}, M = (e, t) => {
|
|
292
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
293
|
-
e.$flags$ |= 512;
|
|
294
|
-
return;
|
|
295
|
-
}
|
|
296
|
-
return fe(e, e.$ancestorComponent$), Te(() => Ge(e, t));
|
|
297
|
-
}, Ge = (e, t) => {
|
|
298
|
-
const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
|
299
|
-
if (!n)
|
|
300
|
-
throw new Error(
|
|
301
|
-
`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
302
|
-
);
|
|
303
|
-
let a;
|
|
304
|
-
return t && (a = j(n, "componentWillLoad")), s(), Xe(a, () => Je(e, n, t));
|
|
305
|
-
}, Xe = (e, t) => Ye(e) ? e.then(t).catch((r) => {
|
|
306
|
-
console.error(r), t();
|
|
307
|
-
}) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, r) => {
|
|
308
|
-
var s;
|
|
309
|
-
const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
|
|
310
|
-
r && Re(e);
|
|
311
|
-
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
312
|
-
Ke(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
|
|
313
|
-
{
|
|
314
|
-
const o = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
|
|
315
|
-
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
|
316
|
-
}
|
|
317
|
-
}, Ke = (e, t, r, s) => {
|
|
318
|
-
try {
|
|
319
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
|
|
320
|
-
} catch (n) {
|
|
321
|
-
b(n, e.$hostElement$);
|
|
322
|
-
}
|
|
323
|
-
return null;
|
|
324
|
-
}, Qe = (e) => {
|
|
325
|
-
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
326
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, de(r), j(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && R(() => M(e, !1)), e.$flags$ &= -517;
|
|
327
|
-
}, ue = (e) => {
|
|
328
|
-
de(m.documentElement), R(() => ne(I, "appload", { detail: { namespace: ge } }));
|
|
329
|
-
}, j = (e, t, r) => {
|
|
330
|
-
if (e && e[t])
|
|
331
|
-
try {
|
|
332
|
-
return e[t](r);
|
|
333
|
-
} catch (s) {
|
|
334
|
-
b(s);
|
|
335
|
-
}
|
|
336
|
-
}, de = (e) => {
|
|
337
|
-
var t;
|
|
338
|
-
return e.classList.add((t = pe.hydratedSelectorName) != null ? t : "hydrated");
|
|
339
|
-
}, Ze = (e, t) => E(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
|
|
340
|
-
const n = E(e);
|
|
341
|
-
if (!n)
|
|
342
|
-
throw new Error(
|
|
343
|
-
`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
344
|
-
);
|
|
345
|
-
const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
|
|
346
|
-
r = He(r, s.$members$[t][0]);
|
|
347
|
-
const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
|
|
348
|
-
if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
|
349
|
-
if (s.$watchers$ && i & 128) {
|
|
350
|
-
const f = s.$watchers$[t];
|
|
351
|
-
f && f.map((u) => {
|
|
352
|
-
try {
|
|
353
|
-
o[u](r, l, t);
|
|
354
|
-
} catch (d) {
|
|
355
|
-
b(d, a);
|
|
356
|
-
}
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
(i & 18) === 2 && M(n, !1);
|
|
360
|
-
}
|
|
361
|
-
}, ve = (e, t, r) => {
|
|
362
|
-
var s, n;
|
|
363
|
-
const a = e.prototype;
|
|
364
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
365
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
366
|
-
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
367
|
-
if (l.map(([i, [o]]) => {
|
|
368
|
-
(o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
|
|
369
|
-
get() {
|
|
370
|
-
return Ze(this, i);
|
|
371
|
-
},
|
|
372
|
-
set($) {
|
|
373
|
-
Ne(this, i, $, t);
|
|
374
|
-
},
|
|
375
|
-
configurable: !0,
|
|
376
|
-
enumerable: !0
|
|
377
|
-
});
|
|
378
|
-
}), r & 1) {
|
|
379
|
-
const i = /* @__PURE__ */ new Map();
|
|
380
|
-
a.attributeChangedCallback = function(o, $, c) {
|
|
381
|
-
g.jmp(() => {
|
|
382
|
-
var f;
|
|
383
|
-
const u = i.get(o);
|
|
384
|
-
if (this.hasOwnProperty(u))
|
|
385
|
-
c = this[u], delete this[u];
|
|
386
|
-
else {
|
|
387
|
-
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
|
|
388
|
-
return;
|
|
389
|
-
if (u == null) {
|
|
390
|
-
const d = E(this), v = d?.$flags$;
|
|
391
|
-
if (v && !(v & 8) && v & 128 && c !== $) {
|
|
392
|
-
const h = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[o];
|
|
393
|
-
y?.forEach((p) => {
|
|
394
|
-
h[p] != null && h[p].call(h, c, $, o);
|
|
395
|
-
});
|
|
396
|
-
}
|
|
397
|
-
return;
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
|
|
401
|
-
});
|
|
402
|
-
}, e.observedAttributes = Array.from(
|
|
403
|
-
/* @__PURE__ */ new Set([
|
|
404
|
-
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
405
|
-
...l.filter(
|
|
406
|
-
([o, $]) => $[0] & 15
|
|
407
|
-
/* HasAttribute */
|
|
408
|
-
).map(([o, $]) => {
|
|
409
|
-
var c;
|
|
410
|
-
const f = $[1] || o;
|
|
411
|
-
return i.set(f, o), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([o, f])), f;
|
|
412
|
-
})
|
|
413
|
-
])
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
return e;
|
|
418
|
-
}, Ve = async (e, t, r, s) => {
|
|
419
|
-
let n;
|
|
420
|
-
if (!(t.$flags$ & 32)) {
|
|
421
|
-
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
|
422
|
-
const o = Ee(r);
|
|
423
|
-
if (o && "then" in o) {
|
|
424
|
-
const c = je();
|
|
425
|
-
n = await o, c();
|
|
426
|
-
} else
|
|
427
|
-
n = o;
|
|
428
|
-
if (!n)
|
|
429
|
-
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
|
430
|
-
n.isProxied || (r.$watchers$ = n.watchers, ve(
|
|
431
|
-
n,
|
|
432
|
-
r,
|
|
433
|
-
2
|
|
434
|
-
/* proxyState */
|
|
435
|
-
), n.isProxied = !0);
|
|
436
|
-
const $ = S("createInstance", r.$tagName$);
|
|
437
|
-
t.$flags$ |= 8;
|
|
438
|
-
try {
|
|
439
|
-
new n(t);
|
|
440
|
-
} catch (c) {
|
|
441
|
-
b(c);
|
|
442
|
-
}
|
|
443
|
-
t.$flags$ &= -9, t.$flags$ |= 128, $(), B(t.$lazyInstance$);
|
|
444
|
-
} else {
|
|
445
|
-
n = e.constructor;
|
|
446
|
-
const o = e.localName;
|
|
447
|
-
customElements.whenDefined(o).then(
|
|
448
|
-
() => t.$flags$ |= 128
|
|
449
|
-
/* isWatchReady */
|
|
450
|
-
);
|
|
451
|
-
}
|
|
452
|
-
if (n && n.style) {
|
|
453
|
-
let o;
|
|
454
|
-
typeof n.style == "string" && (o = n.style);
|
|
455
|
-
const $ = re(r);
|
|
456
|
-
if (!A.has($)) {
|
|
457
|
-
const c = S("registerStyles", r.$tagName$);
|
|
458
|
-
Be($, o, !!(r.$flags$ & 1)), c();
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
const a = t.$ancestorComponent$, l = () => M(t, !0);
|
|
463
|
-
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
464
|
-
}, B = (e) => {
|
|
465
|
-
j(e, "connectedCallback");
|
|
466
|
-
}, et = (e) => {
|
|
467
|
-
if (!(g.$flags$ & 1)) {
|
|
468
|
-
const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
|
469
|
-
if (t.$flags$ & 1)
|
|
470
|
-
t?.$lazyInstance$ ? B(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
|
|
471
|
-
else {
|
|
472
|
-
t.$flags$ |= 1;
|
|
473
|
-
{
|
|
474
|
-
let n = e;
|
|
475
|
-
for (; n = n.parentNode || n.host; )
|
|
476
|
-
if (n["s-p"]) {
|
|
477
|
-
fe(t, t.$ancestorComponent$ = n);
|
|
478
|
-
break;
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
|
|
482
|
-
if (a & 31 && e.hasOwnProperty(n)) {
|
|
483
|
-
const l = e[n];
|
|
484
|
-
delete e[n], e[n] = l;
|
|
485
|
-
}
|
|
486
|
-
}), Ve(e, t, r);
|
|
487
|
-
}
|
|
488
|
-
s();
|
|
489
|
-
}
|
|
490
|
-
}, N = (e) => {
|
|
491
|
-
j(e, "disconnectedCallback");
|
|
492
|
-
}, tt = async (e) => {
|
|
493
|
-
if (!(g.$flags$ & 1)) {
|
|
494
|
-
const t = E(e);
|
|
495
|
-
t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
|
|
496
|
-
}
|
|
497
|
-
}, rt = (e, t = {}) => {
|
|
498
|
-
var r;
|
|
499
|
-
const s = S(), n = [], a = t.exclude || [], l = I.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
|
|
500
|
-
let f, u = !0;
|
|
501
|
-
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
502
|
-
let d = !1;
|
|
503
|
-
if (e.map((v) => {
|
|
504
|
-
v[1].map((h) => {
|
|
505
|
-
var y;
|
|
506
|
-
const p = {
|
|
507
|
-
$flags$: h[0],
|
|
508
|
-
$tagName$: h[1],
|
|
509
|
-
$members$: h[2],
|
|
510
|
-
$listeners$: h[3]
|
|
511
|
-
};
|
|
512
|
-
p.$flags$ & 4 && (d = !0), p.$members$ = h[2], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
|
|
513
|
-
const x = p.$tagName$, he = class extends HTMLElement {
|
|
514
|
-
// StencilLazyHost
|
|
515
|
-
constructor(k) {
|
|
516
|
-
if (super(k), this.hasRegisteredEventListeners = !1, k = this, Se(k, p), p.$flags$ & 1) {
|
|
517
|
-
if (!k.shadowRoot)
|
|
518
|
-
k.attachShadow({ mode: "open" });
|
|
519
|
-
else if (k.shadowRoot.mode !== "open")
|
|
520
|
-
throw new Error(
|
|
521
|
-
`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
522
|
-
);
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
connectedCallback() {
|
|
526
|
-
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => et(this));
|
|
527
|
-
}
|
|
528
|
-
disconnectedCallback() {
|
|
529
|
-
g.jmp(() => tt(this));
|
|
530
|
-
}
|
|
531
|
-
componentOnReady() {
|
|
532
|
-
return E(this).$onReadyPromise$;
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
p.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
|
|
536
|
-
x,
|
|
537
|
-
ve(
|
|
538
|
-
he,
|
|
539
|
-
p,
|
|
540
|
-
1
|
|
541
|
-
/* isElementConstructor */
|
|
542
|
-
)
|
|
543
|
-
));
|
|
544
|
-
});
|
|
545
|
-
}), n.length > 0 && (d && ($.textContent += V), $.textContent += n.sort() + ke, $.innerHTML.length)) {
|
|
546
|
-
$.setAttribute("data-styles", "");
|
|
547
|
-
const v = (r = g.$nonce$) != null ? r : te(m);
|
|
548
|
-
v != null && $.setAttribute("nonce", v), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
|
549
|
-
}
|
|
550
|
-
u = !1, c.length ? c.map((v) => v.connectedCallback()) : g.jmp(() => f = setTimeout(ue, 30)), s();
|
|
551
|
-
};
|
|
552
|
-
export {
|
|
553
|
-
Ue as H,
|
|
554
|
-
rt as b,
|
|
555
|
-
nt as c,
|
|
556
|
-
Ce as g,
|
|
557
|
-
Oe as h,
|
|
558
|
-
be as p,
|
|
559
|
-
st as r
|
|
560
|
-
};
|