function s(o) {
  const t = o.trim();
  return t ? /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(t) ? /^(https?|mailto|tel|ftp):/i.test(t) ? t : "" : `https://${t}` : "";
}
export {
  s as default
};
//# sourceMappingURL=normaliseUrl.js.map
