PageSourceSearch

https://cdn.metaratings.ru/_next/static/chunks/86076-d7df11e4aed043ec.js

js metaratings.ru collected 2026-10-09 22:42:19 UTC 12,940 bytes, 143 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86076],{457:(e,s,i)=>{"use strict";i.d(s,{P:()=>x,A:()=>h});var t=i(60072),a=i(68502),r=i(86419),n=i.n(r),l=i(98281),o=i(83055),_=i(30914),c=i(1510),d=i(65059),p=i(70639),T=i.n(p);let m=({categories:e,selected:s,clickHandler:i=()=>null,appearance:a="link",size:r})=>{let{project:p}=(0,o.Ay)(),{isBtnScrollLeftShown:m,isBtnScrollRightShown:x,scrollToLeft:h,scrollToRight:u,tabScrollRef:g,parentRef:b}=(0,_.r)(),{itemRef:L,isSelected:f}=(0,l.E)(s);return(0,t.jsxs)("div",{className:n()(T().tabsHead,T().tabsHeadWithIcon,{[T().isSport]:"sport"===p}),ref:b,children:[m&&(0,t.jsx)("button",{className:T().tabsPrevCenter,onClick:h,children:(0,t.jsx)(d.I,{icon:"arrow"})}),(0,t.jsx)("div",{className:n()(T().tabsHeadWithIconScroll,{[T().small]:"small"===r,[T().justifyStart]:4>=(e?.length||0)}),ref:g,children:e?.map((e,s)=>"link"===a?(0,t.jsxs)(c.N,{href:e.url,className:n()(T().tabsHeadWithIconLink,{[T().selected]:f(e),[T().small]:"small"===r}),onClick:s=>i(s,e),parentRef:f(e)?L:void 0,children:[e.icon&&(0,t.jsx)("span",{className:T().tabsHeadWithIconLinkIcon,children:(0,t.jsx)(d.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},s):(0,t.jsxs)("button",{className:n()(T().tabsHeadWithIconLink,{[T().selected]:f(e),[T().small]:"small"===r}),onClick:s=>i(s,e),children:[e.icon&&(0,t.jsx)("span",{className:T().tabsHeadWithIconLinkIcon,children:(0,t.jsx)(d.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},s))}),x&&(0,t.jsx)("button",{className:T().tabsNextCenter,onClick:u,children:(0,t.jsx)(d.I,{icon:"arrow"})})]})},x=({categories:e,selected:s,className:i,clickHandler:r=()=>null,appearance:n="link",size:l="default"})=>{let o=e?.some(e=>!!e.icon),_={categories:e,clickHandler:r,selected:s,appearance:n,size:l};return o?(0,t.jsx)(m,{..._}):(0,t.jsx)(a.B,{className:i,..._})},h=x},50709:e=>{e.exports={TipsBox:"TipsList_TipsBox___jUgx",hasFragment:"TipsList_hasFragment__2tet_",TipsBoxMoreIcon:"TipsList_TipsBoxMoreIcon__G_uws",TipsBoxVersus:"TipsList_TipsBoxVersus__HBXuJ",TipsBoxOther:"TipsList_TipsBoxOther__M32dY",TipsBoxDetail:"TipsList_TipsBoxDetail__On9Wk",TipsBoxOdds:"TipsList_TipsBoxOdds__jLgkL",TipsBoxTime:"TipsList_TipsBoxTime__p8U2w",TipsBoxImg:"TipsList_TipsBoxImg__c_U52",hasPlaceholder:"TipsList_hasPlaceholder__45D_4",hasLoading:"TipsList_hasLoading__y2Y0q",TipsBoxTeam:"TipsList_TipsBoxTeam__Jc_pB",TipsBoxPlus:"TipsList_TipsBoxPlus__G1_Hw",TipsBoxDate:"TipsList_TipsBoxDate__ZW4Q5",TipsBoxClock:"TipsList_TipsBoxClock__qCJyW",TipsBoxTitle:"TipsList_TipsBoxTitle__c8YUz",TipsBoxTools:"TipsList_TipsBoxTools__5TQSs",TipsBoxTag:"TipsList_TipsBoxTag__8YT8R",TipsBoxLast:"TipsList_TipsBoxLast__Xp1pJ",TipsBoxMore:"TipsList_TipsBoxMore__WHYjc",TipsBoxMoreText:"TipsList_TipsBoxMoreText__LIc6K",TipsPrimary:"TipsList_TipsPrimary__vjkJV",TipsPrimaryBg:"TipsList_TipsPrimaryBg__chcCp",TipsGreen:"TipsList_TipsGreen__U2E2o",TipsGreenBg:"TipsList_TipsGreenBg__pEAMU",TipsLive:"TipsList_TipsLive__G3rdx",TipsList:"TipsList_TipsList__uE_y9",TipsListTitle:"TipsList_TipsListTitle__RVO_g",commItem:"TipsList_commItem__QN9Ra"}},55518:(e,s,i)=>{"use strict";i.d(s,{DG:()=>n,PA:()=>_,WF:()=>r,cK:()=>o,uV:()=>l});var t=i(96857),a=i.n(t);let r=(e,s=new Date)=>{let i=a()(e);return a()(s).diff(i)>=0},n=(e,s,i=new Date)=>{let t=a()(e),r=a()(s),n=a()(i);return n.diff(t)>=0&&r.diff(n)>=0},l=(e,s=new Date)=>{let i=a()(e);return a()(s).diff(i)>0},o=(e,s=new Date,i)=>{let t=a()(e),r=a()(s);return t.isSame(r,i)},_=(e,s)=>a()(e).isSame(a()().subtract(1,"day"),s)},63079:(e,s,i)=>{"use strict";i.d(s,{A:()=>v});var t=i(60072),a=i(60004),r=i(53647),n=i(86419),l=i.n(n),o=i(96857),_=i.n(o),c=i(52294),d=i.n(c),p=i(10366),T=i(7727),m=i(28659),x=i(2800),h=i(55518),u=i(87520);let g=(e,s=2)=>{for(e=e.toString();e.length<s;)e="0"+e;return e};var b=i(83055),L=i(2255),f=i(1510),B=i(65059),I=i(50709),j=i.n(I);let v=({tips:e,className:s,defaultCategory:i,target:n="_self"})=>{let o,c,I;_().extend(d());let[v,N]=(0,r.useIntersection)({rootMargin:"0px"}),{t:C}=(0,p.Bd)("layout"),{serverTimezone:S,lang:P}=(0,b.Ym)(),w={mma:C("MartialArts"),cyber:C("Cybersport")},y=(0,b.Ay)().code;(0,u.Ie)(i)&&(i=w[y]);let[k,E]=(0,a.useState)(null),A=(0,m.A)(e.start_date||e.publication_date||new Date),D=e.end_date?(0,m.A)(e.end_date):_()(A).add(90,"minute").toDate(),O=(0,h.uV)(D),H=!O&&(0,h.DG)(A,D),W=null;if(!O&&!H&&null!==k){let e=_()(A),s=_()(k);W=_().duration(e.diff(s))}return(0,a.useEffect)(()=>{E(new Date().getTime())},[]),(0,a.useEffect)(()=>
1{if(!O&&N){let e=setInterval(()=>{E(new Date().getTime())},1e3);return()=>{clearInterval(e)}}},[N]),(0,t.jsxs)("div",{ref:e=>v(e),className:l()(j().TipsBox,"tipsItem",s,{[j().TipsLive]:H&&!O,[j().TipsPrimary]:"primary"===e.highlight,[j().TipsGreen]:"green"===e.highlight}),children:[(0,t.jsxs)("div",{className:j().TipsBoxVersus,children:[(0,t.jsx)(L._,{className:j().TipsBoxTeam,src:e.team_home?.preview||"/images/placeholders/team.svg",alt:e.team_home?.name||e.preview_name||e.name,width:40,height:40,layout:"fixed"}),(0,t.jsxs)("div",{className:j().TipsBoxDetail,children:[(0,t.jsxs)("div",{className:j().TipsBoxOdds,children:[C("For"),": ",e.type_coefficient??e.coefficient]}),(0,t.jsxs)("time",{dateTime:(0,x.A)(A,S),className:j().TipsBoxTime,children:[(0,t.jsx)("div",{className:j().TipsBoxDate,children:(0,T.i)(A,"date",S,P)}),(0,t.jsx)("div",{className:j().TipsBoxClock,children:(0,T.i)(A,"time",S,P)})]})]}),(0,t.jsx)(L._,{className:j().TipsBoxTeam,src:e.team_away?.preview||"/images/placeholders/team.svg",alt:e.team_away?.name||e.preview_name||e.name,width:40,height:40,layout:"fixed"})]}),(0,t.jsx)(f.N,{href:e.url,className:j().TipsBoxTitle,target:n,children:e.preview_name||e.name}),(0,t.jsxs)("div",{className:j().TipsBoxTools,children:[(0,t.jsx)("div",{className:j().TipsBoxTag,children:e.main_category?.name||i}),(0,t.jsxs)("div",{className:j().TipsBoxLast,children:[O&&(0,t.jsx)("span",{children:C("Ended")}),H&&(0,t.jsx)("span",{children:"Live"}),!O&&!H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(B.I,{icon:"clock",size:10}),(0,t.jsx)("span",{suppressHydrationWarning:!0,children:(o=0,c=0,I=0,(0,u.Ie)(W)||(o=Math.floor(W.asHours()),c=W.minutes(),I=W.seconds()),`${g(o)}:${g(c)}:${g(I)}`)})]})]})]})]})}},68502:(e,s,i)=>{"use strict";i.d(s,{B:()=>T});var t=i(60072),a=i(86419),r=i.n(a),n=i(87520),l=i(98281),o=i(1510),_=i(65059),c=i(70639),d=i.n(c),p=i(30914);let T=({categories:e,selected:s,className:i,clickHandler:a=()=>null,appearance:c="link"})=>{let{isBtnScrollLeftShown:T,isBtnScrollRightShown:m,scrollToLeft:x,scrollToRight:h,tabScrollRef:u,parentRef:g}=(0,p.r)(),{itemRef:b,isSelected:L}=(0,l.E)(s);return(0,t.jsxs)("div",{className:r()("tabs",d().tabsHead,i),ref:g,children:[T&&(0,t.jsx)("button",{className:d().tabsPrev,onClick:x,children:(0,t.jsx)(_.I,{icon:"arrow",size:10})}),(0,t.jsx)("div",{className:d().tabsScroll,ref:u,children:e?.map((e,s)=>"link"!==c||(0,n.Ie)(e.url)?(0,t.jsx)("button",{className:r()(d().tabsItem,{[d().isSelect]:L(e)}),onClick:s=>a(s,e),children:e.name},s):(0,t.jsx)(o.N,{href:e.url,className:r()(d().tabsItem,{[d().isSelect]:L(e)}),onClick:s=>a(s,e),parentRef:L(e)?b:void 0,children:e.name},s))}),m&&(0,t.jsx)("button",{className:d().tabsNext,onClick:h,children:(0,t.jsx)(_.I,{icon:"arrow",size:10})})]})}},70639:e=>{e.exports={tabsHead:"CategoriesList_tabsHead__pj_lF Tabs_tabsHead__3Bb6D",tabsScroll:"CategoriesList_tabsScroll__Y20TJ Tabs_tabsScroll__smv5F",tabsNext:"CategoriesList_tabsNext__vhPrB Tabs_tabsNext__KfyYP",tabsNextCenter:"CategoriesList_tabsNextCenter__UJAX_ Tabs_tabsNext__KfyYP",tabsPrev:"CategoriesList_tabsPrev__XMMoH Tabs_tabsPrev__c2x1Q",tabsPrevCenter:"CategoriesList_tabsPrevCenter__TlWBc Tabs_tabsPrev__c2x1Q",tabsItem:"CategoriesList_tabsItem__lj2Xl Tabs_tabsItem___YqNN",isSelect:"CategoriesList_isSelect__4KN1A",tabsHeadWithIcon:"CategoriesList_tabsHeadWithIcon__yVbBY",isSport:"CategoriesList_isSport__KhAag",tabsHeadWithIconScroll:"CategoriesList_tabsHeadWithIconScroll__7wDy5",small:"CategoriesList_small__QcpFW",tabsHeadWithIconLink:"CategoriesList_tabsHeadWithIconLink__5WOVC",tabsHeadWithIconLinkIcon:"CategoriesList_tabsHeadWithIconLinkIcon__aQWeP",selected:"CategoriesList_selected__atUt_",forecastTab:"CategoriesList_forecastTab__RKZrV"}},86076:(e,s,i)=>{"use strict";i.r(s),i.d(s,{TIPS_BRANDING_QUERY:()=>S,TIPS_CATEGORY_QUERY:()=>v,TIPS_COUNTS_QUERY:()=>C,TIPS_LIST_DATA:()=>f,TIPS_QUERY:()=>N,TIPS_SIDE_MENU_QUERY:()=>j,TIPS_TOP_LIST_DATA:()=>B,TIPS_TOP_QUERY:()=>I,TipsList:()=>b,default:()=>L});var t=i(60072),a=i(60004),r=i(86419),n=i.n(r),l=i(57222),o=i(87520),_=i(1510),c=i(36914),d=i(12519),p=i(457),T=i(26779),m=i(63079),x=i(
150709),h=i.n(x),u=i(2710),g=i(81727);let b=({tips:e,title:s,href:i,categories:r,moreLinkText:x,className:u,size:b,maxTipsOnList:L,bannerTopPosition:f,bannerCenterPosition:B,bannerBottomPosition:I,showMicroData:j=!0,showBanners:v=!0,skipTailTrim:N=!1,openInNewTab:C=!1})=>{if((0,o.Ie)(e))return null;let S=0,P=f??1,w=B??6,y=I??11,k=(0,l.r9)("FORECASTS_TOP"),E=(0,l.r9)("FORECASTS_CENTER"),A=(0,l.r9)("FORECASTS_BOTTOM");return!k&&(w++,y++),!E&&!I&&y++,(0,t.jsxs)("div",{className:n()(h().withList,u),children:[s&&(0,t.jsx)("div",{className:h().TipsListTitle,children:i?(0,t.jsx)(_.N,{href:i,children:s}):(0,t.jsx)("h2",{children:s})}),!(0,o.Ie)(r)&&(0,t.jsx)(p.P,{categories:r,size:b}),(0,t.jsx)("div",{className:n()(h().TipsList),children:(()=>{let s=[];for(let i=0;i<e.length;i++){let r;if(L&&S>=L)break;let l=e[i],_=1;if(v&&[P,w,y].includes(i)){let e="";i===P?(e="FORECASTS_TOP",k&&_++):i===w?(e="FORECASTS_CENTER",E&&_++):i===y&&(e="FORECASTS_BOTTOM",A&&_++),r=(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)(d.A,{className:n()(h().TipsBox,h().hasFragment),type:e},"tips-b-"+l.id),(0,t.jsx)(m.A,{tips:l,target:C?"_blank":"_self"},l.id),j&&!(0,o.Ie)(l.microDataPreview)&&(0,t.jsx)(T.P,{microdata:JSON.parse(l.microDataPreview)},"microdata-"+l.id)]},"fragment-"+l.id)}else r=(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)(m.A,{tips:l,target:C?"_blank":"_self"},l.id),j&&!(0,o.Ie)(l.microDataPreview)&&(0,t.jsx)(T.P,{microdata:JSON.parse(l.microDataPreview)},"microdata-"+l.id)]},"fragment-"+l.id);s.push({node:r,slots:_}),S+=_}return N?s.map(e=>e.node):(function(e,s,i=3){let t=e.slice(),a=s;for(;a%i!=0&&t.length>0&&1===t[t.length-1].slots&&a>i;)t.pop(),a-=1;return{entries:t,itemsOnPage:a}})(s,S,3).entries.map(e=>e.node)})()}),x&&i&&(0,t.jsx)(c.$,{appearance:g.ej.LINK,color:g.nw.WHITE,href:i,fullWidth:!0,children:x})]})},L=b,f=`
2    id
3    name
4    preview_name
5    url
6    publication_date
7    coefficient
8    start_date
9    end_date
10    highlight
11    microDataPreview
12    team_home {
13        id
14        name
15        preview
16    }
17    team_away {
18        id
19        name
20        preview
21    }
22    main_category {
23        id
24        name
25    }
26`,B=`
27    id
28    name
29    preview_name
30    url
31    publication_date
32    coefficient
33    start_date
34    end_date
35    highlight
36    team_home {
37        id
38        name
39        preview
40    }
41    team_away {
42        id
43        name
44        preview
45    }
46    main_category {
47        id
48        name
49    }
50`,I=`
51    tipsTop: tipsSimple(top: true first: 20) {
52        data {
53            ${B}
54        }
55    }
56`,j=`
57    query TipsSideMenuQuery($slug: String!) {
58        category(type: "tips" slug: $slug) {
59            id
60            menu_sidebar {
61                name
62                slug
63                url
64                icon
65                id
66            }
67        }
68    }
69`,v=`
70    category(type: "tips" slug: $slug) {
71        id
72        name
73        slug
74        url
75        h1
76        title
77        description
78        descriptionPagination
79        edit_url
80        breadcrumbs {
81            name
82            link
83            seoName
84        }
85        parent {
86            id
87            name
88            slug
89            url
90        }
91
92        ${I}
93    }
94    tipsCategoryAfter: article(type: "content_page" slug: $articleContentSlug) {
95        content
96    }
97`,N=`
98    tips(first: $first page: $page date: $date) {
99        data {
100            ${f}
101        }
102        paginatorInfo {
103            currentPage
104            lastPage
105        }
106    }
107`,C=`
108    tipsCounts(slug: $slug) {
109        total
110        today
111        tomorrow
112        later
113    }
114`,S=`
115    brandings {
116        id
117        name
118        show_percent
119        items_color_class
120        banner_bg_color
121        text_color
122        advertiser
123        token
124        big_banner {
125            url
126            width
127            height
128        }
129        small_banner {
130            url
131            width
132            height
133        }
134        logo {
135            url
136            width
137            height
138        }
139        promoLink {
140            ${u.B}
141        }
142    }
143`},98281:(e,s,i)=>{"use strict";i.d(s,{E:()=>r});var t=i(60004),a=i(10983);let r=e=>{let s=(0,t.useRef)(null),i=(0,a.useRouter)();return{itemRef:s,isSelected:s=>"boolean"==typeof s.selected?s.selected:e?s.id===e||s.url===e:(i.basePath+i.asPath).includes(s.url)}}}}]);

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.