PageSourceSearch

https://nevadm.ru/static/uil/export/project_mo_theme_short_13/reso…/scripts/mo-page-region.js?20260220202337

js nevadm.ru collected 2026-10-02 06:03:15 UTC 1,066 bytes, 25 lines download raw bytes

1$(document).on('inova_admin.toggle_ui', function (event, state) {
2    var cls = 'uil-mo-page-region';
3    if (state) {
4        $('.' + cls).each(function () {
5            var $region = $(this);
6            if ($region.find('.b-admin-object').length > 0)
7                $region.addClass(cls + '_mode_admin');
8            $region.find('.uil-mo-page-region__region').each(function () {
9                var $subregion = $(this);
10                if ($subregion.children('.b-admin-object').find('.b-admin-object__action_visible_false').length === 1)
11                    $subregion.show();
12            });
13        });
14    } else {
15        $('.' + cls).each(function () {
16            var $region = $(this);
17            $region.removeClass(cls + '_mode_admin');
18            $region.find('.uil-mo-page-region__region').each(function () {
19                var $subregion = $(this);
20                if ($subregion.children('.b-admin-object').find('.b-admin-object__action_visible_false').length === 1)
21                    $subregion.hide();
22            });
23        });
24    }
25});

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.