import{b as A,f as ge,h as lt,j as jr}from"/outlook/build/_shared/chunk-6FY4Q37O.js";import{Ac as R,B as pt,Bc as vt,C as mt,Cc as yt,E as gt,Jc as z,Kc as Tr,Lc as q,Mc as kt,Nc as Ct,X as ut,a as dt,b as ct,dc as ht,fc as Pe,gc as S,hc as Ve,jc as wt,k as ie,kc as bt,mc as fe,tc as ft,v as Ee,xc as xt,zc as xe}from"/outlook/build/_shared/chunk-ZHAVCDQ7.js";import{b as Ke,c as Je,g as Qe,h as et,i as tt,m as rt,n as ot,o as at,p as nt,q as it,s as st,u as De}from"/outlook/build/_shared/chunk-GQZFP2RK.js";import{a as T,b}from"/outlook/build/_shared/chunk-GUO4IAGI.js";import{c as W,d as c}from"/outlook/build/_shared/chunk-SIXSUHUE.js";var ar=W((Hn,or)=>{or.exports={}});var nr=W(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.getCookie=ro;function ro(e){let t=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));return t?t[2]:null}});var sr=W(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.dataLayer=void 0;be.initializeGTM=oo;var ir=nr(),G,ne;function oo(e,t=void 0,r=void 0){(function(o,a,n,i,l){typeof window<"u"&&(o.dataLayer=o.dataLayer||[],o.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"}));let s=a.getElementsByTagName(n)[0],d=a.createElement(n),g=i!=="dataLayer"?"&l="+i:"";d.async=!0,d.src="https://data.statista.com/gtm.js?id="+l+g,s.parentNode.insertBefore(d,s)})(window,document,"script","dataLayer",e),window.dataLayer||(window.dataLayer=[]),G=ao(t),ne=r,uo(),io()}function ao(e){return e?.includes("|")?e.split("|").pop()||"":e}function no(){let e=window;if(Array.isArray(e.dataLayer)){for(let t of e.dataLayer)if(t.event==="udpInit")return!0}return!1}function io(){let e=setInterval(()=>{no()&&(so(),clearInterval(e))},1e3)}function E(e){if(!e)return null;let t=document.querySelector(`meta#${e}`)||document.querySelector(`meta[name="${e}"]`);return t instanceof HTMLMetaElement&&(t.content||t.getAttribute("data-page"))||null}function y(e){let t=window;if(Array.isArray(t.dataLayer))for(let r of t.dataLayer){let o=r;if(o.event==="udpInit")return Object.prototype.hasOwnProperty.call(o,e)?o[e]:void 0}else{console.warn("DataLayer is not defined.");return}}function V(e){if(!e||!e.event)return;let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&e[r]!==void 0&&e[r]!==null&&e[r]!==""&&(t[r]=e[r]);typeof window<"u"&&!window.dataLayer&&(window.dataLayer=[]),window.dataLayer.push(t)}function so(){var e,t,r,o,a,n,i,l,s,d,g,k,j,P,$,J,Q,ee,M,Ne,Le,ze,Se,je,Te,He,Me;window.dataLayer=window.dataLayer||[];let Sr={event:"init",statistaTrackingUUID:(e=(0,ir.getCookie)("statistaTrackingUUID"))!==null&&e!==void 0?e:void 0,user_id:(t=G??y("userId"))!==null&&t!==void 0?t:void 0,user_country_id:(r=y("userCountryId"))!==null&&r!==void 0?r:void 0,user_date_registered:(o=y("userDateRegistered"))!==null&&o!==void 0?o:void 0,user_email:(a=ne??y("userEmail"))!==null&&a!==void 0?a:void 0,user_firstname:(n=y("userFirstname"))!==null&&n!==void 0?n:void 0,user_language:(i=y("userLanguage"))!==null&&i!==void 0?i:void 0,user_lastname:(l=y("userLastname"))!==null&&l!==void 0?l:void 0,user_phase:(s=y("userPhase"))!==null&&s!==void 0?s:void 0,user_platform_id:(d=y("userPlatformId"))!==null&&d!==void 0?d:void 0,user_ab_test_version:(k=(g=y("userTestGroup"))!==null&&g!==void 0?g:E("gtm_automatedTest"))!==null&&k!==void 0?k:void 0,user_product_id:(j=y("subscriptionProductId"))!==null&&j!==void 0?j:void 0,user_product_group_id:(P=y("groupId"))!==null&&P!==void 0?P:void 0,user_log:(J=($=E("gtm_userLog"))!==null&&$!==void 0?$:y("lastvisitLoggedin"))!==null&&J!==void 0?J:void 0,account_type:(Q=y("userTypeAccount"))!==null&&Q!==void 0?Q:void 0,content_access:(M=(ee=E("gtm_contentAccess"))!==null&&ee!==void 0?ee:y("lastvisitContentAccess"))!==null&&M!==void 0?M:void 0,content_id:(Le=(Ne=E("gtm_contentId"))!==null&&Ne!==void 0?Ne:y("lastvisitContentId"))!==null&&Le!==void 0?Le:void 0,content_title:(Se=(ze=E("gtm_contentTitle"))!==null&&ze!==void 0?ze:y("lastvisitContentTitle"))!==null&&Se!==void 0?Se:void 0,content_type:(Te=(je=E("gtm_contentType"))!==null&&je!==void 0?je:y("lastvisitContentType"))!==null&&Te!==void 0?Te:void 0,stroeer_page_type:(He=E("gtm_stroeer_pageType"))!==null&&He!==void 0?He:void 0,stroeer_g_id:(Me=E("gtm_stroeer_gid"))!==null&&Me!==void 0?Me:void 0};V(Sr)}function lo(e){var t,r,o;let a={event:"checkout_account",account_type:e.accountType,funnel_step:e.funnelStepProgress,purchase_journey:e.registrationType,product_id:(o=(r=(t=e.productId)===null||t===void 0?void 0:t.toString())!==null&&r!==void 0?r:y("subscriptionProductId"))!==null&&o!==void 0?o:void 0,payment_method:e.paymentType};V(a)}function co(e,t){var r,o;let a={event:"account_checkout_criteo",account_type:(o=(r=e?.toString())!==null&&r!==void 0?r:y("subscriptionProductId"))!==null&&o!==void 0?o:void 0,price:t};V(a)}function po(e){var t,r;let o={event:"checkout_account",account_type:"basic_account",product_id:(r=(t=e?.toString())!==null&&t!==void 0?t:y("subscriptionProductId"))!==null&&r!==void 0?r:void 0};V(o)}function mo(e){var t,r,o,a;let n=i=>{V({event:"browse_account",account_type:i})};if(typeof e=="string"){let i=(a=(o=(r=(t=e?.toLowerCase())===null||t===void 0?void 0:t.split("-"))===null||r===void 0?void 0:r.join("_"))===null||o===void 0?void 0:o.split(" "))===null||a===void 0?void 0:a.join("_");n(i)}else for(let i of e)n(i)}function go(e){let t={event:"register_account",isUpgrade:e.isUpgrade,account_type:e.accountType,registration_type:e.registerType};V(t)}function uo(){var e;let t={event:"customer_data",user_id:G?.toString()||y("userId"),user_email:ne?.toString()||y("userEmail"),statistaTrackingUUID:(e=(0,ir.getCookie)("statistaTrackingUUID"))!==null&&e!==void 0?e:void 0};V(t)}function ho(){let e={event:"login",user_id:G?.toString()||y("userId")};V(e)}function wo(){V({event:"logout",user_id:"null"})}function bo(e){var t,r,o,a,n;let i={event:"page_view",page_location:e.pageLocation,page_type:(o=(r=(t=e.pageType)!==null&&t!==void 0?t:E("gtm_pageType"))!==null&&r!==void 0?r:E("gtm_contentTitle"))!==null&&o!==void 0?o:void 0,content_type:e.contentType,content_id:(a=E("gtm_contentId"))!==null&&a!==void 0?a:void 0,route_name:(n=E("gtm_routeName"))!==null&&n!==void 0?n:void 0};V(i)}function fo(e){let t={event:"file_download",content_type:e.contentType,file_name:e.fileName,file_extension:e.fileExtension};V(t)}function xo(e){var t,r;let o={event:"get_access",content_type:e.contentType,page_location:(t=e.pageLocation)!==null&&t!==void 0?t:void 0,route_name:(r=E("gtm_routeName"))!==null&&r!==void 0?r:void 0};V(o)}be.dataLayer={pushBrowseAccount:mo,pushCheckoutAccount:lo,pushCheckoutAccountCriteo:co,pushCheckoutAccountBasicForm:po,pushRegisterAccount:go,pushLogin:ho,pushLogout:wo,pushGetAccess:xo,pushFileDownload:fo,pushPageView:bo}});var dr=W((Pn,lr)=>{lr.exports={}});var pr=W((Vn,cr)=>{cr.exports={}});var wr=W((Gn,hr)=>{hr.exports={}});var fr=W(($n,br)=>{br.exports={}});var vr=W((Un,xr)=>{xr.exports={}});var se=c(b(),1);var _t=c(b(),1),B=c(T(),1),Nt=(0,B.createContext)(void 0),Ie=({isLoggedIn:e,children:t})=>{let[r,o]=(0,B.useState)({loaded:!1}),a=(0,B.useRef)(!1);(0,B.useEffect)(()=>{if(Boolean(r.user)||a.current)return;a.current=!0;let s=()=>{o({loaded:!0}),document.cookie=`__sso_status=;path=/;SameSite=Lax;expires=${new Date(0).toUTCString()}`};fetch("/sso/user").then(async d=>{let g=await d.json();"user"in g?g.user?o({user:g.user,loaded:!0}):s():(console.error("Invalid user data format"),s())}).catch(()=>{s()}).finally(()=>{a.current=!1})},[e,r.user]);let{user:n,loaded:i}=r,l={isLoggedIn:i?Boolean(n):e,user:n};return(0,_t.jsx)(Nt.Provider,{value:l,children:t})};function I(){let e=(0,B.useContext)(Nt);if(!e)throw new Error("Setup SsoContextProvider");return e}var Oe=()=>{let{isLoggedIn:e,user:t}=I();return e&&t?(0,se.jsxs)("p",{children:["You are using the account of",(0,se.jsx)("br",{}),t.displayName]}):void 0},Ae=({children:e,location:t})=>{let{isLoggedIn:r}=I();return(0,se.jsxs)("form",{name:"login-form",action:r?"/sso/logout":"/sso/login",children:[(0,se.jsx)("input",{type:"hidden",name:"__sso_redirect",value:`${t.pathname}${t.search}${t.hash}`}),e]})};function Hr(e){return typeof e=="object"&&e!==null&&"kind"in e&&e.kind==="SSOError"}var Pt=c(b(),1);var te=c(b(),1),Dt=c(T(),1);var le=c(b(),1);var L=c(b(),1);function O(e,...t){let r="";for(let[o,a]of t.entries())r+=e[o]+String(a);return r+e.at(-1)}var zt=({email:e,jobTitle:t,index:r,phone:o,name:a,openingHours:n,imageUrl:i})=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("img",{height:"72",width:"72",src:i,className:"float-right ml-[20px] size-[72px] rounded-[80px] lg:float-left lg:mx-0 lg:mr-4 xl:ml-0",alt:a,loading:"lazy"}),(0,L.jsxs)("div",{className:"flex grow flex-col flex-wrap",children:[(0,L.jsx)("div",{className:"text-foreground-strong text-xl font-normal",children:a}),(0,L.jsx)("div",{children:t}),(0,L.jsxs)("div",{className:"xl:my-3",children:[(0,L.jsx)("div",{className:"xl:mb-1",children:(0,L.jsx)(Lt,{option:e,to:`mailto:${e}`,type:"email",index:r})}),o?(0,L.jsx)("div",{className:"xl:mt-1",children:(0,L.jsx)(Lt,{option:o,to:`fon:${o}`,type:"tel",index:r})}):void 0]}),(0,L.jsx)("p",{children:n})]})]}),Lt=({to:e,option:t,type:r,index:o})=>(0,L.jsxs)("div",{className:"flex",children:[(0,L.jsx)("div",{className:"text-foreground-strong inline-block font-bold first-letter:uppercase xl:w-12",children:r==="email"?"Email":"Tel"}),(0,L.jsx)(R,{to:e,"data-gtm":`contact__link__telephone--${o}`,className:z("text-surface-primary hover:text-surface-primary-hover ml-1 no-underline hover:underline",o!==1&&"xl:invisible"),children:t})]});var St=({contacts:e,selectedContact:t})=>{let r=[...e.contacts].sort((o,a)=>o.id===t?-1:a.id===t?1:o.id