PageSourceSearch

https://colombia.co/sites/default/files/js/optimized/js_TfT8MkxIcb…QAwydECi4qoGRnMGB40skBmI8NCggVEGnw.js?v=1.1

js colombia.co collected 2026-10-02 03:09:20 UTC 1,534 bytes, 45 lines download raw bytes

1(function ($, Drupal, once) {
2    Drupal.behaviors.customBehavior = {
3        attach: function (context, settings) {
4            const searchInput = once('search-input', '#edit-keys', context);
5
6            if (searchInput.length > 0 && window.innerWidth <= 767) {
7                window.inputElement = searchInput[0];
8
9                function activateSearch() {
10                    
11                    inputElement.classList.add('active');
12                }
13
14                function deactivateSearch(event) {
15                    if (!inputElement.contains(event.target)) {
16                       
17                        inputElement.classList.remove('active');
18                    }
19                }
20
21                inputElement.addEventListener('focus', function() {
22                   
23                    activateSearch();
24                });
25
26                inputElement.addEventListener('mousedown', function(event) {
27                    event.stopPropagation();
28                    
29                    activateSearch();
30                });
31
32                document.addEventListener('click', deactivateSearch);
33
34                inputElement.addEventListener('blur', function() {
35                    setTimeout(function() {
36                        
37                        if (document.activeElement !== inputElement) {
38                            inputElement.classList.remove('active');
39                        }
40                    }, 300);
41                });
42            }
43        }
44    };
45})(jQuery, Drupal, once);

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.