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GAAAnB,EAAAM,GAAA,EAACkB,IAAAA,UAAE,cACH,GAAAxB,EAAAM,GAAA,EAACkB,IAAAA,UAAE,gDAhEb,GAAAxB,EAAAM,GAAA,EAACE,EAAAA,OAAIA,CAAAA,CACHC,KAAK,SACLtB,UAAU,+DACVuB,MAAM,iBACP,mBAwEf","sources":["webpack://_N_E/./src/components/common/Footer/constants.tsx","webpack://_N_E/./src/components/common/Footer/index.tsx","webpack://_N_E/./src/components/common/TopNav/MenuItems.tsx","webpack://_N_E/./src/components/common/TopNav/index.tsx","webpack://_N_E/./src/components/common/Footer/styles.scss","webpack://_N_E/./src/components/common/TopNav/styles.scss","webpack://_N_E/./src/components/common/UI/WebLayout/style.scss","webpack://_N_E/<anon>"],"sourcesContent":["export interface MenuListProps {\n id: string;\n label: string;\n link: string;\n}\n\nexport interface FooterMenuProps {\n id: string;\n name: string;\n list: MenuListProps[];\n}\n\nexport const footerMenus: FooterMenuProps[] = [\n {\n id: '1',\n name: 'Policy',\n list: [\n {\n id: '11',\n label: 'Privacy Policy',\n link: '/privacy-policy'\n },\n {\n id: '12',\n label: 'Terms & Condition',\n link: '/terms-and-condition'\n },\n {\n id: '13',\n label: 'Disclaimer',\n link: '/disclaimer'\n },\n {\n id: '14',\n label: 'Cancellation and Refunds',\n link: '/cancellation-refunds'\n }\n ]\n },\n {\n id: '2',\n name: 'Useful Link',\n list: [\n {\n id: '21',\n label: 'Home',\n link: '/'\n },\n {\n id: '22',\n label: 'About',\n link: '/about-us'\n },\n {\n id: '23',\n label: 'Log in',\n link: '/login'\n },\n {\n id: '24',\n label: 'Sign up',\n link: '/register'\n }\n ]\n }\n];\n","'use client';\nimport React, { useEffect, useState } from 'react';\nimport Image from 'next/image';\nimport Link from 'next/link';\nimport { WhatsAppUrl, WhataAppMessage } from '@/constants';\nimport { footerMenus, FooterMenuProps, MenuListProps } from './constants';\nimport './styles.scss';\nimport CourseSelectionDialog from '@/components/common/CourseSelectionDialog';\nimport { isLoggedIn } from '@/utils';\nimport { useAppContext } from '@/contexts/AppContextProvider';\n\ninterface FooterProps {\n className?: string;\n}\n\nconst Footer: React.FC<FooterProps> = ({ className }) => {\n const [open, setOpen] = useState(false);\n const { userDetail } = useAppContext();\n const sendMessage = () => {\n let url = `${WhatsAppUrl}/`;\n\n if (WhataAppMessage) {\n url += `?text=${encodeURI(WhataAppMessage)}`;\n }\n\n window.open(url, '_blank');\n };\n\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n const [data, setData] = useState<string>();\n useEffect(() => {\n setData(location.pathname);\n }, [location.pathname]);\n\n return (\n <>\n <section\n className={`pt-20 pb-10 padding-space-set-mobile-view footer-content ${\n data === '/my-course' ||\n data === '/profile' ||\n data === '/order' ||\n data === '/privacy-privacy' ||\n data === '/terms-and-condition' ||\n data === '/disclaimer' ||\n data === '/cancellation-refunds'\n ? 'footer-top-border'\n : ''\n }\n ${data === '/vocals-live-course' ? 'footer-has-bottom-space' : ''}\n ${data === '/adults-live-course' ? 'footer-has-bottom-space' : ''}\n ${data === '/kids-classes-age-6-12' ? 'footer-has-bottom-space' : ''}\n ${className}`}\n >\n <div className=\"section-container\">\n <div className=\"grid grid-cols-3 gap-6 sm:gap-5 count-content\">\n <div className=\"ContactUs\">\n <h2>Contact</h2>\n <Link\n className=\"text-white\"\n href=\"mailto:support@artfills.com\"\n title=\"email\"\n >\n <Image\n src=\"/Icon-zocial-email.png\"\n alt=\"email\"\n title=\"email\"\n width={23}\n height={16}\n className=\"inline-block mr-3\"\n />\n support@artfills.com\n </Link>\n <div className=\"flex items-center mt-4 mb-7 sm:mt-6 sm:mb-9 margin-set-25\">\n <Link\n href=\"https://www.facebook.com/Artfillsedu/?_ga=2.55021922.879494431.1713784979-949683771.1712674412\"\n className=\"cursor-pointer\"\n target=\"_blank\"\n title=\"facebook\"\n >\n <Image\n src=\"/Icon-awesome-facebook-f.png\"\n alt=\"facebook\"\n title=\"facebook\"\n width={17}\n height={29}\n className=\"mr-6\"\n />\n </Link>\n <Link\n href=\"https://www.instagram.com/artfills.indianarts/?_ga=2.46611822.879494431.1713784979-949683771.1712674412\"\n className=\"cursor-pointer\"\n target=\"_blank\"\n title=\"instagram\"\n >\n <Image\n src=\"/insta-icon.png\"\n alt=\"instagram\"\n title=\"instagram\"\n width={27}\n height={27}\n className=\"mr-6\"\n />\n </Link>\n <Link\n href=\"https://www.youtube.com/channel/UCiRhEkDumDnrYx7TpNMgn2A?_ga=2.46611822.879494431.1713784979-949683771.1712674412\"\n className=\"cursor-pointer\"\n target=\"_blank\"\n title=\"youtube\"\n >\n <Image\n src=\"/Icon-awesome-youtube.png\"\n alt=\"you-tube\"\n title=\"you-tube\"\n width={31}\n height={22}\n className=\"mr-6\"\n />\n </Link>\n </div>\n <button\n className=\"recommendBtn p-3 rounded-xl text-white min-w-56 margin-bottom-set-50\"\n onClick={sendMessage}\n >\n <p>Recommend</p>\n <p>Artfills to Friends and Family</p>\n </button>\n </div>\n <span>\n <Image\n src=\"/booking-form-bg.png\"\n alt=\"Testimonial Divider\"\n title=\"Testimonial Divider\"\n width={289}\n height={289}\n className=\"mx-auto\"\n />\n </span>\n\n {footerMenus.map((menu: FooterMenuProps) => (\n <div key={menu.id} className=\"policy margin-bottom-set-50\">\n <h2>{menu.name}</h2>\n <ul className=\"text-2xl\">\n {menu.list.map((m: MenuListProps) => (\n <li key={m.id}>\n {(!userDetail?.id && !isLoggedIn()) ||\n (m.label !== 'Sign up' && m.label !== 'Log in') ? (\n m.label === 'Sign up' ? (\n <Link\n href=\"#\"\n className=\"cursor-pointer\"\n onClick={(e) => {\n e.preventDefault();\n handleOpen();\n }}\n >\n {m.label}\n </Link>\n ) : (\n <Link href={m.link} title={m.label}>\n {m.label}\n </Link>\n )\n ) : null}\n </li>\n ))}\n </ul>\n </div>\n ))}\n </div>\n <div className=\"footer-bottom-tag\">\n <p>\n Made with<small className=\"px-1\">♥</small>by Indian Artists\n </p>\n </div>\n </div>\n <CourseSelectionDialog open={open} handleClose={handleClose} />\n </section>\n <div className=\"copyright-section\">\n <p>\n “Copyright © 2022-2025 Artfills Online Learning Pvt Ltd. All\n rights reserved.”\n </p>\n </div>\n </>\n );\n};\n\nexport default React.memo(Footer);\n","'use client';\nimport React, { Fragment, useEffect, useState } from 'react';\nimport { Menu, Transition } from '@headlessui/react';\nimport { useRouter } from 'next/navigation';\nimport menuItems from './menuItems.json';\n\nfunction classNames(...classes: string[]) {\n return classes.filter(Boolean).join(' ');\n}\n\ninterface Item {\n key: string;\n title: string;\n desc: string;\n link: string;\n active: boolean;\n order: number;\n}\n\nconst MenuItems: React.FC = () => {\n const router = useRouter();\n const handleMenuItemClick = (menuLink: string) => {\n router.push(menuLink);\n };\n\n const activeMenuItems = menuItems\n .filter((item: Item) => item.active)\n .sort((a, b) => a.order - b.order);\n\n const [data, setData] = useState<string>();\n useEffect(() => {\n setData(location.pathname);\n }, [location.pathname]);\n\n return (\n <Transition\n as={Fragment}\n enter=\"transition ease-out duration-100\"\n enterFrom=\"transform opacity-0 scale-95\"\n enterTo=\"transform opacity-100 scale-100\"\n leave=\"transition ease-in duration-75\"\n leaveFrom=\"transform opacity-100 scale-100\"\n leaveTo=\"transform opacity-0 scale-95\"\n >\n <Menu.Items\n className={`absolute overflow-hidden dropdownBg left-0 z-10 mt-2 w-max w-mobile-port origin-top-right rounded-3xl shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none\n ${data === '/kids-classes-age-6-12' ? 'white-menu' : ''}\n `}\n >\n <div>\n {activeMenuItems.map((menuItem) => (\n <Menu.Item key={menuItem.key}>\n {({ active }) => (\n <a\n href=\"javascript:void(0)\"\n onClick={() => handleMenuItemClick(menuItem.link)}\n className={classNames(\n active || location.pathname === menuItem.link\n ? 'activeLink text-white'\n : 'text-white',\n 'block px-5 py-2.5 text-xl border-b border-gray-700'\n )}\n >\n <span\n className={classNames(\n active || location.pathname === menuItem.link\n ? 'orangeTextActive'\n : 'orangeText'\n )}\n >\n {menuItem.title}\n </span>\n {menuItem.desc}\n </a>\n )}\n </Menu.Item>\n ))}\n </div>\n </Menu.Items>\n </Transition>\n );\n};\n\nexport default React.memo(MenuItems);\n","'use client';\nimport React, { useState, useCallback, useRef, useEffect } from 'react';\nimport Image from 'next/image';\nimport { Menu } from '@headlessui/react';\nimport { useRouter } from 'next/navigation';\nimport MenuItems from './MenuItems';\nimport Link from 'next/link';\nimport { deleteCookieByName } from '@/utils/cookies';\nimport { WhatsAppUrl, WhataAppMessage, WhatsAppNo } from '@/constants';\nimport './styles.scss';\nimport { isLoggedIn } from '@/utils';\nimport { useAppContext } from '@/contexts/AppContextProvider';\ninterface TopNavProps {\n className?: string;\n}\n\nconst TopNav: React.FC<TopNavProps> = ({ className }) => {\n const {\n updateUserDispatch,\n updateCouponCodeDispatch,\n addUpdateCourseDispatch,\n userTypeDispatch\n } = useAppContext();\n const route = useRouter();\n\n const sideMenuRef = useRef<HTMLDivElement>(null);\n\n const [isMenuOpen, setMenuOpen] = useState(false);\n\n const openSideMenu = useCallback(() => {\n setMenuOpen((pre) => !pre);\n }, []);\n\n const sendMessage = () => {\n let url = `${WhatsAppUrl}/`;\n\n if (WhataAppMessage) {\n url += `?text=${encodeURI(WhataAppMessage)}`;\n }\n\n window.open(url, '_blank');\n };\n\n const sendSupportMessage = () => {\n let url = `${WhatsAppUrl}/${WhatsAppNo}`;\n if (WhataAppMessage) {\n url += `?text=${encodeURI(WhataAppMessage)}`;\n }\n window.open(url, '_blank');\n };\n\n const handleClickOutside = useCallback((event: MouseEvent) => {\n if (\n sideMenuRef.current &&\n !sideMenuRef.current.contains(event.target as Node)\n ) {\n setMenuOpen(false);\n }\n }, []);\n\n useEffect(() => {\n if (isMenuOpen) {\n document.addEventListener('mousedown', handleClickOutside);\n } else {\n document.removeEventListener('mousedown', handleClickOutside);\n }\n\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [isMenuOpen, handleClickOutside]);\n\n return (\n <header\n className={`header fixed top-0 left-0 right-0 ${className} ${isLoggedIn() ? 'user-log-in' : ''}\n ${location.pathname === '/profile' ? 'header-black' : ''}\n ${location.pathname === '/checkout' ? 'header-black' : ''}\n `}\n >\n <div className=\"section-container-fluids\">\n <nav className=\"mx-auto flex max-w-8xl items-center justify-between px-11 pb-2.5 pt-3 2xl:pt-3.5 \">\n <div className=\"flex lg:flex-1 logo-content items-center\">\n <div className=\"logo-align-port w-32 2xl:w-40\">\n <Link href=\"/\" title=\"home\">\n <Image\n src=\"/logo.png\"\n alt=\"Artfills logo\"\n title=\"Artfills logo\"\n width={155}\n height={54}\n priority\n className=\"logo-light\"\n />\n <Image\n src=\"/logo-dark.svg\"\n alt=\"Save upto devider\"\n title=\"Save upto devider\"\n width={155}\n height={54}\n className=\"logo-dark\"\n />\n </Link>\n </div>\n\n <Menu as=\"div\" className=\"relative inline-block text-left ml-6\">\n <div>\n <Menu.Button className=\"uppercase header-btn inline-flex w-full items-center justify-center text-md gap-x-1.5 px-3 py-2 text-md text-white\">\n Courses\n <Image\n src=\"/dropdownIcon.png\"\n alt=\"Course Dropdown\"\n title=\"Course Dropdown\"\n width={22}\n height={22}\n />\n </Menu.Button>\n </div>\n <MenuItems />\n </Menu>\n </div>\n <div className=\"lg:flex lg:justify-end\">\n {!isLoggedIn() ? (\n <Link\n href=\"/login\"\n className=\"loginBtn py-1.5 px-9 rounded-lg text-xl uppercase text-white\"\n title=\"login\"\n >\n Log in\n </Link>\n ) : (\n <div\n className={`side-navigation-menu ${isMenuOpen ? 'menu-open' : ''}`}\n ref={sideMenuRef}\n >\n <span className=\"menu-toggle\" onClick={() => openSideMenu()}>\n <span></span>\n <span></span>\n <span></span>\n </span>\n <aside className=\"side-bar-wrap\">\n <ul className=\"menu-item\">\n <li>\n <Link href=\"/my-course\" aria-current=\"page\">\n Enrolled courses\n </Link>\n </li>\n <li>\n <Link href=\"/profile\">My account</Link>\n </li>\n <li>\n <Link\n title=\"Logout\"\n href=\"/\"\n onClick={() => {\n deleteCookieByName('token');\n if (addUpdateCourseDispatch) {\n addUpdateCourseDispatch('');\n }\n if (updateUserDispatch) updateUserDispatch(null);\n if (updateCouponCodeDispatch)\n updateCouponCodeDispatch(null);\n setMenuOpen(false);\n route.push('/');\n if (userTypeDispatch) {\n userTypeDispatch('');\n }\n }}\n >\n Logout\n </Link>\n </li>\n <li className=\"whatsapp_share_header\">\n <button\n title=\"Support\"\n onClick={sendSupportMessage}\n className=\"recommendBtn p-3 rounded-xl text-white min-w-56 margin-bottom-set-50\"\n >\n <span>Support</span>\n </button>\n </li>\n <li className=\"whatsapp_share_header\">\n <button\n className=\"recommendBtn p-3 rounded-xl text-white min-w-56 margin-bottom-set-50\"\n onClick={sendMessage}\n >\n <p>Recommend</p>\n <p>Artfills to Friends and Family</p>\n </button>\n </li>\n </ul>\n </aside>\n </div>\n )}\n </div>\n </nav>\n </div>\n </header>\n );\n};\n\nexport default React.memo(TopNav);\n","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin"],"names":["footerMenus","id","name","list","label","link","common_Footer","React","className","param","open","setOpen","useState","userDetail","useAppContext","handleOpen","data","setData","useEffect","location","pathname","jsx_runtime","jsxs","Fragment","section","concat","div","jsx","h2","Link","href","title","Image","src","alt","width","height","target","button","onClick","url","WhatsAppUrl","WhataAppMessage","encodeURI","window","p","span","map","menu","ul","li","isLoggedIn","m","e","preventDefault","small","CourseSelectionDialog","handleClose","classNames","_len","arguments","length","classes","_key","filter","Boolean","join","TopNav_MenuItems","router","useRouter","handleMenuItemClick","push","menuLink","activeMenuItems","menuItems","item","active","sort","a","b","order","Transition","as","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Menu","Items","Item","menuItem","desc","key","common_TopNav","updateUserDispatch","updateCouponCodeDispatch","addUpdateCourseDispatch","userTypeDispatch","route","sideMenuRef","useRef","isMenuOpen","setMenuOpen","openSideMenu","useCallback","pre","handleClickOutside","current","contains","event","document","addEventListener","removeEventListener","header","nav","priority","Button","MenuItems","ref","aside","aria-current","deleteCookieByName","WhatsAppNo"],"sourceRoot":""}