@pocketprep/ui-kit 3.5.7 → 3.5.9

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.
@@ -2,7 +2,7 @@ var _1 = Object.defineProperty;
2
2
  var $1 = (e, t, s) => t in e ? _1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
3
  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 Je, Watch as vt } from "vue-facing-decorator";
5
- import { resolveDirective as it, withDirectives as ae, createElementBlock as $, openBlock as W, renderSlot as Ee, createElementVNode as se, createTextVNode as Qe, toDisplayString as ye, withModifiers as Ge, withKeys as _e, normalizeClass as me, normalizeStyle as st, vModelText as vn, createStaticVNode as dt, defineComponent as ft, 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 mn, computed as Te, inject as qe, mergeModels as yn, useModel as wn, onMounted as no, watch as Pt, useTemplateRef as ni, onBeforeUnmount as Ws, provide as Ve, nextTick as ea } from "vue";
5
+ import { resolveDirective as it, withDirectives as ae, createElementBlock as $, openBlock as W, renderSlot as Ee, createElementVNode as se, createTextVNode as Qe, toDisplayString as ye, withModifiers as Ge, withKeys as _e, normalizeClass as me, normalizeStyle as st, vModelText as vn, createStaticVNode as dt, defineComponent as ft, 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 mn, computed as Te, inject as qe, mergeModels as yn, useModel as wn, onMounted as no, watch as Pt, useTemplateRef as ri, onBeforeUnmount as Ws, provide as Ve, nextTick as ea } from "vue";
6
6
  import ta from "litepicker";
7
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", va = "#587183", ma = "#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", vl = "#005AE5", ml = "#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,
@@ -307,7 +307,7 @@ const di = (e, t, s) => {
307
307
  F.forEach((I) => {
308
308
  I && (Z.push(...o.map((A) => `${I}--${A}`)), Z.push(...r.map((A) => `${I}--${A}`)));
309
309
  }), G.sort(), Z.sort(), (G.length !== Z.length || G.some((I, A) => I !== Z[A])) && e.setAttribute("class", Z.join(" "));
310
- }, si = (e) => {
310
+ }, ni = (e) => {
311
311
  var s;
312
312
  return ((s = e.value) == null ? void 0 : s.containerEl) || null;
313
313
  }, Ri = {}, Hs = {}, Ao = {}, zl = {
@@ -333,26 +333,26 @@ const di = (e, t, s) => {
333
333
  const o = e.dataset.breakpointId || Math.floor(Math.random() * 1e8);
334
334
  e.dataset.breakpointId = String(o);
335
335
  const i = () => {
336
- di(e, t.value, si(t));
336
+ di(e, t.value, ni(t));
337
337
  };
338
338
  Ri[o] = i, window.addEventListener("resize", i);
339
339
  const n = new MutationObserver(() => {
340
- di(e, t.value, si(t));
340
+ di(e, t.value, ni(t));
341
341
  });
342
342
  Hs[o] = n, n.observe(e, { attributes: !0 });
343
- const r = si(t);
343
+ const r = ni(t);
344
344
  if (r) {
345
345
  const O = window.ResizeObserver ? new ResizeObserver(() => {
346
- di(e, t.value, si(t));
346
+ di(e, t.value, ni(t));
347
347
  }) : new Fs.ResizeObserver(() => {
348
- di(e, t.value, si(t));
348
+ di(e, t.value, ni(t));
349
349
  });
350
350
  Ao[o] = O, O.observe(r);
351
351
  } else {
352
352
  const O = window.ResizeObserver ? new ResizeObserver(() => {
353
- di(e, t.value, si(t));
353
+ di(e, t.value, ni(t));
354
354
  }) : new Fs.ResizeObserver(() => {
355
- di(e, t.value, si(t));
355
+ di(e, t.value, ni(t));
356
356
  });
357
357
  Ao[o] = O, O.observe(e);
358
358
  }
@@ -361,13 +361,13 @@ const di = (e, t, s) => {
361
361
  mounted: (e, t) => {
362
362
  var s;
363
363
  (s = t.instance) == null || s.$nextTick(() => {
364
- di(e, t.value, si(t));
364
+ di(e, t.value, ni(t));
365
365
  });
366
366
  },
367
367
  updated: (e, t) => {
368
368
  var s;
369
369
  (s = t.instance) == null || s.$nextTick(() => {
370
- di(e, t.value, si(t));
370
+ di(e, t.value, ni(t));
371
371
  });
372
372
  },
373
373
  unmounted: (e) => {
@@ -13136,7 +13136,7 @@ var x7 = Object.defineProperty, I7 = Object.getOwnPropertyDescriptor, ro = (e, t
13136
13136
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
13137
13137
  return o && i && x7(t, s, i), i;
13138
13138
  };
13139
- let Ii = class extends De {
13139
+ let Pi = class extends De {
13140
13140
  constructor() {
13141
13141
  super(...arguments);
13142
13142
  q(this, "disabled");
@@ -13149,23 +13149,23 @@ let Ii = class extends De {
13149
13149
  };
13150
13150
  ro([
13151
13151
  ie({ default: !1 })
13152
- ], Ii.prototype, "disabled", 2);
13152
+ ], Pi.prototype, "disabled", 2);
13153
13153
  ro([
13154
13154
  ie({ default: !1 })
13155
- ], Ii.prototype, "active", 2);
13155
+ ], Pi.prototype, "active", 2);
13156
13156
  ro([
13157
13157
  ie({ default: !1 })
13158
- ], Ii.prototype, "isDarkMode", 2);
13158
+ ], Pi.prototype, "isDarkMode", 2);
13159
13159
  ro([
13160
13160
  Je("click")
13161
- ], Ii.prototype, "emitClick", 1);
13162
- Ii = ro([
13161
+ ], Pi.prototype, "emitClick", 1);
13162
+ Pi = ro([
13163
13163
  ke({
13164
13164
  directives: {
13165
13165
  dark: Be
13166
13166
  }
13167
13167
  })
13168
- ], Ii);
13168
+ ], Pi);
13169
13169
  const P7 = ["tabindex"];
