(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3156],{49227:function(e,a,l){"use strict";l.d(a,{S:function(){return o}});var i=l(52322),s=l(72779),t=l.n(s);l(2784);var n=l(66692),r=l(30051),d=l.n(r);let o=e=>{let{className:a,externalStyle:l,text:s,ellipsisLines:r=3,emptyStyles:o,additionalText:c,additionalTextClassname:_,useCardTitle:u=!1}=e;return s&&(0,i.jsxs)("div",{style:{...l,WebkitLineClamp:r},className:t()(d().desc,a,{[d().default]:!o}),children:[u?(0,i.jsx)(n.l,{text:s}):(0,i.jsx)("span",{children:s}),c&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),(0,i.jsx)("span",{className:_,children:c})]}),o?"":"..."]})||null}},58907:function(e,a,l){"use strict";var i=l(52322),s=l(72779),t=l.n(s),n=l(96577),r=l.n(n),d=l(39097),o=l.n(d),c=l(2784),_=l(247),u=l(38334),I=l(96268),g=l(1487),h=l(11262),m=l.n(h);a.Z=c.memo(e=>{let{image:a,alt:s,href:n,className:d,isAbsolute:c,fixHeight:h,wrapClassName:y,preload:j=!1,useWebp:v,isSquare:N,keepRatio:M}=e,b=v?(0,_.Ab)(a):a,{imageSrc:x,onError:k,onLoad:w}=(0,u.i)(b,g.ax.IS_IGROMANIA?l(70075):l(17439));return(0,i.jsx)(o(),{className:t()("knb-card--image",m().wrap,y,{[m().isAbsolute]:c,[m().isSquare]:N}),style:h?{maxHeight:h}:{},href:n,children:(0,i.jsx)("figure",{className:t()(d,{[m().keepRatio]:M}),children:(0,i.jsx)(r(),{alt:s||"",priority:j,"data-source":b,src:x,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,placeholder:"blur",blurDataURL:(0,I.Od)({}),className:t()("knb-card--image"),onError:k,onLoad:w})})})})},66692:function(e,a,l){"use strict";l.d(a,{l:function(){return n}});var i=l(52322),s=l(72779),t=l.n(s);l(2784);let n=e=>{let{text:a,className:l,noDefaultClass:s=!1}=e;return s?(0,i.jsx)("h3",{className:t()(l),children:a}):(0,i.jsx)("h3",{className:t()("knb-card--title",l),children:a})}},13156:function(e,a,l){"use strict";l.d(a,{Z:function(){return j}});var i=l(52322),s=l(2784),t=l(48834),n=l(72779),r=l.n(n),d=l(49227),o=l(95054),c=l(79379),_=l(5857),u=l.n(_),I=(0,o.Z)(e=>{let{item:a,titleClassName:l=""}=e;return(0,i.jsx)(c.Z,{target:a.in_new_tab?"_blank":"_self",href:a.materialHref,className:u().body,children:(0,i.jsx)(d.S,{text:a.title,ellipsisLines:3,useCardTitle:!0,emptyStyles:!0,className:r()("knb-card--title",u().title,l)})})},{wrapper:{className:u().card},head:{className:u().head},components:{[t.lC.CardImage]:{className:"knb-card--mask-tiny"}}}),g=l(72334),h=l.n(g),m=l(66692),y=(0,o.Z)(e=>{let{item:a,headPlace:l}=e;return(0,i.jsxs)("div",{className:u().body,children:[l,(0,i.jsx)(c.Z,{href:a.materialHref,target:a.in_new_tab?"_blank":"_self",children:(0,i.jsx)(m.l,{text:a.title,className:u().title})})]})},{wrapper:{className:"".concat(u().card," ").concat(u().isPhone)},head:{className:u().head,handRender:!0},footer:{className:h().relative_footer},components:{[t.lC.CardImage]:{className:"".concat(u().image)}}}),j=s.memo(e=>e.isPhone&&(0,i.jsx)(y,{...e})||(0,i.jsx)(I,{...e}))},95054:function(e,a,l){"use strict";l.d(a,{Z:function(){return f}});var i=l(52322),s=l(48834),t=l(72779),n=l.n(t);l(2784);var r=l(21182),d=l(72334),o=l.n(d);let c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{components:{}},l=(0,r.Z)(e,a);if(l.length>0){var s,t;return(0,i.jsx)("div",{className:n()(null==a?void 0:null===(s=a.head)||void 0===s?void 0:s.className,{[o().visibleAlways]:null==a?void 0:null===(t=a.head)||void 0===t?void 0:t.isHeadVisibleAlways}),children:l})}return null};var _=l(66146),u=l(39097),I=l.n(u),g=l(72858),h=l(79950),m=l(91926),y=l(89436),j=l(26841),v=l(78932),N=l.n(v),M=(0,h.K)(e=>{let{className:a,externalStyle:l,avaHeight:t=60,avaWidth:r=60,theme:d,author:o,onlyAvatar:c,pubdate:u,personImage:h,personHref:v}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.Z,{condition:!!h,children:(0,i.jsx)("div",{style:l,className:n()(N().user,a,{[N().dark]:d===s.uS.Dark},N().short),children:(0,i.jsx)(j.q,{href:v,src:h||_.Placeholders.avatar,width:r,height:t,className:N().ava,isRadius:!0,isLazy:!0,errorPlaceholder:m.Z.Avatar})})}),(0,i.jsx)(g.Z,{condition:!!o&&!h,children:(0,i.jsxs)("div",{style:l,className:n()(N().user,a,{[N().dark]:d===s.uS.Dark,[N().short]:c}),children:[(0,i.jsx)(j.q,{href:null==o?void 0:o.link,src:(null==o?void 0:o.photo)||_.Placeholders.avatar,width:r,height:t,className:N().ava,isRadius:!0,isLazy:!0,errorPlaceholder:m.Z.Avatar}),!c&&(0,i.jsxs)("div",{className:N().info,children:[(0,i.jsx)(I(),{className:N().title,href:null==o?void 0:o.link,children:null==o?void 0:o.name}),u&&(0,i.jsx)("span",{className:N().date,children:(0,y.yK)(u)})]})]})})]})});let b=function(e){var a;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{components:{}},t=l.components[s.lC.CardUser]||{};return e&&(0,i.jsx)(M,{className:n()(null==l?void 0:null===(a=l.user)||void 0===a?void 0:a.className),...e,...t})||null};var x=l(58907).Z,k=l(1487);let w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{components:{},isCompany:!1};return Object.keys(e).reduce((t,n)=>{let r=a.components[n]||{};if(n===s.lC.CardImage){let d=e[n];a.cardType&&a.pubdate&&a.cardType===s.iX.NewsItem&&!a.isCompany&&(0,y.O7)(a.pubdate)&&(d.image=k.ax.IS_IGROMANIA?l(70075):l(17439),d.useWebp=!1),t.push((0,i.jsx)(x,{...d,...r},n))}return t},[])},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{components:{}},{footer:l}=a,{left:s,right:t}=e,d={leftView:(0,r.Z)(s||{},a),rightView:(0,r.Z)(t||{},a)};return d.leftView.length>0||d.rightView.length>0?(0,i.jsxs)("div",{className:n()(null==l?void 0:l.className,"knb-card--footer"),children:[d.leftView.length>0&&(0,i.jsx)("div",{className:n()("knb-card--footer-left"),children:d.leftView}),d.rightView.length>0&&(0,i.jsx)("div",{className:n()("knb-card--footer-right"),children:d.rightView})]}):null};var f=function(e,a){return l=>{var t,r,d,o;let{wrapper:_,head:u,footer:I,widgets:g,user:h}=a,{noHover:m,className:y,notInGrid:j,indexType:v,cardClass:N="knb-card",withShadow:M=!0,isBig:x,isPhone:k}=l;a.head&&(a.head.isHeadVisibleAlways=l.headVisibleAlways);let f={headPlace:c(l.head,a),footerPlace:p(l.footer,a),userPlace:b(l.user,a),widgetsPlace:w(l.widgets,{...a,cardType:null==l?void 0:null===(t=l.item)||void 0===t?void 0:t.type,pubdate:null==l?void 0:null===(r=l.item)||void 0===r?void 0:r.pubdate,isCompany:null==l?void 0:null===(o=l.item)||void 0===o?void 0:null===(d=o.vertical)||void 0===d?void 0:d.isCompany})},{headPlace:C,footerPlace:A,userPlace:D,widgetsPlace:P}=f;return(0,i.jsxs)("div",{className:n()(_.className,N,{"knb-card--noHover":m,"knb-card--odd":v===s.PX.Odd,"knb-card--big":x,"knb-card--even":v===s.PX.Even,"knb-card--dark":l.theme===s.uS.Dark,"knb-grid-cell":!j,withShadow:M},y),children:[(null==h?void 0:h.handRender)?null:D,(null==g?void 0:g.handRender)?null:P,(null==u?void 0:u.handRender)?null:C,(0,i.jsx)(e,{...l,...f}),(null==I?void 0:I.handRender)?null:A]})}}},30051:function(e){e.exports={light:"style_light__WMMbo",dark:"style_dark__0xePH",kanobu:"style_kanobu__k5pQp",igromania:"style_igromania__etznW",desc:"style_desc__9c7ec",default:"style_default__Hfr27"}},78932:function(e){e.exports={light:"style_light__lq6hU",dark:"style_dark__NT2Wx",kanobu:"style_kanobu__6zRX3",igromania:"style_igromania__0HnIM",user:"style_user__5rDDc",short:"style_short__xwBIS",ava:"style_ava__9Wq4P",info:"style_info__qPIKg",title:"style_title__3JKVr",date:"style_date__rZ80t"}},11262:function(e){e.exports={light:"style_light__xuG3V",dark:"style_dark__OCKOi",kanobu:"style_kanobu__IDDun",igromania:"style_igromania__vTZLP",wrap:"style_wrap___iepK",isAbsolute:"style_isAbsolute__P_sj_",isSquare:"style_isSquare__nPh4Y",keepRatio:"style_keepRatio___T3oB"}},5857:function(e){e.exports={light:"style_light__B3ywy",dark:"style_dark__R2G3X",kanobu:"style_kanobu__n5dua",igromania:"style_igromania__GL7q4",card:"style_card__ZD6TK",head:"style_head__Yn4kf",body:"style_body__ldkAO",title:"style_title__uxa72",isPhone:"style_isPhone__kycol",image:"style_image__Vj6cJ"}},72334:function(e){e.exports={light:"fabric_light__dHdyS",dark:"fabric_dark__AI5dF",kanobu:"fabric_kanobu__vZLzB",igromania:"fabric_igromania__61UsF",relative_footer:"fabric_relative_footer__94l_S",absolute_body:"fabric_absolute_body__1Ixpx",visibleAlways:"fabric_visibleAlways__yQiyG"}},70075:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjIwIiBoZWlnaHQ9IjMzMiIgdmlld0JveD0iMCAwIDYyMCAzMzIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yMzA2XzcxMjg1KSI+CjxyZWN0IHdpZHRoPSI2MjAiIGhlaWdodD0iMzMyIiBmaWxsPSIjMjgyODJFIi8+CjxwYXRoIG9wYWNpdHk9IjAuMzUiIGQ9Ik0wIDQyMy42NThMMjM3LjY0NiAxMzNMMTg3LjM1IDM1OC4zNDJIMjk4TD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