Updated bower dependencies for client.
This commit is contained in:
parent
1b47de7c5f
commit
fe5b68e1c4
136 changed files with 7596 additions and 9284 deletions
app/bower_components/jquery
.bower.jsonAUTHORS.txtLICENSE.txtREADME.md
dist
external/sizzle/dist
src
.eslintrc.jsonajax.js
ajax
attributes
core.jscore
css.jscss
deferred.jsdeprecated.jsdeprecated
dimensions.jseffects.jseffects
event.jsevent
exports
jquery.jsmanipulation.jsmanipulation
offset.jsselector-native.jsserialize.jstraversing.jsvar
10
app/bower_components/jquery/.bower.json
vendored
10
app/bower_components/jquery/.bower.json
vendored
|
@ -12,14 +12,14 @@
|
|||
"library"
|
||||
],
|
||||
"homepage": "https://github.com/jquery/jquery-dist",
|
||||
"version": "3.4.1",
|
||||
"_release": "3.4.1",
|
||||
"version": "3.6.0",
|
||||
"_release": "3.6.0",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "3.4.1",
|
||||
"commit": "15bc73803f76bc53b654b9fdbbbc096f56d7c03d"
|
||||
"tag": "3.6.0",
|
||||
"commit": "e786e3d9707ffd9b0dd330ca135b66344dcef85a"
|
||||
},
|
||||
"_source": "https://github.com/jquery/jquery-dist.git",
|
||||
"_target": "3.4.1",
|
||||
"_target": "3.6.0",
|
||||
"_originalSource": "jquery"
|
||||
}
|
14
app/bower_components/jquery/AUTHORS.txt
vendored
14
app/bower_components/jquery/AUTHORS.txt
vendored
|
@ -1,5 +1,3 @@
|
|||
Authors ordered by first contribution.
|
||||
|
||||
John Resig <jeresig@gmail.com>
|
||||
Gilles van den Hoven <gilles0181@gmail.com>
|
||||
Michael Geary <mike@geary.com>
|
||||
|
@ -319,3 +317,15 @@ Andrei Fangli <andrei_fangli@outlook.com>
|
|||
Marja Hölttä <marja.holtta@gmail.com>
|
||||
abnud1 <ahmad13932013@hotmail.com>
|
||||
buddh4 <mail@jharrer.de>
|
||||
Pat O'Callaghan <patocallaghan@gmail.com>
|
||||
Ahmed.S.ElAfifi <ahmed.s.elafifi@gmail.com>
|
||||
Wonseop Kim <wonseop.kim@samsung.com>
|
||||
Christian Oliff <christianoliff@pm.me>
|
||||
Christian Wenz <christian@wenz.org>
|
||||
Sean Robinson <sean.robinson@scottsdalecc.edu>
|
||||
Jonathan <vanillajonathan@users.noreply.github.com>
|
||||
Pierre Grimaud <grimaud.pierre@gmail.com>
|
||||
Beatriz Rezener <beatrizrezener@users.noreply.github.com>
|
||||
Natalia Sroka <37873210+natipo@users.noreply.github.com>
|
||||
Wonhyoung Park <wh05.park@samsung.com>
|
||||
Dallas Fraser <dallas.fraser.waterloo@gmail.com>
|
||||
|
|
2
app/bower_components/jquery/LICENSE.txt
vendored
2
app/bower_components/jquery/LICENSE.txt
vendored
|
@ -1,4 +1,4 @@
|
|||
Copyright JS Foundation and other contributors, https://js.foundation/
|
||||
Copyright OpenJS Foundation and other contributors, https://openjsf.org/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
|
33
app/bower_components/jquery/README.md
vendored
33
app/bower_components/jquery/README.md
vendored
|
@ -2,10 +2,10 @@
|
|||
|
||||
> jQuery is a fast, small, and feature-rich JavaScript library.
|
||||
|
||||
For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
|
||||
For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
|
||||
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
|
||||
|
||||
If upgrading, please see the [blog post for 3.4.1](https://blog.jquery.com/2019/05/01/jquery-3-4-1-triggering-focus-events-in-ie-and-finding-root-elements-in-ios-10/). This includes notable differences from the previous version and a more readable changelog.
|
||||
If upgrading, please see the [blog post for 3.6.0](https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/). This includes notable differences from the previous version and a more readable changelog.
|
||||
|
||||
## Including jQuery
|
||||
|
||||
|
@ -16,12 +16,12 @@ Below are some of the most common ways to include jQuery.
|
|||
#### Script tag
|
||||
|
||||
```html
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
```
|
||||
|
||||
#### Babel
|
||||
|
||||
[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
|
||||
[Babel](https://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
|
||||
|
||||
```js
|
||||
import $ from "jquery";
|
||||
|
@ -29,39 +29,34 @@ import $ from "jquery";
|
|||
|
||||
#### Browserify/Webpack
|
||||
|
||||
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
|
||||
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this...
|
||||
|
||||
```js
|
||||
var $ = require("jquery");
|
||||
var $ = require( "jquery" );
|
||||
```
|
||||
|
||||
#### AMD (Asynchronous Module Definition)
|
||||
|
||||
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
|
||||
AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](https://requirejs.org/docs/whyamd.html).
|
||||
|
||||
```js
|
||||
define(["jquery"], function($) {
|
||||
define( [ "jquery" ], function( $ ) {
|
||||
|
||||
});
|
||||
} );
|
||||
```
|
||||
|
||||
### Node
|
||||
|
||||
To include jQuery in [Node](nodejs.org), first install with npm.
|
||||
To include jQuery in [Node](https://nodejs.org/), first install with npm.
|
||||
|
||||
```sh
|
||||
npm install jquery
|
||||
```
|
||||
|
||||
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
|
||||
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/jsdom/jsdom). This can be useful for testing purposes.
|
||||
|
||||
```js
|
||||
require("jsdom").env("", function(err, window) {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
return;
|
||||
}
|
||||
|
||||
var $ = require("jquery")(window);
|
||||
});
|
||||
const { JSDOM } = require( "jsdom" );
|
||||
const { window } = new JSDOM( "" );
|
||||
const $ = require( "jquery" )( window );
|
||||
```
|
||||
|
|
399
app/bower_components/jquery/dist/core.js
vendored
399
app/bower_components/jquery/dist/core.js
vendored
|
@ -1,399 +0,0 @@
|
|||
/* global Symbol */
|
||||
// Defining this global in .eslintrc.json would create a danger of using the global
|
||||
// unguarded in another place, it seems safer to define global only for this module
|
||||
|
||||
define( [
|
||||
"./var/arr",
|
||||
"./var/document",
|
||||
"./var/getProto",
|
||||
"./var/slice",
|
||||
"./var/concat",
|
||||
"./var/push",
|
||||
"./var/indexOf",
|
||||
"./var/class2type",
|
||||
"./var/toString",
|
||||
"./var/hasOwn",
|
||||
"./var/fnToString",
|
||||
"./var/ObjectFunctionString",
|
||||
"./var/support",
|
||||
"./var/isFunction",
|
||||
"./var/isWindow",
|
||||
"./core/DOMEval",
|
||||
"./core/toType"
|
||||
], function( arr, document, getProto, slice, concat, push, indexOf,
|
||||
class2type, toString, hasOwn, fnToString, ObjectFunctionString,
|
||||
support, isFunction, isWindow, DOMEval, toType ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var
|
||||
version = "3.4.1",
|
||||
|
||||
// Define a local copy of jQuery
|
||||
jQuery = function( selector, context ) {
|
||||
|
||||
// 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)
|
||||
return new jQuery.fn.init( selector, context );
|
||||
},
|
||||
|
||||
// Support: Android <=4.0 only
|
||||
// Make sure we trim BOM and NBSP
|
||||
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
||||
|
||||
jQuery.fn = jQuery.prototype = {
|
||||
|
||||
// The current version of jQuery being used
|
||||
jquery: version,
|
||||
|
||||
constructor: jQuery,
|
||||
|
||||
// The default length of a jQuery object is 0
|
||||
length: 0,
|
||||
|
||||
toArray: function() {
|
||||
return slice.call( this );
|
||||
},
|
||||
|
||||
// Get the Nth element in the matched element set OR
|
||||
// Get the whole matched element set as a clean array
|
||||
get: function( num ) {
|
||||
|
||||
// Return all the elements in a clean array
|
||||
if ( num == null ) {
|
||||
return slice.call( this );
|
||||
}
|
||||
|
||||
// Return just the one element from the set
|
||||
return num < 0 ? this[ num + this.length ] : this[ num ];
|
||||
},
|
||||
|
||||
// Take an array of elements and push it onto the stack
|
||||
// (returning the new matched element set)
|
||||
pushStack: function( elems ) {
|
||||
|
||||
// Build a new jQuery matched element set
|
||||
var ret = jQuery.merge( this.constructor(), elems );
|
||||
|
||||
// Add the old object onto the stack (as a reference)
|
||||
ret.prevObject = this;
|
||||
|
||||
// Return the newly-formed element set
|
||||
return ret;
|
||||
},
|
||||
|
||||
// Execute a callback for every element in the matched set.
|
||||
each: function( callback ) {
|
||||
return jQuery.each( this, callback );
|
||||
},
|
||||
|
||||
map: function( callback ) {
|
||||
return this.pushStack( jQuery.map( this, function( elem, i ) {
|
||||
return callback.call( elem, i, elem );
|
||||
} ) );
|
||||
},
|
||||
|
||||
slice: function() {
|
||||
return this.pushStack( slice.apply( this, arguments ) );
|
||||
},
|
||||
|
||||
first: function() {
|
||||
return this.eq( 0 );
|
||||
},
|
||||
|
||||
last: function() {
|
||||
return this.eq( -1 );
|
||||
},
|
||||
|
||||
eq: function( i ) {
|
||||
var len = this.length,
|
||||
j = +i + ( i < 0 ? len : 0 );
|
||||
return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
|
||||
},
|
||||
|
||||
end: function() {
|
||||
return this.prevObject || this.constructor();
|
||||
},
|
||||
|
||||
// For internal use only.
|
||||
// Behaves like an Array's method, not like a jQuery method.
|
||||
push: push,
|
||||
sort: arr.sort,
|
||||
splice: arr.splice
|
||||
};
|
||||
|
||||
jQuery.extend = jQuery.fn.extend = function() {
|
||||
var options, name, src, copy, copyIsArray, clone,
|
||||
target = arguments[ 0 ] || {},
|
||||
i = 1,
|
||||
length = arguments.length,
|
||||
deep = false;
|
||||
|
||||
// Handle a deep copy situation
|
||||
if ( typeof target === "boolean" ) {
|
||||
deep = target;
|
||||
|
||||
// Skip the boolean and the target
|
||||
target = arguments[ i ] || {};
|
||||
i++;
|
||||
}
|
||||
|
||||
// Handle case when target is a string or something (possible in deep copy)
|
||||
if ( typeof target !== "object" && !isFunction( target ) ) {
|
||||
target = {};
|
||||
}
|
||||
|
||||
// Extend jQuery itself if only one argument is passed
|
||||
if ( i === length ) {
|
||||
target = this;
|
||||
i--;
|
||||
}
|
||||
|
||||
for ( ; i < length; i++ ) {
|
||||
|
||||
// Only deal with non-null/undefined values
|
||||
if ( ( options = arguments[ i ] ) != null ) {
|
||||
|
||||
// Extend the base object
|
||||
for ( name in options ) {
|
||||
copy = options[ name ];
|
||||
|
||||
// Prevent Object.prototype pollution
|
||||
// Prevent never-ending loop
|
||||
if ( name === "__proto__" || target === copy ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Recurse if we're merging plain objects or arrays
|
||||
if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
|
||||
( copyIsArray = Array.isArray( copy ) ) ) ) {
|
||||
src = target[ name ];
|
||||
|
||||
// Ensure proper type for the source value
|
||||
if ( copyIsArray && !Array.isArray( src ) ) {
|
||||
clone = [];
|
||||
} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
|
||||
clone = {};
|
||||
} else {
|
||||
clone = src;
|
||||
}
|
||||
copyIsArray = false;
|
||||
|
||||
// Never move original objects, clone them
|
||||
target[ name ] = jQuery.extend( deep, clone, copy );
|
||||
|
||||
// Don't bring in undefined values
|
||||
} else if ( copy !== undefined ) {
|
||||
target[ name ] = copy;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Return the modified object
|
||||
return target;
|
||||
};
|
||||
|
||||
jQuery.extend( {
|
||||
|
||||
// Unique for each copy of jQuery on the page
|
||||
expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
|
||||
|
||||
// Assume jQuery is ready without the ready module
|
||||
isReady: true,
|
||||
|
||||
error: function( msg ) {
|
||||
throw new Error( msg );
|
||||
},
|
||||
|
||||
noop: function() {},
|
||||
|
||||
isPlainObject: function( obj ) {
|
||||
var proto, Ctor;
|
||||
|
||||
// Detect obvious negatives
|
||||
// Use toString instead of jQuery.type to catch host objects
|
||||
if ( !obj || toString.call( obj ) !== "[object Object]" ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
proto = getProto( obj );
|
||||
|
||||
// Objects with no prototype (e.g., `Object.create( null )`) are plain
|
||||
if ( !proto ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Objects with prototype are plain iff they were constructed by a global Object function
|
||||
Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
|
||||
return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
|
||||
},
|
||||
|
||||
isEmptyObject: function( obj ) {
|
||||
var name;
|
||||
|
||||
for ( name in obj ) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
||||
// Evaluates a script in a global context
|
||||
globalEval: function( code, options ) {
|
||||
DOMEval( code, { nonce: options && options.nonce } );
|
||||
},
|
||||
|
||||
each: function( obj, callback ) {
|
||||
var length, i = 0;
|
||||
|
||||
if ( isArrayLike( obj ) ) {
|
||||
length = obj.length;
|
||||
for ( ; i < length; i++ ) {
|
||||
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for ( i in obj ) {
|
||||
if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return obj;
|
||||
},
|
||||
|
||||
// Support: Android <=4.0 only
|
||||
trim: function( text ) {
|
||||
return text == null ?
|
||||
"" :
|
||||
( text + "" ).replace( rtrim, "" );
|
||||
},
|
||||
|
||||
// results is for internal usage only
|
||||
makeArray: function( arr, results ) {
|
||||
var ret = results || [];
|
||||
|
||||
if ( arr != null ) {
|
||||
if ( isArrayLike( Object( arr ) ) ) {
|
||||
jQuery.merge( ret,
|
||||
typeof arr === "string" ?
|
||||
[ arr ] : arr
|
||||
);
|
||||
} else {
|
||||
push.call( ret, arr );
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
},
|
||||
|
||||
inArray: function( elem, arr, i ) {
|
||||
return arr == null ? -1 : indexOf.call( arr, elem, i );
|
||||
},
|
||||
|
||||
// Support: Android <=4.0 only, PhantomJS 1 only
|
||||
// push.apply(_, arraylike) throws on ancient WebKit
|
||||
merge: function( first, second ) {
|
||||
var len = +second.length,
|
||||
j = 0,
|
||||
i = first.length;
|
||||
|
||||
for ( ; j < len; j++ ) {
|
||||
first[ i++ ] = second[ j ];
|
||||
}
|
||||
|
||||
first.length = i;
|
||||
|
||||
return first;
|
||||
},
|
||||
|
||||
grep: function( elems, callback, invert ) {
|
||||
var callbackInverse,
|
||||
matches = [],
|
||||
i = 0,
|
||||
length = elems.length,
|
||||
callbackExpect = !invert;
|
||||
|
||||
// Go through the array, only saving the items
|
||||
// that pass the validator function
|
||||
for ( ; i < length; i++ ) {
|
||||
callbackInverse = !callback( elems[ i ], i );
|
||||
if ( callbackInverse !== callbackExpect ) {
|
||||
matches.push( elems[ i ] );
|
||||
}
|
||||
}
|
||||
|
||||
return matches;
|
||||
},
|
||||
|
||||
// arg is for internal usage only
|
||||
map: function( elems, callback, arg ) {
|
||||
var length, value,
|
||||
i = 0,
|
||||
ret = [];
|
||||
|
||||
// Go through the array, translating each of the items to their new values
|
||||
if ( isArrayLike( elems ) ) {
|
||||
length = elems.length;
|
||||
for ( ; i < length; i++ ) {
|
||||
value = callback( elems[ i ], i, arg );
|
||||
|
||||
if ( value != null ) {
|
||||
ret.push( value );
|
||||
}
|
||||
}
|
||||
|
||||
// Go through every key on the object,
|
||||
} else {
|
||||
for ( i in elems ) {
|
||||
value = callback( elems[ i ], i, arg );
|
||||
|
||||
if ( value != null ) {
|
||||
ret.push( value );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Flatten any nested arrays
|
||||
return concat.apply( [], ret );
|
||||
},
|
||||
|
||||
// A global GUID counter for objects
|
||||
guid: 1,
|
||||
|
||||
// jQuery.support is not used in Core but other projects attach their
|
||||
// properties to it so it needs to exist.
|
||||
support: support
|
||||
} );
|
||||
|
||||
if ( typeof Symbol === "function" ) {
|
||||
jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
|
||||
}
|
||||
|
||||
// Populate the class2type map
|
||||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
|
||||
function( i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
|
||||
function isArrayLike( obj ) {
|
||||
|
||||
// Support: real iOS 8.2 only (not reproducible in simulator)
|
||||
// `in` check used to prevent JIT error (gh-2145)
|
||||
// hasOwn isn't used here due to false negatives
|
||||
// regarding Nodelist length in IE
|
||||
var length = !!obj && "length" in obj && obj.length,
|
||||
type = toType( obj );
|
||||
|
||||
if ( isFunction( obj ) || isWindow( obj ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return type === "array" || length === 0 ||
|
||||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
|
||||
}
|
||||
|
||||
return jQuery;
|
||||
} );
|
1415
app/bower_components/jquery/dist/jquery.js
vendored
1415
app/bower_components/jquery/dist/jquery.js
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1355
app/bower_components/jquery/dist/jquery.slim.js
vendored
1355
app/bower_components/jquery/dist/jquery.slim.js
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
14
app/bower_components/jquery/src/.eslintrc.json
vendored
14
app/bower_components/jquery/src/.eslintrc.json
vendored
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"root": true,
|
||||
|
||||
"extends": "../.eslintrc-browser.json",
|
||||
|
||||
"overrides": [
|
||||
{
|
||||
"files": "wrapper.js",
|
||||
"globals": {
|
||||
"jQuery": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
30
app/bower_components/jquery/src/ajax.js
vendored
30
app/bower_components/jquery/src/ajax.js
vendored
|
@ -8,7 +8,7 @@ define( [
|
|||
"./ajax/var/rquery",
|
||||
|
||||
"./core/init",
|
||||
"./ajax/parseXML",
|
||||
"./core/parseXML",
|
||||
"./event/trigger",
|
||||
"./deferred",
|
||||
"./serialize" // jQuery.param
|
||||
|
@ -50,7 +50,8 @@ var
|
|||
|
||||
// Anchor tag for parsing the document origin
|
||||
originAnchor = document.createElement( "a" );
|
||||
originAnchor.href = location.href;
|
||||
|
||||
originAnchor.href = location.href;
|
||||
|
||||
// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
|
||||
function addToPrefiltersOrTransports( structure ) {
|
||||
|
@ -431,8 +432,8 @@ jQuery.extend( {
|
|||
// Context for global events is callbackContext if it is a DOM node or jQuery collection
|
||||
globalEventContext = s.context &&
|
||||
( callbackContext.nodeType || callbackContext.jquery ) ?
|
||||
jQuery( callbackContext ) :
|
||||
jQuery.event,
|
||||
jQuery( callbackContext ) :
|
||||
jQuery.event,
|
||||
|
||||
// Deferreds
|
||||
deferred = jQuery.Deferred(),
|
||||
|
@ -610,7 +611,8 @@ jQuery.extend( {
|
|||
// Add or update anti-cache param if needed
|
||||
if ( s.cache === false ) {
|
||||
cacheURL = cacheURL.replace( rantiCache, "$1" );
|
||||
uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached;
|
||||
uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) +
|
||||
uncached;
|
||||
}
|
||||
|
||||
// Put hash and anti-cache on the URL that will be requested (gh-1732)
|
||||
|
@ -743,6 +745,13 @@ jQuery.extend( {
|
|||
response = ajaxHandleResponses( s, jqXHR, responses );
|
||||
}
|
||||
|
||||
// Use a noop converter for missing script but not if jsonp
|
||||
if ( !isSuccess &&
|
||||
jQuery.inArray( "script", s.dataTypes ) > -1 &&
|
||||
jQuery.inArray( "json", s.dataTypes ) < 0 ) {
|
||||
s.converters[ "text script" ] = function() {};
|
||||
}
|
||||
|
||||
// Convert no matter what (that way responseXXX fields are always set)
|
||||
response = ajaxConvert( s, response, jqXHR, isSuccess );
|
||||
|
||||
|
@ -833,7 +842,7 @@ jQuery.extend( {
|
|||
}
|
||||
} );
|
||||
|
||||
jQuery.each( [ "get", "post" ], function( i, method ) {
|
||||
jQuery.each( [ "get", "post" ], function( _i, method ) {
|
||||
jQuery[ method ] = function( url, data, callback, type ) {
|
||||
|
||||
// Shift arguments if data argument was omitted
|
||||
|
@ -854,5 +863,14 @@ jQuery.each( [ "get", "post" ], function( i, method ) {
|
|||
};
|
||||
} );
|
||||
|
||||
jQuery.ajaxPrefilter( function( s ) {
|
||||
var i;
|
||||
for ( i in s.headers ) {
|
||||
if ( i.toLowerCase() === "content-type" ) {
|
||||
s.contentType = s.headers[ i ] || "";
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
return jQuery;
|
||||
} );
|
||||
|
|
|
@ -15,7 +15,7 @@ var oldCallbacks = [],
|
|||
jQuery.ajaxSetup( {
|
||||
jsonp: "callback",
|
||||
jsonpCallback: function() {
|
||||
var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
|
||||
var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) );
|
||||
this[ callback ] = true;
|
||||
return callback;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
define( function() {
|
||||
"use strict";
|
||||
|
||||
return Date.now();
|
||||
return { guid: Date.now() };
|
||||
} );
|
||||
|
|
|
@ -117,7 +117,7 @@ boolHook = {
|
|||
}
|
||||
};
|
||||
|
||||
jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
|
||||
jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {
|
||||
var getter = attrHandle[ name ] || jQuery.find.attr;
|
||||
|
||||
attrHandle[ name ] = function( elem, name, isXML ) {
|
||||
|
|
|
@ -159,8 +159,8 @@ jQuery.fn.extend( {
|
|||
if ( this.setAttribute ) {
|
||||
this.setAttribute( "class",
|
||||
className || value === false ?
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ jQuery.fn.extend( {
|
|||
while ( ( elem = this[ i++ ] ) ) {
|
||||
if ( elem.nodeType === 1 &&
|
||||
( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
49
app/bower_components/jquery/src/core.js
vendored
49
app/bower_components/jquery/src/core.js
vendored
|
@ -4,10 +4,9 @@
|
|||
|
||||
define( [
|
||||
"./var/arr",
|
||||
"./var/document",
|
||||
"./var/getProto",
|
||||
"./var/slice",
|
||||
"./var/concat",
|
||||
"./var/flat",
|
||||
"./var/push",
|
||||
"./var/indexOf",
|
||||
"./var/class2type",
|
||||
|
@ -20,14 +19,14 @@ define( [
|
|||
"./var/isWindow",
|
||||
"./core/DOMEval",
|
||||
"./core/toType"
|
||||
], function( arr, document, getProto, slice, concat, push, indexOf,
|
||||
], function( arr, getProto, slice, flat, push, indexOf,
|
||||
class2type, toString, hasOwn, fnToString, ObjectFunctionString,
|
||||
support, isFunction, isWindow, DOMEval, toType ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var
|
||||
version = "3.4.1",
|
||||
version = "3.6.0",
|
||||
|
||||
// Define a local copy of jQuery
|
||||
jQuery = function( selector, context ) {
|
||||
|
@ -35,11 +34,7 @@ var
|
|||
// 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)
|
||||
return new jQuery.fn.init( selector, context );
|
||||
},
|
||||
|
||||
// Support: Android <=4.0 only
|
||||
// Make sure we trim BOM and NBSP
|
||||
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
||||
};
|
||||
|
||||
jQuery.fn = jQuery.prototype = {
|
||||
|
||||
|
@ -105,6 +100,18 @@ jQuery.fn = jQuery.prototype = {
|
|||
return this.eq( -1 );
|
||||
},
|
||||
|
||||
even: function() {
|
||||
return this.pushStack( jQuery.grep( this, function( _elem, i ) {
|
||||
return ( i + 1 ) % 2;
|
||||
} ) );
|
||||
},
|
||||
|
||||
odd: function() {
|
||||
return this.pushStack( jQuery.grep( this, function( _elem, i ) {
|
||||
return i % 2;
|
||||
} ) );
|
||||
},
|
||||
|
||||
eq: function( i ) {
|
||||
var len = this.length,
|
||||
j = +i + ( i < 0 ? len : 0 );
|
||||
|
@ -238,9 +245,10 @@ jQuery.extend( {
|
|||
return true;
|
||||
},
|
||||
|
||||
// Evaluates a script in a global context
|
||||
globalEval: function( code, options ) {
|
||||
DOMEval( code, { nonce: options && options.nonce } );
|
||||
// Evaluates a script in a provided context; falls back to the global one
|
||||
// if not specified.
|
||||
globalEval: function( code, options, doc ) {
|
||||
DOMEval( code, { nonce: options && options.nonce }, doc );
|
||||
},
|
||||
|
||||
each: function( obj, callback ) {
|
||||
|
@ -264,13 +272,6 @@ jQuery.extend( {
|
|||
return obj;
|
||||
},
|
||||
|
||||
// Support: Android <=4.0 only
|
||||
trim: function( text ) {
|
||||
return text == null ?
|
||||
"" :
|
||||
( text + "" ).replace( rtrim, "" );
|
||||
},
|
||||
|
||||
// results is for internal usage only
|
||||
makeArray: function( arr, results ) {
|
||||
var ret = results || [];
|
||||
|
@ -279,7 +280,7 @@ jQuery.extend( {
|
|||
if ( isArrayLike( Object( arr ) ) ) {
|
||||
jQuery.merge( ret,
|
||||
typeof arr === "string" ?
|
||||
[ arr ] : arr
|
||||
[ arr ] : arr
|
||||
);
|
||||
} else {
|
||||
push.call( ret, arr );
|
||||
|
@ -357,7 +358,7 @@ jQuery.extend( {
|
|||
}
|
||||
|
||||
// Flatten any nested arrays
|
||||
return concat.apply( [], ret );
|
||||
return flat( ret );
|
||||
},
|
||||
|
||||
// A global GUID counter for objects
|
||||
|
@ -374,9 +375,9 @@ if ( typeof Symbol === "function" ) {
|
|||
|
||||
// Populate the class2type map
|
||||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
|
||||
function( i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
function( _i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
|
||||
function isArrayLike( obj ) {
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
|||
// ...except when executing function values
|
||||
} else {
|
||||
bulk = fn;
|
||||
fn = function( elem, key, value ) {
|
||||
fn = function( elem, _key, value ) {
|
||||
return bulk.call( jQuery( elem ), value );
|
||||
};
|
||||
}
|
||||
|
@ -48,8 +48,8 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
|||
for ( ; i < len; i++ ) {
|
||||
fn(
|
||||
elems[ i ], key, raw ?
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ var rmsPrefix = /^-ms-/,
|
|||
rdashAlpha = /-([a-z])/g;
|
||||
|
||||
// Used by camelCase as callback to replace()
|
||||
function fcamelCase( all, letter ) {
|
||||
function fcamelCase( _all, letter ) {
|
||||
return letter.toUpperCase();
|
||||
}
|
||||
|
||||
|
|
|
@ -4,9 +4,9 @@ define( function() {
|
|||
|
||||
function nodeName( elem, name ) {
|
||||
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
return nodeName;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ define( [
|
|||
|
||||
// Cross-browser xml parsing
|
||||
jQuery.parseXML = function( data ) {
|
||||
var xml;
|
||||
var xml, parserErrorElem;
|
||||
if ( !data || typeof data !== "string" ) {
|
||||
return null;
|
||||
}
|
||||
|
@ -15,12 +15,17 @@ jQuery.parseXML = function( data ) {
|
|||
// IE throws on parseFromString with invalid input.
|
||||
try {
|
||||
xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
|
||||
} catch ( e ) {
|
||||
xml = undefined;
|
||||
}
|
||||
} catch ( e ) {}
|
||||
|
||||
if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
|
||||
jQuery.error( "Invalid XML: " + data );
|
||||
parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
|
||||
if ( !xml || parserErrorElem ) {
|
||||
jQuery.error( "Invalid XML: " + (
|
||||
parserErrorElem ?
|
||||
jQuery.map( parserErrorElem.childNodes, function( el ) {
|
||||
return el.textContent;
|
||||
} ).join( "\n" ) :
|
||||
data
|
||||
) );
|
||||
}
|
||||
return xml;
|
||||
};
|
42
app/bower_components/jquery/src/css.js
vendored
42
app/bower_components/jquery/src/css.js
vendored
|
@ -2,6 +2,7 @@ define( [
|
|||
"./core",
|
||||
"./core/access",
|
||||
"./core/camelCase",
|
||||
"./core/nodeName",
|
||||
"./var/rcssNum",
|
||||
"./css/var/rnumnonpx",
|
||||
"./css/var/cssExpand",
|
||||
|
@ -16,7 +17,7 @@ define( [
|
|||
"./core/init",
|
||||
"./core/ready",
|
||||
"./selector" // contains
|
||||
], function( jQuery, access, camelCase, rcssNum, rnumnonpx, cssExpand,
|
||||
], function( jQuery, access, camelCase, nodeName, rcssNum, rnumnonpx, cssExpand,
|
||||
getStyles, swap, curCSS, adjustCSS, addGetHookIf, support, finalPropName ) {
|
||||
|
||||
"use strict";
|
||||
|
@ -34,7 +35,7 @@ var
|
|||
fontWeight: "400"
|
||||
};
|
||||
|
||||
function setPositiveNumber( elem, value, subtract ) {
|
||||
function setPositiveNumber( _elem, value, subtract ) {
|
||||
|
||||
// Any relative (+/-) values have already been
|
||||
// normalized at this point
|
||||
|
@ -139,17 +140,26 @@ function getWidthOrHeight( elem, dimension, extra ) {
|
|||
}
|
||||
|
||||
|
||||
// Fall back to offsetWidth/offsetHeight when value is "auto"
|
||||
// This happens for inline elements with no explicit setting (gh-3571)
|
||||
// Support: Android <=4.1 - 4.3 only
|
||||
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
||||
// Support: IE 9-11 only
|
||||
// Also use offsetWidth/offsetHeight for when box sizing is unreliable
|
||||
// We use getClientRects() to check for hidden/disconnected.
|
||||
// In those cases, the computed value can be trusted to be border-box
|
||||
// Support: IE 9 - 11 only
|
||||
// Use offsetWidth/offsetHeight for when box sizing is unreliable.
|
||||
// In those cases, the computed value can be trusted to be border-box.
|
||||
if ( ( !support.boxSizingReliable() && isBorderBox ||
|
||||
|
||||
// Support: IE 10 - 11+, Edge 15 - 18+
|
||||
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
||||
// set in CSS while `offset*` properties report correct values.
|
||||
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
||||
!support.reliableTrDimensions() && nodeName( elem, "tr" ) ||
|
||||
|
||||
// Fall back to offsetWidth/offsetHeight when value is "auto"
|
||||
// This happens for inline elements with no explicit setting (gh-3571)
|
||||
val === "auto" ||
|
||||
|
||||
// Support: Android <=4.1 - 4.3 only
|
||||
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
||||
!parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) &&
|
||||
|
||||
// Make sure the element is visible & connected
|
||||
elem.getClientRects().length ) {
|
||||
|
||||
isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
|
||||
|
@ -344,7 +354,7 @@ jQuery.extend( {
|
|||
}
|
||||
} );
|
||||
|
||||
jQuery.each( [ "height", "width" ], function( i, dimension ) {
|
||||
jQuery.each( [ "height", "width" ], function( _i, dimension ) {
|
||||
jQuery.cssHooks[ dimension ] = {
|
||||
get: function( elem, computed, extra ) {
|
||||
if ( computed ) {
|
||||
|
@ -360,10 +370,10 @@ jQuery.each( [ "height", "width" ], function( i, dimension ) {
|
|||
// Running getBoundingClientRect on a disconnected node
|
||||
// in IE throws an error.
|
||||
( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -422,7 +432,7 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
|
|||
swap( elem, { marginLeft: 0 }, function() {
|
||||
return elem.getBoundingClientRect().left;
|
||||
} )
|
||||
) + "px";
|
||||
) + "px";
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
50
app/bower_components/jquery/src/css/support.js
vendored
50
app/bower_components/jquery/src/css/support.js
vendored
|
@ -60,7 +60,7 @@ define( [
|
|||
}
|
||||
|
||||
var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,
|
||||
reliableMarginLeftVal,
|
||||
reliableTrDimensionsVal, reliableMarginLeftVal,
|
||||
container = document.createElement( "div" ),
|
||||
div = document.createElement( "div" );
|
||||
|
||||
|
@ -95,6 +95,54 @@ define( [
|
|||
scrollboxSize: function() {
|
||||
computeStyleTests();
|
||||
return scrollboxSizeVal;
|
||||
},
|
||||
|
||||
// Support: IE 9 - 11+, Edge 15 - 18+
|
||||
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
||||
// set in CSS while `offset*` properties report correct values.
|
||||
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
||||
// some versions of this test; make sure not to make it pass there!
|
||||
//
|
||||
// Support: Firefox 70+
|
||||
// Only Firefox includes border widths
|
||||
// in computed dimensions. (gh-4529)
|
||||
reliableTrDimensions: function() {
|
||||
var table, tr, trChild, trStyle;
|
||||
if ( reliableTrDimensionsVal == null ) {
|
||||
table = document.createElement( "table" );
|
||||
tr = document.createElement( "tr" );
|
||||
trChild = document.createElement( "div" );
|
||||
|
||||
table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
|
||||
tr.style.cssText = "border:1px solid";
|
||||
|
||||
// Support: Chrome 86+
|
||||
// Height set through cssText does not get applied.
|
||||
// Computed height then comes back as 0.
|
||||
tr.style.height = "1px";
|
||||
trChild.style.height = "9px";
|
||||
|
||||
// Support: Android 8 Chrome 86+
|
||||
// In our bodyBackground.html iframe,
|
||||
// display for all div elements is set to "inline",
|
||||
// which causes a problem only in Android 8 Chrome 86.
|
||||
// Ensuring the div is display: block
|
||||
// gets around this issue.
|
||||
trChild.style.display = "block";
|
||||
|
||||
documentElement
|
||||
.appendChild( table )
|
||||
.appendChild( tr )
|
||||
.appendChild( trChild );
|
||||
|
||||
trStyle = window.getComputedStyle( tr );
|
||||
reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +
|
||||
parseInt( trStyle.borderTopWidth, 10 ) +
|
||||
parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;
|
||||
|
||||
documentElement.removeChild( table );
|
||||
}
|
||||
return reliableTrDimensionsVal;
|
||||
}
|
||||
} );
|
||||
} )();
|
||||
|
|
|
@ -3,7 +3,7 @@ define( function() {
|
|||
"use strict";
|
||||
|
||||
// A method for quickly swapping in/out CSS properties to get correct calculations.
|
||||
return function( elem, options, callback, args ) {
|
||||
return function( elem, options, callback ) {
|
||||
var ret, name,
|
||||
old = {};
|
||||
|
||||
|
@ -13,7 +13,7 @@ return function( elem, options, callback, args ) {
|
|||
elem.style[ name ] = options[ name ];
|
||||
}
|
||||
|
||||
ret = callback.apply( elem, args || [] );
|
||||
ret = callback.call( elem );
|
||||
|
||||
// Revert the old values
|
||||
for ( name in options ) {
|
||||
|
|
18
app/bower_components/jquery/src/deferred.js
vendored
18
app/bower_components/jquery/src/deferred.js
vendored
|
@ -79,7 +79,7 @@ jQuery.extend( {
|
|||
var fns = arguments;
|
||||
|
||||
return jQuery.Deferred( function( newDefer ) {
|
||||
jQuery.each( tuples, function( i, tuple ) {
|
||||
jQuery.each( tuples, function( _i, tuple ) {
|
||||
|
||||
// Map tuples (progress, done, fail) to arguments (done, fail, progress)
|
||||
var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];
|
||||
|
@ -359,8 +359,8 @@ jQuery.extend( {
|
|||
resolveContexts = Array( i ),
|
||||
resolveValues = slice.call( arguments ),
|
||||
|
||||
// the master Deferred
|
||||
master = jQuery.Deferred(),
|
||||
// the primary Deferred
|
||||
primary = jQuery.Deferred(),
|
||||
|
||||
// subordinate callback factory
|
||||
updateFunc = function( i ) {
|
||||
|
@ -368,30 +368,30 @@ jQuery.extend( {
|
|||
resolveContexts[ i ] = this;
|
||||
resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
|
||||
if ( !( --remaining ) ) {
|
||||
master.resolveWith( resolveContexts, resolveValues );
|
||||
primary.resolveWith( resolveContexts, resolveValues );
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
// Single- and empty arguments are adopted like Promise.resolve
|
||||
if ( remaining <= 1 ) {
|
||||
adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
|
||||
adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,
|
||||
!remaining );
|
||||
|
||||
// Use .then() to unwrap secondary thenables (cf. gh-3000)
|
||||
if ( master.state() === "pending" ||
|
||||
if ( primary.state() === "pending" ||
|
||||
isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
|
||||
|
||||
return master.then();
|
||||
return primary.then();
|
||||
}
|
||||
}
|
||||
|
||||
// Multiple arguments are aggregated like Promise.all array elements
|
||||
while ( i-- ) {
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), master.reject );
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );
|
||||
}
|
||||
|
||||
return master.promise();
|
||||
return primary.promise();
|
||||
}
|
||||
} );
|
||||
|
||||
|
|
31
app/bower_components/jquery/src/deprecated.js
vendored
31
app/bower_components/jquery/src/deprecated.js
vendored
|
@ -7,31 +7,15 @@ define( [
|
|||
"./var/isWindow",
|
||||
"./var/slice",
|
||||
|
||||
"./event/alias"
|
||||
"./deprecated/ajax-event-alias",
|
||||
"./deprecated/event"
|
||||
], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
jQuery.fn.extend( {
|
||||
|
||||
bind: function( types, data, fn ) {
|
||||
return this.on( types, null, data, fn );
|
||||
},
|
||||
unbind: function( types, fn ) {
|
||||
return this.off( types, null, fn );
|
||||
},
|
||||
|
||||
delegate: function( selector, types, data, fn ) {
|
||||
return this.on( types, selector, data, fn );
|
||||
},
|
||||
undelegate: function( selector, types, fn ) {
|
||||
|
||||
// ( namespace ) or ( selector, types [, fn] )
|
||||
return arguments.length === 1 ?
|
||||
this.off( selector, "**" ) :
|
||||
this.off( types, selector || "**", fn );
|
||||
}
|
||||
} );
|
||||
// Support: Android <=4.0 only
|
||||
// Make sure we trim BOM and NBSP
|
||||
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
||||
|
||||
// Bind a function to a context, optionally partially applying any
|
||||
// arguments.
|
||||
|
@ -95,4 +79,9 @@ jQuery.isNumeric = function( obj ) {
|
|||
!isNaN( obj - parseFloat( obj ) );
|
||||
};
|
||||
|
||||
jQuery.trim = function( text ) {
|
||||
return text == null ?
|
||||
"" :
|
||||
( text + "" ).replace( rtrim, "" );
|
||||
};
|
||||
} );
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
define( [
|
||||
"../core",
|
||||
"../ajax",
|
||||
"../event"
|
||||
], function( jQuery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Attach a bunch of functions for handling common AJAX events
|
||||
jQuery.each( [
|
||||
"ajaxStart",
|
||||
"ajaxStop",
|
||||
|
@ -13,7 +13,7 @@ jQuery.each( [
|
|||
"ajaxError",
|
||||
"ajaxSuccess",
|
||||
"ajaxSend"
|
||||
], function( i, type ) {
|
||||
], function( _i, type ) {
|
||||
jQuery.fn[ type ] = function( fn ) {
|
||||
return this.on( type, fn );
|
||||
};
|
50
app/bower_components/jquery/src/deprecated/event.js
vendored
Normal file
50
app/bower_components/jquery/src/deprecated/event.js
vendored
Normal file
|
@ -0,0 +1,50 @@
|
|||
define( [
|
||||
"../core",
|
||||
|
||||
"../event",
|
||||
"../event/trigger"
|
||||
], function( jQuery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
jQuery.fn.extend( {
|
||||
|
||||
bind: function( types, data, fn ) {
|
||||
return this.on( types, null, data, fn );
|
||||
},
|
||||
unbind: function( types, fn ) {
|
||||
return this.off( types, null, fn );
|
||||
},
|
||||
|
||||
delegate: function( selector, types, data, fn ) {
|
||||
return this.on( types, selector, data, fn );
|
||||
},
|
||||
undelegate: function( selector, types, fn ) {
|
||||
|
||||
// ( namespace ) or ( selector, types [, fn] )
|
||||
return arguments.length === 1 ?
|
||||
this.off( selector, "**" ) :
|
||||
this.off( types, selector || "**", fn );
|
||||
},
|
||||
|
||||
hover: function( fnOver, fnOut ) {
|
||||
return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
|
||||
}
|
||||
} );
|
||||
|
||||
jQuery.each(
|
||||
( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
||||
function( _i, name ) {
|
||||
|
||||
// Handle event binding
|
||||
jQuery.fn[ name ] = function( data, fn ) {
|
||||
return arguments.length > 0 ?
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
} );
|
|
@ -9,8 +9,11 @@ define( [
|
|||
|
||||
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
|
||||
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
||||
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },
|
||||
function( defaultExtra, funcName ) {
|
||||
jQuery.each( {
|
||||
padding: "inner" + name,
|
||||
content: type,
|
||||
"": "outer" + name
|
||||
}, function( defaultExtra, funcName ) {
|
||||
|
||||
// Margin is only for outerHeight, outerWidth
|
||||
jQuery.fn[ funcName ] = function( margin, value ) {
|
||||
|
|
14
app/bower_components/jquery/src/effects.js
vendored
14
app/bower_components/jquery/src/effects.js
vendored
|
@ -7,7 +7,6 @@ define( [
|
|||
"./var/rnothtmlwhite",
|
||||
"./css/var/cssExpand",
|
||||
"./css/var/isHiddenWithinTree",
|
||||
"./css/var/swap",
|
||||
"./css/adjustCSS",
|
||||
"./data/var/dataPriv",
|
||||
"./css/showHide",
|
||||
|
@ -20,7 +19,7 @@ define( [
|
|||
"./css",
|
||||
"./effects/Tween"
|
||||
], function( jQuery, camelCase, document, isFunction, rcssNum, rnothtmlwhite, cssExpand,
|
||||
isHiddenWithinTree, swap, adjustCSS, dataPriv, showHide ) {
|
||||
isHiddenWithinTree, adjustCSS, dataPriv, showHide ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -231,7 +230,7 @@ function defaultPrefilter( elem, props, opts ) {
|
|||
|
||||
anim.done( function() {
|
||||
|
||||
/* eslint-enable no-loop-func */
|
||||
/* eslint-enable no-loop-func */
|
||||
|
||||
// The final step of a "hide" animation is actually hiding the element
|
||||
if ( !hidden ) {
|
||||
|
@ -351,7 +350,7 @@ function Animation( elem, properties, options ) {
|
|||
tweens: [],
|
||||
createTween: function( prop, end ) {
|
||||
var tween = jQuery.Tween( elem, animation.opts, prop, end,
|
||||
animation.opts.specialEasing[ prop ] || animation.opts.easing );
|
||||
animation.opts.specialEasing[ prop ] || animation.opts.easing );
|
||||
animation.tweens.push( tween );
|
||||
return tween;
|
||||
},
|
||||
|
@ -524,7 +523,8 @@ jQuery.fn.extend( {
|
|||
anim.stop( true );
|
||||
}
|
||||
};
|
||||
doAnimation.finish = doAnimation;
|
||||
|
||||
doAnimation.finish = doAnimation;
|
||||
|
||||
return empty || optall.queue === false ?
|
||||
this.each( doAnimation ) :
|
||||
|
@ -542,7 +542,7 @@ jQuery.fn.extend( {
|
|||
clearQueue = type;
|
||||
type = undefined;
|
||||
}
|
||||
if ( clearQueue && type !== false ) {
|
||||
if ( clearQueue ) {
|
||||
this.queue( type || "fx", [] );
|
||||
}
|
||||
|
||||
|
@ -625,7 +625,7 @@ jQuery.fn.extend( {
|
|||
}
|
||||
} );
|
||||
|
||||
jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) {
|
||||
jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) {
|
||||
var cssFn = jQuery.fn[ name ];
|
||||
jQuery.fn[ name ] = function( speed, easing, callback ) {
|
||||
return speed == null || typeof speed === "boolean" ?
|
||||
|
|
|
@ -87,7 +87,7 @@ Tween.propHooks = {
|
|||
if ( jQuery.fx.step[ tween.prop ] ) {
|
||||
jQuery.fx.step[ tween.prop ]( tween );
|
||||
} else if ( tween.elem.nodeType === 1 && (
|
||||
jQuery.cssHooks[ tween.prop ] ||
|
||||
jQuery.cssHooks[ tween.prop ] ||
|
||||
tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {
|
||||
jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
|
||||
} else {
|
||||
|
|
72
app/bower_components/jquery/src/event.js
vendored
72
app/bower_components/jquery/src/event.js
vendored
|
@ -6,20 +6,18 @@ define( [
|
|||
"./var/rnothtmlwhite",
|
||||
"./var/rcheckableType",
|
||||
"./var/slice",
|
||||
"./data/var/acceptData",
|
||||
"./data/var/dataPriv",
|
||||
"./core/nodeName",
|
||||
|
||||
"./core/init",
|
||||
"./selector"
|
||||
], function( jQuery, document, documentElement, isFunction, rnothtmlwhite,
|
||||
rcheckableType, slice, dataPriv, nodeName ) {
|
||||
rcheckableType, slice, acceptData, dataPriv, nodeName ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var
|
||||
rkeyEvent = /^key/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
|
||||
rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
|
||||
function returnTrue() {
|
||||
return true;
|
||||
|
@ -124,8 +122,8 @@ jQuery.event = {
|
|||
special, handlers, type, namespaces, origType,
|
||||
elemData = dataPriv.get( elem );
|
||||
|
||||
// Don't attach events to noData or text/comment nodes (but allow plain objects)
|
||||
if ( !elemData ) {
|
||||
// Only attach events to objects that accept data
|
||||
if ( !acceptData( elem ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -149,7 +147,7 @@ jQuery.event = {
|
|||
|
||||
// Init the element's event structure and main handler, if this is the first
|
||||
if ( !( events = elemData.events ) ) {
|
||||
events = elemData.events = {};
|
||||
events = elemData.events = Object.create( null );
|
||||
}
|
||||
if ( !( eventHandle = elemData.handle ) ) {
|
||||
eventHandle = elemData.handle = function( e ) {
|
||||
|
@ -307,12 +305,15 @@ jQuery.event = {
|
|||
|
||||
dispatch: function( nativeEvent ) {
|
||||
|
||||
// Make a writable jQuery.Event from the native event object
|
||||
var event = jQuery.event.fix( nativeEvent );
|
||||
|
||||
var i, j, ret, matched, handleObj, handlerQueue,
|
||||
args = new Array( arguments.length ),
|
||||
handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [],
|
||||
|
||||
// Make a writable jQuery.Event from the native event object
|
||||
event = jQuery.event.fix( nativeEvent ),
|
||||
|
||||
handlers = (
|
||||
dataPriv.get( this, "events" ) || Object.create( null )
|
||||
)[ event.type ] || [],
|
||||
special = jQuery.event.special[ event.type ] || {};
|
||||
|
||||
// Use the fix-ed jQuery.Event rather than the (read-only) native event
|
||||
|
@ -436,12 +437,12 @@ jQuery.event = {
|
|||
get: isFunction( hook ) ?
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return hook( this.originalEvent );
|
||||
return hook( this.originalEvent );
|
||||
}
|
||||
} :
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return this.originalEvent[ name ];
|
||||
return this.originalEvent[ name ];
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -580,7 +581,13 @@ function leverageNative( el, type, expectSync ) {
|
|||
// Cancel the outer synthetic event
|
||||
event.stopImmediatePropagation();
|
||||
event.preventDefault();
|
||||
return result.value;
|
||||
|
||||
// Support: Chrome 86+
|
||||
// In Chrome, if an element having a focusout handler is blurred by
|
||||
// clicking outside of it, it invokes the handler synchronously. If
|
||||
// that handler calls `.remove()` on the element, the data is cleared,
|
||||
// leaving `result` undefined. We need to guard against this.
|
||||
return result && result.value;
|
||||
}
|
||||
|
||||
// If this is an inner synthetic event for an event with a bubbling surrogate
|
||||
|
@ -745,34 +752,7 @@ jQuery.each( {
|
|||
targetTouches: true,
|
||||
toElement: true,
|
||||
touches: true,
|
||||
|
||||
which: function( event ) {
|
||||
var button = event.button;
|
||||
|
||||
// Add which for key events
|
||||
if ( event.which == null && rkeyEvent.test( event.type ) ) {
|
||||
return event.charCode != null ? event.charCode : event.keyCode;
|
||||
}
|
||||
|
||||
// Add which for click: 1 === left; 2 === middle; 3 === right
|
||||
if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {
|
||||
if ( button & 1 ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( button & 2 ) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
if ( button & 4 ) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
return event.which;
|
||||
}
|
||||
which: true
|
||||
}, jQuery.event.addProp );
|
||||
|
||||
jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
|
||||
|
@ -798,6 +778,12 @@ jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateTyp
|
|||
return true;
|
||||
},
|
||||
|
||||
// Suppress native focus or blur as it's already being fired
|
||||
// in leverageNative.
|
||||
_default: function() {
|
||||
return true;
|
||||
},
|
||||
|
||||
delegateType: delegateType
|
||||
};
|
||||
} );
|
||||
|
|
29
app/bower_components/jquery/src/event/alias.js
vendored
29
app/bower_components/jquery/src/event/alias.js
vendored
|
@ -1,29 +0,0 @@
|
|||
define( [
|
||||
"../core",
|
||||
|
||||
"../event",
|
||||
"./trigger"
|
||||
], function( jQuery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
||||
function( i, name ) {
|
||||
|
||||
// Handle event binding
|
||||
jQuery.fn[ name ] = function( data, fn ) {
|
||||
return arguments.length > 0 ?
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
} );
|
||||
|
||||
jQuery.fn.extend( {
|
||||
hover: function( fnOver, fnOut ) {
|
||||
return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
|
||||
}
|
||||
} );
|
||||
|
||||
} );
|
|
@ -27,7 +27,10 @@ if ( !support.focusin ) {
|
|||
|
||||
jQuery.event.special[ fix ] = {
|
||||
setup: function() {
|
||||
var doc = this.ownerDocument || this,
|
||||
|
||||
// Handle: regular nodes (via `this.ownerDocument`), window
|
||||
// (via `this.document`) & document (via `this`).
|
||||
var doc = this.ownerDocument || this.document || this,
|
||||
attaches = dataPriv.access( doc, fix );
|
||||
|
||||
if ( !attaches ) {
|
||||
|
@ -36,7 +39,7 @@ if ( !support.focusin ) {
|
|||
dataPriv.access( doc, fix, ( attaches || 0 ) + 1 );
|
||||
},
|
||||
teardown: function() {
|
||||
var doc = this.ownerDocument || this,
|
||||
var doc = this.ownerDocument || this.document || this,
|
||||
attaches = dataPriv.access( doc, fix ) - 1;
|
||||
|
||||
if ( !attaches ) {
|
||||
|
|
|
@ -103,7 +103,7 @@ jQuery.extend( jQuery.event, {
|
|||
special.bindType || type;
|
||||
|
||||
// jQuery handler
|
||||
handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] &&
|
||||
handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] &&
|
||||
dataPriv.get( cur, "handle" );
|
||||
if ( handle ) {
|
||||
handle.apply( cur, data );
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
define( [
|
||||
"../core"
|
||||
], function( jQuery, noGlobal ) {
|
||||
], function( jQuery ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -27,7 +27,7 @@ jQuery.noConflict = function( deep ) {
|
|||
// Expose jQuery and $ identifiers, even in AMD
|
||||
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
|
||||
// and CommonJS for browser emulators (#13566)
|
||||
if ( !noGlobal ) {
|
||||
if ( typeof noGlobal === "undefined" ) {
|
||||
window.jQuery = window.$ = jQuery;
|
||||
}
|
||||
|
||||
|
|
3
app/bower_components/jquery/src/jquery.js
vendored
3
app/bower_components/jquery/src/jquery.js
vendored
|
@ -23,7 +23,8 @@ define( [
|
|||
"./ajax/script",
|
||||
"./ajax/jsonp",
|
||||
"./ajax/load",
|
||||
"./event/ajax",
|
||||
"./core/parseXML",
|
||||
"./core/parseHTML",
|
||||
"./effects",
|
||||
"./effects/animatedSelector",
|
||||
"./offset",
|
||||
|
|
25
app/bower_components/jquery/src/manipulation.js
vendored
25
app/bower_components/jquery/src/manipulation.js
vendored
|
@ -1,7 +1,7 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./core/isAttached",
|
||||
"./var/concat",
|
||||
"./var/flat",
|
||||
"./var/isFunction",
|
||||
"./var/push",
|
||||
"./var/rcheckableType",
|
||||
|
@ -24,7 +24,7 @@ define( [
|
|||
"./traversing",
|
||||
"./selector",
|
||||
"./event"
|
||||
], function( jQuery, isAttached, concat, isFunction, push, rcheckableType,
|
||||
], function( jQuery, isAttached, flat, isFunction, push, rcheckableType,
|
||||
access, rtagName, rscriptType,
|
||||
wrapMap, getAll, setGlobalEval, buildFragment, support,
|
||||
dataPriv, dataUser, acceptData, DOMEval, nodeName ) {
|
||||
|
@ -33,13 +33,6 @@ define( [
|
|||
|
||||
var
|
||||
|
||||
/* eslint-disable max-len */
|
||||
|
||||
// See https://github.com/eslint/eslint/issues/3229
|
||||
rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
|
||||
|
||||
/* eslint-enable */
|
||||
|
||||
// Support: IE <=10 - 11, Edge 12 - 13 only
|
||||
// In IE/Edge using regex groups here causes severe slowdowns.
|
||||
// See https://connect.microsoft.com/IE/feedback/details/1736512/
|
||||
|
@ -76,7 +69,7 @@ function restoreScript( elem ) {
|
|||
}
|
||||
|
||||
function cloneCopyEvent( src, dest ) {
|
||||
var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;
|
||||
var i, l, type, pdataOld, udataOld, udataCur, events;
|
||||
|
||||
if ( dest.nodeType !== 1 ) {
|
||||
return;
|
||||
|
@ -84,13 +77,11 @@ function cloneCopyEvent( src, dest ) {
|
|||
|
||||
// 1. Copy private data: events, handlers, etc.
|
||||
if ( dataPriv.hasData( src ) ) {
|
||||
pdataOld = dataPriv.access( src );
|
||||
pdataCur = dataPriv.set( dest, pdataOld );
|
||||
pdataOld = dataPriv.get( src );
|
||||
events = pdataOld.events;
|
||||
|
||||
if ( events ) {
|
||||
delete pdataCur.handle;
|
||||
pdataCur.events = {};
|
||||
dataPriv.remove( dest, "handle events" );
|
||||
|
||||
for ( type in events ) {
|
||||
for ( i = 0, l = events[ type ].length; i < l; i++ ) {
|
||||
|
@ -126,7 +117,7 @@ function fixInput( src, dest ) {
|
|||
function domManip( collection, args, callback, ignored ) {
|
||||
|
||||
// Flatten any nested arrays
|
||||
args = concat.apply( [], args );
|
||||
args = flat( args );
|
||||
|
||||
var fragment, first, scripts, hasScripts, node, doc,
|
||||
i = 0,
|
||||
|
@ -201,7 +192,7 @@ function domManip( collection, args, callback, ignored ) {
|
|||
if ( jQuery._evalUrl && !node.noModule ) {
|
||||
jQuery._evalUrl( node.src, {
|
||||
nonce: node.nonce || node.getAttribute( "nonce" )
|
||||
} );
|
||||
}, doc );
|
||||
}
|
||||
} else {
|
||||
DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc );
|
||||
|
@ -238,7 +229,7 @@ function remove( elem, selector, keepData ) {
|
|||
|
||||
jQuery.extend( {
|
||||
htmlPrefilter: function( html ) {
|
||||
return html.replace( rxhtmlTag, "<$1></$2>" );
|
||||
return html;
|
||||
},
|
||||
|
||||
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
|
||||
|
|
|
@ -4,7 +4,7 @@ define( [
|
|||
|
||||
"use strict";
|
||||
|
||||
jQuery._evalUrl = function( url, options ) {
|
||||
jQuery._evalUrl = function( url, options, doc ) {
|
||||
return jQuery.ajax( {
|
||||
url: url,
|
||||
|
||||
|
@ -22,7 +22,7 @@ jQuery._evalUrl = function( url, options ) {
|
|||
"text script": function() {}
|
||||
},
|
||||
dataFilter: function( response ) {
|
||||
jQuery.globalEval( response, options );
|
||||
jQuery.globalEval( response, options, doc );
|
||||
}
|
||||
} );
|
||||
};
|
||||
|
|
|
@ -28,6 +28,12 @@ define( [
|
|||
// Make sure textarea (and checkbox) defaultValue is properly cloned
|
||||
div.innerHTML = "<textarea>x</textarea>";
|
||||
support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
|
||||
|
||||
// Support: IE <=9 only
|
||||
// IE <=9 replaces <option> tags with their contents when inserted outside of
|
||||
// the select element.
|
||||
div.innerHTML = "<option></option>";
|
||||
support.option = !!div.lastChild;
|
||||
} )();
|
||||
|
||||
return support;
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
define( function() {
|
||||
define( [
|
||||
"./support"
|
||||
], function( support ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// We have to close these tags to support XHTML (#13200)
|
||||
var wrapMap = {
|
||||
|
||||
// Support: IE <=9 only
|
||||
option: [ 1, "<select multiple='multiple'>", "</select>" ],
|
||||
|
||||
// XHTML parsers do not magically insert elements in the
|
||||
// same way that tag soup parsers do. So we cannot shorten
|
||||
// this by omitting <tbody> or other required elements.
|
||||
|
@ -19,11 +18,13 @@ var wrapMap = {
|
|||
_default: [ 0, "", "" ]
|
||||
};
|
||||
|
||||
// Support: IE <=9 only
|
||||
wrapMap.optgroup = wrapMap.option;
|
||||
|
||||
wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
|
||||
wrapMap.th = wrapMap.td;
|
||||
|
||||
// Support: IE <=9 only
|
||||
if ( !support.option ) {
|
||||
wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ];
|
||||
}
|
||||
|
||||
return wrapMap;
|
||||
} );
|
||||
|
|
7
app/bower_components/jquery/src/offset.js
vendored
7
app/bower_components/jquery/src/offset.js
vendored
|
@ -1,7 +1,6 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./core/access",
|
||||
"./var/document",
|
||||
"./var/documentElement",
|
||||
"./var/isFunction",
|
||||
"./css/var/rnumnonpx",
|
||||
|
@ -12,8 +11,8 @@ define( [
|
|||
"./core/init",
|
||||
"./css",
|
||||
"./selector" // contains
|
||||
], function( jQuery, access, document, documentElement, isFunction, rnumnonpx,
|
||||
curCSS, addGetHookIf, support, isWindow ) {
|
||||
], function( jQuery, access, documentElement, isFunction, rnumnonpx,
|
||||
curCSS, addGetHookIf, support, isWindow ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -214,7 +213,7 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(
|
|||
// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347
|
||||
// getComputedStyle returns percent when specified for top/left/bottom/right;
|
||||
// rather than make the css module depend on the offset module, just check for it here
|
||||
jQuery.each( [ "top", "left" ], function( i, prop ) {
|
||||
jQuery.each( [ "top", "left" ], function( _i, prop ) {
|
||||
jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
|
||||
function( elem, computed ) {
|
||||
if ( computed ) {
|
||||
|
|
|
@ -34,6 +34,7 @@ define( [
|
|||
*/
|
||||
|
||||
var hasDuplicate, sortInput,
|
||||
rhtmlSuffix = /HTML$/i,
|
||||
sortStable = jQuery.expando.split( "" ).sort( sortOrder ).join( "" ) === jQuery.expando,
|
||||
matches = documentElement.matches ||
|
||||
documentElement.webkitMatchesSelector ||
|
||||
|
@ -200,11 +201,14 @@ jQuery.extend( {
|
|||
return a === bup || !!( bup && bup.nodeType === 1 && adown.contains( bup ) );
|
||||
},
|
||||
isXMLDoc: function( elem ) {
|
||||
var namespace = elem.namespaceURI,
|
||||
documentElement = ( elem.ownerDocument || elem ).documentElement;
|
||||
|
||||
// documentElement is verified for cases where it doesn't yet exist
|
||||
// (such as loading iframes in IE - #4833)
|
||||
var documentElement = elem && ( elem.ownerDocument || elem ).documentElement;
|
||||
return documentElement ? documentElement.nodeName !== "HTML" : false;
|
||||
// Assume HTML when documentElement doesn't yet exist, such as inside
|
||||
// document fragments.
|
||||
return !rhtmlSuffix.test( namespace ||
|
||||
documentElement && documentElement.nodeName ||
|
||||
"HTML" );
|
||||
},
|
||||
expr: {
|
||||
attrHandle: {},
|
||||
|
|
6
app/bower_components/jquery/src/serialize.js
vendored
6
app/bower_components/jquery/src/serialize.js
vendored
|
@ -105,16 +105,14 @@ jQuery.fn.extend( {
|
|||
// Can add propHook for "elements" to filter or add form elements
|
||||
var elements = jQuery.prop( this, "elements" );
|
||||
return elements ? jQuery.makeArray( elements ) : this;
|
||||
} )
|
||||
.filter( function() {
|
||||
} ).filter( function() {
|
||||
var type = this.type;
|
||||
|
||||
// Use .is( ":disabled" ) so that fieldset[disabled] works
|
||||
return this.name && !jQuery( this ).is( ":disabled" ) &&
|
||||
rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
|
||||
( this.checked || !rcheckableType.test( type ) );
|
||||
} )
|
||||
.map( function( i, elem ) {
|
||||
} ).map( function( _i, elem ) {
|
||||
var val = jQuery( this ).val();
|
||||
|
||||
if ( val == null ) {
|
||||
|
|
17
app/bower_components/jquery/src/traversing.js
vendored
17
app/bower_components/jquery/src/traversing.js
vendored
|
@ -1,5 +1,6 @@
|
|||
define( [
|
||||
"./core",
|
||||
"./var/getProto",
|
||||
"./var/indexOf",
|
||||
"./traversing/var/dir",
|
||||
"./traversing/var/siblings",
|
||||
|
@ -9,7 +10,7 @@ define( [
|
|||
"./core/init",
|
||||
"./traversing/findFilter",
|
||||
"./selector"
|
||||
], function( jQuery, indexOf, dir, siblings, rneedsContext, nodeName ) {
|
||||
], function( jQuery, getProto, indexOf, dir, siblings, rneedsContext, nodeName ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
@ -117,7 +118,7 @@ jQuery.each( {
|
|||
parents: function( elem ) {
|
||||
return dir( elem, "parentNode" );
|
||||
},
|
||||
parentsUntil: function( elem, i, until ) {
|
||||
parentsUntil: function( elem, _i, until ) {
|
||||
return dir( elem, "parentNode", until );
|
||||
},
|
||||
next: function( elem ) {
|
||||
|
@ -132,10 +133,10 @@ jQuery.each( {
|
|||
prevAll: function( elem ) {
|
||||
return dir( elem, "previousSibling" );
|
||||
},
|
||||
nextUntil: function( elem, i, until ) {
|
||||
nextUntil: function( elem, _i, until ) {
|
||||
return dir( elem, "nextSibling", until );
|
||||
},
|
||||
prevUntil: function( elem, i, until ) {
|
||||
prevUntil: function( elem, _i, until ) {
|
||||
return dir( elem, "previousSibling", until );
|
||||
},
|
||||
siblings: function( elem ) {
|
||||
|
@ -145,7 +146,13 @@ jQuery.each( {
|
|||
return siblings( elem.firstChild );
|
||||
},
|
||||
contents: function( elem ) {
|
||||
if ( typeof elem.contentDocument !== "undefined" ) {
|
||||
if ( elem.contentDocument != null &&
|
||||
|
||||
// Support: IE 11+
|
||||
// <object> elements with no `data` attribute has an object
|
||||
// `contentDocument` with a `null` prototype.
|
||||
getProto( elem.contentDocument ) ) {
|
||||
|
||||
return elem.contentDocument;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
define( [
|
||||
"./arr"
|
||||
], function( arr ) {
|
||||
"use strict";
|
||||
|
||||
return arr.concat;
|
||||
} );
|
16
app/bower_components/jquery/src/var/flat.js
vendored
Normal file
16
app/bower_components/jquery/src/var/flat.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
define( [
|
||||
"./arr"
|
||||
], function( arr ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
// Support: IE 9 - 11+, Edge 18+, Android Browser 4.0 - 4.3 only, iOS 7 - 11 only, Safari 11 only,
|
||||
// Firefox <= 61 only
|
||||
// Provide fallback for browsers without Array#flat.
|
||||
return arr.flat ? function( array ) {
|
||||
return arr.flat.call( array );
|
||||
} : function( array ) {
|
||||
return arr.concat.apply( [], array );
|
||||
};
|
||||
|
||||
} );
|
|
@ -3,11 +3,15 @@ define( function() {
|
|||
|
||||
return function isFunction( obj ) {
|
||||
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number";
|
||||
};
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
|
||||
// Plus for old WebKit, typeof returns "function" for HTML collections
|
||||
// (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number" &&
|
||||
typeof obj.item !== "function";
|
||||
};
|
||||
|
||||
} );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue