/*!
 * Crafted with ❤ by Salla
 */
/** Filters cities by Arabic/English name (used inside the city-change modal). */
export function filterCitiesForModal(cities, query) {
    const q = query.trim().toLowerCase();
    if (!q) {
        return [...cities];
    }
    return cities.filter(city => city.name.toLowerCase().includes(q) || (city.name_en || '').toLowerCase().includes(q));
}
