PageSourceSearch

https://myadel.gov.by/bitrix/templates/myadel/js/project.js?v=1790981939

js myadel.gov.by collected 2026-10-02 22:59:12 UTC 9,394 bytes, 243 lines download raw bytes

1jQuery(document).ready(function($) {
2    $(document).on("click", "#scrollTopBtn", function () {
3        $("html, body").animate({
4                scrollTop: 0,
5            },
6            500, function (){}
7        );
8    });
9
10    jQuery('.slider_menu_row').slick({
11        slidesToShow: 6,
12        slidesToScroll: 1,
13        dots: false,
14        buttons: false,
15        infinite: true,
16        arrows: false,
17        // autoplay: 4000,
18        responsive: [
19            {
20                breakpoint: 1450,
21                settings: {
22                    slidesToShow: 5,
23                }
24            },
25            {
26                breakpoint: 1250,
27                settings: {
28                    slidesToShow: 4,
29                }
30            },
31            {
32                breakpoint: 992,
33                settings: {
34                    slidesToShow: 3,
35                }
36            },
37            {
38                breakpoint: 650,
39                settings: {
40                    slidesToShow: 2,
41                }
42            },
43            {
44                breakpoint: 500,
45                settings: {
46                    slidesToShow: 1,
47                }
48            },
49        ]
50
51    });
52
53    $(document).on("click", ".spojler", function(){
54        $(this).parent().toggleClass("opened")
55    })
56    $(document).on("click", "#index_news .news_nav a", function(){
57        $("#index_news .news_nav .activ").removeClass("activ")
58        $(this).parent().addClass("activ");
59        $("#index_news .news_row.open").removeClass("open")
60        $("#index_news #" + $(this).attr("data-open")).addClass("open")
61    })
62
63    $(window).on("scroll", function () {
64        if ($(this).scrollTop() > 700) {
65            $("#scrollTopBtn").addClass("actived");
66        } else {
67            $("#scrollTopBtn").removeClass("actived");
68        }
69    });
70
71    $(document).ready(function() {
72        $('.menu-burger__header_row').click(function(){
73            $('.menu-burger__header_row').toggleClass('open-menu');
74            $('.header__nav').toggleClass('open-menu');
75            $('body').toggleClass('fixed-page');
76        });
77    });
78
79    $(document).on("click", ".contact_row", function(){
80        $(this).prev().toggleClass("opened")
81    })
82
83
84    $(document).mouseup(function (e){
85        var div = $(".info_row");  //класс элемента вне которого клик
86        if (!div.is(e.target) && div.has(e.target).length === 0) {
87            div.removeClass('opened');
88        }
89    });
90
91
92    jQuery('.slider_row').slick({
93        arrows: false,
94        infinite: true,
95        speed: 3000,
96        autoplay: true,
97        autoplaySpeed: 2000,
98        fade: true,
99        slidesToShow: 1,
100        slidesToScroll: 1,
101    });
102
103
104    $('.slider_social_row').slick({
105        rows: 2,
106        dots: false,
107        infinite: true,
108        speed: 300,
109        slidesToShow: 2,
110        slidesToScroll: 1,
111        arrows: true,
112        nextArrow: '<span class="slick-next"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
113            '<path fill-rule="evenodd" clip-rule="evenodd" d="M5.85348 19.1464C5.65822 19.3416 5.65822 19.6582 5.85348 19.8535L8.64637 22.6464C8.84163 22.8416 9.15822 22.8416 9.35348 22.6464L19.6464 12.3535C19.8416 12.1582 19.8416 11.8416 19.6464 11.6464L9.35348 1.35348C9.15822 1.15822 8.84163 1.15822 8.64637 1.35348L5.85348 4.14637C5.65822 4.34163 5.65822 4.65822 5.85348 4.85348L12.6464 11.6464C12.8416 11.8416 12.8416 12.1582 12.6464 12.3535L5.85348 19.1464Z" fill="#46B7C3"/>\n' +
114            '</svg>\n</span>',
115        prevArrow: '<span class="slick-prev"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
116            '<path fill-rule="evenodd" clip-rule="evenodd" d="M18.1465 4.85363C18.3418 4.65837 18.3418 4.34178 18.1465 4.14652L15.3536 1.35363C15.1584 1.15837 14.8418 1.15837 14.6465 1.35363L4.35363 11.6465C4.15837 11.8418 4.15837 12.1584 4.35363 12.3536L14.6465 22.6465C14.8418 22.8418 15.1584 22.8418 15.3536 22.6465L18.1465 19.8536C18.3418 19.6584 
11618.3418 19.3418 18.1465 19.1465L11.3536 12.3536C11.1584 12.1584 11.1584 11.8418 11.3536 11.6465L18.1465 4.85363Z" fill="#46B7C3"/>\n' +
117            '</svg>\n</span>',
118        // autoplay: 4000,
119        responsive: [
120            {
121                breakpoint: 992,
122                settings: {
123                    slidesToShow: 1,
124                }
125            },
126        ]
127    });
128
129    jQuery('.great_row').slick({
130        slidesToShow: 4,
131        slidesToScroll: 3,
132        dots: true,
133        buttons: false,
134        infinite: true,
135        arrows: false,
136        // autoplay: 4000,
137        responsive: [
138            {
139                breakpoint: 1440,
140                settings: {
141                    slidesToShow: 3,
142                }
143            },
144            {
145                breakpoint: 768,
146                settings: {
147                    slidesToShow: 2,
148                }
149            },
150            {
151                breakpoint: 550,
152                settings: {
153                    slidesToShow: 1,
154                }
155            },
156        ]
157
158    });
159
160    jQuery('.attention_slider_row').slick({
161        slidesToShow: 3,
162        slidesToScroll: 1,
163        vertical: true,
164        verticalSwiping: true,
165        dots: false,
166        buttons: false,
167        infinite: true,
168        arrows: true,
169        prevArrow: '<span class="slick-next"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
170            '<path fill-rule="evenodd" clip-rule="evenodd" d="M19.1464 18.1465C19.3416 18.3418 19.6582 18.3418 19.8535 18.1465L22.6464 15.3536C22.8416 15.1584 22.8416 14.8418 22.6464 14.6465L12.3535 4.35363C12.1582 4.15837 11.8416 4.15837 11.6464 4.35363L1.35348 14.6465C1.15822 14.8418 1.15822 15.1584 1.35348 15.3536L4.14637 18.1465C4.34163 18.3418 4.65822 18.3418 4.85348 18.1465L11.6464 11.3536C11.8416 11.1584 12.1582 11.1584 12.3535 11.3536L19.1464 18.1465Z" fill="#46B7C3"/>\n' +
171            '</svg>\n</span>',
172        nextArrow: '<span class="slick-prev"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
173            '<path fill-rule="evenodd" clip-rule="evenodd" d="M4.85363 5.85348C4.65837 5.65822 4.34178 5.65822 4.14652 5.85348L1.35363 8.64637C1.15837 8.84163 1.15837 9.15822 1.35363 9.35348L11.6465 19.6464C11.8418 19.8416 12.1584 19.8416 12.3536 19.6464L22.6465 9.35348C22.8418 9.15822 22.8418 8.84163 22.6465 8.64637L19.8536 5.85348C19.6584 5.65822 19.3418 5.65822 19.1465 5.85348L12.3536 12.6464C12.1584 12.8416 11.8418 12.8416 11.6465 12.6464L4.85363 5.85348Z" fill="#46B7C3"/>\n' +
174            '</svg>\n</span>',
175        // autoplay: 4000,
176        responsive: [
177            {
178                breakpoint: 768,
179                settings: {
180                    slidesToShow: 2,
181                }
182            },
183        ]
184
185    });
186
187    jQuery('.resurs_row').slick({
188        slidesToShow: 5,
189        slidesToScroll: 2,
190        dots: false,
191        buttons: false,
192        infinite: true,
193        arrows: true,
194        prevArrow: '<span class="slick-next"><svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
195            '<path fill-rule="evenodd" clip-rule="evenodd" d="M18.1465 5.35363C18.3418 5.15837 18.3418 4.84178 18.1465 4.64652L15.3536 1.85363C15.1584 1.65837 14.8418 1.65837 14.6465 1.85363L4.35363 12.1465C4.15837 12.3418 4.15837 12.6584 4.35363 12.8536L14.6465 23.1465C14.8418 23.3418 15.1584 23.3418 15.3536 23.1465L18.1465 20.3536C18.3418 20.1584 18.3418 19.8418 18.1465 19.6465L11.3536 12.8536C11.1584 12.6584 11.1584 12.3418 11.3536 12.1465L18.1465 5.35363Z" fill="#46B7C3"/>\n' +
196            '</svg>\n</span>',
197        nextArrow: '<span class="slick-prev"><svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">\n' +
198            '<path fill-rule="evenodd" clip-rule="evenodd" d="M5.85348 19.6464C5.65822 19.8416 5.65822 20.1582 5.85348 20.3535L8.64637 23.1464C8.84163 23.3416 9.15822 23.3416 9.35348 23.1464L19.6464 12.8535C19.8416 12.6582 19.8416 12.3416 19.6464 12.1464L9.35348 1.85348C9.15822 1.65822 8.84163 1.65822 8.64637 1.85348L5.85348 4.64637C5.65822 4.84163 5.65822 5.15822 5.85348 5.35348L12.6464 12.1464C12.8416 12.3416 12.8416 12.6582 12.6464 12.8535L5.85348 19.6464Z" fill="#46B7C3"/>\n' +
199            '</svg>\n</span>',
200        // autoplay: 4000,
201        responsive: [
202            {
203                breakpoint: 1400,
204                settings: {
205                    slidesToShow: 5,
206                }
207            },
208            {
209                breakpoint: 1300,
210                settings: {
211                    slidesToShow: 4,
212                }
213            },
214            {
215                breakpoint: 1100,
216                settings: {
217                    slidesToShow: 3,
218                }
219            },
220            {
221                breakpoint: 768,
222                settings: {
223                    slidesToShow: 2,
224                }
225            },
226            {
227                breakpoint: 660,
228                settings: {
229                    slidesToShow: 2,
230                }
231            },
232            {
233                breakpoint: 550,
234                settings: {
235                    slidesToShow: 1,
236                }
237            },
238        ]
239
240    });
241
242
243});

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.