XML 84 R69.htm IDEA: XBRL DOCUMENT v3.23.2
Derivatives and Hedging - Schedule of Derivatives Instruments for Gains or Losses Initially Recognized in AOCI in Consolidated Balance Sheet (Detail) - Derivatives Designated as Hedging Instruments - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Derivative Instruments And Hedging Activities Disclosures [Line Items]      
Pretax gain/(loss) recognized in AOCI   $ 60,473 $ (41,813)
Pretax gain/(loss) reclassified from AOCI into income $ 1,766 12,097 (12,616)
Interest Rate Swap | Interest (Expense) Income | Cash Flow      
Derivative Instruments And Hedging Activities Disclosures [Line Items]      
Pretax gain/(loss) recognized in AOCI   4,508 (1,226)
Pretax gain/(loss) reclassified from AOCI into income, cash flow   (3,272) (3,380)
Cross Currency Swap | Interest Income | Cash Flow      
Derivative Instruments And Hedging Activities Disclosures [Line Items]      
Pretax gain/(loss) recognized in AOCI   15,494 (9,207)
Pretax gain/(loss) reclassified from AOCI into income, cash flow $ 1,766 611 638
Cross Currency Swap | Foreign Exchange (Loss) | Cash Flow      
Derivative Instruments And Hedging Activities Disclosures [Line Items]      
Pretax gain/(loss) reclassified from AOCI into income, cash flow   14,758 (9,874)
Cross Currency Swap | Gain or (loss) on sale of subsidiary | Net Investment      
Derivative Instruments And Hedging Activities Disclosures [Line Items]      
Pretax gain/(loss) recognized in AOCI   $ 40,471 $ (31,380)