export const getFirstLetters = (e, t = "") =>
(e || "")
.split(/\s+/)
.map((e) => {
const t = e.match(/\p{L}/u)
return t ? t[0] : ""
})
.join("")
.slice(0, 2)
.toUpperCase() || t
export const isSetString = (e) => "string" == typeof e && e.length > 0
export const normalizedIncludes = (e, t) =>
e
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
.toLowerCase()
.includes(
t
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
.toLowerCase(),
)
export const hasVisibleChars = (e) => /[^\p{C}\p{Z}]/u.test(e)