Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
themify-...
/
themify
/
js
/
modules
/
swiper
/
effects
•
File:
coverflow.min.js
•
Content:
(t=>{TF_Swiper_Coverflow=class{constructor(t,e){this.params={rotate:50,stretch:0,depth:100,scale:1,modifier:1,...e.coverflowEffect};const s=e.breakpoints;if(e.slidesPerView<2&&(e.slidesPerView=2,e.slidesPerGroup>2&&(e.slidesPerGroup=2)),s)for(let t in s){let e=s[t];e.slidesPerView<2&&(e.slidesPerView=2,e.slidesPerGroup>2&&(e.slidesPerGroup=2))}e.watchSlidesProgress=!0,t.el.classList.add("tf_sw_3d","tf_sw_backface")}setTranslate(e){const{width:s,height:o,slides:f,slidesSizesGrid:i}=e,a=this.params,r=e.isHorizontal(),_=e.translate,l=e.constructor.browser.isSafari,d=r?s/2-_:o/2-_,h=r?a.rotate:-a.rotate,c=a.modifier,n=a.depth,w=t.abs,$=.001,p=r?"left":"top",g=r?"right":"bottom",b="tf_sw_shadow",m=e.constructor.createElement;for(let e=0;e<f.length;++e){let s=f[e],o=i[e],_=(d-s.swiperSlideOffset-o/2)/o,u="function"==typeof c?c(_):_*c,v=r?h*u:0,x=r?0:h*u,T=-n*w(u),y=a.stretch;"string"==typeof y&&-1!==y.indexOf("%")&&(y=parseFloat(y)/100*o);let F=r?0:y*u,S=r?y*u:0,k=1-(1-a.scale)*w(u);if(w(S)<$&&(S=0),w(F)<$&&(F=0),w(T)<$&&(T=0),w(v)<$&&(v=0),w(x)<$&&(x=0),w(k)<$&&(k=0),l&&(w(v)/90%2==1&&(v+=$),w(x)/90%2==1&&(x+=$)),s.style.transform=`translate3d(${S}px,${F}px,${T}px) rotateX(${x}deg) rotateY(${v}deg) scale(${k})`,s.style.zIndex=1-w(t.round(u)),!0===a.slideShadows){let t=b+"_"+p,e=b+"_"+g,o=s.tfClass(t)[0],f=s.tfClass(e)[0],i=document.createDocumentFragment();o||(o=m("div",`${b} ${t} tf_abs_t tf_w tf_h`),i.appendChild(o)),f||(f=m("div",`${b} ${e} tf_abs_t tf_w tf_h`),i.appendChild(f)),o.style.opacity=u>0?u:0,f.style.opacity=-u>0?-u:0,s.appendChild(i)}}}setTransition(t,e){const s=e+"ms";for(let e=t.slides,o=e.length-1;o>-1;--o){let t=e[o];if(t.style.transitionDuration=s,!0===this.params.slideShadows)for(let e=t.tfClass("tf_sw_shadow"),o=e.length-1;o>-1;--o)e[o].style.transitionDuration=s}}}})(Math);
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List