PageSourceSearch

https://puch-vesti.ru/static/uil/export/project_mo_theme_short_01/…/smi3-media-item-main-2.js?20260220202336

js puch-vesti.ru collected 2026-10-02 20:50:35 UTC 2,958 bytes, 51 lines download raw bytes

1$(window).on('load', function uil_init_smi3_media_item_main_2() {
2    $('.uil-smi3-media-item-main-2').each(function () {
3        var $block = $(this),
4            $col1 = $block.find('.uil-smi3-media-item-main-2__col-01:visible'),
5            $col2 = $block.find('.uil-smi3-media-item-main-2__col-02:visible');
6        if ($col2.length > 0) {
7            var $image = $col2.find('.uil-smi3-media-item-main-2__col-02__image'),
8                block_oheight = $col2.outerHeight(),
9                img_oheight = $image.find('img').outerHeight() || 0;
10            if (block_oheight - img_oheight <= 150) {
11                $col2.css('height', img_oheight + 'px');
12                $image.css('height', img_oheight + 'px');
13                block_oheight = $col2.outerHeight();
14            }
15            var $top = $col2.find('.uil-smi3-media-item-main-2__col-02__content__top'), top_oheight = $top.outerHeight(),
16                $bot = $col2.find('.uil-smi3-media-item-main-2__col-02__content__bottom'), bot_oheight = $bot.outerHeight(),
17                $ann = $col2.find('.uil-smi3-media-item-main-2__col-02__content__annotation__content'), ann_height = $ann.height(),
18                $cat_list = $col2.find('.uil-smi3-media-item-main-2__col-02__content__category-list'),
19                $tag_list = $col2.find('.uil-smi3-media-item-main-2__col-02__content__tag-list'),
20                ann_padding = parseInt($ann.parent().css('padding-bottom')),
21                ann_line_height = Math.floor(parseFloat($ann.css('line-height')));
22            if (top_oheight + bot_oheight + ann_padding > block_oheight) {
23                var hdelta = top_oheight - (block_oheight - bot_oheight - ann_padding);
24                ann_height = Math.floor((ann_height - hdelta) / ann_line_height) * ann_line_height;
25                if (ann_height > 0)
26                    $ann.height(ann_height);
27                else
28                    $ann.parent().remove();
29            }
30            if ($top.outerHeight() + $bot.outerHeight() > block_oheight) {
31                $tag_list.remove();
32                if ($top.outerHeight() + $bot.outerHeight() > block_oheight) {
33                    $cat_list.remove();
34                    if ($top.outerHeight() + $bot.outerHeight() > block_oheight) {
35                        $bot.remove();
36                    }
37                }
38            }
39            if ($col1.length > 0) {
40                if ($col1.outerHeight() < block_oheight)
41                    $block.find('.uil-smi3-media-item-main-2__bottom-link').hide();
42                var col_content = $col1.find('.uil-smi3-media-item-main-2__col-01__body')[0].outerHTML,
43                    col_title = $col1.children('.uil-mo-title-4').text();
44                $block.find('.uil-smi3-media-item-main-2__bottom-link a').click(function () {
45                    inova_popup.set_html(col_content, col_title);
46                    return false;
47                });
48            }
49        }
50    });
51});

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.