v3.26.1
INCOME TAXES - Schedule of Income Before Provision for Income Tax (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Income Tax Disclosure [Abstract]      
Domestic income (loss) $ 361,295 $ 248,942 $ 359,865
Foreign income (loss) 497,582 233,129 369,431
Income before income taxes $ 858,877 $ 482,071 $ 729,296