1"use strict"; 2 3(function($) { 4 $(function() { 5 var $overlay_container = $('#overlay'); 6 $('.names-numbers-list').on('click', 'a[data-number]', function(e) { 7 $overlay_container.html('<p style="color:white">ÐагÑÑзка...</p>'); 8 var id = $(e.currentTarget).data('id'); 9 $.get('/wp-json/airtable-reader-backend/v1/search/' + id) 10 .done(function(response) { 11 if (response && response.html) { 12 $overlay_container.html(response.html); 13 $('.close-overlay').on('click', function() { 14 $overlay_container.fadeOut(200, function() { 15 $(this).css('display', 'none'); 16 }); 17 $('body').css('overflow', ''); 18 $overlay_container.attr('aria-hidden', $overlay_container.attr('aria-hidden') === 'true' ? 'false' : 'true'); 19 }); 20 } else { 21 $overlay_container.html('<p style="color:white">ÐаннÑе не найденÑ.</p>'); 22 } 23 }) 24 .fail(function() { 25 $overlay_container.html('<p style="color:white">ÐÑибка пÑи загÑÑзке даннÑÑ .</p>'); 26 }); 27 }); 28 }); 29 30})(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.