INCOME TAXES - Narrative (Details) - USD ($) $ in Thousands |
12 Months Ended | ||||
|---|---|---|---|---|---|
Jun. 30, 2020 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jan. 17, 2020 |
Jun. 30, 2017 |
|
| Income Tax Disclosure [Abstract] | |||||
| Effective tax rate, increase (decrease) | 0.10% | ||||
| Effective tax rate | 15.50% | 15.40% | 37.50% | ||
| Income Tax Expense (Benefit) | $ 69,899 | $ 58,795 | $ 117,852 | ||
| Unrecognized tax benefits | 31,350 | 30,850 | 29,144 | $ 27,438 | |
| Interest accrued related to uncertain tax matters | 4,900 | ||||
| Hong Kong Inland Revenue Department | |||||
| Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items] | |||||
| Payment For tax deposit | 35,500 | ||||
| Internal Revenue Service (IRS) | |||||
| Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items] | |||||
| Incremental tax liability | $ 50,000 | ||||
| Tax Year 2010-2013 | Hong Kong Inland Revenue Department | |||||
| Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items] | |||||
| Payment For tax deposit | $ 15,500 | $ 13,400 | $ 6,600 | ||