SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Land, Property and Equipment, Net by Geographic Region (Details) - USD ($) $ in Thousands  | 
Mar. 31, 2025  | 
Jun. 30, 2024  | 
|---|---|---|
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | $ 1,198,302 | $ 1,109,968 | 
| United States | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | 710,572 | 689,937 | 
| Europe | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | 231,375 | 155,812 | 
| Singapore | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | 152,287 | 148,557 | 
| Israel | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | 71,970 | 84,279 | 
| Rest of Asia | ||
| Revenues from External Customers and Long-Lived Assets | ||
| Land, property and equipment, net | $ 32,098 | $ 31,383 | 
| X | ||||||||||
- Definition Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |