XML 19 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Cash flows from operating activities:    
Net loss $ (27,547) $ (9,971)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 8,093 4,832
Amortization of intangible assets 11,023 11,593
Provision for doubtful accounts 1,180 154
Stock-based compensation 11,828 6,856
Deferred income taxes (2,135) 923
Non-cash restructuring and related charges   1,718
Realized gain on sale of non-marketable equity investment (3,757)  
Realized gain on bargain purchase (4,920)  
Other non-cash items 1,818 (243)
Changes in operating assets and liabilities, net of assets acquired and liabilities assumed    
Accounts receivable (11,188) (7,756)
Inventories (449) 4,313
Prepaid expenses and other assets 1,188 6,823
Accounts payable 17,547 (4,444)
Accrued compensation and benefits 3,734 (916)
Deferred revenue 4,446 (2,469)
Other current and long-term liabilities 3,387 7,875
Net cash provided by operating activities 14,248 19,288
Cash flows from investing activities:    
Capital expenditures (13,309) (4,662)
Acquisitions (97,581) (51,088)
Proceeds from sale of non-marketable equity investment 4,922  
Net cash used in investing activities (105,968) (55,750)
Cash flows from financing activities:    
Borrowings under Term Loan 100,000 48,250
Repayments of debt (8,686) (5,513)
Loan fees on borrowings (1,494) (1,327)
Proceeds from issuance of common stock, net of tax withholding (1,536) 4,831
Net cash provided by financing activities 88,284 46,241
Foreign currency effect on cash 94 (115)
Net (decrease) increase in cash and cash equivalents (3,342) 9,664
Cash and cash equivalents at beginning of period 130,450 94,122
Cash and cash equivalents at end of period $ 127,108 $ 103,786