import 'package:sigap/src/features/auth/data/models/administrative_division.dart';

// Sample data for provinces
final List<AdministrativeDivision> provinces = [
  AdministrativeDivision(
    id: 'p1',
    name: 'Jawa Timur',
    type: DivisionType.province,
    code: '35',
  ),
  AdministrativeDivision(
    id: 'p2',
    name: 'Jawa Barat',
    type: DivisionType.province,
    code: '32',
  ),
  AdministrativeDivision(
    id: 'p3',
    name: 'Jawa Tengah',
    type: DivisionType.province,
    code: '33',
  ),
  AdministrativeDivision(
    id: 'p4',
    name: 'DKI Jakarta',
    type: DivisionType.province,
    code: '31',
  ),
  AdministrativeDivision(
    id: 'p5',
    name: 'Banten',
    type: DivisionType.province,
    code: '36',
  ),
  AdministrativeDivision(
    id: 'p6',
    name: 'Bali',
    type: DivisionType.province,
    code: '51',
  ),
  // Add more provinces as needed
];

// Sample data for regencies (cities/kabupaten)
final List<AdministrativeDivision> regencies = [
  // Jawa Timur Regencies
  AdministrativeDivision(
    id: 'r1',
    name: 'Kota Surabaya',
    type: DivisionType.regency,
    parentId: 'p1',
    code: '3578',
  ),
  AdministrativeDivision(
    id: 'r2',
    name: 'Kabupaten Sidoarjo',
    type: DivisionType.regency,
    parentId: 'p1',
    code: '3515',
  ),
  AdministrativeDivision(
    id: 'r3',
    name: 'Kota Malang',
    type: DivisionType.regency,
    parentId: 'p1',
    code: '3573',
  ),

  // Jawa Barat Regencies
  AdministrativeDivision(
    id: 'r4',
    name: 'Kota Bandung',
    type: DivisionType.regency,
    parentId: 'p2',
    code: '3273',
  ),
  AdministrativeDivision(
    id: 'r5',
    name: 'Kabupaten Bogor',
    type: DivisionType.regency,
    parentId: 'p2',
    code: '3201',
  ),

  // DKI Jakarta Regencies
  AdministrativeDivision(
    id: 'r6',
    name: 'Jakarta Selatan',
    type: DivisionType.regency,
    parentId: 'p4',
    code: '3171',
  ),
  AdministrativeDivision(
    id: 'r7',
    name: 'Jakarta Pusat',
    type: DivisionType.regency,
    parentId: 'p4',
    code: '3173',
  ),
  // Add more regencies as needed
];

// Sample data for districts (kecamatan)
final List<AdministrativeDivision> districts = [
  // Surabaya Districts
  AdministrativeDivision(
    id: 'd1',
    name: 'Wonokromo',
    type: DivisionType.district,
    parentId: 'r1',
    code: '357806',
  ),
  AdministrativeDivision(
    id: 'd2',
    name: 'Gubeng',
    type: DivisionType.district,
    parentId: 'r1',
    code: '357807',
  ),
  AdministrativeDivision(
    id: 'd3',
    name: 'Rungkut',
    type: DivisionType.district,
    parentId: 'r1',
    code: '357808',
  ),

  // Sidoarjo Districts
  AdministrativeDivision(
    id: 'd4',
    name: 'Sidoarjo',
    type: DivisionType.district,
    parentId: 'r2',
    code: '351501',
  ),
  AdministrativeDivision(
    id: 'd5',
    name: 'Candi',
    type: DivisionType.district,
    parentId: 'r2',
    code: '351502',
  ),

  // Bandung Districts
  AdministrativeDivision(
    id: 'd6',
    name: 'Coblong',
    type: DivisionType.district,
    parentId: 'r4',
    code: '327305',
  ),
  AdministrativeDivision(
    id: 'd7',
    name: 'Bandung Wetan',
    type: DivisionType.district,
    parentId: 'r4',
    code: '327306',
  ),
  // Add more districts as needed
];

// Sample data for villages (kelurahan/desa)
final List<AdministrativeDivision> villages = [
  // Wonokromo Villages
  AdministrativeDivision(
    id: 'v1',
    name: 'Darmo',
    type: DivisionType.village,
    parentId: 'd1',
    code: '35780601',
  ),
  AdministrativeDivision(
    id: 'v2',
    name: 'Jagir',
    type: DivisionType.village,
    parentId: 'd1',
    code: '35780602',
  ),

  // Gubeng Villages
  AdministrativeDivision(
    id: 'v3',
    name: 'Airlangga',
    type: DivisionType.village,
    parentId: 'd2',
    code: '35780701',
  ),
  AdministrativeDivision(
    id: 'v4',
    name: 'Gubeng',
    type: DivisionType.village,
    parentId: 'd2',
    code: '35780702',
  ),

  // Sidoarjo Villages
  AdministrativeDivision(
    id: 'v5',
    name: 'Sidoklumpuk',
    type: DivisionType.village,
    parentId: 'd4',
    code: '35150101',
  ),
  AdministrativeDivision(
    id: 'v6',
    name: 'Sidokare',
    type: DivisionType.village,
    parentId: 'd4',
    code: '35150102',
  ),

  // Coblong Villages
  AdministrativeDivision(
    id: 'v7',
    name: 'Dago',
    type: DivisionType.village,
    parentId: 'd6',
    code: '32730501',
  ),
  AdministrativeDivision(
    id: 'v8',
    name: 'Lebak Gede',
    type: DivisionType.village,
    parentId: 'd6',
    code: '32730502',
  ),
  // Add more villages as needed
];
