PageSourceSearch

https://authenticukraine.com.ua/js/masolazy/masolazy.js

js authenticukraine.com.ua collected 2026-09-24 21:13:27 UTC 1,106 bytes, 34 lines download raw bytes

1window.yii.masolazy = (function ($) {
2    var pub = {
3        $widget: null,
4        isActive: true,
5        init: function () {
6            console.log('masolazy.init');
7            const $grid = $('.masonry-grid').masonry({
8                //columnWidth: 40
9            });
10
11            const lazyLazy = new LazyLoad({
12                elements_selector: ".lazy",
13                load_delay: 300,
14                callback_enter: function (el) {
15                    // setTimeout(function () {
16                    //     console.log('reload');
17                    //     $('.masonry-grid').masonry('reloadItems');
18                    // }, 500)
19                },
20                callback_loaded: function (el) {
21                    $(el).closest('.card').height(el.height);
22                    setTimeout(function () {
23                        $grid.masonry("layout");
24                    }, 200);
25                },
26                callback_finish: function () {
27                    console.log('Lazy load finished');
28                }
29            });
30        }
31    };
32
33    return pub;
34})(window.jQuery);

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.