1"use strict";(self.webpackChunkaex_web_frontend=self.webpackChunkaex_web_frontend||[]).push([[579],{1737:function(e,n,t){t.d(n,{h:function(){return l}});var o=t(4794),r=t(6540),a=t(3394);function l(){const{locale:e}=(0,r.useContext)(a.U6),{allContentfulMicrocopy:n}=(0,o.useStaticQuery)(i);return n.edges.reduce((n,t)=>{let{node:o}=t;return o.node_locale===e&&(n[o.key]=o.value),n},{})}const i="2830932748"},1885:function(e,n,t){t.d(n,{$n:function(){return o.c},Dw:function(){return o.C},GC:function(){return o.H},HJ:function(){return o.b},LR:function(){return o.T},OR:function(){return o.a},P5:function(){return o.U},Ps:function(){return o.p},RN:function(){return o.F},_8:function(){return o.k},cB:function(){return o.e},dh:function(){return o.d},gD:function(){return o.D},lW:function(){return o.l},nH:function(){return o.i},sL:function(){return o.o},z4:function(){return o.n}});var o=t(7457)},2388:function(e,n,t){t.d(n,{W:function(){return l}});var o=t(4794),r=t(6540),a=t(3394);function l(){var e;const{locale:n}=(0,r.useContext)(a.U6),{allContentfulFeaturedCampaign:t}=(0,o.useStaticQuery)(i),l=new Date;return null!==(e=t.edges.map(e=>({...e.node,lang:e.node.node_locale})).find(e=>{if(e.lang!==n||!0!==e.featuredCampaign)return!1;const t=e.featuredCampaignStartDate?new Date(e.featuredCampaignStartDate):null,o=e.featuredCampaignEndDate?new Date(e.featuredCampaignEndDate):null;return!(t&&l<t)&&!(o&&l>o)}))&&void 0!==e?e:null}const i="3380732148"},3419:function(e,n,t){t.d(n,{pI:function(){return o.t}});var o=t(1755)},4004:function(e,n,t){t.d(n,{i:function(){return i}});var o=t(4794),r=t(6540),a=t(3394),l=t(1737);function i(e){const{pathname:n}=(0,r.useContext)(a.di),t=(0,l.h)(),i=function(){const{locale:e}=(0,r.useContext)(a.U6),{allContentfulArticlePage:n,allContentfulSectionPage:t,allContentfulCampaignPage:l,allContentfulFaqPage:i,allContentfulOrderConfirmedPage:u}=(0,o.useStaticQuery)(c),d={},s=n=>{n.forEach(n=>{let{node:t}=n;if(t.url&&t.node_locale===e){const e=t.label||t.title;e&&(d[t.url]=e)}})};return s(n.edges),s(t.edges),s(l.edges),s(i.edges),s(u.edges),d}();return u(n,e,i,(null==t?void 0:t.home)||"Home")}const u=(e,n,t,o)=>{const r=[{label:o,url:"/"}];if("/"===e||""===e)return;const a=e.split("/").filter(Boolean);let l="";for(let i=0;i<a.length;i++){l+=`/${a[i]}`;if(i===a.length-1)r.push({label:n,url:e});else{const e=t[l];e&&r.push({label:e,url:l})}}return r.length>1?{links:r}:void 0},c="443863515"},4827:function(e,n,t){t.d(n,{A:function(){return w}});var o=t(3443),r=t(6540),a=t(8798),l=t(6353),i=t(6915),u=t(8744),c=t(3079),d=t(1885),s=t(4794),f=t(2388),m=t(3394);const v="271150968";const g="311865757";var p=t(1737),h=t(6919),C=t(7125),S=t(8578),x=t(7585),b=t(4848);var w=(0,o.PA)(e=>{var n,t,o,w,y;const _=(0,s.useStaticQuery)("3195984866"),D=function(){var e;const{locale:n}=(0,r.useContext)(m.U6),{allContentfulHeader:t}=(0,s.useStaticQuery)(g);return null!==(e=t.edges.map(e=>{var n,t;return{name:e.node.name,lang:e.node.node_locale,primaryNavigation:(null===(n=e.node.primaryNavigation)||void 0===n?void 0:n.map(e=>({name:e.name,label:e.label,url:e.url})))||[],languageSwitcher:(null===(t=e.node.languageSwitcher)||void 0===t?void 0:t.map(e=>({name:e.name,label:e.label,url:e.url})))||[]}}).find(e=>e.lang===n))&&void 0!==e?e:[]}(),j=function(){var e;const{locale:n}=(0,r.useContext)(m.U6),{allContentfulFooter:t}=(0,s.useStaticQuery)(v);return null!==(e=t.edges.map(e=>{var n,t,o,r,a,l,i,u;return{name:e.node.name,lang:null===(n=e.node.contact)||void 0===n?void 0:n.node_locale,footerContact:{name:null===(t=e.node.contact)||void 0===t?void 0:t.name,customerServiceInfo:null!==(o=e.node.contact)&&void 0!==o&&o.customerServiceInfo.raw?JSON.parse(null===(r=e.node.contact)||void 0===r?void 0:r.customerServiceInfo.raw):null,phone:null===(a=e.node.contact)||void 0===a?void 0:a.phone,email:null===(l=e.node.contact)||void 0===l?void 0:l.email,address:null===(i=e.node.contact)||void 0===i?void 0:i.address},footerLinkGroups:(null===(u=e.node.footerLinkGroups)||void 0===u?void 0:u.map(e=>{var n;return{title:e.title,links:(null===(n=e.footerLink)||void 0===n?void 0:n.map(e=>({label:e.label,url:e.url})))||[]}}))||[]}}).find(e=>e.lang===n))&&void 0!==e?e:[]}(),P=(0,f.W)(),{locale:U}
1=(0,r.useContext)(m.U6),{pathname:k}=(0,r.useContext)(m.di),{otherLocaleUrlPath:I}=(0,r.useContext)(m.U6),A=(0,p.h)(),N=(0,r.useContext)(l.A),L=(0,u.J)(),F=N.authStore,{isCurrentUserB2B:T,isCurrentUserStaff:B}=(0,S.eK)(N),E="undefined"!=typeof location?location.search:"";(0,r.useEffect)(()=>{fetch(`${i.t6}/siteDown/${"de"===U?"en-US":U}`).then(e=>e.json()).then(e=>{const n=null!=e.items?e.items.filter(e=>!0===e.fields.closeSite):[];if(n.length>0){const e=n[0].fields,t={title:e.title,text:e.text};N.setSiteDownState(!0,t)}else N.setSiteDownState(!1,null)}).catch(()=>{})},[]),(0,r.useEffect)(()=>{const e=setTimeout(()=>{window.localStorage.setItem("isLoggedIn",null!==F.currentUser?"true":"false")},1e3);return()=>clearTimeout(e)},[]),(0,r.useEffect)(()=>{const e=a.A.parse(E);e.__affiliate&&N.setAffiliateState(e.__affiliate),e.__syncToken&&N.setSyncToken(e.__syncToken)},[E]);const H=U.startsWith("sv")?"/mina-sidor":"/my-pages",$=(0,x.un)(U)?`/${U}${H}`:H,M="undefined"!=typeof window&&/^\/(campaign|kampanj|kampagne)\//i.test(window.location.pathname);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C.A,{seo:{...e.seo,image:null!=_&&null!==(n=_.contentfulAsset)&&void 0!==n&&null!==(t=n.file)&&void 0!==t&&t.url?`https:${_.contentfulAsset.file.url}`:void 0},pathname:k,otherLocaleUrlPath:I,doNotIndex:e.useNoIndexNoFollow}),(0,b.jsx)(h.A,{order:3}),(0,b.jsx)(d.lW,{locale:U,primaryNavigation:D.primaryNavigation,languageSwitcher:D.languageSwitcher,footerArg:j,activeLabel:e.seo.name,breadcrumbs:e.breadcrumbs,myPagesUrl:$,isLoggedIn:!!L,LogoutComponent:c.AEXAuth.components.LogoutButton,microcopy:A,hidePurchaseButton:N.siteDisturbance,featuredCampaignBanner:e.hideFeaturedCampaignBanner||null==P||!P.bannerTitle||null==P||!P.bannerDescription||M||T||B?void 0:(0,b.jsx)(d.dh,{content:{bannerTitle:P.bannerTitle,bannerDescription:P.bannerDescription,gradient:"true"===P.gradient,featuredCampaignIconUrl:null!==(o=null===(w=P.featuredCampaignIcon)||void 0===w||null===(y=w.file)||void 0===y?void 0:y.url)&&void 0!==o?o:void 0},href:(0,x.p2)("/travelers")}),children:e.children})]})})},5723:function(e,n,t){t.r(n),t.d(n,{default:function(){return d}});var o=t(3419),r=t(7324),a=t(1885),l=t(4004),i=t(1737),u=t(4827),c=t(4848);var d=e=>{var n;let{data:t}=e;const d=(0,i.h)(),{contentful_id:s,title:f,name:m,label:v,metaDescription:g,doNotIndexPage:p,contentSection:h}=t.contentfulSectionPage,C=(0,l.i)(v||f),S=(0,r.qM)({...t.contentfulSectionPage,contentSection:h,sys:{id:s}}),x={title:f,description:null==g?void 0:g.metaDescription,name:m};return(0,c.jsx)(u.A,{seo:x,breadcrumbs:C,useNoIndexNoFollow:p,children:(0,c.jsx)("div",{className:"section-page-module--innerContainer--c7e1c",children:null===(n=S.contentSection)||void 0===n?void 0:n.map(e=>{const n=e.contentful_id||Math.random().toString(36).substring(7),t=o.pI.getProps({entryId:e.contentful_id,fieldId:"title"});switch(e.__typename){case"ContentfulHeaderModule":return(0,c.jsx)("div",{...t,children:(0,c.jsx)(a.GC,{content:e})},n);case"ContentfulArticleContent":return(0,c.jsx)("div",{...t,children:(0,c.jsx)(a.HJ,{content:e,microcopy:d})},n);case"ContentfulUspCardModule":return(0,c.jsx)("div",{...t,children:(0,c.jsx)(a.P5,{content:e})},n);case"ContentfulFaqModule":return(0,c.jsx)("div",{...t,children:(0,c.jsx)(a.RN,{content:e})},n);default:return null}})})})}}}]); 2//# sourceMappingURL=component---src-templates-section-page-section-page-tsx-cdf0968a01359e19316a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.