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AACwC,EAAWA,CAACnD,aAAcA,KAGvC","sources":["webpack://_N_E/?0e77","webpack://_N_E/./components/contacts/ContactInfo.tsx","webpack://_N_E/./components/contacts/ContactBody.tsx","webpack://_N_E/./pages/contacts.tsx","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/contacts\",\n function () {\n return require(\"private-next-pages/contacts.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/contacts\"])\n });\n }\n ","import { MDBCol, MDBContainer, MDBRow } from \"mdb-react-ui-kit\";\nimport { getContactsInfo } from \"@/utils/mockData/contactsMocks\";\nimport { convertDeltaToHtmlConverter } from \"@/utils/common/delta\";\nimport { IContactData } from \"@/models/contact\";\nimport styles from \"../../styles/contacts/Contacts.module.scss\";\nimport ContactCard from \"./ContactCard\";\n\nconst ContactInfo = ({\n contactsData,\n}: {\n contactsData: IContactData | undefined;\n}) => {\n const contactsInfo = getContactsInfo(contactsData || {});\n\n return (\n \n \n

Contact us

\n {contactsData?.contactUs?.subtitle ? (\n \n ) : (\n {`Our Play Italy team is here to answer any questions related to our services. Before contacting us, be sure to check our FAQ page to see if the answer you're looking for is already there.`}\n )}\n
\n \n {contactsInfo?.map(contact => (\n \n ))}\n \n
\n );\n};\n\nexport default ContactInfo;\n","import { headData } from \"@/utils/mockData/userMocks\";\nimport { IContactData } from \"@/models/contact\";\nimport HeadSection from \"../common/HeadSection\";\nimport Help from \"../playWithUs/Help\";\nimport Brochures from \"../home/brochures/Brochures\";\nimport ContactInfo from \"./ContactInfo\";\n\nconst ContactBody = ({ contactsData }: { contactsData?: IContactData }) => {\n return (\n
\n \n \n \n \n
\n );\n};\n\nexport default ContactBody;\n","import { dehydrate, DehydratedState, QueryClient } from \"@tanstack/react-query\";\nimport type { GetServerSideProps, NextPage } from \"next\";\n\nimport { ESeoPage } from \"@/utils/mockData/metaMocks\";\nimport useContactsData from \"@/utils/queries/hooks/useContactsData\";\nimport { IContactData } from \"@/models/contact\";\nimport { OpenGraph } from \"next-seo/lib/types\";\nimport Layout from \"../components/common/Layout\";\nimport ContactBody from \"../components/contacts/ContactBody\";\nimport { getBrochureData, getNavBarData, getSeoInfo } from \"../utils/queries\";\n\nconst getOpenGraphData = (contactsData?: IContactData): OpenGraph => {\n if (contactsData) {\n return {\n title: contactsData.metadata?.title,\n description: contactsData.metadata?.metaDescription,\n url: contactsData.metadata?.urlCanonical,\n images: [\n {\n url: contactsData.headImage,\n alt: contactsData.metadata?.altHeadImage,\n },\n ],\n };\n }\n return {};\n};\n\nconst Contacts: NextPage = () => {\n const { data: contactsData } = useContactsData();\n // const { data: metaTags } = useQuery({\n // queryKey: [\"metaTags\", ESeoPage.CONTACTS],\n // queryFn: () => getSeoInfo(ESeoPage.CONTACTS),\n // });\n\n const metadata = getOpenGraphData(contactsData);\n\n return (\n \n \n \n );\n};\n\nexport const getServerSideProps: GetServerSideProps = async (): Promise<{\n props: {\n dehydratedState: DehydratedState;\n };\n}> => {\n const queryClient = new QueryClient();\n\n await Promise.all([\n await queryClient.prefetchQuery([\"navBar\"], getNavBarData),\n await queryClient.prefetchQuery([\"brochures\"], getBrochureData),\n await queryClient.prefetchQuery([\"metaTags\", ESeoPage.CONTACTS], () =>\n getSeoInfo(ESeoPage.CONTACTS)\n ),\n ]);\n\n return {\n props: {\n dehydratedState: dehydrate(queryClient),\n },\n };\n};\n\nexport default Contacts;\n"],"names":["window","__NEXT_P","push","__webpack_require__","contacts_ContactInfo","contactsData","param","contactsInfo","getContactsInfo","jsx_runtime","jsxs","MDBContainer","fluid","className","styles","MDBCol","jsx","h1","contactUs","subtitle","div","dangerouslySetInnerHTML","__html","convertDeltaToHtmlConverter","MDBRow","around","map","contact","ContactCard","contactInfo","id","contacts_ContactBody","HeadSection","content","headData","headImage","wordingsDelta","wordings","ContactInfo","Help","Brochures","getOpenGraphData","title","metadata","description","metaDescription","url","urlCanonical","images","alt","altHeadImage","contacts","data","useContactsData","Layout","metaTags","ContactBody"],"sourceRoot":""}