XML 75 R59.htm IDEA: XBRL DOCUMENT v3.19.2
Basis of Presentation - Restricted Cash (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash provided by operating activities $ 876,278 $ 708,081 $ 440,353
Cash, cash equivalents and restricted cash at beginning of the period 683,991 446,210 1,285,510
Increase (decrease) in cash, cash equivalents and restricted cash during the period 259,552 237,781 (839,300)
Cash, cash equivalents and restricted cash at end of the period 943,543 683,991 446,210
As Previously Reported      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash provided by operating activities   709,885 439,253
Cash, cash equivalents and restricted cash at beginning of the period 682,942 443,357 1,283,757
Increase (decrease) in cash, cash equivalents and restricted cash during the period   239,585 (840,400)
Cash, cash equivalents and restricted cash at end of the period   682,942 443,357
Adjustments | Accounting Standards Update 2016-18      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net cash provided by operating activities   (1,804) 1,100
Cash, cash equivalents and restricted cash at beginning of the period $ 1,049 2,853 1,753
Increase (decrease) in cash, cash equivalents and restricted cash during the period   (1,804) 1,100
Cash, cash equivalents and restricted cash at end of the period   $ 1,049 $ 2,853