g(value, 'info'),
                warn: (...value) => handleLog(value, 'warn'),
                error: (...value) => handleLog(value, 'error'),
            }
        })()

        // @ts-check
        function initUI() {
            function updateTemplate() {
                const option = protoDropdown?.value ?? 'mem'
                const defaultTemplate = document.querySelector('.form-fields[data-option=default]');
                const templateOutput = document.querySelector('#template-output');
      