labmaker-plugin 0.0.272 → 0.0.273

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.
@@ -354,11 +354,11 @@ function Co(A, c, e, a, r, s) {
354
354
  alt: e.content.imageAlt
355
355
  }, null, 8, uo),
356
356
  U("div", mo, [
357
- (B(!0), V(D, null, f2(s.hotspots(), (n, l) => (B(), V(D, null, [
357
+ (B(!0), V(D, null, f2(s.hotspots(), (n, o) => (B(), V(D, null, [
358
358
  X(t, {
359
359
  type: n.buttonType,
360
- onClick: p2((o) => s.changePage(n, l), ["stop"]),
361
- id: "hotspot_" + l,
360
+ onClick: p2((l) => s.changePage(n, o), ["stop"]),
361
+ id: "hotspot_" + o,
362
362
  class: O([["is-" + n.buttonShape, { noBG: n.buttonImage }, n.class], "hotspot"]),
363
363
  style: D2({ top: s.pixelFormat(n.cordinatesX), left: s.pixelFormat(n.cordinatesY), width: s.pixelFormat(n.dimensionsW), height: s.pixelFormat(n.dimensionsH) }),
364
364
  icon: n.buttonIcon
@@ -368,13 +368,13 @@ function Co(A, c, e, a, r, s) {
368
368
  key: 0,
369
369
  class: "im-ButtonImage",
370
370
  src: n.buttonImage,
371
- alt: "image marker " + Number(l + 1)
371
+ alt: "image marker " + Number(o + 1)
372
372
  }, null, 8, Ho)) : S("", !0),
373
373
  U("span", vo, Z(n.name), 1)
374
374
  ]),
375
375
  _: 2
376
376
  }, 1032, ["type", "onClick", "id", "class", "style", "icon"]),
377
- s.showFeedback(l) ? (B(), K(i, {
377
+ s.showFeedback(o) ? (B(), K(i, {
378
378
  key: 0,
379
379
  content: n
380
380
  }, null, 8, ["content"])) : S("", !0)
@@ -434,12 +434,12 @@ function Mo(A, c, e, a, r, s) {
434
434
  alt: r.imageAlt
435
435
  }, null, 8, zo),
436
436
  U("div", Vo, [
437
- (B(!0), V(D, null, f2(e.content.hotspots, (l, o) => (B(), K(i, {
438
- type: l.buttonType,
439
- onClick: p2((f) => s.changeImage(o), ["stop"]),
437
+ (B(!0), V(D, null, f2(e.content.hotspots, (o, l) => (B(), K(i, {
438
+ type: o.buttonType,
439
+ onClick: p2((f) => s.changeImage(l), ["stop"]),
440
440
  class: "hotspot",
441
- style: D2({ top: s.pixelFormat(l.cordinatesX), left: s.pixelFormat(l.cordinatesY), width: s.pixelFormat(l.dimensionsW), height: s.pixelFormat(l.dimensionsH) }),
442
- icon: l.buttonIcon
441
+ style: D2({ top: s.pixelFormat(o.cordinatesX), left: s.pixelFormat(o.cordinatesY), width: s.pixelFormat(o.dimensionsW), height: s.pixelFormat(o.dimensionsH) }),
442
+ icon: o.buttonIcon
443
443
  }, null, 8, ["type", "onClick", "style", "icon"]))), 256))
444
444
  ])
445
445
  ]),
@@ -481,14 +481,14 @@ const Lo = {
481
481
  }
482
482
  }, Qo = { class: "my-header" }, Fo = ["id", "innerHTML"], Uo = ["innerHTML"], bo = { key: 1 }, xo = { key: 0 }, yo = ["src"], So = ["innerHTML"], No = { class: "dialog-footer" };
483
483
  function Eo(A, c, e, a, r, s) {
484
- const t = y("lab-kaltura"), i = y("lab-image"), n = y("el-button"), l = y("el-dialog");
485
- return B(), K(l, {
484
+ const t = y("lab-kaltura"), i = y("lab-image"), n = y("el-button"), o = y("el-dialog");
485
+ return B(), K(o, {
486
486
  width: s.feedbackWidth,
487
487
  modelValue: r.show,
488
- "onUpdate:modelValue": c[1] || (c[1] = (o) => r.show = o),
488
+ "onUpdate:modelValue": c[1] || (c[1] = (l) => r.show = l),
489
489
  "before-close": s.feedbackClose
490
490
  }, {
491
- header: k(({ close: o, titleId: f, titleClass: h }) => [
491
+ header: k(({ close: l, titleId: f, titleClass: h }) => [
492
492
  U("div", Qo, [
493
493
  U("h4", {
494
494
  id: f,
@@ -503,7 +503,7 @@ function Eo(A, c, e, a, r, s) {
503
503
  size: "small",
504
504
  id: "feedbackClose",
505
505
  type: "primary",
506
- onClick: c[0] || (c[0] = p2((o) => s.feedbackClose(), ["stop"]))
506
+ onClick: c[0] || (c[0] = p2((l) => s.feedbackClose(), ["stop"]))
507
507
  }, {
508
508
  default: k(() => [
509
509
  o2("Close")
@@ -637,7 +637,7 @@ const Io = {
637
637
  }
638
638
  };
639
639
  function To(A, c, e, a, r, s) {
640
- const t = y("el-option"), i = y("el-select"), n = y("el-date-picker"), l = y("el-button"), o = y("lab-feedback");
640
+ const t = y("el-option"), i = y("el-select"), n = y("el-date-picker"), o = y("el-button"), l = y("lab-feedback");
641
641
  return B(), V("div", {
642
642
  class: O(["drop-down", e.content.class])
643
643
  }, [
@@ -680,7 +680,7 @@ function To(A, c, e, a, r, s) {
680
680
  o2("  ")
681
681
  ], 64))), 256))
682
682
  ]),
683
- X(l, {
683
+ X(o, {
684
684
  size: "small",
685
685
  type: "primary",
686
686
  class: "drop-down-submit",
@@ -691,7 +691,7 @@ function To(A, c, e, a, r, s) {
691
691
  ]),
692
692
  _: 1
693
693
  }),
694
- s.showFeedback() ? (B(), K(o, {
694
+ s.showFeedback() ? (B(), K(l, {
695
695
  key: 0,
696
696
  content: r.feedbackObject
697
697
  }, null, 8, ["content"])) : S("", !0)
@@ -766,12 +766,12 @@ function Ro(A, c, e, a, r, s) {
766
766
  class: O(["fill-blank", e.content.class])
767
767
  }, [
768
768
  U("p", null, [
769
- (B(!0), V(D, null, f2(r.quizArray, (l, o) => (B(), V(D, null, [
770
- o2(Z(l), 1),
771
- o < s.quizArrayCount ? (B(), K(t, {
769
+ (B(!0), V(D, null, f2(r.quizArray, (o, l) => (B(), V(D, null, [
770
+ o2(Z(o), 1),
771
+ l < s.quizArrayCount ? (B(), K(t, {
772
772
  key: 0,
773
- modelValue: r.input[o],
774
- "onUpdate:modelValue": (f) => r.input[o] = f,
773
+ modelValue: r.input[l],
774
+ "onUpdate:modelValue": (f) => r.input[l] = f,
775
775
  placeholder: "Please input",
776
776
  size: "small"
777
777
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : S("", !0)
@@ -781,7 +781,7 @@ function Ro(A, c, e, a, r, s) {
781
781
  size: "small",
782
782
  type: "primary",
783
783
  class: "fill-blank-submit",
784
- onClick: c[0] || (c[0] = (l) => s.choicesCheck())
784
+ onClick: c[0] || (c[0] = (o) => s.choicesCheck())
785
785
  }, {
786
786
  default: k(() => [
787
787
  o2("Submit")
@@ -824,7 +824,6 @@ const Oo = {
824
824
  return this.stepperStore.pixelFormat(A);
825
825
  },
826
826
  choicesComplete(A) {
827
- console.log("complete");
828
827
  let c, e = "not correct", a = document.querySelectorAll(".selectableButton");
829
828
  for (let i = 0; i < a.length; i++)
830
829
  a[i].classList.add("is-failure"), a[i].setAttribute("disabled", !0), this.content.choices[i].correct && (a[i].classList.add("is-success"), c = this.content.choices[i].text);
@@ -866,7 +865,7 @@ const Oo = {
866
865
  }
867
866
  }, Po = ["innerHTML"], Go = { class: "buttonSpan" }, Wo = ["src", "alt"], Xo = { class: "selectable-buttonText" };
868
867
  function qo(A, c, e, a, r, s) {
869
- const t = y("lab-image"), i = y("el-col"), n = y("el-divider"), l = y("el-button"), o = y("lab-feedback"), f = y("el-row");
868
+ const t = y("lab-image"), i = y("el-col"), n = y("el-divider"), o = y("el-button"), l = y("lab-feedback"), f = y("el-row");
870
869
  return B(), K(f, {
871
870
  id: e.content.id,
872
871
  class: O(["selectable", e.content.classes])
@@ -894,7 +893,7 @@ function qo(A, c, e, a, r, s) {
894
893
  default: k(() => [
895
894
  (B(!0), V(D, null, f2(e.content.choices, (h, u) => (B(), V(D, null, [
896
895
  !e.content.noDivider && u > 0 ? (B(), K(n, { key: 0 })) : S("", !0),
897
- X(l, {
896
+ X(o, {
898
897
  size: "small",
899
898
  type: "primary",
900
899
  class: "selectableButton",
@@ -914,7 +913,7 @@ function qo(A, c, e, a, r, s) {
914
913
  ]),
915
914
  _: 2
916
915
  }, 1032, ["style", "onClick"]),
917
- s.showFeedback(u) ? (B(), K(o, {
916
+ s.showFeedback(u) ? (B(), K(l, {
918
917
  key: 1,
919
918
  content: h
920
919
  }, null, 8, ["content"])) : S("", !0)
@@ -926,7 +925,7 @@ function qo(A, c, e, a, r, s) {
926
925
  _: 1
927
926
  }, 8, ["id", "class"]);
928
927
  }
929
- const Yo = /* @__PURE__ */ t2(Oo, [["render", qo], ["__scopeId", "data-v-c7ebfbee"]]);
928
+ const Yo = /* @__PURE__ */ t2(Oo, [["render", qo], ["__scopeId", "data-v-73d69257"]]);
930
929
  const Jo = {
931
930
  components: {},
932
931
  props: ["content"],
@@ -989,7 +988,7 @@ function $o(A, c, e, a, r, s) {
989
988
  U("p", null, Z(e.content.quiz), 1),
990
989
  X(t, {
991
990
  modelValue: r.input,
992
- "onUpdate:modelValue": c[0] || (c[0] = (l) => r.input = l),
991
+ "onUpdate:modelValue": c[0] || (c[0] = (o) => r.input = o),
993
992
  autosize: { minRows: 4, maxRows: 8 },
994
993
  type: "textarea",
995
994
  placeholder: "Please input"
@@ -998,7 +997,7 @@ function $o(A, c, e, a, r, s) {
998
997
  size: "small",
999
998
  type: "primary",
1000
999
  class: "fill-blank-submit",
1001
- onClick: c[1] || (c[1] = (l) => s.choicesCheck())
1000
+ onClick: c[1] || (c[1] = (o) => s.choicesCheck())
1002
1001
  }, {
1003
1002
  default: k(() => [
1004
1003
  o2("Submit")
@@ -1092,22 +1091,22 @@ const Zo = {
1092
1091
  class: "jl-menu-item"
1093
1092
  }, ll = ["index", "onClick"];
1094
1093
  function fl(A, c, e, a, r, s) {
1095
- const t = y("CaretBottom"), i = y("el-icon"), n = y("CaretRight"), l = y("lab-feedback");
1094
+ const t = y("CaretBottom"), i = y("el-icon"), n = y("CaretRight"), o = y("lab-feedback");
1096
1095
  return B(), V("div", {
1097
1096
  class: O(["menu-chooser", e.content.class])
1098
1097
  }, [
1099
1098
  r.showMenuOverlay ? (B(), V("div", {
1100
1099
  key: 0,
1101
1100
  class: "nav-mask",
1102
- onClick: c[0] || (c[0] = (...o) => s.hideSubs && s.hideSubs(...o))
1101
+ onClick: c[0] || (c[0] = (...l) => s.hideSubs && s.hideSubs(...l))
1103
1102
  })) : S("", !0),
1104
1103
  U("p", null, Z(e.content.quiz), 1),
1105
1104
  U("div", {
1106
1105
  class: "jl-menu",
1107
- onSelect: c[1] || (c[1] = (...o) => s.choicesCheck && s.choicesCheck(...o))
1106
+ onSelect: c[1] || (c[1] = (...l) => s.choicesCheck && s.choicesCheck(...l))
1108
1107
  }, [
1109
- (B(!0), V(D, null, f2(e.content.menu, (o, f) => (B(), V(D, null, [
1110
- o.subMenu ? (B(), V("div", Al, [
1108
+ (B(!0), V(D, null, f2(e.content.menu, (l, f) => (B(), V(D, null, [
1109
+ l.subMenu ? (B(), V("div", Al, [
1111
1110
  U("button", {
1112
1111
  class: O("jl-menu-sub sub-" + f),
1113
1112
  index: f,
@@ -1116,7 +1115,7 @@ function fl(A, c, e, a, r, s) {
1116
1115
  onClick: p2((h) => s.showSub("sub-" + f), ["stop"])
1117
1116
  }, [
1118
1117
  U("div", el, [
1119
- o2(Z(o.name) + " ", 1),
1118
+ o2(Z(l.name) + " ", 1),
1120
1119
  X(i, null, {
1121
1120
  default: k(() => [
1122
1121
  X(t)
@@ -1129,7 +1128,7 @@ function fl(A, c, e, a, r, s) {
1129
1128
  class: "jl-menu-sub-menu",
1130
1129
  id: "sub-" + f
1131
1130
  }, [
1132
- (B(!0), V(D, null, f2(o.subMenu, (h, u) => (B(), V(D, null, [
1131
+ (B(!0), V(D, null, f2(l.subMenu, (h, u) => (B(), V(D, null, [
1133
1132
  h.subMenu ? (B(), V(D, { key: 0 }, [
1134
1133
  U("button", {
1135
1134
  class: O("jl-menu-sub-sub sub-sub-" + u),
@@ -1180,11 +1179,11 @@ function fl(A, c, e, a, r, s) {
1180
1179
  tabindex: "0",
1181
1180
  role: "menuitem",
1182
1181
  onClick: p2((h) => s.choicesCheck(f), ["stop"])
1183
- }, Z(o.name), 9, ll)
1182
+ }, Z(l.name), 9, ll)
1184
1183
  ]))
1185
1184
  ], 64))), 256))
1186
1185
  ], 32),
1187
- s.showFeedback() ? (B(), K(l, {
1186
+ s.showFeedback() ? (B(), K(o, {
1188
1187
  key: 1,
1189
1188
  content: r.feedbackObject
1190
1189
  }, null, 8, ["content"])) : S("", !0)
@@ -1437,17 +1436,17 @@ const Hl = {
1437
1436
  },
1438
1437
  bodyMove(A) {
1439
1438
  const { dimensionsBeforeMove: c, parentWidth: e, parentHeight: a, gridX: r, gridY: s, width: t, height: i } = this;
1440
- let n = c.top - A.y, l = c.bottom + A.y, o = c.left - A.x, f = c.right + A.x;
1439
+ let n = c.top - A.y, o = c.bottom + A.y, l = c.left - A.x, f = c.right + A.x;
1441
1440
  if (this.snapToGrid) {
1442
- let h = !0, u = !0, m = n - Math.floor(n / s) * s, C = a - l - Math.floor((a - l) / s) * s, d = o - Math.floor(o / r) * r, H = e - f - Math.floor((e - f) / r) * r;
1443
- m > s / 2 && (m -= s), C > s / 2 && (C -= s), d > r / 2 && (d -= r), H > r / 2 && (H -= r), Math.abs(C) < Math.abs(m) && (h = !1), Math.abs(H) < Math.abs(d) && (u = !1), n -= h ? m : C, l = a - i - n, o -= u ? d : H, f = e - t - o;
1441
+ let h = !0, u = !0, m = n - Math.floor(n / s) * s, C = a - o - Math.floor((a - o) / s) * s, d = l - Math.floor(l / r) * r, H = e - f - Math.floor((e - f) / r) * r;
1442
+ m > s / 2 && (m -= s), C > s / 2 && (C -= s), d > r / 2 && (d -= r), H > r / 2 && (H -= r), Math.abs(C) < Math.abs(m) && (h = !1), Math.abs(H) < Math.abs(d) && (u = !1), n -= h ? m : C, o = a - i - n, l -= u ? d : H, f = e - t - l;
1444
1443
  }
1445
1444
  ({
1446
1445
  newLeft: this.left,
1447
1446
  newRight: this.right,
1448
1447
  newTop: this.top,
1449
1448
  newBottom: this.bottom
1450
- } = this.rectCorrectionByLimit({ newLeft: o, newRight: f, newTop: n, newBottom: l })), this.$emit("dragging", this.rect);
1449
+ } = this.rectCorrectionByLimit({ newLeft: l, newRight: f, newTop: n, newBottom: o })), this.$emit("dragging", this.rect);
1451
1450
  },
1452
1451
  bodyUp() {
1453
1452
  this.bodyDrag = !1, this.$emit("dragging", this.rect), this.$emit("dragstop", this.rect), this.dimensionsBeforeMove = { pointerX: 0, pointerY: 0, x: 0, y: 0, w: 0, h: 0 }, this.limits = {
@@ -1477,10 +1476,10 @@ const Hl = {
1477
1476
  parentHeight: t,
1478
1477
  parentWidth: i
1479
1478
  } = this;
1480
- let n = e.top, l = e.bottom, o = e.left, f = e.right;
1479
+ let n = e.top, o = e.bottom, l = e.left, f = e.right;
1481
1480
  switch (c[0]) {
1482
1481
  case "b":
1483
- l = e.bottom + A.y, s && (l = t - Math.round((t - l) / a) * a);
1482
+ o = e.bottom + A.y, s && (o = t - Math.round((t - o) / a) * a);
1484
1483
  break;
1485
1484
  case "t":
1486
1485
  n = e.top - A.y, s && (n = Math.round(n / a) * a);
@@ -1491,20 +1490,20 @@ const Hl = {
1491
1490
  f = e.right + A.x, s && (f = i - Math.round((i - f) / r) * r);
1492
1491
  break;
1493
1492
  case "l":
1494
- o = e.left - A.x, s && (o = Math.round(o / r) * r);
1493
+ l = e.left - A.x, s && (l = Math.round(l / r) * r);
1495
1494
  break;
1496
1495
  }
1497
1496
  ({
1498
- newLeft: o,
1497
+ newLeft: l,
1499
1498
  newRight: f,
1500
1499
  newTop: n,
1501
- newBottom: l
1502
- } = this.rectCorrectionByLimit({ newLeft: o, newRight: f, newTop: n, newBottom: l })), this.aspectRatio && ({
1503
- newLeft: o,
1500
+ newBottom: o
1501
+ } = this.rectCorrectionByLimit({ newLeft: l, newRight: f, newTop: n, newBottom: o })), this.aspectRatio && ({
1502
+ newLeft: l,
1504
1503
  newRight: f,
1505
1504
  newTop: n,
1506
- newBottom: l
1507
- } = this.rectCorrectionByAspectRatio({ newLeft: o, newRight: f, newTop: n, newBottom: l })), this.left = o, this.right = f, this.top = n, this.bottom = l, this.$emit("resizing", this.rect);
1505
+ newBottom: o
1506
+ } = this.rectCorrectionByAspectRatio({ newLeft: l, newRight: f, newTop: n, newBottom: o })), this.left = l, this.right = f, this.top = n, this.bottom = o, this.$emit("resizing", this.rect);
1508
1507
  },
1509
1508
  stickUp() {
1510
1509
  this.stickDrag = !1, this.dimensionsBeforeMove = {
@@ -1533,13 +1532,13 @@ const Hl = {
1533
1532
  calcResizeLimits() {
1534
1533
  const { aspectFactor: A, width: c, height: e, bottom: a, top: r, left: s, right: t } = this;
1535
1534
  let { minh: i, minw: n } = this;
1536
- const l = this.parentLimitation ? 0 : null;
1535
+ const o = this.parentLimitation ? 0 : null;
1537
1536
  this.aspectRatio && (n / i > A ? i = n / A : n = A * i);
1538
- const o = {
1539
- left: { min: l, max: s + (c - n) },
1540
- right: { min: l, max: t + (c - n) },
1541
- top: { min: l, max: r + (e - i) },
1542
- bottom: { min: l, max: a + (e - i) }
1537
+ const l = {
1538
+ left: { min: o, max: s + (c - n) },
1539
+ right: { min: o, max: t + (c - n) },
1540
+ top: { min: o, max: r + (e - i) },
1541
+ bottom: { min: o, max: a + (e - i) }
1543
1542
  };
1544
1543
  if (this.aspectRatio) {
1545
1544
  const f = {
@@ -1560,21 +1559,21 @@ const Hl = {
1560
1559
  max: a + (c - n) / 2 / A * 2
1561
1560
  }
1562
1561
  };
1563
- this.currentStick[0] === "m" ? (o.left = {
1564
- min: Math.max(o.left.min, f.left.min),
1565
- max: Math.min(o.left.max, f.left.max)
1566
- }, o.right = {
1567
- min: Math.max(o.right.min, f.right.min),
1568
- max: Math.min(o.right.max, f.right.max)
1569
- }) : this.currentStick[1] === "m" && (o.top = {
1570
- min: Math.max(o.top.min, f.top.min),
1571
- max: Math.min(o.top.max, f.top.max)
1572
- }, o.bottom = {
1573
- min: Math.max(o.bottom.min, f.bottom.min),
1574
- max: Math.min(o.bottom.max, f.bottom.max)
1562
+ this.currentStick[0] === "m" ? (l.left = {
1563
+ min: Math.max(l.left.min, f.left.min),
1564
+ max: Math.min(l.left.max, f.left.max)
1565
+ }, l.right = {
1566
+ min: Math.max(l.right.min, f.right.min),
1567
+ max: Math.min(l.right.max, f.right.max)
1568
+ }) : this.currentStick[1] === "m" && (l.top = {
1569
+ min: Math.max(l.top.min, f.top.min),
1570
+ max: Math.min(l.top.max, f.top.max)
1571
+ }, l.bottom = {
1572
+ min: Math.max(l.bottom.min, f.bottom.min),
1573
+ max: Math.min(l.bottom.max, f.bottom.max)
1575
1574
  });
1576
1575
  }
1577
- return o;
1576
+ return l;
1578
1577
  },
1579
1578
  sideCorrectionByLimit(A, c) {
1580
1579
  let e = c;
@@ -1592,16 +1591,16 @@ const Hl = {
1592
1591
  },
1593
1592
  rectCorrectionByAspectRatio(A) {
1594
1593
  let { newLeft: c, newRight: e, newTop: a, newBottom: r } = A;
1595
- const { parentWidth: s, parentHeight: t, currentStick: i, aspectFactor: n, dimensionsBeforeMove: l } = this;
1596
- let o = s - c - e, f = t - a - r;
1594
+ const { parentWidth: s, parentHeight: t, currentStick: i, aspectFactor: n, dimensionsBeforeMove: o } = this;
1595
+ let l = s - c - e, f = t - a - r;
1597
1596
  if (i[1] === "m") {
1598
- const h = f - l.height;
1597
+ const h = f - o.height;
1599
1598
  c -= h * n / 2, e -= h * n / 2;
1600
1599
  } else if (i[0] === "m") {
1601
- const h = o - l.width;
1600
+ const h = l - o.width;
1602
1601
  a -= h / n / 2, r -= h / n / 2;
1603
1602
  } else
1604
- o / f > n ? (o = n * f, i[1] === "l" ? c = s - e - o : e = s - c - o) : (f = o / n, i[0] === "t" ? a = t - r - f : r = t - a - f);
1603
+ l / f > n ? (l = n * f, i[1] === "l" ? c = s - e - l : e = s - c - l) : (f = l / n, i[0] === "t" ? a = t - r - f : r = t - a - f);
1605
1604
  return { newLeft: c, newRight: e, newTop: a, newBottom: r };
1606
1605
  }
1607
1606
  },
@@ -1922,8 +1921,8 @@ const Ll = {
1922
1921
  id: "myAudio"
1923
1922
  }, Ul = ["src"], bl = { class: "list-group-item" }, xl = ["onClick"], yl = ["id", "src", "alt", "data-swap"];
1924
1923
  function Sl(A, c, e, a, r, s) {
1925
- const t = y("lab-image"), i = y("el-col"), n = y("draggable"), l = y("el-row");
1926
- return B(), K(l, {
1924
+ const t = y("lab-image"), i = y("el-col"), n = y("draggable"), o = y("el-row");
1925
+ return B(), K(o, {
1927
1926
  class: O(["dragDrop", e.content.handle])
1928
1927
  }, {
1929
1928
  default: k(() => [
@@ -1946,7 +1945,7 @@ function Sl(A, c, e, a, r, s) {
1946
1945
  ]),
1947
1946
  _: 1
1948
1947
  }),
1949
- (B(!0), V(D, null, f2(r.listOne, (o, f) => (B(), K(i, { span: s.binColumns }, {
1948
+ (B(!0), V(D, null, f2(r.listOne, (l, f) => (B(), K(i, { span: s.binColumns }, {
1950
1949
  default: k(() => [
1951
1950
  X(n, {
1952
1951
  class: O(["draggable list-group", e.content.bins[f].class]),
@@ -2025,14 +2024,36 @@ const El = {
2025
2024
  }
2026
2025
  },
2027
2026
  methods: {
2027
+ recordResults(A) {
2028
+ let c = [];
2029
+ this.content.bins.forEach((s) => {
2030
+ let t = [];
2031
+ s.items.forEach((n) => {
2032
+ let o = { text: n.text, imageAlt: n.imageAlt };
2033
+ t.push(o);
2034
+ });
2035
+ let i = {
2036
+ header: s.header,
2037
+ description: s.description,
2038
+ items: t
2039
+ };
2040
+ c.push(i);
2041
+ });
2042
+ let e = {
2043
+ page: this.stepperStore.stepPage,
2044
+ result: A,
2045
+ correctAnswer: c
2046
+ }, a = this.stepperStore.results.find((s) => s.page === this.stepperStore.stepPage), r = this.stepperStore.results.indexOf(a);
2047
+ a ? this.stepperStore.results.fill(a.result = A, r, r++) : this.stepperStore.results.push(e);
2048
+ },
2028
2049
  failed() {
2029
- this.listTwo.length > 0 && (this.listTwo.forEach((A) => {
2050
+ console.log("failed"), this.listTwo.length > 0 && (this.listTwo.forEach((A) => {
2030
2051
  this.listOne.forEach((c) => {
2031
2052
  c.forEach((e) => {
2032
2053
  A.id === e.id && c.push(A);
2033
2054
  });
2034
2055
  });
2035
- }), this.listTwo = "", this.choice.header = this.content.failedHeader, this.choice.feedback = this.content.failedFeedback, this.feedbackVisibility = !0);
2056
+ }), this.listTwo = "", this.choice.header = this.content.failedHeader, this.choice.feedback = this.content.failedFeedback, this.feedbackVisibility = !0), this.recordResults("not correct");
2036
2057
  },
2037
2058
  createItems() {
2038
2059
  this.binCount = this.content.bins.length, this.content.bins.forEach((A, c) => {
@@ -2055,7 +2076,7 @@ const El = {
2055
2076
  let c = this.listOne[A.to.dataset.index], e = A.oldIndex, a = !1;
2056
2077
  c.forEach((r) => {
2057
2078
  r.hide === !0 && r.id === A.item._underlying_vm_.id && (a = !0);
2058
- }), a ? (this.stepperStore.showFeedback = !0, this.feedbackObject.feedbackHeader = A.item._underlying_vm_.correctHeader, this.feedbackObject.feedback = A.item._underlying_vm_.correctFeedback, this.feedbackObject.feedbackImage = A.item._underlying_vm_.correctFeedbackImage, this.listTwoCompleted.push(e), this.myList2.length === 0 && this.stepperStore.finishSteps()) : (this.feedbackObject.feedbackHeader = A.item._underlying_vm_.incorrectHeader, this.feedbackObject.feedback = A.item._underlying_vm_.incorrectFeedback, this.feedbackObject.feedbackImage = A.item._underlying_vm_.incorrectFeedbackImage, this.listTwo.push(A.item._underlying_vm_), this.getAttempt < this.content.attempts ? this.stepperStore.attempts = this.getAttempt + 1 : (this.stepperStore.showFeedbackAttempts = !0, this.failed()), this.stepperStore.showFeedback = !0, c.forEach((r, s) => {
2079
+ }), a ? (this.stepperStore.showFeedback = !0, this.feedbackObject.feedbackHeader = A.item._underlying_vm_.correctHeader, this.feedbackObject.feedback = A.item._underlying_vm_.correctFeedback, this.feedbackObject.feedbackImage = A.item._underlying_vm_.correctFeedbackImage, this.listTwoCompleted.push(e), this.myList2.length === 0 && (this.stepperStore.finishSteps(), this.recordResults("correct"))) : (this.feedbackObject.feedbackHeader = A.item._underlying_vm_.incorrectHeader, this.feedbackObject.feedback = A.item._underlying_vm_.incorrectFeedback, this.feedbackObject.feedbackImage = A.item._underlying_vm_.incorrectFeedbackImage, this.listTwo.push(A.item._underlying_vm_), this.getAttempt < this.content.attempts ? this.stepperStore.attempts = this.getAttempt + 1 : (this.stepperStore.showFeedbackAttempts = !0, this.failed()), this.stepperStore.showFeedback = !0, c.forEach((r, s) => {
2059
2080
  r.id === A.item._underlying_vm_.id && c.splice(s, 1);
2060
2081
  })), setTimeout(() => {
2061
2082
  document.getElementById("feedbackClose") && document.getElementById("feedbackClose").focus();
@@ -2108,9 +2129,9 @@ const El = {
2108
2129
  class: "dropBin"
2109
2130
  }, Kl = { class: "dragItems-button" }, Rl = ["id", "src", "alt"], _l = { class: "dialog-footer" };
2110
2131
  function Ol(A, c, e, a, r, s) {
2111
- const t = y("lab-image"), i = y("el-col"), n = y("draggable"), l = y("el-row"), o = y("lab-feedback"), f = y("el-button"), h = y("el-dialog");
2132
+ const t = y("lab-image"), i = y("el-col"), n = y("draggable"), o = y("el-row"), l = y("lab-feedback"), f = y("el-button"), h = y("el-dialog");
2112
2133
  return B(), V(D, null, [
2113
- X(l, {
2134
+ X(o, {
2114
2135
  class: O(["dragDrop", e.content.handle]),
2115
2136
  id: "dragItemDiv"
2116
2137
  }, {
@@ -2195,7 +2216,7 @@ function Ol(A, c, e, a, r, s) {
2195
2216
  ]),
2196
2217
  _: 1
2197
2218
  }, 8, ["class"]),
2198
- s.showFeedback() ? (B(), K(o, {
2219
+ s.showFeedback() ? (B(), K(l, {
2199
2220
  key: 0,
2200
2221
  content: r.feedbackObject
2201
2222
  }, null, 8, ["content"])) : S("", !0),
@@ -2357,24 +2378,24 @@ function l2(A, c, e, a) {
2357
2378
  });
2358
2379
  }
2359
2380
  return new (e || (e = Promise))(function(s, t) {
2360
- function i(o) {
2381
+ function i(l) {
2361
2382
  try {
2362
- l(a.next(o));
2383
+ o(a.next(l));
2363
2384
  } catch (f) {
2364
2385
  t(f);
2365
2386
  }
2366
2387
  }
2367
- function n(o) {
2388
+ function n(l) {
2368
2389
  try {
2369
- l(a.throw(o));
2390
+ o(a.throw(l));
2370
2391
  } catch (f) {
2371
2392
  t(f);
2372
2393
  }
2373
2394
  }
2374
- function l(o) {
2375
- o.done ? s(o.value) : r(o.value).then(i, n);
2395
+ function o(l) {
2396
+ l.done ? s(l.value) : r(l.value).then(i, n);
2376
2397
  }
2377
- l((a = a.apply(A, c || [])).next());
2398
+ o((a = a.apply(A, c || [])).next());
2378
2399
  });
2379
2400
  }
2380
2401
  function i2(A, c) {
@@ -2386,60 +2407,60 @@ function i2(A, c) {
2386
2407
  return t = { next: i(0), throw: i(1), return: i(2) }, typeof Symbol == "function" && (t[Symbol.iterator] = function() {
2387
2408
  return this;
2388
2409
  }), t;
2389
- function i(l) {
2390
- return function(o) {
2391
- return n([l, o]);
2410
+ function i(o) {
2411
+ return function(l) {
2412
+ return n([o, l]);
2392
2413
  };
2393
2414
  }
2394
- function n(l) {
2415
+ function n(o) {
2395
2416
  if (a)
2396
2417
  throw new TypeError("Generator is already executing.");
2397
2418
  for (; e; )
2398
2419
  try {
2399
- if (a = 1, r && (s = l[0] & 2 ? r.return : l[0] ? r.throw || ((s = r.return) && s.call(r), 0) : r.next) && !(s = s.call(r, l[1])).done)
2420
+ if (a = 1, r && (s = o[0] & 2 ? r.return : o[0] ? r.throw || ((s = r.return) && s.call(r), 0) : r.next) && !(s = s.call(r, o[1])).done)
2400
2421
  return s;
2401
- switch (r = 0, s && (l = [l[0] & 2, s.value]), l[0]) {
2422
+ switch (r = 0, s && (o = [o[0] & 2, s.value]), o[0]) {
2402
2423
  case 0:
2403
2424
  case 1:
2404
- s = l;
2425
+ s = o;
2405
2426
  break;
2406
2427
  case 4:
2407
- return e.label++, { value: l[1], done: !1 };
2428
+ return e.label++, { value: o[1], done: !1 };
2408
2429
  case 5:
2409
- e.label++, r = l[1], l = [0];
2430
+ e.label++, r = o[1], o = [0];
2410
2431
  continue;
2411
2432
  case 7:
2412
- l = e.ops.pop(), e.trys.pop();
2433
+ o = e.ops.pop(), e.trys.pop();
2413
2434
  continue;
2414
2435
  default:
2415
- if (s = e.trys, !(s = s.length > 0 && s[s.length - 1]) && (l[0] === 6 || l[0] === 2)) {
2436
+ if (s = e.trys, !(s = s.length > 0 && s[s.length - 1]) && (o[0] === 6 || o[0] === 2)) {
2416
2437
  e = 0;
2417
2438
  continue;
2418
2439
  }
2419
- if (l[0] === 3 && (!s || l[1] > s[0] && l[1] < s[3])) {
2420
- e.label = l[1];
2440
+ if (o[0] === 3 && (!s || o[1] > s[0] && o[1] < s[3])) {
2441
+ e.label = o[1];
2421
2442
  break;
2422
2443
  }
2423
- if (l[0] === 6 && e.label < s[1]) {
2424
- e.label = s[1], s = l;
2444
+ if (o[0] === 6 && e.label < s[1]) {
2445
+ e.label = s[1], s = o;
2425
2446
  break;
2426
2447
  }
2427
2448
  if (s && e.label < s[2]) {
2428
- e.label = s[2], e.ops.push(l);
2449
+ e.label = s[2], e.ops.push(o);
2429
2450
  break;
2430
2451
  }
2431
2452
  s[2] && e.ops.pop(), e.trys.pop();
2432
2453
  continue;
2433
2454
  }
2434
- l = c.call(A, e);
2435
- } catch (o) {
2436
- l = [6, o], r = 0;
2455
+ o = c.call(A, e);
2456
+ } catch (l) {
2457
+ o = [6, l], r = 0;
2437
2458
  } finally {
2438
2459
  a = s = 0;
2439
2460
  }
2440
- if (l[0] & 5)
2441
- throw l[1];
2442
- return { value: l[0] ? l[1] : void 0, done: !0 };
2461
+ if (o[0] & 5)
2462
+ throw o[1];
2463
+ return { value: o[0] ? o[1] : void 0, done: !0 };
2443
2464
  }
2444
2465
  }
2445
2466
  function M4(A, c, e) {
@@ -2505,10 +2526,10 @@ for (var L4 = 0; L4 < U8.length; L4++)
2505
2526
  var $l = function(A) {
2506
2527
  var c = A.length * 0.75, e = A.length, a, r = 0, s, t, i, n;
2507
2528
  A[A.length - 1] === "=" && (c--, A[A.length - 2] === "=" && c--);
2508
- var l = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(c) : new Array(c), o = Array.isArray(l) ? l : new Uint8Array(l);
2529
+ var o = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(c) : new Array(c), l = Array.isArray(o) ? o : new Uint8Array(o);
2509
2530
  for (a = 0; a < e; a += 4)
2510
- s = P1[A.charCodeAt(a)], t = P1[A.charCodeAt(a + 1)], i = P1[A.charCodeAt(a + 2)], n = P1[A.charCodeAt(a + 3)], o[r++] = s << 2 | t >> 4, o[r++] = (t & 15) << 4 | i >> 2, o[r++] = (i & 3) << 6 | n & 63;
2511
- return l;
2531
+ s = P1[A.charCodeAt(a)], t = P1[A.charCodeAt(a + 1)], i = P1[A.charCodeAt(a + 2)], n = P1[A.charCodeAt(a + 3)], l[r++] = s << 2 | t >> 4, l[r++] = (t & 15) << 4 | i >> 2, l[r++] = (i & 3) << 6 | n & 63;
2532
+ return o;
2512
2533
  }, jl = function(A) {
2513
2534
  for (var c = A.length, e = [], a = 0; a < c; a += 2)
2514
2535
  e.push(A[a + 1] << 8 | A[a]);
@@ -2612,29 +2633,29 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2612
2633
  var s = a - 1;
2613
2634
  if (Array.isArray(r) && r[s] === !0)
2614
2635
  return E;
2615
- var t = s - 1, i = s + 1, n = c[s], l = t >= 0 ? c[t] : 0, o = c[i];
2616
- if (n === a5 && o === r5)
2636
+ var t = s - 1, i = s + 1, n = c[s], o = t >= 0 ? c[t] : 0, l = c[i];
2637
+ if (n === a5 && l === r5)
2617
2638
  return E;
2618
2639
  if (k6.indexOf(n) !== -1)
2619
2640
  return i5;
2620
- if (k6.indexOf(o) !== -1 || n5.indexOf(o) !== -1)
2641
+ if (k6.indexOf(l) !== -1 || n5.indexOf(l) !== -1)
2621
2642
  return E;
2622
2643
  if (D8(s, c) === s5)
2623
2644
  return x4;
2624
- if (E6.get(A[s]) === Q6 || (n === U4 || n === b4) && E6.get(A[i]) === Q6 || n === S8 || o === S8 || n === N8 || [j2, F6, G1].indexOf(n) === -1 && o === N8 || [F4, D1, gf, d1, z1].indexOf(o) !== -1 || D8(s, c) === K1 || r6(e6, K1, s, c) || r6([F4, D1], b6, s, c) || r6(E8, E8, s, c))
2645
+ if (E6.get(A[s]) === Q6 || (n === U4 || n === b4) && E6.get(A[i]) === Q6 || n === S8 || l === S8 || n === N8 || [j2, F6, G1].indexOf(n) === -1 && l === N8 || [F4, D1, gf, d1, z1].indexOf(l) !== -1 || D8(s, c) === K1 || r6(e6, K1, s, c) || r6([F4, D1], b6, s, c) || r6(E8, E8, s, c))
2625
2646
  return E;
2626
2647
  if (n === j2)
2627
2648
  return x4;
2628
- if (n === e6 || o === e6)
2649
+ if (n === e6 || l === e6)
2629
2650
  return E;
2630
- if (o === U6 || n === U6)
2651
+ if (l === U6 || n === U6)
2631
2652
  return x4;
2632
- if ([F6, G1, b6].indexOf(o) !== -1 || n === pf || l === S6 && Lf.indexOf(n) !== -1 || n === z1 && o === S6 || o === k8 || I2.indexOf(o) !== -1 && n === B2 || I2.indexOf(n) !== -1 && o === B2 || n === X1 && [t4, U4, b4].indexOf(o) !== -1 || [t4, U4, b4].indexOf(n) !== -1 && o === W1 || I2.indexOf(n) !== -1 && I8.indexOf(o) !== -1 || I8.indexOf(n) !== -1 && I2.indexOf(o) !== -1 || // (PR | PO) × ( OP | HY )? NU
2633
- [X1, W1].indexOf(n) !== -1 && (o === B2 || [K1, G1].indexOf(o) !== -1 && c[i + 1] === B2) || // ( OP | HY ) × NU
2634
- [K1, G1].indexOf(n) !== -1 && o === B2 || // NU × (NU | SY | IS)
2635
- n === B2 && [B2, z1, d1].indexOf(o) !== -1)
2653
+ if ([F6, G1, b6].indexOf(l) !== -1 || n === pf || o === S6 && Lf.indexOf(n) !== -1 || n === z1 && l === S6 || l === k8 || I2.indexOf(l) !== -1 && n === B2 || I2.indexOf(n) !== -1 && l === B2 || n === X1 && [t4, U4, b4].indexOf(l) !== -1 || [t4, U4, b4].indexOf(n) !== -1 && l === W1 || I2.indexOf(n) !== -1 && I8.indexOf(l) !== -1 || I8.indexOf(n) !== -1 && I2.indexOf(l) !== -1 || // (PR | PO) × ( OP | HY )? NU
2654
+ [X1, W1].indexOf(n) !== -1 && (l === B2 || [K1, G1].indexOf(l) !== -1 && c[i + 1] === B2) || // ( OP | HY ) × NU
2655
+ [K1, G1].indexOf(n) !== -1 && l === B2 || // NU × (NU | SY | IS)
2656
+ n === B2 && [B2, z1, d1].indexOf(l) !== -1)
2636
2657
  return E;
2637
- if ([B2, z1, d1, F4, D1].indexOf(o) !== -1)
2658
+ if ([B2, z1, d1, F4, D1].indexOf(l) !== -1)
2638
2659
  for (var f = s; f >= 0; ) {
2639
2660
  var h = c[f];
2640
2661
  if (h === B2)
@@ -2644,7 +2665,7 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2644
2665
  else
2645
2666
  break;
2646
2667
  }
2647
- if ([X1, W1].indexOf(o) !== -1)
2668
+ if ([X1, W1].indexOf(l) !== -1)
2648
2669
  for (var f = [F4, D1].indexOf(n) !== -1 ? t : s; f >= 0; ) {
2649
2670
  var h = c[f];
2650
2671
  if (h === B2)
@@ -2654,15 +2675,15 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2654
2675
  else
2655
2676
  break;
2656
2677
  }
2657
- if (N6 === n && [N6, e3, x6, y6].indexOf(o) !== -1 || [e3, x6].indexOf(n) !== -1 && [e3, a3].indexOf(o) !== -1 || [a3, y6].indexOf(n) !== -1 && o === a3 || T8.indexOf(n) !== -1 && [k8, W1].indexOf(o) !== -1 || T8.indexOf(o) !== -1 && n === X1 || I2.indexOf(n) !== -1 && I2.indexOf(o) !== -1 || n === d1 && I2.indexOf(o) !== -1 || I2.concat(B2).indexOf(n) !== -1 && o === K1 && Mf.indexOf(A[i]) === -1 || I2.concat(B2).indexOf(o) !== -1 && n === D1)
2678
+ if (N6 === n && [N6, e3, x6, y6].indexOf(l) !== -1 || [e3, x6].indexOf(n) !== -1 && [e3, a3].indexOf(l) !== -1 || [a3, y6].indexOf(n) !== -1 && l === a3 || T8.indexOf(n) !== -1 && [k8, W1].indexOf(l) !== -1 || T8.indexOf(l) !== -1 && n === X1 || I2.indexOf(n) !== -1 && I2.indexOf(l) !== -1 || n === d1 && I2.indexOf(l) !== -1 || I2.concat(B2).indexOf(n) !== -1 && l === K1 && Mf.indexOf(A[i]) === -1 || I2.concat(B2).indexOf(l) !== -1 && n === D1)
2658
2679
  return E;
2659
- if (n === a6 && o === a6) {
2680
+ if (n === a6 && l === a6) {
2660
2681
  for (var u = e[s], m = 1; u > 0 && (u--, c[u] === a6); )
2661
2682
  m++;
2662
2683
  if (m % 2 !== 0)
2663
2684
  return E;
2664
2685
  }
2665
- return n === U4 && o === b4 ? E : x4;
2686
+ return n === U4 && l === b4 ? E : x4;
2666
2687
  }, Uf = function(A, c) {
2667
2688
  c || (c = { lineBreak: "normal", wordBreak: "normal" });
2668
2689
  var e = Qf(A, c.lineBreak), a = e[0], r = e[1], s = e[2];
@@ -2684,16 +2705,16 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2684
2705
  }, A;
2685
2706
  }()
2686
2707
  ), xf = function(A, c) {
2687
- var e = M3(A), a = Uf(e, c), r = a[0], s = a[1], t = a[2], i = e.length, n = 0, l = 0;
2708
+ var e = M3(A), a = Uf(e, c), r = a[0], s = a[1], t = a[2], i = e.length, n = 0, o = 0;
2688
2709
  return {
2689
2710
  next: function() {
2690
- if (l >= i)
2711
+ if (o >= i)
2691
2712
  return { done: !0, value: null };
2692
- for (var o = E; l < i && (o = Ff(e, s, r, ++l, t)) === E; )
2713
+ for (var l = E; o < i && (l = Ff(e, s, r, ++o, t)) === E; )
2693
2714
  ;
2694
- if (o !== E || l === i) {
2695
- var f = new bf(e, o, n, l);
2696
- return n = l, { value: f, done: !1 };
2715
+ if (l !== E || o === i) {
2716
+ var f = new bf(e, l, n, o);
2717
+ return n = o, { value: f, done: !1 };
2697
2718
  }
2698
2719
  return { done: !0, value: null };
2699
2720
  }
@@ -2739,10 +2760,10 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2739
2760
  (A[c] === u5 || A[c] === f5) && c++;
2740
2761
  var n = 1;
2741
2762
  (A[c] === u1 || A[c] === v2) && (A[c] === v2 && (n = -1), c++);
2742
- for (var l = []; n2(A[c]); )
2743
- l.push(A[c++]);
2744
- var o = l.length ? parseInt($.apply(void 0, l), 10) : 0;
2745
- return e * (r + i * Math.pow(10, -t)) * Math.pow(10, n * o);
2763
+ for (var o = []; n2(A[c]); )
2764
+ o.push(A[c++]);
2765
+ var l = o.length ? parseInt($.apply(void 0, o), 10) : 0;
2766
+ return e * (r + i * Math.pow(10, -t)) * Math.pow(10, n * l);
2746
2767
  }, Bh = {
2747
2768
  type: 2
2748
2769
  /* LEFT_PARENTHESIS_TOKEN */
@@ -2851,12 +2872,12 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2851
2872
  case $f:
2852
2873
  return gh;
2853
2874
  case v2:
2854
- var i = c, n = this.peekCodePoint(0), l = this.peekCodePoint(1);
2855
- if (t6(i, n, l))
2875
+ var i = c, n = this.peekCodePoint(0), o = this.peekCodePoint(1);
2876
+ if (t6(i, n, o))
2856
2877
  return this.reconsumeCodePoint(c), this.consumeNumericToken();
2857
- if (I4(i, n, l))
2878
+ if (I4(i, n, o))
2858
2879
  return this.reconsumeCodePoint(c), this.consumeIdentLikeToken();
2859
- if (n === v2 && l === _f)
2880
+ if (n === v2 && o === _f)
2860
2881
  return this.consumeCodePoint(), this.consumeCodePoint(), xh;
2861
2882
  break;
2862
2883
  case i4:
@@ -2866,10 +2887,10 @@ var Hf = "KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF
2866
2887
  case R8:
2867
2888
  if (this.peekCodePoint(0) === s6)
2868
2889
  for (this.consumeCodePoint(); ; ) {
2869
- var o = this.consumeCodePoint();
2870
- if (o === s6 && (o = this.consumeCodePoint(), o === R8))
2890
+ var l = this.consumeCodePoint();
2891
+ if (l === s6 && (l = this.consumeCodePoint(), l === R8))
2871
2892
  return this.consumeToken();
2872
- if (o === x2)
2893
+ if (l === x2)
2873
2894
  return this.consumeToken();
2874
2895
  }
2875
2896
  break;
@@ -3307,11 +3328,11 @@ function i6(A, c, e) {
3307
3328
  return e < 0 && (e += 1), e >= 1 && (e -= 1), e < 1 / 6 ? (c - A) * e * 6 + A : e < 1 / 2 ? c : e < 2 / 3 ? (c - A) * 6 * (2 / 3 - e) + A : A;
3308
3329
  }
3309
3330
  var X8 = function(A, c) {
3310
- var e = c.filter(N1), a = e[0], r = e[1], s = e[2], t = e[3], i = (a.type === 17 ? V2(a.number) : w3.parse(A, a)) / (Math.PI * 2), n = j(r) ? r.number / 100 : 0, l = j(s) ? s.number / 100 : 0, o = typeof t < "u" && j(t) ? _(t, 1) : 1;
3331
+ var e = c.filter(N1), a = e[0], r = e[1], s = e[2], t = e[3], i = (a.type === 17 ? V2(a.number) : w3.parse(A, a)) / (Math.PI * 2), n = j(r) ? r.number / 100 : 0, o = j(s) ? s.number / 100 : 0, l = typeof t < "u" && j(t) ? _(t, 1) : 1;
3311
3332
  if (n === 0)
3312
- return A1(l * 255, l * 255, l * 255, 1);
3313
- var f = l <= 0.5 ? l * (n + 1) : l + n - l * n, h = l * 2 - f, u = i6(h, f, i + 1 / 3), m = i6(h, f, i), C = i6(h, f, i - 1 / 3);
3314
- return A1(u * 255, m * 255, C * 255, o);
3333
+ return A1(o * 255, o * 255, o * 255, 1);
3334
+ var f = o <= 0.5 ? o * (n + 1) : o + n - o * n, h = o * 2 - f, u = i6(h, f, i + 1 / 3), m = i6(h, f, i), C = i6(h, f, i - 1 / 3);
3335
+ return A1(u * 255, m * 255, C * 255, l);
3315
3336
  }, Dh = {
3316
3337
  hsl: X8,
3317
3338
  hsla: X8,
@@ -3506,14 +3527,14 @@ var X8 = function(A, c) {
3506
3527
  } else
3507
3528
  r.push(null);
3508
3529
  }
3509
- for (var l = null, t = 0; t < r.length; t++) {
3510
- var o = r[t];
3511
- if (o === null)
3512
- l === null && (l = t);
3513
- else if (l !== null) {
3514
- for (var f = t - l, h = r[l - 1], u = (o - h) / (f + 1), m = 1; m <= f; m++)
3515
- r[l + m - 1] = u * m;
3516
- l = null;
3530
+ for (var o = null, t = 0; t < r.length; t++) {
3531
+ var l = r[t];
3532
+ if (l === null)
3533
+ o === null && (o = t);
3534
+ else if (o !== null) {
3535
+ for (var f = t - o, h = r[o - 1], u = (l - h) / (f + 1), m = 1; m <= f; m++)
3536
+ r[o + m - 1] = u * m;
3537
+ o = null;
3517
3538
  }
3518
3539
  }
3519
3540
  return A.map(function(C, d) {
@@ -3524,8 +3545,8 @@ var X8 = function(A, c) {
3524
3545
  var a = c / 2, r = e / 2, s = _(A[0], c) - a, t = r - _(A[1], e);
3525
3546
  return (Math.atan2(t, s) + Math.PI * 2) % (Math.PI * 2);
3526
3547
  }, Oh = function(A, c, e) {
3527
- var a = typeof A == "number" ? A : _h(A, c, e), r = Math.abs(c * Math.sin(a)) + Math.abs(e * Math.cos(a)), s = c / 2, t = e / 2, i = r / 2, n = Math.sin(a - Math.PI / 2) * i, l = Math.cos(a - Math.PI / 2) * i;
3528
- return [r, s - l, s + l, t - n, t + n];
3548
+ var a = typeof A == "number" ? A : _h(A, c, e), r = Math.abs(c * Math.sin(a)) + Math.abs(e * Math.cos(a)), s = c / 2, t = e / 2, i = r / 2, n = Math.sin(a - Math.PI / 2) * i, o = Math.cos(a - Math.PI / 2) * i;
3549
+ return [r, s - o, s + o, t - n, t + n];
3529
3550
  }, w2 = function(A, c) {
3530
3551
  return Math.sqrt(A * A + c * c);
3531
3552
  }, Y8 = function(A, c, e, a, r) {
@@ -3536,10 +3557,10 @@ var X8 = function(A, c) {
3536
3557
  [A, c]
3537
3558
  ];
3538
3559
  return s.reduce(function(t, i) {
3539
- var n = i[0], l = i[1], o = w2(e - n, a - l);
3540
- return (r ? o < t.optimumDistance : o > t.optimumDistance) ? {
3560
+ var n = i[0], o = i[1], l = w2(e - n, a - o);
3561
+ return (r ? l < t.optimumDistance : l > t.optimumDistance) ? {
3541
3562
  optimumCorner: i,
3542
- optimumDistance: o
3563
+ optimumDistance: l
3543
3564
  } : t;
3544
3565
  }, {
3545
3566
  optimumDistance: r ? 1 / 0 : -1 / 0,
@@ -3555,8 +3576,8 @@ var X8 = function(A, c) {
3555
3576
  if (A.shape === 0)
3556
3577
  s = t = Math.min(w2(c, e), w2(c, e - r), w2(c - a, e), w2(c - a, e - r));
3557
3578
  else if (A.shape === 1) {
3558
- var i = Math.min(Math.abs(e), Math.abs(e - r)) / Math.min(Math.abs(c), Math.abs(c - a)), n = Y8(a, r, c, e, !0), l = n[0], o = n[1];
3559
- s = w2(l - c, (o - e) / i), t = i * s;
3579
+ var i = Math.min(Math.abs(e), Math.abs(e - r)) / Math.min(Math.abs(c), Math.abs(c - a)), n = Y8(a, r, c, e, !0), o = n[0], l = n[1];
3580
+ s = w2(o - c, (l - e) / i), t = i * s;
3560
3581
  }
3561
3582
  break;
3562
3583
  case 1:
@@ -3566,8 +3587,8 @@ var X8 = function(A, c) {
3566
3587
  if (A.shape === 0)
3567
3588
  s = t = Math.max(w2(c, e), w2(c, e - r), w2(c - a, e), w2(c - a, e - r));
3568
3589
  else if (A.shape === 1) {
3569
- var i = Math.max(Math.abs(e), Math.abs(e - r)) / Math.max(Math.abs(c), Math.abs(c - a)), f = Y8(a, r, c, e, !1), l = f[0], o = f[1];
3570
- s = w2(l - c, (o - e) / i), t = i * s;
3590
+ var i = Math.max(Math.abs(e), Math.abs(e - r)) / Math.max(Math.abs(c), Math.abs(c - a)), f = Y8(a, r, c, e, !1), o = f[0], l = f[1];
3591
+ s = w2(o - c, (l - e) / i), t = i * s;
3571
3592
  }
3572
3593
  break;
3573
3594
  }
@@ -3616,26 +3637,26 @@ var X8 = function(A, c) {
3616
3637
  };
3617
3638
  }, Wh = function(A, c) {
3618
3639
  var e = V2(180), a = [], r = 1, s = 0, t = 3, i = [];
3619
- return S2(c).forEach(function(n, l) {
3620
- var o = n[0];
3621
- if (l === 0) {
3622
- if (R(o) && o.value === "linear") {
3640
+ return S2(c).forEach(function(n, o) {
3641
+ var l = n[0];
3642
+ if (o === 0) {
3643
+ if (R(l) && l.value === "linear") {
3623
3644
  r = 1;
3624
3645
  return;
3625
- } else if (R(o) && o.value === "radial") {
3646
+ } else if (R(l) && l.value === "radial") {
3626
3647
  r = 2;
3627
3648
  return;
3628
3649
  }
3629
3650
  }
3630
- if (o.type === 18) {
3631
- if (o.name === "from") {
3632
- var f = c1.parse(A, o.values[0]);
3651
+ if (l.type === 18) {
3652
+ if (l.name === "from") {
3653
+ var f = c1.parse(A, l.values[0]);
3633
3654
  a.push({ stop: s2, color: f });
3634
- } else if (o.name === "to") {
3635
- var f = c1.parse(A, o.values[0]);
3655
+ } else if (l.name === "to") {
3656
+ var f = c1.parse(A, l.values[0]);
3636
3657
  a.push({ stop: Z2, color: f });
3637
- } else if (o.name === "color-stop") {
3638
- var h = o.values.filter(N1);
3658
+ } else if (l.name === "color-stop") {
3659
+ var h = l.values.filter(N1);
3639
3660
  if (h.length === 2) {
3640
3661
  var f = c1.parse(A, h[1]), u = h[0];
3641
3662
  k1(u) && a.push({
@@ -3655,9 +3676,9 @@ var X8 = function(A, c) {
3655
3676
  return S2(c).forEach(function(t, i) {
3656
3677
  var n = !0;
3657
3678
  if (i === 0) {
3658
- var l = !1;
3679
+ var o = !1;
3659
3680
  n = t.reduce(function(f, h) {
3660
- if (l)
3681
+ if (o)
3661
3682
  if (R(h))
3662
3683
  switch (h.value) {
3663
3684
  case "center":
@@ -3678,7 +3699,7 @@ var X8 = function(A, c) {
3678
3699
  case b5:
3679
3700
  return e = 1, !1;
3680
3701
  case "at":
3681
- return l = !0, !1;
3702
+ return o = !0, !1;
3682
3703
  case w5:
3683
3704
  return a = 0, !1;
3684
3705
  case x5:
@@ -3696,8 +3717,8 @@ var X8 = function(A, c) {
3696
3717
  }, n);
3697
3718
  }
3698
3719
  if (n) {
3699
- var o = L3(A, t);
3700
- r.push(o);
3720
+ var l = L3(A, t);
3721
+ r.push(l);
3701
3722
  }
3702
3723
  }), {
3703
3724
  size: a,
@@ -3711,7 +3732,7 @@ var X8 = function(A, c) {
3711
3732
  var e = 0, a = 3, r = [], s = [];
3712
3733
  return S2(c).forEach(function(t, i) {
3713
3734
  var n = !0;
3714
- if (i === 0 ? n = t.reduce(function(o, f) {
3735
+ if (i === 0 ? n = t.reduce(function(l, f) {
3715
3736
  if (R(f))
3716
3737
  switch (f.value) {
3717
3738
  case "center":
@@ -3725,8 +3746,8 @@ var X8 = function(A, c) {
3725
3746
  }
3726
3747
  else if (j(f) || a1(f))
3727
3748
  return s.push(f), !1;
3728
- return o;
3729
- }, n) : i === 1 && (n = t.reduce(function(o, f) {
3749
+ return l;
3750
+ }, n) : i === 1 && (n = t.reduce(function(l, f) {
3730
3751
  if (R(f))
3731
3752
  switch (f.value) {
3732
3753
  case U5:
@@ -3746,10 +3767,10 @@ var X8 = function(A, c) {
3746
3767
  }
3747
3768
  else if (a1(f) || j(f))
3748
3769
  return Array.isArray(a) || (a = []), a.push(f), !1;
3749
- return o;
3770
+ return l;
3750
3771
  }, n)), n) {
3751
- var l = L3(A, t);
3752
- r.push(l);
3772
+ var o = L3(A, t);
3773
+ r.push(o);
3753
3774
  }
3754
3775
  }), {
3755
3776
  size: a,
@@ -4861,10 +4882,10 @@ for (var R4 = 0; R4 < AA.length; R4++)
4861
4882
  var dm = function(A) {
4862
4883
  var c = A.length * 0.75, e = A.length, a, r = 0, s, t, i, n;
4863
4884
  A[A.length - 1] === "=" && (c--, A[A.length - 2] === "=" && c--);
4864
- var l = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(c) : new Array(c), o = Array.isArray(l) ? l : new Uint8Array(l);
4885
+ var o = typeof ArrayBuffer < "u" && typeof Uint8Array < "u" && typeof Uint8Array.prototype.slice < "u" ? new ArrayBuffer(c) : new Array(c), l = Array.isArray(o) ? o : new Uint8Array(o);
4865
4886
  for (a = 0; a < e; a += 4)
4866
- s = Y1[A.charCodeAt(a)], t = Y1[A.charCodeAt(a + 1)], i = Y1[A.charCodeAt(a + 2)], n = Y1[A.charCodeAt(a + 3)], o[r++] = s << 2 | t >> 4, o[r++] = (t & 15) << 4 | i >> 2, o[r++] = (i & 3) << 6 | n & 63;
4867
- return l;
4887
+ s = Y1[A.charCodeAt(a)], t = Y1[A.charCodeAt(a + 1)], i = Y1[A.charCodeAt(a + 2)], n = Y1[A.charCodeAt(a + 3)], l[r++] = s << 2 | t >> 4, l[r++] = (t & 15) << 4 | i >> 2, l[r++] = (i & 3) << 6 | n & 63;
4888
+ return o;
4868
4889
  }, zm = function(A) {
4869
4890
  for (var c = A.length, e = [], a = 0; a < c; a += 2)
4870
4891
  e.push(A[a + 1] << 8 | A[a]);
@@ -4989,12 +5010,12 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
4989
5010
  c.innerHTML = typeof "".repeat == "function" ? "&#128104;".repeat(10) : "";
4990
5011
  var a = c.firstChild, r = M3(a.data).map(function(n) {
4991
5012
  return $(n);
4992
- }), s = 0, t = {}, i = r.every(function(n, l) {
5013
+ }), s = 0, t = {}, i = r.every(function(n, o) {
4993
5014
  e.setStart(a, s), e.setEnd(a, s + n.length);
4994
- var o = e.getBoundingClientRect();
5015
+ var l = e.getBoundingClientRect();
4995
5016
  s += n.length;
4996
- var f = o.x > t.x || o.y > t.y;
4997
- return t = o, l === 0 ? !0 : f;
5017
+ var f = l.x > t.x || l.y > t.y;
5018
+ return t = l, o === 0 ? !0 : f;
4998
5019
  });
4999
5020
  return A.body.removeChild(c), i;
5000
5021
  }, Ym = function() {
@@ -5028,8 +5049,8 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5028
5049
  a.drawImage(i, 0, 0);
5029
5050
  var n = a.getImageData(0, 0, e, e).data;
5030
5051
  a.fillStyle = "red", a.fillRect(0, 0, e, e);
5031
- var l = A.createElement("div");
5032
- return l.style.backgroundImage = "url(" + s + ")", l.style.height = e + "px", lA(n) ? fA(R6(e, e, 0, 0, l)) : Promise.reject(!1);
5052
+ var o = A.createElement("div");
5053
+ return o.style.backgroundImage = "url(" + s + ")", o.style.height = e + "px", lA(n) ? fA(R6(e, e, 0, 0, o)) : Promise.reject(!1);
5033
5054
  }).then(function(i) {
5034
5055
  return a.drawImage(i, 0, 0), lA(a.getImageData(0, 0, e, e).data);
5035
5056
  }).catch(function() {
@@ -5093,9 +5114,9 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5093
5114
  if (r2.SUPPORT_RANGE_BOUNDS) {
5094
5115
  var n = hA(a, t, i.length).getClientRects();
5095
5116
  if (n.length > 1) {
5096
- var l = h0(i), o = 0;
5097
- l.forEach(function(h) {
5098
- s.push(new c4(h, R2.fromDOMRectList(A, hA(a, o + t, h.length).getClientRects()))), o += h.length;
5117
+ var o = h0(i), l = 0;
5118
+ o.forEach(function(h) {
5119
+ s.push(new c4(h, R2.fromDOMRectList(A, hA(a, l + t, h.length).getClientRects()))), l += h.length;
5099
5120
  });
5100
5121
  } else
5101
5122
  s.push(new c4(i, R2.fromDOMRectList(A, n)));
@@ -5153,8 +5174,8 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5153
5174
  }), a = [], r, s = function() {
5154
5175
  if (r.value) {
5155
5176
  var t = r.value.slice(), i = M3(t), n = "";
5156
- i.forEach(function(l) {
5157
- aH.indexOf(l) === -1 ? n += $(l) : (n.length && a.push(n), a.push($(l)), n = "");
5177
+ i.forEach(function(o) {
5178
+ aH.indexOf(o) === -1 ? n += $(o) : (n.length && a.push(n), a.push($(o)), n = "");
5158
5179
  }), n.length && a.push(n);
5159
5180
  }
5160
5181
  }; !(r = e.next()).done; )
@@ -5672,8 +5693,8 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5672
5693
  if (t === 0)
5673
5694
  return c[0] + i;
5674
5695
  for (var n = 0; t > 0 && n <= 4; n++) {
5675
- var l = t % 10;
5676
- l === 0 && A2(s, Q1) && i !== "" ? i = c[l] + i : l > 1 || l === 1 && n === 0 || l === 1 && n === 1 && A2(s, Y2) || l === 1 && n === 1 && A2(s, J2) && A > 100 || l === 1 && n > 1 && A2(s, J1) ? i = c[l] + (n > 0 ? e[n - 1] : "") + i : l === 1 && n > 0 && (i = e[n - 1] + i), t = Math.floor(t / 10);
5696
+ var o = t % 10;
5697
+ o === 0 && A2(s, Q1) && i !== "" ? i = c[o] + i : o > 1 || o === 1 && n === 0 || o === 1 && n === 1 && A2(s, Y2) || o === 1 && n === 1 && A2(s, J2) && A > 100 || o === 1 && n > 1 && A2(s, J1) ? i = c[o] + (n > 0 ? e[n - 1] : "") + i : o === 1 && n > 0 && (i = e[n - 1] + i), t = Math.floor(t / 10);
5677
5698
  }
5678
5699
  return (A < 0 ? a : "") + i;
5679
5700
  }, pA = "十百千萬", gA = "拾佰仟萬", dA = "マイナス", v6 = "마이너스", n4 = function(A, c, e) {
@@ -5789,13 +5810,13 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5789
5810
  var a = this, r = wH(c, e);
5790
5811
  if (!r.contentWindow)
5791
5812
  return Promise.reject("Unable to find iframe window");
5792
- var s = c.defaultView.pageXOffset, t = c.defaultView.pageYOffset, i = r.contentWindow, n = i.document, l = FH(r).then(function() {
5813
+ var s = c.defaultView.pageXOffset, t = c.defaultView.pageYOffset, i = r.contentWindow, n = i.document, o = FH(r).then(function() {
5793
5814
  return l2(a, void 0, void 0, function() {
5794
- var o, f;
5815
+ var l, f;
5795
5816
  return i2(this, function(h) {
5796
5817
  switch (h.label) {
5797
5818
  case 0:
5798
- return this.scrolledElements.forEach(yH), i && (i.scrollTo(e.left, e.top), /(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (i.scrollY !== e.top || i.scrollX !== e.left) && (this.context.logger.warn("Unable to restore scroll position for cloned document"), this.context.windowBounds = this.context.windowBounds.add(i.scrollX - e.left, i.scrollY - e.top, 0, 0))), o = this.options.onclone, f = this.clonedReferenceElement, typeof f > "u" ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : n.fonts && n.fonts.ready ? [4, n.fonts.ready] : [3, 2];
5819
+ return this.scrolledElements.forEach(yH), i && (i.scrollTo(e.left, e.top), /(iPad|iPhone|iPod)/g.test(navigator.userAgent) && (i.scrollY !== e.top || i.scrollX !== e.left) && (this.context.logger.warn("Unable to restore scroll position for cloned document"), this.context.windowBounds = this.context.windowBounds.add(i.scrollX - e.left, i.scrollY - e.top, 0, 0))), l = this.options.onclone, f = this.clonedReferenceElement, typeof f > "u" ? [2, Promise.reject("Error finding the " + this.referenceElement.nodeName + " in the cloned document")] : n.fonts && n.fonts.ready ? [4, n.fonts.ready] : [3, 2];
5799
5820
  case 1:
5800
5821
  h.sent(), h.label = 2;
5801
5822
  case 2:
@@ -5803,8 +5824,8 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5803
5824
  case 3:
5804
5825
  h.sent(), h.label = 4;
5805
5826
  case 4:
5806
- return typeof o == "function" ? [2, Promise.resolve().then(function() {
5807
- return o(n, f);
5827
+ return typeof l == "function" ? [2, Promise.resolve().then(function() {
5828
+ return l(n, f);
5808
5829
  }).then(function() {
5809
5830
  return r;
5810
5831
  })] : [2, r];
@@ -5812,7 +5833,7 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5812
5833
  });
5813
5834
  });
5814
5835
  });
5815
- return n.open(), n.write(bH(document.doctype) + "<html></html>"), xH(this.referenceElement.ownerDocument, s, t), n.replaceChild(n.adoptNode(this.documentElement), n.documentElement), n.close(), l;
5836
+ return n.open(), n.write(bH(document.doctype) + "<html></html>"), xH(this.referenceElement.ownerDocument, s, t), n.replaceChild(n.adoptNode(this.documentElement), n.documentElement), n.close(), o;
5816
5837
  }, A.prototype.createElementClone = function(c) {
5817
5838
  if (K6(
5818
5839
  c,
@@ -5908,10 +5929,10 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5908
5929
  r.style.transitionProperty = "none";
5909
5930
  var s = a.getComputedStyle(c), t = a.getComputedStyle(c, ":before"), i = a.getComputedStyle(c, ":after");
5910
5931
  this.referenceElement === c && O6(r) && (this.clonedReferenceElement = r), m0(r) && EH(r);
5911
- var n = this.counters.parse(new Z8(this.context, s)), l = this.resolvePseudoContent(c, r, t, e4.BEFORE);
5912
- vA(c) && (e = !0), mA(c) || this.cloneChildNodes(c, r, e), l && r.insertBefore(l, r.firstChild);
5913
- var o = this.resolvePseudoContent(c, r, i, e4.AFTER);
5914
- return o && r.appendChild(o), this.counters.pop(n), (s && (this.options.copyStyles || s3(c)) && !q5(c) || e) && C6(s, r), (c.scrollTop !== 0 || c.scrollLeft !== 0) && this.scrolledElements.push([r, c.scrollLeft, c.scrollTop]), (u3(c) || m3(c)) && (u3(r) || m3(r)) && (r.value = c.value), r;
5932
+ var n = this.counters.parse(new Z8(this.context, s)), o = this.resolvePseudoContent(c, r, t, e4.BEFORE);
5933
+ vA(c) && (e = !0), mA(c) || this.cloneChildNodes(c, r, e), o && r.insertBefore(o, r.firstChild);
5934
+ var l = this.resolvePseudoContent(c, r, i, e4.AFTER);
5935
+ return l && r.appendChild(l), this.counters.pop(n), (s && (this.options.copyStyles || s3(c)) && !q5(c) || e) && C6(s, r), (c.scrollTop !== 0 || c.scrollLeft !== 0) && this.scrolledElements.push([r, c.scrollLeft, c.scrollTop]), (u3(c) || m3(c)) && (u3(r) || m3(r)) && (r.value = c.value), r;
5915
5936
  }
5916
5937
  return c.cloneNode(!1);
5917
5938
  }, A.prototype.resolvePseudoContent = function(c, e, a, r) {
@@ -5920,22 +5941,22 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5920
5941
  var t = a.content, i = e.ownerDocument;
5921
5942
  if (!(!i || !t || t === "none" || t === "-moz-alt-content" || a.display === "none")) {
5922
5943
  this.counters.parse(new Z8(this.context, a));
5923
- var n = new Cm(this.context, a), l = i.createElement("html2canvaspseudoelement");
5924
- C6(a, l), n.content.forEach(function(f) {
5944
+ var n = new Cm(this.context, a), o = i.createElement("html2canvaspseudoelement");
5945
+ C6(a, o), n.content.forEach(function(f) {
5925
5946
  if (f.type === 0)
5926
- l.appendChild(i.createTextNode(f.value));
5947
+ o.appendChild(i.createTextNode(f.value));
5927
5948
  else if (f.type === 22) {
5928
5949
  var h = i.createElement("img");
5929
- h.src = f.value, h.style.opacity = "1", l.appendChild(h);
5950
+ h.src = f.value, h.style.opacity = "1", o.appendChild(h);
5930
5951
  } else if (f.type === 18) {
5931
5952
  if (f.name === "attr") {
5932
5953
  var u = f.values.filter(R);
5933
- u.length && l.appendChild(i.createTextNode(c.getAttribute(u[0].value) || ""));
5954
+ u.length && o.appendChild(i.createTextNode(c.getAttribute(u[0].value) || ""));
5934
5955
  } else if (f.name === "counter") {
5935
5956
  var m = f.values.filter(N1), C = m[0], d = m[1];
5936
5957
  if (C && R(C)) {
5937
5958
  var H = s.counters.getCounterValue(C.value), v = d && R(d) ? D6.parse(s.context, d.value) : 3;
5938
- l.appendChild(i.createTextNode(n4(H, v, !1)));
5959
+ o.appendChild(i.createTextNode(n4(H, v, !1)));
5939
5960
  }
5940
5961
  } else if (f.name === "counters") {
5941
5962
  var L = f.values.filter(N1), C = L[0], Q = L[1], d = L[2];
@@ -5943,23 +5964,23 @@ var Tm = 1, l6 = 2, f6 = 3, aA = 4, rA = 5, Dm = 7, sA = 8, h6 = 9, u6 = 10, tA
5943
5964
  var M = s.counters.getCounterValues(C.value), p = d && R(d) ? D6.parse(s.context, d.value) : 3, x = Q && Q.type === 0 ? Q.value : "", N = M.map(function(h2) {
5944
5965
  return n4(h2, p, !1);
5945
5966
  }).join(x);
5946
- l.appendChild(i.createTextNode(N));
5967
+ o.appendChild(i.createTextNode(N));
5947
5968
  }
5948
5969
  }
5949
5970
  } else if (f.type === 20)
5950
5971
  switch (f.value) {
5951
5972
  case "open-quote":
5952
- l.appendChild(i.createTextNode(j8(n.quotes, s.quoteDepth++, !0)));
5973
+ o.appendChild(i.createTextNode(j8(n.quotes, s.quoteDepth++, !0)));
5953
5974
  break;
5954
5975
  case "close-quote":
5955
- l.appendChild(i.createTextNode(j8(n.quotes, --s.quoteDepth, !1)));
5976
+ o.appendChild(i.createTextNode(j8(n.quotes, --s.quoteDepth, !1)));
5956
5977
  break;
5957
5978
  default:
5958
- l.appendChild(i.createTextNode(f.value));
5979
+ o.appendChild(i.createTextNode(f.value));
5959
5980
  }
5960
- }), l.className = G6 + " " + W6;
5961
- var o = r === e4.BEFORE ? " " + G6 : " " + W6;
5962
- return s3(e) ? e.className.baseValue += o : e.className += o, l;
5981
+ }), o.className = G6 + " " + W6;
5982
+ var l = r === e4.BEFORE ? " " + G6 : " " + W6;
5983
+ return s3(e) ? e.className.baseValue += l : e.className += l, o;
5963
5984
  }
5964
5985
  }
5965
5986
  }, A.destroy = function(c) {
@@ -6070,14 +6091,14 @@ var wH = function(A, c) {
6070
6091
  case 1:
6071
6092
  s = i.sent(), i.label = 2;
6072
6093
  case 2:
6073
- return this.context.logger.debug("Added image " + c.substring(0, 256)), [4, new Promise(function(n, l) {
6074
- var o = new Image();
6075
- o.onload = function() {
6076
- return n(o);
6077
- }, o.onerror = l, (_H(s) || a) && (o.crossOrigin = "anonymous"), o.src = s, o.complete === !0 && setTimeout(function() {
6078
- return n(o);
6094
+ return this.context.logger.debug("Added image " + c.substring(0, 256)), [4, new Promise(function(n, o) {
6095
+ var l = new Image();
6096
+ l.onload = function() {
6097
+ return n(l);
6098
+ }, l.onerror = o, (_H(s) || a) && (l.crossOrigin = "anonymous"), l.src = s, l.complete === !0 && setTimeout(function() {
6099
+ return n(l);
6079
6100
  }, 500), t._options.imageTimeout > 0 && setTimeout(function() {
6080
- return l("Timed out (" + t._options.imageTimeout + "ms) loading image");
6101
+ return o("Timed out (" + t._options.imageTimeout + "ms) loading image");
6081
6102
  }, t._options.imageTimeout);
6082
6103
  })];
6083
6104
  case 3:
@@ -6111,11 +6132,11 @@ var wH = function(A, c) {
6111
6132
  else
6112
6133
  t("Failed to proxy resource " + r + " with status code " + n.status);
6113
6134
  }, n.onerror = t;
6114
- var l = a.indexOf("?") > -1 ? "&" : "?";
6115
- if (n.open("GET", "" + a + l + "url=" + encodeURIComponent(c) + "&responseType=" + i), i !== "text" && n instanceof XMLHttpRequest && (n.responseType = i), e._options.imageTimeout) {
6116
- var o = e._options.imageTimeout;
6117
- n.timeout = o, n.ontimeout = function() {
6118
- return t("Timed out (" + o + "ms) proxying " + r);
6135
+ var o = a.indexOf("?") > -1 ? "&" : "?";
6136
+ if (n.open("GET", "" + a + o + "url=" + encodeURIComponent(c) + "&responseType=" + i), i !== "text" && n instanceof XMLHttpRequest && (n.responseType = i), e._options.imageTimeout) {
6137
+ var l = e._options.imageTimeout;
6138
+ n.timeout = l, n.ontimeout = function() {
6139
+ return t("Timed out (" + l + "ms) proxying " + r);
6119
6140
  };
6120
6141
  }
6121
6142
  n.send();
@@ -6165,12 +6186,12 @@ var wH = function(A, c) {
6165
6186
  /** @class */
6166
6187
  function() {
6167
6188
  function A(c) {
6168
- var e = c.styles, a = c.bounds, r = q1(e.borderTopLeftRadius, a.width, a.height), s = r[0], t = r[1], i = q1(e.borderTopRightRadius, a.width, a.height), n = i[0], l = i[1], o = q1(e.borderBottomRightRadius, a.width, a.height), f = o[0], h = o[1], u = q1(e.borderBottomLeftRadius, a.width, a.height), m = u[0], C = u[1], d = [];
6169
- d.push((s + n) / a.width), d.push((m + f) / a.width), d.push((t + C) / a.height), d.push((l + h) / a.height);
6189
+ var e = c.styles, a = c.bounds, r = q1(e.borderTopLeftRadius, a.width, a.height), s = r[0], t = r[1], i = q1(e.borderTopRightRadius, a.width, a.height), n = i[0], o = i[1], l = q1(e.borderBottomRightRadius, a.width, a.height), f = l[0], h = l[1], u = q1(e.borderBottomLeftRadius, a.width, a.height), m = u[0], C = u[1], d = [];
6190
+ d.push((s + n) / a.width), d.push((m + f) / a.width), d.push((t + C) / a.height), d.push((o + h) / a.height);
6170
6191
  var H = Math.max.apply(Math, d);
6171
- H > 1 && (s /= H, t /= H, n /= H, l /= H, f /= H, h /= H, m /= H, C /= H);
6192
+ H > 1 && (s /= H, t /= H, n /= H, o /= H, f /= H, h /= H, m /= H, C /= H);
6172
6193
  var v = a.width - n, L = a.height - h, Q = a.width - f, M = a.height - C, p = e.borderTopWidth, x = e.borderRightWidth, N = e.borderBottomWidth, b = e.borderLeftWidth, q = _(e.paddingTop, c.bounds.width), h2 = _(e.paddingRight, c.bounds.width), C2 = _(e.paddingBottom, c.bounds.width), T = _(e.paddingLeft, c.bounds.width);
6173
- this.topLeftBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + b / 3, a.top + p / 3, s - b / 3, t - p / 3, I.TOP_LEFT) : new g(a.left + b / 3, a.top + p / 3), this.topRightBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + v, a.top + p / 3, n - x / 3, l - p / 3, I.TOP_RIGHT) : new g(a.left + a.width - x / 3, a.top + p / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 3, h - N / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 3, a.top + a.height - N / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || C > 0 ? W(a.left + b / 3, a.top + M, m - b / 3, C - N / 3, I.BOTTOM_LEFT) : new g(a.left + b / 3, a.top + a.height - N / 3), this.topLeftBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + b * 2 / 3, a.top + p * 2 / 3, s - b * 2 / 3, t - p * 2 / 3, I.TOP_LEFT) : new g(a.left + b * 2 / 3, a.top + p * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + v, a.top + p * 2 / 3, n - x * 2 / 3, l - p * 2 / 3, I.TOP_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + p * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x * 2 / 3, h - N * 2 / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + a.height - N * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || C > 0 ? W(a.left + b * 2 / 3, a.top + M, m - b * 2 / 3, C - N * 2 / 3, I.BOTTOM_LEFT) : new g(a.left + b * 2 / 3, a.top + a.height - N * 2 / 3), this.topLeftBorderStroke = s > 0 || t > 0 ? W(a.left + b / 2, a.top + p / 2, s - b / 2, t - p / 2, I.TOP_LEFT) : new g(a.left + b / 2, a.top + p / 2), this.topRightBorderStroke = s > 0 || t > 0 ? W(a.left + v, a.top + p / 2, n - x / 2, l - p / 2, I.TOP_RIGHT) : new g(a.left + a.width - x / 2, a.top + p / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 2, h - N / 2, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 2, a.top + a.height - N / 2), this.bottomLeftBorderStroke = m > 0 || C > 0 ? W(a.left + b / 2, a.top + M, m - b / 2, C - N / 2, I.BOTTOM_LEFT) : new g(a.left + b / 2, a.top + a.height - N / 2), this.topLeftBorderBox = s > 0 || t > 0 ? W(a.left, a.top, s, t, I.TOP_LEFT) : new g(a.left, a.top), this.topRightBorderBox = n > 0 || l > 0 ? W(a.left + v, a.top, n, l, I.TOP_RIGHT) : new g(a.left + a.width, a.top), this.bottomRightBorderBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f, h, I.BOTTOM_RIGHT) : new g(a.left + a.width, a.top + a.height), this.bottomLeftBorderBox = m > 0 || C > 0 ? W(a.left, a.top + M, m, C, I.BOTTOM_LEFT) : new g(a.left, a.top + a.height), this.topLeftPaddingBox = s > 0 || t > 0 ? W(a.left + b, a.top + p, Math.max(0, s - b), Math.max(0, t - p), I.TOP_LEFT) : new g(a.left + b, a.top + p), this.topRightPaddingBox = n > 0 || l > 0 ? W(a.left + Math.min(v, a.width - x), a.top + p, v > a.width + x ? 0 : Math.max(0, n - x), Math.max(0, l - p), I.TOP_RIGHT) : new g(a.left + a.width - x, a.top + p), this.bottomRightPaddingBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - b), a.top + Math.min(L, a.height - N), Math.max(0, f - x), Math.max(0, h - N), I.BOTTOM_RIGHT) : new g(a.left + a.width - x, a.top + a.height - N), this.bottomLeftPaddingBox = m > 0 || C > 0 ? W(a.left + b, a.top + Math.min(M, a.height - N), Math.max(0, m - b), Math.max(0, C - N), I.BOTTOM_LEFT) : new g(a.left + b, a.top + a.height - N), this.topLeftContentBox = s > 0 || t > 0 ? W(a.left + b + T, a.top + p + q, Math.max(0, s - (b + T)), Math.max(0, t - (p + q)), I.TOP_LEFT) : new g(a.left + b + T, a.top + p + q), this.topRightContentBox = n > 0 || l > 0 ? W(a.left + Math.min(v, a.width + b + T), a.top + p + q, v > a.width + b + T ? 0 : n - b + T, l - (p + q), I.TOP_RIGHT) : new g(a.left + a.width - (x + h2), a.top + p + q), this.bottomRightContentBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - (b + T)), a.top + Math.min(L, a.height + p + q), Math.max(0, f - (x + h2)), h - (N + C2), I.BOTTOM_RIGHT) : new g(a.left + a.width - (x + h2), a.top + a.height - (N + C2)), this.bottomLeftContentBox = m > 0 || C > 0 ? W(a.left + b + T, a.top + M, Math.max(0, m - (b + T)), C - (N + C2), I.BOTTOM_LEFT) : new g(a.left + b + T, a.top + a.height - (N + C2));
6194
+ this.topLeftBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + b / 3, a.top + p / 3, s - b / 3, t - p / 3, I.TOP_LEFT) : new g(a.left + b / 3, a.top + p / 3), this.topRightBorderDoubleOuterBox = s > 0 || t > 0 ? W(a.left + v, a.top + p / 3, n - x / 3, o - p / 3, I.TOP_RIGHT) : new g(a.left + a.width - x / 3, a.top + p / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 3, h - N / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 3, a.top + a.height - N / 3), this.bottomLeftBorderDoubleOuterBox = m > 0 || C > 0 ? W(a.left + b / 3, a.top + M, m - b / 3, C - N / 3, I.BOTTOM_LEFT) : new g(a.left + b / 3, a.top + a.height - N / 3), this.topLeftBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + b * 2 / 3, a.top + p * 2 / 3, s - b * 2 / 3, t - p * 2 / 3, I.TOP_LEFT) : new g(a.left + b * 2 / 3, a.top + p * 2 / 3), this.topRightBorderDoubleInnerBox = s > 0 || t > 0 ? W(a.left + v, a.top + p * 2 / 3, n - x * 2 / 3, o - p * 2 / 3, I.TOP_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + p * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x * 2 / 3, h - N * 2 / 3, I.BOTTOM_RIGHT) : new g(a.left + a.width - x * 2 / 3, a.top + a.height - N * 2 / 3), this.bottomLeftBorderDoubleInnerBox = m > 0 || C > 0 ? W(a.left + b * 2 / 3, a.top + M, m - b * 2 / 3, C - N * 2 / 3, I.BOTTOM_LEFT) : new g(a.left + b * 2 / 3, a.top + a.height - N * 2 / 3), this.topLeftBorderStroke = s > 0 || t > 0 ? W(a.left + b / 2, a.top + p / 2, s - b / 2, t - p / 2, I.TOP_LEFT) : new g(a.left + b / 2, a.top + p / 2), this.topRightBorderStroke = s > 0 || t > 0 ? W(a.left + v, a.top + p / 2, n - x / 2, o - p / 2, I.TOP_RIGHT) : new g(a.left + a.width - x / 2, a.top + p / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f - x / 2, h - N / 2, I.BOTTOM_RIGHT) : new g(a.left + a.width - x / 2, a.top + a.height - N / 2), this.bottomLeftBorderStroke = m > 0 || C > 0 ? W(a.left + b / 2, a.top + M, m - b / 2, C - N / 2, I.BOTTOM_LEFT) : new g(a.left + b / 2, a.top + a.height - N / 2), this.topLeftBorderBox = s > 0 || t > 0 ? W(a.left, a.top, s, t, I.TOP_LEFT) : new g(a.left, a.top), this.topRightBorderBox = n > 0 || o > 0 ? W(a.left + v, a.top, n, o, I.TOP_RIGHT) : new g(a.left + a.width, a.top), this.bottomRightBorderBox = f > 0 || h > 0 ? W(a.left + Q, a.top + L, f, h, I.BOTTOM_RIGHT) : new g(a.left + a.width, a.top + a.height), this.bottomLeftBorderBox = m > 0 || C > 0 ? W(a.left, a.top + M, m, C, I.BOTTOM_LEFT) : new g(a.left, a.top + a.height), this.topLeftPaddingBox = s > 0 || t > 0 ? W(a.left + b, a.top + p, Math.max(0, s - b), Math.max(0, t - p), I.TOP_LEFT) : new g(a.left + b, a.top + p), this.topRightPaddingBox = n > 0 || o > 0 ? W(a.left + Math.min(v, a.width - x), a.top + p, v > a.width + x ? 0 : Math.max(0, n - x), Math.max(0, o - p), I.TOP_RIGHT) : new g(a.left + a.width - x, a.top + p), this.bottomRightPaddingBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - b), a.top + Math.min(L, a.height - N), Math.max(0, f - x), Math.max(0, h - N), I.BOTTOM_RIGHT) : new g(a.left + a.width - x, a.top + a.height - N), this.bottomLeftPaddingBox = m > 0 || C > 0 ? W(a.left + b, a.top + Math.min(M, a.height - N), Math.max(0, m - b), Math.max(0, C - N), I.BOTTOM_LEFT) : new g(a.left + b, a.top + a.height - N), this.topLeftContentBox = s > 0 || t > 0 ? W(a.left + b + T, a.top + p + q, Math.max(0, s - (b + T)), Math.max(0, t - (p + q)), I.TOP_LEFT) : new g(a.left + b + T, a.top + p + q), this.topRightContentBox = n > 0 || o > 0 ? W(a.left + Math.min(v, a.width + b + T), a.top + p + q, v > a.width + b + T ? 0 : n - b + T, o - (p + q), I.TOP_RIGHT) : new g(a.left + a.width - (x + h2), a.top + p + q), this.bottomRightContentBox = f > 0 || h > 0 ? W(a.left + Math.min(Q, a.width - (b + T)), a.top + Math.min(L, a.height + p + q), Math.max(0, f - (x + h2)), h - (N + C2), I.BOTTOM_RIGHT) : new g(a.left + a.width - (x + h2), a.top + a.height - (N + C2)), this.bottomLeftContentBox = m > 0 || C > 0 ? W(a.left + b + T, a.top + M, Math.max(0, m - (b + T)), C - (N + C2), I.BOTTOM_LEFT) : new g(a.left + b + T, a.top + a.height - (N + C2));
6174
6195
  }
6175
6196
  return A;
6176
6197
  }()
@@ -6179,17 +6200,17 @@ var wH = function(A, c) {
6179
6200
  A[A.TOP_LEFT = 0] = "TOP_LEFT", A[A.TOP_RIGHT = 1] = "TOP_RIGHT", A[A.BOTTOM_RIGHT = 2] = "BOTTOM_RIGHT", A[A.BOTTOM_LEFT = 3] = "BOTTOM_LEFT";
6180
6201
  })(I || (I = {}));
6181
6202
  var W = function(A, c, e, a, r) {
6182
- var s = 4 * ((Math.sqrt(2) - 1) / 3), t = e * s, i = a * s, n = A + e, l = c + a;
6203
+ var s = 4 * ((Math.sqrt(2) - 1) / 3), t = e * s, i = a * s, n = A + e, o = c + a;
6183
6204
  switch (r) {
6184
6205
  case I.TOP_LEFT:
6185
- return new O4(new g(A, l), new g(A, l - i), new g(n - t, c), new g(n, c));
6206
+ return new O4(new g(A, o), new g(A, o - i), new g(n - t, c), new g(n, c));
6186
6207
  case I.TOP_RIGHT:
6187
- return new O4(new g(A, c), new g(A + t, c), new g(n, l - i), new g(n, l));
6208
+ return new O4(new g(A, c), new g(A + t, c), new g(n, o - i), new g(n, o));
6188
6209
  case I.BOTTOM_RIGHT:
6189
- return new O4(new g(n, c), new g(n, c + i), new g(A + t, l), new g(A, l));
6210
+ return new O4(new g(n, c), new g(n, c + i), new g(A + t, o), new g(A, o));
6190
6211
  case I.BOTTOM_LEFT:
6191
6212
  default:
6192
- return new O4(new g(n, l), new g(n - t, l), new g(A, c + i), new g(A, c));
6213
+ return new O4(new g(n, o), new g(n - t, o), new g(A, c + i), new g(A, c));
6193
6214
  }
6194
6215
  }, H3 = function(A) {
6195
6216
  return [A.topLeftBorderBox, A.topRightBorderBox, A.bottomRightBorderBox, A.bottomLeftBorderBox];
@@ -6341,24 +6362,24 @@ var W = function(A, c, e, a, r) {
6341
6362
  /* IS_LIST_OWNER */
6342
6363
  ) ? [] : a;
6343
6364
  if (s || t) {
6344
- var l = s || r.styles.isPositioned() ? e : c, o = new A7(i);
6365
+ var o = s || r.styles.isPositioned() ? e : c, l = new A7(i);
6345
6366
  if (r.styles.isPositioned() || r.styles.opacity < 1 || r.styles.isTransformed()) {
6346
6367
  var f = r.styles.zIndex.order;
6347
6368
  if (f < 0) {
6348
6369
  var h = 0;
6349
- l.negativeZIndex.some(function(m, C) {
6370
+ o.negativeZIndex.some(function(m, C) {
6350
6371
  return f > m.element.container.styles.zIndex.order ? (h = C, !1) : h > 0;
6351
- }), l.negativeZIndex.splice(h, 0, o);
6372
+ }), o.negativeZIndex.splice(h, 0, l);
6352
6373
  } else if (f > 0) {
6353
6374
  var u = 0;
6354
- l.positiveZIndex.some(function(m, C) {
6375
+ o.positiveZIndex.some(function(m, C) {
6355
6376
  return f >= m.element.container.styles.zIndex.order ? (u = C + 1, !1) : u > 0;
6356
- }), l.positiveZIndex.splice(u, 0, o);
6377
+ }), o.positiveZIndex.splice(u, 0, l);
6357
6378
  } else
6358
- l.zeroOrAutoZIndexOrTransformedOrOpacity.push(o);
6379
+ o.zeroOrAutoZIndexOrTransformedOrOpacity.push(l);
6359
6380
  } else
6360
- r.styles.isFloating() ? l.nonPositionedFloats.push(o) : l.nonPositionedInlineLevel.push(o);
6361
- X6(i, o, s ? o : e, n);
6381
+ r.styles.isFloating() ? o.nonPositionedFloats.push(l) : o.nonPositionedInlineLevel.push(l);
6382
+ X6(i, l, s ? l : e, n);
6362
6383
  } else
6363
6384
  r.styles.isInlineLevel() ? c.inlineLevel.push(i) : c.nonInlineLevel.push(i), X6(i, c, e, n);
6364
6385
  A2(
@@ -6440,8 +6461,8 @@ var W = function(A, c, e, a, r) {
6440
6461
  }, ev = function(A, c) {
6441
6462
  return A === 0 ? c.bounds : A === 2 ? C3(c) : a7(c);
6442
6463
  }, g6 = function(A, c, e) {
6443
- var a = cv(F1(A.styles.backgroundOrigin, c), A), r = ev(F1(A.styles.backgroundClip, c), A), s = av(F1(A.styles.backgroundSize, c), e, a), t = s[0], i = s[1], n = q1(F1(A.styles.backgroundPosition, c), a.width - t, a.height - i), l = rv(F1(A.styles.backgroundRepeat, c), n, s, a, r), o = Math.round(a.left + n[0]), f = Math.round(a.top + n[1]);
6444
- return [l, o, f, t, i];
6464
+ var a = cv(F1(A.styles.backgroundOrigin, c), A), r = ev(F1(A.styles.backgroundClip, c), A), s = av(F1(A.styles.backgroundSize, c), e, a), t = s[0], i = s[1], n = q1(F1(A.styles.backgroundPosition, c), a.width - t, a.height - i), o = rv(F1(A.styles.backgroundRepeat, c), n, s, a, r), l = Math.round(a.left + n[0]), f = Math.round(a.top + n[1]);
6465
+ return [o, l, f, t, i];
6445
6466
  }, L1 = function(A) {
6446
6467
  return R(A) && A.value === y1.AUTO;
6447
6468
  }, W4 = function(A) {
@@ -6455,22 +6476,22 @@ var W = function(A, c, e, a, r) {
6455
6476
  var n = W4(s);
6456
6477
  if (R(t) && (t.value === y1.CONTAIN || t.value === y1.COVER)) {
6457
6478
  if (W4(s)) {
6458
- var l = e.width / e.height;
6459
- return l < s != (t.value === y1.COVER) ? [e.width, e.width / s] : [e.height * s, e.height];
6479
+ var o = e.width / e.height;
6480
+ return o < s != (t.value === y1.COVER) ? [e.width, e.width / s] : [e.height * s, e.height];
6460
6481
  }
6461
6482
  return [e.width, e.height];
6462
6483
  }
6463
- var o = W4(a), f = W4(r), h = o || f;
6484
+ var l = W4(a), f = W4(r), h = l || f;
6464
6485
  if (L1(t) && (!i || L1(i))) {
6465
- if (o && f)
6486
+ if (l && f)
6466
6487
  return [a, r];
6467
6488
  if (!n && !h)
6468
6489
  return [e.width, e.height];
6469
6490
  if (h && n) {
6470
- var u = o ? a : r * s, m = f ? r : a / s;
6491
+ var u = l ? a : r * s, m = f ? r : a / s;
6471
6492
  return [u, m];
6472
6493
  }
6473
- var C = o ? a : e.width, d = f ? r : e.height;
6494
+ var C = l ? a : e.width, d = f ? r : e.height;
6474
6495
  return [C, d];
6475
6496
  }
6476
6497
  if (n) {
@@ -6478,7 +6499,7 @@ var W = function(A, c, e, a, r) {
6478
6499
  return j(t) ? H = _(t, e.width) : j(i) && (v = _(i, e.height)), L1(t) ? H = v * s : (!i || L1(i)) && (v = H / s), [H, v];
6479
6500
  }
6480
6501
  var L = null, Q = null;
6481
- if (j(t) ? L = _(t, e.width) : i && j(i) && (Q = _(i, e.height)), L !== null && (!i || L1(i)) && (Q = o && f ? L / a * r : e.height), Q !== null && L1(t) && (L = o && f ? Q / r * a : e.width), L !== null && Q !== null)
6502
+ if (j(t) ? L = _(t, e.width) : i && j(i) && (Q = _(i, e.height)), L !== null && (!i || L1(i)) && (Q = l && f ? L / a * r : e.height), Q !== null && L1(t) && (L = l && f ? Q / r * a : e.width), L !== null && Q !== null)
6482
6503
  return [L, Q];
6483
6504
  throw new Error("Unable to calculate background-size for element");
6484
6505
  }, F1 = function(A, c) {
@@ -6622,32 +6643,32 @@ var W = function(A, c, e, a, r) {
6622
6643
  ];
6623
6644
  }, c.prototype.renderTextNode = function(e, a) {
6624
6645
  return l2(this, void 0, void 0, function() {
6625
- var r, s, t, i, n, l, o, f, h = this;
6646
+ var r, s, t, i, n, o, l, f, h = this;
6626
6647
  return i2(this, function(u) {
6627
- return r = this.createFontStyle(a), s = r[0], t = r[1], i = r[2], this.ctx.font = s, this.ctx.direction = a.direction === 1 ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", n = this.fontMetrics.getMetrics(t, i), l = n.baseline, o = n.middle, f = a.paintOrder, e.textBounds.forEach(function(m) {
6648
+ return r = this.createFontStyle(a), s = r[0], t = r[1], i = r[2], this.ctx.font = s, this.ctx.direction = a.direction === 1 ? "rtl" : "ltr", this.ctx.textAlign = "left", this.ctx.textBaseline = "alphabetic", n = this.fontMetrics.getMetrics(t, i), o = n.baseline, l = n.middle, f = a.paintOrder, e.textBounds.forEach(function(m) {
6628
6649
  f.forEach(function(C) {
6629
6650
  switch (C) {
6630
6651
  case 0:
6631
- h.ctx.fillStyle = e2(a.color), h.renderTextWithLetterSpacing(m, a.letterSpacing, l);
6652
+ h.ctx.fillStyle = e2(a.color), h.renderTextWithLetterSpacing(m, a.letterSpacing, o);
6632
6653
  var d = a.textShadow;
6633
6654
  d.length && m.text.trim().length && (d.slice(0).reverse().forEach(function(H) {
6634
- h.ctx.shadowColor = e2(H.color), h.ctx.shadowOffsetX = H.offsetX.number * h.options.scale, h.ctx.shadowOffsetY = H.offsetY.number * h.options.scale, h.ctx.shadowBlur = H.blur.number, h.renderTextWithLetterSpacing(m, a.letterSpacing, l);
6655
+ h.ctx.shadowColor = e2(H.color), h.ctx.shadowOffsetX = H.offsetX.number * h.options.scale, h.ctx.shadowOffsetY = H.offsetY.number * h.options.scale, h.ctx.shadowBlur = H.blur.number, h.renderTextWithLetterSpacing(m, a.letterSpacing, o);
6635
6656
  }), h.ctx.shadowColor = "", h.ctx.shadowOffsetX = 0, h.ctx.shadowOffsetY = 0, h.ctx.shadowBlur = 0), a.textDecorationLine.length && (h.ctx.fillStyle = e2(a.textDecorationColor || a.color), a.textDecorationLine.forEach(function(H) {
6636
6657
  switch (H) {
6637
6658
  case 1:
6638
- h.ctx.fillRect(m.bounds.left, Math.round(m.bounds.top + l), m.bounds.width, 1);
6659
+ h.ctx.fillRect(m.bounds.left, Math.round(m.bounds.top + o), m.bounds.width, 1);
6639
6660
  break;
6640
6661
  case 2:
6641
6662
  h.ctx.fillRect(m.bounds.left, Math.round(m.bounds.top), m.bounds.width, 1);
6642
6663
  break;
6643
6664
  case 3:
6644
- h.ctx.fillRect(m.bounds.left, Math.ceil(m.bounds.top + o), m.bounds.width, 1);
6665
+ h.ctx.fillRect(m.bounds.left, Math.ceil(m.bounds.top + l), m.bounds.width, 1);
6645
6666
  break;
6646
6667
  }
6647
6668
  }));
6648
6669
  break;
6649
6670
  case 1:
6650
- a.webkitTextStrokeWidth && m.text.trim().length && (h.ctx.strokeStyle = e2(a.webkitTextStrokeColor), h.ctx.lineWidth = a.webkitTextStrokeWidth, h.ctx.lineJoin = window.chrome ? "miter" : "round", h.ctx.strokeText(m.text, m.bounds.left, m.bounds.top + l)), h.ctx.strokeStyle = "", h.ctx.lineWidth = 0, h.ctx.lineJoin = "miter";
6671
+ a.webkitTextStrokeWidth && m.text.trim().length && (h.ctx.strokeStyle = e2(a.webkitTextStrokeColor), h.ctx.lineWidth = a.webkitTextStrokeWidth, h.ctx.lineJoin = window.chrome ? "miter" : "round", h.ctx.strokeText(m.text, m.bounds.left, m.bounds.top + o)), h.ctx.strokeStyle = "", h.ctx.lineWidth = 0, h.ctx.lineJoin = "miter";
6651
6672
  break;
6652
6673
  }
6653
6674
  });
@@ -6664,7 +6685,7 @@ var W = function(A, c, e, a, r) {
6664
6685
  }
6665
6686
  }, c.prototype.renderNodeContent = function(e) {
6666
6687
  return l2(this, void 0, void 0, function() {
6667
- var a, r, s, t, i, n, v, v, l, o, f, h, Q, u, m, M, C, d, H, v, L, Q, M;
6688
+ var a, r, s, t, i, n, v, v, o, l, f, h, Q, u, m, M, C, d, H, v, L, Q, M;
6668
6689
  return i2(this, function(p) {
6669
6690
  switch (p.label) {
6670
6691
  case 0:
@@ -6699,16 +6720,16 @@ var W = function(A, c, e, a, r) {
6699
6720
  case 11:
6700
6721
  return p.sent(), this.context.logger.error("Error loading svg " + a.svg.substring(0, 255)), [3, 12];
6701
6722
  case 12:
6702
- return a instanceof _5 && a.tree ? (l = new c(this.context, {
6723
+ return a instanceof _5 && a.tree ? (o = new c(this.context, {
6703
6724
  scale: this.options.scale,
6704
6725
  backgroundColor: a.backgroundColor,
6705
6726
  x: 0,
6706
6727
  y: 0,
6707
6728
  width: a.width,
6708
6729
  height: a.height
6709
- }), [4, l.render(a.tree)]) : [3, 14];
6730
+ }), [4, o.render(a.tree)]) : [3, 14];
6710
6731
  case 13:
6711
- o = p.sent(), a.width && a.height && this.ctx.drawImage(o, 0, 0, a.width, a.height, a.bounds.left, a.bounds.top, a.bounds.width, a.bounds.height), p.label = 14;
6732
+ l = p.sent(), a.width && a.height && this.ctx.drawImage(l, 0, 0, a.width, a.height, a.bounds.left, a.bounds.top, a.bounds.width, a.bounds.height), p.label = 14;
6712
6733
  case 14:
6713
6734
  if (a instanceof u0 && (f = Math.min(a.bounds.width, a.bounds.height), a.type === f3 ? a.checked && (this.ctx.save(), this.path([
6714
6735
  new g(a.bounds.left + f * 0.39363, a.bounds.top + f * 0.79),
@@ -6765,7 +6786,7 @@ var W = function(A, c, e, a, r) {
6765
6786
  });
6766
6787
  }, c.prototype.renderStackContent = function(e) {
6767
6788
  return l2(this, void 0, void 0, function() {
6768
- var a, r, H, s, t, H, i, n, H, l, o, H, f, h, H, u, m, H, C, d, H;
6789
+ var a, r, H, s, t, H, i, n, H, o, l, H, f, h, H, u, m, H, C, d, H;
6769
6790
  return i2(this, function(v) {
6770
6791
  switch (v.label) {
6771
6792
  case 0:
@@ -6803,13 +6824,13 @@ var W = function(A, c, e, a, r) {
6803
6824
  case 13:
6804
6825
  return i++, [3, 11];
6805
6826
  case 14:
6806
- l = 0, o = e.nonPositionedInlineLevel, v.label = 15;
6827
+ o = 0, l = e.nonPositionedInlineLevel, v.label = 15;
6807
6828
  case 15:
6808
- return l < o.length ? (H = o[l], [4, this.renderStack(H)]) : [3, 18];
6829
+ return o < l.length ? (H = l[o], [4, this.renderStack(H)]) : [3, 18];
6809
6830
  case 16:
6810
6831
  v.sent(), v.label = 17;
6811
6832
  case 17:
6812
- return l++, [3, 15];
6833
+ return o++, [3, 15];
6813
6834
  case 18:
6814
6835
  f = 0, h = e.inlineLevel, v.label = 19;
6815
6836
  case 19:
@@ -6865,17 +6886,17 @@ var W = function(A, c, e, a, r) {
6865
6886
  }, c.prototype.renderBackgroundImage = function(e) {
6866
6887
  return l2(this, void 0, void 0, function() {
6867
6888
  var a, r, s, t, i, n;
6868
- return i2(this, function(l) {
6869
- switch (l.label) {
6889
+ return i2(this, function(o) {
6890
+ switch (o.label) {
6870
6891
  case 0:
6871
- a = e.styles.backgroundImage.length - 1, r = function(o) {
6892
+ a = e.styles.backgroundImage.length - 1, r = function(l) {
6872
6893
  var f, h, u, q, u2, m2, T, a2, N, m, q, u2, m2, T, a2, C, d, H, v, L, Q, M, p, x, N, b, q, h2, C2, T, a2, W2, u2, m2, i1, b2, X2, n1, o1, E2, l1, k2;
6873
6894
  return i2(this, function(g1) {
6874
6895
  switch (g1.label) {
6875
6896
  case 0:
6876
- if (o.type !== 0)
6897
+ if (l.type !== 0)
6877
6898
  return [3, 5];
6878
- f = void 0, h = o.url, g1.label = 1;
6899
+ f = void 0, h = l.url, g1.label = 1;
6879
6900
  case 1:
6880
6901
  return g1.trys.push([1, 3, , 4]), [4, s.context.cache.match(h)];
6881
6902
  case 2:
@@ -6889,13 +6910,13 @@ var W = function(A, c, e, a, r) {
6889
6910
  f.width / f.height
6890
6911
  ]), q = u[0], u2 = u[1], m2 = u[2], T = u[3], a2 = u[4], N = s.ctx.createPattern(s.resizeImage(f, T, a2), "repeat"), s.renderRepeat(q, N, u2, m2)), [3, 6];
6891
6912
  case 5:
6892
- qh(o) ? (m = g6(e, a, [null, null, null]), q = m[0], u2 = m[1], m2 = m[2], T = m[3], a2 = m[4], C = Oh(o.angle, T, a2), d = C[0], H = C[1], v = C[2], L = C[3], Q = C[4], M = document.createElement("canvas"), M.width = T, M.height = a2, p = M.getContext("2d"), x = p.createLinearGradient(H, L, v, Q), q8(o.stops, d).forEach(function(T1) {
6913
+ qh(l) ? (m = g6(e, a, [null, null, null]), q = m[0], u2 = m[1], m2 = m[2], T = m[3], a2 = m[4], C = Oh(l.angle, T, a2), d = C[0], H = C[1], v = C[2], L = C[3], Q = C[4], M = document.createElement("canvas"), M.width = T, M.height = a2, p = M.getContext("2d"), x = p.createLinearGradient(H, L, v, Q), q8(l.stops, d).forEach(function(T1) {
6893
6914
  return x.addColorStop(T1.stop, e2(T1.color));
6894
- }), p.fillStyle = x, p.fillRect(0, 0, T, a2), T > 0 && a2 > 0 && (N = s.ctx.createPattern(M, "repeat"), s.renderRepeat(q, N, u2, m2))) : Yh(o) && (b = g6(e, a, [
6915
+ }), p.fillStyle = x, p.fillRect(0, 0, T, a2), T > 0 && a2 > 0 && (N = s.ctx.createPattern(M, "repeat"), s.renderRepeat(q, N, u2, m2))) : Yh(l) && (b = g6(e, a, [
6895
6916
  null,
6896
6917
  null,
6897
6918
  null
6898
- ]), q = b[0], h2 = b[1], C2 = b[2], T = b[3], a2 = b[4], W2 = o.position.length === 0 ? [o0] : o.position, u2 = _(W2[0], T), m2 = _(W2[W2.length - 1], a2), i1 = Ph(o, u2, m2, T, a2), b2 = i1[0], X2 = i1[1], b2 > 0 && X2 > 0 && (n1 = s.ctx.createRadialGradient(h2 + u2, C2 + m2, 0, h2 + u2, C2 + m2, b2), q8(o.stops, b2 * 2).forEach(function(T1) {
6919
+ ]), q = b[0], h2 = b[1], C2 = b[2], T = b[3], a2 = b[4], W2 = l.position.length === 0 ? [o0] : l.position, u2 = _(W2[0], T), m2 = _(W2[W2.length - 1], a2), i1 = Ph(l, u2, m2, T, a2), b2 = i1[0], X2 = i1[1], b2 > 0 && X2 > 0 && (n1 = s.ctx.createRadialGradient(h2 + u2, C2 + m2, 0, h2 + u2, C2 + m2, b2), q8(l.stops, b2 * 2).forEach(function(T1) {
6899
6920
  return n1.addColorStop(T1.stop, e2(T1.color));
6900
6921
  }), s.path(q), s.ctx.fillStyle = n1, b2 !== X2 ? (o1 = e.bounds.left + 0.5 * e.bounds.width, E2 = e.bounds.top + 0.5 * e.bounds.height, l1 = X2 / b2, k2 = 1 / l1, s.ctx.save(), s.ctx.translate(o1, E2), s.ctx.transform(1, 0, 0, l1, 0, 0), s.ctx.translate(-o1, -E2), s.ctx.fillRect(h2, k2 * (C2 - E2) + E2, T, a2 * k2), s.ctx.restore()) : s.ctx.fill())), g1.label = 6;
6901
6922
  case 6:
@@ -6905,11 +6926,11 @@ var W = function(A, c, e, a, r) {
6905
6926
  ];
6906
6927
  }
6907
6928
  });
6908
- }, s = this, t = 0, i = e.styles.backgroundImage.slice(0).reverse(), l.label = 1;
6929
+ }, s = this, t = 0, i = e.styles.backgroundImage.slice(0).reverse(), o.label = 1;
6909
6930
  case 1:
6910
6931
  return t < i.length ? (n = i[t], [5, r(n)]) : [3, 4];
6911
6932
  case 2:
6912
- l.sent(), l.label = 3;
6933
+ o.sent(), o.label = 3;
6913
6934
  case 3:
6914
6935
  return t++, [3, 1];
6915
6936
  case 4:
@@ -6951,7 +6972,7 @@ var W = function(A, c, e, a, r) {
6951
6972
  });
6952
6973
  }, c.prototype.renderNodeBackgroundAndBorders = function(e) {
6953
6974
  return l2(this, void 0, void 0, function() {
6954
- var a, r, s, t, i, n, l, o, f = this;
6975
+ var a, r, s, t, i, n, o, l, f = this;
6955
6976
  return i2(this, function(h) {
6956
6977
  switch (h.label) {
6957
6978
  case 0:
@@ -6971,11 +6992,11 @@ var W = function(A, c, e, a, r) {
6971
6992
  u.inset ? (f.path(m), f.ctx.clip(), f.mask(d)) : (f.mask(m), f.ctx.clip(), f.path(d)), f.ctx.shadowOffsetX = u.offsetX.number + C, f.ctx.shadowOffsetY = u.offsetY.number, f.ctx.shadowColor = e2(u.color), f.ctx.shadowBlur = u.blur.number, f.ctx.fillStyle = u.inset ? e2(u.color) : "rgba(0,0,0,1)", f.ctx.fill(), f.ctx.restore();
6972
6993
  }), h.label = 2;
6973
6994
  case 2:
6974
- i = 0, n = 0, l = s, h.label = 3;
6995
+ i = 0, n = 0, o = s, h.label = 3;
6975
6996
  case 3:
6976
- return n < l.length ? (o = l[n], o.style !== 0 && !e1(o.color) && o.width > 0 ? o.style !== 2 ? [3, 5] : [4, this.renderDashedDottedBorder(
6977
- o.color,
6978
- o.width,
6997
+ return n < o.length ? (l = o[n], l.style !== 0 && !e1(l.color) && l.width > 0 ? l.style !== 2 ? [3, 5] : [4, this.renderDashedDottedBorder(
6998
+ l.color,
6999
+ l.width,
6979
7000
  i,
6980
7001
  e.curves,
6981
7002
  2
@@ -6984,9 +7005,9 @@ var W = function(A, c, e, a, r) {
6984
7005
  case 4:
6985
7006
  return h.sent(), [3, 11];
6986
7007
  case 5:
6987
- return o.style !== 3 ? [3, 7] : [4, this.renderDashedDottedBorder(
6988
- o.color,
6989
- o.width,
7008
+ return l.style !== 3 ? [3, 7] : [4, this.renderDashedDottedBorder(
7009
+ l.color,
7010
+ l.width,
6990
7011
  i,
6991
7012
  e.curves,
6992
7013
  3
@@ -6995,11 +7016,11 @@ var W = function(A, c, e, a, r) {
6995
7016
  case 6:
6996
7017
  return h.sent(), [3, 11];
6997
7018
  case 7:
6998
- return o.style !== 4 ? [3, 9] : [4, this.renderDoubleBorder(o.color, o.width, i, e.curves)];
7019
+ return l.style !== 4 ? [3, 9] : [4, this.renderDoubleBorder(l.color, l.width, i, e.curves)];
6999
7020
  case 8:
7000
7021
  return h.sent(), [3, 11];
7001
7022
  case 9:
7002
- return [4, this.renderSolidBorder(o.color, i, e.curves)];
7023
+ return [4, this.renderSolidBorder(l.color, i, e.curves)];
7003
7024
  case 10:
7004
7025
  h.sent(), h.label = 11;
7005
7026
  case 11:
@@ -7016,9 +7037,9 @@ var W = function(A, c, e, a, r) {
7016
7037
  });
7017
7038
  }, c.prototype.renderDashedDottedBorder = function(e, a, r, s, t) {
7018
7039
  return l2(this, void 0, void 0, function() {
7019
- var i, n, l, o, f, h, u, m, C, d, H, v, L, Q, M, p, M, p;
7040
+ var i, n, o, l, f, h, u, m, C, d, H, v, L, Q, M, p, M, p;
7020
7041
  return i2(this, function(x) {
7021
- return this.ctx.save(), i = Av(s, r), n = wA(s, r), t === 2 && (this.path(n), this.ctx.clip()), z2(n[0]) ? (l = n[0].start.x, o = n[0].start.y) : (l = n[0].x, o = n[0].y), z2(n[1]) ? (f = n[1].end.x, h = n[1].end.y) : (f = n[1].x, h = n[1].y), r === 0 || r === 2 ? u = Math.abs(l - f) : u = Math.abs(o - h), this.ctx.beginPath(), t === 3 ? this.formatPath(i) : this.formatPath(n.slice(0, 2)), m = a < 3 ? a * 3 : a * 2, C = a < 3 ? a * 2 : a, t === 3 && (m = a, C = a), d = !0, u <= m * 2 ? d = !1 : u <= m * 2 + C ? (H = u / (2 * m + C), m *= H, C *= H) : (v = Math.floor((u + C) / (m + C)), L = (u - v * m) / (v - 1), Q = (u - (v + 1) * m) / v, C = Q <= 0 || Math.abs(C - L) < Math.abs(C - Q) ? L : Q), d && (t === 3 ? this.ctx.setLineDash([0, m + C]) : this.ctx.setLineDash([m, C])), t === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = a) : this.ctx.lineWidth = a * 2 + 1.1, this.ctx.strokeStyle = e2(e), this.ctx.stroke(), this.ctx.setLineDash([]), t === 2 && (z2(n[0]) && (M = n[3], p = n[0], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke()), z2(n[1]) && (M = n[1], p = n[2], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
7042
+ return this.ctx.save(), i = Av(s, r), n = wA(s, r), t === 2 && (this.path(n), this.ctx.clip()), z2(n[0]) ? (o = n[0].start.x, l = n[0].start.y) : (o = n[0].x, l = n[0].y), z2(n[1]) ? (f = n[1].end.x, h = n[1].end.y) : (f = n[1].x, h = n[1].y), r === 0 || r === 2 ? u = Math.abs(o - f) : u = Math.abs(l - h), this.ctx.beginPath(), t === 3 ? this.formatPath(i) : this.formatPath(n.slice(0, 2)), m = a < 3 ? a * 3 : a * 2, C = a < 3 ? a * 2 : a, t === 3 && (m = a, C = a), d = !0, u <= m * 2 ? d = !1 : u <= m * 2 + C ? (H = u / (2 * m + C), m *= H, C *= H) : (v = Math.floor((u + C) / (m + C)), L = (u - v * m) / (v - 1), Q = (u - (v + 1) * m) / v, C = Q <= 0 || Math.abs(C - L) < Math.abs(C - Q) ? L : Q), d && (t === 3 ? this.ctx.setLineDash([0, m + C]) : this.ctx.setLineDash([m, C])), t === 3 ? (this.ctx.lineCap = "round", this.ctx.lineWidth = a) : this.ctx.lineWidth = a * 2 + 1.1, this.ctx.strokeStyle = e2(e), this.ctx.stroke(), this.ctx.setLineDash([]), t === 2 && (z2(n[0]) && (M = n[3], p = n[0], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke()), z2(n[1]) && (M = n[1], p = n[2], this.ctx.beginPath(), this.formatPath([new g(M.end.x, M.end.y), new g(p.start.x, p.start.y)]), this.ctx.stroke())), this.ctx.restore(), [
7022
7043
  2
7023
7044
  /*return*/
7024
7045
  ];
@@ -7135,7 +7156,7 @@ var W = function(A, c, e, a, r) {
7135
7156
  typeof window < "u" && j5.setContext(window);
7136
7157
  var pv = function(A, c) {
7137
7158
  return l2(void 0, void 0, void 0, function() {
7138
- var e, a, r, s, t, i, n, l, o, f, h, u, m, C, d, H, v, L, Q, M, x, p, x, N, b, q, h2, C2, T, a2, W2, u2, m2, i1, b2, X2, n1, o1, E2, l1;
7159
+ var e, a, r, s, t, i, n, o, l, f, h, u, m, C, d, H, v, L, Q, M, x, p, x, N, b, q, h2, C2, T, a2, W2, u2, m2, i1, b2, X2, n1, o1, E2, l1;
7139
7160
  return i2(this, function(k2) {
7140
7161
  switch (k2.label) {
7141
7162
  case 0:
@@ -7155,13 +7176,13 @@ var pv = function(A, c) {
7155
7176
  windowHeight: (T = c.windowHeight) !== null && T !== void 0 ? T : a.innerHeight,
7156
7177
  scrollX: (a2 = c.scrollX) !== null && a2 !== void 0 ? a2 : a.pageXOffset,
7157
7178
  scrollY: (W2 = c.scrollY) !== null && W2 !== void 0 ? W2 : a.pageYOffset
7158
- }, i = new R2(t.scrollX, t.scrollY, t.windowWidth, t.windowHeight), n = new Cv(s, i), l = (u2 = c.foreignObjectRendering) !== null && u2 !== void 0 ? u2 : !1, o = {
7179
+ }, i = new R2(t.scrollX, t.scrollY, t.windowWidth, t.windowHeight), n = new Cv(s, i), o = (u2 = c.foreignObjectRendering) !== null && u2 !== void 0 ? u2 : !1, l = {
7159
7180
  allowTaint: (m2 = c.allowTaint) !== null && m2 !== void 0 ? m2 : !1,
7160
7181
  onclone: c.onclone,
7161
7182
  ignoreElements: c.ignoreElements,
7162
- inlineImages: l,
7163
- copyStyles: l
7164
- }, n.logger.debug("Starting document clone with size " + i.width + "x" + i.height + " scrolled to " + -i.left + "," + -i.top), f = new zA(n, A, o), h = f.clonedReferenceElement, h ? [4, f.toIFrame(e, i)] : [2, Promise.reject("Unable to find element in cloned iframe")];
7183
+ inlineImages: o,
7184
+ copyStyles: o
7185
+ }, n.logger.debug("Starting document clone with size " + i.width + "x" + i.height + " scrolled to " + -i.left + "," + -i.top), f = new zA(n, A, l), h = f.clonedReferenceElement, h ? [4, f.toIFrame(e, i)] : [2, Promise.reject("Unable to find element in cloned iframe")];
7165
7186
  case 1:
7166
7187
  return u = k2.sent(), m = m0(h) || gH(h) ? Yl(h.ownerDocument) : V3(n, h), C = m.width, d = m.height, H = m.left, v = m.top, L = gv(n, h, c.backgroundColor), Q = {
7167
7188
  canvas: c.canvas,
@@ -7171,7 +7192,7 @@ var pv = function(A, c) {
7171
7192
  y: ((n1 = c.y) !== null && n1 !== void 0 ? n1 : 0) + v,
7172
7193
  width: (o1 = c.width) !== null && o1 !== void 0 ? o1 : Math.ceil(C),
7173
7194
  height: (E2 = c.height) !== null && E2 !== void 0 ? E2 : Math.ceil(d)
7174
- }, l ? (n.logger.debug("Document cloned, using foreign object rendering"), x = new mv(n, Q), [4, x.render(h)]) : [3, 3];
7195
+ }, o ? (n.logger.debug("Document cloned, using foreign object rendering"), x = new mv(n, Q), [4, x.render(h)]) : [3, 3];
7175
7196
  case 2:
7176
7197
  return M = k2.sent(), [3, 5];
7177
7198
  case 3:
@@ -7191,65 +7212,65 @@ var pv = function(A, c) {
7191
7212
  (function(e, a) {
7192
7213
  a();
7193
7214
  })(O1, function() {
7194
- function e(l, o) {
7195
- return typeof o > "u" ? o = { autoBom: !1 } : typeof o != "object" && (console.warn("Deprecated: Expected third argument to be a object"), o = { autoBom: !o }), o.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(l.type) ? new Blob(["\uFEFF", l], { type: l.type }) : l;
7215
+ function e(o, l) {
7216
+ return typeof l > "u" ? l = { autoBom: !1 } : typeof l != "object" && (console.warn("Deprecated: Expected third argument to be a object"), l = { autoBom: !l }), l.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(o.type) ? new Blob(["\uFEFF", o], { type: o.type }) : o;
7196
7217
  }
7197
- function a(l, o, f) {
7218
+ function a(o, l, f) {
7198
7219
  var h = new XMLHttpRequest();
7199
- h.open("GET", l), h.responseType = "blob", h.onload = function() {
7200
- n(h.response, o, f);
7220
+ h.open("GET", o), h.responseType = "blob", h.onload = function() {
7221
+ n(h.response, l, f);
7201
7222
  }, h.onerror = function() {
7202
7223
  console.error("could not download file");
7203
7224
  }, h.send();
7204
7225
  }
7205
- function r(l) {
7206
- var o = new XMLHttpRequest();
7207
- o.open("HEAD", l, !1);
7226
+ function r(o) {
7227
+ var l = new XMLHttpRequest();
7228
+ l.open("HEAD", o, !1);
7208
7229
  try {
7209
- o.send();
7230
+ l.send();
7210
7231
  } catch {
7211
7232
  }
7212
- return 200 <= o.status && 299 >= o.status;
7233
+ return 200 <= l.status && 299 >= l.status;
7213
7234
  }
7214
- function s(l) {
7235
+ function s(o) {
7215
7236
  try {
7216
- l.dispatchEvent(new MouseEvent("click"));
7237
+ o.dispatchEvent(new MouseEvent("click"));
7217
7238
  } catch {
7218
- var o = document.createEvent("MouseEvents");
7219
- o.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), l.dispatchEvent(o);
7239
+ var l = document.createEvent("MouseEvents");
7240
+ l.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), o.dispatchEvent(l);
7220
7241
  }
7221
7242
  }
7222
7243
  var t = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof O1 == "object" && O1.global === O1 ? O1 : void 0, i = t.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), n = t.saveAs || (typeof window != "object" || window !== t ? function() {
7223
- } : "download" in HTMLAnchorElement.prototype && !i ? function(l, o, f) {
7244
+ } : "download" in HTMLAnchorElement.prototype && !i ? function(o, l, f) {
7224
7245
  var h = t.URL || t.webkitURL, u = document.createElement("a");
7225
- o = o || l.name || "download", u.download = o, u.rel = "noopener", typeof l == "string" ? (u.href = l, u.origin === location.origin ? s(u) : r(u.href) ? a(l, o, f) : s(u, u.target = "_blank")) : (u.href = h.createObjectURL(l), setTimeout(function() {
7246
+ l = l || o.name || "download", u.download = l, u.rel = "noopener", typeof o == "string" ? (u.href = o, u.origin === location.origin ? s(u) : r(u.href) ? a(o, l, f) : s(u, u.target = "_blank")) : (u.href = h.createObjectURL(o), setTimeout(function() {
7226
7247
  h.revokeObjectURL(u.href);
7227
7248
  }, 4e4), setTimeout(function() {
7228
7249
  s(u);
7229
7250
  }, 0));
7230
- } : "msSaveOrOpenBlob" in navigator ? function(l, o, f) {
7231
- if (o = o || l.name || "download", typeof l != "string")
7232
- navigator.msSaveOrOpenBlob(e(l, f), o);
7233
- else if (r(l))
7234
- a(l, o, f);
7251
+ } : "msSaveOrOpenBlob" in navigator ? function(o, l, f) {
7252
+ if (l = l || o.name || "download", typeof o != "string")
7253
+ navigator.msSaveOrOpenBlob(e(o, f), l);
7254
+ else if (r(o))
7255
+ a(o, l, f);
7235
7256
  else {
7236
7257
  var h = document.createElement("a");
7237
- h.href = l, h.target = "_blank", setTimeout(function() {
7258
+ h.href = o, h.target = "_blank", setTimeout(function() {
7238
7259
  s(h);
7239
7260
  });
7240
7261
  }
7241
- } : function(l, o, f, h) {
7242
- if (h = h || open("", "_blank"), h && (h.document.title = h.document.body.innerText = "downloading..."), typeof l == "string")
7243
- return a(l, o, f);
7244
- var u = l.type === "application/octet-stream", m = /constructor/i.test(t.HTMLElement) || t.safari, C = /CriOS\/[\d]+/.test(navigator.userAgent);
7262
+ } : function(o, l, f, h) {
7263
+ if (h = h || open("", "_blank"), h && (h.document.title = h.document.body.innerText = "downloading..."), typeof o == "string")
7264
+ return a(o, l, f);
7265
+ var u = o.type === "application/octet-stream", m = /constructor/i.test(t.HTMLElement) || t.safari, C = /CriOS\/[\d]+/.test(navigator.userAgent);
7245
7266
  if ((C || u && m || i) && typeof FileReader < "u") {
7246
7267
  var d = new FileReader();
7247
7268
  d.onloadend = function() {
7248
7269
  var L = d.result;
7249
7270
  L = C ? L : L.replace(/^data:[^;]*;/, "data:attachment/file;"), h ? h.location.href = L : location = L, h = null;
7250
- }, d.readAsDataURL(l);
7271
+ }, d.readAsDataURL(o);
7251
7272
  } else {
7252
- var H = t.URL || t.webkitURL, v = H.createObjectURL(l);
7273
+ var H = t.URL || t.webkitURL, v = H.createObjectURL(o);
7253
7274
  h ? h.location = v : location.href = v, h = null, setTimeout(function() {
7254
7275
  H.revokeObjectURL(v);
7255
7276
  }, 4e4);
@@ -7602,13 +7623,13 @@ function qv(A) {
7602
7623
  transform: "translate(".concat(e / 2, " 256)")
7603
7624
  }, s = "translate(".concat(c.x * 32, ", ").concat(c.y * 32, ") "), t = "scale(".concat(c.size / 16 * (c.flipX ? -1 : 1), ", ").concat(c.size / 16 * (c.flipY ? -1 : 1), ") "), i = "rotate(".concat(c.rotate, " 0 0)"), n = {
7604
7625
  transform: "".concat(s, " ").concat(t, " ").concat(i)
7605
- }, l = {
7626
+ }, o = {
7606
7627
  transform: "translate(".concat(a / 2 * -1, " -256)")
7607
7628
  };
7608
7629
  return {
7609
7630
  outer: r,
7610
7631
  inner: n,
7611
- path: l
7632
+ path: o
7612
7633
  };
7613
7634
  }
7614
7635
  function Yv(A) {
@@ -8434,10 +8455,10 @@ var AC = function(c, e) {
8434
8455
  return c.call(e, a, r, s, t);
8435
8456
  };
8436
8457
  }, z6 = function(c, e, a, r) {
8437
- var s = Object.keys(c), t = s.length, i = r !== void 0 ? AC(e, r) : e, n, l, o;
8438
- for (a === void 0 ? (n = 1, o = c[s[0]]) : (n = 0, o = a); n < t; n++)
8439
- l = s[n], o = i(o, c[l], l, c);
8440
- return o;
8458
+ var s = Object.keys(c), t = s.length, i = r !== void 0 ? AC(e, r) : e, n, o, l;
8459
+ for (a === void 0 ? (n = 1, l = c[s[0]]) : (n = 0, l = a); n < t; n++)
8460
+ o = s[n], l = i(l, c[o], o, c);
8461
+ return l;
8441
8462
  };
8442
8463
  function cC(A) {
8443
8464
  for (var c = [], e = 0, a = A.length; e < a; ) {
@@ -8573,20 +8594,20 @@ function N3(A) {
8573
8594
  var IA = (c3 = {}, c2(c3, P, Object.keys(f4[P])), c2(c3, Y, Object.keys(f4[Y])), c3);
8574
8595
  function E3(A) {
8575
8596
  var c, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.skipLookups, r = a === void 0 ? !1 : a, s = (c = {}, c2(c, P, "".concat(F.cssPrefix, "-").concat(P)), c2(c, Y, "".concat(F.cssPrefix, "-").concat(Y)), c), t = null, i = P;
8576
- (A.includes(s[P]) || A.some(function(l) {
8577
- return IA[P].includes(l);
8578
- })) && (i = P), (A.includes(s[Y]) || A.some(function(l) {
8579
- return IA[Y].includes(l);
8597
+ (A.includes(s[P]) || A.some(function(o) {
8598
+ return IA[P].includes(o);
8599
+ })) && (i = P), (A.includes(s[Y]) || A.some(function(o) {
8600
+ return IA[Y].includes(o);
8580
8601
  })) && (i = Y);
8581
- var n = A.reduce(function(l, o) {
8582
- var f = iC(F.cssPrefix, o);
8583
- if (b1[o] ? (o = rC[i].includes(o) ? Nv[i][o] : o, t = o, l.prefix = o) : sC[i].indexOf(o) > -1 ? (t = o, l.prefix = N3(o, {
8602
+ var n = A.reduce(function(o, l) {
8603
+ var f = iC(F.cssPrefix, l);
8604
+ if (b1[l] ? (l = rC[i].includes(l) ? Nv[i][l] : l, t = l, o.prefix = l) : sC[i].indexOf(l) > -1 ? (t = l, o.prefix = N3(l, {
8584
8605
  family: i
8585
- })) : f ? l.iconName = f : o !== F.replacementClass && o !== s[P] && o !== s[Y] && l.rest.push(o), !r && l.prefix && l.iconName) {
8586
- var h = t === "fa" ? w7(l.iconName) : {}, u = H1(l.prefix, l.iconName);
8587
- h.prefix && (t = null), l.iconName = h.iconName || u || l.iconName, l.prefix = h.prefix || l.prefix, l.prefix === "far" && !b1.far && b1.fas && !F.autoFetchSvg && (l.prefix = "fas");
8606
+ })) : f ? o.iconName = f : l !== F.replacementClass && l !== s[P] && l !== s[Y] && o.rest.push(l), !r && o.prefix && o.iconName) {
8607
+ var h = t === "fa" ? w7(o.iconName) : {}, u = H1(o.prefix, o.iconName);
8608
+ h.prefix && (t = null), o.iconName = h.iconName || u || o.iconName, o.prefix = h.prefix || o.prefix, o.prefix === "far" && !b1.far && b1.fas && !F.autoFetchSvg && (o.prefix = "fas");
8588
8609
  }
8589
- return l;
8610
+ return o;
8590
8611
  }, M0());
8591
8612
  return (A.includes("fa-brands") || A.includes("fab")) && (n.prefix = "fab"), (A.includes("fa-duotone") || A.includes("fad")) && (n.prefix = "fad"), !n.prefix && i === Y && (b1.fass || F.autoFetchSvg) && (n.prefix = "fass", n.iconName = H1(n.prefix, n.iconName) || n.iconName), (n.prefix === "fa" || t === "fa") && (n.prefix = s1() || "fas"), n;
8592
8613
  }
@@ -8618,10 +8639,10 @@ var lC = /* @__PURE__ */ function() {
8618
8639
  0: a
8619
8640
  } : a;
8620
8641
  return Object.keys(r).map(function(s) {
8621
- var t = r[s], i = t.prefix, n = t.iconName, l = t.icon, o = l[2];
8622
- e[i] || (e[i] = {}), o.length > 0 && o.forEach(function(f) {
8623
- typeof f == "string" && (e[i][f] = l);
8624
- }), e[i][n] = l;
8642
+ var t = r[s], i = t.prefix, n = t.iconName, o = t.icon, l = o[2];
8643
+ e[i] || (e[i] = {}), l.length > 0 && l.forEach(function(f) {
8644
+ typeof f == "string" && (e[i][f] = o);
8645
+ }), e[i][n] = o;
8625
8646
  }), e;
8626
8647
  }
8627
8648
  }]), A;
@@ -8754,12 +8775,12 @@ function k3(A, c) {
8754
8775
  function CC(A) {
8755
8776
  var c = A.children, e = A.main, a = A.mask, r = A.attributes, s = A.styles, t = A.transform;
8756
8777
  if (d0(t) && e.found && !a.found) {
8757
- var i = e.width, n = e.height, l = {
8778
+ var i = e.width, n = e.height, o = {
8758
8779
  x: i / n / 2,
8759
8780
  y: 0.5
8760
8781
  };
8761
8782
  r.style = S3(w(w({}, s), {}, {
8762
- "transform-origin": "".concat(l.x + t.x / 16, "em ").concat(l.y + t.y / 16, "em")
8783
+ "transform-origin": "".concat(o.x + t.x / 16, "em ").concat(o.y + t.y / 16, "em")
8763
8784
  }));
8764
8785
  }
8765
8786
  return [{
@@ -8785,7 +8806,7 @@ function BC(A) {
8785
8806
  }];
8786
8807
  }
8787
8808
  function w0(A) {
8788
- var c = A.icons, e = c.main, a = c.mask, r = A.prefix, s = A.iconName, t = A.transform, i = A.symbol, n = A.title, l = A.maskId, o = A.titleId, f = A.extra, h = A.watchable, u = h === void 0 ? !1 : h, m = a.found ? a : e, C = m.width, d = m.height, H = r === "fak", v = [F.replacementClass, s ? "".concat(F.cssPrefix, "-").concat(s) : ""].filter(function(b) {
8809
+ var c = A.icons, e = c.main, a = c.mask, r = A.prefix, s = A.iconName, t = A.transform, i = A.symbol, n = A.title, o = A.maskId, l = A.titleId, f = A.extra, h = A.watchable, u = h === void 0 ? !1 : h, m = a.found ? a : e, C = m.width, d = m.height, H = r === "fak", v = [F.replacementClass, s ? "".concat(F.cssPrefix, "-").concat(s) : ""].filter(function(b) {
8789
8810
  return f.classes.indexOf(b) === -1;
8790
8811
  }).filter(function(b) {
8791
8812
  return b !== "" || !!b;
@@ -8805,7 +8826,7 @@ function w0(A) {
8805
8826
  u && (L.attributes[B1] = ""), n && (L.children.push({
8806
8827
  tag: "title",
8807
8828
  attributes: {
8808
- id: L.attributes["aria-labelledby"] || "title-".concat(o || u4())
8829
+ id: L.attributes["aria-labelledby"] || "title-".concat(l || u4())
8809
8830
  },
8810
8831
  children: [n]
8811
8832
  }), delete L.attributes.title);
@@ -8814,7 +8835,7 @@ function w0(A) {
8814
8835
  iconName: s,
8815
8836
  main: e,
8816
8837
  mask: a,
8817
- maskId: l,
8838
+ maskId: o,
8818
8839
  transform: t,
8819
8840
  symbol: i,
8820
8841
  styles: w(w({}, Q), f.styles)
@@ -8828,25 +8849,25 @@ function w0(A) {
8828
8849
  return M.children = x, M.attributes = N, i ? BC(M) : CC(M);
8829
8850
  }
8830
8851
  function DA(A) {
8831
- var c = A.content, e = A.width, a = A.height, r = A.transform, s = A.title, t = A.extra, i = A.watchable, n = i === void 0 ? !1 : i, l = w(w(w({}, t.attributes), s ? {
8852
+ var c = A.content, e = A.width, a = A.height, r = A.transform, s = A.title, t = A.extra, i = A.watchable, n = i === void 0 ? !1 : i, o = w(w(w({}, t.attributes), s ? {
8832
8853
  title: s
8833
8854
  } : {}), {}, {
8834
8855
  class: t.classes.join(" ")
8835
8856
  });
8836
- n && (l[B1] = "");
8837
- var o = w({}, t.styles);
8838
- d0(r) && (o.transform = Yv({
8857
+ n && (o[B1] = "");
8858
+ var l = w({}, t.styles);
8859
+ d0(r) && (l.transform = Yv({
8839
8860
  transform: r,
8840
8861
  startCentered: !0,
8841
8862
  width: e,
8842
8863
  height: a
8843
- }), o["-webkit-transform"] = o.transform);
8844
- var f = S3(o);
8845
- f.length > 0 && (l.style = f);
8864
+ }), l["-webkit-transform"] = l.transform);
8865
+ var f = S3(l);
8866
+ f.length > 0 && (o.style = f);
8846
8867
  var h = [];
8847
8868
  return h.push({
8848
8869
  tag: "span",
8849
- attributes: l,
8870
+ attributes: o,
8850
8871
  children: [c]
8851
8872
  }), s && h.push({
8852
8873
  tag: "span",
@@ -9052,14 +9073,14 @@ var g3 = null;
9052
9073
  function OA(A) {
9053
9074
  if (yA && F.observeMutations) {
9054
9075
  var c = A.treeCallback, e = c === void 0 ? t3 : c, a = A.nodeCallback, r = a === void 0 ? t3 : a, s = A.pseudoElementsCallback, t = s === void 0 ? t3 : s, i = A.observeMutationsRoot, n = i === void 0 ? G : i;
9055
- g3 = new yA(function(l) {
9076
+ g3 = new yA(function(o) {
9056
9077
  if (!Q0) {
9057
- var o = s1();
9058
- I1(l).forEach(function(f) {
9078
+ var l = s1();
9079
+ I1(o).forEach(function(f) {
9059
9080
  if (f.type === "childList" && f.addedNodes.length > 0 && !RA(f.addedNodes[0]) && (F.searchPseudoElements && t(f.target), e(f.target)), f.type === "attributes" && f.target.parentNode && F.searchPseudoElements && t(f.target.parentNode), f.type === "attributes" && RA(f.target) && ~Dv.indexOf(f.attributeName))
9060
9081
  if (f.attributeName === "class" && VC(f.target)) {
9061
9082
  var h = E3(g0(f.target)), u = h.prefix, m = h.iconName;
9062
- f.target.setAttribute(C0, u || o), m && f.target.setAttribute(B0, m);
9083
+ f.target.setAttribute(C0, u || l), m && f.target.setAttribute(B0, m);
9063
9084
  } else
9064
9085
  MC(f.target) && r(f.target);
9065
9086
  });
@@ -9159,12 +9180,12 @@ function GA(A) {
9159
9180
  return e.add("".concat(SA, "-").concat(f));
9160
9181
  }, r = function(f) {
9161
9182
  return e.remove("".concat(SA, "-").concat(f));
9162
- }, s = F.autoFetchSvg ? t1 : p0.map(function(o) {
9163
- return "fa-".concat(o);
9183
+ }, s = F.autoFetchSvg ? t1 : p0.map(function(l) {
9184
+ return "fa-".concat(l);
9164
9185
  }).concat(Object.keys(NC));
9165
9186
  s.includes("fa") || s.push("fa");
9166
- var t = [".".concat(u7, ":not([").concat(B1, "])")].concat(s.map(function(o) {
9167
- return ".".concat(o, ":not([").concat(B1, "])");
9187
+ var t = [".".concat(u7, ":not([").concat(B1, "])")].concat(s.map(function(l) {
9188
+ return ".".concat(l, ":not([").concat(B1, "])");
9168
9189
  })).join(", ");
9169
9190
  if (t.length === 0)
9170
9191
  return Promise.resolve();
@@ -9177,19 +9198,19 @@ function GA(A) {
9177
9198
  a("pending"), r("complete");
9178
9199
  else
9179
9200
  return Promise.resolve();
9180
- var n = L0.begin("onTree"), l = i.reduce(function(o, f) {
9201
+ var n = L0.begin("onTree"), o = i.reduce(function(l, f) {
9181
9202
  try {
9182
9203
  var h = x7(f);
9183
- h && o.push(h);
9204
+ h && l.push(h);
9184
9205
  } catch (u) {
9185
9206
  h7 || u.name === "MissingIcon" && console.error(u);
9186
9207
  }
9187
- return o;
9208
+ return l;
9188
9209
  }, []);
9189
- return new Promise(function(o, f) {
9190
- Promise.all(l).then(function(h) {
9210
+ return new Promise(function(l, f) {
9211
+ Promise.all(o).then(function(h) {
9191
9212
  U7(h, function() {
9192
- a("active"), a("complete"), r("pending"), typeof c == "function" && c(), n(), o();
9213
+ a("active"), a("complete"), r("pending"), typeof c == "function" && c(), n(), l();
9193
9214
  });
9194
9215
  }).catch(function(h) {
9195
9216
  n(), f(h);
@@ -9211,7 +9232,7 @@ function kC(A) {
9211
9232
  };
9212
9233
  }
9213
9234
  var IC = function(c) {
9214
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.transform, r = a === void 0 ? y2 : a, s = e.symbol, t = s === void 0 ? !1 : s, i = e.mask, n = i === void 0 ? null : i, l = e.maskId, o = l === void 0 ? null : l, f = e.title, h = f === void 0 ? null : f, u = e.titleId, m = u === void 0 ? null : u, C = e.classes, d = C === void 0 ? [] : C, H = e.attributes, v = H === void 0 ? {} : H, L = e.styles, Q = L === void 0 ? {} : L;
9235
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.transform, r = a === void 0 ? y2 : a, s = e.symbol, t = s === void 0 ? !1 : s, i = e.mask, n = i === void 0 ? null : i, o = e.maskId, l = o === void 0 ? null : o, f = e.title, h = f === void 0 ? null : f, u = e.titleId, m = u === void 0 ? null : u, C = e.classes, d = C === void 0 ? [] : C, H = e.attributes, v = H === void 0 ? {} : H, L = e.styles, Q = L === void 0 ? {} : L;
9215
9236
  if (c) {
9216
9237
  var M = c.prefix, p = c.iconName, x = c.icon;
9217
9238
  return k3(w({
@@ -9235,7 +9256,7 @@ var IC = function(c) {
9235
9256
  transform: w(w({}, y2), r),
9236
9257
  symbol: t,
9237
9258
  title: h,
9238
- maskId: o,
9259
+ maskId: l,
9239
9260
  titleId: m,
9240
9261
  extra: {
9241
9262
  attributes: v,
@@ -9264,9 +9285,9 @@ var IC = function(c) {
9264
9285
  } : s;
9265
9286
  return GA(r, t);
9266
9287
  }, c.generateSvgReplacementMutation = function(e, a) {
9267
- var r = a.iconName, s = a.title, t = a.titleId, i = a.prefix, n = a.transform, l = a.symbol, o = a.mask, f = a.maskId, h = a.extra;
9288
+ var r = a.iconName, s = a.title, t = a.titleId, i = a.prefix, n = a.transform, o = a.symbol, l = a.mask, f = a.maskId, h = a.extra;
9268
9289
  return new Promise(function(u, m) {
9269
- Promise.all([e0(r, i), o.iconName ? e0(o.iconName, o.prefix) : Promise.resolve({
9290
+ Promise.all([e0(r, i), l.iconName ? e0(l.iconName, l.prefix) : Promise.resolve({
9270
9291
  found: !1,
9271
9292
  width: 512,
9272
9293
  height: 512,
@@ -9281,7 +9302,7 @@ var IC = function(c) {
9281
9302
  prefix: i,
9282
9303
  iconName: r,
9283
9304
  transform: n,
9284
- symbol: l,
9305
+ symbol: o,
9285
9306
  maskId: f,
9286
9307
  title: s,
9287
9308
  titleId: t,
@@ -9293,13 +9314,13 @@ var IC = function(c) {
9293
9314
  }, c.generateAbstractIcon = function(e) {
9294
9315
  var a = e.children, r = e.attributes, s = e.main, t = e.transform, i = e.styles, n = S3(i);
9295
9316
  n.length > 0 && (r.style = n);
9296
- var l;
9297
- return d0(t) && (l = P2("generateAbstractTransformGrouping", {
9317
+ var o;
9318
+ return d0(t) && (o = P2("generateAbstractTransformGrouping", {
9298
9319
  main: s,
9299
9320
  transform: t,
9300
9321
  containerWidth: s.width,
9301
9322
  iconWidth: s.width
9302
- })), a.push(l || s.icon), {
9323
+ })), a.push(o || s.icon), {
9303
9324
  children: a,
9304
9325
  attributes: r
9305
9326
  };
@@ -9337,7 +9358,7 @@ var IC = function(c) {
9337
9358
  mixout: function() {
9338
9359
  return {
9339
9360
  counter: function(e) {
9340
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.title, s = r === void 0 ? null : r, t = a.classes, i = t === void 0 ? [] : t, n = a.attributes, l = n === void 0 ? {} : n, o = a.styles, f = o === void 0 ? {} : o;
9361
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.title, s = r === void 0 ? null : r, t = a.classes, i = t === void 0 ? [] : t, n = a.attributes, o = n === void 0 ? {} : n, l = a.styles, f = l === void 0 ? {} : l;
9341
9362
  return k3({
9342
9363
  type: "counter",
9343
9364
  content: e
@@ -9349,7 +9370,7 @@ var IC = function(c) {
9349
9370
  content: e.toString(),
9350
9371
  title: s,
9351
9372
  extra: {
9352
- attributes: l,
9373
+ attributes: o,
9353
9374
  styles: f,
9354
9375
  classes: ["".concat(F.cssPrefix, "-layers-counter")].concat(v4(i))
9355
9376
  }
@@ -9362,7 +9383,7 @@ var IC = function(c) {
9362
9383
  mixout: function() {
9363
9384
  return {
9364
9385
  text: function(e) {
9365
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, s = r === void 0 ? y2 : r, t = a.title, i = t === void 0 ? null : t, n = a.classes, l = n === void 0 ? [] : n, o = a.attributes, f = o === void 0 ? {} : o, h = a.styles, u = h === void 0 ? {} : h;
9386
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, s = r === void 0 ? y2 : r, t = a.title, i = t === void 0 ? null : t, n = a.classes, o = n === void 0 ? [] : n, l = a.attributes, f = l === void 0 ? {} : l, h = a.styles, u = h === void 0 ? {} : h;
9366
9387
  return k3({
9367
9388
  type: "text",
9368
9389
  content: e
@@ -9377,7 +9398,7 @@ var IC = function(c) {
9377
9398
  extra: {
9378
9399
  attributes: f,
9379
9400
  styles: u,
9380
- classes: ["".concat(F.cssPrefix, "-layers-text")].concat(v4(l))
9401
+ classes: ["".concat(F.cssPrefix, "-layers-text")].concat(v4(o))
9381
9402
  }
9382
9403
  });
9383
9404
  });
@@ -9388,8 +9409,8 @@ var IC = function(c) {
9388
9409
  c.generateLayersText = function(e, a) {
9389
9410
  var r = a.title, s = a.transform, t = a.extra, i = null, n = null;
9390
9411
  if (o7) {
9391
- var l = parseInt(getComputedStyle(e).fontSize, 10), o = e.getBoundingClientRect();
9392
- i = o.width / l, n = o.height / l;
9412
+ var o = parseInt(getComputedStyle(e).fontSize, 10), l = e.getBoundingClientRect();
9413
+ i = l.width / o, n = l.height / o;
9393
9414
  }
9394
9415
  return F.autoA11y && !r && (t.attributes["aria-hidden"] = "true"), Promise.resolve([e, DA({
9395
9416
  content: e.innerHTML,
@@ -9417,11 +9438,11 @@ function XA(A, c) {
9417
9438
  return a();
9418
9439
  var s = I1(A.children), t = s.filter(function(x) {
9419
9440
  return x.getAttribute(J6) === c;
9420
- })[0], i = r1.getComputedStyle(A, c), n = i.getPropertyValue("font-family").match(kv), l = i.getPropertyValue("font-weight"), o = i.getPropertyValue("content");
9441
+ })[0], i = r1.getComputedStyle(A, c), n = i.getPropertyValue("font-family").match(kv), o = i.getPropertyValue("font-weight"), l = i.getPropertyValue("content");
9421
9442
  if (t && !n)
9422
9443
  return A.removeChild(t), a();
9423
- if (n && o !== "none" && o !== "") {
9424
- var f = i.getPropertyValue("content"), h = ~["Sharp"].indexOf(n[2]) ? Y : P, u = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(n[2]) ? l4[h][n[2].toLowerCase()] : Iv[h][l], m = OC(f), C = m.value, d = m.isSecondary, H = n[0].startsWith("FontAwesome"), v = V0(u, C), L = v;
9444
+ if (n && l !== "none" && l !== "") {
9445
+ var f = i.getPropertyValue("content"), h = ~["Sharp"].indexOf(n[2]) ? Y : P, u = ~["Solid", "Regular", "Light", "Thin", "Duotone", "Brands", "Kit"].indexOf(n[2]) ? l4[h][n[2].toLowerCase()] : Iv[h][o], m = OC(f), C = m.value, d = m.isSecondary, H = n[0].startsWith("FontAwesome"), v = V0(u, C), L = v;
9425
9446
  if (H) {
9426
9447
  var Q = oC(C);
9427
9448
  Q.iconName && Q.prefix && (v = Q.iconName, u = Q.prefix);
@@ -9572,8 +9593,8 @@ var WC = {
9572
9593
  c.generateAbstractTransformGrouping = function(e) {
9573
9594
  var a = e.main, r = e.transform, s = e.containerWidth, t = e.iconWidth, i = {
9574
9595
  transform: "translate(".concat(s / 2, " 256)")
9575
- }, n = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), l = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), o = "rotate(".concat(r.rotate, " 0 0)"), f = {
9576
- transform: "".concat(n, " ").concat(l, " ").concat(o)
9596
+ }, n = "translate(".concat(r.x * 32, ", ").concat(r.y * 32, ") "), o = "scale(".concat(r.size / 16 * (r.flipX ? -1 : 1), ", ").concat(r.size / 16 * (r.flipY ? -1 : 1), ") "), l = "rotate(".concat(r.rotate, " 0 0)"), f = {
9597
+ transform: "".concat(n, " ").concat(o, " ").concat(l)
9577
9598
  }, h = {
9578
9599
  transform: "translate(".concat(t / 2 * -1, " -256)")
9579
9600
  }, u = {
@@ -9622,23 +9643,23 @@ var JC = {
9622
9643
  },
9623
9644
  provides: function(c) {
9624
9645
  c.generateAbstractMask = function(e) {
9625
- var a = e.children, r = e.attributes, s = e.main, t = e.mask, i = e.maskId, n = e.transform, l = s.width, o = s.icon, f = t.width, h = t.icon, u = qv({
9646
+ var a = e.children, r = e.attributes, s = e.main, t = e.mask, i = e.maskId, n = e.transform, o = s.width, l = s.icon, f = t.width, h = t.icon, u = qv({
9626
9647
  transform: n,
9627
9648
  containerWidth: f,
9628
- iconWidth: l
9649
+ iconWidth: o
9629
9650
  }), m = {
9630
9651
  tag: "rect",
9631
9652
  attributes: w(w({}, M6), {}, {
9632
9653
  fill: "white"
9633
9654
  })
9634
- }, C = o.children ? {
9635
- children: o.children.map($A)
9655
+ }, C = l.children ? {
9656
+ children: l.children.map($A)
9636
9657
  } : {}, d = {
9637
9658
  tag: "g",
9638
9659
  attributes: w({}, u.inner),
9639
9660
  children: [$A(w({
9640
- tag: o.tag,
9641
- attributes: w(w({}, o.attributes), u.path)
9661
+ tag: l.tag,
9662
+ attributes: w(w({}, l.attributes), u.path)
9642
9663
  }, C))]
9643
9664
  }, H = {
9644
9665
  tag: "g",
@@ -9860,10 +9881,10 @@ var lB = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9860
9881
  (function(A) {
9861
9882
  (function(c) {
9862
9883
  var e = function(H, v, L) {
9863
- if (!l(v) || f(v) || h(v) || u(v) || n(v))
9884
+ if (!o(v) || f(v) || h(v) || u(v) || n(v))
9864
9885
  return v;
9865
9886
  var Q, M = 0, p = 0;
9866
- if (o(v))
9887
+ if (l(v))
9867
9888
  for (Q = [], p = v.length; M < p; M++)
9868
9889
  Q.push(e(H, v[M], L));
9869
9890
  else {
@@ -9887,9 +9908,9 @@ var lB = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
9887
9908
  return a(H, v).toLowerCase();
9888
9909
  }, i = Object.prototype.toString, n = function(H) {
9889
9910
  return typeof H == "function";
9890
- }, l = function(H) {
9891
- return H === Object(H);
9892
9911
  }, o = function(H) {
9912
+ return H === Object(H);
9913
+ }, l = function(H) {
9893
9914
  return i.call(H) == "[object Array]";
9894
9915
  }, f = function(H) {
9895
9916
  return i.call(H) == "[object Date]";
@@ -9947,17 +9968,17 @@ function F0(A) {
9947
9968
  return A;
9948
9969
  var a = (A.children || []).map(function(n) {
9949
9970
  return F0(n);
9950
- }), r = Object.keys(A.attributes || {}).reduce(function(n, l) {
9951
- var o = A.attributes[l];
9952
- switch (l) {
9971
+ }), r = Object.keys(A.attributes || {}).reduce(function(n, o) {
9972
+ var l = A.attributes[o];
9973
+ switch (o) {
9953
9974
  case "class":
9954
- n.class = mB(o);
9975
+ n.class = mB(l);
9955
9976
  break;
9956
9977
  case "style":
9957
- n.style = uB(o);
9978
+ n.style = uB(l);
9958
9979
  break;
9959
9980
  default:
9960
- n.attrs[l] = o;
9981
+ n.attrs[o] = l;
9961
9982
  }
9962
9983
  return n;
9963
9984
  }, {
@@ -10151,17 +10172,17 @@ var CB = i0({
10151
10172
  title: c.title
10152
10173
  }));
10153
10174
  });
10154
- Nn(n, function(o) {
10155
- if (!o)
10175
+ Nn(n, function(l) {
10176
+ if (!l)
10156
10177
  return HB("Could not find one or more icon(s)", r.value, i.value);
10157
10178
  }, {
10158
10179
  immediate: !0
10159
10180
  });
10160
- var l = L2(function() {
10181
+ var o = L2(function() {
10161
10182
  return n.value ? F0(n.value.abstract[0], {}, a) : null;
10162
10183
  });
10163
10184
  return function() {
10164
- return l.value;
10185
+ return o.value;
10165
10186
  };
10166
10187
  }
10167
10188
  });
@@ -10213,8 +10234,8 @@ i0({
10213
10234
  }), t = L2(function() {
10214
10235
  return s4("transform", typeof c.transform == "string" ? d3.transform(c.transform) : c.transform);
10215
10236
  }), i = L2(function() {
10216
- var l = aB(c.value.toString(), Q2(Q2({}, t.value), s.value)), o = l.abstract;
10217
- return c.counter && (o[0].attributes.class = o[0].attributes.class.replace("fa-layers-text", "")), o[0];
10237
+ var o = aB(c.value.toString(), Q2(Q2({}, t.value), s.value)), l = o.abstract;
10238
+ return c.counter && (l[0].attributes.class = l[0].attributes.class.replace("fa-layers-text", "")), l[0];
10218
10239
  }), n = L2(function() {
10219
10240
  return F0(i.value, {}, a);
10220
10241
  });