XML 23 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Cash flows from operating activities:      
Net loss $ (46,792) $ (1,744) $ (36,363)
Adjustments to reconcile net loss to net cash provided by operating activities:      
Depreciation 23,471 10,618 10,802
Amortization of intangible assets 25,585 15,722 32,370
Provision for doubtful accounts 1,687 335 1,140
Stock-based compensation 27,633 12,633 14,792
Deferred income taxes (4,677) 1,995 1,741
Non-cash restructuring and related charges   1,031 4,463
Realized gain on sale of investments (3,967)    
Realized gain on bargain purchase (5,030)    
Loss on extinguishment of debt 1,173    
Other non-cash charges 5,933 1,339 (721)
Changes in operating assets and liabilities, net of acquisitions      
Accounts receivable (69,518) (13,951) 626
Inventories 17,343 7,413 18,196
Prepaid expenses and other assets (8,014) 7,717 (806)
Accounts payable 18,844 2,064 (9,562)
Accrued compensation and benefits 4,981 13,058 1,949
Deferred revenue 28,366 (4,677) (4,922)
Other current and long-term liabilities 2,025 5,730 (3,339)
Net cash provided by operating activities 19,043 59,283 30,366
Cash flows from investing activities:      
Capital expenditures (40,411) (10,425) (5,327)
Business acquisitions (97,581) (51,088)  
Deposits related to an acquisition   (10,239)  
Proceeds from sale of investments 5,521    
Net cash used in investing activities (132,471) (71,752) (5,327)
Cash flows from financing activities:      
Borrowings under Revolving Facility 10,000   15,000
Borrowings under Term Loan 290,000 48,250  
Repayments of debt (193,713) (10,038) (26,375)
Loan fees on borrowings (3,211) (1,326)  
Proceeds from issuance of common stock, net of tax withholding 3,341 11,822 4,637
Payments of contingent consideration (671)    
Deferred payments on an acquisition (1,000)    
Net cash provided by (used in) financing activities 104,746 48,708 (6,738)
Foreign currency effect on cash (629) 89 (404)
Net (decrease) increase in cash and cash equivalents (9,311) 36,328 17,897
Cash and cash equivalents at beginning of period 130,450 94,122 76,225
Cash and cash equivalents at end of period 121,139 130,450 94,122
Supplemental disclosure of cash flow information:      
Cash paid for interest 8,294 3,013 2,613
Cash paid for income taxes 4,131 2,514 2,355
Non-cash investing activities:      
Unpaid capital expenditures $ 5,323 $ 1,122 $ 741