ronds-metadata 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +2 -0
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/settings/index.d.ts +652 -86
- package/es/comps/MetadataForm/index.less +1 -1
- package/package.json +1 -1
- package/es/api/index.js +0 -249
- package/es/comps/DynamicPorts/comps/ContextMenu.js +0 -44
- package/es/comps/DynamicPorts/comps/DragNode.js +0 -55
- package/es/comps/DynamicPorts/comps/GraphHandler/index.js +0 -51
- package/es/comps/DynamicPorts/comps/NodeElement.js +0 -30
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.js +0 -42
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.js +0 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.js +0 -55
- package/es/comps/DynamicPorts/comps/shape/connector.js +0 -19
- package/es/comps/DynamicPorts/comps/shape/edge.js +0 -91
- package/es/comps/DynamicPorts/comps/shape/node.js +0 -190
- package/es/comps/DynamicPorts/constant/index.js +0 -19
- package/es/comps/DynamicPorts/graph.js +0 -697
- package/es/comps/DynamicPorts/index.js +0 -143
- package/es/comps/DynamicPorts/interface.js +0 -6
- package/es/comps/DynamicPorts/utils.js +0 -127
- package/es/comps/Editable/DataCell/ButtonCell.js +0 -45
- package/es/comps/Editable/DataCell/ColorPicker.js +0 -33
- package/es/comps/Editable/DataCell/Input.js +0 -54
- package/es/comps/Editable/DataCell/Number.js +0 -44
- package/es/comps/Editable/DataCell/Select.js +0 -48
- package/es/comps/Editable/DataCell/Switch.js +0 -33
- package/es/comps/Editable/comps/EditableAction.js +0 -110
- package/es/comps/Editable/comps/EditableCell.js +0 -108
- package/es/comps/Editable/comps/EditableHeardCell.js +0 -172
- package/es/comps/Editable/comps/EditableRow.js +0 -118
- package/es/comps/Editable/comps/Texty.js +0 -277
- package/es/comps/Editable/index.js +0 -385
- package/es/comps/Editable/interface.js +0 -8
- package/es/comps/Editable/utils.js +0 -46
- package/es/comps/FileView/index.js +0 -198
- package/es/comps/FormGenerator/Provider.js +0 -8
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.js +0 -16
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.js +0 -50
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.js +0 -55
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.js +0 -14
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.js +0 -50
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.js +0 -55
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.js +0 -13
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.js +0 -14
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.js +0 -17
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.js +0 -250
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.js +0 -60
- package/es/comps/FormGenerator/comps/Canvas/core/index.js +0 -313
- package/es/comps/FormGenerator/comps/Canvas/index.js +0 -118
- package/es/comps/FormGenerator/comps/Settings/index.js +0 -150
- package/es/comps/FormGenerator/comps/Sidebar/Elements.js +0 -48
- package/es/comps/FormGenerator/comps/Sidebar/index.js +0 -37
- package/es/comps/FormGenerator/index.js +0 -67
- package/es/comps/FormGenerator/settings/index.js +0 -307
- package/es/comps/FormGenerator/settings/ruleConfig.js +0 -557
- package/es/comps/FormGenerator/transformer.js +0 -223
- package/es/comps/Icons/index.js +0 -23
- package/es/comps/JsonEdit/constant/index.js +0 -87
- package/es/comps/JsonEdit/index.js +0 -221
- package/es/comps/JsonView/index.js +0 -109
- package/es/comps/MdEdit/index.js +0 -41
- package/es/comps/MdNavbar/index.js +0 -180
- package/es/comps/MdNavbar/utils.js +0 -34
- package/es/comps/MdView/index.js +0 -70
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.js +0 -419
- package/es/comps/MetadataEdit/components/MetaPropsEdit.js +0 -368
- package/es/comps/MetadataEdit/constant/index.js +0 -69
- package/es/comps/MetadataEdit/hooks/index.js +0 -43
- package/es/comps/MetadataEdit/index.js +0 -255
- package/es/comps/MetadataEditV2/components/MetaFieldsEdit.js +0 -237
- package/es/comps/MetadataEditV2/components/MetaPropsEdit.js +0 -367
- package/es/comps/MetadataEditV2/constant/index.js +0 -69
- package/es/comps/MetadataEditV2/hooks/index.js +0 -43
- package/es/comps/MetadataEditV2/index.js +0 -298
- package/es/comps/MetadataForm/DataCell/Array.js +0 -147
- package/es/comps/MetadataForm/DataCell/Input.js +0 -199
- package/es/comps/MetadataForm/DataCell/Number.js +0 -130
- package/es/comps/MetadataForm/DataCell/Ref.js +0 -325
- package/es/comps/MetadataForm/DataCell/Select.js +0 -518
- package/es/comps/MetadataForm/DataCell/Switch.js +0 -115
- package/es/comps/MetadataForm/DataCell/layout/TableArray.js +0 -359
- package/es/comps/MetadataForm/HOC/index.js +0 -125
- package/es/comps/MetadataForm/constants.js +0 -11
- package/es/comps/MetadataForm/hooks/index.js +0 -128
- package/es/comps/MetadataForm/index.js +0 -268
- package/es/comps/MetadataForm/interface.js +0 -8
- package/es/comps/MetadataForm/utils.js +0 -112
- package/es/comps/locales/en-US.js +0 -24
- package/es/comps/locales/index.js +0 -8
- package/es/comps/locales/zh-CN.js +0 -24
- package/es/config.js +0 -50
- package/es/framework/graph/index.js +0 -515
- package/es/framework/hooks/use-async-memo.js +0 -32
- package/es/framework/hooks/use-sync-scroll.js +0 -106
- package/es/framework/http/cache.js +0 -137
- package/es/framework/http/cancel.js +0 -44
- package/es/framework/http/index.js +0 -392
- package/es/framework/http/msgpack.js +0 -34
- package/es/framework/http/msgpack5/index.js +0 -84
- package/es/framework/http/msgpack5/lib/codecs/DateCodec.js +0 -71
- package/es/framework/http/msgpack5/lib/decoder.js +0 -287
- package/es/framework/http/msgpack5/lib/encoder.js +0 -252
- package/es/framework/http/msgpack5/lib/helpers.js +0 -23
- package/es/framework/http/msgpack5/lib/streams.js +0 -93
- package/es/framework/http/types.js +0 -1
- package/es/framework/libs/jquery.min.js +0 -4022
- package/es/framework/locale/dil8/di18n.js +0 -132
- package/es/framework/locale/dil8/index.js +0 -3
- package/es/framework/locale/dil8/translate.js +0 -76
- package/es/framework/locale/dil8/util.js +0 -17
- package/es/framework/locale/index.js +0 -26
- package/es/framework/metadata/MetadataService.js +0 -169
- package/es/framework/metadata/index.js +0 -384
- package/es/framework/rxjs-hooks/useMemoSubject.js +0 -16
- package/es/framework/rxjs-hooks/useObservable.js +0 -22
- package/es/framework/rxjs-hooks/useObservableState.js +0 -45
- package/es/index.js +0 -27
- package/es/utils.js +0 -138
@@ -1,4022 +0,0 @@
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/esm/typeof";
|
2
|
-
|
3
|
-
/*
|
4
|
-
* @Author: wangxian
|
5
|
-
* @Date: 2022-05-07 11:04:42
|
6
|
-
* @LastEditTime: 2022-05-07 11:04:43
|
7
|
-
*/
|
8
|
-
|
9
|
-
/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
|
10
|
-
!function (e, t) {
|
11
|
-
'use strict';
|
12
|
-
|
13
|
-
'object' == (typeof module === "undefined" ? "undefined" : _typeof(module)) && 'object' == _typeof(module.exports) ? module.exports = e.document ? t(e, !0) : function (e) {
|
14
|
-
if (!e.document) throw new Error('jQuery requires a window with a document');
|
15
|
-
return t(e);
|
16
|
-
} : t(e);
|
17
|
-
}('undefined' != typeof window ? window : this, function (C, e) {
|
18
|
-
'use strict';
|
19
|
-
|
20
|
-
var t = [],
|
21
|
-
E = C.document,
|
22
|
-
r = Object.getPrototypeOf,
|
23
|
-
s = t.slice,
|
24
|
-
g = t.concat,
|
25
|
-
u = t.push,
|
26
|
-
i = t.indexOf,
|
27
|
-
n = {},
|
28
|
-
o = n.toString,
|
29
|
-
v = n.hasOwnProperty,
|
30
|
-
a = v.toString,
|
31
|
-
l = a.call(Object),
|
32
|
-
y = {},
|
33
|
-
m = function m(e) {
|
34
|
-
return 'function' == typeof e && 'number' != typeof e.nodeType;
|
35
|
-
},
|
36
|
-
x = function x(e) {
|
37
|
-
return null != e && e === e.window;
|
38
|
-
},
|
39
|
-
c = {
|
40
|
-
type: !0,
|
41
|
-
src: !0,
|
42
|
-
nonce: !0,
|
43
|
-
noModule: !0
|
44
|
-
};
|
45
|
-
|
46
|
-
function b(e, t, n) {
|
47
|
-
var r,
|
48
|
-
i,
|
49
|
-
o = (n = n || E).createElement('script');
|
50
|
-
if (o.text = e, t) for (r in c) {
|
51
|
-
(i = t[r] || t.getAttribute && t.getAttribute(r)) && o.setAttribute(r, i);
|
52
|
-
}
|
53
|
-
n.head.appendChild(o).parentNode.removeChild(o);
|
54
|
-
}
|
55
|
-
|
56
|
-
function w(e) {
|
57
|
-
return null == e ? e + '' : 'object' == _typeof(e) || 'function' == typeof e ? n[o.call(e)] || 'object' : _typeof(e);
|
58
|
-
}
|
59
|
-
|
60
|
-
var f = '3.4.1',
|
61
|
-
k = function k(e, t) {
|
62
|
-
return new k.fn.init(e, t);
|
63
|
-
},
|
64
|
-
p = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
65
|
-
|
66
|
-
function d(e) {
|
67
|
-
var t = !!e && 'length' in e && e.length,
|
68
|
-
n = w(e);
|
69
|
-
return !m(e) && !x(e) && ('array' === n || 0 === t || 'number' == typeof t && 0 < t && t - 1 in e);
|
70
|
-
}
|
71
|
-
|
72
|
-
k.fn = k.prototype = {
|
73
|
-
jquery: f,
|
74
|
-
constructor: k,
|
75
|
-
length: 0,
|
76
|
-
toArray: function toArray() {
|
77
|
-
return s.call(this);
|
78
|
-
},
|
79
|
-
get: function get(e) {
|
80
|
-
return null == e ? s.call(this) : e < 0 ? this[e + this.length] : this[e];
|
81
|
-
},
|
82
|
-
pushStack: function pushStack(e) {
|
83
|
-
var t = k.merge(this.constructor(), e);
|
84
|
-
return t.prevObject = this, t;
|
85
|
-
},
|
86
|
-
each: function each(e) {
|
87
|
-
return k.each(this, e);
|
88
|
-
},
|
89
|
-
map: function map(n) {
|
90
|
-
return this.pushStack(k.map(this, function (e, t) {
|
91
|
-
return n.call(e, t, e);
|
92
|
-
}));
|
93
|
-
},
|
94
|
-
slice: function slice() {
|
95
|
-
return this.pushStack(s.apply(this, arguments));
|
96
|
-
},
|
97
|
-
first: function first() {
|
98
|
-
return this.eq(0);
|
99
|
-
},
|
100
|
-
last: function last() {
|
101
|
-
return this.eq(-1);
|
102
|
-
},
|
103
|
-
eq: function eq(e) {
|
104
|
-
var t = this.length,
|
105
|
-
n = +e + (e < 0 ? t : 0);
|
106
|
-
return this.pushStack(0 <= n && n < t ? [this[n]] : []);
|
107
|
-
},
|
108
|
-
end: function end() {
|
109
|
-
return this.prevObject || this.constructor();
|
110
|
-
},
|
111
|
-
push: u,
|
112
|
-
sort: t.sort,
|
113
|
-
splice: t.splice
|
114
|
-
}, k.extend = k.fn.extend = function () {
|
115
|
-
var e,
|
116
|
-
t,
|
117
|
-
n,
|
118
|
-
r,
|
119
|
-
i,
|
120
|
-
o,
|
121
|
-
a = arguments[0] || {},
|
122
|
-
s = 1,
|
123
|
-
u = arguments.length,
|
124
|
-
l = !1;
|
125
|
-
|
126
|
-
for ('boolean' == typeof a && (l = a, a = arguments[s] || {}, s++), 'object' == _typeof(a) || m(a) || (a = {}), s === u && (a = this, s--); s < u; s++) {
|
127
|
-
if (null != (e = arguments[s])) for (t in e) {
|
128
|
-
r = e[t], '__proto__' !== t && a !== r && (l && r && (k.isPlainObject(r) || (i = Array.isArray(r))) ? (n = a[t], o = i && !Array.isArray(n) ? [] : i || k.isPlainObject(n) ? n : {}, i = !1, a[t] = k.extend(l, o, r)) : void 0 !== r && (a[t] = r));
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
return a;
|
133
|
-
}, k.extend({
|
134
|
-
expando: 'jQuery' + (f + Math.random()).replace(/\D/g, ''),
|
135
|
-
isReady: !0,
|
136
|
-
error: function error(e) {
|
137
|
-
throw new Error(e);
|
138
|
-
},
|
139
|
-
noop: function noop() {},
|
140
|
-
isPlainObject: function isPlainObject(e) {
|
141
|
-
var t, n;
|
142
|
-
return !(!e || '[object Object]' !== o.call(e)) && (!(t = r(e)) || 'function' == typeof (n = v.call(t, 'constructor') && t.constructor) && a.call(n) === l);
|
143
|
-
},
|
144
|
-
isEmptyObject: function isEmptyObject(e) {
|
145
|
-
var t;
|
146
|
-
|
147
|
-
for (t in e) {
|
148
|
-
return !1;
|
149
|
-
}
|
150
|
-
|
151
|
-
return !0;
|
152
|
-
},
|
153
|
-
globalEval: function globalEval(e, t) {
|
154
|
-
b(e, {
|
155
|
-
nonce: t && t.nonce
|
156
|
-
});
|
157
|
-
},
|
158
|
-
each: function each(e, t) {
|
159
|
-
var n,
|
160
|
-
r = 0;
|
161
|
-
|
162
|
-
if (d(e)) {
|
163
|
-
for (n = e.length; r < n; r++) {
|
164
|
-
if (!1 === t.call(e[r], r, e[r])) break;
|
165
|
-
}
|
166
|
-
} else for (r in e) {
|
167
|
-
if (!1 === t.call(e[r], r, e[r])) break;
|
168
|
-
}
|
169
|
-
|
170
|
-
return e;
|
171
|
-
},
|
172
|
-
trim: function trim(e) {
|
173
|
-
return null == e ? '' : (e + '').replace(p, '');
|
174
|
-
},
|
175
|
-
makeArray: function makeArray(e, t) {
|
176
|
-
var n = t || [];
|
177
|
-
return null != e && (d(Object(e)) ? k.merge(n, 'string' == typeof e ? [e] : e) : u.call(n, e)), n;
|
178
|
-
},
|
179
|
-
inArray: function inArray(e, t, n) {
|
180
|
-
return null == t ? -1 : i.call(t, e, n);
|
181
|
-
},
|
182
|
-
merge: function merge(e, t) {
|
183
|
-
for (var n = +t.length, r = 0, i = e.length; r < n; r++) {
|
184
|
-
e[i++] = t[r];
|
185
|
-
}
|
186
|
-
|
187
|
-
return e.length = i, e;
|
188
|
-
},
|
189
|
-
grep: function grep(e, t, n) {
|
190
|
-
for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) {
|
191
|
-
!t(e[i], i) !== a && r.push(e[i]);
|
192
|
-
}
|
193
|
-
|
194
|
-
return r;
|
195
|
-
},
|
196
|
-
map: function map(e, t, n) {
|
197
|
-
var r,
|
198
|
-
i,
|
199
|
-
o = 0,
|
200
|
-
a = [];
|
201
|
-
if (d(e)) for (r = e.length; o < r; o++) {
|
202
|
-
null != (i = t(e[o], o, n)) && a.push(i);
|
203
|
-
} else for (o in e) {
|
204
|
-
null != (i = t(e[o], o, n)) && a.push(i);
|
205
|
-
}
|
206
|
-
return g.apply([], a);
|
207
|
-
},
|
208
|
-
guid: 1,
|
209
|
-
support: y
|
210
|
-
}), 'function' == typeof Symbol && (k.fn[Symbol.iterator] = t[Symbol.iterator]), k.each('Boolean Number String Function Array Date RegExp Object Error Symbol'.split(' '), function (e, t) {
|
211
|
-
n['[object ' + t + ']'] = t.toLowerCase();
|
212
|
-
});
|
213
|
-
|
214
|
-
var h = function (n) {
|
215
|
-
var e,
|
216
|
-
d,
|
217
|
-
b,
|
218
|
-
o,
|
219
|
-
i,
|
220
|
-
h,
|
221
|
-
f,
|
222
|
-
g,
|
223
|
-
w,
|
224
|
-
u,
|
225
|
-
l,
|
226
|
-
T,
|
227
|
-
C,
|
228
|
-
a,
|
229
|
-
E,
|
230
|
-
v,
|
231
|
-
s,
|
232
|
-
c,
|
233
|
-
y,
|
234
|
-
k = 'sizzle' + 1 * new Date(),
|
235
|
-
m = n.document,
|
236
|
-
S = 0,
|
237
|
-
r = 0,
|
238
|
-
p = ue(),
|
239
|
-
x = ue(),
|
240
|
-
N = ue(),
|
241
|
-
A = ue(),
|
242
|
-
D = function D(e, t) {
|
243
|
-
return e === t && (l = !0), 0;
|
244
|
-
},
|
245
|
-
j = {}.hasOwnProperty,
|
246
|
-
t = [],
|
247
|
-
q = t.pop,
|
248
|
-
L = t.push,
|
249
|
-
H = t.push,
|
250
|
-
O = t.slice,
|
251
|
-
P = function P(e, t) {
|
252
|
-
for (var n = 0, r = e.length; n < r; n++) {
|
253
|
-
if (e[n] === t) return n;
|
254
|
-
}
|
255
|
-
|
256
|
-
return -1;
|
257
|
-
},
|
258
|
-
R = 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',
|
259
|
-
M = '[\\x20\\t\\r\\n\\f]',
|
260
|
-
I = '(?:\\\\.|[\\w-]|[^\0-\\xa0])+',
|
261
|
-
W = '\\[' + M + '*(' + I + ')(?:' + M + '*([*^$|!~]?=)' + M + '*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' + I + '))|)' + M + '*\\]',
|
262
|
-
$ = ':(' + I + ')(?:\\(((\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|' + W + ')*)|.*)\\)|)',
|
263
|
-
F = new RegExp(M + '+', 'g'),
|
264
|
-
B = new RegExp('^' + M + '+|((?:^|[^\\\\])(?:\\\\.)*)' + M + '+$', 'g'),
|
265
|
-
_ = new RegExp('^' + M + '*,' + M + '*'),
|
266
|
-
z = new RegExp('^' + M + '*([>+~]|' + M + ')' + M + '*'),
|
267
|
-
U = new RegExp(M + '|>'),
|
268
|
-
X = new RegExp($),
|
269
|
-
V = new RegExp('^' + I + '$'),
|
270
|
-
G = {
|
271
|
-
ID: new RegExp('^#(' + I + ')'),
|
272
|
-
CLASS: new RegExp('^\\.(' + I + ')'),
|
273
|
-
TAG: new RegExp('^(' + I + '|[*])'),
|
274
|
-
ATTR: new RegExp('^' + W),
|
275
|
-
PSEUDO: new RegExp('^' + $),
|
276
|
-
CHILD: new RegExp('^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' + M + '*(even|odd|(([+-]|)(\\d*)n|)' + M + '*(?:([+-]|)' + M + '*(\\d+)|))' + M + '*\\)|)', 'i'),
|
277
|
-
bool: new RegExp('^(?:' + R + ')$', 'i'),
|
278
|
-
needsContext: new RegExp('^' + M + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + M + '*((?:-\\d)?\\d*)' + M + '*\\)|)(?=[^-]|$)', 'i')
|
279
|
-
},
|
280
|
-
Y = /HTML$/i,
|
281
|
-
Q = /^(?:input|select|textarea|button)$/i,
|
282
|
-
J = /^h\d$/i,
|
283
|
-
K = /^[^{]+\{\s*\[native \w/,
|
284
|
-
Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
|
285
|
-
ee = /[+~]/,
|
286
|
-
te = new RegExp('\\\\([\\da-f]{1,6}' + M + '?|(' + M + ')|.)', 'ig'),
|
287
|
-
ne = function ne(e, t, n) {
|
288
|
-
var r = '0x' + t - 65536;
|
289
|
-
return r != r || n ? t : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320);
|
290
|
-
},
|
291
|
-
re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
|
292
|
-
ie = function ie(e, t) {
|
293
|
-
return t ? '\0' === e ? "\uFFFD" : e.slice(0, -1) + '\\' + e.charCodeAt(e.length - 1).toString(16) + ' ' : '\\' + e;
|
294
|
-
},
|
295
|
-
oe = function oe() {
|
296
|
-
T();
|
297
|
-
},
|
298
|
-
ae = be(function (e) {
|
299
|
-
return !0 === e.disabled && 'fieldset' === e.nodeName.toLowerCase();
|
300
|
-
}, {
|
301
|
-
dir: 'parentNode',
|
302
|
-
next: 'legend'
|
303
|
-
});
|
304
|
-
|
305
|
-
try {
|
306
|
-
H.apply(t = O.call(m.childNodes), m.childNodes), t[m.childNodes.length].nodeType;
|
307
|
-
} catch (e) {
|
308
|
-
H = {
|
309
|
-
apply: t.length ? function (e, t) {
|
310
|
-
L.apply(e, O.call(t));
|
311
|
-
} : function (e, t) {
|
312
|
-
var n = e.length,
|
313
|
-
r = 0;
|
314
|
-
|
315
|
-
while (e[n++] = t[r++]) {
|
316
|
-
;
|
317
|
-
}
|
318
|
-
|
319
|
-
e.length = n - 1;
|
320
|
-
}
|
321
|
-
};
|
322
|
-
}
|
323
|
-
|
324
|
-
function se(t, e, n, r) {
|
325
|
-
var i,
|
326
|
-
o,
|
327
|
-
a,
|
328
|
-
s,
|
329
|
-
u,
|
330
|
-
l,
|
331
|
-
c,
|
332
|
-
f = e && e.ownerDocument,
|
333
|
-
p = e ? e.nodeType : 9;
|
334
|
-
if (n = n || [], 'string' != typeof t || !t || 1 !== p && 9 !== p && 11 !== p) return n;
|
335
|
-
|
336
|
-
if (!r && ((e ? e.ownerDocument || e : m) !== C && T(e), e = e || C, E)) {
|
337
|
-
if (11 !== p && (u = Z.exec(t))) if (i = u[1]) {
|
338
|
-
if (9 === p) {
|
339
|
-
if (!(a = e.getElementById(i))) return n;
|
340
|
-
if (a.id === i) return n.push(a), n;
|
341
|
-
} else if (f && (a = f.getElementById(i)) && y(e, a) && a.id === i) return n.push(a), n;
|
342
|
-
} else {
|
343
|
-
if (u[2]) return H.apply(n, e.getElementsByTagName(t)), n;
|
344
|
-
if ((i = u[3]) && d.getElementsByClassName && e.getElementsByClassName) return H.apply(n, e.getElementsByClassName(i)), n;
|
345
|
-
}
|
346
|
-
|
347
|
-
if (d.qsa && !A[t + ' '] && (!v || !v.test(t)) && (1 !== p || 'object' !== e.nodeName.toLowerCase())) {
|
348
|
-
if (c = t, f = e, 1 === p && U.test(t)) {
|
349
|
-
(s = e.getAttribute('id')) ? s = s.replace(re, ie) : e.setAttribute('id', s = k), o = (l = h(t)).length;
|
350
|
-
|
351
|
-
while (o--) {
|
352
|
-
l[o] = '#' + s + ' ' + xe(l[o]);
|
353
|
-
}
|
354
|
-
|
355
|
-
c = l.join(','), f = ee.test(t) && ye(e.parentNode) || e;
|
356
|
-
}
|
357
|
-
|
358
|
-
try {
|
359
|
-
return H.apply(n, f.querySelectorAll(c)), n;
|
360
|
-
} catch (e) {
|
361
|
-
A(t, !0);
|
362
|
-
} finally {
|
363
|
-
s === k && e.removeAttribute('id');
|
364
|
-
}
|
365
|
-
}
|
366
|
-
}
|
367
|
-
|
368
|
-
return g(t.replace(B, '$1'), e, n, r);
|
369
|
-
}
|
370
|
-
|
371
|
-
function ue() {
|
372
|
-
var r = [];
|
373
|
-
return function e(t, n) {
|
374
|
-
return r.push(t + ' ') > b.cacheLength && delete e[r.shift()], e[t + ' '] = n;
|
375
|
-
};
|
376
|
-
}
|
377
|
-
|
378
|
-
function le(e) {
|
379
|
-
return e[k] = !0, e;
|
380
|
-
}
|
381
|
-
|
382
|
-
function ce(e) {
|
383
|
-
var t = C.createElement('fieldset');
|
384
|
-
|
385
|
-
try {
|
386
|
-
return !!e(t);
|
387
|
-
} catch (e) {
|
388
|
-
return !1;
|
389
|
-
} finally {
|
390
|
-
t.parentNode && t.parentNode.removeChild(t), t = null;
|
391
|
-
}
|
392
|
-
}
|
393
|
-
|
394
|
-
function fe(e, t) {
|
395
|
-
var n = e.split('|'),
|
396
|
-
r = n.length;
|
397
|
-
|
398
|
-
while (r--) {
|
399
|
-
b.attrHandle[n[r]] = t;
|
400
|
-
}
|
401
|
-
}
|
402
|
-
|
403
|
-
function pe(e, t) {
|
404
|
-
var n = t && e,
|
405
|
-
r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex;
|
406
|
-
if (r) return r;
|
407
|
-
if (n) while (n = n.nextSibling) {
|
408
|
-
if (n === t) return -1;
|
409
|
-
}
|
410
|
-
return e ? 1 : -1;
|
411
|
-
}
|
412
|
-
|
413
|
-
function de(t) {
|
414
|
-
return function (e) {
|
415
|
-
return 'input' === e.nodeName.toLowerCase() && e.type === t;
|
416
|
-
};
|
417
|
-
}
|
418
|
-
|
419
|
-
function he(n) {
|
420
|
-
return function (e) {
|
421
|
-
var t = e.nodeName.toLowerCase();
|
422
|
-
return ('input' === t || 'button' === t) && e.type === n;
|
423
|
-
};
|
424
|
-
}
|
425
|
-
|
426
|
-
function ge(t) {
|
427
|
-
return function (e) {
|
428
|
-
return 'form' in e ? e.parentNode && !1 === e.disabled ? 'label' in e ? 'label' in e.parentNode ? e.parentNode.disabled === t : e.disabled === t : e.isDisabled === t || e.isDisabled !== !t && ae(e) === t : e.disabled === t : 'label' in e && e.disabled === t;
|
429
|
-
};
|
430
|
-
}
|
431
|
-
|
432
|
-
function ve(a) {
|
433
|
-
return le(function (o) {
|
434
|
-
return o = +o, le(function (e, t) {
|
435
|
-
var n,
|
436
|
-
r = a([], e.length, o),
|
437
|
-
i = r.length;
|
438
|
-
|
439
|
-
while (i--) {
|
440
|
-
e[n = r[i]] && (e[n] = !(t[n] = e[n]));
|
441
|
-
}
|
442
|
-
});
|
443
|
-
});
|
444
|
-
}
|
445
|
-
|
446
|
-
function ye(e) {
|
447
|
-
return e && 'undefined' != typeof e.getElementsByTagName && e;
|
448
|
-
}
|
449
|
-
|
450
|
-
for (e in d = se.support = {}, i = se.isXML = function (e) {
|
451
|
-
var t = e.namespaceURI,
|
452
|
-
n = (e.ownerDocument || e).documentElement;
|
453
|
-
return !Y.test(t || n && n.nodeName || 'HTML');
|
454
|
-
}, T = se.setDocument = function (e) {
|
455
|
-
var t,
|
456
|
-
n,
|
457
|
-
r = e ? e.ownerDocument || e : m;
|
458
|
-
return r !== C && 9 === r.nodeType && r.documentElement && (a = (C = r).documentElement, E = !i(C), m !== C && (n = C.defaultView) && n.top !== n && (n.addEventListener ? n.addEventListener('unload', oe, !1) : n.attachEvent && n.attachEvent('onunload', oe)), d.attributes = ce(function (e) {
|
459
|
-
return e.className = 'i', !e.getAttribute('className');
|
460
|
-
}), d.getElementsByTagName = ce(function (e) {
|
461
|
-
return e.appendChild(C.createComment('')), !e.getElementsByTagName('*').length;
|
462
|
-
}), d.getElementsByClassName = K.test(C.getElementsByClassName), d.getById = ce(function (e) {
|
463
|
-
return a.appendChild(e).id = k, !C.getElementsByName || !C.getElementsByName(k).length;
|
464
|
-
}), d.getById ? (b.filter.ID = function (e) {
|
465
|
-
var t = e.replace(te, ne);
|
466
|
-
return function (e) {
|
467
|
-
return e.getAttribute('id') === t;
|
468
|
-
};
|
469
|
-
}, b.find.ID = function (e, t) {
|
470
|
-
if ('undefined' != typeof t.getElementById && E) {
|
471
|
-
var n = t.getElementById(e);
|
472
|
-
return n ? [n] : [];
|
473
|
-
}
|
474
|
-
}) : (b.filter.ID = function (e) {
|
475
|
-
var n = e.replace(te, ne);
|
476
|
-
return function (e) {
|
477
|
-
var t = 'undefined' != typeof e.getAttributeNode && e.getAttributeNode('id');
|
478
|
-
return t && t.value === n;
|
479
|
-
};
|
480
|
-
}, b.find.ID = function (e, t) {
|
481
|
-
if ('undefined' != typeof t.getElementById && E) {
|
482
|
-
var n,
|
483
|
-
r,
|
484
|
-
i,
|
485
|
-
o = t.getElementById(e);
|
486
|
-
|
487
|
-
if (o) {
|
488
|
-
if ((n = o.getAttributeNode('id')) && n.value === e) return [o];
|
489
|
-
i = t.getElementsByName(e), r = 0;
|
490
|
-
|
491
|
-
while (o = i[r++]) {
|
492
|
-
if ((n = o.getAttributeNode('id')) && n.value === e) return [o];
|
493
|
-
}
|
494
|
-
}
|
495
|
-
|
496
|
-
return [];
|
497
|
-
}
|
498
|
-
}), b.find.TAG = d.getElementsByTagName ? function (e, t) {
|
499
|
-
return 'undefined' != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : d.qsa ? t.querySelectorAll(e) : void 0;
|
500
|
-
} : function (e, t) {
|
501
|
-
var n,
|
502
|
-
r = [],
|
503
|
-
i = 0,
|
504
|
-
o = t.getElementsByTagName(e);
|
505
|
-
|
506
|
-
if ('*' === e) {
|
507
|
-
while (n = o[i++]) {
|
508
|
-
1 === n.nodeType && r.push(n);
|
509
|
-
}
|
510
|
-
|
511
|
-
return r;
|
512
|
-
}
|
513
|
-
|
514
|
-
return o;
|
515
|
-
}, b.find.CLASS = d.getElementsByClassName && function (e, t) {
|
516
|
-
if ('undefined' != typeof t.getElementsByClassName && E) return t.getElementsByClassName(e);
|
517
|
-
}, s = [], v = [], (d.qsa = K.test(C.querySelectorAll)) && (ce(function (e) {
|
518
|
-
a.appendChild(e).innerHTML = "<a id='" + k + "'></a><select id='" + k + "-\r\\' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && v.push('[*^$]=' + M + '*(?:\'\'|"")'), e.querySelectorAll('[selected]').length || v.push('\\[' + M + '*(?:value|' + R + ')'), e.querySelectorAll('[id~=' + k + '-]').length || v.push('~='), e.querySelectorAll(':checked').length || v.push(':checked'), e.querySelectorAll('a#' + k + '+*').length || v.push('.#.+[+~]');
|
519
|
-
}), ce(function (e) {
|
520
|
-
e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
|
521
|
-
var t = C.createElement('input');
|
522
|
-
t.setAttribute('type', 'hidden'), e.appendChild(t).setAttribute('name', 'D'), e.querySelectorAll('[name=d]').length && v.push('name' + M + '*[*^$|!~]?='), 2 !== e.querySelectorAll(':enabled').length && v.push(':enabled', ':disabled'), a.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(':disabled').length && v.push(':enabled', ':disabled'), e.querySelectorAll('*,:x'), v.push(',.*:');
|
523
|
-
})), (d.matchesSelector = K.test(c = a.matches || a.webkitMatchesSelector || a.mozMatchesSelector || a.oMatchesSelector || a.msMatchesSelector)) && ce(function (e) {
|
524
|
-
d.disconnectedMatch = c.call(e, '*'), c.call(e, "[s!='']:x"), s.push('!=', $);
|
525
|
-
}), v = v.length && new RegExp(v.join('|')), s = s.length && new RegExp(s.join('|')), t = K.test(a.compareDocumentPosition), y = t || K.test(a.contains) ? function (e, t) {
|
526
|
-
var n = 9 === e.nodeType ? e.documentElement : e,
|
527
|
-
r = t && t.parentNode;
|
528
|
-
return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r)));
|
529
|
-
} : function (e, t) {
|
530
|
-
if (t) while (t = t.parentNode) {
|
531
|
-
if (t === e) return !0;
|
532
|
-
}
|
533
|
-
return !1;
|
534
|
-
}, D = t ? function (e, t) {
|
535
|
-
if (e === t) return l = !0, 0;
|
536
|
-
var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
|
537
|
-
return n || (1 & (n = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !d.sortDetached && t.compareDocumentPosition(e) === n ? e === C || e.ownerDocument === m && y(m, e) ? -1 : t === C || t.ownerDocument === m && y(m, t) ? 1 : u ? P(u, e) - P(u, t) : 0 : 4 & n ? -1 : 1);
|
538
|
-
} : function (e, t) {
|
539
|
-
if (e === t) return l = !0, 0;
|
540
|
-
var n,
|
541
|
-
r = 0,
|
542
|
-
i = e.parentNode,
|
543
|
-
o = t.parentNode,
|
544
|
-
a = [e],
|
545
|
-
s = [t];
|
546
|
-
if (!i || !o) return e === C ? -1 : t === C ? 1 : i ? -1 : o ? 1 : u ? P(u, e) - P(u, t) : 0;
|
547
|
-
if (i === o) return pe(e, t);
|
548
|
-
n = e;
|
549
|
-
|
550
|
-
while (n = n.parentNode) {
|
551
|
-
a.unshift(n);
|
552
|
-
}
|
553
|
-
|
554
|
-
n = t;
|
555
|
-
|
556
|
-
while (n = n.parentNode) {
|
557
|
-
s.unshift(n);
|
558
|
-
}
|
559
|
-
|
560
|
-
while (a[r] === s[r]) {
|
561
|
-
r++;
|
562
|
-
}
|
563
|
-
|
564
|
-
return r ? pe(a[r], s[r]) : a[r] === m ? -1 : s[r] === m ? 1 : 0;
|
565
|
-
}), C;
|
566
|
-
}, se.matches = function (e, t) {
|
567
|
-
return se(e, null, null, t);
|
568
|
-
}, se.matchesSelector = function (e, t) {
|
569
|
-
if ((e.ownerDocument || e) !== C && T(e), d.matchesSelector && E && !A[t + ' '] && (!s || !s.test(t)) && (!v || !v.test(t))) try {
|
570
|
-
var n = c.call(e, t);
|
571
|
-
if (n || d.disconnectedMatch || e.document && 11 !== e.document.nodeType) return n;
|
572
|
-
} catch (e) {
|
573
|
-
A(t, !0);
|
574
|
-
}
|
575
|
-
return 0 < se(t, C, null, [e]).length;
|
576
|
-
}, se.contains = function (e, t) {
|
577
|
-
return (e.ownerDocument || e) !== C && T(e), y(e, t);
|
578
|
-
}, se.attr = function (e, t) {
|
579
|
-
(e.ownerDocument || e) !== C && T(e);
|
580
|
-
var n = b.attrHandle[t.toLowerCase()],
|
581
|
-
r = n && j.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !E) : void 0;
|
582
|
-
return void 0 !== r ? r : d.attributes || !E ? e.getAttribute(t) : (r = e.getAttributeNode(t)) && r.specified ? r.value : null;
|
583
|
-
}, se.escape = function (e) {
|
584
|
-
return (e + '').replace(re, ie);
|
585
|
-
}, se.error = function (e) {
|
586
|
-
throw new Error('Syntax error, unrecognized expression: ' + e);
|
587
|
-
}, se.uniqueSort = function (e) {
|
588
|
-
var t,
|
589
|
-
n = [],
|
590
|
-
r = 0,
|
591
|
-
i = 0;
|
592
|
-
|
593
|
-
if (l = !d.detectDuplicates, u = !d.sortStable && e.slice(0), e.sort(D), l) {
|
594
|
-
while (t = e[i++]) {
|
595
|
-
t === e[i] && (r = n.push(i));
|
596
|
-
}
|
597
|
-
|
598
|
-
while (r--) {
|
599
|
-
e.splice(n[r], 1);
|
600
|
-
}
|
601
|
-
}
|
602
|
-
|
603
|
-
return u = null, e;
|
604
|
-
}, o = se.getText = function (e) {
|
605
|
-
var t,
|
606
|
-
n = '',
|
607
|
-
r = 0,
|
608
|
-
i = e.nodeType;
|
609
|
-
|
610
|
-
if (i) {
|
611
|
-
if (1 === i || 9 === i || 11 === i) {
|
612
|
-
if ('string' == typeof e.textContent) return e.textContent;
|
613
|
-
|
614
|
-
for (e = e.firstChild; e; e = e.nextSibling) {
|
615
|
-
n += o(e);
|
616
|
-
}
|
617
|
-
} else if (3 === i || 4 === i) return e.nodeValue;
|
618
|
-
} else while (t = e[r++]) {
|
619
|
-
n += o(t);
|
620
|
-
}
|
621
|
-
|
622
|
-
return n;
|
623
|
-
}, (b = se.selectors = {
|
624
|
-
cacheLength: 50,
|
625
|
-
createPseudo: le,
|
626
|
-
match: G,
|
627
|
-
attrHandle: {},
|
628
|
-
find: {},
|
629
|
-
relative: {
|
630
|
-
'>': {
|
631
|
-
dir: 'parentNode',
|
632
|
-
first: !0
|
633
|
-
},
|
634
|
-
' ': {
|
635
|
-
dir: 'parentNode'
|
636
|
-
},
|
637
|
-
'+': {
|
638
|
-
dir: 'previousSibling',
|
639
|
-
first: !0
|
640
|
-
},
|
641
|
-
'~': {
|
642
|
-
dir: 'previousSibling'
|
643
|
-
}
|
644
|
-
},
|
645
|
-
preFilter: {
|
646
|
-
ATTR: function ATTR(e) {
|
647
|
-
return e[1] = e[1].replace(te, ne), e[3] = (e[3] || e[4] || e[5] || '').replace(te, ne), '~=' === e[2] && (e[3] = ' ' + e[3] + ' '), e.slice(0, 4);
|
648
|
-
},
|
649
|
-
CHILD: function CHILD(e) {
|
650
|
-
return e[1] = e[1].toLowerCase(), 'nth' === e[1].slice(0, 3) ? (e[3] || se.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ('even' === e[3] || 'odd' === e[3])), e[5] = +(e[7] + e[8] || 'odd' === e[3])) : e[3] && se.error(e[0]), e;
|
651
|
-
},
|
652
|
-
PSEUDO: function PSEUDO(e) {
|
653
|
-
var t,
|
654
|
-
n = !e[6] && e[2];
|
655
|
-
return G.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || '' : n && X.test(n) && (t = h(n, !0)) && (t = n.indexOf(')', n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3));
|
656
|
-
}
|
657
|
-
},
|
658
|
-
filter: {
|
659
|
-
TAG: function TAG(e) {
|
660
|
-
var t = e.replace(te, ne).toLowerCase();
|
661
|
-
return '*' === e ? function () {
|
662
|
-
return !0;
|
663
|
-
} : function (e) {
|
664
|
-
return e.nodeName && e.nodeName.toLowerCase() === t;
|
665
|
-
};
|
666
|
-
},
|
667
|
-
CLASS: function CLASS(e) {
|
668
|
-
var t = p[e + ' '];
|
669
|
-
return t || (t = new RegExp('(^|' + M + ')' + e + '(' + M + '|$)')) && p(e, function (e) {
|
670
|
-
return t.test('string' == typeof e.className && e.className || 'undefined' != typeof e.getAttribute && e.getAttribute('class') || '');
|
671
|
-
});
|
672
|
-
},
|
673
|
-
ATTR: function ATTR(n, r, i) {
|
674
|
-
return function (e) {
|
675
|
-
var t = se.attr(e, n);
|
676
|
-
return null == t ? '!=' === r : !r || (t += '', '=' === r ? t === i : '!=' === r ? t !== i : '^=' === r ? i && 0 === t.indexOf(i) : '*=' === r ? i && -1 < t.indexOf(i) : '$=' === r ? i && t.slice(-i.length) === i : '~=' === r ? -1 < (' ' + t.replace(F, ' ') + ' ').indexOf(i) : '|=' === r && (t === i || t.slice(0, i.length + 1) === i + '-'));
|
677
|
-
};
|
678
|
-
},
|
679
|
-
CHILD: function CHILD(h, e, t, g, v) {
|
680
|
-
var y = 'nth' !== h.slice(0, 3),
|
681
|
-
m = 'last' !== h.slice(-4),
|
682
|
-
x = 'of-type' === e;
|
683
|
-
return 1 === g && 0 === v ? function (e) {
|
684
|
-
return !!e.parentNode;
|
685
|
-
} : function (e, t, n) {
|
686
|
-
var r,
|
687
|
-
i,
|
688
|
-
o,
|
689
|
-
a,
|
690
|
-
s,
|
691
|
-
u,
|
692
|
-
l = y !== m ? 'nextSibling' : 'previousSibling',
|
693
|
-
c = e.parentNode,
|
694
|
-
f = x && e.nodeName.toLowerCase(),
|
695
|
-
p = !n && !x,
|
696
|
-
d = !1;
|
697
|
-
|
698
|
-
if (c) {
|
699
|
-
if (y) {
|
700
|
-
while (l) {
|
701
|
-
a = e;
|
702
|
-
|
703
|
-
while (a = a[l]) {
|
704
|
-
if (x ? a.nodeName.toLowerCase() === f : 1 === a.nodeType) return !1;
|
705
|
-
}
|
706
|
-
|
707
|
-
u = l = 'only' === h && !u && 'nextSibling';
|
708
|
-
}
|
709
|
-
|
710
|
-
return !0;
|
711
|
-
}
|
712
|
-
|
713
|
-
if (u = [m ? c.firstChild : c.lastChild], m && p) {
|
714
|
-
d = (s = (r = (i = (o = (a = c)[k] || (a[k] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] || [])[0] === S && r[1]) && r[2], a = s && c.childNodes[s];
|
715
|
-
|
716
|
-
while (a = ++s && a && a[l] || (d = s = 0) || u.pop()) {
|
717
|
-
if (1 === a.nodeType && ++d && a === e) {
|
718
|
-
i[h] = [S, s, d];
|
719
|
-
break;
|
720
|
-
}
|
721
|
-
}
|
722
|
-
} else if (p && (d = s = (r = (i = (o = (a = e)[k] || (a[k] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] || [])[0] === S && r[1]), !1 === d) while (a = ++s && a && a[l] || (d = s = 0) || u.pop()) {
|
723
|
-
if ((x ? a.nodeName.toLowerCase() === f : 1 === a.nodeType) && ++d && (p && ((i = (o = a[k] || (a[k] = {}))[a.uniqueID] || (o[a.uniqueID] = {}))[h] = [S, d]), a === e)) break;
|
724
|
-
}
|
725
|
-
|
726
|
-
return (d -= v) === g || d % g == 0 && 0 <= d / g;
|
727
|
-
}
|
728
|
-
};
|
729
|
-
},
|
730
|
-
PSEUDO: function PSEUDO(e, o) {
|
731
|
-
var t,
|
732
|
-
a = b.pseudos[e] || b.setFilters[e.toLowerCase()] || se.error('unsupported pseudo: ' + e);
|
733
|
-
return a[k] ? a(o) : 1 < a.length ? (t = [e, e, '', o], b.setFilters.hasOwnProperty(e.toLowerCase()) ? le(function (e, t) {
|
734
|
-
var n,
|
735
|
-
r = a(e, o),
|
736
|
-
i = r.length;
|
737
|
-
|
738
|
-
while (i--) {
|
739
|
-
e[n = P(e, r[i])] = !(t[n] = r[i]);
|
740
|
-
}
|
741
|
-
}) : function (e) {
|
742
|
-
return a(e, 0, t);
|
743
|
-
}) : a;
|
744
|
-
}
|
745
|
-
},
|
746
|
-
pseudos: {
|
747
|
-
not: le(function (e) {
|
748
|
-
var r = [],
|
749
|
-
i = [],
|
750
|
-
s = f(e.replace(B, '$1'));
|
751
|
-
return s[k] ? le(function (e, t, n, r) {
|
752
|
-
var i,
|
753
|
-
o = s(e, null, r, []),
|
754
|
-
a = e.length;
|
755
|
-
|
756
|
-
while (a--) {
|
757
|
-
(i = o[a]) && (e[a] = !(t[a] = i));
|
758
|
-
}
|
759
|
-
}) : function (e, t, n) {
|
760
|
-
return r[0] = e, s(r, null, n, i), r[0] = null, !i.pop();
|
761
|
-
};
|
762
|
-
}),
|
763
|
-
has: le(function (t) {
|
764
|
-
return function (e) {
|
765
|
-
return 0 < se(t, e).length;
|
766
|
-
};
|
767
|
-
}),
|
768
|
-
contains: le(function (t) {
|
769
|
-
return t = t.replace(te, ne), function (e) {
|
770
|
-
return -1 < (e.textContent || o(e)).indexOf(t);
|
771
|
-
};
|
772
|
-
}),
|
773
|
-
lang: le(function (n) {
|
774
|
-
return V.test(n || '') || se.error('unsupported lang: ' + n), n = n.replace(te, ne).toLowerCase(), function (e) {
|
775
|
-
var t;
|
776
|
-
|
777
|
-
do {
|
778
|
-
if (t = E ? e.lang : e.getAttribute('xml:lang') || e.getAttribute('lang')) return (t = t.toLowerCase()) === n || 0 === t.indexOf(n + '-');
|
779
|
-
} while ((e = e.parentNode) && 1 === e.nodeType);
|
780
|
-
|
781
|
-
return !1;
|
782
|
-
};
|
783
|
-
}),
|
784
|
-
target: function target(e) {
|
785
|
-
var t = n.location && n.location.hash;
|
786
|
-
return t && t.slice(1) === e.id;
|
787
|
-
},
|
788
|
-
root: function root(e) {
|
789
|
-
return e === a;
|
790
|
-
},
|
791
|
-
focus: function focus(e) {
|
792
|
-
return e === C.activeElement && (!C.hasFocus || C.hasFocus()) && !!(e.type || e.href || ~e.tabIndex);
|
793
|
-
},
|
794
|
-
enabled: ge(!1),
|
795
|
-
disabled: ge(!0),
|
796
|
-
checked: function checked(e) {
|
797
|
-
var t = e.nodeName.toLowerCase();
|
798
|
-
return 'input' === t && !!e.checked || 'option' === t && !!e.selected;
|
799
|
-
},
|
800
|
-
selected: function selected(e) {
|
801
|
-
return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected;
|
802
|
-
},
|
803
|
-
empty: function empty(e) {
|
804
|
-
for (e = e.firstChild; e; e = e.nextSibling) {
|
805
|
-
if (e.nodeType < 6) return !1;
|
806
|
-
}
|
807
|
-
|
808
|
-
return !0;
|
809
|
-
},
|
810
|
-
parent: function parent(e) {
|
811
|
-
return !b.pseudos.empty(e);
|
812
|
-
},
|
813
|
-
header: function header(e) {
|
814
|
-
return J.test(e.nodeName);
|
815
|
-
},
|
816
|
-
input: function input(e) {
|
817
|
-
return Q.test(e.nodeName);
|
818
|
-
},
|
819
|
-
button: function button(e) {
|
820
|
-
var t = e.nodeName.toLowerCase();
|
821
|
-
return 'input' === t && 'button' === e.type || 'button' === t;
|
822
|
-
},
|
823
|
-
text: function text(e) {
|
824
|
-
var t;
|
825
|
-
return 'input' === e.nodeName.toLowerCase() && 'text' === e.type && (null == (t = e.getAttribute('type')) || 'text' === t.toLowerCase());
|
826
|
-
},
|
827
|
-
first: ve(function () {
|
828
|
-
return [0];
|
829
|
-
}),
|
830
|
-
last: ve(function (e, t) {
|
831
|
-
return [t - 1];
|
832
|
-
}),
|
833
|
-
eq: ve(function (e, t, n) {
|
834
|
-
return [n < 0 ? n + t : n];
|
835
|
-
}),
|
836
|
-
even: ve(function (e, t) {
|
837
|
-
for (var n = 0; n < t; n += 2) {
|
838
|
-
e.push(n);
|
839
|
-
}
|
840
|
-
|
841
|
-
return e;
|
842
|
-
}),
|
843
|
-
odd: ve(function (e, t) {
|
844
|
-
for (var n = 1; n < t; n += 2) {
|
845
|
-
e.push(n);
|
846
|
-
}
|
847
|
-
|
848
|
-
return e;
|
849
|
-
}),
|
850
|
-
lt: ve(function (e, t, n) {
|
851
|
-
for (var r = n < 0 ? n + t : t < n ? t : n; 0 <= --r;) {
|
852
|
-
e.push(r);
|
853
|
-
}
|
854
|
-
|
855
|
-
return e;
|
856
|
-
}),
|
857
|
-
gt: ve(function (e, t, n) {
|
858
|
-
for (var r = n < 0 ? n + t : n; ++r < t;) {
|
859
|
-
e.push(r);
|
860
|
-
}
|
861
|
-
|
862
|
-
return e;
|
863
|
-
})
|
864
|
-
}
|
865
|
-
}).pseudos.nth = b.pseudos.eq, {
|
866
|
-
radio: !0,
|
867
|
-
checkbox: !0,
|
868
|
-
file: !0,
|
869
|
-
password: !0,
|
870
|
-
image: !0
|
871
|
-
}) {
|
872
|
-
b.pseudos[e] = de(e);
|
873
|
-
}
|
874
|
-
|
875
|
-
for (e in {
|
876
|
-
submit: !0,
|
877
|
-
reset: !0
|
878
|
-
}) {
|
879
|
-
b.pseudos[e] = he(e);
|
880
|
-
}
|
881
|
-
|
882
|
-
function me() {}
|
883
|
-
|
884
|
-
function xe(e) {
|
885
|
-
for (var t = 0, n = e.length, r = ''; t < n; t++) {
|
886
|
-
r += e[t].value;
|
887
|
-
}
|
888
|
-
|
889
|
-
return r;
|
890
|
-
}
|
891
|
-
|
892
|
-
function be(s, e, t) {
|
893
|
-
var u = e.dir,
|
894
|
-
l = e.next,
|
895
|
-
c = l || u,
|
896
|
-
f = t && 'parentNode' === c,
|
897
|
-
p = r++;
|
898
|
-
return e.first ? function (e, t, n) {
|
899
|
-
while (e = e[u]) {
|
900
|
-
if (1 === e.nodeType || f) return s(e, t, n);
|
901
|
-
}
|
902
|
-
|
903
|
-
return !1;
|
904
|
-
} : function (e, t, n) {
|
905
|
-
var r,
|
906
|
-
i,
|
907
|
-
o,
|
908
|
-
a = [S, p];
|
909
|
-
|
910
|
-
if (n) {
|
911
|
-
while (e = e[u]) {
|
912
|
-
if ((1 === e.nodeType || f) && s(e, t, n)) return !0;
|
913
|
-
}
|
914
|
-
} else while (e = e[u]) {
|
915
|
-
if (1 === e.nodeType || f) if (i = (o = e[k] || (e[k] = {}))[e.uniqueID] || (o[e.uniqueID] = {}), l && l === e.nodeName.toLowerCase()) e = e[u] || e;else {
|
916
|
-
if ((r = i[c]) && r[0] === S && r[1] === p) return a[2] = r[2];
|
917
|
-
if ((i[c] = a)[2] = s(e, t, n)) return !0;
|
918
|
-
}
|
919
|
-
}
|
920
|
-
|
921
|
-
return !1;
|
922
|
-
};
|
923
|
-
}
|
924
|
-
|
925
|
-
function we(i) {
|
926
|
-
return 1 < i.length ? function (e, t, n) {
|
927
|
-
var r = i.length;
|
928
|
-
|
929
|
-
while (r--) {
|
930
|
-
if (!i[r](e, t, n)) return !1;
|
931
|
-
}
|
932
|
-
|
933
|
-
return !0;
|
934
|
-
} : i[0];
|
935
|
-
}
|
936
|
-
|
937
|
-
function Te(e, t, n, r, i) {
|
938
|
-
for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) {
|
939
|
-
(o = e[s]) && (n && !n(o, r, i) || (a.push(o), l && t.push(s)));
|
940
|
-
}
|
941
|
-
|
942
|
-
return a;
|
943
|
-
}
|
944
|
-
|
945
|
-
function Ce(d, h, g, v, y, e) {
|
946
|
-
return v && !v[k] && (v = Ce(v)), y && !y[k] && (y = Ce(y, e)), le(function (e, t, n, r) {
|
947
|
-
var i,
|
948
|
-
o,
|
949
|
-
a,
|
950
|
-
s = [],
|
951
|
-
u = [],
|
952
|
-
l = t.length,
|
953
|
-
c = e || function (e, t, n) {
|
954
|
-
for (var r = 0, i = t.length; r < i; r++) {
|
955
|
-
se(e, t[r], n);
|
956
|
-
}
|
957
|
-
|
958
|
-
return n;
|
959
|
-
}(h || '*', n.nodeType ? [n] : n, []),
|
960
|
-
f = !d || !e && h ? c : Te(c, s, d, n, r),
|
961
|
-
p = g ? y || (e ? d : l || v) ? [] : t : f;
|
962
|
-
|
963
|
-
if (g && g(f, p, n, r), v) {
|
964
|
-
i = Te(p, u), v(i, [], n, r), o = i.length;
|
965
|
-
|
966
|
-
while (o--) {
|
967
|
-
(a = i[o]) && (p[u[o]] = !(f[u[o]] = a));
|
968
|
-
}
|
969
|
-
}
|
970
|
-
|
971
|
-
if (e) {
|
972
|
-
if (y || d) {
|
973
|
-
if (y) {
|
974
|
-
i = [], o = p.length;
|
975
|
-
|
976
|
-
while (o--) {
|
977
|
-
(a = p[o]) && i.push(f[o] = a);
|
978
|
-
}
|
979
|
-
|
980
|
-
y(null, p = [], i, r);
|
981
|
-
}
|
982
|
-
|
983
|
-
o = p.length;
|
984
|
-
|
985
|
-
while (o--) {
|
986
|
-
(a = p[o]) && -1 < (i = y ? P(e, a) : s[o]) && (e[i] = !(t[i] = a));
|
987
|
-
}
|
988
|
-
}
|
989
|
-
} else p = Te(p === t ? p.splice(l, p.length) : p), y ? y(null, t, p, r) : H.apply(t, p);
|
990
|
-
});
|
991
|
-
}
|
992
|
-
|
993
|
-
function Ee(e) {
|
994
|
-
for (var i, t, n, r = e.length, o = b.relative[e[0].type], a = o || b.relative[' '], s = o ? 1 : 0, u = be(function (e) {
|
995
|
-
return e === i;
|
996
|
-
}, a, !0), l = be(function (e) {
|
997
|
-
return -1 < P(i, e);
|
998
|
-
}, a, !0), c = [function (e, t, n) {
|
999
|
-
var r = !o && (n || t !== w) || ((i = t).nodeType ? u(e, t, n) : l(e, t, n));
|
1000
|
-
return i = null, r;
|
1001
|
-
}]; s < r; s++) {
|
1002
|
-
if (t = b.relative[e[s].type]) c = [be(we(c), t)];else {
|
1003
|
-
if ((t = b.filter[e[s].type].apply(null, e[s].matches))[k]) {
|
1004
|
-
for (n = ++s; n < r; n++) {
|
1005
|
-
if (b.relative[e[n].type]) break;
|
1006
|
-
}
|
1007
|
-
|
1008
|
-
return Ce(1 < s && we(c), 1 < s && xe(e.slice(0, s - 1).concat({
|
1009
|
-
value: ' ' === e[s - 2].type ? '*' : ''
|
1010
|
-
})).replace(B, '$1'), t, s < n && Ee(e.slice(s, n)), n < r && Ee(e = e.slice(n)), n < r && xe(e));
|
1011
|
-
}
|
1012
|
-
|
1013
|
-
c.push(t);
|
1014
|
-
}
|
1015
|
-
}
|
1016
|
-
|
1017
|
-
return we(c);
|
1018
|
-
}
|
1019
|
-
|
1020
|
-
return me.prototype = b.filters = b.pseudos, b.setFilters = new me(), h = se.tokenize = function (e, t) {
|
1021
|
-
var n,
|
1022
|
-
r,
|
1023
|
-
i,
|
1024
|
-
o,
|
1025
|
-
a,
|
1026
|
-
s,
|
1027
|
-
u,
|
1028
|
-
l = x[e + ' '];
|
1029
|
-
if (l) return t ? 0 : l.slice(0);
|
1030
|
-
a = e, s = [], u = b.preFilter;
|
1031
|
-
|
1032
|
-
while (a) {
|
1033
|
-
for (o in n && !(r = _.exec(a)) || (r && (a = a.slice(r[0].length) || a), s.push(i = [])), n = !1, (r = z.exec(a)) && (n = r.shift(), i.push({
|
1034
|
-
value: n,
|
1035
|
-
type: r[0].replace(B, ' ')
|
1036
|
-
}), a = a.slice(n.length)), b.filter) {
|
1037
|
-
!(r = G[o].exec(a)) || u[o] && !(r = u[o](r)) || (n = r.shift(), i.push({
|
1038
|
-
value: n,
|
1039
|
-
type: o,
|
1040
|
-
matches: r
|
1041
|
-
}), a = a.slice(n.length));
|
1042
|
-
}
|
1043
|
-
|
1044
|
-
if (!n) break;
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
return t ? a.length : a ? se.error(e) : x(e, s).slice(0);
|
1048
|
-
}, f = se.compile = function (e, t) {
|
1049
|
-
var n,
|
1050
|
-
v,
|
1051
|
-
y,
|
1052
|
-
m,
|
1053
|
-
x,
|
1054
|
-
r,
|
1055
|
-
i = [],
|
1056
|
-
o = [],
|
1057
|
-
a = N[e + ' '];
|
1058
|
-
|
1059
|
-
if (!a) {
|
1060
|
-
t || (t = h(e)), n = t.length;
|
1061
|
-
|
1062
|
-
while (n--) {
|
1063
|
-
(a = Ee(t[n]))[k] ? i.push(a) : o.push(a);
|
1064
|
-
}
|
1065
|
-
|
1066
|
-
(a = N(e, (v = o, m = 0 < (y = i).length, x = 0 < v.length, r = function r(e, t, n, _r, i) {
|
1067
|
-
var o,
|
1068
|
-
a,
|
1069
|
-
s,
|
1070
|
-
u = 0,
|
1071
|
-
l = '0',
|
1072
|
-
c = e && [],
|
1073
|
-
f = [],
|
1074
|
-
p = w,
|
1075
|
-
d = e || x && b.find.TAG('*', i),
|
1076
|
-
h = S += null == p ? 1 : Math.random() || 0.1,
|
1077
|
-
g = d.length;
|
1078
|
-
|
1079
|
-
for (i && (w = t === C || t || i); l !== g && null != (o = d[l]); l++) {
|
1080
|
-
if (x && o) {
|
1081
|
-
a = 0, t || o.ownerDocument === C || (T(o), n = !E);
|
1082
|
-
|
1083
|
-
while (s = v[a++]) {
|
1084
|
-
if (s(o, t || C, n)) {
|
1085
|
-
_r.push(o);
|
1086
|
-
|
1087
|
-
break;
|
1088
|
-
}
|
1089
|
-
}
|
1090
|
-
|
1091
|
-
i && (S = h);
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
m && ((o = !s && o) && u--, e && c.push(o));
|
1095
|
-
}
|
1096
|
-
|
1097
|
-
if (u += l, m && l !== u) {
|
1098
|
-
a = 0;
|
1099
|
-
|
1100
|
-
while (s = y[a++]) {
|
1101
|
-
s(c, f, t, n);
|
1102
|
-
}
|
1103
|
-
|
1104
|
-
if (e) {
|
1105
|
-
if (0 < u) while (l--) {
|
1106
|
-
c[l] || f[l] || (f[l] = q.call(_r));
|
1107
|
-
}
|
1108
|
-
f = Te(f);
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
H.apply(_r, f), i && !e && 0 < f.length && 1 < u + y.length && se.uniqueSort(_r);
|
1112
|
-
}
|
1113
|
-
|
1114
|
-
return i && (S = h, w = p), c;
|
1115
|
-
}, m ? le(r) : r))).selector = e;
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
return a;
|
1119
|
-
}, g = se.select = function (e, t, n, r) {
|
1120
|
-
var i,
|
1121
|
-
o,
|
1122
|
-
a,
|
1123
|
-
s,
|
1124
|
-
u,
|
1125
|
-
l = 'function' == typeof e && e,
|
1126
|
-
c = !r && h(e = l.selector || e);
|
1127
|
-
|
1128
|
-
if (n = n || [], 1 === c.length) {
|
1129
|
-
if (2 < (o = c[0] = c[0].slice(0)).length && 'ID' === (a = o[0]).type && 9 === t.nodeType && E && b.relative[o[1].type]) {
|
1130
|
-
if (!(t = (b.find.ID(a.matches[0].replace(te, ne), t) || [])[0])) return n;
|
1131
|
-
l && (t = t.parentNode), e = e.slice(o.shift().value.length);
|
1132
|
-
}
|
1133
|
-
|
1134
|
-
i = G.needsContext.test(e) ? 0 : o.length;
|
1135
|
-
|
1136
|
-
while (i--) {
|
1137
|
-
if (a = o[i], b.relative[s = a.type]) break;
|
1138
|
-
|
1139
|
-
if ((u = b.find[s]) && (r = u(a.matches[0].replace(te, ne), ee.test(o[0].type) && ye(t.parentNode) || t))) {
|
1140
|
-
if (o.splice(i, 1), !(e = r.length && xe(o))) return H.apply(n, r), n;
|
1141
|
-
break;
|
1142
|
-
}
|
1143
|
-
}
|
1144
|
-
}
|
1145
|
-
|
1146
|
-
return (l || f(e, c))(r, t, !E, n, !t || ee.test(e) && ye(t.parentNode) || t), n;
|
1147
|
-
}, d.sortStable = k.split('').sort(D).join('') === k, d.detectDuplicates = !!l, T(), d.sortDetached = ce(function (e) {
|
1148
|
-
return 1 & e.compareDocumentPosition(C.createElement('fieldset'));
|
1149
|
-
}), ce(function (e) {
|
1150
|
-
return e.innerHTML = "<a href='#'></a>", '#' === e.firstChild.getAttribute('href');
|
1151
|
-
}) || fe('type|href|height|width', function (e, t, n) {
|
1152
|
-
if (!n) return e.getAttribute(t, 'type' === t.toLowerCase() ? 1 : 2);
|
1153
|
-
}), d.attributes && ce(function (e) {
|
1154
|
-
return e.innerHTML = '<input/>', e.firstChild.setAttribute('value', ''), '' === e.firstChild.getAttribute('value');
|
1155
|
-
}) || fe('value', function (e, t, n) {
|
1156
|
-
if (!n && 'input' === e.nodeName.toLowerCase()) return e.defaultValue;
|
1157
|
-
}), ce(function (e) {
|
1158
|
-
return null == e.getAttribute('disabled');
|
1159
|
-
}) || fe(R, function (e, t, n) {
|
1160
|
-
var r;
|
1161
|
-
if (!n) return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null;
|
1162
|
-
}), se;
|
1163
|
-
}(C);
|
1164
|
-
|
1165
|
-
k.find = h, k.expr = h.selectors, k.expr[':'] = k.expr.pseudos, k.uniqueSort = k.unique = h.uniqueSort, k.text = h.getText, k.isXMLDoc = h.isXML, k.contains = h.contains, k.escapeSelector = h.escape;
|
1166
|
-
|
1167
|
-
var T = function T(e, t, n) {
|
1168
|
-
var r = [],
|
1169
|
-
i = void 0 !== n;
|
1170
|
-
|
1171
|
-
while ((e = e[t]) && 9 !== e.nodeType) {
|
1172
|
-
if (1 === e.nodeType) {
|
1173
|
-
if (i && k(e).is(n)) break;
|
1174
|
-
r.push(e);
|
1175
|
-
}
|
1176
|
-
}
|
1177
|
-
|
1178
|
-
return r;
|
1179
|
-
},
|
1180
|
-
S = function S(e, t) {
|
1181
|
-
for (var n = []; e; e = e.nextSibling) {
|
1182
|
-
1 === e.nodeType && e !== t && n.push(e);
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
return n;
|
1186
|
-
},
|
1187
|
-
N = k.expr.match.needsContext;
|
1188
|
-
|
1189
|
-
function A(e, t) {
|
1190
|
-
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
|
1191
|
-
}
|
1192
|
-
|
1193
|
-
var D = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
1194
|
-
|
1195
|
-
function j(e, n, r) {
|
1196
|
-
return m(n) ? k.grep(e, function (e, t) {
|
1197
|
-
return !!n.call(e, t, e) !== r;
|
1198
|
-
}) : n.nodeType ? k.grep(e, function (e) {
|
1199
|
-
return e === n !== r;
|
1200
|
-
}) : 'string' != typeof n ? k.grep(e, function (e) {
|
1201
|
-
return -1 < i.call(n, e) !== r;
|
1202
|
-
}) : k.filter(n, e, r);
|
1203
|
-
}
|
1204
|
-
|
1205
|
-
k.filter = function (e, t, n) {
|
1206
|
-
var r = t[0];
|
1207
|
-
return n && (e = ':not(' + e + ')'), 1 === t.length && 1 === r.nodeType ? k.find.matchesSelector(r, e) ? [r] : [] : k.find.matches(e, k.grep(t, function (e) {
|
1208
|
-
return 1 === e.nodeType;
|
1209
|
-
}));
|
1210
|
-
}, k.fn.extend({
|
1211
|
-
find: function find(e) {
|
1212
|
-
var t,
|
1213
|
-
n,
|
1214
|
-
r = this.length,
|
1215
|
-
i = this;
|
1216
|
-
if ('string' != typeof e) return this.pushStack(k(e).filter(function () {
|
1217
|
-
for (t = 0; t < r; t++) {
|
1218
|
-
if (k.contains(i[t], this)) return !0;
|
1219
|
-
}
|
1220
|
-
}));
|
1221
|
-
|
1222
|
-
for (n = this.pushStack([]), t = 0; t < r; t++) {
|
1223
|
-
k.find(e, i[t], n);
|
1224
|
-
}
|
1225
|
-
|
1226
|
-
return 1 < r ? k.uniqueSort(n) : n;
|
1227
|
-
},
|
1228
|
-
filter: function filter(e) {
|
1229
|
-
return this.pushStack(j(this, e || [], !1));
|
1230
|
-
},
|
1231
|
-
not: function not(e) {
|
1232
|
-
return this.pushStack(j(this, e || [], !0));
|
1233
|
-
},
|
1234
|
-
is: function is(e) {
|
1235
|
-
return !!j(this, 'string' == typeof e && N.test(e) ? k(e) : e || [], !1).length;
|
1236
|
-
}
|
1237
|
-
});
|
1238
|
-
var q,
|
1239
|
-
L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
|
1240
|
-
(k.fn.init = function (e, t, n) {
|
1241
|
-
var r, i;
|
1242
|
-
if (!e) return this;
|
1243
|
-
|
1244
|
-
if (n = n || q, 'string' == typeof e) {
|
1245
|
-
if (!(r = '<' === e[0] && '>' === e[e.length - 1] && 3 <= e.length ? [null, e, null] : L.exec(e)) || !r[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e);
|
1246
|
-
|
1247
|
-
if (r[1]) {
|
1248
|
-
if (t = t instanceof k ? t[0] : t, k.merge(this, k.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : E, !0)), D.test(r[1]) && k.isPlainObject(t)) for (r in t) {
|
1249
|
-
m(this[r]) ? this[r](t[r]) : this.attr(r, t[r]);
|
1250
|
-
}
|
1251
|
-
return this;
|
1252
|
-
}
|
1253
|
-
|
1254
|
-
return (i = E.getElementById(r[2])) && (this[0] = i, this.length = 1), this;
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
return e.nodeType ? (this[0] = e, this.length = 1, this) : m(e) ? void 0 !== n.ready ? n.ready(e) : e(k) : k.makeArray(e, this);
|
1258
|
-
}).prototype = k.fn, q = k(E);
|
1259
|
-
var H = /^(?:parents|prev(?:Until|All))/,
|
1260
|
-
O = {
|
1261
|
-
children: !0,
|
1262
|
-
contents: !0,
|
1263
|
-
next: !0,
|
1264
|
-
prev: !0
|
1265
|
-
};
|
1266
|
-
|
1267
|
-
function P(e, t) {
|
1268
|
-
while ((e = e[t]) && 1 !== e.nodeType) {
|
1269
|
-
;
|
1270
|
-
}
|
1271
|
-
|
1272
|
-
return e;
|
1273
|
-
}
|
1274
|
-
|
1275
|
-
k.fn.extend({
|
1276
|
-
has: function has(e) {
|
1277
|
-
var t = k(e, this),
|
1278
|
-
n = t.length;
|
1279
|
-
return this.filter(function () {
|
1280
|
-
for (var e = 0; e < n; e++) {
|
1281
|
-
if (k.contains(this, t[e])) return !0;
|
1282
|
-
}
|
1283
|
-
});
|
1284
|
-
},
|
1285
|
-
closest: function closest(e, t) {
|
1286
|
-
var n,
|
1287
|
-
r = 0,
|
1288
|
-
i = this.length,
|
1289
|
-
o = [],
|
1290
|
-
a = 'string' != typeof e && k(e);
|
1291
|
-
if (!N.test(e)) for (; r < i; r++) {
|
1292
|
-
for (n = this[r]; n && n !== t; n = n.parentNode) {
|
1293
|
-
if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && k.find.matchesSelector(n, e))) {
|
1294
|
-
o.push(n);
|
1295
|
-
break;
|
1296
|
-
}
|
1297
|
-
}
|
1298
|
-
}
|
1299
|
-
return this.pushStack(1 < o.length ? k.uniqueSort(o) : o);
|
1300
|
-
},
|
1301
|
-
index: function index(e) {
|
1302
|
-
return e ? 'string' == typeof e ? i.call(k(e), this[0]) : i.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1;
|
1303
|
-
},
|
1304
|
-
add: function add(e, t) {
|
1305
|
-
return this.pushStack(k.uniqueSort(k.merge(this.get(), k(e, t))));
|
1306
|
-
},
|
1307
|
-
addBack: function addBack(e) {
|
1308
|
-
return this.add(null == e ? this.prevObject : this.prevObject.filter(e));
|
1309
|
-
}
|
1310
|
-
}), k.each({
|
1311
|
-
parent: function parent(e) {
|
1312
|
-
var t = e.parentNode;
|
1313
|
-
return t && 11 !== t.nodeType ? t : null;
|
1314
|
-
},
|
1315
|
-
parents: function parents(e) {
|
1316
|
-
return T(e, 'parentNode');
|
1317
|
-
},
|
1318
|
-
parentsUntil: function parentsUntil(e, t, n) {
|
1319
|
-
return T(e, 'parentNode', n);
|
1320
|
-
},
|
1321
|
-
next: function next(e) {
|
1322
|
-
return P(e, 'nextSibling');
|
1323
|
-
},
|
1324
|
-
prev: function prev(e) {
|
1325
|
-
return P(e, 'previousSibling');
|
1326
|
-
},
|
1327
|
-
nextAll: function nextAll(e) {
|
1328
|
-
return T(e, 'nextSibling');
|
1329
|
-
},
|
1330
|
-
prevAll: function prevAll(e) {
|
1331
|
-
return T(e, 'previousSibling');
|
1332
|
-
},
|
1333
|
-
nextUntil: function nextUntil(e, t, n) {
|
1334
|
-
return T(e, 'nextSibling', n);
|
1335
|
-
},
|
1336
|
-
prevUntil: function prevUntil(e, t, n) {
|
1337
|
-
return T(e, 'previousSibling', n);
|
1338
|
-
},
|
1339
|
-
siblings: function siblings(e) {
|
1340
|
-
return S((e.parentNode || {}).firstChild, e);
|
1341
|
-
},
|
1342
|
-
children: function children(e) {
|
1343
|
-
return S(e.firstChild);
|
1344
|
-
},
|
1345
|
-
contents: function contents(e) {
|
1346
|
-
return 'undefined' != typeof e.contentDocument ? e.contentDocument : (A(e, 'template') && (e = e.content || e), k.merge([], e.childNodes));
|
1347
|
-
}
|
1348
|
-
}, function (r, i) {
|
1349
|
-
k.fn[r] = function (e, t) {
|
1350
|
-
var n = k.map(this, i, e);
|
1351
|
-
return 'Until' !== r.slice(-5) && (t = e), t && 'string' == typeof t && (n = k.filter(t, n)), 1 < this.length && (O[r] || k.uniqueSort(n), H.test(r) && n.reverse()), this.pushStack(n);
|
1352
|
-
};
|
1353
|
-
});
|
1354
|
-
var R = /[^\x20\t\r\n\f]+/g;
|
1355
|
-
|
1356
|
-
function M(e) {
|
1357
|
-
return e;
|
1358
|
-
}
|
1359
|
-
|
1360
|
-
function I(e) {
|
1361
|
-
throw e;
|
1362
|
-
}
|
1363
|
-
|
1364
|
-
function W(e, t, n, r) {
|
1365
|
-
var i;
|
1366
|
-
|
1367
|
-
try {
|
1368
|
-
e && m(i = e.promise) ? i.call(e).done(t).fail(n) : e && m(i = e.then) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r));
|
1369
|
-
} catch (e) {
|
1370
|
-
n.apply(void 0, [e]);
|
1371
|
-
}
|
1372
|
-
}
|
1373
|
-
|
1374
|
-
k.Callbacks = function (r) {
|
1375
|
-
var e, n;
|
1376
|
-
r = 'string' == typeof r ? (e = r, n = {}, k.each(e.match(R) || [], function (e, t) {
|
1377
|
-
n[t] = !0;
|
1378
|
-
}), n) : k.extend({}, r);
|
1379
|
-
|
1380
|
-
var i,
|
1381
|
-
t,
|
1382
|
-
o,
|
1383
|
-
a,
|
1384
|
-
s = [],
|
1385
|
-
u = [],
|
1386
|
-
l = -1,
|
1387
|
-
c = function c() {
|
1388
|
-
for (a = a || r.once, o = i = !0; u.length; l = -1) {
|
1389
|
-
t = u.shift();
|
1390
|
-
|
1391
|
-
while (++l < s.length) {
|
1392
|
-
!1 === s[l].apply(t[0], t[1]) && r.stopOnFalse && (l = s.length, t = !1);
|
1393
|
-
}
|
1394
|
-
}
|
1395
|
-
|
1396
|
-
r.memory || (t = !1), i = !1, a && (s = t ? [] : '');
|
1397
|
-
},
|
1398
|
-
f = {
|
1399
|
-
add: function add() {
|
1400
|
-
return s && (t && !i && (l = s.length - 1, u.push(t)), function n(e) {
|
1401
|
-
k.each(e, function (e, t) {
|
1402
|
-
m(t) ? r.unique && f.has(t) || s.push(t) : t && t.length && 'string' !== w(t) && n(t);
|
1403
|
-
});
|
1404
|
-
}(arguments), t && !i && c()), this;
|
1405
|
-
},
|
1406
|
-
remove: function remove() {
|
1407
|
-
return k.each(arguments, function (e, t) {
|
1408
|
-
var n;
|
1409
|
-
|
1410
|
-
while (-1 < (n = k.inArray(t, s, n))) {
|
1411
|
-
s.splice(n, 1), n <= l && l--;
|
1412
|
-
}
|
1413
|
-
}), this;
|
1414
|
-
},
|
1415
|
-
has: function has(e) {
|
1416
|
-
return e ? -1 < k.inArray(e, s) : 0 < s.length;
|
1417
|
-
},
|
1418
|
-
empty: function empty() {
|
1419
|
-
return s && (s = []), this;
|
1420
|
-
},
|
1421
|
-
disable: function disable() {
|
1422
|
-
return a = u = [], s = t = '', this;
|
1423
|
-
},
|
1424
|
-
disabled: function disabled() {
|
1425
|
-
return !s;
|
1426
|
-
},
|
1427
|
-
lock: function lock() {
|
1428
|
-
return a = u = [], t || i || (s = t = ''), this;
|
1429
|
-
},
|
1430
|
-
locked: function locked() {
|
1431
|
-
return !!a;
|
1432
|
-
},
|
1433
|
-
fireWith: function fireWith(e, t) {
|
1434
|
-
return a || (t = [e, (t = t || []).slice ? t.slice() : t], u.push(t), i || c()), this;
|
1435
|
-
},
|
1436
|
-
fire: function fire() {
|
1437
|
-
return f.fireWith(this, arguments), this;
|
1438
|
-
},
|
1439
|
-
fired: function fired() {
|
1440
|
-
return !!o;
|
1441
|
-
}
|
1442
|
-
};
|
1443
|
-
|
1444
|
-
return f;
|
1445
|
-
}, k.extend({
|
1446
|
-
Deferred: function Deferred(e) {
|
1447
|
-
var o = [['notify', 'progress', k.Callbacks('memory'), k.Callbacks('memory'), 2], ['resolve', 'done', k.Callbacks('once memory'), k.Callbacks('once memory'), 0, 'resolved'], ['reject', 'fail', k.Callbacks('once memory'), k.Callbacks('once memory'), 1, 'rejected']],
|
1448
|
-
i = 'pending',
|
1449
|
-
a = {
|
1450
|
-
state: function state() {
|
1451
|
-
return i;
|
1452
|
-
},
|
1453
|
-
always: function always() {
|
1454
|
-
return s.done(arguments).fail(arguments), this;
|
1455
|
-
},
|
1456
|
-
catch: function _catch(e) {
|
1457
|
-
return a.then(null, e);
|
1458
|
-
},
|
1459
|
-
pipe: function pipe() {
|
1460
|
-
var i = arguments;
|
1461
|
-
return k.Deferred(function (r) {
|
1462
|
-
k.each(o, function (e, t) {
|
1463
|
-
var n = m(i[t[4]]) && i[t[4]];
|
1464
|
-
s[t[1]](function () {
|
1465
|
-
var e = n && n.apply(this, arguments);
|
1466
|
-
e && m(e.promise) ? e.promise().progress(r.notify).done(r.resolve).fail(r.reject) : r[t[0] + 'With'](this, n ? [e] : arguments);
|
1467
|
-
});
|
1468
|
-
}), i = null;
|
1469
|
-
}).promise();
|
1470
|
-
},
|
1471
|
-
then: function then(t, n, r) {
|
1472
|
-
var u = 0;
|
1473
|
-
|
1474
|
-
function l(i, o, a, s) {
|
1475
|
-
return function () {
|
1476
|
-
var n = this,
|
1477
|
-
r = arguments,
|
1478
|
-
e = function e() {
|
1479
|
-
var e, t;
|
1480
|
-
|
1481
|
-
if (!(i < u)) {
|
1482
|
-
if ((e = a.apply(n, r)) === o.promise()) throw new TypeError('Thenable self-resolution');
|
1483
|
-
t = e && ('object' == _typeof(e) || 'function' == typeof e) && e.then, m(t) ? s ? t.call(e, l(u, o, M, s), l(u, o, I, s)) : (u++, t.call(e, l(u, o, M, s), l(u, o, I, s), l(u, o, M, o.notifyWith))) : (a !== M && (n = void 0, r = [e]), (s || o.resolveWith)(n, r));
|
1484
|
-
}
|
1485
|
-
},
|
1486
|
-
t = s ? e : function () {
|
1487
|
-
try {
|
1488
|
-
e();
|
1489
|
-
} catch (e) {
|
1490
|
-
k.Deferred.exceptionHook && k.Deferred.exceptionHook(e, t.stackTrace), u <= i + 1 && (a !== I && (n = void 0, r = [e]), o.rejectWith(n, r));
|
1491
|
-
}
|
1492
|
-
};
|
1493
|
-
|
1494
|
-
i ? t() : (k.Deferred.getStackHook && (t.stackTrace = k.Deferred.getStackHook()), C.setTimeout(t));
|
1495
|
-
};
|
1496
|
-
}
|
1497
|
-
|
1498
|
-
return k.Deferred(function (e) {
|
1499
|
-
o[0][3].add(l(0, e, m(r) ? r : M, e.notifyWith)), o[1][3].add(l(0, e, m(t) ? t : M)), o[2][3].add(l(0, e, m(n) ? n : I));
|
1500
|
-
}).promise();
|
1501
|
-
},
|
1502
|
-
promise: function promise(e) {
|
1503
|
-
return null != e ? k.extend(e, a) : a;
|
1504
|
-
}
|
1505
|
-
},
|
1506
|
-
s = {};
|
1507
|
-
return k.each(o, function (e, t) {
|
1508
|
-
var n = t[2],
|
1509
|
-
r = t[5];
|
1510
|
-
a[t[1]] = n.add, r && n.add(function () {
|
1511
|
-
i = r;
|
1512
|
-
}, o[3 - e][2].disable, o[3 - e][3].disable, o[0][2].lock, o[0][3].lock), n.add(t[3].fire), s[t[0]] = function () {
|
1513
|
-
return s[t[0] + 'With'](this === s ? void 0 : this, arguments), this;
|
1514
|
-
}, s[t[0] + 'With'] = n.fireWith;
|
1515
|
-
}), a.promise(s), e && e.call(s, s), s;
|
1516
|
-
},
|
1517
|
-
when: function when(e) {
|
1518
|
-
var n = arguments.length,
|
1519
|
-
t = n,
|
1520
|
-
r = Array(t),
|
1521
|
-
i = s.call(arguments),
|
1522
|
-
o = k.Deferred(),
|
1523
|
-
a = function a(t) {
|
1524
|
-
return function (e) {
|
1525
|
-
r[t] = this, i[t] = 1 < arguments.length ? s.call(arguments) : e, --n || o.resolveWith(r, i);
|
1526
|
-
};
|
1527
|
-
};
|
1528
|
-
|
1529
|
-
if (n <= 1 && (W(e, o.done(a(t)).resolve, o.reject, !n), 'pending' === o.state() || m(i[t] && i[t].then))) return o.then();
|
1530
|
-
|
1531
|
-
while (t--) {
|
1532
|
-
W(i[t], a(t), o.reject);
|
1533
|
-
}
|
1534
|
-
|
1535
|
-
return o.promise();
|
1536
|
-
}
|
1537
|
-
});
|
1538
|
-
var $ = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
|
1539
|
-
k.Deferred.exceptionHook = function (e, t) {
|
1540
|
-
C.console && C.console.warn && e && $.test(e.name) && C.console.warn('jQuery.Deferred exception: ' + e.message, e.stack, t);
|
1541
|
-
}, k.readyException = function (e) {
|
1542
|
-
C.setTimeout(function () {
|
1543
|
-
throw e;
|
1544
|
-
});
|
1545
|
-
};
|
1546
|
-
var F = k.Deferred();
|
1547
|
-
|
1548
|
-
function B() {
|
1549
|
-
E.removeEventListener('DOMContentLoaded', B), C.removeEventListener('load', B), k.ready();
|
1550
|
-
}
|
1551
|
-
|
1552
|
-
k.fn.ready = function (e) {
|
1553
|
-
return F.then(e)['catch'](function (e) {
|
1554
|
-
k.readyException(e);
|
1555
|
-
}), this;
|
1556
|
-
}, k.extend({
|
1557
|
-
isReady: !1,
|
1558
|
-
readyWait: 1,
|
1559
|
-
ready: function ready(e) {
|
1560
|
-
(!0 === e ? --k.readyWait : k.isReady) || (k.isReady = !0) !== e && 0 < --k.readyWait || F.resolveWith(E, [k]);
|
1561
|
-
}
|
1562
|
-
}), k.ready.then = F.then, 'complete' === E.readyState || 'loading' !== E.readyState && !E.documentElement.doScroll ? C.setTimeout(k.ready) : (E.addEventListener('DOMContentLoaded', B), C.addEventListener('load', B));
|
1563
|
-
|
1564
|
-
var _ = function _(e, t, n, r, i, o, a) {
|
1565
|
-
var s = 0,
|
1566
|
-
u = e.length,
|
1567
|
-
l = null == n;
|
1568
|
-
if ('object' === w(n)) for (s in i = !0, n) {
|
1569
|
-
_(e, t, s, n[s], !0, o, a);
|
1570
|
-
} else if (void 0 !== r && (i = !0, m(r) || (a = !0), l && (a ? (t.call(e, r), t = null) : (l = t, t = function t(e, _t2, n) {
|
1571
|
-
return l.call(k(e), n);
|
1572
|
-
})), t)) for (; s < u; s++) {
|
1573
|
-
t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
|
1574
|
-
}
|
1575
|
-
return i ? e : l ? t.call(e) : u ? t(e[0], n) : o;
|
1576
|
-
},
|
1577
|
-
z = /^-ms-/,
|
1578
|
-
U = /-([a-z])/g;
|
1579
|
-
|
1580
|
-
function X(e, t) {
|
1581
|
-
return t.toUpperCase();
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
function V(e) {
|
1585
|
-
return e.replace(z, 'ms-').replace(U, X);
|
1586
|
-
}
|
1587
|
-
|
1588
|
-
var G = function G(e) {
|
1589
|
-
return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType;
|
1590
|
-
};
|
1591
|
-
|
1592
|
-
function Y() {
|
1593
|
-
this.expando = k.expando + Y.uid++;
|
1594
|
-
}
|
1595
|
-
|
1596
|
-
Y.uid = 1, Y.prototype = {
|
1597
|
-
cache: function cache(e) {
|
1598
|
-
var t = e[this.expando];
|
1599
|
-
return t || (t = {}, G(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, {
|
1600
|
-
value: t,
|
1601
|
-
configurable: !0
|
1602
|
-
}))), t;
|
1603
|
-
},
|
1604
|
-
set: function set(e, t, n) {
|
1605
|
-
var r,
|
1606
|
-
i = this.cache(e);
|
1607
|
-
if ('string' == typeof t) i[V(t)] = n;else for (r in t) {
|
1608
|
-
i[V(r)] = t[r];
|
1609
|
-
}
|
1610
|
-
return i;
|
1611
|
-
},
|
1612
|
-
get: function get(e, t) {
|
1613
|
-
return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][V(t)];
|
1614
|
-
},
|
1615
|
-
access: function access(e, t, n) {
|
1616
|
-
return void 0 === t || t && 'string' == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t);
|
1617
|
-
},
|
1618
|
-
remove: function remove(e, t) {
|
1619
|
-
var n,
|
1620
|
-
r = e[this.expando];
|
1621
|
-
|
1622
|
-
if (void 0 !== r) {
|
1623
|
-
if (void 0 !== t) {
|
1624
|
-
n = (t = Array.isArray(t) ? t.map(V) : (t = V(t)) in r ? [t] : t.match(R) || []).length;
|
1625
|
-
|
1626
|
-
while (n--) {
|
1627
|
-
delete r[t[n]];
|
1628
|
-
}
|
1629
|
-
}
|
1630
|
-
|
1631
|
-
(void 0 === t || k.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando]);
|
1632
|
-
}
|
1633
|
-
},
|
1634
|
-
hasData: function hasData(e) {
|
1635
|
-
var t = e[this.expando];
|
1636
|
-
return void 0 !== t && !k.isEmptyObject(t);
|
1637
|
-
}
|
1638
|
-
};
|
1639
|
-
var Q = new Y(),
|
1640
|
-
J = new Y(),
|
1641
|
-
K = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
|
1642
|
-
Z = /[A-Z]/g;
|
1643
|
-
|
1644
|
-
function ee(e, t, n) {
|
1645
|
-
var r, i;
|
1646
|
-
if (void 0 === n && 1 === e.nodeType) if (r = 'data-' + t.replace(Z, '-$&').toLowerCase(), 'string' == typeof (n = e.getAttribute(r))) {
|
1647
|
-
try {
|
1648
|
-
n = 'true' === (i = n) || 'false' !== i && ('null' === i ? null : i === +i + '' ? +i : K.test(i) ? JSON.parse(i) : i);
|
1649
|
-
} catch (e) {}
|
1650
|
-
|
1651
|
-
J.set(e, t, n);
|
1652
|
-
} else n = void 0;
|
1653
|
-
return n;
|
1654
|
-
}
|
1655
|
-
|
1656
|
-
k.extend({
|
1657
|
-
hasData: function hasData(e) {
|
1658
|
-
return J.hasData(e) || Q.hasData(e);
|
1659
|
-
},
|
1660
|
-
data: function data(e, t, n) {
|
1661
|
-
return J.access(e, t, n);
|
1662
|
-
},
|
1663
|
-
removeData: function removeData(e, t) {
|
1664
|
-
J.remove(e, t);
|
1665
|
-
},
|
1666
|
-
_data: function _data(e, t, n) {
|
1667
|
-
return Q.access(e, t, n);
|
1668
|
-
},
|
1669
|
-
_removeData: function _removeData(e, t) {
|
1670
|
-
Q.remove(e, t);
|
1671
|
-
}
|
1672
|
-
}), k.fn.extend({
|
1673
|
-
data: function data(n, e) {
|
1674
|
-
var t,
|
1675
|
-
r,
|
1676
|
-
i,
|
1677
|
-
o = this[0],
|
1678
|
-
a = o && o.attributes;
|
1679
|
-
|
1680
|
-
if (void 0 === n) {
|
1681
|
-
if (this.length && (i = J.get(o), 1 === o.nodeType && !Q.get(o, 'hasDataAttrs'))) {
|
1682
|
-
t = a.length;
|
1683
|
-
|
1684
|
-
while (t--) {
|
1685
|
-
a[t] && 0 === (r = a[t].name).indexOf('data-') && (r = V(r.slice(5)), ee(o, r, i[r]));
|
1686
|
-
}
|
1687
|
-
|
1688
|
-
Q.set(o, 'hasDataAttrs', !0);
|
1689
|
-
}
|
1690
|
-
|
1691
|
-
return i;
|
1692
|
-
}
|
1693
|
-
|
1694
|
-
return 'object' == _typeof(n) ? this.each(function () {
|
1695
|
-
J.set(this, n);
|
1696
|
-
}) : _(this, function (e) {
|
1697
|
-
var t;
|
1698
|
-
if (o && void 0 === e) return void 0 !== (t = J.get(o, n)) ? t : void 0 !== (t = ee(o, n)) ? t : void 0;
|
1699
|
-
this.each(function () {
|
1700
|
-
J.set(this, n, e);
|
1701
|
-
});
|
1702
|
-
}, null, e, 1 < arguments.length, null, !0);
|
1703
|
-
},
|
1704
|
-
removeData: function removeData(e) {
|
1705
|
-
return this.each(function () {
|
1706
|
-
J.remove(this, e);
|
1707
|
-
});
|
1708
|
-
}
|
1709
|
-
}), k.extend({
|
1710
|
-
queue: function queue(e, t, n) {
|
1711
|
-
var r;
|
1712
|
-
if (e) return t = (t || 'fx') + 'queue', r = Q.get(e, t), n && (!r || Array.isArray(n) ? r = Q.access(e, t, k.makeArray(n)) : r.push(n)), r || [];
|
1713
|
-
},
|
1714
|
-
dequeue: function dequeue(e, t) {
|
1715
|
-
t = t || 'fx';
|
1716
|
-
|
1717
|
-
var n = k.queue(e, t),
|
1718
|
-
r = n.length,
|
1719
|
-
i = n.shift(),
|
1720
|
-
o = k._queueHooks(e, t);
|
1721
|
-
|
1722
|
-
'inprogress' === i && (i = n.shift(), r--), i && ('fx' === t && n.unshift('inprogress'), delete o.stop, i.call(e, function () {
|
1723
|
-
k.dequeue(e, t);
|
1724
|
-
}, o)), !r && o && o.empty.fire();
|
1725
|
-
},
|
1726
|
-
_queueHooks: function _queueHooks(e, t) {
|
1727
|
-
var n = t + 'queueHooks';
|
1728
|
-
return Q.get(e, n) || Q.access(e, n, {
|
1729
|
-
empty: k.Callbacks('once memory').add(function () {
|
1730
|
-
Q.remove(e, [t + 'queue', n]);
|
1731
|
-
})
|
1732
|
-
});
|
1733
|
-
}
|
1734
|
-
}), k.fn.extend({
|
1735
|
-
queue: function queue(t, n) {
|
1736
|
-
var e = 2;
|
1737
|
-
return 'string' != typeof t && (n = t, t = 'fx', e--), arguments.length < e ? k.queue(this[0], t) : void 0 === n ? this : this.each(function () {
|
1738
|
-
var e = k.queue(this, t, n);
|
1739
|
-
k._queueHooks(this, t), 'fx' === t && 'inprogress' !== e[0] && k.dequeue(this, t);
|
1740
|
-
});
|
1741
|
-
},
|
1742
|
-
dequeue: function dequeue(e) {
|
1743
|
-
return this.each(function () {
|
1744
|
-
k.dequeue(this, e);
|
1745
|
-
});
|
1746
|
-
},
|
1747
|
-
clearQueue: function clearQueue(e) {
|
1748
|
-
return this.queue(e || 'fx', []);
|
1749
|
-
},
|
1750
|
-
promise: function promise(e, t) {
|
1751
|
-
var n,
|
1752
|
-
r = 1,
|
1753
|
-
i = k.Deferred(),
|
1754
|
-
o = this,
|
1755
|
-
a = this.length,
|
1756
|
-
s = function s() {
|
1757
|
-
--r || i.resolveWith(o, [o]);
|
1758
|
-
};
|
1759
|
-
|
1760
|
-
'string' != typeof e && (t = e, e = void 0), e = e || 'fx';
|
1761
|
-
|
1762
|
-
while (a--) {
|
1763
|
-
(n = Q.get(o[a], e + 'queueHooks')) && n.empty && (r++, n.empty.add(s));
|
1764
|
-
}
|
1765
|
-
|
1766
|
-
return s(), i.promise(t);
|
1767
|
-
}
|
1768
|
-
});
|
1769
|
-
|
1770
|
-
var te = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
|
1771
|
-
ne = new RegExp('^(?:([+-])=|)(' + te + ')([a-z%]*)$', 'i'),
|
1772
|
-
re = ['Top', 'Right', 'Bottom', 'Left'],
|
1773
|
-
ie = E.documentElement,
|
1774
|
-
oe = function oe(e) {
|
1775
|
-
return k.contains(e.ownerDocument, e);
|
1776
|
-
},
|
1777
|
-
ae = {
|
1778
|
-
composed: !0
|
1779
|
-
};
|
1780
|
-
|
1781
|
-
ie.getRootNode && (oe = function oe(e) {
|
1782
|
-
return k.contains(e.ownerDocument, e) || e.getRootNode(ae) === e.ownerDocument;
|
1783
|
-
});
|
1784
|
-
|
1785
|
-
var se = function se(e, t) {
|
1786
|
-
return 'none' === (e = t || e).style.display || '' === e.style.display && oe(e) && 'none' === k.css(e, 'display');
|
1787
|
-
},
|
1788
|
-
ue = function ue(e, t, n, r) {
|
1789
|
-
var i,
|
1790
|
-
o,
|
1791
|
-
a = {};
|
1792
|
-
|
1793
|
-
for (o in t) {
|
1794
|
-
a[o] = e.style[o], e.style[o] = t[o];
|
1795
|
-
}
|
1796
|
-
|
1797
|
-
for (o in i = n.apply(e, r || []), t) {
|
1798
|
-
e.style[o] = a[o];
|
1799
|
-
}
|
1800
|
-
|
1801
|
-
return i;
|
1802
|
-
};
|
1803
|
-
|
1804
|
-
function le(e, t, n, r) {
|
1805
|
-
var i,
|
1806
|
-
o,
|
1807
|
-
a = 20,
|
1808
|
-
s = r ? function () {
|
1809
|
-
return r.cur();
|
1810
|
-
} : function () {
|
1811
|
-
return k.css(e, t, '');
|
1812
|
-
},
|
1813
|
-
u = s(),
|
1814
|
-
l = n && n[3] || (k.cssNumber[t] ? '' : 'px'),
|
1815
|
-
c = e.nodeType && (k.cssNumber[t] || 'px' !== l && +u) && ne.exec(k.css(e, t));
|
1816
|
-
|
1817
|
-
if (c && c[3] !== l) {
|
1818
|
-
u /= 2, l = l || c[3], c = +u || 1;
|
1819
|
-
|
1820
|
-
while (a--) {
|
1821
|
-
k.style(e, t, c + l), (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), c /= o;
|
1822
|
-
}
|
1823
|
-
|
1824
|
-
c *= 2, k.style(e, t, c + l), n = n || [];
|
1825
|
-
}
|
1826
|
-
|
1827
|
-
return n && (c = +c || +u || 0, i = n[1] ? c + (n[1] + 1) * n[2] : +n[2], r && (r.unit = l, r.start = c, r.end = i)), i;
|
1828
|
-
}
|
1829
|
-
|
1830
|
-
var ce = {};
|
1831
|
-
|
1832
|
-
function fe(e, t) {
|
1833
|
-
for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++) {
|
1834
|
-
(r = e[c]).style && (n = r.style.display, t ? ('none' === n && (l[c] = Q.get(r, 'display') || null, l[c] || (r.style.display = '')), '' === r.style.display && se(r) && (l[c] = (u = a = o = void 0, a = (i = r).ownerDocument, s = i.nodeName, (u = ce[s]) || (o = a.body.appendChild(a.createElement(s)), u = k.css(o, 'display'), o.parentNode.removeChild(o), 'none' === u && (u = 'block'), ce[s] = u)))) : 'none' !== n && (l[c] = 'none', Q.set(r, 'display', n)));
|
1835
|
-
}
|
1836
|
-
|
1837
|
-
for (c = 0; c < f; c++) {
|
1838
|
-
null != l[c] && (e[c].style.display = l[c]);
|
1839
|
-
}
|
1840
|
-
|
1841
|
-
return e;
|
1842
|
-
}
|
1843
|
-
|
1844
|
-
k.fn.extend({
|
1845
|
-
show: function show() {
|
1846
|
-
return fe(this, !0);
|
1847
|
-
},
|
1848
|
-
hide: function hide() {
|
1849
|
-
return fe(this);
|
1850
|
-
},
|
1851
|
-
toggle: function toggle(e) {
|
1852
|
-
return 'boolean' == typeof e ? e ? this.show() : this.hide() : this.each(function () {
|
1853
|
-
se(this) ? k(this).show() : k(this).hide();
|
1854
|
-
});
|
1855
|
-
}
|
1856
|
-
});
|
1857
|
-
var pe = /^(?:checkbox|radio)$/i,
|
1858
|
-
de = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i,
|
1859
|
-
he = /^$|^module$|\/(?:java|ecma)script/i,
|
1860
|
-
ge = {
|
1861
|
-
option: [1, "<select multiple='multiple'>", '</select>'],
|
1862
|
-
thead: [1, '<table>', '</table>'],
|
1863
|
-
col: [2, '<table><colgroup>', '</colgroup></table>'],
|
1864
|
-
tr: [2, '<table><tbody>', '</tbody></table>'],
|
1865
|
-
td: [3, '<table><tbody><tr>', '</tr></tbody></table>'],
|
1866
|
-
_default: [0, '', '']
|
1867
|
-
};
|
1868
|
-
|
1869
|
-
function ve(e, t) {
|
1870
|
-
var n;
|
1871
|
-
return n = 'undefined' != typeof e.getElementsByTagName ? e.getElementsByTagName(t || '*') : 'undefined' != typeof e.querySelectorAll ? e.querySelectorAll(t || '*') : [], void 0 === t || t && A(e, t) ? k.merge([e], n) : n;
|
1872
|
-
}
|
1873
|
-
|
1874
|
-
function ye(e, t) {
|
1875
|
-
for (var n = 0, r = e.length; n < r; n++) {
|
1876
|
-
Q.set(e[n], 'globalEval', !t || Q.get(t[n], 'globalEval'));
|
1877
|
-
}
|
1878
|
-
}
|
1879
|
-
|
1880
|
-
ge.optgroup = ge.option, ge.tbody = ge.tfoot = ge.colgroup = ge.caption = ge.thead, ge.th = ge.td;
|
1881
|
-
var me,
|
1882
|
-
xe,
|
1883
|
-
be = /<|&#?\w+;/;
|
1884
|
-
|
1885
|
-
function we(e, t, n, r, i) {
|
1886
|
-
for (var o, a, s, u, l, c, f = t.createDocumentFragment(), p = [], d = 0, h = e.length; d < h; d++) {
|
1887
|
-
if ((o = e[d]) || 0 === o) if ('object' === w(o)) k.merge(p, o.nodeType ? [o] : o);else if (be.test(o)) {
|
1888
|
-
a = a || f.appendChild(t.createElement('div')), s = (de.exec(o) || ['', ''])[1].toLowerCase(), u = ge[s] || ge._default, a.innerHTML = u[1] + k.htmlPrefilter(o) + u[2], c = u[0];
|
1889
|
-
|
1890
|
-
while (c--) {
|
1891
|
-
a = a.lastChild;
|
1892
|
-
}
|
1893
|
-
|
1894
|
-
k.merge(p, a.childNodes), (a = f.firstChild).textContent = '';
|
1895
|
-
} else p.push(t.createTextNode(o));
|
1896
|
-
}
|
1897
|
-
|
1898
|
-
f.textContent = '', d = 0;
|
1899
|
-
|
1900
|
-
while (o = p[d++]) {
|
1901
|
-
if (r && -1 < k.inArray(o, r)) i && i.push(o);else if (l = oe(o), a = ve(f.appendChild(o), 'script'), l && ye(a), n) {
|
1902
|
-
c = 0;
|
1903
|
-
|
1904
|
-
while (o = a[c++]) {
|
1905
|
-
he.test(o.type || '') && n.push(o);
|
1906
|
-
}
|
1907
|
-
}
|
1908
|
-
}
|
1909
|
-
|
1910
|
-
return f;
|
1911
|
-
}
|
1912
|
-
|
1913
|
-
me = E.createDocumentFragment().appendChild(E.createElement('div')), (xe = E.createElement('input')).setAttribute('type', 'radio'), xe.setAttribute('checked', 'checked'), xe.setAttribute('name', 't'), me.appendChild(xe), y.checkClone = me.cloneNode(!0).cloneNode(!0).lastChild.checked, me.innerHTML = '<textarea>x</textarea>', y.noCloneChecked = !!me.cloneNode(!0).lastChild.defaultValue;
|
1914
|
-
var Te = /^key/,
|
1915
|
-
Ce = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
|
1916
|
-
Ee = /^([^.]*)(?:\.(.+)|)/;
|
1917
|
-
|
1918
|
-
function ke() {
|
1919
|
-
return !0;
|
1920
|
-
}
|
1921
|
-
|
1922
|
-
function Se() {
|
1923
|
-
return !1;
|
1924
|
-
}
|
1925
|
-
|
1926
|
-
function Ne(e, t) {
|
1927
|
-
return e === function () {
|
1928
|
-
try {
|
1929
|
-
return E.activeElement;
|
1930
|
-
} catch (e) {}
|
1931
|
-
}() == ('focus' === t);
|
1932
|
-
}
|
1933
|
-
|
1934
|
-
function Ae(e, t, n, r, i, o) {
|
1935
|
-
var a, s;
|
1936
|
-
|
1937
|
-
if ('object' == _typeof(t)) {
|
1938
|
-
for (s in 'string' != typeof n && (r = r || n, n = void 0), t) {
|
1939
|
-
Ae(e, s, n, r, t[s], o);
|
1940
|
-
}
|
1941
|
-
|
1942
|
-
return e;
|
1943
|
-
}
|
1944
|
-
|
1945
|
-
if (null == r && null == i ? (i = n, r = n = void 0) : null == i && ('string' == typeof n ? (i = r, r = void 0) : (i = r, r = n, n = void 0)), !1 === i) i = Se;else if (!i) return e;
|
1946
|
-
return 1 === o && (a = i, (i = function i(e) {
|
1947
|
-
return k().off(e), a.apply(this, arguments);
|
1948
|
-
}).guid = a.guid || (a.guid = k.guid++)), e.each(function () {
|
1949
|
-
k.event.add(this, t, i, r, n);
|
1950
|
-
});
|
1951
|
-
}
|
1952
|
-
|
1953
|
-
function De(e, i, o) {
|
1954
|
-
o ? (Q.set(e, i, !1), k.event.add(e, i, {
|
1955
|
-
namespace: !1,
|
1956
|
-
handler: function handler(e) {
|
1957
|
-
var t,
|
1958
|
-
n,
|
1959
|
-
r = Q.get(this, i);
|
1960
|
-
|
1961
|
-
if (1 & e.isTrigger && this[i]) {
|
1962
|
-
if (r.length) (k.event.special[i] || {}).delegateType && e.stopPropagation();else if (r = s.call(arguments), Q.set(this, i, r), t = o(this, i), this[i](), r !== (n = Q.get(this, i)) || t ? Q.set(this, i, !1) : n = {}, r !== n) return e.stopImmediatePropagation(), e.preventDefault(), n.value;
|
1963
|
-
} else r.length && (Q.set(this, i, {
|
1964
|
-
value: k.event.trigger(k.extend(r[0], k.Event.prototype), r.slice(1), this)
|
1965
|
-
}), e.stopImmediatePropagation());
|
1966
|
-
}
|
1967
|
-
})) : void 0 === Q.get(e, i) && k.event.add(e, i, ke);
|
1968
|
-
}
|
1969
|
-
|
1970
|
-
k.event = {
|
1971
|
-
global: {},
|
1972
|
-
add: function add(t, e, n, r, i) {
|
1973
|
-
var o,
|
1974
|
-
a,
|
1975
|
-
s,
|
1976
|
-
u,
|
1977
|
-
l,
|
1978
|
-
c,
|
1979
|
-
f,
|
1980
|
-
p,
|
1981
|
-
d,
|
1982
|
-
h,
|
1983
|
-
g,
|
1984
|
-
v = Q.get(t);
|
1985
|
-
|
1986
|
-
if (v) {
|
1987
|
-
n.handler && (n = (o = n).handler, i = o.selector), i && k.find.matchesSelector(ie, i), n.guid || (n.guid = k.guid++), (u = v.events) || (u = v.events = {}), (a = v.handle) || (a = v.handle = function (e) {
|
1988
|
-
return 'undefined' != typeof k && k.event.triggered !== e.type ? k.event.dispatch.apply(t, arguments) : void 0;
|
1989
|
-
}), l = (e = (e || '').match(R) || ['']).length;
|
1990
|
-
|
1991
|
-
while (l--) {
|
1992
|
-
d = g = (s = Ee.exec(e[l]) || [])[1], h = (s[2] || '').split('.').sort(), d && (f = k.event.special[d] || {}, d = (i ? f.delegateType : f.bindType) || d, f = k.event.special[d] || {}, c = k.extend({
|
1993
|
-
type: d,
|
1994
|
-
origType: g,
|
1995
|
-
data: r,
|
1996
|
-
handler: n,
|
1997
|
-
guid: n.guid,
|
1998
|
-
selector: i,
|
1999
|
-
needsContext: i && k.expr.match.needsContext.test(i),
|
2000
|
-
namespace: h.join('.')
|
2001
|
-
}, o), (p = u[d]) || ((p = u[d] = []).delegateCount = 0, f.setup && !1 !== f.setup.call(t, r, h, a) || t.addEventListener && t.addEventListener(d, a)), f.add && (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)), i ? p.splice(p.delegateCount++, 0, c) : p.push(c), k.event.global[d] = !0);
|
2002
|
-
}
|
2003
|
-
}
|
2004
|
-
},
|
2005
|
-
remove: function remove(e, t, n, r, i) {
|
2006
|
-
var o,
|
2007
|
-
a,
|
2008
|
-
s,
|
2009
|
-
u,
|
2010
|
-
l,
|
2011
|
-
c,
|
2012
|
-
f,
|
2013
|
-
p,
|
2014
|
-
d,
|
2015
|
-
h,
|
2016
|
-
g,
|
2017
|
-
v = Q.hasData(e) && Q.get(e);
|
2018
|
-
|
2019
|
-
if (v && (u = v.events)) {
|
2020
|
-
l = (t = (t || '').match(R) || ['']).length;
|
2021
|
-
|
2022
|
-
while (l--) {
|
2023
|
-
if (d = g = (s = Ee.exec(t[l]) || [])[1], h = (s[2] || '').split('.').sort(), d) {
|
2024
|
-
f = k.event.special[d] || {}, p = u[d = (r ? f.delegateType : f.bindType) || d] || [], s = s[2] && new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)'), a = o = p.length;
|
2025
|
-
|
2026
|
-
while (o--) {
|
2027
|
-
c = p[o], !i && g !== c.origType || n && n.guid !== c.guid || s && !s.test(c.namespace) || r && r !== c.selector && ('**' !== r || !c.selector) || (p.splice(o, 1), c.selector && p.delegateCount--, f.remove && f.remove.call(e, c));
|
2028
|
-
}
|
2029
|
-
|
2030
|
-
a && !p.length && (f.teardown && !1 !== f.teardown.call(e, h, v.handle) || k.removeEvent(e, d, v.handle), delete u[d]);
|
2031
|
-
} else for (d in u) {
|
2032
|
-
k.event.remove(e, d + t[l], n, r, !0);
|
2033
|
-
}
|
2034
|
-
}
|
2035
|
-
|
2036
|
-
k.isEmptyObject(u) && Q.remove(e, 'handle events');
|
2037
|
-
}
|
2038
|
-
},
|
2039
|
-
dispatch: function dispatch(e) {
|
2040
|
-
var t,
|
2041
|
-
n,
|
2042
|
-
r,
|
2043
|
-
i,
|
2044
|
-
o,
|
2045
|
-
a,
|
2046
|
-
s = k.event.fix(e),
|
2047
|
-
u = new Array(arguments.length),
|
2048
|
-
l = (Q.get(this, 'events') || {})[s.type] || [],
|
2049
|
-
c = k.event.special[s.type] || {};
|
2050
|
-
|
2051
|
-
for (u[0] = s, t = 1; t < arguments.length; t++) {
|
2052
|
-
u[t] = arguments[t];
|
2053
|
-
}
|
2054
|
-
|
2055
|
-
if (s.delegateTarget = this, !c.preDispatch || !1 !== c.preDispatch.call(this, s)) {
|
2056
|
-
a = k.event.handlers.call(this, s, l), t = 0;
|
2057
|
-
|
2058
|
-
while ((i = a[t++]) && !s.isPropagationStopped()) {
|
2059
|
-
s.currentTarget = i.elem, n = 0;
|
2060
|
-
|
2061
|
-
while ((o = i.handlers[n++]) && !s.isImmediatePropagationStopped()) {
|
2062
|
-
s.rnamespace && !1 !== o.namespace && !s.rnamespace.test(o.namespace) || (s.handleObj = o, s.data = o.data, void 0 !== (r = ((k.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, u)) && !1 === (s.result = r) && (s.preventDefault(), s.stopPropagation()));
|
2063
|
-
}
|
2064
|
-
}
|
2065
|
-
|
2066
|
-
return c.postDispatch && c.postDispatch.call(this, s), s.result;
|
2067
|
-
}
|
2068
|
-
},
|
2069
|
-
handlers: function handlers(e, t) {
|
2070
|
-
var n,
|
2071
|
-
r,
|
2072
|
-
i,
|
2073
|
-
o,
|
2074
|
-
a,
|
2075
|
-
s = [],
|
2076
|
-
u = t.delegateCount,
|
2077
|
-
l = e.target;
|
2078
|
-
if (u && l.nodeType && !('click' === e.type && 1 <= e.button)) for (; l !== this; l = l.parentNode || this) {
|
2079
|
-
if (1 === l.nodeType && ('click' !== e.type || !0 !== l.disabled)) {
|
2080
|
-
for (o = [], a = {}, n = 0; n < u; n++) {
|
2081
|
-
void 0 === a[i = (r = t[n]).selector + ' '] && (a[i] = r.needsContext ? -1 < k(i, this).index(l) : k.find(i, this, null, [l]).length), a[i] && o.push(r);
|
2082
|
-
}
|
2083
|
-
|
2084
|
-
o.length && s.push({
|
2085
|
-
elem: l,
|
2086
|
-
handlers: o
|
2087
|
-
});
|
2088
|
-
}
|
2089
|
-
}
|
2090
|
-
return l = this, u < t.length && s.push({
|
2091
|
-
elem: l,
|
2092
|
-
handlers: t.slice(u)
|
2093
|
-
}), s;
|
2094
|
-
},
|
2095
|
-
addProp: function addProp(t, e) {
|
2096
|
-
Object.defineProperty(k.Event.prototype, t, {
|
2097
|
-
enumerable: !0,
|
2098
|
-
configurable: !0,
|
2099
|
-
get: m(e) ? function () {
|
2100
|
-
if (this.originalEvent) return e(this.originalEvent);
|
2101
|
-
} : function () {
|
2102
|
-
if (this.originalEvent) return this.originalEvent[t];
|
2103
|
-
},
|
2104
|
-
set: function set(e) {
|
2105
|
-
Object.defineProperty(this, t, {
|
2106
|
-
enumerable: !0,
|
2107
|
-
configurable: !0,
|
2108
|
-
writable: !0,
|
2109
|
-
value: e
|
2110
|
-
});
|
2111
|
-
}
|
2112
|
-
});
|
2113
|
-
},
|
2114
|
-
fix: function fix(e) {
|
2115
|
-
return e[k.expando] ? e : new k.Event(e);
|
2116
|
-
},
|
2117
|
-
special: {
|
2118
|
-
load: {
|
2119
|
-
noBubble: !0
|
2120
|
-
},
|
2121
|
-
click: {
|
2122
|
-
setup: function setup(e) {
|
2123
|
-
var t = this || e;
|
2124
|
-
return pe.test(t.type) && t.click && A(t, 'input') && De(t, 'click', ke), !1;
|
2125
|
-
},
|
2126
|
-
trigger: function trigger(e) {
|
2127
|
-
var t = this || e;
|
2128
|
-
return pe.test(t.type) && t.click && A(t, 'input') && De(t, 'click'), !0;
|
2129
|
-
},
|
2130
|
-
_default: function _default(e) {
|
2131
|
-
var t = e.target;
|
2132
|
-
return pe.test(t.type) && t.click && A(t, 'input') && Q.get(t, 'click') || A(t, 'a');
|
2133
|
-
}
|
2134
|
-
},
|
2135
|
-
beforeunload: {
|
2136
|
-
postDispatch: function postDispatch(e) {
|
2137
|
-
void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result);
|
2138
|
-
}
|
2139
|
-
}
|
2140
|
-
}
|
2141
|
-
}, k.removeEvent = function (e, t, n) {
|
2142
|
-
e.removeEventListener && e.removeEventListener(t, n);
|
2143
|
-
}, k.Event = function (e, t) {
|
2144
|
-
if (!(this instanceof k.Event)) return new k.Event(e, t);
|
2145
|
-
e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? ke : Se, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && k.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[k.expando] = !0;
|
2146
|
-
}, k.Event.prototype = {
|
2147
|
-
constructor: k.Event,
|
2148
|
-
isDefaultPrevented: Se,
|
2149
|
-
isPropagationStopped: Se,
|
2150
|
-
isImmediatePropagationStopped: Se,
|
2151
|
-
isSimulated: !1,
|
2152
|
-
preventDefault: function preventDefault() {
|
2153
|
-
var e = this.originalEvent;
|
2154
|
-
this.isDefaultPrevented = ke, e && !this.isSimulated && e.preventDefault();
|
2155
|
-
},
|
2156
|
-
stopPropagation: function stopPropagation() {
|
2157
|
-
var e = this.originalEvent;
|
2158
|
-
this.isPropagationStopped = ke, e && !this.isSimulated && e.stopPropagation();
|
2159
|
-
},
|
2160
|
-
stopImmediatePropagation: function stopImmediatePropagation() {
|
2161
|
-
var e = this.originalEvent;
|
2162
|
-
this.isImmediatePropagationStopped = ke, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation();
|
2163
|
-
}
|
2164
|
-
}, k.each({
|
2165
|
-
altKey: !0,
|
2166
|
-
bubbles: !0,
|
2167
|
-
cancelable: !0,
|
2168
|
-
changedTouches: !0,
|
2169
|
-
ctrlKey: !0,
|
2170
|
-
detail: !0,
|
2171
|
-
eventPhase: !0,
|
2172
|
-
metaKey: !0,
|
2173
|
-
pageX: !0,
|
2174
|
-
pageY: !0,
|
2175
|
-
shiftKey: !0,
|
2176
|
-
view: !0,
|
2177
|
-
char: !0,
|
2178
|
-
code: !0,
|
2179
|
-
charCode: !0,
|
2180
|
-
key: !0,
|
2181
|
-
keyCode: !0,
|
2182
|
-
button: !0,
|
2183
|
-
buttons: !0,
|
2184
|
-
clientX: !0,
|
2185
|
-
clientY: !0,
|
2186
|
-
offsetX: !0,
|
2187
|
-
offsetY: !0,
|
2188
|
-
pointerId: !0,
|
2189
|
-
pointerType: !0,
|
2190
|
-
screenX: !0,
|
2191
|
-
screenY: !0,
|
2192
|
-
targetTouches: !0,
|
2193
|
-
toElement: !0,
|
2194
|
-
touches: !0,
|
2195
|
-
which: function which(e) {
|
2196
|
-
var t = e.button;
|
2197
|
-
return null == e.which && Te.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && Ce.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which;
|
2198
|
-
}
|
2199
|
-
}, k.event.addProp), k.each({
|
2200
|
-
focus: 'focusin',
|
2201
|
-
blur: 'focusout'
|
2202
|
-
}, function (e, t) {
|
2203
|
-
k.event.special[e] = {
|
2204
|
-
setup: function setup() {
|
2205
|
-
return De(this, e, Ne), !1;
|
2206
|
-
},
|
2207
|
-
trigger: function trigger() {
|
2208
|
-
return De(this, e), !0;
|
2209
|
-
},
|
2210
|
-
delegateType: t
|
2211
|
-
};
|
2212
|
-
}), k.each({
|
2213
|
-
mouseenter: 'mouseover',
|
2214
|
-
mouseleave: 'mouseout',
|
2215
|
-
pointerenter: 'pointerover',
|
2216
|
-
pointerleave: 'pointerout'
|
2217
|
-
}, function (e, i) {
|
2218
|
-
k.event.special[e] = {
|
2219
|
-
delegateType: i,
|
2220
|
-
bindType: i,
|
2221
|
-
handle: function handle(e) {
|
2222
|
-
var t,
|
2223
|
-
n = e.relatedTarget,
|
2224
|
-
r = e.handleObj;
|
2225
|
-
return n && (n === this || k.contains(this, n)) || (e.type = r.origType, t = r.handler.apply(this, arguments), e.type = i), t;
|
2226
|
-
}
|
2227
|
-
};
|
2228
|
-
}), k.fn.extend({
|
2229
|
-
on: function on(e, t, n, r) {
|
2230
|
-
return Ae(this, e, t, n, r);
|
2231
|
-
},
|
2232
|
-
one: function one(e, t, n, r) {
|
2233
|
-
return Ae(this, e, t, n, r, 1);
|
2234
|
-
},
|
2235
|
-
off: function off(e, t, n) {
|
2236
|
-
var r, i;
|
2237
|
-
if (e && e.preventDefault && e.handleObj) return r = e.handleObj, k(e.delegateTarget).off(r.namespace ? r.origType + '.' + r.namespace : r.origType, r.selector, r.handler), this;
|
2238
|
-
|
2239
|
-
if ('object' == _typeof(e)) {
|
2240
|
-
for (i in e) {
|
2241
|
-
this.off(i, t, e[i]);
|
2242
|
-
}
|
2243
|
-
|
2244
|
-
return this;
|
2245
|
-
}
|
2246
|
-
|
2247
|
-
return !1 !== t && 'function' != typeof t || (n = t, t = void 0), !1 === n && (n = Se), this.each(function () {
|
2248
|
-
k.event.remove(this, e, n, t);
|
2249
|
-
});
|
2250
|
-
}
|
2251
|
-
});
|
2252
|
-
var je = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
|
2253
|
-
qe = /<script|<style|<link/i,
|
2254
|
-
Le = /checked\s*(?:[^=]|=\s*.checked.)/i,
|
2255
|
-
He = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
|
2256
|
-
|
2257
|
-
function Oe(e, t) {
|
2258
|
-
return A(e, 'table') && A(11 !== t.nodeType ? t : t.firstChild, 'tr') && k(e).children('tbody')[0] || e;
|
2259
|
-
}
|
2260
|
-
|
2261
|
-
function Pe(e) {
|
2262
|
-
return e.type = (null !== e.getAttribute('type')) + '/' + e.type, e;
|
2263
|
-
}
|
2264
|
-
|
2265
|
-
function Re(e) {
|
2266
|
-
return 'true/' === (e.type || '').slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute('type'), e;
|
2267
|
-
}
|
2268
|
-
|
2269
|
-
function Me(e, t) {
|
2270
|
-
var n, r, i, o, a, s, u, l;
|
2271
|
-
|
2272
|
-
if (1 === t.nodeType) {
|
2273
|
-
if (Q.hasData(e) && (o = Q.access(e), a = Q.set(t, o), l = o.events)) for (i in delete a.handle, a.events = {}, l) {
|
2274
|
-
for (n = 0, r = l[i].length; n < r; n++) {
|
2275
|
-
k.event.add(t, i, l[i][n]);
|
2276
|
-
}
|
2277
|
-
}
|
2278
|
-
J.hasData(e) && (s = J.access(e), u = k.extend({}, s), J.set(t, u));
|
2279
|
-
}
|
2280
|
-
}
|
2281
|
-
|
2282
|
-
function Ie(n, r, i, o) {
|
2283
|
-
r = g.apply([], r);
|
2284
|
-
var e,
|
2285
|
-
t,
|
2286
|
-
a,
|
2287
|
-
s,
|
2288
|
-
u,
|
2289
|
-
l,
|
2290
|
-
c = 0,
|
2291
|
-
f = n.length,
|
2292
|
-
p = f - 1,
|
2293
|
-
d = r[0],
|
2294
|
-
h = m(d);
|
2295
|
-
if (h || 1 < f && 'string' == typeof d && !y.checkClone && Le.test(d)) return n.each(function (e) {
|
2296
|
-
var t = n.eq(e);
|
2297
|
-
h && (r[0] = d.call(this, e, t.html())), Ie(t, r, i, o);
|
2298
|
-
});
|
2299
|
-
|
2300
|
-
if (f && (t = (e = we(r, n[0].ownerDocument, !1, n, o)).firstChild, 1 === e.childNodes.length && (e = t), t || o)) {
|
2301
|
-
for (s = (a = k.map(ve(e, 'script'), Pe)).length; c < f; c++) {
|
2302
|
-
u = e, c !== p && (u = k.clone(u, !0, !0), s && k.merge(a, ve(u, 'script'))), i.call(n[c], u, c);
|
2303
|
-
}
|
2304
|
-
|
2305
|
-
if (s) for (l = a[a.length - 1].ownerDocument, k.map(a, Re), c = 0; c < s; c++) {
|
2306
|
-
u = a[c], he.test(u.type || '') && !Q.access(u, 'globalEval') && k.contains(l, u) && (u.src && 'module' !== (u.type || '').toLowerCase() ? k._evalUrl && !u.noModule && k._evalUrl(u.src, {
|
2307
|
-
nonce: u.nonce || u.getAttribute('nonce')
|
2308
|
-
}) : b(u.textContent.replace(He, ''), u, l));
|
2309
|
-
}
|
2310
|
-
}
|
2311
|
-
|
2312
|
-
return n;
|
2313
|
-
}
|
2314
|
-
|
2315
|
-
function We(e, t, n) {
|
2316
|
-
for (var r, i = t ? k.filter(t, e) : e, o = 0; null != (r = i[o]); o++) {
|
2317
|
-
n || 1 !== r.nodeType || k.cleanData(ve(r)), r.parentNode && (n && oe(r) && ye(ve(r, 'script')), r.parentNode.removeChild(r));
|
2318
|
-
}
|
2319
|
-
|
2320
|
-
return e;
|
2321
|
-
}
|
2322
|
-
|
2323
|
-
k.extend({
|
2324
|
-
htmlPrefilter: function htmlPrefilter(e) {
|
2325
|
-
return e.replace(je, '<$1></$2>');
|
2326
|
-
},
|
2327
|
-
clone: function clone(e, t, n) {
|
2328
|
-
var r,
|
2329
|
-
i,
|
2330
|
-
o,
|
2331
|
-
a,
|
2332
|
-
s,
|
2333
|
-
u,
|
2334
|
-
l,
|
2335
|
-
c = e.cloneNode(!0),
|
2336
|
-
f = oe(e);
|
2337
|
-
if (!(y.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || k.isXMLDoc(e))) for (a = ve(c), r = 0, i = (o = ve(e)).length; r < i; r++) {
|
2338
|
-
s = o[r], u = a[r], void 0, 'input' === (l = u.nodeName.toLowerCase()) && pe.test(s.type) ? u.checked = s.checked : 'input' !== l && 'textarea' !== l || (u.defaultValue = s.defaultValue);
|
2339
|
-
}
|
2340
|
-
if (t) if (n) for (o = o || ve(e), a = a || ve(c), r = 0, i = o.length; r < i; r++) {
|
2341
|
-
Me(o[r], a[r]);
|
2342
|
-
} else Me(e, c);
|
2343
|
-
return 0 < (a = ve(c, 'script')).length && ye(a, !f && ve(e, 'script')), c;
|
2344
|
-
},
|
2345
|
-
cleanData: function cleanData(e) {
|
2346
|
-
for (var t, n, r, i = k.event.special, o = 0; void 0 !== (n = e[o]); o++) {
|
2347
|
-
if (G(n)) {
|
2348
|
-
if (t = n[Q.expando]) {
|
2349
|
-
if (t.events) for (r in t.events) {
|
2350
|
-
i[r] ? k.event.remove(n, r) : k.removeEvent(n, r, t.handle);
|
2351
|
-
}
|
2352
|
-
n[Q.expando] = void 0;
|
2353
|
-
}
|
2354
|
-
|
2355
|
-
n[J.expando] && (n[J.expando] = void 0);
|
2356
|
-
}
|
2357
|
-
}
|
2358
|
-
}
|
2359
|
-
}), k.fn.extend({
|
2360
|
-
detach: function detach(e) {
|
2361
|
-
return We(this, e, !0);
|
2362
|
-
},
|
2363
|
-
remove: function remove(e) {
|
2364
|
-
return We(this, e);
|
2365
|
-
},
|
2366
|
-
text: function text(e) {
|
2367
|
-
return _(this, function (e) {
|
2368
|
-
return void 0 === e ? k.text(this) : this.empty().each(function () {
|
2369
|
-
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e);
|
2370
|
-
});
|
2371
|
-
}, null, e, arguments.length);
|
2372
|
-
},
|
2373
|
-
append: function append() {
|
2374
|
-
return Ie(this, arguments, function (e) {
|
2375
|
-
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Oe(this, e).appendChild(e);
|
2376
|
-
});
|
2377
|
-
},
|
2378
|
-
prepend: function prepend() {
|
2379
|
-
return Ie(this, arguments, function (e) {
|
2380
|
-
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
|
2381
|
-
var t = Oe(this, e);
|
2382
|
-
t.insertBefore(e, t.firstChild);
|
2383
|
-
}
|
2384
|
-
});
|
2385
|
-
},
|
2386
|
-
before: function before() {
|
2387
|
-
return Ie(this, arguments, function (e) {
|
2388
|
-
this.parentNode && this.parentNode.insertBefore(e, this);
|
2389
|
-
});
|
2390
|
-
},
|
2391
|
-
after: function after() {
|
2392
|
-
return Ie(this, arguments, function (e) {
|
2393
|
-
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling);
|
2394
|
-
});
|
2395
|
-
},
|
2396
|
-
empty: function empty() {
|
2397
|
-
for (var e, t = 0; null != (e = this[t]); t++) {
|
2398
|
-
1 === e.nodeType && (k.cleanData(ve(e, !1)), e.textContent = '');
|
2399
|
-
}
|
2400
|
-
|
2401
|
-
return this;
|
2402
|
-
},
|
2403
|
-
clone: function clone(e, t) {
|
2404
|
-
return e = null != e && e, t = null == t ? e : t, this.map(function () {
|
2405
|
-
return k.clone(this, e, t);
|
2406
|
-
});
|
2407
|
-
},
|
2408
|
-
html: function html(e) {
|
2409
|
-
return _(this, function (e) {
|
2410
|
-
var t = this[0] || {},
|
2411
|
-
n = 0,
|
2412
|
-
r = this.length;
|
2413
|
-
if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
|
2414
|
-
|
2415
|
-
if ('string' == typeof e && !qe.test(e) && !ge[(de.exec(e) || ['', ''])[1].toLowerCase()]) {
|
2416
|
-
e = k.htmlPrefilter(e);
|
2417
|
-
|
2418
|
-
try {
|
2419
|
-
for (; n < r; n++) {
|
2420
|
-
1 === (t = this[n] || {}).nodeType && (k.cleanData(ve(t, !1)), t.innerHTML = e);
|
2421
|
-
}
|
2422
|
-
|
2423
|
-
t = 0;
|
2424
|
-
} catch (e) {}
|
2425
|
-
}
|
2426
|
-
|
2427
|
-
t && this.empty().append(e);
|
2428
|
-
}, null, e, arguments.length);
|
2429
|
-
},
|
2430
|
-
replaceWith: function replaceWith() {
|
2431
|
-
var n = [];
|
2432
|
-
return Ie(this, arguments, function (e) {
|
2433
|
-
var t = this.parentNode;
|
2434
|
-
k.inArray(this, n) < 0 && (k.cleanData(ve(this)), t && t.replaceChild(e, this));
|
2435
|
-
}, n);
|
2436
|
-
}
|
2437
|
-
}), k.each({
|
2438
|
-
appendTo: 'append',
|
2439
|
-
prependTo: 'prepend',
|
2440
|
-
insertBefore: 'before',
|
2441
|
-
insertAfter: 'after',
|
2442
|
-
replaceAll: 'replaceWith'
|
2443
|
-
}, function (e, a) {
|
2444
|
-
k.fn[e] = function (e) {
|
2445
|
-
for (var t, n = [], r = k(e), i = r.length - 1, o = 0; o <= i; o++) {
|
2446
|
-
t = o === i ? this : this.clone(!0), k(r[o])[a](t), u.apply(n, t.get());
|
2447
|
-
}
|
2448
|
-
|
2449
|
-
return this.pushStack(n);
|
2450
|
-
};
|
2451
|
-
});
|
2452
|
-
|
2453
|
-
var $e = new RegExp('^(' + te + ')(?!px)[a-z%]+$', 'i'),
|
2454
|
-
Fe = function Fe(e) {
|
2455
|
-
var t = e.ownerDocument.defaultView;
|
2456
|
-
return t && t.opener || (t = C), t.getComputedStyle(e);
|
2457
|
-
},
|
2458
|
-
Be = new RegExp(re.join('|'), 'i');
|
2459
|
-
|
2460
|
-
function _e(e, t, n) {
|
2461
|
-
var r,
|
2462
|
-
i,
|
2463
|
-
o,
|
2464
|
-
a,
|
2465
|
-
s = e.style;
|
2466
|
-
return (n = n || Fe(e)) && ('' !== (a = n.getPropertyValue(t) || n[t]) || oe(e) || (a = k.style(e, t)), !y.pixelBoxStyles() && $e.test(a) && Be.test(t) && (r = s.width, i = s.minWidth, o = s.maxWidth, s.minWidth = s.maxWidth = s.width = a, a = n.width, s.width = r, s.minWidth = i, s.maxWidth = o)), void 0 !== a ? a + '' : a;
|
2467
|
-
}
|
2468
|
-
|
2469
|
-
function ze(e, t) {
|
2470
|
-
return {
|
2471
|
-
get: function get() {
|
2472
|
-
if (!e()) return (this.get = t).apply(this, arguments);
|
2473
|
-
delete this.get;
|
2474
|
-
}
|
2475
|
-
};
|
2476
|
-
}
|
2477
|
-
|
2478
|
-
!function () {
|
2479
|
-
function e() {
|
2480
|
-
if (u) {
|
2481
|
-
s.style.cssText = 'position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0', u.style.cssText = 'position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%', ie.appendChild(s).appendChild(u);
|
2482
|
-
var e = C.getComputedStyle(u);
|
2483
|
-
n = '1%' !== e.top, a = 12 === t(e.marginLeft), u.style.right = '60%', o = 36 === t(e.right), r = 36 === t(e.width), u.style.position = 'absolute', i = 12 === t(u.offsetWidth / 3), ie.removeChild(s), u = null;
|
2484
|
-
}
|
2485
|
-
}
|
2486
|
-
|
2487
|
-
function t(e) {
|
2488
|
-
return Math.round(parseFloat(e));
|
2489
|
-
}
|
2490
|
-
|
2491
|
-
var n,
|
2492
|
-
r,
|
2493
|
-
i,
|
2494
|
-
o,
|
2495
|
-
a,
|
2496
|
-
s = E.createElement('div'),
|
2497
|
-
u = E.createElement('div');
|
2498
|
-
u.style && (u.style.backgroundClip = 'content-box', u.cloneNode(!0).style.backgroundClip = '', y.clearCloneStyle = 'content-box' === u.style.backgroundClip, k.extend(y, {
|
2499
|
-
boxSizingReliable: function boxSizingReliable() {
|
2500
|
-
return e(), r;
|
2501
|
-
},
|
2502
|
-
pixelBoxStyles: function pixelBoxStyles() {
|
2503
|
-
return e(), o;
|
2504
|
-
},
|
2505
|
-
pixelPosition: function pixelPosition() {
|
2506
|
-
return e(), n;
|
2507
|
-
},
|
2508
|
-
reliableMarginLeft: function reliableMarginLeft() {
|
2509
|
-
return e(), a;
|
2510
|
-
},
|
2511
|
-
scrollboxSize: function scrollboxSize() {
|
2512
|
-
return e(), i;
|
2513
|
-
}
|
2514
|
-
}));
|
2515
|
-
}();
|
2516
|
-
var Ue = ['Webkit', 'Moz', 'ms'],
|
2517
|
-
Xe = E.createElement('div').style,
|
2518
|
-
Ve = {};
|
2519
|
-
|
2520
|
-
function Ge(e) {
|
2521
|
-
var t = k.cssProps[e] || Ve[e];
|
2522
|
-
return t || (e in Xe ? e : Ve[e] = function (e) {
|
2523
|
-
var t = e[0].toUpperCase() + e.slice(1),
|
2524
|
-
n = Ue.length;
|
2525
|
-
|
2526
|
-
while (n--) {
|
2527
|
-
if ((e = Ue[n] + t) in Xe) return e;
|
2528
|
-
}
|
2529
|
-
}(e) || e);
|
2530
|
-
}
|
2531
|
-
|
2532
|
-
var Ye = /^(none|table(?!-c[ea]).+)/,
|
2533
|
-
Qe = /^--/,
|
2534
|
-
Je = {
|
2535
|
-
position: 'absolute',
|
2536
|
-
visibility: 'hidden',
|
2537
|
-
display: 'block'
|
2538
|
-
},
|
2539
|
-
Ke = {
|
2540
|
-
letterSpacing: '0',
|
2541
|
-
fontWeight: '400'
|
2542
|
-
};
|
2543
|
-
|
2544
|
-
function Ze(e, t, n) {
|
2545
|
-
var r = ne.exec(t);
|
2546
|
-
return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || 'px') : t;
|
2547
|
-
}
|
2548
|
-
|
2549
|
-
function et(e, t, n, r, i, o) {
|
2550
|
-
var a = 'width' === t ? 1 : 0,
|
2551
|
-
s = 0,
|
2552
|
-
u = 0;
|
2553
|
-
if (n === (r ? 'border' : 'content')) return 0;
|
2554
|
-
|
2555
|
-
for (; a < 4; a += 2) {
|
2556
|
-
'margin' === n && (u += k.css(e, n + re[a], !0, i)), r ? ('content' === n && (u -= k.css(e, 'padding' + re[a], !0, i)), 'margin' !== n && (u -= k.css(e, 'border' + re[a] + 'Width', !0, i))) : (u += k.css(e, 'padding' + re[a], !0, i), 'padding' !== n ? u += k.css(e, 'border' + re[a] + 'Width', !0, i) : s += k.css(e, 'border' + re[a] + 'Width', !0, i));
|
2557
|
-
}
|
2558
|
-
|
2559
|
-
return !r && 0 <= o && (u += Math.max(0, Math.ceil(e['offset' + t[0].toUpperCase() + t.slice(1)] - o - u - s - 0.5)) || 0), u;
|
2560
|
-
}
|
2561
|
-
|
2562
|
-
function tt(e, t, n) {
|
2563
|
-
var r = Fe(e),
|
2564
|
-
i = (!y.boxSizingReliable() || n) && 'border-box' === k.css(e, 'boxSizing', !1, r),
|
2565
|
-
o = i,
|
2566
|
-
a = _e(e, t, r),
|
2567
|
-
s = 'offset' + t[0].toUpperCase() + t.slice(1);
|
2568
|
-
|
2569
|
-
if ($e.test(a)) {
|
2570
|
-
if (!n) return a;
|
2571
|
-
a = 'auto';
|
2572
|
-
}
|
2573
|
-
|
2574
|
-
return (!y.boxSizingReliable() && i || 'auto' === a || !parseFloat(a) && 'inline' === k.css(e, 'display', !1, r)) && e.getClientRects().length && (i = 'border-box' === k.css(e, 'boxSizing', !1, r), (o = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + et(e, t, n || (i ? 'border' : 'content'), o, r, a) + 'px';
|
2575
|
-
}
|
2576
|
-
|
2577
|
-
function nt(e, t, n, r, i) {
|
2578
|
-
return new nt.prototype.init(e, t, n, r, i);
|
2579
|
-
}
|
2580
|
-
|
2581
|
-
k.extend({
|
2582
|
-
cssHooks: {
|
2583
|
-
opacity: {
|
2584
|
-
get: function get(e, t) {
|
2585
|
-
if (t) {
|
2586
|
-
var n = _e(e, 'opacity');
|
2587
|
-
|
2588
|
-
return '' === n ? '1' : n;
|
2589
|
-
}
|
2590
|
-
}
|
2591
|
-
}
|
2592
|
-
},
|
2593
|
-
cssNumber: {
|
2594
|
-
animationIterationCount: !0,
|
2595
|
-
columnCount: !0,
|
2596
|
-
fillOpacity: !0,
|
2597
|
-
flexGrow: !0,
|
2598
|
-
flexShrink: !0,
|
2599
|
-
fontWeight: !0,
|
2600
|
-
gridArea: !0,
|
2601
|
-
gridColumn: !0,
|
2602
|
-
gridColumnEnd: !0,
|
2603
|
-
gridColumnStart: !0,
|
2604
|
-
gridRow: !0,
|
2605
|
-
gridRowEnd: !0,
|
2606
|
-
gridRowStart: !0,
|
2607
|
-
lineHeight: !0,
|
2608
|
-
opacity: !0,
|
2609
|
-
order: !0,
|
2610
|
-
orphans: !0,
|
2611
|
-
widows: !0,
|
2612
|
-
zIndex: !0,
|
2613
|
-
zoom: !0
|
2614
|
-
},
|
2615
|
-
cssProps: {},
|
2616
|
-
style: function style(e, t, n, r) {
|
2617
|
-
if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
|
2618
|
-
var i,
|
2619
|
-
o,
|
2620
|
-
a,
|
2621
|
-
s = V(t),
|
2622
|
-
u = Qe.test(t),
|
2623
|
-
l = e.style;
|
2624
|
-
if (u || (t = Ge(s)), a = k.cssHooks[t] || k.cssHooks[s], void 0 === n) return a && 'get' in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t];
|
2625
|
-
'string' === (o = _typeof(n)) && (i = ne.exec(n)) && i[1] && (n = le(e, t, i), o = 'number'), null != n && n == n && ('number' !== o || u || (n += i && i[3] || (k.cssNumber[s] ? '' : 'px')), y.clearCloneStyle || '' !== n || 0 !== t.indexOf('background') || (l[t] = 'inherit'), a && 'set' in a && void 0 === (n = a.set(e, n, r)) || (u ? l.setProperty(t, n) : l[t] = n));
|
2626
|
-
}
|
2627
|
-
},
|
2628
|
-
css: function css(e, t, n, r) {
|
2629
|
-
var i,
|
2630
|
-
o,
|
2631
|
-
a,
|
2632
|
-
s = V(t);
|
2633
|
-
return Qe.test(t) || (t = Ge(s)), (a = k.cssHooks[t] || k.cssHooks[s]) && 'get' in a && (i = a.get(e, !0, n)), void 0 === i && (i = _e(e, t, r)), 'normal' === i && t in Ke && (i = Ke[t]), '' === n || n ? (o = parseFloat(i), !0 === n || isFinite(o) ? o || 0 : i) : i;
|
2634
|
-
}
|
2635
|
-
}), k.each(['height', 'width'], function (e, u) {
|
2636
|
-
k.cssHooks[u] = {
|
2637
|
-
get: function get(e, t, n) {
|
2638
|
-
if (t) return !Ye.test(k.css(e, 'display')) || e.getClientRects().length && e.getBoundingClientRect().width ? tt(e, u, n) : ue(e, Je, function () {
|
2639
|
-
return tt(e, u, n);
|
2640
|
-
});
|
2641
|
-
},
|
2642
|
-
set: function set(e, t, n) {
|
2643
|
-
var r,
|
2644
|
-
i = Fe(e),
|
2645
|
-
o = !y.scrollboxSize() && 'absolute' === i.position,
|
2646
|
-
a = (o || n) && 'border-box' === k.css(e, 'boxSizing', !1, i),
|
2647
|
-
s = n ? et(e, u, n, a, i) : 0;
|
2648
|
-
return a && o && (s -= Math.ceil(e['offset' + u[0].toUpperCase() + u.slice(1)] - parseFloat(i[u]) - et(e, u, 'border', !1, i) - 0.5)), s && (r = ne.exec(t)) && 'px' !== (r[3] || 'px') && (e.style[u] = t, t = k.css(e, u)), Ze(0, t, s);
|
2649
|
-
}
|
2650
|
-
};
|
2651
|
-
}), k.cssHooks.marginLeft = ze(y.reliableMarginLeft, function (e, t) {
|
2652
|
-
if (t) return (parseFloat(_e(e, 'marginLeft')) || e.getBoundingClientRect().left - ue(e, {
|
2653
|
-
marginLeft: 0
|
2654
|
-
}, function () {
|
2655
|
-
return e.getBoundingClientRect().left;
|
2656
|
-
})) + 'px';
|
2657
|
-
}), k.each({
|
2658
|
-
margin: '',
|
2659
|
-
padding: '',
|
2660
|
-
border: 'Width'
|
2661
|
-
}, function (i, o) {
|
2662
|
-
k.cssHooks[i + o] = {
|
2663
|
-
expand: function expand(e) {
|
2664
|
-
for (var t = 0, n = {}, r = 'string' == typeof e ? e.split(' ') : [e]; t < 4; t++) {
|
2665
|
-
n[i + re[t] + o] = r[t] || r[t - 2] || r[0];
|
2666
|
-
}
|
2667
|
-
|
2668
|
-
return n;
|
2669
|
-
}
|
2670
|
-
}, 'margin' !== i && (k.cssHooks[i + o].set = Ze);
|
2671
|
-
}), k.fn.extend({
|
2672
|
-
css: function css(e, t) {
|
2673
|
-
return _(this, function (e, t, n) {
|
2674
|
-
var r,
|
2675
|
-
i,
|
2676
|
-
o = {},
|
2677
|
-
a = 0;
|
2678
|
-
|
2679
|
-
if (Array.isArray(t)) {
|
2680
|
-
for (r = Fe(e), i = t.length; a < i; a++) {
|
2681
|
-
o[t[a]] = k.css(e, t[a], !1, r);
|
2682
|
-
}
|
2683
|
-
|
2684
|
-
return o;
|
2685
|
-
}
|
2686
|
-
|
2687
|
-
return void 0 !== n ? k.style(e, t, n) : k.css(e, t);
|
2688
|
-
}, e, t, 1 < arguments.length);
|
2689
|
-
}
|
2690
|
-
}), ((k.Tween = nt).prototype = {
|
2691
|
-
constructor: nt,
|
2692
|
-
init: function init(e, t, n, r, i, o) {
|
2693
|
-
this.elem = e, this.prop = n, this.easing = i || k.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = o || (k.cssNumber[n] ? '' : 'px');
|
2694
|
-
},
|
2695
|
-
cur: function cur() {
|
2696
|
-
var e = nt.propHooks[this.prop];
|
2697
|
-
return e && e.get ? e.get(this) : nt.propHooks._default.get(this);
|
2698
|
-
},
|
2699
|
-
run: function run(e) {
|
2700
|
-
var t,
|
2701
|
-
n = nt.propHooks[this.prop];
|
2702
|
-
return this.options.duration ? this.pos = t = k.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : nt.propHooks._default.set(this), this;
|
2703
|
-
}
|
2704
|
-
}).init.prototype = nt.prototype, (nt.propHooks = {
|
2705
|
-
_default: {
|
2706
|
-
get: function get(e) {
|
2707
|
-
var t;
|
2708
|
-
return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = k.css(e.elem, e.prop, '')) && 'auto' !== t ? t : 0;
|
2709
|
-
},
|
2710
|
-
set: function set(e) {
|
2711
|
-
k.fx.step[e.prop] ? k.fx.step[e.prop](e) : 1 !== e.elem.nodeType || !k.cssHooks[e.prop] && null == e.elem.style[Ge(e.prop)] ? e.elem[e.prop] = e.now : k.style(e.elem, e.prop, e.now + e.unit);
|
2712
|
-
}
|
2713
|
-
}
|
2714
|
-
}).scrollTop = nt.propHooks.scrollLeft = {
|
2715
|
-
set: function set(e) {
|
2716
|
-
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
|
2717
|
-
}
|
2718
|
-
}, k.easing = {
|
2719
|
-
linear: function linear(e) {
|
2720
|
-
return e;
|
2721
|
-
},
|
2722
|
-
swing: function swing(e) {
|
2723
|
-
return 0.5 - Math.cos(e * Math.PI) / 2;
|
2724
|
-
},
|
2725
|
-
_default: 'swing'
|
2726
|
-
}, k.fx = nt.prototype.init, k.fx.step = {};
|
2727
|
-
var rt,
|
2728
|
-
it,
|
2729
|
-
ot,
|
2730
|
-
at,
|
2731
|
-
st = /^(?:toggle|show|hide)$/,
|
2732
|
-
ut = /queueHooks$/;
|
2733
|
-
|
2734
|
-
function lt() {
|
2735
|
-
it && (!1 === E.hidden && C.requestAnimationFrame ? C.requestAnimationFrame(lt) : C.setTimeout(lt, k.fx.interval), k.fx.tick());
|
2736
|
-
}
|
2737
|
-
|
2738
|
-
function ct() {
|
2739
|
-
return C.setTimeout(function () {
|
2740
|
-
rt = void 0;
|
2741
|
-
}), rt = Date.now();
|
2742
|
-
}
|
2743
|
-
|
2744
|
-
function ft(e, t) {
|
2745
|
-
var n,
|
2746
|
-
r = 0,
|
2747
|
-
i = {
|
2748
|
-
height: e
|
2749
|
-
};
|
2750
|
-
|
2751
|
-
for (t = t ? 1 : 0; r < 4; r += 2 - t) {
|
2752
|
-
i['margin' + (n = re[r])] = i['padding' + n] = e;
|
2753
|
-
}
|
2754
|
-
|
2755
|
-
return t && (i.opacity = i.width = e), i;
|
2756
|
-
}
|
2757
|
-
|
2758
|
-
function pt(e, t, n) {
|
2759
|
-
for (var r, i = (dt.tweeners[t] || []).concat(dt.tweeners['*']), o = 0, a = i.length; o < a; o++) {
|
2760
|
-
if (r = i[o].call(n, t, e)) return r;
|
2761
|
-
}
|
2762
|
-
}
|
2763
|
-
|
2764
|
-
function dt(o, e, t) {
|
2765
|
-
var n,
|
2766
|
-
a,
|
2767
|
-
r = 0,
|
2768
|
-
i = dt.prefilters.length,
|
2769
|
-
s = k.Deferred().always(function () {
|
2770
|
-
delete u.elem;
|
2771
|
-
}),
|
2772
|
-
u = function u() {
|
2773
|
-
if (a) return !1;
|
2774
|
-
|
2775
|
-
for (var e = rt || ct(), t = Math.max(0, l.startTime + l.duration - e), n = 1 - (t / l.duration || 0), r = 0, i = l.tweens.length; r < i; r++) {
|
2776
|
-
l.tweens[r].run(n);
|
2777
|
-
}
|
2778
|
-
|
2779
|
-
return s.notifyWith(o, [l, n, t]), n < 1 && i ? t : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1);
|
2780
|
-
},
|
2781
|
-
l = s.promise({
|
2782
|
-
elem: o,
|
2783
|
-
props: k.extend({}, e),
|
2784
|
-
opts: k.extend(!0, {
|
2785
|
-
specialEasing: {},
|
2786
|
-
easing: k.easing._default
|
2787
|
-
}, t),
|
2788
|
-
originalProperties: e,
|
2789
|
-
originalOptions: t,
|
2790
|
-
startTime: rt || ct(),
|
2791
|
-
duration: t.duration,
|
2792
|
-
tweens: [],
|
2793
|
-
createTween: function createTween(e, t) {
|
2794
|
-
var n = k.Tween(o, l.opts, e, t, l.opts.specialEasing[e] || l.opts.easing);
|
2795
|
-
return l.tweens.push(n), n;
|
2796
|
-
},
|
2797
|
-
stop: function stop(e) {
|
2798
|
-
var t = 0,
|
2799
|
-
n = e ? l.tweens.length : 0;
|
2800
|
-
if (a) return this;
|
2801
|
-
|
2802
|
-
for (a = !0; t < n; t++) {
|
2803
|
-
l.tweens[t].run(1);
|
2804
|
-
}
|
2805
|
-
|
2806
|
-
return e ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e])) : s.rejectWith(o, [l, e]), this;
|
2807
|
-
}
|
2808
|
-
}),
|
2809
|
-
c = l.props;
|
2810
|
-
|
2811
|
-
for (!function (e, t) {
|
2812
|
-
var n, r, i, o, a;
|
2813
|
-
|
2814
|
-
for (n in e) {
|
2815
|
-
if (i = t[r = V(n)], o = e[n], Array.isArray(o) && (i = o[1], o = e[n] = o[0]), n !== r && (e[r] = o, delete e[n]), (a = k.cssHooks[r]) && ('expand' in a)) for (n in o = a.expand(o), delete e[r], o) {
|
2816
|
-
(n in e) || (e[n] = o[n], t[n] = i);
|
2817
|
-
} else t[r] = i;
|
2818
|
-
}
|
2819
|
-
}(c, l.opts.specialEasing); r < i; r++) {
|
2820
|
-
if (n = dt.prefilters[r].call(l, o, c, l.opts)) return m(n.stop) && (k._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)), n;
|
2821
|
-
}
|
2822
|
-
|
2823
|
-
return k.map(c, pt, l), m(l.opts.start) && l.opts.start.call(o, l), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always), k.fx.timer(k.extend(u, {
|
2824
|
-
elem: o,
|
2825
|
-
anim: l,
|
2826
|
-
queue: l.opts.queue
|
2827
|
-
})), l;
|
2828
|
-
}
|
2829
|
-
|
2830
|
-
k.Animation = k.extend(dt, {
|
2831
|
-
tweeners: {
|
2832
|
-
'*': [function (e, t) {
|
2833
|
-
var n = this.createTween(e, t);
|
2834
|
-
return le(n.elem, e, ne.exec(t), n), n;
|
2835
|
-
}]
|
2836
|
-
},
|
2837
|
-
tweener: function tweener(e, t) {
|
2838
|
-
m(e) ? (t = e, e = ['*']) : e = e.match(R);
|
2839
|
-
|
2840
|
-
for (var n, r = 0, i = e.length; r < i; r++) {
|
2841
|
-
n = e[r], dt.tweeners[n] = dt.tweeners[n] || [], dt.tweeners[n].unshift(t);
|
2842
|
-
}
|
2843
|
-
},
|
2844
|
-
prefilters: [function (e, t, n) {
|
2845
|
-
var r,
|
2846
|
-
i,
|
2847
|
-
o,
|
2848
|
-
a,
|
2849
|
-
s,
|
2850
|
-
u,
|
2851
|
-
l,
|
2852
|
-
c,
|
2853
|
-
f = 'width' in t || 'height' in t,
|
2854
|
-
p = this,
|
2855
|
-
d = {},
|
2856
|
-
h = e.style,
|
2857
|
-
g = e.nodeType && se(e),
|
2858
|
-
v = Q.get(e, 'fxshow');
|
2859
|
-
|
2860
|
-
for (r in n.queue || (null == (a = k._queueHooks(e, 'fx')).unqueued && (a.unqueued = 0, s = a.empty.fire, a.empty.fire = function () {
|
2861
|
-
a.unqueued || s();
|
2862
|
-
}), a.unqueued++, p.always(function () {
|
2863
|
-
p.always(function () {
|
2864
|
-
a.unqueued--, k.queue(e, 'fx').length || a.empty.fire();
|
2865
|
-
});
|
2866
|
-
})), t) {
|
2867
|
-
if (i = t[r], st.test(i)) {
|
2868
|
-
if (delete t[r], o = o || 'toggle' === i, i === (g ? 'hide' : 'show')) {
|
2869
|
-
if ('show' !== i || !v || void 0 === v[r]) continue;
|
2870
|
-
g = !0;
|
2871
|
-
}
|
2872
|
-
|
2873
|
-
d[r] = v && v[r] || k.style(e, r);
|
2874
|
-
}
|
2875
|
-
}
|
2876
|
-
|
2877
|
-
if ((u = !k.isEmptyObject(t)) || !k.isEmptyObject(d)) for (r in f && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], null == (l = v && v.display) && (l = Q.get(e, 'display')), 'none' === (c = k.css(e, 'display')) && (l ? c = l : (fe([e], !0), l = e.style.display || l, c = k.css(e, 'display'), fe([e]))), ('inline' === c || 'inline-block' === c && null != l) && 'none' === k.css(e, 'float') && (u || (p.done(function () {
|
2878
|
-
h.display = l;
|
2879
|
-
}), null == l && (c = h.display, l = 'none' === c ? '' : c)), h.display = 'inline-block')), n.overflow && (h.overflow = 'hidden', p.always(function () {
|
2880
|
-
h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2];
|
2881
|
-
})), u = !1, d) {
|
2882
|
-
u || (v ? 'hidden' in v && (g = v.hidden) : v = Q.access(e, 'fxshow', {
|
2883
|
-
display: l
|
2884
|
-
}), o && (v.hidden = !g), g && fe([e], !0), p.done(function () {
|
2885
|
-
for (r in g || fe([e]), Q.remove(e, 'fxshow'), d) {
|
2886
|
-
k.style(e, r, d[r]);
|
2887
|
-
}
|
2888
|
-
})), u = pt(g ? v[r] : 0, r, p), r in v || (v[r] = u.start, g && (u.end = u.start, u.start = 0));
|
2889
|
-
}
|
2890
|
-
}],
|
2891
|
-
prefilter: function prefilter(e, t) {
|
2892
|
-
t ? dt.prefilters.unshift(e) : dt.prefilters.push(e);
|
2893
|
-
}
|
2894
|
-
}), k.speed = function (e, t, n) {
|
2895
|
-
var r = e && 'object' == _typeof(e) ? k.extend({}, e) : {
|
2896
|
-
complete: n || !n && t || m(e) && e,
|
2897
|
-
duration: e,
|
2898
|
-
easing: n && t || t && !m(t) && t
|
2899
|
-
};
|
2900
|
-
return k.fx.off ? r.duration = 0 : 'number' != typeof r.duration && (r.duration in k.fx.speeds ? r.duration = k.fx.speeds[r.duration] : r.duration = k.fx.speeds._default), null != r.queue && !0 !== r.queue || (r.queue = 'fx'), r.old = r.complete, r.complete = function () {
|
2901
|
-
m(r.old) && r.old.call(this), r.queue && k.dequeue(this, r.queue);
|
2902
|
-
}, r;
|
2903
|
-
}, k.fn.extend({
|
2904
|
-
fadeTo: function fadeTo(e, t, n, r) {
|
2905
|
-
return this.filter(se).css('opacity', 0).show().end().animate({
|
2906
|
-
opacity: t
|
2907
|
-
}, e, n, r);
|
2908
|
-
},
|
2909
|
-
animate: function animate(t, e, n, r) {
|
2910
|
-
var i = k.isEmptyObject(t),
|
2911
|
-
o = k.speed(e, n, r),
|
2912
|
-
a = function a() {
|
2913
|
-
var e = dt(this, k.extend({}, t), o);
|
2914
|
-
(i || Q.get(this, 'finish')) && e.stop(!0);
|
2915
|
-
};
|
2916
|
-
|
2917
|
-
return a.finish = a, i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a);
|
2918
|
-
},
|
2919
|
-
stop: function stop(i, e, o) {
|
2920
|
-
var a = function a(e) {
|
2921
|
-
var t = e.stop;
|
2922
|
-
delete e.stop, t(o);
|
2923
|
-
};
|
2924
|
-
|
2925
|
-
return 'string' != typeof i && (o = e, e = i, i = void 0), e && !1 !== i && this.queue(i || 'fx', []), this.each(function () {
|
2926
|
-
var e = !0,
|
2927
|
-
t = null != i && i + 'queueHooks',
|
2928
|
-
n = k.timers,
|
2929
|
-
r = Q.get(this);
|
2930
|
-
if (t) r[t] && r[t].stop && a(r[t]);else for (t in r) {
|
2931
|
-
r[t] && r[t].stop && ut.test(t) && a(r[t]);
|
2932
|
-
}
|
2933
|
-
|
2934
|
-
for (t = n.length; t--;) {
|
2935
|
-
n[t].elem !== this || null != i && n[t].queue !== i || (n[t].anim.stop(o), e = !1, n.splice(t, 1));
|
2936
|
-
}
|
2937
|
-
|
2938
|
-
!e && o || k.dequeue(this, i);
|
2939
|
-
});
|
2940
|
-
},
|
2941
|
-
finish: function finish(a) {
|
2942
|
-
return !1 !== a && (a = a || 'fx'), this.each(function () {
|
2943
|
-
var e,
|
2944
|
-
t = Q.get(this),
|
2945
|
-
n = t[a + 'queue'],
|
2946
|
-
r = t[a + 'queueHooks'],
|
2947
|
-
i = k.timers,
|
2948
|
-
o = n ? n.length : 0;
|
2949
|
-
|
2950
|
-
for (t.finish = !0, k.queue(this, a, []), r && r.stop && r.stop.call(this, !0), e = i.length; e--;) {
|
2951
|
-
i[e].elem === this && i[e].queue === a && (i[e].anim.stop(!0), i.splice(e, 1));
|
2952
|
-
}
|
2953
|
-
|
2954
|
-
for (e = 0; e < o; e++) {
|
2955
|
-
n[e] && n[e].finish && n[e].finish.call(this);
|
2956
|
-
}
|
2957
|
-
|
2958
|
-
delete t.finish;
|
2959
|
-
});
|
2960
|
-
}
|
2961
|
-
}), k.each(['toggle', 'show', 'hide'], function (e, r) {
|
2962
|
-
var i = k.fn[r];
|
2963
|
-
|
2964
|
-
k.fn[r] = function (e, t, n) {
|
2965
|
-
return null == e || 'boolean' == typeof e ? i.apply(this, arguments) : this.animate(ft(r, !0), e, t, n);
|
2966
|
-
};
|
2967
|
-
}), k.each({
|
2968
|
-
slideDown: ft('show'),
|
2969
|
-
slideUp: ft('hide'),
|
2970
|
-
slideToggle: ft('toggle'),
|
2971
|
-
fadeIn: {
|
2972
|
-
opacity: 'show'
|
2973
|
-
},
|
2974
|
-
fadeOut: {
|
2975
|
-
opacity: 'hide'
|
2976
|
-
},
|
2977
|
-
fadeToggle: {
|
2978
|
-
opacity: 'toggle'
|
2979
|
-
}
|
2980
|
-
}, function (e, r) {
|
2981
|
-
k.fn[e] = function (e, t, n) {
|
2982
|
-
return this.animate(r, e, t, n);
|
2983
|
-
};
|
2984
|
-
}), k.timers = [], k.fx.tick = function () {
|
2985
|
-
var e,
|
2986
|
-
t = 0,
|
2987
|
-
n = k.timers;
|
2988
|
-
|
2989
|
-
for (rt = Date.now(); t < n.length; t++) {
|
2990
|
-
(e = n[t])() || n[t] !== e || n.splice(t--, 1);
|
2991
|
-
}
|
2992
|
-
|
2993
|
-
n.length || k.fx.stop(), rt = void 0;
|
2994
|
-
}, k.fx.timer = function (e) {
|
2995
|
-
k.timers.push(e), k.fx.start();
|
2996
|
-
}, k.fx.interval = 13, k.fx.start = function () {
|
2997
|
-
it || (it = !0, lt());
|
2998
|
-
}, k.fx.stop = function () {
|
2999
|
-
it = null;
|
3000
|
-
}, k.fx.speeds = {
|
3001
|
-
slow: 600,
|
3002
|
-
fast: 200,
|
3003
|
-
_default: 400
|
3004
|
-
}, k.fn.delay = function (r, e) {
|
3005
|
-
return r = k.fx && k.fx.speeds[r] || r, e = e || 'fx', this.queue(e, function (e, t) {
|
3006
|
-
var n = C.setTimeout(e, r);
|
3007
|
-
|
3008
|
-
t.stop = function () {
|
3009
|
-
C.clearTimeout(n);
|
3010
|
-
};
|
3011
|
-
});
|
3012
|
-
}, ot = E.createElement('input'), at = E.createElement('select').appendChild(E.createElement('option')), ot.type = 'checkbox', y.checkOn = '' !== ot.value, y.optSelected = at.selected, (ot = E.createElement('input')).value = 't', ot.type = 'radio', y.radioValue = 't' === ot.value;
|
3013
|
-
var ht,
|
3014
|
-
gt = k.expr.attrHandle;
|
3015
|
-
k.fn.extend({
|
3016
|
-
attr: function attr(e, t) {
|
3017
|
-
return _(this, k.attr, e, t, 1 < arguments.length);
|
3018
|
-
},
|
3019
|
-
removeAttr: function removeAttr(e) {
|
3020
|
-
return this.each(function () {
|
3021
|
-
k.removeAttr(this, e);
|
3022
|
-
});
|
3023
|
-
}
|
3024
|
-
}), k.extend({
|
3025
|
-
attr: function attr(e, t, n) {
|
3026
|
-
var r,
|
3027
|
-
i,
|
3028
|
-
o = e.nodeType;
|
3029
|
-
if (3 !== o && 8 !== o && 2 !== o) return 'undefined' == typeof e.getAttribute ? k.prop(e, t, n) : (1 === o && k.isXMLDoc(e) || (i = k.attrHooks[t.toLowerCase()] || (k.expr.match.bool.test(t) ? ht : void 0)), void 0 !== n ? null === n ? void k.removeAttr(e, t) : i && 'set' in i && void 0 !== (r = i.set(e, n, t)) ? r : (e.setAttribute(t, n + ''), n) : i && 'get' in i && null !== (r = i.get(e, t)) ? r : null == (r = k.find.attr(e, t)) ? void 0 : r);
|
3030
|
-
},
|
3031
|
-
attrHooks: {
|
3032
|
-
type: {
|
3033
|
-
set: function set(e, t) {
|
3034
|
-
if (!y.radioValue && 'radio' === t && A(e, 'input')) {
|
3035
|
-
var n = e.value;
|
3036
|
-
return e.setAttribute('type', t), n && (e.value = n), t;
|
3037
|
-
}
|
3038
|
-
}
|
3039
|
-
}
|
3040
|
-
},
|
3041
|
-
removeAttr: function removeAttr(e, t) {
|
3042
|
-
var n,
|
3043
|
-
r = 0,
|
3044
|
-
i = t && t.match(R);
|
3045
|
-
if (i && 1 === e.nodeType) while (n = i[r++]) {
|
3046
|
-
e.removeAttribute(n);
|
3047
|
-
}
|
3048
|
-
}
|
3049
|
-
}), ht = {
|
3050
|
-
set: function set(e, t, n) {
|
3051
|
-
return !1 === t ? k.removeAttr(e, n) : e.setAttribute(n, n), n;
|
3052
|
-
}
|
3053
|
-
}, k.each(k.expr.match.bool.source.match(/\w+/g), function (e, t) {
|
3054
|
-
var a = gt[t] || k.find.attr;
|
3055
|
-
|
3056
|
-
gt[t] = function (e, t, n) {
|
3057
|
-
var r,
|
3058
|
-
i,
|
3059
|
-
o = t.toLowerCase();
|
3060
|
-
return n || (i = gt[o], gt[o] = r, r = null != a(e, t, n) ? o : null, gt[o] = i), r;
|
3061
|
-
};
|
3062
|
-
});
|
3063
|
-
var vt = /^(?:input|select|textarea|button)$/i,
|
3064
|
-
yt = /^(?:a|area)$/i;
|
3065
|
-
|
3066
|
-
function mt(e) {
|
3067
|
-
return (e.match(R) || []).join(' ');
|
3068
|
-
}
|
3069
|
-
|
3070
|
-
function xt(e) {
|
3071
|
-
return e.getAttribute && e.getAttribute('class') || '';
|
3072
|
-
}
|
3073
|
-
|
3074
|
-
function bt(e) {
|
3075
|
-
return Array.isArray(e) ? e : 'string' == typeof e && e.match(R) || [];
|
3076
|
-
}
|
3077
|
-
|
3078
|
-
k.fn.extend({
|
3079
|
-
prop: function prop(e, t) {
|
3080
|
-
return _(this, k.prop, e, t, 1 < arguments.length);
|
3081
|
-
},
|
3082
|
-
removeProp: function removeProp(e) {
|
3083
|
-
return this.each(function () {
|
3084
|
-
delete this[k.propFix[e] || e];
|
3085
|
-
});
|
3086
|
-
}
|
3087
|
-
}), k.extend({
|
3088
|
-
prop: function prop(e, t, n) {
|
3089
|
-
var r,
|
3090
|
-
i,
|
3091
|
-
o = e.nodeType;
|
3092
|
-
if (3 !== o && 8 !== o && 2 !== o) return 1 === o && k.isXMLDoc(e) || (t = k.propFix[t] || t, i = k.propHooks[t]), void 0 !== n ? i && 'set' in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && 'get' in i && null !== (r = i.get(e, t)) ? r : e[t];
|
3093
|
-
},
|
3094
|
-
propHooks: {
|
3095
|
-
tabIndex: {
|
3096
|
-
get: function get(e) {
|
3097
|
-
var t = k.find.attr(e, 'tabindex');
|
3098
|
-
return t ? parseInt(t, 10) : vt.test(e.nodeName) || yt.test(e.nodeName) && e.href ? 0 : -1;
|
3099
|
-
}
|
3100
|
-
}
|
3101
|
-
},
|
3102
|
-
propFix: {
|
3103
|
-
for: 'htmlFor',
|
3104
|
-
class: 'className'
|
3105
|
-
}
|
3106
|
-
}), y.optSelected || (k.propHooks.selected = {
|
3107
|
-
get: function get(e) {
|
3108
|
-
var t = e.parentNode;
|
3109
|
-
return t && t.parentNode && t.parentNode.selectedIndex, null;
|
3110
|
-
},
|
3111
|
-
set: function set(e) {
|
3112
|
-
var t = e.parentNode;
|
3113
|
-
t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex);
|
3114
|
-
}
|
3115
|
-
}), k.each(['tabIndex', 'readOnly', 'maxLength', 'cellSpacing', 'cellPadding', 'rowSpan', 'colSpan', 'useMap', 'frameBorder', 'contentEditable'], function () {
|
3116
|
-
k.propFix[this.toLowerCase()] = this;
|
3117
|
-
}), k.fn.extend({
|
3118
|
-
addClass: function addClass(t) {
|
3119
|
-
var e,
|
3120
|
-
n,
|
3121
|
-
r,
|
3122
|
-
i,
|
3123
|
-
o,
|
3124
|
-
a,
|
3125
|
-
s,
|
3126
|
-
u = 0;
|
3127
|
-
if (m(t)) return this.each(function (e) {
|
3128
|
-
k(this).addClass(t.call(this, e, xt(this)));
|
3129
|
-
});
|
3130
|
-
if ((e = bt(t)).length) while (n = this[u++]) {
|
3131
|
-
if (i = xt(n), r = 1 === n.nodeType && ' ' + mt(i) + ' ') {
|
3132
|
-
a = 0;
|
3133
|
-
|
3134
|
-
while (o = e[a++]) {
|
3135
|
-
r.indexOf(' ' + o + ' ') < 0 && (r += o + ' ');
|
3136
|
-
}
|
3137
|
-
|
3138
|
-
i !== (s = mt(r)) && n.setAttribute('class', s);
|
3139
|
-
}
|
3140
|
-
}
|
3141
|
-
return this;
|
3142
|
-
},
|
3143
|
-
removeClass: function removeClass(t) {
|
3144
|
-
var e,
|
3145
|
-
n,
|
3146
|
-
r,
|
3147
|
-
i,
|
3148
|
-
o,
|
3149
|
-
a,
|
3150
|
-
s,
|
3151
|
-
u = 0;
|
3152
|
-
if (m(t)) return this.each(function (e) {
|
3153
|
-
k(this).removeClass(t.call(this, e, xt(this)));
|
3154
|
-
});
|
3155
|
-
if (!arguments.length) return this.attr('class', '');
|
3156
|
-
if ((e = bt(t)).length) while (n = this[u++]) {
|
3157
|
-
if (i = xt(n), r = 1 === n.nodeType && ' ' + mt(i) + ' ') {
|
3158
|
-
a = 0;
|
3159
|
-
|
3160
|
-
while (o = e[a++]) {
|
3161
|
-
while (-1 < r.indexOf(' ' + o + ' ')) {
|
3162
|
-
r = r.replace(' ' + o + ' ', ' ');
|
3163
|
-
}
|
3164
|
-
}
|
3165
|
-
|
3166
|
-
i !== (s = mt(r)) && n.setAttribute('class', s);
|
3167
|
-
}
|
3168
|
-
}
|
3169
|
-
return this;
|
3170
|
-
},
|
3171
|
-
toggleClass: function toggleClass(i, t) {
|
3172
|
-
var o = _typeof(i),
|
3173
|
-
a = 'string' === o || Array.isArray(i);
|
3174
|
-
|
3175
|
-
return 'boolean' == typeof t && a ? t ? this.addClass(i) : this.removeClass(i) : m(i) ? this.each(function (e) {
|
3176
|
-
k(this).toggleClass(i.call(this, e, xt(this), t), t);
|
3177
|
-
}) : this.each(function () {
|
3178
|
-
var e, t, n, r;
|
3179
|
-
|
3180
|
-
if (a) {
|
3181
|
-
t = 0, n = k(this), r = bt(i);
|
3182
|
-
|
3183
|
-
while (e = r[t++]) {
|
3184
|
-
n.hasClass(e) ? n.removeClass(e) : n.addClass(e);
|
3185
|
-
}
|
3186
|
-
} else void 0 !== i && 'boolean' !== o || ((e = xt(this)) && Q.set(this, '__className__', e), this.setAttribute && this.setAttribute('class', e || !1 === i ? '' : Q.get(this, '__className__') || ''));
|
3187
|
-
});
|
3188
|
-
},
|
3189
|
-
hasClass: function hasClass(e) {
|
3190
|
-
var t,
|
3191
|
-
n,
|
3192
|
-
r = 0;
|
3193
|
-
t = ' ' + e + ' ';
|
3194
|
-
|
3195
|
-
while (n = this[r++]) {
|
3196
|
-
if (1 === n.nodeType && -1 < (' ' + mt(xt(n)) + ' ').indexOf(t)) return !0;
|
3197
|
-
}
|
3198
|
-
|
3199
|
-
return !1;
|
3200
|
-
}
|
3201
|
-
});
|
3202
|
-
var wt = /\r/g;
|
3203
|
-
k.fn.extend({
|
3204
|
-
val: function val(n) {
|
3205
|
-
var r,
|
3206
|
-
e,
|
3207
|
-
i,
|
3208
|
-
t = this[0];
|
3209
|
-
return arguments.length ? (i = m(n), this.each(function (e) {
|
3210
|
-
var t;
|
3211
|
-
1 === this.nodeType && (null == (t = i ? n.call(this, e, k(this).val()) : n) ? t = '' : 'number' == typeof t ? t += '' : Array.isArray(t) && (t = k.map(t, function (e) {
|
3212
|
-
return null == e ? '' : e + '';
|
3213
|
-
})), (r = k.valHooks[this.type] || k.valHooks[this.nodeName.toLowerCase()]) && 'set' in r && void 0 !== r.set(this, t, 'value') || (this.value = t));
|
3214
|
-
})) : t ? (r = k.valHooks[t.type] || k.valHooks[t.nodeName.toLowerCase()]) && 'get' in r && void 0 !== (e = r.get(t, 'value')) ? e : 'string' == typeof (e = t.value) ? e.replace(wt, '') : null == e ? '' : e : void 0;
|
3215
|
-
}
|
3216
|
-
}), k.extend({
|
3217
|
-
valHooks: {
|
3218
|
-
option: {
|
3219
|
-
get: function get(e) {
|
3220
|
-
var t = k.find.attr(e, 'value');
|
3221
|
-
return null != t ? t : mt(k.text(e));
|
3222
|
-
}
|
3223
|
-
},
|
3224
|
-
select: {
|
3225
|
-
get: function get(e) {
|
3226
|
-
var t,
|
3227
|
-
n,
|
3228
|
-
r,
|
3229
|
-
i = e.options,
|
3230
|
-
o = e.selectedIndex,
|
3231
|
-
a = 'select-one' === e.type,
|
3232
|
-
s = a ? null : [],
|
3233
|
-
u = a ? o + 1 : i.length;
|
3234
|
-
|
3235
|
-
for (r = o < 0 ? u : a ? o : 0; r < u; r++) {
|
3236
|
-
if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !A(n.parentNode, 'optgroup'))) {
|
3237
|
-
if (t = k(n).val(), a) return t;
|
3238
|
-
s.push(t);
|
3239
|
-
}
|
3240
|
-
}
|
3241
|
-
|
3242
|
-
return s;
|
3243
|
-
},
|
3244
|
-
set: function set(e, t) {
|
3245
|
-
var n,
|
3246
|
-
r,
|
3247
|
-
i = e.options,
|
3248
|
-
o = k.makeArray(t),
|
3249
|
-
a = i.length;
|
3250
|
-
|
3251
|
-
while (a--) {
|
3252
|
-
((r = i[a]).selected = -1 < k.inArray(k.valHooks.option.get(r), o)) && (n = !0);
|
3253
|
-
}
|
3254
|
-
|
3255
|
-
return n || (e.selectedIndex = -1), o;
|
3256
|
-
}
|
3257
|
-
}
|
3258
|
-
}
|
3259
|
-
}), k.each(['radio', 'checkbox'], function () {
|
3260
|
-
k.valHooks[this] = {
|
3261
|
-
set: function set(e, t) {
|
3262
|
-
if (Array.isArray(t)) return e.checked = -1 < k.inArray(k(e).val(), t);
|
3263
|
-
}
|
3264
|
-
}, y.checkOn || (k.valHooks[this].get = function (e) {
|
3265
|
-
return null === e.getAttribute('value') ? 'on' : e.value;
|
3266
|
-
});
|
3267
|
-
}), y.focusin = 'onfocusin' in C;
|
3268
|
-
|
3269
|
-
var Tt = /^(?:focusinfocus|focusoutblur)$/,
|
3270
|
-
Ct = function Ct(e) {
|
3271
|
-
e.stopPropagation();
|
3272
|
-
};
|
3273
|
-
|
3274
|
-
k.extend(k.event, {
|
3275
|
-
trigger: function trigger(e, t, n, r) {
|
3276
|
-
var i,
|
3277
|
-
o,
|
3278
|
-
a,
|
3279
|
-
s,
|
3280
|
-
u,
|
3281
|
-
l,
|
3282
|
-
c,
|
3283
|
-
f,
|
3284
|
-
p = [n || E],
|
3285
|
-
d = v.call(e, 'type') ? e.type : e,
|
3286
|
-
h = v.call(e, 'namespace') ? e.namespace.split('.') : [];
|
3287
|
-
|
3288
|
-
if (o = f = a = n = n || E, 3 !== n.nodeType && 8 !== n.nodeType && !Tt.test(d + k.event.triggered) && (-1 < d.indexOf('.') && (d = (h = d.split('.')).shift(), h.sort()), u = d.indexOf(':') < 0 && 'on' + d, (e = e[k.expando] ? e : new k.Event(d, 'object' == _typeof(e) && e)).isTrigger = r ? 2 : 3, e.namespace = h.join('.'), e.rnamespace = e.namespace ? new RegExp('(^|\\.)' + h.join('\\.(?:.*\\.|)') + '(\\.|$)') : null, e.result = void 0, e.target || (e.target = n), t = null == t ? [e] : k.makeArray(t, [e]), c = k.event.special[d] || {}, r || !c.trigger || !1 !== c.trigger.apply(n, t))) {
|
3289
|
-
if (!r && !c.noBubble && !x(n)) {
|
3290
|
-
for (s = c.delegateType || d, Tt.test(s + d) || (o = o.parentNode); o; o = o.parentNode) {
|
3291
|
-
p.push(o), a = o;
|
3292
|
-
}
|
3293
|
-
|
3294
|
-
a === (n.ownerDocument || E) && p.push(a.defaultView || a.parentWindow || C);
|
3295
|
-
}
|
3296
|
-
|
3297
|
-
i = 0;
|
3298
|
-
|
3299
|
-
while ((o = p[i++]) && !e.isPropagationStopped()) {
|
3300
|
-
f = o, e.type = 1 < i ? s : c.bindType || d, (l = (Q.get(o, 'events') || {})[e.type] && Q.get(o, 'handle')) && l.apply(o, t), (l = u && o[u]) && l.apply && G(o) && (e.result = l.apply(o, t), !1 === e.result && e.preventDefault());
|
3301
|
-
}
|
3302
|
-
|
3303
|
-
return e.type = d, r || e.isDefaultPrevented() || c._default && !1 !== c._default.apply(p.pop(), t) || !G(n) || u && m(n[d]) && !x(n) && ((a = n[u]) && (n[u] = null), k.event.triggered = d, e.isPropagationStopped() && f.addEventListener(d, Ct), n[d](), e.isPropagationStopped() && f.removeEventListener(d, Ct), k.event.triggered = void 0, a && (n[u] = a)), e.result;
|
3304
|
-
}
|
3305
|
-
},
|
3306
|
-
simulate: function simulate(e, t, n) {
|
3307
|
-
var r = k.extend(new k.Event(), n, {
|
3308
|
-
type: e,
|
3309
|
-
isSimulated: !0
|
3310
|
-
});
|
3311
|
-
k.event.trigger(r, null, t);
|
3312
|
-
}
|
3313
|
-
}), k.fn.extend({
|
3314
|
-
trigger: function trigger(e, t) {
|
3315
|
-
return this.each(function () {
|
3316
|
-
k.event.trigger(e, t, this);
|
3317
|
-
});
|
3318
|
-
},
|
3319
|
-
triggerHandler: function triggerHandler(e, t) {
|
3320
|
-
var n = this[0];
|
3321
|
-
if (n) return k.event.trigger(e, t, n, !0);
|
3322
|
-
}
|
3323
|
-
}), y.focusin || k.each({
|
3324
|
-
focus: 'focusin',
|
3325
|
-
blur: 'focusout'
|
3326
|
-
}, function (n, r) {
|
3327
|
-
var i = function i(e) {
|
3328
|
-
k.event.simulate(r, e.target, k.event.fix(e));
|
3329
|
-
};
|
3330
|
-
|
3331
|
-
k.event.special[r] = {
|
3332
|
-
setup: function setup() {
|
3333
|
-
var e = this.ownerDocument || this,
|
3334
|
-
t = Q.access(e, r);
|
3335
|
-
t || e.addEventListener(n, i, !0), Q.access(e, r, (t || 0) + 1);
|
3336
|
-
},
|
3337
|
-
teardown: function teardown() {
|
3338
|
-
var e = this.ownerDocument || this,
|
3339
|
-
t = Q.access(e, r) - 1;
|
3340
|
-
t ? Q.access(e, r, t) : (e.removeEventListener(n, i, !0), Q.remove(e, r));
|
3341
|
-
}
|
3342
|
-
};
|
3343
|
-
});
|
3344
|
-
var Et = C.location,
|
3345
|
-
kt = Date.now(),
|
3346
|
-
St = /\?/;
|
3347
|
-
|
3348
|
-
k.parseXML = function (e) {
|
3349
|
-
var t;
|
3350
|
-
if (!e || 'string' != typeof e) return null;
|
3351
|
-
|
3352
|
-
try {
|
3353
|
-
t = new C.DOMParser().parseFromString(e, 'text/xml');
|
3354
|
-
} catch (e) {
|
3355
|
-
t = void 0;
|
3356
|
-
}
|
3357
|
-
|
3358
|
-
return t && !t.getElementsByTagName('parsererror').length || k.error('Invalid XML: ' + e), t;
|
3359
|
-
};
|
3360
|
-
|
3361
|
-
var Nt = /\[\]$/,
|
3362
|
-
At = /\r?\n/g,
|
3363
|
-
Dt = /^(?:submit|button|image|reset|file)$/i,
|
3364
|
-
jt = /^(?:input|select|textarea|keygen)/i;
|
3365
|
-
|
3366
|
-
function qt(n, e, r, i) {
|
3367
|
-
var t;
|
3368
|
-
if (Array.isArray(e)) k.each(e, function (e, t) {
|
3369
|
-
r || Nt.test(n) ? i(n, t) : qt(n + '[' + ('object' == _typeof(t) && null != t ? e : '') + ']', t, r, i);
|
3370
|
-
});else if (r || 'object' !== w(e)) i(n, e);else for (t in e) {
|
3371
|
-
qt(n + '[' + t + ']', e[t], r, i);
|
3372
|
-
}
|
3373
|
-
}
|
3374
|
-
|
3375
|
-
k.param = function (e, t) {
|
3376
|
-
var n,
|
3377
|
-
r = [],
|
3378
|
-
i = function i(e, t) {
|
3379
|
-
var n = m(t) ? t() : t;
|
3380
|
-
r[r.length] = encodeURIComponent(e) + '=' + encodeURIComponent(null == n ? '' : n);
|
3381
|
-
};
|
3382
|
-
|
3383
|
-
if (null == e) return '';
|
3384
|
-
if (Array.isArray(e) || e.jquery && !k.isPlainObject(e)) k.each(e, function () {
|
3385
|
-
i(this.name, this.value);
|
3386
|
-
});else for (n in e) {
|
3387
|
-
qt(n, e[n], t, i);
|
3388
|
-
}
|
3389
|
-
return r.join('&');
|
3390
|
-
}, k.fn.extend({
|
3391
|
-
serialize: function serialize() {
|
3392
|
-
return k.param(this.serializeArray());
|
3393
|
-
},
|
3394
|
-
serializeArray: function serializeArray() {
|
3395
|
-
return this.map(function () {
|
3396
|
-
var e = k.prop(this, 'elements');
|
3397
|
-
return e ? k.makeArray(e) : this;
|
3398
|
-
}).filter(function () {
|
3399
|
-
var e = this.type;
|
3400
|
-
return this.name && !k(this).is(':disabled') && jt.test(this.nodeName) && !Dt.test(e) && (this.checked || !pe.test(e));
|
3401
|
-
}).map(function (e, t) {
|
3402
|
-
var n = k(this).val();
|
3403
|
-
return null == n ? null : Array.isArray(n) ? k.map(n, function (e) {
|
3404
|
-
return {
|
3405
|
-
name: t.name,
|
3406
|
-
value: e.replace(At, '\r\n')
|
3407
|
-
};
|
3408
|
-
}) : {
|
3409
|
-
name: t.name,
|
3410
|
-
value: n.replace(At, '\r\n')
|
3411
|
-
};
|
3412
|
-
}).get();
|
3413
|
-
}
|
3414
|
-
});
|
3415
|
-
var Lt = /%20/g,
|
3416
|
-
Ht = /#.*$/,
|
3417
|
-
Ot = /([?&])_=[^&]*/,
|
3418
|
-
Pt = /^(.*?):[ \t]*([^\r\n]*)$/gm,
|
3419
|
-
Rt = /^(?:GET|HEAD)$/,
|
3420
|
-
Mt = /^\/\//,
|
3421
|
-
It = {},
|
3422
|
-
Wt = {},
|
3423
|
-
$t = '*/'.concat('*'),
|
3424
|
-
Ft = E.createElement('a');
|
3425
|
-
|
3426
|
-
function Bt(o) {
|
3427
|
-
return function (e, t) {
|
3428
|
-
'string' != typeof e && (t = e, e = '*');
|
3429
|
-
var n,
|
3430
|
-
r = 0,
|
3431
|
-
i = e.toLowerCase().match(R) || [];
|
3432
|
-
if (m(t)) while (n = i[r++]) {
|
3433
|
-
'+' === n[0] ? (n = n.slice(1) || '*', (o[n] = o[n] || []).unshift(t)) : (o[n] = o[n] || []).push(t);
|
3434
|
-
}
|
3435
|
-
};
|
3436
|
-
}
|
3437
|
-
|
3438
|
-
function _t(t, i, o, a) {
|
3439
|
-
var s = {},
|
3440
|
-
u = t === Wt;
|
3441
|
-
|
3442
|
-
function l(e) {
|
3443
|
-
var r;
|
3444
|
-
return s[e] = !0, k.each(t[e] || [], function (e, t) {
|
3445
|
-
var n = t(i, o, a);
|
3446
|
-
return 'string' != typeof n || u || s[n] ? u ? !(r = n) : void 0 : (i.dataTypes.unshift(n), l(n), !1);
|
3447
|
-
}), r;
|
3448
|
-
}
|
3449
|
-
|
3450
|
-
return l(i.dataTypes[0]) || !s['*'] && l('*');
|
3451
|
-
}
|
3452
|
-
|
3453
|
-
function zt(e, t) {
|
3454
|
-
var n,
|
3455
|
-
r,
|
3456
|
-
i = k.ajaxSettings.flatOptions || {};
|
3457
|
-
|
3458
|
-
for (n in t) {
|
3459
|
-
void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]);
|
3460
|
-
}
|
3461
|
-
|
3462
|
-
return r && k.extend(!0, e, r), e;
|
3463
|
-
}
|
3464
|
-
|
3465
|
-
Ft.href = Et.href, k.extend({
|
3466
|
-
active: 0,
|
3467
|
-
lastModified: {},
|
3468
|
-
etag: {},
|
3469
|
-
ajaxSettings: {
|
3470
|
-
url: Et.href,
|
3471
|
-
type: 'GET',
|
3472
|
-
isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),
|
3473
|
-
global: !0,
|
3474
|
-
processData: !0,
|
3475
|
-
async: !0,
|
3476
|
-
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
|
3477
|
-
accepts: {
|
3478
|
-
'*': $t,
|
3479
|
-
text: 'text/plain',
|
3480
|
-
html: 'text/html',
|
3481
|
-
xml: 'application/xml, text/xml',
|
3482
|
-
json: 'application/json, text/javascript'
|
3483
|
-
},
|
3484
|
-
contents: {
|
3485
|
-
xml: /\bxml\b/,
|
3486
|
-
html: /\bhtml/,
|
3487
|
-
json: /\bjson\b/
|
3488
|
-
},
|
3489
|
-
responseFields: {
|
3490
|
-
xml: 'responseXML',
|
3491
|
-
text: 'responseText',
|
3492
|
-
json: 'responseJSON'
|
3493
|
-
},
|
3494
|
-
converters: {
|
3495
|
-
'* text': String,
|
3496
|
-
'text html': !0,
|
3497
|
-
'text json': JSON.parse,
|
3498
|
-
'text xml': k.parseXML
|
3499
|
-
},
|
3500
|
-
flatOptions: {
|
3501
|
-
url: !0,
|
3502
|
-
context: !0
|
3503
|
-
}
|
3504
|
-
},
|
3505
|
-
ajaxSetup: function ajaxSetup(e, t) {
|
3506
|
-
return t ? zt(zt(e, k.ajaxSettings), t) : zt(k.ajaxSettings, e);
|
3507
|
-
},
|
3508
|
-
ajaxPrefilter: Bt(It),
|
3509
|
-
ajaxTransport: Bt(Wt),
|
3510
|
-
ajax: function ajax(e, t) {
|
3511
|
-
'object' == _typeof(e) && (t = e, e = void 0), t = t || {};
|
3512
|
-
var c,
|
3513
|
-
f,
|
3514
|
-
p,
|
3515
|
-
n,
|
3516
|
-
d,
|
3517
|
-
r,
|
3518
|
-
h,
|
3519
|
-
g,
|
3520
|
-
i,
|
3521
|
-
o,
|
3522
|
-
v = k.ajaxSetup({}, t),
|
3523
|
-
y = v.context || v,
|
3524
|
-
m = v.context && (y.nodeType || y.jquery) ? k(y) : k.event,
|
3525
|
-
x = k.Deferred(),
|
3526
|
-
b = k.Callbacks('once memory'),
|
3527
|
-
w = v.statusCode || {},
|
3528
|
-
a = {},
|
3529
|
-
s = {},
|
3530
|
-
u = 'canceled',
|
3531
|
-
T = {
|
3532
|
-
readyState: 0,
|
3533
|
-
getResponseHeader: function getResponseHeader(e) {
|
3534
|
-
var t;
|
3535
|
-
|
3536
|
-
if (h) {
|
3537
|
-
if (!n) {
|
3538
|
-
n = {};
|
3539
|
-
|
3540
|
-
while (t = Pt.exec(p)) {
|
3541
|
-
n[t[1].toLowerCase() + ' '] = (n[t[1].toLowerCase() + ' '] || []).concat(t[2]);
|
3542
|
-
}
|
3543
|
-
}
|
3544
|
-
|
3545
|
-
t = n[e.toLowerCase() + ' '];
|
3546
|
-
}
|
3547
|
-
|
3548
|
-
return null == t ? null : t.join(', ');
|
3549
|
-
},
|
3550
|
-
getAllResponseHeaders: function getAllResponseHeaders() {
|
3551
|
-
return h ? p : null;
|
3552
|
-
},
|
3553
|
-
setRequestHeader: function setRequestHeader(e, t) {
|
3554
|
-
return null == h && (e = s[e.toLowerCase()] = s[e.toLowerCase()] || e, a[e] = t), this;
|
3555
|
-
},
|
3556
|
-
overrideMimeType: function overrideMimeType(e) {
|
3557
|
-
return null == h && (v.mimeType = e), this;
|
3558
|
-
},
|
3559
|
-
statusCode: function statusCode(e) {
|
3560
|
-
var t;
|
3561
|
-
if (e) if (h) T.always(e[T.status]);else for (t in e) {
|
3562
|
-
w[t] = [w[t], e[t]];
|
3563
|
-
}
|
3564
|
-
return this;
|
3565
|
-
},
|
3566
|
-
abort: function abort(e) {
|
3567
|
-
var t = e || u;
|
3568
|
-
return c && c.abort(t), l(0, t), this;
|
3569
|
-
}
|
3570
|
-
};
|
3571
|
-
|
3572
|
-
if (x.promise(T), v.url = ((e || v.url || Et.href) + '').replace(Mt, Et.protocol + '//'), v.type = t.method || t.type || v.method || v.type, v.dataTypes = (v.dataType || '*').toLowerCase().match(R) || [''], null == v.crossDomain) {
|
3573
|
-
r = E.createElement('a');
|
3574
|
-
|
3575
|
-
try {
|
3576
|
-
r.href = v.url, r.href = r.href, v.crossDomain = Ft.protocol + '//' + Ft.host != r.protocol + '//' + r.host;
|
3577
|
-
} catch (e) {
|
3578
|
-
v.crossDomain = !0;
|
3579
|
-
}
|
3580
|
-
}
|
3581
|
-
|
3582
|
-
if (v.data && v.processData && 'string' != typeof v.data && (v.data = k.param(v.data, v.traditional)), _t(It, v, t, T), h) return T;
|
3583
|
-
|
3584
|
-
for (i in (g = k.event && v.global) && 0 == k.active++ && k.event.trigger('ajaxStart'), v.type = v.type.toUpperCase(), v.hasContent = !Rt.test(v.type), f = v.url.replace(Ht, ''), v.hasContent ? v.data && v.processData && 0 === (v.contentType || '').indexOf('application/x-www-form-urlencoded') && (v.data = v.data.replace(Lt, '+')) : (o = v.url.slice(f.length), v.data && (v.processData || 'string' == typeof v.data) && (f += (St.test(f) ? '&' : '?') + v.data, delete v.data), !1 === v.cache && (f = f.replace(Ot, '$1'), o = (St.test(f) ? '&' : '?') + '_=' + kt++ + o), v.url = f + o), v.ifModified && (k.lastModified[f] && T.setRequestHeader('If-Modified-Since', k.lastModified[f]), k.etag[f] && T.setRequestHeader('If-None-Match', k.etag[f])), (v.data && v.hasContent && !1 !== v.contentType || t.contentType) && T.setRequestHeader('Content-Type', v.contentType), T.setRequestHeader('Accept', v.dataTypes[0] && v.accepts[v.dataTypes[0]] ? v.accepts[v.dataTypes[0]] + ('*' !== v.dataTypes[0] ? ', ' + $t + '; q=0.01' : '') : v.accepts['*']), v.headers) {
|
3585
|
-
T.setRequestHeader(i, v.headers[i]);
|
3586
|
-
}
|
3587
|
-
|
3588
|
-
if (v.beforeSend && (!1 === v.beforeSend.call(y, T, v) || h)) return T.abort();
|
3589
|
-
|
3590
|
-
if (u = 'abort', b.add(v.complete), T.done(v.success), T.fail(v.error), c = _t(Wt, v, t, T)) {
|
3591
|
-
if (T.readyState = 1, g && m.trigger('ajaxSend', [T, v]), h) return T;
|
3592
|
-
v.async && 0 < v.timeout && (d = C.setTimeout(function () {
|
3593
|
-
T.abort('timeout');
|
3594
|
-
}, v.timeout));
|
3595
|
-
|
3596
|
-
try {
|
3597
|
-
h = !1, c.send(a, l);
|
3598
|
-
} catch (e) {
|
3599
|
-
if (h) throw e;
|
3600
|
-
l(-1, e);
|
3601
|
-
}
|
3602
|
-
} else l(-1, 'No Transport');
|
3603
|
-
|
3604
|
-
function l(e, t, n, r) {
|
3605
|
-
var i,
|
3606
|
-
o,
|
3607
|
-
a,
|
3608
|
-
s,
|
3609
|
-
u,
|
3610
|
-
l = t;
|
3611
|
-
h || (h = !0, d && C.clearTimeout(d), c = void 0, p = r || '', T.readyState = 0 < e ? 4 : 0, i = 200 <= e && e < 300 || 304 === e, n && (s = function (e, t, n) {
|
3612
|
-
var r,
|
3613
|
-
i,
|
3614
|
-
o,
|
3615
|
-
a,
|
3616
|
-
s = e.contents,
|
3617
|
-
u = e.dataTypes;
|
3618
|
-
|
3619
|
-
while ('*' === u[0]) {
|
3620
|
-
u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader('Content-Type'));
|
3621
|
-
}
|
3622
|
-
|
3623
|
-
if (r) for (i in s) {
|
3624
|
-
if (s[i] && s[i].test(r)) {
|
3625
|
-
u.unshift(i);
|
3626
|
-
break;
|
3627
|
-
}
|
3628
|
-
}
|
3629
|
-
if (u[0] in n) o = u[0];else {
|
3630
|
-
for (i in n) {
|
3631
|
-
if (!u[0] || e.converters[i + ' ' + u[0]]) {
|
3632
|
-
o = i;
|
3633
|
-
break;
|
3634
|
-
}
|
3635
|
-
|
3636
|
-
a || (a = i);
|
3637
|
-
}
|
3638
|
-
|
3639
|
-
o = o || a;
|
3640
|
-
}
|
3641
|
-
if (o) return o !== u[0] && u.unshift(o), n[o];
|
3642
|
-
}(v, T, n)), s = function (e, t, n, r) {
|
3643
|
-
var i,
|
3644
|
-
o,
|
3645
|
-
a,
|
3646
|
-
s,
|
3647
|
-
u,
|
3648
|
-
l = {},
|
3649
|
-
c = e.dataTypes.slice();
|
3650
|
-
if (c[1]) for (a in e.converters) {
|
3651
|
-
l[a.toLowerCase()] = e.converters[a];
|
3652
|
-
}
|
3653
|
-
o = c.shift();
|
3654
|
-
|
3655
|
-
while (o) {
|
3656
|
-
if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift()) if ('*' === o) o = u;else if ('*' !== u && u !== o) {
|
3657
|
-
if (!(a = l[u + ' ' + o] || l['* ' + o])) for (i in l) {
|
3658
|
-
if ((s = i.split(' '))[1] === o && (a = l[u + ' ' + s[0]] || l['* ' + s[0]])) {
|
3659
|
-
!0 === a ? a = l[i] : !0 !== l[i] && (o = s[0], c.unshift(s[1]));
|
3660
|
-
break;
|
3661
|
-
}
|
3662
|
-
}
|
3663
|
-
if (!0 !== a) if (a && e['throws']) t = a(t);else try {
|
3664
|
-
t = a(t);
|
3665
|
-
} catch (e) {
|
3666
|
-
return {
|
3667
|
-
state: 'parsererror',
|
3668
|
-
error: a ? e : 'No conversion from ' + u + ' to ' + o
|
3669
|
-
};
|
3670
|
-
}
|
3671
|
-
}
|
3672
|
-
}
|
3673
|
-
|
3674
|
-
return {
|
3675
|
-
state: 'success',
|
3676
|
-
data: t
|
3677
|
-
};
|
3678
|
-
}(v, s, T, i), i ? (v.ifModified && ((u = T.getResponseHeader('Last-Modified')) && (k.lastModified[f] = u), (u = T.getResponseHeader('etag')) && (k.etag[f] = u)), 204 === e || 'HEAD' === v.type ? l = 'nocontent' : 304 === e ? l = 'notmodified' : (l = s.state, o = s.data, i = !(a = s.error))) : (a = l, !e && l || (l = 'error', e < 0 && (e = 0))), T.status = e, T.statusText = (t || l) + '', i ? x.resolveWith(y, [o, l, T]) : x.rejectWith(y, [T, l, a]), T.statusCode(w), w = void 0, g && m.trigger(i ? 'ajaxSuccess' : 'ajaxError', [T, v, i ? o : a]), b.fireWith(y, [T, l]), g && (m.trigger('ajaxComplete', [T, v]), --k.active || k.event.trigger('ajaxStop')));
|
3679
|
-
}
|
3680
|
-
|
3681
|
-
return T;
|
3682
|
-
},
|
3683
|
-
getJSON: function getJSON(e, t, n) {
|
3684
|
-
return k.get(e, t, n, 'json');
|
3685
|
-
},
|
3686
|
-
getScript: function getScript(e, t) {
|
3687
|
-
return k.get(e, void 0, t, 'script');
|
3688
|
-
}
|
3689
|
-
}), k.each(['get', 'post'], function (e, i) {
|
3690
|
-
k[i] = function (e, t, n, r) {
|
3691
|
-
return m(t) && (r = r || n, n = t, t = void 0), k.ajax(k.extend({
|
3692
|
-
url: e,
|
3693
|
-
type: i,
|
3694
|
-
dataType: r,
|
3695
|
-
data: t,
|
3696
|
-
success: n
|
3697
|
-
}, k.isPlainObject(e) && e));
|
3698
|
-
};
|
3699
|
-
}), k._evalUrl = function (e, t) {
|
3700
|
-
return k.ajax({
|
3701
|
-
url: e,
|
3702
|
-
type: 'GET',
|
3703
|
-
dataType: 'script',
|
3704
|
-
cache: !0,
|
3705
|
-
async: !1,
|
3706
|
-
global: !1,
|
3707
|
-
converters: {
|
3708
|
-
'text script': function textScript() {}
|
3709
|
-
},
|
3710
|
-
dataFilter: function dataFilter(e) {
|
3711
|
-
k.globalEval(e, t);
|
3712
|
-
}
|
3713
|
-
});
|
3714
|
-
}, k.fn.extend({
|
3715
|
-
wrapAll: function wrapAll(e) {
|
3716
|
-
var t;
|
3717
|
-
return this[0] && (m(e) && (e = e.call(this[0])), t = k(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]), t.map(function () {
|
3718
|
-
var e = this;
|
3719
|
-
|
3720
|
-
while (e.firstElementChild) {
|
3721
|
-
e = e.firstElementChild;
|
3722
|
-
}
|
3723
|
-
|
3724
|
-
return e;
|
3725
|
-
}).append(this)), this;
|
3726
|
-
},
|
3727
|
-
wrapInner: function wrapInner(n) {
|
3728
|
-
return m(n) ? this.each(function (e) {
|
3729
|
-
k(this).wrapInner(n.call(this, e));
|
3730
|
-
}) : this.each(function () {
|
3731
|
-
var e = k(this),
|
3732
|
-
t = e.contents();
|
3733
|
-
t.length ? t.wrapAll(n) : e.append(n);
|
3734
|
-
});
|
3735
|
-
},
|
3736
|
-
wrap: function wrap(t) {
|
3737
|
-
var n = m(t);
|
3738
|
-
return this.each(function (e) {
|
3739
|
-
k(this).wrapAll(n ? t.call(this, e) : t);
|
3740
|
-
});
|
3741
|
-
},
|
3742
|
-
unwrap: function unwrap(e) {
|
3743
|
-
return this.parent(e).not('body').each(function () {
|
3744
|
-
k(this).replaceWith(this.childNodes);
|
3745
|
-
}), this;
|
3746
|
-
}
|
3747
|
-
}), k.expr.pseudos.hidden = function (e) {
|
3748
|
-
return !k.expr.pseudos.visible(e);
|
3749
|
-
}, k.expr.pseudos.visible = function (e) {
|
3750
|
-
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
|
3751
|
-
}, k.ajaxSettings.xhr = function () {
|
3752
|
-
try {
|
3753
|
-
return new C.XMLHttpRequest();
|
3754
|
-
} catch (e) {}
|
3755
|
-
};
|
3756
|
-
var Ut = {
|
3757
|
-
0: 200,
|
3758
|
-
1223: 204
|
3759
|
-
},
|
3760
|
-
Xt = k.ajaxSettings.xhr();
|
3761
|
-
y.cors = !!Xt && 'withCredentials' in Xt, y.ajax = Xt = !!Xt, k.ajaxTransport(function (i) {
|
3762
|
-
var _o, a;
|
3763
|
-
|
3764
|
-
if (y.cors || Xt && !i.crossDomain) return {
|
3765
|
-
send: function send(e, t) {
|
3766
|
-
var n,
|
3767
|
-
r = i.xhr();
|
3768
|
-
if (r.open(i.type, i.url, i.async, i.username, i.password), i.xhrFields) for (n in i.xhrFields) {
|
3769
|
-
r[n] = i.xhrFields[n];
|
3770
|
-
}
|
3771
|
-
|
3772
|
-
for (n in i.mimeType && r.overrideMimeType && r.overrideMimeType(i.mimeType), i.crossDomain || e['X-Requested-With'] || (e['X-Requested-With'] = 'XMLHttpRequest'), e) {
|
3773
|
-
r.setRequestHeader(n, e[n]);
|
3774
|
-
}
|
3775
|
-
|
3776
|
-
_o = function o(e) {
|
3777
|
-
return function () {
|
3778
|
-
_o && (_o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null, 'abort' === e ? r.abort() : 'error' === e ? 'number' != typeof r.status ? t(0, 'error') : t(r.status, r.statusText) : t(Ut[r.status] || r.status, r.statusText, 'text' !== (r.responseType || 'text') || 'string' != typeof r.responseText ? {
|
3779
|
-
binary: r.response
|
3780
|
-
} : {
|
3781
|
-
text: r.responseText
|
3782
|
-
}, r.getAllResponseHeaders()));
|
3783
|
-
};
|
3784
|
-
}, r.onload = _o(), a = r.onerror = r.ontimeout = _o('error'), void 0 !== r.onabort ? r.onabort = a : r.onreadystatechange = function () {
|
3785
|
-
4 === r.readyState && C.setTimeout(function () {
|
3786
|
-
_o && a();
|
3787
|
-
});
|
3788
|
-
}, _o = _o('abort');
|
3789
|
-
|
3790
|
-
try {
|
3791
|
-
r.send(i.hasContent && i.data || null);
|
3792
|
-
} catch (e) {
|
3793
|
-
if (_o) throw e;
|
3794
|
-
}
|
3795
|
-
},
|
3796
|
-
abort: function abort() {
|
3797
|
-
_o && _o();
|
3798
|
-
}
|
3799
|
-
};
|
3800
|
-
}), k.ajaxPrefilter(function (e) {
|
3801
|
-
e.crossDomain && (e.contents.script = !1);
|
3802
|
-
}), k.ajaxSetup({
|
3803
|
-
accepts: {
|
3804
|
-
script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'
|
3805
|
-
},
|
3806
|
-
contents: {
|
3807
|
-
script: /\b(?:java|ecma)script\b/
|
3808
|
-
},
|
3809
|
-
converters: {
|
3810
|
-
'text script': function textScript(e) {
|
3811
|
-
return k.globalEval(e), e;
|
3812
|
-
}
|
3813
|
-
}
|
3814
|
-
}), k.ajaxPrefilter('script', function (e) {
|
3815
|
-
void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = 'GET');
|
3816
|
-
}), k.ajaxTransport('script', function (n) {
|
3817
|
-
var r, _i;
|
3818
|
-
|
3819
|
-
if (n.crossDomain || n.scriptAttrs) return {
|
3820
|
-
send: function send(e, t) {
|
3821
|
-
r = k('<script>').attr(n.scriptAttrs || {}).prop({
|
3822
|
-
charset: n.scriptCharset,
|
3823
|
-
src: n.url
|
3824
|
-
}).on('load error', _i = function i(e) {
|
3825
|
-
r.remove(), _i = null, e && t('error' === e.type ? 404 : 200, e.type);
|
3826
|
-
}), E.head.appendChild(r[0]);
|
3827
|
-
},
|
3828
|
-
abort: function abort() {
|
3829
|
-
_i && _i();
|
3830
|
-
}
|
3831
|
-
};
|
3832
|
-
});
|
3833
|
-
var Vt,
|
3834
|
-
Gt = [],
|
3835
|
-
Yt = /(=)\?(?=&|$)|\?\?/;
|
3836
|
-
k.ajaxSetup({
|
3837
|
-
jsonp: 'callback',
|
3838
|
-
jsonpCallback: function jsonpCallback() {
|
3839
|
-
var e = Gt.pop() || k.expando + '_' + kt++;
|
3840
|
-
return this[e] = !0, e;
|
3841
|
-
}
|
3842
|
-
}), k.ajaxPrefilter('json jsonp', function (e, t, n) {
|
3843
|
-
var r,
|
3844
|
-
i,
|
3845
|
-
o,
|
3846
|
-
a = !1 !== e.jsonp && (Yt.test(e.url) ? 'url' : 'string' == typeof e.data && 0 === (e.contentType || '').indexOf('application/x-www-form-urlencoded') && Yt.test(e.data) && 'data');
|
3847
|
-
if (a || 'jsonp' === e.dataTypes[0]) return r = e.jsonpCallback = m(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, a ? e[a] = e[a].replace(Yt, '$1' + r) : !1 !== e.jsonp && (e.url += (St.test(e.url) ? '&' : '?') + e.jsonp + '=' + r), e.converters['script json'] = function () {
|
3848
|
-
return o || k.error(r + ' was not called'), o[0];
|
3849
|
-
}, e.dataTypes[0] = 'json', i = C[r], C[r] = function () {
|
3850
|
-
o = arguments;
|
3851
|
-
}, n.always(function () {
|
3852
|
-
void 0 === i ? k(C).removeProp(r) : C[r] = i, e[r] && (e.jsonpCallback = t.jsonpCallback, Gt.push(r)), o && m(i) && i(o[0]), o = i = void 0;
|
3853
|
-
}), 'script';
|
3854
|
-
}), y.createHTMLDocument = ((Vt = E.implementation.createHTMLDocument('').body).innerHTML = '<form></form><form></form>', 2 === Vt.childNodes.length), k.parseHTML = function (e, t, n) {
|
3855
|
-
return 'string' != typeof e ? [] : ('boolean' == typeof t && (n = t, t = !1), t || (y.createHTMLDocument ? ((r = (t = E.implementation.createHTMLDocument('')).createElement('base')).href = E.location.href, t.head.appendChild(r)) : t = E), o = !n && [], (i = D.exec(e)) ? [t.createElement(i[1])] : (i = we([e], t, o), o && o.length && k(o).remove(), k.merge([], i.childNodes)));
|
3856
|
-
var r, i, o;
|
3857
|
-
}, k.fn.load = function (e, t, n) {
|
3858
|
-
var r,
|
3859
|
-
i,
|
3860
|
-
o,
|
3861
|
-
a = this,
|
3862
|
-
s = e.indexOf(' ');
|
3863
|
-
return -1 < s && (r = mt(e.slice(s)), e = e.slice(0, s)), m(t) ? (n = t, t = void 0) : t && 'object' == _typeof(t) && (i = 'POST'), 0 < a.length && k.ajax({
|
3864
|
-
url: e,
|
3865
|
-
type: i || 'GET',
|
3866
|
-
dataType: 'html',
|
3867
|
-
data: t
|
3868
|
-
}).done(function (e) {
|
3869
|
-
o = arguments, a.html(r ? k('<div>').append(k.parseHTML(e)).find(r) : e);
|
3870
|
-
}).always(n && function (e, t) {
|
3871
|
-
a.each(function () {
|
3872
|
-
n.apply(this, o || [e.responseText, t, e]);
|
3873
|
-
});
|
3874
|
-
}), this;
|
3875
|
-
}, k.each(['ajaxStart', 'ajaxStop', 'ajaxComplete', 'ajaxError', 'ajaxSuccess', 'ajaxSend'], function (e, t) {
|
3876
|
-
k.fn[t] = function (e) {
|
3877
|
-
return this.on(t, e);
|
3878
|
-
};
|
3879
|
-
}), k.expr.pseudos.animated = function (t) {
|
3880
|
-
return k.grep(k.timers, function (e) {
|
3881
|
-
return t === e.elem;
|
3882
|
-
}).length;
|
3883
|
-
}, k.offset = {
|
3884
|
-
setOffset: function setOffset(e, t, n) {
|
3885
|
-
var r,
|
3886
|
-
i,
|
3887
|
-
o,
|
3888
|
-
a,
|
3889
|
-
s,
|
3890
|
-
u,
|
3891
|
-
l = k.css(e, 'position'),
|
3892
|
-
c = k(e),
|
3893
|
-
f = {};
|
3894
|
-
'static' === l && (e.style.position = 'relative'), s = c.offset(), o = k.css(e, 'top'), u = k.css(e, 'left'), ('absolute' === l || 'fixed' === l) && -1 < (o + u).indexOf('auto') ? (a = (r = c.position()).top, i = r.left) : (a = parseFloat(o) || 0, i = parseFloat(u) || 0), m(t) && (t = t.call(e, n, k.extend({}, s))), null != t.top && (f.top = t.top - s.top + a), null != t.left && (f.left = t.left - s.left + i), 'using' in t ? t.using.call(e, f) : c.css(f);
|
3895
|
-
}
|
3896
|
-
}, k.fn.extend({
|
3897
|
-
offset: function offset(t) {
|
3898
|
-
if (arguments.length) return void 0 === t ? this : this.each(function (e) {
|
3899
|
-
k.offset.setOffset(this, t, e);
|
3900
|
-
});
|
3901
|
-
var e,
|
3902
|
-
n,
|
3903
|
-
r = this[0];
|
3904
|
-
return r ? r.getClientRects().length ? (e = r.getBoundingClientRect(), n = r.ownerDocument.defaultView, {
|
3905
|
-
top: e.top + n.pageYOffset,
|
3906
|
-
left: e.left + n.pageXOffset
|
3907
|
-
}) : {
|
3908
|
-
top: 0,
|
3909
|
-
left: 0
|
3910
|
-
} : void 0;
|
3911
|
-
},
|
3912
|
-
position: function position() {
|
3913
|
-
if (this[0]) {
|
3914
|
-
var e,
|
3915
|
-
t,
|
3916
|
-
n,
|
3917
|
-
r = this[0],
|
3918
|
-
i = {
|
3919
|
-
top: 0,
|
3920
|
-
left: 0
|
3921
|
-
};
|
3922
|
-
if ('fixed' === k.css(r, 'position')) t = r.getBoundingClientRect();else {
|
3923
|
-
t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement;
|
3924
|
-
|
3925
|
-
while (e && (e === n.body || e === n.documentElement) && 'static' === k.css(e, 'position')) {
|
3926
|
-
e = e.parentNode;
|
3927
|
-
}
|
3928
|
-
|
3929
|
-
e && e !== r && 1 === e.nodeType && ((i = k(e).offset()).top += k.css(e, 'borderTopWidth', !0), i.left += k.css(e, 'borderLeftWidth', !0));
|
3930
|
-
}
|
3931
|
-
return {
|
3932
|
-
top: t.top - i.top - k.css(r, 'marginTop', !0),
|
3933
|
-
left: t.left - i.left - k.css(r, 'marginLeft', !0)
|
3934
|
-
};
|
3935
|
-
}
|
3936
|
-
},
|
3937
|
-
offsetParent: function offsetParent() {
|
3938
|
-
return this.map(function () {
|
3939
|
-
var e = this.offsetParent;
|
3940
|
-
|
3941
|
-
while (e && 'static' === k.css(e, 'position')) {
|
3942
|
-
e = e.offsetParent;
|
3943
|
-
}
|
3944
|
-
|
3945
|
-
return e || ie;
|
3946
|
-
});
|
3947
|
-
}
|
3948
|
-
}), k.each({
|
3949
|
-
scrollLeft: 'pageXOffset',
|
3950
|
-
scrollTop: 'pageYOffset'
|
3951
|
-
}, function (t, i) {
|
3952
|
-
var o = 'pageYOffset' === i;
|
3953
|
-
|
3954
|
-
k.fn[t] = function (e) {
|
3955
|
-
return _(this, function (e, t, n) {
|
3956
|
-
var r;
|
3957
|
-
if (x(e) ? r = e : 9 === e.nodeType && (r = e.defaultView), void 0 === n) return r ? r[i] : e[t];
|
3958
|
-
r ? r.scrollTo(o ? r.pageXOffset : n, o ? n : r.pageYOffset) : e[t] = n;
|
3959
|
-
}, t, e, arguments.length);
|
3960
|
-
};
|
3961
|
-
}), k.each(['top', 'left'], function (e, n) {
|
3962
|
-
k.cssHooks[n] = ze(y.pixelPosition, function (e, t) {
|
3963
|
-
if (t) return t = _e(e, n), $e.test(t) ? k(e).position()[n] + 'px' : t;
|
3964
|
-
});
|
3965
|
-
}), k.each({
|
3966
|
-
Height: 'height',
|
3967
|
-
Width: 'width'
|
3968
|
-
}, function (a, s) {
|
3969
|
-
k.each({
|
3970
|
-
padding: 'inner' + a,
|
3971
|
-
content: s,
|
3972
|
-
'': 'outer' + a
|
3973
|
-
}, function (r, o) {
|
3974
|
-
k.fn[o] = function (e, t) {
|
3975
|
-
var n = arguments.length && (r || 'boolean' != typeof e),
|
3976
|
-
i = r || (!0 === e || !0 === t ? 'margin' : 'border');
|
3977
|
-
return _(this, function (e, t, n) {
|
3978
|
-
var r;
|
3979
|
-
return x(e) ? 0 === o.indexOf('outer') ? e['inner' + a] : e.document.documentElement['client' + a] : 9 === e.nodeType ? (r = e.documentElement, Math.max(e.body['scroll' + a], r['scroll' + a], e.body['offset' + a], r['offset' + a], r['client' + a])) : void 0 === n ? k.css(e, t, i) : k.style(e, t, n, i);
|
3980
|
-
}, s, n ? e : void 0, n);
|
3981
|
-
};
|
3982
|
-
});
|
3983
|
-
}), k.each('blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu'.split(' '), function (e, n) {
|
3984
|
-
k.fn[n] = function (e, t) {
|
3985
|
-
return 0 < arguments.length ? this.on(n, null, e, t) : this.trigger(n);
|
3986
|
-
};
|
3987
|
-
}), k.fn.extend({
|
3988
|
-
hover: function hover(e, t) {
|
3989
|
-
return this.mouseenter(e).mouseleave(t || e);
|
3990
|
-
}
|
3991
|
-
}), k.fn.extend({
|
3992
|
-
bind: function bind(e, t, n) {
|
3993
|
-
return this.on(e, null, t, n);
|
3994
|
-
},
|
3995
|
-
unbind: function unbind(e, t) {
|
3996
|
-
return this.off(e, null, t);
|
3997
|
-
},
|
3998
|
-
delegate: function delegate(e, t, n, r) {
|
3999
|
-
return this.on(t, e, n, r);
|
4000
|
-
},
|
4001
|
-
undelegate: function undelegate(e, t, n) {
|
4002
|
-
return 1 === arguments.length ? this.off(e, '**') : this.off(t, e || '**', n);
|
4003
|
-
}
|
4004
|
-
}), k.proxy = function (e, t) {
|
4005
|
-
var n, r, i;
|
4006
|
-
if ('string' == typeof t && (n = e[t], t = e, e = n), m(e)) return r = s.call(arguments, 2), (i = function i() {
|
4007
|
-
return e.apply(t || this, r.concat(s.call(arguments)));
|
4008
|
-
}).guid = e.guid = e.guid || k.guid++, i;
|
4009
|
-
}, k.holdReady = function (e) {
|
4010
|
-
e ? k.readyWait++ : k.ready(!0);
|
4011
|
-
}, k.isArray = Array.isArray, k.parseJSON = JSON.parse, k.nodeName = A, k.isFunction = m, k.isWindow = x, k.camelCase = V, k.type = w, k.now = Date.now, k.isNumeric = function (e) {
|
4012
|
-
var t = k.type(e);
|
4013
|
-
return ('number' === t || 'string' === t) && !isNaN(e - parseFloat(e));
|
4014
|
-
}, 'function' == typeof define && define.amd && define('jquery', [], function () {
|
4015
|
-
return k;
|
4016
|
-
});
|
4017
|
-
var Qt = C.jQuery,
|
4018
|
-
Jt = C.$;
|
4019
|
-
return k.noConflict = function (e) {
|
4020
|
-
return C.$ === k && (C.$ = Jt), e && C.jQuery === k && (C.jQuery = Qt), k;
|
4021
|
-
}, e || (C.jQuery = C.$ = k), k;
|
4022
|
-
});
|