PageSourceSearch

https://static.flashscore.com/res/_fs/build/h2hTab.365da21.js

js flashscore.com collected 2026-09-24 09:21:48 UTC 4,876 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkflashscore=self.webpackChunkflashscore||[]).push([[4356],{49586(t,e,a){a.r(e),a.d(e,{default:()=>D});var r=a(74848),n=(a(96540),a(16522)),s=a(30041),i=a(85647),h=a(96914),o=a(45545),l=a(20188),c=a(43186),_=a(38500),T=a(89976),d=a(19609),u=a(85280),p=a(95740),R=a(43876),N=a(70545);var I=a(34831);function S(t){var e,a,i=(0,n.c)(7),{h2hSection:h,index:o}=t,l=null!=(e=(0,N.Uc)()[o])?e:5,c=(0,N.p$)(),_=(0,u.UK)(),T=(0,u.mz)(),d="h2h__section section "+(_.get("app","US_time_format")?"dateFormatUS":"");return i[0]!==c||i[1]!==h||i[2]!==o||i[3]!==l||i[4]!==d||i[5]!==T?(a=(0,r.jsxs)("div",{className:d,children:[(0,r.jsx)(s.VHE,{content:h.getTitle()}),(0,r.jsx)("div",{className:"rows",children:h.getRows().slice(0,l).map(A)}),h.getRows().length>l&&(0,r.jsx)(s.vxq,{className:"wclButtonLink wclButtonLink--h2h",onClick:()=>{var t=l+5;h.getRows().length-t<5&&(t=h.getRows().length),c(function(t,e){return{type:"show-more",sectionIndex:t,showCount:e}}(o,t))},type:"primary",trailIconId:"action-navigation-arrow-down",isUnderline:!0,children:T.translate("TRANS_SHOW_MORE_MATCHES")}),0===h.getRows().length&&(0,r.jsx)(I.Y,{text:T.translate("TRANS_MATCH_LIST_NOT_FOUND"),classes:"noData--npb"})]}),i[0]=c,i[1]=h,i[2]=o,i[3]=l,i[4]=d,i[5]=T,i[6]=a):a=i[6],a}function A(t,e){return(0,r.jsx)(R.M,{h2hRow:t},e)}var v=a(92814);class f{constructor(t,e){this.trans=void 0,this.sportId=void 0,this.trans=t,this.sportId=e}createForTab(t,e,a){switch(void 0===e&&(e=""),void 0===a&&(a=!1),this.sportId){case v.h.TENNIS:return this.prepareTennisIdent(t,e);case v.h.CRICKET:return this.prepareCricketIdent(t);default:return this.prepareDefaultIdent(t,a)}}prepareCricketIdent(t){var e;return null!=(e=[this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_OVERALL"),this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_TEST"),this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_ODI"),this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_T20")][t])?e:String(t)}prepareTennisIdent(t,e){var a;return 0===t?this.trans.translate("TRANS_URL_IDENT_TENNIS_ALL_SURFACES"):null!=(a={clay:this.trans.translate("TRANS_URL_IDENT_TENNIS_CLAY"),grass:this.trans.translate("TRANS_URL_IDENT_TENNIS_GRASS"),hard:this.trans.translate("TRANS_URL_IDENT_TENNIS_HARD")}[e])?a:String(t)}prepareDefaultIdent(t,e){var a,r=this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_HOME"),n=this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_AWAY");return null!=(a=[this.trans.translate("TRANS_DETAIL_BOOKMARK_URL_IDENT_H2H_OVERALL"),e?n:r,e?r:n][t])?a:String(t)}}function E(){return E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var r in a)({}).hasOwnProperty.call(a,r)&&(t[r]=a[r])}return t},E.apply(null,arguments)}function g(){var t,e,a=(0,n.c)(4),s=(0,_.M)(),i=(0,l.Ef)();return s?(a[1]!==s||a[2]!==i?(e=(0,r.jsx)(d.J,{children:(0,r.jsx)(x,{h2hFeed:s,initialTab:i,tabComponent:b})}),a[1]=s,a[2]=i,a[3]=e):e=a[3],e):(a[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)(p.a,{}),a[0]=t):t=a[0],t)}function x(t){var e,a=(0,n.c)(8),{h2hFeed:h,initialTab:l,tabComponent:c}=t,_=void 0===l?"":l,d=void 0===c?L:c,{pathname:p}=(0,i.zy)(),R=(0,u.mz)();if(1===h.getTabs().length){var N;if(a[0]!==h){var I=h.getTabs()[0];N=(0,r.jsx)(m,{tab:I,path:""}),a[0]=h,a[1]=N}else N=a[1];return N}if(a[2]!==h||a[3]!==_||a[4]!==p||a[5]!==d||a[6]!==R){var S=function(t,e,a,n,h){var l=new f(e,t.getSportId()),c={tabs:[(0,r.jsx)(s.tUM,{type:"secondary",className:"filterOver filterOver--indent",children:t.getTabs().map((t,e)=>h({tab:t,path:l.createForTab(e,t.getSurfaceCode(),t.getIsSwapped()),index:e}))},"filterGroup")],contents:t.getTabs().map((t,e)=>{var a=l.createForTab(e,t.getSurfaceCode());return(0,r.jsx)(i.qh,{path:a+"/",element:(0,r.jsx)(m,{tab:t,path:a})},a)}),path:a};return c.contents.push((0,r.jsx)(i.qh,{path:"*",element:(0,r.jsx)(o.E,{replace:!0,to:n?"../"+n:"../"+l.createForTab(0)+"/"})},"initial-redirect")),c}(h,R,p,_,d);e=(0,r.jsx)(T.T,E(E({},S),{},{hasNewLayout:!0,usedForLegalAgeConfirmation:!0})),a[2]=h,a[3]=_,a[4]=p,a[5]=d,a[6]=R,a[7]=e}else e=a[7];return e}function L(t){var{tab:e,path:a}=t,n=e.getTitle();return(0,r.jsx)(h.x,{to:{pathname:a+"/",search:window.location.search},children:n},n)}function b(t){var{tab:e,path:a,index:n}=t,s=e.getTitle();return(0,r.jsx)(c.H,{tabIdForEventTracking:"head-2-head_"+n+"_h2h",to:a,title:s,hasFilter:!0,children:s},s)}function m(t){var e,a,s=(0,n.c)(5),{tab:i,path:h}=t;((0,l.fU)(),s[0]!==h||s[1]!==i)?(s[3]!==h?(a=(t,e)=>(0,r.jsx)(S,{h2hSection:t,index:h+"_"+e},e),s[3]=h,s[4]=a):a=s[4],e=(0,r.jsx)("div",{className:"h2h",children:i.getSections().map(a)}),s[0]=h,s[1]=i,s[2]=e):e=s[2];return e}var O=a(42682),j=a(62037);function D(){return(0,r.jsxs)("div",{className:"h2hSection",children:[(0,r.jsx)(g,{}),(0,r.jsx)(O.s,{}),(0,r.jsx)(j.u,{})]})}}}]);

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.