Commit 0a20e5050b64d03512e59acbce96bafee5f5e3bc

Authored by Андрей Ларионов
1 parent b64ce58d30
Exists in master

Страница Жилые комплексы полностью сделана

Showing 10 changed files with 390 additions and 28 deletions Inline Diff

app/Http/Controllers/MainController.php
1 <?php 1 <?php
2 2
3 namespace App\Http\Controllers; 3 namespace App\Http\Controllers;
4 4
5 use App\Models\Area; 5 use App\Models\Area;
6 use App\Models\House; 6 use App\Models\House;
7 use App\Models\News; 7 use App\Models\News;
8 use App\Models\Partners; 8 use App\Models\Partners;
9 use Illuminate\Http\Request; 9 use Illuminate\Http\Request;
10 use App\Classes\RusDate; 10 use App\Classes\RusDate;
11 use PhpParser\Node\Stmt\Switch_;
11 12
12 class MainController extends Controller 13 class MainController extends Controller
13 { 14 {
14 /* 15 /*
15 * Главная страница проекта 16 * Главная страница проекта
16 */ 17 */
17 public function index() { 18 public function index() {
18 $houses = House::with('areas')->orderByDesc('created_at')->limit(8)->get(); 19 $houses = House::with('areas')->orderByDesc('created_at')->limit(8)->get();
19 $news = News::query()->orderByDesc('created_at')->limit(8)->get(); 20 $news = News::query()->orderByDesc('created_at')->limit(8)->get();
20 $partners = Partners::query()->limit(18)->get(); 21 $partners = Partners::query()->limit(18)->get();
21 return view('index', compact('houses', 'news', 'partners')); 22 return view('index', compact('houses', 'news', 'partners'));
22 } 23 }
23 24
24 /* 25 /*
25 * Страница ЖК 26 * Страница ЖК
26 */ 27 */
27 public function Complex(Area $area) { 28 public function Complex(Area $area, Request $request) {
29 //////////раздел аренда
28 $house_arenda = House::with('areas')-> 30 $house_arenda = House::with('areas')->
29 where('area_id', '=', $area->id)-> 31 where('area_id', '=', $area->id)->
30 where('format_house', '=', 'Аренда')-> 32 where('format_house', '=', 'Аренда');
31 orderByDesc('created_at')->get(); 33
32 34 if ($request->view == 'arenda') {
35 switch ($request->sort_price) {
36 case 1: $house_arenda = $house_arenda->orderBy('rent_in_month');break;
37 case 2: $house_arenda = $house_arenda->orderByDesc('rent_in_month');break;
38 }
39 switch ($request->sort_new) {
40 case 1: $house_arenda = $house_arenda->orderByDesc('created_at');break;
41 case 2: $house_arenda = $house_arenda->orderBy('created_at');break;
42 }
43 switch ($request->sort_area) {
44 case 1: $house_arenda = $house_arenda->orderByDesc('area')->get();break;
45 case 2: $house_arenda = $house_arenda->orderBy('area')->get();break;
46 }
47 } else {
48 $house_arenda = $house_arenda->orderBy('rent_in_year')->
49 orderByDesc('created_at')->
50 orderByDesc('area')->get();
51 }
52
53 ////////раздел продажа
33 $house_prodaja = House::with('areas')-> 54 $house_prodaja = House::with('areas')->
34 where('area_id', '=', $area->id)-> 55 //where('area_id', '=', $area->id)->
35 where('format_house', '=', 'Продажа')-> 56 where('format_house', '=', 'Продажа');
36 orderByDesc('created_at')->get(); 57
37 58 if ($request->view == 'prodaja') {
59 switch ($request->sort_price) {
60 case 1: $house_prodaja = $house_prodaja->orderBy('price');break;
61 case 2: $house_prodaja = $house_prodaja->orderByDesc('price');break;
62 }
63 switch ($request->sort_new) {
64 case 1: $house_prodaja = $house_prodaja->orderByDesc('created_at');break;
65 case 2: $house_prodaja = $house_prodaja->orderBy('created_at');break;
66 }
67 switch ($request->sort_area) {
68 case 1: $house_prodaja = $house_prodaja->orderByDesc('area')->get();break;
69 case 2: $house_prodaja = $house_prodaja->orderBy('area')->get();break;
70 }
71 } else {
72 $house_prodaja = $house_prodaja->orderBy('price')->
73 orderByDesc('created_at')->
74 orderByDesc('area')->get();
75 }
76
77 //////////////// Раздел бизнеса
38 $house_bissnes = House::with('areas')-> 78 $house_bissnes = House::with('areas')->
39 where('area_id', '=', $area->id)-> 79 where('area_id', '=', $area->id)->
40 where('format_house', '=', 'Бизнес')-> 80 where('format_house', '=', 'Бизнес');
41 orderByDesc('created_at')->get(); 81 //orderByDesc('created_at')->get();
42 82
83 if ($request->view == 'bissnes') {
84 switch ($request->sort_price) {
85 case 1: $house_bissnes = $house_bissnes->orderBy('price');break;
86 case 2: $house_bissnes = $house_bissnes->orderByDesc('price');break;
87 }
88 switch ($request->sort_new) {
89 case 1: $house_bissnes = $house_bissnes->orderByDesc('created_at');break;
90 case 2: $house_bissnes = $house_bissnes->orderBy('created_at');break;
91 }
92 switch ($request->sort_area) {
93 case 1: $house_bissnes = $house_bissnes->orderByDesc('area')->get();break;
94 case 2: $house_bissnes = $house_bissnes->orderBy('area')->get();break;
95 }
96 } else {
97 $house_bissnes = $house_bissnes->orderBy('price')->
98 orderByDesc('created_at')->
99 orderByDesc('area')->get();
100 }
101
102 //////////раздел арендованные
43 $house_arendovannie = House::with('areas')-> 103 $house_arendovannie = House::with('areas')->
44 where('area_id', '=', $area->id)-> 104 where('area_id', '=', $area->id)->
45 where('format_house', '=', 'Арендованные')-> 105 where('format_house', '=', 'Арендованные');
46 orderByDesc('created_at')->get(); 106 //orderByDesc('created_at')->get();
107
108 if ($request->view == 'arendovannie') {
109 switch ($request->sort_price) {
110 case 1: $house_arendovannie = $house_arendovannie->orderBy('rent_in_month');break;
111 case 2: $house_arendovannie = $house_arendovannie->orderByDesc('rent_in_month');break;
112 }
113 switch ($request->sort_new) {
114 case 1: $house_arendovannie = $house_arendovannie->orderByDesc('created_at');break;
115 case 2: $house_arendovannie = $house_arendovannie->orderBy('created_at');break;
116 }
117 switch ($request->sort_area) {
118 case 1: $house_arendovannie = $house_arendovannie->orderByDesc('area')->get();break;
119 case 2: $house_arendovannie = $house_arendovannie->orderBy('area')->get();break;
120 }
121 } else {
122 $house_arendovannie = $house_arendovannie->orderBy('rent_in_year')->
123 orderByDesc('created_at')->
124 orderByDesc('area')->get();
125 }
126
127 if ($request->ajax()) {
128 switch($request->view) {
129 case 'arenda': return view('ajax.complex.arenda', compact('house_arenda')); break;
130 case 'prodaja': return view('ajax.complex.prodaja', compact('house_prodaja'));break;
131 case 'bissnes': return view('ajax.complex.bissnes', compact('house_bissnes')); break;
132 case 'arendovannie': return view('ajax.complex.arendovannie', compact('house_arendovannie')); break;
133 }
134 }
47 135
48 return view('complex', compact('area', 136 return view('complex', compact('area',
49 'house_arenda', 137 'house_arenda',
50 'house_prodaja', 138 'house_prodaja',
51 'house_bissnes', 139 'house_bissnes',
52 'house_arendovannie')); 140 'house_arendovannie'));
53 141
54 } 142 }
55 143
56 /* 144 /*
57 * О компании 145 * О компании
58 */ 146 */
59 public function About() { 147 public function About() {
60 return view('about'); 148 return view('about');
61 } 149 }
62 150
63 /* 151 /*
64 * Избранное 152 * Избранное
65 */ 153 */
66 public function Favorite() { 154 public function Favorite() {
67 return view('favorite'); 155 return view('favorite');
68 } 156 }
69 157
70 /* 158 /*
71 * Каталог 159 * Каталог
72 */ 160 */
73 public function Catalog() { 161 public function Catalog() {
74 return view('catalog'); 162 return view('catalog');
75 } 163 }
76 164
77 /* 165 /*
78 * Новости 166 * Новости
79 */ 167 */
80 public function News() { 168 public function News() {
81 //$news = News::orderByDesc('created_at')->limit(1)->paginate(); 169 //$news = News::orderByDesc('created_at')->limit(1)->paginate();
82 $news_ = News::query()->orderByDesc('created_at')->paginate(4); 170 $news_ = News::query()->orderByDesc('created_at')->paginate(4);
83 return view('news', compact('news_')); 171 return view('news', compact('news_'));
84 } 172 }
85 173
86 /* 174 /*
87 * Контакты 175 * Контакты
88 */ 176 */
89 public function Contact() { 177 public function Contact() {
90 return view('contact'); 178 return view('contact');
91 } 179 }
92 180
93 /* 181 /*
94 * Карта объектов 182 * Карта объектов
95 */ 183 */
96 public function MapsObj() { 184 public function MapsObj() {
97 return view('mapsobj'); 185 return view('mapsobj');
98 } 186 }
99 187
100 /* 188 /*
101 * Посмотр конктретного предложение офиса 189 * Посмотр конктретного предложение офиса
102 */ 190 */
103 public function Offer(House $house) { 191 public function Offer(House $house) {
104 $houses = House::with('areas'); 192 $houses = House::with('areas');
105 $houses = $houses->where('type_area_id', '=', $house->typearea->id); 193 $houses = $houses->where('type_area_id', '=', $house->typearea->id);
106 $houses = $houses->where('format_house', '=', $house->format_house); 194 $houses = $houses->where('format_house', '=', $house->format_house);
107 $houses = $houses->orderByDesc('created_at')->limit(8)->get(); 195 $houses = $houses->orderByDesc('created_at')->limit(8)->get();
108 196
109 return view('house.post', compact('house', 'houses')); 197 return view('house.post', compact('house', 'houses'));
110 } 198 }
111 199
112 /* 200 /*
113 * Просмотр детально конкретной новости 201 * Просмотр детально конкретной новости
114 */ 202 */
115 public function DetailNew(News $news) { 203 public function DetailNew(News $news) {
116 $news_list = News::query()->orderByDesc('created_at')->limit(8)->get(); 204 $news_list = News::query()->orderByDesc('created_at')->limit(8)->get();
117 return view('new.post', compact('news', 'news_list')); 205 return view('new.post', compact('news', 'news_list'));
118 } 206 }
119 } 207 }
120 208
public/js/jquery.min.js
File was created 1 /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
2 !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;
3 if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")
4 },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m});
5
1 // управляющий класс App с методом init(), в котором собраны все используемые методы с комментариями о том, что конкретно делает каждый метод 1 // управляющий класс App с методом init(), в котором собраны все используемые методы с комментариями о том, что конкретно делает каждый метод
2 2
3 class App { 3 class App {
4 4
5 constructor() { 5 constructor() {
6 this.patternPhone = /^(\+7|7|8)?[\s\-]?\(?[489][0-9]{2}\)?[\s\-]?[0-9]{3}[\s\-]?[0-9]{2}[\s\-]?[0-9]{2}$/; // рег. выражение для поля 'телефон'; 6 this.patternPhone = /^(\+7|7|8)?[\s\-]?\(?[489][0-9]{2}\)?[\s\-]?[0-9]{3}[\s\-]?[0-9]{2}[\s\-]?[0-9]{2}$/; // рег. выражение для поля 'телефон';
7 this.patternEmail = /^[a-zA-Z0-9._%+-\.]+@[a-z0-9.-]+\.[a-z]{2,}$/i; // рег. выражение для поля 'электронная почта'; 7 this.patternEmail = /^[a-zA-Z0-9._%+-\.]+@[a-z0-9.-]+\.[a-z]{2,}$/i; // рег. выражение для поля 'электронная почта';
8 } 8 }
9 9
10 init() { 10 init() {
11 11
12 console.log('init'); 12 console.log('init');
13 13
14 this.stickyHeader(); // липкий хедер; 14 this.stickyHeader(); // липкий хедер;
15 this.controlBurgerMenu(); // бургер-меню; 15 this.controlBurgerMenu(); // бургер-меню;
16 this.smoothScroll(); // плавный скролл к якорю (smooth scroll); 16 this.smoothScroll(); // плавный скролл к якорю (smooth scroll);
17 this.scrollUp(); // кнопка наверх; 17 this.scrollUp(); // кнопка наверх;
18 this.addToFavorites(); // добавить в избранное (звёздочка); 18 this.addToFavorites(); // добавить в избранное (звёздочка);
19 this.initTypicalSlider(); // типовые слайдеры; 19 this.initTypicalSlider(); // типовые слайдеры;
20 this.initPartnerslSlider(); // слайдер с партнёрами; 20 this.initPartnerslSlider(); // слайдер с партнёрами;
21 this.controlFilters(); // фильтры на главном экране; 21 this.controlFilters(); // фильтры на главном экране;
22 this.controlPopups(); // открытие/закрытие поп-апов; 22 this.controlPopups(); // открытие/закрытие поп-апов;
23 this.controlContactUsPopup(); // открытие/закрытие поп-апа 'обратный звонок'; 23 this.controlContactUsPopup(); // открытие/закрытие поп-апа 'обратный звонок';
24 24
25 this.sendForm('.js_popup_feedback_form', 'server.php', '[data-popup="success"]'); // отправка формы в поп-апе обратной связи; 25 this.sendForm('.js_popup_feedback_form', 'server.php', '[data-popup="success"]'); // отправка формы в поп-апе обратной связи;
26 this.sendForm('.js_popup_viewing_form', 'server.php', '[data-popup="success"]'); // отправка формы в поп-апе 'записаться на просмотр'; 26 this.sendForm('.js_popup_viewing_form', 'server.php', '[data-popup="success"]'); // отправка формы в поп-апе 'записаться на просмотр';
27 this.sendForm('.js_footer_feedback_form', 'server.php', '[data-popup="success"]'); // отправка формы в футере; 27 this.sendForm('.js_footer_feedback_form', 'server.php', '[data-popup="success"]'); // отправка формы в футере;
28 this.sendForm('.js_contacts_form', 'server.php', '.js_contacts_success'); // отправка формы на странице контакты; 28 this.sendForm('.js_contacts_form', 'server.php', '.js_contacts_success'); // отправка формы на странице контакты;
29 this.sendOffer(); //отправка предложения по e-mail; 29 this.sendOffer(); //отправка предложения по e-mail;
30 30
31 this.setGeneralMap(); // карта на странице карт; 31 this.setGeneralMap(); // карта на странице карт;
32 this.setComplexMap('complex-map', [55.726591050908745, 37.57244549999999], 'ЖК Садовые кварталы'); // карта на странице 'ЖК'; 32 this.setComplexMap('complex-map', [55.726591050908745, 37.57244549999999], 'ЖК Садовые кварталы'); // карта на странице 'ЖК';
33 this.setComplexMap('offer-map', [55.70851106903402, 37.65864349999999], 'Аренда торгового помещения 321,6 м2'); // карта на странице 'Предложение'; 33 this.setComplexMap('offer-map', [55.70851106903402, 37.65864349999999], 'Аренда торгового помещения 321,6 м2'); // карта на странице 'Предложение';
34 this.setCatalogSorts(); // сортировка на странице 'каталог'; 34 this.setCatalogSorts(); // сортировка на странице 'каталог';
35 this.initIntroSlider(); // слайдер на странице жк и на странице предложения; 35 this.initIntroSlider(); // слайдер на странице жк и на странице предложения;
36 this.setTabs('.js_offer_side_tab', '.js_offer_side_item'); // табы с планами объекат и этажа на странице предложения; 36 this.setTabs('.js_offer_side_tab', '.js_offer_side_item'); // табы с планами объекат и этажа на странице предложения;
37 this.setTabs('.js_offer_side_popup_tab', '.js_offer_side_popup_item'); // табы с планами объекат и этажа в поп-апе на странице предложения; 37 this.setTabs('.js_offer_side_popup_tab', '.js_offer_side_popup_item'); // табы с планами объекат и этажа в поп-апе на странице предложения;
38 this.sontrolOfferSidePopup(); // логика открытия нужного таба при открытии поп-апа с планами объекат и этажа на странице предложения; 38 this.sontrolOfferSidePopup(); // логика открытия нужного таба при открытии поп-апа с планами объекат и этажа на странице предложения;
39 this.setCustomGallery(); // галлерея; 39 this.setCustomGallery(); // галлерея;
40 this.setCookies() // куки; 40 this.setCookies() // куки;
41 this.setFooterSpoilers() // аккордеон в футере; 41 this.setFooterSpoilers() // аккордеон в футере;
42 42
43 } 43 }
44 44
45 // фиксация <body> 45 // фиксация <body>
46 fixBodyPosition() { 46 fixBodyPosition() {
47 47
48 setTimeout(function () { 48 setTimeout(function () {
49 // ставим необходимую задержку, чтобы не было «конфликта» в случае, если функция фиксации вызывается сразу после расфиксации (расфиксация отменяет действия расфиксации из-за одновременного действия) 49 // ставим необходимую задержку, чтобы не было «конфликта» в случае, если функция фиксации вызывается сразу после расфиксации (расфиксация отменяет действия расфиксации из-за одновременного действия)
50 50
51 if (!document.body.hasAttribute('data-body-scroll-fix')) { 51 if (!document.body.hasAttribute('data-body-scroll-fix')) {
52 52
53 // получаем позицию прокрутки 53 // получаем позицию прокрутки
54 let scrollPosition = window.pageYOffset || document.documentElement.scrollTop; 54 let scrollPosition = window.pageYOffset || document.documentElement.scrollTop;
55 55
56 // ставим нужные стили 56 // ставим нужные стили
57 document.body.setAttribute('data-body-scroll-fix', scrollPosition); // Cтавим атрибут со значением прокрутки 57 document.body.setAttribute('data-body-scroll-fix', scrollPosition); // Cтавим атрибут со значением прокрутки
58 document.body.style.overflow = 'hidden'; 58 document.body.style.overflow = 'hidden';
59 document.body.style.position = 'fixed'; 59 document.body.style.position = 'fixed';
60 document.body.style.top = '-' + scrollPosition + 'px'; 60 document.body.style.top = '-' + scrollPosition + 'px';
61 document.body.style.left = '0'; 61 document.body.style.left = '0';
62 document.body.style.width = '100%'; 62 document.body.style.width = '100%';
63 63
64 if (window.innerWidth >= 1200) { 64 if (window.innerWidth >= 1200) {
65 document.body.style.paddingRight = '8px'; 65 document.body.style.paddingRight = '8px';
66 } 66 }
67 } 67 }
68 68
69 }, 15); // можно задержку ещё меньше, но работает хорошо именно с этим значением на всех устройствах и браузерах 69 }, 15); // можно задержку ещё меньше, но работает хорошо именно с этим значением на всех устройствах и браузерах
70 70
71 } 71 }
72 72
73 73
74 // расфиксация <body> 74 // расфиксация <body>
75 unfixBodyPosition() { 75 unfixBodyPosition() {
76 76
77 if (document.body.hasAttribute('data-body-scroll-fix')) { 77 if (document.body.hasAttribute('data-body-scroll-fix')) {
78 78
79 // получаем позицию прокрутки из атрибута 79 // получаем позицию прокрутки из атрибута
80 let scrollPosition = document.body.getAttribute('data-body-scroll-fix'); 80 let scrollPosition = document.body.getAttribute('data-body-scroll-fix');
81 81
82 // удаляем атрибут 82 // удаляем атрибут
83 document.body.removeAttribute('data-body-scroll-fix'); 83 document.body.removeAttribute('data-body-scroll-fix');
84 84
85 // удаляем ненужные стили 85 // удаляем ненужные стили
86 document.body.style.overflow = ''; 86 document.body.style.overflow = '';
87 document.body.style.position = ''; 87 document.body.style.position = '';
88 document.body.style.top = ''; 88 document.body.style.top = '';
89 document.body.style.left = ''; 89 document.body.style.left = '';
90 document.body.style.width = ''; 90 document.body.style.width = '';
91 document.body.style.paddingRight = ''; 91 document.body.style.paddingRight = '';
92 92
93 // прокручиваем страницу на полученное из атрибута значение 93 // прокручиваем страницу на полученное из атрибута значение
94 window.scroll(0, scrollPosition); 94 window.scroll(0, scrollPosition);
95 95
96 } 96 }
97 97
98 } 98 }
99 99
100 100
101 // бургер-меню 101 // бургер-меню
102 controlBurgerMenu() { 102 controlBurgerMenu() {
103 103
104 const headerBurger = document.querySelector('.js_header_burger'); 104 const headerBurger = document.querySelector('.js_header_burger');
105 105
106 if (headerBurger) { 106 if (headerBurger) {
107 107
108 const menu = document.querySelector('.js_menu'); 108 const menu = document.querySelector('.js_menu');
109 const menuClose = menu.querySelector('.js_menu_close'); 109 const menuClose = menu.querySelector('.js_menu_close');
110 110
111 headerBurger.addEventListener('click', () => { 111 headerBurger.addEventListener('click', () => {
112 menu.classList.add('active'); 112 menu.classList.add('active');
113 this.fixBodyPosition(); 113 this.fixBodyPosition();
114 }); 114 });
115 115
116 menu.addEventListener('click', (e) => { 116 menu.addEventListener('click', (e) => {
117 117
118 if (e.target == menu) { 118 if (e.target == menu) {
119 menu.classList.remove('active'); 119 menu.classList.remove('active');
120 this.unfixBodyPosition(); 120 this.unfixBodyPosition();
121 } 121 }
122 122
123 }); 123 });
124 124
125 menuClose.addEventListener('click', () => { 125 menuClose.addEventListener('click', () => {
126 menu.classList.remove('active'); 126 menu.classList.remove('active');
127 this.unfixBodyPosition(); 127 this.unfixBodyPosition();
128 }); 128 });
129 129
130 } 130 }
131 131
132 } 132 }
133 133
134 134
135 // липкий хедер 135 // липкий хедер
136 stickyHeader() { 136 stickyHeader() {
137 137
138 const header = document.querySelector('.js_header'); 138 const header = document.querySelector('.js_header');
139 139
140 if (header) { 140 if (header) {
141 141
142 window.addEventListener('scroll', () => { 142 window.addEventListener('scroll', () => {
143 143
144 if (window.scrollY > 200) { 144 if (window.scrollY > 200) {
145 header.classList.add('fixed'); 145 header.classList.add('fixed');
146 } else { 146 } else {
147 header.classList.remove('fixed'); 147 header.classList.remove('fixed');
148 } 148 }
149 149
150 }); 150 });
151 151
152 }; 152 };
153 153
154 } 154 }
155 155
156 156
157 // плавный скролл к якорю (smooth scroll) 157 // плавный скролл к якорю (smooth scroll)
158 smoothScroll() { 158 smoothScroll() {
159 159
160 const smoothLinks = document.querySelectorAll('.js_smooth_link'); 160 const smoothLinks = document.querySelectorAll('.js_smooth_link');
161 161
162 if (smoothLinks.length) { 162 if (smoothLinks.length) {
163 163
164 smoothLinks.forEach(link => { 164 smoothLinks.forEach(link => {
165 165
166 link.addEventListener('click', function (e) { 166 link.addEventListener('click', function (e) {
167 167
168 e.preventDefault(); 168 e.preventDefault();
169 169
170 let href = this.getAttribute('href').substring(1); 170 let href = this.getAttribute('href').substring(1);
171 171
172 const scrollTarget = document.getElementById(href); 172 const scrollTarget = document.getElementById(href);
173 173
174 // const topOffset = document.querySelector('.header').offsetHeight; 174 // const topOffset = document.querySelector('.header').offsetHeight;
175 const topOffset = 0; // если не нужен отступ сверху 175 const topOffset = 0; // если не нужен отступ сверху
176 const elementPosition = scrollTarget.getBoundingClientRect().top; 176 const elementPosition = scrollTarget.getBoundingClientRect().top;
177 const offsetPosition = elementPosition - topOffset; 177 const offsetPosition = elementPosition - topOffset;
178 178
179 window.scrollBy({ 179 window.scrollBy({
180 top: offsetPosition, 180 top: offsetPosition,
181 behavior: 'smooth' 181 behavior: 'smooth'
182 }); 182 });
183 183
184 }); 184 });
185 185
186 }); 186 });
187 187
188 } 188 }
189 189
190 } 190 }
191 191
192 192
193 // кнопка наверх 193 // кнопка наверх
194 scrollUp() { 194 scrollUp() {
195 195
196 const toTopBtn = document.querySelector('.js_btn_up'); 196 const toTopBtn = document.querySelector('.js_btn_up');
197 197
198 if (toTopBtn) { 198 if (toTopBtn) {
199 199
200 toTopBtn.addEventListener('click', function () { 200 toTopBtn.addEventListener('click', function () {
201 201
202 window.scrollTo({ 202 window.scrollTo({
203 top: 0, 203 top: 0,
204 behavior: 'smooth' 204 behavior: 'smooth'
205 }); 205 });
206 206
207 }); 207 });
208 208
209 } 209 }
210 210
211 } 211 }
212 212
213 213
214 // добавить в избранное (звёздочка) 214 // добавить в избранное (звёздочка)
215 addToFavorites() { 215 addToFavorites() {
216 216
217 const cardFavorites = document.querySelectorAll('.js_card_favorites'); 217 const cardFavorites = document.querySelectorAll('.js_card_favorites');
218 218
219 if (cardFavorites.length) { 219 if (cardFavorites.length) {
220 220
221 cardFavorites.forEach(item => { 221 cardFavorites.forEach(item => {
222 222
223 item.addEventListener('click', (e) => { 223 item.addEventListener('click', (e) => {
224 e.preventDefault(); 224 e.preventDefault();
225 item.classList.toggle('active'); 225 item.classList.toggle('active');
226 }); 226 });
227 227
228 }); 228 });
229 229
230 } 230 }
231 231
232 } 232 }
233 233
234 234
235 // типовые слайдеры 235 // типовые слайдеры
236 initTypicalSlider() { 236 initTypicalSlider() {
237 237
238 const slidersWraps = document.querySelectorAll('.slider__wrap'); 238 const slidersWraps = document.querySelectorAll('.slider__wrap');
239 239
240 if (slidersWraps.length) { 240 if (slidersWraps.length) {
241 241
242 slidersWraps.forEach(wrap => { 242 slidersWraps.forEach(wrap => {
243 243
244 const slider = wrap.querySelector('.swiper'); 244 const slider = wrap.querySelector('.swiper');
245 const prev = wrap.querySelector('.swiper-button-prev'); 245 const prev = wrap.querySelector('.swiper-button-prev');
246 const next = wrap.querySelector('.swiper-button-next'); 246 const next = wrap.querySelector('.swiper-button-next');
247 const pagination = wrap.querySelector('.swiper-pagination'); 247 const pagination = wrap.querySelector('.swiper-pagination');
248 248
249 let swiper1 = new Swiper(slider, { 249 let swiper1 = new Swiper(slider, {
250 navigation: { 250 navigation: {
251 nextEl: next, 251 nextEl: next,
252 prevEl: prev, 252 prevEl: prev,
253 }, 253 },
254 pagination: { 254 pagination: {
255 el: pagination, 255 el: pagination,
256 clickable: true, 256 clickable: true,
257 }, 257 },
258 slidesPerView: 1, 258 slidesPerView: 1,
259 spaceBetween: 20, 259 spaceBetween: 20,
260 observer: true, 260 observer: true,
261 observeParents: true, 261 observeParents: true,
262 observeSlideChildren: true, 262 observeSlideChildren: true,
263 breakpoints: { 263 breakpoints: {
264 480: { 264 480: {
265 slidesPerView: 1.5, 265 slidesPerView: 1.5,
266 }, 266 },
267 640: { 267 640: {
268 slidesPerView: 2, 268 slidesPerView: 2,
269 }, 269 },
270 780: { 270 780: {
271 slidesPerView: 2.5, 271 slidesPerView: 2.5,
272 }, 272 },
273 920: { 273 920: {
274 slidesPerView: 3, 274 slidesPerView: 3,
275 }, 275 },
276 1024: { 276 1024: {
277 slidesPerView: 3.4 277 slidesPerView: 3.4
278 }, 278 },
279 1200: { 279 1200: {
280 slidesPerView: 4, 280 slidesPerView: 4,
281 } 281 }
282 } 282 }
283 }); 283 });
284 284
285 }); 285 });
286 286
287 } 287 }
288 288
289 } 289 }
290 290
291 291
292 // метод, делающий число удобночитаемым (добавляет пробел справа через каждые 3 цифры) 292 // метод, делающий число удобночитаемым (добавляет пробел справа через каждые 3 цифры)
293 prettify(num) { 293 prettify(num) {
294 const withoutSpace = num.replace(/[^\d]/g, ''); //убирает все символы; 294 const withoutSpace = num.replace(/[^\d]/g, ''); //убирает все символы;
295 return withoutSpace.replace(/(?!^)(?=(?:\d{3})+(?:\.|$))/gm, ' '); //ставит пробелы; 295 return withoutSpace.replace(/(?!^)(?=(?:\d{3})+(?:\.|$))/gm, ' '); //ставит пробелы;
296 } 296 }
297 297
298 298
299 // фильтры на главном экране 299 // фильтры на главном экране
300 controlFilters() { 300 controlFilters() {
301 301
302 const heroFilters = document.querySelectorAll('.js_hero_filter'); 302 const heroFilters = document.querySelectorAll('.js_hero_filter');
303 const heroSearchBtns = document.querySelectorAll('.js_hero_search_btn'); 303 const heroSearchBtns = document.querySelectorAll('.js_hero_search_btn');
304 304
305 if (heroFilters.length) { 305 if (heroFilters.length) {
306 306
307 heroFilters.forEach(filter => { 307 heroFilters.forEach(filter => {
308 308
309 const heroFilterInput = filter.querySelector('.js_hero_filter_input'); 309 const heroFilterInput = filter.querySelector('.js_hero_filter_input');
310 const heroFilterCurrent = filter.querySelector('.js_hero_filter_current'); 310 const heroFilterCurrent = filter.querySelector('.js_hero_filter_current');
311 const heroFilterItems = filter.querySelectorAll('.hero-filter__item'); 311 const heroFilterItems = filter.querySelectorAll('.hero-filter__item');
312 const heroFilterFields = filter.querySelectorAll('.js_hero_filter_field'); 312 const heroFilterFields = filter.querySelectorAll('.js_hero_filter_field');
313 const heroFilterFrom = filter.querySelector('.js_hero_filter_from'); 313 const heroFilterFrom = filter.querySelector('.js_hero_filter_from');
314 const heroFilterTo = filter.querySelector('.js_hero_filter_to'); 314 const heroFilterTo = filter.querySelector('.js_hero_filter_to');
315 const heroFilterReset = filter.querySelector('.js_hero_filter_reset'); 315 const heroFilterReset = filter.querySelector('.js_hero_filter_reset');
316 316
317 heroFilterCurrent.addEventListener('click', () => { 317 heroFilterCurrent.addEventListener('click', () => {
318 318
319 if (filter.classList.contains('active')) { 319 if (filter.classList.contains('active')) {
320 320
321 filter.classList.remove('active'); 321 filter.classList.remove('active');
322 322
323 heroSearchBtns.forEach(btn => { 323 heroSearchBtns.forEach(btn => {
324 btn.disabled = false; 324 btn.disabled = false;
325 }); 325 });
326 326
327 } else { 327 } else {
328 328
329 heroFilters.forEach(filter => { 329 heroFilters.forEach(filter => {
330 filter.classList.remove('active'); 330 filter.classList.remove('active');
331 }); 331 });
332 332
333 filter.classList.add('active'); 333 filter.classList.add('active');
334 334
335 heroSearchBtns.forEach(btn => { 335 heroSearchBtns.forEach(btn => {
336 btn.disabled = true; 336 btn.disabled = true;
337 }); 337 });
338 338
339 } 339 }
340 340
341 }); 341 });
342 342
343 if (heroFilterItems.length) { 343 if (heroFilterItems.length) {
344 344
345 heroFilterItems.forEach(item => { 345 heroFilterItems.forEach(item => {
346 346
347 item.addEventListener('click', () => { 347 item.addEventListener('click', () => {
348 348
349 heroFilterCurrent.textContent = item.textContent; 349 heroFilterCurrent.textContent = item.textContent;
350 heroFilterInput.value = item.dataset.val; 350 heroFilterInput.value = item.dataset.val;
351 filter.classList.remove('active'); 351 filter.classList.remove('active');
352 352
353 heroSearchBtns.forEach(btn => { 353 heroSearchBtns.forEach(btn => {
354 btn.disabled = false; 354 btn.disabled = false;
355 }); 355 });
356 356
357 }); 357 });
358 358
359 }); 359 });
360 360
361 } 361 }
362 362
363 if (heroFilterFields.length) { 363 if (heroFilterFields.length) {
364 364
365 const heroFilterMin = heroFilterFrom.dataset.min; 365 const heroFilterMin = heroFilterFrom.dataset.min;
366 const heroFilterMax = heroFilterTo.dataset.max; 366 const heroFilterMax = heroFilterTo.dataset.max;
367 367
368 let heroFilterFromVal; 368 let heroFilterFromVal;
369 let heroFilterToVal; 369 let heroFilterToVal;
370 370
371 heroFilterFields.forEach(field => { 371 heroFilterFields.forEach(field => {
372 372
373 field.addEventListener('input', () => { 373 field.addEventListener('input', () => {
374 374
375 field.value = this.prettify(field.value); 375 field.value = this.prettify(field.value);
376 376
377 heroFilterReset.classList.remove('active'); 377 heroFilterReset.classList.remove('active');
378 378
379 heroFilterFields.forEach(field => { 379 heroFilterFields.forEach(field => {
380 380
381 if (field.value != "") { 381 if (field.value != "") {
382 heroFilterReset.classList.add('active'); 382 heroFilterReset.classList.add('active');
383 } 383 }
384 384
385 }); 385 });
386 386
387 }); 387 });
388 388
389 }); 389 });
390 390
391 heroFilterFrom.addEventListener('change', () => { 391 heroFilterFrom.addEventListener('change', () => {
392 392
393 heroFilterFromVal = +heroFilterFrom.value.replace(/\s/g, ''); 393 heroFilterFromVal = +heroFilterFrom.value.replace(/\s/g, '');
394 heroFilterToVal = +heroFilterTo.value.replace(/\s/g, ''); 394 heroFilterToVal = +heroFilterTo.value.replace(/\s/g, '');
395 395
396 if (heroFilterToVal != '' && heroFilterFromVal > heroFilterToVal) { 396 if (heroFilterToVal != '' && heroFilterFromVal > heroFilterToVal) {
397 397
398 heroFilterFrom.value = heroFilterTo.value; 398 heroFilterFrom.value = heroFilterTo.value;
399 399
400 } else if (heroFilterFromVal < +heroFilterMin) { 400 } else if (heroFilterFromVal < +heroFilterMin) {
401 401
402 heroFilterFrom.value = this.prettify(heroFilterMin); 402 heroFilterFrom.value = this.prettify(heroFilterMin);
403 403
404 } else if (heroFilterFromVal > +heroFilterMax) { 404 } else if (heroFilterFromVal > +heroFilterMax) {
405 405
406 heroFilterFrom.value = this.prettify(heroFilterMax); 406 heroFilterFrom.value = this.prettify(heroFilterMax);
407 407
408 } 408 }
409 409
410 }); 410 });
411 411
412 heroFilterTo.addEventListener('change', () => { 412 heroFilterTo.addEventListener('change', () => {
413 413
414 heroFilterFromVal = +heroFilterFrom.value.replace(/\s/g, ''); 414 heroFilterFromVal = +heroFilterFrom.value.replace(/\s/g, '');
415 heroFilterToVal = +heroFilterTo.value.replace(/\s/g, ''); 415 heroFilterToVal = +heroFilterTo.value.replace(/\s/g, '');
416 416
417 if (heroFilterFromVal != '' && heroFilterToVal < heroFilterFromVal) { 417 if (heroFilterFromVal != '' && heroFilterToVal < heroFilterFromVal) {
418 418
419 heroFilterTo.value = heroFilterFrom.value; 419 heroFilterTo.value = heroFilterFrom.value;
420 420
421 } else if (heroFilterToVal < +heroFilterMin) { 421 } else if (heroFilterToVal < +heroFilterMin) {
422 422
423 heroFilterTo.value = this.prettify(heroFilterMax); 423 heroFilterTo.value = this.prettify(heroFilterMax);
424 424
425 } else if (heroFilterToVal > +heroFilterMax) { 425 } else if (heroFilterToVal > +heroFilterMax) {
426 426
427 heroFilterTo.value = this.prettify(heroFilterMax); 427 heroFilterTo.value = this.prettify(heroFilterMax);
428 428
429 } 429 }
430 430
431 }); 431 });
432 432
433 heroFilterReset.addEventListener('click', () => { 433 heroFilterReset.addEventListener('click', () => {
434 434
435 heroFilterFields.forEach(field => { 435 heroFilterFields.forEach(field => {
436 field.value = ''; 436 field.value = '';
437 }); 437 });
438 438
439 heroFilterReset.classList.remove('active'); 439 heroFilterReset.classList.remove('active');
440 440
441 }); 441 });
442 } 442 }
443 443
444 }); 444 });
445 445
446 document.addEventListener('click', (e) => { 446 document.addEventListener('click', (e) => {
447 447
448 if (!e.target.closest('.js_hero_filter_dropdown') && !e.target.closest('.js_hero_filter_current')) { 448 if (!e.target.closest('.js_hero_filter_dropdown') && !e.target.closest('.js_hero_filter_current')) {
449 449
450 heroFilters.forEach(filter => { 450 heroFilters.forEach(filter => {
451 filter.classList.remove('active'); 451 filter.classList.remove('active');
452 }); 452 });
453 453
454 heroSearchBtns.forEach(btn => { 454 heroSearchBtns.forEach(btn => {
455 btn.disabled = false; 455 btn.disabled = false;
456 }); 456 });
457 457
458 } 458 }
459 459
460 }); 460 });
461 461
462 } 462 }
463 463
464 } 464 }
465 465
466 466
467 // открытие/закрытие типовых поп-апов 467 // открытие/закрытие типовых поп-апов
468 controlPopups() { 468 controlPopups() {
469 469
470 const popupShowBtns = document.querySelectorAll('[data-btn]'); 470 const popupShowBtns = document.querySelectorAll('[data-btn]');
471 const popups = document.querySelectorAll('[data-popup]'); 471 const popups = document.querySelectorAll('[data-popup]');
472 472
473 if (popupShowBtns.length) { 473 if (popupShowBtns.length) {
474 474
475 popupShowBtns.forEach(btn => { 475 popupShowBtns.forEach(btn => {
476 476
477 btn.addEventListener('click', (e) => { 477 btn.addEventListener('click', (e) => {
478 478
479 e.preventDefault(); 479 e.preventDefault();
480 480
481 popups.forEach(popup => { 481 popups.forEach(popup => {
482 482
483 popup.classList.remove('active'); // если какойто поп-ап открыт, то закрываем его; 483 popup.classList.remove('active'); // если какойто поп-ап открыт, то закрываем его;
484 this.unfixBodyPosition(); 484 this.unfixBodyPosition();
485 485
486 if (btn.dataset.btn == popup.dataset.popup) { 486 if (btn.dataset.btn == popup.dataset.popup) {
487 popup.classList.add('active'); 487 popup.classList.add('active');
488 this.fixBodyPosition(); 488 this.fixBodyPosition();
489 } 489 }
490 490
491 }); 491 });
492 492
493 493
494 }); 494 });
495 495
496 }); 496 });
497 497
498 popups.forEach(popup => { 498 popups.forEach(popup => {
499 499
500 const popupCloseBtns = popup.querySelectorAll('.js_popup_close'); 500 const popupCloseBtns = popup.querySelectorAll('.js_popup_close');
501 501
502 popupCloseBtns.forEach(btn => { 502 popupCloseBtns.forEach(btn => {
503 503
504 btn.addEventListener('click', (e) => { 504 btn.addEventListener('click', (e) => {
505 e.preventDefault(); 505 e.preventDefault();
506 popup.classList.remove('active'); 506 popup.classList.remove('active');
507 this.unfixBodyPosition(); 507 this.unfixBodyPosition();
508 }); 508 });
509 509
510 }); 510 });
511 511
512 popup.addEventListener('click', (e) => { 512 popup.addEventListener('click', (e) => {
513 513
514 if (e.target == popup) { 514 if (e.target == popup) {
515 515
516 popup.classList.remove('active'); 516 popup.classList.remove('active');
517 this.unfixBodyPosition(); 517 this.unfixBodyPosition();
518 } 518 }
519 519
520 }); 520 });
521 521
522 }); 522 });
523 523
524 } 524 }
525 } 525 }
526 526
527 527
528 // открытие/закрытие поп-апа 'обратный звонок' 528 // открытие/закрытие поп-апа 'обратный звонок'
529 controlContactUsPopup() { 529 controlContactUsPopup() {
530 530
531 const contactUsBtn = document.querySelector('.js_btn_contact_us'); 531 const contactUsBtn = document.querySelector('.js_btn_contact_us');
532 const contactUsPopup = document.querySelector('.js_contact_us'); 532 const contactUsPopup = document.querySelector('.js_contact_us');
533 533
534 if (contactUsPopup) { 534 if (contactUsPopup) {
535 535
536 const contactUsPopupCloseBtns = contactUsPopup.querySelectorAll('.js_contact_us_close'); 536 const contactUsPopupCloseBtns = contactUsPopup.querySelectorAll('.js_contact_us_close');
537 537
538 contactUsBtn.addEventListener('click', (e) => { 538 contactUsBtn.addEventListener('click', (e) => {
539 539
540 e.preventDefault(); 540 e.preventDefault();
541 541
542 if (contactUsPopup.classList.contains('active')) { 542 if (contactUsPopup.classList.contains('active')) {
543 contactUsPopup.classList.remove('active'); 543 contactUsPopup.classList.remove('active');
544 } else { 544 } else {
545 contactUsPopup.classList.add('active'); 545 contactUsPopup.classList.add('active');
546 } 546 }
547 547
548 }); 548 });
549 549
550 contactUsPopupCloseBtns.forEach(btn => { 550 contactUsPopupCloseBtns.forEach(btn => {
551 btn.addEventListener('click', () => { 551 btn.addEventListener('click', () => {
552 contactUsPopup.classList.remove('active'); 552 contactUsPopup.classList.remove('active');
553 }); 553 });
554 }); 554 });
555 555
556 556
557 document.addEventListener('click', (e) => { 557 document.addEventListener('click', (e) => {
558 558
559 if (!e.target.closest('.js_contact_us') && !e.target.closest('.js_btn_contact_us')) { 559 if (!e.target.closest('.js_contact_us') && !e.target.closest('.js_btn_contact_us')) {
560 contactUsPopup.classList.remove('active'); 560 contactUsPopup.classList.remove('active');
561 } 561 }
562 562
563 }); 563 });
564 564
565 } 565 }
566 566
567 } 567 }
568 568
569 569
570 // валидатор форм 570 // валидатор форм
571 validateForm(input) { 571 validateForm(input) {
572 572
573 // функция добавления ошибки 573 // функция добавления ошибки
574 const createError = (text) => { 574 const createError = (text) => {
575 575
576 input.classList.add('error'); 576 input.classList.add('error');
577 input.classList.remove('no-error'); 577 input.classList.remove('no-error');
578 578
579 if (input.closest('label').querySelector('span.error')) { 579 if (input.closest('label').querySelector('span.error')) {
580 input.closest('label').querySelector('span.error').remove(); 580 input.closest('label').querySelector('span.error').remove();
581 input.closest('label').insertAdjacentHTML('beforeend', `<span class="error">${text}</span>`); 581 input.closest('label').insertAdjacentHTML('beforeend', `<span class="error">${text}</span>`);
582 } else { 582 } else {
583 input.closest('label').insertAdjacentHTML('beforeend', `<span class="error">${text}</span>`); 583 input.closest('label').insertAdjacentHTML('beforeend', `<span class="error">${text}</span>`);
584 } 584 }
585 585
586 } 586 }
587 587
588 // функция удаления ошибки 588 // функция удаления ошибки
589 const removeError = () => { 589 const removeError = () => {
590 590
591 input.classList.remove('error'); 591 input.classList.remove('error');
592 input.classList.add('no-error'); 592 input.classList.add('no-error');
593 593
594 if (input.closest('label').querySelector('span.error')) { 594 if (input.closest('label').querySelector('span.error')) {
595 input.closest('label').querySelector('span.error').remove(); 595 input.closest('label').querySelector('span.error').remove();
596 } 596 }
597 597
598 } 598 }
599 599
600 // проверяем на правильность заполнения поля 'Телефон' 600 // проверяем на правильность заполнения поля 'Телефон'
601 if (input.classList.contains('js_input_phone') && input.value == "") { 601 if (input.classList.contains('js_input_phone') && input.value == "") {
602 createError('Заполните, пожалуйста, поле'); 602 createError('Заполните, пожалуйста, поле');
603 } else if (input.classList.contains('js_input_phone') && input.value.search(this.patternPhone) == 0) { 603 } else if (input.classList.contains('js_input_phone') && input.value.search(this.patternPhone) == 0) {
604 removeError(); 604 removeError();
605 } else if (input.classList.contains('js_input_phone')) { 605 } else if (input.classList.contains('js_input_phone')) {
606 createError('Укажите, пожалуйста, корректный телефон'); 606 createError('Укажите, пожалуйста, корректный телефон');
607 } 607 }
608 608
609 // проверяем правильность заполнения поля 'Электронная почта' 609 // проверяем правильность заполнения поля 'Электронная почта'
610 if (input.classList.contains('js_input_email') && input.value == "") { 610 if (input.classList.contains('js_input_email') && input.value == "") {
611 createError('Заполните, пожалуйста, поле'); 611 createError('Заполните, пожалуйста, поле');
612 } else if (input.classList.contains('js_input_email') && input.value.search(this.patternEmail) == 0) { 612 } else if (input.classList.contains('js_input_email') && input.value.search(this.patternEmail) == 0) {
613 removeError(); 613 removeError();
614 } else if (input.classList.contains('js_input_email')) { 614 } else if (input.classList.contains('js_input_email')) {
615 createError('Укажите, пожалуйста, корректный e-mail'); 615 createError('Укажите, пожалуйста, корректный e-mail');
616 } 616 }
617 617
618 } 618 }
619 619
620 620
621 // отправка форм 621 // отправка форм
622 sendForm(formEl, url, success) { 622 sendForm(formEl, url, success) {
623 623
624 const form = document.querySelector(formEl); 624 const form = document.querySelector(formEl);
625 625
626 if (form) { 626 if (form) {
627 627
628 form.addEventListener('submit', async (e) => { 628 form.addEventListener('submit', async (e) => {
629 629
630 e.preventDefault(); 630 e.preventDefault();
631 631
632 const formInputs = form.querySelectorAll('input'); 632 const formInputs = form.querySelectorAll('input');
633 const formBtn = form.querySelector('.js_form_btn'); 633 const formBtn = form.querySelector('.js_form_btn');
634 634
635 formInputs.forEach(input => { // перебираем все инпуты в форме; 635 formInputs.forEach(input => { // перебираем все инпуты в форме;
636 636
637 this.validateForm(input); 637 this.validateForm(input);
638 638
639 input.addEventListener('input', () => { 639 input.addEventListener('input', () => {
640 this.validateForm(input); 640 this.validateForm(input);
641 }); 641 });
642 642
643 }); 643 });
644 644
645 if (!form.querySelector('.error')) { //проверяем, чтоб все инпуты прошли валидацию (чтоб не было в форме ни одного элемента с класссом error); 645 if (!form.querySelector('.error')) { //проверяем, чтоб все инпуты прошли валидацию (чтоб не было в форме ни одного элемента с класссом error);
646 646
647 // сюда пишем команды, которые должны сработать после успешной валидации; 647 // сюда пишем команды, которые должны сработать после успешной валидации;
648 648
649 console.log('validate'); 649 console.log('validate');
650 formBtn.classList.add('btn-animate'); 650 formBtn.classList.add('btn-animate');
651 formBtn.disabled = true; 651 formBtn.disabled = true;
652 652
653 const formData = new FormData(form); 653 const formData = new FormData(form);
654 654
655 // console.log(...formData); 655 // console.log(...formData);
656 656
657 const response = await fetch(url, { 657 const response = await fetch(url, {
658 method: "POST", 658 method: "POST",
659 body: formData 659 body: formData
660 }); 660 });
661 661
662 if (response.ok) { 662 if (response.ok) {
663 663
664 setTimeout(() => { // имитация отправки, когда отправка будет настроена, нужно достать всё из setTimeout() и удалить его; 664 setTimeout(() => { // имитация отправки, когда отправка будет настроена, нужно достать всё из setTimeout() и удалить его;
665 665
666 console.log('Отправлено'); 666 console.log('Отправлено');
667 formBtn.classList.remove('btn-animate'); 667 formBtn.classList.remove('btn-animate');
668 formBtn.disabled = false; 668 formBtn.disabled = false;
669 if (document.querySelector('[data-popup="feedback"]')) { 669 if (document.querySelector('[data-popup="feedback"]')) {
670 document.querySelector('[data-popup="feedback"]').classList.remove('active'); 670 document.querySelector('[data-popup="feedback"]').classList.remove('active');
671 } 671 }
672 if (document.querySelector('[data-popup="viewing"]')) { 672 if (document.querySelector('[data-popup="viewing"]')) {
673 document.querySelector('[data-popup="viewing"]').classList.remove('active'); 673 document.querySelector('[data-popup="viewing"]').classList.remove('active');
674 } 674 }
675 document.querySelector(success).classList.add('active'); 675 document.querySelector(success).classList.add('active');
676 this.fixBodyPosition(); 676 this.fixBodyPosition();
677 form.reset(); 677 form.reset();
678 678
679 formInputs.forEach(input => { 679 formInputs.forEach(input => {
680 input.classList.remove('no-error'); 680 input.classList.remove('no-error');
681 }); 681 });
682 682
683 }, 2000) 683 }, 2000)
684 684
685 } else { 685 } else {
686 formBtn.classList.remove('btn-animate'); 686 formBtn.classList.remove('btn-animate');
687 formBtn.disabled = false; 687 formBtn.disabled = false;
688 alert('Ошибка'); 688 alert('Ошибка');
689 } 689 }
690 690
691 } else { 691 } else {
692 console.log('no-validate'); 692 console.log('no-validate');
693 form.querySelector('.error').focus(); //фокус к полю с ошибкой; 693 form.querySelector('.error').focus(); //фокус к полю с ошибкой;
694 } 694 }
695 695
696 }); 696 });
697 697
698 } 698 }
699 699
700 } 700 }
701 701
702 //отправка предложения по e-mail 702 //отправка предложения по e-mail
703 sendOffer() { 703 sendOffer() {
704 704
705 const form = document.querySelector('.js_popup_sending_form'); 705 const form = document.querySelector('.js_popup_sending_form');
706 706
707 if (form) { 707 if (form) {
708 708
709 form.addEventListener('submit', async (e) => { 709 form.addEventListener('submit', async (e) => {
710 710
711 e.preventDefault(); 711 e.preventDefault();
712 712
713 const formInputs = form.querySelectorAll('input'); 713 const formInputs = form.querySelectorAll('input');
714 const formBtn = form.querySelector('.js_form_btn'); 714 const formBtn = form.querySelector('.js_form_btn');
715 715
716 formInputs.forEach(input => { // перебираем все инпуты в форме; 716 formInputs.forEach(input => { // перебираем все инпуты в форме;
717 717
718 this.validateForm(input); 718 this.validateForm(input);
719 719
720 input.addEventListener('input', () => { 720 input.addEventListener('input', () => {
721 this.validateForm(input); 721 this.validateForm(input);
722 }); 722 });
723 723
724 }); 724 });
725 725
726 if (!form.querySelector('.error')) { //проверяем, чтоб все инпуты прошли валидацию (чтоб не было в форме ни одного элемента с класссом error); 726 if (!form.querySelector('.error')) { //проверяем, чтоб все инпуты прошли валидацию (чтоб не было в форме ни одного элемента с класссом error);
727 727
728 // сюда пишем команды, которые должны сработать после успешной валидации; 728 // сюда пишем команды, которые должны сработать после успешной валидации;
729 729
730 console.log('validate'); 730 console.log('validate');
731 formBtn.classList.add('btn-animate'); 731 formBtn.classList.add('btn-animate');
732 formBtn.disabled = true; 732 formBtn.disabled = true;
733 733
734 const formData = new FormData(form); 734 const formData = new FormData(form);
735 735
736 // console.log(...formData); 736 // console.log(...formData);
737 737
738 const response = await fetch('server.php', { 738 const response = await fetch('server.php', {
739 method: "POST", 739 method: "POST",
740 body: formData 740 body: formData
741 }); 741 });
742 742
743 if (response.ok) { 743 if (response.ok) {
744 744
745 setTimeout(() => { // имитация отправки, когда отправка будет настроена, нужно достать всё из setTimeout() и удалить его; 745 setTimeout(() => { // имитация отправки, когда отправка будет настроена, нужно достать всё из setTimeout() и удалить его;
746 746
747 console.log('Отправлено'); 747 console.log('Отправлено');
748 formBtn.classList.remove('btn-animate'); 748 formBtn.classList.remove('btn-animate');
749 formBtn.disabled = false; 749 formBtn.disabled = false;
750 if (document.querySelector('[data-popup="sending"]')) { 750 if (document.querySelector('[data-popup="sending"]')) {
751 document.querySelector('[data-popup="sending"]').classList.remove('active'); 751 document.querySelector('[data-popup="sending"]').classList.remove('active');
752 } 752 }
753 this.fixBodyPosition(); 753 this.fixBodyPosition();
754 form.reset(); 754 form.reset();
755 755
756 formInputs.forEach(input => { 756 formInputs.forEach(input => {
757 input.classList.remove('no-error'); 757 input.classList.remove('no-error');
758 }); 758 });
759 759
760 }, 2000) 760 }, 2000)
761 761
762 } else { 762 } else {
763 formBtn.classList.remove('btn-animate'); 763 formBtn.classList.remove('btn-animate');
764 formBtn.disabled = false; 764 formBtn.disabled = false;
765 alert('Ошибка'); 765 alert('Ошибка');
766 } 766 }
767 767
768 } else { 768 } else {
769 console.log('no-validate'); 769 console.log('no-validate');
770 form.querySelector('.error').focus(); //фокус к полю с ошибкой; 770 form.querySelector('.error').focus(); //фокус к полю с ошибкой;
771 } 771 }
772 772
773 }); 773 });
774 774
775 } 775 }
776 776
777 } 777 }
778 778
779 779
780 // карта на странице 'ЖК' 780 // карта на странице 'ЖК'
781 setComplexMap(id, coords, caption) { 781 setComplexMap(id, coords, caption) {
782 782
783 if (document.querySelector('#' + id)) { 783 if (document.querySelector('#' + id)) {
784 784
785 // Дождёмся загрузки API и готовности DOM. 785 // Дождёмся загрузки API и готовности DOM.
786 ymaps.ready(init); 786 ymaps.ready(init);
787 787
788 function init() { 788 function init() {
789 const map = new ymaps.Map(id, { 789 const map = new ymaps.Map(id, {
790 // При инициализации карты обязательно нужно указать её центр и коэффициент масштабирования. 790 // При инициализации карты обязательно нужно указать её центр и коэффициент масштабирования.
791 center: coords, 791 center: coords,
792 zoom: 16, 792 zoom: 16,
793 controls: [] 793 controls: []
794 }); 794 });
795 795
796 // Создаём макет содержимого. 796 // Создаём макет содержимого.
797 const MyIconContentLayout = ymaps.templateLayoutFactory.createClass( 797 const MyIconContentLayout = ymaps.templateLayoutFactory.createClass(
798 '<div style="color: #FFFFFF; font-weight: bold;">$[properties.iconContent]</div>' 798 '<div style="color: #FFFFFF; font-weight: bold;">$[properties.iconContent]</div>'
799 ); 799 );
800 800
801 // Создание макета содержимого хинта. 801 // Создание макета содержимого хинта.
802 // Макет создается через фабрику макетов с помощью текстового шаблона. 802 // Макет создается через фабрику макетов с помощью текстового шаблона.
803 const HintLayout = ymaps.templateLayoutFactory.createClass("<div class='my-hint'>" + 803 const HintLayout = ymaps.templateLayoutFactory.createClass("<div class='my-hint'>" +
804 "{{ properties.object }}" + "</div>", { 804 "{{ properties.object }}" + "</div>", {
805 // Определяем метод getShape, который 805 // Определяем метод getShape, который
806 // будет возвращать размеры макета хинта. 806 // будет возвращать размеры макета хинта.
807 // Это необходимо для того, чтобы хинт автоматически 807 // Это необходимо для того, чтобы хинт автоматически
808 // сдвигал позицию при выходе за пределы карты. 808 // сдвигал позицию при выходе за пределы карты.
809 getShape: function () { 809 getShape: function () {
810 let el = this.getElement(), 810 let el = this.getElement(),
811 result = null; 811 result = null;
812 if (el) { 812 if (el) {
813 var firstChild = el.firstChild; 813 var firstChild = el.firstChild;
814 result = new ymaps.shape.Rectangle( 814 result = new ymaps.shape.Rectangle(
815 new ymaps.geometry.pixel.Rectangle([ 815 new ymaps.geometry.pixel.Rectangle([
816 [0, 0], 816 [0, 0],
817 [firstChild.offsetWidth, firstChild.offsetHeight] 817 [firstChild.offsetWidth, firstChild.offsetHeight]
818 ]) 818 ])
819 ); 819 );
820 } 820 }
821 return result; 821 return result;
822 } 822 }
823 } 823 }
824 ); 824 );
825 825
826 // метка 826 // метка
827 const placemark = new ymaps.Placemark(coords, { 827 const placemark = new ymaps.Placemark(coords, {
828 // hintContent: caption, 828 // hintContent: caption,
829 // balloonContent: caption, 829 // balloonContent: caption,
830 iconContent: '1', 830 iconContent: '1',
831 // address: caption, 831 // address: caption,
832 object: caption 832 object: caption
833 }, { 833 }, {
834 iconLayout: 'default#imageWithContent', 834 iconLayout: 'default#imageWithContent',
835 iconImageHref: 'images/mark-complex.svg', 835 iconImageHref: 'images/mark-complex.svg',
836 iconImageSize: [52, 67], 836 iconImageSize: [52, 67],
837 iconImageOffset: [-26, -67], 837 iconImageOffset: [-26, -67],
838 iconContentOffset: [0, 17], 838 iconContentOffset: [0, 17],
839 iconContentLayout: MyIconContentLayout, 839 iconContentLayout: MyIconContentLayout,
840 hintLayout: HintLayout 840 hintLayout: HintLayout
841 }); 841 });
842 842
843 map.geoObjects.add(placemark); 843 map.geoObjects.add(placemark);
844 844
845 } 845 }
846 846
847 } 847 }
848 848
849 } 849 }
850 850
851 851
852 // фильтры и сортировка на странице 'каталог' 852 // фильтры и сортировка на странице 'каталог'
853 setCatalogSorts() { 853 setCatalogSorts() {
854 854
855 const sortGroups = document.querySelectorAll('.js_sort_group'); 855 const sortGroups = document.querySelectorAll('.js_sort_group');
856 856
857 if (sortGroups.length) { 857 if (sortGroups.length) {
858 858
859 sortGroups.forEach(group => { 859 sortGroups.forEach(group => {
860 860
861 const sortGroupInput = group.querySelector('.js_sort_group_input'); 861 const sortGroupInput = group.querySelector('.js_sort_group_input');
862 const sortGroupCurrent = group.querySelector('.js_sort_group_current'); 862 const sortGroupCurrent = group.querySelector('.js_sort_group_current');
863 const sortGroupList = group.querySelector('.js_sort_group_list'); 863 const sortGroupList = group.querySelector('.js_sort_group_list');
864 const sortGroupItems = group.querySelectorAll('.js_sort_group_item'); 864 const sortGroupItems = group.querySelectorAll('.js_sort_group_item');
865 865
866 const sendRequest = () => { 866 const sendRequest = () => {
867 867
868 const spinner = document.querySelector('.spinner'); // спиннер; 868 const spinner = document.querySelector('.spinner'); // спиннер;
869 869
870 spinner.classList.add('active'); 870 spinner.classList.add('active');
871 document.body.classList.add('overlay'); 871 document.body.classList.add('overlay');
872 this.fixBodyPosition(); 872 //this.fixBodyPosition();
873 873
874 /*
874 fetch('test.json') 875 fetch('test.json')
875 .then(response => response.json()) 876 .then(response => response.json())
876 .then(data => { 877 .then(data => {
877 878
878 console.log() 879 console.log()
879 880
880 setTimeout(() => { //имитация ответа сервера 881 setTimeout(() => { //имитация ответа сервера
881 882
882 spinner.classList.remove('active'); 883 spinner.classList.remove('active');
883 document.body.classList.remove('overlay'); 884 document.body.classList.remove('overlay');
884 this.unfixBodyPosition(); 885 this.unfixBodyPosition();
885 886
886 }, 3000); 887 }, 3000);
887 888
888 }) 889 })
889 .catch(err => { 890 .catch(err => {
890 console.log(err); 891 console.log(err);
891 }); 892 });
893 */
894 spinner.classList.remove('active');
895 document.body.classList.remove('overlay');
896 //this.unfixBodyPosition();
897
892 }; 898 };
893 899
894 sortGroupCurrent.addEventListener('click', () => { 900 sortGroupCurrent.addEventListener('click', () => {
895 901
896 if (group.classList.contains('active')) { 902 if (group.classList.contains('active')) {
897 903
898 group.classList.remove('active'); 904 group.classList.remove('active');
899 905
900 } else { 906 } else {
901 907
902 sortGroups.forEach(group => { 908 sortGroups.forEach(group => {
903 group.classList.remove('active'); 909 group.classList.remove('active');
904 }); 910 });
905 911
906 group.classList.add('active'); 912 group.classList.add('active');
907 913
908 } 914 }
909 915
910 }); 916 });
911 917
912 sortGroupItems.forEach(item => { 918 sortGroupItems.forEach(item => {
913 919
914 item.addEventListener('click', () => { 920 item.addEventListener('click', () => {
915 921
916 sortGroupItems.forEach(item => { 922 sortGroupItems.forEach(item => {
917 item.classList.remove('active'); 923 item.classList.remove('active');
918 }); 924 });
919 925
920 item.classList.add('active'); 926 item.classList.add('active');
921 sortGroupCurrent.textContent = item.textContent; 927 sortGroupCurrent.textContent = item.textContent;
922 sortGroupInput.value = item.dataset.val; 928 sortGroupInput.value = item.dataset.val;
923 group.classList.remove('active'); 929 group.classList.remove('active');
924 930
925 sendRequest(); 931 sendRequest();
926 932
927 }); 933 });
928 934
929 }); 935 });
930 936
931 }); 937 });
932 938
933 document.addEventListener('click', (e) => { 939 document.addEventListener('click', (e) => {
934 940
935 if (!e.target.closest('.js_sort_group_list') && !e.target.closest('.js_sort_group_current')) { 941 if (!e.target.closest('.js_sort_group_list') && !e.target.closest('.js_sort_group_current')) {
936 942
937 sortGroups.forEach(group => { 943 sortGroups.forEach(group => {
938 group.classList.remove('active'); 944 group.classList.remove('active');
939 }); 945 });
940 946
941 } 947 }
942 948
943 }); 949 });
944 950
945 } 951 }
946 952
947 } 953 }
948 954
949 955
950 // слайдер на странице жк и на странице предложения 956 // слайдер на странице жк и на странице предложения
951 initIntroSlider() { 957 initIntroSlider() {
952 958
953 let swiper3 = new Swiper('.intro__swiper', { 959 let swiper3 = new Swiper('.intro__swiper', {
954 navigation: { 960 navigation: {
955 nextEl: '.swiper-button-next', 961 nextEl: '.swiper-button-next',
956 prevEl: '.swiper-button-prev', 962 prevEl: '.swiper-button-prev',
957 }, 963 },
958 pagination: { 964 pagination: {
959 el: '.swiper-pagination', 965 el: '.swiper-pagination',
960 clickable: true, 966 clickable: true,
961 }, 967 },
962 slidesPerView: 1.1, 968 slidesPerView: 1.1,
963 spaceBetween: 20, 969 spaceBetween: 20,
964 breakpoints: { 970 breakpoints: {
965 480: { 971 480: {
966 slidesPerView: 1.5, 972 slidesPerView: 1.5,
967 }, 973 },
968 640: { 974 640: {
969 slidesPerView: 1.75, 975 slidesPerView: 1.75,
970 }, 976 },
971 780: { 977 780: {
972 slidesPerView: 2.15, 978 slidesPerView: 2.15,
973 }, 979 },
974 1024: { 980 1024: {
975 slidesPerView: 3.5, 981 slidesPerView: 3.5,
976 }, 982 },
977 1200: { 983 1200: {
978 slidesPerView: 1, 984 slidesPerView: 1,
979 } 985 }
980 } 986 }
981 }); 987 });
982 988
983 } 989 }
984 990
985 991
986 // табы на странице предложения 992 // табы на странице предложения
987 setTabs(tabs, items) { 993 setTabs(tabs, items) {
988 994
989 const offerSideTabs = document.querySelectorAll(tabs); 995 const offerSideTabs = document.querySelectorAll(tabs);
990 const offerSideItems = document.querySelectorAll(items); 996 const offerSideItems = document.querySelectorAll(items);
991 997
992 if (offerSideTabs) { 998 if (offerSideTabs) {
993 999
994 offerSideTabs.forEach(tab => { 1000 offerSideTabs.forEach(tab => {
995 1001
996 tab.addEventListener('click', () => { 1002 tab.addEventListener('click', () => {
997 1003
998 offerSideTabs.forEach(tab => { 1004 offerSideTabs.forEach(tab => {
999 tab.classList.remove('active'); 1005 tab.classList.remove('active');
1000 }); 1006 });
1001 1007
1002 tab.classList.add('active'); 1008 tab.classList.add('active');
1003 1009
1004 offerSideItems.forEach(item => { 1010 offerSideItems.forEach(item => {
1005 1011
1006 item.classList.remove('active', 'fade'); 1012 item.classList.remove('active', 'fade');
1007 1013
1008 if (tab.dataset.tab == item.dataset.item) { 1014 if (tab.dataset.tab == item.dataset.item) {
1009 item.classList.add('active', 'fade'); 1015 item.classList.add('active', 'fade');
1010 } 1016 }
1011 1017
1012 }); 1018 });
1013 1019
1014 }); 1020 });
1015 1021
1016 }); 1022 });
1017 1023
1018 } 1024 }
1019 1025
1020 } 1026 }
1021 1027
1022 1028
1023 // логика открытия нужного таба при открытии поп-апа с планами объекат и этажа на странице предложения 1029 // логика открытия нужного таба при открытии поп-апа с планами объекат и этажа на странице предложения
1024 sontrolOfferSidePopup() { 1030 sontrolOfferSidePopup() {
1025 1031
1026 const offerSideItems = document.querySelectorAll('.js_offer_side_item'); 1032 const offerSideItems = document.querySelectorAll('.js_offer_side_item');
1027 const offerSidePopupTabs = document.querySelectorAll('.js_offer_side_popup_tab'); 1033 const offerSidePopupTabs = document.querySelectorAll('.js_offer_side_popup_tab');
1028 const offerSidePopupItems = document.querySelectorAll('.js_offer_side_popup_item'); 1034 const offerSidePopupItems = document.querySelectorAll('.js_offer_side_popup_item');
1029 1035
1030 if (offerSideItems) { 1036 if (offerSideItems) {
1031 1037
1032 offerSideItems.forEach(item => { 1038 offerSideItems.forEach(item => {
1033 1039
1034 const offerSideItemBtn = item.querySelector('.js_offer_side_item_btn'); 1040 const offerSideItemBtn = item.querySelector('.js_offer_side_item_btn');
1035 1041
1036 offerSideItemBtn.addEventListener('click', (e) => { 1042 offerSideItemBtn.addEventListener('click', (e) => {
1037 1043
1038 e.preventDefault(); 1044 e.preventDefault();
1039 1045
1040 offerSidePopupTabs.forEach(tab => { 1046 offerSidePopupTabs.forEach(tab => {
1041 1047
1042 tab.classList.remove('active'); 1048 tab.classList.remove('active');
1043 1049
1044 if (item.dataset.item == tab.dataset.tab) { 1050 if (item.dataset.item == tab.dataset.tab) {
1045 tab.classList.add('active'); 1051 tab.classList.add('active');
1046 } 1052 }
1047 1053
1048 }); 1054 });
1049 1055
1050 offerSidePopupItems.forEach(el => { 1056 offerSidePopupItems.forEach(el => {
1051 1057
1052 el.classList.remove('active', 'fade'); 1058 el.classList.remove('active', 'fade');
1053 1059
1054 if (item.dataset.item == el.dataset.item) { 1060 if (item.dataset.item == el.dataset.item) {
1055 el.classList.add('active', 'fade'); 1061 el.classList.add('active', 'fade');
1056 } 1062 }
1057 1063
1058 }); 1064 });
1059 1065
1060 }); 1066 });
1061 1067
1062 }); 1068 });
1063 1069
1064 } 1070 }
1065 1071
1066 } 1072 }
1067 1073
1068 1074
1069 // галлерея 1075 // галлерея
1070 setCustomGallery() { 1076 setCustomGallery() {
1071 1077
1072 let swiper4 = new Swiper(".img-viewer__thumbs-swiper", { 1078 let swiper4 = new Swiper(".img-viewer__thumbs-swiper", {
1073 slidesPerView: 3, 1079 slidesPerView: 3,
1074 spaceBetween: 8, 1080 spaceBetween: 8,
1075 // freeMode: true, 1081 // freeMode: true,
1076 observer: true, 1082 observer: true,
1077 observeParents: true, 1083 observeParents: true,
1078 observeSlideChildren: true, 1084 observeSlideChildren: true,
1079 breakpoints: { 1085 breakpoints: {
1080 640: { 1086 640: {
1081 spaceBetween: 10, 1087 spaceBetween: 10,
1082 }, 1088 },
1083 }, 1089 },
1084 }); 1090 });
1085 1091
1086 let swiper5 = new Swiper(".img-viewer__slider .swiper", { 1092 let swiper5 = new Swiper(".img-viewer__slider .swiper", {
1087 navigation: { 1093 navigation: {
1088 nextEl: ".img-viewer__slider .swiper-button-next", 1094 nextEl: ".img-viewer__slider .swiper-button-next",
1089 prevEl: ".img-viewer__slider .swiper-button-prev", 1095 prevEl: ".img-viewer__slider .swiper-button-prev",
1090 }, 1096 },
1091 slidesPerView: 1, 1097 slidesPerView: 1,
1092 spaceBetween: 20, 1098 spaceBetween: 20,
1093 thumbs: { 1099 thumbs: {
1094 swiper: swiper4 1100 swiper: swiper4
1095 }, 1101 },
1096 observer: true, 1102 observer: true,
1097 observeParents: true, 1103 observeParents: true,
1098 observeSlideChildren: true, 1104 observeSlideChildren: true,
1099 }); 1105 });
1100 1106
1101 if (document.querySelector('.js_intro_item_btn')) { 1107 if (document.querySelector('.js_intro_item_btn')) {
1102 1108
1103 const imgViewer = document.querySelector('.js_img_viewer'); 1109 const imgViewer = document.querySelector('.js_img_viewer');
1104 const imgViewerCloses = imgViewer.querySelectorAll('.js_img_viewer_close'); 1110 const imgViewerCloses = imgViewer.querySelectorAll('.js_img_viewer_close');
1105 const imgViewerCaption = imgViewer.querySelector('.js_img_viewer_caption'); 1111 const imgViewerCaption = imgViewer.querySelector('.js_img_viewer_caption');
1106 1112
1107 const imgViewerSliderSwiper = imgViewer.querySelector('.js_img_viewer_slider_swiper'); 1113 const imgViewerSliderSwiper = imgViewer.querySelector('.js_img_viewer_slider_swiper');
1108 const imgViewerSliderSwiperWrap = imgViewerSliderSwiper.querySelector('.js_img_viewer_slider_swiper .swiper-wrapper'); 1114 const imgViewerSliderSwiperWrap = imgViewerSliderSwiper.querySelector('.js_img_viewer_slider_swiper .swiper-wrapper');
1109 1115
1110 const imgViewerThumbsSwiper = imgViewer.querySelector('.js_img_viewer_thumbs_swiper'); 1116 const imgViewerThumbsSwiper = imgViewer.querySelector('.js_img_viewer_thumbs_swiper');
1111 const imgViewerThumbsSwiperWrap = imgViewerThumbsSwiper.querySelector('.js_img_viewer_thumbs_swiper .swiper-wrapper'); 1117 const imgViewerThumbsSwiperWrap = imgViewerThumbsSwiper.querySelector('.js_img_viewer_thumbs_swiper .swiper-wrapper');
1112 1118
1113 const introItemBtns = document.querySelectorAll('.js_intro_item_btn'); 1119 const introItemBtns = document.querySelectorAll('.js_intro_item_btn');
1114 1120
1115 introItemBtns.forEach((btn, i) => { 1121 introItemBtns.forEach((btn, i) => {
1116 1122
1117 btn.addEventListener('click', (e) => { 1123 btn.addEventListener('click', (e) => {
1118 1124
1119 e.preventDefault(); 1125 e.preventDefault();
1120 1126
1121 imgViewer.classList.add('active'); 1127 imgViewer.classList.add('active');
1122 this.fixBodyPosition(); 1128 this.fixBodyPosition();
1123 1129
1124 imgViewerSliderSwiperWrap.innerHTML = ''; 1130 imgViewerSliderSwiperWrap.innerHTML = '';
1125 imgViewerThumbsSwiperWrap.innerHTML = ''; 1131 imgViewerThumbsSwiperWrap.innerHTML = '';
1126 imgViewerCaption.textContent = ''; 1132 imgViewerCaption.textContent = '';
1127 1133
1128 1134
1129 introItemBtns.forEach(btn => { 1135 introItemBtns.forEach(btn => {
1130 1136
1131 imgViewerSliderSwiperWrap.insertAdjacentHTML('beforeend', ` 1137 imgViewerSliderSwiperWrap.insertAdjacentHTML('beforeend', `
1132 <div class="swiper-slide"> 1138 <div class="swiper-slide">
1133 <img src="${btn.getAttribute('href')}" alt=""> 1139 <img src="${btn.getAttribute('href')}" alt="">
1134 </div>` 1140 </div>`
1135 ); 1141 );
1136 1142
1137 imgViewerThumbsSwiperWrap.insertAdjacentHTML('beforeend', ` 1143 imgViewerThumbsSwiperWrap.insertAdjacentHTML('beforeend', `
1138 <div class="swiper-slide"> 1144 <div class="swiper-slide">
1139 <img src="${btn.getAttribute('href')}" alt=""> 1145 <img src="${btn.getAttribute('href')}" alt="">
1140 </div>` 1146 </div>`
1141 ); 1147 );
1142 1148
1143 }); 1149 });
1144 1150
1145 swiper4.update(); 1151 swiper4.update();
1146 swiper5.update(); 1152 swiper5.update();
1147 swiper5.slideTo(i); 1153 swiper5.slideTo(i);
1148 imgViewerCaption.textContent = btn.dataset.caption; 1154 imgViewerCaption.textContent = btn.dataset.caption;
1149 1155
1150 }); 1156 });
1151 1157
1152 }); 1158 });
1153 1159
1154 swiper5.on('slideChange', function () { 1160 swiper5.on('slideChange', function () {
1155 imgViewerCaption.textContent = introItemBtns[swiper5.realIndex].dataset.caption; 1161 imgViewerCaption.textContent = introItemBtns[swiper5.realIndex].dataset.caption;
1156 }); 1162 });
1157 1163
1158 imgViewerCloses.forEach(close => { 1164 imgViewerCloses.forEach(close => {
1159 1165
1160 close.addEventListener('click', () => { 1166 close.addEventListener('click', () => {
1161 1167
1162 imgViewer.classList.remove('active'); 1168 imgViewer.classList.remove('active');
1163 this.unfixBodyPosition(); 1169 this.unfixBodyPosition();
1164 1170
1165 }); 1171 });
1166 1172
1167 }); 1173 });
1168 1174
1169 } 1175 }
1170 1176
1171 } 1177 }
1172 1178
1173 1179
1174 // куки 1180 // куки
1175 setCookies() { 1181 setCookies() {
1176 1182
1177 const cookies = document.querySelector('.js_cookies'); 1183 const cookies = document.querySelector('.js_cookies');
1178 const cookiesBtn = document.querySelector('.js_cookies_confirm'); 1184 const cookiesBtn = document.querySelector('.js_cookies_confirm');
1179 const cookiesTrigger = document.querySelector('.js_btn_cookies'); 1185 const cookiesTrigger = document.querySelector('.js_btn_cookies');
1180 1186
1181 if (cookiesTrigger) { 1187 if (cookiesTrigger) {
1182 1188
1183 cookiesTrigger.addEventListener('click', () => { 1189 cookiesTrigger.addEventListener('click', () => {
1184 cookies.classList.add('active'); 1190 cookies.classList.add('active');
1185 }); 1191 });
1186 1192
1187 }; 1193 };
1188 1194
1189 if (cookies) { 1195 if (cookies) {
1190 1196
1191 cookiesBtn.addEventListener('click', () => { 1197 cookiesBtn.addEventListener('click', () => {
1192 cookies.classList.remove('active'); 1198 cookies.classList.remove('active');
1193 }); 1199 });
1194 1200
1195 }; 1201 };
1196 1202
1197 } 1203 }
1198 1204
1199 1205
1200 // карта на странице карт; 1206 // карта на странице карт;
1201 setGeneralMap() { 1207 setGeneralMap() {
1202 1208
1203 if (document.querySelector('#general-map')) { 1209 if (document.querySelector('#general-map')) {
1204 1210
1205 ymaps.ready(init); // Дождёмся загрузки API и готовности DOM; 1211 ymaps.ready(init); // Дождёмся загрузки API и готовности DOM;
1206 1212
1207 function init() { 1213 function init() {
1208 1214
1209 const myMap = new ymaps.Map('general-map', { // Создание экземпляра карты и его привязка к контейнеру с заданным id; 1215 const myMap = new ymaps.Map('general-map', { // Создание экземпляра карты и его привязка к контейнеру с заданным id;
1210 center: [55.752933963675126, 37.52233749962665], // При инициализации карты обязательно нужно указать её центр и коэффициент масштабирования; 1216 center: [55.752933963675126, 37.52233749962665], // При инициализации карты обязательно нужно указать её центр и коэффициент масштабирования;
1211 zoom: 10, 1217 zoom: 10,
1212 controls: [] // Скрываем элементы управления на карте; 1218 controls: [] // Скрываем элементы управления на карте;
1213 }); 1219 });
1214 1220
1215 // Создаём макет содержимого. 1221 // Создаём макет содержимого.
1216 const MyIconContentLayout = ymaps.templateLayoutFactory.createClass( 1222 const MyIconContentLayout = ymaps.templateLayoutFactory.createClass(
1217 '<div style="color: #FFFFFF; font-weight: bold;">$[properties.iconContent]</div>' 1223 '<div style="color: #FFFFFF; font-weight: bold;">$[properties.iconContent]</div>'
1218 ); 1224 );
1219 1225
1220 let collection = new ymaps.GeoObjectCollection(null, { // Создаём коллекцию, в которую будемпомещать метки (что-то типа массива); 1226 let collection = new ymaps.GeoObjectCollection(null, { // Создаём коллекцию, в которую будемпомещать метки (что-то типа массива);
1221 // preset: 'islands#yellowIcon' 1227 // preset: 'islands#yellowIcon'
1222 }); 1228 });
1223 1229
1224 let collectionCoords = [ // Создаём массив с координатами (координаты должны располагаться в том же порядке, что и адреса в списке на сайте); 1230 let collectionCoords = [ // Создаём массив с координатами (координаты должны располагаться в том же порядке, что и адреса в списке на сайте);
1225 [55.867783219108354, 37.392867499999916], 1231 [55.867783219108354, 37.392867499999916],
1226 [55.728043075486504, 37.73937949999994], 1232 [55.728043075486504, 37.73937949999994],
1227 [55.72624100423305, 37.476078499999964], 1233 [55.72624100423305, 37.476078499999964],
1228 [55.80751105044832, 37.449622999999974], 1234 [55.80751105044832, 37.449622999999974],
1229 [55.601783098948836, 37.36700499999998], 1235 [55.601783098948836, 37.36700499999998],
1230 [55.86086502152225, 37.540348999999964], 1236 [55.86086502152225, 37.540348999999964],
1231 [55.784961528728715, 37.56188599999996], 1237 [55.784961528728715, 37.56188599999996],
1232 [55.63910010399773, 37.319407999999996], 1238 [55.63910010399773, 37.319407999999996],
1233 [55.55819256767507, 37.55711549999994], 1239 [55.55819256767507, 37.55711549999994],
1234 [55.79829252928473, 37.52063549999999], 1240 [55.79829252928473, 37.52063549999999],
1235 ]; 1241 ];
1236 1242
1237 for (let i = 0, l = collectionCoords.length; i < l; i++) { // C помощью цикла добавляем все метки в коллекцию; 1243 for (let i = 0, l = collectionCoords.length; i < l; i++) { // C помощью цикла добавляем все метки в коллекцию;
1238 collection.add(new ymaps.Placemark(collectionCoords[i])); 1244 collection.add(new ymaps.Placemark(collectionCoords[i]));
1239 collection.get(i).properties.set('iconContent', `${i + 1}`); // Добавляем каждой метке порядковый номер, записываем его в свойство 'iconContent'; 1245 collection.get(i).properties.set('iconContent', `${i + 1}`); // Добавляем каждой метке порядковый номер, записываем его в свойство 'iconContent';
1240 } 1246 }
1241 1247
1242 myMap.geoObjects.add(collection); // Добавляем коллекцию с метками на карту; 1248 myMap.geoObjects.add(collection); // Добавляем коллекцию с метками на карту;
1243 1249
1244 collection.options.set('iconLayout', 'default#imageWithContent'); // Необходимо указать данный тип макета; 1250 collection.options.set('iconLayout', 'default#imageWithContent'); // Необходимо указать данный тип макета;
1245 collection.options.set('iconImageHref', 'images/mark-complex.svg'); // Своё изображение иконки метки; 1251 collection.options.set('iconImageHref', 'images/mark-complex.svg'); // Своё изображение иконки метки;
1246 collection.options.set('iconImageSize', [52, 67]); // Размеры метки; 1252 collection.options.set('iconImageSize', [52, 67]); // Размеры метки;
1247 collection.options.set('iconImageOffset', [-26, -67]); // Смещение левого верхнего угла иконки относительно её "ножки" (точки привязки); 1253 collection.options.set('iconImageOffset', [-26, -67]); // Смещение левого верхнего угла иконки относительно её "ножки" (точки привязки);
1248 collection.options.set('iconContentOffset', [0, 17]); 1254 collection.options.set('iconContentOffset', [0, 17]);
1249 collection.options.set('iconContentLayout', MyIconContentLayout); // Смещение левого верхнего угла иконки относительно её "ножки" (точки привязки); 1255 collection.options.set('iconContentLayout', MyIconContentLayout); // Смещение левого верхнего угла иконки относительно её "ножки" (точки привязки);
1250 1256
1251 const pageMapBar = document.querySelector('.js_page_map_bar'); 1257 const pageMapBar = document.querySelector('.js_page_map_bar');
1252 const pageMapBarBtn = pageMapBar.querySelector('.js_page_map_bar_btn'); 1258 const pageMapBarBtn = pageMapBar.querySelector('.js_page_map_bar_btn');
1253 const pageMapBarList = pageMapBar.querySelector('.js_page_map_bar_list'); 1259 const pageMapBarList = pageMapBar.querySelector('.js_page_map_bar_list');
1254 const pageMapBarCards = pageMapBar.querySelectorAll('.card-news'); 1260 const pageMapBarCards = pageMapBar.querySelectorAll('.card-news');
1255 1261
1256 const showCard = (i) => { 1262 const showCard = (i) => {
1257 1263
1258 pageMapBarCards.forEach((card, k) => { 1264 pageMapBarCards.forEach((card, k) => {
1259 1265
1260 card.classList.remove('active'); 1266 card.classList.remove('active');
1261 1267
1262 if (i == k) { 1268 if (i == k) {
1263 card.classList.add('active'); 1269 card.classList.add('active');
1264 } 1270 }
1265 1271
1266 }); 1272 });
1267 1273
1268 }; 1274 };
1269 1275
1270 const hidecard = () => { 1276 const hidecard = () => {
1271 1277
1272 pageMapBarCards.forEach(card => { 1278 pageMapBarCards.forEach(card => {
1273 card.classList.remove('active'); 1279 card.classList.remove('active');
1274 }); 1280 });
1275 1281
1276 } 1282 }
1277 1283
1278 let pageMapBarItems; 1284 let pageMapBarItems;
1279 1285
1280 pageMapBarBtn.addEventListener('click', () => { 1286 pageMapBarBtn.addEventListener('click', () => {
1281 pageMapBar.classList.toggle('active'); 1287 pageMapBar.classList.toggle('active');
1282 }); 1288 });
1283 1289
1284 pageMapBarList.addEventListener('click', (e) => { 1290 pageMapBarList.addEventListener('click', (e) => {
1285 1291
1286 if (e.target.closest('.page-map-bar__item')) { 1292 if (e.target.closest('.page-map-bar__item')) {
1287 1293
1288 pageMapBarItems = pageMapBarList.querySelectorAll('.page-map-bar__item'); 1294 pageMapBarItems = pageMapBarList.querySelectorAll('.page-map-bar__item');
1289 1295
1290 pageMapBarItems.forEach((item, i) => { 1296 pageMapBarItems.forEach((item, i) => {
1291 1297
1292 if (e.target == item && e.target.classList.contains('active')) { 1298 if (e.target == item && e.target.classList.contains('active')) {
1293 1299
1294 item.classList.remove('active'); 1300 item.classList.remove('active');
1295 1301
1296 hidecard(); 1302 hidecard();
1297 1303
1298 } else if (e.target == item) { 1304 } else if (e.target == item) {
1299 1305
1300 pageMapBarItems.forEach(item => { 1306 pageMapBarItems.forEach(item => {
1301 item.classList.remove('active'); 1307 item.classList.remove('active');
1302 }); 1308 });
1303 1309
1304 item.classList.add('active'); 1310 item.classList.add('active');
1305 1311
1306 let offsetCoords = collection.get(i).geometry.getCoordinates(); 1312 let offsetCoords = collection.get(i).geometry.getCoordinates();
1307 1313
1308 offsetCoords = [ 1314 offsetCoords = [
1309 offsetCoords[0] - 0.0025, 1315 offsetCoords[0] - 0.0025,
1310 offsetCoords[1] 1316 offsetCoords[1]
1311 ]; 1317 ];
1312 1318
1313 myMap.setZoom(16); 1319 myMap.setZoom(16);
1314 // myMap.setCenter(collection.get(i).geometry.getCoordinates()); 1320 // myMap.setCenter(collection.get(i).geometry.getCoordinates());
1315 myMap.setCenter(offsetCoords); 1321 myMap.setCenter(offsetCoords);
1316 1322
1317 showCard(i); 1323 showCard(i);
1318 1324
1319 } 1325 }
1320 1326
1321 }); 1327 });
1322 } 1328 }
1323 1329
1324 }); 1330 });
1325 1331
1326 collection.events.add('click', function (e) { 1332 collection.events.add('click', function (e) {
1327 1333
1328 for (let i = 0, l = collection.getLength(); i < l; i++) { 1334 for (let i = 0, l = collection.getLength(); i < l; i++) {
1329 1335
1330 if (e.get('target') == collection.get(i)) { 1336 if (e.get('target') == collection.get(i)) {
1331 1337
1332 pageMapBarItems = pageMapBarList.querySelectorAll('.page-map-bar__item'); 1338 pageMapBarItems = pageMapBarList.querySelectorAll('.page-map-bar__item');
1333 1339
1334 pageMapBarItems.forEach((item) => { 1340 pageMapBarItems.forEach((item) => {
1335 pageMapBar.classList.add('active'); 1341 pageMapBar.classList.add('active');
1336 item.classList.remove('active'); 1342 item.classList.remove('active');
1337 }); 1343 });
1338 1344
1339 pageMapBarItems[i].classList.add('active'); 1345 pageMapBarItems[i].classList.add('active');
1340 1346
1341 showCard(i); 1347 showCard(i);
1342 1348
1343 } 1349 }
1344 1350
1345 } 1351 }
1346 1352
1347 }); 1353 });
1348 1354
1349 } 1355 }
1350 1356
1351 } 1357 }
1352 1358
1353 }; 1359 };
1354 1360
1355 1361
1356 // аккордеон в футере 1362 // аккордеон в футере
1357 setFooterSpoilers() { 1363 setFooterSpoilers() {
1358 1364
1359 const items = document.querySelectorAll('.js_footer_col'); 1365 const items = document.querySelectorAll('.js_footer_col');
1360 1366
1361 items.forEach(item => { 1367 items.forEach(item => {
1362 1368
1363 const itemTitle = item.querySelector('.js_footer_caption'); 1369 const itemTitle = item.querySelector('.js_footer_caption');
1364 const itemContent = item.querySelector('.js_footer_block'); 1370 const itemContent = item.querySelector('.js_footer_block');
1365 1371
1366 const blockToggle = (block, duration) => { 1372 const blockToggle = (block, duration) => {
1367 1373
1368 if (window.getComputedStyle(block).display == "none" && !block.classList.contains('smooth')) { 1374 if (window.getComputedStyle(block).display == "none" && !block.classList.contains('smooth')) {
1369 1375
1370 block.style.display = "block"; 1376 block.style.display = "block";
1371 1377
1372 const blockHeight = block.offsetHeight; 1378 const blockHeight = block.offsetHeight;
1373 1379
1374 block.style.height = 0; 1380 block.style.height = 0;
1375 block.style.overflow = "hidden"; 1381 block.style.overflow = "hidden";
1376 block.style.transition = `height ${duration}ms ease`; 1382 block.style.transition = `height ${duration}ms ease`;
1377 block.classList.add('smooth'); 1383 block.classList.add('smooth');
1378 block.offsetHeight; 1384 block.offsetHeight;
1379 block.style.height = `${blockHeight}px`; 1385 block.style.height = `${blockHeight}px`;
1380 1386
1381 setTimeout(() => { 1387 setTimeout(() => {
1382 1388
1383 block.classList.remove('smooth'); 1389 block.classList.remove('smooth');
1384 block.style.height = ''; 1390 block.style.height = '';
1385 block.style.transition = ''; 1391 block.style.transition = '';
1386 block.style.overflow = ''; 1392 block.style.overflow = '';
1387 1393
1388 }, duration); 1394 }, duration);
1389 1395
1390 } else if (!block.classList.contains('smooth')) { 1396 } else if (!block.classList.contains('smooth')) {
1391 1397
1392 block.style.height = `${block.offsetHeight}px`; 1398 block.style.height = `${block.offsetHeight}px`;
1393 block.offsetHeight; 1399 block.offsetHeight;
1394 block.style.height = 0; 1400 block.style.height = 0;
1395 block.style.overflow = "hidden"; 1401 block.style.overflow = "hidden";
1396 block.style.transition = `height ${duration}ms ease`; 1402 block.style.transition = `height ${duration}ms ease`;
1397 block.classList.add('smooth'); 1403 block.classList.add('smooth');
1398 1404
1399 setTimeout(() => { 1405 setTimeout(() => {
1400 1406
1401 block.classList.remove('smooth'); 1407 block.classList.remove('smooth');
1402 block.style.display = "none"; 1408 block.style.display = "none";
1403 block.style.height = ''; 1409 block.style.height = '';
1404 block.style.transition = ''; 1410 block.style.transition = '';
1405 block.style.overflow = ''; 1411 block.style.overflow = '';
1406 1412
1407 }, duration); 1413 }, duration);
1408 1414
1409 } 1415 }
1410 1416
1411 }; 1417 };
1412 1418
1413 itemTitle.addEventListener('click', (e) => { 1419 itemTitle.addEventListener('click', (e) => {
1414 itemTitle.classList.toggle('active'); 1420 itemTitle.classList.toggle('active');
1415 blockToggle(itemContent, 300); 1421 blockToggle(itemContent, 300);
1416 }); 1422 });
1417 1423
1418 }); 1424 });
1419 1425
1420 } 1426 }
1421 1427
1422 1428
1423 // слайдер с партнёрами; 1429 // слайдер с партнёрами;
1424 initPartnerslSlider() { 1430 initPartnerslSlider() {
1425 1431
1426 const slider = document.querySelector('.partners__swiper'); 1432 const slider = document.querySelector('.partners__swiper');
1427 1433
1428 if (slider) { 1434 if (slider) {
1429 1435
1430 let swiper6; 1436 let swiper6;
1431 1437
1432 const initSlider = () => { 1438 const initSlider = () => {
1433 1439
1434 swiper6 = new Swiper(slider, { 1440 swiper6 = new Swiper(slider, {
1435 // scrollbar: { 1441 // scrollbar: {
1436 // el: '.swiper-scrollbar', 1442 // el: '.swiper-scrollbar',
1437 // draggable: true, 1443 // draggable: true,
1438 // }, 1444 // },
1439 slidesPerView: 0.275, 1445 slidesPerView: 0.275,
1440 loop: true, 1446 loop: true,
1441 spaceBetween: 20, 1447 spaceBetween: 20,
1442 freeMode: true, 1448 freeMode: true,
1443 allowTouchMove: true, 1449 allowTouchMove: true,
1444 breakpoints: { 1450 breakpoints: {
1445 480: { 1451 480: {
1446 slidesPerView: 0.4, 1452 slidesPerView: 0.4,
1447 }, 1453 },
1448 640: { 1454 640: {
1449 slidesPerView: 0.65, 1455 slidesPerView: 0.65,
1450 }, 1456 },
1451 780: { 1457 780: {
1452 slidesPerView: 0.65, 1458 slidesPerView: 0.65,
1453 }, 1459 },
1454 1024: { 1460 1024: {
1455 slidesPerView: 0.8, 1461 slidesPerView: 0.8,
1456 }, 1462 },
1457 1200: { 1463 1200: {
1458 slidesPerView: 1, 1464 slidesPerView: 1,
1459 loop: false, 1465 loop: false,
1460 allowTouchMove: false, 1466 allowTouchMove: false,
1461 } 1467 }
1462 } 1468 }
1463 }); 1469 });
1464 1470
1465 }; 1471 };
1466 1472
1467 initSlider(); 1473 initSlider();
1468 1474
1469 const updateSlider = () => { 1475 const updateSlider = () => {
1470 swiper6.destroy(); 1476 swiper6.destroy();
1471 initSlider(); 1477 initSlider();
1472 } 1478 }
1473 1479
1474 window.addEventListener('resize', () => { 1480 window.addEventListener('resize', () => {
1475 1481
1476 if (window.innerWidth <= 1200 && slider.dataset.mobile == 'false') { 1482 if (window.innerWidth <= 1200 && slider.dataset.mobile == 'false') {
1477 slider.dataset.mobile = 'true'; 1483 slider.dataset.mobile = 'true';
1478 updateSlider(); 1484 updateSlider();
1479 } 1485 }
1480 1486
1481 if (window.innerWidth > 1200 && slider.dataset.mobile == 'true') { 1487 if (window.innerWidth > 1200 && slider.dataset.mobile == 'true') {
1482 slider.dataset.mobile = 'false'; 1488 slider.dataset.mobile = 'false';
1483 updateSlider(); 1489 updateSlider();
1484 } 1490 }
1485 1491
1486 }); 1492 });
1487 1493
1488 } 1494 }
1489 1495
1490 } 1496 }
1491 1497
1492 } 1498 }
1493 1499
1494 1500
1495 document.addEventListener('DOMContentLoaded', () => { 1501 document.addEventListener('DOMContentLoaded', () => {
1496 1502
1497 const app = new App(); 1503 const app = new App();
1498 app.init(); 1504 app.init();
1499 1505
1500 });
1506 });
resources/views/ajax/complex/arenda.blade.php
File was created 1 @if ($house_arenda->count())
2 @foreach ($house_arenda as $house1)
3 @include('catalogs.elemhouse', ['house' => $house1])
4 @endforeach
5 @else
6 <h3>Здесь пока что нет предложений</h3>
7 @endif
8
9
resources/views/ajax/complex/arendovannie.blade.php
File was created 1 @if ($house_arendovannie->count())
2 @foreach ($house_arendovannie as $house1)
3 @include('catalogs.elemhouse', ['house' => $house1])
4 @endforeach
5 @else
6 <h3>Здесь пока что нет предложений</h3>
7 @endif
8
resources/views/ajax/complex/bissnes.blade.php
File was created 1 @if ($house_bissnes->count())
2 @foreach ($house_bissnes as $house3)
3 @include('catalogs.elemhouse', ['house' => $house3])
4 @endforeach
5 @else
6 <h3>Здесь пока что нет предложений</h3>
7 @endif
8
resources/views/ajax/complex/prodaja.blade.php
File was created 1 @if ($house_prodaja->count())
2 @foreach ($house_prodaja as $house2)
3 @include('catalogs.elemhouse', ['house' => $house2])
4 @endforeach
5 @else
6 <h3>Здесь пока что нет предложений</h3>
7 @endif
8
resources/views/ajax/complex2.blade.php
File was created 1 <section class="slider">
2 <div class="container">
3 <div class="slider__wrap">
4 <div class="slider__top">
5 <h2 class="slider__title title">Аренда торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
6 <div class="slider__control">
7 <div class="swiper-button-prev">
8 <svg width="10" height="17">
9 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
10 </svg>
11 </div>
12 <div class="swiper-button-next">
13 <svg width="10" height="17">
14 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
15 </svg>
16 </div>
17 </div>
18 </div>
19 <div class="slider__swiper swiper">
20 <div class="swiper-wrapper" id="arenda_block">
21 @if ($house_arenda->count())
22 @foreach ($house_arenda as $house1)
23 @include('catalogs.elemhouse', ['house' => $house1])
24 @endforeach
25 @else
26 <h3>Здесь пока что нет предложений</h3>
27 @endif
28 </div>
29 </div>
30 <div class="swiper-pagination"></div>
31 </div>
32 </div>
33 </section>
34 <section class="slider">
35 <div class="container">
36 <div class="slider__wrap">
37 <div class="slider__top">
38 <h2 class="slider__title title">Продажа торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
39 <div class="slider__control">
40 <div class="swiper-button-prev">
41 <svg width="10" height="17">
42 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
43 </svg>
44 </div>
45 <div class="swiper-button-next">
46 <svg width="10" height="17">
47 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
48 </svg>
49 </div>
50 </div>
51 </div>
52 <div class="slider__swiper swiper">
53 <div class="swiper-wrapper">
54 @if ($house_prodaja->count())
55 @foreach ($house_prodaja as $house2)
56 @include('catalogs.elemhouse', ['house' => $house2])
57 @endforeach
58 @else
59 <h3>Здесь пока что нет предложений</h3>
60 @endif
61 </div>
62 </div>
63 <div class="swiper-pagination"></div>
64 </div>
65 </div>
66 </section>
67 <section class="slider">
68 <div class="container">
69 <div class="slider__wrap">
70 <div class="slider__top">
71 <h2 class="slider__title title">Арендный бизнес</h2><a class="slider__more" href="#">Показать все объекты</a>
72 <div class="slider__control">
73 <div class="swiper-button-prev">
74 <svg width="10" height="17">
75 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
76 </svg>
77 </div>
78 <div class="swiper-button-next">
79 <svg width="10" height="17">
80 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
81 </svg>
82 </div>
83 </div>
84 </div>
85 <div class="slider__swiper swiper">
86 <div class="swiper-wrapper">
87 @if ($house_bissnes->count())
88 @foreach ($house_bissnes as $house3)
89 @include('catalogs.elemhouse', ['house' => $house3])
90 @endforeach
91 @else
92 <h3>Здесь пока что нет предложений</h3>
93 @endif
94 </div>
95 </div>
96 <div class="swiper-pagination"></div>
97 </div>
98 </div>
99 </section>
100 <section class="slider">
101 <div class="container">
102 <div class="slider__wrap">
103 <div class="slider__top">
104 <h2 class="slider__title title">Арендованные</h2><a class="slider__more" href="#">Показать все объекты</a>
105 <div class="slider__control">
106 <div class="swiper-button-prev">
107 <svg width="10" height="17">
108 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
109 </svg>
110 </div>
111 <div class="swiper-button-next">
112 <svg width="10" height="17">
113 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
114 </svg>
115 </div>
116 </div>
117 </div>
118 <div class="slider__swiper swiper">
119 <div class="swiper-wrapper">
120 @if ($house_arendovannie->count())
121 @foreach ($house_arendovannie as $house1)
122 @include('catalogs.elemhouse', ['house' => $house1])
123 @endforeach
124 @else
125 <h3>Здесь пока что нет предложений</h3>
126 @endif
127 </div>
128 </div>
129 <div class="swiper-pagination"></div>
130 </div>
131 </div>
132 </section>
133
resources/views/complex.blade.php
1 @extends('layout.site', ['title' => $area->name_area]) 1 @extends('layout.site', ['title' => $area->name_area])
2 2
3 @section('custom_js')
4 <script>
5 $(document).on('click', '.js_sort_group_item', function() {
6 var val = $(this).data('val');
7 var sort_price_val = '';
8 var sort_area_val = '';
9 var sort_new_val = '';
10
11 $('.sort-price').each(function() {
12 var this_ = $(this);
13 var v = $(this).data('val');
14 if (this_.hasClass('active'))
15 sort_price_val = v;
16 });
17
18 $('.sort-new').each(function() {
19 var v = $(this).data('val');
20 var this_ = $(this);
21 if (this_.hasClass('active'))
22 sort_new_val = v;
23 });
24
25 $('.sort-area').each(function() {
26 var v = $(this).data('val');
27 var this_ = $(this);
28 if (this_.hasClass('active'))
29 sort_area_val = v;
30
31 });
32
33 console.log('-------------------');
34 $.ajax({
35 type: "GET",
36 url: "{{ route('complex', ['area' => $area->id]) }}",
37 data: "view=arenda&sort_price="+sort_price_val+"&sort_new="+sort_new_val+"&sort_area="+sort_area_val+"",
38 success: function(data) {
39 console.log('Успешно обновлены данные АРЕНДА таблиц '+data);
40 $('#arenda_block').html(data);
41 },
42 headers: {
43 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
44 },
45 error: function(data) {
46 console.log('Error: '+ data);
47 }
48 });
49
50 $.ajax({
51 type: "GET",
52 url: "{{ route('complex', ['area' => $area->id]) }}",
53 data: "view=prodaja&sort_price="+sort_price_val+"&sort_new="+sort_new_val+"&sort_area="+sort_area_val+"",
54 success: function(data) {
55 console.log('Успешно обновлены данные ПРОДАЖА таблиц '+data);
56 $('#prodaja_block').html(data);
57 },
58 headers: {
59 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
60 },
61 error: function(data) {
62 console.log('Error: '+ data);
63 }
64 });
65
66 $.ajax({
67 type: "GET",
68 url: "{{ route('complex', ['area' => $area->id]) }}",
69 data: "view=bissnes&sort_price="+sort_price_val+"&sort_new="+sort_new_val+"&sort_area="+sort_area_val+"",
70 success: function(data) {
71 console.log('Успешно обновлены данные БИЗНЕС таблиц '+data);
72 $('#bissnes_block').html(data);
73 },
74 headers: {
75 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
76 },
77 error: function(data) {
78 console.log('Error: '+ data);
79 }
80 });
81
82 $.ajax({
83 type: "GET",
84 url: "{{ route('complex', ['area' => $area->id]) }}",
85 data: "view=arendovannie&sort_price="+sort_price_val+"&sort_new="+sort_new_val+"&sort_area="+sort_area_val+"",
86 success: function(data) {
87 console.log('Успешно обновлены данные таблиц '+data);
88 $('#arendovannie_block').html(data);
89 //.append(data);
90 },
91 headers: {
92 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
93 },
94 error: function(data) {
95 console.log('Error: '+ data);
96 }
97 });
98
99 }
100 );
101 </script>
102 @endsection
103
3 @section('content') 104 @section('content')
4 <section class="intro" style="background-image:url({{ asset('images/intro-bg-1.jpg') }})"> 105 <section class="intro" style="background-image:url({{ asset('images/intro-bg-1.jpg') }})">
5 <div class="container"> 106 <div class="container">
6 <div class="intro__wrap"> 107 <div class="intro__wrap">
7 <div class="breadcrumbs"> 108 <div class="breadcrumbs">
8 <ul class="breadcrumbs__list"> 109 <ul class="breadcrumbs__list">
9 <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('index') }}">Главная</a></li> 110 <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('index') }}">Главная</a></li>
10 <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('catalog') }}">Каталог</a></li> 111 <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('catalog') }}">Каталог</a></li>
11 <li class="breadcrumbs__item"><span class="breadcrumbs__link">{{$area->name_area }}</span></li> 112 <li class="breadcrumbs__item"><span class="breadcrumbs__link">{{$area->name_area }}</span></li>
12 </ul> 113 </ul>
13 </div> 114 </div>
14 <div class="intro__inner"> 115 <div class="intro__inner">
15 <div class="intro__cnt"> 116 <div class="intro__cnt">
16 <h1 class="intro__title title-main">{{ $area->name_area }}</h1> 117 <h1 class="intro__title title-main">{{ $area->name_area }}</h1>
17 <p class="intro__descr">{{ $area->description }}</p> 118 <p class="intro__descr">{{ $area->description }}</p>
18 </div> 119 </div>
19 <div class="intro__swiper swiper"> 120 <div class="intro__swiper swiper">
20 <div class="swiper-wrapper"> 121 <div class="swiper-wrapper">
21 <? $i = 1 ?> 122 <? $i = 1 ?>
22 @if ($area->fotos->count()) 123 @if ($area->fotos->count())
23 @foreach($area->fotos as $img) 124 @foreach($area->fotos as $img)
24 <div class="swiper-slide"> 125 <div class="swiper-slide">
25 <div class="intro-item"> 126 <div class="intro-item">
26 <div class="intro-item__img"><img src="{{ asset($img->foto) }}" alt=""></div> 127 <div class="intro-item__img"><img src="{{ asset($img->foto) }}" alt=""></div>
27 <a class="intro-item__btn js_intro_item_btn" href="{{ asset($img->foto) }}" data-caption="Фото {{ $i }}"> 128 <a class="intro-item__btn js_intro_item_btn" href="{{ asset($img->foto) }}" data-caption="Фото {{ $i }}">
28 <svg width="16" height="16"> 129 <svg width="16" height="16">
29 <use xlink:href="{{ asset('images/sprite.svg#intro-item-btn') }}"></use> 130 <use xlink:href="{{ asset('images/sprite.svg#intro-item-btn') }}"></use>
30 </svg></a> 131 </svg></a>
31 </div> 132 </div>
32 </div> 133 </div>
33 <? $i++?> 134 <? $i++?>
34 @endforeach 135 @endforeach
35 @endif 136 @endif
36 <!--<div class="swiper-slide"> 137 <!--<div class="swiper-slide">
37 <div class="intro-item"> 138 <div class="intro-item">
38 <div class="intro-item__img"><img src="images/about-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/about-bg.jpg" data-caption="Фото 2"> 139 <div class="intro-item__img"><img src="images/about-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/about-bg.jpg" data-caption="Фото 2">
39 <svg width="16" height="16"> 140 <svg width="16" height="16">
40 <use xlink:href="images/sprite.svg#intro-item-btn"></use> 141 <use xlink:href="images/sprite.svg#intro-item-btn"></use>
41 </svg></a> 142 </svg></a>
42 </div> 143 </div>
43 </div> 144 </div>
44 <div class="swiper-slide"> 145 <div class="swiper-slide">
45 <div class="intro-item"> 146 <div class="intro-item">
46 <div class="intro-item__img"><img src="images/catalog-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/catalog-bg.jpg" data-caption="Фото 3"> 147 <div class="intro-item__img"><img src="images/catalog-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/catalog-bg.jpg" data-caption="Фото 3">
47 <svg width="16" height="16"> 148 <svg width="16" height="16">
48 <use xlink:href="images/sprite.svg#intro-item-btn"></use> 149 <use xlink:href="images/sprite.svg#intro-item-btn"></use>
49 </svg></a> 150 </svg></a>
50 </div> 151 </div>
51 </div> 152 </div>
52 <div class="swiper-slide"> 153 <div class="swiper-slide">
53 <div class="intro-item"> 154 <div class="intro-item">
54 <div class="intro-item__img"><img src="images/intro-bg-2.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/intro-bg-2.jpg" data-caption="Фото 4"> 155 <div class="intro-item__img"><img src="images/intro-bg-2.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/intro-bg-2.jpg" data-caption="Фото 4">
55 <svg width="16" height="16"> 156 <svg width="16" height="16">
56 <use xlink:href="images/sprite.svg#intro-item-btn"></use> 157 <use xlink:href="images/sprite.svg#intro-item-btn"></use>
57 </svg></a> 158 </svg></a>
58 </div> 159 </div>
59 </div> 160 </div>
60 <div class="swiper-slide"> 161 <div class="swiper-slide">
61 <div class="intro-item"> 162 <div class="intro-item">
62 <div class="intro-item__img"><img src="images/news-one-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/news-one-bg.jpg" data-caption="Фото 5"> 163 <div class="intro-item__img"><img src="images/news-one-bg.jpg" alt=""></div><a class="intro-item__btn js_intro_item_btn" href="images/news-one-bg.jpg" data-caption="Фото 5">
63 <svg width="16" height="16"> 164 <svg width="16" height="16">
64 <use xlink:href="images/sprite.svg#intro-item-btn"></use> 165 <use xlink:href="images/sprite.svg#intro-item-btn"></use>
65 </svg></a> 166 </svg></a>
66 </div> 167 </div>
67 </div>--> 168 </div>-->
68 </div> 169 </div>
69 <div class="swiper-pagination"></div> 170 <div class="swiper-pagination"></div>
70 <div class="swiper-button-prev"> 171 <div class="swiper-button-prev">
71 <svg width="10" height="17"> 172 <svg width="10" height="17">
72 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 173 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
73 </svg> 174 </svg>
74 </div> 175 </div>
75 <div class="swiper-button-next"> 176 <div class="swiper-button-next">
76 <svg width="10" height="17"> 177 <svg width="10" height="17">
77 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 178 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
78 </svg> 179 </svg>
79 </div> 180 </div>
80 </div> 181 </div>
81 </div> 182 </div>
82 </div> 183 </div>
83 </div> 184 </div>
84 </section> 185 </section>
85 <!-- СТРАНИЦА ЖК--> 186 <!-- СТРАНИЦА ЖК-->
86 <section class="complex"> 187 <section class="complex">
87 <div class="container"> 188 <div class="container">
88 <div class="complex__top top-catalog"> 189 <div class="complex__top top-catalog">
89 <div class="top-catalog__inner"> 190 <div class="top-catalog__inner">
90 <h2 class="top-catalog__title title">Ж{{ $area->name_area }}</h2> 191 <h2 class="top-catalog__title title">Ж{{ $area->name_area }}</h2>
91 <div class="top-catalog__result">Найдено объектов по Вашему запросу: <span><?=$house_arenda->count()+$house_prodaja->count()+$house_bissnes->count()+$house_arendovannie->count(); ?></span></div> 192 <div class="top-catalog__result">Найдено объектов по Вашему запросу: <span><?=$house_arenda->count()+$house_prodaja->count()+$house_bissnes->count()+$house_arendovannie->count(); ?></span></div>
92 </div> 193 </div>
93 <form class="top-catalog__sorts"> 194 <form class="top-catalog__sorts">
94 <div class="top-catalog__sort-group sort-group js_sort_group"> 195 <div class="top-catalog__sort-group sort-group js_sort_group">
95 <input class="js_sort_group_input" type="hidden"> 196 <input class="js_sort_group_input" type="hidden">
96 <div class="sort-group__current js_sort_group_current">Сначала дешевле</div> 197 <div class="sort-group__current js_sort_group_current">Сначала дешевле</div>
97 <ul class="sort-group__list js_sort_group_list"> 198 <ul class="sort-group__list js_sort_group_list">
98 <li class="sort-group__item js_sort_group_item active" data-val="1">Сначала дешевле</li> 199 <li class="sort-price sort-group__item js_sort_group_item active" data-val="1">Сначала дешевле</li>
99 <li class="sort-group__item js_sort_group_item" data-val="2">Сначала дороже</li> 200 <li class="sort-price sort-group__item js_sort_group_item" data-val="2">Сначала дороже</li>
100 </ul> 201 </ul>
101 </div> 202 </div>
102 <div class="top-catalog__sort-group sort-group js_sort_group"> 203 <div class="top-catalog__sort-group sort-group js_sort_group">
103 <input class="js_sort_group_input" type="hidden"> 204 <input class="js_sort_group_input" type="hidden">
104 <div class="sort-group__current js_sort_group_current">Сначала новые</div> 205 <div class="sort-group__current js_sort_group_current">Сначала новые</div>
105 <ul class="sort-group__list js_sort_group_list"> 206 <ul class="sort-group__list js_sort_group_list">
106 <li class="sort-group__item js_sort_group_item active" data-val="1">Сначала новые</li> 207 <li class="sort-new sort-group__item js_sort_group_item active" data-val="1">Сначала новые</li>
107 <li class="sort-group__item js_sort_group_item" data-val="2">Сначала старые</li> 208 <li class="sort-new sort-group__item js_sort_group_item" data-val="2">Сначала старые</li>
108 </ul> 209 </ul>
109 </div> 210 </div>
110 <div class="top-catalog__sort-group sort-group sort-group--wide js_sort_group"> 211 <div class="top-catalog__sort-group sort-group sort-group--wide js_sort_group">
111 <input class="js_sort_group_input" type="hidden"> 212 <input class="js_sort_group_input" type="hidden">
112 <div class="sort-group__current js_sort_group_current">Сначала с большей площадью</div> 213 <div class="sort-group__current js_sort_group_current">Сначала с большей площадью</div>
113 <ul class="sort-group__list js_sort_group_list"> 214 <ul class="sort-group__list js_sort_group_list">
114 <li class="sort-group__item js_sort_group_item active" data-val="1">Сначала с большей площадью</li> 215 <li class="sort-area sort-group__item js_sort_group_item active" data-val="1">Сначала с большей площадью</li>
115 <li class="sort-group__item js_sort_group_item" data-val="2">Сначала с меньшей площадью</li> 216 <li class="sort-area sort-group__item js_sort_group_item" data-val="2">Сначала с меньшей площадью</li>
116 </ul> 217 </ul>
117 </div> 218 </div>
118 </form> 219 </form>
119 </div> 220 </div>
120 </div> 221 </div>
121 <div class="complex__sliders"> 222 <div id="ajax_block" class="complex__sliders">
122 <section class="slider"> 223 <section class="slider">
123 <div class="container"> 224 <div class="container">
124 <div class="slider__wrap"> 225 <div class="slider__wrap">
125 <div class="slider__top"> 226 <div class="slider__top">
126 <h2 class="slider__title title">Аренда торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a> 227 <h2 class="slider__title title">Аренда торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
127 <div class="slider__control"> 228 <div class="slider__control">
128 <div class="swiper-button-prev"> 229 <div class="swiper-button-prev">
129 <svg width="10" height="17"> 230 <svg width="10" height="17">
130 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 231 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
131 </svg> 232 </svg>
132 </div> 233 </div>
133 <div class="swiper-button-next"> 234 <div class="swiper-button-next">
134 <svg width="10" height="17"> 235 <svg width="10" height="17">
135 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 236 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
136 </svg> 237 </svg>
137 </div> 238 </div>
138 </div> 239 </div>
139 </div> 240 </div>
140 <div class="slider__swiper swiper"> 241 <div class="slider__swiper swiper">
141 <div class="swiper-wrapper"> 242 <div class="swiper-wrapper" id="arenda_block">
142 @if ($house_arenda->count()) 243 @if ($house_arenda->count())
143 @foreach ($house_arenda as $house1) 244 @foreach ($house_arenda as $house1)
144 @include('catalogs.elemhouse', ['house' => $house1]) 245 @include('catalogs.elemhouse', ['house' => $house1])
145 @endforeach 246 @endforeach
146 @else 247 @else
147 <h3>Здесь пока что нет предложений</h3> 248 <h3>Здесь пока что нет предложений</h3>
148 @endif 249 @endif
149 <!--<div class="swiper-slide"> 250 <!--<div class="swiper-slide">
150 <div class="card"> 251 <div class="card">
151 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 252 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
152 <h3 class="card__title">Салон красоты</h3> 253 <h3 class="card__title">Салон красоты</h3>
153 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 254 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
154 <svg width="18" height="18"> 255 <svg width="18" height="18">
155 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 256 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
156 </svg> 257 </svg>
157 <svg width="18" height="18"> 258 <svg width="18" height="18">
158 <use xlink:href="images/sprite.svg#card-favorites"></use> 259 <use xlink:href="images/sprite.svg#card-favorites"></use>
159 </svg></span><a class="card__label card__label-messenger" href="#"> 260 </svg></span><a class="card__label card__label-messenger" href="#">
160 <svg width="25" height="25"> 261 <svg width="25" height="25">
161 <use xlink:href="images/sprite.svg#card-messenger"></use> 262 <use xlink:href="images/sprite.svg#card-messenger"></use>
162 </svg></a></div> 263 </svg></a></div>
163 </div> 264 </div>
164 <div class="card__cnt"> 265 <div class="card__cnt">
165 <div class="card__info"> 266 <div class="card__info">
166 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 267 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
167 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 268 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
168 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 269 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
169 <div class="card__line">Площадь: <b>556 м2</b></div> 270 <div class="card__line">Площадь: <b>556 м2</b></div>
170 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 271 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
171 </div> 272 </div>
172 <div class="card__price"><span>1 000 000 ₽</span> 273 <div class="card__price"><span>1 000 000 ₽</span>
173 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 274 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
174 </div> 275 </div>
175 </div> 276 </div>
176 </div> 277 </div>
177 <div class="swiper-slide"> 278 <div class="swiper-slide">
178 <div class="card"> 279 <div class="card">
179 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 280 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
180 <h3 class="card__title">Барбер-шоп</h3> 281 <h3 class="card__title">Барбер-шоп</h3>
181 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 282 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
182 <svg width="18" height="18"> 283 <svg width="18" height="18">
183 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 284 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
184 </svg> 285 </svg>
185 <svg width="18" height="18"> 286 <svg width="18" height="18">
186 <use xlink:href="images/sprite.svg#card-favorites"></use> 287 <use xlink:href="images/sprite.svg#card-favorites"></use>
187 </svg></span><a class="card__label card__label-messenger" href="#"> 288 </svg></span><a class="card__label card__label-messenger" href="#">
188 <svg width="25" height="25"> 289 <svg width="25" height="25">
189 <use xlink:href="images/sprite.svg#card-messenger"></use> 290 <use xlink:href="images/sprite.svg#card-messenger"></use>
190 </svg></a></div> 291 </svg></a></div>
191 </div> 292 </div>
192 <div class="card__cnt"> 293 <div class="card__cnt">
193 <div class="card__info"> 294 <div class="card__info">
194 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 295 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
195 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 296 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
196 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 297 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
197 <div class="card__line">Площадь: <b>6 556 м2</b></div> 298 <div class="card__line">Площадь: <b>6 556 м2</b></div>
198 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 299 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
199 </div> 300 </div>
200 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 301 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
201 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 302 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
202 </div> 303 </div>
203 </div> 304 </div>
204 </div> 305 </div>
205 <div class="swiper-slide"> 306 <div class="swiper-slide">
206 <div class="card"> 307 <div class="card">
207 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 308 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
208 <h3 class="card__title">Аптека</h3> 309 <h3 class="card__title">Аптека</h3>
209 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 310 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
210 <svg width="18" height="18"> 311 <svg width="18" height="18">
211 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 312 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
212 </svg> 313 </svg>
213 <svg width="18" height="18"> 314 <svg width="18" height="18">
214 <use xlink:href="images/sprite.svg#card-favorites"></use> 315 <use xlink:href="images/sprite.svg#card-favorites"></use>
215 </svg></span><a class="card__label card__label-messenger" href="#"> 316 </svg></span><a class="card__label card__label-messenger" href="#">
216 <svg width="25" height="25"> 317 <svg width="25" height="25">
217 <use xlink:href="images/sprite.svg#card-messenger"></use> 318 <use xlink:href="images/sprite.svg#card-messenger"></use>
218 </svg></a></div> 319 </svg></a></div>
219 </div> 320 </div>
220 <div class="card__cnt"> 321 <div class="card__cnt">
221 <div class="card__info"> 322 <div class="card__info">
222 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 323 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
223 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 324 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
224 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 325 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
225 <div class="card__line">Площадь: <b>8 626 м2</b></div> 326 <div class="card__line">Площадь: <b>8 626 м2</b></div>
226 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 327 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
227 </div> 328 </div>
228 <div class="card__price"><span>5 280 000 ₽</span> 329 <div class="card__price"><span>5 280 000 ₽</span>
229 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 330 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
230 </div> 331 </div>
231 </div> 332 </div>
232 </div> 333 </div>
233 <div class="swiper-slide"> 334 <div class="swiper-slide">
234 <div class="card"> 335 <div class="card">
235 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 336 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
236 <h3 class="card__title">Витрина</h3> 337 <h3 class="card__title">Витрина</h3>
237 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 338 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
238 <svg width="18" height="18"> 339 <svg width="18" height="18">
239 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 340 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
240 </svg> 341 </svg>
241 <svg width="18" height="18"> 342 <svg width="18" height="18">
242 <use xlink:href="images/sprite.svg#card-favorites"></use> 343 <use xlink:href="images/sprite.svg#card-favorites"></use>
243 </svg></span><a class="card__label card__label-messenger" href="#"> 344 </svg></span><a class="card__label card__label-messenger" href="#">
244 <svg width="25" height="25"> 345 <svg width="25" height="25">
245 <use xlink:href="images/sprite.svg#card-messenger"></use> 346 <use xlink:href="images/sprite.svg#card-messenger"></use>
246 </svg></a></div> 347 </svg></a></div>
247 </div> 348 </div>
248 <div class="card__cnt"> 349 <div class="card__cnt">
249 <div class="card__info"> 350 <div class="card__info">
250 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 351 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
251 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 352 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
252 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 353 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
253 <div class="card__line">Площадь: <b>6 856 м2</b></div> 354 <div class="card__line">Площадь: <b>6 856 м2</b></div>
254 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 355 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
255 </div> 356 </div>
256 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 357 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
257 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 358 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
258 </div> 359 </div>
259 </div> 360 </div>
260 </div> 361 </div>
261 <div class="swiper-slide"> 362 <div class="swiper-slide">
262 <div class="card"> 363 <div class="card">
263 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 364 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
264 <h3 class="card__title">Салон красоты</h3> 365 <h3 class="card__title">Салон красоты</h3>
265 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 366 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
266 <svg width="18" height="18"> 367 <svg width="18" height="18">
267 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 368 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
268 </svg> 369 </svg>
269 <svg width="18" height="18"> 370 <svg width="18" height="18">
270 <use xlink:href="images/sprite.svg#card-favorites"></use> 371 <use xlink:href="images/sprite.svg#card-favorites"></use>
271 </svg></span><a class="card__label card__label-messenger" href="#"> 372 </svg></span><a class="card__label card__label-messenger" href="#">
272 <svg width="25" height="25"> 373 <svg width="25" height="25">
273 <use xlink:href="images/sprite.svg#card-messenger"></use> 374 <use xlink:href="images/sprite.svg#card-messenger"></use>
274 </svg></a></div> 375 </svg></a></div>
275 </div> 376 </div>
276 <div class="card__cnt"> 377 <div class="card__cnt">
277 <div class="card__info"> 378 <div class="card__info">
278 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 379 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
279 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 380 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
280 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 381 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
281 <div class="card__line">Площадь: <b>556 м2</b></div> 382 <div class="card__line">Площадь: <b>556 м2</b></div>
282 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 383 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
283 </div> 384 </div>
284 <div class="card__price"><span>1 000 000 ₽</span> 385 <div class="card__price"><span>1 000 000 ₽</span>
285 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 386 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
286 </div> 387 </div>
287 </div> 388 </div>
288 </div> 389 </div>
289 <div class="swiper-slide"> 390 <div class="swiper-slide">
290 <div class="card"> 391 <div class="card">
291 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 392 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
292 <h3 class="card__title">Барбер-шоп</h3> 393 <h3 class="card__title">Барбер-шоп</h3>
293 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 394 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
294 <svg width="18" height="18"> 395 <svg width="18" height="18">
295 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 396 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
296 </svg> 397 </svg>
297 <svg width="18" height="18"> 398 <svg width="18" height="18">
298 <use xlink:href="images/sprite.svg#card-favorites"></use> 399 <use xlink:href="images/sprite.svg#card-favorites"></use>
299 </svg></span><a class="card__label card__label-messenger" href="#"> 400 </svg></span><a class="card__label card__label-messenger" href="#">
300 <svg width="25" height="25"> 401 <svg width="25" height="25">
301 <use xlink:href="images/sprite.svg#card-messenger"></use> 402 <use xlink:href="images/sprite.svg#card-messenger"></use>
302 </svg></a></div> 403 </svg></a></div>
303 </div> 404 </div>
304 <div class="card__cnt"> 405 <div class="card__cnt">
305 <div class="card__info"> 406 <div class="card__info">
306 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 407 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
307 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 408 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
308 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 409 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
309 <div class="card__line">Площадь: <b>6 556 м2</b></div> 410 <div class="card__line">Площадь: <b>6 556 м2</b></div>
310 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 411 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
311 </div> 412 </div>
312 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 413 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
313 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 414 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
314 </div> 415 </div>
315 </div> 416 </div>
316 </div> 417 </div>
317 <div class="swiper-slide"> 418 <div class="swiper-slide">
318 <div class="card"> 419 <div class="card">
319 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 420 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
320 <h3 class="card__title">Аптека</h3> 421 <h3 class="card__title">Аптека</h3>
321 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 422 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
322 <svg width="18" height="18"> 423 <svg width="18" height="18">
323 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 424 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
324 </svg> 425 </svg>
325 <svg width="18" height="18"> 426 <svg width="18" height="18">
326 <use xlink:href="images/sprite.svg#card-favorites"></use> 427 <use xlink:href="images/sprite.svg#card-favorites"></use>
327 </svg></span><a class="card__label card__label-messenger" href="#"> 428 </svg></span><a class="card__label card__label-messenger" href="#">
328 <svg width="25" height="25"> 429 <svg width="25" height="25">
329 <use xlink:href="images/sprite.svg#card-messenger"></use> 430 <use xlink:href="images/sprite.svg#card-messenger"></use>
330 </svg></a></div> 431 </svg></a></div>
331 </div> 432 </div>
332 <div class="card__cnt"> 433 <div class="card__cnt">
333 <div class="card__info"> 434 <div class="card__info">
334 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 435 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
335 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 436 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
336 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 437 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
337 <div class="card__line">Площадь: <b>8 626 м2</b></div> 438 <div class="card__line">Площадь: <b>8 626 м2</b></div>
338 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 439 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
339 </div> 440 </div>
340 <div class="card__price"><span>5 280 000 ₽</span> 441 <div class="card__price"><span>5 280 000 ₽</span>
341 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 442 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
342 </div> 443 </div>
343 </div> 444 </div>
344 </div> 445 </div>
345 <div class="swiper-slide"> 446 <div class="swiper-slide">
346 <div class="card"> 447 <div class="card">
347 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 448 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
348 <h3 class="card__title">Витрина</h3> 449 <h3 class="card__title">Витрина</h3>
349 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 450 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
350 <svg width="18" height="18"> 451 <svg width="18" height="18">
351 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 452 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
352 </svg> 453 </svg>
353 <svg width="18" height="18"> 454 <svg width="18" height="18">
354 <use xlink:href="images/sprite.svg#card-favorites"></use> 455 <use xlink:href="images/sprite.svg#card-favorites"></use>
355 </svg></span><a class="card__label card__label-messenger" href="#"> 456 </svg></span><a class="card__label card__label-messenger" href="#">
356 <svg width="25" height="25"> 457 <svg width="25" height="25">
357 <use xlink:href="images/sprite.svg#card-messenger"></use> 458 <use xlink:href="images/sprite.svg#card-messenger"></use>
358 </svg></a></div> 459 </svg></a></div>
359 </div> 460 </div>
360 <div class="card__cnt"> 461 <div class="card__cnt">
361 <div class="card__info"> 462 <div class="card__info">
362 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 463 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
363 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 464 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
364 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 465 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
365 <div class="card__line">Площадь: <b>6 856 м2</b></div> 466 <div class="card__line">Площадь: <b>6 856 м2</b></div>
366 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 467 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
367 </div> 468 </div>
368 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 469 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
369 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 470 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
370 </div> 471 </div>
371 </div> 472 </div>
372 </div>--> 473 </div>-->
373 </div> 474 </div>
374 </div> 475 </div>
375 <div class="swiper-pagination"></div> 476 <div class="swiper-pagination"></div>
376 </div> 477 </div>
377 </div> 478 </div>
378 </section> 479 </section>
379 <section class="slider"> 480 <section class="slider">
380 <div class="container"> 481 <div class="container">
381 <div class="slider__wrap"> 482 <div class="slider__wrap">
382 <div class="slider__top"> 483 <div class="slider__top">
383 <h2 class="slider__title title">Продажа торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a> 484 <h2 class="slider__title title">Продажа торговых помещений</h2><a class="slider__more" href="#">Показать все объекты</a>
384 <div class="slider__control"> 485 <div class="slider__control">
385 <div class="swiper-button-prev"> 486 <div class="swiper-button-prev">
386 <svg width="10" height="17"> 487 <svg width="10" height="17">
387 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 488 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
388 </svg> 489 </svg>
389 </div> 490 </div>
390 <div class="swiper-button-next"> 491 <div class="swiper-button-next">
391 <svg width="10" height="17"> 492 <svg width="10" height="17">
392 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 493 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
393 </svg> 494 </svg>
394 </div> 495 </div>
395 </div> 496 </div>
396 </div> 497 </div>
397 <div class="slider__swiper swiper"> 498 <div class="slider__swiper swiper">
398 <div class="swiper-wrapper"> 499 <div class="swiper-wrapper" id="prodaja_block">
399 @if ($house_prodaja->count()) 500 @if ($house_prodaja->count())
400 @foreach ($house_prodaja as $house2) 501 @foreach ($house_prodaja as $house2)
401 @include('catalogs.elemhouse', ['house' => $house2]) 502 @include('catalogs.elemhouse', ['house' => $house2])
402 @endforeach 503 @endforeach
403 @else 504 @else
404 <h3>Здесь пока что нет предложений</h3> 505 <h3>Здесь пока что нет предложений</h3>
405 @endif 506 @endif
406 507
407 508
408 <!--<div class="swiper-slide"> 509 <!--<div class="swiper-slide">
409 <div class="card"> 510 <div class="card">
410 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 511 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
411 <h3 class="card__title">Салон красоты</h3> 512 <h3 class="card__title">Салон красоты</h3>
412 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 513 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
413 <svg width="18" height="18"> 514 <svg width="18" height="18">
414 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 515 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
415 </svg> 516 </svg>
416 <svg width="18" height="18"> 517 <svg width="18" height="18">
417 <use xlink:href="images/sprite.svg#card-favorites"></use> 518 <use xlink:href="images/sprite.svg#card-favorites"></use>
418 </svg></span><a class="card__label card__label-messenger" href="#"> 519 </svg></span><a class="card__label card__label-messenger" href="#">
419 <svg width="25" height="25"> 520 <svg width="25" height="25">
420 <use xlink:href="images/sprite.svg#card-messenger"></use> 521 <use xlink:href="images/sprite.svg#card-messenger"></use>
421 </svg></a></div> 522 </svg></a></div>
422 </div> 523 </div>
423 <div class="card__cnt"> 524 <div class="card__cnt">
424 <div class="card__info"> 525 <div class="card__info">
425 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 526 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
426 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 527 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
427 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 528 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
428 <div class="card__line">Площадь: <b>556 м2</b></div> 529 <div class="card__line">Площадь: <b>556 м2</b></div>
429 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 530 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
430 </div> 531 </div>
431 <div class="card__price"><span>1 000 000 ₽</span> 532 <div class="card__price"><span>1 000 000 ₽</span>
432 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 533 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
433 </div> 534 </div>
434 </div> 535 </div>
435 </div> 536 </div>
436 <div class="swiper-slide"> 537 <div class="swiper-slide">
437 <div class="card"> 538 <div class="card">
438 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 539 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
439 <h3 class="card__title">Барбер-шоп</h3> 540 <h3 class="card__title">Барбер-шоп</h3>
440 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 541 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
441 <svg width="18" height="18"> 542 <svg width="18" height="18">
442 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 543 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
443 </svg> 544 </svg>
444 <svg width="18" height="18"> 545 <svg width="18" height="18">
445 <use xlink:href="images/sprite.svg#card-favorites"></use> 546 <use xlink:href="images/sprite.svg#card-favorites"></use>
446 </svg></span><a class="card__label card__label-messenger" href="#"> 547 </svg></span><a class="card__label card__label-messenger" href="#">
447 <svg width="25" height="25"> 548 <svg width="25" height="25">
448 <use xlink:href="images/sprite.svg#card-messenger"></use> 549 <use xlink:href="images/sprite.svg#card-messenger"></use>
449 </svg></a></div> 550 </svg></a></div>
450 </div> 551 </div>
451 <div class="card__cnt"> 552 <div class="card__cnt">
452 <div class="card__info"> 553 <div class="card__info">
453 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 554 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
454 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 555 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
455 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 556 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
456 <div class="card__line">Площадь: <b>6 556 м2</b></div> 557 <div class="card__line">Площадь: <b>6 556 м2</b></div>
457 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 558 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
458 </div> 559 </div>
459 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 560 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
460 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 561 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
461 </div> 562 </div>
462 </div> 563 </div>
463 </div> 564 </div>
464 <div class="swiper-slide"> 565 <div class="swiper-slide">
465 <div class="card"> 566 <div class="card">
466 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 567 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
467 <h3 class="card__title">Аптека</h3> 568 <h3 class="card__title">Аптека</h3>
468 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 569 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
469 <svg width="18" height="18"> 570 <svg width="18" height="18">
470 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 571 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
471 </svg> 572 </svg>
472 <svg width="18" height="18"> 573 <svg width="18" height="18">
473 <use xlink:href="images/sprite.svg#card-favorites"></use> 574 <use xlink:href="images/sprite.svg#card-favorites"></use>
474 </svg></span><a class="card__label card__label-messenger" href="#"> 575 </svg></span><a class="card__label card__label-messenger" href="#">
475 <svg width="25" height="25"> 576 <svg width="25" height="25">
476 <use xlink:href="images/sprite.svg#card-messenger"></use> 577 <use xlink:href="images/sprite.svg#card-messenger"></use>
477 </svg></a></div> 578 </svg></a></div>
478 </div> 579 </div>
479 <div class="card__cnt"> 580 <div class="card__cnt">
480 <div class="card__info"> 581 <div class="card__info">
481 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 582 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
482 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 583 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
483 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 584 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
484 <div class="card__line">Площадь: <b>8 626 м2</b></div> 585 <div class="card__line">Площадь: <b>8 626 м2</b></div>
485 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 586 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
486 </div> 587 </div>
487 <div class="card__price"><span>5 280 000 ₽</span> 588 <div class="card__price"><span>5 280 000 ₽</span>
488 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 589 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
489 </div> 590 </div>
490 </div> 591 </div>
491 </div> 592 </div>
492 <div class="swiper-slide"> 593 <div class="swiper-slide">
493 <div class="card"> 594 <div class="card">
494 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 595 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
495 <h3 class="card__title">Витрина</h3> 596 <h3 class="card__title">Витрина</h3>
496 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 597 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
497 <svg width="18" height="18"> 598 <svg width="18" height="18">
498 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 599 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
499 </svg> 600 </svg>
500 <svg width="18" height="18"> 601 <svg width="18" height="18">
501 <use xlink:href="images/sprite.svg#card-favorites"></use> 602 <use xlink:href="images/sprite.svg#card-favorites"></use>
502 </svg></span><a class="card__label card__label-messenger" href="#"> 603 </svg></span><a class="card__label card__label-messenger" href="#">
503 <svg width="25" height="25"> 604 <svg width="25" height="25">
504 <use xlink:href="images/sprite.svg#card-messenger"></use> 605 <use xlink:href="images/sprite.svg#card-messenger"></use>
505 </svg></a></div> 606 </svg></a></div>
506 </div> 607 </div>
507 <div class="card__cnt"> 608 <div class="card__cnt">
508 <div class="card__info"> 609 <div class="card__info">
509 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 610 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
510 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 611 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
511 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 612 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
512 <div class="card__line">Площадь: <b>6 856 м2</b></div> 613 <div class="card__line">Площадь: <b>6 856 м2</b></div>
513 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 614 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
514 </div> 615 </div>
515 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 616 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
516 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 617 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
517 </div> 618 </div>
518 </div> 619 </div>
519 </div> 620 </div>
520 <div class="swiper-slide"> 621 <div class="swiper-slide">
521 <div class="card"> 622 <div class="card">
522 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 623 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
523 <h3 class="card__title">Салон красоты</h3> 624 <h3 class="card__title">Салон красоты</h3>
524 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 625 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
525 <svg width="18" height="18"> 626 <svg width="18" height="18">
526 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 627 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
527 </svg> 628 </svg>
528 <svg width="18" height="18"> 629 <svg width="18" height="18">
529 <use xlink:href="images/sprite.svg#card-favorites"></use> 630 <use xlink:href="images/sprite.svg#card-favorites"></use>
530 </svg></span><a class="card__label card__label-messenger" href="#"> 631 </svg></span><a class="card__label card__label-messenger" href="#">
531 <svg width="25" height="25"> 632 <svg width="25" height="25">
532 <use xlink:href="images/sprite.svg#card-messenger"></use> 633 <use xlink:href="images/sprite.svg#card-messenger"></use>
533 </svg></a></div> 634 </svg></a></div>
534 </div> 635 </div>
535 <div class="card__cnt"> 636 <div class="card__cnt">
536 <div class="card__info"> 637 <div class="card__info">
537 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 638 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
538 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 639 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
539 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 640 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
540 <div class="card__line">Площадь: <b>556 м2</b></div> 641 <div class="card__line">Площадь: <b>556 м2</b></div>
541 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 642 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
542 </div> 643 </div>
543 <div class="card__price"><span>1 000 000 ₽</span> 644 <div class="card__price"><span>1 000 000 ₽</span>
544 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 645 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
545 </div> 646 </div>
546 </div> 647 </div>
547 </div> 648 </div>
548 <div class="swiper-slide"> 649 <div class="swiper-slide">
549 <div class="card"> 650 <div class="card">
550 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 651 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
551 <h3 class="card__title">Барбер-шоп</h3> 652 <h3 class="card__title">Барбер-шоп</h3>
552 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 653 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
553 <svg width="18" height="18"> 654 <svg width="18" height="18">
554 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 655 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
555 </svg> 656 </svg>
556 <svg width="18" height="18"> 657 <svg width="18" height="18">
557 <use xlink:href="images/sprite.svg#card-favorites"></use> 658 <use xlink:href="images/sprite.svg#card-favorites"></use>
558 </svg></span><a class="card__label card__label-messenger" href="#"> 659 </svg></span><a class="card__label card__label-messenger" href="#">
559 <svg width="25" height="25"> 660 <svg width="25" height="25">
560 <use xlink:href="images/sprite.svg#card-messenger"></use> 661 <use xlink:href="images/sprite.svg#card-messenger"></use>
561 </svg></a></div> 662 </svg></a></div>
562 </div> 663 </div>
563 <div class="card__cnt"> 664 <div class="card__cnt">
564 <div class="card__info"> 665 <div class="card__info">
565 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 666 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
566 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 667 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
567 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 668 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
568 <div class="card__line">Площадь: <b>6 556 м2</b></div> 669 <div class="card__line">Площадь: <b>6 556 м2</b></div>
569 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 670 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
570 </div> 671 </div>
571 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 672 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
572 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 673 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
573 </div> 674 </div>
574 </div> 675 </div>
575 </div> 676 </div>
576 <div class="swiper-slide"> 677 <div class="swiper-slide">
577 <div class="card"> 678 <div class="card">
578 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 679 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
579 <h3 class="card__title">Аптека</h3> 680 <h3 class="card__title">Аптека</h3>
580 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 681 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
581 <svg width="18" height="18"> 682 <svg width="18" height="18">
582 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 683 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
583 </svg> 684 </svg>
584 <svg width="18" height="18"> 685 <svg width="18" height="18">
585 <use xlink:href="images/sprite.svg#card-favorites"></use> 686 <use xlink:href="images/sprite.svg#card-favorites"></use>
586 </svg></span><a class="card__label card__label-messenger" href="#"> 687 </svg></span><a class="card__label card__label-messenger" href="#">
587 <svg width="25" height="25"> 688 <svg width="25" height="25">
588 <use xlink:href="images/sprite.svg#card-messenger"></use> 689 <use xlink:href="images/sprite.svg#card-messenger"></use>
589 </svg></a></div> 690 </svg></a></div>
590 </div> 691 </div>
591 <div class="card__cnt"> 692 <div class="card__cnt">
592 <div class="card__info"> 693 <div class="card__info">
593 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 694 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
594 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 695 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
595 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 696 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
596 <div class="card__line">Площадь: <b>8 626 м2</b></div> 697 <div class="card__line">Площадь: <b>8 626 м2</b></div>
597 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 698 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
598 </div> 699 </div>
599 <div class="card__price"><span>5 280 000 ₽</span> 700 <div class="card__price"><span>5 280 000 ₽</span>
600 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 701 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
601 </div> 702 </div>
602 </div> 703 </div>
603 </div> 704 </div>
604 <div class="swiper-slide"> 705 <div class="swiper-slide">
605 <div class="card"> 706 <div class="card">
606 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 707 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
607 <h3 class="card__title">Витрина</h3> 708 <h3 class="card__title">Витрина</h3>
608 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 709 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
609 <svg width="18" height="18"> 710 <svg width="18" height="18">
610 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 711 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
611 </svg> 712 </svg>
612 <svg width="18" height="18"> 713 <svg width="18" height="18">
613 <use xlink:href="images/sprite.svg#card-favorites"></use> 714 <use xlink:href="images/sprite.svg#card-favorites"></use>
614 </svg></span><a class="card__label card__label-messenger" href="#"> 715 </svg></span><a class="card__label card__label-messenger" href="#">
615 <svg width="25" height="25"> 716 <svg width="25" height="25">
616 <use xlink:href="images/sprite.svg#card-messenger"></use> 717 <use xlink:href="images/sprite.svg#card-messenger"></use>
617 </svg></a></div> 718 </svg></a></div>
618 </div> 719 </div>
619 <div class="card__cnt"> 720 <div class="card__cnt">
620 <div class="card__info"> 721 <div class="card__info">
621 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 722 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
622 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 723 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
623 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 724 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
624 <div class="card__line">Площадь: <b>6 856 м2</b></div> 725 <div class="card__line">Площадь: <b>6 856 м2</b></div>
625 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 726 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
626 </div> 727 </div>
627 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 728 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
628 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 729 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
629 </div> 730 </div>
630 </div> 731 </div>
631 </div>--> 732 </div>-->
632 </div> 733 </div>
633 </div> 734 </div>
634 <div class="swiper-pagination"></div> 735 <div class="swiper-pagination"></div>
635 </div> 736 </div>
636 </div> 737 </div>
637 </section> 738 </section>
638 <section class="slider"> 739 <section class="slider">
639 <div class="container"> 740 <div class="container">
640 <div class="slider__wrap"> 741 <div class="slider__wrap">
641 <div class="slider__top"> 742 <div class="slider__top">
642 <h2 class="slider__title title">Арендный бизнес</h2><a class="slider__more" href="#">Показать все объекты</a> 743 <h2 class="slider__title title">Арендный бизнес</h2><a class="slider__more" href="#">Показать все объекты</a>
643 <div class="slider__control"> 744 <div class="slider__control">
644 <div class="swiper-button-prev"> 745 <div class="swiper-button-prev">
645 <svg width="10" height="17"> 746 <svg width="10" height="17">
646 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 747 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
647 </svg> 748 </svg>
648 </div> 749 </div>
649 <div class="swiper-button-next"> 750 <div class="swiper-button-next">
650 <svg width="10" height="17"> 751 <svg width="10" height="17">
651 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 752 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
652 </svg> 753 </svg>
653 </div> 754 </div>
654 </div> 755 </div>
655 </div> 756 </div>
656 <div class="slider__swiper swiper"> 757 <div class="slider__swiper swiper">
657 <div class="swiper-wrapper"> 758 <div class="swiper-wrapper" id="bissnes_block">
658 @if ($house_bissnes->count()) 759 @if ($house_bissnes->count())
659 @foreach ($house_bissnes as $house3) 760 @foreach ($house_bissnes as $house3)
660 @include('catalogs.elemhouse', ['house' => $house3]) 761 @include('catalogs.elemhouse', ['house' => $house3])
661 @endforeach 762 @endforeach
662 @else 763 @else
663 <h3>Здесь пока что нет предложений</h3> 764 <h3>Здесь пока что нет предложений</h3>
664 @endif 765 @endif
665 <!--<div class="swiper-slide"> 766 <!--<div class="swiper-slide">
666 <div class="card"> 767 <div class="card">
667 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 768 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
668 <h3 class="card__title">Салон красоты</h3> 769 <h3 class="card__title">Салон красоты</h3>
669 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 770 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
670 <svg width="18" height="18"> 771 <svg width="18" height="18">
671 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 772 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
672 </svg> 773 </svg>
673 <svg width="18" height="18"> 774 <svg width="18" height="18">
674 <use xlink:href="images/sprite.svg#card-favorites"></use> 775 <use xlink:href="images/sprite.svg#card-favorites"></use>
675 </svg></span><a class="card__label card__label-messenger" href="#"> 776 </svg></span><a class="card__label card__label-messenger" href="#">
676 <svg width="25" height="25"> 777 <svg width="25" height="25">
677 <use xlink:href="images/sprite.svg#card-messenger"></use> 778 <use xlink:href="images/sprite.svg#card-messenger"></use>
678 </svg></a></div> 779 </svg></a></div>
679 </div> 780 </div>
680 <div class="card__cnt"> 781 <div class="card__cnt">
681 <div class="card__info"> 782 <div class="card__info">
682 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 783 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
683 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 784 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
684 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 785 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
685 <div class="card__line">Площадь: <b>556 м2</b></div> 786 <div class="card__line">Площадь: <b>556 м2</b></div>
686 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 787 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
687 </div> 788 </div>
688 <div class="card__price"><span>1 000 000 ₽</span> 789 <div class="card__price"><span>1 000 000 ₽</span>
689 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 790 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
690 </div> 791 </div>
691 </div> 792 </div>
692 </div> 793 </div>
693 <div class="swiper-slide"> 794 <div class="swiper-slide">
694 <div class="card"> 795 <div class="card">
695 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 796 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
696 <h3 class="card__title">Барбер-шоп</h3> 797 <h3 class="card__title">Барбер-шоп</h3>
697 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 798 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
698 <svg width="18" height="18"> 799 <svg width="18" height="18">
699 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 800 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
700 </svg> 801 </svg>
701 <svg width="18" height="18"> 802 <svg width="18" height="18">
702 <use xlink:href="images/sprite.svg#card-favorites"></use> 803 <use xlink:href="images/sprite.svg#card-favorites"></use>
703 </svg></span><a class="card__label card__label-messenger" href="#"> 804 </svg></span><a class="card__label card__label-messenger" href="#">
704 <svg width="25" height="25"> 805 <svg width="25" height="25">
705 <use xlink:href="images/sprite.svg#card-messenger"></use> 806 <use xlink:href="images/sprite.svg#card-messenger"></use>
706 </svg></a></div> 807 </svg></a></div>
707 </div> 808 </div>
708 <div class="card__cnt"> 809 <div class="card__cnt">
709 <div class="card__info"> 810 <div class="card__info">
710 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 811 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
711 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 812 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
712 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 813 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
713 <div class="card__line">Площадь: <b>6 556 м2</b></div> 814 <div class="card__line">Площадь: <b>6 556 м2</b></div>
714 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 815 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
715 </div> 816 </div>
716 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 817 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
717 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 818 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
718 </div> 819 </div>
719 </div> 820 </div>
720 </div> 821 </div>
721 <div class="swiper-slide"> 822 <div class="swiper-slide">
722 <div class="card"> 823 <div class="card">
723 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 824 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
724 <h3 class="card__title">Аптека</h3> 825 <h3 class="card__title">Аптека</h3>
725 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 826 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
726 <svg width="18" height="18"> 827 <svg width="18" height="18">
727 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 828 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
728 </svg> 829 </svg>
729 <svg width="18" height="18"> 830 <svg width="18" height="18">
730 <use xlink:href="images/sprite.svg#card-favorites"></use> 831 <use xlink:href="images/sprite.svg#card-favorites"></use>
731 </svg></span><a class="card__label card__label-messenger" href="#"> 832 </svg></span><a class="card__label card__label-messenger" href="#">
732 <svg width="25" height="25"> 833 <svg width="25" height="25">
733 <use xlink:href="images/sprite.svg#card-messenger"></use> 834 <use xlink:href="images/sprite.svg#card-messenger"></use>
734 </svg></a></div> 835 </svg></a></div>
735 </div> 836 </div>
736 <div class="card__cnt"> 837 <div class="card__cnt">
737 <div class="card__info"> 838 <div class="card__info">
738 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 839 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
739 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 840 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
740 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 841 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
741 <div class="card__line">Площадь: <b>8 626 м2</b></div> 842 <div class="card__line">Площадь: <b>8 626 м2</b></div>
742 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 843 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
743 </div> 844 </div>
744 <div class="card__price"><span>5 280 000 ₽</span> 845 <div class="card__price"><span>5 280 000 ₽</span>
745 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 846 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
746 </div> 847 </div>
747 </div> 848 </div>
748 </div> 849 </div>
749 <div class="swiper-slide"> 850 <div class="swiper-slide">
750 <div class="card"> 851 <div class="card">
751 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 852 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
752 <h3 class="card__title">Витрина</h3> 853 <h3 class="card__title">Витрина</h3>
753 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 854 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
754 <svg width="18" height="18"> 855 <svg width="18" height="18">
755 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 856 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
756 </svg> 857 </svg>
757 <svg width="18" height="18"> 858 <svg width="18" height="18">
758 <use xlink:href="images/sprite.svg#card-favorites"></use> 859 <use xlink:href="images/sprite.svg#card-favorites"></use>
759 </svg></span><a class="card__label card__label-messenger" href="#"> 860 </svg></span><a class="card__label card__label-messenger" href="#">
760 <svg width="25" height="25"> 861 <svg width="25" height="25">
761 <use xlink:href="images/sprite.svg#card-messenger"></use> 862 <use xlink:href="images/sprite.svg#card-messenger"></use>
762 </svg></a></div> 863 </svg></a></div>
763 </div> 864 </div>
764 <div class="card__cnt"> 865 <div class="card__cnt">
765 <div class="card__info"> 866 <div class="card__info">
766 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 867 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
767 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 868 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
768 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 869 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
769 <div class="card__line">Площадь: <b>6 856 м2</b></div> 870 <div class="card__line">Площадь: <b>6 856 м2</b></div>
770 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 871 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
771 </div> 872 </div>
772 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 873 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
773 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 874 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
774 </div> 875 </div>
775 </div> 876 </div>
776 </div> 877 </div>
777 <div class="swiper-slide"> 878 <div class="swiper-slide">
778 <div class="card"> 879 <div class="card">
779 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 880 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
780 <h3 class="card__title">Салон красоты</h3> 881 <h3 class="card__title">Салон красоты</h3>
781 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 882 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
782 <svg width="18" height="18"> 883 <svg width="18" height="18">
783 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 884 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
784 </svg> 885 </svg>
785 <svg width="18" height="18"> 886 <svg width="18" height="18">
786 <use xlink:href="images/sprite.svg#card-favorites"></use> 887 <use xlink:href="images/sprite.svg#card-favorites"></use>
787 </svg></span><a class="card__label card__label-messenger" href="#"> 888 </svg></span><a class="card__label card__label-messenger" href="#">
788 <svg width="25" height="25"> 889 <svg width="25" height="25">
789 <use xlink:href="images/sprite.svg#card-messenger"></use> 890 <use xlink:href="images/sprite.svg#card-messenger"></use>
790 </svg></a></div> 891 </svg></a></div>
791 </div> 892 </div>
792 <div class="card__cnt"> 893 <div class="card__cnt">
793 <div class="card__info"> 894 <div class="card__info">
794 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 895 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
795 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 896 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
796 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 897 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
797 <div class="card__line">Площадь: <b>556 м2</b></div> 898 <div class="card__line">Площадь: <b>556 м2</b></div>
798 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 899 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
799 </div> 900 </div>
800 <div class="card__price"><span>1 000 000 ₽</span> 901 <div class="card__price"><span>1 000 000 ₽</span>
801 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 902 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
802 </div> 903 </div>
803 </div> 904 </div>
804 </div> 905 </div>
805 <div class="swiper-slide"> 906 <div class="swiper-slide">
806 <div class="card"> 907 <div class="card">
807 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 908 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
808 <h3 class="card__title">Барбер-шоп</h3> 909 <h3 class="card__title">Барбер-шоп</h3>
809 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 910 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
810 <svg width="18" height="18"> 911 <svg width="18" height="18">
811 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 912 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
812 </svg> 913 </svg>
813 <svg width="18" height="18"> 914 <svg width="18" height="18">
814 <use xlink:href="images/sprite.svg#card-favorites"></use> 915 <use xlink:href="images/sprite.svg#card-favorites"></use>
815 </svg></span><a class="card__label card__label-messenger" href="#"> 916 </svg></span><a class="card__label card__label-messenger" href="#">
816 <svg width="25" height="25"> 917 <svg width="25" height="25">
817 <use xlink:href="images/sprite.svg#card-messenger"></use> 918 <use xlink:href="images/sprite.svg#card-messenger"></use>
818 </svg></a></div> 919 </svg></a></div>
819 </div> 920 </div>
820 <div class="card__cnt"> 921 <div class="card__cnt">
821 <div class="card__info"> 922 <div class="card__info">
822 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 923 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
823 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 924 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
824 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 925 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
825 <div class="card__line">Площадь: <b>6 556 м2</b></div> 926 <div class="card__line">Площадь: <b>6 556 м2</b></div>
826 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 927 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
827 </div> 928 </div>
828 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 929 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
829 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 930 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
830 </div> 931 </div>
831 </div> 932 </div>
832 </div> 933 </div>
833 <div class="swiper-slide"> 934 <div class="swiper-slide">
834 <div class="card"> 935 <div class="card">
835 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 936 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
836 <h3 class="card__title">Аптека</h3> 937 <h3 class="card__title">Аптека</h3>
837 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 938 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
838 <svg width="18" height="18"> 939 <svg width="18" height="18">
839 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 940 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
840 </svg> 941 </svg>
841 <svg width="18" height="18"> 942 <svg width="18" height="18">
842 <use xlink:href="images/sprite.svg#card-favorites"></use> 943 <use xlink:href="images/sprite.svg#card-favorites"></use>
843 </svg></span><a class="card__label card__label-messenger" href="#"> 944 </svg></span><a class="card__label card__label-messenger" href="#">
844 <svg width="25" height="25"> 945 <svg width="25" height="25">
845 <use xlink:href="images/sprite.svg#card-messenger"></use> 946 <use xlink:href="images/sprite.svg#card-messenger"></use>
846 </svg></a></div> 947 </svg></a></div>
847 </div> 948 </div>
848 <div class="card__cnt"> 949 <div class="card__cnt">
849 <div class="card__info"> 950 <div class="card__info">
850 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 951 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
851 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 952 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
852 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 953 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
853 <div class="card__line">Площадь: <b>8 626 м2</b></div> 954 <div class="card__line">Площадь: <b>8 626 м2</b></div>
854 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 955 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
855 </div> 956 </div>
856 <div class="card__price"><span>5 280 000 ₽</span> 957 <div class="card__price"><span>5 280 000 ₽</span>
857 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 958 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
858 </div> 959 </div>
859 </div> 960 </div>
860 </div> 961 </div>
861 <div class="swiper-slide"> 962 <div class="swiper-slide">
862 <div class="card"> 963 <div class="card">
863 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 964 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
864 <h3 class="card__title">Витрина</h3> 965 <h3 class="card__title">Витрина</h3>
865 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 966 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
866 <svg width="18" height="18"> 967 <svg width="18" height="18">
867 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 968 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
868 </svg> 969 </svg>
869 <svg width="18" height="18"> 970 <svg width="18" height="18">
870 <use xlink:href="images/sprite.svg#card-favorites"></use> 971 <use xlink:href="images/sprite.svg#card-favorites"></use>
871 </svg></span><a class="card__label card__label-messenger" href="#"> 972 </svg></span><a class="card__label card__label-messenger" href="#">
872 <svg width="25" height="25"> 973 <svg width="25" height="25">
873 <use xlink:href="images/sprite.svg#card-messenger"></use> 974 <use xlink:href="images/sprite.svg#card-messenger"></use>
874 </svg></a></div> 975 </svg></a></div>
875 </div> 976 </div>
876 <div class="card__cnt"> 977 <div class="card__cnt">
877 <div class="card__info"> 978 <div class="card__info">
878 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 979 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
879 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 980 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
880 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 981 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
881 <div class="card__line">Площадь: <b>6 856 м2</b></div> 982 <div class="card__line">Площадь: <b>6 856 м2</b></div>
882 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 983 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
883 </div> 984 </div>
884 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 985 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
885 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 986 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
886 </div> 987 </div>
887 </div> 988 </div>
888 </div>--> 989 </div>-->
889 </div> 990 </div>
890 </div> 991 </div>
891 <div class="swiper-pagination"></div> 992 <div class="swiper-pagination"></div>
892 </div> 993 </div>
893 </div> 994 </div>
894 </section> 995 </section>
895 <section class="slider"> 996 <section class="slider">
896 <div class="container"> 997 <div class="container">
897 <div class="slider__wrap"> 998 <div class="slider__wrap">
898 <div class="slider__top"> 999 <div class="slider__top">
899 <h2 class="slider__title title">Арендованные</h2><a class="slider__more" href="#">Показать все объекты</a> 1000 <h2 class="slider__title title">Арендованные</h2><a class="slider__more" href="#">Показать все объекты</a>
900 <div class="slider__control"> 1001 <div class="slider__control">
901 <div class="swiper-button-prev"> 1002 <div class="swiper-button-prev">
902 <svg width="10" height="17"> 1003 <svg width="10" height="17">
903 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 1004 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
904 </svg> 1005 </svg>
905 </div> 1006 </div>
906 <div class="swiper-button-next"> 1007 <div class="swiper-button-next">
907 <svg width="10" height="17"> 1008 <svg width="10" height="17">
908 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use> 1009 <use xlink:href="{{ asset('images/sprite.svg#slider-arrow') }}"></use>
909 </svg> 1010 </svg>
910 </div> 1011 </div>
911 </div> 1012 </div>
912 </div> 1013 </div>
913 <div class="slider__swiper swiper"> 1014 <div class="slider__swiper swiper">
914 <div class="swiper-wrapper"> 1015 <div class="swiper-wrapper" id="arendovannie_block">
915 @if ($house_arendovannie->count()) 1016 @if ($house_arendovannie->count())
916 @foreach ($house_arendovannie as $house1) 1017 @foreach ($house_arendovannie as $house1)
917 @include('catalogs.elemhouse', ['house' => $house1]) 1018 @include('catalogs.elemhouse', ['house' => $house1])
918 @endforeach 1019 @endforeach
919 @else 1020 @else
920 <h3>Здесь пока что нет предложений</h3> 1021 <h3>Здесь пока что нет предложений</h3>
921 @endif 1022 @endif
922 <!--<div class="swiper-slide"> 1023 <!--<div class="swiper-slide">
923 <div class="card"> 1024 <div class="card">
924 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 1025 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
925 <h3 class="card__title">Салон красоты</h3> 1026 <h3 class="card__title">Салон красоты</h3>
926 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1027 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
927 <svg width="18" height="18"> 1028 <svg width="18" height="18">
928 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1029 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
929 </svg> 1030 </svg>
930 <svg width="18" height="18"> 1031 <svg width="18" height="18">
931 <use xlink:href="images/sprite.svg#card-favorites"></use> 1032 <use xlink:href="images/sprite.svg#card-favorites"></use>
932 </svg></span><a class="card__label card__label-messenger" href="#"> 1033 </svg></span><a class="card__label card__label-messenger" href="#">
933 <svg width="25" height="25"> 1034 <svg width="25" height="25">
934 <use xlink:href="images/sprite.svg#card-messenger"></use> 1035 <use xlink:href="images/sprite.svg#card-messenger"></use>
935 </svg></a></div> 1036 </svg></a></div>
936 </div> 1037 </div>
937 <div class="card__cnt"> 1038 <div class="card__cnt">
938 <div class="card__info"> 1039 <div class="card__info">
939 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 1040 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
940 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 1041 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
941 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 1042 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
942 <div class="card__line">Площадь: <b>556 м2</b></div> 1043 <div class="card__line">Площадь: <b>556 м2</b></div>
943 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 1044 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
944 </div> 1045 </div>
945 <div class="card__price"><span>1 000 000 ₽</span> 1046 <div class="card__price"><span>1 000 000 ₽</span>
946 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 1047 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
947 </div> 1048 </div>
948 </div> 1049 </div>
949 </div> 1050 </div>
950 <div class="swiper-slide"> 1051 <div class="swiper-slide">
951 <div class="card"> 1052 <div class="card">
952 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 1053 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
953 <h3 class="card__title">Барбер-шоп</h3> 1054 <h3 class="card__title">Барбер-шоп</h3>
954 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1055 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
955 <svg width="18" height="18"> 1056 <svg width="18" height="18">
956 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1057 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
957 </svg> 1058 </svg>
958 <svg width="18" height="18"> 1059 <svg width="18" height="18">
959 <use xlink:href="images/sprite.svg#card-favorites"></use> 1060 <use xlink:href="images/sprite.svg#card-favorites"></use>
960 </svg></span><a class="card__label card__label-messenger" href="#"> 1061 </svg></span><a class="card__label card__label-messenger" href="#">
961 <svg width="25" height="25"> 1062 <svg width="25" height="25">
962 <use xlink:href="images/sprite.svg#card-messenger"></use> 1063 <use xlink:href="images/sprite.svg#card-messenger"></use>
963 </svg></a></div> 1064 </svg></a></div>
964 </div> 1065 </div>
965 <div class="card__cnt"> 1066 <div class="card__cnt">
966 <div class="card__info"> 1067 <div class="card__info">
967 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 1068 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
968 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 1069 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
969 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 1070 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
970 <div class="card__line">Площадь: <b>6 556 м2</b></div> 1071 <div class="card__line">Площадь: <b>6 556 м2</b></div>
971 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 1072 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
972 </div> 1073 </div>
973 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 1074 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
974 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 1075 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
975 </div> 1076 </div>
976 </div> 1077 </div>
977 </div> 1078 </div>
978 <div class="swiper-slide"> 1079 <div class="swiper-slide">
979 <div class="card"> 1080 <div class="card">
980 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 1081 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
981 <h3 class="card__title">Аптека</h3> 1082 <h3 class="card__title">Аптека</h3>
982 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1083 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
983 <svg width="18" height="18"> 1084 <svg width="18" height="18">
984 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1085 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
985 </svg> 1086 </svg>
986 <svg width="18" height="18"> 1087 <svg width="18" height="18">
987 <use xlink:href="images/sprite.svg#card-favorites"></use> 1088 <use xlink:href="images/sprite.svg#card-favorites"></use>
988 </svg></span><a class="card__label card__label-messenger" href="#"> 1089 </svg></span><a class="card__label card__label-messenger" href="#">
989 <svg width="25" height="25"> 1090 <svg width="25" height="25">
990 <use xlink:href="images/sprite.svg#card-messenger"></use> 1091 <use xlink:href="images/sprite.svg#card-messenger"></use>
991 </svg></a></div> 1092 </svg></a></div>
992 </div> 1093 </div>
993 <div class="card__cnt"> 1094 <div class="card__cnt">
994 <div class="card__info"> 1095 <div class="card__info">
995 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 1096 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
996 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 1097 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
997 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 1098 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
998 <div class="card__line">Площадь: <b>8 626 м2</b></div> 1099 <div class="card__line">Площадь: <b>8 626 м2</b></div>
999 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 1100 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
1000 </div> 1101 </div>
1001 <div class="card__price"><span>5 280 000 ₽</span> 1102 <div class="card__price"><span>5 280 000 ₽</span>
1002 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 1103 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
1003 </div> 1104 </div>
1004 </div> 1105 </div>
1005 </div> 1106 </div>
1006 <div class="swiper-slide"> 1107 <div class="swiper-slide">
1007 <div class="card"> 1108 <div class="card">
1008 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 1109 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
1009 <h3 class="card__title">Витрина</h3> 1110 <h3 class="card__title">Витрина</h3>
1010 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1111 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
1011 <svg width="18" height="18"> 1112 <svg width="18" height="18">
1012 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1113 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
1013 </svg> 1114 </svg>
1014 <svg width="18" height="18"> 1115 <svg width="18" height="18">
1015 <use xlink:href="images/sprite.svg#card-favorites"></use> 1116 <use xlink:href="images/sprite.svg#card-favorites"></use>
1016 </svg></span><a class="card__label card__label-messenger" href="#"> 1117 </svg></span><a class="card__label card__label-messenger" href="#">
1017 <svg width="25" height="25"> 1118 <svg width="25" height="25">
1018 <use xlink:href="images/sprite.svg#card-messenger"></use> 1119 <use xlink:href="images/sprite.svg#card-messenger"></use>
1019 </svg></a></div> 1120 </svg></a></div>
1020 </div> 1121 </div>
1021 <div class="card__cnt"> 1122 <div class="card__cnt">
1022 <div class="card__info"> 1123 <div class="card__info">
1023 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 1124 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
1024 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 1125 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
1025 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 1126 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
1026 <div class="card__line">Площадь: <b>6 856 м2</b></div> 1127 <div class="card__line">Площадь: <b>6 856 м2</b></div>
1027 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 1128 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
1028 </div> 1129 </div>
1029 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 1130 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
1030 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 1131 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
1031 </div> 1132 </div>
1032 </div> 1133 </div>
1033 </div> 1134 </div>
1034 <div class="swiper-slide"> 1135 <div class="swiper-slide">
1035 <div class="card"> 1136 <div class="card">
1036 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy"> 1137 <div class="card__top"><img src="images/card/card-img-1.jpg" alt="Фото недвижимости" loading="lazy">
1037 <h3 class="card__title">Салон красоты</h3> 1138 <h3 class="card__title">Салон красоты</h3>
1038 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1139 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
1039 <svg width="18" height="18"> 1140 <svg width="18" height="18">
1040 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1141 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
1041 </svg> 1142 </svg>
1042 <svg width="18" height="18"> 1143 <svg width="18" height="18">
1043 <use xlink:href="images/sprite.svg#card-favorites"></use> 1144 <use xlink:href="images/sprite.svg#card-favorites"></use>
1044 </svg></span><a class="card__label card__label-messenger" href="#"> 1145 </svg></span><a class="card__label card__label-messenger" href="#">
1045 <svg width="25" height="25"> 1146 <svg width="25" height="25">
1046 <use xlink:href="images/sprite.svg#card-messenger"></use> 1147 <use xlink:href="images/sprite.svg#card-messenger"></use>
1047 </svg></a></div> 1148 </svg></a></div>
1048 </div> 1149 </div>
1049 <div class="card__cnt"> 1150 <div class="card__cnt">
1050 <div class="card__info"> 1151 <div class="card__info">
1051 <address class="card__line card__line-complex">ЖК “Новинки 1”</address> 1152 <address class="card__line card__line-complex">ЖК “Новинки 1”</address>
1052 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address> 1153 <address class="card__line">Фрунзенская (10 мин., пешком)<span style="background-color: #FFC955;"></span></address>
1053 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 1154 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
1054 <div class="card__line">Площадь: <b>556 м2</b></div> 1155 <div class="card__line">Площадь: <b>556 м2</b></div>
1055 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 1156 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
1056 </div> 1157 </div>
1057 <div class="card__price"><span>1 000 000 ₽</span> 1158 <div class="card__price"><span>1 000 000 ₽</span>
1058 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a> 1159 </div><a class="card__btn btn btn--bordered" href="#">Подробнее</a>
1059 </div> 1160 </div>
1060 </div> 1161 </div>
1061 </div> 1162 </div>
1062 <div class="swiper-slide"> 1163 <div class="swiper-slide">
1063 <div class="card"> 1164 <div class="card">
1064 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy"> 1165 <div class="card__top"><img src="images/card/card-img-2.jpg" alt="Фото недвижимости" loading="lazy">
1065 <h3 class="card__title">Барбер-шоп</h3> 1166 <h3 class="card__title">Барбер-шоп</h3>
1066 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1167 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
1067 <svg width="18" height="18"> 1168 <svg width="18" height="18">
1068 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1169 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
1069 </svg> 1170 </svg>
1070 <svg width="18" height="18"> 1171 <svg width="18" height="18">
1071 <use xlink:href="images/sprite.svg#card-favorites"></use> 1172 <use xlink:href="images/sprite.svg#card-favorites"></use>
1072 </svg></span><a class="card__label card__label-messenger" href="#"> 1173 </svg></span><a class="card__label card__label-messenger" href="#">
1073 <svg width="25" height="25"> 1174 <svg width="25" height="25">
1074 <use xlink:href="images/sprite.svg#card-messenger"></use> 1175 <use xlink:href="images/sprite.svg#card-messenger"></use>
1075 </svg></a></div> 1176 </svg></a></div>
1076 </div> 1177 </div>
1077 <div class="card__cnt"> 1178 <div class="card__cnt">
1078 <div class="card__info"> 1179 <div class="card__info">
1079 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address> 1180 <address class="card__line card__line-complex">ЖК “Новоарбатский”</address>
1080 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address> 1181 <address class="card__line">Арбатская (8 мин., пешком)<span style="background-color: #0000A0;"></span></address>
1081 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 1182 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
1082 <div class="card__line">Площадь: <b>6 556 м2</b></div> 1183 <div class="card__line">Площадь: <b>6 556 м2</b></div>
1083 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div> 1184 <div class="card__line">Цена за м<sup>2</sup>: <b>5 225 256 ₽</b></div>
1084 </div> 1185 </div>
1085 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span> 1186 <div class="card__price"><span>15 520 900 ₽</span><span>в месяц</span>
1086 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 1187 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
1087 </div> 1188 </div>
1088 </div> 1189 </div>
1089 </div> 1190 </div>
1090 <div class="swiper-slide"> 1191 <div class="swiper-slide">
1091 <div class="card"> 1192 <div class="card">
1092 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy"> 1193 <div class="card__top"><img src="images/card/card-img-3.jpg" alt="Фото недвижимости" loading="lazy">
1093 <h3 class="card__title">Аптека</h3> 1194 <h3 class="card__title">Аптека</h3>
1094 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1195 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
1095 <svg width="18" height="18"> 1196 <svg width="18" height="18">
1096 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1197 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
1097 </svg> 1198 </svg>
1098 <svg width="18" height="18"> 1199 <svg width="18" height="18">
1099 <use xlink:href="images/sprite.svg#card-favorites"></use> 1200 <use xlink:href="images/sprite.svg#card-favorites"></use>
1100 </svg></span><a class="card__label card__label-messenger" href="#"> 1201 </svg></span><a class="card__label card__label-messenger" href="#">
1101 <svg width="25" height="25"> 1202 <svg width="25" height="25">
1102 <use xlink:href="images/sprite.svg#card-messenger"></use> 1203 <use xlink:href="images/sprite.svg#card-messenger"></use>
1103 </svg></a></div> 1204 </svg></a></div>
1104 </div> 1205 </div>
1105 <div class="card__cnt"> 1206 <div class="card__cnt">
1106 <div class="card__info"> 1207 <div class="card__info">
1107 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address> 1208 <address class="card__line card__line-complex">ЖК “Садовые кварталы”</address>
1108 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address> 1209 <address class="card__line">Коломенская (2 мин., пешком)<span style="background-color: #029B55;"></span></address>
1109 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address> 1210 <address class="card__line">ул. Ак. Королева, д. 13, стр. 1, этаж 7, пом. 1, к. 69</address>
1110 <div class="card__line">Площадь: <b>8 626 м2</b></div> 1211 <div class="card__line">Площадь: <b>8 626 м2</b></div>
1111 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div> 1212 <div class="card__line">Цена за м<sup>2</sup>: <b>550 256 ₽</b></div>
1112 </div> 1213 </div>
1113 <div class="card__price"><span>5 280 000 ₽</span> 1214 <div class="card__price"><span>5 280 000 ₽</span>
1114 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a> 1215 </div><a class="card__btn btn btn--bordered" href="#">Подробнее о продаже</a>
1115 </div> 1216 </div>
1116 </div> 1217 </div>
1117 </div> 1218 </div>
1118 <div class="swiper-slide"> 1219 <div class="swiper-slide">
1119 <div class="card"> 1220 <div class="card">
1120 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy"> 1221 <div class="card__top"><img src="images/card/card-img-4.jpg" alt="Фото недвижимости" loading="lazy">
1121 <h3 class="card__title">Витрина</h3> 1222 <h3 class="card__title">Витрина</h3>
1122 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites"> 1223 <div class="card__labels"><span class="card__label card__label-favorites js_card_favorites">
1123 <svg width="18" height="18"> 1224 <svg width="18" height="18">
1124 <use xlink:href="images/sprite.svg#card-favorites-empty"></use> 1225 <use xlink:href="images/sprite.svg#card-favorites-empty"></use>
1125 </svg> 1226 </svg>
1126 <svg width="18" height="18"> 1227 <svg width="18" height="18">
1127 <use xlink:href="images/sprite.svg#card-favorites"></use> 1228 <use xlink:href="images/sprite.svg#card-favorites"></use>
1128 </svg></span><a class="card__label card__label-messenger" href="#"> 1229 </svg></span><a class="card__label card__label-messenger" href="#">
1129 <svg width="25" height="25"> 1230 <svg width="25" height="25">
1130 <use xlink:href="images/sprite.svg#card-messenger"></use> 1231 <use xlink:href="images/sprite.svg#card-messenger"></use>
1131 </svg></a></div> 1232 </svg></a></div>
1132 </div> 1233 </div>
1133 <div class="card__cnt"> 1234 <div class="card__cnt">
1134 <div class="card__info"> 1235 <div class="card__info">
1135 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address> 1236 <address class="card__line card__line-complex">ЖК “Нахимовский проспект, 46”</address>
1136 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address> 1237 <address class="card__line">Парк Победы (5 мин., пешком)<span style="background-color: #222964;"></span></address>
1137 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address> 1238 <address class="card__line">г. Москва, ул. Дербеневская, д. 1, стр. 6, п. 4, эт. 2, к. 3.1.</address>
1138 <div class="card__line">Площадь: <b>6 856 м2</b></div> 1239 <div class="card__line">Площадь: <b>6 856 м2</b></div>
1139 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div> 1240 <div class="card__line">Цена за м<sup>2</sup>: <b>25 256 ₽</b></div>
1140 </div> 1241 </div>
1141 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span> 1242 <div class="card__price"><span>2 625 520 ₽</span><span>в месяц</span>
1142 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a> 1243 </div><a class="card__btn btn btn--bordered" href="#">Подробнее об аренде</a>
1143 </div> 1244 </div>
1144 </div> 1245 </div>
1145 </div>--> 1246 </div>-->
1146 </div> 1247 </div>
1147 </div> 1248 </div>
1148 <div class="swiper-pagination"></div> 1249 <div class="swiper-pagination"></div>
1149 </div> 1250 </div>
1150 </div> 1251 </div>
1151 </section> 1252 </section>
1152 </div> 1253 </div>
1153 <div class="complex__map map" id="complex-map"></div> 1254 <div class="complex__map map" id="complex-map"></div>
1154 </section> 1255 </section>
1155 @endsection 1256 @endsection
1156 1257
1157 @section('form_feedback') 1258 @section('form_feedback')
1158 <!-- Форма обратной связи --> 1259 <!-- Форма обратной связи -->
1159 @include('form.form_feedback') 1260 @include('form.form_feedback')
1160 @endsection 1261 @endsection
1161 1262
1162 1263
resources/views/layout/site.blade.php
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> 2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <title>{{$title}}</title> 7 <title>{{$title}}</title>
8 <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin> 8 <link rel="preload" href="{{ asset('fonts/Manrope-ExtraLight.woff2') }}" as="font" type="font/woff2" crossorigin>
9 <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin> 9 <link rel="preload" href="{{ asset('fonts/Manrope-Light.woff2" as="font') }}" type="font/woff2" crossorigin>
10 <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin> 10 <link rel="preload" href="{{ asset('fonts/Manrope-Regular.woff2') }}" as="font" type="font/woff2" crossorigin>
11 <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin> 11 <link rel="preload" href="{{ asset('fonts/Manrope-Medium.woff2') }}" as="font" type="font/woff2" crossorigin>
12 <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin> 12 <link rel="preload" href="{{ asset('fonts/Manrope-SemiBold.woff2') }}" as="font" type="font/woff2" crossorigin>
13 <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin> 13 <link rel="preload" href="{{ asset('fonts/Manrope-Bold.woff2') }}" as="font" type="font/woff2" crossorigin>
14 <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin> 14 <link rel="preload" href="{{ asset('fonts/Manrope-ExtraBold.woff2') }}" as="font" type="font/woff2" crossorigin>
15 <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}"> 15 <link rel="stylesheet" href="{{ asset('css/swiper-bundle.min.css') }}">
16 <link rel="stylesheet" href="{{ asset('css/style.css') }}"> 16 <link rel="stylesheet" href="{{ asset('css/style.css') }}">
17 </head> 17 </head>
18 <body> 18 <body>
19 <div class="spinner"></div> 19 <div class="spinner"></div>
20 <div class="wrapper"> 20 <div class="wrapper">
21 <header class="header js_header"> 21 <header class="header js_header">
22 <div class="container"> 22 <div class="container">
23 <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a> 23 <div class="header__wrap"><a class="header__logo" href="{{ route('index') }}"><img src="{{ asset('images/logo.svg') }}" alt="Лого"></a>
24 <nav class="header__nav nav"> 24 <nav class="header__nav nav">
25 <ul class="nav__list"> 25 <ul class="nav__list">
26 <li class="nav__item"><a class="nav__link" href="{{ route('catalog') }}">Каталог</a></li> 26 <li class="nav__item"><a class="nav__link" href="{{ route('catalog') }}">Каталог</a></li>
27 <li class="nav__item"><a class="nav__link" href="{{ route('about') }}">О компании</a></li> 27 <li class="nav__item"><a class="nav__link" href="{{ route('about') }}">О компании</a></li>
28 <li class="nav__item"><a class="nav__link" href="{{ route('contact') }}">Контакты</a></li> 28 <li class="nav__item"><a class="nav__link" href="{{ route('contact') }}">Контакты</a></li>
29 <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span>0</span></a></li> 29 <li class="nav__item"><a class="nav__link nav__link-favorites" href="{{ route('favorite') }}">Избранное<span>0</span></a></li>
30 </ul> 30 </ul>
31 </nav> 31 </nav>
32 <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback"> 32 <div class="header__buttons"><a class="header__btn-phone" href="#" data-btn="feedback">
33 <svg width="22" height="22"> 33 <svg width="22" height="22">
34 <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use> 34 <use xlink:href="{{ asset('images/sprite.svg#header-btn-phone') }}"></use>
35 </svg></a> 35 </svg></a>
36 <div class="header__contacts"> 36 <div class="header__contacts">
37 <div class="header__col"><a class="header__contact" href="mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></div> 37 <div class="header__col"><a class="header__contact" href="mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></div>
38 <div class="header__col"><a class="header__contact" href="tel:{{ $items_contact[0]->email }}">{{ $items_contact[0]->telephone }}</a> 38 <div class="header__col"><a class="header__contact" href="tel:{{ $items_contact[0]->email }}">{{ $items_contact[0]->telephone }}</a>
39 <button class="header__btn-callback" type="button" data-btn="feedback">Обратный звонок</button> 39 <button class="header__btn-callback" type="button" data-btn="feedback">Обратный звонок</button>
40 </div> 40 </div>
41 </div> 41 </div>
42 <button class="header__burger js_header_burger" type="button">Меню 42 <button class="header__burger js_header_burger" type="button">Меню
43 <svg width="28" height="18"> 43 <svg width="28" height="18">
44 <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use> 44 <use xlink:href="{{ asset('images/sprite.svg#burger') }}"></use>
45 </svg> 45 </svg>
46 </button> 46 </button>
47 </div> 47 </div>
48 <div class="menu js_menu"> 48 <div class="menu js_menu">
49 <div class="menu__wrap"> 49 <div class="menu__wrap">
50 <button class="menu__close js_menu_close" type="button">Меню 50 <button class="menu__close js_menu_close" type="button">Меню
51 <svg width="20" height="20"> 51 <svg width="20" height="20">
52 <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use> 52 <use xlink:href="{{ asset('images/sprite.svg#popup-close') }}"></use>
53 </svg> 53 </svg>
54 </button> 54 </button>
55 <div class="menu__inner"> 55 <div class="menu__inner">
56 <nav class="menu__nav"> 56 <nav class="menu__nav">
57 <ul class="menu__list"> 57 <ul class="menu__list">
58 <li class="menu__item"><a class="menu__link" href="{{ route('about') }}">О компании</a></li> 58 <li class="menu__item"><a class="menu__link" href="{{ route('about') }}">О компании</a></li>
59 <li class="menu__item"><a class="menu__link menu__link-favorites" href="{{ route('favorite') }}">Избранное<span>5</span></a></li> 59 <li class="menu__item"><a class="menu__link menu__link-favorites" href="{{ route('favorite') }}">Избранное<span>5</span></a></li>
60 <li class="menu__item"><a class="menu__link" href="{{ route('catalog') }}">Каталог</a></li> 60 <li class="menu__item"><a class="menu__link" href="{{ route('catalog') }}">Каталог</a></li>
61 <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li> 61 <li class="menu__item"><a class="menu__link" href="{{ route('news') }}">Новости</a></li>
62 <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li> 62 <li class="menu__item"><a class="menu__link" href="{{ route('contact') }}">Контакты</a></li>
63 </ul> 63 </ul>
64 </nav> 64 </nav>
65 <div class="menu__contacts"><a class="menu__contact" href="mailto:info@renttorg.ru">E-MAIL<span>info@renttorg.ru</span></a><a class="menu__contact" href="tel:+79290127262">ТЕЛЕФОН<span>+7 (929) 012-72-62</span></a></div> 65 <div class="menu__contacts"><a class="menu__contact" href="mailto:info@renttorg.ru">E-MAIL<span>info@renttorg.ru</span></a><a class="menu__contact" href="tel:+79290127262">ТЕЛЕФОН<span>+7 (929) 012-72-62</span></a></div>
66 <div class="menu__social social"> 66 <div class="menu__social social">
67 <ul class="social__list"> 67 <ul class="social__list">
68 <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li> 68 <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="images/tg.svg" alt=""></a></li>
69 <li class="social__item"><a class="social__link" href="#" target="_blank"> 69 <li class="social__item"><a class="social__link" href="#" target="_blank">
70 <svg width="40" height="40"> 70 <svg width="40" height="40">
71 <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use> 71 <use xlink:href="{{ asset('images/sprite.svg#wa')}}"></use>
72 </svg></a></li> 72 </svg></a></li>
73 </ul> 73 </ul>
74 </div> 74 </div>
75 </div> 75 </div>
76 </div> 76 </div>
77 </div> 77 </div>
78 </div> 78 </div>
79 </div> 79 </div>
80 </header> 80 </header>
81 <main> 81 <main>
82 <!-- Фильтр --> 82 <!-- Фильтр -->
83 @yield('filter') 83 @yield('filter')
84 84
85 <!-- Основной контент --> 85 <!-- Основной контент -->
86 @yield('content') 86 @yield('content')
87 87
88 </main> 88 </main>
89 89
90 <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})"> 90 <footer class="footer" style="background-image:url({{ asset('images/footer-bg.jpg')}})">
91 <div class="footer__buttons"> 91 <div class="footer__buttons">
92 <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button"> 92 <button class="footer__btn footer__btn-phone js_btn_contact_us" type="button">
93 <svg width="30" height="32"> 93 <svg width="30" height="32">
94 <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use> 94 <use xlink:href="{{ asset('images/sprite.svg#footer-btn-phone')}}"></use>
95 </svg> 95 </svg>
96 </button> 96 </button>
97 <button class="footer__btn footer__btn-up js_btn_up" type="button"> 97 <button class="footer__btn footer__btn-up js_btn_up" type="button">
98 <svg width="19" height="11"> 98 <svg width="19" height="11">
99 <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use> 99 <use xlink:href="{{ asset('images/sprite.svg#footer-btn-up')}}"></use>
100 </svg> 100 </svg>
101 </button> 101 </button>
102 </div> 102 </div>
103 <!-- Форма обратной связи --> 103 <!-- Форма обратной связи -->
104 @yield('form_feedback'); 104 @yield('form_feedback');
105 105
106 <!-- Сам футер мееню --> 106 <!-- Сам футер мееню -->
107 <div class="footer-middle"> 107 <div class="footer-middle">
108 <div class="container"> 108 <div class="container">
109 <div class="footer-middle__wrap"> 109 <div class="footer-middle__wrap">
110 <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a> 110 <div class="footer__col footer__col-intro"><a class="footer__logo" href="index.html"><img src="{{ asset('images/logo-footer.svg')}}" alt="Лого"></a>
111 <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p> 111 <p class="footer__descr">В группу “Renttorg” входит ряд ведущих российских девелоперских компаний полного цикла, реализующих масштабные объекты недвижимости.</p>
112 <div class="footer-questions"> 112 <div class="footer-questions">
113 <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a> 113 <h3 class="footer-questions__title">Есть вопросы или предложения?</h3><a class="footer-questions__btn btn btn--main" href="#" data-btn="feedback">Напишите нам</a>
114 </div> 114 </div>
115 </div> 115 </div>
116 <div class="footer__col footer__col-menu js_footer_col"> 116 <div class="footer__col footer__col-menu js_footer_col">
117 <h3 class="footer__caption js_footer_caption">Меню</h3> 117 <h3 class="footer__caption js_footer_caption">Меню</h3>
118 <div class="footer__block js_footer_block"> 118 <div class="footer__block js_footer_block">
119 <ul class="footer__list"> 119 <ul class="footer__list">
120 <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li> 120 <li class="footer__item"><a class="footer__link" href="{{ route('catalog') }}">Каталог</a></li>
121 <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li> 121 <li class="footer__item"><a class="footer__link" href="{{ route('about') }}">О компании</a></li>
122 <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li> 122 <li class="footer__item"><a class="footer__link" href="{{ route('contact') }}">Контакты</a></li>
123 <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li> 123 <li class="footer__item"><a class="footer__link" href="{{ route('favorite') }}">Избранное</a></li>
124 <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li> 124 <li class="footer__item"><a class="footer__link" href="{{ route('news') }}">Новости</a></li>
125 </ul> 125 </ul>
126 126
127 </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a> 127 </div><a class="footer__author" href="#" target="_blank"><img src="{{ asset('images/author.png')}}" alt="Лого разработчика"></a>
128 </div> 128 </div>
129 <div class="footer__col js_footer_col"> 129 <div class="footer__col js_footer_col">
130 <h3 class="footer__caption js_footer_caption">Услуги</h3> 130 <h3 class="footer__caption js_footer_caption">Услуги</h3>
131 <div class="footer__block js_footer_block"> 131 <div class="footer__block js_footer_block">
132 <ul class="footer__list"> 132 <ul class="footer__list">
133 <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li> 133 <li class="footer__item"><a class="footer__link" href="#">Продажа арендного бизнеса</a></li>
134 <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li> 134 <li class="footer__item"><a class="footer__link" href="#">Арендованные помещения</a></li>
135 <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li> 135 <li class="footer__item"><a class="footer__link" href="#">Свободные для аренды</a></li>
136 </ul> 136 </ul>
137 </div> 137 </div>
138 </div> 138 </div>
139 <div class="footer__col js_footer_col"> 139 <div class="footer__col js_footer_col">
140 <h3 class="footer__caption js_footer_caption">Объекты</h3> 140 <h3 class="footer__caption js_footer_caption">Объекты</h3>
141 <div class="footer__block js_footer_block"> 141 <div class="footer__block js_footer_block">
142 <ul class="footer__list"> 142 <ul class="footer__list">
143 <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li> 143 <li class="footer__item"><a class="footer__link" href="#">Новая Москва</a></li>
144 <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li> 144 <li class="footer__item"><a class="footer__link" href="#">Подмосковье</a></li>
145 <li class="footer__item"><a class="footer__link" href="#">Москва</a></li> 145 <li class="footer__item"><a class="footer__link" href="#">Москва</a></li>
146 <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li> 146 <li class="footer__item"><a class="footer__link" href="#">Тип недвижимости</a></li>
147 </ul> 147 </ul>
148 </div> 148 </div>
149 </div> 149 </div>
150 <div class="footer__col footer__col-contacts"> 150 <div class="footer__col footer__col-contacts">
151 <h3 class="footer__caption js_footer_caption">Контакты</h3> 151 <h3 class="footer__caption js_footer_caption">Контакты</h3>
152 <ul class="footer__list"> 152 <ul class="footer__list">
153 <li class="footer__item"><a class="footer__link" href="#mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></li> 153 <li class="footer__item"><a class="footer__link" href="#mailto:{{ $items_contact[0]->email }}">{{ $items_contact[0]->email }}</a></li>
154 <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li> 154 <li class="footer__item"><a class="footer__link" href="tel:{{ $items_contact[0]->telephone }}">{{ $items_contact[0]->telephone }}</a></li>
155 </ul> 155 </ul>
156 <div class="footer__social social"> 156 <div class="footer__social social">
157 <ul class="social__list"> 157 <ul class="social__list">
158 <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li> 158 <li class="social__item"><a class="social__link" href="#" target="_blank"><img src="{{ asset('images/tg.svg')}}" alt=""></a></li>
159 <li class="social__item"><a class="social__link" href="#" target="_blank"> 159 <li class="social__item"><a class="social__link" href="#" target="_blank">
160 <svg width="40" height="40"> 160 <svg width="40" height="40">
161 <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use> 161 <use xlink:href="{{ asset('images/sprite.svg#wa') }}"></use>
162 </svg></a></li> 162 </svg></a></li>
163 </ul> 163 </ul>
164 </div> 164 </div>
165 </div> 165 </div>
166 </div> 166 </div>
167 </div> 167 </div>
168 </div> 168 </div>
169 169
170 170
171 <div class="footer-bottom"> 171 <div class="footer-bottom">
172 <div class="container"> 172 <div class="container">
173 <div class="footer-bottom__wrap"> 173 <div class="footer-bottom__wrap">
174 <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a> 174 <div class="footer__copy">© 2023 RentTorg</div><a class="footer__plicy" href="{{ route('conf') }}">Политика конфиденциальности</a>
175 </div> 175 </div>
176 </div> 176 </div>
177 </div> 177 </div>
178 </footer> 178 </footer>
179 </div> 179 </div>
180 180
181 <!-- Вплывающие окна --> 181 <!-- Вплывающие окна -->
182 <div class="popup popup-feedback" data-popup="feedback"> 182 <div class="popup popup-feedback" data-popup="feedback">
183 <div class="popup__wrap"> 183 <div class="popup__wrap">
184 <button class="popup__close js_popup_close" type="button"> 184 <button class="popup__close js_popup_close" type="button">
185 <svg width="20" height="20"> 185 <svg width="20" height="20">
186 <use xlink:href="images/sprite.svg#popup-close"></use> 186 <use xlink:href="images/sprite.svg#popup-close"></use>
187 </svg> 187 </svg>
188 </button> 188 </button>
189 <form class="popup-feedback__form js_popup_feedback_form"> 189 <form class="popup-feedback__form js_popup_feedback_form">
190 <div class="popup-feedback__title">Как с вами связаться</div> 190 <div class="popup-feedback__title">Как с вами связаться</div>
191 <div class="popup-feedback__fields"> 191 <div class="popup-feedback__fields">
192 <label class="popup-feedback__field field"> 192 <label class="popup-feedback__field field">
193 <input type="text" placeholder="Имя" name="Имя"> 193 <input type="text" placeholder="Имя" name="Имя">
194 </label> 194 </label>
195 <label class="popup-feedback__field field"> 195 <label class="popup-feedback__field field">
196 <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> 196 <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон">
197 </label> 197 </label>
198 </div> 198 </div>
199 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> 199 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
200 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> 200 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
201 </form> 201 </form>
202 </div> 202 </div>
203 </div> 203 </div>
204 <div class="popup popup-feedback" data-popup="viewing"> 204 <div class="popup popup-feedback" data-popup="viewing">
205 <div class="popup__wrap"> 205 <div class="popup__wrap">
206 <button class="popup__close js_popup_close" type="button"> 206 <button class="popup__close js_popup_close" type="button">
207 <svg width="20" height="20"> 207 <svg width="20" height="20">
208 <use xlink:href="images/sprite.svg#popup-close"></use> 208 <use xlink:href="images/sprite.svg#popup-close"></use>
209 </svg> 209 </svg>
210 </button> 210 </button>
211 <form class="popup-feedback__form js_popup_viewing_form"> 211 <form class="popup-feedback__form js_popup_viewing_form">
212 <div class="popup-feedback__title">Записаться на просмотр</div> 212 <div class="popup-feedback__title">Записаться на просмотр</div>
213 <div class="popup-feedback__fields"> 213 <div class="popup-feedback__fields">
214 <label class="popup-feedback__field field"> 214 <label class="popup-feedback__field field">
215 <input type="text" placeholder="Имя" name="Имя"> 215 <input type="text" placeholder="Имя" name="Имя">
216 </label> 216 </label>
217 <label class="popup-feedback__field field"> 217 <label class="popup-feedback__field field">
218 <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон"> 218 <input class="js_input_phone" type="text" placeholder="Телефон" name="Телефон">
219 </label> 219 </label>
220 </div> 220 </div>
221 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> 221 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
222 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> 222 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
223 </form> 223 </form>
224 </div> 224 </div>
225 </div> 225 </div>
226 <div class="popup popup-success" data-popup="success"> 226 <div class="popup popup-success" data-popup="success">
227 <div class="popup__wrap"> 227 <div class="popup__wrap">
228 <button class="popup__close js_popup_close" type="button"> 228 <button class="popup__close js_popup_close" type="button">
229 <svg width="20" height="20"> 229 <svg width="20" height="20">
230 <use xlink:href="images/sprite.svg#popup-close"></use> 230 <use xlink:href="images/sprite.svg#popup-close"></use>
231 </svg> 231 </svg>
232 </button> 232 </button>
233 <div class="popup-success__inner"> 233 <div class="popup-success__inner">
234 <div class="popup-success__logo"> 234 <div class="popup-success__logo">
235 <svg width="48" height="39"> 235 <svg width="48" height="39">
236 <use xlink:href="images/sprite.svg#popup-success-logo"></use> 236 <use xlink:href="images/sprite.svg#popup-success-logo"></use>
237 </svg> 237 </svg>
238 </div> 238 </div>
239 <div class="popup-success__title">Спасибо за заявку</div> 239 <div class="popup-success__title">Спасибо за заявку</div>
240 <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p> 240 <p class="popup-success__descr">В ближайшее время с вами свяжется наш специалист для уточнения деталей вашей задачи.</p>
241 </div> 241 </div>
242 </div> 242 </div>
243 </div> 243 </div>
244 <div class="popup popup-feedback" data-popup="sending"> 244 <div class="popup popup-feedback" data-popup="sending">
245 <div class="popup__wrap"> 245 <div class="popup__wrap">
246 <button class="popup__close js_popup_close" type="button"> 246 <button class="popup__close js_popup_close" type="button">
247 <svg width="20" height="20"> 247 <svg width="20" height="20">
248 <use xlink:href="images/sprite.svg#popup-close"></use> 248 <use xlink:href="images/sprite.svg#popup-close"></use>
249 </svg> 249 </svg>
250 </button> 250 </button>
251 <form class="popup-feedback__form js_popup_sending_form"> 251 <form class="popup-feedback__form js_popup_sending_form">
252 <div class="popup-feedback__title">Отправить на почту</div> 252 <div class="popup-feedback__title">Отправить на почту</div>
253 <div class="popup-feedback__fields"> 253 <div class="popup-feedback__fields">
254 <label class="popup-feedback__field field"> 254 <label class="popup-feedback__field field">
255 <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта"> 255 <input class="js_input_email" type="text" placeholder="Электронная почта" name="Электронная почта">
256 </label> 256 </label>
257 </div> 257 </div>
258 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button> 258 <button class="popup-feedback__btn btn btn--main js_form_btn">Отправить</button>
259 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p> 259 <p class="popup-feedback__confirm">Нажимая на кнопку «Отправить», Вы даете согласие на обработку персональных данных в соответствии с <a href="#">Политикой конфиденциальности</a>.</p>
260 </form> 260 </form>
261 </div> 261 </div>
262 </div> 262 </div>
263 <div class="contact-us js_contact_us"> 263 <div class="contact-us js_contact_us">
264 <div class="contact-us__top"> 264 <div class="contact-us__top">
265 <button class="contact-us__close js_contact_us_close" type="button"> 265 <button class="contact-us__close js_contact_us_close" type="button">
266 <svg width="20" height="20"> 266 <svg width="20" height="20">
267 <use xlink:href="images/sprite.svg#popup-close"></use> 267 <use xlink:href="images/sprite.svg#popup-close"></use>
268 </svg> 268 </svg>
269 </button> 269 </button>
270 <div class="contact-us__title">Свяжитесь с нами</div> 270 <div class="contact-us__title">Свяжитесь с нами</div>
271 </div> 271 </div>
272 <div class="contact-us__body"> 272 <div class="contact-us__body">
273 <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#"> 273 <div class="contact-us__items"><a class="contact-us-item js_contact_us_close" href="#">
274 <div class="contact-us-item__icon"> 274 <div class="contact-us-item__icon">
275 <svg width="34" height="34"> 275 <svg width="34" height="34">
276 <use xlink:href="images/sprite.svg#contact-us-phone"></use> 276 <use xlink:href="images/sprite.svg#contact-us-phone"></use>
277 </svg> 277 </svg>
278 </div> 278 </div>
279 <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#"> 279 <div class="contact-us-item__name">Позвонить</div></a><a class="contact-us-item js_contact_us_close" href="#">
280 <div class="contact-us-item__icon"> 280 <div class="contact-us-item__icon">
281 <svg width="44" height="44"> 281 <svg width="44" height="44">
282 <use xlink:href="images/sprite.svg#contact-us-email"></use> 282 <use xlink:href="images/sprite.svg#contact-us-email"></use>
283 </svg> 283 </svg>
284 </div> 284 </div>
285 <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#"> 285 <div class="contact-us-item__name">Написать</div></a><a class="contact-us-item js_contact_us_close" href="#">
286 <div class="contact-us-item__icon"> 286 <div class="contact-us-item__icon">
287 <svg width="34" height="34"> 287 <svg width="34" height="34">
288 <use xlink:href="images/sprite.svg#contact-us-chat"></use> 288 <use xlink:href="images/sprite.svg#contact-us-chat"></use>
289 </svg> 289 </svg>
290 </div> 290 </div>
291 <div class="contact-us-item__name">Онлайн-чат</div></a></div> 291 <div class="contact-us-item__name">Онлайн-чат</div></a></div>
292 <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> 292 <div class="contact-us__socials"><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
293 <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="images/contact-us-tg.svg" alt=""></div> 293 <div class="contact-us-social__icon contact-us-social__icon-tg"><img src="images/contact-us-tg.svg" alt=""></div>
294 <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank"> 294 <div class="contact-us-social__name">Telegram</div></a><a class="contact-us-social js_contact_us_close" href="#" target="_blank">
295 <div class="contact-us-social__icon contact-us-social__icon-wa"> 295 <div class="contact-us-social__icon contact-us-social__icon-wa">
296 <svg width="31" height="31"> 296 <svg width="31" height="31">
297 <use xlink:href="images/sprite.svg#contact-us-wa"></use> 297 <use xlink:href="images/sprite.svg#contact-us-wa"></use>
298 </svg> 298 </svg>
299 </div> 299 </div>
300 <div class="contact-us-social__name">WhatsApp</div></a></div> 300 <div class="contact-us-social__name">WhatsApp</div></a></div>
301 </div> 301 </div>
302 </div> 302 </div>
303 <div class="offer-side-popup" data-popup="offer-side-popup"> 303 <div class="offer-side-popup" data-popup="offer-side-popup">
304 <div class="offer-side-popup__wrap"> 304 <div class="offer-side-popup__wrap">
305 <button class="offer-side-popup__close js_popup_close" type="button"> 305 <button class="offer-side-popup__close js_popup_close" type="button">
306 <svg width="20" height="20"> 306 <svg width="20" height="20">
307 <use xlink:href="images/sprite.svg#popup-close"></use> 307 <use xlink:href="images/sprite.svg#popup-close"></use>
308 </svg> 308 </svg>
309 </button> 309 </button>
310 <div class="offer-side-popup__cnt"> 310 <div class="offer-side-popup__cnt">
311 <div class="offer-side-popup__item js_offer_side_popup_item active" data-item="1"><img src="images/offer-side-item-img-1.jpg" alt="План объекта"></div> 311 <div class="offer-side-popup__item js_offer_side_popup_item active" data-item="1"><img src="images/offer-side-item-img-1.jpg" alt="План объекта"></div>
312 <div class="offer-side-popup__item js_offer_side_popup_item" data-item="2"><img src="images/offer-side-item-img-2.jpg" alt="План этажа"></div> 312 <div class="offer-side-popup__item js_offer_side_popup_item" data-item="2"><img src="images/offer-side-item-img-2.jpg" alt="План этажа"></div>
313 </div> 313 </div>
314 <div class="offer-side-popup__tabs"> 314 <div class="offer-side-popup__tabs">
315 <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button> 315 <button class="offer-side-popup__tab js_offer_side_popup_tab active" type="button" data-tab="1">План объекта</button>
316 <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button> 316 <button class="offer-side-popup__tab js_offer_side_popup_tab" type="button" data-tab="2">План этажа</button>
317 </div> 317 </div>
318 <button class="offer-side-popup__sizeoff js_popup_close" type="button"> 318 <button class="offer-side-popup__sizeoff js_popup_close" type="button">
319 <svg width="18" height="18"> 319 <svg width="18" height="18">
320 <use xlink:href="images/sprite.svg#popup-sizeoff"></use> 320 <use xlink:href="images/sprite.svg#popup-sizeoff"></use>
321 </svg> 321 </svg>
322 </button> 322 </button>
323 </div> 323 </div>
324 </div> 324 </div>
325 <div class="img-viewer js_img_viewer"> 325 <div class="img-viewer js_img_viewer">
326 <div class="img-viewer__wrap"> 326 <div class="img-viewer__wrap">
327 <button class="img-viewer__close js_img_viewer_close" type="button"> 327 <button class="img-viewer__close js_img_viewer_close" type="button">
328 <svg width="20" height="20"> 328 <svg width="20" height="20">
329 <use xlink:href="images/sprite.svg#popup-close"></use> 329 <use xlink:href="images/sprite.svg#popup-close"></use>
330 </svg> 330 </svg>
331 </button> 331 </button>
332 <div class="img-viewer__thumbs js_img_viewer_thumbs"> 332 <div class="img-viewer__thumbs js_img_viewer_thumbs">
333 <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper"> 333 <div class="img-viewer__thumbs-swiper js_img_viewer_thumbs_swiper swiper">
334 <div class="swiper-wrapper"></div> 334 <div class="swiper-wrapper"></div>
335 </div> 335 </div>
336 </div> 336 </div>
337 <div class="img-viewer__slider"> 337 <div class="img-viewer__slider">
338 <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper"> 338 <div class="img-viewer__slider-swiper js_img_viewer_slider_swiper swiper">
339 <div class="swiper-wrapper"></div> 339 <div class="swiper-wrapper"></div>
340 </div> 340 </div>
341 <div class="swiper-button-prev"> 341 <div class="swiper-button-prev">
342 <svg width="10" height="17"> 342 <svg width="10" height="17">
343 <use xlink:href="images/sprite.svg#slider-arrow"></use> 343 <use xlink:href="images/sprite.svg#slider-arrow"></use>
344 </svg> 344 </svg>
345 </div> 345 </div>
346 <div class="swiper-button-next"> 346 <div class="swiper-button-next">
347 <svg width="10" height="17"> 347 <svg width="10" height="17">
348 <use xlink:href="images/sprite.svg#slider-arrow"></use> 348 <use xlink:href="images/sprite.svg#slider-arrow"></use>
349 </svg> 349 </svg>
350 </div> 350 </div>
351 </div> 351 </div>
352 <div class="img-viewer__caption js_img_viewer_caption"></div> 352 <div class="img-viewer__caption js_img_viewer_caption"></div>
353 <button class="img-viewer__sizeoff js_img_viewer_close" type="button"> 353 <button class="img-viewer__sizeoff js_img_viewer_close" type="button">
354 <svg width="18" height="18"> 354 <svg width="18" height="18">
355 <use xlink:href="images/sprite.svg#popup-sizeoff"></use> 355 <use xlink:href="images/sprite.svg#popup-sizeoff"></use>
356 </svg> 356 </svg>
357 </button> 357 </button>
358 </div> 358 </div>
359 </div> 359 </div>
360 <div class="cookies js_cookies"> 360 <div class="cookies js_cookies">
361 <div class="container"> 361 <div class="container">
362 <div class="cookies__wrap"> 362 <div class="cookies__wrap">
363 <div class="cookies__top"> 363 <div class="cookies__top">
364 <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div> 364 <div class="cookies__img"><img src="images/cookies.svg" alt="cookies"></div>
365 <div class="cookies__title">Cookies</div> 365 <div class="cookies__title">Cookies</div>
366 </div> 366 </div>
367 <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p> 367 <p class="cookies__descr">Мы используем cookie-файлы для наилучшего представления нашего сайта.<br>Продолжая использовать сайт, вы даете согласие с использованием cookie-файлов.</p>
368 <div class="cookies__buttons"> 368 <div class="cookies__buttons">
369 <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a> 369 <button class="cookies__btn btn btn--main js_cookies_confirm" type="button">Принять</button><a class="cookies__link" href="page-cookies.html">Подробнее</a>
370 </div> 370 </div>
371 </div> 371 </div>
372 </div> 372 </div>
373 </div> 373 </div>
374 <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script> 374 <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
375 <script src="{{ asset('js/swiper-bundle.min.js') }}"></script> 375 <script src="{{ asset('js/swiper-bundle.min.js') }}"></script>
376 <script src="{{ asset('js/main.js') }}"></script> 376 <script src="{{ asset('js/main.js') }}"></script>
377 <script type="text/javascript" src="{{ asset('js/jquery.min.js') }}"></script>
378 @yield('custom_js');
377 </body> 379 </body>
378 </html> 380 </html>
379 381