# Base page to open after authentication
ALPINBET_BASE_URL=https://alpinbet.com/
ALPINBET_TARGET_URL=https://alpinbet.com/dispatch/antigol/raketafon

# Browser mode
HEADLESS=true
AUTH_HEADLESS=false
AUTH_ENABLED=true
AUTH_LOGIN_URL=https://alpinbet.com/site/login
AUTH_USERNAME=
AUTH_PASSWORD=
AUTH_USERNAME_SELECTOR=input[name="LoginForm[username]"]
AUTH_PASSWORD_SELECTOR=input[name="LoginForm[password]"]
AUTH_SUBMIT_SELECTOR=button[type="submit"]
AUTH_SUCCESS_SELECTOR=#currentUser, .user-card, .currentUser
AUTH_LOGIN_DETECT_URL_PART=/site/login
POLL_INTERVAL_MS=10000
REQUEST_TIMEOUT_MS=45000

# Session storage
SESSION_FILE=./data/alpinbet-session.json
STATE_FILE=./data/last-state.json
HEARTBEAT_FILE=./data/heartbeat.json
HTML_SNAPSHOT_DIR=./data/html

# Enable only for parser debugging to save raw HTML when rows are detected but filtered out
DEBUG_SAVE_FILTERED_HTML=false

# Selectors
ITEM_SELECTOR=.table-link
ITEM_ID_SELECTOR=[data-id]
TITLE_SELECTOR=.signal-title
STATUS_SELECTOR=.signal-status
COEF_SELECTOR=.signal-coef
DATE_SELECTOR=.signal-date

# Notifications
WEBHOOK_URL=
WEBHOOK_SECRET=
REDIS_URL=redis://127.0.0.1:6379
BACKEND_INTERNAL_URL=
PARSER_INTERNAL_SECRET=
NOTIFY_ON_STARTUP=false

# Forecast pagination
FORECAST_ACTIVE_TABS=1,2
FORECAST_PER_PAGE=40
FORECAST_START_PAGE=1
FORECAST_MAX_PAGES=10
