From 76bf1564f2d17b3290788bc9153cad2e0adaab45 Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 12:38:56 +0200 Subject: [PATCH 01/10] cart, productlist jsx --- package-lock.json | 424 ++++++++++++++++++++++++-------------------- src/CartSlice.jsx | 14 +- src/ProductList.jsx | 30 +++- src/main.jsx | 1 + 4 files changed, 275 insertions(+), 194 deletions(-) diff --git a/package-lock.json b/package-lock.json index af7843d84..79fe76864 100644 --- a/package-lock.json +++ b/package-lock.json @@ -376,9 +376,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", - "integrity": "sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", "cpu": [ "ppc64" ], @@ -392,9 +392,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.20.2.tgz", - "integrity": "sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", "cpu": [ "arm" ], @@ -408,9 +408,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.20.2.tgz", - "integrity": "sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", "cpu": [ "arm64" ], @@ -424,9 +424,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.20.2.tgz", - "integrity": "sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", "cpu": [ "x64" ], @@ -440,9 +440,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.20.2.tgz", - "integrity": "sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", "cpu": [ "arm64" ], @@ -456,9 +456,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.20.2.tgz", - "integrity": "sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "cpu": [ "x64" ], @@ -472,9 +472,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.20.2.tgz", - "integrity": "sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", "cpu": [ "arm64" ], @@ -488,9 +488,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.20.2.tgz", - "integrity": "sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", "cpu": [ "x64" ], @@ -504,9 +504,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.20.2.tgz", - "integrity": "sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", "cpu": [ "arm" ], @@ -520,9 +520,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.20.2.tgz", - "integrity": "sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", "cpu": [ "arm64" ], @@ -536,9 +536,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.20.2.tgz", - "integrity": "sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", "cpu": [ "ia32" ], @@ -552,9 +552,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.20.2.tgz", - "integrity": "sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "cpu": [ "loong64" ], @@ -568,9 +568,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.20.2.tgz", - "integrity": "sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", "cpu": [ "mips64el" ], @@ -584,9 +584,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.20.2.tgz", - "integrity": "sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", "cpu": [ "ppc64" ], @@ -600,9 +600,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.20.2.tgz", - "integrity": "sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", "cpu": [ "riscv64" ], @@ -616,9 +616,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.20.2.tgz", - "integrity": "sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", "cpu": [ "s390x" ], @@ -632,9 +632,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.20.2.tgz", - "integrity": "sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "cpu": [ "x64" ], @@ -648,9 +648,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.20.2.tgz", - "integrity": "sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", "cpu": [ "x64" ], @@ -664,9 +664,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.20.2.tgz", - "integrity": "sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", "cpu": [ "x64" ], @@ -680,9 +680,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.20.2.tgz", - "integrity": "sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", "cpu": [ "x64" ], @@ -696,9 +696,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.20.2.tgz", - "integrity": "sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", "cpu": [ "arm64" ], @@ -712,9 +712,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.20.2.tgz", - "integrity": "sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", "cpu": [ "ia32" ], @@ -728,9 +728,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.20.2.tgz", - "integrity": "sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "cpu": [ "x64" ], @@ -954,9 +954,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.16.4.tgz", - "integrity": "sha512-GkhjAaQ8oUTOKE4g4gsZ0u8K/IHU1+2WQSgS1TwTcYvL+sjbaQjNHFXbOJ6kgqGHIO1DfUhI/Sphi9GkRT9K+Q==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -967,9 +967,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.16.4.tgz", - "integrity": "sha512-Bvm6D+NPbGMQOcxvS1zUl8H7DWlywSXsphAeOnVeiZLQ+0J6Is8T7SrjGTH29KtYkiY9vld8ZnpV3G2EPbom+w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -980,9 +980,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.16.4.tgz", - "integrity": "sha512-i5d64MlnYBO9EkCOGe5vPR/EeDwjnKOGGdd7zKFhU5y8haKhQZTN2DgVtpODDMxUr4t2K90wTUJg7ilgND6bXw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -993,9 +993,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.16.4.tgz", - "integrity": "sha512-WZupV1+CdUYehaZqjaFTClJI72fjJEgTXdf4NbW69I9XyvdmztUExBtcI2yIIU6hJtYvtwS6pkTkHJz+k08mAQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -1005,10 +1005,36 @@ "darwin" ] }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.16.4.tgz", - "integrity": "sha512-ADm/xt86JUnmAfA9mBqFcRp//RVRt1ohGOYF6yL+IFCYqOBNwy5lbEK05xTsEoJq+/tJzg8ICUtS82WinJRuIw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -1019,9 +1045,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.16.4.tgz", - "integrity": "sha512-tJfJaXPiFAG+Jn3cutp7mCs1ePltuAgRqdDZrzb1aeE3TktWWJ+g7xK9SNlaSUFw6IU4QgOxAY4rA+wZUT5Wfg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -1032,9 +1058,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.16.4.tgz", - "integrity": "sha512-7dy1BzQkgYlUTapDTvK997cgi0Orh5Iu7JlZVBy1MBURk7/HSbHkzRnXZa19ozy+wwD8/SlpJnOOckuNZtJR9w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -1045,9 +1071,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.16.4.tgz", - "integrity": "sha512-zsFwdUw5XLD1gQe0aoU2HVceI6NEW7q7m05wA46eUAyrkeNYExObfRFQcvA6zw8lfRc5BHtan3tBpo+kqEOxmg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -1057,10 +1083,23 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.16.4.tgz", - "integrity": "sha512-p8C3NnxXooRdNrdv6dBmRTddEapfESEUflpICDNKXpHvTjRRq1J82CbU5G3XfebIZyI3B0s074JHMWD36qOW6w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -1071,9 +1110,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.16.4.tgz", - "integrity": "sha512-Lh/8ckoar4s4Id2foY7jNgitTOUQczwMWNYi+Mjt0eQ9LKhr6sK477REqQkmy8YHY3Ca3A2JJVdXnfb3Rrwkng==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -1084,9 +1123,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.16.4.tgz", - "integrity": "sha512-1xwwn9ZCQYuqGmulGsTZoKrrn0z2fAur2ujE60QgyDpHmBbXbxLaQiEvzJWDrscRq43c8DnuHx3QorhMTZgisQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -1097,9 +1136,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.16.4.tgz", - "integrity": "sha512-LuOGGKAJ7dfRtxVnO1i3qWc6N9sh0Em/8aZ3CezixSTM+E9Oq3OvTsvC4sm6wWjzpsIlOCnZjdluINKESflJLA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -1110,9 +1149,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.16.4.tgz", - "integrity": "sha512-ch86i7KkJKkLybDP2AtySFTRi5fM3KXp0PnHocHuJMdZwu7BuyIKi35BE9guMlmTpwwBTB3ljHj9IQXnTCD0vA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -1123,9 +1162,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.16.4.tgz", - "integrity": "sha512-Ma4PwyLfOWZWayfEsNQzTDBVW8PZ6TUUN1uFTBQbF2Chv/+sjenE86lpiEwj2FiviSmSZ4Ap4MaAfl1ciF4aSA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -1136,9 +1175,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.16.4.tgz", - "integrity": "sha512-9m/ZDrQsdo/c06uOlP3W9G2ENRVzgzbSXmXHT4hwVaDQhYcRpi9bgBT0FTG9OhESxwK0WjQxYOSfv40cU+T69w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -1149,9 +1188,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.16.4.tgz", - "integrity": "sha512-YunpoOAyGLDseanENHmbFvQSfVL5BxW3k7hhy0eN4rb3gS/ct75dVD0EXOWIqFT/nE8XYW6LP6vz6ctKRi0k9A==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -1203,9 +1242,9 @@ } }, "node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true }, "node_modules/@types/prop-types": { @@ -1661,9 +1700,9 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -1971,9 +2010,9 @@ } }, "node_modules/esbuild": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.20.2.tgz", - "integrity": "sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, "bin": { @@ -1983,29 +2022,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" } }, "node_modules/escalade": { @@ -3389,9 +3428,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -3640,9 +3679,9 @@ "dev": true }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "node_modules/pify": { @@ -3749,9 +3788,9 @@ } }, "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "funding": [ { @@ -3769,8 +3808,8 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", - "source-map-js": "^1.2.0" + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12 || >=14" @@ -3998,12 +4037,12 @@ } }, "node_modules/rollup": { - "version": "4.16.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.16.4.tgz", - "integrity": "sha512-kuaTJSUbz+Wsb2ATGvEknkI12XV40vIiHmLuFlejoo7HtDok/O5eDDD0UpCVY5bBX5U5RYo8wWP83H7ZsqVEnA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "dependencies": { - "@types/estree": "1.0.5" + "@types/estree": "1.0.6" }, "bin": { "rollup": "dist/bin/rollup" @@ -4013,22 +4052,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.16.4", - "@rollup/rollup-android-arm64": "4.16.4", - "@rollup/rollup-darwin-arm64": "4.16.4", - "@rollup/rollup-darwin-x64": "4.16.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.16.4", - "@rollup/rollup-linux-arm-musleabihf": "4.16.4", - "@rollup/rollup-linux-arm64-gnu": "4.16.4", - "@rollup/rollup-linux-arm64-musl": "4.16.4", - "@rollup/rollup-linux-powerpc64le-gnu": "4.16.4", - "@rollup/rollup-linux-riscv64-gnu": "4.16.4", - "@rollup/rollup-linux-s390x-gnu": "4.16.4", - "@rollup/rollup-linux-x64-gnu": "4.16.4", - "@rollup/rollup-linux-x64-musl": "4.16.4", - "@rollup/rollup-win32-arm64-msvc": "4.16.4", - "@rollup/rollup-win32-ia32-msvc": "4.16.4", - "@rollup/rollup-win32-x64-msvc": "4.16.4", + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", "fsevents": "~2.3.2" } }, @@ -4179,9 +4221,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -4518,14 +4560,14 @@ } }, "node_modules/vite": { - "version": "5.2.10", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.10.tgz", - "integrity": "sha512-PAzgUZbP7msvQvqdSD+ErD5qGnSFiGOoWmV5yAKUEI0kdhjbH6nMWVyZQC/hSc4aXwc0oJ9aEdIiF9Oje0JFCw==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", "dev": true, "dependencies": { - "esbuild": "^0.20.1", - "postcss": "^8.4.38", - "rollup": "^4.13.0" + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" }, "bin": { "vite": "bin/vite.js" @@ -4544,6 +4586,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -4561,6 +4604,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, diff --git a/src/CartSlice.jsx b/src/CartSlice.jsx index 32b8761ed..ee33dc469 100644 --- a/src/CartSlice.jsx +++ b/src/CartSlice.jsx @@ -7,13 +7,23 @@ export const CartSlice = createSlice({ }, reducers: { addItem: (state, action) => { - + const {name, image, cost} = action.payload; + const existItem = state.items.find(item => item.name === name); + + if(existItem) + existItem.quantity++; + else + state.items.push({name, image, cost, quantity: 1}); }, removeItem: (state, action) => { + state.items.filter(item => item.name !== action.payload); }, updateQuantity: (state, action) => { + const { name, quantity } = action.payload; + const itemToUpdate = state.items.find(item => item.name === name); - + if(itemToUpdate) + itemToUpdate.quantity = quantity; }, }, }); diff --git a/src/ProductList.jsx b/src/ProductList.jsx index 964b15d49..44f13a819 100644 --- a/src/ProductList.jsx +++ b/src/ProductList.jsx @@ -1,9 +1,11 @@ import React, { useState,useEffect } from 'react'; import './ProductList.css' import CartItem from './CartItem'; +import { addItem } from './CartSlice'; function ProductList() { const [showCart, setShowCart] = useState(false); const [showPlants, setShowPlants] = useState(false); // State to control the visibility of the About Us page + const [addedToCart, setAddedToCart] = useState({}); const plantsArray = [ { @@ -246,6 +248,14 @@ const handlePlantsClick = (e) => { e.preventDefault(); setShowCart(false); }; + + const handleAddToCart = (plant) => { + dispatchEvent(addItem(plant)); + setAddedToCart((prevState) => ({ + ...prevState, + [plant.name]: true, + })); + }; return (
@@ -262,14 +272,28 @@ const handlePlantsClick = (e) => {
-
handlePlantsClick(e)} style={styleA}>Plants
+
handlePlantsClick(e)} style={styleA}>Plants
handleCartClick(e)} style={styleA}>

{!showCart? (
- - + {plantsArray.map((category, index) => ( +
+

{category.category}

+
+ {category.plants.map((plant, plantIndex) => ( +
+ {plant.name} +
{plant.name}
+

{plant.description}

+
{plant.cost}
+ +
+ ))} +
+
+ ))}
) : ( diff --git a/src/main.jsx b/src/main.jsx index 9ea042ec2..ee97da552 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -4,6 +4,7 @@ import App from './App.jsx' import './index.css' import { Provider } from 'react-redux' import store from './store.js' + ReactDOM.createRoot(document.getElementById('root')).render( From 4d0e092e43ca8483fc413ef7007b49c3d0629e22 Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 13:19:51 +0200 Subject: [PATCH 02/10] updated cartitem and product list --- src/CartItem.jsx | 18 +++++++++++++----- src/ProductList.jsx | 8 ++++---- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/CartItem.jsx b/src/CartItem.jsx index e06317433..dff6dfd68 100644 --- a/src/CartItem.jsx +++ b/src/CartItem.jsx @@ -9,27 +9,35 @@ const CartItem = ({ onContinueShopping }) => { // Calculate total amount for all products in the cart const calculateTotalAmount = () => { - + cart.reduce((sum, item) => sum + item.quantity * item.cost, 0); }; const handleContinueShopping = (e) => { - + onContinueShopping(); }; - +const handleCheckoutShopping = (e) => { + alert('Functionality to be added for future reference'); +}; const handleIncrement = (item) => { + dispatch(updateQuantity(item)); }; const handleDecrement = (item) => { - + if(item.quantity > 0) + dispatch(updateQuantity(item)); + else + dispatch(removeItem(item)); }; const handleRemove = (item) => { + dispatch(removeItem(item)); }; // Calculate total cost based on quantity for an item const calculateTotalCost = (item) => { + cart.map(item => item.quantity * item.cost); }; return ( @@ -57,7 +65,7 @@ const CartItem = ({ onContinueShopping }) => {

- +
); diff --git a/src/ProductList.jsx b/src/ProductList.jsx index 44f13a819..8b63621df 100644 --- a/src/ProductList.jsx +++ b/src/ProductList.jsx @@ -249,11 +249,11 @@ const handlePlantsClick = (e) => { setShowCart(false); }; - const handleAddToCart = (plant) => { - dispatchEvent(addItem(plant)); - setAddedToCart((prevState) => ({ + const handleAddToCart = (product) => { + dispatchEvent(addItem(product)); + setAddedToCart((product) => ({ ...prevState, - [plant.name]: true, + [product.name]: true, })); }; return ( From c5876c294947b0009cd1bfefccf545cb6af04af2 Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 18:35:05 +0200 Subject: [PATCH 03/10] fix jsx --- src/CartItem.jsx | 10 +++++----- src/CartSlice.jsx | 8 +++++--- src/ProductList.jsx | 8 ++++++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/CartItem.jsx b/src/CartItem.jsx index dff6dfd68..c22596f29 100644 --- a/src/CartItem.jsx +++ b/src/CartItem.jsx @@ -20,13 +20,13 @@ const handleCheckoutShopping = (e) => { alert('Functionality to be added for future reference'); }; - const handleIncrement = (item) => { - dispatch(updateQuantity(item)); + const handleIncrement = (item) => { + dispatch(updateQuantity({item, plus:true})); }; const handleDecrement = (item) => { - if(item.quantity > 0) - dispatch(updateQuantity(item)); + if(item.quantity > 1) + dispatch(updateQuantity({item, plus:false})); else dispatch(removeItem(item)); }; @@ -37,7 +37,7 @@ const handleCheckoutShopping = (e) => { // Calculate total cost based on quantity for an item const calculateTotalCost = (item) => { - cart.map(item => item.quantity * item.cost); + return item.quantity * item.cost; }; return ( diff --git a/src/CartSlice.jsx b/src/CartSlice.jsx index ee33dc469..9fa8e9657 100644 --- a/src/CartSlice.jsx +++ b/src/CartSlice.jsx @@ -16,14 +16,16 @@ export const CartSlice = createSlice({ state.items.push({name, image, cost, quantity: 1}); }, removeItem: (state, action) => { - state.items.filter(item => item.name !== action.payload); + const { name } = action.payload; + state.items = state.items.filter(item => item.name !== name); }, updateQuantity: (state, action) => { - const { name, quantity } = action.payload; + const { name } = action.payload.item; + const isPlus = action.payload.plus; const itemToUpdate = state.items.find(item => item.name === name); if(itemToUpdate) - itemToUpdate.quantity = quantity; + isPlus ? itemToUpdate.quantity++ : itemToUpdate.quantity--; }, }, }); diff --git a/src/ProductList.jsx b/src/ProductList.jsx index 8b63621df..b5d0568a8 100644 --- a/src/ProductList.jsx +++ b/src/ProductList.jsx @@ -2,10 +2,13 @@ import React, { useState,useEffect } from 'react'; import './ProductList.css' import CartItem from './CartItem'; import { addItem } from './CartSlice'; +import { useDispatch, useSelector } from 'react-redux'; function ProductList() { const [showCart, setShowCart] = useState(false); const [showPlants, setShowPlants] = useState(false); // State to control the visibility of the About Us page const [addedToCart, setAddedToCart] = useState({}); + const dispatchEvent = useDispatch(); + const quantity = useSelector((state) => state.cart.items.map((item) => item.quantity)); const plantsArray = [ { @@ -246,12 +249,13 @@ const handlePlantsClick = (e) => { const handleContinueShopping = (e) => { e.preventDefault(); + setShowPlants(true); setShowCart(false); }; const handleAddToCart = (product) => { dispatchEvent(addItem(product)); - setAddedToCart((product) => ({ + setAddedToCart((prevState) => ({ ...prevState, [product.name]: true, })); @@ -273,7 +277,7 @@ const handlePlantsClick = (e) => { {!showCart? ( From 77ddbd4e4330d2e6603cae32ce48f4c2eaf842a4 Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 19:25:13 +0200 Subject: [PATCH 04/10] final commit --- src/CartItem.jsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/CartItem.jsx b/src/CartItem.jsx index c22596f29..597370f7a 100644 --- a/src/CartItem.jsx +++ b/src/CartItem.jsx @@ -8,10 +8,7 @@ const CartItem = ({ onContinueShopping }) => { const dispatch = useDispatch(); // Calculate total amount for all products in the cart - const calculateTotalAmount = () => { - cart.reduce((sum, item) => sum + item.quantity * item.cost, 0); - }; - + const calculateTotalAmount = () => cart.reduce((sum, item) => sum + (item.quantity * item.cost.slice(1)), 0); const handleContinueShopping = (e) => { onContinueShopping(); }; @@ -36,9 +33,7 @@ const handleCheckoutShopping = (e) => { }; // Calculate total cost based on quantity for an item - const calculateTotalCost = (item) => { - return item.quantity * item.cost; - }; + const calculateTotalCost = (item) => item.quantity * item.cost.slice(1); return (
From 7fd7a7ade46d99991fcbf53159c098a42f757e2c Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 20:25:12 +0200 Subject: [PATCH 05/10] reuploaded build --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 79fe76864..06a44a15b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "gh-pages": "^6.1.1", - "vite": "^5.2.0" + "vite": "^5.4.11" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index b7d4c1d1d..12c231fd2 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,6 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", "gh-pages": "^6.1.1", - "vite": "^5.2.0" + "vite": "^5.4.11" } } From a46fcf094475f3407c865c3784b3f526711591f8 Mon Sep 17 00:00:00 2001 From: Nikita <44064247+issverg@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:29:45 +0200 Subject: [PATCH 06/10] Add files via upload --- dist/assets/index-DX7HzsTp.js | 48 ++++++++++++++++++++++++++++++++++ dist/assets/index-Dw6qcql4.css | 1 + dist/index.html | 16 ++++++++++++ dist/vite.svg | 1 + 4 files changed, 66 insertions(+) create mode 100644 dist/assets/index-DX7HzsTp.js create mode 100644 dist/assets/index-Dw6qcql4.css create mode 100644 dist/index.html create mode 100644 dist/vite.svg diff --git a/dist/assets/index-DX7HzsTp.js b/dist/assets/index-DX7HzsTp.js new file mode 100644 index 000000000..f813dccb6 --- /dev/null +++ b/dist/assets/index-DX7HzsTp.js @@ -0,0 +1,48 @@ +function zf(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}},El={},Zs={exports:{}},O={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cr=Symbol.for("react.element"),Of=Symbol.for("react.portal"),Mf=Symbol.for("react.fragment"),Df=Symbol.for("react.strict_mode"),Lf=Symbol.for("react.profiler"),If=Symbol.for("react.provider"),Ff=Symbol.for("react.context"),Af=Symbol.for("react.forward_ref"),$f=Symbol.for("react.suspense"),Uf=Symbol.for("react.memo"),Bf=Symbol.for("react.lazy"),Eu=Symbol.iterator;function Hf(e){return e===null||typeof e!="object"?null:(e=Eu&&e[Eu]||e["@@iterator"],typeof e=="function"?e:null)}var qs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Js=Object.assign,bs={};function gn(e,t,n){this.props=e,this.context=t,this.refs=bs,this.updater=n||qs}gn.prototype.isReactComponent={};gn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};gn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ea(){}ea.prototype=gn.prototype;function xi(e,t,n){this.props=e,this.context=t,this.refs=bs,this.updater=n||qs}var _i=xi.prototype=new ea;_i.constructor=xi;Js(_i,gn.prototype);_i.isPureReactComponent=!0;var Cu=Array.isArray,ta=Object.prototype.hasOwnProperty,Ei={current:null},na={key:!0,ref:!0,__self:!0,__source:!0};function ra(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)ta.call(t,r)&&!na.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,X=j[V];if(0>>1;Vl(Kl,z))Ptl(vr,Kl)?(j[V]=vr,j[Pt]=z,V=Pt):(j[V]=Kl,j[Ct]=z,V=Ct);else if(Ptl(vr,z))j[V]=vr,j[Pt]=z,V=Pt;else break e}}return T}function l(j,T){var z=j.sortIndex-T.sortIndex;return z!==0?z:j.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],f=1,h=null,m=3,g=!1,v=!1,S=!1,x=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(j){for(var T=n(a);T!==null;){if(T.callback===null)r(a);else if(T.startTime<=j)r(a),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(a)}}function y(j){if(S=!1,p(j),!v)if(n(s)!==null)v=!0,Vl(k);else{var T=n(a);T!==null&&Ql(y,T.startTime-j)}}function k(j,T){v=!1,S&&(S=!1,d(C),C=-1),g=!0;var z=m;try{for(p(T),h=n(s);h!==null&&(!(h.expirationTime>T)||j&&!ye());){var V=h.callback;if(typeof V=="function"){h.callback=null,m=h.priorityLevel;var X=V(h.expirationTime<=T);T=e.unstable_now(),typeof X=="function"?h.callback=X:h===n(s)&&r(s),p(T)}else r(s);h=n(s)}if(h!==null)var yr=!0;else{var Ct=n(a);Ct!==null&&Ql(y,Ct.startTime-T),yr=!1}return yr}finally{h=null,m=z,g=!1}}var E=!1,P=null,C=-1,A=5,R=-1;function ye(){return!(e.unstable_now()-Rj||125V?(j.sortIndex=z,t(a,j),n(s)===null&&j===n(a)&&(S?(d(C),C=-1):S=!0,Ql(y,z-V))):(j.sortIndex=X,t(s,j),v||g||(v=!0,Vl(k))),j},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(j){var T=m;return function(){var z=m;m=T;try{return j.apply(this,arguments)}finally{m=z}}}})(ua);ia.exports=ua;var bf=ia.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ed=Xe,ke=bf;function w(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eo=Object.prototype.hasOwnProperty,td=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ju={},Tu={};function nd(e){return Eo.call(Tu,e)?!0:Eo.call(ju,e)?!1:td.test(e)?Tu[e]=!0:(ju[e]=!0,!1)}function rd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ld(e,t,n,r){if(t===null||typeof t>"u"||rd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ae(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){te[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];te[t]=new ae(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){te[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){te[e]=new ae(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){te[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){te[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){te[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){te[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){te[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function ji(e){return e[1].toUpperCase()}"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(Ni,ji);te[t]=new ae(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(Ni,ji);te[t]=new ae(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(Ni,ji);te[t]=new ae(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});te.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){te[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ti(e,t,n,r){var l=te.hasOwnProperty(t)?te[t]:null;(l!==null?l.type!==0:r||!(2u||l[i]!==o[u]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rn(e):""}function od(e){switch(e.tag){case 5:return Rn(e.type);case 16:return Rn("Lazy");case 13:return Rn("Suspense");case 19:return Rn("SuspenseList");case 0:case 2:case 15:return e=Zl(e.type,!1),e;case 11:return e=Zl(e.type.render,!1),e;case 1:return e=Zl(e.type,!0),e;default:return""}}function jo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qt:return"Fragment";case Vt:return"Portal";case Co:return"Profiler";case zi:return"StrictMode";case Po:return"Suspense";case No:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ca:return(e.displayName||"Context")+".Consumer";case aa:return(e._context.displayName||"Context")+".Provider";case Ri:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oi:return t=e.displayName||null,t!==null?t:jo(e.type)||"Memo";case lt:t=e._payload,e=e._init;try{return jo(e(t))}catch{}}return null}function id(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=t.render,e=e.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 jo(t);case 8:return t===zi?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function gt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function da(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ud(e){var t=da(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=ud(e))}function pa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=da(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function To(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ru(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=gt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ha(e,t){t=t.checked,t!=null&&Ti(e,"checked",t,!1)}function zo(e,t){ha(e,t);var n=gt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ro(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ro(e,t.type,gt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ou(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ro(e,t,n){(t!=="number"||Xr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function nn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var In={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},sd=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){sd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function ga(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function wa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ga(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ad=H({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 Do(e,t){if(t){if(ad[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(w(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(w(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(w(61))}if(t.style!=null&&typeof t.style!="object")throw Error(w(62))}}function Lo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Io=null;function Mi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fo=null,rn=null,ln=null;function Lu(e){if(e=pr(e)){if(typeof Fo!="function")throw Error(w(280));var t=e.stateNode;t&&(t=Tl(t),Fo(e.stateNode,e.type,t))}}function Sa(e){rn?ln?ln.push(e):ln=[e]:rn=e}function ka(){if(rn){var e=rn,t=ln;if(ln=rn=null,Lu(e),t)for(e=0;e>>=0,e===0?32:31-(Sd(e)/kd|0)|0}var xr=64,_r=4194304;function Mn(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function br(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=Mn(u):(o&=i,o!==0&&(r=Mn(o)))}else i=n&~l,i!==0?r=Mn(i):o!==0&&(r=Mn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function Cd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=An),Vu=" ",Qu=!1;function Ba(e,t){switch(e){case"keyup":return bd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ha(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function tp(e,t){switch(e){case"compositionend":return Ha(t);case"keypress":return t.which!==32?null:(Qu=!0,Vu);case"textInput":return e=t.data,e===Vu&&Qu?null:e;default:return null}}function np(e,t){if(Kt)return e==="compositionend"||!Bi&&Ba(e,t)?(e=$a(),Ur=Ai=st=null,Kt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xu(n)}}function Ka(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ka(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ga(){for(var e=window,t=Xr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xr(e.document)}return t}function Hi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fp(e){var t=Ga(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ka(n.ownerDocument.documentElement,n)){if(r!==null&&Hi(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Zu(n,o);var i=Zu(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.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;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Gt=null,Wo=null,Un=null,Vo=!1;function qu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vo||Gt==null||Gt!==Xr(r)||(r=Gt,"selectionStart"in r&&Hi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Un&&Jn(Un,r)||(Un=r,r=nl(Wo,"onSelect"),0Zt||(e.current=Zo[Zt],Zo[Zt]=null,Zt--)}function L(e,t){Zt++,Zo[Zt]=e.current,e.current=t}var wt={},oe=_t(wt),de=_t(!1),Lt=wt;function cn(e,t){var n=e.type.contextTypes;if(!n)return wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function ll(){F(de),F(oe)}function ls(e,t,n){if(oe.current!==wt)throw Error(w(168));L(oe,t),L(de,n)}function nc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(w(108,id(e)||"Unknown",l));return H({},n,r)}function ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wt,Lt=oe.current,L(oe,e),L(de,de.current),!0}function os(e,t,n){var r=e.stateNode;if(!r)throw Error(w(169));n?(e=nc(e,t,Lt),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(oe),L(oe,e)):F(de),L(de,n)}var Ke=null,zl=!1,co=!1;function rc(e){Ke===null?Ke=[e]:Ke.push(e)}function _p(e){zl=!0,rc(e)}function Et(){if(!co&&Ke!==null){co=!0;var e=0,t=D;try{var n=Ke;for(D=1;e>=i,l-=i,Ge=1<<32-Fe(t)+l|n<C?(A=P,P=null):A=P.sibling;var R=m(d,P,p[C],y);if(R===null){P===null&&(P=A);break}e&&P&&R.alternate===null&&t(d,P),c=o(R,c,C),E===null?k=R:E.sibling=R,E=R,P=A}if(C===p.length)return n(d,P),$&&Nt(d,C),k;if(P===null){for(;CC?(A=P,P=null):A=P.sibling;var ye=m(d,P,R.value,y);if(ye===null){P===null&&(P=A);break}e&&P&&ye.alternate===null&&t(d,P),c=o(ye,c,C),E===null?k=ye:E.sibling=ye,E=ye,P=A}if(R.done)return n(d,P),$&&Nt(d,C),k;if(P===null){for(;!R.done;C++,R=p.next())R=h(d,R.value,y),R!==null&&(c=o(R,c,C),E===null?k=R:E.sibling=R,E=R);return $&&Nt(d,C),k}for(P=r(d,P);!R.done;C++,R=p.next())R=g(P,d,C,R.value,y),R!==null&&(e&&R.alternate!==null&&P.delete(R.key===null?C:R.key),c=o(R,c,C),E===null?k=R:E.sibling=R,E=R);return e&&P.forEach(function(kn){return t(d,kn)}),$&&Nt(d,C),k}function x(d,c,p,y){if(typeof p=="object"&&p!==null&&p.type===Qt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case wr:e:{for(var k=p.key,E=c;E!==null;){if(E.key===k){if(k=p.type,k===Qt){if(E.tag===7){n(d,E.sibling),c=l(E,p.props.children),c.return=d,d=c;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===lt&&ss(k)===E.type){n(d,E.sibling),c=l(E,p.props),c.ref=jn(d,E,p),c.return=d,d=c;break e}n(d,E);break}else t(d,E);E=E.sibling}p.type===Qt?(c=Dt(p.props.children,d.mode,y,p.key),c.return=d,d=c):(y=Yr(p.type,p.key,p.props,null,d.mode,y),y.ref=jn(d,c,p),y.return=d,d=y)}return i(d);case Vt:e:{for(E=p.key;c!==null;){if(c.key===E)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){n(d,c.sibling),c=l(c,p.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=wo(p,d.mode,y),c.return=d,d=c}return i(d);case lt:return E=p._init,x(d,c,E(p._payload),y)}if(On(p))return v(d,c,p,y);if(_n(p))return S(d,c,p,y);zr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,c!==null&&c.tag===6?(n(d,c.sibling),c=l(c,p),c.return=d,d=c):(n(d,c),c=go(p,d.mode,y),c.return=d,d=c),i(d)):n(d,c)}return x}var dn=uc(!0),sc=uc(!1),sl=_t(null),al=null,bt=null,Ki=null;function Gi(){Ki=bt=al=null}function Yi(e){var t=sl.current;F(sl),e._currentValue=t}function bo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function un(e,t){al=e,Ki=bt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function ze(e){var t=e._currentValue;if(Ki!==e)if(e={context:e,memoizedValue:t,next:null},bt===null){if(al===null)throw Error(w(308));bt=e,al.dependencies={lanes:0,firstContext:e}}else bt=bt.next=e;return t}var Rt=null;function Xi(e){Rt===null?Rt=[e]:Rt.push(e)}function ac(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Xi(t)):(n.next=l.next,l.next=n),t.interleaved=n,be(e,r)}function be(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ot=!1;function Zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ze(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,be(e,n)}return l=r.interleaved,l===null?(t.next=t,Xi(r)):(t.next=l.next,l.next=t),r.interleaved=t,be(e,n)}function Hr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Li(e,n)}}function as(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function cl(e,t,n,r){var l=e.updateQueue;ot=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var f=e.alternate;f!==null&&(f=f.updateQueue,u=f.lastBaseUpdate,u!==i&&(u===null?f.firstBaseUpdate=a:u.next=a,f.lastBaseUpdate=s))}if(o!==null){var h=l.baseState;i=0,f=a=s=null,u=o;do{var m=u.lane,g=u.eventTime;if((r&m)===m){f!==null&&(f=f.next={eventTime:g,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var v=e,S=u;switch(m=t,g=n,S.tag){case 1:if(v=S.payload,typeof v=="function"){h=v.call(g,h,m);break e}h=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=S.payload,m=typeof v=="function"?v.call(g,h,m):v,m==null)break e;h=H({},h,m);break e;case 2:ot=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else g={eventTime:g,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},f===null?(a=f=g,s=h):f=f.next=g,i|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(f===null&&(s=h),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=f,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);At|=i,e.lanes=i,e.memoizedState=h}}function cs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=po.transition;po.transition={};try{e(!1),t()}finally{D=n,po.transition=r}}function Nc(){return Re().memoizedState}function Np(e,t,n){var r=yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},jc(e))Tc(t,n);else if(n=ac(e,t,n,r),n!==null){var l=ue();Ae(n,e,r,l),zc(n,t,r)}}function jp(e,t,n){var r=yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(jc(e))Tc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,$e(u,i)){var s=t.interleaved;s===null?(l.next=l,Xi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ac(e,t,l,r),n!==null&&(l=ue(),Ae(n,e,r,l),zc(n,t,r))}}function jc(e){var t=e.alternate;return e===B||t!==null&&t===B}function Tc(e,t){Bn=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Li(e,n)}}var pl={readContext:ze,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},Tp={readContext:ze,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:ze,useEffect:ds,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vr(4194308,4,xc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vr(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?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=Np.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:fs,useDebugValue:lu,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=fs(!1),t=e[0];return e=Pp.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=B,l=Be();if($){if(n===void 0)throw Error(w(407));n=n()}else{if(n=t(),q===null)throw Error(w(349));Ft&30||hc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ds(yc.bind(null,r,o,e),[e]),r.flags|=2048,ir(9,mc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Be(),t=q.identifierPrefix;if($){var n=Ye,r=Ge;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=lr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[He]=t,e[tr]=r,Uc(e,t,!1,!1),t.stateNode=e;e:{switch(i=Lo(n,r),n){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;lmn&&(t.flags|=128,r=!0,Tn(o,!1),t.lanes=4194304)}else{if(!r)if(e=fl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Tn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return re(t),null}else 2*Q()-o.renderingStartTime>mn&&n!==1073741824&&(t.flags|=128,r=!0,Tn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Q(),t.sibling=null,n=U.current,L(U,r?n&1|2:n&1),t):(re(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(re(t),t.subtreeFlags&6&&(t.flags|=8192)):re(t),null;case 24:return null;case 25:return null}throw Error(w(156,t.tag))}function Fp(e,t){switch(Vi(t),t.tag){case 1:return pe(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pn(),F(de),F(oe),bi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(F(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return F(U),null;case 4:return pn(),null;case 10:return Yi(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Or=!1,le=!1,Ap=typeof WeakSet=="function"?WeakSet:Set,N=null;function en(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function si(e,t,n){try{n()}catch(r){W(e,t,r)}}var _s=!1;function $p(e,t){if(Qo=el,e=Ga(),Hi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,f=0,h=e,m=null;t:for(;;){for(var g;h!==n||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)m=h,h=g;for(;;){if(h===e)break t;if(m===n&&++a===l&&(u=i),m===o&&++f===r&&(s=i),(g=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=g}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ko={focusedElem:e,selectionRange:n},el=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var S=v.memoizedProps,x=v.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?S:Me(t.type,S),x);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(w(163))}}catch(y){W(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return v=_s,_s=!1,v}function Hn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&si(t,n,o)}l=l.next}while(l!==r)}}function Ml(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ai(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Wc(e){var t=e.alternate;t!==null&&(e.alternate=null,Wc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[He],delete t[tr],delete t[Xo],delete t[kp],delete t[xp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Vc(e){return e.tag===5||e.tag===3||e.tag===4}function Es(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ci(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=rl));else if(r!==4&&(e=e.child,e!==null))for(ci(e,t,n),e=e.sibling;e!==null;)ci(e,t,n),e=e.sibling}function fi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(fi(e,t,n),e=e.sibling;e!==null;)fi(e,t,n),e=e.sibling}var b=null,De=!1;function rt(e,t,n){for(n=n.child;n!==null;)Qc(e,t,n),n=n.sibling}function Qc(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:le||en(n,t);case 6:var r=b,l=De;b=null,rt(e,t,n),b=r,De=l,b!==null&&(De?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(De?(e=b,n=n.stateNode,e.nodeType===8?ao(e.parentNode,n):e.nodeType===1&&ao(e,n),Zn(e)):ao(b,n.stateNode));break;case 4:r=b,l=De,b=n.stateNode.containerInfo,De=!0,rt(e,t,n),b=r,De=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&si(n,t,i),l=l.next}while(l!==r)}rt(e,t,n);break;case 1:if(!le&&(en(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){W(n,t,u)}rt(e,t,n);break;case 21:rt(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,rt(e,t,n),le=r):rt(e,t,n);break;default:rt(e,t,n)}}function Cs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ap),t.forEach(function(r){var l=Yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Oe(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Bp(r/1960))-r,10e?16:e,at===null)var r=!1;else{if(e=at,at=null,yl=0,M&6)throw Error(w(331));var l=M;for(M|=4,N=e.current;N!==null;){var o=N,i=o.child;if(N.flags&16){var u=o.deletions;if(u!==null){for(var s=0;sQ()-su?Mt(e,0):uu|=n),he(e,t)}function bc(e,t){t===0&&(e.mode&1?(t=_r,_r<<=1,!(_r&130023424)&&(_r=4194304)):t=1);var n=ue();e=be(e,t),e!==null&&(fr(e,t,n),he(e,n))}function Gp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bc(e,n)}function Yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(w(314))}r!==null&&r.delete(t),bc(e,n)}var ef;ef=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||de.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,Lp(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&lc(t,ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Qr(e,t),e=t.pendingProps;var l=cn(t,oe.current);un(t,n),l=tu(null,t,r,e,l,n);var o=nu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pe(r)?(o=!0,ol(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Zi(t),l.updater=Ol,t.stateNode=l,l._reactInternals=t,ti(t,r,e,n),t=li(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Wi(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Qr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Zp(r),e=Me(r,e),l){case 0:t=ri(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=gs(null,t,r,e,n);break e;case 14:t=ws(null,t,r,Me(r.type,e),n);break e}throw Error(w(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),ri(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),Ss(e,t,r,l,n);case 3:e:{if(Fc(t),e===null)throw Error(w(387));r=t.pendingProps,o=t.memoizedState,l=o.element,cc(e,t),cl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=hn(Error(w(423)),t),t=ks(e,t,r,n,l);break e}else if(r!==l){l=hn(Error(w(424)),t),t=ks(e,t,r,n,l);break e}else for(ge=pt(t.stateNode.containerInfo.firstChild),Se=t,$=!0,Le=null,n=sc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=et(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return fc(t),e===null&&Jo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Go(r,l)?i=null:o!==null&&Go(r,o)&&(t.flags|=32),Ic(e,t),ie(e,t,i,n),t.child;case 6:return e===null&&Jo(t),null;case 13:return Ac(e,t,n);case 4:return qi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=dn(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),gs(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,L(sl,r._currentValue),r._currentValue=i,o!==null)if($e(o.value,i)){if(o.children===l.children&&!de.current){t=et(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Ze(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var f=a.pending;f===null?s.next=s:(s.next=f.next,f.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),bo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(w(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),bo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,un(t,n),l=ze(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=Me(r,t.pendingProps),l=Me(r.type,l),ws(e,t,r,l,n);case 15:return Dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Me(r,l),Qr(e,t),t.tag=1,pe(r)?(e=!0,ol(t)):e=!1,un(t,n),Rc(t,r,l),ti(t,r,l,n),li(null,t,r,!0,e,n);case 19:return $c(e,t,n);case 22:return Lc(e,t,n)}throw Error(w(156,t.tag))};function tf(e,t){return ja(e,t)}function Xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new Xp(e,t,n,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zp(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ri)return 11;if(e===Oi)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")du(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Qt:return Dt(n.children,l,o,t);case zi:i=8,l|=8;break;case Co:return e=je(12,n,t,l|2),e.elementType=Co,e.lanes=o,e;case Po:return e=je(13,n,t,l),e.elementType=Po,e.lanes=o,e;case No:return e=je(19,n,t,l),e.elementType=No,e.lanes=o,e;case fa:return Ll(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case aa:i=10;break e;case ca:i=9;break e;case Ri:i=11;break e;case Oi:i=14;break e;case lt:i=16,r=null;break e}throw Error(w(130,e==null?e:typeof e,""))}return t=je(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Dt(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function Ll(e,t,n,r){return e=je(22,e,r,t),e.elementType=fa,e.lanes=n,e.stateNode={isHidden:!1},e}function go(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function wo(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jl(0),this.expirationTimes=Jl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,t,n,r,l,o,i,u,s){return e=new qp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zi(o),e}function Jp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(of)}catch(e){console.error(e)}}of(),oa.exports=Ee;var rh=oa.exports,Ms=rh;_o.createRoot=Ms.createRoot,_o.hydrateRoot=Ms.hydrateRoot;var uf={exports:{}},sf={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var mr=Xe;function lh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oh=typeof Object.is=="function"?Object.is:lh,ih=mr.useSyncExternalStore,uh=mr.useRef,sh=mr.useEffect,ah=mr.useMemo,ch=mr.useDebugValue;sf.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var o=uh(null);if(o.current===null){var i={hasValue:!1,value:null};o.current=i}else i=o.current;o=ah(function(){function s(g){if(!a){if(a=!0,f=g,g=r(g),l!==void 0&&i.hasValue){var v=i.value;if(l(v,g))return h=v}return h=g}if(v=h,oh(f,g))return v;var S=r(g);return l!==void 0&&l(v,S)?v:(f=g,h=S)}var a=!1,f,h,m=n===void 0?null:n;return[function(){return s(t())},m===null?void 0:function(){return s(m())}]},[t,n,r,l]);var u=ih(e,o[0],o[1]);return sh(function(){i.hasValue=!0,i.value=u},[u]),ch(u),u};uf.exports=sf;var fh=uf.exports,we="default"in Nu?Pi:Nu,Ds=Symbol.for("react-redux-context"),Ls=typeof globalThis<"u"?globalThis:{};function dh(){if(!we.createContext)return{};const e=Ls[Ds]??(Ls[Ds]=new Map);let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var St=dh(),ph=()=>{throw new Error("uSES not initialized!")};function vu(e=St){return function(){return we.useContext(e)}}var af=vu(),cf=ph,hh=e=>{cf=e},mh=(e,t)=>e===t;function yh(e=St){const t=e===St?af:vu(e),n=(r,l={})=>{const{equalityFn:o=mh,devModeChecks:i={}}=typeof l=="function"?{equalityFn:l}:l,{store:u,subscription:s,getServerState:a,stabilityCheck:f,identityFunctionCheck:h}=t();we.useRef(!0);const m=we.useCallback({[r.name](v){return r(v)}}[r.name],[r,f,i.stabilityCheck]),g=cf(s.addNestedSub,u.getState,a||u.getState,m,o);return we.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var ff=yh();function vh(e){e()}function gh(){let e=null,t=null;return{clear(){e=null,t=null},notify(){vh(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!r||e===null||(r=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var Is={notify(){},get:()=>[]};function wh(e,t){let n,r=Is,l=0,o=!1;function i(S){f();const x=r.subscribe(S);let d=!1;return()=>{d||(d=!0,x(),h())}}function u(){r.notify()}function s(){v.onStateChange&&v.onStateChange()}function a(){return o}function f(){l++,n||(n=e.subscribe(s),r=gh())}function h(){l--,n&&l===0&&(n(),n=void 0,r.clear(),r=Is)}function m(){o||(o=!0,f())}function g(){o&&(o=!1,h())}const v={addNestedSub:i,notifyNestedSubs:u,handleChangeWrapper:s,isSubscribed:a,trySubscribe:m,tryUnsubscribe:g,getListeners:()=>r};return v}var Sh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kh=typeof navigator<"u"&&navigator.product==="ReactNative",xh=Sh||kh?we.useLayoutEffect:we.useEffect;function _h({store:e,context:t,children:n,serverState:r,stabilityCheck:l="once",identityFunctionCheck:o="once"}){const i=we.useMemo(()=>{const a=wh(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0,stabilityCheck:l,identityFunctionCheck:o}},[e,r,l,o]),u=we.useMemo(()=>e.getState(),[e]);xh(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),u!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,u]);const s=t||St;return we.createElement(s.Provider,{value:i},n)}var Eh=_h;function df(e=St){const t=e===St?af:vu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Ch=df();function Ph(e=St){const t=e===St?Ch:df(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var pf=Ph();hh(fh.useSyncExternalStoreWithSelector);function J(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Nh=typeof Symbol=="function"&&Symbol.observable||"@@observable",Fs=Nh,So=()=>Math.random().toString(36).substring(7).split("").join("."),jh={INIT:`@@redux/INIT${So()}`,REPLACE:`@@redux/REPLACE${So()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${So()}`},wl=jh;function gu(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function hf(e,t,n){if(typeof e!="function")throw new Error(J(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(J(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(J(1));return n(hf)(e,t)}let r=e,l=t,o=new Map,i=o,u=0,s=!1;function a(){i===o&&(i=new Map,o.forEach((x,d)=>{i.set(d,x)}))}function f(){if(s)throw new Error(J(3));return l}function h(x){if(typeof x!="function")throw new Error(J(4));if(s)throw new Error(J(5));let d=!0;a();const c=u++;return i.set(c,x),function(){if(d){if(s)throw new Error(J(6));d=!1,a(),i.delete(c),o=null}}}function m(x){if(!gu(x))throw new Error(J(7));if(typeof x.type>"u")throw new Error(J(8));if(typeof x.type!="string")throw new Error(J(17));if(s)throw new Error(J(9));try{s=!0,l=r(l,x)}finally{s=!1}return(o=i).forEach(c=>{c()}),x}function g(x){if(typeof x!="function")throw new Error(J(10));r=x,m({type:wl.REPLACE})}function v(){const x=h;return{subscribe(d){if(typeof d!="object"||d===null)throw new Error(J(11));function c(){const y=d;y.next&&y.next(f())}return c(),{unsubscribe:x(c)}},[Fs](){return this}}}return m({type:wl.INIT}),{dispatch:m,subscribe:h,getState:f,replaceReducer:g,[Fs]:v}}function Th(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:wl.INIT})>"u")throw new Error(J(12));if(typeof n(void 0,{type:wl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(J(13))})}function zh(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw u&&u.type,new Error(J(14));a[h]=v,s=s||v!==g}return s=s||r.length!==Object.keys(i).length,s?a:i}}function Sl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Rh(...e){return t=>(n,r)=>{const l=t(n,r);let o=()=>{throw new Error(J(15))};const i={getState:l.getState,dispatch:(s,...a)=>o(s,...a)},u=e.map(s=>s(i));return o=Sl(...u)(l.dispatch),{...l,dispatch:o}}}function Oh(e){return gu(e)&&"type"in e&&typeof e.type=="string"}var mf=Symbol.for("immer-nothing"),As=Symbol.for("immer-draftable"),xe=Symbol.for("immer-state");function Ie(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var yn=Object.getPrototypeOf;function kt(e){return!!e&&!!e[xe]}function tt(e){var t;return e?yf(e)||Array.isArray(e)||!!e[As]||!!((t=e.constructor)!=null&&t[As])||Bl(e)||Hl(e):!1}var Mh=Object.prototype.constructor.toString();function yf(e){if(!e||typeof e!="object")return!1;const t=yn(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Mh}function kl(e,t){Ul(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ul(e){const t=e[xe];return t?t.type_:Array.isArray(e)?1:Bl(e)?2:Hl(e)?3:0}function yi(e,t){return Ul(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function vf(e,t,n){const r=Ul(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function Dh(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Bl(e){return e instanceof Map}function Hl(e){return e instanceof Set}function Tt(e){return e.copy_||e.base_}function vi(e,t){if(Bl(e))return new Map(e);if(Hl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&yf(e))return yn(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[xe];let r=Reflect.ownKeys(n);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=Lh),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>wu(r,!0))),e}function Lh(){Ie(2)}function Wl(e){return Object.isFrozen(e)}var Ih={};function Ut(e){const t=Ih[e];return t||Ie(0,e),t}var sr;function gf(){return sr}function Fh(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function $s(e,t){t&&(Ut("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function gi(e){wi(e),e.drafts_.forEach(Ah),e.drafts_=null}function wi(e){e===sr&&(sr=e.parent_)}function Us(e){return sr=Fh(sr,e)}function Ah(e){const t=e[xe];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Bs(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[xe].modified_&&(gi(t),Ie(4)),tt(e)&&(e=xl(t,e),t.parent_||_l(t,e)),t.patches_&&Ut("Patches").generateReplacementPatches_(n[xe].base_,e,t.patches_,t.inversePatches_)):e=xl(t,n,[]),gi(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==mf?e:void 0}function xl(e,t,n){if(Wl(t))return t;const r=t[xe];if(!r)return kl(t,(l,o)=>Hs(e,r,t,l,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return _l(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const l=r.copy_;let o=l,i=!1;r.type_===3&&(o=new Set(l),l.clear(),i=!0),kl(o,(u,s)=>Hs(e,r,l,u,s,n,i)),_l(e,l,!1),n&&e.patches_&&Ut("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Hs(e,t,n,r,l,o,i){if(kt(l)){const u=o&&t&&t.type_!==3&&!yi(t.assigned_,r)?o.concat(r):void 0,s=xl(e,l,u);if(vf(n,r,s),kt(s))e.canAutoFreeze_=!1;else return}else i&&n.add(l);if(tt(l)&&!Wl(l)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;xl(e,l),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&_l(e,l)}}function _l(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&wu(t,n)}function $h(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:gf(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=r,o=Su;n&&(l=[r],o=ar);const{revoke:i,proxy:u}=Proxy.revocable(l,o);return r.draft_=u,r.revoke_=i,u}var Su={get(e,t){if(t===xe)return e;const n=Tt(e);if(!yi(n,t))return Uh(e,n,t);const r=n[t];return e.finalized_||!tt(r)?r:r===ko(e.base_,t)?(xo(e),e.copy_[t]=ki(r,e)):r},has(e,t){return t in Tt(e)},ownKeys(e){return Reflect.ownKeys(Tt(e))},set(e,t,n){const r=wf(Tt(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const l=ko(Tt(e),t),o=l==null?void 0:l[xe];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Dh(n,l)&&(n!==void 0||yi(e.base_,t)))return!0;xo(e),Si(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ko(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,xo(e),Si(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Tt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Ie(11)},getPrototypeOf(e){return yn(e.base_)},setPrototypeOf(){Ie(12)}},ar={};kl(Su,(e,t)=>{ar[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ar.deleteProperty=function(e,t){return ar.set.call(this,e,t,void 0)};ar.set=function(e,t,n){return Su.set.call(this,e[0],t,n,e[0])};function ko(e,t){const n=e[xe];return(n?Tt(n):e)[t]}function Uh(e,t,n){var l;const r=wf(t,n);return r?"value"in r?r.value:(l=r.get)==null?void 0:l.call(e.draft_):void 0}function wf(e,t){if(!(t in e))return;let n=yn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=yn(n)}}function Si(e){e.modified_||(e.modified_=!0,e.parent_&&Si(e.parent_))}function xo(e){e.copy_||(e.copy_=vi(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Bh=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const i=this;return function(s=o,...a){return i.produce(s,f=>n.call(this,f,...a))}}typeof n!="function"&&Ie(6),r!==void 0&&typeof r!="function"&&Ie(7);let l;if(tt(t)){const o=Us(this),i=ki(t,void 0);let u=!0;try{l=n(i),u=!1}finally{u?gi(o):wi(o)}return $s(o,r),Bs(l,o)}else if(!t||typeof t!="object"){if(l=n(t),l===void 0&&(l=t),l===mf&&(l=void 0),this.autoFreeze_&&wu(l,!0),r){const o=[],i=[];Ut("Patches").generateReplacementPatches_(t,l,o,i),r(o,i)}return l}else Ie(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(i,...u)=>this.produceWithPatches(i,s=>t(s,...u));let r,l;return[this.produce(t,n,(i,u)=>{r=i,l=u}),r,l]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){tt(e)||Ie(8),kt(e)&&(e=Sf(e));const t=Us(this),n=ki(e,void 0);return n[xe].isManual_=!0,wi(t),n}finishDraft(e,t){const n=e&&e[xe];(!n||!n.isManual_)&&Ie(9);const{scope_:r}=n;return $s(r,t),Bs(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const l=t[n];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}n>-1&&(t=t.slice(n+1));const r=Ut("Patches").applyPatches_;return kt(e)?r(e,t):this.produce(e,l=>r(l,t))}};function ki(e,t){const n=Bl(e)?Ut("MapSet").proxyMap_(e,t):Hl(e)?Ut("MapSet").proxySet_(e,t):$h(e,t);return(t?t.scope_:gf()).drafts_.push(n),n}function Sf(e){return kt(e)||Ie(10,e),kf(e)}function kf(e){if(!tt(e)||Wl(e))return e;const t=e[xe];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=vi(e,t.scope_.immer_.useStrictShallowCopy_)}else n=vi(e,!0);return kl(n,(r,l)=>{vf(n,r,kf(l))}),t&&(t.finalized_=!1),n}var _e=new Bh,xf=_e.produce;_e.produceWithPatches.bind(_e);_e.setAutoFreeze.bind(_e);_e.setUseStrictShallowCopy.bind(_e);_e.applyPatches.bind(_e);_e.createDraft.bind(_e);_e.finishDraft.bind(_e);function Hh(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function Wh(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!="object")throw new TypeError(t)}function Vh(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var Ws=e=>Array.isArray(e)?e:[e];function Qh(e){const t=Array.isArray(e[0])?e[0]:e;return Vh(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function Kh(e,t){const n=[],{length:r}=e;for(let l=0;l{n=Lr(),i.resetResultsCount()},i.resultsCount=()=>o,i.resetResultsCount=()=>{o=0},i}function _f(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...l)=>{let o=0,i=0,u,s={},a=l.pop();typeof a=="object"&&(s=a,a=l.pop()),Hh(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const f={...n,...s},{memoize:h,memoizeOptions:m=[],argsMemoize:g=ku,argsMemoizeOptions:v=[],devModeChecks:S={}}=f,x=Ws(m),d=Ws(v),c=Qh(l),p=h(function(){return o++,a.apply(null,arguments)},...x),y=g(function(){i++;const E=Kh(c,arguments);return u=p.apply(null,E),u},...d);return Object.assign(y,{resultFunc:a,memoizedResultFunc:p,dependencies:c,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>u,recomputations:()=>o,resetRecomputations:()=>{o=0},memoize:h,argsMemoize:g})};return Object.assign(r,{withTypes:()=>r}),r}var Zh=_f(ku),qh=Object.assign((e,t=Zh)=>{Wh(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const n=Object.keys(e),r=n.map(o=>e[o]);return t(r,(...o)=>o.reduce((i,u,s)=>(i[n[s]]=u,i),{}))},{withTypes:()=>qh});function Ef(e){return({dispatch:n,getState:r})=>l=>o=>typeof o=="function"?o(n,r,e):l(o)}var Jh=Ef(),bh=Ef,em=(...e)=>{const t=_f(...e),n=Object.assign((...r)=>{const l=t(...r),o=(i,...u)=>l(kt(i)?Sf(i):i,...u);return Object.assign(o,l),o},{withTypes:()=>n});return n};em(ku);var tm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sl:Sl.apply(null,arguments)};function vn(e,t){function n(...r){if(t){let l=t(...r);if(!l)throw new Error(me(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Oh(r)&&r.type===e,n}var Cf=class Ln extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Ln.prototype)}static get[Symbol.species](){return Ln}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Ln(...t[0].concat(this)):new Ln(...t.concat(this))}};function Qs(e){return tt(e)?xf(e,()=>{}):e}function Ks(e,t,n){if(e.has(t)){let l=e.get(t);return n.update&&(l=n.update(l,t,e),e.set(t,l)),l}if(!n.insert)throw new Error(me(10));const r=n.insert(t,e);return e.set(t,r),r}function nm(e){return typeof e=="boolean"}var rm=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:l=!0,actionCreatorCheck:o=!0}=t??{};let i=new Cf;return n&&(nm(n)?i.push(Jh):i.push(bh(n.extraArgument))),i},lm="RTK_autoBatch",Pf=e=>t=>{setTimeout(t,e)},om=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pf(10),im=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let l=!0,o=!1,i=!1;const u=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?om:e.type==="callback"?e.queueNotification:Pf(e.timeout),a=()=>{i=!1,o&&(o=!1,u.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const h=()=>l&&f(),m=r.subscribe(h);return u.add(f),()=>{m(),u.delete(f)}},dispatch(f){var h;try{return l=!((h=f==null?void 0:f.meta)!=null&&h[lm]),o=!l,o&&(i||(i=!0,s(a))),r.dispatch(f)}finally{l=!0}}})},um=e=>function(n){const{autoBatch:r=!0}=n??{};let l=new Cf(e);return r&&l.push(im(typeof r=="object"?r:void 0)),l},sm=!0;function am(e){const t=rm(),{reducer:n=void 0,middleware:r,devTools:l=!0,preloadedState:o=void 0,enhancers:i=void 0}=e||{};let u;if(typeof n=="function")u=n;else if(gu(n))u=zh(n);else throw new Error(me(1));let s;typeof r=="function"?s=r(t):s=t();let a=Sl;l&&(a=tm({trace:!sm,...typeof l=="object"&&l}));const f=Rh(...s),h=um(f);let m=typeof i=="function"?i(h):h();const g=a(...m);return hf(u,o,g)}function Nf(e){const t={},n=[];let r;const l={addCase(o,i){const u=typeof o=="string"?o:o.type;if(!u)throw new Error(me(28));if(u in t)throw new Error(me(29));return t[u]=i,l},addMatcher(o,i){return n.push({matcher:o,reducer:i}),l},addDefaultCase(o){return r=o,l}};return e(l),[t,n,r]}function cm(e){return typeof e=="function"}function fm(e,t){let[n,r,l]=Nf(t),o;if(cm(e))o=()=>Qs(e());else{const u=Qs(e);o=()=>u}function i(u=o(),s){let a=[n[s.type],...r.filter(({matcher:f})=>f(s)).map(({reducer:f})=>f)];return a.filter(f=>!!f).length===0&&(a=[l]),a.reduce((f,h)=>{if(h)if(kt(f)){const g=h(f,s);return g===void 0?f:g}else{if(tt(f))return xf(f,m=>h(m,s));{const m=h(f,s);if(m===void 0){if(f===null)return f;throw new Error(me(9))}return m}}return f},u)}return i.getInitialState=o,i}var dm="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pm=(e=21)=>{let t="",n=e;for(;n--;)t+=dm[Math.random()*64|0];return t},hm=Symbol.for("rtk-slice-createasyncthunk");function mm(e,t){return`${e}/${t}`}function ym({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[hm];return function(l){const{name:o,reducerPath:i=o}=l;if(!o)throw new Error(me(11));typeof process<"u";const u=(typeof l.reducers=="function"?l.reducers(wm()):l.reducers)||{},s=Object.keys(u),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(p,y){const k=typeof p=="string"?p:p.type;if(!k)throw new Error(me(12));if(k in a.sliceCaseReducersByType)throw new Error(me(13));return a.sliceCaseReducersByType[k]=y,f},addMatcher(p,y){return a.sliceMatchers.push({matcher:p,reducer:y}),f},exposeAction(p,y){return a.actionCreators[p]=y,f},exposeCaseReducer(p,y){return a.sliceCaseReducersByName[p]=y,f}};s.forEach(p=>{const y=u[p],k={reducerName:p,type:mm(o,p),createNotation:typeof l.reducers=="function"};km(y)?_m(k,y,f,t):Sm(k,y,f)});function h(){const[p={},y=[],k=void 0]=typeof l.extraReducers=="function"?Nf(l.extraReducers):[l.extraReducers],E={...p,...a.sliceCaseReducersByType};return fm(l.initialState,P=>{for(let C in E)P.addCase(C,E[C]);for(let C of a.sliceMatchers)P.addMatcher(C.matcher,C.reducer);for(let C of y)P.addMatcher(C.matcher,C.reducer);k&&P.addDefaultCase(k)})}const m=p=>p,g=new Map;let v;function S(p,y){return v||(v=h()),v(p,y)}function x(){return v||(v=h()),v.getInitialState()}function d(p,y=!1){function k(P){let C=P[p];return typeof C>"u"&&y&&(C=x()),C}function E(P=m){const C=Ks(g,y,{insert:()=>new WeakMap});return Ks(C,P,{insert:()=>{const A={};for(const[R,ye]of Object.entries(l.selectors??{}))A[R]=vm(ye,P,x,y);return A}})}return{reducerPath:p,getSelectors:E,get selectors(){return E(k)},selectSlice:k}}const c={name:o,reducer:S,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:x,...d(i),injectInto(p,{reducerPath:y,...k}={}){const E=y??i;return p.inject({reducerPath:E,reducer:S},k),{...c,...d(E,!0)}}};return c}}function vm(e,t,n,r){function l(o,...i){let u=t(o);return typeof u>"u"&&r&&(u=n()),e(u,...i)}return l.unwrapped=e,l}var gm=ym();function wm(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function Sm({type:e,reducerName:t,createNotation:n},r,l){let o,i;if("reducer"in r){if(n&&!xm(r))throw new Error(me(17));o=r.reducer,i=r.prepare}else o=r;l.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,i?vn(e,i):vn(e))}function km(e){return e._reducerDefinitionType==="asyncThunk"}function xm(e){return e._reducerDefinitionType==="reducerWithPrepare"}function _m({type:e,reducerName:t},n,r,l){if(!l)throw new Error(me(18));const{payloadCreator:o,fulfilled:i,pending:u,rejected:s,settled:a,options:f}=n,h=l(e,o,f);r.exposeAction(t,h),i&&r.addCase(h.fulfilled,i),u&&r.addCase(h.pending,u),s&&r.addCase(h.rejected,s),a&&r.addMatcher(h.settled,a),r.exposeCaseReducer(t,{fulfilled:i||Ir,pending:u||Ir,rejected:s||Ir,settled:a||Ir})}function Ir(){}var Em=(e,t)=>{if(typeof e!="function")throw new Error(me(32))},xu="listenerMiddleware",Cm=e=>{let{type:t,actionCreator:n,matcher:r,predicate:l,effect:o}=e;if(t)l=vn(t).match;else if(n)t=n.type,l=n.match;else if(r)l=r;else if(!l)throw new Error(me(21));return Em(o),{predicate:l,type:t,effect:o}},Pm=Object.assign(e=>{const{type:t,predicate:n,effect:r}=Cm(e);return{id:pm(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw new Error(me(22))}}},{withTypes:()=>Pm}),Nm=Object.assign(vn(`${xu}/add`),{withTypes:()=>Nm});vn(`${xu}/removeAll`);var jm=Object.assign(vn(`${xu}/remove`),{withTypes:()=>jm});function me(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const jf=gm({name:"cart",initialState:{items:[]},reducers:{addItem:(e,t)=>{const{name:n,image:r,cost:l}=t.payload,o=e.items.find(i=>i.name===n);o?o.quantity++:e.items.push({name:n,image:r,cost:l,quantity:1})},removeItem:(e,t)=>{const{name:n}=t.payload;e.items=e.items.filter(r=>r.name!==n)},updateQuantity:(e,t)=>{const{name:n}=t.payload.item,r=t.payload.plus,l=e.items.find(o=>o.name===n);l&&(r?l.quantity++:l.quantity--)}}}),{addItem:Tm,removeItem:Gs,updateQuantity:Ys}=jf.actions,zm=jf.reducer,Rm=({onContinueShopping:e})=>{const t=ff(f=>f.cart.items),n=pf(),r=()=>t.reduce((f,h)=>f+h.quantity*h.cost.slice(1),0),l=f=>{e()},o=f=>{alert("Functionality to be added for future reference")},i=f=>{n(Ys({item:f,plus:!0}))},u=f=>{f.quantity>1?n(Ys({item:f,plus:!1})):n(Gs(f))},s=f=>{n(Gs(f))},a=f=>f.quantity*f.cost.slice(1);return _.jsxs("div",{className:"cart-container",children:[_.jsxs("h2",{style:{color:"black"},children:["Total Cart Amount: $",r()]}),_.jsx("div",{children:t.map(f=>_.jsxs("div",{className:"cart-item",children:[_.jsx("img",{className:"cart-item-image",src:f.image,alt:f.name}),_.jsxs("div",{className:"cart-item-details",children:[_.jsx("div",{className:"cart-item-name",children:f.name}),_.jsx("div",{className:"cart-item-cost",children:f.cost}),_.jsxs("div",{className:"cart-item-quantity",children:[_.jsx("button",{className:"cart-item-button cart-item-button-dec",onClick:()=>u(f),children:"-"}),_.jsx("span",{className:"cart-item-quantity-value",children:f.quantity}),_.jsx("button",{className:"cart-item-button cart-item-button-inc",onClick:()=>i(f),children:"+"})]}),_.jsxs("div",{className:"cart-item-total",children:["Total: $",a(f)]}),_.jsx("button",{className:"cart-item-delete",onClick:()=>s(f),children:"Delete"})]})]},f.name))}),_.jsx("div",{style:{marginTop:"20px",color:"black"},className:"total_cart_amount"}),_.jsxs("div",{className:"continue_shopping_btn",children:[_.jsx("button",{className:"get-started-button",onClick:f=>l(),children:"Continue Shopping"}),_.jsx("br",{}),_.jsx("button",{className:"get-started-button1",onClick:f=>o(),children:"Checkout"})]})]})};function Om(){const[e,t]=Xe.useState(!1),[n,r]=Xe.useState(!1),[l,o]=Xe.useState({}),i=pf(),u=ff(x=>x.cart.items.map(d=>d.quantity)),s=[{category:"Air Purifying Plants",plants:[{name:"Snake Plant",image:"https://cdn.pixabay.com/photo/2021/01/22/06/04/snake-plant-5939187_1280.jpg",description:"Produces oxygen at night, improving air quality.",cost:"$15"},{name:"Spider Plant",image:"https://cdn.pixabay.com/photo/2018/07/11/06/47/chlorophytum-3530413_1280.jpg",description:"Filters formaldehyde and xylene from the air.",cost:"$12"},{name:"Peace Lily",image:"https://cdn.pixabay.com/photo/2019/06/12/14/14/peace-lilies-4269365_1280.jpg",description:"Removes mold spores and purifies the air.",cost:"$18"},{name:"Boston Fern",image:"https://cdn.pixabay.com/photo/2020/04/30/19/52/boston-fern-5114414_1280.jpg",description:"Adds humidity to the air and removes toxins.",cost:"$20"},{name:"Rubber Plant",image:"https://cdn.pixabay.com/photo/2020/02/15/11/49/flower-4850729_1280.jpg",description:"Easy to care for and effective at removing toxins.",cost:"$17"},{name:"Aloe Vera",image:"https://cdn.pixabay.com/photo/2018/04/02/07/42/leaf-3283175_1280.jpg",description:"Purifies the air and has healing properties for skin.",cost:"$14"}]},{category:"Aromatic Fragrant Plants",plants:[{name:"Lavender",image:"https://images.unsplash.com/photo-1611909023032-2d6b3134ecba?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Calming scent, used in aromatherapy.",cost:"$20"},{name:"Jasmine",image:"https://images.unsplash.com/photo-1592729645009-b96d1e63d14b?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Sweet fragrance, promotes relaxation.",cost:"$18"},{name:"Rosemary",image:"https://cdn.pixabay.com/photo/2019/10/11/07/12/rosemary-4541241_1280.jpg",description:"Invigorating scent, often used in cooking.",cost:"$15"},{name:"Mint",image:"https://cdn.pixabay.com/photo/2016/01/07/18/16/mint-1126282_1280.jpg",description:"Refreshing aroma, used in teas and cooking.",cost:"$12"},{name:"Lemon Balm",image:"https://cdn.pixabay.com/photo/2019/09/16/07/41/balm-4480134_1280.jpg",description:"Citrusy scent, relieves stress and promotes sleep.",cost:"$14"},{name:"Hyacinth",image:"https://cdn.pixabay.com/photo/2019/04/07/20/20/hyacinth-4110726_1280.jpg",description:"Hyacinth is a beautiful flowering plant known for its fragrant.",cost:"$22"}]},{category:"Insect Repellent Plants",plants:[{name:"oregano",image:"https://cdn.pixabay.com/photo/2015/05/30/21/20/oregano-790702_1280.jpg",description:"The oregano plants contains compounds that can deter certain insects.",cost:"$10"},{name:"Marigold",image:"https://cdn.pixabay.com/photo/2022/02/22/05/45/marigold-7028063_1280.jpg",description:"Natural insect repellent, also adds color to the garden.",cost:"$8"},{name:"Geraniums",image:"https://cdn.pixabay.com/photo/2012/04/26/21/51/flowerpot-43270_1280.jpg",description:"Known for their insect-repelling properties while adding a pleasant scent.",cost:"$20"},{name:"Basil",image:"https://cdn.pixabay.com/photo/2016/07/24/20/48/tulsi-1539181_1280.jpg",description:"Repels flies and mosquitoes, also used in cooking.",cost:"$9"},{name:"Lavender",image:"https://images.unsplash.com/photo-1611909023032-2d6b3134ecba?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Calming scent, used in aromatherapy.",cost:"$20"},{name:"Catnip",image:"https://cdn.pixabay.com/photo/2015/07/02/21/55/cat-829681_1280.jpg",description:"Repels mosquitoes and attracts cats.",cost:"$13"}]},{category:"Medicinal Plants",plants:[{name:"Aloe Vera",image:"https://cdn.pixabay.com/photo/2018/04/02/07/42/leaf-3283175_1280.jpg",description:"Soothing gel used for skin ailments.",cost:"$14"},{name:"Echinacea",image:"https://cdn.pixabay.com/photo/2014/12/05/03/53/echinacea-557477_1280.jpg",description:"Boosts immune system, helps fight colds.",cost:"$16"},{name:"Peppermint",image:"https://cdn.pixabay.com/photo/2017/07/12/12/23/peppermint-2496773_1280.jpg",description:"Relieves digestive issues and headaches.",cost:"$13"},{name:"Lemon Balm",image:"https://cdn.pixabay.com/photo/2019/09/16/07/41/balm-4480134_1280.jpg",description:"Calms nerves and promotes relaxation.",cost:"$14"},{name:"Chamomile",image:"https://cdn.pixabay.com/photo/2016/08/19/19/48/flowers-1606041_1280.jpg",description:"Soothes anxiety and promotes sleep.",cost:"$15"},{name:"Calendula",image:"https://cdn.pixabay.com/photo/2019/07/15/18/28/flowers-4340127_1280.jpg",description:"Heals wounds and soothes skin irritations.",cost:"$12"}]},{category:"Low Maintenance Plants",plants:[{name:"ZZ Plant",image:"https://images.unsplash.com/photo-1632207691143-643e2a9a9361?q=80&w=464&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",description:"Thrives in low light and requires minimal watering.",cost:"$25"},{name:"Pothos",image:"https://cdn.pixabay.com/photo/2018/11/15/10/32/plants-3816945_1280.jpg",description:"Tolerates neglect and can grow in various conditions.",cost:"$10"},{name:"Snake Plant",image:"https://cdn.pixabay.com/photo/2021/01/22/06/04/snake-plant-5939187_1280.jpg",description:"Needs infrequent watering and is resilient to most pests.",cost:"$15"},{name:"Cast Iron Plant",image:"https://cdn.pixabay.com/photo/2017/02/16/18/04/cast-iron-plant-2072008_1280.jpg",description:"Hardy plant that tolerates low light and neglect.",cost:"$20"},{name:"Succulents",image:"https://cdn.pixabay.com/photo/2016/11/21/16/05/cacti-1846147_1280.jpg",description:"Drought-tolerant plants with unique shapes and colors.",cost:"$18"},{name:"Aglaonema",image:"https://cdn.pixabay.com/photo/2014/10/10/04/27/aglaonema-482915_1280.jpg",description:"Requires minimal care and adds color to indoor spaces.",cost:"$22"}]}],a={backgroundColor:"#4CAF50",color:"#fff!important",padding:"15px",display:"flex",justifyContent:"space-between",alignIems:"center",fontSize:"20px"},f={display:"flex",justifyContent:"space-between",alignItems:"center",width:"1100px"},h={color:"white",fontSize:"30px",textDecoration:"none"},m=x=>{x.preventDefault(),t(!0)},g=x=>{x.preventDefault(),r(!0),t(!1)},v=x=>{x.preventDefault(),r(!0),t(!1)},S=x=>{i(Tm(x)),o(d=>({...d,[x.name]:!0}))};return _.jsxs("div",{children:[_.jsxs("div",{className:"navbar",style:a,children:[_.jsx("div",{className:"tag",children:_.jsxs("div",{className:"luxury",children:[_.jsx("img",{src:"https://cdn.pixabay.com/photo/2020/08/05/13/12/eco-5465432_1280.png",alt:""}),_.jsx("a",{href:"/",style:{textDecoration:"none"},children:_.jsxs("div",{children:[_.jsx("h3",{style:{color:"white"},children:"Paradise Nursery"}),_.jsx("i",{style:{color:"white"},children:"Where Green Meets Serenity"})]})})]})}),_.jsxs("div",{style:f,children:[_.jsxs("div",{children:[" ",_.jsx("a",{href:"#",onClick:x=>g(x),style:h,children:"Plants"})]}),_.jsxs("div",{children:[" ",_.jsx("a",{href:"#",onClick:x=>m(x),style:h,children:_.jsxs("h1",{className:"cart",children:[u.reduce((x,d)=>x+d,0),_.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",id:"IconChangeColor",height:"68",width:"68",children:[_.jsx("rect",{width:"156",height:"156",fill:"none"}),_.jsx("circle",{cx:"80",cy:"216",r:"12"}),_.jsx("circle",{cx:"184",cy:"216",r:"12"}),_.jsx("path",{d:"M42.3,72H221.7l-26.4,92.4A15.9,15.9,0,0,1,179.9,176H84.1a15.9,15.9,0,0,1-15.4-11.6L32.5,37.8A8,8,0,0,0,24.8,32H8",fill:"none",stroke:"#faf9f9","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",id:"mainIconPathAttribute"})]})]})})]})]})]}),e?_.jsx(Rm,{onContinueShopping:v}):_.jsx("div",{className:"product-grid",children:s.map((x,d)=>_.jsxs("div",{children:[_.jsx("h1",{children:_.jsx("div",{children:x.category})}),_.jsx("div",{className:"product-list",children:x.plants.map((c,p)=>_.jsxs("div",{className:"product-card",children:[_.jsx("img",{className:"product-image",src:c.image,alt:c.name}),_.jsx("div",{className:"product-title",children:c.name}),_.jsx("p",{children:c.description}),_.jsx("div",{className:"product-cost",children:c.cost}),_.jsx("button",{className:"product-button",onClick:()=>S(c),children:"Add to Cart"})]},p))})]},d))})]})}function Mm(){return _.jsxs("div",{className:"about-us-container",children:[_.jsx("p",{className:"about-us-description",children:"Welcome to Paradise Nursery, where green meets serenity!"}),_.jsx("p",{className:"about-us-content",children:"At Paradise Nursery, we are passionate about bringing nature closer to you. Our mission is to provide a wide range of high-quality plants that not only enhance the beauty of your surroundings but also contribute to a healthier and more sustainable lifestyle. From air-purifying plants to aromatic fragrant ones, we have something for every plant enthusiast."}),_.jsx("p",{className:"about-us-content",children:"Our team of experts is dedicated to ensuring that each plant meets our strict standards of quality and care. Whether you're a seasoned gardener or just starting your green journey, we're here to support you every step of the way. Feel free to explore our collection, ask questions, and let us help you find the perfect plant for your home or office."}),_.jsx("p",{className:"about-us-content",children:"Join us in our mission to create a greener, healthier world. Visit Paradise Nursery today and experience the beauty of nature right at your doorstep."})]})}function Dm(){const[e,t]=Xe.useState(!1),n=()=>{t(!0)};return _.jsxs("div",{className:"app-container",children:[_.jsxs("div",{className:`landing-page ${e?"fade-out":""}`,children:[_.jsx("div",{className:"background-image"}),_.jsxs("div",{className:"content",children:[_.jsxs("div",{className:"landing_content",children:[_.jsx("h1",{children:"Welcome To Paradise Nursery"}),_.jsx("div",{className:"divider"}),_.jsx("p",{children:"Where Green Meets Serenity"}),_.jsx("button",{className:"get-started-button",onClick:n,children:"Get Started"})]}),_.jsx("div",{className:"aboutus_container",children:_.jsx(Mm,{})})]})]}),_.jsx("div",{className:`product-list-container ${e?"visible":""}`,children:_.jsx(Om,{})})]})}const Lm=am({reducer:{cart:zm}});_o.createRoot(document.getElementById("root")).render(_.jsx(Pi.StrictMode,{children:_.jsx(Eh,{store:Lm,children:_.jsx(Dm,{})})})); diff --git a/dist/assets/index-Dw6qcql4.css b/dist/assets/index-Dw6qcql4.css new file mode 100644 index 000000000..f7b064fb7 --- /dev/null +++ b/dist/assets/index-Dw6qcql4.css @@ -0,0 +1 @@ +body,h1,ul{margin:0;padding:0}body{font-family:Arial,sans-serif;background-color:#f0f0f0}.navbar{background-color:#4caf50;color:#fff!important;padding:15px;display:flex;justify-content:space-between;align-items:center;font-size:20px}.navbar .ul{display:flex;justify-content:space-between;align-items:center;width:1100px}.navbar li{margin-right:30px}.navbar .ul div a{color:#fff;font-size:30px;text-decoration:none}.product-grid{display:flex;flex-direction:column;width:100vw;align-items:center;justify-content:center}.product-list{display:flex;flex-wrap:wrap;gap:50px;padding:20px;width:100%;align-items:center;justify-content:center}.product-card{flex:0 0 calc(33.33% - 20px);max-width:calc(26.33% - 20px);margin-bottom:20px;padding:20px;background-color:#fff;border:1px solid #ccc;border-radius:5px;text-align:center;position:relative;gap:20px}.product-card:hover{transform:scale(1.05);transition:transform .3s ease-in-out;z-index:1}.product-title{font-weight:700;margin-bottom:10px}.product-price{color:#e74c3c;font-size:1.2rem;margin-bottom:10px}.product-image{max-width:100%;height:200px}.product-button{background-color:#e74c3c;color:#fff;border:none;padding:10px 20px;cursor:pointer;transition:background-color .3s ease-in-out;margin-top:10px}.product-button:hover{background-color:#c0392b}.product-card:before{content:"SALE";background-color:#e74c3c;color:#fff;position:absolute;top:0;right:0;padding:5px 10px;border-radius:0 0 0 5px}.tag_home_link{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-left:50px;color:#fff;text-decoration:none;font-size:20px}.tag_home_link h3{font-size:30px}.tag a{text-decoration:none}.tag{width:400px;display:flex;align-items:center;justify-content:center}.tag img{height:70px;width:70px;border-radius:70%}.luxury{display:flex;align-items:center;justify-content:center;width:650px;font-size:19px}.cart{color:#fff;display:flex}.cart_quantity_count{margin-top:16px;margin-left:27px;position:absolute;font-size:29px}.plantname_heading{display:flex;align-items:center;justify-content:center}.plant_heading{width:400px;text-align:center;margin:20px;border:1px solid rgb(5,4,4);border-left:none;border-right:none}@media (max-width: 768px){.product-card{flex:1 1 calc(50% - 20px);max-width:calc(50% - 20px)}}.product-button{background-color:#4caf50;border:none;color:#fff;padding:10px 20px;text-align:center;text-decoration:none;display:inline-block;font-size:16px;margin:4px 2px;transition-duration:.4s;cursor:pointer}.product-button:hover{background-color:#45a049}.product-button.added-to-cart{background-color:gray}@media (max-width: 1200px){.product-card{flex:1 1 calc(33.33% - 20px);max-width:calc(33.33% - 20px)}}@media (max-width: 768px){.product-card{flex:1 1 calc(50% - 20px);max-width:calc(50% - 20px)}.navbar{flex-direction:column;align-items:center}.tag{margin-bottom:20px;text-align:center}.ul{display:flex;flex-direction:column;gap:10px}.ul div{text-align:center}}.cart-item{display:flex;border-bottom:1px solid #ccc;padding:10px 0;background-color:#fff;width:500px;gap:30px}.cart-item-image{width:200px;height:200px;margin-right:20px}.cart-item-details{flex-grow:1}.cart-item-name{font-weight:700;margin-bottom:5px;font-size:25px}.cart-item-cost{margin-bottom:10px;margin-top:10px}.cart-item-quantity{display:flex;align-items:center;margin-bottom:15px}.cart-item-button{background-color:#f0f0f0;border:1px solid lightgrey;color:#333;font-size:18px;cursor:pointer;padding:5px 10px;margin:0 5px;border-radius:5px}.cart-item-quantity-value{font-size:16px;font-weight:700;margin:0 10px}.cart-item-total{font-weight:700}.cart-item-delete{background-color:#ff6961;border:none;color:#fff;font-size:14px;cursor:pointer;padding:10px 15px;margin-top:10px;border-radius:10px}.cart-item-delete:hover{background-color:#c00}@media (max-width: 768px){.cart-item{flex-direction:column;align-items:flex-start;width:100%}.cart-item-image{width:100%;height:auto;margin-right:0;margin-bottom:10px}.cart-item-details{width:100%}.cart-item-quantity{margin-top:10px}}.cart-container{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:20px;margin-top:20px}.total_cart_amount{font-size:20px;font-weight:900}.continue_shopping_btn{margin-top:-50px}@media (max-width: 768px){.cart-container{padding:10px}.total_cart_amount{font-size:18px}}.get-started-button1{padding:15px 75px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}*{margin:0;padding:0;box-sizing:border-box;overflow:hidden}.landing-page{position:relative;width:100vw;height:100vh;background-color:#f8f8f8}.background-image{position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(https://cdn.pixabay.com/photo/2017/07/13/08/59/greenhouse-2499758_1280.jpg);background-size:100% 100%;background-position:center;filter:brightness(.8)}.content{display:flex;align-items:center;justify-content:center;height:100vh;width:100vw;top:100px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#00000080;gap:20px}.landing_content{margin-top:430px;margin-left:100px;transform:translate(-50%,-50%);z-index:1;text-align:center;width:400px;height:400px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:10px}.content p,.content h1{color:#fff}.content h1{font-size:48px;margin-bottom:10px}.content p{font-size:25px}.divider{width:50px;height:2px;background-color:#4caf50;margin:10px 0}.get-started-button{padding:15px 25px;font-size:23px;border:none;border-radius:5px;background-color:#4caf50;color:#fff;cursor:pointer;transition:background-color .3s ease;margin-top:40px}.get-started-button:hover{background-color:#45a049}.product-list-container{position:absolute;overflow-x:hidden;top:100vh;left:0;width:100%;height:100vh;background-color:#ffffffe6;transition:top .5s ease;overflow-y:auto;z-index:2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.product-list-container.visible{top:0}@media screen and (max-width: 768px){.content{flex-direction:column;align-items:center;width:100vw;height:100vh}.landing_content{margin-top:100px;margin-left:0;width:80%;text-align:center}.aboutus_container{margin-top:20px;width:80%}}@media screen and (max-width: 480px){.landing_content{margin-top:50px;width:90%}.aboutus_container{width:90%}}.about-us-container{width:1000px;text-align:justify}.about-us-heading{font-size:32px;font-weight:700;color:#333;margin-bottom:20px}.about-us-description{font-size:18px;color:#666;margin-bottom:30px;text-align:center}.about-us-content{font-size:18px;margin-bottom:20px}.plant_logo_right{text-align:right}.plant_logo_left{text-align:left} diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 000000000..ea7a86543 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,16 @@ + + + + + + + E-Plant + + + + + + +
+ + diff --git a/dist/vite.svg b/dist/vite.svg new file mode 100644 index 000000000..e7b8dfb1b --- /dev/null +++ b/dist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file From 58f229143e95a1bb1ba484fe6da79476c7bf64ac Mon Sep 17 00:00:00 2001 From: Nikita <44064247+issverg@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:34:53 +0200 Subject: [PATCH 07/10] Update vite.config.js --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 4d190ae43..f85a45206 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,6 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ - base: "/shoppingreact", + base: "https://issverg.github.io/e-plantShopping/", plugins: [react()], }) From 6a3569d73efef24145451c69fee218c05ac2c64b Mon Sep 17 00:00:00 2001 From: issverg Date: Wed, 11 Dec 2024 20:37:25 +0200 Subject: [PATCH 08/10] reuploaded build --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 4d190ae43..f85a45206 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,6 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ - base: "/shoppingreact", + base: "https://issverg.github.io/e-plantShopping/", plugins: [react()], }) From 2406600e4999c0f546ab7c0ca29528eaf41e6713 Mon Sep 17 00:00:00 2001 From: Nikita <44064247+issverg@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:42:01 +0200 Subject: [PATCH 09/10] Add files via upload --- dist/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.html b/dist/index.html index ea7a86543..413bb25cf 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2,13 +2,13 @@ - + E-Plant - - + +
From 0c5a7d9fb6b8f587539119d80349079ca023afbc Mon Sep 17 00:00:00 2001 From: Nikita <44064247+issverg@users.noreply.github.com> Date: Wed, 11 Dec 2024 20:47:43 +0200 Subject: [PATCH 10/10] Add files via upload --- dist/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.html b/dist/index.html index 413bb25cf..fb03fa126 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2,13 +2,13 @@ - + E-Plant - - + +