XML 43 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Cash flows from operating activities:    
Net loss $ (61,276) $ (1,866)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 14,251 13,476
Amortization of intangible assets 17,772 13,552
Reduction in carrying amount of right-of-use asset 8,477  
Provision for doubtful accounts 626 861
Share-based compensation 19,792 15,525
Deferred income taxes 801 (6,516)
Non-cash restructuring and impairment charges 7,622  
Unrealized/realized gain on equity investment   274
Non-cash interest expense 1,982 1,532
Other 735 (344)
Changes in operating assets and liabilities, net of acquisitions    
Accounts receivable 25,751 66,568
Inventories 3,157 5,570
Prepaid expenses and other assets (274) (12,390)
Accounts payable (9,070) (40,050)
Accrued compensation and benefits (3,036) (3,851)
Operating lease liabilities (9,051)  
Deferred revenue 6,181 11,568
Other current and long-term liabilities (2,529) (2,298)
Net cash provided by operating activities 21,911 61,611
Cash flows from investing activities:    
Capital expenditures (9,438) (11,140)
Business acquisitions, net of cash acquired (219,458)  
Maturities and sales of investments 45,249 727
Net cash used in investing activities (183,647) (10,413)
Cash flows from financing activities:    
Borrowings under Term Loan 199,500  
Repayments of debt (24,950) (14,933)
Loan fees on borrowings (10,514) (545)
Equity forward contract (4,821)  
Repurchase of common stock (25,179) (15,000)
Proceeds from issuance of common stock, net of tax withholding 2,906 5,005
Payment of contingent consideration obligations (2,000) (3,856)
Deferred payments on an acquisition (2,206) (2,000)
Net cash provided by (used in) financing activities 132,736 (31,329)
Foreign currency effect on cash (193) (365)
Net (decrease) increase in cash (29,193) 19,504
Cash at beginning of period 169,607 121,139
Cash at end of period $ 140,414 $ 140,643