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IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,wDACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,kDACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CACYqT,EAAyC,CAClD,CACIne,KAAM,2BACNrE,MAAOiP,IAAAA,UACPC,WAAY,UACZC,QAAS,EACb,EACH,CAEYsT,EAA4C,CACrD,CACIpe,KAAM,WACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACA,CACI9K,KAAM,iBACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,uBACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACA,CACI9K,KAAM,4DACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,GACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,oFACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,wDACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACH,CACYuT,EAAyC,CAClD,CACIre,KAAM,mBACNrE,MAAOiP,IAAAA,UACPC,WAAY,UACZC,QAAS,EACb,EACH,CAEYwT,EAA4C,CACrD,CACIte,KAAM,uPACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CACYyT,EAAyC,CAClD,CACIve,KAAM,qBACNrE,MAAOiP,IAAAA,UACPC,WAAY,UACZC,QAAS,EACb,EACH,CAEY0T,EAA4C,CACrD,CACIxe,KAAM,kLACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CAEY2T,EAAmC,CAC5C,CACI/iB,MAAOuiB,EACPtf,SAAUuf,EACVQ,SACI,gKACR,EACA,CACIhjB,MAAOyiB,EACPxf,SAAUyf,EACVM,SACI,yKACR,EACA,CACIhjB,MAAO2iB,EACP1f,SAAU2f,EACVI,SACI,gKACR,EACA,CACIhjB,MAAO6iB,EACP5f,SAAU6f,EACVE,SACI,+JACR,EACH,CAEYC,EAAwC,CACjD,CACI3e,KAAM,6CACNrE,MAAOiP,IAAAA,eACPC,WAAY,UACZC,QAAS,EACb,EACH,CACY8T,EAA2C,CACpD,CACI5e,KAAM,2HACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CACY+T,EAAiC,CAC1C,CACI7e,KAAM,aACNrE,MAAOiP,IAAAA,eACPC,WAAY,UACZC,QAAS,EACb,EACH,CACYgU,EAAoC,CAC7C,CACI9e,KAAM,oCACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CACKiU,EAAiC,CACnC,CACI/e,KAAM,qBACNrE,MAAOiP,IAAAA,eACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,8BACNrE,MAAOiP,IAAAA,eACPC,WAAY,UACZC,QAAS,EACb,EACH,CAEKkU,EAAoC,CACtC,CACIhf,KAAM,2BACNrE,MAAOiP,IAAAA,eACPC,WAAY,UACZC,QAAS,EACb,EACH,CAEYmU,EAA+B,CACxCC,mBACI,iKACJxjB,MAAOqjB,EACPpgB,SAAUqgB,CACd,EAEaG,EAA2D,CACpE,CACInf,KAAM,uBACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,uBACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CAEYsU,EAA+D,CACxE,CACIpf,KAAM,YACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,gCACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACA,CACI9K,KAAM,sCACNrE,MAAOiP,IAAAA,SACPC,WAAY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,SACPC,WAAY,GACZC,QAAS,EACb,EACH,CAEY4U,EAAyD,CAClE,CACI1f,KAAM,oKACNrE,MAAOiP,IAAAA,SACPC,WAAY,UACZC,QAAS,EACb,EACA,CACI9K,KAAM,gNACNrE,MAAOiP,IAAAA,SACPC,WAAY,GACZC,QAAS,EACb,EACH,8DCvXDrP,CAAAA,EAAA,EARqC,IAC1BqJ,CAAAA,EAAAA,EAAAA,CAAAA,EAAS,CACZC,SAAU,CAAC,uBAAuB,CAClCC,QAAS,IAAM2a,CAAAA,EAAAA,EAAAA,EAAAA,IACfza,qBAAsB,EAC1B,sBCPJ0a,EAAAC,QAAA,CAAkB,4cCAlBD,EAAAC,QAAA,CAAkB,0QCAlBD,EAAAC,QAAA,CAAkB,knBCAlBD,EAAAC,QAAA,CAAkB,kSCAlBD,EAAAC,QAAA,CAAkB,8zBCAlBD,EAAAC,QAAA,CAAkB,wHCAlBD,EAAAC,QAAA,CAAkB,o3BCAlBD,EAAAC,QAAA,CAAkB,4cCAlBD,EAAAC,QAAA,CAAkB,48CCAlBD,EAAAC,QAAA,CAAkB,6iCCAlBD,EAAAC,QAAA,CAAkB","sources":["webpack://_N_E/","webpack://_N_E/./components/common/Tag.tsx","webpack://_N_E/./components/home/ItalianStories.tsx","webpack://_N_E/./components/home/cards/CardBrochures.tsx","webpack://_N_E/./models/home.ts","webpack://_N_E/./components/home/brochures/BrochureModal.tsx","webpack://_N_E/./public/images/brochures.png","webpack://_N_E/./utils/queries/hooks/useBrochureData.ts","webpack://_N_E/./components/home/brochures/Brochures.tsx","webpack://_N_E/./components/home/cards/CardStories.tsx","webpack://_N_E/./components/home/italianTour/ItalianTourCarousel.tsx","webpack://_N_E/./public/custom-icons/home-custom/italy.svg","webpack://_N_E/./public/custom-icons/home-custom/italy-hand.svg","webpack://_N_E/./public/custom-icons/home-custom/sun.svg","webpack://_N_E/./utils/svg-icon/location.ts","webpack://_N_E/./components/home/homeHead/HomeHeadDetailMobile.tsx","webpack://_N_E/./components/home/homeHead/HomeHeadDetailDesktop.tsx","webpack://_N_E/./utils/mockData/smartSearch.ts","webpack://_N_E/./components/home/smartSearch/SmartSearchTitle.tsx","webpack://_N_E/./components/home/smartSearch/SmartNavButton.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchModalHead.tsx","webpack://_N_E/./components/home/smartSearch/SmartGrid.tsx","webpack://_N_E/./components/home/cards/cardTour/NewCardTour.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchCarousels.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchFilterM.tsx","webpack://_N_E/./components/home/smartSearch/RadioButtonRow.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchSelection.tsx","webpack://_N_E/./components/home/smartSearch/SmartCard.tsx","webpack://_N_E/./components/home/smartSearch/SmartTourType.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchModalBody.tsx","webpack://_N_E/./components/home/smartSearch/SmartSearchModal.tsx","webpack://_N_E/./components/home/homeHead/HomeHead.tsx","webpack://_N_E/./components/home/italianTour/ItalianTourButtons.tsx","webpack://_N_E/./components/home/italianTour/ItalianTour.tsx","webpack://_N_E/./components/home/OurManifest.tsx","webpack://_N_E/./components/home/cards/CardVisit.tsx","webpack://_N_E/./components/home/IwantToVisit.tsx","webpack://_N_E/./components/home/HomeBody.tsx","webpack://_N_E/./pages/index.tsx","webpack://_N_E/./utils/ceo.ts","webpack://_N_E/./utils/mockData/playWithUsMock.ts","webpack://_N_E/./utils/queries/hooks/useGeneralItalianStoriesData.ts","webpack://_N_E/./styles/home/Home.Brochures.module.scss","webpack://_N_E/./styles/home/Home.CardBrochures.module.scss","webpack://_N_E/./styles/home/Home.CardStories.module.scss","webpack://_N_E/./styles/home/Home.CardVisit.module.scss","webpack://_N_E/./styles/home/Home.ItalianTour.module.scss","webpack://_N_E/./styles/home/Home.Italianstories.module.scss","webpack://_N_E/./styles/home/Home.NewCardTour.module.scss","webpack://_N_E/./styles/home/Home.OurManifest.module.scss","webpack://_N_E/./styles/home/Home.SmartSearch.module.scss","webpack://_N_E/./styles/home/Home.module.scss","webpack://_N_E/./styles/italian-stories/ItalianStories.module.scss","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import { FC } from \"react\";\nimport styles from \"@/styles/home/Home.CardStories.module.scss\";\n\nconst Tag: FC<{\n title: string;\n color?: string;\n className?: string;\n onClick?: () => void;\n}> = ({ title, color = \"red\", className = \"me-1\", onClick = () => \"\" }) => {\n return (\n \n \n {title}\n \n \n );\n};\n\nexport default Tag;\n","import { MDBBtn, MDBCol, MDBContainer, MDBRow } from \"mdb-react-ui-kit\";\nimport { useRouter } from \"next/router\";\nimport { FC } from \"react\";\nimport _ from \"lodash\";\nimport { slugify } from \"@/utils/searchUtils\";\nimport styles from \"../../styles/home/Home.Italianstories.module.scss\";\nimport {\n italianStoriesSubTitle,\n italianStoriesTitle,\n} from \"../../utils/mockData/homeMocks\";\nimport SectionCarouselLayout from \"../common/SectionCarouselLayout\";\nimport CardStories from \"./cards/CardStories\";\nimport {\n SectionsTitleText,\n TBreackpointsCarousel,\n} from \"../../models/common/common\";\nimport { ItalianStoriesResponseTo } from \"../../models/italianStory\";\n\nconst ItalianStories: FC<{\n sectionTitle?: SectionsTitleText[];\n sectionSubTitle?: SectionsTitleText[];\n content: ItalianStoriesResponseTo[];\n}> = ({ content, sectionTitle = undefined, sectionSubTitle = undefined }) => {\n const router = useRouter();\n const loadMorePath = \"/italian-stories\";\n\n const breackPointCarousel: TBreackpointsCarousel = {\n 0: {\n slidesPerView: 1.1,\n height: 533,\n spaceBetween: 10,\n },\n 576: {\n slidesPerView: 1.1,\n height: 533,\n spaceBetween: 10,\n },\n 768: {\n slidesPerView: 2,\n height: 533,\n spaceBetween: 12,\n },\n 992: {\n slidesPerView: 3,\n height: 533,\n spaceBetween: 12,\n },\n 1200: {\n slidesPerView: 3,\n height: 533,\n spaceBetween: 32,\n },\n 1400: {\n slidesPerView: 3,\n spaceBetween: 32,\n height: 568,\n },\n 1600: {\n slidesPerView: 3,\n spaceBetween: 32,\n height: 568,\n },\n 1920: {\n slidesPerView: 4,\n spaceBetween: 32,\n height: 568,\n },\n };\n\n return (\n \n \n {_.orderBy(content, [\"createdAt\"], [\"desc\"]).map(el => (\n /* eslint-disable no-underscore-dangle */\n {\n router.push({\n pathname: \"/italian-stories/[slug]\",\n query: {\n slug: slugify(el.title),\n },\n });\n }}\n />\n /* eslint-enable no-underscore-dangle */\n ))}\n \n\n \n \n {\n router.push(loadMorePath);\n }}\n >\n Load More\n \n \n \n \n );\n};\n\nexport default ItalianStories;\n","import {\n MDBBtn,\n MDBCard,\n MDBCardBody,\n MDBCardHeader,\n MDBCardImage,\n} from \"mdb-react-ui-kit\";\nimport { FC } from \"react\";\nimport styles from \"../../../styles/home/Home.CardBrochures.module.scss\";\nimport { CardBrochuresContent, EBrochuresType } from \"../../../models/home\";\nimport SectionTitle from \"../../common/SectionTitle\";\nimport { ISectionTitle } from \"../../../models/common/common\";\n\nconst CardBrochures: FC<{\n content: CardBrochuresContent;\n type: EBrochuresType;\n onDownload: (type: EBrochuresType, title: string) => void;\n}> = ({ content, type, onDownload }) => {\n const title: ISectionTitle = {\n title: content.title,\n subTitle: content.subTitle,\n classNameTitle: styles.textTitle,\n classNameSubTitle: styles.textSubTitle,\n titleColumnSize: 12,\n spaceBetween: 2,\n alignment: \"justify-content-start text-center\",\n };\n\n return (\n \n \n \n \n\n \n \n \n onDownload(\n type,\n content.title.reduce(\n (acc: string, value) => acc.concat(value.text),\n \"\"\n )\n )\n }\n >\n Download\n \n \n \n );\n};\n\nexport default CardBrochures;\n","// eslint-disable-next-line import/no-cycle\nimport { IMetadata } from \"@/utils/ceo\";\n// eslint-disable-next-line import/no-cycle\nimport {\n ActivityReableTO,\n ReviewReadableTO,\n SectionsTitleText,\n} from \"./common/common\";\n\nexport interface CardBrochuresContent {\n title: SectionsTitleText[];\n subTitle: SectionsTitleText[];\n imagesrc?: string;\n}\n\nexport interface CardTikTokContent {\n name: string;\n place: string;\n userImageUrl: string;\n imageCoverUrl: string;\n videoUrl: string;\n}\n\nexport interface CardStoriesContent {\n title: string;\n imgUrl: string;\n slugId: string;\n readTime: string;\n vendor: string;\n date: string;\n tag?: string;\n}\n\nexport interface CardVisitContent {\n imageUrl: string;\n title: string;\n place: string;\n region: string;\n}\n\nexport interface CardReviewContent {\n review: string;\n imgUrl: string;\n user: string;\n work: string;\n}\n\nexport interface StepsInfo {\n title: SectionsTitleText[];\n subTitle: SectionsTitleText[];\n}\n\ninterface TravelExperiencesTags {\n id: string;\n value: string;\n}\n\nexport interface TravelExperiencesContent {\n title: string;\n // eslint-disable-next-line\n icon: any;\n tags: TravelExperiencesTags[];\n // eslint-disable-next-line\n bulletIcon?: any;\n onClick: () => void;\n}\n\nexport interface SmartCardContent {\n index: number;\n image: string;\n title: string;\n description: string;\n onClick: (el: string, index: number) => void;\n}\n\nexport interface ISmartCard {\n id: string;\n value: SmartCardContent;\n}\n\nexport interface RadioButtons {\n id: string;\n value: {\n image?: string;\n title: string;\n description?: string;\n };\n}\n\nexport interface ToursEntity {\n _id: string;\n title?: string;\n price: string;\n startingPrice?: number;\n destinations?: string[] | null;\n image: string;\n duration: number;\n nightDuration: number;\n reviews: number;\n rating: number;\n requestAQuote: boolean;\n requestAQuoteActivities: ActivityReableTO[];\n metadata?: IMetadata;\n}\n\ninterface ToursByEntity {\n title: string;\n body: string;\n image: string;\n tours?: ToursEntity[] | null;\n}\n\nexport interface Delta {\n ops: unknown[];\n}\n\nexport interface Section {\n title: Delta;\n subtitle: Delta;\n}\n\nexport interface ToursByTourTypeEntity extends ToursByEntity {\n tourType: string;\n type: string;\n}\n\nexport interface ToursByDestinationEntity extends ToursByEntity {\n city: string;\n}\n\nexport interface DestinationToExploreEntity {\n city: string;\n searchableLabel: string;\n region: string;\n image: string;\n title: string;\n body: string;\n latitude: string;\n longitude: string;\n aggregationId: string;\n}\nexport interface BrochuresEntity {\n type: string;\n description?: string;\n brochure: string;\n}\n\nexport interface StaticMediaEntity {\n headImage: string;\n previewImageVideo: string;\n stepperImage: string;\n video: string;\n whatDoYouExpectFrom: Section;\n destinations: Section;\n videoReviews: Section;\n metadata?: IMetadata;\n}\n\nexport interface VideoreviewsEntity {\n _id: string;\n name: string;\n lastname: string;\n city: string;\n avatar: string;\n previewImage: string;\n countryPrefix: string;\n video: string;\n status: string;\n}\n\nexport interface HomeResponseTO {\n destinationToExplore?: DestinationToExploreEntity[] | null;\n staticMedia: StaticMediaEntity;\n reviews?: ReviewReadableTO[] | null;\n}\n\nexport enum EBrochuresType {\n ALL,\n ACROSSITALY,\n INTOTHEREGION,\n DOWNTHECITY,\n}\n","import {\n MDBBtn,\n MDBCol,\n MDBModal,\n MDBModalBody,\n MDBModalContent,\n MDBModalDialog,\n MDBModalHeader,\n MDBRow,\n} from \"mdb-react-ui-kit\";\nimport { FC, useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { useRouter } from \"next/router\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport TagManager from \"react-gtm-module\";\nimport { fileDownload } from \"@/utils/analytics/tagmanager\";\nimport CardBrochures from \"../cards/CardBrochures\";\nimport userInterfaceSvg from \"../../../utils/svg-icon/userInterface\";\nimport { useIsMD } from \"../../../utils/hooks/useWindowSizes\";\nimport styles from \"../../../styles/home/Home.Brochures.module.scss\";\nimport {\n card1Content,\n card2Content,\n card3Content,\n card4Content,\n} from \"../../../utils/mockData/homeMocks\";\nimport Carousel from \"../../common/carousel/Carousel\";\nimport { TBreackpointsCarousel } from \"../../../models/common/common\";\nimport { BrochuresEntity, EBrochuresType } from \"../../../models/home\";\n\nconst BrochuresModal: FC<{\n show: boolean;\n setShow: (el: boolean) => void;\n brochures: BrochuresEntity[];\n}> = ({ brochures, show, setShow }) => {\n const { CloseLine } = userInterfaceSvg;\n\n const toggleShow = () => setShow(!show);\n const [render, setRender] = useState(false);\n\n useEffect(() => setRender(true), []);\n\n const router = useRouter();\n\n const downloadFileAtURL = (url: string | undefined, fileName: string) => {\n if (url) {\n axios\n .get(url, { responseType: \"arraybuffer\" })\n .then(blob => {\n const newBlob = new Blob([blob.data], {\n type: \"application/pdf\",\n });\n const blobURL = window.URL.createObjectURL(newBlob);\n const aTag = document.createElement(\"a\");\n aTag.href = blobURL;\n aTag.setAttribute(\"download\", fileName);\n document.body.appendChild(aTag);\n aTag.click();\n aTag.remove();\n\n TagManager.dataLayer(fileDownload(fileName, router.asPath));\n })\n .catch(error => console.log(error));\n }\n };\n\n const handleDownload = (type: EBrochuresType, title: string) => {\n if (type === EBrochuresType.ALL) {\n const brochureParams = brochures.filter(\n item => item.type === \"All the Tour\"\n );\n downloadFileAtURL(\n brochureParams.at(0)?.brochure,\n brochureParams.at(0)?.type as string\n );\n } else {\n downloadFileAtURL(\n brochures.find(\n el =>\n el.type.toLowerCase().replace(/\\s/g, \"\") ===\n title.toLowerCase().replace(/\\s/g, \"\")\n )?.brochure,\n title\n );\n }\n };\n\n const cards = [\n {\n id: EBrochuresType.ALL,\n value: (\n \n ),\n },\n {\n id: EBrochuresType.ACROSSITALY,\n value: (\n \n ),\n },\n {\n id: EBrochuresType.INTOTHEREGION,\n value: (\n \n ),\n },\n {\n id: EBrochuresType.DOWNTHECITY,\n value: (\n \n ),\n },\n ];\n\n const isMd = useIsMD();\n\n const breackPointCarousel: TBreackpointsCarousel = {\n 0: {\n slidesPerView: 1,\n spaceBetween: 32,\n },\n 576: {\n slidesPerView: 1.2,\n spaceBetween: 32,\n },\n 768: {\n slidesPerView: 2.2,\n spaceBetween: 32,\n },\n 992: {\n slidesPerView: 2.5,\n spaceBetween: 32,\n },\n 1200: {\n slidesPerView: 3,\n spaceBetween: 32,\n },\n 1400: {\n slidesPerView: 4,\n spaceBetween: 32,\n },\n 1600: {\n slidesPerView: 4,\n spaceBetween: 32,\n },\n };\n\n return render ? (\n \n \n \n \n \n \n \n \n \n \n {!isMd &&\n cards.map(card => (\n \n {card.value}\n \n ))}\n {isMd && (\n \n \n {cards.map(el => (\n \n {el.value}\n \n ))}\n \n \n )}\n \n \n \n \n \n ) : null;\n};\n\nexport default BrochuresModal;\n","export default {\"src\":\"/_next/static/media/brochures.4bb40bc8.png\",\"height\":551,\"width\":535,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABE0lEQVR4nAEIAff+Afa2tgD9//8pCwMChfLr7ELG1t0PH+zq5BsLDnMCHBiqAfOyskgEBQSv2efrCMPn7ADb7vD/fSITAeYlNADAHClQAfetrer0/v8VfcPN++fq7wVOQTQAYmVZ/OPn7gS26ALZAfubnP3V8vQAYrfHAgLh6gCJl30AQEM7AOzAv//k2PD+AeuTic+93ekw1Rcd/SEVEgMiIhwAJiog/wCwsgELvMTzAQ60dk2O8iuyKyAq/7y8vP8E+NwCMi8q+y3P5QUI9f+OAZy8qAD01O586d3hg87KxwC5ycIAg0UyAGssPakECvtYAf//9QHHu8r/1J+jcMnn4ICdwL4Kdzk2l4nHym//lZcAkGiJyfq88FEAAAAASUVORK5CYII=\",\"blurWidth\":8,\"blurHeight\":8};","import { useQuery } from \"@tanstack/react-query\";\nimport { getBrochureData } from \"../index\";\n\nconst useBrochureData = () => {\n return useQuery({\n queryKey: [\"brochures\"],\n queryFn: () => getBrochureData(),\n refetchOnWindowFocus: false,\n });\n};\n\nexport default useBrochureData;\n","import { MDBBtn, MDBCol, MDBContainer, MDBRow } from \"mdb-react-ui-kit\";\nimport { useState } from \"react\";\nimport Image from \"next/legacy/image\";\nimport {\n brochuresSubTitle,\n brochuresTitle,\n} from \"../../../utils/mockData/homeMocks\";\nimport SectionTitle from \"../../common/SectionTitle\";\nimport styles from \"../../../styles/home/Home.Brochures.module.scss\";\nimport mediaControlSvg from \"../../../utils/svg-icon/mediaControl\";\nimport BrochuresModal from \"./BrochureModal\";\nimport brochurePic from \"../../../public/images/brochures.png\";\nimport { ISectionTitle } from \"../../../models/common/common\";\nimport useBrochureData from \"../../../utils/queries/hooks/useBrochureData\";\n\nconst Brochures = () => {\n const { data: brochureData } = useBrochureData();\n\n const { DownloadLine } = mediaControlSvg;\n\n const [showModal, setShowModal] = useState(false);\n const toggleShow = () => setShowModal(!showModal);\n\n const title: ISectionTitle = {\n title: brochuresTitle,\n subTitle: brochuresSubTitle,\n classNameTitle: styles.textTitle,\n classNameSubTitle: styles.textSubTitle,\n titleColumnSize: 12,\n spaceBetween: 4,\n alignment: \"justify-content-start text-start\",\n classNameContainer: \"py-3\",\n };\n\n return (\n <>\n \n \n \n \n \n Download Here\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Brochures;\n","import {\n MDBCard,\n MDBCardBody,\n MDBCardText,\n MDBCardTitle,\n MDBRow,\n} from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport Image from \"next/image\";\nimport styles from \"../../../styles/home/Home.CardStories.module.scss\";\nimport contactsSvg from \"../../../utils/svg-icon/contacts\";\nimport { ItalianStoriesResponseTo } from \"../../../models/italianStory\";\nimport Tag from \"../../common/Tag\";\n\nconst CardStories: FC<{\n content: ItalianStoriesResponseTo;\n onClick: () => void;\n}> = ({ content, onClick }) => {\n const { ClockLine } = contactsSvg;\n const [previewImageError, setPreviewImageError] = useState(false);\n\n return (\n \n
\n {\n setPreviewImageError(true);\n }}\n />\n
\n
\n \n {!!content.tags &&\n content.tags.map(tag => (\n \n ))}\n \n\n \n \n {content.title}\n \n \n \n \n Estimated read time: {content.time} minutes\n \n \n \n \n
\n
\n {content.avatar && (\n \n \n
\n )}\n
\n \n {content.author}\n \n
\n
\n
\n {!!content.date && (\n {content.date}\n )}\n \n \n \n );\n};\n\nexport default CardStories;\n","import { MDBCol } from \"mdb-react-ui-kit\";\nimport { FC, ReactNode, useEffect, useState } from \"react\";\nimport SwiperClass from \"swiper\";\nimport { TBreackpointsCarousel } from \"../../../models/common/common\";\nimport ButtonBack from \"../../common/carousel/ButtonBack\";\nimport ButtonNext from \"../../common/carousel/ButtonNext\";\nimport Carousel from \"../../common/carousel/Carousel\";\nimport styles from \"../../../styles/italian-stories/ItalianStories.module.scss\";\n\nconst ItalianTourCarousel: FC<{\n children: ReactNode[];\n resetIndex: boolean;\n setResetIndex: (element: boolean) => void;\n containerClassName?: string;\n}> = ({ children, resetIndex, setResetIndex, containerClassName = \"\" }) => {\n const [swiperClass, setSwiperClass] = useState(null);\n\n const breackPointCarousel: TBreackpointsCarousel = {\n 0: {\n slidesPerView: 1,\n spaceBetween: 32,\n autoHeight: true,\n },\n 360: {\n slidesPerView: 1.2,\n spaceBetween: 32,\n autoHeight: true,\n },\n 540: {\n slidesPerView: 1.5,\n spaceBetween: 32,\n autoHeight: true,\n },\n 576: {\n slidesPerView: 1.8,\n spaceBetween: 32,\n autoHeight: true,\n },\n 768: {\n slidesPerView: 1,\n width: 256,\n autoHeight: true,\n spaceBetween: 32,\n },\n 992: {\n slidesPerView: 2,\n height: 530,\n spaceBetween: 32,\n },\n 1200: {\n slidesPerView: 3,\n height: 530,\n spaceBetween: 32,\n },\n 1400: {\n slidesPerView: 3,\n spaceBetween: 32,\n height: 530,\n },\n 1600: {\n slidesPerView: 3,\n spaceBetween: 32,\n height: 530,\n },\n 1920: {\n slidesPerView: 4.5,\n spaceBetween: 32,\n },\n };\n\n useEffect(() => {\n if (resetIndex) {\n setResetIndex(false);\n }\n }, [resetIndex]);\n\n return (\n <>\n {children.length > 3 && (\n \n \n \n )}\n \n \n {children}\n \n \n {children.length > 3 && (\n \n \n \n )}\n \n );\n};\n\nexport default ItalianTourCarousel;\n","var _path;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgItaly = function SvgItaly(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 33,\n height: 37,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m25.474 32.206-.994-.887 1.128-2.659-1.37-3.943-6.462-4.048-4.957-4.234-3.023-5.305-3.358-1.35-2.969 2.329L.917 7.637l4.58-4.922 3.4.132 2.78-1.852 3.681-.569.9 1.628 3.305.29-.752 2.832-2.929 1.019-.228 3.638 3.345 2.778 2.364 4.658 4.205.979.322.555-.886.794 3.439 1.945 2.364 1.402 1.277 1.628-.753 1.072-1.37-1.628-1.8-.74-1.37 2.13 1.464 1.812-.094 1.402-2.687 3.586ZM14.807 32.06l.47-1.72 4.246.649 3.264-.94.282.516-1.37 2.752.43 1.059-.9 1.257-6.422-3.573ZM4.974 21.542l3.022-1.336 1.465 2.83-.712 5.028-1.317-.423-.846 1.072-1.277-.834.47-3.4-1.047-1.813.242-1.124Z\",\n stroke: \"#282838\",\n strokeMiterlimit: 10\n })));\n};\nexport default SvgItaly;","var _g, _defs;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgItalyHand = function SvgItalyHand(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 33,\n height: 38,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#italy-hand_svg__a)\",\n fill: \"#282838\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.59 35.817c.025.025 14.351 2.632 19.71-2.008l.73-.623c5.287-4.59 11.093-9.613 10.977-14.086-.118-4.473-2.17-8.992-2.478-9.686l-8.215-7.648c-.472.311-1.297 1.123-.59 2.918l-.92.382C18.482 1.716 21.195.69 21.22.69l.283-.12 8.757 8.178.119.145c0 .024 2.478 5.118 2.618 10.165.143 4.973-5.855 10.164-11.33 14.9l-.709.623C15.222 39.553.445 36.828.4 36.828l.192-1.01Z\",\n stroke: \"#282838\",\n strokeWidth: 0.3\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M.07 24.245c.024 0 8.331.694 10.456-.262l.402.91C8.568 25.967.024 25.248 0 25.248l.07-1.003Z\",\n stroke: \"#282838\",\n strokeWidth: 0.3\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.795 25.893c0-.025 1.228-3.276 1.228-5.356 0-2.344 4.46-7.915 4.46-7.94l.07-.071s2.171-1.888 1.182-7.484l-.07-.383.353-.166s2.975-1.41 4.65 1.196c.471.694.803 1.41 1.038 2.175a1.7 1.7 0 0 0 .59.765l.213.12.025.217c.402 2.104 2.335 3.347 2.335 3.347l.354.216-.165.407c-.755 1.697-.024 3.036-.024 3.036l.189.382-3 2.487-.258.12s-2.786.407-1.535-4.424c.52-2.008.71-3.563.615-4.877-.119-1.293-.52-2.367-1.203-3.421-.92-1.41-2.384-1.173-3.069-.957.85 5.43-1.227 7.676-1.535 7.963-.283.382-4.201 5.38-4.201 7.292 0 2.25-1.298 5.692-1.298 5.692l-.944-.336Zm13.267-15.28c-.024 1.197-.238 2.558-.661 4.162-.71 2.749.024 3.134.332 3.18l2.265-1.888c-.213-.574-.472-1.77 0-3.156-.475-.385-1.346-1.175-1.936-2.298Z\",\n stroke: \"#282838\",\n strokeWidth: 0.3\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17.465 9.753s2.031.382 2.031-.145c0-.981 0-3.517-2.076-3.252L17.3 5.351c3.188-.407 3.188 2.964 3.188 4.257 0 1.77-3.21 1.123-3.21 1.123l.186-.978Z\",\n stroke: \"#282838\",\n strokeWidth: 0.3\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.258 1.932s-.944.885-.213 1.388c.52.358.992.55 1.392.623.377.071.636.025.755-.07l.709.718c-.332.311-.92.478-1.629.358-.52-.096-1.133-.336-1.793-.79-1.748-1.219.094-2.965.094-2.965l.685.738Z\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"italy-hand_svg__a\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n transform: \"translate(0 .569)\",\n d: \"M0 0h33v37H0z\"\n })))));\n};\nexport default SvgItalyHand;","var _g, _defs;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nvar SvgSun = function SvgSun(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 47,\n height: 30,\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#sun_svg__a)\",\n fill: \"#1D1D1B\",\n stroke: \"#282838\",\n strokeWidth: 0.8\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M34.126 19.209a.435.435 0 0 0 .452-.42c.02-1.024-.106-2.04-.379-3.031-1.581-5.756-7.669-9.175-13.563-7.64-5.018 1.308-8.393 5.756-8.207 10.806a.436.436 0 0 0 .445.415h.013a.43.43 0 0 0 .425-.447c-.172-4.65 2.931-8.735 7.55-9.939 5.43-1.418 11.025 1.735 12.48 7.019.252.913.366 1.851.346 2.79 0 .24.192.44.438.447ZM20.104 6.622a.428.428 0 0 0 .425-.544L19.101.887a.442.442 0 0 0-.545-.304.428.428 0 0 0-.313.53l1.43 5.187a.445.445 0 0 0 .431.323ZM14.216 9.931a.45.45 0 0 0 .313-.13.422.422 0 0 0 0-.608l-3.901-3.794a.45.45 0 0 0-.625 0 .422.422 0 0 0 0 .608l3.901 3.794c.086.085.2.13.312.13ZM5.378 14.262l5.323 1.393a.445.445 0 0 0 .538-.304.433.433 0 0 0-.312-.532l-5.323-1.392a.447.447 0 0 0-.545.305.442.442 0 0 0 .319.53ZM36.18 15.668c.04 0 .08-.007.113-.013l5.323-1.393a.428.428 0 0 0 .312-.53.442.442 0 0 0-.545-.305L36.06 14.82a.428.428 0 0 0-.312.531.46.46 0 0 0 .432.318ZM36.997 5.399a.45.45 0 0 0-.625 0l-3.9 3.794a.422.422 0 0 0 0 .608c.086.085.199.13.312.13a.45.45 0 0 0 .312-.13l3.901-3.794a.422.422 0 0 0 0-.608ZM26.896 6.622c.193 0 .372-.13.425-.317L28.75 1.12a.433.433 0 0 0-.312-.531.447.447 0 0 0-.545.304l-1.43 5.186a.433.433 0 0 0 .313.531c.047.007.087.013.12.013ZM46.055 20.18H.945a.44.44 0 0 0-.445.434c0 .24.2.434.445.434h45.116a.44.44 0 0 0 .446-.434.45.45 0 0 0-.452-.434ZM39.569 24.44h-6.985a.44.44 0 0 0-.445.435c0 .24.2.433.445.433h6.985a.44.44 0 0 0 .445-.433.44.44 0 0 0-.445-.434ZM28.617 24.875a.44.44 0 0 0-.445-.434H7.432a.44.44 0 0 0-.446.434c0 .24.2.433.445.433h20.74a.444.444 0 0 0 .446-.433ZM33.329 28.701H13.67a.44.44 0 0 0-.445.434c0 .24.2.434.445.434H33.33a.44.44 0 0 0 .445-.434.44.44 0 0 0-.445-.434Z\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"sun_svg__a\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#fff\",\n transform: \"translate(.5 .569)\",\n d: \"M0 0h46v29H0z\"\n })))));\n};\nexport default SvgSun;","import Italy from \"../../public/custom-icons/home-custom/italy.svg\";\nimport ItalyHand from \"../../public/custom-icons/home-custom/italy-hand.svg\";\nimport Sun from \"../../public/custom-icons/home-custom/sun.svg\";\n\nconst locationSvg = {\n Italy,\n ItalyHand,\n Sun,\n};\n\nexport default locationSvg;\n","import { MDBCol, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC } from \"react\";\nimport styles from \"../../../styles/home/Home.module.scss\";\nimport locationSvg from \"../../../utils/svg-icon/location\";\n\nconst HomeHeadDetailMobile: FC = () => {\n const { Italy, ItalyHand, Sun } = locationSvg;\n return (\n \n \n \n \n \n \n
\n \n
\n
\n\n \n \n \n

