1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10/* 11 this prevents dom flickering for elements hidden with js, needs to be outside of dom.ready event.also adds several extra classes for better browser support 12 this is a separate file that needs to be loaded at the top of the page. other js functions are loaded before the closing body tag to make the site render faster 13*/ 14"use strict" 15 16var avia_is_mobile = false; 17if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement) 18{ 19 avia_is_mobile = true; 20 document.documentElement.className += ' avia_mobile '; 21} 22else 23{ 24 document.documentElement.className += ' avia_desktop '; 25} 26document.documentElement.className += ' js_active '; 27 28(function(){ 29 //set transform property 30 var prefix = ['-webkit-','-moz-', '-ms-', ""], transform = ""; 31 for (var i in prefix) 32 { 33 // http://artsy.github.io/blog/2012/10/18/so-you-want-to-do-a-css3-3d-transform/ 34 if(prefix[i]+'transform' in document.documentElement.style) 35 { document.documentElement.className += " avia_transform "; transform = prefix[i]+'transform'} 36 if(prefix[i]+'perspective' in document.documentElement.style) document.documentElement.className += " avia_transform3d "; 37 } 38 39 //set parallax position to prevent jump at pageload 40 if(typeof document.getElementsByClassName == 'function' && typeof document.documentElement.getBoundingClientRect == "function" && avia_is_mobile == false) 41 { 42 if(transform && window.innerHeight > 0) 43 { 44 setTimeout(function(){ 45 var y = 0, offsets = {}, transY = 0, parallax = document.getElementsByClassName("av-parallax"), 46 winTop = window.pageYOffset || document.documentElement.scrollTop; 47 48 for (y = 0; y < parallax.length; y++) { 49 parallax[y].style.top = "0px"; 50 offsets = parallax[y].getBoundingClientRect(); 51 transY = Math.ceil( (window.innerHeight + winTop - offsets.top) * 0.3 ); 52 parallax[y].style[transform] = "translate(0px, "+transY+"px)"; 53 parallax[y].style.top = "auto"; 54 parallax[y].className += ' enabled-parallax '; 55 } 56 }, 50); 57 } 58 } 59})(); 60 61}
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.