using System;
using System.Collections.Generic;
using DanroJump.Settings;
using DanroJump.UI.ArcadeInput;
using DanroJump.UI.Modals;
using UnityEngine;
using UnityEngine.UIElements;
namespace DanroJump.UI.MainMenu
{
///
/// Модальное окно посимвольного ввода для автомата с джойстиком и одной кнопкой.
///
public sealed class ServiceTextInputModalWindow : ModalWindowBase, IDisposable
{
private const string ActiveSlotClass = "service-text-input-slot--active";
private const string ActiveActionClass = "service-text-input-action--active";
private const float NavigationMoveDebounceSeconds = 0.36f;
private const float NavigationKeyDebounceSeconds = 0.16f;
private const float NavigationSubmitDebounceSeconds = 0.22f;
private readonly Label titleLabel;
private readonly Label settingLabel;
private readonly Label previewLabel;
private readonly Label symbolLabel;
private readonly Label statusLabel;
private readonly VisualElement slotsContainer;
private readonly Button confirmButton;
private readonly Button deleteButton;
private readonly Button cancelButton;
private readonly List