<?php

return [
    'auto_publish_records' => env('ESPORTS_AUTO_PUBLISH_RECORDS', false),
    'auto_publish_videos' => env('ESPORTS_AUTO_PUBLISH_VIDEOS', false),

    'uploads' => [
        'avatar' => [
            'max_kb' => 2048,
            'max_width' => 1024,
            'max_height' => 1024,
            'mimes' => ['jpg', 'jpeg', 'png', 'webp'],
        ],
        'cover' => [
            'max_kb' => 5120,
            'max_width' => 1920,
            'max_height' => 1080,
            'mimes' => ['jpg', 'jpeg', 'png', 'webp'],
        ],
        'record_screenshot' => [
            'max_kb' => 5120,
            'max_count' => 10,
            'mimes' => ['jpg', 'jpeg', 'png', 'webp'],
        ],
        'payment_proof' => [
            'max_kb' => 10240,
            'mimes' => ['jpg', 'jpeg', 'png', 'webp', 'pdf'],
        ],
    ],

    'video_providers' => [
        'youtube' => [
            'domains' => ['youtube.com', 'www.youtube.com', 'youtu.be', 'm.youtube.com'],
        ],
        'twitch' => [
            'domains' => ['twitch.tv', 'www.twitch.tv', 'clips.twitch.tv'],
        ],
        'vimeo' => [
            'domains' => ['vimeo.com', 'www.vimeo.com', 'player.vimeo.com'],
        ],
    ],

    'supported_locales' => ['en', 'ar'],
    'default_locale' => 'en',
];
