PageSourceSearch

https://referr.com.ua/wp-content/plugins/referr-case/public/js/referr-case-public.js

js referr.com.ua collected 2026-10-06 07:32:45 UTC 2,307 bytes, 64 lines download raw bytes

1$(document).ready(function() {
2    // Найдем все цифры
3  /*  let text = $('#case_container').find('.counter');
4    text.each(function( index ) {
5        let str = $( this ).text();
6        // Найдем число
7        let x = parseInt(str.replace(/[^\d]/g, ''));
8        // Заменим число в строке
9        $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>'));
10    });*/
11
12    // Найдем все цифры
13    let text2 = $('.post-preview-list .case_highlight').find('h2');
14    text2.each(function( index ) {
15        let str = $( this ).text();
16        // Найдем число
17        let x = parseInt(str.replace(/[^\d]/g, ''));
18        // Заменим число в строке
19        $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>'));
20    });
21    
22    // Найдем все цифры
23    let text3 = $('.post-preview-list .case_highlight').find('.counter');
24    text3.each(function( index ) {
25        let str = $( this ).text();
26        // Найдем число
27        let x = parseInt(str.replace(/[^\d]/g, ''));
28        // Заменим число в строке
29        $( this ).html(str.replace(x, '<span class="animation-counter">' + x + '</span>'));
30    });
31
32    $(document).find('.animation-counter').each(function () {
33        var $this = $(this);
34        jQuery({ Counter: 0 }).animate({ Counter: $this.text() }, {
35            duration: 1500,
36            easing: 'swing',
37            step: function () {
38                $this.text(Math.ceil(this.Counter));
39            }
40        });
41    });
42});
43
44
45/*
46$(document).ready(function() {
47    // Найдем все цифры
48    let text = $('#case_container').find('.counter');
49    text.each(function( index ) {
50        let str = $( this ).text();
51        // Найдем число
52        let x = parseInt(str.replace(/[^\d]/g, ''));
53        $( this ).html(str.replace(x, '<span class="animation-counter-' + x + '">' + x + '</span>'))
54        jQuery({ Counter: 0 }).animate({ Counter: $('.animation-counter-' + x ).text() }, {
55            duration: 1500,
56            easing: 'swing',
57            step: function () {
58            $('.animation-counter-' + x).text(Math.ceil(this.Counter));
59            }
60        });
61
62    });
63});
64*/

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.