PageSourceSearch

https://www.flashscorekz.com/res/_fs/build/h2hFeed-parser.8494097.js

js flashscorekz.com collected 2026-10-02 19:50:57 UTC 19,822 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[91085],{11260(t,e,i){i.r(e),i.d(e,{default:()=>P});var s,a=i(49660),r=i(58034);class n{constructor(t,e){void 0===e&&(e=0),this._tabs=void 0,this.sportId=void 0,this._tabs=t,this.sportId=e}getTabs(){return this._tabs}getSportId(){return this.sportId}}class h{constructor(){this.tabs=[],this.sportId=0}addTab(t){return this.tabs.push(t),this}setSportId(t){return this.sportId=t,this}build(){return new n(this.tabs,this.sportId)}}class o{constructor(t,e,i,s){this._sections=void 0,this._title=void 0,this._isSwapped=void 0,this.surfaceCode=void 0,this._title=t,this._isSwapped=e,this._sections=i,this.surfaceCode=s}getSections(){return this._sections}getTitle(){return this._title}getIsSwapped(){return this._isSwapped}getSurfaceCode(){return this.surfaceCode}}class u{constructor(){this._sections=[],this._title="",this._isSwapped=!1,this.surfaceCode=""}setTitle(t){return this._title=t,this}setIsSwapped(t){return this._isSwapped=t,this}setSurfaceCode(t){return this.surfaceCode=t,this}addSection(t){return this._sections.push(t),this}build(){return new o(this._title,this._isSwapped,this._sections,this.surfaceCode)}}class l{constructor(t,e){this._rows=void 0,this._title=void 0,this._rows=e,this._title=t}getRows(){return this._rows}getTitle(){return this._title}}class d{constructor(){this.rows=[],this.title=""}addRow(t){return this.rows.push(t),this}setTitle(t){return this.title=t,this}build(){return new l(this.title,this.rows)}}!function(t){t.CLAY="clay",t.HARD="hard",t.GRASS="grass"}(s||(s={}));var c=i(92814),m=i(8995);class w{constructor(t,e,i,s,a,r,n,h,o,u,l,d,c,m,w,y,p,P,g,S,N,I,R,C,A,b,v,T,B,f,H,k,E,L,F,W,_,O,D,U,x,V,X,G,q,K,M,Y){this.sportId=void 0,this.dateTimestamp=void 0,this.encodedId=void 0,this.eventName=void 0,this.flagId=void 0,this.countryName=void 0,this.eventAcronym=void 0,this.homeName=void 0,this.homeParticipantFirstName=void 0,this.homeParticipantSecondName=void 0,this.awayName=void 0,this.awayParticipantFirstName=void 0,this.awayParticipantSecondName=void 0,this.homeLogo=void 0,this.awayLogo=void 0,this.homeParticipantCountryId=void 0,this.homeParticipantCountryName=void 0,this.secondHomeParticipantCountryId=void 0,this.secondHomeParticipantCountryName=void 0,this.awayParticipantCountryId=void 0,this.awayParticipantCountryName=void 0,this.secondAwayParticipantCountryId=void 0,this.secondAwayParticipantCountryName=void 0,this.homeCurrentResult=void 0,this.awayCurrentResult=void 0,this.homeFullTimeResult=void 0,this.awayFullTimeResult=void 0,this.homeAfterExtraTimeResult=void 0,this.awayAfterExtraTimeResult=void 0,this.homePenaltiesResult=void 0,this.awayPenaltiesResult=void 0,this.fullTimeResult=void 0,this.winOrLose=void 0,this.sideHighlighted=void 0,this.incidentResult=void 0,this.surfaceCode=void 0,this.surfaceName=void 0,this.aussieRulesScore=void 0,this.cricketSentence=void 0,this.homeEncodedId=void 0,this.awayEncodedId=void 0,this.homeUrl=void 0,this.awayUrl=void 0,this.homeDrawItemParticipantWinner=void 0,this.awayDrawItemParticipantWinner=void 0,this.homeTournamentStageParticipantWinner=void 0,this.awayTournamentStageParticipantWinner=void 0,this.eventStageId=void 0,this.sportId=t,this.dateTimestamp=e,this.encodedId=i,this.eventName=s,this.flagId=a,this.countryName=r,this.eventAcronym=n,this.homeName=h,this.homeParticipantFirstName=o,this.homeParticipantSecondName=u,this.awayName=l,this.awayParticipantFirstName=d,this.awayParticipantSecondName=c,this.homeLogo=m,this.awayLogo=w,this.homeParticipantCountryId=y,this.homeParticipantCountryName=p,this.secondHomeParticipantCountryId=P,this.secondHomeParticipantCountryName=g,this.awayParticipantCountryId=S,this.awayParticipantCountryName=N,this.secondAwayParticipantCountryId=I,this.secondAwayParticipantCountryName=R,this.homeCurrentResult=C,this.awayCurrentResult=A,this.homeFullTimeResult=b,this.awayFullTimeResult=v,this.homeAfterExtraTimeResult=T,this.awayAfterExtraTimeResult=B,this.homePenaltiesResult=f,this.awayPenaltiesResult=H,this.fullTimeResult=k,this.winOrLose=E,this.sideHighlighted=L,this.incidentResult=F,this.surfaceCode=W,this.surfaceName=_,this.aussieRulesScore=O,this.cricketSentence=D,this.homeEncodedId=U,this.awayEncodedId=x,this.homeUrl=V,this.awayUrl=X,this.homeDrawItemParticipantWinner=G,this.awayDrawItemParticipantWinner=q,this.homeTournamentStageParticipantWinner=K,this.awayTournamentStageParticipantWinner=M,this.eventStageId=Y}getSportId(){return this.sportId}getDateTimestamp(){return this.dateTimestamp}getEncodedId(){return this.encodedId}getEventNameWithCountry(){var t=this.countryName?" ("+this.countryName+")":"";return this.eventName+t}getEventNameWithCountryAndSurface(){var t=this.countryName?" ("+this.countryName+")":"",e=this.surfaceName?", "+this.surfaceName:"";return""+this.eventName+t+e}getSurfaceClass(){switch(this.surfaceCode){case s.CLAY:return"clay";case s.HARD:return"hard";case s.GRASS:return"grass";default:return""}}getFlagId(){return this.flagId}getEventAcronym(){return this.eventAcronym}getHomeName(){return this.ltrim(this.homeName,"\\*")}getHomeParticipantFirstName(){return this.ltrim(this.homeParticipantFirstName,"\\*")}getHomeParticipantSecondName(){return this.ltrim(this.homeParticipantSecondName,"\\*")}getAwayName(){return this.ltrim(this.awayName,"\\*")}getAwayParticipantFirstName(){return this.ltrim(this.awayParticipantFirstName,"\\*")}getAwayParticipantSecondName(){return this.ltrim(this.awayParticipantSecondName,"\\*")}getHomeLogo(){return this.homeLogo}getAwayLogo(){return this.awayLogo}getHomeParticipantCountryId(){return this.homeParticipantCountryId}getHomeParticipantCountryName(){return this.homeParticipantCountryName}getHomeSecondParticipantCountryId(){return this.secondHomeParticipantCountryId}getHomeSecondParticipantCountryName(){return this.secondHomeParticipantCountryName}getAwayParticipantCountryId(){return this.awayParticipantCountryId}getAwayParticipantCountryName(){return this.awayParticipantCountryName}getAwaySecondParticipantCountryId(){return this.secondAwayParticipantCountryId}getAwaySecondParticipantCountryName(){return this.secondAwayParticipantCountryName}getHomeCurrentResult(){return this.incidentResult?this.incidentResult:this.homeCurrentResult}getAwayCurrentResult(){return this.incidentResult?this.incidentResult:this.awayCurrentResult}getHomeFullTimeResult(){return this.homeFullTimeResult}getAwayFullTimeResult(){return this.awayFullTimeResult}getHomeAfterExtraTimeResult(){return this.homeAfterExtraTimeResult}getAwayAfterExtraTimeResult(){return this.awayAfterExtraTimeResult}getHomePenaltiesResult(){return this.homePenaltiesResult}getAwayPenaltiesResult(){return this.awayPenaltiesResult}getFullTimeResult(){return this.fullTimeResult.replace(":"," : ")}getHomeAdditionalScore(){var t;return this.sportId===c.h.AUSSIE_RULES?(null==(t=this.aussieRulesScore)?void 0:t.getHomeAdditionalScore())||"":this.homeFullTimeResult}getAwayAdditionalScore(){var t;return this.sportId===c.h.AUSSIE_RULES?(null==(t=this.aussieRulesScore)?void 0:t.getAwayAdditionalScore())||"":this.awayFullTimeResult}hasWinOrLose(){return null!==this.winOrLose}getWinOrLose(){return(0,m.I)(this.winOrLose)}isHomeWinner(){return this.homeName.startsWith("*")}isAwayWinner(){return this.awayName.startsWith("*")}isHomeHighlighted(){return"home"===this.sideHighlighted}isAwayHighlighted(){return"away"===this.sideHighlighted}getCricketSentence(){return this.cricketSentence}ltrim(t,e){return void 0===e&&(e="\\s"),t.replace(new RegExp("^"+e+"+","g"),"")}getHomeEncodedId(){return this.homeEncodedId}getAwayEncodedId(){return this.awayEncodedId}getHomeUrl(){return this.homeUrl}getAwayUrl(){return this.awayUrl}getDetailParticipantsData(){var t=[c.h.CRICKET,c.h.GOLF,c.h.MOTORSPORT_MOTO_RACING].includes(this.sportId),e=this.getHomeSecondParticipantCountryName()||this.getAwaySecondParticipantCountryName();return t||e?null:[{hash:this.getHomeEncodedId(),name:this.getHomeUrl()},{hash:this.getAwayEncodedId(),name:this.getAwayUrl()}]}getEventStageId(){return this.eventStageId}isHomeDrawItemParticipantWinner(){return this.homeDrawItemParticipantWinner}isAwayDrawItemParticipantWinner(){return this.awayDrawItemParticipantWinner}isHomeTournamentStageParticipantWinner(){return this.homeTournamentStageParticipantWinner}isAwayTournamentStageParticipantWinner(){return this.awayTournamentStageParticipantWinner}}class y{constructor(){this.sportId=0,this.dateTimestamp=0,this.encodedId="",this.eventName="",this.flagId="",this.countryName="",this.eventAcronym="",this.homeName="",this.homeParticipantFirstName="",this.homeParticipantSecondName="",this.awayName="",this.awayParticipantFirstName="",this.awayParticipantSecondName="",this.homeLogo="",this.awayLogo="",this.homeParticipantCountryId=0,this.awayParticipantCountryId=0,this.secondHomeParticipantCountryId=0,this.secondHomeParticipantCountryName="",this.secondAwayParticipantCountryId=0,this.secondAwayParticipantCountryName="",this.homeParticipantCountryName="",this.awayParticipantCountryName="",this.homeCurrentResult="",this.awayCurrentResult="",this.winOrLose=null,this.homeFullTimeResult="",this.awayFullTimeResult="",this.homeAfterExtraTimeResult="",this.awayAfterExtraTimeResult="",this.homePenaltiesResult="",this.awayPenaltiesResult="",this.fullTimeResult="",this.sideHighlighted="",this.incidentResult="",this.surfaceCode="",this.surfaceName="",this.aussieRulesScore=null,this.cricketSentence="",this.homeEncodedId="",this.awayEncodedId="",this.homeUrl="",this.awayUrl="",this.homeDrawItemParticipantWinner=!1,this.awayDrawItemParticipantWinner=!1,this.homeTournamentStageParticipantWinner=!1,this.awayTournamentStageParticipantWinner=!1,this.eventStageId=0}build(){return new w(this.sportId,this.dateTimestamp,this.encodedId,this.eventName,this.flagId,this.countryName,this.eventAcronym,this.homeName,this.homeParticipantFirstName,this.homeParticipantSecondName,this.awayName,this.awayParticipantFirstName,this.awayParticipantSecondName,this.homeLogo,this.awayLogo,this.homeParticipantCountryId,this.homeParticipantCountryName,this.secondHomeParticipantCountryId,this.secondHomeParticipantCountryName,this.awayParticipantCountryId,this.awayParticipantCountryName,this.secondAwayParticipantCountryId,this.secondAwayParticipantCountryName,this.homeCurrentResult,this.awayCurrentResult,this.homeFullTimeResult,this.awayFullTimeResult,this.homeAfterExtraTimeResult,this.awayAfterExtraTimeResult,this.homePenaltiesResult,this.awayPenaltiesResult,this.fullTimeResult,this.winOrLose,this.sideHighlighted,this.incidentResult,this.surfaceCode,this.surfaceName,this.aussieRulesScore,this.cricketSentence,this.homeEncodedId,this.awayEncodedId,this.homeUrl,this.awayUrl,this.homeDrawItemParticipantWinner,this.awayDrawItemParticipantWinner,this.homeTournamentStageParticipantWinner,this.awayTournamentStageParticipantWinner,this.eventStageId)}setSportId(t){return this.sportId=t,this}setDateTimestamp(t){return this.dateTimestamp=t,this}setEncodedId(t){return this.encodedId=t,this}setEventName(t){return this.eventName=t,this}setFlagId(t){return this.flagId=t,this}setCountryName(t){return this.countryName=t,this}setEventAcronym(t){return this.eventAcronym=t,this}setHomeName(t){return this.homeName=t,this}setHomeParticipantFirstName(t){return this.homeParticipantFirstName=t,this}setHomeParticipantSecondName(t){return this.homeParticipantSecondName=t,this}setAwayName(t){return this.awayName=t,this}setAwayParticipantFirstName(t){return this.awayParticipantFirstName=t,this}setAwayParticipantSecondName(t){return this.awayParticipantSecondName=t,this}setHomeLogo(t){return this.homeLogo=t,this}setAwayLogo(t){return this.awayLogo=t,this}setHomeParticipantCountryId(t){return this.homeParticipantCountryId=t,this}setHomeParticipantCountryName(t){return this.homeParticipantCountryName=t,this}setSecondHomeParticipantCountryId(t){return this.secondHomeParticipantCountryId=t,this}setSecondHomeParticipantCountryName(t){return this.secondHomeParticipantCountryName=t,this}setAwayParticipantCountryId(t){return this.awayParticipantCountryId=t,this}setAwayParticipantCountryName(t){return this.awayParticipantCountryName=t,this}setSecondAwayParticipantCountryId(t){return this.secondAwayParticipantCountryId=t,this}setSecondAwayParticipantCountryName(t){return this.secondAwayParticipantCountryName=t,this}setHomeCurrentResult(t){return this.homeCurrentResult=t,this}setAwayCurrentResult(t){return this.awayCurrentResult=t,this}setWinOrLose(t){return this.winOrLose=t,this}setHomeFullTimeResult(t){return this.homeFullTimeResult=t,this}setAwayFullTimeResult(t){return this.awayFullTimeResult=t,this}setHomeAfterExtraTimeResult(t){return this.homeAfterExtraTimeResult=t,this}setAwayAfterExtraTimeResult(t){return this.awayAfterExtraTimeResult=t,this}setHomePenaltiesResult(t){return this.homePenaltiesResult=t,this}setAwayPenaltiesResult(t){return this.awayPenaltiesResult=t,this}setSideHighlighted(t){return this.sideHighlighted=t,this}setIncidentResult(t){return this.incidentResult=t,this}setSurfaceCode(t){return this.surfaceCode=t,this}setSurfaceName(t){return this.surfaceName=t,this}setAussieRulesScore(t){return this.aussieRulesScore=t,this}setCricketSentence(t){return this.cricketSentence=t,this}setHomeEncodedId(t){return this.homeEncodedId=t,this}setAwayEncodedId(t){return this.awayEncodedId=t,this}setHomeUrl(t){return this.homeUrl=t,this}setAwayUrl(t){return this.awayUrl=t,this}setHomeDrawItemParticipantWinner(t){return this.homeDrawItemParticipantWinner=t,this}setHomeTournamentStageParticipantWinner(t){return this.homeTournamentStageParticipantWinner=t,this}setAwayDrawItemParticipantWinner(t){return this.awayDrawItemParticipantWinner=t,this}setAwayTournamentStageParticipantWinner(t){return this.awayTournamentStageParticipantWinner=t,this}setEventStageId(t){return this.eventStageId=t,this}}var p=i(39044);class P extends a.M{constructor(){super(...arguments),this.feedBuilder=new h,this.newRowStarted=!1,this.tabBuilder=null,this.sectionBuilder=null,this.rowBuilder=null,this.aussieRulesScoreBuilder=null,this.sportId=0}startFeed(){this.feedBuilder=new h}parse(t,e){var i,s,a,n,h,o,u,l,d,c,m,w,y,p,P,g,S,N,I,R,C,A,b,v,T,B,f,H,k,E,L,F,W,_,O,D,U,x,V,X,G,q,K,M,Y,j,Q,Z,$,J,z,tt,et,it,st;if(this.newRowStarted){switch(t){case r.bEO:case r.Upt:case r.CDq:case r._NL:case r.Iyc:case r.Yr$:case r.Gd0:case r.b2T:case r.oN6:case r.Dgp:case r.ofy:case r.XNT:case r.S9X:case r.d2y:case r.Toi:case r.Aqr:case r.XPL:case r.n7K:case r.kZ7:case r.m1X:this.startNewRow();break;case r.Vjk:this.endLastTab(),this.startTab();break;case r.bxS:this.endLastSection(),this.startSection()}this.newRowStarted=!1}switch(t){case r.bEO:this.sportId=this.getNumberValueOf(e);break;case r.Vjk:null==(i=this.tabBuilder)||i.setTitle(e);break;case r.t71:null==(s=this.tabBuilder)||s.setIsSwapped(this.getBooleanValueOf(e));break;case r.bxS:null==(a=this.sectionBuilder)||a.setTitle(e);break;case r.Upt:null==(n=this.rowBuilder)||n.setDateTimestamp(this.getNumberValueOf(e));break;case r.CDq:null==(h=this.rowBuilder)||h.setEncodedId(e);break;case r._NL:null==(o=this.rowBuilder)||o.setEventName(e);break;case r.Iyc:null==(u=this.rowBuilder)||u.setFlagId(e);break;case r.Yr$:null==(l=this.rowBuilder)||l.setCountryName(e);break;case r.Gd0:null==(d=this.rowBuilder)||d.setEventAcronym(e);break;case r.Aqr:null==(c=this.rowBuilder)||c.setHomeEncodedId(e);break;case r.XPL:null==(m=this.rowBuilder)||m.setAwayEncodedId(e);break;case r.n7K:null==(w=this.rowBuilder)||w.setHomeUrl(e);break;case r.kZ7:null==(y=this.rowBuilder)||y.setAwayUrl(e);break;case r.b2T:null==(p=this.rowBuilder)||p.setHomeName(e);break;case r.oN6:null==(P=this.rowBuilder)||P.setAwayName(e);break;case r.lTZ:null==(g=this.rowBuilder)||g.setHomeLogo(e);break;case r.OUe:null==(S=this.rowBuilder)||S.setAwayLogo(e);break;case r.D5Q:null==(N=this.rowBuilder)||N.setHomeParticipantFirstName(e);break;case r.h84:null==(I=this.rowBuilder)||I.setHomeParticipantSecondName(e);break;case r.SB8:null==(R=this.rowBuilder)||R.setAwayParticipantFirstName(e);break;case r.kBr:null==(C=this.rowBuilder)||C.setAwayParticipantSecondName(e);break;case r.NTS:null==(A=this.rowBuilder)||A.setHomeParticipantCountryId(this.getNumberValueOf(e));break;case r.r7i:null==(b=this.rowBuilder)||b.setHomeParticipantCountryName(e);break;case r.grm:null==(v=this.rowBuilder)||v.setSecondHomeParticipantCo
1untryId(this.getNumberValueOf(e));break;case r.k2l:null==(T=this.rowBuilder)||T.setSecondHomeParticipantCountryName(e);break;case r.y_S:null==(B=this.rowBuilder)||B.setAwayParticipantCountryId(this.getNumberValueOf(e));break;case r.IQn:null==(f=this.rowBuilder)||f.setAwayParticipantCountryName(e);break;case r.vpN:null==(H=this.rowBuilder)||H.setSecondAwayParticipantCountryId(this.getNumberValueOf(e));break;case r.pR7:null==(k=this.rowBuilder)||k.setSecondAwayParticipantCountryName(e);break;case r.P0L:null==(E=this.rowBuilder)||E.setHomeCurrentResult(e);break;case r.SQT:null==(L=this.rowBuilder)||L.setAwayCurrentResult(e);break;case r.ee_:null==(F=this.rowBuilder)||F.setHomeFullTimeResult(e);break;case r.BKR:null==(W=this.rowBuilder)||W.setAwayFullTimeResult(e);break;case r.sS8:null==(_=this.rowBuilder)||_.setHomeAfterExtraTimeResult(e);break;case r.BNk:null==(O=this.rowBuilder)||O.setAwayAfterExtraTimeResult(e);break;case r.A5L:null==(D=this.rowBuilder)||D.setHomePenaltiesResult(e);break;case r.Toh:null==(U=this.rowBuilder)||U.setAwayPenaltiesResult(e);break;case r.m1X:null==(x=this.rowBuilder)||x.setWinOrLose(e);break;case r.XNT:null==(V=this.rowBuilder)||V.setSideHighlighted(e);break;case r.S9X:null==(X=this.rowBuilder)||X.setIncidentResult(e);break;case r.d2y:null==(G=this.rowBuilder)||G.setSurfaceCode(e),null==(q=this.tabBuilder)||q.setSurfaceCode(e);break;case r.Toi:null==(K=this.rowBuilder)||K.setSurfaceName(e);break;case r.axj:null==(M=this.aussieRulesScoreBuilder)||M.setHomeSuperGoals(this.getNumberValueOf(e));break;case r.e5L:null==(Y=this.aussieRulesScoreBuilder)||Y.setHomeGoals(this.getNumberValueOf(e));break;case r.JDX:null==(j=this.aussieRulesScoreBuilder)||j.setHomeBehinds(this.getNumberValueOf(e));break;case r.DJX:null==(Q=this.aussieRulesScoreBuilder)||Q.setAwaySuperGoals(this.getNumberValueOf(e));break;case r.ndF:null==(Z=this.aussieRulesScoreBuilder)||Z.setAwayGoals(this.getNumberValueOf(e));break;case r.uqU:null==($=this.aussieRulesScoreBuilder)||$.setAwayBehinds(this.getNumberValueOf(e));break;case r.O0o:null==(J=this.rowBuilder)||J.setCricketSentence(e);break;case r.VlC:null==(z=this.rowBuilder)||z.setHomeDrawItemParticipantWinner("1"===e),null==(tt=this.rowBuilder)||tt.setHomeTournamentStageParticipantWinner("2"===e);break;case r.i$P:null==(et=this.rowBuilder)||et.setAwayDrawItemParticipantWinner("1"===e),null==(it=this.rowBuilder)||it.setAwayTournamentStageParticipantWinner("2"===e);break;case r.P2g:null==(st=this.rowBuilder)||st.setEventStageId(this.getNumberValueOf(e))}}startRow(){this.newRowStarted=!0}endRow(){var t,e;(null==(t=this.rowBuilder)||t.setSportId(this.sportId),this.aussieRulesScoreBuilder&&this.sportId===c.h.AUSSIE_RULES)&&(null==(e=this.rowBuilder)||e.setAussieRulesScore(this.aussieRulesScoreBuilder.build()));this.endLastRow()}endFeed(){this.endLastTab()}getParsedModel(){return this.feedBuilder.setSportId(this.sportId).build()}startSection(){this.sectionBuilder=new d}endLastSection(){var t;this.sectionBuilder&&(null==(t=this.tabBuilder)||t.addSection(this.sectionBuilder.build()),this.sectionBuilder=null)}endLastTab(){this.tabBuilder&&(this.endLastSection(),this.feedBuilder.addTab(this.tabBuilder.build()))}startTab(){this.tabBuilder=new u}startNewRow(){this.rowBuilder=new y,this.aussieRulesScoreBuilder=new p.X}endLastRow(){var t;this.rowBuilder&&(null==(t=this.sectionBuilder)||t.addRow(this.rowBuilder.build()),this.rowBuilder=null)}}}}]);

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.