PageSourceSearch

https://nimbus.ca/wp-content/themes/bookory/assets/js/frontend/search-popup.js?ver=2.2.9

js nimbus.ca collected 2026-10-02 03:10:17 UTC 1,178 bytes, 42 lines download raw bytes

1(function ($) {
2    'use strict';
3    $(document).ready(function () {
4
5        var $search_site = $('.site-search-popup'),
6            $body = $('body');
7
8        if (!$search_site.length) {
9            return;
10        }
11
12        $body.on('click', '.button-search-popup', function (e) {
13            e.preventDefault();
14
15
16            var $parrent = $(this).closest('.elementor-section');
17            if (!$parrent.length) {
18                $parrent = $(this).closest('#masthead');
19            }
20
21            if ($parrent.length) {
22                var search_site = $search_site.detach();
23                search_site.appendTo($parrent);
24            }
25
26            $search_site.addClass('active fadein');
27            setTimeout(function () {
28                $search_site.find('input[type="search"]').focus();
29            }, 600);
30        });
31
32        $('.site-search-popup-close').on('click', function (e) {
33            e.preventDefault();
34            $search_site.removeClass('active fadein');
35            $search_site.addClass("fadeout")
36            setTimeout(function () {
37                $search_site.removeClass("fadeout")
38            }, 300)
39        });
40
41    });
42})(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.