XML 17 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities:    
Consolidated net (loss) income $ (44,717) $ 24,348
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 70,138 67,614
Amortization of non-cash interest 18,573 10,494
Stock-based compensation 2,235 12,618
Reserves on current assets 33,148 8,267
Purchase of in-process research and development 1,011  
Net loss on strategic investments 1,411  
Net loss recognized on change in fair value of derivatives 12,301  
Other non-cash adjustments 7,686 6,299
Deferred income taxes (5,712) 5,721
Changes in operating assets and liabilities, net of effects from acquisitions:    
Accounts receivable 25,132 (11,602)
Inventory (32,997) (31,856)
Prepaid expenses and other current assets (2,727) (2,811)
Accounts payable and accrued liabilities 1,319 9,166
Accrued payroll and related expenses (44,388) (3,699)
Income taxes (9,306) (1,128)
Net cash provided by operating activities 33,107 93,431
Investing activities:    
Acquisitions and investments   (4,100)
Purchases of intangible assets (2,490) (6,827)
Purchases of property and equipment (52,065) (65,385)
Purchases of marketable securities (130,096)  
Net cash used in investing activities (184,651) (76,312)
Financing activities:    
Proceeds from the issuance of common stock 3,871 3,888
Purchases of treasury stock (79,026) (11,702)
Payment of contingent consideration (7,053) (809)
Proceeds from issuance of convertible debt, net of issuance costs 874,404  
Proceeds from sale of warrants 93,915  
Purchases of convertible note hedges (147,825)  
Other financing activities (2,307) 1,769
Net cash provided by (used in) financing activities 735,979 (6,854)
Effect of exchange rate changes on cash (696) 271
Increase in cash, cash equivalents and restricted cash 583,739 10,536
Cash, cash equivalents and restricted cash at beginning of period 214,528 120,235
Cash, cash equivalents and restricted cash at end of period $ 798,267 $ 130,771