(id, def = 0.0)
| 2784 | const getValue = (id, def = '') => document.getElementById(id)?.value.trim() || def; |
| 2785 | const getInt = (id, def = 0) => parseInt(document.getElementById(id)?.value) || def; |
| 2786 | const getFloat = (id, def = 0.0) => parseFloat(document.getElementById(id)?.value) || def; |
| 2787 | const getChecked = (id, def = false) => document.getElementById(id)?.checked || def; |
| 2788 | |
| 2789 | const config = { |