static getRootDomain(url) {
    const parsedUrl = Util.createOrReturnURL(url);
    return getDomain(parsedUrl.href) || parsedUrl.hostname;
  }
Returns a primary domain for provided hostname (e.g. www.example.com -> example.com).
@param {string|URL} url hostname or URL object
@return {string}