bhl-forms 0.1.17 → 0.1.19

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.
@@ -4786,7 +4786,7 @@ const keyValOverlap = (o1, o2) => {
4786
4786
  }
4787
4787
  return result;
4788
4788
  };
4789
- const strSubUrl = (str, obj) => str.replace(/\${(.*?)}/g, (x, g) => encodeURIComponent(getKey(obj, g)));
4789
+ const strSubUrl = (str, obj, d = "") => str.replace(/\${(.*?)}/g, (x, g) => encodeURIComponent(getKey(obj, g) || d));
4790
4790
  function usePrepop() {
4791
4791
  let prepopSettings = {};
4792
4792
  const urlParams2 = new URLSearchParams(window.location.search);