1!function(L,p){"function"==typeof define&&define.amd?define([],p):"object"==typeof module&&module.exports?module.exports=p():L.Rellax=p()}(typeof window<"u"?window:global,function(){var L=function(p,w){var e=Object.create(L.prototype),c=0,x=0,v=0,l=0,r=[],f=!0,C=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(n){return setTimeout(n,1e3/60)},h=null,X=!1;try{var u=Object.defineProperty({},"passive",{get:function(){X=!0}});window.addEventListener("testPassive",null,u),window.removeEventListener("testPassive",null,u)}catch{}var N=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,P=window.transformProp||function(){var n=document.createElement("div");if(null===n.style.transform){var t,o=["Webkit","Moz","ms"];for(t in o)if(void 0!==n.style[o[t]+"Transform"])return o[t]+"Transform"}return"transform"}();if(e.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}}
1,w&&Object.keys(w).forEach(function(n){e.options[n]=w[n]}),w&&w.breakpoints&&function k(){if(3===e.options.breakpoints.length&&Array.isArray(e.options.breakpoints)){var t,n=!0,o=!0;if(e.options.breakpoints.forEach(function(i){"number"!=typeof i&&(o=!1),null!==t&&i<t&&(n=!1),t=i}),n&&o)return}e.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}(),p||(p=".rellax"),0<(u="string"==typeof p?document.querySelectorAll(p):[p]).length){if(e.elems=u,e.options.wrapper&&!e.options.wrapper.nodeType){if(!(u=document.querySelector(e.options.wrapper)))return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");e.options.wrapper=u}var R,S=function(){for(var n=0;n<r.length;n++)e.elems[n].style.cssText=r[n].style;for(r=[],x=window.innerHeight,l=window.innerWidth,R=l<(n=e.options.breakpoints)[0]?"xs":l>=n[0]&&l<n[1]?"sm":l>=n[1]&&l<n[2]?"md":"lg",q(),n=0;n<e.elems.length;n++){var o=void 0,t=e.elems[n],i=t.getAttribute("data-rellax-percentage"),s=t.getAttribute("data-rellax-speed"),a=t.getAttribute("data-rellax-xs-speed"),y=t.getAttribute("data-rellax-mobile-speed"),g=t.getAttribute("data-rellax-tablet-speed"),A=t.getAttribute("data-rellax-desktop-speed"),z=t.getAttribute("data-rellax-vertical-speed"),E=t.getAttribute("data-rellax-horizontal-speed"),Y=t.getAttribute("data-rellax-vertical-scroll-axis"),O=t.getAttribute("data-rellax-horizontal-scroll-axis"),H=t.getAttribute("data-rellax-zindex")||0,D=t.getAttribute("data-rellax-min"),b=t.getAttribute("data-rellax-max"),Q=t.getAttribute("data-rellax-min-x"),U=t.getAttribute("data-rellax-max-x"),V=t.getAttribute("data-rellax-min-y"),Z=t.getAttribute("data-rellax-max-y"),d=!0;a||y||g||A?o={xs:a,sm:y,md:g,lg:A}:d=!1,a=e.options.wrapper?e.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,e.options.relativeToWrapper&&(a=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-e.options.wrapper.offsetTop);var T=e.options.vertical&&(i||e.options.center)?a:0,j=e.options.horizontal&&(i||e.options.center)?e.options.wrapper?e.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0;a=T+t.getBoundingClientRect().top,y=t.clientHeight||t.offsetHeight||t.scrollHeight,g=j+t.getBoundingClientRect().left,A=t.clientWidth||t.offsetWidth||t.scrollWidth,T=i||(T-a+x)/(y+x),i=i||(j-g+l)/(A+l),e.options.center&&(T=i=.5),o=d&&null!==o[R]?Number(o[R]):s||e.options.speed,Y=Y||e.options.verticalScrollAxis,O=O||e.options.horizontalScrollAxis,s=F(i,T,o,z=z||e.options.verticalSpeed,E=E||e.options.horizontalSpeed),d="",(i=/transform\s*:/i.exec(t=t.style.cssText))&&(d=(i=(d=t.slice(i.index)).indexOf(";"))?" "+d.slice(11,i).replace(/\s/g,""):" "+d.slice(11).replace(/\s/g,"")),r.push({baseX:s.x,baseY:s.y,top:a,left:g,height:y,width:A,speed:o,verticalSpeed:z,horizontalSpeed:E,verticalScrollAxis:Y,horizontalScrollAxis:O,style:t,transform:d,zindex:H,min:D,max:b,minX:Q,maxX:U,minY:V,maxY:Z})}M(),f&&(window.addEventListener("resize",S),f=!1,W())},q=function(){var n=c,o=v;return c=e.options.wrapper?e.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,v=e.options.wrapper?e.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,e.options.relativeToWrapper&&(c=((document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset)-e.options.wrapper.offsetTop),!!(n!=c&&e.options.vertical||o!=v&&e.options.horizontal)},F=function(n,o,t,i,s){var a={};return n=100*(s||t)*(1-n),o=100*(i||t)*(1-o),a.x=e.options.round?Math.round(n):Math.round(100*n)/100,a.y=e.options.round?Math.round(o):Math.round(100*o)/100,a},m=function(){window.removeEventListener("resize",m),window.removeEventListener("orientationchange",m),(e.options.wrapper?e.options.wrapper:window).removeEventListener("scroll",m),(e.options.wrapper?e.options.wrapper:document).removeEventListener("touchmove",m),h=C(W)},W=function(){q()&&!1===f?(M(),h=C(W)):(h=null,window.addEventListener("resize",m),window.addEventListener("orientationchange",m),(e.options.wrapper?e.options.wrapper:window).addEventListener("scroll",m,!!X&&{passive:!0}),(e.options.wrapper?e.options.wrapper:document).addEventListener("touchmove",m,!!X&&{passive:!0}))},M=function(){for(var n,o=0;o<e.elems.length;o++){var t=r[o].verticalScrollAxis.toLowerCase(),i=r[o].horizontalScrollAxis.toLowerCase();n=-1!=t.indexOf("x")?c:0,t=-1!=t.indexOf("y")?c:0;var s=-1!=i.indexOf("x")?v:0;i=-1!=i.indexOf("y")?v:0,i=(n=F((n+s-r[o].left+l)/(r[o].width+l),(t+i-r[o].top+x)/(r[o].height+x
1),r[o].speed,r[o].verticalSpeed,r[o].horizontalSpeed)).y-r[o].baseY,t=n.x-r[o].baseX,null!==r[o].min&&(e.options.vertical&&!e.options.horizontal&&(i=i<=r[o].min?r[o].min:i),e.options.horizontal&&!e.options.vertical&&(t=t<=r[o].min?r[o].min:t)),null!=r[o].minY&&(i=i<=r[o].minY?r[o].minY:i),null!=r[o].minX&&(t=t<=r[o].minX?r[o].minX:t),null!==r[o].max&&(e.options.vertical&&!e.options.horizontal&&(i=i>=r[o].max?r[o].max:i),e.options.horizontal&&!e.options.vertical&&(t=t>=r[o].max?r[o].max:t)),null!=r[o].maxY&&(i=i>=r[o].maxY?r[o].maxY:i),null!=r[o].maxX&&(t=t>=r[o].maxX?r[o].maxX:t),e.elems[o].style[P]="translate3d("+(e.options.horizontal?t:"0")+"px,"+(e.options.vertical?i:"0")+"px,"+r[o].zindex+"px) "+r[o].transform}e.options.callback(n)};return e.destroy=function(){for(var n=0;n<e.elems.length;n++)e.elems[n].style.cssText=r[n].style;f||(window.removeEventListener("resize",S),f=!0),N(h),h=null},S(),e.refresh=S,e}console.warn("Rellax: The elements you're trying to select don't exist.")};return L});
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.