1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53531,58217],{457:(e,a,t)=>{"use strict";t.d(a,{P:()=>g,A:()=>h});var s=t(60072),i=t(68502),n=t(86419),l=t.n(n),r=t(98281),c=t(83055),o=t(30914),d=t(68804),m=t(65059),u=t(70639),p=t.n(u);let _=({categories:e,selected:a,clickHandler:t=()=>null,appearance:i="link",size:n})=>{let{project:u}=(0,c.Ay)(),{isBtnScrollLeftShown:_,isBtnScrollRightShown:g,scrollToLeft:h,scrollToRight:b,tabScrollRef:x,parentRef:I}=(0,o.r)(),{itemRef:j,isSelected:N}=(0,r.E)(a);return(0,s.jsxs)("div",{className:l()(p().tabsHead,p().tabsHeadWithIcon,{[p().isSport]:"sport"===u}),ref:I,children:[_&&(0,s.jsx)("button",{className:p().tabsPrevCenter,onClick:h,children:(0,s.jsx)(m.I,{icon:"arrow"})}),(0,s.jsx)("div",{className:l()(p().tabsHeadWithIconScroll,{[p().small]:"small"===n,[p().justifyStart]:4>=(e?.length||0)}),ref:x,children:e?.map((e,a)=>"link"===i?(0,s.jsxs)(d.N,{href:e.url,className:l()(p().tabsHeadWithIconLink,{[p().selected]:N(e),[p().small]:"small"===n}),onClick:a=>t(a,e),parentRef:N(e)?j:void 0,children:[e.icon&&(0,s.jsx)("span",{className:p().tabsHeadWithIconLinkIcon,children:(0,s.jsx)(m.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},a):(0,s.jsxs)("button",{className:l()(p().tabsHeadWithIconLink,{[p().selected]:N(e),[p().small]:"small"===n}),onClick:a=>t(a,e),children:[e.icon&&(0,s.jsx)("span",{className:p().tabsHeadWithIconLinkIcon,children:(0,s.jsx)(m.I,{icon:e.icon,size:24})}),e.menu_name||e.name]},a))}),g&&(0,s.jsx)("button",{className:p().tabsNextCenter,onClick:b,children:(0,s.jsx)(m.I,{icon:"arrow"})})]})},g=({categories:e,selected:a,className:t,clickHandler:n=()=>null,appearance:l="link",size:r="default"})=>{let c=e?.some(e=>!!e.icon),o={categories:e,clickHandler:n,selected:a,appearance:l,size:r};return c?(0,s.jsx)(_,{...o}):(0,s.jsx)(i.B,{className:t,...o})},h=g},18220:(e,a,t)=>{"use strict";t.d(a,{Fj:()=>d,Jz:()=>m,_n:()=>l,dW:()=>o,l:()=>u});var s=t(40546),i=t(60578),n=t(4394);let l=` 2 category(type: $type slug: $slug) { 3 id 4 name 5 slug 6 h1 7 title 8 description 9 canonicalUrl 10 breadcrumbs { 11 link 12 name 13 seoName 14 } 15 hreflang { 16 href 17 lang 18 } 19 articles(type: $type first: $first page: $page) { 20 data { 21 id 22 name 23 slug 24 url 25 publication_date 26 preview 27 comments_count 28 main_category { 29 id 30 name 31 } 32 } 33 paginatorInfo { 34 currentPage 35 lastPage 36 } 37 } 38 } 39`,r=` 40 data { 41 id 42 name 43 slug 44 url 45 publication_date 46 preview 47 annonce 48 comments_count 49 main_category { 50 id 51 name 52 } 53 } 54 paginatorInfo { 55 currentPage 56 lastPage 57 } 58`,c="first: $first page: $page type: $type orderBy: [{column: SORTING order: ASC},{column: PUBLICATION_DATE order: DESC}]",o=` 59 articles(${c}) { 60 ${r} 61 } 62`,d=` 63 articles(${c} category: $category) { 64 ${r} 65 } 66`,m=` 67 latestArticles: articlesSimple(type: "${i.g.BLOG}" first: 6) { 68 data { 69 id 70 name 71 url 72 slug 73 publication_date 74 preview 75 main_category { 76 id 77 name 78 } 79 } 80 } 81`,u=` 82 promotedArticles: articlesSimple(first: 9 onPromoted: true) { 83 data { 84 id 85 name 86 url 87 slug 88 publication_date 89 preview 90 main_category { 91 id 92 name 93 } 94 } 95 } 96`,p=` 97 firstGuides: article(slug: "guides1" type: "content_page") { 98 id 99 name 100 content 101 } 102 secondGuides: article(slug: "guides2" type: "content_page") { 103 id 104 name 105 content 106 } 107`,_=` 108 asideMenu: menuTree(type: "betting_school") { 109 id 110 name 111 url 112 children { 113 id 114 name 115 url 116 parent_id 117 children { 118 id 119 name 120 url 121 parent_id 122 children { 123 id 124 name 125 url 126 parent_id 127 } 128 } 129 } 130 } 131`;(0,s.J1)` 132 query BettingSchoolQuery { 133 ${p} 134 ${_} 135 customBottomMenu: menuTree(type: "bottom_school") { 136 ${n.f0} 137 } 138 } 139`},53531:(e,a,t)=>{"use strict";
139t.r(a),t.d(a,{DEFAULT_PAGINATED_ITEMS:()=>b,ISRPagination:()=>x,PAGINATION_INFO_DEFAULT:()=>h,default:()=>j});var s=t(60072),i=t(60004),n=t(10983),l=t(86419),r=t.n(l),c=t(10366),o=t(84362),d=t(78628),m=t(35756),u=t(24783),p=t(65059),_=t(22827),g=t.n(_);let h={currentPage:1,lastPage:1},b={data:[],paginatorInfo:{currentPage:1,lastPage:1}},x=({lastPage:e,currentPage:a,neighbours:t=1,showPages:l=!0,showMore:_=!1,showMoreTitle:b="ÐагÑÑзиÑÑ ÐµÑе",onPageChanged:x,onLoadMore:j=x,saveQuery:N=[],allowLinks:f=!0,className:y,isLoading:C=!1,variant:L="dark"})=>{let k=(0,n.useRouter)(),v=(0,u.a)(),{t:P}=(0,c.Bd)("layout"),$=k.asPath,A=(0,o.u)($),S=()=>v?0:t,T=(e,a,t=!1)=>{t&&e.preventDefault();let s=(0,m.b3)($,a);t&&j?j(a,s):x&&x(a,s)},w=A<=1,W=A>=e,H=(0,s.jsx)(p.I,{icon:"loader",size:25}),D=A||h.currentPage,B=a||A;return((0,i.useEffect)(()=>{A!==D&&x?.(D,$)},[$,D]),1===e)?null:(0,s.jsxs)("div",{className:r()(g().pagination,y,{[g().isLoading]:C}),children:[_&&B<e&&(0,s.jsxs)(I,{href:(0,m.b3)($,B+1),allowLinks:f,className:r()(g().paginationMore,"loadMore",{[g().paginationMoreLight]:"light"===L}),onClick:e=>T(e,B+1,!0),children:[(0,s.jsx)("span",{children:b}),C&&H]}),l&&(0,s.jsxs)("ul",{className:r()(g().paginationList,"show-mobile"),children:[!w&&(0,s.jsx)("li",{className:r()(g().paginationItem,{[g().paginationItemDisabled]:C}),children:(0,s.jsx)(I,{href:(0,m.b3)($,A-1),allowLinks:f,className:g().paginationLink,onClick:e=>T(e,A-1),children:P("PREV")})}),(()=>{var a;let t,s,i,n=2*S()+3;if(e<=n)return(0,d.A)(1,e);let l=(t=[1],s=A>e-2,i=A<=2,s&&!v||i&&v?t.push(2):i&&t.push(2,3),t),r=A>2&&A<=e-2?(0,d.A)(A-S(),A+S()):[],c=(a=l.length+r.length,(0,d.A)(e-(n-a-1),e)),o=Math.max(2,A-S()),m=Math.min(e-1,A+S()),u=e-m>1,p=[];return p.push(...l),o>2&&p.push("..."),p.push(...r),u&&p.push("..."),p.push(...c),p})().map((a,t)=>"..."===a?(0,s.jsx)("li",{className:g().paginationItem,children:(0,s.jsxs)("div",{className:g().paginationDots,children:[(0,s.jsx)("span",{className:g().paginationDotsItem}),(0,s.jsx)("span",{className:g().paginationDotsItem}),(0,s.jsx)("span",{className:g().paginationDotsItem})]})},`${a}-${t}}`):a===A?(0,s.jsx)("li",{className:r()(g().paginationItem,g().isSelect,{[g().paginationItemDisabled]:C}),children:(0,s.jsx)("span",{className:g().paginationLink,children:C&&A===e?H:a})},`${a}-${t}}`):(0,s.jsx)("li",{className:r()(g().paginationItem,{[g().paginationItemDisabled]:C}),children:(0,s.jsx)(I,{href:(0,m.b3)($,+a),allowLinks:f,className:g().paginationLink,onClick:e=>T(e,+a),children:a})},`${a}-${t}}`)),!W&&(0,s.jsx)("li",{className:r()(g().paginationItem,{[g().paginationItemDisabled]:C}),children:(0,s.jsx)(I,{href:(0,m.b3)($,A+1),allowLinks:f,className:g().paginationLink,onClick:e=>T(e,A+1),children:P("NEXT")})})]})]})},I=({href:e,allowLinks:a,children:t,...i})=>{if(a)return(0,s.jsx)("a",{href:e,...i,children:t})},j=x},58217:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>b});var s=t(60072),i=t(10366),n=t(87520),l=t(22203),r=t(18532),c=t(53531),o=t(59940),d=t(89563),m=t(73750),u=t(28567),p=t(59624),_=t(60578),g=t(85977),h=t(83055);let b=({type:e,articles:a,categories:t,categoryUrl:b,categoryTitle:x,hideCategoryInCrumbs:I=!1,h1:j,title:N,description:f,sidebar:y,afterContent:C,beforeContent:L,paginationTitle:k,paginationFirst:v=21,showPromoButton:P=!0,topBanner:$,categorySlug:A,breadcrumbs:S,hreflangs:T,menuTree:w,customBottomMenu:W})=>{let{t:H}=(0,i.Bd)("layout"),D=(0,h.Ay)();(0,n.Ie)(k)&&(k=H("MoreArticles")),(0,n.Ie)(x)&&(x=H("Articles"));let{items:B,paginatorInfo:M,onPageChanged:E,onLoadMore:J}=(0,l.A)(a,(0,n.Ie)(A)?g.A:g.J,{type:e,first:v,category:A},e=>e.articles);return(0,n.Ie)(t)||(t=[{id:"0",name:H("all"),url:b,selected:!0},...(0,n.Ie)(t)?[]:t]),(0,s.jsxs)(d.P,{h1:j,title:N,description:f,sidebar:y,topBanner:$,breadcrumbs:I?[]:(0,n.Ie)(S)?[{name:x,link:b}]:S,showPromoButton:P,hreflang:T,customTopMenu:w,customBottomMenu:W,children:[(0,s.jsx)(r.t,{children:!(0,n.Ie)(L)&&L}),(0,s.jsxs)(r.t,{children:[(0,s.jsx)(o.V,{titleLink:b,articles:B,categories:t,additionalType:e}),(0,s.jsx)(c.default,{...M,showMore:!0,showMoreTitle:k,onPageChanged:E,onLoadMore:J})]}),(0,s.jsx)(r.t,{children:!(0,n.Ie)(C)&&C}),(0,s.jsx)(r.t,{children:(0,s.jsx)(m.y,{})}),(0,s.jsx)(p.A,{}),D.is("sport_ru")&&e===_.g.BLOG&&(0,s.jsx)(u.J,{})]})}},59940:(e,a,t)=>{"use strict";t.d(a,{V:()=>d});
139var s=t(60072),i=t(87520),n=t(457),l=t(42483),r=t(63162),c=t(99979),o=t.n(c);let d=({titleLink:e,title:a,categories:t,articles:c,additionalType:d})=>(0,s.jsxs)(l.A,{title:a,titleLink:e,className:o().defaultArticlesList,children:[(0,i.z2)(t)&&(0,s.jsx)(n.P,{categories:t}),(0,s.jsx)("div",{className:o().articlesWrap,children:c.map(e=>"type"in e?(0,s.jsx)(r.i,{name:e.name,type:e.type,mainCategory:e.main_category,preview:e.preview,url:e.url,publicationDate:e.publication_date,announce:e.annonce,commentsCount:e.comments_count,additionalType:d},e.id):(0,s.jsx)(r.i,{name:e.name,mainCategory:e.main_category,preview:e.preview,url:e.url,publicationDate:e.publication_date,additionalType:d},e.id))})]})},68502:(e,a,t)=>{"use strict";t.d(a,{B:()=>p});var s=t(60072),i=t(86419),n=t.n(i),l=t(87520),r=t(98281),c=t(68804),o=t(65059),d=t(70639),m=t.n(d),u=t(30914);let p=({categories:e,selected:a,className:t,clickHandler:i=()=>null,appearance:d="link"})=>{let{isBtnScrollLeftShown:p,isBtnScrollRightShown:_,scrollToLeft:g,scrollToRight:h,tabScrollRef:b,parentRef:x}=(0,u.r)(),{itemRef:I,isSelected:j}=(0,r.E)(a);return(0,s.jsxs)("div",{className:n()("tabs",m().tabsHead,t),ref:x,children:[p&&(0,s.jsx)("button",{className:m().tabsPrev,onClick:g,children:(0,s.jsx)(o.I,{icon:"arrow",size:10})}),(0,s.jsx)("div",{className:m().tabsScroll,ref:b,children:e?.map((e,a)=>"link"!==d||(0,l.Ie)(e.url)?(0,s.jsx)("button",{className:n()(m().tabsItem,{[m().isSelect]:j(e)}),onClick:a=>i(a,e),children:e.name},a):(0,s.jsx)(c.N,{href:e.url,className:n()(m().tabsItem,{[m().isSelect]:j(e)}),onClick:a=>i(a,e),parentRef:j(e)?I:void 0,children:e.name},a))}),_&&(0,s.jsx)("button",{className:m().tabsNext,onClick:h,children:(0,s.jsx)(o.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"}},84362:(e,a,t)=>{"use strict";t.d(a,{u:()=>s});let s=e=>{let a=e.match(/\/page-(\d+)/);return a?parseInt(a[1],10):1}},85977:(e,a,t)=>{"use strict";t.d(a,{A:()=>l,J:()=>r});var s=t(40546),i=t(18220);let n="$type: String! $first: Int! $page: Int!",l=(0,s.J1)` 140 query Articles(${n}) { 141 ${i.dW} 142 } 143`,r=(0,s.J1)` 144 query Articles(${n} $category: String) { 145 ${i.Fj} 146 } 147`},98281:(e,a,t)=>{"use strict";t.d(a,{E:()=>n});var s=t(60004),i=t(10983);let n=e=>{let a=(0,s.useRef)(null),t=(0,i.useRouter)();return{itemRef:a,isSelected:a=>"boolean"==typeof a.selected?a.selected:e?a.id===e||a.url===e:(t.basePath+t.asPath).includes(a.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.