13170
13170
  function G7(e, t, s, o, i, n) {
13171
13171
  const r = it("dark");
@@ -13182,7 +13182,7 @@ function G7(e, t, s, o, i, n) {
13182
13182
  [r, e.isDarkMode]
13183
13183
  ]);
13184
13184
  }
13185
- const Q7 = /* @__PURE__ */ be(Ii, [["render", G7]]);
13185
+ const Q7 = /* @__PURE__ */ be(Pi, [["render", G7]]);
13186
13186
  var Y7 = Object.defineProperty, O7 = Object.getOwnPropertyDescriptor, pt = (e, t, s, o) => {
13187
13187
  for (var i = o > 1 ? void 0 : o ? O7(t, s) : t, n = e.length - 1, r; n >= 0; n--)
13188
13188
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -15210,7 +15210,7 @@ var s9 = Object.defineProperty, n9 = Object.getOwnPropertyDescriptor, lo = (e, t
15210
15210
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15211
15211
  return o && i && s9(t, s, i), i;
15212
15212
  };
15213
- let Pi = class extends De {
15213
+ let Gi = class extends De {
15214
15214
  constructor() {
15215
15215
  super(...arguments);
15216
15216
  q(this, "showCloseButton");
@@ -15227,17 +15227,17 @@ let Pi = class extends De {
15227
15227
  };
15228
15228
  lo([
15229
15229
  ie({ default: !1 })
15230
- ], Pi.prototype, "showCloseButton", 2);
15230
+ ], Gi.prototype, "showCloseButton", 2);
15231
15231
  lo([
15232
15232
  ie({ default: () => ({}) })
15233
- ], Pi.prototype, "customCloseStyles", 2);
15233
+ ], Gi.prototype, "customCloseStyles", 2);
15234
15234
  lo([
15235
15235
  ie({ default: !1 })
15236
- ], Pi.prototype, "isDarkMode", 2);
15236
+ ], Gi.prototype, "isDarkMode", 2);
15237
15237
  lo([
15238
15238
  Je("close")
15239
- ], Pi.prototype, "emitClose", 1);
15240
- Pi = lo([
15239
+ ], Gi.prototype, "emitClose", 1);
15240
+ Gi = lo([
15241
15241
  ke({
15242
15242
  components: {
15243
15243
  IconClose: Gn
@@ -15246,7 +15246,7 @@ Pi = lo([
15246
15246
  dark: Be
15247
15247
  }
15248
15248
  })
15249
- ], Pi);
15249
+ ], Gi);
15250
15250
  const r9 = { class: "uikit-modal" }, a9 = {
15251
15251
  key: 1,
15252
15252
  class: "uikit-modal__head"
@@ -15277,7 +15277,7 @@ function l9(e, t, s, o, i, n) {
15277
15277
  [O, e.isDarkMode]
15278
15278
  ]);
15279
15279
  }
15280
- const Jr = /* @__PURE__ */ be(Pi, [["render", l9]]);
15280
+ const Jr = /* @__PURE__ */ be(Gi, [["render", l9]]);
15281
15281
  var h9 = Object.defineProperty, d9 = Object.getOwnPropertyDescriptor, Wi = (e, t, s, o) => {
15282
15282
  for (var i = o > 1 ? void 0 : o ? d9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15283
15283
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -15508,7 +15508,7 @@ function f9(e, t, s, o, i, n) {
15508
15508
  ], 32);
15509
15509
  }
15510
15510
  const Ur = /* @__PURE__ */ be(Ai, [["render", f9]]);
