XML 20 R8.htm IDEA: XBRL DOCUMENT v3.21.2
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Cash flows from operating activities    
Net income (loss) $ 250,403 $ (733,630)
Adjustments to reconcile net income (loss) to net cash used in operating activities    
Depreciation and amortization 107,847 124,169
Unrealized foreign currency exchange rate gain (loss) 12,353 (3,676)
Loss on extinguishment of senior convertible notes 58,526 0
Loss on disposal of property and equipment 2,624 3,547
Non-cash restructuring and impairment charges 11,903 452,945
Amortization of bond premium 19,902 6,910
Stock-based compensation 32,953 32,770
Deferred income taxes (23,414) 19,172
Changes in reserves and allowances (19,215) 22,910
Changes in operating assets and liabilities:    
Accounts receivable (200,079) (105,874)
Inventories 64,202 (159,930)
Prepaid expenses and other assets (3,738) 64,404
Other non-current assets 52,179 (288,111)
Accounts payable (36,913) 17,972
Accrued expenses and other liabilities (123,273) 301,720
Customer refund liability (29,072) (23,164)
Income taxes payable and receivable 32,680 18,159
Net cash provided by (used in) operating activities 209,868 (249,707)
Cash flows from investing activities    
Purchases of property and equipment (57,660) (71,639)
Sale of property and equipment 1,413 0
Purchase of businesses 0 (38,848)
Net cash used in investing activities (56,247) (110,487)
Cash flows from financing activities    
Proceeds from long term debt and revolving credit facility 0 1,288,753
Payments on long term debt and revolving credit facility (506,280) (800,000)
Proceeds from capped call 91,722 0
Purchase of capped call 0 (47,850)
Employee taxes paid for shares withheld for income taxes (5,623) (3,285)
Proceeds from exercise of stock options and other stock issuances 2,739 3,855
Payments of debt financing costs 0 (5,150)
Net cash provided by (used in) financing activities (417,442) 436,323
Effect of exchange rate changes on cash, cash equivalents and restricted cash 1,708 2,398
Net increase in (decrease in) cash, cash equivalents and restricted cash (262,113) 78,527
Cash, cash equivalents and restricted cash    
Beginning of period 1,528,515 796,008
End of period 1,266,402 874,535
Non-cash investing and financing activities    
Change in accrual for property and equipment $ (4,704) $ (12,449)