Discover Italy

\n
\n \n

\n We’re known for our many stereotypes\n but there’s so much more about Italy\n than that.\n

\n
\n
\n
\n
\n \n\n \n \n \n
\n \n
\n
\n\n \n \n \n

Our Italian Expertise

\n
\n \n

\n You will receive a guided tour by\n someone who loves, lives and\n breathes this Country.\n

\n
\n
\n
\n \n \n\n \n \n \n
\n \n
\n
\n\n \n \n \n

Effortless Adventure

\n
\n \n

\n Just enjoy your trip, we will\n arrange all the scheduling. Our\n tours start everyday, we’re waiting\n for you!\n

\n
\n
\n
\n \n \n \n \n \n );\n};\n\nexport default HomeHeadDetailMobile;\n","import { MDBCol, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC } from \"react\";\nimport styles from \"../../../styles/home/Home.module.scss\";\nimport locationSvg from \"../../../utils/svg-icon/location\";\n\nconst HomeHeadDetailDesktop: FC = () => {\n const { Italy, ItalyHand, Sun } = locationSvg;\n return (\n \n \n \n \n
\n \n
\n

Discover Italy

\n

\n We’re known for our many stereotypes but there’s so\n much more about Italy than that.\n

\n
\n\n \n
\n \n
\n

