|
|
@ -1,5 +1,5 @@ |
|
|
|
/*! |
|
|
|
/*! |
|
|
|
* jQuery JavaScript Library v1.12.4 |
|
|
|
* jQuery JavaScript Library v3.6.1 |
|
|
|
* http://jquery.com/
|
|
|
|
* http://jquery.com/
|
|
|
|
* |
|
|
|
* |
|
|
|
* Includes Sizzle.js |
|
|
|
* Includes Sizzle.js |
|
|
@ -63,16 +63,15 @@ |
|
|
|
var support = {}; |
|
|
|
var support = {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var |
|
|
|
var |
|
|
|
version = "1.12.4", |
|
|
|
version = "3.6.1", |
|
|
|
|
|
|
|
|
|
|
|
// Define a local copy of jQuery
|
|
|
|
// Define a local copy of jQuery
|
|
|
|
jQuery = function( selector, context ) { |
|
|
|
jQuery = function (selector, context) { |
|
|
|
|
|
|
|
|
|
|
|
// The jQuery object is actually just the init constructor 'enhanced'
|
|
|
|
// The jQuery object is actually just the init constructor 'enhanced'
|
|
|
|
// Need init if jQuery is called (just allow error to be thrown if not included)
|
|
|
|
// Need init if jQuery is called (just allow error to be thrown if not included)
|
|
|
|
return new jQuery.fn.init( selector, context ); |
|
|
|
return new jQuery.fn.init(selector, context); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// Support: Android<4.1, IE<9
|
|
|
|
// Support: Android<4.1, IE<9
|
|
|
@ -10537,54 +10536,82 @@ |
|
|
|
s.jsonpCallback = originalSettings.jsonpCallback; |
|
|
|
s.jsonpCallback = originalSettings.jsonpCallback; |
|
|
|
|
|
|
|
|
|
|
|
// save the callback name for future use
|
|
|
|
// save the callback name for future use
|
|
|
|
oldCallbacks.push( callbackName ); |
|
|
|
oldCallbacks.push(callbackName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Call if it was a function and we have a response
|
|
|
|
// Call if it was a function and we have a response
|
|
|
|
if ( responseContainer && jQuery.isFunction( overwritten ) ) { |
|
|
|
if (responseContainer && jQuery.isFunction(overwritten)) { |
|
|
|
overwritten( responseContainer[ 0 ] ); |
|
|
|
overwritten(responseContainer[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
responseContainer = overwritten = undefined; |
|
|
|
responseContainer = overwritten = undefined; |
|
|
|
} ); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// Delegate to script
|
|
|
|
// Delegate to script
|
|
|
|
return "script"; |
|
|
|
return "script"; |
|
|
|
} |
|
|
|
} |
|
|
|
} ); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Support: Safari 8 only
|
|
|
|
|
|
|
|
// In Safari 8 documents created via document.implementation.createHTMLDocument
|
|
|
|
|
|
|
|
// collapse sibling forms: the second one becomes a child of the first one.
|
|
|
|
|
|
|
|
// Because of that, this security measure has to be disabled in Safari 8.
|
|
|
|
|
|
|
|
// https://bugs.webkit.org/show_bug.cgi?id=137337
|
|
|
|
|
|
|
|
support.createHTMLDocument = (function () { |
|
|
|
|
|
|
|
var body = document.implementation.createHTMLDocument("").body; |
|
|
|
|
|
|
|
body.innerHTML = "<form></form><form></form>"; |
|
|
|
|
|
|
|
return body.childNodes.length === 2; |
|
|
|
|
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// data: string of html
|
|
|
|
// data: string of html
|
|
|
|
// context (optional): If specified, the fragment will be created in this context,
|
|
|
|
// context (optional): If specified, the fragment will be created in this context,
|
|
|
|
// defaults to document
|
|
|
|
// defaults to document
|
|
|
|
// keepScripts (optional): If true, will include scripts passed in the html string
|
|
|
|
// keepScripts (optional): If true, will include scripts passed in the html string
|
|
|
|
jQuery.parseHTML = function( data, context, keepScripts ) { |
|
|
|
jQuery.parseHTML = function (data, context, keepScripts) { |
|
|
|
if ( !data || typeof data !== "string" ) { |
|
|
|
if (!data || typeof data !== "string") { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
if ( typeof context === "boolean" ) { |
|
|
|
if (typeof context === "boolean") { |
|
|
|
keepScripts = context; |
|
|
|
keepScripts = context; |
|
|
|
context = false; |
|
|
|
context = false; |
|
|
|
} |
|
|
|
} |
|
|
|
context = context || document; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var parsed = rsingleTag.exec( data ), |
|
|
|
var base, parsed, scripts; |
|
|
|
scripts = !keepScripts && []; |
|
|
|
|
|
|
|
|
|
|
|
if (!context) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Stop scripts or inline event handlers from being executed immediately
|
|
|
|
|
|
|
|
// by using document.implementation
|
|
|
|
|
|
|
|
if (support.createHTMLDocument) { |
|
|
|
|
|
|
|
context = document.implementation.createHTMLDocument(""); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Set the base href for the created document
|
|
|
|
|
|
|
|
// so any parsed elements with URLs
|
|
|
|
|
|
|
|
// are based on the document's URL (gh-2965)
|
|
|
|
|
|
|
|
base = context.createElement("base"); |
|
|
|
|
|
|
|
base.href = document.location.href; |
|
|
|
|
|
|
|
context.head.appendChild(base); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
context = document; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
parsed = rsingleTag.exec(data); |
|
|
|
|
|
|
|
scripts = !keepScripts && []; |
|
|
|
|
|
|
|
|
|
|
|
// Single tag
|
|
|
|
// Single tag
|
|
|
|
if ( parsed ) { |
|
|
|
if (parsed) { |
|
|
|
return [ context.createElement( parsed[ 1 ] ) ]; |
|
|
|
return [context.createElement(parsed[1])]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
parsed = buildFragment( [ data ], context, scripts ); |
|
|
|
parsed = buildFragment([data], context, scripts); |
|
|
|
|
|
|
|
|
|
|
|
if ( scripts && scripts.length ) { |
|
|
|
if (scripts && scripts.length) { |
|
|
|
jQuery( scripts ).remove(); |
|
|
|
jQuery(scripts).remove(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return jQuery.merge( [], parsed.childNodes ); |
|
|
|
return jQuery.merge([], parsed.childNodes); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|