Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/jquery/ui
File: effect-slide.js
/*!
[0] Fix | Delete
* jQuery UI Effects Slide 1.13.3
[1] Fix | Delete
* https://jqueryui.com
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright OpenJS Foundation and other contributors
[4] Fix | Delete
* Released under the MIT license.
[5] Fix | Delete
* https://jquery.org/license
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
//>>label: Slide Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Slides an element in and out of the viewport.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/slide-effect/
[12] Fix | Delete
//>>demos: https://jqueryui.com/effect/
[13] Fix | Delete
[14] Fix | Delete
( function( factory ) {
[15] Fix | Delete
"use strict";
[16] Fix | Delete
[17] Fix | Delete
if ( typeof define === "function" && define.amd ) {
[18] Fix | Delete
[19] Fix | Delete
// AMD. Register as an anonymous module.
[20] Fix | Delete
define( [
[21] Fix | Delete
"jquery",
[22] Fix | Delete
"../version",
[23] Fix | Delete
"../effect"
[24] Fix | Delete
], factory );
[25] Fix | Delete
} else {
[26] Fix | Delete
[27] Fix | Delete
// Browser globals
[28] Fix | Delete
factory( jQuery );
[29] Fix | Delete
}
[30] Fix | Delete
} )( function( $ ) {
[31] Fix | Delete
"use strict";
[32] Fix | Delete
[33] Fix | Delete
return $.effects.define( "slide", "show", function( options, done ) {
[34] Fix | Delete
var startClip, startRef,
[35] Fix | Delete
element = $( this ),
[36] Fix | Delete
map = {
[37] Fix | Delete
up: [ "bottom", "top" ],
[38] Fix | Delete
down: [ "top", "bottom" ],
[39] Fix | Delete
left: [ "right", "left" ],
[40] Fix | Delete
right: [ "left", "right" ]
[41] Fix | Delete
},
[42] Fix | Delete
mode = options.mode,
[43] Fix | Delete
direction = options.direction || "left",
[44] Fix | Delete
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
[45] Fix | Delete
positiveMotion = ( direction === "up" || direction === "left" ),
[46] Fix | Delete
distance = options.distance ||
[47] Fix | Delete
element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
[48] Fix | Delete
animation = {};
[49] Fix | Delete
[50] Fix | Delete
$.effects.createPlaceholder( element );
[51] Fix | Delete
[52] Fix | Delete
startClip = element.cssClip();
[53] Fix | Delete
startRef = element.position()[ ref ];
[54] Fix | Delete
[55] Fix | Delete
// Define hide animation
[56] Fix | Delete
animation[ ref ] = ( positiveMotion ? -1 : 1 ) * distance + startRef;
[57] Fix | Delete
animation.clip = element.cssClip();
[58] Fix | Delete
animation.clip[ map[ direction ][ 1 ] ] = animation.clip[ map[ direction ][ 0 ] ];
[59] Fix | Delete
[60] Fix | Delete
// Reverse the animation if we're showing
[61] Fix | Delete
if ( mode === "show" ) {
[62] Fix | Delete
element.cssClip( animation.clip );
[63] Fix | Delete
element.css( ref, animation[ ref ] );
[64] Fix | Delete
animation.clip = startClip;
[65] Fix | Delete
animation[ ref ] = startRef;
[66] Fix | Delete
}
[67] Fix | Delete
[68] Fix | Delete
// Actually animate
[69] Fix | Delete
element.animate( animation, {
[70] Fix | Delete
queue: false,
[71] Fix | Delete
duration: options.duration,
[72] Fix | Delete
easing: options.easing,
[73] Fix | Delete
complete: done
[74] Fix | Delete
} );
[75] Fix | Delete
} );
[76] Fix | Delete
[77] Fix | Delete
} );
[78] Fix | Delete
[79] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function