1import{j as s,ed as c,I as d,ee as x,ef as f}from"./client-Bai4VJA1.js";import{u}from"./useCountdown-Bp9O7lQ3.js";import{u as p}from"./FeaturedSgmWidgetHeader-Bs5pMGp9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"97808a5afbf047a0a6f7534b79e8c9b165448d38"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07d6cb91-f2fc-4fc3-9436-98eded303775",e._sentryDebugIdIdentifier="sentry-dbid-07d6cb91-f2fc-4fc3-9436-98eded303775")}catch{}})();const b=({startTime:e,urgentOnly:n,withTime:r})=>{const{countdown:a,localTime:i,label:o}=u(e),t=a.asMinutes(),l=t<5,m=t<60;return r?s.jsxs("div",{suppressHydrationWarning:!0,className:"flex flex-col items-center gap-1",children:[s.jsx("span",{className:"text-xs",children:i.format(c)}),m&&s.jsx("span",{className:d("text-xxs min-w-11.5 whitespace-nowrap rounded-sm px-1 text-center font-semibold",{"bg-bg-timer-alert text-text-timer-alert":l,"bg-bg-timer-upcoming text-text-timer-upcoming":!l}),children:o})]}):n&&!l?null:s.jsx("span",{suppressHydrationWarning:!0,className:d("inline-flex h-4 min-w-[2.875rem] items-center justify-center whitespace-nowrap rounded-sm px-1 leading-none",{"bg-bg-timer-alert text-text-timer-alert text-xxs ":t<5,"bg-bg-timer-upcoming text-text-timer-upcoming text-xxs":t>=5&&t<60,"min-w-min !px-0 text-xs font-normal":t>=60,"text-xxs font-semibold":t<60}),children:t>=60?i.format("HH:mm"):o})},h=({status:e="OPEN",startTime:n,formatStatusProps:r,urgentOnly:a=!1,withTime:i=!1})=>{const{t:o}=p();return e==="OPEN"||e.toLowerCase()===x.PreMatch?s.jsx(b,{startTime:n,urgentOnly:a,withTime:i}):s.jsx("span",{className:d("text-xxs min-w-[2.875rem] rounded-sm px-1 text-center",{"bg-bg-timer-closed text-text-timer-closed font-semibold":!r?.removeStyle}),children:f(e,{captialize:!0,finalToClosed:!0,translate:o,...r})})};export{h as C};
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.