PageSourceSearch

https://sokookre.com/wp-content/themes/adforest/assests/js/sb-shortcode-functions.js?ver=6.9.4

js sokookre.com collected 2026-10-04 08:39:42 UTC 2,108 bytes, 57 lines download raw bytes

1/*Adforest Shorcode functions*/ !(function (r) {
2    
3    
4
5    var e = jQuery("#is_rtl").val(),
6    
7        o = !1;
8    "undefined" != e && "1" == e && (o = !0);
9    var t = shortcode_globals.ajax_url;
10    jQuery(document).ready(function () {
11        
12        jQuery(".sb-load-ajax-cats") &&
13            jQuery(".sb-load-ajax-cats").select2({
14                allowClear: !0,
15                width: "100%",
16                rtl: o,
17                ajax: {
18                    url: t,
19                    dataType: "json",
20                    delay: 250,
21                    data: function (r) {
22                        void 0 !== r.page && r.page;
23                        var e = void 0 !== r.term ? r.term : "";
24                        return "" == e ? { action: "load_categories_frontend_html" } : { q: e, action: "load_categories_frontend_html" };
25                    },
26                    escapeMarkup: function (r) {
27                        return r;
28                    },
29                    processResults: function (e) {
30                        var o = [];
31                        return (
32                            e &&
33                                r.each(e, function (r, e) {
34                                    o.push({ id: e[0], text: e[1] });
35                                }),
36                            { results: o }
37                        );
38                    },
39                    cache: !0,
40                },
41                language: {
42                    errorLoading: function () {
43                        return shortcode_globals.errorLoading;
44                    },
45                    inputTooShort: function () {
46                        return shortcode_globals.inputTooShort;
47                    },
48                    searching: function () {
49                        return shortcode_globals.searching;
50                    },
51                    noResults: function () {
52                        return shortcode_globals.noResults;
53                    },
54                },
55            });
56    });
57})(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.