v3.22.2.2
Unaudited Interim Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating activities    
Net (loss) income $ (312,829) $ 12,062
Adjustments to reconcile net income to net cash provided by (used in) operating activities    
Non-cash write downs of inventory 14,873 961
Accretion expense 5,793 1,981
Depreciation of property and equipment and amortization of intangible assets 19,241 11,250
Amortization of operating right-of-use assets 1,513 1,289
Share-based compensation 10,524 13,393
Deferred income tax recovery (44,266) (682)
Loss on fair value of warrants and purchase option derivative (58,555) (43,715)
Revaluation of contingent consideration 189 2,652
Impairment of intangible assets 152,928 3,633
Impairment of goodwill 178,314 5,007
Loss on disposal of fixed assets 848 256
Release of indemnification asset 3,973 3,891
Forgiveness of principal and interest on loans   (766)
Unrealized and realized foreign exchange loss (gain) 636 4,582
Unrealized and realized (gain) loss on investments 3 (6,192)
Changes in operating assets and liabilities    
Receivables 4,317 1,144
Inventory (1,894) (10,450)
Prepaid expense and deposits 721 (523)
Deposits 2,340 (408)
Other assets (1,522) (4,214)
Accounts payable and accrued liabilities and other payables (9,530) (590)
Operating lease liability (889) 3,750
Other liability (9,627) (11,394)
Contingent consideration payable (410) (14,978)
Corporate income tax payable 9,451 305
Deferred revenue 427  
Net cash used in operating activities (33,431) (28,012)
Investing activities    
Investment in property and equipment (24,678) (26,706)
Investment in intangible assets (1,330) (342)
Principal payments received on lease receivable 394 559
Distributions of earnings from associates   469
Deposits for property and equipment (1,455) (1,739)
Deposits for business acquisition (852) (25,000)
Payments made for land contracts (888)  
Net cash received on acquisition, net of cash acquired 16,227 (42,736)
Net cash used in investing activities (12,582) (95,495)
Financing activities    
Proceeds from options and warrants exercised 24,158 14,042
Loan principal paid (6,088) (2,250)
Loan amendment fee paid (2,309)  
Proceeds from loans payable   766
Cash distributions to NJ partners (1,436)  
Capital contributions (paid) received (to) from non-controlling interests (1,237) 174
Payments of contingent consideration (6,630) (18,274)
Payments made for financing obligations (921)  
Proceeds from private placement, net of share issuance costs   173,477
Net cash provided by financing activities 5,537 167,935
Net (decrease) increase in cash and cash equivalents during the period (40,476) 44,428
Net effects of foreign exchange (3,847) (1,016)
Cash and cash equivalents, beginning of period 79,642 59,226
Cash and cash equivalents, end of period 35,319 102,638
Supplemental disclosure with respect to cash flows    
Income taxes paid 9,213 37,032
Interest paid 20,643 17,408
Lease termination fee paid 3,300  
Non-cash transactions    
Shares issued as consideration for acquisitions 337,739 34,427
Promissory note issued as consideration for acquisitions 10,000 6,750
Investment in NJ Partnership   25,000
Shares issued for liability settlement 264  
Accrued capital purchases $ 12,118 $ 4,655

Source