import { createStackNavigator } from "@react-navigation/stack";
import Home from "../screens/AksesWarga/Home";
// import AksesAkun from "../screens/AksesAkun";
import masuk from "../screens/masuk";
import BottomNav from "./BottomNav";
import LokasiTerdekat from "../screens/AksesWarga/LokasiTerdekat";
import daftarTPS from "../screens/daftarTPS";
import RiwayatCoinScreen from "../screens/AksesWarga/RiwayatCoinScreen";
import pengaduansampah from "../screens/PengaduanWarga/pengaduansampah";
// import PengaduanSampahScreenAdmin from "../screens/AksesAdmin/PengaduanSampahScreenAdmin";
import misimingguan from "../screens/AksesWarga/misimingguan";
import BerandaPengaduan from "../screens/AksesWarga/BerandaPengaduan";
import KontribusiScreen from "../screens/PengaduanWarga/KontribusiScreen";
import EcoMapCoinExchangeScreen from "../screens/AksesWarga/EcoMapCoinExchangeScreen";
// import NotifikasiScreen from "../screens/AksesAdmin/NotifikasiAdminScreen";
import ProfilScreen from "../screens/AksesWarga/ProfilScreen";
import ProfilNavigation from "../Navigation/ProfilNavigation";
import NotifikasiScreen from "../screens/AksesWarga/NotifikasiScreen";
// import DonasiNavigator from "./DonasiNavigator";
import Donasiberhasil from "../screens/ProfilWarga/DonasiWarga/Donasiberhasil";
import Donasi from "../screens/ProfilWarga/DonasiWarga/Donasi";
import MetodeDonasi from "../screens/ProfilWarga/DonasiWarga/MetodeDonasi";
import KonfirmasiPembayaran from "../screens/ProfilWarga/DonasiWarga/KonfirmasiPembayaran";
import DonasiVerifikasi from "../screens/ProfilWarga/DonasiWarga/DonasiVerifikasi";
// import LoadingScreen from "../screens/PengaduanWarga/LoadingScreen";
import PengaduanBerhasil from "../screens/PengaduanWarga/PengaduanBerhasil";
import KontribusiBerhasil from "../screens/PengaduanWarga/KontribusiBerhasil";
// import BerandaPengaduan from "../screens/AksesWarga/BerandaPengaduan";
// import PengaduanWargaNavigator from "../Navigation/AksesWargaNavigator";
import AksesAkun from "../screens/AksesAkun";
import DaftarNavigation from "../Navigation/DaftarNavigation";
import DaftarBerhasil from "../screens/DaftarBerhasil";
import daftar from "../screens/daftar";
import lupasandi from "../screens/password/lupasandi"; // Halaman lupa sandi
import resetsandi from "../screens/password/InputContact"; // Halaman reset sandi
import notifikasisukses from "../screens/password/notifikasisukses"; // Halaman notifikasi sukses
import InputContact from "../screens/password/InputContact";
import VerifyCode from "../screens/password/VerifyCode";
// import LokasiTerdekat from "../screens/AksesWarga/LokasiTerdekat";
// import daftarTPS from "../screens/daftarTPS";
// import RiwayatCoinScreen from "../screens/AksesWarga/RiwayatCoinScreen";
const Stack = createStackNavigator();
const AkeswargaNavigator = createStackNavigator();

function AkeswargaStack() {
  return (
    <AkeswargaNavigator.Navigator>
      <AkeswargaNavigator.Screen
        name="ProfilNavigation"
        component={ProfilStack}
      />
    </AkeswargaNavigator.Navigator>
  );
}
export default function AksesWargaNavigator() {
  return (
    <Stack.Navigator>
      {/* <Stack.Screen
        name="AksesAkun"
        component={AksesAkun}
        options={{ headerShown: false }}
      /> */}
      <Stack.Screen
        name="warga"
        component={AksesAkun}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="DaftarNavigation"
        component={DaftarNavigation}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="daftar"
        component={daftar}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="DaftarBerhasil"
        component={DaftarBerhasil}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="lupasandi"
        component={lupasandi}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="InputContact"
        component={InputContact}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="VerifyCode"
        component={VerifyCode}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="notifikasisukses"
        component={notifikasisukses}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="Home"
        component={Home}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="BottomNav"
        component={BottomNav}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="LokasiTerdekat"
        component={LokasiTerdekat}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="daftarTPS"
        component={daftarTPS}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="RiwayatCoinScreen"
        component={RiwayatCoinScreen}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="pengaduansampah"
        component={pengaduansampah}
        options={{ headerShown: false }}
      />
      {/* <Stack.Screen
        name="pengaduansampahNavigator"
        component={PengaduanWargaNavigator}
        options={{ headerShown: false }}
      /> */}
      {/* <Stack.Screen
        name="pengaduansampah"
        component={pengaduansampah}
        options={{ headerShown: false }}
      /> */}
      {/* <Stack.Screen
        name="LoadingScreen"
        component={LoadingScreen}
        options={{ headerShown: false }}
      /> */}
      <Stack.Screen
        name="PengaduanBerhasil"
        component={PengaduanBerhasil}
        options={{ headerShown: false }}
      />

      <Stack.Screen
        name="misimingguan"
        component={misimingguan}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="BerandaPengaduan"
        component={BerandaPengaduan}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="KontribusiScreen"
        component={KontribusiScreen}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="KontribusiBerhasil"
        component={KontribusiBerhasil}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="EcoMapCoinExchangeScreen"
        component={EcoMapCoinExchangeScreen}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="NotifikasiScreen"
        component={NotifikasiScreen}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="ProfilScreen"
        component={ProfilScreen}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="ProfilNavigation"
        component={ProfilNavigation}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="Donasi"
        component={Donasi}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="MetodeDonasi"
        component={MetodeDonasi}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="KonfirmasiPembayaran"
        component={KonfirmasiPembayaran}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="DonasiVerifikasi"
        component={DonasiVerifikasi}
        options={{ headerShown: false }}
      />
      <Stack.Screen
        name="Donasiberhasil"
        component={Donasiberhasil}
        options={{ headerShown: false }}
      />
      {/* <Stack.Screen name="Home" component={Home}options={{ headerShown: false }} /> */}
    </Stack.Navigator>
  );
}
