PageSourceSearch

https://xyes.ai/_next/static/chunks/3802.f7ae764d2a022a14.js

js xyes.ai collected 2026-10-05 14:50:13 UTC 2,833 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3802],{18054:function(e,t,n){n.d(t,{q:function(){return o}});var r=n(2265),a=n(49337);let o=(e,t)=>{let n=(0,r.useCallback)(()=>{let t=a.GV.ui_url||"";if(document.querySelector('script[src="'.concat(t,'"]'))){e(!0);return}let n=document.createElement("script");n.id="betby-script",n.src=t,n.async=!0,n.onload=()=>{e(!0)},n.onerror=t=>{e(!1)},document.head.appendChild(n)},[e]);(0,r.useEffect)(()=>{t||n()},[t,n])}},17475:function(e,t,n){n.d(t,{O:function(){return c}});var r=n(2265),a=n(16593),o=n(91055),l=n(55447);let c=(e,t,n,c)=>{let i=(0,r.useMemo)(()=>new URL("".concat("https://api.xyes.com/api/v1"+l.Hv.betby.gettokenES256)),[]),u=(0,r.useMemo)(()=>(0,o.gd)(t||"en","betby"),[t]),s=(0,r.useMemo)(()=>e||"USD",[e]);return(0,a.a)({queryKey:["betbyToken",u,s,n],queryFn:async()=>(await l.ZP.post(i.toString(),{language:u,currency:s})).data,placeholderData:()=>({message:"",token:"",authenticated:n}),refetchOnMount:!1,refetchOnWindowFocus:!1,enabled:c})}},31301:function(e,t,n){var r=n(57437),a=n(66274),o=n(91055),l=n(43161),c=n(59062),i=n(2265),u=n(31691),s=n(82156),d=n(1899),m=n(89414),h=n(47080),p=n(49337),y=n(18054),f=n(89011);t.Z=e=>{let{response:t,refetch:n}=e,b=(0,i.useRef)(null),g=(0,c.K$)(),{loading:v}=(0,f.E)(),w=(0,u.Z)(),k=(0,s.Z)(w.breakpoints.down("md")),E=(0,a.tv)(),{getLink:x}=(0,l.m)(),[C,_]=(0,i.useState)(!1);(0,y.q)(_,v);let R=(0,i.useCallback)(e=>({brand_id:"".concat(p.GV.brand_id),token:e,themeName:"".concat(p.GV.theme_name),lang:(0,o.gd)(g.language,"betby"),target:document.getElementById("betby"),isDemo:!e,widgetName:"promo",widgetParams:{placeholder:"home_top",onBannerClick:e=>{let t=encodeURIComponent(e.url);E.push(x("sports/?bt-path=".concat(t)))}},onTokenExpired:async()=>{var e,t;return null!==(t=null===(e=(await n()).data)||void 0===e?void 0:e.token)&&void 0!==t?t:null},onSessionRefresh:async()=>{if(await n(),b.current){let e=await n();b.current.updateOptions({token:e})}}}),[x,n,E,g.language]),Z=(0,i.useCallback)(e=>{try{var t;if("function"!=typeof window.BTRenderer)throw Error("BTRenderer is not available");null===(t=b.current)||void 0===t||t.kill();let n=R(e);b.current=new window.BTRenderer().initialize(n)}catch(e){}},[R]);return(0,i.useEffect)(()=>()=>{try{var e;null===(e=b.current)||void 0===e||e.kill()}catch(e){e.name}},[]),(0,i.useEffect)(()=>{(async()=>{if(!v&&C){var e;Z(null!==(e=null==t?void 0:t.token)&&void 0!==e?e:null)}})()},[t,C,v]),(0,r.jsx)(d.Z,{id:"betby",style:{width:"100%",height:"auto"},children:(0,r.jsx)(m.ZP,{container:!0,spacing:1,children:Array.from(Array(k?1:3)).map((e,t)=>(0,r.jsx)(m.ZP,{item:!0,xs:12,sm:12,lg:4,xl:4,display:"flex",justifyContent:"center",my:1.5,children:(0,r.jsx)(h.Z,{variant:"rectangular",width:"100%",height:k?142:152,sx:{borderRadius:2}})},t))})})}}}]);

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.