mn-video-player 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mn-video-player.es.js +1025 -1035
- package/dist/mn-video-player.es.js.map +1 -1
- package/dist/mn-video-player.umd.js +6 -6
- package/dist/mn-video-player.umd.js.map +1 -1
- package/dist/{mn-worker-CYIBI-Fh.js → mn-worker-77FNHtgn.js} +4 -4
- package/dist/{mn-worker-CYIBI-Fh.js.map → mn-worker-77FNHtgn.js.map} +1 -1
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ function dt(R) {
|
|
|
2
2
|
this.gl = R, this.texture = R.createTexture(), R.bindTexture(R.TEXTURE_2D, this.texture), R.texParameteri(R.TEXTURE_2D, R.TEXTURE_MAG_FILTER, R.LINEAR), R.texParameteri(R.TEXTURE_2D, R.TEXTURE_MIN_FILTER, R.LINEAR), R.texParameteri(R.TEXTURE_2D, R.TEXTURE_WRAP_S, R.CLAMP_TO_EDGE), R.texParameteri(R.TEXTURE_2D, R.TEXTURE_WRAP_T, R.CLAMP_TO_EDGE);
|
|
3
3
|
}
|
|
4
4
|
dt.prototype.bind = function(R, a, p) {
|
|
5
|
-
var
|
|
6
|
-
|
|
5
|
+
var m = this.gl;
|
|
6
|
+
m.activeTexture([m.TEXTURE0, m.TEXTURE1, m.TEXTURE2][R]), m.bindTexture(m.TEXTURE_2D, this.texture), m.uniform1i(m.getUniformLocation(a, p), R);
|
|
7
7
|
};
|
|
8
8
|
dt.prototype.fill = function(R, a, p) {
|
|
9
|
-
var
|
|
10
|
-
|
|
9
|
+
var m = this.gl;
|
|
10
|
+
m.bindTexture(m.TEXTURE_2D, this.texture), m.texImage2D(m.TEXTURE_2D, 0, m.LUMINANCE, R, a, 0, m.LUMINANCE, m.UNSIGNED_BYTE, p);
|
|
11
11
|
};
|
|
12
12
|
function Je(R, a) {
|
|
13
13
|
this.canvas = R, console.log("this.canvas", this.canvas), this.gl = R.getContext("webgl") || R.getContext("experimental-webgl"), this.initGL(a);
|
|
@@ -19,7 +19,7 @@ Je.prototype.initGL = function(R) {
|
|
|
19
19
|
}
|
|
20
20
|
var a = this.gl;
|
|
21
21
|
a.pixelStorei(a.UNPACK_ALIGNMENT, 1);
|
|
22
|
-
var p = a.createProgram(),
|
|
22
|
+
var p = a.createProgram(), m = [
|
|
23
23
|
"attribute highp vec4 aVertexPosition;",
|
|
24
24
|
"attribute vec2 aTextureCoord;",
|
|
25
25
|
"varying highp vec2 vTextureCoord;",
|
|
@@ -29,7 +29,7 @@ Je.prototype.initGL = function(R) {
|
|
|
29
29
|
"}"
|
|
30
30
|
].join(`
|
|
31
31
|
`), k = a.createShader(a.VERTEX_SHADER);
|
|
32
|
-
a.shaderSource(k,
|
|
32
|
+
a.shaderSource(k, m), a.compileShader(k);
|
|
33
33
|
var w = [
|
|
34
34
|
"precision highp float;",
|
|
35
35
|
"varying lowp vec2 vTextureCoord;",
|
|
@@ -58,13 +58,13 @@ Je.prototype.initGL = function(R) {
|
|
|
58
58
|
var re = a.createBuffer();
|
|
59
59
|
a.bindBuffer(a.ARRAY_BUFFER, re), a.bufferData(a.ARRAY_BUFFER, new Float32Array([1, 0, 0, 0, 1, 1, 0, 1]), a.STATIC_DRAW), a.vertexAttribPointer(q, 2, a.FLOAT, !1, 0, 0), a.y = new dt(a), a.u = new dt(a), a.v = new dt(a), a.y.bind(0, p, "YTexture"), a.u.bind(1, p, "UTexture"), a.v.bind(2, p, "VTexture");
|
|
60
60
|
};
|
|
61
|
-
Je.prototype.renderFrame = function(R, a, p,
|
|
61
|
+
Je.prototype.renderFrame = function(R, a, p, m, k) {
|
|
62
62
|
if (!this.gl) {
|
|
63
63
|
console.log("[ER] Render frame failed due to WebGL not supported.");
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
var w = this.gl;
|
|
67
|
-
w.viewport(0, 0, w.canvas.width, w.canvas.height), w.clearColor(0, 0, 0, 0), w.clear(w.COLOR_BUFFER_BIT), w.y.fill(a, p, R.subarray(0,
|
|
67
|
+
w.viewport(0, 0, w.canvas.width, w.canvas.height), w.clearColor(0, 0, 0, 0), w.clear(w.COLOR_BUFFER_BIT), w.y.fill(a, p, R.subarray(0, m)), w.u.fill(a >> 1, p >> 1, R.subarray(m, m + k)), w.v.fill(a >> 1, p >> 1, R.subarray(m + k, R.length)), w.drawArrays(w.TRIANGLE_STRIP, 0, 4);
|
|
68
68
|
};
|
|
69
69
|
Je.prototype.fullscreen = function() {
|
|
70
70
|
var R = this.canvas;
|
|
@@ -77,7 +77,7 @@ Je.prototype.stop = function() {
|
|
|
77
77
|
var R = this.gl;
|
|
78
78
|
R && R.getExtension("WEBGL_lose_context").loseContext();
|
|
79
79
|
};
|
|
80
|
-
class
|
|
80
|
+
class Qn {
|
|
81
81
|
cacheDataList = [];
|
|
82
82
|
constructor(a) {
|
|
83
83
|
this.init(a);
|
|
@@ -120,7 +120,7 @@ class Jn {
|
|
|
120
120
|
speed(a) {
|
|
121
121
|
if (this.playbackRate = a, this.playingBuffers.forEach((p) => {
|
|
122
122
|
p.bufferSource.playbackRate.value = a;
|
|
123
|
-
const
|
|
123
|
+
const m = this.audioCtx.currentTime - p.startTime, k = (p.endTime - p.startTime) * (1 / p.bufferSource.playbackRate.value) - m;
|
|
124
124
|
p.endTime = this.audioCtx.currentTime + k;
|
|
125
125
|
}), this.startTime > this.audioCtx.currentTime) {
|
|
126
126
|
const p = this.audioCtx.currentTime - this.startTime;
|
|
@@ -133,20 +133,20 @@ class Jn {
|
|
|
133
133
|
feed(a, p = null) {
|
|
134
134
|
if (!this.isTypedArray(a)) return;
|
|
135
135
|
a = this.getFormatedValue(a);
|
|
136
|
-
let
|
|
137
|
-
this.baseTime !== null && p !== null && (
|
|
136
|
+
let m = p;
|
|
137
|
+
this.baseTime !== null && p !== null && (m = this.baseAudioTime + (p - this.baseTime)), this.cacheDataList.push({
|
|
138
138
|
data: a,
|
|
139
|
-
timestamp:
|
|
139
|
+
timestamp: m,
|
|
140
140
|
rawTimestamp: p,
|
|
141
141
|
// 保存原始时间戳用于调试
|
|
142
142
|
duration: a.length / this.option.sampleRate / this.option.channels
|
|
143
143
|
}), this.cacheDataList.sort((k, w) => k.timestamp === null ? 1 : w.timestamp === null ? -1 : k.timestamp - w.timestamp);
|
|
144
144
|
}
|
|
145
145
|
getFormatedValue(a) {
|
|
146
|
-
const p = new this.typedArray(a.buffer),
|
|
146
|
+
const p = new this.typedArray(a.buffer), m = new Float32Array(p.length);
|
|
147
147
|
for (let k = 0; k < p.length; k++)
|
|
148
|
-
|
|
149
|
-
return
|
|
148
|
+
m[k] = p[k] / this.maxValue;
|
|
149
|
+
return m;
|
|
150
150
|
}
|
|
151
151
|
volume(a) {
|
|
152
152
|
this.gainNode.gain.value = a;
|
|
@@ -162,7 +162,7 @@ class Jn {
|
|
|
162
162
|
(L) => L.timestamp === null || L.timestamp <= a + 0.1
|
|
163
163
|
);
|
|
164
164
|
if (!p.length) return;
|
|
165
|
-
const
|
|
165
|
+
const m = p.reduce((L, Le) => L + Le.data.length, 0), k = new Float32Array(m);
|
|
166
166
|
let w = 0;
|
|
167
167
|
for (const L of p)
|
|
168
168
|
k.set(L.data, w), w += L.data.length;
|
|
@@ -175,19 +175,19 @@ class Jn {
|
|
|
175
175
|
for (re = 0; re < this.option.channels; re++)
|
|
176
176
|
for (F = q.getChannelData(re), Z = re, de = 50, ie = 0; ie < $; ie++)
|
|
177
177
|
F[ie] = k[Z], ie < 50 && (F[ie] = F[ie] * ie / 50), ie >= $ - 51 && (F[ie] = F[ie] * de-- / 50), Z += this.option.channels;
|
|
178
|
-
let
|
|
179
|
-
p[0].timestamp !== null ?
|
|
178
|
+
let M;
|
|
179
|
+
p[0].timestamp !== null ? M = Math.max(p[0].timestamp, this.startTime) : M = Math.max(a, this.startTime), D.buffer = q, D.connect(this.gainNode), D.playbackRate.value = this.playbackRate;
|
|
180
180
|
const W = {
|
|
181
181
|
bufferSource: D,
|
|
182
182
|
buffer: q,
|
|
183
|
-
startTime:
|
|
184
|
-
endTime:
|
|
183
|
+
startTime: M,
|
|
184
|
+
endTime: M + q.duration / this.playbackRate,
|
|
185
185
|
rawData: p
|
|
186
186
|
};
|
|
187
187
|
this.playingBuffers.push(W), D.onended = () => {
|
|
188
188
|
const L = this.playingBuffers.findIndex((Le) => Le.bufferSource === D);
|
|
189
189
|
L !== -1 && this.playingBuffers.splice(L, 1);
|
|
190
|
-
}, D.start(
|
|
190
|
+
}, D.start(M), this.startTime = M + q.duration / this.playbackRate;
|
|
191
191
|
const Ne = new Set(p.map(
|
|
192
192
|
(L, Le) => this.cacheDataList.findIndex(
|
|
193
193
|
(Ke) => Ke.data === L.data && Ke.timestamp === L.timestamp
|
|
@@ -203,7 +203,7 @@ class Jn {
|
|
|
203
203
|
play(a, p = null) {
|
|
204
204
|
if (!this.isTypedArray(a) || (a = this.getFormatedValue(a), !a.length))
|
|
205
205
|
return;
|
|
206
|
-
const
|
|
206
|
+
const m = this.audioCtx.createBufferSource(), k = a.length / this.option.channels, w = this.audioCtx.createBuffer(
|
|
207
207
|
this.option.channels,
|
|
208
208
|
k,
|
|
209
209
|
this.option.sampleRate
|
|
@@ -213,18 +213,18 @@ class Jn {
|
|
|
213
213
|
for (D = w.getChannelData($), q = $, re = 50, F = 0; F < k; F++)
|
|
214
214
|
D[F] = a[q], F < 50 && (D[F] = D[F] * F / 50), F >= k - 51 && (D[F] = D[F] * re-- / 50), q += this.option.channels;
|
|
215
215
|
let Z;
|
|
216
|
-
p !== null ? this.baseTime !== null ? Z = this.baseAudioTime + (p - this.baseTime) : Z = this.audioCtx.currentTime : Z = Math.max(this.audioCtx.currentTime, this.startTime),
|
|
216
|
+
p !== null ? this.baseTime !== null ? Z = this.baseAudioTime + (p - this.baseTime) : Z = this.audioCtx.currentTime : Z = Math.max(this.audioCtx.currentTime, this.startTime), m.buffer = w, m.connect(this.gainNode), m.playbackRate.value = this.playbackRate;
|
|
217
217
|
const ie = {
|
|
218
|
-
bufferSource:
|
|
218
|
+
bufferSource: m,
|
|
219
219
|
buffer: w,
|
|
220
220
|
startTime: Z,
|
|
221
221
|
endTime: Z + w.duration / this.playbackRate,
|
|
222
222
|
rawData: [{ data: a, timestamp: p }]
|
|
223
223
|
};
|
|
224
|
-
this.playingBuffers.push(ie),
|
|
225
|
-
const de = this.playingBuffers.findIndex((
|
|
224
|
+
this.playingBuffers.push(ie), m.onended = () => {
|
|
225
|
+
const de = this.playingBuffers.findIndex((M) => M.bufferSource === m);
|
|
226
226
|
de !== -1 && this.playingBuffers.splice(de, 1);
|
|
227
|
-
},
|
|
227
|
+
}, m.start(Z), this.startTime = Z + w.duration / this.playbackRate;
|
|
228
228
|
}
|
|
229
229
|
pause() {
|
|
230
230
|
this.audioCtx.state === "running" && this.audioCtx.suspend();
|
|
@@ -234,8 +234,8 @@ class Jn {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
console.log("innercommon");
|
|
237
|
-
const
|
|
238
|
-
class
|
|
237
|
+
const Jn = 2, Kn = 1, Zn = 3, er = 4, tr = 5, ir = 6, nr = 7, rr = 9, sr = 10, or = 11, ar = 12, ur = 13, fr = 2, lr = 4, cr = 5, dr = 6, hr = 7, pr = 8, gr = 13, yr = 14, mr = 15, vr = 16;
|
|
238
|
+
class xr {
|
|
239
239
|
constructor(a) {
|
|
240
240
|
this.module = a;
|
|
241
241
|
}
|
|
@@ -252,44 +252,43 @@ class br {
|
|
|
252
252
|
console.log("[" + this.currentTimeStr() + "][" + this.module + "][DT] " + a);
|
|
253
253
|
}
|
|
254
254
|
currentTimeStr() {
|
|
255
|
-
const a = new Date(Date.now()), p = a.getFullYear(),
|
|
256
|
-
return p + "-" +
|
|
255
|
+
const a = new Date(Date.now()), p = a.getFullYear(), m = a.getMonth() + 1, k = a.getDate(), w = a.getHours(), D = a.getMinutes(), $ = a.getSeconds(), q = a.getMilliseconds();
|
|
256
|
+
return p + "-" + m + "-" + k + " " + w + ":" + D + ":" + $ + ":" + q;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
const G = {
|
|
260
|
-
kMediaSpeak:
|
|
261
|
-
kOpenDecoderReq:
|
|
262
|
-
kResumeDecodingReq:
|
|
263
|
-
kPauseDecodingReq:
|
|
264
|
-
kOpenStreamReq:
|
|
265
|
-
kCloseStreamReq:
|
|
266
|
-
kEnableAudioReq:
|
|
267
|
-
kSwitchStreamReq:
|
|
260
|
+
kMediaSpeak: Jn,
|
|
261
|
+
kOpenDecoderReq: Kn,
|
|
262
|
+
kResumeDecodingReq: Zn,
|
|
263
|
+
kPauseDecodingReq: er,
|
|
264
|
+
kOpenStreamReq: tr,
|
|
265
|
+
kCloseStreamReq: ir,
|
|
266
|
+
kEnableAudioReq: nr,
|
|
267
|
+
kSwitchStreamReq: rr,
|
|
268
268
|
kFastForward: sr,
|
|
269
|
-
kRecorderSpeakReq:
|
|
270
|
-
kRecorderTalkReq:
|
|
271
|
-
kReplayReq:
|
|
269
|
+
kRecorderSpeakReq: or,
|
|
270
|
+
kRecorderTalkReq: ar,
|
|
271
|
+
kReplayReq: ur,
|
|
272
272
|
kOpenDecoderRsp: fr,
|
|
273
|
-
kVideoReady:
|
|
274
|
-
kVideoFrame:
|
|
275
|
-
kAudioFrame:
|
|
276
|
-
kStringFrame:
|
|
277
|
-
kNetSpeedFrame:
|
|
278
|
-
kSocketErrorRsp:
|
|
279
|
-
kSocketCloseRsp:
|
|
280
|
-
kReplaySpeed:
|
|
281
|
-
kVideoFrameOrigin:
|
|
282
|
-
Logger:
|
|
283
|
-
},
|
|
284
|
-
function
|
|
273
|
+
kVideoReady: lr,
|
|
274
|
+
kVideoFrame: cr,
|
|
275
|
+
kAudioFrame: dr,
|
|
276
|
+
kStringFrame: hr,
|
|
277
|
+
kNetSpeedFrame: pr,
|
|
278
|
+
kSocketErrorRsp: gr,
|
|
279
|
+
kSocketCloseRsp: yr,
|
|
280
|
+
kReplaySpeed: mr,
|
|
281
|
+
kVideoFrameOrigin: vr,
|
|
282
|
+
Logger: xr
|
|
283
|
+
}, br = "data:image/svg+xml,%3c!--%20By%20Sam%20Herbert%20(@sherb),%20for%20everyone.%20More%20@%20http://goo.gl/7AJzbL%20--%3e%3c!--%20Todo:%20add%20easing%20--%3e%3csvg%20width='57'%20height='57'%20viewBox='0%200%2057%2057'%20xmlns='http://www.w3.org/2000/svg'%20stroke='%23fff'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(1%201)'%20stroke-width='2'%3e%3ccircle%20cx='5'%20cy='50'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20values='50;5;50;50'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20begin='0s'%20dur='2.2s'%20values='5;27;49;5'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3ccircle%20cx='27'%20cy='5'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20from='5'%20to='5'%20values='5;50;50;5'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20begin='0s'%20dur='2.2s'%20from='27'%20to='27'%20values='27;49;5;27'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3ccircle%20cx='49'%20cy='50'%20r='5'%3e%3canimate%20attributeName='cy'%20begin='0s'%20dur='2.2s'%20values='50;50;5;50'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3canimate%20attributeName='cx'%20from='49'%20to='49'%20begin='0s'%20dur='2.2s'%20values='49;5;27;49'%20calcMode='linear'%20repeatCount='indefinite'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
284
|
+
function Tr(R) {
|
|
285
285
|
return new Worker(
|
|
286
|
-
"" + new URL("mn-worker-
|
|
286
|
+
"" + new URL("mn-worker-77FNHtgn.js", import.meta.url).href,
|
|
287
287
|
{
|
|
288
288
|
name: R?.name
|
|
289
289
|
}
|
|
290
290
|
);
|
|
291
291
|
}
|
|
292
|
-
console.log("MnWorker", Bi);
|
|
293
292
|
const Wi = 0, Jt = 2, Kt = 0, ct = 1, Ct = 2;
|
|
294
293
|
class ee {
|
|
295
294
|
static host = "";
|
|
@@ -305,8 +304,8 @@ class ee {
|
|
|
305
304
|
static frameCache = [];
|
|
306
305
|
static intervalTimer = null;
|
|
307
306
|
static onlyWasm = !1;
|
|
308
|
-
constructor(a, p,
|
|
309
|
-
this.phone = a, this.channel = p, this.div =
|
|
307
|
+
constructor(a, p, m, k, w, D) {
|
|
308
|
+
this.phone = a, this.channel = p, this.div = m, this.chlId = "chlId", this.spedId = "spedId", this.loadId = null, this.hintId = null, this.loading = !0, this.canvas = k, this.lang = w, this.streamTime = null, this.replayTimer = null, this.isFirstLoad = !1, this.frameCache = [], this.intervalTimer = null, this.onlyWasm = D, this.messageId = 0, this.mediaType = -1, this.streamType = -1, this.beginTime = "", this.timeout = 3e4, this.playbackMode = null, this.width = 0, this.height = 0, this.yLength = 0, this.uvLength = 0, this.mnVideo = null, this.mnAudio = null, this.mnWorker = null, this.playAudio = !1, this.playerState = Kt, this.decoderState = Wi, this.audioEncoding = "16bitInt", this.audioChannels = 1, this.audioSampleRate = 8e3, this.supportH264 = !1, this.supportH265 = !1, this.logger = new G.Logger("MnPlayer"), this.mnAudio = new Qn({
|
|
310
309
|
encoding: this.audioEncoding,
|
|
311
310
|
channels: this.audioChannels,
|
|
312
311
|
sampleRate: this.audioSampleRate,
|
|
@@ -362,39 +361,38 @@ class ee {
|
|
|
362
361
|
* 初始化工作者线程(码流接收、解码)
|
|
363
362
|
**/
|
|
364
363
|
initMnWorker() {
|
|
365
|
-
console.log("初始化work线程");
|
|
366
364
|
let a = this;
|
|
367
|
-
this.mnWorker = new
|
|
365
|
+
this.mnWorker = new Tr({}), this.renderMode = 0, !this.onlyWasm && this.initVideoDecoder() ? this.renderMode = 1 : (this.renderMode = 0, this.canvas != null && (this.mnVideo = new Je(this.canvas, {
|
|
368
366
|
preserveDrawingBuffer: !1
|
|
369
367
|
}))), this.mnWorker.onmessage = function(p) {
|
|
370
|
-
let
|
|
371
|
-
switch (
|
|
368
|
+
let m = p.data;
|
|
369
|
+
switch (m.t) {
|
|
372
370
|
case G.kVideoFrameOrigin:
|
|
373
|
-
a.decodeVideoFrame(
|
|
371
|
+
a.decodeVideoFrame(m.d, m.ti, m.isKey);
|
|
374
372
|
break;
|
|
375
373
|
case G.kOpenDecoderRsp:
|
|
376
|
-
a.onOpenDecoder(
|
|
374
|
+
a.onOpenDecoder(m);
|
|
377
375
|
break;
|
|
378
376
|
case G.kVideoReady:
|
|
379
|
-
a.onVideoReady(
|
|
377
|
+
a.onVideoReady(m);
|
|
380
378
|
break;
|
|
381
379
|
case G.kVideoFrame:
|
|
382
|
-
a.onVideoFrame(
|
|
383
|
-
new Date(
|
|
380
|
+
a.onVideoFrame(m), m.ti && ee.timeCallback && typeof ee.timeCallback == "function" && ee.timeCallback(
|
|
381
|
+
new Date(m.ti - 1e3 * 60 * 60 * 8).getTime()
|
|
384
382
|
);
|
|
385
383
|
break;
|
|
386
384
|
case G.kAudioFrame:
|
|
387
|
-
a.onAudioFrame(
|
|
385
|
+
a.onAudioFrame(m);
|
|
388
386
|
break;
|
|
389
387
|
case G.kNetSpeedFrame:
|
|
390
|
-
a.onNetSpeedFrame(
|
|
388
|
+
a.onNetSpeedFrame(m);
|
|
391
389
|
break;
|
|
392
390
|
case G.kStringFrame:
|
|
393
|
-
a.onStringFrame(
|
|
391
|
+
a.onStringFrame(m);
|
|
394
392
|
break;
|
|
395
393
|
case G.kSocketErrorRsp:
|
|
396
394
|
case G.kSocketCloseRsp:
|
|
397
|
-
a.stopWorker(!1), a.onStringFrame(
|
|
395
|
+
a.stopWorker(!1), a.onStringFrame(m);
|
|
398
396
|
break;
|
|
399
397
|
}
|
|
400
398
|
}, this.mnWorker.postMessage({
|
|
@@ -429,26 +427,19 @@ class ee {
|
|
|
429
427
|
/**
|
|
430
428
|
* 开始播放
|
|
431
429
|
**/
|
|
432
|
-
play(a, p,
|
|
433
|
-
console.log("播放play", a, p, y), console.log("playerState", this.playerState);
|
|
430
|
+
play(a, p, m) {
|
|
434
431
|
do {
|
|
435
432
|
if (this.playerState == Ct) {
|
|
436
433
|
this.resume();
|
|
437
434
|
break;
|
|
438
435
|
}
|
|
439
|
-
if (this.playerState == ct)
|
|
440
|
-
console.warn("正在播放中");
|
|
436
|
+
if (this.playerState == ct || a == this.mediaType && p == this.streamType)
|
|
441
437
|
break;
|
|
442
|
-
|
|
443
|
-
if (a == this.mediaType && p == this.streamType) {
|
|
444
|
-
console.log("码流相同");
|
|
445
|
-
break;
|
|
446
|
-
}
|
|
447
|
-
if (this.mediaType = a, this.streamType = p, this.beginTime = y, y == null || y.length == 0 ? this.messageId = 37121 : this.playbackMode == null ? (this.playbackMode = 0, this.messageId = 37377) : (this.playbackMode = 5, this.messageId = 37378), !this.canvas && this.mediaType != G.kMediaSpeak) {
|
|
438
|
+
if (this.mediaType = a, this.streamType = p, this.beginTime = m, m == null || m.length == 0 ? this.messageId = 37121 : this.playbackMode == null ? (this.playbackMode = 0, this.messageId = 37377) : (this.playbackMode = 5, this.messageId = 37378), !this.canvas && this.mediaType != G.kMediaSpeak) {
|
|
448
439
|
this.logger.logError("[ER] playVideo error, canvas empty.");
|
|
449
440
|
break;
|
|
450
441
|
}
|
|
451
|
-
this.mediaType != G.kMediaSpeak && this.showChannel(),
|
|
442
|
+
this.mediaType != G.kMediaSpeak && this.showChannel(), this.openStream(), this.playerState = ct;
|
|
452
443
|
} while (!1);
|
|
453
444
|
this.beginTime || (this.intervalTimer = setInterval(() => {
|
|
454
445
|
this.drawOne();
|
|
@@ -552,7 +543,6 @@ class ee {
|
|
|
552
543
|
speak(a) {
|
|
553
544
|
if (this.decoderState !== Jt)
|
|
554
545
|
return;
|
|
555
|
-
console.log(a, 2333);
|
|
556
546
|
let p = {
|
|
557
547
|
t: G.kRecorderSpeakReq,
|
|
558
548
|
d: a
|
|
@@ -633,9 +623,9 @@ class ee {
|
|
|
633
623
|
}
|
|
634
624
|
});
|
|
635
625
|
window.dispatchEvent ? window.dispatchEvent(p) : window.fireEvent(p);
|
|
636
|
-
let
|
|
626
|
+
let m = new Uint8Array(a.d);
|
|
637
627
|
this.mnVideo != null ? this.mnVideo.renderFrame(
|
|
638
|
-
|
|
628
|
+
m,
|
|
639
629
|
this.width,
|
|
640
630
|
this.height,
|
|
641
631
|
this.yLength,
|
|
@@ -660,18 +650,18 @@ class ee {
|
|
|
660
650
|
if (p.charAt(0) === "1")
|
|
661
651
|
this.showHinting(p.substr(1)), this.loading = !1;
|
|
662
652
|
else if (p.charAt(0) === "2") {
|
|
663
|
-
let
|
|
653
|
+
let m = new CustomEvent("gpsData", {
|
|
664
654
|
detail: {
|
|
665
655
|
data: p.substr(1)
|
|
666
656
|
}
|
|
667
657
|
});
|
|
668
|
-
window.dispatchEvent ? window.dispatchEvent(
|
|
658
|
+
window.dispatchEvent ? window.dispatchEvent(m) : window.fireEvent(m);
|
|
669
659
|
}
|
|
670
660
|
}
|
|
671
661
|
}
|
|
672
662
|
onNetSpeedFrame(a) {
|
|
673
|
-
let p,
|
|
674
|
-
|
|
663
|
+
let p, m = parseInt(a.d / 1024, 10);
|
|
664
|
+
m = m + "KB/S;", this.div !== void 0 && this.div !== null && (this.spedId != null && this.div.find("#" + this.spedId).remove(), this.streamType == 0 ? p = '<span id="' + this.spedId + '" style="position: absolute;bottom:0;right:0;transform:translate(-10px,-10px);font-size:2.5vh;color:white;width:auto">' + m + "</span>" : p = '<span id="' + this.spedId + '" style="position: absolute;bottom:0;right:0;transform:translate(-10px,-10px);font-size:1.0vh;color:white;width:auto">' + m + "</span>", this.div.append(p));
|
|
675
665
|
}
|
|
676
666
|
/**
|
|
677
667
|
* 显示通道号
|
|
@@ -691,7 +681,7 @@ class ee {
|
|
|
691
681
|
**/
|
|
692
682
|
showLoading() {
|
|
693
683
|
this.mediaType != G.kMediaSpeak && (this.hidePrompt(), this.loadId = "loadId", this.div != null && this.div.append(
|
|
694
|
-
'<img class="avue-home__loading" id="' + this.loadId + '" width="30" height="30" style="position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);" src="' +
|
|
684
|
+
'<img class="avue-home__loading" id="' + this.loadId + '" width="30" height="30" style="position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);" src="' + br + '" alt="loading">'
|
|
695
685
|
));
|
|
696
686
|
}
|
|
697
687
|
/**
|
|
@@ -728,7 +718,7 @@ class ee {
|
|
|
728
718
|
// H265
|
|
729
719
|
hardwareAcceleration: "prefer-hardware"
|
|
730
720
|
}, p = await VideoDecoder.isConfigSupported(a);
|
|
731
|
-
return
|
|
721
|
+
return !0;
|
|
732
722
|
} else
|
|
733
723
|
return !1;
|
|
734
724
|
} catch {
|
|
@@ -743,7 +733,7 @@ class ee {
|
|
|
743
733
|
// H264 基础配置
|
|
744
734
|
hardwareAcceleration: "prefer-hardware"
|
|
745
735
|
}, p = await VideoDecoder.isConfigSupported(a);
|
|
746
|
-
return
|
|
736
|
+
return !0;
|
|
747
737
|
} else
|
|
748
738
|
return !1;
|
|
749
739
|
} catch {
|
|
@@ -758,7 +748,7 @@ class ee {
|
|
|
758
748
|
initVideoDecoder(a = {}) {
|
|
759
749
|
if (!("VideoDecoder" in window))
|
|
760
750
|
return console.warn("VideoDecoder is not supported in this browser"), !1;
|
|
761
|
-
const
|
|
751
|
+
const m = { ...{
|
|
762
752
|
codec: "avc1.42001E",
|
|
763
753
|
// H264 基础配置
|
|
764
754
|
// codec: "avc1.640028", // H265
|
|
@@ -767,15 +757,15 @@ class ee {
|
|
|
767
757
|
// hardwareAcceleration: "prefer-hardware",
|
|
768
758
|
description: this.avcC
|
|
769
759
|
}, ...a };
|
|
770
|
-
return VideoDecoder.isConfigSupported(
|
|
760
|
+
return VideoDecoder.isConfigSupported(m).then((k) => {
|
|
771
761
|
if (!k.supported) {
|
|
772
|
-
console.warn("VideoDecoder config is not supported:",
|
|
762
|
+
console.warn("VideoDecoder config is not supported:", m);
|
|
773
763
|
return;
|
|
774
764
|
}
|
|
775
|
-
|
|
765
|
+
this.videoDecoder = new VideoDecoder({
|
|
776
766
|
output: this.handleDecodedFrame.bind(this),
|
|
777
767
|
error: this.handleDecoderError.bind(this)
|
|
778
|
-
}), this.videoDecoder.configure(
|
|
768
|
+
}), this.videoDecoder.configure(m), console.log("VideoDecoder initialized successfully");
|
|
779
769
|
}).catch((k) => {
|
|
780
770
|
console.error("Failed to initialize VideoDecoder:", k);
|
|
781
771
|
}), !0;
|
|
@@ -806,33 +796,33 @@ class ee {
|
|
|
806
796
|
return a.byteLength <= 16 ? new ArrayBuffer(0) : a.slice(0, a.byteLength - 16);
|
|
807
797
|
}
|
|
808
798
|
annexBToAvcc(a) {
|
|
809
|
-
const p = a.reduce((w, D) => w + 4 + D.length, 0),
|
|
799
|
+
const p = a.reduce((w, D) => w + 4 + D.length, 0), m = new Uint8Array(p);
|
|
810
800
|
let k = 0;
|
|
811
801
|
for (const w of a)
|
|
812
|
-
|
|
813
|
-
return
|
|
802
|
+
m[k++] = w.length >>> 24 & 255, m[k++] = w.length >>> 16 & 255, m[k++] = w.length >>> 8 & 255, m[k++] = w.length & 255, m.set(w, k), k += w.length;
|
|
803
|
+
return m;
|
|
814
804
|
}
|
|
815
805
|
splitAnnexBNalus(a) {
|
|
816
806
|
const p = [];
|
|
817
|
-
let
|
|
807
|
+
let m = 0;
|
|
818
808
|
function k(w) {
|
|
819
809
|
return a[w] === 0 && a[w + 1] === 0 && (a[w + 2] === 1 || a[w + 2] === 0 && a[w + 3] === 1);
|
|
820
810
|
}
|
|
821
|
-
for (;
|
|
822
|
-
if (!k(
|
|
823
|
-
|
|
811
|
+
for (; m < a.length; ) {
|
|
812
|
+
if (!k(m)) {
|
|
813
|
+
m++;
|
|
824
814
|
continue;
|
|
825
815
|
}
|
|
826
|
-
a[
|
|
827
|
-
const w =
|
|
816
|
+
a[m + (a[m + 2] === 1 ? 3 : 4)];
|
|
817
|
+
const w = m + (a[m + 2] === 1 ? 3 : 4);
|
|
828
818
|
let D = w;
|
|
829
819
|
for (; D < a.length && !k(D); ) D++;
|
|
830
|
-
p.push(a.subarray(w, D)),
|
|
820
|
+
p.push(a.subarray(w, D)), m = D;
|
|
831
821
|
}
|
|
832
822
|
return p;
|
|
833
823
|
}
|
|
834
824
|
extractSpsPps(a) {
|
|
835
|
-
let p = null,
|
|
825
|
+
let p = null, m = null, k = 0;
|
|
836
826
|
for (; k + 4 < a.length; )
|
|
837
827
|
if (a[k] === 0 && a[k + 1] === 0 && (a[k + 2] === 1 || a[k + 2] === 0 && a[k + 3] === 1)) {
|
|
838
828
|
const w = a[k + 2] === 1 ? 3 : 4, D = k + w, $ = a[D] & 31;
|
|
@@ -840,28 +830,28 @@ class ee {
|
|
|
840
830
|
for (; q + 3 < a.length && !(a[q] === 0 && a[q + 1] === 0 && (a[q + 2] === 1 || a[q + 2] === 0 && a[q + 3] === 1)); )
|
|
841
831
|
q++;
|
|
842
832
|
const F = a.slice(D, q);
|
|
843
|
-
if ($ === 7 && !p && (p = F), $ === 8 && !
|
|
833
|
+
if ($ === 7 && !p && (p = F), $ === 8 && !m && (m = F), $ === 32 && !p && (p = F), $ === 33 && !m && (m = F), p && m) break;
|
|
844
834
|
k = q;
|
|
845
835
|
} else
|
|
846
836
|
k++;
|
|
847
|
-
return { sps: p, pps:
|
|
837
|
+
return { sps: p, pps: m };
|
|
848
838
|
}
|
|
849
839
|
extractVpsSpsPps(a) {
|
|
850
840
|
const p = [];
|
|
851
|
-
let
|
|
841
|
+
let m = 0;
|
|
852
842
|
function k(q) {
|
|
853
843
|
for (let F = q; F + 3 < a.length; F++)
|
|
854
844
|
if (a[F] === 0 && a[F + 1] === 0 && (a[F + 2] === 1 || a[F + 2] === 0 && a[F + 3] === 1))
|
|
855
845
|
return F;
|
|
856
846
|
return -1;
|
|
857
847
|
}
|
|
858
|
-
for (;
|
|
859
|
-
const q = k(
|
|
848
|
+
for (; m < a.length; ) {
|
|
849
|
+
const q = k(m);
|
|
860
850
|
if (q === -1) break;
|
|
861
851
|
let F = a[q + 2] === 1 ? 3 : 4, re = q + F, Z = k(re);
|
|
862
852
|
Z === -1 && (Z = a.length);
|
|
863
853
|
const ie = a.subarray(re, Z), de = ie[0] >> 1 & 63;
|
|
864
|
-
(de === 32 || de === 33 || de === 34) && p.push({ type: de, data: ie }),
|
|
854
|
+
(de === 32 || de === 33 || de === 34) && p.push({ type: de, data: ie }), m = Z;
|
|
865
855
|
}
|
|
866
856
|
const w = p.find((q) => q.type === 32)?.data, D = p.find((q) => q.type === 33)?.data, $ = p.find((q) => q.type === 34)?.data;
|
|
867
857
|
return { vps: w, sps: D, pps: $ };
|
|
@@ -869,8 +859,8 @@ class ee {
|
|
|
869
859
|
guessCodec(a) {
|
|
870
860
|
if (a.length < 1) return null;
|
|
871
861
|
if ((a[0] & 31) === 7) return "H.264";
|
|
872
|
-
const
|
|
873
|
-
return
|
|
862
|
+
const m = a[0] >> 1 & 63;
|
|
863
|
+
return m === 32 || m === 33 ? "H.265" : "unknown";
|
|
874
864
|
}
|
|
875
865
|
parseNalUnitType(a) {
|
|
876
866
|
let p = 0;
|
|
@@ -898,27 +888,27 @@ class ee {
|
|
|
898
888
|
p++;
|
|
899
889
|
}
|
|
900
890
|
if (p >= a.length) return "unknown";
|
|
901
|
-
const
|
|
891
|
+
const m = a[p], k = m & 31, w = m >> 1 & 63;
|
|
902
892
|
return k >= 1 && k <= 12 ? "h264" : w >= 0 && w <= 40 ? "h265" : "unknown";
|
|
903
893
|
}
|
|
904
894
|
makeAvcC(a, p) {
|
|
905
|
-
const
|
|
895
|
+
const m = a.length, k = p.length, w = new Uint8Array(8 + m + 3 + k);
|
|
906
896
|
let D = 0;
|
|
907
|
-
return w[D++] = 1, w[D++] = a[1], w[D++] = a[2], w[D++] = a[3], w[D++] = 255, w[D++] = 225, w[D++] =
|
|
897
|
+
return w[D++] = 1, w[D++] = a[1], w[D++] = a[2], w[D++] = a[3], w[D++] = 255, w[D++] = 225, w[D++] = m >> 8 & 255, w[D++] = m & 255, w.set(a, D), D += m, w[D++] = 1, w[D++] = k >> 8 & 255, w[D++] = k & 255, w.set(p, D), w;
|
|
908
898
|
}
|
|
909
899
|
/**
|
|
910
900
|
* 解码视频帧
|
|
911
901
|
* @param {ArrayBuffer} data - 视频帧数据
|
|
912
902
|
* @param {number} timestamp - 时间戳
|
|
913
903
|
*/
|
|
914
|
-
decodeVideoFrame(a, p,
|
|
904
|
+
decodeVideoFrame(a, p, m = !1) {
|
|
915
905
|
if (!this.videoDecoder) {
|
|
916
906
|
console.warn("VideoDecoder is not initialized");
|
|
917
907
|
return;
|
|
918
908
|
}
|
|
919
909
|
if (!this.isFirstLoad) {
|
|
920
910
|
const k = this.detectVideoCodec(a);
|
|
921
|
-
if (
|
|
911
|
+
if (k === "unknown") return;
|
|
922
912
|
if (k == "h264") {
|
|
923
913
|
let $ = function(F) {
|
|
924
914
|
const re = F[1], Z = F[2], ie = F[3];
|
|
@@ -929,13 +919,13 @@ class ee {
|
|
|
929
919
|
if (!w || !D) return;
|
|
930
920
|
this.sps = w, this.pps = D, this.avcC = this.makeAvcC(w, D), console.warn("avcC", this.avcC);
|
|
931
921
|
let q = $(w);
|
|
932
|
-
if (
|
|
922
|
+
if (this.videoDecoder.configure({
|
|
933
923
|
codec: q,
|
|
934
924
|
// ⚠️ 要和 SPS 一致
|
|
935
925
|
codedWidth: this.width || 640,
|
|
936
926
|
codedHeight: this.height || 480,
|
|
937
927
|
description: this.avcC
|
|
938
|
-
}), this.t = 0,
|
|
928
|
+
}), this.t = 0, m)
|
|
939
929
|
this.isFirstLoad = !0;
|
|
940
930
|
else
|
|
941
931
|
return;
|
|
@@ -947,7 +937,7 @@ class ee {
|
|
|
947
937
|
codec: "hev1.1.6.L93.B0"
|
|
948
938
|
// codedWidth: this.width || 640,
|
|
949
939
|
// codedHeight: this.height || 480,
|
|
950
|
-
}),
|
|
940
|
+
}), m)
|
|
951
941
|
this.isFirstLoad = !0;
|
|
952
942
|
else
|
|
953
943
|
return;
|
|
@@ -956,7 +946,7 @@ class ee {
|
|
|
956
946
|
if (this.frameType == "h264") {
|
|
957
947
|
let k = this.annexBToAvcc(this.splitAnnexBNalus(a)), w = 33333;
|
|
958
948
|
const D = new EncodedVideoChunk({
|
|
959
|
-
type:
|
|
949
|
+
type: m ? "key" : "delta",
|
|
960
950
|
// 根据是否关键帧设置类型
|
|
961
951
|
// type: "key", // 根据是否关键帧设置类型
|
|
962
952
|
// data: this.dropLast16Bytes(data),
|
|
@@ -970,7 +960,7 @@ class ee {
|
|
|
970
960
|
} else {
|
|
971
961
|
let k = 33333;
|
|
972
962
|
const w = new EncodedVideoChunk({
|
|
973
|
-
type:
|
|
963
|
+
type: m ? "key" : "delta",
|
|
974
964
|
// 根据是否关键帧设置类型
|
|
975
965
|
// data: this.dropLast16Bytes(data),
|
|
976
966
|
data: a,
|
|
@@ -994,7 +984,7 @@ class ee {
|
|
|
994
984
|
**/
|
|
995
985
|
changeSpeed(a = 1, p = "") {
|
|
996
986
|
this.isSupportH265();
|
|
997
|
-
let
|
|
987
|
+
let m = /* @__PURE__ */ new Map([
|
|
998
988
|
[1, 1],
|
|
999
989
|
[2, 2],
|
|
1000
990
|
[4, 3],
|
|
@@ -1005,11 +995,11 @@ class ee {
|
|
|
1005
995
|
let w = {
|
|
1006
996
|
t: G.kReplaySpeed,
|
|
1007
997
|
time: p,
|
|
1008
|
-
d:
|
|
998
|
+
d: m.get(a) || 1,
|
|
1009
999
|
v: a,
|
|
1010
1000
|
playbackMode: k
|
|
1011
1001
|
};
|
|
1012
|
-
console.log("changeSpeed", a,
|
|
1002
|
+
console.log("changeSpeed", a, m.get(a)), this.speed = a, this.mnAudio.speed(a), this.speedValue = m.get(a), this.mnWorker.postMessage(w);
|
|
1013
1003
|
}
|
|
1014
1004
|
}
|
|
1015
1005
|
function wr(R) {
|
|
@@ -1020,17 +1010,17 @@ var Sr = kt.exports, _i;
|
|
|
1020
1010
|
function Cr() {
|
|
1021
1011
|
return _i || (_i = 1, (function(R) {
|
|
1022
1012
|
(function(a, p) {
|
|
1023
|
-
R.exports = a.document ? p(a, !0) : function(
|
|
1024
|
-
if (!
|
|
1013
|
+
R.exports = a.document ? p(a, !0) : function(m) {
|
|
1014
|
+
if (!m.document)
|
|
1025
1015
|
throw new Error("jQuery requires a window with a document");
|
|
1026
|
-
return p(
|
|
1016
|
+
return p(m);
|
|
1027
1017
|
};
|
|
1028
1018
|
})(typeof window < "u" ? window : Sr, function(a, p) {
|
|
1029
|
-
var
|
|
1030
|
-
return
|
|
1019
|
+
var m = [], k = Object.getPrototypeOf, w = m.slice, D = m.flat ? function(e) {
|
|
1020
|
+
return m.flat.call(e);
|
|
1031
1021
|
} : function(e) {
|
|
1032
|
-
return
|
|
1033
|
-
}, $ =
|
|
1022
|
+
return m.concat.apply([], e);
|
|
1023
|
+
}, $ = m.push, q = m.indexOf, F = {}, re = F.toString, Z = F.hasOwnProperty, ie = Z.toString, de = ie.call(Object), M = {}, W = function(t) {
|
|
1034
1024
|
return typeof t == "function" && typeof t.nodeType != "number" && typeof t.item != "function";
|
|
1035
1025
|
}, Ne = function(t) {
|
|
1036
1026
|
return t != null && t === t.window;
|
|
@@ -1042,16 +1032,16 @@ function Cr() {
|
|
|
1042
1032
|
};
|
|
1043
1033
|
function Ke(e, t, i) {
|
|
1044
1034
|
i = i || L;
|
|
1045
|
-
var n,
|
|
1046
|
-
if (
|
|
1035
|
+
var n, s, o = i.createElement("script");
|
|
1036
|
+
if (o.text = e, t)
|
|
1047
1037
|
for (n in Le)
|
|
1048
|
-
|
|
1049
|
-
i.head.appendChild(
|
|
1038
|
+
s = t[n] || t.getAttribute && t.getAttribute(n), s && o.setAttribute(n, s);
|
|
1039
|
+
i.head.appendChild(o).parentNode.removeChild(o);
|
|
1050
1040
|
}
|
|
1051
1041
|
function We(e) {
|
|
1052
1042
|
return e == null ? e + "" : typeof e == "object" || typeof e == "function" ? F[re.call(e)] || "object" : typeof e;
|
|
1053
1043
|
}
|
|
1054
|
-
var Zt = "3.7.1",
|
|
1044
|
+
var Zt = "3.7.1", Bi = /HTML$/i, r = function(e, t) {
|
|
1055
1045
|
return new r.fn.init(e, t);
|
|
1056
1046
|
};
|
|
1057
1047
|
r.fn = r.prototype = {
|
|
@@ -1112,14 +1102,14 @@ function Cr() {
|
|
|
1112
1102
|
// For internal use only.
|
|
1113
1103
|
// Behaves like an Array's method, not like a jQuery method.
|
|
1114
1104
|
push: $,
|
|
1115
|
-
sort:
|
|
1116
|
-
splice:
|
|
1105
|
+
sort: m.sort,
|
|
1106
|
+
splice: m.splice
|
|
1117
1107
|
}, r.extend = r.fn.extend = function() {
|
|
1118
|
-
var e, t, i, n,
|
|
1119
|
-
for (typeof u == "boolean" && (h = u, u = arguments[c] || {}, c++), typeof u != "object" && !W(u) && (u = {}), c ===
|
|
1108
|
+
var e, t, i, n, s, o, u = arguments[0] || {}, c = 1, l = arguments.length, h = !1;
|
|
1109
|
+
for (typeof u == "boolean" && (h = u, u = arguments[c] || {}, c++), typeof u != "object" && !W(u) && (u = {}), c === l && (u = this, c--); c < l; c++)
|
|
1120
1110
|
if ((e = arguments[c]) != null)
|
|
1121
1111
|
for (t in e)
|
|
1122
|
-
n = e[t], !(t === "__proto__" || u === n) && (h && n && (r.isPlainObject(n) || (
|
|
1112
|
+
n = e[t], !(t === "__proto__" || u === n) && (h && n && (r.isPlainObject(n) || (s = Array.isArray(n))) ? (i = u[t], s && !Array.isArray(i) ? o = [] : !s && !r.isPlainObject(i) ? o = {} : o = i, s = !1, u[t] = r.extend(h, o, n)) : n !== void 0 && (u[t] = n));
|
|
1123
1113
|
return u;
|
|
1124
1114
|
}, r.extend({
|
|
1125
1115
|
// Unique for each copy of jQuery on the page
|
|
@@ -1159,11 +1149,11 @@ function Cr() {
|
|
|
1159
1149
|
},
|
|
1160
1150
|
// Retrieve the text value of an array of DOM nodes
|
|
1161
1151
|
text: function(e) {
|
|
1162
|
-
var t, i = "", n = 0,
|
|
1163
|
-
if (!
|
|
1152
|
+
var t, i = "", n = 0, s = e.nodeType;
|
|
1153
|
+
if (!s)
|
|
1164
1154
|
for (; t = e[n++]; )
|
|
1165
1155
|
i += r.text(t);
|
|
1166
|
-
return
|
|
1156
|
+
return s === 1 || s === 11 ? e.textContent : s === 9 ? e.documentElement.textContent : s === 3 || s === 4 ? e.nodeValue : i;
|
|
1167
1157
|
},
|
|
1168
1158
|
// results is for internal usage only
|
|
1169
1159
|
makeArray: function(e, t) {
|
|
@@ -1178,37 +1168,37 @@ function Cr() {
|
|
|
1178
1168
|
},
|
|
1179
1169
|
isXMLDoc: function(e) {
|
|
1180
1170
|
var t = e && e.namespaceURI, i = e && (e.ownerDocument || e).documentElement;
|
|
1181
|
-
return !
|
|
1171
|
+
return !Bi.test(t || i && i.nodeName || "HTML");
|
|
1182
1172
|
},
|
|
1183
1173
|
// Support: Android <=4.0 only, PhantomJS 1 only
|
|
1184
1174
|
// push.apply(_, arraylike) throws on ancient WebKit
|
|
1185
1175
|
merge: function(e, t) {
|
|
1186
|
-
for (var i = +t.length, n = 0,
|
|
1187
|
-
e[
|
|
1188
|
-
return e.length =
|
|
1176
|
+
for (var i = +t.length, n = 0, s = e.length; n < i; n++)
|
|
1177
|
+
e[s++] = t[n];
|
|
1178
|
+
return e.length = s, e;
|
|
1189
1179
|
},
|
|
1190
1180
|
grep: function(e, t, i) {
|
|
1191
|
-
for (var n,
|
|
1192
|
-
n = !t(e[
|
|
1193
|
-
return
|
|
1181
|
+
for (var n, s = [], o = 0, u = e.length, c = !i; o < u; o++)
|
|
1182
|
+
n = !t(e[o], o), n !== c && s.push(e[o]);
|
|
1183
|
+
return s;
|
|
1194
1184
|
},
|
|
1195
1185
|
// arg is for internal usage only
|
|
1196
1186
|
map: function(e, t, i) {
|
|
1197
|
-
var n,
|
|
1187
|
+
var n, s, o = 0, u = [];
|
|
1198
1188
|
if (Et(e))
|
|
1199
|
-
for (n = e.length;
|
|
1200
|
-
|
|
1189
|
+
for (n = e.length; o < n; o++)
|
|
1190
|
+
s = t(e[o], o, i), s != null && u.push(s);
|
|
1201
1191
|
else
|
|
1202
|
-
for (
|
|
1203
|
-
|
|
1192
|
+
for (o in e)
|
|
1193
|
+
s = t(e[o], o, i), s != null && u.push(s);
|
|
1204
1194
|
return D(u);
|
|
1205
1195
|
},
|
|
1206
1196
|
// A global GUID counter for objects
|
|
1207
1197
|
guid: 1,
|
|
1208
1198
|
// jQuery.support is not used in Core but other projects attach their
|
|
1209
1199
|
// properties to it so it needs to exist.
|
|
1210
|
-
support:
|
|
1211
|
-
}), typeof Symbol == "function" && (r.fn[Symbol.iterator] =
|
|
1200
|
+
support: M
|
|
1201
|
+
}), typeof Symbol == "function" && (r.fn[Symbol.iterator] = m[Symbol.iterator]), r.each(
|
|
1212
1202
|
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
|
|
1213
1203
|
function(e, t) {
|
|
1214
1204
|
F["[object " + t + "]"] = t.toLowerCase();
|
|
@@ -1221,7 +1211,7 @@ function Cr() {
|
|
|
1221
1211
|
function K(e, t) {
|
|
1222
1212
|
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
|
|
1223
1213
|
}
|
|
1224
|
-
var
|
|
1214
|
+
var Vi = m.pop, Ui = m.sort, $i = m.splice, Q = "[\\x20\\t\\r\\n\\f]", Ze = new RegExp(
|
|
1225
1215
|
"^" + Q + "+|((?:^|[^\\\\])(?:\\\\.)*)" + Q + "+$",
|
|
1226
1216
|
"g"
|
|
1227
1217
|
);
|
|
@@ -1231,20 +1221,20 @@ function Cr() {
|
|
|
1231
1221
|
// IE doesn't have `contains` on SVG.
|
|
1232
1222
|
(e.contains ? e.contains(i) : e.compareDocumentPosition && e.compareDocumentPosition(i) & 16));
|
|
1233
1223
|
};
|
|
1234
|
-
var
|
|
1235
|
-
function
|
|
1224
|
+
var zi = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
|
|
1225
|
+
function Xi(e, t) {
|
|
1236
1226
|
return t ? e === "\0" ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e;
|
|
1237
1227
|
}
|
|
1238
1228
|
r.escapeSelector = function(e) {
|
|
1239
|
-
return (e + "").replace(
|
|
1229
|
+
return (e + "").replace(zi, Xi);
|
|
1240
1230
|
};
|
|
1241
1231
|
var ke = L, At = $;
|
|
1242
1232
|
(function() {
|
|
1243
|
-
var e, t, i, n,
|
|
1244
|
-
return
|
|
1233
|
+
var e, t, i, n, s, o = At, u, c, l, h, x, T = r.expando, y = 0, S = 0, P = bt(), z = bt(), _ = bt(), se = bt(), ne = function(f, d) {
|
|
1234
|
+
return f === d && (s = !0), 0;
|
|
1245
1235
|
}, be = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", Te = "(?:\\\\[\\da-fA-F]{1,6}" + Q + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", U = "\\[" + Q + "*(" + Te + ")(?:" + Q + // Operator (capture 2)
|
|
1246
1236
|
"*([*^$|!~]?=)" + Q + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
1247
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + Te + "))|)" + Q + "*\\]", Fe = ":(" + Te + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + U + ")*)|.*)\\)|)", X = new RegExp(Q + "+", "g"), te = new RegExp("^" + Q + "*," + Q + "*"), ut = new RegExp("^" + Q + "*([>+~]|" + Q + ")" + Q + "*"), Ut = new RegExp(Q + "|>"), we = new RegExp(Fe),
|
|
1237
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + Te + "))|)" + Q + "*\\]", Fe = ":(" + Te + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + U + ")*)|.*)\\)|)", X = new RegExp(Q + "+", "g"), te = new RegExp("^" + Q + "*," + Q + "*"), ut = new RegExp("^" + Q + "*([>+~]|" + Q + ")" + Q + "*"), Ut = new RegExp(Q + "|>"), we = new RegExp(Fe), ft = new RegExp("^" + Te + "$"), Se = {
|
|
1248
1238
|
ID: new RegExp("^#(" + Te + ")"),
|
|
1249
1239
|
CLASS: new RegExp("^\\.(" + Te + ")"),
|
|
1250
1240
|
TAG: new RegExp("^(" + Te + "|[*])"),
|
|
@@ -1258,30 +1248,30 @@ function Cr() {
|
|
|
1258
1248
|
// For use in libraries implementing .is()
|
|
1259
1249
|
// We use this for POS matching in `select`
|
|
1260
1250
|
needsContext: new RegExp("^" + Q + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + Q + "*((?:-\\d)?\\d*)" + Q + "*\\)|)(?=[^-]|$)", "i")
|
|
1261
|
-
}, Ie = /^(?:input|select|textarea|button)$/i, qe = /^h\d$/i, pe = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $t = /[+~]/, De = new RegExp("\\\\[\\da-fA-F]{1,6}" + Q + "?|\\\\([^\\r\\n\\f])", "g"), Re = function(
|
|
1262
|
-
var g = "0x" +
|
|
1251
|
+
}, Ie = /^(?:input|select|textarea|button)$/i, qe = /^h\d$/i, pe = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $t = /[+~]/, De = new RegExp("\\\\[\\da-fA-F]{1,6}" + Q + "?|\\\\([^\\r\\n\\f])", "g"), Re = function(f, d) {
|
|
1252
|
+
var g = "0x" + f.slice(1) - 65536;
|
|
1263
1253
|
return d || (g < 0 ? String.fromCharCode(g + 65536) : String.fromCharCode(g >> 10 | 55296, g & 1023 | 56320));
|
|
1264
|
-
},
|
|
1265
|
-
|
|
1266
|
-
},
|
|
1267
|
-
function(
|
|
1268
|
-
return
|
|
1254
|
+
}, Vn = function() {
|
|
1255
|
+
je();
|
|
1256
|
+
}, Un = wt(
|
|
1257
|
+
function(f) {
|
|
1258
|
+
return f.disabled === !0 && K(f, "fieldset");
|
|
1269
1259
|
},
|
|
1270
1260
|
{ dir: "parentNode", next: "legend" }
|
|
1271
1261
|
);
|
|
1272
|
-
function
|
|
1262
|
+
function $n() {
|
|
1273
1263
|
try {
|
|
1274
1264
|
return u.activeElement;
|
|
1275
1265
|
} catch {
|
|
1276
1266
|
}
|
|
1277
1267
|
}
|
|
1278
1268
|
try {
|
|
1279
|
-
|
|
1280
|
-
|
|
1269
|
+
o.apply(
|
|
1270
|
+
m = w.call(ke.childNodes),
|
|
1281
1271
|
ke.childNodes
|
|
1282
|
-
),
|
|
1272
|
+
), m[ke.childNodes.length].nodeType;
|
|
1283
1273
|
} catch {
|
|
1284
|
-
|
|
1274
|
+
o = {
|
|
1285
1275
|
apply: function(d, g) {
|
|
1286
1276
|
At.apply(d, w.call(g));
|
|
1287
1277
|
},
|
|
@@ -1290,119 +1280,119 @@ function Cr() {
|
|
|
1290
1280
|
}
|
|
1291
1281
|
};
|
|
1292
1282
|
}
|
|
1293
|
-
function Y(
|
|
1283
|
+
function Y(f, d, g, v) {
|
|
1294
1284
|
var b, C, E, N, A, B, H, O = d && d.ownerDocument, V = d ? d.nodeType : 9;
|
|
1295
|
-
if (g = g || [], typeof
|
|
1285
|
+
if (g = g || [], typeof f != "string" || !f || V !== 1 && V !== 9 && V !== 11)
|
|
1296
1286
|
return g;
|
|
1297
|
-
if (!v && (
|
|
1298
|
-
if (V !== 11 && (A = pe.exec(
|
|
1287
|
+
if (!v && (je(d), d = d || u, l)) {
|
|
1288
|
+
if (V !== 11 && (A = pe.exec(f)))
|
|
1299
1289
|
if (b = A[1]) {
|
|
1300
1290
|
if (V === 9)
|
|
1301
1291
|
if (E = d.getElementById(b)) {
|
|
1302
1292
|
if (E.id === b)
|
|
1303
|
-
return
|
|
1293
|
+
return o.call(g, E), g;
|
|
1304
1294
|
} else
|
|
1305
1295
|
return g;
|
|
1306
1296
|
else if (O && (E = O.getElementById(b)) && Y.contains(d, E) && E.id === b)
|
|
1307
|
-
return
|
|
1297
|
+
return o.call(g, E), g;
|
|
1308
1298
|
} else {
|
|
1309
1299
|
if (A[2])
|
|
1310
|
-
return
|
|
1300
|
+
return o.apply(g, d.getElementsByTagName(f)), g;
|
|
1311
1301
|
if ((b = A[3]) && d.getElementsByClassName)
|
|
1312
|
-
return
|
|
1302
|
+
return o.apply(g, d.getElementsByClassName(b)), g;
|
|
1313
1303
|
}
|
|
1314
|
-
if (!
|
|
1315
|
-
if (H =
|
|
1316
|
-
for (O = $t.test(
|
|
1304
|
+
if (!se[f + " "] && (!h || !h.test(f))) {
|
|
1305
|
+
if (H = f, O = d, V === 1 && (Ut.test(f) || ut.test(f))) {
|
|
1306
|
+
for (O = $t.test(f) && zt(d.parentNode) || d, (O != d || !M.scope) && ((N = d.getAttribute("id")) ? N = r.escapeSelector(N) : d.setAttribute("id", N = T)), B = lt(f), C = B.length; C--; )
|
|
1317
1307
|
B[C] = (N ? "#" + N : ":scope") + " " + Tt(B[C]);
|
|
1318
1308
|
H = B.join(",");
|
|
1319
1309
|
}
|
|
1320
1310
|
try {
|
|
1321
|
-
return
|
|
1311
|
+
return o.apply(
|
|
1322
1312
|
g,
|
|
1323
1313
|
O.querySelectorAll(H)
|
|
1324
1314
|
), g;
|
|
1325
1315
|
} catch {
|
|
1326
|
-
|
|
1316
|
+
se(f, !0);
|
|
1327
1317
|
} finally {
|
|
1328
1318
|
N === T && d.removeAttribute("id");
|
|
1329
1319
|
}
|
|
1330
1320
|
}
|
|
1331
1321
|
}
|
|
1332
|
-
return Oi(
|
|
1322
|
+
return Oi(f.replace(Ze, "$1"), d, g, v);
|
|
1333
1323
|
}
|
|
1334
1324
|
function bt() {
|
|
1335
|
-
var
|
|
1325
|
+
var f = [];
|
|
1336
1326
|
function d(g, v) {
|
|
1337
|
-
return
|
|
1327
|
+
return f.push(g + " ") > t.cacheLength && delete d[f.shift()], d[g + " "] = v;
|
|
1338
1328
|
}
|
|
1339
1329
|
return d;
|
|
1340
1330
|
}
|
|
1341
|
-
function me(
|
|
1342
|
-
return
|
|
1331
|
+
function me(f) {
|
|
1332
|
+
return f[T] = !0, f;
|
|
1343
1333
|
}
|
|
1344
|
-
function Ye(
|
|
1334
|
+
function Ye(f) {
|
|
1345
1335
|
var d = u.createElement("fieldset");
|
|
1346
1336
|
try {
|
|
1347
|
-
return !!
|
|
1337
|
+
return !!f(d);
|
|
1348
1338
|
} catch {
|
|
1349
1339
|
return !1;
|
|
1350
1340
|
} finally {
|
|
1351
1341
|
d.parentNode && d.parentNode.removeChild(d), d = null;
|
|
1352
1342
|
}
|
|
1353
1343
|
}
|
|
1354
|
-
function
|
|
1344
|
+
function zn(f) {
|
|
1355
1345
|
return function(d) {
|
|
1356
|
-
return K(d, "input") && d.type ===
|
|
1346
|
+
return K(d, "input") && d.type === f;
|
|
1357
1347
|
};
|
|
1358
1348
|
}
|
|
1359
|
-
function
|
|
1349
|
+
function Xn(f) {
|
|
1360
1350
|
return function(d) {
|
|
1361
|
-
return (K(d, "input") || K(d, "button")) && d.type ===
|
|
1351
|
+
return (K(d, "input") || K(d, "button")) && d.type === f;
|
|
1362
1352
|
};
|
|
1363
1353
|
}
|
|
1364
|
-
function Pi(
|
|
1354
|
+
function Pi(f) {
|
|
1365
1355
|
return function(d) {
|
|
1366
|
-
return "form" in d ? d.parentNode && d.disabled === !1 ? "label" in d ? "label" in d.parentNode ? d.parentNode.disabled ===
|
|
1367
|
-
d.isDisabled !== !
|
|
1356
|
+
return "form" in d ? d.parentNode && d.disabled === !1 ? "label" in d ? "label" in d.parentNode ? d.parentNode.disabled === f : d.disabled === f : d.isDisabled === f || // Where there is no isDisabled, check manually
|
|
1357
|
+
d.isDisabled !== !f && Un(d) === f : d.disabled === f : "label" in d ? d.disabled === f : !1;
|
|
1368
1358
|
};
|
|
1369
1359
|
}
|
|
1370
|
-
function Oe(
|
|
1360
|
+
function Oe(f) {
|
|
1371
1361
|
return me(function(d) {
|
|
1372
1362
|
return d = +d, me(function(g, v) {
|
|
1373
|
-
for (var b, C =
|
|
1363
|
+
for (var b, C = f([], g.length, d), E = C.length; E--; )
|
|
1374
1364
|
g[b = C[E]] && (g[b] = !(v[b] = g[b]));
|
|
1375
1365
|
});
|
|
1376
1366
|
});
|
|
1377
1367
|
}
|
|
1378
|
-
function zt(
|
|
1379
|
-
return
|
|
1368
|
+
function zt(f) {
|
|
1369
|
+
return f && typeof f.getElementsByTagName < "u" && f;
|
|
1380
1370
|
}
|
|
1381
|
-
function
|
|
1382
|
-
var d, g =
|
|
1383
|
-
return g == u || g.nodeType !== 9 || !g.documentElement || (u = g, c = u.documentElement,
|
|
1371
|
+
function je(f) {
|
|
1372
|
+
var d, g = f ? f.ownerDocument || f : ke;
|
|
1373
|
+
return g == u || g.nodeType !== 9 || !g.documentElement || (u = g, c = u.documentElement, l = !r.isXMLDoc(u), x = c.matches || c.webkitMatchesSelector || c.msMatchesSelector, c.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
|
|
1384
1374
|
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
1385
1375
|
// two documents; shallow comparisons work.
|
|
1386
1376
|
// eslint-disable-next-line eqeqeq
|
|
1387
|
-
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload",
|
|
1377
|
+
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload", Vn), M.getById = Ye(function(v) {
|
|
1388
1378
|
return c.appendChild(v).id = r.expando, !u.getElementsByName || !u.getElementsByName(r.expando).length;
|
|
1389
|
-
}),
|
|
1379
|
+
}), M.disconnectedMatch = Ye(function(v) {
|
|
1390
1380
|
return x.call(v, "*");
|
|
1391
|
-
}),
|
|
1381
|
+
}), M.scope = Ye(function() {
|
|
1392
1382
|
return u.querySelectorAll(":scope");
|
|
1393
|
-
}),
|
|
1383
|
+
}), M.cssHas = Ye(function() {
|
|
1394
1384
|
try {
|
|
1395
1385
|
return u.querySelector(":has(*,:jqfake)"), !1;
|
|
1396
1386
|
} catch {
|
|
1397
1387
|
return !0;
|
|
1398
1388
|
}
|
|
1399
|
-
}),
|
|
1389
|
+
}), M.getById ? (t.filter.ID = function(v) {
|
|
1400
1390
|
var b = v.replace(De, Re);
|
|
1401
1391
|
return function(C) {
|
|
1402
1392
|
return C.getAttribute("id") === b;
|
|
1403
1393
|
};
|
|
1404
1394
|
}, t.find.ID = function(v, b) {
|
|
1405
|
-
if (typeof b.getElementById < "u" &&
|
|
1395
|
+
if (typeof b.getElementById < "u" && l) {
|
|
1406
1396
|
var C = b.getElementById(v);
|
|
1407
1397
|
return C ? [C] : [];
|
|
1408
1398
|
}
|
|
@@ -1413,7 +1403,7 @@ function Cr() {
|
|
|
1413
1403
|
return E && E.value === b;
|
|
1414
1404
|
};
|
|
1415
1405
|
}, t.find.ID = function(v, b) {
|
|
1416
|
-
if (typeof b.getElementById < "u" &&
|
|
1406
|
+
if (typeof b.getElementById < "u" && l) {
|
|
1417
1407
|
var C, E, N, A = b.getElementById(v);
|
|
1418
1408
|
if (A) {
|
|
1419
1409
|
if (C = A.getAttributeNode("id"), C && C.value === v)
|
|
@@ -1427,52 +1417,52 @@ function Cr() {
|
|
|
1427
1417
|
}), t.find.TAG = function(v, b) {
|
|
1428
1418
|
return typeof b.getElementsByTagName < "u" ? b.getElementsByTagName(v) : b.querySelectorAll(v);
|
|
1429
1419
|
}, t.find.CLASS = function(v, b) {
|
|
1430
|
-
if (typeof b.getElementsByClassName < "u" &&
|
|
1420
|
+
if (typeof b.getElementsByClassName < "u" && l)
|
|
1431
1421
|
return b.getElementsByClassName(v);
|
|
1432
1422
|
}, h = [], Ye(function(v) {
|
|
1433
1423
|
var b;
|
|
1434
1424
|
c.appendChild(v).innerHTML = "<a id='" + T + "' href='' disabled='disabled'></a><select id='" + T + "-\r\\' disabled='disabled'><option selected=''></option></select>", v.querySelectorAll("[selected]").length || h.push("\\[" + Q + "*(?:value|" + be + ")"), v.querySelectorAll("[id~=" + T + "-]").length || h.push("~="), v.querySelectorAll("a#" + T + "+*").length || h.push(".#.+[+~]"), v.querySelectorAll(":checked").length || h.push(":checked"), b = u.createElement("input"), b.setAttribute("type", "hidden"), v.appendChild(b).setAttribute("name", "D"), c.appendChild(v).disabled = !0, v.querySelectorAll(":disabled").length !== 2 && h.push(":enabled", ":disabled"), b = u.createElement("input"), b.setAttribute("name", ""), v.appendChild(b), v.querySelectorAll("[name='']").length || h.push("\\[" + Q + "*name" + Q + "*=" + Q + `*(?:''|"")`);
|
|
1435
|
-
}),
|
|
1425
|
+
}), M.cssHas || h.push(":has"), h = h.length && new RegExp(h.join("|")), ne = function(v, b) {
|
|
1436
1426
|
if (v === b)
|
|
1437
|
-
return
|
|
1427
|
+
return s = !0, 0;
|
|
1438
1428
|
var C = !v.compareDocumentPosition - !b.compareDocumentPosition;
|
|
1439
1429
|
return C || (C = (v.ownerDocument || v) == (b.ownerDocument || b) ? v.compareDocumentPosition(b) : (
|
|
1440
1430
|
// Otherwise we know they are disconnected
|
|
1441
1431
|
1
|
|
1442
|
-
), C & 1 || !
|
|
1432
|
+
), C & 1 || !M.sortDetached && b.compareDocumentPosition(v) === C ? v === u || v.ownerDocument == ke && Y.contains(ke, v) ? -1 : b === u || b.ownerDocument == ke && Y.contains(ke, b) ? 1 : n ? q.call(n, v) - q.call(n, b) : 0 : C & 4 ? -1 : 1);
|
|
1443
1433
|
}), u;
|
|
1444
1434
|
}
|
|
1445
|
-
Y.matches = function(
|
|
1446
|
-
return Y(
|
|
1447
|
-
}, Y.matchesSelector = function(
|
|
1448
|
-
if (
|
|
1435
|
+
Y.matches = function(f, d) {
|
|
1436
|
+
return Y(f, null, null, d);
|
|
1437
|
+
}, Y.matchesSelector = function(f, d) {
|
|
1438
|
+
if (je(f), l && !se[d + " "] && (!h || !h.test(d)))
|
|
1449
1439
|
try {
|
|
1450
|
-
var g = x.call(
|
|
1451
|
-
if (g ||
|
|
1440
|
+
var g = x.call(f, d);
|
|
1441
|
+
if (g || M.disconnectedMatch || // As well, disconnected nodes are said to be in a document
|
|
1452
1442
|
// fragment in IE 9
|
|
1453
|
-
|
|
1443
|
+
f.document && f.document.nodeType !== 11)
|
|
1454
1444
|
return g;
|
|
1455
1445
|
} catch {
|
|
1456
|
-
|
|
1446
|
+
se(d, !0);
|
|
1457
1447
|
}
|
|
1458
|
-
return Y(d, u, null, [
|
|
1459
|
-
}, Y.contains = function(
|
|
1460
|
-
return (
|
|
1461
|
-
}, Y.attr = function(
|
|
1462
|
-
(
|
|
1463
|
-
var g = t.attrHandle[d.toLowerCase()], v = g && Z.call(t.attrHandle, d.toLowerCase()) ? g(
|
|
1464
|
-
return v !== void 0 ? v :
|
|
1465
|
-
}, Y.error = function(
|
|
1466
|
-
throw new Error("Syntax error, unrecognized expression: " +
|
|
1467
|
-
}, r.uniqueSort = function(
|
|
1448
|
+
return Y(d, u, null, [f]).length > 0;
|
|
1449
|
+
}, Y.contains = function(f, d) {
|
|
1450
|
+
return (f.ownerDocument || f) != u && je(f), r.contains(f, d);
|
|
1451
|
+
}, Y.attr = function(f, d) {
|
|
1452
|
+
(f.ownerDocument || f) != u && je(f);
|
|
1453
|
+
var g = t.attrHandle[d.toLowerCase()], v = g && Z.call(t.attrHandle, d.toLowerCase()) ? g(f, d, !l) : void 0;
|
|
1454
|
+
return v !== void 0 ? v : f.getAttribute(d);
|
|
1455
|
+
}, Y.error = function(f) {
|
|
1456
|
+
throw new Error("Syntax error, unrecognized expression: " + f);
|
|
1457
|
+
}, r.uniqueSort = function(f) {
|
|
1468
1458
|
var d, g = [], v = 0, b = 0;
|
|
1469
|
-
if (
|
|
1470
|
-
for (; d =
|
|
1471
|
-
d ===
|
|
1459
|
+
if (s = !M.sortStable, n = !M.sortStable && w.call(f, 0), Ui.call(f, ne), s) {
|
|
1460
|
+
for (; d = f[b++]; )
|
|
1461
|
+
d === f[b] && (v = g.push(b));
|
|
1472
1462
|
for (; v--; )
|
|
1473
|
-
|
|
1463
|
+
$i.call(f, g[v], 1);
|
|
1474
1464
|
}
|
|
1475
|
-
return n = null,
|
|
1465
|
+
return n = null, f;
|
|
1476
1466
|
}, r.fn.uniqueSort = function() {
|
|
1477
1467
|
return this.pushStack(r.uniqueSort(w.apply(this)));
|
|
1478
1468
|
}, t = r.expr = {
|
|
@@ -1489,78 +1479,78 @@ function Cr() {
|
|
|
1489
1479
|
"~": { dir: "previousSibling" }
|
|
1490
1480
|
},
|
|
1491
1481
|
preFilter: {
|
|
1492
|
-
ATTR: function(
|
|
1493
|
-
return
|
|
1482
|
+
ATTR: function(f) {
|
|
1483
|
+
return f[1] = f[1].replace(De, Re), f[3] = (f[3] || f[4] || f[5] || "").replace(De, Re), f[2] === "~=" && (f[3] = " " + f[3] + " "), f.slice(0, 4);
|
|
1494
1484
|
},
|
|
1495
|
-
CHILD: function(
|
|
1496
|
-
return
|
|
1485
|
+
CHILD: function(f) {
|
|
1486
|
+
return f[1] = f[1].toLowerCase(), f[1].slice(0, 3) === "nth" ? (f[3] || Y.error(f[0]), f[4] = +(f[4] ? f[5] + (f[6] || 1) : 2 * (f[3] === "even" || f[3] === "odd")), f[5] = +(f[7] + f[8] || f[3] === "odd")) : f[3] && Y.error(f[0]), f;
|
|
1497
1487
|
},
|
|
1498
|
-
PSEUDO: function(
|
|
1499
|
-
var d, g = !
|
|
1500
|
-
return Se.CHILD.test(
|
|
1501
|
-
(d =
|
|
1502
|
-
(d = g.indexOf(")", g.length - d) - g.length) && (
|
|
1488
|
+
PSEUDO: function(f) {
|
|
1489
|
+
var d, g = !f[6] && f[2];
|
|
1490
|
+
return Se.CHILD.test(f[0]) ? null : (f[3] ? f[2] = f[4] || f[5] || "" : g && we.test(g) && // Get excess from tokenize (recursively)
|
|
1491
|
+
(d = lt(g, !0)) && // advance to the next closing parenthesis
|
|
1492
|
+
(d = g.indexOf(")", g.length - d) - g.length) && (f[0] = f[0].slice(0, d), f[2] = g.slice(0, d)), f.slice(0, 3));
|
|
1503
1493
|
}
|
|
1504
1494
|
},
|
|
1505
1495
|
filter: {
|
|
1506
|
-
TAG: function(
|
|
1507
|
-
var d =
|
|
1508
|
-
return
|
|
1496
|
+
TAG: function(f) {
|
|
1497
|
+
var d = f.replace(De, Re).toLowerCase();
|
|
1498
|
+
return f === "*" ? function() {
|
|
1509
1499
|
return !0;
|
|
1510
1500
|
} : function(g) {
|
|
1511
1501
|
return K(g, d);
|
|
1512
1502
|
};
|
|
1513
1503
|
},
|
|
1514
|
-
CLASS: function(
|
|
1515
|
-
var d = P[
|
|
1516
|
-
return d || (d = new RegExp("(^|" + Q + ")" +
|
|
1504
|
+
CLASS: function(f) {
|
|
1505
|
+
var d = P[f + " "];
|
|
1506
|
+
return d || (d = new RegExp("(^|" + Q + ")" + f + "(" + Q + "|$)")) && P(f, function(g) {
|
|
1517
1507
|
return d.test(
|
|
1518
1508
|
typeof g.className == "string" && g.className || typeof g.getAttribute < "u" && g.getAttribute("class") || ""
|
|
1519
1509
|
);
|
|
1520
1510
|
});
|
|
1521
1511
|
},
|
|
1522
|
-
ATTR: function(
|
|
1512
|
+
ATTR: function(f, d, g) {
|
|
1523
1513
|
return function(v) {
|
|
1524
|
-
var b = Y.attr(v,
|
|
1514
|
+
var b = Y.attr(v, f);
|
|
1525
1515
|
return b == null ? d === "!=" : d ? (b += "", d === "=" ? b === g : d === "!=" ? b !== g : d === "^=" ? g && b.indexOf(g) === 0 : d === "*=" ? g && b.indexOf(g) > -1 : d === "$=" ? g && b.slice(-g.length) === g : d === "~=" ? (" " + b.replace(X, " ") + " ").indexOf(g) > -1 : d === "|=" ? b === g || b.slice(0, g.length + 1) === g + "-" : !1) : !0;
|
|
1526
1516
|
};
|
|
1527
1517
|
},
|
|
1528
|
-
CHILD: function(
|
|
1529
|
-
var C =
|
|
1518
|
+
CHILD: function(f, d, g, v, b) {
|
|
1519
|
+
var C = f.slice(0, 3) !== "nth", E = f.slice(-4) !== "last", N = d === "of-type";
|
|
1530
1520
|
return v === 1 && b === 0 ? (
|
|
1531
1521
|
// Shortcut for :nth-*(n)
|
|
1532
1522
|
function(A) {
|
|
1533
1523
|
return !!A.parentNode;
|
|
1534
1524
|
}
|
|
1535
1525
|
) : function(A, B, H) {
|
|
1536
|
-
var O, V,
|
|
1526
|
+
var O, V, j, J, ce, oe = C !== E ? "nextSibling" : "previousSibling", ge = A.parentNode, Ce = N && A.nodeName.toLowerCase(), Qe = !H && !N, ae = !1;
|
|
1537
1527
|
if (ge) {
|
|
1538
1528
|
if (C) {
|
|
1539
|
-
for (;
|
|
1540
|
-
for (
|
|
1541
|
-
if (N ? K(
|
|
1529
|
+
for (; oe; ) {
|
|
1530
|
+
for (j = A; j = j[oe]; )
|
|
1531
|
+
if (N ? K(j, Ce) : j.nodeType === 1)
|
|
1542
1532
|
return !1;
|
|
1543
|
-
ce =
|
|
1533
|
+
ce = oe = f === "only" && !ce && "nextSibling";
|
|
1544
1534
|
}
|
|
1545
1535
|
return !0;
|
|
1546
1536
|
}
|
|
1547
1537
|
if (ce = [E ? ge.firstChild : ge.lastChild], E && Qe) {
|
|
1548
|
-
for (V = ge[T] || (ge[T] = {}), O = V[
|
|
1538
|
+
for (V = ge[T] || (ge[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J && O[2], j = J && ge.childNodes[J]; j = ++J && j && j[oe] || // Fallback to seeking `elem` from the start
|
|
1549
1539
|
(ae = J = 0) || ce.pop(); )
|
|
1550
|
-
if (
|
|
1551
|
-
V[
|
|
1540
|
+
if (j.nodeType === 1 && ++ae && j === A) {
|
|
1541
|
+
V[f] = [y, J, ae];
|
|
1552
1542
|
break;
|
|
1553
1543
|
}
|
|
1554
|
-
} else if (Qe && (V = A[T] || (A[T] = {}), O = V[
|
|
1555
|
-
for (; (
|
|
1544
|
+
} else if (Qe && (V = A[T] || (A[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J), ae === !1)
|
|
1545
|
+
for (; (j = ++J && j && j[oe] || (ae = J = 0) || ce.pop()) && !((N ? K(j, Ce) : j.nodeType === 1) && ++ae && (Qe && (V = j[T] || (j[T] = {}), V[f] = [y, ae]), j === A)); )
|
|
1556
1546
|
;
|
|
1557
1547
|
return ae -= b, ae === v || ae % v === 0 && ae / v >= 0;
|
|
1558
1548
|
}
|
|
1559
1549
|
};
|
|
1560
1550
|
},
|
|
1561
|
-
PSEUDO: function(
|
|
1562
|
-
var g, v = t.pseudos[
|
|
1563
|
-
return v[T] ? v(d) : v.length > 1 ? (g = [
|
|
1551
|
+
PSEUDO: function(f, d) {
|
|
1552
|
+
var g, v = t.pseudos[f] || t.setFilters[f.toLowerCase()] || Y.error("unsupported pseudo: " + f);
|
|
1553
|
+
return v[T] ? v(d) : v.length > 1 ? (g = [f, f, "", d], t.setFilters.hasOwnProperty(f.toLowerCase()) ? me(function(b, C) {
|
|
1564
1554
|
for (var E, N = v(b, d), A = N.length; A--; )
|
|
1565
1555
|
E = q.call(b, N[A]), b[E] = !(C[E] = N[A]);
|
|
1566
1556
|
}) : function(b) {
|
|
@@ -1570,8 +1560,8 @@ function Cr() {
|
|
|
1570
1560
|
},
|
|
1571
1561
|
pseudos: {
|
|
1572
1562
|
// Potentially complex pseudos
|
|
1573
|
-
not: me(function(
|
|
1574
|
-
var d = [], g = [], v = Qt(
|
|
1563
|
+
not: me(function(f) {
|
|
1564
|
+
var d = [], g = [], v = Qt(f.replace(Ze, "$1"));
|
|
1575
1565
|
return v[T] ? me(function(b, C, E, N) {
|
|
1576
1566
|
for (var A, B = v(b, null, N, []), H = b.length; H--; )
|
|
1577
1567
|
(A = B[H]) && (b[H] = !(C[H] = A));
|
|
@@ -1579,14 +1569,14 @@ function Cr() {
|
|
|
1579
1569
|
return d[0] = b, v(d, null, E, g), d[0] = null, !g.pop();
|
|
1580
1570
|
};
|
|
1581
1571
|
}),
|
|
1582
|
-
has: me(function(
|
|
1572
|
+
has: me(function(f) {
|
|
1583
1573
|
return function(d) {
|
|
1584
|
-
return Y(
|
|
1574
|
+
return Y(f, d).length > 0;
|
|
1585
1575
|
};
|
|
1586
1576
|
}),
|
|
1587
|
-
contains: me(function(
|
|
1588
|
-
return
|
|
1589
|
-
return (d.textContent || r.text(d)).indexOf(
|
|
1577
|
+
contains: me(function(f) {
|
|
1578
|
+
return f = f.replace(De, Re), function(d) {
|
|
1579
|
+
return (d.textContent || r.text(d)).indexOf(f) > -1;
|
|
1590
1580
|
};
|
|
1591
1581
|
}),
|
|
1592
1582
|
// "Whether an element is represented by a :lang() selector
|
|
@@ -1596,108 +1586,108 @@ function Cr() {
|
|
|
1596
1586
|
// The matching of C against the element's language value is performed case-insensitively.
|
|
1597
1587
|
// The identifier C does not have to be a valid language name."
|
|
1598
1588
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
1599
|
-
lang: me(function(
|
|
1600
|
-
return
|
|
1589
|
+
lang: me(function(f) {
|
|
1590
|
+
return ft.test(f || "") || Y.error("unsupported lang: " + f), f = f.replace(De, Re).toLowerCase(), function(d) {
|
|
1601
1591
|
var g;
|
|
1602
1592
|
do
|
|
1603
|
-
if (g =
|
|
1604
|
-
return g = g.toLowerCase(), g ===
|
|
1593
|
+
if (g = l ? d.lang : d.getAttribute("xml:lang") || d.getAttribute("lang"))
|
|
1594
|
+
return g = g.toLowerCase(), g === f || g.indexOf(f + "-") === 0;
|
|
1605
1595
|
while ((d = d.parentNode) && d.nodeType === 1);
|
|
1606
1596
|
return !1;
|
|
1607
1597
|
};
|
|
1608
1598
|
}),
|
|
1609
1599
|
// Miscellaneous
|
|
1610
|
-
target: function(
|
|
1600
|
+
target: function(f) {
|
|
1611
1601
|
var d = a.location && a.location.hash;
|
|
1612
|
-
return d && d.slice(1) ===
|
|
1602
|
+
return d && d.slice(1) === f.id;
|
|
1613
1603
|
},
|
|
1614
|
-
root: function(
|
|
1615
|
-
return
|
|
1604
|
+
root: function(f) {
|
|
1605
|
+
return f === c;
|
|
1616
1606
|
},
|
|
1617
|
-
focus: function(
|
|
1618
|
-
return
|
|
1607
|
+
focus: function(f) {
|
|
1608
|
+
return f === $n() && u.hasFocus() && !!(f.type || f.href || ~f.tabIndex);
|
|
1619
1609
|
},
|
|
1620
1610
|
// Boolean properties
|
|
1621
1611
|
enabled: Pi(!1),
|
|
1622
1612
|
disabled: Pi(!0),
|
|
1623
|
-
checked: function(
|
|
1624
|
-
return K(
|
|
1613
|
+
checked: function(f) {
|
|
1614
|
+
return K(f, "input") && !!f.checked || K(f, "option") && !!f.selected;
|
|
1625
1615
|
},
|
|
1626
|
-
selected: function(
|
|
1627
|
-
return
|
|
1616
|
+
selected: function(f) {
|
|
1617
|
+
return f.parentNode && f.parentNode.selectedIndex, f.selected === !0;
|
|
1628
1618
|
},
|
|
1629
1619
|
// Contents
|
|
1630
|
-
empty: function(
|
|
1631
|
-
for (
|
|
1632
|
-
if (
|
|
1620
|
+
empty: function(f) {
|
|
1621
|
+
for (f = f.firstChild; f; f = f.nextSibling)
|
|
1622
|
+
if (f.nodeType < 6)
|
|
1633
1623
|
return !1;
|
|
1634
1624
|
return !0;
|
|
1635
1625
|
},
|
|
1636
|
-
parent: function(
|
|
1637
|
-
return !t.pseudos.empty(
|
|
1626
|
+
parent: function(f) {
|
|
1627
|
+
return !t.pseudos.empty(f);
|
|
1638
1628
|
},
|
|
1639
1629
|
// Element/input types
|
|
1640
|
-
header: function(
|
|
1641
|
-
return qe.test(
|
|
1630
|
+
header: function(f) {
|
|
1631
|
+
return qe.test(f.nodeName);
|
|
1642
1632
|
},
|
|
1643
|
-
input: function(
|
|
1644
|
-
return Ie.test(
|
|
1633
|
+
input: function(f) {
|
|
1634
|
+
return Ie.test(f.nodeName);
|
|
1645
1635
|
},
|
|
1646
|
-
button: function(
|
|
1647
|
-
return K(
|
|
1636
|
+
button: function(f) {
|
|
1637
|
+
return K(f, "input") && f.type === "button" || K(f, "button");
|
|
1648
1638
|
},
|
|
1649
|
-
text: function(
|
|
1639
|
+
text: function(f) {
|
|
1650
1640
|
var d;
|
|
1651
|
-
return K(
|
|
1641
|
+
return K(f, "input") && f.type === "text" && // Support: IE <10 only
|
|
1652
1642
|
// New HTML5 attribute values (e.g., "search") appear
|
|
1653
1643
|
// with elem.type === "text"
|
|
1654
|
-
((d =
|
|
1644
|
+
((d = f.getAttribute("type")) == null || d.toLowerCase() === "text");
|
|
1655
1645
|
},
|
|
1656
1646
|
// Position-in-collection
|
|
1657
1647
|
first: Oe(function() {
|
|
1658
1648
|
return [0];
|
|
1659
1649
|
}),
|
|
1660
|
-
last: Oe(function(
|
|
1650
|
+
last: Oe(function(f, d) {
|
|
1661
1651
|
return [d - 1];
|
|
1662
1652
|
}),
|
|
1663
|
-
eq: Oe(function(
|
|
1653
|
+
eq: Oe(function(f, d, g) {
|
|
1664
1654
|
return [g < 0 ? g + d : g];
|
|
1665
1655
|
}),
|
|
1666
|
-
even: Oe(function(
|
|
1656
|
+
even: Oe(function(f, d) {
|
|
1667
1657
|
for (var g = 0; g < d; g += 2)
|
|
1668
|
-
|
|
1669
|
-
return
|
|
1658
|
+
f.push(g);
|
|
1659
|
+
return f;
|
|
1670
1660
|
}),
|
|
1671
|
-
odd: Oe(function(
|
|
1661
|
+
odd: Oe(function(f, d) {
|
|
1672
1662
|
for (var g = 1; g < d; g += 2)
|
|
1673
|
-
|
|
1674
|
-
return
|
|
1663
|
+
f.push(g);
|
|
1664
|
+
return f;
|
|
1675
1665
|
}),
|
|
1676
|
-
lt: Oe(function(
|
|
1666
|
+
lt: Oe(function(f, d, g) {
|
|
1677
1667
|
var v;
|
|
1678
1668
|
for (g < 0 ? v = g + d : g > d ? v = d : v = g; --v >= 0; )
|
|
1679
|
-
|
|
1680
|
-
return
|
|
1669
|
+
f.push(v);
|
|
1670
|
+
return f;
|
|
1681
1671
|
}),
|
|
1682
|
-
gt: Oe(function(
|
|
1672
|
+
gt: Oe(function(f, d, g) {
|
|
1683
1673
|
for (var v = g < 0 ? g + d : g; ++v < d; )
|
|
1684
|
-
|
|
1685
|
-
return
|
|
1674
|
+
f.push(v);
|
|
1675
|
+
return f;
|
|
1686
1676
|
})
|
|
1687
1677
|
}
|
|
1688
1678
|
}, t.pseudos.nth = t.pseudos.eq;
|
|
1689
1679
|
for (e in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
|
|
1690
|
-
t.pseudos[e] =
|
|
1680
|
+
t.pseudos[e] = zn(e);
|
|
1691
1681
|
for (e in { submit: !0, reset: !0 })
|
|
1692
|
-
t.pseudos[e] =
|
|
1682
|
+
t.pseudos[e] = Xn(e);
|
|
1693
1683
|
function Fi() {
|
|
1694
1684
|
}
|
|
1695
1685
|
Fi.prototype = t.filters = t.pseudos, t.setFilters = new Fi();
|
|
1696
|
-
function
|
|
1697
|
-
var g, v, b, C, E, N, A, B = z[
|
|
1686
|
+
function lt(f, d) {
|
|
1687
|
+
var g, v, b, C, E, N, A, B = z[f + " "];
|
|
1698
1688
|
if (B)
|
|
1699
1689
|
return d ? 0 : B.slice(0);
|
|
1700
|
-
for (E =
|
|
1690
|
+
for (E = f, N = [], A = t.preFilter; E; ) {
|
|
1701
1691
|
(!g || (v = te.exec(E))) && (v && (E = E.slice(v[0].length) || E), N.push(b = [])), g = !1, (v = ut.exec(E)) && (g = v.shift(), b.push({
|
|
1702
1692
|
value: g,
|
|
1703
1693
|
// Cast descendant combinators to space
|
|
@@ -1712,33 +1702,33 @@ function Cr() {
|
|
|
1712
1702
|
if (!g)
|
|
1713
1703
|
break;
|
|
1714
1704
|
}
|
|
1715
|
-
return d ? E.length : E ? Y.error(
|
|
1705
|
+
return d ? E.length : E ? Y.error(f) : (
|
|
1716
1706
|
// Cache the tokens
|
|
1717
|
-
z(
|
|
1707
|
+
z(f, N).slice(0)
|
|
1718
1708
|
);
|
|
1719
1709
|
}
|
|
1720
|
-
function Tt(
|
|
1721
|
-
for (var d = 0, g =
|
|
1722
|
-
v +=
|
|
1710
|
+
function Tt(f) {
|
|
1711
|
+
for (var d = 0, g = f.length, v = ""; d < g; d++)
|
|
1712
|
+
v += f[d].value;
|
|
1723
1713
|
return v;
|
|
1724
1714
|
}
|
|
1725
|
-
function wt(
|
|
1715
|
+
function wt(f, d, g) {
|
|
1726
1716
|
var v = d.dir, b = d.next, C = b || v, E = g && C === "parentNode", N = S++;
|
|
1727
1717
|
return d.first ? (
|
|
1728
1718
|
// Check against closest ancestor/preceding element
|
|
1729
1719
|
function(A, B, H) {
|
|
1730
1720
|
for (; A = A[v]; )
|
|
1731
1721
|
if (A.nodeType === 1 || E)
|
|
1732
|
-
return
|
|
1722
|
+
return f(A, B, H);
|
|
1733
1723
|
return !1;
|
|
1734
1724
|
}
|
|
1735
1725
|
) : (
|
|
1736
1726
|
// Check against all ancestor/preceding elements
|
|
1737
1727
|
function(A, B, H) {
|
|
1738
|
-
var O, V,
|
|
1728
|
+
var O, V, j = [y, N];
|
|
1739
1729
|
if (H) {
|
|
1740
1730
|
for (; A = A[v]; )
|
|
1741
|
-
if ((A.nodeType === 1 || E) &&
|
|
1731
|
+
if ((A.nodeType === 1 || E) && f(A, B, H))
|
|
1742
1732
|
return !0;
|
|
1743
1733
|
} else
|
|
1744
1734
|
for (; A = A[v]; )
|
|
@@ -1746,175 +1736,175 @@ function Cr() {
|
|
|
1746
1736
|
if (V = A[T] || (A[T] = {}), b && K(A, b))
|
|
1747
1737
|
A = A[v] || A;
|
|
1748
1738
|
else {
|
|
1749
|
-
if ((O = V[C]) && O[0] ===
|
|
1750
|
-
return
|
|
1751
|
-
if (V[C] =
|
|
1739
|
+
if ((O = V[C]) && O[0] === y && O[1] === N)
|
|
1740
|
+
return j[2] = O[2];
|
|
1741
|
+
if (V[C] = j, j[2] = f(A, B, H))
|
|
1752
1742
|
return !0;
|
|
1753
1743
|
}
|
|
1754
1744
|
return !1;
|
|
1755
1745
|
}
|
|
1756
1746
|
);
|
|
1757
1747
|
}
|
|
1758
|
-
function Xt(
|
|
1759
|
-
return
|
|
1760
|
-
for (var b =
|
|
1761
|
-
if (!
|
|
1748
|
+
function Xt(f) {
|
|
1749
|
+
return f.length > 1 ? function(d, g, v) {
|
|
1750
|
+
for (var b = f.length; b--; )
|
|
1751
|
+
if (!f[b](d, g, v))
|
|
1762
1752
|
return !1;
|
|
1763
1753
|
return !0;
|
|
1764
|
-
} :
|
|
1754
|
+
} : f[0];
|
|
1765
1755
|
}
|
|
1766
|
-
function
|
|
1756
|
+
function Gn(f, d, g) {
|
|
1767
1757
|
for (var v = 0, b = d.length; v < b; v++)
|
|
1768
|
-
Y(
|
|
1758
|
+
Y(f, d[v], g);
|
|
1769
1759
|
return g;
|
|
1770
1760
|
}
|
|
1771
|
-
function St(
|
|
1772
|
-
for (var C, E = [], N = 0, A =
|
|
1773
|
-
(C =
|
|
1761
|
+
function St(f, d, g, v, b) {
|
|
1762
|
+
for (var C, E = [], N = 0, A = f.length, B = d != null; N < A; N++)
|
|
1763
|
+
(C = f[N]) && (!g || g(C, v, b)) && (E.push(C), B && d.push(N));
|
|
1774
1764
|
return E;
|
|
1775
1765
|
}
|
|
1776
|
-
function Gt(
|
|
1766
|
+
function Gt(f, d, g, v, b, C) {
|
|
1777
1767
|
return v && !v[T] && (v = Gt(v)), b && !b[T] && (b = Gt(b, C)), me(function(E, N, A, B) {
|
|
1778
|
-
var H, O, V,
|
|
1768
|
+
var H, O, V, j, J = [], ce = [], oe = N.length, ge = E || Gn(
|
|
1779
1769
|
d || "*",
|
|
1780
1770
|
A.nodeType ? [A] : A,
|
|
1781
1771
|
[]
|
|
1782
|
-
), Ce =
|
|
1783
|
-
if (g ? (
|
|
1772
|
+
), Ce = f && (E || !d) ? St(ge, J, f, A, B) : ge;
|
|
1773
|
+
if (g ? (j = b || (E ? f : oe || v) ? (
|
|
1784
1774
|
// ...intermediate processing is necessary
|
|
1785
1775
|
[]
|
|
1786
1776
|
) : (
|
|
1787
1777
|
// ...otherwise use results directly
|
|
1788
1778
|
N
|
|
1789
|
-
), g(Ce,
|
|
1790
|
-
for (H = St(
|
|
1791
|
-
(V = H[O]) && (
|
|
1779
|
+
), g(Ce, j, A, B)) : j = Ce, v)
|
|
1780
|
+
for (H = St(j, ce), v(H, [], A, B), O = H.length; O--; )
|
|
1781
|
+
(V = H[O]) && (j[ce[O]] = !(Ce[ce[O]] = V));
|
|
1792
1782
|
if (E) {
|
|
1793
|
-
if (b ||
|
|
1783
|
+
if (b || f) {
|
|
1794
1784
|
if (b) {
|
|
1795
|
-
for (H = [], O =
|
|
1796
|
-
(V =
|
|
1797
|
-
b(null,
|
|
1785
|
+
for (H = [], O = j.length; O--; )
|
|
1786
|
+
(V = j[O]) && H.push(Ce[O] = V);
|
|
1787
|
+
b(null, j = [], H, B);
|
|
1798
1788
|
}
|
|
1799
|
-
for (O =
|
|
1800
|
-
(V =
|
|
1789
|
+
for (O = j.length; O--; )
|
|
1790
|
+
(V = j[O]) && (H = b ? q.call(E, V) : J[O]) > -1 && (E[H] = !(N[H] = V));
|
|
1801
1791
|
}
|
|
1802
1792
|
} else
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
), b ? b(null, N,
|
|
1793
|
+
j = St(
|
|
1794
|
+
j === N ? j.splice(oe, j.length) : j
|
|
1795
|
+
), b ? b(null, N, j, B) : o.apply(N, j);
|
|
1806
1796
|
});
|
|
1807
1797
|
}
|
|
1808
|
-
function Yt(
|
|
1809
|
-
for (var d, g, v, b =
|
|
1798
|
+
function Yt(f) {
|
|
1799
|
+
for (var d, g, v, b = f.length, C = t.relative[f[0].type], E = C || t.relative[" "], N = C ? 1 : 0, A = wt(function(O) {
|
|
1810
1800
|
return O === d;
|
|
1811
1801
|
}, E, !0), B = wt(function(O) {
|
|
1812
1802
|
return q.call(d, O) > -1;
|
|
1813
|
-
}, E, !0), H = [function(O, V,
|
|
1814
|
-
var J = !C && (
|
|
1803
|
+
}, E, !0), H = [function(O, V, j) {
|
|
1804
|
+
var J = !C && (j || V != i) || ((d = V).nodeType ? A(O, V, j) : B(O, V, j));
|
|
1815
1805
|
return d = null, J;
|
|
1816
1806
|
}]; N < b; N++)
|
|
1817
|
-
if (g = t.relative[
|
|
1807
|
+
if (g = t.relative[f[N].type])
|
|
1818
1808
|
H = [wt(Xt(H), g)];
|
|
1819
1809
|
else {
|
|
1820
|
-
if (g = t.filter[
|
|
1821
|
-
for (v = ++N; v < b && !t.relative[
|
|
1810
|
+
if (g = t.filter[f[N].type].apply(null, f[N].matches), g[T]) {
|
|
1811
|
+
for (v = ++N; v < b && !t.relative[f[v].type]; v++)
|
|
1822
1812
|
;
|
|
1823
1813
|
return Gt(
|
|
1824
1814
|
N > 1 && Xt(H),
|
|
1825
1815
|
N > 1 && Tt(
|
|
1826
1816
|
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
|
1827
|
-
|
|
1817
|
+
f.slice(0, N - 1).concat({ value: f[N - 2].type === " " ? "*" : "" })
|
|
1828
1818
|
).replace(Ze, "$1"),
|
|
1829
1819
|
g,
|
|
1830
|
-
N < v && Yt(
|
|
1831
|
-
v < b && Yt(
|
|
1832
|
-
v < b && Tt(
|
|
1820
|
+
N < v && Yt(f.slice(N, v)),
|
|
1821
|
+
v < b && Yt(f = f.slice(v)),
|
|
1822
|
+
v < b && Tt(f)
|
|
1833
1823
|
);
|
|
1834
1824
|
}
|
|
1835
1825
|
H.push(g);
|
|
1836
1826
|
}
|
|
1837
1827
|
return Xt(H);
|
|
1838
1828
|
}
|
|
1839
|
-
function
|
|
1840
|
-
var g = d.length > 0, v =
|
|
1841
|
-
var H, O, V,
|
|
1829
|
+
function Yn(f, d) {
|
|
1830
|
+
var g = d.length > 0, v = f.length > 0, b = function(C, E, N, A, B) {
|
|
1831
|
+
var H, O, V, j = 0, J = "0", ce = C && [], oe = [], ge = i, Ce = C || v && t.find.TAG("*", B), Qe = y += ge == null ? 1 : Math.random() || 0.1, ae = Ce.length;
|
|
1842
1832
|
for (B && (i = E == u || E || B); J !== ae && (H = Ce[J]) != null; J++) {
|
|
1843
1833
|
if (v && H) {
|
|
1844
|
-
for (O = 0, !E && H.ownerDocument != u && (
|
|
1834
|
+
for (O = 0, !E && H.ownerDocument != u && (je(H), N = !l); V = f[O++]; )
|
|
1845
1835
|
if (V(H, E || u, N)) {
|
|
1846
|
-
|
|
1836
|
+
o.call(A, H);
|
|
1847
1837
|
break;
|
|
1848
1838
|
}
|
|
1849
|
-
B && (
|
|
1839
|
+
B && (y = Qe);
|
|
1850
1840
|
}
|
|
1851
|
-
g && ((H = !V && H) &&
|
|
1841
|
+
g && ((H = !V && H) && j--, C && ce.push(H));
|
|
1852
1842
|
}
|
|
1853
|
-
if (
|
|
1843
|
+
if (j += J, g && J !== j) {
|
|
1854
1844
|
for (O = 0; V = d[O++]; )
|
|
1855
|
-
V(ce,
|
|
1845
|
+
V(ce, oe, E, N);
|
|
1856
1846
|
if (C) {
|
|
1857
|
-
if (
|
|
1847
|
+
if (j > 0)
|
|
1858
1848
|
for (; J--; )
|
|
1859
|
-
ce[J] ||
|
|
1860
|
-
|
|
1849
|
+
ce[J] || oe[J] || (oe[J] = Vi.call(A));
|
|
1850
|
+
oe = St(oe);
|
|
1861
1851
|
}
|
|
1862
|
-
|
|
1852
|
+
o.apply(A, oe), B && !C && oe.length > 0 && j + d.length > 1 && r.uniqueSort(A);
|
|
1863
1853
|
}
|
|
1864
|
-
return B && (
|
|
1854
|
+
return B && (y = Qe, i = ge), ce;
|
|
1865
1855
|
};
|
|
1866
1856
|
return g ? me(b) : b;
|
|
1867
1857
|
}
|
|
1868
|
-
function Qt(
|
|
1869
|
-
var g, v = [], b = [], C = _[
|
|
1858
|
+
function Qt(f, d) {
|
|
1859
|
+
var g, v = [], b = [], C = _[f + " "];
|
|
1870
1860
|
if (!C) {
|
|
1871
|
-
for (d || (d =
|
|
1861
|
+
for (d || (d = lt(f)), g = d.length; g--; )
|
|
1872
1862
|
C = Yt(d[g]), C[T] ? v.push(C) : b.push(C);
|
|
1873
1863
|
C = _(
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
), C.selector =
|
|
1864
|
+
f,
|
|
1865
|
+
Yn(b, v)
|
|
1866
|
+
), C.selector = f;
|
|
1877
1867
|
}
|
|
1878
1868
|
return C;
|
|
1879
1869
|
}
|
|
1880
|
-
function Oi(
|
|
1881
|
-
var b, C, E, N, A, B = typeof
|
|
1870
|
+
function Oi(f, d, g, v) {
|
|
1871
|
+
var b, C, E, N, A, B = typeof f == "function" && f, H = !v && lt(f = B.selector || f);
|
|
1882
1872
|
if (g = g || [], H.length === 1) {
|
|
1883
|
-
if (C = H[0] = H[0].slice(0), C.length > 2 && (E = C[0]).type === "ID" && d.nodeType === 9 &&
|
|
1873
|
+
if (C = H[0] = H[0].slice(0), C.length > 2 && (E = C[0]).type === "ID" && d.nodeType === 9 && l && t.relative[C[1].type]) {
|
|
1884
1874
|
if (d = (t.find.ID(
|
|
1885
1875
|
E.matches[0].replace(De, Re),
|
|
1886
1876
|
d
|
|
1887
1877
|
) || [])[0], d)
|
|
1888
1878
|
B && (d = d.parentNode);
|
|
1889
1879
|
else return g;
|
|
1890
|
-
|
|
1880
|
+
f = f.slice(C.shift().value.length);
|
|
1891
1881
|
}
|
|
1892
|
-
for (b = Se.needsContext.test(
|
|
1882
|
+
for (b = Se.needsContext.test(f) ? 0 : C.length; b-- && (E = C[b], !t.relative[N = E.type]); )
|
|
1893
1883
|
if ((A = t.find[N]) && (v = A(
|
|
1894
1884
|
E.matches[0].replace(De, Re),
|
|
1895
1885
|
$t.test(C[0].type) && zt(d.parentNode) || d
|
|
1896
1886
|
))) {
|
|
1897
|
-
if (C.splice(b, 1),
|
|
1898
|
-
return
|
|
1887
|
+
if (C.splice(b, 1), f = v.length && Tt(C), !f)
|
|
1888
|
+
return o.apply(g, v), g;
|
|
1899
1889
|
break;
|
|
1900
1890
|
}
|
|
1901
1891
|
}
|
|
1902
|
-
return (B || Qt(
|
|
1892
|
+
return (B || Qt(f, H))(
|
|
1903
1893
|
v,
|
|
1904
1894
|
d,
|
|
1905
|
-
!
|
|
1895
|
+
!l,
|
|
1906
1896
|
g,
|
|
1907
|
-
!d || $t.test(
|
|
1897
|
+
!d || $t.test(f) && zt(d.parentNode) || d
|
|
1908
1898
|
), g;
|
|
1909
1899
|
}
|
|
1910
|
-
|
|
1911
|
-
return
|
|
1912
|
-
}), r.find = Y, r.expr[":"] = r.expr.pseudos, r.unique = r.uniqueSort, Y.compile = Qt, Y.select = Oi, Y.setDocument =
|
|
1900
|
+
M.sortStable = T.split("").sort(ne).join("") === T, je(), M.sortDetached = Ye(function(f) {
|
|
1901
|
+
return f.compareDocumentPosition(u.createElement("fieldset")) & 1;
|
|
1902
|
+
}), r.find = Y, r.expr[":"] = r.expr.pseudos, r.unique = r.uniqueSort, Y.compile = Qt, Y.select = Oi, Y.setDocument = je, Y.tokenize = lt, Y.escape = r.escapeSelector, Y.getText = r.text, Y.isXML = r.isXMLDoc, Y.selectors = r.expr, Y.support = r.support, Y.uniqueSort = r.uniqueSort;
|
|
1913
1903
|
})();
|
|
1914
1904
|
var _e = function(e, t, i) {
|
|
1915
|
-
for (var n = [],
|
|
1905
|
+
for (var n = [], s = i !== void 0; (e = e[t]) && e.nodeType !== 9; )
|
|
1916
1906
|
if (e.nodeType === 1) {
|
|
1917
|
-
if (
|
|
1907
|
+
if (s && r(e).is(i))
|
|
1918
1908
|
break;
|
|
1919
1909
|
n.push(e);
|
|
1920
1910
|
}
|
|
@@ -1925,8 +1915,8 @@ function Cr() {
|
|
|
1925
1915
|
return i;
|
|
1926
1916
|
}, ti = r.expr.match.needsContext, ii = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
1927
1917
|
function Dt(e, t, i) {
|
|
1928
|
-
return W(t) ? r.grep(e, function(n,
|
|
1929
|
-
return !!t.call(n,
|
|
1918
|
+
return W(t) ? r.grep(e, function(n, s) {
|
|
1919
|
+
return !!t.call(n, s, n) !== i;
|
|
1930
1920
|
}) : t.nodeType ? r.grep(e, function(n) {
|
|
1931
1921
|
return n === t !== i;
|
|
1932
1922
|
}) : typeof t != "string" ? r.grep(e, function(n) {
|
|
@@ -1935,20 +1925,20 @@ function Cr() {
|
|
|
1935
1925
|
}
|
|
1936
1926
|
r.filter = function(e, t, i) {
|
|
1937
1927
|
var n = t[0];
|
|
1938
|
-
return i && (e = ":not(" + e + ")"), t.length === 1 && n.nodeType === 1 ? r.find.matchesSelector(n, e) ? [n] : [] : r.find.matches(e, r.grep(t, function(
|
|
1939
|
-
return
|
|
1928
|
+
return i && (e = ":not(" + e + ")"), t.length === 1 && n.nodeType === 1 ? r.find.matchesSelector(n, e) ? [n] : [] : r.find.matches(e, r.grep(t, function(s) {
|
|
1929
|
+
return s.nodeType === 1;
|
|
1940
1930
|
}));
|
|
1941
1931
|
}, r.fn.extend({
|
|
1942
1932
|
find: function(e) {
|
|
1943
|
-
var t, i, n = this.length,
|
|
1933
|
+
var t, i, n = this.length, s = this;
|
|
1944
1934
|
if (typeof e != "string")
|
|
1945
1935
|
return this.pushStack(r(e).filter(function() {
|
|
1946
1936
|
for (t = 0; t < n; t++)
|
|
1947
|
-
if (r.contains(
|
|
1937
|
+
if (r.contains(s[t], this))
|
|
1948
1938
|
return !0;
|
|
1949
1939
|
}));
|
|
1950
1940
|
for (i = this.pushStack([]), t = 0; t < n; t++)
|
|
1951
|
-
r.find(e,
|
|
1941
|
+
r.find(e, s[t], i);
|
|
1952
1942
|
return n > 1 ? r.uniqueSort(i) : i;
|
|
1953
1943
|
},
|
|
1954
1944
|
filter: function(e) {
|
|
@@ -1967,12 +1957,12 @@ function Cr() {
|
|
|
1967
1957
|
).length;
|
|
1968
1958
|
}
|
|
1969
1959
|
});
|
|
1970
|
-
var ni,
|
|
1971
|
-
var n,
|
|
1960
|
+
var ni, Gi = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Yi = r.fn.init = function(e, t, i) {
|
|
1961
|
+
var n, s;
|
|
1972
1962
|
if (!e)
|
|
1973
1963
|
return this;
|
|
1974
1964
|
if (i = i || ni, typeof e == "string")
|
|
1975
|
-
if (e[0] === "<" && e[e.length - 1] === ">" && e.length >= 3 ? n = [null, e, null] : n =
|
|
1965
|
+
if (e[0] === "<" && e[e.length - 1] === ">" && e.length >= 3 ? n = [null, e, null] : n = Gi.exec(e), n && (n[1] || !t))
|
|
1976
1966
|
if (n[1]) {
|
|
1977
1967
|
if (t = t instanceof r ? t[0] : t, r.merge(this, r.parseHTML(
|
|
1978
1968
|
n[1],
|
|
@@ -1983,7 +1973,7 @@ function Cr() {
|
|
|
1983
1973
|
W(this[n]) ? this[n](t[n]) : this.attr(n, t[n]);
|
|
1984
1974
|
return this;
|
|
1985
1975
|
} else
|
|
1986
|
-
return
|
|
1976
|
+
return s = L.getElementById(n[2]), s && (this[0] = s, this.length = 1), this;
|
|
1987
1977
|
else return !t || t.jquery ? (t || i).find(e) : this.constructor(t).find(e);
|
|
1988
1978
|
else {
|
|
1989
1979
|
if (e.nodeType)
|
|
@@ -1996,8 +1986,8 @@ function Cr() {
|
|
|
1996
1986
|
}
|
|
1997
1987
|
return r.makeArray(e, this);
|
|
1998
1988
|
};
|
|
1999
|
-
|
|
2000
|
-
var
|
|
1989
|
+
Yi.prototype = r.fn, ni = r(L);
|
|
1990
|
+
var Qi = /^(?:parents|prev(?:Until|All))/, Ji = {
|
|
2001
1991
|
children: !0,
|
|
2002
1992
|
contents: !0,
|
|
2003
1993
|
next: !0,
|
|
@@ -2013,19 +2003,19 @@ function Cr() {
|
|
|
2013
2003
|
});
|
|
2014
2004
|
},
|
|
2015
2005
|
closest: function(e, t) {
|
|
2016
|
-
var i, n = 0,
|
|
2006
|
+
var i, n = 0, s = this.length, o = [], u = typeof e != "string" && r(e);
|
|
2017
2007
|
if (!ti.test(e)) {
|
|
2018
|
-
for (; n <
|
|
2008
|
+
for (; n < s; n++)
|
|
2019
2009
|
for (i = this[n]; i && i !== t; i = i.parentNode)
|
|
2020
2010
|
if (i.nodeType < 11 && (u ? u.index(i) > -1 : (
|
|
2021
2011
|
// Don't pass non-elements to jQuery#find
|
|
2022
2012
|
i.nodeType === 1 && r.find.matchesSelector(i, e)
|
|
2023
2013
|
))) {
|
|
2024
|
-
|
|
2014
|
+
o.push(i);
|
|
2025
2015
|
break;
|
|
2026
2016
|
}
|
|
2027
2017
|
}
|
|
2028
|
-
return this.pushStack(
|
|
2018
|
+
return this.pushStack(o.length > 1 ? r.uniqueSort(o) : o);
|
|
2029
2019
|
},
|
|
2030
2020
|
// Determine the position of an element within the set
|
|
2031
2021
|
index: function(e) {
|
|
@@ -2096,70 +2086,70 @@ function Cr() {
|
|
|
2096
2086
|
}
|
|
2097
2087
|
}, function(e, t) {
|
|
2098
2088
|
r.fn[e] = function(i, n) {
|
|
2099
|
-
var
|
|
2100
|
-
return e.slice(-5) !== "Until" && (n = i), n && typeof n == "string" && (
|
|
2089
|
+
var s = r.map(this, t, i);
|
|
2090
|
+
return e.slice(-5) !== "Until" && (n = i), n && typeof n == "string" && (s = r.filter(n, s)), this.length > 1 && (Ji[e] || r.uniqueSort(s), Qi.test(e) && s.reverse()), this.pushStack(s);
|
|
2101
2091
|
};
|
|
2102
2092
|
});
|
|
2103
2093
|
var ve = /[^\x20\t\r\n\f]+/g;
|
|
2104
|
-
function
|
|
2094
|
+
function Ki(e) {
|
|
2105
2095
|
var t = {};
|
|
2106
2096
|
return r.each(e.match(ve) || [], function(i, n) {
|
|
2107
2097
|
t[n] = !0;
|
|
2108
2098
|
}), t;
|
|
2109
2099
|
}
|
|
2110
2100
|
r.Callbacks = function(e) {
|
|
2111
|
-
e = typeof e == "string" ?
|
|
2112
|
-
var t, i, n,
|
|
2113
|
-
for (
|
|
2114
|
-
for (i = u.shift(); ++c <
|
|
2115
|
-
|
|
2116
|
-
e.memory || (i = !1), t = !1,
|
|
2101
|
+
e = typeof e == "string" ? Ki(e) : r.extend({}, e);
|
|
2102
|
+
var t, i, n, s, o = [], u = [], c = -1, l = function() {
|
|
2103
|
+
for (s = s || e.once, n = t = !0; u.length; c = -1)
|
|
2104
|
+
for (i = u.shift(); ++c < o.length; )
|
|
2105
|
+
o[c].apply(i[0], i[1]) === !1 && e.stopOnFalse && (c = o.length, i = !1);
|
|
2106
|
+
e.memory || (i = !1), t = !1, s && (i ? o = [] : o = "");
|
|
2117
2107
|
}, h = {
|
|
2118
2108
|
// Add a callback or a collection of callbacks to the list
|
|
2119
2109
|
add: function() {
|
|
2120
|
-
return
|
|
2121
|
-
r.each(T, function(
|
|
2122
|
-
W(S) ? (!e.unique || !h.has(S)) &&
|
|
2110
|
+
return o && (i && !t && (c = o.length - 1, u.push(i)), (function x(T) {
|
|
2111
|
+
r.each(T, function(y, S) {
|
|
2112
|
+
W(S) ? (!e.unique || !h.has(S)) && o.push(S) : S && S.length && We(S) !== "string" && x(S);
|
|
2123
2113
|
});
|
|
2124
|
-
})(arguments), i && !t &&
|
|
2114
|
+
})(arguments), i && !t && l()), this;
|
|
2125
2115
|
},
|
|
2126
2116
|
// Remove a callback from the list
|
|
2127
2117
|
remove: function() {
|
|
2128
2118
|
return r.each(arguments, function(x, T) {
|
|
2129
|
-
for (var
|
|
2130
|
-
|
|
2119
|
+
for (var y; (y = r.inArray(T, o, y)) > -1; )
|
|
2120
|
+
o.splice(y, 1), y <= c && c--;
|
|
2131
2121
|
}), this;
|
|
2132
2122
|
},
|
|
2133
2123
|
// Check if a given callback is in the list.
|
|
2134
2124
|
// If no argument is given, return whether or not list has callbacks attached.
|
|
2135
2125
|
has: function(x) {
|
|
2136
|
-
return x ? r.inArray(x,
|
|
2126
|
+
return x ? r.inArray(x, o) > -1 : o.length > 0;
|
|
2137
2127
|
},
|
|
2138
2128
|
// Remove all callbacks from the list
|
|
2139
2129
|
empty: function() {
|
|
2140
|
-
return
|
|
2130
|
+
return o && (o = []), this;
|
|
2141
2131
|
},
|
|
2142
2132
|
// Disable .fire and .add
|
|
2143
2133
|
// Abort any current/pending executions
|
|
2144
2134
|
// Clear all callbacks and values
|
|
2145
2135
|
disable: function() {
|
|
2146
|
-
return
|
|
2136
|
+
return s = u = [], o = i = "", this;
|
|
2147
2137
|
},
|
|
2148
2138
|
disabled: function() {
|
|
2149
|
-
return !
|
|
2139
|
+
return !o;
|
|
2150
2140
|
},
|
|
2151
2141
|
// Disable .fire
|
|
2152
2142
|
// Also disable .add unless we have memory (since it would have no effect)
|
|
2153
2143
|
// Abort any pending executions
|
|
2154
2144
|
lock: function() {
|
|
2155
|
-
return
|
|
2145
|
+
return s = u = [], !i && !t && (o = i = ""), this;
|
|
2156
2146
|
},
|
|
2157
2147
|
locked: function() {
|
|
2158
|
-
return !!
|
|
2148
|
+
return !!s;
|
|
2159
2149
|
},
|
|
2160
2150
|
// Call all callbacks with the given context and arguments
|
|
2161
2151
|
fireWith: function(x, T) {
|
|
2162
|
-
return
|
|
2152
|
+
return s || (T = T || [], T = [x, T.slice ? T.slice() : T], u.push(T), t || l()), this;
|
|
2163
2153
|
},
|
|
2164
2154
|
// Call all the callbacks with the given arguments
|
|
2165
2155
|
fire: function() {
|
|
@@ -2178,12 +2168,12 @@ function Cr() {
|
|
|
2178
2168
|
function ht(e) {
|
|
2179
2169
|
throw e;
|
|
2180
2170
|
}
|
|
2181
|
-
function
|
|
2182
|
-
var
|
|
2171
|
+
function si(e, t, i, n) {
|
|
2172
|
+
var s;
|
|
2183
2173
|
try {
|
|
2184
|
-
e && W(
|
|
2185
|
-
} catch (
|
|
2186
|
-
i.apply(void 0, [
|
|
2174
|
+
e && W(s = e.promise) ? s.call(e).done(t).fail(i) : e && W(s = e.then) ? s.call(e, t, i) : t.apply(void 0, [e].slice(n));
|
|
2175
|
+
} catch (o) {
|
|
2176
|
+
i.apply(void 0, [o]);
|
|
2187
2177
|
}
|
|
2188
2178
|
}
|
|
2189
2179
|
r.extend({
|
|
@@ -2219,66 +2209,66 @@ function Cr() {
|
|
|
2219
2209
|
return i;
|
|
2220
2210
|
},
|
|
2221
2211
|
always: function() {
|
|
2222
|
-
return
|
|
2212
|
+
return s.done(arguments).fail(arguments), this;
|
|
2223
2213
|
},
|
|
2224
|
-
catch: function(
|
|
2225
|
-
return n.then(null,
|
|
2214
|
+
catch: function(o) {
|
|
2215
|
+
return n.then(null, o);
|
|
2226
2216
|
},
|
|
2227
2217
|
// Keep pipe for back-compat
|
|
2228
2218
|
pipe: function() {
|
|
2229
|
-
var
|
|
2219
|
+
var o = arguments;
|
|
2230
2220
|
return r.Deferred(function(u) {
|
|
2231
|
-
r.each(t, function(c,
|
|
2232
|
-
var h = W(
|
|
2233
|
-
|
|
2221
|
+
r.each(t, function(c, l) {
|
|
2222
|
+
var h = W(o[l[4]]) && o[l[4]];
|
|
2223
|
+
s[l[1]](function() {
|
|
2234
2224
|
var x = h && h.apply(this, arguments);
|
|
2235
|
-
x && W(x.promise) ? x.promise().progress(u.notify).done(u.resolve).fail(u.reject) : u[
|
|
2225
|
+
x && W(x.promise) ? x.promise().progress(u.notify).done(u.resolve).fail(u.reject) : u[l[0] + "With"](
|
|
2236
2226
|
this,
|
|
2237
2227
|
h ? [x] : arguments
|
|
2238
2228
|
);
|
|
2239
2229
|
});
|
|
2240
|
-
}),
|
|
2230
|
+
}), o = null;
|
|
2241
2231
|
}).promise();
|
|
2242
2232
|
},
|
|
2243
|
-
then: function(
|
|
2244
|
-
var
|
|
2245
|
-
function h(x, T,
|
|
2233
|
+
then: function(o, u, c) {
|
|
2234
|
+
var l = 0;
|
|
2235
|
+
function h(x, T, y, S) {
|
|
2246
2236
|
return function() {
|
|
2247
2237
|
var P = this, z = arguments, _ = function() {
|
|
2248
2238
|
var ne, be;
|
|
2249
|
-
if (!(x <
|
|
2250
|
-
if (ne =
|
|
2239
|
+
if (!(x < l)) {
|
|
2240
|
+
if (ne = y.apply(P, z), ne === T.promise())
|
|
2251
2241
|
throw new TypeError("Thenable self-resolution");
|
|
2252
2242
|
be = ne && // Support: Promises/A+ section 2.3.4
|
|
2253
2243
|
// https://promisesaplus.com/#point-64
|
|
2254
2244
|
// Only check objects and functions for thenability
|
|
2255
2245
|
(typeof ne == "object" || typeof ne == "function") && ne.then, W(be) ? S ? be.call(
|
|
2256
2246
|
ne,
|
|
2257
|
-
h(
|
|
2258
|
-
h(
|
|
2259
|
-
) : (
|
|
2247
|
+
h(l, T, Be, S),
|
|
2248
|
+
h(l, T, ht, S)
|
|
2249
|
+
) : (l++, be.call(
|
|
2260
2250
|
ne,
|
|
2261
|
-
h(
|
|
2262
|
-
h(
|
|
2251
|
+
h(l, T, Be, S),
|
|
2252
|
+
h(l, T, ht, S),
|
|
2263
2253
|
h(
|
|
2264
|
-
|
|
2254
|
+
l,
|
|
2265
2255
|
T,
|
|
2266
2256
|
Be,
|
|
2267
2257
|
T.notifyWith
|
|
2268
2258
|
)
|
|
2269
|
-
)) : (
|
|
2259
|
+
)) : (y !== Be && (P = void 0, z = [ne]), (S || T.resolveWith)(P, z));
|
|
2270
2260
|
}
|
|
2271
|
-
},
|
|
2261
|
+
}, se = S ? _ : function() {
|
|
2272
2262
|
try {
|
|
2273
2263
|
_();
|
|
2274
2264
|
} catch (ne) {
|
|
2275
2265
|
r.Deferred.exceptionHook && r.Deferred.exceptionHook(
|
|
2276
2266
|
ne,
|
|
2277
|
-
|
|
2278
|
-
), x + 1 >=
|
|
2267
|
+
se.error
|
|
2268
|
+
), x + 1 >= l && (y !== ht && (P = void 0, z = [ne]), T.rejectWith(P, z));
|
|
2279
2269
|
}
|
|
2280
2270
|
};
|
|
2281
|
-
x ?
|
|
2271
|
+
x ? se() : (r.Deferred.getErrorHook ? se.error = r.Deferred.getErrorHook() : r.Deferred.getStackHook && (se.error = r.Deferred.getStackHook()), a.setTimeout(se));
|
|
2282
2272
|
};
|
|
2283
2273
|
}
|
|
2284
2274
|
return r.Deferred(function(x) {
|
|
@@ -2293,7 +2283,7 @@ function Cr() {
|
|
|
2293
2283
|
h(
|
|
2294
2284
|
0,
|
|
2295
2285
|
x,
|
|
2296
|
-
W(
|
|
2286
|
+
W(o) ? o : Be
|
|
2297
2287
|
)
|
|
2298
2288
|
), t[2][3].add(
|
|
2299
2289
|
h(
|
|
@@ -2306,53 +2296,53 @@ function Cr() {
|
|
|
2306
2296
|
},
|
|
2307
2297
|
// Get a promise for this deferred
|
|
2308
2298
|
// If obj is provided, the promise aspect is added to the object
|
|
2309
|
-
promise: function(
|
|
2310
|
-
return
|
|
2299
|
+
promise: function(o) {
|
|
2300
|
+
return o != null ? r.extend(o, n) : n;
|
|
2311
2301
|
}
|
|
2312
|
-
},
|
|
2313
|
-
return r.each(t, function(
|
|
2314
|
-
var c = u[2],
|
|
2315
|
-
n[u[1]] = c.add,
|
|
2302
|
+
}, s = {};
|
|
2303
|
+
return r.each(t, function(o, u) {
|
|
2304
|
+
var c = u[2], l = u[5];
|
|
2305
|
+
n[u[1]] = c.add, l && c.add(
|
|
2316
2306
|
function() {
|
|
2317
|
-
i =
|
|
2307
|
+
i = l;
|
|
2318
2308
|
},
|
|
2319
2309
|
// rejected_callbacks.disable
|
|
2320
2310
|
// fulfilled_callbacks.disable
|
|
2321
|
-
t[3 -
|
|
2311
|
+
t[3 - o][2].disable,
|
|
2322
2312
|
// rejected_handlers.disable
|
|
2323
2313
|
// fulfilled_handlers.disable
|
|
2324
|
-
t[3 -
|
|
2314
|
+
t[3 - o][3].disable,
|
|
2325
2315
|
// progress_callbacks.lock
|
|
2326
2316
|
t[0][2].lock,
|
|
2327
2317
|
// progress_handlers.lock
|
|
2328
2318
|
t[0][3].lock
|
|
2329
|
-
), c.add(u[3].fire),
|
|
2330
|
-
return
|
|
2331
|
-
},
|
|
2332
|
-
}), n.promise(
|
|
2319
|
+
), c.add(u[3].fire), s[u[0]] = function() {
|
|
2320
|
+
return s[u[0] + "With"](this === s ? void 0 : this, arguments), this;
|
|
2321
|
+
}, s[u[0] + "With"] = c.fireWith;
|
|
2322
|
+
}), n.promise(s), e && e.call(s, s), s;
|
|
2333
2323
|
},
|
|
2334
2324
|
// Deferred helper
|
|
2335
2325
|
when: function(e) {
|
|
2336
|
-
var t = arguments.length, i = t, n = Array(i),
|
|
2337
|
-
return function(
|
|
2338
|
-
n[c] = this,
|
|
2326
|
+
var t = arguments.length, i = t, n = Array(i), s = w.call(arguments), o = r.Deferred(), u = function(c) {
|
|
2327
|
+
return function(l) {
|
|
2328
|
+
n[c] = this, s[c] = arguments.length > 1 ? w.call(arguments) : l, --t || o.resolveWith(n, s);
|
|
2339
2329
|
};
|
|
2340
2330
|
};
|
|
2341
|
-
if (t <= 1 && (
|
|
2331
|
+
if (t <= 1 && (si(
|
|
2342
2332
|
e,
|
|
2343
|
-
|
|
2344
|
-
|
|
2333
|
+
o.done(u(i)).resolve,
|
|
2334
|
+
o.reject,
|
|
2345
2335
|
!t
|
|
2346
|
-
),
|
|
2347
|
-
return
|
|
2336
|
+
), o.state() === "pending" || W(s[i] && s[i].then)))
|
|
2337
|
+
return o.then();
|
|
2348
2338
|
for (; i--; )
|
|
2349
|
-
|
|
2350
|
-
return
|
|
2339
|
+
si(s[i], u(i), o.reject);
|
|
2340
|
+
return o.promise();
|
|
2351
2341
|
}
|
|
2352
2342
|
});
|
|
2353
|
-
var
|
|
2343
|
+
var Zi = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
|
|
2354
2344
|
r.Deferred.exceptionHook = function(e, t) {
|
|
2355
|
-
a.console && a.console.warn && e &&
|
|
2345
|
+
a.console && a.console.warn && e && Zi.test(e.name) && a.console.warn(
|
|
2356
2346
|
"jQuery.Deferred exception: " + e.message,
|
|
2357
2347
|
e.stack,
|
|
2358
2348
|
t
|
|
@@ -2382,28 +2372,28 @@ function Cr() {
|
|
|
2382
2372
|
L.removeEventListener("DOMContentLoaded", pt), a.removeEventListener("load", pt), r.ready();
|
|
2383
2373
|
}
|
|
2384
2374
|
L.readyState === "complete" || L.readyState !== "loading" && !L.documentElement.doScroll ? a.setTimeout(r.ready) : (L.addEventListener("DOMContentLoaded", pt), a.addEventListener("load", pt));
|
|
2385
|
-
var Ee = function(e, t, i, n,
|
|
2386
|
-
var c = 0,
|
|
2375
|
+
var Ee = function(e, t, i, n, s, o, u) {
|
|
2376
|
+
var c = 0, l = e.length, h = i == null;
|
|
2387
2377
|
if (We(i) === "object") {
|
|
2388
|
-
|
|
2378
|
+
s = !0;
|
|
2389
2379
|
for (c in i)
|
|
2390
|
-
Ee(e, t, c, i[c], !0,
|
|
2391
|
-
} else if (n !== void 0 && (
|
|
2392
|
-
return h.call(r(x),
|
|
2380
|
+
Ee(e, t, c, i[c], !0, o, u);
|
|
2381
|
+
} else if (n !== void 0 && (s = !0, W(n) || (u = !0), h && (u ? (t.call(e, n), t = null) : (h = t, t = function(x, T, y) {
|
|
2382
|
+
return h.call(r(x), y);
|
|
2393
2383
|
})), t))
|
|
2394
|
-
for (; c <
|
|
2384
|
+
for (; c < l; c++)
|
|
2395
2385
|
t(
|
|
2396
2386
|
e[c],
|
|
2397
2387
|
i,
|
|
2398
2388
|
u ? n : n.call(e[c], c, t(e[c], i))
|
|
2399
2389
|
);
|
|
2400
|
-
return
|
|
2401
|
-
},
|
|
2402
|
-
function
|
|
2390
|
+
return s ? e : h ? t.call(e) : l ? t(e[0], i) : o;
|
|
2391
|
+
}, en = /^-ms-/, tn = /-([a-z])/g;
|
|
2392
|
+
function nn(e, t) {
|
|
2403
2393
|
return t.toUpperCase();
|
|
2404
2394
|
}
|
|
2405
2395
|
function xe(e) {
|
|
2406
|
-
return e.replace(
|
|
2396
|
+
return e.replace(en, "ms-").replace(tn, nn);
|
|
2407
2397
|
}
|
|
2408
2398
|
var et = function(e) {
|
|
2409
2399
|
return e.nodeType === 1 || e.nodeType === 9 || !+e.nodeType;
|
|
@@ -2420,13 +2410,13 @@ function Cr() {
|
|
|
2420
2410
|
}))), t;
|
|
2421
2411
|
},
|
|
2422
2412
|
set: function(e, t, i) {
|
|
2423
|
-
var n,
|
|
2413
|
+
var n, s = this.cache(e);
|
|
2424
2414
|
if (typeof t == "string")
|
|
2425
|
-
|
|
2415
|
+
s[xe(t)] = i;
|
|
2426
2416
|
else
|
|
2427
2417
|
for (n in t)
|
|
2428
|
-
|
|
2429
|
-
return
|
|
2418
|
+
s[xe(n)] = t[n];
|
|
2419
|
+
return s;
|
|
2430
2420
|
},
|
|
2431
2421
|
get: function(e, t) {
|
|
2432
2422
|
return t === void 0 ? this.cache(e) : (
|
|
@@ -2451,16 +2441,16 @@ function Cr() {
|
|
|
2451
2441
|
return t !== void 0 && !r.isEmptyObject(t);
|
|
2452
2442
|
}
|
|
2453
2443
|
};
|
|
2454
|
-
var I = new tt(), ue = new tt(),
|
|
2455
|
-
function
|
|
2456
|
-
return e === "true" ? !0 : e === "false" ? !1 : e === "null" ? null : e === +e + "" ? +e :
|
|
2444
|
+
var I = new tt(), ue = new tt(), rn = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, sn = /[A-Z]/g;
|
|
2445
|
+
function on(e) {
|
|
2446
|
+
return e === "true" ? !0 : e === "false" ? !1 : e === "null" ? null : e === +e + "" ? +e : rn.test(e) ? JSON.parse(e) : e;
|
|
2457
2447
|
}
|
|
2458
|
-
function
|
|
2448
|
+
function oi(e, t, i) {
|
|
2459
2449
|
var n;
|
|
2460
2450
|
if (i === void 0 && e.nodeType === 1)
|
|
2461
2451
|
if (n = "data-" + t.replace(sn, "-$&").toLowerCase(), i = e.getAttribute(n), typeof i == "string") {
|
|
2462
2452
|
try {
|
|
2463
|
-
i =
|
|
2453
|
+
i = on(i);
|
|
2464
2454
|
} catch {
|
|
2465
2455
|
}
|
|
2466
2456
|
ue.set(e, t, i);
|
|
@@ -2488,21 +2478,21 @@ function Cr() {
|
|
|
2488
2478
|
}
|
|
2489
2479
|
}), r.fn.extend({
|
|
2490
2480
|
data: function(e, t) {
|
|
2491
|
-
var i, n,
|
|
2481
|
+
var i, n, s, o = this[0], u = o && o.attributes;
|
|
2492
2482
|
if (e === void 0) {
|
|
2493
|
-
if (this.length && (
|
|
2483
|
+
if (this.length && (s = ue.get(o), o.nodeType === 1 && !I.get(o, "hasDataAttrs"))) {
|
|
2494
2484
|
for (i = u.length; i--; )
|
|
2495
|
-
u[i] && (n = u[i].name, n.indexOf("data-") === 0 && (n = xe(n.slice(5)),
|
|
2496
|
-
I.set(
|
|
2485
|
+
u[i] && (n = u[i].name, n.indexOf("data-") === 0 && (n = xe(n.slice(5)), oi(o, n, s[n])));
|
|
2486
|
+
I.set(o, "hasDataAttrs", !0);
|
|
2497
2487
|
}
|
|
2498
|
-
return
|
|
2488
|
+
return s;
|
|
2499
2489
|
}
|
|
2500
2490
|
return typeof e == "object" ? this.each(function() {
|
|
2501
2491
|
ue.set(this, e);
|
|
2502
2492
|
}) : Ee(this, function(c) {
|
|
2503
|
-
var
|
|
2504
|
-
if (
|
|
2505
|
-
return
|
|
2493
|
+
var l;
|
|
2494
|
+
if (o && c === void 0)
|
|
2495
|
+
return l = ue.get(o, e), l !== void 0 || (l = oi(o, e), l !== void 0) ? l : void 0;
|
|
2506
2496
|
this.each(function() {
|
|
2507
2497
|
ue.set(this, e, c);
|
|
2508
2498
|
});
|
|
@@ -2521,10 +2511,10 @@ function Cr() {
|
|
|
2521
2511
|
},
|
|
2522
2512
|
dequeue: function(e, t) {
|
|
2523
2513
|
t = t || "fx";
|
|
2524
|
-
var i = r.queue(e, t), n = i.length,
|
|
2514
|
+
var i = r.queue(e, t), n = i.length, s = i.shift(), o = r._queueHooks(e, t), u = function() {
|
|
2525
2515
|
r.dequeue(e, t);
|
|
2526
2516
|
};
|
|
2527
|
-
|
|
2517
|
+
s === "inprogress" && (s = i.shift(), n--), s && (t === "fx" && i.unshift("inprogress"), delete o.stop, s.call(e, u, o)), !n && o && o.empty.fire();
|
|
2528
2518
|
},
|
|
2529
2519
|
// Not public - generate a queueHooks object, or return the current one
|
|
2530
2520
|
_queueHooks: function(e, t) {
|
|
@@ -2554,19 +2544,19 @@ function Cr() {
|
|
|
2554
2544
|
// Get a promise resolved when queues of a certain type
|
|
2555
2545
|
// are emptied (fx is the type by default)
|
|
2556
2546
|
promise: function(e, t) {
|
|
2557
|
-
var i, n = 1,
|
|
2558
|
-
--n ||
|
|
2547
|
+
var i, n = 1, s = r.Deferred(), o = this, u = this.length, c = function() {
|
|
2548
|
+
--n || s.resolveWith(o, [o]);
|
|
2559
2549
|
};
|
|
2560
2550
|
for (typeof e != "string" && (t = e, e = void 0), e = e || "fx"; u--; )
|
|
2561
|
-
i = I.get(
|
|
2562
|
-
return c(),
|
|
2551
|
+
i = I.get(o[u], e + "queueHooks"), i && i.empty && (n++, i.empty.add(c));
|
|
2552
|
+
return c(), s.promise(t);
|
|
2563
2553
|
}
|
|
2564
2554
|
});
|
|
2565
|
-
var ai = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, it = new RegExp("^(?:([+-])=|)(" + ai + ")([a-z%]*)$", "i"), Ae = ["Top", "Right", "Bottom", "Left"],
|
|
2555
|
+
var ai = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, it = new RegExp("^(?:([+-])=|)(" + ai + ")([a-z%]*)$", "i"), Ae = ["Top", "Right", "Bottom", "Left"], Me = L.documentElement, Ve = function(e) {
|
|
2566
2556
|
return r.contains(e.ownerDocument, e);
|
|
2567
|
-
},
|
|
2568
|
-
|
|
2569
|
-
return r.contains(e.ownerDocument, e) || e.getRootNode(
|
|
2557
|
+
}, an = { composed: !0 };
|
|
2558
|
+
Me.getRootNode && (Ve = function(e) {
|
|
2559
|
+
return r.contains(e.ownerDocument, e) || e.getRootNode(an) === e.ownerDocument;
|
|
2570
2560
|
});
|
|
2571
2561
|
var gt = function(e, t) {
|
|
2572
2562
|
return e = t || e, e.style.display === "none" || e.style.display === "" && // Otherwise, check computed style
|
|
@@ -2576,28 +2566,28 @@ function Cr() {
|
|
|
2576
2566
|
Ve(e) && r.css(e, "display") === "none";
|
|
2577
2567
|
};
|
|
2578
2568
|
function ui(e, t, i, n) {
|
|
2579
|
-
var
|
|
2569
|
+
var s, o, u = 20, c = n ? function() {
|
|
2580
2570
|
return n.cur();
|
|
2581
2571
|
} : function() {
|
|
2582
2572
|
return r.css(e, t, "");
|
|
2583
|
-
},
|
|
2573
|
+
}, l = c(), h = i && i[3] || (r.cssNumber[t] ? "" : "px"), x = e.nodeType && (r.cssNumber[t] || h !== "px" && +l) && it.exec(r.css(e, t));
|
|
2584
2574
|
if (x && x[3] !== h) {
|
|
2585
|
-
for (
|
|
2586
|
-
r.style(e, t, x + h), (1 -
|
|
2575
|
+
for (l = l / 2, h = h || x[3], x = +l || 1; u--; )
|
|
2576
|
+
r.style(e, t, x + h), (1 - o) * (1 - (o = c() / l || 0.5)) <= 0 && (u = 0), x = x / o;
|
|
2587
2577
|
x = x * 2, r.style(e, t, x + h), i = i || [];
|
|
2588
2578
|
}
|
|
2589
|
-
return i && (x = +x || +
|
|
2579
|
+
return i && (x = +x || +l || 0, s = i[1] ? x + (i[1] + 1) * i[2] : +i[2], n && (n.unit = h, n.start = x, n.end = s)), s;
|
|
2590
2580
|
}
|
|
2591
|
-
var
|
|
2592
|
-
function
|
|
2593
|
-
var t, i = e.ownerDocument, n = e.nodeName,
|
|
2594
|
-
return
|
|
2581
|
+
var fi = {};
|
|
2582
|
+
function un(e) {
|
|
2583
|
+
var t, i = e.ownerDocument, n = e.nodeName, s = fi[n];
|
|
2584
|
+
return s || (t = i.body.appendChild(i.createElement(n)), s = r.css(t, "display"), t.parentNode.removeChild(t), s === "none" && (s = "block"), fi[n] = s, s);
|
|
2595
2585
|
}
|
|
2596
2586
|
function Ue(e, t) {
|
|
2597
|
-
for (var i, n,
|
|
2598
|
-
n = e[
|
|
2599
|
-
for (
|
|
2600
|
-
o
|
|
2587
|
+
for (var i, n, s = [], o = 0, u = e.length; o < u; o++)
|
|
2588
|
+
n = e[o], n.style && (i = n.style.display, t ? (i === "none" && (s[o] = I.get(n, "display") || null, s[o] || (n.style.display = "")), n.style.display === "" && gt(n) && (s[o] = un(n))) : i !== "none" && (s[o] = "none", I.set(n, "display", i)));
|
|
2589
|
+
for (o = 0; o < u; o++)
|
|
2590
|
+
s[o] != null && (e[o].style.display = s[o]);
|
|
2601
2591
|
return e;
|
|
2602
2592
|
}
|
|
2603
2593
|
r.fn.extend({
|
|
@@ -2613,10 +2603,10 @@ function Cr() {
|
|
|
2613
2603
|
});
|
|
2614
2604
|
}
|
|
2615
2605
|
});
|
|
2616
|
-
var nt = /^(?:checkbox|radio)$/i,
|
|
2606
|
+
var nt = /^(?:checkbox|radio)$/i, li = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, ci = /^$|^module$|\/(?:java|ecma)script/i;
|
|
2617
2607
|
(function() {
|
|
2618
2608
|
var e = L.createDocumentFragment(), t = e.appendChild(L.createElement("div")), i = L.createElement("input");
|
|
2619
|
-
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), t.appendChild(i),
|
|
2609
|
+
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), t.appendChild(i), M.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked, t.innerHTML = "<textarea>x</textarea>", M.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue, t.innerHTML = "<option></option>", M.option = !!t.lastChild;
|
|
2620
2610
|
})();
|
|
2621
2611
|
var he = {
|
|
2622
2612
|
// XHTML parsers do not magically insert elements in the
|
|
@@ -2628,8 +2618,8 @@ function Cr() {
|
|
|
2628
2618
|
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
|
|
2629
2619
|
_default: [0, "", ""]
|
|
2630
2620
|
};
|
|
2631
|
-
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td,
|
|
2632
|
-
function
|
|
2621
|
+
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td, M.option || (he.optgroup = he.option = [1, "<select multiple='multiple'>", "</select>"]);
|
|
2622
|
+
function fe(e, t) {
|
|
2633
2623
|
var i;
|
|
2634
2624
|
return typeof e.getElementsByTagName < "u" ? i = e.getElementsByTagName(t || "*") : typeof e.querySelectorAll < "u" ? i = e.querySelectorAll(t || "*") : i = [], t === void 0 || t && K(e, t) ? r.merge([e], i) : i;
|
|
2635
2625
|
}
|
|
@@ -2642,26 +2632,26 @@ function Cr() {
|
|
|
2642
2632
|
);
|
|
2643
2633
|
}
|
|
2644
2634
|
var fn = /<|&#?\w+;/;
|
|
2645
|
-
function di(e, t, i, n,
|
|
2646
|
-
for (var
|
|
2647
|
-
if (
|
|
2648
|
-
if (We(
|
|
2649
|
-
r.merge(
|
|
2650
|
-
else if (!fn.test(
|
|
2651
|
-
|
|
2635
|
+
function di(e, t, i, n, s) {
|
|
2636
|
+
for (var o, u, c, l, h, x, T = t.createDocumentFragment(), y = [], S = 0, P = e.length; S < P; S++)
|
|
2637
|
+
if (o = e[S], o || o === 0)
|
|
2638
|
+
if (We(o) === "object")
|
|
2639
|
+
r.merge(y, o.nodeType ? [o] : o);
|
|
2640
|
+
else if (!fn.test(o))
|
|
2641
|
+
y.push(t.createTextNode(o));
|
|
2652
2642
|
else {
|
|
2653
|
-
for (u = u || T.appendChild(t.createElement("div")), c = (
|
|
2643
|
+
for (u = u || T.appendChild(t.createElement("div")), c = (li.exec(o) || ["", ""])[1].toLowerCase(), l = he[c] || he._default, u.innerHTML = l[1] + r.htmlPrefilter(o) + l[2], x = l[0]; x--; )
|
|
2654
2644
|
u = u.lastChild;
|
|
2655
|
-
r.merge(
|
|
2645
|
+
r.merge(y, u.childNodes), u = T.firstChild, u.textContent = "";
|
|
2656
2646
|
}
|
|
2657
|
-
for (T.textContent = "", S = 0;
|
|
2658
|
-
if (n && r.inArray(
|
|
2659
|
-
|
|
2647
|
+
for (T.textContent = "", S = 0; o = y[S++]; ) {
|
|
2648
|
+
if (n && r.inArray(o, n) > -1) {
|
|
2649
|
+
s && s.push(o);
|
|
2660
2650
|
continue;
|
|
2661
2651
|
}
|
|
2662
|
-
if (h = Ve(
|
|
2663
|
-
for (x = 0;
|
|
2664
|
-
ci.test(
|
|
2652
|
+
if (h = Ve(o), u = fe(T.appendChild(o), "script"), h && Nt(u), i)
|
|
2653
|
+
for (x = 0; o = u[x++]; )
|
|
2654
|
+
ci.test(o.type || "") && i.push(o);
|
|
2665
2655
|
}
|
|
2666
2656
|
return T;
|
|
2667
2657
|
}
|
|
@@ -2672,74 +2662,74 @@ function Cr() {
|
|
|
2672
2662
|
function ze() {
|
|
2673
2663
|
return !1;
|
|
2674
2664
|
}
|
|
2675
|
-
function Lt(e, t, i, n,
|
|
2665
|
+
function Lt(e, t, i, n, s, o) {
|
|
2676
2666
|
var u, c;
|
|
2677
2667
|
if (typeof t == "object") {
|
|
2678
2668
|
typeof i != "string" && (n = n || i, i = void 0);
|
|
2679
2669
|
for (c in t)
|
|
2680
|
-
Lt(e, c, i, n, t[c],
|
|
2670
|
+
Lt(e, c, i, n, t[c], o);
|
|
2681
2671
|
return e;
|
|
2682
2672
|
}
|
|
2683
|
-
if (n == null &&
|
|
2684
|
-
|
|
2685
|
-
else if (!
|
|
2673
|
+
if (n == null && s == null ? (s = i, n = i = void 0) : s == null && (typeof i == "string" ? (s = n, n = void 0) : (s = n, n = i, i = void 0)), s === !1)
|
|
2674
|
+
s = ze;
|
|
2675
|
+
else if (!s)
|
|
2686
2676
|
return e;
|
|
2687
|
-
return
|
|
2688
|
-
return r().off(
|
|
2689
|
-
},
|
|
2690
|
-
r.event.add(this, t,
|
|
2677
|
+
return o === 1 && (u = s, s = function(l) {
|
|
2678
|
+
return r().off(l), u.apply(this, arguments);
|
|
2679
|
+
}, s.guid = u.guid || (u.guid = r.guid++)), e.each(function() {
|
|
2680
|
+
r.event.add(this, t, s, n, i);
|
|
2691
2681
|
});
|
|
2692
2682
|
}
|
|
2693
2683
|
r.event = {
|
|
2694
2684
|
global: {},
|
|
2695
|
-
add: function(e, t, i, n,
|
|
2696
|
-
var
|
|
2685
|
+
add: function(e, t, i, n, s) {
|
|
2686
|
+
var o, u, c, l, h, x, T, y, S, P, z, _ = I.get(e);
|
|
2697
2687
|
if (et(e))
|
|
2698
|
-
for (i.handler && (
|
|
2699
|
-
return typeof r < "u" && r.event.triggered !==
|
|
2688
|
+
for (i.handler && (o = i, i = o.handler, s = o.selector), s && r.find.matchesSelector(Me, s), i.guid || (i.guid = r.guid++), (l = _.events) || (l = _.events = /* @__PURE__ */ Object.create(null)), (u = _.handle) || (u = _.handle = function(se) {
|
|
2689
|
+
return typeof r < "u" && r.event.triggered !== se.type ? r.event.dispatch.apply(e, arguments) : void 0;
|
|
2700
2690
|
}), t = (t || "").match(ve) || [""], h = t.length; h--; )
|
|
2701
|
-
c = hi.exec(t[h]) || [], S = z = c[1], P = (c[2] || "").split(".").sort(), S && (T = r.event.special[S] || {}, S = (
|
|
2691
|
+
c = hi.exec(t[h]) || [], S = z = c[1], P = (c[2] || "").split(".").sort(), S && (T = r.event.special[S] || {}, S = (s ? T.delegateType : T.bindType) || S, T = r.event.special[S] || {}, x = r.extend({
|
|
2702
2692
|
type: S,
|
|
2703
2693
|
origType: z,
|
|
2704
2694
|
data: n,
|
|
2705
2695
|
handler: i,
|
|
2706
2696
|
guid: i.guid,
|
|
2707
|
-
selector:
|
|
2708
|
-
needsContext:
|
|
2697
|
+
selector: s,
|
|
2698
|
+
needsContext: s && r.expr.match.needsContext.test(s),
|
|
2709
2699
|
namespace: P.join(".")
|
|
2710
|
-
},
|
|
2700
|
+
}, o), (y = l[S]) || (y = l[S] = [], y.delegateCount = 0, (!T.setup || T.setup.call(e, n, P, u) === !1) && e.addEventListener && e.addEventListener(S, u)), T.add && (T.add.call(e, x), x.handler.guid || (x.handler.guid = i.guid)), s ? y.splice(y.delegateCount++, 0, x) : y.push(x), r.event.global[S] = !0);
|
|
2711
2701
|
},
|
|
2712
2702
|
// Detach an event or set of events from an element
|
|
2713
|
-
remove: function(e, t, i, n,
|
|
2714
|
-
var
|
|
2715
|
-
if (!(!_ || !(
|
|
2703
|
+
remove: function(e, t, i, n, s) {
|
|
2704
|
+
var o, u, c, l, h, x, T, y, S, P, z, _ = I.hasData(e) && I.get(e);
|
|
2705
|
+
if (!(!_ || !(l = _.events))) {
|
|
2716
2706
|
for (t = (t || "").match(ve) || [""], h = t.length; h--; ) {
|
|
2717
2707
|
if (c = hi.exec(t[h]) || [], S = z = c[1], P = (c[2] || "").split(".").sort(), !S) {
|
|
2718
|
-
for (S in
|
|
2708
|
+
for (S in l)
|
|
2719
2709
|
r.event.remove(e, S + t[h], i, n, !0);
|
|
2720
2710
|
continue;
|
|
2721
2711
|
}
|
|
2722
|
-
for (T = r.event.special[S] || {}, S = (n ? T.delegateType : T.bindType) || S,
|
|
2723
|
-
x =
|
|
2724
|
-
u && !
|
|
2712
|
+
for (T = r.event.special[S] || {}, S = (n ? T.delegateType : T.bindType) || S, y = l[S] || [], c = c[2] && new RegExp("(^|\\.)" + P.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = o = y.length; o--; )
|
|
2713
|
+
x = y[o], (s || z === x.origType) && (!i || i.guid === x.guid) && (!c || c.test(x.namespace)) && (!n || n === x.selector || n === "**" && x.selector) && (y.splice(o, 1), x.selector && y.delegateCount--, T.remove && T.remove.call(e, x));
|
|
2714
|
+
u && !y.length && ((!T.teardown || T.teardown.call(e, P, _.handle) === !1) && r.removeEvent(e, S, _.handle), delete l[S]);
|
|
2725
2715
|
}
|
|
2726
|
-
r.isEmptyObject(
|
|
2716
|
+
r.isEmptyObject(l) && I.remove(e, "handle events");
|
|
2727
2717
|
}
|
|
2728
2718
|
},
|
|
2729
2719
|
dispatch: function(e) {
|
|
2730
|
-
var t, i, n,
|
|
2731
|
-
for (c[0] =
|
|
2720
|
+
var t, i, n, s, o, u, c = new Array(arguments.length), l = r.event.fix(e), h = (I.get(this, "events") || /* @__PURE__ */ Object.create(null))[l.type] || [], x = r.event.special[l.type] || {};
|
|
2721
|
+
for (c[0] = l, t = 1; t < arguments.length; t++)
|
|
2732
2722
|
c[t] = arguments[t];
|
|
2733
|
-
if (
|
|
2734
|
-
for (u = r.event.handlers.call(this,
|
|
2735
|
-
for (
|
|
2736
|
-
(!
|
|
2737
|
-
return x.postDispatch && x.postDispatch.call(this,
|
|
2723
|
+
if (l.delegateTarget = this, !(x.preDispatch && x.preDispatch.call(this, l) === !1)) {
|
|
2724
|
+
for (u = r.event.handlers.call(this, l, h), t = 0; (s = u[t++]) && !l.isPropagationStopped(); )
|
|
2725
|
+
for (l.currentTarget = s.elem, i = 0; (o = s.handlers[i++]) && !l.isImmediatePropagationStopped(); )
|
|
2726
|
+
(!l.rnamespace || o.namespace === !1 || l.rnamespace.test(o.namespace)) && (l.handleObj = o, l.data = o.data, n = ((r.event.special[o.origType] || {}).handle || o.handler).apply(s.elem, c), n !== void 0 && (l.result = n) === !1 && (l.preventDefault(), l.stopPropagation()));
|
|
2727
|
+
return x.postDispatch && x.postDispatch.call(this, l), l.result;
|
|
2738
2728
|
}
|
|
2739
2729
|
},
|
|
2740
2730
|
handlers: function(e, t) {
|
|
2741
|
-
var i, n,
|
|
2742
|
-
if (
|
|
2731
|
+
var i, n, s, o, u, c = [], l = t.delegateCount, h = e.target;
|
|
2732
|
+
if (l && // Support: IE <=9
|
|
2743
2733
|
// Black-hole SVG <use> instance trees (trac-13180)
|
|
2744
2734
|
h.nodeType && // Support: Firefox <=42
|
|
2745
2735
|
// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
|
|
@@ -2749,12 +2739,12 @@ function Cr() {
|
|
|
2749
2739
|
!(e.type === "click" && e.button >= 1)) {
|
|
2750
2740
|
for (; h !== this; h = h.parentNode || this)
|
|
2751
2741
|
if (h.nodeType === 1 && !(e.type === "click" && h.disabled === !0)) {
|
|
2752
|
-
for (
|
|
2753
|
-
n = t[i],
|
|
2754
|
-
|
|
2742
|
+
for (o = [], u = {}, i = 0; i < l; i++)
|
|
2743
|
+
n = t[i], s = n.selector + " ", u[s] === void 0 && (u[s] = n.needsContext ? r(s, this).index(h) > -1 : r.find(s, this, null, [h]).length), u[s] && o.push(n);
|
|
2744
|
+
o.length && c.push({ elem: h, handlers: o });
|
|
2755
2745
|
}
|
|
2756
2746
|
}
|
|
2757
|
-
return h = this,
|
|
2747
|
+
return h = this, l < t.length && c.push({ elem: h, handlers: t.slice(l) }), c;
|
|
2758
2748
|
},
|
|
2759
2749
|
addProp: function(e, t) {
|
|
2760
2750
|
Object.defineProperty(r.Event.prototype, e, {
|
|
@@ -2817,15 +2807,15 @@ function Cr() {
|
|
|
2817
2807
|
I.set(e, t, !1), r.event.add(e, t, {
|
|
2818
2808
|
namespace: !1,
|
|
2819
2809
|
handler: function(n) {
|
|
2820
|
-
var
|
|
2810
|
+
var s, o = I.get(this, t);
|
|
2821
2811
|
if (n.isTrigger & 1 && this[t]) {
|
|
2822
|
-
if (
|
|
2812
|
+
if (o)
|
|
2823
2813
|
(r.event.special[t] || {}).delegateType && n.stopPropagation();
|
|
2824
|
-
else if (
|
|
2825
|
-
return n.stopImmediatePropagation(), n.preventDefault(),
|
|
2826
|
-
} else
|
|
2827
|
-
|
|
2828
|
-
|
|
2814
|
+
else if (o = w.call(arguments), I.set(this, t, o), this[t](), s = I.get(this, t), I.set(this, t, !1), o !== s)
|
|
2815
|
+
return n.stopImmediatePropagation(), n.preventDefault(), s;
|
|
2816
|
+
} else o && (I.set(this, t, r.event.trigger(
|
|
2817
|
+
o[0],
|
|
2818
|
+
o.slice(1),
|
|
2829
2819
|
this
|
|
2830
2820
|
)), n.stopPropagation(), n.isImmediatePropagationStopped = $e);
|
|
2831
2821
|
}
|
|
@@ -2891,8 +2881,8 @@ function Cr() {
|
|
|
2891
2881
|
}, r.event.addProp), r.each({ focus: "focusin", blur: "focusout" }, function(e, t) {
|
|
2892
2882
|
function i(n) {
|
|
2893
2883
|
if (L.documentMode) {
|
|
2894
|
-
var
|
|
2895
|
-
|
|
2884
|
+
var s = I.get(this, "handle"), o = r.event.fix(n);
|
|
2885
|
+
o.type = n.type === "focusin" ? "focus" : "blur", o.isSimulated = !0, s(n), o.target === o.currentTarget && s(o);
|
|
2896
2886
|
} else
|
|
2897
2887
|
r.event.simulate(
|
|
2898
2888
|
t,
|
|
@@ -2927,12 +2917,12 @@ function Cr() {
|
|
|
2927
2917
|
delegateType: t
|
|
2928
2918
|
}, r.event.special[t] = {
|
|
2929
2919
|
setup: function() {
|
|
2930
|
-
var n = this.ownerDocument || this.document || this,
|
|
2931
|
-
|
|
2920
|
+
var n = this.ownerDocument || this.document || this, s = L.documentMode ? this : n, o = I.get(s, t);
|
|
2921
|
+
o || (L.documentMode ? this.addEventListener(t, i) : n.addEventListener(e, i, !0)), I.set(s, t, (o || 0) + 1);
|
|
2932
2922
|
},
|
|
2933
2923
|
teardown: function() {
|
|
2934
|
-
var n = this.ownerDocument || this.document || this,
|
|
2935
|
-
|
|
2924
|
+
var n = this.ownerDocument || this.document || this, s = L.documentMode ? this : n, o = I.get(s, t) - 1;
|
|
2925
|
+
o ? I.set(s, t, o) : (L.documentMode ? this.removeEventListener(t, i) : n.removeEventListener(e, i, !0), I.remove(s, t));
|
|
2936
2926
|
}
|
|
2937
2927
|
};
|
|
2938
2928
|
}), r.each({
|
|
@@ -2945,8 +2935,8 @@ function Cr() {
|
|
|
2945
2935
|
delegateType: t,
|
|
2946
2936
|
bindType: t,
|
|
2947
2937
|
handle: function(i) {
|
|
2948
|
-
var n,
|
|
2949
|
-
return (!
|
|
2938
|
+
var n, s = this, o = i.relatedTarget, u = i.handleObj;
|
|
2939
|
+
return (!o || o !== s && !r.contains(s, o)) && (i.type = u.origType, n = u.handler.apply(this, arguments), i.type = t), n;
|
|
2950
2940
|
}
|
|
2951
2941
|
};
|
|
2952
2942
|
}), r.fn.extend({
|
|
@@ -2957,7 +2947,7 @@ function Cr() {
|
|
|
2957
2947
|
return Lt(this, e, t, i, n, 1);
|
|
2958
2948
|
},
|
|
2959
2949
|
off: function(e, t, i) {
|
|
2960
|
-
var n,
|
|
2950
|
+
var n, s;
|
|
2961
2951
|
if (e && e.preventDefault && e.handleObj)
|
|
2962
2952
|
return n = e.handleObj, r(e.delegateTarget).off(
|
|
2963
2953
|
n.namespace ? n.origType + "." + n.namespace : n.origType,
|
|
@@ -2965,8 +2955,8 @@ function Cr() {
|
|
|
2965
2955
|
n.handler
|
|
2966
2956
|
), this;
|
|
2967
2957
|
if (typeof e == "object") {
|
|
2968
|
-
for (
|
|
2969
|
-
this.off(
|
|
2958
|
+
for (s in e)
|
|
2959
|
+
this.off(s, t, e[s]);
|
|
2970
2960
|
return this;
|
|
2971
2961
|
}
|
|
2972
2962
|
return (t === !1 || typeof t == "function") && (i = t, t = void 0), i === !1 && (i = ze), this.each(function() {
|
|
@@ -2974,54 +2964,54 @@ function Cr() {
|
|
|
2974
2964
|
});
|
|
2975
2965
|
}
|
|
2976
2966
|
});
|
|
2977
|
-
var
|
|
2967
|
+
var ln = /<script|<style|<link/i, cn = /checked\s*(?:[^=]|=\s*.checked.)/i, dn = /^\s*<!\[CDATA\[|\]\]>\s*$/g;
|
|
2978
2968
|
function pi(e, t) {
|
|
2979
2969
|
return K(e, "table") && K(t.nodeType !== 11 ? t : t.firstChild, "tr") && r(e).children("tbody")[0] || e;
|
|
2980
2970
|
}
|
|
2981
|
-
function
|
|
2971
|
+
function hn(e) {
|
|
2982
2972
|
return e.type = (e.getAttribute("type") !== null) + "/" + e.type, e;
|
|
2983
2973
|
}
|
|
2984
|
-
function
|
|
2974
|
+
function pn(e) {
|
|
2985
2975
|
return (e.type || "").slice(0, 5) === "true/" ? e.type = e.type.slice(5) : e.removeAttribute("type"), e;
|
|
2986
2976
|
}
|
|
2987
2977
|
function gi(e, t) {
|
|
2988
|
-
var i, n,
|
|
2978
|
+
var i, n, s, o, u, c, l;
|
|
2989
2979
|
if (t.nodeType === 1) {
|
|
2990
|
-
if (I.hasData(e) && (
|
|
2980
|
+
if (I.hasData(e) && (o = I.get(e), l = o.events, l)) {
|
|
2991
2981
|
I.remove(t, "handle events");
|
|
2992
|
-
for (
|
|
2993
|
-
for (i = 0, n =
|
|
2994
|
-
r.event.add(t,
|
|
2982
|
+
for (s in l)
|
|
2983
|
+
for (i = 0, n = l[s].length; i < n; i++)
|
|
2984
|
+
r.event.add(t, s, l[s][i]);
|
|
2995
2985
|
}
|
|
2996
2986
|
ue.hasData(e) && (u = ue.access(e), c = r.extend({}, u), ue.set(t, c));
|
|
2997
2987
|
}
|
|
2998
2988
|
}
|
|
2999
|
-
function
|
|
2989
|
+
function gn(e, t) {
|
|
3000
2990
|
var i = t.nodeName.toLowerCase();
|
|
3001
2991
|
i === "input" && nt.test(e.type) ? t.checked = e.checked : (i === "input" || i === "textarea") && (t.defaultValue = e.defaultValue);
|
|
3002
2992
|
}
|
|
3003
2993
|
function Xe(e, t, i, n) {
|
|
3004
2994
|
t = D(t);
|
|
3005
|
-
var
|
|
3006
|
-
if (P || T > 1 && typeof S == "string" && !
|
|
2995
|
+
var s, o, u, c, l, h, x = 0, T = e.length, y = T - 1, S = t[0], P = W(S);
|
|
2996
|
+
if (P || T > 1 && typeof S == "string" && !M.checkClone && cn.test(S))
|
|
3007
2997
|
return e.each(function(z) {
|
|
3008
2998
|
var _ = e.eq(z);
|
|
3009
2999
|
P && (t[0] = S.call(this, z, _.html())), Xe(_, t, i, n);
|
|
3010
3000
|
});
|
|
3011
|
-
if (T && (
|
|
3012
|
-
for (u = r.map(
|
|
3013
|
-
|
|
3001
|
+
if (T && (s = di(t, e[0].ownerDocument, !1, e, n), o = s.firstChild, s.childNodes.length === 1 && (s = o), o || n)) {
|
|
3002
|
+
for (u = r.map(fe(s, "script"), hn), c = u.length; x < T; x++)
|
|
3003
|
+
l = s, x !== y && (l = r.clone(l, !0, !0), c && r.merge(u, fe(l, "script"))), i.call(e[x], l, x);
|
|
3014
3004
|
if (c)
|
|
3015
|
-
for (h = u[u.length - 1].ownerDocument, r.map(u,
|
|
3016
|
-
|
|
3017
|
-
nonce:
|
|
3018
|
-
}, h) : Ke(
|
|
3005
|
+
for (h = u[u.length - 1].ownerDocument, r.map(u, pn), x = 0; x < c; x++)
|
|
3006
|
+
l = u[x], ci.test(l.type || "") && !I.access(l, "globalEval") && r.contains(h, l) && (l.src && (l.type || "").toLowerCase() !== "module" ? r._evalUrl && !l.noModule && r._evalUrl(l.src, {
|
|
3007
|
+
nonce: l.nonce || l.getAttribute("nonce")
|
|
3008
|
+
}, h) : Ke(l.textContent.replace(dn, ""), l, h));
|
|
3019
3009
|
}
|
|
3020
3010
|
return e;
|
|
3021
3011
|
}
|
|
3022
3012
|
function yi(e, t, i) {
|
|
3023
|
-
for (var n,
|
|
3024
|
-
!i && n.nodeType === 1 && r.cleanData(
|
|
3013
|
+
for (var n, s = t ? r.filter(t, e) : e, o = 0; (n = s[o]) != null; o++)
|
|
3014
|
+
!i && n.nodeType === 1 && r.cleanData(fe(n)), n.parentNode && (i && Ve(n) && Nt(fe(n, "script")), n.parentNode.removeChild(n));
|
|
3025
3015
|
return e;
|
|
3026
3016
|
}
|
|
3027
3017
|
r.extend({
|
|
@@ -3029,25 +3019,25 @@ function Cr() {
|
|
|
3029
3019
|
return e;
|
|
3030
3020
|
},
|
|
3031
3021
|
clone: function(e, t, i) {
|
|
3032
|
-
var n,
|
|
3033
|
-
if (!
|
|
3034
|
-
for (u =
|
|
3035
|
-
|
|
3022
|
+
var n, s, o, u, c = e.cloneNode(!0), l = Ve(e);
|
|
3023
|
+
if (!M.noCloneChecked && (e.nodeType === 1 || e.nodeType === 11) && !r.isXMLDoc(e))
|
|
3024
|
+
for (u = fe(c), o = fe(e), n = 0, s = o.length; n < s; n++)
|
|
3025
|
+
gn(o[n], u[n]);
|
|
3036
3026
|
if (t)
|
|
3037
3027
|
if (i)
|
|
3038
|
-
for (
|
|
3039
|
-
gi(
|
|
3028
|
+
for (o = o || fe(e), u = u || fe(c), n = 0, s = o.length; n < s; n++)
|
|
3029
|
+
gi(o[n], u[n]);
|
|
3040
3030
|
else
|
|
3041
3031
|
gi(e, c);
|
|
3042
|
-
return u =
|
|
3032
|
+
return u = fe(c, "script"), u.length > 0 && Nt(u, !l && fe(e, "script")), c;
|
|
3043
3033
|
},
|
|
3044
3034
|
cleanData: function(e) {
|
|
3045
|
-
for (var t, i, n,
|
|
3035
|
+
for (var t, i, n, s = r.event.special, o = 0; (i = e[o]) !== void 0; o++)
|
|
3046
3036
|
if (et(i)) {
|
|
3047
3037
|
if (t = i[I.expando]) {
|
|
3048
3038
|
if (t.events)
|
|
3049
3039
|
for (n in t.events)
|
|
3050
|
-
|
|
3040
|
+
s[n] ? r.event.remove(i, n) : r.removeEvent(i, n, t.handle);
|
|
3051
3041
|
i[I.expando] = void 0;
|
|
3052
3042
|
}
|
|
3053
3043
|
i[ue.expando] && (i[ue.expando] = void 0);
|
|
@@ -3095,7 +3085,7 @@ function Cr() {
|
|
|
3095
3085
|
},
|
|
3096
3086
|
empty: function() {
|
|
3097
3087
|
for (var e, t = 0; (e = this[t]) != null; t++)
|
|
3098
|
-
e.nodeType === 1 && (r.cleanData(
|
|
3088
|
+
e.nodeType === 1 && (r.cleanData(fe(e, !1)), e.textContent = "");
|
|
3099
3089
|
return this;
|
|
3100
3090
|
},
|
|
3101
3091
|
clone: function(e, t) {
|
|
@@ -3105,14 +3095,14 @@ function Cr() {
|
|
|
3105
3095
|
},
|
|
3106
3096
|
html: function(e) {
|
|
3107
3097
|
return Ee(this, function(t) {
|
|
3108
|
-
var i = this[0] || {}, n = 0,
|
|
3098
|
+
var i = this[0] || {}, n = 0, s = this.length;
|
|
3109
3099
|
if (t === void 0 && i.nodeType === 1)
|
|
3110
3100
|
return i.innerHTML;
|
|
3111
|
-
if (typeof t == "string" && !
|
|
3101
|
+
if (typeof t == "string" && !ln.test(t) && !he[(li.exec(t) || ["", ""])[1].toLowerCase()]) {
|
|
3112
3102
|
t = r.htmlPrefilter(t);
|
|
3113
3103
|
try {
|
|
3114
|
-
for (; n <
|
|
3115
|
-
i = this[n] || {}, i.nodeType === 1 && (r.cleanData(
|
|
3104
|
+
for (; n < s; n++)
|
|
3105
|
+
i = this[n] || {}, i.nodeType === 1 && (r.cleanData(fe(i, !1)), i.innerHTML = t);
|
|
3116
3106
|
i = 0;
|
|
3117
3107
|
} catch {
|
|
3118
3108
|
}
|
|
@@ -3124,7 +3114,7 @@ function Cr() {
|
|
|
3124
3114
|
var e = [];
|
|
3125
3115
|
return Xe(this, arguments, function(t) {
|
|
3126
3116
|
var i = this.parentNode;
|
|
3127
|
-
r.inArray(this, e) < 0 && (r.cleanData(
|
|
3117
|
+
r.inArray(this, e) < 0 && (r.cleanData(fe(this)), i && i.replaceChild(t, this));
|
|
3128
3118
|
}, e);
|
|
3129
3119
|
}
|
|
3130
3120
|
}), r.each({
|
|
@@ -3135,41 +3125,41 @@ function Cr() {
|
|
|
3135
3125
|
replaceAll: "replaceWith"
|
|
3136
3126
|
}, function(e, t) {
|
|
3137
3127
|
r.fn[e] = function(i) {
|
|
3138
|
-
for (var n,
|
|
3139
|
-
n = c === u ? this : this.clone(!0), r(
|
|
3140
|
-
return this.pushStack(
|
|
3128
|
+
for (var n, s = [], o = r(i), u = o.length - 1, c = 0; c <= u; c++)
|
|
3129
|
+
n = c === u ? this : this.clone(!0), r(o[c])[t](n), $.apply(s, n.get());
|
|
3130
|
+
return this.pushStack(s);
|
|
3141
3131
|
};
|
|
3142
3132
|
});
|
|
3143
3133
|
var It = new RegExp("^(" + ai + ")(?!px)[a-z%]+$", "i"), qt = /^--/, mt = function(e) {
|
|
3144
3134
|
var t = e.ownerDocument.defaultView;
|
|
3145
3135
|
return (!t || !t.opener) && (t = a), t.getComputedStyle(e);
|
|
3146
3136
|
}, mi = function(e, t, i) {
|
|
3147
|
-
var n,
|
|
3148
|
-
for (
|
|
3149
|
-
s
|
|
3137
|
+
var n, s, o = {};
|
|
3138
|
+
for (s in t)
|
|
3139
|
+
o[s] = e.style[s], e.style[s] = t[s];
|
|
3150
3140
|
n = i.call(e);
|
|
3151
|
-
for (
|
|
3152
|
-
e.style[
|
|
3141
|
+
for (s in t)
|
|
3142
|
+
e.style[s] = o[s];
|
|
3153
3143
|
return n;
|
|
3154
|
-
},
|
|
3144
|
+
}, yn = new RegExp(Ae.join("|"), "i");
|
|
3155
3145
|
(function() {
|
|
3156
3146
|
function e() {
|
|
3157
3147
|
if (h) {
|
|
3158
|
-
|
|
3148
|
+
l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", h.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", Me.appendChild(l).appendChild(h);
|
|
3159
3149
|
var x = a.getComputedStyle(h);
|
|
3160
|
-
i = x.top !== "1%", c = t(x.marginLeft) === 12, h.style.right = "60%",
|
|
3150
|
+
i = x.top !== "1%", c = t(x.marginLeft) === 12, h.style.right = "60%", o = t(x.right) === 36, n = t(x.width) === 36, h.style.position = "absolute", s = t(h.offsetWidth / 3) === 12, Me.removeChild(l), h = null;
|
|
3161
3151
|
}
|
|
3162
3152
|
}
|
|
3163
3153
|
function t(x) {
|
|
3164
3154
|
return Math.round(parseFloat(x));
|
|
3165
3155
|
}
|
|
3166
|
-
var i, n,
|
|
3167
|
-
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "",
|
|
3156
|
+
var i, n, s, o, u, c, l = L.createElement("div"), h = L.createElement("div");
|
|
3157
|
+
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", M.clearCloneStyle = h.style.backgroundClip === "content-box", r.extend(M, {
|
|
3168
3158
|
boxSizingReliable: function() {
|
|
3169
3159
|
return e(), n;
|
|
3170
3160
|
},
|
|
3171
3161
|
pixelBoxStyles: function() {
|
|
3172
|
-
return e(),
|
|
3162
|
+
return e(), o;
|
|
3173
3163
|
},
|
|
3174
3164
|
pixelPosition: function() {
|
|
3175
3165
|
return e(), i;
|
|
@@ -3178,7 +3168,7 @@ function Cr() {
|
|
|
3178
3168
|
return e(), c;
|
|
3179
3169
|
},
|
|
3180
3170
|
scrollboxSize: function() {
|
|
3181
|
-
return e(),
|
|
3171
|
+
return e(), s;
|
|
3182
3172
|
},
|
|
3183
3173
|
// Support: IE 9 - 11+, Edge 15 - 18+
|
|
3184
3174
|
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
@@ -3190,14 +3180,14 @@ function Cr() {
|
|
|
3190
3180
|
// Only Firefox includes border widths
|
|
3191
3181
|
// in computed dimensions. (gh-4529)
|
|
3192
3182
|
reliableTrDimensions: function() {
|
|
3193
|
-
var x, T,
|
|
3194
|
-
return u == null && (x = L.createElement("table"), T = L.createElement("tr"),
|
|
3183
|
+
var x, T, y, S;
|
|
3184
|
+
return u == null && (x = L.createElement("table"), T = L.createElement("tr"), y = L.createElement("div"), x.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", T.style.cssText = "box-sizing:content-box;border:1px solid", T.style.height = "1px", y.style.height = "9px", y.style.display = "block", Me.appendChild(x).appendChild(T).appendChild(y), S = a.getComputedStyle(T), u = parseInt(S.height, 10) + parseInt(S.borderTopWidth, 10) + parseInt(S.borderBottomWidth, 10) === T.offsetHeight, Me.removeChild(x)), u;
|
|
3195
3185
|
}
|
|
3196
3186
|
}));
|
|
3197
3187
|
})();
|
|
3198
3188
|
function rt(e, t, i) {
|
|
3199
|
-
var n,
|
|
3200
|
-
return i = i || mt(e), i && (u = i.getPropertyValue(t) || i[t], c && u && (u = u.replace(Ze, "$1") || void 0), u === "" && !Ve(e) && (u = r.style(e, t)), !
|
|
3189
|
+
var n, s, o, u, c = qt.test(t), l = e.style;
|
|
3190
|
+
return i = i || mt(e), i && (u = i.getPropertyValue(t) || i[t], c && u && (u = u.replace(Ze, "$1") || void 0), u === "" && !Ve(e) && (u = r.style(e, t)), !M.pixelBoxStyles() && It.test(u) && yn.test(t) && (n = l.width, s = l.minWidth, o = l.maxWidth, l.minWidth = l.maxWidth = l.width = u, u = i.width, l.width = n, l.minWidth = s, l.maxWidth = o)), u !== void 0 ? (
|
|
3201
3191
|
// Support: IE <=9 - 11 only
|
|
3202
3192
|
// IE returns zIndex value as an integer.
|
|
3203
3193
|
u + ""
|
|
@@ -3215,16 +3205,16 @@ function Cr() {
|
|
|
3215
3205
|
};
|
|
3216
3206
|
}
|
|
3217
3207
|
var xi = ["Webkit", "Moz", "ms"], bi = L.createElement("div").style, Ti = {};
|
|
3218
|
-
function
|
|
3208
|
+
function mn(e) {
|
|
3219
3209
|
for (var t = e[0].toUpperCase() + e.slice(1), i = xi.length; i--; )
|
|
3220
3210
|
if (e = xi[i] + t, e in bi)
|
|
3221
3211
|
return e;
|
|
3222
3212
|
}
|
|
3223
|
-
function
|
|
3213
|
+
function jt(e) {
|
|
3224
3214
|
var t = r.cssProps[e] || Ti[e];
|
|
3225
|
-
return t || (e in bi ? e : Ti[e] =
|
|
3215
|
+
return t || (e in bi ? e : Ti[e] = mn(e) || e);
|
|
3226
3216
|
}
|
|
3227
|
-
var
|
|
3217
|
+
var vn = /^(none|table(?!-c[ea]).+)/, xn = { position: "absolute", visibility: "hidden", display: "block" }, wi = {
|
|
3228
3218
|
letterSpacing: "0",
|
|
3229
3219
|
fontWeight: "400"
|
|
3230
3220
|
};
|
|
@@ -3235,38 +3225,38 @@ function Cr() {
|
|
|
3235
3225
|
Math.max(0, n[2] - (i || 0)) + (n[3] || "px")
|
|
3236
3226
|
) : t;
|
|
3237
3227
|
}
|
|
3238
|
-
function
|
|
3239
|
-
var u = t === "width" ? 1 : 0, c = 0,
|
|
3228
|
+
function Mt(e, t, i, n, s, o) {
|
|
3229
|
+
var u = t === "width" ? 1 : 0, c = 0, l = 0, h = 0;
|
|
3240
3230
|
if (i === (n ? "border" : "content"))
|
|
3241
3231
|
return 0;
|
|
3242
3232
|
for (; u < 4; u += 2)
|
|
3243
|
-
i === "margin" && (h += r.css(e, i + Ae[u], !0,
|
|
3244
|
-
return !n &&
|
|
3245
|
-
e["offset" + t[0].toUpperCase() + t.slice(1)] -
|
|
3233
|
+
i === "margin" && (h += r.css(e, i + Ae[u], !0, s)), n ? (i === "content" && (l -= r.css(e, "padding" + Ae[u], !0, s)), i !== "margin" && (l -= r.css(e, "border" + Ae[u] + "Width", !0, s))) : (l += r.css(e, "padding" + Ae[u], !0, s), i !== "padding" ? l += r.css(e, "border" + Ae[u] + "Width", !0, s) : c += r.css(e, "border" + Ae[u] + "Width", !0, s));
|
|
3234
|
+
return !n && o >= 0 && (l += Math.max(0, Math.ceil(
|
|
3235
|
+
e["offset" + t[0].toUpperCase() + t.slice(1)] - o - l - c - 0.5
|
|
3246
3236
|
// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
|
|
3247
3237
|
// Use an explicit zero to avoid NaN (gh-3964)
|
|
3248
|
-
)) || 0),
|
|
3238
|
+
)) || 0), l + h;
|
|
3249
3239
|
}
|
|
3250
3240
|
function Ci(e, t, i) {
|
|
3251
|
-
var n = mt(e),
|
|
3241
|
+
var n = mt(e), s = !M.boxSizingReliable() || i, o = s && r.css(e, "boxSizing", !1, n) === "border-box", u = o, c = rt(e, t, n), l = "offset" + t[0].toUpperCase() + t.slice(1);
|
|
3252
3242
|
if (It.test(c)) {
|
|
3253
3243
|
if (!i)
|
|
3254
3244
|
return c;
|
|
3255
3245
|
c = "auto";
|
|
3256
3246
|
}
|
|
3257
|
-
return (!
|
|
3247
|
+
return (!M.boxSizingReliable() && o || // Support: IE 10 - 11+, Edge 15 - 18+
|
|
3258
3248
|
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
3259
3249
|
// set in CSS while `offset*` properties report correct values.
|
|
3260
3250
|
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
|
3261
|
-
!
|
|
3251
|
+
!M.reliableTrDimensions() && K(e, "tr") || // Fall back to offsetWidth/offsetHeight when value is "auto"
|
|
3262
3252
|
// This happens for inline elements with no explicit setting (gh-3571)
|
|
3263
3253
|
c === "auto" || // Support: Android <=4.1 - 4.3 only
|
|
3264
3254
|
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
|
3265
3255
|
!parseFloat(c) && r.css(e, "display", !1, n) === "inline") && // Make sure the element is visible & connected
|
|
3266
|
-
e.getClientRects().length && (
|
|
3256
|
+
e.getClientRects().length && (o = r.css(e, "boxSizing", !1, n) === "border-box", u = l in e, u && (c = e[l])), c = parseFloat(c) || 0, c + Mt(
|
|
3267
3257
|
e,
|
|
3268
3258
|
t,
|
|
3269
|
-
i || (
|
|
3259
|
+
i || (o ? "border" : "content"),
|
|
3270
3260
|
u,
|
|
3271
3261
|
n,
|
|
3272
3262
|
// Provide the current computed size to request scroll gutter calculation (gh-3589)
|
|
@@ -3323,48 +3313,48 @@ function Cr() {
|
|
|
3323
3313
|
// Get and set the style property on a DOM Node
|
|
3324
3314
|
style: function(e, t, i, n) {
|
|
3325
3315
|
if (!(!e || e.nodeType === 3 || e.nodeType === 8 || !e.style)) {
|
|
3326
|
-
var
|
|
3327
|
-
if (
|
|
3328
|
-
if (
|
|
3316
|
+
var s, o, u, c = xe(t), l = qt.test(t), h = e.style;
|
|
3317
|
+
if (l || (t = jt(c)), u = r.cssHooks[t] || r.cssHooks[c], i !== void 0) {
|
|
3318
|
+
if (o = typeof i, o === "string" && (s = it.exec(i)) && s[1] && (i = ui(e, t, s), o = "number"), i == null || i !== i)
|
|
3329
3319
|
return;
|
|
3330
|
-
|
|
3320
|
+
o === "number" && !l && (i += s && s[3] || (r.cssNumber[c] ? "" : "px")), !M.clearCloneStyle && i === "" && t.indexOf("background") === 0 && (h[t] = "inherit"), (!u || !("set" in u) || (i = u.set(e, i, n)) !== void 0) && (l ? h.setProperty(t, i) : h[t] = i);
|
|
3331
3321
|
} else
|
|
3332
|
-
return u && "get" in u && (
|
|
3322
|
+
return u && "get" in u && (s = u.get(e, !1, n)) !== void 0 ? s : h[t];
|
|
3333
3323
|
}
|
|
3334
3324
|
},
|
|
3335
3325
|
css: function(e, t, i, n) {
|
|
3336
|
-
var
|
|
3337
|
-
return
|
|
3326
|
+
var s, o, u, c = xe(t), l = qt.test(t);
|
|
3327
|
+
return l || (t = jt(c)), u = r.cssHooks[t] || r.cssHooks[c], u && "get" in u && (s = u.get(e, !0, i)), s === void 0 && (s = rt(e, t, n)), s === "normal" && t in wi && (s = wi[t]), i === "" || i ? (o = parseFloat(s), i === !0 || isFinite(o) ? o || 0 : s) : s;
|
|
3338
3328
|
}
|
|
3339
3329
|
}), r.each(["height", "width"], function(e, t) {
|
|
3340
3330
|
r.cssHooks[t] = {
|
|
3341
|
-
get: function(i, n,
|
|
3331
|
+
get: function(i, n, s) {
|
|
3342
3332
|
if (n)
|
|
3343
|
-
return
|
|
3333
|
+
return vn.test(r.css(i, "display")) && // Support: Safari 8+
|
|
3344
3334
|
// Table columns in Safari have non-zero offsetWidth & zero
|
|
3345
3335
|
// getBoundingClientRect().width unless display is changed.
|
|
3346
3336
|
// Support: IE <=11 only
|
|
3347
3337
|
// Running getBoundingClientRect on a disconnected node
|
|
3348
3338
|
// in IE throws an error.
|
|
3349
|
-
(!i.getClientRects().length || !i.getBoundingClientRect().width) ? mi(i,
|
|
3350
|
-
return Ci(i, t,
|
|
3351
|
-
}) : Ci(i, t,
|
|
3339
|
+
(!i.getClientRects().length || !i.getBoundingClientRect().width) ? mi(i, xn, function() {
|
|
3340
|
+
return Ci(i, t, s);
|
|
3341
|
+
}) : Ci(i, t, s);
|
|
3352
3342
|
},
|
|
3353
|
-
set: function(i, n,
|
|
3354
|
-
var
|
|
3343
|
+
set: function(i, n, s) {
|
|
3344
|
+
var o, u = mt(i), c = !M.scrollboxSize() && u.position === "absolute", l = c || s, h = l && r.css(i, "boxSizing", !1, u) === "border-box", x = s ? Mt(
|
|
3355
3345
|
i,
|
|
3356
3346
|
t,
|
|
3357
|
-
|
|
3347
|
+
s,
|
|
3358
3348
|
h,
|
|
3359
3349
|
u
|
|
3360
3350
|
) : 0;
|
|
3361
3351
|
return h && c && (x -= Math.ceil(
|
|
3362
|
-
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) -
|
|
3363
|
-
)), x && (
|
|
3352
|
+
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) - Mt(i, t, "border", !1, u) - 0.5
|
|
3353
|
+
)), x && (o = it.exec(n)) && (o[3] || "px") !== "px" && (i.style[t] = n, n = r.css(i, t)), Si(i, n, x);
|
|
3364
3354
|
}
|
|
3365
3355
|
};
|
|
3366
3356
|
}), r.cssHooks.marginLeft = vi(
|
|
3367
|
-
|
|
3357
|
+
M.reliableMarginLeft,
|
|
3368
3358
|
function(e, t) {
|
|
3369
3359
|
if (t)
|
|
3370
3360
|
return (parseFloat(rt(e, "marginLeft")) || e.getBoundingClientRect().left - mi(e, { marginLeft: 0 }, function() {
|
|
@@ -3378,57 +3368,57 @@ function Cr() {
|
|
|
3378
3368
|
}, function(e, t) {
|
|
3379
3369
|
r.cssHooks[e + t] = {
|
|
3380
3370
|
expand: function(i) {
|
|
3381
|
-
for (var n = 0,
|
|
3382
|
-
|
|
3383
|
-
return
|
|
3371
|
+
for (var n = 0, s = {}, o = typeof i == "string" ? i.split(" ") : [i]; n < 4; n++)
|
|
3372
|
+
s[e + Ae[n] + t] = o[n] || o[n - 2] || o[0];
|
|
3373
|
+
return s;
|
|
3384
3374
|
}
|
|
3385
3375
|
}, e !== "margin" && (r.cssHooks[e + t].set = Si);
|
|
3386
3376
|
}), r.fn.extend({
|
|
3387
3377
|
css: function(e, t) {
|
|
3388
|
-
return Ee(this, function(i, n,
|
|
3389
|
-
var
|
|
3378
|
+
return Ee(this, function(i, n, s) {
|
|
3379
|
+
var o, u, c = {}, l = 0;
|
|
3390
3380
|
if (Array.isArray(n)) {
|
|
3391
|
-
for (
|
|
3392
|
-
c[n[
|
|
3381
|
+
for (o = mt(i), u = n.length; l < u; l++)
|
|
3382
|
+
c[n[l]] = r.css(i, n[l], !1, o);
|
|
3393
3383
|
return c;
|
|
3394
3384
|
}
|
|
3395
|
-
return
|
|
3385
|
+
return s !== void 0 ? r.style(i, n, s) : r.css(i, n);
|
|
3396
3386
|
}, e, t, arguments.length > 1);
|
|
3397
3387
|
}
|
|
3398
3388
|
});
|
|
3399
|
-
function
|
|
3400
|
-
return new
|
|
3389
|
+
function le(e, t, i, n, s) {
|
|
3390
|
+
return new le.prototype.init(e, t, i, n, s);
|
|
3401
3391
|
}
|
|
3402
|
-
r.Tween =
|
|
3403
|
-
constructor:
|
|
3404
|
-
init: function(e, t, i, n,
|
|
3405
|
-
this.elem = e, this.prop = i, this.easing =
|
|
3392
|
+
r.Tween = le, le.prototype = {
|
|
3393
|
+
constructor: le,
|
|
3394
|
+
init: function(e, t, i, n, s, o) {
|
|
3395
|
+
this.elem = e, this.prop = i, this.easing = s || r.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = n, this.unit = o || (r.cssNumber[i] ? "" : "px");
|
|
3406
3396
|
},
|
|
3407
3397
|
cur: function() {
|
|
3408
|
-
var e =
|
|
3409
|
-
return e && e.get ? e.get(this) :
|
|
3398
|
+
var e = le.propHooks[this.prop];
|
|
3399
|
+
return e && e.get ? e.get(this) : le.propHooks._default.get(this);
|
|
3410
3400
|
},
|
|
3411
3401
|
run: function(e) {
|
|
3412
|
-
var t, i =
|
|
3402
|
+
var t, i = le.propHooks[this.prop];
|
|
3413
3403
|
return this.options.duration ? this.pos = t = r.easing[this.easing](
|
|
3414
3404
|
e,
|
|
3415
3405
|
this.options.duration * e,
|
|
3416
3406
|
0,
|
|
3417
3407
|
1,
|
|
3418
3408
|
this.options.duration
|
|
3419
|
-
) : 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), i && i.set ? i.set(this) :
|
|
3409
|
+
) : 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), i && i.set ? i.set(this) : le.propHooks._default.set(this), this;
|
|
3420
3410
|
}
|
|
3421
|
-
},
|
|
3411
|
+
}, le.prototype.init.prototype = le.prototype, le.propHooks = {
|
|
3422
3412
|
_default: {
|
|
3423
3413
|
get: function(e) {
|
|
3424
3414
|
var t;
|
|
3425
3415
|
return e.elem.nodeType !== 1 || e.elem[e.prop] != null && e.elem.style[e.prop] == null ? e.elem[e.prop] : (t = r.css(e.elem, e.prop, ""), !t || t === "auto" ? 0 : t);
|
|
3426
3416
|
},
|
|
3427
3417
|
set: function(e) {
|
|
3428
|
-
r.fx.step[e.prop] ? r.fx.step[e.prop](e) : e.elem.nodeType === 1 && (r.cssHooks[e.prop] || e.elem.style[
|
|
3418
|
+
r.fx.step[e.prop] ? r.fx.step[e.prop](e) : e.elem.nodeType === 1 && (r.cssHooks[e.prop] || e.elem.style[jt(e.prop)] != null) ? r.style(e.elem, e.prop, e.now + e.unit) : e.elem[e.prop] = e.now;
|
|
3429
3419
|
}
|
|
3430
3420
|
}
|
|
3431
|
-
},
|
|
3421
|
+
}, le.propHooks.scrollTop = le.propHooks.scrollLeft = {
|
|
3432
3422
|
set: function(e) {
|
|
3433
3423
|
e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
|
|
3434
3424
|
}
|
|
@@ -3440,8 +3430,8 @@ function Cr() {
|
|
|
3440
3430
|
return 0.5 - Math.cos(e * Math.PI) / 2;
|
|
3441
3431
|
},
|
|
3442
3432
|
_default: "swing"
|
|
3443
|
-
}, r.fx =
|
|
3444
|
-
var Ge, vt,
|
|
3433
|
+
}, r.fx = le.prototype.init, r.fx.step = {};
|
|
3434
|
+
var Ge, vt, bn = /^(?:toggle|show|hide)$/, Tn = /queueHooks$/;
|
|
3445
3435
|
function Ht() {
|
|
3446
3436
|
vt && (L.hidden === !1 && a.requestAnimationFrame ? a.requestAnimationFrame(Ht) : a.setTimeout(Ht, r.fx.interval), r.fx.tick());
|
|
3447
3437
|
}
|
|
@@ -3451,67 +3441,67 @@ function Cr() {
|
|
|
3451
3441
|
}), Ge = Date.now();
|
|
3452
3442
|
}
|
|
3453
3443
|
function xt(e, t) {
|
|
3454
|
-
var i, n = 0,
|
|
3444
|
+
var i, n = 0, s = { height: e };
|
|
3455
3445
|
for (t = t ? 1 : 0; n < 4; n += 2 - t)
|
|
3456
|
-
i = Ae[n],
|
|
3457
|
-
return t && (
|
|
3446
|
+
i = Ae[n], s["margin" + i] = s["padding" + i] = e;
|
|
3447
|
+
return t && (s.opacity = s.width = e), s;
|
|
3458
3448
|
}
|
|
3459
3449
|
function Ei(e, t, i) {
|
|
3460
|
-
for (var n,
|
|
3461
|
-
if (n = o
|
|
3450
|
+
for (var n, s = (ye.tweeners[t] || []).concat(ye.tweeners["*"]), o = 0, u = s.length; o < u; o++)
|
|
3451
|
+
if (n = s[o].call(i, t, e))
|
|
3462
3452
|
return n;
|
|
3463
3453
|
}
|
|
3464
|
-
function
|
|
3465
|
-
var n,
|
|
3454
|
+
function wn(e, t, i) {
|
|
3455
|
+
var n, s, o, u, c, l, h, x, T = "width" in t || "height" in t, y = this, S = {}, P = e.style, z = e.nodeType && gt(e), _ = I.get(e, "fxshow");
|
|
3466
3456
|
i.queue || (u = r._queueHooks(e, "fx"), u.unqueued == null && (u.unqueued = 0, c = u.empty.fire, u.empty.fire = function() {
|
|
3467
3457
|
u.unqueued || c();
|
|
3468
|
-
}), u.unqueued++,
|
|
3469
|
-
|
|
3458
|
+
}), u.unqueued++, y.always(function() {
|
|
3459
|
+
y.always(function() {
|
|
3470
3460
|
u.unqueued--, r.queue(e, "fx").length || u.empty.fire();
|
|
3471
3461
|
});
|
|
3472
3462
|
}));
|
|
3473
3463
|
for (n in t)
|
|
3474
|
-
if (
|
|
3475
|
-
if (delete t[n],
|
|
3476
|
-
if (
|
|
3464
|
+
if (s = t[n], bn.test(s)) {
|
|
3465
|
+
if (delete t[n], o = o || s === "toggle", s === (z ? "hide" : "show"))
|
|
3466
|
+
if (s === "show" && _ && _[n] !== void 0)
|
|
3477
3467
|
z = !0;
|
|
3478
3468
|
else
|
|
3479
3469
|
continue;
|
|
3480
3470
|
S[n] = _ && _[n] || r.style(e, n);
|
|
3481
3471
|
}
|
|
3482
|
-
if (
|
|
3483
|
-
T && e.nodeType === 1 && (i.overflow = [P.overflow, P.overflowX, P.overflowY], h = _ && _.display, h == null && (h = I.get(e, "display")), x = r.css(e, "display"), x === "none" && (h ? x = h : (Ue([e], !0), h = e.style.display || h, x = r.css(e, "display"), Ue([e]))), (x === "inline" || x === "inline-block" && h != null) && r.css(e, "float") === "none" && (
|
|
3472
|
+
if (l = !r.isEmptyObject(t), !(!l && r.isEmptyObject(S))) {
|
|
3473
|
+
T && e.nodeType === 1 && (i.overflow = [P.overflow, P.overflowX, P.overflowY], h = _ && _.display, h == null && (h = I.get(e, "display")), x = r.css(e, "display"), x === "none" && (h ? x = h : (Ue([e], !0), h = e.style.display || h, x = r.css(e, "display"), Ue([e]))), (x === "inline" || x === "inline-block" && h != null) && r.css(e, "float") === "none" && (l || (y.done(function() {
|
|
3484
3474
|
P.display = h;
|
|
3485
|
-
}), h == null && (x = P.display, h = x === "none" ? "" : x)), P.display = "inline-block")), i.overflow && (P.overflow = "hidden",
|
|
3475
|
+
}), h == null && (x = P.display, h = x === "none" ? "" : x)), P.display = "inline-block")), i.overflow && (P.overflow = "hidden", y.always(function() {
|
|
3486
3476
|
P.overflow = i.overflow[0], P.overflowX = i.overflow[1], P.overflowY = i.overflow[2];
|
|
3487
|
-
})),
|
|
3477
|
+
})), l = !1;
|
|
3488
3478
|
for (n in S)
|
|
3489
|
-
|
|
3479
|
+
l || (_ ? "hidden" in _ && (z = _.hidden) : _ = I.access(e, "fxshow", { display: h }), o && (_.hidden = !z), z && Ue([e], !0), y.done(function() {
|
|
3490
3480
|
z || Ue([e]), I.remove(e, "fxshow");
|
|
3491
3481
|
for (n in S)
|
|
3492
3482
|
r.style(e, n, S[n]);
|
|
3493
|
-
})),
|
|
3483
|
+
})), l = Ei(z ? _[n] : 0, n, y), n in _ || (_[n] = l.start, z && (l.end = l.start, l.start = 0));
|
|
3494
3484
|
}
|
|
3495
3485
|
}
|
|
3496
|
-
function
|
|
3497
|
-
var i, n,
|
|
3486
|
+
function Sn(e, t) {
|
|
3487
|
+
var i, n, s, o, u;
|
|
3498
3488
|
for (i in e)
|
|
3499
|
-
if (n = xe(i),
|
|
3500
|
-
|
|
3501
|
-
for (i in
|
|
3502
|
-
i in e || (e[i] =
|
|
3489
|
+
if (n = xe(i), s = t[n], o = e[i], Array.isArray(o) && (s = o[1], o = e[i] = o[0]), i !== n && (e[n] = o, delete e[i]), u = r.cssHooks[n], u && "expand" in u) {
|
|
3490
|
+
o = u.expand(o), delete e[n];
|
|
3491
|
+
for (i in o)
|
|
3492
|
+
i in e || (e[i] = o[i], t[i] = s);
|
|
3503
3493
|
} else
|
|
3504
|
-
t[n] =
|
|
3494
|
+
t[n] = s;
|
|
3505
3495
|
}
|
|
3506
3496
|
function ye(e, t, i) {
|
|
3507
|
-
var n,
|
|
3508
|
-
delete
|
|
3509
|
-
}),
|
|
3510
|
-
if (
|
|
3497
|
+
var n, s, o = 0, u = ye.prefilters.length, c = r.Deferred().always(function() {
|
|
3498
|
+
delete l.elem;
|
|
3499
|
+
}), l = function() {
|
|
3500
|
+
if (s)
|
|
3511
3501
|
return !1;
|
|
3512
|
-
for (var T = Ge || ki(),
|
|
3502
|
+
for (var T = Ge || ki(), y = Math.max(0, h.startTime + h.duration - T), S = y / h.duration || 0, P = 1 - S, z = 0, _ = h.tweens.length; z < _; z++)
|
|
3513
3503
|
h.tweens[z].run(P);
|
|
3514
|
-
return c.notifyWith(e, [h, P,
|
|
3504
|
+
return c.notifyWith(e, [h, P, y]), P < 1 && _ ? y : (_ || c.notifyWith(e, [h, 1, 0]), c.resolveWith(e, [h]), !1);
|
|
3515
3505
|
}, h = c.promise({
|
|
3516
3506
|
elem: e,
|
|
3517
3507
|
props: r.extend({}, t),
|
|
@@ -3524,30 +3514,30 @@ function Cr() {
|
|
|
3524
3514
|
startTime: Ge || ki(),
|
|
3525
3515
|
duration: i.duration,
|
|
3526
3516
|
tweens: [],
|
|
3527
|
-
createTween: function(T,
|
|
3517
|
+
createTween: function(T, y) {
|
|
3528
3518
|
var S = r.Tween(
|
|
3529
3519
|
e,
|
|
3530
3520
|
h.opts,
|
|
3531
3521
|
T,
|
|
3532
|
-
|
|
3522
|
+
y,
|
|
3533
3523
|
h.opts.specialEasing[T] || h.opts.easing
|
|
3534
3524
|
);
|
|
3535
3525
|
return h.tweens.push(S), S;
|
|
3536
3526
|
},
|
|
3537
3527
|
stop: function(T) {
|
|
3538
|
-
var
|
|
3539
|
-
if (
|
|
3528
|
+
var y = 0, S = T ? h.tweens.length : 0;
|
|
3529
|
+
if (s)
|
|
3540
3530
|
return this;
|
|
3541
|
-
for (
|
|
3542
|
-
h.tweens[
|
|
3531
|
+
for (s = !0; y < S; y++)
|
|
3532
|
+
h.tweens[y].run(1);
|
|
3543
3533
|
return T ? (c.notifyWith(e, [h, 1, 0]), c.resolveWith(e, [h, T])) : c.rejectWith(e, [h, T]), this;
|
|
3544
3534
|
}
|
|
3545
3535
|
}), x = h.props;
|
|
3546
|
-
for (
|
|
3547
|
-
if (n = ye.prefilters[
|
|
3536
|
+
for (Sn(x, h.opts.specialEasing); o < u; o++)
|
|
3537
|
+
if (n = ye.prefilters[o].call(h, e, x, h.opts), n)
|
|
3548
3538
|
return W(n.stop) && (r._queueHooks(h.elem, h.opts.queue).stop = n.stop.bind(n)), n;
|
|
3549
3539
|
return r.map(x, Ei, h), W(h.opts.start) && h.opts.start.call(e, h), h.progress(h.opts.progress).done(h.opts.done, h.opts.complete).fail(h.opts.fail).always(h.opts.always), r.fx.timer(
|
|
3550
|
-
r.extend(
|
|
3540
|
+
r.extend(l, {
|
|
3551
3541
|
elem: e,
|
|
3552
3542
|
anim: h,
|
|
3553
3543
|
queue: h.opts.queue
|
|
@@ -3563,10 +3553,10 @@ function Cr() {
|
|
|
3563
3553
|
},
|
|
3564
3554
|
tweener: function(e, t) {
|
|
3565
3555
|
W(e) ? (t = e, e = ["*"]) : e = e.match(ve);
|
|
3566
|
-
for (var i, n = 0,
|
|
3556
|
+
for (var i, n = 0, s = e.length; n < s; n++)
|
|
3567
3557
|
i = e[n], ye.tweeners[i] = ye.tweeners[i] || [], ye.tweeners[i].unshift(t);
|
|
3568
3558
|
},
|
|
3569
|
-
prefilters: [
|
|
3559
|
+
prefilters: [wn],
|
|
3570
3560
|
prefilter: function(e, t) {
|
|
3571
3561
|
t ? ye.prefilters.unshift(e) : ye.prefilters.push(e);
|
|
3572
3562
|
}
|
|
@@ -3584,34 +3574,34 @@ function Cr() {
|
|
|
3584
3574
|
return this.filter(gt).css("opacity", 0).show().end().animate({ opacity: t }, e, i, n);
|
|
3585
3575
|
},
|
|
3586
3576
|
animate: function(e, t, i, n) {
|
|
3587
|
-
var
|
|
3588
|
-
var c = ye(this, r.extend({}, e),
|
|
3589
|
-
(
|
|
3577
|
+
var s = r.isEmptyObject(e), o = r.speed(t, i, n), u = function() {
|
|
3578
|
+
var c = ye(this, r.extend({}, e), o);
|
|
3579
|
+
(s || I.get(this, "finish")) && c.stop(!0);
|
|
3590
3580
|
};
|
|
3591
|
-
return u.finish = u,
|
|
3581
|
+
return u.finish = u, s || o.queue === !1 ? this.each(u) : this.queue(o.queue, u);
|
|
3592
3582
|
},
|
|
3593
3583
|
stop: function(e, t, i) {
|
|
3594
|
-
var n = function(
|
|
3595
|
-
var
|
|
3596
|
-
delete
|
|
3584
|
+
var n = function(s) {
|
|
3585
|
+
var o = s.stop;
|
|
3586
|
+
delete s.stop, o(i);
|
|
3597
3587
|
};
|
|
3598
3588
|
return typeof e != "string" && (i = t, t = e, e = void 0), t && this.queue(e || "fx", []), this.each(function() {
|
|
3599
|
-
var
|
|
3600
|
-
if (
|
|
3601
|
-
c[
|
|
3589
|
+
var s = !0, o = e != null && e + "queueHooks", u = r.timers, c = I.get(this);
|
|
3590
|
+
if (o)
|
|
3591
|
+
c[o] && c[o].stop && n(c[o]);
|
|
3602
3592
|
else
|
|
3603
|
-
for (
|
|
3604
|
-
c[
|
|
3605
|
-
for (
|
|
3606
|
-
u[
|
|
3607
|
-
(
|
|
3593
|
+
for (o in c)
|
|
3594
|
+
c[o] && c[o].stop && Tn.test(o) && n(c[o]);
|
|
3595
|
+
for (o = u.length; o--; )
|
|
3596
|
+
u[o].elem === this && (e == null || u[o].queue === e) && (u[o].anim.stop(i), s = !1, u.splice(o, 1));
|
|
3597
|
+
(s || !i) && r.dequeue(this, e);
|
|
3608
3598
|
});
|
|
3609
3599
|
},
|
|
3610
3600
|
finish: function(e) {
|
|
3611
3601
|
return e !== !1 && (e = e || "fx"), this.each(function() {
|
|
3612
|
-
var t, i = I.get(this), n = i[e + "queue"],
|
|
3613
|
-
for (i.finish = !0, r.queue(this, e, []),
|
|
3614
|
-
|
|
3602
|
+
var t, i = I.get(this), n = i[e + "queue"], s = i[e + "queueHooks"], o = r.timers, u = n ? n.length : 0;
|
|
3603
|
+
for (i.finish = !0, r.queue(this, e, []), s && s.stop && s.stop.call(this, !0), t = o.length; t--; )
|
|
3604
|
+
o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1));
|
|
3615
3605
|
for (t = 0; t < u; t++)
|
|
3616
3606
|
n[t] && n[t].finish && n[t].finish.call(this);
|
|
3617
3607
|
delete i.finish;
|
|
@@ -3619,8 +3609,8 @@ function Cr() {
|
|
|
3619
3609
|
}
|
|
3620
3610
|
}), r.each(["toggle", "show", "hide"], function(e, t) {
|
|
3621
3611
|
var i = r.fn[t];
|
|
3622
|
-
r.fn[t] = function(n,
|
|
3623
|
-
return n == null || typeof n == "boolean" ? i.apply(this, arguments) : this.animate(xt(t, !0), n,
|
|
3612
|
+
r.fn[t] = function(n, s, o) {
|
|
3613
|
+
return n == null || typeof n == "boolean" ? i.apply(this, arguments) : this.animate(xt(t, !0), n, s, o);
|
|
3624
3614
|
};
|
|
3625
3615
|
}), r.each({
|
|
3626
3616
|
slideDown: xt("show"),
|
|
@@ -3630,8 +3620,8 @@ function Cr() {
|
|
|
3630
3620
|
fadeOut: { opacity: "hide" },
|
|
3631
3621
|
fadeToggle: { opacity: "toggle" }
|
|
3632
3622
|
}, function(e, t) {
|
|
3633
|
-
r.fn[e] = function(i, n,
|
|
3634
|
-
return this.animate(t, i, n,
|
|
3623
|
+
r.fn[e] = function(i, n, s) {
|
|
3624
|
+
return this.animate(t, i, n, s);
|
|
3635
3625
|
};
|
|
3636
3626
|
}), r.timers = [], r.fx.tick = function() {
|
|
3637
3627
|
var e, t = 0, i = r.timers;
|
|
@@ -3651,16 +3641,16 @@ function Cr() {
|
|
|
3651
3641
|
_default: 400
|
|
3652
3642
|
}, r.fn.delay = function(e, t) {
|
|
3653
3643
|
return e = r.fx && r.fx.speeds[e] || e, t = t || "fx", this.queue(t, function(i, n) {
|
|
3654
|
-
var
|
|
3644
|
+
var s = a.setTimeout(i, e);
|
|
3655
3645
|
n.stop = function() {
|
|
3656
|
-
a.clearTimeout(
|
|
3646
|
+
a.clearTimeout(s);
|
|
3657
3647
|
};
|
|
3658
3648
|
});
|
|
3659
3649
|
}, (function() {
|
|
3660
3650
|
var e = L.createElement("input"), t = L.createElement("select"), i = t.appendChild(L.createElement("option"));
|
|
3661
|
-
e.type = "checkbox",
|
|
3651
|
+
e.type = "checkbox", M.checkOn = e.value !== "", M.optSelected = i.selected, e = L.createElement("input"), e.value = "t", e.type = "radio", M.radioValue = e.value === "t";
|
|
3662
3652
|
})();
|
|
3663
|
-
var Ai,
|
|
3653
|
+
var Ai, st = r.expr.attrHandle;
|
|
3664
3654
|
r.fn.extend({
|
|
3665
3655
|
attr: function(e, t) {
|
|
3666
3656
|
return Ee(this, r.attr, e, t, arguments.length > 1);
|
|
@@ -3672,24 +3662,24 @@ function Cr() {
|
|
|
3672
3662
|
}
|
|
3673
3663
|
}), r.extend({
|
|
3674
3664
|
attr: function(e, t, i) {
|
|
3675
|
-
var n,
|
|
3676
|
-
if (!(
|
|
3665
|
+
var n, s, o = e.nodeType;
|
|
3666
|
+
if (!(o === 3 || o === 8 || o === 2)) {
|
|
3677
3667
|
if (typeof e.getAttribute > "u")
|
|
3678
3668
|
return r.prop(e, t, i);
|
|
3679
|
-
if ((
|
|
3669
|
+
if ((o !== 1 || !r.isXMLDoc(e)) && (s = r.attrHooks[t.toLowerCase()] || (r.expr.match.bool.test(t) ? Ai : void 0)), i !== void 0) {
|
|
3680
3670
|
if (i === null) {
|
|
3681
3671
|
r.removeAttr(e, t);
|
|
3682
3672
|
return;
|
|
3683
3673
|
}
|
|
3684
|
-
return
|
|
3674
|
+
return s && "set" in s && (n = s.set(e, i, t)) !== void 0 ? n : (e.setAttribute(t, i + ""), i);
|
|
3685
3675
|
}
|
|
3686
|
-
return
|
|
3676
|
+
return s && "get" in s && (n = s.get(e, t)) !== null ? n : (n = r.find.attr(e, t), n ?? void 0);
|
|
3687
3677
|
}
|
|
3688
3678
|
},
|
|
3689
3679
|
attrHooks: {
|
|
3690
3680
|
type: {
|
|
3691
3681
|
set: function(e, t) {
|
|
3692
|
-
if (!
|
|
3682
|
+
if (!M.radioValue && t === "radio" && K(e, "input")) {
|
|
3693
3683
|
var i = e.value;
|
|
3694
3684
|
return e.setAttribute("type", t), i && (e.value = i), t;
|
|
3695
3685
|
}
|
|
@@ -3697,9 +3687,9 @@ function Cr() {
|
|
|
3697
3687
|
}
|
|
3698
3688
|
},
|
|
3699
3689
|
removeAttr: function(e, t) {
|
|
3700
|
-
var i, n = 0,
|
|
3701
|
-
if (
|
|
3702
|
-
for (; i =
|
|
3690
|
+
var i, n = 0, s = t && t.match(ve);
|
|
3691
|
+
if (s && e.nodeType === 1)
|
|
3692
|
+
for (; i = s[n++]; )
|
|
3703
3693
|
e.removeAttribute(i);
|
|
3704
3694
|
}
|
|
3705
3695
|
}), Ai = {
|
|
@@ -3707,13 +3697,13 @@ function Cr() {
|
|
|
3707
3697
|
return t === !1 ? r.removeAttr(e, i) : e.setAttribute(i, i), i;
|
|
3708
3698
|
}
|
|
3709
3699
|
}, r.each(r.expr.match.bool.source.match(/\w+/g), function(e, t) {
|
|
3710
|
-
var i =
|
|
3711
|
-
|
|
3712
|
-
var u, c,
|
|
3713
|
-
return
|
|
3700
|
+
var i = st[t] || r.find.attr;
|
|
3701
|
+
st[t] = function(n, s, o) {
|
|
3702
|
+
var u, c, l = s.toLowerCase();
|
|
3703
|
+
return o || (c = st[l], st[l] = u, u = i(n, s, o) != null ? l : null, st[l] = c), u;
|
|
3714
3704
|
};
|
|
3715
3705
|
});
|
|
3716
|
-
var
|
|
3706
|
+
var Cn = /^(?:input|select|textarea|button)$/i, kn = /^(?:a|area)$/i;
|
|
3717
3707
|
r.fn.extend({
|
|
3718
3708
|
prop: function(e, t) {
|
|
3719
3709
|
return Ee(this, r.prop, e, t, arguments.length > 1);
|
|
@@ -3725,15 +3715,15 @@ function Cr() {
|
|
|
3725
3715
|
}
|
|
3726
3716
|
}), r.extend({
|
|
3727
3717
|
prop: function(e, t, i) {
|
|
3728
|
-
var n,
|
|
3729
|
-
if (!(
|
|
3730
|
-
return (
|
|
3718
|
+
var n, s, o = e.nodeType;
|
|
3719
|
+
if (!(o === 3 || o === 8 || o === 2))
|
|
3720
|
+
return (o !== 1 || !r.isXMLDoc(e)) && (t = r.propFix[t] || t, s = r.propHooks[t]), i !== void 0 ? s && "set" in s && (n = s.set(e, i, t)) !== void 0 ? n : e[t] = i : s && "get" in s && (n = s.get(e, t)) !== null ? n : e[t];
|
|
3731
3721
|
},
|
|
3732
3722
|
propHooks: {
|
|
3733
3723
|
tabIndex: {
|
|
3734
3724
|
get: function(e) {
|
|
3735
3725
|
var t = r.find.attr(e, "tabindex");
|
|
3736
|
-
return t ? parseInt(t, 10) :
|
|
3726
|
+
return t ? parseInt(t, 10) : Cn.test(e.nodeName) || kn.test(e.nodeName) && e.href ? 0 : -1;
|
|
3737
3727
|
}
|
|
3738
3728
|
}
|
|
3739
3729
|
},
|
|
@@ -3741,7 +3731,7 @@ function Cr() {
|
|
|
3741
3731
|
for: "htmlFor",
|
|
3742
3732
|
class: "className"
|
|
3743
3733
|
}
|
|
3744
|
-
}),
|
|
3734
|
+
}), M.optSelected || (r.propHooks.selected = {
|
|
3745
3735
|
get: function(e) {
|
|
3746
3736
|
var t = e.parentNode;
|
|
3747
3737
|
return t && t.parentNode && t.parentNode.selectedIndex, null;
|
|
@@ -3776,41 +3766,41 @@ function Cr() {
|
|
|
3776
3766
|
}
|
|
3777
3767
|
r.fn.extend({
|
|
3778
3768
|
addClass: function(e) {
|
|
3779
|
-
var t, i, n,
|
|
3769
|
+
var t, i, n, s, o, u;
|
|
3780
3770
|
return W(e) ? this.each(function(c) {
|
|
3781
3771
|
r(this).addClass(e.call(this, c, Pe(this)));
|
|
3782
3772
|
}) : (t = Pt(e), t.length ? this.each(function() {
|
|
3783
3773
|
if (n = Pe(this), i = this.nodeType === 1 && " " + He(n) + " ", i) {
|
|
3784
|
-
for (
|
|
3785
|
-
|
|
3774
|
+
for (o = 0; o < t.length; o++)
|
|
3775
|
+
s = t[o], i.indexOf(" " + s + " ") < 0 && (i += s + " ");
|
|
3786
3776
|
u = He(i), n !== u && this.setAttribute("class", u);
|
|
3787
3777
|
}
|
|
3788
3778
|
}) : this);
|
|
3789
3779
|
},
|
|
3790
3780
|
removeClass: function(e) {
|
|
3791
|
-
var t, i, n,
|
|
3781
|
+
var t, i, n, s, o, u;
|
|
3792
3782
|
return W(e) ? this.each(function(c) {
|
|
3793
3783
|
r(this).removeClass(e.call(this, c, Pe(this)));
|
|
3794
3784
|
}) : arguments.length ? (t = Pt(e), t.length ? this.each(function() {
|
|
3795
3785
|
if (n = Pe(this), i = this.nodeType === 1 && " " + He(n) + " ", i) {
|
|
3796
|
-
for (
|
|
3797
|
-
for (
|
|
3798
|
-
i = i.replace(" " +
|
|
3786
|
+
for (o = 0; o < t.length; o++)
|
|
3787
|
+
for (s = t[o]; i.indexOf(" " + s + " ") > -1; )
|
|
3788
|
+
i = i.replace(" " + s + " ", " ");
|
|
3799
3789
|
u = He(i), n !== u && this.setAttribute("class", u);
|
|
3800
3790
|
}
|
|
3801
3791
|
}) : this) : this.attr("class", "");
|
|
3802
3792
|
},
|
|
3803
3793
|
toggleClass: function(e, t) {
|
|
3804
|
-
var i, n,
|
|
3805
|
-
return W(e) ? this.each(function(
|
|
3794
|
+
var i, n, s, o, u = typeof e, c = u === "string" || Array.isArray(e);
|
|
3795
|
+
return W(e) ? this.each(function(l) {
|
|
3806
3796
|
r(this).toggleClass(
|
|
3807
|
-
e.call(this,
|
|
3797
|
+
e.call(this, l, Pe(this), t),
|
|
3808
3798
|
t
|
|
3809
3799
|
);
|
|
3810
3800
|
}) : typeof t == "boolean" && c ? t ? this.addClass(e) : this.removeClass(e) : (i = Pt(e), this.each(function() {
|
|
3811
3801
|
if (c)
|
|
3812
|
-
for (
|
|
3813
|
-
n = i[
|
|
3802
|
+
for (o = r(this), s = 0; s < i.length; s++)
|
|
3803
|
+
n = i[s], o.hasClass(n) ? o.removeClass(n) : o.addClass(n);
|
|
3814
3804
|
else (e === void 0 || u === "boolean") && (n = Pe(this), n && I.set(this, "__className__", n), this.setAttribute && this.setAttribute(
|
|
3815
3805
|
"class",
|
|
3816
3806
|
n || e === !1 ? "" : I.get(this, "__className__") || ""
|
|
@@ -3825,16 +3815,16 @@ function Cr() {
|
|
|
3825
3815
|
return !1;
|
|
3826
3816
|
}
|
|
3827
3817
|
});
|
|
3828
|
-
var
|
|
3818
|
+
var En = /\r/g;
|
|
3829
3819
|
r.fn.extend({
|
|
3830
3820
|
val: function(e) {
|
|
3831
|
-
var t, i, n,
|
|
3832
|
-
return arguments.length ? (n = W(e), this.each(function(
|
|
3821
|
+
var t, i, n, s = this[0];
|
|
3822
|
+
return arguments.length ? (n = W(e), this.each(function(o) {
|
|
3833
3823
|
var u;
|
|
3834
|
-
this.nodeType === 1 && (n ? u = e.call(this,
|
|
3824
|
+
this.nodeType === 1 && (n ? u = e.call(this, o, r(this).val()) : u = e, u == null ? u = "" : typeof u == "number" ? u += "" : Array.isArray(u) && (u = r.map(u, function(c) {
|
|
3835
3825
|
return c == null ? "" : c + "";
|
|
3836
3826
|
})), t = r.valHooks[this.type] || r.valHooks[this.nodeName.toLowerCase()], (!t || !("set" in t) || t.set(this, u, "value") === void 0) && (this.value = u));
|
|
3837
|
-
})) :
|
|
3827
|
+
})) : s ? (t = r.valHooks[s.type] || r.valHooks[s.nodeName.toLowerCase()], t && "get" in t && (i = t.get(s, "value")) !== void 0 ? i : (i = s.value, typeof i == "string" ? i.replace(En, "") : i ?? "")) : void 0;
|
|
3838
3828
|
}
|
|
3839
3829
|
}), r.extend({
|
|
3840
3830
|
valHooks: {
|
|
@@ -3850,9 +3840,9 @@ function Cr() {
|
|
|
3850
3840
|
},
|
|
3851
3841
|
select: {
|
|
3852
3842
|
get: function(e) {
|
|
3853
|
-
var t, i, n,
|
|
3854
|
-
for (
|
|
3855
|
-
if (i =
|
|
3843
|
+
var t, i, n, s = e.options, o = e.selectedIndex, u = e.type === "select-one", c = u ? null : [], l = u ? o + 1 : s.length;
|
|
3844
|
+
for (o < 0 ? n = l : n = u ? o : 0; n < l; n++)
|
|
3845
|
+
if (i = s[n], (i.selected || n === o) && // Don't return options that are disabled or in a disabled optgroup
|
|
3856
3846
|
!i.disabled && (!i.parentNode.disabled || !K(i.parentNode, "optgroup"))) {
|
|
3857
3847
|
if (t = r(i).val(), u)
|
|
3858
3848
|
return t;
|
|
@@ -3861,9 +3851,9 @@ function Cr() {
|
|
|
3861
3851
|
return c;
|
|
3862
3852
|
},
|
|
3863
3853
|
set: function(e, t) {
|
|
3864
|
-
for (var i, n,
|
|
3865
|
-
n =
|
|
3866
|
-
return i || (e.selectedIndex = -1),
|
|
3854
|
+
for (var i, n, s = e.options, o = r.makeArray(t), u = s.length; u--; )
|
|
3855
|
+
n = s[u], (n.selected = r.inArray(r.valHooks.option.get(n), o) > -1) && (i = !0);
|
|
3856
|
+
return i || (e.selectedIndex = -1), o;
|
|
3867
3857
|
}
|
|
3868
3858
|
}
|
|
3869
3859
|
}
|
|
@@ -3873,11 +3863,11 @@ function Cr() {
|
|
|
3873
3863
|
if (Array.isArray(t))
|
|
3874
3864
|
return e.checked = r.inArray(r(e).val(), t) > -1;
|
|
3875
3865
|
}
|
|
3876
|
-
},
|
|
3866
|
+
}, M.checkOn || (r.valHooks[this].get = function(e) {
|
|
3877
3867
|
return e.getAttribute("value") === null ? "on" : e.value;
|
|
3878
3868
|
});
|
|
3879
3869
|
});
|
|
3880
|
-
var
|
|
3870
|
+
var ot = a.location, Di = { guid: Date.now() }, Ft = /\?/;
|
|
3881
3871
|
r.parseXML = function(e) {
|
|
3882
3872
|
var t, i;
|
|
3883
3873
|
if (!e || typeof e != "string")
|
|
@@ -3896,16 +3886,16 @@ function Cr() {
|
|
|
3896
3886
|
};
|
|
3897
3887
|
r.extend(r.event, {
|
|
3898
3888
|
trigger: function(e, t, i, n) {
|
|
3899
|
-
var
|
|
3900
|
-
if (
|
|
3889
|
+
var s, o, u, c, l, h, x, T, y = [i || L], S = Z.call(e, "type") ? e.type : e, P = Z.call(e, "namespace") ? e.namespace.split(".") : [];
|
|
3890
|
+
if (o = T = u = i = i || L, !(i.nodeType === 3 || i.nodeType === 8) && !Ri.test(S + r.event.triggered) && (S.indexOf(".") > -1 && (P = S.split("."), S = P.shift(), P.sort()), l = S.indexOf(":") < 0 && "on" + S, e = e[r.expando] ? e : new r.Event(S, typeof e == "object" && e), e.isTrigger = n ? 2 : 3, e.namespace = P.join("."), e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + P.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, e.result = void 0, e.target || (e.target = i), t = t == null ? [e] : r.makeArray(t, [e]), x = r.event.special[S] || {}, !(!n && x.trigger && x.trigger.apply(i, t) === !1))) {
|
|
3901
3891
|
if (!n && !x.noBubble && !Ne(i)) {
|
|
3902
|
-
for (c = x.delegateType || S, Ri.test(c + S) || (
|
|
3903
|
-
|
|
3904
|
-
u === (i.ownerDocument || L) &&
|
|
3892
|
+
for (c = x.delegateType || S, Ri.test(c + S) || (o = o.parentNode); o; o = o.parentNode)
|
|
3893
|
+
y.push(o), u = o;
|
|
3894
|
+
u === (i.ownerDocument || L) && y.push(u.defaultView || u.parentWindow || a);
|
|
3905
3895
|
}
|
|
3906
|
-
for (
|
|
3907
|
-
T =
|
|
3908
|
-
return e.type = S, !n && !e.isDefaultPrevented() && (!x._default || x._default.apply(
|
|
3896
|
+
for (s = 0; (o = y[s++]) && !e.isPropagationStopped(); )
|
|
3897
|
+
T = o, e.type = s > 1 ? c : x.bindType || S, h = (I.get(o, "events") || /* @__PURE__ */ Object.create(null))[e.type] && I.get(o, "handle"), h && h.apply(o, t), h = l && o[l], h && h.apply && et(o) && (e.result = h.apply(o, t), e.result === !1 && e.preventDefault());
|
|
3898
|
+
return e.type = S, !n && !e.isDefaultPrevented() && (!x._default || x._default.apply(y.pop(), t) === !1) && et(i) && l && W(i[S]) && !Ne(i) && (u = i[l], u && (i[l] = null), r.event.triggered = S, e.isPropagationStopped() && T.addEventListener(S, Ni), i[S](), e.isPropagationStopped() && T.removeEventListener(S, Ni), r.event.triggered = void 0, u && (i[l] = u)), e.result;
|
|
3909
3899
|
}
|
|
3910
3900
|
},
|
|
3911
3901
|
// Piggyback on a donor event to simulate a different one
|
|
@@ -3933,38 +3923,38 @@ function Cr() {
|
|
|
3933
3923
|
return r.event.trigger(e, t, i, !0);
|
|
3934
3924
|
}
|
|
3935
3925
|
});
|
|
3936
|
-
var
|
|
3926
|
+
var An = /\[\]$/, Li = /\r?\n/g, Dn = /^(?:submit|button|image|reset|file)$/i, Rn = /^(?:input|select|textarea|keygen)/i;
|
|
3937
3927
|
function Ot(e, t, i, n) {
|
|
3938
|
-
var
|
|
3928
|
+
var s;
|
|
3939
3929
|
if (Array.isArray(t))
|
|
3940
|
-
r.each(t, function(
|
|
3941
|
-
i ||
|
|
3942
|
-
e + "[" + (typeof u == "object" && u != null ?
|
|
3930
|
+
r.each(t, function(o, u) {
|
|
3931
|
+
i || An.test(e) ? n(e, u) : Ot(
|
|
3932
|
+
e + "[" + (typeof u == "object" && u != null ? o : "") + "]",
|
|
3943
3933
|
u,
|
|
3944
3934
|
i,
|
|
3945
3935
|
n
|
|
3946
3936
|
);
|
|
3947
3937
|
});
|
|
3948
3938
|
else if (!i && We(t) === "object")
|
|
3949
|
-
for (
|
|
3950
|
-
Ot(e + "[" +
|
|
3939
|
+
for (s in t)
|
|
3940
|
+
Ot(e + "[" + s + "]", t[s], i, n);
|
|
3951
3941
|
else
|
|
3952
3942
|
n(e, t);
|
|
3953
3943
|
}
|
|
3954
3944
|
r.param = function(e, t) {
|
|
3955
|
-
var i, n = [],
|
|
3945
|
+
var i, n = [], s = function(o, u) {
|
|
3956
3946
|
var c = W(u) ? u() : u;
|
|
3957
|
-
n[n.length] = encodeURIComponent(
|
|
3947
|
+
n[n.length] = encodeURIComponent(o) + "=" + encodeURIComponent(c ?? "");
|
|
3958
3948
|
};
|
|
3959
3949
|
if (e == null)
|
|
3960
3950
|
return "";
|
|
3961
3951
|
if (Array.isArray(e) || e.jquery && !r.isPlainObject(e))
|
|
3962
3952
|
r.each(e, function() {
|
|
3963
|
-
|
|
3953
|
+
s(this.name, this.value);
|
|
3964
3954
|
});
|
|
3965
3955
|
else
|
|
3966
3956
|
for (i in e)
|
|
3967
|
-
Ot(i, e[i], t,
|
|
3957
|
+
Ot(i, e[i], t, s);
|
|
3968
3958
|
return n.join("&");
|
|
3969
3959
|
}, r.fn.extend({
|
|
3970
3960
|
serialize: function() {
|
|
@@ -3976,7 +3966,7 @@ function Cr() {
|
|
|
3976
3966
|
return e ? r.makeArray(e) : this;
|
|
3977
3967
|
}).filter(function() {
|
|
3978
3968
|
var e = this.type;
|
|
3979
|
-
return this.name && !r(this).is(":disabled") &&
|
|
3969
|
+
return this.name && !r(this).is(":disabled") && Rn.test(this.nodeName) && !Dn.test(e) && (this.checked || !nt.test(e));
|
|
3980
3970
|
}).map(function(e, t) {
|
|
3981
3971
|
var i = r(this).val();
|
|
3982
3972
|
return i == null ? null : Array.isArray(i) ? r.map(i, function(n) {
|
|
@@ -3987,76 +3977,76 @@ function Cr() {
|
|
|
3987
3977
|
}).get();
|
|
3988
3978
|
}
|
|
3989
3979
|
});
|
|
3990
|
-
var
|
|
3991
|
-
_t.href =
|
|
3992
|
-
function
|
|
3980
|
+
var Nn = /%20/g, Ln = /#.*$/, In = /([?&])_=[^&]*/, qn = /^(.*?):[ \t]*([^\r\n]*)$/mg, jn = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, Mn = /^(?:GET|HEAD)$/, Hn = /^\/\//, Ii = {}, Wt = {}, qi = "*/".concat("*"), _t = L.createElement("a");
|
|
3981
|
+
_t.href = ot.href;
|
|
3982
|
+
function ji(e) {
|
|
3993
3983
|
return function(t, i) {
|
|
3994
3984
|
typeof t != "string" && (i = t, t = "*");
|
|
3995
|
-
var n,
|
|
3985
|
+
var n, s = 0, o = t.toLowerCase().match(ve) || [];
|
|
3996
3986
|
if (W(i))
|
|
3997
|
-
for (; n = s
|
|
3987
|
+
for (; n = o[s++]; )
|
|
3998
3988
|
n[0] === "+" ? (n = n.slice(1) || "*", (e[n] = e[n] || []).unshift(i)) : (e[n] = e[n] || []).push(i);
|
|
3999
3989
|
};
|
|
4000
3990
|
}
|
|
4001
|
-
function
|
|
4002
|
-
var
|
|
3991
|
+
function Mi(e, t, i, n) {
|
|
3992
|
+
var s = {}, o = e === Wt;
|
|
4003
3993
|
function u(c) {
|
|
4004
|
-
var
|
|
4005
|
-
return
|
|
3994
|
+
var l;
|
|
3995
|
+
return s[c] = !0, r.each(e[c] || [], function(h, x) {
|
|
4006
3996
|
var T = x(t, i, n);
|
|
4007
|
-
if (typeof T == "string" && !
|
|
3997
|
+
if (typeof T == "string" && !o && !s[T])
|
|
4008
3998
|
return t.dataTypes.unshift(T), u(T), !1;
|
|
4009
|
-
if (
|
|
4010
|
-
return !(
|
|
4011
|
-
}),
|
|
3999
|
+
if (o)
|
|
4000
|
+
return !(l = T);
|
|
4001
|
+
}), l;
|
|
4012
4002
|
}
|
|
4013
|
-
return u(t.dataTypes[0]) || !
|
|
4003
|
+
return u(t.dataTypes[0]) || !s["*"] && u("*");
|
|
4014
4004
|
}
|
|
4015
4005
|
function Bt(e, t) {
|
|
4016
|
-
var i, n,
|
|
4006
|
+
var i, n, s = r.ajaxSettings.flatOptions || {};
|
|
4017
4007
|
for (i in t)
|
|
4018
|
-
t[i] !== void 0 && ((
|
|
4008
|
+
t[i] !== void 0 && ((s[i] ? e : n || (n = {}))[i] = t[i]);
|
|
4019
4009
|
return n && r.extend(!0, e, n), e;
|
|
4020
4010
|
}
|
|
4021
|
-
function
|
|
4022
|
-
for (var n,
|
|
4023
|
-
|
|
4011
|
+
function Pn(e, t, i) {
|
|
4012
|
+
for (var n, s, o, u, c = e.contents, l = e.dataTypes; l[0] === "*"; )
|
|
4013
|
+
l.shift(), n === void 0 && (n = e.mimeType || t.getResponseHeader("Content-Type"));
|
|
4024
4014
|
if (n) {
|
|
4025
|
-
for (
|
|
4026
|
-
if (c[
|
|
4027
|
-
|
|
4015
|
+
for (s in c)
|
|
4016
|
+
if (c[s] && c[s].test(n)) {
|
|
4017
|
+
l.unshift(s);
|
|
4028
4018
|
break;
|
|
4029
4019
|
}
|
|
4030
4020
|
}
|
|
4031
|
-
if (
|
|
4032
|
-
|
|
4021
|
+
if (l[0] in i)
|
|
4022
|
+
o = l[0];
|
|
4033
4023
|
else {
|
|
4034
|
-
for (
|
|
4035
|
-
if (!
|
|
4036
|
-
|
|
4024
|
+
for (s in i) {
|
|
4025
|
+
if (!l[0] || e.converters[s + " " + l[0]]) {
|
|
4026
|
+
o = s;
|
|
4037
4027
|
break;
|
|
4038
4028
|
}
|
|
4039
|
-
u || (u =
|
|
4029
|
+
u || (u = s);
|
|
4040
4030
|
}
|
|
4041
|
-
|
|
4031
|
+
o = o || u;
|
|
4042
4032
|
}
|
|
4043
|
-
if (
|
|
4044
|
-
return
|
|
4033
|
+
if (o)
|
|
4034
|
+
return o !== l[0] && l.unshift(o), i[o];
|
|
4045
4035
|
}
|
|
4046
|
-
function
|
|
4047
|
-
var
|
|
4036
|
+
function Fn(e, t, i, n) {
|
|
4037
|
+
var s, o, u, c, l, h = {}, x = e.dataTypes.slice();
|
|
4048
4038
|
if (x[1])
|
|
4049
4039
|
for (u in e.converters)
|
|
4050
4040
|
h[u.toLowerCase()] = e.converters[u];
|
|
4051
|
-
for (
|
|
4052
|
-
if (e.responseFields[
|
|
4053
|
-
if (
|
|
4054
|
-
|
|
4055
|
-
else if (
|
|
4056
|
-
if (u = h[
|
|
4057
|
-
for (
|
|
4058
|
-
if (c =
|
|
4059
|
-
u === !0 ? u = h[
|
|
4041
|
+
for (o = x.shift(); o; )
|
|
4042
|
+
if (e.responseFields[o] && (i[e.responseFields[o]] = t), !l && n && e.dataFilter && (t = e.dataFilter(t, e.dataType)), l = o, o = x.shift(), o) {
|
|
4043
|
+
if (o === "*")
|
|
4044
|
+
o = l;
|
|
4045
|
+
else if (l !== "*" && l !== o) {
|
|
4046
|
+
if (u = h[l + " " + o] || h["* " + o], !u) {
|
|
4047
|
+
for (s in h)
|
|
4048
|
+
if (c = s.split(" "), c[1] === o && (u = h[l + " " + c[0]] || h["* " + c[0]], u)) {
|
|
4049
|
+
u === !0 ? u = h[s] : h[s] !== !0 && (o = c[0], x.unshift(c[1]));
|
|
4060
4050
|
break;
|
|
4061
4051
|
}
|
|
4062
4052
|
}
|
|
@@ -4069,7 +4059,7 @@ function Cr() {
|
|
|
4069
4059
|
} catch (T) {
|
|
4070
4060
|
return {
|
|
4071
4061
|
state: "parsererror",
|
|
4072
|
-
error: u ? T : "No conversion from " +
|
|
4062
|
+
error: u ? T : "No conversion from " + l + " to " + o
|
|
4073
4063
|
};
|
|
4074
4064
|
}
|
|
4075
4065
|
}
|
|
@@ -4083,9 +4073,9 @@ function Cr() {
|
|
|
4083
4073
|
lastModified: {},
|
|
4084
4074
|
etag: {},
|
|
4085
4075
|
ajaxSettings: {
|
|
4086
|
-
url:
|
|
4076
|
+
url: ot.href,
|
|
4087
4077
|
type: "GET",
|
|
4088
|
-
isLocal: jn.test(
|
|
4078
|
+
isLocal: jn.test(ot.protocol),
|
|
4089
4079
|
global: !0,
|
|
4090
4080
|
processData: !0,
|
|
4091
4081
|
async: !0,
|
|
@@ -4151,45 +4141,45 @@ function Cr() {
|
|
|
4151
4141
|
Bt(r.ajaxSettings, e)
|
|
4152
4142
|
);
|
|
4153
4143
|
},
|
|
4154
|
-
ajaxPrefilter:
|
|
4155
|
-
ajaxTransport:
|
|
4144
|
+
ajaxPrefilter: ji(Ii),
|
|
4145
|
+
ajaxTransport: ji(Wt),
|
|
4156
4146
|
// Main method
|
|
4157
4147
|
ajax: function(e, t) {
|
|
4158
4148
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
4159
|
-
var i, n,
|
|
4149
|
+
var i, n, s, o, u, c, l, h, x, T, y = r.ajaxSetup({}, t), S = y.context || y, P = y.context && (S.nodeType || S.jquery) ? r(S) : r.event, z = r.Deferred(), _ = r.Callbacks("once memory"), se = y.statusCode || {}, ne = {}, be = {}, Te = "canceled", U = {
|
|
4160
4150
|
readyState: 0,
|
|
4161
4151
|
// Builds headers hashtable if needed
|
|
4162
4152
|
getResponseHeader: function(X) {
|
|
4163
4153
|
var te;
|
|
4164
|
-
if (
|
|
4165
|
-
if (!
|
|
4166
|
-
for (
|
|
4167
|
-
|
|
4168
|
-
te =
|
|
4154
|
+
if (l) {
|
|
4155
|
+
if (!o)
|
|
4156
|
+
for (o = {}; te = qn.exec(s); )
|
|
4157
|
+
o[te[1].toLowerCase() + " "] = (o[te[1].toLowerCase() + " "] || []).concat(te[2]);
|
|
4158
|
+
te = o[X.toLowerCase() + " "];
|
|
4169
4159
|
}
|
|
4170
4160
|
return te == null ? null : te.join(", ");
|
|
4171
4161
|
},
|
|
4172
4162
|
// Raw string
|
|
4173
4163
|
getAllResponseHeaders: function() {
|
|
4174
|
-
return
|
|
4164
|
+
return l ? s : null;
|
|
4175
4165
|
},
|
|
4176
4166
|
// Caches the header
|
|
4177
4167
|
setRequestHeader: function(X, te) {
|
|
4178
|
-
return
|
|
4168
|
+
return l == null && (X = be[X.toLowerCase()] = be[X.toLowerCase()] || X, ne[X] = te), this;
|
|
4179
4169
|
},
|
|
4180
4170
|
// Overrides response content-type header
|
|
4181
4171
|
overrideMimeType: function(X) {
|
|
4182
|
-
return
|
|
4172
|
+
return l == null && (y.mimeType = X), this;
|
|
4183
4173
|
},
|
|
4184
4174
|
// Status-dependent callbacks
|
|
4185
4175
|
statusCode: function(X) {
|
|
4186
4176
|
var te;
|
|
4187
4177
|
if (X)
|
|
4188
|
-
if (
|
|
4178
|
+
if (l)
|
|
4189
4179
|
U.always(X[U.status]);
|
|
4190
4180
|
else
|
|
4191
4181
|
for (te in X)
|
|
4192
|
-
|
|
4182
|
+
se[te] = [se[te], X[te]];
|
|
4193
4183
|
return this;
|
|
4194
4184
|
},
|
|
4195
4185
|
// Cancel the request
|
|
@@ -4198,47 +4188,47 @@ function Cr() {
|
|
|
4198
4188
|
return i && i.abort(te), Fe(0, te), this;
|
|
4199
4189
|
}
|
|
4200
4190
|
};
|
|
4201
|
-
if (z.promise(U),
|
|
4191
|
+
if (z.promise(U), y.url = ((e || y.url || ot.href) + "").replace(Hn, ot.protocol + "//"), y.type = t.method || t.type || y.method || y.type, y.dataTypes = (y.dataType || "*").toLowerCase().match(ve) || [""], y.crossDomain == null) {
|
|
4202
4192
|
c = L.createElement("a");
|
|
4203
4193
|
try {
|
|
4204
|
-
c.href =
|
|
4194
|
+
c.href = y.url, c.href = c.href, y.crossDomain = _t.protocol + "//" + _t.host != c.protocol + "//" + c.host;
|
|
4205
4195
|
} catch {
|
|
4206
|
-
|
|
4196
|
+
y.crossDomain = !0;
|
|
4207
4197
|
}
|
|
4208
4198
|
}
|
|
4209
|
-
if (
|
|
4199
|
+
if (y.data && y.processData && typeof y.data != "string" && (y.data = r.param(y.data, y.traditional)), Mi(Ii, y, t, U), l)
|
|
4210
4200
|
return U;
|
|
4211
|
-
h = r.event &&
|
|
4201
|
+
h = r.event && y.global, h && r.active++ === 0 && r.event.trigger("ajaxStart"), y.type = y.type.toUpperCase(), y.hasContent = !Mn.test(y.type), n = y.url.replace(Ln, ""), y.hasContent ? y.data && y.processData && (y.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (y.data = y.data.replace(Nn, "+")) : (T = y.url.slice(n.length), y.data && (y.processData || typeof y.data == "string") && (n += (Ft.test(n) ? "&" : "?") + y.data, delete y.data), y.cache === !1 && (n = n.replace(In, "$1"), T = (Ft.test(n) ? "&" : "?") + "_=" + Di.guid++ + T), y.url = n + T), y.ifModified && (r.lastModified[n] && U.setRequestHeader("If-Modified-Since", r.lastModified[n]), r.etag[n] && U.setRequestHeader("If-None-Match", r.etag[n])), (y.data && y.hasContent && y.contentType !== !1 || t.contentType) && U.setRequestHeader("Content-Type", y.contentType), U.setRequestHeader(
|
|
4212
4202
|
"Accept",
|
|
4213
|
-
|
|
4203
|
+
y.dataTypes[0] && y.accepts[y.dataTypes[0]] ? y.accepts[y.dataTypes[0]] + (y.dataTypes[0] !== "*" ? ", " + qi + "; q=0.01" : "") : y.accepts["*"]
|
|
4214
4204
|
);
|
|
4215
|
-
for (x in
|
|
4216
|
-
U.setRequestHeader(x,
|
|
4217
|
-
if (
|
|
4205
|
+
for (x in y.headers)
|
|
4206
|
+
U.setRequestHeader(x, y.headers[x]);
|
|
4207
|
+
if (y.beforeSend && (y.beforeSend.call(S, U, y) === !1 || l))
|
|
4218
4208
|
return U.abort();
|
|
4219
|
-
if (Te = "abort", _.add(
|
|
4209
|
+
if (Te = "abort", _.add(y.complete), U.done(y.success), U.fail(y.error), i = Mi(Wt, y, t, U), !i)
|
|
4220
4210
|
Fe(-1, "No Transport");
|
|
4221
4211
|
else {
|
|
4222
|
-
if (U.readyState = 1, h && P.trigger("ajaxSend", [U,
|
|
4212
|
+
if (U.readyState = 1, h && P.trigger("ajaxSend", [U, y]), l)
|
|
4223
4213
|
return U;
|
|
4224
|
-
|
|
4214
|
+
y.async && y.timeout > 0 && (u = a.setTimeout(function() {
|
|
4225
4215
|
U.abort("timeout");
|
|
4226
|
-
},
|
|
4216
|
+
}, y.timeout));
|
|
4227
4217
|
try {
|
|
4228
|
-
|
|
4218
|
+
l = !1, i.send(ne, Fe);
|
|
4229
4219
|
} catch (X) {
|
|
4230
|
-
if (
|
|
4220
|
+
if (l)
|
|
4231
4221
|
throw X;
|
|
4232
4222
|
Fe(-1, X);
|
|
4233
4223
|
}
|
|
4234
4224
|
}
|
|
4235
4225
|
function Fe(X, te, ut, Ut) {
|
|
4236
|
-
var we,
|
|
4237
|
-
|
|
4238
|
-
}), Ie =
|
|
4226
|
+
var we, ft, Se, Ie, qe, pe = te;
|
|
4227
|
+
l || (l = !0, u && a.clearTimeout(u), i = void 0, s = Ut || "", U.readyState = X > 0 ? 4 : 0, we = X >= 200 && X < 300 || X === 304, ut && (Ie = Pn(y, U, ut)), !we && r.inArray("script", y.dataTypes) > -1 && r.inArray("json", y.dataTypes) < 0 && (y.converters["text script"] = function() {
|
|
4228
|
+
}), Ie = Fn(y, Ie, U, we), we ? (y.ifModified && (qe = U.getResponseHeader("Last-Modified"), qe && (r.lastModified[n] = qe), qe = U.getResponseHeader("etag"), qe && (r.etag[n] = qe)), X === 204 || y.type === "HEAD" ? pe = "nocontent" : X === 304 ? pe = "notmodified" : (pe = Ie.state, ft = Ie.data, Se = Ie.error, we = !Se)) : (Se = pe, (X || !pe) && (pe = "error", X < 0 && (X = 0))), U.status = X, U.statusText = (te || pe) + "", we ? z.resolveWith(S, [ft, pe, U]) : z.rejectWith(S, [U, pe, Se]), U.statusCode(se), se = void 0, h && P.trigger(
|
|
4239
4229
|
we ? "ajaxSuccess" : "ajaxError",
|
|
4240
|
-
[U,
|
|
4241
|
-
), _.fireWith(S, [U, pe]), h && (P.trigger("ajaxComplete", [U,
|
|
4230
|
+
[U, y, we ? ft : Se]
|
|
4231
|
+
), _.fireWith(S, [U, pe]), h && (P.trigger("ajaxComplete", [U, y]), --r.active || r.event.trigger("ajaxStop")));
|
|
4242
4232
|
}
|
|
4243
4233
|
return U;
|
|
4244
4234
|
},
|
|
@@ -4249,13 +4239,13 @@ function Cr() {
|
|
|
4249
4239
|
return r.get(e, void 0, t, "script");
|
|
4250
4240
|
}
|
|
4251
4241
|
}), r.each(["get", "post"], function(e, t) {
|
|
4252
|
-
r[t] = function(i, n,
|
|
4253
|
-
return W(n) && (
|
|
4242
|
+
r[t] = function(i, n, s, o) {
|
|
4243
|
+
return W(n) && (o = o || s, s = n, n = void 0), r.ajax(r.extend({
|
|
4254
4244
|
url: i,
|
|
4255
4245
|
type: t,
|
|
4256
|
-
dataType:
|
|
4246
|
+
dataType: o,
|
|
4257
4247
|
data: n,
|
|
4258
|
-
success:
|
|
4248
|
+
success: s
|
|
4259
4249
|
}, r.isPlainObject(i) && i));
|
|
4260
4250
|
};
|
|
4261
4251
|
}), r.ajaxPrefilter(function(e) {
|
|
@@ -4320,19 +4310,19 @@ function Cr() {
|
|
|
4320
4310
|
} catch {
|
|
4321
4311
|
}
|
|
4322
4312
|
};
|
|
4323
|
-
var
|
|
4313
|
+
var On = {
|
|
4324
4314
|
// File protocol always yields status code 0, assume 200
|
|
4325
4315
|
0: 200,
|
|
4326
4316
|
// Support: IE <=9 only
|
|
4327
4317
|
// trac-1450: sometimes IE returns 1223 when it should be 204
|
|
4328
4318
|
1223: 204
|
|
4329
4319
|
}, at = r.ajaxSettings.xhr();
|
|
4330
|
-
|
|
4320
|
+
M.cors = !!at && "withCredentials" in at, M.ajax = at = !!at, r.ajaxTransport(function(e) {
|
|
4331
4321
|
var t, i;
|
|
4332
|
-
if (
|
|
4322
|
+
if (M.cors || at && !e.crossDomain)
|
|
4333
4323
|
return {
|
|
4334
|
-
send: function(n,
|
|
4335
|
-
var
|
|
4324
|
+
send: function(n, s) {
|
|
4325
|
+
var o, u = e.xhr();
|
|
4336
4326
|
if (u.open(
|
|
4337
4327
|
e.type,
|
|
4338
4328
|
e.url,
|
|
@@ -4340,19 +4330,19 @@ function Cr() {
|
|
|
4340
4330
|
e.username,
|
|
4341
4331
|
e.password
|
|
4342
4332
|
), e.xhrFields)
|
|
4343
|
-
for (
|
|
4344
|
-
u[
|
|
4333
|
+
for (o in e.xhrFields)
|
|
4334
|
+
u[o] = e.xhrFields[o];
|
|
4345
4335
|
e.mimeType && u.overrideMimeType && u.overrideMimeType(e.mimeType), !e.crossDomain && !n["X-Requested-With"] && (n["X-Requested-With"] = "XMLHttpRequest");
|
|
4346
|
-
for (
|
|
4347
|
-
u.setRequestHeader(
|
|
4336
|
+
for (o in n)
|
|
4337
|
+
u.setRequestHeader(o, n[o]);
|
|
4348
4338
|
t = function(c) {
|
|
4349
4339
|
return function() {
|
|
4350
|
-
t && (t = i = u.onload = u.onerror = u.onabort = u.ontimeout = u.onreadystatechange = null, c === "abort" ? u.abort() : c === "error" ? typeof u.status != "number" ?
|
|
4340
|
+
t && (t = i = u.onload = u.onerror = u.onabort = u.ontimeout = u.onreadystatechange = null, c === "abort" ? u.abort() : c === "error" ? typeof u.status != "number" ? s(0, "error") : s(
|
|
4351
4341
|
// File: protocol always yields status 0; see trac-8605, trac-14207
|
|
4352
4342
|
u.status,
|
|
4353
4343
|
u.statusText
|
|
4354
|
-
) :
|
|
4355
|
-
|
|
4344
|
+
) : s(
|
|
4345
|
+
On[u.status] || u.status,
|
|
4356
4346
|
u.statusText,
|
|
4357
4347
|
// Support: IE <=9 only
|
|
4358
4348
|
// IE9 has no XHR2 but throws on binary (trac-11426)
|
|
@@ -4397,9 +4387,9 @@ function Cr() {
|
|
|
4397
4387
|
if (e.crossDomain || e.scriptAttrs) {
|
|
4398
4388
|
var t, i;
|
|
4399
4389
|
return {
|
|
4400
|
-
send: function(n,
|
|
4401
|
-
t = r("<script>").attr(e.scriptAttrs || {}).prop({ charset: e.scriptCharset, src: e.url }).on("load error", i = function(
|
|
4402
|
-
t.remove(), i = null,
|
|
4390
|
+
send: function(n, s) {
|
|
4391
|
+
t = r("<script>").attr(e.scriptAttrs || {}).prop({ charset: e.scriptCharset, src: e.url }).on("load error", i = function(o) {
|
|
4392
|
+
t.remove(), i = null, o && s(o.type === "error" ? 404 : 200, o.type);
|
|
4403
4393
|
}), L.head.appendChild(t[0]);
|
|
4404
4394
|
},
|
|
4405
4395
|
abort: function() {
|
|
@@ -4416,46 +4406,46 @@ function Cr() {
|
|
|
4416
4406
|
return this[e] = !0, e;
|
|
4417
4407
|
}
|
|
4418
4408
|
}), r.ajaxPrefilter("json jsonp", function(e, t, i) {
|
|
4419
|
-
var n,
|
|
4409
|
+
var n, s, o, u = e.jsonp !== !1 && (Vt.test(e.url) ? "url" : typeof e.data == "string" && (e.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && Vt.test(e.data) && "data");
|
|
4420
4410
|
if (u || e.dataTypes[0] === "jsonp")
|
|
4421
4411
|
return n = e.jsonpCallback = W(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, u ? e[u] = e[u].replace(Vt, "$1" + n) : e.jsonp !== !1 && (e.url += (Ft.test(e.url) ? "&" : "?") + e.jsonp + "=" + n), e.converters["script json"] = function() {
|
|
4422
|
-
return
|
|
4423
|
-
}, e.dataTypes[0] = "json",
|
|
4424
|
-
|
|
4412
|
+
return o || r.error(n + " was not called"), o[0];
|
|
4413
|
+
}, e.dataTypes[0] = "json", s = a[n], a[n] = function() {
|
|
4414
|
+
o = arguments;
|
|
4425
4415
|
}, i.always(function() {
|
|
4426
|
-
|
|
4416
|
+
s === void 0 ? r(a).removeProp(n) : a[n] = s, e[n] && (e.jsonpCallback = t.jsonpCallback, Hi.push(n)), o && W(s) && s(o[0]), o = s = void 0;
|
|
4427
4417
|
}), "script";
|
|
4428
|
-
}),
|
|
4418
|
+
}), M.createHTMLDocument = (function() {
|
|
4429
4419
|
var e = L.implementation.createHTMLDocument("").body;
|
|
4430
4420
|
return e.innerHTML = "<form></form><form></form>", e.childNodes.length === 2;
|
|
4431
4421
|
})(), r.parseHTML = function(e, t, i) {
|
|
4432
4422
|
if (typeof e != "string")
|
|
4433
4423
|
return [];
|
|
4434
4424
|
typeof t == "boolean" && (i = t, t = !1);
|
|
4435
|
-
var n,
|
|
4436
|
-
return t || (
|
|
4425
|
+
var n, s, o;
|
|
4426
|
+
return t || (M.createHTMLDocument ? (t = L.implementation.createHTMLDocument(""), n = t.createElement("base"), n.href = L.location.href, t.head.appendChild(n)) : t = L), s = ii.exec(e), o = !i && [], s ? [t.createElement(s[1])] : (s = di([e], t, o), o && o.length && r(o).remove(), r.merge([], s.childNodes));
|
|
4437
4427
|
}, r.fn.load = function(e, t, i) {
|
|
4438
|
-
var n,
|
|
4439
|
-
return c > -1 && (n = He(e.slice(c)), e = e.slice(0, c)), W(t) ? (i = t, t = void 0) : t && typeof t == "object" && (
|
|
4428
|
+
var n, s, o, u = this, c = e.indexOf(" ");
|
|
4429
|
+
return c > -1 && (n = He(e.slice(c)), e = e.slice(0, c)), W(t) ? (i = t, t = void 0) : t && typeof t == "object" && (s = "POST"), u.length > 0 && r.ajax({
|
|
4440
4430
|
url: e,
|
|
4441
4431
|
// If "type" variable is undefined, then "GET" method will be used.
|
|
4442
4432
|
// Make value of this field explicit since
|
|
4443
4433
|
// user can override it through ajaxSetup method
|
|
4444
|
-
type:
|
|
4434
|
+
type: s || "GET",
|
|
4445
4435
|
dataType: "html",
|
|
4446
4436
|
data: t
|
|
4447
|
-
}).done(function(
|
|
4448
|
-
|
|
4437
|
+
}).done(function(l) {
|
|
4438
|
+
o = arguments, u.html(n ? (
|
|
4449
4439
|
// If a selector was specified, locate the right elements in a dummy div
|
|
4450
4440
|
// Exclude scripts to avoid IE 'Permission Denied' errors
|
|
4451
|
-
r("<div>").append(r.parseHTML(
|
|
4441
|
+
r("<div>").append(r.parseHTML(l)).find(n)
|
|
4452
4442
|
) : (
|
|
4453
4443
|
// Otherwise use the full result
|
|
4454
|
-
|
|
4444
|
+
l
|
|
4455
4445
|
));
|
|
4456
|
-
}).always(i && function(
|
|
4446
|
+
}).always(i && function(l, h) {
|
|
4457
4447
|
u.each(function() {
|
|
4458
|
-
i.apply(this,
|
|
4448
|
+
i.apply(this, o || [l.responseText, h, l]);
|
|
4459
4449
|
});
|
|
4460
4450
|
}), this;
|
|
4461
4451
|
}, r.expr.pseudos.animated = function(e) {
|
|
@@ -4464,15 +4454,15 @@ function Cr() {
|
|
|
4464
4454
|
}).length;
|
|
4465
4455
|
}, r.offset = {
|
|
4466
4456
|
setOffset: function(e, t, i) {
|
|
4467
|
-
var n,
|
|
4468
|
-
x === "static" && (e.style.position = "relative"), c = T.offset(),
|
|
4457
|
+
var n, s, o, u, c, l, h, x = r.css(e, "position"), T = r(e), y = {};
|
|
4458
|
+
x === "static" && (e.style.position = "relative"), c = T.offset(), o = r.css(e, "top"), l = r.css(e, "left"), h = (x === "absolute" || x === "fixed") && (o + l).indexOf("auto") > -1, h ? (n = T.position(), u = n.top, s = n.left) : (u = parseFloat(o) || 0, s = parseFloat(l) || 0), W(t) && (t = t.call(e, i, r.extend({}, c))), t.top != null && (y.top = t.top - c.top + u), t.left != null && (y.left = t.left - c.left + s), "using" in t ? t.using.call(e, y) : T.css(y);
|
|
4469
4459
|
}
|
|
4470
4460
|
}, r.fn.extend({
|
|
4471
4461
|
// offset() relates an element's border box to the document origin
|
|
4472
4462
|
offset: function(e) {
|
|
4473
4463
|
if (arguments.length)
|
|
4474
|
-
return e === void 0 ? this : this.each(function(
|
|
4475
|
-
r.offset.setOffset(this, e,
|
|
4464
|
+
return e === void 0 ? this : this.each(function(s) {
|
|
4465
|
+
r.offset.setOffset(this, e, s);
|
|
4476
4466
|
});
|
|
4477
4467
|
var t, i, n = this[0];
|
|
4478
4468
|
if (n)
|
|
@@ -4485,17 +4475,17 @@ function Cr() {
|
|
|
4485
4475
|
// This corresponds to the behavior of CSS absolute positioning
|
|
4486
4476
|
position: function() {
|
|
4487
4477
|
if (this[0]) {
|
|
4488
|
-
var e, t, i, n = this[0],
|
|
4478
|
+
var e, t, i, n = this[0], s = { top: 0, left: 0 };
|
|
4489
4479
|
if (r.css(n, "position") === "fixed")
|
|
4490
4480
|
t = n.getBoundingClientRect();
|
|
4491
4481
|
else {
|
|
4492
4482
|
for (t = this.offset(), i = n.ownerDocument, e = n.offsetParent || i.documentElement; e && (e === i.body || e === i.documentElement) && r.css(e, "position") === "static"; )
|
|
4493
4483
|
e = e.parentNode;
|
|
4494
|
-
e && e !== n && e.nodeType === 1 && (
|
|
4484
|
+
e && e !== n && e.nodeType === 1 && (s = r(e).offset(), s.top += r.css(e, "borderTopWidth", !0), s.left += r.css(e, "borderLeftWidth", !0));
|
|
4495
4485
|
}
|
|
4496
4486
|
return {
|
|
4497
|
-
top: t.top -
|
|
4498
|
-
left: t.left -
|
|
4487
|
+
top: t.top - s.top - r.css(n, "marginTop", !0),
|
|
4488
|
+
left: t.left - s.left - r.css(n, "marginLeft", !0)
|
|
4499
4489
|
};
|
|
4500
4490
|
}
|
|
4501
4491
|
},
|
|
@@ -4513,25 +4503,25 @@ function Cr() {
|
|
|
4513
4503
|
return this.map(function() {
|
|
4514
4504
|
for (var e = this.offsetParent; e && r.css(e, "position") === "static"; )
|
|
4515
4505
|
e = e.offsetParent;
|
|
4516
|
-
return e ||
|
|
4506
|
+
return e || Me;
|
|
4517
4507
|
});
|
|
4518
4508
|
}
|
|
4519
4509
|
}), r.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(e, t) {
|
|
4520
4510
|
var i = t === "pageYOffset";
|
|
4521
4511
|
r.fn[e] = function(n) {
|
|
4522
|
-
return Ee(this, function(
|
|
4512
|
+
return Ee(this, function(s, o, u) {
|
|
4523
4513
|
var c;
|
|
4524
|
-
if (Ne(
|
|
4525
|
-
return c ? c[t] : o
|
|
4514
|
+
if (Ne(s) ? c = s : s.nodeType === 9 && (c = s.defaultView), u === void 0)
|
|
4515
|
+
return c ? c[t] : s[o];
|
|
4526
4516
|
c ? c.scrollTo(
|
|
4527
4517
|
i ? c.pageXOffset : u,
|
|
4528
4518
|
i ? u : c.pageYOffset
|
|
4529
|
-
) : o
|
|
4519
|
+
) : s[o] = u;
|
|
4530
4520
|
}, e, n, arguments.length);
|
|
4531
4521
|
};
|
|
4532
4522
|
}), r.each(["top", "left"], function(e, t) {
|
|
4533
4523
|
r.cssHooks[t] = vi(
|
|
4534
|
-
|
|
4524
|
+
M.pixelPosition,
|
|
4535
4525
|
function(i, n) {
|
|
4536
4526
|
if (n)
|
|
4537
4527
|
return n = rt(i, t), It.test(n) ? r(i).position()[t] + "px" : n;
|
|
@@ -4543,24 +4533,24 @@ function Cr() {
|
|
|
4543
4533
|
content: t,
|
|
4544
4534
|
"": "outer" + e
|
|
4545
4535
|
}, function(i, n) {
|
|
4546
|
-
r.fn[n] = function(
|
|
4547
|
-
var u = arguments.length && (i || typeof
|
|
4548
|
-
return Ee(this, function(
|
|
4536
|
+
r.fn[n] = function(s, o) {
|
|
4537
|
+
var u = arguments.length && (i || typeof s != "boolean"), c = i || (s === !0 || o === !0 ? "margin" : "border");
|
|
4538
|
+
return Ee(this, function(l, h, x) {
|
|
4549
4539
|
var T;
|
|
4550
|
-
return Ne(
|
|
4551
|
-
|
|
4540
|
+
return Ne(l) ? n.indexOf("outer") === 0 ? l["inner" + e] : l.document.documentElement["client" + e] : l.nodeType === 9 ? (T = l.documentElement, Math.max(
|
|
4541
|
+
l.body["scroll" + e],
|
|
4552
4542
|
T["scroll" + e],
|
|
4553
|
-
|
|
4543
|
+
l.body["offset" + e],
|
|
4554
4544
|
T["offset" + e],
|
|
4555
4545
|
T["client" + e]
|
|
4556
4546
|
)) : x === void 0 ? (
|
|
4557
4547
|
// Get width or height on the element, requesting but not forcing parseFloat
|
|
4558
|
-
r.css(
|
|
4548
|
+
r.css(l, h, c)
|
|
4559
4549
|
) : (
|
|
4560
4550
|
// Set width or height on the element
|
|
4561
|
-
r.style(
|
|
4551
|
+
r.style(l, h, x, c)
|
|
4562
4552
|
);
|
|
4563
|
-
}, t, u ?
|
|
4553
|
+
}, t, u ? s : void 0, u);
|
|
4564
4554
|
};
|
|
4565
4555
|
});
|
|
4566
4556
|
}), r.each([
|
|
@@ -4598,13 +4588,13 @@ function Cr() {
|
|
|
4598
4588
|
};
|
|
4599
4589
|
}
|
|
4600
4590
|
);
|
|
4601
|
-
var
|
|
4591
|
+
var Wn = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
|
|
4602
4592
|
r.proxy = function(e, t) {
|
|
4603
|
-
var i, n,
|
|
4593
|
+
var i, n, s;
|
|
4604
4594
|
if (typeof t == "string" && (i = e[t], t = e, e = i), !!W(e))
|
|
4605
|
-
return n = w.call(arguments, 2),
|
|
4595
|
+
return n = w.call(arguments, 2), s = function() {
|
|
4606
4596
|
return e.apply(t || this, n.concat(w.call(arguments)));
|
|
4607
|
-
},
|
|
4597
|
+
}, s.guid = e.guid = e.guid || r.guid++, s;
|
|
4608
4598
|
}, r.holdReady = function(e) {
|
|
4609
4599
|
e ? r.readyWait++ : r.ready(!0);
|
|
4610
4600
|
}, r.isArray = Array.isArray, r.parseJSON = JSON.parse, r.nodeName = K, r.isFunction = W, r.isWindow = Ne, r.camelCase = xe, r.type = We, r.now = Date.now, r.isNumeric = function(e) {
|
|
@@ -4614,11 +4604,11 @@ function Cr() {
|
|
|
4614
4604
|
// subtraction forces infinities to NaN
|
|
4615
4605
|
!isNaN(e - parseFloat(e));
|
|
4616
4606
|
}, r.trim = function(e) {
|
|
4617
|
-
return e == null ? "" : (e + "").replace(
|
|
4607
|
+
return e == null ? "" : (e + "").replace(Wn, "$1");
|
|
4618
4608
|
};
|
|
4619
|
-
var
|
|
4609
|
+
var _n = a.jQuery, Bn = a.$;
|
|
4620
4610
|
return r.noConflict = function(e) {
|
|
4621
|
-
return a.$ === r && (a.$ =
|
|
4611
|
+
return a.$ === r && (a.$ = Bn), e && a.jQuery === r && (a.jQuery = _n), r;
|
|
4622
4612
|
}, typeof p > "u" && (a.jQuery = a.$ = r), r;
|
|
4623
4613
|
});
|
|
4624
4614
|
})(kt)), kt.exports;
|
|
@@ -4660,14 +4650,14 @@ class Ar {
|
|
|
4660
4650
|
let a = document.createElement("canvas");
|
|
4661
4651
|
if (this.canvasEl = a, a.setAttribute("class", "display"), !this.el)
|
|
4662
4652
|
throw new Error("Element not initialized. Please call init() first.");
|
|
4663
|
-
let p = this.el.clientHeight,
|
|
4664
|
-
a.style.height = p + "px", a.style.width =
|
|
4653
|
+
let p = this.el.clientHeight, m = this.el.clientWidth, k = window.devicePixelRatio || 1;
|
|
4654
|
+
a.style.height = p + "px", a.style.width = m + "px", a.height = p * k, a.width = m * k, this.el.innerHTML = "", this.el.appendChild(a);
|
|
4665
4655
|
}
|
|
4666
4656
|
resetCanvas() {
|
|
4667
4657
|
if (!this.canvasEl)
|
|
4668
4658
|
throw new Error("Canvas not initialized. Please call init() first.");
|
|
4669
|
-
let a = this.el.clientHeight, p = this.el.clientWidth,
|
|
4670
|
-
this.canvasEl.style.height = a + "px", this.canvasEl.style.width = p + "px", this.canvasEl.height = a *
|
|
4659
|
+
let a = this.el.clientHeight, p = this.el.clientWidth, m = window.devicePixelRatio || 1;
|
|
4660
|
+
this.canvasEl.style.height = a + "px", this.canvasEl.style.width = p + "px", this.canvasEl.height = a * m, this.canvasEl.width = p * m;
|
|
4671
4661
|
}
|
|
4672
4662
|
removeDom() {
|
|
4673
4663
|
this.canvasEl && (this.canvasEl.remove(), this.canvasEl = null), this.el && (this.el.innerHTML = "");
|
|
@@ -4675,15 +4665,15 @@ class Ar {
|
|
|
4675
4665
|
play(a) {
|
|
4676
4666
|
if (!this.opt)
|
|
4677
4667
|
throw new Error("Options not initialized. Please call init() first.");
|
|
4678
|
-
this.player || (
|
|
4668
|
+
this.player || (this.initDom(), this.player = new ee(
|
|
4679
4669
|
this.opt.phone,
|
|
4680
4670
|
this.opt.channelNo,
|
|
4681
4671
|
this.$el,
|
|
4682
4672
|
this.canvasEl,
|
|
4683
4673
|
this.opt.lang || ""
|
|
4684
|
-
))
|
|
4674
|
+
));
|
|
4685
4675
|
let p = a?.streamType !== void 0 ? a.streamType : 1;
|
|
4686
|
-
a?.streamType === 0 && (p = 0), this.player.play(0, p, a?.beginTime)
|
|
4676
|
+
a?.streamType === 0 && (p = 0), this.player.play(0, p, a?.beginTime);
|
|
4687
4677
|
}
|
|
4688
4678
|
pause() {
|
|
4689
4679
|
console.log("MnPlayer pause"), this.player && this.player.pause();
|