PageSourceSearch

https://www.adventure-suedtirol.com/wp-content/litespeed/js/f078f9f5ec5760af665ac55538569f47.js?ver=69f47

js adventure-suedtirol.com collected 2026-10-02 00:05:45 UTC 3,925 bytes, 19 lines download raw bytes

1var e_cursor_isDebug=!1;class eadd_cursor{constructor($elements,$ob){this.scope=$elements.$scope;this.target=$elements.$cursor;this.path=$elements.$path;this.pathLength=0;this.params=$ob;this.isProgress=$ob.progress;this.speed=$ob.speed||0;this.customClass=$ob.cursorCustomClass;this.deviceMode='';this.body=document.body;this.window=window.document;this.isInside=!0;this.eventsInit();this.initCursorTarget()}
2eventsInit(){window.addEventListener('resize',this.onReSize);this.onReSize();if(this.isProgress&&this.path.length)this.initCursorProgress();this.body.addEventListener("mouseenter",(n)=>{gsap.to(this.target,{duration:0.5,scale:1});this.isInside=!0});this.body.addEventListener("mouseleave",(n)=>{if(e_cursor_isDebug){gsap.to(this.target,{x:this.w/2+'px',y:this.h/2+'px',scale:1,ease:'power1.inOut'})}else{gsap.to(this.target,{duration:0.5,scale:0})}
3this.isInside=!1});this.body.addEventListener("mousemove",(e)=>{this.positionCircle(e)})}
4onReSize(){this.deviceMode=jQuery('body').attr('data-elementor-device-mode');this.w=window.innerWidth;this.h=window.innerHeight}
5initCursorProgress(){let path=this.path[0],pathLength=path.getTotalLength(),lasco=pathLength*0.1;path.style.transition=path.style.WebkitTransition='none';path.style.strokeDasharray=pathLength+' '+pathLength;path.style.strokeDashoffset=pathLength;path.style.transition=path.style.WebkitTransition='stroke-dashoffset 10ms linear';const updateProgress=()=>{let yScroll=jQuery(window).scrollTop(),height=jQuery(document).height()-jQuery(window).height(),progress=pathLength-(yScroll*pathLength/height);path.style.strokeDashoffset=progress}
6updateProgress();window.removeEventListener('scroll',updateProgress);window.addEventListener('scroll',updateProgress)}
7test(){console.log(this.params.widgetId)}
8initCursorTarget(){let cursors=this.target[0];const onMouseover=(t)=>{cursors.classList.add("hover")}
9const onMouseOut=(t)=>{cursors.classList.remove("hover")}
10onMouseOut();if(jQuery(this.customClass).length){jQuery('body').on({mouseenter:function(){onMouseover()},mouseleave:function(){onMouseOut()}},this.customClass)}}
11positionCircle(element){var pX=element.clientX;var pY=element.clientY;gsap.to(this.target,{duration:this.speed,x:pX+"px",y:pY+"px"})}}
12jQuery(window).on('elementor/frontend/init',()=>{class WidgetCursorHandlerClass extends elementorModules.frontend.handlers.Base{getDefaultSettings(){const target='#e-add-cursors-'+this.getID();return{selectors:{cursor:target,path:'.e-add-cursor-wrap .e-add-cursorprogress-path'},}}
13getDefaultElements(){const selectors=this.getSettings('selectors');return{$scope:this.$element,$cursor:this.$element.find(selectors.cursor),$path:this.$element.find(selectors.path),$id_scope:this.$element.attr('data-id'),$eaddoons_cursor:null}}
14bindEvents(){let id_scope=this.elements.$scope,elementSettings=this.getElementSettings();this.eaddons_cursor=null;let elementsObject={widgetId:this.getID(),responsive:elementSettings.responsive_cursor,progress:elementSettings.progress,speed:elementSettings.speed.size,cursorCustomClass:Boolean(elementSettings.cursor_custom_class)?elementSettings.cursor_custom_class:'.e-cursor, .cursor-target'}
15let e_addons_cursor=new eadd_cursor(this.elements,elementsObject);this.eaddons_cursor=e_addons_cursor;if(elementorFrontend.isEditMode()){elementor.channels.editor.on('section:activated',(sectionName,editor)=>{var editedElement=editor.getOption('editedElementView');if('e-cursor'!==editedElement.model.get('widgetType')){return}
16var selectedSection=-1!==['section_settings'].indexOf(sectionName);if(selectedSection&&editedElement.model.id==this.getID()){e_cursor_isDebug=!0}
17if(!selectedSection&&editedElement.model.id==this.getID()){e_cursor_isDebug=!1}})}}}
18const cursorHandler=($element)=>{elementorFrontend.elementsHandler.addHandler(WidgetCursorHandlerClass,{$element,})};elementorFrontend.hooks.addAction('frontend/element_ready/e-cursor.default',cursorHandler)})
19;

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.