@Nullable
  public Pair<UIThemeMetadata, UIThemeMetadata.UIKeyMetadata> findByKey(String key) {
    var baseKey = key;
    baseKey = StringUtil.trimEnd(baseKey, ".compact");
    baseKey = StringUtil.trimEnd(baseKey, ".os.mac");
    baseKey = StringUtil.trimEnd(baseKey, ".os.windows");
    baseKey = StringUtil.trimEnd(baseKey, ".os.linux");
    baseKey = StringUtil.trimEnd(baseKey, ".os.default");
    for (Map.Entry<UIThemeMetadata, Map<String, UIThemeMetadata.UIKeyMetadata>> entry : myCache.entrySet()) {
      final UIThemeMetadata.UIKeyMetadata byKey = entry.getValue().get(baseKey);
      if (byKey != null) {
        return Pair.pair(entry.getKey(), byKey);
      }
    }
    return null;
  }
@Nullable
  public Pair<UIThemeMetadata, UIThemeMetadata.UIKeyMetadata> findByKey(String key)