@regulaforensics/ui-components 8.5.717-rc → 8.5.720-rc

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.
@@ -4626,7 +4626,7 @@ function SU() {
4626
4626
  (0, r.default)(a);
4627
4627
  var c, _;
4628
4628
  n(i) === "object" ? (c = i.min || 0, _ = i.max) : (c = arguments[1] || 0, _ = arguments[2]);
4629
- var E = a.match(/(\uFE0F|\uFE0E)/g) || [], l = a.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || [], u = a.length - E.length - l.length, S = u >= c && (typeof _ > "u" || u <= _);
4629
+ var E = a.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g) || [], l = a.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || [], u = a.length - E.length - l.length, S = u >= c && (typeof _ > "u" || u <= _);
4630
4630
  return S && Array.isArray(i?.discreteLengths) ? i.discreteLengths.some(function(I) {
4631
4631
  return I === u;
4632
4632
  }) : S;