XML 17 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities:    
Net loss $ (41,160) $ (14,948)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation 15,417 7,716
Amortization of intangible assets 17,771 13,781
Provision for doubtful accounts 1,566 21
Stock-based compensation 19,646 9,328
Deferred income taxes (1,900) 1,507
Non-cash restructuring and related charges   2,578
Realized gain on sale of non-marketable equity investment (3,757)  
Realized gain on bargain purchase (5,030)  
Other non-cash items 2,441 457
Changes in operating assets and liabilities, net of acquisitions    
Accounts receivable (45,376) 7,232
Inventories 5,122 4,724
Prepaid expenses and other assets (3,711) 8,031
Accounts payable 28,912 4,907
Accrued compensation and benefits (4,779) (1,322)
Deferred revenue 10,365 (6,245)
Other current and long-term liabilities 2,743 6,194
Net cash (used in) provided by operating activities (1,730) 43,961
Cash flows from investing activities:    
Capital expenditures (21,999) (7,832)
Business acquisitions (97,581) (51,088)
Proceeds from sale of non-marketable equity investment 4,922  
Deposit related to an acquisition   (10,239)
Net cash used in investing activities (114,658) (69,159)
Cash flows from financing activities:    
Borrowings under Term Loan 100,000 48,250
Repayments of debt (13,278) (7,775)
Loan fees on borrowings (1,494) (1,327)
Proceeds from issuance of common stock, net of tax withholding 4,657 9,180
Payments of contingent consideration (671)  
Net cash provided by financing activities 89,214 48,328
Foreign currency effect on cash (99) 28
Net (decrease) increase in cash and cash equivalents (27,273) 23,158
Cash and cash equivalents at beginning of period 130,450 94,122
Cash and cash equivalents at end of period 103,177 117,280
Non-cash investing activities:    
Unpaid capital expenditures $ 12,608 $ 963