import java.util.*;
import java.util.zip.*;
import java.util.List;
import java.util.regex.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.*;
import java.util.concurrent.locks.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import javax.swing.table.*;
import java.io.*;
import java.net.*;
import java.lang.reflect.*;
import java.lang.ref.*;
import java.lang.management.*;
import java.security.*;
import java.security.spec.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.imageio.*;
import java.math.*;
import javax.swing.undo.UndoManager;
import javax.net.ssl.*;
import java.security.SecureRandom;
import java.security.cert.X509Certificate;
import java.awt.datatransfer.StringSelection;
import javax.imageio.metadata.*;
import javax.imageio.stream.*;
import java.text.SimpleDateFormat;
import java.awt.geom.*;
import java.text.NumberFormat;
class main {
static String dm_showModuleWithParams_systemQ(String moduleLibID, Object... params) {
return dm_evalInSystemQ(() -> dm_showModuleWithParams(moduleLibID, params));
}
static A dm_evalInSystemQ(IF0 f) {
return (A) dm_callOS("evalInSystemQ_gen",f);
}
static String dm_showModuleWithParams(String moduleLibID, Object... params) {
String moduleID = dm_makeModuleWithParams(moduleLibID, params);
dm_showModule(moduleID);
return moduleID;
}
static Object dm_callOS(String functionName, Object... args) {
return call(dm_os(), functionName, args);
}
static String dm_makeModuleWithParams(String moduleLibID, Object... params) {
String mod = dm_findModuleWithParams(moduleLibID, params);
if (mod != null) return mod;
return dm_makeNewModuleWithParams(moduleLibID, params);
}
static void dm_showModule(Object module) {
Object stem = dm_getStem(module);
if (stem != null/* && !dm_moduleIsPoppedOut(stem)*/)
dm_callOS("showModule", stem);
}
static void dm_showModule() {
dm_showModule(dm_current_mandatory_generic());
}
static Object call(Object o) {
return callF(o);
}
// varargs assignment fixer for a single string array argument
static Object call(Object o, String method, String[] arg) {
return call(o, method, new Object[] {arg});
}
static Object call(Object o, String method, Object... args) {
//ret call_cached(o, method, args);
return call_withVarargs(o, method, args);
}
static Object dm_os() {
{ Object __1= vm_generalMap_get("stefansOS"); if (__1 != null) return __1; }
return creator();
}
static String dm_findModuleWithParams(String moduleLibID, Object... params) {
return firstThat(dm_modulesWithLibID(moduleLibID), mod ->
checkFields(dm_mod(mod), params));
}
static String dm_makeNewModuleWithParams(String moduleLibID, Object... params) {
return (String) dm_callOS("makeNewModule", moduleLibID, false, "beforeStart" , new VF1