To show both conditions A and B are equivalent or indifferent; 'whether A or B'.
Long explanation:
The うと うと grammar point is used to express that both conditions A and B are equivalent or the same to the speaker. It can be translated as 'whether A or B' in English, indicating the speaker's indifference to the two conditions. The formation is with い-adjectives, な-adjectives, or nouns.