bloom-player 2.20.1-alpha.4 → 2.20.1-alpha.6

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/lib/shared.es.js CHANGED
@@ -12,128 +12,128 @@ class mi {
12
12
  this.handlers.slice(0).forEach((d) => d(c));
13
13
  }
14
14
  }
15
- var ns = /* @__PURE__ */ ((s) => (s[s.NewPage = 0] = "NewPage", s[s.NewPageMediaPaused = 1] = "NewPageMediaPaused", s[s.VideoPlaying = 2] = "VideoPlaying", s[s.VideoPaused = 3] = "VideoPaused", s[s.AudioPlaying = 4] = "AudioPlaying", s[s.AudioPaused = 5] = "AudioPaused", s[s.MediaFinished = 6] = "MediaFinished", s))(ns || {});
15
+ var ss = /* @__PURE__ */ ((s) => (s[s.NewPage = 0] = "NewPage", s[s.NewPageMediaPaused = 1] = "NewPageMediaPaused", s[s.VideoPlaying = 2] = "VideoPlaying", s[s.VideoPaused = 3] = "VideoPaused", s[s.AudioPlaying = 4] = "AudioPlaying", s[s.AudioPaused = 5] = "AudioPaused", s[s.MediaFinished = 6] = "MediaFinished", s))(ss || {});
16
16
  let ei = 0;
17
17
  function Kt(s) {
18
18
  ei = s;
19
19
  }
