XML 19 R6.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Cash used in operating activities:    
Net (loss) income $ (55,863) $ (65,794)
Adjustments for:    
Deferred income tax recovery 59 796
Unrealized foreign exchange (gain) loss (3,127) 10,026
Amortization 30,789 34,069
Loss (gain) on sale of capital assets 3 77
Other non-cash items (816) 2,080
Stock-based compensation 8,257 9,193
Loss on long-term investments & equity investments 47 1,193
Loss on derivative instruments 10,345 6,336
Change in fair value of contingent consideration (11,107) 211
Change in non-cash working capital:    
Accounts receivable 13,044 (3,068)
Prepaids and other current assets (4,654) (34,891)
Inventory 3,650 (232)
Accounts payable and accrued liabilities (6,469) (6,265)
Net cash used in operating activities (15,842) (46,269)
Cash used in investing activities:    
Investment in capital and intangible assets, net (4,152) (3,000)
Proceeds from disposal of capital and intangible assets 342 1,463
Purchase of marketable securities, net (45,436) 0
Net cash acquired from business acquisitions 22,956 0
Net cash used in investing activities (26,290) (1,537)
Cash provided by (used in) financing activities:    
Share capital issued, net of cash issuance costs 0 129,593
Shares effectively repurchased for employee withholding tax 0 (1,189)
Proceeds from long-term debt and convertible debt 29,174 1,288
Repayment of long-term debt and convertible debt (6,369) (5,196)
Repayment of lease liabilities 0 (1,035)
Net increase in bank indebtedness (8,787) 159
Net cash provided by (used in) financing activities 14,018 123,620
Effect of foreign exchange on cash and cash equivalents 614 (1,080)
Net decrease in cash and cash equivalents (27,500) 74,734
Cash and cash equivalents, beginning of period 206,632 415,909
Cash and cash equivalents, end of period $ 179,132 $ 490,643