(obj)
| 30 | const kebabToCamel = (s) => s.replace(/-([a-z0-9])/g, (_, c) => c.toUpperCase()) |
| 31 | |
| 32 | const sorted = (obj) => |
| 33 | Object.entries(obj).sort(([a], [b]) => |
| 34 | a.localeCompare(b, undefined, { numeric: true }), |
| 35 | ) |
| 36 | |
| 37 | const esc = (s) => s.replace(/\\/g, '\\\\').replace(/'/g, "\\'") |
| 38 | const lightVal = (e) => e.light ?? e.value |
no outgoing calls
searching dependent graphs…