XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities    
Net income (loss) $ (283,590) $ (76,653)
Less: Income (loss) from discontinued operations, net of tax 382 2,162
Income (loss) from continuing operations (283,972) (78,815)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization of property, equipment and software 45,420 47,861
Amortization of acquired intangible assets 4,923 7,671
Impairment of goodwill 109,486 0
Impairment of long-lived assets 22,351 0
Restructuring-related impairment 13,903 0
Stock-based compensation 22,558 42,974
Impairment of investment 6,684 0
Deferred income taxes 0 360
(Gain) loss from changes in fair value of investments 1,405 68,985
Amortization of debt discount on convertible senior notes 7,123 6,431
Change in assets and liabilities, net of acquisitions and dispositions:    
Accounts receivable (418) (5,311)
Prepaid expenses and other current assets 28,657 (4,021)
Right-of-use assets - operating leases 11,530 13,145
Accounts payable 24,655 (10,890)
Accrued merchant and supplier payables (143,292) (186,519)
Accrued expenses and other current liabilities (7,450) (44,696)
Operating lease obligations (15,458) (13,145)
Other, net 2,599 7,268
Net cash provided by (used in) operating activities from continuing operations (149,296) (148,702)
Net cash provided by (used in) operating activities from discontinued operations 0 0
Net cash provided by (used in) operating activities (149,296) (148,702)
Investing activities    
Purchases of property and equipment and capitalized software (24,917) (34,161)
Proceeds from sale of investment 31,605 0
Acquisitions of intangible assets and other investing activities (2,692) (1,189)
Net cash provided by (used in) investing activities from continuing operations 3,996 (35,350)
Net cash provided by (used in) investing activities from discontinued operations 1,224 0
Net cash provided by (used in) investing activities 5,220 (35,350)
Financing activities    
Proceeds from borrowing under revolving credit agreement 200,000 0
Payment of contingent consideration related to acquisition (908) 0
Issuance costs for revolving credit agreement 0 (2,334)
Payments for repurchases of common stock 0 (29,569)
Taxes paid related to net share settlements of stock-based compensation awards (7,274) (10,231)
Proceeds from stock option exercises and employee stock purchase plan 1,163 2,038
Distributions to noncontrolling interest holders (3,506) (6,634)
Payments of finance lease obligations (5,301) (12,628)
Net cash provided by (used in) financing activities 184,174 (59,358)
Effect of exchange rate changes on cash, cash equivalents and restricted cash, including cash classified within current assets of discontinued operations (5,724) (1,755)
Net increase (decrease) in cash, cash equivalents and restricted cash, including cash classified within current assets of discontinued operations 34,374 (245,165)
Less: Net increase (decrease) in cash classified within current assets of discontinued operations 1,224 0
Net increase (decrease) in cash, cash equivalents and restricted cash 33,150 (245,165)
Cash, cash equivalents and restricted cash, beginning of period [1] 752,657 844,728
Cash, cash equivalents and restricted cash, end of period [1] 785,807 599,563
Non-cash investing and financing activities    
Liability for repurchases of common stock 0 (995)
Increase (decrease) in liabilities related to purchases of property and equipment and capitalized software 573 (767)
Restricted Cash [Abstract]    
Cash, cash equivalents and restricted cash [1] $ 752,657 $ 844,728
[1] The following table provides a reconciliation of cash, cash equivalents and restricted cash shown above to amounts reported within the condensed consolidated balance sheets as of June 30, 2020, December 31, 2019 and December 31, 2018 and amounts previously reported within the condensed consolidated balance sheet in our Quarterly Report on Form 10-Q for the quarterly period ended June 30, 2019 (in thousands):
June 30, 2020December 31, 2019June 30, 2019December 31, 2018
Cash and cash equivalents$784,688  $750,887  $596,837  $841,021  
Restricted cash included in prepaid expenses and other current assets889  1,534  2,340  3,320  
Restricted cash included in other non-current assets230  236  386  387  
Cash, cash equivalents and restricted cash$785,807  $752,657  $599,563  $844,728