1(function($) { 2 3 "use strict"; 4 5 //Hide Loading Box (Preloader) 6 function handlePreloader() { 7 if($('.preloader').length){ 8 $('body').addClass('page-loaded'); 9 $('.preloader').delay(1000).fadeOut(0); 10 } 11 } 12 13 //Update Header Style and Scroll to Top 14 function headerStyle() { 15 if($('.main-header').length){ 16 var windowpos = $(window).scrollTop(); 17 var siteHeader = $('.main-header'); 18 var scrollLink = $('.scroll-to-top'); 19 var sticky_header = $('.main-header .sticky-header'); 20 if (windowpos > 52) { 21 siteHeader.addClass('fixed-header'); 22 sticky_header.addClass("animated slideInDown"); 23 scrollLink.fadeIn(300); 24 } else { 25 siteHeader.removeClass('fixed-header'); 26 sticky_header.removeClass("animated slideInDown"); 27 scrollLink.fadeOut(300); 28 } 29 } 30 } 31 32 headerStyle(); 33 34 //Submenu Dropdown Toggle 35 if($('.main-header li.dropdown ul').length){ 36 $('.main-header .navigation li.dropdown').append('<div class="dropdown-btn"><span class="fa fa-angle-right"></span></div>'); 37 38 } 39 40 //Mobile Nav Hide Show 41 if($('.mobile-menu').length){ 42 43 $('.mobile-menu .menu-box').mCustomScrollbar(); 44 45 var mobileMenuContent = $('.main-header .nav-outer .main-menu').html(); 46 $('.mobile-menu .menu-box .menu-outer').append(mobileMenuContent); 47 $('.sticky-header .main-menu').append(mobileMenuContent); 48 49 //Dropdown Button 50 $('.mobile-menu li.dropdown .dropdown-btn').on('click', function() { 51 $(this).toggleClass('open'); 52 $(this).prev('ul').slideToggle(500); 53 }); 54 //Menu Toggle Btn 55 $('.mobile-nav-toggler').on('click', function() { 56 $('body').addClass('mobile-menu-visible'); 57 }); 58 59 //Menu Toggle Btn 60 $('.mobile-menu .menu-backdrop,.mobile-menu .close-btn').on('click', function() { 61 $('body').removeClass('mobile-menu-visible'); 62 }); 63 $(document).keydown(function(e){ 64 if(e.keyCode === 27) { 65 $('#search-popup').removeClass('mobile-menu-visible'); 66 $('body').removeClass('mobile-menu-visible'); 67 } 68 }); 69 } 70 71 //Search Popup 72 if($('#search-popup').length){ 73 74 //Show Popup 75 $('.search-toggler').on('click', function() { 76 $('#search-popup').addClass('popup-visible'); 77 $('body').addClass('search-visible'); 78 }); 79 $(document).keydown(function(e){ 80 if(e.keyCode === 27) { 81 $('#search-popup').removeClass('popup-visible'); 82 $('body').removeClass('search-visible'); 83 } 84 }); 85 //Hide Popup 86 $('.close-search,.search-popup .overlay-layer').on('click', function() { 87 $('#search-popup').removeClass('popup-visible'); 88 $('body').removeClass('search-visible'); 89 }); 90 } 91 92 93 //Modal Popup //cduarte 2020.12.11 94 if($('#modal-popup').length){ 95 96 //Show Popup 97 $('.modal-toggler').on('click', function() {
98 $('#modal-popup').addClass('popup-visible'); 99 $('body').addClass('modal-visible'); 100 }); 101 $(document).keydown(function(e){ 102 if(e.keyCode === 27) { 103 $('#modal-popup').removeClass('popup-visible'); 104 $('body').removeClass('modal-visible'); 105 } 106 }); 107 //Hide Popup 108 $('.close-modal,.modal-popup .overlay-layer').on('click', function() { 109 $('#modal-popup').removeClass('popup-visible'); 110 $('body').removeClass('modal-visible'); 111 }); 112 } 113 114 115 //Hidden Bar Menu Config 116 function hiddenBarMenuConfig() { 117 var menuWrap = $('.hidden-bar .side-menu'); 118 // hidding submenu 119 menuWrap.find('.dropdown').children('ul').hide(); 120 // toggling child ul 121 menuWrap.find('li.dropdown > a').each(function () { 122 $(this).on('click', function (e) { 123 e.preventDefault(); 124 $(this).parent('li.dropdown').children('ul').slideToggle(); 125 126 // adding class to item container 127 $(this).parent().toggleClass('open'); 128 129 return false; 130 131 }); 132 }); 133 } 134 135 hiddenBarMenuConfig(); 136 137 138 //Hidden Sidebar 139 if ($('.hidden-bar').length) { 140 var hiddenBar = $('.hidden-bar'); 141 var hiddenBarOpener = $('.max-nav-toggler .toggle-btn'); 142 var hiddenBarCloser = $('.hidden-bar-closer'); 143 $('.hidden-bar-wrapper').mCustomScrollbar(); 144 145 //Show Sidebar 146 hiddenBarOpener.on('click', function () { 147 hiddenBar.addClass('visible-sidebar'); 148 }); 149 150 //Hide Sidebar 151 hiddenBarCloser.on('click', function () { 152 hiddenBar.removeClass('visible-sidebar'); 153 }); 154 155 $(document).keydown(function(e){ 156 if(e.keyCode === 27) { 157 hiddenBar.removeClass('visible-sidebar'); 158 } 159 }); 160 161 } 162 163 //Main Slider / Banner Carousel 164 if ($('.banner-carousel').length) { 165 $('.banner-carousel').owlCarousel({ 166 loop:true, 167 animateOut: 'fadeOut', 168 animateIn: 'fadeIn', 169 margin:0, 170 nav:true, 171 smartSpeed: 500, 172 autoplay: 8000, 173 autoplayTimeout:8000, 174 navText: [ '<span class="icon flaticon-arrows-1"></span>', '<span class="icon flaticon-right-arrow"></span>' ], 175 responsive:{ 176 0:{ 177 items:1 178 }, 179 600:{ 180 items:1 181 }, 182 800:{ 183 items:1 184 }, 185 1024:{ 186 items:1 187 } 188 } 189 }); 190 } 191 192 //Main Slider / Banner Carousel 193 if ($('.banner-carousel-two').length) { 194 $('.banner-carousel-two').owlCarousel({ 195 loop:true, 196 animateOut: 'fadeOut', 197 animateIn: 'fadeIn', 198 margin:0, 199 nav:true, 200 smartSpeed: 500, 201 autoplay: 7000, 202 autoplayTimeout:7000, 203 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 204 responsive:{ 205 0:{ 206 items:1 207 }, 208 600:{ 209 items:1 210 }, 211 800:{ 212 items:1 213 }, 214 1024:{ 215 items:1 216 } 217 } 218 }); 219 } 220 221 //Events Carousel 222 if ($('.events-carousel').length) { 223 $('.events-carousel').slick({ 224 nav: true, 225 infinite: false, 226 speed: 500, 227 slidesToShow: 3, 228 slidesToScroll: 1, 229 dots: false, 230 vertical:true, 231 responsive: [ 232 { 233 breakpoint: 1024, 234 settings: { 235 slidesToShow: 3, 236 slidesToScroll: 1 237 } 238 }, 239 { 240 breakpoint: 600, 241 settings: { 242 slidesToShow: 2, 243 slidesToScroll: 1 244 } 245 }, 246 { 247 breakpoint: 480, 248 settings: { 249 slidesToShow: 2, 250 slidesToScroll: 1 251 } 252 } 253 ] 254 }); 255 } 256 257 //Team Carousel 258 if ($('.team-carousel').length) { 259 $('.team-carousel').owlCarousel({ 260 loop:false, 261 margin:0, 262 nav:true, 263 smartSpeed: 500, 264 autoplay: 5000, 265 autoplayTimeout:5000, 266 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 267 responsive:{ 268 0:{ 269 items:1 270 }, 271 600:{ 272 items:2 273 }, 274 768:{ 275 items:3 276 }, 277 1024:{ 278 items:3 279 }, 280 1200:{ 281 items:4 282 } 283 } 284 }); 285 } 286 287 //News Carousel 288 if ($('.news-carousel').length) { 289 $('.news-carousel').owlCarousel({ 290 loop:false, 291 margin:30, 292 nav:true, 293 smartSpeed: 500, 294 autoplay: 5000, 295 autoplayTimeout:5000, 296 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 297 responsive:{ 298 0:{ 299 items:1 300 }, 301 600:{ 302 items:1 303 }, 304 768:{ 305 items:2 306 }, 307 1024:{ 308 items:3 309 }, 310 1200:{ 311 items:3 312 } 313 } 314 }); 315 } 316 317 //Testimonial Carousel 318 if ($('.testimonial-carousel').length) { 319 $('.testimonial-carousel').owlCarousel({ 320 loop:true, 321 margin:30, 322 nav:true, 323 smartSpeed: 500, 324 autoplay: 5000, 325 autoplayTimeout:5000, 326 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 327 responsive:{ 328 0:{ 329 items:1 330 }, 331 600:{ 332 items:1 333 }, 334 768:{ 335 items:1 336 }, 337 1024:{ 338 items:1 339 } 340 } 341 }); 342 } 343 344 //Departments Carousel 345 if ($('.departments-carousel').length) { 346 $('.departments-carousel').owlCarousel({ 347 loop:false, 348 margin:30, 349 nav:true, 350 smartSpeed: 500, 351 autoplay: 5000, 352 autoplayTimeout:5000, 353 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 354 responsive:{ 355 0:{ 356 items:1 357 }, 358 600:{ 359 items:1 360 }, 361 768:{ 362 items:2 363 }, 364 1024:{ 365 items:3 366 }, 367 1200:{ 368 items:3 369 } 370 } 371 }); 372 } 373 374 //Highlights Carousel 375 if ($('.hi-carousel').length) { 376 $('.hi-carousel').on('initialized.owl-carousel translate.owl-carousel', function(e){
377 idx = e.item.index; 378 $('.owl-item.inview').removeClass('inview'); 379 $('.owl-item.previous').removeClass('previous'); 380 $('.owl-item').eq(idx).addClass('inview'); 381 $('.owl-item').eq(idx-1).addClass('previous'); 382 }); 383 $('.hi-carousel').owlCarousel({ 384 center: true, 385 loop:true, 386 margin:50, 387 autoplay: true, 388 autoPlay: 5000, 389 dots:false, 390 nav:true, 391 navText: [ '<span class="icon flaticon-left-1"></span>', '<span class="icon flaticon-right-1"></span>' ], 392 responsive:{ 393 0:{ 394 items:1 395 }, 396 600:{ 397 items:1 398 }, 399 768:{ 400 items:1 401 }, 402 1024:{ 403 items:1 404 } 405 } 406 }) 407 } 408 409 //Reviews Carousel 410 if ($('.reviews-carousel').length) { 411 $('.reviews-carousel').owlCarousel({ 412 loop:true, 413 margin:30, 414 nav:true, 415 smartSpeed: 500, 416 autoplay: 5000, 417 autoplayTimeout:5000, 418 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 419 responsive:{ 420 0:{ 421 items:1 422 }, 423 600:{ 424 items:1 425 }, 426 768:{ 427 items:2 428 }, 429 1024:{ 430 items:2 431 }, 432 1200:{ 433 items:3 434 } 435 } 436 }); 437 } 438 439 //Twitter Feeds Carousel 440 if ($('.feeds-carousel').length) { 441 $('.feeds-carousel').owlCarousel({ 442 loop:true, 443 margin:30, 444 nav:false, 445 dots:false, 446 smartSpeed: 500, 447 autoplay: 5000, 448 autoplayTimeout:5000, 449 navText: [ '<span class="icon flaticon-arrows-1"></span>', '<span class="icon flaticon-right-arrow"></span>' ], 450 responsive:{ 451 0:{ 452 items:1 453 }, 454 600:{ 455 items:1 456 }, 457 800:{ 458 items:1 459 }, 460 1024:{ 461 items:1 462 } 463 } 464 }); 465 } 466 467 //Event Carousel 468 if ($('.featured-carousel').length) { 469 $('.featured-carousel').owlCarousel({ 470 loop:true, 471 center:true, 472 margin:2, 473 nav:true, 474 dots:false, 475 smartSpeed: 500, 476 autoplay: 5000, 477 autoplayTimeout:5000, 478 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 479 responsive:{ 480 0:{ 481 items:1, 482 center:false 483 }, 484 600:{ 485 items:1, 486 center:false 487 }, 488 768:{ 489 items:2, 490 center:false 491 }, 492 1024:{ 493 items:2, 494 center:false 495 }, 496 1200:{ 497 items:3 498 } 499 } 500 }); 501 } 502 503 //Guests Carousel 504 if ($('.guest-carousel').length) { 505 $('.guest-carousel').owlCarousel({ 506 loop:true, 507 margin:30, 508 nav:true, 509 smartSpeed: 700, 510 autoplay: 5000, 511 autoplayTimeout:5000, 512 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 513 responsive:{ 514 0:{ 515 items:1 516 }, 517 600:{ 518 items:1 519 }, 520 800:{ 521 items:2 522 }, 523 1024:{ 524 items:2 525 }, 526 1200:{ 527 items:2 528 } 529 } 530 }); 531 } 532 533 //Single Item Carousel 534 if ($('.single-item-carousel').length) { 535 $('.single-item-carousel').owlCarousel({ 536 loop:true, 537 margin:10, 538 nav:true, 539 smartSpeed: 500, 540 autoplay: 5000, 541 autoplayTimeout:5000, 542 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 543 responsive:{ 544 0:{ 545 items:1 546 }, 547 600:{ 548 items:1 549 }, 550 800:{ 551 items:1 552 }, 553 1024:{ 554 items:1 555 } 556 } 557 }); 558 } 559 560 561 562 //Testimonials Carousel Three 563 if ($('.testimonial-carousel-three').length) { 564 $('.testimonial-carousel-three').owlCarousel({ 565 loop:true, 566 margin:30, 567 nav:true, 568 smartSpeed: 500, 569 autoplay: 5000, 570 autoplayTimeout:5000, 571 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 572 responsive:{ 573 0:{ 574 items:1 575 }, 576 600:{ 577 items:1 578 }, 579 800:{ 580 items:1 581 }, 582 1024:{ 583 items:1 584 } 585 } 586 }); 587 } 588 589 //Event Carousel 590 if ($('.event-carousel').length) { 591 $('.event-carousel').owlCarousel({ 592 loop:true, 593 margin:60, 594 nav:true, 595 smartSpeed: 500, 596 autoplay: 5000, 597 autoplayTimeout:5000, 598 navText: [ '<span class="icon flaticon-back"></span>', '<span class="icon flaticon-next"></span>' ], 599 responsive:{ 600 0:{ 601 items:1 602 }, 603 600:{ 604 items:1 605 }, 606 800:{ 607 items:1 608 }, 609 1024:{ 610 items:1 611 } 612 } 613 }); 614 } 615 616 //Coming Soon Scroll 617 if($('.yacht-details .scroller').length){ 618 $('.yacht-details .scroller').mCustomScrollbar(); 619 } 620 621 //Coming Soon Countdown Timer 622 if($('.time-countdown').length){ 623 $('.time-countdown').each(function() { 624 var $this = $(this), finalDate = $(this).data('countdown'); 625 $this.countdown(finalDate, function(event) { 626 var $this = $(this).html(event.strftime('' + '<div class="counter-column"><span class="count">%D</span>Days</div> ' + '<div class="counter-column"><span class="count">%H</span>Hrs</div> ' + '<div class="counter-column"><span class="count">%M</span>Mins</div> ' + '<div class="counter-column"><span class="count">%S</span>Secs</div>')); 627 }); 628 }); 629 } 630 631 //Datepicker 632 if($('.datepicker').length) { 633 $(".datepicker").datepicker(); 634 } 635 636 //Custom Quantity Spinner 637 if($('.quantity-spinner').length){ 638 $('.quantity-spinner .plus').on('click', function() { 639 var val = $(this).prev('.prod_qty').val(); 640 $(this).prev('.prod_qty').val((val*1)+1); 641 }); 642 643 $('.quantity-spinner .minus').on('click', function(){ 644 var val = $(this).next('.prod_qty').val(); 645 if (val != 1 ){ 646 $(this).next('.prod_qty').val((val*1)-1); 647 } 648 }); 649 } 650 651 //Date Time Picker 652 if($('.datetime-picker').length){ 653 $('.datetime-picker').datetimepicker({ 654 formatDate:'Y/m/d', 655 minDate:'-2020/01/01', // yesterday is minimum date 656 maxDate:'+2030/12/30' // and tommorow is maximum date calendar 657 }); 658 } 659 660 //Range Slider 661 if($('.range-slider-1').length){ 662 $(".range-slider-1" ).slider({ 663 range: true, 664 min: 0, 665 max: 7500, 666 values: [ 1000, 2500 ], 667 slide: function( event, ui ) { 668 $( "#amount-1" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ]); 669 } 670 }); 671 $( "#amount-1" ).val( "$" + $( ".range-slider-1" ).slider( "values", 0 ) + 672 " - $" + $( ".range-slider-1" ).slider( "values", 1 )); 673 } 674 675 //Sortable Masonary with Filters 676 function sortableMasonry() { 677 if($('.sortable-masonry').length){ 678 679 var winDow = $(window); 680 // Needed variables 681 var $container=$('.sortable-masonry .items-container'); 682 var $filter=$('.filter-btns'); 683 684 $container.isotope({ 685 filter:'*', 686 masonry: { 687 columnWidth : '.masonry-item.col-lg-4' 688 }, 689 animationOptions:{ 690 duration:500, 691 easing:'linear' 692 } 693 }); 694 695 696 // Isotope Filter 697 $filter.find('li').on('click', function(){ 698 var selector = $(this).attr('data-filter'); 699 700 try { 701 $container.isotope({ 702 filter : selector, 703 animationOptions: { 704 duration: 500, 705 easing : 'linear', 706 queue : false 707 } 708 });
709 } catch(err) { 710 711 } 712 return false; 713 }); 714 715 716 winDow.on('resize', function(){ 717 var selector = $filter.find('li.active').attr('data-filter'); 718 719 $container.isotope({ 720 filter : selector, 721 animationOptions: { 722 duration: 500, 723 easing : 'linear', 724 queue : false 725 } 726 }); 727 }); 728 729 730 var filterItemA = $('.filter-btns li'); 731 732 filterItemA.on('click', function(){ 733 var $this = $(this); 734 if ( !$this.hasClass('active')) { 735 filterItemA.removeClass('active'); 736 $this.addClass('active'); 737 } 738 }); 739 } 740 } 741 sortableMasonry(); 742 743 744 //MixitUp Gallery Filters 745 if($('.filter-list').length){ 746 $('.filter-list').mixItUp({}); 747 } 748 749 //3 Column Load More Mixitup Gallery With Filters 750 if($('.loadmore-gallery-one .filter-gallery-one').length){ 751 752 $(".loadmore-gallery-one .filter-gallery-one").mixItUp({ 753 selectors: { 754 target: ".mix" // As in mixitup 755 }, 756 layout: { 757 display: "inline-block" // As in mixitup 758 }, 759 loadmore: { 760 // The number of items to start with 761 initial: 9, 762 // The number of items to load on click on the loadmore button 763 loadMore: 3, 764 // A selector string for the existing wrapper the buttons will be inserted into 765 buttonWrapper: ".loadmore", 766 // The class of the Load more button 767 buttonClass: "loadmore-button", 768 // The label of the Load more button 769 buttonLabel: "Load More", 770 // The class of the less button 771 lessClass: "loadmore-less", 772 // The label of the less button 773 lessLabel: "Show Less" 774 } 775 }); 776 } 777 778 779 //Default Load More Elements / Blog 780 if($('.load-more-section').length){ 781 var SliceCount = $('.load-more-section').attr('data-load-number'); 782 $(".load-more-section .load-more-btn").on('click', function (e) { 783 e.preventDefault(); 784 //alert(sliceCount); 785 $(".load-more-section .load-more-item:hidden").slice(0, SliceCount).fadeIn(500); 786 if ($(".load-more-section .load-more-item:hidden").length < SliceCount) { 787 $(".load-more-section .load-more-item:hidden").fadeIn(500); 788 $(".load-more-section .load-more-btn").fadeOut(0); 789 } 790 }); 791 } 792 793 //Tabs Box 794 if($('.tabs-box').length){ 795 $('.tabs-box .tab-buttons .tab-btn').on('click', function(e) { 796 e.preventDefault(); 797 var target = $($(this).attr('data-tab')); 798 799 if ($(target).is(':visible')){ 800 return false; 801 }else{ 802 target.parents('.tabs-box').find('.tab-buttons').find('.tab-btn').removeClass('active-btn'); 803 $(this).addClass('active-btn'); 804 target.parents('.tabs-box').find('.tabs-content').find('.tab').fadeOut(0); 805 target.parents('.tabs-box').find('.tabs-content').find('.tab').removeClass('active-tab'); 806 $(target).fadeIn(300); 807 $(target).addClass('active-tab'); 808 } 809 }); 810 } 811 812 //Accordion Box 813 if($('.accordion-box').length){ 814 $(".accordion-box").on('click', '.acc-btn', function() { 815 816 var outerBox = $(this).parents('.accordion-box'); 817 var target = $(this).parents('.accordion'); 818 819 if ($(this).next('.acc-content').is(':visible')){ 820 //return false; 821 $(this).removeClass('active'); 822 $(this).next('.acc-content').slideUp(300); 823 $(outerBox).children('.accordion').removeClass('active-block'); 824 }else{ 825 $(outerBox).find('.accordion .acc-btn').removeClass('active'); 826 $(this).addClass('active'); 827 $(outerBox).children('.accordion').removeClass('active-block'); 828 $(outerBox).find('.accordion').children('.acc-content').slideUp(300); 829 target.addClass('active-block'); 830 $(this).next('.acc-content').slideDown(300); 831 } 832 }); 833 } 834 835 //Custom Seclect Box 836 if($('.custom-select-box').length){ 837 $('.custom-select-box').selectmenu().selectmenu('menuWidget').addClass('overflow'); 838 } 839 840 //LightBox / Fancybox 841 if($('.lightbox-image').length) { 842 $('.lightbox-image').fancybox({ 843 openEffect : 'fade', 844 closeEffect : 'fade', 845 helpers : { 846 media : {} 847 } 848 }); 849 } 850 851 //Contact Form Validation 852 if($('#contact-form').length){ 853 $('#contact-form').validate({ 854 rules: { 855 username: { 856 required: true 857 }, 858 email: { 859 required: true, 860 email: true 861 }, 862 subject: { 863 required: true 864 }, 865 message: { 866 required: true 867 } 868 } 869 }); 870 } 871 872 // Scroll to a Specific Div 873 if($('.scroll-to-target').length){ 874 $(".scroll-to-target").on('click', function() { 875 var target = $(this).attr('data-target'); 876 // animate 877 $('html, body').animate({ 878 scrollTop: $(target).offset().top 879 }, 1500); 880 881 }); 882 } 883 884 // Elements Animation 885 if($('.wow').length){ 886 var wow = new WOW( 887 { 888 boxClass: 'wow', // animated element css class (default is wow) 889 animateClass: 'animated', // animation css class (default is animated) 890 offset: 0, // distance to the element when triggering the animation (default is 0) 891 mobile: false, // trigger animations on mobile devices (default is true) 892 live: true // act on asynchronously loaded content (default is true) 893 } 894 ); 895 wow.init(); 896 } 897 898 899/* ========================================================================== 900 When document is Scrollig, do 901 ========================================================================== */ 902 903 $(window).on('scroll', function() { 904 headerStyle(); 905 }); 906 907/* ========================================================================== 908 When document is Resized, do 909 ========================================================================== */ 910 911 $(window).on('resize', function() { 912 913 }); 914 915/* ========================================================================== 916 When document is loading, do 917 ========================================================================== */ 918 919 $(window).on('load', function() { 920 handlePreloader(); 921 sortableMasonry(); 922 }); 923 924})(window.jQuery);
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.