1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4891],{19921:function(e,t,i){i.d(t,{i:function(){return s},v:function(){return o}});var r=i(85893),n=i(25675),a=i.n(n),l=i(57833);let o=e=>(0,r.jsx)(a(),{...e,loader:e=>{let{src:t}=e;return t},unoptimized:!0}),s=(0,l.ZP)(o).withConfig({componentId:"sc-b1cb811f-0"})(["width:100%;height:auto;object-fit:contain;"])},53546:function(e,t,i){var r=i(85893),n=i(67294),a=i(41664),l=i.n(a),o=i(57833),s=i(33698),d=i(41712),c=i(42815),u=i(56849),h=i(78551),p=i(25603),f=i(69559),m=i(60602),x=i(61546);let b=(0,o.ZP)(s.Z).withConfig({componentId:"sc-d9c06fd0-0"})(["display:grid;padding-bottom:24px;gap:24px;grid-template-columns:1fr 1fr 1fr;@media (width <= 1024px){grid-template-columns:1fr 1fr;}@media (width <= 640px){grid-template-columns:1fr;}"]);t.Z=e=>{let{type:t="articles",title:i,buttonTitle:a}=e,o=(0,d.Z)(e=>{let{up:t}=e;return t(640)}),{data:v}=(0,h.a)({queryKey:[t],queryFn:()=>x.X.getArticles({populate:"articles"===t?"cover,tags":void 0,"pagination[limit]":6,"filters[category]":"articles"===t?1:2})}),g=(null==v?void 0:v.data)||[],j="articles"===t?"/media/article":"/media/news";return(0,r.jsxs)(s.Z,{mt:64,mb:32,children:[(0,r.jsxs)(m.o,{mb:32,alignItems:"center",justifyContent:"space-between",children:[(0,r.jsx)(c.Z,{pb:0,variant:"h2",fontSize:{notDesktop:32},lineHeight:{notDesktop:40},children:i}),o&&(0,r.jsx)(l(),{href:j,children:(0,r.jsx)(u.Z,{size:"m",children:a})})]}),(0,r.jsx)(b,{children:g.slice(0,6).map((e,i)=>{let r={key:null==e?void 0:e.id,article:e,col:4};return"news"===t?(0,n.createElement)(f.Z,{flexBasis:{desktop:309,notDesktop:352},flexGrow:1,...r,key:i}):"articles"===t?(0,n.createElement)(p.Z,{flexBasis:{desktop:348,notDesktop:352},flexGrow:1,variant:"small",...r,key:i}):null})}),!o&&(0,r.jsx)(s.Z,{flexbox:!0,justifyContent:"center",children:(0,r.jsx)(l(),{href:j,children:(0,r.jsx)(u.Z,{mx:"auto",size:"m",children:a})})})]})}},25603:function(e,t,i){i.d(t,{Z:function(){return j}});var r=i(85893),n=i(41664),a=i.n(n),l=i(57833),o=i(33698),s=i(41712),d=i(53797),c=i(19921),u=i(49610),h=i(39768),p={src:"/_next/static/media/default.f00f3900.webp",height:587,width:1070,blurDataURL:"data:image/webp;base64,UklGRlAAAABXRUJQVlA4IEQAAADwAQCdASoIAAQAAkA4JagCdEcAAY5chYAA/vZ309/N1k+CrJKNxfqovNJy7uj6eWptI6IucEVflT5YO1iv7ZUDx0AAAA==",blurWidth:8,blurHeight:4},f=i(60602),m=i(69875);let x=(0,l.ZP)(o.Z).withConfig({componentId:"sc-3bc84752-0"})(["position:absolute;z-index:1;top:50%;display:flex;width:400px;flex-direction:column;flex-grow:1;padding:32px;border-radius:12px;backdrop-filter:blur(50px);background:rgb(233 233 233 / 60%);transform:translateY(-50%);"]),b=(0,l.ZP)(o.Z).withConfig({componentId:"sc-3bc84752-1"})(["font-size:0;transition:transform 0.3s ease-in-out;"]),v=(0,l.ZP)(o.Z).withConfig({componentId:"sc-3bc84752-2"})(["&:hover{","{color:",";}","{transform:scale(1.02);}}"],u.KS,e=>e.theme.palettes.text.attention.deep.base,b),g=(0,l.ZP)(c.i).withConfig({componentId:"sc-3bc84752-3"})(["aspect-ratio:16 / 9;"]);var j=e=>{var t,i,n,l,j,w,Z,A;let{article:y,variant:I,...k}=e,{attributes:z}=y,G=(0,s.Z)("md"),C=null==z?void 0:null===(i=z.tags)||void 0===i?void 0:null===(t=i.data)||void 0===t?void 0:t.map(e=>{var t;return null===(t=e.attributes)||void 0===t?void 0:t.name}),S=(null==z?void 0:z.slug)||"",D=null==z?void 0:z.title,P=null==z?void 0:z.publishedAt,R=null==z?void 0:null===(j=z.cover)||void 0===j?void 0:null===(l=j.data)||void 0===l?void 0:null===(n=l.attributes)||void 0===n?void 0:n.formats,_=null==R?void 0:null===(w=R[I])||void 0===w?void 0:w.url,B=null==R?void 0:null===(Z=R[I])||void 0===Z?void 0:Z.height,K=null==R?void 0:null===(A=R[I])||void 0===A?void 0:A.width;return"medium"===I?(0,r.jsxs)(v,{...k,children:[(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsx)(o.Z,{mb:12,borderRadius:12,overflow:"hidden",children:(0,r.jsx)(b,{children:(0,r.jsx)(g,{width:K,height:B,src:_||p,loader:u.XI,alt:"ÐаÑÑинка ÑÑаÑÑи"})})})}),(0,r.jsx)(f.o,{mb:8,fGap:8,alignItems:"center",color:"palettes.text.neutral.light.base",children:(0,r.jsx)(o.Z,{color:"palettes.text.neutral.medium.base",children:(0,m.g)(P)})}),(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsx)(u.KS,{pb:12,children:(0,h._)(D)})}),(0,r.jsx)(f.o,{flexWrap:"wrap",fGap:4,children:null==C?void 0:C.map(e=>(0,r.jsx)(d.V,{appearance:"neutral",mode:"outline",size:"s",children:e},e))})]}):"small"===I?(0,r.jsxs)(v,{...k,children:[(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsx)(o.Z,{mb:12,borderRadius:12,overflow:"hidden",children:(0,r.jsx)(c.i,{width:K,height:B,style:{borderRadius:12,maxWidth:"100%",height:"fit-content",objectFit:"contain",transition:"transform 0.5s ease"},src:_||p,loader:u.XI,alt:"ÐаÑÑинка ÑÑаÑÑи"})})}),(0,r.jsx)(f.o,{mb:8,fGap:16,alignItems:"center",color:"palettes.text.neutral.light.base",children:(0,r.jsx)(o.Z,{color:"palettes.text.neutral.medium.base",children:(0,m.g)(P)})}),(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsx)(u.KS,{pb:0,mb:12,variant:"h3",children:(0,h._)(D)})}),(0,r.jsx)(f.o,{flexWrap:"wrap",fGap:4,children:null==C?void 0:C.map(e=>(0,r.jsx)(d.V,{appearance:"neutral",mode:"outline",size:"s",children:e},e))})]}):(0,r.jsxs)(v,{...k,height:"100%",children:[(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsxs)(o.Z,{flexbox:!0,position:"relative",children:[G&&(0,r.jsxs)(x,{children:[(0,r.jsx)(f.o,{mb:8,fGap:8,alignItems:"center",color:"palettes.text.neutral.medium.base",children:(0,r.jsx)(o.Z,{children:(0,m.g)(P)})}),(0,r.jsx)(u.KS,{pb:0,mb:12,children:D}),(0,r.jsx)(f.o,{fGap:4,flexWrap:"wrap",children:null==C?void 0:C.map(e=>(0,r.jsx)(d.V,{appearance:"neutral",size:"s",children:e},e))})]}),(0,r.jsx)(o.Z,{m:{md:"0px 0px 0px auto",sm:"0px 0px 16px 0px"},flexBasis:754,maxWidth:{md:"75%"},flexGrow:{md:1,sm:1},overflow:"hidden",borderRadius:12,children:!!_&&(0,r.jsx)(c.i,{style:{borderRadius:12},width:K,height:B,loader:u.XI,src:_,alt:"alt"})})]})}),!G&&(0,r.jsxs)(o.Z,{children:[(0,r.jsx)(f.o,{mb:8,fGap:16,alignItems:"center",color:"palettes.text.neutral.light.base",children:(0,r.jsx)(o.Z,{children:(0,m.g)(P)})}),(0,r.jsx)(a(),{href:"/media/article/".concat(S),children:(0,r.jsx)(u.KS,{pb:0,mb:16,variant:"h1",children:(0,h._)(D)})}),(0,r.jsx)(f.o,{fGap:4,children:null==C?void 0:C.map(e=>(0,r.jsx)(d.V,{appearance:"neutral",mode:"outline",size:"s",children:e},e))})]})]})}},49610:function(e,t,i){i.d(t,{KS:function(){return p},XI:function(){return h},Xw:function(){return c},we:function(){return u}});var r=i(85893);
1i(67294);var n=i(57833),a=i(21665),l=i(35495),o=i(42815),s=i(60602),d=i(69875);let c=e=>{let{author:t,...i}=e;return(0,r.jsxs)(s.o,{fGap:4,...i,children:[(0,r.jsx)(l.Z,{color:"palettes.text.neutral.medium.base",children:"ÐвÑоÑ:"}),(0,r.jsx)(l.Z,{color:"palettes.text.brand.deep.base",children:t})]})},u=e=>{let{publishedAt:t,estimatedMinutesToView:i=5,tags:n,...o}=e;return(0,r.jsxs)(s.o,{fontSize:{mobile:14},fGap:16,alignItems:"center",color:"palettes.text.neutral.medium.base",justifyContent:"space-between",...o,children:[(0,r.jsx)(l.Z,{children:(0,d.g)(t)}),!!i&&(0,r.jsxs)(s.o,{fGap:4,alignItems:"center",children:[(0,r.jsx)(a.Z,{}),i," мин"]})]})},h=e=>{let{src:t}=e;return t},p=(0,n.ZP)(o.Z).withConfig({componentId:"sc-cacd26df-0"})(["&:hover{color:",";}"],e=>{let{theme:t}=e;return t.palettes.text.attention.deep.base})},39768:function(e,t,i){i.d(t,{_:function(){return r},b:function(){return n}});let r=e=>e&&e.length>90?"".concat(null==e?void 0:e.slice(0,90),"..."):e,n=e=>{let t=[];return new DOMParser().parseFromString(e,"text/html").querySelectorAll("img").forEach(e=>{if(e.src){let i=e.closest("a");if(i){t.push({original:i.href,small:e.src});return}t.push({original:e.src,small:e.src})}}),t}},69559:function(e,t,i){var r=i(85893),n=i(41664),a=i.n(n),l=i(33698),o=i(35495),s=i(53797),d=i(49610),c=i(39768),u=i(60602),h=i(69875);t.Z=e=>{var t,i,n,p,f;let{article:m,...x}=e,b=null==m?void 0:null===(t=m.attributes)||void 0===t?void 0:t.publishedAt,v=null==m?void 0:null===(i=m.attributes)||void 0===i?void 0:i.title,g=(null==m?void 0:null===(p=m.attributes)||void 0===p?void 0:null===(n=p.tags)||void 0===n?void 0:n.data)||[],j=(null===(f=m.attributes)||void 0===f?void 0:f.slug)||"";return(0,r.jsx)(l.Z,{...x,style:{wordBreak:"break-word"},children:(0,r.jsx)(a(),{href:"/media/news/".concat(j),children:(0,r.jsxs)(u.Q,{height:"100%",borderRadius:12,border:"1px solid palettes.stroke.neutral.light.base",p:24,children:[(0,r.jsx)(o.Z,{color:"palettes.text.neutral.medium.base",mb:8,children:(0,h.g)(b)}),(0,r.jsx)(d.KS,{pb:12,variant:"h3",children:(0,c._)(v)}),(0,r.jsx)(u.o,{flexWrap:"wrap",fGap:4,children:g.map(e=>{var t;return(0,r.jsx)(s.V,{appearance:"neutral",mode:"outline",size:"s",children:null===(t=e.attributes)||void 0===t?void 0:t.name},e.id)})})]})})})}},7792:function(e,t,i){var r=i(85893),n=i(57833),a=i(33698),l=i(70279);let o=(0,n.ZP)(a.Z).withConfig({componentId:"sc-16c9baf2-0"})(["position:absolute;z-index:3;top:0;left:0;width:100%;height:100%;"]);t.Z=e=>(0,r.jsx)(o,{bg:"palettes.fill.neutralInverseA.deep.base",borderRadius:12,...e,children:(0,r.jsx)(l.$,{"data-testid":"parcels.spinner",position:"absolute",size:"l"})})},69875:function(e,t,i){i.d(t,{g:function(){return r}});let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return new Date().toLocaleDateString("ru",{day:"numeric",month:"long",year:"numeric"});let i=new Date(e);return Number.isNaN(i.getTime())?"":t?i.toLocaleDateString("ru",{day:"numeric",month:"long"}):i.toLocaleDateString("ru",{day:"numeric",month:"long",year:"numeric"})}},61546:function(e,t,i){i.d(t,{X:function(){return d}});var r=i(59821),n=i(39267),a=i(33238),l=i(55978);let{GET:o}=(0,r.ZP)({baseUrl:"https://".concat((0,a.dh)()),fetch:n.G.fetchWithPublic}),s="fb319329c6ac5e15d0e9b0b55b90037bb587d8ffbb0087b45ec250fb769224a7f98e7465a0cd39101790acfb877c9b2a19ead558044d3061c61978bb372903562e9d695bbd9db563a13bf8385b520af4973932370f1ce3d99d43961ab477af06a4c468365973ed3f33bbb361a6b29ba690ba6f7cc9eb4410e39731746dca8d2d",d={getFile:async e=>{let{data:t}=await o("/upload/files/{id}",{headers:{Authorization:"Bearer ".concat(s)},params:{path:{id:e}}});return t||{}},getTags:async e=>{let{data:t}=await o("/tags",{headers:{Authorization:"Bearer ".concat(s)},params:{query:e}});return t||{}},getArticle:async(e,t)=>{let{data:i}=await o("/articles/{id}",{headers:{Authorization:"Bearer ".concat(s)},params:{path:{id:e},query:t}});return(null==i?void 0:i.data)||{}},getArticles:async e=>{let{data:t}=await o("/articles",{headers:{Authorization:"Bearer ".concat(s)},params:{query:{...e,sort:"publishedAt:desc"}},querySerializer:l.t});return t||{}}}}}]);
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.