Our Italian Expertise

\n

\n You will receive a guided tour by someone who loves,\n lives and breathes this Country.\n

\n
\n \n
\n \n
\n

Effortless Adventure

\n

\n Just enjoy your trip, we will arrange all the\n scheduling. Our tours start everyday, we’re waiting\n for you!\n

\n
\n
\n \n
\n );\n};\n\nexport default HomeHeadDetailDesktop;\n","import { SectionsTitleText } from \"../../models/common/common\";\nimport colors from \"../../styles/colors.module.scss\";\n\nexport const mainTitle: SectionsTitleText[] = [\n {\n text: \"How much of Italy\",\n color: colors.textPrimary,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"are you ready to see?\",\n color: colors.textBlack,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const mainSubTitle: SectionsTitleText[] = [\n {\n text: \"Choose the perfect tour for you.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n","import { FC } from \"react\";\nimport styles from \"@/styles/home/Home.SmartSearch.module.scss\";\nimport { ISectionTitle } from \"../../../models/common/common\";\nimport SectionTitle from \"../../common/SectionTitle\";\n\nconst SmartSeachTitle: FC<{\n title: string;\n description: string;\n defaultSectionTitle: ISectionTitle;\n renderDefault: boolean;\n}> = ({ title, description, defaultSectionTitle, renderDefault }) => {\n const sectionTitleContent = {\n title: [\n {\n text: title,\n color: \"white\",\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n ],\n subTitle: [\n {\n text: description,\n color: \"white\",\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n ],\n titleColumnSize: 12,\n spaceBetween: 2,\n alignment: \"justify-content-start text-start\",\n classNameContainer: \"\",\n classNameSubTitle: styles.cardSmartSubtitle,\n };\n\n return (\n \n );\n};\n\nexport default SmartSeachTitle;\n","import { MDBBtn, MDBCol, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC } from \"react\";\nimport userInterfaceSvg from \"../../../utils/svg-icon/userInterface\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\n\nconst SmartNavButton: FC<{\n isSubModal: boolean;\n onBack: () => void;\n onClose: () => void;\n}> = ({ isSubModal, onBack, onClose }) => {\n const { ArrowLeftLine, CloseLine } = userInterfaceSvg;\n\n return (\n <>\n \n {isSubModal && (\n \n \n \n Go back\n \n \n )}\n \n\n \n \n \n \n \n \n );\n};\n\nexport default SmartNavButton;\n","import { MDBCol, MDBRow } from \"mdb-react-ui-kit\";\n\nimport { FC } from \"react\";\nimport { ISectionTitle } from \"@/models/common/common\";\nimport { useIsMD } from \"@/hooks/useWindowSizes\";\nimport { mainSubTitle, mainTitle } from \"@/utils/mockData/smartSearch\";\nimport SmartSeachTitle from \"./SmartSearchTitle\";\nimport SmartNavButton from \"./SmartNavButton\";\n\nconst SmartSearchModalHead: FC<{\n isMain: boolean;\n headSection: {\n title: string;\n description: string;\n background: string;\n };\n onBack: () => void;\n toggleShow: () => void;\n className?: string;\n}> = ({ isMain, headSection, onBack, toggleShow, className = \"\" }) => {\n const isMD = useIsMD();\n\n const title: ISectionTitle = {\n title: mainTitle,\n subTitle: mainSubTitle,\n titleColumnSize: 12,\n spaceBetween: 2,\n alignment: \"justify-content-start text-start\",\n };\n\n const renderSmartNavBtn = (\n \n );\n\n return (\n \n {isMD && renderSmartNavBtn}\n \n \n \n {!isMD && renderSmartNavBtn}\n \n );\n};\n\nexport default SmartSearchModalHead;\n","import { MDBCol, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport Image from \"next/image\";\nimport { RadioButtons } from \"../../../models/home\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\nimport { useIsMD } from \"../../../utils/hooks/useWindowSizes\";\n\nconst SmartGrid: FC<{\n cities: RadioButtons[];\n onCitySelected: (index: number) => void;\n}> = ({ cities, onCitySelected }) => {\n const [imageError, setImageError] = useState([]);\n const isMD = useIsMD();\n\n return (\n \n {cities.map((el, index) => (\n onCitySelected(index)}\n >\n \n {\n setImageError(prevState => [\n ...prevState,\n index,\n ]);\n }}\n />\n \n

{el.value.title}

