PageSourceSearch

https://www.hestiahotels.com/kentmanni/wp-content/themes/kentmanni_hotel/js/custom.booking.js?ver=1.1.0

js hestiahotels.com collected 2026-09-24 11:33:13 UTC 1,271 bytes, 38 lines download raw bytes

1jQuery(document).ready(function () {
2
3    // Defineeri tänane ja homne kuupäev
4    var setCheckIn = moment();
5    var setCheckOut = moment().add(1, "days");
6
7    // Aseta vaikimisi kuupäevad vormi
8    jQuery("#checkin").val(setCheckIn.format("DD/MM/YYYY"));
9    jQuery("#checkout").val(setCheckOut.format("DD/MM/YYYY"));
10
11    // Kui kasutaja vajutab broneerimisnuppu
12    jQuery(".booking .btn, .sub_booking .btn").on("click", function (e) {
13        e.preventDefault();
14
15        var clientName = "hestiahotelkentmannidirect";
16        var lang = jQuery(this).attr("data-lang") || "et-EE";
17
18        // Kuupäevade teisendamine formaati YYYY-MM-DD
19        var resin = jQuery("#checkin").val().split("/");
20        var resout = jQuery("#checkout").val().split("/");
21
22        var checkin = resin[2] + "-" + resin[1] + "-" + resin[0];
23        var checkout = resout[2] + "-" + resout[1] + "-" + resout[0];
24
25        // UUS broneerimislingi struktuur
26        var url =
27            "https://www.secure-hotel-booking.com/Hestia-Hotel-Kentmanni/JLCC/" +
28            lang +
29            "/?arrivalDate=" +
30            checkin +
31            "&departureDate=" +
32            checkout;
33
34        // Ava leht samas aknas
35        window.open(url, "_self");
36        return false;
37    });
38});

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.