PageSourceSearch

https://www.1881hotelbalneariovichycatalan.com/static/js/motor/get-values.js

js 1881hotelbalneariovichycatalan.com collected 2026-09-29 08:44:40 UTC 1,122 bytes, 28 lines download raw bytes

1export default function getValues(hotelsSelectId) {
2    let selected = $(`#${hotelsSelectId}`).find('option:selected');
3    let startDate = $('#fini_mobile').val() || $('#fini').val();
4    let endDate = $('#fout_mobile').val() || $('#fout').val();
5    let numRooms = $('#room-select').val();
6
7    let keyAndValues = {
8        hotel_ticker: selected.val(),
9        only_adults: selected.data("only_adults"),
10        max_adults: selected.data("max_adults"),
11        max_children: selected.data("max_children"),
12        max_babies: selected.data("max_babies"),
13        enable_children_age: selected.data("enable_children_age"),
14        max_age_babies: selected.data("max_age_babies"),
15        max_age_children: selected.data("max_age_children"),
16        startDate: startDate,
17        endDate: endDate,
18        numRooms: numRooms,
19    };
20
21    for (let i = 1; i <= numRooms; i++) {
22        keyAndValues[`adultsRoom${i}`] = $(`#adultsRoom${i}`).val();
23        keyAndValues[`childrenRoom${i}`] = $(`#childrenRoom${i}`).val();
24        keyAndValues[`babiesRoom${i}`] = $(`#babiesRoom${i}`).val();
25    }
26
27    return keyAndValues;
28}

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.