@everymatrix/casino-integrated-game-page 1.35.0 → 1.36.1
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.
|
@@ -654,7 +654,7 @@ const Hr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/i
|
|
|
654
654
|
* @description A method that returns the type of the device
|
|
655
655
|
* @param {String} userAgent window.navigator.userAgent
|
|
656
656
|
* @returns {String} Android/iPhone/iPad/PC
|
|
657
|
-
*/function Cr(e,t){jn(e,t)}const Br={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"
|
|
657
|
+
*/function Cr(e,t){jn(e,t)}const Br={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"zaman",register:"KAYIT OL",deposit:"YATIR",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"pt-br":{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Começa agora!",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas"},"es-mx":{signIn:"Ingresar",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Comienza ahora!",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas"}};function Nr(e,t){jn(e,t)}const Lr={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{title:"PARA YATIR",loading:"Yükleniyor ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"},"pt-br":{title:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{title:"Depositar",Loading:"Cargando, por favor espere..."}};
|
|
658
658
|
/* ../player-deposit/src/PlayerDeposit.svelte generated by Svelte v3.59.2 */
|
|
659
659
|
// (159:2) {:else}
|
|
660
660
|
function Rr(e){let t,n,r;return{c(){t=p("div"),n=p("iframe"),a(n.src,r=/*iframeUrl*/e[3])||v(n,"src",r),v(n,"title","Deposit Iframe"),v(t,"class","DepositIframeWrapper")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*iframeUrl*/8&t&&!a(n.src,r=/*iframeUrl*/e[3])&&v(n,"src",r)},d(e){e&&f(t)}}}
|
|
@@ -1257,11 +1257,11 @@ WEEK:"GGGG-[W]WW",// <input type="week" />
|
|
|
1257
1257
|
MONTH:"YYYY-MM"},r}()}));
|
|
1258
1258
|
/* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.59.2 */const{document:Gr}=c;function jr(e){let t;function n(e,t){/*isLoggedIn*/
|
|
1259
1259
|
return e[25]?Zr:/*funMode*/e[30]?zr:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c(),v(t,"class","CasinoIntegratedGamePage")},m(e,n){d(e,t,n),i&&i.m(t,null)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&f(t),i&&i.d()}}}
|
|
1260
|
-
// (
|
|
1260
|
+
// (389:4) {#if hasErrors}
|
|
1261
1261
|
function Wr(t){let n;return{c(){n=p("p"),n.textContent="500 Error - Internal Server Error.",v(n,"class","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1262
|
-
// (
|
|
1262
|
+
// (386:2) {#if isLoading}
|
|
1263
1263
|
function Vr(t){let n;return{c(){n=p("p"),n.textContent="Loading, please wait ...",v(n,"class","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
|
|
1264
|
-
// (
|
|
1264
|
+
// (473:10) {#if funMode}
|
|
1265
1265
|
function zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,k,x,D,O,P,F,A,H,C,B,N,L,R,I=/*$_*/e[43]("signIn")+"",$=/*$_*/e[43]("register")+"";function Y(e,t){/*isFullscreen*/
|
|
1266
1266
|
return e[36]?qr:Xr}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&Jr();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=g(),w=p("div"),T=p("div"),M=p("iframe"),x=g(),D=p("div"),O=p("div"),P=p("button"),F=y(I),A=g(),H=p("button"),C=y($),B=g(),G.c(),N=g(),j&&j.c(),v(n,"class","backButton"),v(o,"class","Time"),v(t,"class","GamePageIntegratedTopSection"),v(M,"title","Games"),v(M,"class","GamesContainer"),v(M,"aria-hidden","false"),a(M.src,k=/*game*/e[29].launchUrl)||v(M,"src",k),v(P,"class","LoginButton"),v(H,"class","RegisterButton"),v(O,"class","ButtonsContainer ButtonsContainerFunMode"),v(D,"class","BottomGame"),v(T,"id","IframeGame"),E(T,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(T,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(T,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(w,"id","IframeContainer"),S(w,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
|
|
1267
1267
|
/*p_binding_1*/e[74](o),h(t,u),h(t,c),d(r,m,a),d(r,w,a),h(w,T),h(T,M),
|
|
@@ -1274,7 +1274,7 @@ return e[36]?qr:Xr}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isF
|
|
|
1274
1274
|
/*div3_binding_1*/e[80](null),
|
|
1275
1275
|
/*div4_binding_1*/e[81](null),j&&j.d()
|
|
1276
1276
|
/*div5_binding*/,e[82](null),L=!1,r(R)}}}
|
|
1277
|
-
// (
|
|
1277
|
+
// (393:8) {#if isLoggedIn}
|
|
1278
1278
|
function Zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,k,x,D,O,P,F,A,H,C,B,N,L=/*$_*/e[43]("deposit")+"",R=/*shortCashierActivated*/e[42]&&Kr(e),I=/*haspanicbutton*/"true"===e[11]&&ti(e);function $(e,t){/*isFullscreen*/
|
|
1279
1279
|
return e[36]?ri:ni}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ii();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=y(L),w=g(),R&&R.c(),T=g(),M=p("div"),k=p("div"),x=p("iframe"),F=g(),A=p("div"),I&&I.c(),H=g(),U.c(),C=g(),G&&G.c(),v(n,"class","backButton"),v(o,"class","Time"),v(c,"class","DepositButton"),v(t,"class","GamePageIntegratedTopSection"),v(x,"title","Games"),v(x,"id","IframeGame"),v(x,"class","GamesContainer"),v(x,"aria-hidden","false"),a(x.src,D=/*game*/e[29].launchUrl)||v(x,"src",D),v(x,"width",O=/*gameContainerWidth*/e[33]+"px"),v(x,"height",P=/*gameContainerHeight*/e[34]+"px"),v(A,"class","BottomGame BottomGameLoggedin"),v(k,"id","IframeGame"),E(k,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(k,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(k,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),E(k,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(M,"id","IframeContainer"),S(M,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
|
|
1280
1280
|
/*p_binding*/e[62](o),h(t,u),h(t,c),h(c,m),h(t,w),R&&R.m(t,null),d(r,T,a),d(r,M,a),h(M,k),h(k,x),
|
|
@@ -1287,28 +1287,28 @@ return e[36]?ri:ni}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isF
|
|
|
1287
1287
|
/*div2_binding*/e[70](null),
|
|
1288
1288
|
/*div3_binding*/e[71](null),G&&G.d()
|
|
1289
1289
|
/*div4_binding*/,e[72](null),B=!1,r(N)}}}
|
|
1290
|
-
// (
|
|
1290
|
+
// (493:18) {:else}
|
|
1291
1291
|
function Xr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',v(n,"class","FullscreenButton"),v(n,"part","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_10*/t[79]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1292
|
-
// (
|
|
1292
|
+
// (489:18) {#if isFullscreen}
|
|
1293
1293
|
function qr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_9*/t[78]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1294
|
-
// (
|
|
1294
|
+
// (500:14) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
1295
1295
|
function Jr(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}
|
|
1296
|
-
// (
|
|
1296
|
+
// (400:12) {#if shortCashierActivated}
|
|
1297
1297
|
function Kr(e){let t,n,i,o,s,a,l,u;function c(e,t){/*gmversion*/
|
|
1298
1298
|
return"gmcore"===e[6]?ei:Qr}let m=c(e),y=m(e);return{c(){t=p("div"),n=g(),i=p("div"),o=p("div"),s=p("div"),s.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',a=g(),y.c(),v(t,"class","ShortCashierWindow"),v(s,"class","ClosePopUpButtonShortCashier"),v(o,"class","ShortCashierContainerMobile"),v(i,"class","ShortCashierContainerWrapperMobile")},m(r,c){d(r,t,c),d(r,n,c),d(r,i,c),h(i,o),h(o,s),h(o,a),y.m(o,null),l||(u=[b(t,"click",/*click_handler_2*/e[64]),b(s,"click",/*click_handler_3*/e[65])],l=!0)},p(e,t){m===(m=c(e))&&y?y.p(e,t):(y.d(1),y=m(e),y&&(y.c(),y.m(o,null)))},d(e){e&&f(t),e&&f(n),e&&f(i),y.d(),l=!1,r(u)}}}
|
|
1299
|
-
// (
|
|
1299
|
+
// (422:18) {:else}
|
|
1300
1300
|
function Qr(e){let t,n,r,i,o,s,a,l,u,c;return{c(){t=p("user-deposit-withdrawal"),w(t,"endpoint",/*endpoint*/e[0]),w(t,"type","deposit"),w(t,"channel",n=/*mobileView*/e[39]?"Mobile":"Desktop"),w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),w(t,"language",/*lang*/e[1]),w(t,"product-type",/*producttype*/e[13]),w(t,"user-id",/*userid*/e[3]),w(t,"session",/*session*/e[2]),w(t,"success-url",r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14]),w(t,"cancel-url",i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16]),w(t,"fail-url",o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15]),w(t,"sports-url",s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17]),w(t,"casino-url",a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18]),w(t,"contact-url",l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19]),w(t,"home-url",u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20]),w(t,"deposit-url",c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])},m(e,n){d(e,t,n)},p(e,h){/*endpoint*/1&h[0]&&w(t,"endpoint",/*endpoint*/e[0]),/*mobileView*/256&h[1]&&n!==(n=/*mobileView*/e[39]?"Mobile":"Desktop")&&w(t,"channel",n),/*shortcashierenabled*/256&h[0]&&w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),/*lang*/2&h[0]&&w(t,"language",/*lang*/e[1]),/*producttype*/8192&h[0]&&w(t,"product-type",/*producttype*/e[13]),/*userid*/8&h[0]&&w(t,"user-id",/*userid*/e[3]),/*session*/4&h[0]&&w(t,"session",/*session*/e[2]),/*lang, successurl*/16386&h[0]&&r!==(r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14])&&w(t,"success-url",r),/*lang, cancelurl*/65538&h[0]&&i!==(i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16])&&w(t,"cancel-url",i),/*lang, failurl*/32770&h[0]&&o!==(o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15])&&w(t,"fail-url",o),/*lang, sportsurl*/131074&h[0]&&s!==(s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17])&&w(t,"sports-url",s),/*lang, casinourl*/262146&h[0]&&a!==(a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18])&&w(t,"casino-url",a),/*lang, contacturl*/524290&h[0]&&l!==(l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19])&&w(t,"contact-url",l),/*lang, homeurl*/1048578&h[0]&&u!==(u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20])&&w(t,"home-url",u),/*lang, depositurl*/130&h[0]&&c!==(c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])&&w(t,"deposit-url",c)},d(e){e&&f(t)}}}
|
|
1301
|
-
// (
|
|
1301
|
+
// (410:18) {#if gmversion === 'gmcore'}
|
|
1302
1302
|
function ei(e){let t;return{c(){t=p("player-deposit"),w(t,"endpoint",/*endpoint*/e[0]),w(t,"session",/*session*/e[2]),w(t,"playerid",/*userid*/e[3]),w(t,"lang",/*lang*/e[1]),w(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),w(t,"playercurrency",/*playercurrency*/e[10]),w(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),w(t,"clientstyling",/*clientstyling*/e[4]),w(t,"clientstylingurl",/*clientstylingurl*/e[5])},m(e,n){d(e,t,n)},p(e,n){/*endpoint*/1&n[0]&&w(t,"endpoint",/*endpoint*/e[0]),/*session*/4&n[0]&&w(t,"session",/*session*/e[2]),/*userid*/8&n[0]&&w(t,"playerid",/*userid*/e[3]),/*lang*/2&n[0]&&w(t,"lang",/*lang*/e[1]),/*hasdefaultamount*/512&n[0]&&w(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),/*playercurrency*/1024&n[0]&&w(t,"playercurrency",/*playercurrency*/e[10]),/*shortcashierenabled*/256&n[0]&&w(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),/*clientstyling*/16&n[0]&&w(t,"clientstyling",/*clientstyling*/e[4]),/*clientstylingurl*/32&n[0]&&w(t,"clientstylingurl",/*clientstylingurl*/e[5])},d(e){e&&f(t)}}}
|
|
1303
|
-
// (
|
|
1303
|
+
// (450:16) {#if haspanicbutton === "true"}
|
|
1304
1304
|
function ti(e){let t,n,r,i=/*$_*/e[43]("breakButton")+"";return{c(){t=p("div"),n=p("button"),r=y(i),v(n,"class","PanicButton "+("PC"!==Hr(/*userAgent*/e[44])?"PanicButtonMobile":"")),v(n,"part","PanicButton "+("PC"!==Hr(/*userAgent*/e[44])?"PanicButtonMobile":"")),S(n,"PanicButtonAnimation",/*panicLoading*/e[28]),v(t,"class","PanicSection")},m(i,o){d(i,t,o),h(t,n),h(n,r),
|
|
1305
1305
|
/*button_binding*/e[67](n)},p(e,t){/*$_*/4096&t[1]&&i!==(i=/*$_*/e[43]("breakButton")+"")&&_(r,i),/*panicLoading*/268435456&t[0]&&S(n,"PanicButtonAnimation",/*panicLoading*/e[28])},d(n){n&&f(t)
|
|
1306
1306
|
/*button_binding*/,e[67](null)}}}
|
|
1307
|
-
// (
|
|
1307
|
+
// (459:16) {:else}
|
|
1308
1308
|
function ni(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_5*/t[69]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1309
|
-
// (
|
|
1309
|
+
// (455:16) {#if isFullscreen}
|
|
1310
1310
|
function ri(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_4*/t[68]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
|
|
1311
|
-
// (
|
|
1311
|
+
// (466:12) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
1312
1312
|
function ii(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function oi(t){let n,r,i,o;function s(e,t){/*isLoading*/
|
|
1313
1313
|
return e[27]?Vr:/*hasErrors*/e[26]?Wr:jr}let l=s(t),u=l(t);return{c(){n=p("script"),i=g(),o=p("div"),u.c(),this.c=e,v(n,"type","module"),a(n.src,r="https://unpkg.com/@everymatrix/user-deposit-withdrawal")||v(n,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal")},m(e,r){h(Gr.head,n),d(e,i,r),d(e,o,r),u.m(o,null),
|
|
1314
1314
|
/*div_binding*/t[83](o)},p(e,t){l===(l=s(e))&&u?u.p(e,t):(u.d(1),u=l(e),u&&(u.c(),u.m(o,null)))},i:e,o:e,d(e){f(n),e&&f(i),e&&f(o),u.d(),
|
|
@@ -1337,7 +1337,7 @@ window.location=C),
|
|
|
1337
1337
|
//Analytics event
|
|
1338
1338
|
"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),B&&!r&&(
|
|
1339
1339
|
// @ts-ignore
|
|
1340
|
-
window.location=B)},Ee=e=>{n(42,oe=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Se=e=>{if(e.data&&"CloseShortCashier"===e.data.type)Ee()};function Te(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!ne||Me()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Te,!1),document.addEventListener("mozfullscreenchange",Te,!1),document.addEventListener("fullscreenchange",Te,!1),document.addEventListener("MSFullscreenChange",Te,!1));const Me=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(ne?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():d.requestFullscreen?d.requestFullscreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen()),n(36,ne=!ne)},ke=setInterval((()=>{n(23,o=U?Ur().format(U):Ur().format("LTS"))}),100),xe=()=>{var e;e=T,dr.set(e),n(39,ie=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(re)),n(27,q=!1)},De=()=>{"true"==W?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),me(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(S,M).then((e=>{a=e.Guid,e.UserID,n(25,Z=!0)}),(e=>{n(25,Z=!1),console.error("err on session",e)})):a=M},Oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Pe=e=>{K=0,c=setInterval((()=>{K+=1,n(28,J=!0),K>=3&&clearInterval(c)}),1e3)},Fe=e=>{K<3&&n(28,J=!1),clearInterval(c)};x((()=>(window.addEventListener("message",Se,!1),window.addEventListener("resize",be,!1),()=>{n(28,J=!1),null==l||l.removeEventListener("mousedown",Pe),null==l||l.removeEventListener("touchstart",Pe),
|
|
1340
|
+
window.location=B)},Ee=e=>{n(42,oe=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Se=e=>{if(e.data&&"CloseShortCashier"===e.data.type)Ee()};function Te(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!ne||Me()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Te,!1),document.addEventListener("mozfullscreenchange",Te,!1),document.addEventListener("fullscreenchange",Te,!1),document.addEventListener("MSFullscreenChange",Te,!1));const Me=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(ne?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():d.requestFullscreen?d.requestFullscreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen()),n(36,ne=!ne)},ke=setInterval((()=>{n(23,o=U?Ur().format(U):Ur().format("LTS"))}),100),xe=()=>{var e;e=T,dr.set(e),n(39,ie=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(re)),n(27,q=!1)},De=()=>{"true"==W?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),me(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(S,M).then((e=>{a=e.Guid,e.UserID,n(25,Z=!0)}),(e=>{n(25,Z=!1),console.error("err on session",e)})):(a=M,n(25,Z=!0))},Oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Pe=e=>{K=0,c=setInterval((()=>{K+=1,n(28,J=!0),K>=3&&clearInterval(c)}),1e3)},Fe=e=>{K<3&&n(28,J=!1),clearInterval(c)};x((()=>(window.addEventListener("message",Se,!1),window.addEventListener("resize",be,!1),()=>{n(28,J=!1),null==l||l.removeEventListener("mousedown",Pe),null==l||l.removeEventListener("touchstart",Pe),
|
|
1341
1341
|
// on mouseup stop interval count
|
|
1342
1342
|
null==l||l.removeEventListener("mouseup",Fe),null==l||l.removeEventListener("touchend",Fe),window.removeEventListener("message",Se),window.removeEventListener("resize",be),clearInterval(ke)})));return e.$$set=e=>{"endpoint"in e&&n(0,S=e.endpoint),"lang"in e&&n(1,T=e.lang),"session"in e&&n(2,M=e.session),"userid"in e&&n(3,k=e.userid),"clientstyling"in e&&n(4,D=e.clientstyling),"clientstylingurl"in e&&n(5,P=e.clientstylingurl),"translationurl"in e&&n(51,F=e.translationurl),"gmversion"in e&&n(6,A=e.gmversion),"loginurl"in e&&n(52,H=e.loginurl),"registerurl"in e&&n(53,C=e.registerurl),"depositurl"in e&&n(7,B=e.depositurl),"loginevent"in e&&n(54,N=e.loginevent),"registerevent"in e&&n(55,L=e.registerevent),"depositevent"in e&&n(56,R=e.depositevent),"shortcashierenabled"in e&&n(8,I=e.shortcashierenabled),"hasdefaultamount"in e&&n(9,$=e.hasdefaultamount),"playercurrency"in e&&n(10,Y=e.playercurrency),"clockformat"in e&&n(57,U=e.clockformat),"haspanicbutton"in e&&n(11,G=e.haspanicbutton),"playforfun"in e&&n(58,j=e.playforfun),"checksession"in e&&n(59,W=e.checksession),"gamebanneractive"in e&&n(12,V=e.gamebanneractive),"gameid"in e&&n(60,z=e.gameid),"producttype"in e&&n(13,se=e.producttype),"successurl"in e&&n(14,ae=e.successurl),"failurl"in e&&n(15,le=e.failurl),"cancelurl"in e&&n(16,ue=e.cancelurl),"sportsurl"in e&&n(17,ce=e.sportsurl),"casinourl"in e&&n(18,he=e.casinourl),"contacturl"in e&&n(19,de=e.contacturl),"homeurl"in e&&n(20,fe=e.homeurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&T&&xe(),/*shortcashierenabled*/256&e.$$.dirty[0]&&(r="true"===I.toLocaleLowerCase()),/*endpoint, lang*/3&e.$$.dirty[0]|/*gameid*/536870912&e.$$.dirty[1]&&S&&z&&T&&pe(z),/*session, userid, endpoint*/13&e.$$.dirty[0]&&M&&k&&S&&De(),/*clientstyling, customStylingContainer*/4194320&e.$$.dirty[0]&&D&&w&&(()=>{let e=document.createElement("style");e.innerHTML=D,w.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4194336&e.$$.dirty[0]&&P&&w&&(()=>{let e=document.createElement("style");if(P){let t=new URL(P);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/2097152&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",Pe,!1),null==l||l.addEventListener("touchstart",Pe,!1),
|
|
1343
1343
|
// on mouseup stop interval count
|