\n \n \n \n ))}\n
\n );\n};\n\nexport default SmartGrid;\n","import { MDBCard, MDBRipple } from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport { useRouter } from \"next/router\";\nimport Image from \"next/image\";\nimport { getDestinationsSize } from \"@/utils/common\";\nimport styles from \"../../../../styles/home/Home.NewCardTour.module.scss\";\nimport HeadOverlay from \"./HeadOverlay\";\nimport CardBody from \"./CardBody\";\nimport CardFooter from \"./CardFooter\";\nimport { slugify } from \"../../../../utils/searchUtils\";\nimport { ToursEntity } from \"../../../../models/home\";\n\nconst NewCardTour: FC<{\n content: ToursEntity;\n isSmall?: boolean;\n className?: string;\n classNameBody?: string;\n}> = ({ content, isSmall, className = \"\", classNameBody = \"flex-fill\" }) => {\n const [error, setError] = useState(false);\n const router = useRouter();\n\n const handleClick = () => {\n router.push({\n pathname: \"/detail/[slug]\",\n query: {\n slug: slugify(content.title ?? \"Title\"),\n },\n });\n };\n\n /* eslint-disable no-underscore-dangle */\n return (\n \n \n
\n {\n setError(true);\n }}\n />\n
\n {/* {content.tag && ( */}\n {/*
*/}\n {/* {content.tag} */}\n {/*
*/}\n {/* )} */}\n \n \n \n
\n \n \n );\n /* eslint-enable no-underscore-dangle */\n};\n\nNewCardTour.defaultProps = {\n isSmall: false,\n className: \"\",\n};\n\nexport default NewCardTour;\n","import { MDBCol, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC, useMemo, useState } from \"react\";\nimport SwiperClass from \"swiper\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\nimport { ToursEntity } from \"../../../models/home\";\nimport { useIsXL } from \"../../../utils/hooks/useWindowSizes\";\nimport ButtonBack from \"../../common/carousel/ButtonBack\";\nimport ButtonNext from \"../../common/carousel/ButtonNext\";\nimport Carousel from \"../../common/carousel/Carousel\";\nimport NewCardTour from \"../cards/cardTour/NewCardTour\";\n\nconst SmartSearchCarousels: FC<{\n showOtherResults?: boolean;\n selectedCities: string[];\n tours: ToursEntity[];\n}> = ({ showOtherResults, selectedCities, tours }) => {\n const isXL = useIsXL();\n const [swiperClass, setSwiperClass] = useState(null);\n\n const breackPointCarousel = {\n 0: {\n slidesPerView: 1,\n spaceBetween: 10,\n },\n 500: {\n slidesPerView: 1.5,\n spaceBetween: 10,\n },\n 768: {\n slidesPerView: 2,\n spaceBetween: 32,\n },\n 900: {\n slidesPerView: 2.5,\n spaceBetween: 32,\n },\n 1200: {\n slidesPerView: 3,\n spaceBetween: 32,\n },\n 1400: {\n slidesPerView: showOtherResults ? 3 : 4,\n spaceBetween: 32,\n },\n 1920: {\n slidesPerView: showOtherResults ? 4 : 5,\n spaceBetween: 40,\n },\n };\n\n const breackPointOtherCarousel = {\n 0: {\n slidesPerView: 1,\n spaceBetween: 10,\n },\n 1920: {\n slidesPerView: 1.25,\n spaceBetween: 32,\n },\n };\n\n const [swiperClassOther, setSwiperClassOther] =\n useState(null);\n\n const containsValues = (arr: string[], values: string[]) => {\n const lowerCased = arr.map((value: string) => value.toLowerCase());\n return values.every(el => lowerCased.includes(el.toLowerCase()));\n };\n\n const getSlide = (item: ToursEntity) => {\n return (\n \n );\n };\n\n const getFilteredSlide = () =>\n tours\n .filter(\n tour =>\n containsValues(tour.destinations ?? [], selectedCities) ||\n selectedCities.length === 0\n )\n .map(tour => getSlide(tour));\n\n const getNotFilteredSlide = () =>\n tours\n .filter(\n tour =>\n !(tour.destinations ?? []).some(el =>\n selectedCities.includes(el)\n )\n )\n .map(tour => getSlide(tour));\n\n const mainContent = useMemo(() => {\n return getFilteredSlide();\n }, [selectedCities]);\n\n const otherContent = useMemo(() => {\n return getNotFilteredSlide();\n }, [selectedCities]);\n\n return (\n <>\n \n \n \n \n

Results:

\n
\n \n \n \n
\n
\n \n {showOtherResults && !isXL && (\n \n \n \n

\n Other Results:\n

\n
\n \n \n \n
\n \n \n )}\n \n \n \n \n {mainContent}\n \n \n {!isXL && showOtherResults && (\n \n \n {otherContent}\n \n \n )}\n \n \n );\n};\n\nSmartSearchCarousels.defaultProps = {\n showOtherResults: false,\n};\n\nexport default SmartSearchCarousels;\n","import Btn from \"@/components/common/Btn\";\nimport styles from \"@/styles/home/Home.SmartSearch.module.scss\";\nimport { EBtnType } from \"@/models/common/enums\";\nimport { ReactNode } from \"react\";\nimport generalSvg from \"@/utils/svg-icon/general\";\n\nconst SmartSearchFilterM = ({\n children,\n onClickBtn,\n className,\n}: {\n children: ReactNode;\n onClickBtn: () => void;\n className?: string;\n}) => {\n const { StarFilled } = generalSvg;\n\n return (\n \n
\n Select the destinations wich you want to travel in and\n cunstomize your esperienza italiana!\n
\n \n {children}\n \n
\n \n \n \n \n See the tours\n \n
\n \n );\n};\n\nexport default SmartSearchFilterM;\n","import { MDBCol, MDBRadio, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC, useMemo } from \"react\";\nimport { RadioButtons } from \"../../../models/home\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\nimport { useIsXL } from \"../../../utils/hooks/useWindowSizes\";\nimport SmartSearchFilterM from \"./SmartSearchFilterM\";\n\nconst RadioButtonRow: FC<{\n className?: string;\n selectedRadio: number[];\n onChange: (selectedIndex: number) => void;\n onClickBtn: () => void;\n showFilter: boolean;\n labels: RadioButtons[];\n}> = ({\n className,\n onClickBtn,\n selectedRadio,\n onChange,\n labels,\n showFilter,\n}) => {\n const isXL = useIsXL();\n const getLabel = (label: string) => {\n return

{label}