20
- let xr;
21
- function ta(s) {
22
- xr = s;
20
+ let Tr;
21
+ function ra(s) {
22
+ Tr = s;
23
23
  }
24
- let Ln;
25
- function ia(s) {
26
- Ln = s;
24
+ let Pn;
25
+ function na(s) {
26
+ Pn = s;
27
27
  }
28
- let Nn = () => {
28
+ let Dn = () => {
29
29
  };
30
- function ra(s) {
31
- Nn = s ?? (() => {
30
+ function oa(s) {
31
+ Dn = s ?? (() => {
32
32
  });
33
33
  }
34
- let Tr = "";
35
- function os(s) {
36
- Tr = s;
34
+ let Sr = "";
35
+ function as(s) {
36
+ Sr = s;
37
37
  }
38
- function na(s) {
39
- os(Pn(s));
38
+ function sa(s) {
39
+ as(Mn(s));
40
40
  }
41
- function Pn(s) {
41
+ function Mn(s) {
42
42
  const c = s.lastIndexOf("/");
43
43
  return s.substring(0, c);
44
44
  }
45
- function Nr() {
46
- return Tr || Pn(window.location.href);
45
+ function Pr() {
46
+ return Sr || Mn(window.location.href);
47
47
  }
48
- function ss(s) {
49
- const c = s.map((d, h) => ({ tabindex: as(d), index: h, item: d }));
48
+ function ls(s) {
49
+ const c = s.map((d, h) => ({ tabindex: cs(d), index: h, item: d }));
50
50
  return c.sort((d, h) => !d.tabindex || !h.tabindex || d.tabindex === h.tabindex ? d.index - h.index : parseInt(d.tabindex, 10) - parseInt(h.tabindex, 10)), c.map((d) => d.item);
51
51
  }
52
- function as(s) {
52
+ function cs(s) {
53
53
  let c = s;
54
54
  for (; c && !c.classList.contains("bloom-translationGroup"); )
55
55
  c = c.parentElement;
56
56
  return c && c.getAttribute("tabindex") || "999";
57
57
  }
58
- const ls = "bloom-highlightSegment", Dn = "ui-enableHighlight", Pr = "ui-disableHighlight", vr = "ui-suppressHighlight";
59
- let Pi = 3;
60
- function oa(s) {
61
- Pi = s;
58
+ const us = "bloom-highlightSegment", zn = "ui-enableHighlight", Dr = "ui-disableHighlight", yr = "ui-suppressHighlight";
59
+ let Di = 3;
60
+ function aa(s) {
61
+ Di = s;
62
62
  }
63
- const Di = "audio-sentence", Mn = "bloom-imageDescription";
63
+ const Mi = "audio-sentence", In = "bloom-imageDescription";
64
64
  let Nt = null, di = 0;
65
- function cs(s) {
65
+ function fs(s) {
66
66
  s !== Nt && (di && clearTimeout(di), di = setTimeout(() => {
67
67
  di = 0;
68
68
  }, 3e3), Nt = s);
69
69
  }
70
- function us() {
70
+ function ds() {
71
71
  return Nt;
72
72
  }
73
- let Dr, Mi, Jt = "", Qe = [], Lt = [];
74
- const zi = new mi(), Sr = new mi(), wn = new mi(), sa = new mi(), Ii = new mi();
75
- let pi = 0, zn = !0;
76
- function aa(s) {
77
- zn = s;
73
+ let Mr, zi, Jt = "", Qe = [], Lt = [];
74
+ const Ii = new mi(), Er = new mi(), Tn = new mi(), la = new mi(), Hi = new mi();
75
+ let pi = 0, Hn = !0;
76
+ function ca(s) {
77
+ Hn = s;
78
78
  }
79
- let Hi = null;
80
- function fs(s, c) {
79
+ let Oi = null;
80
+ function hs(s, c) {
81
81
  if (!s && !Nt)
82
82
  return;
83
83
  const d = s ?? Nt;
84
- gi(Or(d, c), d);
84
+ gi(Br(d, c), d);
85
85
  }
86
86
  function gi(s, c) {
87
- cs(c), Mi = s;
87
+ fs(c), zi = s;
88
88
  const d = Pt();
89
- d && (s.length == 0 && d.pause(), d.currentTime = 0), ++pi, ds(s), Qe = ss(s).reverse();
89
+ d && (s.length == 0 && d.pause(), d.currentTime = 0), ++pi, ps(s), Qe = ls(s).reverse();
90
90
  const h = Qe.length;
91
91
  if (h === 0) {
92
- Sr && Sr?.raise(c), Kt(
92
+ Er && Er?.raise(c), Kt(
93
93
  4
94
94
  /* AudioPlaying */
95
- ), zi && (Dr = window.setTimeout(() => {
95
+ ), Ii && (Mr = window.setTimeout(() => {
96
96
  Kt(
97
97
  6
98
98
  /* MediaFinished */
99
- ), zi?.raise(c);
100
- }, Pi * 1e3));
99
+ ), Ii?.raise(c);
100
+ }, Di * 1e3));
101
101
  return;
102
102
  }
103
103
  const T = Qe[h - 1];
104
- $n(), h >= 2 && Vn(Qe[h - 2]), Wn(T, !0), Kt(
104
+ Yn(), h >= 2 && Xn(Qe[h - 2]), _n(T, !0), Kt(
105
105
  4
106
106
  /* AudioPlaying */
107
- ), Bn();
107
+ ), Rn();
108
108
  }
109
- const In = /[ \u00a0\u200b]{3,}/, Ci = new RegExp(In, "g");
110
- function ds(s) {
109
+ const On = /[ \u00a0\u200b]{3,}/, Ci = new RegExp(On, "g");
110
+ function ps(s) {
111
111
  s.forEach((c) => {
112
- Hr(
112
+ Or(
113
113
  "span[id]:not(.bloom-linebreak)",
114
114
  c,
115
115
  !0
116
116
  ).forEach((h) => {
117
- Hn(h), h.innerText.match(In) && On(h, h);
117
+ Bn(h), h.innerText.match(On) && qn(h, h);
118
118
  });
119
119
  });
120
120
  }
121
- function Hn(s) {
122
- s.classList.remove(Pr), s.classList.remove(Dn), Array.from(s.children).forEach((c) => {
123
- Hn(c);
121
+ function Bn(s) {
122
+ s.classList.remove(Dr), s.classList.remove(zn), Array.from(s.children).forEach((c) => {
123
+ Bn(c);
124
124
  });
125
125
  }
126
- function On(s, c) {
127
- if (!(s.nodeType === Node.ELEMENT_NODE && s.classList.contains(Pr)))
126
+ function qn(s, c) {
127
+ if (!(s.nodeType === Node.ELEMENT_NODE && s.classList.contains(Dr)))
128
128
  if (s.nodeType === Node.TEXT_NODE) {
129
- hs(s, c);
129
+ gs(s, c);
130
130
  return;
131
131
  } else
132
132
  Array.from(s.childNodes).forEach((h) => {
133
- On(h, c);
133
+ qn(h, c);
134
134
  });
135
135
  }
136
- function hs(s, c) {
136
+ function gs(s, c) {
137
137
  if (s.nodeType !== Node.TEXT_NODE)
138
138
  throw new Error(
139
139
  "Invalid argument to fixMultiSpaceInTextNode: node must be a TextNode"
@@ -154,42 +154,42 @@ function hs(s, c) {
154
154
  });
155
155
  const T = [];
156
156
  if (d.length === 0)
157
- T.push(yr(s.nodeValue));
157
+ T.push(br(s.nodeValue));
158
158
  else {
159
159
  let z = 0;
160
160
  for (let D = 0; D < d.length; ++D) {
161
- const L = d[D], q = s.nodeValue.slice(
161
+ const k = d[D], q = s.nodeValue.slice(
162
162
  z,
163
- L.startIndex
163
+ k.startIndex
164
164
  );
165
- if (z = L.endIndex, q && T.push(yr(q)), T.push(document.createTextNode(L.text)), D === d.length - 1) {
166
- const _ = s.nodeValue.slice(L.endIndex);
167
- _ && T.push(yr(_));
165
+ if (z = k.endIndex, q && T.push(br(q)), T.push(document.createTextNode(k.text)), D === d.length - 1) {
166
+ const _ = s.nodeValue.slice(k.endIndex);
167
+ _ && T.push(br(_));
168
168
  }
169
169
  }
170
170
  }
171
- const A = s;
172
- if (A.parentNode && T && T.length > 0) {
171
+ const L = s;
172
+ if (L.parentNode && T && T.length > 0) {
173
173
  for (let z = 0; z < T.length; ++z) {
174
174
  const D = T[z];
175
- A.parentNode.insertBefore(D, A);
175
+ L.parentNode.insertBefore(D, L);
176
176
  }
177
- A.parentNode.removeChild(A), c.classList.add(Pr);
177
+ L.parentNode.removeChild(L), c.classList.add(Dr);
178
178
  }
179
179
  }
180
- function yr(s) {
180
+ function br(s) {
181
181
  const c = document.createElement("span");
182
- return c.classList.add(Dn), c.appendChild(document.createTextNode(s)), c;
182
+ return c.classList.add(zn), c.appendChild(document.createTextNode(s)), c;
183
183
  }
184
- function Bn() {
184
+ function Rn() {
185
185
  if (ei === 4) {
186
186
  const s = Pt();
187
187
  if (s) {
188
- const c = us().querySelector(
188
+ const c = ds().querySelector(
189
189
  `#${Jt}`
190
190
  );
191
191
  if (!c) {
192
- Fi();
192
+ _i();
193
193
  return;
194
194
  }
195
195
  Lt = [];
@@ -198,12 +198,12 @@ function Bn() {
198
198
  );
199
199
  if (d) {
200
200
  const z = c.querySelectorAll(
201
- `span.${ls}`
202
- ), D = d.split(" "), L = Math.min(
201
+ `span.${us}`
202
+ ), D = d.split(" "), k = Math.min(
203
203
  D.length,
204
204
  z.length
205
205
  );
206
- for (let q = L - 1; q >= 0; --q) {
206
+ for (let q = k - 1; q >= 0; --q) {
207
207
  const _ = Number(D[q]);
208
208
  isNaN(_) || Lt.push([
209
209
  z.item(q),
@@ -212,36 +212,36 @@ function Bn() {
212
212
  }
213
213
  }
214
214
  const h = c;
215
- h && Ii && Ii?.raise(
216
- qn(h)
217
- ), Er = !1;
215
+ h && Hi && Hi?.raise(
216
+ jn(h)
217
+ ), Cr = !1;
218
218
  const T = s.play();
219
- ++pi, Hi = (/* @__PURE__ */ new Date()).getTime(), Mr(pi);
220
- const A = Qe.length - 2;
221
- A >= 0 && Vn(
222
- Qe[A]
223
- ), Rn(T);
219
+ ++pi, Oi = (/* @__PURE__ */ new Date()).getTime(), zr(pi);
220
+ const L = Qe.length - 2;
221
+ L >= 0 && Xn(
222
+ Qe[L]
223
+ ), Wn(T);
224
224
  }
225
225
  }
226
226
  }
227
- function qn(s) {
228
- return s.closest("." + Mn) !== null;
227
+ function jn(s) {
228
+ return s.closest("." + In) !== null;
229
229
  }
230
- function Rn(s, c) {
230
+ function Wn(s, c) {
231
231
  s && s.catch && s.catch((d) => {
232
232
  console.log("could not play sound: " + d + " " + "unknown"), d && d.toString().includes(
233
233
  "The play() request was interrupted by a call to pause()."
234
234
  ) && console.log(
235
235
  "See comment in narration.ts for possibly useful information regarding this error."
236
- ), d.name === "NotAllowedError" && wn && wn?.raise();
236
+ ), d.name === "NotAllowedError" && Tn && Tn?.raise();
237
237
  });
238
238
  }
239
- function Mr(s, c = 0) {
239
+ function zr(s, c = 0) {
240
240
  const d = Lt.length;
241
241
  if (d <= 0)
242
242
  return;
243
- const h = Lt[d - 1], T = h[0], A = h[1];
244
- Fn({
243
+ const h = Lt[d - 1], T = h[0], L = h[1];
244
+ Vn({
245
245
  newElement: T,
246
246
  shouldScrollToElement: !0,
247
247
  disableHighlightIfNoAudio: !1
@@ -250,12 +250,12 @@ function Mr(s, c = 0) {
250
250
  "bloom-audio-player"
251
251
  ).currentTime;
252
252
  D <= 0 && (D = c);
253
- const L = Math.max(A - D, 0.1);
253
+ const k = Math.max(L - D, 0.1);
254
254
  setTimeout(() => {
255
- jn(s);
256
- }, L * 1e3);
255
+ Fn(s);
256
+ }, k * 1e3);
257
257
  }
258
- function jn(s) {
258
+ function Fn(s) {
259
259
  if (s !== pi || ei === 5)
260
260
  return;
261
261
  const c = Lt.length;
@@ -266,17 +266,17 @@ function jn(s) {
266
266
  );
267
267
  if (d.ended || d.error)
268
268
  return;
269
- const h = d.currentTime, A = Lt[c - 1][1];
270
- if (h && h < A) {
271
- const z = A - h;
269
+ const h = d.currentTime, L = Lt[c - 1][1];
270
+ if (h && h < L) {
271
+ const z = L - h;
272
272
  setTimeout(() => {
273
- jn(s);
273
+ Fn(s);
274
274
  }, z * 1e3);
275
275
  return;
276
276
  }
277
- Lt.pop(), Mr(s, A);
277
+ Lt.pop(), zr(s, L);
278
278
  }
279
- function zr(s = document.body) {
279
+ function Ir(s = document.body) {
280
280
  const c = Array.from(
281
281
  s.ownerDocument.getElementsByClassName("ui-audioCurrent")
282
282
  );
@@ -285,8 +285,8 @@ function zr(s = document.body) {
285
285
  const d = s.ownerDocument.getElementsByClassName("ui-audioCurrentImg")[0];
286
286
  d && d.classList.remove("ui-audioCurrentImg");
287
287
  }
288
- function Wn(s, c, d) {
289
- ms(s), Fn({
288
+ function _n(s, c, d) {
289
+ ys(s), Vn({
290
290
  newElement: s,
291
291
  shouldScrollToElement: !0,
292
292
  // Always true in bloom-player version
@@ -294,49 +294,49 @@ function Wn(s, c, d) {
294
294
  oldElement: d
295
295
  });
296
296
  }
297
- function Fn({
297
+ function Vn({
298
298
  newElement: s,
299
299
  shouldScrollToElement: c,
300
300
  disableHighlightIfNoAudio: d,
301
301
  oldElement: h
302
302
  }) {
303
303
  try {
304
- ps(s);
304
+ ms(s);
305
305
  } catch (D) {
306
306
  console.error(D);
307
307
  }
308
308
  if (h === s)
309
309
  return;
310
- zr(h || s);
311
- const T = Pt(), A = T.error !== null;
312
- !A && d && (!T.paused && !T.ended || (s.classList.add(vr), Ai && T.removeEventListener(
310
+ Ir(h || s);
311
+ const T = Pt(), L = T.error !== null;
312
+ !L && d && (!T.paused && !T.ended || (s.classList.add(yr), Ai && T.removeEventListener(
313
313
  "playing",
314
314
  Ai
315
315
  ), ki && T.removeEventListener(
316
316
  "error",
317
317
  ki
318
318
  ), Ai = () => {
319
- s.classList.remove(vr);
319
+ s.classList.remove(yr);
320
320
  }, ki = () => {
321
- s.classList.remove("ui-audioCurrent"), s.classList.remove(vr);
321
+ s.classList.remove("ui-audioCurrent"), s.classList.remove(yr);
322
322
  }, T.addEventListener(
323
323
  "playing",
324
324
  Ai
325
325
  ), T.addEventListener(
326
326
  "error",
327
327
  ki
328
- ))), A || s.classList.add("ui-audioCurrent");
328
+ ))), L || s.classList.add("ui-audioCurrent");
329
329
  const z = s.closest(".bloom-translationGroup");
330
- if (z && z.classList.contains(Mn)) {
330
+ if (z && z.classList.contains(In)) {
331
331
  const D = z.closest(
332
332
  ".bloom-imageContainer, .bloom-canvas"
333
333
  );
334
334
  D && D.classList.add("ui-audioCurrentImg");
335
335
  }
336
336
  }
337
- function ps(s) {
338
- if (Ln?.() || di) {
339
- const d = gs(s);
337
+ function ms(s) {
338
+ if (Pn?.() || di) {
339
+ const d = vs(s);
340
340
  d && (d.scrollTop = 0);
341
341
  return;
342
342
  }
@@ -344,7 +344,7 @@ function ps(s) {
344
344
  if (window.getComputedStyle(s.parentElement).position !== "static") {
345
345
  const d = s;
346
346
  c = document.createElement("div"), c.style.position = "absolute", c.style.top = d.offsetTop + "px";
347
- const h = d.getBoundingClientRect(), T = d.parentElement, A = T?.getBoundingClientRect(), z = A.width / T.offsetWidth, D = (h.left - A.left) / z;
347
+ const h = d.getBoundingClientRect(), T = d.parentElement, L = T?.getBoundingClientRect(), z = L.width / T.offsetWidth, D = (h.left - L.left) / z;
348
348
  c.style.left = D + d.offsetWidth / 2 + "px", c.style.height = d.offsetHeight + "px", c.style.width = "0", s.parentElement?.insertBefore(c, s);
349
349
  }
350
350
  c.scrollIntoView({
@@ -359,24 +359,24 @@ function ps(s) {
359
359
  // which typically won't move things at all horizontally
360
360
  }), c !== s && c.parentElement?.removeChild(c);
361
361
  }
362
- function gs(s) {
362
+ function vs(s) {
363
363
  return s.classList.contains("bloom-editable") ? s : s.closest(".bloom-editable");
364
364
  }
365
- function ms(s) {
366
- const c = _n(s), d = c ? c.id : s.id;
367
- ys(d);
365
+ function ys(s) {
366
+ const c = $n(s), d = c ? c.id : s.id;
367
+ ws(d);
368
368
  }
369
- function _n(s) {
370
- const c = vs(s);
369
+ function $n(s) {
370
+ const c = bs(s);
371
371
  return !c || c.length === 0 ? null : c[0];
372
372
  }
373
- function vs(s) {
373
+ function bs(s) {
374
374
  const c = [];
375
375
  if (s)
376
- if (s.classList.contains(Di))
376
+ if (s.classList.contains(Mi))
377
377
  c.push(s);
378
378
  else {
379
- const d = s.getElementsByClassName(Di);
379
+ const d = s.getElementsByClassName(Mi);
380
380
  for (let h = 0; h < d.length; ++h) {
381
381
  const T = d.item(h);
382
382
  T && c.push(T);
@@ -384,200 +384,199 @@ function vs(s) {
384
384
  }
385
385
  return c;
386
386
  }
387
- function ys(s) {
388
- (!Jt || Jt !== s) && (Jt = s, ws());
387
+ function ws(s) {
388
+ (!Jt || Jt !== s) && (Jt = s, Ts());
389
389
  }
390
- let Oi = "", Bi = "", Ai = null, ki = null;
391
- function bs() {
390
+ let Bi = "", qi = "", Ai = null, ki = null;
391
+ function xs() {
392
392
  let s = document.getElementById(
393
393
  "bloom-audio-preload"
394
394
  );
395
395
  return s || (s = document.createElement("audio"), s.id = "bloom-audio-preload", document.body.appendChild(s)), s;
396
396
  }
397
- function Vn(s) {
398
- const c = _n(s), d = c ? c.id : s.id;
399
- if (Oi === d) return;
400
- const h = Xn(d) + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true";
401
- Oi = d, Bi = h;
402
- const T = bs();
397
+ function Xn(s) {
398
+ const c = $n(s), d = c ? c.id : s.id;
399
+ if (Bi === d) return;
400
+ const h = Un(d) + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true";
401
+ Bi = d, qi = h;
402
+ const T = xs();
403
403
  T.src = h, T.load();
404
404
  }
405
- function $n() {
406
- Oi = "", Bi = "";
405
+ function Yn() {
406
+ Bi = "", qi = "";
407
407
  }
408
- function ws() {
408
+ function Ts() {
409
409
  const s = Pt();
410
410
  if (!s)
411
411
  return;
412
- s.currentTime > 0 && !s.paused && !s.ended && Ir();
413
- const c = Xn(Jt);
414
- Nn(c);
412
+ s.currentTime > 0 && !s.paused && !s.ended && Hr();
413
+ const c = Un(Jt);
414
+ Dn(c);
415
415
  let d;
416
- Oi === Jt && Bi ? (d = Bi, $n()) : d = c + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true", s.setAttribute("src", d);
416
+ Bi === Jt && qi ? (d = qi, Yn()) : d = c + "?nocache=" + (/* @__PURE__ */ new Date()).getTime() + "&optional=true", s.setAttribute("src", d);
417
417
  }
418
- function Xn(s) {
419
- return Nr() + "/audio/" + s + ".mp3";
418
+ function Un(s) {
419
+ return Pr() + "/audio/" + s + ".mp3";
420
420
  }
421
421
  function Pt() {
422
- return Ss("bloom-audio-player", (c) => {
423
- c.addEventListener("ended", xs), c.addEventListener("error", Es);
422
+ return Cs("bloom-audio-player", (c) => {
423
+ c.addEventListener("ended", Ss), c.addEventListener("error", As);
424
424
  });
425
425
  }
426
- function xs() {
427
- Fi();
426
+ function Ss() {
427
+ _i();
428
428
  }
429
- function la() {
430
- ei === 4 && Fi(!1);
429
+ function ua() {
430
+ ei === 4 && _i(!1);
431
431
  }
432
- function Fi(s = !0) {
433
- if (Ii && Ii?.raise(!1), Ir(), Qe && Qe.length > 0) {
432
+ function _i(s = !0) {
433
+ if (Hi && Hi?.raise(!1), Hr(), Qe && Qe.length > 0) {
434
434
  const c = Qe.pop(), d = Qe.length;
435
435
  if (d > 0 && s) {
436
436
  const h = Qe[d - 1];
437
- Wn(h, !0), Bn();
437
+ _n(h, !0), Rn();
438
438
  } else
439
- Ts(), zr(c), Pt().pause();
439
+ Es(), Ir(c), Pt().pause();
440
440
  }
441
441
  }
442
- function Ts() {
443
- Qe = [], Lt = [], zr(), zi?.raise(Nt), Sr?.raise();
442
+ function Es() {
443
+ Qe = [], Lt = [], Ir(), Ii?.raise(Nt), Er?.raise();
444
444
  }
445
- function Ir() {
446
- if (!Hi || !xr)
445
+ function Hr() {
446
+ if (!Oi || !Tr)
447
447
  return;
448
- const c = ((/* @__PURE__ */ new Date()).getTime() - Hi) / 1e3;
449
- xr(c);
448
+ const c = ((/* @__PURE__ */ new Date()).getTime() - Oi) / 1e3;
449
+ Tr(c);
450
450
  }
451
- function Ss(s, c) {
451
+ function Cs(s, c) {
452
452
  let d = document.querySelector(
453
453
  "#" + s
454
454
  );
455
455
  return d && !d.play && (d.remove(), d = null), d || (d = document.createElement("audio"), d.setAttribute("id", s), document.body.appendChild(d), c(d)), d;
456
456
  }
457
- let Er = !1;
458
- function Es() {
459
- if (Er) {
457
+ let Cr = !1;
458
+ function As() {
459
+ if (Cr) {
460
460
  console.log("Already got error playing, not handling again");
461
461
  return;
462
462
  }
463
- Er = !0, console.log("Error playing, handling"), setTimeout(() => {
464
- Fi();
463
+ Cr = !0, console.log("Error playing, handling"), setTimeout(() => {
464
+ _i();
465
465
  }, 100);
466
466
  }
467
- function Hr(s, c, d = !1) {
467
+ function Or(s, c, d = !1) {
468
468
  const h = [].slice.call(
469
469
  (c || document).querySelectorAll(s)
470
470
  );
471
- return d && c && c.matches(s) && h.push(c), zn ? h : h.filter((T) => !qn(T));
471
+ return d && c && c.matches(s) && h.push(c), Hn ? h : h.filter((T) => !jn(T));
472
472
  }
473
- function Cs(s, c) {
474
- var d = Hr(".bloom-editable", s).filter(
473
+ function ks(s, c) {
474
+ var d = Or(".bloom-editable", s).filter(
475
475
  (h) => window.getComputedStyle(h).display !== "none"
476
476
  );
477
477
  return c && (d = d.filter((h) => !c.contains(h))), d;
478
478
  }
479
- function As(s, c) {
480
- return Cs(s || Nt, c);
479
+ function Ls(s, c) {
480
+ return ks(s || Nt, c);
481
481
  }
482
- function Or(s, c) {
482
+ function Br(s, c) {
483
483
  return [].concat.apply(
484
484
  [],
485
- As(s, c).map(
486
- (d) => Hr(".audio-sentence", d, !0)
485
+ Ls(s, c).map(
486
+ (d) => Or(".audio-sentence", d, !0)
487
487
  )
488
488
  );
489
489
  }
490
- function ca(s) {
491
- return !!Or(s).length;
490
+ function fa(s) {
491
+ return !!Br(s).length;
492
492
  }
493
- function ua() {
493
+ function da() {
494
494
  if (ei !== 4) {
495
495
  if (Kt(
496
496
  4
497
497
  /* AudioPlaying */
498
- ), Mi.length && Pt())
498
+ ), zi.length && Pt())
499
499
  if (Qe.length) {
500
- Rn(Pt().play()), Hi = (/* @__PURE__ */ new Date()).getTime(), Mr(pi);
500
+ Wn(Pt().play()), Oi = (/* @__PURE__ */ new Date()).getTime(), zr(pi);
501
501
  return;
502
502
  } else {
503
- fs(null);
503
+ hs(null);
504
504
  return;
505
505
  }
506
- zi?.raise(Nt);
506
+ Ii?.raise(Nt);
507
507
  }
508
508
  }
509
- function fa() {
510
- ei !== 5 && (ks(), Kt(
509
+ function ha() {
510
+ ei !== 5 && (Ns(), Kt(
511
511
  5
512
512
  /* AudioPaused */
513
513
  ));
514
514
  }
515
- function ks() {
515
+ function Ns() {
516
516
  const s = Pt();
517
- clearTimeout(Dr), Mi && Mi.length && s && (s.currentTime > 0 && !s.paused && !s.ended && Ir(), s.pause());
517
+ clearTimeout(Mr), zi && zi.length && s && (s.currentTime > 0 && !s.paused && !s.ended && Hr(), s.pause());
518
518
  }
519
- function da(s) {
519
+ function pa(s) {
520
520
  let c = 0;
521
- return Or(s).forEach((d) => {
521
+ return Br(s).forEach((d) => {
522
522
  const h = d.getAttribute("data-duration");
523
523
  h && (c += parseFloat(h));
524
- }), c < Pi && (c = Pi), c;
524
+ }), c < Di && (c = Di), c;
525
525
  }
526
- function ha() {
527
- clearTimeout(Dr), Br();
526
+ function ga() {
527
+ clearTimeout(Mr), qr();
528
528
  }
529
529
  let Gt = 0, Zt;
530
530
  const fi = /* @__PURE__ */ new WeakMap();
531
- function Br() {
531
+ function qr() {
532
532
  Gt++, Zt && (Zt.pause(), Zt.currentTime = 0, Zt = void 0);
533
533
  }
534
- function Ls(s) {
534
+ function Ps(s) {
535
535
  return s ? s.name === "AbortError" ? !0 : (typeof s.message == "string" && s.message || (typeof s.toString == "function" ? s.toString() : "")).includes("interrupted by a call to pause()") : !1;
536
536
  }
537
- function Ns(s, c = () => !0, d = () => Yn(s)) {
538
- let h = !1;
539
- const T = () => {
540
- if (h || !s.paused)
537
+ const Li = /* @__PURE__ */ new WeakMap();
538
+ function Rr(s) {
539
+ Li.get(s)?.();
540
+ }
541
+ function Ds(s, c = () => !0, d = () => Gn(s)) {
542
+ if (!s.paused)
543
+ return;
544
+ Rr(s);
545
+ const h = s.muted;
546
+ let T, L = !1;
547
+ const z = () => {
548
+ L || (L = !0, Li.get(s) === D && Li.delete(s), window.clearTimeout(T), s.removeEventListener("playing", k), s.muted = h);
549
+ }, D = () => {
550
+ z(), s.removeAttribute("poster");
551
+ };
552
+ Li.set(s, D);
553
+ const k = () => {
554
+ if (Ri(s), !c()) {
555
+ z(), s.removeAttribute("poster");
541
556
  return;
542
- const A = () => {
543
- if (window.clearTimeout(z), qi(s), !c())
544
- return;
545
- const L = () => {
546
- c() && s.pause();
547
- }, q = s.requestVideoFrameCallback;
548
- q ? q.call(s, () => {
549
- L();
550
- }) : setTimeout(() => {
551
- L();
552
- }, 4);
553
- };
554
- s.addEventListener("playing", A, { once: !0 });
555
- const z = window.setTimeout(() => {
556
- s.removeEventListener("playing", A);
557
- }, 1e3);
558
- qi(s);
559
- const D = s.play();
560
- D && D.catch && D.catch((L) => {
561
- window.clearTimeout(z), s.removeEventListener("playing", A), L?.name === "NotAllowedError" && (s.removeAttribute("poster"), d());
562
- });
557
+ }
558
+ const _ = () => {
559
+ L || (c() && s.pause(), z(), s.removeAttribute("poster"));
560
+ }, ye = s.requestVideoFrameCallback;
561
+ ye ? ye.call(s, () => {
562
+ _();
563
+ }) : setTimeout(() => {
564
+ _();
565
+ }, 4);
563
566
  };
564
- if (s.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA)
565
- T();
566
- else {
567
- let A;
568
- const z = () => {
569
- s.removeEventListener("play", A), T();
570
- };
571
- A = () => {
572
- h = !0, s.removeEventListener("loadeddata", z), s.removeEventListener("play", A);
573
- }, s.addEventListener("play", A, { once: !0 }), s.addEventListener("loadeddata", z, { once: !0 });
574
- }
567
+ s.addEventListener("playing", k, { once: !0 }), T = window.setTimeout(() => {
568
+ c() && !s.paused && s.pause(), z(), s.removeAttribute("poster");
569
+ }, 3e3), Ri(s), s.muted = !0;
570
+ const q = s.play();
571
+ q && q.catch && q.catch((_) => {
572
+ z(), _?.name === "NotAllowedError" && (s.removeAttribute("poster"), d());
573
+ });
575
574
  }
576
- function qr(s, c) {
575
+ function jr(s, c) {
577
576
  const d = ++Gt;
578
577
  hi(s, c, d);
579
578
  }
580
- function Ps(s, c) {
579
+ function Ms(s, c) {
581
580
  return s.networkState === HTMLMediaElement.NETWORK_NO_SOURCE && s.readyState === HTMLMediaElement.HAVE_NOTHING ? !0 : c ? c.name === "NotSupportedError" ? !0 : s.error?.code === (window.MediaError ? window.MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED : 4) : !1;
582
581
  }
583
582
  function hi(s, c, d) {
@@ -588,17 +587,17 @@ function hi(s, c, d) {
588
587
  return;
589
588
  }
590
589
  const h = s[0];
591
- if (Zt = h, Ps(h))
592
- fi.delete(h), xn(h), hi(s.slice(1), c, d);
590
+ if (Zt = h, Ms(h))
591
+ fi.delete(h), Sn(h), hi(s.slice(1), c, d);
593
592
  else {
594
- Ms(h), qi(h), Kt(
593
+ Is(h), Ri(h), Kt(
595
594
  2
596
595
  /* VideoPlaying */
597
- ), h.currentTime = 0;
598
- let T = !1, A;
596
+ ), Rr(h), h.currentTime = 0;
597
+ let T = !1, L;
599
598
  const z = 250, D = () => {
600
- A !== void 0 && (window.clearTimeout(A), A = void 0);
601
- }, L = () => {
599
+ L !== void 0 && (window.clearTimeout(L), L = void 0);
600
+ }, k = () => {
602
601
  const V = h.duration;
603
602
  if (!Number.isFinite(V) || V <= 0)
604
603
  return;
@@ -607,78 +606,78 @@ function hi(s, c, d) {
607
606
  V * 1e3 / G + z,
608
607
  z
609
608
  );
610
- A = window.setTimeout(() => {
609
+ L = window.setTimeout(() => {
611
610
  q();
612
611
  }, Ee);
613
612
  }, q = () => {
614
- T || (T = !0, D(), h.removeEventListener("ended", _), h.removeEventListener("pause", we), h.removeEventListener("loadedmetadata", Q), d === Gt && hi(s.slice(1), c, d));
613
+ T || (T = !0, D(), h.removeEventListener("ended", _), h.removeEventListener("pause", ye), h.removeEventListener("loadedmetadata", Q), d === Gt && hi(s.slice(1), c, d));
615
614
  }, _ = () => {
616
615
  q();
617
- }, we = () => {
616
+ }, ye = () => {
618
617
  const V = h.duration;
619
618
  !Number.isFinite(V) || V <= 0 || h.currentTime >= V - 0.05 && q();
620
619
  }, Q = () => {
621
- L();
620
+ k();
622
621
  };
623
- h.addEventListener("ended", _, { once: !0 }), h.addEventListener("pause", we), h.addEventListener("loadedmetadata", Q), h.play().then(() => {
624
- d === Gt && (fi.delete(h), qi(h), L());
622
+ h.addEventListener("ended", _, { once: !0 }), h.addEventListener("pause", ye), h.addEventListener("loadedmetadata", Q), h.play().then(() => {
623
+ d === Gt && (fi.delete(h), Ri(h), k());
625
624
  }).catch((V) => {
626
625
  if (d !== Gt)
627
626
  return;
628
- if (D(), h.removeEventListener("ended", _), h.removeEventListener("pause", we), h.removeEventListener("loadedmetadata", Q), V?.name === "NotAllowedError") {
627
+ if (D(), h.removeEventListener("ended", _), h.removeEventListener("pause", ye), h.removeEventListener("loadedmetadata", Q), V?.name === "NotAllowedError") {
629
628
  console.debug(
630
629
  "Video autoplay blocked until user interaction"
631
- ), Yn(h);
630
+ ), Gn(h);
632
631
  return;
633
632
  }
634
633
  const G = fi.get(h) ?? 0;
635
- if (Ls(V) && G < 2) {
634
+ if (Ps(V) && G < 2) {
636
635
  fi.set(h, G + 1), window.setTimeout(() => {
637
636
  hi(s, c, d);
638
637
  }, 50);
639
638
  return;
640
639
  }
641
- console.error("Video play failed", V), fi.delete(h), xn(h), hi(s.slice(1), c, d);
640
+ console.error("Video play failed", V), fi.delete(h), Sn(h), hi(s.slice(1), c, d);
642
641
  });
643
642
  }
644
643
  }
645
- const Ds = "Sorry, this video cannot be played in this browser.";
646
- function xn(s) {
644
+ const zs = "Sorry, this video cannot be played in this browser.";
645
+ function Sn(s) {
647
646
  const c = s.parentElement;
648
647
  if (c && c.getElementsByClassName("video-error-message").length === 0) {
649
648
  const h = c.ownerDocument.createElement("div");
650
- h.className = "video-error-message normal-style", h.textContent = Ds, h.style.display = "block", h.style.color = "black", h.style.backgroundColor = "rgba(255, 255, 255, 0.5)", h.style.position = "absolute", h.style.left = "10%", h.style.top = "10%", h.style.width = "80%", h.style.fontSize = "x-large", h.style.pointerEvents = "none", c.appendChild(h);
649
+ h.className = "video-error-message normal-style", h.textContent = zs, h.style.display = "block", h.style.color = "black", h.style.backgroundColor = "rgba(255, 255, 255, 0.5)", h.style.position = "absolute", h.style.left = "10%", h.style.top = "10%", h.style.width = "80%", h.style.fontSize = "x-large", h.style.pointerEvents = "none", c.appendChild(h);
651
650
  }
652
651
  }
653
- function Yn(s) {
652
+ function Gn(s) {
654
653
  (s.closest(".bloom-videoContainer") || s.parentElement)?.classList.add("autoplayBlocked");
655
654
  }
656
- function qi(s) {
655
+ function Ri(s) {
657
656
  (s.closest(".bloom-videoContainer") || s.parentElement)?.classList.remove("autoplayBlocked");
658
657
  }
659
- function Ms(s) {
658
+ function Is(s) {
660
659
  const c = s.parentElement;
661
660
  if (c) {
662
661
  const d = c.getElementsByClassName("video-error-message");
663
662
  for (; d.length > 0; ) c.removeChild(d[0]);
664
663
  }
665
664
  }
666
- const Ri = ".bloom-textOverPicture, .bloom-canvas-element";
667
- let Cr = [], ji = /* @__PURE__ */ new Map(), pt, Un, Wi = [];
668
- const zs = (s) => {
669
- Wi = [], s.querySelectorAll("[data-draggable-id]").forEach((c) => {
670
- Wi.push({
665
+ const ji = ".bloom-textOverPicture, .bloom-canvas-element";
666
+ let Ar = [], Wi = /* @__PURE__ */ new Map(), pt, Zn, Fi = [];
667
+ const Hs = (s) => {
668
+ Fi = [], s.querySelectorAll("[data-draggable-id]").forEach((c) => {
669
+ Fi.push({
671
670
  x: c.style.left,
672
671
  y: c.style.top,
673
672
  elt: c
674
673
  });
675
674
  });
676
- }, Rr = () => {
677
- Wi.forEach((s) => {
675
+ }, Wr = () => {
676
+ Fi.forEach((s) => {
678
677
  s.elt.style.left = s.x, s.elt.style.top = s.y, s.elt.classList.remove("bloom-draggedToTarget");
679
678
  });
680
679
  };
681
- function Is(s) {
680
+ function Os(s) {
682
681
  if (s.getAttribute("data-activity") !== "drag-letter-to-target")
683
682
  return;
684
683
  const c = Array.from(
@@ -689,23 +688,23 @@ function Is(s) {
689
688
  "bloom-visibility-code-on"
690
689
  )[0]?.innerText.trim();
691
690
  d.classList.toggle("bloom-unused-in-lang", !h);
692
- const T = $r(d);
691
+ const T = Yr(d);
693
692
  T && T.classList.toggle("bloom-unused-in-lang", !h);
694
693
  });
695
694
  }
696
- function jr(s) {
695
+ function Fr(s) {
697
696
  return s.closest("#page-scaling-container") !== null;
698
697
  }
699
- function pa(s, c) {
700
- pt = s, Is(s), Un = c, go(
698
+ function ma(s, c) {
699
+ pt = s, Os(s), Zn = c, vo(
701
700
  s.getAttribute("data-show-answers-in-targets") === "true" || s.getAttribute("data-show-target-as-shadow") === "true",
702
701
  s
703
- ), zs(s), Array.from(
702
+ ), Hs(s), Array.from(
704
703
  s.getElementsByClassName(
705
704
  "bloom-change-page-button"
706
705
  )
707
706
  ).forEach(
708
- (Q) => Q.addEventListener("click", eo)
707
+ (Q) => Q.addEventListener("click", io)
709
708
  ), Array.from(document.getElementsByClassName("bloom-canvas")).forEach(
710
709
  (Q) => {
711
710
  Q.title = "";
@@ -716,7 +715,7 @@ function pa(s, c) {
716
715
  }
717
716
  ), Array.from(s.getElementsByTagName("img")).forEach((Q) => {
718
717
  Q.setAttribute("draggable", "false");
719
- }), Cr = [], ji = /* @__PURE__ */ new Map();
718
+ }), Ar = [], Wi = /* @__PURE__ */ new Map();
720
719
  const h = Array.from(
721
720
  s.querySelectorAll("[data-draggable-id]")
722
721
  ), T = [];
@@ -726,16 +725,16 @@ function pa(s, c) {
726
725
  );
727
726
  if (V) {
728
727
  const G = V.offsetLeft, Ee = V.offsetTop;
729
- Cr.push({
728
+ Ar.push({
730
729
  x: G,
731
730
  y: Ee,
732
731
  width: V.offsetWidth,
733
732
  height: V.offsetHeight
734
733
  }), T.push(V);
735
734
  }
736
- ji.set(Q, { x: Q.offsetLeft, y: Q.offsetTop }), Q.style.touchAction = "none", Q.addEventListener("pointerdown", ro, { capture: !0 });
735
+ Wi.set(Q, { x: Q.offsetLeft, y: Q.offsetTop }), Q.style.touchAction = "none", Q.addEventListener("pointerdown", oo, { capture: !0 });
737
736
  }), Array.from(s.getElementsByTagName("video")).forEach((Q) => {
738
- Q.closest(Ri)?.hasAttribute("data-draggable-id") && (Q.classList.add("bloom-ui-no-controls"), Q.addEventListener("pointerdown", Gn), Ns(Q));
737
+ Q.closest(ji)?.hasAttribute("data-draggable-id") && (Q.classList.add("bloom-ui-no-controls"), Q.addEventListener("pointerdown", Kn), Ds(Q));
739
738
  });
740
739
  const z = h.concat(T);
741
740
  Array.from(
@@ -743,12 +742,12 @@ function pa(s, c) {
743
742
  "bloom-visibility-code-on"
744
743
  )
745
744
  ).filter((Q) => {
746
- var _e = Q.closest(Ri);
745
+ var _e = Q.closest(ji);
747
746
  return _e ? z.indexOf(_e) < 0 : !0;
748
747
  }).forEach((Q) => {
749
- Q.addEventListener("pointerdown", Kn);
748
+ Q.addEventListener("pointerdown", Qn);
750
749
  });
751
- const L = Array.from(
750
+ const k = Array.from(
752
751
  s.getElementsByClassName(
753
752
  "check-button"
754
753
  )
@@ -761,19 +760,19 @@ function pa(s, c) {
761
760
  "show-correct-button"
762
761
  )
763
762
  );
764
- L.forEach((Q) => {
765
- Q.addEventListener("click", so);
763
+ k.forEach((Q) => {
764
+ Q.addEventListener("click", lo);
766
765
  }), q.forEach((Q) => {
767
- Q.addEventListener("click", ao);
766
+ Q.addEventListener("click", co);
768
767
  }), _.forEach((Q) => {
769
- Q.addEventListener("click", io);
768
+ Q.addEventListener("click", no);
770
769
  }), Array.from(
771
770
  s.querySelectorAll("[data-sound]")
772
771
  ).forEach((Q) => {
773
- Q.addEventListener("click", Zn);
774
- }), Hs(s), Rs(s);
772
+ Q.addEventListener("click", Jn);
773
+ }), Bs(s), Ws(s);
775
774
  }
776
- const Hs = (s) => {
775
+ const Bs = (s) => {
777
776
  Array.from(
778
777
  s.getElementsByClassName(
779
778
  "drag-item-order-sentence"
@@ -784,32 +783,33 @@ const Hs = (s) => {
784
783
  "bloom-content1 bloom-visibility-code-on"
785
784
  )[0], h = d?.textContent?.trim();
786
785
  if (!h) return;
787
- const T = h.split(" "), A = Bs(T), z = s.ownerDocument.createElement("div");
788
- z.classList.add("drag-item-random-sentence"), z.setAttribute("data-answer", h), Qn(s, A, z, d, !0), z.style.left = c.style.left, z.style.top = c.style.top, z.style.width = c.style.width, c.parentElement?.insertBefore(z, c);
786
+ const T = h.split(" "), L = Rs(T), z = s.ownerDocument.createElement("div");
787
+ z.classList.add("drag-item-random-sentence"), z.setAttribute("data-answer", h), to(s, L, z, d, !0), z.style.left = c.style.left, z.style.top = c.style.top, z.style.width = c.style.width, c.parentElement?.insertBefore(z, c);
789
788
  }
790
789
  );
791
- }, Gn = (s) => {
792
- s.currentTarget.play();
790
+ }, Kn = (s) => {
791
+ const c = s.currentTarget;
792
+ Rr(c), c.play();
793
793
  };
794
- function ga(s) {
795
- Br(), Rr(), Wi = [], Array.from(
794
+ function va(s) {
795
+ qr(), Wr(), Fi = [], Array.from(
796
796
  s.getElementsByClassName(
797
797
  "bloom-change-page-button"
798
798
  )
799
799
  ).forEach(
800
- (L) => L.removeEventListener("click", eo)
800
+ (k) => k.removeEventListener("click", io)
801
801
  ), Array.from(
802
802
  s.getElementsByClassName(
803
803
  "bloom-visibility-code-on"
804
804
  )
805
- ).forEach((L) => {
806
- L.removeEventListener("pointerdown", Kn);
807
- }), s.querySelectorAll("[data-draggable-id]").forEach((L) => {
808
- L.removeEventListener("pointerdown", ro, { capture: !0 });
809
- }), Array.from(s.getElementsByTagName("img")).forEach((L) => {
810
- L.removeAttribute("draggable");
811
- }), Array.from(s.getElementsByTagName("video")).forEach((L) => {
812
- L.removeEventListener("pointerdown", Gn), L.classList.remove("bloom-ui-no-controls");
805
+ ).forEach((k) => {
806
+ k.removeEventListener("pointerdown", Qn);
807
+ }), s.querySelectorAll("[data-draggable-id]").forEach((k) => {
808
+ k.removeEventListener("pointerdown", oo, { capture: !0 });
809
+ }), Array.from(s.getElementsByTagName("img")).forEach((k) => {
810
+ k.removeAttribute("draggable");
811
+ }), Array.from(s.getElementsByTagName("video")).forEach((k) => {
812
+ k.removeEventListener("pointerdown", Kn), k.classList.remove("bloom-ui-no-controls");
813
813
  });
814
814
  const h = Array.from(
815
815
  s.getElementsByClassName(
@@ -819,87 +819,87 @@ function ga(s) {
819
819
  s.getElementsByClassName(
820
820
  "try-again-button"
821
821
  )
822
- ), A = Array.from(
822
+ ), L = Array.from(
823
823
  s.getElementsByClassName(
824
824
  "show-correct-button"
825
825
  )
826
826
  );
827
- h.forEach((L) => {
828
- L.removeEventListener("click", so);
829
- }), A.forEach((L) => {
830
- L.removeEventListener("click", io);
831
- }), T.forEach((L) => {
832
- L.removeEventListener("click", ao);
827
+ h.forEach((k) => {
828
+ k.removeEventListener("click", lo);
829
+ }), L.forEach((k) => {
830
+ k.removeEventListener("click", no);
831
+ }), T.forEach((k) => {
832
+ k.removeEventListener("click", co);
833
833
  }), Array.from(
834
834
  s.querySelectorAll("[data-sound]")
835
- ).forEach((L) => {
836
- L.removeEventListener("click", Zn);
835
+ ).forEach((k) => {
836
+ k.removeEventListener("click", Jn);
837
837
  }), Array.from(
838
838
  s.getElementsByClassName(
839
839
  "drag-item-random-sentence"
840
840
  )
841
- ).forEach((L) => {
842
- L.parentElement?.removeChild(L);
843
- }), qs(s);
841
+ ).forEach((k) => {
842
+ k.parentElement?.removeChild(k);
843
+ }), js(s);
844
844
  const D = s.closest(".swiper-slide") !== null;
845
- go(!D, s);
845
+ vo(!D, s);
846
846
  }
847
- const Zn = (s) => {
847
+ const Jn = (s) => {
848
848
  const c = s.currentTarget, d = c.getAttribute("data-sound");
849
- d && lo(c, d), s.preventDefault(), s.stopPropagation();
850
- }, Kn = (s) => {
849
+ d && uo(c, d), s.preventDefault(), s.stopPropagation();
850
+ }, Qn = (s) => {
851
851
  const c = s.currentTarget;
852
- Jn(c);
853
- }, Jn = (s) => {
854
- const c = Os(s);
852
+ eo(c);
853
+ }, eo = (s) => {
854
+ const c = qs(s);
855
855
  gi(c, s.closest(".bloom-page"));
856
856
  };
857
- function Os(s) {
858
- const c = _i(s);
859
- return Wr(c);
857
+ function qs(s) {
858
+ const c = Vi(s);
859
+ return _r(c);
860
860
  }
861
- function Qn(s, c, d, h, T) {
862
- const A = Array.from(h?.classList)?.find((D) => D.endsWith("-style")) ?? "Normal-style", z = h?.getAttribute("lang");
861
+ function to(s, c, d, h, T) {
862
+ const L = Array.from(h?.classList)?.find((D) => D.endsWith("-style")) ?? "Normal-style", z = h?.getAttribute("lang");
863
863
  c.forEach((D) => {
864
- const L = s.ownerDocument.createElement("div");
865
- L.classList.add("drag-item-order-word"), L.textContent = D, d.appendChild(L), L.classList.add(A), z && L.setAttribute("lang", z), T && L.addEventListener("pointerdown", _s);
864
+ const k = s.ownerDocument.createElement("div");
865
+ k.classList.add("drag-item-order-word"), k.textContent = D, d.appendChild(k), k.classList.add(L), z && k.setAttribute("lang", z), T && k.addEventListener("pointerdown", $s);
866
866
  });
867
867
  }
868
- function eo(s) {
868
+ function io(s) {
869
869
  const c = s.currentTarget.classList.contains(
870
870
  "bloom-next-page"
871
871
  );
872
- Un?.(c);
872
+ Zn?.(c);
873
873
  }
874
- function ma(s, c) {
875
- const d = (A) => {
876
- const z = A.closest(Ri);
874
+ function ya(s, c) {
875
+ const d = (L) => {
876
+ const z = L.closest(ji);
877
877
  return !(!z || z.classList.contains("draggable-text") || z.hasAttribute("data-draggable-id") || z.classList.contains("drag-item-order-sentence") || z.classList.contains("bloom-wordChoice") || z.classList.contains("drag-item-correct") || z.classList.contains("drag-item-wrong"));
878
- }, h = _i(s).filter(d), T = Wr(h);
878
+ }, h = Vi(s).filter(d), T = _r(h);
879
879
  if (c) {
880
- const A = Array.from(
880
+ const L = Array.from(
881
881
  s.getElementsByTagName("video")
882
882
  ).filter(d);
883
- qr(A, () => gi(T, s));
883
+ jr(L, () => gi(T, s));
884
884
  } else
885
885
  gi(T, s);
886
886
  }
887
- let to = (s, c) => {
887
+ let ro = (s, c) => {
888
888
  };
889
- function va(s) {
890
- to = s;
889
+ function ba(s) {
890
+ ro = s;
891
891
  }
892
- function Wr(s) {
892
+ function _r(s) {
893
893
  const c = [];
894
894
  return s.forEach((d) => {
895
- d.classList.contains(Di) && c.push(d), c.push(
895
+ d.classList.contains(Mi) && c.push(d), c.push(
896
896
  ...Array.from(
897
- d.getElementsByClassName(Di)
897
+ d.getElementsByClassName(Mi)
898
898
  )
899
899
  );
900
900
  }), c;
901
901
  }
902
- function _i(s) {
902
+ function Vi(s) {
903
903
  const c = Array.from(
904
904
  s.getElementsByClassName("bloom-editable")
905
905
  ).filter(
@@ -907,8 +907,8 @@ function _i(s) {
907
907
  );
908
908
  return s.classList.contains("bloom-editable") && window.getComputedStyle(s).display !== "none" && c.push(s), c;
909
909
  }
910
- function Bs(s, c) {
911
- c || (c = (D, L) => D === L);
910
+ function Rs(s, c) {
911
+ c || (c = (D, k) => D === k);
912
912
  let d = !0;
913
913
  for (let D = 1; D < s.length; ++D)
914
914
  if (!c(s[0], s[D])) {
@@ -917,54 +917,54 @@ function Bs(s, c) {
917
917
  }
918
918
  if (d) return s;
919
919
  const h = s.slice();
920
- let T = 0, A = h, z = 0;
920
+ let T = 0, L = h, z = 0;
921
921
  for (; z++ < 10; ) {
922
- let D = s.length, L;
922
+ let D = s.length, k;
923
923
  for (; D !== 0; )
924
- L = Math.floor(Math.random() * D), D--, [s[D], s[L]] = [
925
- s[L],
924
+ k = Math.floor(Math.random() * D), D--, [s[D], s[k]] = [
925
+ s[k],
926
926
  s[D]
927
927
  ];
928
928
  let q = 0;
929
929
  for (let _ = 0; _ < s.length; ++_)
930
930
  c(s[_], h[_]) || ++q;
931
931
  if (q === s.length) return s;
932
- q > T && (T = q, A = s.slice());
932
+ q > T && (T = q, L = s.slice());
933
933
  }
934
- for (let D = 0; D < s.length; ++D) s[D] = A[D];
934
+ for (let D = 0; D < s.length; ++D) s[D] = L[D];
935
935
  return s;
936
936
  }
937
- function ya(s, c) {
937
+ function wa(s, c) {
938
938
  return s.innerText.trim() === c.innerText.trim();
939
939
  }
940
- const io = (s) => {
940
+ const no = (s) => {
941
941
  if (!pt)
942
942
  return;
943
- Rr(), pt.querySelectorAll("[data-draggable-id]").forEach((d) => {
943
+ Wr(), pt.querySelectorAll("[data-draggable-id]").forEach((d) => {
944
944
  const h = d.getAttribute("data-draggable-id"), T = pt?.querySelector(
945
945
  `[data-target-of="${h}"]`
946
946
  );
947
947
  if (!T)
948
948
  return;
949
- let A = d.offsetWidth;
950
- if (!A) {
949
+ let L = d.offsetWidth;
950
+ if (!L) {
951
951
  const q = d.style.width.replace("px", "");
952
- A = Number.parseInt(q, 10);
952
+ L = Number.parseInt(q, 10);
953
953
  }
954
954
  let z = d.offsetHeight;
955
955
  if (!z) {
956
956
  const q = d.style.height.replace("px", "");
957
957
  z = Number.parseInt(q, 10);
958
958
  }
959
- const D = T.offsetLeft + (T.offsetWidth - A) / 2, L = T.offsetTop + (T.offsetHeight - z) / 2;
960
- d.style.left = D + "px", d.style.top = L + "px";
959
+ const D = T.offsetLeft + (T.offsetWidth - L) / 2, k = T.offsetTop + (T.offsetHeight - z) / 2;
960
+ d.style.left = D + "px", d.style.top = k + "px";
961
961
  }), Array.from(
962
962
  pt.getElementsByClassName(
963
963
  "drag-item-random-sentence"
964
964
  )
965
965
  ).forEach((d) => {
966
966
  const h = d.getAttribute("data-answer")?.split(" ") ?? [], T = d.children[0];
967
- d.innerHTML = "", Qn(
967
+ d.innerHTML = "", to(
968
968
  pt,
969
969
  h,
970
970
  d,
@@ -980,76 +980,76 @@ const io = (s) => {
980
980
  ) && c.push(
981
981
  ...Array.from(d.getElementsByTagName("video"))
982
982
  );
983
- }), c.length > 0 && qr(c, () => {
983
+ }), c.length > 0 && jr(c, () => {
984
984
  });
985
985
  };
986
- let Vi = 0, $i = 0, Me, Ar = !1;
987
- const Xi = (s) => s.getBoundingClientRect().width / s.offsetWidth, ro = (s) => {
986
+ let $i = 0, Xi = 0, Me, kr = !1;
987
+ const Yi = (s) => s.getBoundingClientRect().width / s.offsetWidth, oo = (s) => {
988
988
  if (s.button !== 0 || s.ctrlKey) return;
989
989
  s.preventDefault();
990
990
  const c = s.currentTarget;
991
991
  Me = c;
992
- const d = c.closest(".bloom-page"), h = Xi(d);
993
- Vi = s.clientX / h - c.offsetLeft, $i = s.clientY / h - c.offsetTop, c.setPointerCapture(s.pointerId), c.addEventListener("pointerup", oo), c.addEventListener("pointermove", no), Jn(c), c.classList.add("bloom-ui-dragging"), Me.classList.remove("bloom-draggedToTarget");
994
- }, no = (s) => {
995
- const c = Me.closest(".bloom-page"), d = Xi(c);
992
+ const d = c.closest(".bloom-page"), h = Yi(d);
993
+ $i = s.clientX / h - c.offsetLeft, Xi = s.clientY / h - c.offsetTop, c.setPointerCapture(s.pointerId), c.addEventListener("pointerup", ao), c.addEventListener("pointermove", so), eo(c), c.classList.add("bloom-ui-dragging"), Me.classList.remove("bloom-draggedToTarget");
994
+ }, so = (s) => {
995
+ const c = Me.closest(".bloom-page"), d = Yi(c);
996
996
  s.preventDefault();
997
- let h = s.clientX / d - Vi, T = s.clientY / d - $i, A = Number.MAX_VALUE;
998
- Ar = !1;
997
+ let h = s.clientX / d - $i, T = s.clientY / d - Xi, L = Number.MAX_VALUE;
998
+ kr = !1;
999
999
  let z = h, D = T;
1000
- for (const L of Cr) {
1001
- const q = (L.width - Me.offsetWidth) / 2, _ = (L.height - Me.offsetHeight) / 2, we = L.x + q - h, Q = L.y + _ - T, _e = Math.sqrt(we * we + Q * Q);
1002
- _e < A && (A = _e, z = L.x + q, D = L.y + _);
1000
+ for (const k of Ar) {
1001
+ const q = (k.width - Me.offsetWidth) / 2, _ = (k.height - Me.offsetHeight) / 2, ye = k.x + q - h, Q = k.y + _ - T, _e = Math.sqrt(ye * ye + Q * Q);
1002
+ _e < L && (L = _e, z = k.x + q, D = k.y + _);
1003
1003
  }
1004
- A < 50 && (h = z, T = D, Ar = !0), Me.style.top = T + "px", Me.style.left = h + "px";
1005
- }, oo = (s) => {
1006
- if (Ar)
1004
+ L < 50 && (h = z, T = D, kr = !0), Me.style.top = T + "px", Me.style.left = h + "px";
1005
+ }, ao = (s) => {
1006
+ if (kr)
1007
1007
  Me.classList.add("bloom-draggedToTarget");
1008
1008
  else {
1009
- const h = ji.get(Me);
1009
+ const h = Wi.get(Me);
1010
1010
  Me.style.top = h?.y + "px", Me.style.left = h?.x + "px", Me.classList.remove("bloom-draggedToTarget");
1011
1011
  }
1012
- Me.classList.remove("bloom-ui-dragging"), Me.removeEventListener("pointerup", oo), Me.removeEventListener("pointermove", no);
1012
+ Me.classList.remove("bloom-ui-dragging"), Me.removeEventListener("pointerup", ao), Me.removeEventListener("pointermove", so);
1013
1013
  const c = Me.closest(".bloom-page");
1014
1014
  Array.from(
1015
1015
  c.querySelectorAll("[data-draggable-id]")
1016
1016
  ).forEach((h) => {
1017
- if (h !== Me && kr(h, Me)) {
1018
- const T = ji.get(h);
1017
+ if (h !== Me && Lr(h, Me)) {
1018
+ const T = Wi.get(h);
1019
1019
  T && (h.style.left = T.x + "px", h.style.top = T.y + "px", h.classList.remove("bloom-draggedToTarget"));
1020
1020
  }
1021
1021
  });
1022
- }, Tn = (s) => {
1023
- const c = _i(s);
1022
+ }, En = (s) => {
1023
+ const c = Vi(s);
1024
1024
  return Array.from(c).map((d) => d.textContent).join(" ");
1025
- }, kr = (s, c) => {
1026
- const d = s.offsetLeft, h = s.offsetTop, T = c.offsetLeft + (c.offsetWidth - s.offsetWidth) / 2, A = c.offsetTop + (c.offsetHeight - s.offsetHeight) / 2;
1025
+ }, Lr = (s, c) => {
1026
+ const d = s.offsetLeft, h = s.offsetTop, T = c.offsetLeft + (c.offsetWidth - s.offsetWidth) / 2, L = c.offsetTop + (c.offsetHeight - s.offsetHeight) / 2;
1027
1027
  return (
1028
1028
  // At least a half-pixel error can occur just from centering the draggable in the target.
1029
- Math.abs(T - d) < 0.6 && Math.abs(A - h) < 0.6
1029
+ Math.abs(T - d) < 0.6 && Math.abs(L - h) < 0.6
1030
1030
  );
1031
- }, so = (s) => {
1032
- const d = s.currentTarget.closest(".bloom-page"), h = Fs(d) && Vs(d);
1033
- return Ws(d, h), to(1, h ? 1 : 0), h;
1034
- }, ao = (s) => {
1031
+ }, lo = (s) => {
1032
+ const d = s.currentTarget.closest(".bloom-page"), h = Vs(d) && Xs(d);
1033
+ return _s(d, h), ro(1, h ? 1 : 0), h;
1034
+ }, co = (s) => {
1035
1035
  const d = s.currentTarget.closest(".bloom-page");
1036
- jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Rr(), Br();
1036
+ jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(), qr();
1037
1037
  }, jt = (s, c, d) => {
1038
1038
  d ? s.parentElement?.classList.add(c) : s.parentElement?.classList.remove(c);
1039
1039
  };
1040
- let Fe, fe, Fr, _r;
1041
- function ba(s, c) {
1042
- Fr = s, _r = c;
1040
+ let Fe, fe, Vr, $r;
1041
+ function xa(s, c) {
1042
+ Vr = s, $r = c;
1043
1043
  }
1044
- const Vr = "data-preload-sound";
1045
- function qs(s) {
1044
+ const Xr = "data-preload-sound";
1045
+ function js(s) {
1046
1046
  s.querySelectorAll(
1047
- `audio[${Vr}]`
1047
+ `audio[${Xr}]`
1048
1048
  ).forEach((c) => {
1049
1049
  c.src = "", c.remove();
1050
1050
  });
1051
1051
  }
1052
- function Rs(s) {
1052
+ function Ws(s) {
1053
1053
  const c = (d, h) => {
1054
1054
  const T = d !== null;
1055
1055
  if (d === null)
@@ -1057,128 +1057,132 @@ function Rs(s) {
1057
1057
  else if (d === "none")
1058
1058
  return;
1059
1059
  if (!d) return;
1060
- const A = (T ? Nr() + "/audio/" : "") + d;
1060
+ const L = (T ? Pr() + "/audio/" : "") + d;
1061
1061
  if (Array.from(
1062
- s.querySelectorAll(`audio[${Vr}]`)
1063
- ).find((L) => L.dataset.preloadSound === A)) return;
1062
+ s.querySelectorAll(`audio[${Xr}]`)
1063
+ ).find((k) => k.dataset.preloadSound === L)) return;
1064
1064
  const D = document.createElement("audio");
1065
- D.dataset.preloadSound = A, D.style.visibility = "hidden", jr(s) && D.classList.add("bloom-ui"), D.src = A, D.load(), s.append(D);
1065
+ D.dataset.preloadSound = L, D.style.visibility = "hidden", Fr(s) && D.classList.add("bloom-ui"), D.src = L, D.load(), s.append(D);
1066
1066
  };
1067
1067
  c(
1068
1068
  s.getAttribute("data-correct-sound"),
1069
- Fr
1069
+ Vr
1070
1070
  ), c(
1071
1071
  s.getAttribute("data-wrong-sound"),
1072
- _r
1072
+ $r
1073
1073
  );
1074
1074
  }
1075
- function js(s, c, d) {
1075
+ function Fs(s, c, d) {
1076
1076
  let h = s.getAttribute(
1077
1077
  c ? "data-correct-sound" : "data-wrong-sound"
1078
1078
  );
1079
1079
  const T = h !== null;
1080
- h === null ? h = c ? Fr : _r : h === "none" && (h = void 0), h ? lo(s, h, T, d) : d?.();
1080
+ h === null ? h = c ? Vr : $r : h === "none" && (h = void 0), h ? uo(s, h, T, d) : d?.();
1081
1081
  }
1082
- function Ws(s, c) {
1083
- jt(s, "drag-activity-correct", c), jt(s, "drag-activity-wrong", !c), js(s, c, () => {
1082
+ function _s(s, c) {
1083
+ jt(s, "drag-activity-correct", c), jt(s, "drag-activity-wrong", !c), Fs(s, c, () => {
1084
+ if (!s.parentElement?.classList.contains(
1085
+ c ? "drag-activity-correct" : "drag-activity-wrong"
1086
+ ))
1087
+ return;
1084
1088
  const h = Array.from(
1085
1089
  s.getElementsByClassName(
1086
1090
  c ? "drag-item-correct" : "drag-item-wrong"
1087
1091
  )
1088
- ), T = [], A = [];
1092
+ ), T = [], L = [];
1089
1093
  h.forEach((D) => {
1090
- T.push(..._i(D)), A.push(...Array.from(D.getElementsByTagName("video")));
1094
+ T.push(...Vi(D)), L.push(...Array.from(D.getElementsByTagName("video")));
1091
1095
  });
1092
- const z = Wr(T);
1093
- qr(A, () => gi(z, s));
1096
+ const z = _r(T);
1097
+ jr(L, () => gi(z, s));
1094
1098
  });
1095
1099
  }
1096
- function lo(s, c, d = !0, h) {
1097
- const T = (d ? Nr() + "/audio/" : "") + c, A = Array.from(
1098
- s.querySelectorAll(`audio[${Vr}]`)
1100
+ function uo(s, c, d = !0, h) {
1101
+ const T = (d ? Pr() + "/audio/" : "") + c, L = Array.from(
1102
+ s.querySelectorAll(`audio[${Xr}]`)
1099
1103
  ).find((_) => _.dataset.preloadSound === T);
1100
1104
  let z;
1101
- A ? (delete A.dataset.preloadSound, A.currentTime = 0, z = A) : (z = new Audio(T), jr(s) && z.classList.add("bloom-ui"), z.style.visibility = "hidden", s.append(z));
1105
+ L ? (delete L.dataset.preloadSound, L.currentTime = 0, z = L) : (z = new Audio(T), Fr(s) && z.classList.add("bloom-ui"), z.style.visibility = "hidden", s.append(z));
1102
1106
  let D = !1;
1103
- const L = () => {
1107
+ const k = () => {
1104
1108
  D || (D = !0, h?.());
1105
1109
  };
1106
1110
  z.play()?.catch(() => {
1107
- L();
1111
+ k();
1108
1112
  }), z.addEventListener(
1109
1113
  "ended",
1110
1114
  () => {
1111
- s.removeChild(z), L();
1115
+ s.removeChild(z), k();
1112
1116
  },
1113
1117
  { once: !0 }
1114
1118
  ), z.addEventListener(
1115
1119
  "error",
1116
1120
  () => {
1117
- z.parentElement === s && s.removeChild(z), L();
1121
+ z.parentElement === s && s.removeChild(z), k();
1118
1122
  },
1119
1123
  { once: !0 }
1120
1124
  );
1121
1125
  }
1122
- function Fs(s) {
1126
+ function Vs(s) {
1123
1127
  let c = !0;
1124
1128
  const d = Array.from(
1125
1129
  s.querySelectorAll("[data-draggable-id]")
1126
1130
  );
1127
1131
  return d.forEach((h) => {
1128
- const T = h.getAttribute("data-draggable-id"), A = s.querySelector(
1132
+ const T = h.getAttribute("data-draggable-id"), L = s.querySelector(
1129
1133
  `[data-target-of="${T}"]`
1130
1134
  );
1131
- if (A && !kr(h, A)) {
1135
+ if (L && !Lr(h, L)) {
1132
1136
  if (!Array.from(h.children).some(
1133
1137
  (D) => D.classList.contains("bloom-translationGroup")
1134
1138
  )) {
1135
1139
  c = !1;
1136
1140
  return;
1137
1141
  }
1138
- const z = Tn(h);
1139
- d.some((D) => D === h || Tn(D) !== z ? !1 : kr(D, A)) || (c = !1);
1142
+ const z = En(h);
1143
+ d.some((D) => D === h || En(D) !== z ? !1 : Lr(D, L)) || (c = !1);
1140
1144
  }
1141
1145
  }), c;
1142
1146
  }
1143
- let qe, Lr = 0;
1144
- const co = 5;
1145
- function _s(s) {
1147
+ let qe, Nr = 0;
1148
+ const fo = 5;
1149
+ function $s(s) {
1146
1150
  if (s.button !== 0 || s.ctrlKey) return;
1147
- fe = s.currentTarget, Lr = fe.offsetWidth;
1148
- const c = fe.closest(".bloom-page"), d = Xi(c);
1149
- Vi = s.clientX / d - fe.offsetLeft, $i = s.clientY / d - fe.offsetTop, Fe = fe.ownerDocument.createElement("div"), fe.classList.forEach(
1151
+ fe = s.currentTarget, Nr = fe.offsetWidth;
1152
+ const c = fe.closest(".bloom-page"), d = Yi(c);
1153
+ $i = s.clientX / d - fe.offsetLeft, Xi = s.clientY / d - fe.offsetTop, Fe = fe.ownerDocument.createElement("div"), fe.classList.forEach(
1150
1154
  (h) => Fe.classList.add(h)
1151
1155
  ), Fe.textContent = fe.textContent, Fe.style.position = "absolute", Fe.style.left = fe.offsetLeft + "px", Fe.style.top = fe.offsetTop + "px", Fe.setAttribute(
1152
1156
  "lang",
1153
1157
  fe.getAttribute("lang")
1154
- ), qe = po(fe), qe.style.width = Lr + co + "px", fe.parentElement?.insertBefore(
1158
+ ), qe = mo(fe), qe.style.width = Nr + fo + "px", fe.parentElement?.insertBefore(
1155
1159
  qe,
1156
1160
  fe
1157
- ), fe.style.display = "none", fe.setPointerCapture(s.pointerId), fe.addEventListener("pointerup", ho), fe.addEventListener("pointermove", fo), fe.addEventListener("touchstart", uo), fe.parentElement?.appendChild(Fe);
1161
+ ), fe.style.display = "none", fe.setPointerCapture(s.pointerId), fe.addEventListener("pointerup", go), fe.addEventListener("pointermove", po), fe.addEventListener("touchstart", ho), fe.parentElement?.appendChild(Fe);
1158
1162
  }
1159
- const uo = (s) => {
1163
+ const ho = (s) => {
1160
1164
  s.preventDefault();
1161
1165
  };
1162
- let Sn;
1163
- const fo = (s) => {
1164
- const c = Fe.closest(".bloom-page"), d = Xi(c);
1166
+ let Cn;
1167
+ const po = (s) => {
1168
+ const c = Fe.closest(".bloom-page"), d = Yi(c);
1165
1169
  s.preventDefault();
1166
- const h = s.clientX / d - Vi, T = s.clientY / d - $i;
1167
- if (Fe.style.top = T + "px", Fe.style.left = h + "px", Li)
1170
+ const h = s.clientX / d - $i, T = s.clientY / d - Xi;
1171
+ if (Fe.style.top = T + "px", Fe.style.left = h + "px", Ni)
1168
1172
  return;
1169
- const A = fe.parentElement, z = Array.from(A.children).find((D) => {
1170
- const L = D.getBoundingClientRect();
1171
- return D !== fe && D !== qe && D !== Fe && s.clientX > L.left && s.clientX < L.right && s.clientY > L.top && s.clientY < L.bottom;
1173
+ const L = fe.parentElement, z = Array.from(L.children).find((D) => {
1174
+ const k = D.getBoundingClientRect();
1175
+ return D !== fe && D !== qe && D !== Fe && s.clientX > k.left && s.clientX < k.right && s.clientY > k.top && s.clientY < k.bottom;
1172
1176
  });
1173
- if (z && z !== Sn) {
1174
- const D = Array.from(A.children);
1175
- D.indexOf(z) > D.indexOf(qe) ? br(() => {
1176
- A.insertBefore(
1177
+ if (z && z !== Cn) {
1178
+ const D = Array.from(L.children);
1179
+ D.indexOf(z) > D.indexOf(qe) ? wr(() => {
1180
+ L.insertBefore(
1177
1181
  qe,
1178
1182
  z.nextSibling
1179
1183
  );
1180
- }) : br(() => {
1181
- A.insertBefore(qe, z);
1184
+ }) : wr(() => {
1185
+ L.insertBefore(qe, z);
1182
1186
  });
1183
1187
  } else {
1184
1188
  const D = Array.from(
@@ -1188,66 +1192,66 @@ const fo = (s) => {
1188
1192
  ).filter(
1189
1193
  (_) => _ !== fe && _ !== qe && _ !== Fe
1190
1194
  ), q = D[D.length - 1].getBoundingClientRect();
1191
- (s.clientY > q.bottom || s.clientX > q.right && s.clientY > q.top) && br(() => {
1192
- A.appendChild(qe);
1195
+ (s.clientY > q.bottom || s.clientX > q.right && s.clientY > q.top) && wr(() => {
1196
+ L.appendChild(qe);
1193
1197
  });
1194
1198
  }
1195
- Sn = z;
1196
- }, ho = (s) => {
1199
+ Cn = z;
1200
+ }, go = (s) => {
1197
1201
  s.preventDefault(), fe.style.visibility = "visible", fe.removeEventListener(
1198
1202
  "pointerup",
1199
- ho
1203
+ go
1200
1204
  ), fe.removeEventListener(
1201
1205
  "pointermove",
1202
- fo
1206
+ po
1203
1207
  ), fe.releasePointerCapture(s.pointerId), fe.removeEventListener(
1204
1208
  "touchstart",
1205
- uo
1209
+ ho
1206
1210
  ), Fe.parentElement?.removeChild(Fe), fe.parentElement?.insertBefore(
1207
1211
  fe,
1208
1212
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1209
1213
  qe
1210
1214
  ), fe.parentElement?.removeChild(qe), qe = void 0, fe.style.display = "";
1211
1215
  };
1212
- function po(s) {
1216
+ function mo(s) {
1213
1217
  const c = s.cloneNode(!0);
1214
1218
  return c.style.overflowX = "hidden", c.style.marginRight = "0", c.style.paddingLeft = "0", c.style.paddingRight = "0", c.style.display = "", c.style.visibility = "hidden", c;
1215
1219
  }
1216
- let Li = !1;
1217
- function br(s) {
1218
- Li = !0;
1219
- const c = 200, d = fe.parentElement, h = po(fe);
1220
+ let Ni = !1;
1221
+ function wr(s) {
1222
+ Ni = !0;
1223
+ const c = 200, d = fe.parentElement, h = mo(fe);
1220
1224
  d.insertBefore(h, qe), s();
1221
- const T = Date.now(), A = () => {
1222
- const z = Date.now() - T, D = Math.min(z / c, 1), L = Lr + co;
1225
+ const T = Date.now(), L = () => {
1226
+ const z = Date.now() - T, D = Math.min(z / c, 1), k = Nr + fo;
1223
1227
  if (!qe) {
1224
- d.removeChild(h), Li = !1;
1228
+ d.removeChild(h), Ni = !1;
1225
1229
  return;
1226
1230
  }
1227
- qe.style.width = L * D + "px", h.style.width = L * (1 - D) + "px", D < 1 ? requestAnimationFrame(A) : (d.removeChild(h), qe.style.width = L + "px", Li = !1);
1231
+ qe.style.width = k * D + "px", h.style.width = k * (1 - D) + "px", D < 1 ? requestAnimationFrame(L) : (d.removeChild(h), qe.style.width = k + "px", Ni = !1);
1228
1232
  };
1229
- requestAnimationFrame(A);
1233
+ requestAnimationFrame(L);
1230
1234
  }
1231
- function Vs(s) {
1235
+ function Xs(s) {
1232
1236
  const c = s.getElementsByClassName("drag-item-random-sentence");
1233
1237
  for (let d = 0; d < c.length; d++) {
1234
- const h = c[d], T = h.getAttribute("data-answer").split(" "), A = Array.from(h.children);
1235
- for (let z = 0; z < A.length; z++)
1236
- if (A[z].textContent !== T[z])
1238
+ const h = c[d], T = h.getAttribute("data-answer").split(" "), L = Array.from(h.children);
1239
+ for (let z = 0; z < L.length; z++)
1240
+ if (L[z].textContent !== T[z])
1237
1241
  return !1;
1238
1242
  }
1239
1243
  return !0;
1240
1244
  }
1241
- const go = (s, c) => {
1245
+ const vo = (s, c) => {
1242
1246
  const d = c.querySelectorAll(":scope [data-draggable-id]");
1243
1247
  s ? d.forEach((h) => {
1244
- $s(h);
1248
+ Ys(h);
1245
1249
  }) : d.forEach((h) => {
1246
- Xs(h);
1250
+ Us(h);
1247
1251
  });
1248
1252
  };
1249
- function $s(s) {
1250
- const c = $r(s);
1253
+ function Ys(s) {
1254
+ const c = Yr(s);
1251
1255
  if (!c)
1252
1256
  return;
1253
1257
  let d = c.ownerDocument.createElement("div");
@@ -1282,42 +1286,42 @@ function $s(s) {
1282
1286
  )[0]), h) {
1283
1287
  const T = d;
1284
1288
  d = c.ownerDocument.createElement("div"), d.appendChild(T), T.classList.add("bloom-targetWrapper"), h.style.width = s.style.width, h.style.height = s.style.height;
1285
- let A = h.getAttribute("data-background");
1286
- A && !h.style.backgroundImage && (A.startsWith("url(") || (A = "url(" + A + ")"), h.style.backgroundImage = A, h.removeAttribute("data-background"));
1289
+ let L = h.getAttribute("data-background");
1290
+ L && !h.style.backgroundImage && (L.startsWith("url(") || (L = "url(" + L + ")"), h.style.backgroundImage = L, h.removeAttribute("data-background"));
1287
1291
  }
1288
1292
  c.innerHTML !== d.innerHTML && (c.innerHTML = d.innerHTML);
1289
1293
  }
1290
- const $r = (s) => {
1294
+ const Yr = (s) => {
1291
1295
  const c = s.getAttribute("data-draggable-id");
1292
1296
  if (c)
1293
1297
  return s.closest(".bloom-page").querySelector(`[data-target-of="${c}"]`);
1294
1298
  };
1295
- function Xs(s) {
1296
- const c = $r(s);
1299
+ function Us(s) {
1300
+ const c = Yr(s);
1297
1301
  c && (c.innerHTML = "");
1298
1302
  }
1299
- let wa = !1;
1300
- function xa(s) {
1303
+ let Ta = !1;
1304
+ function Sa(s) {
1301
1305
  }
1302
- function Ys(s) {
1306
+ function Gs(s) {
1303
1307
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
1304
1308
  }
1305
- var Ni = { exports: {} };
1306
- var Us = Ni.exports, En;
1307
- function mo() {
1308
- return En || (En = 1, (function(s) {
1309
+ var Pi = { exports: {} };
1310
+ var Zs = Pi.exports, An;
1311
+ function yo() {
1312
+ return An || (An = 1, (function(s) {
1309
1313
  (function(c, d) {
1310
1314
  s.exports = c.document ? d(c, !0) : function(h) {
1311
1315
  if (!h.document)
1312
1316
  throw new Error("jQuery requires a window with a document");
1313
1317
  return d(h);
1314
1318
  };
1315
- })(typeof window < "u" ? window : Us, function(c, d) {
1316
- var h = [], T = Object.getPrototypeOf, A = h.slice, z = h.flat ? function(t) {
1319
+ })(typeof window < "u" ? window : Zs, function(c, d) {
1320
+ var h = [], T = Object.getPrototypeOf, L = h.slice, z = h.flat ? function(t) {
1317
1321
  return h.flat.call(t);
1318
1322
  } : function(t) {
1319
1323
  return h.concat.apply([], t);
1320
- }, D = h.push, L = h.indexOf, q = {}, _ = q.toString, we = q.hasOwnProperty, Q = we.toString, _e = Q.call(Object), V = {}, G = function(i) {
1324
+ }, D = h.push, k = h.indexOf, q = {}, _ = q.toString, ye = q.hasOwnProperty, Q = ye.toString, _e = Q.call(Object), V = {}, G = function(i) {
1321
1325
  return typeof i == "function" && typeof i.nodeType != "number" && typeof i.item != "function";
1322
1326
  }, Ee = function(i) {
1323
1327
  return i != null && i === i.window;
@@ -1348,12 +1352,12 @@ function mo() {
1348
1352
  // The default length of a jQuery object is 0
1349
1353
  length: 0,
1350
1354
  toArray: function() {
1351
- return A.call(this);
1355
+ return L.call(this);
1352
1356
  },
1353
1357
  // Get the Nth element in the matched element set OR
1354
1358
  // Get the whole matched element set as a clean array
1355
1359
  get: function(t) {
1356
- return t == null ? A.call(this) : t < 0 ? this[t + this.length] : this[t];
1360
+ return t == null ? L.call(this) : t < 0 ? this[t + this.length] : this[t];
1357
1361
  },
1358
1362
  // Take an array of elements and push it onto the stack
1359
1363
  // (returning the new matched element set)
@@ -1371,7 +1375,7 @@ function mo() {
1371
1375
  }));
1372
1376
  },
1373
1377
  slice: function() {
1374
- return this.pushStack(A.apply(this, arguments));
1378
+ return this.pushStack(L.apply(this, arguments));
1375
1379
  },
1376
1380
  first: function() {
1377
1381
  return this.eq(0);
@@ -1420,7 +1424,7 @@ function mo() {
1420
1424
  },
1421
1425
  isPlainObject: function(t) {
1422
1426
  var i, r;
1423
- return !t || _.call(t) !== "[object Object]" ? !1 : (i = T(t), i ? (r = we.call(i, "constructor") && i.constructor, typeof r == "function" && Q.call(r) === _e) : !0);
1427
+ return !t || _.call(t) !== "[object Object]" ? !1 : (i = T(t), i ? (r = ye.call(i, "constructor") && i.constructor, typeof r == "function" && Q.call(r) === _e) : !0);
1424
1428
  },
1425
1429
  isEmptyObject: function(t) {
1426
1430
  var i;
@@ -1461,7 +1465,7 @@ function mo() {
1461
1465
  ) : D.call(r, t)), r;
1462
1466
  },
1463
1467
  inArray: function(t, i, r) {
1464
- return i == null ? -1 : L.call(i, t, r);
1468
+ return i == null ? -1 : k.call(i, t, r);
1465
1469
  },
1466
1470
  isXMLDoc: function(t) {
1467
1471
  var i = t && t.namespaceURI, r = t && (t.ownerDocument || t).documentElement;
@@ -1508,7 +1512,7 @@ function mo() {
1508
1512
  function me(t, i) {
1509
1513
  return t.nodeName && t.nodeName.toLowerCase() === i.toLowerCase();
1510
1514
  }
1511
- var Wt = h.pop, Yi = h.sort, Ui = h.splice, j = "[\\x20\\t\\r\\n\\f]", C = new RegExp(
1515
+ var Wt = h.pop, Ui = h.sort, Gi = h.splice, j = "[\\x20\\t\\r\\n\\f]", C = new RegExp(
1512
1516
  "^" + j + "+|((?:^|[^\\\\])(?:\\\\.)*)" + j + "+$",
1513
1517
  "g"
1514
1518
  );
@@ -1527,11 +1531,11 @@ function mo() {
1527
1531
  };
1528
1532
  var g = U, De = D;
1529
1533
  (function() {
1530
- var t, i, r, n, a, l = De, u, y, m, w, P, O = o.expando, k = 0, R = 0, ie = xi(), de = xi(), ne = xi(), Oe = xi(), Pe = function(p, b) {
1534
+ var t, i, r, n, a, l = De, u, y, m, w, P, O = o.expando, A = 0, R = 0, ie = xi(), de = xi(), ne = xi(), Oe = xi(), Pe = function(p, b) {
1531
1535
  return p === b && (a = !0), 0;
1532
1536
  }, ct = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ut = "(?:\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", ce = "\\[" + j + "*(" + ut + ")(?:" + j + // Operator (capture 2)
1533
1537
  "*([*^$|!~]?=)" + j + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
1534
- `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + ut + "))|)" + j + "*\\]", qt = ":(" + ut + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + ce + ")*)|.*)\\)|)", he = new RegExp(j + "+", "g"), Se = new RegExp("^" + j + "*," + j + "*"), li = new RegExp("^" + j + "*([>+~]|" + j + ")" + j + "*"), ur = new RegExp(j + "|>"), ft = new RegExp(qt), ci = new RegExp("^" + ut + "$"), dt = {
1538
+ `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + ut + "))|)" + j + "*\\]", qt = ":(" + ut + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + ce + ")*)|.*)\\)|)", he = new RegExp(j + "+", "g"), Se = new RegExp("^" + j + "*," + j + "*"), li = new RegExp("^" + j + "*([>+~]|" + j + ")" + j + "*"), fr = new RegExp(j + "|>"), ft = new RegExp(qt), ci = new RegExp("^" + ut + "$"), dt = {
1535
1539
  ID: new RegExp("^#(" + ut + ")"),
1536
1540
  CLASS: new RegExp("^\\.(" + ut + ")"),
1537
1541
  TAG: new RegExp("^(" + ut + "|[*])"),
@@ -1545,18 +1549,18 @@ function mo() {
1545
1549
  // For use in libraries implementing .is()
1546
1550
  // We use this for POS matching in `select`
1547
1551
  needsContext: new RegExp("^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)", "i")
1548
- }, Ct = /^(?:input|select|textarea|button)$/i, At = /^h\d$/i, it = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, fr = /[+~]/, yt = new RegExp("\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\([^\\r\\n\\f])", "g"), bt = function(p, b) {
1552
+ }, Ct = /^(?:input|select|textarea|button)$/i, At = /^h\d$/i, it = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, dr = /[+~]/, yt = new RegExp("\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\([^\\r\\n\\f])", "g"), bt = function(p, b) {
1549
1553
  var E = "0x" + p.slice(1) - 65536;
1550
1554
  return b || (E < 0 ? String.fromCharCode(E + 65536) : String.fromCharCode(E >> 10 | 55296, E & 1023 | 56320));
1551
- }, Ko = function() {
1555
+ }, Qo = function() {
1552
1556
  kt();
1553
- }, Jo = Si(
1557
+ }, es = Si(
1554
1558
  function(p) {
1555
1559
  return p.disabled === !0 && me(p, "fieldset");
1556
1560
  },
1557
1561
  { dir: "parentNode", next: "legend" }
1558
1562
  );
1559
- function Qo() {
1563
+ function ts() {
1560
1564
  try {
1561
1565
  return u.activeElement;
1562
1566
  } catch {
@@ -1564,20 +1568,20 @@ function mo() {
1564
1568
  }
1565
1569
  try {
1566
1570
  l.apply(
1567
- h = A.call(g.childNodes),
1571
+ h = L.call(g.childNodes),
1568
1572
  g.childNodes
1569
1573
  ), h[g.childNodes.length].nodeType;
1570
1574
  } catch {
1571
1575
  l = {
1572
1576
  apply: function(b, E) {
1573
- De.apply(b, A.call(E));
1577
+ De.apply(b, L.call(E));
1574
1578
  },
1575
1579
  call: function(b) {
1576
- De.apply(b, A.call(arguments, 1));
1580
+ De.apply(b, L.call(arguments, 1));
1577
1581
  }
1578
1582
  };
1579
1583
  }
1580
- function ye(p, b, E, N) {
1584
+ function be(p, b, E, N) {
1581
1585
  var I, F, $, Y, X, se, te, re = b && b.ownerDocument, ae = b ? b.nodeType : 9;
1582
1586
  if (E = E || [], typeof p != "string" || !p || ae !== 1 && ae !== 9 && ae !== 11)
1583
1587
  return E;
@@ -1590,7 +1594,7 @@ function mo() {
1590
1594
  return l.call(E, $), E;
1591
1595
  } else
1592
1596
  return E;
1593
- else if (re && ($ = re.getElementById(I)) && ye.contains(b, $) && $.id === I)
1597
+ else if (re && ($ = re.getElementById(I)) && be.contains(b, $) && $.id === I)
1594
1598
  return l.call(E, $), E;
1595
1599
  } else {
1596
1600
  if (X[2])
@@ -1599,8 +1603,8 @@ function mo() {
1599
1603
  return l.apply(E, b.getElementsByClassName(I)), E;
1600
1604
  }
1601
1605
  if (!Oe[p + " "] && (!w || !w.test(p))) {
1602
- if (te = p, re = b, ae === 1 && (ur.test(p) || li.test(p))) {
1603
- for (re = fr.test(p) && dr(b.parentNode) || b, (re != b || !V.scope) && ((Y = b.getAttribute("id")) ? Y = o.escapeSelector(Y) : b.setAttribute("id", Y = O)), se = ui(p), F = se.length; F--; )
1606
+ if (te = p, re = b, ae === 1 && (fr.test(p) || li.test(p))) {
1607
+ for (re = dr.test(p) && hr(b.parentNode) || b, (re != b || !V.scope) && ((Y = b.getAttribute("id")) ? Y = o.escapeSelector(Y) : b.setAttribute("id", Y = O)), se = ui(p), F = se.length; F--; )
1604
1608
  se[F] = (Y ? "#" + Y : ":scope") + " " + Ti(se[F]);
1605
1609
  te = se.join(",");
1606
1610
  }
@@ -1616,7 +1620,7 @@ function mo() {
1616
1620
  }
1617
1621
  }
1618
1622
  }
1619
- return bn(p.replace(C, "$1"), b, E, N);
1623
+ return xn(p.replace(C, "$1"), b, E, N);
1620
1624
  }
1621
1625
  function xi() {
1622
1626
  var p = [];
@@ -1638,20 +1642,20 @@ function mo() {
1638
1642
  b.parentNode && b.parentNode.removeChild(b), b = null;
1639
1643
  }
1640
1644
  }
1641
- function es(p) {
1645
+ function is(p) {
1642
1646
  return function(b) {
1643
1647
  return me(b, "input") && b.type === p;
1644
1648
  };
1645
1649
  }
1646
- function ts(p) {
1650
+ function rs(p) {
1647
1651
  return function(b) {
1648
1652
  return (me(b, "input") || me(b, "button")) && b.type === p;
1649
1653
  };
1650
1654
  }
1651
- function vn(p) {
1655
+ function bn(p) {
1652
1656
  return function(b) {
1653
1657
  return "form" in b ? b.parentNode && b.disabled === !1 ? "label" in b ? "label" in b.parentNode ? b.parentNode.disabled === p : b.disabled === p : b.isDisabled === p || // Where there is no isDisabled, check manually
1654
- b.isDisabled !== !p && Jo(b) === p : b.disabled === p : "label" in b ? b.disabled === p : !1;
1658
+ b.isDisabled !== !p && es(b) === p : b.disabled === p : "label" in b ? b.disabled === p : !1;
1655
1659
  };
1656
1660
  }
1657
1661
  function Rt(p) {
@@ -1662,7 +1666,7 @@ function mo() {
1662
1666
  });
1663
1667
  });
1664
1668
  }
1665
- function dr(p) {
1669
+ function hr(p) {
1666
1670
  return p && typeof p.getElementsByTagName < "u" && p;
1667
1671
  }
1668
1672
  function kt(p) {
@@ -1671,7 +1675,7 @@ function mo() {
1671
1675
  // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
1672
1676
  // two documents; shallow comparisons work.
1673
1677
  // eslint-disable-next-line eqeqeq
1674
- g != u && (b = u.defaultView) && b.top !== b && b.addEventListener("unload", Ko), V.getById = Yt(function(N) {
1678
+ g != u && (b = u.defaultView) && b.top !== b && b.addEventListener("unload", Qo), V.getById = Yt(function(N) {
1675
1679
  return y.appendChild(N).id = o.expando, !u.getElementsByName || !u.getElementsByName(o.expando).length;
1676
1680
  }), V.disconnectedMatch = Yt(function(N) {
1677
1681
  return P.call(N, "*");
@@ -1726,12 +1730,12 @@ function mo() {
1726
1730
  return F || (F = (N.ownerDocument || N) == (I.ownerDocument || I) ? N.compareDocumentPosition(I) : (
1727
1731
  // Otherwise we know they are disconnected
1728
1732
  1
1729
- ), F & 1 || !V.sortDetached && I.compareDocumentPosition(N) === F ? N === u || N.ownerDocument == g && ye.contains(g, N) ? -1 : I === u || I.ownerDocument == g && ye.contains(g, I) ? 1 : n ? L.call(n, N) - L.call(n, I) : 0 : F & 4 ? -1 : 1);
1733
+ ), F & 1 || !V.sortDetached && I.compareDocumentPosition(N) === F ? N === u || N.ownerDocument == g && be.contains(g, N) ? -1 : I === u || I.ownerDocument == g && be.contains(g, I) ? 1 : n ? k.call(n, N) - k.call(n, I) : 0 : F & 4 ? -1 : 1);
1730
1734
  }), u;
1731
1735
  }
1732
- ye.matches = function(p, b) {
1733
- return ye(p, null, null, b);
1734
- }, ye.matchesSelector = function(p, b) {
1736
+ be.matches = function(p, b) {
1737
+ return be(p, null, null, b);
1738
+ }, be.matchesSelector = function(p, b) {
1735
1739
  if (kt(p), m && !Oe[b + " "] && (!w || !w.test(b)))
1736
1740
  try {
1737
1741
  var E = P.call(p, b);
@@ -1742,26 +1746,26 @@ function mo() {
1742
1746
  } catch {
1743
1747
  Oe(b, !0);
1744
1748
  }
1745
- return ye(b, u, null, [p]).length > 0;
1746
- }, ye.contains = function(p, b) {
1749
+ return be(b, u, null, [p]).length > 0;
1750
+ }, be.contains = function(p, b) {
1747
1751
  return (p.ownerDocument || p) != u && kt(p), o.contains(p, b);
1748
- }, ye.attr = function(p, b) {
1752
+ }, be.attr = function(p, b) {
1749
1753
  (p.ownerDocument || p) != u && kt(p);
1750
- var E = i.attrHandle[b.toLowerCase()], N = E && we.call(i.attrHandle, b.toLowerCase()) ? E(p, b, !m) : void 0;
1754
+ var E = i.attrHandle[b.toLowerCase()], N = E && ye.call(i.attrHandle, b.toLowerCase()) ? E(p, b, !m) : void 0;
1751
1755
  return N !== void 0 ? N : p.getAttribute(b);
1752
- }, ye.error = function(p) {
1756
+ }, be.error = function(p) {
1753
1757
  throw new Error("Syntax error, unrecognized expression: " + p);
1754
1758
  }, o.uniqueSort = function(p) {
1755
1759
  var b, E = [], N = 0, I = 0;
1756
- if (a = !V.sortStable, n = !V.sortStable && A.call(p, 0), Yi.call(p, Pe), a) {
1760
+ if (a = !V.sortStable, n = !V.sortStable && L.call(p, 0), Ui.call(p, Pe), a) {
1757
1761
  for (; b = p[I++]; )
1758
1762
  b === p[I] && (N = E.push(I));
1759
1763
  for (; N--; )
1760
- Ui.call(p, E[N], 1);
1764
+ Gi.call(p, E[N], 1);
1761
1765
  }
1762
1766
  return n = null, p;
1763
1767
  }, o.fn.uniqueSort = function() {
1764
- return this.pushStack(o.uniqueSort(A.apply(this)));
1768
+ return this.pushStack(o.uniqueSort(L.apply(this)));
1765
1769
  }, i = o.expr = {
1766
1770
  // Can be adjusted by the user
1767
1771
  cacheLength: 50,
@@ -1780,7 +1784,7 @@ function mo() {
1780
1784
  return p[1] = p[1].replace(yt, bt), p[3] = (p[3] || p[4] || p[5] || "").replace(yt, bt), p[2] === "~=" && (p[3] = " " + p[3] + " "), p.slice(0, 4);
1781
1785
  },
1782
1786
  CHILD: function(p) {
1783
- return p[1] = p[1].toLowerCase(), p[1].slice(0, 3) === "nth" ? (p[3] || ye.error(p[0]), p[4] = +(p[4] ? p[5] + (p[6] || 1) : 2 * (p[3] === "even" || p[3] === "odd")), p[5] = +(p[7] + p[8] || p[3] === "odd")) : p[3] && ye.error(p[0]), p;
1787
+ return p[1] = p[1].toLowerCase(), p[1].slice(0, 3) === "nth" ? (p[3] || be.error(p[0]), p[4] = +(p[4] ? p[5] + (p[6] || 1) : 2 * (p[3] === "even" || p[3] === "odd")), p[5] = +(p[7] + p[8] || p[3] === "odd")) : p[3] && be.error(p[0]), p;
1784
1788
  },
1785
1789
  PSEUDO: function(p) {
1786
1790
  var b, E = !p[6] && p[2];
@@ -1808,7 +1812,7 @@ function mo() {
1808
1812
  },
1809
1813
  ATTR: function(p, b, E) {
1810
1814
  return function(N) {
1811
- var I = ye.attr(N, p);
1815
+ var I = be.attr(N, p);
1812
1816
  return I == null ? b === "!=" : b ? (I += "", b === "=" ? I === E : b === "!=" ? I !== E : b === "^=" ? E && I.indexOf(E) === 0 : b === "*=" ? E && I.indexOf(E) > -1 : b === "$=" ? E && I.slice(-E.length) === E : b === "~=" ? (" " + I.replace(he, " ") + " ").indexOf(E) > -1 : b === "|=" ? I === E || I.slice(0, E.length + 1) === E + "-" : !1) : !0;
1813
1817
  };
1814
1818
  },
@@ -1832,24 +1836,24 @@ function mo() {
1832
1836
  return !0;
1833
1837
  }
1834
1838
  if (Ue = [$ ? rt.firstChild : rt.lastChild], $ && Ut) {
1835
- for (ae = rt[O] || (rt[O] = {}), re = ae[p] || [], xe = re[0] === k && re[1], We = xe && re[2], J = xe && rt.childNodes[xe]; J = ++xe && J && J[Be] || // Fallback to seeking `elem` from the start
1839
+ for (ae = rt[O] || (rt[O] = {}), re = ae[p] || [], xe = re[0] === A && re[1], We = xe && re[2], J = xe && rt.childNodes[xe]; J = ++xe && J && J[Be] || // Fallback to seeking `elem` from the start
1836
1840
  (We = xe = 0) || Ue.pop(); )
1837
1841
  if (J.nodeType === 1 && ++We && J === X) {
1838
- ae[p] = [k, xe, We];
1842
+ ae[p] = [A, xe, We];
1839
1843
  break;
1840
1844
  }
1841
- } else if (Ut && (ae = X[O] || (X[O] = {}), re = ae[p] || [], xe = re[0] === k && re[1], We = xe), We === !1)
1842
- for (; (J = ++xe && J && J[Be] || (We = xe = 0) || Ue.pop()) && !((Y ? me(J, ht) : J.nodeType === 1) && ++We && (Ut && (ae = J[O] || (J[O] = {}), ae[p] = [k, We]), J === X)); )
1845
+ } else if (Ut && (ae = X[O] || (X[O] = {}), re = ae[p] || [], xe = re[0] === A && re[1], We = xe), We === !1)
1846
+ for (; (J = ++xe && J && J[Be] || (We = xe = 0) || Ue.pop()) && !((Y ? me(J, ht) : J.nodeType === 1) && ++We && (Ut && (ae = J[O] || (J[O] = {}), ae[p] = [A, We]), J === X)); )
1843
1847
  ;
1844
1848
  return We -= I, We === N || We % N === 0 && We / N >= 0;
1845
1849
  }
1846
1850
  };
1847
1851
  },
1848
1852
  PSEUDO: function(p, b) {
1849
- var E, N = i.pseudos[p] || i.setFilters[p.toLowerCase()] || ye.error("unsupported pseudo: " + p);
1853
+ var E, N = i.pseudos[p] || i.setFilters[p.toLowerCase()] || be.error("unsupported pseudo: " + p);
1850
1854
  return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ? st(function(I, F) {
1851
1855
  for (var $, Y = N(I, b), X = Y.length; X--; )
1852
- $ = L.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
1856
+ $ = k.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
1853
1857
  }) : function(I) {
1854
1858
  return N(I, 0, E);
1855
1859
  }) : N;
@@ -1858,7 +1862,7 @@ function mo() {
1858
1862
  pseudos: {
1859
1863
  // Potentially complex pseudos
1860
1864
  not: st(function(p) {
1861
- var b = [], E = [], N = mr(p.replace(C, "$1"));
1865
+ var b = [], E = [], N = vr(p.replace(C, "$1"));
1862
1866
  return N[O] ? st(function(I, F, $, Y) {
1863
1867
  for (var X, se = N(I, null, Y, []), te = I.length; te--; )
1864
1868
  (X = se[te]) && (I[te] = !(F[te] = X));
@@ -1868,7 +1872,7 @@ function mo() {
1868
1872
  }),
1869
1873
  has: st(function(p) {
1870
1874
  return function(b) {
1871
- return ye(p, b).length > 0;
1875
+ return be(p, b).length > 0;
1872
1876
  };
1873
1877
  }),
1874
1878
  contains: st(function(p) {
@@ -1884,7 +1888,7 @@ function mo() {
1884
1888
  // The identifier C does not have to be a valid language name."
1885
1889
  // https://www.w3.org/TR/selectors/#lang-pseudo
1886
1890
  lang: st(function(p) {
1887
- return ci.test(p || "") || ye.error("unsupported lang: " + p), p = p.replace(yt, bt).toLowerCase(), function(b) {
1891
+ return ci.test(p || "") || be.error("unsupported lang: " + p), p = p.replace(yt, bt).toLowerCase(), function(b) {
1888
1892
  var E;
1889
1893
  do
1890
1894
  if (E = m ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))
@@ -1902,11 +1906,11 @@ function mo() {
1902
1906
  return p === y;
1903
1907
  },
1904
1908
  focus: function(p) {
1905
- return p === Qo() && u.hasFocus() && !!(p.type || p.href || ~p.tabIndex);
1909
+ return p === ts() && u.hasFocus() && !!(p.type || p.href || ~p.tabIndex);
1906
1910
  },
1907
1911
  // Boolean properties
1908
- enabled: vn(!1),
1909
- disabled: vn(!0),
1912
+ enabled: bn(!1),
1913
+ disabled: bn(!0),
1910
1914
  checked: function(p) {
1911
1915
  return me(p, "input") && !!p.checked || me(p, "option") && !!p.selected;
1912
1916
  },
@@ -1974,12 +1978,12 @@ function mo() {
1974
1978
  }
1975
1979
  }, i.pseudos.nth = i.pseudos.eq;
1976
1980
  for (t in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
1977
- i.pseudos[t] = es(t);
1981
+ i.pseudos[t] = is(t);
1978
1982
  for (t in { submit: !0, reset: !0 })
1979
- i.pseudos[t] = ts(t);
1980
- function yn() {
1983
+ i.pseudos[t] = rs(t);
1984
+ function wn() {
1981
1985
  }
1982
- yn.prototype = i.filters = i.pseudos, i.setFilters = new yn();
1986
+ wn.prototype = i.filters = i.pseudos, i.setFilters = new wn();
1983
1987
  function ui(p, b) {
1984
1988
  var E, N, I, F, $, Y, X, se = de[p + " "];
1985
1989
  if (se)
@@ -1999,7 +2003,7 @@ function mo() {
1999
2003
  if (!E)
2000
2004
  break;
2001
2005
  }
2002
- return b ? $.length : $ ? ye.error(p) : (
2006
+ return b ? $.length : $ ? be.error(p) : (
2003
2007
  // Cache the tokens
2004
2008
  de(p, Y).slice(0)
2005
2009
  );
@@ -2022,7 +2026,7 @@ function mo() {
2022
2026
  ) : (
2023
2027
  // Check against all ancestor/preceding elements
2024
2028
  function(X, se, te) {
2025
- var re, ae, J = [k, Y];
2029
+ var re, ae, J = [A, Y];
2026
2030
  if (te) {
2027
2031
  for (; X = X[N]; )
2028
2032
  if ((X.nodeType === 1 || $) && p(X, se, te))
@@ -2033,7 +2037,7 @@ function mo() {
2033
2037
  if (ae = X[O] || (X[O] = {}), I && me(X, I))
2034
2038
  X = X[N] || X;
2035
2039
  else {
2036
- if ((re = ae[F]) && re[0] === k && re[1] === Y)
2040
+ if ((re = ae[F]) && re[0] === A && re[1] === Y)
2037
2041
  return J[2] = re[2];
2038
2042
  if (ae[F] = J, J[2] = p(X, se, te))
2039
2043
  return !0;
@@ -2042,7 +2046,7 @@ function mo() {
2042
2046
  }
2043
2047
  );
2044
2048
  }
2045
- function hr(p) {
2049
+ function pr(p) {
2046
2050
  return p.length > 1 ? function(b, E, N) {
2047
2051
  for (var I = p.length; I--; )
2048
2052
  if (!p[I](b, E, N))
@@ -2050,9 +2054,9 @@ function mo() {
2050
2054
  return !0;
2051
2055
  } : p[0];
2052
2056
  }
2053
- function is(p, b, E) {
2057
+ function ns(p, b, E) {
2054
2058
  for (var N = 0, I = b.length; N < I; N++)
2055
- ye(p, b[N], E);
2059
+ be(p, b[N], E);
2056
2060
  return E;
2057
2061
  }
2058
2062
  function Ei(p, b, E, N, I) {
@@ -2060,9 +2064,9 @@ function mo() {
2060
2064
  (F = p[Y]) && (!E || E(F, N, I)) && ($.push(F), se && b.push(Y));
2061
2065
  return $;
2062
2066
  }
2063
- function pr(p, b, E, N, I, F) {
2064
- return N && !N[O] && (N = pr(N)), I && !I[O] && (I = pr(I, F)), st(function($, Y, X, se) {
2065
- var te, re, ae, J, xe = [], Ue = [], Be = Y.length, rt = $ || is(
2067
+ function gr(p, b, E, N, I, F) {
2068
+ return N && !N[O] && (N = gr(N)), I && !I[O] && (I = gr(I, F)), st(function($, Y, X, se) {
2069
+ var te, re, ae, J, xe = [], Ue = [], Be = Y.length, rt = $ || ns(
2066
2070
  b || "*",
2067
2071
  X.nodeType ? [X] : X,
2068
2072
  []
@@ -2084,7 +2088,7 @@ function mo() {
2084
2088
  I(null, J = [], te, se);
2085
2089
  }
2086
2090
  for (re = J.length; re--; )
2087
- (ae = J[re]) && (te = I ? L.call($, ae) : xe[re]) > -1 && ($[te] = !(Y[te] = ae));
2091
+ (ae = J[re]) && (te = I ? k.call($, ae) : xe[re]) > -1 && ($[te] = !(Y[te] = ae));
2088
2092
  }
2089
2093
  } else
2090
2094
  J = Ei(
@@ -2092,40 +2096,40 @@ function mo() {
2092
2096
  ), I ? I(null, Y, J, se) : l.apply(Y, J);
2093
2097
  });
2094
2098
  }
2095
- function gr(p) {
2099
+ function mr(p) {
2096
2100
  for (var b, E, N, I = p.length, F = i.relative[p[0].type], $ = F || i.relative[" "], Y = F ? 1 : 0, X = Si(function(re) {
2097
2101
  return re === b;
2098
2102
  }, $, !0), se = Si(function(re) {
2099
- return L.call(b, re) > -1;
2103
+ return k.call(b, re) > -1;
2100
2104
  }, $, !0), te = [function(re, ae, J) {
2101
2105
  var xe = !F && (J || ae != r) || ((b = ae).nodeType ? X(re, ae, J) : se(re, ae, J));
2102
2106
  return b = null, xe;
2103
2107
  }]; Y < I; Y++)
2104
2108
  if (E = i.relative[p[Y].type])
2105
- te = [Si(hr(te), E)];
2109
+ te = [Si(pr(te), E)];
2106
2110
  else {
2107
2111
  if (E = i.filter[p[Y].type].apply(null, p[Y].matches), E[O]) {
2108
2112
  for (N = ++Y; N < I && !i.relative[p[N].type]; N++)
2109
2113
  ;
2110
- return pr(
2111
- Y > 1 && hr(te),
2114
+ return gr(
2115
+ Y > 1 && pr(te),
2112
2116
  Y > 1 && Ti(
2113
2117
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
2114
2118
  p.slice(0, Y - 1).concat({ value: p[Y - 2].type === " " ? "*" : "" })
2115
2119
  ).replace(C, "$1"),
2116
2120
  E,
2117
- Y < N && gr(p.slice(Y, N)),
2118
- N < I && gr(p = p.slice(N)),
2121
+ Y < N && mr(p.slice(Y, N)),
2122
+ N < I && mr(p = p.slice(N)),
2119
2123
  N < I && Ti(p)
2120
2124
  );
2121
2125
  }
2122
2126
  te.push(E);
2123
2127
  }
2124
- return hr(te);
2128
+ return pr(te);
2125
2129
  }
2126
- function rs(p, b) {
2130
+ function os(p, b) {
2127
2131
  var E = b.length > 0, N = p.length > 0, I = function(F, $, Y, X, se) {
2128
- var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [], rt = r, ht = F || N && i.find.TAG("*", se), Ut = k += rt == null ? 1 : Math.random() || 0.1, We = ht.length;
2132
+ var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [], rt = r, ht = F || N && i.find.TAG("*", se), Ut = A += rt == null ? 1 : Math.random() || 0.1, We = ht.length;
2129
2133
  for (se && (r = $ == u || $ || se); xe !== We && (te = ht[xe]) != null; xe++) {
2130
2134
  if (N && te) {
2131
2135
  for (re = 0, !$ && te.ownerDocument != u && (kt(te), Y = !m); ae = p[re++]; )
@@ -2133,7 +2137,7 @@ function mo() {
2133
2137
  l.call(X, te);
2134
2138
  break;
2135
2139
  }
2136
- se && (k = Ut);
2140
+ se && (A = Ut);
2137
2141
  }
2138
2142
  E && ((te = !ae && te) && J--, F && Ue.push(te));
2139
2143
  }
@@ -2148,23 +2152,23 @@ function mo() {
2148
2152
  }
2149
2153
  l.apply(X, Be), se && !F && Be.length > 0 && J + b.length > 1 && o.uniqueSort(X);
2150
2154
  }
2151
- return se && (k = Ut, r = rt), Ue;
2155
+ return se && (A = Ut, r = rt), Ue;
2152
2156
  };
2153
2157
  return E ? st(I) : I;
2154
2158
  }
2155
- function mr(p, b) {
2159
+ function vr(p, b) {
2156
2160
  var E, N = [], I = [], F = ne[p + " "];
2157
2161
  if (!F) {
2158
2162
  for (b || (b = ui(p)), E = b.length; E--; )
2159
- F = gr(b[E]), F[O] ? N.push(F) : I.push(F);
2163
+ F = mr(b[E]), F[O] ? N.push(F) : I.push(F);
2160
2164
  F = ne(
2161
2165
  p,
2162
- rs(I, N)
2166
+ os(I, N)
2163
2167
  ), F.selector = p;
2164
2168
  }
2165
2169
  return F;
2166
2170
  }
2167
- function bn(p, b, E, N) {
2171
+ function xn(p, b, E, N) {
2168
2172
  var I, F, $, Y, X, se = typeof p == "function" && p, te = !N && ui(p = se.selector || p);
2169
2173
  if (E = E || [], te.length === 1) {
2170
2174
  if (F = te[0] = te[0].slice(0), F.length > 2 && ($ = F[0]).type === "ID" && b.nodeType === 9 && m && i.relative[F[1].type]) {
@@ -2179,24 +2183,24 @@ function mo() {
2179
2183
  for (I = dt.needsContext.test(p) ? 0 : F.length; I-- && ($ = F[I], !i.relative[Y = $.type]); )
2180
2184
  if ((X = i.find[Y]) && (N = X(
2181
2185
  $.matches[0].replace(yt, bt),
2182
- fr.test(F[0].type) && dr(b.parentNode) || b
2186
+ dr.test(F[0].type) && hr(b.parentNode) || b
2183
2187
  ))) {
2184
2188
  if (F.splice(I, 1), p = N.length && Ti(F), !p)
2185
2189
  return l.apply(E, N), E;
2186
2190
  break;
2187
2191
  }
2188
2192
  }
2189
- return (se || mr(p, te))(
2193
+ return (se || vr(p, te))(
2190
2194
  N,
2191
2195
  b,
2192
2196
  !m,
2193
2197
  E,
2194
- !b || fr.test(p) && dr(b.parentNode) || b
2198
+ !b || dr.test(p) && hr(b.parentNode) || b
2195
2199
  ), E;
2196
2200
  }
2197
2201
  V.sortStable = O.split("").sort(Pe).join("") === O, kt(), V.sortDetached = Yt(function(p) {
2198
2202
  return p.compareDocumentPosition(u.createElement("fieldset")) & 1;
2199
- }), o.find = ye, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, ye.compile = mr, ye.select = bn, ye.setDocument = kt, ye.tokenize = ui, ye.escape = o.escapeSelector, ye.getText = o.text, ye.isXML = o.isXMLDoc, ye.selectors = o.expr, ye.support = o.support, ye.uniqueSort = o.uniqueSort;
2203
+ }), o.find = be, o.expr[":"] = o.expr.pseudos, o.unique = o.uniqueSort, be.compile = vr, be.select = xn, be.setDocument = kt, be.tokenize = ui, be.escape = o.escapeSelector, be.getText = o.text, be.isXML = o.isXMLDoc, be.selectors = o.expr, be.support = o.support, be.uniqueSort = o.uniqueSort;
2200
2204
  })();
2201
2205
  var ge = function(t, i, r) {
2202
2206
  for (var n = [], a = r !== void 0; (t = t[i]) && t.nodeType !== 9; )
@@ -2217,7 +2221,7 @@ function mo() {
2217
2221
  }) : i.nodeType ? o.grep(t, function(n) {
2218
2222
  return n === i !== r;
2219
2223
  }) : typeof i != "string" ? o.grep(t, function(n) {
2220
- return L.call(i, n) > -1 !== r;
2224
+ return k.call(i, n) > -1 !== r;
2221
2225
  }) : o.filter(i, t, r);
2222
2226
  }
2223
2227
  o.filter = function(t, i, r) {
@@ -2316,7 +2320,7 @@ function mo() {
2316
2320
  },
2317
2321
  // Determine the position of an element within the set
2318
2322
  index: function(t) {
2319
- return t ? typeof t == "string" ? L.call(o(t), this[0]) : L.call(
2323
+ return t ? typeof t == "string" ? k.call(o(t), this[0]) : k.call(
2320
2324
  this,
2321
2325
  // If it receives a jQuery object, the first element is used
2322
2326
  t.jquery ? t[0] : t
@@ -2388,14 +2392,14 @@ function mo() {
2388
2392
  };
2389
2393
  });
2390
2394
  var He = /[^\x20\t\r\n\f]+/g;
2391
- function Gi(t) {
2395
+ function Zi(t) {
2392
2396
  var i = {};
2393
2397
  return o.each(t.match(He) || [], function(r, n) {
2394
2398
  i[n] = !0;
2395
2399
  }), i;
2396
2400
  }
2397
2401
  o.Callbacks = function(t) {
2398
- t = typeof t == "string" ? Gi(t) : o.extend({}, t);
2402
+ t = typeof t == "string" ? Zi(t) : o.extend({}, t);
2399
2403
  var i, r, n, a, l = [], u = [], y = -1, m = function() {
2400
2404
  for (a = a || t.once, n = i = !0; u.length; y = -1)
2401
2405
  for (r = u.shift(); ++y < l.length; )
@@ -2405,7 +2409,7 @@ function mo() {
2405
2409
  // Add a callback or a collection of callbacks to the list
2406
2410
  add: function() {
2407
2411
  return l && (r && !i && (y = l.length - 1, u.push(r)), (function P(O) {
2408
- o.each(O, function(k, R) {
2412
+ o.each(O, function(A, R) {
2409
2413
  G(R) ? (!t.unique || !w.has(R)) && l.push(R) : R && R.length && Ve(R) !== "string" && P(R);
2410
2414
  });
2411
2415
  })(arguments), r && !i && m()), this;
@@ -2413,8 +2417,8 @@ function mo() {
2413
2417
  // Remove a callback from the list
2414
2418
  remove: function() {
2415
2419
  return o.each(arguments, function(P, O) {
2416
- for (var k; (k = o.inArray(O, l, k)) > -1; )
2417
- l.splice(k, 1), k <= y && y--;
2420
+ for (var A; (A = o.inArray(O, l, A)) > -1; )
2421
+ l.splice(A, 1), A <= y && y--;
2418
2422
  }), this;
2419
2423
  },
2420
2424
  // Check if a given callback is in the list.
@@ -2529,12 +2533,12 @@ function mo() {
2529
2533
  },
2530
2534
  then: function(l, u, y) {
2531
2535
  var m = 0;
2532
- function w(P, O, k, R) {
2536
+ function w(P, O, A, R) {
2533
2537
  return function() {
2534
2538
  var ie = this, de = arguments, ne = function() {
2535
2539
  var Pe, ct;
2536
2540
  if (!(P < m)) {
2537
- if (Pe = k.apply(ie, de), Pe === O.promise())
2541
+ if (Pe = A.apply(ie, de), Pe === O.promise())
2538
2542
  throw new TypeError("Thenable self-resolution");
2539
2543
  ct = Pe && // Support: Promises/A+ section 2.3.4
2540
2544
  // https://promisesaplus.com/#point-64
@@ -2553,7 +2557,7 @@ function mo() {
2553
2557
  mt,
2554
2558
  O.notifyWith
2555
2559
  )
2556
- )) : (k !== mt && (ie = void 0, de = [Pe]), (R || O.resolveWith)(ie, de));
2560
+ )) : (A !== mt && (ie = void 0, de = [Pe]), (R || O.resolveWith)(ie, de));
2557
2561
  }
2558
2562
  }, Oe = R ? ne : function() {
2559
2563
  try {
@@ -2562,7 +2566,7 @@ function mo() {
2562
2566
  o.Deferred.exceptionHook && o.Deferred.exceptionHook(
2563
2567
  Pe,
2564
2568
  Oe.error
2565
- ), P + 1 >= m && (k !== Mt && (ie = void 0, de = [Pe]), O.rejectWith(ie, de));
2569
+ ), P + 1 >= m && (A !== Mt && (ie = void 0, de = [Pe]), O.rejectWith(ie, de));
2566
2570
  }
2567
2571
  };
2568
2572
  P ? Oe() : (o.Deferred.getErrorHook ? Oe.error = o.Deferred.getErrorHook() : o.Deferred.getStackHook && (Oe.error = o.Deferred.getStackHook()), c.setTimeout(Oe));
@@ -2620,9 +2624,9 @@ function mo() {
2620
2624
  },
2621
2625
  // Deferred helper
2622
2626
  when: function(t) {
2623
- var i = arguments.length, r = i, n = Array(r), a = A.call(arguments), l = o.Deferred(), u = function(y) {
2627
+ var i = arguments.length, r = i, n = Array(r), a = L.call(arguments), l = o.Deferred(), u = function(y) {
2624
2628
  return function(m) {
2625
- n[y] = this, a[y] = arguments.length > 1 ? A.call(arguments) : m, --i || l.resolveWith(n, a);
2629
+ n[y] = this, a[y] = arguments.length > 1 ? L.call(arguments) : m, --i || l.resolveWith(n, a);
2626
2630
  };
2627
2631
  };
2628
2632
  if (i <= 1 && (_t(
@@ -2675,8 +2679,8 @@ function mo() {
2675
2679
  a = !0;
2676
2680
  for (y in r)
2677
2681
  et(t, i, y, r[y], !0, l, u);
2678
- } else if (n !== void 0 && (a = !0, G(n) || (u = !0), w && (u ? (i.call(t, n), i = null) : (w = i, i = function(P, O, k) {
2679
- return w.call(o(P), k);
2682
+ } else if (n !== void 0 && (a = !0, G(n) || (u = !0), w && (u ? (i.call(t, n), i = null) : (w = i, i = function(P, O, A) {
2683
+ return w.call(o(P), A);
2680
2684
  })), i))
2681
2685
  for (; y < m; y++)
2682
2686
  i(
@@ -2738,9 +2742,9 @@ function mo() {
2738
2742
  return i !== void 0 && !o.isEmptyObject(i);
2739
2743
  }
2740
2744
  };
2741
- var M = new W(), ee = new W(), be = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, Ae = /[A-Z]/g;
2745
+ var M = new W(), ee = new W(), we = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, Ae = /[A-Z]/g;
2742
2746
  function oe(t) {
2743
- return t === "true" ? !0 : t === "false" ? !1 : t === "null" ? null : t === +t + "" ? +t : be.test(t) ? JSON.parse(t) : t;
2747
+ return t === "true" ? !0 : t === "false" ? !1 : t === "null" ? null : t === +t + "" ? +t : we.test(t) ? JSON.parse(t) : t;
2744
2748
  }
2745
2749
  function Re(t, i, r) {
2746
2750
  var n;
@@ -2851,9 +2855,9 @@ function mo() {
2851
2855
  });
2852
2856
  var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"], lt = U.documentElement, Et = function(t) {
2853
2857
  return o.contains(t.ownerDocument, t);
2854
- }, Zi = { composed: !0 };
2858
+ }, Ki = { composed: !0 };
2855
2859
  lt.getRootNode && (Et = function(t) {
2856
- return o.contains(t.ownerDocument, t) || t.getRootNode(Zi) === t.ownerDocument;
2860
+ return o.contains(t.ownerDocument, t) || t.getRootNode(Ki) === t.ownerDocument;
2857
2861
  });
2858
2862
  var tt = function(t, i) {
2859
2863
  return t = i || t, t.style.display === "none" || t.style.display === "" && // Otherwise, check computed style
@@ -2930,18 +2934,18 @@ function mo() {
2930
2934
  }
2931
2935
  var Le = /<|&#?\w+;/;
2932
2936
  function Ne(t, i, r, n, a) {
2933
- for (var l, u, y, m, w, P, O = i.createDocumentFragment(), k = [], R = 0, ie = t.length; R < ie; R++)
2937
+ for (var l, u, y, m, w, P, O = i.createDocumentFragment(), A = [], R = 0, ie = t.length; R < ie; R++)
2934
2938
  if (l = t[R], l || l === 0)
2935
2939
  if (Ve(l) === "object")
2936
- o.merge(k, l.nodeType ? [l] : l);
2940
+ o.merge(A, l.nodeType ? [l] : l);
2937
2941
  else if (!Le.test(l))
2938
- k.push(i.createTextNode(l));
2942
+ A.push(i.createTextNode(l));
2939
2943
  else {
2940
2944
  for (u = u || O.appendChild(i.createElement("div")), y = (Ze.exec(l) || ["", ""])[1].toLowerCase(), m = ve[y] || ve._default, u.innerHTML = m[1] + o.htmlPrefilter(l) + m[2], P = m[0]; P--; )
2941
2945
  u = u.lastChild;
2942
- o.merge(k, u.childNodes), u = O.firstChild, u.textContent = "";
2946
+ o.merge(A, u.childNodes), u = O.firstChild, u.textContent = "";
2943
2947
  }
2944
- for (O.textContent = "", R = 0; l = k[R++]; ) {
2948
+ for (O.textContent = "", R = 0; l = A[R++]; ) {
2945
2949
  if (n && o.inArray(l, n) > -1) {
2946
2950
  a && a.push(l);
2947
2951
  continue;
@@ -2959,12 +2963,12 @@ function mo() {
2959
2963
  function je() {
2960
2964
  return !1;
2961
2965
  }
2962
- function Ki(t, i, r, n, a, l) {
2966
+ function Ji(t, i, r, n, a, l) {
2963
2967
  var u, y;
2964
2968
  if (typeof i == "object") {
2965
2969
  typeof r != "string" && (n = n || r, r = void 0);
2966
2970
  for (y in i)
2967
- Ki(t, y, r, n, i[y], l);
2971
+ Ji(t, y, r, n, i[y], l);
2968
2972
  return t;
2969
2973
  }
2970
2974
  if (n == null && a == null ? (a = r, n = r = void 0) : a == null && (typeof r == "string" ? (a = n, n = void 0) : (a = n, n = r, r = void 0)), a === !1)
@@ -2980,7 +2984,7 @@ function mo() {
2980
2984
  o.event = {
2981
2985
  global: {},
2982
2986
  add: function(t, i, r, n, a) {
2983
- var l, u, y, m, w, P, O, k, R, ie, de, ne = M.get(t);
2987
+ var l, u, y, m, w, P, O, A, R, ie, de, ne = M.get(t);
2984
2988
  if (H(t))
2985
2989
  for (r.handler && (l = r, r = l.handler, a = l.selector), a && o.find.matchesSelector(lt, a), r.guid || (r.guid = o.guid++), (m = ne.events) || (m = ne.events = /* @__PURE__ */ Object.create(null)), (u = ne.handle) || (u = ne.handle = function(Oe) {
2986
2990
  return typeof o < "u" && o.event.triggered !== Oe.type ? o.event.dispatch.apply(t, arguments) : void 0;
@@ -2994,11 +2998,11 @@ function mo() {
2994
2998
  selector: a,
2995
2999
  needsContext: a && o.expr.match.needsContext.test(a),
2996
3000
  namespace: ie.join(".")
2997
- }, l), (k = m[R]) || (k = m[R] = [], k.delegateCount = 0, (!O.setup || O.setup.call(t, n, ie, u) === !1) && t.addEventListener && t.addEventListener(R, u)), O.add && (O.add.call(t, P), P.handler.guid || (P.handler.guid = r.guid)), a ? k.splice(k.delegateCount++, 0, P) : k.push(P), o.event.global[R] = !0);
3001
+ }, l), (A = m[R]) || (A = m[R] = [], A.delegateCount = 0, (!O.setup || O.setup.call(t, n, ie, u) === !1) && t.addEventListener && t.addEventListener(R, u)), O.add && (O.add.call(t, P), P.handler.guid || (P.handler.guid = r.guid)), a ? A.splice(A.delegateCount++, 0, P) : A.push(P), o.event.global[R] = !0);
2998
3002
  },
2999
3003
  // Detach an event or set of events from an element
3000
3004
  remove: function(t, i, r, n, a) {
3001
- var l, u, y, m, w, P, O, k, R, ie, de, ne = M.hasData(t) && M.get(t);
3005
+ var l, u, y, m, w, P, O, A, R, ie, de, ne = M.hasData(t) && M.get(t);
3002
3006
  if (!(!ne || !(m = ne.events))) {
3003
3007
  for (i = (i || "").match(He) || [""], w = i.length; w--; ) {
3004
3008
  if (y = nt.exec(i[w]) || [], R = de = y[1], ie = (y[2] || "").split(".").sort(), !R) {
@@ -3006,9 +3010,9 @@ function mo() {
3006
3010
  o.event.remove(t, R + i[w], r, n, !0);
3007
3011
  continue;
3008
3012
  }
3009
- for (O = o.event.special[R] || {}, R = (n ? O.delegateType : O.bindType) || R, k = m[R] || [], y = y[2] && new RegExp("(^|\\.)" + ie.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = l = k.length; l--; )
3010
- P = k[l], (a || de === P.origType) && (!r || r.guid === P.guid) && (!y || y.test(P.namespace)) && (!n || n === P.selector || n === "**" && P.selector) && (k.splice(l, 1), P.selector && k.delegateCount--, O.remove && O.remove.call(t, P));
3011
- u && !k.length && ((!O.teardown || O.teardown.call(t, ie, ne.handle) === !1) && o.removeEvent(t, R, ne.handle), delete m[R]);
3013
+ for (O = o.event.special[R] || {}, R = (n ? O.delegateType : O.bindType) || R, A = m[R] || [], y = y[2] && new RegExp("(^|\\.)" + ie.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = l = A.length; l--; )
3014
+ P = A[l], (a || de === P.origType) && (!r || r.guid === P.guid) && (!y || y.test(P.namespace)) && (!n || n === P.selector || n === "**" && P.selector) && (A.splice(l, 1), P.selector && A.delegateCount--, O.remove && O.remove.call(t, P));
3015
+ u && !A.length && ((!O.teardown || O.teardown.call(t, ie, ne.handle) === !1) && o.removeEvent(t, R, ne.handle), delete m[R]);
3012
3016
  }
3013
3017
  o.isEmptyObject(m) && M.remove(t, "handle events");
3014
3018
  }
@@ -3108,7 +3112,7 @@ function mo() {
3108
3112
  if (n.isTrigger & 1 && this[i]) {
3109
3113
  if (l)
3110
3114
  (o.event.special[i] || {}).delegateType && n.stopPropagation();
3111
- else if (l = A.call(arguments), M.set(this, i, l), this[i](), a = M.get(this, i), M.set(this, i, !1), l !== a)
3115
+ else if (l = L.call(arguments), M.set(this, i, l), this[i](), a = M.get(this, i), M.set(this, i, !1), l !== a)
3112
3116
  return n.stopImmediatePropagation(), n.preventDefault(), a;
3113
3117
  } else l && (M.set(this, i, o.event.trigger(
3114
3118
  l[0],
@@ -3238,10 +3242,10 @@ function mo() {
3238
3242
  };
3239
3243
  }), o.fn.extend({
3240
3244
  on: function(t, i, r, n) {
3241
- return Ki(this, t, i, r, n);
3245
+ return Ji(this, t, i, r, n);
3242
3246
  },
3243
3247
  one: function(t, i, r, n) {
3244
- return Ki(this, t, i, r, n, 1);
3248
+ return Ji(this, t, i, r, n, 1);
3245
3249
  },
3246
3250
  off: function(t, i, r) {
3247
3251
  var n, a;
@@ -3261,17 +3265,17 @@ function mo() {
3261
3265
  });
3262
3266
  }
3263
3267
  });
3264
- var yo = /<script|<style|<link/i, bo = /checked\s*(?:[^=]|=\s*.checked.)/i, wo = /^\s*<!\[CDATA\[|\]\]>\s*$/g;
3265
- function Yr(t, i) {
3268
+ var wo = /<script|<style|<link/i, xo = /checked\s*(?:[^=]|=\s*.checked.)/i, To = /^\s*<!\[CDATA\[|\]\]>\s*$/g;
3269
+ function Gr(t, i) {
3266
3270
  return me(t, "table") && me(i.nodeType !== 11 ? i : i.firstChild, "tr") && o(t).children("tbody")[0] || t;
3267
3271
  }
3268
- function xo(t) {
3272
+ function So(t) {
3269
3273
  return t.type = (t.getAttribute("type") !== null) + "/" + t.type, t;
3270
3274
  }
3271
- function To(t) {
3275
+ function Eo(t) {
3272
3276
  return (t.type || "").slice(0, 5) === "true/" ? t.type = t.type.slice(5) : t.removeAttribute("type"), t;
3273
3277
  }
3274
- function Ur(t, i) {
3278
+ function Zr(t, i) {
3275
3279
  var r, n, a, l, u, y, m;
3276
3280
  if (i.nodeType === 1) {
3277
3281
  if (M.hasData(t) && (l = M.get(t), m = l.events, m)) {
@@ -3283,30 +3287,30 @@ function mo() {
3283
3287
  ee.hasData(t) && (u = ee.access(t), y = o.extend({}, u), ee.set(i, y));
3284
3288
  }
3285
3289
  }
3286
- function So(t, i) {
3290
+ function Co(t, i) {
3287
3291
  var r = i.nodeName.toLowerCase();
3288
3292
  r === "input" && ke.test(t.type) ? i.checked = t.checked : (r === "input" || r === "textarea") && (i.defaultValue = t.defaultValue);
3289
3293
  }
3290
3294
  function $t(t, i, r, n) {
3291
3295
  i = z(i);
3292
- var a, l, u, y, m, w, P = 0, O = t.length, k = O - 1, R = i[0], ie = G(R);
3293
- if (ie || O > 1 && typeof R == "string" && !V.checkClone && bo.test(R))
3296
+ var a, l, u, y, m, w, P = 0, O = t.length, A = O - 1, R = i[0], ie = G(R);
3297
+ if (ie || O > 1 && typeof R == "string" && !V.checkClone && xo.test(R))
3294
3298
  return t.each(function(de) {
3295
3299
  var ne = t.eq(de);
3296
3300
  ie && (i[0] = R.call(this, de, ne.html())), $t(ne, i, r, n);
3297
3301
  });
3298
3302
  if (O && (a = Ne(i, t[0].ownerDocument, !1, t, n), l = a.firstChild, a.childNodes.length === 1 && (a = l), l || n)) {
3299
- for (u = o.map(Ce(a, "script"), xo), y = u.length; P < O; P++)
3300
- m = a, P !== k && (m = o.clone(m, !0, !0), y && o.merge(u, Ce(m, "script"))), r.call(t[P], m, P);
3303
+ for (u = o.map(Ce(a, "script"), So), y = u.length; P < O; P++)
3304
+ m = a, P !== A && (m = o.clone(m, !0, !0), y && o.merge(u, Ce(m, "script"))), r.call(t[P], m, P);
3301
3305
  if (y)
3302
- for (w = u[u.length - 1].ownerDocument, o.map(u, To), P = 0; P < y; P++)
3306
+ for (w = u[u.length - 1].ownerDocument, o.map(u, Eo), P = 0; P < y; P++)
3303
3307
  m = u[P], Ke.test(m.type || "") && !M.access(m, "globalEval") && o.contains(w, m) && (m.src && (m.type || "").toLowerCase() !== "module" ? o._evalUrl && !m.noModule && o._evalUrl(m.src, {
3304
3308
  nonce: m.nonce || m.getAttribute("nonce")
3305
- }, w) : wt(m.textContent.replace(wo, ""), m, w));
3309
+ }, w) : wt(m.textContent.replace(To, ""), m, w));
3306
3310
  }
3307
3311
  return t;
3308
3312
  }
3309
- function Gr(t, i, r) {
3313
+ function Kr(t, i, r) {
3310
3314
  for (var n, a = i ? o.filter(i, t) : t, l = 0; (n = a[l]) != null; l++)
3311
3315
  !r && n.nodeType === 1 && o.cleanData(Ce(n)), n.parentNode && (r && Et(n) && vt(Ce(n, "script")), n.parentNode.removeChild(n));
3312
3316
  return t;
@@ -3319,13 +3323,13 @@ function mo() {
3319
3323
  var n, a, l, u, y = t.cloneNode(!0), m = Et(t);
3320
3324
  if (!V.noCloneChecked && (t.nodeType === 1 || t.nodeType === 11) && !o.isXMLDoc(t))
3321
3325
  for (u = Ce(y), l = Ce(t), n = 0, a = l.length; n < a; n++)
3322
- So(l[n], u[n]);
3326
+ Co(l[n], u[n]);
3323
3327
  if (i)
3324
3328
  if (r)
3325
3329
  for (l = l || Ce(t), u = u || Ce(y), n = 0, a = l.length; n < a; n++)
3326
- Ur(l[n], u[n]);
3330
+ Zr(l[n], u[n]);
3327
3331
  else
3328
- Ur(t, y);
3332
+ Zr(t, y);
3329
3333
  return u = Ce(y, "script"), u.length > 0 && vt(u, !m && Ce(t, "script")), y;
3330
3334
  },
3331
3335
  cleanData: function(t) {
@@ -3342,10 +3346,10 @@ function mo() {
3342
3346
  }
3343
3347
  }), o.fn.extend({
3344
3348
  detach: function(t) {
3345
- return Gr(this, t, !0);
3349
+ return Kr(this, t, !0);
3346
3350
  },
3347
3351
  remove: function(t) {
3348
- return Gr(this, t);
3352
+ return Kr(this, t);
3349
3353
  },
3350
3354
  text: function(t) {
3351
3355
  return et(this, function(i) {
@@ -3357,7 +3361,7 @@ function mo() {
3357
3361
  append: function() {
3358
3362
  return $t(this, arguments, function(t) {
3359
3363
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3360
- var i = Yr(this, t);
3364
+ var i = Gr(this, t);
3361
3365
  i.appendChild(t);
3362
3366
  }
3363
3367
  });
@@ -3365,7 +3369,7 @@ function mo() {
3365
3369
  prepend: function() {
3366
3370
  return $t(this, arguments, function(t) {
3367
3371
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3368
- var i = Yr(this, t);
3372
+ var i = Gr(this, t);
3369
3373
  i.insertBefore(t, i.firstChild);
3370
3374
  }
3371
3375
  });
@@ -3395,7 +3399,7 @@ function mo() {
3395
3399
  var r = this[0] || {}, n = 0, a = this.length;
3396
3400
  if (i === void 0 && r.nodeType === 1)
3397
3401
  return r.innerHTML;
3398
- if (typeof i == "string" && !yo.test(i) && !ve[(Ze.exec(i) || ["", ""])[1].toLowerCase()]) {
3402
+ if (typeof i == "string" && !wo.test(i) && !ve[(Ze.exec(i) || ["", ""])[1].toLowerCase()]) {
3399
3403
  i = o.htmlPrefilter(i);
3400
3404
  try {
3401
3405
  for (; n < a; n++)
@@ -3427,10 +3431,10 @@ function mo() {
3427
3431
  return this.pushStack(a);
3428
3432
  };
3429
3433
  });
3430
- var Ji = new RegExp("^(" + Vt + ")(?!px)[a-z%]+$", "i"), Qi = /^--/, yi = function(t) {
3434
+ var Qi = new RegExp("^(" + Vt + ")(?!px)[a-z%]+$", "i"), er = /^--/, yi = function(t) {
3431
3435
  var i = t.ownerDocument.defaultView;
3432
3436
  return (!i || !i.opener) && (i = c), i.getComputedStyle(t);
3433
- }, Zr = function(t, i, r) {
3437
+ }, Jr = function(t, i, r) {
3434
3438
  var n, a, l = {};
3435
3439
  for (a in i)
3436
3440
  l[a] = t.style[a], t.style[a] = i[a];
@@ -3438,7 +3442,7 @@ function mo() {
3438
3442
  for (a in i)
3439
3443
  t.style[a] = l[a];
3440
3444
  return n;
3441
- }, Eo = new RegExp(Xe.join("|"), "i");
3445
+ }, Ao = new RegExp(Xe.join("|"), "i");
3442
3446
  (function() {
3443
3447
  function t() {
3444
3448
  if (w) {
@@ -3477,20 +3481,20 @@ function mo() {
3477
3481
  // Only Firefox includes border widths
3478
3482
  // in computed dimensions. (gh-4529)
3479
3483
  reliableTrDimensions: function() {
3480
- var P, O, k, R;
3481
- return u == null && (P = U.createElement("table"), O = U.createElement("tr"), k = U.createElement("div"), P.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", O.style.cssText = "box-sizing:content-box;border:1px solid", O.style.height = "1px", k.style.height = "9px", k.style.display = "block", lt.appendChild(P).appendChild(O).appendChild(k), R = c.getComputedStyle(O), u = parseInt(R.height, 10) + parseInt(R.borderTopWidth, 10) + parseInt(R.borderBottomWidth, 10) === O.offsetHeight, lt.removeChild(P)), u;
3484
+ var P, O, A, R;
3485
+ return u == null && (P = U.createElement("table"), O = U.createElement("tr"), A = U.createElement("div"), P.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", O.style.cssText = "box-sizing:content-box;border:1px solid", O.style.height = "1px", A.style.height = "9px", A.style.display = "block", lt.appendChild(P).appendChild(O).appendChild(A), R = c.getComputedStyle(O), u = parseInt(R.height, 10) + parseInt(R.borderTopWidth, 10) + parseInt(R.borderBottomWidth, 10) === O.offsetHeight, lt.removeChild(P)), u;
3482
3486
  }
3483
3487
  }));
3484
3488
  })();
3485
3489
  function ni(t, i, r) {
3486
- var n, a, l, u, y = Qi.test(i), m = t.style;
3487
- return r = r || yi(t), r && (u = r.getPropertyValue(i) || r[i], y && u && (u = u.replace(C, "$1") || void 0), u === "" && !Et(t) && (u = o.style(t, i)), !V.pixelBoxStyles() && Ji.test(u) && Eo.test(i) && (n = m.width, a = m.minWidth, l = m.maxWidth, m.minWidth = m.maxWidth = m.width = u, u = r.width, m.width = n, m.minWidth = a, m.maxWidth = l)), u !== void 0 ? (
3490
+ var n, a, l, u, y = er.test(i), m = t.style;
3491
+ return r = r || yi(t), r && (u = r.getPropertyValue(i) || r[i], y && u && (u = u.replace(C, "$1") || void 0), u === "" && !Et(t) && (u = o.style(t, i)), !V.pixelBoxStyles() && Qi.test(u) && Ao.test(i) && (n = m.width, a = m.minWidth, l = m.maxWidth, m.minWidth = m.maxWidth = m.width = u, u = r.width, m.width = n, m.minWidth = a, m.maxWidth = l)), u !== void 0 ? (
3488
3492
  // Support: IE <=9 - 11 only
3489
3493
  // IE returns zIndex value as an integer.
3490
3494
  u + ""
3491
3495
  ) : u;
3492
3496
  }
3493
- function Kr(t, i) {
3497
+ function Qr(t, i) {
3494
3498
  return {
3495
3499
  get: function() {
3496
3500
  if (t()) {
@@ -3501,28 +3505,28 @@ function mo() {
3501
3505
  }
3502
3506
  };
3503
3507
  }
3504
- var Jr = ["Webkit", "Moz", "ms"], Qr = U.createElement("div").style, en = {};
3505
- function Co(t) {
3506
- for (var i = t[0].toUpperCase() + t.slice(1), r = Jr.length; r--; )
3507
- if (t = Jr[r] + i, t in Qr)
3508
+ var en = ["Webkit", "Moz", "ms"], tn = U.createElement("div").style, rn = {};
3509
+ function ko(t) {
3510
+ for (var i = t[0].toUpperCase() + t.slice(1), r = en.length; r--; )
3511
+ if (t = en[r] + i, t in tn)
3508
3512
  return t;
3509
3513
  }
3510
- function er(t) {
3511
- var i = o.cssProps[t] || en[t];
3512
- return i || (t in Qr ? t : en[t] = Co(t) || t);
3514
+ function tr(t) {
3515
+ var i = o.cssProps[t] || rn[t];
3516
+ return i || (t in tn ? t : rn[t] = ko(t) || t);
3513
3517
  }
3514
- var Ao = /^(none|table(?!-c[ea]).+)/, ko = { position: "absolute", visibility: "hidden", display: "block" }, tn = {
3518
+ var Lo = /^(none|table(?!-c[ea]).+)/, No = { position: "absolute", visibility: "hidden", display: "block" }, nn = {
3515
3519
  letterSpacing: "0",
3516
3520
  fontWeight: "400"
3517
3521
  };
3518
- function rn(t, i, r) {
3522
+ function on(t, i, r) {
3519
3523
  var n = Ht.exec(i);
3520
3524
  return n ? (
3521
3525
  // Guard against undefined "subtract", e.g., when used as in cssHooks
3522
3526
  Math.max(0, n[2] - (r || 0)) + (n[3] || "px")
3523
3527
  ) : i;
3524
3528
  }
3525
- function tr(t, i, r, n, a, l) {
3529
+ function ir(t, i, r, n, a, l) {
3526
3530
  var u = i === "width" ? 1 : 0, y = 0, m = 0, w = 0;
3527
3531
  if (r === (n ? "border" : "content"))
3528
3532
  return 0;
@@ -3534,9 +3538,9 @@ function mo() {
3534
3538
  // Use an explicit zero to avoid NaN (gh-3964)
3535
3539
  )) || 0), m + w;
3536
3540
  }
3537
- function nn(t, i, r) {
3541
+ function sn(t, i, r) {
3538
3542
  var n = yi(t), a = !V.boxSizingReliable() || r, l = a && o.css(t, "boxSizing", !1, n) === "border-box", u = l, y = ni(t, i, n), m = "offset" + i[0].toUpperCase() + i.slice(1);
3539
- if (Ji.test(y)) {
3543
+ if (Qi.test(y)) {
3540
3544
  if (!r)
3541
3545
  return y;
3542
3546
  y = "auto";
@@ -3550,7 +3554,7 @@ function mo() {
3550
3554
  y === "auto" || // Support: Android <=4.1 - 4.3 only
3551
3555
  // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
3552
3556
  !parseFloat(y) && o.css(t, "display", !1, n) === "inline") && // Make sure the element is visible & connected
3553
- t.getClientRects().length && (l = o.css(t, "boxSizing", !1, n) === "border-box", u = m in t, u && (y = t[m])), y = parseFloat(y) || 0, y + tr(
3557
+ t.getClientRects().length && (l = o.css(t, "boxSizing", !1, n) === "border-box", u = m in t, u && (y = t[m])), y = parseFloat(y) || 0, y + ir(
3554
3558
  t,
3555
3559
  i,
3556
3560
  r || (l ? "border" : "content"),
@@ -3610,8 +3614,8 @@ function mo() {
3610
3614
  // Get and set the style property on a DOM Node
3611
3615
  style: function(t, i, r, n) {
3612
3616
  if (!(!t || t.nodeType === 3 || t.nodeType === 8 || !t.style)) {
3613
- var a, l, u, y = S(i), m = Qi.test(i), w = t.style;
3614
- if (m || (i = er(y)), u = o.cssHooks[i] || o.cssHooks[y], r !== void 0) {
3617
+ var a, l, u, y = S(i), m = er.test(i), w = t.style;
3618
+ if (m || (i = tr(y)), u = o.cssHooks[i] || o.cssHooks[y], r !== void 0) {
3615
3619
  if (l = typeof r, l === "string" && (a = Ht.exec(r)) && a[1] && (r = ri(t, i, a), l = "number"), r == null || r !== r)
3616
3620
  return;
3617
3621
  l === "number" && !m && (r += a && a[3] || (o.cssNumber[y] ? "" : "px")), !V.clearCloneStyle && r === "" && i.indexOf("background") === 0 && (w[i] = "inherit"), (!u || !("set" in u) || (r = u.set(t, r, n)) !== void 0) && (m ? w.setProperty(i, r) : w[i] = r);
@@ -3620,25 +3624,25 @@ function mo() {
3620
3624
  }
3621
3625
  },
3622
3626
  css: function(t, i, r, n) {
3623
- var a, l, u, y = S(i), m = Qi.test(i);
3624
- return m || (i = er(y)), u = o.cssHooks[i] || o.cssHooks[y], u && "get" in u && (a = u.get(t, !0, r)), a === void 0 && (a = ni(t, i, n)), a === "normal" && i in tn && (a = tn[i]), r === "" || r ? (l = parseFloat(a), r === !0 || isFinite(l) ? l || 0 : a) : a;
3627
+ var a, l, u, y = S(i), m = er.test(i);
3628
+ return m || (i = tr(y)), u = o.cssHooks[i] || o.cssHooks[y], u && "get" in u && (a = u.get(t, !0, r)), a === void 0 && (a = ni(t, i, n)), a === "normal" && i in nn && (a = nn[i]), r === "" || r ? (l = parseFloat(a), r === !0 || isFinite(l) ? l || 0 : a) : a;
3625
3629
  }
3626
3630
  }), o.each(["height", "width"], function(t, i) {
3627
3631
  o.cssHooks[i] = {
3628
3632
  get: function(r, n, a) {
3629
3633
  if (n)
3630
- return Ao.test(o.css(r, "display")) && // Support: Safari 8+
3634
+ return Lo.test(o.css(r, "display")) && // Support: Safari 8+
3631
3635
  // Table columns in Safari have non-zero offsetWidth & zero
3632
3636
  // getBoundingClientRect().width unless display is changed.
3633
3637
  // Support: IE <=11 only
3634
3638
  // Running getBoundingClientRect on a disconnected node
3635
3639
  // in IE throws an error.
3636
- (!r.getClientRects().length || !r.getBoundingClientRect().width) ? Zr(r, ko, function() {
3637
- return nn(r, i, a);
3638
- }) : nn(r, i, a);
3640
+ (!r.getClientRects().length || !r.getBoundingClientRect().width) ? Jr(r, No, function() {
3641
+ return sn(r, i, a);
3642
+ }) : sn(r, i, a);
3639
3643
  },
3640
3644
  set: function(r, n, a) {
3641
- var l, u = yi(r), y = !V.scrollboxSize() && u.position === "absolute", m = y || a, w = m && o.css(r, "boxSizing", !1, u) === "border-box", P = a ? tr(
3645
+ var l, u = yi(r), y = !V.scrollboxSize() && u.position === "absolute", m = y || a, w = m && o.css(r, "boxSizing", !1, u) === "border-box", P = a ? ir(
3642
3646
  r,
3643
3647
  i,
3644
3648
  a,
@@ -3646,15 +3650,15 @@ function mo() {
3646
3650
  u
3647
3651
  ) : 0;
3648
3652
  return w && y && (P -= Math.ceil(
3649
- r["offset" + i[0].toUpperCase() + i.slice(1)] - parseFloat(u[i]) - tr(r, i, "border", !1, u) - 0.5
3650
- )), P && (l = Ht.exec(n)) && (l[3] || "px") !== "px" && (r.style[i] = n, n = o.css(r, i)), rn(r, n, P);
3653
+ r["offset" + i[0].toUpperCase() + i.slice(1)] - parseFloat(u[i]) - ir(r, i, "border", !1, u) - 0.5
3654
+ )), P && (l = Ht.exec(n)) && (l[3] || "px") !== "px" && (r.style[i] = n, n = o.css(r, i)), on(r, n, P);
3651
3655
  }
3652
3656
  };
3653
- }), o.cssHooks.marginLeft = Kr(
3657
+ }), o.cssHooks.marginLeft = Qr(
3654
3658
  V.reliableMarginLeft,
3655
3659
  function(t, i) {
3656
3660
  if (i)
3657
- return (parseFloat(ni(t, "marginLeft")) || t.getBoundingClientRect().left - Zr(t, { marginLeft: 0 }, function() {
3661
+ return (parseFloat(ni(t, "marginLeft")) || t.getBoundingClientRect().left - Jr(t, { marginLeft: 0 }, function() {
3658
3662
  return t.getBoundingClientRect().left;
3659
3663
  })) + "px";
3660
3664
  }
@@ -3669,7 +3673,7 @@ function mo() {
3669
3673
  a[t + Xe[n] + i] = l[n] || l[n - 2] || l[0];
3670
3674
  return a;
3671
3675
  }
3672
- }, t !== "margin" && (o.cssHooks[t + i].set = rn);
3676
+ }, t !== "margin" && (o.cssHooks[t + i].set = on);
3673
3677
  }), o.fn.extend({
3674
3678
  css: function(t, i) {
3675
3679
  return et(this, function(r, n, a) {
@@ -3712,7 +3716,7 @@ function mo() {
3712
3716
  return t.elem.nodeType !== 1 || t.elem[t.prop] != null && t.elem.style[t.prop] == null ? t.elem[t.prop] : (i = o.css(t.elem, t.prop, ""), !i || i === "auto" ? 0 : i);
3713
3717
  },
3714
3718
  set: function(t) {
3715
- o.fx.step[t.prop] ? o.fx.step[t.prop](t) : t.elem.nodeType === 1 && (o.cssHooks[t.prop] || t.elem.style[er(t.prop)] != null) ? o.style(t.elem, t.prop, t.now + t.unit) : t.elem[t.prop] = t.now;
3719
+ o.fx.step[t.prop] ? o.fx.step[t.prop](t) : t.elem.nodeType === 1 && (o.cssHooks[t.prop] || t.elem.style[tr(t.prop)] != null) ? o.style(t.elem, t.prop, t.now + t.unit) : t.elem[t.prop] = t.now;
3716
3720
  }
3717
3721
  }
3718
3722
  }, Ye.propHooks.scrollTop = Ye.propHooks.scrollLeft = {
@@ -3728,11 +3732,11 @@ function mo() {
3728
3732
  },
3729
3733
  _default: "swing"
3730
3734
  }, o.fx = Ye.prototype.init, o.fx.step = {};
3731
- var Xt, bi, Lo = /^(?:toggle|show|hide)$/, No = /queueHooks$/;
3732
- function ir() {
3733
- bi && (U.hidden === !1 && c.requestAnimationFrame ? c.requestAnimationFrame(ir) : c.setTimeout(ir, o.fx.interval), o.fx.tick());
3735
+ var Xt, bi, Po = /^(?:toggle|show|hide)$/, Do = /queueHooks$/;
3736
+ function rr() {
3737
+ bi && (U.hidden === !1 && c.requestAnimationFrame ? c.requestAnimationFrame(rr) : c.setTimeout(rr, o.fx.interval), o.fx.tick());
3734
3738
  }
3735
- function on() {
3739
+ function an() {
3736
3740
  return c.setTimeout(function() {
3737
3741
  Xt = void 0;
3738
3742
  }), Xt = Date.now();
@@ -3743,22 +3747,22 @@ function mo() {
3743
3747
  r = Xe[n], a["margin" + r] = a["padding" + r] = t;
3744
3748
  return i && (a.opacity = a.width = t), a;
3745
3749
  }
3746
- function sn(t, i, r) {
3750
+ function ln(t, i, r) {
3747
3751
  for (var n, a = (ot.tweeners[i] || []).concat(ot.tweeners["*"]), l = 0, u = a.length; l < u; l++)
3748
3752
  if (n = a[l].call(r, i, t))
3749
3753
  return n;
3750
3754
  }
3751
- function Po(t, i, r) {
3752
- var n, a, l, u, y, m, w, P, O = "width" in i || "height" in i, k = this, R = {}, ie = t.style, de = t.nodeType && tt(t), ne = M.get(t, "fxshow");
3755
+ function Mo(t, i, r) {
3756
+ var n, a, l, u, y, m, w, P, O = "width" in i || "height" in i, A = this, R = {}, ie = t.style, de = t.nodeType && tt(t), ne = M.get(t, "fxshow");
3753
3757
  r.queue || (u = o._queueHooks(t, "fx"), u.unqueued == null && (u.unqueued = 0, y = u.empty.fire, u.empty.fire = function() {
3754
3758
  u.unqueued || y();
3755
- }), u.unqueued++, k.always(function() {
3756
- k.always(function() {
3759
+ }), u.unqueued++, A.always(function() {
3760
+ A.always(function() {
3757
3761
  u.unqueued--, o.queue(t, "fx").length || u.empty.fire();
3758
3762
  });
3759
3763
  }));
3760
3764
  for (n in i)
3761
- if (a = i[n], Lo.test(a)) {
3765
+ if (a = i[n], Po.test(a)) {
3762
3766
  if (delete i[n], l = l || a === "toggle", a === (de ? "hide" : "show"))
3763
3767
  if (a === "show" && ne && ne[n] !== void 0)
3764
3768
  de = !0;
@@ -3767,20 +3771,20 @@ function mo() {
3767
3771
  R[n] = ne && ne[n] || o.style(t, n);
3768
3772
  }
3769
3773
  if (m = !o.isEmptyObject(i), !(!m && o.isEmptyObject(R))) {
3770
- O && t.nodeType === 1 && (r.overflow = [ie.overflow, ie.overflowX, ie.overflowY], w = ne && ne.display, w == null && (w = M.get(t, "display")), P = o.css(t, "display"), P === "none" && (w ? P = w : (ue([t], !0), w = t.style.display || w, P = o.css(t, "display"), ue([t]))), (P === "inline" || P === "inline-block" && w != null) && o.css(t, "float") === "none" && (m || (k.done(function() {
3774
+ O && t.nodeType === 1 && (r.overflow = [ie.overflow, ie.overflowX, ie.overflowY], w = ne && ne.display, w == null && (w = M.get(t, "display")), P = o.css(t, "display"), P === "none" && (w ? P = w : (ue([t], !0), w = t.style.display || w, P = o.css(t, "display"), ue([t]))), (P === "inline" || P === "inline-block" && w != null) && o.css(t, "float") === "none" && (m || (A.done(function() {
3771
3775
  ie.display = w;
3772
- }), w == null && (P = ie.display, w = P === "none" ? "" : P)), ie.display = "inline-block")), r.overflow && (ie.overflow = "hidden", k.always(function() {
3776
+ }), w == null && (P = ie.display, w = P === "none" ? "" : P)), ie.display = "inline-block")), r.overflow && (ie.overflow = "hidden", A.always(function() {
3773
3777
  ie.overflow = r.overflow[0], ie.overflowX = r.overflow[1], ie.overflowY = r.overflow[2];
3774
3778
  })), m = !1;
3775
3779
  for (n in R)
3776
- m || (ne ? "hidden" in ne && (de = ne.hidden) : ne = M.access(t, "fxshow", { display: w }), l && (ne.hidden = !de), de && ue([t], !0), k.done(function() {
3780
+ m || (ne ? "hidden" in ne && (de = ne.hidden) : ne = M.access(t, "fxshow", { display: w }), l && (ne.hidden = !de), de && ue([t], !0), A.done(function() {
3777
3781
  de || ue([t]), M.remove(t, "fxshow");
3778
3782
  for (n in R)
3779
3783
  o.style(t, n, R[n]);
3780
- })), m = sn(de ? ne[n] : 0, n, k), n in ne || (ne[n] = m.start, de && (m.end = m.start, m.start = 0));
3784
+ })), m = ln(de ? ne[n] : 0, n, A), n in ne || (ne[n] = m.start, de && (m.end = m.start, m.start = 0));
3781
3785
  }
3782
3786
  }
3783
- function Do(t, i) {
3787
+ function zo(t, i) {
3784
3788
  var r, n, a, l, u;
3785
3789
  for (r in t)
3786
3790
  if (n = S(r), a = i[n], l = t[r], Array.isArray(l) && (a = l[1], l = t[r] = l[0]), r !== n && (t[n] = l, delete t[r]), u = o.cssHooks[n], u && "expand" in u) {
@@ -3796,9 +3800,9 @@ function mo() {
3796
3800
  }), m = function() {
3797
3801
  if (a)
3798
3802
  return !1;
3799
- for (var O = Xt || on(), k = Math.max(0, w.startTime + w.duration - O), R = k / w.duration || 0, ie = 1 - R, de = 0, ne = w.tweens.length; de < ne; de++)
3803
+ for (var O = Xt || an(), A = Math.max(0, w.startTime + w.duration - O), R = A / w.duration || 0, ie = 1 - R, de = 0, ne = w.tweens.length; de < ne; de++)
3800
3804
  w.tweens[de].run(ie);
3801
- return y.notifyWith(t, [w, ie, k]), ie < 1 && ne ? k : (ne || y.notifyWith(t, [w, 1, 0]), y.resolveWith(t, [w]), !1);
3805
+ return y.notifyWith(t, [w, ie, A]), ie < 1 && ne ? A : (ne || y.notifyWith(t, [w, 1, 0]), y.resolveWith(t, [w]), !1);
3802
3806
  }, w = y.promise({
3803
3807
  elem: t,
3804
3808
  props: o.extend({}, i),
@@ -3808,32 +3812,32 @@ function mo() {
3808
3812
  }, r),
3809
3813
  originalProperties: i,
3810
3814
  originalOptions: r,
3811
- startTime: Xt || on(),
3815
+ startTime: Xt || an(),
3812
3816
  duration: r.duration,
3813
3817
  tweens: [],
3814
- createTween: function(O, k) {
3818
+ createTween: function(O, A) {
3815
3819
  var R = o.Tween(
3816
3820
  t,
3817
3821
  w.opts,
3818
3822
  O,
3819
- k,
3823
+ A,
3820
3824
  w.opts.specialEasing[O] || w.opts.easing
3821
3825
  );
3822
3826
  return w.tweens.push(R), R;
3823
3827
  },
3824
3828
  stop: function(O) {
3825
- var k = 0, R = O ? w.tweens.length : 0;
3829
+ var A = 0, R = O ? w.tweens.length : 0;
3826
3830
  if (a)
3827
3831
  return this;
3828
- for (a = !0; k < R; k++)
3829
- w.tweens[k].run(1);
3832
+ for (a = !0; A < R; A++)
3833
+ w.tweens[A].run(1);
3830
3834
  return O ? (y.notifyWith(t, [w, 1, 0]), y.resolveWith(t, [w, O])) : y.rejectWith(t, [w, O]), this;
3831
3835
  }
3832
3836
  }), P = w.props;
3833
- for (Do(P, w.opts.specialEasing); l < u; l++)
3837
+ for (zo(P, w.opts.specialEasing); l < u; l++)
3834
3838
  if (n = ot.prefilters[l].call(w, t, P, w.opts), n)
3835
3839
  return G(n.stop) && (o._queueHooks(w.elem, w.opts.queue).stop = n.stop.bind(n)), n;
3836
- return o.map(P, sn, w), G(w.opts.start) && w.opts.start.call(t, w), w.progress(w.opts.progress).done(w.opts.done, w.opts.complete).fail(w.opts.fail).always(w.opts.always), o.fx.timer(
3840
+ return o.map(P, ln, w), G(w.opts.start) && w.opts.start.call(t, w), w.progress(w.opts.progress).done(w.opts.done, w.opts.complete).fail(w.opts.fail).always(w.opts.always), o.fx.timer(
3837
3841
  o.extend(m, {
3838
3842
  elem: t,
3839
3843
  anim: w,
@@ -3853,7 +3857,7 @@ function mo() {
3853
3857
  for (var r, n = 0, a = t.length; n < a; n++)
3854
3858
  r = t[n], ot.tweeners[r] = ot.tweeners[r] || [], ot.tweeners[r].unshift(i);
3855
3859
  },
3856
- prefilters: [Po],
3860
+ prefilters: [Mo],
3857
3861
  prefilter: function(t, i) {
3858
3862
  i ? ot.prefilters.unshift(t) : ot.prefilters.push(t);
3859
3863
  }
@@ -3888,7 +3892,7 @@ function mo() {
3888
3892
  y[l] && y[l].stop && n(y[l]);
3889
3893
  else
3890
3894
  for (l in y)
3891
- y[l] && y[l].stop && No.test(l) && n(y[l]);
3895
+ y[l] && y[l].stop && Do.test(l) && n(y[l]);
3892
3896
  for (l = u.length; l--; )
3893
3897
  u[l].elem === this && (t == null || u[l].queue === t) && (u[l].anim.stop(r), a = !1, u.splice(l, 1));
3894
3898
  (a || !r) && o.dequeue(this, t);
@@ -3928,7 +3932,7 @@ function mo() {
3928
3932
  }, o.fx.timer = function(t) {
3929
3933
  o.timers.push(t), o.fx.start();
3930
3934
  }, o.fx.interval = 13, o.fx.start = function() {
3931
- bi || (bi = !0, ir());
3935
+ bi || (bi = !0, rr());
3932
3936
  }, o.fx.stop = function() {
3933
3937
  bi = null;
3934
3938
  }, o.fx.speeds = {
@@ -3947,7 +3951,7 @@ function mo() {
3947
3951
  var t = U.createElement("input"), i = U.createElement("select"), r = i.appendChild(U.createElement("option"));
3948
3952
  t.type = "checkbox", V.checkOn = t.value !== "", V.optSelected = r.selected, t = U.createElement("input"), t.value = "t", t.type = "radio", V.radioValue = t.value === "t";
3949
3953
  })();
3950
- var an, oi = o.expr.attrHandle;
3954
+ var cn, oi = o.expr.attrHandle;
3951
3955
  o.fn.extend({
3952
3956
  attr: function(t, i) {
3953
3957
  return et(this, o.attr, t, i, arguments.length > 1);
@@ -3963,7 +3967,7 @@ function mo() {
3963
3967
  if (!(l === 3 || l === 8 || l === 2)) {
3964
3968
  if (typeof t.getAttribute > "u")
3965
3969
  return o.prop(t, i, r);
3966
- if ((l !== 1 || !o.isXMLDoc(t)) && (a = o.attrHooks[i.toLowerCase()] || (o.expr.match.bool.test(i) ? an : void 0)), r !== void 0) {
3970
+ if ((l !== 1 || !o.isXMLDoc(t)) && (a = o.attrHooks[i.toLowerCase()] || (o.expr.match.bool.test(i) ? cn : void 0)), r !== void 0) {
3967
3971
  if (r === null) {
3968
3972
  o.removeAttr(t, i);
3969
3973
  return;
@@ -3989,7 +3993,7 @@ function mo() {
3989
3993
  for (; r = a[n++]; )
3990
3994
  t.removeAttribute(r);
3991
3995
  }
3992
- }), an = {
3996
+ }), cn = {
3993
3997
  set: function(t, i, r) {
3994
3998
  return i === !1 ? o.removeAttr(t, r) : t.setAttribute(r, r), r;
3995
3999
  }
@@ -4000,7 +4004,7 @@ function mo() {
4000
4004
  return l || (y = oi[m], oi[m] = u, u = r(n, a, l) != null ? m : null, oi[m] = y), u;
4001
4005
  };
4002
4006
  });
4003
- var Mo = /^(?:input|select|textarea|button)$/i, zo = /^(?:a|area)$/i;
4007
+ var Io = /^(?:input|select|textarea|button)$/i, Ho = /^(?:a|area)$/i;
4004
4008
  o.fn.extend({
4005
4009
  prop: function(t, i) {
4006
4010
  return et(this, o.prop, t, i, arguments.length > 1);
@@ -4020,7 +4024,7 @@ function mo() {
4020
4024
  tabIndex: {
4021
4025
  get: function(t) {
4022
4026
  var i = o.find.attr(t, "tabindex");
4023
- return i ? parseInt(i, 10) : Mo.test(t.nodeName) || zo.test(t.nodeName) && t.href ? 0 : -1;
4027
+ return i ? parseInt(i, 10) : Io.test(t.nodeName) || Ho.test(t.nodeName) && t.href ? 0 : -1;
4024
4028
  }
4025
4029
  }
4026
4030
  },
@@ -4058,7 +4062,7 @@ function mo() {
4058
4062
  function Bt(t) {
4059
4063
  return t.getAttribute && t.getAttribute("class") || "";
4060
4064
  }
4061
- function rr(t) {
4065
+ function nr(t) {
4062
4066
  return Array.isArray(t) ? t : typeof t == "string" ? t.match(He) || [] : [];
4063
4067
  }
4064
4068
  o.fn.extend({
@@ -4066,7 +4070,7 @@ function mo() {
4066
4070
  var i, r, n, a, l, u;
4067
4071
  return G(t) ? this.each(function(y) {
4068
4072
  o(this).addClass(t.call(this, y, Bt(this)));
4069
- }) : (i = rr(t), i.length ? this.each(function() {
4073
+ }) : (i = nr(t), i.length ? this.each(function() {
4070
4074
  if (n = Bt(this), r = this.nodeType === 1 && " " + Ot(n) + " ", r) {
4071
4075
  for (l = 0; l < i.length; l++)
4072
4076
  a = i[l], r.indexOf(" " + a + " ") < 0 && (r += a + " ");
@@ -4078,7 +4082,7 @@ function mo() {
4078
4082
  var i, r, n, a, l, u;
4079
4083
  return G(t) ? this.each(function(y) {
4080
4084
  o(this).removeClass(t.call(this, y, Bt(this)));
4081
- }) : arguments.length ? (i = rr(t), i.length ? this.each(function() {
4085
+ }) : arguments.length ? (i = nr(t), i.length ? this.each(function() {
4082
4086
  if (n = Bt(this), r = this.nodeType === 1 && " " + Ot(n) + " ", r) {
4083
4087
  for (l = 0; l < i.length; l++)
4084
4088
  for (a = i[l]; r.indexOf(" " + a + " ") > -1; )
@@ -4094,7 +4098,7 @@ function mo() {
4094
4098
  t.call(this, m, Bt(this), i),
4095
4099
  i
4096
4100
  );
4097
- }) : typeof i == "boolean" && y ? i ? this.addClass(t) : this.removeClass(t) : (r = rr(t), this.each(function() {
4101
+ }) : typeof i == "boolean" && y ? i ? this.addClass(t) : this.removeClass(t) : (r = nr(t), this.each(function() {
4098
4102
  if (y)
4099
4103
  for (l = o(this), a = 0; a < r.length; a++)
4100
4104
  n = r[a], l.hasClass(n) ? l.removeClass(n) : l.addClass(n);
@@ -4112,7 +4116,7 @@ function mo() {
4112
4116
  return !1;
4113
4117
  }
4114
4118
  });
4115
- var Io = /\r/g;
4119
+ var Oo = /\r/g;
4116
4120
  o.fn.extend({
4117
4121
  val: function(t) {
4118
4122
  var i, r, n, a = this[0];
@@ -4121,7 +4125,7 @@ function mo() {
4121
4125
  this.nodeType === 1 && (n ? u = t.call(this, l, o(this).val()) : u = t, u == null ? u = "" : typeof u == "number" ? u += "" : Array.isArray(u) && (u = o.map(u, function(y) {
4122
4126
  return y == null ? "" : y + "";
4123
4127
  })), i = o.valHooks[this.type] || o.valHooks[this.nodeName.toLowerCase()], (!i || !("set" in i) || i.set(this, u, "value") === void 0) && (this.value = u));
4124
- })) : a ? (i = o.valHooks[a.type] || o.valHooks[a.nodeName.toLowerCase()], i && "get" in i && (r = i.get(a, "value")) !== void 0 ? r : (r = a.value, typeof r == "string" ? r.replace(Io, "") : r ?? "")) : void 0;
4128
+ })) : a ? (i = o.valHooks[a.type] || o.valHooks[a.nodeName.toLowerCase()], i && "get" in i && (r = i.get(a, "value")) !== void 0 ? r : (r = a.value, typeof r == "string" ? r.replace(Oo, "") : r ?? "")) : void 0;
4125
4129
  }
4126
4130
  }), o.extend({
4127
4131
  valHooks: {
@@ -4164,7 +4168,7 @@ function mo() {
4164
4168
  return t.getAttribute("value") === null ? "on" : t.value;
4165
4169
  });
4166
4170
  });
4167
- var si = c.location, ln = { guid: Date.now() }, nr = /\?/;
4171
+ var si = c.location, un = { guid: Date.now() }, or = /\?/;
4168
4172
  o.parseXML = function(t) {
4169
4173
  var i, r;
4170
4174
  if (!t || typeof t != "string")
@@ -4178,21 +4182,21 @@ function mo() {
4178
4182
  }).join(`
4179
4183
  `) : t)), i;
4180
4184
  };
4181
- var cn = /^(?:focusinfocus|focusoutblur)$/, un = function(t) {
4185
+ var fn = /^(?:focusinfocus|focusoutblur)$/, dn = function(t) {
4182
4186
  t.stopPropagation();
4183
4187
  };
4184
4188
  o.extend(o.event, {
4185
4189
  trigger: function(t, i, r, n) {
4186
- var a, l, u, y, m, w, P, O, k = [r || U], R = we.call(t, "type") ? t.type : t, ie = we.call(t, "namespace") ? t.namespace.split(".") : [];
4187
- if (l = O = u = r = r || U, !(r.nodeType === 3 || r.nodeType === 8) && !cn.test(R + o.event.triggered) && (R.indexOf(".") > -1 && (ie = R.split("."), R = ie.shift(), ie.sort()), m = R.indexOf(":") < 0 && "on" + R, t = t[o.expando] ? t : new o.Event(R, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = ie.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + ie.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), i = i == null ? [t] : o.makeArray(i, [t]), P = o.event.special[R] || {}, !(!n && P.trigger && P.trigger.apply(r, i) === !1))) {
4190
+ var a, l, u, y, m, w, P, O, A = [r || U], R = ye.call(t, "type") ? t.type : t, ie = ye.call(t, "namespace") ? t.namespace.split(".") : [];
4191
+ if (l = O = u = r = r || U, !(r.nodeType === 3 || r.nodeType === 8) && !fn.test(R + o.event.triggered) && (R.indexOf(".") > -1 && (ie = R.split("."), R = ie.shift(), ie.sort()), m = R.indexOf(":") < 0 && "on" + R, t = t[o.expando] ? t : new o.Event(R, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = ie.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + ie.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), i = i == null ? [t] : o.makeArray(i, [t]), P = o.event.special[R] || {}, !(!n && P.trigger && P.trigger.apply(r, i) === !1))) {
4188
4192
  if (!n && !P.noBubble && !Ee(r)) {
4189
- for (y = P.delegateType || R, cn.test(y + R) || (l = l.parentNode); l; l = l.parentNode)
4190
- k.push(l), u = l;
4191
- u === (r.ownerDocument || U) && k.push(u.defaultView || u.parentWindow || c);
4193
+ for (y = P.delegateType || R, fn.test(y + R) || (l = l.parentNode); l; l = l.parentNode)
4194
+ A.push(l), u = l;
4195
+ u === (r.ownerDocument || U) && A.push(u.defaultView || u.parentWindow || c);
4192
4196
  }
4193
- for (a = 0; (l = k[a++]) && !t.isPropagationStopped(); )
4197
+ for (a = 0; (l = A[a++]) && !t.isPropagationStopped(); )
4194
4198
  O = l, t.type = a > 1 ? y : P.bindType || R, w = (M.get(l, "events") || /* @__PURE__ */ Object.create(null))[t.type] && M.get(l, "handle"), w && w.apply(l, i), w = m && l[m], w && w.apply && H(l) && (t.result = w.apply(l, i), t.result === !1 && t.preventDefault());
4195
- return t.type = R, !n && !t.isDefaultPrevented() && (!P._default || P._default.apply(k.pop(), i) === !1) && H(r) && m && G(r[R]) && !Ee(r) && (u = r[m], u && (r[m] = null), o.event.triggered = R, t.isPropagationStopped() && O.addEventListener(R, un), r[R](), t.isPropagationStopped() && O.removeEventListener(R, un), o.event.triggered = void 0, u && (r[m] = u)), t.result;
4199
+ return t.type = R, !n && !t.isDefaultPrevented() && (!P._default || P._default.apply(A.pop(), i) === !1) && H(r) && m && G(r[R]) && !Ee(r) && (u = r[m], u && (r[m] = null), o.event.triggered = R, t.isPropagationStopped() && O.addEventListener(R, dn), r[R](), t.isPropagationStopped() && O.removeEventListener(R, dn), o.event.triggered = void 0, u && (r[m] = u)), t.result;
4196
4200
  }
4197
4201
  },
4198
4202
  // Piggyback on a donor event to simulate a different one
@@ -4220,12 +4224,12 @@ function mo() {
4220
4224
  return o.event.trigger(t, i, r, !0);
4221
4225
  }
4222
4226
  });
4223
- var Ho = /\[\]$/, fn = /\r?\n/g, Oo = /^(?:submit|button|image|reset|file)$/i, Bo = /^(?:input|select|textarea|keygen)/i;
4224
- function or(t, i, r, n) {
4227
+ var Bo = /\[\]$/, hn = /\r?\n/g, qo = /^(?:submit|button|image|reset|file)$/i, Ro = /^(?:input|select|textarea|keygen)/i;
4228
+ function sr(t, i, r, n) {
4225
4229
  var a;
4226
4230
  if (Array.isArray(i))
4227
4231
  o.each(i, function(l, u) {
4228
- r || Ho.test(t) ? n(t, u) : or(
4232
+ r || Bo.test(t) ? n(t, u) : sr(
4229
4233
  t + "[" + (typeof u == "object" && u != null ? l : "") + "]",
4230
4234
  u,
4231
4235
  r,
@@ -4234,7 +4238,7 @@ function mo() {
4234
4238
  });
4235
4239
  else if (!r && Ve(i) === "object")
4236
4240
  for (a in i)
4237
- or(t + "[" + a + "]", i[a], r, n);
4241
+ sr(t + "[" + a + "]", i[a], r, n);
4238
4242
  else
4239
4243
  n(t, i);
4240
4244
  }
@@ -4251,7 +4255,7 @@ function mo() {
4251
4255
  });
4252
4256
  else
4253
4257
  for (r in t)
4254
- or(r, t[r], i, a);
4258
+ sr(r, t[r], i, a);
4255
4259
  return n.join("&");
4256
4260
  }, o.fn.extend({
4257
4261
  serialize: function() {
@@ -4263,20 +4267,20 @@ function mo() {
4263
4267
  return t ? o.makeArray(t) : this;
4264
4268
  }).filter(function() {
4265
4269
  var t = this.type;
4266
- return this.name && !o(this).is(":disabled") && Bo.test(this.nodeName) && !Oo.test(t) && (this.checked || !ke.test(t));
4270
+ return this.name && !o(this).is(":disabled") && Ro.test(this.nodeName) && !qo.test(t) && (this.checked || !ke.test(t));
4267
4271
  }).map(function(t, i) {
4268
4272
  var r = o(this).val();
4269
4273
  return r == null ? null : Array.isArray(r) ? o.map(r, function(n) {
4270
- return { name: i.name, value: n.replace(fn, `\r
4274
+ return { name: i.name, value: n.replace(hn, `\r
4271
4275
  `) };
4272
- }) : { name: i.name, value: r.replace(fn, `\r
4276
+ }) : { name: i.name, value: r.replace(hn, `\r
4273
4277
  `) };
4274
4278
  }).get();
4275
4279
  }
4276
4280
  });
4277
- var qo = /%20/g, Ro = /#.*$/, jo = /([?&])_=[^&]*/, Wo = /^(.*?):[ \t]*([^\r\n]*)$/mg, Fo = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, _o = /^(?:GET|HEAD)$/, Vo = /^\/\//, dn = {}, sr = {}, hn = "*/".concat("*"), ar = U.createElement("a");
4278
- ar.href = si.href;
4279
- function pn(t) {
4281
+ var jo = /%20/g, Wo = /#.*$/, Fo = /([?&])_=[^&]*/, _o = /^(.*?):[ \t]*([^\r\n]*)$/mg, Vo = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, $o = /^(?:GET|HEAD)$/, Xo = /^\/\//, pn = {}, ar = {}, gn = "*/".concat("*"), lr = U.createElement("a");
4282
+ lr.href = si.href;
4283
+ function mn(t) {
4280
4284
  return function(i, r) {
4281
4285
  typeof i != "string" && (r = i, i = "*");
4282
4286
  var n, a = 0, l = i.toLowerCase().match(He) || [];
@@ -4285,8 +4289,8 @@ function mo() {
4285
4289
  n[0] === "+" ? (n = n.slice(1) || "*", (t[n] = t[n] || []).unshift(r)) : (t[n] = t[n] || []).push(r);
4286
4290
  };
4287
4291
  }
4288
- function gn(t, i, r, n) {
4289
- var a = {}, l = t === sr;
4292
+ function vn(t, i, r, n) {
4293
+ var a = {}, l = t === ar;
4290
4294
  function u(y) {
4291
4295
  var m;
4292
4296
  return a[y] = !0, o.each(t[y] || [], function(w, P) {
@@ -4299,13 +4303,13 @@ function mo() {
4299
4303
  }
4300
4304
  return u(i.dataTypes[0]) || !a["*"] && u("*");
4301
4305
  }
4302
- function lr(t, i) {
4306
+ function cr(t, i) {
4303
4307
  var r, n, a = o.ajaxSettings.flatOptions || {};
4304
4308
  for (r in i)
4305
4309
  i[r] !== void 0 && ((a[r] ? t : n || (n = {}))[r] = i[r]);
4306
4310
  return n && o.extend(!0, t, n), t;
4307
4311
  }
4308
- function $o(t, i, r) {
4312
+ function Yo(t, i, r) {
4309
4313
  for (var n, a, l, u, y = t.contents, m = t.dataTypes; m[0] === "*"; )
4310
4314
  m.shift(), n === void 0 && (n = t.mimeType || i.getResponseHeader("Content-Type"));
4311
4315
  if (n) {
@@ -4330,7 +4334,7 @@ function mo() {
4330
4334
  if (l)
4331
4335
  return l !== m[0] && m.unshift(l), r[l];
4332
4336
  }
4333
- function Xo(t, i, r, n) {
4337
+ function Uo(t, i, r, n) {
4334
4338
  var a, l, u, y, m, w = {}, P = t.dataTypes.slice();
4335
4339
  if (P[1])
4336
4340
  for (u in t.converters)
@@ -4372,7 +4376,7 @@ function mo() {
4372
4376
  ajaxSettings: {
4373
4377
  url: si.href,
4374
4378
  type: "GET",
4375
- isLocal: Fo.test(si.protocol),
4379
+ isLocal: Vo.test(si.protocol),
4376
4380
  global: !0,
4377
4381
  processData: !0,
4378
4382
  async: !0,
@@ -4389,7 +4393,7 @@ function mo() {
4389
4393
  headers: {},
4390
4394
  */
4391
4395
  accepts: {
4392
- "*": hn,
4396
+ "*": gn,
4393
4397
  text: "text/plain",
4394
4398
  html: "text/html",
4395
4399
  xml: "application/xml, text/xml",
@@ -4432,25 +4436,25 @@ function mo() {
4432
4436
  ajaxSetup: function(t, i) {
4433
4437
  return i ? (
4434
4438
  // Building a settings object
4435
- lr(lr(t, o.ajaxSettings), i)
4439
+ cr(cr(t, o.ajaxSettings), i)
4436
4440
  ) : (
4437
4441
  // Extending ajaxSettings
4438
- lr(o.ajaxSettings, t)
4442
+ cr(o.ajaxSettings, t)
4439
4443
  );
4440
4444
  },
4441
- ajaxPrefilter: pn(dn),
4442
- ajaxTransport: pn(sr),
4445
+ ajaxPrefilter: mn(pn),
4446
+ ajaxTransport: mn(ar),
4443
4447
  // Main method
4444
4448
  ajax: function(t, i) {
4445
4449
  typeof t == "object" && (i = t, t = void 0), i = i || {};
4446
- var r, n, a, l, u, y, m, w, P, O, k = o.ajaxSetup({}, i), R = k.context || k, ie = k.context && (R.nodeType || R.jquery) ? o(R) : o.event, de = o.Deferred(), ne = o.Callbacks("once memory"), Oe = k.statusCode || {}, Pe = {}, ct = {}, ut = "canceled", ce = {
4450
+ var r, n, a, l, u, y, m, w, P, O, A = o.ajaxSetup({}, i), R = A.context || A, ie = A.context && (R.nodeType || R.jquery) ? o(R) : o.event, de = o.Deferred(), ne = o.Callbacks("once memory"), Oe = A.statusCode || {}, Pe = {}, ct = {}, ut = "canceled", ce = {
4447
4451
  readyState: 0,
4448
4452
  // Builds headers hashtable if needed
4449
4453
  getResponseHeader: function(he) {
4450
4454
  var Se;
4451
4455
  if (m) {
4452
4456
  if (!l)
4453
- for (l = {}; Se = Wo.exec(a); )
4457
+ for (l = {}; Se = _o.exec(a); )
4454
4458
  l[Se[1].toLowerCase() + " "] = (l[Se[1].toLowerCase() + " "] || []).concat(Se[2]);
4455
4459
  Se = l[he.toLowerCase() + " "];
4456
4460
  }
@@ -4466,7 +4470,7 @@ function mo() {
4466
4470
  },
4467
4471
  // Overrides response content-type header
4468
4472
  overrideMimeType: function(he) {
4469
- return m == null && (k.mimeType = he), this;
4473
+ return m == null && (A.mimeType = he), this;
4470
4474
  },
4471
4475
  // Status-dependent callbacks
4472
4476
  statusCode: function(he) {
@@ -4485,32 +4489,32 @@ function mo() {
4485
4489
  return r && r.abort(Se), qt(0, Se), this;
4486
4490
  }
4487
4491
  };
4488
- if (de.promise(ce), k.url = ((t || k.url || si.href) + "").replace(Vo, si.protocol + "//"), k.type = i.method || i.type || k.method || k.type, k.dataTypes = (k.dataType || "*").toLowerCase().match(He) || [""], k.crossDomain == null) {
4492
+ if (de.promise(ce), A.url = ((t || A.url || si.href) + "").replace(Xo, si.protocol + "//"), A.type = i.method || i.type || A.method || A.type, A.dataTypes = (A.dataType || "*").toLowerCase().match(He) || [""], A.crossDomain == null) {
4489
4493
  y = U.createElement("a");
4490
4494
  try {
4491
- y.href = k.url, y.href = y.href, k.crossDomain = ar.protocol + "//" + ar.host != y.protocol + "//" + y.host;
4495
+ y.href = A.url, y.href = y.href, A.crossDomain = lr.protocol + "//" + lr.host != y.protocol + "//" + y.host;
4492
4496
  } catch {
4493
- k.crossDomain = !0;
4497
+ A.crossDomain = !0;
4494
4498
  }
4495
4499
  }
4496
- if (k.data && k.processData && typeof k.data != "string" && (k.data = o.param(k.data, k.traditional)), gn(dn, k, i, ce), m)
4500
+ if (A.data && A.processData && typeof A.data != "string" && (A.data = o.param(A.data, A.traditional)), vn(pn, A, i, ce), m)
4497
4501
  return ce;
4498
- w = o.event && k.global, w && o.active++ === 0 && o.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !_o.test(k.type), n = k.url.replace(Ro, ""), k.hasContent ? k.data && k.processData && (k.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (k.data = k.data.replace(qo, "+")) : (O = k.url.slice(n.length), k.data && (k.processData || typeof k.data == "string") && (n += (nr.test(n) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (n = n.replace(jo, "$1"), O = (nr.test(n) ? "&" : "?") + "_=" + ln.guid++ + O), k.url = n + O), k.ifModified && (o.lastModified[n] && ce.setRequestHeader("If-Modified-Since", o.lastModified[n]), o.etag[n] && ce.setRequestHeader("If-None-Match", o.etag[n])), (k.data && k.hasContent && k.contentType !== !1 || i.contentType) && ce.setRequestHeader("Content-Type", k.contentType), ce.setRequestHeader(
4502
+ w = o.event && A.global, w && o.active++ === 0 && o.event.trigger("ajaxStart"), A.type = A.type.toUpperCase(), A.hasContent = !$o.test(A.type), n = A.url.replace(Wo, ""), A.hasContent ? A.data && A.processData && (A.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (A.data = A.data.replace(jo, "+")) : (O = A.url.slice(n.length), A.data && (A.processData || typeof A.data == "string") && (n += (or.test(n) ? "&" : "?") + A.data, delete A.data), A.cache === !1 && (n = n.replace(Fo, "$1"), O = (or.test(n) ? "&" : "?") + "_=" + un.guid++ + O), A.url = n + O), A.ifModified && (o.lastModified[n] && ce.setRequestHeader("If-Modified-Since", o.lastModified[n]), o.etag[n] && ce.setRequestHeader("If-None-Match", o.etag[n])), (A.data && A.hasContent && A.contentType !== !1 || i.contentType) && ce.setRequestHeader("Content-Type", A.contentType), ce.setRequestHeader(
4499
4503
  "Accept",
4500
- k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + (k.dataTypes[0] !== "*" ? ", " + hn + "; q=0.01" : "") : k.accepts["*"]
4504
+ A.dataTypes[0] && A.accepts[A.dataTypes[0]] ? A.accepts[A.dataTypes[0]] + (A.dataTypes[0] !== "*" ? ", " + gn + "; q=0.01" : "") : A.accepts["*"]
4501
4505
  );
4502
- for (P in k.headers)
4503
- ce.setRequestHeader(P, k.headers[P]);
4504
- if (k.beforeSend && (k.beforeSend.call(R, ce, k) === !1 || m))
4506
+ for (P in A.headers)
4507
+ ce.setRequestHeader(P, A.headers[P]);
4508
+ if (A.beforeSend && (A.beforeSend.call(R, ce, A) === !1 || m))
4505
4509
  return ce.abort();
4506
- if (ut = "abort", ne.add(k.complete), ce.done(k.success), ce.fail(k.error), r = gn(sr, k, i, ce), !r)
4510
+ if (ut = "abort", ne.add(A.complete), ce.done(A.success), ce.fail(A.error), r = vn(ar, A, i, ce), !r)
4507
4511
  qt(-1, "No Transport");
4508
4512
  else {
4509
- if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, k]), m)
4513
+ if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, A]), m)
4510
4514
  return ce;
4511
- k.async && k.timeout > 0 && (u = c.setTimeout(function() {
4515
+ A.async && A.timeout > 0 && (u = c.setTimeout(function() {
4512
4516
  ce.abort("timeout");
4513
- }, k.timeout));
4517
+ }, A.timeout));
4514
4518
  try {
4515
4519
  m = !1, r.send(Pe, qt);
4516
4520
  } catch (he) {
@@ -4519,13 +4523,13 @@ function mo() {
4519
4523
  qt(-1, he);
4520
4524
  }
4521
4525
  }
4522
- function qt(he, Se, li, ur) {
4526
+ function qt(he, Se, li, fr) {
4523
4527
  var ft, ci, dt, Ct, At, it = Se;
4524
- m || (m = !0, u && c.clearTimeout(u), r = void 0, a = ur || "", ce.readyState = he > 0 ? 4 : 0, ft = he >= 200 && he < 300 || he === 304, li && (Ct = $o(k, ce, li)), !ft && o.inArray("script", k.dataTypes) > -1 && o.inArray("json", k.dataTypes) < 0 && (k.converters["text script"] = function() {
4525
- }), Ct = Xo(k, Ct, ce, ft), ft ? (k.ifModified && (At = ce.getResponseHeader("Last-Modified"), At && (o.lastModified[n] = At), At = ce.getResponseHeader("etag"), At && (o.etag[n] = At)), he === 204 || k.type === "HEAD" ? it = "nocontent" : he === 304 ? it = "notmodified" : (it = Ct.state, ci = Ct.data, dt = Ct.error, ft = !dt)) : (dt = it, (he || !it) && (it = "error", he < 0 && (he = 0))), ce.status = he, ce.statusText = (Se || it) + "", ft ? de.resolveWith(R, [ci, it, ce]) : de.rejectWith(R, [ce, it, dt]), ce.statusCode(Oe), Oe = void 0, w && ie.trigger(
4528
+ m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0, ft = he >= 200 && he < 300 || he === 304, li && (Ct = Yo(A, ce, li)), !ft && o.inArray("script", A.dataTypes) > -1 && o.inArray("json", A.dataTypes) < 0 && (A.converters["text script"] = function() {
4529
+ }), Ct = Uo(A, Ct, ce, ft), ft ? (A.ifModified && (At = ce.getResponseHeader("Last-Modified"), At && (o.lastModified[n] = At), At = ce.getResponseHeader("etag"), At && (o.etag[n] = At)), he === 204 || A.type === "HEAD" ? it = "nocontent" : he === 304 ? it = "notmodified" : (it = Ct.state, ci = Ct.data, dt = Ct.error, ft = !dt)) : (dt = it, (he || !it) && (it = "error", he < 0 && (he = 0))), ce.status = he, ce.statusText = (Se || it) + "", ft ? de.resolveWith(R, [ci, it, ce]) : de.rejectWith(R, [ce, it, dt]), ce.statusCode(Oe), Oe = void 0, w && ie.trigger(
4526
4530
  ft ? "ajaxSuccess" : "ajaxError",
4527
- [ce, k, ft ? ci : dt]
4528
- ), ne.fireWith(R, [ce, it]), w && (ie.trigger("ajaxComplete", [ce, k]), --o.active || o.event.trigger("ajaxStop")));
4531
+ [ce, A, ft ? ci : dt]
4532
+ ), ne.fireWith(R, [ce, it]), w && (ie.trigger("ajaxComplete", [ce, A]), --o.active || o.event.trigger("ajaxStop")));
4529
4533
  }
4530
4534
  return ce;
4531
4535
  },
@@ -4607,7 +4611,7 @@ function mo() {
4607
4611
  } catch {
4608
4612
  }
4609
4613
  };
4610
- var Yo = {
4614
+ var Go = {
4611
4615
  // File protocol always yields status code 0, assume 200
4612
4616
  0: 200,
4613
4617
  // Support: IE <=9 only
@@ -4639,7 +4643,7 @@ function mo() {
4639
4643
  u.status,
4640
4644
  u.statusText
4641
4645
  ) : a(
4642
- Yo[u.status] || u.status,
4646
+ Go[u.status] || u.status,
4643
4647
  u.statusText,
4644
4648
  // Support: IE <=9 only
4645
4649
  // IE9 has no XHR2 but throws on binary (trac-11426)
@@ -4695,22 +4699,22 @@ function mo() {
4695
4699
  };
4696
4700
  }
4697
4701
  });
4698
- var mn = [], cr = /(=)\?(?=&|$)|\?\?/;
4702
+ var yn = [], ur = /(=)\?(?=&|$)|\?\?/;
4699
4703
  o.ajaxSetup({
4700
4704
  jsonp: "callback",
4701
4705
  jsonpCallback: function() {
4702
- var t = mn.pop() || o.expando + "_" + ln.guid++;
4706
+ var t = yn.pop() || o.expando + "_" + un.guid++;
4703
4707
  return this[t] = !0, t;
4704
4708
  }
4705
4709
  }), o.ajaxPrefilter("json jsonp", function(t, i, r) {
4706
- var n, a, l, u = t.jsonp !== !1 && (cr.test(t.url) ? "url" : typeof t.data == "string" && (t.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && cr.test(t.data) && "data");
4710
+ var n, a, l, u = t.jsonp !== !1 && (ur.test(t.url) ? "url" : typeof t.data == "string" && (t.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && ur.test(t.data) && "data");
4707
4711
  if (u || t.dataTypes[0] === "jsonp")
4708
- return n = t.jsonpCallback = G(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, u ? t[u] = t[u].replace(cr, "$1" + n) : t.jsonp !== !1 && (t.url += (nr.test(t.url) ? "&" : "?") + t.jsonp + "=" + n), t.converters["script json"] = function() {
4712
+ return n = t.jsonpCallback = G(t.jsonpCallback) ? t.jsonpCallback() : t.jsonpCallback, u ? t[u] = t[u].replace(ur, "$1" + n) : t.jsonp !== !1 && (t.url += (or.test(t.url) ? "&" : "?") + t.jsonp + "=" + n), t.converters["script json"] = function() {
4709
4713
  return l || o.error(n + " was not called"), l[0];
4710
4714
  }, t.dataTypes[0] = "json", a = c[n], c[n] = function() {
4711
4715
  l = arguments;
4712
4716
  }, r.always(function() {
4713
- a === void 0 ? o(c).removeProp(n) : c[n] = a, t[n] && (t.jsonpCallback = i.jsonpCallback, mn.push(n)), l && G(a) && a(l[0]), l = a = void 0;
4717
+ a === void 0 ? o(c).removeProp(n) : c[n] = a, t[n] && (t.jsonpCallback = i.jsonpCallback, yn.push(n)), l && G(a) && a(l[0]), l = a = void 0;
4714
4718
  }), "script";
4715
4719
  }), V.createHTMLDocument = (function() {
4716
4720
  var t = U.implementation.createHTMLDocument("").body;
@@ -4751,8 +4755,8 @@ function mo() {
4751
4755
  }).length;
4752
4756
  }, o.offset = {
4753
4757
  setOffset: function(t, i, r) {
4754
- var n, a, l, u, y, m, w, P = o.css(t, "position"), O = o(t), k = {};
4755
- P === "static" && (t.style.position = "relative"), y = O.offset(), l = o.css(t, "top"), m = o.css(t, "left"), w = (P === "absolute" || P === "fixed") && (l + m).indexOf("auto") > -1, w ? (n = O.position(), u = n.top, a = n.left) : (u = parseFloat(l) || 0, a = parseFloat(m) || 0), G(i) && (i = i.call(t, r, o.extend({}, y))), i.top != null && (k.top = i.top - y.top + u), i.left != null && (k.left = i.left - y.left + a), "using" in i ? i.using.call(t, k) : O.css(k);
4758
+ var n, a, l, u, y, m, w, P = o.css(t, "position"), O = o(t), A = {};
4759
+ P === "static" && (t.style.position = "relative"), y = O.offset(), l = o.css(t, "top"), m = o.css(t, "left"), w = (P === "absolute" || P === "fixed") && (l + m).indexOf("auto") > -1, w ? (n = O.position(), u = n.top, a = n.left) : (u = parseFloat(l) || 0, a = parseFloat(m) || 0), G(i) && (i = i.call(t, r, o.extend({}, y))), i.top != null && (A.top = i.top - y.top + u), i.left != null && (A.left = i.left - y.left + a), "using" in i ? i.using.call(t, A) : O.css(A);
4756
4760
  }
4757
4761
  }, o.fn.extend({
4758
4762
  // offset() relates an element's border box to the document origin
@@ -4817,11 +4821,11 @@ function mo() {
4817
4821
  }, t, n, arguments.length);
4818
4822
  };
4819
4823
  }), o.each(["top", "left"], function(t, i) {
4820
- o.cssHooks[i] = Kr(
4824
+ o.cssHooks[i] = Qr(
4821
4825
  V.pixelPosition,
4822
4826
  function(r, n) {
4823
4827
  if (n)
4824
- return n = ni(r, i), Ji.test(n) ? o(r).position()[i] + "px" : n;
4828
+ return n = ni(r, i), Qi.test(n) ? o(r).position()[i] + "px" : n;
4825
4829
  }
4826
4830
  );
4827
4831
  }), o.each({ Height: "height", Width: "width" }, function(t, i) {
@@ -4885,12 +4889,12 @@ function mo() {
4885
4889
  };
4886
4890
  }
4887
4891
  );
4888
- var Uo = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
4892
+ var Zo = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
4889
4893
  o.proxy = function(t, i) {
4890
4894
  var r, n, a;
4891
4895
  if (typeof i == "string" && (r = t[i], i = t, t = r), !!G(t))
4892
- return n = A.call(arguments, 2), a = function() {
4893
- return t.apply(i || this, n.concat(A.call(arguments)));
4896
+ return n = L.call(arguments, 2), a = function() {
4897
+ return t.apply(i || this, n.concat(L.call(arguments)));
4894
4898
  }, a.guid = t.guid = t.guid || o.guid++, a;
4895
4899
  }, o.holdReady = function(t) {
4896
4900
  t ? o.readyWait++ : o.ready(!0);
@@ -4901,24 +4905,24 @@ function mo() {
4901
4905
  // subtraction forces infinities to NaN
4902
4906
  !isNaN(t - parseFloat(t));
4903
4907
  }, o.trim = function(t) {
4904
- return t == null ? "" : (t + "").replace(Uo, "$1");
4908
+ return t == null ? "" : (t + "").replace(Zo, "$1");
4905
4909
  };
4906
- var Go = c.jQuery, Zo = c.$;
4910
+ var Ko = c.jQuery, Jo = c.$;
4907
4911
  return o.noConflict = function(t) {
4908
- return c.$ === o && (c.$ = Zo), t && c.jQuery === o && (c.jQuery = Go), o;
4912
+ return c.$ === o && (c.$ = Jo), t && c.jQuery === o && (c.jQuery = Ko), o;
4909
4913
  }, typeof d > "u" && (c.jQuery = c.$ = o), o;
4910
4914
  });
4911
- })(Ni)), Ni.exports;
4915
+ })(Pi)), Pi.exports;
4912
4916
  }
4913
- var Gs = mo();
4914
- const Qt = /* @__PURE__ */ Ys(Gs);
4915
- var wr = { exports: {} }, Cn;
4916
- function Zs() {
4917
- return Cn || (Cn = 1, (function(s, c) {
4917
+ var Ks = yo();
4918
+ const Qt = /* @__PURE__ */ Gs(Ks);
4919
+ var xr = { exports: {} }, kn;
4920
+ function Js() {
4921
+ return kn || (kn = 1, (function(s, c) {
4918
4922
  (function(d) {
4919
- s.exports = d(mo());
4923
+ s.exports = d(yo());
4920
4924
  })(function(d) {
4921
- var h = !1, T = !1, A = 0, z = 2e3, D = 0, L = d, q = document, _ = window, we = L(_), Q = [];
4925
+ var h = !1, T = !1, L = 0, z = 2e3, D = 0, k = d, q = document, _ = window, ye = k(_), Q = [];
4922
4926
  function _e() {
4923
4927
  var j = q.currentScript || (function() {
4924
4928
  var e = q.getElementsByTagName("script");
@@ -5040,14 +5044,14 @@ function Zs() {
5040
5044
  }, ti = function(j, C) {
5041
5045
  var e = this;
5042
5046
  this.version = "3.7.6", this.name = "nicescroll", this.me = C;
5043
- var Z = L("body"), g = this.opt = {
5047
+ var Z = k("body"), g = this.opt = {
5044
5048
  doc: Z,
5045
5049
  win: !1
5046
5050
  };
5047
- if (L.extend(g, wt), g.snapbackspeed = 80, j)
5051
+ if (k.extend(g, wt), g.snapbackspeed = 80, j)
5048
5052
  for (var De in g)
5049
5053
  j[De] !== void 0 && (g[De] = j[De]);
5050
- if (g.disablemutationobserver && (U = !1), this.doc = g.doc, this.iddoc = this.doc && this.doc[0] && this.doc[0].id || "", this.ispage = /^BODY|HTML/.test(g.win ? g.win[0].nodeName : this.doc[0].nodeName), this.haswrapper = g.win !== !1, this.win = g.win || (this.ispage ? we : this.doc), this.docscroll = this.ispage && !this.haswrapper ? we : this.win, this.body = Z, this.viewport = !1, this.isfixed = !1, this.iframe = !1, this.isiframe = this.doc[0].nodeName == "IFRAME" && this.win[0].nodeName == "IFRAME", this.istextarea = this.win[0].nodeName == "TEXTAREA", this.forcescreen = !1, this.canshowonmouseevent = g.autohidemode != "scroll", this.onmousedown = !1, this.onmouseup = !1, this.onmousemove = !1, this.onmousewheel = !1, this.onkeypress = !1, this.ongesturezoom = !1, this.onclick = !1, this.onscrollstart = !1, this.onscrollend = !1, this.onscrollcancel = !1, this.onzoomin = !1, this.onzoomout = !1, this.view = !1, this.page = !1, this.scroll = {
5054
+ if (g.disablemutationobserver && (U = !1), this.doc = g.doc, this.iddoc = this.doc && this.doc[0] && this.doc[0].id || "", this.ispage = /^BODY|HTML/.test(g.win ? g.win[0].nodeName : this.doc[0].nodeName), this.haswrapper = g.win !== !1, this.win = g.win || (this.ispage ? ye : this.doc), this.docscroll = this.ispage && !this.haswrapper ? ye : this.win, this.body = Z, this.viewport = !1, this.isfixed = !1, this.iframe = !1, this.isiframe = this.doc[0].nodeName == "IFRAME" && this.win[0].nodeName == "IFRAME", this.istextarea = this.win[0].nodeName == "TEXTAREA", this.forcescreen = !1, this.canshowonmouseevent = g.autohidemode != "scroll", this.onmousedown = !1, this.onmouseup = !1, this.onmousemove = !1, this.onmousewheel = !1, this.onkeypress = !1, this.ongesturezoom = !1, this.onclick = !1, this.onscrollstart = !1, this.onscrollend = !1, this.onscrollcancel = !1, this.onzoomin = !1, this.onzoomout = !1, this.view = !1, this.page = !1, this.scroll = {
5051
5055
  x: 0,
5052
5056
  y: 0
5053
5057
  }, this.scrollratio = {
@@ -5065,7 +5069,7 @@ function Zs() {
5065
5069
  this.id = "ascrail" + z++;
5066
5070
  while (q.getElementById(this.id));
5067
5071
  this.rail = !1, this.cursor = !1, this.cursorfreezed = !1, this.selectiondrag = !1, this.zoom = !1, this.zoomactive = !1, this.hasfocus = !1, this.hasmousefocus = !1, this.railslocked = !1, this.locked = !1, this.hidden = !1, this.cursoractive = !0, this.wheelprevented = !1, this.overflowx = g.overflowx, this.overflowy = g.overflowy, this.nativescrollingarea = !1, this.checkarea = 0, this.events = [], this.saved = {}, this.delaylist = {}, this.synclist = {}, this.lastdeltax = 0, this.lastdeltay = 0, this.detected = $e();
5068
- var B = L.extend({}, this.detected);
5072
+ var B = k.extend({}, this.detected);
5069
5073
  this.canhwscroll = B.hastransform && g.hwacceleration, this.ishwscroll = this.canhwscroll && e.haswrapper, this.isrtlmode ? this.isvertical ? this.hasreversehr = !(B.iswebkit || B.isie || B.isie11) : this.hasreversehr = !(B.iswebkit || B.isie && !B.isie10 && !B.isie11) : this.hasreversehr = !1, this.istouchcapable = !1, !B.cantouch && (B.hasw3ctouch || B.hasmstouch) ? this.istouchcapable = !0 : B.cantouch && !B.isios && !B.isandroid && (B.iswebkit || B.ismozilla) && (this.istouchcapable = !0), g.enablemouselockapi || (B.hasmousecapture = !1, B.haspointerlock = !1), this.debounced = function(f, v, S) {
5070
5074
  if (e) {
5071
5075
  var H = e.delaylist[f] || !1;
@@ -5257,10 +5261,10 @@ function Zs() {
5257
5261
  var f = { "overflow-y": "hidden" };
5258
5262
  if ((B.isie11 || B.isie10) && (f["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(B.transitionstyle, B.prefixstyle + "transform 0ms ease-out"), B.transitionend && e.bind(e.doc, B.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && g.zindex == "auto" ? e.zindex = xt() || "auto" : e.zindex = g.zindex, !e.ispage && e.zindex != "auto" && e.zindex > D && (D = e.zindex), e.isie && e.zindex === 0 && g.zindex == "auto" && (e.zindex = "auto"), !e.ispage || !B.isieold) {
5259
5263
  var v = e.docscroll;
5260
- e.ispage && (v = e.haswrapper ? e.win : e.doc), e.css(v, f), e.ispage && (B.isie11 || B.isie) && e.css(L("html"), f), B.isios && !e.ispage && !e.haswrapper && e.css(Z, {
5264
+ e.ispage && (v = e.haswrapper ? e.win : e.doc), e.css(v, f), e.ispage && (B.isie11 || B.isie) && e.css(k("html"), f), B.isios && !e.ispage && !e.haswrapper && e.css(Z, {
5261
5265
  "-webkit-overflow-scrolling": "touch"
5262
5266
  });
5263
- var S = L(q.createElement("div"));
5267
+ var S = k(q.createElement("div"));
5264
5268
  S.css({
5265
5269
  position: "relative",
5266
5270
  top: 0,
@@ -5274,11 +5278,11 @@ function Zs() {
5274
5278
  "-moz-border-radius": g.cursorborderradius,
5275
5279
  "border-radius": g.cursorborderradius
5276
5280
  }), S.addClass("nicescroll-cursors"), e.cursor = S;
5277
- var H = L(q.createElement("div"));
5281
+ var H = k(q.createElement("div"));
5278
5282
  H.attr("id", e.id), H.addClass("nicescroll-rails nicescroll-rails-vr");
5279
5283
  var W, M, ee = ["left", "right", "top", "bottom"];
5280
- for (var be in ee)
5281
- M = ee[be], W = g.railpadding[M] || 0, W && H.css("padding-" + M, W + "px");
5284
+ for (var we in ee)
5285
+ M = ee[we], W = g.railpadding[M] || 0, W && H.css("padding-" + M, W + "px");
5282
5286
  H.append(S), H.width = Math.max(parseFloat(g.cursorwidth), S.outerWidth()), H.css({
5283
5287
  width: H.width + "px",
5284
5288
  zIndex: e.zindex,
@@ -5290,7 +5294,7 @@ function Zs() {
5290
5294
  e.zoom.css("opacity", g.cursoropacitymax);
5291
5295
  }), e.bind(Ae, "mouseleave", function() {
5292
5296
  e.zoom.css("opacity", g.cursoropacitymin);
5293
- }), e.zoom = L(Ae), e.zoom.css({
5297
+ }), e.zoom = k(Ae), e.zoom.css({
5294
5298
  cursor: "pointer",
5295
5299
  zIndex: e.zindex,
5296
5300
  backgroundImage: "url(" + g.scriptpath + "zoomico.png)",
@@ -5303,7 +5307,7 @@ function Zs() {
5303
5307
  var oe;
5304
5308
  if (g.horizrailenabled && (e.css(v, {
5305
5309
  overflowX: "hidden"
5306
- }), S = L(q.createElement("div")), S.css({
5310
+ }), S = k(q.createElement("div")), S.css({
5307
5311
  position: "absolute",
5308
5312
  top: 0,
5309
5313
  height: g.cursorwidth,
@@ -5314,7 +5318,7 @@ function Zs() {
5314
5318
  "-webkit-border-radius": g.cursorborderradius,
5315
5319
  "-moz-border-radius": g.cursorborderradius,
5316
5320
  "border-radius": g.cursorborderradius
5317
- }), B.isieold && S.css("overflow", "hidden"), S.addClass("nicescroll-cursors"), e.cursorh = S, oe = L(q.createElement("div")), oe.attr("id", e.id + "-hr"), oe.addClass("nicescroll-rails nicescroll-rails-hr"), oe.height = Math.max(parseFloat(g.cursorwidth), S.outerHeight()), oe.css({
5321
+ }), B.isieold && S.css("overflow", "hidden"), S.addClass("nicescroll-cursors"), e.cursorh = S, oe = k(q.createElement("div")), oe.attr("id", e.id + "-hr"), oe.addClass("nicescroll-rails nicescroll-rails-hr"), oe.height = Math.max(parseFloat(g.cursorwidth), S.outerHeight()), oe.css({
5318
5322
  height: oe.height + "px",
5319
5323
  zIndex: e.zindex,
5320
5324
  background: g.background
@@ -5332,7 +5336,7 @@ function Zs() {
5332
5336
  if (e.ishwscroll) {
5333
5337
  e.win.css("position") == "static" && e.css(e.win, { position: "relative" });
5334
5338
  var Re = e.win[0].nodeName == "HTML" ? e.body : e.win;
5335
- L(Re).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5339
+ k(Re).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5336
5340
  position: "absolute",
5337
5341
  top: 1,
5338
5342
  right: 0,
@@ -5367,7 +5371,7 @@ function Zs() {
5367
5371
  opacity: g.cursoropacitymax
5368
5372
  }), e.railh && e.railh.css({
5369
5373
  opacity: g.cursoropacitymax
5370
- })) : g.autohidemode === !0 || g.autohidemode === "leave" ? (e.autohidedom = L().add(e.rail), B.isie8 && (e.autohidedom = e.autohidedom.add(e.cursor)), e.railh && (e.autohidedom = e.autohidedom.add(e.railh)), e.railh && B.isie8 && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "scroll" ? (e.autohidedom = L().add(e.rail), e.railh && (e.autohidedom = e.autohidedom.add(e.railh))) : g.autohidemode == "cursor" ? (e.autohidedom = L().add(e.cursor), e.railh && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "hidden" && (e.autohidedom = !1, e.hide(), e.railslocked = !1), B.cantouch || e.istouchcapable || g.emulatetouch || B.hasmstouch) {
5374
+ })) : g.autohidemode === !0 || g.autohidemode === "leave" ? (e.autohidedom = k().add(e.rail), B.isie8 && (e.autohidedom = e.autohidedom.add(e.cursor)), e.railh && (e.autohidedom = e.autohidedom.add(e.railh)), e.railh && B.isie8 && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "scroll" ? (e.autohidedom = k().add(e.rail), e.railh && (e.autohidedom = e.autohidedom.add(e.railh))) : g.autohidemode == "cursor" ? (e.autohidedom = k().add(e.cursor), e.railh && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "hidden" && (e.autohidedom = !1, e.hide(), e.railslocked = !1), B.cantouch || e.istouchcapable || g.emulatetouch || B.hasmstouch) {
5371
5375
  e.scrollmom = new o(e), e.ontouchstart = function(x) {
5372
5376
  if (e.locked || x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !1;
5373
5377
  if (e.hasmoving = !1, e.scrollmom.timer && (e.triggerScrollEnd(), e.scrollmom.stop()), !e.railslocked) {
@@ -5397,8 +5401,8 @@ function Zs() {
5397
5401
  e.rail.drag.dl = "f";
5398
5402
  else {
5399
5403
  var Ke = {
5400
- w: we.width(),
5401
- h: we.height()
5404
+ w: ye.width(),
5405
+ h: ye.height()
5402
5406
  }, ve = e.getContentSize(), Ce = ve.h - Ke.h, vt = ve.w - Ke.w;
5403
5407
  e.rail.scrollable && !e.railh.scrollable ? e.rail.drag.ck = Ce > 0 ? "v" : !1 : !e.rail.scrollable && e.railh.scrollable ? e.rail.drag.ck = vt > 0 ? "h" : !1 : e.rail.drag.ck = !1;
5404
5408
  }
@@ -5413,7 +5417,7 @@ function Zs() {
5413
5417
  if (e.hasmoving) return !1;
5414
5418
  K._onclick.call(this, nt);
5415
5419
  }), e.cancelEvent(x)) : e.stopPropagation(x);
5416
- /SUBMIT|CANCEL|BUTTON/i.test(L(K).attr("type")) && (e.preventclick = {
5420
+ /SUBMIT|CANCEL|BUTTON/i.test(k(K).attr("type")) && (e.preventclick = {
5417
5421
  tg: K,
5418
5422
  click: !1
5419
5423
  });
@@ -5571,11 +5575,11 @@ function Zs() {
5571
5575
  }, 250);
5572
5576
  };
5573
5577
  }
5574
- if (B.hasw3ctouch ? (e.css(e.ispage ? L("html") : e.win, { "touch-action": "none" }), e.css(e.rail, {
5578
+ if (B.hasw3ctouch ? (e.css(e.ispage ? k("html") : e.win, { "touch-action": "none" }), e.css(e.rail, {
5575
5579
  "touch-action": "none"
5576
5580
  }), e.css(e.cursor, {
5577
5581
  "touch-action": "none"
5578
- }), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(q, "pointerup", e.ontouchend), e.delegate(q, "pointermove", e.ontouchmove)) : B.hasmstouch ? (e.css(e.ispage ? L("html") : e.win, { "-ms-touch-action": "none" }), e.css(e.rail, {
5582
+ }), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(q, "pointerup", e.ontouchend), e.delegate(q, "pointermove", e.ontouchmove)) : B.hasmstouch ? (e.css(e.ispage ? k("html") : e.win, { "-ms-touch-action": "none" }), e.css(e.rail, {
5579
5583
  "-ms-touch-action": "none"
5580
5584
  }), e.css(e.cursor, {
5581
5585
  "-ms-touch-action": "none"
@@ -5628,7 +5632,7 @@ function Zs() {
5628
5632
  }), e.railh && e.bind(e.railh, "mousedown", function(x) {
5629
5633
  x.preventDefault();
5630
5634
  }))), g.enablemousewheel && (e.isiframe || e.mousewheel(B.isie && e.ispage ? q : e.win, e.onmousewheel), e.mousewheel(e.rail, e.onmousewheel), e.railh && e.mousewheel(e.railh, e.onmousewheelhr)), !e.ispage && !B.cantouch && !/HTML|^BODY/.test(e.win[0].nodeName) && (e.win.attr("tabindex") || e.win.attr({
5631
- tabindex: ++A
5635
+ tabindex: ++L
5632
5636
  }), e.bind(e.win, "focus", function(x) {
5633
5637
  h = e.getTarget(x).id || e.getTarget(x) || !1, e.hasfocus = !0, e.canshowonmouseevent && e.noticeCursor();
5634
5638
  }), e.bind(e.win, "blur", function(x) {
@@ -5645,7 +5649,7 @@ function Zs() {
5645
5649
  var ue = K.getAttribute("type") || K.type || !1;
5646
5650
  if (!ue || !/submit|button|cancel/i.tp) return !0;
5647
5651
  }
5648
- if (L(K).attr("contenteditable")) return !0;
5652
+ if (k(K).attr("contenteditable")) return !0;
5649
5653
  if (e.hasfocus || e.hasmousefocus && !h || e.ispage && !h && !T) {
5650
5654
  var ke = x.keyCode;
5651
5655
  if (e.railslocked && ke != 27) return e.cancelEvent(x);
@@ -5701,8 +5705,8 @@ function Zs() {
5701
5705
  }), e.bind(_, "blur", function(x) {
5702
5706
  e.wheelprevented = !1;
5703
5707
  }), e.bind(_, "resize", e.onscreenresize), e.bind(_, "orientationchange", e.onscreenresize), e.bind(_, "load", e.lazyResize), B.ischrome && !e.ispage && !e.haswrapper) {
5704
- var Et = e.win.attr("style"), Zi = parseFloat(e.win.css("width")) + 1;
5705
- e.win.css("width", Zi), e.synched("chromefix", function() {
5708
+ var Et = e.win.attr("style"), Ki = parseFloat(e.win.css("width")) + 1;
5709
+ e.win.css("width", Ki), e.synched("chromefix", function() {
5706
5710
  e.win.attr("style", Et);
5707
5711
  });
5708
5712
  }
@@ -5711,7 +5715,7 @@ function Zs() {
5711
5715
  }, g.enableobserver && (!e.isie11 && U !== !1 && (e.observerbody = new U(function(x) {
5712
5716
  if (x.forEach(function(K) {
5713
5717
  if (K.type == "attributes")
5714
- return Z.hasClass("modal-open") && Z.hasClass("modal-dialog") && !L.contains(L(".modal-dialog")[0], e.doc[0]) ? e.hide() : e.show();
5718
+ return Z.hasClass("modal-open") && Z.hasClass("modal-dialog") && !k.contains(k(".modal-dialog")[0], e.doc[0]) ? e.hide() : e.show();
5715
5719
  }), e.me.clientWidth != e.page.width || e.me.clientHeight != e.page.height) return e.lazyResize(30);
5716
5720
  }), e.observerbody.observe(q.body, {
5717
5721
  childList: !0,
@@ -5759,7 +5763,7 @@ function Zs() {
5759
5763
  if (e.iframexd)
5760
5764
  return "console" in _ && console.log("NiceScroll error: policy restriced iframe"), !0;
5761
5765
  if (e.forcescreen = !0, e.isiframe && (e.iframe = {
5762
- doc: L(x),
5766
+ doc: k(x),
5763
5767
  html: e.doc.contents().find("html")[0],
5764
5768
  body: e.doc.contents().find("body")[0]
5765
5769
  }, e.getContentSize = function() {
@@ -5767,16 +5771,16 @@ function Zs() {
5767
5771
  w: Math.max(e.iframe.html.scrollWidth, e.iframe.body.scrollWidth),
5768
5772
  h: Math.max(e.iframe.html.scrollHeight, e.iframe.body.scrollHeight)
5769
5773
  };
5770
- }, e.docscroll = L(e.iframe.body)), !B.isios && g.iframeautoresize && !e.isiframe) {
5774
+ }, e.docscroll = k(e.iframe.body)), !B.isios && g.iframeautoresize && !e.isiframe) {
5771
5775
  e.win.scrollTop(0), e.doc.height("");
5772
5776
  var ue = Math.max(x.getElementsByTagName("html")[0].scrollHeight, x.body.scrollHeight);
5773
5777
  e.doc.height(ue);
5774
5778
  }
5775
- e.lazyResize(30), e.css(L(e.iframe.body), f), B.isios && e.haswrapper && e.css(L(x.body), {
5779
+ e.lazyResize(30), e.css(k(e.iframe.body), f), B.isios && e.haswrapper && e.css(k(x.body), {
5776
5780
  "-webkit-transform": "translate3d(0,0,0)"
5777
5781
  }), "contentWindow" in this ? e.bind(this.contentWindow, "scroll", e.onscroll) : e.bind(x, "scroll", e.onscroll), g.enablemousewheel && e.mousewheel(x, e.onmousewheel), g.enablekeyboard && e.bind(x, B.isopera ? "keypress" : "keydown", e.onkeypress), B.cantouch ? (e.bind(x, "touchstart", e.ontouchstart), e.bind(x, "touchmove", e.ontouchmove)) : g.emulatetouch && (e.bind(x, "mousedown", e.ontouchstart), e.bind(x, "mousemove", function(ke) {
5778
5782
  return e.ontouchmove(ke, !0);
5779
- }), g.grabcursorenabled && B.cursorgrabvalue && e.css(L(x.body), {
5783
+ }), g.grabcursorenabled && B.cursorgrabvalue && e.css(k(x.body), {
5780
5784
  cursor: B.cursorgrabvalue
5781
5785
  })), e.bind(x, "mouseup", e.ontouchend), e.zoom && (g.dblclickzoom && e.bind(x, "dblclick", e.doZoom), e.ongesturezoom && e.bind(x, "gestureend", e.ongesturezoom));
5782
5786
  };
@@ -5838,8 +5842,8 @@ function Zs() {
5838
5842
  return e;
5839
5843
  var ee = e.win.offset();
5840
5844
  if (e.lastposition) {
5841
- var be = e.lastposition;
5842
- if (be.top == ee.top && be.left == ee.left) return e;
5845
+ var we = e.lastposition;
5846
+ if (we.top == ee.top && we.left == ee.left) return e;
5843
5847
  }
5844
5848
  e.lastposition = ee;
5845
5849
  }
@@ -5890,7 +5894,7 @@ function Zs() {
5890
5894
  n: v,
5891
5895
  f: S,
5892
5896
  q: !0
5893
- }), L(f).on(v, S);
5897
+ }), k(f).on(v, S);
5894
5898
  }, this.mousewheel = function(f, v, S) {
5895
5899
  var H = "jquery" in f ? f[0] : f;
5896
5900
  if ("onwheel" in q.createElement("div"))
@@ -5903,10 +5907,10 @@ function Zs() {
5903
5907
  var He = !1;
5904
5908
  if (B.haseventlistener) {
5905
5909
  try {
5906
- var Gi = Object.defineProperty({}, "passive", { get: function() {
5910
+ var Zi = Object.defineProperty({}, "passive", { get: function() {
5907
5911
  He = !0;
5908
5912
  } });
5909
- _.addEventListener("test", null, Gi);
5913
+ _.addEventListener("test", null, Zi);
5910
5914
  } catch {
5911
5915
  }
5912
5916
  this.stopPropagation = function(f) {
@@ -5934,15 +5938,15 @@ function Zs() {
5934
5938
  a: [],
5935
5939
  l: [],
5936
5940
  f: function(ee) {
5937
- for (var be = M.l, Ae = be.length - 1, oe = !1, Re = Ae; Re >= 0; Re--)
5938
- if (oe = be[Re].call(ee.target, ee), oe === !1) return !1;
5941
+ for (var we = M.l, Ae = we.length - 1, oe = !1, Re = Ae; Re >= 0; Re--)
5942
+ if (oe = we[Re].call(ee.target, ee), oe === !1) return !1;
5939
5943
  return oe;
5940
5944
  }
5941
5945
  }, e.bind(f, v, M.f, H, W), Q[v] = M), e.ispage ? (M.a = [e.id].concat(M.a), M.l = [S].concat(M.l)) : (M.a.push(e.id), M.l.push(S));
5942
5946
  }, this.undelegate = function(f, v, S, H, W) {
5943
5947
  var M = Q[v] || !1;
5944
5948
  if (M && M.l)
5945
- for (var ee = 0, be = M.l.length; ee < be; ee++)
5949
+ for (var ee = 0, we = M.l.length; ee < we; ee++)
5946
5950
  M.a[ee] === e.id && (M.a.splice(ee), M.l.splice(ee), M.a.length === 0 && (e._unbind(f, v, M.l.f), Q[v] = null));
5947
5951
  }, this.bind = function(f, v, S, H, W) {
5948
5952
  var M = "jquery" in f ? f[0] : f;
@@ -5989,7 +5993,7 @@ function Zs() {
5989
5993
  S[0].css(S[1], S[2] === void 0 ? "" : S[2]);
5990
5994
  }
5991
5995
  e.saved = !1, e.me.data("__nicescroll", "");
5992
- var H = L.nicescroll;
5996
+ var H = k.nicescroll;
5993
5997
  H.each(function(M) {
5994
5998
  if (this && this.id === e.id) {
5995
5999
  delete H[M];
@@ -6014,14 +6018,14 @@ function Zs() {
6014
6018
  var v = f.target ? f.target : f;
6015
6019
  if (v.nodeName == "OPTION") return !0;
6016
6020
  for (; v && v.nodeType == 1 && v !== this.me[0] && !/^BODY|HTML/.test(v.nodeName); ) {
6017
- var S = L(v), H = S.css("overflowY") || S.css("overflowX") || S.css("overflow") || "";
6021
+ var S = k(v), H = S.css("overflowY") || S.css("overflowX") || S.css("overflow") || "";
6018
6022
  if (/scroll|auto/.test(H)) return v.clientHeight != v.scrollHeight;
6019
6023
  v = v.parentNode ? v.parentNode : !1;
6020
6024
  }
6021
6025
  return !1;
6022
6026
  }, this.getViewport = function(f) {
6023
6027
  for (var v = f && f.parentNode ? f.parentNode : !1; v && v.nodeType == 1 && !/^BODY|HTML/.test(v.nodeName); ) {
6024
- var S = L(v);
6028
+ var S = k(v);
6025
6029
  if (/fixed|absolute/.test(S.css("position"))) return S;
6026
6030
  var H = S.css("overflowY") || S.css("overflowX") || S.css("overflow") || "";
6027
6031
  if (/scroll|auto/.test(H) && v.clientHeight != v.scrollHeight || S.getNiceScroll().length > 0) return S;
@@ -6086,8 +6090,8 @@ function Zs() {
6086
6090
  })();
6087
6091
  if (ee) {
6088
6092
  if (g.nativeparentscrolling && S && !e.ispage && !e.zoomactive) return !0;
6089
- var be = e.view.h >> 1;
6090
- e.newscrolly < -be ? (e.newscrolly = -be, v = -1) : e.newscrolly > e.page.maxh + be ? (e.newscrolly = e.page.maxh + be, v = 1) : v = 0;
6093
+ var we = e.view.h >> 1;
6094
+ e.newscrolly < -we ? (e.newscrolly = -we, v = -1) : e.newscrolly > e.page.maxh + we ? (e.newscrolly = e.page.maxh + we, v = 1) : v = 0;
6091
6095
  }
6092
6096
  var Ae = v > 0 ? 1 : -1;
6093
6097
  mt !== Ae && (e.scrollmom && e.scrollmom.stop(), e.newscrolly = e.getScrollTop(), mt = Ae), e.lastdeltay -= v;
@@ -6184,9 +6188,9 @@ function Zs() {
6184
6188
  var H = e.getScrollTop(), W = e.getScrollLeft();
6185
6189
  if (((e.newscrolly - H) * (v - H) < 0 || (e.newscrollx - W) * (f - W) < 0) && e.cancelScroll(), g.bouncescroll ? (v < 0 ? v = v / 2 | 0 : v > e.page.maxh && (v = e.page.maxh + (v - e.page.maxh) / 2 | 0), f < 0 ? f = f / 2 | 0 : f > e.page.maxw && (f = e.page.maxw + (f - e.page.maxw) / 2 | 0)) : (v < 0 ? v = 0 : v > e.page.maxh && (v = e.page.maxh), f < 0 ? f = 0 : f > e.page.maxw && (f = e.page.maxw)), e.scrollrunning && f == e.newscrollx && v == e.newscrolly) return !1;
6186
6190
  e.newscrolly = v, e.newscrollx = f;
6187
- var M = e.getScrollTop(), ee = e.getScrollLeft(), be = {};
6188
- be.x = f - ee, be.y = v - M;
6189
- var Ae = Math.sqrt(be.x * be.x + be.y * be.y) | 0, oe = e.prepareTransition(Ae);
6191
+ var M = e.getScrollTop(), ee = e.getScrollLeft(), we = {};
6192
+ we.x = f - ee, we.y = v - M;
6193
+ var Ae = Math.sqrt(we.x * we.x + we.y * we.y) | 0, oe = e.prepareTransition(Ae);
6190
6194
  e.scrollrunning || (e.scrollrunning = !0, e.triggerScrollStart(ee, M, f, v, oe), e.cursorupdate.start()), e.scrollendtrapped = !0, B.transitionend || (e.scrollendtrapped && clearTimeout(e.scrollendtrapped), e.scrollendtrapped = setTimeout(e.onScrollTransitionEnd, oe)), e.setScrollTop(e.newscrolly), e.setScrollLeft(e.newscrollx);
6191
6195
  }, this.cancelScroll = function() {
6192
6196
  if (!e.scrollendtrapped) return !0;
@@ -6212,17 +6216,17 @@ function Zs() {
6212
6216
  var M = !1;
6213
6217
  if ((!e.bouncescroll || !e.rail.visibility) && (v < 0 ? (v = 0, M = !0) : v > e.page.maxh && (v = e.page.maxh, M = !0)), (!e.bouncescroll || !e.railh.visibility) && (f < 0 ? (f = 0, M = !0) : f > e.page.maxw && (f = e.page.maxw, M = !0)), e.scrollrunning && e.newscrolly === v && e.newscrollx === f) return !0;
6214
6218
  e.newscrolly = v, e.newscrollx = f, e.dst = {}, e.dst.x = f - W, e.dst.y = v - H, e.dst.px = W, e.dst.py = H;
6215
- var ee = Math.sqrt(e.dst.x * e.dst.x + e.dst.y * e.dst.y) | 0, be = e.getTransitionSpeed(ee);
6219
+ var ee = Math.sqrt(e.dst.x * e.dst.x + e.dst.y * e.dst.y) | 0, we = e.getTransitionSpeed(ee);
6216
6220
  e.bzscroll = {};
6217
6221
  var Ae = M ? 1 : 0.58;
6218
- e.bzscroll.x = new Te(W, e.newscrollx, be, 0, 0, Ae, 1), e.bzscroll.y = new Te(H, e.newscrolly, be, 0, 0, Ae, 1), pe();
6222
+ e.bzscroll.x = new Te(W, e.newscrollx, we, 0, 0, Ae, 1), e.bzscroll.y = new Te(H, e.newscrolly, we, 0, 0, Ae, 1), pe();
6219
6223
  var oe = function() {
6220
6224
  if (e.scrollrunning) {
6221
6225
  var Re = e.bzscroll.y.getPos();
6222
6226
  e.setScrollLeft(e.bzscroll.x.getNow()), e.setScrollTop(e.bzscroll.y.getNow()), Re <= 1 ? e.timer = V(oe) : (e.scrollrunning = !1, e.timer = 0, e.triggerScrollEnd());
6223
6227
  }
6224
6228
  };
6225
- e.scrollrunning || (e.triggerScrollStart(W, H, f, v, be), e.scrollrunning = !0, e.timer = V(oe));
6229
+ e.scrollrunning || (e.triggerScrollStart(W, H, f, v, we), e.scrollrunning = !0, e.timer = V(oe));
6226
6230
  }, this.cancelScroll = function() {
6227
6231
  return e.timer && G(e.timer), e.timer = 0, e.bzscroll = !1, e.scrollrunning = !1, e;
6228
6232
  };
@@ -6253,7 +6257,7 @@ function Zs() {
6253
6257
  e.zoomrestore.style.width = e.win.css("width"), e.zoomrestore.style.height = e.win.css("height"), e.zoomrestore.padding = {
6254
6258
  w: e.win.outerWidth() - e.win.width(),
6255
6259
  h: e.win.outerHeight() - e.win.height()
6256
- }, B.isios4 && (e.zoomrestore.scrollTop = we.scrollTop(), we.scrollTop(0)), e.win.css({
6260
+ }, B.isios4 && (e.zoomrestore.scrollTop = ye.scrollTop(), ye.scrollTop(0)), e.win.css({
6257
6261
  position: B.isios4 ? "absolute" : "fixed",
6258
6262
  top: 0,
6259
6263
  left: 0,
@@ -6269,7 +6273,7 @@ function Zs() {
6269
6273
  }
6270
6274
  }, this.doZoomOut = function(f) {
6271
6275
  if (e.zoomactive)
6272
- return e.zoomactive = !1, e.win.css("margin", ""), e.win.css(e.zoomrestore.style), B.isios4 && we.scrollTop(e.zoomrestore.scrollTop), e.rail.css({
6276
+ return e.zoomactive = !1, e.win.css("margin", ""), e.win.css(e.zoomrestore.style), B.isios4 && ye.scrollTop(e.zoomrestore.scrollTop), e.rail.css({
6273
6277
  "z-index": e.zindex
6274
6278
  }), e.zoom.css({
6275
6279
  "z-index": e.zindex
@@ -6280,11 +6284,11 @@ function Zs() {
6280
6284
  if (e.zoomactive) {
6281
6285
  var f = e.getScrollTop();
6282
6286
  e.win.css({
6283
- width: we.width() - e.zoomrestore.padding.w + "px",
6284
- height: we.height() - e.zoomrestore.padding.h + "px"
6287
+ width: ye.width() - e.zoomrestore.padding.w + "px",
6288
+ height: ye.height() - e.zoomrestore.padding.h + "px"
6285
6289
  }), e.onResize(), e.setScrollTop(Math.min(e.page.maxh, f));
6286
6290
  }
6287
- }, this.init(), L.nicescroll.push(this);
6291
+ }, this.init(), k.nicescroll.push(this);
6288
6292
  }, o = function(j) {
6289
6293
  var C = this;
6290
6294
  this.nc = j, this.lastx = 0, this.lasty = 0, this.speedx = 0, this.speedy = 0, this.lasttime = 0, this.steptime = 0, this.snapx = !1, this.snapy = !1, this.demulx = 0, this.demuly = 0, this.lastscrollx = -1, this.lastscrolly = -1, this.chkx = 0, this.chky = 0, this.timer = 0, this.reset = function(e, Z) {
@@ -6325,62 +6329,62 @@ function Zs() {
6325
6329
  }, at = d.fn.scrollTop;
6326
6330
  d.cssHooks.pageYOffset = {
6327
6331
  get: function(j, C, e) {
6328
- var Z = L.data(j, "__nicescroll") || !1;
6332
+ var Z = k.data(j, "__nicescroll") || !1;
6329
6333
  return Z && Z.ishwscroll ? Z.getScrollTop() : at.call(j);
6330
6334
  },
6331
6335
  set: function(j, C) {
6332
- var e = L.data(j, "__nicescroll") || !1;
6336
+ var e = k.data(j, "__nicescroll") || !1;
6333
6337
  return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) : at.call(j, C), this;
6334
6338
  }
6335
6339
  }, d.fn.scrollTop = function(j) {
6336
6340
  if (j === void 0) {
6337
- var C = this[0] && L.data(this[0], "__nicescroll") || !1;
6341
+ var C = this[0] && k.data(this[0], "__nicescroll") || !1;
6338
6342
  return C && C.ishwscroll ? C.getScrollTop() : at.call(this);
6339
6343
  } else
6340
6344
  return this.each(function() {
6341
- var e = L.data(this, "__nicescroll") || !1;
6342
- e && e.ishwscroll ? e.setScrollTop(parseInt(j)) : at.call(L(this), j);
6345
+ var e = k.data(this, "__nicescroll") || !1;
6346
+ e && e.ishwscroll ? e.setScrollTop(parseInt(j)) : at.call(k(this), j);
6343
6347
  });
6344
6348
  };
6345
6349
  var me = d.fn.scrollLeft;
6346
- L.cssHooks.pageXOffset = {
6350
+ k.cssHooks.pageXOffset = {
6347
6351
  get: function(j, C, e) {
6348
- var Z = L.data(j, "__nicescroll") || !1;
6352
+ var Z = k.data(j, "__nicescroll") || !1;
6349
6353
  return Z && Z.ishwscroll ? Z.getScrollLeft() : me.call(j);
6350
6354
  },
6351
6355
  set: function(j, C) {
6352
- var e = L.data(j, "__nicescroll") || !1;
6356
+ var e = k.data(j, "__nicescroll") || !1;
6353
6357
  return e && e.ishwscroll ? e.setScrollLeft(parseInt(C)) : me.call(j, C), this;
6354
6358
  }
6355
6359
  }, d.fn.scrollLeft = function(j) {
6356
6360
  if (j === void 0) {
6357
- var C = this[0] && L.data(this[0], "__nicescroll") || !1;
6361
+ var C = this[0] && k.data(this[0], "__nicescroll") || !1;
6358
6362
  return C && C.ishwscroll ? C.getScrollLeft() : me.call(this);
6359
6363
  } else
6360
6364
  return this.each(function() {
6361
- var e = L.data(this, "__nicescroll") || !1;
6362
- e && e.ishwscroll ? e.setScrollLeft(parseInt(j)) : me.call(L(this), j);
6365
+ var e = k.data(this, "__nicescroll") || !1;
6366
+ e && e.ishwscroll ? e.setScrollLeft(parseInt(j)) : me.call(k(this), j);
6363
6367
  });
6364
6368
  };
6365
6369
  var Wt = function(j) {
6366
6370
  var C = this;
6367
6371
  if (this.length = 0, this.name = "nicescrollarray", this.each = function(g) {
6368
- return L.each(C, g), C;
6372
+ return k.each(C, g), C;
6369
6373
  }, this.push = function(g) {
6370
6374
  C[C.length] = g, C.length++;
6371
6375
  }, this.eq = function(g) {
6372
6376
  return C[g];
6373
6377
  }, j)
6374
6378
  for (var e = 0; e < j.length; e++) {
6375
- var Z = L.data(j[e], "__nicescroll") || !1;
6379
+ var Z = k.data(j[e], "__nicescroll") || !1;
6376
6380
  Z && (this[this.length] = Z, this.length++);
6377
6381
  }
6378
6382
  return this;
6379
6383
  };
6380
- function Yi(j, C, e) {
6384
+ function Ui(j, C, e) {
6381
6385
  for (var Z = 0, g = C.length; Z < g; Z++) e(j, C[Z]);
6382
6386
  }
6383
- Yi(
6387
+ Ui(
6384
6388
  Wt.prototype,
6385
6389
  ["show", "hide", "toggle", "onResize", "resize", "remove", "stop", "doScrollPos"],
6386
6390
  function(j, C) {
@@ -6392,19 +6396,19 @@ function Zs() {
6392
6396
  };
6393
6397
  }
6394
6398
  ), d.fn.getNiceScroll = function(j) {
6395
- return j === void 0 ? new Wt(this) : this[j] && L.data(this[j], "__nicescroll") || !1;
6399
+ return j === void 0 ? new Wt(this) : this[j] && k.data(this[j], "__nicescroll") || !1;
6396
6400
  };
6397
- var Ui = d.expr.pseudos || d.expr[":"];
6398
- Ui.nicescroll = function(j) {
6399
- return L.data(j, "__nicescroll") !== void 0;
6400
- }, L.fn.niceScroll = function(j, C) {
6401
+ var Gi = d.expr.pseudos || d.expr[":"];
6402
+ Gi.nicescroll = function(j) {
6403
+ return k.data(j, "__nicescroll") !== void 0;
6404
+ }, k.fn.niceScroll = function(j, C) {
6401
6405
  C === void 0 && typeof j == "object" && !("jquery" in j) && (C = j, j = !1);
6402
6406
  var e = new Wt();
6403
6407
  return this.each(function() {
6404
- var Z = L(this), g = L.extend({}, C);
6408
+ var Z = k(this), g = k.extend({}, C);
6405
6409
  if (j) {
6406
- var De = L(j);
6407
- g.doc = De.length > 1 ? L(j, Z) : De, g.win = Z;
6410
+ var De = k(j);
6411
+ g.doc = De.length > 1 ? k(j, Z) : De, g.win = Z;
6408
6412
  }
6409
6413
  var ge = !("doc" in g);
6410
6414
  !ge && !("win" in g) && (g.win = Z);
@@ -6415,28 +6419,28 @@ function Zs() {
6415
6419
  getjQuery: function() {
6416
6420
  return d;
6417
6421
  }
6418
- }, L.nicescroll || (L.nicescroll = new Wt(), L.nicescroll.options = wt);
6422
+ }, k.nicescroll || (k.nicescroll = new Wt(), k.nicescroll.options = wt);
6419
6423
  });
6420
- })(wr)), wr.exports;
6424
+ })(xr)), xr.exports;
6421
6425
  }
6422
- Zs();
6423
- const Xr = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
6424
- function Ta(s, c) {
6426
+ Js();
6427
+ const Ur = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
6428
+ function Ea(s, c) {
6425
6429
  if (s.classList.contains("cover"))
6426
6430
  return;
6427
- const d = jr(s);
6431
+ const d = Fr(s);
6428
6432
  if ("IntersectionObserver" in window) {
6429
- let h = [], T = 0, A = 0;
6430
- Qt(s).find(Xr).each((z, D) => {
6431
- const L = D.firstElementChild, q = D.lastElementChild;
6432
- if (!L || !q)
6433
+ let h = [], T = 0, L = 0;
6434
+ Qt(s).find(Ur).each((z, D) => {
6435
+ const k = D.firstElementChild, q = D.lastElementChild;
6436
+ if (!k || !q)
6433
6437
  return;
6434
6438
  let _ = 1;
6435
- const we = document.querySelector(
6439
+ const ye = document.querySelector(
6436
6440
  "style#scale-style-sheet"
6437
6441
  );
6438
- if (we) {
6439
- const Ee = we.innerHTML.match(
6442
+ if (ye) {
6443
+ const Ee = ye.innerHTML.match(
6440
6444
  /transform:[a-z0-9, ()]* scale\((\d+(\.\d+)?)\)/
6441
6445
  );
6442
6446
  Ee && (_ = parseFloat(Ee[1]));
@@ -6451,13 +6455,13 @@ function Ta(s, c) {
6451
6455
  ));
6452
6456
  }
6453
6457
  }
6454
- const { topAdjust: Q, leftAdjust: _e, thumbWidth: V } = vo(_, D), G = new IntersectionObserver(
6458
+ const { topAdjust: Q, leftAdjust: _e, thumbWidth: V } = bo(_, D), G = new IntersectionObserver(
6455
6459
  (Ee, U) => {
6456
6460
  Ee.forEach((pe) => {
6457
- if (A++, U.unobserve(pe.target), !pe.target.parentElement)
6461
+ if (L++, U.unobserve(pe.target), !pe.target.parentElement)
6458
6462
  return;
6459
6463
  const wt = !!pe.target.closest(
6460
- Ri
6464
+ ji
6461
6465
  );
6462
6466
  let Ve = pe.intersectionRatio < 0.999;
6463
6467
  if (Ve && wt) {
@@ -6495,7 +6499,7 @@ function Ta(s, c) {
6495
6499
  "scrolling-bubble"
6496
6500
  );
6497
6501
  }
6498
- A === T && (Qt(h).niceScroll({
6502
+ L === T && (Qt(h).niceScroll({
6499
6503
  autohidemode: !1,
6500
6504
  railoffset: {
6501
6505
  top: -Q,
@@ -6506,7 +6510,7 @@ function Ta(s, c) {
6506
6510
  cursoropacitymax: 0.1,
6507
6511
  cursorborderradius: V
6508
6512
  // Make the corner more rounded than the 5px default.
6509
- }), Js(
6513
+ }), ea(
6510
6514
  s,
6511
6515
  c
6512
6516
  ), h = []);
@@ -6514,11 +6518,11 @@ function Ta(s, c) {
6514
6518
  },
6515
6519
  { root: D }
6516
6520
  );
6517
- T++, G.observe(L), L !== q && (T++, G.observe(q));
6521
+ T++, G.observe(k), k !== q && (T++, G.observe(q));
6518
6522
  });
6519
6523
  }
6520
6524
  }
6521
- function Ks(s) {
6525
+ function Qs(s) {
6522
6526
  for (var c = s && s.parentNode ? s.parentNode : null; c && c.nodeType === Node.ELEMENT_NODE && !/^BODY|HTML/.test(c.nodeName); ) {
6523
6527
  const d = window.getComputedStyle(c), h = d.getPropertyValue("position");
6524
6528
  if (/fixed|absolute/.test(h)) return c;
@@ -6528,33 +6532,33 @@ function Ks(s) {
6528
6532
  }
6529
6533
  return null;
6530
6534
  }
6531
- function vo(s, c) {
6535
+ function bo(s, c) {
6532
6536
  let d = 0, h = 0, T = "12px";
6533
6537
  if (s !== 1) {
6534
- const A = c.parentElement;
6535
- if (!A || !A.classList.contains("bloom-translationGroup"))
6538
+ const L = c.parentElement;
6539
+ if (!L || !L.classList.contains("bloom-translationGroup"))
6536
6540
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6537
- if (Ks(c)) {
6538
- const D = window.getComputedStyle(A), L = D.getPropertyValue("padding-top") || "0", q = D.getPropertyValue("padding-left") || "0";
6539
- d = parseFloat(L) * (s - 1), h = parseFloat(q) * (s - 1);
6541
+ if (Qs(c)) {
6542
+ const D = window.getComputedStyle(L), k = D.getPropertyValue("padding-top") || "0", q = D.getPropertyValue("padding-left") || "0";
6543
+ d = parseFloat(k) * (s - 1), h = parseFloat(q) * (s - 1);
6540
6544
  } else {
6541
- const D = A.parentElement;
6545
+ const D = L.parentElement;
6542
6546
  if (!D)
6543
6547
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6544
6548
  T = `${12 * s}px`;
6545
- const L = D?.offsetTop, q = D.offsetLeft + D.offsetWidth;
6546
- d = -(L * (s - 1)), h = -(q * (s - 1));
6549
+ const k = D?.offsetTop, q = D.offsetLeft + D.offsetWidth;
6550
+ d = -(k * (s - 1)), h = -(q * (s - 1));
6547
6551
  }
6548
6552
  }
6549
6553
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6550
6554
  }
6551
- function Js(s, c) {
6555
+ function ea(s, c) {
6552
6556
  if (s.removeEventListener(
6553
6557
  "pointerdown",
6554
- An
6558
+ Ln
6555
6559
  ), s.addEventListener(
6556
6560
  "pointerdown",
6557
- An
6561
+ Ln
6558
6562
  ), !!c)
6559
6563
  for (const d of ["pointermove", "pointerup"])
6560
6564
  s.ownerDocument.body.addEventListener(
@@ -6565,22 +6569,22 @@ function Js(s, c) {
6565
6569
  }
6566
6570
  );
6567
6571
  }
6568
- function Sa(s, c) {
6569
- s.querySelectorAll(Xr).forEach(
6572
+ function Ca(s, c) {
6573
+ s.querySelectorAll(Ur).forEach(
6570
6574
  (d) => {
6571
6575
  const h = Qt(d).getNiceScroll();
6572
6576
  if (h && h.length > 0) {
6573
- let { topAdjust: T, leftAdjust: A, thumbWidth: z } = vo(c, d);
6574
- h[0].opt.railoffset.top = -T, h[0].opt.railoffset.left = -A, h[0].opt.cursorwidth = z, h[0].resize();
6577
+ let { topAdjust: T, leftAdjust: L, thumbWidth: z } = bo(c, d);
6578
+ h[0].opt.railoffset.top = -T, h[0].opt.railoffset.left = -L, h[0].opt.cursorwidth = z, h[0].resize();
6575
6579
  }
6576
6580
  }
6577
6581
  );
6578
6582
  }
6579
- function An(s) {
6583
+ function Ln(s) {
6580
6584
  s.target instanceof HTMLDivElement && s.target.classList.contains("nicescroll-cursors") && (s.target.setPointerCapture(s.pointerId), s.pointerType === "mouse" && s.stopPropagation());
6581
6585
  }
6582
- function Ea() {
6583
- Qt("div.bloom-page")[0]?.querySelectorAll(Xr).forEach((s) => {
6586
+ function Aa() {
6587
+ Qt("div.bloom-page")[0]?.querySelectorAll(Ur).forEach((s) => {
6584
6588
  const c = Qt(
6585
6589
  s
6586
6590
  ).getNiceScroll();
@@ -6597,7 +6601,7 @@ function Ea() {
6597
6601
  ), d.classList.add("bloom-vertical-align-bottom")), s.style.overflow = "", s.style.outline = "", s.style.width = "");
6598
6602
  });
6599
6603
  }
6600
- class Qs {
6604
+ class ta {
6601
6605
  static getActualUrlFromCSSPropertyValue(c) {
6602
6606
  const d = c.match(/.*url\((['"])(.*?)\1\).*/i);
6603
6607
  return d ? d[2] : "";
@@ -6678,16 +6682,16 @@ const gt = class gt {
6678
6682
  this.animatableCanvas.classList[D]
6679
6683
  );
6680
6684
  h.classList.add("bloom-animationBackground");
6681
- const A = this.animatableCanvas.cloneNode(
6685
+ const L = this.animatableCanvas.cloneNode(
6682
6686
  !0
6683
6687
  ), z = () => {
6684
6688
  const D = this.animatableCanvas.style.backgroundImage;
6685
- D ? A.style.backgroundImage = D : requestAnimationFrame(z);
6689
+ D ? L.style.backgroundImage = D : requestAnimationFrame(z);
6686
6690
  };
6687
- A.hasAttribute("data-imgsizebasedon") || requestAnimationFrame(z), T = document.createElement("div"), T.classList.add(gt.wrapperClassName), T.appendChild(A), T.style.visibility = "hidden", h.appendChild(T), c.insertBefore(h, c.firstChild), this.applyCanvasAspectRatioToAnimationWrapper(
6691
+ L.hasAttribute("data-imgsizebasedon") || requestAnimationFrame(z), T = document.createElement("div"), T.classList.add(gt.wrapperClassName), T.appendChild(L), T.style.visibility = "hidden", h.appendChild(T), c.insertBefore(h, c.firstChild), this.applyCanvasAspectRatioToAnimationWrapper(
6688
6692
  c,
6689
6693
  T,
6690
- A,
6694
+ L,
6691
6695
  d
6692
6696
  );
6693
6697
  } else
@@ -6701,10 +6705,10 @@ const gt = class gt {
6701
6705
  createAndPlayAnimation(c, d) {
6702
6706
  const h = gt.getAnimationCanvas(c);
6703
6707
  if (this.animationEngine && this.animationEngine.endAnimation(), h) {
6704
- const T = h.getAttribute("data-initialrect"), A = h.getAttribute("data-finalrect");
6705
- this.animationEngine = new ea(
6708
+ const T = h.getAttribute("data-initialrect"), L = h.getAttribute("data-finalrect");
6709
+ this.animationEngine = new ia(
6706
6710
  T,
6707
- A,
6711
+ L,
6708
6712
  this.animationDuration,
6709
6713
  h
6710
6714
  ), d ? this.animationEngine.setCurrentAnimationFrame() : this.animationEngine.startAnimation();
@@ -6714,13 +6718,13 @@ const gt = class gt {
6714
6718
  if (c.hasAttribute("data-aspectRatio"))
6715
6719
  this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6716
6720
  else if (h.hasAttribute("data-imgsizebasedon")) {
6717
- const A = h.getAttribute("data-imgsizebasedon").split(",").map(parseFloat);
6721
+ const L = h.getAttribute("data-imgsizebasedon").split(",").map(parseFloat);
6718
6722
  d.setAttribute(
6719
6723
  "data-aspectRatio",
6720
- (A[0] / A[1]).toString()
6724
+ (L[0] / L[1]).toString()
6721
6725
  ), this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6722
6726
  } else {
6723
- const A = () => {
6727
+ const L = () => {
6724
6728
  if (h.style.backgroundImage) {
6725
6729
  const z = new Image();
6726
6730
  z.addEventListener("load", () => {
@@ -6728,13 +6732,13 @@ const gt = class gt {
6728
6732
  "data-aspectRatio",
6729
6733
  (z.naturalWidth / z.naturalHeight).toString()
6730
6734
  ), this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6731
- }), z.src = Qs.getActualUrlFromCSSPropertyValue(
6735
+ }), z.src = ta.getActualUrlFromCSSPropertyValue(
6732
6736
  h.style.backgroundImage
6733
6737
  );
6734
6738
  } else
6735
- requestAnimationFrame(A);
6739
+ requestAnimationFrame(L);
6736
6740
  };
6737
- requestAnimationFrame(A);
6741
+ requestAnimationFrame(L);
6738
6742
  }
6739
6743
  }
6740
6744
  // Enhance: some of the calculations here may require adjustment if we ever do
@@ -6744,13 +6748,13 @@ const gt = class gt {
6744
6748
  placeAnimationWrapper(c) {
6745
6749
  const d = parseFloat(
6746
6750
  c.getAttribute("data-aspectRatio")
6747
- ), h = c.parentElement, T = h.clientWidth, A = h.clientHeight, z = T / A;
6751
+ ), h = c.parentElement, T = h.clientWidth, L = h.clientHeight, z = T / L;
6748
6752
  if (d < z) {
6749
- const D = A * d;
6753
+ const D = L * d;
6750
6754
  c.style.height = "100%", c.style.width = `${D}px`, c.style.left = `${(T - D) / 2}px`;
6751
6755
  } else {
6752
6756
  const D = T / d;
6753
- c.style.width = "100%", c.style.height = `${D}px`, c.style.top = `${(A - D) / 2}px`;
6757
+ c.style.width = "100%", c.style.height = `${D}px`, c.style.top = `${(L - D) / 2}px`;
6754
6758
  }
6755
6759
  c.style.overflow = "hidden", c.style.visibility = "visible", this.placeCanvasByScale(
6756
6760
  c,
@@ -6812,8 +6816,8 @@ const gt = class gt {
6812
6816
  }
6813
6817
  };
6814
6818
  gt.wrapperClassName = "bloom-ui-animationWrapper";
6815
- let kn = gt;
6816
- class ea {
6819
+ let Nn = gt;
6820
+ class ia {
6817
6821
  //initial and final rect strings come in as space-separated "left top width height"
6818
6822
  // all four of these parameters are reperesented as fractions of the canvas
6819
6823
  //duration is the length of the animation in seconds
@@ -6822,8 +6826,8 @@ class ea {
6822
6826
  // the parent's transform can just be translateZ(0), but it needs to be moved out of the page stacking context in the same way as its child in order for overflow:hidden to have any effect
6823
6827
  constructor(c, d, h, T) {
6824
6828
  this.duration = h * 1e3, this.totalElapsedTime = 0, this.lastFrameTime = Date.now(), this.paused = !0, this.canvasToAnimate = T;
6825
- const A = c.split(" ").map(parseFloat), z = d.split(" ").map(parseFloat);
6826
- A.length != 4 || z.length != 4 || Math.min(...z) < 0 || Math.min(...A) < 0 || A[0] + A[2] > 1.01 || A[1] + A[3] > 1.01 || z[0] + z[2] > 1.01 || z[1] + z[3] > 1.01 ? (this.initialScale = 1, this.finalScale = 1, this.initialLeft = 0, this.finalLeft = 0, this.initialTop = 0, this.finalTop = 0) : (A[0], z[0], A[1], z[1], this.initialScale = 1 / Math.min(A[2], A[3]), this.initialScale == 1 && (this.initialScale = 1.0001), this.finalScale = 1 / Math.min(z[2], z[3]), this.finalScale == 1 && (this.finalScale = 1.0001), this.initialLeft = this.initialScale * 100 * (0.5 - (0.5 * A[2] + A[0])), this.initialTop = this.initialScale * 100 * (0.5 - (0.5 * A[3] + A[1])), this.finalLeft = this.finalScale * 100 * (0.5 - (0.5 * z[2] + z[0])), this.finalTop = this.finalScale * 100 * (0.5 - (0.5 * z[3] + z[1])));
6829
+ const L = c.split(" ").map(parseFloat), z = d.split(" ").map(parseFloat);
6830
+ L.length != 4 || z.length != 4 || Math.min(...z) < 0 || Math.min(...L) < 0 || L[0] + L[2] > 1.01 || L[1] + L[3] > 1.01 || z[0] + z[2] > 1.01 || z[1] + z[3] > 1.01 ? (this.initialScale = 1, this.finalScale = 1, this.initialLeft = 0, this.finalLeft = 0, this.initialTop = 0, this.finalTop = 0) : (L[0], z[0], L[1], z[1], this.initialScale = 1 / Math.min(L[2], L[3]), this.initialScale == 1 && (this.initialScale = 1.0001), this.finalScale = 1 / Math.min(z[2], z[3]), this.finalScale == 1 && (this.finalScale = 1.0001), this.initialLeft = this.initialScale * 100 * (0.5 - (0.5 * L[2] + L[0])), this.initialTop = this.initialScale * 100 * (0.5 - (0.5 * L[3] + L[1])), this.finalLeft = this.finalScale * 100 * (0.5 - (0.5 * z[2] + z[0])), this.finalTop = this.finalScale * 100 * (0.5 - (0.5 * z[3] + z[1])));
6827
6831
  }
6828
6832
  //Enhance: changing scale while changing left/top can result in slightly choppy motion if the direction of apparent motion from scaling is opposite the direction of motion from left and/or top
6829
6833
  //this is noticeable at low speeds.
@@ -6831,11 +6835,11 @@ class ea {
6831
6835
  getScaleAndPosition() {
6832
6836
  let c = this.totalElapsedTime / this.duration;
6833
6837
  c = Math.min(1, Math.max(0, c));
6834
- const d = this.easingFunction(c), h = this.initialScale + (this.finalScale - this.initialScale) * d, T = this.initialLeft + (this.finalLeft - this.initialLeft) * d, A = this.initialTop + (this.finalTop - this.initialTop) * d;
6838
+ const d = this.easingFunction(c), h = this.initialScale + (this.finalScale - this.initialScale) * d, T = this.initialLeft + (this.finalLeft - this.initialLeft) * d, L = this.initialTop + (this.finalTop - this.initialTop) * d;
6835
6839
  return {
6836
6840
  scale: h,
6837
6841
  left: T,
6838
- top: A
6842
+ top: L
6839
6843
  };
6840
6844
  }
6841
6845
  //make the animation smoother by applying a non-linear transformation.
@@ -6868,78 +6872,79 @@ class ea {
6868
6872
  }
6869
6873
  }
6870
6874
  export {
6871
- kn as Animation,
6872
- jr as IsRunningOnBloomDesktop,
6875
+ Nn as Animation,
6876
+ Fr as IsRunningOnBloomDesktop,
6873
6877
  mi as LiteEvent,
6874
- zi as PageNarrationComplete,
6875
- Sr as PlayCompleted,
6876
- wn as PlayFailed,
6877
- sa as PlayUnblocked,
6878
- ns as PlaybackMode,
6879
- Ii as ToggleImageDescription,
6880
- ea as TransformBasedAnimator,
6881
- la as abortNarrationPlayback,
6882
- Ta as addScrollbarsToPage,
6883
- Is as adjustDraggablesForLanguage,
6878
+ Ii as PageNarrationComplete,
6879
+ Er as PlayCompleted,
6880
+ Tn as PlayFailed,
6881
+ la as PlayUnblocked,
6882
+ ss as PlaybackMode,
6883
+ Hi as ToggleImageDescription,
6884
+ ia as TransformBasedAnimator,
6885
+ ua as abortNarrationPlayback,
6886
+ Ea as addScrollbarsToPage,
6887
+ Os as adjustDraggablesForLanguage,
6888
+ Rr as cancelVideoFirstFramePriming,
6884
6889
  jt as classSetter,
6885
- qs as cleanupActivitySounds,
6886
- Ea as cleanupNiceScroll,
6887
- da as computeDuration,
6888
- $s as copyContentToTarget,
6890
+ js as cleanupActivitySounds,
6891
+ Aa as cleanupNiceScroll,
6892
+ pa as computeDuration,
6893
+ Ys as copyContentToTarget,
6889
6894
  ei as currentPlaybackMode,
6890
- go as doShowAnswersInTargets,
6891
- wa as draggingSlider,
6892
- xr as durationReporter,
6893
- Sa as fixNiceScrollOffsets,
6894
- Os as getAudioSentencesOfVisibleEditables,
6895
- us as getCurrentNarrationPage,
6896
- $r as getTarget,
6897
- Pn as getUrlPrefixFromWindowHref,
6898
- qi as hideVideoAutoplayBlockedHint,
6899
- Ms as hideVideoError,
6900
- ha as hidingPage,
6901
- Ps as isDefiniteVideoPlaybackSupportFailure,
6902
- Ln as isSwipeInProgress,
6903
- ya as isTheTextInDraggablesTheSame,
6904
- Ls as isTransientVideoPlayFailure,
6905
- Di as kAudioSentence,
6906
- ls as kHighlightSegmentClass,
6907
- Ri as kLegacyCanvasElementSelector,
6908
- Xr as kSelectorForPotentialNiceScrollElements,
6909
- ta as listenForPlayDuration,
6910
- Nn as logNarration,
6911
- ca as pageHasAudio,
6912
- fa as pauseNarration,
6913
- so as performCheck,
6914
- ao as performTryAgain,
6895
+ vo as doShowAnswersInTargets,
6896
+ Ta as draggingSlider,
6897
+ Tr as durationReporter,
6898
+ Ca as fixNiceScrollOffsets,
6899
+ qs as getAudioSentencesOfVisibleEditables,
6900
+ ds as getCurrentNarrationPage,
6901
+ Yr as getTarget,
6902
+ Mn as getUrlPrefixFromWindowHref,
6903
+ Ri as hideVideoAutoplayBlockedHint,
6904
+ Is as hideVideoError,
6905
+ ga as hidingPage,
6906
+ Ms as isDefiniteVideoPlaybackSupportFailure,
6907
+ Pn as isSwipeInProgress,
6908
+ wa as isTheTextInDraggablesTheSame,
6909
+ Ps as isTransientVideoPlayFailure,
6910
+ Mi as kAudioSentence,
6911
+ us as kHighlightSegmentClass,
6912
+ ji as kLegacyCanvasElementSelector,
6913
+ Ur as kSelectorForPotentialNiceScrollElements,
6914
+ ra as listenForPlayDuration,
6915
+ Dn as logNarration,
6916
+ fa as pageHasAudio,
6917
+ ha as pauseNarration,
6918
+ lo as performCheck,
6919
+ co as performTryAgain,
6915
6920
  gi as playAllAudio,
6916
- fs as playAllSentences,
6917
- qr as playAllVideo,
6918
- js as playCorrectOrWrongSound,
6919
- ma as playInitialElements,
6920
- ua as playNarration,
6921
- Zn as playSoundOf,
6922
- Rs as preloadSoundsForActivity,
6923
- pa as prepareActivity,
6924
- cs as setCurrentPage,
6921
+ hs as playAllSentences,
6922
+ jr as playAllVideo,
6923
+ Fs as playCorrectOrWrongSound,
6924
+ ya as playInitialElements,
6925
+ da as playNarration,
6926
+ Jn as playSoundOf,
6927
+ Ws as preloadSoundsForActivity,
6928
+ ma as prepareActivity,
6929
+ fs as setCurrentPage,
6925
6930
  Kt as setCurrentPlaybackMode,
6926
- ba as setDefaultSoundUrls,
6927
- oa as setDurationOfPagesWithoutNarration,
6928
- aa as setIncludeImageDescriptions,
6929
- ra as setLogNarration,
6930
- os as setPlayerUrlPrefix,
6931
- na as setPlayerUrlPrefixFromWindowLocationHref,
6932
- va as setReportScore,
6933
- ia as setTestIsSwipeInProgress,
6934
- Js as setupSpecialMouseTrackingForNiceScroll,
6935
- xa as setupWordChooserSlider,
6936
- Yn as showVideoAutoplayBlockedHint,
6937
- xn as showVideoError,
6938
- Ns as showVideoFirstFrameWhenReady,
6939
- Bs as shuffle,
6940
- ss as sortAudioElements,
6941
- Br as stopPlayAllVideoPlayback,
6942
- ga as undoPrepareActivity,
6943
- Nr as urlPrefix
6931
+ xa as setDefaultSoundUrls,
6932
+ aa as setDurationOfPagesWithoutNarration,
6933
+ ca as setIncludeImageDescriptions,
6934
+ oa as setLogNarration,
6935
+ as as setPlayerUrlPrefix,
6936
+ sa as setPlayerUrlPrefixFromWindowLocationHref,
6937
+ ba as setReportScore,
6938
+ na as setTestIsSwipeInProgress,
6939
+ ea as setupSpecialMouseTrackingForNiceScroll,
6940
+ Sa as setupWordChooserSlider,
6941
+ Gn as showVideoAutoplayBlockedHint,
6942
+ Sn as showVideoError,
6943
+ Ds as showVideoFirstFrameWhenReady,
6944
+ Rs as shuffle,
6945
+ ls as sortAudioElements,
6946
+ qr as stopPlayAllVideoPlayback,
6947
+ va as undoPrepareActivity,
6948
+ Pr as urlPrefix
6944
6949
  };
6945
6950
  //# sourceMappingURL=shared.es.js.map