{"version":3,"sources":["routers/ScrollToTop.tsx","images/bhLogo.png","shared/Logo/Logo.tsx","shared/SocialsList/SocialsList.tsx","shared/Footer/Footer.tsx","utils/twFocusClass.ts","shared/Button/Button.tsx","shared/Button/ButtonPrimary.tsx","images/singleGeo.jpg","components/SectionHero/SectionHero.tsx","shared/Button/ButtonCircle.tsx","images/KingCrab.jpg","utils/isInViewPortIntersectionObserver.ts","images/placeholder-large.png","images/placeholder-large-h.png","shared/NcImage/NcImage.tsx","shared/Input/Input.tsx","components/SectionSubscribe2/SectionSubscribe2.tsx","components/BgGlassmorphism/BgGlassmorphism.tsx","components/Banner/Banner.tsx","images/banner1.jpg","images/banner2.jpg","images/banner3.jpg","images/banner4.jpg","images/banner5.jpg","containers/PageHome/PageHome.tsx","shared/Navigation/NavigationItem.tsx","utils/ncNanoId.ts","data/navigation.ts","shared/Navigation/Navigation.tsx","shared/ButtonClose/ButtonClose.tsx","shared/Button/ButtonSecondary.tsx","context/authenticate.tsx","shared/Navigation/NavMobile.tsx","shared/MenuBar/MenuBar.tsx","shared/Header/MainNav1.tsx","shared/Header/Header.tsx","images/404.png","containers/Page404/Page404.tsx","images/vis.png","images/mastercard.svg","components/Label/Label.tsx","context/google.tsx","context/cart.tsx","graphql/mutations.js","components/CheckoutForm/CheckoutForm.tsx","containers/PageAddListing1/OneButtonCommonLayout.tsx","containers/CheckOutPage/constant.js","containers/CheckOutPage/CheckOutPage.tsx","shared/Textarea/Textarea.tsx","images/store.jpg","containers/PageContact/PageContact.tsx","containers/PageContact/constant.js","images/aboutUsBanner.jpg","containers/PageAbout/PageAbout.tsx","components/Table/Utils.tsx","components/Table/TableButtons.tsx","components/Table/Table.tsx","components/Spinner/Spinner.tsx","containers/AdminPage/AdminPage.tsx","images/whatWeOfferBanner.jpg","images/DSC_6744.jpg","images/SC2.jpg","images/spotPrawn.jpg","images/batchKingCrab2.jpg","images/razorclam.jpg","images/Mix2.jpg","images/prop1.jpg","containers/WhatWeOfferPage/WhatWeOfferPage.tsx","shared/NextPrev/NextPrev.tsx","components/GallerySlider/GallerySlider.tsx","containers/ProductsPage/ProductCard.tsx","data/taxonomies.ts","data/authors.ts","images/avatars/Image-1.png","images/avatars/Image-2.png","images/avatars/Image-3.png","images/avatars/Image-4.png","images/avatars/Image-5.png","images/avatars/Image-6.png","images/avatars/Image-7.png","images/avatars/Image-8.png","images/avatars/Image-9.png","images/avatars/Image-10.png","images/avatars/Image-11.png","images/avatars/Image-12.png","images/avatars/Image-13.png","images/avatars/Image-14.png","images/avatars/Image-15.png","images/avatars/Image-16.png","images/avatars/Image-17.png","images/avatars/Image-18.png","images/avatars/Image-19.png","images/avatars/Image-20.png","data/listings.ts","images/cars/1.png","images/cars/2.png","images/cars/3.png","images/cars/4.png","images/cars/5.png","images/cars/6.png","images/cars/7.png","images/cars/8.png","images/cars/9.png","images/cars/10.png","images/cars/11.png","images/cars/12.png","images/cars/13.png","images/cars/14.png","images/cars/15.png","images/cars/16.png","components/Heading/Heading2.tsx","containers/ProductsPage/SelectionGridFilterCard.tsx","containers/PageAddListing1/CommonLayout.tsx","components/Heading/Heading.tsx","routers/index.tsx","containers/ProductsPage/ProductsPage.tsx","containers/ProductsPage/ProductDetailPage.tsx","containers/CartPage/CartPage.tsx","containers/TermsPage/TermsPage.tsx","aws-exports.js","App.tsx","reportWebVitals.ts","context/seafoods.tsx","i18n.js","index.tsx"],"names":["withRouter","history","useEffect","unlisten","listen","window","scrollTo","Logo","img","logoImg","imgLight","logoLightImg","className","to","style","display","alignItems","width","height","maxHeight","objectFit","src","alt","socialsDemo","name","icon","href","SocialsList","itemClass","socials","data-nc-id","map","item","i","target","rel","title","Footer","t","useTranslation","year","Date","getFullYear","fontSize","exact","strict","pathname","twFocusClass","hasRing","Button","translate","sizeClass","disabled","children","targetBlank","type","loading","onClick","CLASSES","undefined","xmlns","fill","viewBox","cx","cy","r","stroke","strokeWidth","d","ButtonPrimary","args","SectionHero","marginTop","borderRadius","singleGeo","ButtonCircle","size","checkInViewIntersectionObserver","distanceFromEnd","callback","IntersectionObserver","options","root","rootMargin","threshold","observer","entries","entry","isIntersecting","unobserve","observe","console","error","NcImage","containerClassName","prevImageHorizontal","isMounted","_containerRef","useRef","_imageEl","placeholderImage","placeholderLargeH","placeholderLarge","useState","__src","set__src","_initActions","a","_checkInViewPort","current","_imageOnViewPort","Image","addEventListener","_handleImageLoaded","ref","Input","React","forwardRef","fontClass","rounded","onChange","SectionSubscribe2","email","values","setValues","sent","setSent","postEmail","rowValue","API","post","queryStringParameters","headers","log","onSubmit","e","preventDefault","required","aria-required","placeholder","value","prevState","rightImg","BgGlassmorphism","Banner","imageArr","keys","Object","baseChildren","index","showThumbs","showStatus","swipeable","autoPlay","infiniteLoop","props","PageHome","image1","image2","image3","image4","image5","Helmet","NavigationItemWithRouter","menuItem","menuCurrentHovers","setMenuCurrentHovers","onMouseEnterMenu","id","state","onMouseLeaveMenu","filter","indexOf","renderMegaMenuNavlink","activeClassName","renderDropdownMenuNavlinkHasChild","isHover","includes","as","onMouseEnter","onMouseLeave","Fragment","renderDropdownMenuNavlink","show","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Panel","static","aria-hidden","renderMainItem","menu","isFull","megaMenu","length","classPopover","classPanel","image","items","renderMegaMenu","menuDropdown","renderDropdownMenu","ncNanoId","prefix","now","Math","floor","random","NAVIGATION_DEMO","Navigation","ButtonClose","ButtonSecondary","defaultState","auth","setAuth","userName","setUserName","setEmail","AuthContext","createContext","AuthProvider","Provider","NavMobile","data","onClickClose","i18n","useContext","switchLanguageHandler","language","changeLanguage","_renderMenuChild","MenuBar","isVisable","setIsVisable","location","handleCloseMenu","fillRule","clipRule","appear","onClose","Child","Overlay","MainNav1","isTop","Header","setisTop","onscroll","document","getElementById","body","scrollTop","documentElement","scrollFunction","Page404","I404Png","Label","products","setProducts","checkout","GoogleContext","GoogleProvider","cart","total","paymentSent","setPaymentSent","addToCart","increaseAmount","decreaseAmount","clearCart","CartContext","CartProvider","setCart","setTotal","reduce","amount","price","parseFloat","toFixed","updatedCart","find","cartItems","processOrder","CARD_ELEMENT_OPTIONS","base","color","fontFamily","fontSmoothing","invalid","iconColor","hidePostalCode","CheckoutForm","paymentTrigger","guestValues","address","token","orderDetails","setOrderDetails","setError","stripe","useStripe","elements","useElements","addInventory","keyValue","newValue","updateSeafood","findTheCorrectProducts","allProducts","arr","productRow","eachProduct","cartRow","eachCartItem","currentQuantity","quantity","deductQuantity","push","handleSubmit","event","res","card","getElement","CardElement","createToken","result","message","forEach","cartItem","guestName","guestEmail","guestPhone","phone","alert","isLoggedIn","Auth","currentAuthenticatedUser","payload","uuidv4","input","query","variables","authMode","graphql","setTimeout","role","OneButtonCommonLayout","backtHref","nextHref","nextBtnText","publishableKey","CheckOutPage","stripePromise","loadStripe","handleChange","Group","List","selected","visaPng","mastercardPng","Panels","Textarea","rows","info","desc","PageContact","storeImage","action","method","emailjs","sendForm","then","response","status","text","reset","PageAbout","boatImage","classNames","classes","Boolean","join","rest","PageButton","Table","columns","useTable","useGlobalFilter","usePagination","getTableProps","getTableBodyProps","headerGroups","prepareRow","canPreviousPage","canNextPage","pageOptions","pageCount","gotoPage","nextPage","previousPage","setPageSize","preGlobalFilteredRows","setGlobalFilter","GlobalFilter","globalFilter","count","setValue","useAsyncDebounce","headerGroup","getHeaderGroupProps","column","getHeaderProps","render","row","getRowProps","cells","cell","getCellProps","pageIndex","pageSize","Number","aria-label","Spinner","faSpinner","AdminPage","loaded","setLoaded","orderData","setOrderData","useMemo","accessor","fetchCustomerCharges","useCallback","get","formattedData","description","substring","lastIndexOf","Authenticator","signUpAttributes","user","signOut","username","flexDirection","justifyContent","WhatWeOfferPage","fishing","geo","seaCucumber","spotPrawn","crabImage","razorClam","abalone","propClam","NextPrev","onClickNext","onClickPrev","btnClassName","onlyNext","onlyPrev","data-glide-el","data-glide-dir","GallerySlider","galleryImgs","ratioClass","UNIQUE_CLASS","Glide","perView","gap","keyboard","mount","_","ProductCard","PHOTOS","DEMO_STAY_CATEGORIES","__taxonomies","taxonomy","__stayTaxonomies","listingType","DEMO_EXPERIENCES_CATEGORIES","__experiencesTaxonomies","imgs","DEMO_AUTHORS","__authors","avatar","carsImgs","DEMO_STAY_LISTINGS","__stayListing","category","listingCategoryId","saleOff","isAds","author","authorId","listingCategory","Heading2","__experiencesListing","__carsListing","featuredImage","heading","subHeading","SectionGridFilterCard","CommonLayout","Heading","isCenter","hasNextPrev","pages","path","component","fetchAllGoogleProducts","isPreviewMode","useParams","useHistory","chosenSeafood","setChosenSeafood","soldOut","setSoldOut","getOneSeafood","checker","rowIndex","key","filtered","str","Routes","awsmobile","Amplify","configure","awsExports","App","attributes","Hub","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","SeafoodContext","SeafoodProvider","use","Backend","LanguageDetector","initReactI18next","init","fallbackLng","debug","whitelist","detection","order","cache","interpolation","escapeValue","ReactDOM","Suspense","fallback","AmplifyProvider"],"mappings":"s1sGAoBeA,eAbiC,SAAC,GAAiB,IAAfC,EAAc,EAAdA,QAUjD,OATAC,qBAAU,WACR,IAAMC,EAAWF,EAAQG,QAAO,WAC9BC,OAAOC,SAAS,EAAG,MAErB,OAAO,WACLH,OAED,IAEI,QCjBM,MAA0B,mC,OC6C1BI,EAlCmB,SAAC,GAI5B,IAAD,IAHJC,WAGI,MAHEC,EAGF,MAFJC,gBAEI,MAFOC,EAEP,MADJC,iBACI,MADQ,GACR,EACJ,OACE,eAAC,IAAD,CACEC,GAAG,IACHD,UAAS,mDAA8CA,GACvDE,MAAO,CAAEC,QAAS,OAAQC,WAAY,SAAUC,MAAO,QAASC,OAAQ,QAH1E,UAOGV,EACC,qBACEI,UAAS,yBAAoBF,EAAW,cAAgB,IACxDI,MAAO,CAAEG,MAAO,QAASE,UAAW,OAAOC,UAAW,SACtDC,IAAKb,EACLc,IAAI,SAGN,YAEDZ,GACC,qBACEE,UAAU,6BACVS,IAAKX,EACLY,IAAI,mBC7BRC,EAA4B,CAChC,CAAEC,K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f,ECJAwU,IAAS9I,OACP,cAAC,IAAM+I,SAAP,CAAgBC,SAAU,UAA1B,SACE,cAAC,GAAD,UACE,cAAC,GAAD,UACE,cAAC,GAAD,UACE,cAAC,GAAD,UACE,cAACC,GAAA,EAAD,UACE,cAAC,GAAD,gBAOZrT,SAASC,eAAe,SAM1B0R,O","file":"static/js/main.eedd6ca2.chunk.js","sourcesContent":["import { useEffect } from \"react\";\r\nimport { RouterProps, withRouter } from \"react-router-dom\";\r\n\r\nexport interface ScrollToTopProps {\r\n history: RouterProps[\"history\"];\r\n}\r\n\r\nconst ScrollToTop: React.FC = ({ history }) => {\r\n useEffect(() => {\r\n const unlisten = history.listen(() => {\r\n window.scrollTo(0, 0);\r\n });\r\n return () => {\r\n unlisten();\r\n };\r\n }, []);\r\n\r\n return null;\r\n};\r\n\r\nexport default withRouter(ScrollToTop);\r\n","export default __webpack_public_path__ + \"static/media/bhLogo.7c21af85.png\";","import React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport logoImg from \"images/bhLogo.png\";\r\nimport logoLightImg from \"images/bhLogo.png\";\r\n\r\nexport interface LogoProps {\r\n img?: string;\r\n imgLight?: string;\r\n className?: string;\r\n}\r\n\r\nconst Logo: React.FC = ({\r\n img = logoImg,\r\n imgLight = logoLightImg,\r\n className = \"\",\r\n}) => {\r\n return (\r\n \r\n {/* THIS USE FOR MY CLIENT */}\r\n {/* PLEASE UN COMMENT BELLOW CODE AND USE IT */}\r\n {img ? (\r\n \r\n ) : (\r\n \"Logo Here\"\r\n )}\r\n {imgLight && (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default Logo;\r\n","import { SocialType } from \"shared/SocialsShare/SocialsShare\";\r\nimport React, { FC } from \"react\";\r\n\r\nexport interface SocialsListProps {\r\n className?: string;\r\n itemClass?: string;\r\n socials?: SocialType[];\r\n}\r\n\r\nconst socialsDemo: SocialType[] = [\r\n { name: \"Facebook\", icon: \"lab la-facebook-square\", href: \"https://www.facebook.com/BHSeafood/\" },\r\n // { name: \"Twitter\", icon: \"lab la-twitter\", href: \"#\" },\r\n // { name: \"Youtube\", icon: \"lab la-youtube\", href: \"#\" },\r\n { name: \"Instagram\", icon: \"lab la-instagram\", href: \"https://www.instagram.com/besthonourseafood/\" },\r\n];\r\n\r\nconst SocialsList: FC = ({\r\n className = \"\",\r\n itemClass = \"block\",\r\n socials = socialsDemo,\r\n}) => {\r\n return (\r\n \r\n {socials.map((item, i) => (\r\n \r\n \r\n \r\n ))}\r\n \r\n );\r\n};\r\n\r\nexport default SocialsList;\r\n","import Logo from \"shared/Logo/Logo\";\r\nimport SocialsList from \"shared/SocialsList/SocialsList\";\r\n// import SocialsList1 from \"shared/SocialsList1/SocialsList1\";\r\nimport { CustomLink } from \"data/types\";\r\nimport React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { NavLink } from \"react-router-dom\";\r\n\r\nexport interface WidgetFooterMenu {\r\n id: string;\r\n title: string;\r\n menus: CustomLink[];\r\n}\r\n\r\n// const widgetMenus: WidgetFooterMenu[] = [\r\n// {\r\n// id: \"5\",\r\n// title: \"What we carry\",\r\n// menus: [\r\n// { href: \"#\", label: \"Geoduck\" },\r\n// { href: \"#\", label: \"King Crab\" },\r\n// { href: \"#\", label: \"Razor Claims\" },\r\n// { href: \"#\", label: \"Abalone\" },\r\n// { href: \"#\", label: \"Other\" },\r\n// // { href: \"#\", label: \"Utility-First\" },\r\n// // { href: \"#\", label: \"Dark Mode\" },\r\n// // { href: \"#\", label: \"Responsive Design\" },\r\n// ],\r\n// },\r\n// {\r\n// id: \"1\",\r\n// title: \"Explore\",\r\n// menus: [\r\n// // { href: \"#\", label: \"Design features\" },\r\n// // { href: \"#\", label: \"Prototyping\" },\r\n// // { href: \"#\", label: \"Design systems\" },\r\n// { href: \"#\", label: \"Pricing\" },\r\n// { href: \"#\", label: \"Customers\" },\r\n// { href: \"#\", label: \"Security\" },\r\n// // { href: \"#\", label: \"Integrations\" },\r\n// { href: \"#\", label: \"Contact\" },\r\n// ],\r\n// },\r\n// {\r\n// id: \"2\",\r\n// title: \"Resources\",\r\n// menus: [\r\n// // { href: \"#\", label: \"Best practices\" },\r\n// // { href: \"#\", label: \"Support\" },\r\n// // { href: \"#\", label: \"Developers\" },\r\n// // { href: \"#\", label: \"Learn design\" },\r\n// { href: \"#\", label: \"What's new\" },\r\n// { href: \"#\", label: \"Releases\" },\r\n// { href: \"#\", label: \"Careers\" },\r\n// { href: \"#\", label: \"About us\" },\r\n// ],\r\n// },\r\n// {\r\n// id: \"4\",\r\n// title: \"Community\",\r\n// menus: [\r\n// // { href: \"#\", label: \"Discussion Forums\" },\r\n// { href: \"#\", label: \"Code of Conduct\" },\r\n// // { href: \"#\", label: \"Community Resources\" },\r\n// { href: \"#\", label: \"Contributing\" },\r\n// // { href: \"#\", label: \"Concurrent Mode\" },\r\n// // { href: \"#\", label: \"API Reference\" },\r\n// // { href: \"#\", label: \"Advanced Guides\" },\r\n// // { href: \"#\", label: \"Main Concepts\" },\r\n// ],\r\n// },\r\n// ];\r\n\r\nconst Footer: React.FC = () => {\r\n\r\n const { t } = useTranslation();\r\n\r\n const d = new Date();\r\n const year = d.getFullYear();\r\n\r\n // const renderWidgetMenuItem = (menu: WidgetFooterMenu, index: number) => {\r\n // return (\r\n //
\r\n //

\r\n // {menu.title}\r\n //

\r\n //
    \r\n // {menu.menus.map((item, index) => (\r\n //
  • \r\n // \r\n // {item.label}\r\n // \r\n //
  • \r\n // ))}\r\n //
\r\n //
\r\n // );\r\n // };\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n {/* {widgetMenus.map(renderWidgetMenuItem)} */}\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n \r\n   ©{year} Best Honour International Seafood Limited All Rights Reserved.\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Footer;\r\n","export default function twFocusClass(hasRing = false) {\r\n if (!hasRing) {\r\n return \"focus:outline-none\";\r\n }\r\n return \"focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-6000 dark:focus:ring-offset-0\";\r\n}\r\n","import React, { ButtonHTMLAttributes, FC } from \"react\";\r\nimport { Link, LinkProps } from \"react-router-dom\";\r\nimport { LocationStates } from \"routers/types\";\r\nimport twFocusClass from \"utils/twFocusClass\";\r\n\r\nexport interface ButtonProps {\r\n className?: string;\r\n translate?: string;\r\n sizeClass?: string;\r\n fontSize?: string;\r\n //\r\n loading?: boolean;\r\n disabled?: boolean;\r\n type?: ButtonHTMLAttributes[\"type\"];\r\n href?: keyof LocationStates | \"#\" | LinkProps[\"to\"];\r\n targetBlank?: boolean;\r\n onClick?: () => void;\r\n}\r\n\r\nconst Button: FC = ({\r\n className = \"text-neutral-700 dark:text-neutral-200\",\r\n translate = \"\",\r\n sizeClass = \"px-4 py-3 sm:px-6\",\r\n fontSize = \"text-sm sm:text-base font-medium\",\r\n disabled = false,\r\n href,\r\n children,\r\n targetBlank,\r\n type,\r\n loading,\r\n onClick = () => {},\r\n}) => {\r\n const CLASSES =\r\n `nc-Button relative h-auto inline-flex items-center justify-center rounded-full transition-colors ${fontSize} ${sizeClass} ${translate} ${className} ` +\r\n twFocusClass(true);\r\n\r\n const _renderLoading = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n };\r\n\r\n if (!!href) {\r\n return (\r\n \r\n {children || `This is Link`}\r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n {loading && _renderLoading()}\r\n {children || `This is Button`}\r\n \r\n );\r\n};\r\n\r\nexport default Button;\r\n","import Button, { ButtonProps } from \"shared/Button/Button\";\r\nimport React from \"react\";\r\n\r\nexport interface ButtonPrimaryProps extends ButtonProps {}\r\n\r\nconst ButtonPrimary: React.FC = ({\r\n className = \"\",\r\n ...args\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ButtonPrimary;\r\n","export default __webpack_public_path__ + \"static/media/singleGeo.788b5c4e.jpg\";","import React, { FC } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\n// import imagePng from \"images/bannerShell.jpg\";\r\nimport singleGeo from \"images/singleGeo.jpg\";\r\n// import geoBanner from \"images/geoBanner.jpg\"\r\n// import HeroSearchForm from \"components/HeroSearchForm/HeroSearchForm\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nexport interface SectionHeroProps {\r\n className?: string;\r\n}\r\n\r\nconst SectionHero: FC = ({ className = \"\" }) => {\r\n\r\n const { t } = useTranslation();\r\n\r\n return (\r\n \r\n {/*
*/}\r\n
\r\n {/*
*/}\r\n {/*
*/}\r\n \r\n

\r\n {t(\"HomePage.bannerCTA.title\")}\r\n

\r\n

\r\n {t(\"HomePage.bannerCTA.subTitle\")}\r\n

\r\n \r\n \r\n \r\n \r\n \r\n {t(\"HomePage.bannerCTA.button\")}\r\n \r\n \r\n
\r\n
\r\n \"hero\"\r\n
\r\n
\r\n\r\n {/*
\r\n \r\n
*/}\r\n
\r\n );\r\n};\r\n\r\nexport default SectionHero;\r\n","import React, { ButtonHTMLAttributes } from \"react\";\r\nimport twFocusClass from \"utils/twFocusClass\";\r\n\r\nexport interface ButtonCircleProps\r\n extends ButtonHTMLAttributes {\r\n size?: string;\r\n}\r\n\r\nconst ButtonCircle: React.FC = ({\r\n className = \" \",\r\n size = \" w-9 h-9 \",\r\n ...args\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ButtonCircle;\r\n","export default __webpack_public_path__ + \"static/media/KingCrab.7f5fd219.jpg\";","export interface InviewPortType {\r\n distanceFromEnd: number;\r\n callback: () => boolean;\r\n target: HTMLElement;\r\n}\r\n\r\nconst checkInViewIntersectionObserver = ({\r\n target,\r\n distanceFromEnd,\r\n callback,\r\n}: InviewPortType) => {\r\n const _funCallback: IntersectionObserverCallback = (\r\n entries: IntersectionObserverEntry[],\r\n observer: IntersectionObserver\r\n ) => {\r\n entries.map((entry: IntersectionObserverEntry) => {\r\n if (entry.isIntersecting) {\r\n // NEED CALLBACK WILL RETURN BOOLEAN ---- IF TRUE WE WILL UNOBSERVER AND FALSE IS NO\r\n const unobserve = callback();\r\n unobserve && observer.unobserve(entry.target);\r\n }\r\n return true;\r\n });\r\n };\r\n\r\n // _checkBrowserSupport-----\r\n if (typeof window.IntersectionObserver === \"undefined\") {\r\n console.error(\r\n \"window.IntersectionObserver === undefined! => Your Browser is Notsupport\"\r\n );\r\n return;\r\n }\r\n const options = {\r\n root: null,\r\n rootMargin: `${distanceFromEnd}px 0px`,\r\n threshold: 0,\r\n };\r\n const observer = new IntersectionObserver(_funCallback, options);\r\n target && observer.observe(target);\r\n};\r\n\r\nexport default checkInViewIntersectionObserver;\r\n","export default __webpack_public_path__ + \"static/media/placeholder-large.ed676656.png\";","export default __webpack_public_path__ + \"static/media/placeholder-large-h.2b89178f.png\";","import React, {\r\n FC,\r\n ImgHTMLAttributes,\r\n useEffect,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport checkInViewIntersectionObserver from \"utils/isInViewPortIntersectionObserver\";\r\nimport placeholderLarge from \"images/placeholder-large.png\";\r\nimport placeholderLargeH from \"images/placeholder-large-h.png\";\r\n\r\nexport interface NcImageProps extends ImgHTMLAttributes {\r\n containerClassName?: string;\r\n prevImageHorizontal?: boolean;\r\n}\r\n\r\nconst NcImage: FC = ({\r\n containerClassName = \"\",\r\n alt = \"nc-imgs\",\r\n src = \"\",\r\n prevImageHorizontal = false,\r\n className = \"object-cover w-full h-full\",\r\n ...args\r\n}) => {\r\n let isMounted = false;\r\n const _containerRef = useRef(null);\r\n let _imageEl: HTMLImageElement | null = null;\r\n const placeholderImage = prevImageHorizontal\r\n ? placeholderLargeH\r\n : placeholderLarge;\r\n\r\n const [__src, set__src] = useState(placeholderImage);\r\n\r\n const _initActions = async () => {\r\n set__src(placeholderImage);\r\n _checkInViewPort();\r\n };\r\n\r\n const _checkInViewPort = () => {\r\n if (!_containerRef.current) return;\r\n checkInViewIntersectionObserver({\r\n target: _containerRef.current as any,\r\n distanceFromEnd: 0,\r\n callback: _imageOnViewPort,\r\n });\r\n };\r\n\r\n const _imageOnViewPort = () => {\r\n if (!src) {\r\n _handleImageLoaded();\r\n return true;\r\n }\r\n _imageEl = new Image();\r\n if (_imageEl) {\r\n _imageEl.src = src;\r\n _imageEl.addEventListener(\"load\", _handleImageLoaded);\r\n }\r\n return true;\r\n };\r\n\r\n const _handleImageLoaded = () => {\r\n if (!isMounted) return;\r\n // setImageLoaded(true);\r\n set__src(src);\r\n };\r\n\r\n useEffect(() => {\r\n isMounted = true;\r\n _initActions();\r\n return () => {\r\n isMounted = false;\r\n };\r\n }, [src]);\r\n\r\n return (\r\n \r\n {__src ? (\r\n {alt}\r\n ) : (\r\n
\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default NcImage;\r\n","import React, { InputHTMLAttributes } from \"react\";\r\n\r\nexport interface InputProps extends InputHTMLAttributes {\r\n sizeClass?: string;\r\n fontClass?: string;\r\n rounded?: string;\r\n}\r\n\r\nconst Input = React.forwardRef(\r\n (\r\n {\r\n className = \"\",\r\n sizeClass = \"h-11 px-4 py-3\",\r\n fontClass = \"text-sm font-normal\",\r\n rounded = \"rounded-2xl\",\r\n children,\r\n type = \"text\",\r\n name = \"\",\r\n onChange = () => {},\r\n ...args\r\n },\r\n ref\r\n ) => {\r\n return (\r\n \r\n );\r\n }\r\n);\r\n\r\nexport default Input;\r\n","import React, { FC, useState } from \"react\";\r\nimport ButtonCircle from \"shared/Button/ButtonCircle\";\r\nimport rightImg from \"images/KingCrab.jpg\";\r\nimport NcImage from \"shared/NcImage/NcImage\";\r\n// import Badge from \"shared/Badge/Badge\";\r\nimport Input from \"shared/Input/Input\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport API from \"@aws-amplify/api\";\r\n\r\nexport interface SectionSubscribe2Props {\r\n className?: string;\r\n}\r\n\r\nconst SectionSubscribe2: FC = ({ className = \"\" }) => {\r\n\r\n const { t } = useTranslation();\r\n\r\n const [values, setValues] = useState({\r\n email: '',\r\n });\r\n\r\n const [sent, setSent] = useState(false);\r\n\r\n const handleChange = (e: any) => {\r\n const { name, value } = e.target;\r\n\r\n setValues((prevState) => ({ ...prevState, [name]: value }))\r\n };\r\n\r\n const postEmail = async (rowValue: any) => {\r\n try {\r\n\r\n await API.post('googleJoinEmailList', '/postEmail', {\r\n queryStringParameters: {\r\n rowValue: rowValue\r\n },\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n }\r\n });\r\n\r\n setSent(true);\r\n } catch (err) {\r\n console.log('Post Email Error:', err);\r\n }\r\n };\r\n\r\n const handleSubmit = (e: any) => {\r\n e.preventDefault();\r\n\r\n postEmail(values.email);\r\n };\r\n\r\n return (\r\n \r\n
\r\n

\r\n {t(\"HomePage.subscribe.title\")}\r\n

\r\n \r\n {t(\"HomePage.subscribe.subTitle\")}\r\n \r\n {/*
    \r\n
  • \r\n \r\n \r\n {t(\"HomePage.subscribe.desc1\")}\r\n \r\n
  • \r\n
  • \r\n \r\n \r\n {t(\"HomePage.subscribe.desc2\")}\r\n \r\n
  • \r\n
*/}\r\n\r\n {\r\n sent \r\n ?\r\n \r\n {t(\"HomePage.subscribe.receive\")}\r\n
\r\n :\r\n
\r\n \r\n \r\n \r\n \r\n \r\n }\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport default SectionSubscribe2;\r\n","import React, { FC } from \"react\";\r\n\r\nexport interface BgGlassmorphismProps {\r\n className?: string;\r\n}\r\n\r\nconst BgGlassmorphism: FC = ({\r\n className = \"absolute inset-x-0 md:top-10 xl:top-40 min-h-0 pl-20 py-24 flex overflow-hidden z-0\",\r\n}) => {\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default BgGlassmorphism;\r\n","import React, { FC } from 'react';\nimport \"react-responsive-carousel/lib/styles/carousel.min.css\";\nimport { Carousel } from 'react-responsive-carousel';\nimport \"./Banner.scss\";\n\nexport interface BannerProps {\n className?: string;\n imageArr?: any[];\n};\n\nconst Banner: FC = ({ className = \"\", imageArr = [] }) => {\n\n let keys = Object.keys(imageArr);\n\n const createCarouselItemImage = (index: any, options = {}) => (\n\n
\n {index}\n
\n );\n\n const baseChildren =
{keys.map(createCarouselItemImage)}
;\n\n return (\n
\n \n {baseChildren.props.children}\n \n
\n )\n};\n\nexport default Banner;","export default __webpack_public_path__ + \"static/media/banner1.b3d748ad.jpg\";","export default __webpack_public_path__ + \"static/media/banner2.efe4e794.jpg\";","export default __webpack_public_path__ + \"static/media/banner3.1998679a.jpg\";","export default __webpack_public_path__ + \"static/media/banner4.90393b2f.jpg\";","export default __webpack_public_path__ + \"static/media/banner5.17b351bf.jpg\";","import React from \"react\";\r\nimport SectionHero from \"components/SectionHero/SectionHero\";\r\n// import SectionSliderNewCategories from \"components/SectionSliderNewCategories/SectionSliderNewCategories\";\r\nimport SectionSubscribe2 from \"components/SectionSubscribe2/SectionSubscribe2\";\r\n// import SectionOurFeatures from \"components/SectionOurFeatures/SectionOurFeatures\";\r\n// import SectionGridFeaturePlaces from \"./SectionGridFeaturePlaces\";\r\n// import SectionHowItWork from \"components/SectionHowItWork/SectionHowItWork\";\r\n// import BackgroundSection from \"components/BackgroundSection/BackgroundSection\";\r\nimport BgGlassmorphism from \"components/BgGlassmorphism/BgGlassmorphism\";\r\n// import { TaxonomyType } from \"data/types\";\r\n// import SectionGridAuthorBox from \"components/SectionGridAuthorBox/SectionGridAuthorBox\";\r\n// import SectionGridCategoryBox from \"components/SectionGridCategoryBox/SectionGridCategoryBox\";\r\n// import SectionBecomeAnAuthor from \"components/SectionBecomeAnAuthor/SectionBecomeAnAuthor\";\r\n// import SectionVideos from \"./SectionVideos\";\r\n// import SectionClientSay from \"components/SectionClientSay/SectionClientSay\";\r\nimport { Helmet } from \"react-helmet\";\r\nimport Banner from \"components/Banner/Banner\";\r\nimport image1 from \"../../images/banner1.jpg\";\r\nimport image2 from \"../../images/banner2.jpg\";\r\nimport image3 from \"../../images/banner3.jpg\";\r\nimport image4 from \"../../images/banner4.jpg\";\r\nimport image5 from \"../../images/banner5.jpg\";\r\n\r\n// const DEMO_CATS: TaxonomyType[] = [\r\n// {\r\n// id: \"1\",\r\n// href: \"#\",\r\n// name: \"New Yourk\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/64271/queen-of-liberty-statue-of-liberty-new-york-liberty-statue-64271.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"2\",\r\n// href: \"#\",\r\n// name: \"Singapore\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/7740160/pexels-photo-7740160.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"2\",\r\n// href: \"#\",\r\n// name: \"Paris\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/739407/pexels-photo-739407.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"2\",\r\n// href: \"#\",\r\n// name: \"London\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/460672/pexels-photo-460672.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"2\",\r\n// href: \"#\",\r\n// name: \"Tokyo\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/4151484/pexels-photo-4151484.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"2\",\r\n// href: \"#\",\r\n// name: \"Maldives\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/3250613/pexels-photo-3250613.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// ];\r\n\r\n// const DEMO_CATS_2: TaxonomyType[] = [\r\n// {\r\n// id: \"1\",\r\n// href: \"#\",\r\n// name: \"Enjoy the great cold\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/5764100/pexels-photo-5764100.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"222\",\r\n// href: \"#\",\r\n// name: \"Sleep in a floating way\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/2869499/pexels-photo-2869499.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"3\",\r\n// href: \"#\",\r\n// name: \"In the billionaire's house\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/7031413/pexels-photo-7031413.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"4\",\r\n// href: \"#\",\r\n// name: \"Cool in the deep forest\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/247532/pexels-photo-247532.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// {\r\n// id: \"5\",\r\n// href: \"#\",\r\n// name: \"In the billionaire's house\",\r\n// taxonomy: \"category\",\r\n// count: 188288,\r\n// thumbnail:\r\n// \"https://images.pexels.com/photos/7031413/pexels-photo-7031413.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260\",\r\n// },\r\n// ];\r\n\r\nfunction PageHome() {\r\n\r\n let imageArr = [\r\n image1,\r\n image2,\r\n image3,\r\n image4,\r\n image5,\r\n ]\r\n\r\n return (\r\n
\r\n \r\n Best Honor Seafood\r\n \r\n {/* GLASSMOPHIN */}\r\n \r\n\r\n
\r\n \r\n {/* SECTION HERO */}\r\n \r\n\r\n {/* SECTION 1 */}\r\n {/* */}\r\n\r\n {/* SECTION2 */}\r\n {/* */}\r\n\r\n {/* SECTION */}\r\n {/*
\r\n \r\n \r\n
*/}\r\n\r\n {/* SECTION */}\r\n {/* */}\r\n\r\n {/* SECTION 1 */}\r\n {/*
\r\n \r\n \r\n
*/}\r\n\r\n {/* SECTION */}\r\n \r\n\r\n {/* SECTION */}\r\n {/*
\r\n \r\n \r\n
*/}\r\n\r\n {/* SECTION */}\r\n {/* */}\r\n\r\n {/* SECTION */}\r\n {/*
\r\n \r\n \r\n
*/}\r\n\r\n {/* SECTION 1 */}\r\n {/* */}\r\n\r\n {/* SECTION */}\r\n {/* */}\r\n\r\n {/* SECTION */}\r\n {/*
\r\n \r\n \r\n
*/}\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default PageHome;\r\n","import { Popover, Transition } from \"@headlessui/react\";\r\nimport { ChevronDownIcon } from \"@heroicons/react/solid\";\r\nimport React, { FC, Fragment, useEffect, useState } from \"react\";\r\nimport { NavLink, RouteComponentProps, withRouter } from \"react-router-dom\";\r\nimport NcImage from \"shared/NcImage/NcImage\";\r\nimport { useTranslation } from 'react-i18next';\r\n\r\n// <--- NavItemType --->\r\nexport interface MegamenuItem {\r\n id: string;\r\n image: string;\r\n title: string;\r\n items: NavItemType[];\r\n}\r\nexport interface NavItemType {\r\n id: string;\r\n name: string;\r\n href: string;\r\n targetBlank?: boolean;\r\n children?: NavItemType[];\r\n megaMenu?: MegamenuItem[];\r\n type?: \"dropdown\" | \"megaMenu\" | \"none\";\r\n}\r\n\r\nexport interface NavigationItemProps {\r\n menuItem: NavItemType;\r\n}\r\n\r\ntype NavigationItemWithRouterProps = RouteComponentProps & NavigationItemProps;\r\n\r\nconst NavigationItem: FC = ({\r\n menuItem,\r\n history,\r\n}) => {\r\n const [menuCurrentHovers, setMenuCurrentHovers] = useState([]);\r\n\r\n const { t } = useTranslation();\r\n\r\n // CLOSE ALL MENU OPENING WHEN CHANGE HISTORY\r\n useEffect(() => {\r\n const unlisten = history.listen(() => {\r\n setMenuCurrentHovers([]);\r\n });\r\n return () => {\r\n unlisten();\r\n };\r\n }, [history]);\r\n\r\n const onMouseEnterMenu = (id: string) => {\r\n setMenuCurrentHovers((state) => [...state, id]);\r\n };\r\n\r\n const onMouseLeaveMenu = (id: string) => {\r\n setMenuCurrentHovers((state) => {\r\n return state.filter((item, index) => {\r\n return item !== id && index < state.indexOf(id);\r\n });\r\n });\r\n };\r\n\r\n // ===================== MENU MEGAMENU =====================\r\n const renderMegaMenu = (menu: NavItemType) => {\r\n const isHover = menuCurrentHovers.includes(menu.id);\r\n\r\n const isFull = menu.megaMenu && menu.megaMenu?.length > 3;\r\n const classPopover = isFull\r\n ? \"menu-megamenu--large\"\r\n : \"menu-megamenu--small relative\";\r\n const classPanel = isFull ? \"left-0\" : \"-translate-x-1/2 left-1/2\";\r\n\r\n return (\r\n onMouseEnterMenu(menu.id)}\r\n onMouseLeave={() => onMouseLeaveMenu(menu.id)}\r\n >\r\n {() => (\r\n <>\r\n \r\n {renderMainItem(menu)}\r\n \r\n \r\n \r\n
\r\n \r\n {menu.megaMenu?.map((item) => (\r\n
\r\n
\r\n \r\n
\r\n

\r\n {item.title}\r\n

\r\n
    \r\n {item.items.map(renderMegaMenuNavlink)}\r\n
\r\n
\r\n ))}\r\n
\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n const renderMegaMenuNavlink = (item: NavItemType) => {\r\n\r\n return (\r\n
  • \r\n \r\n {t(item.name)}\r\n \r\n
  • \r\n );\r\n };\r\n\r\n // ===================== MENU DROPDOW =====================\r\n const renderDropdownMenu = (menuDropdown: NavItemType) => {\r\n const isHover = menuCurrentHovers.includes(menuDropdown.id);\r\n return (\r\n onMouseEnterMenu(menuDropdown.id)}\r\n onMouseLeave={() => onMouseLeaveMenu(menuDropdown.id)}\r\n >\r\n {() => (\r\n <>\r\n \r\n {renderMainItem(menuDropdown)}\r\n \r\n \r\n \r\n
      \r\n {menuDropdown.children?.map((i) => {\r\n if (i.type) {\r\n return renderDropdownMenuNavlinkHasChild(i);\r\n } else {\r\n return (\r\n
    • \r\n {renderDropdownMenuNavlink(i)}\r\n
    • \r\n );\r\n }\r\n })}\r\n
    \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n const renderDropdownMenuNavlinkHasChild = (item: NavItemType) => {\r\n const isHover = menuCurrentHovers.includes(item.id);\r\n return (\r\n onMouseEnterMenu(item.id)}\r\n onMouseLeave={() => onMouseLeaveMenu(item.id)}\r\n >\r\n {() => (\r\n <>\r\n \r\n {renderDropdownMenuNavlink(item)}\r\n \r\n \r\n \r\n
      \r\n {item.children?.map((i) => {\r\n if (i.type) {\r\n return renderDropdownMenuNavlinkHasChild(i);\r\n } else {\r\n return (\r\n
    • \r\n {renderDropdownMenuNavlink(i)}\r\n
    • \r\n );\r\n }\r\n })}\r\n
    \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n const renderDropdownMenuNavlink = (item: NavItemType) => {\r\n return (\r\n \r\n {t(item.name)}\r\n {item.type && (\r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n // ===================== MENU MAIN MENU =====================\r\n const renderMainItem = (item: NavItemType) => {\r\n return (\r\n \r\n {t(item.name)}\r\n {item.type && (\r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n switch (menuItem.type) {\r\n case \"megaMenu\":\r\n return renderMegaMenu(menuItem);\r\n case \"dropdown\":\r\n return renderDropdownMenu(menuItem);\r\n default:\r\n return
  • {renderMainItem(menuItem)}
  • ;\r\n }\r\n};\r\n// Your component own properties\r\n\r\nconst NavigationItemWithRouter = withRouter<\r\n NavigationItemWithRouterProps,\r\n FC\r\n>(NavigationItem);\r\nexport default NavigationItemWithRouter;\r\n","export default function ncNanoId(prefix = \"nc_\") {\r\n return (\r\n prefix +\r\n Date.now() +\r\n \"_\" +\r\n Math.floor(Math.random() * 999999999999999) +\r\n \"_\" +\r\n Math.floor(Math.random() * 999999999999999)\r\n );\r\n}\r\n","import { NavItemType } from \"shared/Navigation/NavigationItem\";\r\nimport ncNanoId from \"utils/ncNanoId\";\r\n// import __megamenu from \"./jsons/__megamenu.json\";\r\n\r\n// const megaMenuDemo: MegamenuItem[] = [\r\n// {\r\n// id: ncNanoId(),\r\n// image:\r\n// \"https://images.pexels.com/photos/1591373/pexels-photo-1591373.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500\",\r\n// title: \"Company\",\r\n// items: __megamenu.map((i) => ({\r\n// id: ncNanoId(),\r\n// href: \"#\",\r\n// name: i.Company,\r\n// })),\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// image:\r\n// \"https://images.pexels.com/photos/2662116/pexels-photo-2662116.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500\",\r\n// title: \"App Name\",\r\n// items: __megamenu.map((i) => ({\r\n// id: ncNanoId(),\r\n// href: \"#\",\r\n// name: i.AppName,\r\n// })),\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// image:\r\n// \"https://images.pexels.com/photos/5059013/pexels-photo-5059013.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500\",\r\n// title: \"City\",\r\n// items: __megamenu.map((i) => ({\r\n// id: ncNanoId(),\r\n// href: \"#\",\r\n// name: i.City,\r\n// })),\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// image:\r\n// \"https://images.pexels.com/photos/5159141/pexels-photo-5159141.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500\",\r\n// title: \"Contruction\",\r\n// items: __megamenu.map((i) => ({\r\n// id: ncNanoId(),\r\n// href: \"#\",\r\n// name: i.Contruction,\r\n// })),\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// image:\r\n// \"https://images.pexels.com/photos/7473041/pexels-photo-7473041.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500\",\r\n// title: \"Country\",\r\n// items: __megamenu.map((i) => ({\r\n// id: ncNanoId(),\r\n// href: \"#\",\r\n// name: i.Country,\r\n// })),\r\n// },\r\n// ];\r\n\r\n// const otherPageChildMenus: NavItemType[] = [\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/blog\",\r\n// name: \"Blog Page\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/blog-single\",\r\n// name: \"Blog Single\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/about\",\r\n// name: \"About\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/contact\",\r\n// name: \"Contact us\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/login\",\r\n// name: \"Login\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/signup\",\r\n// name: \"Signup\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/subscription\",\r\n// name: \"Subscription\",\r\n// },\r\n// ];\r\n\r\n// const templatesChildrenMenus: NavItemType[] = [\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-1\",\r\n// name: \"Add Listings\",\r\n// type: \"dropdown\",\r\n// children: [\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-1\",\r\n// name: \"Add Listings 1\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-2\",\r\n// name: \"Add Listings 2\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-3\",\r\n// name: \"Add Listings 3\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-4\",\r\n// name: \"Add Listings 4\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-5\",\r\n// name: \"Add Listings 5\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-6\",\r\n// name: \"Add Listings 6\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-7\",\r\n// name: \"Add Listings 7\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-8\",\r\n// name: \"Add Listings 8\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-9\",\r\n// name: \"Add Listings 9\",\r\n// },\r\n// {\r\n// id: ncNanoId(),\r\n// href: \"/add-listing-10\",\r\n// name: \"Add Listings 10\",\r\n// },\r\n// ],\r\n// },\r\n// //\r\n// { id: ncNanoId(), href: \"/checkout\", name: \"Checkout\" },\r\n// { id: ncNanoId(), href: \"/pay-done\", name: \"Pay done\" },\r\n// //\r\n// { id: ncNanoId(), href: \"/author\", name: \"Author Page\" },\r\n// { id: ncNanoId(), href: \"/account\", name: \"Account Page\" },\r\n// ];\r\n\r\nexport const NAVIGATION_DEMO: NavItemType[] = [\r\n {\r\n id: ncNanoId(),\r\n href: \"/\",\r\n name: \"NavItems.home\",\r\n // type: \"dropdown\",\r\n // children: demoChildMenus,\r\n },\r\n {\r\n id: ncNanoId(),\r\n href: \"/about\",\r\n name: \"NavItems.aboutUs\"\r\n },\r\n {\r\n id: ncNanoId(),\r\n href: \"/products\",\r\n name: \"NavItems.whatWeCarry\",\r\n // type: \"dropdown\",\r\n // children: demoChildMenus,\r\n },\r\n {\r\n id: ncNanoId(),\r\n href: \"/shop\",\r\n name: \"NavItems.products\",\r\n // type: \"dropdown\",\r\n // children: [\r\n // { id: ncNanoId(), href: \"/geoducks\", name: \"Geoducks\" }\r\n // ]\r\n },\r\n {\r\n id: ncNanoId(),\r\n href: \"/contact\",\r\n name: \"NavItems.contactUs\"\r\n },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"/cart\",\r\n // name: \"Cart\"\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"/checkout\",\r\n // name: \"Checkout\"\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"#\",\r\n // name: \"Five columns\",\r\n // type: \"megaMenu\",\r\n // megaMenu: megaMenuDemo,\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"#\",\r\n // name: \"Listing Page\",\r\n // type: \"dropdown\",\r\n // children: [\r\n // { id: ncNanoId(), href: \"/listing-stay\", name: \"Stay page\" },\r\n // { id: ncNanoId(), href: \"/listing-stay-map\", name: \"Stay page (map)\" },\r\n // { id: ncNanoId(), href: \"/listing-stay-detail\", name: \"Stay Detail\" },\r\n // //\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"/listing-experiences\",\r\n // name: \"Experiences page\",\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"/listing-experiences-map\",\r\n // name: \"Experiences page (map)\",\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"/listing-experiences-detail\",\r\n // name: \"Experiences Detail\",\r\n // },\r\n // //\r\n // { id: ncNanoId(), href: \"/listing-car\", name: \"Cars page\" },\r\n // { id: ncNanoId(), href: \"/listing-car-map\", name: \"Cars page (map)\" },\r\n // { id: ncNanoId(), href: \"/listing-car-detail\", name: \"Car Detail\" },\r\n // ],\r\n // },\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"#\",\r\n // name: \"Templates\",\r\n // type: \"dropdown\",\r\n // children: templatesChildrenMenus,\r\n // },\r\n\r\n // {\r\n // id: ncNanoId(),\r\n // href: \"#\",\r\n // name: \"Other pages\",\r\n // type: \"dropdown\",\r\n // children: otherPageChildMenus,\r\n // },\r\n];\r\n","import React from \"react\";\r\nimport NavigationItem from \"./NavigationItem\";\r\nimport { NAVIGATION_DEMO } from \"data/navigation\";\r\n\r\nfunction Navigation() {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default Navigation;\r\n","import React from \"react\";\r\nimport { XIcon } from \"@heroicons/react/solid\";\r\nimport twFocusClass from \"utils/twFocusClass\";\r\n\r\nexport interface ButtonCloseProps {\r\n className?: string;\r\n onClick?: () => void;\r\n}\r\n\r\nconst ButtonClose: React.FC = ({\r\n className = \"\",\r\n onClick = () => {},\r\n}) => {\r\n return (\r\n \r\n Close\r\n \r\n \r\n );\r\n};\r\n\r\nexport default ButtonClose;\r\n","import Button, { ButtonProps } from \"shared/Button/Button\";\r\nimport React from \"react\";\r\n\r\nexport interface ButtonSecondaryProps extends ButtonProps {}\r\n\r\nconst ButtonSecondary: React.FC = ({\r\n className = \" \",\r\n ...args\r\n}) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ButtonSecondary;\r\n","import React, { useState } from \"react\";\n\ninterface AnyInterface{\n auth: boolean;\n setAuth: (boolean: boolean) => void;\n userName: string;\n setUserName: (string: string) => void;\n email: string;\n setEmail: (string: string) => void;\n};\n\nconst defaultState = {\n auth: false,\n setAuth: () => {},\n userName: '',\n setUserName: () => {},\n email: '',\n setEmail: () => {}\n};\n\nconst AuthContext = React.createContext(defaultState);\n\nconst AuthProvider: React.FC = ({ children }) => {\n const [auth, setAuth] = useState(false);\n const [userName, setUserName] = useState('');\n const [email, setEmail] = useState('');\n\n return (\n \n {children}\n \n )\n};\n\nexport { AuthContext, AuthProvider };","import React, { useContext } from \"react\";\r\n// import React from \"react\";\r\nimport ButtonClose from \"shared/ButtonClose/ButtonClose\";\r\nimport Logo from \"shared/Logo/Logo\";\r\nimport { Disclosure } from \"@headlessui/react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { NavItemType } from \"./NavigationItem\";\r\nimport { NAVIGATION_DEMO } from \"data/navigation\";\r\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\nimport ButtonSecondary from \"shared/Button/ButtonSecondary\";\r\nimport SocialsList from \"shared/SocialsList/SocialsList\";\r\nimport { ChevronDownIcon } from \"@heroicons/react/solid\";\r\n// import SwitchDarkMode from \"shared/SwitchDarkMode/SwitchDarkMode\";\r\nimport { useTranslation } from 'react-i18next';\r\nimport { AuthContext } from \"context/authenticate\";\r\n\r\nexport interface NavMobileProps {\r\n data?: NavItemType[];\r\n onClickClose?: () => void;\r\n}\r\n\r\nconst NavMobile: React.FC = ({\r\n data = NAVIGATION_DEMO,\r\n onClickClose,\r\n}) => {\r\n\r\n const { i18n, t } = useTranslation();\r\n\r\n const { auth, userName } = useContext(AuthContext);\r\n\r\n const switchLanguageHandler = (language: any) => {\r\n i18n.changeLanguage(language);\r\n };\r\n\r\n const _renderMenuChild = (item: NavItemType) => {\r\n return (\r\n
      \r\n {item.children?.map((i, index) => (\r\n \r\n \r\n \r\n {i.name}\r\n \r\n {i.children && (\r\n e.preventDefault()}\r\n >\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {i.children && (\r\n {_renderMenuChild(i)}\r\n )}\r\n \r\n ))}\r\n
    \r\n );\r\n };\r\n\r\n const _renderItem = (item: NavItemType, index: number) => {\r\n return (\r\n \r\n \r\n \r\n {t(item.name)}\r\n \r\n {item.children && (\r\n e.preventDefault()}\r\n >\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n {item.children && (\r\n {_renderMenuChild(item)}\r\n )}\r\n \r\n );\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n {t(\"NavItems.caption\")}\r\n \r\n\r\n
    \r\n \r\n {/* \r\n //Add cart icon here \r\n \r\n */}\r\n
    \r\n \r\n /\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
      \r\n {data.map(_renderItem)}\r\n
    \r\n
    \r\n {\r\n auth\r\n ?\r\n \r\n {t(\"LoginPage.hello\")}\r\n {userName}\r\n \r\n :\r\n \r\n {t(\"NavItems.signIn\")}\r\n \r\n }\r\n\r\n \r\n {t(\"NavItems.goToCart\")}\r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default NavMobile;\r\n","import React, { useState, Fragment, useEffect } from \"react\";\r\nimport { Transition, Dialog } from \"@headlessui/react\";\r\nimport NavMobile from \"shared/Navigation/NavMobile\";\r\n\r\nexport interface MenuBarProps {}\r\nconst MenuBar: React.FC = () => {\r\n const [isVisable, setIsVisable] = useState(false);\r\n\r\n useEffect(() => {\r\n setIsVisable(false);\r\n }, [window.location.pathname]);\r\n\r\n const handleOpenMenu = () => setIsVisable(true);\r\n const handleCloseMenu = () => setIsVisable(false);\r\n\r\n const renderContent = () => {\r\n return (\r\n \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n );\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n\r\n {renderContent()}\r\n \r\n );\r\n};\r\n\r\nexport default MenuBar;\r\n","import React, { FC, useContext } from \"react\";\r\n// import React, { FC } from \"react\";\r\nimport Logo from \"shared/Logo/Logo\";\r\nimport Navigation from \"shared/Navigation/Navigation\";\r\nimport { Link } from \"react-router-dom\";\r\n// import SearchDropdown from \"./SearchDropdown\";\r\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\nimport MenuBar from \"shared/MenuBar/MenuBar\";\r\n// import SwitchDarkMode from \"shared/SwitchDarkMode/SwitchDarkMode\";\r\nimport { ShoppingCartIcon } from \"@heroicons/react/solid\";\r\nimport { useTranslation } from 'react-i18next';\r\nimport ButtonSecondary from \"shared/Button/ButtonSecondary\";\r\nimport { AuthContext } from \"../../context/authenticate\";\r\n\r\n\r\nexport interface MainNav1Props {\r\n isTop: boolean;\r\n}\r\n\r\nconst MainNav1: FC = ({ isTop }) => {\r\n const { i18n, t } = useTranslation();\r\n\r\n const { auth, userName } = useContext(AuthContext);\r\n\r\n const switchLanguageHandler = (language: any) => {\r\n i18n.changeLanguage(language);\r\n };\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n /\r\n \r\n
    \r\n\r\n \r\n {/* */}\r\n {/* */}\r\n {/*
    */}\r\n {\r\n auth\r\n ?\r\n \r\n {t(\"LoginPage.hello\")}\r\n {userName}\r\n \r\n :\r\n \r\n {t(\"NavItems.signIn\")}\r\n \r\n }\r\n
    \r\n
    \r\n \r\n {/* */}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default MainNav1;\r\n","import React, { FC } from \"react\";\r\nimport MainNav1 from \"./MainNav1\";\r\nimport { Helmet } from \"react-helmet\";\r\nimport { useEffect } from \"react\";\r\nimport { useState } from \"react\";\r\n\r\nexport interface HeaderProps {}\r\n\r\nconst Header: FC = () => {\r\n const [isTop, setisTop] = useState(true);\r\n\r\n useEffect(() => {\r\n window.onscroll = function () {\r\n scrollFunction();\r\n };\r\n }, []);\r\n\r\n function scrollFunction() {\r\n const $head = document.getElementById(\"nc-chifis-header\");\r\n if (!$head) return;\r\n if (\r\n document.body.scrollTop > 20 ||\r\n document.documentElement.scrollTop > 20\r\n ) {\r\n !!isTop && setisTop(false);\r\n } else {\r\n setisTop(true);\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n Best Honour Seafood\r\n \r\n\r\n {/* NAV */}\r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default Header;\r\n","export default __webpack_public_path__ + \"static/media/404.ed676656.png\";","import ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\nimport React from \"react\";\r\nimport { Helmet } from \"react-helmet\";\r\nimport NcImage from \"shared/NcImage/NcImage\";\r\nimport I404Png from \"images/404.png\";\r\n\r\nconst Page404: React.FC = () => (\r\n
    \r\n \r\n Best Honour Seafood\r\n \r\n
    \r\n {/* HEADER */}\r\n
    \r\n \r\n \r\n THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.{\" \"}\r\n \r\n
    \r\n Return Home Page\r\n
    \r\n
    \r\n
    \r\n
    \r\n);\r\n\r\nexport default Page404;\r\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAMCAYAAADlPXT9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAOYSURBVHgBbVRbaFRHGP5mznHT5gKhhBJFm0qKacEUUtvaG6VU+5K2Xkp3LUbpbrTaYh9qoe8S0z70oX3wIRjITYhmE4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XUhbt21SojBvvcfUYVL4P/etPUMU/qM6oIbwrEm4gkUGiO03Z5zJ27iWMLSmvJCI9fAAAAABJRU5ErkJggg==\"","export default __webpack_public_path__ + \"static/media/mastercard.b720e3b5.svg\";","import React, { FC } from \"react\";\r\n\r\nexport interface LabelProps {\r\n className?: string;\r\n}\r\n\r\nconst Label: FC = ({ className = \"\", children }) => {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport default Label;\r\n","import React, { useState } from \"react\";\n// import { Auth, API } from \"aws-amplify\";\n// import { v4 as uuidv4 } from \"uuid\";\n// import { processOrder } from \"../graphql/mutations\";\n\n\ninterface googleInterface{\n products: any[];\n setProducts: (products: any) => void;\n checkout?: (orderDetails: any) => void;\n};\n\nconst defaultState = {\n products: [],\n setProducts: () => {},\n checkout: () => {}\n};\n\nconst GoogleContext = React.createContext(defaultState);\n\nconst GoogleProvider: React.FC = ({ children }) => {\n\n const [products, setProducts] = useState>([]);\n\n // async function isLoggedIn() {\n // // Another way to get if its a guest or not\n // //return await Auth.Credentials.getCredSource() === \"guest\"\n // try {\n // await Auth.currentAuthenticatedUser();\n // return true;\n // } catch {\n // return false;\n // }\n // };\n\n // const checkout = async (orderDetails: any) => {\n // const payload = {\n // id: uuidv4(),\n // ...orderDetails\n // };\n\n // try {\n // const res = await API.graphql({\n // query: processOrder,\n // variables: {input: payload},\n // // authMode: await isLoggedIn() ? \"AMAZON_COGNITO_USER_POOLS\" : \"AWS_IAM\",\n // authMode: \"AMAZON_COGNITO_USER_POOLS\"\n // })\n\n // console.log(\"Order is successful:\", res);\n // } catch (err) {\n // console.log(\"Checkout Error\", err);\n\n // console.log(\"whats in the cart:\", cart);\n // const res = findTheCorrectProducts(products, cart);\n\n // res.forEach(async (cartItem, index) => {\n // await addInventory(cartItem.id, cartItem.deductQuantity);\n // });\n // console.log('Re-Add QTY');\n // }\n // };\n\n return(\n \n {children}\n \n )\n};\n\nexport { GoogleContext, GoogleProvider };","import React, { useState, useEffect } from \"react\";\n\ninterface AnyInterface{\n cart: any[];\n total: number;\n addToCart: (products: any) => void;\n increaseAmount: (id: any) => void;\n decreaseAmount: (id: any, amount: any) => void; \n clearCart: () => void;\n};\n\nconst defaultState = {\n cart: [],\n total: 0,\n paymentSent: false,\n setPaymentSent: () => {},\n addToCart: () => {},\n increaseAmount: () => {},\n decreaseAmount: () => {},\n clearCart: () => {},\n};\n\nconst CartContext = React.createContext(defaultState);\n\nconst CartProvider: React.FC = ({ children }) => {\n const [cart, setCart] = useState>([]);\n const [total, setTotal] = useState(0);\n\n useEffect(() => {\n const total = [...cart].reduce((total, {amount, price}: any) => {\n return (total += amount * price);\n }, 0);\n setTotal(parseFloat(total.toFixed(2)));\n }, [cart]);\n\n const increaseAmount = (id: any) => {\n const updatedCart = [...cart].map((item: any) => {\n return item.id === id ? { ...item, amount: item.amount + 1 } : item;\n });\n setCart(updatedCart);\n };\n\n const decreaseAmount = (id: any, amount: any) => {\n let updatedCart = [];\n if (amount === 1) {\n updatedCart = [...cart].filter((item: any) => item.id !== id);\n } else {\n updatedCart = [...cart].map((item: any) => {\n return item.id === id ? { ...item, amount: item.amount - 1 } : item;\n });\n }\n setCart(updatedCart);\n };\n\n const addToCart = (products: any) => {\n const { id, title, price } = products;\n const cartItem = [...cart].find((item: any) => item.id === id);\n if (cartItem) {\n increaseAmount(id);\n } else {\n const cartItems = [...cart, { id, title, price, amount: 1 }];\n setCart(cartItems);\n }\n };\n\n const clearCart = () => {\n setCart([]);\n };\n // console.log('Cart State:', cart);\n return (\n \n {children}\n \n );\n};\n\nexport { CartProvider, CartContext };","/* eslint-disable */\n// this is an auto generated file. This will be overwritten\n\nexport const processOrder = /* GraphQL */ `\n mutation ProcessOrder($input: ProcessOrderInput!) {\n processOrder(input: $input)\n }\n`;\nexport const createSeafood = /* GraphQL */ `\n mutation CreateSeafood(\n $input: CreateSeafoodInput!\n $condition: ModelSeafoodConditionInput\n ) {\n createSeafood(input: $input, condition: $condition) {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteSeafood = /* GraphQL */ `\n mutation DeleteSeafood(\n $input: DeleteSeafoodInput!\n $condition: ModelSeafoodConditionInput\n ) {\n deleteSeafood(input: $input, condition: $condition) {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n }\n }\n`;\nexport const createSeafoodOrder = /* GraphQL */ `\n mutation CreateSeafoodOrder(\n $input: CreateSeafoodOrderInput!\n $condition: ModelSeafoodOrderConditionInput\n ) {\n createSeafoodOrder(input: $input, condition: $condition) {\n id\n seafood_id\n order_id\n order {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n nextToken\n }\n customer\n }\n createdAt\n updatedAt\n seafood {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n nextToken\n }\n }\n customer\n }\n }\n`;\nexport const deleteSeafoodOrder = /* GraphQL */ `\n mutation DeleteSeafoodOrder(\n $input: DeleteSeafoodOrderInput!\n $condition: ModelSeafoodOrderConditionInput\n ) {\n deleteSeafoodOrder(input: $input, condition: $condition) {\n id\n seafood_id\n order_id\n order {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n nextToken\n }\n customer\n }\n createdAt\n updatedAt\n seafood {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n nextToken\n }\n }\n customer\n }\n }\n`;\nexport const createOrder = /* GraphQL */ `\n mutation CreateOrder(\n $input: CreateOrderInput!\n $condition: ModelOrderConditionInput\n ) {\n createOrder(input: $input, condition: $condition) {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n customer\n }\n }\n`;\nexport const updateOrder = /* GraphQL */ `\n mutation UpdateOrder(\n $input: UpdateOrderInput!\n $condition: ModelOrderConditionInput\n ) {\n updateOrder(input: $input, condition: $condition) {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n customer\n }\n }\n`;\nexport const deleteOrder = /* GraphQL */ `\n mutation DeleteOrder(\n $input: DeleteOrderInput!\n $condition: ModelOrderConditionInput\n ) {\n deleteOrder(input: $input, condition: $condition) {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n customer\n }\n }\n`;\nexport const updateSeafood = /* GraphQL */ `\n mutation UpdateSeafood(\n $input: UpdateSeafoodInput!\n $condition: ModelSeafoodConditionInput\n ) {\n updateSeafood(input: $input, condition: $condition) {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n items {\n id\n seafood_id\n order_id\n createdAt\n updatedAt\n customer\n }\n nextToken\n }\n }\n }\n`;\nexport const updateSeafoodOrder = /* GraphQL */ `\n mutation UpdateSeafoodOrder(\n $input: UpdateSeafoodOrderInput!\n $condition: ModelSeafoodOrderConditionInput\n ) {\n updateSeafoodOrder(input: $input, condition: $condition) {\n id\n seafood_id\n order_id\n order {\n id\n user\n date\n total\n createdAt\n updatedAt\n seafoods {\n nextToken\n }\n customer\n }\n createdAt\n updatedAt\n seafood {\n id\n title\n description\n image\n author\n featured\n price\n createdAt\n updatedAt\n orders {\n nextToken\n }\n }\n customer\n }\n }\n`;\n","import React, { FC, useState, useEffect, useContext } from \"react\";\n// import { useHistory } from \"react-router-dom\";\n// import { SeafoodContext } from \"../../context/seafoods\";\nimport { GoogleContext } from \"context/google\";\nimport { CartContext } from \"../../context/cart\";\nimport { CardElement, useElements, useStripe } from \"@stripe/react-stripe-js\";\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\nimport { API, Auth } from \"aws-amplify\";\nimport { v4 as uuidv4 } from \"uuid\";\nimport { processOrder } from \"graphql/mutations\";\nimport { useTranslation } from \"react-i18next\";\n\nexport interface CheckOutFormProps {\n className?: string;\n paymentTrigger: (string: any) => void;\n guestValues?: any;\n}\n\nconst CARD_ELEMENT_OPTIONS = {\n style: {\n base: {\n color: \"#32325d\",\n fontFamily: '\"Helvetica Neue\", Helvetica, sans-serif',\n fontSmoothing: \"antialiased\",\n fontSize: \"16px\",\n \"::placeholder\": {\n color: \"#aab7c4\"\n }\n },\n invalid: {\n color: \"#fa755a\",\n iconColor: \"#fa755a\"\n },\n hidePostalCode: true\n }\n};\n\nconst CheckoutForm: FC = ({paymentTrigger, guestValues}) => {\n const { cart, total, clearCart } = useContext(CartContext);\n const { products } = useContext(GoogleContext);\n\n const [orderDetails, setOrderDetails] = useState({ cart, total, address: null, token: null });\n const [error, setError] = useState(null);\n\n const { t } = useTranslation();\n const stripe = useStripe();\n const elements = useElements();\n // const history = useHistory();\n // console.log('Child component:', guestValues);\n\n // Handle real-time validation errors from the card Element.\n const handleChange = (event: any) => {\n if (event.error) {\n setError(event.error.message);\n } else {\n setError(null);\n }\n };\n\n //Add inventory\n const addInventory = async (keyValue: any, newValue: any) => {\n\n try {\n await API.post('googleAddSeafoodInventory', '/addSeafoodInventory', {\n queryStringParameters: {\n keyValue: keyValue,\n newValue: newValue\n },\n headers: {\n 'Content-Type': 'application/json'\n }\n })\n } catch (err) {\n console.log('Update Error:', err);\n }\n };\n\n //Update google inventory API\n const updateSeafood = async (keyValue: any, newValue: any) => {\n\n try {\n await API.post('googleUpdateSeafoodInventory', '/updateSeafoodInventory', {\n queryStringParameters: {\n keyValue: keyValue,\n newValue: newValue\n },\n headers: {\n 'Content-Type': 'application/json'\n }\n })\n // .then((res) => {\n // const result = res.body.data;\n // console.log('Done:', result);\n // });\n } catch (err) {\n console.log('Update Error:', err);\n }\n };\n\n const findTheCorrectProducts = (allProducts: any, cartItems: any) => {\n let arr = [];\n\n for (let productRow = 0; productRow < allProducts.length; productRow++) {\n\n const eachProduct = allProducts[productRow];\n\n for (let cartRow = 0; cartRow < cartItems.length; cartRow++) {\n const eachCartItem = cartItems[cartRow];\n\n if (eachProduct.id === eachCartItem.id) {\n \n const currentQuantity = eachProduct.quantity;\n const deductQuantity = eachCartItem.amount;\n\n if (currentQuantity > deductQuantity || currentQuantity === deductQuantity) {\n arr.push({\n \"id\": eachCartItem.id,\n // \"currentQuantity\": currentQuantity,\n \"deductQuantity\": deductQuantity\n });\n\n } else {\n return [];\n }\n };\n };\n };\n return arr;\n };\n\n // Handle form submission.\n const handleSubmit = async (event: any) => {\n event.preventDefault();\n\n const res = findTheCorrectProducts(products, cart);\n\n if (res.length > 0) {\n\n const card = elements!.getElement(CardElement);\n const result = await stripe!.createToken(card as NonNullable);\n // console.log('Result:', result);\n\n // const paymentMethodReq = await stripe!.createPaymentMethod({\n // type: \"card\",\n // card: card\n // }as any);\n \n // const confirmedCardPayment = await stripe!.confirmCardPayment(clientSecret, {\n // payment_method: paymentMethodReq.paymentMethod.id,\n // })\n\n if (result.error) {\n // Inform the user if there was an error.\n setError(result.error.message);\n } else {\n\n res.forEach(async (cartItem, index) => {\n await updateSeafood(cartItem.id, cartItem.deductQuantity);\n });\n setError(null);\n // Send the token to your server.\n const token = result.token;\n setOrderDetails({ ...orderDetails, \n token: token.id, \n guestName: (guestValues && guestValues.name) || '',\n guestEmail: (guestValues && guestValues.email) || '',\n guestPhone: (guestValues && guestValues.phone) || ''\n });\n paymentTrigger(\"true\");\n clearCart();\n }\n } else {\n alert(\"Something went wrong\");\n };\n };\n\n async function isLoggedIn() {\n // Another way to get if its a guest or not\n //return await Auth.Credentials.getCredSource() === \"guest\"\n try {\n await Auth.currentAuthenticatedUser();\n return true;\n } catch {\n return false;\n }\n };\n\n const checkout = async (orderDetails: any) => {\n const payload = {\n id: uuidv4(),\n ...orderDetails\n };\n\n try {\n const res = await API.graphql({\n query: processOrder,\n variables: {input: payload},\n authMode: await isLoggedIn() ? \"AMAZON_COGNITO_USER_POOLS\" : \"AWS_IAM\"\n // authMode: \"AMAZON_COGNITO_USER_POOLS\"\n })\n\n console.log(\"Order is successful:\", res);\n } catch (err) {\n console.log(\"Checkout Error\", err);\n paymentTrigger(\"false\");\n\n setTimeout(() => {\n const res = findTheCorrectProducts(products, cart);\n\n res.forEach(async (cartItem, index) => {\n await addInventory(cartItem.id, cartItem.deductQuantity);\n });\n // console.log('Re-Add QTY');\n }, 3000)\n \n }\n };\n\n useEffect(() => {\n if (orderDetails.token) {\n checkout(orderDetails);\n //clearCart();\n //history.push(\"/\");\n }\n }, [orderDetails]);\n\n return (\n
    \n
    \n {/* \n setOrderDetails({ ...orderDetails, address: e.target.value })}\n /> */}\n
    \n {/* */}\n \n
    \n
    \n {error}\n
    \n
    \n\n
    \n \n {t(\"CheckOutForm.submitButton\")}\n \n
    \n
    \n );\n};\n\nexport default CheckoutForm;\n","import React from \"react\";\nimport { FC } from \"react\";\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\n// import ButtonSecondary from \"shared/Button/ButtonSecondary\";\nimport { useTranslation } from \"react-i18next\";\n\nexport interface CommonLayoutProps {\n index?: string;\n nextHref?: string;\n backtHref?: string;\n nextBtnText?: string;\n}\n\nconst OneButtonCommonLayout: FC = ({\n index = \"01\",\n children,\n nextHref,\n nextBtnText,\n backtHref,\n}) => {\n\n const { t } = useTranslation();\n\n return (\n \n
    \n {/*
    \n {index}{\" \"}\n \n / 10\n \n
    */}\n\n {/* --------------------- */}\n
    {children}
    \n\n {/* --------------------- */}\n
    \n {t(\"Button.return\")}\n
    \n
    \n \n );\n};\n\nexport default OneButtonCommonLayout;\n","export const publishableKey = {\n test: \"pk_test_51JgyMgKOymNBGrobwo0y9iG6kiYa6FrW6aTMmjYZYOsx6e86TOF0ouf5y66YKcr9EBysq4djZmxX4hCOah1uZuoN00oLJnXAKE\",\n prod: \"pk_live_51JgyMgKOymNBGrobmJEJogtRIPpZL04xrAI4yBuQaIEoXUAvfx7QJALc2aPcj0G4AhzkYqfaiO4tLxRNLGK0vf0Y00BdsGCbLD\"\n};","import React, { FC, Fragment, useContext, useState } from \"react\";\r\nimport { Tab } from \"@headlessui/react\";\r\n// import { PencilAltIcon } from \"@heroicons/react/outline\";\r\nimport visaPng from \"images/vis.png\";\r\nimport mastercardPng from \"images/mastercard.svg\";\r\nimport Input from \"shared/Input/Input\";\r\nimport Label from \"components/Label/Label\";\r\n// import Textarea from \"shared/Textarea/Textarea\";\r\n// import ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\n// import NcImage from \"shared/NcImage/NcImage\";\r\n// import StartRating from \"components/StartRating/StartRating\";\r\n// import NcModal from \"shared/NcModal/NcModal\";\r\n// import { Authenticator } from '@aws-amplify/ui-react';\r\nimport { loadStripe } from '@stripe/stripe-js';\r\nimport { Elements } from '@stripe/react-stripe-js';\r\nimport CheckoutForm from \"components/CheckoutForm/CheckoutForm\";\r\nimport OneButtonCommonLayout from \"containers/PageAddListing1/OneButtonCommonLayout\";\r\n// import { CartContext } from \"context/cart\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { AuthContext } from \"context/authenticate\";\r\nimport { publishableKey } from \"./constant\";\r\n\r\nexport interface CheckOutPageProps {\r\n className?: string;\r\n}\r\n\r\nconst CheckOutPage: FC = ({ className = \"\" }) => {\r\n\r\n // const stripePromise = loadStripe(publishableKey.test);\r\n const stripePromise = loadStripe(publishableKey.prod);\r\n\r\n const { t } = useTranslation();\r\n\r\n const { auth } = useContext(AuthContext);\r\n\r\n const [paymentSent, setPaymentSent] = useState(undefined);\r\n const [values, setValues] = useState({\r\n name: '',\r\n email: '',\r\n phone: ''\r\n });\r\n\r\n const paymentTrigger = (input: any) => {\r\n if (input === \"true\") {\r\n setPaymentSent(true);\r\n } else {\r\n setPaymentSent(false);\r\n }\r\n };\r\n\r\n const handleChange = (e: any) => {\r\n const { name, value } = e.target;\r\n\r\n setValues((prevState) => ({ ...prevState, [name]: value }))\r\n };\r\n\r\n // const renderSidebar = () => {\r\n // return (\r\n // <>\r\n // { \r\n // cart.map((item)=> {\r\n // return
    \r\n //
    \r\n //
    \r\n //
    \r\n // \r\n //
    \r\n //
    \r\n //
    \r\n //
    \r\n // {/* \r\n // Hotel room in Tokyo, Jappan\r\n // */}\r\n // \r\n // {item.title}\r\n // \r\n //
    \r\n // {/* \r\n // 2 beds · 2 baths\r\n // \r\n //
    \r\n // */}\r\n //
    \r\n //
    \r\n //
    \r\n //

    Price detail

    \r\n //
    \r\n // {`${item.price} x ${item.amount}`}\r\n // {`Subtotal: ${item.total}`}\r\n //
    \r\n // {/*
    \r\n // Service charge\r\n // $0\r\n //
    */}\r\n\r\n //
    \r\n //
    \r\n // Total\r\n // $57\r\n //
    \r\n //
    \r\n //
    \r\n // })\r\n // }\r\n // \r\n // );\r\n // };\r\n\r\n const renderMain = () => {\r\n return (\r\n
    \r\n

    \r\n {t(\"CheckOutForm.pageTitle\")}\r\n

    \r\n
    \r\n {/*
    \r\n
    \r\n

    Your trip

    \r\n (\r\n openModal()}\r\n className=\"block lg:hidden underline mt-1 cursor-pointer\"\r\n >\r\n View booking details\r\n \r\n )}\r\n renderContent={renderSidebar}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n Date\r\n \r\n Aug 12 - 16, 2021\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n Guests\r\n 3 Guests\r\n
    \r\n \r\n
    \r\n
    \r\n
    */}\r\n\r\n
    \r\n

    {t(\"CheckOutForm.pageSubTitle\")}

    \r\n
    \r\n \r\n \r\n \r\n {({ selected }) => (\r\n \r\n \r\n {t(\"CheckOutForm.creditCard\")}\r\n \r\n \"\"\r\n \"\"\r\n \r\n )}\r\n \r\n {/* \r\n {({ selected }) => (\r\n \r\n Paypal\r\n \r\n )}\r\n */}\r\n \r\n\r\n
    \r\n \r\n \r\n {/*
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    */}\r\n {/*
    \r\n \r\n \r\n );\r\n }\r\n);\r\n\r\nexport default Textarea;\r\n","export default __webpack_public_path__ + \"static/media/store.60a9b5c2.jpg\";","import React, { FC, useState } from \"react\";\r\nimport { Helmet } from \"react-helmet\";\r\n// import SectionSubscribe2 from \"components/SectionSubscribe2/SectionSubscribe2\";\r\n// import SocialsList from \"shared/SocialsList/SocialsList\";\r\nimport Label from \"components/Label/Label\";\r\nimport Input from \"shared/Input/Input\";\r\nimport Textarea from \"shared/Textarea/Textarea\";\r\nimport ButtonPrimary from \"shared/Button/ButtonPrimary\";\r\n// import SectionClientSay from \"components/SectionClientSay/SectionClientSay\";\r\n// import BackgroundSection from \"components/BackgroundSection/BackgroundSection\";\r\nimport { useTranslation } from 'react-i18next';\r\nimport emailjs from '@emailjs/browser';\r\nimport { serviceID, templateID, userID } from './constant';\r\nimport NcImage from \"shared/NcImage/NcImage\";\r\nimport storeImage from \"images/store.jpg\";\r\n\r\nexport interface PageContactProps {\r\n className?: string;\r\n}\r\n\r\nconst info = [\r\n {\r\n title: \"AboutUsPage.address\",\r\n desc: \"126-11786 River Rd, Richmond, BC, V6X 1Z7\",\r\n },\r\n // {\r\n // title: \"💌 EMAIL\",\r\n // desc: \"nc.example@example.com\",\r\n // },\r\n {\r\n title: \"AboutUsPage.phone\",\r\n desc: \"(604) 231-3703\",\r\n },\r\n {\r\n title: \"AboutUsPage.hours\",\r\n desc: \"AboutUsPage.monToFri\"\r\n }\r\n];\r\n\r\nconst PageContact: FC = ({ className = \"\" }) => {\r\n\r\n const { t } = useTranslation();\r\n\r\n const [values, setValues] = useState({\r\n name: '',\r\n email: '',\r\n message: ''\r\n });\r\n\r\n const [sent, setSent] = useState(false);\r\n\r\n const handleChange = (e: any) => {\r\n const { name, value } = e.target;\r\n\r\n setValues((prevState) => ({ ...prevState, [name]: value }))\r\n };\r\n\r\n const handleSubmit = (e: any) => {\r\n e.preventDefault();\r\n\r\n emailjs.sendForm(serviceID, templateID, e.target, userID)\r\n .then((response) => {\r\n console.log('SUCCESS!', response.status, response.text);\r\n setSent(true);\r\n }, (error) => {\r\n console.log('FAILED...', error);\r\n });\r\n\r\n e.target.reset();\r\n };\r\n\r\n return (\r\n \r\n \r\n Best Honour Seafood\r\n \r\n\r\n \r\n\r\n
    \r\n

    \r\n {t(\"AboutUsPage.contact\")}\r\n

    \r\n
    \r\n {/*
    */}\r\n
    \r\n\r\n {/*
    */}\r\n
    \r\n {/*
    */}\r\n {info.map((item, index) => (\r\n
    \r\n

    \r\n {t(item.title)}\r\n

    \r\n \r\n {t(item.desc)}\r\n \r\n
    \r\n ))}\r\n {/*
    \r\n

    \r\n 🌏 SOCIALS\r\n

    \r\n \r\n
    */}\r\n
    \r\n
    \r\n {\r\n sent\r\n ? \r\n \r\n

    \r\n {t(\"AboutUsPage.successMessage\")}\r\n

    \r\n
    \r\n :\r\n
    \r\n \r\n \r\n