function r(e) {
  return /^(?:[a-z][a-z\d+\-.]*:|\/\/)/iu.test(e);
}
function u({
  iconUrl: e,
  urlIconPrefix: t = ""
}) {
  const n = typeof e == "string" ? e.trim() : "";
  return !n || n === "null" || n === "undefined" ? "" : r(n) ? n : `${t}${n}`;
}
export {
  u as resolveMenuItemIconUrl
};
