v3.24.0.1
RESTRUCTURING AND OTHER EXIT ACTIVITIES (Schedule of restructuring and other exit charges by reportable segments and type of cost) (Details)
$ in Thousands
12 Months Ended
Dec. 31, 2023
USD ($)
Restructuring Cost and Reserve [Line Items]  
Total $ 60,189
Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 59,801
Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 4
General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 384
Solar [Member] | Employee termination costs [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 2,561
Solar [Member] | Employee termination costs [Member] | Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 2,561
Solar [Member] | Employee termination costs [Member] | Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
Solar [Member] | Employee termination costs [Member] | General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
Solar [Member] | Contract termination and other [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 20,593
Solar [Member] | Contract termination and other [Member] | Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 20,593
Solar [Member] | Contract termination and other [Member] | Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
Solar [Member] | Contract termination and other [Member] | General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
All other [Member] | Employee termination costs [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 301
All other [Member] | Employee termination costs [Member] | Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
All other [Member] | Employee termination costs [Member] | Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 4
All other [Member] | Employee termination costs [Member] | General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 297
All other [Member] | Inventory write-off [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 27,158
All other [Member] | Inventory write-off [Member] | Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 27,158
All other [Member] | Inventory write-off [Member] | Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
All other [Member] | Inventory write-off [Member] | General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
All other [Member] | Contract termination and other [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 9,576
All other [Member] | Contract termination and other [Member] | Cost of revenues [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 9,489
All other [Member] | Contract termination and other [Member] | Sales and marketing [Member]  
Restructuring Cost and Reserve [Line Items]  
Total 0
All other [Member] | Contract termination and other [Member] | General and administrative [Member]  
Restructuring Cost and Reserve [Line Items]  
Total $ 87