$refs.pin0.focus())"
@close-pin-modal.window="document.getElementById('pinModal').classList.add('hidden'); document.getElementById('pinModal').classList.remove('flex'); pin = ['', '', '', '']; error = ''; loading = false;"
@pin-verified.window="success = $event.detail.message; loading = false; error = ''; setTimeout(() => { document.getElementById('pinModal').classList.add('hidden'); document.getElementById('pinModal').classList.remove('flex'); success = ''; }, 1500)"
@pin-error.window="if (loading) { window.WumpaSounds?.play('pinError'); error = $event.detail.message; loading = false; success = ''; pin = ['', '', '', '']; $nextTick(() => $refs.pin0.focus()); }"
>