XML 36 R8.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Operating activities      
Net Income (Loss), Including Portion Attributable to Noncontrolling Interest $ 177,808 $ (185,715) $ (50,570)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 151,764 162,428 175,681
Share-based compensation expense 65,584 42,122 49,766
Impairment of goodwill 0 5,609 0
Deferred taxes (94,442) 114,912 22,879
Loss (gain) on early extinguishment of debt noncash adjustment 515 6,764 0
Unrealized (gain) loss on derivatives not designated as hedging instruments included in net income (loss) (4,992) 34,393 (40,408)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency 116 (11,988) 537
Other non-cash items 1,615 13,235 (13,704)
Changes in operating assets and liabilities, net of effects of businesses acquired:      
Accounts receivable 161 (4,243) (18,119)
Inventory 11,778 11,352 (44,089)
Prepaid expenses and other assets 15,560 1,768 (5,989)
Accounts payable 39,276 (28,872) 109,977
Accrued expenses and other liabilities (14,021) (17,948) 33,575
Net cash provided by operating activities 350,722 130,289 219,536
Investing activities      
Purchases of property, plant and equipment (54,927) (53,772) (54,040)
Proceeds from the sale of subsidiaries, net of transaction costs and cash divested 0 (4,130) 0
Business acquisitions, net of cash acquired (3,621) 498 75,258
Capitalization of software and website development costs (58,307) (57,787) (65,297)
Proceeds from the sale of assets 23,565 4,659 37,771
Purchases of marketable securities 0 (84,030) 0
Proceeds from maturity of held-to-maturity investments 38,676 92,110 151,200
Proceeds from the settlement of derivatives designated as hedging instruments 0 0 2,244
Other investing activities 0 (277) (617)
Net cash used in investing activities (54,614) (103,725) (3,997)
Financing activities      
Proceeds from borrowings of debt 205,775 48,264 0
Payments of debt (219,722) (61,310) (14,510)
Payment for Debt Extinguishment or Debt Prepayment Cost (24,471) (44,994)  
Payments of debt issuance costs (2,076) (51) (1,444)
Payments of purchase consideration included in acquisition-date fair value 0 (7,100) (43,647)
Payments of withholding taxes in connection with equity awards (16,424) (4,448) (3,219)
Payments of finance lease obligations (10,140) (8,290) (37,512)
Purchase of noncontrolling interests (65) (95,567) (2,165)
Purchase of ordinary shares (156,982)    
Proceeds from issuance of ordinary shares 2,102 327 0
Distributions to noncontrolling interests (549) (3,652) (3,963)
Other financing activities 0 (285) (112)
Net cash used in financing activities (222,552) (177,106) (106,572)
Effect of exchange rate changes on cash (94) 3,802 (14,937)
Net increase (decrease) in cash and cash equivalents 73,462 (146,740) 94,030
Cash and cash equivalents at beginning of period 130,313 277,053 183,023
Cash and cash equivalents at end of period $ 203,775 130,313 277,053
Supplemental Cash Flow Elements [Abstract]      
Schedule of Cash Flow, Supplemental Disclosures
Year Ended June 30,
202420232022
Supplemental disclosures of cash flow information
Cash paid during the period for:
Interest$132,272 $113,952 $98,099 
Income taxes49,414 31,184 32,987 
Cash received during the period for:
Interest14,169 11,451 3,230 
Non-cash investing and financing activities
Property and equipment acquired under finance leases4,562 20,303 7,033 
Amounts accrued related to property, plant and equipment9,991 9,403 12,810 
Amounts accrued related to capitalized software development costs125 185 124 
Amounts accrued related to business acquisitions— — 8,425 
   
Interest Paid, Excluding Capitalized Interest, Operating Activities $ 132,272 113,952 98,099
Income Taxes Paid 49,414 31,184 32,987
Interest Received, Operating Activities 14,169 11,451 3,230
Payments to Acquire Equipment on Lease 4,562 20,303 7,033
Capital Expenditures Incurred but Not yet Paid 9,991 9,403 12,810
Capitalized Software Development Costs Incurred but Not yet Paid 125 185 124
Amounts accrued related to business acquisitions $ 0 $ 0 $ 8,425