Noun + はともかく(として)
Noun A + はともかく + Noun B + は~
Question word clause + かはともかく
はともかく is used to set aside one thing in order to focus on or emphasize another. It expresses the idea of "leaving X aside" or "regardless of X" – the speaker acknowledges X but deliberately shifts attention to what follows as more important or relevant.
The basic pattern is Noun + はともかく, where the noun before はともかく is the thing being set aside.
This is the most common usage – the speaker considers X less important or not worth discussing right now, and wants to draw attention to something else.
Often はともかく is used to contrast two related items, where the speaker sets aside one and makes a judgment about the other.
Adding として after ともかく creates a slightly more formal or emphatic expression with the same meaning.
はともかく is similar to はさておき ("setting aside") and はどうあれ ("however X may be"), but はともかく is the most conversational and common of the three. It can also overlap with はともあれ ("be that as it may"), though はともあれ tends to be more literary.