| Schedule of disposal group | 
  
  | 
  | 
  | 
  | 
 
  | 
  | 
December 31, 2023  | 
 
  | 
  | 
  | 
  | 
 
Accounts receivable, net  | 
  | 
$  | 
 9,914  | 
 
Inventories  | 
  | 
  | 
 44,208  | 
 
Prepaid and other current assets  | 
  | 
  | 
 2,931  | 
 
Total current assets held for sale  | 
  | 
  | 
 57,053  | 
 
  | 
  | 
  | 
  | 
 
Property and equipment, net  | 
  | 
  | 
 24,075  | 
 
Other intangible assets, net  | 
  | 
  | 
 4,926  | 
 
Indefinite-lived intangible assets  | 
  | 
  | 
 24,500  | 
 
Goodwill  | 
  | 
  | 
 26,715  | 
 
Other long-term assets  | 
  | 
  | 
 15  | 
 
Total assets held for sale  | 
  | 
$  | 
 137,284  | 
 
  | 
  | 
  | 
  | 
 
Accounts payable  | 
  | 
$  | 
 2,441  | 
 
Accrued liabilities  | 
  | 
  | 
 3,303  | 
 
Total current liabilities held for sale  | 
  | 
  | 
 5,744  | 
 
  | 
  | 
  | 
  | 
 
Total liabilities held for sale  | 
  | 
$  | 
 5,744  | 
 
 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
  | 
  | 
Three Months Ended  | 
  | 
Six Months Ended  | 
 
  | 
  | 
June 30, 2024  | 
  | 
June 30, 2023  | 
  | 
June 30, 2024  | 
  | 
June 30, 2023  | 
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
 
Sales  | 
  | 
$  | 
 -  | 
  | 
$  | 
 25,791  | 
  | 
$  | 
 10,585  | 
  | 
$  | 
 52,897  | 
 
Cost of goods sold  | 
  | 
  | 
 -  | 
  | 
  | 
 (17,614)  | 
  | 
  | 
 (6,543)  | 
  | 
  | 
 (34,207)  | 
 
Selling, general and administrative  | 
  | 
  | 
 -  | 
  | 
  | 
 (2,963)  | 
  | 
  | 
 (2,062)  | 
  | 
  | 
 (6,300)  | 
 
Restructuring charges  | 
  | 
  | 
 -  | 
  | 
  | 
 -  | 
  | 
  | 
 (3)  | 
  | 
  | 
 -  | 
 
Transaction costs  | 
  | 
  | 
 -  | 
  | 
  | 
 (37)  | 
  | 
  | 
 (3,440)  | 
  | 
  | 
 (74)  | 
 
Interest expense, net  | 
  | 
  | 
 -  | 
  | 
  | 
 (2,865)  | 
  | 
  | 
 (2,455)  | 
  | 
  | 
 (5,616)  | 
 
Other, net  | 
  | 
  | 
 -  | 
  | 
  | 
 (2)  | 
  | 
  | 
 (38)  | 
  | 
  | 
 7  | 
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
 
(Loss) income from operations of discontinued operations  | 
  | 
  | 
 -  | 
  | 
  | 
 2,310  | 
  | 
  | 
 (3,956)  | 
  | 
  | 
 6,707  | 
 
Gain on sale of discontinued operations  | 
  | 
  | 
 -  | 
  | 
  | 
 -  | 
  | 
  | 
 40,585  | 
  | 
  | 
 -  | 
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
 
Income from discontinued operations before taxes  | 
  | 
  | 
 -  | 
  | 
  | 
 2,310  | 
  | 
  | 
 36,629  | 
  | 
  | 
 6,707  | 
 
Income tax expense  | 
  | 
  | 
 -  | 
  | 
  | 
 79  | 
  | 
  | 
 8,283  | 
  | 
  | 
 847  | 
 
Income from discontinued operations, net of tax  | 
  | 
$  | 
 -  | 
  | 
$  | 
 2,231  | 
  | 
$  | 
 28,346  | 
  | 
$  | 
 5,860  | 
 
 
 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
  | 
  | 
Six Months Ended  | 
 
  | 
  | 
June 30, 2024  | 
  | 
June 30, 2023  | 
 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
 
Depreciation of property and equipment  | 
  | 
  | 
 -  | 
  | 
  | 
 1,713  | 
 
Amortization of intangible assets  | 
  | 
  | 
 -  | 
  | 
  | 
 1,017  | 
 
Stock-based compensation  | 
  | 
  | 
 5  | 
  | 
  | 
 97  | 
 
Purchase of property and equipment  | 
  | 
  | 
 886  | 
  | 
  | 
 1,406  | 
 
 
 
 |