!function(b){b.fn.siteOriginParallax=function(g){var d=b(this);if("refreshParallax"===g)return d.trigger("refreshParallax");null===(g=b.extend({backgroundUrl:null,backgroundSize:null,backgroundAspectRatio:null,backgroundSizing:"scaled",limitMotion:"auto"},g)).backgroundAspectRatio&&(g.backgroundAspectRatio=g.backgroundSize[0]/g.backgroundSize[1]);var i=function(){try{var i,o=[d.outerWidth(),d.outerHeight()],a=d[0].getBoundingClientRect(),n=b(window).outerHeight();void 0===d.data("siteorigin-parallax-init")&&d.css({"background-image":"url("+g.backgroundUrl+")"}),i="auto"===g.limitMotion?n<720?.55:1300c[1]*u&&(u=s/c[1],i=!1),d.css("background-size",c[0]*u+"px "+c[1]*u+"px"),a.top>-o[1]&&a.bottom-nn*i&&(r=r*(e=n*i/c[1])+(1-e)/2),t=-(c[1]-o[1])*r,d.css("background-size","auto"),d.css("background-position","50% "+t+"px"))}catch(i){console.log(i.message),d.css({"background-size":"scaled"===g.backgroundSizing?"cover":"auto","background-position":"50% 50%"})}};i(),b(window).on("scroll",i),b(window).on("resize",i),b(window).on("panelsStretchRows",i),d.on("refreshParallax",i),setTimeout(function(){i()},100)}}(jQuery),jQuery(function(i){i("[data-siteorigin-parallax]").each(function(){i(this).siteOriginParallax(i(this).data("siteorigin-parallax"))})});