"""
Rider Preferred Kitchens Configuration
Mapping of Rider ID (int) to list of preferred Kitchen names (str).
Updated based on Deployment Plan.
"""

RIDER_PREFERRED_KITCHENS = {
    # 1. VIGNESH - RS PURAM, TOWNHALL, PODANUR, KUNIAMUTHUR
    1036: ["Bhuvaneshwari kitchen"],

    # 2. VARUN EDWARD - KAVUNDAMPALAYAM, THUDIYALUR
    897: ["Daily grubs(jayanthi kitchen)"],

    # 3. JAYASABESH - GANAPATHY, SARAVANAMPATTI
    950: ["Daily grubs nandhini"],

    # 4. TAMILAZHAGAN - GANDHIMA NAGAR, NEHRU NAGAR, SITRA
    1114: ["Daily grubs nandhini"],

    # 5. RAJAN - PEELAMEDU, P N PALAYAM
    883: ["Daily grubs nandhini", "Vidhya kitchen"],

    # 6. MANIKANDAN - SINGANALLUR
    753: ["Vidhya kitchen"],

    # 7. NAGALAKSHMI - SAIBABA COLONY, R S PURAM, GANDHIPURAM
    1062: ["Daily grubs(jayanthi kitchen)"],

    # 8. MURALI - RAMANATHAPURAM, PODANUR, RACE COURSE
    1111: ["Vidhya kitchen"],
}

# ---------------------------------------------------------------------------
# Blocked / test rider IDs — SINGLE source of truth.
# Import this set wherever blocked-rider filtering is needed instead of
# hard-coding the list in multiple files.
# ---------------------------------------------------------------------------
BLOCKED_RIDERS: frozenset = frozenset({1242, 1266, 1245, 1232, 1240, 1007})

# Anchor Coordinates for Riders (Based on Area Name)
# Used as fallback if GPS is missing, or to bias assignment to their Home Zone.
RIDER_HOME_LOCATIONS = {
    1036: (11.0067, 76.9558), # VIGNESH: RS PURAM, TOWNHALL, PODANUR, KUNIAMUTHUR
    897:  (11.0430, 76.9380), # VARUN EDWARD: KAVUNDAMPALAYAM, THUDIYALUR
    950:  (11.0330, 76.9800), # JAYASABESH: GANAPATHY, SARAVANAMPATTI
    1114: (11.0450, 77.0000), # TAMILAZHAGAN: GANDHIMA NAGAR, NEHRU NAGAR, SITRA
    883:  (11.0200, 77.0000), # RAJAN: PEELAMEDU, P N PALAYAM
    753:  (11.0000, 77.0300), # MANIKANDAN: SINGANALLUR
    1062: (11.0250, 76.9450), # NAGALAKSHMI: SAIBABA COLONY, R S PURAM, GANDHIPURAM
    1111: (10.9950, 77.0000), # MURALI: RAMANATHAPURAM, PODANUR, RACE COURSE
}
