PageSourceSearch

https://www.hbhotel.at/typo3temp/assets/compressed/default-3fde9b1e0921e92b1a6a28bcc106aaef.js?1720441891

js hbhotel.at collected 2026-10-06 10:27:03 UTC 1,825 bytes, 42 lines download raw bytes

1if( $('.results').children().length <= 0 ) {
2    $('.headline.top').remove();
3}
4
5$( function() {
6    var cache = {};
7    var lang = $('.smart-search-form').data("syslanguageuid");
8    $.getJSON("/index.php?eID=autocompleteList&L=" + lang, function(data) {
9        $( ".smart-search .input-q" ).autocomplete({
10            minLength: 2,
11            source: function( request, response ) {
12                var term = request.term;
13                var matcher = new RegExp( $.ui.autocomplete.escapeRegex(term), "i" );
14                /* show just words which begin with searchterm */
15                var onlyfirst = new RegExp("^" + $.ui.autocomplete.escapeRegex(term), "i");
16                if (term in cache) {
17                    response($.map(cache[term], function(item) {
18                        if ( (item.w && ( !cache[term] || matcher.test(item.w)) &&  (onlyfirst.test(item.w))) ) {
19                            return {value: (item.w)};
20                        }
21                    }));
22                }
23                cache[term] = data;
24                response($.map(data, function(item) {
25                    if ( (item.w && ( !term || matcher.test(item.w)) &&  (onlyfirst.test(item.w))) ) {
26                        return {value: (item.w)};
27                    }
28                }));
29            },
30            select: function( event, ui ) {
31                tx_tracking.event('smartsearch - autocomplete', 'select', '' + ui.item.label);
32            }
33        });
34    });
35    
36    $('.smart-search .smartsearch-suggestion-item .btn').on('click', function() {
37        tx_tracking.event('smartsearch - suggest', 'click', '' + $(this).text());
38    });
39    $('.smart-search form').on('submit', function() {
40        tx_tracking.event('smartsearch - input', 'submit', '' + $(this).find('.input-q').val());
41    });
42} );

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.