1import{b as f,a as w,u as b,o as y,S as v,G as _,c as S,d as k,e as o}from"./index-_Z9lLETR.js";const x={id:"web-loader",class:"web-loader web-loader-start-game"},I=o("div",{class:"d-flex justify-content-center"},[o("div",{class:"spinner-border",role:"status",style:{width:"3rem",height:"3rem","z-index":"20"}},[o("span",{class:"sr-only"},"Loading...")])],-1),M=[I],L={__name:"StartSpribe",setup(B){const s=f(),c=w(),{locale:d}=b();y(()=>{window.addEventListener("message",l),u()});function l(e){const t=e.data;if(!(!t||!t.type))switch(t.type){case"ifc.ag.provider.home.return":case"ifc.ag.provider.close":window.location.href="/slots";break;case"ifc.ag.provider.deposit.show":window.location.href="/deposit";break}}function u(){let e=v.getLocalStorageUser();e=JSON.parse(e);const t=e?e.token:"",r=s.query.freeplay;if(!t&&r!=1){c.push({path:"/login"});return}const a=window.location.search.replace(/^\?/,"").match(/(?:^|&)gameId=(.*?)(?=&[^=&]+=|$)/),n=a?a[1]:s.query.gameId;console.log("gameId:",n);const h=d.value,g=p()?1:0;_.startSpribe(t,n,h,g,r,"https://sokabet.co.tz/slots").then(i=>{if(i.statusCode!=0)return;const m=i.data.html;document.write(`<style type="text/css">body{margin:0;overflow:hidden;}</style><iframe src="${m}" style="width:100%;height:100%;overflow:hidden;border:0;"></iframe>`)})}function p(){return/Mobi|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}return(e,t)=>(S(),k("div",x,M))}};export{L as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.