15511
- var A9 = Object.defineProperty, C9 = Object.getOwnPropertyDescriptor, ti = (e, t, s, o) => {
15511
+ var A9 = Object.defineProperty, C9 = Object.getOwnPropertyDescriptor, ii = (e, t, s, o) => {
15512
15512
  for (var i = o > 1 ? void 0 : o ? C9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15513
15513
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15514
15514
  return o && i && A9(t, s, i), i;
@@ -15547,34 +15547,34 @@ let Tt = class extends De {
15547
15547
  return s;
15548
15548
  }
15549
15549
  };
15550
- ti([
15550
+ ii([
15551
15551
  ie({ default: "" })
15552
15552
  ], Tt.prototype, "parentError", 2);
15553
- ti([
15553
+ ii([
15554
15554
  ie({ default: !1 })
15555
15555
  ], Tt.prototype, "parentIsLoading", 2);
15556
- ti([
15556
+ ii([
15557
15557
  ie()
15558
15558
  ], Tt.prototype, "email", 2);
15559
- ti([
15559
+ ii([
15560
15560
  ie({ default: "" })
15561
15561
  ], Tt.prototype, "modelValue", 2);
15562
- ti([
15562
+ ii([
15563
15563
  vt("parentError")
15564
15564
  ], Tt.prototype, "parentErrorChanged", 1);
15565
- ti([
15565
+ ii([
15566
15566
  vt("parentIsLoading")
15567
15567
  ], Tt.prototype, "parentIsLoadingChanged", 1);
15568
- ti([
15568
+ ii([
15569
15569
  Je("submit")
15570
15570
  ], Tt.prototype, "emitSubmit", 1);
15571
- ti([
15571
+ ii([
15572
15572
  Je("resend")
15573
15573
  ], Tt.prototype, "emitResend", 1);
15574
- ti([
15574
+ ii([
15575
15575
  Je("update:modelValue")
15576
15576
  ], Tt.prototype, "emitUpdateModelValue", 1);
15577
- Tt = ti([
15577
+ Tt = ii([
15578
15578
  ke({
15579
15579
  components: {
15580
15580
  Button: Ct,
@@ -15672,7 +15672,7 @@ function E9(e, t, s, o, i, n) {
15672
15672
  ]);
15673
15673
  }
15674
15674
  const Rs = /* @__PURE__ */ be(Is, [["render", E9]]);
15675
- var k9 = Object.defineProperty, D9 = Object.getOwnPropertyDescriptor, ii = (e, t, s, o) => {
15675
+ var k9 = Object.defineProperty, D9 = Object.getOwnPropertyDescriptor, oi = (e, t, s, o) => {
15676
15676
  for (var i = o > 1 ? void 0 : o ? D9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15677
15677
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15678
15678
  return o && i && k9(t, s, i), i;
@@ -15704,34 +15704,34 @@ let jt = class extends De {
15704
15704
  return !0;
15705
15705
  }
15706
15706
  };
15707
- ii([
15707
+ oi([
15708
15708
  ie()
15709
15709
  ], jt.prototype, "exam", 2);
15710
- ii([
15710
+ oi([
15711
15711
  ie()
15712
15712
  ], jt.prototype, "bundle", 2);
15713
- ii([
15713
+ oi([
15714
15714
  ie({ default: !1 })
15715
15715
  ], jt.prototype, "showCancelButton", 2);
15716
- ii([
15716
+ oi([
15717
15717
  ie({ default: !1 })
15718
15718
  ], jt.prototype, "disableInteraction", 2);
15719
- ii([
15719
+ oi([
15720
15720
  ie({ default: !1 })
15721
15721
  ], jt.prototype, "isPremium", 2);
15722
- ii([
15722
+ oi([
15723
15723
  ie({ default: !1 })
15724
15724
  ], jt.prototype, "isSelected", 2);
15725
- ii([
15725
+ oi([
15726
15726
  ie({ default: !1 })
15727
15727
  ], jt.prototype, "isDarkMode", 2);
15728
- ii([
15728
+ oi([
15729
15729
  Je("select")
15730
15730
  ], jt.prototype, "emitSelect", 1);
15731
- ii([
15731
+ oi([
15732
15732
  Je("cancel")
15733
15733
  ], jt.prototype, "emitCancel", 1);
15734
- jt = ii([
15734
+ jt = oi([
15735
15735
  ke({
15736
15736
  directives: {
15737
15737
  dark: Be
@@ -15805,12 +15805,12 @@ function O9(e, t, s, o, i, n) {
15805
15805
  ]);
15806
15806
  }
15807
15807
  const Xr = /* @__PURE__ */ be(jt, [["render", O9]]);
15808
- var R9 = Object.defineProperty, S9 = Object.getOwnPropertyDescriptor, Qi = (e, t, s, o) => {
15808
+ var R9 = Object.defineProperty, S9 = Object.getOwnPropertyDescriptor, Yi = (e, t, s, o) => {
15809
15809
  for (var i = o > 1 ? void 0 : o ? S9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15810
15810
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15811
15811
  return o && i && R9(t, s, i), i;
15812
15812
  };
15813
- let ri = class extends De {
15813
+ let ai = class extends De {
15814
15814
  constructor() {
15815
15815
  super(...arguments);
15816
15816
  q(this, "bundles");
@@ -15850,25 +15850,25 @@ let ri = class extends De {
15850
15850
  });
15851
15851
  }
15852
15852
  };
15853
- Qi([
15853
+ Yi([
15854
15854
  ie()
15855
- ], ri.prototype, "bundles", 2);
15856
- Qi([
15855
+ ], ai.prototype, "bundles", 2);
15856
+ Yi([
15857
15857
  ie({ default: null })
15858
- ], ri.prototype, "modelValue", 2);
15859
- Qi([
15858
+ ], ai.prototype, "modelValue", 2);
15859
+ Yi([
15860
15860
  ie({ default: !1 })
15861
- ], ri.prototype, "isDarkMode", 2);
15862
- Qi([
15861
+ ], ai.prototype, "isDarkMode", 2);
15862
+ Yi([
15863
15863
  ie({ default: () => [] })
15864
- ], ri.prototype, "premiumBundleIds", 2);
15865
- Qi([
15864
+ ], ai.prototype, "premiumBundleIds", 2);
15865
+ Yi([
15866
15866
  Je("update:modelValue")
15867
- ], ri.prototype, "emitUpdateModelValue", 1);
15868
- Qi([
15867
+ ], ai.prototype, "emitUpdateModelValue", 1);
15868
+ Yi([
15869
15869
  vt("hoverBundleId")
15870
- ], ri.prototype, "hoverBundleIdChanged", 1);
15871
- ri = Qi([
15870
+ ], ai.prototype, "hoverBundleIdChanged", 1);
15871
+ ai = Yi([
15872
15872
  ke({
15873
15873
  directives: {
15874
15874
  dark: Be
@@ -15878,7 +15878,7 @@ ri = Qi([
15878
15878
  PremiumPill: Rs
15879
15879
  }
15880
15880
  })
15881
- ], ri);
15881
+ ], ai);
15882
15882
  const T9 = { class: "uikit-bundle-list" }, j9 = ["onMouseenter", "onFocus", "onClick", "onKeypress"];
15883
15883
  function H9(e, t, s, o, i, n) {
15884
15884
  const r = Le("BundleIcon"), O = Le("PremiumPill"), G = it("dark");
@@ -15917,7 +15917,7 @@ function H9(e, t, s, o, i, n) {
15917
15917
  ])), 128))
15918
15918
  ]);
15919
15919
  }
15920
- const qr = /* @__PURE__ */ be(ri, [["render", H9]]);
15920
+ const qr = /* @__PURE__ */ be(ai, [["render", H9]]);
15921
15921
  var z9 = Object.defineProperty, F9 = Object.getOwnPropertyDescriptor, Wt = (e, t, s, o) => {
15922
15922
  for (var i = o > 1 ? void 0 : o ? F9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15923
15923
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -16207,7 +16207,7 @@ function eu(e, t, s, o, i, n) {
16207
16207
  ]);
16208
16208
  }
16209
16209
  const tu = /* @__PURE__ */ be(Yt, [["render", eu]]);
16210
- var iu = Object.defineProperty, ou = Object.getOwnPropertyDescriptor, oi = (e, t, s, o) => {
16210
+ var iu = Object.defineProperty, ou = Object.getOwnPropertyDescriptor, si = (e, t, s, o) => {
16211
16211
  for (var i = o > 1 ? void 0 : o ? ou(t, s) : t, n = e.length - 1, r; n >= 0; n--)
16212
16212
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
16213
16213
  return o && i && iu(t, s, i), i;
@@ -16230,34 +16230,34 @@ let Ht = class extends De {
16230
16230
  return s;
16231
16231
  }
16232
16232
  };
16233
- oi([
16233
+ si([
16234
16234
  ie()
16235
16235
  ], Ht.prototype, "exam", 2);
16236
- oi([
16236
+ si([
16237
16237
  ie()
16238
16238
  ], Ht.prototype, "bundleId", 2);
16239
- oi([
16239
+ si([
16240
16240
  ie({ default: "color" })
16241
16241
  ], Ht.prototype, "theme", 2);
16242
- oi([
16242
+ si([
16243
16243
  ie({ default: !1 })
16244
16244
  ], Ht.prototype, "isPremium", 2);
16245
- oi([
16245
+ si([
16246
16246
  ie({ default: !1 })
16247
16247
  ], Ht.prototype, "showMenuArrow", 2);
16248
- oi([
16248
+ si([
16249
16249
  ie({ default: "down" })
16250
16250
  ], Ht.prototype, "menuArrowDirection", 2);
16251
- oi([
16251
+ si([
16252
16252
  ie({ default: !0 })
16253
16253
  ], Ht.prototype, "isClickable", 2);
16254
- oi([
16254
+ si([
16255
16255
  Je("click")
16256
16256
  ], Ht.prototype, "emitClick", 1);
16257
- oi([
16257
+ si([
16258
16258
  Je("keydown")
16259
16259
  ], Ht.prototype, "emitKeydown", 1);
16260
- Ht = oi([
16260
+ Ht = si([
16261
16261
  ke({
16262
16262
  components: {
16263
16263
  BundleIcon: ao,
@@ -17588,8 +17588,8 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
17588
17588
  name: "Assignment",
17589
17589
  shortName: "assignment",
17590
17590
  icon: "assignment",
17591
- iconColor: Ze.ash,
17592
- iconColorDM: Ze.fog
17591
+ iconColor: Ze.caramel,
17592
+ iconColorDM: Ze.cheddar
17593
17593
  }
17594
17594
  }, N1 = (e) => e.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), ho = (e) => e.keywordDefinitions.length ? e.keywordDefinitions.map((s) => s.keyword).reduce((s, o) => {
17595
17595
  const i = new RegExp(`(\\W)(${N1(o)})(\\W)`, "i");
@@ -19201,7 +19201,7 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
19201
19201
  },
19202
19202
  emits: ["keyword-click", "selectedChoices", "close", "upgrade", "submitQuiz", "nextQuestion", "previousQuestion", "checkAnswer", "update:showExplanation"],
19203
19203
  setup(e, { emit: t }) {
19204
- const s = e, o = t, i = Te(() => s.question), n = Te(() => s.quizLength), r = Te(() => s.isDarkMode), O = Te(() => s.quizMode), G = Te(() => s.questionNumber), F = Te(() => s.imageUrlPrefix), Z = Te(() => s.globalMetrics), x = Te(() => s.reviewMode), Q = Te(() => s.hideReferences), I = Te(() => s.keywordDefinitions), A = Te(() => s.showPaywall), g = Te(() => s.isTeachGroupReview), c = He(null), d = He(null), u = He([]), C = He([]), b = He([]), D = He(!1), H = He(!1), J = He(!1), Y = He(!1), M = He(!1), L = He({ x: null, y: null }), h = He(null), v = ni("uikit-question"), p = ni("uikit-question__context"), m = ni("promptRef"), l = ni("uikit-question__passage-and-image"), a = ni("uikit-question__choices-container"), w = ni("uikit-question__passage-and-image-dropdown"), y = ni("uikit-question__summary"), k = ni("uikit-question__explanation"), P = Te(() => s.containerEl ? {
19204
+ const s = e, o = t, i = Te(() => s.question), n = Te(() => s.quizLength), r = Te(() => s.isDarkMode), O = Te(() => s.quizMode), G = Te(() => s.questionNumber), F = Te(() => s.imageUrlPrefix), Z = Te(() => s.globalMetrics), x = Te(() => s.reviewMode), Q = Te(() => s.hideReferences), I = Te(() => s.keywordDefinitions), A = Te(() => s.showPaywall), g = Te(() => s.isTeachGroupReview), c = He(null), d = He(null), u = He([]), C = He([]), b = He([]), D = He(!1), H = He(!1), J = He(!1), Y = He(!1), M = He(!1), L = He({ x: null, y: null }), h = He(null), v = ri("uikit-question"), p = ri("uikit-question__context"), m = ri("promptRef"), l = ri("uikit-question__passage-and-image"), a = ri("uikit-question__choices-container"), w = ri("uikit-question__passage-and-image-dropdown"), y = ri("uikit-question__summary"), k = ri("uikit-question__explanation"), P = Te(() => s.containerEl ? {
19205
19205
  breakpoints: {
19206
19206
  mobile: 767,
19207
19207
  "tablet-portrait": 1023,
@@ -19278,7 +19278,7 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
19278
19278
  Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0;
19279
19279
  const Fe = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Ne, ot) => (ot || 0) + (Ne || 0), 0);
19280
19280
  return Ce.value.forEach(({ key: Ne }) => {
19281
- const ot = pe.choiceStats[Ne] || 0, Di = D.value && C.value.includes(Ne) && !s.reviewMode ? 1 : 0, xi = ot + Di, hi = Math.round(xi / Fe * 100);
19281
+ const ot = pe.choiceStats[Ne] || 0, xi = D.value && C.value.includes(Ne) && !s.reviewMode ? 1 : 0, Ii = ot + xi, hi = Math.round(Ii / Fe * 100);
19282
19282
  Ie[Ne] = hi || 0;
19283
19283
  }), Ie;
19284
19284
  }), le = Te(() => {
@@ -19381,9 +19381,9 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
19381
19381
  b.value = [...pe];
19382
19382
  }, ze = (pe) => {
19383
19383
  const Ie = pe.sort((Se, Fe) => {
19384
- var xi, hi;
19385
- const Ne = (Nt, Kt) => (Kt << 5) - Kt + Nt.charCodeAt(0), ot = (xi = Se.text) == null ? void 0 : xi.split("").reduce((Nt, Kt) => Ne(Kt, Nt) & Ne(Kt, Nt), 0), Di = (hi = Fe.text) == null ? void 0 : hi.split("").reduce((Nt, Kt) => Ne(Kt, Nt) & Ne(Kt, Nt), 0);
19386
- return (ot || 0) - (Di || 0);
19384
+ var Ii, hi;
19385
+ const Ne = (Nt, Kt) => (Kt << 5) - Kt + Nt.charCodeAt(0), ot = (Ii = Se.text) == null ? void 0 : Ii.split("").reduce((Nt, Kt) => Ne(Kt, Nt) & Ne(Kt, Nt), 0), xi = (hi = Fe.text) == null ? void 0 : hi.split("").reduce((Nt, Kt) => Ne(Kt, Nt) & Ne(Kt, Nt), 0);
19386
+ return (ot || 0) - (xi || 0);
19387
19387
  });
19388
19388
  return s.answerSeed ? s.answerSeed.reduce((Se, Fe) => {
19389
19389
  const Ne = Ie[Fe];
@@ -19411,13 +19411,13 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
19411
19411
  Fe !== null && Ne !== null && L.value.y !== null && L.value.x !== null && Math.abs(Ne - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19412
19412
  }
19413
19413
  }, Bt = (pe) => {
19414
- var ot, Di, xi;
19414
+ var ot, xi, Ii;
19415
19415
  const Ie = pe.choiceKey, Se = pe.event, Fe = Se.target, Ne = {
19416
19416
  x: ((ot = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : ot.clientX) || null,
19417
- y: ((Di = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : Di.clientY) || null
19417
+ y: ((xi = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : xi.clientY) || null
19418
19418
  };
19419
19419
  if (Fe instanceof HTMLElement && Ne.x !== null && Ne.y !== null && L.value.x !== null && Math.abs(Ne.x - L.value.x) > 80) {
19420
- const hi = (xi = a == null ? void 0 : a.value) == null ? void 0 : xi.choiceEls, Nt = hi == null ? void 0 : hi.find((V1) => V1.contains(Fe)), Kt = document.elementFromPoint(Ne.x, Ne.y);
19420
+ const hi = (Ii = a == null ? void 0 : a.value) == null ? void 0 : Ii.choiceEls, Nt = hi == null ? void 0 : hi.find((V1) => V1.contains(Fe)), Kt = document.elementFromPoint(Ne.x, Ne.y);
19421
19421
  Nt != null && Nt.contains(Kt) && tn(Ie);
19422
19422
  } else D.value || (Se.cancelable && Se.preventDefault(), Ne.y !== null && L.value.y !== null && Math.abs(Ne.y - L.value.y) < 20 && St(Ie));
19423
19423
  L.value = { x: null, y: null };
@@ -19934,7 +19934,7 @@ const Ju = /* @__PURE__ */ be(ei, [["render", Zu]]), Vr = Symbol("question"), _r
19934
19934
  customFooterStyles: { default: () => ({}) }
19935
19935
  },
19936
19936
  setup(e) {
19937
- const t = ni("quiz-container-ref");
19937
+ const t = ri("quiz-container-ref");
19938
19938
  return Ws(() => {
19939
19939
  const s = document.getElementsByTagName("body")[0];
19940
19940
  s && (s.style.overflow = "");
@@ -20495,12 +20495,12 @@ function Dg(e, t, s, o, i, n) {
20495
20495
  ], 42, kg);
20496
20496
  }
20497
20497
  const xg = /* @__PURE__ */ be(mi, [["render", Dg]]);
20498
- var Ig = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, Yi = (e, t, s, o) => {
20498
+ var Ig = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, Oi = (e, t, s, o) => {
20499
20499
  for (var i = o > 1 ? void 0 : o ? Pg(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20500
20500
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
20501
20501
  return o && i && Ig(t, s, i), i;
20502
20502
  };
20503
- let ai = class extends De {
20503
+ let li = class extends De {
20504
20504
  constructor() {
20505
20505
  super(...arguments);
20506
20506
  q(this, "showGlobalMetrics");
@@ -20518,25 +20518,25 @@ let ai = class extends De {
20518
20518
  return s;
20519
20519
  }
20520
20520
  };
20521
- Yi([
20521
+ Oi([
20522
20522
  ie()
20523
- ], ai.prototype, "showGlobalMetrics", 2);
20524
- Yi([
20523
+ ], li.prototype, "showGlobalMetrics", 2);
20524
+ Oi([
20525
20525
  ie({ default: !1 })
20526
- ], ai.prototype, "disabled", 2);
20527
- Yi([
20526
+ ], li.prototype, "disabled", 2);
20527
+ Oi([
20528
20528
  ie()
20529
- ], ai.prototype, "customTooltipStyles", 2);
20530
- Yi([
20529
+ ], li.prototype, "customTooltipStyles", 2);
20530
+ Oi([
20531
20531
  ie()
20532
- ], ai.prototype, "tooltipTheme", 2);
20533
- Yi([
20532
+ ], li.prototype, "tooltipTheme", 2);
20533
+ Oi([
20534
20534
  ie({ default: !1 })
20535
- ], ai.prototype, "isDarkMode", 2);
20536
- Yi([
20535
+ ], li.prototype, "isDarkMode", 2);
20536
+ Oi([
20537
20537
  Je("toggleGlobalMetrics")
20538
- ], ai.prototype, "emitToggleGlobalMetrics", 1);
20539
- ai = Yi([
20538
+ ], li.prototype, "emitToggleGlobalMetrics", 1);
20539
+ li = Oi([
20540
20540
  ke({
20541
20541
  name: "GlobalMetricsToggle",
20542
20542
  components: {
@@ -20544,7 +20544,7 @@ ai = Yi([
20544
20544
  Icon: We
20545
20545
  }
20546
20546
  })
20547
- ], ai);
20547
+ ], li);
20548
20548
  const Gg = ["tabindex", "aria-disabled", "aria-checked"];
20549
20549
  function Qg(e, t, s, o, i, n) {
20550
20550
  const r = Le("Tooltip"), O = Le("Icon");
@@ -20590,13 +20590,13 @@ function Qg(e, t, s, o, i, n) {
20590
20590
  }, null, 8, ["class"])
20591
20591
  ], 40, Gg);
20592
20592
  }
20593
- const Yg = /* @__PURE__ */ be(ai, [["render", Qg]]);
20593
+ const Yg = /* @__PURE__ */ be(li, [["render", Qg]]);
20594
20594
  var Og = Object.defineProperty, Rg = Object.getOwnPropertyDescriptor, uo = (e, t, s, o) => {
20595
20595
  for (var i = o > 1 ? void 0 : o ? Rg(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20596
20596
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
20597
20597
  return o && i && Og(t, s, i), i;
20598
20598
  };
20599
- let Gi = class extends De {
20599
+ let Qi = class extends De {
20600
20600
  constructor() {
20601
20601
  super(...arguments);
20602
20602
  q(this, "showCloseButton");
@@ -20628,17 +20628,17 @@ let Gi = class extends De {
20628
20628
  };
20629
20629
  uo([
20630
20630
  ie({ default: !0 })
20631
- ], Gi.prototype, "showCloseButton", 2);
20631
+ ], Qi.prototype, "showCloseButton", 2);
20632
20632
  uo([
20633
20633
  ie({ default: !1 })
20634
- ], Gi.prototype, "isDarkMode", 2);
20634
+ ], Qi.prototype, "isDarkMode", 2);
20635
20635
  uo([
20636
20636
  ie({ default: !1 })
20637
- ], Gi.prototype, "right", 2);
20637
+ ], Qi.prototype, "right", 2);
20638
20638
  uo([
20639
20639
  Je("close")
20640
- ], Gi.prototype, "emitClose", 1);
20641
- Gi = uo([
20640
+ ], Qi.prototype, "emitClose", 1);
20641
+ Qi = uo([
20642
20642
  ke({
20643
20643
  directives: {
20644
20644
  dark: Be
@@ -20647,7 +20647,7 @@ Gi = uo([
20647
20647
  Icon: We
20648
20648
  }
20649
20649
  })
20650
- ], Gi);
20650
+ ], Qi);
20651
20651
  const Sg = { class: "toast__icon" }, Tg = { class: "toast__content" }, jg = { class: "toast__content-title" }, Hg = {
20652
20652
  key: 0,
20653
20653
  class: "toast__content-subtext"
@@ -20696,7 +20696,7 @@ function zg(e, t, s, o, i, n) {
20696
20696
  [O, e.isDarkMode]
20697
20697
  ]);
20698
20698
  }
20699
- const Fg = /* @__PURE__ */ be(Gi, [["render", zg], ["__scopeId", "data-v-39f2e0c6"]]);
20699
+ const Fg = /* @__PURE__ */ be(Qi, [["render", zg], ["__scopeId", "data-v-39f2e0c6"]]);
20700
20700
  var Ng = Object.defineProperty, Zg = Object.getOwnPropertyDescriptor, en = (e, t, s, o) => {
20701
20701
  for (var i = o > 1 ? void 0 : o ? Zg(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20702
20702
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -20791,12 +20791,12 @@ function _g(e, t, s, o, i, n) {
20791
20791
  }, null, 8, ["title", "primary-color"])) : Me("", !0);
20792
20792
  }
20793
20793
  const $g = /* @__PURE__ */ be(yi, [["render", _g]]);
20794
- var ef = Object.defineProperty, tf = Object.getOwnPropertyDescriptor, Oi = (e, t, s, o) => {
20794
+ var ef = Object.defineProperty, tf = Object.getOwnPropertyDescriptor, Di = (e, t, s, o) => {
20795
20795
  for (var i = o > 1 ? void 0 : o ? tf(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20796
20796
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
20797
20797
  return o && i && ef(t, s, i), i;
20798
20798
  };
20799
- let li = class extends De {
20799
+ let ti = class extends De {
20800
20800
  constructor() {
20801
20801
  super(...arguments);
20802
20802
  q(this, "message");
@@ -20805,37 +20805,41 @@ let li = class extends De {
20805
20805
  q(this, "state");
20806
20806
  q(this, "isDarkMode");
20807
20807
  q(this, "customBlobColor");
20808
+ q(this, "customIconColor");
20808
20809
  q(this, "brandColors", Ze);
20809
20810
  }
20810
20811
  get iconType() {
20811
- return this.state === "incorrect" ? "incorrect" : this.state === "correct" ? "correct" : this.state === "flagged" ? "flagFeedback" : "activity";
20812
+ return this.state === "incorrect" ? "incorrect" : this.state === "correct" ? "correct" : this.state === "flagged" ? "flagFeedback" : this.state === "assignment" ? "assignment" : "activity";
20812
20813
  }
20813
20814
  get blobColor() {
20814
20815
  return this.customBlobColor ? this.customBlobColor : this.isDarkMode ? this.brandColors.moonlitOcean : this.backgroundColor && this.backgroundColor === "white" ? this.brandColors.white : this.state === "incorrect" ? this.brandColors.barelyRed : this.state === "correct" ? this.brandColors.barelyGreen : this.brandColors.manilla;
20815
20816
  }
20816
20817
  get iconColor() {
20817
- return this.state === "incorrect" ? this.isDarkMode ? this.brandColors.rosa : this.brandColors.pepper : this.state === "correct" ? this.isDarkMode ? this.brandColors.jungleGreen : this.brandColors.cadaverous : this.isDarkMode ? this.brandColors.butterscotch : this.brandColors.caramel;
20818
+ return this.state === "incorrect" ? this.isDarkMode ? this.brandColors.rosa : this.brandColors.pepper : this.state === "correct" ? this.isDarkMode ? this.brandColors.jungleGreen : this.brandColors.cadaverous : this.customIconColor ? this.customIconColor : this.isDarkMode ? this.brandColors.butterscotch : this.brandColors.caramel;
20818
20819
  }
20819
20820
  };
20820
- Oi([
20821
+ Di([
20821
20822
  ie()
20822
- ], li.prototype, "message", 2);
20823
- Oi([
20823
+ ], ti.prototype, "message", 2);
20824
+ Di([
20824
20825
  ie()
20825
- ], li.prototype, "title", 2);
20826
- Oi([
20826
+ ], ti.prototype, "title", 2);
20827
+ Di([
20827
20828
  ie()
20828
- ], li.prototype, "backgroundColor", 2);
20829
- Oi([
20829
+ ], ti.prototype, "backgroundColor", 2);
20830
+ Di([
20830
20831
  ie()
20831
- ], li.prototype, "state", 2);
20832
- Oi([
20832
+ ], ti.prototype, "state", 2);
20833
+ Di([
20833
20834
  ie({ default: !1 })
20834
- ], li.prototype, "isDarkMode", 2);
20835
- Oi([
20835
+ ], ti.prototype, "isDarkMode", 2);
20836
+ Di([
20836
20837
  ie()
20837
- ], li.prototype, "customBlobColor", 2);
20838
- li = Oi([
20838
+ ], ti.prototype, "customBlobColor", 2);
20839
+ Di([
20840
+ ie()
20841
+ ], ti.prototype, "customIconColor", 2);
20842
+ ti = Di([
20839
20843
  ke({
20840
20844
  name: "EmptyState",
20841
20845
  components: {
@@ -20846,7 +20850,7 @@ li = Oi([
20846
20850
  dark: Be
20847
20851
  }
20848
20852
  })
20849
- ], li);
20853
+ ], ti);
20850
20854
  const of = { class: "uikit-empty-state" }, sf = { class: "uikit-empty-state__row" }, nf = { class: "uikit-empty-state__title" }, rf = { class: "uikit-empty-state__message" };
20851
20855
  function af(e, t, s, o, i, n) {
20852
20856
  const r = Le("Blob"), O = Le("Icon"), G = it("dark");
@@ -20892,7 +20896,7 @@ function af(e, t, s, o, i, n) {
20892
20896
  [G, e.isDarkMode]
20893
20897
  ]);
20894
20898
  }
20895
- const lf = /* @__PURE__ */ be(li, [["render", af]]);
20899
+ const lf = /* @__PURE__ */ be(ti, [["render", af]]);
20896
20900
  var hf = Object.defineProperty, df = Object.getOwnPropertyDescriptor, Dt = (e, t, s, o) => {
20897
20901
  for (var i = o > 1 ? void 0 : o ? df(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20898
20902
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);