Server IP : 192.64.112.168 / Your IP : 3.144.255.110 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/js/libs/ |
Upload File : |
!function(q){q(function(){q(window).width()<=1024||!q("body").hasClass("elementor-editor-active")&&0===q(".wd-parallax-on-scroll").length&&0===q("[data-parallax]").length||t.init()});var t={showLogs:!1,round:1e3,init:function(){this._log("init"),this._inited?(this._log("Already Inited"),this._inited=!0):(this._requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){window.setTimeout(t,1e3/60)},this._onScroll(!0))},_inited:!1,_properties:["x","y","z","rotateX","rotateY","rotateZ","scaleX","scaleY","scaleZ","scale"],_requestAnimationFrame:null,_log:function(t){this.showLogs&&console.log("Parallax Scroll / "+t)},_onScroll:function(_){var Q=q(document).scrollTop(),b=q(window).height();this._log("onScroll "+Q),q("[data-parallax], .wd-parallax-on-scroll").each(q.proxy(function(t,e){var u=q(e),i=[],l=!1,a=u.data("style");if(null==a&&(a=u.attr("style")||"",u.data("style",a)),u.hasClass("wd-parallax-on-scroll"))for(var n=u.attr("class").split(" "),s=[[]],t=0;t<n.length;t++)0<=n[t].indexOf("wd_scroll")&&(d=n[t].split("_"),s[0][d[2]]=d[3]);else s=[u.data("parallax")];for(h=2;u.data("parallax"+h);h++)s.push(u.data("parallax-"+h));for(var r,o,c=s.length,h=0;h<c;h++){var d,f,p,w,M=(d=s[h])["from-scroll"],m=(null==M&&(M=Math.max(0,q(e).offset().top-b)),M|=0,d.distance),g=d["to-scroll"],I=(null==m&&null==g&&(m=b),m=Math.max(0|m,1),d.easing),x=d["easing-return"],y=(null!=I&&q.easing&&q.easing[I]||(I=null),null!=x&&q.easing&&q.easing[x]||(x=I),I&&(null==(f=d.duration)&&(f=m),f=Math.max(0|f,1),null==(p=d["duration-return"])&&(p=f),m=1,null==(w=u.data("current-time")))&&(w=0),null==g&&(g=M+m),g|=0,d.smoothness),O=(null==y&&(y=30),y|=0,!_&&0!=y||(y=1),y|=0,Q),O=Math.max(O,M);O=Math.min(O,g),I&&(null==u.data("sens")&&u.data("sens","back"),M<O&&("back"==u.data("sens")?(w=1,u.data("sens","go")):w++),O<g&&("go"==u.data("sens")?(w=1,u.data("sens","back")):w++),_&&(w=f),u.data("current-time",w)),this._properties.map(q.proxy(function(t){var e,a,n,s=0,r=d[t];null!=r&&("scale"==t||"scaleX"==t||"scaleY"==t||"scaleZ"==t?s=1:r|=0,n=(e=null==(e=u.data("_"+t))?s:e)+((a=(O-M)/(g-M)*(r-s)+s)-e)/y,I&&0<w&&w<=f&&(s=s,"back"==u.data("sens")&&(r=-(s=r),I=x,f=p),n=q.easing[I](null,w,s,r,f)),(n=Math.ceil(n*this.round)/this.round)==e&&a==r&&(n=r),i[t]||(i[t]=0),i[t]+=n,e!=i[t])&&(u.data("_"+t,i[t]),l=!0)},this))}l&&(null!=i.z&&(null==(o=d.perspective)&&(o=800),(r=u.parent()).data("style")||r.data("style",r.attr("style")||""),r.attr("style","perspective:"+o+"px; -webkit-perspective:"+o+"px; "+r.data("style"))),null==i.scaleX&&(i.scaleX=1),null==i.scaleY&&(i.scaleY=1),null==i.scaleZ&&(i.scaleZ=1),null!=i.scale&&(i.scaleX*=i.scale,i.scaleY*=i.scale,i.scaleZ*=i.scale),this._log(o="translate3d("+(i.x||0)+"px, "+(i.y||0)+"px, "+(i.z||0)+"px)"+" "+("rotateX("+(i.rotateX||0)+"deg) rotateY("+(i.rotateY||0)+"deg) rotateZ("+(i.rotateZ||0)+"deg)")+" "+("scaleX("+i.scaleX+") scaleY("+i.scaleY+") scaleZ("+i.scaleZ+")")+";"),u.attr("style","transform:"+o+" -webkit-transform:"+o+" "+a))},this)),window.requestAnimationFrame?window.requestAnimationFrame(q.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(q.proxy(this._onScroll,this,!1))}}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,a,n,s){return jQuery.easing[jQuery.easing.def](t,e,a,n,s)},easeInQuad:function(t,e,a,n,s){return n*(e/=s)*e+a},easeOutQuad:function(t,e,a,n,s){return-n*(e/=s)*(e-2)+a},easeInOutQuad:function(t,e,a,n,s){return(e/=s/2)<1?n/2*e*e+a:-n/2*(--e*(e-2)-1)+a},easeInCubic:function(t,e,a,n,s){return n*(e/=s)*e*e+a},easeOutCubic:function(t,e,a,n,s){return n*((e=e/s-1)*e*e+1)+a},easeInOutCubic:function(t,e,a,n,s){return(e/=s/2)<1?n/2*e*e*e+a:n/2*((e-=2)*e*e+2)+a},easeInQuart:function(t,e,a,n,s){return n*(e/=s)*e*e*e+a},easeOutQuart:function(t,e,a,n,s){return-n*((e=e/s-1)*e*e*e-1)+a},easeInOutQuart:function(t,e,a,n,s){return(e/=s/2)<1?n/2*e*e*e*e+a:-n/2*((e-=2)*e*e*e-2)+a},easeInQuint:function(t,e,a,n,s){return n*(e/=s)*e*e*e*e+a},easeOutQuint:function(t,e,a,n,s){return n*((e=e/s-1)*e*e*e*e+1)+a},easeInOutQuint:function(t,e,a,n,s){return(e/=s/2)<1?n/2*e*e*e*e*e+a:n/2*((e-=2)*e*e*e*e+2)+a},easeInSine:function(t,e,a,n,s){return-n*Math.cos(e/s*(Math.PI/2))+n+a},easeOutSine:function(t,e,a,n,s){return n*Math.sin(e/s*(Math.PI/2))+a},easeInOutSine:function(t,e,a,n,s){return-n/2*(Math.cos(Math.PI*e/s)-1)+a},easeInExpo:function(t,e,a,n,s){return 0==e?a:n*Math.pow(2,10*(e/s-1))+a},easeOutExpo:function(t,e,a,n,s){return e==s?a+n:n*(1-Math.pow(2,-10*e/s))+a},easeInOutExpo:function(t,e,a,n,s){return 0==e?a:e==s?a+n:(e/=s/2)<1?n/2*Math.pow(2,10*(e-1))+a:n/2*(2-Math.pow(2,-10*--e))+a},easeInCirc:function(t,e,a,n,s){return-n*(Math.sqrt(1-(e/=s)*e)-1)+a},easeOutCirc:function(t,e,a,n,s){return n*Math.sqrt(1-(e=e/s-1)*e)+a},easeInOutCirc:function(t,e,a,n,s){return(e/=s/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+a:n/2*(Math.sqrt(1-(e-=2)*e)+1)+a},easeInElastic:function(t,e,a,n,s){var r=1.70158,u=0,i=n;return 0==e?a:1==(e/=s)?a+n:(u=u||.3*s,r=i<Math.abs(n)?(i=n,u/4):u/(2*Math.PI)*Math.asin(n/i),-(i*Math.pow(2,10*--e)*Math.sin((e*s-r)*(2*Math.PI)/u))+a)},easeOutElastic:function(t,e,a,n,s){var r=1.70158,u=0,i=n;return 0==e?a:1==(e/=s)?a+n:(u=u||.3*s,r=i<Math.abs(n)?(i=n,u/4):u/(2*Math.PI)*Math.asin(n/i),i*Math.pow(2,-10*e)*Math.sin((e*s-r)*(2*Math.PI)/u)+n+a)},easeInOutElastic:function(t,e,a,n,s){var r=1.70158,u=0,i=n;return 0==e?a:2==(e/=s/2)?a+n:(u=u||s*(.3*1.5),r=i<Math.abs(n)?(i=n,u/4):u/(2*Math.PI)*Math.asin(n/i),e<1?i*Math.pow(2,10*--e)*Math.sin((e*s-r)*(2*Math.PI)/u)*-.5+a:i*Math.pow(2,-10*--e)*Math.sin((e*s-r)*(2*Math.PI)/u)*.5+n+a)},easeInBack:function(t,e,a,n,s,r){return n*(e/=s)*e*(((r=null==r?1.70158:r)+1)*e-r)+a},easeOutBack:function(t,e,a,n,s,r){return n*((e=e/s-1)*e*(((r=null==r?1.70158:r)+1)*e+r)+1)+a},easeInOutBack:function(t,e,a,n,s,r){return null==r&&(r=1.70158),(e/=s/2)<1?n/2*(e*e*((1+(r*=1.525))*e-r))+a:n/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+a},easeInBounce:function(t,e,a,n,s){return n-jQuery.easing.easeOutBounce(t,s-e,0,n,s)+a},easeOutBounce:function(t,e,a,n,s){return(e/=s)<1/2.75?n*(7.5625*e*e)+a:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+a:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+a:n*(7.5625*(e-=2.625/2.75)*e+.984375)+a},easeInOutBounce:function(t,e,a,n,s){return e<s/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,s)+a:.5*jQuery.easing.easeOutBounce(t,2*e-s,0,n,s)+.5*n+a}});