{{-- alert --}} @if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any()) @endif
{{__('Whatsapp Account')}}
@if ($numbers->total() == 0) @endif @foreach ($numbers as $number) @endforeach
{{__('Number')}} {{__('Webhook URL')}} {{__('Sent')}} {{__('status')}} {{__('Options')}} {{__('Action')}}
{{ $number['body'] }}
{{ $number['connection_driver'] === 'meta_cloud_api' ? __('Meta') : __('Legacy') }} @if ($number['meta_display_phone_number']) {{ $number['meta_display_phone_number'] }} @endif
@csrf
{{ $number['message_sent'] }}
{{ $numbers->links('pagination::bootstrap-5') }}
@foreach ($numbers as $number)
{{ __('Options') }}
{{ __('Official Meta Cloud API') }}

{{ __('Login melalui developers.facebook.com dan simpan konfigurasi resmi WhatsApp Cloud API untuk device ini.') }}

{{ $number['connection_driver'] === 'meta_cloud_api' ? __('Connected') : __('Not Setup') }}
{{ __('Full Response') }}
{{ ($number['webhook_full']) ? __('Yes') : __('No') }}
{{ __('Read') }}
{{ $number['webhook_read'] ? __('Yes') : __('No') }}
{{ __('Reject Call') }}
{{ $number['webhook_reject_call'] ? __('Yes') : __('No') }}
{{ __('Available') }}
{{ $number['set_available'] ? __('Yes') : __('No') }}
{{ __('Typing') }}
{{ $number['webhook_typing'] ? __('Yes') : __('No') }}
{{ __('Delay') }}
@csrf
@endforeach
{{-- WhatsApp Health Check & Anti-Ban Tips --}}
{{__('WhatsApp Health Check')}}
{{__('Idle')}}
@foreach ($numbers as $number) @endforeach

{{__('Click "Check" button to diagnose your WhatsApp device health and anti-ban status.')}}

{{-- Anti-Ban Tips --}}
{{__('Anti-Ban Tips & Setup Guide')}}
{{__('Respect Business Hours')}}

{{__('Send messages only during business hours (08:00-21:00 local time). WhatsApp monitors 24/7 automation patterns. The system enforces this automatically via the anti-ban library.')}}

{{__('Start Slow (Warm-Up)')}}

{{__('New accounts have a 7-day warm-up period. Day 1: max 5 messages. Day 2-3: max 20. Day 4-7: max 50. After warm-up: max 1000/day for marketing category. The system manages this automatically.')}}

{{__('Limit New Contacts')}}

{{__('Maximum 5 new (stranger) contacts per day. The system applies 2.5x delay multiplier for unknown numbers. Existing contacts in your address book are safer to message.')}}

{{__('Vary Your Messages')}}

{{__('Never send identical messages in bulk. Use {option1|option2} syntax for variations. The system adds invisible zero-width characters and punctuation variants automatically.')}}

{{__('Respect Opt-Out Signals')}}

{{__('If a user blocks your number, the system automatically stops messaging them. Never attempt to reconnect. Use "stop" commands in chatbot auto-replies.')}}

{{__('Use Desktop Browser Profile')}}

{{__('The system emulates a macOS Desktop WhatsApp client. This has lower ban risk than mobile profiles. Stealth-connect delays presence updates by 45-120 seconds after connection.')}}

{{__('Group Metadata Cache')}}

{{__('Group sends are cached to prevent re-fetching participant lists. This avoids group-send rate limits that Baileys warns can cause bans. Keep this enabled.')}}

{{__('Monitor Health Dashboard')}}

{{__('Use the Health Check button above regularly. Watch for: high risk score, delivery rate drops below 80%, decrypt failure spikes. Pause sending immediately if risk is "high" or "critical".')}}

{{__('Batch Pauses (Auto)')}}

{{__('After every N messages (configurable in anti-ban config), the system pauses 30-60 minutes before continuing. This mimics human behavior. Do not override these pauses.')}}

{{-- Webhook Event Log Card --}}
{{__('Webhook Event Log')}}
{{__('Connecting...')}} 0

{{__('Waiting for incoming webhook events...')}}

{{__('Events will appear here in real-time when messages are received on your devices.')}}