1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7301],{63067:function(e,l,t){var n=t(85893),s=t(25675),i=t.n(s),d=t(63197),a=t(67294);l.Z=()=>{let[e,l]=(0,a.useState)([]),getAllOffers=()=>{(0,d.Iq)().then(e=>{e.status&&l(e.data.offers)}).catch(e=>console.log(e))};return(0,a.useEffect)(()=>{(null==e?void 0:e.length)||getAllOffers()},[]),(0,n.jsx)("div",{className:"mt-4",children:null==e?void 0:e.map((e,l)=>{var t,s,d,a;return(0,n.jsxs)("div",{className:"grid bg-[#2C0630] rounded-lg grid-cols-4 gap-3 place-items-start items-center p-4 mt-2",children:[(0,n.jsxs)("div",{className:"flex w-3/4 col-span-2 md:col-span-1 bg-white rounded-md p-2 justify-around items-center",children:[(0,n.jsx)(i(),{src:null!==(a=null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.image)&&void 0!==a?a:"/fallback1.png",alt:"offers-content",className:"rounded-full w-10 h-10",width:35,height:35}),(0,n.jsx)("p",{className:"text-lg",children:null==e?void 0:null===(s=e.content)||void 0===s?void 0:s.title})]}),(0,n.jsx)("div",{className:"text-[#DEDEDE] col-span-2 w-full font-medium",children:(0,n.jsx)("p",{children:null==e?void 0:null===(d=e.content)||void 0===d?void 0:d.bonus})}),(0,n.jsx)("div",{className:"col-span-4 w-full md:col-span-1",children:(0,n.jsx)("button",{"aria-label":"bet-now",onClick:()=>{window.open(null==e?void 0:e.redirectLink,"_blank")},className:"font-bold w-full text-sm lg:text-lg rounded-full px-8 py-2",style:{background:"linear-gradient(90deg, #FCE49C 0%, #A47032 100%)",boxShadow:"0px 0px 4px 0px #572AB080",color:"white",textShadow:"-1px -1px 0 #572AB080,1px -1px 0 #572AB080 ,-1px 1px 0 #572AB080 ,1px 1px 0 #572AB080"},children:"BET NOW"})})]},l)})})}},7301:function(e,l,t){t.r(l);var n=t(85893);t(25675);var s=t(67294);t(63197);var i=t(73272),d=t(9298),a=t(66658);t(99416),t(63067);var c=t(19693),o=t(11163),r=t(42660);l.default=e=>{var l,t,x,m,u,p,v,f;let{slug:h=[],pageData:g={}}=e,[j,N]=(0,s.useState)({type:["all","all"]}),[w,y]=(0,s.useState)(!1),[b,A]=(0,s.useState)({}),{isLoggedIn:k}=(0,c.E)();(0,o.useRouter)();let{headToHead:C={},lastMatches:S={},detailedScore:B={},matchDetails:E={}}=g||{},{opponent1:D=[],opponent2:Z=[],opponent2Votes:I,opponent1Votes:_,leagueName:F,opponent1Seed:G,opponent2Seed:T,dateTime:Y}=E||{};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsx)("div",{className:"bg-[#572AB04D] rounded-2xl ",children:(0,n.jsx)("div",{className:"p-4 grid grid-cols-3 place-items-center gap-3",children:(0,n.jsx)("div",{className:"col-span-5 lg:col-span-3 w-full h-full",children:(0,n.jsxs)("div",{className:"bg-white px-4 md:px-10 py-4 rounded-2xl",children:[(0,n.jsxs)("div",{className:"grid grid-cols-3 place-items-center gap-x-3 items-center",children:[(0,n.jsxs)("div",{className:"flex flex-col justify-start w-full h-full items-center",children:[(0,n.jsxs)("div",{className:"flex justify-center items-center",children:[(0,n.jsx)(d.Z,{from:(null==D?void 0:D.length)>1?"tennis":"all",type:0,percent:(0,i.CG)(_,I),image:null==D?void 0:null===(l=D[0])||void 0===l?void 0:l.playerImage}),(null==D?void 0:D.length)>1&&(0,n.jsx)(d.Z,{from:"tennis",type:2,percent:(0,i.CG)(_,I),image:null==D?void 0:null===(t=D[1])||void 0===t?void 0:t.playerImage})]}),(0,n.jsxs)("p",{className:"text-[#530F5A] text-xs md:text-lg font-bold text-center mt-4",children:[(0,n.jsx)("span",{className:"text-[#572AB0] font-medium",children:G})," ","\xa0",null==D?void 0:null===(x=D[0])||void 0===x?void 0:x.playerName," ",(null==D?void 0:D.length)>1&&"/".concat(null==D?void 0:null===(m=D[1])||void 0===m?void 0:m.playerName)]})]}),(0,n.jsxs)("div",{children:[((null==E?void 0:E.opponent1Score)||(null==E?void 0:E.opponent2Score))&&(0,n.jsxs)("p",{className:"text-center text-xl md:text-4xl lg:text-6xl text-black font-medium",children:[null==E?void 0:E.opponent1Score," -"," ",null==E?void 0:E.opponent2Score]}),(0,n.jsx)("p",{className:"text-center text-sm md:text-lg text-black font-bold",children:F})]}),(0,n.jsxs)("div",{className:"flex flex-col justify-start w-full h-full items-center",children:[(0,n.jsxs)("div",{className:"flex justify-center items-center",children:[(0,n.jsx)(d.Z,{type:1,from:(null==Z?void 0:Z.length)>1?"tennis":"all",percent:(0,i.CG)(_,I),image:null==Z?void 0:null===(u=Z[0])||void 0===u?void 0:u.playerImage}),(null==Z?void 0:Z.length)>1&&(0,n.jsx)(d.Z,{from:"tennis",type:3,percent:(0,i.CG)(_,I),image:null==Z?void 0:null===(p=Z[1])||void 0===p?void 0:p.playerImage})]}),(0,n.jsxs)("p",{className:"text-[#530F5A] text-xs md:text-lg font-bold text-center mt-4",children:[(0,n.jsx)("span",{className:"text-[#572AB0] font-medium",children:T})," ","\xa0",null==Z?void 0:null===(v=Z[0])||void 0===v?void 0:v.playerName,(null==Z?void 0:Z.length)>1&&"/".concat(null==Z?void 0:null===(f=Z[1])||void 0===f?void 0:f.playerName)]})]})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:"grid grid-cols-3 text-xs md:text-sm place-items-center text-[#717171] mt-2 font-medium items-center",children:[(0,n.jsxs)("p",{className:"w-full text-center",children:["Date:"," ",(0,n.jsx)(a.Z,{time:null==E?void 0:E.dateTime,format:"DD/M/YYYY"})]}),(0,n.jsxs)("p",{className:"w-full text-center",children:["Time:"," ",(0,n.jsx)(a.Z,{time:null==E?void 0:E.dateTime,format:"h:mm A"})]}),(0,n.jsxs)("p",{className:"w-full text-center",children:["Venue: ",(0,i.If)(null==E?void 0:E.venue)]})]})]})})})}
1),(0,n.jsx)(r.default,{data:null==g?void 0:g.matchDetails})]})})}}}]);
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.