1!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&module.exports?module.exports=t():e.Rellax=t()}(this,function(){var e=function(t,o){"use strict";var n=Object.create(e.prototype),r=0,i=0,s=0,l=0,a=[],d=!1,c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},f=window.transformProp||function(){var e=document.createElement("div");if(null===e.style.transform){var t=["Webkit","Moz","ms"];for(var o in t)if(void 0!==e.style[t[o]+"Transform"])return t[o]+"Transform"}return"transform"}();n.options={speed:-2,center:!1,round:!0,vertical:!0,horizontal:!1,callback:function(){}},o&&Object.keys(o).forEach(function(e){n.options[e]=o[e]}),t||(t=".rellax");var u="string"==typeof t?document.querySelectorAll(t):[t];if(!(u.length>0))throw new Error("The elements you're trying to select don't exist.");n.elems=u;var m=function(){for(var e=0;e<a.length;e++)n.elems[e].style.cssText=a[e].style;a=[],i=window.innerHeight,l=window.innerWidth,w();for(var e=0;e<n.elems.length;e++){var t=p(n.elems[e]);a.push(t)}v()},p=function(e){var t=e.getAttribute("data-rellax-percentage"),o=e.getAttribute("data-rellax-speed"),r=e.getAttribute("data-rellax-zindex")||0,s=n.options.vertical&&(t||n.options.center)?window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop:0,a=n.options.horizontal&&(t||n.options.center)?window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0,d=s+e.getBoundingClientRect().top,c=e.clientHeight||e.offsetHeight||e.scrollHeight,f=a+e.getBoundingClientRect().left,u=e.clientWidth||e.offsetWidth||e.scrollWidth,m=t||(s-d+i)/(c+i),p=t||(a-f+l)/(u+l);n.options.center&&(p=.5,m=.5);var w=o||n.options.speed,g=h(p,m,w),v=e.style.cssText,y="";if(v.indexOf("transform")>=0){var x=v.indexOf("transform"),b=v.slice(x),O=b.indexOf(";");y=O?" "+b.slice(11,O).replace(/\s/g,""):" "+b.slice(11).replace(/\s/g,"")}return{baseX:g.x,baseY:g.y,top:d,left:f,height:c,width:u,speed:w,style:v,transform:y,zindex:r}},w=function(){var e=r,t=s;return r=void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,s=void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,!(e==r||!n.options.vertical)||!(t==s||!n.options.horizontal)},h=function(e,t,o){var r={},i=o*(100*(1-e)),s=o*(100*(1-t));return r.x=n.options.round?Math.round(i):Math.round(100*i)/100,r.y=n.options.round?Math.round(s):Math.round(100*s)/100,r},g=function(){w()&&!1===d&&v(),c(g)},v=function(){for(var e,t=0;t<n.elems.length;t++){var o=(r-a[t].top+i)/(a[t].height+i),d=(s-a[t].left+l)/(a[t].width+l);e=h(d,o,a[t].speed);var c=e.y-a[t].baseY,u=e.x-a[t].baseX,m=a[t].zindex,p="translate3d("+(n.options.horizontal?u:"0")+"px,"+(n.options.vertical?c:"0")+"px,"+m+"px) "+a[t].transform;n.elems[t].style[f]=p}n.options.callback(e)};return n.destroy=function(){for(var e=0;e<n.elems.length;e++)n.elems[e].style.cssText=a[e].style;d=!0},m(),window.addEventListener("resize",function(){m()}),g(),n.refresh=m,n};return e});
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.