PageSourceSearch

https://svcrealtor.com/template5/js/custom.js?v=qw33

js svcrealtor.com collected 2026-09-29 02:18:31 UTC 27,241 bytes, 712 lines download raw bytes

1/*window.addEventListener('load', function() {
2    new FastClick(document.body);
3//$('.select2 span').addClass('needsclick');
4}, false);*/
5
6$( document ).ready(function() {
7    
8    $( ".menu-top li" ).hover(
9        function() {
10           $(this).find('.submenu').first().toggleClass('show-submenu-desktop'); 
11        }, function() {
12           $(this).find('.submenu').first().removeClass('show-submenu-desktop'); 
13        }
14    );    
15
16    $('.show-mobile-menu, .close-menu a').click(function(){
17        $('.menu-top').toggleClass('menu-top-active');
18        $('.fm-1').toggleClass('active-fm-1');
19        $('.fm-2').toggleClass('active-fm-2');
20        $('.fm-3').toggleClass('active-fm-3');
21        return false;
22    });
23    
24//*commented this out 2-12-2021 and added flyoutnavkbfixed code after to match js/custom.js since this was on property search and the other was all the pages. All the pages submenus worked but the property search menu for submenus did not. Gulllermo Serna reported*/
25/*    $('.has-submenu').click(function(){  
26        console.log("SHOW SUBMENU")
27       $(this).parent().find('.submenu').toggleClass('show-submenu'); 
28       $(this).find('.fa-plus').toggleClass('active-plus');
29        return false;
30    });*/
31    
32    
33    
34        $('#flyoutnavkbfixed div > ul > li.no-submenu').focusin(function () {
35     console.log("Focus no submenu")
36     //Set all sub menus to display none if main menu link tabbed to.Fix for buyer sub menu showing still when the next menu link to the right was tabbed to
37     $('.submenu').css('display', 'none')
38     });
39    
40        var menuItems1 = document.querySelectorAll('#flyoutnavkbfixed div > ul > li.has-submenu');
41    var timer1, timer2;
42    //console.log($('#flyoutnavkbfixed div ul > li.has-submenu'))
43
44    Array.prototype.forEach.call(menuItems1, function (el, i) {
45        el.addEventListener("mouseover", function (event) {
46            this.className = "has-submenu open show-submenu";
47            $(".submenu", this).first().addClass("show-submenu");
48            $(".submenu", this).first().addClass("show-submenu-desktop");
49            $(".submenu", this).first().css('display', 'block')
50            $("a", this).first().attr("aria-expanded", "true");
51            console.log("in1")
52            clearTimeout(timer1);
53        });
54        el.addEventListener("mouseout", function (event) {
55            timer1 = setTimeout(function (event) {
56                var opennav = document.querySelector("#flyoutnavkbfixed div > ul > li.has-submenu.open");
57                opennav.className = "has-submenu";
58                opennav.querySelector('a').setAttribute('aria-expanded', "false");
59
60            }, 1);
61            $(".submenu", this).first().removeClass("show-submenu");
62            $(".submenu", this).first().removeClass("show-submenu-desktop");
63            $(".submenu", this).first().css('display', 'none')
64            console.log("out1")
65        });
66        el.querySelector('a').addEventListener("click", function (event) {
67            /* $(".has-submenu").removeClass("open");
68             $(".submenu").removeClass("show-submenu");
69             $(".submenu").removeClass("show-submenu-desktop");*/
70            console.log("Click Submenu")
71            console.log("MY MAIN SUB BROTHER 1");
72            console.log($(this).parent())
73            //$(this).parent().find('.submenu').first().toggleClass('show-submenu');
74            //Added 12-29-2018 to fix ipad not showing menu on clicks
75            //$(this).parent().find('.submenu').first().toggleClass('show-submenu-desktop');
76            $(this).find('.fa-plus').toggleClass('active-plus');
77            //console.log("MY MAIN SUB BROTHER 2");
78
79            if (this.parentNode.className == "has-submenu") {
80                this.parentNode.className = "has-submenu open show-submenu";
81                this.setAttribute('aria-expanded', "true");
82                $(this).parent().find('.submenu').first().addClass('show-submenu');
83            //Added 12-29-2018 to fix ipad not showing menu on clicks
84            $(this).parent().find('.submenu').first().addClass('show-submenu-desktop');
85                $(this).parent().find('.submenu').first().css('display', 'block')
86                //$('#flyoutnavkbfixed > div > ul > li > ul').css('display', 'block')
87            } else {
88                this.parentNode.className = "has-submenu";
89                this.setAttribute('aria-expanded', "false");
90                $(this).parent().find('.submenu').first().css('display', 'none')
91                $(this).parent().find('.submenu').first().removeClass('show-submenu');
92            //Added 12-29-2018 to fix ipad not showing menu on clicks
93            $(this).parent().find('.submenu').first().removeClass('show-submenu-desktop');
94                //$('#flyoutnavkbfixed > div > ul > li > ul').css('display', 'none')
95            }
96            event.preventDefault();
97            return false;
98        });
99        var links = el.querySelectorAll('.subAnchor');
100        Array.prototype.forEach.call(links, function (el, i) {
101            el.addEventListener("focus", function () {
102                console.log("Focus")
103                if (this.parentNode.className == "has-submenu") {
104                    console.log("set sub to display none")
105                    //$(this).parent().find('.submenu').first().css('display', 'none')
106                    $('.submenu').css('display', 'none')
107                    this.setAttribute('aria-expanded', "false");
108                }
109                $(".has-submenu").removeClass("open");
110                $(".submenu").removeClass("show-submenu");
111                $(".submenu").removeClass("show-submenu-desktop");
112                if (timer2) {
113                    clearTimeout(timer2);
114                    timer2 = null;
115                }
116
117            });
118            el.addEventListener("blur", function (event) {
119                timer2 = setTimeout(function () {
120                    console.log("Blur")
121                    var opennav = document.querySelector("#flyoutnavkbfixed div > ul > li.has-submenu.open")
122                    if (opennav) {
123                        console.log("Blurry1")
124                        opennav.className = "has-submenu";
125                        opennav.querySelector('.subAnchor').setAttribute('aria-expanded', "true");
126                        //opennav.querySelector('.submenu').setAttribute('display', "none");
127                    }
128                }, 10);
129            });
130        });
131    });
132
133
134
135
136    var menuItems2 = document.querySelectorAll('#flyoutnavkbfixed div ul> li > ul > li.has-submenu');
137    var timer3, timer4;
138
139    Array.prototype.forEach.call(menuItems2, function (el2, i) {
140        el2.addEventListener("mouseover", function (event) {
141            //this.className = "has-submenu open";
142            var opennav = document.querySelector("#flyoutnavkbfixed div ul> li > ul > li.has-submenu");
143            opennav.className = "has-submenu open show-submenu";
144            opennav.querySelector('a').setAttribute('aria-expanded', "true");
145            $(".submenu", this).first().addClass("show-submenu");
146            $(".submenu", this).first().addClass("show-submenu-desktop");
147            $(".submenu", this).first().css('display', 'block')
148            clearTimeout(timer3);
149            console.log("in2")
150        });
151
152        el2.addEventListener("mouseout", function (event) {
153            timer3 = setTimeout(function (event) {
154                var opennav = document.querySelector("#flyoutnavkbfixed div ul> li > ul > li.has-submenu.open");
155                opennav.className = "has-submenu";
156                opennav.querySelector('a').setAttribute('aria-expanded', "false");
157
158                console.log("out2")
159                //$(this).find('.submenu').removeClass('show-submenu');
160                // $(this).find('.submenu').removeClass('show-submenu-desktop');
161            }, 1);
162            $(".submenu", this).first().removeClass("show-submenu");
163            $(".submenu", this).first().removeClass("show-submenu-desktop");
164            $(".submenu", this).first().css('display', 'none')
165        });
166        el2.querySelector('a').addEventListener("click", function (event) {
167            /* $(".has-submenu").removeClass("open");
168             $(".submenu").removeClass("show-submenu");
169             $(".submenu").removeClass("show-submenu-desktop");*/
170            console.log("Click")
171            console.log("MY MAIN SUB BROTHER 3");
172            console.log($(this).parent())
173            if (this.parentNode.className == "has-submenu") {
174                this.parentNode.className = "has-submenu open";
175                this.setAttribute('aria-expanded', "true");
176                $(this).parent().find('.submenu').first().addClass('show-submenu');
177                //Added 12-29-2018 to fix ipad not showing menu on clicks
178                $(this).parent().find('.submenu').first().addClass('show-submenu-desktop');
179                //$('#flyoutnavkbfixed > div > ul > li > ul > li > ul').css('display', 'block')
180                $(this).parent().find('.submenu').first().css('display', 'block')
181            } else {
182                this.parentNode.className = "has-submenu";
183                this.setAttribute('aria-expanded', "false");
184                $(this).parent().find('.submenu').first().removeClass('show-submenu');
185                //Added 12-29-2018 to fix ipad not showing menu on clicks
186                $(this).parent().find('.submenu').first().removeClass('show-submenu-desktop');
187                //$('#flyoutnavkbfixed > div > ul > li > ul > li > ul').css('display', 'none')
188                $(this).parent().find('.submenu').first().css('display', 'none')
189            }
190
191            // $(this).parent().find('.submenu').first().toggleClass('show-submenu');
192            //Added 12-29-2018 to fix ipad not showing menu on clicks
193            //$(this).parent().find('.submenu').first().toggleClass('show-submenu-desktop');
194            //$(this).find('.fa-plus').toggleClass('active-plus');
195            //console.log("MY MAIN SUB BROTHER 4");
196
197
198            //event.preventDefault();
199        });
200        var links = el2.querySelectorAll('a');
201        Array.prototype.forEach.call(links, function (el2, i) {
202            el2.addEventListener("focus", function () {
203                console.log("Focus2")
204                //$(this).parent().find('.submenu').first().toggleClass('show-submenu');
205                //Added 12-29-2018 to fix ipad not showing menu on clicks
206                //$(this).parent().find('.submenu').first().toggleClass('show-submenu-desktop');
207                //$(this).find('.fa-plus').toggleClass('active-plus');
208                //console.log("MY MAIN SUB BROTHER 4");
209
210                if (this.parentNode.className == "has-submenu") {
211                    console.log("2 has-submenu")
212                    this.parentNode.className = "has-submenu open";
213                    this.setAttribute('aria-expanded', "false");
214                    
215                    //$(this).parent().find('.submenu').first().css('display', 'none')
216                    //$('.submenu').css('display', 'none')
217                    //$(this).parent().find('.submenu').first().addClass('show-submenu');
218                //Added 12-29-2018 to fix ipad not showing menu on clicks
219                //$(this).parent().find('.submenu').first().addClass('show-submenu-desktop');
220                //$('#flyoutnavkbfixed > div > ul > li > ul > li > ul').css('display', 'block')
221                //$(this).parent().find('.submenu').first().css('display', 'block')
222                    
223                } else {
224                    console.log("2 has-no-submenu")
225                    this.parentNode.className = "has-submenu";
226                    this.setAttribute('aria-expanded', "false");
227                   // $(this).parent().find('.submenu').first().removeClass('show-submenu');
228                //Added 12-29-2018 to fix ipad not showing menu on clicks
229                //$(this).parent().find('.submenu').first().removeClass('show-submenu-desktop');
230                //$('#flyoutnavkbfixed > div > ul > li > ul > li > ul').css('display', 'block')
231                $(this).parent().find('.submenu').first().css('display', 'none')
232                }
233                /*  $(".has-submenu").removeClass("open");
234                 $(".submenu").removeClass("show-submenu");
235                 $(".submenu").removeClass("show-submenu-desktop");*/
236                if (timer4) {
237                    clearTimeout(timer4);
238                    timer4 = null;
239                }
240
241            });
242            el2.addEventListener("blur", function (event) {
243                timer4 = setTimeout(function () {
244                    console.log("Blur2")
245                    var opennav = document.querySelector("#flyoutnavkbfixed div > ul > li > ul> li.has-submenu.open")
246                    if (opennav) {
247                        console.log("Blur Open")
248                        opennav.className = "has-submenu";
249                        opennav.querySelector('.subSubAnchor').setAttribute('aria-expanded', "true");
250                    }
251                }, 10);
252            });
253        });
254    });
255    
256    
257    $('.homepage-slider').owlCarousel({
258        autoplay:true,
259        autoplayTimeout:5000,
260        autoplayHoverPause:true,
261        items:1,
262        lazyLoad:true,
263        loop:true,
264        margin:10,
265    });    
266    
267    $('.homepage-slider-controls .prev-slider').click(function() {
268        $('.homepage-slider').trigger('prev.owl.carousel');
269        return false;
270    })   
271    
272    $('.homepage-slider-controls .next-slider').click(function() {
273        $('.homepage-slider').trigger('next.owl.carousel');
274        return false;
275    })
276    
277    $('.featured-property-slider').owlCarousel({
278        autoplay:true,
279        autoplayTimeout:5000,
280        autoplayHoverPause:true,
281        items:1,
282        lazyLoad:true,
283        loop:true,
284        margin:10,
285    });    
286    
287    $('.featured-properties-slider2').owlCarousel({
288        autoplay:true,
289        autoplayTimeout:5000,
290        autoplayHoverPause:true,
291        items:1,
292        lazyLoad:true,
293        loop:true,
294        margin:10,
295    });
296    
297    $('.featured-property-slider-controls .prev-slider').click(function() {
298        $('.featured-property-slider').trigger('prev.owl.carousel');
299        return false;
300    })   
301    
302    $('.featured-property-slider-controls .next-slider').click(function() {
303        $('.featured-property-slider').trigger('next.owl.carousel');
304        return false;
305    })
306    
307    $('.advanced-search-extras').click(function(){
308       $('.advanced-search-optional').fadeToggle(150); 
309        return false;
310    });
311    
312    $('.fp-1').owlCarousel({
313        lazyLoad:true,
314        loop:true,
315        margin:50,
316        responsive:{
317            0:{
318                items:1
319            },        
320            480:{
321                items:2
322            },
323            600:{
324                items:3
325            },
326            960:{
327                items:3
328            }
329        } 
330    });   
331    
332    $('.fp-2').owlCarousel({
333        lazyLoad:true,
334        loop:true,
335        margin:50,
336        responsive:{
337            0:{
338                items:1
339            },        
340            480:{
341                items:2
342            },
343            600:{
344                items:3
345            },
346            960:{
347                items:3
348            }
349        } 
350    });
351    
352    $('.fp-1-controls .prev-slider').click(function() {
353        $('.fp-1').trigger('next.owl.carousel');
354        return false;
355    })   
356    
357    $('.fp-1-controls .next-slider').click(function() {
358        $('.fp-1').trigger('prev.owl.carousel');
359        return false;
360    })   
361    
362    $('.fp-2-controls .prev-slider').click(function() {
363        $('.fp-2').trigger('next.owl.carousel');
364        return false;
365    })   
366    
367    $('.fp-2-controls .next-slider').click(function() {
368        $('.fp-2').trigger('prev.owl.carousel');
369        return false;
370    })
371    
372    $('.quote-slider').owlCarousel({
373        loop:true,
374        autoplay:true,
375        autoplayTimeout:5000,
376        autoplayHoverPause:true,
377        items:1,
378        margin:10,
379        autoHeight:false
380    });
381    
382    $('.quote-slider-controls .prev-slider').click(function() {
383        $('.quote-slider').trigger('prev.owl.carousel');
384        return false;
385    })   
386    
387    $('.quote-slider-controls .next-slider').click(function() {
388        $('.quote-slider').trigger('next.owl.carousel');
389        return false;
390    })
391    
392    $('.details-slider').owlCarousel({
393        items: 1,
394        loop: false,
395        center: true,
396        margin: 10,
397        callbacks: true,
398        URLhashListener: true,
399        autoplayHoverPause: true,
400        startPosition: 'URLHash'
401    });
402    
403    var owl = $('.details-slider-controls');
404
405
406
407    $('.back-to-top').on('click', function (e) {
408        e.preventDefault();
409        $('html,body').animate({
410            scrollTop: 0
411        }, 700);
412    });
413    
414	var sync1 = $("#slider");
415	var sync2 = $("#thumbnails");
416	var flag = false;
417	var slides = sync1.owlCarousel({
418		margin: 10,
419		items: 1,
420		nav: false,
421		dots: false
422	}).on('change.owl.carousel', function(e) {
423		if (e.namespace && e.property.name === 'position' && !flag) {
424			flag = true;
425			//thumbs.to(e.relatedTarget.relative(e.property.value), 300, true);
426			flag = false;
427		}
428	}).on('changed.owl.carousel', function(event) {
429		//sync2.trigger('next.owl.carousel');
430		sync2.trigger('to.owl.carousel', [event.item.index, 100, true]);
431	}).data('owl.carousel');
432	var thumbs = sync2.owlCarousel({
433		items: 4,
434		nav: false,
435		margin:10,
436		dots: false,
437		responsive: {
438			0: {
439				items: 1
440			},
441			320: {
442				items: 2
443			},
444			480: {
445				items: 3
446			},
447			600: {
448				items: 4
449			},
450			767: {
451				items: 2
452			},
453			991: {
454				items: 4
455			}
456	
457		}
458	}).on('click', '.item', function(e) {
459		e.preventDefault();
460		sync1.trigger('to.owl.carousel', [$(e.target).parents('.owl-item').index(), 300, true]);
461	}).on('change.owl.carousel', function(e) {
462		if (e.namespace && e.property.name === 'position' && !flag) {
463			//nsole.log('…');
464		}
465	}).data('owl.carousel');
466    
467    $('.slider-controls .prev-slider').click(function() {
468        $("#thumbnails").trigger('next.owl.carousel');
469        return false;
470    })   
471    
472    $('.slider-controls .next-slider').click(function() {
473        $("#thumbnails").trigger('prev.owl.carousel');
474        return false;
475    })
476
477    
478	$( '.swipebox' ).swipebox( {
479		useCSS : true, // false will force the use of jQuery for animations
480		initialIndexOnArray : 0, // which image index to init when a array is passed
481		hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices
482		hideBarsDelay : 3000, // delay before hiding bars on desktop
483		videoMaxWidth : 1140, // videos max width
484		beforeOpen: function() {}, // called before opening
485		afterOpen: null, // called after opening
486		afterClose: function() {}, // called after closing
487		loopAtEnd: false // true will return to the first image after the last image is reached
488	} );
489    
490    
491    $('.static-notification-close').click(function(){
492       $(this).parent().slideUp(200); 
493        return false;
494    });    
495    
496    $('.tap-dismiss').click(function(){
497       $(this).slideUp(200); 
498        return false;
499    });
500        
501    setTimeout(function() {
502    $('.map-carousel').owlCarousel({
503        loop:true,
504        mouseDrag:false,
505        margin:50,
506        nav:false,
507        responsive:{
508            0:{
509                items:1
510            },
511            700:{
512                items:2
513            },
514            1100:{
515                items:3
516            },
517            1500:{
518                items:4
519            },
520            1900:{
521                items:5
522            },
523            2200:{
524                items:6
525            },
526            2600:{
527                items:7
528            },
529            3000:{
530                items:8
531            },
532            3400:{
533                items:9
534            }
535        }
536    });
537    }, 1);
538    
539    $('.map-carousel, .map-carousel-background').on('mousewheel', '.owl-stage', function (e) {
540        if (e.deltaY>0) {
541            console.log(event.deltaX, event.deltaY, event.deltaFactor);
542            $('.map-carousel').trigger('prev.owl');
543        } else {
544            console.log(event.deltaX, event.deltaY, event.deltaFactor);
545            $('.map-carousel').trigger('next.owl');
546        }
547        $('.tutorial').fadeOut();
548        e.preventDefault();
549    });
550    
551    
552    $('.next-map').click(function(){
553        $('.map-carousel').trigger('next.owl');
554    });    
555    $('.prev-map').click(function(){
556        $('.map-carousel').trigger('prev.owl');
557    });
558
559    
560    function map_carousel(){
561        var map_height = $(window).height();
562        var map_width = $(window).width();
563
564        var map_header = $('.map-header').height();
565
566        $('.map-container').css('height', (map_height-map_header)-20);
567        $('.map-container').css('width', map_width);   
568
569        $('.map-container iframe').css('height', (map_height-map_header)-20);
570        $('.map-container iframe').css('width', map_width);
571        
572        $('.map-carousel-wrapper').css('width', map_width);      
573        
574        var win_width = $(window).width();
575        var win_item = $('.map-carousel-2 .map-item').width()
576        var margin_map = (win_width - win_item)/2;
577        
578        if(win_width < 760){
579            $('.map-carousel-2 .map-item').css('marginLeft', margin_map);
580            $('.map-carousel-2 .map-item').css('marginRight', margin_map);
581        } 
582        if(win_width > 761 && win_item < 800){
583            $('.map-carousel-2 .map-item').css('marginLeft', margin_map/8);
584            $('.map-carousel-2 .map-item').css('marginRight', margin_map/8);
585        } 
586        if(win_width > 801){
587            $('.map-carousel-2 .map-item').css('marginLeft', 'inherit');
588            $('.map-carousel-2 .map-item').css('marginRight', 'inherit');
589        }
590        
591        if(win_width <1024){
592            // $('.grid-create').removeClass('content-list');
593            // $('.grid-create').addClass('content-grid');
594            // $('.sort-options').fadeOut(0);
595        }        
596        if(win_width>1024){
597            // $('.create-grid').removeClass('selected-grid');
598            // $('.create-list').addClass('selected-grid');
599            // $('.grid-create').addClass('content-list');
600            // $('.grid-create').removeClass('content-grid');
601            // $('.sort-options').fadeIn(0);
602        }
603        
604        
605    }
606    map_carousel();
607    
608    $(window).resize(function(){
609       map_carousel(); 
610    });
611    
612    $('.create-grid').click(function(){
613        $('.grid-create').addClass('content-grid'); 
614        $('.grid-create').removeClass('content-list'); 
615        $(this).addClass('selected-grid');
616        $('.create-list').removeClass('selected-grid');
617        //return false;
618    });    
619    
620    $('.create-list').click(function(){
621        $('.grid-create').removeClass('content-grid'); 
622        $('.grid-create').addClass('content-list'); 
623        $(this).addClass('selected-grid');
624        $('.create-grid').removeClass('selected-grid');
625        //return false;
626    });
627
628
629    //Map Item Detail Carousel//
630    
631    $('.map-item-detail-carousel').owlCarousel({
632        loop:true,
633        margin:0,
634        nav:false,
635        items:1
636    });
637    
638    $('.map-item-detail-carousel-next').click(function(){
639        $('.map-item-detail-carousel').trigger('prev.owl');
640    });    
641    $('.map-item-detail-carousel-prev').click(function(){
642        $('.map-item-detail-carousel').trigger('next.owl');
643    });
644
645    
646    $(document).on('click', '.map-item-wrapper, .property-image, .property-list, .property-list-description, .property-title-click', function(){
647        console.log("HELLO")
648        $('.favrtTag').focus();
649        $('.map-item-details-background').removeClass('inactive-map-details-item');
650        $('.map-item-details').removeClass('inactive-map-details-item');
651        $('.map-item-details-background').addClass('active-map-details-item');
652        $('.map-item-details').addClass('active-map-details-item');
653        $('body').css('overflow', 'hidden');
654    });    
655    
656    $(document).on('click', '.map-item-details-background, .back-to-map', function(){
657        $('.map-item-details-background').addClass('inactive-map-details-item');
658        $('.map-item-details').addClass('inactive-map-details-item');
659        $('.map-item-details-background').removeClass('active-map-details-item');
660        $('.map-item-details').removeClass('active-map-details-item');
661        $('body').css('overflow', 'auto');
662        $(".property-list-image-mobile[data-mlsid='" + $(this).attr('data-mlsid') + "']").focus();
663        $(".map_item_" + $(this).attr('data-mlsid')).focus();
664    });
665    
666    
667/*        $('.modal').keyup(function(event){
668        if (event.keyCode == 27) {  // Esc code
669            if ($('.modal-body').length > 0) {
670       
671                $('a[href=#request-info-popup-modal]').focus();
672                 event.preventDefault();
673               // setTimeout(curFocusLink.focus(),3000);
674                //curFocusLink.focus()
675                //$('.requestPropInfoBtn').focus();
676                //$('.requestPropInfoBtn').get(0).focus();
677                //$('.map-item-details-icons .requestPropInfoBtn').focus();
678                console.log("FFFFFFFF")
679                return false;
680                //event.preventDefault();
681                //console.log(curFocusLink)
682            }
683        }
684    });*/
685    
686});
687
688/*FOR ADA when overlay displays and we click Schedule, etc then we colse, we want focus back to original link*/
689$(document).on( "click", "[data-toggle='modal']", function() {
690   var trigger = $(this)
691   var modal = $( trigger.data("target") )
692
693   // When bootstrap's modal "hidden" event fires, return focus to the trigger
694   // Notice the binding is using $.fn.one as opposed to using $.fn.on
695   modal.one("hidden.bs.modal", function() { trigger.focus() })
696})
697        
698        
699        /* Beta Testing Code
700        var scroll_horizontal = $(window).width();
701        if(scroll_horizontal < 768){
702            $(function() {
703                $('.map-carousel-2').mousewheel(function(event, delta) {
704                    this.scrollLeft -= (delta * 80);
705                    this.scrollRight -= (delta * 80);
706                    event.preventDefault();
707                });
708            });
709        } else if (scroll_horizontal > 768 ){
710
711        }
712        */

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.