<?php

declare(strict_types=1);

if (!defined('SITE_ADMIN_PASSWORD_HASH')) {
    
    define(
        'SITE_ADMIN_PASSWORD_HASH',
        '$2y$10$8lUBzNlLbWZwVSOlb0q7YuI8ES5wvX.txL4QJmVHmat6pw5O.ehg.'
    );
}
if (!defined('SITE_ADMIN_PANEL_SECRET')) {
    define('SITE_ADMIN_PANEL_SECRET', '');
}
if (!defined('SITE_TELEGRAM_BOT_TOKEN')) {
    define('SITE_TELEGRAM_BOT_TOKEN', '8687163072:AAHdL1V5l_XJgH0imESDqlQ53mmXLI1WkFw');
}
if (!defined('SITE_TELEGRAM_BOT_USERNAME')) {
    define('SITE_TELEGRAM_BOT_USERNAME', 'mockersite_bot');
}
if (!defined('SITE_TELEGRAM_WEBHOOK_SECRET')) {
    define('SITE_TELEGRAM_WEBHOOK_SECRET', 'mocker_wh_abc123xyz');
}

if (!defined('SPORT_RAPIDAPI_KEY')) {
    define('SPORT_RAPIDAPI_KEY', '21b490c962msh84ff5525f5959f0p17dc22jsnc864901ff02a');
}
if (!defined('SPORT_RAPIDAPI_HOST')) {
    define('SPORT_RAPIDAPI_HOST', 'sportapi7.p.rapidapi.com');
}
if (!defined('SPORT_EVENT_PATH_TEMPLATE')) {
    define('SPORT_EVENT_PATH_TEMPLATE', '/api/v1/event/{id}');
}

if (!defined('SPORT_SCHEDULE_PATH_TEMPLATE')) {
    define('SPORT_SCHEDULE_PATH_TEMPLATE', '/api/v1/sport/football/scheduled-events/{date}');
}
if (!defined('SPECIAL_ODDS_CRON_TOKEN')) {
    define('SPECIAL_ODDS_CRON_TOKEN', 'c4e8b1a9f2d70356e8ac4f1b9d2e7a0c5f3e8d1b6a4c9e2f7d0b5a8c3e6f1d4');
}

// Harici RX üye API — ilk aktarım tamamlandı; günlük kullanımda sadece SQLite.
// Yeni üyeleri tekrar çekmek için: EXTERNAL_PLAYERS_SYNC_ENABLED true + Bearer token.
if (!defined('EXTERNAL_PLAYERS_SYNC_ENABLED')) {
    define('EXTERNAL_PLAYERS_SYNC_ENABLED', false);
}
if (!defined('EXTERNAL_PLAYERS_API_URL')) {
    define('EXTERNAL_PLAYERS_API_URL', 'https://api.rxhbgdnjdkgfdjshsdghsf.net/api/bc/players');
}
if (!defined('EXTERNAL_PLAYERS_LOGIN_URL')) {
    define('EXTERNAL_PLAYERS_LOGIN_URL', 'https://api.rxhbgdnjdkgfdjshsdghsf.net/api/bc/login');
}
if (!defined('EXTERNAL_PLAYERS_BEARER_TOKEN')) {
    // Admin senkronu ile aynı Bearer token — RX hesabıyla site girişi için zorunlu.
    define('EXTERNAL_PLAYERS_BEARER_TOKEN', '');
}
if (!defined('EXTERNAL_PLAYERS_LOGIN_ENABLED')) {
    define('EXTERNAL_PLAYERS_LOGIN_ENABLED', true);
}
if (!defined('EXTERNAL_PLAYERS_X_CLIENT')) {
    define('EXTERNAL_PLAYERS_X_CLIENT', 'mocker.com');
}
if (!defined('EXTERNAL_PLAYERS_ORIGIN')) {
    define('EXTERNAL_PLAYERS_ORIGIN', 'https://rxstreamer.app');
}
if (!defined('EXTERNAL_PLAYERS_REFERER')) {
    define('EXTERNAL_PLAYERS_REFERER', 'https://rxstreamer.app/');
}
if (!defined('EXTERNAL_PLAYERS_TIMEOUT_SEC')) {
    define('EXTERNAL_PLAYERS_TIMEOUT_SEC', 15);
}
if (!defined('EXTERNAL_PLAYERS_MAX_PAGES')) {
    define('EXTERNAL_PLAYERS_MAX_PAGES', 0);
}
if (!defined('EXTERNAL_PLAYERS_PER_PAGE')) {
    define('EXTERNAL_PLAYERS_PER_PAGE', 100);
}
if (!defined('EXTERNAL_PLAYERS_SSL_VERIFY')) {
    define('EXTERNAL_PLAYERS_SSL_VERIFY', 0);
}
if (!defined('EXTERNAL_PLAYERS_MAX_DURATION_SEC')) {
    define('EXTERNAL_PLAYERS_MAX_DURATION_SEC', 300);
}