;\n };\n\n const getMdbRadio = (label: RadioButtons, idx: number) => (\n onChange(idx)}\n checked={selectedRadio.includes(idx)}\n readOnly\n inline\n />\n );\n\n const getRadioButtons = useMemo(\n () =>\n labels.map((label, idx) =>\n isXL ? (\n \n {getMdbRadio(label, idx)}\n \n ) : (\n getMdbRadio(label, idx)\n )\n ),\n [labels, selectedRadio, isXL]\n );\n\n const renderFilters = isXL ? (\n \n {getRadioButtons}\n \n ) : (\n
{getRadioButtons}
\n );\n\n return showFilter ? renderFilters : null;\n};\n\nRadioButtonRow.defaultProps = {\n className: \"\",\n};\n\nexport default RadioButtonRow;\n","import { FC, useMemo, useState } from \"react\";\nimport styles from \"@/styles/home/Home.SmartSearch.module.scss\";\nimport { RadioButtons, ToursEntity } from \"@/models/home\";\nimport { EBtnType, TourType } from \"@/models/common/enums\";\nimport { useIsXL } from \"@/hooks/useWindowSizes\";\nimport RadioButtonRow from \"./RadioButtonRow\";\nimport SmartSearchCarousels from \"./SmartSearchCarousels\";\nimport Btn from \"../../common/Btn\";\nimport contactsSvg from \"../../../utils/svg-icon/contacts\";\n\nconst SmartSearchSelection: FC<{\n cities: RadioButtons[];\n regions: { region: string; cities: string[] }[];\n selectedTourType: string;\n toursByType: ToursEntity[];\n}> = ({ cities, regions, selectedTourType, toursByType }) => {\n const [showMobileFilter, setShowMobileFilter] = useState(false);\n const isXL = useIsXL();\n\n const { FlagLine } = contactsSvg;\n\n const [selectedRadioButtons, setSelectedRadioButtons] = useState(\n []\n );\n\n const onChangeRadioButtonSelection = (\n selectedRadioButtonsIndex: number\n ) => {\n if (selectedRadioButtons.includes(selectedRadioButtonsIndex)) {\n setSelectedRadioButtons(exSelectedRadioButtons => {\n return exSelectedRadioButtons.filter(\n el => el !== selectedRadioButtonsIndex\n );\n });\n } else {\n setSelectedRadioButtons(exSelectedRadioButtons => [\n ...exSelectedRadioButtons,\n selectedRadioButtonsIndex,\n ]);\n }\n };\n\n const selectedCities = useMemo(\n () =>\n selectedRadioButtons.map(\n selectedCity => cities[selectedCity].value.title\n ),\n [selectedRadioButtons, cities, regions]\n );\n\n const tours = useMemo(() => {\n if (selectedTourType === TourType.INTOTHEREGION) {\n return toursByType.map(el => {\n const tourRegions = regions\n .filter(region =>\n el.destinations?.some(value =>\n region.cities.includes(value)\n )\n )\n ?.map(selectedRegion => selectedRegion.region);\n return { ...el, destinations: tourRegions };\n });\n }\n\n return toursByType;\n }, [toursByType, regions, selectedTourType]);\n\n return (\n <>\n {isXL && (\n
\n setShowMobileFilter(true)}\n fullWith\n disabled={showMobileFilter}\n >\n \n Customize your destinations\n \n
\n )}\n setShowMobileFilter(false)}\n showFilter={showMobileFilter || !isXL}\n className={styles.cardSmartSelection}\n />\n {(!showMobileFilter || !isXL) && (\n \n )}\n \n );\n};\n\nexport default SmartSearchSelection;\n","import {\n MDBBtn,\n MDBCard,\n MDBCardOverlay,\n MDBCardText,\n MDBCardTitle,\n} from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport Image from \"next/image\";\nimport { SmartCardContent } from \"../../../models/home\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\n\nconst SmartCard: FC<{\n content: SmartCardContent;\n}> = ({ content }) => {\n const [error, setError] = useState(false);\n return (\n content.onClick(content.title, content.index)}\n >\n
\n {\n setError(true);\n }}\n />\n
\n \n \n {content.title}\n \n \n {content.description}\n \n \n content.onClick(content.title, content.index)\n }\n >\n View More\n \n \n \n );\n};\n\nexport default SmartCard;\n","import { MDBCol } from \"mdb-react-ui-kit\";\nimport { FC } from \"react\";\nimport { ISmartCard } from \"@/models/home\";\nimport Carousel from \"../../common/carousel/Carousel\";\nimport SmartCard from \"./SmartCard\";\n\nconst SmartTourType: FC<{\n content: ISmartCard[];\n}> = ({ content }) => {\n const cards = content.map(el => (\n \n \n \n ));\n\n return (\n \n {cards}\n \n );\n};\n\nexport default SmartTourType;\n","import { Dispatch, FC, SetStateAction, useCallback, useMemo } from \"react\";\nimport { LayoutType, TourType } from \"../../../models/common/enums\";\nimport {\n DestinationToExploreEntity,\n ISmartCard,\n ToursByTourTypeEntity,\n} from \"../../../models/home\";\nimport { randomUid } from \"../../../utils/randomIds\";\nimport SmartGrid from \"./SmartGrid\";\nimport SmartSearchCarousels from \"./SmartSearchCarousels\";\nimport SmartSearchSelection from \"./SmartSearchSelection\";\nimport SmartTourType from \"./SmartTourType\";\n\nconst SmartSearchModalBody: FC<{\n layoutType: LayoutType;\n setLayoutType: Dispatch>;\n content: ToursByTourTypeEntity[];\n destinationToExplore: DestinationToExploreEntity[];\n setSelectedTourTypeIndex: Dispatch>;\n selectedTourType: string;\n setSelectedTourType: Dispatch>;\n selectedCity: number;\n setSelectedCity: Dispatch>;\n}> = ({\n content,\n destinationToExplore,\n setSelectedTourTypeIndex,\n layoutType,\n setLayoutType,\n selectedTourType,\n setSelectedTourType,\n selectedCity,\n setSelectedCity,\n}) => {\n const regions = useMemo(() => {\n const results: { region: string; cities: string[] }[] = [];\n destinationToExplore.forEach(element => {\n const foundElement = results.findIndex(\n el => el.region === element.region\n );\n if (foundElement === -1) {\n results.push({\n region: element.region,\n cities: [element.city],\n });\n } else {\n results.at(foundElement)?.cities.push(element.city);\n }\n });\n return results;\n }, [destinationToExplore]);\n\n const isMain = layoutType === LayoutType.MAIN;\n const isSubModal = layoutType === LayoutType.SUBMODAL;\n const isSubSubModal = layoutType === LayoutType.SUBSUBMODAL;\n\n const toggleShowSubModal = (el: string, index: number) => {\n setSelectedTourTypeIndex(index);\n setSelectedTourType(\n TourType[\n (Object.keys(TourType).find(\n key =>\n key.toLowerCase() ===\n el.toLowerCase().replace(/\\s+/g, \"\")\n ) ?? \"ACROSSITALY\") as keyof typeof TourType\n ]\n );\n setLayoutType(LayoutType.SUBMODAL);\n };\n\n const onCitySelected = (selectedCitiesIndex: number) => {\n setSelectedCity(selectedCitiesIndex);\n setLayoutType(LayoutType.SUBSUBMODAL);\n };\n\n const cardContent: ISmartCard[] = useMemo(\n () =>\n content.map((el, idx) => ({\n id: randomUid(),\n value: {\n index: idx,\n image: el.image,\n title: el.tourType,\n description: el.body,\n onClick: toggleShowSubModal,\n },\n })),\n [content]\n );\n\n const cardContentFiltered = useMemo((): ISmartCard[] => {\n const tourTypeArray = Object.values(TourType) as string[];\n\n return tourTypeArray.reduce((acc: ISmartCard[], el: string) => {\n const elementFound = cardContent.find(\n card => card.value.title.toLowerCase() === el.toLowerCase()\n );\n acc.push(elementFound as ISmartCard);\n return acc;\n }, []);\n }, [cardContent]);\n\n const radioValue = useMemo(() => {\n if (selectedTourType === TourType.INTOTHEREGION) {\n return regions.map(el => {\n return {\n id: randomUid(),\n value: {\n image: undefined,\n title: el.region,\n description: undefined,\n },\n };\n });\n }\n\n return destinationToExplore.map(el => {\n return {\n id: randomUid(),\n value: {\n image: el.image,\n title: el.city,\n description: el.body,\n },\n };\n });\n }, [content, selectedTourType]);\n\n const toursByType = useCallback(() => {\n return (\n content.find(\n type =>\n type.tourType.toLowerCase() ===\n selectedTourType.toLowerCase()\n )?.tours ?? []\n );\n }, [content, selectedTourType]);\n\n return (\n
\n {isMain && }\n {isSubModal && selectedTourType === TourType.DOWNTHECITY && (\n \n )}\n {isSubModal && selectedTourType !== TourType.DOWNTHECITY && (\n \n )}\n {isSubSubModal && (\n \n )}\n
\n );\n};\n\nexport default SmartSearchModalBody;\n","import {\n MDBModal,\n MDBModalBody,\n MDBModalContent,\n MDBModalDialog,\n} from \"mdb-react-ui-kit\";\nimport { useDisableBodyScroll } from \"@/utils/hooks/useDisableBodyScroll\";\n\nimport {\n Dispatch,\n FC,\n SetStateAction,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport { LayoutType, TourType } from \"@/models/common/enums\";\nimport {\n DestinationToExploreEntity,\n ISmartCard,\n ToursByTourTypeEntity,\n} from \"@/models/home\";\nimport { randomUid } from \"@/utils/randomIds\";\nimport { useIsClient } from \"@/hooks/useIsClient\";\nimport { useIsLG } from \"@/hooks/useWindowSizes\";\nimport styles from \"../../../styles/home/Home.SmartSearch.module.scss\";\nimport SmartSearchModalHead from \"./SmartSearchModalHead\";\nimport SmartSearchModalBody from \"./SmartSearchModalBody\";\n\nconst SmartSeachModal: FC<{\n content: ToursByTourTypeEntity[];\n destinationToExplore: DestinationToExploreEntity[];\n show: boolean;\n setShow: Dispatch>;\n // eslint-disable-next-line sonarjs/cognitive-complexity\n}> = ({ content, destinationToExplore, show, setShow }) => {\n const isClient = useIsClient();\n const isLG = useIsLG();\n\n useDisableBodyScroll(show);\n\n const regions = useMemo(() => {\n const results: { region: string; cities: string[] }[] = [];\n destinationToExplore.forEach(element => {\n const foundElement = results.findIndex(\n el => el.region === element.region\n );\n if (foundElement === -1) {\n results.push({\n region: element.region,\n cities: [element.city],\n });\n } else {\n results.at(foundElement)?.cities.push(element.city);\n }\n });\n return results;\n }, [destinationToExplore]);\n\n const [layoutType, setLayoutType] = useState(LayoutType.MAIN);\n const [selectedTourType, setSelectedTourType] = useState(\n TourType.ACROSSITALY\n );\n const [selectedTourTypeIndex, setSelectedTourTypeIndex] =\n useState(0);\n const [selectedCity, setSelectedCity] = useState(0);\n const [headSection, setHeadSection] = useState<{\n title: string;\n description: string;\n background: string;\n }>({ title: \"\", description: \"\", background: \"\" });\n\n const isMain = layoutType === LayoutType.MAIN;\n const isSubSubModal = layoutType === LayoutType.SUBSUBMODAL;\n\n const toggleShow = () => {\n setLayoutType(LayoutType.MAIN);\n setShow(!show);\n };\n\n const toggleShowSubModal = (el: string, index: number) => {\n setSelectedTourTypeIndex(index);\n setSelectedTourType(\n TourType[\n (Object.keys(TourType).find(\n key =>\n key.toLowerCase() ===\n el.toLowerCase().replace(/\\s+/g, \"\")\n ) ?? \"ACROSSITALY\") as keyof typeof TourType\n ]\n );\n setLayoutType(LayoutType.SUBMODAL);\n };\n\n const onBack = () =>\n setLayoutType(isSubSubModal ? LayoutType.SUBMODAL : LayoutType.MAIN);\n\n const cardContent: ISmartCard[] = useMemo(\n () =>\n content.map((el, idx) => ({\n id: randomUid(),\n value: {\n index: idx,\n image: el.image,\n title: el.tourType,\n description: el.body,\n onClick: toggleShowSubModal,\n },\n })),\n [content]\n );\n\n const radioValue = useMemo(() => {\n if (selectedTourType === TourType.INTOTHEREGION) {\n return regions.map(el => {\n return {\n id: randomUid(),\n value: {\n image: undefined,\n title: el.region,\n description: undefined,\n },\n };\n });\n }\n\n return destinationToExplore.map(el => {\n return {\n id: randomUid(),\n value: {\n image: el.image,\n title: el.city,\n description: el.body,\n },\n };\n });\n }, [content, selectedTourType]);\n\n const getBackground = () => {\n if (layoutType === LayoutType.SUBSUBMODAL) {\n return `radial-gradient(55.79% 56.95% at 100% 78.59%, #282838 43.23%, rgba(0, 0, 0, 0) 100%), linear-gradient(90.17deg, #282838 36.39%, rgba(0, 0, 0, 0) 96.17%), url(${radioValue[selectedCity].value.image}), #282838`;\n }\n if (layoutType === LayoutType.SUBMODAL) {\n return \"#282838\";\n }\n return \"white\";\n };\n\n useEffect(() => {\n setHeadSection({\n title: isSubSubModal\n ? `About ${radioValue[selectedCity].value.title}`\n : cardContent[selectedTourTypeIndex].value.title,\n description: isSubSubModal\n ? radioValue[selectedCity].value.description ?? \"\"\n : cardContent[selectedTourTypeIndex].value.description,\n background: getBackground(),\n });\n }, [layoutType, selectedCity, selectedTourTypeIndex]);\n\n return (\n isClient && (\n
\n \n \n \n \n \n \n \n \n \n \n
\n )\n );\n};\n\nexport default SmartSeachModal;\n","import { MDBBtn, MDBContainer } from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport generalSvg from \"@/utils/svg-icon/general\";\nimport { useIsSM } from \"@/utils/hooks/useWindowSizes\";\nimport { useShouldRenderArrayFC } from \"@/hooks/useShouldRenderArrayFC\";\nimport HomeHeadDetailMobile from \"./HomeHeadDetailMobile\";\nimport HomeHeadDetailDesktop from \"./HomeHeadDetailDesktop\";\nimport SmartSeachModal from \"../smartSearch/SmartSearchModal\";\nimport {\n DestinationToExploreEntity,\n ToursByTourTypeEntity,\n} from \"../../../models/home\";\nimport styles from \"../../../styles/home/Home.module.scss\";\n\nconst HomeHead: FC<{\n smartSearchContent?: ToursByTourTypeEntity[];\n destinationToExplore?: DestinationToExploreEntity[] | null;\n headImage: string;\n altHeadImage?: string;\n}> = ({\n smartSearchContent,\n destinationToExplore,\n headImage,\n altHeadImage,\n}) => {\n const { Search } = generalSvg;\n const [showModal, setShowModal] = useState(false);\n const isSM = useIsSM();\n\n const handleClick = () => {\n setShowModal(prev => !prev);\n };\n\n const destinationExist = useShouldRenderArrayFC(destinationToExplore);\n const smartSearchContentExist = useShouldRenderArrayFC(smartSearchContent);\n\n return (\n \n \n
\n
\n

ANDREA BOCELLI SHOW

\n

Book the experience of a lifetime.

