XML 77 R68.htm IDEA: XBRL DOCUMENT v3.22.4
Financial instruments - Gain (losses) on derivative financial instruments recorded in consolidated statement if income (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Deal-contingent forward contracts        
Derivative [Line Items]        
Gains (loss) on derivative financial instruments $ 0 $ (149,382) $ (389,992) $ (149,382)
Forward exchange contracts        
Derivative [Line Items]        
Gains (loss) on derivative financial instruments (13,439) 18,410 (14,803) 22,752
Costless collar contracts        
Derivative [Line Items]        
Gains (loss) on derivative financial instruments (65) (553) 5,324 (2,874)
Cross-currency swap contracts        
Derivative [Line Items]        
Gains (loss) on derivative financial instruments $ (20,422) $ 0 $ (15,763) $ 0