1(function($){"use strict";function tcElementsSocialIcons($scope,$){$(document).ready(function(){const $widget=$scope.find('.elementor-widget-tcgelements-social-icons').length?$scope.find('.elementor-widget-tcgelements-social-icons'):$scope;$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.social-icons-selector-type-container');if($socialIcons.length){$currentWidget.on('mouseenter',function(){$socialIcons.addClass('tc-social-icons-container-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-social-icons-container-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.social-icons-selector-type-parent');if($socialIcons.length){$currentWidget.parent().on('mouseenter',function(){$socialIcons.addClass('tc-social-icons-container-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-social-icons-container-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.social-icons-selector-type-parent-parent');if($socialIcons.length){$currentWidget.parent().parent().on('mouseenter',function(){$socialIcons.addClass('tc-social-icons-container-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-social-icons-container-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.social-icons-selector-type-parent-n');if($socialIcons.length){const parentLevel=parseInt($socialIcons.data('parent-level'))||1;let $targetParent=$currentWidget;for(let i=0;i<parentLevel;i++){$targetParent=$targetParent.parent();if($targetParent.length===0){console.warn('Social Icons: Cannot find parent at level '+(i+1));break}} 2if($targetParent.length){$targetParent.on('mouseenter',function(){$socialIcons.addClass('tc-social-icons-container-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-social-icons-container-active')})}}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.animation-hover-type-widget');if($socialIcons.length){$currentWidget.on('mouseenter',function(){$socialIcons.addClass('tc-animation-hover-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-animation-hover-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.animation-hover-type-parent');if($socialIcons.length){$currentWidget.parent().on('mouseenter',function(){$socialIcons.addClass('tc-animation-hover-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-animation-hover-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.animation-hover-type-parent-parent');if($socialIcons.length){$currentWidget.parent().parent().on('mouseenter',function(){$socialIcons.addClass('tc-animation-hover-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-animation-hover-active')})}});$widget.each(function(){const $currentWidget=$(this);const $socialIcons=$currentWidget.find('.animation-hover-type-parent-n');if($socialIcons.length){const parentLevel=parseInt($socialIcons.data('animation-parent-level'))||1;let $targetParent=$currentWidget;for(let i=0;i<parentLevel;i++){$targetParent=$targetParent.parent();if($targetParent.length===0){console.warn('Social Icons Animation: Cannot find parent at level '+(i+1));break}} 3if($targetParent.length){$targetParent.on('mouseenter',function(){$socialIcons.addClass('tc-animation-hover-active')}).on('mouseleave',function(){$socialIcons.removeClass('tc-animation-hover-active')})}}});const link=document.querySelectorAll('.tcgelements-social-icons .tcgelements-hover-this');const animateit=function(e){const hoverAnim=this.querySelector('.tcgelements-social-icons .tcgelements-hover-anim');if(!hoverAnim)return;const{offsetX:x,offsetY:y}=e,{offsetWidth:width,offsetHeight:height}=this,move=25,xMove=x/width*(move*2)-move,yMove=y/height*(move*2)-move;hoverAnim.style.transform=`translate(${xMove}px, ${yMove}px)`;if(e.type==='mouseleave')hoverAnim.style.transform=''};
3const editCursor=e=>{const{clientX:x,clientY:y}=e};link.forEach(b=>b.addEventListener('mousemove',animateit));link.forEach(b=>b.addEventListener('mouseleave',animateit));window.addEventListener('mousemove',editCursor)})};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/tcgelements-social-icons.default',tcElementsSocialIcons)})})(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.