(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[810],{2343:(e,s,t)=>{"use strict";t.d(s,{V:()=>n});var a=t(7876),r=t(4232),l=t(7856);let i=l.Ay.div` @media screen and (max-width: 768px) { max-height: 400px; overflow: hidden; } `,n=(0,r.memo)(()=>(r.useEffect(()=>{console.log("Ads: update"),window.yaContextCb.push(()=>{Ya.Context.AdvManager.render({blockId:"R-A-19359781-1",renderTo:"yandex_rtb_R-A-19359781-1",onRender:e=>{console.log("Ya.Context.AdvManager.render",e.product)}})})},[]),(0,a.jsx)(i,{id:"yandex_rtb_R-A-19359781-1"})))},3831:(e,s,t)=>{"use strict";t.d(s,{A:()=>x});var a=t(7876),r=t(4232),l=t(8103),i=t.n(l),n=t(4587),o=t.n(n),d=t(7856);let c=(0,d.Ay)(({loading:e,...s})=>(0,a.jsx)(o(),{width:100,height:100,style:{width:"100%",height:"auto"},unoptimized:!0,...s,className:i()("image",s.className)}))` transition: opacity 1000ms, transform 500ms; ${({loading:e})=>e?"opacity: 0":"opacity: 1"} &:hover { transform: scaleX(1.025) scaleY(1.025); } `,h=(0,d.Ay)(({src:e,...s})=>(0,a.jsx)("div",{...s}))` background: url(${({src:e})=>e}); background-size: cover; border: 1px solid #eee; `,x=({src:e,preSrc:s,alt:t,title:l})=>{let[i,n]=(0,r.useState)(!0),o=(0,r.useCallback)(()=>{n(!1)},[n]);return(0,a.jsx)(h,{src:s,children:(0,a.jsx)(c,{loading:i,src:e,onLoad:o,alt:t,title:l})})}},6475:(e,s,t)=>{var a=t(4232);function r(e){return e=Object.assign({},r.defaultProps,e),a.createElement("svg",e,a.createElement("g",null,[a.createElement("path",{style:{fill:"#FF9800"},d:"M 42 37 C 42 39.800781 39.800781 42 37 42 L 11 42 C 8.199219 42 6 39.800781 6 37 L 6 11 C 6 8.199219 8.199219 6 11 6 L 37 6 C 39.800781 6 42 8.199219 42 11 Z ",key:0}),a.createElement("path",{style:{fill:"#FFFFFF"},d:"M 26.898438 30.398438 C 28.398438 30.101563 29.800781 29.5 31 28.699219 C 32 28.101563 32.300781 26.800781 31.699219 25.800781 C 31.101563 24.800781 29.800781 24.5 28.800781 25.101563 C 25.898438 26.898438 22.101563 26.898438 19.199219 25.101563 C 18.199219 24.5 16.898438 24.800781 16.300781 25.800781 C 15.699219 26.800781 16 28.101563 17 28.699219 C 18.300781 29.5 19.699219 30.101563 21.101563 30.398438 L 17.101563 34.398438 C 16.300781 35.199219 16.300781 36.5 17.101563 37.398438 C 17.5 37.800781 18 38 18.601563 38 C 19.101563 38 19.699219 37.800781 20.101563 37.398438 L 24 33.5 L 27.898438 37.398438 C 28.699219 38.199219 30 38.199219 30.898438 37.398438 C 31.699219 36.601563 31.699219 35.300781 30.898438 34.398438 C 30.898438 34.398438 26.898438 30.398438 26.898438 30.398438 Z M 24 10 C 20.101563 10 17 13.101563 17 17 C 17 20.898438 20.101563 24 24 24 C 27.898438 24 31 20.898438 31 17 C 31 13.101563 27.898438 10 24 10 Z M 24 20 C 22.300781 20 21 18.699219 21 17 C 21 15.300781 22.300781 14 24 14 C 25.699219 14 27 15.300781 27 17 C 27 18.699219 25.699219 20 24 20 Z ",key:1})]))}r.defaultProps={x:"0px",y:"0px",width:"48",height:"48",viewBox:"0 0 48 48",style:{fill:"#000000"}},e.exports=r,r.default=r},6578:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/post/[slug]",function(){return t(6929)}])},6764:(e,s,t)=>{"use strict";t.d(s,{Y:()=>c});var a=t(7876);t(4232);var r=t(8230),l=t.n(r),i=t(7856),n=t(8103),o=t.n(n);let d=({text:e,className:s,asUri:t})=>(0,a.jsx)(l(),{href:`/tags/${t}/`,legacyBehavior:!0,children:(0,a.jsx)("a",{title:e,className:o()(s,"tag is-primary is-small"),children:e})});(0,i.Ay)(d)` display: inline-block; `;let c=(0,i.Ay)(({tags:e=[],className:s})=>(0,a.jsx)("div",{className:o()("tags",s),children:e.map(e=>(0,a.jsx)(d,{...e},e.text))}))` & a.tag:hover { text-decoration: none; } `},6929:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>Z,default:()=>O});var a=t(7876);t(4232);var r=t(6222),l=t(7856),i=t(8103),n=t.n(i),o=t(6903),d=t(8056),c=t(7915),h=t(932),x=t.n(h),m=t(6430),p=t.n(m),u=t(6475),j=t.n(u),g=t(5676),v=t.n(g),f=t(2716);let b=(e,s)=>t=>{let{post:r,meta:{absUrl:l,pathname:i}}=(0,f.L)();return(0,a.jsx)(o.YW,{name:"social-share",goalParams:()=>({w:e,p:i}),children:({goal:e})=>(0,a.jsx)("a",{style:{display:"inline-block"},target:"_blank",rel:"noopener noreferrer",...e,...t,...s({post:r,absUrl:l})})})};b("fb",({absUrl:e})=>({href:`https://facebook.com/sharer/sharer.php?u=${encodeURIComponent(e)}`}));let C=b("vk",({absUrl:e})=>({href:`http://vk.com/share.php?url=${encodeURIComponent(e)}`})),y=b("ok",({absUrl:e})=>({href:`https://connect.ok.ru/offer?url=${encodeURIComponent(e)}`}));(0,l.Ay)(p())` color: #3f51b5; `;let A=(0,l.Ay)(x())` color: #507299; `,w=(0,l.Ay)(v())` color: #d32f2f; width: 44px; `,N=b("pinterest",({absUrl:e,post:s})=>{let t=`${s.title} - ${s.description}`;return{href:`https://pinterest.com/pin/create/button/?url=${encodeURIComponent(e)}&media=${encodeURIComponent(s.hero.url)}&description=${t}`}}),_=()=>(0,a.jsx)(C,{"aria-label":"Поделиться в ВКонтакте",children:(0,a.jsx)(A,{})}),k=()=>(0,a.jsx)(y,{"aria-label":"Поделиться в Одноклассниках",children:(0,a.jsx)(j(),{})}),F=()=>(0,a.jsx)(N,{"aria-label":"Запинить",children:(0,a.jsx)(w,{})}),P=()=>(0,a.jsxs)("div",{className:"has-text-centered has-text-left-desktop has-text-weight-light",children:[(0,a.jsx)("div",{className:"is-italic",children:"Поделиться в социальных сетях"}),(0,a.jsx)(_,{}),(0,a.jsx)(k,{}),(0,a.jsx)(F,{})]});var L=t(8088),$=t(6764),E=t(7836),R=t(2684),M=t(3831);let I=l.Ay.div` text-align: center; margin-top: 0.5em; `,Y=(0,l.Ay)(({similar:e,className:s})=>{let{meta:{words:t}}=(0,f.L)();return(0,a.jsxs)("div",{className:n()(s),children:[(0,a.jsx)("h3",{className:"has-text-centered is-italic is-size-4",children:t["see-also-title"]}),(0,a.jsx)(L.FA,{isAncestor:!0,className:"flex-wrap",children:e.map(e=>(0,a.jsx)(L.FA,{isChild:!0,children:(0,a.jsxs)(R.by,{slug:e.slug,className:"preview-tile",children:[(0,a.jsx)(M.A,{src:e.preview.url+"?w=300",preSrc:e.preview.lqip,alt:e.title,title:e.title}),(0,a.jsx)(I,{children:e.title})]})},e.slug))})]})})` padding-bottom: 2em; & h3 { margin: 1em 0; } & a { margin: 0.3em; } & .flex-wrap { flex-wrap: wrap; } `;var B=t(2343);let S=(0,l.Ay)(({className:e})=>{let{post:{hero:{url:s,lqip:t},title:r}}=(0,f.L)();return(0,a.jsx)("div",{className:e,children:(0,a.jsx)(M.A,{preSrc:t,src:s+"?w=800&q=75",title:r,alt:r})})})` margin: 0 auto; & img { margin: 0 auto; box-sizing: border-box; border: 1px solid #eee; } `,T=(0,o.Ay)("metrikaProps","download-pdf",void 0)(({metrikaProps:e,...s})=>(0,a.jsx)(L.$n,{...e,...s})),U=l.Ay.div` margin-bottom: 1em; `,z=(0,l.Ay)(({className:e})=>{let{post:{title:s,body:t,cover:l={},tags:i,file:o,slug:d,similar:c}}=(0,f.L)();return(0,a.jsxs)("div",{className:n()(e,"content"),children:[(0,a.jsx)("h1",{className:"has-text-centered has-text-left-desktop",children:s}),(0,a.jsx)($.Y,{className:"Post__Tags has-text-centered has-text-left-desktop",tags:i}),(0,a.jsx)(U,{className:"is-hidden-tablet",children:(0,a.jsx)(S,{})}),(0,a.jsx)(U,{children:(0,a.jsx)(r.o,{children:t})}),(0,a.jsx)(U,{children:(0,a.jsx)(T,{isPrimary:!0,isLarge:!0,className:"DownloadPost",goalParams:()=>({slug:d,tags:(i||[]).map(({text:e})=>e)}),rel:"nofollow",href:o.url,target:"_blank",children:"Скачать"})}),(0,a.jsx)(P,{})]})})` & .Post__Tags { margin-bottom: 1.25em; } & .DownloadPost { width: 100%; } & .see-also { margin-top: 1em; } `,V=(0,l.Ay)(({className:e})=>{let{breadcrumbs:s,post:{title:t,body:r,cover:l={},tags:i,file:o,slug:h,similar:x}}=(0,f.L)();return(0,a.jsxs)(c.A,{children:[(0,a.jsx)(d.A,{}),(0,a.jsxs)("div",{className:n()(e,"container"),children:[s&&(0,a.jsx)(E.A,{className:"Breadcrumbs",path:s}),(0,a.jsx)(B.V,{}),(0,a.jsxs)(L.FA,{isAncestor:!0,isVertical:!0,children:[(0,a.jsxs)(L.FA,{isParent:!0,children:[(0,a.jsx)(L.FA,{isChild:!0,isVertical:!0,is5:!0,children:(0,a.jsx)(z,{})}),(0,a.jsx)(L.FA,{isChild:!0,isHiddenMobile:!0,children:(0,a.jsx)(S,{})})]}),(0,a.jsx)(L.FA,{isParent:!0,className:"see-also-container",children:(0,a.jsx)(Y,{similar:x,className:"see-also"})})]})]})]})})` padding-top: 20px; & .tile.is-parent { // outline: 10px dashed red; } & .tile.is-child { // outline: 2px dashed blue; padding: 1em; } & .Breadcrumbs { margin-left: 1.5rem; } & .see-also-container { justify-content: center; } & .see-also { // outline: 10px solid cyan; width: 100%; } `;var Z=!0;let O=(0,f.c)(V)},7836:(e,s,t)=>{"use strict";t.d(s,{A:()=>o});var a=t(7876);t(4232);var r=t(8103),l=t.n(r),i=t(8230),n=t.n(i);let o=({className:e,path:s})=>(0,a.jsx)("nav",{className:l()("breadcrumb",e),"aria-label":"breadcrumbs",children:(0,a.jsx)("ul",{children:s.map(({title:e,as:t},r)=>{let i=r===s.length-1;return(0,a.jsx)("li",{className:l()({"is-active":i}),children:(0,a.jsx)(n(),{href:t,legacyBehavior:!0,children:(0,a.jsx)("a",{"aria-current":i?"page":void 0,children:e})})},e)})})})}},e=>{e.O(0,[249,587,222,330,636,593,792],()=>e(e.s=6578)),_N_E=e.O()}]);