Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../jquery
File: jquery2.js
/*!
[0] Fix | Delete
* jQuery JavaScript Library v2.2.4
[1] Fix | Delete
* http://jquery.com/
[2] Fix | Delete
*
[3] Fix | Delete
* Includes Sizzle.js
[4] Fix | Delete
* http://sizzlejs.com/
[5] Fix | Delete
*
[6] Fix | Delete
* Copyright jQuery Foundation and other contributors
[7] Fix | Delete
* Released under the MIT license
[8] Fix | Delete
* http://jquery.org/license
[9] Fix | Delete
*
[10] Fix | Delete
* Date: 2016-05-20T17:23Z
[11] Fix | Delete
*/
[12] Fix | Delete
[13] Fix | Delete
(function( global, factory ) {
[14] Fix | Delete
[15] Fix | Delete
if ( typeof module === "object" && typeof module.exports === "object" ) {
[16] Fix | Delete
// For CommonJS and CommonJS-like environments where a proper `window`
[17] Fix | Delete
// is present, execute the factory and get jQuery.
[18] Fix | Delete
// For environments that do not have a `window` with a `document`
[19] Fix | Delete
// (such as Node.js), expose a factory as module.exports.
[20] Fix | Delete
// This accentuates the need for the creation of a real `window`.
[21] Fix | Delete
// e.g. var jQuery = require("jquery")(window);
[22] Fix | Delete
// See ticket #14549 for more info.
[23] Fix | Delete
module.exports = global.document ?
[24] Fix | Delete
factory( global, true ) :
[25] Fix | Delete
function( w ) {
[26] Fix | Delete
if ( !w.document ) {
[27] Fix | Delete
throw new Error( "jQuery requires a window with a document" );
[28] Fix | Delete
}
[29] Fix | Delete
return factory( w );
[30] Fix | Delete
};
[31] Fix | Delete
} else {
[32] Fix | Delete
factory( global );
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
// Pass this if window is not defined yet
[36] Fix | Delete
}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
[37] Fix | Delete
[38] Fix | Delete
// Support: Firefox 18+
[39] Fix | Delete
// Can't be in strict mode, several libs including ASP.NET trace
[40] Fix | Delete
// the stack via arguments.caller.callee and Firefox dies if
[41] Fix | Delete
// you try to trace through "use strict" call chains. (#13335)
[42] Fix | Delete
//"use strict";
[43] Fix | Delete
var arr = [];
[44] Fix | Delete
[45] Fix | Delete
var document = window.document;
[46] Fix | Delete
[47] Fix | Delete
var slice = arr.slice;
[48] Fix | Delete
[49] Fix | Delete
var concat = arr.concat;
[50] Fix | Delete
[51] Fix | Delete
var push = arr.push;
[52] Fix | Delete
[53] Fix | Delete
var indexOf = arr.indexOf;
[54] Fix | Delete
[55] Fix | Delete
var class2type = {};
[56] Fix | Delete
[57] Fix | Delete
var toString = class2type.toString;
[58] Fix | Delete
[59] Fix | Delete
var hasOwn = class2type.hasOwnProperty;
[60] Fix | Delete
[61] Fix | Delete
var support = {};
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
var
[66] Fix | Delete
version = "2.2.4",
[67] Fix | Delete
[68] Fix | Delete
// Define a local copy of jQuery
[69] Fix | Delete
jQuery = function( selector, context ) {
[70] Fix | Delete
[71] Fix | Delete
// The jQuery object is actually just the init constructor 'enhanced'
[72] Fix | Delete
// Need init if jQuery is called (just allow error to be thrown if not included)
[73] Fix | Delete
return new jQuery.fn.init( selector, context );
[74] Fix | Delete
},
[75] Fix | Delete
[76] Fix | Delete
// Support: Android<4.1
[77] Fix | Delete
// Make sure we trim BOM and NBSP
[78] Fix | Delete
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
[79] Fix | Delete
[80] Fix | Delete
// Matches dashed string for camelizing
[81] Fix | Delete
rmsPrefix = /^-ms-/,
[82] Fix | Delete
rdashAlpha = /-([\da-z])/gi,
[83] Fix | Delete
[84] Fix | Delete
// Used by jQuery.camelCase as callback to replace()
[85] Fix | Delete
fcamelCase = function( all, letter ) {
[86] Fix | Delete
return letter.toUpperCase();
[87] Fix | Delete
};
[88] Fix | Delete
[89] Fix | Delete
jQuery.fn = jQuery.prototype = {
[90] Fix | Delete
[91] Fix | Delete
// The current version of jQuery being used
[92] Fix | Delete
jquery: version,
[93] Fix | Delete
[94] Fix | Delete
constructor: jQuery,
[95] Fix | Delete
[96] Fix | Delete
// Start with an empty selector
[97] Fix | Delete
selector: "",
[98] Fix | Delete
[99] Fix | Delete
// The default length of a jQuery object is 0
[100] Fix | Delete
length: 0,
[101] Fix | Delete
[102] Fix | Delete
toArray: function() {
[103] Fix | Delete
return slice.call( this );
[104] Fix | Delete
},
[105] Fix | Delete
[106] Fix | Delete
// Get the Nth element in the matched element set OR
[107] Fix | Delete
// Get the whole matched element set as a clean array
[108] Fix | Delete
get: function( num ) {
[109] Fix | Delete
return num != null ?
[110] Fix | Delete
[111] Fix | Delete
// Return just the one element from the set
[112] Fix | Delete
( num < 0 ? this[ num + this.length ] : this[ num ] ) :
[113] Fix | Delete
[114] Fix | Delete
// Return all the elements in a clean array
[115] Fix | Delete
slice.call( this );
[116] Fix | Delete
},
[117] Fix | Delete
[118] Fix | Delete
// Take an array of elements and push it onto the stack
[119] Fix | Delete
// (returning the new matched element set)
[120] Fix | Delete
pushStack: function( elems ) {
[121] Fix | Delete
[122] Fix | Delete
// Build a new jQuery matched element set
[123] Fix | Delete
var ret = jQuery.merge( this.constructor(), elems );
[124] Fix | Delete
[125] Fix | Delete
// Add the old object onto the stack (as a reference)
[126] Fix | Delete
ret.prevObject = this;
[127] Fix | Delete
ret.context = this.context;
[128] Fix | Delete
[129] Fix | Delete
// Return the newly-formed element set
[130] Fix | Delete
return ret;
[131] Fix | Delete
},
[132] Fix | Delete
[133] Fix | Delete
// Execute a callback for every element in the matched set.
[134] Fix | Delete
each: function( callback ) {
[135] Fix | Delete
return jQuery.each( this, callback );
[136] Fix | Delete
},
[137] Fix | Delete
[138] Fix | Delete
map: function( callback ) {
[139] Fix | Delete
return this.pushStack( jQuery.map( this, function( elem, i ) {
[140] Fix | Delete
return callback.call( elem, i, elem );
[141] Fix | Delete
} ) );
[142] Fix | Delete
},
[143] Fix | Delete
[144] Fix | Delete
slice: function() {
[145] Fix | Delete
return this.pushStack( slice.apply( this, arguments ) );
[146] Fix | Delete
},
[147] Fix | Delete
[148] Fix | Delete
first: function() {
[149] Fix | Delete
return this.eq( 0 );
[150] Fix | Delete
},
[151] Fix | Delete
[152] Fix | Delete
last: function() {
[153] Fix | Delete
return this.eq( -1 );
[154] Fix | Delete
},
[155] Fix | Delete
[156] Fix | Delete
eq: function( i ) {
[157] Fix | Delete
var len = this.length,
[158] Fix | Delete
j = +i + ( i < 0 ? len : 0 );
[159] Fix | Delete
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
[160] Fix | Delete
},
[161] Fix | Delete
[162] Fix | Delete
end: function() {
[163] Fix | Delete
return this.prevObject || this.constructor();
[164] Fix | Delete
},
[165] Fix | Delete
[166] Fix | Delete
// For internal use only.
[167] Fix | Delete
// Behaves like an Array's method, not like a jQuery method.
[168] Fix | Delete
push: push,
[169] Fix | Delete
sort: arr.sort,
[170] Fix | Delete
splice: arr.splice
[171] Fix | Delete
};
[172] Fix | Delete
[173] Fix | Delete
jQuery.extend = jQuery.fn.extend = function() {
[174] Fix | Delete
var options, name, src, copy, copyIsArray, clone,
[175] Fix | Delete
target = arguments[ 0 ] || {},
[176] Fix | Delete
i = 1,
[177] Fix | Delete
length = arguments.length,
[178] Fix | Delete
deep = false;
[179] Fix | Delete
[180] Fix | Delete
// Handle a deep copy situation
[181] Fix | Delete
if ( typeof target === "boolean" ) {
[182] Fix | Delete
deep = target;
[183] Fix | Delete
[184] Fix | Delete
// Skip the boolean and the target
[185] Fix | Delete
target = arguments[ i ] || {};
[186] Fix | Delete
i++;
[187] Fix | Delete
}
[188] Fix | Delete
[189] Fix | Delete
// Handle case when target is a string or something (possible in deep copy)
[190] Fix | Delete
if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
[191] Fix | Delete
target = {};
[192] Fix | Delete
}
[193] Fix | Delete
[194] Fix | Delete
// Extend jQuery itself if only one argument is passed
[195] Fix | Delete
if ( i === length ) {
[196] Fix | Delete
target = this;
[197] Fix | Delete
i--;
[198] Fix | Delete
}
[199] Fix | Delete
[200] Fix | Delete
for ( ; i < length; i++ ) {
[201] Fix | Delete
[202] Fix | Delete
// Only deal with non-null/undefined values
[203] Fix | Delete
if ( ( options = arguments[ i ] ) != null ) {
[204] Fix | Delete
[205] Fix | Delete
// Extend the base object
[206] Fix | Delete
for ( name in options ) {
[207] Fix | Delete
src = target[ name ];
[208] Fix | Delete
copy = options[ name ];
[209] Fix | Delete
[210] Fix | Delete
// Prevent never-ending loop
[211] Fix | Delete
if ( target === copy ) {
[212] Fix | Delete
continue;
[213] Fix | Delete
}
[214] Fix | Delete
[215] Fix | Delete
// Recurse if we're merging plain objects or arrays
[216] Fix | Delete
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
[217] Fix | Delete
( copyIsArray = jQuery.isArray( copy ) ) ) ) {
[218] Fix | Delete
[219] Fix | Delete
if ( copyIsArray ) {
[220] Fix | Delete
copyIsArray = false;
[221] Fix | Delete
clone = src && jQuery.isArray( src ) ? src : [];
[222] Fix | Delete
[223] Fix | Delete
} else {
[224] Fix | Delete
clone = src && jQuery.isPlainObject( src ) ? src : {};
[225] Fix | Delete
}
[226] Fix | Delete
[227] Fix | Delete
// Never move original objects, clone them
[228] Fix | Delete
target[ name ] = jQuery.extend( deep, clone, copy );
[229] Fix | Delete
[230] Fix | Delete
// Don't bring in undefined values
[231] Fix | Delete
} else if ( copy !== undefined ) {
[232] Fix | Delete
target[ name ] = copy;
[233] Fix | Delete
}
[234] Fix | Delete
}
[235] Fix | Delete
}
[236] Fix | Delete
}
[237] Fix | Delete
[238] Fix | Delete
// Return the modified object
[239] Fix | Delete
return target;
[240] Fix | Delete
};
[241] Fix | Delete
[242] Fix | Delete
jQuery.extend( {
[243] Fix | Delete
[244] Fix | Delete
// Unique for each copy of jQuery on the page
[245] Fix | Delete
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
[246] Fix | Delete
[247] Fix | Delete
// Assume jQuery is ready without the ready module
[248] Fix | Delete
isReady: true,
[249] Fix | Delete
[250] Fix | Delete
error: function( msg ) {
[251] Fix | Delete
throw new Error( msg );
[252] Fix | Delete
},
[253] Fix | Delete
[254] Fix | Delete
noop: function() {},
[255] Fix | Delete
[256] Fix | Delete
isFunction: function( obj ) {
[257] Fix | Delete
return jQuery.type( obj ) === "function";
[258] Fix | Delete
},
[259] Fix | Delete
[260] Fix | Delete
isArray: Array.isArray,
[261] Fix | Delete
[262] Fix | Delete
isWindow: function( obj ) {
[263] Fix | Delete
return obj != null && obj === obj.window;
[264] Fix | Delete
},
[265] Fix | Delete
[266] Fix | Delete
isNumeric: function( obj ) {
[267] Fix | Delete
[268] Fix | Delete
// parseFloat NaNs numeric-cast false positives (null|true|false|"")
[269] Fix | Delete
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
[270] Fix | Delete
// subtraction forces infinities to NaN
[271] Fix | Delete
// adding 1 corrects loss of precision from parseFloat (#15100)
[272] Fix | Delete
var realStringObj = obj && obj.toString();
[273] Fix | Delete
return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0;
[274] Fix | Delete
},
[275] Fix | Delete
[276] Fix | Delete
isPlainObject: function( obj ) {
[277] Fix | Delete
var key;
[278] Fix | Delete
[279] Fix | Delete
// Not plain objects:
[280] Fix | Delete
// - Any object or value whose internal [[Class]] property is not "[object Object]"
[281] Fix | Delete
// - DOM nodes
[282] Fix | Delete
// - window
[283] Fix | Delete
if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
[284] Fix | Delete
return false;
[285] Fix | Delete
}
[286] Fix | Delete
[287] Fix | Delete
// Not own constructor property must be Object
[288] Fix | Delete
if ( obj.constructor &&
[289] Fix | Delete
!hasOwn.call( obj, "constructor" ) &&
[290] Fix | Delete
!hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) {
[291] Fix | Delete
return false;
[292] Fix | Delete
}
[293] Fix | Delete
[294] Fix | Delete
// Own properties are enumerated firstly, so to speed up,
[295] Fix | Delete
// if last one is own, then all properties are own
[296] Fix | Delete
for ( key in obj ) {}
[297] Fix | Delete
[298] Fix | Delete
return key === undefined || hasOwn.call( obj, key );
[299] Fix | Delete
},
[300] Fix | Delete
[301] Fix | Delete
isEmptyObject: function( obj ) {
[302] Fix | Delete
var name;
[303] Fix | Delete
for ( name in obj ) {
[304] Fix | Delete
return false;
[305] Fix | Delete
}
[306] Fix | Delete
return true;
[307] Fix | Delete
},
[308] Fix | Delete
[309] Fix | Delete
type: function( obj ) {
[310] Fix | Delete
if ( obj == null ) {
[311] Fix | Delete
return obj + "";
[312] Fix | Delete
}
[313] Fix | Delete
[314] Fix | Delete
// Support: Android<4.0, iOS<6 (functionish RegExp)
[315] Fix | Delete
return typeof obj === "object" || typeof obj === "function" ?
[316] Fix | Delete
class2type[ toString.call( obj ) ] || "object" :
[317] Fix | Delete
typeof obj;
[318] Fix | Delete
},
[319] Fix | Delete
[320] Fix | Delete
// Evaluates a script in a global context
[321] Fix | Delete
globalEval: function( code ) {
[322] Fix | Delete
var script,
[323] Fix | Delete
indirect = eval;
[324] Fix | Delete
[325] Fix | Delete
code = jQuery.trim( code );
[326] Fix | Delete
[327] Fix | Delete
if ( code ) {
[328] Fix | Delete
[329] Fix | Delete
// If the code includes a valid, prologue position
[330] Fix | Delete
// strict mode pragma, execute code by injecting a
[331] Fix | Delete
// script tag into the document.
[332] Fix | Delete
if ( code.indexOf( "use strict" ) === 1 ) {
[333] Fix | Delete
script = document.createElement( "script" );
[334] Fix | Delete
script.text = code;
[335] Fix | Delete
document.head.appendChild( script ).parentNode.removeChild( script );
[336] Fix | Delete
} else {
[337] Fix | Delete
[338] Fix | Delete
// Otherwise, avoid the DOM node creation, insertion
[339] Fix | Delete
// and removal by using an indirect global eval
[340] Fix | Delete
[341] Fix | Delete
indirect( code );
[342] Fix | Delete
}
[343] Fix | Delete
}
[344] Fix | Delete
},
[345] Fix | Delete
[346] Fix | Delete
// Convert dashed to camelCase; used by the css and data modules
[347] Fix | Delete
// Support: IE9-11+
[348] Fix | Delete
// Microsoft forgot to hump their vendor prefix (#9572)
[349] Fix | Delete
camelCase: function( string ) {
[350] Fix | Delete
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
[351] Fix | Delete
},
[352] Fix | Delete
[353] Fix | Delete
nodeName: function( elem, name ) {
[354] Fix | Delete
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
[355] Fix | Delete
},
[356] Fix | Delete
[357] Fix | Delete
each: function( obj, callback ) {
[358] Fix | Delete
var length, i = 0;
[359] Fix | Delete
[360] Fix | Delete
if ( isArrayLike( obj ) ) {
[361] Fix | Delete
length = obj.length;
[362] Fix | Delete
for ( ; i < length; i++ ) {
[363] Fix | Delete
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
[364] Fix | Delete
break;
[365] Fix | Delete
}
[366] Fix | Delete
}
[367] Fix | Delete
} else {
[368] Fix | Delete
for ( i in obj ) {
[369] Fix | Delete
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
[370] Fix | Delete
break;
[371] Fix | Delete
}
[372] Fix | Delete
}
[373] Fix | Delete
}
[374] Fix | Delete
[375] Fix | Delete
return obj;
[376] Fix | Delete
},
[377] Fix | Delete
[378] Fix | Delete
// Support: Android<4.1
[379] Fix | Delete
trim: function( text ) {
[380] Fix | Delete
return text == null ?
[381] Fix | Delete
"" :
[382] Fix | Delete
( text + "" ).replace( rtrim, "" );
[383] Fix | Delete
},
[384] Fix | Delete
[385] Fix | Delete
// results is for internal usage only
[386] Fix | Delete
makeArray: function( arr, results ) {
[387] Fix | Delete
var ret = results || [];
[388] Fix | Delete
[389] Fix | Delete
if ( arr != null ) {
[390] Fix | Delete
if ( isArrayLike( Object( arr ) ) ) {
[391] Fix | Delete
jQuery.merge( ret,
[392] Fix | Delete
typeof arr === "string" ?
[393] Fix | Delete
[ arr ] : arr
[394] Fix | Delete
);
[395] Fix | Delete
} else {
[396] Fix | Delete
push.call( ret, arr );
[397] Fix | Delete
}
[398] Fix | Delete
}
[399] Fix | Delete
[400] Fix | Delete
return ret;
[401] Fix | Delete
},
[402] Fix | Delete
[403] Fix | Delete
inArray: function( elem, arr, i ) {
[404] Fix | Delete
return arr == null ? -1 : indexOf.call( arr, elem, i );
[405] Fix | Delete
},
[406] Fix | Delete
[407] Fix | Delete
merge: function( first, second ) {
[408] Fix | Delete
var len = +second.length,
[409] Fix | Delete
j = 0,
[410] Fix | Delete
i = first.length;
[411] Fix | Delete
[412] Fix | Delete
for ( ; j < len; j++ ) {
[413] Fix | Delete
first[ i++ ] = second[ j ];
[414] Fix | Delete
}
[415] Fix | Delete
[416] Fix | Delete
first.length = i;
[417] Fix | Delete
[418] Fix | Delete
return first;
[419] Fix | Delete
},
[420] Fix | Delete
[421] Fix | Delete
grep: function( elems, callback, invert ) {
[422] Fix | Delete
var callbackInverse,
[423] Fix | Delete
matches = [],
[424] Fix | Delete
i = 0,
[425] Fix | Delete
length = elems.length,
[426] Fix | Delete
callbackExpect = !invert;
[427] Fix | Delete
[428] Fix | Delete
// Go through the array, only saving the items
[429] Fix | Delete
// that pass the validator function
[430] Fix | Delete
for ( ; i < length; i++ ) {
[431] Fix | Delete
callbackInverse = !callback( elems[ i ], i );
[432] Fix | Delete
if ( callbackInverse !== callbackExpect ) {
[433] Fix | Delete
matches.push( elems[ i ] );
[434] Fix | Delete
}
[435] Fix | Delete
}
[436] Fix | Delete
[437] Fix | Delete
return matches;
[438] Fix | Delete
},
[439] Fix | Delete
[440] Fix | Delete
// arg is for internal usage only
[441] Fix | Delete
map: function( elems, callback, arg ) {
[442] Fix | Delete
var length, value,
[443] Fix | Delete
i = 0,
[444] Fix | Delete
ret = [];
[445] Fix | Delete
[446] Fix | Delete
// Go through the array, translating each of the items to their new values
[447] Fix | Delete
if ( isArrayLike( elems ) ) {
[448] Fix | Delete
length = elems.length;
[449] Fix | Delete
for ( ; i < length; i++ ) {
[450] Fix | Delete
value = callback( elems[ i ], i, arg );
[451] Fix | Delete
[452] Fix | Delete
if ( value != null ) {
[453] Fix | Delete
ret.push( value );
[454] Fix | Delete
}
[455] Fix | Delete
}
[456] Fix | Delete
[457] Fix | Delete
// Go through every key on the object,
[458] Fix | Delete
} else {
[459] Fix | Delete
for ( i in elems ) {
[460] Fix | Delete
value = callback( elems[ i ], i, arg );
[461] Fix | Delete
[462] Fix | Delete
if ( value != null ) {
[463] Fix | Delete
ret.push( value );
[464] Fix | Delete
}
[465] Fix | Delete
}
[466] Fix | Delete
}
[467] Fix | Delete
[468] Fix | Delete
// Flatten any nested arrays
[469] Fix | Delete
return concat.apply( [], ret );
[470] Fix | Delete
},
[471] Fix | Delete
[472] Fix | Delete
// A global GUID counter for objects
[473] Fix | Delete
guid: 1,
[474] Fix | Delete
[475] Fix | Delete
// Bind a function to a context, optionally partially applying any
[476] Fix | Delete
// arguments.
[477] Fix | Delete
proxy: function( fn, context ) {
[478] Fix | Delete
var tmp, args, proxy;
[479] Fix | Delete
[480] Fix | Delete
if ( typeof context === "string" ) {
[481] Fix | Delete
tmp = fn[ context ];
[482] Fix | Delete
context = fn;
[483] Fix | Delete
fn = tmp;
[484] Fix | Delete
}
[485] Fix | Delete
[486] Fix | Delete
// Quick check to determine if target is callable, in the spec
[487] Fix | Delete
// this throws a TypeError, but we will just return undefined.
[488] Fix | Delete
if ( !jQuery.isFunction( fn ) ) {
[489] Fix | Delete
return undefined;
[490] Fix | Delete
}
[491] Fix | Delete
[492] Fix | Delete
// Simulated bind
[493] Fix | Delete
args = slice.call( arguments, 2 );
[494] Fix | Delete
proxy = function() {
[495] Fix | Delete
return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
[496] Fix | Delete
};
[497] Fix | Delete
[498] Fix | Delete
// Set the guid of unique handler to the same of original handler, so it can be removed
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function