wonder-image 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DOCS.md +12 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/babel.config.json +3 -0
- package/demo/backend/body-end.php +10 -0
- package/demo/backend/head.php +93 -0
- package/demo/frontend/body-end.php +19 -0
- package/demo/frontend/head.php +244 -0
- package/demo/wonder-image.php +41 -0
- package/dist/0d01fa889dc2b0202b98.png +0 -0
- package/dist/203d1199e7aef04c0a34.gif +0 -0
- package/dist/26d6ed3fa1c815e4c78f.png +0 -0
- package/dist/39795c0b4513de014cf8.woff +0 -0
- package/dist/40b30ca122107c2852be.png +0 -0
- package/dist/4a7b4107b62ef059ba65.png +0 -0
- package/dist/4dce7f71b08755f19759.png +0 -0
- package/dist/60af14fddca897f348bb.png +0 -0
- package/dist/67172a36bcdeaca8592a.png +0 -0
- package/dist/a85c6dc53638f894de38.png +0 -0
- package/dist/b7bcc075b395c14ce8c2.woff2 +0 -0
- package/dist/backend/body-end.js +3 -0
- package/dist/backend/body-end.js.LICENSE.txt +44 -0
- package/dist/backend/body-end.js.map +1 -0
- package/dist/backend/head.css +2 -0
- package/dist/backend/head.css.map +1 -0
- package/dist/backend/head.js +3 -0
- package/dist/backend/head.js.LICENSE.txt +46 -0
- package/dist/backend/head.js.map +1 -0
- package/dist/backend/lib.js +2 -0
- package/dist/backend/lib.js.LICENSE.txt +1 -0
- package/dist/frontend/body-end.js +3 -0
- package/dist/frontend/body-end.js.LICENSE.txt +46 -0
- package/dist/frontend/body-end.js.map +1 -0
- package/dist/frontend/head.css +2 -0
- package/dist/frontend/head.css.map +1 -0
- package/dist/frontend/head.js +3 -0
- package/dist/frontend/head.js.LICENSE.txt +46 -0
- package/dist/frontend/head.js.map +1 -0
- package/dist/frontend/lib.css +2 -0
- package/dist/frontend/lib.css.map +1 -0
- package/dist/frontend/lib.js +3 -0
- package/dist/frontend/lib.js.LICENSE.txt +151 -0
- package/dist/frontend/lib.js.map +1 -0
- package/dist/lib/autonumeric/autonumeric.js +3 -0
- package/dist/lib/autonumeric/autonumeric.js.LICENSE.txt +47 -0
- package/dist/lib/autonumeric/autonumeric.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.css +2 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js +3 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js.LICENSE.txt +42 -0
- package/dist/lib/bootstrap/bootstrap-datepicker.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap-icons.css +2 -0
- package/dist/lib/bootstrap/bootstrap-icons.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap-icons.js +3 -0
- package/dist/lib/bootstrap/bootstrap-icons.js.LICENSE.txt +13 -0
- package/dist/lib/bootstrap/bootstrap-icons.js.map +1 -0
- package/dist/lib/bootstrap/bootstrap.css +2 -0
- package/dist/lib/bootstrap/bootstrap.css.map +1 -0
- package/dist/lib/bootstrap/bootstrap.js +3 -0
- package/dist/lib/bootstrap/bootstrap.js.LICENSE.txt +44 -0
- package/dist/lib/bootstrap/bootstrap.js.map +1 -0
- package/dist/lib/chartjs/chart.js +3 -0
- package/dist/lib/chartjs/chart.js.LICENSE.txt +1467 -0
- package/dist/lib/chartjs/chart.js.map +1 -0
- package/dist/lib/datatables/datatables.css +2 -0
- package/dist/lib/datatables/datatables.css.map +1 -0
- package/dist/lib/datatables/datatables.js +3 -0
- package/dist/lib/datatables/datatables.js.LICENSE.txt +8988 -0
- package/dist/lib/datatables/datatables.js.map +1 -0
- package/dist/lib/editorjs/editor.js +3 -0
- package/dist/lib/editorjs/editor.js.LICENSE.txt +5812 -0
- package/dist/lib/editorjs/editor.js.map +1 -0
- package/dist/lib/fancyapps/fancyapps.css +2 -0
- package/dist/lib/fancyapps/fancyapps.css.map +1 -0
- package/dist/lib/fancyapps/fancyapps.js +3 -0
- package/dist/lib/fancyapps/fancyapps.js.LICENSE.txt +19 -0
- package/dist/lib/fancyapps/fancyapps.js.map +1 -0
- package/dist/lib/filepond/filepond.css +2 -0
- package/dist/lib/filepond/filepond.css.map +1 -0
- package/dist/lib/filepond/filepond.js +3 -0
- package/dist/lib/filepond/filepond.js.LICENSE.txt +2797 -0
- package/dist/lib/filepond/filepond.js.map +1 -0
- package/dist/lib/fullcalendar/fullcalendar.js +3 -0
- package/dist/lib/fullcalendar/fullcalendar.js.LICENSE.txt +3787 -0
- package/dist/lib/fullcalendar/fullcalendar.js.map +1 -0
- package/dist/lib/jquery/jquery-plugin.css +2 -0
- package/dist/lib/jquery/jquery-plugin.css.map +1 -0
- package/dist/lib/jquery/jquery-plugin.js +3 -0
- package/dist/lib/jquery/jquery-plugin.js.LICENSE.txt +60 -0
- package/dist/lib/jquery/jquery-plugin.js.map +1 -0
- package/dist/lib/jquery/jquery.js +3 -0
- package/dist/lib/jquery/jquery.js.LICENSE.txt +3240 -0
- package/dist/lib/jquery/jquery.js.map +1 -0
- package/dist/lib/jstree/jstree.css +2 -0
- package/dist/lib/jstree/jstree.css.map +1 -0
- package/dist/lib/jstree/jstree.js +3 -0
- package/dist/lib/jstree/jstree.js.LICENSE.txt +42 -0
- package/dist/lib/jstree/jstree.js.map +1 -0
- package/dist/lib/moment/moment.js +3 -0
- package/dist/lib/moment/moment.js.LICENSE.txt +772 -0
- package/dist/lib/moment/moment.js.map +1 -0
- package/dist/lib/quilljs/quill.css +2 -0
- package/dist/lib/quilljs/quill.css.map +1 -0
- package/dist/lib/quilljs/quill.js +3 -0
- package/dist/lib/quilljs/quill.js.LICENSE.txt +3038 -0
- package/dist/lib/quilljs/quill.js.map +1 -0
- package/dist/lib/swiperjs/swiper-plugin.css +2 -0
- package/dist/lib/swiperjs/swiper-plugin.css.map +1 -0
- package/dist/lib/swiperjs/swiper-plugin.js +3 -0
- package/dist/lib/swiperjs/swiper-plugin.js.LICENSE.txt +1113 -0
- package/dist/lib/swiperjs/swiper-plugin.js.map +1 -0
- package/dist/lib/swiperjs/swiper.css +2 -0
- package/dist/lib/swiperjs/swiper.css.map +1 -0
- package/dist/lib/swiperjs/swiper.js +3 -0
- package/dist/lib/swiperjs/swiper.js.LICENSE.txt +651 -0
- package/dist/lib/swiperjs/swiper.js.map +1 -0
- package/dist/lib/videojs/video.css +2 -0
- package/dist/lib/videojs/video.css.map +1 -0
- package/dist/lib/videojs/video.js +3 -0
- package/dist/lib/videojs/video.js.LICENSE.txt +23391 -0
- package/dist/lib/videojs/video.js.map +1 -0
- package/package.json +95 -0
- package/src/build/backend/css/header.css +252 -0
- package/src/build/backend/css/input.css +295 -0
- package/src/build/backend/css/list.css +57 -0
- package/src/build/backend/css/order.css +99 -0
- package/src/build/backend/js/ajax.js +96 -0
- package/src/build/backend/js/alert.js +78 -0
- package/src/build/backend/js/bootstrap.js +52 -0
- package/src/build/backend/js/form/editor.js +293 -0
- package/src/build/backend/js/form/file.js +142 -0
- package/src/build/backend/js/form/filepond.js +11 -0
- package/src/build/backend/js/form/input.js +313 -0
- package/src/build/backend/js/form/inputRow.js +164 -0
- package/src/build/backend/js/form/send.js +14 -0
- package/src/build/backend/js/form/set.js +314 -0
- package/src/build/backend/js/jquery.js +15 -0
- package/src/build/backend/js/list.js +19 -0
- package/src/build/backend/js/modal.js +31 -0
- package/src/build/backend/js/pageSetUp.js +125 -0
- package/src/build/backend/js/utility.js +38 -0
- package/src/build/frontend/css/class/dimension.css +3376 -0
- package/src/build/frontend/css/class/function.css +316 -0
- package/src/build/frontend/css/class/grid.css +240 -0
- package/src/build/frontend/css/class/margin.css +823 -0
- package/src/build/frontend/css/class/padding.css +760 -0
- package/src/build/frontend/css/class/position.css +351 -0
- package/src/build/frontend/css/class/resize.css +24 -0
- package/src/build/frontend/css/class/section.css +41 -0
- package/src/build/frontend/css/class/text.css +244 -0
- package/src/build/frontend/css/components/alert.css +42 -0
- package/src/build/frontend/css/components/button.css +107 -0
- package/src/build/frontend/css/components/dropdown.css +118 -0
- package/src/build/frontend/css/components/form/address.css +26 -0
- package/src/build/frontend/css/components/form/checkbox.css +65 -0
- package/src/build/frontend/css/components/form/date.css +133 -0
- package/src/build/frontend/css/components/form/input.css +176 -0
- package/src/build/frontend/css/components/form/select.css +69 -0
- package/src/build/frontend/css/components/header/hamburger/hamburger-1.css +56 -0
- package/src/build/frontend/css/components/header/hamburger/hamburger.css +58 -0
- package/src/build/frontend/css/components/header/header.css +57 -0
- package/src/build/frontend/css/components/header/mobile-nav.css +79 -0
- package/src/build/frontend/css/components/modal.css +76 -0
- package/src/build/frontend/css/components/spinner.css +37 -0
- package/src/build/frontend/css/generator/dimension.php +93 -0
- package/src/build/frontend/css/generator/margin.php +48 -0
- package/src/build/frontend/css/generator/padding.php +48 -0
- package/src/build/frontend/css/lib.css +3 -0
- package/src/build/frontend/css/main.css +37 -0
- package/src/build/frontend/js/alert.js +64 -0
- package/src/build/frontend/js/aos.js +9 -0
- package/src/build/frontend/js/dropdown.js +73 -0
- package/src/build/frontend/js/form/input.js +211 -0
- package/src/build/frontend/js/form/list.js +155 -0
- package/src/build/frontend/js/form/select.js +108 -0
- package/src/build/frontend/js/form/send.js +137 -0
- package/src/build/frontend/js/header.js +12 -0
- package/src/build/frontend/js/modal.js +26 -0
- package/src/build/frontend/js/pageSetUp.js +35 -0
- package/src/build/frontend/js/scroll.js +70 -0
- package/src/build/frontend/js/utility.js +21 -0
- package/src/build/global/js/canvas.js +82 -0
- package/src/build/global/js/fetch.js +47 -0
- package/src/build/global/js/form/autonumeric.js +136 -0
- package/src/build/global/js/form/phone.js +19 -0
- package/src/build/global/js/utility.js +88 -0
- package/src/build/global/js/video.js +7 -0
- package/src/build/lib/editorjs/gallery.js +39 -0
- package/src/build/lib/editorjs/hyperlink.js +170 -0
- package/src/build/lib/editorjs/video.js +61 -0
- package/src/build/lib/swiperjs/effect-carousel.css +24 -0
- package/src/build/lib/swiperjs/effect-carousel.esm.js +102 -0
- package/src/build/lib/swiperjs/effect-shutters.css +33 -0
- package/src/build/lib/swiperjs/effect-shutters.esm.js +114 -0
- package/src/build/lib/swiperjs/effect-slicer.css +39 -0
- package/src/build/lib/swiperjs/effect-slicer.esm.js +198 -0
- package/src/build/lib/swiperjs/swiper-gl.css +44 -0
- package/src/build/lib/swiperjs/swiper-gl.esm.js +6063 -0
- package/src/export/backend/body-end.js +4 -0
- package/src/export/backend/head.js +25 -0
- package/src/export/backend/lib.js +0 -0
- package/src/export/frontend/body-end.js +9 -0
- package/src/export/frontend/head.js +42 -0
- package/src/export/frontend/lib.js +17 -0
- package/src/export/lib/autonumeric/autonumeric.js +3 -0
- package/src/export/lib/bootstrap/bootstrap-datepicker.js +4 -0
- package/src/export/lib/bootstrap/bootstrap-icons.js +2 -0
- package/src/export/lib/bootstrap/bootstrap.js +3 -0
- package/src/export/lib/chartjs/chart.js +4 -0
- package/src/export/lib/datatables/datatables.js +6 -0
- package/src/export/lib/editorjs/editor.js +48 -0
- package/src/export/lib/fancyapps/fancyapps.js +7 -0
- package/src/export/lib/filepond/filepond.js +51 -0
- package/src/export/lib/fullcalendar/fullcalendar.js +29 -0
- package/src/export/lib/jquery/jquery-plugin.js +14 -0
- package/src/export/lib/jquery/jquery.js +4 -0
- package/src/export/lib/jstree/jstree.js +2 -0
- package/src/export/lib/moment/moment.js +12 -0
- package/src/export/lib/quilljs/quill.js +4 -0
- package/src/export/lib/swiperjs/swiper-plugin.js +20 -0
- package/src/export/lib/swiperjs/swiper.js +4 -0
- package/src/export/lib/videojs/video.js +3 -0
- package/webpack.config.js +79 -0
|
@@ -0,0 +1,3240 @@
|
|
|
1
|
+
/*
|
|
2
|
+
timeout: 0,
|
|
3
|
+
data: null,
|
|
4
|
+
dataType: null,
|
|
5
|
+
username: null,
|
|
6
|
+
password: null,
|
|
7
|
+
cache: null,
|
|
8
|
+
throws: false,
|
|
9
|
+
traditional: false,
|
|
10
|
+
headers: {},
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
* Create a callback list using the following parameters:
|
|
15
|
+
*
|
|
16
|
+
* options: an optional list of space-separated options that will change how
|
|
17
|
+
* the callback list behaves or a more traditional option object
|
|
18
|
+
*
|
|
19
|
+
* By default a callback list will act like an event callback list and can be
|
|
20
|
+
* "fired" multiple times.
|
|
21
|
+
*
|
|
22
|
+
* Possible options:
|
|
23
|
+
*
|
|
24
|
+
* once: will ensure the callback list can only be fired once (like a Deferred)
|
|
25
|
+
*
|
|
26
|
+
* memory: will keep track of previous values and will call any callback added
|
|
27
|
+
* after the list has been fired right away with the latest "memorized"
|
|
28
|
+
* values (like a Deferred)
|
|
29
|
+
*
|
|
30
|
+
* unique: will ensure a callback can only be added once (no duplicate in the list)
|
|
31
|
+
*
|
|
32
|
+
* stopOnFalse: interrupt callings when a callback returns false
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
* Helper functions for managing events -- not part of the public interface.
|
|
38
|
+
* Props to Dean Edwards' addEvent library for many of the ideas.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/* Chain conversions given the request and the original response
|
|
42
|
+
* Also sets the responseXXX fields on the jqXHR instance
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/* Handles responses to an ajax request:
|
|
46
|
+
* - finds the right dataType (mediates between content-type and expected dataType)
|
|
47
|
+
* - returns the corresponding response
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/* Internal Use Only */
|
|
51
|
+
|
|
52
|
+
/* Prefilters
|
|
53
|
+
* 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
|
|
54
|
+
* 2) These are called:
|
|
55
|
+
* - BEFORE asking for a transport
|
|
56
|
+
* - AFTER param serialization (s.data is a string if s.processData is true)
|
|
57
|
+
* 3) key is the dataType
|
|
58
|
+
* 4) the catchall symbol "*" can be used
|
|
59
|
+
* 5) execution will start with transport dataType and THEN continue down to "*" if needed
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/* QSA/matchesSelector
|
|
63
|
+
---------------------------------------------------------------------- */
|
|
64
|
+
|
|
65
|
+
/* Sorting
|
|
66
|
+
---------------------------------------------------------------------- */
|
|
67
|
+
|
|
68
|
+
/* Transports bindings
|
|
69
|
+
* 1) key is the dataType
|
|
70
|
+
* 2) the catchall symbol "*" can be used
|
|
71
|
+
* 3) selection will start with transport dataType and THEN go to "*" if needed
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
/* eslint no-unused-expressions: "off" */
|
|
75
|
+
|
|
76
|
+
/* eslint-disable no-cond-assign */
|
|
77
|
+
|
|
78
|
+
/* eslint-disable no-loop-func */
|
|
79
|
+
|
|
80
|
+
/* eslint-enable no-cond-assign */
|
|
81
|
+
|
|
82
|
+
/* eslint-enable no-loop-func */
|
|
83
|
+
|
|
84
|
+
/* global Symbol */
|
|
85
|
+
|
|
86
|
+
/* harmony import */
|
|
87
|
+
|
|
88
|
+
/* matches from matchExpr["CHILD"]
|
|
89
|
+
1 type (only|nth|...)
|
|
90
|
+
2 what (child|of-type)
|
|
91
|
+
3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
|
|
92
|
+
4 xn-component of xn+y argument ([+-]?\d*n|)
|
|
93
|
+
5 sign of xn-component
|
|
94
|
+
6 x of xn-component
|
|
95
|
+
7 sign of y-component
|
|
96
|
+
8 y of y-component
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
/* webpack/runtime/compat get default export */
|
|
100
|
+
|
|
101
|
+
/*!
|
|
102
|
+
* jQuery JavaScript Library v3.7.1
|
|
103
|
+
* https://jquery.com/
|
|
104
|
+
*
|
|
105
|
+
* Copyright OpenJS Foundation and other contributors
|
|
106
|
+
* Released under the MIT license
|
|
107
|
+
* https://jquery.org/license
|
|
108
|
+
*
|
|
109
|
+
* Date: 2023-08-28T13:37Z
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
/*#__PURE__*/
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* A low-level selection function that works with jQuery's compiled
|
|
116
|
+
* selector functions
|
|
117
|
+
* @param {String|Function} selector A selector or a pre-compiled
|
|
118
|
+
* selector function built with jQuery selector compile
|
|
119
|
+
* @param {Element} context
|
|
120
|
+
* @param {Array} [results]
|
|
121
|
+
* @param {Array} [seed] A set of elements to match against
|
|
122
|
+
*/
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Checks a node for validity as a jQuery selector context
|
|
126
|
+
* @param {Element|Object=} context
|
|
127
|
+
* @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
|
|
128
|
+
*/
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Create key-value caches of limited size
|
|
132
|
+
* @returns {function(string, object)} Returns the Object data after storing it on itself with
|
|
133
|
+
* property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
|
|
134
|
+
* deleting the oldest entry
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Document sorting and removing duplicates
|
|
139
|
+
* @param {ArrayLike} results
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Load a url into a page
|
|
144
|
+
*/
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Mark a function for special use by jQuery selector module
|
|
148
|
+
* @param {Function} fn The function to mark
|
|
149
|
+
*/
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Returns a function to use in pseudos for :enabled/:disabled
|
|
153
|
+
* @param {Boolean} disabled true for :disabled; false for :enabled
|
|
154
|
+
*/
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Returns a function to use in pseudos for buttons
|
|
158
|
+
* @param {String} type
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Returns a function to use in pseudos for input types
|
|
163
|
+
* @param {String} type
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Returns a function to use in pseudos for positionals
|
|
168
|
+
* @param {Function} fn
|
|
169
|
+
*/
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Sets document-related variables once based on the current document
|
|
173
|
+
* @param {Element|Object} [node] An element or document object to use to set the document
|
|
174
|
+
* @returns {Object} Returns the current document
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Support testing using an element
|
|
179
|
+
* @param {Function} fn Passed the created element and returns a boolean result
|
|
180
|
+
*/
|
|
181
|
+
|
|
182
|
+
/************************************************************************/
|
|
183
|
+
|
|
184
|
+
/******/
|
|
185
|
+
|
|
186
|
+
/***/
|
|
187
|
+
|
|
188
|
+
//
|
|
189
|
+
|
|
190
|
+
// - Any
|
|
191
|
+
|
|
192
|
+
// - Node.DOCUMENT_NODE
|
|
193
|
+
|
|
194
|
+
// - Node.ELEMENT_NODE
|
|
195
|
+
|
|
196
|
+
// documentElement of the parent window
|
|
197
|
+
|
|
198
|
+
// .css('--customProperty) (gh-3144)
|
|
199
|
+
|
|
200
|
+
// .css('filter') (IE 9 only, trac-12537)
|
|
201
|
+
|
|
202
|
+
// 1. An object of properties
|
|
203
|
+
|
|
204
|
+
// 1. No key was specified
|
|
205
|
+
|
|
206
|
+
// 1. The entire cache object
|
|
207
|
+
|
|
208
|
+
// 2. A key and value
|
|
209
|
+
|
|
210
|
+
// 2. A string key was specified, but no value provided
|
|
211
|
+
|
|
212
|
+
// 2. The data stored at the key
|
|
213
|
+
|
|
214
|
+
// but not by others (comment: 8; processing instruction: 7; etc.)
|
|
215
|
+
|
|
216
|
+
// https://html.spec.whatwg.org/multipage/forms.html#category-listed
|
|
217
|
+
|
|
218
|
+
// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
|
|
219
|
+
|
|
220
|
+
// https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
|
|
221
|
+
|
|
222
|
+
// - Node
|
|
223
|
+
|
|
224
|
+
// - Object
|
|
225
|
+
|
|
226
|
+
// "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
227
|
+
|
|
228
|
+
// "Whether an element is represented by a :lang() selector
|
|
229
|
+
|
|
230
|
+
// "px" to a few hardcoded values.
|
|
231
|
+
|
|
232
|
+
// ( event ) dispatched jQuery.Event
|
|
233
|
+
|
|
234
|
+
// ( namespace ) or ( selector, types [, fn] )
|
|
235
|
+
|
|
236
|
+
// ( types [, fn] )
|
|
237
|
+
|
|
238
|
+
// ( types, data, fn )
|
|
239
|
+
|
|
240
|
+
// ( types, fn )
|
|
241
|
+
|
|
242
|
+
// ( types, selector, fn )
|
|
243
|
+
|
|
244
|
+
// ( types-Object, data )
|
|
245
|
+
|
|
246
|
+
// ( types-Object, selector, data )
|
|
247
|
+
|
|
248
|
+
// ( types-object [, selector] )
|
|
249
|
+
|
|
250
|
+
// (and therefore has an element appears at this[ 0 ]) and the
|
|
251
|
+
|
|
252
|
+
// (avoids potential for endless recursion during removal of special event handlers)
|
|
253
|
+
|
|
254
|
+
// (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
|
|
255
|
+
|
|
256
|
+
// (excepting DocumentFragment context, where the methods don't exist)
|
|
257
|
+
|
|
258
|
+
// (focus or blur), assume that the surrogate already propagated from triggering
|
|
259
|
+
|
|
260
|
+
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
|
261
|
+
|
|
262
|
+
// (it can always be set on a per-request basis or even using ajaxSetup)
|
|
263
|
+
|
|
264
|
+
// (no matter how long the jqXHR object will be used)
|
|
265
|
+
|
|
266
|
+
// (returning the new matched element set)
|
|
267
|
+
|
|
268
|
+
// (see https://github.com/jquery/sizzle/issues/157)
|
|
269
|
+
|
|
270
|
+
// (see https://github.com/jquery/sizzle/issues/299)
|
|
271
|
+
|
|
272
|
+
// (see trac-13936).
|
|
273
|
+
|
|
274
|
+
// (such as Node.js), expose a factory as module.exports.
|
|
275
|
+
|
|
276
|
+
// (the latter of which guarantees us context)
|
|
277
|
+
|
|
278
|
+
// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)
|
|
279
|
+
|
|
280
|
+
// (via `this.document`) & document (via `this`).
|
|
281
|
+
|
|
282
|
+
// (we check in cache first)
|
|
283
|
+
|
|
284
|
+
// (which *is* CSS whitespace)
|
|
285
|
+
|
|
286
|
+
// * false: [ value ].slice( 0 ) => resolve( value )
|
|
287
|
+
|
|
288
|
+
// * listed form-associated elements in a disabled fieldset
|
|
289
|
+
|
|
290
|
+
// * option elements in a disabled optgroup
|
|
291
|
+
|
|
292
|
+
// * true: [ value ].slice( 1 ) => resolve()
|
|
293
|
+
|
|
294
|
+
// *native* events that it fires directly, ensuring that state changes have
|
|
295
|
+
|
|
296
|
+
// ... .then handlers, argument index, [final state]
|
|
297
|
+
|
|
298
|
+
// ...and capture the result
|
|
299
|
+
|
|
300
|
+
// ...and disregard older resolution values
|
|
301
|
+
|
|
302
|
+
// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
|
|
303
|
+
|
|
304
|
+
// ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
|
|
305
|
+
|
|
306
|
+
// ...intermediate processing is necessary
|
|
307
|
+
|
|
308
|
+
// ...otherwise use results directly
|
|
309
|
+
|
|
310
|
+
// ...then, handle focus/blur
|
|
311
|
+
|
|
312
|
+
// .get() because push.apply(_, arraylike) throws on ancient WebKit
|
|
313
|
+
|
|
314
|
+
// 1) For the element inside the iframe without offsetParent, this method will return
|
|
315
|
+
|
|
316
|
+
// 1. Copy private data: events, handlers, etc.
|
|
317
|
+
|
|
318
|
+
// 2) For the hidden or detached element
|
|
319
|
+
|
|
320
|
+
// 2. Copy user data
|
|
321
|
+
|
|
322
|
+
// 3) For body or html element, i.e. in case of the html node - it will return itself
|
|
323
|
+
|
|
324
|
+
// :(first|last|only)-(child|of-type)
|
|
325
|
+
|
|
326
|
+
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
|
|
327
|
+
|
|
328
|
+
// <object> elements with no `data` attribute has an object
|
|
329
|
+
|
|
330
|
+
// A central reference to the root jQuery(document)
|
|
331
|
+
|
|
332
|
+
// A counter to track how many items to wait for before
|
|
333
|
+
|
|
334
|
+
// A cross-domain request is in order when the origin doesn't match the current origin.
|
|
335
|
+
|
|
336
|
+
// A fallback to window.onload, that will always work
|
|
337
|
+
|
|
338
|
+
// A global GUID counter for objects
|
|
339
|
+
|
|
340
|
+
// A match means we're done; a fail means we have to keep checking
|
|
341
|
+
|
|
342
|
+
// A simple way to check for HTML strings
|
|
343
|
+
|
|
344
|
+
// A special extend for ajax options
|
|
345
|
+
|
|
346
|
+
// A tribute to the "awesome hack by Dean Edwards"
|
|
347
|
+
|
|
348
|
+
// Abort any current/pending executions
|
|
349
|
+
|
|
350
|
+
// Abort any pending executions
|
|
351
|
+
|
|
352
|
+
// Abort handling of the native event by all jQuery handlers while allowing
|
|
353
|
+
|
|
354
|
+
// Abort if not done already and return
|
|
355
|
+
|
|
356
|
+
// Abort if there are pending holds or we're already ready
|
|
357
|
+
|
|
358
|
+
// Aborting is no longer a cancellation
|
|
359
|
+
|
|
360
|
+
// Accept quoted arguments as-is
|
|
361
|
+
|
|
362
|
+
// Accepts only:
|
|
363
|
+
|
|
364
|
+
// Accessing document.activeElement can throw unexpectedly
|
|
365
|
+
|
|
366
|
+
// Accessing iframe documents after unload throws "permission denied" errors
|
|
367
|
+
|
|
368
|
+
// Accessing the selectedIndex property
|
|
369
|
+
|
|
370
|
+
// Account for positive content-box scroll gutter when requested by providing computedVal
|
|
371
|
+
|
|
372
|
+
// Account for the *real* offset parent, which can be the document or its root element
|
|
373
|
+
|
|
374
|
+
// Account for unreliable border-box dimensions by comparing offset* to computed and
|
|
375
|
+
|
|
376
|
+
// Actual Callbacks object
|
|
377
|
+
|
|
378
|
+
// Actual callback list
|
|
379
|
+
|
|
380
|
+
// Add a callback or a collection of callbacks to the list
|
|
381
|
+
|
|
382
|
+
// Add a progress sentinel to prevent the fx queue from being
|
|
383
|
+
|
|
384
|
+
// Add button/input type pseudos
|
|
385
|
+
|
|
386
|
+
// Add elements passing elementMatchers directly to results
|
|
387
|
+
|
|
388
|
+
// Add elements to results, through postFinder if defined
|
|
389
|
+
|
|
390
|
+
// Add in properties whose names you wish to fix before
|
|
391
|
+
|
|
392
|
+
// Add in style property hooks for overriding the default
|
|
393
|
+
|
|
394
|
+
// Add list-specific methods
|
|
395
|
+
|
|
396
|
+
// Add matches to results
|
|
397
|
+
|
|
398
|
+
// Add nodes directly
|
|
399
|
+
|
|
400
|
+
// Add or update anti-cache param if needed
|
|
401
|
+
|
|
402
|
+
// Add padding
|
|
403
|
+
|
|
404
|
+
// Add protocol if not provided (prefilters might expect it)
|
|
405
|
+
|
|
406
|
+
// Add the old object onto the stack (as a reference)
|
|
407
|
+
|
|
408
|
+
// Add the remaining (directly-bound) handlers
|
|
409
|
+
|
|
410
|
+
// Add the top/left cssHooks using jQuery.fn.position
|
|
411
|
+
|
|
412
|
+
// Add to the element's handler list, delegates in front
|
|
413
|
+
|
|
414
|
+
// Adding a temporary attribute to the document before the selection works
|
|
415
|
+
|
|
416
|
+
// Adjust for the element's box model
|
|
417
|
+
|
|
418
|
+
// Adjustment may not be necessary
|
|
419
|
+
|
|
420
|
+
// Alias method option to type as per ticket trac-12004
|
|
421
|
+
|
|
422
|
+
// All done!
|
|
423
|
+
|
|
424
|
+
// All others
|
|
425
|
+
|
|
426
|
+
// All such elements have a "form" property.
|
|
427
|
+
|
|
428
|
+
// Allow custom headers/mimetypes and early abort
|
|
429
|
+
|
|
430
|
+
// Allow instantiation without the 'new' keyword
|
|
431
|
+
|
|
432
|
+
// Allow onerror to be called first,
|
|
433
|
+
|
|
434
|
+
// Allow special events to draw outside the lines
|
|
435
|
+
|
|
436
|
+
// Also disable .add unless we have memory (since it would have no effect)
|
|
437
|
+
|
|
438
|
+
// Also prevent it if we're currently inside a leveraged native-event stack
|
|
439
|
+
|
|
440
|
+
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
|
441
|
+
|
|
442
|
+
// Also, save errorCallback to a variable
|
|
443
|
+
|
|
444
|
+
// Always return an empty object.
|
|
445
|
+
|
|
446
|
+
// Always skip document fragments
|
|
447
|
+
|
|
448
|
+
// Always use camelCase key (gh-2257)
|
|
449
|
+
|
|
450
|
+
// An input loses its value after becoming a radio
|
|
451
|
+
|
|
452
|
+
// Anchor tag for parsing the document origin
|
|
453
|
+
|
|
454
|
+
// Anchor's host property isn't correctly set when s.url is relative
|
|
455
|
+
|
|
456
|
+
// Android Browser returns percentage for some values,
|
|
457
|
+
|
|
458
|
+
// Animate inline elements as inline-block
|
|
459
|
+
|
|
460
|
+
// Animations created synchronously will run synchronously
|
|
461
|
+
|
|
462
|
+
// Any relative (+/-) values have already been
|
|
463
|
+
|
|
464
|
+
// Append to fragment
|
|
465
|
+
|
|
466
|
+
// Apply converter (if not an equivalence)
|
|
467
|
+
|
|
468
|
+
// Apply custom fields if provided
|
|
469
|
+
|
|
470
|
+
// Apply postFilter
|
|
471
|
+
|
|
472
|
+
// Apply prefilters
|
|
473
|
+
|
|
474
|
+
// Apply relative offset (+=/-=) if specified
|
|
475
|
+
|
|
476
|
+
// Apply set filters to unmatched elements
|
|
477
|
+
|
|
478
|
+
// Apply the dataFilter if provided
|
|
479
|
+
|
|
480
|
+
// Argument "data" should be string of html
|
|
481
|
+
|
|
482
|
+
// Arraylike of elements (jQuery, arguments, Array)
|
|
483
|
+
|
|
484
|
+
// As of jQuery 3.0, isNumeric is limited to
|
|
485
|
+
|
|
486
|
+
// As well, disconnected nodes are said to be in a document
|
|
487
|
+
|
|
488
|
+
// Assign to newCache so results back-propagate to previous elements
|
|
489
|
+
|
|
490
|
+
// Assign undefined instead of using delete, see Data#remove
|
|
491
|
+
|
|
492
|
+
// Assume HTML when documentElement doesn't yet exist, such as inside
|
|
493
|
+
|
|
494
|
+
// Assume jQuery is ready without the ready module
|
|
495
|
+
|
|
496
|
+
// Assume position:fixed implies availability of getBoundingClientRect
|
|
497
|
+
|
|
498
|
+
// Assume that strings that start and end with <> are HTML and skip the regex check
|
|
499
|
+
|
|
500
|
+
// Assumes a single number if not a string
|
|
501
|
+
|
|
502
|
+
// Assuming integer scroll gutter, subtract the rest and round down
|
|
503
|
+
|
|
504
|
+
// Attach a single focusin/focusout handler on the document while someone wants
|
|
505
|
+
|
|
506
|
+
// Attach callbacks from options
|
|
507
|
+
|
|
508
|
+
// Attach deferreds
|
|
509
|
+
|
|
510
|
+
// Attempt to "discover" the data in
|
|
511
|
+
|
|
512
|
+
// Attempt to get data from the cache
|
|
513
|
+
|
|
514
|
+
// Attribute hooks are determined by the lowercase version
|
|
515
|
+
|
|
516
|
+
// Attribute names can contain non-HTML whitespace characters
|
|
517
|
+
|
|
518
|
+
// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
|
|
519
|
+
|
|
520
|
+
// Avoid an infinite loop by temporarily removing this function from the getter
|
|
521
|
+
|
|
522
|
+
// Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression
|
|
523
|
+
|
|
524
|
+
// Avoid hanging onto element
|
|
525
|
+
|
|
526
|
+
// Back compat <1.8 extension point
|
|
527
|
+
|
|
528
|
+
// Bail out if this is a no-op like .hide().hide()
|
|
529
|
+
|
|
530
|
+
// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
|
|
531
|
+
|
|
532
|
+
// Base inspection function for prefilters and transports
|
|
533
|
+
|
|
534
|
+
// Based off of the plugin by Clint Helfers, with permission.
|
|
535
|
+
|
|
536
|
+
// Because of that, this security measure has to be disabled in Safari 8.
|
|
537
|
+
|
|
538
|
+
// Behaves like an Array's method, not like a jQuery method.
|
|
539
|
+
|
|
540
|
+
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
|
541
|
+
|
|
542
|
+
// Bind a function to a context, optionally partially applying any
|
|
543
|
+
|
|
544
|
+
// Bind script tag hack transport
|
|
545
|
+
|
|
546
|
+
// Black-hole SVG <use> instance trees (trac-13180)
|
|
547
|
+
|
|
548
|
+
// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347
|
|
549
|
+
|
|
550
|
+
// Boolean attributes and "value" are not treated correctly in some XML documents
|
|
551
|
+
|
|
552
|
+
// Boolean properties
|
|
553
|
+
|
|
554
|
+
// Both box models exclude margin
|
|
555
|
+
|
|
556
|
+
// Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)
|
|
557
|
+
|
|
558
|
+
// Build QSA regex
|
|
559
|
+
|
|
560
|
+
// Build a new jQuery matched element set
|
|
561
|
+
|
|
562
|
+
// Building a settings object
|
|
563
|
+
|
|
564
|
+
// Builds headers hashtable if needed
|
|
565
|
+
|
|
566
|
+
// Bulk operations run against the entire set
|
|
567
|
+
|
|
568
|
+
// But maintain support for old signatures
|
|
569
|
+
|
|
570
|
+
// CSS escapes
|
|
571
|
+
|
|
572
|
+
// CSS string/identifier serialization
|
|
573
|
+
|
|
574
|
+
// Cache response headers
|
|
575
|
+
|
|
576
|
+
// Cache the compiled function
|
|
577
|
+
|
|
578
|
+
// Cache the index of each encountered element
|
|
579
|
+
|
|
580
|
+
// Cache the tokens
|
|
581
|
+
|
|
582
|
+
// Caches the header
|
|
583
|
+
|
|
584
|
+
// Calculate position if both inputs belong to the same document
|
|
585
|
+
|
|
586
|
+
// Call a native DOM method on the target with the same name as the event.
|
|
587
|
+
|
|
588
|
+
// Call all callbacks with the given context and arguments
|
|
589
|
+
|
|
590
|
+
// Call all the callbacks with the given arguments
|
|
591
|
+
|
|
592
|
+
// Call an optional hook to record the error, in case of exception
|
|
593
|
+
|
|
594
|
+
// Call given func if any
|
|
595
|
+
|
|
596
|
+
// Call if it was a function and we have a response
|
|
597
|
+
|
|
598
|
+
// Call the postDispatch hook for the mapped type
|
|
599
|
+
|
|
600
|
+
// Call the preDispatch hook for the mapped type, and let it bail if desired
|
|
601
|
+
|
|
602
|
+
// Callback
|
|
603
|
+
|
|
604
|
+
// Callback for when everything is done
|
|
605
|
+
|
|
606
|
+
// Callbacks context
|
|
607
|
+
|
|
608
|
+
// Caller can pass in a jQuery.Event object, Object, or just an event type string
|
|
609
|
+
|
|
610
|
+
// Caller can pass in an object of custom data in lieu of the handler
|
|
611
|
+
|
|
612
|
+
// Can add propHook for "elements" to filter or add form elements
|
|
613
|
+
|
|
614
|
+
// Can be adjusted by the user
|
|
615
|
+
|
|
616
|
+
// Can use an empty set, since event contains the info
|
|
617
|
+
|
|
618
|
+
// Cancel the outer synthetic event
|
|
619
|
+
|
|
620
|
+
// Cancel the request
|
|
621
|
+
|
|
622
|
+
// Capture executables
|
|
623
|
+
|
|
624
|
+
// Capture the context ID, setting it first if necessary
|
|
625
|
+
|
|
626
|
+
// Cast descendant combinators to space
|
|
627
|
+
|
|
628
|
+
// Catch cases where $(document).ready() is called
|
|
629
|
+
|
|
630
|
+
// Certain elements can have dimension info if we invisibly show them
|
|
631
|
+
|
|
632
|
+
// Check against all ancestor/preceding elements
|
|
633
|
+
|
|
634
|
+
// Check against closest ancestor/preceding element
|
|
635
|
+
|
|
636
|
+
// Check attachment across shadow DOM boundaries when possible (gh-3504)
|
|
637
|
+
|
|
638
|
+
// Check each className given, space separated list
|
|
639
|
+
|
|
640
|
+
// Check for headers option
|
|
641
|
+
|
|
642
|
+
// Check for inherited disabledness on relevant non-disabled elements:
|
|
643
|
+
|
|
644
|
+
// Check for promise aspect first to privilege synchronous behavior
|
|
645
|
+
|
|
646
|
+
// Check for vendor prefixed names
|
|
647
|
+
|
|
648
|
+
// Check if a given callback is in the list.
|
|
649
|
+
|
|
650
|
+
// Check if getElementById returns elements by name
|
|
651
|
+
|
|
652
|
+
// Check if module is in cache
|
|
653
|
+
|
|
654
|
+
// Check if the owner object already has a cache
|
|
655
|
+
|
|
656
|
+
// Check if we're dealing with a known content-type
|
|
657
|
+
|
|
658
|
+
// Check if we're setting a value
|
|
659
|
+
|
|
660
|
+
// Check readyState before timeout as it changes
|
|
661
|
+
|
|
662
|
+
// Check state lost if the name is set (trac-11217)
|
|
663
|
+
|
|
664
|
+
// Check to see if it's possible to do matchesSelector
|
|
665
|
+
|
|
666
|
+
// Check to see if we have a response for the expected dataType
|
|
667
|
+
|
|
668
|
+
// Choose the first element that is related to our preferred document
|
|
669
|
+
|
|
670
|
+
// Claim the first handler
|
|
671
|
+
|
|
672
|
+
// Class
|
|
673
|
+
|
|
674
|
+
// Class selector
|
|
675
|
+
|
|
676
|
+
// Clean up if we're done firing for good
|
|
677
|
+
|
|
678
|
+
// Clean up the event in case it is being reused
|
|
679
|
+
|
|
680
|
+
// Clean-up function (fires after converters)
|
|
681
|
+
|
|
682
|
+
// Clear all callbacks and values
|
|
683
|
+
|
|
684
|
+
// Clear input after sorting to release objects
|
|
685
|
+
|
|
686
|
+
// Clear timeout if it exists
|
|
687
|
+
|
|
688
|
+
// Clear up the last queue stop function
|
|
689
|
+
|
|
690
|
+
// Clone any incoming data and prepend the event, creating the handler arg list
|
|
691
|
+
|
|
692
|
+
// Coalesce documents and windows
|
|
693
|
+
|
|
694
|
+
// Combinators
|
|
695
|
+
|
|
696
|
+
// Comma and first run
|
|
697
|
+
|
|
698
|
+
// Compile and execute a filtering function if one is not provided
|
|
699
|
+
|
|
700
|
+
// Complete
|
|
701
|
+
|
|
702
|
+
// Computed height then comes back as 0.
|
|
703
|
+
|
|
704
|
+
// Condense equivalence converters
|
|
705
|
+
|
|
706
|
+
// Console exists when dev tools are open, which can happen at any time
|
|
707
|
+
|
|
708
|
+
// Contents
|
|
709
|
+
|
|
710
|
+
// Context for global events is callbackContext if it is a DOM node or jQuery collection
|
|
711
|
+
|
|
712
|
+
// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
|
|
713
|
+
|
|
714
|
+
// Convert "+=" or "-=" to relative numbers (trac-7345)
|
|
715
|
+
|
|
716
|
+
// Convert "normal" to computed value
|
|
717
|
+
|
|
718
|
+
// Convert String-formatted options into Object-formatted ones
|
|
719
|
+
|
|
720
|
+
// Convert anything to text
|
|
721
|
+
|
|
722
|
+
// Convert dashed to camelCase; used by the css and data modules
|
|
723
|
+
|
|
724
|
+
// Convert data if not already a string
|
|
725
|
+
|
|
726
|
+
// Convert html into DOM nodes
|
|
727
|
+
|
|
728
|
+
// Convert no matter what (that way responseXXX fields are always set)
|
|
729
|
+
|
|
730
|
+
// Convert non-html into a text node
|
|
731
|
+
|
|
732
|
+
// Convert options from String-formatted to Object-formatted if needed
|
|
733
|
+
|
|
734
|
+
// Convert response if prev dataType is non-auto and differs from current
|
|
735
|
+
|
|
736
|
+
// Convert to each sequential dataType
|
|
737
|
+
|
|
738
|
+
// Convert to pixels if value adjustment is needed
|
|
739
|
+
|
|
740
|
+
// Copy the events from the original to the clone
|
|
741
|
+
|
|
742
|
+
// Copy the properties one-by-one to the cache object
|
|
743
|
+
|
|
744
|
+
// Count margin delta separately to only add it after scroll gutter adjustment.
|
|
745
|
+
|
|
746
|
+
// Counter for holding the number of active queries
|
|
747
|
+
|
|
748
|
+
// Create a new module (and put it into the cache)
|
|
749
|
+
|
|
750
|
+
// Create a timestamp if incoming event doesn't have one
|
|
751
|
+
|
|
752
|
+
// Create converters map with lowercased keys
|
|
753
|
+
|
|
754
|
+
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
|
|
755
|
+
|
|
756
|
+
// Create mouseenter/leave events using mouseover/out and event-time checks
|
|
757
|
+
|
|
758
|
+
// Create scrollLeft and scrollTop methods
|
|
759
|
+
|
|
760
|
+
// Create target properties
|
|
761
|
+
|
|
762
|
+
// Create the abort callback
|
|
763
|
+
|
|
764
|
+
// Create the final options object
|
|
765
|
+
|
|
766
|
+
// Creates a full fledged settings object into target
|
|
767
|
+
|
|
768
|
+
// Cross domain only allowed if supported through XMLHttpRequest
|
|
769
|
+
|
|
770
|
+
// Cross-browser xml parsing
|
|
771
|
+
|
|
772
|
+
// Data converters
|
|
773
|
+
|
|
774
|
+
// Default abort message
|
|
775
|
+
|
|
776
|
+
// Default jsonp settings
|
|
777
|
+
|
|
778
|
+
// Default process is resolve
|
|
779
|
+
|
|
780
|
+
// Default speed
|
|
781
|
+
|
|
782
|
+
// Default value for a checkbox should be "on"
|
|
783
|
+
|
|
784
|
+
// Deferred helper
|
|
785
|
+
|
|
786
|
+
// Deferred#then to conditionally suppress rejection.
|
|
787
|
+
|
|
788
|
+
// Deferreds
|
|
789
|
+
|
|
790
|
+
// Define a local copy of jQuery
|
|
791
|
+
|
|
792
|
+
// Define the hook, we'll check on the first run if it's really needed.
|
|
793
|
+
|
|
794
|
+
// Defining this global in .eslintrc.json would create a danger of using the global
|
|
795
|
+
|
|
796
|
+
// Delegate to script
|
|
797
|
+
|
|
798
|
+
// Deprecated
|
|
799
|
+
|
|
800
|
+
// Dereference transport for early garbage collection
|
|
801
|
+
|
|
802
|
+
// Descend through wrappers to the right content
|
|
803
|
+
|
|
804
|
+
// Deserialize a standard representation
|
|
805
|
+
|
|
806
|
+
// Detach an event or set of events from an element
|
|
807
|
+
|
|
808
|
+
// Detached nodes confoundingly follow *each other*
|
|
809
|
+
|
|
810
|
+
// Detect misreporting of content dimensions for box-sizing:border-box elements
|
|
811
|
+
|
|
812
|
+
// Detect obvious negatives
|
|
813
|
+
|
|
814
|
+
// Detect overflow:scroll screwiness (gh-3699)
|
|
815
|
+
|
|
816
|
+
// Detect show/hide animations
|
|
817
|
+
|
|
818
|
+
// Detect silently failing push.apply
|
|
819
|
+
|
|
820
|
+
// Detect, normalize options and install callbacks for jsonp requests
|
|
821
|
+
|
|
822
|
+
// Determine event propagation path in advance, per W3C events spec (trac-9951)
|
|
823
|
+
|
|
824
|
+
// Determine handlers
|
|
825
|
+
|
|
826
|
+
// Determine if request has content
|
|
827
|
+
|
|
828
|
+
// Determine if successful
|
|
829
|
+
|
|
830
|
+
// Determine new display value for elements that need to change
|
|
831
|
+
|
|
832
|
+
// Determine the position of an element within the set
|
|
833
|
+
|
|
834
|
+
// Disable .fire
|
|
835
|
+
|
|
836
|
+
// Disable .fire and .add
|
|
837
|
+
|
|
838
|
+
// Discard index placeholder values to get only actual matches
|
|
839
|
+
|
|
840
|
+
// Discard the second event of a jQuery.event.trigger() and
|
|
841
|
+
|
|
842
|
+
// Disconnected elements can have computed display: none, so first confirm that elem is
|
|
843
|
+
|
|
844
|
+
// Disconnected nodes
|
|
845
|
+
|
|
846
|
+
// Do not traverse comment nodes
|
|
847
|
+
|
|
848
|
+
// Do send the request (this may raise an exception)
|
|
849
|
+
|
|
850
|
+
// Do the same for pointerenter/pointerleave and pointerover/pointerout
|
|
851
|
+
|
|
852
|
+
// Document context
|
|
853
|
+
|
|
854
|
+
// Document order sorting
|
|
855
|
+
|
|
856
|
+
// Don't automatically add "px" to these possibly-unitless properties
|
|
857
|
+
|
|
858
|
+
// Don't check non-elements (trac-13208)
|
|
859
|
+
|
|
860
|
+
// Don't conflict with Object.prototype properties (trac-13203)
|
|
861
|
+
|
|
862
|
+
// Don't consume trailing commas as valid
|
|
863
|
+
|
|
864
|
+
// Don't do default actions on window, that's where global variables be (trac-6170)
|
|
865
|
+
|
|
866
|
+
// Don't do events on text and comment nodes
|
|
867
|
+
|
|
868
|
+
// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)
|
|
869
|
+
|
|
870
|
+
// Don't get fooled by Object.prototype properties (see trac-13807)
|
|
871
|
+
|
|
872
|
+
// Don't get tricked when zoom affects offsetWidth (gh-4029)
|
|
873
|
+
|
|
874
|
+
// Don't get/set attributes on text, comment and attribute nodes
|
|
875
|
+
|
|
876
|
+
// Don't get/set properties on text, comment and attribute nodes
|
|
877
|
+
|
|
878
|
+
// Don't keep the element
|
|
879
|
+
|
|
880
|
+
// Don't match elem in the :animated selector
|
|
881
|
+
|
|
882
|
+
// Don't pass non-elements to jQuery#find
|
|
883
|
+
|
|
884
|
+
// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)
|
|
885
|
+
|
|
886
|
+
// Don't re-trigger an onFOO event when we call its FOO() method
|
|
887
|
+
|
|
888
|
+
// Don't return options that are disabled or in a disabled optgroup
|
|
889
|
+
|
|
890
|
+
// Don't set styles on text and comment nodes
|
|
891
|
+
|
|
892
|
+
// Early iOS 10 versions support `attachShadow` but not `getRootNode`,
|
|
893
|
+
|
|
894
|
+
// Easily-parseable/retrievable ID or TAG or CLASS selectors
|
|
895
|
+
|
|
896
|
+
// Easy API for creating new setFilters
|
|
897
|
+
|
|
898
|
+
// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
|
|
899
|
+
|
|
900
|
+
// Element context
|
|
901
|
+
|
|
902
|
+
// Element/input types
|
|
903
|
+
|
|
904
|
+
// Empty animations, or finishing resolves immediately
|
|
905
|
+
|
|
906
|
+
// Empty the queue first
|
|
907
|
+
|
|
908
|
+
// Enable finishing flag on private data
|
|
909
|
+
|
|
910
|
+
// Enforce single-firing
|
|
911
|
+
|
|
912
|
+
// Ensure a hooks for this queue
|
|
913
|
+
|
|
914
|
+
// Ensure proper type for the source value
|
|
915
|
+
|
|
916
|
+
// Ensure that invalid selectors throw exceptions at attach time
|
|
917
|
+
|
|
918
|
+
// Ensure the complete handler is called before this completes
|
|
919
|
+
|
|
920
|
+
// Ensure the created nodes are orphaned (trac-12392)
|
|
921
|
+
|
|
922
|
+
// Ensure the presence of an event listener that handles manually-triggered
|
|
923
|
+
|
|
924
|
+
// Ensuring the div is `display: block`
|
|
925
|
+
|
|
926
|
+
// Evaluate against documentElement in case elem is a non-element node (e.g., document)
|
|
927
|
+
|
|
928
|
+
// Evaluate and update our best guess (doubling guesses that zero out).
|
|
929
|
+
|
|
930
|
+
// Evaluate executable scripts on first document insertion
|
|
931
|
+
|
|
932
|
+
// Evaluate text as a json expression
|
|
933
|
+
|
|
934
|
+
// Evaluates a script in a provided context; falls back to the global one
|
|
935
|
+
|
|
936
|
+
// Event object
|
|
937
|
+
|
|
938
|
+
// Events bubbling up the document may have been marked as prevented
|
|
939
|
+
|
|
940
|
+
// Exclude scripts to avoid IE 'Permission Denied' errors
|
|
941
|
+
|
|
942
|
+
// Execute a callback for every element in the matched set.
|
|
943
|
+
|
|
944
|
+
// Execute callbacks for all pending executions,
|
|
945
|
+
|
|
946
|
+
// Execute immediately if ready is not present
|
|
947
|
+
|
|
948
|
+
// Execute the appropriate callbacks
|
|
949
|
+
|
|
950
|
+
// Execute the module function
|
|
951
|
+
|
|
952
|
+
// Executing both pixelPosition & boxSizingReliable tests require only one layout
|
|
953
|
+
|
|
954
|
+
// Expand context for sibling selectors
|
|
955
|
+
|
|
956
|
+
// Expose jQuery and $ identifiers, even in AMD
|
|
957
|
+
|
|
958
|
+
// Extend jQuery itself if only one argument is passed
|
|
959
|
+
|
|
960
|
+
// Extend the base object
|
|
961
|
+
|
|
962
|
+
// Extending ajaxSettings
|
|
963
|
+
|
|
964
|
+
// Extract dataTypes list
|
|
965
|
+
|
|
966
|
+
// Extract error from statusText and normalize for non-aborts
|
|
967
|
+
|
|
968
|
+
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
|
|
969
|
+
|
|
970
|
+
// Fails to persist the checked state of a cloned checkbox or radio button.
|
|
971
|
+
|
|
972
|
+
// Fake xhr
|
|
973
|
+
|
|
974
|
+
// Fall back on getElementsByName
|
|
975
|
+
|
|
976
|
+
// Fall back to `undefined` if empty string returned.
|
|
977
|
+
|
|
978
|
+
// Fall back to offsetWidth/offsetHeight when value is "auto"
|
|
979
|
+
|
|
980
|
+
// Fallback to prop when attributes are not supported
|
|
981
|
+
|
|
982
|
+
// Fallback to seeking `elem` from the start
|
|
983
|
+
|
|
984
|
+
// Fetch a seed set for right-to-left matching
|
|
985
|
+
|
|
986
|
+
// File protocol always yields status code 0, assume 200
|
|
987
|
+
|
|
988
|
+
// File: protocol always yields status 0; see trac-8605, trac-14207
|
|
989
|
+
|
|
990
|
+
// Filters
|
|
991
|
+
|
|
992
|
+
// Find delegate handlers
|
|
993
|
+
|
|
994
|
+
// Find primary matches
|
|
995
|
+
|
|
996
|
+
// Find the next relative operator (if any) for proper handling
|
|
997
|
+
|
|
998
|
+
// Finish early in limited (non-browser) environments
|
|
999
|
+
|
|
1000
|
+
// Finish if the scale equals or crosses 1 (making the old*new product non-positive).
|
|
1001
|
+
|
|
1002
|
+
// Fire an inner synthetic event with the original arguments
|
|
1003
|
+
|
|
1004
|
+
// Fire callbacks
|
|
1005
|
+
|
|
1006
|
+
// Fire handlers on the event path
|
|
1007
|
+
|
|
1008
|
+
// Firefox doesn't alert if the returnValue field is not set.
|
|
1009
|
+
|
|
1010
|
+
// Firefox doesn't have focus(in | out) events
|
|
1011
|
+
|
|
1012
|
+
// Firefox only trims leading whitespace. Chrome just collapses
|
|
1013
|
+
|
|
1014
|
+
// First, handle focusin/focusout
|
|
1015
|
+
|
|
1016
|
+
// Fix IE bugs, see support tests
|
|
1017
|
+
|
|
1018
|
+
// Fix IE cloning issues
|
|
1019
|
+
|
|
1020
|
+
// Fix name and attach hooks
|
|
1021
|
+
|
|
1022
|
+
// Fixes bug trac-9237
|
|
1023
|
+
|
|
1024
|
+
// Fixes trac-9887
|
|
1025
|
+
|
|
1026
|
+
// Flag for duplicate removal
|
|
1027
|
+
|
|
1028
|
+
// Flag to know if list is currently firing
|
|
1029
|
+
|
|
1030
|
+
// Flag to know if list was already fired
|
|
1031
|
+
|
|
1032
|
+
// Flag to prevent firing
|
|
1033
|
+
|
|
1034
|
+
// Flatten any nested arrays
|
|
1035
|
+
|
|
1036
|
+
// For "border" or "margin", add border
|
|
1037
|
+
|
|
1038
|
+
// For "content" or "padding", subtract border
|
|
1039
|
+
|
|
1040
|
+
// For "content", subtract padding
|
|
1041
|
+
|
|
1042
|
+
// For CommonJS and CommonJS-like environments where a proper `window`
|
|
1043
|
+
|
|
1044
|
+
// For Promises/A+, convert exceptions into rejections
|
|
1045
|
+
|
|
1046
|
+
// For XHR2 non-text, let the caller handle it (gh-2498)
|
|
1047
|
+
|
|
1048
|
+
// For cross-browser consistency, suppress native .click() on links
|
|
1049
|
+
|
|
1050
|
+
// For cross-domain requests, seeing as conditions for a preflight are
|
|
1051
|
+
|
|
1052
|
+
// For each dataType in the dataTypeExpression
|
|
1053
|
+
|
|
1054
|
+
// For environments that do not have a `window` with a `document`
|
|
1055
|
+
|
|
1056
|
+
// For internal use only.
|
|
1057
|
+
|
|
1058
|
+
// For mouseenter/leave call the handler if related is outside the target.
|
|
1059
|
+
|
|
1060
|
+
// For mutual compressibility with _default, replace `this` access with a local var.
|
|
1061
|
+
|
|
1062
|
+
// For non-IE browsers, attach a single capturing handler on the document
|
|
1063
|
+
|
|
1064
|
+
// For options that shouldn't be deep extended:
|
|
1065
|
+
|
|
1066
|
+
// For same-domain requests, won't change header if already provided.
|
|
1067
|
+
|
|
1068
|
+
// For use in libraries implementing .is()
|
|
1069
|
+
|
|
1070
|
+
// For values outside the Basic Multilingual Plane (BMP), manually construct a
|
|
1071
|
+
|
|
1072
|
+
// Force browsers to behave consistently when non-matching value is set
|
|
1073
|
+
|
|
1074
|
+
// Force callback invocation
|
|
1075
|
+
|
|
1076
|
+
// Force json dataType
|
|
1077
|
+
|
|
1078
|
+
// Force options to be an object
|
|
1079
|
+
|
|
1080
|
+
// Force setup before trigger
|
|
1081
|
+
|
|
1082
|
+
// Force setup before triggering a click
|
|
1083
|
+
|
|
1084
|
+
// Forget the data if we're done with it
|
|
1085
|
+
|
|
1086
|
+
// General show/hide setup for this element animation
|
|
1087
|
+
|
|
1088
|
+
// Generate a function of recursive functions that can be used to check each element
|
|
1089
|
+
|
|
1090
|
+
// Generate parameters to create a standard animation
|
|
1091
|
+
|
|
1092
|
+
// Generate shortcuts for custom animations
|
|
1093
|
+
|
|
1094
|
+
// Get a promise for this deferred
|
|
1095
|
+
|
|
1096
|
+
// Get a promise resolved when queues of a certain type
|
|
1097
|
+
|
|
1098
|
+
// Get and set the style property on a DOM Node
|
|
1099
|
+
|
|
1100
|
+
// Get callback name, remembering preexisting value associated with it
|
|
1101
|
+
|
|
1102
|
+
// Get document width or height
|
|
1103
|
+
|
|
1104
|
+
// Get document-relative position by adding viewport scroll to viewport-relative gBCR
|
|
1105
|
+
|
|
1106
|
+
// Get excess from tokenize (recursively)
|
|
1107
|
+
|
|
1108
|
+
// Get initial elements from seed or context
|
|
1109
|
+
|
|
1110
|
+
// Get nonempty value(s) by temporarily forcing visibility
|
|
1111
|
+
|
|
1112
|
+
// Get response data
|
|
1113
|
+
|
|
1114
|
+
// Get the Nth element in the matched element set OR
|
|
1115
|
+
|
|
1116
|
+
// Get the final matcherOut by condensing this intermediate into postFinder contexts
|
|
1117
|
+
|
|
1118
|
+
// Get the specific value for the option
|
|
1119
|
+
|
|
1120
|
+
// Get the whole matched element set as a clean array
|
|
1121
|
+
|
|
1122
|
+
// Get transport
|
|
1123
|
+
|
|
1124
|
+
// Get width or height on the element, requesting but not forcing parseFloat
|
|
1125
|
+
|
|
1126
|
+
// Gets
|
|
1127
|
+
|
|
1128
|
+
// Gets all values
|
|
1129
|
+
|
|
1130
|
+
// Gets hook for the prefixed version, then unprefixed version
|
|
1131
|
+
|
|
1132
|
+
// Give the init function the jQuery prototype for later instantiation
|
|
1133
|
+
|
|
1134
|
+
// Go through every key on the object,
|
|
1135
|
+
|
|
1136
|
+
// Go through the array, only saving the items
|
|
1137
|
+
|
|
1138
|
+
// Go through the array, translating each of the items to their new values
|
|
1139
|
+
|
|
1140
|
+
// Go to the end state if fx are off
|
|
1141
|
+
|
|
1142
|
+
// Grab necessary hook if one is defined
|
|
1143
|
+
|
|
1144
|
+
// Guard against undefined "subtract", e.g., when used as in cssHooks
|
|
1145
|
+
|
|
1146
|
+
// HANDLE: $(""), $(null), $(undefined), $(false)
|
|
1147
|
+
|
|
1148
|
+
// HANDLE: $(#id)
|
|
1149
|
+
|
|
1150
|
+
// HANDLE: $(DOMElement)
|
|
1151
|
+
|
|
1152
|
+
// HANDLE: $(expr, $(...))
|
|
1153
|
+
|
|
1154
|
+
// HANDLE: $(html) -> $(array)
|
|
1155
|
+
|
|
1156
|
+
// HANDLE: $(html, props)
|
|
1157
|
+
|
|
1158
|
+
// HTML5 custom data-* attrs
|
|
1159
|
+
|
|
1160
|
+
// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)
|
|
1161
|
+
|
|
1162
|
+
// Handle HTML strings
|
|
1163
|
+
|
|
1164
|
+
// Handle a deep copy situation
|
|
1165
|
+
|
|
1166
|
+
// Handle a returned thenable
|
|
1167
|
+
|
|
1168
|
+
// Handle cache's special case and crossDomain
|
|
1169
|
+
|
|
1170
|
+
// Handle case when target is a string or something (possible in deep copy)
|
|
1171
|
+
|
|
1172
|
+
// Handle event binding
|
|
1173
|
+
|
|
1174
|
+
// Handle falsy url in the settings object (trac-10093: consistency with old signature)
|
|
1175
|
+
|
|
1176
|
+
// Handle firing indexes
|
|
1177
|
+
|
|
1178
|
+
// Handle iff the expected data type is "jsonp" or we have a parameter to set
|
|
1179
|
+
|
|
1180
|
+
// Handle it asynchronously to allow scripts the opportunity to delay ready
|
|
1181
|
+
|
|
1182
|
+
// Handle most common string cases
|
|
1183
|
+
|
|
1184
|
+
// Handle multiple events separated by a space
|
|
1185
|
+
|
|
1186
|
+
// Handle state
|
|
1187
|
+
|
|
1188
|
+
// Handle the global AJAX counter
|
|
1189
|
+
|
|
1190
|
+
// Handle when the DOM is ready
|
|
1191
|
+
|
|
1192
|
+
// Handle: [ owner, key, value ] args
|
|
1193
|
+
|
|
1194
|
+
// Handle: [ owner, { properties } ] args
|
|
1195
|
+
|
|
1196
|
+
// Handle: regular nodes (via `this.ownerDocument`), window
|
|
1197
|
+
|
|
1198
|
+
// Headers (they are sent all at once)
|
|
1199
|
+
|
|
1200
|
+
// Height set through cssText does not get applied.
|
|
1201
|
+
|
|
1202
|
+
// Hook needed; redefine it so that the support test is not executed again.
|
|
1203
|
+
|
|
1204
|
+
// Hook not needed (or it's not possible to use it due
|
|
1205
|
+
|
|
1206
|
+
// Hooks for boolean attributes
|
|
1207
|
+
|
|
1208
|
+
// However, it is not slated for removal any time soon
|
|
1209
|
+
|
|
1210
|
+
// ID filter and find
|
|
1211
|
+
|
|
1212
|
+
// ID selector
|
|
1213
|
+
|
|
1214
|
+
// IE 11/Edge don't find elements on a `[name='']` query in some cases.
|
|
1215
|
+
|
|
1216
|
+
// IE 9's matchesSelector returns false on disconnected nodes
|
|
1217
|
+
|
|
1218
|
+
// IE <=9 replaces <option> tags with their contents when inserted outside of
|
|
1219
|
+
|
|
1220
|
+
// IE doesn't have `contains` on SVG.
|
|
1221
|
+
|
|
1222
|
+
// IE only supports `"float"` in `getPropertyValue`; in computed styles
|
|
1223
|
+
|
|
1224
|
+
// IE returns zIndex value as an integer.
|
|
1225
|
+
|
|
1226
|
+
// IE throws exception on accessing the href property if url is malformed,
|
|
1227
|
+
|
|
1228
|
+
// IE throws on elements created in popups
|
|
1229
|
+
|
|
1230
|
+
// IE throws on parseFromString with invalid input.
|
|
1231
|
+
|
|
1232
|
+
// IE's :disabled selector does not pick up the children of disabled fieldsets
|
|
1233
|
+
|
|
1234
|
+
// IE/Edge don't support the :scope pseudo-class.
|
|
1235
|
+
|
|
1236
|
+
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
1237
|
+
|
|
1238
|
+
// IE/Edge sometimes throw a "Permission denied" error when
|
|
1239
|
+
|
|
1240
|
+
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
1241
|
+
|
|
1242
|
+
// IE8-9 doesn't update selected after form reset (trac-2551)
|
|
1243
|
+
|
|
1244
|
+
// IE9 has no XHR2 but throws on binary (trac-11426)
|
|
1245
|
+
|
|
1246
|
+
// Identify a display type, preferring old show/hide data over the CSS cascade
|
|
1247
|
+
|
|
1248
|
+
// If "type" variable is undefined, then "GET" method will be used.
|
|
1249
|
+
|
|
1250
|
+
// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error
|
|
1251
|
+
|
|
1252
|
+
// If a hook was provided get the computed value from there
|
|
1253
|
+
|
|
1254
|
+
// If a hook was provided get the non-computed value from there
|
|
1255
|
+
|
|
1256
|
+
// If a hook was provided, use that value, otherwise just set the specified value
|
|
1257
|
+
|
|
1258
|
+
// If a normal DOM Ready event fired, decrement, and wait if need be
|
|
1259
|
+
|
|
1260
|
+
// If a number was passed in, add the unit (except for certain CSS properties)
|
|
1261
|
+
|
|
1262
|
+
// If a selector was specified, locate the right elements in a dummy div
|
|
1263
|
+
|
|
1264
|
+
// If an array was passed in, assume that it is an array of form elements.
|
|
1265
|
+
|
|
1266
|
+
// If conv2 outputs current
|
|
1267
|
+
|
|
1268
|
+
// If curCSS returns percentage, fallback to offset
|
|
1269
|
+
|
|
1270
|
+
// If data is available and should be processed, append data to url
|
|
1271
|
+
|
|
1272
|
+
// If event changes its type, use the special event handlers for the changed type
|
|
1273
|
+
|
|
1274
|
+
// If it is a node unlikely to be stringify-ed or looped over
|
|
1275
|
+
|
|
1276
|
+
// If it receives a jQuery object, the first element is used
|
|
1277
|
+
|
|
1278
|
+
// If it's a function
|
|
1279
|
+
|
|
1280
|
+
// If key is an array of keys...
|
|
1281
|
+
|
|
1282
|
+
// If no argument is given, return whether or not list has callbacks attached.
|
|
1283
|
+
|
|
1284
|
+
// If no nodeType, this is expected to be an array
|
|
1285
|
+
|
|
1286
|
+
// If no transport, we auto-abort
|
|
1287
|
+
|
|
1288
|
+
// If nobody prevented the default action, do it now
|
|
1289
|
+
|
|
1290
|
+
// If none found, seek a pair
|
|
1291
|
+
|
|
1292
|
+
// If not, create one
|
|
1293
|
+
|
|
1294
|
+
// If nothing was found internally, try to fetch any
|
|
1295
|
+
|
|
1296
|
+
// If obj is provided, the promise aspect is added to the object
|
|
1297
|
+
|
|
1298
|
+
// If prev can be converted to accepted input
|
|
1299
|
+
|
|
1300
|
+
// If previous value didn't exist - remove it
|
|
1301
|
+
|
|
1302
|
+
// If request was aborted inside a prefilter, stop there
|
|
1303
|
+
|
|
1304
|
+
// If request was aborted inside ajaxSend, stop there
|
|
1305
|
+
|
|
1306
|
+
// If seed is empty or no tokens remain, we can return early
|
|
1307
|
+
|
|
1308
|
+
// If selector defined, determine special event api type, otherwise given type
|
|
1309
|
+
|
|
1310
|
+
// If set returns undefined, fall back to normal setting
|
|
1311
|
+
|
|
1312
|
+
// If successful, handle type chaining
|
|
1313
|
+
|
|
1314
|
+
// If target is omitted, writes into ajaxSettings.
|
|
1315
|
+
|
|
1316
|
+
// If the element has a class name or if we're passed `false`,
|
|
1317
|
+
|
|
1318
|
+
// If the event is namespaced, then each handler is only invoked if it is
|
|
1319
|
+
|
|
1320
|
+
// If the fx queue is dequeued, always remove the progress sentinel
|
|
1321
|
+
|
|
1322
|
+
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
|
1323
|
+
|
|
1324
|
+
// If the selector is sufficiently simple, try using a "get*By*" DOM method
|
|
1325
|
+
|
|
1326
|
+
// If there are functions bound, to execute
|
|
1327
|
+
|
|
1328
|
+
// If there is an error parsing the URL, assume it is crossDomain,
|
|
1329
|
+
|
|
1330
|
+
// If there's more to do, yield
|
|
1331
|
+
|
|
1332
|
+
// If this is a native event triggered above, everything is now in order
|
|
1333
|
+
|
|
1334
|
+
// If this is a positional/relative selector, check membership in the returned set
|
|
1335
|
+
|
|
1336
|
+
// If this is an inner synthetic event for an event with a bubbling surrogate
|
|
1337
|
+
|
|
1338
|
+
// If this was an empty animation, synthesize a final progress notification
|
|
1339
|
+
|
|
1340
|
+
// If traditional, encode the "old" way (the way 1.3.2 or older
|
|
1341
|
+
|
|
1342
|
+
// If url is an object, simulate pre-1.5 signature
|
|
1343
|
+
|
|
1344
|
+
// If value is a function, invoke it and use its return value
|
|
1345
|
+
|
|
1346
|
+
// If we are going to the end, we want to run all the tweens
|
|
1347
|
+
|
|
1348
|
+
// If we found a dataType
|
|
1349
|
+
|
|
1350
|
+
// If we get here with a content-box, we're seeking "padding" or "border" or "margin"
|
|
1351
|
+
|
|
1352
|
+
// If we have a postFinder, or filtered seed, or non-seed postFilter
|
|
1353
|
+
|
|
1354
|
+
// If we have elements to modify, make the request
|
|
1355
|
+
|
|
1356
|
+
// If we have memory from a past run, we should fire after adding
|
|
1357
|
+
|
|
1358
|
+
// If we include width, step value is 1 to do all cssExpand values,
|
|
1359
|
+
|
|
1360
|
+
// Ignore double-resolution attempts
|
|
1361
|
+
|
|
1362
|
+
// Ignore post-resolution exceptions
|
|
1363
|
+
|
|
1364
|
+
// Ignore repeat invocations
|
|
1365
|
+
|
|
1366
|
+
// Implement show/hide animations
|
|
1367
|
+
|
|
1368
|
+
// Implement the identical functionality for filter and not
|
|
1369
|
+
|
|
1370
|
+
// In CSS3, :checked should return both checked and selected elements
|
|
1371
|
+
|
|
1372
|
+
// In IE/Edge using regex groups here causes severe slowdowns.
|
|
1373
|
+
|
|
1374
|
+
// In Safari 8 documents created via document.implementation.createHTMLDocument
|
|
1375
|
+
|
|
1376
|
+
// In cases where either:
|
|
1377
|
+
|
|
1378
|
+
// In our bodyBackground.html iframe,
|
|
1379
|
+
|
|
1380
|
+
// In some browsers, typeof returns "function" for HTML <object> elements
|
|
1381
|
+
|
|
1382
|
+
// In some of the document kinds, these selectors wouldn't work natively.
|
|
1383
|
+
|
|
1384
|
+
// In such cases, we work around the behavior by prefixing every selector in the
|
|
1385
|
+
|
|
1386
|
+
// In those cases, the computed value can be trusted to be border-box.
|
|
1387
|
+
|
|
1388
|
+
// In-page `selector#id sibling-combinator selector` fails
|
|
1389
|
+
|
|
1390
|
+
// Includes all common event props including KeyEvent and MouseEvent specific props
|
|
1391
|
+
|
|
1392
|
+
// Incorporate borders into its offset, since they are outside its content origin
|
|
1393
|
+
|
|
1394
|
+
// Incorporate the offset, then check against cycle size
|
|
1395
|
+
|
|
1396
|
+
// Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
|
|
1397
|
+
|
|
1398
|
+
// Index in selector
|
|
1399
|
+
|
|
1400
|
+
// Index of currently firing callback (modified by add/remove as needed)
|
|
1401
|
+
|
|
1402
|
+
// Init the element's event structure and main handler, if this is the first
|
|
1403
|
+
|
|
1404
|
+
// Init the event handler queue if we're the first
|
|
1405
|
+
|
|
1406
|
+
// Initialize a jQuery object
|
|
1407
|
+
|
|
1408
|
+
// Initialize against the default document
|
|
1409
|
+
|
|
1410
|
+
// Initialize central reference
|
|
1411
|
+
|
|
1412
|
+
// Inject the element directly into the jQuery object
|
|
1413
|
+
|
|
1414
|
+
// Inline style trumps all
|
|
1415
|
+
|
|
1416
|
+
// Insert callback into url or form data
|
|
1417
|
+
|
|
1418
|
+
// Inspect recursively
|
|
1419
|
+
|
|
1420
|
+
// Install callback
|
|
1421
|
+
|
|
1422
|
+
// Install callbacks on deferreds
|
|
1423
|
+
|
|
1424
|
+
// Install script dataType
|
|
1425
|
+
|
|
1426
|
+
// Instance-specific data
|
|
1427
|
+
|
|
1428
|
+
// Intentionally let the error be thrown if parseHTML is not present
|
|
1429
|
+
|
|
1430
|
+
// Interestingly, IE 10 & older don't seem to have the issue.
|
|
1431
|
+
|
|
1432
|
+
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
|
1433
|
+
|
|
1434
|
+
// Interrupt processing of the outer synthetic .trigger()ed event
|
|
1435
|
+
|
|
1436
|
+
// Is the DOM ready to be used? Set to true once it occurs.
|
|
1437
|
+
|
|
1438
|
+
// Item is non-scalar (array or object), encode its numeric index.
|
|
1439
|
+
|
|
1440
|
+
// Iteratively approximate from a nonzero starting point
|
|
1441
|
+
|
|
1442
|
+
// JQuery
|
|
1443
|
+
|
|
1444
|
+
// Jump to end and forget the data so .add doesn't re-fire
|
|
1445
|
+
|
|
1446
|
+
// Keep an empty list if we have data for future add calls
|
|
1447
|
+
|
|
1448
|
+
// Keep pipe for back-compat
|
|
1449
|
+
|
|
1450
|
+
// Keep references to cloned scripts for later restoration
|
|
1451
|
+
|
|
1452
|
+
// Keep track of which events have ever been used, for event optimization
|
|
1453
|
+
|
|
1454
|
+
// Keys separate source (or catchall "*") and destination types with a single space
|
|
1455
|
+
|
|
1456
|
+
// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
|
|
1457
|
+
|
|
1458
|
+
// Last fire value for non-forgettable lists
|
|
1459
|
+
|
|
1460
|
+
// Last-Modified header cache for next request
|
|
1461
|
+
|
|
1462
|
+
// Lazy-add the new callbacks in a way that preserves old ones
|
|
1463
|
+
|
|
1464
|
+
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
|
|
1465
|
+
|
|
1466
|
+
// Lengthen the array for every element, matched or not
|
|
1467
|
+
|
|
1468
|
+
// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,
|
|
1469
|
+
|
|
1470
|
+
// Listen to events
|
|
1471
|
+
|
|
1472
|
+
// Local document vars
|
|
1473
|
+
|
|
1474
|
+
// Look for any active animations, and finish them
|
|
1475
|
+
|
|
1476
|
+
// Look for any animations in the old queue and finish them
|
|
1477
|
+
|
|
1478
|
+
// Loop through all the selected options
|
|
1479
|
+
|
|
1480
|
+
// Loop variable
|
|
1481
|
+
|
|
1482
|
+
// Main method
|
|
1483
|
+
|
|
1484
|
+
// Make a writable jQuery.Event from the native event object
|
|
1485
|
+
|
|
1486
|
+
// Make numeric if forced or a qualifier was provided and val looks numeric
|
|
1487
|
+
|
|
1488
|
+
// Make sure textarea (and checkbox) defaultValue is properly cloned
|
|
1489
|
+
|
|
1490
|
+
// Make sure that null and NaN values aren't set (trac-7116)
|
|
1491
|
+
|
|
1492
|
+
// Make sure that re-using the options doesn't screw things around
|
|
1493
|
+
|
|
1494
|
+
// Make sure that the handler has a unique ID, used to find/remove it later
|
|
1495
|
+
|
|
1496
|
+
// Make sure that we're working with the right name
|
|
1497
|
+
|
|
1498
|
+
// Make sure that we're working with the right name. We don't
|
|
1499
|
+
|
|
1500
|
+
// Make sure the `:has()` argument is parsed unforgivingly.
|
|
1501
|
+
|
|
1502
|
+
// Make sure the element is visible & connected
|
|
1503
|
+
|
|
1504
|
+
// Make sure we set the data so it isn't changed later
|
|
1505
|
+
|
|
1506
|
+
// Make sure we trim BOM and NBSP
|
|
1507
|
+
|
|
1508
|
+
// Make sure we update the tween properties later on
|
|
1509
|
+
|
|
1510
|
+
// Make the changes, replacing each non-ignored context element with the new content
|
|
1511
|
+
|
|
1512
|
+
// Make the deferred a promise
|
|
1513
|
+
|
|
1514
|
+
// Make this explicit, since user can override this through ajaxSetup (trac-11264)
|
|
1515
|
+
|
|
1516
|
+
// Make value of this field explicit since
|
|
1517
|
+
|
|
1518
|
+
// Map over jQuery in case of overwrite
|
|
1519
|
+
|
|
1520
|
+
// Map over the $ in case of overwrite
|
|
1521
|
+
|
|
1522
|
+
// Map tuples (progress, done, fail) to arguments (done, fail, progress)
|
|
1523
|
+
|
|
1524
|
+
// Margin is only for outerHeight, outerWidth
|
|
1525
|
+
|
|
1526
|
+
// Mark it as fixed
|
|
1527
|
+
|
|
1528
|
+
// Mark scripts as having already been evaluated
|
|
1529
|
+
|
|
1530
|
+
// Match elements found at the specified indexes
|
|
1531
|
+
|
|
1532
|
+
// Match elements unmatched by `matcher`
|
|
1533
|
+
|
|
1534
|
+
// Match html or make sure no context is specified for #id
|
|
1535
|
+
|
|
1536
|
+
// Matches dashed string for camelizing
|
|
1537
|
+
|
|
1538
|
+
// Method init() accepts an alternate rootjQuery
|
|
1539
|
+
|
|
1540
|
+
// Methods guaranteed to produce a unique set when starting from a unique set
|
|
1541
|
+
|
|
1542
|
+
// Microsoft forgot to hump their vendor prefix (trac-9572)
|
|
1543
|
+
|
|
1544
|
+
// Miscellaneous
|
|
1545
|
+
|
|
1546
|
+
// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add
|
|
1547
|
+
|
|
1548
|
+
// More options handling for requests with no content
|
|
1549
|
+
|
|
1550
|
+
// Move matched elements from seed to results to keep them synchronized
|
|
1551
|
+
|
|
1552
|
+
// Move the given value to match[3] whether quoted or unquoted
|
|
1553
|
+
|
|
1554
|
+
// Multi-Selects return an array
|
|
1555
|
+
|
|
1556
|
+
// Multifunctional method to get and set values of a collection
|
|
1557
|
+
|
|
1558
|
+
// Multiple arguments are aggregated like Promise.all array elements
|
|
1559
|
+
|
|
1560
|
+
// Must access selectedIndex to make default options select
|
|
1561
|
+
|
|
1562
|
+
// NB: No relatedTarget if the mouse left/entered the browser window
|
|
1563
|
+
|
|
1564
|
+
// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
|
|
1565
|
+
|
|
1566
|
+
// Namespaced trigger; create a regexp to match event type in handle()
|
|
1567
|
+
|
|
1568
|
+
// Native handler
|
|
1569
|
+
|
|
1570
|
+
// Need init if jQuery is called (just allow error to be thrown if not included)
|
|
1571
|
+
|
|
1572
|
+
// Need to be able to calculate position if either
|
|
1573
|
+
|
|
1574
|
+
// Never move original objects, clone them
|
|
1575
|
+
|
|
1576
|
+
// New HTML5 attribute values (e.g., "search") appear
|
|
1577
|
+
|
|
1578
|
+
// No argument, return index in parent
|
|
1579
|
+
|
|
1580
|
+
// Normalize "" and auto
|
|
1581
|
+
|
|
1582
|
+
// Normalize opt.queue - true/undefined/null -> "fx"
|
|
1583
|
+
|
|
1584
|
+
// Normally, this would create difference in behavior: if
|
|
1585
|
+
|
|
1586
|
+
// Not public - generate a queueHooks object, or return the current one
|
|
1587
|
+
|
|
1588
|
+
// Not quite $.extend, this won't overwrite existing keys.
|
|
1589
|
+
|
|
1590
|
+
// Note that we treat complete lack of support for `:has()` as if it were
|
|
1591
|
+
|
|
1592
|
+
// Note: an element does not contain itself
|
|
1593
|
+
|
|
1594
|
+
// Nullify the div so it wouldn't be stored in the memory and
|
|
1595
|
+
|
|
1596
|
+
// Objects with no prototype (e.g., `Object.create( null )`) are plain
|
|
1597
|
+
|
|
1598
|
+
// Objects with prototype are plain iff they were constructed by a global Object function
|
|
1599
|
+
|
|
1600
|
+
// Older IE sometimes signals "interactive" too soon
|
|
1601
|
+
|
|
1602
|
+
// Older WebKit doesn't clone checked state correctly in fragments
|
|
1603
|
+
|
|
1604
|
+
// Older browsers didn't support unprefixed `matches`.
|
|
1605
|
+
|
|
1606
|
+
// On a manual native abort, IE9 throws
|
|
1607
|
+
|
|
1608
|
+
// On the other hand, just using `getAttribute` is not enough as
|
|
1609
|
+
|
|
1610
|
+
// Once for each type.namespace in types; type may be omitted
|
|
1611
|
+
|
|
1612
|
+
// One-time assignments
|
|
1613
|
+
|
|
1614
|
+
// Only Firefox includes border widths
|
|
1615
|
+
|
|
1616
|
+
// Only add window if we got to document (e.g., not plain obj or detached DOM)
|
|
1617
|
+
|
|
1618
|
+
// Only assign if different to avoid unneeded rendering.
|
|
1619
|
+
|
|
1620
|
+
// Only attach events to objects that accept data
|
|
1621
|
+
|
|
1622
|
+
// Only certain elements can match :enabled or :disabled
|
|
1623
|
+
|
|
1624
|
+
// Only check objects and functions for thenability
|
|
1625
|
+
|
|
1626
|
+
// Only convert to a number if it doesn't change the string
|
|
1627
|
+
|
|
1628
|
+
// Only deal with non-null/undefined values
|
|
1629
|
+
|
|
1630
|
+
// Only evaluate the response if it is successful (gh-4126)
|
|
1631
|
+
|
|
1632
|
+
// Only keep the most recent entries
|
|
1633
|
+
|
|
1634
|
+
// Only normal processors (resolve) catch and reject exceptions
|
|
1635
|
+
|
|
1636
|
+
// Only read styles.position if the test has a chance to fail
|
|
1637
|
+
|
|
1638
|
+
// Only substitute handlers pass on context
|
|
1639
|
+
|
|
1640
|
+
// Only use addEventListener if the special events handler returns false
|
|
1641
|
+
|
|
1642
|
+
// Operate on a copy of prop so per-property easing won't be lost
|
|
1643
|
+
|
|
1644
|
+
// Operator (capture 2)
|
|
1645
|
+
|
|
1646
|
+
// Optimize for push.apply( _, NodeList )
|
|
1647
|
+
|
|
1648
|
+
// Option elements defer to a parent optgroup if present
|
|
1649
|
+
|
|
1650
|
+
// Option to run scripts is true for back-compat
|
|
1651
|
+
|
|
1652
|
+
// Optional AJAX dependency, but won't run scripts if not present
|
|
1653
|
+
|
|
1654
|
+
// Or just use first one
|
|
1655
|
+
|
|
1656
|
+
// Other potentially-special ASCII characters get backslash-escaped
|
|
1657
|
+
|
|
1658
|
+
// Otherwise bring back whatever was previously saved (if anything),
|
|
1659
|
+
|
|
1660
|
+
// Otherwise just get the value from the style object
|
|
1661
|
+
|
|
1662
|
+
// Otherwise use the full result
|
|
1663
|
+
|
|
1664
|
+
// Otherwise we know they are disconnected
|
|
1665
|
+
|
|
1666
|
+
// Otherwise, check computed style
|
|
1667
|
+
|
|
1668
|
+
// Otherwise, if a way to get the computed value exists, use that
|
|
1669
|
+
|
|
1670
|
+
// Otherwise, throw an error or return tokens
|
|
1671
|
+
|
|
1672
|
+
// Our regular `try-catch` mechanism fails to detect natively-unsupported
|
|
1673
|
+
|
|
1674
|
+
// Override manipulation of globals by nested matchers
|
|
1675
|
+
|
|
1676
|
+
// Override mime type if needed
|
|
1677
|
+
|
|
1678
|
+
// Overrides response content-type header
|
|
1679
|
+
|
|
1680
|
+
// Panic based approach to setting things on disconnected nodes
|
|
1681
|
+
|
|
1682
|
+
// Parse text as xml
|
|
1683
|
+
|
|
1684
|
+
// Pass this if window is not defined yet
|
|
1685
|
+
|
|
1686
|
+
// Passing an empty string as a 3rd parameter to .css will automatically
|
|
1687
|
+
|
|
1688
|
+
// Per-property setup
|
|
1689
|
+
|
|
1690
|
+
// Piggyback on a donor event to simulate a different one
|
|
1691
|
+
|
|
1692
|
+
// Plus for old WebKit, typeof returns "function" for HTML collections
|
|
1693
|
+
|
|
1694
|
+
// Populate the class2type map
|
|
1695
|
+
|
|
1696
|
+
// Position-in-collection
|
|
1697
|
+
|
|
1698
|
+
// Positional selectors never match, since there's no _selection_ context
|
|
1699
|
+
|
|
1700
|
+
// Potentially complex pseudos
|
|
1701
|
+
|
|
1702
|
+
// Precompiled matchers will still verify ancestry, so step up a level
|
|
1703
|
+
|
|
1704
|
+
// Prefer a tbody over its parent table for containing new rows
|
|
1705
|
+
|
|
1706
|
+
// Prefilter to get matcher input, preserving a map for seed-results synchronization
|
|
1707
|
+
|
|
1708
|
+
// Prefix every selector in the list
|
|
1709
|
+
|
|
1710
|
+
// Prepend if requested
|
|
1711
|
+
|
|
1712
|
+
// Preserve chaining for setter
|
|
1713
|
+
|
|
1714
|
+
// Preserve script evaluation history
|
|
1715
|
+
|
|
1716
|
+
// Pretend to be hidden if this is a "show" and
|
|
1717
|
+
|
|
1718
|
+
// Prevent Object.prototype pollution
|
|
1719
|
+
|
|
1720
|
+
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
|
|
1721
|
+
|
|
1722
|
+
// Prevent memory leaks
|
|
1723
|
+
|
|
1724
|
+
// Prevent never-ending loop
|
|
1725
|
+
|
|
1726
|
+
// Prevent re-triggering of the same event, since we already bubbled it above
|
|
1727
|
+
|
|
1728
|
+
// Prevent triggered image.load events from bubbling to window.load
|
|
1729
|
+
|
|
1730
|
+
// Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)
|
|
1731
|
+
|
|
1732
|
+
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
|
|
1733
|
+
|
|
1734
|
+
// Process the value(s)
|
|
1735
|
+
|
|
1736
|
+
// Propagate others as results
|
|
1737
|
+
|
|
1738
|
+
// Properties of context are called as methods if possible
|
|
1739
|
+
|
|
1740
|
+
// Provide `match` to avoid retokenization if we modified the selector above
|
|
1741
|
+
|
|
1742
|
+
// Provide the current computed size to request scroll gutter calculation (gh-3589)
|
|
1743
|
+
|
|
1744
|
+
// Put explicitly provided properties onto the event object
|
|
1745
|
+
|
|
1746
|
+
// Put hash and anti-cache on the URL that will be requested (gh-1732)
|
|
1747
|
+
|
|
1748
|
+
// Put in the new values to get a computed value out
|
|
1749
|
+
|
|
1750
|
+
// QSA and matchesSelector support
|
|
1751
|
+
|
|
1752
|
+
// Queue of execution data for repeatable lists
|
|
1753
|
+
|
|
1754
|
+
// Queue-skipping animations hijack the fx hooks
|
|
1755
|
+
|
|
1756
|
+
// Queueing
|
|
1757
|
+
|
|
1758
|
+
// Quick check to determine if target is callable, in the spec
|
|
1759
|
+
|
|
1760
|
+
// Radios and checkboxes getter/setter
|
|
1761
|
+
|
|
1762
|
+
// Raw string
|
|
1763
|
+
|
|
1764
|
+
// Re-enable scripts
|
|
1765
|
+
|
|
1766
|
+
// Re-resolve promises immediately to dodge false rejection from
|
|
1767
|
+
|
|
1768
|
+
// Record all 3 overflow attributes because IE does not infer the shorthand
|
|
1769
|
+
|
|
1770
|
+
// Recurse if we're merging plain objects or arrays
|
|
1771
|
+
|
|
1772
|
+
// Reduce context if the leading compound selector is an ID
|
|
1773
|
+
|
|
1774
|
+
// Regex strategy adopted from Diego Perini
|
|
1775
|
+
|
|
1776
|
+
// Register the controller as a special universal handler for all event namespaces
|
|
1777
|
+
|
|
1778
|
+
// Regular expressions
|
|
1779
|
+
|
|
1780
|
+
// Reintegrate element matches to eliminate the need for sorting
|
|
1781
|
+
|
|
1782
|
+
// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
|
|
1783
|
+
|
|
1784
|
+
// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
|
|
1785
|
+
|
|
1786
|
+
// Remaining elements are neither :enabled nor :disabled
|
|
1787
|
+
|
|
1788
|
+
// Remember that setFilters inherits from pseudos
|
|
1789
|
+
|
|
1790
|
+
// Remember that the DOM is ready
|
|
1791
|
+
|
|
1792
|
+
// Remember the hash so we can put it back
|
|
1793
|
+
|
|
1794
|
+
// Remember the old values, and insert the new ones
|
|
1795
|
+
|
|
1796
|
+
// Remember the original values
|
|
1797
|
+
|
|
1798
|
+
// Remember the top-level container
|
|
1799
|
+
|
|
1800
|
+
// Remember what we're overwriting
|
|
1801
|
+
|
|
1802
|
+
// Remove *all* instances
|
|
1803
|
+
|
|
1804
|
+
// Remove a callback from the list
|
|
1805
|
+
|
|
1806
|
+
// Remove all callbacks from the list
|
|
1807
|
+
|
|
1808
|
+
// Remove any remaining nodes
|
|
1809
|
+
|
|
1810
|
+
// Remove auto dataType and get content-type in the process
|
|
1811
|
+
|
|
1812
|
+
// Remove boolean attributes when set to false
|
|
1813
|
+
|
|
1814
|
+
// Remove data and the expando if it's no longer used
|
|
1815
|
+
|
|
1816
|
+
// Remove duplicates
|
|
1817
|
+
|
|
1818
|
+
// Remove element nodes and prevent memory leaks
|
|
1819
|
+
|
|
1820
|
+
// Remove from its parent by default
|
|
1821
|
+
|
|
1822
|
+
// Remove generic event handler if we removed something and no more handlers exist
|
|
1823
|
+
|
|
1824
|
+
// Remove hash to simplify url manipulation
|
|
1825
|
+
|
|
1826
|
+
// Remove matching events
|
|
1827
|
+
|
|
1828
|
+
// Remove the expando if there's no more data
|
|
1829
|
+
|
|
1830
|
+
// Remove wrapper from fragment
|
|
1831
|
+
|
|
1832
|
+
// Removing the function wrapper causes a "Permission Denied"
|
|
1833
|
+
|
|
1834
|
+
// Replace a hexadecimal escape sequence with the encoded Unicode code point
|
|
1835
|
+
|
|
1836
|
+
// Replace/restore the type attribute of script elements for safe DOM manipulation
|
|
1837
|
+
|
|
1838
|
+
// Request state (becomes false upon send and true upon completion)
|
|
1839
|
+
|
|
1840
|
+
// Require that the "whitespace run" starts from a non-whitespace
|
|
1841
|
+
|
|
1842
|
+
// Resolve the animation and report its conclusion
|
|
1843
|
+
|
|
1844
|
+
// Resolve when we played the last frame; otherwise, reject
|
|
1845
|
+
|
|
1846
|
+
// Response headers
|
|
1847
|
+
|
|
1848
|
+
// Restore matcherIn since elem is not yet a final match
|
|
1849
|
+
|
|
1850
|
+
// Restore the original display value at the end of pure show/hide animations
|
|
1851
|
+
|
|
1852
|
+
// Restrict "overflow" and "display" styles during box animations
|
|
1853
|
+
|
|
1854
|
+
// Rethrow post-completion exceptions
|
|
1855
|
+
|
|
1856
|
+
// Retrieve `then` only once
|
|
1857
|
+
|
|
1858
|
+
// Retrieve the text value of an array of DOM nodes
|
|
1859
|
+
|
|
1860
|
+
// Retrieving style before computed somehow
|
|
1861
|
+
|
|
1862
|
+
// Return a confounding non-pixel value or feign ignorance, as appropriate.
|
|
1863
|
+
|
|
1864
|
+
// Return a potentially-mapped jQuery.cssProps or vendor prefixed property
|
|
1865
|
+
|
|
1866
|
+
// Return a vendor-prefixed property or undefined
|
|
1867
|
+
|
|
1868
|
+
// Return all the elements in a clean array
|
|
1869
|
+
|
|
1870
|
+
// Return early from calls with invalid selector or context
|
|
1871
|
+
|
|
1872
|
+
// Return early if doc is invalid or already selected
|
|
1873
|
+
|
|
1874
|
+
// Return false to allow normal processing in the caller
|
|
1875
|
+
|
|
1876
|
+
// Return false to indicate standard teardown should be applied
|
|
1877
|
+
|
|
1878
|
+
// Return jQuery for attributes-only inclusion
|
|
1879
|
+
|
|
1880
|
+
// Return just the one element from the set
|
|
1881
|
+
|
|
1882
|
+
// Return non-false to allow normal event-path propagation
|
|
1883
|
+
|
|
1884
|
+
// Return special upon seeing a positional matcher
|
|
1885
|
+
|
|
1886
|
+
// Return the cloned set
|
|
1887
|
+
|
|
1888
|
+
// Return the exports of the module
|
|
1889
|
+
|
|
1890
|
+
// Return the length of the invalid excess
|
|
1891
|
+
|
|
1892
|
+
// Return the modified object
|
|
1893
|
+
|
|
1894
|
+
// Return the newly-formed element set
|
|
1895
|
+
|
|
1896
|
+
// Return the resulting serialization
|
|
1897
|
+
|
|
1898
|
+
// Return zeros for disconnected and hidden (display: none) elements (gh-2310)
|
|
1899
|
+
|
|
1900
|
+
// Reuse newcache so results back-propagate to previous elements
|
|
1901
|
+
|
|
1902
|
+
// Reusing 'index' because we have the correct "name"
|
|
1903
|
+
|
|
1904
|
+
// Reverse direction for :only-* (if we haven't yet done so)
|
|
1905
|
+
|
|
1906
|
+
// Reverse order for parents* and prev-derivatives
|
|
1907
|
+
|
|
1908
|
+
// Revert the changed values
|
|
1909
|
+
|
|
1910
|
+
// Revert the old values
|
|
1911
|
+
|
|
1912
|
+
// Run callback and check for early termination
|
|
1913
|
+
|
|
1914
|
+
// Run delegates first; they may want to stop propagation beneath us
|
|
1915
|
+
|
|
1916
|
+
// Run the timer and safely remove it when done (allowing for external removal)
|
|
1917
|
+
|
|
1918
|
+
// Running getBoundingClientRect on a
|
|
1919
|
+
|
|
1920
|
+
// Running getBoundingClientRect on a disconnected node
|
|
1921
|
+
|
|
1922
|
+
// SVG-related
|
|
1923
|
+
|
|
1924
|
+
// Safari sends mouseenter too often; see:
|
|
1925
|
+
|
|
1926
|
+
// Save back as free
|
|
1927
|
+
|
|
1928
|
+
// Save response for use in complete callback
|
|
1929
|
+
|
|
1930
|
+
// Save selector and tokenization
|
|
1931
|
+
|
|
1932
|
+
// Save the URL in case we're toying with the If-Modified-Since
|
|
1933
|
+
|
|
1934
|
+
// Save the callback name for future use
|
|
1935
|
+
|
|
1936
|
+
// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
|
|
1937
|
+
|
|
1938
|
+
// See https://connect.microsoft.com/IE/feedback/details/1736512/
|
|
1939
|
+
|
|
1940
|
+
// See https://github.com/jquery/sizzle/pull/225
|
|
1941
|
+
|
|
1942
|
+
// See https://github.com/whatwg/html/issues/2369
|
|
1943
|
+
|
|
1944
|
+
// See https://html.spec.whatwg.org/#nonce-attributes
|
|
1945
|
+
|
|
1946
|
+
// See if we can take a shortcut and just use innerHTML
|
|
1947
|
+
|
|
1948
|
+
// See ticket trac-14549 for more info.
|
|
1949
|
+
|
|
1950
|
+
// Seedless set matches succeeding multiple successful matchers stipulate sorting
|
|
1951
|
+
|
|
1952
|
+
// Seek `elem` from a previously-cached index
|
|
1953
|
+
|
|
1954
|
+
// Seek a direct converter
|
|
1955
|
+
|
|
1956
|
+
// Send global event
|
|
1957
|
+
|
|
1958
|
+
// Serialize an array of form elements or a set of
|
|
1959
|
+
|
|
1960
|
+
// Serialize array item.
|
|
1961
|
+
|
|
1962
|
+
// Serialize object item.
|
|
1963
|
+
|
|
1964
|
+
// Serialize scalar item.
|
|
1965
|
+
|
|
1966
|
+
// Serialize the form elements
|
|
1967
|
+
|
|
1968
|
+
// Set data for the fake xhr object
|
|
1969
|
+
|
|
1970
|
+
// Set document vars if needed
|
|
1971
|
+
|
|
1972
|
+
// Set headers
|
|
1973
|
+
|
|
1974
|
+
// Set position first, in-case top/left are set even on static elem
|
|
1975
|
+
|
|
1976
|
+
// Set readyState
|
|
1977
|
+
|
|
1978
|
+
// Set the Accepts header for the server, depending on the dataType
|
|
1979
|
+
|
|
1980
|
+
// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
|
|
1981
|
+
|
|
1982
|
+
// Set the base href for the created document
|
|
1983
|
+
|
|
1984
|
+
// Set the correct header, if data is being sent
|
|
1985
|
+
|
|
1986
|
+
// Set the data...
|
|
1987
|
+
|
|
1988
|
+
// Set the display of the elements in a second loop to avoid constant reflow
|
|
1989
|
+
|
|
1990
|
+
// Set the guid of unique handler to the same of original handler, so it can be removed
|
|
1991
|
+
|
|
1992
|
+
// Set width or height on the element
|
|
1993
|
+
|
|
1994
|
+
// Sets many values
|
|
1995
|
+
|
|
1996
|
+
// Sets multiple values
|
|
1997
|
+
|
|
1998
|
+
// Sets one value
|
|
1999
|
+
|
|
2000
|
+
// Shift arguments if data argument was omitted
|
|
2001
|
+
|
|
2002
|
+
// Shortcut for :nth-*(n)
|
|
2003
|
+
|
|
2004
|
+
// Shortcut simple #id case for speed
|
|
2005
|
+
|
|
2006
|
+
// Should return 1, but returns 4 (following)
|
|
2007
|
+
|
|
2008
|
+
// Show any hidden elements after setting opacity to 0
|
|
2009
|
+
|
|
2010
|
+
// Show elements before animating them
|
|
2011
|
+
|
|
2012
|
+
// Simple values such as "10px" are parsed to Float;
|
|
2013
|
+
|
|
2014
|
+
// Simulated bind
|
|
2015
|
+
|
|
2016
|
+
// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
|
|
2017
|
+
|
|
2018
|
+
// Since we force visibility upon cascade-hidden elements, an immediate (and slow)
|
|
2019
|
+
|
|
2020
|
+
// Single element
|
|
2021
|
+
|
|
2022
|
+
// Single tag
|
|
2023
|
+
|
|
2024
|
+
// Single- and empty arguments are adopted like Promise.resolve
|
|
2025
|
+
|
|
2026
|
+
// Sizzle so let's maintain them for now for backwards compatibility purposes.
|
|
2027
|
+
|
|
2028
|
+
// Skip elements already in the context collection (trac-4087)
|
|
2029
|
+
|
|
2030
|
+
// Skip the boolean and the target
|
|
2031
|
+
|
|
2032
|
+
// Some browsers don't support the "nonce" property on scripts.
|
|
2033
|
+
|
|
2034
|
+
// Some styles come back with percentage values, even though they shouldn't
|
|
2035
|
+
|
|
2036
|
+
// Sort on method existence if only one input has compareDocumentPosition
|
|
2037
|
+
|
|
2038
|
+
// Sort stability
|
|
2039
|
+
|
|
2040
|
+
// Spec requires trimming whitespace for custom properties (gh-4926).
|
|
2041
|
+
|
|
2042
|
+
// Special processors (notify) just wait for resolution
|
|
2043
|
+
|
|
2044
|
+
// Speed up dequeue by getting out quickly if this is just a lookup
|
|
2045
|
+
|
|
2046
|
+
// Start the next in the queue if the last step wasn't forced.
|
|
2047
|
+
|
|
2048
|
+
// Start with computed style
|
|
2049
|
+
|
|
2050
|
+
// Starting value computation is required for potential unit mismatches
|
|
2051
|
+
|
|
2052
|
+
// Status-dependent callbacks
|
|
2053
|
+
|
|
2054
|
+
// Stop scripts or inline event handlers from being executed immediately
|
|
2055
|
+
|
|
2056
|
+
// Store arguments for use when handling the inner native event
|
|
2057
|
+
|
|
2058
|
+
// Store className if set
|
|
2059
|
+
|
|
2060
|
+
// Store hidden/visible for toggle so `.stop().toggle()` "reverses"
|
|
2061
|
+
|
|
2062
|
+
// Strict HTML recognition (trac-11290: must start with <)
|
|
2063
|
+
|
|
2064
|
+
// Strict mode functions invoked without .call/.apply get global-object context
|
|
2065
|
+
|
|
2066
|
+
// Strip and collapse whitespace
|
|
2067
|
+
|
|
2068
|
+
// Strip and collapse whitespace according to HTML spec
|
|
2069
|
+
|
|
2070
|
+
// Style of cloned element affects source element cloned (trac-8908)
|
|
2071
|
+
|
|
2072
|
+
// Subtract parent offsets and element margins
|
|
2073
|
+
|
|
2074
|
+
// Success/Error
|
|
2075
|
+
|
|
2076
|
+
// Support array or space separated string of keys
|
|
2077
|
+
|
|
2078
|
+
// Support: Android 4.0 - 4.3 only
|
|
2079
|
+
|
|
2080
|
+
// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44
|
|
2081
|
+
|
|
2082
|
+
// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3
|
|
2083
|
+
|
|
2084
|
+
// Support: Android 4.0 only
|
|
2085
|
+
|
|
2086
|
+
// Support: Android 8 Chrome 86+
|
|
2087
|
+
|
|
2088
|
+
// Support: Android <=2.3 only
|
|
2089
|
+
|
|
2090
|
+
// Support: Android <=2.3 only (functionish RegExp)
|
|
2091
|
+
|
|
2092
|
+
// Support: Android <=4.0
|
|
2093
|
+
|
|
2094
|
+
// Support: Android <=4.0 - 4.1+
|
|
2095
|
+
|
|
2096
|
+
// Support: Android <=4.0 only
|
|
2097
|
+
|
|
2098
|
+
// Support: Android <=4.0 only, PhantomJS 1 only
|
|
2099
|
+
|
|
2100
|
+
// Support: Android <=4.0+
|
|
2101
|
+
|
|
2102
|
+
// Support: Android <=4.1 - 4.3 only
|
|
2103
|
+
|
|
2104
|
+
// Support: Android <=4.1 only
|
|
2105
|
+
|
|
2106
|
+
// Support: Android <=4.3 only
|
|
2107
|
+
|
|
2108
|
+
// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+
|
|
2109
|
+
|
|
2110
|
+
// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only
|
|
2111
|
+
|
|
2112
|
+
// Support: Chrome 86+
|
|
2113
|
+
|
|
2114
|
+
// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+
|
|
2115
|
+
|
|
2116
|
+
// Support: Chrome <=35 - 45
|
|
2117
|
+
|
|
2118
|
+
// Support: Chrome <=35 - 45+
|
|
2119
|
+
|
|
2120
|
+
// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
|
|
2121
|
+
|
|
2122
|
+
// Support: Chrome <=57, Firefox <=52
|
|
2123
|
+
|
|
2124
|
+
// Support: Chrome <=64
|
|
2125
|
+
|
|
2126
|
+
// Support: Firefox 105+, Chrome <=105+
|
|
2127
|
+
|
|
2128
|
+
// Support: Firefox 20+
|
|
2129
|
+
|
|
2130
|
+
// Support: Firefox 51+
|
|
2131
|
+
|
|
2132
|
+
// Support: Firefox 64+, Edge 18+
|
|
2133
|
+
|
|
2134
|
+
// Support: Firefox 70+
|
|
2135
|
+
|
|
2136
|
+
// Support: Firefox <=42
|
|
2137
|
+
|
|
2138
|
+
// Support: Firefox <=43 - 45
|
|
2139
|
+
|
|
2140
|
+
// Support: Firefox <=44
|
|
2141
|
+
|
|
2142
|
+
// Support: Firefox <=54
|
|
2143
|
+
|
|
2144
|
+
// Support: IE 10 - 11+, Edge 15 - 18+
|
|
2145
|
+
|
|
2146
|
+
// Support: IE 11 only
|
|
2147
|
+
|
|
2148
|
+
// Support: IE 11+
|
|
2149
|
+
|
|
2150
|
+
// Support: IE 11+, Edge 15 - 18+
|
|
2151
|
+
|
|
2152
|
+
// Support: IE 11+, Edge 17 - 18+
|
|
2153
|
+
|
|
2154
|
+
// Support: IE 6 - 7 only
|
|
2155
|
+
|
|
2156
|
+
// Support: IE 8 - 9 only
|
|
2157
|
+
|
|
2158
|
+
// Support: IE 9 - 11 only
|
|
2159
|
+
|
|
2160
|
+
// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
|
|
2161
|
+
|
|
2162
|
+
// Support: IE 9 - 11+
|
|
2163
|
+
|
|
2164
|
+
// Support: IE 9 - 11+, Edge 12 - 18+
|
|
2165
|
+
|
|
2166
|
+
// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only
|
|
2167
|
+
|
|
2168
|
+
// Support: IE 9 - 11+, Edge 15 - 18+
|
|
2169
|
+
|
|
2170
|
+
// Support: IE 9 only
|
|
2171
|
+
|
|
2172
|
+
// Support: IE <10
|
|
2173
|
+
|
|
2174
|
+
// Support: IE <10 only
|
|
2175
|
+
|
|
2176
|
+
// Support: IE <=10 - 11 only
|
|
2177
|
+
|
|
2178
|
+
// Support: IE <=10 - 11, Edge 12 - 13 only
|
|
2179
|
+
|
|
2180
|
+
// Support: IE <=11 only
|
|
2181
|
+
|
|
2182
|
+
// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)
|
|
2183
|
+
|
|
2184
|
+
// Support: IE <=11+
|
|
2185
|
+
|
|
2186
|
+
// Support: IE <=8 - 11 only
|
|
2187
|
+
|
|
2188
|
+
// Support: IE <=8 - 11, Edge 12 - 15
|
|
2189
|
+
|
|
2190
|
+
// Support: IE <=9
|
|
2191
|
+
|
|
2192
|
+
// Support: IE <=9 - 10 only
|
|
2193
|
+
|
|
2194
|
+
// Support: IE <=9 - 11 only
|
|
2195
|
+
|
|
2196
|
+
// Support: IE <=9 - 11+
|
|
2197
|
+
|
|
2198
|
+
// Support: IE <=9 - 11, Edge 12 - 15
|
|
2199
|
+
|
|
2200
|
+
// Support: IE <=9 only
|
|
2201
|
+
|
|
2202
|
+
// Support: Promises/A+ section 2.3.1
|
|
2203
|
+
|
|
2204
|
+
// Support: Promises/A+ section 2.3.3.3.1
|
|
2205
|
+
|
|
2206
|
+
// Support: Promises/A+ section 2.3.3.3.3
|
|
2207
|
+
|
|
2208
|
+
// Support: Promises/A+ section 2.3.3.3.4.1
|
|
2209
|
+
|
|
2210
|
+
// Support: Promises/A+ section 2.3.4
|
|
2211
|
+
|
|
2212
|
+
// Support: Promises/A+ sections 2.3.3.1, 3.5
|
|
2213
|
+
|
|
2214
|
+
// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
|
|
2215
|
+
|
|
2216
|
+
// Support: Safari 7 only
|
|
2217
|
+
|
|
2218
|
+
// Support: Safari 8 only
|
|
2219
|
+
|
|
2220
|
+
// Support: Safari 8+
|
|
2221
|
+
|
|
2222
|
+
// Support: Safari <=6 - 7 only
|
|
2223
|
+
|
|
2224
|
+
// Support: Safari <=7 - 9.1, Chrome <=37 - 49
|
|
2225
|
+
|
|
2226
|
+
// Support: Windows 8 Native Apps
|
|
2227
|
+
|
|
2228
|
+
// Support: Windows Web Apps (WWA)
|
|
2229
|
+
|
|
2230
|
+
// Support: iOS 10.0-10.2 only
|
|
2231
|
+
|
|
2232
|
+
// Support: iOS 7 only, IE 9 - 11+
|
|
2233
|
+
|
|
2234
|
+
// Support: iOS 8 only
|
|
2235
|
+
|
|
2236
|
+
// Support: iOS <=7 - 8 only
|
|
2237
|
+
|
|
2238
|
+
// Support: iOS <=7 - 9 only
|
|
2239
|
+
|
|
2240
|
+
// Support: real iOS 8.2 only (not reproducible in simulator)
|
|
2241
|
+
|
|
2242
|
+
// Suppress native focus or blur if we're currently inside
|
|
2243
|
+
|
|
2244
|
+
// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
|
|
2245
|
+
|
|
2246
|
+
// Swappable if display is none or starts with table
|
|
2247
|
+
|
|
2248
|
+
// TODO: Now that all calls to _data and _removeData have been replaced
|
|
2249
|
+
|
|
2250
|
+
// Table columns in Safari have non-zero offsetWidth & zero
|
|
2251
|
+
|
|
2252
|
+
// Tag
|
|
2253
|
+
|
|
2254
|
+
// Take advantage of querySelectorAll
|
|
2255
|
+
|
|
2256
|
+
// Take an array of elements and push it onto the stack
|
|
2257
|
+
|
|
2258
|
+
// Take the "read" path and allow the get method to determine
|
|
2259
|
+
|
|
2260
|
+
// Target should not be a text node (trac-504, trac-13143)
|
|
2261
|
+
|
|
2262
|
+
// Testing for detecting duplicates is unpredictable so instead assume we can't
|
|
2263
|
+
|
|
2264
|
+
// Text to html (true = no transformation)
|
|
2265
|
+
|
|
2266
|
+
// Thanks to Andrew Dupont for this technique.
|
|
2267
|
+
|
|
2268
|
+
// The `node.getAttribute` check was added for the sake of
|
|
2269
|
+
|
|
2270
|
+
// The attrs elements can be null (trac-14894)
|
|
2271
|
+
|
|
2272
|
+
// The broken getElementById methods don't pick up programmatically-set names,
|
|
2273
|
+
|
|
2274
|
+
// The calling jQuery object (element matches) is not empty
|
|
2275
|
+
|
|
2276
|
+
// The current version of jQuery being used
|
|
2277
|
+
|
|
2278
|
+
// The default length of a jQuery object is 0
|
|
2279
|
+
|
|
2280
|
+
// The deferred used on DOM ready
|
|
2281
|
+
|
|
2282
|
+
// The elements to wrap the target around
|
|
2283
|
+
|
|
2284
|
+
// The final step of a "hide" animation is actually hiding the element
|
|
2285
|
+
|
|
2286
|
+
// The foundational matcher ensures that elements are reachable from top-level context(s)
|
|
2287
|
+
|
|
2288
|
+
// The getter ensures a default option is selected
|
|
2289
|
+
|
|
2290
|
+
// The identifier C does not have to be a valid language name."
|
|
2291
|
+
|
|
2292
|
+
// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append
|
|
2293
|
+
|
|
2294
|
+
// The jQuery object is actually just the init constructor 'enhanced'
|
|
2295
|
+
|
|
2296
|
+
// The key will always be camelCased in Data
|
|
2297
|
+
|
|
2298
|
+
// The matching of C against the element's language value is performed case-insensitively.
|
|
2299
|
+
|
|
2300
|
+
// The module cache
|
|
2301
|
+
|
|
2302
|
+
// The ready event handler and self cleanup method
|
|
2303
|
+
|
|
2304
|
+
// The require function
|
|
2305
|
+
|
|
2306
|
+
// The setup part calls `leverageNative`, which, in turn, calls
|
|
2307
|
+
|
|
2308
|
+
// The technique has to be used as well when a leading combinator is used
|
|
2309
|
+
|
|
2310
|
+
// The type and name attributes are restricted during .innerHTML assignment
|
|
2311
|
+
|
|
2312
|
+
// The url can be an options object (which then must have .url)
|
|
2313
|
+
|
|
2314
|
+
// The user may use createPseudo to indicate that
|
|
2315
|
+
|
|
2316
|
+
// The value/s can optionally be executed if it's a function
|
|
2317
|
+
|
|
2318
|
+
// There *must* be a type, no attaching namespace-only handlers
|
|
2319
|
+
|
|
2320
|
+
// There will always be at least one argument (an event object), so this array
|
|
2321
|
+
|
|
2322
|
+
// There's only work to do if current dataType is non-auto
|
|
2323
|
+
|
|
2324
|
+
// These have always been private, but they used to be documented as part of
|
|
2325
|
+
|
|
2326
|
+
// These hooks are used by animate to expand properties
|
|
2327
|
+
|
|
2328
|
+
// These usually indicate a programmer mistake during development,
|
|
2329
|
+
|
|
2330
|
+
// They will have gone through all possible matchers
|
|
2331
|
+
|
|
2332
|
+
// This "if" is needed for plain objects
|
|
2333
|
+
|
|
2334
|
+
// This accentuates the need for the creation of a real `window`.
|
|
2335
|
+
|
|
2336
|
+
// This collapses a missing definition with property defined
|
|
2337
|
+
|
|
2338
|
+
// This corresponds to the behavior of CSS absolute positioning
|
|
2339
|
+
|
|
2340
|
+
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
|
|
2341
|
+
|
|
2342
|
+
// This expression is here for better compressibility (see addClass)
|
|
2343
|
+
|
|
2344
|
+
// This happens for inline elements with no explicit setting (gh-3571)
|
|
2345
|
+
|
|
2346
|
+
// This is a singleton, we need to execute it only once
|
|
2347
|
+
|
|
2348
|
+
// This is against the CSSOM draft spec:
|
|
2349
|
+
|
|
2350
|
+
// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).
|
|
2351
|
+
|
|
2352
|
+
// This is probably OK but for backwards compatibility we want to maintain
|
|
2353
|
+
|
|
2354
|
+
// This logic, however, is not guaranteed and can change at any point in the future
|
|
2355
|
+
|
|
2356
|
+
// This method will return documentElement in the following cases:
|
|
2357
|
+
|
|
2358
|
+
// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
|
|
2359
|
+
|
|
2360
|
+
// This transport only deals with cross domain or forced-by-attrs requests
|
|
2361
|
+
|
|
2362
|
+
// This will be removed completely in 4.0. See gh-4904.
|
|
2363
|
+
|
|
2364
|
+
// Timeout
|
|
2365
|
+
|
|
2366
|
+
// Timers currently will call their complete callbacks, which
|
|
2367
|
+
|
|
2368
|
+
// To know if global events are to be dispatched
|
|
2369
|
+
|
|
2370
|
+
// To know if the callbacks have already been called at least once
|
|
2371
|
+
|
|
2372
|
+
// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,
|
|
2373
|
+
|
|
2374
|
+
// Toggle individual class names
|
|
2375
|
+
|
|
2376
|
+
// Toggle whole class name
|
|
2377
|
+
|
|
2378
|
+
// Tolerate NodeList properties (IE: "length"; Safari: <number>) matching
|
|
2379
|
+
|
|
2380
|
+
// Track unmatched elements for set filters
|
|
2381
|
+
|
|
2382
|
+
// Treat each array item as a scalar.
|
|
2383
|
+
|
|
2384
|
+
// Treat null/undefined as ""; convert numbers to string
|
|
2385
|
+
|
|
2386
|
+
// Treat the template element as a regular one in browsers that
|
|
2387
|
+
|
|
2388
|
+
// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
|
|
2389
|
+
|
|
2390
|
+
// Trigger the native event and capture its result
|
|
2391
|
+
|
|
2392
|
+
// Trim the selector passed to compile
|
|
2393
|
+
|
|
2394
|
+
// Trust units reported by jQuery.css
|
|
2395
|
+
|
|
2396
|
+
// Try convertible dataTypes
|
|
2397
|
+
|
|
2398
|
+
// Try prefixed name followed by the unprefixed name
|
|
2399
|
+
|
|
2400
|
+
// Try to minimize operations if there is only one selector in the list and no seed
|
|
2401
|
+
|
|
2402
|
+
// Try to shortcut find operations (as opposed to filters) in HTML documents
|
|
2403
|
+
|
|
2404
|
+
// Turn off finishing flag
|
|
2405
|
+
|
|
2406
|
+
// Type selector
|
|
2407
|
+
|
|
2408
|
+
// Types can be a map of types/handlers
|
|
2409
|
+
|
|
2410
|
+
// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
|
|
2411
|
+
|
|
2412
|
+
// URL without anti-cache param
|
|
2413
|
+
|
|
2414
|
+
// Un-match failing elements by moving them back to matcherIn
|
|
2415
|
+
|
|
2416
|
+
// Unbind all events (on this namespace, if provided) for the element
|
|
2417
|
+
|
|
2418
|
+
// Unique for each copy of jQuery on the page
|
|
2419
|
+
|
|
2420
|
+
// Unless errors are allowed to bubble, catch and return them
|
|
2421
|
+
|
|
2422
|
+
// Unless we *know* we can detect duplicates, assume their presence
|
|
2423
|
+
|
|
2424
|
+
// Unwrap a CDATA section containing script contents. This shouldn't be
|
|
2425
|
+
|
|
2426
|
+
// Update global variables
|
|
2427
|
+
|
|
2428
|
+
// Update special based on newly reset type
|
|
2429
|
+
|
|
2430
|
+
// Uppercase the type
|
|
2431
|
+
|
|
2432
|
+
// Url cleanup var
|
|
2433
|
+
|
|
2434
|
+
// Use (key + " ") to avoid collision with native prototype properties
|
|
2435
|
+
|
|
2436
|
+
// Use .is( ":disabled" ) so that fieldset[disabled] works
|
|
2437
|
+
|
|
2438
|
+
// Use .style if available and use plain properties where available.
|
|
2439
|
+
|
|
2440
|
+
// Use `delegateType` as the key as `type` is already used by `leverageNative`.
|
|
2441
|
+
|
|
2442
|
+
// Use a noop converter for missing script but not if jsonp
|
|
2443
|
+
|
|
2444
|
+
// Use a property on the element directly when it is not a DOM element,
|
|
2445
|
+
|
|
2446
|
+
// Use cssHook if its there.
|
|
2447
|
+
|
|
2448
|
+
// Use data converter to retrieve json after script execution
|
|
2449
|
+
|
|
2450
|
+
// Use integer dirruns iff this is the outermost matcher
|
|
2451
|
+
|
|
2452
|
+
// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)
|
|
2453
|
+
|
|
2454
|
+
// Use native DOM manipulation to avoid our domManip AJAX trickery
|
|
2455
|
+
|
|
2456
|
+
// Use offsetWidth/offsetHeight for when box sizing is unreliable.
|
|
2457
|
+
|
|
2458
|
+
// Use onreadystatechange to replace onabort
|
|
2459
|
+
|
|
2460
|
+
// Use previously-cached element index if available
|
|
2461
|
+
|
|
2462
|
+
// Use proper attribute retrieval (trac-12072)
|
|
2463
|
+
|
|
2464
|
+
// Use same guid so caller can remove using origFn
|
|
2465
|
+
|
|
2466
|
+
// Use step hook for back compat.
|
|
2467
|
+
|
|
2468
|
+
// Use the fix-ed jQuery.Event rather than the (read-only) native event
|
|
2469
|
+
|
|
2470
|
+
// Use the handy event callback
|
|
2471
|
+
|
|
2472
|
+
// Use the original fragment for the last item
|
|
2473
|
+
|
|
2474
|
+
// Use the same loop as above to seek `elem` from the start
|
|
2475
|
+
|
|
2476
|
+
// Use toString instead of jQuery.type to catch host objects
|
|
2477
|
+
|
|
2478
|
+
// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)
|
|
2479
|
+
|
|
2480
|
+
// Used by camelCase as callback to replace()
|
|
2481
|
+
|
|
2482
|
+
// Used for iframes; see `setDocument`.
|
|
2483
|
+
|
|
2484
|
+
// Used only for `focus(in | out)` events
|
|
2485
|
+
|
|
2486
|
+
// Utilize native event if possible so blur/focus sequence is correct
|
|
2487
|
+
|
|
2488
|
+
// Utilize native event to ensure correct state for checkable inputs
|
|
2489
|
+
|
|
2490
|
+
// Verify the id attribute
|
|
2491
|
+
|
|
2492
|
+
// Watch for a new set of requests
|
|
2493
|
+
|
|
2494
|
+
// We add the dataType to the list if needed
|
|
2495
|
+
|
|
2496
|
+
// We also use the url parameter if available
|
|
2497
|
+
|
|
2498
|
+
// We always set camelCase keys, so remove that.
|
|
2499
|
+
|
|
2500
|
+
// We always store the camelCased key
|
|
2501
|
+
|
|
2502
|
+
// We assume that it's the callback
|
|
2503
|
+
|
|
2504
|
+
// We can accept data for non-element nodes in modern browsers,
|
|
2505
|
+
|
|
2506
|
+
// We can fire global events as of now if asked to
|
|
2507
|
+
|
|
2508
|
+
// We can use :scope instead of the ID hack if the browser
|
|
2509
|
+
|
|
2510
|
+
// We can't cloneNode fragments that contain checked, in WebKit
|
|
2511
|
+
|
|
2512
|
+
// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
|
|
2513
|
+
|
|
2514
|
+
// We don't need an array for one selects
|
|
2515
|
+
|
|
2516
|
+
// We don't want to classify *any* DOM node as a function.
|
|
2517
|
+
|
|
2518
|
+
// We eschew jQuery#find here for performance reasons:
|
|
2519
|
+
|
|
2520
|
+
// We have to close these tags to support XHTML (trac-13200)
|
|
2521
|
+
|
|
2522
|
+
// We include `*` in the test to detect buggy implementations that are
|
|
2523
|
+
|
|
2524
|
+
// We must always have either seed elements or outermost context
|
|
2525
|
+
|
|
2526
|
+
// We should always get a number back from opacity
|
|
2527
|
+
|
|
2528
|
+
// We tried really hard, but the data doesn't exist.
|
|
2529
|
+
|
|
2530
|
+
// We use the same native handler for focusin & focus (and focusout & blur)
|
|
2531
|
+
|
|
2532
|
+
// We use this for POS matching in `select`
|
|
2533
|
+
|
|
2534
|
+
// We're done with this property
|
|
2535
|
+
|
|
2536
|
+
// Webkit & Blink performance suffers when deleting properties
|
|
2537
|
+
|
|
2538
|
+
// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
|
|
2539
|
+
|
|
2540
|
+
// When found, cache indexes on `parent` and break
|
|
2541
|
+
|
|
2542
|
+
// When the key is not a string, or both a key and value
|
|
2543
|
+
|
|
2544
|
+
// Where available, offsetWidth/offsetHeight approximate border box dimensions.
|
|
2545
|
+
|
|
2546
|
+
// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the
|
|
2547
|
+
|
|
2548
|
+
// Where there is no isDisabled, check manually
|
|
2549
|
+
|
|
2550
|
+
// Work with a copy of dataTypes in case we need to modify it for conversion
|
|
2551
|
+
|
|
2552
|
+
// X-Requested-With header
|
|
2553
|
+
|
|
2554
|
+
// XHTML parsers do not magically insert elements in the
|
|
2555
|
+
|
|
2556
|
+
// _selectively_ forgiving (specifically when the list includes at least
|
|
2557
|
+
|
|
2558
|
+
// `contentDocument` with a `null` prototype.
|
|
2559
|
+
|
|
2560
|
+
// `getPropertyValue` returns an empty string, the value returned
|
|
2561
|
+
|
|
2562
|
+
// `handle` from private data would already wrap the event, but we need
|
|
2563
|
+
|
|
2564
|
+
// `i` is now the count of elements visited above, and adding it to `matchedCount`
|
|
2565
|
+
|
|
2566
|
+
// `in` check used to prevent JIT error (gh-2145)
|
|
2567
|
+
|
|
2568
|
+
// `jQuery.event.add`, so event handle will already have been set
|
|
2569
|
+
|
|
2570
|
+
// `jQuery.globalEval` so that it can fake a nonce-containing node
|
|
2571
|
+
|
|
2572
|
+
// `name` and `type` must use .setAttribute for WWA (trac-14901)
|
|
2573
|
+
|
|
2574
|
+
// `value` parameter was not undefined. An empty jQuery object
|
|
2575
|
+
|
|
2576
|
+
// `|| data` is dead code meant only to preserve the variable through minification.
|
|
2577
|
+
|
|
2578
|
+
// a leveraged native-event stack
|
|
2579
|
+
|
|
2580
|
+
// action, add listener, callbacks,
|
|
2581
|
+
|
|
2582
|
+
// advance to the next closing parenthesis
|
|
2583
|
+
|
|
2584
|
+
// after the browser event has already occurred.
|
|
2585
|
+
|
|
2586
|
+
// akin to a jigsaw puzzle, we simply never set it to be sure.
|
|
2587
|
+
|
|
2588
|
+
// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.
|
|
2589
|
+
|
|
2590
|
+
// allowing us to differentiate them without a performance penalty
|
|
2591
|
+
|
|
2592
|
+
// already occurred before other listeners are invoked.
|
|
2593
|
+
|
|
2594
|
+
// and CommonJS for browser emulators (trac-13566)
|
|
2595
|
+
|
|
2596
|
+
// and might be considered as more preferable results.
|
|
2597
|
+
|
|
2598
|
+
// and multiple values (non-spec behavior)
|
|
2599
|
+
|
|
2600
|
+
// and radios. We accept this limitation.
|
|
2601
|
+
|
|
2602
|
+
// and return the corresponding response
|
|
2603
|
+
|
|
2604
|
+
// and returning `undefined` aligns with older jQuery.
|
|
2605
|
+
|
|
2606
|
+
// and set to an empty string but there's no standard API
|
|
2607
|
+
|
|
2608
|
+
// and when you create one that shouldn't be
|
|
2609
|
+
|
|
2610
|
+
// and/or If-None-Match header later on
|
|
2611
|
+
|
|
2612
|
+
// anyway.
|
|
2613
|
+
|
|
2614
|
+
// are async. In other browsers, all those handlers are invoked synchronously.
|
|
2615
|
+
|
|
2616
|
+
// are based on the document's URL (gh-2965)
|
|
2617
|
+
|
|
2618
|
+
// are emptied (fx is the type by default)
|
|
2619
|
+
|
|
2620
|
+
// are specified, set or extend (existing objects) with either:
|
|
2621
|
+
|
|
2622
|
+
// arg is for internal usage only
|
|
2623
|
+
|
|
2624
|
+
// arguments are needed to create the filter function
|
|
2625
|
+
|
|
2626
|
+
// arguments.
|
|
2627
|
+
|
|
2628
|
+
// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
|
|
2629
|
+
|
|
2630
|
+
// around the issue.
|
|
2631
|
+
|
|
2632
|
+
// as such selectors are not recognized by querySelectorAll.
|
|
2633
|
+
|
|
2634
|
+
// as whitespace while CSS does not, but this is not a problem
|
|
2635
|
+
|
|
2636
|
+
// as xhr.onerror cannot be accessed
|
|
2637
|
+
|
|
2638
|
+
// attach a single handler for both events in IE.
|
|
2639
|
+
|
|
2640
|
+
// attempt a parseFloat and fallback to a string if the parse fails.
|
|
2641
|
+
|
|
2642
|
+
// automatically dequeued
|
|
2643
|
+
|
|
2644
|
+
// background-* props affect original clone's values
|
|
2645
|
+
|
|
2646
|
+
// because CSS preprocessing replaces them with U+000A LINE FEED
|
|
2647
|
+
|
|
2648
|
+
// becomes browsing-context connected.
|
|
2649
|
+
|
|
2650
|
+
// behavior of getting and setting a style property
|
|
2651
|
+
|
|
2652
|
+
// being emptied incorrectly in certain situations (trac-8070).
|
|
2653
|
+
|
|
2654
|
+
// being equal to the identifier C,
|
|
2655
|
+
|
|
2656
|
+
// both leading & trailing whitespace to a single space.
|
|
2657
|
+
|
|
2658
|
+
// bubbling surrogate propagates *after* the non-bubbling base), but that seems
|
|
2659
|
+
|
|
2660
|
+
// but it must have a current display style that would benefit
|
|
2661
|
+
|
|
2662
|
+
// but that will not handle a native abort
|
|
2663
|
+
|
|
2664
|
+
// but those exceptions were never presented as a real life use-cases
|
|
2665
|
+
|
|
2666
|
+
// but we should not, see trac-8335.
|
|
2667
|
+
|
|
2668
|
+
// but width seems to be reliably pixels.
|
|
2669
|
+
|
|
2670
|
+
// by `.css()` would be `undefined`. This is usually the case for
|
|
2671
|
+
|
|
2672
|
+
// by a handler lower down the tree; reflect the correct value.
|
|
2673
|
+
|
|
2674
|
+
// by stopping immediate propagation just on the jQuery event. However,
|
|
2675
|
+
|
|
2676
|
+
// by this point.
|
|
2677
|
+
|
|
2678
|
+
// by using document.implementation
|
|
2679
|
+
|
|
2680
|
+
// camelCase, specialEasing and expand cssHook pass
|
|
2681
|
+
|
|
2682
|
+
// captured before the async barrier to get the original error cause
|
|
2683
|
+
|
|
2684
|
+
// case, which will result in a "00" `matchedCount` that differs from `i` but is also
|
|
2685
|
+
|
|
2686
|
+
// check is required in this first loop unless we have a nonempty display value (either
|
|
2687
|
+
|
|
2688
|
+
// checked="checked" or checked
|
|
2689
|
+
|
|
2690
|
+
// collapse sibling forms: the second one becomes a child of the first one.
|
|
2691
|
+
|
|
2692
|
+
// complex values such as "rotate(1rad)" are returned as-is.
|
|
2693
|
+
|
|
2694
|
+
// context (optional): If specified, the fragment will be created in this context,
|
|
2695
|
+
|
|
2696
|
+
// correct value when it hasn't been explicitly set
|
|
2697
|
+
|
|
2698
|
+
// count of uncompleted subordinates
|
|
2699
|
+
|
|
2700
|
+
// count of unprocessed arguments
|
|
2701
|
+
|
|
2702
|
+
// data from the HTML5 data-* attribute
|
|
2703
|
+
|
|
2704
|
+
// dataFilter is not invoked for failure responses, so using it instead
|
|
2705
|
+
|
|
2706
|
+
// dataPriv.set( el, "click", ... )
|
|
2707
|
+
|
|
2708
|
+
// dataPriv.set( this, "blur", ... )
|
|
2709
|
+
|
|
2710
|
+
// dataPriv.set( this, "focus", ... )
|
|
2711
|
+
|
|
2712
|
+
// dataTypeExpression is optional and defaults to "*"
|
|
2713
|
+
|
|
2714
|
+
// deep extended (see ajaxExtend)
|
|
2715
|
+
|
|
2716
|
+
// defaults to document
|
|
2717
|
+
|
|
2718
|
+
// deferred.done(function() { bind to newDefer or newDefer.resolve })
|
|
2719
|
+
|
|
2720
|
+
// deferred.fail(function() { bind to newDefer or newDefer.reject })
|
|
2721
|
+
|
|
2722
|
+
// deferred.notify = function() { deferred.notifyWith(...) }
|
|
2723
|
+
|
|
2724
|
+
// deferred.notifyWith = list.fireWith
|
|
2725
|
+
|
|
2726
|
+
// deferred.progress(function() { bind to newDefer or newDefer.notify })
|
|
2727
|
+
|
|
2728
|
+
// deferred.reject = function() { deferred.rejectWith(...) }
|
|
2729
|
+
|
|
2730
|
+
// deferred.rejectWith = list.fireWith
|
|
2731
|
+
|
|
2732
|
+
// deferred.resolve = function() { deferred.resolveWith(...) }
|
|
2733
|
+
|
|
2734
|
+
// deferred.resolveWith = list.fireWith
|
|
2735
|
+
|
|
2736
|
+
// define __esModule on exports
|
|
2737
|
+
|
|
2738
|
+
// define getter functions for harmony exports
|
|
2739
|
+
|
|
2740
|
+
// depend on duplicate detection in all browsers without a stable sort.
|
|
2741
|
+
|
|
2742
|
+
// descendant combinators, which is not what we want.
|
|
2743
|
+
|
|
2744
|
+
// did it), otherwise encode params recursively.
|
|
2745
|
+
|
|
2746
|
+
// disconnected elements. However, in IE even disconnected elements
|
|
2747
|
+
|
|
2748
|
+
// disconnected node in IE throws an error
|
|
2749
|
+
|
|
2750
|
+
// display for all div elements is set to "inline",
|
|
2751
|
+
|
|
2752
|
+
// document fragments.
|
|
2753
|
+
|
|
2754
|
+
// don't support it.
|
|
2755
|
+
|
|
2756
|
+
// e.g. http://example.com:80x/
|
|
2757
|
+
|
|
2758
|
+
// e.g. var jQuery = require("jquery")(window);
|
|
2759
|
+
|
|
2760
|
+
// elem.tabIndex doesn't always return the
|
|
2761
|
+
|
|
2762
|
+
// elements by id. (see trac-14142)
|
|
2763
|
+
|
|
2764
|
+
// enough that all such attempts are guarded in a try block.
|
|
2765
|
+
|
|
2766
|
+
// environments will fail in the qSA path and fall back to jQuery traversal
|
|
2767
|
+
|
|
2768
|
+
// equals `i`), unless we didn't visit _any_ elements in the above loop because we have
|
|
2769
|
+
|
|
2770
|
+
// error in IE/Edge.
|
|
2771
|
+
|
|
2772
|
+
// errors on any property access that is not readyState
|
|
2773
|
+
|
|
2774
|
+
// eslint rule "no-unused-expressions" is disabled for this code
|
|
2775
|
+
|
|
2776
|
+
// eslint-disable-next-line eqeqeq
|
|
2777
|
+
|
|
2778
|
+
// eslint-disable-next-line no-unused-expressions
|
|
2779
|
+
|
|
2780
|
+
// everyone via native `stopPropagation()`. This is not a problem for
|
|
2781
|
+
|
|
2782
|
+
// except "table", "table-cell", or "table-caption"
|
|
2783
|
+
|
|
2784
|
+
// excess is a negative index
|
|
2785
|
+
|
|
2786
|
+
// faking a content-box to get border and padding (gh-3699)
|
|
2787
|
+
|
|
2788
|
+
// falling back to the empty string if nothing was stored.
|
|
2789
|
+
|
|
2790
|
+
// fixes an issue with getting wrong values
|
|
2791
|
+
|
|
2792
|
+
// focus(in | out) events fire after focus & blur events,
|
|
2793
|
+
|
|
2794
|
+
// focus/blur don't bubble while focusin/focusout do; simulate the former by only
|
|
2795
|
+
|
|
2796
|
+
// focus/blur morphs to focusin/out; ensure we're not firing them right now
|
|
2797
|
+
|
|
2798
|
+
// focus/blur which don't bubble, but it does also stop click on checkboxes
|
|
2799
|
+
|
|
2800
|
+
// focus/blur. This is because the former are synchronous in IE while the latter
|
|
2801
|
+
|
|
2802
|
+
// for the description of the bug (it existed in older Chrome versions as well).
|
|
2803
|
+
|
|
2804
|
+
// forces the browser to respect setting selected
|
|
2805
|
+
|
|
2806
|
+
// forces the browser to treat the default option as
|
|
2807
|
+
|
|
2808
|
+
// fragment in IE 9
|
|
2809
|
+
|
|
2810
|
+
// from DOM nodes, so set to undefined instead
|
|
2811
|
+
|
|
2812
|
+
// from identically-valued overflowX and overflowY and Edge just mirrors
|
|
2813
|
+
|
|
2814
|
+
// fulfilled_callbacks.disable
|
|
2815
|
+
|
|
2816
|
+
// fulfilled_handlers.add( ... )
|
|
2817
|
+
|
|
2818
|
+
// fulfilled_handlers.disable
|
|
2819
|
+
|
|
2820
|
+
// fulfilled_handlers.fire
|
|
2821
|
+
|
|
2822
|
+
// getBoundingClientRect().width unless display is changed.
|
|
2823
|
+
|
|
2824
|
+
// getComputedStyle returns percent when specified for top/left/bottom/right;
|
|
2825
|
+
|
|
2826
|
+
// getDefaultExport function for compatibility with non-harmony modules
|
|
2827
|
+
|
|
2828
|
+
// getElementById can match elements by name instead of ID
|
|
2829
|
+
|
|
2830
|
+
// getElementById is not reliable as a find shortcut
|
|
2831
|
+
|
|
2832
|
+
// getPropertyValue is needed for:
|
|
2833
|
+
|
|
2834
|
+
// gets around this issue.
|
|
2835
|
+
|
|
2836
|
+
// handleObj is passed to all event handlers
|
|
2837
|
+
|
|
2838
|
+
// handling them through jQuery traversal in jQuery 3.x.
|
|
2839
|
+
|
|
2840
|
+
// hasOwn isn't used here due to false negatives
|
|
2841
|
+
|
|
2842
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
|
|
2843
|
+
|
|
2844
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=470258
|
|
2845
|
+
|
|
2846
|
+
// https://bugs.jquery.com/ticket/13393
|
|
2847
|
+
|
|
2848
|
+
// https://bugs.webkit.org/show_bug.cgi?id=136851
|
|
2849
|
+
|
|
2850
|
+
// https://bugs.webkit.org/show_bug.cgi?id=137337
|
|
2851
|
+
|
|
2852
|
+
// https://drafts.csswg.org/cssom/#common-serializing-idioms
|
|
2853
|
+
|
|
2854
|
+
// https://drafts.csswg.org/cssom/#resolved-values
|
|
2855
|
+
|
|
2856
|
+
// https://drafts.csswg.org/selectors/#relational now requires the argument
|
|
2857
|
+
|
|
2858
|
+
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
|
|
2859
|
+
|
|
2860
|
+
// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
|
|
2861
|
+
|
|
2862
|
+
// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
|
|
2863
|
+
|
|
2864
|
+
// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
|
|
2865
|
+
|
|
2866
|
+
// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace
|
|
2867
|
+
|
|
2868
|
+
// https://jsperf.com/getall-vs-sizzle/2
|
|
2869
|
+
|
|
2870
|
+
// https://promisesaplus.com/#point-48
|
|
2871
|
+
|
|
2872
|
+
// https://promisesaplus.com/#point-54
|
|
2873
|
+
|
|
2874
|
+
// https://promisesaplus.com/#point-57
|
|
2875
|
+
|
|
2876
|
+
// https://promisesaplus.com/#point-59
|
|
2877
|
+
|
|
2878
|
+
// https://promisesaplus.com/#point-61
|
|
2879
|
+
|
|
2880
|
+
// https://promisesaplus.com/#point-64
|
|
2881
|
+
|
|
2882
|
+
// https://promisesaplus.com/#point-75
|
|
2883
|
+
|
|
2884
|
+
// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
|
|
2885
|
+
|
|
2886
|
+
// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
|
2887
|
+
|
|
2888
|
+
// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
|
|
2889
|
+
|
|
2890
|
+
// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
|
|
2891
|
+
|
|
2892
|
+
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
|
|
2893
|
+
|
|
2894
|
+
// https://www.w3.org/TR/css-syntax-3/#input-preprocessing
|
|
2895
|
+
|
|
2896
|
+
// https://www.w3.org/TR/selectors/#empty-pseudo
|
|
2897
|
+
|
|
2898
|
+
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
2899
|
+
|
|
2900
|
+
// https://www.w3.org/TR/selectors/#pseudo-classes
|
|
2901
|
+
|
|
2902
|
+
// if no content
|
|
2903
|
+
|
|
2904
|
+
// if not specified.
|
|
2905
|
+
|
|
2906
|
+
// if we're just parsing
|
|
2907
|
+
|
|
2908
|
+
// in IE throws an error.
|
|
2909
|
+
|
|
2910
|
+
// in browsers that parse the `:has()` argument as a forgiving selector list.
|
|
2911
|
+
|
|
2912
|
+
// in computed dimensions. (gh-4529)
|
|
2913
|
+
|
|
2914
|
+
// in that case, element will be second argument
|
|
2915
|
+
|
|
2916
|
+
// in the document.
|
|
2917
|
+
|
|
2918
|
+
// inline or about-to-be-restored)
|
|
2919
|
+
|
|
2920
|
+
// inspecting element contents and in HTML documents they have no
|
|
2921
|
+
|
|
2922
|
+
// instead of the first because it can end up
|
|
2923
|
+
|
|
2924
|
+
// invoking the handler at the lower level.
|
|
2925
|
+
|
|
2926
|
+
// is based solely on the element's language value
|
|
2927
|
+
|
|
2928
|
+
// is present, execute the factory and get jQuery.
|
|
2929
|
+
|
|
2930
|
+
// isHiddenWithinTree might be called from jQuery#filter function;
|
|
2931
|
+
|
|
2932
|
+
// it can be rejected by the transport if it is invalid
|
|
2933
|
+
|
|
2934
|
+
// it will also be a sign that checks already performed
|
|
2935
|
+
|
|
2936
|
+
// it's only available as `"cssFloat"`. We no longer modify properties
|
|
2937
|
+
|
|
2938
|
+
// jQuery handler
|
|
2939
|
+
|
|
2940
|
+
// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
|
|
2941
|
+
|
|
2942
|
+
// jQuery.proxy is deprecated to promote standards (specifically Function#bind)
|
|
2943
|
+
|
|
2944
|
+
// jQuery.support is not used in Core but other projects attach their
|
|
2945
|
+
|
|
2946
|
+
// just as jQuery does
|
|
2947
|
+
|
|
2948
|
+
// keepScripts (optional): If true, will include scripts passed in the html string
|
|
2949
|
+
|
|
2950
|
+
// key/values into a query string
|
|
2951
|
+
|
|
2952
|
+
// lang value must be a valid identifier
|
|
2953
|
+
|
|
2954
|
+
// leading to errors. We need to check for `getRootNode`.
|
|
2955
|
+
|
|
2956
|
+
// less bad than duplication.
|
|
2957
|
+
|
|
2958
|
+
// list with an ID selector referencing the scope context.
|
|
2959
|
+
|
|
2960
|
+
// makes the latter nonnegative.
|
|
2961
|
+
|
|
2962
|
+
// meaning but we're preserving that logic for backwards compatibility.
|
|
2963
|
+
|
|
2964
|
+
// native handlers on the same element to run. On target, this is achieved
|
|
2965
|
+
|
|
2966
|
+
// needed as in XML documents they're already not visible when
|
|
2967
|
+
|
|
2968
|
+
// no element matchers and no seed.
|
|
2969
|
+
|
|
2970
|
+
// no module.id needed
|
|
2971
|
+
|
|
2972
|
+
// no module.loaded needed
|
|
2973
|
+
|
|
2974
|
+
// nodeType < 6 works because attributes (2) do not appear as children
|
|
2975
|
+
|
|
2976
|
+
// nodeType defaults to 9, since context defaults to document
|
|
2977
|
+
|
|
2978
|
+
// non-xml :nth-child(...) stores cache data on `parent`
|
|
2979
|
+
|
|
2980
|
+
// normalized at this point
|
|
2981
|
+
|
|
2982
|
+
// nth-* requires argument
|
|
2983
|
+
|
|
2984
|
+
// numeric x and y parameters for Expr.filter.CHILD
|
|
2985
|
+
|
|
2986
|
+
// numerically zero.
|
|
2987
|
+
|
|
2988
|
+
// of the default converter is kludgy but it works.
|
|
2989
|
+
|
|
2990
|
+
// offset() relates an element's border box to the document origin
|
|
2991
|
+
|
|
2992
|
+
// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border
|
|
2993
|
+
|
|
2994
|
+
// on a disconnected node.
|
|
2995
|
+
|
|
2996
|
+
// on detached elements
|
|
2997
|
+
|
|
2998
|
+
// on the option
|
|
2999
|
+
|
|
3000
|
+
// one valid selector).
|
|
3001
|
+
|
|
3002
|
+
// option.text throws exceptions (trac-14686, trac-14858)
|
|
3003
|
+
|
|
3004
|
+
// or :nth-last-child(...) or :nth(-last)?-of-type(...)
|
|
3005
|
+
|
|
3006
|
+
// or beginning with the identifier C immediately followed by "-".
|
|
3007
|
+
|
|
3008
|
+
// or preexisting results,
|
|
3009
|
+
|
|
3010
|
+
// or when there is no matching style property that exists.
|
|
3011
|
+
|
|
3012
|
+
// otherwise step value is 2 to skip over Left and Right
|
|
3013
|
+
|
|
3014
|
+
// otherwise we skip this part
|
|
3015
|
+
|
|
3016
|
+
// parseFloat NaNs numeric-cast false positives ("")
|
|
3017
|
+
|
|
3018
|
+
// position() relates an element's margin box to its offset parent's padding box
|
|
3019
|
+
|
|
3020
|
+
// position:fixed elements are offset from the viewport, which itself always has zero offset
|
|
3021
|
+
|
|
3022
|
+
// progress_callbacks.lock
|
|
3023
|
+
|
|
3024
|
+
// progress_handlers.add( ... )
|
|
3025
|
+
|
|
3026
|
+
// progress_handlers.fire
|
|
3027
|
+
|
|
3028
|
+
// progress_handlers.lock
|
|
3029
|
+
|
|
3030
|
+
// promise.done = list.add
|
|
3031
|
+
|
|
3032
|
+
// promise.fail = list.add
|
|
3033
|
+
|
|
3034
|
+
// promise.progress = list.add
|
|
3035
|
+
|
|
3036
|
+
// propagation so the only way to stop it for jQuery is to stop it for
|
|
3037
|
+
|
|
3038
|
+
// properties to it so it needs to exist.
|
|
3039
|
+
|
|
3040
|
+
// pseudo-class names are case-insensitive
|
|
3041
|
+
|
|
3042
|
+
// pseudo-classes inside `:has()` (such as `:has(:contains("Foo"))`)
|
|
3043
|
+
|
|
3044
|
+
// push.apply(_, arraylike) throws on ancient WebKit
|
|
3045
|
+
|
|
3046
|
+
// qSA considers elements outside a scoping root when evaluating child or
|
|
3047
|
+
|
|
3048
|
+
// rather than make the css module depend on the offset module, just check for it here
|
|
3049
|
+
|
|
3050
|
+
// regarding Nodelist length in IE
|
|
3051
|
+
|
|
3052
|
+
// rejected_callbacks.disable
|
|
3053
|
+
|
|
3054
|
+
// rejected_handlers.add( ... )
|
|
3055
|
+
|
|
3056
|
+
// rejected_handlers.disable
|
|
3057
|
+
|
|
3058
|
+
// rejected_handlers.fire
|
|
3059
|
+
|
|
3060
|
+
// release memory in IE
|
|
3061
|
+
|
|
3062
|
+
// remember that false/true cast respectively to 0/1
|
|
3063
|
+
|
|
3064
|
+
// respecting firingIndex overrides and runtime changes
|
|
3065
|
+
|
|
3066
|
+
// results is for internal usage only
|
|
3067
|
+
|
|
3068
|
+
// retrieved value as a content box dimension.
|
|
3069
|
+
|
|
3070
|
+
// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED
|
|
3071
|
+
|
|
3072
|
+
// same way that tag soup parsers do. So we cannot shorten
|
|
3073
|
+
|
|
3074
|
+
// selected when in an optgroup.
|
|
3075
|
+
|
|
3076
|
+
// sent to `.css()` apart from camelCasing, so we need to check both.
|
|
3077
|
+
|
|
3078
|
+
// set in CSS while `offset*` properties report correct values.
|
|
3079
|
+
|
|
3080
|
+
// setting or getting the value
|
|
3081
|
+
|
|
3082
|
+
// since it considers such accessions noop
|
|
3083
|
+
|
|
3084
|
+
// since it's otherwise lost when execution goes async
|
|
3085
|
+
|
|
3086
|
+
// since they are user-defined.
|
|
3087
|
+
|
|
3088
|
+
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
|
3089
|
+
|
|
3090
|
+
// so any parsed elements with URLs
|
|
3091
|
+
|
|
3092
|
+
// so migrate can support jQuery.sub (gh-2101)
|
|
3093
|
+
|
|
3094
|
+
// so that event delegation works in jQuery.
|
|
3095
|
+
|
|
3096
|
+
// so they're executed at the same time to save the second computation.
|
|
3097
|
+
|
|
3098
|
+
// so use a roundabout getElementsByName test
|
|
3099
|
+
|
|
3100
|
+
// so we need to coordinate setup & teardown parts between those events.
|
|
3101
|
+
|
|
3102
|
+
// some versions of this test; make sure not to make it pass there!
|
|
3103
|
+
|
|
3104
|
+
// spaces as combinators
|
|
3105
|
+
|
|
3106
|
+
// spec-compliant support, which is fine because use of `:has()` in such
|
|
3107
|
+
|
|
3108
|
+
// specially universal or its namespaces are a superset of the event's.
|
|
3109
|
+
|
|
3110
|
+
// state = "rejected"
|
|
3111
|
+
|
|
3112
|
+
// state = "resolved" (i.e., fulfilled)
|
|
3113
|
+
|
|
3114
|
+
// strict-comparing two documents; shallow comparisons work.
|
|
3115
|
+
|
|
3116
|
+
// strings and numbers (primitives or objects)
|
|
3117
|
+
|
|
3118
|
+
// subordinate callback factory
|
|
3119
|
+
|
|
3120
|
+
// subordinate fulfillment data
|
|
3121
|
+
|
|
3122
|
+
// subsequent errors
|
|
3123
|
+
|
|
3124
|
+
// subtraction forces infinities to NaN
|
|
3125
|
+
|
|
3126
|
+
// supports it & if we're not changing the context.
|
|
3127
|
+
|
|
3128
|
+
// surrogate pair
|
|
3129
|
+
|
|
3130
|
+
// synthetic events by interrupting progress until reinvoked in response to
|
|
3131
|
+
|
|
3132
|
+
// that can be coerced to finite numbers (gh-2662)
|
|
3133
|
+
|
|
3134
|
+
// that pass the validator function
|
|
3135
|
+
|
|
3136
|
+
// that takes "flat" options (not to be deep extended)
|
|
3137
|
+
|
|
3138
|
+
// the `nonce` attribute is reset to an empty string whenever it
|
|
3139
|
+
|
|
3140
|
+
// the native event and prevent that from happening again here.
|
|
3141
|
+
|
|
3142
|
+
// the native event is re-wrapped by a jQuery one on each level of the
|
|
3143
|
+
|
|
3144
|
+
// the overflowX value there.
|
|
3145
|
+
|
|
3146
|
+
// the primary Deferred
|
|
3147
|
+
|
|
3148
|
+
// the ready event fires. See trac-6781
|
|
3149
|
+
|
|
3150
|
+
// the select element.
|
|
3151
|
+
|
|
3152
|
+
// then remove the whole classname (if there was one, the above saved it).
|
|
3153
|
+
|
|
3154
|
+
// there is still data from a stopped show/hide
|
|
3155
|
+
|
|
3156
|
+
// this by omitting <tbody> or other required elements.
|
|
3157
|
+
|
|
3158
|
+
// this throws a TypeError, but we will just return undefined.
|
|
3159
|
+
|
|
3160
|
+
// throw an exception if an attempt to read a data cache is made.
|
|
3161
|
+
|
|
3162
|
+
// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
|
|
3163
|
+
|
|
3164
|
+
// timeout handle
|
|
3165
|
+
|
|
3166
|
+
// to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position.
|
|
3167
|
+
|
|
3168
|
+
// to avoid forcing a reflow.
|
|
3169
|
+
|
|
3170
|
+
// to avoid treating leading and trailing
|
|
3171
|
+
|
|
3172
|
+
// to be parsed unforgivingly, but browsers have not yet fully adjusted.
|
|
3173
|
+
|
|
3174
|
+
// to change the `type` here.
|
|
3175
|
+
|
|
3176
|
+
// to handle uncaught aborts
|
|
3177
|
+
|
|
3178
|
+
// to missing dependency), remove it.
|
|
3179
|
+
|
|
3180
|
+
// top or left is auto and position is either absolute or fixed
|
|
3181
|
+
|
|
3182
|
+
// trac-1450: sometimes IE returns 1223 when it should be 204
|
|
3183
|
+
|
|
3184
|
+
// trac-14683: Only rethrow if this hasn't been notified as an error yet
|
|
3185
|
+
|
|
3186
|
+
// trac-9682: remove data so that it's not used in an eventual retry
|
|
3187
|
+
|
|
3188
|
+
// two documents; shallow comparisons work.
|
|
3189
|
+
|
|
3190
|
+
// uncached part of the url
|
|
3191
|
+
|
|
3192
|
+
// unguarded in another place, it seems safer to define global only for this module
|
|
3193
|
+
|
|
3194
|
+
// use plain assignment
|
|
3195
|
+
|
|
3196
|
+
// user can override it through ajaxSetup method
|
|
3197
|
+
|
|
3198
|
+
// via an object.
|
|
3199
|
+
|
|
3200
|
+
// want to modify the value if it is a CSS custom property
|
|
3201
|
+
|
|
3202
|
+
// want to query the value if it is a CSS custom property
|
|
3203
|
+
|
|
3204
|
+
// warn about them ASAP rather than swallowing them by default.
|
|
3205
|
+
|
|
3206
|
+
// webpackBootstrap
|
|
3207
|
+
|
|
3208
|
+
// when a statically positioned element is identified
|
|
3209
|
+
|
|
3210
|
+
// when an event is called after a page has unloaded
|
|
3211
|
+
|
|
3212
|
+
// when in an optgroup
|
|
3213
|
+
|
|
3214
|
+
// which causes a problem only in Android 8 Chrome 86.
|
|
3215
|
+
|
|
3216
|
+
// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
|
|
3217
|
+
|
|
3218
|
+
// which may otherwise be hidden.
|
|
3219
|
+
|
|
3220
|
+
// which value to return, respectively either:
|
|
3221
|
+
|
|
3222
|
+
// while someone wants focusin/focusout.
|
|
3223
|
+
|
|
3224
|
+
// will dequeue but only if they were gotoEnd.
|
|
3225
|
+
|
|
3226
|
+
// will not be confused with a leftover capture object.
|
|
3227
|
+
|
|
3228
|
+
// will result in `undefined` for elem = this[ 0 ] which will
|
|
3229
|
+
|
|
3230
|
+
// with both ajaxSettings and settings fields.
|
|
3231
|
+
|
|
3232
|
+
// with direct calls to dataPriv methods, these can be deprecated.
|
|
3233
|
+
|
|
3234
|
+
// with elem.type === "text"
|
|
3235
|
+
|
|
3236
|
+
// with no styles return `"none"` for `getPropertyValue( "float" )`
|
|
3237
|
+
|
|
3238
|
+
// xml :nth-child(...)
|
|
3239
|
+
|
|
3240
|
+
// you can add your own custom options here if
|