1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3112],{2163:function(e,t,n){"use strict";n.d(t,{f:function(){return CommonCategoryPage}});var r=n(5235),o=n(2784),i=n(5632),a=n(7729),s=n.n(a),c=n(1326),l=n(3245),p=n(2322),u=n(6131),d=n.n(u),LFeed=function(e){var t=e.children;return(0,p.jsx)("section",{className:"LFeed",children:t})};LFeed.Title=function(e){var t=e.children,n=["LFeed__title",e.small&&"small",e.visuallyHidden&&"visually-hidden"].filter(Boolean).join(" ");return(0,p.jsxs)("h1",{className:"jsx-3529475761 "+(n||""),children:[t,(0,p.jsx)(d(),{id:"3529475761",children:[".LFeed__title.jsx-3529475761{padding:0;margin:0 0 15px 0;font-style:normal;font-weight:700;font-size:14px;line-height:11px;-webkit-letter-spacing:-0.02em;-moz-letter-spacing:-0.02em;-ms-letter-spacing:-0.02em;letter-spacing:-0.02em;text-transform:uppercase;color:#13693d;}","@media (min-width:820px){.LFeed__title.jsx-3529475761{margin-bottom:50px;font-size:40px;line-height:120%;}}",".LFeed__title.small.jsx-3529475761{font-weight:700;padding:0;color:var(--text-color);font-style:normal;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;padding-top:18px;padding-left:3px;margin-bottom:22px;}","@media (min-width:375px){.LFeed__title.small.jsx-3529475761{font-size:calc(22px + 9 * (100vw - 375px) / 159);}}","@media (min-width:534px){.LFeed__title.small.jsx-3529475761{font-size:calc(31px + -7 * (100vw - 534px) / 286);}}","@media (min-width:820px){.LFeed__title.small.jsx-3529475761{font-size:24px;}}","@media (min-width:375px){.LFeed__title.small.jsx-3529475761{line-height:120%;}}","@media (min-width:534px){.LFeed__title.small.jsx-3529475761{line-height:120%;}}","@media (min-width:820px){.LFeed__title.small.jsx-3529475761{line-height:130%;}}","@media (min-width:820px){.LFeed__title.small.jsx-3529475761{-webkit-letter-spacing:0.02em;-moz-letter-spacing:0.02em;-ms-letter-spacing:0.02em;letter-spacing:0.02em;}}",".LFeed__title.visually-hidden.jsx-3529475761{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip:rect(0,0,0,0);clip:rect(0,0,0,0);white-space:nowrap;border:0;}"]})]})},LFeed.Content=function(e){var t=e.children;return(0,p.jsx)("div",{className:"SPage__content",children:t})};var g=n(153),f=n(699),m=n(656),h=n(4392),b=n(6730),j=n(9936),getProfilePageStructuredData=function(e){var t=e.description,n=e.name,r=e.url;return(0,h.Y)({"@context":"https://schema.org","@type":"ProfilePage","@id":"".concat(r,"#profile-page"),url:r,name:n,description:t,isPartOf:{"@id":j.rH},mainEntity:(0,h.Y)({"@type":"Person","@id":"".concat(r,"#person"),name:n,url:r,description:t})})},useProgressiveBentoList=function(e){var t=e.bentoList,n=e.pageId,r=(0,o.useState)({pageId:n,visibleCount:10}),i=r[0],a=r[1];(0,o.useEffect)(function(){a(function(e){return e.pageId===n?e:{pageId:n,visibleCount:10}})},[n]);var s=i.pageId===n?i.visibleCount:10,c=t.slice(0,s);return{hasMoreBentoItems:s<t.length,showNextBentoListBatch:(0,o.useCallback)(function(){a(function(e){var r=e.pageId===n?e.visibleCount:10;return{pageId:n,visibleCount:Math.min(r+10,t.length)}})},[t.length,n]),visibleBentoCount:s,visibleBentoList:c}};function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var CommonCategoryPage=function(e){var t,n,r=e.bentoList,a=e.embedData,u=e.metaProps,d=e.pageId,h=e.pageLocation,j=e.pageMeta,v=e.responseDateString,x=e.type,y=(0,i.useRouter)(),_=useProgressiveBentoList({bentoList:r,pageId:d}),w=_.hasMoreBentoItems,O=_.showNextBentoListBatch,P=_.visibleBentoCount,L=_.visibleBentoList;(0,g.gS)({id:d,relativePath:y.asPath.split("?")[0],pageViewInfo:{category:d}});var S="root-section"===x&&"homepage"===h?"":"/".concat(h),B="https://www.gazetametro.ru".concat(S),F=u.title||"ÐазеÑа Metro ÐоÑква",D=u.description||"ÐовоÑÑи ÐоÑквÑ, РоÑÑии и миÑа, ÑепоÑÑажи, инÑеÑвÑÑ Ð¸ полезнÑе маÑеÑÐ¸Ð°Ð»Ñ Ð³Ð°Ð·ÐµÑÑ Metro.",C=(null==j?void 0:j.h1)||(null===(t=u.breadcrumbs)||void 0===t?void 0:null===(n=t[0])||void 0===n?void 0:n.title)||F,k=(0,o.useMemo)(function(){return r.slice(0,4).some(function(e){return e.components.some(function(e){var t=e.wysiwyg_items;return null==t?void 0:t.some(function(e){var t=e.html_body;return/<h1[\s>]/i.test(null!=t?t:"")})})})?null:{text:C,visuallyHidden:(null==j?void 0:j.h1)===""||"root-section"===x&&"homepage"===d}},[r,d,null==j?void 0:j.h1,C,x]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(s(),{children:[(0,p.jsx)("title",{children:F}),(0,m.Z)(_objectSpread(_objectSpread({},u),{},{title:F,description:D})),(0,p.jsx)("link",{rel:"canonical",href:B}),h&&(0,p.jsx)("link",{rel:"alternate",media:"(max-width: 534px)",href:B}),"author"===x&&d&&(0,p.jsx)("meta",{property:"og:article:author:first_name",content:d}),"tag"===x&&d&&(0,p.jsx)("meta",{property:"og:article:tag",content:d}),"author"===x&&(0,b._)(getProfilePageStructuredData({description:D,name:C,url:B}))]}),(0,p.jsx)(c.O,{metaRobots:null==j?void 0:j.robots}),(0,p.jsxs)(LFeed,{children:[k&&(0,p.jsx)(LFeed.Title,{small:!0,visuallyHidden:k.visuallyHidden,children:k.text}),r&&(0,p.jsxs)(LFeed.Content,{children:[(0,p.jsx)(f.g,{bentoList:L,embedPersonData:a,imageDownloadPriority:!0,responseDateString:v,shouldRenderAdSlots:!0,slot:"page_feed"}),w&&(0,p.jsx)(l.Z,{intersectionProps:{freezeOnceVisible:!0,rootMargin:"1000px 0px"},onIntersect:O,children:function(e){var t=e.intersectionRef;return(0,p.jsx)("div",{ref:t,"aria-hidden":!0,style:{height:1}})}},"".concat(d,"-").concat(P))]})]})]})}},4205:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return h},default:function(){return _id_}});var r=n(6716),o=n(5235),i=n(1333),a=n(3610),s="pages/".concat(a.ho);n(4335);var c=n(406),l=n(8526),p=n.n(l),u=n(3740),d=n(787);function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var BentoPageFetcher=function(e,t){var n;return(0,u.g)(function(){return a.ZP.get("".concat(e,"/").concat(t,"/"))},{retryCount:5,onRetry:function(e){console.log("".concat(e," ÐопÑÑка повÑоÑно полÑÑиÑÑ bento ÑÑÑаниÑÑ ").concat(t))}}).then((n=(0,c.Z)(p().mark(function _callee(e){var t,n;return p().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.json().then(d.ZI);case 2:return n=r.sent,r.abrupt("return",_objectSpread(_objectSpread({},n),{},{date:null===(t=e.headers)||void 0===t?void 0:t.get("date")}));case 4:case"end":return r.stop()}},_callee)})),function(e){return n.apply(this,arguments)}))},g=n(9348);function useBentoPage_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function useBentoPage_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?useBentoPage_ownKeys(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):useBentoPage_ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var useBentoPage=function(e,t){var n=e.id,r=(0,g.Y)([s,n],function(e){var t=(0,i.Z)(e,2);return BentoPageFetcher(t[0],t[1])},t),o=r.data,a=r.error;return useBentoPage_objectSpread(useBentoPage_objectSpread({},o),{},{info:{loading:!a&&!o,error:a}})},f=n(2163),m=n(2322),h=!0,_id_=function(e){var t=e.id,n=useBentoPage({id:t},{fallbackData:e.prefetchedData,revalidateOnFocus:!1,revalidateOnMount:!0,revalidateOnReconnect:!1});return n.bento_list?(0,m.jsx)(f.f,{bentoList:n.bento_list,metaProps:(0,r.r)(n),pageId:t,pageLocation:n.location,pageMeta:n.page_meta,responseDateString:n.date,type:"root-section"}):null}},4335:function(){},1642:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[id]",function(){return n(4205)}])}},function(e){e.O(0,[960,2053,2901,4585,4028,6076,699,9774,2888,179],function(){return e(e.s=1642)}),_N_E=e.O()}]);
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.