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IAAI,SAC/H,cAAG3C,KAAK,wCAAwC6D,OAAO,SAASuE,IAAI,aAApE,UAAiF,gBAAK1F,IAAI,gCAAgCC,IAAI,QAC9H,eAAG3C,KAAK,sCAAsC6D,OAAO,SAASuE,IAAI,aAAlE,UAA+E,KAAC,gBAAK1F,IAAI,8BAA8BC,IAAI,SAC3H,eAAG3C,KAAK,2BAA2B6D,OAAO,SAASuE,IAAI,aAAvD,UAAoE,KAAC,gBAAK1F,IAAI,8BAA8BC,IAAI,SAChH,eAAGkB,OAAO,SAAS7D,KAAK,+CAA+CoI,IAAI,aAA3E,UAAwF,KAAC,gBAAK1F,IAAI,+BAA+BC,IAAI,kBAIjJ,iBAAKV,UAAU,oCAAf,WACI,gBAAKA,UAAU,qHAAf,UACI,cAAGA,UAAU,iBAAb,SAA8B,kEAElC,gBAAKA,UAAU,sDAAf,UACI,gBAAKS,IAAI,gCAAgCT,UAAU,UAAUU,IAAI,yBAO5F,EC3ED,EARmB,kBACf,iCACI,SAAC,EAAD,KACA,SAAC,KAAD,KACA,SAAC,EAAD,MAJW,C","sources":["components/Common/Cart.jsx","components/Layout/Header.jsx","components/Layout/Footer.jsx","components/Layout/MainLayout.jsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { Link, useNavigate } from 'react-router-dom';\r\nimport { toast } from 'react-toastify';\r\nimport { ApiCall } from '../../EnvConfig/env_config';\r\nimport { decreaseItemQuantity, increaseItemQuantity, removeFromCart, setCartModal } from '../../features/addToCartSlice';\r\nimport ModalData from './Modal';\r\n\r\nfunction Cart({ carttoggle }) {\r\n const dispatch = useDispatch()\r\n const { cart } = useSelector(state => state.addToCartDetails)\r\n const [simDetails, setSimDetails] = useState([])\r\n const navigate = useNavigate()\r\n const [detailsModal, setDetailsModal] = useState(false)\r\n const [modalDetails, setModaldetails] = useState({\r\n NetworkID: '',\r\n planId: \"\"\r\n })\r\n const authEmail = localStorage.getItem('emailID')\r\n const authLoginToken = localStorage.getItem('loginToken')\r\n const authLoginUserCode = localStorage.getItem('loginUserCode')\r\n const authenticated = authEmail !== null && authLoginToken !== null && authLoginUserCode !== null;\r\n const url = new URL(window.location.href);\r\n const pathName = url.pathname;\r\n const [newSimOrAddOnPlan, setNewSimOrAddOnPlan] = useState([]);\r\n\r\n const deleteCartItem = (planID) => {\r\n dispatch(removeFromCart(planID))\r\n }\r\n const handleSimTypeChange = async(simType, index) => {\r\n\r\n if (simType === 'topUp') {\r\n await GetQRCodeDetails()\r\n }\r\n \r\n const updatedPlans = [...newSimOrAddOnPlan];\r\n updatedPlans[index] = {\r\n ...updatedPlans[index],\r\n newSim: simType === \"newSim\" ? true : false,\r\n topUpRecharge: simType === \"topUp\" ? true : false,\r\n simNumber: ''\r\n };\r\n setNewSimOrAddOnPlan(updatedPlans);\r\n }\r\n const handleCheckOut = async () => {\r\n const updatedCart = cart?.map((item, index) => ({\r\n ...item,\r\n simOptions: newSimOrAddOnPlan[index]\r\n }));\r\n const allSimOptionsDefined = updatedCart.every(item => item.simOptions !== undefined);\r\n\r\n if (!allSimOptionsDefined) {\r\n toast.error(\"Please choose sim option\");\r\n return; \r\n }\r\n await localStorage.setItem('cartProduct', JSON.stringify(updatedCart));\r\n dispatch(setCartModal(false))\r\n if (pathName === \"/checkout\") {\r\n window.location.reload()\r\n }\r\n if (authenticated) {\r\n navigate(\"/checkout\")\r\n } else {\r\n navigate(\"/authentication\")\r\n }\r\n }\r\n\r\n const GetQRCodeDetails = async () => {\r\n let request = {\r\n Emailid: authEmail,\r\n };\r\n try {\r\n const response = await ApiCall(`/api/Web/GetQRCodeDetails`, request);\r\n if (response.status === 'SUCCESS') {\r\n setSimDetails(response.simDetail)\r\n } else if (response.status === 'ERROR') {\r\n setSimDetails([])\r\n // toast.error(response.message);\r\n }\r\n } catch (error) {\r\n toast.error('There was a problem with the server, Please try again later');\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (cart) {\r\n const initialPlans = cart?.map(() => ({\r\n newSim: true,\r\n topUpRecharge: false,\r\n simNumber: ''\r\n }));\r\n setNewSimOrAddOnPlan(initialPlans);\r\n }\r\n }, [cart, dispatch]);\r\n\r\n useEffect(() => {\r\n if (authenticated) {\r\n GetQRCodeDetails()\r\n }\r\n }, [authenticated, carttoggle])\r\n\r\n return (\r\n <>\r\n
showDetailsModal(e, item.networkID, item.planID)}\r\n >\r\n {item?.planName ? item.planName.substring(0, 20) : ''}\r\n
\r\nYou haven't added products to the cart!
\r\n dispatch(setCartModal(false))}\r\n >\r\n Shop Now!\r\n \r\n