INCOME TAXES (Details - Unrecognized Tax Benefits) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
|
| Income Tax Disclosure [Abstract] | ||
| Unrecognized tax benefit, beginning balance | $ 1,046 | $ 896 |
| Increases (decreases) - prior year tax positions | 10 | (1) |
| Increase - current year tax position | 163 | 151 |
| Unrecognized tax benefit, ending balance | $ 1,219 | $ 1,046 |