var/www/html/servotec-doerpen/wp-includes/js/jquery/ui | uid:33
effect-slide.js [X]
/*!
 * jQuery UI Effects Slide 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */

//>>label: Slide Effect
//>>group: Effects
//>>description: Slides an element in and out of the viewport.
//>>docs: https://api.jqueryui.com/slide-effect/
//>>demos: https://jqueryui.com/effect/

( function( factory ) {
	"use strict";

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

		// AMD. Register as an anonymous module.
		define( [
			"jquery",
			"../version",
			"../effect"
		], factory );
	} else {

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

return $.effects.define( "slide", "show", function( options, done ) {
	var startClip, startRef,
		element = $( this ),
		map = {
			up: [ "bottom", "top" ],
			down: [ "top", "bottom" ],
			left: [ "right", "left" ],
			right: [ "left", "right" ]
		},
		mode = options.mode,
		direction = options.direction || "left",
		ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
		positiveMotion = ( direction === "up" || direction === "left" ),
		distance = options.distance ||
			element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
		animation = {};

	$.effects.createPlaceholder( element );

	startClip = element.cssClip();
	startRef = element.position()[ ref ];

	// Define hide animation
	animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;
	animation.clip = element.cssClip();
	animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];

	// Reverse the animation if we're showing
	if ( mode === "show" ) {
		element.cssClip( animation.clip );
		element.css( ref, animation[ ref ] );
		animation.clip = startClip;
		animation[ ref ] = startRef;
	}

	// Actually animate
	element.animate( animation, {
		queue: false,
		duration: options.duration,
		easing: options.easing,
		complete: done
	} );
} );

} );
accordion.js15.8KV E R D
accordion.min.js8.7KV E R D
autocomplete.js17.1KV E R D
button.js11.4KV E R D
button.min.js6KV E R D
checkboxradio.js7.4KV E R D
checkboxradio.min.js4.2KV E R D
controlgroup.js8.4KV E R D
controlgroup.min.js4.3KV E R D
core.js48.7KV E R D
datepicker.js80.6KV E R D
datepicker.min.js35.9KV E R D
dialog.js23.3KV E R D
dialog.min.js12.8KV E R D
draggable.js34.7KV E R D
draggable.min.js18KV E R D
droppable.js12.6KV E R D
droppable.min.js6.5KV E R D
effect-blind.js1.6KV E R D
effect-bounce.js2.6KV E R D
effect-clip.js1.5KV E R D
effect-clip.min.js796V E R D
effect-drop.js1.6KV E R D
effect-drop.min.js753V E R D
effect-explode.min.js1.1KV E R D
effect-fade.js968V E R D
effect-fade.min.js525V E R D
effect-fold.js2.1KV E R D
effect-fold.min.js1020V E R D
effect-highlight.js1.2KV E R D
effect-highlight.min.js648V E R D
effect-puff.js995V E R D
effect-puff.min.js510V E R D
effect-pulsate.js1.5KV E R D
effect-pulsate.min.js688V E R D
effect-scale.js1.3KV E R D
effect-scale.min.js723V E R D
effect-shake.js1.8KV E R D
effect-size.js5.3KV E R D
effect-size.min.js2.4KV E R D
effect-slide.js1.9KV E R D
effect-transfer.js888V E R D
effect-transfer.min.js442V E R D
effect.js24KV E R D
effect.min.js10.1KV E R D
menu.js18.5KV E R D
mouse.js6.1KV E R D
progressbar.js4.1KV E R D
progressbar.min.js2.5KV E R D
resizable.js29.8KV E R D
resizable.min.js18.4KV E R D
selectable.js7.9KV E R D
selectable.min.js4.4KV E R D
selectmenu.js16KV E R D
selectmenu.min.js9.3KV E R D
slider.js19.1KV E R D
slider.min.js10.5KV E R D
sortable.js46.5KV E R D
sortable.min.js24.9KV E R D
spinner.js14.1KV E R D
spinner.min.js7.5KV E R D
tabs.js23.1KV E R D
tabs.min.js11.7KV E R D
tooltip.js14.1KV E R D
tooltip.min.js6.1KV E R D