PageSourceSearch

https://myriamphoto.com/wp-content/plugins/bookingcom-official-searchbox/assets/js/bos_date.js?ver=6.8.10

js myriamphoto.com collected 2026-10-07 03:59:04 UTC 2,280 bytes, 69 lines download raw bytes

1jQuery(function($) {
2
3    var language = objectL10n.language;
4    moment.locale(language);
5    var checkin = moment();
6    var checkout = moment(checkin).add(1, 'd');
7
8    function cb(checkin, checkout) {
9        var dateFormat = '';
10        if (language === 'de_DE') {
11            dateFormat = 'ddd D. MMM YYYY';
12        } else {
13            dateFormat = 'ddd D MMM YYYY';
14        }
15        $('.b_dates_inner_wrapper div#bos-date_b_checkin').html(checkin.format(dateFormat));
16        $('#b_checkin').val(checkin.format('YYYY-MM-DD'));
17        $('.b_dates_inner_wrapper div#bos-date_b_checkout').html(checkout.format(dateFormat));
18        $('#b_checkout').val(checkout.format('YYYY-MM-DD'));
19    }
20
21    $('#b_dates').daterangepicker({
22        singleDatePicker: false,
23        startDate: checkin,
24        endDate: checkout,
25        minDate: moment(),
26        autoApply: true,
27        opens: "center",
28        showWeekNumbers: (objectL10n.show_weeknumbers == 1 || objectL10n.settings.show_weeknumbers == 1) ? true : false,
29        maxSpan: {
30            days: 30
31        }
32    }, cb).on('show.daterangepicker', function (ev, picker) {
33        picker.container.addClass('bos-css');                            
34    });
35
36    cb(checkin, checkout);
37
38
39    function cb2(checkin, checkout) {
40        var dateFormat = '';
41        if (language === 'de_DE') {
42            dateFormat = 'ddd D. MMM YYYY';
43        } else {
44            dateFormat = 'ddd D MMM YYYY';
45        }
46        $('.b_dates_inner_wrapper div.bos-date_b_checkin').html(checkin.format(dateFormat));
47        $('.b_checkin').val(checkin.format('YYYY-MM-DD'));
48        $('.b_dates_inner_wrapper div.bos-date_b_checkout').html(checkout.format(dateFormat));
49        $('.b_checkout').val(checkout.format('YYYY-MM-DD'));
50    }
51
52
53    $('.b_dates').daterangepicker({
54        singleDatePicker: false,
55        startDate: checkin,
56        endDate: checkout,
57        minDate: moment(),
58        autoApply: true,
59        opens: "center",
60        showWeekNumbers: objectL10n.show_weeknumbers == 1 ? true : false,
61        maxSpan: {
62            days: 30
63        }
64    }, cb2).on('show.daterangepicker', function (ev, picker) {
65        picker.container.addClass('bos-css');                            
66    });
67
68    cb2(checkin, checkout);
69});

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.