1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2356],{42356:function(l,t,a){a.r(t);var e=a(57437),i=a(88088),n=a(4863),r=a(72640),o=a(87664),s=a(6738),d=a(95977),u=a(78305),v=a(41760),c=a(12637);let m=async l=>{var t,a,m,h,f,g,b,p;let{...w}=l,{FLAG_ENABLE_LIVE_AUDIO_COMMENTARY:N}=v.featureFlags,{matchId:S,streamConfig:_}=w.properties,k=(0,r.qt)(w.variables);if(!N||!_||!S)return null;let y=[];try{y=JSON.parse(_)}catch(l){return c.Z.log("LiveAudioCommentary - JSON parsing failed for streamConfig - ".concat(JSON.stringify(l))),null}let C={variables:w.variables,hasThumbnailPlaceholder:!0,sort:{field:"scheduledStartTime",order:o.As.ASC},limit:1,hasLinkRules:!0,tags:"match-".concat(S),fields:{videoStatus:s.Kw.LIVE}},x=await (0,d.VN)(o.R$.videos,C),A=await (0,u.$B)("live-commentary-widget-bg"),D="";(null==x?void 0:null===(t=x.items)||void 0===t?void 0:t.length)&&(null==x?void 0:null===(a=x.items)||void 0===a?void 0:a.length)>0&&(D=null==y?void 0:null===(f=y.filter(l=>l.match_id===S)[0])||void 0===f?void 0:f.stream_url);let E=await (0,d.Hv)(o.R$.tags,"match-".concat(S)),I="".concat(null!==(g=null==E?void 0:null===(m=E.extraData)||void 0===m?void 0:m.teamA)&&void 0!==g?g:""," vs ").concat(null!==(b=null==E?void 0:null===(h=E.extraData)||void 0===h?void 0:h.teamB)&&void 0!==b?b:"");return D?k?(0,e.jsx)(n.default,{streamUrl:D,matchId:S,teamDetails:I}):(0,e.jsx)(i.default,{streamUrl:D,lightningImage:null!==(p=null==A?void 0:A.assetUrl)&&void 0!==p?p:"",...w}):null};t.default=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.