PageSourceSearch

https://ukravtonomgaz.ua/footers_block.js

js ukravtonomgaz.ua collected 2026-10-02 02:15:18 UTC 3,014 bytes, 61 lines download raw bytes

1if(typeof jQuery=="undefined"){
2	var headTag=document.getElementsByTagName("head")[0];
3	var jqTag=document.createElement('script');
4	jqTag.type="text/javascript";
5	jqTag.src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js";
6	jqTag.onload=function(){
7		$.noConflict();
8		jQuery(document).ready(function($){
9			if ($('.container.shield__footers_module_block__wrapper').length != 0 && typeof window.footers_block_move_to_js != 'undefined' && window.footers_block_move_to_js != ""){
10				$('#' + window.footers_block_move_to_js).replaceWith($('.container.shield__footers_module_block__wrapper'));
11			}
12			$('[switch-block]').unbind('click');
13			$('body')
14			.on('click', '.shield__footers_module_block__wrapper__card-header[data-target]', function(){
15				$('' + $(this).data('target')).toggleClass('show');
16			})
17			.on('click', '[switch-block]', function(){
18				$('[switch-block].shield__footers_module_block__wrapper__btn-success').removeClass('shield__footers_module_block__wrapper__btn-success').addClass('shield__footers_module_block__wrapper__btn-light');
19				$(this).removeClass('shield__footers_module_block__wrapper__btn-light').addClass('shield__footers_module_block__wrapper__btn-success');
20				if ($(this).attr('target') == '#top-categories'){
21					if ($(this).data('custom-switch')){
22						$('[block-target]#top-categories span:not([city-info])').hide();
23						$('[city-info]').show();
24					} else {
25						$('[city-info]').hide();
26						$('[block-target]#top-categories span:not([city-info])').show();
27					}
28				}
29				$('[block-target]').hide();
30				$('[block-target]'+$(this).attr('target')).show();
31			});
32		});
33	};
34	headTag.appendChild(jqTag);
35} else {
36	jQuery(document).ready(function($){
37		if ($('.container.shield__footers_module_block__wrapper').length != 0 && typeof window.footers_block_move_to_js != 'undefined' && window.footers_block_move_to_js != ""){
38			$('#' + window.footers_block_move_to_js).replaceWith($('.container.shield__footers_module_block__wrapper'));
39		}
40		$('[switch-block]').unbind('click');
41		$('body')
42		.on('click', '.shield__footers_module_block__wrapper__card-header[data-target]', function(){
43			$('' + $(this).data('target')).toggleClass('show');
44		})
45		.on('click', '[switch-block]', function(){
46			$('[switch-block].shield__footers_module_block__wrapper__btn-success').removeClass('shield__footers_module_block__wrapper__btn-success').addClass('shield__footers_module_block__wrapper__btn-light');
47			$(this).removeClass('shield__footers_module_block__wrapper__btn-light').addClass('shield__footers_module_block__wrapper__btn-success');
48			if ($(this).attr('target') == '#top-categories'){
49				if ($(this).data('custom-switch')){
50					$('[block-target]#top-categories span:not([city-info])').hide();
51					$('[city-info]').show();
52				} else {
53					$('[city-info]').hide();
54					$('[block-target]#top-categories span:not([city-info])').show();
55				}
56			}
57			$('[block-target]').hide();
58			$('[block-target]'+$(this).attr('target')).show();
59		});
60	});
61}

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.