XML 36 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Operating activities      
Net income (loss) $ 46,788 $ (72,199) $ 50,411
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 169,005 158,400 131,918
Impairment of goodwill and acquired intangible assets 0 9,556 30,841
Share-based compensation expense 50,466 48,627 23,772
Deferred taxes (14,039) (41,358) (15,922)
Impairment of Long-Lived Assets to be Disposed of 0 2,408 10,979
Gain on sale of subsidiaries (47,545) 0 0
Loss on early extinguishment of debt 17,359 0 0
Change in contingent earn-out liability 1,774 39,377 0
Gain on sale of available-for-sale securities 0 (2,268) 0
Unrealized (gain) loss on derivatives not designated as hedging instruments included in net income (loss) (15,540) 15,813 (8,163)
Payments of contingent consideration in excess of acquisition date fair value (4,639) 0 (8,613)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency 19,460 (5,690) (9,199)
Other non-cash items 4,668 2,886 5,784
Gain on proceeds from insurance 0 0 (3,136)
Changes in operating assets and liabilities:      
Accounts receivable (5,123) 4,701 6,766
Inventory (7,068) (8,699) (11)
Prepaid expenses and other assets (2,472) 521 (7,668)
Accounts payable 21,782 25,332 25,670
Accrued expenses and other liabilities (42,544) (20,671) 13,929
Net cash provided by operating activities 192,332 156,736 247,358
Investing activities      
Purchases of property, plant and equipment (60,930) (74,157) (80,435)
Proceeds from the sale of subsidiaries, net of transaction costs and cash divested 93,779 0 0
Business acquisitions, net of cash acquired (110) (204,875) (164,412)
Purchases of intangible assets (308) (197) (476)
Capitalization of software and website development costs (40,847) (37,307) (26,324)
Proceeds from the sale of assets 886 4,513 0
Proceeds from insurance related to investing activities 0 0 3,624
Proceeds from sale of available-for-sale securities 0 6,346  
Other investing activities (3,064) 3,888 2,485
Net cash (used in) provided by investing activities (10,594) (301,789) (265,538)
Financing activities      
Proceeds from borrowings of debt 805,995 737,075 598,008
Proceeds from issuance of senior notes 400,000 0 0
Payments of debt (974,781) (539,913) (430,622)
Early Repayment of Senior Debt (275,000) 0 0
Payment for Debt Extinguishment or Debt Prepayment Cost (14,438) 0 0
Payments of Debt Issuance Costs (10,629) (229) (70)
Payments of purchase consideration included in acquisition-date fair value (2,105) (539) (7,330)
Payments of withholding taxes in connection with equity awards (19,698) (14,568) (7,467)
Payments of capital lease obligations (17,618) (15,887) (13,933)
Purchase of ordinary shares (94,710) (50,008) (153,467)
Purchase of noncontrolling interests (1,144) (20,230) 0
Proceeds from issuance of ordinary shares 11,981 6,192 4,705
Issuance of loans (21,000) 0 0
Capital contribution from noncontrolling interest 35,390 0 0
Capital contribution from noncontrolling interest 0 1,404 5,141
Other financing activities 0 1,281 (303)
Net cash (used in) provided by financing activities (177,757) 104,578 (5,338)
Effect of exchange rate changes on cash 2,507 788 (2,640)
Increase in cash held for sale 12,042 (12,042) 0
Net increase (decrease) in cash and cash equivalents 18,530 (51,729) (26,158)
Cash and cash equivalents at beginning of period 25,697 77,426 103,584
Cash and cash equivalents at end of period 44,227 25,697 77,426
Supplemental disclosures of cash flow information:      
Interest 56,614 45,275 37,623
Income taxes 32,278 49,342 19,750
Capitalization of construction costs related to financing lease obligation 0 0 19,264
Property and equipment acquired under capital leases 531 14,422 7,535
Amounts accrued related to business acquisitions $ 3,457 $ 46,124 $ 5,868