mn-video-player 1.2.6 → 1.2.7
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/index.d.ts.map +1 -1
- package/dist/mn-video-player.es.js +212 -212
- package/dist/mn-video-player.es.js.map +1 -1
- package/dist/mn-video-player.umd.js +4 -4
- package/dist/mn-video-player.umd.js.map +1 -1
- package/dist/{mn-worker-Daq7nMxd.js → mn-worker-u8K6bNRK.js} +2 -2
- package/dist/{mn-worker-Daq7nMxd.js.map → mn-worker-u8K6bNRK.js.map} +1 -1
- package/package.json +1 -1
|
@@ -47,8 +47,8 @@ Je.prototype.initGL = function(R) {
|
|
|
47
47
|
" gl_FragColor = vec4(texture2D(YTexture, vTextureCoord).x, texture2D(UTexture, vTextureCoord).x, texture2D(VTexture, vTextureCoord).x, 1) * YUV2RGB;",
|
|
48
48
|
"}"
|
|
49
49
|
].join(`
|
|
50
|
-
`),
|
|
51
|
-
a.shaderSource(
|
|
50
|
+
`), D = a.createShader(a.FRAGMENT_SHADER);
|
|
51
|
+
a.shaderSource(D, w), a.compileShader(D), a.attachShader(p, k), a.attachShader(p, D), a.linkProgram(p), a.useProgram(p), a.getProgramParameter(p, a.LINK_STATUS) || console.log("[ER] Shader link failed.");
|
|
52
52
|
var $ = a.getAttribLocation(p, "aVertexPosition");
|
|
53
53
|
a.enableVertexAttribArray($);
|
|
54
54
|
var q = a.getAttribLocation(p, "aTextureCoord");
|
|
@@ -166,7 +166,7 @@ class Qn {
|
|
|
166
166
|
let w = 0;
|
|
167
167
|
for (const L of p)
|
|
168
168
|
k.set(L.data, w), w += L.data.length;
|
|
169
|
-
const
|
|
169
|
+
const D = this.audioCtx.createBufferSource(), $ = k.length / this.option.channels, q = this.audioCtx.createBuffer(
|
|
170
170
|
this.option.channels,
|
|
171
171
|
$,
|
|
172
172
|
this.option.sampleRate
|
|
@@ -175,19 +175,19 @@ class Qn {
|
|
|
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
|
-
bufferSource:
|
|
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
|
-
this.playingBuffers.push(W),
|
|
188
|
-
const L = this.playingBuffers.findIndex((Le) => Le.bufferSource ===
|
|
187
|
+
this.playingBuffers.push(W), D.onended = () => {
|
|
188
|
+
const L = this.playingBuffers.findIndex((Le) => Le.bufferSource === D);
|
|
189
189
|
L !== -1 && this.playingBuffers.splice(L, 1);
|
|
190
|
-
},
|
|
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
|
|
@@ -208,10 +208,10 @@ class Qn {
|
|
|
208
208
|
k,
|
|
209
209
|
this.option.sampleRate
|
|
210
210
|
);
|
|
211
|
-
let
|
|
211
|
+
let D, $, q, F, re;
|
|
212
212
|
for ($ = 0; $ < this.option.channels; $++)
|
|
213
|
-
for (
|
|
214
|
-
|
|
213
|
+
for (D = w.getChannelData($), q = $, re = 50, F = 0; F < k; F++)
|
|
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
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 = {
|
|
@@ -222,7 +222,7 @@ class Qn {
|
|
|
222
222
|
rawData: [{ data: a, timestamp: p }]
|
|
223
223
|
};
|
|
224
224
|
this.playingBuffers.push(ie), m.onended = () => {
|
|
225
|
-
const de = this.playingBuffers.findIndex((
|
|
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
|
}
|
|
@@ -251,8 +251,8 @@ class xr {
|
|
|
251
251
|
console.log("[" + this.currentTimeStr() + "][" + this.module + "][DT] " + a);
|
|
252
252
|
}
|
|
253
253
|
currentTimeStr() {
|
|
254
|
-
const a = new Date(Date.now()), p = a.getFullYear(), m = a.getMonth() + 1, k = a.getDate(), w = a.getHours(),
|
|
255
|
-
return p + "-" + m + "-" + k + " " + w + ":" +
|
|
254
|
+
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();
|
|
255
|
+
return p + "-" + m + "-" + k + " " + w + ":" + D + ":" + $ + ":" + q;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
const G = {
|
|
@@ -282,7 +282,7 @@ const G = {
|
|
|
282
282
|
}, 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";
|
|
283
283
|
function Tr(R) {
|
|
284
284
|
return new Worker(
|
|
285
|
-
"" + new URL("mn-worker-
|
|
285
|
+
"" + new URL("mn-worker-u8K6bNRK.js", import.meta.url).href,
|
|
286
286
|
{
|
|
287
287
|
name: R?.name
|
|
288
288
|
}
|
|
@@ -303,8 +303,8 @@ class ee {
|
|
|
303
303
|
static frameCache = [];
|
|
304
304
|
static intervalTimer = null;
|
|
305
305
|
static onlyWasm = !1;
|
|
306
|
-
constructor(a, p, m, k, w,
|
|
307
|
-
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 =
|
|
306
|
+
constructor(a, p, m, k, w, D) {
|
|
307
|
+
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({
|
|
308
308
|
encoding: this.audioEncoding,
|
|
309
309
|
channels: this.audioChannels,
|
|
310
310
|
sampleRate: this.audioSampleRate,
|
|
@@ -795,7 +795,7 @@ class ee {
|
|
|
795
795
|
return a.byteLength <= 16 ? new ArrayBuffer(0) : a.slice(0, a.byteLength - 16);
|
|
796
796
|
}
|
|
797
797
|
annexBToAvcc(a) {
|
|
798
|
-
const p = a.reduce((w,
|
|
798
|
+
const p = a.reduce((w, D) => w + 4 + D.length, 0), m = new Uint8Array(p);
|
|
799
799
|
let k = 0;
|
|
800
800
|
for (const w of a)
|
|
801
801
|
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;
|
|
@@ -814,9 +814,9 @@ class ee {
|
|
|
814
814
|
}
|
|
815
815
|
a[m + (a[m + 2] === 1 ? 3 : 4)];
|
|
816
816
|
const w = m + (a[m + 2] === 1 ? 3 : 4);
|
|
817
|
-
let
|
|
818
|
-
for (;
|
|
819
|
-
p.push(a.subarray(w,
|
|
817
|
+
let D = w;
|
|
818
|
+
for (; D < a.length && !k(D); ) D++;
|
|
819
|
+
p.push(a.subarray(w, D)), m = D;
|
|
820
820
|
}
|
|
821
821
|
return p;
|
|
822
822
|
}
|
|
@@ -824,11 +824,11 @@ class ee {
|
|
|
824
824
|
let p = null, m = null, k = 0;
|
|
825
825
|
for (; k + 4 < a.length; )
|
|
826
826
|
if (a[k] === 0 && a[k + 1] === 0 && (a[k + 2] === 1 || a[k + 2] === 0 && a[k + 3] === 1)) {
|
|
827
|
-
const w = a[k + 2] === 1 ? 3 : 4,
|
|
828
|
-
let q =
|
|
827
|
+
const w = a[k + 2] === 1 ? 3 : 4, D = k + w, $ = a[D] & 31;
|
|
828
|
+
let q = D + 1;
|
|
829
829
|
for (; q + 3 < a.length && !(a[q] === 0 && a[q + 1] === 0 && (a[q + 2] === 1 || a[q + 2] === 0 && a[q + 3] === 1)); )
|
|
830
830
|
q++;
|
|
831
|
-
const F = a.slice(
|
|
831
|
+
const F = a.slice(D, q);
|
|
832
832
|
if ($ === 7 && !p && (p = F), $ === 8 && !m && (m = F), $ === 32 && !p && (p = F), $ === 33 && !m && (m = F), p && m) break;
|
|
833
833
|
k = q;
|
|
834
834
|
} else
|
|
@@ -852,8 +852,8 @@ class ee {
|
|
|
852
852
|
const ie = a.subarray(re, Z), de = ie[0] >> 1 & 63;
|
|
853
853
|
(de === 32 || de === 33 || de === 34) && p.push({ type: de, data: ie }), m = Z;
|
|
854
854
|
}
|
|
855
|
-
const w = p.find((q) => q.type === 32)?.data,
|
|
856
|
-
return { vps: w, sps:
|
|
855
|
+
const w = p.find((q) => q.type === 32)?.data, D = p.find((q) => q.type === 33)?.data, $ = p.find((q) => q.type === 34)?.data;
|
|
856
|
+
return { vps: w, sps: D, pps: $ };
|
|
857
857
|
}
|
|
858
858
|
guessCodec(a) {
|
|
859
859
|
if (a.length < 1) return null;
|
|
@@ -892,8 +892,8 @@ class ee {
|
|
|
892
892
|
}
|
|
893
893
|
makeAvcC(a, p) {
|
|
894
894
|
const m = a.length, k = p.length, w = new Uint8Array(8 + m + 3 + k);
|
|
895
|
-
let
|
|
896
|
-
return w[
|
|
895
|
+
let D = 0;
|
|
896
|
+
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;
|
|
897
897
|
}
|
|
898
898
|
/**
|
|
899
899
|
* 解码视频帧
|
|
@@ -914,9 +914,9 @@ class ee {
|
|
|
914
914
|
return `avc1.${re.toString(16).padStart(2, "0")}${Z.toString(16).padStart(2, "0")}${ie.toString(16).padStart(2, "0")}`;
|
|
915
915
|
};
|
|
916
916
|
this.frameType = "h264";
|
|
917
|
-
const { sps: w, pps:
|
|
918
|
-
if (!w || !
|
|
919
|
-
this.sps = w, this.pps =
|
|
917
|
+
const { sps: w, pps: D } = this.extractSpsPps(a);
|
|
918
|
+
if (!w || !D) return;
|
|
919
|
+
this.sps = w, this.pps = D, this.avcC = this.makeAvcC(w, D), console.warn("avcC", this.avcC);
|
|
920
920
|
let q = $(w);
|
|
921
921
|
if (this.videoDecoder.configure({
|
|
922
922
|
codec: q,
|
|
@@ -930,8 +930,8 @@ class ee {
|
|
|
930
930
|
return;
|
|
931
931
|
} else {
|
|
932
932
|
this.frameType = "h265";
|
|
933
|
-
const { vps: w, sps:
|
|
934
|
-
if (this.vps = w, this.sps =
|
|
933
|
+
const { vps: w, sps: D, pps: $ } = this.extractVpsSpsPps(a);
|
|
934
|
+
if (this.vps = w, this.sps = D, this.pps = $, !w || !D || !$) return;
|
|
935
935
|
if (this.videoDecoder.configure({
|
|
936
936
|
codec: "hev1.1.6.L93.B0"
|
|
937
937
|
// codedWidth: this.width || 640,
|
|
@@ -944,7 +944,7 @@ class ee {
|
|
|
944
944
|
}
|
|
945
945
|
if (this.frameType == "h264") {
|
|
946
946
|
let k = this.annexBToAvcc(this.splitAnnexBNalus(a)), w = 33333;
|
|
947
|
-
const
|
|
947
|
+
const D = new EncodedVideoChunk({
|
|
948
948
|
type: m ? "key" : "delta",
|
|
949
949
|
// 根据是否关键帧设置类型
|
|
950
950
|
// type: "key", // 根据是否关键帧设置类型
|
|
@@ -955,7 +955,7 @@ class ee {
|
|
|
955
955
|
duration: w
|
|
956
956
|
// 假设30fps,约33.33ms
|
|
957
957
|
});
|
|
958
|
-
this.videoDecoder.decode(
|
|
958
|
+
this.videoDecoder.decode(D);
|
|
959
959
|
} else {
|
|
960
960
|
let k = 33333;
|
|
961
961
|
const w = new EncodedVideoChunk({
|
|
@@ -1015,11 +1015,11 @@ function Cr() {
|
|
|
1015
1015
|
return p(m);
|
|
1016
1016
|
};
|
|
1017
1017
|
})(typeof window < "u" ? window : Sr, function(a, p) {
|
|
1018
|
-
var m = [], k = Object.getPrototypeOf, w = m.slice,
|
|
1018
|
+
var m = [], k = Object.getPrototypeOf, w = m.slice, D = m.flat ? function(e) {
|
|
1019
1019
|
return m.flat.call(e);
|
|
1020
1020
|
} : function(e) {
|
|
1021
1021
|
return m.concat.apply([], e);
|
|
1022
|
-
}, $ = m.push, q = m.indexOf, F = {}, re = F.toString, Z = F.hasOwnProperty, ie = Z.toString, de = ie.call(Object),
|
|
1022
|
+
}, $ = m.push, q = m.indexOf, F = {}, re = F.toString, Z = F.hasOwnProperty, ie = Z.toString, de = ie.call(Object), M = {}, W = function(t) {
|
|
1023
1023
|
return typeof t == "function" && typeof t.nodeType != "number" && typeof t.item != "function";
|
|
1024
1024
|
}, Ne = function(t) {
|
|
1025
1025
|
return t != null && t === t.window;
|
|
@@ -1190,13 +1190,13 @@ function Cr() {
|
|
|
1190
1190
|
else
|
|
1191
1191
|
for (o in e)
|
|
1192
1192
|
s = t(e[o], o, i), s != null && u.push(s);
|
|
1193
|
-
return
|
|
1193
|
+
return D(u);
|
|
1194
1194
|
},
|
|
1195
1195
|
// A global GUID counter for objects
|
|
1196
1196
|
guid: 1,
|
|
1197
1197
|
// jQuery.support is not used in Core but other projects attach their
|
|
1198
1198
|
// properties to it so it needs to exist.
|
|
1199
|
-
support:
|
|
1199
|
+
support: M
|
|
1200
1200
|
}), typeof Symbol == "function" && (r.fn[Symbol.iterator] = m[Symbol.iterator]), r.each(
|
|
1201
1201
|
"Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),
|
|
1202
1202
|
function(e, t) {
|
|
@@ -1227,9 +1227,9 @@ function Cr() {
|
|
|
1227
1227
|
r.escapeSelector = function(e) {
|
|
1228
1228
|
return (e + "").replace(zi, Xi);
|
|
1229
1229
|
};
|
|
1230
|
-
var ke = L,
|
|
1230
|
+
var ke = L, At = $;
|
|
1231
1231
|
(function() {
|
|
1232
|
-
var e, t, i, n, s, o =
|
|
1232
|
+
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) {
|
|
1233
1233
|
return f === d && (s = !0), 0;
|
|
1234
1234
|
}, 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)
|
|
1235
1235
|
"*([*^$|!~]?=)" + Q + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
@@ -1247,11 +1247,11 @@ function Cr() {
|
|
|
1247
1247
|
// For use in libraries implementing .is()
|
|
1248
1248
|
// We use this for POS matching in `select`
|
|
1249
1249
|
needsContext: new RegExp("^" + Q + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + Q + "*((?:-\\d)?\\d*)" + Q + "*\\)|)(?=[^-]|$)", "i")
|
|
1250
|
-
}, Ie = /^(?:input|select|textarea|button)$/i, qe = /^h\d$/i, pe = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, $t = /[+~]/,
|
|
1250
|
+
}, 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) {
|
|
1251
1251
|
var g = "0x" + f.slice(1) - 65536;
|
|
1252
1252
|
return d || (g < 0 ? String.fromCharCode(g + 65536) : String.fromCharCode(g >> 10 | 55296, g & 1023 | 56320));
|
|
1253
1253
|
}, Vn = function() {
|
|
1254
|
-
|
|
1254
|
+
je();
|
|
1255
1255
|
}, Un = wt(
|
|
1256
1256
|
function(f) {
|
|
1257
1257
|
return f.disabled === !0 && K(f, "fieldset");
|
|
@@ -1272,20 +1272,20 @@ function Cr() {
|
|
|
1272
1272
|
} catch {
|
|
1273
1273
|
o = {
|
|
1274
1274
|
apply: function(d, g) {
|
|
1275
|
-
|
|
1275
|
+
At.apply(d, w.call(g));
|
|
1276
1276
|
},
|
|
1277
1277
|
call: function(d) {
|
|
1278
|
-
|
|
1278
|
+
At.apply(d, w.call(arguments, 1));
|
|
1279
1279
|
}
|
|
1280
1280
|
};
|
|
1281
1281
|
}
|
|
1282
1282
|
function Y(f, d, g, v) {
|
|
1283
|
-
var b, C, E, N,
|
|
1283
|
+
var b, C, E, N, A, B, H, O = d && d.ownerDocument, V = d ? d.nodeType : 9;
|
|
1284
1284
|
if (g = g || [], typeof f != "string" || !f || V !== 1 && V !== 9 && V !== 11)
|
|
1285
1285
|
return g;
|
|
1286
|
-
if (!v && (
|
|
1287
|
-
if (V !== 11 && (
|
|
1288
|
-
if (b =
|
|
1286
|
+
if (!v && (je(d), d = d || u, l)) {
|
|
1287
|
+
if (V !== 11 && (A = pe.exec(f)))
|
|
1288
|
+
if (b = A[1]) {
|
|
1289
1289
|
if (V === 9)
|
|
1290
1290
|
if (E = d.getElementById(b)) {
|
|
1291
1291
|
if (E.id === b)
|
|
@@ -1295,14 +1295,14 @@ function Cr() {
|
|
|
1295
1295
|
else if (O && (E = O.getElementById(b)) && Y.contains(d, E) && E.id === b)
|
|
1296
1296
|
return o.call(g, E), g;
|
|
1297
1297
|
} else {
|
|
1298
|
-
if (
|
|
1298
|
+
if (A[2])
|
|
1299
1299
|
return o.apply(g, d.getElementsByTagName(f)), g;
|
|
1300
|
-
if ((b =
|
|
1300
|
+
if ((b = A[3]) && d.getElementsByClassName)
|
|
1301
1301
|
return o.apply(g, d.getElementsByClassName(b)), g;
|
|
1302
1302
|
}
|
|
1303
1303
|
if (!se[f + " "] && (!h || !h.test(f))) {
|
|
1304
1304
|
if (H = f, O = d, V === 1 && (Ut.test(f) || ut.test(f))) {
|
|
1305
|
-
for (O = $t.test(f) && zt(d.parentNode) || d, (O != d || !
|
|
1305
|
+
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--; )
|
|
1306
1306
|
B[C] = (N ? "#" + N : ":scope") + " " + Tt(B[C]);
|
|
1307
1307
|
H = B.join(",");
|
|
1308
1308
|
}
|
|
@@ -1367,26 +1367,26 @@ function Cr() {
|
|
|
1367
1367
|
function zt(f) {
|
|
1368
1368
|
return f && typeof f.getElementsByTagName < "u" && f;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function je(f) {
|
|
1371
1371
|
var d, g = f ? f.ownerDocument || f : ke;
|
|
1372
1372
|
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+
|
|
1373
1373
|
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
|
|
1374
1374
|
// two documents; shallow comparisons work.
|
|
1375
1375
|
// eslint-disable-next-line eqeqeq
|
|
1376
|
-
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload", Vn),
|
|
1376
|
+
ke != u && (d = u.defaultView) && d.top !== d && d.addEventListener("unload", Vn), M.getById = Ye(function(v) {
|
|
1377
1377
|
return c.appendChild(v).id = r.expando, !u.getElementsByName || !u.getElementsByName(r.expando).length;
|
|
1378
|
-
}),
|
|
1378
|
+
}), M.disconnectedMatch = Ye(function(v) {
|
|
1379
1379
|
return x.call(v, "*");
|
|
1380
|
-
}),
|
|
1380
|
+
}), M.scope = Ye(function() {
|
|
1381
1381
|
return u.querySelectorAll(":scope");
|
|
1382
|
-
}),
|
|
1382
|
+
}), M.cssHas = Ye(function() {
|
|
1383
1383
|
try {
|
|
1384
1384
|
return u.querySelector(":has(*,:jqfake)"), !1;
|
|
1385
1385
|
} catch {
|
|
1386
1386
|
return !0;
|
|
1387
1387
|
}
|
|
1388
|
-
}),
|
|
1389
|
-
var b = v.replace(
|
|
1388
|
+
}), M.getById ? (t.filter.ID = function(v) {
|
|
1389
|
+
var b = v.replace(De, Re);
|
|
1390
1390
|
return function(C) {
|
|
1391
1391
|
return C.getAttribute("id") === b;
|
|
1392
1392
|
};
|
|
@@ -1396,20 +1396,20 @@ function Cr() {
|
|
|
1396
1396
|
return C ? [C] : [];
|
|
1397
1397
|
}
|
|
1398
1398
|
}) : (t.filter.ID = function(v) {
|
|
1399
|
-
var b = v.replace(
|
|
1399
|
+
var b = v.replace(De, Re);
|
|
1400
1400
|
return function(C) {
|
|
1401
1401
|
var E = typeof C.getAttributeNode < "u" && C.getAttributeNode("id");
|
|
1402
1402
|
return E && E.value === b;
|
|
1403
1403
|
};
|
|
1404
1404
|
}, t.find.ID = function(v, b) {
|
|
1405
1405
|
if (typeof b.getElementById < "u" && l) {
|
|
1406
|
-
var C, E, N,
|
|
1407
|
-
if (
|
|
1408
|
-
if (C =
|
|
1409
|
-
return [
|
|
1410
|
-
for (N = b.getElementsByName(v), E = 0;
|
|
1411
|
-
if (C =
|
|
1412
|
-
return [
|
|
1406
|
+
var C, E, N, A = b.getElementById(v);
|
|
1407
|
+
if (A) {
|
|
1408
|
+
if (C = A.getAttributeNode("id"), C && C.value === v)
|
|
1409
|
+
return [A];
|
|
1410
|
+
for (N = b.getElementsByName(v), E = 0; A = N[E++]; )
|
|
1411
|
+
if (C = A.getAttributeNode("id"), C && C.value === v)
|
|
1412
|
+
return [A];
|
|
1413
1413
|
}
|
|
1414
1414
|
return [];
|
|
1415
1415
|
}
|
|
@@ -1421,23 +1421,23 @@ function Cr() {
|
|
|
1421
1421
|
}, h = [], Ye(function(v) {
|
|
1422
1422
|
var b;
|
|
1423
1423
|
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 + `*(?:''|"")`);
|
|
1424
|
-
}),
|
|
1424
|
+
}), M.cssHas || h.push(":has"), h = h.length && new RegExp(h.join("|")), ne = function(v, b) {
|
|
1425
1425
|
if (v === b)
|
|
1426
1426
|
return s = !0, 0;
|
|
1427
1427
|
var C = !v.compareDocumentPosition - !b.compareDocumentPosition;
|
|
1428
1428
|
return C || (C = (v.ownerDocument || v) == (b.ownerDocument || b) ? v.compareDocumentPosition(b) : (
|
|
1429
1429
|
// Otherwise we know they are disconnected
|
|
1430
1430
|
1
|
|
1431
|
-
), C & 1 || !
|
|
1431
|
+
), 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);
|
|
1432
1432
|
}), u;
|
|
1433
1433
|
}
|
|
1434
1434
|
Y.matches = function(f, d) {
|
|
1435
1435
|
return Y(f, null, null, d);
|
|
1436
1436
|
}, Y.matchesSelector = function(f, d) {
|
|
1437
|
-
if (
|
|
1437
|
+
if (je(f), l && !se[d + " "] && (!h || !h.test(d)))
|
|
1438
1438
|
try {
|
|
1439
1439
|
var g = x.call(f, d);
|
|
1440
|
-
if (g ||
|
|
1440
|
+
if (g || M.disconnectedMatch || // As well, disconnected nodes are said to be in a document
|
|
1441
1441
|
// fragment in IE 9
|
|
1442
1442
|
f.document && f.document.nodeType !== 11)
|
|
1443
1443
|
return g;
|
|
@@ -1446,16 +1446,16 @@ function Cr() {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
return Y(d, u, null, [f]).length > 0;
|
|
1448
1448
|
}, Y.contains = function(f, d) {
|
|
1449
|
-
return (f.ownerDocument || f) != u &&
|
|
1449
|
+
return (f.ownerDocument || f) != u && je(f), r.contains(f, d);
|
|
1450
1450
|
}, Y.attr = function(f, d) {
|
|
1451
|
-
(f.ownerDocument || f) != u &&
|
|
1451
|
+
(f.ownerDocument || f) != u && je(f);
|
|
1452
1452
|
var g = t.attrHandle[d.toLowerCase()], v = g && Z.call(t.attrHandle, d.toLowerCase()) ? g(f, d, !l) : void 0;
|
|
1453
1453
|
return v !== void 0 ? v : f.getAttribute(d);
|
|
1454
1454
|
}, Y.error = function(f) {
|
|
1455
1455
|
throw new Error("Syntax error, unrecognized expression: " + f);
|
|
1456
1456
|
}, r.uniqueSort = function(f) {
|
|
1457
1457
|
var d, g = [], v = 0, b = 0;
|
|
1458
|
-
if (s = !
|
|
1458
|
+
if (s = !M.sortStable, n = !M.sortStable && w.call(f, 0), Ui.call(f, ne), s) {
|
|
1459
1459
|
for (; d = f[b++]; )
|
|
1460
1460
|
d === f[b] && (v = g.push(b));
|
|
1461
1461
|
for (; v--; )
|
|
@@ -1479,7 +1479,7 @@ function Cr() {
|
|
|
1479
1479
|
},
|
|
1480
1480
|
preFilter: {
|
|
1481
1481
|
ATTR: function(f) {
|
|
1482
|
-
return f[1] = f[1].replace(
|
|
1482
|
+
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);
|
|
1483
1483
|
},
|
|
1484
1484
|
CHILD: function(f) {
|
|
1485
1485
|
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;
|
|
@@ -1493,7 +1493,7 @@ function Cr() {
|
|
|
1493
1493
|
},
|
|
1494
1494
|
filter: {
|
|
1495
1495
|
TAG: function(f) {
|
|
1496
|
-
var d = f.replace(
|
|
1496
|
+
var d = f.replace(De, Re).toLowerCase();
|
|
1497
1497
|
return f === "*" ? function() {
|
|
1498
1498
|
return !0;
|
|
1499
1499
|
} : function(g) {
|
|
@@ -1518,30 +1518,30 @@ function Cr() {
|
|
|
1518
1518
|
var C = f.slice(0, 3) !== "nth", E = f.slice(-4) !== "last", N = d === "of-type";
|
|
1519
1519
|
return v === 1 && b === 0 ? (
|
|
1520
1520
|
// Shortcut for :nth-*(n)
|
|
1521
|
-
function(
|
|
1522
|
-
return !!
|
|
1521
|
+
function(A) {
|
|
1522
|
+
return !!A.parentNode;
|
|
1523
1523
|
}
|
|
1524
|
-
) : function(
|
|
1525
|
-
var O, V,
|
|
1524
|
+
) : function(A, B, H) {
|
|
1525
|
+
var O, V, j, J, ce, oe = C !== E ? "nextSibling" : "previousSibling", ge = A.parentNode, Ce = N && A.nodeName.toLowerCase(), Qe = !H && !N, ae = !1;
|
|
1526
1526
|
if (ge) {
|
|
1527
1527
|
if (C) {
|
|
1528
1528
|
for (; oe; ) {
|
|
1529
|
-
for (
|
|
1530
|
-
if (N ? K(
|
|
1529
|
+
for (j = A; j = j[oe]; )
|
|
1530
|
+
if (N ? K(j, Ce) : j.nodeType === 1)
|
|
1531
1531
|
return !1;
|
|
1532
1532
|
ce = oe = f === "only" && !ce && "nextSibling";
|
|
1533
1533
|
}
|
|
1534
1534
|
return !0;
|
|
1535
1535
|
}
|
|
1536
1536
|
if (ce = [E ? ge.firstChild : ge.lastChild], E && Qe) {
|
|
1537
|
-
for (V = ge[T] || (ge[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J && O[2],
|
|
1537
|
+
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
|
|
1538
1538
|
(ae = J = 0) || ce.pop(); )
|
|
1539
|
-
if (
|
|
1539
|
+
if (j.nodeType === 1 && ++ae && j === A) {
|
|
1540
1540
|
V[f] = [y, J, ae];
|
|
1541
1541
|
break;
|
|
1542
1542
|
}
|
|
1543
|
-
} else if (Qe && (V =
|
|
1544
|
-
for (; (
|
|
1543
|
+
} else if (Qe && (V = A[T] || (A[T] = {}), O = V[f] || [], J = O[0] === y && O[1], ae = J), ae === !1)
|
|
1544
|
+
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)); )
|
|
1545
1545
|
;
|
|
1546
1546
|
return ae -= b, ae === v || ae % v === 0 && ae / v >= 0;
|
|
1547
1547
|
}
|
|
@@ -1550,8 +1550,8 @@ function Cr() {
|
|
|
1550
1550
|
PSEUDO: function(f, d) {
|
|
1551
1551
|
var g, v = t.pseudos[f] || t.setFilters[f.toLowerCase()] || Y.error("unsupported pseudo: " + f);
|
|
1552
1552
|
return v[T] ? v(d) : v.length > 1 ? (g = [f, f, "", d], t.setFilters.hasOwnProperty(f.toLowerCase()) ? me(function(b, C) {
|
|
1553
|
-
for (var E, N = v(b, d),
|
|
1554
|
-
E = q.call(b, N[
|
|
1553
|
+
for (var E, N = v(b, d), A = N.length; A--; )
|
|
1554
|
+
E = q.call(b, N[A]), b[E] = !(C[E] = N[A]);
|
|
1555
1555
|
}) : function(b) {
|
|
1556
1556
|
return v(b, 0, g);
|
|
1557
1557
|
}) : v;
|
|
@@ -1562,8 +1562,8 @@ function Cr() {
|
|
|
1562
1562
|
not: me(function(f) {
|
|
1563
1563
|
var d = [], g = [], v = Qt(f.replace(Ze, "$1"));
|
|
1564
1564
|
return v[T] ? me(function(b, C, E, N) {
|
|
1565
|
-
for (var
|
|
1566
|
-
(
|
|
1565
|
+
for (var A, B = v(b, null, N, []), H = b.length; H--; )
|
|
1566
|
+
(A = B[H]) && (b[H] = !(C[H] = A));
|
|
1567
1567
|
}) : function(b, C, E) {
|
|
1568
1568
|
return d[0] = b, v(d, null, E, g), d[0] = null, !g.pop();
|
|
1569
1569
|
};
|
|
@@ -1574,7 +1574,7 @@ function Cr() {
|
|
|
1574
1574
|
};
|
|
1575
1575
|
}),
|
|
1576
1576
|
contains: me(function(f) {
|
|
1577
|
-
return f = f.replace(
|
|
1577
|
+
return f = f.replace(De, Re), function(d) {
|
|
1578
1578
|
return (d.textContent || r.text(d)).indexOf(f) > -1;
|
|
1579
1579
|
};
|
|
1580
1580
|
}),
|
|
@@ -1586,7 +1586,7 @@ function Cr() {
|
|
|
1586
1586
|
// The identifier C does not have to be a valid language name."
|
|
1587
1587
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
1588
1588
|
lang: me(function(f) {
|
|
1589
|
-
return ft.test(f || "") || Y.error("unsupported lang: " + f), f = f.replace(
|
|
1589
|
+
return ft.test(f || "") || Y.error("unsupported lang: " + f), f = f.replace(De, Re).toLowerCase(), function(d) {
|
|
1590
1590
|
var g;
|
|
1591
1591
|
do
|
|
1592
1592
|
if (g = l ? d.lang : d.getAttribute("xml:lang") || d.getAttribute("lang"))
|
|
@@ -1683,17 +1683,17 @@ function Cr() {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
Fi.prototype = t.filters = t.pseudos, t.setFilters = new Fi();
|
|
1685
1685
|
function lt(f, d) {
|
|
1686
|
-
var g, v, b, C, E, N,
|
|
1686
|
+
var g, v, b, C, E, N, A, B = z[f + " "];
|
|
1687
1687
|
if (B)
|
|
1688
1688
|
return d ? 0 : B.slice(0);
|
|
1689
|
-
for (E = f, N = [],
|
|
1689
|
+
for (E = f, N = [], A = t.preFilter; E; ) {
|
|
1690
1690
|
(!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({
|
|
1691
1691
|
value: g,
|
|
1692
1692
|
// Cast descendant combinators to space
|
|
1693
1693
|
type: v[0].replace(Ze, " ")
|
|
1694
1694
|
}), E = E.slice(g.length));
|
|
1695
1695
|
for (C in t.filter)
|
|
1696
|
-
(v = Se[C].exec(E)) && (!
|
|
1696
|
+
(v = Se[C].exec(E)) && (!A[C] || (v = A[C](v))) && (g = v.shift(), b.push({
|
|
1697
1697
|
value: g,
|
|
1698
1698
|
type: C,
|
|
1699
1699
|
matches: v
|
|
@@ -1715,29 +1715,29 @@ function Cr() {
|
|
|
1715
1715
|
var v = d.dir, b = d.next, C = b || v, E = g && C === "parentNode", N = S++;
|
|
1716
1716
|
return d.first ? (
|
|
1717
1717
|
// Check against closest ancestor/preceding element
|
|
1718
|
-
function(
|
|
1719
|
-
for (;
|
|
1720
|
-
if (
|
|
1721
|
-
return f(
|
|
1718
|
+
function(A, B, H) {
|
|
1719
|
+
for (; A = A[v]; )
|
|
1720
|
+
if (A.nodeType === 1 || E)
|
|
1721
|
+
return f(A, B, H);
|
|
1722
1722
|
return !1;
|
|
1723
1723
|
}
|
|
1724
1724
|
) : (
|
|
1725
1725
|
// Check against all ancestor/preceding elements
|
|
1726
|
-
function(
|
|
1727
|
-
var O, V,
|
|
1726
|
+
function(A, B, H) {
|
|
1727
|
+
var O, V, j = [y, N];
|
|
1728
1728
|
if (H) {
|
|
1729
|
-
for (;
|
|
1730
|
-
if ((
|
|
1729
|
+
for (; A = A[v]; )
|
|
1730
|
+
if ((A.nodeType === 1 || E) && f(A, B, H))
|
|
1731
1731
|
return !0;
|
|
1732
1732
|
} else
|
|
1733
|
-
for (;
|
|
1734
|
-
if (
|
|
1735
|
-
if (V =
|
|
1736
|
-
|
|
1733
|
+
for (; A = A[v]; )
|
|
1734
|
+
if (A.nodeType === 1 || E)
|
|
1735
|
+
if (V = A[T] || (A[T] = {}), b && K(A, b))
|
|
1736
|
+
A = A[v] || A;
|
|
1737
1737
|
else {
|
|
1738
1738
|
if ((O = V[C]) && O[0] === y && O[1] === N)
|
|
1739
|
-
return
|
|
1740
|
-
if (V[C] =
|
|
1739
|
+
return j[2] = O[2];
|
|
1740
|
+
if (V[C] = j, j[2] = f(A, B, H))
|
|
1741
1741
|
return !0;
|
|
1742
1742
|
}
|
|
1743
1743
|
return !1;
|
|
@@ -1758,49 +1758,49 @@ function Cr() {
|
|
|
1758
1758
|
return g;
|
|
1759
1759
|
}
|
|
1760
1760
|
function St(f, d, g, v, b) {
|
|
1761
|
-
for (var C, E = [], N = 0,
|
|
1761
|
+
for (var C, E = [], N = 0, A = f.length, B = d != null; N < A; N++)
|
|
1762
1762
|
(C = f[N]) && (!g || g(C, v, b)) && (E.push(C), B && d.push(N));
|
|
1763
1763
|
return E;
|
|
1764
1764
|
}
|
|
1765
1765
|
function Gt(f, d, g, v, b, C) {
|
|
1766
|
-
return v && !v[T] && (v = Gt(v)), b && !b[T] && (b = Gt(b, C)), me(function(E, N,
|
|
1767
|
-
var H, O, V,
|
|
1766
|
+
return v && !v[T] && (v = Gt(v)), b && !b[T] && (b = Gt(b, C)), me(function(E, N, A, B) {
|
|
1767
|
+
var H, O, V, j, J = [], ce = [], oe = N.length, ge = E || Gn(
|
|
1768
1768
|
d || "*",
|
|
1769
|
-
|
|
1769
|
+
A.nodeType ? [A] : A,
|
|
1770
1770
|
[]
|
|
1771
|
-
), Ce = f && (E || !d) ? St(ge, J, f,
|
|
1772
|
-
if (g ? (
|
|
1771
|
+
), Ce = f && (E || !d) ? St(ge, J, f, A, B) : ge;
|
|
1772
|
+
if (g ? (j = b || (E ? f : oe || v) ? (
|
|
1773
1773
|
// ...intermediate processing is necessary
|
|
1774
1774
|
[]
|
|
1775
1775
|
) : (
|
|
1776
1776
|
// ...otherwise use results directly
|
|
1777
1777
|
N
|
|
1778
|
-
), g(Ce,
|
|
1779
|
-
for (H = St(
|
|
1780
|
-
(V = H[O]) && (
|
|
1778
|
+
), g(Ce, j, A, B)) : j = Ce, v)
|
|
1779
|
+
for (H = St(j, ce), v(H, [], A, B), O = H.length; O--; )
|
|
1780
|
+
(V = H[O]) && (j[ce[O]] = !(Ce[ce[O]] = V));
|
|
1781
1781
|
if (E) {
|
|
1782
1782
|
if (b || f) {
|
|
1783
1783
|
if (b) {
|
|
1784
|
-
for (H = [], O =
|
|
1785
|
-
(V =
|
|
1786
|
-
b(null,
|
|
1784
|
+
for (H = [], O = j.length; O--; )
|
|
1785
|
+
(V = j[O]) && H.push(Ce[O] = V);
|
|
1786
|
+
b(null, j = [], H, B);
|
|
1787
1787
|
}
|
|
1788
|
-
for (O =
|
|
1789
|
-
(V =
|
|
1788
|
+
for (O = j.length; O--; )
|
|
1789
|
+
(V = j[O]) && (H = b ? q.call(E, V) : J[O]) > -1 && (E[H] = !(N[H] = V));
|
|
1790
1790
|
}
|
|
1791
1791
|
} else
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
), b ? b(null, N,
|
|
1792
|
+
j = St(
|
|
1793
|
+
j === N ? j.splice(oe, j.length) : j
|
|
1794
|
+
), b ? b(null, N, j, B) : o.apply(N, j);
|
|
1795
1795
|
});
|
|
1796
1796
|
}
|
|
1797
1797
|
function Yt(f) {
|
|
1798
|
-
for (var d, g, v, b = f.length, C = t.relative[f[0].type], E = C || t.relative[" "], N = C ? 1 : 0,
|
|
1798
|
+
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) {
|
|
1799
1799
|
return O === d;
|
|
1800
1800
|
}, E, !0), B = wt(function(O) {
|
|
1801
1801
|
return q.call(d, O) > -1;
|
|
1802
|
-
}, E, !0), H = [function(O, V,
|
|
1803
|
-
var J = !C && (
|
|
1802
|
+
}, E, !0), H = [function(O, V, j) {
|
|
1803
|
+
var J = !C && (j || V != i) || ((d = V).nodeType ? A(O, V, j) : B(O, V, j));
|
|
1804
1804
|
return d = null, J;
|
|
1805
1805
|
}]; N < b; N++)
|
|
1806
1806
|
if (g = t.relative[f[N].type])
|
|
@@ -1826,29 +1826,29 @@ function Cr() {
|
|
|
1826
1826
|
return Xt(H);
|
|
1827
1827
|
}
|
|
1828
1828
|
function Yn(f, d) {
|
|
1829
|
-
var g = d.length > 0, v = f.length > 0, b = function(C, E, N,
|
|
1830
|
-
var H, O, V,
|
|
1829
|
+
var g = d.length > 0, v = f.length > 0, b = function(C, E, N, A, B) {
|
|
1830
|
+
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;
|
|
1831
1831
|
for (B && (i = E == u || E || B); J !== ae && (H = Ce[J]) != null; J++) {
|
|
1832
1832
|
if (v && H) {
|
|
1833
|
-
for (O = 0, !E && H.ownerDocument != u && (
|
|
1833
|
+
for (O = 0, !E && H.ownerDocument != u && (je(H), N = !l); V = f[O++]; )
|
|
1834
1834
|
if (V(H, E || u, N)) {
|
|
1835
|
-
o.call(
|
|
1835
|
+
o.call(A, H);
|
|
1836
1836
|
break;
|
|
1837
1837
|
}
|
|
1838
1838
|
B && (y = Qe);
|
|
1839
1839
|
}
|
|
1840
|
-
g && ((H = !V && H) &&
|
|
1840
|
+
g && ((H = !V && H) && j--, C && ce.push(H));
|
|
1841
1841
|
}
|
|
1842
|
-
if (
|
|
1842
|
+
if (j += J, g && J !== j) {
|
|
1843
1843
|
for (O = 0; V = d[O++]; )
|
|
1844
1844
|
V(ce, oe, E, N);
|
|
1845
1845
|
if (C) {
|
|
1846
|
-
if (
|
|
1846
|
+
if (j > 0)
|
|
1847
1847
|
for (; J--; )
|
|
1848
|
-
ce[J] || oe[J] || (oe[J] = Vi.call(
|
|
1848
|
+
ce[J] || oe[J] || (oe[J] = Vi.call(A));
|
|
1849
1849
|
oe = St(oe);
|
|
1850
1850
|
}
|
|
1851
|
-
o.apply(
|
|
1851
|
+
o.apply(A, oe), B && !C && oe.length > 0 && j + d.length > 1 && r.uniqueSort(A);
|
|
1852
1852
|
}
|
|
1853
1853
|
return B && (y = Qe, i = ge), ce;
|
|
1854
1854
|
};
|
|
@@ -1867,11 +1867,11 @@ function Cr() {
|
|
|
1867
1867
|
return C;
|
|
1868
1868
|
}
|
|
1869
1869
|
function Oi(f, d, g, v) {
|
|
1870
|
-
var b, C, E, N,
|
|
1870
|
+
var b, C, E, N, A, B = typeof f == "function" && f, H = !v && lt(f = B.selector || f);
|
|
1871
1871
|
if (g = g || [], H.length === 1) {
|
|
1872
1872
|
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]) {
|
|
1873
1873
|
if (d = (t.find.ID(
|
|
1874
|
-
E.matches[0].replace(
|
|
1874
|
+
E.matches[0].replace(De, Re),
|
|
1875
1875
|
d
|
|
1876
1876
|
) || [])[0], d)
|
|
1877
1877
|
B && (d = d.parentNode);
|
|
@@ -1879,8 +1879,8 @@ function Cr() {
|
|
|
1879
1879
|
f = f.slice(C.shift().value.length);
|
|
1880
1880
|
}
|
|
1881
1881
|
for (b = Se.needsContext.test(f) ? 0 : C.length; b-- && (E = C[b], !t.relative[N = E.type]); )
|
|
1882
|
-
if ((
|
|
1883
|
-
E.matches[0].replace(
|
|
1882
|
+
if ((A = t.find[N]) && (v = A(
|
|
1883
|
+
E.matches[0].replace(De, Re),
|
|
1884
1884
|
$t.test(C[0].type) && zt(d.parentNode) || d
|
|
1885
1885
|
))) {
|
|
1886
1886
|
if (C.splice(b, 1), f = v.length && Tt(C), !f)
|
|
@@ -1896,9 +1896,9 @@ function Cr() {
|
|
|
1896
1896
|
!d || $t.test(f) && zt(d.parentNode) || d
|
|
1897
1897
|
), g;
|
|
1898
1898
|
}
|
|
1899
|
-
|
|
1899
|
+
M.sortStable = T.split("").sort(ne).join("") === T, je(), M.sortDetached = Ye(function(f) {
|
|
1900
1900
|
return f.compareDocumentPosition(u.createElement("fieldset")) & 1;
|
|
1901
|
-
}), r.find = Y, r.expr[":"] = r.expr.pseudos, r.unique = r.uniqueSort, Y.compile = Qt, Y.select = Oi, Y.setDocument =
|
|
1901
|
+
}), 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;
|
|
1902
1902
|
})();
|
|
1903
1903
|
var _e = function(e, t, i) {
|
|
1904
1904
|
for (var n = [], s = i !== void 0; (e = e[t]) && e.nodeType !== 9; )
|
|
@@ -1913,7 +1913,7 @@ function Cr() {
|
|
|
1913
1913
|
e.nodeType === 1 && e !== t && i.push(e);
|
|
1914
1914
|
return i;
|
|
1915
1915
|
}, ti = r.expr.match.needsContext, ii = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
1916
|
-
function
|
|
1916
|
+
function Dt(e, t, i) {
|
|
1917
1917
|
return W(t) ? r.grep(e, function(n, s) {
|
|
1918
1918
|
return !!t.call(n, s, n) !== i;
|
|
1919
1919
|
}) : t.nodeType ? r.grep(e, function(n) {
|
|
@@ -1941,13 +1941,13 @@ function Cr() {
|
|
|
1941
1941
|
return n > 1 ? r.uniqueSort(i) : i;
|
|
1942
1942
|
},
|
|
1943
1943
|
filter: function(e) {
|
|
1944
|
-
return this.pushStack(
|
|
1944
|
+
return this.pushStack(Dt(this, e || [], !1));
|
|
1945
1945
|
},
|
|
1946
1946
|
not: function(e) {
|
|
1947
|
-
return this.pushStack(
|
|
1947
|
+
return this.pushStack(Dt(this, e || [], !0));
|
|
1948
1948
|
},
|
|
1949
1949
|
is: function(e) {
|
|
1950
|
-
return !!
|
|
1950
|
+
return !!Dt(
|
|
1951
1951
|
this,
|
|
1952
1952
|
// If this is a positional/relative selector, check membership in the returned set
|
|
1953
1953
|
// so $("p:first").is("p:last") won't return true for a doc with two "p".
|
|
@@ -2551,10 +2551,10 @@ function Cr() {
|
|
|
2551
2551
|
return c(), s.promise(t);
|
|
2552
2552
|
}
|
|
2553
2553
|
});
|
|
2554
|
-
var ai = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, it = new RegExp("^(?:([+-])=|)(" + ai + ")([a-z%]*)$", "i"),
|
|
2554
|
+
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) {
|
|
2555
2555
|
return r.contains(e.ownerDocument, e);
|
|
2556
2556
|
}, an = { composed: !0 };
|
|
2557
|
-
|
|
2557
|
+
Me.getRootNode && (Ve = function(e) {
|
|
2558
2558
|
return r.contains(e.ownerDocument, e) || e.getRootNode(an) === e.ownerDocument;
|
|
2559
2559
|
});
|
|
2560
2560
|
var gt = function(e, t) {
|
|
@@ -2605,7 +2605,7 @@ function Cr() {
|
|
|
2605
2605
|
var nt = /^(?:checkbox|radio)$/i, li = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, ci = /^$|^module$|\/(?:java|ecma)script/i;
|
|
2606
2606
|
(function() {
|
|
2607
2607
|
var e = L.createDocumentFragment(), t = e.appendChild(L.createElement("div")), i = L.createElement("input");
|
|
2608
|
-
i.setAttribute("type", "radio"), i.setAttribute("checked", "checked"), i.setAttribute("name", "t"), t.appendChild(i),
|
|
2608
|
+
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;
|
|
2609
2609
|
})();
|
|
2610
2610
|
var he = {
|
|
2611
2611
|
// XHTML parsers do not magically insert elements in the
|
|
@@ -2617,7 +2617,7 @@ function Cr() {
|
|
|
2617
2617
|
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
|
|
2618
2618
|
_default: [0, "", ""]
|
|
2619
2619
|
};
|
|
2620
|
-
he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td,
|
|
2620
|
+
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>"]);
|
|
2621
2621
|
function fe(e, t) {
|
|
2622
2622
|
var i;
|
|
2623
2623
|
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;
|
|
@@ -2684,7 +2684,7 @@ function Cr() {
|
|
|
2684
2684
|
add: function(e, t, i, n, s) {
|
|
2685
2685
|
var o, u, c, l, h, x, T, y, S, P, z, _ = I.get(e);
|
|
2686
2686
|
if (et(e))
|
|
2687
|
-
for (i.handler && (o = i, i = o.handler, s = o.selector), s && r.find.matchesSelector(
|
|
2687
|
+
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) {
|
|
2688
2688
|
return typeof r < "u" && r.event.triggered !== se.type ? r.event.dispatch.apply(e, arguments) : void 0;
|
|
2689
2689
|
}), t = (t || "").match(ve) || [""], h = t.length; h--; )
|
|
2690
2690
|
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({
|
|
@@ -2990,9 +2990,9 @@ function Cr() {
|
|
|
2990
2990
|
i === "input" && nt.test(e.type) ? t.checked = e.checked : (i === "input" || i === "textarea") && (t.defaultValue = e.defaultValue);
|
|
2991
2991
|
}
|
|
2992
2992
|
function Xe(e, t, i, n) {
|
|
2993
|
-
t =
|
|
2993
|
+
t = D(t);
|
|
2994
2994
|
var s, o, u, c, l, h, x = 0, T = e.length, y = T - 1, S = t[0], P = W(S);
|
|
2995
|
-
if (P || T > 1 && typeof S == "string" && !
|
|
2995
|
+
if (P || T > 1 && typeof S == "string" && !M.checkClone && cn.test(S))
|
|
2996
2996
|
return e.each(function(z) {
|
|
2997
2997
|
var _ = e.eq(z);
|
|
2998
2998
|
P && (t[0] = S.call(this, z, _.html())), Xe(_, t, i, n);
|
|
@@ -3019,7 +3019,7 @@ function Cr() {
|
|
|
3019
3019
|
},
|
|
3020
3020
|
clone: function(e, t, i) {
|
|
3021
3021
|
var n, s, o, u, c = e.cloneNode(!0), l = Ve(e);
|
|
3022
|
-
if (!
|
|
3022
|
+
if (!M.noCloneChecked && (e.nodeType === 1 || e.nodeType === 11) && !r.isXMLDoc(e))
|
|
3023
3023
|
for (u = fe(c), o = fe(e), n = 0, s = o.length; n < s; n++)
|
|
3024
3024
|
gn(o[n], u[n]);
|
|
3025
3025
|
if (t)
|
|
@@ -3140,20 +3140,20 @@ function Cr() {
|
|
|
3140
3140
|
for (s in t)
|
|
3141
3141
|
e.style[s] = o[s];
|
|
3142
3142
|
return n;
|
|
3143
|
-
}, yn = new RegExp(
|
|
3143
|
+
}, yn = new RegExp(Ae.join("|"), "i");
|
|
3144
3144
|
(function() {
|
|
3145
3145
|
function e() {
|
|
3146
3146
|
if (h) {
|
|
3147
|
-
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%",
|
|
3147
|
+
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);
|
|
3148
3148
|
var x = a.getComputedStyle(h);
|
|
3149
|
-
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,
|
|
3149
|
+
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;
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
3152
|
function t(x) {
|
|
3153
3153
|
return Math.round(parseFloat(x));
|
|
3154
3154
|
}
|
|
3155
3155
|
var i, n, s, o, u, c, l = L.createElement("div"), h = L.createElement("div");
|
|
3156
|
-
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "",
|
|
3156
|
+
h.style && (h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", M.clearCloneStyle = h.style.backgroundClip === "content-box", r.extend(M, {
|
|
3157
3157
|
boxSizingReliable: function() {
|
|
3158
3158
|
return e(), n;
|
|
3159
3159
|
},
|
|
@@ -3180,13 +3180,13 @@ function Cr() {
|
|
|
3180
3180
|
// in computed dimensions. (gh-4529)
|
|
3181
3181
|
reliableTrDimensions: function() {
|
|
3182
3182
|
var x, T, y, S;
|
|
3183
|
-
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",
|
|
3183
|
+
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;
|
|
3184
3184
|
}
|
|
3185
3185
|
}));
|
|
3186
3186
|
})();
|
|
3187
3187
|
function rt(e, t, i) {
|
|
3188
3188
|
var n, s, o, u, c = qt.test(t), l = e.style;
|
|
3189
|
-
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
|
+
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 ? (
|
|
3190
3190
|
// Support: IE <=9 - 11 only
|
|
3191
3191
|
// IE returns zIndex value as an integer.
|
|
3192
3192
|
u + ""
|
|
@@ -3209,7 +3209,7 @@ function Cr() {
|
|
|
3209
3209
|
if (e = xi[i] + t, e in bi)
|
|
3210
3210
|
return e;
|
|
3211
3211
|
}
|
|
3212
|
-
function
|
|
3212
|
+
function jt(e) {
|
|
3213
3213
|
var t = r.cssProps[e] || Ti[e];
|
|
3214
3214
|
return t || (e in bi ? e : Ti[e] = mn(e) || e);
|
|
3215
3215
|
}
|
|
@@ -3224,12 +3224,12 @@ function Cr() {
|
|
|
3224
3224
|
Math.max(0, n[2] - (i || 0)) + (n[3] || "px")
|
|
3225
3225
|
) : t;
|
|
3226
3226
|
}
|
|
3227
|
-
function
|
|
3227
|
+
function Mt(e, t, i, n, s, o) {
|
|
3228
3228
|
var u = t === "width" ? 1 : 0, c = 0, l = 0, h = 0;
|
|
3229
3229
|
if (i === (n ? "border" : "content"))
|
|
3230
3230
|
return 0;
|
|
3231
3231
|
for (; u < 4; u += 2)
|
|
3232
|
-
i === "margin" && (h += r.css(e, i +
|
|
3232
|
+
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));
|
|
3233
3233
|
return !n && o >= 0 && (l += Math.max(0, Math.ceil(
|
|
3234
3234
|
e["offset" + t[0].toUpperCase() + t.slice(1)] - o - l - c - 0.5
|
|
3235
3235
|
// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
|
|
@@ -3237,22 +3237,22 @@ function Cr() {
|
|
|
3237
3237
|
)) || 0), l + h;
|
|
3238
3238
|
}
|
|
3239
3239
|
function Ci(e, t, i) {
|
|
3240
|
-
var n = mt(e), s = !
|
|
3240
|
+
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);
|
|
3241
3241
|
if (It.test(c)) {
|
|
3242
3242
|
if (!i)
|
|
3243
3243
|
return c;
|
|
3244
3244
|
c = "auto";
|
|
3245
3245
|
}
|
|
3246
|
-
return (!
|
|
3246
|
+
return (!M.boxSizingReliable() && o || // Support: IE 10 - 11+, Edge 15 - 18+
|
|
3247
3247
|
// IE/Edge misreport `getComputedStyle` of table rows with width/height
|
|
3248
3248
|
// set in CSS while `offset*` properties report correct values.
|
|
3249
3249
|
// Interestingly, in some cases IE 9 doesn't suffer from this issue.
|
|
3250
|
-
!
|
|
3250
|
+
!M.reliableTrDimensions() && K(e, "tr") || // Fall back to offsetWidth/offsetHeight when value is "auto"
|
|
3251
3251
|
// This happens for inline elements with no explicit setting (gh-3571)
|
|
3252
3252
|
c === "auto" || // Support: Android <=4.1 - 4.3 only
|
|
3253
3253
|
// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
|
|
3254
3254
|
!parseFloat(c) && r.css(e, "display", !1, n) === "inline") && // Make sure the element is visible & connected
|
|
3255
|
-
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 +
|
|
3255
|
+
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(
|
|
3256
3256
|
e,
|
|
3257
3257
|
t,
|
|
3258
3258
|
i || (o ? "border" : "content"),
|
|
@@ -3313,17 +3313,17 @@ function Cr() {
|
|
|
3313
3313
|
style: function(e, t, i, n) {
|
|
3314
3314
|
if (!(!e || e.nodeType === 3 || e.nodeType === 8 || !e.style)) {
|
|
3315
3315
|
var s, o, u, c = xe(t), l = qt.test(t), h = e.style;
|
|
3316
|
-
if (l || (t =
|
|
3316
|
+
if (l || (t = jt(c)), u = r.cssHooks[t] || r.cssHooks[c], i !== void 0) {
|
|
3317
3317
|
if (o = typeof i, o === "string" && (s = it.exec(i)) && s[1] && (i = ui(e, t, s), o = "number"), i == null || i !== i)
|
|
3318
3318
|
return;
|
|
3319
|
-
o === "number" && !l && (i += s && s[3] || (r.cssNumber[c] ? "" : "px")), !
|
|
3319
|
+
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);
|
|
3320
3320
|
} else
|
|
3321
3321
|
return u && "get" in u && (s = u.get(e, !1, n)) !== void 0 ? s : h[t];
|
|
3322
3322
|
}
|
|
3323
3323
|
},
|
|
3324
3324
|
css: function(e, t, i, n) {
|
|
3325
3325
|
var s, o, u, c = xe(t), l = qt.test(t);
|
|
3326
|
-
return l || (t =
|
|
3326
|
+
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;
|
|
3327
3327
|
}
|
|
3328
3328
|
}), r.each(["height", "width"], function(e, t) {
|
|
3329
3329
|
r.cssHooks[t] = {
|
|
@@ -3340,7 +3340,7 @@ function Cr() {
|
|
|
3340
3340
|
}) : Ci(i, t, s);
|
|
3341
3341
|
},
|
|
3342
3342
|
set: function(i, n, s) {
|
|
3343
|
-
var o, u = mt(i), c = !
|
|
3343
|
+
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(
|
|
3344
3344
|
i,
|
|
3345
3345
|
t,
|
|
3346
3346
|
s,
|
|
@@ -3348,12 +3348,12 @@ function Cr() {
|
|
|
3348
3348
|
u
|
|
3349
3349
|
) : 0;
|
|
3350
3350
|
return h && c && (x -= Math.ceil(
|
|
3351
|
-
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) -
|
|
3351
|
+
i["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(u[t]) - Mt(i, t, "border", !1, u) - 0.5
|
|
3352
3352
|
)), x && (o = it.exec(n)) && (o[3] || "px") !== "px" && (i.style[t] = n, n = r.css(i, t)), Si(i, n, x);
|
|
3353
3353
|
}
|
|
3354
3354
|
};
|
|
3355
3355
|
}), r.cssHooks.marginLeft = vi(
|
|
3356
|
-
|
|
3356
|
+
M.reliableMarginLeft,
|
|
3357
3357
|
function(e, t) {
|
|
3358
3358
|
if (t)
|
|
3359
3359
|
return (parseFloat(rt(e, "marginLeft")) || e.getBoundingClientRect().left - mi(e, { marginLeft: 0 }, function() {
|
|
@@ -3368,7 +3368,7 @@ function Cr() {
|
|
|
3368
3368
|
r.cssHooks[e + t] = {
|
|
3369
3369
|
expand: function(i) {
|
|
3370
3370
|
for (var n = 0, s = {}, o = typeof i == "string" ? i.split(" ") : [i]; n < 4; n++)
|
|
3371
|
-
s[e +
|
|
3371
|
+
s[e + Ae[n] + t] = o[n] || o[n - 2] || o[0];
|
|
3372
3372
|
return s;
|
|
3373
3373
|
}
|
|
3374
3374
|
}, e !== "margin" && (r.cssHooks[e + t].set = Si);
|
|
@@ -3414,7 +3414,7 @@ function Cr() {
|
|
|
3414
3414
|
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);
|
|
3415
3415
|
},
|
|
3416
3416
|
set: function(e) {
|
|
3417
|
-
r.fx.step[e.prop] ? r.fx.step[e.prop](e) : e.elem.nodeType === 1 && (r.cssHooks[e.prop] || e.elem.style[
|
|
3417
|
+
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;
|
|
3418
3418
|
}
|
|
3419
3419
|
}
|
|
3420
3420
|
}, le.propHooks.scrollTop = le.propHooks.scrollLeft = {
|
|
@@ -3442,7 +3442,7 @@ function Cr() {
|
|
|
3442
3442
|
function xt(e, t) {
|
|
3443
3443
|
var i, n = 0, s = { height: e };
|
|
3444
3444
|
for (t = t ? 1 : 0; n < 4; n += 2 - t)
|
|
3445
|
-
i =
|
|
3445
|
+
i = Ae[n], s["margin" + i] = s["padding" + i] = e;
|
|
3446
3446
|
return t && (s.opacity = s.width = e), s;
|
|
3447
3447
|
}
|
|
3448
3448
|
function Ei(e, t, i) {
|
|
@@ -3647,9 +3647,9 @@ function Cr() {
|
|
|
3647
3647
|
});
|
|
3648
3648
|
}, (function() {
|
|
3649
3649
|
var e = L.createElement("input"), t = L.createElement("select"), i = t.appendChild(L.createElement("option"));
|
|
3650
|
-
e.type = "checkbox",
|
|
3650
|
+
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";
|
|
3651
3651
|
})();
|
|
3652
|
-
var
|
|
3652
|
+
var Ai, st = r.expr.attrHandle;
|
|
3653
3653
|
r.fn.extend({
|
|
3654
3654
|
attr: function(e, t) {
|
|
3655
3655
|
return Ee(this, r.attr, e, t, arguments.length > 1);
|
|
@@ -3665,7 +3665,7 @@ function Cr() {
|
|
|
3665
3665
|
if (!(o === 3 || o === 8 || o === 2)) {
|
|
3666
3666
|
if (typeof e.getAttribute > "u")
|
|
3667
3667
|
return r.prop(e, t, i);
|
|
3668
|
-
if ((o !== 1 || !r.isXMLDoc(e)) && (s = r.attrHooks[t.toLowerCase()] || (r.expr.match.bool.test(t) ?
|
|
3668
|
+
if ((o !== 1 || !r.isXMLDoc(e)) && (s = r.attrHooks[t.toLowerCase()] || (r.expr.match.bool.test(t) ? Ai : void 0)), i !== void 0) {
|
|
3669
3669
|
if (i === null) {
|
|
3670
3670
|
r.removeAttr(e, t);
|
|
3671
3671
|
return;
|
|
@@ -3678,7 +3678,7 @@ function Cr() {
|
|
|
3678
3678
|
attrHooks: {
|
|
3679
3679
|
type: {
|
|
3680
3680
|
set: function(e, t) {
|
|
3681
|
-
if (!
|
|
3681
|
+
if (!M.radioValue && t === "radio" && K(e, "input")) {
|
|
3682
3682
|
var i = e.value;
|
|
3683
3683
|
return e.setAttribute("type", t), i && (e.value = i), t;
|
|
3684
3684
|
}
|
|
@@ -3691,7 +3691,7 @@ function Cr() {
|
|
|
3691
3691
|
for (; i = s[n++]; )
|
|
3692
3692
|
e.removeAttribute(i);
|
|
3693
3693
|
}
|
|
3694
|
-
}),
|
|
3694
|
+
}), Ai = {
|
|
3695
3695
|
set: function(e, t, i) {
|
|
3696
3696
|
return t === !1 ? r.removeAttr(e, i) : e.setAttribute(i, i), i;
|
|
3697
3697
|
}
|
|
@@ -3730,7 +3730,7 @@ function Cr() {
|
|
|
3730
3730
|
for: "htmlFor",
|
|
3731
3731
|
class: "className"
|
|
3732
3732
|
}
|
|
3733
|
-
}),
|
|
3733
|
+
}), M.optSelected || (r.propHooks.selected = {
|
|
3734
3734
|
get: function(e) {
|
|
3735
3735
|
var t = e.parentNode;
|
|
3736
3736
|
return t && t.parentNode && t.parentNode.selectedIndex, null;
|
|
@@ -3862,11 +3862,11 @@ function Cr() {
|
|
|
3862
3862
|
if (Array.isArray(t))
|
|
3863
3863
|
return e.checked = r.inArray(r(e).val(), t) > -1;
|
|
3864
3864
|
}
|
|
3865
|
-
},
|
|
3865
|
+
}, M.checkOn || (r.valHooks[this].get = function(e) {
|
|
3866
3866
|
return e.getAttribute("value") === null ? "on" : e.value;
|
|
3867
3867
|
});
|
|
3868
3868
|
});
|
|
3869
|
-
var ot = a.location,
|
|
3869
|
+
var ot = a.location, Di = { guid: Date.now() }, Ft = /\?/;
|
|
3870
3870
|
r.parseXML = function(e) {
|
|
3871
3871
|
var t, i;
|
|
3872
3872
|
if (!e || typeof e != "string")
|
|
@@ -3922,12 +3922,12 @@ function Cr() {
|
|
|
3922
3922
|
return r.event.trigger(e, t, i, !0);
|
|
3923
3923
|
}
|
|
3924
3924
|
});
|
|
3925
|
-
var
|
|
3925
|
+
var An = /\[\]$/, Li = /\r?\n/g, Dn = /^(?:submit|button|image|reset|file)$/i, Rn = /^(?:input|select|textarea|keygen)/i;
|
|
3926
3926
|
function Ot(e, t, i, n) {
|
|
3927
3927
|
var s;
|
|
3928
3928
|
if (Array.isArray(t))
|
|
3929
3929
|
r.each(t, function(o, u) {
|
|
3930
|
-
i ||
|
|
3930
|
+
i || An.test(e) ? n(e, u) : Ot(
|
|
3931
3931
|
e + "[" + (typeof u == "object" && u != null ? o : "") + "]",
|
|
3932
3932
|
u,
|
|
3933
3933
|
i,
|
|
@@ -3965,7 +3965,7 @@ function Cr() {
|
|
|
3965
3965
|
return e ? r.makeArray(e) : this;
|
|
3966
3966
|
}).filter(function() {
|
|
3967
3967
|
var e = this.type;
|
|
3968
|
-
return this.name && !r(this).is(":disabled") && Rn.test(this.nodeName) && !
|
|
3968
|
+
return this.name && !r(this).is(":disabled") && Rn.test(this.nodeName) && !Dn.test(e) && (this.checked || !nt.test(e));
|
|
3969
3969
|
}).map(function(e, t) {
|
|
3970
3970
|
var i = r(this).val();
|
|
3971
3971
|
return i == null ? null : Array.isArray(i) ? r.map(i, function(n) {
|
|
@@ -3976,9 +3976,9 @@ function Cr() {
|
|
|
3976
3976
|
}).get();
|
|
3977
3977
|
}
|
|
3978
3978
|
});
|
|
3979
|
-
var Nn = /%20/g, Ln = /#.*$/, In = /([?&])_=[^&]*/, qn = /^(.*?):[ \t]*([^\r\n]*)$/mg,
|
|
3979
|
+
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");
|
|
3980
3980
|
_t.href = ot.href;
|
|
3981
|
-
function
|
|
3981
|
+
function ji(e) {
|
|
3982
3982
|
return function(t, i) {
|
|
3983
3983
|
typeof t != "string" && (i = t, t = "*");
|
|
3984
3984
|
var n, s = 0, o = t.toLowerCase().match(ve) || [];
|
|
@@ -3987,7 +3987,7 @@ function Cr() {
|
|
|
3987
3987
|
n[0] === "+" ? (n = n.slice(1) || "*", (e[n] = e[n] || []).unshift(i)) : (e[n] = e[n] || []).push(i);
|
|
3988
3988
|
};
|
|
3989
3989
|
}
|
|
3990
|
-
function
|
|
3990
|
+
function Mi(e, t, i, n) {
|
|
3991
3991
|
var s = {}, o = e === Wt;
|
|
3992
3992
|
function u(c) {
|
|
3993
3993
|
var l;
|
|
@@ -4074,7 +4074,7 @@ function Cr() {
|
|
|
4074
4074
|
ajaxSettings: {
|
|
4075
4075
|
url: ot.href,
|
|
4076
4076
|
type: "GET",
|
|
4077
|
-
isLocal:
|
|
4077
|
+
isLocal: jn.test(ot.protocol),
|
|
4078
4078
|
global: !0,
|
|
4079
4079
|
processData: !0,
|
|
4080
4080
|
async: !0,
|
|
@@ -4140,8 +4140,8 @@ function Cr() {
|
|
|
4140
4140
|
Bt(r.ajaxSettings, e)
|
|
4141
4141
|
);
|
|
4142
4142
|
},
|
|
4143
|
-
ajaxPrefilter:
|
|
4144
|
-
ajaxTransport:
|
|
4143
|
+
ajaxPrefilter: ji(Ii),
|
|
4144
|
+
ajaxTransport: ji(Wt),
|
|
4145
4145
|
// Main method
|
|
4146
4146
|
ajax: function(e, t) {
|
|
4147
4147
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
@@ -4195,9 +4195,9 @@ function Cr() {
|
|
|
4195
4195
|
y.crossDomain = !0;
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
if (y.data && y.processData && typeof y.data != "string" && (y.data = r.param(y.data, y.traditional)),
|
|
4198
|
+
if (y.data && y.processData && typeof y.data != "string" && (y.data = r.param(y.data, y.traditional)), Mi(Ii, y, t, U), l)
|
|
4199
4199
|
return U;
|
|
4200
|
-
h = r.event && y.global, h && r.active++ === 0 && r.event.trigger("ajaxStart"), y.type = y.type.toUpperCase(), y.hasContent = !
|
|
4200
|
+
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(
|
|
4201
4201
|
"Accept",
|
|
4202
4202
|
y.dataTypes[0] && y.accepts[y.dataTypes[0]] ? y.accepts[y.dataTypes[0]] + (y.dataTypes[0] !== "*" ? ", " + qi + "; q=0.01" : "") : y.accepts["*"]
|
|
4203
4203
|
);
|
|
@@ -4205,7 +4205,7 @@ function Cr() {
|
|
|
4205
4205
|
U.setRequestHeader(x, y.headers[x]);
|
|
4206
4206
|
if (y.beforeSend && (y.beforeSend.call(S, U, y) === !1 || l))
|
|
4207
4207
|
return U.abort();
|
|
4208
|
-
if (Te = "abort", _.add(y.complete), U.done(y.success), U.fail(y.error), i =
|
|
4208
|
+
if (Te = "abort", _.add(y.complete), U.done(y.success), U.fail(y.error), i = Mi(Wt, y, t, U), !i)
|
|
4209
4209
|
Fe(-1, "No Transport");
|
|
4210
4210
|
else {
|
|
4211
4211
|
if (U.readyState = 1, h && P.trigger("ajaxSend", [U, y]), l)
|
|
@@ -4316,9 +4316,9 @@ function Cr() {
|
|
|
4316
4316
|
// trac-1450: sometimes IE returns 1223 when it should be 204
|
|
4317
4317
|
1223: 204
|
|
4318
4318
|
}, at = r.ajaxSettings.xhr();
|
|
4319
|
-
|
|
4319
|
+
M.cors = !!at && "withCredentials" in at, M.ajax = at = !!at, r.ajaxTransport(function(e) {
|
|
4320
4320
|
var t, i;
|
|
4321
|
-
if (
|
|
4321
|
+
if (M.cors || at && !e.crossDomain)
|
|
4322
4322
|
return {
|
|
4323
4323
|
send: function(n, s) {
|
|
4324
4324
|
var o, u = e.xhr();
|
|
@@ -4401,7 +4401,7 @@ function Cr() {
|
|
|
4401
4401
|
r.ajaxSetup({
|
|
4402
4402
|
jsonp: "callback",
|
|
4403
4403
|
jsonpCallback: function() {
|
|
4404
|
-
var e = Hi.pop() || r.expando + "_" +
|
|
4404
|
+
var e = Hi.pop() || r.expando + "_" + Di.guid++;
|
|
4405
4405
|
return this[e] = !0, e;
|
|
4406
4406
|
}
|
|
4407
4407
|
}), r.ajaxPrefilter("json jsonp", function(e, t, i) {
|
|
@@ -4414,7 +4414,7 @@ function Cr() {
|
|
|
4414
4414
|
}, i.always(function() {
|
|
4415
4415
|
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;
|
|
4416
4416
|
}), "script";
|
|
4417
|
-
}),
|
|
4417
|
+
}), M.createHTMLDocument = (function() {
|
|
4418
4418
|
var e = L.implementation.createHTMLDocument("").body;
|
|
4419
4419
|
return e.innerHTML = "<form></form><form></form>", e.childNodes.length === 2;
|
|
4420
4420
|
})(), r.parseHTML = function(e, t, i) {
|
|
@@ -4422,7 +4422,7 @@ function Cr() {
|
|
|
4422
4422
|
return [];
|
|
4423
4423
|
typeof t == "boolean" && (i = t, t = !1);
|
|
4424
4424
|
var n, s, o;
|
|
4425
|
-
return t || (
|
|
4425
|
+
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));
|
|
4426
4426
|
}, r.fn.load = function(e, t, i) {
|
|
4427
4427
|
var n, s, o, u = this, c = e.indexOf(" ");
|
|
4428
4428
|
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({
|
|
@@ -4502,7 +4502,7 @@ function Cr() {
|
|
|
4502
4502
|
return this.map(function() {
|
|
4503
4503
|
for (var e = this.offsetParent; e && r.css(e, "position") === "static"; )
|
|
4504
4504
|
e = e.offsetParent;
|
|
4505
|
-
return e ||
|
|
4505
|
+
return e || Me;
|
|
4506
4506
|
});
|
|
4507
4507
|
}
|
|
4508
4508
|
}), r.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(e, t) {
|
|
@@ -4520,7 +4520,7 @@ function Cr() {
|
|
|
4520
4520
|
};
|
|
4521
4521
|
}), r.each(["top", "left"], function(e, t) {
|
|
4522
4522
|
r.cssHooks[t] = vi(
|
|
4523
|
-
|
|
4523
|
+
M.pixelPosition,
|
|
4524
4524
|
function(i, n) {
|
|
4525
4525
|
if (n)
|
|
4526
4526
|
return n = rt(i, t), It.test(n) ? r(i).position()[t] + "px" : n;
|
|
@@ -4614,7 +4614,7 @@ function Cr() {
|
|
|
4614
4614
|
}
|
|
4615
4615
|
var kr = Cr();
|
|
4616
4616
|
const Er = /* @__PURE__ */ wr(kr);
|
|
4617
|
-
class
|
|
4617
|
+
class Ar {
|
|
4618
4618
|
constructor() {
|
|
4619
4619
|
this.canvasEl = null, this.opt = null, this.el = null, this.$el = null, this.player = null, console.log("MnPlayer constructor");
|
|
4620
4620
|
}
|
|
@@ -4672,7 +4672,7 @@ class Dr {
|
|
|
4672
4672
|
this.opt.lang || ""
|
|
4673
4673
|
));
|
|
4674
4674
|
let p = a?.streamType !== void 0 ? a.streamType : 1;
|
|
4675
|
-
a?.streamType === 0 && (p = 0), this.player.play(0, p, a?.beginTime);
|
|
4675
|
+
a?.streamType === 0 && (p = 0), a?.streamType === 0 && (p = 0), this.player.play(0, p, a?.beginTime);
|
|
4676
4676
|
}
|
|
4677
4677
|
pause() {
|
|
4678
4678
|
console.log("MnPlayer pause"), this.player && this.player.pause();
|
|
@@ -4697,7 +4697,7 @@ class Dr {
|
|
|
4697
4697
|
}
|
|
4698
4698
|
}
|
|
4699
4699
|
export {
|
|
4700
|
-
|
|
4701
|
-
|
|
4700
|
+
Ar as MnVideoPlayer,
|
|
4701
|
+
Ar as default
|
|
4702
4702
|
};
|
|
4703
4703
|
//# sourceMappingURL=mn-video-player.es.js.map
|