@everymatrix/casino-integrated-game-page 1.20.3 → 1.20.4
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.
|
@@ -1326,7 +1326,7 @@ window.location=N),
|
|
|
1326
1326
|
//Analytics event
|
|
1327
1327
|
"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),F&&(
|
|
1328
1328
|
// @ts-ignore
|
|
1329
|
-
window.location=F)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Q||le()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const le=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Q?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(17,Q=!Q)},he=setInterval((()=>{n(4,s=I?Cr().format(I):Cr().format("LTS"))}),100),ce=()=>{var e;e=M,cr.set(e),(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)})(ee),n(8,z=!1)},fe=()=>{"true"==G?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,O).then((e=>{u=e.Guid,e.UserID,n(6,W=!0)}),(e=>{n(6,W=!1),console.error("err on session",e)})):u=O},de=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},me=e=>{X=0,h=setInterval((()=>{X+=1,n(9,Z=!0),X>=3&&clearInterval(h)}),1e3)},ye=e=>{X<3&&n(9,Z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",ie,!1),Lr.isNative(ee),()=>{n(9,Z=!1),null==l||l.removeEventListener("mousedown",me),null==l||l.removeEventListener("touchstart",me),
|
|
1329
|
+
window.location=F)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Q||le()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const le=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Q?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(17,Q=!Q)},he=setInterval((()=>{n(4,s=I?Cr().format(I):Cr().format("LTS"))}),100),ce=()=>{var e;e=M,cr.set(e),(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)})(ee),n(8,z=!1)},fe=()=>{"true"==G?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,O).then((e=>{u=e.Guid,e.UserID,n(6,W=!0)}),(e=>{n(6,W=!1),console.error("err on session",e)})):u=O},de=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},me=e=>{X=0,h=setInterval((()=>{X+=1,n(9,Z=!0),X>=3&&clearInterval(h)}),1e3)},ye=e=>{X<3&&n(9,Z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",ie,!1),Lr.isNative(ee),()=>{n(9,Z=!1),null==l||l.removeEventListener("mousedown",me),null==l||l.removeEventListener("touchstart",me),
|
|
1330
1330
|
// on mouseup stop interval count
|
|
1331
1331
|
null==l||l.removeEventListener("mouseup",ye),null==l||l.removeEventListener("touchend",ye),window.removeEventListener("resize",ie),clearInterval(he)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,O=e.session),"userid"in e&&n(32,D=e.userid),"clientstyling"in e&&n(33,P=e.clientstyling),"clientstylingurl"in e&&n(34,B=e.clientstylingurl),"translationurl"in e&&n(35,H=e.translationurl),"loginurl"in e&&n(36,A=e.loginurl),"registerurl"in e&&n(37,N=e.registerurl),"depositurl"in e&&n(38,F=e.depositurl),"loginevent"in e&&n(39,L=e.loginevent),"registerevent"in e&&n(40,C=e.registerevent),"depositevent"in e&&n(41,R=e.depositevent),"clockformat"in e&&n(42,I=e.clockformat),"haspanicbutton"in e&&n(0,Y=e.haspanicbutton),"playforfun"in e&&n(43,U=e.playforfun),"checksession"in e&&n(44,G=e.checksession),"gamebanneractive"in e&&n(1,$=e.gamebanneractive),"gameid"in e&&n(45,j=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&ce(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/16384&e.$$.dirty[1]&&T&&j&&M&&te(j),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&O&&D&&T&&fe(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstyling*/4&e.$$.dirty[1]&&P&&w&&(()=>{let e=document.createElement("style");e.innerHTML=P,w.appendChild(e)})(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstylingurl*/8&e.$$.dirty[1]&&B&&w&&(()=>{let e=document.createElement("style");if(B){let t=new URL(B);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",me,!1),null==l||l.addEventListener("touchstart",me,!1),
|
|
1332
1332
|
// on mouseup stop interval count
|