1import{u as b,a as C,r as g,o as U,x as L,S as y,J,h as P,c as i,d as n,e as t,l as w,F as k,k as f,f as l,m as H,y as T,t as e,n as p,j as I,z as $,A as z,H as N,B as R}from"./index-_Z9lLETR.js";const A=t("h1",{class:"visually-hidden"},"Tanzania Biggest Sports Jackpot Prize",-1),E={class:"col-12 col-md-10 takeRemainingSpace web-content"},F={class:"jackpotbet__detail mt-4",id:"jackpot__detail"},V={style:{"margin-bottom":"35px"}},Z={class:"jackpot__betslip__info"},O=["onClick"],W=t("i",{class:"fa fa-plus jackpot__bet__plus__btn","aria-hidden":"true"},null,-1),Y={key:0,class:"jackpot__info__container"},q={key:0,class:"progressiveJackpot"},G=R('<div class="jackpot_header_container"><ul class="jackpot__header"><li class="jackpot__header__item"></li><li class="jackpot__header__item">Home</li><li class="jackpot__header__item">Draw</li><li class="jackpot__header__item">Away</li></ul></div>',1),K={class:"jackpot__info__content"},Q={class:"jackpot-detail row"},X={class:"col-6"},aa={class:"col-6 progressive-choice-col"},ta={key:1,class:"fixedJackpot"},ea={class:"jackpot_header_container"},oa={class:"fixedjackpot__header row"},ca=t("li",{class:"fixedjackpot__header__item col-6"},null,-1),sa={key:0,class:"fixedjackpot__header__item col-3",style:{"padding-left":"0"}},ia={class:"fixedJackpotContainer row"},na={class:"col-6"},ra={class:"col-6 choice-side"},la={class:"fixedJackpot-userCoise"},da=t("div",{class:"mybets-show__more--btn"},[t("p",null,"Show More")],-1),_a={class:"page__navigation"},pa=t("i",{class:"fa fa-arrow-left","aria-hidden":"true"},null,-1),ka={__name:"ManualJackpotBet",setup(ha){const{locale:x}=b(),j=C();let _=g([]),d=g([]),S=null,m=null,h=g(!1);U(()=>{let o=x.value;L.updateMeta({title:o=="sw"?"Sokabet | Angalia Beti Zako Za Jackpot - Shinda Jackpot Leo":"#1 Sports Jackpot Results | Live Betting - Sokabet",description:o=="sw"?"Ingia hapa kuona ushindi wa Jackpot ya Mpira na michezo kama kriketi. Haya hapa matokeo ya dau lako, Shinda bonus ya jackpot hadi 200,000,000 TZS nas Sokabet":"Here is your sports jackpot bet results. Win big with a small stake on weekly Jackpots"}),v()});function v(){let o=y.getLocalStorageUser();o=JSON.parse(o);const c=o?o.token:"";if(!c){j.push({path:"/login"});return}J.getManualJackpotUserBets(c).then(r=>{r&&r.statusCode==0&&(_.value=r.data)})}function B(o){var s;let c=y.getLocalStorageUser();c=JSON.parse(c);const r=c?c.token:"";if(!r){j.push({path:"/login"});return}(s=_.value)==null||s.find(a=>a.id==o),S=null,d=[],J.getManualJackpotUserBetEvents(r,o).then(a=>{a&&(S=a.data[0].jackpotTypeID,d=a.data,m=m===o?null:o,console.log(d),h=d.some(u=>u.participant1Score!==null&&u.participant2Score!==null),_.value=[..._.value])})}function M(o){const c=new Date(o),r=c.getFullYear(),s=String(c.getMonth()+1).padStart(2,"0"),a=String(c.getDate()).padStart(2,"0"),u=String(c.getHours()).padStart(2,"0"),D=String(c.getMinutes()).padStart(2,"0");return`${r}-${s}-${a} ${u}:${D}`}return(o,c)=>{const r=P("RouterLink");return i(),n(k,null,[A,t("div",E,[w(T),t("div",F,[t("div",V,[t("div",Z,[(i(!0),n(k,null,f(l(_),s=>(i(),n("div",{class:"jackpotbet__content",key:s},[t("div",{style:{cursor:"pointer"},class:"jackpot__bet__info","data-expanded":"0",onClick:a=>B(s.id)},[t("p",null,e(s.jackpotStartDate.replace("T"," "))+" Jackpot "+e(s.jackpotStartDate.replace("T"," "))+" - BetId: "+e(s.id)+" Date: "+e(s.betDate.replace("T"," "))+" "+e(s.jackpotIsActive?"(Closed)":""),1),W],8,O),l(m)===s.id?(i(),n("div",Y,[l(S)===10?(i(),n("div",q,[G,t("div",K,[(i(!0),n(k,null,f(l(d),a=>(i(),n("div",{key:a.id},[t("div",Q,[t("div",X,[t("p",null,e(a.participant1)+" vs "+e(a.participant2),1)]),t("div",aa,[t("span",{class:p(["choices-default",{"choosen-choice":a.choiceId===1,"not-matching-choice":a.choiceId!==a.choiceId1&&a.choiceId1===1}])},e(a.home),3),t("span",{class:p(["choices-default",{"choosen-choice":a.choiceId===2,"not-matching-choice":a.choiceId!==a.choiceId1&&a.choiceId1===2}])},e(a.draw),3),t("span",{class:p(["choices-default",{"choosen-choice":a.choiceId===3,"not-matching-choice":a.choiceId!==a.choiceId1&&a.choiceId1===3}])}
1,e(a.away),3)])])]))),128))])])):(i(),n("div",ta,[t("div",ea,[t("ul",oa,[ca,t("li",{class:p({"fixedjackpot__header__item col-3":l(h),"fixedjackpot__header__item col-6":!l(h)})},"User Choice",2),l(h)?(i(),n("li",sa,"Participants score")):I("",!0)])]),(i(!0),n(k,null,f(l(d),a=>(i(),n("div",{key:a.id},[t("div",ia,[t("div",na,[t("div",null,e(M(a.startDate)),1),t("div",null,e(a.participant1)+" vs "+e(a.participant2),1)]),t("div",ra,[t("span",la,e(a.userParticipant1Score)+" : "+e(a.userParticipant2Score),1),$(t("span",{class:p({"fixed-matching-score":a.participant1Score===a.userParticipant1Score&&a.participant2Score===a.userParticipant2Score,"fixed-not-matching-score":a.participant1Score!==a.userParticipant1Score||a.participant2Score!==a.userParticipant2Score})},e(a.participant1Score)+" : "+e(a.participant2Score),3),[[z,a.participant1Score!==null&&a.participant2Score!==null]])])])]))),128))]))])):I("",!0)]))),128))]),da]),t("div",_a,[w(r,{to:l(N).getLocalizedRoute("/ManualJackpot"),class:"back__page--navigation"},{default:H(()=>[pa]),_:1},8,["to"])])])])],64)}}};export{ka 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.