PageSourceSearch

https://www.cloudbet.com/_next/static/chunks/93627-09d9718bca7c678b.js

js cloudbet.com collected 2026-09-24 18:42:29 UTC 16,801 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0a835-d876-70d0-8c33-b3078ec8d8fe")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93627],{5438:(e,t,l)=>{l.d(t,{$:()=>a});let a=e=>{var t,l;return(null==e?void 0:e.abbreviation)||(null==e||null==(l=e.name)||null==(t=l.toLocaleUpperCase())?void 0:t.slice(0,3))||""}},8343:(e,t,l)=>{l.d(t,{Po:()=>n,UF:()=>i,mi:()=>o});var a=l(14232);let n=(0,a.createContext)(null),o=e=>"".concat(e.outcome,"|").concat(e.params),i=e=>{let t=(0,a.useContext)(n);if(e&&t)return t.get(o(e))}},17285:(e,t,l)=>{l.d(t,{e:()=>r});var a=l(37876),n=l(69241),o=l(65111),i=l(75839);let r=e=>{let{marketStatus:t,className:l,iconClassName:r,hrefUrl:s}=e,c="closed"===t?"slash":"lock";return s?(0,a.jsx)(o.A,{href:s,className:(0,n.A)("w-full flex justify-center items-center min-h-11 team",l),"data-test-id":"market-status-".concat(t),children:(0,a.jsx)(i.T,{name:c,className:(0,n.A)("size-icon-s text-on-surface-disabled",r)})}):(0,a.jsx)("div",{className:(0,n.A)("w-full flex justify-center items-center min-h-11",l),"data-test-id":"market-status-".concat(t),children:(0,a.jsx)(i.T,{name:c,className:(0,n.A)("size-icon-s text-on-surface-disabled",r)})})}},28347:(e,t,l)=>{l.d(t,{d:()=>a});let a=e=>{var t,l,a,n,o,i,r,s,c,u,m;return{id:e.id,startTime:new Date(e.startTime.toString()).getTime().toString(),sport:{name:e.sport.name,key:e.sport.key},competition:{name:null!=(s=null==(t=e.competition)?void 0:t.name)?s:"",key:null!=(c=null==(l=e.competition)?void 0:l.key)?c:"",category:{name:null!=(u=null==(n=e.competition)||null==(a=n.category)?void 0:a.name)?u:"",key:null!=(m=null==(i=e.competition)||null==(o=i.category)?void 0:o.key)?m:""}},metadata:{eventStatus:e.metadata.eventStatus},sequence:null==(r=e.sequence)?void 0:r.toString(),timestamp:void 0,home:e.home?{name:e.home.name,key:e.home.key,abbreviation:e.home.abbreviation}:null,away:e.away?{name:e.away.name,key:e.away.key,abbreviation:e.away.abbreviation}:null,status:e.status,markets:e.markets,players:e.players,name:e.name,names:e.names}}},28484:(e,t,l)=>{l.d(t,{V:()=>n,Y:()=>o});var a=l(14232);let n=(e,t)=>e===t||e.outcome===t.outcome&&e.params===t.params&&e.price===t.price&&e.status===t.status&&e.label===t.label&&e.headerLabel===t.headerLabel;function o(e){let t=(0,a.useRef)(e);return e.length===t.current.length&&e.every((e,l)=>{let a=t.current[l];return e===a||e.key===a.key&&e.selections.length===a.selections.length&&e.selections.every((e,t)=>n(e,a.selections[t]))})||(t.current=e),t.current}},39357:(e,t,l)=>{l.d(t,{G:()=>w});var a=l(31753),n=l(14232),o=l(44339),i=l(43575),r=l(80185),s=l(26363),c=l(85974),u=l(93721),m=l(20297),d=l(2228),p=l(39219),v=l(39448),h=l(28347),y=l(57612),f=l(6376),k=l(67195),b=l(26349),g=l(72418),x=l(22708),N=l(52161),S=l(43622);let w=function(e,t,l,w,C,L){let _=arguments.length>6&&void 0!==arguments[6]&&arguments[6],{setComponentInView:I,setRailModalOpen:A,setSidesheetTab:E,sidesheetsOpen:O}=(0,x.j_)((0,o.k)(e=>({setComponentInView:e.setComponentInView,setRailModalOpen:e.setRailModalOpen,setSidesheetTab:e.setSidesheetTab,sidesheetsOpen:e.sidesheetsOpen}))),{t:j}=(0,a.Bd)(["sport","common"]),{isLoading:T,data:D}=(0,d.Gn)(t),K=(0,i.Nl)(),B=(0,b.al)(),M=(0,i.R5)(),P=(0,i.Kr)(),V=(0,g.YT)(),H=(0,g.$h)(),R=(0,g.yP)(),U=(0,N.kH)(e=>e.isLoggedIn),G=(0,b.GM)(),z=(0,c.X)(),F=(0,S.Q)(e=>e.addToSelectionsTrackingList);return(0,n.useCallback)(function(a,n,o,i,c){let d=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(U&&z()||!C||T){a.stopPropagation(),a.preventDefault();return}if(a.stopPropagation(),a.preventDefault(),V)return;let b={eventId:"".concat(e.id),marketKey:l,outcome:C.outcome,params:C.params,lineText:L||""};if(B&&0===R&&!o?((0,u.capturePostHogEvent)(p.Vy.SELECTION_ADDED,b),(0,k.aw)({matchup:e,sportKey:t,marketKey:l,submarketKey:w,selection:C,labels:c})):G?O?d&&E(14):(!o||R>1)&&d&&(0,f.W)():!R&&(I("betslip"),d&&A(!0)),o){(0,u.capturePostHogEvent)(p.Vy.SELECTION_REMOVED,b),null==M||M({indexes:[i]});return}if(R>=m.rS)return void(0,s.M8)({content:j("sports.betting.youCantAddAnymoreSelections")});g.yq.getState().setIsSgpBetMode(!1);let x=l.includes("outright"),N=x?"":(0,y.m)({selection:{params:C.params||""},marketType:l,marketDefinitions:D,eventData:(0,h.d)(e)}),S=c.outcomeLabel;H&&(null==P||P()),(()=>{var a,n,o,i,s,m;_&&F({eventId:"".concat(e.id),marketKey:l,outcome:C.outcome,params:C.params});let d=(0,v.u)({marketKey:l,submarketKey:w,isOutright:x,home:(null==(a=e.home)?void 0:a.key)||"",away:(null==(n=e.away)?void 0:n.key)||"",sportKey:t,eventName:e.name,minStake:C.minStake,maxStake:C.maxStake,eventId:e.id,params:C.params,outcome:C.outcome,probability:C.probability,outcomeName:"".concat(S.trim().length?S:c.outcomeLabelShort," ").concat(c.additionalLabel),marketName:N,cutoffTime:e.cutoffTime,price:C.price,competitionCategoryKey:null!=(m=null==(i=e.competition)||null==(o=i.category)?void 0:o.key)?m:null==(s=e.competition)?void 0:s.key}),h=(0,g.Ar)();(0,r.J)(h,d)>=0?(0,u.capturePostHogEvent)(p.Vy.SELECTION_CHANGED,b):(0,u.capturePostHogEvent)(p.Vy.SELECTION_ADDED,b),null==K||K({selections:[d]})})()},[U,z,C,T,V,B,R,l,D,e,H,L,G,t,w,M,j,_,K,F,P,O])}},39448:(e,t,l)=>{l.d(t,{u:()=>
1o});var a=l(59615),n=l(61735);let o=e=>({marketKey:e.marketKey,submarketKey:e.submarketKey,isOutright:e.isOutright,home:e.home,away:e.away,sportKey:e.sportKey,eventName:e.eventName,minStake:e.minStake,maxStake:e.maxStake,eventId:e.eventId,params:e.params,outcome:e.outcome,probability:e.probability,outcomeName:e.outcomeName,marketName:e.marketName,cutoffTime:e.cutoffTime instanceof Date?e.cutoffTime.toISOString():e.cutoffTime,stake:0,price:(0,n.c8)(e.price),changedPrice:null,priceBeforeChange:null,additionalInfo:[],betId:null,liability:0,exposure:0,statusCode:a.kV.VALID,competitionCategoryKey:e.competitionCategoryKey})},44777:(e,t,l)=>{l.d(t,{m:()=>n,t:()=>a});var a=function(e){return e.SelectionDisabled="SELECTION_DISABLED",e.SelectionEnabled="SELECTION_ENABLED",e}({}),n=function(e){return e.Back="BACK",e}({})},59113:(e,t,l)=>{l.d(t,{z:()=>v});var a=l(37876),n=l(69241),o=l(14232),i=l(61735),r=l(38588),s=l(24473),c=l(7927),u=l(8464),m=function(e){return e[e.None=0]="None",e[e.Increasing=1]="Increasing",e[e.Decreasing=2]="Decreasing",e}({}),d=l(26349),p=l(17285);let v=(0,o.memo)(function(e){let{odds:t,line:l,lineLeadingIconSrc:v,lineLeadingIconAlt:h,orientation:y=s.t.Vertical,isSelected:f=!1,isMarketSuspended:k=!1,isMarketClosed:b=!1,oddsFormat:g,displayOddsText:x,onClick:N,containerClassName:S,contentClassName:w,lineClassName:C,mollyBookie:L,provider:_}=e,I=[null==_?void 0:_.trim(),null==L?void 0:L.trim()].filter(Boolean).join(" \xb7 "),A=(e=>{let[t,l]=(0,o.useState)(0),a=(0,u.Z)(e),n=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{if(!a)return;let t=e>a?1:2*(e<a);if(0!==t)return l(t),n.current=setTimeout(()=>{l(0)},1600),()=>{l(0),n.current&&clearTimeout(n.current)}},[e]),t})((0,i.c8)(t)),E=(0,d.al)(),O=(0,o.useRef)(null),j=(0,o.useRef)(null),T=(0,o.useMemo)(()=>(0,i.YB)(t,g),[t,g]),D=(0,d.Sn)()?null==l?void 0:l.replace(/over/gi,"O").replace(/under/gi,"U"):l;if(b)return(0,a.jsx)(p.e,{marketStatus:"closed"});if(k)return(0,a.jsx)(p.e,{marketStatus:"suspended"});let K=(0,n.A)("w-full h-full min-h-11","border rounded-xl py-1 px-0.5","transition-colors duration-300 ease-in-out","hover:bg-primary/[0.08]","active:bg-primary/[0.16]","relative overflow-hidden",{"border-primary":f,"border-transparent":!f},S),B=(0,n.A)("font-medium gap-x-1","flex items-center justify-center",{"flex-col":y===s.t.Vertical},w),M=(0,n.A)("text-on-surface-1 font-medium",{"min-w-11 text-end":y===s.t.Horizontal},C),P=(0,n.A)("font-medium",{"animate-oddsUp":A===m.Increasing,"animate-oddsDown":A===m.Decreasing}),V=E&&(null==D?void 0:D.split("/"))||[];return(0,a.jsxs)("button",{onClick:N,className:K,"data-test-id":c.hn.OddButton,children:[(0,a.jsx)("div",{className:(0,n.A)("ml-auto mr-auto",I&&"pb-3"),children:(0,a.jsxs)("div",{className:B,children:[(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[v&&(0,a.jsx)("img",{alt:null!=h?h:"",src:v,loading:"lazy",decoding:"async"}),l&&(0,a.jsx)("div",{className:(0,n.A)(M,"text-center"),children:E&&V.length>1?V.map((e,t)=>(0,a.jsx)(r.n,{className:"block",children:e.trim()},t)):(0,a.jsx)("div",{ref:O,children:(0,a.jsx)(r.n,{children:D})})})]}),(0,a.jsx)("div",{ref:j,className:(0,n.A)("h-7 p-0.5 relative flex items-center justify-center text-primary",y===s.t.Horizontal&&"min-w-11"),children:(0,a.jsx)(r.n,{className:P,children:x||T})})]})}),I&&(0,a.jsx)("span",{"data-tooltip-id":"market-info-tooltip","data-tooltip-content":I,className:"absolute bottom-0 inset-x-0 bg-on-surface-1/10 px-2 text-xs text-on-surface-2 leading-none truncate text-center block",children:I})]})})},72873:(e,t,l)=>{l.d(t,{e:()=>r});var a=l(31753),n=l(14232),o=l(2228),i=l(90950);let r=(e,t,l,r,s,c)=>{let{t:u}=(0,a.Bd)(["common"]),{data:m}=(0,o.Gn)(t.sport.key);return(0,n.useMemo)(()=>c?(0,i.N)(c,e,t,l,r,s,u,null==m?void 0:m[l]):{outcomeLabel:"",additionalLabel:"",outcomeLabelShort:""},[c,e,t,l,r,s,u,m])}},85974:(e,t,l)=>{l.d(t,{X:()=>i});var a=l(14232),n=l(67195),o=l(52161);let i=()=>{let e=(0,o.kH)(e=>e.cooloffActive);return(0,a.useCallback)(()=>!!e()&&((0,n.AB)(),!0),[e])}},90950:(e,t,l)=>{l.d(t,{N:()=>m});var a=l(27506),n=l(2240);let o=(e,t)=>{var l;return(null==(l=t.players[e])?void 0:l.name)||e};var i=l(5438);let r=/^.*handicap=([-0-9.]+).*/,s=/^.*total=([-0-9.]+).*/,c={[n.h.soccer_winning_method]:!0,[n.h.tennis_winner_and_total]:!0},u={[n.h.tennis_winner_and_total]:!0},m=(e,t,l,n,m,d,p,v)=>{var h,y,f,k,b,g,x,N,S,w,C;let L=l.sport.key===a.D7.cricket,_="";if(e.params.length>0){let t=e.params.split("="),a=e.params.split("&");if(a.length>1){let l=e.outcome,n=a.find(e=>e.includes(l));t=n?n.split("="):[]}if(_=t.length>0?t[t.length-1]:"",r.test(e.params)&&(_=((e,t)=>{if(e.includes(":"))return e;let l=parseFloat(e);return"".concat(l>0&&"home"===t||l<0&&"away"===t?"+":l<0&&"home"===t||l>0&&"away"===t?"-":"").concat(Math.abs(l))})(_=r.exec(e.params)[1],e.outcome)),s.test(e.params)){let t=e.params.match(s);(null==t?void 0:t[1])&&(_=t[1])}if(m.indexOf("player=")>-1&&l.players[_]&&(_=""),l.players[_]&&(_=l.players[_].name),m.indexOf("booking=")>-1&&(_=""),"booking"===t[0]&&(_=""),"corner"===t[0]&&"1"===t[1]&&(_=""),"goal"===t[0]&&"1"===t[1]&&(_=""),"team"
1===t[0]&&("away"===t[1]||"home"===t[1])&&(_=""),"player_key"===t[0]&&(_=""),m===e.params&&m.replaceAll("market_name=","")===_&&(_=""),(n.toString().startsWith("cricket.player_")||n.toString().startsWith("cricket.innings_player_"))&&s.test(e.params)){let t=e.params.match(s);(null==t?void 0:t[1])&&(_=t[1])}}let I=e.outcome,A=e.outcome;if(A||(A=""),"home"===A&&(I=(null==(y=l.home)?void 0:y.abbreviation)||(null==(k=l.home)||null==(f=k.name)?void 0:f.toUpperCase().slice(0,3)),d&&(I="1"),A=null==(b=l.home)?void 0:b.name),"away"===A&&(I=(null==(g=l.away)?void 0:g.abbreviation)||(null==(N=l.away)||null==(x=N.name)?void 0:x.toUpperCase().slice(0,3)),d&&(I="2"),A=null==(S=l.away)?void 0:S.name),"draw"===A&&(I="X"),"over"===A&&(I=L&&p?p("sports.markets.over"):"O"),"under"===A&&(I=L&&p?p("sports.markets.under"):"U"),"no_goal"===A||"no_or_goal"===A){let e=p?p("sports.markets.noGoal"):"No Goal";A=e,I=e}A&&A.split("s-").length>1&&2===(A=(A=(A=A.split("s-")[1]).replace(/-/g," ")).replace(/\bfc\b/g,"FC")).split(" comma ").length&&(A="".concat(A.split(" comma ")[1]," ").concat(A.split(" comma ")[0])),A&&A.split("=").length>1&&"score"===A.split("=")[0]&&(A=A.split("=")[1]),I&&I.split("=").length>1&&"score"===I.split("=")[0]&&(I=I.split("=")[1]),A&&A.split("=").length>1&&"outcome"===A.split("=")[0]&&(A=A.split("=")[1]),I&&I.split("=").length>1&&"outcome"===I.split("=")[0]&&(I=I.split("=")[1]),A&&A.split("=").length>1&&"goals"===A.split("=")[0]&&(A=A.split("=")[1]),I&&I.split("=").length>1&&"goals"===I.split("=")[0]&&(I=I.split("=")[1]),A&&A.split("=").length>1&&"player"===A.split("=")[0]&&(A=o(A.split("=")[1],l)),I&&I.split("=").length>1&&"player"===I.split("=")[0]&&(I=o(I.split("=")[1],l)),A&&A.split("=").length>1&&"player_key"===A.split("=")[0]&&(A=""),I&&I.split("=").length>1&&"player_key"===I.split("=")[0]&&(I="");let E=e.label;if(A&&(null==v||null==(h=v.Outcomes)?void 0:h[A])&&c[n]){let t=v.Outcomes[A];e.params.split("&").map(e=>e.split("=")).forEach(e=>{t=t.replace("{{".concat(e[0],"}}"),e[1]),"total"===e[0]&&(_="")}),E="",A=t,I=t}if(A&&A.indexOf("_")>-1){let e=A.replace("_or_","_").split("_"),t=[],l=[],a=!0;e.forEach(e=>{"home"===e?(l.push("1"),t.push("1")):"away"===e?(l.push("2"),t.push("2")):"draw"===e?(l.push("X"),t.push("X")):(l.push(e),t.push(e)),isNaN(+e)&&(a=!1)}),A=t.join(a?"-":" or "),I=l.join(a?"-":" or ")}if(I=I&&decodeURIComponent(I),(null==(A=A&&decodeURIComponent(A))?void 0:A.includes("{{home}}"))||(null==A?void 0:A.includes("{{away}}"))){let e=u[n],t=null==(w=l.home)?void 0:w.name,a=null==(C=l.away)?void 0:C.name,o=d?"1":(0,i.$)(l.home),r=d?"2":(0,i.$)(l.away);A=null==A?void 0:A.replaceAll("{{home}}",null!=t?t:"1").replaceAll("{{away}}",null!=a?a:"2"),I=null==I?void 0:I.replaceAll("{{home}}",null!=o?o:"1").replaceAll("{{away}}",null!=r?r:"2"),e&&(A=I)}return((_=decodeURIComponent(_)).length>0||d)&&(A=I),E&&(A=E),!t&&_.length&&(A=""),{outcomeLabel:A||"",additionalLabel:_||"",outcomeLabelShort:I||""}}},93627:(e,t,l)=>{l.d(t,{m:()=>v});var a=l(37876),n=l(14232),o=l(72873),i=l(39357),r=l(28484),s=l(44777),c=l(72418),u=l(59113),m=l(8343);let d=e=>{var t,l,o;let{selection:r,matchup:m,marketKey:d,submarketKey:p,oddsFormat:v,oddsOrientation:h,showLabel:y=!0,displayOddsText:f,forceIsMarketClosed:k,containerClassName:b,showOutcomeLabel:g=!0,lineLeadingIconSrc:x,lineLeadingIconAlt:N,contentClassName:S,lineClassName:w,shouldOpenBetslip:C,isPlayerProps:L=!1,trackingHandler:_,labels:I}=e,A=(0,c._b)(m.id,d),{isSelected:E,betslipIndex:O}=(0,c.mf)(m.id,d,p,null==r?void 0:r.outcome,null==r?void 0:r.params),j=null==(o=m.markets)||null==(l=o[d])||null==(t=l.submarkets)?void 0:t[p],T=null==j?void 0:j.mollyBookie,D=null==j?void 0:j.provider,K=(0,n.useMemo)(()=>{if(y&&((null==r?void 0:r.label)||(null==r?void 0:r.headerLabel))){if(["over","under"].includes(r.outcome.toLowerCase()))return g?"".concat(I.outcomeLabelShort," ").concat(r.label):r.label;if(r.headerLabel){var e;let t=r.headerLabel.trim(),l=(null==(e=r.label)?void 0:e.trim())||"";return l===t||l.startsWith("".concat(t," "))||l.endsWith(" ".concat(t))||l.includes(" ".concat(t," "))?l:"".concat(t).concat(l?" ".concat(l):"")}return r.label}},[I.outcomeLabelShort,null==r?void 0:r.headerLabel,null==r?void 0:r.label,null==r?void 0:r.outcome,y,g]),B=(0,i.G)(m,m.sport.key,d,p,r,K,L),M=(0,n.useCallback)(e=>{null==_||_(),B(e,A,E,O,I,C)},[O,A,E,I,B,C,_]);return(0,a.jsx)(u.z,{odds:(null==r?void 0:r.price)||0,oddsFormat:v,line:K,lineLeadingIconSrc:x,lineLeadingIconAlt:N,displayOddsText:f,orientation:h,isMarketSuspended:(null==r?void 0:r.status)!==void 0&&r.status!==s.t.SelectionEnabled||void 0!==r&&!r.price,isMarketClosed:k||void 0===r,isSelected:E,onClick:M,containerClassName:b,contentClassName:S,lineClassName:w,mollyBookie
1:T,provider:D})},p=e=>{let t=(0,o.e)(!1,e.matchup,e.marketKey,e.submarketKey,!1,e.selection);return(0,a.jsx)(d,{...e,labels:t})},v=(0,n.memo)(function(e){let t=(0,m.UF)(e.selection);return void 0!==t?(0,a.jsx)(d,{...e,labels:t}):(0,a.jsx)(p,{...e})},(e,t)=>{if(e.marketKey!==t.marketKey||e.submarketKey!==t.submarketKey||e.oddsFormat!==t.oddsFormat||e.oddsOrientation!==t.oddsOrientation||e.showLabel!==t.showLabel||e.displayOddsText!==t.displayOddsText||e.forceIsMarketClosed!==t.forceIsMarketClosed||e.containerClassName!==t.containerClassName||e.showOutcomeLabel!==t.showOutcomeLabel||e.lineLeadingIconSrc!==t.lineLeadingIconSrc||e.lineLeadingIconAlt!==t.lineLeadingIconAlt||e.contentClassName!==t.contentClassName||e.lineClassName!==t.lineClassName||e.shouldOpenBetslip!==t.shouldOpenBetslip||e.isPlayerProps!==t.isPlayerProps||e.trackingHandler!==t.trackingHandler)return!1;if(e.selection===t.selection);else if(e.selection&&t.selection){if(!(0,r.V)(e.selection,t.selection))return!1}else if(e.selection!==t.selection)return!1;return((e,t,l,a)=>{var n,o,i,r,s,c;if(e===t)return!0;if(e.id!==t.id||e.sport.key!==t.sport.key)return!1;let u=null==(i=e.markets)||null==(o=i[l])||null==(n=o.submarkets)?void 0:n[a],m=null==(c=t.markets)||null==(s=c[l])||null==(r=s.submarkets)?void 0:r[a];return u===m||(null==u?void 0:u.mollyBookie)===(null==m?void 0:m.mollyBookie)&&(null==u?void 0:u.provider)===(null==m?void 0:m.provider)})(e.matchup,t.matchup,t.marketKey,t.submarketKey)})}}]);
2//# chunkId=01a0a835-d876-70d0-8c33-b3078ec8d8fe

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.