(window.webpackJsonp=window.webpackJsonp||[]).push([[202,79,80,81,82,83,84,85,116,140],{1110:function(e,t,r){var content=r(1164);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("1f50f402",content,!0,{sourceMap:!1})},1155:function(e,t,r){var content=r(1216);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("ce571e4a",content,!0,{sourceMap:!1})},1163:function(e,t,r){"use strict";r(1110)},1164:function(e,t,r){var n=r(12)((function(i){return i[1]}));n.push([e.i,".slider_content_inside .slider__swiper{border-radius:.32rem;height:4.4rem;overflow:hidden}@media screen and (max-width:600px){.slider_content_inside .slider__swiper{height:2.4rem}}.slider_content_inside .slider__arrow{margin-top:-.28rem;position:absolute;top:50%}.slider_content_inside .slider__arrow_prev{left:var(--gap-s)}.slider_content_inside .slider__arrow_next{right:var(--gap-s)}@media screen and (max-width:767px){.slider_content_inside .slider__arrow{display:none}}.slider_content_inside .swiper-slide{height:auto}.slider_content_inside .slider__pagination{bottom:var(--gap-xs);line-height:0}.slider_content_inside .slider__pagination .swiper-pagination-bullet{background-color:var(--color-white);height:.1rem;margin:0 .05rem;opacity:.45;transition:opacity var(--transition-duration);width:.1rem}.slider_content_inside .slider__pagination .swiper-pagination-bullet-active{opacity:1}@media screen and (max-width:600px){.slider_content_inside .slider__pagination .swiper-pagination-bullet{height:.08rem;margin:0 .06rem;opacity:.5;width:.08rem}.slider_content_inside .slider__pagination .swiper-pagination-bullet-active{opacity:1}.slider_content_inside .slider__pagination{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background-color:rgba(var(--color-white-rgb),.3);border-radius:.16rem;bottom:calc(var(--gap-xs)/2);left:50%;padding:.12rem var(--gap-xs);transform:translateX(-50%);width:auto}}.slider_content_inside+*{margin-top:var(--gap-m)}@media screen and (max-width:600px){.slider_content_inside+*{margin-top:var(--gap-xs)}}*+.slider_content_inside{margin-top:var(--gap-m)}@media screen and (max-width:600px){*+.slider_content_inside{margin-top:var(--gap-xs)}}.content-inside-slide{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}",""]),n.locals={},e.exports=n},1189:function(e,t,r){"use strict";r.r(t);var n=r(1401),o=r(976),l=r(703),c=r(731),d=r(787),m={name:"AppContentSlider",components:{AppIcon:r(15).default},props:{list:{type:Array,required:!0}},mounted:function(){n.a.use([o.a,l.a,c.a,d.a]),new n.a(this.$refs.slider,{init:!1,slidesPerView:1,spaceBetween:0,speed:500,effect:"fade",loop:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadOnTransitionStart:!0},fadeEffect:{crossFade:!0},watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0}}).init()}},v=(r(1163),r(3)),component=Object(v.a)(m,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"slider slider_content_inside"},[t("div",{ref:"slider",staticClass:"swiper-container slider__swiper"},[t("div",{staticClass:"swiper-wrapper"},e._l(e.list,(function(e,r){return t("div",{key:r,staticClass:"swiper-slide slider__slide"},[t("img",{staticClass:"content-inside-slide",attrs:{src:e,alt:""}})])})),0),e._v(" "),t("div",{staticClass:"swiper-button-prev slider__arrow slider__arrow_prev"},[t("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1),e._v(" "),t("div",{staticClass:"swiper-button-next slider__arrow slider__arrow_next"},[t("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1),e._v(" "),t("div",{staticClass:"swiper-pagination slider__pagination"})])])}),[],!1,null,null,null);t.default=component.exports},1215:function(e,t,r){"use strict";r(1155)},1216:function(e,t,r){var n=r(12)((function(i){return i[1]}));n.push([e.i,".numbers{display:grid;grid-template-columns:repeat(4,1fr);grid-column-gap:var(--gap-m);grid-row-gap:var(--gap-m)}.numbers>*{min-height:1px;min-width:1px}@media screen and (max-width:600px){.numbers__item+.numbers__item{margin-top:var(--gap-xxs)}}.numbers__value{font-size:.32rem;font-weight:600;letter-spacing:-.02em;line-height:1.25}@media screen and (max-width:600px){.numbers__value{font-size:.24rem;line-height:1.3333333333}}.numbers__label{color:var(--color-black-alpha-50);margin-top:var(--gap-xxxs)}.numbers+*{margin-top:var(--gap-m)}@media screen and (max-width:1023px){.numbers{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:600px){.numbers{display:block;max-width:2rem}.numbers+*{margin-top:var(--gap-xs)}}*+.numbers{margin-top:var(--gap-m)}@media screen and (max-width:600px){*+.numbers{margin-top:var(--gap-xs)}}",""]),n.locals={},e.exports=n},1237:function(e,t,r){"use strict";r.r(t);var n={name:"AppNumbers",props:{list:{type:Array,required:!0}}},o=(r(1215),r(3)),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"numbers"},e._l(e.list,(function(r,n){return t("div",{key:n,staticClass:"numbers__item"},[t("div",{staticClass:"numbers__value"},[e._v(e._s(r.value))]),e._v(" "),t("div",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:r.label,expression:"item.label"}],staticClass:"numbers__label"})])})),0)}),[],!1,null,null,null);t.default=component.exports},1298:function(e,t,r){var content=r(1374);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("ec91c6ac",content,!0,{sourceMap:!1})},1318:function(e,t,r){"use strict";r.r(t);var n={name:"AppBlockNewsText",mixins:[r(692).a],props:{text:{type:String,default:void 0}}},o=r(3),component=Object(o.a)(n,(function(){var e=this;return(0,e._self._c)("p",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:e.text,expression:"text"}],style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}})}),[],!1,null,null,null);t.default=component.exports},1319:function(e,t,r){"use strict";r.r(t);var n={name:"AppBlockNewsImage",mixins:[r(692).a],props:{image:{type:String,default:void 0}}},o=r(3),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("p",{style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}},[t("img",{attrs:{src:e.image,itemprop:"image",alt:""}})])}),[],!1,null,null,null);t.default=component.exports},1320:function(e,t,r){"use strict";r.r(t);r(20),r(21),r(29),r(30),r(22),r(11),r(23);var n=r(6),o=(r(54),r(18)),l=r(692);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var m={name:"AppBlockNewsVideo",components:{AppIcon:r(15).default},mixins:[l.a],props:{link:{type:String,default:void 0},image:{type:String,default:void 0}},methods:d(d({},Object(o.c)({openModal:"modal/OPEN_MODAL"})),{},{onOpenVideoHandler:function(){this.openModal({id:"modal_video",videoUri:this.link})}})},v=r(3),component=Object(v.a)(m,(function(){var e=this,t=e._self._c;return t("button",{staticClass:"video-preview",style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor},on:{click:e.onOpenVideoHandler}},[t("img",{staticClass:"video-preview__cover",attrs:{src:e.image,alt:""}}),e._v(" "),t("div",{staticClass:"video-preview__play"},[t("AppIcon",{attrs:{id:"play-icon",width:24,height:24}})],1)])}),[],!1,null,null,null);t.default=component.exports},1321:function(e,t,r){"use strict";r.r(t);var n={name:"AppBlockNewsHTML",mixins:[r(692).a],props:{html:{type:String,default:void 0}}},o=r(3),component=Object(o.a)(n,(function(){var e=this;return(0,e._self._c)("div",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:e.html,expression:"html"}],style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}})}),[],!1,null,null,null);t.default=component.exports},1322:function(e,t,r){"use strict";r.r(t);r(37),r(174),r(229);var n=r(692),o=r(1189),l=r(693),c={name:"AppBlockNewsSlider",components:{AppContentSlider:o.default},mixins:[n.a],props:{slides:{type:Object,required:!0}},computed:{list:function(){var e;return(null===(e=Object.values(Object.values(this.slides)[0]))||void 0===e||null===(e=e.sort(Object(l.a)()))||void 0===e?void 0:e.map((function(e){return e.image})))||[]}}},d=r(3),component=Object(d.a)(c,(function(){var e=this,t=e._self._c;return t("div",{style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}},[t("AppContentSlider",{attrs:{list:e.list}})],1)}),[],!1,null,null,null);t.default=component.exports},1323:function(e,t,r){"use strict";r.r(t);var n={name:"AppBlockNewsQuote",mixins:[r(692).a],props:{author:{type:String,default:void 0},quote:{type:String,default:void 0}}},o=r(3),component=Object(o.a)(n,(function(){var e=this,t=e._self._c;return t("blockquote",{style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}},[e.quote?t("p",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:e.quote,expression:"quote"}]}):e._e(),e._v(" "),e.author?t("span",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:e.author,expression:"author"}]}):e._e()])}),[],!1,null,null,null);t.default=component.exports},1324:function(e,t,r){"use strict";r.r(t);r(37),r(229);var n=r(692),o={name:"AppBlockNewsNumbers",components:{AppNumbers:r(1237).default},mixins:[n.a],props:{cards:{type:Object,default:void 0}},computed:{numbers:function(){return Object.values(this.cards).map((function(e){return{value:e.number,label:e.text}}))}}},l=r(3),component=Object(l.a)(o,(function(){var e=this,t=e._self._c;return t("div",{style:{backgroundColor:e.settings.backgroundColor,color:e.settings.textColor}},[e.numbers.length?t("AppNumbers",{attrs:{list:e.numbers}}):e._e()],1)}),[],!1,null,null,null);t.default=component.exports},1373:function(e,t,r){"use strict";r(1298)},1374:function(e,t,r){var n=r(12)((function(i){return i[1]}));n.push([e.i,".news-detail{max-width:8.96rem}.news-detail__date{color:var(--color-black-alpha-50);font-size:.2rem;font-weight:600;line-height:1.2;margin-bottom:var(--gap-xxs)}@media screen and (max-width:600px){.news-detail__date{margin-bottom:var(--gap-xxxs)}}.news-detail__title{font-family:var(--font-face-primary);font-size:.32rem;font-weight:600;line-height:1.25;margin-bottom:var(--gap-s)}@media screen and (max-width:600px){.news-detail__title{font-size:.24rem;line-height:1.3333333333;margin-bottom:var(--gap-xs)}}.news-detail__preview{border-radius:.32rem;height:4.4rem;margin-bottom:var(--gap-m);overflow:hidden}.news-detail__preview img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}@media screen and (max-width:600px){.news-detail__preview{height:2.4rem;margin-bottom:var(--gap-xs)}}.news-detail__content p{margin-bottom:var(--gap-xs)}.news-detail__content p:last-child{margin-bottom:0}@media screen and (max-width:600px){.news-detail__content p{margin-bottom:var(--gap-xxs)}.news-detail__content p:last-child{margin-bottom:0}}.news-detail__content blockquote{border-left:.04rem solid var(--color-primary);padding-left:var(--gap-s)}.news-detail__content blockquote p{font-size:.16rem;font-weight:600;line-height:1.5;margin-bottom:var(--gap-xxxs)}.news-detail__content blockquote p:last-child{margin-bottom:0}.news-detail__content blockquote>span{color:var(--color-black-alpha-50)}@media screen and (max-width:600px){.news-detail__content blockquote{margin-bottom:var(--gap-xxs)}.news-detail__content blockquote:last-child{margin-bottom:0}}.news-detail__aside{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:var(--gap-m)}.news-detail__aside>*{min-height:1px;min-width:1px}@media screen and (max-width:600px){.news-detail__aside{display:block;margin-top:var(--gap-s)}.news-detail__aside-next{margin-top:var(--gap-l)}}.news-detail__social{align-items:center;display:flex;flex-wrap:wrap}.news-detail__social>*{min-height:1px;min-width:1px}.news-detail__social-label{padding-right:var(--gap-xxs)}@media screen and (max-width:600px){.news-detail__social-label{margin-bottom:var(--gap-xxs);padding-right:0}.news-detail__social{display:block}}.video-preview{background:none;border:none;border-radius:.32rem;cursor:pointer;display:block;height:4.4rem;overflow:hidden;padding:0;position:relative;transition:opacity var(--transition-duration);width:100%}.video-preview:hover{opacity:.9}.video-preview__cover{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.video-preview__play{align-items:center;background-color:var(--color-primary);border-radius:50%;display:flex;flex-wrap:wrap;height:.56rem;justify-content:center;left:50%;margin:-.28rem 0 0 -.28rem;position:absolute;top:50%;width:.56rem}.video-preview__play>*{min-height:1px;min-width:1px}.video-preview__play svg{flex:none}.video-preview+*{margin-top:var(--gap-m)}@media screen and (max-width:600px){.video-preview+*{margin-top:var(--gap-xs)}.video-preview{height:2.4rem}}*+.video-preview{margin-top:var(--gap-m)}@media screen and (max-width:600px){*+.video-preview{margin-top:var(--gap-xs)}}",""]),n.locals={},e.exports=n},1403:function(e,t,r){"use strict";r.r(t);r(29),r(30),r(22),r(23);var n=r(28),o=r(8),l=r(6),c=(r(55),r(20),r(72),r(21),r(135),r(174),r(33),r(11),r(229),r(63),r(57),r(1318)),d=r(1319),m=r(1320),v=r(1321),_=r(1322),f=r(1323),h=r(1324);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){Object(l.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y={type:{text:c.default,image:d.default,video:m.default,html:v.default,slider:_.default,quote:f.default,numbers:h.default}},O=Object.keys(y.type).reduce((function(e,t){return x(x({},e),{},Object(l.a)({},y.type[t].name,y.type[t]))}),{}),j=r(856),k=r(693),C=r(732),A=r(230),P=r(106),S=r(27);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var D={name:"AppNewsDetailPage",components:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(l.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({AppSection:A.default,AppSocials:P.default,AppButton:S.default},O),layout:"AppMainLayout",asyncData:function(e){return Object(o.a)(regeneratorRuntime.mark((function t(){var r,o,l,c,d,m,v,_,f,footer,h,w,x,y,data,O,A,P,S,N,D,B;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.params,o=e.$axios,l=e.$dayjs,c=e.error,d=r.slug,t.prev=2,t.next=5,Promise.all([o.get("/api/news/".concat(d)),o.get("/api/footer")]);case 5:if(v=t.sent,_=Object(n.a)(v,2),f=_[0],footer=_[1],h=(null==footer||null===(m=footer.data)||void 0===m?void 0:m.socnets)||[],200!==(null==f?void 0:f.status)){t.next=15;break}return y=f.data,data=y.data,O=y.metaTitle,A=y.name,P=y.description,S=y.news_date,N=y.nextCode,D=(null===(w=Object.values(data))||void 0===w||null===(w=w.filter(C.a))||void 0===w?void 0:w.sort(Object(k.a)()))||[],B=null===(x=D.find((function(e){return"image"===e.type})))||void 0===x?void 0:x.image,t.abrupt("return",{head:{title:"".concat(O||A," - Новости Ingrad"),meta:[{name:"description",content:"".concat(O||A,". Подробнее читайте новость на официальном сайте застройщика Ingrad!")},{name:"og:title",content:"".concat(O||A," - Новости Ingrad")},{name:"og:description",content:"".concat(O||A,". Подробнее читайте новость на официальном сайте застройщика Ingrad!")},{name:"og:url",content:"https://www.ingrad.ru/news/".concat(d)},{name:"og:type",content:"article"},{name:"og:image",content:B||"https://www.ingrad.ru/logo.jpg"}],link:[{rel:"canonical",href:"https://www.ingrad.ru/news/".concat(d)}]},title:A,description:P,date:S?l(S).format(j.a):"",dateFormated:l(S).toISOString(),blocks:D,socials:h,nextArticle:N?"/news/".concat(N):void 0});case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(2),c({statusCode:404,message:"Page not found"});case 20:case"end":return t.stop()}}),t,null,[[2,17]])})))()},data:function(){return{title:"",description:"",date:"",dateFormated:"",nextArticle:void 0,socials:[],blocks:[],types:{}}},head:function(){return this.head},mounted:function(){this.types=y.type}},B=D,M=(r(1373),r(3)),component=Object(M.a)(B,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"page page_news_detail",attrs:{itemscope:"",itemtype:"https://schema.org/NewsArticle"}},[t("AppSection",[t("div",{staticClass:"news-detail"},[e.date?t("div",{staticClass:"news-detail__date",attrs:{itemprop:"datePublished",content:e.dateFormated}},[e._v(e._s(e.date))]):e._e(),e._v(" "),e.title?t("h1",{staticClass:"news-detail__title",attrs:{itemprop:"headline"}},[e._v(e._s(e.title))]):e._e(),e._v(" "),t("div",{staticClass:"news-detail__content",attrs:{itemprop:"articleBody"}},e._l(e.blocks,(function(r,n){return t(e.types[r.type],e._b({key:n,tag:"component"},"component",r,!1))})),1),e._v(" "),t("aside",{staticClass:"news-detail__aside"},[e.socials.length?t("div",{staticClass:"news-detail__social"},[t("div",{staticClass:"news-detail__social-label"},[e._v("Поделиться")]),e._v(" "),t("AppSocials",{staticClass:"footer__socials",attrs:{list:e.socials,width:24,height:24,spacing:"medium"}})],1):e._e(),e._v(" "),e.nextArticle?t("AppButton",{staticClass:"news-detail__aside-next",attrs:{to:e.nextArticle,variant:"dark",size:"clear",appearance:"ghost",icon:"arrow-right","icon-position":"after"}},[e._v("\n\t\t\t\t\tСледующая статья\n\t\t\t\t")]):e._e()],1)])])],1)}),[],!1,null,null,null);t.default=component.exports},692:function(e,t,r){"use strict";var n={components:{AppSection:r(230).default},props:{settings:{type:Object,default:function(){return{marginTop:"xl",marginBottom:"xl",blockRound:!0,withBorder:!0,nextBlockRound:!1,bottomSmall:!1,negativeMargins:!1,backgroundColor:void 0,textColor:void 0}}},mortgage:{type:Object,default:void 0},anchor:{type:String,default:void 0}},computed:{variant:function(){var e,t,r,n,o=[];return null!==(e=this.settings)&&void 0!==e&&e.blockRound&&o.push("rounded"),null!==(t=this.settings)&&void 0!==t&&t.withBorder&&o.push("with-border"),null!==(r=this.settings)&&void 0!==r&&r.bottomSmall&&o.push("bottom-small"),null!==(n=this.settings)&&void 0!==n&&n.negativeMargins&&o.push("negative-margins"),o}}};t.a=n},693:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"sort";return function(a,b){return a[e]-b[e]}}},732:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));r(56);var n=function(e){return["on",!0,1,"1"].includes(e.active)}},856:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="DD.MM.YYYY"}}]);