v3.26.1
Debt - Schedule of Components of Debt (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Dec. 10, 2021
Line of Credit Facility [Line Items]      
Debt, gross $ 3,257,482    
Total debt 3,222,224 $ 3,686,921  
Current portion of long-term debt (7,916) (188,306)  
Long-term debt, less current portion $ 3,214,308 3,498,615  
Line of credit | Secured Debt      
Line of Credit Facility [Line Items]      
Interest rate on debt 1.55%    
Debt, gross $ 14,000    
Line of credit | Credit Agreement | Term A Facility      
Line of Credit Facility [Line Items]      
Basis spread on variable rate 1.25%    
Debt, gross $ 1,140,625 624,375  
Line of credit | Credit Agreement | Debt issuance costs, Term A Facility and Revolving Credit Facility      
Line of Credit Facility [Line Items]      
Debt issuance costs $ (10,087) (8,141)  
Line of credit | Credit Agreement | Term B Facility      
Line of Credit Facility [Line Items]      
Basis spread on variable rate 1.75%    
Debt, gross $ 1,080,000 2,102,358  
Debt issuance costs (21,228) (36,478)  
Line of credit | Other Credit Facility      
Line of Credit Facility [Line Items]      
Debt, gross 28,004 0  
Line of credit | Borrowings on local lines of credit | Secured Debt      
Line of Credit Facility [Line Items]      
Debt, gross 4,791 2,091  
Line of credit | Facility construction loan in Germany | Secured Debt      
Line of Credit Facility [Line Items]      
Debt, gross $ 14,062 17,682  
Senior Notes | 5.00% Senior Notes      
Line of Credit Facility [Line Items]      
Interest rate on debt 5.00%   5.00%
Debt, gross $ 990,000 990,000  
Debt Issuance costs and discount, Senior Notes $ (3,943) $ (4,966)