1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8776,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let a=(0,r.createContext)(void 0);e.s(["ToastProvider",0,function({children:e}){let[i,n]=(0,r.useState)([]),s=(0,r.useRef)(0),o=(0,r.useCallback)((e,t="success")=>{let r=s.current++;n(a=>[...a,{id:r,message:e,variant:t}]),setTimeout(()=>{n(e=>e.filter(e=>e.id!==r))},2500)},[]);return(0,t.jsxs)(a.Provider,{value:{showToast:o},children:[e,(0,t.jsx)("div",{className:"fixed bottom-6 left-1/2 -translate-x-1/2 z-[200] flex flex-col items-center gap-2 pointer-events-none w-[92%] max-w-sm","aria-live":"polite","aria-atomic":"true",children:i.map(e=>(0,t.jsx)("div",{role:"status",className:`w-full text-center px-4 py-2.5 rounded-lg shadow-xl text-sm font-semibold text-white backdrop-blur-xl border animate-in fade-in slide-in-from-bottom-4 duration-300 ${"error"===e.variant?"bg-red-950/90 border-red-500/40":"bg-[#0d1e33]/95 border-[#31a8d9]/40"}`,children:e.message},e.id))})]})},"useToast",0,function(){let e=(0,r.useContext)(a);if(void 0===e)throw Error("useToast must be used within a ToastProvider");return e}])},58453,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(48148),i=e.i(96853),n=e.i(8776),s=e.i(9165);let o=(e,t,r,a)=>{let i=a&&"logo"in a?{name:a.name,badge:a.logo,country:a.country}:a;return s.api.post("/favorites",{type:t,item_id:r,meta:i},{token:e})},l=(e,t,r)=>s.api.delete(`/favorites/${t}/${r}`,{token:e}),u=(0,r.createContext)(void 0);function c(e,t){try{let r=localStorage.getItem(e);return r?JSON.parse(r):t}catch{return t}}function d(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch{}}e.s(["FavoriteProvider",0,function({children:e}){let{isLoggedIn:f,token:m,isAuthLoaded:h}=(0,i.useAuth)(),{showToast:g}=(0,n.useToast)(),v=(0,a.useTranslations)("Toast"),[_,p]=(0,r.useState)([]),[b,x]=(0,r.useState)([]),[w,y]=(0,r.useState)({}),[S,k]=(0,r.useState)([]),[j,E]=(0,r.useState)({}),C=(0,r.useRef)(new Set),N=(0,r.useRef)(new Set),$=(0,r.useRef)(new Set),[,I]=(0,r.useState)(0),[,T]=(0,r.useState)(0),[,P]=(0,r.useState)(0),A=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(h)if(f&&m){let e;if(A.current===m)return;A.current=m,(e=m,s.api.get("/favorites",{token:e})).then(e=>{try{localStorage.removeItem("fav_matches"),localStorage.removeItem("fav_leagues"),localStorage.removeItem("fav_league_meta"),localStorage.removeItem("fav_team_ids"),localStorage.removeItem("fav_team_meta")}catch{}p([...new Set(e.matches??[])]);let t=(e.leagues??[]).map(e=>"string"==typeof e?{id:e}:e),r=t.map(e=>e.id),a={};for(let e of t)(e.name||e.badge||e.country)&&(a[e.id]={name:e.name??"",logo:e.badge??"",country:e.country??""});x([...new Set(r)]),y(a);let i=(e.teams??[]).map(e=>e.id),n={};for(let t of e.teams??[])n[t.id]={name:t.name,badge:t.badge,country:t.country};k(i),E(n)}).catch(()=>{A.current=null})}else{if("guest"===A.current)return;A.current="guest",p(c("fav_matches",[])),x(c("fav_leagues",[])),y(c("fav_league_meta",{})),k(c("fav_team_ids",[]).map(String)),E(c("fav_team_meta",{}))}},[h,f,m]),(0,r.useEffect)(()=>{if(h&&!f){A.current=null,p([]),x([]),y({}),k([]),E({});try{localStorage.removeItem("fav_matches"),localStorage.removeItem("fav_leagues"),localStorage.removeItem("fav_league_meta"),localStorage.removeItem("fav_team_ids"),localStorage.removeItem("fav_team_meta")}catch{}}},[h,f]),(0,t.jsx)(u.Provider,{value:{favoriteTeamIds:S,favoriteTeamMeta:j,toggleTeamFavorite:(e,t)=>{if($.current.has(e))return;let r=S.includes(e),a=r?S.filter(t=>t!==e):[...S,e];k(a);let i={...j};r?delete i[e]:t&&(i[e]=t),E(i),f||d("fav_team_meta",i),f&&m?($.current.add(e),P(e=>e+1),(r?l(m,"team",e):o(m,"team",e,t)).then(()=>g(r?v("favoriteRemoved"):v("favoriteAdded"),"success")).catch(()=>{k(S),E(j),g(v("favoriteError"),"error")}).finally(()=>{$.current.delete(e),P(e=>e+1)})):(d("fav_team_ids",a),g(r?v("favoriteRemoved"):v("favoriteAdded"),"success"))},isTeamFavorite:e=>S.includes(e),favoriteLeagueIds:b,favoriteLeagueMeta:w,toggleLeagueFavorite:(e,t)=>{if(N.current.has(e))return;let r=b.includes(e),a=r?b.filter(t=>t!==e):[...b,e];x(a);let i={...w};r?delete i[e]:t&&(i[e]=t),y(i),f||d("fav_league_meta",i),f&&m?(N.current.add(e),T(e=>e+1),(r?l(m,"league",e):o(m,"league",e,t)).then(()=>g(r?v("favoriteRemoved"):v("favoriteAdded"),"success")).catch(()=>{x(b),y(w),g(v("favoriteError"),"error")}).finally(()=>{N.current.delete(e),T(e=>e+1)})):(d("fav_leagues",a),g(r?v("favoriteRemoved"):v("favoriteAdded"),"success"))},isLeagueFavorite:e=>b.includes(e),favoriteMatchIds:_,toggleMatchFavorite:e=>{if(C.current.has(e))return;let t=_.includes(e),r=t?_.filter(t=>t!==e):[..._,e];p(r),f&&m?(C.current.add(e),I(e=>e+1),(t?l(m,"match",e):o(m,"match",e)).then(()=>g(t?v("favoriteRemoved"):v("favoriteAdded"),"success")).catch(()=>{p(_),g(v("favoriteError"),"error")}).finally(()=>{C.current.delete(e),I(e=>e+1)})):(d("fav_matches",r),g(t?v("favoriteRemoved"):v("favoriteAdded"),"success"))},isMatchFavorite:e=>_.includes(e),isMatchFavoritePending:e=>C.current.has(e),isLeagueFavoritePending:e=>N.current.has(e),isTeamFavoritePending:e=>$.current.has(e)},children:e})},"useFavorite",0,function(){let e=(0,r.useContext)(u);if(void 0===e)throw Error("useFavorite must be used within a FavoriteProvider");return e}],58453)},33930,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let a=(0,r.createContext)(null);e.s(["LiveSocketProvider",0,function({children:e}){let[i,n]=(0,r.useState)("connecting"),s=(0,r.useRef)(new Map),o=(0,r.useRef)(null),l=(0,r.useRef)(void 0),u=(0,r.useRef)(5e3),c=(0,r.useRef)(!0),d=(0,r.useRef)(0);(0,r.useEffect)(()=>{c.current=!0;let e=()=>{if(!c.current)return;d.current=Date.now();let t=o.current;t&&(t.onopen=null,t.onmessage=null,t.onclose=null,t.onerror=null,t.close()),n("connecting");let r=new WebSocket("wss://api.liverkick.com/api/v1/ws/live");o.current=r,r.onopen=()=>{c.current&&o.current===r&&(d.current=Date.now(),n("open"),u.current=5e3)},r.onmessage=e=>{if(c.current&&o.current===r){d.current=Date.now();try{let{type:t,data:r}=JSON.parse(e.data),a=s.current.get(t);if(a)for(let e of a)e(r)}catch{}}},r.onclose=()=>{c.current&&o.current===r&&(n("closed"),l.current=setTimeout(e,u.current),u.current=Math.min(2*u.current,6e4))},r.onerror=()=>r.close()};e();let t=()=>{if("visible"!==document.visibilityState||!c.current)return;let t=o.current,r=Date.now()-d.current;null!==t&&(t.readyState===WebSocket.OPEN||t.readyState===WebSocket.CONNECTING)&&r<15e4||(clearTimeout(l.current),u.current=5e3,e())};return document.addEventListener("visibilitychange",t),()=>{c.current=!1,document.removeEventListener("visibilitychange",t),clearTimeout(l.current),o.current?.close()}},[]);let f=(0,r.useCallback)((e,t)=>(s.current.has(e)||s.current.set(e,new Set),s.current.get(e).add(t),()=>{s.current.get(e)?.delete(t)}),[]);return(0,t.jsx)(a.Provider,{value:{state:i,subscribe:f},children:e})},"useLiveSocket",0,function(){let e=(0,r.useContext)(a);if(!e)throw Error("useLiveSocket must be used inside LiveSocketProvider");return e}])},43668,e=>{"use strict";var t=e.i(9165);e.s(["userSettingsApi",0,{get:e=>t.api.get("/user-settings",{token:e}),update:(e,r)=>t.api.put("/user-settings",r,{token:e})}])},75696,e=>{"use strict";var t=e.i(61745),r=e.i(43476);e.s(["default",0,function({locale:e,...a}){if(!e)throw Error(void 0);return(0,r.jsx)(t.IntlProvider,{locale:e,...a})}])},8341,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0});var a={cancelIdleCallback:function(){return s},requestIdleCallback:function(){return n}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},s="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={ESCAPE_REGEX:function(){return s},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},s=/[&><\u2028\u2029]/g,o={"&":"&",'"':""","'":"'","<":"<",">":">"},l=/[&"'<>]/g;function u(e){return e.replace(s,e=>n[e])}function c(e){return e.replace(l,e=>o[e])}},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return x},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return p}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(55682),s=e.r(90809),o=e.r(43476),l=n._(e.r(74080)),u=s._(e.r(71645)),c=e.r(42732),d=e.r(22737),f=e.r(8341),m=e.r(19083),h=new Map,g=new Set,v=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:i=null,dangerouslySetInnerHTML:n,children:s="",strategy:o="afterInteractive",onError:u,stylesheets:c}=e,f=r||t;if(f&&g.has(f))return;if(h.has(t)){g.add(f),h.get(t).then(a,u);return}let m=()=>{i&&i(),g.add(f)},v=document.createElement("script"),_=new Promise((e,t)=>{v.addEventListener("load",function(t){e(),a&&a.call(this,t),m()}),v.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});n?(v.innerHTML=n.__html||"",m()):s?(v.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(v.src=t,h.set(t,_)),(0,d.setAttributesFromProps)(v,e),"worker"===o&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",o),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(v)};function _(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))}):v(e)}function p(e){e.forEach(_),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function b(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:i=null,strategy:n="afterInteractive",onError:s,stylesheets:d,...h}=e,{updateScripts:_,scripts:p,getIsSsr:b,appDir:x,nonce:w}=(0,u.useContext)(c.HeadManagerContext);w=h.nonce||w;let y=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;y.current||(i&&e&&g.has(e)&&i(),y.current=!0)},[i,t,r]);let S=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!S.current){if("afterInteractive"===n)v(e);else"lazyOnload"===n&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>v(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))}));S.current=!0}},[e,n]),("beforeInteractive"===n||"worker"===n)&&(_?(p[n]=(p[n]||[]).concat([{id:t,src:r,onLoad:a,onReady:i,onError:s,...h,nonce:w}]),_(p)):b&&b()?g.add(t||r):b&&!b()&&v({...e,nonce:w})),x){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===n)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...h,id:t}]))})`}});else return l.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:w,crossOrigin:h.crossOrigin}:{as:"script",nonce:w,crossOrigin:h.crossOrigin}),(0,o.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([r,{...h,id:t}]))})`}});"afterInteractive"===n&&r&&l.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:w,crossOrigin:h.crossOrigin}:{as:"script",nonce:w,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let x=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},98150,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(48148),i=e.i(44705);e.s(["default",0,function(){let e=(0,a.useTranslations)("CookieConsent"),[n,s]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=null;try{e=localStorage.getItem("cookieConsent")}catch{}if(e)return;let t=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(t)},[]);let o=e=>{try{localStorage.setItem("cookieConsent",e)}catch{}s(!1)};return n?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"fixed bottom-6 left-1/2 z-[100] w-[95%] max-w-[1400px] cookie-consent-enter",children:(0,t.jsx)("div",{className:"bg-black/90 backdrop-blur-xl border border-[#31a8d9]/50 rounded-2xl shadow-[0_20px_50px_rgba(0,0,0,0.5),0_0_20px_rgba(49,168,217,0.1)] overflow-hidden",children:(0,t.jsxs)("div",{className:"px-6 py-5 md:py-6 flex flex-col lg:flex-row items-center justify-between gap-6 relative",children:[(0,t.jsxs)("div",{className:"flex-1 lg:pr-10",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-1.5",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-[#31a8d9] shadow-[0_0_8px_#31a8d9]"}),(0,t.jsx)("h3",{className:"text-white text-xl font-black tracking-widest uppercase",children:e("title")})]}),(0,t.jsxs)("p",{className:"text-gray-300 text-sm md:text-base leading-relaxed",children:[e("desc1")," ",(0,t.jsxs)("span",{className:"opacity-80",children:[e("desc2"),(0,t.jsx)(i.Link,{href:"/terms",className:"text-white underline underline-offset-4 hover:text-[#31a8d9] transition-colors ml-1 font-medium",children:e("link")})]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 w-full lg:w-auto lg:order-2 shrink-0",children:[(0,t.jsx)("button",{onClick:()=>o("accepted"),className:"px-10 py-3.5 bg-[#0d1e33] hover:bg-[#31a8d9]/10 border border-[#31a8d9] text-white text-xs md:text-sm font-black rounded-lg tracking-[0.2em] transition-all uppercase whitespace-nowrap shadow-xl",children:e("accept")}),(0,t.jsx)("button",{onClick:()=>o("refused"),className:"px-10 py-3.5 bg-[#0d1e33] hover:bg-[#31a8d9]/10 border border-[#31a8d9] text-white text-xs md:text-sm font-black rounded-lg tracking-[0.2em] transition-all uppercase whitespace-nowrap shadow-xl",children:e("refuse")})]}),(0,t.jsx)("button",{onClick:()=>{s(!1)},className:"absolute top-4 right-4 lg:static lg:order-3 bg-[#4b4b4b] hover:bg-[#666] rounded-full p-1.5 transition-colors shadow-lg","aria-label":"Close",children:(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})})]})})})}):null}])},99792,e=>{"use strict";var t=e.i(71645),r=e.i(96853),a=e.i(58453),i=e.i(90281),n=e.i(43668),s=e.i(33930);let o={show_favourites:!0,show_guru_guide:!0},l={match_alert:!0,muted_teams:[],muted_leagues:[],kickoff_alert:!0,fulltime_alert:!0,yellow_card_alert:!0,red_card_alert:!0,goal_alert:!0,halftime_alert:!0},u=new Set(["1H","2H","ET1","ET2"]),c=new Set(["HT","ET"]),d=new Set(["FT","AET","After Pen.","After ET","Finished"]);function f(e,t,r){if(void 0!==globalThis.window&&"granted"===Notification.permission)try{new Notification(e,{body:t,icon:r||"/favicon.ico",silent:!1})}catch{}}function m(e){if(!e||""===e||"?"===e)return;let t=Number.parseInt(e,10);return Number.isNaN(t)?void 0:t}function h(e){if(e.substitution_out||e.substitution_in)return{out:e.substitution_out??"",in:e.substitution_in??""};if(e.substitution){let[t="",r=""]=e.substitution.split("|").map(e=>e.trim());return{out:t,in:r}}return{out:"",in:""}}var g=e.i(90549);e.s(["NotificationManager",0,function(){let{token:e,isLoggedIn:v,isAuthLoaded:_}=(0,r.useAuth)(),{favoriteMatchIds:p,favoriteLeagueIds:b,favoriteTeamIds:x}=(0,a.useFavorite)(),[w,y]=(0,t.useState)(null),[S,k]=(0,t.useState)(null);return(0,t.useEffect)(()=>{(0,g.registerServiceWorker)()},[]),(0,t.useEffect)(()=>{if(_){if(!v||!e)return void y(l);i.notificationApi.get(e).then(y).catch(()=>{y(l)})}},[_,v,e]),(0,t.useEffect)(()=>
1{if(_){if(!v||!e)return void k(o);n.userSettingsApi.get(e).then(k).catch(()=>{k(o)})}},[_,v,e]),(0,t.useEffect)(()=>{_&&v&&e&&"Notification"in window&&"granted"===Notification.permission&&(0,g.subscribeToPush)(e)},[_,v,e]),!function(e,r,a,i,n){let g=(0,t.useRef)(new Map),v=(0,t.useRef)(new Set),_=(0,t.useRef)(new Set),p=(0,t.useRef)(new Set),b=(0,t.useRef)(l),x=(0,t.useRef)(o);(0,t.useEffect)(()=>{v.current=new Set(e)},[e]),(0,t.useEffect)(()=>{_.current=new Set(r)},[r]),(0,t.useEffect)(()=>{p.current=new Set(a.map(String))},[a]),(0,t.useEffect)(()=>{b.current=i??l},[i]),(0,t.useEffect)(()=>{x.current=n??o},[n]);let{subscribe:w}=(0,s.useLiveSocket)();(0,t.useEffect)(()=>w("livescore",e=>{if(!Array.isArray(e))return;let t=b.current,r=x.current;if(t.match_alert&&r.show_favourites)for(let r of e){let e=g.current.get(r.match_id);if(!e&&"1"!==r.match_live)continue;if(!e){let e=v.current.has(r.match_id),t=_.current.has(String(r.league_id)),a=p.current.has(String(r.match_hometeam_id))||p.current.has(String(r.match_awayteam_id));if(!e&&!t&&!a)continue}if(t.muted_leagues.includes(String(r.league_id))||t.muted_teams.includes(r.match_hometeam_id)||t.muted_teams.includes(r.match_awayteam_id))continue;if(!e){g.current.set(r.match_id,function(e){let t=m(e.match_hometeam_score),r=m(e.match_awayteam_score),a=e.match_status??"",i=u.has(a)||c.has(a)||d.has(a),n=c.has(a)||d.has(a);return{scoreKey:void 0!==t&&void 0!==r?`${t}-${r}`:"?",cardsCount:(e.cards??[]).length,homeSubsCount:(e.substitutions?.home??[]).length,awaySubsCount:(e.substitutions?.away??[]).length,status:a,firedKickoff:i,firedHalftime:n,firedFulltime:d.has(a)}}(r));continue}let a=v.current.has(r.match_id);g.current.set(r.match_id,function(e,t,r,a){let i=m(e.match_hometeam_score),n=m(e.match_awayteam_score),s=void 0!==i&&void 0!==n?`${i}-${n}`:"?",o=e.match_status??"",l=e.cards??[],g=e.substitutions?.home??[],v=e.substitutions?.away??[],_={scoreKey:s,cardsCount:l.length,homeSubsCount:g.length,awaySubsCount:v.length,status:o,firedKickoff:t.firedKickoff,firedHalftime:t.firedHalftime,firedFulltime:t.firedFulltime},p=e.match_hometeam_name,b=e.match_awayteam_name,x=e.league_logo||e.team_home_badge||void 0,w=e.match_live_minute?`${e.match_live_minute}'`:o;if((r.kickoff_alert??!0)&&!_.firedKickoff&&u.has(o)){let t="1H"===o?"Kickoff":"Second Half";f(`ð¢ ${t} ${p} vs ${b}`,`${e.league_name} ⢠${e.match_time}`,x),_.firedKickoff=!0}!_.firedHalftime&&c.has(o)&&(a&&(r.halftime_alert??!0)&&f(`â¸ï¸ Half Time ${p} ${i??"?"} - ${n??"?"} ${b}`,`${e.league_name}`,x),_.firedHalftime=!0),!_.firedFulltime&&d.has(o)&&(a&&(r.fulltime_alert??!0)&&f(`ð Full Time ${p} ${i??"?"} - ${n??"?"} ${b}`,`${e.league_name} ⢠${o}`,x),_.firedFulltime=!0),a&&(r.goal_alert??!0)&&"?"!==s&&"?"!==t.scoreKey&&s!==t.scoreKey&&f(`â½ Goal! ${p} ${i} - ${n} ${b}`,`${e.league_name} ⢠${w}`,x);for(let e=t.cardsCount;e<l.length;e++){let t=l[e];if(!a)continue;let i=t.card.toLowerCase().includes("red");if(i&&!(r.red_card_alert??!0)||!i&&!(r.yellow_card_alert??!0))continue;let n=t.home_fault||t.away_fault,s=t.home_fault?p:b;f(`${i?"ð¥":"ð¨"} ${i?"Red Card":"Yellow Card"} ${p} vs ${b}`,`${n} (${s}) ⢠${t.time}'`,x)}if(a){for(let e=t.homeSubsCount;e<g.length;e++){let{out:t,in:r}=h(g[e]);f(`ð Substitution ${p}`,`${t} â ${r} ⢠${g[e].time}'`)}for(let e=t.awaySubsCount;e<v.length;e++){let{out:t,in:r}=h(v[e]);f(`ð Substitution ${b}`,`${t} â ${r} ⢠${v[e].time}'`)}}return _}(r,e,t,a))}}),[w])}(p,b,x,w,S),null}],99792)},29680,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(96853),i=e.i(90549);e.s(["NotificationPrompt",0,function(){let{isLoggedIn:e,isAuthLoaded:n,token:s}=(0,a.useAuth)(),[o,l]=(0,r.useState)(null),[u,c]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"Notification"in window&&(l(Notification.permission),sessionStorage.getItem("noti-prompt-dismissed")&&c(!0))},[]);let d=async()=>{let e=await Notification.requestPermission();l(e),"granted"===e&&s&&(0,i.subscribeToPush)(s),c(!0)};return n&&e&&"default"===o&&!u?(0,t.jsx)("div",{className:"fixed bottom-20 left-1/2 -translate-x-1/2 z-50 w-full max-w-sm px-4",children:(0,t.jsxs)("div",{className:"bg-[#141923] border border-white/10 rounded-2xl shadow-2xl p-4 flex flex-col gap-3",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"text-2xl shrink-0",children:"ð"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-white text-sm font-semibold",children:"à¹à¸à¸´à¸à¸à¸²à¸£à¹à¸à¹à¸à¹à¸à¸·à¸à¸"}),(0,t.jsx)("p",{className:"text-gray-400 text-xs mt-0.5",children:"รัà¸à¹à¸à¹à¸à¹à¸à¸·à¸à¸à¸à¸±à¸à¸à¸µà¹à¸¡à¸·à¹à¸à¸à¸µà¸¡à¸à¸µà¹à¸à¸¸à¸à¸à¸´à¸à¸à¸²à¸¡à¸à¸³à¸à¸£à¸°à¸à¸¹"})]})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("button",{onClick:d,className:"flex-1 bg-[#31a8d9] hover:bg-[#259bcc] text-white text-sm font-semibold py-2 rounded-xl transition-colors",children:"à¸à¸à¸¸à¸à¸²à¸"}),(0,t.jsx)("button",{onClick:()=>{sessionStorage.setItem("noti-prompt-dismissed","1"),c(!0)},className:"px-4 text-gray-500 hover:text-gray-300 text-sm transition-colors",children:"à¹à¸¡à¹à¹à¸à¹à¸à¸à¸à¸à¸µà¹"})]})]})}):null}])}]);
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.