1( function($) { 2 3 var app = { 4 5 mobile_width: 991, 6 7 init: function() { 8 9 this.testimonialsSlick(); 10 this.fixedHeader(); 11 this.initIhfPaginate(); 12 this.naviDoubleTap(); 13 14 }, 15 16 testimonialsSlick: function() { 17 $('.ts-slick').slick({ 18 autoplay: true, 19 autoplaySpeed: 8000, 20 slidesToShow: 1, 21 slidesToScroll: 1, 22 arrows: false, 23 dots: true, 24 speed: 800, 25 infinite: true, 26 pauseOnHover: false, 27 rows: 0, 28 fade: true 29 }); 30 }, 31 initIhfPaginate: function(){ 32 setTimeout(function(){ 33 jQuery('#ihf-selectedAreas').empty(); 34 }, 2000); 35 36 if(window.location.href.indexOf('/community/') > -1 || window.location.href.indexOf('/properties/') > -1 || window.location.href.indexOf('/active/') > -1 || window.location.href.indexOf('/sold/') > -1){ 37 var url = window.location.href; 38 if ( jQuery('.pagination').length ) { 39 jQuery('.pagination li').each(function(){ 40 $link = jQuery(this).find('a').attr('href'); 41 if ( $link == '#' || typeof $link === 'undefined') { 42 /* skip this item */ 43 } else { 44 $link = $link.split('?'); 45 $new_link = location.origin + location.pathname + ( $link[1] ? ('?' + $link[1]) : '' ); 46 jQuery(this).find('a').attr('href', $new_link); 47 } 48 }); 49 jQuery('.pagination .active a').removeAttr('href'); 50 jQuery('.pagination .ellipsis a').removeAttr('href'); 51 jQuery('.pagination .disabled a').removeAttr('href'); 52 } 53 jQuery('#ihf-sort-search-form').attr('action', url ); 54 jQuery('#ihf-mini-search-form').attr('action', url ); 55 jQuery('.sort-dropdown form').attr('action', url ); 56 } 57 }, 58 fixedHeader: function() { 59 var fixed_header = $('#main-header'); 60 var fixed_header_offset = $('#main-header').height(); 61 62 $(window).on('load resize scroll orientationchange', function () { 63 var scroll = $(window).scrollTop(); 64 if( window.innerWidth > app.mobile_width && scroll > fixed_header_offset ) { 65 fixed_header.addClass('show-fh'); 66 } else { 67 fixed_header.removeClass('show-fh'); 68 } 69 }); 70 }, 71 72 naviDoubleTap: function() { 73 $('#nav').navTabDoubleTap(); 74 }, 75 76 } 77 78 79 $(document).ready( function() { 80 // Target the Address & Phone panel 81 var addressContainer = $('.panel-heading:contains("Address & Phone")') 82 .closest('.panel') 83 .find('.col-xs-12'); 84 85 // Update the address HTML 86 addressContainer.html(` 87 <strong>Michelle Phillips</strong><br> 88 <strong>REAL Broker</strong><br><br> 89 4000 Barranca Pkwy #250<br> 90 Irvine, CA 92604<br> 91 (949) 279-6080<br> 92 <a href="https://www.google.com/maps?q=4000+Barranca+Pkwy+%23250,+Irvine,+CA+92604" target="_blank"> 93 Map Location 94 </a> 95 `); 96 97 app.init(); 98 AOS.init({ 99 disable: false 100 }); 101 }); 102 103 $(window).on('resize', function(){ 104 105 106 107 }); 108 109 110})(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.