bloom-player 2.20.1 → 2.20.2

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,101 +606,105 @@ 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
- const c = Array.from(s.querySelectorAll("[data-draggable-id]"));
683
+ const c = Array.from(
684
+ s.querySelectorAll("[data-draggable-id]")
685
+ );
685
686
  c.shift(), c.forEach((d) => {
686
687
  const h = !!d.getElementsByClassName(
687
688
  "bloom-visibility-code-on"
688
689
  )[0]?.innerText.trim();
689
690
  d.classList.toggle("bloom-unused-in-lang", !h);
690
- const T = $r(d);
691
+ const T = Yr(d);
691
692
  T && T.classList.toggle("bloom-unused-in-lang", !h);
692
693
  });
693
694
  }
694
- function jr(s) {
695
+ function Fr(s) {
695
696
  return s.closest("#page-scaling-container") !== null;
696
697
  }
697
- function pa(s, c) {
698
- pt = s, Is(s), Un = c, go(
698
+ function ma(s, c) {
699
+ pt = s, Os(s), Zn = c, vo(
699
700
  s.getAttribute("data-show-answers-in-targets") === "true" || s.getAttribute("data-show-target-as-shadow") === "true",
700
701
  s
701
- ), zs(s), Array.from(
702
- s.getElementsByClassName("bloom-change-page-button")
702
+ ), Hs(s), Array.from(
703
+ s.getElementsByClassName(
704
+ "bloom-change-page-button"
705
+ )
703
706
  ).forEach(
704
- (Q) => Q.addEventListener("click", eo)
707
+ (Q) => Q.addEventListener("click", io)
705
708
  ), Array.from(document.getElementsByClassName("bloom-canvas")).forEach(
706
709
  (Q) => {
707
710
  Q.title = "";
@@ -712,160 +715,191 @@ function pa(s, c) {
712
715
  }
713
716
  ), Array.from(s.getElementsByTagName("img")).forEach((Q) => {
714
717
  Q.setAttribute("draggable", "false");
715
- }), Cr = [], ji = /* @__PURE__ */ new Map();
716
- const h = Array.from(s.querySelectorAll("[data-draggable-id]")), T = [];
718
+ }), Ar = [], Wi = /* @__PURE__ */ new Map();
719
+ const h = Array.from(
720
+ s.querySelectorAll("[data-draggable-id]")
721
+ ), T = [];
717
722
  h.forEach((Q) => {
718
723
  const _e = Q.getAttribute("data-draggable-id"), V = s.querySelector(
719
724
  `[data-target-of="${_e}"]`
720
725
  );
721
726
  if (V) {
722
727
  const G = V.offsetLeft, Ee = V.offsetTop;
723
- Cr.push({
728
+ Ar.push({
724
729
  x: G,
725
730
  y: Ee,
726
731
  width: V.offsetWidth,
727
732
  height: V.offsetHeight
728
733
  }), T.push(V);
729
734
  }
730
- 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 });
731
736
  }), Array.from(s.getElementsByTagName("video")).forEach((Q) => {
732
- 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));
733
738
  });
734
739
  const z = h.concat(T);
735
740
  Array.from(
736
- s.getElementsByClassName("bloom-visibility-code-on")
741
+ s.getElementsByClassName(
742
+ "bloom-visibility-code-on"
743
+ )
737
744
  ).filter((Q) => {
738
- var _e = Q.closest(Ri);
745
+ var _e = Q.closest(ji);
739
746
  return _e ? z.indexOf(_e) < 0 : !0;
740
747
  }).forEach((Q) => {
741
- Q.addEventListener("pointerdown", Kn);
748
+ Q.addEventListener("pointerdown", Qn);
742
749
  });
743
- const L = Array.from(
744
- s.getElementsByClassName("check-button")
750
+ const k = Array.from(
751
+ s.getElementsByClassName(
752
+ "check-button"
753
+ )
745
754
  ), q = Array.from(
746
- s.getElementsByClassName("try-again-button")
755
+ s.getElementsByClassName(
756
+ "try-again-button"
757
+ )
747
758
  ), _ = Array.from(
748
- s.getElementsByClassName("show-correct-button")
759
+ s.getElementsByClassName(
760
+ "show-correct-button"
761
+ )
749
762
  );
750
- L.forEach((Q) => {
751
- Q.addEventListener("click", so);
763
+ k.forEach((Q) => {
764
+ Q.addEventListener("click", lo);
752
765
  }), q.forEach((Q) => {
753
- Q.addEventListener("click", ao);
766
+ Q.addEventListener("click", co);
754
767
  }), _.forEach((Q) => {
755
- Q.addEventListener("click", io);
756
- }), Array.from(s.querySelectorAll("[data-sound]")).forEach((Q) => {
757
- Q.addEventListener("click", Zn);
758
- }), Hs(s), Rs(s);
768
+ Q.addEventListener("click", no);
769
+ }), Array.from(
770
+ s.querySelectorAll("[data-sound]")
771
+ ).forEach((Q) => {
772
+ Q.addEventListener("click", Jn);
773
+ }), Bs(s), Ws(s);
759
774
  }
760
- const Hs = (s) => {
761
- Array.from(s.getElementsByClassName("drag-item-order-sentence")).forEach(
775
+ const Bs = (s) => {
776
+ Array.from(
777
+ s.getElementsByClassName(
778
+ "drag-item-order-sentence"
779
+ )
780
+ ).forEach(
762
781
  (c) => {
763
782
  const d = c.getElementsByClassName(
764
783
  "bloom-content1 bloom-visibility-code-on"
765
784
  )[0], h = d?.textContent?.trim();
766
785
  if (!h) return;
767
- const T = h.split(" "), A = Bs(T), z = s.ownerDocument.createElement("div");
768
- 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);
769
788
  }
770
789
  );
771
- }, Gn = (s) => {
772
- s.currentTarget.play();
790
+ }, Kn = (s) => {
791
+ const c = s.currentTarget;
792
+ Rr(c), c.play();
773
793
  };
774
- function ga(s) {
775
- Br(), Rr(), Wi = [], Array.from(
776
- s.getElementsByClassName("bloom-change-page-button")
794
+ function va(s) {
795
+ qr(), Wr(), Fi = [], Array.from(
796
+ s.getElementsByClassName(
797
+ "bloom-change-page-button"
798
+ )
777
799
  ).forEach(
778
- (L) => L.removeEventListener("click", eo)
779
- ), Array.from(s.getElementsByClassName("bloom-visibility-code-on")).forEach(
780
- (L) => {
781
- L.removeEventListener("pointerdown", Kn);
782
- }
783
- ), s.querySelectorAll("[data-draggable-id]").forEach((L) => {
784
- L.removeEventListener("pointerdown", ro, { capture: !0 });
785
- }), Array.from(s.getElementsByTagName("img")).forEach((L) => {
786
- L.removeAttribute("draggable");
787
- }), Array.from(s.getElementsByTagName("video")).forEach((L) => {
788
- L.removeEventListener("pointerdown", Gn), L.classList.remove("bloom-ui-no-controls");
800
+ (k) => k.removeEventListener("click", io)
801
+ ), Array.from(
802
+ s.getElementsByClassName(
803
+ "bloom-visibility-code-on"
804
+ )
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");
789
813
  });
790
814
  const h = Array.from(
791
- s.getElementsByClassName("check-button")
815
+ s.getElementsByClassName(
816
+ "check-button"
817
+ )
792
818
  ), T = Array.from(
793
- s.getElementsByClassName("try-again-button")
794
- ), A = Array.from(
795
- s.getElementsByClassName("show-correct-button")
819
+ s.getElementsByClassName(
820
+ "try-again-button"
821
+ )
822
+ ), L = Array.from(
823
+ s.getElementsByClassName(
824
+ "show-correct-button"
825
+ )
796
826
  );
797
- h.forEach((L) => {
798
- L.removeEventListener("click", so);
799
- }), A.forEach((L) => {
800
- L.removeEventListener("click", io);
801
- }), T.forEach((L) => {
802
- L.removeEventListener("click", ao);
803
- }), Array.from(s.querySelectorAll("[data-sound]")).forEach((L) => {
804
- L.removeEventListener("click", Zn);
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);
805
833
  }), Array.from(
806
- s.getElementsByClassName("drag-item-random-sentence")
807
- ).forEach((L) => {
808
- L.parentElement?.removeChild(L);
809
- }), qs(s);
834
+ s.querySelectorAll("[data-sound]")
835
+ ).forEach((k) => {
836
+ k.removeEventListener("click", Jn);
837
+ }), Array.from(
838
+ s.getElementsByClassName(
839
+ "drag-item-random-sentence"
840
+ )
841
+ ).forEach((k) => {
842
+ k.parentElement?.removeChild(k);
843
+ }), js(s);
810
844
  const D = s.closest(".swiper-slide") !== null;
811
- go(!D, s);
845
+ vo(!D, s);
812
846
  }
813
- const Zn = (s) => {
847
+ const Jn = (s) => {
814
848
  const c = s.currentTarget, d = c.getAttribute("data-sound");
815
- d && lo(c, d), s.preventDefault(), s.stopPropagation();
816
- }, Kn = (s) => {
849
+ d && uo(c, d), s.preventDefault(), s.stopPropagation();
850
+ }, Qn = (s) => {
817
851
  const c = s.currentTarget;
818
- Jn(c);
819
- }, Jn = (s) => {
820
- const c = Os(s);
852
+ eo(c);
853
+ }, eo = (s) => {
854
+ const c = qs(s);
821
855
  gi(c, s.closest(".bloom-page"));
822
856
  };
823
- function Os(s) {
824
- const c = _i(s);
825
- return Wr(c);
857
+ function qs(s) {
858
+ const c = Vi(s);
859
+ return _r(c);
826
860
  }
827
- function Qn(s, c, d, h, T) {
828
- 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");
829
863
  c.forEach((D) => {
830
- const L = s.ownerDocument.createElement("div");
831
- 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);
832
866
  });
833
867
  }
834
- function eo(s) {
868
+ function io(s) {
835
869
  const c = s.currentTarget.classList.contains(
836
870
  "bloom-next-page"
837
871
  );
838
- Un?.(c);
872
+ Zn?.(c);
839
873
  }
840
- function ma(s, c) {
841
- const d = (A) => {
842
- const z = A.closest(Ri);
874
+ function ya(s, c) {
875
+ const d = (L) => {
876
+ const z = L.closest(ji);
843
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"));
844
- }, h = _i(s).filter(d), T = Wr(h);
878
+ }, h = Vi(s).filter(d), T = _r(h);
845
879
  if (c) {
846
- const A = Array.from(
880
+ const L = Array.from(
847
881
  s.getElementsByTagName("video")
848
882
  ).filter(d);
849
- qr(A, () => gi(T, s));
883
+ jr(L, () => gi(T, s));
850
884
  } else
851
885
  gi(T, s);
852
886
  }
853
- let to = (s, c) => {
887
+ let ro = (s, c) => {
854
888
  };
855
- function va(s) {
856
- to = s;
889
+ function ba(s) {
890
+ ro = s;
857
891
  }
858
- function Wr(s) {
892
+ function _r(s) {
859
893
  const c = [];
860
894
  return s.forEach((d) => {
861
- d.classList.contains(Di) && c.push(d), c.push(
895
+ d.classList.contains(Mi) && c.push(d), c.push(
862
896
  ...Array.from(
863
- d.getElementsByClassName(Di)
897
+ d.getElementsByClassName(Mi)
864
898
  )
865
899
  );
866
900
  }), c;
867
901
  }
868
- function _i(s) {
902
+ function Vi(s) {
869
903
  const c = Array.from(
870
904
  s.getElementsByClassName("bloom-editable")
871
905
  ).filter(
@@ -873,8 +907,8 @@ function _i(s) {
873
907
  );
874
908
  return s.classList.contains("bloom-editable") && window.getComputedStyle(s).display !== "none" && c.push(s), c;
875
909
  }
876
- function Bs(s, c) {
877
- c || (c = (D, L) => D === L);
910
+ function Rs(s, c) {
911
+ c || (c = (D, k) => D === k);
878
912
  let d = !0;
879
913
  for (let D = 1; D < s.length; ++D)
880
914
  if (!c(s[0], s[D])) {
@@ -883,52 +917,54 @@ function Bs(s, c) {
883
917
  }
884
918
  if (d) return s;
885
919
  const h = s.slice();
886
- let T = 0, A = h, z = 0;
920
+ let T = 0, L = h, z = 0;
887
921
  for (; z++ < 10; ) {
888
- let D = s.length, L;
922
+ let D = s.length, k;
889
923
  for (; D !== 0; )
890
- L = Math.floor(Math.random() * D), D--, [s[D], s[L]] = [
891
- s[L],
924
+ k = Math.floor(Math.random() * D), D--, [s[D], s[k]] = [
925
+ s[k],
892
926
  s[D]
893
927
  ];
894
928
  let q = 0;
895
929
  for (let _ = 0; _ < s.length; ++_)
896
930
  c(s[_], h[_]) || ++q;
897
931
  if (q === s.length) return s;
898
- q > T && (T = q, A = s.slice());
932
+ q > T && (T = q, L = s.slice());
899
933
  }
900
- 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];
901
935
  return s;
902
936
  }
903
- function ya(s, c) {
937
+ function wa(s, c) {
904
938
  return s.innerText.trim() === c.innerText.trim();
905
939
  }
906
- const io = (s) => {
940
+ const no = (s) => {
907
941
  if (!pt)
908
942
  return;
909
- Rr(), pt.querySelectorAll("[data-draggable-id]").forEach((d) => {
943
+ Wr(), pt.querySelectorAll("[data-draggable-id]").forEach((d) => {
910
944
  const h = d.getAttribute("data-draggable-id"), T = pt?.querySelector(
911
945
  `[data-target-of="${h}"]`
912
946
  );
913
947
  if (!T)
914
948
  return;
915
- let A = d.offsetWidth;
916
- if (!A) {
949
+ let L = d.offsetWidth;
950
+ if (!L) {
917
951
  const q = d.style.width.replace("px", "");
918
- A = Number.parseInt(q, 10);
952
+ L = Number.parseInt(q, 10);
919
953
  }
920
954
  let z = d.offsetHeight;
921
955
  if (!z) {
922
956
  const q = d.style.height.replace("px", "");
923
957
  z = Number.parseInt(q, 10);
924
958
  }
925
- const D = T.offsetLeft + (T.offsetWidth - A) / 2, L = T.offsetTop + (T.offsetHeight - z) / 2;
926
- 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";
927
961
  }), Array.from(
928
- pt.getElementsByClassName("drag-item-random-sentence")
962
+ pt.getElementsByClassName(
963
+ "drag-item-random-sentence"
964
+ )
929
965
  ).forEach((d) => {
930
966
  const h = d.getAttribute("data-answer")?.split(" ") ?? [], T = d.children[0];
931
- d.innerHTML = "", Qn(
967
+ d.innerHTML = "", to(
932
968
  pt,
933
969
  h,
934
970
  d,
@@ -944,74 +980,76 @@ const io = (s) => {
944
980
  ) && c.push(
945
981
  ...Array.from(d.getElementsByTagName("video"))
946
982
  );
947
- }), c.length > 0 && qr(c, () => {
983
+ }), c.length > 0 && jr(c, () => {
948
984
  });
949
985
  };
950
- let Vi = 0, $i = 0, Me, Ar = !1;
951
- 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) => {
952
988
  if (s.button !== 0 || s.ctrlKey) return;
953
989
  s.preventDefault();
954
990
  const c = s.currentTarget;
955
991
  Me = c;
956
- const d = c.closest(".bloom-page"), h = Xi(d);
957
- 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");
958
- }, no = (s) => {
959
- 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);
960
996
  s.preventDefault();
961
- let h = s.clientX / d - Vi, T = s.clientY / d - $i, A = Number.MAX_VALUE;
962
- Ar = !1;
997
+ let h = s.clientX / d - $i, T = s.clientY / d - Xi, L = Number.MAX_VALUE;
998
+ kr = !1;
963
999
  let z = h, D = T;
964
- for (const L of Cr) {
965
- 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);
966
- _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 + _);
967
1003
  }
968
- A < 50 && (h = z, T = D, Ar = !0), Me.style.top = T + "px", Me.style.left = h + "px";
969
- }, oo = (s) => {
970
- 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)
971
1007
  Me.classList.add("bloom-draggedToTarget");
972
1008
  else {
973
- const h = ji.get(Me);
1009
+ const h = Wi.get(Me);
974
1010
  Me.style.top = h?.y + "px", Me.style.left = h?.x + "px", Me.classList.remove("bloom-draggedToTarget");
975
1011
  }
976
- 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);
977
1013
  const c = Me.closest(".bloom-page");
978
- Array.from(c.querySelectorAll("[data-draggable-id]")).forEach((h) => {
979
- if (h !== Me && kr(h, Me)) {
980
- const T = ji.get(h);
1014
+ Array.from(
1015
+ c.querySelectorAll("[data-draggable-id]")
1016
+ ).forEach((h) => {
1017
+ if (h !== Me && Lr(h, Me)) {
1018
+ const T = Wi.get(h);
981
1019
  T && (h.style.left = T.x + "px", h.style.top = T.y + "px", h.classList.remove("bloom-draggedToTarget"));
982
1020
  }
983
1021
  });
984
- }, Tn = (s) => {
985
- const c = _i(s);
1022
+ }, En = (s) => {
1023
+ const c = Vi(s);
986
1024
  return Array.from(c).map((d) => d.textContent).join(" ");
987
- }, kr = (s, c) => {
988
- 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;
989
1027
  return (
990
1028
  // At least a half-pixel error can occur just from centering the draggable in the target.
991
- 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
992
1030
  );
993
- }, so = (s) => {
994
- const d = s.currentTarget.closest(".bloom-page"), h = Fs(d) && Vs(d);
995
- return Ws(d, h), to(1, h ? 1 : 0), h;
996
- }, 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) => {
997
1035
  const d = s.currentTarget.closest(".bloom-page");
998
- 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();
999
1037
  }, jt = (s, c, d) => {
1000
1038
  d ? s.parentElement?.classList.add(c) : s.parentElement?.classList.remove(c);
1001
1039
  };
1002
- let Fe, fe, Fr, _r;
1003
- function ba(s, c) {
1004
- Fr = s, _r = c;
1040
+ let Fe, fe, Vr, $r;
1041
+ function xa(s, c) {
1042
+ Vr = s, $r = c;
1005
1043
  }
1006
- const Vr = "data-preload-sound";
1007
- function qs(s) {
1044
+ const Xr = "data-preload-sound";
1045
+ function js(s) {
1008
1046
  s.querySelectorAll(
1009
- `audio[${Vr}]`
1047
+ `audio[${Xr}]`
1010
1048
  ).forEach((c) => {
1011
1049
  c.src = "", c.remove();
1012
1050
  });
1013
1051
  }
1014
- function Rs(s) {
1052
+ function Ws(s) {
1015
1053
  const c = (d, h) => {
1016
1054
  const T = d !== null;
1017
1055
  if (d === null)
@@ -1019,126 +1057,132 @@ function Rs(s) {
1019
1057
  else if (d === "none")
1020
1058
  return;
1021
1059
  if (!d) return;
1022
- const A = (T ? Nr() + "/audio/" : "") + d;
1060
+ const L = (T ? Pr() + "/audio/" : "") + d;
1023
1061
  if (Array.from(
1024
- s.querySelectorAll(`audio[${Vr}]`)
1025
- ).find((L) => L.dataset.preloadSound === A)) return;
1062
+ s.querySelectorAll(`audio[${Xr}]`)
1063
+ ).find((k) => k.dataset.preloadSound === L)) return;
1026
1064
  const D = document.createElement("audio");
1027
- 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);
1028
1066
  };
1029
1067
  c(
1030
1068
  s.getAttribute("data-correct-sound"),
1031
- Fr
1069
+ Vr
1032
1070
  ), c(
1033
1071
  s.getAttribute("data-wrong-sound"),
1034
- _r
1072
+ $r
1035
1073
  );
1036
1074
  }
1037
- function js(s, c, d) {
1075
+ function Fs(s, c, d) {
1038
1076
  let h = s.getAttribute(
1039
1077
  c ? "data-correct-sound" : "data-wrong-sound"
1040
1078
  );
1041
1079
  const T = h !== null;
1042
- 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?.();
1043
1081
  }
1044
- function Ws(s, c) {
1045
- 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;
1046
1088
  const h = Array.from(
1047
1089
  s.getElementsByClassName(
1048
1090
  c ? "drag-item-correct" : "drag-item-wrong"
1049
1091
  )
1050
- ), T = [], A = [];
1092
+ ), T = [], L = [];
1051
1093
  h.forEach((D) => {
1052
- T.push(..._i(D)), A.push(...Array.from(D.getElementsByTagName("video")));
1094
+ T.push(...Vi(D)), L.push(...Array.from(D.getElementsByTagName("video")));
1053
1095
  });
1054
- const z = Wr(T);
1055
- qr(A, () => gi(z, s));
1096
+ const z = _r(T);
1097
+ jr(L, () => gi(z, s));
1056
1098
  });
1057
1099
  }
1058
- function lo(s, c, d = !0, h) {
1059
- const T = (d ? Nr() + "/audio/" : "") + c, A = Array.from(
1060
- 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}]`)
1061
1103
  ).find((_) => _.dataset.preloadSound === T);
1062
1104
  let z;
1063
- 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));
1064
1106
  let D = !1;
1065
- const L = () => {
1107
+ const k = () => {
1066
1108
  D || (D = !0, h?.());
1067
1109
  };
1068
1110
  z.play()?.catch(() => {
1069
- L();
1111
+ k();
1070
1112
  }), z.addEventListener(
1071
1113
  "ended",
1072
1114
  () => {
1073
- s.removeChild(z), L();
1115
+ s.removeChild(z), k();
1074
1116
  },
1075
1117
  { once: !0 }
1076
1118
  ), z.addEventListener(
1077
1119
  "error",
1078
1120
  () => {
1079
- z.parentElement === s && s.removeChild(z), L();
1121
+ z.parentElement === s && s.removeChild(z), k();
1080
1122
  },
1081
1123
  { once: !0 }
1082
1124
  );
1083
1125
  }
1084
- function Fs(s) {
1126
+ function Vs(s) {
1085
1127
  let c = !0;
1086
- const d = Array.from(s.querySelectorAll("[data-draggable-id]"));
1128
+ const d = Array.from(
1129
+ s.querySelectorAll("[data-draggable-id]")
1130
+ );
1087
1131
  return d.forEach((h) => {
1088
- const T = h.getAttribute("data-draggable-id"), A = s.querySelector(
1132
+ const T = h.getAttribute("data-draggable-id"), L = s.querySelector(
1089
1133
  `[data-target-of="${T}"]`
1090
1134
  );
1091
- if (A && !kr(h, A)) {
1135
+ if (L && !Lr(h, L)) {
1092
1136
  if (!Array.from(h.children).some(
1093
1137
  (D) => D.classList.contains("bloom-translationGroup")
1094
1138
  )) {
1095
1139
  c = !1;
1096
1140
  return;
1097
1141
  }
1098
- const z = Tn(h);
1099
- 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);
1100
1144
  }
1101
1145
  }), c;
1102
1146
  }
1103
- let qe, Lr = 0;
1104
- const co = 5;
1105
- function _s(s) {
1147
+ let qe, Nr = 0;
1148
+ const fo = 5;
1149
+ function $s(s) {
1106
1150
  if (s.button !== 0 || s.ctrlKey) return;
1107
- fe = s.currentTarget, Lr = fe.offsetWidth;
1108
- const c = fe.closest(".bloom-page"), d = Xi(c);
1109
- 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(
1110
1154
  (h) => Fe.classList.add(h)
1111
1155
  ), Fe.textContent = fe.textContent, Fe.style.position = "absolute", Fe.style.left = fe.offsetLeft + "px", Fe.style.top = fe.offsetTop + "px", Fe.setAttribute(
1112
1156
  "lang",
1113
1157
  fe.getAttribute("lang")
1114
- ), 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(
1115
1159
  qe,
1116
1160
  fe
1117
- ), 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);
1118
1162
  }
1119
- const uo = (s) => {
1163
+ const ho = (s) => {
1120
1164
  s.preventDefault();
1121
1165
  };
1122
- let Sn;
1123
- const fo = (s) => {
1124
- 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);
1125
1169
  s.preventDefault();
1126
- const h = s.clientX / d - Vi, T = s.clientY / d - $i;
1127
- 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)
1128
1172
  return;
1129
- const A = fe.parentElement, z = Array.from(A.children).find((D) => {
1130
- const L = D.getBoundingClientRect();
1131
- 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;
1132
1176
  });
1133
- if (z && z !== Sn) {
1134
- const D = Array.from(A.children);
1135
- D.indexOf(z) > D.indexOf(qe) ? br(() => {
1136
- 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(
1137
1181
  qe,
1138
1182
  z.nextSibling
1139
1183
  );
1140
- }) : br(() => {
1141
- A.insertBefore(qe, z);
1184
+ }) : wr(() => {
1185
+ L.insertBefore(qe, z);
1142
1186
  });
1143
1187
  } else {
1144
1188
  const D = Array.from(
@@ -1148,66 +1192,66 @@ const fo = (s) => {
1148
1192
  ).filter(
1149
1193
  (_) => _ !== fe && _ !== qe && _ !== Fe
1150
1194
  ), q = D[D.length - 1].getBoundingClientRect();
1151
- (s.clientY > q.bottom || s.clientX > q.right && s.clientY > q.top) && br(() => {
1152
- A.appendChild(qe);
1195
+ (s.clientY > q.bottom || s.clientX > q.right && s.clientY > q.top) && wr(() => {
1196
+ L.appendChild(qe);
1153
1197
  });
1154
1198
  }
1155
- Sn = z;
1156
- }, ho = (s) => {
1199
+ Cn = z;
1200
+ }, go = (s) => {
1157
1201
  s.preventDefault(), fe.style.visibility = "visible", fe.removeEventListener(
1158
1202
  "pointerup",
1159
- ho
1203
+ go
1160
1204
  ), fe.removeEventListener(
1161
1205
  "pointermove",
1162
- fo
1206
+ po
1163
1207
  ), fe.releasePointerCapture(s.pointerId), fe.removeEventListener(
1164
1208
  "touchstart",
1165
- uo
1209
+ ho
1166
1210
  ), Fe.parentElement?.removeChild(Fe), fe.parentElement?.insertBefore(
1167
1211
  fe,
1168
1212
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1169
1213
  qe
1170
1214
  ), fe.parentElement?.removeChild(qe), qe = void 0, fe.style.display = "";
1171
1215
  };
1172
- function po(s) {
1216
+ function mo(s) {
1173
1217
  const c = s.cloneNode(!0);
1174
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;
1175
1219
  }
1176
- let Li = !1;
1177
- function br(s) {
1178
- Li = !0;
1179
- 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);
1180
1224
  d.insertBefore(h, qe), s();
1181
- const T = Date.now(), A = () => {
1182
- 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;
1183
1227
  if (!qe) {
1184
- d.removeChild(h), Li = !1;
1228
+ d.removeChild(h), Ni = !1;
1185
1229
  return;
1186
1230
  }
1187
- 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);
1188
1232
  };
1189
- requestAnimationFrame(A);
1233
+ requestAnimationFrame(L);
1190
1234
  }
1191
- function Vs(s) {
1235
+ function Xs(s) {
1192
1236
  const c = s.getElementsByClassName("drag-item-random-sentence");
1193
1237
  for (let d = 0; d < c.length; d++) {
1194
- const h = c[d], T = h.getAttribute("data-answer").split(" "), A = Array.from(h.children);
1195
- for (let z = 0; z < A.length; z++)
1196
- 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])
1197
1241
  return !1;
1198
1242
  }
1199
1243
  return !0;
1200
1244
  }
1201
- const go = (s, c) => {
1245
+ const vo = (s, c) => {
1202
1246
  const d = c.querySelectorAll(":scope [data-draggable-id]");
1203
1247
  s ? d.forEach((h) => {
1204
- $s(h);
1248
+ Ys(h);
1205
1249
  }) : d.forEach((h) => {
1206
- Xs(h);
1250
+ Us(h);
1207
1251
  });
1208
1252
  };
1209
- function $s(s) {
1210
- const c = $r(s);
1253
+ function Ys(s) {
1254
+ const c = Yr(s);
1211
1255
  if (!c)
1212
1256
  return;
1213
1257
  let d = c.ownerDocument.createElement("div");
@@ -1242,42 +1286,42 @@ function $s(s) {
1242
1286
  )[0]), h) {
1243
1287
  const T = d;
1244
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;
1245
- let A = h.getAttribute("data-background");
1246
- 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"));
1247
1291
  }
1248
1292
  c.innerHTML !== d.innerHTML && (c.innerHTML = d.innerHTML);
1249
1293
  }
1250
- const $r = (s) => {
1294
+ const Yr = (s) => {
1251
1295
  const c = s.getAttribute("data-draggable-id");
1252
1296
  if (c)
1253
1297
  return s.closest(".bloom-page").querySelector(`[data-target-of="${c}"]`);
1254
1298
  };
1255
- function Xs(s) {
1256
- const c = $r(s);
1299
+ function Us(s) {
1300
+ const c = Yr(s);
1257
1301
  c && (c.innerHTML = "");
1258
1302
  }
1259
- let wa = !1;
1260
- function xa(s) {
1303
+ let Ta = !1;
1304
+ function Sa(s) {
1261
1305
  }
1262
- function Ys(s) {
1306
+ function Gs(s) {
1263
1307
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
1264
1308
  }
1265
- var Ni = { exports: {} };
1266
- var Us = Ni.exports, En;
1267
- function mo() {
1268
- 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) {
1269
1313
  (function(c, d) {
1270
1314
  s.exports = c.document ? d(c, !0) : function(h) {
1271
1315
  if (!h.document)
1272
1316
  throw new Error("jQuery requires a window with a document");
1273
1317
  return d(h);
1274
1318
  };
1275
- })(typeof window < "u" ? window : Us, function(c, d) {
1276
- 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) {
1277
1321
  return h.flat.call(t);
1278
1322
  } : function(t) {
1279
1323
  return h.concat.apply([], t);
1280
- }, 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) {
1281
1325
  return typeof i == "function" && typeof i.nodeType != "number" && typeof i.item != "function";
1282
1326
  }, Ee = function(i) {
1283
1327
  return i != null && i === i.window;
@@ -1308,12 +1352,12 @@ function mo() {
1308
1352
  // The default length of a jQuery object is 0
1309
1353
  length: 0,
1310
1354
  toArray: function() {
1311
- return A.call(this);
1355
+ return L.call(this);
1312
1356
  },
1313
1357
  // Get the Nth element in the matched element set OR
1314
1358
  // Get the whole matched element set as a clean array
1315
1359
  get: function(t) {
1316
- 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];
1317
1361
  },
1318
1362
  // Take an array of elements and push it onto the stack
1319
1363
  // (returning the new matched element set)
@@ -1331,7 +1375,7 @@ function mo() {
1331
1375
  }));
1332
1376
  },
1333
1377
  slice: function() {
1334
- return this.pushStack(A.apply(this, arguments));
1378
+ return this.pushStack(L.apply(this, arguments));
1335
1379
  },
1336
1380
  first: function() {
1337
1381
  return this.eq(0);
@@ -1380,7 +1424,7 @@ function mo() {
1380
1424
  },
1381
1425
  isPlainObject: function(t) {
1382
1426
  var i, r;
1383
- 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);
1384
1428
  },
1385
1429
  isEmptyObject: function(t) {
1386
1430
  var i;
@@ -1421,7 +1465,7 @@ function mo() {
1421
1465
  ) : D.call(r, t)), r;
1422
1466
  },
1423
1467
  inArray: function(t, i, r) {
1424
- return i == null ? -1 : L.call(i, t, r);
1468
+ return i == null ? -1 : k.call(i, t, r);
1425
1469
  },
1426
1470
  isXMLDoc: function(t) {
1427
1471
  var i = t && t.namespaceURI, r = t && (t.ownerDocument || t).documentElement;
@@ -1468,7 +1512,7 @@ function mo() {
1468
1512
  function me(t, i) {
1469
1513
  return t.nodeName && t.nodeName.toLowerCase() === i.toLowerCase();
1470
1514
  }
1471
- 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(
1472
1516
  "^" + j + "+|((?:^|[^\\\\])(?:\\\\.)*)" + j + "+$",
1473
1517
  "g"
1474
1518
  );
@@ -1487,11 +1531,11 @@ function mo() {
1487
1531
  };
1488
1532
  var g = U, De = D;
1489
1533
  (function() {
1490
- 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) {
1491
1535
  return p === b && (a = !0), 0;
1492
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)
1493
1537
  "*([*^$|!~]?=)" + j + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
1494
- `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + 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 = {
1495
1539
  ID: new RegExp("^#(" + ut + ")"),
1496
1540
  CLASS: new RegExp("^\\.(" + ut + ")"),
1497
1541
  TAG: new RegExp("^(" + ut + "|[*])"),
@@ -1505,18 +1549,18 @@ function mo() {
1505
1549
  // For use in libraries implementing .is()
1506
1550
  // We use this for POS matching in `select`
1507
1551
  needsContext: new RegExp("^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)", "i")
1508
- }, 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) {
1509
1553
  var E = "0x" + p.slice(1) - 65536;
1510
1554
  return b || (E < 0 ? String.fromCharCode(E + 65536) : String.fromCharCode(E >> 10 | 55296, E & 1023 | 56320));
1511
- }, Ko = function() {
1555
+ }, Qo = function() {
1512
1556
  kt();
1513
- }, Jo = Si(
1557
+ }, es = Si(
1514
1558
  function(p) {
1515
1559
  return p.disabled === !0 && me(p, "fieldset");
1516
1560
  },
1517
1561
  { dir: "parentNode", next: "legend" }
1518
1562
  );
1519
- function Qo() {
1563
+ function ts() {
1520
1564
  try {
1521
1565
  return u.activeElement;
1522
1566
  } catch {
@@ -1524,20 +1568,20 @@ function mo() {
1524
1568
  }
1525
1569
  try {
1526
1570
  l.apply(
1527
- h = A.call(g.childNodes),
1571
+ h = L.call(g.childNodes),
1528
1572
  g.childNodes
1529
1573
  ), h[g.childNodes.length].nodeType;
1530
1574
  } catch {
1531
1575
  l = {
1532
1576
  apply: function(b, E) {
1533
- De.apply(b, A.call(E));
1577
+ De.apply(b, L.call(E));
1534
1578
  },
1535
1579
  call: function(b) {
1536
- De.apply(b, A.call(arguments, 1));
1580
+ De.apply(b, L.call(arguments, 1));
1537
1581
  }
1538
1582
  };
1539
1583
  }
1540
- function ye(p, b, E, N) {
1584
+ function be(p, b, E, N) {
1541
1585
  var I, F, $, Y, X, se, te, re = b && b.ownerDocument, ae = b ? b.nodeType : 9;
1542
1586
  if (E = E || [], typeof p != "string" || !p || ae !== 1 && ae !== 9 && ae !== 11)
1543
1587
  return E;
@@ -1550,7 +1594,7 @@ function mo() {
1550
1594
  return l.call(E, $), E;
1551
1595
  } else
1552
1596
  return E;
1553
- else if (re && ($ = re.getElementById(I)) && ye.contains(b, $) && $.id === I)
1597
+ else if (re && ($ = re.getElementById(I)) && be.contains(b, $) && $.id === I)
1554
1598
  return l.call(E, $), E;
1555
1599
  } else {
1556
1600
  if (X[2])
@@ -1559,8 +1603,8 @@ function mo() {
1559
1603
  return l.apply(E, b.getElementsByClassName(I)), E;
1560
1604
  }
1561
1605
  if (!Oe[p + " "] && (!w || !w.test(p))) {
1562
- if (te = p, re = b, ae === 1 && (ur.test(p) || li.test(p))) {
1563
- 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--; )
1564
1608
  se[F] = (Y ? "#" + Y : ":scope") + " " + Ti(se[F]);
1565
1609
  te = se.join(",");
1566
1610
  }
@@ -1576,7 +1620,7 @@ function mo() {
1576
1620
  }
1577
1621
  }
1578
1622
  }
1579
- return bn(p.replace(C, "$1"), b, E, N);
1623
+ return xn(p.replace(C, "$1"), b, E, N);
1580
1624
  }
1581
1625
  function xi() {
1582
1626
  var p = [];
@@ -1598,20 +1642,20 @@ function mo() {
1598
1642
  b.parentNode && b.parentNode.removeChild(b), b = null;
1599
1643
  }
1600
1644
  }
1601
- function es(p) {
1645
+ function is(p) {
1602
1646
  return function(b) {
1603
1647
  return me(b, "input") && b.type === p;
1604
1648
  };
1605
1649
  }
1606
- function ts(p) {
1650
+ function rs(p) {
1607
1651
  return function(b) {
1608
1652
  return (me(b, "input") || me(b, "button")) && b.type === p;
1609
1653
  };
1610
1654
  }
1611
- function vn(p) {
1655
+ function bn(p) {
1612
1656
  return function(b) {
1613
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
1614
- 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;
1615
1659
  };
1616
1660
  }
1617
1661
  function Rt(p) {
@@ -1622,7 +1666,7 @@ function mo() {
1622
1666
  });
1623
1667
  });
1624
1668
  }
1625
- function dr(p) {
1669
+ function hr(p) {
1626
1670
  return p && typeof p.getElementsByTagName < "u" && p;
1627
1671
  }
1628
1672
  function kt(p) {
@@ -1631,7 +1675,7 @@ function mo() {
1631
1675
  // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
1632
1676
  // two documents; shallow comparisons work.
1633
1677
  // eslint-disable-next-line eqeqeq
1634
- 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) {
1635
1679
  return y.appendChild(N).id = o.expando, !u.getElementsByName || !u.getElementsByName(o.expando).length;
1636
1680
  }), V.disconnectedMatch = Yt(function(N) {
1637
1681
  return P.call(N, "*");
@@ -1686,12 +1730,12 @@ function mo() {
1686
1730
  return F || (F = (N.ownerDocument || N) == (I.ownerDocument || I) ? N.compareDocumentPosition(I) : (
1687
1731
  // Otherwise we know they are disconnected
1688
1732
  1
1689
- ), 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);
1690
1734
  }), u;
1691
1735
  }
1692
- ye.matches = function(p, b) {
1693
- return ye(p, null, null, b);
1694
- }, ye.matchesSelector = function(p, b) {
1736
+ be.matches = function(p, b) {
1737
+ return be(p, null, null, b);
1738
+ }, be.matchesSelector = function(p, b) {
1695
1739
  if (kt(p), m && !Oe[b + " "] && (!w || !w.test(b)))
1696
1740
  try {
1697
1741
  var E = P.call(p, b);
@@ -1702,26 +1746,26 @@ function mo() {
1702
1746
  } catch {
1703
1747
  Oe(b, !0);
1704
1748
  }
1705
- return ye(b, u, null, [p]).length > 0;
1706
- }, ye.contains = function(p, b) {
1749
+ return be(b, u, null, [p]).length > 0;
1750
+ }, be.contains = function(p, b) {
1707
1751
  return (p.ownerDocument || p) != u && kt(p), o.contains(p, b);
1708
- }, ye.attr = function(p, b) {
1752
+ }, be.attr = function(p, b) {
1709
1753
  (p.ownerDocument || p) != u && kt(p);
1710
- 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;
1711
1755
  return N !== void 0 ? N : p.getAttribute(b);
1712
- }, ye.error = function(p) {
1756
+ }, be.error = function(p) {
1713
1757
  throw new Error("Syntax error, unrecognized expression: " + p);
1714
1758
  }, o.uniqueSort = function(p) {
1715
1759
  var b, E = [], N = 0, I = 0;
1716
- 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) {
1717
1761
  for (; b = p[I++]; )
1718
1762
  b === p[I] && (N = E.push(I));
1719
1763
  for (; N--; )
1720
- Ui.call(p, E[N], 1);
1764
+ Gi.call(p, E[N], 1);
1721
1765
  }
1722
1766
  return n = null, p;
1723
1767
  }, o.fn.uniqueSort = function() {
1724
- return this.pushStack(o.uniqueSort(A.apply(this)));
1768
+ return this.pushStack(o.uniqueSort(L.apply(this)));
1725
1769
  }, i = o.expr = {
1726
1770
  // Can be adjusted by the user
1727
1771
  cacheLength: 50,
@@ -1740,7 +1784,7 @@ function mo() {
1740
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);
1741
1785
  },
1742
1786
  CHILD: function(p) {
1743
- 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;
1744
1788
  },
1745
1789
  PSEUDO: function(p) {
1746
1790
  var b, E = !p[6] && p[2];
@@ -1768,7 +1812,7 @@ function mo() {
1768
1812
  },
1769
1813
  ATTR: function(p, b, E) {
1770
1814
  return function(N) {
1771
- var I = ye.attr(N, p);
1815
+ var I = be.attr(N, p);
1772
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;
1773
1817
  };
1774
1818
  },
@@ -1792,24 +1836,24 @@ function mo() {
1792
1836
  return !0;
1793
1837
  }
1794
1838
  if (Ue = [$ ? rt.firstChild : rt.lastChild], $ && Ut) {
1795
- 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
1796
1840
  (We = xe = 0) || Ue.pop(); )
1797
1841
  if (J.nodeType === 1 && ++We && J === X) {
1798
- ae[p] = [k, xe, We];
1842
+ ae[p] = [A, xe, We];
1799
1843
  break;
1800
1844
  }
1801
- } else if (Ut && (ae = X[O] || (X[O] = {}), re = ae[p] || [], xe = re[0] === k && re[1], We = xe), We === !1)
1802
- 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)); )
1803
1847
  ;
1804
1848
  return We -= I, We === N || We % N === 0 && We / N >= 0;
1805
1849
  }
1806
1850
  };
1807
1851
  },
1808
1852
  PSEUDO: function(p, b) {
1809
- 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);
1810
1854
  return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ? st(function(I, F) {
1811
1855
  for (var $, Y = N(I, b), X = Y.length; X--; )
1812
- $ = L.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
1856
+ $ = k.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
1813
1857
  }) : function(I) {
1814
1858
  return N(I, 0, E);
1815
1859
  }) : N;
@@ -1818,7 +1862,7 @@ function mo() {
1818
1862
  pseudos: {
1819
1863
  // Potentially complex pseudos
1820
1864
  not: st(function(p) {
1821
- var b = [], E = [], N = mr(p.replace(C, "$1"));
1865
+ var b = [], E = [], N = vr(p.replace(C, "$1"));
1822
1866
  return N[O] ? st(function(I, F, $, Y) {
1823
1867
  for (var X, se = N(I, null, Y, []), te = I.length; te--; )
1824
1868
  (X = se[te]) && (I[te] = !(F[te] = X));
@@ -1828,7 +1872,7 @@ function mo() {
1828
1872
  }),
1829
1873
  has: st(function(p) {
1830
1874
  return function(b) {
1831
- return ye(p, b).length > 0;
1875
+ return be(p, b).length > 0;
1832
1876
  };
1833
1877
  }),
1834
1878
  contains: st(function(p) {
@@ -1844,7 +1888,7 @@ function mo() {
1844
1888
  // The identifier C does not have to be a valid language name."
1845
1889
  // https://www.w3.org/TR/selectors/#lang-pseudo
1846
1890
  lang: st(function(p) {
1847
- 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) {
1848
1892
  var E;
1849
1893
  do
1850
1894
  if (E = m ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang"))
@@ -1862,11 +1906,11 @@ function mo() {
1862
1906
  return p === y;
1863
1907
  },
1864
1908
  focus: function(p) {
1865
- return p === Qo() && u.hasFocus() && !!(p.type || p.href || ~p.tabIndex);
1909
+ return p === ts() && u.hasFocus() && !!(p.type || p.href || ~p.tabIndex);
1866
1910
  },
1867
1911
  // Boolean properties
1868
- enabled: vn(!1),
1869
- disabled: vn(!0),
1912
+ enabled: bn(!1),
1913
+ disabled: bn(!0),
1870
1914
  checked: function(p) {
1871
1915
  return me(p, "input") && !!p.checked || me(p, "option") && !!p.selected;
1872
1916
  },
@@ -1934,12 +1978,12 @@ function mo() {
1934
1978
  }
1935
1979
  }, i.pseudos.nth = i.pseudos.eq;
1936
1980
  for (t in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
1937
- i.pseudos[t] = es(t);
1981
+ i.pseudos[t] = is(t);
1938
1982
  for (t in { submit: !0, reset: !0 })
1939
- i.pseudos[t] = ts(t);
1940
- function yn() {
1983
+ i.pseudos[t] = rs(t);
1984
+ function wn() {
1941
1985
  }
1942
- yn.prototype = i.filters = i.pseudos, i.setFilters = new yn();
1986
+ wn.prototype = i.filters = i.pseudos, i.setFilters = new wn();
1943
1987
  function ui(p, b) {
1944
1988
  var E, N, I, F, $, Y, X, se = de[p + " "];
1945
1989
  if (se)
@@ -1959,7 +2003,7 @@ function mo() {
1959
2003
  if (!E)
1960
2004
  break;
1961
2005
  }
1962
- return b ? $.length : $ ? ye.error(p) : (
2006
+ return b ? $.length : $ ? be.error(p) : (
1963
2007
  // Cache the tokens
1964
2008
  de(p, Y).slice(0)
1965
2009
  );
@@ -1982,7 +2026,7 @@ function mo() {
1982
2026
  ) : (
1983
2027
  // Check against all ancestor/preceding elements
1984
2028
  function(X, se, te) {
1985
- var re, ae, J = [k, Y];
2029
+ var re, ae, J = [A, Y];
1986
2030
  if (te) {
1987
2031
  for (; X = X[N]; )
1988
2032
  if ((X.nodeType === 1 || $) && p(X, se, te))
@@ -1993,7 +2037,7 @@ function mo() {
1993
2037
  if (ae = X[O] || (X[O] = {}), I && me(X, I))
1994
2038
  X = X[N] || X;
1995
2039
  else {
1996
- if ((re = ae[F]) && re[0] === k && re[1] === Y)
2040
+ if ((re = ae[F]) && re[0] === A && re[1] === Y)
1997
2041
  return J[2] = re[2];
1998
2042
  if (ae[F] = J, J[2] = p(X, se, te))
1999
2043
  return !0;
@@ -2002,7 +2046,7 @@ function mo() {
2002
2046
  }
2003
2047
  );
2004
2048
  }
2005
- function hr(p) {
2049
+ function pr(p) {
2006
2050
  return p.length > 1 ? function(b, E, N) {
2007
2051
  for (var I = p.length; I--; )
2008
2052
  if (!p[I](b, E, N))
@@ -2010,9 +2054,9 @@ function mo() {
2010
2054
  return !0;
2011
2055
  } : p[0];
2012
2056
  }
2013
- function is(p, b, E) {
2057
+ function ns(p, b, E) {
2014
2058
  for (var N = 0, I = b.length; N < I; N++)
2015
- ye(p, b[N], E);
2059
+ be(p, b[N], E);
2016
2060
  return E;
2017
2061
  }
2018
2062
  function Ei(p, b, E, N, I) {
@@ -2020,9 +2064,9 @@ function mo() {
2020
2064
  (F = p[Y]) && (!E || E(F, N, I)) && ($.push(F), se && b.push(Y));
2021
2065
  return $;
2022
2066
  }
2023
- function pr(p, b, E, N, I, F) {
2024
- return N && !N[O] && (N = pr(N)), I && !I[O] && (I = pr(I, F)), st(function($, Y, X, se) {
2025
- 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(
2026
2070
  b || "*",
2027
2071
  X.nodeType ? [X] : X,
2028
2072
  []
@@ -2044,7 +2088,7 @@ function mo() {
2044
2088
  I(null, J = [], te, se);
2045
2089
  }
2046
2090
  for (re = J.length; re--; )
2047
- (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));
2048
2092
  }
2049
2093
  } else
2050
2094
  J = Ei(
@@ -2052,40 +2096,40 @@ function mo() {
2052
2096
  ), I ? I(null, Y, J, se) : l.apply(Y, J);
2053
2097
  });
2054
2098
  }
2055
- function gr(p) {
2099
+ function mr(p) {
2056
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) {
2057
2101
  return re === b;
2058
2102
  }, $, !0), se = Si(function(re) {
2059
- return L.call(b, re) > -1;
2103
+ return k.call(b, re) > -1;
2060
2104
  }, $, !0), te = [function(re, ae, J) {
2061
2105
  var xe = !F && (J || ae != r) || ((b = ae).nodeType ? X(re, ae, J) : se(re, ae, J));
2062
2106
  return b = null, xe;
2063
2107
  }]; Y < I; Y++)
2064
2108
  if (E = i.relative[p[Y].type])
2065
- te = [Si(hr(te), E)];
2109
+ te = [Si(pr(te), E)];
2066
2110
  else {
2067
2111
  if (E = i.filter[p[Y].type].apply(null, p[Y].matches), E[O]) {
2068
2112
  for (N = ++Y; N < I && !i.relative[p[N].type]; N++)
2069
2113
  ;
2070
- return pr(
2071
- Y > 1 && hr(te),
2114
+ return gr(
2115
+ Y > 1 && pr(te),
2072
2116
  Y > 1 && Ti(
2073
2117
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
2074
2118
  p.slice(0, Y - 1).concat({ value: p[Y - 2].type === " " ? "*" : "" })
2075
2119
  ).replace(C, "$1"),
2076
2120
  E,
2077
- Y < N && gr(p.slice(Y, N)),
2078
- N < I && gr(p = p.slice(N)),
2121
+ Y < N && mr(p.slice(Y, N)),
2122
+ N < I && mr(p = p.slice(N)),
2079
2123
  N < I && Ti(p)
2080
2124
  );
2081
2125
  }
2082
2126
  te.push(E);
2083
2127
  }
2084
- return hr(te);
2128
+ return pr(te);
2085
2129
  }
2086
- function rs(p, b) {
2130
+ function os(p, b) {
2087
2131
  var E = b.length > 0, N = p.length > 0, I = function(F, $, Y, X, se) {
2088
- 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;
2089
2133
  for (se && (r = $ == u || $ || se); xe !== We && (te = ht[xe]) != null; xe++) {
2090
2134
  if (N && te) {
2091
2135
  for (re = 0, !$ && te.ownerDocument != u && (kt(te), Y = !m); ae = p[re++]; )
@@ -2093,7 +2137,7 @@ function mo() {
2093
2137
  l.call(X, te);
2094
2138
  break;
2095
2139
  }
2096
- se && (k = Ut);
2140
+ se && (A = Ut);
2097
2141
  }
2098
2142
  E && ((te = !ae && te) && J--, F && Ue.push(te));
2099
2143
  }
@@ -2108,23 +2152,23 @@ function mo() {
2108
2152
  }
2109
2153
  l.apply(X, Be), se && !F && Be.length > 0 && J + b.length > 1 && o.uniqueSort(X);
2110
2154
  }
2111
- return se && (k = Ut, r = rt), Ue;
2155
+ return se && (A = Ut, r = rt), Ue;
2112
2156
  };
2113
2157
  return E ? st(I) : I;
2114
2158
  }
2115
- function mr(p, b) {
2159
+ function vr(p, b) {
2116
2160
  var E, N = [], I = [], F = ne[p + " "];
2117
2161
  if (!F) {
2118
2162
  for (b || (b = ui(p)), E = b.length; E--; )
2119
- 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);
2120
2164
  F = ne(
2121
2165
  p,
2122
- rs(I, N)
2166
+ os(I, N)
2123
2167
  ), F.selector = p;
2124
2168
  }
2125
2169
  return F;
2126
2170
  }
2127
- function bn(p, b, E, N) {
2171
+ function xn(p, b, E, N) {
2128
2172
  var I, F, $, Y, X, se = typeof p == "function" && p, te = !N && ui(p = se.selector || p);
2129
2173
  if (E = E || [], te.length === 1) {
2130
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]) {
@@ -2139,24 +2183,24 @@ function mo() {
2139
2183
  for (I = dt.needsContext.test(p) ? 0 : F.length; I-- && ($ = F[I], !i.relative[Y = $.type]); )
2140
2184
  if ((X = i.find[Y]) && (N = X(
2141
2185
  $.matches[0].replace(yt, bt),
2142
- fr.test(F[0].type) && dr(b.parentNode) || b
2186
+ dr.test(F[0].type) && hr(b.parentNode) || b
2143
2187
  ))) {
2144
2188
  if (F.splice(I, 1), p = N.length && Ti(F), !p)
2145
2189
  return l.apply(E, N), E;
2146
2190
  break;
2147
2191
  }
2148
2192
  }
2149
- return (se || mr(p, te))(
2193
+ return (se || vr(p, te))(
2150
2194
  N,
2151
2195
  b,
2152
2196
  !m,
2153
2197
  E,
2154
- !b || fr.test(p) && dr(b.parentNode) || b
2198
+ !b || dr.test(p) && hr(b.parentNode) || b
2155
2199
  ), E;
2156
2200
  }
2157
2201
  V.sortStable = O.split("").sort(Pe).join("") === O, kt(), V.sortDetached = Yt(function(p) {
2158
2202
  return p.compareDocumentPosition(u.createElement("fieldset")) & 1;
2159
- }), 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;
2160
2204
  })();
2161
2205
  var ge = function(t, i, r) {
2162
2206
  for (var n = [], a = r !== void 0; (t = t[i]) && t.nodeType !== 9; )
@@ -2177,7 +2221,7 @@ function mo() {
2177
2221
  }) : i.nodeType ? o.grep(t, function(n) {
2178
2222
  return n === i !== r;
2179
2223
  }) : typeof i != "string" ? o.grep(t, function(n) {
2180
- return L.call(i, n) > -1 !== r;
2224
+ return k.call(i, n) > -1 !== r;
2181
2225
  }) : o.filter(i, t, r);
2182
2226
  }
2183
2227
  o.filter = function(t, i, r) {
@@ -2276,7 +2320,7 @@ function mo() {
2276
2320
  },
2277
2321
  // Determine the position of an element within the set
2278
2322
  index: function(t) {
2279
- 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(
2280
2324
  this,
2281
2325
  // If it receives a jQuery object, the first element is used
2282
2326
  t.jquery ? t[0] : t
@@ -2348,14 +2392,14 @@ function mo() {
2348
2392
  };
2349
2393
  });
2350
2394
  var He = /[^\x20\t\r\n\f]+/g;
2351
- function Gi(t) {
2395
+ function Zi(t) {
2352
2396
  var i = {};
2353
2397
  return o.each(t.match(He) || [], function(r, n) {
2354
2398
  i[n] = !0;
2355
2399
  }), i;
2356
2400
  }
2357
2401
  o.Callbacks = function(t) {
2358
- t = typeof t == "string" ? Gi(t) : o.extend({}, t);
2402
+ t = typeof t == "string" ? Zi(t) : o.extend({}, t);
2359
2403
  var i, r, n, a, l = [], u = [], y = -1, m = function() {
2360
2404
  for (a = a || t.once, n = i = !0; u.length; y = -1)
2361
2405
  for (r = u.shift(); ++y < l.length; )
@@ -2365,7 +2409,7 @@ function mo() {
2365
2409
  // Add a callback or a collection of callbacks to the list
2366
2410
  add: function() {
2367
2411
  return l && (r && !i && (y = l.length - 1, u.push(r)), (function P(O) {
2368
- o.each(O, function(k, R) {
2412
+ o.each(O, function(A, R) {
2369
2413
  G(R) ? (!t.unique || !w.has(R)) && l.push(R) : R && R.length && Ve(R) !== "string" && P(R);
2370
2414
  });
2371
2415
  })(arguments), r && !i && m()), this;
@@ -2373,8 +2417,8 @@ function mo() {
2373
2417
  // Remove a callback from the list
2374
2418
  remove: function() {
2375
2419
  return o.each(arguments, function(P, O) {
2376
- for (var k; (k = o.inArray(O, l, k)) > -1; )
2377
- 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--;
2378
2422
  }), this;
2379
2423
  },
2380
2424
  // Check if a given callback is in the list.
@@ -2489,12 +2533,12 @@ function mo() {
2489
2533
  },
2490
2534
  then: function(l, u, y) {
2491
2535
  var m = 0;
2492
- function w(P, O, k, R) {
2536
+ function w(P, O, A, R) {
2493
2537
  return function() {
2494
2538
  var ie = this, de = arguments, ne = function() {
2495
2539
  var Pe, ct;
2496
2540
  if (!(P < m)) {
2497
- if (Pe = k.apply(ie, de), Pe === O.promise())
2541
+ if (Pe = A.apply(ie, de), Pe === O.promise())
2498
2542
  throw new TypeError("Thenable self-resolution");
2499
2543
  ct = Pe && // Support: Promises/A+ section 2.3.4
2500
2544
  // https://promisesaplus.com/#point-64
@@ -2513,7 +2557,7 @@ function mo() {
2513
2557
  mt,
2514
2558
  O.notifyWith
2515
2559
  )
2516
- )) : (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));
2517
2561
  }
2518
2562
  }, Oe = R ? ne : function() {
2519
2563
  try {
@@ -2522,7 +2566,7 @@ function mo() {
2522
2566
  o.Deferred.exceptionHook && o.Deferred.exceptionHook(
2523
2567
  Pe,
2524
2568
  Oe.error
2525
- ), 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));
2526
2570
  }
2527
2571
  };
2528
2572
  P ? Oe() : (o.Deferred.getErrorHook ? Oe.error = o.Deferred.getErrorHook() : o.Deferred.getStackHook && (Oe.error = o.Deferred.getStackHook()), c.setTimeout(Oe));
@@ -2580,9 +2624,9 @@ function mo() {
2580
2624
  },
2581
2625
  // Deferred helper
2582
2626
  when: function(t) {
2583
- 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) {
2584
2628
  return function(m) {
2585
- 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);
2586
2630
  };
2587
2631
  };
2588
2632
  if (i <= 1 && (_t(
@@ -2635,8 +2679,8 @@ function mo() {
2635
2679
  a = !0;
2636
2680
  for (y in r)
2637
2681
  et(t, i, y, r[y], !0, l, u);
2638
- } 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) {
2639
- 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);
2640
2684
  })), i))
2641
2685
  for (; y < m; y++)
2642
2686
  i(
@@ -2698,9 +2742,9 @@ function mo() {
2698
2742
  return i !== void 0 && !o.isEmptyObject(i);
2699
2743
  }
2700
2744
  };
2701
- 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;
2702
2746
  function oe(t) {
2703
- 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;
2704
2748
  }
2705
2749
  function Re(t, i, r) {
2706
2750
  var n;
@@ -2811,9 +2855,9 @@ function mo() {
2811
2855
  });
2812
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) {
2813
2857
  return o.contains(t.ownerDocument, t);
2814
- }, Zi = { composed: !0 };
2858
+ }, Ki = { composed: !0 };
2815
2859
  lt.getRootNode && (Et = function(t) {
2816
- return o.contains(t.ownerDocument, t) || t.getRootNode(Zi) === t.ownerDocument;
2860
+ return o.contains(t.ownerDocument, t) || t.getRootNode(Ki) === t.ownerDocument;
2817
2861
  });
2818
2862
  var tt = function(t, i) {
2819
2863
  return t = i || t, t.style.display === "none" || t.style.display === "" && // Otherwise, check computed style
@@ -2890,18 +2934,18 @@ function mo() {
2890
2934
  }
2891
2935
  var Le = /<|&#?\w+;/;
2892
2936
  function Ne(t, i, r, n, a) {
2893
- 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++)
2894
2938
  if (l = t[R], l || l === 0)
2895
2939
  if (Ve(l) === "object")
2896
- o.merge(k, l.nodeType ? [l] : l);
2940
+ o.merge(A, l.nodeType ? [l] : l);
2897
2941
  else if (!Le.test(l))
2898
- k.push(i.createTextNode(l));
2942
+ A.push(i.createTextNode(l));
2899
2943
  else {
2900
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--; )
2901
2945
  u = u.lastChild;
2902
- o.merge(k, u.childNodes), u = O.firstChild, u.textContent = "";
2946
+ o.merge(A, u.childNodes), u = O.firstChild, u.textContent = "";
2903
2947
  }
2904
- for (O.textContent = "", R = 0; l = k[R++]; ) {
2948
+ for (O.textContent = "", R = 0; l = A[R++]; ) {
2905
2949
  if (n && o.inArray(l, n) > -1) {
2906
2950
  a && a.push(l);
2907
2951
  continue;
@@ -2919,12 +2963,12 @@ function mo() {
2919
2963
  function je() {
2920
2964
  return !1;
2921
2965
  }
2922
- function Ki(t, i, r, n, a, l) {
2966
+ function Ji(t, i, r, n, a, l) {
2923
2967
  var u, y;
2924
2968
  if (typeof i == "object") {
2925
2969
  typeof r != "string" && (n = n || r, r = void 0);
2926
2970
  for (y in i)
2927
- Ki(t, y, r, n, i[y], l);
2971
+ Ji(t, y, r, n, i[y], l);
2928
2972
  return t;
2929
2973
  }
2930
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)
@@ -2940,7 +2984,7 @@ function mo() {
2940
2984
  o.event = {
2941
2985
  global: {},
2942
2986
  add: function(t, i, r, n, a) {
2943
- 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);
2944
2988
  if (H(t))
2945
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) {
2946
2990
  return typeof o < "u" && o.event.triggered !== Oe.type ? o.event.dispatch.apply(t, arguments) : void 0;
@@ -2954,11 +2998,11 @@ function mo() {
2954
2998
  selector: a,
2955
2999
  needsContext: a && o.expr.match.needsContext.test(a),
2956
3000
  namespace: ie.join(".")
2957
- }, 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);
2958
3002
  },
2959
3003
  // Detach an event or set of events from an element
2960
3004
  remove: function(t, i, r, n, a) {
2961
- 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);
2962
3006
  if (!(!ne || !(m = ne.events))) {
2963
3007
  for (i = (i || "").match(He) || [""], w = i.length; w--; ) {
2964
3008
  if (y = nt.exec(i[w]) || [], R = de = y[1], ie = (y[2] || "").split(".").sort(), !R) {
@@ -2966,9 +3010,9 @@ function mo() {
2966
3010
  o.event.remove(t, R + i[w], r, n, !0);
2967
3011
  continue;
2968
3012
  }
2969
- 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--; )
2970
- 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));
2971
- 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]);
2972
3016
  }
2973
3017
  o.isEmptyObject(m) && M.remove(t, "handle events");
2974
3018
  }
@@ -3068,7 +3112,7 @@ function mo() {
3068
3112
  if (n.isTrigger & 1 && this[i]) {
3069
3113
  if (l)
3070
3114
  (o.event.special[i] || {}).delegateType && n.stopPropagation();
3071
- 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)
3072
3116
  return n.stopImmediatePropagation(), n.preventDefault(), a;
3073
3117
  } else l && (M.set(this, i, o.event.trigger(
3074
3118
  l[0],
@@ -3198,10 +3242,10 @@ function mo() {
3198
3242
  };
3199
3243
  }), o.fn.extend({
3200
3244
  on: function(t, i, r, n) {
3201
- return Ki(this, t, i, r, n);
3245
+ return Ji(this, t, i, r, n);
3202
3246
  },
3203
3247
  one: function(t, i, r, n) {
3204
- return Ki(this, t, i, r, n, 1);
3248
+ return Ji(this, t, i, r, n, 1);
3205
3249
  },
3206
3250
  off: function(t, i, r) {
3207
3251
  var n, a;
@@ -3221,17 +3265,17 @@ function mo() {
3221
3265
  });
3222
3266
  }
3223
3267
  });
3224
- var yo = /<script|<style|<link/i, bo = /checked\s*(?:[^=]|=\s*.checked.)/i, wo = /^\s*<!\[CDATA\[|\]\]>\s*$/g;
3225
- 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) {
3226
3270
  return me(t, "table") && me(i.nodeType !== 11 ? i : i.firstChild, "tr") && o(t).children("tbody")[0] || t;
3227
3271
  }
3228
- function xo(t) {
3272
+ function So(t) {
3229
3273
  return t.type = (t.getAttribute("type") !== null) + "/" + t.type, t;
3230
3274
  }
3231
- function To(t) {
3275
+ function Eo(t) {
3232
3276
  return (t.type || "").slice(0, 5) === "true/" ? t.type = t.type.slice(5) : t.removeAttribute("type"), t;
3233
3277
  }
3234
- function Ur(t, i) {
3278
+ function Zr(t, i) {
3235
3279
  var r, n, a, l, u, y, m;
3236
3280
  if (i.nodeType === 1) {
3237
3281
  if (M.hasData(t) && (l = M.get(t), m = l.events, m)) {
@@ -3243,30 +3287,30 @@ function mo() {
3243
3287
  ee.hasData(t) && (u = ee.access(t), y = o.extend({}, u), ee.set(i, y));
3244
3288
  }
3245
3289
  }
3246
- function So(t, i) {
3290
+ function Co(t, i) {
3247
3291
  var r = i.nodeName.toLowerCase();
3248
3292
  r === "input" && ke.test(t.type) ? i.checked = t.checked : (r === "input" || r === "textarea") && (i.defaultValue = t.defaultValue);
3249
3293
  }
3250
3294
  function $t(t, i, r, n) {
3251
3295
  i = z(i);
3252
- var a, l, u, y, m, w, P = 0, O = t.length, k = O - 1, R = i[0], ie = G(R);
3253
- 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))
3254
3298
  return t.each(function(de) {
3255
3299
  var ne = t.eq(de);
3256
3300
  ie && (i[0] = R.call(this, de, ne.html())), $t(ne, i, r, n);
3257
3301
  });
3258
3302
  if (O && (a = Ne(i, t[0].ownerDocument, !1, t, n), l = a.firstChild, a.childNodes.length === 1 && (a = l), l || n)) {
3259
- for (u = o.map(Ce(a, "script"), xo), y = u.length; P < O; P++)
3260
- 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);
3261
3305
  if (y)
3262
- 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++)
3263
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, {
3264
3308
  nonce: m.nonce || m.getAttribute("nonce")
3265
- }, w) : wt(m.textContent.replace(wo, ""), m, w));
3309
+ }, w) : wt(m.textContent.replace(To, ""), m, w));
3266
3310
  }
3267
3311
  return t;
3268
3312
  }
3269
- function Gr(t, i, r) {
3313
+ function Kr(t, i, r) {
3270
3314
  for (var n, a = i ? o.filter(i, t) : t, l = 0; (n = a[l]) != null; l++)
3271
3315
  !r && n.nodeType === 1 && o.cleanData(Ce(n)), n.parentNode && (r && Et(n) && vt(Ce(n, "script")), n.parentNode.removeChild(n));
3272
3316
  return t;
@@ -3279,13 +3323,13 @@ function mo() {
3279
3323
  var n, a, l, u, y = t.cloneNode(!0), m = Et(t);
3280
3324
  if (!V.noCloneChecked && (t.nodeType === 1 || t.nodeType === 11) && !o.isXMLDoc(t))
3281
3325
  for (u = Ce(y), l = Ce(t), n = 0, a = l.length; n < a; n++)
3282
- So(l[n], u[n]);
3326
+ Co(l[n], u[n]);
3283
3327
  if (i)
3284
3328
  if (r)
3285
3329
  for (l = l || Ce(t), u = u || Ce(y), n = 0, a = l.length; n < a; n++)
3286
- Ur(l[n], u[n]);
3330
+ Zr(l[n], u[n]);
3287
3331
  else
3288
- Ur(t, y);
3332
+ Zr(t, y);
3289
3333
  return u = Ce(y, "script"), u.length > 0 && vt(u, !m && Ce(t, "script")), y;
3290
3334
  },
3291
3335
  cleanData: function(t) {
@@ -3302,10 +3346,10 @@ function mo() {
3302
3346
  }
3303
3347
  }), o.fn.extend({
3304
3348
  detach: function(t) {
3305
- return Gr(this, t, !0);
3349
+ return Kr(this, t, !0);
3306
3350
  },
3307
3351
  remove: function(t) {
3308
- return Gr(this, t);
3352
+ return Kr(this, t);
3309
3353
  },
3310
3354
  text: function(t) {
3311
3355
  return et(this, function(i) {
@@ -3317,7 +3361,7 @@ function mo() {
3317
3361
  append: function() {
3318
3362
  return $t(this, arguments, function(t) {
3319
3363
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3320
- var i = Yr(this, t);
3364
+ var i = Gr(this, t);
3321
3365
  i.appendChild(t);
3322
3366
  }
3323
3367
  });
@@ -3325,7 +3369,7 @@ function mo() {
3325
3369
  prepend: function() {
3326
3370
  return $t(this, arguments, function(t) {
3327
3371
  if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) {
3328
- var i = Yr(this, t);
3372
+ var i = Gr(this, t);
3329
3373
  i.insertBefore(t, i.firstChild);
3330
3374
  }
3331
3375
  });
@@ -3355,7 +3399,7 @@ function mo() {
3355
3399
  var r = this[0] || {}, n = 0, a = this.length;
3356
3400
  if (i === void 0 && r.nodeType === 1)
3357
3401
  return r.innerHTML;
3358
- 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()]) {
3359
3403
  i = o.htmlPrefilter(i);
3360
3404
  try {
3361
3405
  for (; n < a; n++)
@@ -3387,10 +3431,10 @@ function mo() {
3387
3431
  return this.pushStack(a);
3388
3432
  };
3389
3433
  });
3390
- 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) {
3391
3435
  var i = t.ownerDocument.defaultView;
3392
3436
  return (!i || !i.opener) && (i = c), i.getComputedStyle(t);
3393
- }, Zr = function(t, i, r) {
3437
+ }, Jr = function(t, i, r) {
3394
3438
  var n, a, l = {};
3395
3439
  for (a in i)
3396
3440
  l[a] = t.style[a], t.style[a] = i[a];
@@ -3398,7 +3442,7 @@ function mo() {
3398
3442
  for (a in i)
3399
3443
  t.style[a] = l[a];
3400
3444
  return n;
3401
- }, Eo = new RegExp(Xe.join("|"), "i");
3445
+ }, Ao = new RegExp(Xe.join("|"), "i");
3402
3446
  (function() {
3403
3447
  function t() {
3404
3448
  if (w) {
@@ -3437,20 +3481,20 @@ function mo() {
3437
3481
  // Only Firefox includes border widths
3438
3482
  // in computed dimensions. (gh-4529)
3439
3483
  reliableTrDimensions: function() {
3440
- var P, O, k, R;
3441
- 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;
3442
3486
  }
3443
3487
  }));
3444
3488
  })();
3445
3489
  function ni(t, i, r) {
3446
- var n, a, l, u, y = Qi.test(i), m = t.style;
3447
- 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 ? (
3448
3492
  // Support: IE <=9 - 11 only
3449
3493
  // IE returns zIndex value as an integer.
3450
3494
  u + ""
3451
3495
  ) : u;
3452
3496
  }
3453
- function Kr(t, i) {
3497
+ function Qr(t, i) {
3454
3498
  return {
3455
3499
  get: function() {
3456
3500
  if (t()) {
@@ -3461,28 +3505,28 @@ function mo() {
3461
3505
  }
3462
3506
  };
3463
3507
  }
3464
- var Jr = ["Webkit", "Moz", "ms"], Qr = U.createElement("div").style, en = {};
3465
- function Co(t) {
3466
- for (var i = t[0].toUpperCase() + t.slice(1), r = Jr.length; r--; )
3467
- 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)
3468
3512
  return t;
3469
3513
  }
3470
- function er(t) {
3471
- var i = o.cssProps[t] || en[t];
3472
- 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);
3473
3517
  }
3474
- 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 = {
3475
3519
  letterSpacing: "0",
3476
3520
  fontWeight: "400"
3477
3521
  };
3478
- function rn(t, i, r) {
3522
+ function on(t, i, r) {
3479
3523
  var n = Ht.exec(i);
3480
3524
  return n ? (
3481
3525
  // Guard against undefined "subtract", e.g., when used as in cssHooks
3482
3526
  Math.max(0, n[2] - (r || 0)) + (n[3] || "px")
3483
3527
  ) : i;
3484
3528
  }
3485
- function tr(t, i, r, n, a, l) {
3529
+ function ir(t, i, r, n, a, l) {
3486
3530
  var u = i === "width" ? 1 : 0, y = 0, m = 0, w = 0;
3487
3531
  if (r === (n ? "border" : "content"))
3488
3532
  return 0;
@@ -3494,9 +3538,9 @@ function mo() {
3494
3538
  // Use an explicit zero to avoid NaN (gh-3964)
3495
3539
  )) || 0), m + w;
3496
3540
  }
3497
- function nn(t, i, r) {
3541
+ function sn(t, i, r) {
3498
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);
3499
- if (Ji.test(y)) {
3543
+ if (Qi.test(y)) {
3500
3544
  if (!r)
3501
3545
  return y;
3502
3546
  y = "auto";
@@ -3510,7 +3554,7 @@ function mo() {
3510
3554
  y === "auto" || // Support: Android <=4.1 - 4.3 only
3511
3555
  // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
3512
3556
  !parseFloat(y) && o.css(t, "display", !1, n) === "inline") && // Make sure the element is visible & connected
3513
- 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(
3514
3558
  t,
3515
3559
  i,
3516
3560
  r || (l ? "border" : "content"),
@@ -3570,8 +3614,8 @@ function mo() {
3570
3614
  // Get and set the style property on a DOM Node
3571
3615
  style: function(t, i, r, n) {
3572
3616
  if (!(!t || t.nodeType === 3 || t.nodeType === 8 || !t.style)) {
3573
- var a, l, u, y = S(i), m = Qi.test(i), w = t.style;
3574
- 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) {
3575
3619
  if (l = typeof r, l === "string" && (a = Ht.exec(r)) && a[1] && (r = ri(t, i, a), l = "number"), r == null || r !== r)
3576
3620
  return;
3577
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);
@@ -3580,25 +3624,25 @@ function mo() {
3580
3624
  }
3581
3625
  },
3582
3626
  css: function(t, i, r, n) {
3583
- var a, l, u, y = S(i), m = Qi.test(i);
3584
- 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;
3585
3629
  }
3586
3630
  }), o.each(["height", "width"], function(t, i) {
3587
3631
  o.cssHooks[i] = {
3588
3632
  get: function(r, n, a) {
3589
3633
  if (n)
3590
- return Ao.test(o.css(r, "display")) && // Support: Safari 8+
3634
+ return Lo.test(o.css(r, "display")) && // Support: Safari 8+
3591
3635
  // Table columns in Safari have non-zero offsetWidth & zero
3592
3636
  // getBoundingClientRect().width unless display is changed.
3593
3637
  // Support: IE <=11 only
3594
3638
  // Running getBoundingClientRect on a disconnected node
3595
3639
  // in IE throws an error.
3596
- (!r.getClientRects().length || !r.getBoundingClientRect().width) ? Zr(r, ko, function() {
3597
- return nn(r, i, a);
3598
- }) : 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);
3599
3643
  },
3600
3644
  set: function(r, n, a) {
3601
- 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(
3602
3646
  r,
3603
3647
  i,
3604
3648
  a,
@@ -3606,15 +3650,15 @@ function mo() {
3606
3650
  u
3607
3651
  ) : 0;
3608
3652
  return w && y && (P -= Math.ceil(
3609
- r["offset" + i[0].toUpperCase() + i.slice(1)] - parseFloat(u[i]) - tr(r, i, "border", !1, u) - 0.5
3610
- )), 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);
3611
3655
  }
3612
3656
  };
3613
- }), o.cssHooks.marginLeft = Kr(
3657
+ }), o.cssHooks.marginLeft = Qr(
3614
3658
  V.reliableMarginLeft,
3615
3659
  function(t, i) {
3616
3660
  if (i)
3617
- 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() {
3618
3662
  return t.getBoundingClientRect().left;
3619
3663
  })) + "px";
3620
3664
  }
@@ -3629,7 +3673,7 @@ function mo() {
3629
3673
  a[t + Xe[n] + i] = l[n] || l[n - 2] || l[0];
3630
3674
  return a;
3631
3675
  }
3632
- }, t !== "margin" && (o.cssHooks[t + i].set = rn);
3676
+ }, t !== "margin" && (o.cssHooks[t + i].set = on);
3633
3677
  }), o.fn.extend({
3634
3678
  css: function(t, i) {
3635
3679
  return et(this, function(r, n, a) {
@@ -3672,7 +3716,7 @@ function mo() {
3672
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);
3673
3717
  },
3674
3718
  set: function(t) {
3675
- 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;
3676
3720
  }
3677
3721
  }
3678
3722
  }, Ye.propHooks.scrollTop = Ye.propHooks.scrollLeft = {
@@ -3688,11 +3732,11 @@ function mo() {
3688
3732
  },
3689
3733
  _default: "swing"
3690
3734
  }, o.fx = Ye.prototype.init, o.fx.step = {};
3691
- var Xt, bi, Lo = /^(?:toggle|show|hide)$/, No = /queueHooks$/;
3692
- function ir() {
3693
- 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());
3694
3738
  }
3695
- function on() {
3739
+ function an() {
3696
3740
  return c.setTimeout(function() {
3697
3741
  Xt = void 0;
3698
3742
  }), Xt = Date.now();
@@ -3703,22 +3747,22 @@ function mo() {
3703
3747
  r = Xe[n], a["margin" + r] = a["padding" + r] = t;
3704
3748
  return i && (a.opacity = a.width = t), a;
3705
3749
  }
3706
- function sn(t, i, r) {
3750
+ function ln(t, i, r) {
3707
3751
  for (var n, a = (ot.tweeners[i] || []).concat(ot.tweeners["*"]), l = 0, u = a.length; l < u; l++)
3708
3752
  if (n = a[l].call(r, i, t))
3709
3753
  return n;
3710
3754
  }
3711
- function Po(t, i, r) {
3712
- 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");
3713
3757
  r.queue || (u = o._queueHooks(t, "fx"), u.unqueued == null && (u.unqueued = 0, y = u.empty.fire, u.empty.fire = function() {
3714
3758
  u.unqueued || y();
3715
- }), u.unqueued++, k.always(function() {
3716
- k.always(function() {
3759
+ }), u.unqueued++, A.always(function() {
3760
+ A.always(function() {
3717
3761
  u.unqueued--, o.queue(t, "fx").length || u.empty.fire();
3718
3762
  });
3719
3763
  }));
3720
3764
  for (n in i)
3721
- if (a = i[n], Lo.test(a)) {
3765
+ if (a = i[n], Po.test(a)) {
3722
3766
  if (delete i[n], l = l || a === "toggle", a === (de ? "hide" : "show"))
3723
3767
  if (a === "show" && ne && ne[n] !== void 0)
3724
3768
  de = !0;
@@ -3727,20 +3771,20 @@ function mo() {
3727
3771
  R[n] = ne && ne[n] || o.style(t, n);
3728
3772
  }
3729
3773
  if (m = !o.isEmptyObject(i), !(!m && o.isEmptyObject(R))) {
3730
- 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() {
3731
3775
  ie.display = w;
3732
- }), 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() {
3733
3777
  ie.overflow = r.overflow[0], ie.overflowX = r.overflow[1], ie.overflowY = r.overflow[2];
3734
3778
  })), m = !1;
3735
3779
  for (n in R)
3736
- 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() {
3737
3781
  de || ue([t]), M.remove(t, "fxshow");
3738
3782
  for (n in R)
3739
3783
  o.style(t, n, R[n]);
3740
- })), 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));
3741
3785
  }
3742
3786
  }
3743
- function Do(t, i) {
3787
+ function zo(t, i) {
3744
3788
  var r, n, a, l, u;
3745
3789
  for (r in t)
3746
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) {
@@ -3756,9 +3800,9 @@ function mo() {
3756
3800
  }), m = function() {
3757
3801
  if (a)
3758
3802
  return !1;
3759
- 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++)
3760
3804
  w.tweens[de].run(ie);
3761
- 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);
3762
3806
  }, w = y.promise({
3763
3807
  elem: t,
3764
3808
  props: o.extend({}, i),
@@ -3768,32 +3812,32 @@ function mo() {
3768
3812
  }, r),
3769
3813
  originalProperties: i,
3770
3814
  originalOptions: r,
3771
- startTime: Xt || on(),
3815
+ startTime: Xt || an(),
3772
3816
  duration: r.duration,
3773
3817
  tweens: [],
3774
- createTween: function(O, k) {
3818
+ createTween: function(O, A) {
3775
3819
  var R = o.Tween(
3776
3820
  t,
3777
3821
  w.opts,
3778
3822
  O,
3779
- k,
3823
+ A,
3780
3824
  w.opts.specialEasing[O] || w.opts.easing
3781
3825
  );
3782
3826
  return w.tweens.push(R), R;
3783
3827
  },
3784
3828
  stop: function(O) {
3785
- var k = 0, R = O ? w.tweens.length : 0;
3829
+ var A = 0, R = O ? w.tweens.length : 0;
3786
3830
  if (a)
3787
3831
  return this;
3788
- for (a = !0; k < R; k++)
3789
- w.tweens[k].run(1);
3832
+ for (a = !0; A < R; A++)
3833
+ w.tweens[A].run(1);
3790
3834
  return O ? (y.notifyWith(t, [w, 1, 0]), y.resolveWith(t, [w, O])) : y.rejectWith(t, [w, O]), this;
3791
3835
  }
3792
3836
  }), P = w.props;
3793
- for (Do(P, w.opts.specialEasing); l < u; l++)
3837
+ for (zo(P, w.opts.specialEasing); l < u; l++)
3794
3838
  if (n = ot.prefilters[l].call(w, t, P, w.opts), n)
3795
3839
  return G(n.stop) && (o._queueHooks(w.elem, w.opts.queue).stop = n.stop.bind(n)), n;
3796
- 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(
3797
3841
  o.extend(m, {
3798
3842
  elem: t,
3799
3843
  anim: w,
@@ -3813,7 +3857,7 @@ function mo() {
3813
3857
  for (var r, n = 0, a = t.length; n < a; n++)
3814
3858
  r = t[n], ot.tweeners[r] = ot.tweeners[r] || [], ot.tweeners[r].unshift(i);
3815
3859
  },
3816
- prefilters: [Po],
3860
+ prefilters: [Mo],
3817
3861
  prefilter: function(t, i) {
3818
3862
  i ? ot.prefilters.unshift(t) : ot.prefilters.push(t);
3819
3863
  }
@@ -3848,7 +3892,7 @@ function mo() {
3848
3892
  y[l] && y[l].stop && n(y[l]);
3849
3893
  else
3850
3894
  for (l in y)
3851
- y[l] && y[l].stop && No.test(l) && n(y[l]);
3895
+ y[l] && y[l].stop && Do.test(l) && n(y[l]);
3852
3896
  for (l = u.length; l--; )
3853
3897
  u[l].elem === this && (t == null || u[l].queue === t) && (u[l].anim.stop(r), a = !1, u.splice(l, 1));
3854
3898
  (a || !r) && o.dequeue(this, t);
@@ -3888,7 +3932,7 @@ function mo() {
3888
3932
  }, o.fx.timer = function(t) {
3889
3933
  o.timers.push(t), o.fx.start();
3890
3934
  }, o.fx.interval = 13, o.fx.start = function() {
3891
- bi || (bi = !0, ir());
3935
+ bi || (bi = !0, rr());
3892
3936
  }, o.fx.stop = function() {
3893
3937
  bi = null;
3894
3938
  }, o.fx.speeds = {
@@ -3907,7 +3951,7 @@ function mo() {
3907
3951
  var t = U.createElement("input"), i = U.createElement("select"), r = i.appendChild(U.createElement("option"));
3908
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";
3909
3953
  })();
3910
- var an, oi = o.expr.attrHandle;
3954
+ var cn, oi = o.expr.attrHandle;
3911
3955
  o.fn.extend({
3912
3956
  attr: function(t, i) {
3913
3957
  return et(this, o.attr, t, i, arguments.length > 1);
@@ -3923,7 +3967,7 @@ function mo() {
3923
3967
  if (!(l === 3 || l === 8 || l === 2)) {
3924
3968
  if (typeof t.getAttribute > "u")
3925
3969
  return o.prop(t, i, r);
3926
- 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) {
3927
3971
  if (r === null) {
3928
3972
  o.removeAttr(t, i);
3929
3973
  return;
@@ -3949,7 +3993,7 @@ function mo() {
3949
3993
  for (; r = a[n++]; )
3950
3994
  t.removeAttribute(r);
3951
3995
  }
3952
- }), an = {
3996
+ }), cn = {
3953
3997
  set: function(t, i, r) {
3954
3998
  return i === !1 ? o.removeAttr(t, r) : t.setAttribute(r, r), r;
3955
3999
  }
@@ -3960,7 +4004,7 @@ function mo() {
3960
4004
  return l || (y = oi[m], oi[m] = u, u = r(n, a, l) != null ? m : null, oi[m] = y), u;
3961
4005
  };
3962
4006
  });
3963
- var Mo = /^(?:input|select|textarea|button)$/i, zo = /^(?:a|area)$/i;
4007
+ var Io = /^(?:input|select|textarea|button)$/i, Ho = /^(?:a|area)$/i;
3964
4008
  o.fn.extend({
3965
4009
  prop: function(t, i) {
3966
4010
  return et(this, o.prop, t, i, arguments.length > 1);
@@ -3980,7 +4024,7 @@ function mo() {
3980
4024
  tabIndex: {
3981
4025
  get: function(t) {
3982
4026
  var i = o.find.attr(t, "tabindex");
3983
- 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;
3984
4028
  }
3985
4029
  }
3986
4030
  },
@@ -4018,7 +4062,7 @@ function mo() {
4018
4062
  function Bt(t) {
4019
4063
  return t.getAttribute && t.getAttribute("class") || "";
4020
4064
  }
4021
- function rr(t) {
4065
+ function nr(t) {
4022
4066
  return Array.isArray(t) ? t : typeof t == "string" ? t.match(He) || [] : [];
4023
4067
  }
4024
4068
  o.fn.extend({
@@ -4026,7 +4070,7 @@ function mo() {
4026
4070
  var i, r, n, a, l, u;
4027
4071
  return G(t) ? this.each(function(y) {
4028
4072
  o(this).addClass(t.call(this, y, Bt(this)));
4029
- }) : (i = rr(t), i.length ? this.each(function() {
4073
+ }) : (i = nr(t), i.length ? this.each(function() {
4030
4074
  if (n = Bt(this), r = this.nodeType === 1 && " " + Ot(n) + " ", r) {
4031
4075
  for (l = 0; l < i.length; l++)
4032
4076
  a = i[l], r.indexOf(" " + a + " ") < 0 && (r += a + " ");
@@ -4038,7 +4082,7 @@ function mo() {
4038
4082
  var i, r, n, a, l, u;
4039
4083
  return G(t) ? this.each(function(y) {
4040
4084
  o(this).removeClass(t.call(this, y, Bt(this)));
4041
- }) : arguments.length ? (i = rr(t), i.length ? this.each(function() {
4085
+ }) : arguments.length ? (i = nr(t), i.length ? this.each(function() {
4042
4086
  if (n = Bt(this), r = this.nodeType === 1 && " " + Ot(n) + " ", r) {
4043
4087
  for (l = 0; l < i.length; l++)
4044
4088
  for (a = i[l]; r.indexOf(" " + a + " ") > -1; )
@@ -4054,7 +4098,7 @@ function mo() {
4054
4098
  t.call(this, m, Bt(this), i),
4055
4099
  i
4056
4100
  );
4057
- }) : 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() {
4058
4102
  if (y)
4059
4103
  for (l = o(this), a = 0; a < r.length; a++)
4060
4104
  n = r[a], l.hasClass(n) ? l.removeClass(n) : l.addClass(n);
@@ -4072,7 +4116,7 @@ function mo() {
4072
4116
  return !1;
4073
4117
  }
4074
4118
  });
4075
- var Io = /\r/g;
4119
+ var Oo = /\r/g;
4076
4120
  o.fn.extend({
4077
4121
  val: function(t) {
4078
4122
  var i, r, n, a = this[0];
@@ -4081,7 +4125,7 @@ function mo() {
4081
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) {
4082
4126
  return y == null ? "" : y + "";
4083
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));
4084
- })) : 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;
4085
4129
  }
4086
4130
  }), o.extend({
4087
4131
  valHooks: {
@@ -4124,7 +4168,7 @@ function mo() {
4124
4168
  return t.getAttribute("value") === null ? "on" : t.value;
4125
4169
  });
4126
4170
  });
4127
- var si = c.location, ln = { guid: Date.now() }, nr = /\?/;
4171
+ var si = c.location, un = { guid: Date.now() }, or = /\?/;
4128
4172
  o.parseXML = function(t) {
4129
4173
  var i, r;
4130
4174
  if (!t || typeof t != "string")
@@ -4138,21 +4182,21 @@ function mo() {
4138
4182
  }).join(`
4139
4183
  `) : t)), i;
4140
4184
  };
4141
- var cn = /^(?:focusinfocus|focusoutblur)$/, un = function(t) {
4185
+ var fn = /^(?:focusinfocus|focusoutblur)$/, dn = function(t) {
4142
4186
  t.stopPropagation();
4143
4187
  };
4144
4188
  o.extend(o.event, {
4145
4189
  trigger: function(t, i, r, n) {
4146
- 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(".") : [];
4147
- 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))) {
4148
4192
  if (!n && !P.noBubble && !Ee(r)) {
4149
- for (y = P.delegateType || R, cn.test(y + R) || (l = l.parentNode); l; l = l.parentNode)
4150
- k.push(l), u = l;
4151
- 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);
4152
4196
  }
4153
- for (a = 0; (l = k[a++]) && !t.isPropagationStopped(); )
4197
+ for (a = 0; (l = A[a++]) && !t.isPropagationStopped(); )
4154
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());
4155
- 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;
4156
4200
  }
4157
4201
  },
4158
4202
  // Piggyback on a donor event to simulate a different one
@@ -4180,12 +4224,12 @@ function mo() {
4180
4224
  return o.event.trigger(t, i, r, !0);
4181
4225
  }
4182
4226
  });
4183
- var Ho = /\[\]$/, fn = /\r?\n/g, Oo = /^(?:submit|button|image|reset|file)$/i, Bo = /^(?:input|select|textarea|keygen)/i;
4184
- 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) {
4185
4229
  var a;
4186
4230
  if (Array.isArray(i))
4187
4231
  o.each(i, function(l, u) {
4188
- r || Ho.test(t) ? n(t, u) : or(
4232
+ r || Bo.test(t) ? n(t, u) : sr(
4189
4233
  t + "[" + (typeof u == "object" && u != null ? l : "") + "]",
4190
4234
  u,
4191
4235
  r,
@@ -4194,7 +4238,7 @@ function mo() {
4194
4238
  });
4195
4239
  else if (!r && Ve(i) === "object")
4196
4240
  for (a in i)
4197
- or(t + "[" + a + "]", i[a], r, n);
4241
+ sr(t + "[" + a + "]", i[a], r, n);
4198
4242
  else
4199
4243
  n(t, i);
4200
4244
  }
@@ -4211,7 +4255,7 @@ function mo() {
4211
4255
  });
4212
4256
  else
4213
4257
  for (r in t)
4214
- or(r, t[r], i, a);
4258
+ sr(r, t[r], i, a);
4215
4259
  return n.join("&");
4216
4260
  }, o.fn.extend({
4217
4261
  serialize: function() {
@@ -4223,20 +4267,20 @@ function mo() {
4223
4267
  return t ? o.makeArray(t) : this;
4224
4268
  }).filter(function() {
4225
4269
  var t = this.type;
4226
- 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));
4227
4271
  }).map(function(t, i) {
4228
4272
  var r = o(this).val();
4229
4273
  return r == null ? null : Array.isArray(r) ? o.map(r, function(n) {
4230
- return { name: i.name, value: n.replace(fn, `\r
4274
+ return { name: i.name, value: n.replace(hn, `\r
4231
4275
  `) };
4232
- }) : { name: i.name, value: r.replace(fn, `\r
4276
+ }) : { name: i.name, value: r.replace(hn, `\r
4233
4277
  `) };
4234
4278
  }).get();
4235
4279
  }
4236
4280
  });
4237
- 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");
4238
- ar.href = si.href;
4239
- 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) {
4240
4284
  return function(i, r) {
4241
4285
  typeof i != "string" && (r = i, i = "*");
4242
4286
  var n, a = 0, l = i.toLowerCase().match(He) || [];
@@ -4245,8 +4289,8 @@ function mo() {
4245
4289
  n[0] === "+" ? (n = n.slice(1) || "*", (t[n] = t[n] || []).unshift(r)) : (t[n] = t[n] || []).push(r);
4246
4290
  };
4247
4291
  }
4248
- function gn(t, i, r, n) {
4249
- var a = {}, l = t === sr;
4292
+ function vn(t, i, r, n) {
4293
+ var a = {}, l = t === ar;
4250
4294
  function u(y) {
4251
4295
  var m;
4252
4296
  return a[y] = !0, o.each(t[y] || [], function(w, P) {
@@ -4259,13 +4303,13 @@ function mo() {
4259
4303
  }
4260
4304
  return u(i.dataTypes[0]) || !a["*"] && u("*");
4261
4305
  }
4262
- function lr(t, i) {
4306
+ function cr(t, i) {
4263
4307
  var r, n, a = o.ajaxSettings.flatOptions || {};
4264
4308
  for (r in i)
4265
4309
  i[r] !== void 0 && ((a[r] ? t : n || (n = {}))[r] = i[r]);
4266
4310
  return n && o.extend(!0, t, n), t;
4267
4311
  }
4268
- function $o(t, i, r) {
4312
+ function Yo(t, i, r) {
4269
4313
  for (var n, a, l, u, y = t.contents, m = t.dataTypes; m[0] === "*"; )
4270
4314
  m.shift(), n === void 0 && (n = t.mimeType || i.getResponseHeader("Content-Type"));
4271
4315
  if (n) {
@@ -4290,7 +4334,7 @@ function mo() {
4290
4334
  if (l)
4291
4335
  return l !== m[0] && m.unshift(l), r[l];
4292
4336
  }
4293
- function Xo(t, i, r, n) {
4337
+ function Uo(t, i, r, n) {
4294
4338
  var a, l, u, y, m, w = {}, P = t.dataTypes.slice();
4295
4339
  if (P[1])
4296
4340
  for (u in t.converters)
@@ -4332,7 +4376,7 @@ function mo() {
4332
4376
  ajaxSettings: {
4333
4377
  url: si.href,
4334
4378
  type: "GET",
4335
- isLocal: Fo.test(si.protocol),
4379
+ isLocal: Vo.test(si.protocol),
4336
4380
  global: !0,
4337
4381
  processData: !0,
4338
4382
  async: !0,
@@ -4349,7 +4393,7 @@ function mo() {
4349
4393
  headers: {},
4350
4394
  */
4351
4395
  accepts: {
4352
- "*": hn,
4396
+ "*": gn,
4353
4397
  text: "text/plain",
4354
4398
  html: "text/html",
4355
4399
  xml: "application/xml, text/xml",
@@ -4392,25 +4436,25 @@ function mo() {
4392
4436
  ajaxSetup: function(t, i) {
4393
4437
  return i ? (
4394
4438
  // Building a settings object
4395
- lr(lr(t, o.ajaxSettings), i)
4439
+ cr(cr(t, o.ajaxSettings), i)
4396
4440
  ) : (
4397
4441
  // Extending ajaxSettings
4398
- lr(o.ajaxSettings, t)
4442
+ cr(o.ajaxSettings, t)
4399
4443
  );
4400
4444
  },
4401
- ajaxPrefilter: pn(dn),
4402
- ajaxTransport: pn(sr),
4445
+ ajaxPrefilter: mn(pn),
4446
+ ajaxTransport: mn(ar),
4403
4447
  // Main method
4404
4448
  ajax: function(t, i) {
4405
4449
  typeof t == "object" && (i = t, t = void 0), i = i || {};
4406
- 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 = {
4407
4451
  readyState: 0,
4408
4452
  // Builds headers hashtable if needed
4409
4453
  getResponseHeader: function(he) {
4410
4454
  var Se;
4411
4455
  if (m) {
4412
4456
  if (!l)
4413
- for (l = {}; Se = Wo.exec(a); )
4457
+ for (l = {}; Se = _o.exec(a); )
4414
4458
  l[Se[1].toLowerCase() + " "] = (l[Se[1].toLowerCase() + " "] || []).concat(Se[2]);
4415
4459
  Se = l[he.toLowerCase() + " "];
4416
4460
  }
@@ -4426,7 +4470,7 @@ function mo() {
4426
4470
  },
4427
4471
  // Overrides response content-type header
4428
4472
  overrideMimeType: function(he) {
4429
- return m == null && (k.mimeType = he), this;
4473
+ return m == null && (A.mimeType = he), this;
4430
4474
  },
4431
4475
  // Status-dependent callbacks
4432
4476
  statusCode: function(he) {
@@ -4445,32 +4489,32 @@ function mo() {
4445
4489
  return r && r.abort(Se), qt(0, Se), this;
4446
4490
  }
4447
4491
  };
4448
- 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) {
4449
4493
  y = U.createElement("a");
4450
4494
  try {
4451
- 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;
4452
4496
  } catch {
4453
- k.crossDomain = !0;
4497
+ A.crossDomain = !0;
4454
4498
  }
4455
4499
  }
4456
- 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)
4457
4501
  return ce;
4458
- 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(
4459
4503
  "Accept",
4460
- 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["*"]
4461
4505
  );
4462
- for (P in k.headers)
4463
- ce.setRequestHeader(P, k.headers[P]);
4464
- 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))
4465
4509
  return ce.abort();
4466
- 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)
4467
4511
  qt(-1, "No Transport");
4468
4512
  else {
4469
- if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, k]), m)
4513
+ if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, A]), m)
4470
4514
  return ce;
4471
- k.async && k.timeout > 0 && (u = c.setTimeout(function() {
4515
+ A.async && A.timeout > 0 && (u = c.setTimeout(function() {
4472
4516
  ce.abort("timeout");
4473
- }, k.timeout));
4517
+ }, A.timeout));
4474
4518
  try {
4475
4519
  m = !1, r.send(Pe, qt);
4476
4520
  } catch (he) {
@@ -4479,13 +4523,13 @@ function mo() {
4479
4523
  qt(-1, he);
4480
4524
  }
4481
4525
  }
4482
- function qt(he, Se, li, ur) {
4526
+ function qt(he, Se, li, fr) {
4483
4527
  var ft, ci, dt, Ct, At, it = Se;
4484
- 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() {
4485
- }), 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(
4486
4530
  ft ? "ajaxSuccess" : "ajaxError",
4487
- [ce, k, ft ? ci : dt]
4488
- ), 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")));
4489
4533
  }
4490
4534
  return ce;
4491
4535
  },
@@ -4567,7 +4611,7 @@ function mo() {
4567
4611
  } catch {
4568
4612
  }
4569
4613
  };
4570
- var Yo = {
4614
+ var Go = {
4571
4615
  // File protocol always yields status code 0, assume 200
4572
4616
  0: 200,
4573
4617
  // Support: IE <=9 only
@@ -4599,7 +4643,7 @@ function mo() {
4599
4643
  u.status,
4600
4644
  u.statusText
4601
4645
  ) : a(
4602
- Yo[u.status] || u.status,
4646
+ Go[u.status] || u.status,
4603
4647
  u.statusText,
4604
4648
  // Support: IE <=9 only
4605
4649
  // IE9 has no XHR2 but throws on binary (trac-11426)
@@ -4655,22 +4699,22 @@ function mo() {
4655
4699
  };
4656
4700
  }
4657
4701
  });
4658
- var mn = [], cr = /(=)\?(?=&|$)|\?\?/;
4702
+ var yn = [], ur = /(=)\?(?=&|$)|\?\?/;
4659
4703
  o.ajaxSetup({
4660
4704
  jsonp: "callback",
4661
4705
  jsonpCallback: function() {
4662
- var t = mn.pop() || o.expando + "_" + ln.guid++;
4706
+ var t = yn.pop() || o.expando + "_" + un.guid++;
4663
4707
  return this[t] = !0, t;
4664
4708
  }
4665
4709
  }), o.ajaxPrefilter("json jsonp", function(t, i, r) {
4666
- 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");
4667
4711
  if (u || t.dataTypes[0] === "jsonp")
4668
- 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() {
4669
4713
  return l || o.error(n + " was not called"), l[0];
4670
4714
  }, t.dataTypes[0] = "json", a = c[n], c[n] = function() {
4671
4715
  l = arguments;
4672
4716
  }, r.always(function() {
4673
- 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;
4674
4718
  }), "script";
4675
4719
  }), V.createHTMLDocument = (function() {
4676
4720
  var t = U.implementation.createHTMLDocument("").body;
@@ -4711,8 +4755,8 @@ function mo() {
4711
4755
  }).length;
4712
4756
  }, o.offset = {
4713
4757
  setOffset: function(t, i, r) {
4714
- var n, a, l, u, y, m, w, P = o.css(t, "position"), O = o(t), k = {};
4715
- 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);
4716
4760
  }
4717
4761
  }, o.fn.extend({
4718
4762
  // offset() relates an element's border box to the document origin
@@ -4777,11 +4821,11 @@ function mo() {
4777
4821
  }, t, n, arguments.length);
4778
4822
  };
4779
4823
  }), o.each(["top", "left"], function(t, i) {
4780
- o.cssHooks[i] = Kr(
4824
+ o.cssHooks[i] = Qr(
4781
4825
  V.pixelPosition,
4782
4826
  function(r, n) {
4783
4827
  if (n)
4784
- 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;
4785
4829
  }
4786
4830
  );
4787
4831
  }), o.each({ Height: "height", Width: "width" }, function(t, i) {
@@ -4845,12 +4889,12 @@ function mo() {
4845
4889
  };
4846
4890
  }
4847
4891
  );
4848
- 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;
4849
4893
  o.proxy = function(t, i) {
4850
4894
  var r, n, a;
4851
4895
  if (typeof i == "string" && (r = t[i], i = t, t = r), !!G(t))
4852
- return n = A.call(arguments, 2), a = function() {
4853
- 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)));
4854
4898
  }, a.guid = t.guid = t.guid || o.guid++, a;
4855
4899
  }, o.holdReady = function(t) {
4856
4900
  t ? o.readyWait++ : o.ready(!0);
@@ -4861,24 +4905,24 @@ function mo() {
4861
4905
  // subtraction forces infinities to NaN
4862
4906
  !isNaN(t - parseFloat(t));
4863
4907
  }, o.trim = function(t) {
4864
- return t == null ? "" : (t + "").replace(Uo, "$1");
4908
+ return t == null ? "" : (t + "").replace(Zo, "$1");
4865
4909
  };
4866
- var Go = c.jQuery, Zo = c.$;
4910
+ var Ko = c.jQuery, Jo = c.$;
4867
4911
  return o.noConflict = function(t) {
4868
- 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;
4869
4913
  }, typeof d > "u" && (c.jQuery = c.$ = o), o;
4870
4914
  });
4871
- })(Ni)), Ni.exports;
4915
+ })(Pi)), Pi.exports;
4872
4916
  }
4873
- var Gs = mo();
4874
- const Qt = /* @__PURE__ */ Ys(Gs);
4875
- var wr = { exports: {} }, Cn;
4876
- function Zs() {
4877
- 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) {
4878
4922
  (function(d) {
4879
- s.exports = d(mo());
4923
+ s.exports = d(yo());
4880
4924
  })(function(d) {
4881
- 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 = [];
4882
4926
  function _e() {
4883
4927
  var j = q.currentScript || (function() {
4884
4928
  var e = q.getElementsByTagName("script");
@@ -5000,14 +5044,14 @@ function Zs() {
5000
5044
  }, ti = function(j, C) {
5001
5045
  var e = this;
5002
5046
  this.version = "3.7.6", this.name = "nicescroll", this.me = C;
5003
- var Z = L("body"), g = this.opt = {
5047
+ var Z = k("body"), g = this.opt = {
5004
5048
  doc: Z,
5005
5049
  win: !1
5006
5050
  };
5007
- if (L.extend(g, wt), g.snapbackspeed = 80, j)
5051
+ if (k.extend(g, wt), g.snapbackspeed = 80, j)
5008
5052
  for (var De in g)
5009
5053
  j[De] !== void 0 && (g[De] = j[De]);
5010
- 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 = {
5011
5055
  x: 0,
5012
5056
  y: 0
5013
5057
  }, this.scrollratio = {
@@ -5025,7 +5069,7 @@ function Zs() {
5025
5069
  this.id = "ascrail" + z++;
5026
5070
  while (q.getElementById(this.id));
5027
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();
5028
- var B = L.extend({}, this.detected);
5072
+ var B = k.extend({}, this.detected);
5029
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) {
5030
5074
  if (e) {
5031
5075
  var H = e.delaylist[f] || !1;
@@ -5217,10 +5261,10 @@ function Zs() {
5217
5261
  var f = { "overflow-y": "hidden" };
5218
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) {
5219
5263
  var v = e.docscroll;
5220
- 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, {
5221
5265
  "-webkit-overflow-scrolling": "touch"
5222
5266
  });
5223
- var S = L(q.createElement("div"));
5267
+ var S = k(q.createElement("div"));
5224
5268
  S.css({
5225
5269
  position: "relative",
5226
5270
  top: 0,
@@ -5234,11 +5278,11 @@ function Zs() {
5234
5278
  "-moz-border-radius": g.cursorborderradius,
5235
5279
  "border-radius": g.cursorborderradius
5236
5280
  }), S.addClass("nicescroll-cursors"), e.cursor = S;
5237
- var H = L(q.createElement("div"));
5281
+ var H = k(q.createElement("div"));
5238
5282
  H.attr("id", e.id), H.addClass("nicescroll-rails nicescroll-rails-vr");
5239
5283
  var W, M, ee = ["left", "right", "top", "bottom"];
5240
- for (var be in ee)
5241
- 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");
5242
5286
  H.append(S), H.width = Math.max(parseFloat(g.cursorwidth), S.outerWidth()), H.css({
5243
5287
  width: H.width + "px",
5244
5288
  zIndex: e.zindex,
@@ -5250,7 +5294,7 @@ function Zs() {
5250
5294
  e.zoom.css("opacity", g.cursoropacitymax);
5251
5295
  }), e.bind(Ae, "mouseleave", function() {
5252
5296
  e.zoom.css("opacity", g.cursoropacitymin);
5253
- }), e.zoom = L(Ae), e.zoom.css({
5297
+ }), e.zoom = k(Ae), e.zoom.css({
5254
5298
  cursor: "pointer",
5255
5299
  zIndex: e.zindex,
5256
5300
  backgroundImage: "url(" + g.scriptpath + "zoomico.png)",
@@ -5263,7 +5307,7 @@ function Zs() {
5263
5307
  var oe;
5264
5308
  if (g.horizrailenabled && (e.css(v, {
5265
5309
  overflowX: "hidden"
5266
- }), S = L(q.createElement("div")), S.css({
5310
+ }), S = k(q.createElement("div")), S.css({
5267
5311
  position: "absolute",
5268
5312
  top: 0,
5269
5313
  height: g.cursorwidth,
@@ -5274,7 +5318,7 @@ function Zs() {
5274
5318
  "-webkit-border-radius": g.cursorborderradius,
5275
5319
  "-moz-border-radius": g.cursorborderradius,
5276
5320
  "border-radius": g.cursorborderradius
5277
- }), 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({
5278
5322
  height: oe.height + "px",
5279
5323
  zIndex: e.zindex,
5280
5324
  background: g.background
@@ -5292,7 +5336,7 @@ function Zs() {
5292
5336
  if (e.ishwscroll) {
5293
5337
  e.win.css("position") == "static" && e.css(e.win, { position: "relative" });
5294
5338
  var Re = e.win[0].nodeName == "HTML" ? e.body : e.win;
5295
- L(Re).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5339
+ k(Re).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
5296
5340
  position: "absolute",
5297
5341
  top: 1,
5298
5342
  right: 0,
@@ -5327,7 +5371,7 @@ function Zs() {
5327
5371
  opacity: g.cursoropacitymax
5328
5372
  }), e.railh && e.railh.css({
5329
5373
  opacity: g.cursoropacitymax
5330
- })) : 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) {
5331
5375
  e.scrollmom = new o(e), e.ontouchstart = function(x) {
5332
5376
  if (e.locked || x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !1;
5333
5377
  if (e.hasmoving = !1, e.scrollmom.timer && (e.triggerScrollEnd(), e.scrollmom.stop()), !e.railslocked) {
@@ -5357,8 +5401,8 @@ function Zs() {
5357
5401
  e.rail.drag.dl = "f";
5358
5402
  else {
5359
5403
  var Ke = {
5360
- w: we.width(),
5361
- h: we.height()
5404
+ w: ye.width(),
5405
+ h: ye.height()
5362
5406
  }, ve = e.getContentSize(), Ce = ve.h - Ke.h, vt = ve.w - Ke.w;
5363
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;
5364
5408
  }
@@ -5373,7 +5417,7 @@ function Zs() {
5373
5417
  if (e.hasmoving) return !1;
5374
5418
  K._onclick.call(this, nt);
5375
5419
  }), e.cancelEvent(x)) : e.stopPropagation(x);
5376
- /SUBMIT|CANCEL|BUTTON/i.test(L(K).attr("type")) && (e.preventclick = {
5420
+ /SUBMIT|CANCEL|BUTTON/i.test(k(K).attr("type")) && (e.preventclick = {
5377
5421
  tg: K,
5378
5422
  click: !1
5379
5423
  });
@@ -5531,11 +5575,11 @@ function Zs() {
5531
5575
  }, 250);
5532
5576
  };
5533
5577
  }
5534
- 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, {
5535
5579
  "touch-action": "none"
5536
5580
  }), e.css(e.cursor, {
5537
5581
  "touch-action": "none"
5538
- }), 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, {
5539
5583
  "-ms-touch-action": "none"
5540
5584
  }), e.css(e.cursor, {
5541
5585
  "-ms-touch-action": "none"
@@ -5588,7 +5632,7 @@ function Zs() {
5588
5632
  }), e.railh && e.bind(e.railh, "mousedown", function(x) {
5589
5633
  x.preventDefault();
5590
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({
5591
- tabindex: ++A
5635
+ tabindex: ++L
5592
5636
  }), e.bind(e.win, "focus", function(x) {
5593
5637
  h = e.getTarget(x).id || e.getTarget(x) || !1, e.hasfocus = !0, e.canshowonmouseevent && e.noticeCursor();
5594
5638
  }), e.bind(e.win, "blur", function(x) {
@@ -5605,7 +5649,7 @@ function Zs() {
5605
5649
  var ue = K.getAttribute("type") || K.type || !1;
5606
5650
  if (!ue || !/submit|button|cancel/i.tp) return !0;
5607
5651
  }
5608
- if (L(K).attr("contenteditable")) return !0;
5652
+ if (k(K).attr("contenteditable")) return !0;
5609
5653
  if (e.hasfocus || e.hasmousefocus && !h || e.ispage && !h && !T) {
5610
5654
  var ke = x.keyCode;
5611
5655
  if (e.railslocked && ke != 27) return e.cancelEvent(x);
@@ -5661,8 +5705,8 @@ function Zs() {
5661
5705
  }), e.bind(_, "blur", function(x) {
5662
5706
  e.wheelprevented = !1;
5663
5707
  }), e.bind(_, "resize", e.onscreenresize), e.bind(_, "orientationchange", e.onscreenresize), e.bind(_, "load", e.lazyResize), B.ischrome && !e.ispage && !e.haswrapper) {
5664
- var Et = e.win.attr("style"), Zi = parseFloat(e.win.css("width")) + 1;
5665
- 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() {
5666
5710
  e.win.attr("style", Et);
5667
5711
  });
5668
5712
  }
@@ -5671,7 +5715,7 @@ function Zs() {
5671
5715
  }, g.enableobserver && (!e.isie11 && U !== !1 && (e.observerbody = new U(function(x) {
5672
5716
  if (x.forEach(function(K) {
5673
5717
  if (K.type == "attributes")
5674
- 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();
5675
5719
  }), e.me.clientWidth != e.page.width || e.me.clientHeight != e.page.height) return e.lazyResize(30);
5676
5720
  }), e.observerbody.observe(q.body, {
5677
5721
  childList: !0,
@@ -5719,7 +5763,7 @@ function Zs() {
5719
5763
  if (e.iframexd)
5720
5764
  return "console" in _ && console.log("NiceScroll error: policy restriced iframe"), !0;
5721
5765
  if (e.forcescreen = !0, e.isiframe && (e.iframe = {
5722
- doc: L(x),
5766
+ doc: k(x),
5723
5767
  html: e.doc.contents().find("html")[0],
5724
5768
  body: e.doc.contents().find("body")[0]
5725
5769
  }, e.getContentSize = function() {
@@ -5727,16 +5771,16 @@ function Zs() {
5727
5771
  w: Math.max(e.iframe.html.scrollWidth, e.iframe.body.scrollWidth),
5728
5772
  h: Math.max(e.iframe.html.scrollHeight, e.iframe.body.scrollHeight)
5729
5773
  };
5730
- }, 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) {
5731
5775
  e.win.scrollTop(0), e.doc.height("");
5732
5776
  var ue = Math.max(x.getElementsByTagName("html")[0].scrollHeight, x.body.scrollHeight);
5733
5777
  e.doc.height(ue);
5734
5778
  }
5735
- 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), {
5736
5780
  "-webkit-transform": "translate3d(0,0,0)"
5737
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) {
5738
5782
  return e.ontouchmove(ke, !0);
5739
- }), g.grabcursorenabled && B.cursorgrabvalue && e.css(L(x.body), {
5783
+ }), g.grabcursorenabled && B.cursorgrabvalue && e.css(k(x.body), {
5740
5784
  cursor: B.cursorgrabvalue
5741
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));
5742
5786
  };
@@ -5798,8 +5842,8 @@ function Zs() {
5798
5842
  return e;
5799
5843
  var ee = e.win.offset();
5800
5844
  if (e.lastposition) {
5801
- var be = e.lastposition;
5802
- 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;
5803
5847
  }
5804
5848
  e.lastposition = ee;
5805
5849
  }
@@ -5850,7 +5894,7 @@ function Zs() {
5850
5894
  n: v,
5851
5895
  f: S,
5852
5896
  q: !0
5853
- }), L(f).on(v, S);
5897
+ }), k(f).on(v, S);
5854
5898
  }, this.mousewheel = function(f, v, S) {
5855
5899
  var H = "jquery" in f ? f[0] : f;
5856
5900
  if ("onwheel" in q.createElement("div"))
@@ -5863,10 +5907,10 @@ function Zs() {
5863
5907
  var He = !1;
5864
5908
  if (B.haseventlistener) {
5865
5909
  try {
5866
- var Gi = Object.defineProperty({}, "passive", { get: function() {
5910
+ var Zi = Object.defineProperty({}, "passive", { get: function() {
5867
5911
  He = !0;
5868
5912
  } });
5869
- _.addEventListener("test", null, Gi);
5913
+ _.addEventListener("test", null, Zi);
5870
5914
  } catch {
5871
5915
  }
5872
5916
  this.stopPropagation = function(f) {
@@ -5894,15 +5938,15 @@ function Zs() {
5894
5938
  a: [],
5895
5939
  l: [],
5896
5940
  f: function(ee) {
5897
- for (var be = M.l, Ae = be.length - 1, oe = !1, Re = Ae; Re >= 0; Re--)
5898
- 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;
5899
5943
  return oe;
5900
5944
  }
5901
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));
5902
5946
  }, this.undelegate = function(f, v, S, H, W) {
5903
5947
  var M = Q[v] || !1;
5904
5948
  if (M && M.l)
5905
- for (var ee = 0, be = M.l.length; ee < be; ee++)
5949
+ for (var ee = 0, we = M.l.length; ee < we; ee++)
5906
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));
5907
5951
  }, this.bind = function(f, v, S, H, W) {
5908
5952
  var M = "jquery" in f ? f[0] : f;
@@ -5949,7 +5993,7 @@ function Zs() {
5949
5993
  S[0].css(S[1], S[2] === void 0 ? "" : S[2]);
5950
5994
  }
5951
5995
  e.saved = !1, e.me.data("__nicescroll", "");
5952
- var H = L.nicescroll;
5996
+ var H = k.nicescroll;
5953
5997
  H.each(function(M) {
5954
5998
  if (this && this.id === e.id) {
5955
5999
  delete H[M];
@@ -5974,14 +6018,14 @@ function Zs() {
5974
6018
  var v = f.target ? f.target : f;
5975
6019
  if (v.nodeName == "OPTION") return !0;
5976
6020
  for (; v && v.nodeType == 1 && v !== this.me[0] && !/^BODY|HTML/.test(v.nodeName); ) {
5977
- 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") || "";
5978
6022
  if (/scroll|auto/.test(H)) return v.clientHeight != v.scrollHeight;
5979
6023
  v = v.parentNode ? v.parentNode : !1;
5980
6024
  }
5981
6025
  return !1;
5982
6026
  }, this.getViewport = function(f) {
5983
6027
  for (var v = f && f.parentNode ? f.parentNode : !1; v && v.nodeType == 1 && !/^BODY|HTML/.test(v.nodeName); ) {
5984
- var S = L(v);
6028
+ var S = k(v);
5985
6029
  if (/fixed|absolute/.test(S.css("position"))) return S;
5986
6030
  var H = S.css("overflowY") || S.css("overflowX") || S.css("overflow") || "";
5987
6031
  if (/scroll|auto/.test(H) && v.clientHeight != v.scrollHeight || S.getNiceScroll().length > 0) return S;
@@ -6046,8 +6090,8 @@ function Zs() {
6046
6090
  })();
6047
6091
  if (ee) {
6048
6092
  if (g.nativeparentscrolling && S && !e.ispage && !e.zoomactive) return !0;
6049
- var be = e.view.h >> 1;
6050
- 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;
6051
6095
  }
6052
6096
  var Ae = v > 0 ? 1 : -1;
6053
6097
  mt !== Ae && (e.scrollmom && e.scrollmom.stop(), e.newscrolly = e.getScrollTop(), mt = Ae), e.lastdeltay -= v;
@@ -6144,9 +6188,9 @@ function Zs() {
6144
6188
  var H = e.getScrollTop(), W = e.getScrollLeft();
6145
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;
6146
6190
  e.newscrolly = v, e.newscrollx = f;
6147
- var M = e.getScrollTop(), ee = e.getScrollLeft(), be = {};
6148
- be.x = f - ee, be.y = v - M;
6149
- 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);
6150
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);
6151
6195
  }, this.cancelScroll = function() {
6152
6196
  if (!e.scrollendtrapped) return !0;
@@ -6172,17 +6216,17 @@ function Zs() {
6172
6216
  var M = !1;
6173
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;
6174
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;
6175
- 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);
6176
6220
  e.bzscroll = {};
6177
6221
  var Ae = M ? 1 : 0.58;
6178
- 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();
6179
6223
  var oe = function() {
6180
6224
  if (e.scrollrunning) {
6181
6225
  var Re = e.bzscroll.y.getPos();
6182
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());
6183
6227
  }
6184
6228
  };
6185
- 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));
6186
6230
  }, this.cancelScroll = function() {
6187
6231
  return e.timer && G(e.timer), e.timer = 0, e.bzscroll = !1, e.scrollrunning = !1, e;
6188
6232
  };
@@ -6213,7 +6257,7 @@ function Zs() {
6213
6257
  e.zoomrestore.style.width = e.win.css("width"), e.zoomrestore.style.height = e.win.css("height"), e.zoomrestore.padding = {
6214
6258
  w: e.win.outerWidth() - e.win.width(),
6215
6259
  h: e.win.outerHeight() - e.win.height()
6216
- }, 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({
6217
6261
  position: B.isios4 ? "absolute" : "fixed",
6218
6262
  top: 0,
6219
6263
  left: 0,
@@ -6229,7 +6273,7 @@ function Zs() {
6229
6273
  }
6230
6274
  }, this.doZoomOut = function(f) {
6231
6275
  if (e.zoomactive)
6232
- 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({
6233
6277
  "z-index": e.zindex
6234
6278
  }), e.zoom.css({
6235
6279
  "z-index": e.zindex
@@ -6240,11 +6284,11 @@ function Zs() {
6240
6284
  if (e.zoomactive) {
6241
6285
  var f = e.getScrollTop();
6242
6286
  e.win.css({
6243
- width: we.width() - e.zoomrestore.padding.w + "px",
6244
- 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"
6245
6289
  }), e.onResize(), e.setScrollTop(Math.min(e.page.maxh, f));
6246
6290
  }
6247
- }, this.init(), L.nicescroll.push(this);
6291
+ }, this.init(), k.nicescroll.push(this);
6248
6292
  }, o = function(j) {
6249
6293
  var C = this;
6250
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) {
@@ -6285,62 +6329,62 @@ function Zs() {
6285
6329
  }, at = d.fn.scrollTop;
6286
6330
  d.cssHooks.pageYOffset = {
6287
6331
  get: function(j, C, e) {
6288
- var Z = L.data(j, "__nicescroll") || !1;
6332
+ var Z = k.data(j, "__nicescroll") || !1;
6289
6333
  return Z && Z.ishwscroll ? Z.getScrollTop() : at.call(j);
6290
6334
  },
6291
6335
  set: function(j, C) {
6292
- var e = L.data(j, "__nicescroll") || !1;
6336
+ var e = k.data(j, "__nicescroll") || !1;
6293
6337
  return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) : at.call(j, C), this;
6294
6338
  }
6295
6339
  }, d.fn.scrollTop = function(j) {
6296
6340
  if (j === void 0) {
6297
- var C = this[0] && L.data(this[0], "__nicescroll") || !1;
6341
+ var C = this[0] && k.data(this[0], "__nicescroll") || !1;
6298
6342
  return C && C.ishwscroll ? C.getScrollTop() : at.call(this);
6299
6343
  } else
6300
6344
  return this.each(function() {
6301
- var e = L.data(this, "__nicescroll") || !1;
6302
- 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);
6303
6347
  });
6304
6348
  };
6305
6349
  var me = d.fn.scrollLeft;
6306
- L.cssHooks.pageXOffset = {
6350
+ k.cssHooks.pageXOffset = {
6307
6351
  get: function(j, C, e) {
6308
- var Z = L.data(j, "__nicescroll") || !1;
6352
+ var Z = k.data(j, "__nicescroll") || !1;
6309
6353
  return Z && Z.ishwscroll ? Z.getScrollLeft() : me.call(j);
6310
6354
  },
6311
6355
  set: function(j, C) {
6312
- var e = L.data(j, "__nicescroll") || !1;
6356
+ var e = k.data(j, "__nicescroll") || !1;
6313
6357
  return e && e.ishwscroll ? e.setScrollLeft(parseInt(C)) : me.call(j, C), this;
6314
6358
  }
6315
6359
  }, d.fn.scrollLeft = function(j) {
6316
6360
  if (j === void 0) {
6317
- var C = this[0] && L.data(this[0], "__nicescroll") || !1;
6361
+ var C = this[0] && k.data(this[0], "__nicescroll") || !1;
6318
6362
  return C && C.ishwscroll ? C.getScrollLeft() : me.call(this);
6319
6363
  } else
6320
6364
  return this.each(function() {
6321
- var e = L.data(this, "__nicescroll") || !1;
6322
- 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);
6323
6367
  });
6324
6368
  };
6325
6369
  var Wt = function(j) {
6326
6370
  var C = this;
6327
6371
  if (this.length = 0, this.name = "nicescrollarray", this.each = function(g) {
6328
- return L.each(C, g), C;
6372
+ return k.each(C, g), C;
6329
6373
  }, this.push = function(g) {
6330
6374
  C[C.length] = g, C.length++;
6331
6375
  }, this.eq = function(g) {
6332
6376
  return C[g];
6333
6377
  }, j)
6334
6378
  for (var e = 0; e < j.length; e++) {
6335
- var Z = L.data(j[e], "__nicescroll") || !1;
6379
+ var Z = k.data(j[e], "__nicescroll") || !1;
6336
6380
  Z && (this[this.length] = Z, this.length++);
6337
6381
  }
6338
6382
  return this;
6339
6383
  };
6340
- function Yi(j, C, e) {
6384
+ function Ui(j, C, e) {
6341
6385
  for (var Z = 0, g = C.length; Z < g; Z++) e(j, C[Z]);
6342
6386
  }
6343
- Yi(
6387
+ Ui(
6344
6388
  Wt.prototype,
6345
6389
  ["show", "hide", "toggle", "onResize", "resize", "remove", "stop", "doScrollPos"],
6346
6390
  function(j, C) {
@@ -6352,19 +6396,19 @@ function Zs() {
6352
6396
  };
6353
6397
  }
6354
6398
  ), d.fn.getNiceScroll = function(j) {
6355
- 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;
6356
6400
  };
6357
- var Ui = d.expr.pseudos || d.expr[":"];
6358
- Ui.nicescroll = function(j) {
6359
- return L.data(j, "__nicescroll") !== void 0;
6360
- }, 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) {
6361
6405
  C === void 0 && typeof j == "object" && !("jquery" in j) && (C = j, j = !1);
6362
6406
  var e = new Wt();
6363
6407
  return this.each(function() {
6364
- var Z = L(this), g = L.extend({}, C);
6408
+ var Z = k(this), g = k.extend({}, C);
6365
6409
  if (j) {
6366
- var De = L(j);
6367
- 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;
6368
6412
  }
6369
6413
  var ge = !("doc" in g);
6370
6414
  !ge && !("win" in g) && (g.win = Z);
@@ -6375,28 +6419,28 @@ function Zs() {
6375
6419
  getjQuery: function() {
6376
6420
  return d;
6377
6421
  }
6378
- }, L.nicescroll || (L.nicescroll = new Wt(), L.nicescroll.options = wt);
6422
+ }, k.nicescroll || (k.nicescroll = new Wt(), k.nicescroll.options = wt);
6379
6423
  });
6380
- })(wr)), wr.exports;
6424
+ })(xr)), xr.exports;
6381
6425
  }
6382
- Zs();
6383
- const Xr = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
6384
- 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) {
6385
6429
  if (s.classList.contains("cover"))
6386
6430
  return;
6387
- const d = jr(s);
6431
+ const d = Fr(s);
6388
6432
  if ("IntersectionObserver" in window) {
6389
- let h = [], T = 0, A = 0;
6390
- Qt(s).find(Xr).each((z, D) => {
6391
- const L = D.firstElementChild, q = D.lastElementChild;
6392
- 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)
6393
6437
  return;
6394
6438
  let _ = 1;
6395
- const we = document.querySelector(
6439
+ const ye = document.querySelector(
6396
6440
  "style#scale-style-sheet"
6397
6441
  );
6398
- if (we) {
6399
- const Ee = we.innerHTML.match(
6442
+ if (ye) {
6443
+ const Ee = ye.innerHTML.match(
6400
6444
  /transform:[a-z0-9, ()]* scale\((\d+(\.\d+)?)\)/
6401
6445
  );
6402
6446
  Ee && (_ = parseFloat(Ee[1]));
@@ -6411,13 +6455,13 @@ function Ta(s, c) {
6411
6455
  ));
6412
6456
  }
6413
6457
  }
6414
- 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(
6415
6459
  (Ee, U) => {
6416
6460
  Ee.forEach((pe) => {
6417
- if (A++, U.unobserve(pe.target), !pe.target.parentElement)
6461
+ if (L++, U.unobserve(pe.target), !pe.target.parentElement)
6418
6462
  return;
6419
6463
  const wt = !!pe.target.closest(
6420
- Ri
6464
+ ji
6421
6465
  );
6422
6466
  let Ve = pe.intersectionRatio < 0.999;
6423
6467
  if (Ve && wt) {
@@ -6455,7 +6499,7 @@ function Ta(s, c) {
6455
6499
  "scrolling-bubble"
6456
6500
  );
6457
6501
  }
6458
- A === T && (Qt(h).niceScroll({
6502
+ L === T && (Qt(h).niceScroll({
6459
6503
  autohidemode: !1,
6460
6504
  railoffset: {
6461
6505
  top: -Q,
@@ -6466,7 +6510,7 @@ function Ta(s, c) {
6466
6510
  cursoropacitymax: 0.1,
6467
6511
  cursorborderradius: V
6468
6512
  // Make the corner more rounded than the 5px default.
6469
- }), Js(
6513
+ }), ea(
6470
6514
  s,
6471
6515
  c
6472
6516
  ), h = []);
@@ -6474,11 +6518,11 @@ function Ta(s, c) {
6474
6518
  },
6475
6519
  { root: D }
6476
6520
  );
6477
- T++, G.observe(L), L !== q && (T++, G.observe(q));
6521
+ T++, G.observe(k), k !== q && (T++, G.observe(q));
6478
6522
  });
6479
6523
  }
6480
6524
  }
6481
- function Ks(s) {
6525
+ function Qs(s) {
6482
6526
  for (var c = s && s.parentNode ? s.parentNode : null; c && c.nodeType === Node.ELEMENT_NODE && !/^BODY|HTML/.test(c.nodeName); ) {
6483
6527
  const d = window.getComputedStyle(c), h = d.getPropertyValue("position");
6484
6528
  if (/fixed|absolute/.test(h)) return c;
@@ -6488,28 +6532,34 @@ function Ks(s) {
6488
6532
  }
6489
6533
  return null;
6490
6534
  }
6491
- function vo(s, c) {
6535
+ function bo(s, c) {
6492
6536
  let d = 0, h = 0, T = "12px";
6493
6537
  if (s !== 1) {
6494
- const A = c.parentElement;
6495
- if (!A || !A.classList.contains("bloom-translationGroup"))
6538
+ const L = c.parentElement;
6539
+ if (!L || !L.classList.contains("bloom-translationGroup"))
6496
6540
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6497
- if (Ks(c)) {
6498
- const D = window.getComputedStyle(A), L = D.getPropertyValue("padding-top") || "0", q = D.getPropertyValue("padding-left") || "0";
6499
- 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);
6500
6544
  } else {
6501
- const D = A.parentElement;
6545
+ const D = L.parentElement;
6502
6546
  if (!D)
6503
6547
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6504
6548
  T = `${12 * s}px`;
6505
- const L = D?.offsetTop, q = D.offsetLeft + D.offsetWidth;
6506
- 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));
6507
6551
  }
6508
6552
  }
6509
6553
  return { topAdjust: d, leftAdjust: h, thumbWidth: T };
6510
6554
  }
6511
- function Js(s, c) {
6512
- if (s.removeEventListener("pointerdown", An), s.addEventListener("pointerdown", An), !!c)
6555
+ function ea(s, c) {
6556
+ if (s.removeEventListener(
6557
+ "pointerdown",
6558
+ Ln
6559
+ ), s.addEventListener(
6560
+ "pointerdown",
6561
+ Ln
6562
+ ), !!c)
6513
6563
  for (const d of ["pointermove", "pointerup"])
6514
6564
  s.ownerDocument.body.addEventListener(
6515
6565
  d,
@@ -6519,22 +6569,22 @@ function Js(s, c) {
6519
6569
  }
6520
6570
  );
6521
6571
  }
6522
- function Sa(s, c) {
6523
- s.querySelectorAll(Xr).forEach(
6572
+ function Ca(s, c) {
6573
+ s.querySelectorAll(Ur).forEach(
6524
6574
  (d) => {
6525
6575
  const h = Qt(d).getNiceScroll();
6526
6576
  if (h && h.length > 0) {
6527
- let { topAdjust: T, leftAdjust: A, thumbWidth: z } = vo(c, d);
6528
- 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();
6529
6579
  }
6530
6580
  }
6531
6581
  );
6532
6582
  }
6533
- function An(s) {
6583
+ function Ln(s) {
6534
6584
  s.target instanceof HTMLDivElement && s.target.classList.contains("nicescroll-cursors") && (s.target.setPointerCapture(s.pointerId), s.pointerType === "mouse" && s.stopPropagation());
6535
6585
  }
6536
- function Ea() {
6537
- Qt("div.bloom-page")[0]?.querySelectorAll(Xr).forEach((s) => {
6586
+ function Aa() {
6587
+ Qt("div.bloom-page")[0]?.querySelectorAll(Ur).forEach((s) => {
6538
6588
  const c = Qt(
6539
6589
  s
6540
6590
  ).getNiceScroll();
@@ -6551,7 +6601,7 @@ function Ea() {
6551
6601
  ), d.classList.add("bloom-vertical-align-bottom")), s.style.overflow = "", s.style.outline = "", s.style.width = "");
6552
6602
  });
6553
6603
  }
6554
- class Qs {
6604
+ class ta {
6555
6605
  static getActualUrlFromCSSPropertyValue(c) {
6556
6606
  const d = c.match(/.*url\((['"])(.*?)\1\).*/i);
6557
6607
  return d ? d[2] : "";
@@ -6632,16 +6682,16 @@ const gt = class gt {
6632
6682
  this.animatableCanvas.classList[D]
6633
6683
  );
6634
6684
  h.classList.add("bloom-animationBackground");
6635
- const A = this.animatableCanvas.cloneNode(
6685
+ const L = this.animatableCanvas.cloneNode(
6636
6686
  !0
6637
6687
  ), z = () => {
6638
6688
  const D = this.animatableCanvas.style.backgroundImage;
6639
- D ? A.style.backgroundImage = D : requestAnimationFrame(z);
6689
+ D ? L.style.backgroundImage = D : requestAnimationFrame(z);
6640
6690
  };
6641
- 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(
6642
6692
  c,
6643
6693
  T,
6644
- A,
6694
+ L,
6645
6695
  d
6646
6696
  );
6647
6697
  } else
@@ -6655,10 +6705,10 @@ const gt = class gt {
6655
6705
  createAndPlayAnimation(c, d) {
6656
6706
  const h = gt.getAnimationCanvas(c);
6657
6707
  if (this.animationEngine && this.animationEngine.endAnimation(), h) {
6658
- const T = h.getAttribute("data-initialrect"), A = h.getAttribute("data-finalrect");
6659
- this.animationEngine = new ea(
6708
+ const T = h.getAttribute("data-initialrect"), L = h.getAttribute("data-finalrect");
6709
+ this.animationEngine = new ia(
6660
6710
  T,
6661
- A,
6711
+ L,
6662
6712
  this.animationDuration,
6663
6713
  h
6664
6714
  ), d ? this.animationEngine.setCurrentAnimationFrame() : this.animationEngine.startAnimation();
@@ -6668,13 +6718,13 @@ const gt = class gt {
6668
6718
  if (c.hasAttribute("data-aspectRatio"))
6669
6719
  this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6670
6720
  else if (h.hasAttribute("data-imgsizebasedon")) {
6671
- const A = h.getAttribute("data-imgsizebasedon").split(",").map(parseFloat);
6721
+ const L = h.getAttribute("data-imgsizebasedon").split(",").map(parseFloat);
6672
6722
  d.setAttribute(
6673
6723
  "data-aspectRatio",
6674
- (A[0] / A[1]).toString()
6724
+ (L[0] / L[1]).toString()
6675
6725
  ), this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6676
6726
  } else {
6677
- const A = () => {
6727
+ const L = () => {
6678
6728
  if (h.style.backgroundImage) {
6679
6729
  const z = new Image();
6680
6730
  z.addEventListener("load", () => {
@@ -6682,13 +6732,13 @@ const gt = class gt {
6682
6732
  "data-aspectRatio",
6683
6733
  (z.naturalWidth / z.naturalHeight).toString()
6684
6734
  ), this.placeAnimationWrapper(d), this.createAndPlayAnimation(c, T);
6685
- }), z.src = Qs.getActualUrlFromCSSPropertyValue(
6735
+ }), z.src = ta.getActualUrlFromCSSPropertyValue(
6686
6736
  h.style.backgroundImage
6687
6737
  );
6688
6738
  } else
6689
- requestAnimationFrame(A);
6739
+ requestAnimationFrame(L);
6690
6740
  };
6691
- requestAnimationFrame(A);
6741
+ requestAnimationFrame(L);
6692
6742
  }
6693
6743
  }
6694
6744
  // Enhance: some of the calculations here may require adjustment if we ever do
@@ -6698,13 +6748,13 @@ const gt = class gt {
6698
6748
  placeAnimationWrapper(c) {
6699
6749
  const d = parseFloat(
6700
6750
  c.getAttribute("data-aspectRatio")
6701
- ), 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;
6702
6752
  if (d < z) {
6703
- const D = A * d;
6753
+ const D = L * d;
6704
6754
  c.style.height = "100%", c.style.width = `${D}px`, c.style.left = `${(T - D) / 2}px`;
6705
6755
  } else {
6706
6756
  const D = T / d;
6707
- 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`;
6708
6758
  }
6709
6759
  c.style.overflow = "hidden", c.style.visibility = "visible", this.placeCanvasByScale(
6710
6760
  c,
@@ -6766,8 +6816,8 @@ const gt = class gt {
6766
6816
  }
6767
6817
  };
6768
6818
  gt.wrapperClassName = "bloom-ui-animationWrapper";
6769
- let kn = gt;
6770
- class ea {
6819
+ let Nn = gt;
6820
+ class ia {
6771
6821
  //initial and final rect strings come in as space-separated "left top width height"
6772
6822
  // all four of these parameters are reperesented as fractions of the canvas
6773
6823
  //duration is the length of the animation in seconds
@@ -6776,8 +6826,8 @@ class ea {
6776
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
6777
6827
  constructor(c, d, h, T) {
6778
6828
  this.duration = h * 1e3, this.totalElapsedTime = 0, this.lastFrameTime = Date.now(), this.paused = !0, this.canvasToAnimate = T;
6779
- const A = c.split(" ").map(parseFloat), z = d.split(" ").map(parseFloat);
6780
- 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])));
6781
6831
  }
6782
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
6783
6833
  //this is noticeable at low speeds.
@@ -6785,11 +6835,11 @@ class ea {
6785
6835
  getScaleAndPosition() {
6786
6836
  let c = this.totalElapsedTime / this.duration;
6787
6837
  c = Math.min(1, Math.max(0, c));
6788
- 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;
6789
6839
  return {
6790
6840
  scale: h,
6791
6841
  left: T,
6792
- top: A
6842
+ top: L
6793
6843
  };
6794
6844
  }
6795
6845
  //make the animation smoother by applying a non-linear transformation.
@@ -6822,78 +6872,79 @@ class ea {
6822
6872
  }
6823
6873
  }
6824
6874
  export {
6825
- kn as Animation,
6826
- jr as IsRunningOnBloomDesktop,
6875
+ Nn as Animation,
6876
+ Fr as IsRunningOnBloomDesktop,
6827
6877
  mi as LiteEvent,
6828
- zi as PageNarrationComplete,
6829
- Sr as PlayCompleted,
6830
- wn as PlayFailed,
6831
- sa as PlayUnblocked,
6832
- ns as PlaybackMode,
6833
- Ii as ToggleImageDescription,
6834
- ea as TransformBasedAnimator,
6835
- la as abortNarrationPlayback,
6836
- Ta as addScrollbarsToPage,
6837
- 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,
6838
6889
  jt as classSetter,
6839
- qs as cleanupActivitySounds,
6840
- Ea as cleanupNiceScroll,
6841
- da as computeDuration,
6842
- $s as copyContentToTarget,
6890
+ js as cleanupActivitySounds,
6891
+ Aa as cleanupNiceScroll,
6892
+ pa as computeDuration,
6893
+ Ys as copyContentToTarget,
6843
6894
  ei as currentPlaybackMode,
6844
- go as doShowAnswersInTargets,
6845
- wa as draggingSlider,
6846
- xr as durationReporter,
6847
- Sa as fixNiceScrollOffsets,
6848
- Os as getAudioSentencesOfVisibleEditables,
6849
- us as getCurrentNarrationPage,
6850
- $r as getTarget,
6851
- Pn as getUrlPrefixFromWindowHref,
6852
- qi as hideVideoAutoplayBlockedHint,
6853
- Ms as hideVideoError,
6854
- ha as hidingPage,
6855
- Ps as isDefiniteVideoPlaybackSupportFailure,
6856
- Ln as isSwipeInProgress,
6857
- ya as isTheTextInDraggablesTheSame,
6858
- Ls as isTransientVideoPlayFailure,
6859
- Di as kAudioSentence,
6860
- ls as kHighlightSegmentClass,
6861
- Ri as kLegacyCanvasElementSelector,
6862
- Xr as kSelectorForPotentialNiceScrollElements,
6863
- ta as listenForPlayDuration,
6864
- Nn as logNarration,
6865
- ca as pageHasAudio,
6866
- fa as pauseNarration,
6867
- so as performCheck,
6868
- 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,
6869
6920
  gi as playAllAudio,
6870
- fs as playAllSentences,
6871
- qr as playAllVideo,
6872
- js as playCorrectOrWrongSound,
6873
- ma as playInitialElements,
6874
- ua as playNarration,
6875
- Zn as playSoundOf,
6876
- Rs as preloadSoundsForActivity,
6877
- pa as prepareActivity,
6878
- 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,
6879
6930
  Kt as setCurrentPlaybackMode,
6880
- ba as setDefaultSoundUrls,
6881
- oa as setDurationOfPagesWithoutNarration,
6882
- aa as setIncludeImageDescriptions,
6883
- ra as setLogNarration,
6884
- os as setPlayerUrlPrefix,
6885
- na as setPlayerUrlPrefixFromWindowLocationHref,
6886
- va as setReportScore,
6887
- ia as setTestIsSwipeInProgress,
6888
- Js as setupSpecialMouseTrackingForNiceScroll,
6889
- xa as setupWordChooserSlider,
6890
- Yn as showVideoAutoplayBlockedHint,
6891
- xn as showVideoError,
6892
- Ns as showVideoFirstFrameWhenReady,
6893
- Bs as shuffle,
6894
- ss as sortAudioElements,
6895
- Br as stopPlayAllVideoPlayback,
6896
- ga as undoPrepareActivity,
6897
- 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
6898
6949
  };
6899
6950
  //# sourceMappingURL=shared.es.js.map