Map<String, List<String>> get map => { for (final s in scripts) s.code: s.toScripts.map((e) => e.code).toList() };