static @NotNull TextChunk @NotNull [] inflate(@NotNull Object compact) {
    if (compact instanceof TextChunk) {
      return new TextChunk[]{(TextChunk)compact};
    }
    if (compact instanceof TextChunk[]) {
      return (TextChunk[])compact;
    }
    TextAttributes defaultAttributes = defaultAttributes();
    if (compact instanceof String) {
      return new TextChunk[]{new TextChunk(defaultAttributes, (String)compact)};
    }
    return ContainerUtil.map(
      (Object[])compact,
      stringOrChunk -> stringOrChunk instanceof String ? new TextChunk(defaultAttributes, (String)stringOrChunk) : (TextChunk)stringOrChunk
    ).toArray(EMPTY_ARRAY);
  }
static @NotNull TextChunk @NotNull [] inflate(@NotNull Object compact)