(window.webpackJsonp=window.webpackJsonp||[]).push([[204,51,88,91,95,100,117,120,121,125,126,127,162,167,175],{1003:function(t,e,n){"use strict";n(780)},1004:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".form_comfort .form__group+.form__group{margin-top:var(--gap-xs)}.form_comfort .form__fieldset+.form__fieldset{margin-top:var(--gap-s)}.form_comfort .form__group_twin>.form__item:first-child{width:calc(100% - 1rem)}.credit-controls__submit{display:block}@media screen and (max-width:767px){.credit-controls__submit{display:none}}.credit-controls__mobile{display:none}@media screen and (max-width:767px){.credit-controls__mobile{display:block}}",""]),o.locals={},t.exports=o},1131:function(t,e,n){var content=n(1184);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("5da0defe",content,!0,{sourceMap:!1})},1132:function(t,e,n){var content=n(1186);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("43d4b8f3",content,!0,{sourceMap:!1})},1147:function(t,e,n){"use strict";n.r(e);var o={name:"AppSideViews",components:{AppIcon:n(15).default},props:{views:{type:Object,required:!0}}},r=(n(1185),n(3)),component=Object(r.a)(o,(function(){var t,e,n,o,r,l,d,c,m=this,v=m._self._c;return v("ul",{staticClass:"side-views"},[null!==(t=m.views)&&void 0!==t&&null!==(t=t.left)&&void 0!==t&&t.text?v("li",{staticClass:"side-views__view side-views__view_left",class:null!==(e=m.views.left)&&void 0!==e&&e.icon?"side-views__view_".concat(m.views.left.icon):""},[v("AppIcon",{attrs:{id:"eye",width:35,height:17}}),m._v(" "),v("span",[m._v(m._s(m.views.left.text))])],1):m._e(),m._v(" "),null!==(n=m.views)&&void 0!==n&&null!==(n=n.right)&&void 0!==n&&n.text?v("li",{staticClass:"side-views__view side-views__view_right",class:null!==(o=m.views.right)&&void 0!==o&&o.icon?"side-views__view_".concat(m.views.right.icon):""},[v("AppIcon",{attrs:{id:"eye",width:35,height:17}}),m._v(" "),v("span",[m._v(m._s(m.views.right.text))])],1):m._e(),m._v(" "),null!==(r=m.views)&&void 0!==r&&null!==(r=r.top)&&void 0!==r&&r.text?v("li",{staticClass:"side-views__view side-views__view_top",class:null!==(l=m.views.top)&&void 0!==l&&l.icon?"side-views__view_".concat(m.views.top.icon):""},[v("AppIcon",{attrs:{id:"eye",width:35,height:17}}),m._v(" "),v("span",[m._v(m._s(m.views.top.text))])],1):m._e(),m._v(" "),null!==(d=m.views)&&void 0!==d&&null!==(d=d.bottom)&&void 0!==d&&d.text?v("li",{staticClass:"side-views__view side-views__view_bottom",class:null!==(c=m.views.bottom)&&void 0!==c&&c.icon?"side-views__view_".concat(m.views.bottom.icon):""},[v("AppIcon",{attrs:{id:"eye",width:35,height:17}}),m._v(" "),v("span",[m._v(m._s(m.views.bottom.text))])],1):m._e()])}),[],!1,null,null,null);e.default=component.exports},1156:function(t,e,n){var content=n(1219);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("17f29811",content,!0,{sourceMap:!1})},1157:function(t,e,n){var content=n(1221);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("77d1394c",content,!0,{sourceMap:!1})},1158:function(t,e,n){var content=n(1223);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("c1916db2",content,!0,{sourceMap:!1})},1183:function(t,e,n){"use strict";n(1131)},1184:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".floor-bullit{background-color:var(--color-white);border:.01rem solid var(--color-border);border-radius:.24rem;box-shadow:var(--shadow);color:var(--header-text-color);font-family:var(--font-face-primary);font-size:.14rem;padding:.1rem .15rem .13rem;position:absolute;z-index:1000}.floor-bullit__wrap{align-items:center;display:flex;flex-direction:column;justify-content:center}.floor-bullit__rooms{font-size:.22rem;font-weight:600}.floor-bullit__square{font-size:.16rem}.floor-bullit__price{font-size:.16rem;font-weight:600}",""]),o.locals={},t.exports=o},1185:function(t,e,n){"use strict";n(1132)},1186:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".side-views{list-style-type:none;margin:0;padding:0}.side-views svg{display:none!important}@media screen and (min-width:767px){.side-views svg{color:var(--color-black-hover);display:inline-block!important;margin-right:13px;transform:translateY(-1px);vertical-align:middle}}@media screen and (min-width:1280px){.side-views svg{margin-right:.05rem}}.side-views__view{box-sizing:border-box;color:var(--color-black);font-size:.1rem;line-height:.14rem;position:absolute;text-align:center}@media screen and (min-width:767px){.side-views__view{font-size:.12rem;line-height:.18rem}}@media screen and (min-width:1280px){.side-views__view{font-size:.12rem}}.side-views__view_river:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='75' height='9' fill='none' viewBox='0 0 75 9'%3E%3Cpath stroke='%236F9AB6' stroke-linecap='round' stroke-opacity='.5' stroke-width='.8' d='M74.453 7.35c-1.53 1.47-4.58 1.47-6.11 0-1.52-1.47-4.57-1.47-6.1 0s-4.58 1.47-6.11 0c-1.52-1.47-4.58-1.47-6.1 0-1.53 1.47-4.58 1.47-6.11 0s-4.58-1.47-6.11 0-4.58 1.47-6.11 0-4.58-1.47-6.11 0-4.58 1.47-6.11 0-4.58-1.47-6.11 0-4.58 1.47-6.11 0-4.58-1.47-6.11 0M62.852 1.951c-1.56 1.47-4.69 1.47-6.25 0s-4.68-1.47-6.24 0-4.69 1.47-6.25 0-4.68-1.47-6.24 0-4.69 1.47-6.25 0-4.69-1.47-6.25 0-4.68 1.47-6.25 0c-1.56-1.47-4.69-1.47-6.25 0'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:cover;content:\"\";display:none;height:9px;margin-left:auto;margin-right:auto;width:75px}@media screen and (min-width:767px){.side-views__view_river:before{display:block}}@media screen and (min-width:1280px){.side-views__view_river:before{height:.09rem;width:.75rem}}.side-views__view_left{height:100%;left:12px;max-height:54%;padding-bottom:10px;padding-top:10px;top:27%;transform:translateY(calc(-50% + 66px)) scaleY(-1) scaleX(-1);writing-mode:vertical-rl}@media(min-width:600px){.side-views__view_left{left:10px;top:35%}}@media screen and (min-width:767px){.side-views__view_left{padding-top:10px;top:50%;transform:translateY(-50%) scaleY(-1) scaleX(-1)}}@media screen and (min-width:1280px){.side-views__view_left{left:.2rem;padding-bottom:.1rem;padding-top:.1rem}}@media screen and (min-width:767px){.side-views__view_left.side-views__view_river{left:26px}}@media screen and (min-width:1280px){.side-views__view_left.side-views__view_river{left:.26rem}}.side-views__view_left:before{left:-10px;margin-left:0;margin-right:0;position:absolute;top:50%;transform:rotate(90deg)}@media screen and (min-width:1280px){.side-views__view_left:before{left:-.03rem}}.side-views__view_left svg{margin-bottom:15px;margin-right:0;transform:rotate(90deg) translateY(3px) translateX(5px)}@media screen and (min-width:1280px){.side-views__view_left svg{left:-.03rem;margin-bottom:.15rem;margin-right:-.08rem;position:relative}}.side-views__view_right{height:100%;max-height:54%;padding-bottom:10px;padding-top:10px;right:10px;top:27%;transform:translateY(calc(-50% + 66px));writing-mode:vertical-rl}@media(min-width:600px){.side-views__view_right{right:10px;top:35%}}@media screen and (min-width:767px){.side-views__view_right{top:50%;transform:translateY(-50%)}}@media screen and (min-width:1280px){.side-views__view_right{padding-bottom:.1rem;padding-top:.1rem;right:.2rem}}@media screen and (min-width:767px){.side-views__view_right.side-views__view_river{right:26px}}@media screen and (min-width:1280px){.side-views__view_right.side-views__view_river{right:.26rem}}.side-views__view_right:before{left:-10px;margin-left:0;margin-right:0;position:absolute;top:50%;transform:rotate(90deg) translateY(-10px)}@media screen and (min-width:1280px){.side-views__view_right:before{left:-.1rem}}.side-views__view_right svg{margin-bottom:20px;margin-right:8px;transform:rotate(90deg)}@media screen and (min-width:1280px){.side-views__view_right svg{left:-.07rem;margin-bottom:.15rem;margin-right:-.08rem;position:relative}}.side-views__view_top{left:50%;max-width:54%;padding-left:10px;padding-right:10px;top:45px;transform:translateX(-50%);width:100%}@media(min-width:600px){.side-views__view_top{top:17px}}@media screen and (min-width:767px){.side-views__view_top{top:30px}}@media screen and (min-width:1280px){.side-views__view_top{padding-left:.1rem;padding-right:.1rem;top:.3rem}.side-views__view_top:before{transform:translateY(-4px)}}.side-views__view_bottom{bottom:6%;left:50%;max-width:54%;padding-left:10px;padding-right:10px;transform:translateX(-50%);width:100%}@media(min-width:600px){.side-views__view_bottom{bottom:5%}}@media screen and (min-width:767px){.side-views__view_bottom{bottom:.78rem}}@media screen and (max-width:1279px){.side-views__view_bottom{bottom:.35rem}}@media screen and (min-width:1280px){.side-views__view_bottom{bottom:.1rem;padding-left:.1rem;padding-right:.1rem}.side-views__view_bottom:before{transform:translateY(-4px)}}@media screen and (max-width:767px){.magnifying-blind__map-content .side-views__view_left{left:2%}.magnifying-blind__map-content .side-views__view_right{right:2%}}.magnifying-blind__map-content .side-views__view_top{top:0}.magnifying-blind__map-content .side-views__view_bottom{bottom:0}",""]),o.locals={},t.exports=o},1187:function(t,e,n){"use strict";n(11),n(23);e.a=function(t){var e={};return t.forEach((function(view){view.vp__name&&(e[view.vp__name]={text:view.svt__name,icon:view.svt__code})})),e}},1190:function(t,e,n){"use strict";n.r(e);n(39),n(49);var o={name:"AppFloorBullit",mixins:[n(91).a],props:{positionX:{type:Number,default:0},positionY:{type:Number,default:0},rooms:{type:Number,default:null},square:{type:Number,default:null},price:{type:Number,default:null},status:{type:String,default:null}},computed:{position:function(){return"top: ".concat(this.positionY,"px; left: ").concat(this.positionX,"px;")}}},r=(n(1183),n(3)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"floor-bullit",style:t.position},[e("div",{staticClass:"floor-bullit__wrap"},[null!==t.rooms?e("span",{staticClass:"floor-bullit__rooms"},[t._v("\n\t\t\t"+t._s(t.rooms>0?"".concat(t.rooms,"К"):"Студия")+"\n\t\t")]):t._e(),t._v(" "),t.square?e("span",{staticClass:"floor-bullit__square"},[t._v(t._s(t.square)+"м"),e("sup",[t._v("2")])]):t._e(),t._v(" "),t.price&&"sold"!==t.status?e("span",{staticClass:"floor-bullit__price"},[t._v(t._s(t.priceFormat(t.price))+" ₽")]):e("span",{staticClass:"floor-bullit__price"},[t._v("Продана")])])])}),[],!1,null,null,null);e.default=component.exports},1217:function(t,e,n){var content=n(1270);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("59525272",content,!0,{sourceMap:!1})},1218:function(t,e,n){"use strict";n(1156)},1219:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".floor-plan{margin:0 auto;padding:.2rem;position:relative}@media screen and (max-width:1279px){.floor-plan{padding:1.2rem .7rem}.floor-plan div>svg{max-height:4rem!important}}@media screen and (max-width:767px){.floor-plan{padding:.3rem}}@media screen and (min-width:1280px){.floor-plan{padding:.5rem .6rem}}.floor-plan div>svg{display:block;height:auto;max-height:100%;max-width:100%}@media screen and (max-width:1023px){.floor-plan div>svg{max-height:3rem!important}}@media screen and (max-width:767px){.floor-plan div>svg{max-height:3.2rem}}@media screen and (max-width:600px){.floor-plan div>svg{max-height:2.2rem}}.floor-plan__flat-path{cursor:pointer;transition-duration:var(--transition-duration)}@media screen and (max-width:767px){.floor-plan__flat-path{display:none}}.floor-plan__flat-path:hover{opacity:1!important}.floor-plan__flat-path_not-available{cursor:default}.magnifying-blind__map-content .floor-plan div>svg{height:auto!important;max-height:none!important;max-width:none!important}.product-media__content .floor-plan{height:5.6rem}@media screen and (max-width:1023px){.product-media__content .floor-plan{height:4.6rem}}@media screen and (max-width:767px){.product-media__content .floor-plan{height:auto}}",""]),o.locals={},t.exports=o},1220:function(t,e,n){"use strict";n(1157)},1221:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".window-plan{height:auto;position:relative;width:100%}.window-plan canvas{display:block;height:100%;width:100%}@media(max-width:560px){.window-plan{margin:auto;max-height:3.4rem}}@media screen and (min-width:1023px){.window-plan{height:100%}}.window-plan_magnifying-opened{max-height:none}.window-plan__magnifying{align-items:center;background-color:var(--color-white);border:none;border-radius:50%;box-shadow:var(--shadow-high);display:flex;height:32px;justify-content:center;left:50%;opacity:1;outline:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:var(--transition-duration);width:32px;z-index:2}.window-plan__magnifying svg{overflow:visible}.window-plan__magnifying:hover{transform:translate(-50%,-50%) scale(1.3)}.window-plan__view{filter:blur(1px);height:80px;padding-left:4px;transform-origin:left;width:62px;z-index:1}.window-plan__point{filter:drop-shadow(0 0 2px rgb(39,29,2));height:15px;position:absolute;transform:translate(-50%,-50%);width:15px;z-index:5}",""]),o.locals={},t.exports=o},1222:function(t,e,n){"use strict";n(1158)},1223:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".storing-plan{padding:0;position:relative}.storing-plan div>svg{display:block;height:auto;max-height:100%;max-width:100%;transform-origin:left top}.storing-plan__flat-path{cursor:pointer;transition-duration:var(--transition-duration)}@media screen and (max-width:767px){.storing-plan__flat-path{display:none}}.storing-plan__flat-path:hover{opacity:1!important}.storing-plan__flat-path_not-available{cursor:default}.product-media__content .storing-plan{height:5.6rem}@media screen and (max-width:1023px){.product-media__content .storing-plan{height:4.6rem}}@media screen and (max-width:767px){.product-media__content .storing-plan{height:4.6rem}}.magnifying-blind__map-content>div{margin:0}.magnifying-blind__map-content .storing-plan div>svg{height:auto!important;margin:0;max-height:none!important;max-width:none!important}",""]),o.locals={},t.exports=o},1224:function(t,e,n){var content=n(1272);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("3ee7a68d",content,!0,{sourceMap:!1})},1227:function(t,e,n){"use strict";n.r(e);n(22),n(11),n(54),n(23);var o=n(245),r=n(1187),l=n(1190),d=n(1147),c={name:"AppFloorPlan",components:{AppFloorBullit:l.default,AppSideViews:d.default},props:{image:{type:String,required:!0},coords:{type:String,default:""},isMagnifying:{type:Boolean,default:!1},sideViews:{type:Array,default:function(){return[]}},floorsCoords:{type:Array,default:function(){return[]}}},data:function(){return{isPopupShow:!1,mousePositionX:0,mousePositionY:0,flatData:{}}},computed:{views:function(){return this.sideViews.length?Object(r.a)(this.sideViews):{}}},mounted:function(){var t,e,n=this;this.isMagnifying?this.svgImage=Object(o.a)().addTo(this.$refs.svgImage):this.svgImage=Object(o.a)().addTo(this.$refs.svgImage).size((null===(t=this.$el)||void 0===t||null===(t=t.parentNode)||void 0===t?void 0:t.offsetWidth)-20-60,(null===(e=this.$el)||void 0===e||null===(e=e.parentNode)||void 0===e?void 0:e.offsetHeight)-60);window.addEventListener("resize",this.handleResize),this.svgImage.image(this.image,(function(t){var e=t.target,o=e.naturalWidth,r=e.naturalHeight;n.svgImage.viewbox(0,0,o,r),n.$emit("imageLoaded",{width:o-20,height:r})})),this.svgImage.path("M".concat(this.coords,"Z")).css({fill:"rgba(255, 207, 51, 0.5)",stroke:"rgba(255, 207, 51, 0)","stroke-width":"3px"}),this.floorsCoords.length&&this.floorsCoords.forEach((function(t){var e=n.svgImage.path("M".concat(t.path,"Z"));e.node.classList.add("floor-plan__flat-path"),"sold"===t.status&&e.node.classList.add("floor-plan__flat-path_not-available"),e.css({fill:"rgba(255, 207, 51, 0.3)",stroke:"rgba(255, 207, 51, 0)","stroke-width":"3px",opacity:"0"}),e.node.addEventListener("click",(function(){"sold"!==t.status&&(n.$router.push(t.link),n.$emit("clickFlatPath"))})),e.node.addEventListener("mouseover",(function(e){n.flatData=t,n.mousePositionX=e.offsetX-50,n.mousePositionY=e.offsetY+50,n.isPopupShow=!0})),e.node.addEventListener("mouseleave",(function(){n.isPopupShow=!1}))}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{handleResize:function(){var t,e,n=null===(t=this.$el)||void 0===t?void 0:t.parentNode,o=window.getComputedStyle(n),r=n.clientWidth-parseFloat(o.paddingLeft)-parseFloat(o.paddingRight);this.svgImage.size(r,null===(e=this.$el.parentNode)||void 0===e?void 0:e.offsetHeight)}}},m=(n(1218),n(3)),component=Object(m.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"floor-plan"},[e("div",{ref:"svgImage"}),t._v(" "),e("AppFloorBullit",t._b({directives:[{name:"show",rawName:"v-show",value:t.isPopupShow,expression:"isPopupShow"}],attrs:{"position-x":t.mousePositionX,"position-y":t.mousePositionY}},"AppFloorBullit",t.flatData,!1)),t._v(" "),Object.keys(t.views).length?e("AppSideViews",{attrs:{views:t.views}}):t._e()],1)}),[],!1,null,null,null);e.default=component.exports},1228:function(t,e,n){"use strict";n.r(e);n(39),n(410),n(49),n(235),n(11),n(23);var o=n(245),r={name:"AppWindowPlan",props:{image:{type:String,required:!0},viewData:{type:Array,default:function(){return[]}},isMagnifying:{type:Boolean,default:!1},zoom:{type:Number,default:1}},data:function(){return{fieldView:null,imgWidth:0}},watch:{zoom:function(){var t=this,e=document.querySelectorAll(".window-plan__view");this.viewData.forEach((function(n){var o=n.coordsX/t.imgWidth*100;e.forEach((function(t){Number(t.id)===Number(n.id)&&(t.style.left="calc(".concat(o,"% + 30px)"))}))}))}},mounted:function(){var t=this,e=this.isMagnifying?"28px":"30px";this.svgImage=Object(o.a)().addTo(this.$refs.windowPlan).size("100%","100%"),window.addEventListener("resize",this.handleResize),this.svgImage.image(this.image,(function(n){var r=n.target,l=r.naturalWidth,d=r.naturalHeight;t.svgImage.viewbox(0,0,l,d),t.$emit("imageLoaded",{width:l,height:d}),t.imgWidth=l,t.viewData.forEach((function(n){var r=n.coordsX/t.imgWidth*100,c=n.coordsY/d*100;n.sectorsArr.forEach((function(l){t.fieldView=Object(o.a)().addTo(t.$refs.windowPlan);var d=t.fieldView.gradient("linear");d.stop({offset:0,color:"#fdc612"}),d.stop({offset:.93,color:"#fdc612",opacity:0}),t.fieldView.path("M37.4908 1.72888.71873 39.4921 38.4921 75.7643c15.387-25.9868 17.9067-41.6893-1.0013-74.03542Z").fill(d),t.fieldView.addClass("window-plan__view"),t.fieldView.attr({style:"position: absolute;\n\t\t\t\t\t\ttop: ".concat(c.toFixed(1),"%;\n\t\t\t\t\t\tleft: calc(").concat(r.toFixed(1),"% + ").concat(e,");\n\t\t\t\t\t\ttransform: translate(-50%, -50%) rotate(").concat(l.startAngle+30,"deg);"),id:n.id})}));var m=Object(o.a)().addTo(t.$refs.windowPlan),v=n.coordsX/l*100>50?-1:1,f="calc(".concat(((n.coordsX+v)/l*100).toFixed(1),"%);");m.addClass("window-plan__point"),m.attr({style:"top: ".concat(c.toFixed(1),"%;\n\t\t\t\t\tleft: ").concat(f)}),m.circle(14).fill("#fcc51e")}))}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{handleResize:function(){var t=this,e=document.querySelectorAll(".window-plan__view"),n=this.isMagnifying?"28px":"30px";this.viewData.forEach((function(o){var r=o.coordsX/t.imgWidth*100;e.forEach((function(t){Number(t.id)===Number(o.id)&&(t.style.left="calc(".concat(r.toFixed(1),"% + ").concat(n,")"))}))}))}}},l=(n(1220),n(3)),component=Object(l.a)(r,(function(){return(0,this._self._c)("div",{ref:"windowPlan",staticClass:"window-plan",class:{"window-plan_magnifying-opened":this.isMagnifying}})}),[],!1,null,null,null);e.default=component.exports},1229:function(t,e,n){"use strict";n.r(e);n(39),n(235),n(11),n(23),n(50);var o=n(245),r={name:"AppStoringPlan",props:{isMagnifying:{type:Boolean,default:!1},image:{type:String,required:!0},coords:{type:String,default:""},dependentCoords:{type:Array,default:function(){return[]}}},data:function(){return{naturalWidth:0,naturalHeight:0,offset:{x:0,y:0}}},mounted:function(){var t=this;this.svgImage=Object(o.a)().addTo(this.$refs.svgImage),window.addEventListener("resize",this.handleResize),this.svgImage.image(this.image,(function(e){var n=e.target,o=n.naturalWidth,r=n.naturalHeight;t.svgImage.viewbox(0,0,o,r),t.naturalWidth=o,t.naturalHeight=r,t.$emit("getImageNaturalWidth",t.naturalWidth),t.$emit("imageLoaded",{width:o-20,height:r}),t.isMagnifying&&(t.createPath(),t.getPositionData(t.offset),t.svgImage.css("transform","translate(0px)")),window.addEventListener("load",t.createPath)}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleResize)},methods:{createPath:function(){var t,e=this,n=document.querySelector(".magnifying-blind__container"),o=(this.naturalWidth/this.$refs.svgImage.offsetWidth).toFixed(1),r=this.$refs.svgImage.parentNode,l=(this.$refs.svgImage.offsetHeight*o/this.naturalHeight).toFixed(2),d=(this.$refs.svgImage.offsetWidth*o/this.naturalWidth).toFixed(2),c=this.isMagnifying?n.offsetHeight/2:r.offsetHeight/2,m=this.isMagnifying?n.offsetWidth/2:r.offsetWidth/2;if(null!==(t=this.dependentCoords)&&void 0!==t&&t.length){var v,f;this.offset.x=m-(null===(v=this.dependentCoords[0])||void 0===v?void 0:v.split(",")[0])*d,this.offset.y=-(null===(f=this.dependentCoords[0])||void 0===f?void 0:f.split(",")[1])*parseFloat(l)+c,this.svgImage.css("transform","translate(".concat(this.offset.x,"px, ").concat(parseInt(r.offsetHeight)<this.$refs.svgImage.offsetHeight||this.isMagnifying?this.offset.y:0,"px) scale(").concat(o,")")),this.dependentCoords.forEach((function(t){e.svgImage.path("M".concat(t,"Z")).css({fill:"rgba(255, 207, 51, 0.5)",stroke:"rgba(255, 207, 51, 0)","stroke-width":"3px"})}))}else{var h,_,w,x=this.svgImage.path("M".concat(this.coords,"Z"));this.offset.x=m-(null===(h=this.coords)||void 0===h?void 0:h.split(",")[0])*d,this.offset.y=-(null===(_=this.coords)||void 0===_?void 0:_.split(",")[1])*l+c,this.svgImage.css("transform","translate(".concat(this.offset.x,"px, ").concat(null!==(w=this.coords)&&void 0!==w&&w.length||this.isMagnifying?this.offset.y:0,"px) scale(").concat(o,")")),x.css({fill:"rgba(255, 207, 51, 0.5)",stroke:"rgba(255, 207, 51, 0)","stroke-width":"3px"})}},getPositionData:function(t){var e=this;setTimeout((function(){e.$emit("getPositionData",t)}),200)},handleResize:function(){var t,e,n,o=this.$refs.svgImage.parentNode,r=(this.$refs.svgImage.offsetHeight/this.naturalHeight).toFixed(2),l=null!==(t=this.dependentCoords)&&void 0!==t&&t.length?null===(e=this.dependentCoords[0])||void 0===e?void 0:e.split(","):null===(n=this.coords)||void 0===n?void 0:n.split(",");this.svgImage.css("transform","translate(0px, ".concat(-l[1]*r+o.offsetHeight/2,"px)"))}}},l=(n(1222),n(3)),component=Object(l.a)(r,(function(){var t=this._self._c;return t("div",{staticClass:"storing-plan"},[t("div",{ref:"svgImage"})])}),[],!1,null,null,null);e.default=component.exports},1269:function(t,e,n){"use strict";n(1217)},1270:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".features-flats{display:flex;flex-wrap:wrap;gap:.1rem;list-style:none}.features-flats>*{min-height:1px;min-width:1px}.features-flats__item{cursor:default}.features-flats__item span{background-color:var(--color-secondary);border:none;border-radius:.2rem;color:var(--color-secondary-100);display:inline-block;font-size:.16rem;line-height:.24rem;padding:.08rem .2rem;text-align:center}@media screen and (max-width:767px){.features-flats__item span{font-size:.15rem;line-height:.16rem}}",""]),o.locals={},t.exports=o},1271:function(t,e,n){"use strict";n(1224)},1272:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".magnifying-blind{height:100%;left:0;padding-top:1.33rem;position:fixed;top:0;transition:opacity;transition-duration:var(--transition-duration);width:100%;z-index:100}.magnifying-blind_loading{opacity:0;pointer-events:none}@media screen and (max-width:1023px){.magnifying-blind{padding-top:0}}.magnifying-blind__rosewind{left:var(--gap-xs);position:absolute;top:-.65rem}@media screen and (max-width:767px){.magnifying-blind__rosewind{background-color:var(--color-white);border-radius:50%;box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08);left:calc(var(--gap-xs)/2);padding:.03rem;top:-.35rem}}.magnifying-blind__rosewind div{align-items:center;display:flex;height:.64rem;justify-content:center;width:.64rem}@media screen and (max-width:767px){.magnifying-blind__rosewind div{height:.42rem;width:.42rem}}.magnifying-blind__rosewind img{width:100%}.magnifying-blind__container{height:100%;position:relative}@media screen and (max-width:767px){.magnifying-blind__container{padding-left:0;padding-right:0}}.magnifying-blind__overlay{background-color:rgba(0,0,0,.5);height:100%;left:0;position:absolute;top:0;width:100%}.magnifying-blind__close{background:none;border:0;margin:0;opacity:.3;padding:0;position:absolute;right:var(--gap-xs);top:var(--gap-xs);z-index:10}.magnifying-blind__close svg{stroke:currentColor}.magnifying-blind__content{background-color:var(--color-secondary-10);border-radius:.24rem .24rem 0 0;box-shadow:0 2px 5px rgba(0,0,0,.04),0 2px 4px rgba(0,0,0,.06),0 -.5px 3px rgba(0,0,0,.08);height:100%;overflow:auto;padding-bottom:var(--gap-xl);padding-top:var(--gap-xxxxl);position:relative;z-index:1}@media screen and (max-width:1023px){.magnifying-blind__content{border-radius:0;padding-bottom:var(--gap-xs);padding-top:var(--gap-l)}}.magnifying-blind__image-container{position:relative}.magnifying-blind__image,.magnifying-blind__image-container{height:100%;max-width:none;width:auto}.magnifying-blind__map{height:100%;position:relative}.magnifying-blind__map-viewport{height:100%;overflow:hidden;text-align:center}.magnifying-blind__map-content{vertical-align:top}.magnifying-blind__map-content>div{margin:0 auto;transition-duration:.2s;transition-property:width,height}.magnifying-blind__map-content__storing-holder{transition-property:none}.magnifying-blind__map-controls{display:flex;flex-direction:column;position:absolute;right:var(--gap-xs);top:50%;transform:translateY(-50%);z-index:10}@media screen and (max-width:767px){.magnifying-blind__map-controls{right:.15rem;top:20%}}.magnifying-blind__map-control{align-items:center;-webkit-backdrop-filter:blur(38px);backdrop-filter:blur(38px);background-color:rgba(0,0,0,.15);border:.01rem solid var(--color-white);color:var(--color-white);display:flex;height:.32rem;justify-content:center;margin:0;padding:0;width:.32rem}@media screen and (max-width:1023px){.magnifying-blind__map-control{border-color:transparent;width:.4rem}}.magnifying-blind__map-control+.magnifying-blind__map-control{margin-top:-.01rem}.magnifying-blind__map-control_zoom-in{border-radius:.12rem .12rem 0 0}.magnifying-blind__map-control_zoom-out{border-radius:0 0 .12rem .12rem}",""]),o.locals={},t.exports=o},1300:function(t,e,n){var content=n(1378);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("0b341460",content,!0,{sourceMap:!1})},1325:function(t,e,n){"use strict";n.r(e);n(33);var o={name:"AppFeatures",props:{list:{type:Array,default:null}}},r=(n(1269),n(3)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"features-flats"},t._l(t.list,(function(n,o){return e("li",{key:o,staticClass:"features-flats__item"},[e("span",[t._v(t._s(n.name))])])})),0)}),[],!1,null,null,null);e.default=component.exports},1326:function(t,e,n){"use strict";n.r(e);n(37),n(22);var o=n(6),r=(n(20),n(21),n(49),n(235),n(29),n(30),n(11),n(23),n(50),n(18)),l=n(248),d=n(65),c=n(15),m=n(1227),v=n(1228),f=n(1229),h=n(1147);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var x={name:"AppMagnifyingBlind",components:{AppIcon:c.default,AppFloorPlan:m.default,AppWindowPlan:v.default,AppSideViews:h.default,AppStoringPlan:f.default},mixins:[d.a],props:{image:{type:String,required:!0},coords:{type:String,default:""},viewData:{type:Array,default:function(){return[]}},flatHeroImages:{type:Array,default:function(){return[]}},roseWind:{type:Object,default:function(){return{}}},maxZoom:{type:Number,default:1.8},minZoom:{type:Number,default:.4},stepZoom:{type:Number,default:.4},defaultZoom:{type:Number,default:1},sideViews:{type:Array,default:function(){return[]}},flatSideViews:{type:Object,default:function(){return{}}},floorsCoords:{type:Array,default:function(){return[]}},dependentCoords:{type:Array,default:function(){return[]}},isStoring:{type:Boolean,default:!1}},data:function(){return{map:{image:this.image,zoom:1,zoomTransitionSpeed:200,isFullscreen:!1,isPopUpVisible:!1,popUp:null,scrollBooster:null,initialWidth:0,initialHeight:0,prevViewportWidth:0,naturalWidth:0,offset:{},isZoomChangeInternal:!1}}},watch:{"map.zoom":function(t,e){var n=this;this.$refs.holder.style.width="".concat(this.map.initialWidth*t,"px"),this.$refs.holder.style.height="".concat(this.map.initialHeight*t,"px"),this.map.isPopUpVisible=!1,this.isZoomChangeInternal||setTimeout((function(){var o,r,l,d=null===(o=n.map.scrollBooster)||void 0===o?void 0:o.getState().position,c=d.x,m=d.y,v=c/e*t,f=m/e*t;null===(r=n.map.scrollBooster)||void 0===r||r.setPosition({x:v.toFixed(2),y:f.toFixed(2)}),null===(l=n.map.scrollBooster)||void 0===l||l.updateMetrics()}),this.map.zoomTransitionSpeed)}},mounted:function(){var t=this;this.initScrollBooster(),this.lockBody(),this.isZoomChangeInternal=!0,setTimeout((function(){t.map.initialWidth=t.getImageWidth(),t.map.initialHeight=t.getImageHeight();var e=parseFloat((t.map.initialWidth/window.innerWidth).toFixed(1)),n=t.naturalWidth/t.map.initialWidth;t.isStoring?(t.map.zoom=n,t.map.maxZoom=n+.6):1!==t.defaultZoom&&e<t.defaultZoom&&(t.map.zoom=e<.9?1.1:e-.2),t.$nextTick((function(){t.isZoomChangeInternal=!1}))}),1)},destroyed:function(){this.unlockBody()},methods:w(w({},Object(r.c)({close:"popup-magnifying/CLOSE_MAGNIFYING_MODAL"})),{},{initScrollBooster:function(){var t=this;setTimeout((function(){var e;t.$refs.viewport&&t.$refs.content&&(t.map.scrollBooster=new l.a({viewport:t.$refs.viewport,content:t.$refs.content,scrollMode:"transform",emulateScroll:!0,bounce:!1}),null===(e=t.map.scrollBooster)||void 0===e||e.updateMetrics())}),100)},getPositionData:function(t){var e,n,o;this.offset=t,null===(e=this.map.scrollBooster)||void 0===e||e.setPosition({x:-(null==t||null===(n=t.x)||void 0===n?void 0:n.toFixed(2)),y:-(null==t||null===(o=t.y)||void 0===o?void 0:o.toFixed(2))})},getImageNaturalWidth:function(t){this.naturalWidth=t},onZoomInHandler:function(){this.map.zoom+=this.stepZoom},onZoomOutHandler:function(){this.map.zoom-=this.stepZoom,this.map.zoom<=this.minZoom&&(this.map.zoom=this.minZoom)},getImageWidth:function(){var t,e,n,image=this.$refs.image,o=null===(t=image.$el)||void 0===t||null===(t=t.firstChild)||void 0===t?void 0:t.firstChild;return image.offsetWidth||(null==o||null===(e=o.width)||void 0===e||null===(e=e.baseVal)||void 0===e?void 0:e.value)||(null==o||null===(n=o.firstChild)||void 0===n||null===(n=n.width)||void 0===n||null===(n=n.baseVal)||void 0===n?void 0:n.value)},getImageHeight:function(){var t,e,n,image=this.$refs.image,o=null===(t=image.$el)||void 0===t||null===(t=t.firstChild)||void 0===t?void 0:t.firstChild;return image.offsetHeight||(null==o||null===(e=o.height)||void 0===e||null===(e=e.baseVal)||void 0===e?void 0:e.value)||(null==o||null===(n=o.firstChild)||void 0===n||null===(n=n.height)||void 0===n||null===(n=n.baseVal)||void 0===n?void 0:n.value)}})},y=(n(1271),n(3)),component=Object(y.a)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"magnifying-blind"},[e("div",{staticClass:"magnifying-blind__overlay"}),t._v(" "),e("div",{staticClass:"magnifying-blind__content"},[e("button",{staticClass:"magnifying-blind__close",attrs:{type:"button"},on:{click:t.close}},[e("AppIcon",{attrs:{id:"cross",width:24,height:24}})],1),t._v(" "),e("div",{staticClass:"magnifying-blind__container"},[Object.keys(t.roseWind).length?e("div",{staticClass:"magnifying-blind__rosewind"},[e("div",{style:t.roseWind},[e("img",{attrs:{src:"/img/rose-wild.svg",alt:""}})])]):t._e(),t._v(" "),e("div",{staticClass:"magnifying-blind__map"},[e("div",{ref:"viewport",staticClass:"magnifying-blind__map-viewport"},[e("div",{ref:"content",staticClass:"magnifying-blind__map-content"},[e("div",{ref:"holder",class:t.isStoring?"magnifying-blind__storing-holder":""},[t.isStoring&&t.map.image?e("AppStoringPlan",{ref:"image",attrs:{image:t.map.image,coords:t.coords,"dependent-coords":t.dependentCoords,"is-magnifying":""},on:{getPositionData:t.getPositionData,getImageNaturalWidth:t.getImageNaturalWidth}}):t.coords&&t.flatHeroImages[2].active?e("AppFloorPlan",{ref:"image",attrs:{"is-magnifying":"",image:t.map.image,coords:t.coords,"side-views":t.sideViews,"floors-coords":t.floorsCoords},on:{clickFlatPath:t.close}}):t.viewData&&t.flatHeroImages[5].active?e("AppWindowPlan",{ref:"image",attrs:{"is-magnifying":"",zoom:t.map.zoom,image:t.map.image,"view-data":t.viewData}}):e("div",{staticClass:"magnifying-blind__image-container"},[Object.keys(t.flatSideViews).length?e("AppSideViews",{attrs:{views:t.flatSideViews}}):t._e(),t._v(" "),e("img",{ref:"image",staticClass:"magnifying-blind__image",attrs:{src:t.map.image,alt:""}})],1)],1)])]),t._v(" "),e("div",{staticClass:"magnifying-blind__map-controls"},[e("button",{staticClass:"magnifying-blind__map-control magnifying-blind__map-control_zoom-in",attrs:{type:"button"},on:{click:t.onZoomInHandler}},[e("AppIcon",{attrs:{id:"plus",width:16,height:16}})],1),t._v(" "),e("button",{staticClass:"magnifying-blind__map-control magnifying-blind__map-control_zoom-out",attrs:{type:"button"},on:{click:t.onZoomOutHandler}},[e("AppIcon",{attrs:{id:"minus",width:16,height:16}})],1)])])])])])}),[],!1,null,null,null);e.default=component.exports},1377:function(t,e,n){"use strict";n(1300)},1378:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,'@media screen and (max-width:767px){.product-media-section{padding-bottom:0}.product-media-section+.card-summary{margin-top:var(--gap-negative-xs);position:relative;z-index:2}}.product-media .slider{box-sizing:border-box;padding-bottom:.2rem}.product-media .slider,.product-media .swiper-wrapper,.product-media__slide,.product-media__swiper{height:100%;width:100%}.product-media__slider_active{opacity:1!important;z-index:1!important}.product-media__slider-arrows{display:flex;justify-content:space-between;left:0;padding:0 .2rem;position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:2}@media(max-width:500px){.product-media__slider-arrows{bottom:.2rem;gap:.1rem;left:auto;right:0;top:auto;transform:none;width:auto}}.product-media__slider-arrows .slider__arrow{box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08);height:.48rem;width:.48rem}@media(max-width:500px){.product-media__slider-arrows .slider__arrow{height:.32rem;width:.32rem}.product-media__slider-arrows .slider__arrow svg{transform:scale(.7)}}.product-media__slide{align-items:center;box-sizing:border-box;display:flex;justify-content:center;padding:.2rem}.product-media__slider-pagination{align-items:center;-webkit-backdrop-filter:blur(.04rem);backdrop-filter:blur(.04rem);background-color:hsla(0,0%,85%,.3);border-radius:.16rem;bottom:.2rem;display:flex;justify-content:center;left:50%;padding:.12rem .18rem;position:absolute;transform:translateX(-50%)}@media(max-width:500px){.product-media__slider-pagination{transform:translateX(-50%) scale(.7)}}.product-media__slider-pagination .swiper-pagination-bullet{background-color:var(--color-black);height:.08rem;margin:0 .06rem;opacity:.5;width:.08rem}.product-media__slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{opacity:1}.product-media__controls{align-items:flex-end;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:var(--gap-xs)}.product-media__controls>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.product-media__controls{align-items:center;margin-bottom:0}}.product-media__magnifying{align-items:center;background-color:var(--color-white);border:none;border-radius:50%;box-shadow:var(--shadow-high);display:flex;height:32px;justify-content:center;left:50%;opacity:0;outline:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:var(--transition-duration);width:32px;z-index:2}@media screen and (max-width:767px){.product-media__magnifying{opacity:1}}.product-media__magnifying svg{overflow:visible}.product-media__magnifying:hover{transform:translate(-50%,-50%) scale(1.3)}.product-media:hover .product-media__magnifying{opacity:1}.product-media__trigger{background-color:var(--color-secondary);border-radius:.12rem;display:flex;flex-wrap:wrap;padding:.03rem;row-gap:.04rem}.product-media__trigger>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.product-media__trigger{margin-bottom:var(--gap-xxs)}}.product-media__trigger-item{flex:none}@media screen and (max-width:767px){.product-media__trigger-item{border-radius:.08rem;font-size:.12rem;letter-spacing:.025em;line-height:1.3333333333;padding:.07rem .12rem}}.product-media__buttons{display:flex;flex-wrap:wrap}.product-media__buttons>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.product-media__buttons{margin-bottom:var(--gap-xxs)}}.product-media__buttons-item{flex:none}@media screen and (max-width:767px){.product-media__buttons-item{border-radius:.08rem;font-size:.12rem;letter-spacing:.025em;line-height:1.3333333333;padding:.07rem .12rem}}.product-media__content{align-items:center;background-color:var(--color-footer);border-radius:.24rem;display:flex;flex-wrap:wrap;height:auto;justify-content:center;overflow:hidden;position:relative}.product-media__content>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.product-media__content{border-radius:0;margin-left:var(--container-gap-negative);margin-right:var(--container-gap-negative);padding:var(--gap-xxs) var(--container-gap) calc(var(--gap-xs) + var(--gap-xxs))}.product-media__content_storing{padding:0}}.product-media__windows-view{width:100%}.product-media__image{cursor:pointer;display:block;flex:none;max-height:4.6rem;max-width:100%}@media screen and (max-width:600px){.product-media__image{max-height:3.4rem}}@media screen and (max-width:1439px){.product-media__image{margin-bottom:15%;margin-top:15%}}@media(min-width:600px){.product-media__image{margin-bottom:7%;margin-top:7%}}.product-media__image_alernate{cursor:default}.product-media__print{background-color:var(--color-white);border:none;border-radius:50%;box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08);color:var(--color-black)!important;position:absolute;right:1.48rem;top:.2rem;z-index:5}.product-media__print:hover svg{opacity:.3}.product-media__print svg{margin:-.01rem -.06rem;transform:scale(.9);transition:var(--transition-duration)}@media screen and (max-width:767px){.product-media__print{right:calc(var(--gap-xs)/2 + .6rem);top:calc(var(--gap-xs)/2)}}.product-media__other-menu{position:absolute;right:.84rem;top:.2rem}@media screen and (max-width:767px){.product-media__other-menu{right:calc(var(--gap-xs)/2);top:calc(var(--gap-xs)/2)}}.product-media__favorite{background-color:var(--color-white);border:none;border-radius:50%;box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08);position:absolute;right:.2rem;top:.2rem;z-index:2}.product-media__favorite .icon_heart{margin:-.01rem -.06rem;stroke-width:2px}@media screen and (max-width:767px){.product-media__favorite{bottom:.4rem;left:.12rem;right:auto;top:auto}}.product-media__rosewind{left:calc(var(--gap-xs) - .1rem);position:absolute;top:calc(var(--gap-xs) - .1rem)}@media screen and (max-width:767px){.product-media__rosewind{background-color:var(--color-white);border-radius:50%;box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08);left:calc(var(--gap-xs)/2);padding:.03rem;top:calc(var(--gap-xs)/2)}}.product-media__rosewind div{align-items:center;display:flex;height:.64rem;justify-content:center;width:.64rem}@media screen and (max-width:767px){.product-media__rosewind div{height:.42rem;width:.42rem}}.product-media__rosewind img{width:100%}.product-media__floor-plan,.product-media__storing-plan{position:relative;width:100%;z-index:1}@media screen and (max-width:767px){.flat-detail-hero{padding-top:var(--gap-xxs)}}.detail-interesting{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:var(--gap-s);grid-row-gap:var(--gap-xxs)}.detail-interesting>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.detail-interesting{grid-template-columns:1fr}}.media-frame{position:relative}.media-frame__image{border-radius:.32rem;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}@media screen and (max-width:1023px){.media-frame__image{border-radius:.12rem}}@media screen and (max-width:767px){.media-frame__image{height:77.7777vw}.media-frame__plan-holder{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;height:4rem;margin-left:var(--container-gap-negative);margin-right:var(--container-gap-negative)}}@media screen and (max-width:767px){.media-frame__plan-holder::-webkit-scrollbar{display:none;height:0;width:0}.media-frame__plan-holder .media-frame__plan,.media-frame__plan-holder svg{display:inline-block;height:100%;vertical-align:top}.media-frame__plan-holder svg{width:auto}}.media-frame__plan{border-radius:.32rem;overflow:hidden}@media screen and (max-width:1023px){.media-frame__plan{border-radius:0;margin-left:var(--container-gap-negative);margin-right:var(--container-gap-negative)}}@media screen and (max-width:767px){.media-frame__plan{margin:0}}.media-frame__control{bottom:.2rem;position:absolute;right:.2rem;z-index:1}@media screen and (max-width:1023px){.media-frame__control{bottom:auto;margin-top:var(--gap-xxs);position:relative;right:auto;width:100%}}.gallery-wall{padding-top:var(--gap-xxs);position:relative}@media screen and (max-width:1023px){.gallery-wall{padding-top:0}}.gallery-wall__tabs{left:50%;position:absolute;top:var(--gap-negative-xxs);transform:translateX(-50%);white-space:nowrap;z-index:2}@media screen and (max-width:1023px){.gallery-wall__tabs{left:auto;position:relative;top:auto;transform:none}}.gallery-wall__gallery{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,3.08rem);grid-column-gap:var(--gap-xs);grid-row-gap:var(--gap-xs);border-radius:.24rem;overflow:hidden;transform:translateZ(0)}.gallery-wall__gallery>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.gallery-wall__gallery{display:inline-flex;flex-wrap:nowrap;grid-template-columns:none;grid-template-rows:none;grid-column-gap:0;grid-row-gap:0;border-radius:0;margin-left:var(--container-gap-negative);margin-right:var(--container-gap-negative);max-width:calc(100% + var(--container-gap)*2);overflow-x:auto;scrollbar-width:none;vertical-align:top;-ms-overflow-style:none}.gallery-wall__gallery::-webkit-scrollbar{display:none;height:0;width:0}.gallery-wall__gallery:after,.gallery-wall__gallery:before{content:"";display:block;flex:none;height:100%;width:var(--container-gap)}}.gallery-wall__gallery-item{border-radius:.12rem;cursor:pointer;overflow:hidden;position:relative;transition:opacity var(--transition-duration)}@media screen and (max-width:767px){.gallery-wall__gallery-item{border-radius:.24rem;flex:none;height:calc(73vw - var(--container-gap)*2*.73);width:calc(100vw + var(--container-gap-negative)*2)}.gallery-wall__gallery-item+.gallery-wall__gallery-item{margin-left:.1rem}}.gallery-wall__gallery-item:hover{opacity:.7}.gallery-wall__gallery-item:first-child{grid-row:1/3}.gallery-wall__gallery-item img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.gallery-wall__all{align-items:center;background-color:rgba(var(--color-black-rgb),.2);color:var(--color-white);display:flex;flex-wrap:wrap;font-size:.32rem;font-weight:600;height:100%;justify-content:center;left:0;line-height:1.25;position:absolute;top:0;width:100%}.gallery-wall__all>*{min-height:1px;min-width:1px}@media screen and (max-width:600px){.gallery-wall__all{font-size:.24rem;line-height:1.3333333333}}',""]),o.locals={},t.exports=o},1430:function(t,e,n){"use strict";n.r(e);n(20),n(72),n(21),n(22),n(11),n(54);var o=n(6),r=n(28),l=(n(39),n(135),n(799),n(56),n(175),n(37),n(800),n(33),n(49),n(29),n(30),n(229),n(40),n(43),n(59),n(407),n(23),n(50),n(1401)),d=n(703),c=n(787),m=n(976),v=n(18),f=n(230),h=n(975),_=n(962),w=n(137),x=n(27),y=n(1325),k=n(960),C=n(1022),P=n(136),I=n(705),A=n(851),O=n(91),j=n(1018),S=n(15),M=n(1326),z=n(1228),F=n(1227),H=n(1187),N=n(1147),W=n(1229);function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var L={name:"AppFlatDetailPage",components:{AppBlockMortgage:A.default,AppSection:f.default,AppCardInteresting:h.default,AppProductSlider:_.default,AppModal:w.default,AppButton:x.default,AppFeaturesFlats:y.default,AppIcon:S.default,AppPageHeading:k.default,AppCardSummary:C.default,AppFavorite:P.default,AppOtherMenu:I.default,AppMarkersPlan:j.default,AppMagnifyingBlind:M.default,AppWindowPlan:z.default,AppFloorPlan:F.default,AppSideViews:N.default,AppStoringPlan:W.default},mixins:[O.a],layout:"AppMainLayout",props:{station:{type:String,default:void 0},flatName:{type:String,default:void 0},imageFloor:{type:String,default:void 0},imageMain:{type:String,default:void 0},imageTop:{type:String,default:void 0},tradeIn:{type:Object,default:void 0},floorNum:{type:String,default:void 0},corpusFloors:{type:String,default:void 0},houseId:{type:Object,default:void 0},estateId:{type:Object,default:void 0},finish:{type:String,default:void 0},balcony:{type:String,default:void 0},loggia:{type:String,default:void 0},terrace:{type:String,default:void 0},planning:{type:Object,default:void 0},imagePlan:{type:String,default:void 0},image3d:{type:String,default:void 0},deadline:{type:String,default:void 0},settling:{type:String,default:void 0},metro:{type:Object,default:void 0},timeToMetro:{type:String,default:void 0},closestMetro:{type:Array,default:void 0},finishType:{type:String,default:void 0},floorsCount:{type:String,default:void 0},listFlats:{type:String,default:void 0},imageWindow:{type:String,default:void 0},sectionNum:{type:String,default:void 0},section:{type:Object,default:void 0},floorCount:{type:String,default:void 0},maxPayment:{type:String,default:void 0},maxTerm:{type:String,default:void 0}},asyncData:function(t){var e=t.params,n=t.$axios,o=t.error,l=e.slug,d=[],c=Date.now();return n.get("/api/flats/".concat(l,"?floorFlats=1")).then((function(t){var e,n,o,m,v,f,h,_,w,x,y,k,C,P,I,A,j,S,M,z,F,H,N,W,B,L,D,E,T,V,R,Z,Y,X,G,U,J,K,Q,tt,et,it,at,nt,ot,lt,st,ct,ut,pt,mt,gt,vt,ft,ht,_t,bt,wt,xt,yt,kt,Ct,Pt,It=t.data,At=It.flat,Ot=It.similarFlats,jt=It.floorPlanningData,St=Date.now(),Mt=St-c,zt=Boolean(null==At||null===(e=At.advantagesFlats)||void 0===e?void 0:e.find((function(t){return"Пентхаус"===t.name}))),Ft=Boolean(null==At||null===(n=At.advantagesFlats)||void 0===n?void 0:n.find((function(t){return"Таунхаус"===t.name})));d.push("AD dur: ".concat(Mt,"ms, url: /api/flats/").concat(l));var Ht,Nt,Wt=O.a.methods.priceFormat,Bt={storeroom:"Кладовая",carplace:"Машиноместо",motoplace:"Мотоместо",office:"Помещение",flat:"Квартира"},$t=function(t){var e;return"".concat(Bt[null==t?void 0:t.type]," ").concat(null!==(e=null==t?void 0:t.size)&&void 0!==e?e:""," ").concat("carplace"===(null==t?void 0:t.type)?"<br>":""," №").concat(t.number," ").concat(null==t?void 0:t.square," м²")},qt=null!=At&&null!==(o=At.dependentFlats)&&void 0!==o&&o.length?null==At?void 0:At.dependentFlats.map((function(t){return $t(t)})).join(", "):$t(At);if(zt?At.flatName="Пентхаус, ".concat(null==At?void 0:At.square," м² ").concat(null!=At&&At.number?"№ "+(null==At?void 0:At.number):""):Ft?At.flatName="Таунхаус, ".concat(null==At?void 0:At.square," м² ").concat(null!=At&&At.number?"№ "+(null==At?void 0:At.number):""):0===(null==At?void 0:At.rooms)?At.flatName="Студия, ".concat(null==At?void 0:At.square," м² №").concat(At.number):Bt[null==At?void 0:At.type]?At.flatName=qt:At.flatName="office"===(null==At?void 0:At.type)?"Помещение ".concat(null==At?void 0:At.square," м² №").concat(At.number):"".concat(null==At?void 0:At.rooms,"-комнатная квартира, ").concat(null==At?void 0:At.square," м² №").concat(At.number),null!=At&&null!==(m=At.mortgage)&&void 0!==m&&m.monthPayment){var Lt=At.mortgage.monthPayment.toString().replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g,"$1 ");At.mortgagePayment="от ".concat(Lt," ₽ в месяц"),At.mortgageLink="/mortgage?estate="+At.estateId.id+"&house="+At.houseId.id+"&price="+At.price+"&term="+At.mortgage.maxTerm+"&maxPayment="+At.mortgage.maxPayment+"#calc"}else At.mortgagePayment="",At.mortgageLink="#";null!=At&&null!==(v=At.section)&&void 0!==v&&v.floorCount?At.flatFloors=Bt[null==At?void 0:At.type]?null==At?void 0:At.floorNum:(null==At?void 0:At.floorNum)+" из "+(null==At||null===(Ht=At.section)||void 0===Ht?void 0:Ht.floorCount):At.flatFloors=Bt[null==At?void 0:At.type]?null==At?void 0:At.floorNum:(null==At?void 0:At.floorNum)+" из "+(null==At||null===(Nt=At.houseId)||void 0===Nt?void 0:Nt.floorsCount);At.closestMetroName=null==At||null===(f=At.estateId)||void 0===f||null===(f=f.location)||void 0===f||null===(f=f.metro)||void 0===f?void 0:f.name,At.closestMetroColor=null==At||null===(h=At.estateId)||void 0===h||null===(h=h.location)||void 0===h||null===(h=h.metro)||void 0===h?void 0:h.color,At.closestMetroTime=null==At||null===(_=At.estateId)||void 0===_?void 0:_.timeToMetro,null!=At&&null!==(w=At.houseId)&&void 0!==w&&w.deadline?At.deadline="до "+At.houseId.deadline:null!=At&&null!==(x=At.estateId)&&void 0!==x&&x.deadline?At.deadline="до "+At.estateId.deadline:At.deadline="",null!=At&&null!==(y=At.houseId)&&void 0!==y&&y.settling&&"0"!==At.houseId.settling?At.settling=At.houseId.settling_text:At.settling="Дом сдан",At.balcony=parseInt(null==At?void 0:At.balcony)>0?"Да":"Нет",At.loggia=parseInt(null==At?void 0:At.loggia)>0?"Да":"Нет",At.terrace=parseInt(null==At?void 0:At.terrace)>0?"Да":"Нет",At.finish=At.finish?At.finish:"",null!=At&&null!==(k=At.houseId)&&void 0!==k&&k.coords?At.houseId.coords="M"+At.houseId.coords+"Z":At.houseId.coords="";var Dt=[];"sold"!==At.status&&"office"!==At.type&&Dt.push({label:"Ипотека",code:"mortgage",value:At.mortgagePayment,link:At.mortgageLink}),At.id&&Dt.push({label:"Артикул",code:"article",value:At.id}),Dt.push({label:"Метро",code:"metro",value:null==At?void 0:At.closestMetroName,nearby:{color:null==At?void 0:At.closestMetroColor,title:null==At?void 0:At.closestMetroName,time:null==At?void 0:At.closestMetroTime,type:null==At?void 0:At.estateId.timeToMetroType}},{label:"Корпус",code:"building",value:null==At||null===(C=At.houseId)||void 0===C?void 0:C.number},{label:"Секция",code:"section",value:null==At?void 0:At.sectionNum},{label:"Этаж",code:"level",value:null==At?void 0:At.flatFloors},{label:"Заселение",code:"deadline",value:null==At?void 0:At.deadline}),["office","carplace","storeroom","motoplace"].includes(null==At?void 0:At.type)||Dt.push({label:"Отделка",code:"finish_type",value:null==At?void 0:At.finish}),"office"!==(null==At?void 0:At.type)&&"flat"!==(null==At?void 0:At.type)||Dt.push({label:"Ввод",code:"settling",value:null==At?void 0:At.settling});var Et,Tt,Vt=null==At||null===(P=At.genplan)||void 0===P?void 0:P.filter((function(t){return""!==t.coords})).reduce((function(t,e){var n,o,l,d,c=null!=e&&e.marker?null==e?void 0:e.marker.split(","):[0,0],m=Object(r.a)(c,2),v=m[0],f=m[1],h=!1;(e.number===(null==At||null===(n=At.house)||void 0===n?void 0:n.number)&&(h=!0),t.some((function(t){return t.icon===e.number})))||t.push({icon:e.number,highlighted:h,path:"M".concat(e.coords,"Z"),sectionPath:null==At||null===(o=At.section)||void 0===o?void 0:o.contourCoordinates,coords:{top:"".concat(f/(null==At||null===(l=At.estateId)||void 0===l||null===(l=l.imagePlan)||void 0===l?void 0:l.height)*100,"%"),left:"".concat(v/(null==At||null===(d=At.estateId)||void 0===d||null===(d=d.imagePlan)||void 0===d?void 0:d.width)*100,"%")}});return t}),[]);null!=At&&At.planning&&(Et=JSON.parse(null==At||null===(Tt=At.planning)||void 0===Tt?void 0:Tt.windowsParams));var Rt=zt?"Пентхаус":Ft?"Таунхаус":Bt[null==At?void 0:At.type]?Bt[null==At?void 0:At.type]:0===(null==At?void 0:At.rooms)?"Студия":"office"===(null==At?void 0:At.type)?"коммерческое помещение":"".concat(null==At?void 0:At.rooms,"-комнатная квартира"),Zt="В продаже ".concat(Rt," №").concat(null==At?void 0:At.number," площадью ").concat(null==At?void 0:At.square," м² стоимостью ").concat(Wt(At.price)," ₽ в ЖК ").concat(null==At||null===(I=At.estateId)||void 0===I?void 0:I.name," от застройщика Инград ✓ Этаж: ").concat(null==At?void 0:At.floorNum," ").concat("flat"===(null==At?void 0:At.type)?"✓ ".concat(null==At?void 0:At.finish):""," ✓ ").concat("Дом сдан"===(null==At?void 0:At.settling)?null==At?void 0:At.settling:"Ввод новостройки в эксплуатацию: ".concat(null==At?void 0:At.settling)," ✓ Планировка на сайте"),Yt={advantagesFlats:null==At?void 0:At.advantagesFlats,isRedirect:At.is_flat_of_day,flatSideViews:null==At?void 0:At.sideViews,sideViews:null==At||null===(A=At.section)||void 0===A?void 0:A.sideViews,floorsCoords:null===(j=t.data)||void 0===j||null===(j=j.floor_flats)||void 0===j?void 0:j.map((function(t){var e,n;return{id:Number(t.f__id),status:t.f__status,rooms:Number(t.f__rooms),square:Number(t.f__square),price:Number(t.f__price),path:t.fpa__contour_coordinates,link:"/projects/".concat(null==At||null===(e=At.estateId)||void 0===e?void 0:e.type,"/").concat(null==At||null===(n=At.estateId)||void 0===n?void 0:n.code,"/flats/").concat(t.f__id)}})),dependentFlatsCoords:null==At||null===(S=At.dependentFlats)||void 0===S?void 0:S.map((function(t){return null==t?void 0:t.coordsFloor})),flatsCoords:null==At?void 0:At.coordsFloor,floorImage:null==At?void 0:At.floorImage,mortgage:{estateId:null==At||null===(M=At.estateId)||void 0===M?void 0:M.id,houseId:null==At||null===(z=At.houseId)||void 0===z?void 0:z.id,price:null==At?void 0:At.price},externalId:null==At?void 0:At.externalId,heading:{name:null==At||null===(F=At.estateId)||void 0===F?void 0:F.name,link:"zk-foriver-residense"===(null==At||null===(H=At.estateId)||void 0===H?void 0:H.code)?"https://fr.ingrad.ru":"/projects/".concat(null==At||null===(N=At.estateId)||void 0===N?void 0:N.type,"/").concat(null==At||null===(W=At.estateId)||void 0===W?void 0:W.code)},windowView:null==At?void 0:At.imageWindow,tour:null==At?void 0:At.tourLink,windowLink:null==At?void 0:At.imageWindow,windowsParams:Et,flatHeroImages:[{image:null==At||null===(B=At.planning)||void 0===B?void 0:B.image,active:!(null!=At&&null!==(L=At.planning)&&void 0!==L&&L.imageFurniture)},{image:null==At||null===(D=At.planning)||void 0===D?void 0:D.image3d,active:!1},{image:null==jt?void 0:jt.fp__image,coords:null==jt?void 0:jt.fpa__contour_coordinates,active:!1},{image:null==At||null===(E=At.planning)||void 0===E?void 0:E.imageFurniture,active:!(null==At||null===(T=At.planning)||void 0===T||!T.imageFurniture)},{image:null==At||null===(V=At.planning)||void 0===V?void 0:V.alternatePlanning,active:!(null!=At&&null!==(R=At.planning)&&void 0!==R&&R.alternatePlanning)},{image:null==At||null===(Z=At.estateId)||void 0===Z?void 0:Z.genplanFromTop,active:!1}],listAlternatePlanning:[null==At||null===(Y=At.planning)||void 0===Y?void 0:Y.alternatePlanning,null==At||null===(X=At.planning)||void 0===X?void 0:X.alternatePlanning1,null==At||null===(G=At.planning)||void 0===G?void 0:G.alternatePlanning2].filter((function(t){return!!t})),planOptions:{image:null==At||null===(U=At.estateId)||void 0===U||null===(U=U.imagePlan)||void 0===U?void 0:U.url,panorama:null==At||null===(J=At.estateId)||void 0===J?void 0:J.panorama,list:Vt},galleryWall:Object.values(Object.values(At.finishType)).map((function(t,e){return{tab:{label:null==t?void 0:t.name,value:""},gallery:null==t?void 0:t.images,active:0===e}})),galleryWallSlider:null,galleryWallSliderStart:0,features:Object.values(Object.values(At.advantages)).map((function(t){return{image:null==t?void 0:t.image,title:null==t?void 0:t.name}})),similar:Object.values(Object.values(Ot.listFlats)).map((function(t){var e,n,o,r=Boolean(null==t||null===(e=t.advantagesFlats)||void 0===e?void 0:e.find((function(t){return"Пентхаус"===t.name}))),l=Boolean(null==t||null===(n=t.advantagesFlats)||void 0===n?void 0:n.find((function(t){return"Таунхаус"===t.name})));return r?t.flatName="Пентхаус, ".concat(t.square," м²"):l?t.flatName="Таунхаус, ".concat(t.square," м²"):0===t.rooms?t.flatName="Студия, ".concat(t.square," м²"):Bt[null==At?void 0:At.type]?At.flatName=qt:t.flatName="office"===(null==t?void 0:t.type)?"Помещение ".concat(t.square," м²"):"".concat(t.rooms,"-комнатная ").concat(t.square," м²"),t.price=t.price.toString().replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g,"$1 "),null!==(o=t.planning)&&void 0!==o&&o.image?t.image=t.planning.image:t.image="/",{image:t.image,title:t.flatName,price:t.price+" ₽",link:t.link,externalId:null==t?void 0:t.externalId}})),interesting:Object.values(Object.values(At.interesting)).map((function(t){var e,n;return{title:null==t?void 0:t.title,image:null==t?void 0:t.image,link:null==t?void 0:t.link,offers:{count:null==t||null===(e=t.offers)||void 0===e?void 0:e.count,price:null==t||null===(n=t.offers)||void 0===n?void 0:n.price}}})),roseWind:null==At?void 0:At.roseWind,roseWindFloor:null==At?void 0:At.roseWindFloor,type:null==At?void 0:At.type,floorNumber:null!=At&&null!==(K=At.dependentFlats)&&void 0!==K&&K.length?null==At?void 0:At.dependentFlats.map((function(t){return"".concat(Bt[null==t?void 0:t.type]," №").concat(null==t?void 0:t.number)})).join(", "):"".concat(Bt[null==At?void 0:At.type]," №").concat(null==At?void 0:At.number),housing:{estateId:null==At?void 0:At.estateId,number:null==At||null===(Q=At.houseId)||void 0===Q?void 0:Q.number,link:"office"===(null==At?void 0:At.type)?"/search/offices/?estates=".concat(null==At?void 0:At.estateId.id,"&houses=").concat(null==At||null===(tt=At.houseId)||void 0===tt?void 0:tt.id):"/search/flats/?types=".concat(null==At?void 0:At.type,"&estates=").concat(null==At?void 0:At.estateId.id,"&houses=").concat(null==At||null===(et=At.houseId)||void 0===et?void 0:et.id)},summary:{id:At.id,externalId:At.externalId,title:null==At?void 0:At.flatName,price:null==At?void 0:At.price,isCanReserve:null==At?void 0:At.can_reserve,oldPrice:null==At?void 0:At.priceNoDiscount,list:Dt,type:At.type,listShow:6,project:At.estateId.name,status:At.status,squareCost:At.squareCost,promos:null===(it=JSON.parse(At.promos))||void 0===it?void 0:it.filter((function(t){return t.current&&t.active}))},printPdf:{link:"https://new-api.ingrad.ru/apartment/".concat(At.id,"/pdf?tel="),label:"Скачать PDF",target:!0,isGeneratePhone:!0,icon:"print"},otherMenuList:[{link:"mailto:test@example.com?subject=ГК «Инград» - ".concat(null==At||null===(at=At.estateId)||void 0===at?void 0:at.name).concat("office"!==(null==At?void 0:At.type)?" - Квартира":" - Помещение"," №").concat(null==At?void 0:At.number,"&body=Ссылка на страницу: https://www.ingrad.ru/projects/").concat(null==At||null===(nt=At.estateId)||void 0===nt?void 0:nt.type,"/").concat(null==At||null===(ot=At.estateId)||void 0===ot?void 0:ot.code,"/flats/").concat(At.id),label:"Отправить по e-mail",icon:"email"},{link:"copy",label:"Скопировать ссылку",icon:"link",copy:"https://www.ingrad.ru/projects/".concat(null==At||null===(lt=At.estateId)||void 0===lt?void 0:lt.type,"/").concat(null==At||null===(st=At.estateId)||void 0===st?void 0:st.code,"/flats/").concat(At.id)},{link:"https://wa.me/?text=".concat("https://www.ingrad.ru/projects/".concat(null==At||null===(ct=At.estateId)||void 0===ct?void 0:ct.type,"/").concat(null==At||null===(ut=At.estateId)||void 0===ut?void 0:ut.code,"/flats/").concat(At.id)),label:"WhatsApp",icon:"whatsapp",target:!0},{link:"https://telegram.me/share/url?url=".concat("https://www.ingrad.ru/projects/".concat(null==At||null===(pt=At.estateId)||void 0===pt?void 0:pt.type,"/").concat(null==At||null===(mt=At.estateId)||void 0===mt?void 0:mt.code,"/flats/").concat(At.id)),label:"Telegram",icon:"telegram",target:!0},{link:"https://vk.com/share.php?url=".concat("https://www.ingrad.ru/projects/".concat(null==At||null===(gt=At.estateId)||void 0===gt?void 0:gt.type,"/").concat(null==At||null===(vt=At.estateId)||void 0===vt?void 0:vt.code,"/flats/").concat(At.id)),label:"ВКонтакте",icon:"vkontakte",target:!0},{link:"https://connect.ok.ru/offer?url=".concat("https://www.ingrad.ru/projects/".concat(null==At||null===(ft=At.estateId)||void 0===ft?void 0:ft.type,"/").concat(null==At||null===(ht=At.estateId)||void 0===ht?void 0:ht.code,"/flats/").concat(At.id)),label:"Одноклассники",icon:"odnoklassniki",target:!0}]},Xt=Date.now()-St;d.push("Dur transform: ".concat(Xt,"ms"));var Gt="Коммерческое ".concat(null==At?void 0:At.flatName.replace(/,/g,"").replace(/^[А-Я]/,(function(t){return t.toLowerCase()})));return $($({},Yt),{},{durs:d,description:Zt,head:{title:"".concat("office"===(null==At?void 0:At.type)?Gt:At.flatName.replace(/,|<[^>]*>/g,"").trim()," по цене ").concat(Wt(At.price)," ₽ в ЖК ").concat(null==At||null===(_t=At.estateId)||void 0===_t?void 0:_t.name," - купить у застройщика Ingrad"),meta:[{name:"description",content:Zt},{name:"og:title",content:"".concat(At.flatName.replace(/<[^>]*>/g,"").trim())},{name:"og:image",content:(null==At||null===(bt=At.planning)||void 0===bt?void 0:bt.image)||(null==At||null===(wt=At.planning)||void 0===wt?void 0:wt.imageFurniture)||"https://www.ingrad.ru/logo.jpg"},{name:"og:description",content:"В продаже ".concat(0===(null==At?void 0:At.rooms)?"Студия":"office"===(null==At?void 0:At.type)?"коммерческое помещение":"".concat(null!=At&&At.rooms?(null==At?void 0:At.rooms)-"комнатная квартира":Bt[null==At?void 0:At.type])," №").concat(null==At?void 0:At.number," площадью ").concat(null==At?void 0:At.square," м² стоимостью ").concat(Wt(At.price)," ₽ в ЖК ").concat(null==At||null===(xt=At.estateId)||void 0===xt?void 0:xt.name," от застройщика Инград ✓ Этаж: ").concat(null==At?void 0:At.floorNum," ").concat("flat"===(null==At?void 0:At.type)?"✓ ".concat(null==At?void 0:At.finish):""," ✓ ").concat("Дом сдан"===(null==At?void 0:At.settling)?null==At?void 0:At.settling:"Ввод новостройки в эксплуатацию: ".concat(null==At?void 0:At.settling)," ✓ Планировка на сайте")},{name:"og:url",content:"https://www.ingrad.ru/projects/".concat(null==At||null===(yt=At.estateId)||void 0===yt?void 0:yt.type,"/").concat(null==At||null===(kt=At.estateId)||void 0===kt?void 0:kt.code,"/flats/").concat(At.id)},{name:"og:type",content:"website"}],link:[{rel:"canonical",href:"https://www.ingrad.ru/projects/".concat(null==At||null===(Ct=At.estateId)||void 0===Ct?void 0:Ct.type,"/").concat(null==At||null===(Pt=At.estateId)||void 0===Pt?void 0:Pt.code,"/flats/").concat(At.id)}]}})})).catch((function(t){o({statusCode:404,message:"Page not found"})}))},data:function(){return{detailPlanKey:0,isAlternatePlanning:!1,isViewFromWindow:!1,isFloorPlanning:!1,listAlternatePlanning:[],durs:[]}},head:function(){return this.head},computed:$($({},Object(v.b)({isMagnifyingOpened:"popup-magnifying/isOpened"})),{},{roseWindStyle:function(){return{transform:"rotate(".concat(this.roseWind||0,"deg)")}},roseWindFloorStyle:function(){return{transform:"rotate(".concat(this.roseWindFloor||0,"deg)")}},wallTabs:function(){return this.galleryWall.map((function(t){return $($({},t.tab),{},{isActive:t.active})}))},tabsActiveSlider:function(){return this.galleryWall.filter((function(t){return t.active}))[0].gallery},tabsActiveWall:function(){return this.tabsActiveSlider.filter((function(t,e){return e<3}))},tabsActiveOther:function(){return this.tabsActiveSlider.length-3},heroImageActive:function(){return this.flatHeroImages.filter((function(t){return t.active}))[0]},views:function(){return this.flatSideViews.length?Object(H.a)(this.flatSideViews):{}},isStoring:function(){return"carplace"===this.type||"storeroom"===this.type||"motoplace"===this.type},activeImage:function(){var t;return this.isStoring?this.floorImage:null===(t=this.heroImageActive)||void 0===t?void 0:t.image},activeCoords:function(){var t;return this.isStoring?this.flatsCoords:null===(t=this.heroImageActive)||void 0===t?void 0:t.coords}}),mounted:function(){var t=this;if(console.log(this.durs),this.isRedirect){var e=this;setTimeout((function(){e.$nuxt.$router.replace({path:"/kvartira_dnya"})}),1)}if(window.addEventListener("popstate",(function(e){t.$store.commit("popstate/SET_POPSTATE",!0)})),window.matchMedia("(max-width: 767px)").addListener((function(){t.forceRerender()})),this.listAlternatePlanning.length>1){l.a.use([d.a,c.a,m.a]);var n=new l.a(this.$refs.slider,{init:!1,slidesPerView:1,spaceBetween:0,speed:1e3,effect:"slide",loop:!0,watchOverflow:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadOnTransitionStart:!0},navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},pagination:{el:".swiper-pagination",type:"bullets"}});setTimeout((function(){n.init()}),0)}},methods:$($({},Object(v.c)({openModal:"modal/OPEN_MODAL",openMagnifying:"popup-magnifying/OPEN_MAGNIFYING_MODAL"})),{},{enlargeImage:function(){this.openMagnifying()},onTabSelectHandler:function(t){this.galleryWall.forEach((function(e){e.active=e.tab.label===t.label}))},onWallModalHandler:function(t){this.galleryWallSlider=this.tabsActiveSlider.map((function(t){return{image:t}})),this.galleryWallSliderStart=t,this.openModal({id:"modal_wall-gallery"})},onChangeHeroImage:function(t){this.isAlternatePlanning=4===t,this.isViewFromWindow=5===t,this.isFloorPlanning=2===t,this.flatHeroImages.forEach((function(e,n){e.active=n===t}))},forceRerender:function(){this.detailPlanKey+=1},onImageClick:function(img){this.flatHeroImages[5].image=img,this.enlargeImage()}})},D=(n(1377),n(3)),component=Object(D.a)(L,(function(){var t,e,n,o,r,l,d,c,m,v,f,h,_,w=this,x=w._self._c;return x("div",{staticClass:"page page_flat_detail",attrs:{itemscope:"",itemtype:"http://schema.org/Product"}},[x("AppPageHeading",{attrs:{project:w.heading,type:w.type,floor:w.floorNumber,housing:w.housing}}),w._v(" "),x("AppSection",{attrs:{"offset-top":"xs","offset-bottom":"l"}},[x("div",{staticClass:"grid grid_detail"},[x("div",{staticClass:"grid__column"},[x("AppSection",{staticClass:"product-media-section",attrs:{variant:["bottom-small"],"offset-top":"xs","offset-bottom":"xs"}},[x("div",{staticClass:"product-media"},[null!==(t=w.flatHeroImages)&&void 0!==t&&null!==(t=t.filter((function(t){return null==t?void 0:t.image})))&&void 0!==t&&t.length&&!w.isStoring?x("div",{staticClass:"product-media__controls"},[x("div",{staticClass:"product-media__trigger"},[w.flatHeroImages[0]&&w.flatHeroImages[0].image?x("AppButton",{staticClass:"product-media__trigger-item",attrs:{variant:null!==(e=w.flatHeroImages[0])&&void 0!==e&&e.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(0)}}},[w._v("\n\t\t\t\t\t\t\t\t\tПланировка\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),w.flatHeroImages[3]&&w.flatHeroImages[3].image?x("AppButton",{staticClass:"product-media__trigger-item",attrs:{variant:null!==(n=w.flatHeroImages[3])&&void 0!==n&&n.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(3)}}},[w._v("\n\t\t\t\t\t\t\t\t\tС мебелью\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),w.flatHeroImages[4]&&w.flatHeroImages[4].image?x("AppButton",{staticClass:"product-media__buttons-item",attrs:{variant:null!==(o=w.flatHeroImages[4])&&void 0!==o&&o.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(4)}}},[w._v("\n\t\t\t\t\t\t\t\t\tАльтернативная планировка\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),w.flatHeroImages[2]&&w.flatHeroImages[2].image?x("AppButton",{staticClass:"product-media__buttons-item",attrs:{variant:null!==(r=w.flatHeroImages[2])&&void 0!==r&&r.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(2)}}},[w._v("\n\t\t\t\t\t\t\t\t\tПлан этажа\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),w.flatHeroImages[1]&&w.flatHeroImages[1].image?x("AppButton",{staticClass:"product-media__trigger-item",attrs:{variant:null!==(l=w.flatHeroImages[1])&&void 0!==l&&l.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(1)}}},[w._v("\n\t\t\t\t\t\t\t\t\t3D\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),!w.windowLink&&w.flatHeroImages[5].image&&null!==(d=w.windowsParams)&&void 0!==d&&d.length?x("AppButton",{staticClass:"product-media__trigger-item",attrs:{variant:null!==(c=w.flatHeroImages[5])&&void 0!==c&&c.active?"light":"secondary",size:"medium"},on:{click:function(t){return w.onChangeHeroImage(5)}}},[w._v("\n\t\t\t\t\t\t\t\t\tВид из окна\n\t\t\t\t\t\t\t\t")]):w._e()],1),w._v(" "),x("div",{staticClass:"product-media__buttons"},[w.windowLink&&""!=w.windowLink?x("AppButton",{staticClass:"product-media__buttons-item",attrs:{variant:"secondary",size:"medium",href:w.windowLink,target:"_blank"}},[w._v("\n\t\t\t\t\t\t\t\t\tВид из окна\n\t\t\t\t\t\t\t\t")]):w._e(),w._v(" "),w.tour&&""!=w.tour?x("AppButton",{staticClass:"product-media__buttons-item",attrs:{variant:"secondary",size:"medium",href:w.tour,target:"_blank"}},[w._v("\n\t\t\t\t\t\t\t\t\t3D-тур\n\t\t\t\t\t\t\t\t")]):w._e()],1)]):w._e(),w._v(" "),null!==(m=w.flatHeroImages)&&void 0!==m&&null!==(m=m.filter((function(t){return null==t?void 0:t.image})))&&void 0!==m&&m.length||w.isStoring?x("div",{staticClass:"product-media__content",class:w.isStoring?"product-media__content_storing":""},[x("button",{directives:[{name:"show",rawName:"v-show",value:!w.isAlternatePlanning,expression:"!isAlternatePlanning"}],staticClass:"product-media__magnifying",attrs:{type:"button"},on:{click:function(t){return w.enlargeImage()}}},[x("AppIcon",{attrs:{id:"magnifying-glass",width:18,height:18}})],1),w._v(" "),!Object.keys(w.views).length||w.isAlternatePlanning||w.isViewFromWindow||w.isFloorPlanning?w._e():x("AppSideViews",{attrs:{views:w.views}}),w._v(" "),x("img",{directives:[{name:"show",rawName:"v-show",value:!(w.isAlternatePlanning||w.isViewFromWindow||w.isFloorPlanning||w.isStoring),expression:"!isAlternatePlanning && !isViewFromWindow && !isFloorPlanning && !isStoring"}],ref:"productImage",staticClass:"product-media__image",attrs:{src:w.heroImageActive.image,alt:"",itemprop:"image"},on:{click:function(t){return w.enlargeImage()}}}),w._v(" "),w.windowsParams&&w.windowsParams.length&&w.flatHeroImages[5].active?x("div",{staticClass:"product-media__windows-view"},[x("AppWindowPlan",{directives:[{name:"show",rawName:"v-show",value:w.isViewFromWindow,expression:"isViewFromWindow"}],attrs:{"view-data":w.windowsParams,image:null===(v=w.flatHeroImages[5])||void 0===v?void 0:v.image}})],1):w._e(),w._v(" "),null!==(f=w.flatHeroImages[2])&&void 0!==f&&f.image&&w.flatHeroImages[2].active&&w.isFloorPlanning?x("AppFloorPlan",{staticClass:"product-media__floor-plan",attrs:{image:w.flatHeroImages[2].image,coords:null===(h=w.flatHeroImages[2])||void 0===h?void 0:h.coords,"side-views":w.sideViews,"floors-coords":w.floorsCoords}}):w._e(),w._v(" "),w.listAlternatePlanning.length?x("div",{staticClass:"slider",class:{"product-media__slider_active":w.isAlternatePlanning}},[x("div",{ref:"slider",staticClass:"swiper-container product-media__swiper"},[x("div",{directives:[{name:"show",rawName:"v-show",value:w.isAlternatePlanning,expression:"isAlternatePlanning"}],staticClass:"swiper-wrapper"},w._l(w.listAlternatePlanning,(function(t,e){return x("div",{key:"altPlaning_".concat(e),staticClass:"swiper-slide product-media__slide"},[x("img",{staticClass:"product-media__image product-media__image_alernate",attrs:{src:t,alt:"",itemprop:"image"}})])})),0),w._v(" "),w.listAlternatePlanning.length>1?x("div",{staticClass:"slider__controls"},[x("div",{staticClass:"product-media__slider-arrows slider__arrows"},[x("div",{staticClass:"swiper-button-prev slider__arrow slider__arrow_prev"},[x("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1),w._v(" "),x("div",{staticClass:"swiper-button-next slider__arrow slider__arrow_next"},[x("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1)]),w._v(" "),x("div",{staticClass:"swiper-pagination product-media__slider-pagination"})]):w._e()])]):w._e(),w._v(" "),w.isStoring&&w.floorImage?x("AppStoringPlan",{staticClass:"product-media__floor-plan",attrs:{image:w.floorImage,coords:w.flatsCoords,"dependent-coords":w.dependentFlatsCoords}}):w._e(),w._v(" "),Object.keys(w.printPdf).length?x("AppButton",{staticClass:"product-media__print",class:{"js-generate_phone":w.printPdf.isGeneratePhone},attrs:{href:w.printPdf.link,target:null!==(_=w.printPdf)&&void 0!==_&&_.target?"_blank":"",size:"medium",appearance:"ghost",variant:"secondary",title:w.printPdf.label}},[x("AppIcon",{attrs:{id:w.printPdf.icon,width:24,height:24}})],1):w._e(),w._v(" "),x("AppOtherMenu",{staticClass:"product-media__other-menu",attrs:{list:w.otherMenuList,type:"share"}}),w._v(" "),x("AppFavorite",{staticClass:"product-media__favorite",attrs:{"external-id":w.externalId}}),w._v(" "),(w.flatHeroImages[0]&&w.flatHeroImages[0].active||w.flatHeroImages[4]&&w.flatHeroImages[4].active||w.flatHeroImages[3]&&w.flatHeroImages[3].active)&&null!=w.roseWind?x("div",{staticClass:"product-media__rosewind"},[x("div",{style:w.roseWindStyle},[x("img",{attrs:{src:"/img/rose-wild.svg",alt:""}})])]):w._e(),w._v(" "),w.flatHeroImages[2].active&&null!=w.roseWindFloor?x("div",{staticClass:"product-media__rosewind"},[x("div",{style:w.roseWindFloorStyle},[x("img",{attrs:{src:"/img/rose-wild.svg",alt:""}})])]):w._e()],1):w._e()])]),w._v(" "),x("AppCardSummary",{attrs:{data:w.summary,mobile:!0}}),w._v(" "),x("p",{directives:[{name:"dompurify-html",rawName:"v-dompurify-html",value:w.description,expression:"description"}],staticClass:"visually-hidden",attrs:{itemprop:"description"}}),w._v(" "),w.advantagesFlats&&w.advantagesFlats[0]&&!w.isStoring?x("AppSection",{attrs:{variant:["bottom-small","negative-margins"],"offset-top":"xs","offset-bottom":"xs"}},[x("div",{staticClass:"heading heading_small"},[x("div",{staticClass:"heading__title"},[x("h2",[w._v("В этой квартире")])])]),w._v(" "),x("AppFeaturesFlats",{attrs:{list:w.advantagesFlats}})],1):w._e(),w._v(" "),w.planOptions&&w.planOptions.image&&!w.isStoring?x("AppSection",{attrs:{variant:["bottom-small","negative-margins"],"offset-top":"xs","offset-bottom":"xs"}},[x("div",{staticClass:"heading heading_small"},[x("div",{staticClass:"heading__title"},[x("h2",[w._v("Генеральный план")])])]),w._v(" "),x("div",{staticClass:"media-frame"},[x("AppMarkersPlan",{key:w.detailPlanKey,attrs:{image:w.planOptions.image,markers:w.planOptions.list,"is-static":!0}}),w._v(" "),w.planOptions.panorama?x("AppButton",{staticClass:"media-frame__control",attrs:{variant:"light",size:"medium",appearance:"base",icon:"panorama",shadow:!0},on:{click:function(t){return w.openModal({id:"modal_panorama"})}}},[w._v("\n\t\t\t\t\t\t\tПанорама\n\t\t\t\t\t\t")]):w._e()],1)]):w._e(),w._v(" "),"sold"===w.summary.status||"office"===w.type||w.isStoring?w._e():x("AppBlockMortgage",{attrs:{settings:{marginTop:"xs",marginBottom:"xs",bottomSmall:!0,negativeMargins:!0},"mortgage-props":w.mortgage,cols:"cols2"}})],1),w._v(" "),x("div",{staticClass:"grid__column"},[x("AppCardSummary",{attrs:{data:w.summary}})],1)])]),w._v(" "),w.interesting&&w.interesting[0]&&!w.isStoring?x("AppSection",{attrs:{"offset-top":"xs","offset-bottom":w.similar&&w.similar[0]?"xs":"xl"}},[x("div",{staticClass:"heading heading_small"},[x("div",{staticClass:"heading__title"},[x("h2",[w._v("Может быть интересно")])])]),w._v(" "),x("div",{staticClass:"detail-interesting"},w._l(w.interesting,(function(t,e){return x("AppCardInteresting",{key:e,attrs:{title:t.title,image:t.image,offers:t.offers,link:t.link}})})),1)]):w._e(),w._v(" "),w.similar&&w.similar[0]&&!w.isStoring?x("AppSection",{attrs:{variant:"hidden","offset-top":"xs","offset-bottom":"xl"}},[x("div",{staticClass:"heading heading_small"},[x("div",{staticClass:"heading__title"},[x("h2",[w._v("Похожие планировки")])])]),w._v(" "),x("AppProductSlider",{attrs:{list:w.similar}})],1):w._e(),w._v(" "),x("AppModal",{staticClass:"modal_panorama",attrs:{id:"modal_panorama"}},[x("iframe",{attrs:{src:w.planOptions.panorama,width:"100%",height:"100%",allowfullscreen:"",title:"panorama"}})]),w._v(" "),w.isMagnifyingOpened&&w.activeImage?x("AppMagnifyingBlind",{attrs:{image:w.activeImage,coords:w.activeCoords,"dependent-coords":w.dependentFlatsCoords,"flat-hero-images":w.flatHeroImages,"view-data":w.windowsParams,"flat-side-views":w.views,"side-views":w.sideViews,"floors-coords":w.floorsCoords,"rose-wind":(w.flatHeroImages[0]&&w.flatHeroImages[0].active||w.flatHeroImages[4]&&w.flatHeroImages[4].active||w.flatHeroImages[3]&&w.flatHeroImages[3].active)&&null!=w.roseWind?w.roseWindStyle:w.flatHeroImages[2].active&&null!=w.roseWindFloor?w.roseWindFloorStyle:{},"default-zoom":w.flatHeroImages[2].active?.6:.8,"is-storing":w.isStoring}}):w._e()],1)}),[],!1,null,null,null);e.default=component.exports},692:function(t,e,n){"use strict";var o={components:{AppSection:n(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 t,e,n,o,r=[];return null!==(t=this.settings)&&void 0!==t&&t.blockRound&&r.push("rounded"),null!==(e=this.settings)&&void 0!==e&&e.withBorder&&r.push("with-border"),null!==(n=this.settings)&&void 0!==n&&n.bottomSmall&&r.push("bottom-small"),null!==(o=this.settings)&&void 0!==o&&o.negativeMargins&&r.push("negative-margins"),r}}};e.a=o},693:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"sort";return function(a,b){return a[t]-b[t]}}},700:function(t,e,n){var content=n(713);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("6ee66208",content,!0,{sourceMap:!1})},705:function(t,e,n){"use strict";n.r(e);var o=n(6),r=(n(54),n(8)),l=n(48),d=(n(55),n(27)),c=n(15),m={name:"AppOtherMenu",components:{AppButton:d.default,AppIcon:c.default},props:{list:{type:Array,required:!0},size:{type:String,default:"medium"},type:{type:String,default:"burger"},isPositionLeft:{type:Boolean,default:!1},variant:{type:String,default:"secondary"},appearance:{type:String,default:"ghost"},isNotRounded:{type:Boolean,default:!1}},data:function(){return{isActive:!1,cacheList:Object(l.a)(this.list)}},mounted:function(){document.addEventListener("click",this.onClickOutsideHandler),document.addEventListener("click",this.onClickPhoneGenerateLink)},beforeDestroy:function(){document.removeEventListener("click",this.onClickOutsideHandler),document.removeEventListener("click",this.onClickPhoneGenerateLink)},methods:{onClickOutsideHandler:function(t){t.target.closest(".other-menu")!==this.$refs.otherMenu&&(this.isActive=!1)},onClickPhoneGenerateLink:function(t){if(t.stopImmediatePropagation(),t.target.closest(".js-generate_phone")){var e=document.querySelector(".phone__number").innerText;t.target.href=t.target.href+e}},onReplaceList:function(t){this.cacheList=t},onCopy:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(t);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})))()}}},v=(n(712),n(3)),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("div",{ref:"otherMenu",staticClass:"other-menu"},["small"===t.size?e("button",{staticClass:"other-menu__more",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.isActive=!t.isActive}}},[e("AppIcon",{attrs:{id:t.type,width:16,height:16}})],1):e("AppButton",{staticClass:"other-menu__control",class:Object(o.a)(Object(o.a)({"other-menu__control_active":t.isActive},"other-menu__control_".concat(t.type),t.type.length),"other-menu__control_not-rounded",t.isNotRounded),attrs:{size:"medium",appearance:t.appearance,variant:t.variant},on:{click:function(e){e.preventDefault(),t.isActive=!t.isActive}}},[e("AppIcon",{attrs:{id:t.type,width:24,height:24}})],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"other-menu__wrapper",class:{"other-menu__wrapper_left":t.isPositionLeft}},[e("ul",{staticClass:"other-menu__list"},[t._l(t.cacheList,(function(n,o){var r;return[null!=n&&null!==(r=n.list)&&void 0!==r&&r.length?e("li",{key:"other-menu_".concat(o)},[e("button",{staticClass:"other-menu__link other-menu__link_share",attrs:{type:"button"},on:{click:function(e){return t.onReplaceList(n.list)}}},[t._v("\n              "+t._s(n.label)+"\n              "),e("AppIcon",{attrs:{id:n.icon}})],1)]):e("li",{key:"other-menu_".concat(o),staticClass:"other-menu__item"},["copy"!==n.link&&"back"!==n.link?e("a",{staticClass:"other-menu__link",class:{"js-generate_phone":n.isGeneratePhone},attrs:{href:n.link,target:null!=n&&n.target?"_blank":""}},[n.icon?e("AppIcon",{attrs:{id:n.icon}}):t._e(),t._v("\n              "+t._s(n.label)+"\n            ")],1):t._e(),t._v(" "),"back"===n.link?e("button",{staticClass:"other-menu__link other-menu__link_back",attrs:{type:"button"},on:{click:function(e){return t.onReplaceList(t.list)}}},[e("AppIcon",{attrs:{id:n.icon}}),t._v("\n              "+t._s(n.label)+"\n            ")],1):t._e(),t._v(" "),"copy"===n.link?e("button",{staticClass:"other-menu__link other-menu__link_copy",attrs:{type:"button"},on:{click:function(e){return t.onCopy(n.copy)}}},[e("AppIcon",{attrs:{id:n.icon}}),t._v("\n              "+t._s(n.label)+"\n            ")],1):t._e()])]}))],2)])],1)}),[],!1,null,null,null);e.default=component.exports},706:function(t,e,n){var content=n(763);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("7e37742e",content,!0,{sourceMap:!1})},712:function(t,e,n){"use strict";n(700)},713:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".other-menu{position:relative;z-index:3}.other-menu:only-child{margin:0 auto}.other-menu__control{background-color:var(--color-white);border:none;border-radius:50%;box-shadow:0 .02rem .05rem rgba(0,0,0,.04),0 .02rem .04rem rgba(0,0,0,.06),0 -.005rem .03rem rgba(0,0,0,.08)}.other-menu__control:hover svg{color:var(--color-white-hover)}.other-menu__control svg{color:var(--color-black);margin:-.01rem -.06rem;transform:translateX(-.01rem);transition:var(--transition-duration)}.other-menu__control_burger{transform:rotate(90deg)}.other-menu__control_burger svg{transform:translateX(0)}.other-menu__control_share svg{stroke:var(--color-black);stroke-width:.5px}.other-menu__control_not-rounded{background-color:transparent;border:1px solid;border-radius:.12rem;box-shadow:none;height:100%;padding-left:.22rem;padding-right:.22rem}@media screen and (max-width:767px){.other-menu__control_not-rounded{padding-left:.18rem;padding-right:.18rem}}.other-menu__control_not-rounded svg{stroke:var(--color-white);color:var(--color-white)}.other-menu__control_not-rounded.other-menu__control_active{background-color:var(--color-white)}.other-menu__control_not-rounded.other-menu__control_active svg{color:var(--color-black)}.other-menu__control_active{background-color:var(--color-secondary-60)}.other-menu__control_active svg{color:var(--color-white)}.other-menu__wrapper{background-color:var(--color-white);border-radius:.12rem;box-shadow:var(--shadow-high);font-size:.14rem;line-height:.2rem;position:absolute;right:0;top:120%;width:2.1rem;z-index:2}.other-menu__wrapper_left{right:120%;top:0}.other-menu__list{list-style-type:none;margin:0;padding:.08rem 0}.other-menu__link{align-items:center;background-color:transparent;border:none;box-shadow:none;color:var(--color-black);-moz-column-gap:.08rem;column-gap:.08rem;cursor:pointer;display:flex;outline:none;padding:.12rem .16rem;transition:var(--transition-duration);width:100%}.other-menu__link svg{color:var(--color-secondary-80);fill:var(--color-secondary-80);transition:var(--transition-duration)}.other-menu__link:hover{color:rgba(0,0,0,.5)}.other-menu__link:hover svg{color:var(--color-secondary-60);fill:var(--color-secondary-60)}.other-menu__link:active{color:rgba(0,0,0,.5)}.other-menu__link:active svg{color:var(--color-secondary-60);fill:var(--color-secondary-60)}.other-menu__link_share{border-bottom:1px solid var(--color-secondary-50);justify-content:space-between}.other-menu__link_back,.other-menu__link_back svg{color:var(--color-secondary-60)}.other-menu__link_back svg{transform:rotate(180deg);fill:var(--color-secondary-60)}.other-menu__link_copy{border-bottom:1px solid var(--color-secondary-50);border-top:1px solid var(--color-secondary-50)}.other-menu__more{background-color:transparent;border:0;display:block;padding:0}.other-menu__more:hover{opacity:.6}",""]),o.locals={},t.exports=o},721:function(t,e,n){var content=n(842);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("69601770",content,!0,{sourceMap:!1})},727:function(t,e,n){var content=n(850);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("738132fc",content,!0,{sourceMap:!1})},738:function(t,e,n){var content=n(867);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("35ed0a44",content,!0,{sourceMap:!1})},740:function(t,e,n){var content=n(871);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("ca9f183c",content,!0,{sourceMap:!1})},754:function(t,e,n){var content=n(900);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("09b79cc8",content,!0,{sourceMap:!1})},759:function(t,e,n){"use strict";n.r(e);n(56),n(33),n(64),n(20),n(21),n(29),n(30),n(22),n(11),n(23);var o=n(8),r=n(6),l=(n(55),n(27)),d=n(66),c=n(15);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={name:"AppFormBankRequest",components:{AppField:n(92).default,AppIcon:c.default,AppPhone:d.default,AppButton:l.default},props:{info:{type:Object,default:void 0}},data:function(){return{name:"",tel:"",errors:[],submitted:!1,phone:"+7 (495) 236 74 23"}},computed:{formData:function(){return{name:this.name,tel:this.tel,info:v({type:"mortgage_small",page:this.$route.path},this.info)}}},methods:{onSubmitHandler:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.errors=[],t.name||t.errors.push("name"),t.tel||t.errors.push("tel"),!(t.errors.length>0)){e.next=5;break}return e.abrupt("return",!1);case 5:return e.prev=5,e.next=8,t.$axios.post("/api/callback",t.formData);case 8:200===(null==(n=e.sent)?void 0:n.status)&&(t.errors=[],t.submitted=!0),e.next=14;break;case 12:e.prev=12,e.t0=e.catch(5);case 14:case"end":return e.stop()}}),e,null,[[5,12]])})))()}}},h=(n(849),n(3)),component=Object(h.a)(f,(function(){var t=this,e=t._self._c;return e("form",{staticClass:"form form_consult",on:{submit:function(e){return e.preventDefault(),t.onSubmitHandler.apply(null,arguments)}}},[t._m(0),t._v(" "),e("div",{staticClass:"form__body"},[e("div",{staticClass:"form__fieldset"},[e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppField",{attrs:{placeholder:"Ваше имя",size:"large",variant:"light",error:t.errors.includes("name")},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1)]),t._v(" "),e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppField",{attrs:{placeholder:"Телефон",size:"large",variant:"light",error:t.errors.includes("tel")},model:{value:t.tel,callback:function(e){t.tel=e},expression:"tel"}})],1)]),t._v(" "),e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppButton",{staticClass:"form__submit",attrs:{appearance:"base",size:"large",variant:"primary",disabled:t.submitted}},[t._v("\n\t\t\t\t\t\t"+t._s(t.submitted?"Отправлено":"Отправить")+"\n\t\t\t\t\t")])],1)])])]),t._v(" "),e("div",{staticClass:"form__footer"},[e("div",{staticClass:"form__phone"},[e("AppIcon",{attrs:{id:"phone"}}),t._v(" "),e("AppPhone",{attrs:{phone:t.phone}})],1),t._v(" "),t._m(1)])])}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"form__header"},[e("h2",{staticClass:"form__title"},[t._v("Отправить заявку")]),t._v(" "),e("p",[t._v("Наш менеджер свяжется с вами в ближайшее время.")])])},function(){var t=this,e=t._self._c;return e("p",[t._v("\n\t\t\tНажимая кнопку «Получить консультацию», вы подтверждаете свое\n\t\t\t"),e("a",{attrs:{href:"/politika_konfedentsialnosti/"}},[t._v("согласие")]),t._v(" на "),e("a",{attrs:{href:"/politika_obrabotki_personalnyh_dannyh/"}},[t._v("обработку персональных данных")])])}],!1,null,"7db48d5a",null);e.default=component.exports},762:function(t,e,n){"use strict";n(706)},763:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".bank-labels{margin-right:-.21rem;max-height:6.2rem;overflow-y:auto;padding-right:.21rem}@media screen and (max-width:767px){.bank-labels{margin-right:0;max-height:none;padding-right:0}}.bank-labels__holder{display:grid;grid-template-columns:repeat(3,1fr);grid-column-gap:var(--gap-xs);grid-row-gap:var(--gap-xxs)}.bank-labels__holder>*{min-height:1px;min-width:1px}@media screen and (max-width:1439px){.bank-labels__holder{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:1023px){.bank-labels__holder{grid-template-columns:1fr}}@media screen and (max-width:767px){.bank-labels__holder{grid-row-gap:var(--gap-xxs)}}.bank-labels_variant_cols2 .bank-labels__holder{grid-template-columns:repeat(2,1fr)}@media screen and (max-width:1023px){.bank-labels_variant_cols2 .bank-labels__holder{grid-template-columns:1fr}}.bank-checkbox{cursor:pointer;position:relative}.bank-checkbox input{height:0;left:0;overflow:hidden;position:absolute;top:0;visibility:hidden;width:0}.bank-checkbox input:checked+.bank-checkbox__card{background-color:#fff3cc;border-color:rgba(255,207,51,.2)}.bank-checkbox input:checked+.bank-checkbox__card .bank-checkbox__logo{filter:grayscale(0)}.bank-checkbox input:checked+.bank-checkbox__card .bank-checkbox__check{background-color:var(--color-primary);border-color:var(--color-primary)}.bank-checkbox input:checked+.bank-checkbox__card .bank-checkbox__check svg{opacity:1}.bank-checkbox__card{border:1px solid var(--color-border);border-radius:.24rem;display:flex;flex-direction:column;flex-wrap:wrap;height:100%;justify-content:space-between;min-height:1.92rem;padding:var(--gap-s) var(--gap-xs);transition:background-color .25s,border-color .25s}.bank-checkbox__card>*{min-height:1px;min-width:1px}@media screen and (max-width:767px){.bank-checkbox__card{min-height:1.4rem;padding-bottom:var(--gap-xxs);padding-right:var(--gap-xxs);padding-top:.2rem}}.bank-checkbox__heading{align-items:flex-start;display:flex;flex-wrap:wrap;flex-wrap:nowrap;margin-bottom:var(--gap-xxs)}.bank-checkbox__heading>*{min-height:1px;min-width:1px}.bank-checkbox__logo{border-radius:50%;display:block;filter:grayscale(100%);flex:none;height:.32rem;overflow:hidden;transition:var(--transition-duration);width:.32rem}.bank-checkbox__logo img{display:block}.bank-checkbox:hover .bank-checkbox__card{background-color:var(--color-secondary-20)}.bank-checkbox:hover .bank-checkbox__logo{filter:grayscale(0)}.bank-checkbox__title{display:block;flex:1;font-weight:600;padding:calc(var(--gap-xxxs)/2) 0 0 .12rem}.bank-checkbox__check{align-items:center;background-color:#fcfcfc;border:.01rem solid #dfe1e2;border-radius:.05rem;display:none;flex:none;height:.2rem;justify-content:center;margin-top:.06rem;transition-duration:var(--transition-duration);transition-property:border-color,background-color;width:.2rem}.bank-checkbox__check svg{flex:none;opacity:0;transition:opacity var(--transition-duration)}@media screen and (max-width:767px){.bank-checkbox__check{display:flex}}.bank-checkbox__info{display:block;margin:calc(var(--gap-negative-xxxs)/2) 0}.bank-checkbox__info+.bank-checkbox__info{margin-top:.24rem}@media screen and (max-width:767px){.bank-checkbox__info{align-items:flex-end;display:flex;flex-wrap:wrap;justify-content:space-between}.bank-checkbox__info>*{min-height:1px;min-width:1px}}.bank-checkbox__label{color:var(--color-fade);display:block;font-size:.12rem;letter-spacing:.025em;line-height:1.3333333333}@media screen and (max-width:767px){.bank-checkbox__label{flex:none;width:100%}}.bank-checkbox__percent{display:block;font-size:.24rem;font-weight:600;line-height:1.3333333333}@media screen and (max-width:600px){.bank-checkbox__percent{font-size:.2rem;line-height:1.2}}@media screen and (max-width:767px){.bank-checkbox__percent{flex:none;font-size:.32rem;font-weight:600;line-height:1.25}}@media screen and (max-width:767px)and (max-width:600px){.bank-checkbox__percent{font-size:.24rem;line-height:1.3333333333}}.bank-checkbox__month{display:block;font-size:.16rem;font-weight:600;line-height:1.5}@media screen and (max-width:767px){.bank-checkbox__month{flex:none;font-size:.14rem;line-height:1.4285714286;padding-bottom:.03rem}}",""]),o.locals={},t.exports=o},780:function(t,e,n){var content=n(1004);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("200fc3fc",content,!0,{sourceMap:!1})},789:function(t,e,n){"use strict";n.r(e);n(33),n(20),n(29),n(30),n(22),n(23);var o=n(6),r=(n(21),n(37),n(11),n(231));function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var c={name:"AppCardBankCheckbox",components:{AppIcon:n(15).default},props:{list:{type:Array,required:!0},variant:{type:[String,Array],default:"default"}},data:function(){return{banks:[]}},computed:{classNames:function(){return["bank-labels",Array.isArray(this.variant)?this.variant.map((function(t){return"bank-labels_variant_".concat(t)})):"bank-labels_variant_".concat(this.variant)]}},watch:{list:function(t){this.banks=t.map((function(t){return d(d({},t),{},{selected:!1})})),this.$emit("onChange",[])}},mounted:function(){new r.a(this.$refs.bankLabels),this.banks=this.list.map((function(t){return d(d({},t),{},{selected:!1})}))},methods:{onChangeHandler:function(t){t.selected=!t.selected,this.$emit("onChange",this.banks.filter((function(t){return t.selected})))}}},m=(n(762),n(3)),component=Object(m.a)(c,(function(){var t=this,e=t._self._c;return e("div",{ref:"bankLabels",class:t.classNames},[e("div",{staticClass:"bank-labels__holder"},t._l(t.banks,(function(n,o){return e("label",{key:o,staticClass:"bank-checkbox"},[e("input",{attrs:{type:"checkbox"},domProps:{value:n.value,checked:n.selected},on:{change:function(e){return t.onChangeHandler(n)}}}),t._v(" "),e("span",{staticClass:"bank-checkbox__card"},[e("span",{staticClass:"bank-checkbox__heading"},[e("span",{staticClass:"bank-checkbox__logo"},[e("img",{attrs:{src:n.logo,alt:n.name}})]),t._v(" "),e("span",{staticClass:"bank-checkbox__title"},[t._v(t._s(n.name))]),t._v(" "),e("span",{staticClass:"bank-checkbox__check"},[e("AppIcon",{attrs:{id:"checkbox",width:10,height:7}})],1)]),t._v(" "),e("span",{staticClass:"bank-checkbox__info"},[e("span",{staticClass:"bank-checkbox__label"},[t._v("Ставка")]),t._v(" "),e("span",{staticClass:"bank-checkbox__percent"},[t._v(t._s(n.percent))]),t._v(" "),e("span",{staticClass:"bank-checkbox__month"},[t._v(t._s(n.month))])]),t._v(" "),n.program?e("span",{staticClass:"bank-checkbox__info"},[e("span",{staticClass:"bank-checkbox__label"},[t._v("Программа")]),t._v(" "),e("span",{staticClass:"bank-checkbox__month"},[t._v(t._s(n.program))])]):t._e()])])})),0)])}),[],!1,null,null,null);e.default=component.exports},841:function(t,e,n){"use strict";n(721)},842:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".product-small__preview{align-items:center;background-color:var(--color-footer);border-radius:.24rem;display:flex;flex-wrap:wrap;height:2.16rem;justify-content:center;overflow:hidden;padding:var(--gap-xxs) var(--gap-l);transition:background-color var(--transition-duration)}.product-small__preview>*{min-height:1px;min-width:1px}.product-small__preview_full{padding:0}.product-small__preview_full .product-small__image{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.product-small__image{display:block;flex:none;max-height:100%;max-width:100%}.product-small__content{min-height:.6rem;padding-right:var(--gap-xl);padding-top:.2rem;position:relative}.product-small__title{font-size:.2rem;font-weight:600;line-height:1.2;transition:color var(--transition-duration)}.product-small__price{font-size:.16rem;font-weight:600;line-height:1.5;margin-top:var(--gap-xxxs)}.product-small__favorite{position:absolute;right:0;top:var(--gap-xxs)}.product-small:hover .product-small__preview{background-color:var(--color-section-gray)}.product-small:hover .product-small__title{color:var(--color-black-hover)}",""]),o.locals={},t.exports=o},849:function(t,e,n){"use strict";n(727)},850:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".form_consult[data-v-7db48d5a]{border:.01rem solid #f1f3f3;border-radius:.24rem;color:var(--color-fade);font-size:.12rem;line-height:1.5;padding:var(--gap-s) var(--gap-xs)}.form_consult .form__title[data-v-7db48d5a]{color:var(--color-black);font-family:var(--base-font-family);font-size:.24rem;font-weight:600;line-height:1.3333333333;margin-bottom:var(--gap-xxxs)}@media screen and (max-width:600px){.form_consult .form__title[data-v-7db48d5a]{font-size:.2rem;line-height:1.2}}.form_consult .form__header[data-v-7db48d5a]{margin-bottom:var(--gap-xxs)}.form_consult .form__footer[data-v-7db48d5a]{margin-top:var(--gap-xs)}.form_consult .form__phone[data-v-7db48d5a]{align-items:flex-start;color:var(--color-black);display:flex;justify-content:center;margin-bottom:.18rem;margin-left:-.28rem}.form_consult .form__phone a[data-v-7db48d5a]{border-bottom-color:rgba(0,0,0,.1);padding-bottom:.06rem}.form_consult .form__phone svg[data-v-7db48d5a]{margin-right:.04rem}",""]),o.locals={},t.exports=o},851:function(t,e,n){"use strict";n.r(e);n(21),n(11),n(404);var o=n(6),r=n(28),l=n(48),d=n(8),c=(n(55),n(20),n(39),n(135),n(175),n(37),n(174),n(33),n(405),n(29),n(30),n(22),n(229),n(23),n(18)),m=n(139),v=n(693),f=n(692),h=n(230),_=n(239),w=n(789),x=n(232),y=n(27),k=n(92),C=n(137),P=n(759),I=n(91);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j=3e6,S={name:"AppBlockMortgage",components:{AppSection:h.default,AppMobileOverlay:_.default,AppCardBankCheckboxes:w.default,AppSelect:x.default,AppButton:y.default,AppField:k.default,AppModal:C.default,AppFormBankRequest:P.default},mixins:[f.a,I.a],props:{cols:{type:String,default:void 0},mortgageProps:{type:Object,default:void 0}},data:function(){return{isTouched:!1,lkURL:"https://club.ingrad.ru",selectedBanks:[],banks:[],estates:[],houses:[],types:[],filter:null,amountConfig:null,periodConfig:null,initialPaymentAmountConfig:null,initialPaymentPercentConfig:null}},fetch:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){var n,o,d,c,m,f,h,_,w,x,y,k,C,P,I,A,S,M,z,F,H,N,W,B,$,L,D,E,T,V,R,Z,Y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={label:"Все",value:null},e.prev=1,e.next=4,t.$axios.get("/api/mortgages/filters",{});case 4:return w=e.sent,x=Object.values(w.data["estate-houses"]).sort(Object(v.a)()),y=null!=t&&null!==(o=t.mortgage)&&void 0!==o&&o.types?Object.entries(null==t||null===(d=t.mortgage)||void 0===d?void 0:d.types):Object.entries(null===(c=w.data)||void 0===c?void 0:c.types),k=x.map((function(t){return{label:null==t?void 0:t.name,value:null==t?void 0:t.id,externalId:null==t?void 0:t.externalId}})),C=x.reduce((function(t,e){var n=e.houses.map((function(t){return{label:(null==t?void 0:t.number)||(null==t?void 0:t.name),value:null==t?void 0:t.id,estateCode:null==e?void 0:e.id,externalId:null==t?void 0:t.externalId}}));return[].concat(Object(l.a)(t),Object(l.a)(n))}),[]),P=y.map((function(t){var e=Object(r.a)(t,2),n=e[0];return{label:e[1],value:n}})),t.estates=[n].concat(Object(l.a)(k)),t.houses=[n].concat(Object(l.a)(C)),t.types=P.length>1?[n].concat(Object(l.a)(P)):P,e.next=15,t.$axios.get("/api/mortgages",{params:{estate:t.isTouched?(null===(m=t.filter)||void 0===m||null===(m=m.estate)||void 0===m?void 0:m.value)||void 0:(null===(f=t.queryParams)||void 0===f||null===(f=f.estate)||void 0===f?void 0:f.value)||void 0,house:t.isTouched?(null===(h=t.filter)||void 0===h||null===(h=h.house)||void 0===h?void 0:h.value)||void 0:(null===(_=t.queryParams)||void 0===_||null===(_=_.house)||void 0===_?void 0:_.value)||void 0}});case 15:I=e.sent,t.banks=I.data.list,A=function(t){return t===1/0||t===-1/0?0:t},S=+w.data.minPrice,M=+w.data.maxPrice,t.amountConfig={range:{min:S,max:M}},z=A(Math.min.apply(Math,Object(l.a)(t.banks.map((function(t){return+t.creditPeriodFrom/12})))))||1,F=A(Math.max.apply(Math,Object(l.a)(t.banks.map((function(t){return+t.creditPeriodTo/12}))))),t.periodConfig={range:{min:z,max:F}},H=A(Math.min.apply(Math,Object(l.a)(t.banks.map((function(t){return+t.minInitialPayment||0}))))),N=A(Math.max.apply(Math,Object(l.a)(t.banks.map((function(t){return+t.maxInitialPayment||80}))))),t.initialPaymentPercentConfig={range:{min:H,max:N}},t.initialPaymentAmountConfig={range:{min:Math.floor(H*S/100),max:Math.floor(N*M/100)}},t.isTouched?(W=t.filter.amount<=S?S:t.filter.amount,B=t.filter.period<=z?z:t.filter.period,$=t.filter.initialPaymentPercent<=H?H:t.filter.initialPaymentPercent,L=t.filter.initialPaymentAmount<=Math.floor($*W/100)?Math.floor($*W/100):t.filter.initialPaymentAmount,t.filter=O(O({},t.filter),{},{amount:W,period:B,initialPaymentPercent:$,initialPaymentAmount:L})):(Z=null!=t&&null!==(D=t.mortgage)&&void 0!==D&&D.types?Object.entries(null==t||null===(E=t.mortgage)||void 0===E?void 0:E.types):void 0,Y=(null==Z?void 0:Z.map((function(t){var e=Object(r.a)(t,2),n=e[0];return{label:e[1],value:n}})))||[],t.initialPaymentPercentConfig={range:{min:H,max:t.queryParams.amount||j}},t.initialPaymentAmountConfig={range:{min:Math.floor(H*S/100),max:t.queryParams.amount||j}},t.filter=O({amount:j,period:30,initialPaymentPercent:70,initialPaymentAmount:Math.floor(21e5),estate:(null==t||null===(T=t.queryParams)||void 0===T?void 0:T.estate)||n,house:(null==t||null===(V=t.queryParams)||void 0===V?void 0:V.house)||n,type:null!==(R=t.$route)&&void 0!==R&&null!==(R=R.query)&&void 0!==R&&null!==(R=R.type)&&void 0!==R&&R.length?t.types.find((function(e){return e.value===t.$route.query.type})):Y.length>1?n:(null==Y?void 0:Y[0])||n},t.queryParams)),e.next=35;break;case 31:e.prev=31,e.t0=e.catch(1),t.$nuxt.error({statusCode:404,message:"Страница не найдена"}),console.log(e.t0);case 35:case"end":return e.stop()}}),e,null,[[1,31]])})))()},computed:{filteredList:function(){var t=this;return this.banks.filter((function(e){var n;return null===(n=t.filter)||void 0===n||null===(n=n.type)||void 0===n||!n.value||e.type===t.filter.type.value})).filter((function(e){var n;return null===(n=t.filter)||void 0===n||!n.period||+e.creditPeriodTo/12>=t.filter.period})).filter((function(e){var n;if(null!==(n=t.filter)&&void 0!==n&&n.amount&&t.filter.initialPaymentAmount){var o,r=(null===(o=t.filter)||void 0===o?void 0:o.amount)-t.filter.initialPaymentAmount;return r>+e.minCreditAmount&&r<+e.maxCreditAmount}return!0})).map((function(e){var n,o,r,l,d,c=(null===(n=t.filter)||void 0===n?void 0:n.amount)-t.filter.initialPaymentAmount,m=+(null==e?void 0:e.minCreditRate)/12/100,v=12*(null===(o=t.filter)||void 0===o?void 0:o.period),f=Math.round(c*(m/(1-Math.pow(1+m,-v))));return{externalId:null==e?void 0:e.creditProgramId,value:null==e||null===(r=e.bank)||void 0===r?void 0:r.code,logo:null==e||null===(l=e.bank)||void 0===l?void 0:l.logo,name:null==e||null===(d=e.bank)||void 0===d?void 0:d.short_name,percent:null!=e&&e.minCreditRate?"".concat(Math.floor(100*e.minCreditRate)/100,"%"):void 0,month:f?"от ".concat(t.priceFormat(f)," ₽/мес"):void 0,monthPayment:null!=f?f:0,program:null==e?void 0:e.creditProgramName}})).sort(Object(v.a)("monthPayment"))},housesList:function(){var t=this;return this.houses.filter((function(e){var n,o;return null!==(n=t.filter)&&void 0!==n&&null!==(n=n.estate)&&void 0!==n&&n.value&&e.estateCode===(null===(o=t.filter)||void 0===o?void 0:o.estate.value)||null===e.value}))},buttonLink:function(){var t,e,n,o,r,l,d,c,m,v,f,h=[];null!==(t=this.filter)&&void 0!==t&&t.initialPaymentAmount&&h.push("first_payment=".concat(null===(d=this.filter)||void 0===d?void 0:d.initialPaymentAmount));null!==(e=this.filter)&&void 0!==e&&e.amount&&h.push("apartment_cost=".concat(null===(c=this.filter)||void 0===c?void 0:c.amount));null!==(n=this.filter)&&void 0!==n&&n.period&&h.push("duration=".concat(null===(m=this.filter)||void 0===m?void 0:m.period));if(null!==(o=this.filter)&&void 0!==o&&null!==(o=o.type)&&void 0!==o&&o.value){var _;h.push("bonus=".concat({standart:"",war:"military",family:"state"}[null===(_=this.filter)||void 0===_||null===(_=_.type)||void 0===_?void 0:_.value]))}null!==(r=this.filter)&&void 0!==r&&null!==(r=r.estate)&&void 0!==r&&r.externalId&&h.push("estate=".concat(null===(v=this.filter)||void 0===v||null===(v=v.estate)||void 0===v?void 0:v.externalId));null!==(l=this.filter)&&void 0!==l&&null!==(l=l.house)&&void 0!==l&&l.externalId&&h.push("house=".concat(null===(f=this.filter)||void 0===f||null===(f=f.house)||void 0===f?void 0:f.externalId));return this.selectedBanks.forEach((function(t){h.push("selected_offers[]=".concat(t.externalId))})),"".concat(this.lkURL,"/apartments/mortrage?").concat(h.join("&"))},formInfo:function(){var t,e,n,o,r,l,d;return{form:{estate:null===(t=this.filter)||void 0===t||null===(t=t.estate)||void 0===t?void 0:t.value,house:null===(e=this.filter)||void 0===e||null===(e=e.house)||void 0===e?void 0:e.value,type:null===(n=this.filter)||void 0===n||null===(n=n.type)||void 0===n?void 0:n.value,amount:null===(o=this.filter)||void 0===o?void 0:o.amount,period:null===(r=this.filter)||void 0===r?void 0:r.period,initialPaymentAmount:null===(l=this.filter)||void 0===l?void 0:l.initialPaymentAmount,initialPaymentPercent:null===(d=this.filter)||void 0===d?void 0:d.initialPaymentPercent},banks:this.selectedBanks}},queryParams:function(){var t,e,n,o,r,l,d,c,v,f,h,_=(null===(t=this.$route)||void 0===t||null===(t=t.query)||void 0===t?void 0:t.estate)||(null==this||null===(e=this.mortgageProps)||void 0===e?void 0:e.estateId),w=(null===(n=this.$route)||void 0===n||null===(n=n.query)||void 0===n?void 0:n.house)||(null==this||null===(o=this.mortgageProps)||void 0===o?void 0:o.houseId),x=(null===(r=this.$route)||void 0===r||null===(r=r.query)||void 0===r?void 0:r.minPrice)||(null===(l=this.$route)||void 0===l||null===(l=l.query)||void 0===l?void 0:l.price)||(null==this||null===(d=this.mortgageProps)||void 0===d?void 0:d.price),y=_&&this.estates.find((function(t){return t.value===parseInt(_)}))||void 0,k=w&&this.houses.find((function(t){return t.value===parseInt(w)}))||void 0,C=x,P=null!==(c=this.$route)&&void 0!==c&&null!==(c=c.query)&&void 0!==c&&c.maxPayment?parseInt(this.$route.query.maxPayment):void 0,I=C&&P?P*parseInt(C)/100:void 0,A=null!==(v=this.$route)&&void 0!==v&&null!==(v=v.query)&&void 0!==v&&v.term?parseInt(null===(f=this.$route)||void 0===f||null===(f=f.query)||void 0===f?void 0:f.term)/12:void 0;if(this.isTouched)return{};if(Object(m.isEmpty)(null===(h=this.$route)||void 0===h?void 0:h.query)&&Object(m.isEmpty)(null==this?void 0:this.mortgageProps))return{};var O={};return y&&(O.estate=y),k&&(O.house=k),C&&(O.amount=parseInt(C)),P&&(O.initialPaymentPercent=P),I&&(O.initialPaymentAmount=I),A&&(O.period=A),O}},watch:{"$route.query":function(t,e){var n,o=this;t!==e&&null!==(n=this.$route)&&void 0!==n&&null!==(n=n.query)&&void 0!==n&&null!==(n=n.type)&&void 0!==n&&n.length&&(this.filter.type=this.types.find((function(t){var e;return t.value===(null===(e=o.$route)||void 0===e||null===(e=e.query)||void 0===e?void 0:e.type)})))}},methods:O(O({},Object(c.c)({openOverlay:"mobile-overlay/OPEN_OVERLAY",openModal:"modal/OPEN_MODAL"})),{},{getFilters:function(){var t=this;return Object(d.a)(regeneratorRuntime.mark((function e(){var n,o,d,c,m,v,f,h,_;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.$axios.get("/api/mortgages/filters",{params:{estate:null===(n=t.filter)||void 0===n||null===(n=n.estate)||void 0===n?void 0:n.value,house:null===(o=t.filter)||void 0===o||null===(o=o.house)||void 0===o?void 0:o.value}});case 3:v=e.sent,f={label:"Все",value:null},h=null!=t&&null!==(d=t.mortgage)&&void 0!==d&&d.types?Object.entries(null==t||null===(c=t.mortgage)||void 0===c?void 0:c.types):Object.entries(null===(m=v.data)||void 0===m?void 0:m.types),_=h.map((function(t){var e=Object(r.a)(t,2),n=e[0];return{label:e[1],value:n}})),t.types=_.length>1?[f].concat(Object(l.a)(_)):_,t.filter.amount=v.data.minPrice,t.filter.initialPaymentPercent=70,t.filter.initialPaymentAmount=Math.floor(70*v.data.minPrice/100),t.amountConfig={range:{min:+v.data.minPrice,max:+v.data.maxPrice}},e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),t.$nuxt.error({statusCode:404,message:"Страница не найдена"}),console.log(e.t0);case 18:case"end":return e.stop()}}),e,null,[[0,14]])})))()},onCreditSendHandler:function(){window.open(this.buttonLink,"_blank").focus()},onChangeEstateHandler:function(t){var e=this;return Object(d.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.isTouched=!0,e.filter.estate=t,e.filter.house={label:"Все",value:null},n.next=5,e.$fetch();case 5:return n.next=7,e.getFilters();case 7:case"end":return n.stop()}}),n)})))()},onChangeHouseHandler:function(t){var e=this;return Object(d.a)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e.isTouched=!0,e.filter.house=t,n.next=4,e.$fetch();case 4:return n.next=6,e.getFilters();case 6:case"end":return n.stop()}}),n)})))()},onChangeAmountHandler:function(t){this.isTouched=!0,this.filter.amount=+t;var e=this.initialPaymentPercentConfig.range.min*+t/100,n=+t;this.initialPaymentAmountConfig={range:{min:Math.floor(e),max:Math.floor(n)}}},onChangeInitialPaymentHandler:function(t){this.isTouched=!0,this.filter.initialPaymentAmount=+t},onChangePeriodHandler:function(t){this.isTouched=!0,this.filter.period=+t},onSelectBankHandler:function(t){this.isTouched=!0,this.selectedBanks=t}})},M=(n(1003),n(3)),component=Object(M.a)(S,(function(){var t=this,e=t._self._c;return e("AppSection",{attrs:{variant:t.variant,"offset-top":t.settings.marginTop,"offset-bottom":t.settings.marginBottom,"rounded-next":t.settings.nextBlockRound,"background-color":t.settings.backgroundColor,"text-color":t.settings.textColor,anchor:t.anchor}},[e("div",{staticClass:"heading heading_small heading_small_control"},[e("div",{staticClass:"heading__title"},[e("h2",[t._v("Ипотека")])])]),t._v(" "),e("div",{staticClass:"grid grid_mortgage_filter"},[e("div",{staticClass:"grid__column"},[t.filter?e("form",{staticClass:"form form_comfort"},[e("fieldset",{staticClass:"form__fieldset"},[e("div",{staticClass:"form__group form__group_row form__group_twin"},[t.estates.length?e("div",{staticClass:"form__item"},[e("AppSelect",{attrs:{size:"large",variant:"light",label:"Жилой комплекс",options:t.estates},on:{input:t.onChangeEstateHandler},model:{value:t.filter.estate,callback:function(e){t.$set(t.filter,"estate",e)},expression:"filter.estate"}})],1):t._e(),t._v(" "),t.houses.length?e("div",{staticClass:"form__item"},[e("AppSelect",{attrs:{size:"large",variant:"light",label:"Корпус",options:t.housesList},on:{input:t.onChangeHouseHandler},model:{value:t.filter.house,callback:function(e){t.$set(t.filter,"house",e)},expression:"filter.house"}})],1):t._e()]),t._v(" "),t.types.length?e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppSelect",{attrs:{size:"large",variant:"light",label:"Вид ипотеки",options:t.types,disabled:t.types.length<=1},model:{value:t.filter.type,callback:function(e){t.$set(t.filter,"type",e)},expression:"filter.type"}})],1)]):t._e(),t._v(" "),t.filter&&t.amountConfig?e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppField",{attrs:{label:"Стоимость квартиры, ₽",size:"large","mask-number-postfix":"₽",variant:"light","mask-type":"price",type:"text","with-range-slider":!0,"range-slider-config":t.amountConfig},on:{accept:t.onChangeAmountHandler,sliderEnd:t.onChangeAmountHandler},model:{value:t.filter.amount,callback:function(e){t.$set(t.filter,"amount",e)},expression:"filter.amount"}})],1)]):t._e(),t._v(" "),t.filter&&t.initialPaymentAmountConfig?e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppField",{attrs:{label:"Первоначальный взнос, ₽",size:"large",variant:"light","mask-number-postfix":"₽","mask-type":"price",type:"text","with-range-slider":!0,"range-slider-config":t.initialPaymentAmountConfig},on:{accept:t.onChangeInitialPaymentHandler,sliderEnd:t.onChangeInitialPaymentHandler},model:{value:t.filter.initialPaymentAmount,callback:function(e){t.$set(t.filter,"initialPaymentAmount",e)},expression:"filter.initialPaymentAmount"}})],1)]):t._e(),t._v(" "),t.filter&&t.periodConfig?e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item"},[e("AppField",{attrs:{label:"Срок кредита, лет",size:"large",variant:"light","mask-number-postfix":"лет","mask-type":"price",type:"text","with-range-slider":!0,"range-slider-config":t.periodConfig},on:{accept:t.onChangePeriodHandler,sliderEnd:t.onChangePeriodHandler},model:{value:t.filter.period,callback:function(e){t.$set(t.filter,"period",e)},expression:"filter.period"}})],1)]):t._e()]),t._v(" "),e("fieldset",{staticClass:"form__fieldset"},[e("div",{staticClass:"form__group"},[e("div",{staticClass:"form__item credit-controls"},[e("AppButton",{staticClass:"form__submit credit-controls__submit",attrs:{appearance:"base",size:"large",disabled:!t.selectedBanks.length,variant:"primary"},on:{click:function(e){return e.preventDefault(),t.onCreditSendHandler.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tПолучить одобрение\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("AppButton",{staticClass:"form__submit credit-controls__mobile",attrs:{type:"button",appearance:"base",size:"large",variant:"primary"},on:{click:function(e){return t.openOverlay({id:"credit-result"})}}},[t._v("\n\t\t\t\t\t\t\t\t\tПолучить предложения от банков\n\t\t\t\t\t\t\t\t")])],1)])])]):t._e()]),t._v(" "),t.filteredList.length>0?e("div",{staticClass:"grid__column"},[e("AppMobileOverlay",{attrs:{id:"credit-result",title:"Выберите банк","control-title":"Получить одобрение","button-disabled":!t.selectedBanks.length},on:{onSubmit:t.onCreditSendHandler}},[e("AppCardBankCheckboxes",{attrs:{list:t.filteredList,variant:t.cols},on:{onChange:t.onSelectBankHandler}})],1)],1):t._e()]),t._v(" "),e("AppModal",{staticClass:"modal_form",attrs:{id:"modal_mortgage"}},[e("AppFormBankRequest",{attrs:{info:t.formInfo}})],1)],1)}),[],!1,null,null,null);e.default=component.exports},853:function(t,e,n){"use strict";n.r(e);n(54),n(111);var o={name:"AppProductSmall",components:{AppFavorite:n(136).default},props:{link:{type:String,default:null},image:{type:String,default:null},imageFull:{type:Boolean,default:!1},title:{type:String,default:null},price:{type:String,default:null},externalId:{type:String,default:null}},computed:{tag:function(){return this.link.startsWith("http")?"a":"nuxt-link"}}},r=(n(841),n(3)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component",staticClass:"product-small",attrs:{to:t.link,href:t.link}},[e("div",{staticClass:"product-small__preview",class:{"product-small__preview_full":t.imageFull}},[e("img",{staticClass:"product-small__image",attrs:{src:t.image,alt:t.title}})]),t._v(" "),e("div",{staticClass:"product-small__content"},[e("div",{staticClass:"product-small__title"},[t._v(t._s(t.title))]),t._v(" "),e("div",{staticClass:"product-small__price"},[t._v(t._s(t.price))]),t._v(" "),e("AppFavorite",{staticClass:"product-small__favorite",attrs:{"external-id":t.externalId}})],1)])}),[],!1,null,null,null);e.default=component.exports},866:function(t,e,n){"use strict";n(738)},867:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".page-heading{box-shadow:inset 0 -.01rem 0 #ededed;font-size:.14rem;font-weight:600;line-height:1.4285714286}@media screen and (max-width:767px){.page-heading{display:none}}.page-heading a{color:var(--color-black)!important;-webkit-text-decoration:none;text-decoration:none}.page-heading .container{padding-bottom:.1rem;padding-top:.1rem}",""]),o.locals={},t.exports=o},870:function(t,e,n){"use strict";n(740)},871:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".slider_product .slider__swiper{overflow:visible}@media screen and (max-width:767px){.slider_product .slider__swiper{padding-right:var(--gap-xxs)}}.slider_product .slider__arrow{position:absolute;top:var(--gap-xxxxl)}@media screen and (max-width:767px){.slider_product .slider__arrow{display:none}}.slider_product .slider__arrow_prev{left:var(--gap-negative-xs)}.slider_product .slider__arrow_next{right:var(--gap-negative-xs)}.slider_product .slider__arrow_next,.slider_product .slider__arrow_prev{box-shadow:0 .12rem .2rem rgba(0,0,0,.1);top:var(--gap-xxxxl)}.slider_product .slider__arrow_next.swiper-button-disabled,.slider_product .slider__arrow_prev.swiper-button-disabled{display:none}.slider_product .slider__slide{opacity:0;transition-duration:.35s;transition-property:opacity}@media screen and (max-width:1023px){.slider_product .slider__slide{opacity:1}}.slider_product .slider__slide.swiper-slide-visible{opacity:1}",""]),o.locals={},t.exports=o},899:function(t,e,n){"use strict";n(754)},900:function(t,e,n){var o=n(12)((function(i){return i[1]}));o.push([t.i,".card-interesting{border-radius:.24rem;min-height:2.6rem!important;overflow:hidden;padding:var(--gap-s) var(--gap-l) 0 var(--gap-s);position:relative;transition:background-color var(--transition-duration)}@media screen and (max-width:1279px){.card-interesting{padding-right:var(--gap-s)}}.card-interesting:hover{background-color:var(--color-section-gray)}.card-interesting__wrapper{color:#fff;display:flex;flex-direction:column;height:100%;justify-content:space-between;position:relative;z-index:1}.card-interesting img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;position:absolute;right:0;top:0;width:100%;z-index:0}.card-interesting__title{font-size:.24rem;font-weight:600;line-height:1.2;margin-bottom:var(--gap-xs)}@media screen and (max-width:1279px){.card-interesting__title{margin-bottom:var(--gap-xxxs)}}.card-interesting__content{align-items:flex-end;display:flex;flex-wrap:wrap}.card-interesting__content>*{min-height:1px;min-width:1px}@media screen and (max-width:1279px){.card-interesting__content{align-items:flex-start;flex-direction:column}}.card-interesting__offers{flex:1;font-size:.14rem;font-weight:600;line-height:1.4285714286;padding-bottom:var(--gap-s);padding-right:var(--gap-xs)}@media screen and (max-width:1279px){.card-interesting__offers{padding-bottom:var(--gap-xxs);padding-right:0;width:100%}}.card-interesting__price{font-size:.14rem;line-height:1.4285714286;margin-top:.02rem}",""]),o.locals={},t.exports=o},960:function(t,e,n){"use strict";n.r(e);n(33),n(22),n(54),n(111);var o={name:"AppPageHeading",props:{project:{type:Object,required:!0},floor:{type:String,default:null},housing:{type:Object,default:null}},computed:{tag:function(){var t;return null!==(t=this.project)&&void 0!==t&&null!==(t=t.link)&&void 0!==t&&t.startsWith("http")?"a":"nuxt-link"}}},r=(n(866),n(3)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-heading"},[e("div",{staticClass:"container"},[e(t.tag,{tag:"component",attrs:{to:t.project.link,href:t.project.link}},[t._v("\n\t\t\t"+t._s(t.project.name)+"\n\t\t")]),t._v(" "),t.housing&&Object.keys(t.housing).length?e("nuxt-link",{attrs:{to:t.housing.link}},[t._v("\n\t\t\t  ·   Корпус "+t._s(t.housing.number)+"\n\t\t")]):t._e(),t._v(" "),t.floor?e("span",[t._v("   ·   "+t._s(t.floor)+" ")]):t._e()],1)])}),[],!1,null,null,null);e.default=component.exports},962:function(t,e,n){"use strict";n.r(e);n(54),n(50);var o=n(1401),r=n(703),l=n(787),d=n(15),c=n(853),m={name:"AppProductSlider",components:{AppIcon:d.default,AppProductSmall:c.default},props:{list:{type:Array,required:!0},inited:{type:Boolean,default:!1}},mounted:function(){o.a.use([r.a,l.a]),new o.a(this.$refs.slider,{init:!1,slidesPerView:1,spaceBetween:16,speed:350,effect:"slide",preloadImages:!1,watchOverflow:!0,watchSlidesProgress:!0,watchSlidesVisibility:!0,lazy:{loadPrevNext:!0,loadOnTransitionStart:!0},navigation:{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},breakpoints:{768:{slidesPerView:2,spaceBetween:24},1024:{slidesPerView:3,spaceBetween:24},1280:{slidesPerView:4,spaceBetween:32}}}).init(),this.inited&&setTimeout((function(){var t=document.querySelector(".slider_product .slider__arrow_next"),e=document.querySelector(".slider_product .slider__arrow_prev");t&&t.click(),e&&e.click()}),1e3)}},v=(n(870),n(3)),component=Object(v.a)(m,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"slider slider_product"},[e("div",{ref:"slider",staticClass:"swiper-container slider__swiper"},[e("div",{staticClass:"swiper-wrapper"},t._l(t.list,(function(t,n){return e("div",{key:n,staticClass:"swiper-slide slider__slide"},[e("AppProductSmall",{attrs:{link:t.link,image:t.image,"image-full":t.imageFull,title:t.title,price:t.price,"external-id":t.externalId}})],1)})),0),t._v(" "),e("div",{staticClass:"swiper-button-prev slider__arrow slider__arrow_prev"},[e("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1),t._v(" "),e("div",{staticClass:"swiper-button-next slider__arrow slider__arrow_next"},[e("AppIcon",{attrs:{id:"chevron-down",width:18,height:10}})],1)])])}),[],!1,null,null,null);e.default=component.exports},975:function(t,e,n){"use strict";n.r(e);n(54),n(111);var o={name:"AppCardInteresting",props:{link:{type:String,required:!0},title:{type:String,required:!0},offers:{type:Object,default:null},image:{type:String,required:!0},type:{type:String,default:null}},computed:{classNames:function(){return["card-interesting",this.type?"card-interesting_".concat(this.type):null]},tag:function(){return this.link.startsWith("http")?"a":"nuxt-link"}}},r=(n(899),n(3)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component",class:t.classNames,attrs:{to:t.link,href:t.link}},[e("div",{staticClass:"card-interesting__wrapper"},[e("div",{staticClass:"card-interesting__title"},[t._v(t._s(t.title))]),t._v(" "),e("div",{staticClass:"card-interesting__content"},[t.offers?e("div",{staticClass:"card-interesting__offers"},[t.offers.count?e("div",{staticClass:"card-interesting__count"},[t._v(t._s(t.offers.count))]):t._e(),t._v(" "),t.offers.price?e("div",{staticClass:"card-interesting__price"},[t._v(t._s(t.offers.price))]):t._e()]):t._e()])]),t._v(" "),e("img",{attrs:{src:t.image,alt:t.title}})])}),[],!1,null,null,null);e.default=component.exports}}]);