/* Compiled on 2022-09-28 14:40:10 */ var Parallax=function(t,n,i,e){this.initialized=!1,this.context=t,this.container=n,this.element=i,this.scrollTrigger=e,this.options=this.getOptions(),this.animationEngine=null,this.paddingBottom=20,this.bp="medium",this.options&&this.options.bp&&(this.bp=this.options.bp),this.setOptions(this),this.bp&&inception.breakpoints.isMatching(this.bp)&&!this.initialized&&this.create(),this.attachEvents(this)};Parallax.prototype={create:function(){var t;setInterval(this.detectElementInDom(this,t),200)},refresh:function(){this.initialized=!1,this.destroy(),this.setOptions(this),this.bp&&inception.breakpoints.isMatching(this.bp)&&!this.initialized&&this.create()},attachEvents:function(t){inception.attachEvent(window,"resize",t.onResize.bind(null,t))},onResize:function(t){t.refresh()},detectElementInDom:function(t,n){null!==t.element&&(clearInterval(n),inception.animationEngine?t.animationEngine=inception.animationEngine(t.element,t.animation,t.set,"","",!1,!0):t.animationEngine=gsapanim.animationEngine(t.element,t.animation,t.set,"","",!1,!0),t.initialized=!0,t.container.classList.add("rs-pos-tr"),document.querySelectorAll("[data-sticky-container]")&&inception.stickyContainer(document.querySelectorAll("[data-sticky-container]")))},setOptions:function(t){t.containerPos=t.container.getBoundingClientRect(),t.elementPos=t.element.getBoundingClientRect(),t.transition=t.transitionCalcul(),t.set={y:t.transition},t.animation={y:0,ease:"none",scrollTrigger:{start:"top top",end:"top+="+(window.scrollY+t.scrollTrigger.getBoundingClientRect().top-20)+"px top",scrub:0}}},destroy:function(){inception.animationEngine?this.animationEngine=inception.animationEngine.destroy(this.animationEngine):this.animationEngine=gsapanim.animationEngine.destroy(this.animationEngine),this.container.classList.remove("rs-pos-tr")},transitionCalcul:function(){return this.containerPos.height},getOptions:function(){var n;try{n=JSON.parse(this.context.getAttribute(Parallax.DATA_CONTEXT))}catch(t){n={}}return jQuery.extend(!0,{},n,{})}},Parallax.reflow=function(t){for(var n=(t||document).querySelectorAll("[%s]".replace("%s",Parallax.DATA_CONTEXT)),i=n.length,e=0;e