PageSourceSearch

https://www.thcproce.com.br/_next/static/chunks/app/live/page-40fb9a841ff3a9c8.js

js thcproce.com.br collected 2026-10-07 03:19:12 UTC 3,860 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1195,1931],{80480:function(e,n,t){Promise.resolve().then(t.bind(t,55720))},55720:function(e,n,t){"use strict";t.d(n,{default:function(){return s}});var a=t(57437),r=t(40303),l=t(2265);let i={connecting:{label:"ONLINE",message:"Conectando ao sinal ao vivo..."},online:{label:"ONLINE",message:""},reconnecting:{label:"ONLINE",message:"Reconectando ao sinal da transmiss\xe3o..."},offline:{label:"OFFLINE",message:"N\xe3o foi poss\xedvel carregar a transmiss\xe3o ao vivo. O player tentar\xe1 reconectar automaticamente."}};function s(e){let{streamUrl:n}=e,t=(0,l.useRef)(null),[s,o]=(0,l.useState)("connecting");(0,l.useEffect)(()=>{let e,a;let l=t.current;if(!l)return;let i=null,s=!1,c=()=>{a&&window.clearTimeout(a),a=void 0},d=()=>{null==i||i.destroy(),(i=new r.ZP({lowLatencyMode:!0,backBufferLength:30,manifestLoadingMaxRetry:6,levelLoadingMaxRetry:6,fragLoadingMaxRetry:6})).loadSource(n),i.attachMedia(l),i.on(r.ZP.Events.ERROR,(e,n)=>{if(n.fatal&&!s){if(n.type===r.ZP.ErrorTypes.NETWORK_ERROR){o("reconnecting"),null==i||i.startLoad(),c(),a=window.setTimeout(()=>{s||d()},4e3);return}if(n.type===r.ZP.ErrorTypes.MEDIA_ERROR){o("reconnecting"),null==i||i.recoverMediaError();return}o("offline")}})},u=()=>{c(),o("online")},f=()=>o(e=>"online"===e?"reconnecting":e),p=()=>o("offline");return o("connecting"),l.addEventListener("playing",u),l.addEventListener("waiting",f),l.addEventListener("error",p),e=window.setTimeout(()=>{l.readyState<2&&o("reconnecting")},1e4),l.canPlayType("application/vnd.apple.mpegurl")?l.src=n:r.ZP.isSupported()?d():o("offline"),()=>{s=!0,e&&window.clearTimeout(e),c(),l.removeEventListener("playing",u),l.removeEventListener("waiting",f),l.removeEventListener("error",p),null==i||i.destroy(),l.removeAttribute("src"),l.load()}},[n]);let c="offline"===s,d=i[s].message;return(0,a.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-canna-300/15 bg-black shadow-[0_0_0_1px_rgba(134,239,172,0.08),0_28px_90px_rgba(0,0,0,0.52),0_0_54px_rgba(34,197,94,0.09)]",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 border-b border-white/10 bg-ink-900/85 px-3 py-3 backdrop-blur sm:px-4",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-red-400/30 bg-red-500/10 px-3 py-1 text-[11px] font-black uppercase tracking-[0.16em] text-red-100",children:[(0,a.jsxs)("span",{className:"relative flex size-2.5",children:[(0,a.jsx)("span",{className:"absolute inline-flex size-full animate-ping rounded-full bg-red-400 opacity-70"}),(0,a.jsx)("span",{className:"relative inline-flex size-2.5 rounded-full bg-red-500"})]}),"LIVE"]}),(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border px-3 py-1 text-[11px] font-bold uppercase tracking-[0.14em] ".concat(c?"border-zinc-500/35 bg-zinc-700/25 text-zinc-200":"border-canna-300/25 bg-canna-400/10 text-canna-100"),children:[(0,a.jsx)("span",{className:"size-2 rounded-full ".concat(c?"bg-zinc-400":"bg-canna-300 shadow-[0_0_12px_rgba(134,239,172,0.75)]")}),i[s].label]})]}),(0,a.jsxs)("div",{className:"relative aspect-video w-full bg-black",children:[(0,a.jsx)("video",{ref:t,controls:!0,autoPlay:!0,muted:!0,playsInline:!0,className:"h-full w-full bg-black object-contain"}),"connecting"===s||"reconnecting"===s?(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center",children:(0,a.jsx)("div",{className:"size-12 rounded-full border-2 border-white/15 border-t-canna-300 animate-spin"})}):null,d?(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 bg-black/72 px-4 py-3 text-center text-sm font-medium text-white/88 backdrop-blur-sm",children:d}):null]})]})}}},function(e){e.O(0,[2404,2971,2117,1744],function(){return e(e.s=80480)}),_N_E=e.O()}]);

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.