PageSourceSearch

https://www.flashscore.fr/res/_fs/build/audio-track-hls.6f24e12.js

js flashscore.fr collected 2026-09-24 17:54:08 UTC 1,538 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[41877],{34408(r,e,n){n.r(e),n.d(e,{default:()=>s});var t=n(74848),a=n(96540),u=n(46482),l=n(64945);const c=(r,e,n)=>{var t;if(l.Ay.isSupported()){var a=new l.Ay({debug:!1,enableWorker:!0,liveBackBufferLength:0,maxBufferSize:0,maxBufferLength:5,liveSyncDuration:30});return e.current&&(a.attachMedia(e.current),a.on(l.Ay.Events.MEDIA_ATTACHED,()=>{a.loadSource(r),a.on(l.Ay.Events.MANIFEST_PARSED,(r,e)=>{n(!0)})}),a.on(l.Ay.Events.ERROR,(r,e)=>{if(e.fatal)switch(e.type){case l.Ay.ErrorTypes.NETWORK_ERROR:a.startLoad();break;case l.Ay.ErrorTypes.MEDIA_ERROR:a.recoverMediaError();break;default:a.destroy(),n(!1)}})),a}return null!=(t=e.current)&&t.canPlayType("application/vnd.apple.mpegurl")&&e.current&&(e.current.src=r,e.current.addEventListener("loadedmetadata",function(){n(!0)})),null};const s=r=>{var{trackUrl:e}=r,{isPlaying:n,trackUrl:l,playNextTrack:s,play:o,stop:d}=(0,u.Q)(),i=(0,a.useRef)(null),p=(0,a.useRef)(null),y=e.endsWith(".m3u8");(0,a.useEffect)(()=>{var r;i.current&&(y?(p.current=c(e,i,r=>{var t,a;return r&&n&&l===e?null==(t=i.current)?void 0:t.play():null==(a=i.current)?void 0:a.pause()}),null==(r=p.current)||r.stopLoad()):n&&l===e?i.current.play():i.current.pause())},[n,l,e]),(0,a.useEffect)(()=>()=>{var r;return null==(r=p.current)?void 0:r.destroy()},[l]);return(0,t.jsx)("audio",{ref:i,style:{display:"none"},onPlay:o,onError:()=>{l===e&&n&&d()},onEnded:s,children:!y&&(0,t.jsx)("source",{src:e,type:"audio/mpeg"})})}}}]);

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.