//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// TypeScript helpers (universal micro-lib.) | Author: Sergei Y.Kitaev
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// WASM helpers for .NET-Blazor invocation from TypeScript/JS (static class):
class WASM {
    static AssemblyName() {
        if (!WASM._AssemblyName_)
            throw new Error('WASM assembly name has not been specified (WASM helper class).');
        return WASM._AssemblyName_;
    }
    static GetAssemblyName() {
        return WASM._AssemblyName_;
    }
    static SpecifyAssemblyName(value) {
        HArgChecking.PROVIDED(value, 'WASM.SpecifyAssemblyName', 'value');
        WASM._AssemblyName_ = value;
    }
    static Invoke(methodName) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName);
    }
    static Invoke_1(methodName, arg_1) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1);
    }
    static Invoke_2(methodName, arg_1, arg_2) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2);
    }
    static Invoke_3(methodName, arg_1, arg_2, arg_3) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3);
    }
    static Invoke_4(methodName, arg_1, arg_2, arg_3, arg_4) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4);
    }
    static Invoke_5(methodName, arg_1, arg_2, arg_3, arg_4, arg_5) {
        DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4, arg_5);
    }
    static InvokeReturn(methodName) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName);
    }
    static InvokeReturn_1(methodName, arg_1) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1);
    }
    static InvokeReturn_2(methodName, arg_1, arg_2) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2);
    }
    static InvokeReturn_3(methodName, arg_1, arg_2, arg_3) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3);
    }
    static InvokeReturn_4(methodName, arg_1, arg_2, arg_3, arg_4) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4);
    }
    static InvokeReturn_5(methodName, arg_1, arg_2, arg_3, arg_4, arg_5) {
        return DotNet.invokeMethod(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4, arg_5);
    }
    static AsyncInvoke(methodName) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName);
    }
    static AsyncInvoke_1(methodName, arg_1) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName, arg_1);
    }
    static AsyncInvoke_2(methodName, arg_1, arg_2) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName, arg_1, arg_2);
    }
    static AsyncInvoke_3(methodName, arg_1, arg_2, arg_3) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3);
    }
    static AsyncInvoke_4(methodName, arg_1, arg_2, arg_3, arg_4) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4);
    }
    static AsyncInvoke_5(methodName, arg_1, arg_2, arg_3, arg_4, arg_5) {
        return DotNet.invokeMethodAsync(WASM.AssemblyName(), methodName, arg_1, arg_2, arg_3, arg_4, arg_5);
    }
} // WASM
WASM._AssemblyName_ = null;
//# sourceMappingURL=WASM.js.map