XML 104 R8.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities:      
Net income (loss) $ 446,906 $ 109,493 $ (313,142)
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 54,533 54,969 52,178
In-process research and development impairment     12,000
Stock-based compensation 166,589 148,153 133,055
Expense related to senior note conversions     54,881
Deferred income taxes (377) (459)  
Other, net 486 344 290
Unrealized (gain) loss on long term investments (34,458) 44,093 24,275
Change in fair value of acquisition-related contingent consideration 19,682 26,173 7,704
Changes in operating assets and liabilities:      
Accounts receivable (1,211) (41,299) (117,541)
Prepaid expenses and other assets 5,744 (33,412) (31,367)
Inventory (6,100) 4,043 4,851
Accounts payable (20,180) 36,156 (7,928)
Accrued and other liabilities 79,042 (12,027) 87,756
Net cash provided by (used in) operating activities 710,656 336,227 (92,988)
Cash flows from investing activities:      
Purchase of long term investments   (8,936) (123,891)
Capital expenditures (78,064) (73,483) (111,021)
Purchases of marketable securities (374,809) (159,932) (260,780)
Sale and maturities of marketable securities 365,419 155,928 145,714
Net cash used in investing activities (87,454) (86,423) (349,978)
Cash flows from financing activities:      
Proceeds from issuance of common stock under stock plans 63,299 29,942 66,764
Proceeds from issuance of common stock, net     649,387
Cash paid in connection with senior note conversions     (8,934)
Payment of finance lease liabilities (822)    
Payment of contingent consideration (16,766) (15,285) (17,007)
Net cash provided by financing activities 45,711 14,657 690,210
Effect of exchange rates on cash, cash equivalents, restricted cash and investments (192) 91 (39)
Net increase in cash, cash equivalents, restricted cash and investments 668,721 264,552 247,205
Cash, cash equivalents, restricted cash and investments at beginning of period 1,164,986 900,434 653,229
Cash, cash equivalents, restricted cash and investments at end of period 1,833,707 1,164,986 900,434
Supplemental Schedule of Cash Flow Information      
Interest paid 239 268 314
Income taxes paid 33,553 5,417 6,305
Unpaid purchases of property and equipment 12,732 7,673 5,643
Leased assets obtained in exchange for new operating lease liabilities 7,607    
Leased assets obtained in exchange for new finance lease liabilities $ 29,889    
Convertible Senior Notes 0.375 Percent Due 2018      
Supplemental Schedule of Cash Flow Information      
Reclassification to common stock and additional paid in capital in connection with conversions of convertible senior notes   $ 7,695 351,044
Convertible Senior Notes 1.25 Percent Due 2020      
Supplemental Schedule of Cash Flow Information      
Reclassification to common stock and additional paid in capital in connection with conversions of convertible senior notes     $ 330,011