import{a2 as C,am as z,an as g,ao as $,ag as q,a0 as M,g as y,r as x,A as N,_ as b,o as v,q as j,t as L,d as c,K as A,a as f,e as _,L as B,I as E,j as D,k as O,l as w,c as k,y as T,x as F,G as R,a9 as V,H,u as P,a4 as G,ap as J,E as d}from"./entry.b6bff197.js";import{u as W}from"./vue.f36acd1f.322fca35.js";import{u as K}from"./modal.f29d282a.js";import{b as Q}from"./b_connection_form.b3cc8970.js";import{u as U}from"./apartmentsFilterSettings.8a88f5e9.js";const X=C({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(t,{slots:e}){const{progress:o,isLoading:s,start:r,finish:a,clear:u}=Y({duration:t.duration,throttle:t.throttle});{const i=y(),n=z();g.unshift(r),n.onError(()=>{a()}),n.beforeResolve((l,h)=>{$(l,h)||a()}),n.afterEach((l,h,I)=>{I&&a()});const p=i.hook("page:finish",a),m=i.hook("vue:error",a);q(()=>{const l=g.indexOf(r);l>=0&&g.splice(l,1),p(),m(),u()})}return()=>M("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${t.height}px`,opacity:s.value?1:0,background:t.color||void 0,backgroundSize:`${100/o.value*100}% auto`,transform:`scaleX(${o.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},e)}});function Y(t){const e=x(0),o=x(!1),s=N(()=>1e4/t.duration);let r=null,a=null;function u(){n(),e.value=0,t.throttle?a=setTimeout(()=>{o.value=!0,l()},t.throttle):(o.value=!0,l())}function i(){e.value=100,m()}function n(){clearInterval(r),clearTimeout(a),r=null,a=null}function p(h){e.value=Math.min(100,e.value+h)}function m(){n(),setTimeout(()=>{o.value=!1,setTimeout(()=>{e.value=0},400)},500)}function l(){r=setInterval(()=>{p(s.value)},100)}return{progress:e,isLoading:o,start:u,finish:i,clear:n}}const S=t=>(D("data-v-fda50e52"),t=t(),O(),t),Z={"data-id":"rrzbr17jeu",class:"container h-screen w-full transition-all duration-300"},ee={"data-id":"9nt3qnmr24",class:"relative top-1/2 -translate-y-1/2"},te=S(()=>c("span",{class:"block absolute top-1/2 left-1/2 -translate-x-1/2 rotate-45 w-[15px] h-[1px] bg-white transition-colors duration-500 lg:w-[25px] xl:w-[30px] xl:h-[2px]"},null,-1)),oe=S(()=>c("span",{class:"block absolute top-1/2 left-1/2 -translate-x-1/2 -rotate-45 w-[15px] h-[1px] bg-white transition-colors duration-500 lg:w-[25px] xl:w-[30px] xl:h-[2px]"},null,-1)),ae=[te,oe],ne={__name:"b_modal_window",props:{modal:{type:Object}},emits:["close"],setup(t,{emit:e}){function o(){var s;(s=y().$lenis)==null||s.start(),e("close")}return(s,r)=>(v(),j(_(E),{"overlay-transition":"vfm-fade","content-transition":"slide-fade-y40",overlayClass:"backdrop-blur-sm !bg-white/50"},{default:L(()=>[c("div",Z,[c("div",ee,[A(f(Q,{modalData:t.modal},null,8,["modalData"]),[[_(B),o]]),c("div",{"data-id":"6nyy485qkr",class:"close absolute z-20 h-[30px] w-[30px] rounded-full border border-white/30 bg-dark/20 backdrop-blur-sm top-6 right-6 cursor-pointer md:h-[50px] md:w-[50px] xl:h-[60px] xl:w-[60px]",onClick:o},ae)])])]),_:1}))}},se=b(ne,[["__scopeId","data-v-fda50e52"]]),re=c("div",{"data-id":"fjrh2gydhc",class:"text-white font-arno text-[14px] leading-[1.1] mac2:text-[21px]"}," Используя сайт aa-v.ru, Вы соглашаетесь с использованием файлов cookie, которые указаны в Политике обработки Персональных данных. ",-1),le={__name:"b_cookie",setup(t){let e=x(!1);function o(){e.value=!1,localStorage&&(localStorage.isAcceptCookie=!0)}return w(()=>{setTimeout(()=>{localStorage&&(localStorage.isAcceptCookie||(e.value=!0))},5e3)}),(s,r)=>{const a=F;return v(),k("div",{"data-id":"fjrhvg7dhc",class:T(["b-cookie w-full flex-col max-w-none left-1/2 -translate-x-1/2 bottom-0 px-10 py-6 bg-black/80 fixed z-[191] flex gap-4 transition-all duration-500 sm:pl-[100px] sm:gap-3 sm:flex-row md:bottom-[3%] md:max-w-[650px] mac2:max-w-[850px]",_(e)?"translate-y-0 opacity-100":"translate-y-full opacity-0 pointer-events-none"])},[f(a,{"data-id":"fjrhv4ydhc",class:"absolute w-[45px] h-[45px] z-[-1] !hidden sm:!inline-block sm:top-0 sm:left-0 sm:w-[60px] sm:h-[60px]",name:"cookie"}),re,c("div",{"data-id":"fjrhv4yd5c",class:"button flex items-center",onClick:o}," Принять ")],2)}}};function ie(){const t=window.innerHeight/100;document.documentElement.style.setProperty("--vh",`${t}px`)}const ce={class:"overflow-hidden"},de={__name:"default",setup(t){W({title:"Voznesensky",meta:[{name:"description",content:"Voznesensky"},{content:"telephone=no",name:"format-detection"},{content:"article",property:"og:type"},{property:"og:site_name",content:"Архитектурный ансамбль «Вознесенский»"},{property:"og:title",content:"Воплощение аристократического благородства"},{property:"og:description",content:"Ансамбль из эксклюзивных резиденций переменной этажности концептуально выстроен вокруг Вознесенской церкви и дарит потрясающий панорамный вид на исторический центр, безмятежно несущую свои воды Туру"},{property:"og:image",content:"https://aa-v.ru/img/content/apart-filter-form.jpeg"}],link:[{rel:"icon",type:"image/svg",href:"/fav.svg",sizes:"any"}],script:[],__dangerouslyDisableSanitizers:["script"]});let e=null,{modal:o,showModal:s,hideModal:r}=K();const a=U();a.fetchFilter(),a.getRouteQuery(),a.fetchApartments();const{open:u,close:i}=R({component:se,attrs:{modal:o,onClose(){i().then(()=>{d(document.body,"delete"),d(document.querySelector("#header"),"delete"),e.value=!1})}}});return V(()=>o.value,(n,p)=>{e.value?i().then(()=>{d(document.body,"delete"),d(document.querySelector("#header"),"delete"),e.value=!1}):(d(document.body,"add"),d(document.querySelector("#header"),"add"),u(),e.value=!0)}),w(()=>{e=H(document.querySelector("html")),ie();{const n=P();n.query.utm_source&&localStorage.setItem("utm_my_saved",JSON.stringify(n.query))}}),(n,p)=>{const m=X;return v(),k("div",ce,[f(m,{color:"#D4B16D",height:1}),G(n.$slots,"default",{},void 0,!0),f(_(le)),f(_(J))])}}},he=b(de,[["__scopeId","data-v-0937eb12"]]);export{he as default};
