XML 37 R7.htm IDEA: XBRL DOCUMENT v3.19.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Operating activities    
Net income (loss) $ 19,851 $ (14,994)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 42,535 40,718
Share-based compensation expense 5,414 8,916
Deferred taxes (960) (3,963)
Unrealized gain on derivatives not designated as hedging instruments included in net income (loss) (14,527) (5,766)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency 5,028 (2,856)
Other non-cash items 1,365 745
Changes in operating assets and liabilities:    
Accounts receivable (6,595) (7,291)
Inventory (6,410) (11,316)
Prepaid expenses and other assets 737 783
Accounts payable (11,038) 1,586
Accrued expenses and other liabilities 27,505 15,658
Net cash provided by operating activities 62,905 22,220
Investing activities    
Purchases of property, plant and equipment 14,193 21,026
Business acquisitions, net of cash acquired 4,272 18,000
Purchases of intangible assets 0 22
Capitalization of software and website development costs 12,471 11,233
Proceeds from the sale of assets 670 318
Other investing activities 903 395
Net cash used in investing activities (29,363) (49,568)
Financing activities    
Proceeds from borrowings of debt 277,785 245,096
Payments of debt (74,392) (206,692)
Payments of debt issuance costs 0 (1,458)
Payments of withholding taxes in connection with equity awards (359) (1,766)
Payments of finance lease obligations (2,719) (4,182)
Purchase of noncontrolling interests (231,883)  
Cash and cash equivalents at end of period (1,437) 645
Net cash (used in) provided by financing activities (33,005) 31,643
Effect of exchange rate changes on cash (4,582) (454)
Net increase in cash and cash equivalents (4,045) 3,841
Cash and cash equivalents at beginning of period 35,279 44,227
Cash and cash equivalents at end of period 31,234 48,068
Supplemental disclosures of cash flow information:    
Interest 9,384 7,549
Income taxes 4,472 5,449
Capitalization of construction costs related to financing lease obligation 0 2,825
Property and equipment acquired under finance leases 0 3,565
Amounts accrued related to business acquisitions $ 2,645 $ 5,832