@pocketprep/ui-kit 3.5.12 → 3.5.14

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.
@@ -4,7 +4,7 @@ var q = (e, t, s) => $1(e, typeof t != "symbol" ? t + "" : t, s);
4
4
  import { Prop as ie, Component as ke, Vue as De, Emit as Fe, Watch as mt } from "vue-facing-decorator";
5
5
  import { resolveDirective as it, withDirectives as ae, createElementBlock as _, openBlock as J, renderSlot as Ee, createElementVNode as se, createTextVNode as Qe, toDisplayString as ye, withModifiers as Ge, withKeys as _e, normalizeClass as ve, normalizeStyle as st, vModelText as mn, createStaticVNode as ut, defineComponent as pt, resolveComponent as Le, createBlock as we, createCommentVNode as Me, createVNode as Ye, unref as j, ref as He, Fragment as tt, renderList as at, withCtx as Ue, vShow as vn, computed as Te, inject as qe, mergeModels as yn, useModel as wn, onMounted as no, watch as Gt, useTemplateRef as ai, onBeforeUnmount as Ws, provide as Ve, nextTick as ea } from "vue";
6
6
  import ta from "litepicker";
7
- const ia = "1439", oa = "1279", sa = "1023", na = "767", ra = "374", aa = "319", la = "#fff", ha = "#30485a", da = "#fff9ef", ua = "#fbfbfd", ca = "#f4f5f9", pa = "#edeef3", ga = "#dfe3e7", fa = "#bce6dc", Aa = "#88a3b6", Ca = "#708a9d", ma = "#587183", va = "#475967", ya = "#1f3545", wa = "#0064ff", Ma = "#0059E5", La = "#cfe1ff", ba = "#056c50", Ba = "#14ca9e", Ea = "#00b584", ka = "#c7f2e8", Da = "#e7f9f5", xa = "#e52525", Ia = "#ff6363", Pa = "#ff6e87", Ga = "#ffcdcd", Qa = "#ffefef", Ya = "#a67214", Oa = "#ffbd47", Ra = "#c78e27", Sa = "#ffe4b6", Ta = "#fff2d9", ja = "#fff6e5", Ha = "#9906a8", za = "#d819eb", Fa = "#ef51ff", Na = "#fef1ff", Za = "#a7c7ff", Ja = "#6e4700", Wa = "#049875", Ua = "#008263", Ka = "#ff4747", Xa = "#d00", qa = "#ad00eb", Va = "#ad00eb", _a = "#c238f3", $a = "#ffce74", el = "#293e4e", tl = "#1c2f3c", il = "#0f1d28", ol = "#2e80ff", sl = "#064fc1", nl = "#00664a", rl = "#ff889d", al = "#edeef3", ll = "#dfe3e7", hl = "#587183", dl = "#475967", ul = "#1c2f3c", cl = "#182a36", pl = "#0f1d28", gl = "#03101b", fl = "#eef5ff", Al = "#2e80ff", Cl = "#043580", ml = "#005AE5", vl = "#ffedcb", yl = "#ffa400", wl = "#fef1ff", Ml = "#d96dff", Ll = "#d10fe5", bl = "#ad00eb", Bl = "#9906a8", El = "#ffefef", kl = "#ffcdcd", Dl = "#ff4747", xl = "#d00", Il = "#edfbf8", Pl = "#14ca9e", Gl = "#00b584", Ql = "#00a87a", Yl = "#00654a", Ol = "#ff5e3e", Rl = "#ff7d63", Sl = "#ce8500", Je = {
7
+ const ia = "1439", oa = "1279", sa = "1023", na = "767", ra = "374", aa = "319", la = "#fff", ha = "#30485a", da = "#fff9ef", ua = "#fbfbfd", ca = "#f4f5f9", pa = "#edeef3", ga = "#dfe3e7", fa = "#bce6dc", Aa = "#88a3b6", Ca = "#708a9d", ma = "#587183", va = "#475967", ya = "#1f3545", wa = "#0064ff", Ma = "#0059E5", La = "#cfe1ff", ba = "#056c50", Ba = "#14ca9e", Ea = "#00b584", ka = "#c7f2e8", Da = "#e7f9f5", xa = "#e52525", Ia = "#ff6363", Pa = "#ff6e87", Ga = "#ffcdcd", Qa = "#ffefef", Ya = "#a67214", Oa = "#ffbd47", Ra = "#c78e27", Sa = "#ffe4b6", Ta = "#fff2d9", ja = "#fff6e5", Ha = "#9906a8", za = "#d819eb", Fa = "#ef51ff", Na = "#fef1ff", Za = "#a7c7ff", Ja = "#6e4700", Wa = "#049875", Ua = "#008263", Ka = "#ff4747", Xa = "#d00", qa = "#ad00eb", Va = "#ad00eb", _a = "#c238f3", $a = "#ffce74", el = "#293e4e", tl = "#1c2f3c", il = "#0f1d28", ol = "#2e80ff", sl = "#064fc1", nl = "#00664a", rl = "#ff889d", al = "#edeef3", ll = "#dfe3e7", hl = "#587183", dl = "#475967", ul = "#1c2f3c", cl = "#182a36", pl = "#0f1d28", gl = "#03101b", fl = "#eef5ff", Al = "#2e80ff", Cl = "#043580", ml = "#005AE5", vl = "#ffedcb", yl = "#ffa400", wl = "#fef1ff", Ml = "#d96dff", Ll = "#d10fe5", bl = "#ad00eb", Bl = "#9906a8", El = "#ffefef", kl = "#ffcdcd", Dl = "#ff4747", xl = "#d00", Il = "#edfbf8", Pl = "#14ca9e", Gl = "#00b584", Ql = "#00a87a", Yl = "#00654a", Ol = "#ff5e3e", Rl = "#ff7d63", Sl = "#ce8500", Ze = {
8
8
  polarBear: ia,
9
9
  grizzlyBear: oa,
10
10
  brownBear: sa,
@@ -290,12 +290,12 @@ var Fs = Hl();
290
290
  const pi = (e, t, s) => {
291
291
  var Q;
292
292
  const o = [];
293
- window.matchMedia(`(max-width: ${Je.blackBear}px)`).matches && o.push("black-bear"), window.matchMedia(`(max-width: ${Je.brownBear}px)`).matches && o.push("brown-bear");
293
+ window.matchMedia(`(max-width: ${Ze.blackBear}px)`).matches && o.push("black-bear"), window.matchMedia(`(max-width: ${Ze.brownBear}px)`).matches && o.push("brown-bear");
294
294
  const i = ["black-bear", "brown-bear"], n = s ? s.getBoundingClientRect().width : e.getBoundingClientRect().width, r = [], O = (t == null ? void 0 : t.breakpoints) || {
295
- mobile: Number(Je.blackBear),
296
- "tablet-portrait": Number(Je.brownBear),
297
- "tablet-landscape": Number(Je.grizzlyBear),
298
- desktop: Number(Je.polarBear)
295
+ mobile: Number(Ze.blackBear),
296
+ "tablet-portrait": Number(Ze.brownBear),
297
+ "tablet-landscape": Number(Ze.grizzlyBear),
298
+ desktop: Number(Ze.polarBear)
299
299
  };
300
300
  Object.entries(O).forEach(([I, A]) => {
301
301
  i.push(I), n <= A && r.push(I);
@@ -8660,7 +8660,7 @@ let xt = class extends De {
8660
8660
  text: this.title,
8661
8661
  align: "left",
8662
8662
  style: {
8663
- color: this.isDarkMode ? Je.fog : Je.brandBlack
8663
+ color: this.isDarkMode ? Ze.fog : Ze.brandBlack
8664
8664
  }
8665
8665
  },
8666
8666
  xAxis: {
@@ -8681,7 +8681,7 @@ let xt = class extends De {
8681
8681
  }
8682
8682
  },
8683
8683
  colors: [
8684
- this.barColor ? this.barColor || "" : this.isDarkMode ? Je.grayBackground || "" : Je.brandBlack || ""
8684
+ this.barColor ? this.barColor || "" : this.isDarkMode ? Ze.grayBackground || "" : Ze.brandBlack || ""
8685
8685
  ],
8686
8686
  plotOptions: {
8687
8687
  series: {
@@ -8700,11 +8700,11 @@ let xt = class extends De {
8700
8700
  {
8701
8701
  type: "column",
8702
8702
  data: this.data,
8703
- borderColor: this.barColor ? this.barColor : this.isDarkMode ? Je.grayBackground : Je.brandBlack,
8703
+ borderColor: this.barColor ? this.barColor : this.isDarkMode ? Ze.grayBackground : Ze.brandBlack,
8704
8704
  states: {
8705
8705
  hover: {
8706
- borderColor: Je.bananaBread,
8707
- color: Je.bananaBread
8706
+ borderColor: Ze.bananaBread,
8707
+ color: Ze.bananaBread
8708
8708
  }
8709
8709
  }
8710
8710
  }
@@ -8731,7 +8731,7 @@ let xt = class extends De {
8731
8731
  }
8732
8732
  }, o.xAxis = {
8733
8733
  tickLength: 0,
8734
- lineColor: this.isDarkMode ? Je.ash : Je.fog,
8734
+ lineColor: this.isDarkMode ? Ze.ash : Ze.fog,
8735
8735
  labels: {
8736
8736
  enabled: !1
8737
8737
  }
@@ -8739,7 +8739,7 @@ let xt = class extends De {
8739
8739
  min: 0,
8740
8740
  max: 100,
8741
8741
  opposite: !0,
8742
- gridLineColor: this.isDarkMode ? Je.ash : Je.fog,
8742
+ gridLineColor: this.isDarkMode ? Ze.ash : Ze.fog,
8743
8743
  plotLines: this.data.length > 1 && !this.hideAverageLine ? [
8744
8744
  {
8745
8745
  dashStyle: "Dash",
@@ -8748,7 +8748,7 @@ let xt = class extends De {
8748
8748
  ),
8749
8749
  width: 2,
8750
8750
  zIndex: 5,
8751
- color: Je.electricViolet
8751
+ color: Ze.electricViolet
8752
8752
  }
8753
8753
  ] : [],
8754
8754
  labels: {
@@ -8756,7 +8756,7 @@ let xt = class extends De {
8756
8756
  y: 4,
8757
8757
  style: {
8758
8758
  textAlign: "right",
8759
- color: this.isDarkMode ? "rgba(255, 255, 255, 0.85)" : Je.ash
8759
+ color: this.isDarkMode ? "rgba(255, 255, 255, 0.85)" : Ze.ash
8760
8760
  },
8761
8761
  formatter: this.formatterFunc || function() {
8762
8762
  return this.value === 0 ? `${String(this.value)}%` : `
@@ -8886,16 +8886,16 @@ let Vt = class extends De {
8886
8886
  }
8887
8887
  },
8888
8888
  series: {
8889
- color: Je.brandBlue,
8889
+ color: Ze.brandBlue,
8890
8890
  borderWidth: 3
8891
8891
  }
8892
8892
  },
8893
8893
  series: [{
8894
8894
  colors: [
8895
- Je.green || "",
8896
- Je.butterscotch || "",
8897
- Je.electricViolet || "",
8898
- Je.brandBlue || ""
8895
+ Ze.green || "",
8896
+ Ze.butterscotch || "",
8897
+ Ze.electricViolet || "",
8898
+ Ze.brandBlue || ""
8899
8899
  ],
8900
8900
  type: "pie",
8901
8901
  data: this.data
@@ -9216,7 +9216,9 @@ En([
9216
9216
  ie()
9217
9217
  ], mo.prototype, "title", 2);
9218
9218
  mo = En([
9219
- ke
9219
+ ke({
9220
+ name: "IconAdd"
9221
+ })
9220
9222
  ], mo);
9221
9223
  const x2 = {
9222
9224
  width: "24px",
@@ -16442,27 +16444,27 @@ let Js = class extends De {
16442
16444
  q(this, "colors", {
16443
16445
  grayscale: {
16444
16446
  color1: "#647D8F",
16445
- color2: Je.brandBlack
16447
+ color2: Ze.brandBlack
16446
16448
  },
16447
16449
  silver: {
16448
- color1: Je.white,
16449
- color2: Je.grayDivider
16450
+ color1: Ze.white,
16451
+ color2: Ze.grayDivider
16450
16452
  },
16451
16453
  red: {
16452
16454
  color1: "#FF4747",
16453
- color2: Je.redPegasus
16455
+ color2: Ze.redPegasus
16454
16456
  },
16455
16457
  purple: {
16456
16458
  color1: "#CE45FF",
16457
- color2: Je.vibrantPurple
16459
+ color2: Ze.vibrantPurple
16458
16460
  },
16459
16461
  green: {
16460
16462
  color1: "#05A881",
16461
- color2: Je.spectralGreen
16463
+ color2: Ze.spectralGreen
16462
16464
  },
16463
16465
  blue: {
16464
16466
  color1: "#448EFF",
16465
- color2: Je.brandBlue
16467
+ color2: Ze.brandBlue
16466
16468
  },
16467
16469
  pocketprep: {
16468
16470
  color1: "#0064FF",
@@ -17616,64 +17618,71 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
17616
17618
  name: "Question of the Day",
17617
17619
  shortName: "qotd",
17618
17620
  icon: "calendar",
17619
- iconColor: Je.cadaverous,
17620
- iconColorDM: Je.jungleGreen
17621
+ iconColor: Ze.cadaverous,
17622
+ iconColorDM: Ze.jungleGreen
17621
17623
  },
17622
17624
  0: {
17623
17625
  name: "Quick 10",
17624
17626
  shortName: "quick10",
17625
17627
  icon: "quick10",
17626
- iconColor: Je.cosmos,
17627
- iconColorDM: Je.orchid
17628
+ iconColor: Ze.cosmos,
17629
+ iconColorDM: Ze.orchid
17628
17630
  },
17629
17631
  2: {
17630
17632
  name: "Missed Questions",
17631
17633
  shortName: "missed",
17632
17634
  icon: "missedQuestions",
17633
17635
  iconColor: "#EC0000",
17634
- iconColorDM: Je.rosa
17636
+ iconColorDM: Ze.rosa
17635
17637
  },
17636
17638
  3: {
17637
17639
  name: "Weakest Subject",
17638
17640
  shortName: "weakest",
17639
17641
  icon: "subject",
17640
17642
  iconColor: "#EC0000",
17641
- iconColorDM: Je.rosa
17643
+ iconColorDM: Ze.rosa
17642
17644
  },
17643
17645
  4: {
17644
17646
  name: "Timed Quiz",
17645
17647
  shortName: "timed",
17646
17648
  icon: "stopwatch",
17647
- iconColor: Je.brandBlue,
17649
+ iconColor: Ze.brandBlue,
17648
17650
  iconColorDM: "#4C92FF"
17649
17651
  },
17650
17652
  5: {
17651
17653
  name: "Mock Exam",
17652
17654
  shortName: "mockExam",
17653
17655
  icon: "exam",
17654
- iconColor: Je.cadaverous,
17655
- iconColorDM: Je.jungleGreen
17656
+ iconColor: Ze.cadaverous,
17657
+ iconColorDM: Ze.jungleGreen
17656
17658
  },
17657
17659
  6: {
17658
17660
  name: "Level Up",
17659
17661
  shortName: "levelUp",
17660
17662
  icon: "levelup",
17661
- iconColor: Je.cosmos,
17662
- iconColorDM: Je.orchid
17663
+ iconColor: Ze.cosmos,
17664
+ iconColorDM: Ze.orchid
17663
17665
  },
17664
17666
  10: {
17665
17667
  name: "Build Your Own",
17666
17668
  shortName: "custom",
17667
17669
  icon: "pencil",
17668
- iconColor: Je.slate,
17669
- iconColorDM: Je.pewter
17670
+ iconColor: Ze.slate,
17671
+ iconColorDM: Ze.pewter
17670
17672
  },
17671
17673
  11: {
17672
17674
  name: "Assignment",
17673
17675
  shortName: "assignment",
17674
17676
  icon: "assignment",
17675
- iconColor: Je.caramel,
17676
- iconColorDM: Je.cheddar
17677
+ iconColor: Ze.caramel,
17678
+ iconColorDM: Ze.cheddar
17679
+ },
17680
+ 12: {
17681
+ name: "Concept Quiz",
17682
+ shortName: "concept",
17683
+ icon: "pencil",
17684
+ iconColor: Ze.slate,
17685
+ iconColorDM: Ze.pewter
17677
17686
  }
17678
17687
  }, N1 = (e) => e.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), ho = (e) => e.keywordDefinitions.length ? e.keywordDefinitions.map((s) => s.keyword).reduce((s, o) => {
17679
17688
  const i = new RegExp(`(\\W)(${N1(o)})(\\W)`, "i");
@@ -18555,7 +18564,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
18555
18564
  matrixAnswerKeys: Z,
18556
18565
  selectedMatrixChoices: x,
18557
18566
  isTeachGroupReview: Q
18558
- } = Xt(), I = He(void 0), A = He(void 0), g = Je, c = Te(() => {
18567
+ } = Xt(), I = He(void 0), A = He(void 0), g = Ze, c = Te(() => {
18559
18568
  var P;
18560
18569
  return (P = u.value) == null ? void 0 : P.map((S) => S.map(() => !1));
18561
18570
  }), d = Te(() => {
@@ -18926,7 +18935,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
18926
18935
  showMatrixAnswers: F,
18927
18936
  matrixAnswerKeys: Z,
18928
18937
  selectedMatrixChoices: x
18929
- } = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c = Je, d = (E) => {
18938
+ } = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c = Ze, d = (E) => {
18930
18939
  if (E) {
18931
18940
  const z = document.createElement("div");
18932
18941
  return z.innerHTML = E, z.textContent || "";
@@ -19360,10 +19369,10 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19360
19369
  if (!pe)
19361
19370
  return Ie;
19362
19371
  Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0;
19363
- const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Ze, ot) => (ot || 0) + (Ze || 0), 0);
19364
- return Ce.value.forEach(({ key: Ze }) => {
19365
- const ot = pe.choiceStats[Ze] || 0, Ii = D.value && C.value.includes(Ze) && !s.reviewMode ? 1 : 0, Pi = ot + Ii, ci = Math.round(Pi / Ne * 100);
19366
- Ie[Ze] = ci || 0;
19372
+ const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Je, ot) => (ot || 0) + (Je || 0), 0);
19373
+ return Ce.value.forEach(({ key: Je }) => {
19374
+ const ot = pe.choiceStats[Je] || 0, Ii = D.value && C.value.includes(Je) && !s.reviewMode ? 1 : 0, Pi = ot + Ii, ci = Math.round(Pi / Ne * 100);
19375
+ Ie[Je] = ci || 0;
19367
19376
  }), Ie;
19368
19377
  }), le = Te(() => {
19369
19378
  const pe = s.globalMetrics, Ie = {
@@ -19374,12 +19383,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19374
19383
  }), de = Te(() => {
19375
19384
  if (f.value) {
19376
19385
  const pe = b.value.map((Ne) => {
19377
- var Ze;
19386
+ var Je;
19378
19387
  if (Ne)
19379
- return Number((Ze = Ne.split("_")[0]) == null ? void 0 : Ze.slice(1));
19388
+ return Number((Je = Ne.split("_")[0]) == null ? void 0 : Je.slice(1));
19380
19389
  });
19381
- return (s.question.matrixChoiceLayout || []).every((Ne, Ze) => {
19382
- const ot = Ze + 1;
19390
+ return (s.question.matrixChoiceLayout || []).every((Ne, Je) => {
19391
+ const ot = Je + 1;
19383
19392
  return pe.includes(ot);
19384
19393
  });
19385
19394
  }
@@ -19447,11 +19456,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19447
19456
  }, Pe = (pe) => {
19448
19457
  const Ie = pe.target;
19449
19458
  if (Ie.classList.contains("keyword-highlight")) {
19450
- const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Ze = { x: pe.clientX, y: pe.clientY };
19459
+ const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Je = { x: pe.clientX, y: pe.clientY };
19451
19460
  o("keyword-click", {
19452
19461
  keyword: Se,
19453
19462
  location: Ne,
19454
- clickLocation: Ze,
19463
+ clickLocation: Je,
19455
19464
  target: Ie
19456
19465
  });
19457
19466
  }
@@ -19466,12 +19475,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19466
19475
  }, ze = (pe) => {
19467
19476
  const Ie = pe.sort((Se, Ne) => {
19468
19477
  var Pi, ci;
19469
- const Ze = (Zt, qt) => (qt << 5) - qt + Zt.charCodeAt(0), ot = (Pi = Se.text) == null ? void 0 : Pi.split("").reduce((Zt, qt) => Ze(qt, Zt) & Ze(qt, Zt), 0), Ii = (ci = Ne.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Ze(qt, Zt) & Ze(qt, Zt), 0);
19478
+ const Je = (Zt, qt) => (qt << 5) - qt + Zt.charCodeAt(0), ot = (Pi = Se.text) == null ? void 0 : Pi.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0), Ii = (ci = Ne.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0);
19470
19479
  return (ot || 0) - (Ii || 0);
19471
19480
  });
19472
19481
  return s.answerSeed ? s.answerSeed.reduce((Se, Ne) => {
19473
- const Ze = Ie[Ne];
19474
- return Ze && Se.push(Ze), Se;
19482
+ const Je = Ie[Ne];
19483
+ return Je && Se.push(Je), Se;
19475
19484
  }, []) : Ie;
19476
19485
  }, ct = (pe) => {
19477
19486
  const Ie = pe.relatedTarget;
@@ -19491,19 +19500,19 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19491
19500
  }, bt = (pe) => {
19492
19501
  var Ie, Se;
19493
19502
  if (pe.cancelable) {
19494
- const Ne = ((Ie = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Ie.clientY) || null, Ze = ((Se = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Se.clientX) || null;
19495
- Ne !== null && Ze !== null && L.value.y !== null && L.value.x !== null && Math.abs(Ze - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19503
+ const Ne = ((Ie = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Ie.clientY) || null, Je = ((Se = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Se.clientX) || null;
19504
+ Ne !== null && Je !== null && L.value.y !== null && L.value.x !== null && Math.abs(Je - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19496
19505
  }
19497
19506
  }, Bt = (pe) => {
19498
19507
  var ot, Ii, Pi;
19499
- const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Ze = {
19508
+ const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Je = {
19500
19509
  x: ((ot = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : ot.clientX) || null,
19501
19510
  y: ((Ii = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : Ii.clientY) || null
19502
19511
  };
19503
- if (Ne instanceof HTMLElement && Ze.x !== null && Ze.y !== null && L.value.x !== null && Math.abs(Ze.x - L.value.x) > 80) {
19504
- const ci = (Pi = a == null ? void 0 : a.value) == null ? void 0 : Pi.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Ne)), qt = document.elementFromPoint(Ze.x, Ze.y);
19512
+ if (Ne instanceof HTMLElement && Je.x !== null && Je.y !== null && L.value.x !== null && Math.abs(Je.x - L.value.x) > 80) {
19513
+ const ci = (Pi = a == null ? void 0 : a.value) == null ? void 0 : Pi.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Ne)), qt = document.elementFromPoint(Je.x, Je.y);
19505
19514
  Zt != null && Zt.contains(qt) && tn(Ie);
19506
- } else D.value || (Se.cancelable && Se.preventDefault(), Ze.y !== null && L.value.y !== null && Math.abs(Ze.y - L.value.y) < 20 && St(Ie));
19515
+ } else D.value || (Se.cancelable && Se.preventDefault(), Je.y !== null && L.value.y !== null && Math.abs(Je.y - L.value.y) < 20 && St(Ie));
19507
19516
  L.value = { x: null, y: null };
19508
19517
  }, tn = (pe) => {
19509
19518
  if (D.value)
@@ -19517,7 +19526,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19517
19526
  Se !== -1 && C.value.splice(Se, 1);
19518
19527
  }
19519
19528
  }, St = (pe, Ie) => {
19520
- var Ne, Ze;
19529
+ var Ne, Je;
19521
19530
  if (D.value)
19522
19531
  return;
19523
19532
  const Se = C.value.indexOf(pe);
@@ -19530,7 +19539,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19530
19539
  }
19531
19540
  if (Ie) {
19532
19541
  const ot = (Ne = a == null ? void 0 : a.value) == null ? void 0 : Ne.choiceEls;
19533
- ot && "length" in ot && ((Ze = ot[0]) == null || Ze.focus());
19542
+ ot && "length" in ot && ((Je = ot[0]) == null || Je.focus());
19534
19543
  }
19535
19544
  }, on = (pe) => {
19536
19545
  H.value || (b.value = pe);
@@ -19543,8 +19552,8 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19543
19552
  }, Ss = () => {
19544
19553
  var pe, Ie, Se;
19545
19554
  if (M.value = !M.value, M.value) {
19546
- const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.mcrLongAltEl, Ze = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.mobileImgDropdownImgDescriptionEl;
19547
- Ze != null && Ze.offsetParent && Ze.focus();
19555
+ const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.mcrLongAltEl, Je = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.mobileImgDropdownImgDescriptionEl;
19556
+ Je != null && Je.offsetParent && Je.focus();
19548
19557
  const ot = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.longAltEl;
19549
19558
  Ne != null && Ne.offsetParent ? Ne.focus() : ot != null && ot.offsetParent && ot.focus();
19550
19559
  }
@@ -19554,11 +19563,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19554
19563
  const Ne = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.explanationTitleEl;
19555
19564
  Ne && (Ne == null || Ne.focus());
19556
19565
  } else {
19557
- const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Ze = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19566
+ const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Je = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19558
19567
  if (Ne)
19559
19568
  Ne == null || Ne.focus();
19560
- else if (Ze) {
19561
- const ot = Ze instanceof Array ? Ze[0] : Ze;
19569
+ else if (Je) {
19570
+ const ot = Je instanceof Array ? Je[0] : Je;
19562
19571
  ot == null || ot.focus();
19563
19572
  }
19564
19573
  }
@@ -19574,8 +19583,8 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19574
19583
  if (Se)
19575
19584
  Se == null || Se.focus();
19576
19585
  else if (Ne) {
19577
- const Ze = Ne instanceof Array ? Ne[0] : Ne;
19578
- Ze == null || Ze.focus();
19586
+ const Je = Ne instanceof Array ? Ne[0] : Ne;
19587
+ Je == null || Je.focus();
19579
19588
  }
19580
19589
  }
19581
19590
  }, W1 = () => {
@@ -19790,11 +19799,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19790
19799
  motivationalMoment: Ue(({
19791
19800
  isCorrect: Se,
19792
19801
  choiceKey: Ne,
19793
- showAnswers: Ze,
19802
+ showAnswers: Je,
19794
19803
  answerKeys: ot
19795
19804
  }) => [
19796
19805
  Ee(pe.$slots, "motivationalMoment", {
19797
- showAnswers: Ze,
19806
+ showAnswers: Je,
19798
19807
  answerKeys: ot,
19799
19808
  choiceKey: Ne,
19800
19809
  isCorrect: Se
@@ -19819,11 +19828,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19819
19828
  motivationalMoment: Ue(({
19820
19829
  isCorrect: Se,
19821
19830
  choiceKey: Ne,
19822
- showAnswers: Ze,
19831
+ showAnswers: Je,
19823
19832
  answerKeys: ot
19824
19833
  }) => [
19825
19834
  Ee(pe.$slots, "motivationalMoment", {
19826
- showAnswers: Ze,
19835
+ showAnswers: Je,
19827
19836
  answerKeys: ot,
19828
19837
  choiceKey: Ne,
19829
19838
  isCorrect: Se
@@ -19844,11 +19853,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19844
19853
  motivationalMoment: Ue(({
19845
19854
  isCorrect: Se,
19846
19855
  choiceKey: Ne,
19847
- showAnswers: Ze,
19856
+ showAnswers: Je,
19848
19857
  answerKeys: ot
19849
19858
  }) => [
19850
19859
  Ee(pe.$slots, "motivationalMoment", {
19851
- showAnswers: Ze,
19860
+ showAnswers: Je,
19852
19861
  answerKeys: ot,
19853
19862
  choiceKey: Ne,
19854
19863
  isCorrect: Se
@@ -20423,7 +20432,7 @@ let oo = class extends De {
20423
20432
  super(...arguments);
20424
20433
  q(this, "tooltipTheme");
20425
20434
  q(this, "isDarkMode");
20426
- q(this, "brandColors", Je);
20435
+ q(this, "brandColors", Ze);
20427
20436
  q(this, "showKeyboardTooltip", !1);
20428
20437
  q(this, "showKeyboardShortcutsModal", !1);
20429
20438
  }
@@ -20496,7 +20505,7 @@ let wi = class extends De {
20496
20505
  q(this, "enableFlagKeyboardShortcut");
20497
20506
  q(this, "enableFlagTooltip");
20498
20507
  q(this, "disabled");
20499
- q(this, "brandColors", Je);
20508
+ q(this, "brandColors", Ze);
20500
20509
  q(this, "showFlagTooltip", !1);
20501
20510
  }
20502
20511
  mounted() {
@@ -20592,7 +20601,7 @@ let hi = class extends De {
20592
20601
  q(this, "customTooltipStyles");
20593
20602
  q(this, "tooltipTheme");
20594
20603
  q(this, "isDarkMode");
20595
- q(this, "brandColors", Je);
20604
+ q(this, "brandColors", Ze);
20596
20605
  q(this, "showGlobalMetricsToolTip", !1);
20597
20606
  }
20598
20607
  toggleGlobalMetrics() {
@@ -20797,7 +20806,7 @@ en([
20797
20806
  ie()
20798
20807
  ], so.prototype, "title", 2);
20799
20808
  en([
20800
- ie({ default: Je.fog })
20809
+ ie({ default: Ze.fog })
20801
20810
  ], so.prototype, "primaryColor", 2);
20802
20811
  so = en([
20803
20812
  ke
@@ -20890,7 +20899,7 @@ let ii = class extends De {
20890
20899
  q(this, "isDarkMode");
20891
20900
  q(this, "customBlobColor");
20892
20901
  q(this, "customIconColor");
20893
- q(this, "brandColors", Je);
20902
+ q(this, "brandColors", Ze);
20894
20903
  }
20895
20904
  get iconType() {
20896
20905
  return this.state === "incorrect" ? "incorrect" : this.state === "correct" ? "correct" : this.state === "flagged" ? "flagFeedback" : this.state === "assignment" ? "assignment" : "activity";