PageSourceSearch

https://www.sobyanin.ru/_next/static/chunks/pages/rtkm-2030-fa04c423c21755c9.js

js sobyanin.ru collected 2026-09-24 08:26:46 UTC 12,149 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4280],{7597:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rtkm-2030",function(){return s(69594)}])},41948:function(e,t,s){"use strict";s.d(t,{Z:function(){return x}});var a=s(85893),n=s(11163),o=s(67294),i=s(60174),c=s(92352),r=s(18861),l=s(14416),m=s(67634),u=e=>{let{email:t,formValid:s,errorText:n}=e.form,{subscribersCount:o}=e,i=s||0===t.length?"":"is-subscribe-form-error";return(0,a.jsxs)("form",{className:"subscribe-form ".concat(i," ").concat(s?"is-subscribe-form-success":""),children:[(0,a.jsxs)("div",{className:"subscribe-field",children:[(0,a.jsx)("input",{type:"email",name:"email",className:"subscribe-input",placeholder:"Адрес эл. почты",value:t,onBlur:e.onBlur,onChange:e.handleChange}),(0,a.jsx)("button",{className:"subscribe-submit",onClick:e.sendForm,children:(0,a.jsx)("svg",{className:"icon icon-arrow-next",children:(0,a.jsx)("use",{xlinkHref:"#icon-arrow-next"})})}),(0,a.jsx)("div",{className:"subscribe-error",children:n})]}),(0,a.jsx)("div",{className:"subscribe-counter",children:o||"Уже подписались 484 208 человек"})]})},d=e=>(0,a.jsxs)("div",{className:"subscribe-message",children:[(0,a.jsx)("div",{className:"subscribe-message__title",children:"Подписка оформлена"}),(0,a.jsx)("div",{className:"subscribe-message__desc",children:"Для подтверждения подписки перейдите по\xa0ссылке из\xa0письма"}),(0,a.jsx)("div",{className:"subscribe-message__link",onClick:e.clearForm,children:"Готово"})]}),p=(0,l.$j)(e=>{let{subscribe:t}=e;return{...t}},null)(e=>{let{subscribersCount:t}=e,[s,n]=(0,o.useState)(""),[i,c]=(0,o.useState)(!0),[r,l]=(0,o.useState)(!1),[p,h]=(0,o.useState)("Неправильно набран адрес"),_=["gmail.com","google.com","yahoo.com","yahoo.co.uk","yahoo.co.jp","hotmail.com","hotmail.co.uk","outlook.com","outlook.co.uk","live.com","live.co.uk","msn.com"],g=(0,o.useCallback)(e=>/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}))$/.test(e),[]),b=(0,o.useCallback)(e=>{var t;if(!e)return!1;let s=null===(t=e.split("@")[1])||void 0===t?void 0:t.toLowerCase();return _.includes(s)},[]),j=(0,o.useCallback)(()=>{let e=g(s),t=b(s);e?t?(c(!1),h("Пожалуйста, укажите почту другого провайдера")):(c(!0),h("")):(c(!1),h("Неправильно набран адрес"))},[s,g,b]),x=(0,o.useCallback)(e=>{e.preventDefault();let t=b(s);i&&0!==s.length&&!t?fetch("".concat(m.T5,"v1/subscription/subscribe"),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({email:s})}).then(e=>e.json()).then(e=>{e.error&&h(e.error),e.status&&"success"===e.status&&l(!0)}).catch(e=>{console.log(e)}):t&&(c(!1),h("Пожалуйста, укажите почту другого провайдера"))},[s,i,b]),v=(0,o.useCallback)(()=>{n(""),c(!1),l(!1)},[]),y=(0,a.jsx)(d,{clearForm:v}),f=(0,a.jsx)(u,{subscribersCount:t,form:{email:s,formValid:i,isFormSent:r,errorText:p},handleChange:e=>{let{name:t,value:s}=e.currentTarget;"email"===t&&n(s)},onBlur:j,sendForm:x});return(0,a.jsxs)("div",{className:"subscribe",children:[(0,a.jsx)("div",{className:"subscribe-title",children:"Рассылка с новостями сайта"}),r?y:f]})}),h=s(93967),_=s.n(h),g=s(49971),b=s.n(g);let j=()=>(0,a.jsx)("div",{className:b().subscribe,children:(0,a.jsx)(p,{})});var x=()=>{let e=(0,n.useRouter)(),{pathname:t}=e,s=[{path:"/appeal",name:"Обращение"},{path:"/blog",name:"Личный блог"},{path:"/districts",name:"Программа \xabМой район\xbb"},{path:"/strategy",name:"Стратегия 2030"},{path:"/achievements/bestcity",oldpath:"/achievements",name:"Лучший город земли"},{path:"/projects",name:"Проекты",subpaths:["/video/9-may","/metro","/cards","/new-year-moscow-2022","/team"]},{path:"/biography",name:"Биография"}],l=e=>{if(e.hasOwnProperty("subpaths")){let s=!1;
1return e.subpaths.forEach(e=>{t.includes(e)&&(s=!0)}),t===e.path||t.includes("".concat(e.path,"/"))||t.includes("".concat(e.oldpath,"/"))||s}return t===e.path||t.includes("".concat(e.path,"/"))||t.includes("".concat(e.oldpath,"/"))},m=(0,o.useMemo)(()=>s.map(e=>(0,a.jsx)("li",{className:b().elem,children:(0,a.jsx)(c.Z,{to:e.path,className:_()(b().link,{[b().active]:l(e),[b().activeSublink]:l(e)&&e.path!==t}),children:e.name})},e.path)),[]),u=()=>{"/"!==t?e.push("/"):(0,i.FK)(".home")};return(0,a.jsx)("footer",{className:b().footer,children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:b().container,children:[(0,a.jsxs)("div",{className:b().left,children:[(0,a.jsx)("div",{className:b().slogan,children:(0,a.jsx)("a",{onClick:()=>u(),children:(0,a.jsxs)("div",{className:b().control,children:["Сергей Собянин ",(0,a.jsx)("span",{children:"личный блог"})]})})}),(0,a.jsx)("nav",{className:b().nav,children:(0,a.jsx)("ul",{className:b().list,children:m})})]}),(0,a.jsxs)("div",{className:b().center,children:[(0,a.jsxs)("div",{className:b().social,children:[(0,a.jsx)("div",{className:b().title,children:"Официальные соцсети"}),(0,a.jsx)("div",{className:b().list,children:(0,a.jsx)(r.Z,{type:"official"})})]}),(0,a.jsxs)("div",{className:b().social,children:[(0,a.jsx)("div",{className:b().title,children:"Личный блог"}),(0,a.jsx)("div",{className:b().list,children:(0,a.jsx)(r.Z,{})})]})]}),(0,a.jsx)("div",{className:b().right,children:(0,a.jsx)(j,{})})]})})})}},8239:function(e,t,s){"use strict";s.d(t,{Z:function(){return l}});var a=s(85893);s(67294);var n=s(9008),o=s.n(n),i=s(67634),c=s(11163),r=function(e){let{_page:t,title:s}=e,a=(0,c.useRouter)(),n=null,o=t.metaDescription,r=(null==s?void 0:s.replace(/&nbsp;/g," "))||String(t.title).replace(/&nbsp;/g," "),l=new URLSearchParams(a.asPath.split("?")[1]).get("page");function m(e){return a.asPath.startsWith(e)}let u=()=>{let[e,t]=a.asPath.split("?"),s=new URLSearchParams(t);return s.delete("page"),s.toString()?"".concat(e,"?").concat(s.toString()):e};function d(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=i._O?i._O.replace(/\/$/,""):"https://www.sobyanin.ru",s=e=>e.replace(/\[([^\]]+)\]/g,(e,t)=>{var s;let n=null===(s=a.query)||void 0===s?void 0:s[t];return void 0!==n?encodeURIComponent(String(n)):"[".concat(t,"]")});return e?t+s(u()):t+s(a.asPath)}m("/team/person")&&(n=t.name?"".concat(t.name," | ").concat(t.og_title||r):null),m("/team/trustee")&&(n=t.name.split(" ").slice(0,2).join(" ")||null,o="".concat(t.name.split(" ").length>2?t.name.split(" ").slice(0,2).join(" "):t.name,". ").concat(t.position)),m("/team/news")&&a.asPath.split("/").filter(Boolean).length>=3&&(n="".concat(s||t.og_title," | Новости команды штаба Собянина Сергея Семёновича")),m("/achievements/")&&a.asPath.split("/").filter(Boolean).length>=3&&(o="".concat(t.og_title||r,". Как столица делает жизнь горожан лучше. Узнайте о новых возможностях, программах и достижениях от команды штаба Собянина Сергея Семёновича")),m("/video/9-may/create")&&(o="Добавьте видео о ваших героях — фронтовиках и тружениках тыла. Расскажите их историю, и после модерации она пополнит галерею памяти."),m("/strategy/")&&a.asPath.split("/").filter(Boolean).length>=3&&(o="".concat(t.og_title||r,". Стратегия развития Москвы 2030")),l&&Number(l)>1&&(n="".concat(n||r," | страница №").concat(l),o="".concat(o||t.og_descr||t.metaDescription||r," | страница №").concat(l));let p={"@context":"http://schema.org","@type":"WebPage",name:r||t.og_title,url:d(),description:t.og_descr||t.metaDescription,author:{"@type":"Organization",name:"Сергей Собянин личный блог"}},h=t.datePublished||t.createdAt||t.publishedAt,_=t.dateModified||t.updatedAt;return h&&(p.datePublished=h),_&&(p.dateModified=_),{templateTitle:n,templateDescription:o,getCurrentUrl:d,titleMeta:r,webPageSchema:p}},l=e=>{let{_page:t,og_img:s,settings:n,title:i,isHomePage:c}=e,{templateTitle:l,templateDescription:m,titleMeta:u,webPageSchema:d,getCurrentUrl:p}=r({_page:t,title:i});return(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:l||u||t.og_title}),(0,a.jsx)("meta",{name:"description",content:"".concat(m||t.metaDescription||t.og_descr)}),(0,a.jsx)("meta",{name:"keywords",content:"".concat(t.metaKeywords)}),(0,a.jsx)("meta",{property:"og:title",content:"".concat(l||t.og_title||u)}),(0,a.jsx)("meta",{property:"og:description",content:"".concat(m||t.og_descr||t.metaDescription)}),(0,a.jsx)("meta",{property:"og:image",content:"".concat(s||(null==n?void 0:n.og_img)||(null==t?void 0:t.og_img))}
1),(0,a.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630"}),(0,a.jsx)("meta",{property:"vk:title",content:"".concat(t.og_title||u)}),(0,a.jsx)("meta",{property:"vk:description",content:"".concat(m||t.og_descr||t.metaDescription)}),(0,a.jsx)("meta",{property:"vk:image",content:"".concat(t.og_img)}),(0,a.jsx)("meta",{property:"og:site_name",content:"sobyanin.ru"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:locale",content:"ru_RU"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site_name",content:"sobyanin.ru"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"@sobyanin"}),(0,a.jsx)("meta",{property:"og:url",content:p()}),p&&(0,a.jsx)("link",{rel:"canonical",href:"".concat(p(!0))}),(0,a.jsx)("link",{rel:"shortcut icon",type:"image/x-icon",href:"/favicon.ico"}),(0,a.jsx)("link",{rel:"shortcut icon",type:"image/svg+xml",href:"/favicon.svg"}),c&&(0,a.jsx)("meta",{name:"yandex-verification",content:"c316d9a13f40e7d5"}),(0,a.jsx)("script",{async:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"WebSite",name:"sobyanin.ru",alternateName:"Сергей Собянин личный блог",url:"https://www.sobyanin.ru/"})}}),(0,a.jsx)("script",{async:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"Organization",url:"https://www.sobyanin.ru/",logo:"https://www.sobyanin.ru/front_static/images/logo.png"})}}),(0,a.jsx)("script",{async:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(d)}})]})}},69594:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return i}});var a=s(85893);s(67294);var n=s(8239),o=s(75190),i=!0;t.default=e=>{var t;let s={title:e.main.meta_title,og_title:e.main.meta_title,og_img:null==e?void 0:null===(t=e._page)||void 0===t?void 0:t.og_img,metaDescription:e.main.meta_description,metaKeywords:e.main.meta_keywords,og_descr:e.main.og_description,datePublished:e.createdAt||e.publishedAt,dateModified:e.updatedAt};return(0,a.jsxs)(a.Fragment,{children:[e&&(0,a.jsx)(n.Z,{_page:s,title:e.main.title}),(0,a.jsx)(o.Z,{rtkm2030Data:e})]})}},49971:function(e){e.exports={subscribe:"Footer_subscribe__TejEo","subscribe-counter"
1:"Footer_subscribe-counter__aSG9_","subscribe-message__desc":"Footer_subscribe-message__desc__RhnaE",footer:"Footer_footer__OQpsI",container:"Footer_container__pP_Gj",left:"Footer_left__WK5he",right:"Footer_right__RJNu2",slogan:"Footer_slogan__8EzD3",control:"Footer_control__rcz4U",nav:"Footer_nav__ok3sF",list:"Footer_list___LUas",elem:"Footer_elem__Bhe_g",link:"Footer_link__dXOUc",active:"Footer_active__MazNb",activeSublink:"Footer_activeSublink__dB1U7",center:"Footer_center__idz_h",social:"Footer_social__8eyG7",title:"Footer_title__LlqE2"}},9008:function(e,t,s){e.exports=s(23867)}},function(e){e.O(0,[5190,2888,9774,179],function(){return e(e.s=7597)}),_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.