code: function sanitizeUrl(unsafeUrl) {
      var s = getCurrentSanitizer();
      if (s) {
          return s.sanitize(SecurityContext.URL, unsafeUrl) || '';
      }
      if (allowSanitizationBypass(unsafeUrl, "Url" /* Url */)) {
          return unsafeUrl.toString();
      }
      return _sanitizeUrl(stringify$1(unsafeUrl));
  }
docs: A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing
  dangerous
  content.
  
  This method parses the `url` and locates potentially dangerous content (such as javascript) and
  removes it.
  
  It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustUrl}.
  
  @param unsafeUrl untrusted `url`, typically from the user.
  @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because
  all of the dangerous javascript has been removed.