PageSourceSearch

https://eventbooking.ru/minify/5c56a46a20ff64bf4f7528ce4e430cd0.js?v=1714115774

js eventbooking.ru collected 2026-09-29 18:45:26 UTC 1,603 bytes, 43 lines download raw bytes

1/**
2 * Функция авто комплика
3 */
4function fillInAddress() {
5
6    var place = autocomplete.getPlace();
7
8    var jsonRawLocation = JSON.stringify({
9        lat: place.geometry.location.lat(),
10        lng: place.geometry.location.lng()
11    });
12
13    //Только тут обрабатываем код страны, т.к. он нужен только при наборе руками в фото разделах, там нет карты
14    $("#visible-location-value").text(place.formatted_address);
15    $("#jsonRawLocation").val(jsonRawLocation);
16    $('.home__choice-dropdown').slideToggle();
17
18    place.address_components.forEach(function (component) {
19
20        if (component.types.includes('country')) {
21            var county_code = component.short_name;
22            $("#countryCode").val(county_code);
23        }
24    });
25}
26
27$(document).ready(function () {
28    $(".filter-item_location .filter-item__title").click(function (e) {
29        $('.home__choice-dropdown').slideToggle();
30    });
31    // при клике на поисковое поле очищаем его
32    $('#location-search-au').on('focus', function () {
33        $('#location-search-au').val('');
34    })
35    // при клике на любую другую область страницы - закрываем выпадающее окно с поиском
36    $('body').on('click', function (e) {
37        let $target = $(e.target);
38        if (!$target.hasClass('filter-item__title') && !$target.hasClass('ui-autocomplete-input')) {
39            $('.home__choice-dropdown').slideUp();
40        }
41    });
42})
43;

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.