PageSourceSearch

https://ekalum.ru/js/tools-plus.js?ver=1.39

js ekalum.ru collected 2026-10-10 02:35:45 UTC 14,413 bytes, 434 lines download raw bytes

1jQuery(function($) {
2    if (window.location.pathname == '/schemi_razdvizhenia') {
3		if (window.location.hash != '') {
4			var src = '/files/schemes/' + window.location.hash.slice(1);
5			console.log(src);
6			$('video').each(function () {
7				let _this = $(this);
8                if (_this.attr('src') == src) {
9                	var block = _this.closest('.schsec');
10                	$('.opensch', block).first().click();
11                    var toGo = block.offset().top;
12                    $('html, body').animate({scrollTop: toGo}, 1000);
13				}
14            })
15		}
16    }
17	
18	/*if (window.location.pathname == '/forregion') {
19        $('.callback-box-call-gager').html($('.call-gager-box').html());
20    }*/
21
22	$('.popup-top-clise').click(function(){
23		
24		$(this).parents('.systems-block-tab-content-hidden').removeClass('systems-block-tab-content-hidden-visible');
25		
26		$('.tabs-content .info').removeClass('home-info-hidden');
27		$('.tabs-content .image').removeClass('home-image-hidden');
28		
29	});
30
31	$('.tabs-block .tabs .tab').click(function(){
32		
33		$('.systems-block-tab-content-hidden').removeClass('systems-block-tab-content-hidden-visible');
34		
35		$('.tabs-content .info').removeClass('home-info-hidden');
36		$('.tabs-content .image').removeClass('home-image-hidden');
37		
38	});
39	
40	/*$('a.popup-comfort-btn').on('click', function(e) {
41		
42		var this_ = $(this);
43		
44		$('.systems-block-tab-content-hidden[data-id="' + this_.attr('data-id') + '"]').addClass('systems-block-tab-content-hidden-visible');
45		
46		this_.parents('.info').addClass('home-info-hidden');
47		this_.parents('.tabs-content').children('.tab').children('.image').addClass('home-image-hidden');
48		
49		return false;
50		
51	});*/
52	
53	// popup send
54	$('header .call, .section-consult .call, footer .order-call-link, .product__btns .yellow-btn.product__btn, .socialpane .cb').click(function(){
55        /*let form = '<img src="/images/arrow-loader.gif" height="64px" width="64px" />';
56        $('#wrapper').prepend('<div class="popup-window-box"></div>');
57
58        $.ajax({
59            url : "/call_back",
60            type : "get",
61            async: false,
62            success : function(data) {
63                form = data;
64            },
65        });
66        //$('#wrapper').prepend('<div class="popup-window-box"></div>');
67        console.log(form);
68        $('.popup-window-box').html(''+
69            '<div class="popup-window">'+
70            '<div class="popup-box"></div>'+
71            '<div class="popup-wrapper popup-wrapper-call-back">'+
72            '<div class="popup">'+
73            '<div class="close-popup">&times;</div>'+
74            form +
75            //'<iframe src="/call_back/" width="545" height="400" align="left"></iframe>'+
76            '</div>'+
77            '</div>'+
78            '</div>'+
79            '</div>');*/
80		//yaCounter10559029.reachGoal('CallOrderOpen'); 
81        var offsets = $(window).scrollTop();
82        $('.popup-wrapper').css('top',offsets-100);
83		
84
85        $('.call-back').fadeIn(0);
86        $('.call-back .popup-window').show();
87		
88		//console.log($(window.frames.amoforms_iframe_473896.contentDocument).find('form'));
89
90        $('.popup-box, .close-popup').click(function(){
91            $('.call-back').fadeOut(0);
92            $('.call-back .popup-window').hide();
93            return false;
94        });
95
96        return false;
97    });
98	
99	/*jQuery('#amoforms_iframe_473896').ready(function(){
100		jQuery('amoforms_iframe_473896').contents()
101			.find('.amoforms__submit-button').on('click', function() {
102				alert('ok');
103			});
104	});	*/
105	
106
107	// \popup send
108	
109	// order mysize
110	$('.product__right .red-btn.product__app, .else-item__hv .else-item__app, .catalog .product .info-product .btn-order, .tariff-items .btn.btn-order, .calc-block .btn.btn-calc, .systems-block-tab-content-block .btn.btn-order, .closet-order-block .btn.btn-order, .slider-home-kitchen .btn.btn-order, .doors-block .btn.btn-order, .home-order, .costordermysize').click(function(){
111					  
112		$('#wrapper').prepend('<div class="popup-window-box calc-box"></div>');
113		
114		/*$('.calc-box').html(''+
115		'<div class="popup-window product-gallery">'+
116			'<div class="popup-box"></div>'+
117			'<div class="popup-wrapper">'+
118				'<div class="popup">'+
119					'<div class="close-popup">&times;</div>'+
120					'<div class="popup-block">'+
121					'<iframe src="/order_mysize/?url='+$(this).attr('data-url')+'&name='+$(this).attr('data-name')+'&image='+$(this).attr('data-image')+'&type='+$(this).attr('data-type')+'&number='+$(this).attr('data-id')+'&section='+$(this).attr('data-section')+'" class="modal-frame-w" height="920" align="left"></iframe>'+
122					'</div>'+
123				'</div>'+
124			'</div>'+
125		'</div>');*/
126		
127		$('.calc-box').html(''+
128		'<div class="popup-window product-gallery">'+
129			'<div class="popup-box"></div>'+
130			'<div class="popup-wrapper">'+
131				'<div class="popup">'+
132					'<div class="close-popup">&times;</div>'+
133					'<div class="popup-block">'+
134					'<h2 style="font-size:20px;line-height:22px;color:#a34343;">Заказать расчет по моим размерам</h2>'+
135					'<script>!function(a,m,o,c,r,m){a[o+c]=a[o+c]||{setMeta:function(p){this.params=(this.params||[]).concat([p])}},a[o+r]=a[o+r]||function(f){a[o+r].f=(a[o+r].f||[]).concat([f])},a[o+r]({id:"807148",hash:"28301f4642c67c793f8ef98b5b69a0ce",locale:"ru"}),a[o+m]=a[o+m]||function(f,k){a[o+m].f=(a[o+m].f||[]).concat([[f,k]])}}(window,0,"amo_forms_","params","load","loaded");</script><script id="amoforms_script_807148" async="async" charset="utf-8" src="https://forms.amocrm.ru/forms/assets/js/amoforms.js?1747641838"></script>'+
136					'</div>'+
137				'</div>'+
138			'</div>'+
139		'</div>');
140		
141		$('#wrapper').css('overflow', 'initial');
142
143		var offsets = $(window).scrollTop();
144		$('.calc-box .popup-wrapper').css('top',offsets-100);
145		$('.calc-box').show();
146		$('.calc-box .popup-window').fadeIn(0);
147		$('.popup-box, .close-popup').click(function(){
148			$('.calc-box ').remove();
149			$('#wrapper').css('overflow', 'hidden');
150			return false;
151		});
152		return false;
153	});
154	// \order mysize
155
156	// order mysize
157	$('.home-order-design').click(function(){
158
159		$('#wrapper').prepend('<div class="popup-window-box design-box"></div>');
160
161		$('.design-box').html(''+
162		'<div class="popup-window product-gallery">'+
163			'<div class="popup-box"></div>'+
164			'<div class="popup-wrapper">'+
165				'<div class="popup">'+
166					'<div class="close-popup">&times;</div>'+
167					'<div class="popup-block">'+
168					'<iframe src="/order_design/?url='+$(this).attr('data-url') +'&type='+$(this).attr('data-type')+'" width="540" height="840" align="left"></iframe>'+
169					'</div>'+
170				'</div>'+
171			'</div>'+
172		'</div>');
173
174		$('#wrapper').css('overflow', 'initial');
175
176		var offsets = $(window).scrollTop();
177		$('.popup-wrapper').css('top',offsets-100);
178
179		$('.popup-window').fadeIn(0);
180		$('.popup-box, .close-popup').click(function(){
181			$('.design-box').remove();
182			$('#wrapper').css('overflow', 'hidden');
183			return false;
184		});
185		return false;
186	});
187	// \order mysize
188	
189	// ask question
190	$('.ask-question-popup-open').click(function(){
191								  
192	/*	$('#wrapper').prepend('<div class="popup-window-box quest-box"></div>');
193		
194		$('.quest-box').html(''+
195		'<div class="popup-window product-gallery product-gallery-two">'+
196			'<div class="popup-box"></div>'+
197			'<div class="popup-wrapper">'+
198				'<div class="popup">'+
199					'<div class="close-popup">&times;</div>'+
200					'<div class="popup-block">'+
201					'<iframe src="/ask_question/" width="550" height="535" align="left"></iframe>'+
202					'</div>'+
203				'</div>'+
204			'</div>'+
205		'</div>');
206		
207		var offsets = $(window).scrollTop();
208		$('.quest-box .popup-wrapper').css('top',offsets-100);
209		
210		$('.quest-box .popup-window').fadeIn(0);
211		$('.popup-box, .close-popup').click(function(){
212			$('.quest-box').remove();
213			return false;
214		});
215		return false;
216	*/
217        /*var offsets = $(window).scrollTop();
218        $('.popup-wrapper').css('top',offsets-100);
219        $('.ask-box').fadeIn(0);
220        $('.ask-box .popup-window').show();
221
222        $('.popup-box, .close-popup').click(function(){
223            $('.ask-box').fadeOut(0);
224            $('.ask-box .popup-window').hide();
225            return false;
226        });
227
228        return false;*/
229	});
230	// \ask question
231
232	// popup send
233	$('.spacer.product__btns .red-btn.product__btn').click(function(){
234		
235		$('#wrapper').prepend('<div class="popup-window-box prod-box"></div>');
236		
237		$('.prod-box').html(''+
238		'<div class="popup-window">'+
239			'<div class="popup-box"></div>'+
240			'<div class="popup-wrapper">'+
241				'<div class="popup">'+
242					'<div class="close-popup">&times;</div>'+
243					'<div class="popup-block">'+
244					'<iframe src="/call_gager/" width="545" height="500" align="left"></iframe>'+
245					'</div>'+
246				'</div>'+
247			'</div>'+
248		'</div>');
249
250		var offsets = $(window).scrollTop();
251		$('.prod-box .popup-wrapper').css('top',offsets-100);
252
253		$('.prod-box .popup-window').fadeIn(0);
254		$('.close-popup, .popup-box').click(function(){
255			$('.prod-box').remove();
256			return false;
257		});
258		return false;
259        /*var offsets = $(window).scrollTop();
260        $('.popup-wrapper').css('top',offsets-100);
261
262        $('.gager-box .popup-block').html($('.callback-box-call-gager').html());
263        $('.gager-box').fadeIn(0);
264        $('.gager-box .popup-window').show();
265
266        $('.popup-box, .close-popup').click(function(){
267            $('.gager-box').fadeOut(0);
268            $('.gager-box .popup-window').hide();
269            return false;
270        });
271
272        return false;*/
273	});
274	// \popup send	
275	
276	
277	$('.сomplete-products-popup-open').click(function(){
278		
279		var this_ = $(this);
280		var this_id = this_.attr('data-id');
281		
282		var view_block = $('.сomplete-products-popup-box[data-id="' + this_i
282d + '"] .сomplete-products-popup-block').html();
283		
284		$('#wrapper').prepend('<div class="popup-window-box complete-box"></div>');
285		
286		$('.complete-box').html(''+
287		'<div class="popup-window quiz-open-popup">'+
288			'<div class="popup-box"></div>'+
289			'<div class="popup-wrapper">'+
290				'<div class="popup">'+
291					'<div class="close-popup">&times;</div>'+
292					'<div class="popup-block"></div>'+
293				'</div>'+
294			'</div>'+
295		'</div>');
296		
297		// Перемещаем параграф из #myDiv1 в #myDiv2
298		$('.complete-box .popup-block').append( $('.сomplete-products-popup-box[data-id="' + this_id + '"] .сomplete-products-popup-block') );
299
300		var offsets = $(window).scrollTop();
301		$('.popup-wrapper').css('top',offsets-100);
302		
303		$('.popup-window').fadeIn(0);
304		$('.popup-box, .close-popup').click(function(){
305			
306			// Перемещаем параграф из #myDiv1 в #myDiv2
307			$('.сomplete-products-popup-box[data-id="' + this_id + '"]').append( $('.complete-box .popup-block .сomplete-products-popup-block') );
308			
309			$('.complete-box').remove();
310			return false;
311		});
312		
313		return false;
314	});
315	//
316	
317	$('.info-credit-open').click(function(){
318		
319		var this_ = $(this);
320		
321		if(this_.parents('.item').children('.info-flex').css('display')=='flex'){
322			
323			this_.parents('.item').children('.info-flex').css('display', 'none');
324			
325		}else{
326			
327			this_.parents('.item').children('.info-flex').css('display', 'flex');
328			
329		}
330		
331		return false;
332		
333	});
334	
335	$('.сomplete-products-popup-box').css('display', 'none');
336	
337	
338	
339	/*if($('.product-control-wr .product-control__link').length<=4){
340		
341		$('.product-control__link').click(function(){
342			
343			var this_ = $(this);
344			
345			$('.product-slides__bg').attr('style', 'background-image: url("' + this_.attr('href') + '");');
346
347			console.log(this_.data('slide-index'));
348
349			return false;
350			
351		});
352		
353	}*/
354	
355	$("#anno_add_files").click(function(){
356		if (!window.anno_count_files) {
357			window.anno_count_files=1;
358		}
359		window.anno_count_files++;
360		$('#anno_files').append(''+window.anno_count_files+'. <input type="file" name="fld[][file]"><br />');
361		return false;
362    })
363
364	$(window).scroll(function(){
365		
366		value_scroll = $(window).scrollTop();
367		if ($('.scroll-top-button').length) {
368			if(value_scroll>320){
369				if($('.scroll-top-button').attr('class').search(/scroll-top-button-visible/) > -1){}else{
370					$('.scroll-top-button').addClass('scroll-top-button-visible');
371					$('.scroll-top-button').fadeIn(300);
372				}
373			}else{
374				if($('.scroll-top-button').attr('class').search(/scroll-top-button-visible/) > -1){
375					$('.scroll-top-button').removeClass('scroll-top-button-visible');
376					$('.scroll-top-button').fadeOut(300);
377				}
378			}
379		}
380		
381	});
382	
383	$('.scroll-top-button').click(function(){
384		$('body').animate({scrollTop:0}, 1000); //chrome, safari
385		$('html').animate({scrollTop:0}, 1000); //mozilla,opera,ie7,ie8,ie9
386	});
387	
388	$('.mobile-submenu-open').click(function(){
389		
390		var this_ = $(this);
391		
392		if(this_.parent('.submenu').hasClass('submenu-mobile-opened')){
393			
394			this_.parent('.submenu').removeClass('submenu-mobile-opened');
395			
396		}else{
397			
398			this_.parent('.submenu').addClass('submenu-mobile-opened');
399			
400		}
401		
402	});
403	
404	
405});
406
407function expandme(id) {
408	for (var i = 0; i < id.length; i++) {
409	      var elemlink = document.getElementById(id[i]);
410	      if (elemlink.style.display == "none") {elemlink.style.display = "block"}
411	      else {elemlink.style.display = "none"}
412      }
413}
414
415function popup(ppurl,xSize,ySize) {
416	var xStart=((window.screen.width-xSize)/2);
417	var yStart=((window.screen.height-ySize-20)/2);
418	ppWnd=window.open(ppurl,'popup',"width="+xSize+",height="+ySize+",scrollbars=no,left="+((xStart>0)?xStart:0)+",top="+((yStart>20)?yStart:0));
419	if (window.focus) ppWnd.focus();
420}
421
422document.addEventListener("DOMContentLoaded", function () {
423    const cookieNotification = document.getElementById("cookie-notification");
424    const cookieAcceptBtn = document.getElementById("cookie-accept");
425
426    if (localStorage.getItem("cookies_accepted") === "true") {
427        cookieNotification.style.display = "none";
428    }
429
430    cookieAcceptBtn.addEventListener("click", function () {
431        localStorage.setItem("cookies_accepted", "true");
432        cookieNotification.style.display = "none";
433    });
vendor: 3 bytes, line 434
434});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.