1! function( $ ) { 2 "use strict"; 3 4 Codevz_Plus.team = function() { 5 6 const handleTeamHover = (e) => { 7 const container = e.currentTarget; 8 const content = container.querySelector('.cz_team_content'); 9 if (!content) return; 10 11 if (e.type === 'mouseenter') { 12 content.style.display = 'block'; 13 content.style.pointerEvents = 'none'; 14 content.style.position = 'absolute'; 15 content.style.top = '0'; 16 content.style.left = '0'; 17 content.style.transition = 'all .3s cubic-bezier(.180, .890, .330, 1.270)'; 18 19 setTimeout(() => content.style.opacity = '1', 100); 20 } 21 22 if (e.type === 'mousemove') { 23 const rect = container.getBoundingClientRect(); 24 const x = e.clientX - rect.left; 25 const y = e.clientY - rect.top; 26 27 requestAnimationFrame(() => { 28 content.style.transform = `translate3d(${x - 5}px, ${y}px, 0)`; 29 }); 30 } 31 32 if (e.type === 'mouseleave') { 33 setTimeout(() => { 34 content.style.opacity = '0'; 35 }, 100); 36 } 37 }; 38 39 const initTeamHover = () => { 40 document.querySelectorAll('.cz_team_6, .cz_team_7').forEach(el => { 41 if (el.dataset.initHover) return; 42 el.dataset.initHover = '1'; 43 44 el.addEventListener('mouseenter', handleTeamHover); 45 el.addEventListener('mousemove', handleTeamHover); 46 el.addEventListener('mouseleave', handleTeamHover); 47 }); 48 }; 49 50 initTeamHover(); 51 52 }; 53 54 Codevz_Plus.team(); 55 56}( jQuery );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.