PageSourceSearch

https://www.wasafibet.co.tz/js/esports.js

js wasafibet.co.tz collected 2026-10-08 07:21:26 UTC 2,271 bytes, 1 lines download raw bytes

1import{u as B,d as E,_ as G}from"./index.js";import{D as O,s as M,f as s,r as y,o as t,g as v,l as a,e as h,K as p,O as N,p as V,n as b,F as $,j,J as q,u as C,L as w}from"./vendor.js";const I={class:"games-container-center"},J={class:"games"},K={key:1,class:"games-countries"},H={class:"c"},Q=["onClick"],U={class:"c"},ee={__name:"esports",setup(W){const A=w(()=>G(()=>import("./m-games.js"),["js/m-games.js","js/index.js","js/vendor.js"]));O();const{tmp:_,navigation:m}=M(B()),{setTMP:F}=B(),{sport_info:R}=M(E()),{fnSportsbookEvents:T}=E();_.value&&_.value.day!=null&&_.value.day;let L="esports",S=3;const x=s(()=>m.value&&m.value.mode!=null?m.value.mode:0),e=s(()=>R.value),f=s(()=>e.value&&e.value.loading!=null?e.value.loading:""),r=s(()=>e.value&&e.value.meta!=null?e.value.meta:"");s(()=>e.value&&e.value.days!=null?e.value.days:[]);const l=s(()=>e.value&&e.value.sports!=null?e.value.sports:[]),D=s(()=>{var u=0;for(let o=0;o<l.value.length;o++)u+=Number(l.value[o].match_count);return u}),P=s(()=>e.value&&e.value.leagues!=null?e.value.leagues:[]),z=s(()=>e.value&&e.value.hours!=null?e.value.hours:[]),c=s(()=>!r.value.sort_by&&P.value.length!=0||r.value.sort_by=="time"&&z.value.length!=0);function k(u,o){let d="",i="";switch(u){case"sport_id":d=r.value.day,i=o;break}let g={day:d,sport_id:i,producer:S};T({resource:L,sportsbook_info:e.value,params:g})}return(x.value!=-1||!c.value)&&k(),F(),(u,o)=>{const d=y("LoaderBar"),i=y("LoaderSportsbookFetch"),g=y("MEmpty");return t(),v("div",I,[a("div",J,[f.value&&c.value?(t(),h(d,{key:0})):p("",!0),l.value.length!=0?(t(),v("div",K,[a("ul",null,[a("li",{onClick:o[0]||(o[0]=n=>k("sport_id","")),class:N(r.value.sport_id?"":"active")},[a("div",null,[o[1]||(o[1]=V("All ")),a("span",H,b(D.value),1)])],2),(t(!0),v($,null,j(l.value,n=>(t(),v("li",{onClick:X=>k("sport_id",n.sport_id),class:N(n.sport_id==r.value.sport_id?"active":""),key:n.sport_id},[a("div",null,[V(b(n.sport_name)+" ",1),a("span",U,b(n.match_count),1)])],10,Q))),128))])])):p("",!0),q(C(A),{resource:C(L),sportsbook_info:e.value,producer:C(S)},null,8,["resource","sportsbook_info","producer"]),f.value&&!c.value?(t(),h(i,{key:2,size:"6"})):p("",!0),!f.value&&!c.value?(t(),h(g,{key:3,t1:"games",t2:"sport"})):p("",!0)])])}}};export{ee 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.