{"version":3,"sources":["webpack:///./node_modules/lodash/trimStart.js","webpack:///./src/templates/page-template.tsx","webpack:///./src/components/breadcrumb.tsx"],"names":["baseToString","castSlice","charsStartIndex","stringToArray","toString","reTrimStart","module","exports","string","chars","guard","undefined","replace","strSymbols","start","join","PageTemplate","_ref","_data$page","_data$page$content","_data$notifications","_data$page$content$se","_data$page$content2","_data$page$content2$s","_data$page$content$se2","_data$page$content3","_data$page$content3$s","_data$page$content$se3","_data$page$content4","_data$page$content4$s","_notificationBar$cont","_notificationBar$cont2","_notificationBar$cont3","_notificationBar$cont4","_notificationBar$cont5","_notificationBar$cont6","_notificationBar$cont7","_notificationBar$cont8","_notificationBar$cont9","_notificationBar$cont10","_notificationBar$cont11","_data$website$content","_data$website","_data$website$content2","_data$website$content3","_data$searchPage$cont","_data$searchPage$cont2","_generalPageContent$t","_generalPageContent$t2","_generalPageContent$h","_generalPageContent$h2","_pageContext$parentId","_ref4","_data$page$content5","_data$page$content5$g","_data$page$content6","_data$page$content6$g","_ref5","_data$page$content7","_data$page$content7$g","_data$page$content8","_data$page$content8$g","_data$website$content4","_data$website2","_data$website2$conten","_data$website2$conten2","_data$website$content5","_data$website3","_data$website3$conten","_data$website3$conten2","_data$website$content6","_data$website4","_data$website4$conten","_data$website4$conten2","data","pageContext","generalPageContent","page","content","general","title","_compact","titlePrefix","notificationBar","_first","notifications","nodes","t","useI18next","React","createElement","Layout","Seo","seoTitle","seo","seoDescription","seoKeywords","_isEmpty","notification","NotificationBar","text","icon","iconFontAwesome","backgroundColor","Navbar","alternateRoutes","mainNavigationSection","fullscreenPrimaryNavigationSection","fullscreenSecondaryNavigationSection","socialNavigationSection","legalNavigationSection","phone","website","contact","destinations","navigationDestinations","StickyBar","navigationLinks","getChildNavigationLinks","stickyNavigationSection","actionsComponent","searchPage","Link","href","slug","internal","className","Icon","name","Trans","Hero","type","imageSrc","headerImage","url","Breadcrumb","items","concat","_toConsumableArray","parentIds","map","id","_data$breadcrumb$node","breadcrumbNode","breadcrumb","find","node","_breadcrumbNode$id","templateName","_breadcrumbNode$id2","_ref2","_nodeContent$general","_nodeContent$general2","_ref3","_nodeContent$general3","_nodeContent$general4","nodeContent","_kebabCase","PageComponents","componentItems","childItems","Footer","footerNavigationSection","address","email","uspGroup","footerUspGroup","newsletterForm","parentItems","length","slice","currentItem","breadcrumbItem","key","_trimStart"],"mappings":"+EAAA,IAAIA,EAAe,EAAQ,QACvBC,EAAY,EAAQ,QACpBC,EAAkB,EAAQ,QAC1BC,EAAgB,EAAQ,QACxBC,EAAW,EAAQ,QAGnBC,EAAc,OAmClBC,EAAOC,QAdP,SAAmBC,EAAQC,EAAOC,GAEhC,IADAF,EAASJ,EAASI,MACHE,QAAmBC,IAAVF,GACtB,OAAOD,EAAOI,QAAQP,EAAa,IAErC,IAAKG,KAAYC,EAAQT,EAAaS,IACpC,OAAOD,EAET,IAAIK,EAAaV,EAAcK,GAC3BM,EAAQZ,EAAgBW,EAAYV,EAAcM,IAEtD,OAAOR,EAAUY,EAAYC,GAAOC,KAAK,M,8TCyS5BC,UAtSmCC,IAA2B,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA,IAA1B,KAAEC,GAAI,YAAEC,IAAa1D,EACtE,MAAM2D,GAA8B,QAAZ1D,EAAGwD,GAAKG,YAAI,IAAA3D,GAAS,QAATC,EAATD,EAAW4D,eAAO,IAAA3D,OAAT,EAAT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AAI,GAChDkG,MAA4C,QAAvC9F,GAAc,QAAdC,GAAEG,GAAKsC,eAAO,IAAAzC,IAAS,QAATC,GAAZD,GAAcO,eAAO,IAAAN,IAAS,QAATC,GAArBD,GAAuByC,eAAO,IAAAxC,QAAlB,EAAZA,GAAgC2F,aAAK,IAAA9F,MAAI,GAChD+F,SAAU3F,GAAK4F,eACfC,eAAgB7F,GAAK6F,oB,wGCvGdhC,IA7B+BtH,IAAoB,IAAnB,MAAEuH,EAAQ,IAAIvH,EAC3D,MAAMuJ,EAAchC,EAAMiC,QAAU,EAAIjC,EAAMkC,MAAM,EAAGlC,EAAMiC,OAAS,GAAK,GACrEE,EAAcnC,EAAMiC,QAAU,EAAIjC,EAAMA,EAAMiC,OAAS,GAAK,MAC5D,EAAElF,GAAMC,uBAEd,OACEC,IAAAC,cAAA,OAAKoC,UAAU,cACbrC,IAAAC,cAAA,OAAKoC,UAAU,uBACZvC,EAAE,2BAA2B,IAC7BiF,EAAY5B,IAAKgC,GAChBnF,IAAAC,cAAA,OAAKoC,UAAU,mBAAmB+C,IAAK,GAAGD,EAAe/B,IACvDpD,IAAAC,cAACgC,IAAI,CACHC,KAAM,IAAImD,IAAUF,EAAetC,IAAK,KACxCT,UAAQ,EACR7C,MAAO4F,EAAe5F,MACtB8C,UAAU,oBAET8C,EAAe5F,SAIrB2F,GACClF,IAAAC,cAAA,OAAKoC,UAAU,6CAA6C6C,EAAY3F","file":"component---src-templates-page-template-tsx-22e219b3a4eb68282de9.js","sourcesContent":["var baseToString = require('./_baseToString'),\n castSlice = require('./_castSlice'),\n charsStartIndex = require('./_charsStartIndex'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * Removes leading whitespace or specified characters from `string`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to trim.\n * @param {string} [chars=whitespace] The characters to trim.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the trimmed string.\n * @example\n *\n * _.trimStart(' abc ');\n * // => 'abc '\n *\n * _.trimStart('-_-abc-_-', '_-');\n * // => 'abc-_-'\n */\nfunction trimStart(string, chars, guard) {\n string = toString(string);\n if (string && (guard || chars === undefined)) {\n return string.replace(reTrimStart, '');\n }\n if (!string || !(chars = baseToString(chars))) {\n return string;\n }\n var strSymbols = stringToArray(string),\n start = charsStartIndex(strSymbols, stringToArray(chars));\n\n return castSlice(strSymbols, start).join('');\n}\n\nmodule.exports = trimStart;\n","import {\n TideItemConnection,\n TideItemForDestinations,\n TideItemForGeographicalRegionConnection,\n TideItemForNavigationSection,\n TideItemForNewsletterForm,\n TideItemForNotificationComponentConnection,\n TideItemForPage,\n TideItemForSearchPage,\n TideItemForUspGroup,\n TideItemForWebsite,\n} from \"../types\";\nimport { compact, first, isEmpty, kebabCase } from \"lodash\";\n\nimport Breadcrumb from \"../components/breadcrumb\";\nimport Footer from \"../components/footer\";\nimport Hero from \"../components/hero\";\nimport Layout from \"../components/layout\";\nimport { LookupQueryData } from \"../components/qsm\";\nimport Navbar from \"../components/navbar\";\nimport PageComponents from \"../components/page-components\";\nimport React from \"react\";\nimport StickyBar from \"../components/sticky-bar\";\nimport { graphql } from \"gatsby\";\nimport { getChildNavigationLinks } from \"../utils\";\nimport Link from \"../components/link\";\nimport Icon from \"../components/icon\";\nimport Seo from \"../components/seo\";\nimport NotificationBar from \"../components/notification-bar\";\nimport { AlternateRoute } from \"../../.gatsby/gatsby-node\";\nimport { Trans, useI18next } from \"gatsby-plugin-react-i18next\";\n\ninterface PageTemplateProps {\n data: PageData;\n pageContext: {\n id: string;\n language: string;\n parentIds: string[];\n alternateRoutes: AlternateRoute[];\n };\n}\n\nconst PageTemplate: React.FC = ({ data, pageContext }) => {\n const generalPageContent = data.page?.content?.general;\n const title = compact([generalPageContent?.titlePrefix, generalPageContent?.title]).join(\" \");\n const notificationBar = first(data.notifications?.nodes);\n const { t } = useI18next();\n\n return (\n \n \n {!isEmpty(notificationBar?.content?.general?.notification) && (\n \n )}\n \n \n \n SEARCH_AND_BOOK\n \n )\n }\n />\n \n {\n const breadcrumbNode = data.breadcrumb.nodes?.find((node) => node.id === id);\n if (breadcrumbNode?.templateName === \"Homepage\") {\n return {\n id: breadcrumbNode.id ?? \"\",\n title: \"Home\",\n url: \"/\",\n };\n } else if (breadcrumbNode?.templateName === \"Page\") {\n const nodeContent = (breadcrumbNode as TideItemForPage).content;\n return {\n id: breadcrumbNode.id ?? \"\",\n title:\n (isEmpty(nodeContent?.general?.title)\n ? breadcrumbNode.name\n : nodeContent?.general?.title) ?? \"\",\n url:\n (isEmpty(nodeContent?.general?.slug)\n ? kebabCase(breadcrumbNode.name)\n : nodeContent?.general?.slug) ?? \"\",\n };\n }\n return null;\n })\n ),\n {\n id: pageContext.id,\n title:\n (isEmpty(data.page.content?.general?.title)\n ? data.page.name\n : data.page.content?.general?.title) ?? \"\",\n url:\n (isEmpty(data.page.content?.general?.slug)\n ? kebabCase(data.page.name)\n : data.page.content?.general?.slug) ?? \"\",\n },\n ]}\n />\n \n \n \n );\n};\n\ninterface PageData extends LookupQueryData {\n searchPage: TideItemForSearchPage;\n page: TideItemForPage;\n breadcrumb: TideItemConnection;\n website: TideItemForWebsite;\n notifications: TideItemForNotificationComponentConnection;\n navigationDestinations: TideItemForDestinations;\n mainNavigationSection: TideItemForNavigationSection;\n destinations: TideItemForGeographicalRegionConnection;\n fullscreenPrimaryNavigationSection: TideItemForNavigationSection;\n fullscreenSecondaryNavigationSection: TideItemForNavigationSection;\n legalNavigationSection: TideItemForNavigationSection;\n stickyNavigationSection: TideItemForNavigationSection;\n socialNavigationSection: TideItemForNavigationSection;\n contactNavigationSection: TideItemForNavigationSection;\n footerNavigationSection: TideItemForNavigationSection;\n footerUspGroup: TideItemForUspGroup;\n newsletterForm: TideItemForNewsletterForm;\n}\n\nexport const query = graphql`\n query PageQuery($id: String, $parentIds: [String] = [], $language: String) {\n locales: allLocale(filter: { language: { eq: $language } }) {\n edges {\n node {\n ns\n data\n language\n }\n }\n }\n searchPage: tideItemForSearchPage(language: { eq: $language }) {\n id\n content {\n general {\n slug\n }\n }\n }\n page: tideItemForPage(id: { eq: $id }) {\n id\n content {\n general {\n title\n titlePrefix\n headerImage {\n url\n }\n }\n seo {\n seoTitle\n seoDescription\n seoKeywords\n }\n }\n ...pageComponentsFragment\n }\n breadcrumb: allTideItem(filter: { id: { in: $parentIds } }) {\n nodes {\n id\n name\n ... on TideItemForPage {\n templateName\n content {\n general {\n title\n slug\n }\n }\n }\n ... on TideItemForHomepage {\n templateName\n content {\n general {\n title\n }\n }\n }\n }\n }\n website: tideItemForWebsite(name: { eq: \"Travelworld\" }, language: { eq: $language }) {\n content {\n contact {\n phone\n email\n address\n }\n }\n }\n ...navigationDestinationsFragment\n notifications: allTideItemForNotificationComponent(filter: { language: { eq: $language } }) {\n nodes {\n content {\n general {\n notification\n iconFontAwesome\n backgroundColor\n }\n }\n }\n }\n mainNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Main Navigation\" }\n language: { eq: $language }\n ) {\n childItems {\n ...navigationLinkFields\n }\n }\n fullscreenPrimaryNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Fullscreen Primary\" }\n language: { eq: $language }\n ) {\n ...fullscreenNavigationSectionFields\n }\n fullscreenSecondaryNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Fullscreen Secondary\" }\n language: { eq: $language }\n ) {\n ...fullscreenNavigationSectionFields\n }\n socialNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Social Navigation\" }\n language: { eq: $language }\n ) {\n childItems {\n ...navigationLinkFields\n }\n }\n contactNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Contact Navigation\" }\n language: { eq: $language }\n ) {\n childItems {\n ...navigationLinkFields\n }\n }\n legalNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Legal Navigation\" }\n language: { eq: $language }\n ) {\n childItems {\n ...navigationLinkFields\n }\n }\n stickyNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Sticky Navigation\" }\n language: { eq: $language }\n ) {\n childItems {\n ...navigationLinkFields\n }\n }\n footerNavigationSection: tideItemForNavigationSection(\n name: { eq: \"Footer Navigation\" }\n language: { eq: $language }\n ) {\n ...fullscreenNavigationSectionFields\n }\n footerUspGroup: tideItemForUspGroup(name: { eq: \"Footer Usps\" }, language: { eq: $language }) {\n ...uspGroupFields\n }\n newsletterForm: tideItemForNewsletterForm(\n name: { eq: \"Newsletter\" }\n language: { eq: $language }\n ) {\n content {\n externalMail {\n templateConfirmationMail {\n tideId\n }\n }\n contactDetails {\n tag {\n tideId\n }\n }\n form {\n privacyPage\n }\n }\n }\n }\n`;\n\nexport default PageTemplate;\n","import { trimStart } from \"lodash\";\nimport React from \"react\";\nimport Link from \"./link\";\nimport { useI18next } from \"gatsby-plugin-react-i18next\";\n\ninterface BreadcrumbProps {\n items: {\n id: string;\n title: string;\n url: string;\n }[];\n}\n\nconst Breadcrumb: React.FC = ({ items = [] }) => {\n const parentItems = items.length >= 2 ? items.slice(0, items.length - 1) : [];\n const currentItem = items.length >= 1 ? items[items.length - 1] : null;\n const { t } = useI18next();\n\n return (\n
\n
\n {t(\"BREADCRUMB_YOU_ARE_HERE\")}:\n {parentItems.map((breadcrumbItem) => (\n
\n \n {breadcrumbItem.title}\n \n
\n ))}\n {currentItem && (\n
{currentItem.title}
\n )}\n
\n
\n );\n};\n\nexport default Breadcrumb;\n"],"sourceRoot":""}