| Schedule of Reclassifications out of Accumulated Other Comprehensive Income (Loss) |
The following table summarizes the changes in accumulated other comprehensive income (loss) by component: | | | | | | | | | | | | | | | | | | | | | | | | Unrealized Holding Gains (Losses), Net of Tax | | | | Foreign Currency Translation Adjustment | | On Available-For-Sale Debt Securities | | On Equity Securities | | On Foreign Currency Forward Contracts | | Total | | (in thousands) | Balance at December 31, 2016 | $ | (7,862 | ) | | $ | (10 | ) | | $ | 17,531 |
| | $ | 11,514 |
| | $ | 21,173 |
| Other comprehensive (loss) income before reclassifications | (13,169 | ) | | (584 | ) | | 7,538 |
| | (29,175 | ) | | (35,390 | ) | Amounts reclassified from accumulated other comprehensive income (loss) | — |
| | — |
| | — |
| | 2,645 |
| | 2,645 |
| Net current period other comprehensive (loss) income | (13,169 | ) | | (584 | ) | | 7,538 |
| | (26,530 | ) | | (32,745 | ) | Balance at December 31, 2017 | $ | (21,031 | ) | | $ | (594 | ) | | $ | 25,069 |
| | $ | (15,016 | ) | | $ | (11,572 | ) | Other comprehensive income before reclassifications | 8,855 |
| | 58 |
| | — |
| | 25,664 |
| | 34,577 |
| Amounts reclassified from accumulated other comprehensive income (loss) | — |
| | — |
| | — |
| | 1,774 |
| | 1,774 |
| Net current period other comprehensive income | 8,855 |
| | 58 |
| | — |
| | 27,438 |
| | 36,351 |
| Amounts reclassified to accumulated deficit pursuant to adoption of new accounting standard | 949 |
| | — |
| | (25,069 | ) | | — |
| | (24,120 | ) | Balance as of December 31, 2018 | $ | (11,227 | ) | | $ | (536 | ) | | $ | — |
| | $ | 12,422 |
| | $ | 659 |
| Other comprehensive income before reclassifications | 10,332 |
| | 1,039 |
| | — |
| | 11,513 |
| | 22,884 |
| Amounts reclassified from accumulated other comprehensive income (loss) | — |
| | — |
| | — |
| | (25,516 | ) | | (25,516 | ) | Net current period other comprehensive income (loss) | 10,332 |
| | 1,039 |
| | — |
| | (14,003 | ) | | (2,632 | ) | Balance as of December 31, 2019 | $ | (895 | ) | | $ | 503 |
| | $ | — |
| | $ | (1,581 | ) | | $ | (1,973 | ) |
|