XML 21 R6.htm IDEA: XBRL DOCUMENT v3.23.2
Unaudited Interim Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Operating activities    
Net (loss) income from continuing operations $ (32,033) $ 3,109
Adjustments to reconcile net (loss) income to net cash used in operating activities    
Non-cash write downs of inventory 1,081 8,495
Accretion expense 5,673 1,708
Depreciation of property and equipment and amortization of intangible assets 9,761 11,253
Amortization of operating right-of-use assets 932 1,074
Share-based compensation 3,694 7,819
Deferred income tax expense 815 (787)
Gain on fair value of warrants and purchase option derivative (653) (53,058)
Loss on disposal of fixed assets 345 929
Revaluation of contingent consideration   153
Release of indemnification asset   3,973
Unrealized and realized foreign exchange (gain) loss (132) 41
Unrealized and realized loss on investments / derivatives 2,410 234
Changes in operating assets and liabilities    
Receivables 295 (445)
Inventory (7,851) 208
Prepaid expense and other current assets (319) 1,434
Deposits 431 206
Other assets 714 461
Accounts payable and accrued liabilities and other payables 4,089 (7,840)
Operating lease liability (337) (614)
Other liability 1,085 (10,353)
Contingent consideration payable   (410)
Corporate income tax payable 22,127 5
Deferred revenue 157 766
Net cash provided by (used in) operating activities- continuing operations 12,284 (31,639)
Net cash (used in) operating activities- discontinued operations (3,164) (3,337)
Net cash provided by (used in) operating activities 9,120 (34,976)
Investing activities    
Investment in property and equipment (4,504) (12,500)
Investment in intangible assets (262) (1,330)
Principal payments received on lease receivable 104 392
Receipt of convertible debenture payment 738  
Deposits for property and equipment   (10,036)
Deposits for business acquisition   (852)
Payment for land contracts (769) (429)
Cash portion of consideration paid in acquisitions, net of cash of acquired (14,469) 24,716
Net cash (used in) / provided by investing activities- continuing operations (19,162) (39)
Net cash (used in) /provided by investing activities- discontinued operations 14,285  
Net cash (used in) / provided by investing activities (4,877) (39)
Financing activities    
Transfer of Employee Retention Credit 12,677  
Proceeds from loan payable, net of transaction costs 23,872  
Proceeds from options and warrants exercised 81 24,158
Loan principal paid (40,359) (4,968)
Loan amendment fee paid and prepayment premium paid (1,178) (1,200)
Cash distributions to partners (3,415) (1,436)
Capital contributions paid to non-controlling interests   (448)
Payments of contingent consideration   (6,630)
Proceeds from private placement, net of share issuance costs 19,218  
Payments made for financing obligations and finance lease (941) (460)
Net cash provided by financing activities- continuing operations 9,955 9,016
Net cash provided by financing activities- discontinued operations (5,539) (235)
Net cash (used in) /provided by financing activities 4,416 8,781
Net increase in cash and cash equivalents and restricted cash during the period 8,659 (26,234)
Net effects of foreign exchange (901) (4,377)
Cash and cash equivalents and restricted cash, beginning of the period 26,763 79,642
Cash and cash equivalents and restricted cash, end of the period 34,521 49,031
Supplemental disclosure with respect to cash flows    
Income taxes (refund received) paid (4,582) 9,213
Interest paid 9,259 14,641
Lease termination fee paid   3,300
Non-cash transactions    
Equity and warrant liability issued as consideration for acquisition 10,267 294,800
Shares issued for legal and liability settlement 794 22
Accrued capital purchases $ 529 $ 9,776