Derivative Instruments - Designated as Hedging Instruments by Classification and Amount of Gains and Losses (Detail) - Designated as hedging instruments - Foreign Exchange Forward - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
Derivative Instruments, Gain (Loss) [Line Items] | ||||
Amount of gain (loss) recognized in OCI | $ (27,406) | $ 15,561 | $ (39,990) | $ (332) |
Cost of Sales | ||||
Derivative Instruments, Gain (Loss) [Line Items] | ||||
Amount of gain (loss) reclassified from accumulated OCI to statements of operations | $ 364 | $ 3,305 | $ 2,593 | $ 10,315 |