nextend-nogsap.min.js 1009 Bytes
N2Require("GSAP",[],[],function(e,t,i){"undefined"==typeof TimelineLite&&alert("GSAP - TimelineLite missing"),window.NextendTimeline=TimelineLite,"undefined"==typeof TweenLite&&alert("GSAP - TweenLite missing"),window.NextendTween=TweenLite,"undefined"==typeof SplitText&&alert("GSAP - SplitText missing"),window.NextendSplitText=SplitText,function(){var e=document.createElement("div"),t=/Edge\/\d./i.test(navigator.userAgent)?!1:e.style.webkitFilter!==i?"webkitFilter":e.style.filter!==i?"filter":!1,n=t?"filter"==t?t:"-"+t.replace(/([A-Z])/g,"-$1").toLowerCase():"";_gsScope._gsDefine.plugin({propName:"n2blur",API:2,version:"1.1.0",overwriteProps:["n2blur"],init:function(e,i,n,r){if(!t)return!0;"function"==typeof i&&(i=i(r,e));var l=window.getComputedStyle(e)[t],o="blur("+i+"px)";return"none"===l&&(l="blur(0px)"),this._style=e.style,this._remove=!i,this._addTween(e.style,t,l,o,"n2blur"),!0},set:function(e){this._super.setRatio.call(this,e),1===e&&this._remove&&this._style.removeProperty(n)}})}()});