1(function($) 2{"use strict";$.AviaSlider=function(options,slider) 3{var self=this;this.$win=$(window);this.$slider=$(slider);this.isMobile=$.avia_utilities.isMobile;this.isTouchDevice=$.avia_utilities.isTouchDevice,this._prepareSlides(options);$.avia_utilities.preload({container:this.$slider,single_callback:function(){self._init(options);}});};$.AviaSlider.defaults={interval:5,autoplay:false,autoplay_stopper:false,loop_autoplay:'once',loop_manual:'manual-endless',stopinfiniteloop:false,noNavigation:false,animation:'slide',transitionSpeed:900,easing:'easeInOutQuart',wrapElement:'>ul',slideElement:'>li',hoverpause:false,bg_slider:false,show_slide_delay:0,fullfade:false,keep_padding:false,carousel:'no',carouselSlidesToShow:3,carouselSlidesToScroll:1,carouselResponsive:new Array()};$.AviaSlider.prototype={_init:function(options) 4{this.options=this._setOptions(options);this.$sliderUl=this.$slider.find(this.options.wrapElement);this.$slides=this.$sliderUl.find(this.options.slideElement);this.slide_arrows=this.$slider.find('.avia-slideshow-arrows');this.gotoButtons=this.$slider.find('.avia-slideshow-dots a');this.permaCaption=this.$slider.find('>.av-slideshow-caption');this.itemsCount=this.$slides.length;this.current=0;this.currentCarousel=0;this.slideWidthCarousel='240';this.loopCount=0;this.isAnimating=false;this.browserPrefix=$.avia_utilities.supports('transition');this.cssActive=this.browserPrefix!==false?true:false;this.css3DActive=document.documentElement.className.indexOf('avia_transform3d')!==-1?true:false;if(this.options.bg_slider==true) 5{this.imageUrls=[];this.loader=$.avia_utilities.loading(this.$slider);this._bgPreloadImages();} 6else 7{this._kickOff();} 8if(this.options.carousel==='yes') 9{this.options.animation='carouselslide';}},_setOptions:function(options) 10{var jsonOptions=this.$slider.data('slideshow-options');if('object'==typeof jsonOptions) 11{var newOptions=$.extend({},$.AviaSlider.defaults,options,jsonOptions);if('undefined'!=typeof newOptions.transition_speed) 12{newOptions.transitionSpeed=newOptions.transition_speed;} 13return newOptions;} 14var newOptions=$.extend(true,{},$.AviaSlider.defaults,options),htmlData=this.$slider.data();for(var i in htmlData) 15{var key=('transition_speed'!=i)?i:'transitionSpeed';if(typeof htmlData[i]==="string"||typeof htmlData[i]==="number"||typeof htmlData[i]==="boolean") 16{newOptions[key]=htmlData[i];} 17if('undefined'!=typeof newOptions.autoplay_stopper&&newOptions.autoplay_stopper==1) 18{newOptions.autoplay_stopper=true;}} 19return newOptions;},_prepareSlides:function(options) 20{var multiButtons=this.$slider.find('.avia-multi-slideshow-button');if(multiButtons.length) 21{multiButtons.on('click',function(e) 22{e.stopPropagation();var loader=$.avia_utilities.loading($(this));loader.show();});} 23if(this.isMobile) 24{var alter=this.$slider.find('.av-mobile-fallback-image');alter.each(function() 25{var current=$(this).removeClass('av-video-slide').data({'avia_video_events':true,'video-ratio':0}),fallback=current.data('mobile-img'),fallback_link=current.data('fallback-link'),appendTo=current.find('.avia-slide-wrap');current.find('.av-click-overlay, .mejs-mediaelement, .mejs-container').remove();if(!fallback) 26{$('<p class="av-fallback-message"><span>Please set a mobile device fallback image for this video in your wordpress backend</span></p>').appendTo(appendTo);} 27if(options&&options.bg_slider) 28{current.data('img-url',fallback);if(fallback_link!='') 29{if(appendTo.is('a')) 30{appendTo.attr('href',fallback_link);} 31else 32{appendTo.replaceWith(function() 33{var cur_slide=$(this);return $("<a>").attr({'data-rel':cur_slide.data('rel'),'class':cur_slide.attr('class'),'href':fallback_link}).append($(this).contents());});appendTo=current.find('.avia-slide-wrap');} 34if($.fn.avia_activate_lightbox) 35{current.parents('#main').avia_activate_lightbox();}}} 36else 37{var image='<img src="'+fallback+'" alt="" title="" />';var lightbox=false;if('string'==typeof fallback_link&&fallback_link.trim()!='') 38{if(appendTo.is('a')) 39{appendTo.attr('href',fallback_link);} 40else 41{var rel=fallback_link.match(/\.(jpg|jpeg|gif|png)$/i)!=null?' rel="lightbox" ':'';image='<a href="'+fallback_link.trim()+'"'+rel+'>'+image+'</a>';} 42lightbox=true;} 43current.find('.avia-slide-wrap').append(image);if(lightbox&&$.fn.avia_activate_lightbox) 44{current.parents('#main').avia_activate_lightbox();}}});} 45if($('html').is('.pointer-device-fine')) 46{if($('body').is('.avia-slider-video-controls-fix-support')) 47{avia_slider_video_controls_fix(this);}}},_bgPreloadImages:function(callback) 48{this._getImageURLS();this._preloadSingle(0,function() 49{this._kickOff();this._preloadNext(1);});},_getImageURLS:function() 50{var _self=this;this.$slides.each(function(i) 51{_self.imageUrls[i]=[];_self.imageUrls[i]['url']=$(this).data("img-url");if(typeof _self.imageUrls[i]['url']=='string') 52{_self.imageUrls[i]['status']=false;} 53else 54{_self.imageUrls[i]['status']=true;}});},_preloadSingle:function(key,callback) 55{var _self=this,objImage=new Image();if(typeof _self.imageUrls[key]['url']=='string') 56{$(objImage).on('load error',function() 57{_self.imageUrls[key]['status']=true;_self.$slides.eq(key).css('background-image','url('+_self.imageUrls[key]['url']+')');if(typeof callback=='function') 58{callback.apply(_self,[objImage,key]);}});if(_self.imageUrls[key]['url']!="") 59{objImage.src=_self.imageUrls[key]['url'];} 60else 61{$(objImage).trigger('error');}} 62else 63{if(typeof callback=='function') 64{callback.apply(_self,[objImage,key]);}}},_preloadNext:function(key) 65{if(typeof this.imageUrls[key]!="undefined") 66{this._preloadSingle(key,function() 67{this._preloadNext(key+1);});}},_bindEvents:function() 68{var self=this,win=$(window);this.$slider.on('click','.next-slide',this.next.bind(this));this.$slider.on('click','.prev-slide',this.previous.bind(this));this.$slider.on('click','.goto-slide',this.go2.bind(this));if(this.options.hoverpause) 69{this.$slider.on('mouseenter',this.pause.bind(this));this.$slider.on('mouseleave',this.resume.bind(this));} 70if(this.permaCaption.length) 71{this.permaCaption.on('click',this._routePermaCaptionClick);this.$slider.on('avia_slider_first_slide avia_slider_last_slide avia_slider_navigate_slide',this._setPermaCaptionPointer.bind(this));} 72if(this.options.stopinfiniteloop&&this.options.autoplay) 73{if(this.options.stopinfiniteloop=='last') 74{this.$slider.on('avia_slider_last_slide',this._stopSlideshow.bind(this));} 75else if(this.options.stopinfiniteloop=='first') 76{this.$slider.on('avia_slider_first_slide',this._stopSlideshow.bind(this));}} 77if(this.options.carousel==='yes') 78{if(!this.isMobile) 79{win.on('debouncedresize',this._buildCarousel.bind(this));}} 80else 81{win.on('debouncedresize.aviaSlider',this._setSize.bind(this));} 82if(!this.options.noNavigation) 83{if(!this.isMobile) 84{this.$slider.avia_keyboard_controls();} 85if(this.isMobile||this.isTouchDevice) 86{this.$slider.avia_swipe_trigger();}} 87self._attach_video_events();},_kickOff:function() 88{var self=this,first_slide=self.$slides.eq(0),video=first_slide.data('video-ratio');self._bindEvents();self._set_slide_arrows_visibility();this.$slider.removeClass('av-default-height-applied');if(video) 89{self._setSize(true);} 90else 91{if(this.options.keep_padding!=true) 92{self.$sliderUl.css('padding',0);self.$win.trigger('av-height-change');}} 93self._setCenter();if(this.options.carousel==='no') 94{first_slide.addClass('next-active-slide');first_slide.css({visibility:'visible',opacity:0}
94).avia_animate({opacity:1},function() 95{var current=$(this).addClass('active-slide');if(self.permaCaption.length) 96{self.permaCaption.addClass('active-slide');}});} 97self.$slider.trigger('avia_slider_first_slide');if(self.options.autoplay) 98{self._startSlideshow();} 99if(self.options.carousel==='yes') 100{self._buildCarousel();} 101self.$slider.trigger('_kickOff');},_set_slide_arrows_visibility:function() 102{if(this.options.carousel=='yes') 103{if(0==this.currentCarousel) 104{this.slide_arrows.removeClass('av-visible-prev');this.slide_arrows.addClass('av-visible-next');} 105else if(this.currentCarousel+this.options.carouselSlidesToShow>=this.itemsCount) 106{this.slide_arrows.addClass('av-visible-prev');this.slide_arrows.removeClass('av-visible-next');} 107else 108{this.slide_arrows.addClass('av-visible-prev');this.slide_arrows.addClass('av-visible-next');} 109return;} 110if('endless'==this.options.loop_autoplay||'manual-endless'==this.options.loop_manual) 111{this.slide_arrows.addClass('av-visible-prev');this.slide_arrows.addClass('av-visible-next');} 112else if(0==this.current) 113{this.slide_arrows.removeClass('av-visible-prev');this.slide_arrows.addClass('av-visible-next');} 114else if(this.current+1>=this.itemsCount) 115{this.slide_arrows.addClass('av-visible-prev');this.slide_arrows.removeClass('av-visible-next');} 116else 117{this.slide_arrows.addClass('av-visible-prev');this.slide_arrows.addClass('av-visible-next');}},_buildCarousel:function() 118{var self=this,stageWidth=this.$slider.outerWidth(),slidesWidth=parseInt(stageWidth/this.options.carouselSlidesToShow),windowWidth=window.innerWidth||$(window).width();if(this.options.carouselResponsive&&this.options.carouselResponsive.length&&this.options.carouselResponsive!==null) 119{for(var breakpoint in this.options.carouselResponsive) 120{var breakpointValue=this.options.carouselResponsive[breakpoint]['breakpoint'];var newSlidesToShow=this.options.carouselResponsive[breakpoint]['settings']['carouselSlidesToShow'];if(breakpointValue>=windowWidth) 121{slidesWidth=parseInt(stageWidth/newSlidesToShow);this.options.carouselSlidesToShow=newSlidesToShow;}}} 122this.slideWidthCarousel=slidesWidth;this.$slides.each(function(i) 123{$(this).width(slidesWidth);});var slideTrackWidth=slidesWidth*this.itemsCount;this.$sliderUl.width(slideTrackWidth).css('transform','translateX(0px)');if(this.options.carouselSlidesToShow>=this.itemsCount) 124{this.$slider.find('.av-timeline-nav').hide();}},_navigate:function(dir,pos) 125{if(this.isAnimating||this.itemsCount<2Â ||!this.$slider.is(':visible')) 126{return false;} 127this.isAnimating=true;this.prev=this.current;if(pos!==undefined) 128{this.current=pos;dir=this.current>this.prev?'next':'prev';} 129else if(dir==='next') 130{this.current=this.current<this.itemsCount-1?this.current+1:0;if(this.current===0&&this.options.autoplay_stopper&&this.options.autoplay) 131{this.isAnimating=false;this.current=this.prev;this._stopSlideshow();return false;} 132if(0===this.current) 133{if('endless'!=this.options.loop_autoplay&&'manual-endless'!=this.options.loop_manual) 134{this.isAnimating=false;this.current=this.prev;return false;}}} 135else if(dir==='prev') 136{this.current=this.current>0?this.current-1:this.itemsCount-1;if(this.itemsCount-1===this.current) 137{if('endless'!=this.options.loop_autoplay&&'manual-endless'!=this.options.loop_manual) 138{this.isAnimating=false;this.current=this.prev;return false;}}} 139this.gotoButtons.removeClass('active').eq(this.current).addClass('active');this._set_slide_arrows_visibility();if(this.options.carousel==='no') 140{this._setSize();} 141if(this.options.bg_slider==true) 142{if(this.imageUrls[this.current]['status']==true) 143{this['_'+this.options.animation].call(this,dir);} 144else 145{this.loader.show();this._preloadSingle(this.current,function() 146{this['_'+this.options.animation].call(this,dir);this.loader.hide();});}} 147else 148{this['_'+this.options.animation].call(this,dir);} 149if(this.current==0) 150{this.loopCount++;this.$slider.trigger('avia_slider_first_slide');} 151else if(this.current==this.itemsCount-1) 152{this.$slider.trigger('avia_slider_last_slide');} 153else 154{this.$slider.trigger('avia_slider_navigate_slide');}},_setSize:function(instant) 155{if(this.options.bg_slider==true) 156{return;} 157var self=this,slide=this.$slides.eq(this.current),img=slide.find('img'),current=Math.floor(this.$sliderUl.height()),ratio=slide.data('video-ratio'),setTo=ratio?this.$sliderUl.width()/ratio:Math.floor(slide.height()),video_height=slide.data('video-height'),video_toppos=slide.data('video-toppos');this.$sliderUl.height(current).css('padding',0);if(setTo!=current) 158{if(instant==true) 159{this.$sliderUl.css({height:setTo});this.$win.trigger('av-height-change');} 160else 161{this.$sliderUl.avia_animate({height:setTo},function() 162{self.$win.trigger('av-height-change');});}} 163this._setCenter();if(video_height&&video_height!="set") 164{slide.find('iframe, embed, video, object, .av_youtube_frame').css({height:video_height+'%',top:video_toppos+'%'});slide.data('video-height','set');}},_setCenter:function() 165{var slide=this.$slides.eq(this.current),img=slide.find('img'),min_width=parseInt(img.css('min-width'),10),slide_width=slide.width(),caption=slide.find('.av-slideshow-caption'),css_left=((slide_width-min_width)/2);if(caption.length) 166{if(caption.is('.caption_left')) 167{css_left=((slide_width-min_width)/1.5);} 168else if(caption.is('.caption_right')) 169{css_left=((slide_width-min_width)/2.5);}} 170if(slide_width>=min_width) 171{css_left=0;} 172img.css({left:css_left});},_carouselmove:function(){var offset=this.slideWidthCarousel*this.currentCarousel;this.$sliderUl.css('transform','translateX(-'+offset+'px)');},_carouselslide:function(dir) 173{console.log('_carouselslide:',dir,this.currentCarousel);if(dir==='next') 174{if(this.options.carouselSlidesToShow+this.currentCarousel<this.itemsCount) 175{this.currentCarousel++;this._carouselmove();}} 176else if(dir==='prev') 177{if(this.currentCarousel>0) 178{this.currentCarousel--;this._carouselmove();}} 179this._set_slide_arrows_visibility();this.isAnimating=false;},_slide:function(dir) 180{var dynamic=false,modifier=dynamic==true?2:1,sliderWidth=this.$slider.width(),direction=dir==='next'?-1:1,property=this.browserPrefix+'transform',reset={},transition={},transition2={},trans_val=(sliderWidth*direction*-1),trans_val2=(sliderWidth*direction)/modifier;if(this.cssActive) 181{property=this.browserPrefix+'transform';if(this.css3DActive) 182{reset[property]="translate3d("+trans_val+"px, 0, 0)";transition[property]="translate3d("+trans_val2+"px, 0, 0)";
182transition2[property]="translate3d(0,0,0)";} 183else 184{reset[property]="translate("+trans_val+"px,0)";transition[property]="translate("+trans_val2+"px,0)";transition2[property]="translate(0,0)";}} 185else 186{reset.left=trans_val;transition.left=trans_val2;transition2.left=0;} 187if(dynamic) 188{transition['z-index']="1";transition2['z-index']="2";} 189this._slide_animate(reset,transition,transition2);},_slide_up:function(dir) 190{var dynamic=true,modifier=dynamic==true?2:1,sliderHeight=this.$slider.height(),direction=dir==='next'?-1:1,property=this.browserPrefix+'transform',reset={},transition={},transition2={},trans_val=(sliderHeight*direction*-1),trans_val2=(sliderHeight*direction)/modifier;if(this.cssActive) 191{property=this.browserPrefix+'transform';if(this.css3DActive) 192{reset[property]="translate3d( 0,"+trans_val+"px, 0)";transition[property]="translate3d( 0,"+trans_val2+"px, 0)";transition2[property]="translate3d(0,0,0)";} 193else 194{reset[property]="translate( 0,"+trans_val+"px)";transition[property]="translate( 0,"+trans_val2+"px)";transition2[property]="translate(0,0)";}} 195else 196{reset.top=trans_val;transition.top=trans_val2;transition2.top=0;} 197if(dynamic) 198{transition['z-index']="1";transition2['z-index']="2";} 199this._slide_animate(reset,transition,transition2);},_slide_animate:function(reset,transition,transition2) 200{var self=this,displaySlide=this.$slides.eq(this.current),hideSlide=this.$slides.eq(this.prev);hideSlide.trigger('pause');if(!displaySlide.data('disableAutoplay')) 201{if(displaySlide.hasClass('av-video-lazyload')&&!displaySlide.hasClass('av-video-lazyload-complete')) 202{displaySlide.find('.av-click-to-play-overlay').trigger('click');} 203else 204{displaySlide.trigger('play');}} 205displaySlide.css({visibility:'visible',zIndex:4,opacity:1,left:0,top:0});
205displaySlide.css(reset);hideSlide.avia_animate(transition,this.options.transitionSpeed,this.options.easing);var after_slide=function() 206{self.isAnimating=false;displaySlide.addClass('active-slide');hideSlide.css({visibility:'hidden'}).removeClass('active-slide next-active-slide');self.$slider.trigger('avia-transition-done');};if(self.options.show_slide_delay>0) 207{setTimeout(function() 208{displaySlide.addClass('next-active-slide');displaySlide.avia_animate(transition2,self.options.transitionSpeed,self.options.easing,after_slide);},self.options.show_slide_delay);} 209else 210{displaySlide.addClass('next-active-slide');displaySlide.avia_animate(transition2,self.options.transitionSpeed,self.options.easing,after_slide);}},_fade:function() 211{var self=this,displaySlide=this.$slides.eq(this.current),hideSlide=this.$slides.eq(this.prev),properties={visibility:'visible',zIndex:3,opacity:0},fadeCallback=function() 212{self.isAnimating=false;displaySlide.addClass('active-slide');hideSlide.css({visibility:'hidden',zIndex:2}).removeClass('active-slide next-active-slide');self.$slider.trigger('avia-transition-done');};hideSlide.trigger('pause');if(!displaySlide.data('disableAutoplay')) 213{if(displaySlide.hasClass('av-video-lazyload')&&!displaySlide.hasClass('av-video-lazyload-complete')) 214{displaySlide.find('.av-click-to-play-overlay').trigger('click');} 215else 216{displaySlide.trigger('play');}} 217displaySlide.addClass('next-active-slide');if(self.options.fullfade==true) 218{hideSlide.avia_animate({opacity:0}
218,200,'linear',function() 219{displaySlide.css(properties).avia_animate({opacity:1},self.options.transitionSpeed,'linear',fadeCallback);});} 220else 221{if(self.current===0) 222{hideSlide.avia_animate({opacity:0},self.options.transitionSpeed/2,'linear');displaySlide.css(properties).avia_animate({opacity:1},self.options.transitionSpeed/2,'linear',fadeCallback);} 223else 224{displaySlide.css(properties).avia_animate({opacity:1},self.options.transitionSpeed/2,'linear',function() 225{hideSlide.avia_animate({opacity:0},200,'linear',fadeCallback);});}}},_attach_video_events:function() 226{var self=this,$html=$('html');self.$slides.each(function(i) 227{var currentSlide=$(this),caption=currentSlide.find('.caption_fullwidth, .av-click-overlay'),mejs=currentSlide.find('.mejs-mediaelement'),lazyload=currentSlide.hasClass('av-video-lazyload')?true:false;if(currentSlide.data('avia_video_events')!=true) 228{currentSlide.data('avia_video_events',true);currentSlide.on('av-video-events-bound',{slide:currentSlide,wrap:mejs,iteration:i,self:self,lazyload:lazyload},onReady);currentSlide.on('av-video-ended',{slide:currentSlide,self:self},onFinish);currentSlide.on('av-video-play-executed',function(){setTimeout(function(){self.pause();},100);});caption.on('click',{slide:currentSlide},toggle);if(currentSlide.is('.av-video-events-bound')) 229{currentSlide.trigger('av-video-events-bound');} 230if(lazyload&&i===0&&!currentSlide.data('disableAutoplay')) 231{currentSlide.find('.av-click-to-play-overlay').trigger('click');}}});function onReady(event) 232{if(event.data.iteration===0) 233{event.data.wrap.css('opacity',0);if(!event.data.self.isMobile&&!event.data.slide.data('disableAutoplay')) 234{event.data.slide.trigger('play');}Â 235setTimeout(function(){event.data.wrap.avia_animate({opacity:1},400);},50);} 236else if($html.is('.avia-msie')&&!event.data.slide.is('.av-video-service-html5')) 237{if(!event.data.slide.data('disableAutoplay')) 238{event.data.slide.trigger('play');}} 239if(event.data.slide.is('.av-video-service-html5')&&event.data.iteration!==0) 240{event.data.slide.trigger('pause');} 241if(event.data.lazyload) 242{event.data.slide.addClass('av-video-lazyload-complete');event.data.slide.trigger('play');}} 243function onFinish(event) 244{if(!event.data.slide.is('.av-single-slide')&&!event.data.slide.is('.av-loop-video')) 245{event.data.slide.trigger('reset');self._navigate('next');self.resume();} 246if(event.data.slide.is('.av-loop-video')&&event.data.slide.is('.av-video-service-html5')) 247{if($html.is('.avia-safari-8')) 248{setTimeout(function() 249{event.data.slide.trigger('play');},1);}}} 250function toggle(event) 251{if(event.target.tagName!="A") 252{event.data.slide.trigger('toggle');}}},_timer:function(callback,delay,first) 253{var self=this,start,remaining=delay;self.timerId=0;this.pause=function() 254{window.clearTimeout(self.timerId);remaining-=new Date()-start;};this.resume=function() 255{start=new Date();self.timerId=window.setTimeout(callback,remaining);};this.destroy=function() 256{window.clearTimeout(self.timerId);};this.resume(true);},_startSlideshow:function() 257{var self=this;this.isPlaying=true;this.slideshow=new this._timer(function() 258{self._navigate('next');if(self.options.autoplay) 259{self._startSlideshow();}},(this.options.interval*1000));},_stopSlideshow:function() 260{if(this.options.autoplay) 261{this.slideshow.destroy();this.isPlaying=false;this.options.autoplay=false;} 262this.options.autoplay=false;this.options.loop_autoplay='once';this.$slider.removeClass('av-slideshow-autoplay').addClass('av-slideshow-manual');this.$slider.removeClass('av-loop-endless').addClass('av-loop-once');},_setPermaCaptionPointer:function(e) 263{if(!this.permaCaption.length) 264{return;} 265var withLink=$(this.$slides[this.current]).find('a').length;this.permaCaption.css('cursor',withLink?'pointer':'default');},_routePermaCaptionClick:function(e) 266{var active_slide_link=$(this).siblings('.avia-slideshow-inner').find('>.active-slide a');if(active_slide_link.length) 267{e.preventDefault();active_slide_link[0].click();}},next:function(e) 268{e.preventDefault();this._stopSlideshow();this._navigate('next');},previous:function(e) 269{e.preventDefault();this._stopSlideshow();this._navigate('prev');},go2:function(pos) 270{if(isNaN(pos)) 271{pos.preventDefault();pos=pos.currentTarget.hash.replace('#','');} 272pos-=1;if(pos===this.current||pos>=this.itemsCount||pos<0) 273{return false;} 274this._stopSlideshow();this._navigate(false,pos);},play:function() 275{if(!this.isPlaying) 276{this.isPlaying=true;this._navigate('next');this.options.autoplay=true;this._startSlideshow();}},pause:function() 277{if(this.isPlaying) 278{this.slideshow.pause();}},resume:function() 279{if(this.isPlaying) 280{this.slideshow.resume();}},destroy:function(callback) 281{this.slideshow.destroy(callback);}};$.fn.aviaSlider=function(options) 282{return this.each(function() 283{var self=$.data(this,'aviaSlider');if(!self) 284{self=$.data(this,'aviaSlider',new $.AviaSlider(options,this));}});};})(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.