export const SERVER_URI_NJ = "http://localhost:5031/api"
// export const SERVER_URI_PY = 'http://localhost:8000';
// export const SERVER_URI = 'http://77.87.213.246:5031/api';

export const USER_DATA_STORAGE = "dataUser"
export const CONSTANTS_STORAGE = "dataConstants"
export const REPORTS_STORAGE = "dataReports"
export const DETAILS_STORAGE = "filterDetails"
export const COOKIE_ACTIVE_HOURS = 12 // количество часов актуальности LS
export const DELAY_MODAL_ALERT = 3000 // отсрочка закрытия окна #modal-alert
export const PATTERN_EMAIL = /^[-\w.]+@([A-z0-9][-A-z0-9]+\.)+[A-z]{2,4}$/
export const PATTERN_PASS = /(?=^.{6,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/

const ICON_URL = "https://www.skart-info.ru/myProjects/img-p2p-trading/"
// const ICON_URL = "icons/"
export const EXCHANGE_ICON_URL = `${ICON_URL}exchangeIcons/`
export const CURRENCY_ICON_URL = `${ICON_URL}currencyIcons/`
export const PAY_ICON_URL = `${ICON_URL}payTypeIcons/`

export const STYLES = {
	WARNING: "warning",
	SUCCESS: "success",
	ERROR: "error",
}
export const CONSTANTS = {
	FEEDBACK_EMAIL: "Please enter your email (min 4 symbols)",
	FEEDBACK_PASS:
		"Please enter a password (min 6 symbols - lowercase/uppercase only latin letters and numbers)",
	PASS_NOT_COINCIDE: "Passwords are not coincide",
	EMAIL_EMPTY: "Email can not be empty",
	FIELDS_FULL: "All fields must be full",
	ERROR_TEXT: "no items to render",
	ERROR_REQUEST: "Error request: ",
	ERROR_ADV_P2P: "tradeType or asset are incorrect",
	ERROR_USER_STATUS: "This user have not a merchant status",
	TEXTAREA_EMPTY: "TextArea cannot to be empty",
	COOKIE_EMPTY: "Cookies are empty",
	COOKIE_INVALID: "Cookie is not valid",
	API_KEYS_EMPTY: "ApiKey field cannot to be empty",
	LIMIT_PAYTYPES: "payTypeList can not be more 5 items",
	DEMO_LOGIN: "test@test.test",
	DEMO_PASS: "Test123",
	DATE_CONDITIONS_1: "DateStart and DateEnd cannot be epmty",
	DATE_CONDITIONS_2: "DateStart cannot be more or equal DateEnd",
	OTC_ORDER_STATUSES: [
		{
			status: "AllStatus",
			colorStatus: "",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f15", prefix: "BZ", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f16", prefix: "GX", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "all" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "all" },
				{ exId: "6347c4eb4bb0290fc8aad999", prefix: "KC", value: "all" },
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "all" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "all" },
			],
		},
		{
			status: "Created",
			colorStatus: "",
			values: [
				{
					exId: "63039ac2956b2f07f0e56f15",
					prefix: "BZ",
					value: "trade_created",
				},
				{ exId: "63039ac2956b2f07f0e56f16", prefix: "GX", value: "waiting" },
			],
		},
		{
			status: "Unpaid",
			colorStatus: "warning",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "1" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "0" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "2" },
				{
					exId: "63039ac2956b2f07f0e56f15",
					prefix: "BZ",
					value: "confirm_trade",
				},
				{ exId: "63039ac2956b2f07f0e56f16", prefix: "GX", value: "pending" },
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "10" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "1" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "3" },
				{ exId: "6347c4eb4bb0290fc8aad999", prefix: "KC", value: "CREATED" },
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "UNPAID" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
		{
			status: "Paid",
			colorStatus: "info",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "2" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "1" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "1" },
				{ exId: "63039ac2956b2f07f0e56f15", prefix: "BZ", value: "payment" },
				{ exId: "63039ac2956b2f07f0e56f16", prefix: "GX", value: "paid" },
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "20" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "2" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "1" },
				{
					exId: "6347c4eb4bb0290fc8aad999",
					prefix: "KC",
					value: "PAYED_MONEY",
				},
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "PAID" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
		{
			status: "Completed",
			colorStatus: "success",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "4" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "3" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "4" },
				{
					exId: "63039ac2956b2f07f0e56f15",
					prefix: "BZ",
					value: "confirm_payment",
				},
				{
					exId: "63039ac2956b2f07f0e56f16",
					prefix: "GX",
					value: "completed",
				},
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "50" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "4" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "4" },
				{ exId: "6347c4eb4bb0290fc8aad999", prefix: "KC", value: "DONE" },
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "Done" }, // ACCEPT
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
		{
			status: "Appealing",
			colorStatus: "danger",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "5" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "4" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "5" },
				{ exId: "63039ac2956b2f07f0e56f15", prefix: "BZ", value: "dispute" },
				{
					exId: "63039ac2956b2f07f0e56f16",
					prefix: "GX",
					value: "arbitration",
				},
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "30" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "5" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "2" },
				{ exId: "6347c4eb4bb0290fc8aad999", prefix: "KC", value: "APPEALING" },
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
		{
			status: "Cancelled",
			colorStatus: "",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "6" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "2" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "3" },
				{ exId: "63039ac2956b2f07f0e56f15", prefix: "BZ", value: "cancel" },
				{
					exId: "63039ac2956b2f07f0e56f16",
					prefix: "GX",
					value: "canceled",
				},
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "40" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "6" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "5" },
				{
					exId: "6347c4eb4bb0290fc8aad999",
					prefix: "KC",
					value: "Canceled", // CANCELED, SCLOSED, BCLOSED
				},
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "CANCEL" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
		{
			status: "Expired",
			colorStatus: "primary",
			values: [
				{ exId: "63039ac2956b2f07f0e56f12", prefix: "BN", value: "7" },
				{ exId: "63039ac2956b2f07f0e56f13", prefix: "HB", value: "7" },
				{ exId: "63039ac2956b2f07f0e56f14", prefix: "KX", value: "6" },
				{ exId: "63039ac2956b2f07f0e56f15", prefix: "BZ", value: "7" },
				{ exId: "63039ac2956b2f07f0e56f16", prefix: "GX", value: "expired" },
				{ exId: "63039ac2956b2f07f0e56f17", prefix: "BT", value: "7" },
				{ exId: "63039ac2956b2f07f0e56f18", prefix: "PX", value: "7" },
				{ exId: "63039ac2956b2f07f0e56f1c", prefix: "MG", value: "8" },
				{ exId: "6347c4eb4bb0290fc8aad999", prefix: "KC", value: "" },
				{ exId: "6347ce90a9ed1524b01d170f", prefix: "GT", value: "" },
				{ exId: "6347ced7a9ed1524b01d1710", prefix: "AX", value: "" },
			],
		},
	],
	ADVS_ACTIVE_STATUS: [
		{ status: "AllStatus", value: "all" },
		{ status: "Published", value: "1" },
		{ status: "Offline", value: "3" },
	],
	QUANTITY_PAGES: ["20", "40", "60", "80"],
	ARRAY_EXCHANGES: [
		{
			id: "63039ac2956b2f07f0e56f12",
			shortName: "BN",
			nameStorage: "requestHeaderBN",
			name: "Binance",
			logo: `${CURRENCY_ICON_URL}p2p-binance-dark.png`,
			bg: "bg/bg-binance.jpg",
			status: 1,
			merchantDetail:
				"https://p2p.binance.com/en/advertiserDetail?advertiserNo=",
			orderDetail: "https://c2c.binance.com/en/fiatOrderDetail?orderNo=",
			advDetail: "https://c2c.binance.com/en/advEdit?code=",
			spotTrade: "https://www.binance.com/en/trade/",
		},
	],
	ARRAY_SUB_ACCOUNTS: [
		{ payTypeId: "", subAccount: "T01", remarkTooltip: "KAV" },
		{ payTypeId: "", subAccount: "T02", remarkTooltip: "KNP" },
		{ payTypeId: "", subAccount: "T03", remarkTooltip: "KIV" },
		{ payTypeId: "", subAccount: "T04", remarkTooltip: "KAI" },
		{ payTypeId: "", subAccount: "Q11", remarkTooltip: "***1109 KAV" },
		{ payTypeId: "", subAccount: "Q12", remarkTooltip: "***5381 KAV" },
		{ payTypeId: "", subAccount: "Q13", remarkTooltip: "***5313 KAV" },
		{ payTypeId: "", subAccount: "Q14", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "Q15", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "Q21", remarkTooltip: "***1119 KNP" },
		{ payTypeId: "", subAccount: "Q31", remarkTooltip: "***4476 KIV" },
		{ payTypeId: "", subAccount: "AD1", remarkTooltip: "AdvCash_KAV" },
		{ payTypeId: "", subAccount: "AT1", remarkTooltip: "AirTM_KAV" },
		{ payTypeId: "", subAccount: "Y01", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "Y02", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "Y03", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "V02", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "V03", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "A02", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "A03", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "S01", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "S02", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "M01", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "MK1", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "MK2", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "PY1", remarkTooltip: "Payeer_KAV" },
		{ payTypeId: "", subAccount: "PM1", remarkTooltip: "PerfectMoney_KAV" },
		{ payTypeId: "", subAccount: "R01", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "R03", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "O02", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "RS1", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "P01", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "RH1", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "MG1", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "ZN1", remarkTooltip: "" }, // Ozon KAV
		{ payTypeId: "", subAccount: "ZN2", remarkTooltip: "" }, // Ozon KNP
		{ payTypeId: "", subAccount: "RSB", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "PSB", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "RNS", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "BNF1", remarkTooltip: "" },
		{ payTypeId: "", subAccount: "INR", remarkTooltip: "KAV <=> KNP" }, // inner transfer KAV <=> KNP
		{ payTypeId: "", subAccount: "KGS", remarkTooltip: "" }, // Kyrgystan Banks KAV
		{ payTypeId: "", subAccount: "KZT", remarkTooltip: "" }, // Kazahstan Banks KAV
		{ payTypeId: "", subAccount: "TRY", remarkTooltip: "" }, // Turkie Banks KAV
	],
	ASSETS_ON_WALLETS: [
		// W3: TrustWallet
		// { asset: "TON", volume: "19.994179" }, // upd 01.08.2024
		// { asset: "LTC", volume: "8.937152" }, // upd 11.12.2023
		// { asset: "USDD", volume: "333.15" }, // upd 01.04.2024
		{ asset: "USDT", volume: "20205.00" }, // upd 01.02.2025
		// { asset: "USDT", volume: "5600.00" }, // upd 01.01.2025
		// { asset: "USDT", volume: "9235.00" }, // upd 01.12.2024
		// { asset: "USDT", volume: "6900.00" }, // upd 01.11.2024
		// { asset: "USDT", volume: "2197.28" }, // upd 01.10.2024
		// { asset: "USDT", volume: "829.00" }, // upd 01.09.2024
		// { asset: "USDT", volume: "7135.00" }, // upd 01.08.2024
		// { asset: "USDT", volume: "7278.00" }, // upd 01.07.2024
		// { asset: "USDT", volume: "5776.00" }, // upd 01.06.2024
		// { asset: "USDT", volume: "6000.00" }, // upd 01.04.2024
		// { asset: "USDT", volume: "6215.00" }, // upd 01.03.2024
		// { asset: "USDT", volume: "4140.00" }, // upd 01.02.2024
		// { asset: "USDС", volume: "345.12" }, // upd 01.09.2024
		// { asset: "USDС", volume: "845.00" }, // upd 01.08.2024
		// { asset: "USDС", volume: "145.00" }, // upd 01.07.2024
		// { asset: "USDС", volume: "445.00" }, // upd 01.06.2024
		// { asset: "USDС", volume: "460.00" }, // upd 01.03.2024
		// { asset: "USDС", volume: "106.00" }, // upd 01.04.2024
		// { asset: "USDС", volume: "106.00" }, // upd 01.02.2024
		{ asset: "TRX", volume: "2264.69" }, // upd 01.02.2025
		// { asset: "TRX", volume: "14.69" }, // upd 01.10.2024
		// { asset: "TRX", volume: "26.94" }, // upd 01.09.2024
		// { asset: "TRX", volume: "1322.40" }, // upd 01.02.2024
		{ asset: "BNB", volume: "0.388567" }, // upd 01.12.2024
		// { asset: "BNB", volume: "0.30711" }, // upd 01.10.2024
		// { asset: "BNB", volume: "0.30794" }, // upd 01.09.2024
		// { asset: "BNB", volume: "0.308788" }, // upd 01.08.2024
		// { asset: "BNB", volume: "0.098846" }, // upd 01.07.2024
		// { asset: "BNB", volume: "0.213652" }, // upd 04.01.2024
		{ asset: "ETH", volume: "0.004000" }, // upd 01.02.2025
		// { asset: "ETH", volume: "0.200000" }, // upd 01.12.2024
		// { asset: "ETH", volume: "0.200000" }, // upd 01.11.2024
		// { asset: "ETH", volume: "0.627656" }, // upd 01.10.2024
		// { asset: "ETH", volume: "1.04565" }, // upd 01.09.2024
		// { asset: "ETH", volume: "0.3" }, // upd 01.08.2024
		// { asset: "ETH", volume: "0.00637" }, // upd 01.07.2024
		// { asset: "ETH", volume: "0.010611" }, // upd 04.01.2024
		{ asset: "BTC", volume: "0.000025" }, // upd 01.02.2025
		// { asset: "BTC", volume: "0.004325" }, // upd 01.01.2025
		// { asset: "BTC", volume: "0.040000" }, // upd 01.11.2024
		// { asset: "BTC", volume: "0.057498" }, // upd 01.10.2024
		// { asset: "BTC", volume: "0.067432" }, // upd 01.09.2024
		// { asset: "BTC", volume: "0.05" }, // upd 01.08.2024
		// { asset: "BTC", volume: "0.032704" }, // upd 01.07.2024
		// { asset: "BTC", volume: "0.005544" }, // upd 01.06.2024
		// { asset: "BTC", volume: "0.04" }, // upd 01.04.2024
		// { asset: "BTC", volume: "0.015" }, // upd 01.03.2024
		// TrezorWallet + TrustWallet
		// { asset: "BTC", volume: "0.0000006" }, // upd 08.03.2024
		// { asset: "BTC", volume: "0.09994336" }, // upd 01.03.2024
		// { asset: "BTC", volume: "0.344215" }, // upd 01.02.2024
		// { asset: "BTC", volume: "0.1135081" }, // TrustWallet
		// { asset: "BTC", volume: "0.2307070" }, // TrezorWallet
		// KaspaWallet
		{ asset: "KAS", volume: "158932" }, // upd 01.01.2025
		// { asset: "KAS", volume: "91130" }, // upd 01.09.2024
		// { asset: "KAS", volume: "50037" }, // upd 01.07.2024
		// { asset: "KAS", volume: "91437" }, // upd 01.06.2024
		// { asset: "KAS", volume: "75456" }, // upd 01.04.2024
		// { asset: "KAS", volume: "6774" }, // upd 01.03.2024
		// { asset: "KAS", volume: "109059" }, // upd 01.02.2024
		// { asset: "TRX", volume: "891.40" }, // upd 04.01.2024
		// { asset: "KAS", volume: "79319" }, // upd 04.01.2024
		// { asset: "USDD", volume: "106.15" }, // upd 19.12.2023
		// { asset: "KAS", volume: "51853" }, // upd 11.12.2023
		// { asset: "KAS", volume: "31376" }, // upd 28.11.2023
		// { asset: "BTC", volume: "0.2307871" }, // upd 01.11.2023
		// { asset: "KAS", volume: "91499" }, // upd 11.10.2023
		// { asset: "KAS", volume: "69354" }, // upd 04.10.2023
		// { asset: "BTC", volume: "0.4887818" }, // upd 01.10.2023
		// { asset: "BTC", volume: "0.3554148" }, // upd 31.07.2023
		// { asset: "BTC", volume: "0.4054148" }, // upd 30.06.2023
		// { asset: "KAS", volume: "49000" }, // upd 30.06.2023
		// { asset: "BTC", volume: "0.4954148" }, // upd 31.05.2023
		// { asset: "ETH", volume: "0.0000086" }, // upd 31.03.2023
	],
}
