@pocketprep/ui-kit 3.4.37 → 3.4.38

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.
@@ -17766,10 +17766,10 @@ const Wp = /* @__PURE__ */ me(Lt, [["render", Jp]]), Fr = {
17766
17766
  iconColorDM: Re.pewter
17767
17767
  }
17768
17768
  }, Rs = (e) => e.keywordDefinitions.length ? e.keywordDefinitions.map((s) => s.keyword).reduce((s, o) => {
17769
- const t = new RegExp(`\\W(${o})\\W`, "i");
17769
+ const t = new RegExp(`(\\W)(${o})(\\W)`, "i");
17770
17770
  return s.replace(
17771
17771
  t,
17772
- `<span class="keyword-highlight${e.isDarkMode ? " keyword-highlight--dark" : ""}" data-location="${e.location}">$1</span>`
17772
+ `$1<span class="keyword-highlight${e.isDarkMode ? " keyword-highlight--dark" : ""}" data-location="${e.location}">$2</span>$3`
17773
17773
  );
17774
17774
  }, e.text) : e.text, Bm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17775
17775
  __proto__: null,