1window.onload = function() { 2 // 3 // SLIDER REVIEWS 4 // 5 6 var sliderReviewsElementsContainer = document.querySelectorAll('#yn-slider-reviews .slider-elements')[0] 7 // Set reviews container height 8 if(sliderReviewsElementsContainer) sliderReviewsElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-reviews .slider-each-element')[0]).height 9 10 // Hide left arrow and show the component 11 document.querySelectorAll('#yn-slider-reviews .arrow-button-left').forEach((element) => { 12 element.style.opacity = 0.5 13 }) 14 document.querySelectorAll('#yn-slider-reviews').forEach((element) => { 15 element.style.opacity = 1 16 }) 17 18 // 19 // SLIDER SUPPLIERS 20 // 21 22 var sliderReviewsElementsContainer = document.querySelectorAll('#yn-slider-suppliers .slider-elements')[0] 23 // Set suppliers container height 24 if(sliderReviewsElementsContainer) sliderReviewsElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-suppliers .slider-each-element')[0]).height 25 26 // Hide left arrow and show the component 27 document.querySelectorAll('#yn-slider-suppliers .arrow-button-left').forEach((element) => { 28 element.style.opacity = 0.5 29 }) 30 document.querySelectorAll('#yn-slider-suppliers').forEach((element) => { 31 element.style.opacity = 1 32 }) 33 34 35 // 36 // SLIDER LOCATIONS 37 // 38 39 // DESKTOP 40 if (document.querySelectorAll('#yn-slider-locations .slider-elements').length > 0) { 41 var sliderLocationsElementsContainer = document.querySelectorAll('#yn-slider-locations .slider-elements')[0] 42 // Set reviews container height 43 sliderLocationsElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations .slider-each-element')[0]).height 44 45 // Hide left arrow and show the component 46 document.querySelectorAll('#yn-slider-locations .arrow-button-left').forEach((element) => { 47 element.style.opacity = 0.5 48 }) 49 document.querySelectorAll('#yn-slider-locations').forEach((element) => { 50 element.style.opacity = 1 51 }) 52 } 53 54 // TABLET 55 if (document.querySelectorAll('#yn-slider-locations-tablet .slider-elements').length > 0) { 56 var sliderLocationsTabletElementsContainer = document.querySelectorAll('#yn-slider-locations-tablet .slider-elements')[0] 57 // Set reviews container height 58 sliderLocationsTabletElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations-tablet .slider-each-element')[0]).height 59 60 // Hide left arrow and show the component 61 document.querySelectorAll('#yn-slider-locations-tablet .arrow-button-left').forEach((element) => { 62 element.style.opacity = 0.5 63 }) 64 document.querySelectorAll('#yn-slider-locations-tablet').forEach((element) => { 65 element.style.opacity = 1 66 }) 67 } 68 69 // MOBILE 70 if (document.querySelectorAll('#yn-slider-locations-mobile .slider-elements').length > 0) { 71 var sliderLocationsMobileElementsContainer = document.querySelectorAll('#yn-slider-locations-mobile .slider-elements')[0] 72 // Set reviews container height 73 sliderLocationsMobileElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations-mobile .slider-each-element')[0]).height 74 75 // Hide left arrow and show the component 76 document.querySelectorAll('#yn-slider-locations-mobile .arrow-button-left').forEach((element) => { 77 element.style.opacity = 0.5 78 }) 79 document.querySelectorAll('#yn-slider-locations-mobile').forEach((element) => { 80 element.style.opacity = 1 81 }) 82 } 83 84 85 // 86 // SLIDER LOCATIONS 87 // 88 89 // DESKTOP 90 if (document.querySelectorAll('#yn-slider-countries .slider-elements').length > 0) { 91 var sliderCountriesElementsContainer = document.querySelectorAll('#yn-slider-countries .slider-elements')[0] 92 // Set reviews container height 93 sliderCountriesElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-sli
93der-countries .slider-each-element')[0]).height 94 95 // Hide left arrow and show the component 96 document.querySelectorAll('#yn-slider-countries .arrow-button-left').forEach((element) => { 97 element.style.opacity = 0.5 98 }) 99 document.querySelectorAll('#yn-slider-countries').forEach((element) => { 100 element.style.opacity = 1 101 }) 102 } 103 104 // TABLET 105 if (document.querySelectorAll('#yn-slider-countries-tablet .slider-elements').length > 0) { 106 var sliderCountriesTabletElementsContainer = document.querySelectorAll('#yn-slider-countries-tablet .slider-elements')[0] 107 // Set reviews container height 108 sliderCountriesTabletElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-countries-tablet .slider-each-element')[0]).height 109 110 // Hide left arrow and show the component 111 document.querySelectorAll('#yn-slider-countries-tablet .arrow-button-left').forEach((element) => { 112 element.style.opacity = 0.5 113 }) 114 document.querySelectorAll('#yn-slider-countries-tablet').forEach((element) => { 115 element.style.opacity = 1 116 }) 117 } 118 119 // MOBILE 120 if (document.querySelectorAll('#yn-slider-countries-mobile .slider-elements').length > 0) { 121 var sliderCountriesMobileElementsContainer = document.querySelectorAll('#yn-slider-countries-mobile .slider-elements')[0] 122 // Set reviews container height 123 sliderCountriesMobileElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-countries-mobile .slider-each-element')[0]).height 124 125 // Hide left arrow and show the component 126 document.querySelectorAll('#yn-slider-countries-mobile .arrow-button-left').forEach((element) => { 127 element.style.opacity = 0.5 128 }) 129 document.querySelectorAll('#yn-slider-countries-mobile').forEach((element) => { 130 element.style.opacity = 1 131 }) 132 } 133} 134 135 136 137window.onresize = function() { 138 // 139 // SLIDER REVIEWS 140 // 141 142 var sliderReviewsElementsContainer = document.querySelectorAll('#yn-slider-reviews .slider-elements')[0] 143 // Set reviews container height 144 if(sliderReviewsElementsContainer) sliderReviewsElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-reviews .slider-each-element')[0]).height 145 146 147 // 148 // SLIDER LOCATIONS 149 // 150 151 // DESKTOP 152 if (document.querySelectorAll('#yn-slider-locations .slider-elements').length > 0) { 153 var sliderLocationsElementsContainer = document.querySelectorAll('#yn-slider-locations .slider-elements')[0] 154 // Set reviews container height 155 sliderLocationsElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations .slider-each-element')[0]).height 156 } 157 158 // TABLET 159 if (document.querySelectorAll('#yn-slider-locations-tablet .slider-elements').length > 0) { 160 var sliderLocationsTabletElementsContainer = document.querySelectorAll('#yn-slider-locations-tablet .slider-elements')[0] 161 // Set reviews container height 162 sliderLocationsTabletElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations-tablet .slider-each-element')[0]).height 163 } 164 165 // MOBILE 166 if (document.querySelectorAll('#yn-slider-locations-mobile .slider-elements').length > 0) { 167 var sliderLocationsMobileElementsContainer = document.querySelectorAll('#yn-slider-locations-mobile .slider-elements')[0] 168 // Set reviews container height 169 sliderLocationsMobileElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-locations-mobile .slider-each-element')[0]).height 170 } 171 172 173 // 174 // SLIDER COUNTRIES 175 // 176 177 // DESKTOP 178 if (document.querySelectorAll('#yn-slider-countries .slider-elements').length > 0) { 179 var sliderCountriesElementsContainer = document.querySelectorAll('#yn-slider-countries .slider-elements')[0] 180 // Set reviews container height 181 sliderCountriesElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-sli
181der-countries .slider-each-element')[0]).height 182 } 183 184 // TABLET 185 if (document.querySelectorAll('#yn-slider-countries-tablet .slider-elements').length > 0) { 186 var sliderCountriesTabletElementsContainer = document.querySelectorAll('#yn-slider-countries-tablet .slider-elements')[0] 187 // Set reviews container height 188 sliderCountriesTabletElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-countries-tablet .slider-each-element')[0]).height 189 } 190 191 // MOBILE 192 if (document.querySelectorAll('#yn-slider-countries-mobile .slider-elements').length > 0) { 193 var sliderCountriesMobileElementsContainer = document.querySelectorAll('#yn-slider-countries-mobile .slider-elements')[0] 194 // Set reviews container height 195 sliderCountriesMobileElementsContainer.style.height = getComputedStyle(document.querySelectorAll('#yn-slider-countries-mobile .slider-each-element')[0]).height 196 } 197} 198 199 200 201 202 203 204function price_range(e) { 205 if (null !== document.getElementById("price-range")) { 206 var t = document.getElementById("price-range"); 207 noUiSlider.create(t, { 208 start: [0, e], 209 connect: !0, 210 range: { 211 min: 0, 212 max: e 213 } 214 }); 215 var a = [$(".price-range span.min"), $(".price-range span.max")], 216 i = [$('[name="price_min"]'), $('[name="price_max"]')]; 217 t.noUiSlider.on("update", function(e, t) { 218 var o = Math.round(e[t]); 219 i[t].val(o), a[t].text(o) 220 }) 221 } 222} 223 224function duration_range(e) { 225 if (null !== document.getElementById("duration-range")) { 226 var t = document.getElementById("duration-range"); 227 noUiSlider.create(t, { 228 start: [0, e], 229 connect: !0, 230 range: { 231 min: 0, 232 max: e 233 } 234 }); 235 var a = [$(".duration-range span.min"), $(".duration-range span.max")], 236 i = [$('[name="duration_min"]'), $('[name="duration_max"]')]; 237 t.noUiSlider.on("update", function(e, t) { 238 var o = Math.round(e[t]); 239 i[t].val(o), a[t].text(o) 240 }) 241 } 242} 243 244function explore_map(e, t, a, i, o) { 245 function n(e, t, a) { 246 t.setPosition(a), t.setContent(e ? "Error: The Geolocation service failed." : "Error: Your browser doesn't support geolocation.") 247 } 248 map = new google.maps.Map(document.getElementById("google-map"), { 249 center: { 250 lat: e, 251 lng: t 252 }, 253 mapTypeControl: !1, 254 zoomControl: !0, 255 scrollwheel: !1, 256 zoomControlOptions: { 257 position: google.maps.ControlPosition.RIGHT_CENTER 258 }, 259 zoom: 8, 260 streetViewControl: !1, 261 styles: [{ 262 featureType: "administrative", 263 elementType: "labels.text.fill", 264 stylers: [{ 265 color: "#6195a0" 266 }] 267 }, { 268 featureType: "administrative.province", 269 elementType: "geometry.stroke", 270 stylers: [{ 271 visibility: "off" 272 }] 273 }, { 274 featureType: "landscape", 275 elementType: "geometry", 276 stylers: [{ 277 lightness: "0" 278 }, { 279 saturation: "0" 280 }, { 281 color: "#f5f5f2" 282 }, { 283 gamma: "1" 284 }] 285 }, { 286 featureType: "landscape.man_made", 287 elementType: "all", 288 stylers: [{ 289 lightness: "-3" 290 }, { 291 gamma: "1.00" 292 }] 293 }, { 294 featureType: "landscape.natural.terrain", 295 elementType: "all", 296 stylers: [{ 297 visibility: "off" 298 }] 299 }, { 300 featureType: "poi", 301 elementType: "all", 302 stylers: [{ 303 visibility: "off" 304 }] 305 }, { 306 featureType: "poi.park", 307 elementType: "geometry.fill", 308 stylers: [{ 309 color: "#bae5ce" 310 }, { 311 visibility: "on" 312 }] 313 }, { 314 featureType: "road", 315 elementType: "all", 316 stylers: [{ 317 saturation: -100 318 }, { 319 lightness: 45 320 }, { 321 visibility: "simplified" 322 }] 323 }, { 324 featureType: "road.highway", 325 elementType: "all", 326 stylers: [{ 327 visibility: "simplified" 328 }] 329 }, { 330 featureType: "road.highway", 331 elementType: "geometry.fill", 332 stylers: [{ 333 color: "#fac9a9" 334 }, { 335 visibility: "simplified" 336 }] 337 }, { 338 featureType: "road.highway", 339 elementType: "labels.text", 340 stylers: [{ 341 color: "#4e4e4e" 342 }] 343 }, { 344 featureType: "road.arterial", 345 elementType: "labels.text.fill", 346 stylers: [{ 347 color: "#787878" 348 }] 349 }, { 350 featureType: "road.arterial", 351 elementType: "labels.icon", 352 stylers: [{ 353 visibility: "off" 354 }] 355 }, { 356 featureType: "transit", 357 elementType: "all", 358 stylers: [{ 359 visibility: "simplified" 360 }] 361 }, { 362 featureType: "transit.station.airport", 363 elementType: "labels.icon", 364 stylers: [{ 365 hue: "#0a00ff" 366 }, { 367 saturation: "-77" 368 }, { 369 gamma: "0.57" 370 }, { 371 lightness: "0" 372 }] 373 }, { 374 featureType: "transit.station.rail", 375 elementType: "labels.text.fill", 376 stylers: [{ 377 color: "#43321e" 378 }] 379 }, { 380 featureType: "transit.station.rail", 381 elementType: "labels.icon", 382 stylers: [{ 383 hue: "#ff6c00" 384 }, { 385 lightness: "4" 386 }, { 387 gamma: "0.75" 388 }, { 389 saturation: "-68" 390 }] 391 }, { 392 featureType: "water", 393 elementType: "all", 394 stylers: [{ 395 color: "#eaf6f8" 396 }, { 397 visibility: "on" 398 }] 399 }, { 400 featureType: "water", 401 elementType: "geometry.fill", 402 stylers: [{ 403 color: "#c7eced" 404 }] 405 }, { 406 featureType: "water", 407 elementType: "labels.text.fill", 408 stylers: [{ 409 lightness: "-49" 410 }, { 411 saturation: "-53" 412 }, { 413 gamma: "0.79" 414 }] 415 }] 416 });
417 var r, s, l = new google.maps.LatLngBounds, 418 d = new google.maps.InfoWindow; 419 for (navigator.geolocation ? navigator.geolocation.getCurrentPosition(function(e) { 420 var t = { 421 lat: e.coords.latitude, 422 lng: e.coords.longitude 423 }; 424 map.setCenter(t) 425 }, function() { 426 n(!0, d, map.getCenter()) 427 }) : n(!1, d, map.getCenter()), infoBubble = new InfoBubble({ 428 shadowStyle: 0, 429 padding: 0, 430 backgroundColor: "rgb(255,255,255)", 431 borderRadius: 0, 432 arrowSize: 10, 433 borderWidth: 1, 434 maxWidth: 280, 435 borderColor: "#cecece", 436 hideCloseButton: !0, 437 arrowPosition: 30, 438 anchorHeight: 100, 439 arrowStyle: 0 440 }), s = 0; s < a.length; s++) { 441 var c = new google.maps.LatLng(a[s][0], a[s][1]); 442 l.extend(c); 443 var p = 1 == i[s][0].featured ? "featured" : "", 444 m = "/images/data/" + i[s][0].image; 445 r = new RichMarker({ 446 position: c, 447 map: map, 448 infowindow: '<div class="map-info-window"><div class="map-info-window-inner"><div class="map-info-window-image"><img src="' + m + '" alt="' + i[s][0].name + '" class="img-fluid"></div>
448<div class="map-info-window-details"> <a href="/' + o + "/" + i[s][0].alias + '"><h3>' + decodeURI(unescape(unescape(i[s][0].name))) + "</h3></a><p>" + decodeURI(unescape(unescape(i[s][0].description))) + '</p><p class="map-info-window-location">' + i[s][0].city + ", " + i[s][0].country + '</p></div><a class="primary-button" href="/' + o + "/" + i[s][0].alias + '">' + i[s][0].reserve + "</a></div>", 449 title: i[s][0].name, 450 shadow: "none", 451 content: '<div class="map-marker ' + p + '" data-id="' + i[s][0].id + '"><i class="fa ' + i[s][0].icon + '"></i></div>' 452 }), allmarkers.push(r), google.maps.event.addListener(r, "click", function() { 453 infoBubble.setContent(this.infowindow), infoBubble.open(map, this) 454 }), google.maps.event.addListener(map, "click", function() { 455 infoBubble.close() 456 }) 457 } 458 map.fitBounds(l); 459 var u = { 460 imagePath: "/images/home/icons/m" 461 }; 462 mapClusters = new MarkerClusterer(map, allmarkers, u) 463} 464 465function removeMarkers() { 466 for (var e = 0; e < allmarkers.length; e++) allmarkers[e].setMap(null); 467 allmarkers = [], mapClusters.clearMarkers() 468} 469 470function addMarkerToMap(e, t, a, i) { 471 var o = 1, 472 n = new google.maps.LatLng(e, t); 473 if (fmarkers.length) 474 for (var r = 0; r < fmarkers.length; r++) 475 if (n.equals(fmarkers[r].getPosition())) return o = 0, !1; 476 if (!o) return 0; 477 (new google.maps.LatLngBounds).extend(n); 478 var s = 1 == a[0].featured ? "featured" : "", 479 l = "/images/data/" + a[0].image; 480 marker = new RichMarker({ 481 position: n, 482 map: map, 483 infowindow: '<div class="map-info-window"><div class="map-info-window-inner"><div class="map-info-window-image"><img src="' + l + '" alt="' + decodeURI(unescape(unescape(a[0].name))) + '" class="img-fluid"></div>
483<div class="map-info-window-details"> <a href="/' + i + "/" + a[0].alias + '"><h3>' + a[0].name + "</h3></a><p>" + decodeURI(unescape(unescape(a[0].description))) + '</p><p class="map-info-window-location">' + a[0].city + ", " + a[0].country + '</p></div><a class="primary-button" href="/' + i + "/" + a[0].alias + '">' + a[0].reserve + "</a></div>", 484 title: a[0].name, 485 shadow: "none", 486 content: '<div class="map-marker ' + s + '" data-id="' + a[0].id + '"><i class="fa ' + a[0].icon + '"></i></div>' 487 }), allmarkers.push(marker); 488 mapClusters.addMarker(marker), google.maps.event.addListener(marker, "click", function() { 489 infoBubble.setContent(this.infowindow), infoBubble.open(map, this) 490 }), google.maps.event.addListener(map, "click", function() { 491 infoBubble.close() 492 }) 493} 494 495function getDates(e, t) { 496 for (var a = [], i = e; i <= t;) { 497 var o = new Date(i); 498 a.push(o.ddmmyyyy()), i = i.addDays(1) 499 } 500 return a 501} 502 503function toDate(e) { 504 var t = e.split("/"); 505 return new Date(t[2], t[1] - 1, t[0]) 506} 507 508function isEmail(e) { 509 return /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e) 510} 511 512function isPhone(e) { 513 return /^\+[1-9]{1,3}[0-9]{3,14}$/.test(e) 514} 515$("document").ready(function() { 516 $(".dropdown-toggle").dropdown(); 517 var e = $(window).height(); 518 if (e < 768 ? $("#slider").css("padding-top", "40px") : $("#slider").css("padding-top", e / 10), $("body").click(function() { 519 $(".dropdown-active").removeClass("dropdown-active") 520 }), $(window).on("resize", function() { 521 $(this).height() < 768 ? $("#slider").css("padding-top", "40px") : $("#slider").css("padding-top", e / 10) 522 }), $(".mobile-menu-button").click(function(e) { 523 e.preventDefault(); 524 $(".mobile-menu").show(0); 525 }), $(".filter-trigger").click(function() { 526 var e = $(this).parent(); 527 $(".filter-box", e).slideToggle() 528 }), $(".check-item").click(function() { 529 var e = $('input[type="checkbox"]', this); 530 e.prop("checked", !e.prop("checked")) 531 }), $(".slider-box .dropdown-slider-menu li").click(function(e) { 532 e.preventDefault(); 533 var t = $(this).parents(".form-group"); 534 $(".slider-hidden", t).val($(this).data("id")), $(".slider-field", t).val($(this).data("name")) 535 }), $(".filter-box .form-group").click(function(e) { 536 e.stopPropagation(), $(".dropdown-active").not(this).removeClass("dropdown-active"), $(this).toggleClass("dropdown-active") 537 }), $(document).on("mouseenter", ".item", function() { 538 $('.map-marker[data-id="' + $(this).attr("data-id") + '"]').addClass("hovered") 539 }), $(document).on("mouseleave", ".item", function() { 540 $('.map-marker[data-id="' + $(this).attr("data-id") + '"]').removeClass("hovered") 541 }), $(".item .main-image").bind("click", function() { 542 var e = $(this).parents(".item"); 543 window.location.href = $(".data > a", e).attr("href") 544 }), $(".carousel-control-prev").click(function(e) { 545 e.stopPropagation(), e.preventDefault(), $(this).parent().carousel("prev") 546 }), $(".carousel-control-next").click(function(e) { 547 e.stopPropagation(), e.preventDefault(), $(this).parent().carousel("next") 548 }), $(this).on("click", ".map-marker", function() { 549 setTimeout(function() { 550 map.panBy(0, -90) 551 }, 250) 552 }), $('a[href*="#"]:not([href="#"]):not([href^="#confirm-"]):not([href^="#carousel-"]):not([href^="#accordion-"]):not([href*="-picker"])').click(function() { 553 if (location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) { 554 var e = $(this.hash); 555 if ((e = e.length ? e : $("[name=" + this.hash.slice(1) + "]")).length) return $("html, body").animate({ 556 scrollTop: e.offset().top - 50 557 }, 1e3), !1 558 } 559 }), $(".language-switcher").click(function(e) { 560 e.preventDefault();
561 var code = $(this).data("code"), 562 token = $('[name="_token"]').val(), 563 pathname = window.location.pathname, 564 search = window.location.search, 565 baseUrl = $('[name="base_url"]').val(); 566 $.ajax({ 567 url: baseUrl + '/user/changeLanguage', 568 type: "post", 569 data: { 570 code: code, 571 _token: token, 572 path: pathname, 573 search: search 574 }, 575 success: function(response) { 576 // console.log(response.path); 577 // storeLocalStorage('localeCode', code); 578 window.location.replace(response.path); 579 }, 580 error: function() { 581 console.log('error'); 582 // window.location.replace('/oops'); 583 } 584 }) 585 }), $(".room_number_picker").click(function(e) { 586 e.preventDefault(), $('[name="rooms_value"]').val($(this).parent().data("number")), $('[name="rooms"]').val($(this).parent().data("number")) 587 }), $(".guest_number_picker").click(function(e) { 588 e.preventDefault(), $('[name="guest_number_value"]').val($(this).parent().data("number")), $('[name="guest_number"]').val($(this).parent().data("number")) 589 }), $(".location_id_picker").click(function(e) { 590 e.preventDefault(), $('[name="location_id_value"]').val($(this).parent().data("name")), $('[name="location_id"]').val($(this).parent().data("id")) 591 }), $(".category_id_picker").click(function(e) { 592 e.preventDefault(), $('[name="category_id_value"]').val($(this).parent().data("name")), $('[name="category_id"]').val($(this).parent().data("id")) 593 }), $(".sort_id_picker").click(function(e) { 594 e.preventDefault(), $('[name="sort_id_value"]').val($(this).parent().data("name")), $('[name="sort_id"]').val($(this).parent().data("id")) 595 }), $(".tooltip-feature").length && $(".tooltip-feature").tooltip({ 596 position: { 597 my: "center bottom-20", 598 at: "center top" 599 } 600 }), $(".review-description a").click(function(e) { 601 e.preventDefault() 602 }), $(".sticky-header").length) { 603 var t = $("#header").outerHeight(), 604 a = $(".sticky-header").offset().top, 605 i = 0; 606 607 // $(window).scrollTop() >= a && ($("sticky-header").addClass("fixed-header box-shadow"), $("#header-phantom").css("height", t - 60).removeClass("hidden")), 608 609 $(window).scroll(function() { 610 var e = $(".sticky-header"), 611 o = $(window).scrollTop(); 612 o >= a ? o > i ? (e.removeClass("fixed-header box-shadow"), $("#header-phantom").css("height", t).addClass("hidden")) : (e.addClass("fixed-header box-shadow"), $("#header-phantom").css("height", t).removeClass("hidden")) : (e.removeClass("fixed-header box-shadow"), $("#header-phantom").css("height", t - 60).addClass("hidden")), i = o 613 }) 614 } 615}); 616var map, infoBubble, mapClusters, allmarkers = [], 617 fmarkers = [];
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.