Annual report pursuant to Section 13 and 15(d)

INCOME TAXES - Summary of Income Tax Contingencies (Details)

v3.24.2.u1
INCOME TAXES - Summary of Income Tax Contingencies (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns      
Unrecognized tax benefits at the beginning of the year $ 213,092 $ 217,927 $ 149,642
Increases for tax positions taken in current year 40,209 44,590 49,311
Increases for tax positions taken in prior years 23,291 434 20,917
Decreases for settlements with taxing authorities 0 (45,042) 0
Decreases for tax positions taken in prior years (26,766) (3,929) (267)
Decreases for lapsing of statutes of limitations (4,119) (888) (1,676)
Unrecognized tax benefits at the end of the year $ 245,707 $ 213,092 $ 217,927