PageSourceSearch

https://blast.tv/ssr-assets/2024-10-15/TournamentSchedule-DHfHksMC.js

js blast.tv collected 2026-10-02 03:48:42 UTC 21,453 bytes, 5 lines download raw bytes

1import{j as s}from"./jsx-runtime-gV1wv1qP.js";import{T as ie}from"./Tooltip-DGB6wZpq.js";import{r as S,R as O,L as oe}from"./chunk-OIYGIGL5-fdmY2nYp.js";import{t as ae}from"./trackUserAction-DzjZYkxx.js";import{C as U}from"./ClientDate-BG7mYkwy.js";import{D as A}from"./luxon-nsqPv9fP.js";import{C}from"./client-only-Dklc0vo8.js";import{c as P}from"./index-DsWCR0wz.js";import{g as ce}from"./index-5dadqR1s.js";import{g as ue}from"./generateImageUrl-DLH3iL-N.js";import{u as fe}from"./useDateSelector-CzczcOw3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(n){for(var r=1;r<arguments.length;r++){var l=arguments[r];if(l!=null)for(var i in l)l.hasOwnProperty(i)&&(n[i]=l[i])}return n})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:portal-frontend-ssr":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9df5627c-ccac-4f54-b383-b36f41874701",e._sentryDebugIdIdentifier="sentry-dbid-9df5627c-ccac-4f54-b383-b36f41874701")}catch{}})();const de=()=>s.jsx("svg",{width:"20",height:"10",viewBox:"0 0 20 10",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M9.25 10H5C3.58333 10 2.39583 9.52083 1.4375 8.5625C0.479167 7.60417 0 6.41667 0 5C0 3.58333 0.479167 2.39583 1.4375 1.4375C2.39583 0.479167 3.58333 0 5 0H9.25V1.5H5C4 1.5 3.16667 1.83333 2.5 2.5C1.83333 3.16667 1.5 4 1.5 5C1.5 6 1.83333 6.83333 2.5 7.5C3.16667 8.16667 4 8.5 5 8.5H9.25V10ZM6.125 5.75V4.25H13.875V5.75H6.125ZM10.75 10V8.5H15C16 8.5 16.8333 8.16667 17.5 7.5C18.1667 6.83333 18.5 6 18.5 5C18.5 4 18.1667 3.16667 17.5 2.5C16.8333 1.83333 16 1.5 15 1.5H10.75V0H15C16.4167 0 17.6042 0.479167 18.5625 1.4375C19.5208 2.39583 20 3.58333 20 5C20 6.41667 19.5208 7.60417 18.5625 8.5625C17.6042 9.52083 16.4167 10 15 10H10.75Z"})});function me({shareText:e="Share",hoverText:t="Link copied to clipboard"}){const[n,r]=S.useState(!1),l=()=>{window.navigator.clipboard.writeText(window.location.href),ae({callToAction:{type:"copyRouteToClipboard",route:window.location.pathname},analyticsArgs:{category:"Article",label:"article module"}}),r(!0),setTimeout(()=>{r(!1)},2e3)};return s.jsx(ie,{placement:"top",disableOnHover:!0,isTooltipOpen:n,content:t,children:s.jsxs("button",{className:"fill-primary-100 text-primary-100 font-style-label-l4 md:font-style-label-l3 flex items-center gap-1 text-right transition-all hover:opacity-90 max-md:px-1",onClick:l,"aria-label":"Share",children:[e,s.jsx(de,{})]})})}function dt({editorName:e,avatarImage:t,releaseDate:n,createdAt:r}){const l=e.trim();if(!l||!t)return null;const i=n??r;return s.jsxs("div",{className:"mb-3 flex w-fit max-w-full flex-wrap items-center gap-2",children:[s.jsx("span",{className:"text-foreground-100 font-style-body-b3",children:l}),s.jsx("div",{className:"bg-foreground-100 size-1 shrink-0 rounded-full","aria-hidden":!0}),s.jsx("time",{dateTime:i,className:"font-style-body-b3",children:s.jsx(U,{isoTime:i,format:"LLLL dd, yyyy"})}),s.jsx("div",{className:"bg-foreground-100 size-1 shrink-0 rounded-full","aria-hidden":!0}),s.jsx("time",{dateTime:i,className:"font-style-body-b3",children:s.jsx(U,{isoTime:i,format:"h:mm a"})}),s.jsx("div",{className:"bg-foreground-100 size-1 shrink-0 rounded-full","aria-hidden":!0}),s.jsx(me,{})]})}function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?F(Object(n),!0).forEach(function(r){ye(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ye(e,t,n){return(t=pe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pe(e){var t=he(e,"string");return typeof t=="symbol"?t:t+""}function he(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function L(e){return e._type==="span"&&"text"in e&&typeof e.text=="string"&&(typeof e.marks>"u"||Array.isArray(e.marks)&&e.marks.every(t=>typeof t=="string"))}function G(e){return typeof e._type=="string"&&e._type[0]!=="@"&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(t=>typeof t._key=="string"))&&"children"in e&&Array.isArray(e.children)&&e.children.every(t=>typeof t=="object"&&"_type"in t)}function Q(e){return G(e)&&"listItem"in e&&typeof e.listItem=="string"&&(typeof e.level>"u"||typeof e.level=="number")}function X(e){return e._type==="@list"}function Y(e){return e._type==="@span"}function ee(e){return e._type==="@text"}const R=["strong","em","code","underline","strike-through"];function xe(e,t,n){if(!L(e)||!e.marks)return[];if(!e.marks.length)return[];const r=e.marks.slice(),l={};return r.forEach(i=>
1{l[i]=1;for(let c=t+1;c<n.length;c++){const u=n[c];if(u&&L(u)&&Array.isArray(u.marks)&&u.marks.indexOf(i)!==-1)l[i]++;else break}}),r.sort((i,c)=>ge(l,i,c))}function ge(e,t,n){const r=e[t],l=e[n];if(r!==l)return l-r;const i=R.indexOf(t),c=R.indexOf(n);return i!==c?i-c:t.localeCompare(n)}function be(e){var t,n;const{children:r}=e,l=(t=e.markDefs)!=null?t:[];if(!r||!r.length)return[];const i=r.map(xe),c={_type:"@span",children:[],markType:"<unknown>"};let u=[c];for(let x=0;x<r.length;x++){const b=r[x];if(!b)continue;const g=i[x]||[];let o=1;if(u.length>1)for(o;o<u.length;o++){const m=((n=u[o])==null?void 0:n.markKey)||"",d=g.indexOf(m);if(d===-1)break;g.splice(d,1)}u=u.slice(0,o);let f=u[u.length-1];if(f){for(const m of g){const d=l?.find(p=>p._key===m),h=d?d._type:m,a={_type:"@span",_key:b._key,children:[],markDef:d,markType:h,markKey:m};f.children.push(a),u.push(a),f=a}if(L(b)){const m=b.text.split(`
2`);for(let d=m.length;d-- >1;)m.splice(d,0,`
3`);f.children=f.children.concat(m.map(d=>({_type:"@text",text:d})))}else f.children=f.children.concat(b)}}return c.children}function ke(e,t){const n=[];let r;for(let l=0;l<e.length;l++){const i=e[l];if(i){if(!Q(i)){n.push(i),r=void 0;continue}if(!r){r=N(i,l,t),n.push(r);continue}if(we(i,r)){r.children.push(i);continue}if((i.level||1)>r.level){const c=N(i,l,t);if(t==="html"){const u=r.children[r.children.length-1],x=K(K({},u),{},{children:[...u.children,c]});r.children[r.children.length-1]=x}else r.children.push(c);r=c;continue}if((i.level||1)<r.level){const c=n[n.length-1],u=c&&E(c,i);if(u){r=u,r.children.push(i);continue}r=N(i,l,t),n.push(r);continue}if(i.listItem!==r.listItem){const c=n[n.length-1],u=c&&E(c,{level:i.level||1});if(u&&u.listItem===i.listItem){r=u,r.children.push(i);continue}else{r=N(i,l,t),n.push(r);continue}}console.warn("Unknown state encountered for block",i),n.push(i)}}return n}function we(e,t){return(e.level||1)===t.level&&e.listItem===t.listItem}function N(e,t,n){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:n,level:e.level||1,listItem:e.listItem,children:[e]}}function E(e,t){const n=t.level||1,r=t.listItem||"normal",l=typeof t.listItem=="string";if(X(e)&&(e.level||1)===n&&l&&(e.listItem||"normal")===r)return e;if(!("children"in e))return;const i=e.children[e.children.length-1];return i&&!L(i)?E(i,t):void 0}function te(e){let t="";return e.children.forEach(n=>{ee(n)?t+=n.text:Y(n)&&(t+=te(n))}),t}const je="html",ve=["block","list","listItem","marks","types"],Te=["listItem"],Oe=["_key"];function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?V(Object(n),!0).forEach(function(r){_e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function _e(e,t,n){return(t=Se(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(e){var t=Ie(e,"string");return typeof t=="symbol"?t:t+""}function Ie(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $(e,t){if(e==null)return{};var n,r,l=Ne(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function Ne(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}const Pe={number:({children:e})=>s.jsx("ol",{children:e}),bullet:({children:e})=>s.jsx("ul",{children:e})},Le=({children:e})=>s.jsx("li",{children:e}),Me=({children:e,value:t})=>s.jsx("a",{href:t?.href,children:e}),Be={textDecoration:"underline"},De={em:({children:e})=>s.jsx("em",{children:e}),strong:({children:e})=>s.jsx("strong",{children:e}),code:({children:e})=>s.jsx("code",{children:e}),underline:({children:e})=>s.jsx("span",{style:Be,children:e}),"strike-through":({children:e})=>s.jsx("del",{children:e}),link:Me},I=(e,t)=>`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,ne=e=>I(`block type "${e}"`,"types"),Ae=e=>I(`mark type "${e}"`,"marks"),Ce=e=>I(`block style "${e}"`,"block"),Ee=e=>I(`list style "${e}"`,"list"),$e=e=>I(`list item style "${e}"`,"listItem");function He(e){console.warn(e)}const W={display:"none"},Ue=({value:e,isInline:t})=>{const n=ne(e._type);return t?s.jsx("span",{style:W,children:n}):s.jsx("div",{style:W,children:n})},Fe=({markType:e,children:t})=>s.jsx("span",{className:`unknown__pt__mark__${e}`,children:t}),Ke=({children:e})=>s.jsx("p",{children:e}),Re=({children:e})=>s.jsx("ul",{children:e}),Ve=({children:e})=>s.jsx("li",{children:e}),We=()=>s.jsx("br",{}),ze={normal:({children:e})=>s.jsx("p",{children:e}),blockquote:({children:e})=>s.jsx("blockquote",{children:e}),h1:({children:e})=>s.jsx("h1",{children:e}),h2:({children:e})=>s.jsx("h2",{children:e}),h3:({children:e})=>s.jsx("h3",{children:e}),h4:({children:e})=>s.jsx("h4",{children:e}),h5:({children:e})=>s.jsx("h5",{children:e}),h6:({children:e})=>s.jsx("h6",{children:e})},z={types:{},block:ze,marks:De,list:Pe,listItem:Le,hardBreak:We,unknownType:Ue,unknownMark:Fe,unknownList:Re,unknownListItem:Ve,unknownBlockStyle:Ke};function qe(e,t){const{block:n,list:r,listItem:l,marks:i,types:c}=t,u=$(t,ve);return v(v({},e),{},{block:_(e,t,"block"),list:_(e,t,"list"),listItem:_(e,t,"listItem"),marks:_(e,t,"marks"),types:_(e,t,"types")},u)}function _(e,t,n){const r=t[n],l=e[n];return typeof r=="function"||r&&typeof l=="function"?r:r?v(v({},l),r):l}function mt({value:e,components:t,listNestingMode:n,onMissingComponent:r=He}){const l=r||Je,i=Array.isArray(e)?e:[e],c=ke(i,n||je),u=S.useMemo(()=>t?qe(z,t):z,[t]),x=S.useMemo(()=>Ze(u,l),[u,l]),b=c.map((g,o)=>x({node:g,index:o,isInline:!1,renderNode:x}));return s.jsx(s.Fragment,{children:b})}const Ze=(e,t)=>{function n(o){const{node:f,index:m,isInline:d}=o,h=f._key||`node-${m}`;return X(f)?i(f,m,h):Q(f)?l(f,m,h):Y(f)?c(f,m,h):r(f)?g(f,m,h,d):G(f)?u(f,m,h,d):ee(f)?x(f,h):b(f,m,h,d)}function r(o){return o._type in e.types}function l(o,f,m){const d=q({node:o,index:f,isInline:!1,renderNode:n}),h=e.listItem,a=(typeof h=="function"?h:h[o.listItem])||e.unknownListItem;if(a===e.unknownListItem){const y=o.listItem||"bullet";t($e(y),{type:y,nodeType:"listItemStyle"})}let p=d.children;if(o.style&&o.style!=="normal"){const{listItem:y}=o,k=$(o,Te);p=n({node:k,index:f,isInline:!1})}return s.jsx(a,{value:o,index:f,isInline:!1,renderNode:n,children:p},m)}function i(o,f,m){const d=o.children.map((p,y)=>n({node:p._key?p:v(v({},p),{},{_key:`li-${f}-${y}`}),index:y,isInline:!1})),h=e.list,a=(typeof h=="function"?h:h[o.listItem])||e.unknownList;if(a===e.unknownList){const p=o.listItem||"bullet";t(Ee(p),{nodeType:"listStyle",type:p})}return s.jsx(a,{value:o,index:f,isInline:!1,renderNode:n,children:d},m)}function c(o,f,m){const{markDef:d,markType:h,markKey:a}=o,p=e.marks[h]||e.unknownMark,y=o.children.map((k,w)=>n({node:k,index:w,isInline:!0}));return p===e.unknownMark&&t(Ae(h),{nodeType:"mark",type:h}),s.jsx(p,{text:te(o),value:d,markType:h,markKey:a,renderNode:n,children:y},m)}function u(o,f,m,d){const h=q({node:o,index:f,isInline:d,renderNode:n}),{_key:a}=h,p=$(h,Oe),y=p.node.style||"normal",k=(typeof e.block=="function"?e.block:e.block[y])||e.unknownBlockStyle;return k===e.unknownBlockStyle&&t(Ce(y),{nodeType:"blockStyle",type:y}),s.jsx(k,v(v({},p),{},{value:p.node,renderNode:n}),m)}function x(o,f){if(o.text===`
4`){const m=e.hardBreak;return m?s.jsx(m,{},f):`
5`}return o.text}function b(o,f,m,d){const h={value:o,isInline:d,index:f,renderNode:n};t(ne(o._type),{nodeType:"block",type:o._type});const a=e.unknownType;return s.jsx(a,v({},h),m)}function g(o,f,m,d){const h={value:o,isInline:d,index:f,renderNode:n},a=e.types[o._type];return a?s.jsx(a,v({},h),m):null}return n};function q(e){const{node:t,index:n,isInline:r,renderNode:l}=e,i=be(t).map((c,u)=>l({node:c,isInline:!0,index:u,renderNode:l}));return{_key:t._key||`block-${n}`,children:i,index:n,isInline:r,node:t}}function Je(){}var B={exports:{}};var Z;function Ge(){return Z||(Z=1,(function(e){(function(t,n){e.exports?e.exports=n():this[t]=n()})("$script",function(){var t=document,n=t.getElementsByTagName("head")[0],r=!1,l="push",i="readyState",c="onreadystatechange",u={},x={},b={},g,o;function f(a,p){for(var y=0,k=a.length;y<k;++y)if(!p(a[y]))return r;return 1}function m(a,p){f(a,function(y){return p(y),1})}function d(a,p,y){a=a[l]?a:[a];var k=p&&p.call,w=k?p:y,re=k?a.join(""):p,se=a.length;function H(T){return T.call?T():u[T]}function M(){if(!--se){u[re]=1,w&&w();for(var T in x)f(T.split("|"),H)&&!m(x[T],H)&&(x[T]=[])}}return setTimeout(function(){m(a,function T(j,le){if(j===null)return M();if(!le&&!/^https?:\/\//.test(j)&&g&&(j=j.indexOf(".js")===-1?g+j+".js":g+j),b[j])return b[j]==2?M():setTimeout(function(){T(j,!0)},0);b[j]=1,h(j,M)})}
5,0),d}function h(a,p){var y=t.createElement("script"),k;y.onload=y.onerror=y[c]=function(){y[i]&&!/^c|loade/.test(y[i])||k||(y.onload=y[c]=null,k=1,b[a]=2,p())},y.async=1,y.src=o?a+(a.indexOf("?")===-1?"?":"&")+o:a,n.insertBefore(y,n.lastChild)}return d.get=h,d.order=function(a,p,y){(function k(w){w=a.shift(),a.length?d(w,k):d(w,p,y)})()},d.path=function(a){g=a},d.urlArgs=function(a){o=a},d.ready=function(a,p,y){a=a[l]?a:[a];var k=[];return!m(a,function(w){u[w]||k[l](w)})&&f(a,function(w){return u[w]})?p():(function(w){x[w]=x[w]||[],x[w][l](p),y&&y(k)})(a.join("|")),d},d.done=function(a){d([null],a)},d})})(B)),B.exports}var Qe="https://platform.twitter.com/widgets.js",D="createTweet",yt=function(t){var n=O.useRef(null),r=O.useState(!0),l=r[0],i=r[1];return O.useEffect(function(){var c=!0,u=Ge();return u(Qe,"twitter-embed",function(){if(!window.twttr){console.error("Failure to load window.twttr, aborting load");return}if(c){if(!window.twttr.widgets[D]){console.error("Method "+D+" is not present anymore in twttr.widget api");return}window.twttr.widgets[D](t.tweetId,n?.current,t.options).then(function(x){i(!1),t.onLoad&&t.onLoad(x)})}}),function(){c=!1}},[]),O.createElement(O.Fragment,null,l&&O.createElement(O.Fragment,null,t.placeholder),O.createElement("div",{ref:n}))};const Xe=e=>e.timeOfSeries!==null;function pt(e){const t={dates:[]},n=e.map(Ye).flat();if(!n||n.length===0)return t;n.sort((l,i)=>l.scheduledAt.toMillis()-i.scheduledAt.toMillis());const r=n.reduce((l,i)=>{const c=i.scheduledAt.startOf("day").toFormat("yyyy-MM-dd");return c&&(l[c]||(l[c]=[]),l[c].push(i)),l},{});return t.dates=Object.values(r).map(l=>{const i=l[0].scheduledAt.startOf("day");return{label:A.now().startOf("day").equals(i)?"Today":i.toFormat("EEE dd MMM"),matches:l,date:i}}),t}function Ye(e){let t=[];return e.groups?.length&&(t=e.groups.map(n=>n.matches).flat()),e.matches?.length&&(t=[...t,...e.matches]),t.length?t.filter(Xe).map(n=>({uuid:n.uuid,time:A.fromISO(n.timeOfSeries).toFormat("HH:mm"),label:n.name,stage:e.label,isLive:n.isLive,isCompleted:n.isCompleted,type:n.type,metadata:n.metadata,teamA:n.teamA?{uuid:n.teamA.uuid,name:n.teamA.name,score:n.teamAScore,shorthand:n.teamA.shorthand??void 0}:null,teamB:n.teamB?{uuid:n.teamB.uuid,name:n.teamB.name,score:n.teamBScore,shorthand:n.teamB.shorthand??void 0}:null,scheduledAt:A.fromISO(n.timeOfSeries).toLocal()})):[]}const J=({teamType:e,team:t,hideImage:n})=>s.jsx(s.Fragment,{children:s.jsx("div",{className:P("flex w-full flex-1 items-center justify-end gap-2",{"flex-row-reverse":e==="teamB"}),children:t?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:P("font-style-body-b4 @3xl/row:font-style-body-b3 truncate",{"text-right":e==="teamA","text-left":e==="teamB"}),children:t?.name??"???"}),!n&&s.jsx("img",{src:ue("teams",t.uuid,{width:80}),className:"col-span-1 size-5 object-contain",alt:t?.name??""})]}):s.jsxs("div",{className:P("flex items-center gap-2 @3xl/row:gap-3",{"flex-row-reverse":e==="teamB"}),children:[s.jsx("span",{className:"font-style-body-b3",children:"TBD"}),s.jsx("div",{className:"bg-background-80 text-foreground-90 font-style-body-b3 flex size-5 items-center justify-center rounded-full",children:"?"})]})})}),et=({match:e,tournamentId:t,hideImages:n=!1,gameId:r="cs"})=>{const{teamA:l,teamB:i}=e,c=S.useMemo(()=>ce({game:r,matchUuid:e.uuid,tournamentId:t,teamAName:l?.shorthand??l?.name??void 0,teamBName:i?.shorthand??i?.name??void 0}),[r,e,t,l,i]),u=e.isCompleted?"completed":e.isLive?"live":"scheduled",x=e.teamA?.score,b=e.teamB?.score,g=x!==void 0&&b!==void 0,o=s.jsxs(s.Fragment,{children:[s.jsx("time",{className:"min-h-6 @3xl/row:hidden",children:s.jsx(C,{fallback:s.jsxs("div",{className:"text-neutral flex animate-pulse items-center gap-1",children:[s.jsx("div",{className:"bg-background-85 h-3 w-8 rounded-full"})," - ",s.jsx("div",{className:"bg-background-85 h-3 w-20 rounded-full"})]}),children:()=>s.jsxs("div",{className:"flex flex-row justify-between gap-1 px-2 pt-1",children:[s.jsxs("span",{className:"text-neutral font-style-body-b3",children:[e.time," - ",e.label," - ",e.stage]}),s.jsxs("div",{className:"flex flex-row items-center gap-1",children:[u==="live"&&s.jsx("span",{className:"text-error font-style-label-l4",children:"Live"}),s.jsx("span",{className:"text-neutral font-style-body-b3",children:e.type.toLocaleUpperCase()})]})]})})}),s.jsxs("div",{className:P("rounded-small relative grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center justify-items-center gap-2 px-4 py-1.5 transition-colors @3xl/row:flex"),children:[s.jsxs("div",{className:"absolute top-1/2 left-4 hidden w-full -translate-y-1/2 items-center @3xl/row:flex",children:[s.jsx(C,{fallback:s.jsx("div",{className:"flex w-20",children:s.jsx("div",{className:"bg-background-85 h-3 w-9 rounded-full"})}),children:()=>s.jsx("time",{className:"font-style-label-l3 w-20",children:e.time})}),s.jsxs("div",{className:"flex flex-col",children:[s.jsx("span",{className:"font-style-label-l4",children:e.label}),s.jsx("span",{className:"text-neutral font-style-body-b3",children:e.stage})]})]}),s.jsx(J,{hideImage:n,teamType:"teamA",team:l}),s.jsx("div",{className:"rounded-small bg-background-100 flex shrink-0 items-center gap-2 px-2 py-1 @3xl/row:px-4",children:s.jsx("span",{className:"font-style-label-l3 w-9 text-center text-nowrap",children:g&&u!=="scheduled"?`${x} : ${b}`:"VS"})}),s.jsx(J,{hideImage:n,teamType:"teamB",team:i}),s.jsxs("div",{className:"absolute right-4 hidden flex-row items-center gap-2 @3xl/row:flex",children:[u==="live"&&s.jsx("span",{className:"text-error font-style-label-l4",children:"Live"}),s.jsx("span",{className:"text-neutral font-style-body-b4",children:e.type.toLocaleUpperCase()})]})]})]});return c?s.jsx(oe,{to:c,className:"bg-background-95 hover:bg-background-90 @container/row text-white no-underline",children:o}):s.jsx("div",{className:"bg-background-95 @container/row",children:o})},ht=({dates:e,tournamentId:t,gameId:n})=>{const{dateSelectorComponent:r,activeDate:l}=fe({dates:e}),i=S.useMemo(()=>
5{if(!l)return[];const c=e.flat(),u=c.some(g=>g.matches.some(o=>o.teamA!==null&&o.teamB!==null&&o.scheduledAt)),b=(c.find(g=>g.date.equals(l))?.matches??[]).reduce((g,o)=>(g[o.uuid]=o,g),{});return u?Object.values(b):[]},[l,e]);return s.jsxs("div",{className:"w-full overflow-x-clip",children:[i.length>0&&s.jsx("div",{className:"grid grid-cols-[minmax(0,1fr)]",children:r}),s.jsxs("div",{className:"flex flex-col gap-1",children:[i.length===0&&s.jsx("p",{className:"rounded-small bg-background-95 font-style-label-l3 mb-2 flex h-10 items-center justify-center px-2 text-center text-white md:h-16 md:px-4",children:"Match data coming soon"}),s.jsx(C,{children:()=>i.map(c=>s.jsx(et,{match:c,tournamentId:t,gameId:n},c.uuid))})]})]})};export{dt as A,mt as P,yt as T,ht as a,pt as m};

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.