setTheme(theme === "DARK" ? "DEFAULT" : "DARK")}
+ />
+ );
+}
+
+export default Settings;
diff --git a/components/pages/Abdest.js b/components/pages/Abdest.js
new file mode 100644
index 0000000..5e4ee23
--- /dev/null
+++ b/components/pages/Abdest.js
@@ -0,0 +1,135 @@
+import feelsGood from "../../files/feels.png";
+import feelsBad from "../../files/feelsbad.png";
+import { useEffect, useState } from "react";
+import abdestSound from "../../files/sound.m4a";
+import { Grid, Typography } from "@mui/material";
+
+function Abdest() {
+ const [abdest, setAbdest] = useState(localStorage.getItem("cd"));
+ const [timeLeft, setTimeLeft] = useState(localStorage.getItem("timeleft"));
+ const [minutes, setMinutes] = useState(0);
+ const [seconds, setSeconds] = useState(0);
+ var audio = new Audio(abdestSound);
+
+ const changeAbdestState = () => {
+ if (!abdest) {
+ audio.play();
+ setAbdest(true);
+ const currentTime = new Date().getTime();
+ setTimeLeft(currentTime + 300000);
+ setMinutes(5);
+ setSeconds(0);
+ }
+ };
+
+ useEffect(() => {
+ localStorage.setItem("cd", abdest);
+ localStorage.setItem("timeleft", timeLeft);
+ }, [abdest, timeLeft]);
+
+ useEffect(() => {
+ let timer;
+
+ if (abdest) {
+ const storedTimeLeft = localStorage.getItem("timeleft");
+ const currentTime = new Date().getTime();
+ if (storedTimeLeft && currentTime < storedTimeLeft) {
+ const timeDifference = Math.floor(
+ (storedTimeLeft - currentTime) / 1000
+ );
+ const updatedMinutes = Math.floor(timeDifference / 60);
+ const updatedSeconds = timeDifference % 60;
+ setMinutes(updatedMinutes);
+ setSeconds(updatedSeconds);
+ setTimeLeft(storedTimeLeft);
+ timer = setInterval(() => {
+ const currentTime = new Date().getTime();
+ if (currentTime >= storedTimeLeft) {
+ setAbdest(false);
+ setTimeLeft(null);
+ setMinutes(0);
+ setSeconds(0);
+ clearInterval(timer);
+ } else {
+ const timeDifference = Math.floor(
+ (storedTimeLeft - currentTime) / 1000
+ );
+ const updatedMinutes = Math.floor(timeDifference / 60);
+ const updatedSeconds = timeDifference % 60;
+ setMinutes(updatedMinutes);
+ setSeconds(updatedSeconds);
+ }
+ }, 1000);
+ } else {
+ setAbdest(false);
+ setTimeLeft(null);
+ setMinutes(0);
+ setSeconds(0);
+ localStorage.removeItem("cd");
+ localStorage.removeItem("timeleft");
+ }
+ }
+
+ return () => {
+ clearInterval(timer);
+ };
+ }, [abdest]);
+
+ return (
+
+
+
+
+
+ abdest almak için{" "}
+
+ tıkla
+
+
+
+
+ {abdest ? "ABDESTLENDİN" : "abdest almanın doğru adresi"}
+
+
+
+
+ {abdest && (
+
+ Abdestin geçerlilik süresi:{" "}
+ {minutes < 10 ? "0" + minutes : minutes}:
+ {seconds < 10 ? "0" + seconds : seconds}
+
+ )}
+
+
+
+ Site tamamen eğlence amacıyla hazırlanmıştır
+
+
+
+
+ );
+}
+
+export function QuickAbdest() {
+ return (
+ <>
+
+ >
+ );
+}
diff --git a/components/pages/AbdestBozan.js b/components/pages/AbdestBozan.js
new file mode 100644
index 0000000..9704d17
--- /dev/null
+++ b/components/pages/AbdestBozan.js
@@ -0,0 +1,31 @@
+import "./Texts.css";
+
+export function AbdestBozan() {
+ return (
+ <>
+ Abdesti Bozan Durumlar
+
+ Nisa Suresi, 43 ayetine göre sekerat (şuuru yerinde olmamak:
+ delilik/cinnet, esriklik/sarhoşluk, bayılmak-baygınlık, uyku-uyumak...)
+ durumu ile boşaltım organlarından çıkış olması durumu namaza dolayısıyla
+ da abdestin varlığına engeldir. Maide Suresi 6. ayetine göre namaz için
+ abdest ya da teyemmüm şarttır.
+
+
+
+ Boşaltım organlarından idrar, kan, meni, gaita (dışkı), yel gibi katı,
+ sıvı veya gaz çıkması,
+
+
+ Uyumak, delirmek, bayılmak, sarhoş olmak gibi idrak gücünün
+ kaybedildiği durumlar,
+
+ Kanama,
+ Cinsî münasebet,
+ Ağız dolusu kusmak,
+ Teyemmüm almış birinin su bulması,
+ Yellenmek.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestEngelli.js b/components/pages/AbdestEngelli.js
new file mode 100644
index 0000000..d316067
--- /dev/null
+++ b/components/pages/AbdestEngelli.js
@@ -0,0 +1,22 @@
+export function AbdestEngelli() {
+ return (
+ <>
+ Engelli abdesti
+
+ Normal abdest almasına engel bir durumu olan Müslüman'ın, rahatsızlığına
+ göre farklı yönlerden eksik kalan abdesttir.
+
+
+ Vücudunun belli yerlerini tıbbi sebeplerden yıkayamayan insanlar normal
+ abdest almaktan muhaf tutulur. Örnek olarak, kolu kırılan ve alçıya
+ alınan kişi abdestini alır; ancak kolunu yıkayamadığından sadece alçının
+ üstünü suyla mesh edebilir. O da zararlıysa, onu da yapmaz. Vücudunda
+ devamlı kanayan yara olan Müslümanlar da engelli abdesti alır. Buna
+ göre, normal abdest alırlar, fakat bu abdestle sadece tek vakit namaz
+ kılabilirler. Engelli abdesti alan Müslüman'ın, tam abdest alan
+ Müslüman'a cemaatle kılınan namazlarda imamlık yapması uygun
+ görülmemiştir.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestEtimoloji.js b/components/pages/AbdestEtimoloji.js
new file mode 100644
index 0000000..e1cea6a
--- /dev/null
+++ b/components/pages/AbdestEtimoloji.js
@@ -0,0 +1,22 @@
+export function AbdestEtimiloji() {
+ return (
+ <>
+ Abdestin Etimolojisi
+
+ "Abdest" sözcüğü Türkçeye Selçuklular zamanında Farsça'dan
+ geçmiştir. Anlamı "su tutmak"tır. âb (su) ve dest (tutmak,
+ kavramak) kelimelerinin birleşiminden oluşmuştur. İran ve bazı diğer
+ Müslüman ülkeler ile İngilizce konuşan ülkelerde abdest yerine
+ "vudu" kelimesi kullanılır.
+
+
+ Abdest Kur'an' da gasil veya gusül olarak geçer. Bu sözcük, Arapça'da
+ "bir sıvıyı bir nesne üzerinden akıtmak, koku sürünmek"
+ anlamlarına gelir. Bazı hadisçiler ve fıkıhçılar vudû kelimesini abdest
+ anlamında kullanmakta ve gusül kelimesini boy abdesti için
+ kullanmaktadırlar. Kur'an'da boy abdesti için ıttıhar yani taharlanma
+ (temizlik) sözcüğü kullanılmaktadır.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestFarz.js b/components/pages/AbdestFarz.js
new file mode 100644
index 0000000..66bf03f
--- /dev/null
+++ b/components/pages/AbdestFarz.js
@@ -0,0 +1,14 @@
+export function AbdestFarz() {
+ return (
+ <>
+ Abdestin Farzları
+ Sünni alimlere göre abdestin farzları dörttür:
+
+ Başın dörtte birini meshetmek, yani ıslak elle sıvazlamak.
+ Kolları (dirsekleriyle beraber) yıkamak.
+ Yüzü yıkamak.
+ Ayakları (topuklarıyla beraber) yıkamak.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestHakkında.js b/components/pages/AbdestHakkında.js
new file mode 100644
index 0000000..76505f4
--- /dev/null
+++ b/components/pages/AbdestHakkında.js
@@ -0,0 +1,181 @@
+export function AbdestHakkinda() {
+ return (
+ <>
+ Abdest
+
+ Abdest, Müslümanların, namaz gibi belli ibadetleri yapabilmek için bir
+ düzen içerisinde bazı organları yıkayıp bazılarını mesh etme yoluyla
+ yaptıkları arınma ve temizliktir. Kur'ana göre her namazın yanında
+ bedensel temizlenme amacıyla belli organları yıkamak (gasil) ve
+ meshetmek (mesih) şeklinde anlatılır. Suyun abdeste uygun olması
+ önemlidir. Su abdeste tadı, bulanıklığı ve kokusunun olağan olması ile
+ uygun olmaktadır.
+
+ Etimolojisi
+
+ "Abdest" sözcüğü Türkçeye Selçuklular zamanında Farsça'dan
+ geçmiştir. Anlamı "su tutmak"tır. âb (su) ve dest (tutmak,
+ kavramak) kelimelerinin birleşiminden oluşmuştur. İran ve bazı diğer
+ Müslüman ülkeler ile İngilizce konuşan ülkelerde abdest yerine
+ "vudu" kelimesi kullanılır.
+
+
+ Abdest Kur'an' da gasil veya gusül olarak geçer. Bu sözcük, Arapça'da
+ "bir sıvıyı bir nesne üzerinden akıtmak, koku sürünmek"
+ anlamlarına gelir. Bazı hadisçiler ve fıkıhçılar vudû kelimesini abdest
+ anlamında kullanmakta ve gusül kelimesini boy abdesti için
+ kullanmaktadırlar. Kur'an'da boy abdesti için ıttıhar yani taharlanma
+ (temizlik) sözcüğü kullanılmaktadır.
+
+ Teyemmüm
+
+ Fakihlere (fıkıh alimi) göre namaz kılmak için abdest yerine bazı
+ durumlarda teyemmüm yapılabilir. Ayrıca teyemmüm, hastalık, yolculuk, su
+ bulmama/suyun olmaması veya erişilememesi gibi durumlarda boy abdesti
+ yerine de yapılır. Kur'an'da teyemmüm yapmak için türâb (toprak) sözcüğü
+ kullanılmaz, bunun yerine said sözcüğü kullanılır ki bu sözcük
+ "toz, toprak, taş vs." anlamına gelmektedir. Kullanıma uygun
+ su bulunduğu zaman bozulmaktadır.
+
+ Abdest Ayeti
+
+ Kur'anda; (Maide Suresi, 6), (Nisa suresi, 43), (Müddessir suresi, 4-5),
+ (Bakara suresi, 222), (Tevbe suresi, 108), (Vakıa suresi, 79)'da geçer.
+
+
+ Ayetin ayakları anlatan “ercüleküm” kelimesinin okunuşu kıraat
+ mezhepleri arasında ihtilaflı bir konudur. Kelime iki şekilde
+ okunabilir; ercüleküm şeklinde okunduğunda abdest alırken ayakların
+ yıkanması gerektiği anlaşılır, ercüliküm şeklinde okunmasında ise
+ ayakların yıkanmıyacağı, sadece meshedileceği anlaşılır.
+
+
+ Ayette kullanılan vücûhe küm (vecihleriniz) ibaresi, başın ön yanı için
+ kullanılır, bu yüzden başta saçların döküldüğü ön kısım, yüz, boyun altı
+ demektir. Baş sıvazlanırken, ayette sınır koymadığı için, baş adlı
+ organın başın ön yanı dışındaki her yanı, kulaklar, ense, boyun
+ sıvazlanır.
+
+ Abdestin hükümleri
+
+ Fıkıh alimleri, Kur'an ve Sünneti referans göstererek abdestin
+ hükümlerini (farz, sünnet, mendup, müstehab, mekruh vs.) şunlar olarak
+ belirtirler:
+
+ Abdestin farzları
+ Sünni alimlere göre abdestin farzları dörttür:
+
+ Başın dörtte birini meshetmek, yani ıslak elle sıvazlamak.
+ Kolları (dirsekleriyle beraber) yıkamak.
+ Yüzü yıkamak.
+ Ayakları (topuklarıyla beraber) yıkamak.
+
+
+ Şia alimlerden bazıları "ayaklara meshetmenin" abdestin
+ farzlarından olduğuna, bazı alimler meshin farz, yıkamanın sünnet
+ olduğuna, diğer bir kısmı ise her iki uygulamadan birisini yerine
+ getirmenin yeterli olacağına inanmışlardır.
+
+ Abdestin sünnetleri
+
+ Niyet etmek
+ Eûzü ve Besmele ile başlamak
+ Evvela ellerini bileklerine kadar yıkamak
+ Misvak kullanmak
+ Bir âzâ kurumadan diğerini yıkamak
+ Ağzına ve burnuna üç kere su vermek
+ Kulağını meshetmek
+
+ Parmaklarını hilâllemek; yâni bir elin parmaklarını diğer elin
+ parmakları arasına geçirip çekmek
+
+ Âzâları üçer kere yıkamak
+ Başını kaplama meshetmek
+
+ Abdesti tertip üzere almak; yâni abdest âzâlarını sırasıyla yıkamak
+
+ El ve ayaklarını yıkamakta parmak uçlarından başlamak
+
+ Abdest alırken okunacak birçok duâ olmakla beraber evlâ olan bütün
+ âzâlarını yıkarken besmele çekip şehâdet getirmektir
+
+
+ Abdestin mekruhları
+
+ Sağ el ile sümkürmek
+ Abdest âzâlarından birini üç defadan az veya fazla yıkamak
+ Suyu yüzüne çarpmak
+ Güneşte ısınmış su ile abdest almak
+ Suyu çok az kullanmak veya israf etmek
+ Abdest alırken konuşmak
+ Sünnetlerini terk etmek
+
+ Abdesti bozan durumlar
+
+ Nisa Suresi, 43 ayetine göre sekerat (şuuru yerinde olmamak:
+ delilik/cinnet, esriklik/sarhoşluk, bayılmak-baygınlık, uyku-uyumak...)
+ durumu ile boşaltım organlarından çıkış olması durumu namaza dolayısıyla
+ da abdestin varlığına engeldir. Maide Suresi 6. ayetine göre namaz için
+ abdest ya da teyemmüm şarttır.
+
+
+
+ Boşaltım organlarından idrar, kan, meni, gaita (dışkı), yel gibi katı,
+ sıvı veya gaz çıkması,
+
+
+ Uyumak, delirmek, bayılmak, sarhoş olmak gibi idrak gücünün
+ kaybedildiği durumlar,
+
+ Kanama,
+ Cinsî münasebet,
+ Ağız dolusu kusmak,
+ Teyemmüm almış birinin su bulması,
+ Yellenmek.
+
+ Abdest nasıl alınır
+
+ Eller bileklere kadar Üç kere oğusturularak yıkanır.
+
+ Sağ elle, ilkin ağza, sonra buruna olmak üzere, üçer kere su alınır.
+
+ Yüz, Üç kere yıkanır.
+
+ Dirseği biraz aşacak şekilde önce sağ kol, sonra sol kol üçer kere
+ yıkanır.
+
+
+ Sağ elin içi ıslatılıp, alından enseye doğru sıvazlanarak baş mesh
+ edilir.
+
+
+ Islak elin başparmağıyla, serçeparmağıyla sıvazlanarak kulaklar mesh
+ edilir.
+
+
+ Islak parmakların tersiyle, ense ortasından yanlara doğru boyun da
+ mesh edilir.
+
+
+ Topuğu biraz geçmek üzere, sol elle ilkin sağ, sonra sol ayak yıkanır.
+
+
+ Engelli abdesti
+
+ Normal abdest almasına engel bir durumu olan Müslüman'ın, rahatsızlığına
+ göre farklı yönlerden eksik kalan abdesttir.
+
+
+ Vücudunun belli yerlerini tıbbi sebeplerden yıkayamayan insanlar normal
+ abdest almaktan muhaf tutulur. Örnek olarak, kolu kırılan ve alçıya
+ alınan kişi abdestini alır; ancak kolunu yıkayamadığından sadece alçının
+ üstünü suyla mesh edebilir. O da zararlıysa, onu da yapmaz. Vücudunda
+ devamlı kanayan yara olan Müslümanlar da engelli abdesti alır. Buna
+ göre, normal abdest alırlar, fakat bu abdestle sadece tek vakit namaz
+ kılabilirler. Engelli abdesti alan Müslüman'ın, tam abdest alan
+ Müslüman'a cemaatle kılınan namazlarda imamlık yapması uygun
+ görülmemiştir.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestHükümleri.js b/components/pages/AbdestHükümleri.js
new file mode 100644
index 0000000..f30a4d9
--- /dev/null
+++ b/components/pages/AbdestHükümleri.js
@@ -0,0 +1,26 @@
+export function AbdestHukum() {
+ return (
+ <>
+ Abdestin Hükümleri
+
+ Fıkıh alimleri, Kur'an ve Sünneti referans göstererek abdestin
+ hükümlerini (farz, sünnet, mendup, müstehab, mekruh vs.) şunlar olarak
+ belirtirler:
+
+ Abdestin farzları
+ Sünni alimlere göre abdestin farzları dörttür:
+
+ Başın dörtte birini meshetmek, yani ıslak elle sıvazlamak.
+ Kolları (dirsekleriyle beraber) yıkamak.
+ Yüzü yıkamak.
+ Ayakları (topuklarıyla beraber) yıkamak.
+
+
+ Şia alimlerden bazıları "ayaklara meshetmenin" abdestin
+ farzlarından olduğuna, bazı alimler meshin farz, yıkamanın sünnet
+ olduğuna, diğer bir kısmı ise her iki uygulamadan birisini yerine
+ getirmenin yeterli olacağına inanmışlardır.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestMekruh.js b/components/pages/AbdestMekruh.js
new file mode 100644
index 0000000..85c0edf
--- /dev/null
+++ b/components/pages/AbdestMekruh.js
@@ -0,0 +1,16 @@
+export function AbdestMekruh() {
+ return (
+ <>
+ Abdestin Mekruhları
+
+ Sağ el ile sümkürmek
+ Abdest âzâlarından birini üç defadan az veya fazla yıkamak
+ Suyu yüzüne çarpmak
+ Güneşte ısınmış su ile abdest almak
+ Suyu çok az kullanmak veya israf etmek
+ Abdest alırken konuşmak
+ Sünnetlerini terk etmek
+
+ >
+ );
+}
diff --git a/components/pages/AbdestNasılAlınır.js b/components/pages/AbdestNasılAlınır.js
new file mode 100644
index 0000000..b990625
--- /dev/null
+++ b/components/pages/AbdestNasılAlınır.js
@@ -0,0 +1,49 @@
+export function AbdestNasil() {
+ return (
+ <>
+ Abdest Nasıl Alınır?
+
+ Eller bileklere kadar Üç kere oğusturularak yıkanır.
+
+ Sağ elle, ilkin ağza, sonra buruna olmak üzere, üçer kere su alınır.
+
+ Yüz, Üç kere yıkanır.
+
+ Dirseği biraz aşacak şekilde önce sağ kol, sonra sol kol üçer kere
+ yıkanır.
+
+
+ Sağ elin içi ıslatılıp, alından enseye doğru sıvazlanarak baş mesh
+ edilir.
+
+
+ Islak elin başparmağıyla, serçeparmağıyla sıvazlanarak kulaklar mesh
+ edilir.
+
+
+ Islak parmakların tersiyle, ense ortasından yanlara doğru boyun da
+ mesh edilir.
+
+
+ Topuğu biraz geçmek üzere, sol elle ilkin sağ, sonra sol ayak yıkanır.
+
+
+ Engelli Abdesti Nasıl Alınır?
+
+ Normal abdest almasına engel bir durumu olan Müslüman'ın, rahatsızlığına
+ göre farklı yönlerden eksik kalan abdesttir.
+
+
+ Vücudunun belli yerlerini tıbbi sebeplerden yıkayamayan insanlar normal
+ abdest almaktan muhaf tutulur. Örnek olarak, kolu kırılan ve alçıya
+ alınan kişi abdestini alır; ancak kolunu yıkayamadığından sadece alçının
+ üstünü suyla mesh edebilir. O da zararlıysa, onu da yapmaz. Vücudunda
+ devamlı kanayan yara olan Müslümanlar da engelli abdesti alır. Buna
+ göre, normal abdest alırlar, fakat bu abdestle sadece tek vakit namaz
+ kılabilirler. Engelli abdesti alan Müslüman'ın, tam abdest alan
+ Müslüman'a cemaatle kılınan namazlarda imamlık yapması uygun
+ görülmemiştir.
+
+ >
+ );
+}
diff --git a/components/pages/AbdestSunnet.js b/components/pages/AbdestSunnet.js
new file mode 100644
index 0000000..102b2c9
--- /dev/null
+++ b/components/pages/AbdestSunnet.js
@@ -0,0 +1,30 @@
+export function AbdestSunnet() {
+ return (
+ <>
+ Abdestin Sünnetleri
+
+ Niyet etmek
+ Eûzü ve Besmele ile başlamak
+ Evvela ellerini bileklerine kadar yıkamak
+ Misvak kullanmak
+ Bir âzâ kurumadan diğerini yıkamak
+ Ağzına ve burnuna üç kere su vermek
+ Kulağını meshetmek
+
+ Parmaklarını hilâllemek; yâni bir elin parmaklarını diğer elin
+ parmakları arasına geçirip çekmek
+
+ Âzâları üçer kere yıkamak
+ Başını kaplama meshetmek
+
+ Abdesti tertip üzere almak; yâni abdest âzâlarını sırasıyla yıkamak
+
+ El ve ayaklarını yıkamakta parmak uçlarından başlamak
+
+ Abdest alırken okunacak birçok duâ olmakla beraber evlâ olan bütün
+ âzâlarını yıkarken besmele çekip şehâdet getirmektir
+
+
+ >
+ );
+}
diff --git a/components/pages/AbdestTeyemmüm.js b/components/pages/AbdestTeyemmüm.js
new file mode 100644
index 0000000..a1a032c
--- /dev/null
+++ b/components/pages/AbdestTeyemmüm.js
@@ -0,0 +1,16 @@
+export function AbdestTeyemmum() {
+ return (
+ <>
+ Teyemmüm
+
+ Fakihlere (fıkıh alimi) göre namaz kılmak için abdest yerine bazı
+ durumlarda teyemmüm yapılabilir. Ayrıca teyemmüm, hastalık, yolculuk, su
+ bulmama/suyun olmaması veya erişilememesi gibi durumlarda boy abdesti
+ yerine de yapılır. Kur'an'da teyemmüm yapmak için türâb (toprak) sözcüğü
+ kullanılmaz, bunun yerine said sözcüğü kullanılır ki bu sözcük
+ "toz, toprak, taş vs." anlamına gelmektedir. Kullanıma uygun
+ su bulunduğu zaman bozulmaktadır.
+
+ >
+ );
+}
diff --git a/constants.js b/constants.js
new file mode 100644
index 0000000..da312be
--- /dev/null
+++ b/constants.js
@@ -0,0 +1,5 @@
+export const THEMES = {
+ DEFAULT: "DEFAULT",
+ GREEN: "GREEN",
+ DARK: "DARK",
+};
diff --git a/contexts/Themes.js b/contexts/Themes.js
new file mode 100644
index 0000000..67646c0
--- /dev/null
+++ b/contexts/Themes.js
@@ -0,0 +1,34 @@
+import React, { useEffect, useState, createContext } from "react";
+import { THEMES } from "../constants";
+
+const initialState = {
+ theme: THEMES.DEFAULT,
+ setTheme: (theme) => {},
+};
+
+const ThemeContext = createContext(initialState);
+
+function ThemeProvider({ children }) {
+ const [theme, setTheme] = useState(initialState.theme);
+
+ useEffect(() => {
+ const storedTheme = localStorage.getItem("theme");
+
+ if (storedTheme) {
+ setTheme(JSON.parse(storedTheme));
+ }
+ }, []);
+
+ const updateTheme = (theme) => {
+ localStorage.setItem("theme", JSON.stringify(theme));
+ setTheme(theme);
+ };
+
+ return (
+
+ {children}
+
+ );
+}
+
+export { ThemeProvider, ThemeContext };
diff --git a/favicon.ico b/favicon.ico
deleted file mode 100644
index 1dd9833..0000000
Binary files a/favicon.ico and /dev/null differ
diff --git a/favicon.png b/favicon.png
deleted file mode 100644
index 1dd9833..0000000
Binary files a/favicon.png and /dev/null differ
diff --git a/hooks/useTheme.js b/hooks/useTheme.js
new file mode 100644
index 0000000..d78aa18
--- /dev/null
+++ b/hooks/useTheme.js
@@ -0,0 +1,6 @@
+import { useContext } from "react";
+import { ThemeContext } from "../contexts/Themes";
+
+const useTheme = () => useContext(ThemeContext);
+
+export default useTheme;
diff --git a/index.html b/index.html
deleted file mode 100644
index 91238ae..0000000
--- a/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- quickabdest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..c7b9ea4
--- /dev/null
+++ b/index.js
@@ -0,0 +1,21 @@
+import React from "react";
+import ReactDOM from "react-dom/client";
+import App from "./App";
+import "@fontsource/poppins";
+import reportWebVitals from "./reportWebVitals";
+import { BrowserRouter } from "react-router-dom/dist";
+import { ThemeProvider } from "./contexts/Themes";
+
+const root = ReactDOM.createRoot(document.getElementById("root"));
+root.render(
+
+
+
+
+
+);
+
+// If you want to start measuring performance in your app, pass a function
+// to log results (for example: reportWebVitals(console.log))
+// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
+reportWebVitals();
diff --git a/manifest.json b/manifest.json
deleted file mode 100644
index caaa2e7..0000000
--- a/manifest.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "short_name": "Quickabdest",
- "name": "Create React App Sample",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- },
- {
- "src": "logo192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "logo512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
\ No newline at end of file
diff --git a/reportWebVitals.js b/reportWebVitals.js
new file mode 100644
index 0000000..5253d3a
--- /dev/null
+++ b/reportWebVitals.js
@@ -0,0 +1,13 @@
+const reportWebVitals = onPerfEntry => {
+ if (onPerfEntry && onPerfEntry instanceof Function) {
+ import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
+ getCLS(onPerfEntry);
+ getFID(onPerfEntry);
+ getFCP(onPerfEntry);
+ getLCP(onPerfEntry);
+ getTTFB(onPerfEntry);
+ });
+ }
+};
+
+export default reportWebVitals;
diff --git a/routes.js b/routes.js
new file mode 100644
index 0000000..1949a48
--- /dev/null
+++ b/routes.js
@@ -0,0 +1,30 @@
+import { QuickAbdest } from "./components/pages/Abdest";
+import { AbdestBozan } from "./components/pages/AbdestBozan";
+import { AbdestEngelli } from "./components/pages/AbdestEngelli";
+import { AbdestEtimiloji } from "./components/pages/AbdestEtimoloji";
+import { AbdestFarz } from "./components/pages/AbdestFarz";
+import { AbdestHakkinda } from "./components/pages/AbdestHakkında";
+import { AbdestHukum } from "./components/pages/AbdestHükümleri";
+import { AbdestMekruh } from "./components/pages/AbdestMekruh";
+import { AbdestNasil } from "./components/pages/AbdestNasılAlınır";
+import { AbdestSunnet } from "./components/pages/AbdestSunnet";
+import { AbdestTeyemmum } from "./components/pages/AbdestTeyemmüm";
+
+export const routes = [
+ {
+ path: "/",
+ children: [
+ { path: "", element: },
+ { path: "abdesthakkinda", element: },
+ { path: "abdestnasilalinir", element: },
+ { path: "abdestetimoloji", element: },
+ { path: "abdestinhukumleri", element: },
+ { path: "abdestinfarzlari", element: },
+ { path: "abdestinsunnetleri", element: },
+ { path: "abdestinmehruklari", element: },
+ { path: "abdestbozandurumlar", element: },
+ { path: "engelliabdesti", element: },
+ { path: "teyemmumabdesti", element: },
+ ],
+ },
+];
diff --git a/singlefile.html b/singlefile.html
deleted file mode 100644
index aaa7078..0000000
--- a/singlefile.html
+++ /dev/null
@@ -1,528 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- quickabdest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- abdest almak için
-
tıkla
-
-
-
- abdest almanın doğru adresi
-
-
-
-
-
-
- Site tamamen eğlence amacıyla hazırlanmıştır
-
-
-
-
-
-
-
-
-
-
-
diff --git a/static/css/main.css b/static/css/main.css
deleted file mode 100644
index a4a6a91..0000000
--- a/static/css/main.css
+++ /dev/null
@@ -1,82 +0,0 @@
-h1 {
- font-size:2.5rem;
- font-weight:600;
- margin-bottom:1rem;
- text-align:center
- }
- p {
- text-align:justify;
- text-decoration:none
- }
- ul {
- list-style:circle
- }
- ::-webkit-scrollbar {
- display:none
- }
- .abdestTrue {
- color:red;
- letter-spacing:1.8229166666666667vw;
- text-transform:uppercase;
- width:auto
- }
- @font-face {
- font-display:swap;
- font-family:Poppins;
- font-style:normal;
- font-weight:400;
- src:url(../../static/media/poppins-devanagari-400-normal.64d5f06ee726edd58ca3.woff2) format("woff2"),
- url(../../static/media/poppins-all-400-normal.6fbfdac99c274b77fe96.woff) format("woff");
- unicode-range:u+0900-097f,
- u+1cd0-1cf6,
- u+1cf8-1cf9,
- u+200c-200d,
- u+20a8,
- u+20b9,
- u+25cc,
- u+a830-a839,
- u+a8e0-a8fb
- }
- @font-face {
- font-display:swap;
- font-family:Poppins;
- font-style:normal;
- font-weight:400;
- src:url(../../static/media/poppins-latin-ext-400-normal.4f38b4331448d2313adc.woff2) format("woff2"),
- url(../../static/media/poppins-all-400-normal.6fbfdac99c274b77fe96.woff) format("woff");
- unicode-range:u+0100-024f,
- u+0259,
- u+1e??,
- u+2020,
- u+20a0-20ab,
- u+20ad-20cf,
- u+2113,
- u+2c60-2c7f,
- u+a720-a7ff
- }
- @font-face {
- font-display:swap;
- font-family:Poppins;
- font-style:normal;
- font-weight:400;
- src:url(../../static/media/poppins-latin-400-normal.405055dd680fa1dcdfa2.woff2) format("woff2"),
- url(../../static/media/poppins-all-400-normal.6fbfdac99c274b77fe96.woff) format("woff");
- unicode-range:u+00??,
- u+0131,
- u+0152-0153,
- u+02bb-02bc,
- u+02c6,
- u+02da,
- u+02dc,
- u+2000-206f,
- u+2074,
- u+20ac,
- u+2122,
- u+2191,
- u+2193,
- u+2212,
- u+2215,
- u+feff,
- u+fffd
- }
-
\ No newline at end of file
diff --git a/static/js/main.js b/static/js/main.js
deleted file mode 100644
index 751f084..0000000
--- a/static/js/main.js
+++ /dev/null
@@ -1,3 +0,0 @@
-// main.js
-!function(){var e={3361:function(e,t,n){"use strict";n.d(t,{Z:function(){return ae}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(k,--y):0,v--,10===b&&(v=1,h--),b}function E(){return b=y2||z(b)>3?"":" "}function O(e,t){for(;--t&&E()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,C()+(t<6&&32==Z()&&32==E()))}function N(e){for(;E();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&N(b);break;case 40:41===e&&N(e);break;case 92:E()}return y}function _(e,t){for(;E()&&e+b!==57&&(e+b!==84||47!==Z()););return"/*"+P(t,y-1)+"*"+o(47===e?e:E())}function A(e){for(;!z(Z());)E();return P(e,y)}var I="-ms-",F="-moz-",L="-webkit-",D="comm",B="rule",W="decl",U="@keyframes";function $(e,t){for(var n="",r=p(e),a=0;a0&&f(F)-g&&m(b>32?Q(F+";",r,n,g-1):Q(u(F," ","")+";",r,n,g-2),p);break;case 59:F+=";";default:if(m(I=q(F,t,n,h,v,a,d,R,T=[],N=[],g),i),123===z)if(0===v)K(F,t,I,I,T,i,g,d,N);else switch(99===y&&110===c(F,3)?100:y){case 100:case 108:case 109:case 115:K(e,I,I,r&&m(q(e,I,I,0,0,a,d,R,a,T=[],g),N),a,N,g,d,r?T:N);break;default:K(F,I,I,I,[""],N,0,d,N)}}h=v=b=0,x=P=1,R=F="",g=l;break;case 58:g=1+f(F),b=k;default:if(x<1)if(123==z)--x;else if(125==z&&0==x++&&125==S())continue;switch(F+=o(z),z*x){case 38:P=v>0?1:(F+="\f",-1);break;case 44:d[h++]=(f(F)-1)*P,P=1;break;case 64:45===Z()&&(F+=j(E())),y=Z(),v=g=f(R=F+=A(C())),z++;break;case 45:45===k&&2==f(F)&&(x=0)}}return i}function q(e,t,n,r,o,i,s,c,f,m,h){for(var v=o-1,g=0===o?i:[""],y=p(g),b=0,k=0,w=0;b0?g[S]+" "+E:u(E,/&\f/g,g[S])))&&(f[w++]=Z);return x(e,t,n,0===o?B:c,f,m,h)}function G(e,t,n){return x(e,t,n,D,o(b),d(e,2,-2),0)}function Q(e,t,n,r){return x(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,a=0;r=a,a=Z(),38===r&&12===a&&(t[n]=1),!z(a);)E();return P(e,y)},X=function(e,t){return T(function(e,t){var n=-1,r=44;do{switch(z(r)){case 0:38===r&&12===Z()&&(t[n]=1),e[n]+=Y(y-1,t,n);break;case 2:e[n]+=j(r);break;case 4:if(44===r){e[++n]=58===Z()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=E());return e}(R(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var a=[],o=X(t,a),i=n.props,l=0,u=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+F+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~s(e,"stretch")?ne(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~s(e,"!important")&&10))){case 107:return u(e,":",":"+L)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(45===c(e,14)?"inline-":"")+"box$3$1"+L+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return L+e+I+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+I+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+I+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+I+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=ne(e.value,e.length);break;case U:return $([w(e,{value:u(e.value,"@","@"+L)})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $([w(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return $([w(e,{props:[u(t,/:(plac\w+)/,":"+L+"input-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,I+"input-$1")]})],r)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||re;var o,i,l={},u=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(a){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(a)+u;return{name:s,styles:a,next:f}}},225:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7462),a=n(2791),o=n(9797),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,o.Z)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),u=n(2564),s=n(5438),c=n(9140),d=n(2561),f=l,p=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},h=function(e,t,n){var r;if(t){var a=t.shouldForwardProp;r=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,s.hC)(t,n,r),(0,d.L)((function(){return(0,s.My)(t,n,r)})),null},g=function e(t,n){var o,i,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var f=h(t,n,l),p=f||m(d),g=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var k=y.length,x=1;x0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),C=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[200],light:h[50],dark:h[400]}:{main:h[500],light:h[300],dark:h[700]}}(n),P=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[500],light:v[300],dark:v[700]}:{main:v[700],light:v[400],dark:v[800]}}(n),z=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),R=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:k.Z[400],light:k.Z[300],dark:k.Z[700]}:{main:k.Z[800],light:k.Z[500],dark:k.Z[900]}}(n),T=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function j(e){return(0,f.mi)(e,S.text.primary)>=u?S.text.primary:w.text.primary}var M=function(e){var t=e.color,n=e.name,a=e.mainShade,i=void 0===a?500:a,l=e.lightShade,u=void 0===l?300:l,s=e.darkShade,d=void 0===s?700:s;if(!(t=(0,r.Z)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error((0,o.Z)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error((0,o.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return E(t,"light",u,c),E(t,"dark",d,c),t.contrastText||(t.contrastText=j(t.main)),t},O={dark:S,light:w};return(0,i.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:M({color:Z,name:"primary"}),secondary:M({color:C,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:M({color:P,name:"error"}),warning:M({color:T,name:"warning"}),info:M({color:z,name:"info"}),success:M({color:R,name:"success"}),grey:m.Z,contrastThreshold:u,getContrastText:j,augmentColor:M,tonalOffset:c},O[n]),d)}var C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var P={textTransform:"uppercase"},z='"Roboto", "Helvetica", "Arial", sans-serif';function R(e,t){var n="function"===typeof t?t(e):t,o=n.fontFamily,l=void 0===o?z:o,u=n.fontSize,s=void 0===u?14:u,c=n.fontWeightLight,d=void 0===c?300:c,f=n.fontWeightRegular,p=void 0===f?400:f,m=n.fontWeightMedium,h=void 0===m?500:m,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,k=n.allVariants,x=n.pxToRem,w=(0,a.Z)(n,C);var S=s/14,E=x||function(e){return"".concat(e/b*S,"rem")},Z=function(e,t,n,a,o){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:E(t),lineHeight:n},l===z?{letterSpacing:"".concat((i=a/t,Math.round(1e5*i)/1e5),"em")}:{},o,k);var i},R={h1:Z(d,96,1.167,-1.5),h2:Z(d,60,1.2,-.5),h3:Z(p,48,1.167,0),h4:Z(p,34,1.235,.25),h5:Z(p,24,1.334,0),h6:Z(h,20,1.6,.15),subtitle1:Z(p,16,1.75,.15),subtitle2:Z(h,14,1.57,.1),body1:Z(p,16,1.5,.15),body2:Z(p,14,1.43,.15),button:Z(h,14,1.75,.4,P),caption:Z(p,12,1.66,.4),overline:Z(p,12,2.66,1,P),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.Z)((0,r.Z)({htmlFontSize:b,pxToRem:E,fontFamily:l,fontSize:s,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:h,fontWeightBold:g},R),w,{clone:!1})}function T(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var j=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],M=["duration","easing","delay"],O={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},N={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _(e){return"".concat(Math.round(e),"ms")}function A(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function I(e){var t=(0,r.Z)({},O,e.easing),n=(0,r.Z)({},N,e.duration);return(0,r.Z)({getAutoHeightDuration:A,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.duration,i=void 0===o?n.standard:o,l=r.easing,u=void 0===l?t.easeInOut:l,s=r.delay,c=void 0===s?0:s;(0,a.Z)(r,M);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof i?i:_(i)," ").concat(u," ").concat("string"===typeof c?c:_(c))})).join(",")}},e,{easing:t,duration:n})}var F={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},L=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,c=e.palette,f=void 0===c?{}:c,p=e.transitions,m=void 0===p?{}:p,h=e.typography,v=void 0===h?{}:h,g=(0,a.Z)(e,L);if(e.vars)throw new Error((0,o.Z)(18));var y=Z(f),b=(0,l.Z)(e),k=(0,i.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:j.slice(),typography:R(y,v),transitions:I(m),zIndex:(0,r.Z)({},F)});k=(0,i.Z)(k,g);for(var x=arguments.length,w=new Array(x>1?x-1:0),S=1;S1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,a=arguments.length,o=new Array(a),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function l(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e){var t,n=e.values,r=e.breakpoints,a=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var a,i=e.substring(t+1,e.length-1);if("color"===n){if(a=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,r.Z)(10,a))}else i=i.split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)})),colorSpace:a}}function i(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=o(e)).type||"hsla"===e.type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,l=r*Math.min(a,1-a),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-l*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",c=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),i({type:s,values:c})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e,t){return e=o(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,i(e)}function c(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return i(e)}function d(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return i(e)}},4046:function(e,t,n){"use strict";n.d(t,{ZP:function(){return w},x9:function(){return y}});var r=n(3433),a=n(9439),o=n(3366),i=n(7462),l=n(5917),u=n(5080),s=n(1122),c=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,o.Z)(e,c),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,s.Z)(e[t]):"".concat(d(r)?t:(0,s.Z)(t)).concat((0,s.Z)(e[t].toString()))})),r}var p=n(104),m=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];var h=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},v=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},g=function(e,t,n,r){var a,o=e.ownerState,i=void 0===o?{}:o,l=[],u=null==n||null==(a=n.components)||null==(a=a[r])?void 0:a.variants;return u&&u.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){i[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&l.push(t[f(n.props)])})),l};function y(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var b=(0,u.Z)(),k=function(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e};function x(e){var t,n=e.defaultTheme,r=e.theme,a=e.themeId;return t=r,0===Object.keys(t).length?n:r[a]||r}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,u=void 0===n?b:n,s=e.rootShouldForwardProp,c=void 0===s?y:s,d=e.slotShouldForwardProp,f=void 0===d?y:d,w=function(e){return(0,p.Z)((0,i.Z)({},e,{theme:x((0,i.Z)({},e,{defaultTheme:u,themeId:t}))}))};return w.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var s,d=n.name,p=n.slot,b=n.skipVariantsResolver,S=n.skipSx,E=n.overridesResolver,Z=void 0===E?(s=k(p))?function(e,t){return t[s]}:null:E,C=(0,o.Z)(n,m),P=void 0!==b?b:p&&"Root"!==p&&"root"!==p||!1,z=S||!1;var R=y;"Root"===p||"root"===p?R=c:p?R=f:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(R=void 0);var T=(0,l.ZP)(e,(0,i.Z)({shouldForwardProp:R,label:undefined},C)),j=function(n){for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;s0){var m=new Array(p).fill("");(f=[].concat((0,r.Z)(n),(0,r.Z)(m))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(m))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n((0,i.Z)({},e,{theme:x((0,i.Z)({},e,{defaultTheme:u,themeId:t}))}))});var y=T.apply(void 0,[f].concat((0,r.Z)(c)));return e.muiName&&(y.muiName=e.muiName),y};return T.withConfig&&(j.withConfig=T.withConfig),j}}},5080:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(7462),a=n(3366),o=n(2466),i=n(4942),l=["values","unit","step"],u=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,i.Z)({},t.key,t.val))}),{})};var s={borderRadius:4},c=n(5682);var d=n(104),f=n(7416),p=["breakpoints","palette","spacing","shape"];var m=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,i=e.palette,m=void 0===i?{}:i,h=e.spacing,v=e.shape,g=void 0===v?{}:v,y=(0,a.Z)(e,p),b=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,o=e.unit,i=void 0===o?"px":o,s=e.step,c=void 0===s?5:s,d=(0,a.Z)(e,l),f=u(n),p=Object.keys(f);function m(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-c/100).concat(i,")")}function v(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-c/100).concat(i,")")}return(0,r.Z)({keys:p,values:f,up:m,down:h,between:v,only:function(e){return p.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r1?w-1:0),E=1;E2){if(!s[e])return[e];e=s[e]}var t=e.split(""),n=(0,r.Z)(t,2),a=n[0],o=n[1],i=l[a],c=u[o]||"";return Array.isArray(c)?c.map((function(e){return i+e})):[i+c]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function m(e,t,n,r){var a,i=null!=(a=(0,o.DW)(e,t,!1))?a:n;return"number"===typeof i?function(e){return"string"===typeof e?e:i*e}:Array.isArray(i)?function(e){return"string"===typeof e?e:i[e]}:"function"===typeof i?i:function(){}}function h(e){return m(e,"spacing",8)}function v(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var o=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=v(t,n),e}),{})}}(c(n),r),i=e[n];return(0,a.k9)(e,i,o)}function y(e,t){var n=h(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(i.Z,{})}function b(e){return y(e,d)}function k(e){return y(e,f)}function x(e){return y(e,p)}b.propTypes={},b.filterProps=d,k.propTypes={},k.filterProps=f,x.propTypes={},x.filterProps=p;var w=x},8529:function(e,t,n){"use strict";n.d(t,{DW:function(){return i},Jq:function(){return l}});var r=n(4942),a=n(1122),o=n(1184);function i(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||a:i(e,n)||a,t&&(r=t(r,a,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,u=void 0===n?e.prop:n,s=e.themeKey,c=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=i(e.theme,s)||{};return(0,o.k9)(e,n,(function(e){var n=l(d,c,e);return e===n&&"string"===typeof e&&(n=l(d,c,"".concat(t).concat("default"===e?"":(0,a.Z)(e)),e)),!1===u?n:(0,r.Z)({},u,n)}))};return d.propTypes={},d.filterProps=[t],d}},7416:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(5682),a=n(8529),o=n(8247);var i=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:o;return(0,a.Z)(e)}},7078:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5735);var a=n(418);function o(e){var t=e.props,n=e.name,o=e.defaultTheme,i=e.themeId,l=(0,a.Z)(o);i&&(l=l[i]||l);var u=function(e){var t=e.theme,n=e.name,a=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,a):a}({theme:l,name:n,props:t});return u}},9120:function(e,t,n){"use strict";var r=n(2791),a=n(2564);t.Z=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=r.useContext(a.T);return n&&(e=n,0!==Object.keys(e).length)?n:t}},5902:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},1122:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(6189);function a(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},4419:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(a){r[a]=e[a].reduce((function(e,r){if(r){var a=t(r);""!==a&&e.push(a),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},8949:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return a(e)&&a(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(a(t[r])&&r in e&&a(e[r])?l[r]=i(e[r],t[r],n):n.clone?l[r]=a(t[r])?o(t[r]):t[r]:l[r]=t[r])})),l}},6189:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n2&&void 0!==arguments[2]?arguments[2]:"Mui",o=a[t];return o?"".concat(n,"-").concat(o):"".concat(r.Z.generate(e),"-").concat(t)}},5878:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(1217);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",a={};return t.forEach((function(t){a[t]=(0,r.Z)(e,t,n)})),a}},4913:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},5202:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4913);function a(e){return(0,r.Z)(e).defaultView||window}},5735:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7462);function a(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(o){if(o.toString().match(/^(components|slots)$/))n[o]=(0,r.Z)({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){var i=e[o]||{},l=t[o];n[o]={},l&&Object.keys(l)?i&&Object.keys(i)?(n[o]=(0,r.Z)({},l),Object.keys(i).forEach((function(e){n[o][e]=a(i[e],l[e])}))):n[o]=l:n[o]=i}else void 0===n[o]&&(n[o]=e[o])})),n}},2971:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},2876:function(e,t,n){"use strict";var r=n(2791),a="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=a},7054:function(e,t,n){"use strict";var r=n(2791),a=n(2876);t.Z=function(e){var t=r.useRef(e);return(0,a.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},6117:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2791),a=n(2971);function o(){for(var e=arguments.length,t=new Array(e),n=0;nt}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(m,e)||!d.call(p,e)&&(f.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function _(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var A,I=Object.assign;function F(e){if(void 0===A)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var L=!1;function D(e,t){if(!e||L)return"";L=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var a=s.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}}while(1<=i&&0<=l);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=D(e.type,!1);case 11:return e=D(e.type.render,!1);case 1:return e=D(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case w:return"Portal";case Z:return"Profiler";case E:return"StrictMode";case R:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case z:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=V(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=$(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,Ee=null;function Ze(e){if(e=ba(e)){if("function"!==typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=xa(t),we(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ze(e),t)for(e=0;e>>=0,0===e?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2;var st=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<=_n),Fn=String.fromCharCode(32),Ln=!1;function Dn(e,t){switch(e){case"keyup":return-1!==On.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Vn(e,t,n,r){Ce(r),0<(t=Hr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Kn=null;function qn(e){Fr(e,0)}function Gn(e){if(K(ka(e)))return e}function Qn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Xn=Jn}else Xn=!1;Yn=Xn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=document.documentMode,vr=null,gr=null,yr=null,br=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==q(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&ur(yr,r)||(yr=r,0<(r=Hr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Zr(e){if(Sr[e])return Sr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var Cr=Zr("animationend"),Pr=Zr("animationiteration"),zr=Zr("animationstart"),Rr=Zr("transitionend"),Tr=new Map,jr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Tr.set(e,t),u(t,[e])}for(var Or=0;OrSa||(e.current=wa[Sa],wa[Sa]=null,Sa--)}function Ca(e,t){Sa++,wa[Sa]=e.current,e.current=t}var Pa={},za=Ea(Pa),Ra=Ea(!1),Ta=Pa;function ja(e,t){var n=e.type.contextTypes;if(!n)return Pa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ma(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Oa(){Za(Ra),Za(za)}function Na(e,t,n){if(za.current!==Pa)throw Error(o(168));Ca(za,t),Ca(Ra,n)}function _a(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,U(e)||"Unknown",a));return I({},n,r)}function Aa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pa,Ta=za.current,Ca(za,e),Ca(Ra,Ra.current),!0}function Ia(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=_a(e,t,Ta),r.__reactInternalMemoizedMergedChildContext=e,Za(Ra),Za(za),Ca(za,e)):Za(Ra),Ca(Ra,n)}var Fa=null,La=!1,Da=!1;function Ba(e){null===Fa?Fa=[e]:Fa.push(e)}function Wa(){if(!Da&&null!==Fa){Da=!0;var e=0,t=bt;try{var n=Fa;for(bt=1;e>=i,a-=i,Qa=1<<32-it(t)+a|n<h?(v=d,d=null):v=d.sibling;var g=p(a,d,l[h],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(a,d),o=i(g,o,h),null===c?s=g:c.sibling=g,c=g,d=v}if(h===l.length)return n(a,d),ao&&Xa(a,h),s;if(null===d){for(;hv?(g=h,h=null):g=h.sibling;var b=p(a,h,y.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(a,h),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,h=g}if(y.done)return n(a,h),ao&&Xa(a,v),c;if(null===h){for(;!y.done;v++,y=u.next())null!==(y=f(a,y.value,s))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return ao&&Xa(a,v),c}for(h=r(a,h);!y.done;v++,y=u.next())null!==(y=m(h,a,v,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&h.forEach((function(e){return t(a,e)})),ao&&Xa(a,v),c}return function e(r,o,i,u){if("object"===typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var s=i.key,c=o;null!==c;){if(c.key===s){if((s=i.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===M&&Go(s)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=Ko(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((o=As(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=_s(i.type,i.key,i.props,null,r.mode,u)).ref=Ko(r,o,i),u.return=r,r=u)}return l(r);case w:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Ls(i,r.mode,u)).return=r,r=o}return l(r);case M:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return h(r,o,i,u);if(_(i))return v(r,o,i,u);qo(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Fs(i,r.mode,u)).return=r,r=o),l(r)):n(r,o)}}var Yo=Qo(!0),Xo=Qo(!1),Jo={},ei=Ea(Jo),ti=Ea(Jo),ni=Ea(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Za(ei),Ca(ei,t)}function oi(){Za(ei),Za(ti),Za(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function li(e){ti.current===e&&(Za(ei),Za(ti))}var ui=Ea(0);function si(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;en?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{bt=n,pi.transition=r}}function el(){return Pi().memoizedState}function tl(e,t,n){var r=ns(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Ro(e,t,n,r))){rs(n,e,r,ts()),ol(n,t,r)}}function nl(e,t,n){var r=ns(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var u=t.interleaved;return null===u?(a.next=a,zo(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=Ro(e,t,a,r))&&(rs(n,e,r,a=ts()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function al(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:Co,useCallback:wi,useContext:wi,useEffect:wi,useImperativeHandle:wi,useInsertionEffect:wi,useLayoutEffect:wi,useMemo:wi,useReducer:wi,useRef:wi,useState:wi,useDebugValue:wi,useDeferredValue:wi,useTransition:wi,useMutableSource:wi,useSyncExternalStore:wi,useId:wi,unstable_isNewReconciler:!1},ll={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bi(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Fi,useDebugValue:Gi,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=hi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Tu)throw Error(o(349));0!==(30&mi)||Oi(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ui(_i.bind(null,r,i,e),[e]),r.flags|=2048,Li(9,Ni.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=Tu.identifierPrefix;if(ao){var n=Ya;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=ki++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Co,useCallback:Qi,useContext:Co,useEffect:$i,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Hi,useMemo:Yi,useReducer:Ri,useRef:Di,useState:function(){return Ri(zi)},useDebugValue:Gi,useDeferredValue:function(e){return Xi(Pi(),vi.memoizedState,e)},useTransition:function(){return[Ri(zi)[0],Pi().memoizedState]},useMutableSource:ji,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1},sl={readContext:Co,useCallback:Qi,useContext:Co,useEffect:$i,useImperativeHandle:qi,useInsertionEffect:Vi,useLayoutEffect:Hi,useMemo:Yi,useReducer:Ti,useRef:Di,useState:function(){return Ti(zi)},useDebugValue:Gi,useDeferredValue:function(e){var t=Pi();return null===vi?t.memoizedState=e:Xi(t,vi.memoizedState,e)},useTransition:function(){return[Ti(zi)[0],Pi().memoizedState]},useMutableSource:ji,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pl="function"===typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=No(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vu||(Vu=!0,Hu=r),fl(0,t)},n}function hl(e,t,n){(n=No(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!==typeof r&&(null===Ku?Ku=new Set([this]):Ku.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cs.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=No(-1,1)).tag=2,_o(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=k.ReactCurrentOwner,kl=!1;function xl(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Yo(t,e.child,n,r)}function wl(e,t,n,r,a){n=n.render;var o=t.ref;return Zo(t,a),r=Ei(e,t,n,r,o,a),n=Zi(),null===e||kl?(ao&&n&&eo(t),t.flags|=1,xl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Sl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||Os(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=_s(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,El(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return Vl(e,t,a)}return t.flags|=1,(e=Ns(o,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(kl=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Vl(e,t,a);0!==(131072&e.flags)&&(kl=!0)}}return Pl(e,t,n,r,a)}function Zl(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Nu,Ou),Ou|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Nu,Ou),Ou|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Nu,Ou),Ou|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Nu,Ou),Ou|=r;return xl(e,t,a,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,a){var o=Ma(n)?Ta:za.current;return o=ja(t,o),Zo(t,a),n=Ei(e,t,n,r,o,a),r=Zi(),null===e||kl?(ao&&r&&eo(t),t.flags|=1,xl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function zl(e,t,n,r,a){if(Ma(n)){var o=!0;Aa(t)}else o=!1;if(Zo(t,a),null===t.stateNode)$l(e,t),$o(t,n,r),Ho(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;"object"===typeof s&&null!==s?s=Co(s):s=ja(t,s=Ma(n)?Ta:za.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||u!==s)&&Vo(t,i,r,s),jo=!1;var f=t.memoizedState;i.state=f,Fo(t,r,i,a),u=t.memoizedState,l!==r||f!==u||Ra.current||jo?("function"===typeof c&&(Bo(t,n,c,r),u=t.memoizedState),(l=jo||Uo(t,n,l,r,f,u,s))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Oo(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:go(t.type,l),i.props=s,d=t.pendingProps,f=i.context,"object"===typeof(u=n.contextType)&&null!==u?u=Co(u):u=ja(t,u=Ma(n)?Ta:za.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==d||f!==u)&&Vo(t,i,r,u),jo=!1,f=t.memoizedState,i.state=f,Fo(t,r,i,a);var m=t.memoizedState;l!==d||f!==m||Ra.current||jo?("function"===typeof p&&(Bo(t,n,p,r),m=t.memoizedState),(s=jo||Uo(t,n,s,r,f,m,u)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Rl(e,t,n,r,o,a)}function Rl(e,t,n,r,a,o){Cl(e,t);var i=0!==(128&t.flags);if(!r&&!i)return a&&Ia(t,n,!1),Vl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,l,o)):xl(e,t,l,o),t.memoizedState=r.state,a&&Ia(t,n,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?Na(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Na(0,t.context,!1),ai(e,t.containerInfo)}function jl(e,t,n,r,a){return mo(),ho(a),t.flags|=256,xl(e,t,n,r),t.child}var Ml,Ol,Nl,_l,Al={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,a=t.pendingProps,i=ui.current,l=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(ui,1&i),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,l?(a=t.mode,l=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=Is(u,a,0,null),e=As(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(n),t.memoizedState=Al,e):Ll(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Dl(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Is({mode:"visible",children:r.children},a,0,null),(i=As(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Yo(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Al,i);if(0===(1&t.mode))return Dl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Dl(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(u=0!==(l&e.childLanes),kl||u){if(null!==(r=Tu)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,To(e,a),rs(r,e,a,-1))}return vs(),Dl(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=zs.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=sa(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ka[qa++]=Qa,Ka[qa++]=Ya,Ka[qa++]=Ga,Qa=e.id,Ya=e.overflow,Ga=t),t=Ll(t,r.children),t.flags|=4096,t)}(e,t,u,a,r,i,n);if(l){l=a.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Ns(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Ns(r,l):(l=As(l,u,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,u=null===(u=e.child.memoizedState)?Il(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Al,a}return e=(l=e.child).sibling,a=Ns(l,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Ll(e,t){return(t=Is({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Dl(e,t,n,r){return null!==r&&ho(r),Yo(t,e.child,null,n),(e=Ll(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Wl(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Ul(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(xl(e,t,r.children,n),0!==(2&(r=ui.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(ui,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===si(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Wl(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===si(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Wl(t,!0,n,null,o);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $l(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Iu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ns(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ns(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Hl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return Ma(t.type)&&Oa(),Kl(t),null;case 3:return r=t.stateNode,oi(),Za(Ra),Za(za),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(ls(oo),oo=null))),Ol(e,t),Kl(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Nl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Kl(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=0!==(1&t.mode),n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(a=0;a<_r.length;a++)Lr(_r[a],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":Q(r,i),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Lr("invalid",r);break;case"textarea":ae(r,i),Lr("invalid",r)}for(var u in ye(n,i),a=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Lr("scroll",r)}switch(n){case"input":H(r),J(r,i,!0);break;case"textarea":H(r),ie(r);break;case"select":case"option":break;default:"function"===typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="