XML 46 R35.htm IDEA: XBRL DOCUMENT v3.23.1
Debt and Bank Borrowings (Tables)
12 Months Ended
Jun. 30, 2022
Debt Disclosure [Abstract]  
Schedule of Debt
Debt and borrowings consisted of the following as of the dates present (in thousands):

June 30,
20222021
Convertible senior notes:
2027 Notes, principal$575,000 $— 
2025 Notes, principal1,150,000 1,150,000 
Total principle amount of convertible senior notes1,725,000 1,150,000 
Credit facilities:
2021 revolving credit agreement (Class A)75,000 37,500 
2021 revolving credit agreement (Class B)— 10,000 
2019 credit agreement— 30,000 
Total principal borrowings from credit facilities75,000 77,500 
Total principal amount of debt and borrowings1,800,000 1,227,500 
Less: unamortized debt discount and issuance costs
(26,918)(238,119)
Net carrying value of debt and borrowings$1,773,082 $989,381 
Net carrying value of debt and borrowings consisted of:
Current liabilities:
Borrowings from credit facilities
   (including unamortized debt premium)
$75,097 $— 
Non-current liabilities:
2027 Notes, net562,127 — 
2025 Notes, net1,135,858 909,847 
Borrowings from credit facilities
   (including unamortized debt premium)
— 79,534 
Total $1,773,082 $989,381 
Convertible Debt
As of June 30, 2022 and 2021, the Notes consisted of the following (in thousands):
June 30, 2022June 30, 2021
2027 Notes2025 Notes2025 Notes
Liability component:
Principal$575,000 $1,150,000 $1,150,000 
Less: unamortized debt discount and issuance costs$(12,873)$(14,142)$(240,153)
Net carrying amount$562,127 $1,135,858 $909,847 
Amount allocated to equity component, net of issuance costs and tax
$— $— $245,066