\n
\n
\n \n Discover our Italian Tours\n
\n \n
\n \n
\n {isSM && }\n
\n \n \n {!isSM && (\n
\n \n
\n )}\n \n {destinationExist && smartSearchContentExist && (\n \n )}\n
\n );\n};\n\nexport default HomeHead;\n","import { MDBBtn } from \"mdb-react-ui-kit\";\nimport { FC, useCallback } from \"react\";\nimport { ICaroseulButton } from \"../../../models/common/common\";\nimport { CouruselStatus } from \"../../../models/common/enums\";\nimport styles from \"../../../styles/home/Home.ItalianTour.module.scss\";\n\nconst ItalianTourButtons: FC<{\n carouselButtons: ICaroseulButton[];\n status: CouruselStatus;\n setStatus: (element: CouruselStatus) => void;\n setResetIndex: (element: boolean) => void;\n}> = ({ carouselButtons, status, setResetIndex, setStatus }) => {\n const resetCarousel = useCallback(\n (element: CouruselStatus) => {\n setResetIndex(true);\n setStatus(element);\n },\n [carouselButtons]\n );\n\n return (\n
\n {carouselButtons.map(tab => (\n resetCarousel(tab.status)}\n >\n {tab.name}\n \n ))}\n
\n );\n};\n\nexport default ItalianTourButtons;\n","import { MDBBtn, MDBCol, MDBContainer, MDBRow } from \"mdb-react-ui-kit\";\nimport { useRouter } from \"next/router\";\nimport { FC, useMemo, useState } from \"react\";\nimport { useIsSM } from \"@/utils/hooks/useWindowSizes\";\nimport { ISectionTitle } from \"../../../models/common/common\";\nimport { CouruselStatus } from \"../../../models/common/enums\";\nimport styles from \"../../../styles/home/Home.ItalianTour.module.scss\";\nimport {\n sectionSubTitle,\n sectionTitle,\n} from \"../../../utils/mockData/homeMocks\";\nimport { randomUid } from \"../../../utils/randomIds\";\nimport SectionTitle from \"../../common/SectionTitle\";\nimport ItalianTourCarousel from \"./ItalianTourCarousel\";\nimport ItalianTourButtons from \"./ItalianTourButtons\";\nimport { Section, ToursByTourTypeEntity } from \"../../../models/home\";\nimport CardTour from \"../cards/cardTour/CardTour\";\nimport colors from \"../../../styles/colors.module.scss\";\n\nconst couruselButtonTabs = [\n {\n id: randomUid(),\n name: \"Down the City\",\n status: CouruselStatus.DOWNTHECITY,\n },\n {\n id: randomUid(),\n name: \"Into the Region\",\n status: CouruselStatus.INTOTHEREGION,\n },\n {\n id: randomUid(),\n name: \"Across Italy\",\n status: CouruselStatus.ACROSSITALY,\n },\n];\n\nconst ItalianTour: FC<{\n toursByType: ToursByTourTypeEntity[];\n wordingsDelta: Section | undefined;\n}> = ({ toursByType, wordingsDelta }) => {\n const [status, setStatus] = useState(\n CouruselStatus.DOWNTHECITY\n );\n\n const router = useRouter();\n const viewAllPath = \"/tours-destinations\";\n const isSM = useIsSM();\n\n const visibleCards = useMemo(() => {\n return (\n toursByType\n .find(\n element =>\n element.tourType.toLowerCase() === status.toLowerCase()\n )\n ?.tours?.map(tour => {\n /* eslint-disable no-underscore-dangle */\n return (\n \n );\n /* eslint-enable no-underscore-dangle */\n }) ?? []\n );\n }, [status, isSM]);\n\n const [resetIndex, setResetIndex] = useState(false);\n\n const getTourQuery = (carouselStatus: CouruselStatus) => {\n let query = \"\";\n // eslint-disable-next-line default-case\n switch (carouselStatus) {\n case CouruselStatus.ACROSSITALY:\n query = \"italy\";\n break;\n case CouruselStatus.INTOTHEREGION:\n query = \"region\";\n break;\n case CouruselStatus.DOWNTHECITY:\n query = \"city\";\n break;\n }\n return query;\n };\n\n const sectionTitleData: ISectionTitle = {\n title: sectionTitle,\n subTitle: sectionSubTitle,\n alignment:\n \"justify-content-start text-align-left justify-content-sm-center text-sm-center\",\n fluid: true,\n classNameSubTitle: `${styles.italianTourParagraph} ${colors.textGray}`,\n classNameTitle: styles.italianTourTitle,\n classNameTitleContainer: styles.italianTourTitleContainer,\n classNameContainer: \"py-3\",\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n {visibleCards}\n \n \n\n \n \n {\n router.push({\n pathname: viewAllPath,\n query: {\n tourType: getTourQuery(status),\n destination: null,\n },\n });\n }}\n >\n View All\n \n \n \n \n \n \n );\n};\n\nexport default ItalianTour;\n","import { MDBBtn, MDBCol, MDBContainer, MDBRow } from \"mdb-react-ui-kit\";\nimport { FC, RefObject, useEffect, useRef, useState } from \"react\";\nimport useOnScreen from \"@/utils/hooks/useOnScreen\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport TagManager from \"react-gtm-module\";\nimport {\n videoComplete,\n videoProgress,\n videoStart,\n} from \"@/utils/analytics/tagmanager\";\nimport styles from \"../../styles/home/Home.OurManifest.module.scss\";\nimport mediaControlSvg from \"../../utils/svg-icon/mediaControl\";\n\ntype sendEventProp = {\n percent10: boolean;\n percent25: boolean;\n percent50: boolean;\n percent75: boolean;\n};\n\nconst OurManifest: FC<{\n previewImage: string;\n altPreviewImage?: string;\n video: string;\n}> = ({ previewImage, video, altPreviewImage }) => {\n const { Play } = mediaControlSvg;\n\n const [showVideoFrame, setShowVideoFrame] = useState(false);\n\n const videoEl = useRef(null);\n const divEl = useRef(null);\n // eslint-disable-next-line camelcase\n const video_title = \"our manifesto\";\n const [sendEvent, setSendEvent] = useState({\n percent10: false,\n percent25: false,\n percent50: false,\n percent75: false,\n });\n\n useEffect(() => {\n const onStartVideo = () => {\n TagManager.dataLayer(videoStart(video, video_title));\n };\n\n if (showVideoFrame) onStartVideo();\n }, [showVideoFrame, video]);\n\n const onEndAction = () => {\n TagManager.dataLayer(videoComplete(video, video_title));\n };\n\n const onPauseAction = () => {\n const durata = videoEl.current?.duration;\n const currentTime = videoEl.current?.currentTime;\n const percentuale = (100 / durata!) * currentTime!;\n\n const percentageBody = (percent: number) => {\n return TagManager.dataLayer(\n videoProgress(video, video_title, percent)\n );\n };\n\n if (percentuale >= 10 && sendEvent.percent10 === false) {\n percentageBody(percentuale);\n setSendEvent({ ...sendEvent, percent10: true });\n }\n if (percentuale >= 25 && sendEvent.percent25 === false) {\n percentageBody(percentuale);\n setSendEvent({ ...sendEvent, percent25: true });\n }\n if (percentuale >= 50 && sendEvent.percent50 === false) {\n percentageBody(percentuale);\n setSendEvent({ ...sendEvent, percent50: true });\n }\n\n if (percentuale >= 75 && sendEvent.percent75 === false) {\n percentageBody(percentuale);\n setSendEvent({ ...sendEvent, percent75: true });\n }\n };\n\n const isOnScreen = useOnScreen(divEl as RefObject);\n useEffect(() => {\n if (!isOnScreen) {\n videoEl.current?.pause();\n }\n }, [isOnScreen]);\n\n return (\n
\n \n \n \n {!showVideoFrame && (\n
\n

\n our manifesto\n

\n
\n )}\n \n {showVideoFrame && (\n // eslint-disable-next-line jsx-a11y/media-has-caption\n \n \n \n )}\n {!showVideoFrame && (\n <>\n \n \n
\n \n setShowVideoFrame(\n !showVideoFrame\n )\n }\n >\n \n \n
\n
\n \n )}\n \n \n \n \n \n );\n};\n\nexport default OurManifest;\n","import {\n MDBCard,\n MDBCardText,\n MDBCardTitle,\n MDBCol,\n MDBRipple,\n MDBRow,\n} from \"mdb-react-ui-kit\";\nimport { FC, useState } from \"react\";\nimport Image from \"next/image\";\nimport { DestinationToExploreEntity } from \"../../../models/home\";\nimport styles from \"../../../styles/home/Home.CardVisit.module.scss\";\nimport contactsSvg from \"../../../utils/svg-icon/contacts\";\n\nconst CardVisit: FC<{\n content: DestinationToExploreEntity;\n onClick?: () => void;\n}> = ({ content, onClick }) => {\n const [error, setError] = useState(false);\n\n const { MapsMarkerLine } = contactsSvg;\n\n return (\n \n \n \n {\n setError(true);\n }}\n />\n \n
\n \n {content.title}\n \n \n \n \n \n \n \n {content.searchableLabel}\n \n \n \n
\n
\n
\n );\n};\n\nCardVisit.defaultProps = {\n onClick: undefined,\n};\n\nexport default CardVisit;\n","import { MDBContainer } from \"mdb-react-ui-kit\";\nimport { useRouter } from \"next/router\";\nimport { FC, useMemo } from \"react\";\nimport { DestinationToExploreEntity, Section } from \"../../models/home\";\nimport {\n wantTovisitSubTitle,\n wantTovisitTitle,\n} from \"../../utils/mockData/homeMocks\";\nimport SectionCarouselLayout from \"../common/SectionCarouselLayout\";\nimport CardVisit from \"./cards/CardVisit\";\nimport { TBreackpointsCarousel } from \"../../models/common/common\";\n\nconst IwantToVisit: FC<{\n destinations: DestinationToExploreEntity[];\n wordingsDelta: Section | undefined;\n}> = ({ destinations, wordingsDelta }) => {\n const router = useRouter();\n\n const visibleCards = useMemo(() => {\n return destinations.map(destination => {\n return (\n {\n router.push({\n pathname: \"/tours-destinations\",\n query: {\n destination: destination.city,\n tourType: null,\n },\n });\n }}\n />\n );\n });\n }, [destinations]);\n\n const breackPointCarousel: TBreackpointsCarousel = {\n 0: {\n slidesPerView: 1.3,\n height: 533,\n spaceBetween: 12,\n },\n 576: {\n slidesPerView: 2,\n height: 533,\n spaceBetween: 12,\n },\n 768: {\n slidesPerView: 2.5,\n height: 533,\n spaceBetween: 12,\n },\n 992: {\n slidesPerView: 3,\n height: 533,\n spaceBetween: 12,\n },\n 1200: {\n slidesPerView: 3.5,\n height: 533,\n spaceBetween: 32,\n },\n 1400: {\n slidesPerView: 3.5,\n spaceBetween: 32,\n height: 568,\n },\n 1600: {\n slidesPerView: 4.5,\n spaceBetween: 32,\n height: 568,\n },\n 1920: {\n slidesPerView: 5.5,\n spaceBetween: 32,\n height: 568,\n },\n };\n\n return (\n \n \n {visibleCards}\n \n \n );\n};\n\nexport default IwantToVisit;\n","import { useShouldRenderArrayFC } from \"@/hooks/useShouldRenderArrayFC\";\nimport { useCallback, useEffect } from \"react\";\nimport { useRouter } from \"next/router\";\nimport { reviewsContainer } from \"@/utils/constants\";\nimport { HomeResponseTO } from \"@/models/home\";\nimport { NavBarResponseTO } from \"@/models/common/common\";\nimport HomeHead from \"./homeHead/HomeHead\";\nimport ItalianTour from \"./italianTour/ItalianTour\";\nimport OurManifest from \"./OurManifest\";\nimport Brochures from \"./brochures/Brochures\";\nimport TravelExperiences from \"./TravelExperiences\";\nimport IwantToVisit from \"./IwantToVisit\";\nimport TikTokSection from \"./TikTokSection\";\nimport TourReview from \"./TourReviews\";\nimport FourSteps from \"./FourSteps/FourSteps\";\nimport KeepInTouch from \"../common/KeepInTouch\";\nimport useVideoReviewData from \"../../utils/queries/hooks/useVideoReviewData\";\nimport ItalianStories from \"./ItalianStories\";\nimport SocialProof from \"./SocialProof\";\n// TODO: re-add Social Proof After MVP\n\nconst HomeBody = ({\n navBarData,\n homeData,\n italianStoriesData,\n}: {\n navBarData?: NavBarResponseTO;\n homeData?: HomeResponseTO;\n /* eslint-disable @typescript-eslint/no-explicit-any */\n italianStoriesData?: any;\n}) => {\n // const { data: navBarData } = useNavBarData();\n // const { data: homeData } = useHomeData();\n const { data: videoReviews } = useVideoReviewData();\n // const { data: italianStoriesData } = useGeneralItalianStoriesData();\n const router = useRouter();\n\n const handleHashChange = useCallback((event?: HashChangeEvent) => {\n // la navigazione diretta per id non è possibile a causa della struttura della pagina e del suo contenuto.\n // E' stato simulato un comportamento simile tramite una gestione manuale.\n const hashToSearch =\n router.asPath.split(\"#\")[1] ?? event?.newURL.split(\"#\")[1];\n if (hashToSearch && hashToSearch === reviewsContainer.hash) {\n const tourReviewsEl = document.getElementById(reviewsContainer.id);\n if (tourReviewsEl) {\n setTimeout(() => {\n const offsetTop = tourReviewsEl.offsetTop - 70;\n window.scrollTo({\n top: offsetTop,\n });\n }, 1250);\n }\n }\n }, []);\n\n useEffect(() => {\n handleHashChange();\n window.addEventListener(\"hashchange\", event => handleHashChange(event));\n return () => {\n window.removeEventListener(\"hashchange\", handleHashChange);\n };\n }, [router.asPath]);\n\n return (\n
\n \n {!!homeData?.staticMedia.previewImageVideo &&\n !!homeData?.staticMedia.video && (\n \n )}\n {useShouldRenderArrayFC(navBarData?.toursHome) && (\n \n )}\n \n {useShouldRenderArrayFC(homeData?.destinationToExplore) && (\n \n )}\n \n \n {useShouldRenderArrayFC(homeData?.reviews) && (\n \n )}\n \n {!!italianStoriesData && (\n \n )}\n {videoReviews && (\n \n )}\n \n
\n );\n};\n\nexport default HomeBody;\n","import { dehydrate, DehydratedState, QueryClient } from \"@tanstack/react-query\";\nimport type { GetServerSideProps, NextPage } from \"next\";\nimport { ESeoPage } from \"@/utils/mockData/metaMocks\";\nimport useHomeData from \"@/utils/queries/hooks/useHomeData\";\nimport { getOpenGraphData } from \"@/utils/ceo\";\nimport useNavBarData from \"@/utils/queries/hooks/useNavBarData\";\nimport useGeneralItalianStoriesData from \"@/utils/queries/hooks/useGeneralItalianStoriesData\";\nimport Layout from \"../components/common/Layout\";\nimport HomeBody from \"../components/home/HomeBody\";\nimport {\n getBrochureData,\n getHomeData,\n getNavBarData,\n getSeoInfo,\n getVideoReviewsData,\n} from \"../utils/queries\";\n\nconst Home: NextPage = () => {\n // const { data: metaTags } = useQuery({\n // queryKey: [\"metaTags\", ESeoPage.HOME],\n // queryFn: () => getSeoInfo(ESeoPage.HOME),\n // });\n const { data: homeData } = useHomeData();\n const { data: navBarData } = useNavBarData();\n const { data: italianStoriesData } = useGeneralItalianStoriesData();\n const metadata = getOpenGraphData(homeData, navBarData, italianStoriesData);\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 await Promise.all([\n await queryClient.prefetchQuery([\"navBar\"], getNavBarData),\n await queryClient.prefetchQuery([\"brochures\"], getBrochureData),\n await queryClient.prefetchQuery([\"videoReview\"], getVideoReviewsData),\n await queryClient.prefetchQuery([\"home\"], getHomeData),\n await queryClient.prefetchQuery([\"metaTags\", ESeoPage.HOME], () =>\n getSeoInfo(ESeoPage.HOME)\n ),\n ]);\n\n return {\n props: {\n dehydratedState: dehydrate(queryClient),\n },\n };\n};\n\nexport default Home;\n","// eslint-disable-next-line import/no-cycle\nimport { NavBarResponseTO } from \"@/models/common/common\";\nimport { HomeResponseTO } from \"@/models/home\";\n// eslint-disable-next-line import/no-cycle\nimport { OpenGraph } from \"next-seo/lib/types\";\n\nexport interface IMetadata {\n title: string;\n metaDescription: string;\n urlCanonical: string;\n altHeadImage?: string;\n altPreviewImageVideo?: string;\n altStepperImage?: string;\n altWhatWillYouSeeImage?: string;\n}\n\nexport const getOpenGraphData = (\n homeData?: HomeResponseTO,\n navBarData?: NavBarResponseTO,\n /* eslint-disable @typescript-eslint/no-explicit-any */\n italianStoriesData?: any\n): OpenGraph => {\n if (homeData && navBarData && italianStoriesData) {\n return {\n title: homeData.staticMedia?.metadata?.title,\n description: homeData.staticMedia?.metadata?.metaDescription,\n url: homeData.staticMedia?.metadata?.urlCanonical,\n images: [\n {\n url: homeData.staticMedia?.headImage,\n alt: homeData.staticMedia?.metadata?.altHeadImage,\n },\n {\n url: homeData.staticMedia?.stepperImage,\n alt: homeData.staticMedia?.metadata?.altStepperImage,\n },\n {\n url: homeData.staticMedia?.previewImageVideo,\n alt: homeData.staticMedia?.metadata?.altPreviewImageVideo,\n },\n ...(navBarData?.toursHome\n .map(tourHome => tourHome?.tours)\n .flat()\n .map(tour => ({\n url: tour?.image || \"\",\n alt: tour?.metadata?.altHeadImage || \"\",\n })) || []),\n ...(navBarData?.toursByDestination\n .map(tourByDestination => tourByDestination?.tours)\n .flat()\n .map(tour => ({\n url: tour?.image || \"\",\n alt: tour?.metadata?.altHeadImage || \"\",\n })) || []),\n /* eslint-disable @typescript-eslint/no-explicit-any */\n ...italianStoriesData.map(\n (blog: {\n coverImage: any;\n metadata: { altHeadImage: any };\n }) => ({\n url: blog.coverImage,\n alt: blog?.metadata?.altHeadImage,\n })\n ),\n ],\n };\n }\n return {};\n};\n\nexport const getOpenGraphDataItalianStories = (\n /* eslint-disable @typescript-eslint/no-explicit-any */\n italianStoriesData?: any\n): OpenGraph => {\n if (italianStoriesData) {\n return {\n title: \"Italian Stories\",\n description: \"E-commerce di Play Italy\",\n images: [\n ...italianStoriesData.map(\n (blog: {\n coverImage: any;\n metadata: { altHeadImage: any };\n }) => ({\n url: blog.coverImage,\n alt: blog?.metadata?.altHeadImage,\n })\n ),\n ],\n };\n }\n return {};\n};\n","import {\n HeadSectionContent,\n SectionsTitleText,\n} from \"../../models/common/common\";\nimport { PlayStepsInfo } from \"../../models/play\";\nimport colors from \"../../styles/colors.module.scss\";\n\nexport const playStepperTitle1: SectionsTitleText[] = [\n {\n text: \"Trips that fit a flexible lifestyle\",\n color: colors.textBlack,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const playStepperSubTitle1: SectionsTitleText[] = [\n {\n text: \"Think about Italy for a second. What comes up in your mind? Well, maybe what you’re thinking about is true but\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"try thinking outside the box.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"Our mission is to make you see Italy through our eyes\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"to experience a genuine and unforgettable trip.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\nexport const playStepperTitle2: SectionsTitleText[] = [\n {\n text: \"The best Italian experts\",\n color: colors.textBlack,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const playStepperSubTitle2: SectionsTitleText[] = [\n {\n text: \"To be an\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"Italian Expert\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"you need two things:\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"being Italian and have an enormous love for this Country.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"Thanks to the passion and dedication of our guide tours, we will take you through\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"the adventure of a lifetime in our amazing Peninsula.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\nexport const playStepperTitle3: SectionsTitleText[] = [\n {\n text: \"Italy at 360°\",\n color: colors.textBlack,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const playStepperSubTitle3: SectionsTitleText[] = [\n {\n text: \"We crafted for you a vast option of tours that will take you basically everywhere. The picturesque Amalfi Coast, the romantic city of Venice, the plentitude of arts and history you’ll witness in both Florence and Rome ... we really have it all.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\nexport const playStepperTitle4: SectionsTitleText[] = [\n {\n text: \"Leave it all to us\",\n color: colors.textBlack,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const playStepperSubTitle4: SectionsTitleText[] = [\n {\n text: \"Arranging a trip is often complicated and difficult. That’s why we’re taking out all the stress from you: just focus on your destination and enjoy your next Italian adventure.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const stepperContents: PlayStepsInfo[] = [\n {\n title: playStepperTitle1,\n subTitle: playStepperSubTitle1,\n imageUrl:\n \"https://images.unsplash.com/photo-1530521954074-e64f6810b32d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80\",\n },\n {\n title: playStepperTitle2,\n subTitle: playStepperSubTitle2,\n imageUrl:\n \"https://images.unsplash.com/photo-1527631746610-bca00a040d60?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTF8fHRyYXZlbHxlbnwwfHwwfHw%3D&auto=format&fit=crop&w=600&q=60\",\n },\n {\n title: playStepperTitle3,\n subTitle: playStepperSubTitle3,\n imageUrl:\n \"https://images.unsplash.com/photo-1539635278303-d4002c07eae3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80\",\n },\n {\n title: playStepperTitle4,\n subTitle: playStepperSubTitle4,\n imageUrl:\n \"https://images.unsplash.com/photo-1516483638261-f4dbaf036963?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=686&q=80\",\n },\n];\n\nexport const necessitiesTitle: SectionsTitleText[] = [\n {\n text: \"Choose your trip based on your necessities\",\n color: colors.textWhiteLight,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\nexport const necessitiesSubTitle: SectionsTitleText[] = [\n {\n text: \"You’ll find these icons on every tour we have. We use them to immediately give you an idea on how the vacation will be. \",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\nexport const helpTitle: SectionsTitleText[] = [\n {\n text: \"Need help?\",\n color: colors.textWhiteLight,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\nexport const helpSubTitle: SectionsTitleText[] = [\n {\n text: \"Find and book a great experience.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\nconst headTitle: SectionsTitleText[] = [\n {\n text: \"Come play with us:\",\n color: colors.textWhiteLight,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"Our Italy, your esperienza.\",\n color: colors.textWhiteLight,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nconst headSubTitle: SectionsTitleText[] = [\n {\n text: \"The perks of Play Italy.\",\n color: colors.textWhiteLight,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const headData: HeadSectionContent = {\n backgroundImageUrl:\n \"https://images.unsplash.com/photo-1506012787146-f92b2d7d6d96?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1469&q=80\",\n title: headTitle,\n subTitle: headSubTitle,\n};\n\nexport const titleSocialProofMarcoFogliamanzillo: SectionsTitleText[] = [\n {\n text: \"Marco Fogliamanzillo\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"Founder of Iamme Ia!\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const paragraphSocialProofMarcoFogliamanzillo: SectionsTitleText[] = [\n {\n text: \"Iamme Ia!\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"originated from the vision of\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"three Sorrento-based entrepreneurs \",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"who share a deep passion for travelling. \",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"Since 2014, they have been curating unforgettable travel experiences in the captivating region of the Amalfi Coast.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"Welcoming travellers from diverse backgrounds, their aim is to introduce them to all the places they cherish and love.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const titleSocialProofChiaraGigliotti: SectionsTitleText[] = [\n {\n text: \"Chiara Gigliotti\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"CEO at Carrani Tours\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const paragraphSocialProofChiaraGigliotti: SectionsTitleText[] = [\n {\n text: \"Carrani Tours, headquartered in Rome,\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"stands as a leading Italian travel enterprise. \",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"With a rich history dating back to 1925, they now present more than 70 experiences in Rome and extend their offerings to the whole of Italy. \",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"From its foundation, Carrani Tours has consistently served as the trustworthy and competent DMC for every visitor in Rome and Italy, providing unparalleled quality and expertise.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const titleSocialProofFrancescaMinato: SectionsTitleText[] = [\n {\n text: \"Francesca Minato\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"CEO at Park View Viaggi\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const paragraphSocialProofFrancescaMinato: SectionsTitleText[] = [\n {\n text: \"Park View Viaggi specializes in organizing trips to Venice and its surroundings areas,\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"drawing upon their extensive experience in arranging both group and individual travels within Italy and also abroad.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n {\n text: \"A strong connection to the Venetian territory allows them to offer distinctive experiences that can only be crafted by those who possess a genuine understanding of the region.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n];\n\nexport const titleSocialProofGuidoBarocchi: SectionsTitleText[] = [\n {\n text: \"Guido Barocchi\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: true,\n },\n {\n text: \"CEO at Italian Travel Group\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n\nexport const paragraphSocialProofGuidoBarocchi: SectionsTitleText[] = [\n {\n text: \"Italian Travel Group was born in Florence as a family-owned company back in 1923 and quickly became a renowned household name for tourists travelling in Tuscany.\",\n color: colors.textGray,\n fontWeight: \"fw-bold\",\n newLine: false,\n },\n {\n text: \"DMC, tour and bus operator, the integrated skill offer ranges from the design of tours and activities, both shared and private, to the pure tailor made experiences and up to chauffeured and coach services.\",\n color: colors.textGray,\n fontWeight: \"\",\n newLine: false,\n },\n];\n","import { useQuery } from \"@tanstack/react-query\";\nimport { getItalianStoriesData } from \"../index\";\n\nconst useGeneralItalianStoriesData = () => {\n return useQuery({\n queryKey: [\"italian-stories-data\"],\n queryFn: () => getItalianStoriesData(),\n refetchOnWindowFocus: false,\n });\n};\n\nexport default useGeneralItalianStoriesData;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"brochuresContainer\":\"Home_Brochures_brochuresContainer__Z8W00\",\"dialog\":\"Home_Brochures_dialog__vEfer\",\"modalBody\":\"Home_Brochures_modalBody__8BbVR\",\"modalContainer\":\"Home_Brochures_modalContainer__zWTfC\",\"overlayMask\":\"Home_Brochures_overlayMask__JCoz8\",\"buttonClose\":\"Home_Brochures_buttonClose__cI8wU\",\"buttonDetails\":\"Home_Brochures_buttonDetails__gsXWC\",\"textTitle\":\"Home_Brochures_textTitle__vvFV6\",\"textSubTitle\":\"Home_Brochures_textSubTitle__meO8C\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardBody\":\"Home_CardBrochures_cardBody__WY_Cl\",\"buttonDetails\":\"Home_CardBrochures_buttonDetails__2jliB\",\"svgImg\":\"Home_CardBrochures_svgImg__UcUG0\",\"textTitle\":\"Home_CardBrochures_textTitle__dTKIM\",\"textSubTitle\":\"Home_CardBrochures_textSubTitle__gZOBA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerCard\":\"Home_CardStories_containerCard__fWO2f\",\"containerImage\":\"Home_CardStories_containerImage__Xb_on\",\"image\":\"Home_CardStories_image__b5xoI\",\"cardDataContainer\":\"Home_CardStories_cardDataContainer__DgmKB\",\"cardImageProfileContainer\":\"Home_CardStories_cardImageProfileContainer__5BaPY\",\"imageProfile\":\"Home_CardStories_imageProfile__YJAcS\",\"tag\":\"Home_CardStories_tag__wEhwD\",\"tagTitle\":\"Home_CardStories_tagTitle__B_wrY\",\"textTitle\":\"Home_CardStories_textTitle__jHeQN\",\"textSubTitle\":\"Home_CardStories_textSubTitle__kcPc8\",\"textCardFooter\":\"Home_CardStories_textCardFooter__QkSFC\",\"dot\":\"Home_CardStories_dot__MiHqk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardVisitFooter\":\"Home_CardVisit_cardVisitFooter__rZ6Gh\",\"cardImage\":\"Home_CardVisit_cardImage___MIRL\",\"innerCard\":\"Home_CardVisit_innerCard__YBoMa\",\"ico\":\"Home_CardVisit_ico__w5gVK\",\"textTitle\":\"Home_CardVisit_textTitle__pW6ue\",\"textSubTitle\":\"Home_CardVisit_textSubTitle__7Xx1X\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"italianTourTitleContainer\":\"Home_ItalianTour_italianTourTitleContainer__mHlfe\",\"italianTourTitle\":\"Home_ItalianTour_italianTourTitle__tC95J\",\"italianTourParagraph\":\"Home_ItalianTour_italianTourParagraph__1i_UN\",\"italianTourContent\":\"Home_ItalianTour_italianTourContent__H4AlP\",\"italianTourBtns\":\"Home_ItalianTour_italianTourBtns__TIngZ\",\"btn\":\"Home_ItalianTour_btn__vKF6q\",\"italianTourCard\":\"Home_ItalianTour_italianTourCard__C_UiP\",\"buttonDetails\":\"Home_ItalianTour_buttonDetails__Pht6Q\",\"buttonNotSelected\":\"Home_ItalianTour_buttonNotSelected__juxr0\",\"buttonSelected\":\"Home_ItalianTour_buttonSelected__tRYAG\",\"buttonMainAction\":\"Home_ItalianTour_buttonMainAction__9sNju\",\"textSubTitle\":\"Home_ItalianTour_textSubTitle__aTAWK\",\"mobileHeight\":\"Home_ItalianTour_mobileHeight__BB7av\",\"desktopHeight\":\"Home_ItalianTour_desktopHeight__c7Y17\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Home_Italianstories_container__k2Q4N\",\"buttonLoad\":\"Home_Italianstories_buttonLoad__0_JiD\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"cardBody\":\"Home_NewCardTour_cardBody__UpCGd\",\"ripple\":\"Home_NewCardTour_ripple__84_en\",\"tag\":\"Home_NewCardTour_tag__ea8wF\",\"ratingTag\":\"Home_NewCardTour_ratingTag__k0Xoo\",\"colorSvg\":\"Home_NewCardTour_colorSvg__wQLTC\",\"textPriceSmall\":\"Home_NewCardTour_textPriceSmall__HlKfg\",\"textTitleSmall\":\"Home_NewCardTour_textTitleSmall__KvopQ\",\"textPrice\":\"Home_NewCardTour_textPrice__jNorR\",\"textTitle\":\"Home_NewCardTour_textTitle__971tD\",\"caption\":\"Home_NewCardTour_caption__frGEk\",\"tagSmall\":\"Home_NewCardTour_tagSmall__KWi1M\",\"textButtonSmall\":\"Home_NewCardTour_textButtonSmall__pU7Cc\",\"captionSmall\":\"Home_NewCardTour_captionSmall__ky93B\",\"buttonLike\":\"Home_NewCardTour_buttonLike__3oK_H\",\"buttonLikePressed\":\"Home_NewCardTour_buttonLikePressed__W9fa4\",\"buttonDetails\":\"Home_NewCardTour_buttonDetails__0xyoj\",\"dispShrink\":\"Home_NewCardTour_dispShrink__USlUR\",\"dispFlex\":\"Home_NewCardTour_dispFlex__sFzEE\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"row\":\"Home_OurManifest_row__thZiW\",\"imageCover\":\"Home_OurManifest_imageCover__JwFFE\",\"videoContainer\":\"Home_OurManifest_videoContainer__v_wJM\",\"container\":\"Home_OurManifest_container__R_6Pa\",\"playButton\":\"Home_OurManifest_playButton__b1r3O\",\"maskOverlay\":\"Home_OurManifest_maskOverlay__EvpM0\",\"textCover\":\"Home_OurManifest_textCover__oBPHp\",\"my-animation\":\"Home_OurManifest_my-animation__nJa3A\",\"scrollContainer\":\"Home_OurManifest_scrollContainer__FMuR2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"carouselContainter\":\"Home_SmartSearch_carouselContainter__cj3VZ\",\"imageCover\":\"Home_SmartSearch_imageCover__pLEFW\",\"cardSmartSubtitle\":\"Home_SmartSearch_cardSmartSubtitle__gc5NB\",\"cardSmartSelection\":\"Home_SmartSearch_cardSmartSelection__bR_aH\",\"modalSize\":\"Home_SmartSearch_modalSize__x2ISi\",\"cardSmartTourContainer\":\"Home_SmartSearch_cardSmartTourContainer__fiTyv\",\"cardContainer\":\"Home_SmartSearch_cardContainer__QOuSs\",\"title\":\"Home_SmartSearch_title__rB0b0\",\"goUp\":\"Home_SmartSearch_goUp__Vut2_\",\"description\":\"Home_SmartSearch_description__1v5GY\",\"fadeInUp\":\"Home_SmartSearch_fadeInUp__6FwJA\",\"linearGradient\":\"Home_SmartSearch_linearGradient__Ov2w1\",\"buttonDetails\":\"Home_SmartSearch_buttonDetails__mQZsG\",\"buttonClose\":\"Home_SmartSearch_buttonClose__M1FUu\",\"buttonCloseDark\":\"Home_SmartSearch_buttonCloseDark__geOa8\",\"carouselLabel\":\"Home_SmartSearch_carouselLabel__Zg2qs\",\"normalText\":\"Home_SmartSearch_normalText__uJySv\",\"gridLabel\":\"Home_SmartSearch_gridLabel__Ft_lY\",\"label\":\"Home_SmartSearch_label__Xqtp6\",\"bgColor\":\"Home_SmartSearch_bgColor__OIoZh\",\"gridCard\":\"Home_SmartSearch_gridCard__dt_i1\",\"fadeoutBg\":\"Home_SmartSearch_fadeoutBg__YXipB\",\"container\":\"Home_SmartSearch_container__2KHaZ\",\"buttonBack\":\"Home_SmartSearch_buttonBack__innHZ\",\"customCheckboxChecked\":\"Home_SmartSearch_customCheckboxChecked__kpBvJ\",\"radioButtonMContainer\":\"Home_SmartSearch_radioButtonMContainer__osIQt\",\"smartSearchMFilterDesc\":\"Home_SmartSearch_smartSearchMFilterDesc__rw64k\",\"gradient\":\"Home_SmartSearch_gradient__15SMC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"mobileDiscover\":\"Home_mobileDiscover__a8o0y\",\"radialContainer\":\"Home_radialContainer__gTxyb\",\"homeHead\":\"Home_homeHead__W0r0F\",\"homeHeadBgImg\":\"Home_homeHeadBgImg___CvNi\",\"homeHeadTitle\":\"Home_homeHeadTitle__knOEY\",\"homeHeadDetail\":\"Home_homeHeadDetail___rU8v\",\"homeHeadButtonCTA\":\"Home_homeHeadButtonCTA__dvCsB\",\"homeHeadIconSearch\":\"Home_homeHeadIconSearch__OzzYj\",\"headButtonContainer\":\"Home_headButtonContainer__S4Ugc\",\"headArrowCTA\":\"Home_headArrowCTA__ijYnr\",\"headSearchIcon\":\"Home_headSearchIcon__s954E\",\"headWorldIcon\":\"Home_headWorldIcon__Y_HKc\",\"headLowerContainer\":\"Home_headLowerContainer__bX92W\",\"headLowerContentContainer\":\"Home_headLowerContentContainer__Htcl3\",\"headRowCardContainer\":\"Home_headRowCardContainer__I8w3Z\",\"headCardContainer\":\"Home_headCardContainer___PB2O\",\"headTitle\":\"Home_headTitle__jn5P6\",\"headCentralContainer\":\"Home_headCentralContainer__RhXGA\",\"headInnerContentContainer\":\"Home_headInnerContentContainer__GZgQM\",\"headCardBorder\":\"Home_headCardBorder__zjCyn\",\"headContentContainer\":\"Home_headContentContainer__znc0e\",\"headBgColor\":\"Home_headBgColor__4gAkz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"containerInfo\":\"ItalianStories_containerInfo__MHJFn\",\"buttonLoad\":\"ItalianStories_buttonLoad__xMzOC\",\"ContainerCard\":\"ItalianStories_ContainerCard__wcWBr\"};"],"names":["window","__NEXT_P","push","__webpack_require__","__webpack_exports__","title","color","className","onClick","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","div","style","backgroundColor","concat","borderRadius","width","span","styles","content","sectionTitle","sectionSubTitle","router","useRouter","jsxs","MDBContainer","fluid","SectionCarouselLayout","visibleSlides","italianStoriesTitle","italianStoriesSubTitle","breakpointsCarousel","slidesPerView","height","spaceBetween","isCarouselContained","_","map","el","CardStories","pathname","query","slug","slugify","_id","MDBRow","MDBCol","size","MDBBtn","EBrochuresType","cards_CardBrochures","type","onDownload","subTitle","classNameTitle","classNameSubTitle","titleColumnSize","alignment","jsx_runtime","MDBCard","MDBCardHeader","MDBCardImage","src","imagesrc","alt","objectFit","marginTop","MDBCardBody","marginBottom","SectionTitle","bottom","reduce","acc","value","text","ALL","ACROSSITALY","INTOTHEREGION","DOWNTHECITY","BrochureModal","brochures","show","setShow","CloseLine","userInterfaceSvg","render","setRender","useState","useEffect","downloadFileAtURL","url","fileName","axios","responseType","then","blob","newBlob","Blob","data","blobURL","URL","createObjectURL","aTag","document","createElement","href","setAttribute","body","appendChild","click","remove","TagManager","fileDownload","asPath","catch","error","console","log","handleDownload","brochureParams","filter","item","at","brochure","find","toLowerCase","replace","cards","id","CardBrochures","card1Content","card2Content","card3Content","card4Content","isMd","useIsMD","MDBModal","tabIndex","staticBackdrop","MDBModalDialog","backgroundImage","MDBModalContent","MDBModalHeader","tag","floating","MDBModalBody","card","lg","center","Carousel","breakpoints","hooks_useBrochureData","useQuery","queryKey","queryFn","getBrochureData","refetchOnWindowFocus","brochures_Brochures","brochureData","useBrochureData","DownloadLine","mediaControlSvg","showModal","setShowModal","brochuresTitle","brochuresSubTitle","classNameContainer","Fragment","sm","md","xxl","gap","viewBox","Image","brochurePic","sizes","BrochuresModal","ClockLine","contactsSvg","previewImageError","setPreviewImageError","role","coverImage","fill","onError","minHeight","tags","Tag","label","MDBCardTitle","MDBCardText","time","avatar","borderColor","colorAvatar","author","date","children","resetIndex","setResetIndex","containerClassName","swiperClass","setSwiperClass","length","ButtonBack","autoHeight","ButtonNext","_path","_g","_defs","sun_g","sun_defs","_extends","Object","assign","bind","target","i","arguments","source","key","prototype","hasOwnProperty","call","apply","italy_hand_extends","sun_extends","svg_icon_location","Italy","props","react","xmlns","d","stroke","strokeMiterlimit","ItalyHand","clipPath","strokeWidth","transform","Sun","homeHead_HomeHeadDetailMobile","locationSvg","h4","p","homeHead_HomeHeadDetailDesktop","mainTitle","colors","fontWeight","newLine","mainSubTitle","SmartSearchTitle","description","defaultSectionTitle","renderDefault","sectionTitleContent","smartSearch_SmartNavButton","isSubModal","onBack","onClose","ArrowLeftLine","smartSearch_SmartSearchModalHead","isMain","headSection","toggleShow","isMD","renderSmartNavBtn","SmartNavButton","SmartSeachTitle","smartSearch_SmartGrid","cities","onCitySelected","imageError","setImageError","index","aspectRatio","includes","image","prevState","NewCardTour","isSmall","classNameBody","setError","handleClick","MDBRipple","rippleColor","rippleTag","HeadOverlay","rating","isRequestAQuote","requestAQuote","CardBody","duration","nightDuration","destinationCount","getDestinationsSize","destinations","reviewsCount","reviews","hr","CardFooter","price","startingPrice","defaultProps","SmartSearchCarousels","tour","showOtherResults","selectedCities","tours","isXL","useIsXL","swiperClassOther","setSwiperClassOther","containsValues","arr","values","lowerCased","every","getSlide","getFilteredSlide","getNotFilteredSlide","some","mainContent","useMemo","otherContent","centerInsufficientSlides","classNameCarousel","containerSizes","renderContainer","smartSearch_SmartSearchFilterM","onClickBtn","StarFilled","generalSvg","Btn","btnType","EBtnType","fullWith","RadioButtonRow","selectedRadio","onChange","labels","showFilter","getLabel","getMdbRadio","idx","MDBRadio","name","checked","readOnly","inline","getRadioButtons","renderFilters","SmartSearchFilterM","smartSearch_SmartSearchSelection","regions","selectedTourType","toursByType","showMobileFilter","setShowMobileFilter","FlagLine","selectedRadioButtons","setSelectedRadioButtons","selectedCity","TourType","tourRegions","region","selectedRegion","disabled","selectedRadioButtonsIndex","exSelectedRadioButtons","smartSearch_SmartCard","background","cursor","MDBCardOverlay","smartSearch_SmartTourType","SmartCard","slidesOffsetBefore","slidesOffsetAfter","smartSearch_SmartSearchModalBody","destinationToExplore","setSelectedTourTypeIndex","layoutType","setLayoutType","setSelectedTourType","setSelectedCity","results","forEach","element","foundElement","findIndex","city","LayoutType","isSubSubModal","toggleShowSubModal","keys","cardContent","randomUid","tourType","cardContentFiltered","tourTypeArray","elementFound","radioValue","undefined","useCallback","SmartTourType","SmartGrid","selectedCitiesIndex","SmartSearchSelection","SmartSearchModal","isClient","useIsClient","isLG","useIsLG","useDisableBodyScroll","selectedTourTypeIndex","setHeadSection","getBackground","SmartSearchModalHead","SmartSearchModalBody","homeHead_HomeHead","smartSearchContent","headImage","altHeadImage","Search","isSM","useIsSM","destinationExist","useShouldRenderArrayFC","smartSearchContentExist","h1","h2","outline","rounded","prev","HomeHeadDetailMobile","HomeHeadDetailDesktop","SmartSeachModal","italianTour_ItalianTourButtons","carouselButtons","status","setStatus","resetCarousel","tab","couruselButtonTabs","CouruselStatus","italianTour_ItalianTour","wordingsDelta","visibleCards","CardTour","getTourQuery","carouselStatus","sectionTitleData","classNameTitleContainer","ItalianTourButtons","ItalianTourCarousel","destination","home_OurManifest","previewImage","video","altPreviewImage","Play","showVideoFrame","setShowVideoFrame","videoEl","useRef","divEl","video_title","sendEvent","setSendEvent","percent10","percent25","percent50","percent75","videoStart","isOnScreen","useOnScreen","current","pause","ref","controls","autoPlay","onEnded","videoComplete","onPause","durata","currentTime","percentuale","percentageBody","videoProgress","percent","img","CardVisit","MapsMarkerLine","searchableLabel","home_IwantToVisit","aggregationId","wantTovisitTitle","wantTovisitSubTitle","home_HomeBody","homeData","navBarData","italianStoriesData","videoReviews","useVideoReviewData","handleHashChange","hashToSearch","split","event","newURL","reviewsContainer","tourReviewsEl","getElementById","setTimeout","offsetTop","scrollTo","top","addEventListener","removeEventListener","HomeHead","toursHome","staticMedia","metadata","previewImageVideo","OurManifest","altPreviewImageVideo","ItalianTour","whatDoYouExpectFrom","TravelExperiences","IwantToVisit","Brochures","FourSteps","stepperImage","altStepperImage","TourReview","reviewContents","SocialProof","ItalianStories","TikTokSection","KeepInTouch","pages","useHomeData","useNavBarData","useGeneralItalianStoriesData","getOpenGraphData","Layout","metaTags","HomeBody","metaDescription","urlCanonical","images","tourHome","flat","toursByDestination","tourByDestination","blog","getOpenGraphDataItalianStories","playStepperTitle1","playStepperSubTitle1","playStepperTitle2","playStepperSubTitle2","playStepperTitle3","playStepperSubTitle3","playStepperTitle4","playStepperSubTitle4","stepperContents","imageUrl","necessitiesTitle","necessitiesSubTitle","helpTitle","helpSubTitle","headTitle","headSubTitle","headData","backgroundImageUrl","titleSocialProofMarcoFogliamanzillo","paragraphSocialProofMarcoFogliamanzillo","titleSocialProofChiaraGigliotti","paragraphSocialProofChiaraGigliotti","titleSocialProofFrancescaMinato","paragraphSocialProofFrancescaMinato","titleSocialProofGuidoBarocchi","paragraphSocialProofGuidoBarocchi","getItalianStoriesData","module","exports"],"sourceRoot":""}