PageSourceSearch

https://www.futuroscope.com/_next/static/chunks/3142-2929dbefec9df467.js

js futuroscope.com collected 2026-09-24 09:18:26 UTC 420,545 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3142],{38934:function(e,t,l){var n={"./bike.svg":[96618,6618],"./bus.svg":[87272,7272],"./calendar.svg":[40355,355],"./camper.svg":[62496,2496],"./car.svg":[22538,2538],"./plane.svg":[35544,5544],"./train.svg":[15872,5872]};function a(e){if(!l.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return l.e(t[1]).then(function(){return l(a)})}a.keys=function(){return Object.keys(n)},a.id=38934,e.exports=a},27308:function(e,t,l){var n={"./blocks_access":[16603,6603],"./blocks_access.tsx":[16603,6603],"./blocks_accordions":[36210,6210],"./blocks_accordions.tsx":[36210,6210],"./blocks_accounts":[5912,5912],"./blocks_accounts.tsx":[5912,5912],"./blocks_alerts":[35358,5358],"./blocks_alerts.tsx":[35358,5358],"./blocks_anchors":[97493,7493],"./blocks_anchors.tsx":[97493,7493],"./blocks_calendars":[24808,4808],"./blocks_calendars.tsx":[24808,4808],"./blocks_carousels":[67470,7470],"./blocks_carousels.tsx":[67470,7470],"./blocks_experiences":[91935,1935],"./blocks_experiences.tsx":[91935,1935],"./blocks_focus":[13719,3719],"./blocks_focus.tsx":[13719,3719],"./blocks_footers":[83134,3134],"./blocks_footers.tsx":[83134,3134],"./blocks_galleries":[44820,7813],"./blocks_galleries.tsx":[44820,7813],"./blocks_grids":[89310,9310],"./blocks_grids.tsx":[89310,9310],"./blocks_heroes":[95242,5242],"./blocks_heroes.tsx":[95242,5242],"./blocks_images":[38408,8408],"./blocks_images.tsx":[38408,8408],"./blocks_infos":[14702,4702],"./blocks_infos.tsx":[14702,4702],"./blocks_legals":[80554,554],"./blocks_legals.tsx":[80554,554],"./blocks_links":[18727,8727],"./blocks_links.tsx":[18727,8727],"./blocks_lists":[12637,2637],"./blocks_lists.tsx":[12637,2637],"./blocks_logins":[62847,2847],"./blocks_logins.tsx":[62847,2847],"./blocks_logos":[20409,409],"./blocks_logos.tsx":[20409,409],"./blocks_maps":[67068,7068],"./blocks_maps.tsx":[67068,7068],"./blocks_medias":[71700,1700],"./blocks_medias.tsx":[71700,1700],"./blocks_mosaics":[83487,3487],"./blocks_mosaics.tsx":[83487,3487],"./blocks_navigations":[25808,5808],"./blocks_navigations.tsx":[25808,5808],"./blocks_newsletters":[34663,4663],"./blocks_newsletters.tsx":[34663,4663],"./blocks_offers":[16126,6126],"./blocks_offers.tsx":[16126,6126],"./blocks_passes":[23038,3038],"./blocks_passes.tsx":[23038,3038],"./blocks_prices":[63090,3090],"./blocks_prices.tsx":[63090,3090],"./blocks_questions":[24490,4490],"./blocks_questions.tsx":[24490,4490],"./blocks_reservations":[92590,2590],"./blocks_reservations.tsx":[92590,2590],"./blocks_reviews":[73690,3690],"./blocks_reviews.tsx":[73690,3690],"./blocks_scrolls":[37619,7619],"./blocks_scrolls.tsx":[37619,7619],"./blocks_searches":[31662,1662],"./blocks_searches.tsx":[31662,1662],"./blocks_signups":[41798,1798],"./blocks_signups.tsx":[41798,1798],"./blocks_sitemaps":[136,136],"./blocks_sitemaps.tsx":[136,136],"./blocks_socials":[95434,5434],"./blocks_socials.tsx":[95434,5434],"./blocks_spaces":[64518,4518],"./blocks_spaces.tsx":[64518,4518],"./blocks_steps":[1103,1103],"./blocks_steps.tsx":[1103,1103],"./blocks_tabs":[63774,3774],"./blocks_tabs.tsx":[63774,3774],"./blocks_texts":[85593,5593],"./blocks_texts.tsx":[85593,5593],"./blocks_titles":[70984,984],"./blocks_titles.tsx":[70984,984],"./blocks_tutorials":[17401,7401],"./blocks_tutorials.tsx":[17401,7401],"./blocks_widgets":[55838,5838],"./blocks_widgets.tsx":[55838,5838],"./null_block":[50003,3],"./null_block.tsx":[50003,3]};function a(e){if(!l.o(n,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=n[e],a=t[0];return l.e(t[1]).then(function(){return l(a)})}a.keys=function(){return Object.keys(n)},a.id=27308,e.exports=a},7091:function(){},18161:function(e,t,l){"use strict";l.r(t),l.d(t,{Accordion:function(){return u}});var n=l(94043),a=l(31692),r=l(99833),i=l(54403),s=l(9145),o=l(21736);let c=(0,a.createContext)(0),d=e=>{let t=e.filter(e=>e.forcedOpen);if(0!==t.length)return t.map(t=>{let l=e.indexOf(t);return(0,s.T8T)(l)})},u=e=>{let t=(0,a.useContext)(c),{items:l,size:u,clearInnerSpacings:m=!0,anchor:f,className:x}=e,p=t>0,h=null!=u?u:p?"small":"standard";return(0,n.jsxs)("section",{className:(0,i.Z)("block--accordions relative w-full bg-transparent",!p&&"standard"===h&&"py-section px-[24px]",p&&"block--accordions--nested pl-6 md:pl-10",x),children:[(0,n.jsx)("div",{className:"relative",children:(0,n.jsx)("span",{className:"pointer-events-none absolute -top-24 left-0 w-full select-none",id:f})}),(0,n.jsx)(r.fC,{className:(0,i.Z)("mx-auto flex w-full max-w-[1080px] flex-col",p&&"gap-10"),type:"multiple",defaultValue:d(l),children:null==l?void 0:l.map((e,l)=>{let{title:a,children:d,simpleContent:u}=e,f=(0,s.T8T)(l);return(0,n.jsxs)(r.ck,{value:f,className:(0,i.Z)("mt-px cursor-default overflow-hidden focu
1s-within:overflow-visible focus-within:relative focus-within:z-10","standard"===h&&"pb-[20px] md:pb-[40px]","small"===h&&""),children:[(0,n.jsx)(r.h4,{className:"flex",children:(0,n.jsxs)(r.xz,{className:(0,i.Z)("border-darkblue group/trigger flex flex-1 items-center justify-between text-[15px] leading-none outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue","standard"===h&&"border-b-2 pb-[10px] md:pb-[20px]","small"===h&&"border-b pb-2"),children:[(0,n.jsx)("h3",{className:(0,i.Z)("font-display text-darkblue flex-1 text-left font-medium","standard"===h&&"pr-5 text-2xl leading-[30px] md:pr-10 md:text-[40px] md:leading-[40px]","small"===h&&"pr-5 text-xl leading-[30px] md:pr-[30px] md:text-2xl md:leading-[30px]"),children:a}),(0,n.jsxs)("div",{className:(0,i.Z)("relative cursor-pointer group-hover/trigger:opacity-85","standard"===h&&"h-[30px] w-[30px] md:h-[40px] md:w-[40px]","small"===h&&"h-[20px] w-[20px]"),children:[(0,n.jsx)("div",{className:(0,i.Z)("bg-darkblue absolute left-1/2 top-1/2 h-0.5 -translate-x-1/2 -translate-y-1/2 transform rounded-l rounded-r transition-all duration-300 ","standard"===h&&"w-[22px] md:w-[32px]","small"===h&&"w-[16px] md:w-[20px]")}),(0,n.jsx)("div",{className:(0,i.Z)("bg-darkblue absolute left-1/2 top-1/2 w-0.5 -translate-x-1/2 -translate-y-1/2 transform rounded-b rounded-t transition-all duration-300 group-data-[state=open]/trigger:h-0","standard"===h&&"h-[22px] md:h-[32px]","small"===h&&"h-[16px] md:h-[20px]")})]})]})}),(0,n.jsx)(r.VY,{className:(0,i.Z)("group overflow-hidden data-[state=open]:block data-[state=closed]:hidden "),forceMount:!0,style:{},children:(0,n.jsxs)("div",{className:(0,i.Z)("flex flex-col items-stretch gap-10 md:gap-14","standard"===h&&"pt-[20px] md:pt-[40px]",p&&"pt-6","small"===h&&!p&&"pt-[14px]",!!m&&"[&>*:not(.block--accordions--nested)]:!mx-0 [&>*:not(.block--accordions--nested)]:!my-0 [&>*:not(.block--accordions--nested)]:!px-0 [&>*:not(.block--accordions--nested)]:!py-0"),children:[u&&(0,n.jsx)(o.o8,{text:u,className:"text-darkblue !text-base !font-normal !leading-tight md:!text-lg md:!font-medium"}),(0,n.jsx)(c.Provider,{value:t+1,children:d})]})})]},l)})})]})}},80391:function(e,t,l){"use strict";l.r(t),l.d(t,{AccountWrapper:function(){return x}});var n=l(94043),a=l(31692),r=l(46977),i=l(53198),s=l(21736),o=l(9145),c=l(86570),d=l(2451),u=l(95899),m=l(17224),f=l(64343);let x=e=>{var t,l;let{title:x,description:p,breadcrumb:h,tabs:v,initialTab:g,getVisitDocuments:b,getContracts:j,submitContactForm:w,cancelGuestonlineReservation:y}=e,N=v[0].value,[_,k]=(0,a.useState)(g||N),C=(0,d.G)(),A=(0,u.uK)(),S=(0,u.ec)(),L=(0,a.useMemo)(()=>{var e;return null==C?void 0:null===(e=C.sessionInfo)||void 0===e?void 0:e.name},[C]),E=(0,a.useMemo)(()=>!!(null==C?void 0:C.sessionValid),[C]),M=(0,a.useMemo)(()=>!!(null==C?void 0:C.ready),[C]),T=(0,a.useMemo)(()=>"".concat(x).replace("FIRSTNAME",L||""),[x,L]),Z=e=>{let t=new URL(window.location.href);e?t.searchParams.set("tab",e):t.searchParams.delete("tab"),history.replaceState({},"",t.toString())};return M?E?(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)(r.i,{title:T,description:p,breadcrumbConf:h,className:"!mx-auto !items-start pt-28 md:!items-center [&_p]:!max-w-[860px] [&_p]:!text-left [&_p]:md:!text-center"}),(0,n.jsx)(i._A,{filters:v,initialTab:_,onChange:e=>{k(e),Z(e),(0,f.t5)("profile.navigation",{event:"click.navigation",click:"account",click_chapter1:"ACCOUNT_CATEGORY",click_chapter2:"PAGE_PATH",click_chapter3:"",goal_type:""},(null==S?void 0:S.gtmPreset)||{},{ACCOUNT_CATEGORY:()=>({documents:"documents",contracts:"contrats",profile:"profil",contact:"contact"})[e]||"documents"})},className:"!pt-0"}),(0,n.jsx)("div",{className:"container-full my-12 flex flex-col md:my-20",children:(()=>{switch(_){case"documents":return(0,n.jsx)(c.PM,{getVisitDocuments:b,cancelGuestonlineReservation:y},"documents");case"contracts":return(0,n.jsx)(c.iN,{getContracts:j},"contracts");case"profile":return(0,n.jsx)(c.IP,{},"profile");case"contact":return(0,n.jsx)(c.m7,{submitContactForm:w},"contact");default:return null}})()})]}):(0,n.jsx)("div",{className:"px-4 py-28 text-center",children:(0,n.jsx)(s.XU,{className:"text-paragraph font-body text-darkblue flex-1 text-base font-normal leading-tight md:text-lg md:font-medium",content:(0,o.t)((null==A?void 0:null===(l=A.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t.infoMustSignIn)||"")})}):(0,n.jsx)(m.a,{className:"flex items-center justify-center px-4 py-28 text-center"})}},67675:function(e,t,l){"use strict";l.d(t,{o:function(){return i}});var n=l(94043),a=l(17224),r=l(31692);let i=e=>((0,r.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),(0,n.jsx)("div",{className:"bg-darkblue/40 fixed inset-0 z-[99999] flex items-center justify-center",children:(0,n.jsx)(a.a,{})}))},61907:function(e,t,l){"use strict";l.d(t,{L:function(){return s},n:function(){return i}});var n=l(94043),a=l(21736),r=l(45609);let i=e=>{let{btnText:t,close:l,title:r,info:i,children:s}=e;return(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4 px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",dangerouslySetInnerHTML:{__html:r}}
1),!!i&&(0,n.jsx)("div",{className:"text-darkblue text-sm leading-[16.8px]",dangerouslySetInnerHTML:{__html:i}}),!!t&&(0,n.jsx)(a.zx,{onClick:e=>{e.preventDefault(),l()},children:t}),s]})},s=e=>{let{open:t,close:l,...a}=e;return(0,n.jsx)(r.C,{open:t,onOpenChange:l,children:(0,n.jsx)(i,{close:l,...a})})}},66451:function(e,t,l){"use strict";l.d(t,{d:function(){return _}});var n=l(94043),a=l(21736);let r=e=>{let{heading:t,backgroundImage:l,cardTitle:r,link:i}=e;return(0,n.jsxs)("section",{className:"block--NoReservations flex flex-col items-center gap-4 md:gap-6",children:[t&&(0,n.jsx)("div",{className:"text-darkblue font-body text-center text-base font-normal leading-tight",dangerouslySetInnerHTML:{__html:t}}),(null==l?void 0:l.src)&&(0,n.jsxs)("div",{className:"relative flex h-[270px] w-full max-w-[530px] items-end justify-start",children:[(0,n.jsx)(a.t,{...l,width:530,height:270,className:"absolute-fill will-change-transform"}),(0,n.jsxs)("div",{className:"flex flex-col gap-4 py-5 md:py-6",children:[r&&(0,n.jsx)(a._q,{line1:r,line1Tag:"p",line1ClassName:"!text-2xl !font-medium !leading-[1.25]"}),(null==i?void 0:i.href)&&(0,n.jsx)(a.zx,{link:i,color:"bright",className:"ml-5 md:ml-6"})]})]})]})};var i=l(53198),s=l(54403),o=l(31692),c=l(65041),d=l(16100);l(97415),l(6582),l(53571);var u=l(9145),m=l(48740),f=l(94720);let x=e=>{let{payload:t,className:l,...a}=e,[r,i]=(0,o.useState)("");return(0,o.useEffect)(()=>{(0,f.hz)(t,{margin:0},(e,t)=>{i(t)})},[t]),(0,n.jsx)(m.default,{alt:t,src:r||u.jMx,unoptimized:!0,width:135,height:135,className:(0,s.Z)(l,"pixelated"),...a})};var p=l(64343),h=l(95899),v=e=>{let{title:t,description:l,cta:r,setIsModalOpen:i,onCancelReservation:s}=e;return(0,n.jsx)("div",{className:"absolute-fill flex h-full flex-col items-stretch justify-center landscape:flex-row",children:(0,n.jsx)("div",{className:"relative flex flex-1 flex-col items-center justify-center overflow-y-auto bg-white landscape:z-10 landscape:justify-center",children:(0,n.jsxs)("div",{className:"box-content max-w-[640px] overflow-y-auto px-[6.4%] py-[6vh] landscape:py-[10vh] landscape:pl-[16%] landscape:pr-[25%]",children:[(0,n.jsx)("h2",{className:"mb-[0.1em] text-[32px]/none md:text-[40px]/none",children:t}),l&&(0,n.jsx)(a.o8,{text:l,className:"my-4 mt-4 !text-lg/normal md:mt-6 lg:mt-8"}),!!r&&(0,n.jsx)(a.zx,{className:"mt-8 md:mt-10",link:r,onClick:()=>{i(!1),s&&s()}})]})})})},g=e=>{let{title:t,description:l,cta:r,isModalOpen:i,setIsModalOpen:s}=e;return(0,n.jsx)(a.VL,{variant:"custom",open:i,onOpenChange:e=>s(e),children:(0,n.jsx)(v,{title:t,description:l,cta:r,setIsModalOpen:s})})};let b=()=>{let e=(0,i.YJ)(),t="\n      absolute top-1/2 -translate-y-1/2 bg-blue hover:bg-blue/85 z-10 rounded-full w-10 h-10 transition hover:after:opacity-100\n      pointer-events-auto select-none\n      focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-white\n    ",l="absolute-center text-2xl text-white";return e.isBeginning&&e.isEnd?null:(0,n.jsxs)("div",{className:"pointer-events-none absolute inset-0 left-1/2 top-20 z-20 h-[200px] w-[320px] max-w-full -translate-x-1/2",children:[(0,n.jsx)("button",{className:(0,s.Z)(t,"left-2","after:bg-easing-r-carouselNav","nav-prev"),onClick:()=>e.slidePrev(),children:(0,n.jsx)(i.JO,{icon:"arrow-right",className:(0,s.Z)(l,"-scale-x-100 transform")})}),(0,n.jsx)("button",{className:(0,s.Z)(t,"right-2","after:bg-easing-l-carouselNav","nav-next"),onClick:()=>e.slideNext(),children:(0,n.jsx)(i.JO,{icon:"arrow-right",className:l})})]})},j=e=>{var t;let{title:l,pdfLink:a,tabsData:r,isModalOpen:u,seeDetails:m,setIsModalOpen:f,onCancelReservation:j}=e,w=(null==r?void 0:null===(t=r[0])||void 0===t?void 0:t.value)||"",[y,N]=(0,o.useState)(w),[_,k]=(0,o.useState)(!1),C=(0,h.ec)(),A={clickable:!0,renderBullet:(e,t)=>'<span class="'+t+'">'+(e+1)+"</span>"},S=async e=>{await (0,p.t5)("pdf.download",{event:"click.download",click:"account",click_chapter1:"files",click_chapter2:"FILE_CATEGORY",click_chapter3:"REDIRECTION_PATH",goal_type:""},(null==C?void 0:C.gtmPreset)||{},{FILE_CATEGORY:()=>({BILLETS:"billet",HOTELS:"h\xe9bergement",RESTAURATION:"restauration",PASS:"pass",EXTRA:"extra"})[y]||"billet",REDIRECTION_PATH:()=>e.href})};return(0,n.jsx)(i.VL,{variant:"custom",open:u,onOpenChange:e=>f(e),children:j?(0,n.jsx)(v,{title:m.title,cta:{href:"",title:m.ctaLabel},setIsModalOpen:f,onCancelReservation:j}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"px-4 py-16",children:(0,n.jsxs)("div",{className:"mx-auto flex max-w-[640px] flex-col gap-8",children:[(0,n.jsxs)("div",{className:"flex flex-col items-start justify-center gap-3 md:flex-row md:items-center md:justify-between",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-2xl font-medium leading-[1.25] md:text-[32px] md:leading-none",children:l}),!!a&&(0,n.jsxs)(n.Fragment,{children:["downloadMenu"===a.specialAction&&(0,n.jsx)(i.ee,{color:"underlined",link:{...a,newTab:!0},onClick:()=>{S(a)},className:"font-body leading-light text-blue relative z-10 inline-flex flex-row items-center justify-center gap-2 !rou
1nded-none rounded-[10px] !px-0 px-6 py-[10px] text-sm font-medium transition-all duration-200 after:absolute after:bottom-0 after:h-[1px] after:w-full after:origin-bottom after:bg-[currentColor] after:transition hover:shadow-lg hover:shadow-none hover:after:scale-y-[2] active:translate-y-[1px] active:transform-none active:shadow-md active:shadow-none peer-hover:shadow-none peer-hover:after:scale-y-[2] [&>span]:transition [&>span]:duration-100 [&>span]:will-change-transform active:[&>span]:translate-y-[1px]",children:a.title}),"openInfoPopin"==a.specialAction&&(0,n.jsx)(i.zx,{color:"underlined",link:a,onClick:()=>k(!0)})]})]}),r&&(0,n.jsx)(i._A,{filters:r,initialTab:y,onChange:e=>{N(e),(0,p.t5)("modal.navigation",{event:"click.navigation",click:"account",click_chapter1:"file_navigation",click_chapter2:"FILE_CATEGORY",click_chapter3:"PAGE_PATH",goal_type:""},(null==C?void 0:C.gtmPreset)||{},{FILE_CATEGORY:()=>({BILLETS:"billet",HOTELS:"h\xe9bergement",RESTAURATION:"restauration",PASS:"pass",EXTRA:"extra"})[e]||"billet"})},className:"!-ml-1.5 !px-0 !pt-0 md:!-ml-2 lg:!-ml-3 [&_ul]:!text-left"}),(0,n.jsx)("div",{className:"relative",children:null==r?void 0:r.map((e,t)=>{if(e.value!==y)return null;let l=e.cardsData;return(0,n.jsxs)(c.tq,{modules:[d.W_,d.N1,d.tl,d.s5],pagination:A,slidesPerView:1,wrapperClass:"",keyboard:!0,speed:200,loop:l.length>1,className:(0,s.Z)("[&_*]:will-change-transform"),navigation:{nextEl:".nav-next",prevEl:".nav-prev"},children:[l.map((e,t)=>(0,n.jsx)(c.o5,{className:"pb-[52px]",children:(0,n.jsxs)("div",{className:"bg-gradient-formula-card flex flex-col gap-4 roun
1ded px-4 py-6 md:gap-6 md:px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-center text-2xl font-medium leading-[1.25] md:text-[32px] md:leading-none",children:e.title}),(0,n.jsx)("div",{className:"relative flex h-[200px] justify-center px-[86px] md:px-20",children:(0,n.jsxs)("div",{className:"relative flex flex-col items-center justify-between gap-3 px-10",children:[e.qrCodePayload?(0,n.jsx)(x,{payload:e.qrCodePayload,className:(0,s.Z)("h-[135px[] w-[135px]")}):(0,n.jsx)(n.Fragment,{children:e.image&&(0,n.jsx)(i.ee,{link:e.pdfLink,onClick:()=>e.pdfLink&&S(e.pdfLink),children:(0,n.jsx)(i.t,{...e.image,className:(0,s.Z)("h-[135px[] w-[135px]")})})}),e.imageText&&(0,n.jsx)("p",{className:"text-darkblue font-body text-center text-sm font-normal leading-tight",children:e.imageText})]})}),e.description&&(0,n.jsx)(i.o8,{text:e.description,className:"text-darkblue font-display !text-base !font-normal !leading-[24px] tracking-[0.64px] md:!font-medium"}),!!e.moreInfo&&(0,n.jsx)(i.UQ,{items:[{...e.moreInfo}],size:"small"})]},t)},t)),!!l&&(null==l?void 0:l.length)>1&&(0,n.jsx)(b,{})]},t)})})]})}),(0,n.jsx)(g,{title:m.title,description:m.description,cta:{href:"",title:m.ctaLabel},isModalOpen:_,setIsModalOpen:k})]})})};var w=l(11960);let y=e=>{let{image:t,logo:l,description:a,link:r,title:c,expired:d,infoModalData:u,pending:f}=e,x=(0,h.ec)(),[v,b]=(0,o.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-5",children:[(0,n.jsx)(i.t,{...t,width:200,height:120,className:(0,s.Z)("max-h-[120px] w-full md:w-[200px]",d&&"opacity-50",l&&"relative"),children:l&&(0,n.jsx)(m.default,{className:"absolute left-1/2 top-1/2 max-h-[80%] max-w-[80%] -translate-x-1/2 -translate-y-1/2",src:l.src,alt:l.alt||"",width:180,height:100,loader:e=>(0,w.X)(e,180,100,"contain")})}),(0,n.jsxs)("div",{className:(0,s.Z)("flex flex-auto flex-col justify-between gap-2 md:gap-4",d&&"opacity-50"),children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-2xl font-medium leading-[1.25] md:text-[32px] md:leading-none",children:c}),a&&(0,n.jsx)(i.o8,{text:a,className:"!text-[16px] font-semibold !leading-[24px]"})]}),(0,n.jsx)("div",{className:"flex items-center",children:!!r&&(u?(0,n.jsx)(i.zx,{color:"bright",onClick:()=>b(!0),children:r.title}):(0,n.jsx)(i.zx,{link:r,onClick:async()=>{await (0,p.t5)("download_file",{event:"click.download",click:"account",click_chapter1:"contracts",click_chapter2:"STATUS",click_chapter3:"REDIRECTION_PATH",goal_type:""},(null==x?void 0:x.gtmPreset)||{},{REDIRECTION_PATH:()=>r.href,STATUS:()=>d?"former":"ongoing"})},color:"bright"}))})]}
1),u&&(f?(0,n.jsx)(g,{title:u.seeDetails.title,description:u.seeDetails.description,cta:{href:"",title:u.seeDetails.ctaLabel},isModalOpen:v,setIsModalOpen:b}):(0,n.jsx)(j,{...u,isModalOpen:v,setIsModalOpen:b}))]})},N=e=>{let{title:t,reservations:l}=e;return(0,n.jsxs)("section",{className:"flex flex-col gap-3 md:gap-5",children:[(0,n.jsx)(a._q,{line1:t,line1WrapSafe:!0}),(0,n.jsx)("div",{className:"flex w-full flex-col gap-8 md:gap-10",children:l.map((e,t)=>(0,n.jsx)(y,{...e},t))})]})},_=e=>{let{reservations:t,noReservations:l}=e;return(0,n.jsx)("section",{className:"mx-auto w-full max-w-[860px]",children:(0,n.jsx)("div",{className:"flex flex-col gap-16",children:t&&t.length?null==t?void 0:t.map((e,t)=>(0,n.jsx)(N,{...e},t)):(0,n.jsx)(r,{...l})})})}},54853:function(e,t,l){"use strict";l.d(t,{Z5:function(){return A},hv:function(){return _},r8:function(){return b}});var n=l(94043),a=l(21736),r=l(17224),i=l(9145),s=l(64343),o=l(95899),c=l(54486),d=l(5428),u=l(54403),m=l(31692),f=l(63534),x=l(61907),p=l(67675),h=l(28516),v=l(2451);let g={email:"email",password:"current-password",firstName:"given-name",lastName:"family-name",streetName:"address-line1",postalCode:"postal-code",city:"address-level2",complementaryAddress1:"address-line2",complementaryAddress2:"address-line3",mobile:"tel",stationary:"tel"},b=e=>{let{loadData:t,submitData:l,updatePassword:b,updateEmail:j}=e,[w,y]=(0,m.useState)(!1),[N,_]=(0,m.useState)(!1),k=(0,o.uK)(),C=(0,o.ec)(),A=(0,v.G)(),{captchaComponent:S,didSolveCaptcha:L}=(0,i.my9)((null==C?void 0:C.langCode)||"fr"),{formStateEssentials:{submitting:E,success:M,serverError:T},setServerError:Z,setSubmitting:R,setSuccess:P}=(0,i.QUq)(),F=e=>{var t,l;return(0,i.t)(null==k?void 0:null===(l=k.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t[e])},O=(0,f.cI)({resolver:(0,d.F)(h.j)}),{handleSubmit:I,reset:D,setError:z,clearErrors:V,trigger:H,getValues:B,setValue:U,watch:W}=O,q=(0,m.useMemo)(()=>{var e;return(null===(e=W("country"))||void 0===e?void 0:e.toString())||""},[W("country")]),{runAdvancedValidation:Y,triggerValidation:G,autocompleters:J}=(0,i.G6m)(q,z,V,H,B,U),$=e=>(0,s.t5)("update_profile",{event:"click.action",click:"account",click_chapter1:"update_profile",click_chapter2:e,click_chapter3:"",goal_type:""},(null==C?void 0:C.gtmPreset)||{}),X=(0,c.s)(),Q=(0,m.useMemo)(()=>{var e,t,l,n,a,r,i,s,o;return!w&&(null==k?void 0:null===(l=k.profile)||void 0===l?void 0:null===(t=l.editRestrictions)||void 0===t?void 0:null===(e=t.restrictionMessage)||void 0===e?void 0:e.length)?"".concat(null==k?void 0:null===(a=k.profile)||void 0===a?void 0:null===(n=a.editRestrictions)||void 0===n?void 0:n.restrictionMessage,' <a href="mailto:').concat(null==k?void 0:null===(i=k.profile)||void 0===i?void 0:null===(r=i.editRestrictions)||void 0===r?void 0:r.reservationsEmail,'" target="_blank">').concat(null==k?void 0:null===(o=k.profile)||void 0===o?void 0:null===(s=o.editRestrictions)||void 0===s?void 0:s.reservationsEmail,"</a>"):null},[w]);(0,m.useEffect)(()=>{t().then(e=>{D(e.profile),y("available"===e.nameEditAvailability||!e.profile.lastName||!e.profile.firstName)}).finally(()=>{_(!0)})},[t,D]);let K=async e=>{if(!E){if(!await L()||!Y(e))return!1;R(!0);try{await l(e),$("success"),P(!0),X&&(window.location.href=X)}catch(e){$("fail"),Z((0,i.qTG)(e)||"Something went wrong")}finally{R(!1)}}},ee=e=>{var t;return(0,n.jsx)(a.O5,{fieldKey:e,fieldTranslations:(null==k?void 0:null===(t=k.profile)||void 0===t?void 0:t.fields)||null,fieldTypesMap:h.Y,langCode:(null==C?void 0:C.langCode)||"fr",useFormResult:O,autocompleters:J,autoCompleteMap:g,disabled:w?void 0:["firstName","lastName","civilite"].includes(e)},e)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{onSubmit:I(K),className:"relative mx-auto flex max-w-[420px] flex-col gap-4",children:[(0,n.jsxs)(a.Y3,{legend:F("headingProfile")||"Identity",children:[ee("civilite"),ee("firstName"),ee("lastName"),!!Q&&(0,n.jsx)(a.XU,{className:"mb-4 [&>a]:underline [&>a]:underline-offset-2",content:Q}),(0,n.jsx)(a.$Q,{label:F("buttonModify"),onClick:e=>{e.preventDefault(),j()},children:ee("email")}),(0,n.jsx)(a.$Q,{label:F("buttonModify"),onClick:e=>{e.preventDefault(),b()},children:ee("password")}),ee("birthdate")]}),(0,n.jsxs)(a.Y3,{legend:F("headingAddress"),children:[(0,n.jsx)(a.XU,{content:F("infoAddress")}),ee("country"),(0,n.jsx)(a.y5,{first:ee("streetNumber"),second:ee("streetName")}),(0,n.jsx)(a.y5,{first:ee("postalCode"),second:ee("city")}),ee("complementaryAddress1"),ee("complementaryAddress2"),(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(a.zx,{onClick:e=>{e.preventDefault(),G()},children:F("buttonValidateAddress")})})]}),(0,n.jsxs)(a.Y3,{legend:F("headingPhone"),children:[ee("mobile"),ee("stationary")]}),(0,n.jsxs)(a.Y3,{legend:F("headingConsent"),children:[ee("optinEmailFuturo"),ee("optinNewsletterGroup")]}),S,(0,n.jsxs)("div",{className:"flex flex-wrap gap-4 mt-6",children:[(0,n.jsx)(a.zx,{className:(0,u.Z)("border border-transparent",E?"opacity-50 pointer-events-none":""),submit:!0,
1children:F("buttonUpdateProfile")}),!!(null==k?void 0:k.profile.deleteProfile.targetLink)&&(0,n.jsx)(a.zx,{size:"small",color:"transparent",link:{newTab:!0,href:null==k?void 0:k.profile.deleteProfile.targetLink},className:(0,u.Z)("border border-transparent hover:border-red",E?"opacity-50 pointer-events-none":""),onClick:()=>{(0,s.t5)("erase_account",{event:"click.exit",click:"account",click_chapter1:"erase_account",click_chapter2:"USER_ID",click_chapter3:"",goal_type:""},(null==C?void 0:C.gtmPreset)||{},{USER_ID:()=>{var e;return(null==A?void 0:null===(e=A.userProfile)||void 0===e?void 0:e.id)||""}})},children:F("buttonDelete")})]}),!N&&(0,n.jsx)("div",{className:"flex absolute inset-0 z-10 justify-center py-5 bg-white size-full",children:(0,n.jsx)(r.a,{})})]}),!!M&&(X?(0,n.jsx)(p.o,{}):(0,n.jsx)(x.L,{open:M,btnText:F("buttonProfileSuccess"),title:F("messageProfileSuccess"),close:()=>P(!1)})),!!T&&(0,n.jsx)(a.Ck,{error:T})]})};var j=l(39137),w=l(16503);let y=j.Ry({newPassword:j.Z_().min(1,"required").refine(e=>(0,w.I)((0,w.e)(e)),{message:""}),confirmNewPassword:j.Z_().min(1,"required")}).refine(e=>e.newPassword===e.confirmNewPassword,{message:"not-same",path:["confirmNewPassword"]}),N={newPassword:"password-advanced",confirmNewPassword:"password"},_=e=>{var t,l;let{loadData:r,submitData:s,cancel:c,submitting:u,serverError:p,success:h}=e,v=(0,o.uK)(),g=(0,o.ec)(),b=(null==g?void 0:g.langCode)||"fr",j=(0,i.tPb)({explicitOverride:null==v?void 0:null===(l=v.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t.messagePasswordPolicy,langCode:b}),w=e=>{var t,l;return(0,i.t)(null==v?void 0:null===(l=v.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t[e])},_=(0,f.cI)({resolver:(0,d.F)(y)}),{handleSubmit:k,reset:C}=_;(0,m.useEffect)(()=>{C(r())},[C]);let A=async e=>{u||await s(e)},S=e=>{var t;return(0,n.jsx)(a.O5,{fieldKey:e,fieldTranslations:(null==v?void 0:null===(t=v.profile)||void 0===t?void 0:t.fields)||null,fieldTypesMap:N,langCode:b,useFormResult:_,policyMessages:{newPassword:j}},e)};return h?(0,n.jsx)(x.n,{btnText:w("buttonPasswordSuccess"),close:c,title:w("messagePasswordSuccess")}):(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4 px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",children:w("headingPassword")}),(0,n.jsxs)("form",{onSubmit:k(A),className:"mx-auto flex w-full max-w-[420px] flex-col gap-4",children:[S("newPassword"),S("confirmNewPassword"),(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(a.zx,{className:u?"pointer-events-none opacity-50":"",submit:!0,children:w("buttonSend")}),(0,n.jsx)(a.zx,{color:"bright_inverted",onClick:e=>{e.preventDefault(),c()},children:w("buttonCancel")})]}),!!p&&(0,n.jsx)(a.Ck,{error:p})]})]})},k=j.Ry({newEmail:j.Z_().email("wrong-email").min(1,"required"),confirmNewEmail:j.Z_().min(1,"required")}).refine(e=>e.newEmail===e.confirmNewEmail,{message:"not-same",path:["confirmNewEmail"]}),C={newEmail:"email",confirmNewEmail:"text"},A=e=>{let{loadData:t,submitData:l,cancel:r,submitting:s,serverError:c,success:u}=e,p=(0,o.uK)(),h=(0,o.ec)(),{captchaComponent:v,didSolveCaptcha:g,getCaptchaToken:b}=(0,i.my9)((null==h?void 0:h.langCode)||"fr"),j=e=>{var t,l;return(0,i.t)(null==p?void 0:null===(l=p.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t[e])},w=(0,f.cI)({resolver:(0,d.F)(k)}),{handleSubmit:y,reset:N}=w;(0,m.useEffect)(()=>{N(t())},[N]);let _=async e=>{!s&&await g()&&await l(e,b())},A=e=>{var t;return(0,n.jsx)(a.O5,{fieldKey:e,fieldTranslations:(null==p?void 0:null===(t=p.profile)||void 0===t?void 0:t.fields)||null,fieldTypesMap:C,langCode:(null==h?void 0:h.langCode)||"fr",useFormResult:w},e)};return u?(0,n.jsx)(x.n,{close:r,title:j("messageEmailSuccess"),info:j("infoEmailSuccess")}):(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4 px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",children:j("headingEmail")}),(0,n.jsxs)("form",{onSubmit:y(_),className:"mx-auto flex w-full max-w-[420px] flex-col gap-4",children:[A("newEmail"),A("confirmNewEmail"),v,(0,n.jsx)("div",{className:"flex gap-3",children:(0,n.jsx)(a.zx,{className:s?"pointer-events-none opacity-50":"",submit:!0,
1children:j("buttonEmail")})}),!!c&&(0,n.jsx)(a.Ck,{error:c})]})]})}},28516:function(e,t,l){"use strict";l.d(t,{Y:function(){return i},j:function(){return r}});var n=l(10412),a=l(39137);let r=n.RA.merge(a.Ry({email:a.Z_().readonly(),password:a.Z_().readonly()})),i={...n.VG,email:"readonly",password:"readonly"}},27954:function(e,t,l){"use strict";l.r(t),l.d(t,{AlertsWrapper:function(){return s}});var n=l(94043),a=l(53198),r=l(9145),i=l(31692);let s=e=>{let{getAlerts:t,platformId:l,locale:s,blockType:o,content:c,title:d}=e,[u,m]=(0,i.useState)([]);return((0,i.useEffect)(()=>{"global"===o&&t(l,(0,r.YfC)(s)).then(e=>{m(e)})},[]),"singular"===o&&c)?(0,n.jsx)(a.bZ,{content:c,title:d||""}):"global"===o?u.map((e,t)=>(0,n.jsx)(a.bZ,{...e},t)):null}},24561:function(e,t,l){"use strict";l.r(t),l.d(t,{AnchorNavigation:function(){return o}});var n=l(94043),a=l(21736),r=l(9145),i=l(54403),s=l(31692);let o=e=>{let{starsCount:t=0,button:l,items:o,title:c,contentAbove:d}=e,[u,m]=(0,s.useState)(!1),[f,x]=(0,s.useState)(!1),[p,h]=(0,s.use
1State)(0),v=(0,s.useRef)(null),[g,b]=(0,s.useState)(o);(0,s.useEffect)(()=>{b(o.filter(e=>document.getElementById(e.url.slice(1))))},[o]),(0,s.useEffect)(()=>{let e=()=>{if(v.current){let e=v.current.getBoundingClientRect().top;window.scrollY>=p?x(e<=0):x(!1)}};return v.current&&h(v.current.getBoundingClientRect().top),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[p]);let{links:j}=(0,r.lV_)(l?[l]:[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:v,className:"h-0 w-full"}),(0,n.jsxs)("div",{className:(0,i.Z)("block--anchor-navigation","fixed top-0 z-30 w-full transition-all",f?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),role:"navigation",children:[!!d&&(0,n.jsx)("div",{className:"relative z-20",children:d}),(0,n.jsxs)("div",{className:(0,i.Z)("flex h-auto flex-col bg-white"),children:[(0,n.jsxs)("div",{className:"flex min-h-[65px] items-center justify-between px-5 py-[10px]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("div",{className:"h2 text-darkblue font-display text-navTitle-fluid cursor-pointer font-medium leading-none",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:c}),t>0&&(0,n.jsx)(a.tS,{className:"text-darkblue",starsCount:t}),(0,n.jsx)("button",{className:"p-[10px] md:hidden",onClick:()=>m(!u),children:(0,n.jsx)(a.JO,{icon:"arrow-down",className:(0,i.Z)("transition-all",u&&"rotate-180")})})]}),(0,n.jsxs)("div",{className:"flex gap-7",children:[(0,n.jsx)("ul",{className:"hidden items-center gap-1 md:flex",children:null==g?void 0:g.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(a.ee,{className:"text-darkblue font-body px-2 text-xs font-semibold uppercase leading-tight transition-all hover:underline",link:{href:e.url},onClick:t=>{if(e.url.startsWith("#")){var l,n;t.preventDefault(),null===(n=document)||void 0===n||null===(l=n.getElementById(e.url.slice(1)))||void 0===l||l.scrollIntoView({behavior:"smooth",block:"start"}),history.pushState(null,"",e.url)}},children:e.title})},t))}),j.map((e,t)=>(0,n.jsx)(a.zx,{...e},t))]})]}),u&&(0,n.jsx)("ul",{className:"flex flex-col py-3 shadow-lg md:hidden",children:null==o?void 0:o.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(a.ee,{className:"py-[10px text-darkblue font-body px-7 py-2 text-sm font-semibold uppercase leading-tight hover:opacity-75",link:{href:e.url},onClick:()=>{m(!1)},children:e.title})},t))})]})]})]})}},25302:function(e,t,l){"use strict";l.r(t),l.d(t,{Calendar:function(){return f}});var n=l(94043),a=l(31692),r=l(54403),i=l(53198),s=l(97161),o=l(9145);let c=["Futuroscope","Aquascope"],d={open:"open",closed:"closed",openFromToTemplate:"Open from TIME_FROM to TIME_TO",moreInfo:"More information"},u="w-10 h-10 bg-blue rounded-full transition relative md:mt-[8px]",m="absolute-center text-2xl text-white",f=e=>{let{items:t,introduction:l,disclaimer:f,lang:x,translations:v=d}=e,j=x.toLowerCase();(0,a.useMemo)(()=>{s.Zr.defaultLocale=j},[j]);let w=(0,a.useMemo)(()=>s.ou.now().startOf("month"),[]),y=(0,a.useMemo)(()=>t.reduce((e,t)=>{var l;let n=e;return(null===(l=t.periods)||void 0===l?void 0:l.length)>0&&t.periods.forEach(e=>{let t=(0,o.OZ0)(e.to).startOf("month");n.valueOf()<(0,o.OZ0)(e.to).valueOf()&&(n=t)}),n},w),[t,w]),N=(0,a.useMemo)(()=>{let e=new Set;t.forEach(t=>{var l;null===(l=t.periods)||void 0===l||l.forEach(t=>{let l=(0,o.OZ0)(t.from),n=(0,o.OZ0)(t.to).minus({second:1}).startOf("month"),a=l.startOf("month").toFormat(o.DF),r=n.toFormat(o.DF);e.add(a),e.add(r);let i=l.plus({month:1}).startOf("month");for(;i<n;)e.add(i.toFormat(o.DF)),i=i.plus({month:1})})});let l=[...e].sort(),n=l[0],a=l[l.length-1];return{monthsSet:e,lastMonth:a?(0,o.OZ0)(a):w,firstMonth:n?(0,o.OZ0)(n):w}},[t,w]),[_,k]=(0,a.useState)(w.toFormat(o.DF)),[C,A]=(0,a.useState)(!1),[S,L]=(0,a.useState)(),E=(0,a.useCallback)(e=>{L(e),A(!0)},[]),M=(0,a.useMemo)(()=>{let e=new Map,l=s.ou.now().startOf("day"),n=l.valueOf();return t.filter(e=>{var t;return e.type&&(null===(t=e.periods)||void 0===t?void 0:t.length)>0}).forEach(t=>{t.periods.forEach(a=>{let r=(0,o.OZ0)(a.from),i=(0,o.OZ0)(a.to),s=r.startOf("day"),c=i.startOf("day"),d=w.minus({days:7}).startOf("day").valueOf();if(c.valueOf()<=d)return;let u=s.valueOf()<n?l:s;for(;u<c;){var m;let l=u.toFormat(o.DF);e.has(l)||e.set(l,{}),e.get(l)[(null==t?void 0:null===(m=t.detailsSchedule)||void 0===m?void 0:m.space)||t.title]=t,u=u.plus({days:1})}})}),e},[t,w]),T=(0,a.useMemo)(()=>b(_,M),[_,M]),Z=(0,a.useMemo)(()=>[...Array(7).keys()].map(e=>s.kI.weekdays("short")[e]),[]),R=(0,a.useCallback)(()=>{let e=s.ou.fromFormat(_,o.DF);for(let t=0;t<120;
1t++){if(e=e.minus({month:1}),N.monthsSet.has(e.toFormat(o.DF))){k(e.toFormat(o.DF));return}if(e<=N.firstMonth)return}},[_,N]),P=(0,a.useCallback)(()=>{let e=s.ou.fromFormat(_,o.DF);for(let t=0;t<120;t++){if(e=e.plus({month:1}),N.monthsSet.has(e.toFormat(o.DF))){k(e.toFormat(o.DF));return}if(e>=N.lastMonth)return}},[_,N]),F=(0,a.useMemo)(()=>t.map(e=>{var t;return null===(t=e.detailsSchedule)||void 0===t?void 0:t.space}),[t]),O=(0,a.useMemo)(()=>c.filter(e=>F.includes(e)),[F]);return(0,n.jsxs)("div",{className:"container-full py-section container flex flex-col items-center justify-center",children:[!!l&&(0,n.jsx)(i.xv,{text:l}),(0,n.jsxs)("div",{className:"block--calendar flex w-full max-w-[756px] flex-col py-2",children:[(0,n.jsx)(i.VL,{calendar:{...S,lang:x,translations:v},variant:"calendar",open:C,onOpenChange:e=>A(e)}),(0,n.jsxs)("div",{className:"caledar__wrapper flex w-full flex-col",children:[(0,n.jsxs)("div",{className:"calendar__nav mb-6 flex w-[420px] max-w-full justify-between self-center",children:[(0,n.jsx)("button",{className:(0,r.Z)(u,g(s.ou.fromFormat(_,o.DF),w)&&"pointer-events-none opacity-20"),onClick:R,"aria-label":"Previous month",children:(0,n.jsx)(i.JO,{icon:"arrow-right",className:(0,r.Z)(m,"-scale-x-100 transform")})}),(0,n.jsx)("div",{className:"flex justify-center pr-[8px]",children:(0,n.jsx)(i._q,{line1:(0,o.Z5U)((0,o.C1m)(_)||"")})}),(0,n.jsx)("button",{className:(0,r.Z)(u,g(s.ou.fromFormat(_,o.DF),y)&&"pointer-events-none opacity-20"),onClick:P,"aria-label":"Next month",children:(0,n.jsx)(i.JO,{icon:"arrow-right",className:(0,r.Z)(m)})})]}),(0,n.jsx)("div",{className:"calendar__grid-days mb-2 grid grid-cols-7 gap-[3px] md:gap-2",children:Z.map((e,t)=>(0,n.jsx)("span",{className:"font-display text-center text-[14px] font-medium leading-[21px]",children:e},"day-name-".concat(t)))}),(0,n.jsx)("div",{className:"calendar__grid grid auto-rows-fr grid-cols-7 gap-[3px] md:gap-2",children:T.map((e,t)=>(0,a.createElement)(p,{...e,key:"day-".concat(e.date),clickEvent:E,legendSpaces:O}))})]}),(0,n.jsx)(h,{...e,translations:v,legendSpaces:O}),!!f&&(0,n.jsx)("div",{className:"calendar__legend-list",children:(0,n.jsx)("div",{className:"md:max-w mt-[25px] text-xs font-light md:mx-[65px] md:mt-[35px]",dangerouslySetInnerHTML:{__html:f}})})]})]})},x=(e,t)=>1===e.length?"0,0 1,0 1,1 0,1":t?"0,0 1,0 0,1":"1,0 1,1 0,1",p=(0,a.memo)(e=>{var t,l;let{date:i,label:c,data:d,clickEvent:u,isCurrentMonth:m,legendSpaces:f}=e,p="calendar__grid-item relative rounded-[10px] pt-[100%] overflow-hidden ",h=!!Object.keys(d).length,v=(0,a.useCallback)(()=>{u&&h&&u({date:i,data:d})},[u,h,i,d]),g=(0,a.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),v())},[v]);return(0,o.OZ0)(i)<s.ou.now().startOf("day")?(0,n.jsx)("div",{className:(0,r.Z)(p,"bg-calendar-gray-past")}):(0,n.jsxs)("div",{className:(0,r.Z)(p,h&&"cursor-pointer transition hover:scale-[1.03] will-change-transform",!m&&"opacity-15 "),onClick:v,onKeyDown:g,tabIndex:h?0:-1,role:h?"button":void 0,"aria-label":h?"View events for ".concat(c):void 0,children:[(0,n.jsx)("svg",{className:(0,r.Z)("absolute left-0 top-0",!d.Futuroscope||(null===(t=d.Futuroscope.detailsSchedule)||void 0===t?void 0:t.closed)?"text-calendar-gray-closed":"text-calendar-green-futuro",!f.includes("Futuroscope")&&"hidden"),height:"100%",width:"100%",viewBox:"0 0 1 1","aria-hidden":"true",children:(0,n.jsx)("polygon",{points:x(f,!0),fill:"currentColor"})}),(0,n.jsx)("svg",{className:(0,r.Z)("absolute bottom-0 right-0",!d.Aquascope||(null===(l=d.Aquascope.detailsSchedule)||void 0===l?void 0:l.closed)?"text-calendar-gray-closed":"text-calendar-green-aqua",!f.includes("Aquascope")&&"hidden"),style:{width:"calc(100% + 1px)",height:"calc(100% + 1px)"},viewBox:"0 0 1 1","aria-hidden":"true",children:(0,n.jsx)("polygon",{points:x(f,!1),fill:"currentColor"})}),(0,n.jsx)("label",{className:"font-display absolute left-[5px] top-[3px] text-[18px] font-semibold leading-[24px] text-white md:left-[8px] md:top-[6px] md:text-[20px]",children:c})]})});p.displayName="DayItem";let h=(0,a.memo)(e=>{let{translations:t,items:l,legendSpaces:r}=e,i=(0,a.useMemo)(()=>[...r.map(e=>({label:"".concat((0,o.Z5U)(e)," ").concat(t.open),name:e})).filter(o.k11),...r.length?[{label:(0,o.Z5U)(t.closed),name:"ferme"}]:[]],[r,t]);return(0,n.jsx)("div",{className:"calendar__legend-list mt-[30px] flex w-full flex-wrap",children:i.map((e,t)=>(0,a.createElement)(v,{...e,key:"legend-".concat(e.name)}
1))})});h.displayName="CalendarLegend";let v=e=>{let{label:t,name:l}=e;return(0,n.jsxs)("div",{className:"calendar__legend-item mr-[20px] flex flex-none pb-[6px] md:mr-[32px] md:pb-[0px]",children:[(0,n.jsx)("div",{className:(0,r.Z)("mr-[6px] h-[24px] w-[24px] items-center rounded-[6px] text-[14px] md:mr-[12px] md:h-[32px] md:w-[32px] md:rounded-[10px] md:text-[16px]",{"bg-calendar-green-futuro":"Futuroscope"===l,"bg-calendar-green-aqua":"Aquascope"===l,"bg-calendar-gray-closed":"ferme"===l})}),(0,n.jsx)("label",{className:"mt-0 md:mt-[2px]",children:t})]})},g=(e,t)=>e&&t&&e.startOf("month").valueOf()===t.startOf("month").valueOf(),b=(e,t)=>{let l=[],n=s.ou.now().startOf("day").valueOf(),a=s.ou.fromFormat(e,o.DF).startOf("month"),r=a.startOf("month").weekday,i=a.endOf("month").weekday,c=a.minus({days:r-1}),d=a.endOf("month").plus({days:7-i}).diff(c,["days"]).toObject();for(let e=0;e<=(d.days||0);e++){let r=c.plus({day:e}),i=r.toFormat(o.DF),s=r.startOf("day"),d={};if(s.valueOf()>=n&&t.has(i)){let e=t.get(i);Object.keys(e).forEach(t=>{d[t]={...e[t],subevents:void 0}})}l.push({date:i,label:r.day.toString(),data:d,isCurrentMonth:r.month===a.month&&r.year===a.year})}return l.forEach(e=>{let t=e.data,l=[];for(let e in t)"show"===t[e].type&&l.push(e);l.forEach(e=>{var l;let n=t[e],a=null===(l=n.detailsShow)||void 0===l?void 0:l.space;if(!a||!t[a])return;let r=t[a];r.subevents||(r.subevents=[]),r.subevents.push(n),delete t[e]})}),l}},66722:function(e,t,l){"use strict";l.r(t),l.d(t,{Carousel:function(){return m}});var n=l(94043),a=l(54403),r=l(48740),i=l(15274),s={src:"/_next/static/media/carousel-bg-orange.b0ffc66e.svg"},o={src:"/_next/static/media/carousel-d-top.21b128ca.svg"},c={src:"/_next/static/media/carousel-d-bottom.1593d91f.svg"},d=l(53198),u=l(11960);let m=e=>{let{className:t,label:l,surtitle:m,title:f,link:x,description:p,background:h,showMask:v=!0,imageBackground:g,anchor:b,...j}=e;return(0,n.jsxs)("section",{className:(0,a.Z)("block--carousel py-section my-section container-full relative isolate !mb-0 overflow-hidden !pt-0",t),children:[(0,n.jsx)("div",{id:b,className:"pointer-events-none absolute -top-24 left-0"}),h&&!g&&(0,n.jsx)(r.default,{src:s.src,width:"1259",height:"552",alt:"","aria-hidden":"true",className:(0,a.Z)("absolute left-0 h-[65%] max-h-none w-auto max-w-none"),unoptimized:!0}),h&&g&&(0,n.jsxs)(n.Fragment,{children:[v&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.default,{src:o.src,width:"1440",height:"444",alt:"","aria-hidden":"true",className:(0,a.Z)("absolute left-0 top-0 h-auto min-w-full"),unoptimized:!0}),(0,n.jsx)(r.default,{src:c.src,width:"1440",height:"444",alt:"","aria-hidden":"true",className:(0,a.Z)("absolute bottom-0 left-0 h-auto min-w-full"),unoptimized:!0})]}),(0,n.jsx)(r.default,{...g,width:1440,height:200,alt:"",className:(0,a.Z)("absolute left-0 top-0 -z-10 max-h-none min-h-full min-w-full max-w-none object-cover object-center"),loader:e=>(0,u.X)(e,1440,200,"cover")})]}),(0,n.jsx)(d.DI,{description:p,label:l,link:x,surtitle:m,title:f}),(0,n.jsx)(i.CarouselBase,{...j})]})}},15274:function(e,t,l){"use strict";l.r(t),l.d(t,{CarouselBase:function(){return d},CarouselItem:function(){return u},SwiperNavigationBelow:function(){return x},SwiperNavigationSides:function(){return f},useSwiperReactive:function(){return m}});var n=l(94043),a=l(9145),r=l(31692),i=l(54403),s=l(65041),o=l(16100);l(97415),l(6582);var c=l(53198);let d=e=>{let{size:t="small",arrowsPosition:l="sides",initialSlide:r=0,children:c,className:d}=e,{isMobile:u,isTouchDevice:m}=(0,a.iPe)();return(0,n.jsx)("div",{className:(0,i.Z)("relative"),children:(0,n.jsxs)(s.tq,{modules:[o.W_,o.Rv,o.s5],a11y:{prevSlideMessage:"Diapositive pr\xe9c\xe9dente",nextSlideMessage:"Diapositive suivante",slideLabelMessage:"Diapositive {{index}} sur {{slidesLength}}"},slidesPerView:"auto",slidesPerGroupAuto:!0,wrapperClass:(0,i.Z)({"items-stretch":!0,"!h-card-sm-fluid":"small"===t,"!h-card-lg-fluid":"large"===t,"absolute-fill":"full"===t,"ml-container-full-negate px-container-full py-2":m}),initialSlide:r,className:(0,i.Z)("css-mode-".concat(m?"enabled":"disabled"),"!overflow-visible","full"===t&&"absolute-fill",d),navigation:{nextEl:".nav-next",prevEl:".nav-prev"},cssMode:m,freeMode:{momentumRatio:1,momentumVelocityRatio:1},children:[c,"sides"===l&&(0,n.jsx)(f,{}),"bottom"===l&&(0,n.jsx)(x,{})]},"".concat(u?"mobile":"desktop","-").concat(m?"css":"js"))})},u=e=>(0,n.jsx)(s.o5,{className:(0,i.Z)("pr-3 last:pr-0 md:pr-5","!w-auto","!h-auto","auto"!==e.size?"[&>*]:h-full":"[&>*]:min-h-full","auto"===e.size&&e.useLargeForAuto&&"[&_.h-card-sm-fluid]:h-card-lg-fluid"),children:e.children});u.displayName="SwiperSlide";let m=()=>{let e=(0,s.oc)(),[,t]=(0,r.useState)({}),l=()=>t({});return(0,r.useEffect)(()=>{null==e||e.on("slideChange",l)},[e]),e},f=()=>{let e="\n      height-full absolute bottom-0 top-0 z-10 w-[24px] md:w-[48px] xl:w-[70px] transition hidden md:block\n      after:absolute-fill after:-z-10 after:opacity-0 after:transition hover:after:opacity-100\n      select-none\n      focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-white\n    ",t="absolute-center text-[20px] md:text-[24px] xl:text-[39px] text-white drop-shadow-sm filter";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:(0,i.Z)(e,"left-0 -translate-x-full","after:bg-easing-r-carouselNav","nav-prev"),children:(0,n.jsx)(c.JO,{icon:"slider-next",className:(0,i.Z)(t,"-scale-x-100 transform")})}),(0,n.jsx)("button",{className:(0,i.Z)(e,"right-0 translate-x-full","after:bg-easing-l-carouselNav","nav-next"),children:(0,n.jsx)(c.JO,{icon:"slider-next",className:t})})]})},x=e=>{let t=m(),l="w-10 h-10 bg-blue rounded-full transition relative hover:bg-blue/85 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",a="absolute-center text-2xl text-white";return t.isBeginning&&t.isEnd?null:(0,n.jsxs)("div",{className:(0,i.Z)("select-none justify-center gap-3 py-5",e.
1showOnMobile?"flex":"hidden md:flex",e.className),children:[(0,n.jsx)("button",{className:(0,i.Z)(l,"nav-prev"),children:(0,n.jsx)(c.JO,{icon:"arrow-right",className:(0,i.Z)(a,"-scale-x-100 transform")})}),(0,n.jsx)("button",{className:(0,i.Z)(l,"nav-next"),children:(0,n.jsx)(c.JO,{icon:"arrow-right",className:a})})]})}},94141:function(e,t,l){"use strict";l.r(t),l.d(t,{CarouselWithCards:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{carousel:t,items:l}=e,r=null==l?void 0:l.some(a.iE);return!!l&&(0,n.jsx)(a.lr,{...t,children:l.map((e,l)=>(0,n.jsx)(a.d$,{size:null==t?void 0:t.size,useLargeForAuto:r,children:(0,n.jsx)(a.Zb,{...e,inCarousel:!0})},l))})}},19926:function(e,t,l){"use strict";l.r(t),l.d(t,{DescriptionWithGallery:function(){return s},ViewWholeGalleryTile:function(){return o}});var n=l(94043),a=l(53198),r=l(54403),i=l(31692);let s=e=>{let{media:t,title:l,description:s,link:c,cta:d,rating:u,awards:m,linkedImages:f,codePromo:x,priceCard:p,anchor:h,seeAllLabel:v,mirrorMode:g=!1}=e,[b,j]=(0,i.useState)(-1),[w,y]=(0,i.useState)({open:!1,content:""}),N=(0,i.useMemo)(()=>{let e={0:2,1:1,2:0};return t.map((t,l)=>{var n;return{...t,order:null!==(n=e[l])&&void 0!==n?n:l+3}})},[]).sort((e,t)=>e.order-t.order),_=(0,i.useCallback)(e=>{var l;j(null!==(l=({0:Math.min(t.length-1,2),1:Math.min(t.length-2,1),2:0})[e])&&void 0!==l?l:e)},[t]);return(0,n.jsxs)("section",{className:(0,r.Z)("block--description-with-gallery","container-full my-section flex flex-col items-center gap-12 sm:flex-row sm:gap-10 md:gap-14 lg:gap-16 xl:gap-[75px]",g&&"sm:flex-row-reverse"),id:h,children:[(0,n.jsxs)("div",{className:(0,r.Z)("flex-0 max-w-[1000px] basis-1/2","flex flex-row flex-wrap gap-3 sm:gap-4 xl:gap-5",g?"sm:mr-container-full-negate sm:justify-start":"ml-container-full-negate justify-end"),children:[t.slice(0,4).map((e,t)=>{var l;let i=null===(l=e.enlargable)||void 0===l||l;return(0,n.jsxs)("div",{className:(0,r.Z)("relative",i&&"group/link  cursor-pointer",0===t&&"order-3 basis-full",1===t&&"order-2 basis-1/2",2===t&&"order-1 basis-1/6 self-end ",3===t&&"order-4 basis-[42%]"),onClick:i?()=>_(t):void 0,children:[(0,n.jsx)(a.t,{..."image"===e.type?e.media:{src:e.media.poster},width:900,height:550,aspectRatio:"none",className:(0,r.Z)(0===t&&"aspect-[1.61]",0===t&&(g?"!rounded-r-none":"!rounded-l-none"),1===t&&"aspect-[2.05]",2===t&&"aspect-[1.1]",3===t&&"aspect-[1.13] min-w-[168px] self-start")}),"video"===e.type&&(0,n.jsx)(a.JO,{icon:"play",className:"absolute-center aspect-square max-h-[50%] max-w-[50%] text-[48px] text-white/80 transition group-hover/link:text-white/90 md:text-[60px] xl:text-[90px]"})]},t)}),t.length>4&&(0,n.jsx)(o,{seeAllLabel:v,className:(0,r.Z)("order-5 aspect-[1.05] basis-1/4 self-start"),onClick:()=>j(0)}),(0,n.jsx)(a.VL,{variant:"gallery",open:b>-1,gallery:{media:N,initialSlide:b},onOpenChange:()=>j(-1)})]}),(0,n.jsxs)("div",{className:"basis-1/2",children:[!!l&&(0,n.jsx)("h2",{className:"mb-[0.5em] max-w-[520px] text-[52px]/[48px] uppercase",children:l}),!!s&&(0,n.jsx)("div",{className:(0,r.Z)("text-paragraph text-paragraph-block-gallery text-paragraph-links-with-arrows mb-[1em] !leading-tight md:!text-lg md:!font-medium"),dangerouslySetInnerHTML:{__html:s}}),!!c&&(0,n.jsxs)(a.ee,{link:c,className:(0,r.Z)("text-blue group mb-[0.5em] flex flex-row align-middle font-semibold uppercase"),children:[(0,n.jsx)("span",{children:c.title}),(0,n.jsx)(a.JO,{icon:"arrow-right",className:"ml-[0.65em] mt-[0.1em] inline-block text-[1.2em] transition-transform group-hover:translate-x-[0.07em]"})]}),!!d&&(0,n.jsx)(a.zx,{link:d,className:"my-5"}),!!u&&(0,n.jsxs)("div",{className:"flex flex-row items-center gap-[0.8em]",children:[(0,n.jsx)("span",{className:"font-display text-orange -mb-[0.1em] text-[40px]/[1.8em] font-semibold",children:u.rating.toFixed(1)}),(0,n.jsxs)("div",{className:"-mt-[0.2em] mr-[0.5em] flex flex-row gap-[0.2em]",children:[Array.from({length:Math.round(u.rating)}).map((e,t)=>(0,n.jsx)(a.JO,{icon:"review-star-filled",className:"text-orange"},t)),Array.from({length:Math.round(5-u.rating)}).map((e,t)=>(0,n.jsx)(a.JO,{icon:"review-star-outlined",className:"text-orange"},t))]}),(0,n.jsxs)("span",{className:"text-[0.9em] ",children:[u.count," avis google"]})]}),!!(null==m?void 0:m.length)&&(0,n.jsx)("div",{className:"mt-[0.5em] flex flex-row flex-wrap items-center gap-[0.8em]",children:m.map((e,t)=>(0,n.jsx)(a.t,{...e,className:"h-[105px] w-auto md:h-[124px]",aspectRatio:"none",fit:"contain"},t))}),!!(null==f?void 0:f.length)&&(0,n.jsx)("div",{className:"my-5 flex flex-row flex-wrap gap-4",children:f.map((e,t)=>{var l,r;return(null===(l=e.link)||void 0===l?void 0:l.specialAction)==="openInfoPopin"?(0,n.jsx)(a.zx,{link:e.link,color:"underlined",blockLink:!0,onClick:()=>{var t;return y({open:!0,content:e.info||(null===(t=e.link)||void 0===t?void 0:t.t
1itle)||""})}},t):(null===(r=e.image)||void 0===r?void 0:r.src)?(0,n.jsx)(a.ee,{link:e.link,children:(0,n.jsx)(a.t,{...e.image,className:"h-[48px]",borderRadius:"none",fit:"contain"})},t):null})}),w.open&&w.content&&(0,n.jsx)(a.VL,{variant:"room",room:{title:"",description:w.content},open:w.open,onOpenChange:e=>y(t=>({...t,open:e}))}),x&&(0,n.jsx)("div",{className:"bg-yellow inline-block rounded-[5px] px-2 pb-1.5 pt-2",children:(0,n.jsx)("span",{className:"text-darkblue font-display text-lg font-semibold uppercase leading-tight",children:x})}),p&&(0,n.jsx)(a.FS,{...p,className:"mt-10"})]})]})},o=e=>{let{className:t,seeAllLabel:l,...i}=e;return(0,n.jsxs)("span",{className:(0,r.Z)("bg-darkblue  flex cursor-pointer flex-col items-center justify-center rounded-[10px] text-white","hover:bg-darkblue/95 transition","min-w-[126px] ",t),...i,children:[(0,n.jsx)(a.JO,{icon:"gallery",className:"mb-1 text-2xl text-white md:text-[27px]"}),(0,n.jsx)(a.zx,{color:"underlined",className:"pointer-events-none select-none text-sm text-white",children:l})]})}},8948:function(e,t,l){"use strict";l.r(t),l.d(t,{ExperienceHeader:function(){return s},ExperienceHeaderButtons:function(){return o}});var n=l(94043),a=l(31692),r=l(9145),i=l(53198);let s=e=>{var t,l,r,s,c;let{background:d,breadcrumbs:u,tags:m,title:f,accessibility:x,description:p,starsCount:h=0,ctas:v}=e,[g,b]=(0,a.useState)(!1),j=(0,a.useRef)(null),[w,y]=(0,a.useState)(!1);return(0,n.jsx)("div",{className:"experience--header",children:(0,n.jsxs)("div",{className:"bg-header-clip-path relative flex min-h-screen flex-col items-start justify-end pt-32 text-white",children:[d&&((null===(t=d.picture)||void 0===t?void 0:t.src)||(null===(l=d.gif)||void 0===l?void 0:l.src))&&(0,n.jsxs)("div",{className:"absolute inset-0",children:[(null===(r=d.picture)||void 0===r?void 0:r.src)&&(0,n.jsx)(i.t,{src:d.picture.src,srcMobile:d.picture.srcMobile,widthMobile:d.picture.widthMobile,heightMobile:d.picture.heightMobile,width:1440,height:810,alt:d.picture.alt||"",borderRadius:"0",className:"h-full w-full object-cover object-center"}),(null===(s=d.gif)||void 0===s?void 0:s.src)&&(0,n.jsxs)("video",{ref:j,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"h-full w-full object-cover object-center",children:[(0,n.jsx)("source",{src:d.gif.src,type:"video/gif"}),"Your browser does not support the video tag."]}),(0,n.jsx)("div",{className:"bg-gradient-diagonal-plus-bottom absolute inset-0"})]}),(null==d?void 0:null===(c=d.gif)||void 0===c?void 0:c.src)&&(0,n.jsx)("button",{type:"button","aria-label":w?"Play video":"Pause video","aria-pressed":w,className:"absolute bottom-10 right-10 z-20 block text-white",onClick:()=>{j.current&&(j.current.paused?(j.current.play(),y(!1)):(j.current.pause(),y(!0)))},children:w?(0,n.jsx)(i.JO,{icon:"play",className:"h-[26px] w-[26px]"}):(0,n.jsx)(i.JO,{icon:"pause",className:"h-[26px] w-[26px]"})}),(0,n.jsxs)("div",{className:"z-10 flex flex-col items-start pb-[32px] pl-[25px] pr-[21px] md:max-w-[50%] lg:pb-[40px] lg:pl-[70px]",children:[(0,n.jsx)("div",{className:"mb-6 flex items-center",children:(0,n.jsx)(i.aG,{items:u})}),(0,n.jsx)("h1",{className:"font-display text-[50px] font-medium uppercase leading-[50px] text-white drop-shadow-sm lg:text-[90px] lg:leading-[90px]",children:f}),(0,n.jsxs)("div",{className:"mt-[10px] flex flex-row flex-wrap items-center justify-start gap-3 md:mt-3 ",children:[(0,n.jsx)("div",{className:"flex items-center gap-3",children:null==m?void 0:m.map((e,t)=>(0,n.jsx)(i.Vp,{className:"!text-sm",children:e},t))}),h>0&&(0,n.jsx)(i.tS,{className:"text-white",starsCount:h}),x&&(0,n.jsx)("p",{className:"font-display mt-[0.25em] text-sm font-semibold leading-tight text-white",children:x})]}),p&&(0,n.jsx)("div",{className:"font-body mt-6 text-base font-normal leading-tight text-white md:text-lg md:font-medium",dangerouslySetInnerHTML:{__html:p}}),(0,n.jsx)(o,{ctas:v})]})]})})},o=e=>{let{ctas:t}=e,{links:l,setVideoOpened:a,videoOpened:s,videoUrl:o}=(0,r.lV_)(t,{_default:e=>{let t={size:"large",color:"bright"};return e.href.includes("#")?t={...t,color:"underlined",size:"small",className:"text-lg text-white",children:e.title?(0,n.jsx)("div",{className:"font-body text-center text-lg font-medium leading-tight tracking-tight text-white",dangerouslySetInnerHTML:{__html:e.title}}
1):""}:"openVideoPopin"===e.specialAction?t={...t,color:"bright_inverted",icon:"play-filled",className:"border-white"}:"secondary"===e.type&&(t.color="bright_inverted"),t}});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mt-6 flex flex-col items-start justify-center gap-3 lg:flex-row lg:items-center lg:justify-start lg:gap-6",children:l.map((e,t)=>(0,n.jsx)(i.zx,{...e},t))}),o&&(0,n.jsx)(i.VL,{variant:"video",video:{url:o},open:s,onOpenChange:e=>a(e)})]})}},86042:function(e,t,l){"use strict";l.r(t),l.d(t,{FeaturesList:function(){return s}});var n=l(94043),a=l(21736),r=l(48740),i=l(11960);let s=e=>{let{items:t,anchor:l}=e;return(0,n.jsx)("section",{className:"block--lists py-section w-full",id:l,children:(0,n.jsx)("ul",{className:"mx-auto w-full max-w-[968px] columns-2 gap-x-3 md:columns-3",children:t.map((e,t)=>{var l;return(0,n.jsxs)("li",{className:"mb-2 flex items-center justify-start gap-3 last-of-type:mb-0",children:[(null==e?void 0:null===(l=e.icon)||void 0===l?void 0:l.src)&&(0,n.jsx)(r.default,{className:"h-6 w-6",src:e.icon.src,alt:e.icon.alt||"",height:24,width:24,loader:e=>(0,i.X)(e,24,24,"contain")}),e.name&&(0,n.jsx)(a.o8,{className:"text-darkblue font-body !text-base font-medium !leading-tight md:!text-lg",text:e.name})]},t)})})})}},6610:function(e,t,l){"use strict";l.r(t),l.d(t,{FilterCheckbox:function(){return m},Filters:function(){return d}});var n=l(94043),a=l(31692),r=l(54403),i=l(5621),s=l(30604),o=l(53198),c=l(9145);let d=e=>{let{onChange:t,categories:l}=e,[d,m]=(0,a.useState)(!1),[f,x]=(0,a.useState)(l||[]),[p,h]=(0,a.useState)(0),{toggleScrollLock:v}=(0,c.PrY)(),g=(0,c.iPe)().isMobile;(0,a.useEffect)(()=>{v(!!g&&d)},[g,d,v]);let b=(0,a.useCallback)((e,l)=>{let n=(null==f?void 0:f.map(t=>{let n=t.items.map(t=>t.name===e?{...t,value:l}:t);return{...t,items:n}}))||[],a=(null==n?void 0:n.reduce((e,t)=>e+t.items.reduce((e,t)=>e+(t.value?1:0),0),0))||0;x(n),h(a),null==t||t(n||[],a)},[t,f]);(0,a.useEffect)(()=>{b("none",!1)},[]);let j=(0,a.useCallback)(()=>{let e=(null==f?void 0:f.map(e=>{let t=e.items.map(e=>({...e,value:!1}));return{...e,items:t}}))||[];x(e),h(0),m(!1),null==t||t(e,0)},[t,f]),w={values:f,onChange_:b,clear:j,setOpen:m,filtersSelected:p,...e};return(0,n.jsxs)("div",{className:"container-full py-3 md:py-5 md:pb-0",children:[(0,n.jsxs)("div",{className:"flex justify-start gap-4",children:[(0,n.jsxs)(o.zx,{color:"bright",icon:"filters",size:"small",className:"!font-bold",onClick:()=>m(!d),children:[e.ctaLabel||"Filter",(0,n.jsx)("span",{className:(0,r.Z)("absolute right-0 top-0 z-10 -translate-y-[38%] translate-x-[38%] transform text-base font-bold ","text-blue flex h-[2em] w-[2em] items-center justify-center rounded-full bg-white drop-shadow-md","transition duration-100 will-change-transform",p?"scale-100 opacity-100":"scale-90  opacity-0"),children:p||1})]}),(0,n.jsx)(o.zx,{color:"underlined",size:"small",className:"mx-3 !font-bold",onClick:j,children:e.ctaLabelClear||"Clear"})]}),(0,n.jsx)("div",{className:(0,r.Z)(" hidden transition-all ease-out md:block",d?"max-h-[999999px]":"translate pointer-events-none max-h-0 -translate-y-2 opacity-0"),children:(0,n.jsx)(u,{...w})}),(0,n.jsx)(i.z,{present:d,children:(0,n.jsxs)(s.f,{className:(0,r.Z)("fixed left-0 top-0 z-50 h-full w-full bg-white md:hidden",d?"animate-enterFromTop ":"animate-exitToTop "),children:[(0,n.jsx)(o.Wx,{onClick:()=>m(!1)}),(0,n.jsx)(u,{...w})]})})]})},u=e=>{let{values:t,onChange_:l,clear:a,setOpen:r,filtersSelected:i,foundItems:s}=e;return(0,n.jsxs)("div",{className:"flex max-h-full flex-col justify-start gap-7 overflow-auto px-[20%] py-12 md:overflow-hidden md:px-5 md:pb-0 md:pt-8",children:[(0,n.jsx)("div",{className:"h1 text-[40px]/10 md:hidden",children:e.headerMobile||e.ctaLabel}),null==t?void 0:t.map((t,a)=>(0,n.jsxs)("fieldset",{className:"flex flex-col gap-3 border-none p-0 m-0",children:[(0,n.jsxs)("legend",{className:"text-xs md:text-base",children:[e.labelBy," ",t.name]}),(0,n.jsx)("div",{className:"flex flex-col flex-wrap gap-1 md:flex-row md:gap-6 md:gap-y-2",children:t.items.map((e,t)=>(0,n.jsx)(m,{...e,onChange:l},t))})]},a)),(0,n.jsxs)("div",{className:"flex flex-col items-start gap-3 md:hidden",children:[(0,n.jsx)(o.zx,{color:"bright",size:"small",className:"",onClick:()=>r(!1),children:e.ctaLabelApply||"Apply"}),(0,n.jsxs)(o.zx,{color:"bright_inverted",size:"small",className:"",onClick:a,children:[e.ctaLabelClearMobile||"Clear"," (",i,")"]})]}),void 0!==s&&(0,n.jsxs)("div",{className:"h1 m-0 hidden md:block",children:[s||0," ",e.itemsFound||"items found"]}
1)]})},m=e=>{let{label:t,name:l,value:a,onChange:i}=e;return(0,n.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,n.jsx)("input",{type:"checkbox",name:l,checked:a,id:l,className:"peer sr-only",onChange:e=>null==i?void 0:i(l,e.target.checked)}),(0,n.jsx)("label",{htmlFor:l,className:(0,r.Z)("font-display select-none text-2xl font-medium tracking-[0.04em] md:text-nowrap md:text-xl md:tracking-normal","relative cursor-pointer pl-[1.6em]",'before:absolute before:left-[3px] before:top-1/2 before:h-[0.8em] before:w-[0.8em] before:-translate-y-[60%] before:transform before:content-[""]'," before:outline-blue  before:rounded-[0.08em] before:bg-white before:outline before:outline-1 before:outline-offset-2","peer-hover:before:bg-blue/10","peer-checked:before:!bg-blue before:transition-[background-color]","peer-focus-visible:outline peer-focus-visible:outline-[3px] peer-focus-visible:outline-offset-2 peer-focus-visible:outline-darkblue"),children:t||l})]})}},78137:function(e,t,l){"use strict";l.r(t),l.d(t,{Focus:function(){return u}});var n=l(94043),a=l(48740),r=l(31692),i=l(21736),s=l(9145),o=l(54403),c=l(25322),d=l(91789);let u=e=>{let{backgroundImage:t,subtitle:l,title:a,ctas:d,description:u,layers:x,anchor:p}=e,h=(0,r.useRef)(null),{scrollYProgress:v}=(0,c.v)({target:h,offset:["start end","end start"]}),[,g]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{g(!0)},[h]),(0,n.jsxs)("section",{className:(0,o.Z)("\n          block--focus\n          container-full xs:portrait:aspect-[1.2] relative mb-8 flex max-h-[800px]\n          min-h-[360px] pt-8 md:aspect-[2] md:min-h-[600px] md:py-10\n          lg:min-h-[800px] portrait:aspect-[0.94] sm:portrait:aspect-[1.3]\n        ","group even:justify-end even:text-right md:even:justify-start md:even:text-left"),id:p,ref:h,children:[(0,n.jsx)(f,{image:t,scrollYProgress:v}),(0,n.jsx)("div",{className:"absolute-fill group-even:-scale-x-100 group-even:transform md:group-even:!transform-none",children:(0,n.jsx)("div",{className:"xs:left-0 xs:w-full absolute left-[50%] top-0 h-full w-[50%] ",children:x.map((e,t)=>(0,n.jsx)(m,{layer:e,scrollYProgress:v},t))})}),(0,n.jsxs)("div",{className:"relative z-10 flex h-full w-[75%] flex-col items-start justify-start group-even:items-end md:w-[50%] md:group-even:items-start",children:[!!l&&(0,n.jsx)("div",{className:"font-display mb-2 text-lg font-semibold uppercase md:mb-3 lg:mb-5",children:l}),(0,n.jsx)("h2",{className:"mb-[0.12em] text-[50px]/[0.95] uppercase md:text-[100px]/[0.9] 2xl:text-[140px]/[0.85]",children:(0,s.HkX)(a)}),!!u&&(0,n.jsx)("div",{className:"text-paragraph mb-[1em] max-w-[75%] group-even:ml-auto sm:max-w-[320px] md:group-even:ml-0",dangerouslySetInnerHTML:{__html:u}}),(0,n.jsx)("div",{className:"flex justify-start gap-4 group-even:justify-end md:group-even:justify-start",children:!!d&&d.map((e,t)=>(0,n.jsx)(i.zx,{size:"small",link:e,className:""},t))})]})]})},m=e=>{let{layer:t,scrollYProgress:l}=e,a=(0,r.useRef)(null),o=(0,r.useMemo)(()=>{var e;return .4*((null==a?void 0:null===(e=a.current)||void 0===e?void 0:e.offsetHeight)||800)},[a]),c=(0,s.YTn)(l,o*(t.weight||1));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{ref:a,className:"absolute top-0 h-full"}),(0,n.jsx)(d.E.div,{className:"absolute-fill",style:{y:c},children:(0,n.jsx)(i.t,{...t.image,"aria-hidden":"true",fit:"h-full",borderRadius:"none",width:1600,height:1600,imageClassName:"mr-0 ml-auto",style:{left:"left"===t.alignX?"".concat(t.posX||0,"%"):"auto",right:"right"!==t.alignX&&t.alignX?"auto":"".concat(t.posX||0,"%"),top:"top"!==t.alignY&&t.alignY?"auto":"".concat(t.posY||0,"%"),bottom:"bottom"===t.alignY?"".concat(t.posY||0,"%"):"auto",height:"".concat(t.height||100,"%")}})})]})},f=e=>{let{image:t,scrollYProgress:l}=e,r=(0,s.YTn)(l,5,"%");return(0,n.jsxs)("div",{className:"absolute-fill !overflow-hidden group-even:-scale-x-100 group-even:transform group-even:md:!transform-none",children:[(0,n.jsx)(d.E.div,{style:{x:r},className:"absolute-fill transition duration-200 ease-out",children:(0,n.jsx)(i.t,{...t,width:1600,height:1e3,widthMobile:800,heightMobile:600,borderRadius:"none","aria-hidden":"true",className:(0,o.Z)("absolute -right-[2%] top-0 h-full w-full object-cover")})}),(0,n.jsx)(a.default,{src:"/_next/static/media/mask-diagonal.a0b47ffa.svg",width:"3000",height:"810",alt:"","aria-hidden":"true",className:(0,o.Z)("m-r-focus-mask-fluid absolute left-auto right-0 top-0 hidden h-full max-w-none md:block")}),(0,n.jsx)(i.t,{src:"/_next/static/media/mask-diagonal-mobile.0e3bb97d.svg",width:600,height:600,borderRadius:"none","aria-hidden":"true",className:(0,o.Z)("!absolute bottom-0 left-0 h-auto w-full scale-[1.02] transform !overflow-visible md:hidden"),children:(0,n.jsx)("div",{className:"absolute bottom-[99%] h-1/2 w-full bg-white"})})]})}},33027:function(e,t,l){"use strict";l.r(t),l.d(t,{Footer:function(){return h}});var n=l(94043),a=l(31692),r=l(48740),i=l(63534),s=l(53198),o={src:"/_next/static/media/Footer-phone-screen-frame.d03c7ca4.png",height:1613,width:866,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAACVBMVEUrKysxMTFMaXEbLNnCAAAAA3RSTlMTJAAV/jhRAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAFklEQVQImWNgZGRkZGBgYmLATYCUAAACqAAhAgTJDgAAAABJRU5ErkJggg==",blurWidth:4,blurHeight:8},c=l(54403),d=l(11960),u=l(61907),m=l(64343);let f=e=>{var t;let{logoImage:l,appTitle:f,appDescription:x,appButton:p,appImage:h,socialTitle:v,socials:g,newsletterTitle:b,newsletterDescription:j,newsletterPlaceholder:w,newsletterSuccessMessage:y,newsletterErrorMessage:N,newsletterEmailLabel:_,newsletterSubmitLabel:k,lang:C,signupNewsletter:A}
1=e,{register:S,handleSubmit:L,formState:{errors:E,isSubmitting:M}}=(0,i.cI)(),[T,Z]=(0,a.useState)(null),[R,P]=(0,a.useState)(!1),F=async e=>{Z(null);try{await A({...e,lang:C}),(0,m.t5)("newsletter_signup",{event:"click.action",click:"account",click_chapter1:"optin_crm",click_chapter2:"PAGE_PATH",click_chapter3:"",goal_type:"optin_crm"}),P(!0)}catch(e){Z(N)}};return(0,n.jsx)("section",{className:"bg-footer-clip-path bg-yellow relative px-5 pt-[54px] md:pt-[120px]",children:(0,n.jsx)("div",{className:"mx-auto max-w-[860px]",children:(0,n.jsxs)("div",{className:"flex flex-col gap-[30px] md:flex-row",children:[(0,n.jsxs)("div",{className:"relative flex flex-1 flex-col items-center md:flex-row-reverse md:justify-end md:gap-10",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center pb-[30px] md:max-w-[218px] md:items-start md:self-start md:pb-12",children:[l&&(0,n.jsx)(r.default,{className:"aspect-square w-12 rounded-xl md:w-[45px]",src:l.src,alt:l.alt||"",width:48,height:48,loader:e=>(0,d.X)(e,48,48,"contain")}),f&&(0,n.jsx)("div",{className:"font-display text-darkblue mt-[10px] text-center text-[32px] font-semibold uppercase leading-[30px] md:mt-[20px] md:text-left",dangerouslySetInnerHTML:{__html:f}}),x&&(0,n.jsx)("div",{className:"text-darkblue font-body mt-[10px] text-center text-xs font-normal md:text-left",dangerouslySetInnerHTML:{__html:x}}),(null==p?void 0:null===(t=p.link)||void 0===t?void 0:t.title)&&(0,n.jsx)(s.zx,{className:"mt-5 ",color:"dark",...p})]}),(0,n.jsxs)("div",{className:"flex w-full flex-shrink-0 flex-col items-center overflow-hidden  pt-[7px] md:w-auto md:self-start md:overflow-visible",children:[(0,n.jsxs)("div",{className:"relative mx-2 h-[210px] w-[164px] rounded-t-[20px] md:h-[310px] md:w-[224px] md:rounded-t-[27px]",children:[(0,n.jsx)(r.default,{className:"absolute inset-0 z-10 mt-[20px] w-full scale-[1.2] object-cover md:mt-[27px]",src:o,alt:"mobile screen frame",height:272,width:220,unoptimized:!0}),h&&(0,n.jsx)(r.default,{height:384,width:220,className:"absolute w-full rounded-t-[20px] object-fill md:rounded-t-[27px]",src:h.src,alt:h.alt||"",loader:e=>(0,d.X)(e,1170,2040,"cover")})]}),(0,n.jsx)("div",{className:"bg-darkblue h-[1px] w-full shrink-0 opacity-50 md:hidden "})]})]}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col gap-[30px] px-2 pb-[30px] md:max-w-[310px] md:flex-col-reverse md:gap-6 md:self-center md:px-0",children:[g&&(0,n.jsxs)("div",{className:"flex flex-col gap-3",children:[v&&(0,n.jsx)("p",{className:"font-display text-darkblue text-[16px] font-medium leading-normal tracking-[0.56px]",children:v}),(0,n.jsx)("ul",{className:"-ml-1 flex shrink-0 flex-wrap items-center justify-start gap-3",children:g.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(s.nE,{...e})},t))})]}),R&&(0,n.jsx)(u.L,{open:R,close:()=>P(!1),title:y}),!!b&&(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("p",{children:b}),(0,n.jsxs)("form",{onSubmit:L(F),children:[(0,n.jsxs)("div",{className:"relative mt-3 flex",children:[(0,n.jsx)("label",{htmlFor:"footer-newsletter-email",className:"sr-only",children:_}),(0,n.jsx)("input",{...S("email",{required:!0}),id:"footer-newsletter-email",type:"email",autoComplete:"email",className:(0,c.Z)("w-full rounded-[10px] border py-[10px] pl-6 pr-[54px] focus:ring-0 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",E.email?"border-error focus:border-red-500":"border-transparent focus:border-transparent"),placeholder:w}),(0,n.jsx)("button",{type:"submit","aria-label":k,className:(0,c.Z)("bg-darkblue absolute right-0 top-1/2 mr-[10px] flex aspect-square h-[30px] w-[30px] -translate-y-1/2 items-center justify-center rounded-full p-[6px] transition-all hover:opacity-85 hover:shadow-lg focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",M&&"pointer-events-none opacity-50"),children:(0,n.jsx)(s.JO,{icon:"arrow-right",className:"text-white "})})]}),T&&(0,n.jsx)("div",{className:"text-error mt-3 text-xs",dangerouslySetInnerHTML:{__html:T}})]}),(0,n.jsx)("div",{className:"font-body [&_a]:custom-underline mt-2 text-xs font-light text-black md:mt-4 [&_a:hover]:opacity-75 [&_a]:transition-opacity",dangerouslySetInnerHTML:{__html:j}})]})]})]})})})};var x=l(21736);let p=e=>{let{categoryMenu:t,legalTitle:l,legalLinks:a}=e;return(0,n.jsx)("section",{className:"bg-darkblue px-5 pb-[18px] pt-7 md:pb-10 md:pt-[54px]",children:(0,n.jsxs)("div",{className:"mx-auto max-w-[860px]",children:[t&&(0,n.jsx)("div",{className:"flex flex-wrap items-start justify-between gap-5",children:t.map((e,t)=>(0,n.jsxs)("div",{className:"flex flex-col items-start gap-[10px]",children:[e.title&&(0,n.jsx)("p",{className:"font-body text-xs text-white",children:e.title}),e.links&&(0,n.jsx)("ul",{className:"flex flex-col items-start gap-1",children:e.links.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(x.ee,{link:e,className:"font-display text-xs font-semibold uppercase tracking-[0.48px] text-white underline decoration-transparent transition-colors hover:decoration-current focus-visible:decoration-current focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-white md:text-base",dangerouslySetInnerHTML:{__html:e.title||""}})},t))})]},t))}),(0,n.jsx)("div",{className:"flex justify-start md:justify-center",children:(0,n.jsx)("p",{className:"font-body mt-[25px] text-xs font-normal text-white  md:mt-[70px]",children:l})}),(0,n.jsx)("ul",{className:"mt-10 flex flex-wrap items-start justify-start gap-x-[10px] gap-y-[16px] md:justify-center",children:a.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(x.ee,{link:e,rel:"nofollow",className:"font-body text-center text-xs font-normal text-white underline decoration-transparent transition-colors hover:decoration-current focus-visible:decoration-current focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-white",dangerouslySetInnerHTML:{__html:e.title||""}})},t))})]})})},h=e=>{let{footerServices:t,footerLinks:l,yellowPartHidden:a}=e;return(0,n.jsxs)("footer",{id:"footer",className:"block--footer relative z-10",role:"contentinfo",children:[!a&&(0,n.jsx)(f,{...t}),(0,n.jsx)(p,{...l})]})}},72951:function(e,t,l){"use strict";l.r(t),l.d(t,{Grid:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{cards:t}=e;return(0,n.jsx)(a.ff,{className:"block--grid !gap-x-5 !gap-y-10 md:!gap-y-12",children:t.map((e,t)=>(0,n.jsx)(a.uW,{...e},t))})}},35995:function(e,t,l){"use strict";l.r(t),l.d(t,{Heroes:function(){return s}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s=e=>{let{ctas:t,height:l="big"}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.VM,{...e,mode:e.straightEdge?"secondary":e.mode,height:l,children:!!e.straightEdge&&(0,n.jsx)(o,{ctas:t,className:"!px-0 !pt-0"})}),!e.straightEdge&&(0,n.jsx)(o,{ctas:t})]})},o=e=>{let{ctas:t,className:l}=e,{links:s,setVideoOpened:o,videoOpened:c,videoUrl:d}=(0,r.lV_)(t,{_default:(e,t)=>{let l={size:"large",color:"bright"};return"openVideoPopin"===e.specialAction?{...l,icon:"play-filled",iconPosition:"left",color:"bright_inverted"}:{...l,color:0===t?"bright":"bright_inverted"}},secondary:{color:"bright_inverted"},primary:{color:"bright"}});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:(0,i.Z)("container-full relative z-[1] flex justify-start pt-5",l),children:(0,n.jsx)("div",{className:"flex justify-center gap-4",children:s.map((e,t)=>(0,n.jsx)(a.zx,{...e},t))})}),d&&(0,n.jsx)(a.VL,{variant:"video",video:{url:d},open:c,onOpenChange:e=>o(e)})]})}},21531:function(e,t,l){"use strict";l.r(t),l.d(t,{ImageWithLink:function(){return i}});var n=l(94043),a=l(53198),r=l(9145);let i=e=>{let{image:t,link:l,anchor:i}=e,{links:[s],externalPopinUrl:o,externalPopinTitle:c,externalPopinOpened:d,setExternalPopinOpened:u}=(0,r.lV_)(l?[l]:void 0);return(0,n.jsxs)("div",{className:"block--image-with-link container-full mb-section py-section flex justify-center",id:i,children:[(0,n.jsx)(a.ee,{link:l,onClick:null==s?void 0:s.onClick,className:"",children:(0,n.jsx)(a.t,{...t,borderRadius:"none",className:"max-h-full max-w-full",fit:"contain"})}),o&&(0,n.jsx)(a._$,{url:o,title:c,open:d,onOpenChange:u})]})}},47726:function(e,t,l){"use strict";l.r(t),l.d(t,{Infos:function(){return d}});var n=l(94043),a=l(21736),r=l(48740),i=l(9145),s=l(54403),o=l(11960);let c=e=>{let{title:t,titleIcon:l,description:c,gradientColor:d,link:u,bottomIcon:m,className:f,bigImage:x,isMapImage:p}=e;return(0,n.jsxs)("div",{className:(0,s.Z)("group relative isolate flex overflow-hidden rounded-[10px] p-5",f),children:[(0,n.jsx)("div",{className:(0,s.Z)("absolute-fill -z-10 transition",{"bg-gradient-skyblue bg-gradient-to-b opacity-20 group-hover:opacity-[0.27]":"skyblue"===d,"bg-gradient-orange-pale bg-gradient-to-b opacity-15 group-hover:opacity-[0.22]":"orange-pale"===d})}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("p",{className:"font-display text-2xl font-medium leading-[30px] lg:text-[32px] lg:leading-none",children:(0,i.ZYH)(t)}),(null==l?void 0:l.src)&&(0,n.jsx)(r.default,{className:"h-8 w-8 lg:h-10 lg:w-10",
1src:l.src,alt:l.alt||"",width:"40",height:"40",loader:e=>(0,o.X)(e,40,40,"cover")})]}),c&&(0,n.jsx)(a.o8,{className:"font-display text-darkblue text-xl font-medium leading-[30px]",text:c}),(null==x?void 0:x.src)&&(0,n.jsx)(a.t,{src:x.src,alt:x.alt||"",className:(0,s.Z)("mt-5",{"-mx-5":p})}),(0,n.jsxs)("div",{className:(0,s.Z)("mt-auto flex items-end justify-end"),children:[(null==m?void 0:m.src)&&(0,n.jsx)(r.default,{className:"mr-auto h-8 w-8 justify-self-start lg:h-10 lg:w-10",src:m.src,alt:m.alt||"",width:"40",height:"40",loader:e=>(0,o.X)(e,40,40,"contain")}),!!u&&(0,n.jsx)(a.zx,{className:"z-10 ml-auto self-end justify-self-end",color:"underlined",link:u,blockLink:!0})]})]})]})},d=e=>{let{heading:t,cards:l,anchor:r}=e,i=["lg:col-span-4","lg:col-span-4 lg:col-start-1 lg:row-span-2 lg:row-start-2","lg:col-span-5 lg:row-span-3","lg:col-span-3","lg:col-span-3 lg:col-start-10 lg:row-start-2","lg:col-span-3 lg:col-start-10 lg:row-start-3"];return(0,n.jsxs)("section",{className:"block--infos container-full py-section",id:r,children:[(0,n.jsx)(a.DI,{headingTag:"h2",...t}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-12 lg:grid-rows-3 lg:gap-5",children:l.map((e,t)=>(0,n.jsx)(c,{...e,className:i[t]},t))})]})}},26829:function(e,t,l){"use strict";l.r(t),l.d(t,{Legals:function(){return i}});var n=l(94043),a=l(9145),r=l(54403);let i=e=>{let{text:t,anchor:l,inContainer:i,className:s}=e;return(0,n.jsx)("section",{className:(0,r.Z)("block--legals my-section",i?"":"container-full",s),id:l,children:(0,n.jsx)("div",{className:"border-t-darkblue/20 border-t pt-5 md:pt-7",children:(0,n.jsx)("div",{className:"text-xs",dangerouslySetInnerHTML:{__html:(0,a.hU_)(t)}})})})}},23261:function(e,t,l){"use strict";l.r(t),l.d(t,{Links:function(){return s}});var n=l(94043),a=l(54403),r=l(21736),i=l(38448);let s=e=>{let{items:t,activeLink:l,align:s,margins:o}=e,c=l||(0,i.usePathname)(),d="text"!==o;return(0,n.jsx)(d?"section":"div",{className:d?"block--links container-full w-full":"block--links container-full py-section container flex justify-center",children:(0,n.jsx)("ul",{className:d?(0,a.Z)("mx-auto flex w-full max-w-[1080px] flex-wrap gap-2",{"py-4":"small"===o},{"justify-start":"left"===s,"justify-center":"center"===s,"justify-end":"right"===s}):"grid grid-cols-3 gap-2 md:grid-cols-4 lg:grid-cols-5",children:t.map((e,t)=>{var l,i,s,o,d;let u=(null===(l=e.colors)||void 0===l?void 0:l.text)&&(null===(i=e.colors)||void 0===i?void 0:i.background),m=c===e.href,f="primary"===e.type||"secondary"===e.type,x=e.image?"flex flex-col items-center justify-center":(0,a.Z)("font-display text-linksBlock-fluid cursor-pointer font-semibold leading-[1.14] tracking-[.04em]","flex items-center justify-center text-center","h-linksBlock-fluid w-linksBlock-fluid rounded-[10px] border-[1px] px-[.5em] transition","md:font-medium",...u?["hover:brightness-125"]:f?["primary"===e.type&&"bg-blue border-blue text-white hover:bg-blue-90 peer-hover:bg-blue-90 hover:shadow-lg","secondary"===e.type&&"bg-white text-blue border-blue border hover:border-blue-90 hover:text-blue-90 hover:shadow-lg"]:[m?"bg-blue border-blue text-white":"border-darkblue text-darkblue hover:border-blue hover:bg-blue/[0.07] active:bg-blue/10 active:translate-y-[1px]"]);return(0,n.jsx)("li",{children:(0,n.jsx)(r.ee,{link:e,style:{color:(null===(s=e.colors)||void 0===s?void 0:s.text)||void 0,backgroundColor:(null===(o=e.colors)||void 0===o?void 0:o.background)||void 0,borderColor:(null===(d=e.colors)||void 0===d?void 0:d.background)||void 0},className:x,children:e.image?(0,n.jsx)(r.t,{...e.image,className:"h-[48px]",borderRadius:"none"}):(0,n.jsx)("span",{className:"-mb-[0.15em] line-clamp-2",dangerouslySetInnerHTML:{__html:e.title||""}})})},t)})})})}},45609:function(e,t,l){"use strict";l.d(t,{C:function(){return s}});var n=l(94043),a=l(29556),r=l(54403),i=l(53198);let s=e=>{let{open:t,onOpenChange:l,className:s,children:o}=e;return(0,n.jsx)(a.fC,{open:t,onOpenChange:l,children:(0,n.jsx)(a.h_,{children:(0,n.jsxs)("div",{className:(0,r.Z)("",s),children:[(0,n.jsx)(a.aV,{className:(0,r.Z)("fixed inset-0 z-40","data-[state=open]:animate-overlayShow data-[state=closed]:animate-fadeOut","bg-darkblue/40")}),(0,n.jsx)(a.VY,{className:(0,r.Z)("group fixed right-0 top-0 z-40 h-full w-full max-w-[430px]"),children:(0,n.jsxs)("div",{className:(0,r.Z)("relative h-full w-full overflow-auto bg-white py-6","group-data-[state=open]:animate-contentShow","
1shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]"),children:[(0,n.jsx)(a.x8,{asChild:!0,children:(0,n.jsx)("button",{className:(0,r.Z)("text-bleu-futu absolute right-0 top-0 z-50 mr-3 mt-3 flex shrink-0 items-center justify-center p-3 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue","transition hover:opacity-75"),children:(0,n.jsx)(i.JO,{icon:"popinClose",className:"text-[18px]"})})}),(0,n.jsx)("div",{className:"relative z-10 mt-14 flex flex-col",children:o})]})})]})})})}},51957:function(e,t,l){"use strict";l.r(t),l.d(t,{DEFAULT_FORM_VALUES:function(){return u},LoginWrapper:function(){return f}});var n=l(94043),a=l(31692),r=l(45609),i=l(9145),s=l(32371),o=l(86570),c=l(2451),d=l(17224);let u={login:{email:"",password:"",newPassword:"",confirmedNewPassword:""},passwordReset:{newPassword:"",confirmedNewPassword:""}},m=()=>{let e=new URLSearchParams(window.location.search);return e.has("verification_code")&&e.has("email")},f=e=>{let{accountUrl:t}=e,l=(0,s.mE)(),[u,f]=(0,a.useState)("intro"),{isTriggered:x,resetHash:p}=(0,i.Hpy)("auth"),[h,v]=(0,a.useState)(!1),g=(0,c.G)(),b=(0,a.useMemo)(()=>{let{client:e,ready:t}=g||{};return e&&t},[g]);(0,a.useEffect)(()=>{m()&&(v(!0),f("reset"))},[]);let j=(0,a.useMemo)(()=>x||h,[x,h]),w=()=>
1{if(f("intro"),p(),v(!1),m()){let e=new URL(window.location.href);e.searchParams.delete("verification_code"),e.searchParams.delete("email"),window.history.replaceState({},"",e.toString())}};return(0,n.jsxs)(r.C,{open:j,onOpenChange:e=>{e||w()},children:[(0,n.jsxs)("div",{className:b?"":"hidden",children:["intro"===u&&l&&(0,n.jsx)(o.C5,{accountUrl:t,infoSection:l.info,forgotPassword:()=>f("reminder")}),"reminder"===u&&(0,n.jsx)(o.oG,{cancel:()=>f("intro"),close:w}),"reset"===u&&(0,n.jsx)(o.i,{close:w})]}),!b&&(0,n.jsx)(d.a,{className:"mx-auto mt-[50%]"})]})}},99903:function(e,t,l){"use strict";l.r(t),l.d(t,{Logos:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{logos:t,anchor:l}=e;return(0,n.jsx)("section",{className:"py-section",id:l,children:(0,n.jsx)("div",{className:(0,r.Z)("container-full grid gap-3 md:gap-5","grid-cols-[repeat(auto-fill,minmax(150px,max-content))]"),children:t.map((e,t)=>(0,n.jsx)(s,{...e},t))})})},s=e=>{let{image:t,title:l}=e;return(0,n.jsxs)("div",{className:"flex min-w-[150px] max-w-[200px] flex-col items-start",children:[(0,n.jsx)(a.t,{...t,aspectRatio:"3/2",borderRadius:"16px",fit:"contain",className:"w-full border-2 border-gray-300 px-6 py-4",width:200,height:133}),(0,n.jsx)("p",{className:"text-darkblue w-full pb-[1em] pt-2.5 text-left text-sm leading-tight lg:text-base",children:l})]})}},89254:function(e,t,l){"use strict";l.d(t,{x:function(){return n.Logos}});var n=l(99903)},50478:function(e,t,l){"use strict";l.r(t),l.d(t,{Map:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{title:t,description:l,cta:r,image:i,anchor:s}=e;return(0,n.jsxs)("section",{className:"block--map relative container-full py-section flex flex-col gap-8 lg:flex-row lg:items-center",children:[(0,n.jsx)("span",{className:"absolute w-full left-0 -top-16 select-none pointer-events-none",id:s}),(0,n.jsxs)("div",{className:"flex-[0_0_42%]",children:[!!t&&(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:t},className:"text-display-xl mb-[0.2em]"}),!!l&&(0,n.jsx)(a.o8,{text:l,className:"mb-[1.1em] lg:mb-[1.3em]"}),!!r&&(0,n.jsx)(a.zx,{link:r,className:""})]}),(0,n.jsx)("div",{className:"",children:(0,n.jsx)(a.ee,{link:r,children:(0,n.jsx)(a.t,{...i,width:750,height:714,borderRadius:"none",fit:"contain"})})})]})}},34421:function(e,t,l){"use strict";l.r(t),l.d(t,{MapLanding:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{title:t,description:l,cta:i,image:s}=e;return(0,n.jsxs)("section",{className:(0,r.Z)("block--map-landing container-full py-section relative isolate flex flex-col-reverse gap-10 lg:flex-row lg:items-center"),children:[(0,n.jsx)("div",{className:"absolute-fill bg-gradient-skyblue -z-10 bg-gradient-to-b opacity-20"}),(0,n.jsxs)("div",{className:"flex-[0_0_46%]",children:[(0,n.jsx)("h2",{dangerouslySetInnerHTML:{__html:t},className:"mb-[0.2em] text-[52px]/[0.9]"}),(0,n.jsx)(a._q,{line2:(0,n.jsxs)("span",{className:"flex gap-2 leading-none",children:[(0,n.jsx)(a.jX,{icon:"car"}),(0,n.jsx)(a.jX,{icon:"train"}),(0,n.jsx)(a.jX,{icon:"bus"}),(0,n.jsx)(a.jX,{icon:"camper"})]}),line2ClassName:"md:!py-2 md:!px-4",className:"mb-0 md:mb-6 lg:mb-8"}),(0,n.jsx)(a.o8,{text:l,className:"mb-6"}),!!i&&(0,n.jsx)(a.zx,{link:i,className:""})]}),(0,n.jsx)("div",{className:"mr-container-full-negate",children:(0,n.jsx)(a.ee,{link:i,children:(0,n.jsx)(a.t,{...s,width:750,height:714,borderRadius:"none"})})})]})}},73755:function(e,t,l){"use strict";l.r(t),l.d(t,{Media:function(){return o}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403),s=l(31692);let o=e=>{let{description:t,image:l,videoUrl:o,align:c,shortMobileDescription:d,anchor:u,aspect:m}
1=e,f=(0,s.useRef)(null),[x,p]=(0,s.useState)(!1),[h,v]=(0,s.useState)(!0),[g,b]=(0,s.useState)(!1),j=()=>{f.current&&(b(!0),p(!0),f.current.play())},w=()=>{f.current&&(p(!1),f.current.pause())},y=["top","bottom"].includes(c);return(0,n.jsx)("section",{className:"block--media w-full px-6 pb-20 pt-10",id:u,children:(0,n.jsxs)("div",{className:(0,i.Z)("mx-auto flex max-w-screen-xl gap-3 md:gap-[50px]",{"flex-row items-center":"left"===c,"flex-row-reverse items-center":"right"===c,"flex-col":"top"===c,"flex-col-reverse":"bottom"===c}),children:[(0,n.jsxs)("div",{className:(0,i.Z)("relative flex aspect-video  items-center overflow-hidden rounded-[10px] md:rounded-[20px]",o&&"cursor-pointer","top"===c||"bottom"===c?"flex-auto":"flex-1"),onClick:g?void 0:j,children:[(null==l?void 0:l.src)&&!g&&(0,n.jsx)(a.t,{width:y?1280:615,height:y?720:346,src:l.src,alt:l.alt||"",fit:m,className:(0,i.Z)("absolute-fill z-[1]","top"===c||"bottom"===c?"flex-auto":"flex-1")}),o&&(0,n.jsxs)("div",{className:(0,i.Z)("relative overflow-hidden pt-[56.25%]","top"===c||"bottom"===c?"flex-auto":"flex-1"),children:[(0,n.jsxs)("video",{ref:f,className:"absolute left-0 top-0 h-full w-full cursor-pointer object-contain object-center",muted:h,onClick:()=>{f.current&&(f.current.paused?j():w())},children:[(0,n.jsx)("source",{src:o,type:"video/mp4"}),"Your browser does not support the video tag."]}),!x&&(0,n.jsx)("button",{className:(0,i.Z)("absolute-center pointer-events-none z-[1] block text-white"),children:(0,n.jsx)(a.JO,{icon:"play",className:"h-[48px] w-[48px] lg:h-[108px] lg:w-[108px]"})}),x&&(0,n.jsx)("button",{className:(0,i.Z)("absolute bottom-0 left-0 z-[1] block pb-2 pl-[10px] pr-1 pt-1 text-white"),onClick:()=>v(!h),children:h?(0,n.jsx)(a.JO,{icon:"son-off",className:"h-[26px] w-[26px]"}):(0,n.jsx)(a.JO,{icon:"son-on",className:"h-[26px] w-[26px]"})})]})]}),(0,n.jsx)("div",{className:(0,i.Z)("text-paragraph text-paragraph-links-with-arrows md:text-lg md:font-medium",{"pl-[20px] pr-[10px] md:pl-[58px] md:pr-[52px] ":y,"hidden md:block":d},"top"===c||"bottom"===c?"flex-auto":"flex-1"),dangerouslySetInnerHTML:{__html:(0,r.Sc4)(t)}}),d&&(0,n.jsx)("div",{className:(0,i.Z)("text-paragraph text-paragraph-links-with-arrows flex-1 md:hidden md:text-lg md:font-medium",{"pl-[20px] pr-[10px] md:pl-[58px] md:pr-[52px]":y}),dangerouslySetInnerHTML:{__html:(0,r.Sc4)(d)}})]})})}},32792:function(e,t,l){"use strict";l.r(t),l.d(t,{MosaicItem:function(){return x},MosaicItemCard:function(){return h},MosaicItemImg:function(){return p},MosaicRow:function(){return f},Mosaics:function(){return m}});var n=l(94043),a=l(31692),r=l(54403),i=l(25322),s=l(91789),o=l(48740),c=l(9145),d=l(21736),u=l(11960);let m=e=>{let{title:t,description:l,cta:i,rows:s,anchor:o}=e;return(0,n.jsxs)("section",{className:"py-section",id:o,children:[(0,n.jsxs)("div",{className:"container-full pb-8 md:flex md:flex-row md:gap-8 md:pb-12 lg:gap-8",children:[(0,n.jsx)("h2",{className:"text-display-xl mb-4 md:mb-0 md:shrink-0 md:grow-0 md:basis-1/2 lg:basis-[58%] ",dangerouslySetInnerHTML:{__html:(0,c.hU_)(t)}}),(0,n.jsxs)("div",{className:"",children:[!!l&&(0,n.jsx)(d.o8,{text:l,className:"mb-6 md:mb-[0.8em]"}),(0,n.jsx)(d.zx,{link:i})]})]}),(0,n.jsx)("div",{className:(0,r.Z)("flex flex-col gap-3 overflow-hidden","md:gap-4 lg:gap-5"),children:s.map((e,t)=>(0,a.createElement)(f,{...e,isEven:t%2==0,key:t}))})]})},f=e=>{let{items:t,isEven:l=!1,animate:o=!0}=e,d=(0,a.useRef)(null),{scrollYProgress:u}=(0,i.v)({target:d,offset:["start end","end start"]}),m=(0,a.useMemo)(()=>20*(l?1:-1),[l]),f=(0,c.YTn)(u,m,"vw");return(0,n.jsx)("div",{className:(0,r.Z)("relative h-[142px] md:h-[180px] lg:h-[223px]"),ref:d,children:(0,n.jsx)("div",{className:"absolute-center h-full",children:(0,n.jsx)(s.E.div,{className:(0,r.Z)("flex h-full w-max flex-row flex-nowrap items-stretch  gap-3 md:gap-4 lg:gap-5","transition duration-200 ease-out"),style:o?{x:f}:{},children:t.map((e,t)=>(0,n.jsx)(x,{item:e},t))})})})},x=e=>{let{item:t}=e,l=!!t.src,a=!!t.title;return(0,n.jsxs)(n.Fragment,{children:[l&&(0,n.jsx)(p,{item:t}),a&&(0,n.jsx)(h,{item:t})]})},p=e=>{let{item:t}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(o.default,{src:t.src,alt:"","aria-hidden":"true",width:t.width||300,height:t.height||300,sizes:"",loading:"eager",className:(0,r.Z)("h-full w-auto flex-[1_0_auto] overflow-hidden rounded-[10px]","transform transition duration-300 [&:not([data-loaded])]:translate-y-2  [&:not([data-loaded])]:opacity-0"),onLoad:e=>{setTimeout(()=>{var t;return null===(t=e.target)||void 0===t?void 0:t.setAttribute("data-loaded","true")},200*Math.random())},loader:e=>(0,u.X)(e,t.width,t.height,"cover")})})},h=e=>{let{item:t}=e;return(0,n.jsxs)("div",{className:(0,r.Z)("overflow-hidden rounded-[10px]","aspect-[1.11] lg:aspect-[1.88]","bg-darkblue text-yellow font-display flex h-full grow flex-col items-center justify-center font-medium leading-none","[&>*]:-mb-[0.1em] [&>*]:px-2 [&>*]:text-center md:[&>*]:px-4"),children:[t.surtitle&&(0,n.jsx)("div",{className:"text-[20px] md:text-[24px]",children:t.surtitle}),t.title&&(0,n.jsx)("div",{className:"text-nowrap text-[44px]/none  md:text-[60px] lg:text-[90px]",children:t.title}),t.subtitle&&(0,n.jsx)("div",{className:"text-[20px] md:text-[24px]",children:t.subtitle})]})}},27197:function(e,t,l){"use strict";l.r(t),l.d(t,{Navigation:function(){return R},NavigationActionsMenu:function(){return P},NavigationMegamenu:function(){return F},NavigationSubmenu:function(){return O}});var n=l(94043),a=l(48740),r=l(54403),i=l(31692),s=l(25322),o=l(47476),c=l(90242),d=l(53198),u=l(99825),m=l(21504),f=l(912);let x=e=>{let{langs:t,currentLang:l,openUp:a=!1,alignX:s="right",className:o,onLinkClick:c}=e;return l&&t?(0,n.jsxs)(m.v,{as:"div",className:(0,r.Z)("relative inline-block text-left"),children:[(0,n.jsx)(m.v.Button,{className:(0,r.Z)("rounded-md font-semibold",o),children:(0,n.jsxs)("span",{className:"inline-flex flex-row items-center justify-center gap-x-1.5 ",children:[l.title,(0,n.jsx)(d.JO,{icon:"chevron-down",className:"text-[0.75em]"})]})}),(0,n.jsx)(f.u,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(m.v.Items,{className:(0,r.Z)("text-darkblue absolute z-10 mt-1 overflow-hidden rounded-2xl bg-white py-2 text-lg shadow-md focus:outline-none","left"===s?"left-0":"right-0",a?"bottom-full":"top-full"),children:(0,n.jsx)("div",{className:"py-1",children:t.map((e,t)=>(0,n.jsx)(m.v.Item,{children:t=>{let{active:l}=t;return(0,n.jsx)(d.ee,{link:{href:e.href,newTab:e.newTab,gtmEvent:e.gtmEvent},rel:e.rel,hrefLang:e.hreflang,onClick:c,className:(0,r.Z)("","hover:text-blue block px-8 py-1 transition-colors"),children:e.title})}},t))})})}),(0,n.jsx)(p,{langs:t,currentLang:l,onLinkClick:c})]}):null},p=e=>{let{langs:t,currentLang:l,onLinkClick:a}=e,r=[l,...t||[]].find(e=>null==e?void 0:e.default);return(0,n.jsxs)("div",{className:"sr-only",children:[!!r&&(0,n.jsx)(d.ee,{link:{href:r.href},onClick:a,rel:"alternate",hrefLang:"x-default"}),!!t&&t.map((e,t)=>(0,n.jsx)(d.ee,{link:{href:e.href},onClick:a,rel:"alternate",hrefLang:e.hreflang},t))]})};var h=l(81511),v=l(5621),g=l(30604),b=l(48977),j=l(9145),w=l(11960);let y=e=>{let{className:t}=e,[l,a]=(0,i.useState)(!1),s=(0,u.useMedia)("(max-width: 1023px)"),o=(0,i.useCallback)(()=>{a(!l)},[l]),c=(0,i.useCallback)(()=>{a(!1)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{className:(0,r.Z)("relative z-20 px-2 py-2",t,l&&"text-blue focus:bg-transparent"),onClick:o,"aria-hidden":!s,children:[(0,n.jsx)(d.JO,{icon:"close",className:(0,r.Z)("absolute-center transition",l?"opacity-1 scale-1":"scale-50 opacity-0")}),(0,n.jsx)(d.JO,{icon:"menu",className:(0,r.Z)("transition",l?"scale-50 opacity-0":"opacity-1 scale-1")})]}),(0,n.jsx)(v.z,{present:l,children:(0,n.jsx)("section",{className:(0,r.Z)("text-darkblue fixed inset-0 z-10 flex bg-white pt-[70px] lg:hidden",l?"animate-enterFromTop ":"animate-exitToTop "),"aria-hidden":!s,children:(0,n.jsx)(N,{...e,onLinkClick:c})})})]})},N=e=>{let{items:t,onLinkClick:l}=e;(0,j.PrY)(!0);let a=(0,i.useRef)(null),[s,o]=(0,i.useState)(-2),c=(0,i.useCallback)(e=>{o(e)},[]),u=(0,i.useCallback)(()=>{o(-1)},[]),[,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{m(!0)},[a]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("nav",{className:"relative flex flex-1 flex-col overflow-hidden overflow-y-auto",ref:a,role:"navigation"}),(0,n.jsx)("button",{className:(0,r.Z)("text-blue absolute left-6 top-2 z-20 -ml-3 mt-2 px-3 py-3 text-[22px] transition",s>=0?"opacity-1 transform-none":"translate-x-2 opacity-0"),onClick:u,children:(0,n.jsx)(d.JO,{icon:"back",className:(0,r.Z)()})}),(0,n.jsx)(v.z,{present:s<0,children:(0,n.jsx)(g.f,{container:a.current,className:(0,r.Z)("absolute left-0 top-0 h-full w-full",s>-2?-1===s?"animate-enterFromLeft":"animate-exitToLeft":""),children:(0,n.jsx)(_,{...e,onItemClick:c})})}),t.map((e,t)=>(0,n.jsx)(v.z,{present:s===t,children:(0,n.jsx)(g.f,{container:a.current,className:(0,r.Z)("absolute left-0 top-0 h-full w-full",s===t?"animate-enterFromRight":"animate-exitToRight"),children:(0,n.jsx)(k,{item:e,onLinkClick:l})})},t))]})},_=e=>{let{items:t,shortcuts:l,onItemClick:a,currentLang:i,langLinks:s,onLinkClick:o}=e;return(0,n.jsxs)("div",{className:"flex min-h-[75%] flex-col justify-between px-12 [&>*]:mb-10 ",children:[(0,n.jsx)("div",{className:(0,r.Z)("-mt-[10px] flex flex-col items-start justify-center"),children:t.map((e,t)=>{var l;let i="hover:text-blue block py-2 text-[22px] font-semibold uppercase transition-colors w-full";return(null===(l=e.sections)||void 0===l?void 0:l.length)?(0,n.jsxs)("button",{className:(0,r.Z)(i,"flex items-center justify-between"),onClick:()=>a(t),children:[(0,n.jsx)("div",{className:"text-left",dangerouslySetInnerHTML:{__html:e.title||""}}),(0,n.jsx)(d.JO,{icon:"chevron-down",className:"shrink-0 translate-x-4 -rotate-90 md:-translate-x-2"})]},t):(0,n.jsx)(d.ee,{link:{href:e.href,newTab:e.newTab,gtmEvent:e.gtmEvent},onClick:o,className:i,dangerouslySetInnerHTML:{__html:e.title||""}},t)}
1)}),!!(null==l?void 0:l.length)&&(0,n.jsxs)("div",{className:(0,r.Z)("flex flex-col items-stretch justify-center "),children:[(0,n.jsx)("h5",{className:"mb-2 text-sm font-normal ",children:"Liens rapides"}),l.map((e,t)=>(0,n.jsx)(d.ee,{link:{href:e.href,newTab:e.newTab,gtmEvent:e.gtmEvent},onClick:o,className:" hover:text-blue multiline-text-indent block py-[0.3em] text-lg font-medium uppercase transition-colors",dangerouslySetInnerHTML:{__html:e.title||""}},t))]}),(0,n.jsx)(x,{currentLang:i,langs:s,className:"text-lg",openUp:!0,alignX:"left",onLinkClick:o})]})},k=e=>{var t;let{item:l,onLinkClick:s}=e,o=(0,i.useMemo)(()=>{var e;return(null==l?void 0:null===(e=l.sections)||void 0===e?void 0:e.filter(e=>!!e.title))||[]},[]),c=(0,i.useMemo)(()=>{var e;return(null==l?void 0:null===(e=l.sections)||void 0===e?void 0:e.filter(e=>!e.title))||[]},[]);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:(0,r.Z)("flex flex-col",((null==o?void 0:o.length)||0)>1?"px-12":"px-6"),children:[l.mobileLink&&(0,n.jsxs)(d.ee,{link:l.mobileLink,className:(0,r.Z)("font-display mt-0 text-2xl font-semibold uppercase","hover:text-blue transition-colors","flex flex-[0_0_100%] flex-row items-center justify-start gap-3",l.mobileLink.img?"py-1":"py-3"),onClick:s,children:[!!l.mobileLink.img&&(0,n.jsx)("div",{className:(0,r.Z)("relative mb-2 aspect-[2] max-h-[77px] w-1/2 max-w-[158px] flex-[0_0_50%] overflow-hidden rounded-lg"),children:(0,n.jsx)(a.default,{src:l.mobileLink.img,width:"158",height:"77",alt:l.mobileLink.title||"",className:"zoom-subtle flex-0 absolute h-full w-full basis-1/2 object-cover object-center",loader:e=>(0,w.X)(e,158,77,"cover")})}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==l?void 0:l.mobileLink.title)||l.title||""}})]}),null==c?void 0:c.map((e,t)=>(0,n.jsx)(C,{section:e,onLinkClick:s},t)),(0,n.jsxs)(b.fC,{defaultValue:"0",orientation:"vertical",className:"flex flex-col ",children:[(o.length||0)>1&&(0,n.jsx)(b.aV,{className:"mb-5 mt-3 flex flex-row",children:null==l?void 0:null===(t=l.sections)||void 0===t?void 0:t.map((e,t)=>(0,n.jsx)(b.xz,{value:"".concat(t),className:(0,r.Z)("text-darkblue/70 mr-3 select-none border-b-2 border-transparent py-2 text-sm font-semibold leading-tight transition-colors","data-[state=active]:text-darkblue data-[state=active]:border-current"),children:e.titleShort||e.title},t))}),(0,n.jsx)("div",{className:"relative",children:null==o?void 0:o.map((e,t)=>(0,n.jsx)(b.VY,{value:"".concat(t),className:(0,r.Z)("data-[state=active]:animate-enterFromBottom data-[state=inactive]:animate-exitToBottom data-[state=inactive]:pointer-events-none","absolute left-0 top-0 w-full pb-10"),children:(0,n.jsx)(C,{section:e,onLinkClick:s})},t))})]})]})})},C=e=>{let{section:t,onLinkClick:l}=e;return(0,n.jsx)("div",{className:(0,r.Z)("flex items-start","images"===t.type?"flex-row flex-wrap justify-center":"flex-col justify-center"),children:t.links.map((e,t)=>(0,n.jsxs)(d.ee,{link:{href:e.href,newTab:e.newTab,gtmEvent:e.gtmEvent},onClick:l,className:(0,r.Z)("font-display group/link text-2xl font-semibold uppercase leading-none","hover:text-blue transition-colors","flex flex-[0_0_100%] flex-row items-center justify-start gap-3",e.img?"py-1":"multiline-text-indent py-3"),children:[!!e.img&&(0,n.jsx)("div",{className:(0,r.Z)("relative mb-2 aspect-[2] max-h-[77px] w-1/2 max-w-[158px] flex-[0_0_50%] overflow-hidden rounded-lg"),children:(0,n.jsx)(a.default,{src:e.img,width:"158",height:"77",alt:e.title||"",className:"zoom-subtle flex-0 absolute h-full w-full basis-1/2 object-cover object-center",loader:e=>(0,w.X)(e,158,77,"cover")})}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title||""}})]},t))})};var A=l(972),S=l(2451),L=l(86570),E=l(7466),M=l(64343);let T=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A.Q,{src:e,wrapper:"span",className:"relative -top-[0.1em] [&_*]:fill-current [&_svg]:h-[1.2em] [&_svg]:w-[1em]",afterInjection:e=>{e.setAttribute("aria-hidden","true")}}),(0,n.jsx)("div",{className:"absolute right-0 top-[20%] h-1 w-1 rounded-full bg-current md:right-2 md:top-[30%]"})]}),Z=e=>{let{iconSrc:t,links:l,className:a,logoutLabel:s}=e,[o,c]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=document.body;return o&&e?(0,E.Qp)(e):e&&(0,E.tG)(e),()=>{(0,E.tP)()}},[o]);let u=(0,i.useCallback)(e=>{var t,l,n;let a=(null===(n=e.href)||void 0===n?void 0:null===(l=n.match(/tab=([a-z]+)/))||void 0===l?void 0:null===(t=l[1])||void 0===t?void 0:t.trim())||"documents";(0,M.t5)("profile.navigation",{event:"click.navigation",click:"account",click_chapter1:"ACCOUNT_CATEGORY",click_chapter2:"PAGE_PATH",click_chapter3:"",goal_type:""},{},{ACCOUNT_CATEGORY:()=>({documents:"documents",contracts:"contrats",profile:"profil",contact:"contact"})[a]||"documents"})},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:"relative z-50 md:hidden",onClick:()=>{c(!o)},children:t&&T(t)}),(0,n.jsx)(v.z,{present:o,children:(0,n.jsxs)("section",{className:(0,r.Z)("fixed inset-0 z-50 flex flex-col bg-white",o?"animate-enterFromTop ":"animate-exitToTop "),children:[(0,n.jsx)("div",{className:"flex items-center justify-end",children:(0,n.jsx)("button",{className:(0,r.Z)("text-blue flex items-center justify-center px-6 py-[22px] focus:bg-transparent"),onClick:()=>{c(!1)},children:(0,n.jsx)(d.JO,{icon:"close",className:(0,r.Z)("transition","opacity-1 scale-1")})})}),(0,n.jsx)("nav",{className:"relative flex flex-1 flex-col overflow-hidden overflow-y-auto",children:(0,n.jsxs)("ul",{className:"flex h-full w-full flex-col gap-4 px-12 pb-12",children:[null==l?void 0:l.map((e,t)=>(0,n.jsx)("li",{className:"hover:text-blue text-darkblue font-display text-2xl font-semibold uppercase leading-tight transition-colors",children:(0,n.jsx)(d.ee,{link:e,className:"block",onClick:()=>{u(e)},children:e.title})},t)),(0,n.jsx)("hr",{className:"bg-darkblue/20"}),(0,n.jsx)("li",{className:"hover:text-blue text-darkblue font-display text-2xl font-semibold uppercase leading-tight transition-colors",children:(0,n.jsx)(L.RF,{className:"w-full",children:s})})]})})]})}),(0,n.jsxs)(m.v,{as:"div",className:(0,r.Z)("relative hidden text-left md:inline-block"),children:[(0,n.jsx)(m.v.Button,{className:(0,r.Z)("relative rounded-md",a),children:t&&T(t)}),(0,n.jsx)(f.u,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,n.jsx)(m.v.Items,{className:(0,r.Z)("text-darkblue absolute z-10 w-[205px] max-w-[80vw] overflow-hidden rounded-b-[20px] rounded-l-[20px] bg-white py-2 text-lg shadow-md focus:outline-none","right-0","top-full"),children:(0,n.jsxs)("div",{className:"py-1",children:[null==l?void 0:l.map((e,t)=>(0,n.jsx)(m.v.Item,{children:t=>{let{active:l}=t;return(0,n.jsx)(d.ee,{link:e,className:(0,r.Z)("","hover:text-blue text-darkblue font-display my-2 block px-5 py-1 text-base font-semibold uppercase leading-tight tracking-[0.64px] transition-colors"),onClick:()=>{u(e)},children:e.title})}},t)),(0,n.jsx)("hr",{className:"bg-darkblue/20 my-2"}),(0,n.jsx)(m.v.Item,{children:(0,n.jsx)(L.RF,{children:(0,n.jsx)("span",{className:"hover:text-blue text-darkblue font-display block px-5 py-1 text-base font-semibold uppercase leading-tight tracking-[0.64px] transition-colors",children:s})})})]})})})]})]})},R=e=>{let{items:t,contentAbove:l,homepageUrl:c}=e,[d,u]=(0,i.useState)(!1),[m,f]=(0,i.useState)(!1),{scrollY:x}=(0,s.v)();(0,o.W)(x,"change",e=>{u(e>5)});let p=d||m;return(0,n.jsxs)("div",{className:"fixed left-0 z-20 w-full",children:[(0,n.jsx)("div",{className:"relative z-20",children:l}),(0,n.jsx)("header",{className:(0,r.Z)("transition-all",d?"shadow-nav bg-white py-2":"py-4",p?" text-darkblue ":" text-white","before:bg-easing-b-header before:pointer-events-none before:absolute before:left-0 before:top-0 before:-z-10 before:h-[200%] before:w-full before:transition",d?"before:opacity-0":"before:opacity-1"),role:"banner",children:(0,n.jsxs)("div",{className:"container-full relative flex items-stretch justify-between ",children:[(0,n.jsx)("a",{href:c,className:"z-20",children:(0,n.jsx)(a.default,{src:h.Z.src,height:h.Z.height,width:h.Z.width,alt:"Futuroscope logo",className:(0,r.Z)("transition-size w-[144px] ",d?"sm:w-[152px]":"lg:w-[160px] xl:w-[207px]"),unoptimized:!0})}),(0,n.jsx)(F,{navItems:t,isCompact:d,isOpen:m,setIsOpen:f}),(0,n.jsx)(P,{...e,isCompact:d})]})})]})},P=e=>{let{actions:t,isCompact:l,currentLang:a,langLinks:s}=e,o=(0,u.useMedia)("(max-width: 1023px)"),{ready:c,sessionValid:m}=(0,S.G)()||{},f=(0,i.useMemo)(()=>
1c&&m,[c,m]),p="p-2 rounded-md hover:bg-gris/10 cursor-pointer inline-flex items-center justify-center";return(0,n.jsxs)("div",{className:(0,r.Z)("transition-fontsize z-20 flex items-center justify-center",l?"text-xl":"text-[26px]"),children:[null==t?void 0:t.map((e,t)=>{var i,o,c,u,m,h,v;return(null==e?void 0:e.specialAction)==="languageSwitcher"?(0,n.jsx)(x,{currentLang:a,langs:s,className:(0,r.Z)("".concat(p," transition-fontsize hidden lg:block"),l?"text-sm":"text-lg"),onLinkClick:()=>void 0},t):(null==e?void 0:e.specialAction)==="profileSettings"?f?(0,n.jsx)(Z,{iconSrc:null==e?void 0:null===(c=e.icon)||void 0===c?void 0:c.src,links:null===(u=e.profileSettings)||void 0===u?void 0:u.links,logoutLabel:null===(m=e.profileSettings)||void 0===m?void 0:m.logoutLabel,className:(0,r.Z)("".concat(p," transition-fontsize"))},t):(0,n.jsx)(d.ee,{link:e,className:p,rel:"nofollow",children:(null==e?void 0:null===(h=e.icon)||void 0===h?void 0:h.src)&&(0,n.jsx)(A.Q,{src:null==e?void 0:null===(v=e.icon)||void 0===v?void 0:v.src,wrapper:"span",className:"relative -top-[0.1em] [&_*]:fill-current [&_svg]:h-[1.2em] [&_svg]:w-[1em]",afterInjection:e=>{e.setAttribute("aria-hidden","true")}})},t):(0,n.jsx)(d.ee,{link:e,className:p,rel:"nofollow",children:(null==e?void 0:null===(i=e.icon)||void 0===i?void 0:i.src)&&(0,n.jsx)(A.Q,{src:null==e?void 0:null===(o=e.icon)||void 0===o?void 0:o.src,wrapper:"span",className:"relative -top-[0.1em] [&_*]:fill-current [&_svg]:h-[1.2em] [&_svg]:w-[1em]",afterInjection:e=>{e.setAttribute("aria-hidden","true")}})},t)}),(0,n.jsx)("div",{"aria-hidden":!o,children:(0,n.jsx)(y,{...e,className:"".concat(p," lg:hidden")})})]})},F=e=>{let{navItems:t,isCompact:l,isOpen:a,setIsOpen:i,className:s}=e,o=(0,u.useMedia)("(min-width: 1024px)");return(0,n.jsxs)(c.fC,{id:"main-nav",delayDuration:0,skipDelayDuration:0,onValueChange:e=>{i(!!e)},className:(0,r.Z)("absolute bottom-0 left-0 right-0 top-0 z-10 hidden items-center justify-center lg:flex "),role:"navigation","aria-hidden":!o,children:[(0,n.jsx)(c.aV,{className:(0,r.Z)("transition-font flex items-center justify-center",l||a?"text-darkblue":"text-white",l?"text-[13px]":"text-sm",s),itemScope:!0,itemType:"http://www.schema.org/SiteNavigationElement",children:null==t?void 0:t.map((e,t)=>{var l,a,r,i,s;let o=(null===(l=e.sections)||void 0===l?void 0:l.length)?c.xz:c.rU;return(0,n.jsx)(c.ck,{asChild:!0,children:(0,n.jsxs)("li",{itemProp:(null===(a=e.sections)||void 0===a?void 0:a.length)?"dropdown":"name",children:[(0,n.jsx)(o,{asChild:!0,children:(0,n.jsx)(d.ee,{forceGtmEvent:!0,link:{href:e.href,newTab:e.newTab,gtmEvent:e.gtmEvent},className:"group/item group flex h-full items-center px-3 font-semibold uppercase focus:outline-none",itemProp:"url",children:(0,n.jsx)("span",{className:"transition-border border-b-after relative inline-block\n                        py-2 after:origin-left after:scale-x-0 after:opacity-0 after:transition\n                        group-hover:after:scale-100 group-hover:after:opacity-100\n                        group-focus-visible:after:scale-100 group-focus-visible:after:opacity-100\n                        group-data-[state=open]/item:after:scale-100 group-data-[state=open]/item:after:opacity-100\n                    ",children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title||""}})})})}),!!(null===(r=e.sections)||void 0===r?void 0:r.length)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c.VY,{className:"\n                data-[motion=from-start]:animate-enterFromLeft data-[motion=from-end]:animate-enterFromRight data-[motion=to-start]:animate-exitToLeft data-[motion=to-end]:animate-exitToRight\n                container-full absolute left-0 top-0 flex w-full justify-center pb-10 pt-[45px] xl:pt-[65px]\n            ",children:[!(null===(i=e.sections)||void 0===i?void 0:i.length)&&(0,n.jsx)("i",{children:e.title}),!!(null===(s=e.sections)||void 0===s?void 0:s.length)&&(0,n.jsx)(O,{sections:e.sections})]}),(0,n.jsx)(I,{sections:e.sections})]})]})},t)})}),(0,n.jsx)(c.l_,{className:"\n        text-darkblue  shadow-nav container-full data-[state=open]:animate-enterFromTop  data-[state=closed]:animate-exitToTop\n        transition-size absolute left-0 top-full -z-10\n        flex h-[var(--radix-navigation-menu-viewport-height)] w-full\n        justify-center bg-white will-change-transform\n        before:absolute before:bottom-full before:left-0\n        before:block before:h-[200px] before:w-full before:bg-white\n      "})]})},O=e=>{let{sections:t}=e,l=t.some(e=>"text"===e.type);return(0,n.jsxs)("div",{className:"justify-top flex flex-row items-start gap-4 lg:gap-8",children:[t.map((e,t)=>{let i=t=>Math.min(t,e.links.length);return(0,n.jsxs)("div",{className:(0,r.Z)("flex items-start "),children:[!!e.title&&(0,n.jsx)("div",{className:"h3 mb-4 text-xs font-normal",children:e.title}),(0,n.jsx)("div",{className:(0,r.Z)("","images"===e.type&&"-mb-4 grid flex-row flex-wrap justify-start gap-5 ","images"===e.type&&l&&"grid-cols-3 lg:grid-cols-4 xl:grid-cols-".concat(i(6)),"images"===e.type&&!l&&"grid-cols-4 lg:grid-cols-".concat(i(5)," xl:grid-cols-").concat(i(7)),"text"===e.type&&"flex min-w-[180px] flex-col items-start justify-center"),children:e.links.map((t,l)=>{var i,s;return(0,n.jsx)(c.rU,{asChild:!0,children:(0,n.jsxs)(d.ee,{forceGtmEvent:!0,link:{href:t.href,newTab:t.newTab,gtmEvent:t.gtmEvent},className:(0,r.Z)(" focus-visible:text-blue group/link\n                     flex flex-col items-center justify-start\n                      focus:outline-none focus-visible:underline\n                      ".concat(t.img?"mb-3":"hover:text-blue","\n                    "),"images"===e.type&&(null===(i=e.links)||void 0===i?void 0:i.length)>1&&"w-[200px] max-w-full text-center","text"===e.type&&"max-w-[200px]"),children:[!!t.img&&(0,n.jsx)("span",{className:(0,r.Z)("relative mb-2 block aspect-[2] max-w-full overflow-hidden rounded-lg","images"===e.type&&(null===(s=e.links)||void 0===s?void 0:s.length)>1?"w-[200px]":"w-[310px]"),children:(0,n.jsx)(a.default,{src:t.img,width:"310",height:"135",alt:t.title||"",className:"zoom-subtle absolute h-full w-full object-cover object-center",loader:e=>(0,w.X)(e,310,135,"cover")})}),(0,n.jsx)("span",{className:(0,r.Z)("font-display pb-[6px] text-base font-semibold uppercase leading-tight tracking-wide transition",t.img?"w-[200px] max-w-full group-hover/link:opacity-75":"multiline-text-indent"),dangerouslySetInnerHTML:{__html:t.title||""}})]})},"sub-".concat(l))})})]},t)}),(0,n.jsx)("div",{className:"hidden lg:grid-cols-3 xl:grid-cols-3"}),(0,n.jsx)("div",{className:"hidden lg:grid-cols-4 xl:grid-cols-4"}),(0,n.jsx)("div",{className:"hidden lg:grid-cols-5 xl:grid-cols-5"}),(0,n.jsx)("div",{className:"hidden xl:grid-cols-6"}),(0,n.jsx)("div",{className:"hidden xl:grid-cols-7"})]})},I=e=>{let{sections:t}=e,l=t.flatMap(e=>e.links);return(0,n.jsx)("ul",{className:"sr-only",children:l.map((e,t)=>(0,n.jsx)("li",{itemProp:"name",children:(0,n.jsx)(d.ee,{link:{href:e.href,newTab:e.newTab},dangerouslySetInnerHTML:{__html:e.title||""},itemProp:"url"})},t))})}},32625:function(e,t,l){"use strict";l.r(t);var n=l(94043),a=l(63534),r=l(31692),i=l(54403),s=l(61907),o=l(77835);t.default=e=>{let{style:t,title:l,info:c,placeholder:d,buttonText:u,successMessage:m,errorMessage:f,langCode:x}=e,{register:p,handleSubmit:h,formState:{errors:v},reset:g}=(0,a.cI)(),[b,j]=(0,r.useState)(null),[w,y]=(0,r.useState)(!1),[N,_]=(0,r.useState)(!1),k=async e=>{try{j(null),await (0,o.B)({email:e.email,lang:x}),y(!0),g(),"modal"===t&&_(!0)}catch(e){console.error("Newsletter signup error:",e),j(f),y(!1)}};return(0,n.jsxs)("div",{className:"newsletter-form-wrapper",children:[l&&(0,n.jsx)("h2",{className:"mb-4 text-2xl font-bold text-current md:text-3xl",children:l}),c&&(0,n.jsx)("div",{className:"mb-8 text-base text-current [&_a:hover]:opacity-75 [&_a]:underline [&_a]:transition-opacity",dangerouslySetInnerHTML:{__html:c}}),(0,n.jsxs)("form",{onSubmit:h(k),className:"mx-auto max-w-md",children:[(0,n.jsxs)("div",{className:"relative flex gap-3",children:[(0,n.jsx)("label",{htmlFor:"newsletter-email",className:"sr-only",children:d}),(0,n.jsx)("input",{...p("email",{required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Invalid email format"}}),id:"newsletter-email",type:"email",autoComplete:"email",placeholder:d,className:(0,i.Z)("flex-1 rounded-[10px] border bg-white py-[10px] pl-6 pr-6 text-gray-900 placeholder:text-gray-500 focus:ring-1",v.email||b?"border-red-500 focus:border-red-500 focus:ring-red-500":"focus:border-darkblue focus:ring-darkblue border-gray-300",w&&"border-green-500 focus:border-green-500 focus:ring-green-500")}),(0,n.jsx)("button",{type:"submit",disabled:w,className:(0,i.Z)("bg-darkblue hover:bg-darkblue-90 whitespace-nowrap rounded-[10px] px-6 py-[10
1px] text-sm font-medium text-white transition-all hover:shadow-lg",w&&"bg-green-600 hover:bg-green-700"),children:w?(0,n.jsx)("svg",{className:"h-4 w-4 text-white",fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})}):u||(0,n.jsx)("svg",{className:"h-4 w-4 text-white",fill:"currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),(0,n.jsxs)("div",{className:"mt-3 space-y-2",children:[v.email&&(0,n.jsx)("p",{className:"text-sm font-medium !text-red-500",style:{color:"#ef4444"},children:v.email.message}),b&&(0,n.jsx)("p",{className:"text-sm font-medium !text-red-500",style:{color:"#ef4444"},children:b}),w&&"modal"!==t&&(0,n.jsx)("p",{className:"text-sm font-medium !text-green-600",style:{color:"#059669"},children:m})]})]}),N&&(0,n.jsx)(s.L,{open:N,close:()=>_(!1),title:m})]})}},90103:function(e,t,l){"use strict";l.d(t,{z:function(){return n.default}});var n=l(32625)},7897:function(e,t,l){"use strict";l.r(t),l.d(t,{OfferHeader:function(){return s},OfferHeaderButtons:function(){return o}});var n=l(94043),a=l(9145),r=l(54403),i=l(53198);let s=e=>{let{image:t,surtitle:l,title:a,tags:s,text:c,priceData:d,breadcrumbConf:u,ctas:m}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{className:(0,r.Z)("block--offer-header relative flex flex-col items-start justify-end pt-12 md:pt-32","-mb-[calc(var(--diagonal-px-shift-4deg))] pb-[calc(var(--diagonal-px-shift-4deg)+10px)] md:pb-[calc(var(--diagonal-px-shift-4deg)+20px)]","lg:min-h-[680px] portrait:min-h-[430px]",""),children:[(0,n.jsxs)("div",{className:(0,r.Z)("absolute-fill"),style:{clipPath:"polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diagonal-px-shift-4deg)))"},children:[t&&(0,n.jsx)(i.t,{...t,width:1440,height:540,borderRadius:"none",className:"absolute-fill",fit:"cover"}),(0,n.jsx)("div",{className:(0,r.Z)("absolute-fill opacity-70","bg-gradient-diagonal")})]}),(0,n.jsx)("div",{className:"container-full",children:(0,n.jsxs)("div",{className:(0,r.Z)("relative flex flex-col gap-6 text-white md:gap-4"),children:[u&&(0,n.jsx)(i.aG,{...u,className:(0,r.Z)("relative z-10 h-[1.2em]","mb-1")}),(0,n.jsx)(i._q,{line1:l,color:"orange",className:"!mb-0 max-w-[85%] uppercase",line1ClassName:"!text-2xl/tight uppercase",line1WrapSafe:!0}),(0,n.jsx)("h1",{className:(0,r.Z)("max-w-[80%] uppercase !leading-[0.9]","mb-0 text-[50px] md:text-[70px] lg:text-[80px] xl:text-[90px]"),children:a}),!!(null==s?void 0:s.length)&&(0,n.jsxs)("div",{className:"mb-2 flex items-center gap-3",children:[null==s?void 0:s.map((e,t)=>(0,n.jsx)(i.Vp,{className:"!text-sm",children:e},t)),!!c&&(0,n.jsx)("p",{className:"font-display text-sm font-semibold",children:c})]}),!!d&&(0,n.jsx)(i.tA,{...d,className:"hidden md:block [&_*]:!text-white [&_*]:!opacity-100",size:"large",layout:"horizontal"})]})})]}),(0,n.jsxs)("div",{className:"container-full mt-4 ",children:[!!d&&(0,n.jsx)(i.tA,{...d,className:"[&_*]:!text-darkblue mb-2 block md:hidden [&_*]:!opacity-100",layout:"horizontal"}),(0,n.jsx)(o,{ctas:m,className:""})]})]})},o=e=>{let{ctas:t,className:l}=e,{links:s,setVideoOpened:o,videoOpened:c,videoUrl:d}=(0,a.lV_)(t,{_default:{size:"large",color:"bright"},secondary:{color:"bright_inverted"},openVideoPopin:{icon:"play-filled",color:"bright_inverted",iconPosition:"left"}});return(0,n.jsxs)("div",{className:(0,r.Z)("flex justify-start",l),children:[(0,n.jsx)("div",{className:"flex justify-center gap-4",children:s.map((e,t)=>(0,n.jsx)(i.zx,{...e},t))}),d&&(0,n.jsx)(i.VL,{variant:"video",video:{url:d},open:c,onOpenChange:e=>o(e)})]})}},69115:function(e,t,l){"use strict";l.r(t),l.d(t,{Prices:function(){return s}});var n=l(94043),a=l(53198);let r=e=>{let{tag:t,price:l,cta:r}=e;return(0,n.jsxs)("div",{className:"relative flex flex-col items-start justify-start gap-6 md:justify-between",children:[(0,n.jsx)("div",{className:"flex flex-col items-start",children:(0,n.jsxs)("div",{className:"flex flex-col items-start",children:[t&&(0,n.jsx)(a.Vp,{className:"mb-4 !text-lg 
1!font-medium",children:t}),(0,n.jsx)(a.tA,{...l,layout:"vertical",size:"default",className:"-mb-2"})]})}),(0,n.jsx)("div",{className:"flex w-full items-start",children:r&&(0,n.jsx)(a.zx,{className:"z-20",size:"small",link:r})})]})};var i=l(21736);let s=e=>{let{title:t,subtitle:l,description:a,items:s,anchor:o}=e;return(0,n.jsx)("section",{id:o,className:"block--Prices py-section container-full px-[25px]",children:(0,n.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("h2",{className:"text-darkblue font-display text-[32px] font-medium leading-8",children:t}),l&&(0,n.jsx)("h4",{className:"text-darkblue font-display text-2xl font-medium leading-[30px]",children:l}),a&&(0,n.jsx)(i.o8,{className:"text-darkblue !font-body !text-base !font-normal !leading-tight md:!text-lg md:!font-medium",text:a})]}),(0,n.jsx)("div",{className:"grid max-w-[880px] grid-cols-2 gap-x-4 gap-y-8 md:grid-cols-4",children:null==s?void 0:s.map((e,t)=>(0,n.jsx)(r,{...e},t))})]})})}},60323:function(e,t,l){"use strict";l.r(t),l.d(t,{Reinsurance:function(){return s}});var n=l(94043),a=l(21736),r=l(85788),i=l(54403);let s=e=>{let{heading:t,cards:l}=e;return(0,n.jsxs)("section",{className:"container-full py-section flex flex-col",children:[(0,n.jsx)(a.DI,{...t,headingTag:"h2"}),(0,n.jsx)("div",{className:(0,i.Z)("mt-6 flex flex-col gap-[30px] ","md:grid md:grid-cols-2 md:grid-rows-2 md:gap-[40px] lg:grid-cols-4 lg:grid-rows-1"),children:l.map((e,t)=>(0,n.jsx)(r.uW,{className:"!aspect-auto !min-h-0",...e},t))})]})}},34546:function(e,t,l){"use strict";l.d(t,{D:function(){return s}});var n=l(94043),a=l(31692),r=l(9145),i=l(88423);let s=e=>{let{iresaHost:t,styleHost:l,iresaLang:s,iresaTarget:o,renderElement:c}=e,d=(0,r.O_b)();return c?(0,n.jsx)(a.Suspense,{children:d&&(0,n.jsxs)("div",{className:"pointer-events-none h-0 w-0 overflow-hidden opacity-0",suppressHydrationWarning:!0,children:[(0,n.jsx)("div",{id:"flagwidget","data-base":t,"data-onglet":o,"data-culture":s,suppressHydrationWarning:!0}),(0,n.jsx)("link",{rel:"stylesheet",type:"text/css",href:"".concat(l,"/widget.css")}),(0,n.jsx)(i.default,{src:"".concat(t,"/scripts/widget.js"),defer:!0})]})}):null}},93566:function(e,t,l){"use strict";l.d(t,{j:function(){return o}});var n=l(94043),a=l(9145),r=l(31692);let i=e=>{switch(e){case"SEJOUR":return'[data-target="#pills-billethotels"]';case"BILLET":return'[data-target="#pills-billet"]';case"AQUASCOPE":return'[data-target="#pills-aquascope"]';case"BILLETJDMB":return'[data-target="#pills-billet-jdmb"]';case"DECLARATION":return'[data-target="#pills-declarevisite"]';default:return null}},s=e=>{let{target:t}=e,l=(0,r.useRef)(null);return(0,r.useEffect)(()=>(l.current&&(0,a.aMJ)(l.current),()=>{(0,a.kTF)()}),[]),(0,r.useEffect)(()=>{setTimeout(()=>{let e=i(t);if(e){var l;null===(l=document.querySelector(e))||void 0===l||l.click()}},400)},[t]),(0,n.jsx)(r.Suspense,{children:(0,n.jsx)("div",{ref:l,suppressHydrationWarning:!0})})},o=e=>(0,n.jsx)(s,{...e})},1631:function(e,t,l){"use strict";l.r(t),l.d(t,{Reservation:function(){return s}});var n=l(94043),a=l(49675),r=l(10566),i=l(69869);let s=e=>(0,n.jsxs)(n.Fragment,{children:["hero"===e.view&&(0,n.jsx)(r.ReservationViewHero,{...e}),"header"===e.view&&(0,n.jsx)(a.ReservationViewHeader,{...e}),"popin"===e.view&&(0,n.jsx)(i.ReservationViewPopin,{...e})]})},49675:function(e,t,l){"use strict";l.r(t),l.d(t,{ReservationViewHeader:function(){return o}});var n=l(94043),a=l(53198),r=l(9145),i=l(93566),s=l(34546);let o=e=>{let{image:t,subtitle:l,title:o,breadcrumb:c,subcopy:d,iresaHost:u,iresaLang:m,iresaTarget:f,renderElement:x,iresaEnabled:p,styleHost:h}=e,v=(0,r.x4d)();return(0,n.jsxs)("div",{className:"block--reservation--header relative z-[15]",children:[(0,n.jsxs)("div",{className:"bg-header-clip-path relative flex min-h-[438px] flex-col items-center justify-end pb-40 pt-32 text-white md:min-h-[540px]",children:[(0,n.jsxs)("div",{className:"absolute inset-0",children:[t&&(0,n.jsx)(a.JD,{breakpoints:[{mediaQuery:"(max-width: 480px)",height:540,width:480},{mediaQuery:"(max-width: 767px)",height:540,width:767},{mediaQuery:"(max-width: 1024px)",height:540,width:1024},{mediaQuery:"(max-width: 1440px)",height:540,width:1440}],src:t.src,width:2056,height:540,alt:o||"",className:"h-full w-full object-cover object-center"}),(0,n.jsx)("div",{className:"bg-gradient-diagonal absolute inset-0 opacity-60"})]}),(0,n.jsxs)("div",{className:"relative flex w-[900px] max-w-full flex-col gap-6 px-5 md:gap-4 ",children:[c&&(0,n.jsx)(a.aG,{...c}),(0,n.jsx)(a._q,{line1:l,line1Tag:"span",line2:o,line2Tag:"span",outerTag:"h1",line1WrapSafe:!0,line2WrapSafe:!0}),d&&(0,n.jsx)("div",{className:"font-body w-[634px] max-w-full text-lg/normal font-medium text-white md:text-2xl/snug",dangerouslySetInnerHTML:{__html:d}})]})]}),(0,n.jsxs)("div",{className:"relative z-[2] mx-auto -mt-40 w-[900px] max-w-full pt-10 md:rounded-[20px] md:shadow-lg",children:[v&&(0,n.jsx)(i.j,{target:f}),(0,n.jsx)(s.D,{iresaHost:u,styleHost:h,iresaLang:m,iresaTarget:f,renderElement:x,iresaEnabled:p})]})]})}},10566:function(e,t,l){"use strict";l.r(t),l.d(t,{ReservationViewHero:function(){return u}});var n=l(94043),a=l(53198),r=l(31692),i=l(9145),s=l(82157),o=l(11960),c=l(93566),d=l(34546);let u=e=>{let{image:t,video:l,subtitle:u,title:m,titleLink:f,iresaHost:x,iresaLang:p,iresaTarget:h,renderElement:v,iresaEnabled:g,styleHost:b}=e,j=(0,r.useRef)(null),[w,y]=(0,r.useState)(!0),[N,_]=(0,r.useState)(!1),k=(0,i.x4d)(),{getTranslation:C}=(0,s.useGlobalTranslations)(),A="flex items-center gap-2 rounded-[10px] bg-white px-4 py-2.5 text-sm font-medium text-[#027BB0]",S=C("video_pause_aria_label","Pause vid\xe9o"),L=C("video_pause_text","Pause"),E=C("video_play_text","Lecture"),M=C("video_sound_aria_label","Couper le son de la vid\xe9o"),T=l&&(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsxs)("button",{type:"button","aria-label":S,"aria-pressed":N,className:A,onClick:()=>
1{j.current&&(j.current.paused?(j.current.play(),_(!1)):(j.current.pause(),_(!0)))},children:[(0,n.jsx)("span",{children:N?E:L}),N?(0,n.jsx)(a.JO,{icon:"play-filled",className:"h-[18px] w-[18px]"}):(0,n.jsxs)("svg",{className:"h-[18px] w-[18px]",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,n.jsx)("rect",{x:"4",y:"3",width:"3.5",height:"12",rx:"0.5",fill:"currentColor"}),(0,n.jsx)("rect",{x:"10.5",y:"3",width:"3.5",height:"12",rx:"0.5",fill:"currentColor"})]})]}),(0,n.jsx)("button",{type:"button","aria-label":M,"aria-pressed":w,className:A,onClick:()=>y(!w),children:w?(0,n.jsx)(a.JO,{icon:"son-off",className:"h-[18px] w-[18px]"}):(0,n.jsx)(a.JO,{icon:"son-on",className:"h-[18px] w-[18px]"})})]});return(0,n.jsxs)("div",{className:"block--reservation--hero relative flex items-end justify-center pt-[293px] md:min-h-screen md:pb-16 md:pt-40",children:[(0,n.jsxs)("div",{className:"absolute left-0 top-0 h-[473px] w-full overflow-hidden md:inset-0 md:h-auto md:w-auto",children:[l&&(0,n.jsxs)("video",{ref:j,className:"object-cover object-center w-full h-full",autoPlay:!0,playsInline:!0,muted:w,loop:!0,children:[(0,n.jsx)("source",{src:l,type:"video/mp4"}),"Your browser does not support the video tag."]}),t&&(0,n.jsx)(a.JD,{src:t.src,breakpoints:[{mediaQuery:"(max-width: 480px)",height:700,width:480},{mediaQuery:"(max-width: 767px)",height:540,width:767},{mediaQuery:"(max-width: 1024px)",height:600,width:1024},{mediaQuery:"(max-width: 1440px)",height:900,width:1440}],width:"2056",height:"1100",alt:m||"",className:"object-cover object-center w-full h-full",loader:e=>(0,o.X)(e,1440,810,"cover"),priority:!0})]}),(0,n.jsxs)("div",{className:"relative z-[15] flex w-[900px] flex-col gap-8",children:[(0,n.jsxs)("div",{className:"flex justify-between items-end container-full lg:px-2",children:[(0,n.jsx)(a._q,{line1:u,line2:m,link:f,line2Tag:"span",line1Tag:"span",outerTag:"h1",line1WrapSafe:!0,line2WrapSafe:!0}),(0,n.jsx)("div",{className:"xl:hidden",children:T})]}),(0,n.jsx)("div",{className:"md:px-2",children:!!g&&(0,n.jsxs)(n.Fragment,{children:[k&&(0,n.jsx)(c.j,{target:h}),(0,n.jsx)(d.D,{iresaHost:x,styleHost:b,iresaLang:p,iresaTarget:h,renderElement:v,iresaEnabled:g})]})})]}),(0,n.jsx)("div",{className:"absolute bottom-16 right-16 z-[1] hidden xl:block",children:T})]})}},69869:function(e,t,l){"use strict";l.r(t),l.d(t,{ReservationViewPopin:function(){return c}});var n=l(94043),a=l(21736),r=l(93566),i=l(34546),s=l(9145),o=l(9957);let c=e=>{let{hashtag:t,popinTitle:l,iresaHost:c,iresaLang:d,iresaTarget:u,renderElement:m,iresaEnabled:f,styleHost:x}=e,p=(0,s.x4d)(),{target:h}=(0,o.C)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.VL,{variant:"widget",widget:{title:l},triggerHashName:t,children:!!f&&p&&(0,n.jsx)(r.j,{target:h||u})}),!!f&&(0,n.jsx)(i.D,{iresaHost:c,styleHost:x,iresaLang:d,iresaTarget:u,renderElement:m,iresaEnabled:f})]})}},37350:function(e,t,l){"use strict";l.r(t),l.d(t,{Reviews:function(){return i},ReviewsRating:function(){return s}});var n=l(94043),a=l(54403),r=l(53198);let i=e=>{let{title:t,surtitle:l,rating:i,items:o,backgroundImage:c,theme:d="orange",anchor:u}=e;return(0,n.jsxs)("section",{className:"block--reviews py-section relative isolate",id:u,children:[(0,n.jsx)("div",{className:(0,a.Z)("absolute -z-20 ","right-[35%] aspect-[0.8] h-auto w-[65%] ","md:right-[50%] md:aspect-[1.8] md:w-[60%] xl:right-[60%] xl:w-[40%]","bg-gradient-to-r","bg-gradient-subtle-".concat(d),"reviews-clip-path-bg")}),!!c&&(0,n.jsx)(r.t,{...c,"aria-hidden":"true",className:(0,a.Z)("!absolute -z-10 ","left-[55%] right-0 top-[25%] aspect-[0.9] ","md:bottom-auto md:left-[36%] md:top-[12%] md:aspect-[2.6] md:w-[64%] xl:left-[30%] xl:w-[70%]","reviews-clip-path-img"),borderRadius:"none"}),(0,n.jsxs)("div",{className:(0,a.Z)("container-full ",!t&&!l&&"pt-8"),children:[(!!t||!!l)&&(0,n.jsx)(r._q,{line2:t,line1:l,outerTag:"div",line1WrapSafe:!0,line2WrapSafe:!0}),!!i&&(0,n.jsx)(s,{rating:i,className:"md:ml-6 lg:ml-8",theme:d})]}),(0,n.jsx)(r.MP,{carousel:{size:"auto",arrowsPosition:"bottom",className:"!mt-0"},items:o.map(e=>({...e,type:"Review"}))})]})},s=e=>{let{rating:t,theme:l,className:i}=e;return(0,n.jsxs)("div",{className:(0,a.Z)("flex flex-row items-stretch gap-[0.9em]",i),children:[(0,n.jsx)("span",{className:(0,a.Z)("font-display-mb-[0.1em] text-[60px] font-semibold md:text-[70px] lg:text-[80px]","text-".concat(l)),children:t.rating.toFixed(1)}),(0,n.jsxs)("div",{className:"flex flex-col justify-center gap-1",children:[(0,n.jsxs)("div",{className:"-mt-[0.2em] mr-[0.5em] flex flex-row gap-[0.2em] text-sm md:text-[22px]",children:[Array.from({length:Math.round(t.rating)}).map((e,t)=>(0,n.jsx)(r.JO,{icon:"review-star-filled",className:"text-orange"},t)),Array.from({length:Math.round(5-t.rating)}).map((e,t)=>(0,n.jsx)(r.JO,{icon:"review-star-outlined",className:"text-orange"},t))]}),(0,n.jsxs)("span",{className:"text-[0.9em] ",children:[t.count," avis"]})]})]})}},48869:function(e,t,l){"use strict";l.r(t),l.d(t,{Scrolls:function(){return s}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s=e=>{let{title:t,subtitle:l,description:s,cta:o,imageBack:c,imageFront:d,gradient:u,backgroundImage:m,anchor:f}=e;return(0,n.jsxs)("section",{className:(0,i.Z)("block--scrolls py-section relative isolate flex min-h-[625px] flex-col overflow-x-hidden md:min-
1h-[700px] lg:min-h-[810px]","w-full md:flex-row md:items-center md:justify-start "),children:[(0,n.jsx)("span",{className:"absolute w-full left-0 -top-16 select-none pointer-events-none",id:f}),!!m&&(0,n.jsx)(a.t,{...m,borderRadius:"none",className:"absolute-fill -z-[1]",children:(0,n.jsx)("div",{className:"bg-easing-d1-heroCover absolute-fill"})}),(0,n.jsx)("div",{className:(0,i.Z)("translate flex w-full max-w-[550px] translate-x-[0%] items-center justify-center self-center pb-[5%] pt-[10%]","md:absolute md:right-0 md:top-1/2 md:w-[56%] md:max-w-[870px] md:-translate-y-1/2 md:translate-x-[2%] md:py-0 lg:w-[58%]"),children:(0,n.jsx)("div",{className:(0,i.Z)("container-full"),children:(0,n.jsxs)("div",{className:(0,i.Z)("relative aspect-[1.21] overflow-visible"),children:[(0,n.jsx)("div",{className:(0,i.Z)("absolute -right-[12%] -top-[10%] bottom-[40%] left-[40%]"),style:{perspective:"1000px",perspectiveOrigin:"left"},children:(0,n.jsx)("div",{className:(0,i.Z)("-rotate-y-[48deg] lg:-rotate-y-[40deg] origin-right transform","bg-gradient-orange-pale absolute-fill rounded-md bg-gradient-to-br"),style:{"--tw-gradient-stops":u.join(", ")}})}),!!c&&(0,n.jsx)(a.t,{...c,className:"!absolute !bottom-0",width:1e3,height:1e3,fit:"w-full"}),!c&&(0,n.jsx)("div",{className:"aspect-[1.21] w-full"})]})})}),(0,n.jsx)("div",{className:(0,i.Z)("md:max-w-[46%]",m?"text-white":"text-darkblue"),children:(0,n.jsxs)("div",{className:"container-full",children:[(0,n.jsx)("h2",{className:"text-display-xl",children:t}),(0,n.jsx)(a._q,{line1:l}),!!s&&(0,n.jsx)("div",{className:"text-paragraph mb-[1em]",dangerouslySetInnerHTML:{__html:(0,r.hU_)(s)}}),!!o&&(0,n.jsx)(a.zx,{link:o,size:"small",className:"z-10"})]})})]})}},17019:function(e,t,l){"use strict";l.r(t),l.d(t,{Search:function(){return x}});var n=l(94043),a=l(31692),r=l(21736),i=l(9145);let s=e=>{let{placeholder:t,label:l,buttonAriaLabel:s,onSearch:o,initialQuery:c}=e,[d,u]=(0,a.useState)(c||""),m=(0,a.useRef)(null),f=()=>{o(d)},{debouncedCallback:x,cancel:p}=(0,i.NrF)(f,600);return(0,a.useEffect)(()=>{var e;null==m||null===(e=m.current)||void 0===e||e.focus()},[null==m?void 0:m.current]),(0,n.jsx)("section",{className:"py-section",children:(0,n.jsxs)("div",{className:"flex relative",children:[(0,n.jsx)("label",{htmlFor:"search-input",className:"sr-only",children:l||t||"Recherche"}),(0,n.jsx)("input",{id:"search-input",className:"text-darkblue font-body w-full rounded-[10px] border-none py-5 pl-4 pr-[60px] text-lg font-medium leading-tight shadow-md focus:ring-0 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue md:pl-8",type:"text",placeholder:t,value:d,onChange:e=>{u(e.target.value)},onKeyDown:e=>{"Enter"===e.key?(p(),f()):x()},ref:m}),(0,n.jsx)("button",{"aria-label":s||"Rechercher",className:"absolute right-0 top-1/2 flex h-full -translate-y-1/2 items-center px-4 md:px-[18px] focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-[-4px] focus-visible:outline-darkblue focus-visible:rounded-[10px]",onClick:()=>{f()},children:(0,n.jsx)(r.JO,{icon:"search",className:"text-2xl"})})]})})},o=e=>{let{category:t,title:l,description:a,link:s}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-start gap-4",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("small",{className:"text-darkblue font-body text-[10px] font-bold leading-tight",children:t}),(0,n.jsx)("div",{className:"text-darkblue font-display text-2xl font-medium leading-[30px] md:text-[32px] md:leading-none",dangerouslySetInnerHTML:{__html:l}}),(0,n.jsx)("div",{className:"text-darkblue font-body text-base font-normal leading-tight md:text-lg md:font-medium [&>.highlight]:font-bold",dangerouslySetInnerHTML:{__html:a}})]}),!!s&&(0,n.jsx)(r.zx,{color:"underlined",size:"small",link:{...s,gtmEvent:e.gtmClickEventPayload?(0,i.$ND)(e.gtmClickEventPayload,{BLOCK_SEARCH_RANK:()=>e.rank,BLOCK_SEARCH_RESULT_PATH:()=>(null==s?void 0:s.href)||""}):void 0},icon:"arrow-right-secondary",iconPosition:"right",customIconSize:18})]})};var c=l(53198);let d=e=>{let{}=e;return(0,n.jsxs)("div",{className:"flex animate-pulse flex-col items-start gap-4 roun
1ded-[10px] border p-4 shadow",children:[(0,n.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,n.jsx)("div",{className:"h-2 w-[5%] rounded bg-gray-200 "}),(0,n.jsx)("div",{className:"h-2 w-[40%] rounded bg-gray-200 "}),(0,n.jsx)("div",{className:"h-2 w-[70%] rounded bg-gray-200 "})]}),(0,n.jsx)("div",{className:"h-3 w-[10%] rounded bg-gray-200 "})]})},u=e=>{let{results:t,noResultsInfo:l,moreResultsButtonText:a,onMoreResults:r,isLoading:s,isLoadingNextPage:u,error:m,gtmClickEventPayload:f}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("section",{className:"py-section flex flex-col",children:(0,n.jsx)("div",{className:"flex flex-col gap-12",children:s?Array.from({length:(0,i.xTc)(4,8)},(e,t)=>t).map(e=>(0,n.jsx)(d,{},e)):(0,n.jsxs)(n.Fragment,{children:[!m&&(null==t?void 0:t.length)===0&&(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)("p",{className:"text-darkblue font-body text-base font-normal leading-tight opacity-75 md:text-lg md:font-medium",children:l})}),null==t?void 0:t.map((e,t)=>(0,n.jsx)(o,{...e,gtmClickEventPayload:f},t)),!!u&&(0,n.jsx)(d,{}),!u&&m&&(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)("p",{className:"text-darkblue font-body text-base font-normal leading-tight opacity-75 md:text-lg md:font-medium",children:m})}),a&&r&&!u&&(0,n.jsx)(c.zx,{className:"self-center",size:"small",color:"underlined",onClick:r,children:a})]})})})})};var m=l(54403);let f="search",x=e=>{let{searchInput:t,searchCallback:l,searchResults:r,locale:o,requestedQuery:c,gtmEvents:d}=e,{results:x,click:p}=d,[h,v]=(0,a.useState)(""),[g,b]=(0,a.useState)(1),[j,w]=(0,a.useState)(),[y,N]=(0,a.useState)({}),[_,k]=(0,a.useState)(!1),[C,A]=(0,a.useState)(null),[S,L]=(0,a.useState)(!1),[E,M]=(0,a.useState)(null),[T,Z]=(0,a.useState)(0),R=e=>{k(!1),L(!1),M(r.genericErrorMessage)},P=e=>{if(e===c)return;let t=new URL(window.location.href);e?t.searchParams.set("query",e):t.searchParams.delete("query"),history.replaceState({},"",t.toString())},F=async e=>{if(P(e),e&&h!==e){v(e),k(!0),M(null);try{let t=await l(e,10,1,(0,i.YfC)(o));if(t.error)throw Error(t.error);k(!1),w(t.hits),Z(t.totalPages),N(t.raw),b(t.page);let n=p?(0,i.$ND)(p,{BLOCK_SEARCH_QUERY:()=>e,BLOCK_SEARCH_COUNT:()=>t.totalHits}):null;A(n),(0,i._4L)(f,{query:e,page:t.page,results:t.hits,raw:t.raw,error:null,totalPages:t.totalPages,totalHits:t.totalHits,gtmResultClickEventPayload:n}),x&&(0,i.rSt)("search results",x,{BLOCK_SEARCH_QUERY:()=>e,BLOCK_SEARCH_COUNT:()=>t.totalHits})}catch(e){w([]),Z(0),N({}),R(e),b(1)}}},O=async()=>{L(!0),M(null);try{let e=await l(h,10,g+1,(0,i.YfC)(o));if(e.error)throw Error(e.error);L(!1),w([...j||[],...e.hits]),Z(e.totalPages),N(e.raw),b(e.page)}catch(e){R(e)}};return(0,a.useEffect)(()=>{if(c){let e=(0,i.wfF)(f);e&&e.query===c?(v(e.query),w(e.results),N(e.raw),b(e.page),Z(e.totalPages),M(e.error),A(e.gtmResultClickEventPayload),x&&(0,i.rSt)("search results",x,{BLOCK_SEARCH_QUERY:()=>c,BLOCK_SEARCH_COUNT:()=>e.totalHits})):F(c)}},[]),(0,n.jsxs)("section",{className:"block--search py-section relative isolate !py-[120px]",children:[(0,n.jsx)("div",{className:(0,m.Z)("bg-gradient-subtle-orange search-clip-path-bg absolute left-0 top-0 -z-20 aspect-[1.8] h-auto w-[60%] bg-gradient-to-r opacity-50 md:w-[45%]")}),(0,n.jsxs)("div",{className:"container-full flex flex-col xl:max-w-7xl",children:[(0,n.jsx)(s,{...t,onSearch:F,initialQuery:c}),(0,n.jsx)(u,{results:j||void 0,moreResultsButtonText:T&&g<T?r.moreResultsButtonText:void 0,noResultsInfo:r.noResultsInfo,onMoreResults:O,isLoading:_,isLoadingNextPage:S,error:E,gtmClickEventPayload:C})]})]})}},1610:function(e,t,l){"use strict";l.r(t),l.d(t,{Sitemap:function(){return r}});var n=l(94043),a=l(21736);let r=e=>{let{items:t,anchor:l}=e;return(0,n.jsx)("section",{id:l,className:"block--Sitemap px-container-sm md:px-container-md xl:px-container-xl mx-auto w-full max-w-[1000px]",children:(0,n.jsx)("ul",{className:"py-section columns-auto gap-x-5 sm:columns-2 md:columns-3 lg:columns-4",children:null==t?void 0:t.map((e,t)=>{var l,r;return(0,n.jsxs)("li",{className:"mb-16 flex w-full min-w-min break-inside-avoid flex-col items-start gap-6 last-of-type:mb-0 sm:mb-12 sm:max-w-[200px] sm:gap-4",children:[(null==e?void 0:null===(l=e.titleLink)||void 0===l?void 0:l.title)&&(0,n.jsx)(a.ee,{className:"text-darkblue font-body text-[26px] font-semibold uppercase leading-tight underline decoration-transparent transition-colors hover:decoration-current focus-visible:decoration-current sm:text-2xl sm:leading-[30px]",link:null==e?void 0:e.titleLink,dangerouslySetInnerHTML:{__html:e.titleLink.title}}),null===(r=e.groups)||void 0===r?void 0:r.map((e,t)=>{var l;return(0,n.jsxs)("div",{className:"flex flex-col items-start gap-3 sm:gap-1",children:[e.subtitle&&(0,n.jsx)("p",{className:"font-body text-darkblue text-sm sm:mb-3 sm:text-xs",children:e.subt
1itle}),(0,n.jsx)("ul",{className:"flex flex-col items-start gap-3 sm:gap-1",children:null===(l=e.links)||void 0===l?void 0:l.map((e,t)=>e.title&&e.href?(0,n.jsx)("li",{children:(0,n.jsx)(a.ee,{className:"text-darkblue font-display text-2xl font-semibold uppercase leading-tight underline decoration-transparent transition-colors hover:decoration-current focus-visible:decoration-current sm:text-base sm:tracking-[0.64px]",link:e,dangerouslySetInnerHTML:{__html:e.title}})},t):null)})]},t)})]},t)})})})}},37200:function(e,t,l){"use strict";l.r(t),l.d(t,{Size:function(){return o}});var n=l(94043),a=l(21736),r=l(54403),i=l(48740);let s=e=>{let{size:t,text:l,color:a,icon:s}=e;return(0,n.jsxs)("div",{className:"block--size flex items-stretch gap-[6px] ",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)("div",{className:(0,r.Z)("mx-2 h-full min-h-14 w-4 rounded-sm",{"bg-green":"green"===a,"bg-red":"red"===a})}),t&&(0,n.jsx)("div",{className:"relative my-[1px] h-[2px] w-full bg-black",children:(0,n.jsx)("div",{className:"font-body absolute right-full top-1/2 -mt-[2px] mr-[6px] -translate-y-1/2 text-base font-normal leading-tight md:text-lg md:font-medium",children:t})})]}),(0,n.jsxs)("div",{className:"flex items-center gap-[6px]",children:[(null==s?void 0:s.src)&&(0,n.jsx)("span",{className:"flex-shrink-0",children:(0,n.jsx)(i.default,{className:"text-[20px] md:text-[24px]",src:s.src,alt:(null==s?void 0:s.alt)||"",width:24,height:24,unoptimized:!0})}),l&&(0,n.jsx)("p",{className:(0,r.Z)("font-body text-base font-normal leading-tight md:text-lg md:font-medium",{"text-green":"green"===a,"text-red":"red"===a}),children:l})]})]})},o=e=>{let{text:t,schemaItems:l}=e;return(0,n.jsx)("section",{className:"block--sizes w-full",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-[30px] md:flex-row md:gap-[20px]",children:[(0,n.jsx)(a.o8,{className:"font-body text-darkblue flex-1 text-base font-normal leading-tight md:text-lg md:font-medium",text:t}),l.length>0&&(0,n.jsx)("div",{className:"flex flex-col pl-[74px] pr-[22px] md:w-full md:max-w-[30%] md:pl-[78px] md:pr-[26px]",children:null==l?void 0:l.map((e,t)=>(0,n.jsx)(s,{size:null==e?void 0:e.size,color:null==e?void 0:e.color,text:null==e?void 0:e.text,icon:null==e?void 0:e.icon},t))})]})})}},42348:function(e,t,l){"use strict";l.r(t),l.d(t,{Socials:function(){return o}});var n=l(94043),a=l(31692),r={src:"/_next/static/media/socials-bg.8c369d69.jpg",height:1334,width:2760,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wgARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAv/aAAwDAQACEAMQAAABrxL/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAEFAn//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAEDAQE/AX//xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/AX//xAAUEAEAAAAAAAAAAAAAAAAAAAAA/9oACAEBAAY/An//xAAWEAEBAQAAAAAAAAAAAAAAAAABEQD/2gAIAQEAAT8hkYLv/9oADAMBAAIAAwAAABD/AP/EABYRAQEBAAAAAAAAAAAAAAAAAAERAP/aAAgBAwEBPxCEN//EABYRAQEBAAAAAAAAAAAAAAAAAAEAEf/aAAgBAgEBPxAXW//EABcQAAMBAAAAAAAAAAAAAAAAAAABMRH/2gAIAQEAAT8QWVArT//Z",blurWidth:8,blurHeight:4},i=l(53198),s=l(54403);let o=e=>{let{username:t="Futuroscope",backgroundImage:l=r,title:o,items:c,anchor:d}=e,u=(0,a.useMemo)(()=>({href:"https://www.instagram.com/".concat(t),newTab:!0}),[t]);return(0,n.jsxs)("section",{className:"block--socials h-socials-block-fluid relative overflow-hidden",id:d,children:[(0,n.jsx)(i.t,{...l,width:1440,height:700,fit:"h-full",className:"absolute-fill h-[calc(100%-85px)] object-[10%_10%]",imageClassName:"object-[35%_center]",borderRadius:"none"}),(0,n.jsx)("div",{className:" container-full ml-container-full-negate relative top-2 z-10 2xl:top-[85px] 2xl:ml-0",children:(0,n.jsxs)("div",{className:(0,s.Z)("text-[24px] md:text-[32px] lg:text-[40px]","font-display relative inline-block pb-[0.2em] pl-[0.6em] pr-[1em] pt-[0.4em]","after-bg-headline-ending-yellow after:bottom-[15%] after:top-[10%]"),children:[(0,n.jsx)("div",{className:"absolute-fill bg-yellow -z-10",style:{clipPath:"pol
1ygon(0 0, 100% 10%, 100% 85%, 0% 100%)"}}),(0,n.jsx)("div",{className:"h2 !text-[1em] font-medium leading-none",children:o}),(0,n.jsxs)("p",{className:"relative -top-[0.2em] text-sm font-medium tracking-[0.04em] md:text-base md:font-semibold",children:["@",t]})]})}),(0,n.jsx)("div",{className:"absolute-center mt-[50px] aspect-[2] h-[calc(100%-90px)] w-auto ",children:(0,n.jsx)("div",{className:"grid grid-cols-[repeat(14,minmax(0,1fr))] gap-3 md:gap-4",children:!!c&&c.filter((e,t)=>t<11).map((e,t)=>(0,n.jsx)(i.ee,{link:u,className:(0,s.Z)("group/link relative cursor-pointer","aspect-square",t+1===1&&"col-span-3 col-start-5",t+1===2&&"col-span-2 col-start-8 place-self-end",t+1===3&&"col-span-2 col-start-7 row-start-2",t+1===4&&"col-span-3 col-start-9 row-start-2",t+1===5&&"col-span-1 col-start-4 row-start-2",t+1===6&&"col-span-2 col-start-2 row-start-1 place-self-end",t+1===7&&"col-span-3 col-start-11",t+1===8&&"col-span-1 col-start-12 row-start-2",t+1===9&&"col-span-2 col-start-1 row-start-2",t+1===10&&"col-span-1 col-start-1 row-start-1 place-self-end",t+1===11&&"col-span-2 col-start-13 row-start-2"),children:(0,n.jsx)(i.t,{...e,width:400,height:400,fit:"cover",className:"aspect-square"},t)},t))})})]})}},57259:function(e,t,l){"use strict";l.r(t),l.d(t,{Steps:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{title:t,items:l,anchor:r}=e;return(0,n.jsx)("section",{className:"block--steps container-full py-section flex justify-center overflow-hidden",id:r,children:(0,n.jsxs)("div",{className:"inline-block max-w-full",children:[(0,n.jsx)("h2",{className:"font-body border-darkblue border-b-2 pb-[0.3em] text-2xl leading-tight md:text-[32px]",children:t}),!!(null==l?void 0:l.length)&&(0,n.jsx)(a.r$,{size:"auto",arrowsPosition:"none",className:"mt-12 md:mt-10 lg:mt-8",children:l.map((e,t)=>(0,n.jsx)(a.d$,{children:(0,n.jsx)(i,{...e})},t))})]})})},i=e=>{let{image:t,description:l,surtitle:r}=e;return(0,n.jsxs)("div",{className:"w-card-step-fluid flex flex-col",children:[(0,n.jsx)(a.t,{...t,aspectRatio:"1.78",width:310,height:174,fit:"cover",className:"bg-[#D9D9D9] md:!rounded-none"}),(0,n.jsxs)("div",{className:"relative pt-7",children:[!!r&&(0,n.jsx)(a._q,{outerTag:"h3",line1:r,line1ClassName:"!text-2xl !py-0",className:"absolute bottom-full !mb-0 translate-y-[6px] transform"}),(0,n.jsx)(a.o8,{className:"text-darkblue !text-base/[1.2]",text:l})]})]})}},18947:function(e,t,l){"use strict";l.r(t),l.d(t,{Tabs:function(){return u}});var n=l(94043),a=l(31692),r=l(60248),i=l(91789),s=l(48977),o=l(53198),c=l(9145);let d=e=>{let t=e.find(e=>e.forcedOpen);return t?(0,c.T8T)(e.indexOf(t)):(0,c.T8T)(0)},u=e=>{let{title:t,subtitle:l,tabs:u,anchor:m}=e,[f,x]=a.useState(d(u));return(0,n.jsxs)("section",{className:"block--tabs py-section relative w-full px-[24px]",children:[(0,n.jsx)("span",{className:"absolute w-full left-0 -top-12 select-none pointer-events-none",id:m}),(0,n.jsxs)("div",{className:"mx-auto flex max-w-[1080px] flex-col",children:[(0,n.jsx)(o._q,{line1:t,line2:l,line1WrapSafe:!0,line2WrapSafe:!0}),(0,n.jsxs)(s.fC,{className:"mt-8 flex flex-col",value:f,onValueChange:x,children:[(0,n.jsx)(s.aV,{className:"border-darkblue/50 flex shrink-0 justify-start gap-6 border-b md:max-w-[70%] md:gap-[34px]",children:(0,n.jsx)(r.S,{children:u.map((e,t)=>{let{label:l}=e,a=(0,c.T8T)(t);return(0,n.jsxs)(s.xz,{value:a,className:"font-display data-[state=active]:text-darkblue text-darkblue/50 hover:text-darkblue group relative flex cursor-pointer select-none items-center justify-center px-2 text-lg font-medium leading-tight outline-none focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-darkblue transition-all first-of-type:-ml-2 md:text-2xl md:leading-[30px]",children:[l,f===a&&(0,n.jsx)(i.E.span,{layoutId:"underline",className:"bg-darkblue absolute -bottom-[1.5px] hidden h-[2px] w-[calc(100%-16px)] rounded-sm group-data-[state=active]:inline-block"})]},t)})})}),u.map((e,t)=>{let{children:l}=e;return(0,n.jsx)(s.VY,{className:"mt-7 grow outline-none",value:(0,c.T8T)(t),forceMount:!0,style:{display:f===(0,c.T8T)(t)?"block":"none"},children:l},t)})]})]})]})}},75283:function(e,t,l){"use strict";l.r(t),l.d(t,{Text:function(){return i}});var n=l(94043),a=l(21736),r=l(54403);let i=e=>{let{text:t,anchor:l,noMargins:i=!1}=e;return(0,n.jsx)("section",{className:(0,r.Z)("block--texts",!i&&"container-full my-section"),id:l,children:(0,n.jsx)(a.o8,{className:"text-paragraph-content mx-auto w-full max-w-[1080px] !leading-tight underline-offset-4 md:!text-lg md:!font-medium [&_a]:underline",text:t})})}},83650:function(e,t,l){"use strict";l.r(t),l.d(t,{TitleHeader:function(){return s}});var n=l(94043),a=l(21736),r=l(54403);let i='url("data:image/svg+xml,'.concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="22" height="70" viewB
1ox="0 0 22 70" fill="none" preserveAspectRatio="none"><path d="M0 0H16.8464C19.9676 0 22.2539 2.93914 21.486 5.96445L6.14757 66.391C5.60875 68.5137 3.69801 70 1.50797 70H0V0Z" fill="#ffe81c"/></svg>'),'")'),s=e=>{let{title:t,description:l,breadcrumbConf:s,theme:o="orange",anchor:c,className:d}=e;return(0,n.jsxs)("section",{id:c,className:(0,r.Z)("block--title-header container-full relative flex flex-col items-center justify-start pt-28 pb-6 xs:justify-center xs:py-12 md:min-h-[300px] md:justify-end md:py-12 lg:min-h-[400px]",d),children:[(0,n.jsx)("div",{className:(0,r.Z)("w-title-header-bg-fluid absolute bottom-0 left-0 right-auto top-0 md:bottom-[20px]","bg-gradient-to-r opacity-60","orange"===o?"opacity-60":"opacity-80","bg-gradient-subtle-".concat(o)),style:{clipPath:"polygon(0% 0%, 87% 0%, 100% 74%, 0% 100%)"}}),!!s&&(0,n.jsx)(a.aG,{...s,className:"mb-4 md:mb-5 "}),(0,n.jsx)(a._q,{line2:t,line2ClassName:(0,r.Z)("!inline !box-decoration-clone","!text-wrap !w-auto !hyphens-auto !text-[32px] !leading-[40px] md:!text-[52px] md:!leading-[60px]","[&>svg]:hidden !bg-transparent !py-[4px] !pr-[0.6em] !pl-[10px]","[--tip-crop-h:40px] md:[--tip-crop-h:60px]"),className:"!mb-0 !block",line2Style:{backgroundImage:"linear-gradient(#ffe81c, #ffe81c), ".concat(i),backgroundRepeat:"no-repeat, no-repeat",backgroundPosition:"left, right",backgroundSize:"calc(100% - 0.5em) var(--tip-crop-h), 0.55em var(--tip-crop-h)"},line2Tag:"span",line1Tag:"span",outerTag:"h1"}),l&&(0,n.jsx)("div",{className:"text-darkblue font-body mt-6 text-center text-lg font-medium leading-tight md:mt-8",dangerouslySetInnerHTML:{__html:l}})]})}},46977:function(e,t,l){"use strict";l.d(t,{i:function(){return n.TitleHeader}});var n=l(83650)},67519:function(e,t,l){"use strict";l.r(t),l.d(t,{Tutorial:function(){return s}});var n=l(94043),a=l(53198),r=l(48740),i=l(11960);let s=e=>{let{mainDescription:t,mainTag:l,bannerImage:s,bannerText:o,steps:c,backgroundImageMobile:d,backgroundImageDesktop:u,anchor:m}=e;return(0,n.jsx)("section",{className:"relative isolate",id:m,children:(0,n.jsxs)("div",{className:"relative flex flex-col pb-[106px] pt-5 md:gap-5 md:pb-44 md:pt-9",children:[(null==d?void 0:d.src)&&(0,n.jsx)("div",{className:"bg-tutorial-clip-path absolute left-0 top-[60px] -z-[1] h-[calc(100%-60px)] w-full md:hidden",children:(0,n.jsx)(a.t,{className:"absolute-fill",borderRadius:"0",src:null==d?void 0:d.src,alt:(null==d?void 0:d.alt)||""})}),(0,n.jsxs)("div",{className:"mx-auto flex max-w-[1300px] flex-col gap-[30px] md:flex-row md:items-center md:gap-5 md:px-[70px] xl:pr-[168px]",children:[(0,n.jsx)(a._q,{...l,className:"md:pr-[70px]",line1ClassName:"!ml-0 md:!ml-[16px] !text-2xl !font-medium",line2ClassName:"!text-[32px] !-mt-[8px] !leading-[40px] md:text-[40px] w-max ml-6 md:ml-0 py-[4px] pr-[5px] pl-[16px] md:py-[10px]"}),t&&(0,n.jsx)("div",{className:"font-body md:text-darkblue px-6 text-base font-normal leading-5 text-white md:text-2xl md:font-medium",dangerouslySetInnerHTML:{__html:t}})]}),(0,n.jsxs)("div",{className:"relative flex flex-col pt-9",children:[(null==u?void 0:u.src)&&(0,n.jsx)("div",{className:"bg-tutorial-clip-path absolute left-0 top-0 -z-[1] hidden h-[calc(100%+176px)] w-full md:block",children:(0,n.jsx)(a.t,{className:"absolute-fill",borderRadius:"0",src:null==u?void 0:u.src,alt:(null==u?void 0:u.alt)||""})}),c&&(null==c?void 0:c.length)>0&&(0,n.jsx)("div",{className:"container-snap relative flex w-full snap-x snap-mandatory gap-5 overflow-x-auto px-6 md:mx-auto md:max-w-[970px] md:snap-none",children:null==c?void 0:c.map((e,t)=>{let{stepTag:l,stepTitle:r,stepDescription:i}=e;return(0,n.jsxs)("div",{className:"w-2/3 shrink-0 snap-center py-4 md:w-auto md:flex-1 md:py-0",children:[(0,n.jsx)(a._q,{...l,line2ClassName:"!text-[24px] !font-medium md:!text-2xl !py-[2px] !pb-0 !leading-snug"}),(0,n.jsx)("p",{className:"font-display leading- mt-6 text-2xl font-medium leading-[30px] text-white",children:r}),(0,n.jsx)("div",{className:"font-body mt-4 text-base font-normal leading-tight text-white",dangerouslySetInnerHTML:{__html:i||""}})]},t)})}),o&&(0,n.jsx)("div",{className:"mt-14 px-6 md:mt-[60px]",children:(0,n.jsxs)("div",{className:"bg-gradient-skyblue relative flex max-w-[860px] rounded-[10px] bg-gradient-to-b py-4 pl-[100px] pr-4 md:mx-auto md:py-5 md:pl-[220px] md:pr-[100px]",children:[(null==s?void 0:s.src)&&(0,n.jsx)(r.default,{className:"absolute -left-3 top-1/2 max-w-24 -translate-y-1/2 md:-top-[20px] md:left-[20px] md:max-w-40 md:translate-y-0",src:null==s?void 0:s.src,alt:(null==s?void 0:s.alt)||"",width:250,height:150,loader:e=>(0,i.X)(e,250,150,"cover")}),(0,n.jsx)("div",{className:"font-display text-darkblue text-[20px] font-medium leading-[24px] md:text-[32px] md:leading-none",dangerouslySetInnerHTML:{__html:o}})]})})]})]})})}},76397:function(e,t,l){"use strict";var n=l(94043),a=l(31692),r=l(54403),i=l(53198);t.default=e=>{let{surtitle:t,title:l,alignment:s="left",maxWidth:o,maxWidthMobile:c,scriptUrl:d,markerId:u,dataAttributes:m,customJs:f}=e;(0,a.useEffect)(()=>{let e,t;let l=()=>{f&&((t=document.createElement("script")).textContent=f,document.body.appendChild(t))};return d?((e=document.createElement("script")).src=d,e.async=!0,e.onload=l,document.body.appendChild(e)):l(),()=>{e&&document.body.removeChild(e),t&&document.body.removeChild(t)}},[]);let x=m.reduce((e,t)=>
1{let{key:l,value:n}=t;return{...e,["data-".concat(l)]:n}},{});return(0,n.jsxs)("div",{className:"w-full",children:[l&&(0,n.jsx)(i._q,{outerTag:"h2",line1:t,line2:l,line1WrapSafe:!0,line2WrapSafe:!0}),(0,n.jsx)("div",{className:(0,r.Z)("flex",{"justify-start":"left"===s,"justify-center":"center"===s,"justify-end":"right"===s}),children:(0,n.jsx)("div",{className:"w-full max-w-[var(--widget-max-width-mobile)] md:max-w-[var(--widget-max-width-desktop)]",style:{"--widget-max-width-mobile":c||o||"none","--widget-max-width-desktop":o||"none"},children:(0,n.jsx)("div",{id:u||void 0,...x})})})]})}},56081:function(e,t,l){"use strict";l.d(t,{e:function(){return n.default}});var n=l(76397)},48831:function(e,t,l){"use strict";l.d(t,{UQ:function(){return n.Accordion},pK:function(){return a.AccountWrapper},bZ:function(){return o},gR:function(){return c.AlertsWrapper},gm:function(){return d.AnchorNavigation},f:function(){return u.Calendar},lr:function(){return m.Carousel},r$:function(){return f.CarouselBase},d$:function(){return f.CarouselItem},MP:function(){return x.CarouselWithCards},jh:function(){return p.DescriptionWithGallery},y1:function(){return h.ExperienceHeader},CT:function(){return v.FeaturesList},x$:function(){return g.Filters},TO:function(){return b.Focus},$_:function(){return j.Footer},Rg:function(){return w.Heroes},X9:function(){return y.ImageWithLink},BS:function(){return N.Infos},xZ:function(){return _.Legals},yX:function(){return k.Links},uc:function(){return C.LoginWrapper},D5:function(){return A.Map},pU:function(){return S.Media},f_:function(){return L.Mosaics},W_:function(){return E.Navigation},YE:function(){return M.OfferHeader},Tx:function(){return T.Prices},fe:function(){return Z.Reservation},Zv:function(){return R.Reviews},cF:function(){return P.Scrolls},ol:function(){return F.Search},YM:function(){return O.Sitemap},$u:function(){return I.Size},I_:function(){return D.Socials},yP:function(){return q.Steps},Dj:function(){return f.SwiperNavigationBelow},mQ:function(){return z.Tabs},xv:function(){return V.Text},iL:function(){return Y.i},Cg:function(){return H.Tutorial},YJ:function(){return f.useSwiperReactive}});var n=l(18161),a=l(80391),r=l(94043),i=l(54403),s=l(53198);let o=e=>{let{content:t,title:l}=e;return(0,r.jsx)("section",{className:(0,i.Z)("block--alerts","bg-gradient-skyblue container-full w-full bg-gradient-to-b px-6",l?"py-8":" py-3"),children:(0,r.jsxs)("div",{className:(0,i.Z)("",l?"text-left text-lg/[1.2]":"text-center text-sm/[1.2]"),children:[!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.JO,{icon:"info",className:"mb-1 text-[32px]"}),(0,r.jsx)("p",{className:"text-darkblue font-body m-0 p-0 font-bold",children:l})]}),(0,r.jsx)("div",{className:"text-darkblue [&>a]:custom-underline font-normal",dangerouslySetInnerHTML:{__html:t||""}})]})})};var c=l(27954),d=l(24561),u=l(25302),m=l(66722),f=l(15274),x=l(94141),p=l(19926),h=l(8948),v=l(86042),g=l(6610),b=l(78137),j=l(33027);l(72951);var w=l(35995),y=l(21531),N=l(47726),_=l(26829),k=l(23261),C=l(51957);l(89254);var A=l(50478);l(34421);var S=l(73755),L=l(32792),E=l(27197);l(90103);var M=l(7897),T=l(69115);l(60323);var Z=l(1631);l(10566),l(49675),l(69869);var R=l(37350),P=l(48869),F=l(17019),O=l(1610),I=l(37200),D=l(42348),z=l(18947),V=l(75283),H=l(67519),B=l(85444),U=l(79123),W=l(68876);U.default,W.default,B.default;var q=l(57259),Y=l(46977);l(56081)},10789:function(e,t,l){"use strict";l.d(t,{e:function(){return i}});var n=l(94043),a=l(9145),r=l(31692);let i=(0,r.forwardRef)((e,t)=>{let{link:l,children:i,download:s,forceGtmEvent:o,...c}=e,d=(0,r.useMemo)(()=>l?"a":"span",[l]),u=(0,r.useMemo)(()=>s?void 0:(null==l?void 0:l.newTab)?"_blank":"_self",[l,s]);return(0,n.jsx)(d,{ref:t,href:(null==l?void 0:l.href)||"",target:u,download:s,...o?c:{},..."object"==typeof(null==l?void 0:l.gtmEvent)&&(null==l?void 0:l.gtmEvent)&&Object.keys(l.gtmEvent).length>0?{onClick:async e=>{c.onClick&&c.onClick("string"==typeof d?e:e.nativeEvent),"string"==typeof d?(e.preventDefault(),await (0,a.Ztn)(l.gtmEvent),window.open(null==l?void 0:l.href,u)):(0,a.iJF)(l.gtmEvent)}}:{},...o?{}:c,children:i})})},16369:function(e,t,l){"use strict";l.r(t),l.d(t,{BlockPlaceholder:function(){return r}});var n=l(94043),a=l(31692);let r=e=>{let{block:t,blockName:l,isDeclared:r}=e,[i,s]=(0,a.useState)(!1);return(0,n.jsxs)("div",{children:["Block `",l,"` is not ",r?"implemented":"declared"," ",(0,n.jsx)("button",{onClick:()=>s(!i),children:"see data structure"}),i&&(0,n.jsx)("pre",{style:{width:"100%",whiteSpace:"pre-wrap"},children:JSON.stringify(t,null,2)})]})}},40937:function(e,t,l){"use strict";l.r(t),l.d(t,{Button:function(){return c}});var n=l(94043),a=l(54403),r=l(31692),i=l(27671),s=l(10789),o=l(52339);let c=e=>
1{let{children:t,onClick:l,link:c,className:u,size:m="small",color:f="bright",blockLink:x,icon:p,iconPosition:h="left",customIconSize:v,submit:g}=e,b=(0,r.useMemo)(()=>(null==c?void 0:c.newTab)&&!p?"external-link":p,[p,null==c?void 0:c.newTab]),j=(0,r.useMemo)(()=>(null==c?void 0:c.newTab)&&!p?"right":h,[p,h,null==c?void 0:c.newTab]),w=(null==c?void 0:c.image)?void 0:(0,a.Z)("\n      font-body leading-light relative inline-flex items-center justify-center font-medium gap-2 rounded-[10px] z-10\n      hover:shadow-lg transition-all duration-200\n      active:translate-y-[1px] active:shadow-md\n      focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2\n      ".concat("left"===j?"flex-row":"flex-row-reverse","\n    "),"bright_inverted"===f?{"text-sm px-[23px] py-[9px]":"small"===m,"text-sm px-[23px] py-[9px] md:text-lg md:leading-[30px] md:px-[23px] md:py-[13px]":"large"===m}:{"text-sm px-6 py-[10px]":"small"===m,"text-sm px-6 py-[10px] md:text-lg md:px-6 md:py-[14px]":"large"===m},{"bg-blue text-white hover:bg-blue-90 peer-hover:bg-blue-90 focus-visible:outline-darkblue":"bright"===f,"bg-darkblue text-white hover:bg-darkblue-90 peer-hover:bg-darkblue-90 focus-visible:outline-blue":"dark"===f,"bg-white text-blue border-blue border focus-visible:outline-blue":"bright_inverted"===f,"text-blue !rounded-none !px-0 active:shadow-none active:transform-none after:absolute after:h-[1px] after:w-full after:bottom-0 after:bg-[currentColor] hover:after:scale-y-[2] peer-hover:after:scale-y-[2] hover:shadow-none peer-hover:shadow-none after:transition after:origin-bottom [&>span]:will-change-transform [&>span]:transition [&>span]:duration-100 active:[&>span]:translate-y-[1px] focus-visible:outline-darkblue":"underlined"===f},u),y=(null==c?void 0:c.specialAction)==="downloadMenu",N=()=>(null==c?void 0:c.image)?c.image.src.includes(".svg")?(0,n.jsx)(d,{...c.image}):(0,n.jsx)(o.t,{...c.image,className:"w-auto",aspectRatio:"none",fit:"contain",borderRadius:"0"}):(0,n.jsxs)(n.Fragment,{children:[b&&(0,n.jsx)("span",{className:(0,a.Z)("[&>svg]:block",v?"text-[".concat(v,"px]"):"text-[1.5em]","underlined"===f?"":"left"===j?"-ml-[0.4em] ":"-mr-[0.4em] "),children:(0,n.jsx)(i.J,{icon:b})}),t?(0,n.jsx)("span",{className:(0,a.Z)("block whitespace-normal break-words"),children:t}):(null==c?void 0:c.title)&&(0,n.jsx)("div",{className:(0,a.Z)("whitespace-normal break-words"),dangerouslySetInnerHTML:{__html:c.title}})]});return t||(null==c?void 0:c.title)?(0,n.jsx)("span",{children:(null==c?void 0:c.href)?(0,n.jsxs)(n.Fragment,{children:[x&&(0,n.jsx)(s.e,{link:c,className:"block-link peer pointer-events-none opacity-0",tabIndex:-1,"aria-hidden":"true",...l?{onClick:l}:{},download:y}),(0,n.jsx)(s.e,{link:c,className:w,...l?{onClick:l}:{},download:y,children:N()})]}):(0,n.jsxs)(n.Fragment,{children:[x&&(0,n.jsx)("span",{...l?{onClick:l}:{},className:"block-link peer pointer-events-none cursor-pointer opacity-0",tabIndex:-1,"aria-hidden":"true"}),(0,n.jsx)("button",{className:w,...l?{onClick:l}:{},type:g?"submit":"button",children:N()})]})}):null},d=e=>{let{src:t,alt:l}=e,[a,i]=(0,r.useState)(null);return(0,r.useEffect)(()=>{fetch(t).then(e=>e.text()).then(e=>{let t=new DOMParser().parseFromString(e,"image/svg+xml").querySelector("svg");t&&i({width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")})})}),(0,n.jsx)("img",{src:t,alt:l,width:null==a?void 0:a.width,height:null==a?void 0:a.height})}},28543:function(e,t,l){"use strict";l.d(t,{z:function(){return n.Button}});var n=l(40937)},47651:function(e,t,l){"use strict";l.r(t),l.d(t,{Card:function(){return i},isCardLarge:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{switch(e.type){case"Rooms":case"Offer":case"Review":case"SecondaryExperience":return!0;default:return!1}},i=e=>{let{type:t}=e;switch(t){case"PrimaryExperience":return(0,n.jsx)(a.MG,{...e});case"SecondaryExperience":return(0,n.jsx)(a.Im,{...e});case"Formula":return(0,n.jsx)(a.OJ,{...e});case"Rooms":return(0,n.jsx)(a.U_,{...e});case"Featured":return(0,n.jsx)(a.fK,{...e});case"Offer":return(0,n.jsx)(a.FM,{...e});case"Content":return(0,n.jsx)(a.uW,{...e});case"Character":return(0,n.jsx)(a.Ot,{...e});case"Review":return(0,n.jsx)(a.Ak,{...e});default:return null}}},9719:function(e,t,l){"use strict";l.r(t),l.d(t,{CharacterCard:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{link:t,tag:l,title:i,subtitle:s,backgroundImage:o,characterImage:c}=e,d=!!(null==c?void 0:c.src);return(0,n.jsx)("div",{className:(0,r.Z)("h-card-md-fluid relative inline-flex max-w-[80vw]",d?"aspect-[289/335] md:aspect-[508/437]":"aspect-[0.66] md:aspect-[0.87]"),children:(0,n.jsxs)(a.ee,{link:t,className:"group/link flex flex-1 transition duration-500 will-change-transform ",children:[(0,n.jsx)("div",{className:"relative flex h-full w-full overflow-hidden rounded-[10px] bg-transparent ",children:(0,n.jsxs)("div",{className:"relative flex flex-1",children:[(0,n.jsx)("div",{className:"absolute-fill",style:{filter:'url("#flt_tag")'},children:(0,n.jsx)("div",{className:"absolute-fill",style:{right:d?"25%":"
10",clipPath:"polygon(0 0, 100% 10%, 100% 90%, 0% 100%)"},children:(null==o?void 0:o.src)&&(0,n.jsx)(a.t,{src:o.src,alt:o.alt||"",className:"absolute-fill will-change-transform",width:860,height:576,children:(0,n.jsx)("div",{className:"bg-gradient-experience3d-card absolute left-0 top-0 z-[1] h-full w-full mix-blend-multiply will-change-transform"})})})}),(0,n.jsxs)("div",{className:(0,r.Z)("z-[1] flex flex-1 flex-col items-start self-end px-3 py-8 will-change-transform md:py-12",d?"max-w-[60%] ":""),children:[l&&(0,n.jsx)(a.Vp,{className:"!text-sm !font-semibold text-white",children:l}),(0,n.jsx)("h3",{className:"font-body mt-[10px] text-base font-bold leading-tight text-white md:text-[28px]",children:i}),s&&(0,n.jsx)("p",{className:"font-display mt-2 text-xs font-semibold leading-tight text-white md:text-base",children:s})]})]})}),d&&(0,n.jsx)(a.t,{src:c.src,alt:c.alt||"",className:"!absolute bottom-0 right-0 z-10 h-auto w-[50%]",width:260,height:357}),(0,n.jsx)("svg",{className:"absolute h-0 w-0",style:{visibility:"hidden"},xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"flt_tag",children:[(0,n.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"5",result:"blur"}),(0,n.jsx)("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 20 -10",result:"flt_tag"}),(0,n.jsx)("feComposite",{in:"SourceGraphic",in2:"flt_tag",operator:"atop"})]})})})]})})}},1608:function(e,t,l){"use strict";l.r(t),l.d(t,{ContentCard:function(){return c}});var n=l(94043),a=l(21736),r=l(54403),i=l(48740),s=l(31692),o=l(11960);let c=e=>{let{image:t,icon:l,description:c,link:d,title:u,className:m,info:f,inCarousel:x}
1=e,[p,h]=(0,s.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,r.Z)("relative inline-flex !h-full max-w-full flex-col items-start","lg:w-card-content-fluid",x?"w-[calc(100vw-72px)] pr-6 sm:w-[calc(50vw-48px)] sm:pr-12 md:w-[calc(50vw-72px)] lg:pr-0":"xs:w-[calc(50%-0.4rem)] w-full sm:w-[calc(33.3%-0.8rem)] md:w-[calc(33.3%-1rem)]",m),children:[(0,n.jsxs)("div",{className:"flex w-full flex-col gap-3 md:gap-4",children:[l&&l.src&&(0,n.jsx)(i.default,{className:"h-10 w-10",src:l.src,alt:l.alt||"",height:40,width:40,loader:e=>(0,o.X)(e,40,40,"contain")}),t&&(null==t?void 0:t.src)&&(0,n.jsx)(a.t,{...t,className:"h-auto w-full",aspectRatio:"16/9",width:420,height:236,fit:"cover"}),(0,n.jsx)("h3",{className:"font-display text-darkblue text-2xl font-medium leading-[30px]",children:u}),c&&(0,n.jsx)(a.o8,{text:c,className:"text-darkblue font-body !text-lg !font-medium !leading-tight transition-opacity [&_a]:relative [&_a]:z-20 [&_a]:normal-case [&_a]:underline [&_a]:underline-offset-4 [&_a]:after:hidden [&_a]:hover:opacity-75"})]}),d&&(0,n.jsx)(a.zx,{className:"mt-1 md:mt-4",link:d,color:"underlined",blockLink:!0,..."openInfoPopin"===d.specialAction?{onClick:()=>{h(!0)}}:{}})]}),!!(p&&f)&&(0,n.jsx)(a.VL,{variant:"room",room:{title:"",description:f},open:p,onOpenChange:e=>h(e)})]})}},36152:function(e,t,l){"use strict";l.r(t),l.d(t,{FeaturedCard:function(){return s}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s=e=>{let{link:t,featuredImage:l,title:s}=e,{links:[o],externalPopinUrl:c,externalPopinTitle:d,externalPopinOpened:u,setExternalPopinOpened:m}=(0,r.lV_)(t?[t]:void 0);return(0,n.jsxs)("div",{style:(null==t?void 0:t.title)&&s?{filter:'url("#flt_tag")'}:void 0,className:(0,i.Z)("relative inline-flex justify-center transition ease-out will-change-transform",(null==t?void 0:t.href)&&"cursor-pointer hover:scale-[1.02]","h-card-sm-fluid ",(null==t?void 0:t.title)&&s?"aspect-[271/353] h-full w-full max-w-[420px] md:aspect-[420/332]":"aspect-[0.71]"),children:[(null==t?void 0:t.title)&&s?(0,n.jsxs)("div",{className:"carousel-card-clip-path relative inline-flex h-full w-full justify-center overflow-hidden rounded-[10px] bg-transparent",style:{clipPath:"polygon(0 5%, 100% 0, 100% 100%, 0 95%)"},children:[(0,n.jsx)(a.t,{src:l.src,alt:l.alt||"",className:"absolute-fill will-change-transform",width:300,height:500,fit:"cover",children:(0,n.jsx)("div",{className:"bg-easing-b-featureCard absolute bottom-0 left-0 right-0 top-1/3 will-change-transform"})}),(0,n.jsxs)("div",{className:"z-10 flex flex-col items-start self-end px-5 py-11 will-change-transform",children:[s&&(0,n.jsx)("h3",{className:"font-display text-[52px] font-medium leading-[48px] text-white",children:s}),t.title&&(0,n.jsx)(a.zx,{className:"mt-2",blockLink:!0,...o})]}),(0,n.jsx)("svg",{className:"pointer-events-none absolute inset-1 z-20 opacity-0 transition-opacity focus-within:opacity-100",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:(0,n.jsx)("polygon",{points:"0,5 100,0 100,100 0,95",fill:"none",stroke:"white",strokeWidth:"3",vectorEffect:"non-scaling-stroke"})}),(0,n.jsx)("svg",{className:"absolute h-0 w-0",style:{visibility:"hidden"},xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"flt_tag",children:[(0,n.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"5",result:"blur"}),(0,n.jsx)("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 20 -10",result:"flt_tag"}),(0,n.jsx)("feComposite",{in:"SourceGraphic",in2:"flt_tag",operator:"atop"})]})})})]}):(0,n.jsxs)("div",{className:"h-full ",children:[(0,n.jsx)(a.t,{src:l.src,alt:l.alt||"",className:"absolute-fill will-change-transform",width:300,height:500,fit:"contain"}),(0,n.jsx)("div",{className:"z-10 flex flex-col items-start self-end px-5 py-11 will-change-transform",children:s&&(0,n.jsx)("h3",{className:"font-display text-[52px] font-medium leading-[48px] text-white",children:s})}),(0,n.jsx)(a.ee,{link:t,onClick:null==o?void 0:o.onClick,className:"block-link outline-none after:pointer-events-none after:absolute after:inset-1 after:z-20 after:rounded-[10px] after:transition-shadow focus-visible:after:shadow-[inset_0_0_0_3px_white]",children:(0,n.jsx)("span",{className:"sr-only",children:s})})]}),c&&(0,n.jsx)(a._$,{url:c,title:d,open:u,onOpenChange:m})]})}},18362:function(e,t,l){"use strict";l.r(t),l.d(t,{FormulaCard:function(){return s}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s=e=>{let{prices:t,title:l,description:s,className:o,ctas:c}=e,{links:d}=(0,r.lV_)(c,{secondary:{color:"underlined"},[(null==c?void 0:c.length)?(null==c?void 0:c.length)-1:0]:{blockLink:!0}});return(0,n.jsxs)("div",{className:(0,i.Z)("w-card-offer-fluid bg-gradient-formula-card relative inline-flex flex-col justify-between gap-5 rounded-[10px] px-3 py-5","md:gap-7 md:px-6 md:py-6","transition will-change-transform hover:-translate-y-0.5",o),children:[(0,n.jsxs)("div",{className:"flex-1",children:[(0,n.jsx)("h3",{className:"font-body text-darkblue text-xl font-medium leading-8 md:text-2xl",children:l}),s&&(0,n.jsx)("div",{className:"font-body text-darkblue mt-3 text-base font-normal leading-tight md:mt-4 md:text-lg md:font-medium",dangerouslySetInnerHTML:{__html:s}})]}),(0,n.jsxs)("div",{className:"pt-5",children:[t&&t.length>0&&(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-4 md:gap-6",children:null==t?void 0:t.map((e,t)=>(0,n.jsx)(a.tA,{...e,layout:"horizontal",size:"default"},t))}),d.length>0&&(0,n.jsx)("div",{className:"mt-3 flex items-center gap-4 md:mt-4",children:d.map((e,t)=>(0,n.jsx)(a.zx,{...e},t))})]})]})}},98649:function(e,t,l){"use strict";l.r(t),l.d(t,{OfferCard:function(){return o}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s=e=>{let[t,l]=e.split(/<br\s*\/?>|<br>/);return{line1:t,line2:l}},o=e=>{let{surTitle:t,picture:l,tags:o,description:c,featuresList:d,title:u,codePromo:m,links:f,prices:x,period:p}=e,h=!!d&&d.length>0,{links:v}=(0,r.lV_)(f,{_default:(e,t)=>({size:"small",color:t===((null==f?void 0:f.length)||0)-1?"underlined":"bright",className:"z-20 focus-visible:!outline-darkblue",blockLink:!0}),secondary:{color:"bright_inverted",className:"focus-visible:!outline-darkblue"},primary:{color:"bright",className:"focus-visible:!outline-darkblue"}});return(0,n.jsxs)("div",{className:(0,i.Z)("w-card-offer-fluid relative inline-flex !h-full flex-col pt-[15px] ","transition will-change-transform hover:-translate-y-0.5"),children:[t&&(0,n.jsx)(a._q,{line1ClassName:"!ml-0 !text-[16
1px] md:!text-[20px] !whitespace-normal",line2ClassName:"!text-[16px] md:!text-[20px] !whitespace-normal",className:"pointer-events-none absolute left-0 top-[27px] z-10 w-full max-w-[85%] uppercase will-change-transform",color:"orange",outerTag:"div",...s(t)}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col overflow-hidden rounded-[10px]",children:[(0,n.jsxs)("div",{className:" relative",children:[(0,n.jsx)(a.t,{src:l.src,alt:l.alt,borderRadius:"none",width:420,height:194,aspectRatio:"2.17"}),m&&(0,n.jsx)("div",{className:"bg-yellow absolute -bottom-[12px] left-6 rounded-[5px] px-2 pb-1.5 pt-2 will-change-transform",children:(0,n.jsx)("span",{className:"text-darkblue font-display text-lg font-semibold uppercase leading-tight",children:m})})]}),(0,n.jsxs)("div",{className:" flex flex-1 flex-col gap-5 bg-white bg-gradient-to-b from-[#D68C31]/5 to-[#369FFB]/10 px-6 py-5",children:[(0,n.jsxs)("div",{className:"flex flex-col items-start",children:[(0,n.jsx)("h3",{className:"text-darkblue font-body text-xl font-medium leading-[22px] md:text-2xl md:leading-[28px]",children:u}),(o||p)&&(0,n.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[!!(null==o?void 0:o.length)&&o.map((e,t)=>(0,n.jsx)(a.Vp,{className:"!text-sm !font-semibold",children:e},t)),p&&(0,n.jsx)("p",{className:"font-display ml-1 !text-sm !font-semibold",children:p})]})]}),c&&(0,n.jsx)(a.o8,{className:"!text-lg !leading-tight",text:c}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col gap-5 md:flex-row md:justify-start",children:[h&&(0,n.jsx)(a.Kb,{featuresList:d,className:"flex flex-1 "}),(0,n.jsx)("div",{className:(0,i.Z)("flex flex-1 justify-start ",h?"md:flex-[0_0_33%]":""),children:(0,n.jsxs)("div",{className:"flex flex-col items-start justify-start gap-4 md:justify-between md:gap-5",children:[!!(null==x?void 0:x.length)&&(0,n.jsx)("div",{className:"flex flex-row flex-wrap gap-4",children:x.map((e,t)=>(0,n.jsx)(a.tA,{...e,layout:h?"vertical":"horizontal"},t))}),!!(null==f?void 0:f.length)&&(0,n.jsx)("div",{className:(0,i.Z)("flex flex-grow flex-row items-center gap-4 md:flex-col md:justify-end",h?"md:flex-col md:gap-[5px]":""),children:v.map((e,t)=>(0,n.jsx)(a.zx,{...e},t))})]})})]})]})]})]})}},77404:function(e,t,l){"use strict";l.r(t),l.d(t,{PrimaryExperienceCard:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{link:t,starsCount:l=0,tag:i,title:s,subtitle:o,backgroundImage:c,isFeatured:d}=e;return(0,n.jsx)("div",{className:(0,r.Z)("inline-flex overflow-hidden rounded-[10px] transition will-change-transform hover:scale-[1.02]","h-card-sm-fluid",d?"aspect-square md:aspect-[488/344]":"aspect-[0.71]"),children:(0,n.jsx)("div",{className:(0,r.Z)("flex flex-1"),children:(0,n.jsxs)("div",{className:"relative flex flex-1",children:[(0,n.jsx)(a.t,{...c,width:d?550:300,height:380,aspectRatio:"none",className:"absolute-fill"}),(0,n.jsx)("div",{className:"bg-gradient-experience-card absolute left-0 top-0 h-full w-full rounded-[10px] mix-blend-multiply will-change-transform"}),(0,n.jsxs)("div",{className:"z-[1] flex flex-1 flex-col items-start self-end px-3 py-5 will-change-transform",children:[i&&(0,n.jsx)(a.Vp,{className:"!text-xs !font-semibold text-white md:!text-sm",children:i}),(0,n.jsx)("h3",{className:"font-body mt-[10px] text-base font-bold leading-tight text-white md:text-2xl md:font-medium md:leading-8",children:s}),l>0&&(0,n.jsx)(a.tS,{className:"mt-1 text-white",starsCount:l}),o&&(0,n.jsx)("div",{className:"font-display mt-2 text-xs font-semibold leading-tight text-white md:text-sm [&>p]:inline",dangerouslySetInnerHTML:{__html:o}})]}),(0,n.jsx)(a.ee,{link:t,className:"block-link outline-none after:pointer-events-none after:absolute after:inset-1 after:z-20 after:rounded-[10px] after:transition-shadow focus-visible:after:shadow-[inset_0_0_0_3px_white]",children:(0,n.jsx)("span",{className:"sr-only",children:s})})]})})})}},29560:function(e,t,l){"use strict";l.r(t),l.d(t,{ReviewCard:function(){return d}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403),s=l(48740),o=l(31692),c=l(11960);let d=e=>{let{name:t,avatar:l,starsCount:d=0,date:u,description:m,link:f,logo:x}=e,p=(0,o.useRef)(null),{windowSize:h}=(0,r.iPe)(),[v,g]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{var e,t;p.current&&g(!!m&&(null===(e=p.current)||void 0===e?void 0:e.scrollHeight)>(null===(t=p.current)||void 0===t?void 0:t.clientHeight))},[p,m,h.width]),(0,n.jsxs)("div",{className:(0,i.Z)("w-card-offer-fluid relative inline-flex rounded-[10px] bg-[#F7F7F7] transition-all will-change-transform","h-full min-h-[172px] flex-col pb-4 pl-6 pr-5 pt-5 shadow-md md:pt-6 lg:pt-8","hover:shadow-md-shifted-y1 hover:-translate-y-1"),children:[(0,n.jsxs)("div",{className:"flex items-start justify-between",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[l&&(0,n.jsx)("div",{className:"relative mr-3 h-12 w-12 overflow-hidden rounded-full md:mr-[18px] md:h-16 md:w-16",children:(0,n.jsx)(a.t,{className:"absolute-fill",src:l.src,alt:l.alt,width:64,height:64})}),(0,n.jsxs)("div",{className:"flex flex-col items-start",children:[(0,n.jsx)("p",{className:"text-darkblue font-body text-sm font-normal leading-tight md:text-base md:leading-[27px]",children:t}),(0,n.jsxs)("div",{className:" flex flex-row gap-[10px] md:mt-1 md:flex-col md:gap-1 ",children:[d>0&&(0,n.jsxs)("div",{className:"flex items-center gap-0.5",children:[[...Array(Math.min(d,5))].map((e,t)=>(0,n.jsx)(a.JO,{icon:"review-star-filled",className:"text-orange-futu aspect-square w-4 lg:w-[20px]"},t)),[...Array(Math.max(5-d,0))].map((e,t)=>(0,n.jsx)(a.JO,{icon:"review-star-outlined",className:"text-orange-futu aspect-square w-4 lg:w-[20px]"},t))]}),(0,n.jsx)("p",{className:"text-darkblue font-body text-[10px] font-light leading-[27px] md:text-sm",children:u})]})]})]}),(0,n.jsx)(s.default,{className:"h-5 w-5 md:h-8 md:w-8",src:x.src,alt:x.alt||"",width:32,height:32,loader:e=>
1(0,c.X)(e,32,32,"contain")})]}),(0,n.jsx)("div",{className:"flex-1 ",children:m&&(0,n.jsx)(a.o8,{ref:p,text:m,className:(0,i.Z)("text-darkblue font-body text-sm font-normal !leading-tight md:text-base md:font-medium","mt-[10px] line-clamp-3 max-h-[3.75em] md:mt-[20px]")})}),(null==f?void 0:f.href)&&v&&(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)(a.zx,{link:{...f,newTab:!0},className:"mt-1",blockLink:!0,color:"underlined"})})]})}},34188:function(e,t,l){"use strict";l.r(t),l.d(t,{RoomsCard:function(){return i}});var n=l(94043),a=l(53198),r=l(9145);let i=e=>{let{title:t,subtitle:l,links:i,backgroundImage:s,roomInfo:o}=e,{links:c,infoPopinOpened:d,setInfoPopinOpened:u}=(0,r.lV_)(i,{_default:(e,t)=>{let l=e.type;if("auto"===l){var n;l=i.length>0&&(null===(n=i[t-1])||void 0===n?void 0:n.type)==="primary"?"secondary":"primary"}return"secondary"===l?{color:"underlined",size:"small",className:"text-white",blockLink:!0,onClick:()=>{o&&u(!0)}}:{size:"small",className:"z-[2]"}}});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"h-card-lg-fluid inline-flex aspect-[250/342] h-full w-auto md:aspect-[860/576]",style:{filter:'url("#flt_tag")'},children:[(0,n.jsx)("div",{className:"carousel-card-clip-path group relative flex h-full w-full overflow-hidden rounded-[10px] bg-transparent ",style:{clipPath:"polygon(0 5%, 100% 0, 100% 100%, 0 95%)"},children:(0,n.jsxs)("div",{className:"relative flex h-full w-full flex-1 will-change-transform",children:[(null==s?void 0:s.src)&&(0,n.jsx)(a.t,{src:s.src,alt:s.alt||"",className:"absolute-fill transition duration-500 will-change-transform group-hover:scale-[1.05]",width:860,height:576}),(0,n.jsx)("div",{className:"bg-gradient-experience3d-card absolute left-0 top-0 z-[1] h-full w-full mix-blend-multiply will-change-transform"}),(0,n.jsxs)("div",{className:"z-[1] self-end px-3 py-[30px] will-change-transform md:px-6 md:py-[60px]",children:[(0,n.jsx)("h3",{className:"font-display text-2xl font-medium leading-[30px] text-white drop-shadow-lg md:text-[40px] md:leading-[40px]",children:t}),l&&(0,n.jsx)("p",{className:"font-display text-xs font-semibold leading-tight tracking-[0.48px] text-white drop-shadow-lg md:text-2xl md:tracking-[0.96px]",children:l}),i&&i.length>0&&(0,n.jsx)("div",{className:"mt-4 flex items-center gap-5 md:mt-[10px]",children:c.map((e,t)=>(0,n.jsx)(a.zx,{...e},t))})]})]})}),(0,n.jsx)("svg",{className:"absolute h-0 w-0",style:{visibility:"hidden"},xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"flt_tag",children:[(0,n.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"5",result:"blur"}),(0,n.jsx)("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 20 -10",result:"flt_tag"}),(0,n.jsx)("feComposite",{in:"SourceGraphic",in2:"flt_tag",operator:"atop"})]})})})]}),d&&o&&(0,n.jsx)(a.VL,{variant:"room",room:o,open:d,onOpenChange:e=>u(e)})]})}},88324:function(e,t,l){"use strict";l.r(t),l.d(t,{SecondaryExperienceCard:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{title:t,subtitle:l,backgroundImage:r,link:i}=e;return(0,n.jsx)("div",{style:{filter:'url("#flt_tag")'},className:"h-card-lg-fluid inline-flex aspect-[0.73]",children:(0,n.jsxs)("div",{className:"group/link flex flex-1 will-change-transform",children:[(0,n.jsx)("div",{className:"carousel-card-clip-path relative h-full w-full overflow-hidden rounded-[10px] bg-transparent",style:{clipPath:"polygon(0 5%, 100% 0, 100% 100%, 0 95%)"},children:(0,n.jsxs)("div",{className:"relative flex h-full w-full flex-1",children:[(null==r?void 0:r.src)&&(0,n.jsx)(a.t,{src:r.src,alt:r.alt||"",className:"absolute-fill",width:420,height:576}),(0,n.jsx)("div",{className:"bg-gradient-experience3d-card absolute left-0 top-0 z-[1] h-full w-full rounded-[10px] mix-blend-multiply will-change-transform"}),(0,n.jsxs)("div",{className:"z-[1] self-end px-3 py-[30px] will-change-transform md:px-6 md:py-[60px]",children:[(0,n.jsx)("h3",{className:"font-display text-2xl font-medium leading-[30px] text-white drop-shadow-lg md:text-[40px] md:leading-[40px]",children:t}),l&&(0,n.jsx)("p",{className:"font-display text-xs font-semibold leading-tight tracking-[0.48px] text-white drop-shadow-lg md:text-2xl md:tracking-[0.96px]",children:l})]})]})}
1),(0,n.jsx)("svg",{className:"absolute h-0 w-0",style:{visibility:"hidden"},xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"flt_tag",children:[(0,n.jsx)("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"5",result:"blur"}),(0,n.jsx)("feColorMatrix",{in:"blur",mode:"matrix",values:"1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 20 -10",result:"flt_tag"}),(0,n.jsx)("feComposite",{in:"SourceGraphic",in2:"flt_tag",operator:"atop"})]})})}),(0,n.jsxs)(a.ee,{link:i,className:"block-link group/focus outline-none",children:[(0,n.jsx)("span",{className:"sr-only",children:t}),(0,n.jsx)("svg",{className:"pointer-events-none absolute inset-1 z-20 opacity-0 transition-opacity group-focus-visible/focus:opacity-100",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:(0,n.jsx)("polygon",{points:"0,5 100,0 100,100 0,95",fill:"none",stroke:"white",strokeWidth:"3",vectorEffect:"non-scaling-stroke"})})]})]})})}},85788:function(e,t,l){"use strict";l.d(t,{Zb:function(){return m.Card},Ot:function(){return d.CharacterCard},uW:function(){return c.ContentCard},fK:function(){return s.FeaturedCard},OJ:function(){return r.FormulaCard},FM:function(){return o.OfferCard},MG:function(){return n.PrimaryExperienceCard},Ak:function(){return u.ReviewCard},U_:function(){return i.RoomsCard},Im:function(){return a.SecondaryExperienceCard},iE:function(){return m.isCardLarge}});var n=l(77404),a=l(88324),r=l(18362),i=l(34188),s=l(36152),o=l(98649),c=l(1608),d=l(9719),u=l(29560),m=l(47651)},4485:function(e,t,l){"use strict";l.d(t,{_:function(){return d}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403);let s={yellow:"#ffe81c",orange:"#D48100"},o=(e,t,l,n)=>'url("data:image/svg+xml,'.concat(encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="'.concat(e,'" height="').concat(t,'" viewBox="0 0 ').concat(e," ").concat(t,'" fill="none" preserveAspectRatio="none"><path d="').concat(l,'" fill="').concat(n,'"/></svg>')),'")'),c=(e,t,l,n,a)=>{let r="calc(100% - ".concat(l-Math.min(.1,l/2),"em) var(").concat(n,"), ").concat(t,"em var(").concat(n,")");return{paddingRight:"".concat(l,"em"),backgroundImage:"linear-gradient(".concat(a,", ").concat(a,"), ").concat(e),backgroundRepeat:"no-repeat, no-repeat",backgroundPosition:"left, right",backgroundSize:r}},d=e=>{let{line1:t,line1Tag:l,line1ClassName:d,line2:u,line2Tag:m,line2ClassName:f,line2Style:x,line1WrapSafe:p,line2WrapSafe:h,outerTag:v,link:g,className:b,color:j="yellow"}=e,w=l||"span",y=m||"span",N={"bg-yellow":"yellow"===j,"bg-orange-futu":"orange"===j},_=(0,i.Z)({"fill-yellow":"yellow"===j,"fill-orange-futu":"orange"===j}),k=s[j],C=o(27,42,"M0 0H22.0196C25.3818 0 27.6963 3.3752 26.4848 6.51153L13.9593 38.938C13.2465 40.7833 11.4722 42 9.4941 42H0V0Z",k),A=o(22,70,"M0 0H16.8464C19.9676 0 22.2539 2.93914 21.486 5.96445L6.14757 66.391C5.60875 68.5137 3.69801 70 1.50797 70H0V0Z",k),S=(0,n.jsxs)(n.Fragment,{children:[(0,r.ZYH)(t),"\xa0",(0,n.jsx)("svg",{viewBox:"0 0 27 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none absolute right-[-0.65em] top-0 h-full w-[0.675em]",preserveAspectRatio:"none",role:"presentation","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M0 0H22.0196C25.3818 0 27.6963 3.3752 26.4848 6.51153L13.9593 38.938C13.2465 40.7833 11.4722 42 9.4941 42H0V0Z",className:_})})]}),L=g?(0,n.jsxs)(a.ee,{link:g,className:"group/link outline-none focus-visible:underline focus-visible:decoration-2 focus-visible:underline-offset-4",children:[(0,n.jsx)("span",{children:(0,r.ZYH)(u)}),(0,n.jsx)(a.JO,{icon:"arrow-right",className:"relative bottom-[0.05em] left-[0.25em] z-10 inline-block transition group-hover/link:translate-x-[0.07em]"})]}):(0,r.ZYH)(u),E=(0,n.jsx)("svg",{viewBox:"0 0 22 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"pointer-events-none absolute right-[-0.525em] top-0 h-full w-[0.55em]",preserveAspectRatio:"none",role:"presentation","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M0 0H16.8464C19.9676 0 22.2539 2.93914 21.486 5.96445L6.14757 66.391C5.60875 68.5137 3.69801 70 1.50797 70H0V0Z",className:_})});return(t||u)&&(0,n.jsxs)(v||"h2",{className:(0,i.Z)("font-display  mb-5 flex flex-col items-start leading-none",{"text-darkblue":"yellow"===j,"text-white":"orange"===j},(p||h)&&"relative z-[1]",b),children:[t&&(p?(0,n.jsx)(w,{className:(0,i.Z)("mb-[-2px] leading-[0] md:mb-[-4px]",u?"-mb-[0.43em] ml-[20px] md:ml-[30px] md:pb-[0.1em]":""),children:(0,n.jsx)("span",{className:(0,i.Z)("inline box-decoration-clone py-[0.175em] pl-[10px] pr-[0.6em] text-[24px]/[1.35] font-medium","md:py-[0.1em] md:text-[40px]/[1.2]","[--tip-crop-h:33.4px] md:[--tip-crop-h:49px]",d),style:c(C,.675,.6,"--tip-crop-h",k),children:(0,r.ZYH)(t)})}):(0,n.jsx)(w,{className:(0,i.Z)("relative mb-[-2px] block py-[0.175em] pl-[10px] pr-[1px] text-[24px] font-medium !leading-none","md:py-[0.1em] md:text-[40px]","mr-5",u?"-mb-[0.43em] ml-[20px] md:ml-[30px] md:pb-[0.1em] ":"",d,N),children:S})),u&&(h?(0,n.jsx)(y,{className:"leading-[0]",children:(0,n.jsx)("span",{className:(0,i.Z)("inline box-decoration-clone py-[0.175em] pl-[10px] pr-[0.6em] text-[24px]/[1.35]","md:py-[0.1em] md:pl-[10px] md:text-[40px]/[1.2]","[--tip-crop-h:33.4px] md:[--tip-crop-h:49px]",f),style:{...c(A,.55,.6,"--tip-crop-h",k),...x},children:L})}):(0,n.jsxs)(y,{className:(0,i.Z)("relative block py-[0.175em] pl-[10px] pr-[6px] text-[24px] leading-none","md:py-[0.1em] md:pl-[10px] md:pr-[6px] md:text-[40px]","mr-5",f,N),style:x,children:[L,E]}))]})}},34149:function(e,t,l){"use strict";l.r(t),l.d(t,{FeaturesListSimple:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{featuresList:t,className:l}=e;return(0,n.jsx)("div",{className:(0,r.Z)("component--features-list-simple",l),children:t.length>0&&(0,n.jsx)("div",{className:"flex flex-grow flex-col gap-1",children:t.map((e,t)=>(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)("span",{className:"inline-block w-6",children:(null==e?void 0:e.icon)&&(0,n.jsx)(a.t,{...e.icon,width:24,height:24,className:"h-6 w-6",alt:e.name||""})}),(0,n.jsx)("p",{className:"text-darkblue font-body text-sm font-normal leading-tight",children:e.name})]},t))})})}},20849:function(e,t,l){"use strict";l.r(t),l.d(t,{Hero:function(){return u}});var n=l(94043),a=l(54403),r=l(48740),i={src:"/_next/static/media/bg-orange-mobile.4a5ad172.svg",height:232,width:383},s={src:"/_next/static/media/bg-orange.d09c6dd9.svg",height:296,width:383},o=l(53198),c=l(11960),d=l(4485);let u=e=>{let{image:t,bigtitle:l,surtitle:u,title:m,breadcrumbConf:f,mode:x="secondary",height:p="small",straightEdge:h=!1,children:v,anchor:g}=e,b="small"===p?540:"big"===p?810:1080;return(0,n.jsxs)("section",{className:(0,a.Z)("relative flex flex-col items-start justify-end pt-20",h?"pb-6 md:pb-14":"-mb-[calc(var(--diagonal-px-shift-4deg)-30px)] pb-[var(--diagonal-px-shift-4deg)]","big"===p?"h-[720px] max-h-[85vh] min-h-[500px] md:h-[810px]":"small"===p?"h-[438px] md:h-[540px]":"h-screen"),id:g,children:[(0,n.jsxs)("div",{className:(0,a.Z)("absolute inset-0 "),style:{clipPath:h?"":"polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--diagonal-px-shift-4deg)))"},children:[t&&(0,n.jsx)(o.JD,{src:t.src,srcMobile:t.srcMobile,focalPoint:t.focalPoint,breakpoints:[{mediaQuery:"(max-width: 480px)",height:b,width:480},{mediaQuery:"(max-width: 768px)",height:b,width:768},{mediaQuery:"(max-width: 1024px)",height:b,width:1024},{mediaQuery:"(max-width: 1440px)",height:b,width:1440}],width:"2056",height:b,alt:l||m||u||"",className:"h-full w-full object-cover object-center",loader:e=>
1(0,c.X)(e,1440,b,"cover",t.focalPoint),priority:!0}),(0,n.jsx)("div",{className:(0,a.Z)("absolute inset-0 opacity-60","primary"===x?"":"bg-gradient-diagonal")})]}),(0,n.jsx)("div",{className:"container-full",children:(0,n.jsxs)("div",{className:(0,a.Z)("relative flex flex-col gap-6 md:gap-4"),children:["primary"===x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.default,{width:s.width,height:s.height,src:s.src,alt:"","aria-hidden":"true",className:(0,a.Z)("translate absolute -left-[24px] top-1/2 h-[296px] max-h-none min-h-[120%] w-[383px] max-w-none -translate-y-1/2","hidden md:block","md:-left-[48px] xl:-left-[70px]"),unoptimized:!0}),(0,n.jsx)(r.default,{width:i.width,height:i.height,src:i.src,alt:"","aria-hidden":"true",className:(0,a.Z)("translate absolute -left-[24px] top-1/2 max-h-none min-h-[150%] min-w-[300px] max-w-[110%] -translate-y-1/2","md:hidden","md:-left-[48px] xl:-left-[70px]"),unoptimized:!0})]}),(0,n.jsxs)("div",{className:"z-[2]",children:[f&&(0,n.jsx)(o.aG,{...f,className:(0,a.Z)("relative z-10 h-[1.2em] ","primary"===x?"text-darkblue mb-3 max-w-[300px] md:mb-7":"mb-4 max-w-[500px] text-white")}),(0,n.jsxs)("h1",{children:[(0,n.jsx)("span",{className:(0,a.Z)("h1 block uppercase leading-[0.9]","primary"===x?"text-darkblue mb-[0.25em] max-w-[300px] text-[40px] md:text-[52px]/[48px]":"mb-[0.1em] max-w-[500px] text-[50px] text-white md:text-[90px]"),children:l}),(!!u||!!m)&&(0,n.jsx)(d._,{line1:u,line2:m,outerTag:"span",className:(0,a.Z)(h?"!mb-3":"!-mb-5"),line1WrapSafe:!0,line2WrapSafe:!0})]})]}),v]})})]})}},96817:function(e,t,l){"use strict";l.r(t),l.d(t,{Icon:function(){return r}});var n=l(94043),a=l(54403);let r=e=>{let{icon:t,className:l}=e,r={default:{width:"24",height:"24",viewBox:"0 0 24 24"},facebook:{width:"10",height:"19",viewBox:"0 0 10 19"},instagram:{width:"20",height:"19",viewBox:"0 0 20 19"},"tik-tok":{width:"17",height:"19",viewBox:"0 0 17 19"},x:{width:"19",height:"19",viewBox:"0 0 19 19"},youtube:{width:"23",height:"17",viewBox:"0 0 23 17"},popinClose:{width:"21",height:"21",viewBox:"0 0 21 21"},play:{width:"108",height:"108",viewBox:"0 0 108 108"},pause:{width:"76",height:"76",viewBox:"0 0 76 76"},"slider-next":{width:"23",height:"39",viewBox:"0 0 23 39"},"star-filled":{width:"10",height:"10",viewBox:"0 0 10 10"},"review-star-filled":{width:"18",height:"17",viewBox:"0 0 18 17"},"review-star-outlined":{width:"18",height:"17",viewBox:"0 0 18 17"},gallery:{width:"28",height:"27",viewBox:"0 0 28 27"},"arrow-down":{width:"18",height:"18",viewBox:"0 0 18 18"},"external-link":{width:"12",height:"12",viewBox:"-4 -5 22 22"},"arrow-right-secondary":{width:"18",height:"18",viewBox:"0 0 18 18"},eye:{width:"24",height:"16",viewBox:"0 0 24 16"}};return(0,n.jsxs)("svg",{className:(0,a.Z)("h-[1em] w-[1em]",l),fill:"none",xmlns:"http://www.w3.org/2000/svg",...r[t]||r.default,"aria-hidden":"true",children:["profile"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 10.5C13.3807 10.5 14.5 9.38071 14.5 8C14.5 6.61929 13.3807 5.5 12 5.5C10.6193 5.5 9.5 6.61929 9.5 8C9.5 9.38071 10.6193 10.5 12 10.5ZM12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.737 14.377C12.778 14.0054 11.7169 13.9941 10.7502 14.3453L7.07579 15.6801C5.67957 16.1873 4.75 17.514 4.75 18.9995V19.7495H3.25V18.9995C3.25 16.8831 4.57438 14.9929 6.56362 14.2703L10.2381 12.9354C11.5459 12.4603 12.9816 12.4756 14.279 12.9783L17.4737 14.2162C19.4485 14.9815 20.75 16.8817 20.75 18.9995V19.7495H19.25V18.9995C19.25 17.5009 18.329 16.1564 16.9317 15.6149L13.737 14.377Z",fill:"currentColor"})]}),"search"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 15.5C12.4853 15.5 14.5 13.4853 14.5 11C14.5 8.51472 12.4853 6.5 10 6.5C7.51472 6.5 5.5 8.51472 5.5 11C5.5 13.4853 7.51472 15.5 10 15.5ZM10 17C13.3137 17 16 14.3137 16 11C16 7.68629 13.3137 5 10 5C6.68629 5 4 7.68629 4 11C4 14.3137 6.68629 17 10 17Z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0001 13.9395L21.0608 20.0001L20.0001 21.0608L13.9395 15.0001L15.0001 13.9395Z",fill:"currentColor"})]}),"chevron-down"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{d:"M20 8.41L18.59 7L13 12.58L12 13.4102L11 12.58L5.41 7L4 8.41L12 16.41L20 8.41Z",fill:"currentColor"})}),"menu"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7.75L3 6.25H21V7.75H3ZM3 12.75H21V11.25H3L3 12.75ZM3 17.75H21V16.25H3L3 17.75Z",fill:"currentColor"})}),"close"===t&&(0,n.jsx)("path",{d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z",fill:"currentColor"}),"back"===t&&(0,n.jsx)("path",{d:"M8.5 2L1 9.5L8.5 17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square",strokeLinejoin:"bevel",fillRule:"evenodd",clipRule:"evenodd"}),"arrow-right"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"currentColor"})}),"facebook"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.28086 6.50985H6.12115V4.60553C6.12115 3.89069 6.63581 3.72386 6.99861 3.72386H9.22939V0.579203L6.15827 0.568359C2.74713 0.568359 1.97092 2.91392 1.97092 4.41452V6.50985H0V9.75126H1.97092V18.9192H6.12115V9.75126H8.91806L9.28086 6.50985Z",fill:"currentColor"})}),"instagram"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6702 3.88431C14.3686 3.88431 14.0795 4.0041 13.8662 4.21732C13.653 4.43054 13.5332 4.71973 13.5332 5.02127C13.5332 5.32281 13.653 5.612 13.8662 5.82522C14.0795 6.03844 14.3686 6.15823 14.6702 6.15823C14.9717 6.15823 15.2609 6.03844 15.4741 5.82522C15.6873 5.612 15.8071 5.32281 15.8071 5.02127C15.8071 4.71973 15.6873 4.43054 15.4741 4.21732C15.2609 4.0041 14.9717 3.88431 14.6702 3.88431ZM9.92996 13.1449C9.10093 13.144 8.30611 12.8143 7.7199 12.228
11C7.13368 11.6418 6.80395 10.847 6.80304 10.018C6.80372 9.18885 7.13338 8.39389 7.71965 7.80762C8.30591 7.22135 9.10086 6.89169 9.92996 6.891C10.7591 6.89169 11.554 7.22135 12.1403 7.80762C12.7265 8.39389 13.0562 9.18885 13.0569 10.018C13.0558 10.8469 12.7259 11.6416 12.1398 12.2278C11.5536 12.814 10.7589 13.1438 9.92996 13.1449ZM9.92996 5.1308C8.63462 5.13262 7.39289 5.64818 6.47718 6.56438C5.56147 7.48058 5.04657 8.7226 5.04543 10.018C5.04657 11.3133 5.56147 12.5553 6.47718 13.4715C7.39289 14.3877 8.63462 14.9033 9.92996 14.9051C11.2256 14.9035 12.4677 14.388 13.3836 13.4715C14.2995 12.5551 14.8144 11.3128 14.8154 10.0171C14.8138 8.72189 14.2985 7.48018 13.3827 6.56433C12.4669 5.64848 11.2252 5.13239 9.92996 5.1308ZM17.5995 12.6888C17.5909 13.2772 17.5677 13.9052 17.4569 14.4997C17.1562 16.1173 16.2371 17.1009 14.6504 17.5063C13.9202 17.6936 13.1445 17.6996 12.3224 17.7039H12.3138C11.9152 17.7074 11.5055 17.7082 11.0622 17.7082C9.94714 17.7082 8.81149 17.6996 7.71191 17.691L6.97313 17.6867C6.43107 17.6825 5.79366 17.6575 5.17773 17.5012C3.97506 17.1954 3.15811 16.5219 2.67705 15.442C2.37294 14.7548 2.30422 13.9971 2.27759 13.3451C2.27142 13.2103 2.26225 13.0757 2.2501 12.9413L2.23979 12.8125V7.28875C2.25526 7.21463 2.26445 7.13934 2.26728 7.06367C2.28618 6.41681 2.31281 5.83608 2.45198 5.28113C2.76037 4.05612 3.44761 3.22799 4.55406 2.7495C5.22669 2.45828 5.97063 2.39299 6.60976 2.36636C6.75064 2.36035 6.88465 2.34918 7.01351 2.33887L7.1415 2.32856H12.6695C12.715 2.33801 12.7725 2.3466 12.8387 2.35262C13.026 2.3698 13.2115 2.38011 13.3902 2.39041C13.7458 2.41189 14.0809 2.43165 14.391 2.48921C15.2036 2.64212 15.8668 2.95138 16.3599 3.4084C16.8547 3.86713 17.2095 4.50455 17.414 5.30347C17.5969 6.01906 17.603 6.78276 17.6115 7.58942V7.659C17.6273 9.33558 17.6233 11.0123 17.5995 12.6888ZM19.3709 7.64354L19.37 7.57481C19.3614 6.69686 19.3528 5.7897 19.1183 4.86707C18.5419 2.61205 17.0188 1.19203 14.7148 0.760788C14.2956 0.681755 13.8884 0.657701 13.4941 0.634507C13.3305 0.625858 13.167 0.614689 13.0036 0.601003L12.9779 0.595849L12.9074 0.582963L12.8318 0.568359H7.07536L7.04357 0.570937L6.86833 0.584681C6.7515 0.594131 6.64154 0.603581 6.53845 0.607876C5.78421 0.638802 4.79803 0.726425 3.85566 1.13362C2.2355 1.83461 1.19004 3.08539 0.746773 4.85075C0.568091 5.56205 0.532011 6.25788 0.510535 6.96574L0.494213 7.04392L0.480469 7.12123V12.8786L0.483046 12.9104L0.49765 13.0865C0.507099 13.2025 0.51569 13.3116 0.519985 13.4155C0.55091 14.1861 0.642828 15.1929 1.07063 16.1559C1.77419 17.7383 3.01122 18.7649 4.74563 19.2047C5.54798 19.4092 6.35032 19.4401 6.96025 19.4452L7.69902 19.4504C8.80118 19.4581 9.94027 19.4676 11.0622 19.4676C11.5089 19.4676 11.9229 19.4659 12.325 19.4633H12.3336C13.2261 19.4573 14.1487 19.4512 15.086 19.2107C17.3409 18.6334 18.7592 17.1146 19.1862 14.8209C19.321 14.0942 19.3485 13.3477 19.358 12.7128C19.3817 11.0229 19.386 9.33272 19.3709 7.64268",fill:"currentColor"})}),"tik-tok"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{d:"M9.44923 0.568359H11.6447C11.8046 1.36114 12.2436 2.36141 13.0143 3.35394C13.7684 4.32634 14.7686 5.00377 16.1025 5.00377V7.22186C14.1585 7.22186 12.6984 6.31914 11.6668 5.19345V12.7659C11.6671 13.8622 11.342 14.9341 10.7327 15.8465C10.1241 16.7577 9.25821 17.4683 8.24456 17.8884C7.23173 18.3081 6.1167 18.4179 5.04115 18.2039C3.96504 17.9897 2.97694 17.4616 2.20218 16.6865C1.42644 15.9105 0.898423 14.9228 0.6847 13.8479C0.470715 12.7723 0.580496 11.6577 1.00023 10.6442C1.41941 9.63169 2.13007 8.76579 3.04243 8.15594C3.95372 7.54698 5.02589 7.22186 6.1228 7.22186V9.43956C5.46467 9.4396 4.8214 9.6347 4.27465 10.0001C3.72725 10.366 3.30088 10.8856 3.04941 11.4931C2.79787 12.101 2.73211 12.7695 2.86042 13.4145C2.98872 14.0595 3.30535 14.6523 3.77051 15.1183C4.23495 15.5836 4.82761 15.9006 5.47315 16.029C6.11868 16.1574 6.78792 16.0915 7.39577 15.8395C8.00403 15.5875 8.52363 15.1611 8.88881 14.6143C9.25439 14.0669 9.44939 13.4237 9.44923 12.7659V0.568359Z",fill:"currentColor"})}),"x"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("g",{clipPath:"url(#clip0_6328_2341)",children:(0,n.jsx)("path",{d:"M14.4765 1.43359H17.2365L11.2065 8.32609L18.3008 17.7033H12.7463L8.39628 12.0153L3.41778 17.7033H0.656281L7.10628 10.3308L0.300
1781 1.43434H5.99628L9.92853 6.63334L14.4765 1.43359ZM13.5083 16.0518H15.0375L5.16528 2.99884H3.52428L13.5083 16.0518Z",fill:"#292156"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_6328_2341",children:(0,n.jsx)("rect",{width:"18",height:"18",fill:"white",transform:"translate(0.300781 0.568359)"})})})]}),"youtube"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.49995 11.2651V5.02499L14.8997 8.15718L9.49995 11.2651ZM20.9848 1.76153C20.162 0.847446 19.2421 0.847446 18.8298 0.79688C15.803 0.56836 11.275 0.568359 11.275 0.568359C11.275 0.568359 6.74705 0.56836 3.72121 0.79688C3.30886 0.847446 2.36439 0.847446 1.56523 1.76153C0.911365 2.44709 0.717955 4.02145 0.717955 4.02145C0.717955 4.02145 0.5 5.87489 0.5 7.72737V9.45439C0.5 11.3078 0.717955 13.1613 0.717955 13.1613C0.717955 13.1613 0.935909 14.7347 1.56523 15.4202C2.38894 16.3343 3.47871 16.309 3.93818 16.3849C5.65826 16.5628 11.2995 16.6134 11.2995 16.6134C11.2995 16.6134 15.852 16.6134 18.8789 16.3849C19.2902 16.3343 20.2102 16.3343 21.0339 15.4202C21.6877 14.7347 21.8811 13.1613 21.8811 13.1613C21.8811 13.1613 22.0991 11.3078 22.0991 9.45439V7.72737C22.05 5.87489 21.833 4.02145 21.833 4.02145C21.833 4.02145 21.6151 2.44709 20.9848 1.76153Z",fill:"currentColor"})}),"son-off"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M2 15.8333V8.16667C2 7.89052 2.22386 7.66667 2.5 7.66667H5.37593C5.49205 7.66667 5.60455 7.62625 5.69412 7.55235L9.18181 4.67501C9.50792 4.40597 10 4.63793 10 5.06069V18.9393C10 19.3621 9.50792 19.594 9.18181 19.325L5.69412 16.4476C5.60455 16.3737 5.49205 16.3333 5.37593 16.3333H2.5C2.22386 16.3333 2 16.1095 2 15.8333Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,n.jsx)("path",{d:"M15.5 9L20.4995 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M20.5 9L15.5005 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),"son-on"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_3225_11845)",children:[(0,n.jsx)("path",{d:"M2 15.8333V8.16667C2 7.89052 2.22386 7.66667 2.5 7.66667H5.37593C5.49205 7.66667 5.60455 7.62625 5.69412 7.55235L9.18181 4.67501C9.50792 4.40597 10 4.63793 10 5.06069V18.9393C10 19.3621 9.50792 19.594 9.18181 19.325L5.69412 16.4476C5.60455 16.3737 5.49205 16.3333 5.37593 16.3333H2.5C2.22386 16.3333 2 16.1095 2 15.8333Z",stroke:"currentColor",strokeWidth:"1.5"}),(0,n.jsx)("path",{d:"M13.8284 8.72724C14.1999 9.09867 14.4945 9.53963 14.6955 10.0249C14.8965 10.5102 15 11.0304 15 11.5557C15 12.081 14.8965 12.6011 14.6955 13.0864C14.4945 13.5717 14.1999 14.0127 13.8284 14.3841",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M16.2778 7.27783C16.8396 7.83961 17.2852 8.50653 17.5893 9.24052C17.8933 9.97451 18.0498 10.7612 18.0498 11.5557C18.0498 12.3501 17.8933 13.1368 17.5893 13.8708C17.2852 14.6048 16.8396 15.2717 16.2778 15.8335",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M18.7778 5.77783C19.5366 6.53659 20.1385 7.43736 20.5491 8.42872C20.9597 9.42009 21.1711 10.4826 21.1711 11.5557C21.1711 12.6287 20.9597 13.6912 20.5491 14.6826C20.1385 15.674 19.5366 16.5747 18.7778 17.3335",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_3225_11845",children:(0,n.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),"popinClose"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M1.75 1.75L19.25 19.25",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"M19.25 1.75L1.75 19.25",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]}),"play-filled"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{d:"M20.125 11.7836C20.2917 11.8798 20.2917 12.1204 20.125 12.2166L8.125 19.1448C7.95833 19.241 7.75 19.1208 7.75 18.9283L7.75 5.0719C7.75 4.87944 7.95833 4.75916 8.125 4.85539L20.125 11.7836Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1"})}),"info"===t&&(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0732 0.503906C15.3087 0.503906 19.5693 4.76556 19.5693 10.0019C19.5693 15.2383 15.3087 19.4971 10.0732 19.4971C4.83685 19.498 0.576172 15.2393 0.576172 10.0029C0.576172 4.76653 4.83685 0.503906 10.0732 0.503906ZM10.0732 18.8676C14.9614 18.8676 18.9389 14.8901 18.9389 10.0019C18.9389 5.11278 14.9614 1.1353 10.0732 1.1353C5.18407 1.1353 1.20659 5.11181 1.20659 10.0019C1.20659 14.8901 5.18407 18.8676 10.0732 18.8676ZM10.0732 6.17577C10.7677 6.17577 11.3341 6.74121 11.3341 7.43661V15.4178C11.3185 15.7415 11.1789 16.0469 10.9443 16.2706C10.7096 16.4942 10.3979 16.619 10.0737 16.619C9.74956 16.619 9.43782 16.4942 9.20317 16.2706C8.96851 16.0469 8.82893 15.7415 8.81336 15.4178V7.43661C8.81336 7.10221 8.9462 6.78151 9.18266 6.54506C9.41911 6.3086 9.73981 6.17577 10.0742 6.17577H10.0732ZM10.7037 15.4178V7.43661C10.7037 7.26941 10.6372 7.10906 10.519 6.99083C10.4008 6.87261 10.2404 6.80619 10.0732 6.80619C9.90604 6.80619 9.74569 6.87261 9.62746 6.99083C9.50924 7.10906 9.44282 7.26941 9.44282 7.43661V15.4178C9.44282 15.585 9.50924 15.7453 9.62746 15.8635C9.74569 15.9818 9.90604 16.0482 10.0732 16.0482C10.2404 16.0482 10.4008 15.9818 10.519 15.8635C10.6372 15.7453 10.7037 15.585 10.7037 15.4178ZM10.0286 5.61711C9.33516 5.61711 8.81143 5.08077 8.81143 4.36985C8.81143 3.6308 9.34777 3.09543 10.0878 3.09543C10.8327 3.09543 11.3321 3.60752 11.3321 4.36985C11.3457 4.71901 11.2371 5.01482 11.0208 5.23983C10.7803 5.48618 10.4379 5.61711 10.0286 5.61711ZM10.0868 3.72585C9.69596 3.72585 9.44185 3.97899 9.44185 4.36985C9.44185 4.73258 9.68335 4.98669 10.0286 4.98669C10.1925 4.98669 10.4185 4.95469 10.5669 4.80048C10.616 4.74729 10.6534 4.68445 10.6768 4.61598C10.7001 4.54751 10.709 4.47491 10.7027 4.40282C10.7017 3.96056 10.4777 3.72585 10.0878 3.72585H10.0868Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.365642"}),"play"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("g",{filter:"url
1(#filter0_b_5829_13318)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54 108C83.8234 108 108 83.8234 108 54C108 24.1766 83.8234 0 54 0C24.1766 0 0 24.1766 0 54C0 83.8234 24.1766 108 54 108ZM69.4148 57.3413C71.9862 55.8567 71.9862 52.1451 69.4148 50.6605L50.9862 40.0208C48.4148 38.5362 45.2005 40.3919 45.2005 43.3612V64.6406C45.2005 67.6099 48.4148 69.4656 50.9862 67.981L69.4148 57.3413Z",fill:"currentColor",fillOpacity:"0.8"})}),(0,n.jsx)("defs",{children:(0,n.jsxs)("filter",{id:"filter0_b_5829_13318",x:"-7.71429",y:"-7.71429",width:"123.429",height:"123.429",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_5829_13318"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_5829_13318",result:"shape"})]})})]}),"pause"===t&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("path",{opacity:"0.8",d:"M26.75 53H34.25V23H26.75V53ZM41.75 53H49.25V23H41.75V53ZM38 75.5C32.8125 75.5 27.9375 74.5156 23.375 72.5469C18.8125 70.5781 14.8438 67.9062 11.4688 64.5312C8.09375 61.1563 5.42188 57.1875 3.45312 52.625C1.48437 48.0625 0.5 43.1875 0.5 38C0.5 32.8125 1.48437 27.9375 3.45312 23.375C5.42188 18.8125 8.09375 14.8438 11.4688 11.4688C14.8438 8.09375 18.8125 5.42188 23.375 3.45312C27.9375 1.48437 32.8125 0.5 38 0.5C43.1875 0.5 48.0625 1.48437 52.625 3.45312C57.1875 5.42188 61.1563 8.09375 64.5312 11.4688C67.9062 14.8438 70.5781 18.8125 72.5469 23.375C74.5156 27.9375 75.5 32.8125 75.5 38C75.5 43.1875 74.5156 48.0625 72.5469 52.625C70.5781 57.1875 67.9062 61.1563 64.5312 64.5312C61.1563 67.9062 57.1875 70.5781 52.625 72.5469C48.0625 74.5156 43.1875 75.5 38 75.5Z",fill:"currentColor"})}),"slider-next"===t&&(0,n.jsx)("path",{d:"M3 3L19 19.5L3 36",stroke:"currentColor",strokeWidth:"5",strokeLinecap:"round"}),"star-filled"===t&&(0,n.jsx)("path",{d:"M1.9125 10.0002L2.725 6.30288L0 3.81603L3.6 3.48709L5 0.000244141L6.4 3.48709L10 3.81603L7.275 6.30288L8.0875 10.0002L5 8.03972L1.9125 10.0002Z",fill:"currentColor"}),"review-star-filled"===t&&(0,n.jsx)("path",{d:"M8.52447 0.71499C8.67415 0.254335 9.32585 0.254335 9.47553 0.71499L11.1329 5.8158C11.1998 6.02181 11.3918 6.16129 11.6084 6.16129H16.9717C17.4561 6.16129 17.6575 6.7811 17.2656 7.0658L12.9266 10.2183C12.7514 10.3456 12.678 10.5713 12.745 10.7773L14.4023 15.8781C14.552 16.3388 14.0248 16.7218 13.6329 16.4371L9.29389 13.2847C9.11865 13.1573 8.88135 13.1573 8.70611 13.2847L4.3671 16.4371C3.97524 16.7218 3.448 16.3388 3.59768 15.8781L5.25503 10.7773C5.32197 10.5713 5.24864 10.3456 5.07339 10.2183L0.734384 7.0658C0.342527 6.7811 0.543915 6.16129 1.02828 6.16129H6.39159C6.6082 6.16129 6.80018 6.02181 6.86712 5.8158L8.52447 0.71499Z",fill:"#D48100"}),"review-star-outlined"===t&&(0,n.jsx)("path",{d:"M9 0.869499L10.6574 5.97031C10.7912 6.38233 11.1752 6.66129 11.6084 6.66129H16.9717L12.6327 9.81377C12.2822 10.0684 12.1356 10.5198 12.2694 10.9318L13.9268 16.0326L9.58779 12.8801C9.2373 12.6255 8.7627 12.6255 8.41222 12.8801L4.0732 16.0326L5.73056 10.9318C5.86443 10.5198 5.71777 10.0684 5.36729 9.81377L5.07339 10.2183L5.36729 9.81377L1.02828 6.66129H6.39159C6.82481 6.66129 7.20877 6.38234 7.34265 5.97031L9 0.869499Z",stroke:"currentColor"}),"filters"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("rect",{x:"5.5",y:"4",width:"4",height:"4",fill:"currentColor"}),(0,n.jsx)("line",{x1:"4.5",y1:"6",x2:"19.5",y2:"6",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("rect",{x:"11.5",y:"10",width:"4",height:"4",fill:"currentColor"}),(0,n.jsx)("line",{x1:"4.5",y1:"12",x2:"19.5",y2:"12",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("rect",{x:"7.5",y:"16",width:"4",height:"4",fill:"currentColor6"}),(0,n.jsx)("line",{x1:"4.5",y1:"18",x2:"19.5",y2:"18",stroke:"currentColor",strokeWidth:"2"})]}),"gallery"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M17.8602 22.8603H5.66345C4.22728 22.8584 2.85051 22.2868 1.83526 21.271C0.82 20.2552 0.249179 18.8782 0.248047 17.442V5.91682C0.249556 4.4809 0.820544 3.10421 1.83576 2.08872C2.85098 1.07324 4.22752 0.501887 5.66345 0.5H17.8602C19.2959 0.501886 20.6722 1.07304 21.6874 2.08822C22.7026 3.10339 23.2737 4.47972 23.2756 5.9154V17.4434C23.2741 18.8794 22.7031 20.2561 21.6879 21.2715C20.6727 22.287 19.2961 22.8584 17.8602 22.8603V22.8603ZM1.17485 17.442C1.17561 18.6324 1.64871 19.7738 2.49028 20.6156C3.33185 21.4574 4.4731 21.9309 5.66345 21.932H17.8602
1C19.0503 21.9309 20.1913 21.4576 21.0329 20.6161C21.8744 19.7746 22.3477 18.6335 22.3488 17.4434V14.1055L16.1406 7.90019L7.58122 16.4582C7.5384 16.5014 7.48743 16.5357 7.43126 16.5592C7.3751 16.5826 7.31484 16.5946 7.25399 16.5946C7.19313 16.5946 7.13288 16.5826 7.07671 16.5592C7.02054 16.5357 6.96958 16.5014 6.92675 16.4582C6.88347 16.4152 6.84912 16.3641 6.82567 16.3079C6.80223 16.2516 6.79016 16.1912 6.79016 16.1302C6.79016 16.0693 6.80223 16.0089 6.82567 15.9526C6.84912 15.8963 6.88347 15.8452 6.92675 15.8023L8.33835 14.3907L5.72191 11.7757L1.17485 16.3213V17.442ZM5.66345 1.42966C4.47384 1.43079 3.33324 1.90366 2.49179 2.74458C1.65034 3.58549 1.17674 4.72579 1.17485 5.9154V15.0124L5.39539 10.7918C5.43833 10.7485 5.48942 10.7142 5.5457 10.6907C5.60199 10.6673 5.66236 10.6552 5.72333 10.6552C5.7843 10.6552 5.84467 10.6673 5.90096 10.6907C5.95725 10.7142 6.00833 10.7485 6.05128 10.7918L8.99282 13.7362L15.8141 6.91635C15.8571 6.87307 15.9081 6.83871 15.9644 6.81527C16.0207 6.79183 16.0811 6.77976 16.1421 6.77976C16.203 6.77976 16.2634 6.79183 16.3197 6.81527C16.376 6.83871 16.4271 6.87307 16.47 6.91635L22.3488 12.7966V5.9154C22.3473 4.72554 21.8739 3.58488 21.0324 2.74366C20.1909 1.90244 19.0501 1.42936 17.8602 1.42823L5.66345 1.42966ZM25.259 17.7514C25.2571 19.6322 24.5091 21.4354 23.1792 22.7653C21.8493 24.0952 20.0461 24.8432 18.1653 24.8451H5.99424C5.8756 24.8385 5.76398 24.7867 5.68232 24.7004C5.60066 24.6141 5.55515 24.4998 5.55515 24.3809C5.55515 24.2621 5.60066 24.1478 5.68232 24.0615C5.76398 23.9752 5.8756 23.9234 5.99424 23.9168H18.1653C19.8002 23.9153 21.3676 23.2653 22.5238 22.1094C23.6799 20.9536 24.3303 19.3863 24.3322 17.7514V7.06892C24.3322 6.94601 24.381 6.82815 24.4679 6.74124C24.5548 6.65434 24.6727 6.60551 24.7956 6.60551C24.9185 6.60551 25.0363 6.65434 25.1232 6.74124C25.2102 6.82815 25.259 6.94601 25.259 7.06892V17.7514ZM26.7019 11.7842C26.9586 11.7842 27.1653 11.9924 27.1653 12.2476V18.2448C27.1627 20.4997 26.2658 22.6615 24.6713 24.256C23.0768 25.8504 20.915 26.7474 18.6601 26.75H10.7694C10.6465 26.75 10.5287 26.7012 10.4418 26.6143C10.3549 26.5274 10.306 26.4095 10.306 26.2866C10.306 26.1637 10.3549 26.0458 10.4418 25.9589C10.5287 25.872 10.6465 25.8232 10.7694 25.8232H18.6601C20.6695 25.8213 22.596 25.0223 24.0168 23.6014C25.4376 22.1806 26.2367 20.2541 26.2385 18.2448V12.2476C26.2385 11.9924 26.4453 11.7842 26.7019 11.7842ZM9.86259 9.36454C9.30063 9.36379 8.76192 9.14012 8.36469 8.74262C7.96745 8.34512 7.74415 7.80626 7.74377 7.2443C7.76829 6.69863 8.00231 6.18345 8.39711 5.80599C8.79192 5.42852 9.31709 5.21787 9.8633 5.21787C10.4095 5.21787 10.9347 5.42852 11.3295 5.80599C11.7243 6.18345 11.9583 6.69863 11.9828 7.2443C11.9828 8.4135 11.0318 9.36454 9.86259 9.36454ZM9.86259 6.05228C9.70248 6.04694 9.54294 6.07389 9.39347 6.13151C9.244 6.18914 9.10766 6.27627 8.99258 6.38771C8.8775 6.49915 8.78603 6.63262 8.72363 6.78016C8.66122 6.9277 8.62916 7.08629 8.62935 7.24649C8.62955 7.40668 8.66199 7.5652 8.72474 7.71259C8.7875 7.85998 8.87929 7.99323 8.99463 8.10439C9.10998 8.21555 9.24653 8.30236 9.39614 8.35963C9.54574 8.4169 9.70535 8.44346 9.86544 8.43774C10.1746 8.42668 10.4674 8.29599 10.6821 8.07322C10.8968 7.85045 11.0166 7.55302 11.0162 7.24363C11.0159 6.93425 10.8954 6.6371 10.6801 6.41484C10.4649 6.19259 10.1718 6.0626 9.86259 6.05228V6.05228Z",fill:"white"}),(0,n.jsx)("path",{d:"M17.8602 22.8603H5.66345C4.22728 22.8584 2.85051 22.2868 1.83526 21.271C0.82 20.2552 0.249179 18.8782 0.248047 17.442V5.91682C0.249556 4.4809 0.820544 3.10421 1.83576 2.08872C2.85098 1.07324 4.22752 0.501887 5.66345 0.5H17.8602C19.2959 0.501886 20.6722 1.07304 21.6874 2.08822C22.7026 3.10339 23.2737 4.47972 23.2756 5.9154V17.4434C23.2741 18.8794 22.7031 20.2561 21.6879 21.2715C20.6727 22.287 19.2961 22.8584 17.8602 22.8603V22.8603ZM1.17485 17.442C1.17561 18.6324 1.64871 19.7738 2.49028 20.6156C3.33185 21.4574 4.4731 21.9309 5.66345 21.932H17.8602C19.0503 21.9309 20.1913 21.4576 21.0329 20.6161C21.8744 19.7746 22.3477 18.6335 22.3488 17.4434V14.1055L16.1406 7.90019L7.58122 16.4582C7.5384 16.5014 7.48743 16.5357 7.43126 16.5592C7.3751 16.5826 7.31484 16.5946 7.25399 16.5946C7.19313 16.5946 7.13288 16.5826 7.07671 16.5592C7.02054 16.5357 6.96958 16.5014 6.92675 16.4582C6.88347 16.4152 6.84912 16.3641 6.82567 16.3079C6.80223 16.2516 6.79016 16.1912 6.79016 16.1302C6.79016 16.0693 6.80223 16.0089 6.82567 15.9526C6.84912 15.8963 6.88347 15.8452 6.92675 15.8023L8.33835 14.3907L5.72191 11.7757L1.17485 16.3213V17.442ZM5.66345 1.42966C4.47384 1.43079 3.33324 1.90366 2.49179 2.74458C1.65034 3.58549 1.17674 4.72579 1.17485 5.9154V15.0124L5.39539 10.7918C5.43833 10.7485 5.48942 10.7142 5.5457 10.6907C5.60199 10.6673 5.66236 10.6552 5.72333 10.6552C5.7843 10.6552 5.84467 10.6673 5.90096 10.6907C5.95725 10.7142 6.00833 10.7485 6.05128 10.7918L8.99282 13.7362L15.8141 6.91635C15.8571 6.87307 15.9081 6.83871 15.9644 6.81527C16.0207 6.79183 16.0811 6.77976 16.1421 6.77976C16.203 6.77976 16.2634 6.79183 16.3197 6.81527C16.376 6.83871 16.4271 6.87307 16.47 6.91635L22.3488 12.7966V5.9154C22.3473 4.72554 21.8739 3.58488 21.0324 2.74366C20.1909 1.90244 19.0501 1.42936 17.8602 1.42823L5.66345 1.42966ZM25.259 17.7514C25.2571 19.6322 24.5091 21.4354 23.1792 22.7653C21.8493 24.0952 20.0461 24.8432 18.1653 24.8451H5.99424C5.8756 24.8385 5.76398 24.7867 5.68232 24.7004C5.60066 24.6141 5.55515 24.4998 5.55515 24.3809C5.55515 24.2621 5.60066 24.1478 5.68232 24.061
15C5.76398 23.9752 5.8756 23.9234 5.99424 23.9168H18.1653C19.8002 23.9153 21.3676 23.2653 22.5238 22.1094C23.6799 20.9536 24.3303 19.3863 24.3322 17.7514V7.06892C24.3322 6.94601 24.381 6.82815 24.4679 6.74124C24.5548 6.65434 24.6727 6.60551 24.7956 6.60551C24.9185 6.60551 25.0363 6.65434 25.1232 6.74124C25.2102 6.82815 25.259 6.94601 25.259 7.06892V17.7514ZM26.7019 11.7842C26.9586 11.7842 27.1653 11.9924 27.1653 12.2476V18.2448C27.1627 20.4997 26.2658 22.6615 24.6713 24.256C23.0768 25.8504 20.915 26.7474 18.6601 26.75H10.7694C10.6465 26.75 10.5287 26.7012 10.4418 26.6143C10.3549 26.5274 10.306 26.4095 10.306 26.2866C10.306 26.1637 10.3549 26.0458 10.4418 25.9589C10.5287 25.872 10.6465 25.8232 10.7694 25.8232H18.6601C20.6695 25.8213 22.596 25.0223 24.0168 23.6014C25.4376 22.1806 26.2367 20.2541 26.2385 18.2448V12.2476C26.2385 11.9924 26.4453 11.7842 26.7019 11.7842ZM9.86259 9.36454C9.30063 9.36379 8.76192 9.14012 8.36469 8.74262C7.96745 8.34512 7.74415 7.80626 7.74377 7.2443C7.76829 6.69863 8.00231 6.18345 8.39711 5.80599C8.79192 5.42852 9.31709 5.21787 9.8633 5.21787C10.4095 5.21787 10.9347 5.42852 11.3295 5.80599C11.7243 6.18345 11.9583 6.69863 11.9828 7.2443C11.9828 8.4135 11.0318 9.36454 9.86259 9.36454ZM9.86259 6.05228C9.70248 6.04694 9.54294 6.07389 9.39347 6.13151C9.244 6.18914 9.10766 6.27627 8.99258 6.38771C8.8775 6.49915 8.78603 6.63262 8.72363 6.78016C8.66122 6.9277 8.62916 7.08629 8.62935 7.24649C8.62955 7.40668 8.66199 7.5652 8.72474 7.71259C8.7875 7.85998 8.87929 7.99323 8.99463 8.10439C9.10998 8.21555 9.24653 8.30236 9.39614 8.35963C9.54574 8.4169 9.70535 8.44346 9.86544 8.43774C10.1746 8.42668 10.4674 8.29599 10.6821 8.07322C10.8968 7.85045 11.0166 7.55302 11.0162 7.24363C11.0159 6.93425 10.8954 6.6371 10.6801 6.41484C10.4649 6.19259 10.1718 6.0626 9.86259 6.05228V6.05228Z",fill:"white",stroke:"white",strokeWidth:"0.216576"})]}),"arrow-down"===t&&(0,n.jsx)("path",{d:"M3.75 6L8.29289 10.5429C8.68342 10.9334 9.31658 10.9334 9.70711 10.5429L14.25 6",stroke:"#292156",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"bevel"}),"external-link"==t&&(0,n.jsx)("path",{d:"M0.542893 10.0429C0.152369 10.4334 0.152369 11.0666 0.542893 11.4571C0.933417 11.8476 1.56658 11.8476 1.95711 11.4571L0.542893 10.0429ZM11.75 1.25C11.75 0.697715 11.3023 0.25 10.75 0.25H1.75C1.19772 0.25 0.75 0.697715 0.75 1.25C0.75 1.80228 1.19772 2.25 1.75 2.25H9.75V10.25C9.75 10.8023 10.1977 11.25 10.75 11.25C11.3023 11.25 11.75 10.8023 11.75 10.25V1.25ZM1.95711 11.4571L11.4571 1.95711L10.0429 0.542893L0.542893 10.0429L1.95711 11.4571Z",fill:"currentColor"}),"arrow-right-secondary"===t&&(0,n.jsx)("path",{d:"M3.6967 8.00057C3.14441 8.00057 2.6967 8.44828 2.6967 9.00057C2.6967 9.55285 3.14441 10.0006 3.6967 10.0006L3.6967 8.00057ZM15.0104 9.70767C15.4009 9.31715 15.4009 8.68398 15.0104 8.29346L8.64645 1.9295C8.25592 1.53897 7.62276 1.53897 7.23223 1.9295C6.84171 2.32002 6.84171 2.95319 7.23223 3.34371L12.8891 9.00057L7.23223 14.6574C6.84171 15.0479 6.84171 15.6811 7.23223 16.0716C7.62276 16.4622 8.25592 16.4622 8.64645 16.0716L15.0104 9.70767ZM3.6967 10.0006H14.3033L14.3033 8.00057H3.6967L3.6967 10.0006Z",fill:"currentColor"}),"eye"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M23.5 8C23.5 9.9759 22.201 11.8408 20.0548 13.2378C17.9176 14.629 15.0137 15.5 12 15.5C8.9863 15.5 6.0824 14.629 3.94518 13.2378C1.79901 11.8408 0.5 9.9759 0.5 8C0.5 6.01028 1.71131 4.14748 3.79452 2.75922C5.87414 1.37334 8.77468 0.5 12 0.5C15.2253 0.5 18.1259 1.37334 20.2055 2.75922C22.2887 4.14748 23.5 6.01028 23.5 8Z",stroke:"#D9D9D9"}),(0,n.jsx)("path",{d:"M16.0488 7.88939C16.0488 10.1794 14.2266 12.021 11.997 12.021C9.76749 12.021 7.94531 10.1794 7.94531 7.88939C7.94531 5.59935 9.76749 3.75781 11.997 3.75781C14.2266 3.75781 16.0488 5.59935 16.0488 7.88939Z",stroke:"#D9D9D9"})]})]})}},74387:function(e,t,l){"use strict";l.r(t),l.d(t,{IconDynamic:function(){return i}});var n=l(94043),a=l(31692),r=l(972);let i=e=>{let{icon:t}=e,[i,s]=(0,a.useState)(null);return(0,a.useEffect)(()=>{(async function(){s((await l(38934)("./".concat(t,".svg")).catch(()=>null)).default)})()},[]),(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)(r.Q,{src:i.src,wrapper:"span",className:"relative -top-[0.05em] [&_svg]:h-[1.2em] [&_svg]:w-auto",afterInjection:e=>{e.setAttribute("aria-hidden","true")}}):(0,n.jsx)("span",{className:"inline-block h-[1.2em] w-[1em]"})})}},27671:function(e,t,l){"use strict";l.d(t,{J:function(){return n.Icon},j:function(){return a.IconDynamic}});var n=l(96817),a=l(74387)},19015:function(e,t,l){"use strict";l.d(t,{Autocompleter:function(){return i}});var n=l(94043),a=l(31692),r=l(9145);let i=e=>{let{value:t,getOptions:l,onSelect:i}=e,[s,o]=(0,a.useState)(!1),[c,d]=(0,a.useState)(t),[u,m]=(0,a.useState)([]),f=(0,r.O8h)(()=>{o(!1)}),{debouncedCallback:x}=(0,r.NrF)(()=>{o(!!t&&c!==t),l(t).then(e=>{m(e)})},250);return(0,a.useEffect)(()=>{x()},[t]),s&&u.length>0&&(0,n.jsx)("ul",{ref:f,className:"border-input-grey absolute z-30 mt-1 w-[420px] max-w-[80vw] overflow-hidden rounded border bg-white shadow-lg",children:u.map((e,t)=>(0,n.jsx)("li",{onClick:()=>{o(!1),d(e.valueStringified),i(e.value)},className:"cursor-pointer p-2 hover:bg-gray-200",role:"option","aria-selected":!1,children:e.label},t))})}},52939:function(e,t,l){"use strict";var n=l(94043),a=l(31692),r=l(8197);let i=(0,a.forwardRef)((e,t)=>{let{label:l,error:i,value:s,type:o,id:c,...d}=e,u=(0,a.useId)(),m=null!=c?c:u,f=(0,a.useRef)(null);return(0,a.useImperativeHandle)(t,()=>f.current),(0,n.jsx)(r.WrappingLabel,{isLabelElevated:!0,label:l,error:i,htmlFor:m,children:(0,n.jsx)("input",{ref:f,type:"date",id:m,className:"font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",...d})})});i.displayName="DateInput",t.default=i},89551:function(e,t,l){"use strict";var n=l(94043),a=l(9145),r=l(31692),i=l(8197),s=l(54403);let o=(0,r.forwardRef)((e,t)=>{let{label:l,error:o,onFocus:c,onBlur:d,children:u,id:m,...f}=e,x=(0,r.useId)(),p=null!=m?m:x,{handleBlur:h,handleFocus:v,isLabelElevated:g}=(0,a.Ouk)(f.value,c,d),b=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,()=>b.current),(0,n.jsxs)(i.WrappingLabel,{isLabelElevated:g,label:l,error:o,htmlFor:p,children:[(0,n.jsx)("input",{ref:b,className:(0,s.Z)("font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",f.disabled&&"text-darkblue-90 curs
1or-not-allowed opacity-60"),id:p,onFocus:v,onBlur:h,...f}),u]})});o.displayName="GenericInput",t.default=o},50742:function(e,t,l){"use strict";l.r(t),l.d(t,{Input:function(){return a}});var n=l(94043);let a=e=>{let{label:t,id:l,name:a,onChange:r,placeholder:i,type:s,value:o,icon:c,iconOnClick:d,register:u,registerOptions:m}=e;return(0,n.jsxs)("fieldset",{className:"relative",children:[(0,n.jsx)("label",{className:"sr-only",htmlFor:l,children:t}),(0,n.jsxs)("div",{className:"relative flex",children:[(0,n.jsx)("input",{...u(a,m),className:"font-body text-darkblue focus:ring-bleu-futu flex w-full flex-1 items-center rounded px-4 py-5 text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue md:py-4",placeholder:i,id:l,type:s,autoComplete:"email"===s?"email":void 0,value:o,onChange:r}),c&&(0,n.jsx)("button",{type:"button",onClick:d,className:"absolute right-0 top-1/2 flex h-full -translate-y-1/2 items-center px-4 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",children:c})]})]})}},11737:function(e,t,l){"use strict";var n=l(94043),a=l(54403),r=l(9145),i=l(31692),s=l(8197),o=l(27671),c=l(16503);let d=(0,i.forwardRef)((e,t)=>{let{label:l,error:o,onFocus:d,onBlur:f,showStrength:x,strengthLabels:p,policyMessage:h,id:v,...g}=e,b=(0,i.useId)(),j=null!=v?v:b,[w,y]=(0,i.useState)(!1),{handleBlur:N,handleFocus:_,isLabelElevated:k}=(0,r.Ouk)(g.value,d,f),C=(0,i.useRef)(null);(0,i.useImperativeHandle)(t,()=>C.current);let A=(0,i.useMemo)(()=>(0,c.e)(g.value),[g.value]),S=(0,i.useMemo)(()=>(0,c.I)(A),[A]);return(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsxs)(s.WrappingLabel,{isLabelElevated:k,label:l,error:o,htmlFor:j,children:[(0,n.jsx)("input",{ref:C,className:"font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",id:j,onFocus:_,onBlur:N,type:w?"text":"password",...g}),(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),y(!w)},"aria-label":w?"Masquer le mot de passe":"Afficher le mot de passe",className:"absolute right-0 top-0 flex h-[50px] w-10 items-center justify-center focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",children:m(w)})]}),x&&(0,n.jsxs)(n.Fragment,{children:[!!h&&(0,n.jsx)("p",{className:"mt-2 text-sm font-normal leading-[16.8px] text-darkblue/70",children:h}),(0,n.jsx)(u,{progress:A}),!!g.value&&(0,n.jsx)("p",{className:(0,a.Z)("mt-2 text-sm font-normal leading-[16.8px]",S?"text-green-dark":"text-error"),children:S?p.strong:p.weak})]})]})}),u=e=>{let{progress:t}=e;return(0,n.jsx)("div",{className:"bg-darkblue/20 mt-3 h-2 w-full overflow-hidden rounded-full",children:(0,n.jsx)("div",{className:"bg-green-dark h-full transition-all duration-300 ease-in-out",style:{width:"".concat(t,"%")}})})},m=e=>(0,n.jsx)(o.J,{icon:"eye",className:"text-darkblue"});d.displayName="PasswordInput",t.default=d},69231:function(e,t,l){"use strict";l.r(t);var n=l(94043),a=l(9145),r=l(31692),i=l(8197);let s=(0,r.forwardRef)((e,t)=>{let{label:l,error:s,onFocus:o,onBlur:c,options:d,id:u,...m}=e,f=(0,r.useId)(),x=null!=u?u:f,{handleBlur:p,handleFocus:h,isLabelElevated:v}=(0,a.Ouk)(m.value,o,c),g=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,()=>g.current),(0,n.jsx)(i.WrappingLabel,{isLabelElevated:v,label:l,error:s,htmlFor:x,children:(0,n.jsxs)("select",{ref:g,className:"font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",id:x,onFocus:h,onBlur:p,...m,children:[(0,n.jsx)("option",{value:"",disabled:!0,hidden:!0}),d.map(e=>{let[t,l]=e;return(0,n.jsx)("option",{value:t,children:l},t)})]})})});s.displayName="SelectInput",t.default=s},19980:function(e,t,l){"use strict";l.r(t);var n=l(94043),a=l(31692),r=l(8197),i=l(21805);l(60115);var s=l(9145);let o=(0,a.forwardRef)((e,t)=>{let{label:l,error:o,id:c,langCode:d,numberType:u,defaultValue:m,onFocus:f,onBlur:x,onChange:p,autoComplete:h}=e,v=(0,a.useId)(),g=null!=c?c:v,b=(0,a.useRef)(null),j=(0,a.useRef)(null),[w,y]=(0,a.useState)(!1),[N,_]=(0,a.useState)(m||""),{isLabelElevated:k,handleBlur:C,handleFocus:A}=(0,s.Ouk)(N,f,x);return(0,a.useImperativeHandle)(t,()=>b.current),(0,a.useEffect)(()=>{var e,t;null===(t=j.current)||void 0===t||null===(e=t.getInstance())||void 0===e||e.setNumber(m||"")},[m]),(0,a.useEffect)(()=>{setTimeout(()=>{y(!0)},10)},[]),(0,n.jsx)(n.Fragment,{children:!!w&&(0,n.jsx)(r.WrappingLabel,{isLabelElevated:k,label:l,error:o,htmlFor:g,className:"ml-[53px]",children:(0,n.jsx)(i.Z,{ref:j,initialValue:m||"",inputProps:{id:g,onFocus:A,onBlur:C,autoComplete:h||"tel",className:"font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-tight outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue"},initOptions:{autoPlaceholder:"off",dropdownContainer:document.body,validationNumberType:u,formatOnDisplay:!0,initialCountry:d||"fr",containerClass:"w-full",utilsScript:"/ajax-libs-intl-tel-input-23-1-0-js-ut
1ils.js"},onChangeNumber:e=>{if(e!==N){var t,l;let n=null===(l=j.current)||void 0===l?void 0:null===(t=l.getInstance())||void 0===t?void 0:t.isValidNumber();_(e),p(""===e?"":n?e:"invalid")}}})})})});o.displayName="TelInput",t.default=o},69095:function(e,t,l){"use strict";var n=l(94043),a=l(9145),r=l(31692),i=l(8197);let s=(0,r.forwardRef)((e,t)=>{let{label:l,error:s,onFocus:o,onBlur:c,id:d,...u}=e,m=(0,r.useId)(),f=null!=d?d:m,{handleBlur:x,handleFocus:p,isLabelElevated:h}=(0,a.Ouk)(u.value,o,c),v=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,()=>v.current),(0,n.jsx)(i.WrappingLabel,{isLabelElevated:h,label:l,error:s,htmlFor:f,children:(0,n.jsx)("textarea",{ref:v,className:"font-body text-darkblue focus:ring-bleu-futu border-input-grey flex w-full flex-1 items-center rounded border px-4 pb-[12px] pt-[19px] text-sm font-normal leading-[16.8px] outline-none focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",id:f,onFocus:p,onBlur:x,...u})})});s.displayName="TextareaInput",t.default=s},8197:function(e,t,l){"use strict";l.r(t),l.d(t,{WrappingLabel:function(){return r}});var n=l(94043),a=l(54403);let r=e=>{let{children:t,htmlFor:l,isLabelElevated:r,label:i,error:s,className:o}=e;return(0,n.jsxs)("div",{className:"relative w-full",children:[!!i&&(0,n.jsx)("label",{className:(0,a.Z)("text-darkblue pointer-events-none absolute left-0 top-0 z-[1] ml-[17px] opacity-50 transition-all will-change-transform",r?"translate-y-[5px] text-[10px]":"translate-y-[14px] text-sm",o),htmlFor:l,children:i}),t,s&&(0,n.jsx)("div",{className:"text-error mt-3 text-sm leading-[16.8px]",children:s})]})}},36236:function(e,t,l){"use strict";l.r(t),l.d(t,{WrappingTexts:function(){return a}});var n=l(94043);let a=e=>{let{children:t,before:l,after:a}=e;return(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[l&&("string"==typeof l?(0,n.jsx)("div",{className:"mb-3 text-darkblue text-xs leading-[14.4px] font-light",dangerouslySetInnerHTML:{__html:l}}):l),t,a&&("string"==typeof a?(0,n.jsx)("div",{className:"mt-3 text-darkblue text-xs leading-[14.4px] font-light",dangerouslySetInnerHTML:{__html:a}}):a)]})}},54431:function(e,t,l){"use strict";l.d(t,{$Q:function(){return d},Y3:function(){return m},bG:function(){return u},XU:function(){return f},O5:function(){return N},y5:function(){return x},Ck:function(){return a.WrappingLabel}}),l(50742);var n=l(36236),a=l(8197),r=l(69231),i=l(19980),s=l(94043),o=l(28543),c=l(54403);let d=e=>{let{children:t,label:l,onClick:n}=e;return(0,s.jsxs)("div",{className:"flex w-full flex-col items-end",children:[t,(0,s.jsx)(o.z,{color:"underlined",onClick:n,children:l})]})},u=e=>{let{content:t,noSpace:l}=e;return(0,s.jsx)("div",{className:(0,c.Z)("font-display text-2xl font-medium leading-[30px]",!l&&"mt-6"),dangerouslySetInnerHTML:{__html:t}})},m=e=>{let{legend:t,children:l,noSpace:n}=e;return(0,s.jsxs)("fieldset",{className:(0,c.Z)("flex flex-col gap-4 border-0 p-0 m-0",!n&&"mt-6"),children:[(0,s.jsx)("legend",{className:"font-display text-2xl font-medium leading-[30px] p-0",dangerouslySetInnerHTML:{__html:t}}),l]})},f=e=>{let{content:t,className:l}=e;return(0,s.jsx)("div",{className:(0,c.Z)("text-darkblue text-xs font-light leading-[14.4px]",l),dangerouslySetInnerHTML:{__html:t}})},x=e=>{let{first:t,second:l}=e;return(0,s.jsxs)("div",{className:"grid grid-cols-[146px_auto] gap-5",children:[t,l]})},p=(0,l(31692).forwardRef)((e,t)=>{let{options:l,value:n,label:a,name:r,register:i,error:o,...d}=e;return(0,s.jsxs)("fieldset",{className:"relative w-full",children:[!!a&&(0,s.jsx)("legend",{className:"text-darkblue mb-3 w-full text-sm font-normal leading-[16.8px] underline-inner-links",dangerouslySetInnerHTML:{__html:a}}),(0,s.jsx)("div",{className:(0,c.Z)("flex w-full gap-2",d.disabled&&"pointer-events-none opacity-50"),ref:t,children:l.map(e=>(0,s.jsxs)("label",{className:"flex items-center",children:[(0,s.jsx)("input",{type:"radio",className:"peer sr-only",...i(r),...d,value:e[0]}),(0,s.jsx)("span",{className:(0,c.Z)("relative z-10 inline-flex items-center justify-center","gap-2 rounded-[5px] border px-3 py-[10px] md:py-[14px]","font-display leading-light min-w-[50px] text-center text-sm font-medium","cursor-pointer transition-all duration-200","border-blue hover:bg-blue-90 peer-hover:bg-blue-90 peer-hover:border-blue-90 hover:text-white hover:shadow-lg peer-hover:text-white","peer-focus-visible:outline peer-focus-visible:outline-[3px] peer-focus-visible:outline-offset-2 peer-focus-visible:outline-darkblue",n===e[0]?"bg-blue text-white":"border-input-grey bg-white text-[#9490ab]"),children:e[1]})]},e[0]))}),o&&(0,s.jsx)("div",{className:"text-error mt-3 text-sm leading-[16.8px]",children:o})]})});p.displayName="RadioButtons";var h=l(9145),v=l(89551),g=l(52939),b=l(11737),j=l(69095),w=l(19015);let y=e=>(null==e?void 0:e.type)==="choice",N=e=>{var t,l,a,o,c,d,u,m,f;let{fieldTypesMap:x,useFormResult:N,fieldTranslations:_,fieldKey:k,langCode:C,disabled:A,policyMessages:S,autocompleters:L,autoCompleteMap:E}=e,{register:M,formState:{errors:T,defaultValues:Z},setValue:R,watch:P}=N,F=e=>{var t;return(0,h.t)(null==_?void 0:null===(t=_[e])||void 0===t?void 0:t.label)},O=(e,t)=>{var l,n;return(0,h.t)(null==_?void 0:null===(n=_[e])||void 0===n?void 0:null===(l=n.error)||void 0===l?void 0:l[t],t)},I=e=>{var t,l,n;let a=null===(t=T[e])||void 0===t?void 0:t.message;return a?(0,h.t)(null==_?void 0:null===(n=_[e])||void 0===n?void 0:null===(l=n.error)||void 0===l?void 0:l[a],a):void 0},D=e=>{var t;return(0,h.t)(null==_?void 0:null===(t=_[e])||void 0===t?void 0:t.textBefore)||void 0},z=e=>{var t;return(0,h.t)(null==_?void 0:null===(t=_[e])||void 0===t?void 0:t.textAfter)||void 0},V=e=>{let t=null==_?void 0:_[e];return y(t)?t.options:[]},H=x[k];switch(H){case"text":case"email":case"readonly":case"number":case"textarea":return(0,s.jsx)(n.WrappingTexts,{before:D(k),after:z(k),children:"textarea"===H?(0,s.jsx)(j.default,{label:F(k),error:I(k),id:k,readOnly:"readonly"===H,...M(k),rows:10,value:(null===(t=P(k))||void 0===t?void 0:t.toString())||"",disabled:A},k):(0,s.jsx)(v.default,{label:F(k),error:I(k),id:k,readOnly:"readonly"===H,...M(k),type:"readonly"===H?"text":H,value:(null===(l=P(k))||void 0===l?void 0:l.toString())||"",autoComplete:(null==L?void 0:L[k])?"off":null!==(o=null==E?void 0:E[k])&&void 0!==o?o:"email"===H?"email":"on",disabled:A,children:!!(null==L?void 0:L[k])&&(0,s.jsx)(w.Autocompleter,{value:(null===(a=P(k))||void 0===a?void 0:a.toString())||"",getOptions:async e=>{let t=null==L?void 0:L[k];return t?t.getOptions(e):[]},onSelect:e=>{var t;null==L||null===(t=L[k])||void 0===t||t.onSelect(e)}},k)},k)});case"password-advanced":case"password":return(0,s.jsx)(n.WrappingTexts,{before:D(k),after:z(k),children:(0,s.jsx)(b.default,{label:F(k),error:I(k),id:k,showStrength:"password-advanced"===H,strengthLabels:{strong:O(k,"strong"),weak:O(k,"weak")},policyMessage:null==S?void 0:S[k],readOnly:"readonly"===H,...M(k),value:(null===(c=P(k))||void 0===c?void 0:c.toString())||"",disabled:A,autoComplete:null!==(d=null==E?void 0:E[k])&&void 0!==d?d:"off"},k)});case"radio-button":return(0,s.jsx)(p,{options:V(k),label:F(k),error:I(k),disabled:A,register:M,name:k,value:(null===(u=P(k))||void 0===u?void 0:u.toString())||""},k);case"date":return(0,s.jsx)(n.WrappingTexts,{before:D(k),after:z(k),children:(0,s.jsx)(g.default,{label:F(k),error:I(k),id:k,disabled:A,...M(k)},k)});case"select":return(0,s.jsx)(n.WrappingTexts,{before:D(k),after:z(k),children:(0,s.jsx)(r.default,{label:F(k),error:I(k),id:k,disabled:A,...M(k),options:V(k),value:(null===(m=P(k))||void 0===m?void 0:m.toString())||""},k)});case"tel-mobile":case"tel-stationary":return(0,s.jsx)(n.WrappingTexts,{before:D(k),after:z(k),children:(0,s.jsx)(i.default,{id:k,disabled:A,label:F(k),error:I(k),langCode:C,numberType:"tel-mobile"===H?"MOBILE":"FIXED_LINE",autoComplete:null!==(f=null==E?void 0:E[k])&&void 0!==f?f:"tel",defaultValue:(null==Z?void 0:Z[k])||"",...(()=>{let{onChange:e,...t}=M(k);return t})(),onChange:e=>R(k,e)},k)})}return null}},92822:function(e,t,l){"use strict";l.r(t),l.d(t,{JSONAsATree:function(){return f}});var n=l(94043),a=l(54403),r=l(31692);let i=e=>"object"==typeof e&&null!==e,s=e=>Array.isArray(e)&&0===e.length,o=e=>0===Object.keys(e).length,c=e=>null===e,d=e=>void 0===e,u=e=>"string"==typeof e?(0,n.jsx)("span",{className:"text-amber-500",children:'"'.concat(e,'"')}):"number"==typeof e?(0,n.jsx)("span",{className:"text-green-500",children:e}):"boolean"==typeof e?(0,n.jsx)("span",{className:"text-fuchsia-500",children:e?"true":"false"}):null===e?(0,n.jsx)("span",{className:"text-cyan-500",children:"null"}):void 0===e?(0,n.jsx)("span",{className:"text-cyan-500",children:"undefined"}):(console.log("handle me",typeof e,e),String(e)),m=e=>{let{node:t,level:l,foldCounter:f,unfoldCounter:x,path:p,className:h}=e,[v,g]=(0,r.useState)({});(0,r.useEffect)(()=>{g(Object.entries(t||{}).reduce((e,t)=>
1{let[l]=t;return e[l]=!1,e},{}))},[f]),(0,r.useEffect)(()=>{g(Object.entries(t||{}).reduce((e,t)=>{let[l]=t;return e[l]=!0,e},{}))},[x]);let b=e=>{g({...v,[e]:!v[e]})};return d(t)||c(t)?u(t):s(t)?(0,n.jsxs)(n.Fragment,{children:[": ",(0,n.jsx)("span",{className:"text-cyan-500",children:"[]"})]}):o(t)?(0,n.jsxs)(n.Fragment,{children:[": ",(0,n.jsx)("span",{className:"text-cyan-500",children:"{}"})]}):(0,n.jsx)("ul",{className:(0,a.Z)("border-l-[1px] border-slate-500 pl-4",h),children:Object.entries(t).map((e,t)=>{let[a,r]=e;return(0,n.jsxs)("li",{children:[(0,n.jsxs)("span",{title:"".concat(p," > ").concat(a),children:[a,i(r)&&!s(r)&&!o(r)&&(0,n.jsxs)(n.Fragment,{children:[" ",(0,n.jsx)("button",{className:"cursor-pointer rounded-md bg-gray-500 px-1 text-white focus:outline-dotted focus:outline-gray-600",onClick:()=>b(a),children:v[a]?"-":"+"})]})]}),i(r)?(0,n.jsx)(m,{className:v[a]?"block":"hidden",node:r,level:l+1,unfoldCounter:x,foldCounter:f,path:"".concat(p," > ").concat(a)}):(0,n.jsxs)(n.Fragment,{children:[": ",u(r)]})]},t)})})},f=e=>{let{data:t,opened:l,fixed:i,className:s,style:o}=e,[c,d]=(0,r.useState)(0),[u,f]=(0,r.useState)(0),[x,p]=(0,r.useState)(!1),[h,v]=(0,r.useState)(!!l);return h?(0,n.jsxs)("div",{style:o,className:(0,a.Z)(s,i&&"fixed bottom-0 left-0 right-0 z-[99998] h-[60vh] overflow-auto","bg-sky-100 p-4 pt-2"),children:[(0,n.jsxs)("div",{className:"flex gap-2 pb-2",children:[(0,n.jsx)("button",{className:"rounded-md bg-gray-500 px-1 text-white",onClick:()=>v(!1),children:"close"}),(0,n.jsx)("button",{className:"rounded-md bg-gray-500 px-1 text-white",onClick:()=>p(!x),children:x?"pretty print":"raw"}),!x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{className:"rounded-md bg-gray-500 px-1 text-white",onClick:()=>d(c+1),children:"+ unfold all"}),(0,n.jsx)("button",{className:"rounded-md bg-gray-500 px-1 text-white",onClick:()=>f(u+1),children:"+ fold all"})]})]}),(0,n.jsx)("div",{className:(0,a.Z)(i&&"max-h-[calc(60vh-56px)] overflow-auto"),children:x?(0,n.jsx)("pre",{style:{width:"100%",whiteSpace:"pre-wrap"},children:JSON.stringify(t,null,2)}):(0,n.jsx)("div",{className:"whitespace-pre-wrap font-[ui-monospace,_monospace]",children:(0,n.jsx)(m,{node:t,level:0,foldCounter:u,unfoldCounter:c,path:"[root]"})})})]}):(0,n.jsx)("div",{style:o,className:(0,a.Z)(s,i?"fixed bottom-0 left-0 z-[99999]":"bg-sky-100 px-4 py-2"),children:(0,n.jsx)("button",{className:(0,a.Z)("rounded-md bg-gray-500 px-1 text-white hover:opacity-95",i?"opacity-20":"opacity-65"),onClick:()=>v(!0),children:"open variables inspector"})})}},17224:function(e,t,l){"use strict";l.d(t,{a:function(){return r}});var n=l(94043),a=l(54403);let r=e=>{let{className:t}=e;return(0,n.jsxs)("div",{className:(0,a.Z)(t),role:"status",children:[(0,n.jsxs)("svg",{"aria-hidden":"true",className:"fill-darkblue h-8 w-8 animate-spin text-gray-200",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),(0,n.jsx)("span",{className:"sr-only",children:"Loading..."})]})}},79474:function(e,t,l){"use strict";l.r(t),l.d(t,{MediaItem:function(){return s}});var n=l(94043),a=l(53198),r=l(54403),i=l(31692);let s=e=>{let{media:t,fit:l="contain",className:i}=e;return(0,n.jsxs)(n.Fragment,{children:["image"===t.type&&(0,n.jsx)(a.t,{...t.media,borderRadius:"none",fit:l,className:(0,r.Z)("absolute-fill",i)}),"video"===t.type&&(0,n.jsx)(o,{...e})]})},o=e=>
1{let{media:t,videoAutoplay:l=!1,isActive:s,fit:o="contain",className:c}=e,d=(0,i.useRef)(null),[u,m]=(0,i.useState)(l&&s);return(0,n.jsxs)("div",{className:(0,r.Z)("absolute-fill group/video-cont z-40 flex h-auto max-h-full w-full items-center justify-center",c),children:[(0,n.jsx)("video",{onPlay:()=>m(!0),onPause:()=>m(!1),className:"mx-auto block max-h-full w-auto object-center",autoPlay:u,ref:d,style:{objectFit:o},playsInline:!0,controls:!0,children:(0,n.jsx)("source",{src:t.media.src,type:"video/mp4"})}),(0,n.jsx)("button",{className:(0,r.Z)("absolute-center pointer-events-none z-[1] block text-white transition",u?"opacity-0":"opacity-100"),children:(0,n.jsx)(a.JO,{icon:"play",className:"h-[56px] w-[56px] lg:h-[90px] lg:w-[90px]"})})]})}},66249:function(e,t,l){"use strict";l.r(t),l.d(t,{AdvancedPicture:function(){return i}});var n=l(94043),a=l(48740),r=l(11960);let i=e=>{let{breakpoints:t,srcMobile:l,focalPoint:i,...s}=e,{props:o}=(0,a.getImageProps)({...s,loader:s.loader||(e=>(0,r.X)(e,s.width?Number(s.width):1e3,s.height?Number(s.height):600,"cover",i))});return(0,n.jsxs)("picture",{children:[t.map((e,t)=>{let{mediaQuery:a,width:c,height:d}=e;return(0,n.jsx)("source",{media:a,srcSet:[1,2].map(e=>{let t=(0,r.X)({src:l&&c<=768?l:o.src,width:c*e,quality:s.quality?Number(s.quality):void 0},c,d,"cover",i);return"".concat(t," ").concat(e,"x")}).join(", ")},t)}),(0,n.jsx)("img",{...o})]})}},42045:function(e,t,l){"use strict";l.r(t),l.d(t,{Picture:function(){return o}});var n=l(94043),a=l(11960),r=l(54403),i=l(48740),s=l(31692);let o=e=>{let{src:t,alt:l,width:o,height:c,widthMobile:d,heightMobile:u,borderRadius:m="10px",aspectRatio:f="auto",fit:x="cover",unoptimized:p,srcMobile:h,className:v,imageClassName:g,style:b,children:j}=e,w=(0,s.useMemo)(()=>["cover","contain"].includes(x)?x:["h-full","w-full"].includes(x)?"contain":"cover",[x]);return(0,n.jsxs)("div",{className:(0,r.Z)("relative !overflow-hidden will-change-transform",v),style:{borderRadius:m,aspectRatio:f,...b},children:[(0,n.jsx)(i.default,{src:t,alt:l||"",width:o||1e3,height:c||1e3,sizes:"",className:(0,r.Z)("h-full w-full object-center","zoom-subtle","hidden md:block","h-full"===x&&"mx-auto !w-auto max-w-none","w-full"===x&&"!h-auto max-h-none",g),style:{objectFit:w},loader:t=>(0,a.X)(t,o,c,w,e.focalPoint),unoptimized:p}),(0,n.jsx)(i.default,{src:h||t,alt:l||"",sizes:"",width:d||500,height:u||500,className:(0,r.Z)("h-full w-full object-center","zoom-subtle","md:hidden","h-full"===x&&"mx-auto !w-auto","w-full"===x&&"!h-auto",g),style:{objectFit:w},loader:t=>(0,a.X)(t,d||o,u||c,w,e.focalPoint),unoptimized:p}),j]})}},52339:function(e,t,l){"use strict";l.d(t,{J:function(){return a.AdvancedPicture},t:function(){return n.Picture}});var n=l(42045),a=l(66249)},11960:function(e,t,l){"use strict";l.d(t,{X:function(){return n}});let n=(e,t,l,n,a)=>{let{src:r,width:i,quality:s}=e;if(!r.startsWith("http"))return r;let o=new URL(r);return o.searchParams.set("width",i.toString()),o.searchParams.set("fit","contain"===n?"inside":"cover"),l&&t&&o.searchParams.set("height",Math.round(i/t*l).toString()),s&&o.searchParams.set("quality",s.toString()),a&&(o.searchParams.set("focal_point_x",a.x.toString()),o.searchParams.set("focal_point_y",a.y.toString())),o.searchParams.set("format","auto"),o.toString()}},6570:function(e,t,l){"use strict";l.r(t),l.d(t,{Popin:function(){return C},PopinClose:function(){return A},PopinCloseButton:function(){return S}});var n=l(94043),a=l(54403),r=l(29556),i=l(9145),s=l(53198),o=l(31692);let c=(0,o.forwardRef)((e,t)=>{let{children:l,title:i,...s}=e;return(0,n.jsx)(r.VY,{onPointerDownOutside:e=>{e.preventDefault(),e.stopPropagation()},className:(0,a.Z)("group fixed inset-0 z-40 flex items-center justify-center"),ref:t,...s,children:(0,n.jsxs)("div",{className:(0,a.Z)("relative max-h-[85vh] w-[90vw] max-w-[948px] rounded-[20px] bg-white p-[18px] focus:outline-none","shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px]","group-data-[state=open]:animate-contentShow"),children:[(0,n.jsx)("div",{className:(0,a.Z)("absolute-fill bg-gradient-skyblue rounded-[20px] bg-gradient-to-b opacity-20")}),(0,n.jsx)(A,{}),(0,n.jsx)(r.Dx,{className:"font-display text-darkblue relative z-10 min-h-[0.7em] text-[40px] leading-none",children:i}),(0,n.jsx)("div",{className:"border-darkblue relative mt-[18px] flex items-center justify-center rounded-[20px] border-none [&>*]:flex-grow [&_#flagwidget_.resa-engine]:max-w-full",children:l})]})})});c.displayName="PopinWidget";let d=(0,o.forwardRef)((e,t)=>{let{children:l,title:i,...o}=e;return(0,n.jsxs)(r.VY,{className:(0,a.Z)("data-[state=closed]:animate-fadeOut group fixed left-0 top-0 z-40 h-full w-full","p-[18px] "),ref:t,...o,children:[(0,n.jsx)(s.am,{}),(0,n.jsx)("div",{className:(0,a.Z)("absolute-fill group-data-[state=open]:animate-contentShow !fixed z-30 !overflow-auto"),children:l})]})});d.displayName="PopinVideo";var u=l(65041),m=l(16100);let f=(0,o.forwardRef)((e,t)=>{let{children:l,title:i,media:o,initialSlide:c,...d}=e;return(0,n.jsxs)(r.VY,{className:(0,a.Z)("data-[state=closed]:animate-fadeOut absolute-fill group !fixed z-40","p-[18px] "),ref:t,...d,children:[(0,n.jsx)(s.am,{}),(0,n.jsx)("div",{className:(0,a.Z)("group-data-[state=open]:animate-contentShow absolute-fill  z-30"),children:(0,n.jsx)(x,{media:o,initialSlide:c})})]})});f.displayName="PopinVideo";let x=e=>{let{media:t,initialSlide:l=0}=e,[r,i]=(0,o.useState)(l),[c,d]=(0,o.useState)(null),f=(0,o.useCallback)(e=>{setTimeout(()=>i(e.activeIndex),100)},[]),x=(0,o.useCallback)(e=>d(e),[]);return(0,o.useEffect)(()=>{c&&c.slideTo(l,0)},[l,c]),(0,n.jsx)("div",{className:(0,a.Z)("absolute-center h-full max-h-[80%] w-full landscape:max-w-[80%]"),children:(0,n.jsxs)(u.tq,{modules:[m.W_,m.N1,m.s5],slidesPerView:1,wrapperClass:"",keyboard:!0,speed:200,onSlideChange:f,onInit:x,className:(0,a.Z)("absolute-fill !absolute [&_*]:will-change-transform"),navigation:{nextEl:".nav-next",prevEl:".nav-prev"},children:[null==t?void 0:t.map((e,t)=>(0,n.jsx)(u.o5,{className:"absolute-fill",children:(0,n.jsx)(s.ZX,{media:e,videoAutoplay:!0,isActive:r===t})},t)),!!t&&(null==t?void 0:t.length)>1&&(0,n.jsx)(s.Dj,{className:"fixed bottom-0 left-0 z-20 w-full translate-y-full transform !py-[2vh]",showOnMobile:!0})]})})},p=(0,o.forwardRef)((e,t)=>(0,n.jsxs)(r.VY,{className:(0,a.Z)("data-[state=closed]:animate-fadeOut group fixed left-0 top-0 z-40 h-full w-full","p-[18px] "),ref:t,...e,children:[(0,n.jsx)(s.am,{}),(0,n.jsx)("div",{className:(0,a.Z)("absolute-fill group-data-[state=open]:animate-enterFromBottom !fixed z-30"),children:(0,n.jsx)(h,{...e})})]}));p.displayName="PopinVideo";let h=e=>{let{title:t,subtitle:l,description:a,features:r,subtext:i,cta:o,media:c}
1=e;return(0,n.jsxs)("div",{className:"absolute-fill flex h-full flex-col items-stretch justify-center landscape:flex-row",children:[!!(null==c?void 0:c.length)&&(0,n.jsx)("div",{className:"relative aspect-video shrink-0 grow-0 landscape:aspect-auto landscape:basis-1/2",children:(0,n.jsx)(v,{media:c})}),(0,n.jsx)("div",{className:"relative flex flex-1 flex-col items-center justify-start overflow-y-auto bg-white landscape:z-10 landscape:justify-center",children:(0,n.jsxs)("div",{className:"box-content max-w-[640px] overflow-y-auto px-[6.4%] py-[6vh] landscape:py-[10vh] landscape:pl-[16%] landscape:pr-[25%]",children:[(0,n.jsx)("h2",{className:"mb-[0.1em] text-[32px]/none md:text-[40px]/none",children:t}),(0,n.jsx)("h3",{className:"font-display leading-tight  tracking-[0.04em]",children:l}),(0,n.jsx)(s.o8,{text:a,className:"my-4 mt-4 !text-lg/normal md:mt-6 lg:mt-8"}),!!r&&r.length>0&&(0,n.jsx)("div",{className:"lg::mt-8 mt-4 flex flex-col gap-2 md:mt-6",children:r.map((e,t)=>(0,n.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(null==e?void 0:e.icon)&&(0,n.jsx)(s.t,{...e.icon,width:24,height:24,className:"h-6 w-6",alt:e.name||""}),(0,n.jsx)("div",{className:"text-sm",dangerouslySetInnerHTML:{__html:e.name||""}})]},t))}),!!i&&(0,n.jsx)("div",{className:"mt-4 text-xs font-light",dangerouslySetInnerHTML:{__html:i}}),!!o&&(0,n.jsx)(s.zx,{className:"mt-8 md:mt-10",link:o})]})})]})},v=e=>{let{media:t}=e;return(0,n.jsxs)(u.tq,{modules:[m.W_,m.N1,m.s5],slidesPerView:1,wrapperClass:"",keyboard:!0,speed:200,loop:!0,className:(0,a.Z)("absolute-fill !absolute !overflow-visible [&_*]:will-change-transform"),navigation:{nextEl:".nav-next",prevEl:".nav-prev"},children:[null==t?void 0:t.map((e,t)=>(0,n.jsx)(u.o5,{className:"absolute-fill",children:(0,n.jsx)(s.ZX,{media:e,videoAutoplay:!0,fit:"cover"})},t)),!!t&&(null==t?void 0:t.length)>1&&(0,n.jsx)(s.Dj,{className:"absolute bottom-0 left-0 z-20 w-full translate-y-1/2 transform !py-[2vh] landscape:translate-y-0",showOnMobile:!0})]})};var g=l(97161);let b=(0,o.forwardRef)((e,t)=>(0,n.jsxs)(r.VY,{className:(0,a.Z)("data-[state=closed]:animate-exitToRight data-[state=open]:animate-enterFromRight group fixed right-0 top-0 z-40 h-full w-full max-w-[420px] bg-white","p-[18px] "),ref:t,...e,children:[(0,n.jsx)(s.am,{}),(0,n.jsx)("div",{className:(0,a.Z)(),children:(0,n.jsx)(j,{...e})})]}));b.displayName="PopinCalendar";let j=e=>{let{date:t,data:l,lang:a,translations:r}=e;return g.Zr.defaultLocale=a.toLowerCase(),(0,n.jsxs)("div",{className:"absolute-fill flex h-full flex-col !overflow-y-auto px-5 pb-[40px] pt-12 md:px-6 md:pb-[48px]",children:[(0,n.jsx)(s._q,{line1:t?(0,i.Z5U)((0,i.PqK)(t)||""):null}),!!l&&Object.keys(l).map(e=>{let t=l[e];return(0,n.jsx)(w,{...t,translations:r},e)})]})},w=e=>{let{type:t,title:l,info:r,descriptionLabel:i,description:o,detailsSchedule:c,subevents:d,ctas:u,translations:m}=e,f=[{title:i||m.moreInfo,children:(0,n.jsxs)(n.Fragment,{children:[!!(null==d?void 0:d.length)&&(0,n.jsx)("div",{children:d.map((e,t)=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(y,{...e,translations:m},t)}))}),(0,n.jsx)(s.o8,{className:"text-paragraph-cal-popin !text-sm md:!text-base",text:o})]})}];return(0,n.jsxs)("div",{className:(0,a.Z)("flex flex-col ","pb-[36px] md:pb-[48px]"),children:[(0,n.jsx)("p",{className:"font-display text-[32px] font-medium uppercase leading-[32px] md:text-[40px] md:leading-[40px]",children:"schedule"===t?null==c?void 0:c.spaceName:l}),!!r&&"schedule"!==t&&(0,n.jsx)(N,{className:"text-green-dark",children:r}),"schedule"===t?(0,n.jsx)(_,{...e}):null,o||(null==d?void 0:d.length)?(0,n.jsx)(s.UQ,{size:"small",items:f,className:"mb-2 pt-5",clearInnerSpacings:!1}):null,!!(null==u?void 0:u.length)&&(0,n.jsx)("div",{className:"mt-4 flex justify-start gap-4",children:u.map((e,t)=>(0,n.jsx)(s.zx,{size:"small",link:e,className:""}))})]})},y=e=>{let{title:t,description:l,info:a}=e;return(0,n.jsxs)("div",{className:"pb-3",children:[(0,n.jsx)("h5",{className:"text-lg font-bold",children:t}),!!a&&(0,n.jsx)("p",{className:"text-lg",dangerouslySetInnerHTML:{__html:a}}),!!l&&(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:l}})]})},N=e=>{let{children:t,className:l}=e;return(0,n.jsx)("p",{className:(0,a.Z)("font-display text-[20px] font-medium leading-[26px] md:text-[24px] md:leading-[30px]",l),children:t})},_=e=>{let{detailsSchedule:t,translations:l,info:a}=e,r=null==t?void 0:t.hours;return(0,n.jsx)(N,{className:(null==t?void 0:t.closed)?"":"text-green-dark",children:(null==t?void 0:t.closed)?(0,i.Z5U)(a||l.closed):(null==r?void 0:r.from)||(null==r?void 0:r.to)?(0,i.IqF)(a||l.openFromToTemplate,{OPEN:(0,i.VWp)(r.from)||"?",CLOSE:(0,i.VWp)(r.to)||"?"}):(0,i.Z5U)(a||l.open)})},k=(e,t)=>{switch(e){case"widget":return(0,n.jsx)(c,{...t.widget,children:t.children});case"gallery":return(0,n.jsx)(f,{...t.gallery});case"video":var l;return(0,n.jsx)(f,{media:[{type:"video",media:{src:(null===(l=t.video)||void 0===l?void 0:l.url)||""}}]});case"room":return(0,n.jsx)(p,{...t.room});case"cookies":return(0,n.jsx)("div",{children:"Cookies"});
1case"custom":return(0,n.jsx)(d,{...t,children:t.children});case"calendar":return(0,n.jsx)(b,{...t.calendar});default:return null}},C=e=>{let{triggerHashName:t="popin",variant:l,open:s,onOpenChange:o,className:c}=e,{isTriggered:d,resetHash:u}=(0,i.Hpy)(t);return(0,n.jsx)(r.fC,{open:s||d,onOpenChange:e=>{o?o(e):e||u()},children:(0,n.jsx)(r.h_,{children:(0,n.jsxs)("div",{className:(0,a.Z)("",c),children:[(0,n.jsx)(r.aV,{className:(0,a.Z)("fixed inset-0 z-40","data-[state=open]:animate-overlayShow data-[state=closed]:animate-fadeOut","widget"===l||"calendar"===l?"bg-darkblue/40":"bg-white")}),k(l,e)]})})})},A=e=>(0,n.jsx)(r.x8,{asChild:!0,children:(0,n.jsx)(S,{...e})}),S=e=>{let{className:t,...l}=e;return(0,n.jsx)("button",{"aria-label":"Fermer",className:(0,a.Z)("text-darkblue absolute right-0 top-0 z-50 flex shrink-0 items-center justify-center p-6 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue","transition hover:opacity-75",t),...l,children:(0,n.jsx)(s.JO,{icon:"popinClose",className:"text-[18px]"})})}},76632:function(e,t,l){"use strict";l.r(t),l.d(t,{Price:function(){return c}});var n=l(94043),a=l(54403),r=l(31692);let i=e=>Math.floor(e),s=e=>{let t=Math.round((e-i(e))*100).toString().padStart(2,"0");return"00"===t?"":t},o=e=>e||0===e,c=e=>{let{price:t,textBefore:l,textAfter:c,promo:d,offerType:u="price",layout:m="vertical",size:f="default",className:x}=e,p=(0,r.useMemo)(()=>d||t,[d,t]);return o(p)?(0,n.jsxs)("div",{className:(0,a.Z)("component--price",x),children:[l&&(0,n.jsx)("p",{className:"text-darkblue font-body text-xs font-normal leading-tight",children:l}),(0,n.jsxs)("div",{className:(0,a.Z)("flex items-start","horizontal"===m?"flex-row":"flex-col "),children:[null!=p&&(0,n.jsxs)("div",{className:(0,a.Z)("font-display text-bleu-futu after:font-display relative flex font-medium uppercase leading-none","default"===f&&"text-[50px]","large"===f&&"-mb-[0.1em] md:text-[70px] lg:text-[80px] xl:text-[90px]"),children:[i(p),s(p)?",":"",(0,n.jsxs)("span",{className:(0,a.Z)("text-bleu-futu font-display mt-[2px] inline-block align-top text-[0.5em] font-medium uppercase leading-none "),children:[s(p)||"","percent"===u?"%":"€"]})]}),(0,n.jsxs)("div",{className:(0,a.Z)("flex items-end","horizontal"===m?"self-end":""),children:[c&&(0,n.jsx)("small",{className:"mb-[5px] ml-1 mr-2 ",dangerouslySetInnerHTML:{__html:c}}),!!d&&!!t&&(0,n.jsxs)("small",{className:(0,a.Z)("font-display text-darkblue relative mb-[2px] flex px-[5px] text-2xl font-medium leading-[30px] opacity-70 after:bg-current","after:rotate-60 after:absolute after:right-1/2 after:top-1/2 after:h-[140%] after:w-[1.5px] after:-translate-x-1/2 after:-translate-y-1/2 after:content-['']"),children:[i(t),s(t)?",":"",(0,n.jsxs)("span",{className:(0,a.Z)("text-darkblue font-display mt-1 inline-block align-top text-[0.5em] font-medium uppercase leading-none "),children:[s(t)||"","€"]})]})]})]})]}):null}},99082:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveContact:function(){return k},default:function(){return C}});var n=l(94043),a=l(48831),r=l(21736),i=l(9145),s=l(95899),o=l(5428),c=l(31692),d=l(63534),u=l(61907),m=l(28516),f=l(39137);let x=m.j.merge(f.Ry({documentNumber:f.Z_().optional(),dateOfArrival:f.dj(e=>""===e||void 0===e?void 0:e,f.Z_().date().optional()),message:f.Z_().min(1,{message:"required"})})),p={...m.Y,documentNumber:"text",dateOfArrival:"date",message:"textarea"},h={email:"email",password:"current-password",firstName:"given-name",lastName:"family-name",streetName:"address-line1",postalCode:"postal-code",city:"address-level2",complementaryAddress1:"address-line2",complementaryAddress2:"address-line3",mobile:"tel",stationary:"tel"},v=e=>{let{loadData:t,submitData:l,updatePassword:a,updateEmail:m}=e,f=(0,s.uK)(),v=(0,s.ec)(),{captchaComponent:g,didSolveCaptcha:b}=(0,i.my9)((null==v?void 0:v.langCode)||"fr"),{formStateEssentials:{submitting:j,success:w,serverError:y},setServerError:N,setSubmitting:_,setSuccess:k}=(0,i.QUq)(),C=e=>{var t,l;return(0,i.t)(null==f?void 0:null===(l=f.contact)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t[e])},A=(0,d.cI)({resolver:(0,o.F)(x)}),{handleSubmit:S,reset:L,setError:E,clearErrors:M,trigger:T,getValues:Z,setValue:R,watch:P}=A,F=(0,c.useMemo)(()=>{var e;return(null===(e=P("country"))||void 0===e?void 0:e.toString())||""},[P("country")]),{runAdvancedValidation:O,autocompleters:I}=(0,i.G6m)(F,E,M,T,Z,R);(0,c.useEffect)(()=>{t().then(e=>{L(e)})},[t,L]);let D=async e=>
1{if(!j){if(!await b()||!O(e))return!1;N(null),_(!0);try{await l(e),k(!0)}catch(e){N((0,i.qTG)(e)||"Something went wrong")}finally{_(!1)}}},z=e=>{var t;return(0,n.jsx)(r.O5,{fieldKey:e,fieldTranslations:(null==f?void 0:null===(t=f.contact)||void 0===t?void 0:t.fields)||null,fieldTypesMap:p,langCode:(null==v?void 0:v.langCode)||"fr",useFormResult:A,autocompleters:I,autoCompleteMap:h},e)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{onSubmit:S(D),className:"mx-auto flex max-w-[420px] flex-col gap-4",children:[(0,n.jsx)("div",{className:"mb-6",dangerouslySetInnerHTML:{__html:C("contactFormDescription")}}),(0,n.jsxs)(r.Y3,{legend:C("headingProfile")||"Identity",children:[z("civilite"),z("firstName"),z("lastName"),(0,n.jsx)(r.$Q,{label:C("buttonModify"),onClick:e=>{e.preventDefault(),m()},children:z("email")}),(0,n.jsx)(r.$Q,{label:C("buttonModify"),onClick:e=>{e.preventDefault(),a()},children:z("password")}),z("birthdate")]}),(0,n.jsxs)(r.Y3,{legend:C("headingAddress"),children:[(0,n.jsx)(r.XU,{content:C("infoAddress")}),z("country"),(0,n.jsx)(r.y5,{first:z("streetNumber"),second:z("streetName")}),(0,n.jsx)(r.y5,{first:z("postalCode"),second:z("city")}),z("complementaryAddress1"),z("complementaryAddress2")]}),(0,n.jsxs)(r.Y3,{legend:C("headingPhone"),children:[z("mobile"),z("stationary")]}),(0,n.jsxs)(r.Y3,{legend:C("headingMessage"),children:[z("documentNumber"),z("dateOfArrival"),z("message")]}),(0,n.jsxs)(r.Y3,{legend:C("headingConsent"),children:[z("optinEmailFuturo"),z("optinNewsletterGroup")]}),g,(0,n.jsx)("div",{className:"mt-6",children:(0,n.jsx)(r.zx,{submit:!0,className:j?"pointer-events-none opacity-50":"",children:C("buttonUpdateProfile")})}),!!y&&(0,n.jsx)(r.Ck,{error:y})]}),!!w&&(0,n.jsx)(u.L,{open:w,btnText:C("buttonProfileSuccess"),title:C("messageProfileSuccess"),close:()=>{var e,t,l,n;(null==f?void 0:null===(t=f.profile)||void 0===t?void 0:null===(e=t.profileHome)||void 0===e?void 0:e.url)?window.location.href=null==f?void 0:null===(n=f.profile)||void 0===n?void 0:null===(l=n.profileHome)||void 0===l?void 0:l.url:k(!1)}})]})};var g=l(45609),b=l(11032);let j=e=>({...(0,b.mJ)(e),documentNumber:"",dateOfArrival:"",message:""});var w=l(64343),y=l(2451),N=l(22822),_=l(97735);let k=e=>{var t,l;let{submitContactForm:r}=e,i=(0,y.G)(),[o,d]=(0,c.useState)(!1),[u,m]=(0,c.useState)(!1),[f,x]=(0,c.useState)(null),p=(0,c.useMemo)(()=>{let{client:e,ready:t,sessionValid:l}=i||{};return!!e&&!!t&&!!l},[i]),h=(0,s.ec)(),k=null==h?void 0:null===(l=h.translations)||void 0===l?void 0:null===(t=l.contact)||void 0===t?void 0:t.legals,C=(0,c.useCallback)(async()=>{let{client:e,authResult:t}=i||{};if(!(null==t?void 0:t.accessToken)||!e)return j({});let l=await e.getUser({accessToken:t.accessToken,fields:"email,name,customFields,givenName,familyName,phoneNumber,birthDate,addresses,consents"}),n=(0,b.J7)(l);return x(n),j(n)},[p,i]),A=(0,c.useCallback)(async e=>{var t,l;let{client:n,authResult:a}=i||{};if(!(null==a?void 0:a.accessToken)||!n)return;let{message:s,documentNumber:o,dateOfArrival:c,...d}=e,u=(0,b.q6)(d,f);await Promise.all([n.updateProfile({accessToken:a.accessToken,data:u}),r({...u,message:s,documentNumber:o,dateOfArrival:c,locale:(null==h?void 0:h.langCode)||"fr"})]),(0,w.t5)("contact.submit",{event:"click.action",click:"account",click_chapter1:"submit_form",click_chapter2:"VISIT_DATE",click_chapter3:"",goal_type:"submit_form"},(null==h?void 0:h.gtmPreset)||{},{VISIT_DATE:()=>c||""}),(null===(l=u.consents)||void 0===l?void 0:null===(t=l.optin_email_futuro)||void 0===t?void 0:t.granted)&&(0,w.t5)("newsletter_signup",{event:"click.action",click:"account",click_chapter1:"optin_crm",click_chapter2:"PAGE_PATH",click_chapter3:"",goal_type:"optin_crm"})},[p,i,f]);return!!p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{loadData:C,submitData:A,updatePassword:()=>d(!0),updateEmail:()=>m(!0)}),!!o&&(0,n.jsx)(g.C,{open:o,onOpenChange:e=>d(e),children:(0,n.jsx)(_.Z,{close:()=>d(!1)})}),!!u&&(0,n.jsx)(g.C,{open:u,onOpenChange:e=>m(e),children:(0,n.jsx)(N.Z,{close:()=>m(!1)})}),!!k&&(0,n.jsx)(a.xZ,{text:k,className:"mt-[64px] md:mt-[80px]",inContainer:!0})]})};
1var C=k},12855:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveContracts:function(){return f}});var n=l(94043),a=l(2451),r=l(31692),i=l(9145),s=l(66451),o=l(95899),c=l(17224),d=l(48831);let u=(e,t,l)=>{var n;let{translations:a,langCode:r}=t;return{image:{src:(null===(n=a.document.image)||void 0===n?void 0:n.src)||i.jMx},title:"".concat(a.contract.item," N\xb0").concat(e.contractNbr),description:(0,i.l80)(e.startDate,e.endDate,r,a.common.contractDescPattern),link:e.contractPdf?{href:e.contractPdf,title:a.contract.button,specialAction:"downloadMenu",newTab:!0}:void 0,expired:!!l}},m=(e,t)=>{let{translations:l}=t;return{reservations:e&&(e.activeReservations.length||e.pastReservations.length)?[...e.activeReservations.length?[{title:l.contract.current,reservations:e.activeReservations.map(e=>u(e,t))}]:[],...e.pastReservations.length?[{title:l.contract.past,reservations:e.pastReservations.map(e=>u(e,t,!0))}]:[]]:[],noReservations:{backgroundImage:l.document.image,cardTitle:l.document.imageTitle,heading:l.document.noReservation,link:l.document.imageLink}}},f=e=>{var t,l;let{getContracts:u}=e,[f,x]=(0,r.useState)(null),p=(0,a.G)(),h=(0,o.ec)(),v=null==h?void 0:null===(l=h.translations)||void 0===l?void 0:null===(t=l.contract)||void 0===t?void 0:t.legals;return(0,r.useEffect)(()=>{let{ready:e,authResult:t,sessionValid:l}=p||{};e&&(null==t?void 0:t.accessToken)&&l&&h&&u((0,i.YfC)(h.langCode),t.accessToken).then(e=>{x(e)}).catch(e=>{console.error("[ReachFiveContracts] Error fetching contracts:",e),x({activeReservations:[],pastReservations:[]})})},[p,h]),(0,n.jsx)(r.Suspense,{children:f&&h?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.d,{...m(f,h)}),!!v&&(0,n.jsx)(d.xZ,{text:v,className:"mt-[80px] md:mt-[100px]",inContainer:!0})]}):(0,n.jsx)(c.a,{className:"flex items-center justify-center px-4 py-10 text-center"})})};t.default=f},69116:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveForgotPassword:function(){return v},default:function(){return g}});var n=l(94043),a=l(2451),r=l(32371),i=l(31692),s=l(9145),o=l(63534),c=l(5428),d=l(39137),u=l(21736),m=l(95899),f=l(61907);let x=d.Ry({email:d.Z_().min(1,"required")}),p={email:"email"},h=e=>{let t,{loadData:l,submitData:a,cancel:d,submitting:h,serverError:v,success:g,close:b}=e,j=(0,r.mE)(),w=(0,m.ec)(),{captchaComponent:y,didSolveCaptcha:N,getCaptchaToken:_}=(0,s.my9)((null==w?void 0:w.langCode)||"fr"),k=e=>{var t;return(0,s.t)(null==j?void 0:null===(t=j.elements)||void 0===t?void 0:t[e])},C=(0,o.cI)({resolver:(0,c.F)(x)}),{handleSubmit:A,reset:S}=C;(0,i.useEffect)(()=>{S(l())},[S]);let L=async e=>{!h&&await N()&&await a(e,_())};return(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,n.jsx)(f.n,{title:k("headingForgot"),close:b,...g?{info:k("forgotCallbackMessage"),btnText:k("forgotButtonOk")}:{}}),!g&&(0,n.jsxs)("form",{onSubmit:A(L),className:"mx-auto flex w-full max-w-[420px] flex-col gap-4 px-6",children:[(t="email",(0,n.jsx)(u.O5,{fieldKey:t,fieldTranslations:(null==j?void 0:j.fields)||null,fieldTypesMap:p,langCode:(null==w?void 0:w.langCode)||"fr",useFormResult:C},t)),y,(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(u.zx,{submit:!0,className:h?"pointer-events-none opacity-50":"",children:k("forgotSubmit")}),(0,n.jsx)(u.zx,{color:"bright_inverted",onClick:e=>{e.preventDefault(),d()},children:k("forgotCancel")})]}),!!v&&(0,n.jsx)(u.Ck,{error:v})]})]})},v=e=>{var t;let{cancel:l,close:o}=e,{setSubmitting:c,setServerError:d,setSuccess:u,formStateEssentials:m}=(0,s.QUq)(),f=(0,a.G)(),x=(0,r.ZT)(),p=(0,r.mE)(),v=(0,i.useCallback)(async(e,t)=>{let{client:l}=f||{};if(l){c(!0);try{await l.requestPasswordReset({email:e.email,redirectUrl:(0,s.Y9D)(!0),...t&&{captchaToken:t,captchaProvider:"captchafox"}}),u(!0)}catch(e){if((0,s.uD2)(e)){var n;throw d((0,s._8C)({explicitOverride:null==p?void 0:null===(n=p.elements)||void 0===n?void 0:n.messageTooManyAttempts,langCode:(null==x?void 0:x.langCode)||"en"})),e}if((0,s.CWV)(e)){u(!0);return}throw d((0,s.qTG)(e)||"Something went wrong"),e}finally{c(!1)}}},[null==p?void 0:null===(t=p.elements)||void 0===t?void 0:t.messageTooManyAttempts,null==x?void 0:x.langCode,f]);return(0,n.jsx)("div",{className:"flex flex-col gap-4",children:(0,n.jsx)(h,{...m,loadData:()=>({email:""}),cancel:l,submitData:v,close:o})})};var g=v},69762:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveLogin:function(){return j},default:function(){return w}});var n=l(94043),a=l(2451),r=l(32371),i=l(31692),s=l(47515),o=l(53198);let c=e=>{let{description:t,title:l,link:a}=e;return(0,n.jsxs)("div",{className:"flex flex-col px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",children:l}),(0,n.jsx)(o.o8,{className:"text-darkblue font-body mt-4 !text-base font-normal 
1!leading-tight",text:t}),!!a&&(0,n.jsx)(o.zx,{className:"mt-6 self-start",link:a})]})};var d=l(63534),u=l(5428),m=l(39137),f=l(21736),x=l(95899),p=l(9145);let h=m.Ry({username:m.Z_().min(1,"required"),password:m.Z_().min(1,"required")}),v={username:"email",password:"password"},g=e=>{let{loadData:t,submitData:l,forgotPassword:a,submitting:s,serverError:o}=e,c=(0,r.mE)(),m=(0,x.ec)(),{captchaComponent:g,didSolveCaptcha:b,getCaptchaToken:j}=(0,p.my9)((null==m?void 0:m.langCode)||"fr"),w=e=>{var t;return(0,p.t)(null==c?void 0:null===(t=c.elements)||void 0===t?void 0:t[e])},y=(0,d.cI)({resolver:(0,u.F)(h)}),{handleSubmit:N,reset:_}=y;(0,i.useEffect)(()=>{_(t())},[_]);let k=async e=>{!s&&await b()&&await l(e,j())},C=e=>(0,n.jsx)(f.O5,{fieldKey:e,fieldTranslations:(null==c?void 0:c.fields)||null,fieldTypesMap:v,langCode:(null==m?void 0:m.langCode)||"fr",useFormResult:y},e);return(0,n.jsx)("div",{className:"flex w-full flex-col gap-4",children:(0,n.jsxs)("form",{onSubmit:N(k),className:"mx-auto flex w-full max-w-[420px] flex-col gap-4",children:[C("username"),C("password"),(0,n.jsx)("div",{children:(0,n.jsx)("a",{href:"#",className:"text-[10px] leading-[12px]",onClick:e=>{e.preventDefault(),a()},children:w("forgetPassword")})}),g,(0,n.jsx)("div",{className:"flex gap-3",children:(0,n.jsx)(f.zx,{submit:!0,className:s?"pointer-events-none opacity-50":"",children:w("buttonLogin")})}),!!o&&(0,n.jsx)(f.Ck,{error:o})]})})};var b=l(64343);let j=e=>{var t,l,o,d,u,m,f,x,h;let{forgotPassword:v,accountUrl:j,infoSection:w}=e,{setSubmitting:y,setServerError:N,formStateEssentials:_}=(0,p.QUq)(),k=(0,a.G)(),C=(0,r.ZT)(),A=(0,r.mE)(),S=(0,i.useCallback)(e=>(0,b.t5)("login",{event:"click.navigation",click:"account",click_chapter1:"connexion",click_chapter2:"LOGIN_METHOD",click_chapter3:e,goal_type:""},(null==C?void 0:C.gtmPreset)||{},{LOGIN_METHOD:()=>(null==k?void 0:k.currentLoginMethod)||"MAIL"}),[null==k?void 0:k.currentLoginMethod,C]),L=(0,i.useCallback)(async(e,t)=>{var l,n,a,r,i,s,o;let{client:c}=k||{};if(!c)return;null==k||k.setCurrentLoginMethod("MAIL");let d=(0,p.d4j)({fieldErrorWeak:null==A?void 0:null===(a=A.fields)||void 0===a?void 0:null===(n=a.password)||void 0===n?void 0:null===(l=n.error)||void 0===l?void 0:l.weak,explicitOverride:null==A?void 0:null===(r=A.elements)||void 0===r?void 0:r.messagePasswordTooWeak,langCode:(null==C?void 0:C.langCode)||"en"}),u=(0,p._xI)({explicitOverride:null==A?void 0:null===(i=A.elements)||void 0===i?void 0:i.messageAccountLocked,langCode:(null==C?void 0:C.langCode)||"en"}),m=(0,p._8C)({explicitOverride:null==A?void 0:null===(s=A.elements)||void 0===s?void 0:s.messageTooManyAttempts,langCode:(null==C?void 0:C.langCode)||"en"}),f=(0,p.YSc)({explicitOverride:null==A?void 0:null===(o=A.elements)||void 0===o?void 0:o.messageAccountDisabled,langCode:(null==C?void 0:C.langCode)||"en"});y(!0);try{let l=p.Cci;try{l=(await c.getPasswordStrength(e.password)).score}catch(e){console.error("[ReachFiveLogin] getPasswordStrength failed",e)}if(l<p.Cci){N(d);return}await c.loginWithPassword({email:e.username,password:e.password,auth:{useWebMessage:!0},...t&&{captchaToken:t,captchaProvider:"captchafox"}})}catch(n){let e=(0,p.uD2)(n)?m:null,t=(0,p.eBv)(n)?f:null,l=(0,p.lPq)(n)?u:null;throw N(e||t||l||(0,p.fyF)(n,d)||"Something went wrong"),n}finally{y(!1)}},[null==A?void 0:null===(t=A.elements)||void 0===t?void 0:t.messageAccountDisabled,null==A?void 0:null===(l=A.elements)||void 0===l?void 0:l.messageAccountLocked,null==A?void 0:null===(o=A.elements)||void 0===o?void 0:o.messagePasswordTooWeak,null==A?void 0:null===(d=A.elements)||void 0===d?void 0:d.messageTooManyAttempts,null==A?void 0:null===(f=A.fields)||void 0===f?void 0:null===(m=f.password)||void 0===m?void 0:null===(u=m.error)||void 0===u?void 0:u.weak,null==C?void 0:C.langCode,k]);return(0,i.useEffect)(()=>{if(null==k?void 0:k.ready)return k.setIsLoginFlow(!0),()=>{k.setIsLoginFlow(!1)}},[null==k?void 0:k.ready]),(0,i.useEffect)(()=>{let{client:e,ready:t}=k||{};if(!e||!t)return;let l=async e=>{console.log("[ReachFiveLogin] listiner on success",e),await S("success"),window.location.href=j},n=async e=>{console.log("[ReachFiveLogin] listiner on failed",e),await S("fail")};return e.on("authenticated",l),e.on("authentication_failed",n),()=>{e&&(e.off("authenticated",l),e.off("authentication_failed",n))}},[k,S,j]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex flex-col gap-4 px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",dangerouslySetInnerHTML:{__html:(null==A?void 0:null===(x=A.elements)||void 0===x?void 0:x.headingLogin)||""}}),(0,n.jsx)(s.Z,{onSelectedProvider:async e=>{console.log("[ReachFiveLogin] onSelectedProvider",e),null==k||k.setCurrentLoginMethod((0,b.tp)(e))}}),(0,n.jsx)("div",{children:null==A?void 0:null===(h=A.elements)||void 0===h?void 0:h.or}),(0,n.jsx)(g,{..._,loadData:()=>({password:"",username:""}),submitData:L,forgotPassword:v})]}),(0,n.jsx)("hr",{className:"border-darkblue my-8 w-full border-t opacity-20 md:my-12"}),(0,n.jsx)(c,{...w})]})};var w=j},76297:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveLogout:function(){return o}});var n=l(94043),a=l(31692),r=l(2451),i=l(54403),s=l(64343);let o=(0,a.forwardRef)((e,t)=>{let{children:l,className:a}=e,{client:o,ready:c,sessionValid:d}=(0,r.G)()||{},u=e=>(0,s.t5)("logout",{event:"click.action",click:"account",click_chapter1:"deconnexion",click_chapter2:e,click_chapter3:"",goal_type:""});return!!o&&!!c&&!!d&&(0,n.jsx)("span",{ref:t,role:"button",className:(0,i.Z)("cursor-pointer",a),onClick:async()=>{try{await o.logout({redirectTo:window.location.href}),u("success")}catch(e){u("fail")}},children:l})})},32689:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveProfile:function(){return p},default:function(){return h}});var n=l(94043),a=l(48831),r=l(54853),i=l(45609),s=l(9145),o=l(11032);l(24840);var c=(0,l(69173).$)("b31210d369d4a87544c4e1500c91d64ff0c36d84"),d=l(95899),u=l(2451),m=l(31692),f=l(22822),x=l(97735);let p=()=>{var e,t;let[l,p]=(0,m.useState)(!1),[h,v]=(0,m.useState)(!1),[g,b]=(0,m.useState)(null),j=(0,u.G)(),w=(0,d.ec)(),y=null==w?void 0:null===(t=w.translations)||void 0===t?void 0:null===(e=t.profile)||void 0===e?void 0:e.legals,N=(0,m.useMemo)(()=>{let{client:e,ready:t,sessionValid:l}=j||{};return!!e&&!!t&&!!l},[j]),_=(0,m.useCallback)(async()=>{let{client:e,authResult:t}=j||{};if(!(null==t?void 0:t.accessToken)||!e||!w)return{profile:(0,o.mJ)({}),nameEditAvailability:"not-available"};let l=await e.getUser({accessToken:t.accessToken,fields:"email,name,customFields,givenName,fam
1ilyName,phoneNumber,birthDate,addresses,consents"}),n=(0,o.J7)(l);return b(n),{profile:(0,o.mJ)(n),nameEditAvailability:await c((0,s.YfC)(w.langCode),t.accessToken,w.accountBlockId)}},[N,j]),k=(0,m.useCallback)(async e=>{let{client:t,authResult:l}=j||{};if(!(null==l?void 0:l.accessToken)||!t)return;let n=(0,o.q6)(e,g);await t.updateProfile({accessToken:l.accessToken,data:n})},[N,j,g]);return!!N&&!!w&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.r8,{loadData:_,submitData:k,updatePassword:()=>p(!0),updateEmail:()=>v(!0)}),!!l&&(0,n.jsx)(i.C,{open:l,onOpenChange:e=>p(e),children:(0,n.jsx)(x.Z,{close:()=>p(!1)})}),!!h&&(0,n.jsx)(i.C,{open:h,onOpenChange:e=>v(e),children:(0,n.jsx)(f.Z,{close:()=>v(!1)})}),!!y&&(0,n.jsx)(a.xZ,{text:y,className:"mt-[64px] md:mt-[80px]",inContainer:!0})]})};var h=p},75884:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveResetPassword:function(){return b},default:function(){return j}});var n=l(94043),a=l(31692),r=l(63534),i=l(5428),s=l(39137),o=l(21736),c=l(9145),d=l(16503),u=l(61907),m=l(32371);let f=s.Ry({newPassword:s.Z_().min(1,"required").refine(e=>(0,d.I)((0,d.e)(e)),{message:""}),confirmNewPassword:s.Z_().min(1,"required")}).refine(e=>e.newPassword===e.confirmNewPassword,{message:"not-same",path:["confirmNewPassword"]}),x={newPassword:"password-advanced",confirmNewPassword:"password"},p=e=>{var t;let{loadData:l,submitData:s,cancel:d,submitting:p,serverError:h,success:v}=e,g=(0,m.mE)(),b=(0,m.ZT)(),j=(null==b?void 0:b.langCode)||"fr",w=(0,c.tPb)({explicitOverride:null==g?void 0:null===(t=g.elements)||void 0===t?void 0:t.messagePasswordPolicy,langCode:j}),y=e=>{var t;return(0,c.t)(null==g?void 0:null===(t=g.elements)||void 0===t?void 0:t[e])},N=(0,r.cI)({resolver:(0,i.F)(f)}),{handleSubmit:_,reset:k}=N;(0,a.useEffect)(()=>{k(l())},[k]);let C=async e=>{p||await s(e)},A=e=>(0,n.jsx)(o.O5,{fieldKey:e,fieldTranslations:(null==g?void 0:g.fields)||null,fieldTypesMap:x,langCode:j,useFormResult:N,policyMessages:{newPassword:w}},e);return v?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(u.n,{close:d,title:y("messageResetSuccess"),children:(null==g?void 0:g.forgotLinkSuccess)&&(0,n.jsx)(o.zx,{link:g.forgotLinkSuccess})})}):(0,n.jsxs)("div",{className:"flex w-full flex-col gap-4 px-6",children:[(0,n.jsx)("h2",{className:"font-display text-darkblue text-[32px] font-medium leading-none",children:y("headingReset")}),(0,n.jsxs)("form",{onSubmit:_(C),className:"mx-auto flex w-full max-w-[420px] flex-col gap-4",children:[A("newPassword"),A("confirmNewPassword"),(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(o.zx,{submit:!0,children:y("buttonResetSubmit")}),(0,n.jsx)(o.zx,{color:"bright_inverted",className:p?"pointer-events-none opacity-50":"",onClick:e=>{e.preventDefault(),d()},children:y("buttonResetCancel")})]}),!!h&&(0,n.jsx)(o.Ck,{error:h})]})]})};var h=l(64343),v=l(2451);let g=()=>{let e=new URLSearchParams(window.location.search);return{verificationCode:e.get("verification_code")||"",email:e.get("email")||""}},b=e=>{var t,l,r,i,s;let{close:o}=e,[d,u]=(0,a.useState)(null),{setServerError:f,setSubmitting:x,setSuccess:b,formStateEssentials:j}=(0,c.QUq)(),w=(0,v.G)(),y=(0,m.ZT)(),N=(0,m.mE)(),_=(0,a.useMemo)(()=>{let{client:e,ready:t}=w||{};return e&&t},[w]),k=e=>(0,h.t5)("update_password",{event:"click.action",click:"account",click_chapter1:"passeword_reinitialisation",click_chapter2:e,click_chapter3:"",goal_type:""},(null==y?void 0:y.gtmPreset)||{});(0,a.useEffect)(()=>{u(g())},[]);let C=(0,a.useCallback)(async e=>{let{client:t}=w||{};if(t&&d)try{x(!0),await t.updatePassword({...d,password:e.newPassword}),await k("success"),b(!0)}catch(t){var l,n,a,r,i;await k("fail");let e=(0,c.d4j)({fieldErrorWeak:null==N?void 0:null===(a=N.fields)||void 0===a?void 0:null===(n=a.newPassword)||void 0===n?void 0:null===(l=n.error)||void 0===l?void 0:l.weak,explicitOverride:null==N?void 0:null===(r=N.elements)||void 0===r?void 0:r.messagePasswordTooWeak,langCode:(null==y?void 0:y.langCode)||"en"});f(((0,c.uD2)(t)?(0,c._8C)({explicitOverride:null==N?void 0:null===(i=N.elements)||void 0===i?void 0:i.messageTooManyAttempts,langCode:(null==y?void 0:y.langCode)||"en"}):null)||(0,c.fyF)(t,e)||"Something went wrong")}finally{x(!1)}},[null==N?void 0:null===(t=N.elements)||void 0===t?void 0:t.messagePasswordTooWeak,null==N?void 0:null===(l=N.elements)||void 0===l?void 0:l.messageTooManyAttempts,null==N?void 0:null===(s=N.fields)||void 0===s?void 0:null===(i=s.newPassword)||void 0===i?void 0:null===(r=i.error)||void 0===r?void 0:r.weak,null==y?void 0:y.langCode,_,d,w]);return!!_&&(0,n.jsx)(p,{loadData:()=>({confirmNewPassword:"",newPassword:""}),submitData:C,cancel:()=>o(),...j})};var j=b},76796:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveSignup:function(){return M},default:function(){return T}});var n=l(94043),a=l(31692),r=l(63534),i=l(5428),s=l(21736),o=l(43909),c=l(9145),d=l(16503),u=l(10412),m=l(39137);let f=u.RA.merge(m.Ry({email:m.Z_().email((0,u.VD)("wrong-email")).min(1,(0,u.VD)("required")),confirmEmail:m.Z_().min(1,(0,u.VD)("required")),password:m.Z_().min(1,(0,u.VD)("required")).refine(e=>(0,d.I)((0,d.e)(e)),{message:""}),confirmPassword:m.Z_().min(1,(0,u.VD)("required")),optinNewsletterGroup:m.G0([m.i0("0"),m.i0("1"),m.i0("")]).optional()})).refine(e=>e.password===e.confirmPassword,{message:(0,u.VD)("not-same"),path:["confirmPassword"]}).refine(e=>e.email===e.confirmEmail,{message:(0,u.VD)("not-same"),path:["confirmEmail"]}),x={...u.VG,email:"email",confirmEmail:"text",password:"password-advanced",confirmPassword:"password",optinNewsletterGroup:"radio-button"};var p=l(54403);let h=e=>{let{toggleTitle:t,legalMentions:l}=e;return l&&t?(0,n.jsxs)("details",{className:"mx-auto -mt-5 w-full max-w-[420px]",children:[(0,n.jsx)("summary",{className:"text-center text-darkblue cursor-pointer list-none text-xs font-light underline underline-offset-2 [&::-webkit-details-marker]:hidden",children:t}),(0,n.jsx)(s.o8,{text:l,className:(0,p.Z)("text-darkblue mt-4 text-xs font-light leading-[14.4px]","[&>p:last-child]:mb-0 [&>p]:mb-[0.8em] [&_p]:text-xs","[&_ul]:mt-2 [&_ul]:list-disc [&_li]:ml-6 [&_li]:text-xs","[&_ol]:mt-2 [&_ol]:list-decimal [&_ol]:pl-6","[&_a]:text-xs [&_a]:text-blue [&_a]:underline [&_a]:underline-offset-2")})]}):null},v={email:"email",confirmEmail:"off",password:"new-password",confirmPassword:"new-password",firstName:"given-name",lastName:"family-name",streetName:"address-line1",postalCode:"postal-code",city:"address-level2",complementaryAddress1:"address-line2",complementaryAddress2:"address-line3",mobile:"tel",stationary:"tel"},g=e=>{var t;let{loadData:l,submitData:d,serverError:u,submitting:m}=e,p=(0,o.Jg)(),g=(0,o.T)(),b=(null==g?void 0:g.langCode)||"fr",j=(0,c.tPb)({explicitOverride:null==p?void 0:null===(t=p.elements)||void 0===t?void 0:t.messagePasswordPolicy,langCode:b}),{captchaComponent:w,didSolveCaptcha:y,getCaptchaToken:N}=(0,c.my9)((null==g?void 0:g.langCode)||"fr"),_=e=>{var t;return(0,c.t)(null==p?void 0:null===(t=p.elements)||void 0===t?void 0:t[e])},k=(0,r.cI)({resolver:(0,i.F)(f)}),{handleSubmit:C,reset:A,setError:S,clearErrors:L,trigger:E,getValues:M,setValue:T,watch:Z}=k,R=(0,a.useMemo)(()=>{var e;return(null===(e=Z("country"))||void 0===e?void 0:e.toString())||""},[Z("country")]),{runAdvancedValidation:P,triggerValidation:F,autocompleters:O}=(0,c.G6m)(R,S,L,E,M,T);(0,a.useEffect)(()=>{A(l())},[l,A]);let I=async e=>{if(!m){if(!await y()||!P(e))return!1;await d(e,N())}},D=e=>(0,n.jsx)(s.O5,{fieldKey:e,fieldTranslations:(null==p?void 0:p.fields)||null,fieldTypesMap:x,langCode:b,useFormResult:k,policyMessages:{password:j},autocompleters:O,autoCompleteMap:v},e);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("form",{onSubmit:C(I),className:"mx-auto flex max-w-[420px] flex-col gap-4",children:[(0,n.jsxs)(s.Y3,{legend:_("headingCredentials"),noSpace:!0,children:[D("email"),D("confirmEmail"),D("password"),D("confirmPassword"),(0,n.jsx)("div",{className:"mb-6",children:(0,n.jsx)(s.XU,{content:_("infoRequiredFields")})})]}),(0,n.jsxs)(s.Y3,{legend:_("headingProfile")||"Identity",children:[D("civilite"),D("firstName"),D("lastName"),D("birthdate")]}),(0,n.jsxs)(s.Y3,{legend:_("headingAddress"),children:[(0,n.jsx)(s.XU,{content:_("infoAddress")}),D("country"),(0,n.jsx)(s.y5,{first:D("streetNumber"),second:D("streetName")}),(0,n.jsx)(s.y5,{first:D("postalCode"),second:D("city")}),D("complementaryAddress1"),D("complementaryAddress2"),(0,n.jsx)("div",{className:"mt-4",children:(0,n.jsx)(s.zx,{onClick:e=>{e.preventDefault(),F()},children:_("buttonValidateAddress")})})]}),(0,n.jsxs)(s.Y3,{legend:_("headingPhone"),children:[D("mobile"),D("stationary")]}),(0,n.jsxs)(s.Y3,{legend:_("headingConsent"),children:[D("optinEmailFuturo"),D("optinNewsletterGroup")]}),(0,n.jsx)(s.XU,{className:"mt-8",content:_("infoTerms")}),w,(0,n.jsx)("div",{className:"my-6 flex justify-center",children:(0,n.jsx)(s.zx,{submit:!0,
1className:m?"pointer-events-none opacity-50":"",children:_("submitSignupForm")})}),(0,n.jsx)(h,{toggleTitle:null==p?void 0:p.toggleTitle,legalMentions:null==p?void 0:p.legalMentions})]}),!!u&&(0,n.jsx)(s.Ck,{error:u})]})};var b=l(2451),j=l(11032);let w=()=>({email:"",confirmEmail:"",password:"",confirmPassword:"",civilite:"",firstName:"",lastName:"",birthdate:"",country:"",postalCode:"",city:"",...(0,j.sm)(""),mobile:"",stationary:"",optinEmailFuturo:"",optinNewsletterGroup:""}),y=function(e){let{streetNumber:t,streetName:l,complementaryAddress1:n,complementaryAddress2:a,...r}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=(0,j.xT)(void 0),o=(0,j.xt)(void 0),c=s.map((e,s)=>s!==i?e:{...e,country:r.country,postalCode:r.postalCode,locality:r.city,streetAddress:(0,j.yq)({streetNumber:t,streetName:l,complementaryAddress1:n,complementaryAddress2:a})});return{password:r.password,email:r.email,givenName:r.firstName,familyName:r.lastName,birthdate:r.birthdate,addresses:c,customFields:{...o,fut_civilt_princ:r.civilite,fut_mob_postal:r.mobile||"",fut_tel_postal:r.stationary},consents:(0,j.W1)(void 0,r)}};var N=l(54431),_=l(61907),k=l(47515),C=l(64343),A=l(32371),S=l(17224),L=l(67675),E=l(54486);let M=()=>{var e,t,l,r,i,s,d,u,m;let{formStateEssentials:f,setServerError:x,setSubmitting:p,setSuccess:h}=(0,c.QUq)(),v=(0,b.G)(),j=(0,o.Jg)(),M=(0,o.T)(),T=(0,a.useMemo)(()=>{let{client:e,ready:t}=v||{};return!!e&&!!t},[v]),Z=(0,a.useMemo)(()=>{let{client:e,sessionValid:t}=v||{};return!t&&e},[v]),R=(0,A.ZT)(),P=(0,E.s)(),F=(null==j?void 0:null===(e=j.profileHome)||void 0===e?void 0:e.url)||null,O=(0,a.useCallback)(e=>(0,C.t5)("signup",{event:"click.navigation",click:"account",click_chapter1:"account_creation",click_chapter2:"LOGIN_METHOD",click_chapter3:"CRM_STATUS",goal_type:"signup"},(null==R?void 0:R.gtmPreset)||{},{LOGIN_METHOD:()=>(null==v?void 0:v.currentLoginMethod)||"MAIL",CRM_STATUS:()=>e}),[null==v?void 0:v.currentLoginMethod,R]),I=(0,a.useCallback)(()=>w(),[T,v]),D=(0,a.useCallback)(async(e,t)=>{var l,n,a,r,i,s,o,d,u;let{client:m}=v||{};if(!m)return;let f=y(e);null==v||v.setCurrentLoginMethod("MAIL"),p(!0);try{await m.signup({redirectUrl:(0,c.Y9D)(!0),data:f,auth:{useWebMessage:!0},...t&&{captchaToken:t,captchaProvider:"captchafox"}}),await O("boolean"!=typeof(null==f?void 0:null===(n=f.consents)||void 0===n?void 0:null===(l=n.optin_email_futuro)||void 0===l?void 0:l.granted)?"":(null==f?void 0:null===(r=f.consents)||void 0===r?void 0:null===(a=r.optin_email_futuro)||void 0===a?void 0:a.granted)?"optin":"optout")}catch(t){let e=(0,c.d4j)({fieldErrorWeak:null==j?void 0:null===(o=j.fields)||void 0===o?void 0:null===(s=o.password)||void 0===s?void 0:null===(i=s.error)||void 0===i?void 0:i.weak,explicitOverride:null==j?void 0:null===(d=j.elements)||void 0===d?void 0:d.messagePasswordTooWeak,langCode:(null==M?void 0:M.langCode)||"en"});x(((0,c.uD2)(t)?(0,c._8C)({explicitOverride:null==j?void 0:null===(u=j.elements)||void 0===u?void 0:u.messageTooManyAttempts,langCode:(null==M?void 0:M.langCode)||"en"}):null)||(0,c.fyF)(t,e)||"Something went wrong")}finally{p(!1)}},[null==j?void 0:null===(t=j.elements)||void 0===t?void 0:t.messagePasswordTooWeak,null==j?void 0:null===(l=j.elements)||void 0===l?void 0:l.messageTooManyAttempts,null==j?void 0:null===(s=j.fields)||void 0===s?void 0:null===(i=s.password)||void 0===i?void 0:null===(r=i.error)||void 0===r?void 0:r.weak,T,v,O,null==M?void 0:M.langCode]);return(0,a.useEffect)(()=>{let{client:e,ready:t,isLoginFlow:l}=v||{};if(!e||!t||l)return;let n=async e=>{(null==v?void 0:v.currentLoginMethod)!=="MAIL"&&await O(""),h(!0),P?window.location.href=P:F&&(window.location.href=F)};return e.on("authenticated",n),()=>{e&&e.off("authenticated",n)}},[v,O,P]),T?Z?(0,n.jsxs)("div",{className:"mx-auto flex max-w-[420px] flex-col items-start gap-6 px-6",children:[(0,n.jsx)(N.bG,{content:(null==j?void 0:j.title)||"",noSpace:!0}),(0,n.jsx)(k.Z,{onSelectedProvider:e=>{null==v||v.setCurrentLoginMethod((0,C.tp)(e))}}),(0,n.jsx)("div",{children:(null==j?void 0:j.or)||""}),(0,n.jsx)(g,{loadData:I,submitData:D,...f}),!!f.success&&(P?(0,n.jsx)(L.o,{}):(0,n.jsx)(_.L,{open:f.success,btnText:(null==j?void 0:null===(d=j.elements)||void 0===d?void 0:d.buttonSignupSuccess)||"",title:(null==j?void 0:null===(u=j.elements)||void 0===u?void 0:u.messageSignupSuccess)||"",close:()=>{P?window.location.href=P:F?window.location.href=F:window.location.href=(0,c.Y9D)(!0)}}))]}):(0,n.jsx)("h2",{className:"mx-auto mb-6 max-w-[420px] text-center",children:(null==j?void 0:null===(m=j.elements)||void 0===m?void 0:m.alreadySignedIn)||""}):(0,n.jsx)(S.a,{className:"flex items-center justify-center px-4 py-10 text-center"})};var T=M},47515:function(e,t,l){"use strict";var n=l(94043),a=l(2451),r=l(31692);let i=["google"],s={apple:()=>
1(0,n.jsxs)("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_7729_41211)",children:[(0,n.jsx)("path",{d:"M24.0511 26.28C23.0711 27.23 22.0011 27.08 20.9711 26.63C19.8811 26.17 18.8811 26.15 17.7311 26.63C16.2911 27.25 15.5311 27.07 14.6711 26.28C9.79114 21.25 10.5111 13.59 16.0511 13.31C17.4011 13.38 18.3411 14.05 19.1311 14.11C20.3111 13.87 21.4411 13.18 22.7011 13.27C24.2111 13.39 25.3511 13.99 26.1011 15.07C22.9811 16.94 23.7211 21.05 26.5811 22.2C26.0111 23.7 25.2711 25.19 24.0411 26.29L24.0511 26.28ZM19.0311 13.25C18.8811 11.02 20.6911 9.18 22.7711 9C23.0611 11.58 20.4311 13.5 19.0311 13.25Z",fill:"black"}),(0,n.jsx)("path",{d:"M37.5 19C37.5 8.78273 29.2173 0.5 19 0.5C8.78273 0.5 0.5 8.78273 0.5 19C0.5 29.2173 8.78273 37.5 19 37.5C29.2173 37.5 37.5 29.2173 37.5 19Z",stroke:"#EDEDED"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_7729_41211",children:(0,n.jsx)("rect",{width:"38",height:"38",fill:"white"})})})]}),facebook:()=>(0,n.jsxs)("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_7729_41207)",children:[(0,n.jsx)("path",{d:"M37.5 19C37.5 8.78273 29.2173 0.5 19 0.5C8.78273 0.5 0.5 8.78273 0.5 19C0.5 29.2173 8.78273 37.5 19 37.5C29.2173 37.5 37.5 29.2173 37.5 19Z",stroke:"#EDEDED"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.2809 15.9415H20.1211V14.0372C20.1211 13.3223 20.6358 13.1555 20.9986 13.1555H23.2294V10.0108L20.1583 10C16.7471 10 15.9709 12.3456 15.9709 13.8462V15.9415H14V19.1829H15.9709V28.3508H20.1211V19.1829H22.9181L23.2809 15.9415Z",fill:"#3B5998"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_7729_41207",children:(0,n.jsx)("rect",{width:"38",height:"38",fill:"white"})})})]}),google:()=>(0,n.jsxs)("svg",{width:"38",height:"38",viewBox:"0 0 38 38",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,n.jsx)("path",{d:"M37.5 19C37.5 8.78273 29.2173 0.5 19 0.5C8.78273 0.5 0.5 8.78273 0.5 19C0.5 29.2173 8.78273 37.5 19 37.5C29.2173 37.5 37.5 29.2173 37.5 19Z",stroke:"#EDEDED"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8323 12.445C20.7883 12.445 22.1083 13.29 22.8603 13.996L25.8003 11.126C23.9943 9.44797 21.6453 8.41797 18.8323 8.41797C16.9016 8.41773 15.0089 8.95444 13.3657 9.9681C11.7224 10.9818 10.3935 12.4324 9.52734 14.158L12.8953 16.774C13.7403 14.263 16.0783 12.445 18.8323 12.445Z",fill:"#EA4335"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.832 19.0655C28.832 18.2085 28.762 17.5835 28.612 16.9355H18.832V20.8015H24.573C24.457 21.7615 23.833 23.2085 22.443 24.1815L25.73 26.7275C27.698 24.9105 28.832 22.2375 28.832 19.0655Z",fill:"#4285F4"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.908 20.8932C12.6805 20.2302 12.5633 19.5343 12.561 18.8333C12.561 18.1153 12.688 17.4203 12.897 16.7733L9.52897 14.1562C8.79953 15.6071 8.41909 17.2083 8.41797 18.8323C8.41797 20.5113 8.82297 22.0963 9.52797 23.5083L12.908 20.8932Z",fill:"#FBBC05"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.8321 29.2505C21.6451 29.2505 24.0061 28.3245 25.7301 26.7275L22.4431 24.1815C21.5631 24.7945 20.3831 25.2225 18.8331 25.2225C16.0781 25.2225 13.7401 23.4055 12.9061 20.8945L9.53906 23.5095C11.2521 26.9125 14.7581 29.2505 18.8321 29.2505Z",fill:"#34A853"})]})};t.Z=e=>{let{onSelectedProvider:t}=e,l=(0,a.G)();return(0,n.jsx)(r.Suspense,{children:(0,n.jsx)("div",{className:"flex gap-6",role:"list",children:i.map(e=>(0,n.jsx)("div",{role:"listitem",children:(0,n.jsx)("button",{className:"flex items-center justify-center rounded-[50%]",onClick:async n=>{n.preventDefault();try{var a;let n=await (null==l?void 0:null===(a=l.client)||void 0===a?void 0:a.loginWithSocialProvider(e,{useWebMessage:!0,popupMode:!0}));t(e,n)}catch(l){t(e,l)}},children:s[e]()})},e))})})}},22822:function(e,t,l){"use strict";var n=l(94043),a=l(54853),r=l(9145),i=l(95899),s=l(2451),o=l(31692);t.Z=e=>{var t,l;let{close:c}=e,{setServerError:d,setSubmitting:u,setSuccess:m,formStateEssentials:f}=(0,r.QUq)(),x=(0,s.G)(),p=(0,i.ec)(),h=(0,i.uK)(),v=(0,o.useMemo)(()=>{let{client:e,ready:t,sessionValid:l}=x||{};return!!e&&!!t&&!!l},[x]),g=(0,o.useCallback)(async(e,t)=>{let{client:l,authResult:n}=x||{};if((null==n?void 0:n.accessToken)&&l)try{u(!0),await l.updateEmail({accessToken:n.accessToken,email:e.newEmail,redirectUrl:(0,r.Y9D)(!0),...t&&{captchaToken:t}}),m(!0)}catch(e){var a,i;d(((0,r.uD2)(e)?(0,r._8C)({explicitOverride:null==h?void 0:null===(i=h.profile)||void 0===i?void 0:null===(a=i.elements)||void 0===a?void 0:a.messageTooManyAttempts,langCode:(null==p?void 0:p.langCode)||"en"}):null)||(0,r.qTG)(e)||"Something went wrong")}finally{u(!1)}},[null==p?void 0:p.langCode,null==h?void 0:null===(l=h.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t.messageTooManyAttempts,v,x]);return!!v&&(0,n.jsx)(a.Z5,{loadData:()=>({confirmNewEmail:"",newEmail:""}),submitData:g,cancel:()=>c(),...f})}},97735:function(e,t,l){"use strict";var n=l(94043),a=l(54853),r=l(9145),i=l(64343),s=l(95899),o=l(2451),c=l(31692);t.Z=e=>{var t,l,d,u,m,f,x,p;let{close:h}=e,{setServerError:v,setSubmitting:g,setSuccess:b,formStateEssentials:j}=(0,r.QUq)(),w=(0,o.G)(),y=(0,s.ec)(),N=(0,s.uK)(),_=(0,c.useMemo)(()=>{let{client:e,ready:t,sessionValid:l}=w||{};return!!e&&!!t&&!!l},[w]),k=e=>(0,i.t5)("update_password",{event:"click.action",click:"account",click_chapter1:"passeword_reinitialisation",click_chapter2:e,click_chapter3:"",goal_type:""},(null==y?void 0:y.gtmPreset)||{}),C=(0,c.useCallback)(async e=>{let{client:t,authResult:l}=w||{};if((null==l?void 0:l.accessToken)&&t)try{g(!0),await t.updatePassword({accessToken:l.accessToken,password:e.newPassword}),await k("success"),b(!0)}catch(t){var n,a,i,s,o,c,d,u;await k("fail");let e=(0,r.d4j)({fieldErrorWeak:null==N?void 0:null===(s=N.profile)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(a=i.newPassword)||void 0===a?void 0:null===(n=a.error)||void 0===n?void 0:n.weak,explicitOverride:null==N?void 0:null===(c=N.profile)||void 0===c?void 0:null===(o=c.elements)||void 0===o?void 0:o.messagePasswordTooWeak,langCode:(null==y?void 0:y.langCode)||"en"});v(((0,r.uD2)(t)?(0,r._8C)({explicitOverride:null==N?void 0:null===(u=N.profile)||void 0===u?void 0:null===(d=u.elements)||void 0===d?void 0:d.messageTooManyAttempts,langCode:(null==y?void 0:y.langCode)||"en"}):null)||(0,r.fyF)(t,e)||"Something went wrong")}finally{g(!1)}},[null==y?void 0:y.langCode,null==N?void 0:null===(l=N.profile)||void 0===l?void 0:null===(t=l.elements)||void 0===t?void 0:t.messagePasswordTooWeak,null==N?void 0:null===(u=N.profile)||void 0===u?void 0:null===(d=u.elements)||void 0===d?void 0:d.messageTooManyAttempts,null==N?void 0:null===(p=N.profile)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(f=x.newPassword)||void 0===f?void 0:null===(m=f.error)||void 0===m?void 0:m.weak,_,w]);return!!_&&(0,n.jsx)(a.hv,{loadData:()=>({confirmNewPassword:"",newPassword:""}),submitData:C,cancel:()=>h(),...j})}},79814:function(e,t,l){"use strict";l.r(t),l.d(t,{ReachFiveVisitDocuments:function(){return y},default:function(){return N}});var n=l(94043),a=l(2451),r=l(31692),i=l(9145),s=l(95899),o=l(66451),c={src:"/_next/static/media/pdf-link.71d5ccf8.svg",height:136,width:135,blurWidth:0,blurHeight:0},d=l(17224),u=l(48831);let m=(e,t)=>
1{let{translations:l}=t;return l.document.tabs[e]||l.document.tabs.BILLETS},f=(e,t,l,n,a)=>{let r="HEBERGEMENT"===t.type?", ".concat(t.roomType," ").concat(l.document.withBreakfast,","):"",s="HEBERGEMENT"!==t.type?"".concat(t.quantity):"";return[(0,i.IqF)(l.document.validityNotes[a],{DAYS:"".concat(t.dayDuration," ").concat(l.document.days),DATE_START:(0,i.KHN)(t.startDate,n),DATE_END:(0,i.KHN)(t.endDate,n),PARTICIPANT_COUNTS:t.participant?x(t.participant,l.common.participants):p(s,l.common.participants.QUANTITY),ROOM_TYPE:r,NB_NIGHTS:"HEBERGEMENT"===t.type?"".concat(t.nightNbr):"",QUANTITY:s}),"".concat(l.document.personalFile," N\xb0").concat(e.contractNbr),t.issueDate&&t.issueDate.trim()?"".concat(l.document.issueDate," ").concat(t.issueDate):""].join("<br/>")},x=(e,t)=>Object.entries(e).filter(e=>{let[t,l]=e;return l>0}).map(e=>{let[l,n]=e;return"".concat(n," ").concat(t[l])}).join(" / "),p=(e,t)=>"".concat(e," ").concat(t),h=e=>new Date(e).toTimeString().slice(0,5),v=(e,t)=>new Date(e).toLocaleDateString(t,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),g=(e,t,l)=>{var a;let{translations:r,langCode:s}=t;return{image:{src:(null===(a=r.document.image)||void 0===a?void 0:a.src)||i.jMx},title:"".concat(r.document.item," N\xb0").concat(e.contractNbr),description:"".concat(x(e.participants,r.common.participants),"<br/>").concat((0,i.l80)(e.startDate,e.endDate,s,r.common.contractDescPattern)),pending:"01/01/0001"===e.issueDate||null===e.issueDate||e.isMoreThan20DaysAwayFromNow,link:e.contractPdf?{href:"#",title:r.document.button,specialAction:"openInfoPopin"}:void 0,infoModalData:{pdfLink:{href:(null==e?void 0:e.voucherPdf)||"",title:r.document.detailsButton,specialAction:(null==e?void 0:e.voucherPdf)?"downloadMenu":"openInfoPopin",newTab:null!=e&&!!e.voucherPdf},seeDetails:r.document.seeDetails,title:"".concat(r.document.item," N\xb0").concat(e.contractNbr),tabsData:Object.entries(e.articles).map(l=>{let[a,i]=l;return{name:m(a,t),value:a,disabled:!i.length,cardsData:i.map(t=>{let l={description:f(e,t,r,s,a),imageText:"HOTELS"===a?"".concat(t.title," ").concat(r.document.withBreakfast):t.title,moreInfo:t.description?{title:r.document.moreDetails,children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description}})}:void 0,title:t.title||r.document.defaultTitle};return"BILLETS"===a&&"billetNbr"in t&&""===t.billetNbr&&(l.imageText=""),["BILLETS","RESTAURATION","HOTELS","PASS","EXTRA"].includes(a)&&"billetNbr"in t&&t.billetNbr&&(l.qrCodePayload=t.billetNbr,l.imageText=t.billetNbr),{...l,image:{src:c},pdfLink:e.voucherPdf||e.contractPdf?{href:e.voucherPdf||e.contractPdf||"",title:"",specialAction:"downloadMenu",newTab:!0}:void 0}})}}).sort((e,t)=>{let l=["BILLETS","HOTELS","RESTAURATION","PASS","EXTRA"];return l.findIndex(t=>t===e.value)-l.findIndex(e=>e===t.value)})},expired:l}},b=e=>({id:e.id,date:e.date,hour:e.hour,people:e.people,title:e.meta[0].meta.title,type:e.meta[0].meta.type,background:{src:e.meta[0].meta.background},logo:{src:e.meta[0].meta.logo}}),j=(e,t,l)=>{var n,a;let{translations:r,langCode:s}=t;return{title:"".concat(r.document.restaurantItem.label," N\xb0").concat(e.id),description:"".concat(e.title,"<br/>").concat(r.document.restaurantItem.nbPeople.replace("NB",String(e.people)),"<br/>").concat(r.document.restaurantItem.validity.replace("DATE",v(e.date,s)).replace("TIME",h(e.hour))),logo:{src:(null==e?void 0:null===(n=e.logo)||void 0===n?void 0:n.src)||i.jMx},image:{src:(null==e?void 0:null===(a=e.background)||void 0===a?void 0:a.src)||i.jMx},link:{href:"#",title:r.document.restaurantItem.button,specialAction:"openInfoPopin"},infoModalData:{seeDetails:{title:r.document.confirmReservationCancellation.title,ctaLabel:r.document.confirmReservationCancellation.ctaLabel},onCancelReservation:()=>l(e.id)},expired:!1}},w=(e,t,l)=>{var n;let{translations:a}=t,r=(null==e?void 0:null===(n=e.guestonlineReservations)||void 0===n?void 0:n.filter(e=>{let t=new Date(e.hour);return t.setHours(23),t.setMinutes(59),t.setSeconds(59),t.getTime()>Date.now()}))||[];return{reservations:e&&(e.activeDocuments.length||e.inactiveDocuments.length||r.length)?[...e.activeDocuments.length||r.length?[{title:a.document.current,reservations:[...e.activeDocuments.map(e=>g(e,t,!1)),...null==r?void 0:r.map(e=>j(b(e),t,l))]}]:[]]:[],noReservations:{backgroundImage:a.document.image,cardTitle:a.document.imageTitle,heading:a.document.noReservation,link:a.document.imageLink}}},y=e=>{var t,l;let{getVisitDocuments:c,cancelGuestonlineReservation:m}=e,[f,x]=(0,r.useState)(null),p=(0,a.G)(),h=(0,s.ec)(),v=null==h?void 0:null===(l=h.translations)||void 0===l?void 0:null===(t=l.document)||void 0===t?void 0:t.legals;(0,r.useEffect)(()=>{let{client:e,ready:t,authResult:l}=p||{};e&&t&&(null==l?void 0:l.accessToken)&&h&&c((0,i.YfC)(h.langCode),l.accessToken).then(e=>{x(e)}).catch(e=>{console.error("Error fetching visit documents:",e),x({activeDocuments:[],inactiveDocuments:[],guestonlineReservations:[]})})},[p]);let g=(0,r.useCallback)(async e=>{let{client:t,ready:l,authResult:n}=p||{};if(t&&l&&(null==n?void 0:n.accessToken)&&h){try{x(null),scrollTo(0,0),await m(e,n.accessToken)}catch(e){throw x(f),e}x(await c((0,i.YfC)(h.langCode),n.accessToken))}},[p,m,f]);return(0,n.jsx)(r.Suspense,{children:f&&h?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.d,{...w(f,h,g)}
1),!!v&&(0,n.jsx)(u.xZ,{text:v,className:"mt-[80px] md:mt-[100px]",inContainer:!0})]}):(0,n.jsx)(d.a,{className:"flex items-center justify-center px-4 py-10 text-center"})})};var N=y},86570:function(e,t,l){"use strict";l.d(t,{C5:function(){return n.ReachFiveLogin},IP:function(){return i.ReachFiveProfile},PM:function(){return o.ReachFiveVisitDocuments},RF:function(){return r.ReachFiveLogout},gW:function(){return c.ReachFiveSignup},i:function(){return a.ReachFiveResetPassword},iN:function(){return s.ReachFiveContracts},m7:function(){return u.ReachFiveContact},oG:function(){return d.ReachFiveForgotPassword}});var n=l(69762),a=l(75884),r=l(76297),i=l(32689),s=l(12855),o=l(79814),c=l(76796),d=l(69116),u=l(99082)},41:function(e,t,l){"use strict";l.r(t),l.d(t,{ResizableIframe:function(){return i}});var n=l(94043),a=l(54403),r=l(31692);let i=e=>{let{className:t,defaultHeight:l,src:i}=e,[s,o]=(0,r.useState)(l),c=(0,r.useRef)(null),d=()=>{if(c){var e,t,n,a;o((null===(a=c.current)||void 0===a?void 0:null===(n=a.contentWindow)||void 0===n?void 0:null===(t=n.document)||void 0===t?void 0:null===(e=t.body)||void 0===e?void 0:e.scrollHeight)||l)}};return(0,r.useEffect)(()=>(d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}),[s,c]),(0,n.jsx)("iframe",{ref:c,className:(0,a.Z)("w-full border-none",t),src:i,height:s,onLoad:d})}},7532:function(e,t,l){"use strict";l.r(t),l.d(t,{SkipLinks:function(){return r}});var n=l(94043),a=l(82157);let r=()=>{let{getTranslation:e}=(0,a.useGlobalTranslations)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("a",{href:"#main-content",className:"skip-link",children:e("skip_to_content","Aller au contenu")}),(0,n.jsx)("a",{href:"#main-nav",className:"skip-link",children:e("skip_to_navigation","Aller \xe0 la navigation")}),(0,n.jsx)("a",{href:"#footer",className:"skip-link",children:e("skip_to_footer","Aller au pied de page")})]})}},90951:function(e,t,l){"use strict";l.r(t),l.d(t,{Stars:function(){return i}});var n=l(94043),a=l(53198),r=l(54403);let i=e=>{let{starsCount:t,className:l}=e;return(0,n.jsxs)("div",{className:(0,r.Z)("flex items-center gap-1",l),children:[(0,n.jsx)("span",{className:"font-display mt-[0.25em] text-sm font-semibold leading-tight text-current",children:t}),(0,n.jsx)(a.JO,{icon:"star-filled",className:"text-[10px] text-current"})]})}},2434:function(e,t,l){"use strict";l.r(t),l.d(t,{TabsRemote:function(){return i}});var n=l(94043),a=l(54403),r=l(31692);let i=e=>{var t;let{filters:l,onChange:i,initialTab:s,className:o}=e,[c,d]=(0,r.useState)(s||(null===(t=l.find(e=>!e.disabled))||void 0===t?void 0:t.value)||""),u=(0,r.useCallback)(e=>{d(e),null==i||i(e)},[i]);return(0,n.jsx)("section",{className:(0,a.Z)("block--filters-remote container-full pt-20",o),children:(0,n.jsx)("div",{className:"overflow-auto",children:(0,n.jsx)("ul",{className:" text-nowrap text-center",children:l.map((e,t)=>(0,n.jsx)("li",{className:"inline-block",children:(0,n.jsx)("button",{className:(0,a.Z)("text-nowrap leading-loose","px-1.5 md:px-2 lg:px-3"),onClick:()=>{e.disabled||u(e.value)},...e.disabled?{disabled:!0}:{},children:(0,n.jsx)("span",{className:(0,a.Z)("inline-block border-b-2 font-medium transition-all",{"hover:border-darkblue/10 hover:opacity-90":!e.disabled,"!opacity-40":!!e.disabled},{"!border-current !opacity-100":c===e.value},{"border-transparent opacity-70":c!==e.value}),children:e.name})})},t))})})})}},36969:function(e,t,l){"use strict";l.r(t),l.d(t,{Tag:function(){return r}});var n=l(94043),a=l(54403);let r=e=>{let{children:t,className:l}=e;return(0,n.jsx)("div",{className:(0,a.Z)("component--tag","rounded-[5px] border border-current px-[0.5em] py-[0.25em] font-semibold","text-sm md:text-base md:font-medium lg:text-lg",l),children:(0,n.jsx)("p",{className:"font-display relative top-[0.1em] text-nowrap leading-tight tracking-[0.04em] ",children:t})})}},21736:function(e,t,l){"use strict";l.d(t,{JD:function(){return j.J},ee:function(){return n.e},aG:function(){return o},zx:function(){return c.z},FS:function(){return u},Zb:function(){return m.Zb},ff:function(){return f},Ot:function(){return m.Ot},uW:function(){return m.uW},_q:function(){return x._},DI:function(){return p},_$:function(){return y},fK:function(){return m.fK},Kb:function(){return h.FeaturesListSimple},$Q:function(){return Z.$Q},Y3:function(){return Z.Y3},OJ:function(){return m.OJ},VM:function(){return v.Hero},JO:function(){return g.J},jX:function(){return g.j},XU:function(){return Z.XU},ZX:function(){return b.MediaItem},FM:function(){return m.FM},t:function(){return j.t},VL:function(){return w.Popin},am:function(){return w.PopinClose},Wx:function(){return w.PopinCloseButton},tA:function(){return N.Price},MG:function(){return m.MG},O5:function(){return Z.O5},Ak:function(){return m.Ak},U_:function(){return m.U_},Im:function(){return m.Im},nE:function(){return C},c0:function(){return A},w4:function(){return S},tS:function(){return T.Stars},_A:function(){return L.TabsRemote},Vp:function(){return E.Tag},o8:function(){return M},y5:function(){return Z.y5},Ck:function(){return Z.Ck},iE:function(){return m.iE}});var n=l(10789),a=l(94043),r=l(53198),i=l(82157),s=l(54403);let o=e=>{let{items:t,className:l}=e,{getTranslation:n}=(0,i.useGlobalTranslations)(),o=n("breadcrumbs","Fil d'Ariane");return(0,a.jsx)("nav",{role:"navigation","aria-label":o,className:(0,s.Z)("font-body xs:block hidden text-[10px] font-bold uppercase leading-snug",l),itemScope:!0,itemType:"http://schema.org/BreadcrumbList",children:t.map((e,l)=>{let n=l<t.length-1,i=n?r.ee:"span";return(0,a.jsxs)("span",{itemProp:"itemListElement",itemScope:!0,itemType:"http://schema.org/ListItem",children:[(0,a.jsxs)(i,{...n?{link:{href:e.url},itemProp:"item"}:{}
1,className:"inline-block text-nowrap focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-white",children:[(0,a.jsx)("span",{itemProp:"name",children:e.label}),n&&(0,a.jsx)("span",{className:"mx-2",children:"|"})]},l),(0,a.jsx)("meta",{itemProp:"position",content:String(l+1)})]},l)})})};var c=l(28543),d=l(9145);let u=e=>{let{title:t,description:l,featuresList:n,tags:i,prices:o,cta:c,className:u}=e,{links:m}=(0,d.lV_)(c?[c]:[],{_default:{blockLink:!0,className:"z-20",size:"small"},secondary:{color:"bright_inverted"},primary:{color:"bright"}});return(0,a.jsx)("div",{className:(0,s.Z)("relative w-full max-w-[530px] rounded px-6 py-5","from-orange-medium/[0.05] to-orange-pale/[0.17] bg-gradient-to-b","hover:shadow-md-shifted-y1 shadow-md transition will-change-transform hover:-translate-y-1",u),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 md:gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-row items-start justify-between gap-5",children:[(0,a.jsx)("div",{className:"h2 text-darkblue font-body text-xl font-medium leading-tight md:text-[22px] lg:text-2xl/tight",children:t}),!!(null==i?void 0:i.length)&&(0,a.jsx)("div",{className:"mt-1 flex items-end gap-2",children:i.map((e,t)=>(0,a.jsx)(r.Vp,{className:"!text-sm !font-semibold",children:e},t))})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-5",children:[(0,a.jsxs)("div",{className:"grow",children:[l&&(0,a.jsx)(r.o8,{className:"!mb-[1em] !text-base/tight md:!text-lg/tight ",text:l}),n&&(0,a.jsx)(r.Kb,{featuresList:n})]}),(0,a.jsxs)("div",{className:(0,s.Z)("flex flex-col items-start justify-start gap-4"),children:[o.map((e,t)=>(0,a.jsx)(r.tA,{...e},t)),m.map((e,t)=>(0,a.jsx)(r.zx,{...e},t))]})]})]})})};var m=l(85788);let f=e=>{let{items:t,children:l,mode:n="grid",className:i}=e;return(0,a.jsx)("section",{className:(0,s.Z)("block--cards-grid container-full my-section",i),children:(0,a.jsxs)("div",{className:(0,s.Z)("max-w-[1800px]","gap-3 md:gap-5","[&>*]:!h-auto","grid"===n&&"xs:grid-cols-[repeat(auto-fill,minmax(190px,1fr))] grid grid-cols-[repeat(auto-fill,minmax(152px,1fr))] lg:grid-cols-[repeat(auto-fill,minmax(244px,1fr))]","flex"===n&&"flex flex-wrap justify-start"),children:[null==t?void 0:t.map((e,t)=>(0,a.jsx)(r.Zb,{...e,className:"mb-6 md:mb-8"})),l]})})};var x=l(4485);let p=e=>{let{label:t,surtitle:l,title:n,description:i,link:o,headingTag:c}=e;return(0,a.jsxs)("div",{className:(0,s.Z)("relative z-10 flex flex-col md:flex-row md:items-center md:gap-20",!!i&&"md:mb-12 lg:mb-16"),children:[(0,a.jsxs)("div",{className:(0,s.Z)("",i?"mb-0":"mb-6"),children:[!!t&&(0,a.jsx)("span",{className:"text-label",children:t}),n&&(0,a.jsx)(r._q,{link:o,line1:l,line2:n,line1ClassName:(0,s.Z)(!n&&"!text-[24px] md:!text-[28px]"),line2ClassName:(0,s.Z)(!l&&"!text-[24px] md:!text-[28px]"),className:"!mb-0",outerTag:c,line1Tag:"span",line2Tag:"span",line1WrapSafe:!0,line2WrapSafe:!0})]}),!!i&&(0,a.jsx)("div",{className:"text-paragraph !mb-[2em] !mt-[1.5em] max-w-[640px] grow md:!my-0",dangerouslySetInnerHTML:{__html:i}})]})};var h=l(34149),v=l(20849),g=l(27671),b=l(79474),j=l(52339),w=l(6570);let y=e=>{let{url:t,title:l,open:n,onOpenChange:r}=e;return(0,a.jsx)(w.Popin,{variant:"widget",widget:{title:l||"Contenu externe"},open:n,onOpenChange:r,children:(0,a.jsx)("iframe",{src:t,title:l||"Contenu externe",className:"h-[70vh] w-full rounded-[12px] border-none"})})};var N=l(76632);l(41);var _=l(48740),k=l(11960);let C=e=>{let{icon:t,link:l}=e;return(0,a.jsx)(r.ee,{link:l,className:"inline-block rounded-sm p-1 transition-all hover:opacity-85 focus-visible:outline focus-visible:outline-[3px] focus-visible:outline-offset-2 focus-visible:outline-darkblue",children:(0,a.jsx)(_.default,{src:t.src,alt:t.alt||"",width:"26",height:"20",className:"aspect-auto h-full max-h-[20px]",loader:e=>(0,k.X)(e,26,20,"contain")})})},A=e=>{let{spaces:t}=e;return(0,a.jsx)("nav",{className:"pt-10 block--spaces container-full py-section md:pt-12",role:"navigation",children:(0,a.jsx)("ul",{className:"grid grid-rows-2 grid-flow-col gap-3 lg:grid-rows-1 lg:gap-5",children:null==t?void 0:t.map(e=>(0,a.jsx)("li",{className:"group relative aspect-[101/64] overflow-hidden rounded-[10px] md:aspect-[2]",children:(0,a.jsxs)("a",{href:e.url,className:"absolute-fill outline-none after:pointer-events-none after:absolute after:inset-1 after:z-20 after:rounded-[10px] after:transition-shadow focus-visible:after:shadow-[inset_0_0_0_3px_#fff]",children:[(0,a.jsx)(j.t,{...e.image,alt:null==e?void 0:e.name,borderRadius:"0",as
1pectRatio:"none",className:"filter grayscale transition absolute-fill group-hover:grayscale-0"}),(0,a.jsx)("div",{className:(0,s.Z)("transition absolute-fill from-darkblue/65 to-darkblue/70","group-hover:opacity-50","bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))]")}),(0,a.jsx)("span",{className:(0,s.Z)("font-display text-sm/[1.1] font-semibold tracking-[0.04em] text-white sm:text-lg/[1.1] xl:text-2xl/[1.1]","absolute-center max-w-[85%] text-center"),children:e.name})]})},e.slug))})})},S=e=>{let{surtitle:t,title:l,backgroundImage:n,...i}=e;return(0,a.jsxs)("section",{className:"p-b-spacesReminderBottom-fluid relative -mb-10 pt-6 md:-mb-16",children:[(0,a.jsx)(r.t,{...n,"aria-hidden":"true",className:"absolute-fill ",borderRadius:"none",style:{clipPath:"polygon(0 var(--diagonal-px-shift-2deg), 100% 0, 100% 100%, 0 calc(100% - var(--diagonal-px-shift-3deg)))"}}),(0,a.jsx)(r._q,{line1:t,line2:l,className:"container-full pb-6 md:pb-8",line1WrapSafe:!0,line2WrapSafe:!0}),(0,a.jsx)(A,{...i})]})};var L=l(2434),E=l(36969);let M=l(31692).forwardRef((e,t)=>{let{text:l,className:n}=e;return l?(0,a.jsx)("div",{ref:t,className:(0,s.Z)("text-paragraph",n),dangerouslySetInnerHTML:{__html:(0,d.Sc4)(l)}}):null});var T=l(90951),Z=l(54431);l(7532),l(16369),l(92822)},53198:function(e,t,l){"use strict";l.d(t,{UQ:function(){return a.UQ},pK:function(){return a.pK},JD:function(){return n.JD},bZ:function(){return a.bZ},gR:function(){return a.gR},ee:function(){return n.ee},gm:function(){return a.gm},aG:function(){return n.aG},zx:function(){return n.zx},f:function(){return a.f},FS:function(){return n.FS},Zb:function(){return n.Zb},ff:function(){return n.ff},lr:function(){return a.lr},r$:function(){return a.r$},d$:function(){return a.d$},MP:function(){return a.MP},Ot:function(){return n.Ot},uW:function(){return n.uW},_q:function(){return n._q},DI:function(){return n.DI},jh:function(){return a.jh},y1:function(){return a.y1},b0:function(){return r.ExperiencesIndex},HG:function(){return i.ExperiencesItem},nY:function(){return s.ExperiencesSpace},LR:function(){return o.ExperiencesTheme},_$:function(){return n._$},fK:function(){return n.fK},CT:function(){return a.CT},Kb:function(){return n.Kb},x$:function(){return a.x$},TO:function(){return a.TO},$_:function(){return a.$_},OJ:function(){return n.OJ},VM:function(){return n.VM},Rg:function(){return a.Rg},JO:function(){return n.JO},jX:function(){return n.jX},X9:function(){return a.X9},BS:function(){return a.BS},xZ:function(){return a.xZ},yX:function(){return a.yX},uc:function(){return a.uc},Xl:function(){return m.MaintenanceView},D5:function(){return a.D5},pU:function(){return a.pU},ZX:function(){return n.ZX},f_:function(){return a.f_},W_:function(){return a.W_},FM:function(){return n.FM},YE:function(){return a.YE},GS:function(){return c.OfferPage},qh:function(){return d.OffersIndex},t:function(){return n.t},VL:function(){return n.VL},am:function(){return n.am},Wx:function(){return n.Wx},wQ:function(){return u.PracticalInfoPassPage},tA:function(){return n.tA},Tx:function(){return a.Tx},MG:function(){return n.MG},fe:function(){return a.fe},Ak:function(){return n.Ak},Zv:function(){return a.Zv},U_:function(){return n.U_},cF:function(){return a.cF},ol:function(){return a.ol},Im:function(){return n.Im},YM:function(){return a.YM},$u:function(){return a.$u},nE:function(){return n.nE},I_:function(){return a.I_},c0:function(){return n.c0},w4:function(){return n.w4},tS:function(){return n.tS},yP:function(){return a.yP},Dj:function(){return a.Dj},mQ:function(){return a.mQ},_A:function(){return n._A},Vp:function(){return n.Vp},xv:function(){return a.xv},o8:function(){return n.o8},iL:function(){return a.iL},Cg:function(){return a.Cg},iE:function(){return n.iE},YJ:function(){return a.YJ}});var n=l(21736),a=l(48831),r=l(7470),i=l(15270),s=l(87293),o=l(38298),c=l(33527),d=l(64832),u=l(65458);l(4062),l(25296);var m=l(42837)},4062:function(e,t,l){"use strict";l.r(t),l.d(t,{ErrorHero:function(){return d}});var n=l(94043),a={src:"/_next/static/media/bg-desktop.75a26680.webp"},r={src:"/_next/static/media/bg-desktop.a5d285e0.webp"},i=l(81511),s=l(54403),o=l(21736),c=l(53198);let d=e=>{let{bigtitle:t,surtitle:l,children:d,mode:u="error",homeUrl:m="/"}=e;return a.src,(0,n.jsxs)("section",{children:[(0,n.jsx)("div",{className:"absolute left-0 right-0 top-6 z-10 flex w-full justify-center px-[70px] md:top-[46px] md:justify-start",children:(0,n.jsx)("a",{href:m,children:(0,n.jsx)("img",{...(()=>{let{blurDataURL:e,blurHeight:t,blurWidth:l,...n}=i.Z;return n})(),className:"max-w-[180px] md:max-w-[205px]"})})}),(0,n.jsxs)("div",{className:(0,s.Z)("relative w-full [clip-path:polygon(0_0,100%_0,100%_100%,0_95%)]","maintenance"===u?"md:[clip-path:polygon(0_0,_100%_0,_100%_100%,_0_85%)]":"md:[clip-path:polygon(0_0,100%_0,100%_100%,0_80%)]"),children:[(0,n.jsx)(c.JD,{src:"maintenance"===u?r.src:a.src,srcMobile:"/_next/static/media/bg-mobile.14c8c182.webp",breakpoints:[{mediaQuery:"(max-width: 767px)",height:897,width:768},{mediaQuery:"(min-width: 768px)",height:388,width:1387}],width:"1387",height:"388",alt:t||l||"",className:"h-auto w-full object-cover object-center sm:min-h-[365px]",priority:!0}),(0,n.jsx)("div",{className:"absolute inset-0 z-[2] mb-10 flex flex-col items-center justify-end px-5 sm:mb-12 md:mb-14 md:px-16",children:(0,n.jsx)("h1",{className:"w-full max-w-[600px]",children:(0,n.jsx)("span",{className:(0,s.Z)("h1 mb-[0.1em] block uppercase leading-[1] text-white","error"===u&&"max-w-[500px] text-[50px] sm:text-[90px]","maintenance"===u&&"text-[50px] sm:text-[90px] md:text-[70px] xl:text-[90px]"),children:t})})})]}),(0,n.jsx)("div",{className:"relative z-[2] -mt-10 flex flex-col items-center justify-end px-5 sm:-mt-12 md:-mt-14 md:px-16",children:(0,n.jsx)("div",{className:"w-full max-w-[600px]",children:(0,n.jsxs)("div",{className:(0,s.Z)("relative flex flex-col gap-6 md:gap-4"),children:[l&&(0,n.jsx)(o._q,{line1:l,outerTag:"p",className:"!-mb-5"}),d]})})})]})}},42837:function(e,t,l){"use strict";l.r(t),l.d(t,{MaintenanceView:function(){return o}});var n=l(94043),a=l(31692),r=l(4062),i=l(16370);let s={fr:{error:"Site momentan\xe9ment indisponible",accessDenied:"Maintenance",noAccess:"Le site sera de nouveau disponible dans quelques minutes.",otherExp:"Nous effectuons une op\xe9ration de maintenance. Nos conseillers sont \xe0 votre \xe9coute au 05 49 49 11 12 du lundi au vendredi de 9h30 \xe0 18h30, le samedi et les jours f\xe9ri\xe9s de 9h \xe0 18h*",horaireNotice:"*Horaires et jours susceptibles de modifications",title:"Futuroscope - Site en maintenance"},en:{error:"Service temporarily unavailable",accessDenied:"Maintenance",noAccess:"The site will be back online in a few minutes.",otherExp:"Maintenance operation in progress. Our advisors are on hand to help you on +33 5 49 49 59 06 from 9.30 am to 6.30 pm (local time) Monday to Frid
1ay and 9 am to 6 pm on Saturday*.",horaireNotice:"*Hours and days are subject to change",title:"Futuroscope - Site Under Maintenance"},es:{error:"No disponible temporalmente",accessDenied:"Mantenimiento",noAccess:"El sitio volver\xe1 a estar en l\xednea en unos minutos",otherExp:"Estamos realizando una operaci\xf3n de mantenimiento. Nuestro equipo en Espa\xf1a est\xe1 a tu disposici\xf3n en el 93 481 36 40 de lunes a viernes, de 9h a 18h*.",horaireNotice:"*Horarios y d\xedas sujetos a cambios",title:"Futuroscope - Sitio en Mantenimiento"}},o=()=>{let[e,t]=(0,a.useState)(s.fr),[l,o]=(0,a.useState)("/fr/");return(0,a.useEffect)(()=>{let e=(0,i.C)(),l=s[e];t(l),o("/".concat(e,"/")),document.title=l.title},[]),(0,n.jsx)(r.ErrorHero,{bigtitle:e.error,surtitle:e.accessDenied,mode:"maintenance",homeUrl:l,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-body text-darkblue mb-5 mt-6 text-[20px] leading-[24px] sm:text-[24px] sm:leading-[32px]",children:e.noAccess}),(0,n.jsx)("p",{className:"font-body text-darkblue mb-3 mt-6 text-[16px] leading-[20px] sm:text-[18px] sm:leading-[22px]",children:e.otherExp}),(0,n.jsx)("p",{className:"font-body text-darkblue mb-[1em] mt-[1em] text-[12px] font-light leading-[15px]",children:e.horaireNotice})]})})}},25296:function(e,t,l){"use strict";l.r(t),l.d(t,{NotFoundView:function(){return c}});var n=l(94043),a=l(31692),r=l(4062),i=l(21736),s=l(16370);let o={fr:{error:"ERREUR 404",accessDenied:"Oups !",noAccess:"Cette page est introuvable.",otherExp:"D'autres exp\xe9riences (bien meilleures !) vous attendent sur le site.",returnHome:"Retour \xe0 l'accueil",title:"Futuroscope - Erreur 404"},en:{error:"ERROR 404",accessDenied:"Oops!",noAccess:"This page cannot be found.",otherExp:"Other (much better!) experiences await you on this website.",returnHome:"Back to home",title:"Futuroscope - Error 404"},es:{error:"ERROR 404",accessDenied:"\xa1Ups!",noAccess:"No se puede encontrar esta p\xe1gina.",otherExp:"Otras experiencias (\xa1mucho mejores!) le esperan en este sitio.",returnHome:"Volver al inicio",title:"Futuroscope - Error 404"}},c=()=>{let[e,t]=(0,a.useState)(o.fr),[l,c]=(0,a.useState)("/fr/");return(0,a.useEffect)(()=>{let e=(0,s.C)(),l=o[e];t(l),c("/".concat(e,"/")),document.title=l.title},[]),(0,n.jsx)(r.ErrorHero,{bigtitle:e.error,surtitle:e.accessDenied,homeUrl:l,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-body text-darkblue mb-5 mt-6 text-[20px] leading-[24px] sm:text-[24px] sm:leading-[32px]",children:e.noAccess}),(0,n.jsx)("p",{className:"font-body text-darkblue mb-3 mt-6 text-[16px] leading-[20px] sm:text-[18px] sm:leading-[22px]",children:e.otherExp}),(0,n.jsx)(i.zx,{link:{href:l},className:"mt-5",children:e.returnHome})]})})}},7470:function(e,t,l){"use strict";l.r(t),l.d(t,{ExperiencesIndex:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{header:t,spaces:l,themes:r}=e;return(0,n.jsxs)(n.Fragment,{children:[!!t&&(0,n.jsx)(a.VM,{...t}),!!l&&(0,n.jsx)(a.c0,{...l}),!!r&&r.map((e,t)=>{var l;return!!(null==e?void 0:null===(l=e.items)||void 0===l?void 0:l.length)&&(0,n.jsx)(a.MP,{carousel:e.carousel,items:e.items},t)})]})}},15270:function(e,t,l){"use strict";l.r(t),l.d(t,{ExperiencesItem:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{header:t,alert:l,dynamicContent:r,legals:i,spaces:s,anchorNavigation:o}=e;return(0,n.jsxs)(n.Fragment,{children:[!!t&&(0,n.jsx)(a.y1,{...t}),!!o&&(0,n.jsx)(a.gm,{...o}),!!l&&(0,n.jsx)(a.bZ,{...l}),!!r&&(0,n.jsx)(n.Fragment,{children:r}),!!i&&(0,n.jsx)(a.xZ,{...i}),!!s&&(0,n.jsx)(a.c0,{...s})]})}},87293:function(e,t,l){"use strict";l.r(t),l.d(t,{ExperiencesSpace:function(){return o}});var n=l(94043),a=l(31692),r=l(53198),i=l(54403),s=l(9145);let o=e=>{var t;let{header:l,filters:o,themes:c,legals:d,spaces:u,dynamicContent:m,description:f,spaceId:x,locale:p,experiencesProvider:h}=e,[v,g]=(0,a.useState)(!1),[b,j]=(0,a.useState)(0),[w,y]=(0,a.useState)(),N=async(e,t)=>{g(!0),t&&y(await (null==h?void 0:h(x,e,(0,s.YfC)(p)))),j(t),g(!1)},_=(0,a.useMemo)(()=>b?null==w?void 0:w.length:null==c?void 0:c.reduce((e,t)=>
1{var l;return e+((null==t?void 0:null===(l=t.items)||void 0===l?void 0:l.length)||0)},0),[b,w,c]);return(0,n.jsxs)(n.Fragment,{children:[!!l&&(0,n.jsx)(r.VM,{...l}),!!f&&(0,n.jsx)("section",{className:"container-full py-8 md:py-12",children:(0,n.jsx)(r.o8,{text:f,className:"text-darkblue max-w-2xl text-base leading-relaxed md:text-lg"})}),!!(null==o?void 0:null===(t=o.categories)||void 0===t?void 0:t.length)&&(0,n.jsx)(r.x$,{...o,onChange:function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return N(...t)},foundItems:_}),(0,n.jsxs)("div",{className:(0,i.Z)("loadable",v&&"loading"),children:[!!b&&!!(null==w?void 0:w.length)&&(0,n.jsx)(r.ff,{children:w.map((e,t)=>(0,a.createElement)(r.MG,{...e,isFeatured:!1,key:t}))}),!!c&&!b&&c.map((e,t)=>{var l;return!!(null==e?void 0:null===(l=e.items)||void 0===l?void 0:l.length)&&(0,n.jsx)(r.MP,{carousel:e.carousel,items:e.items},t)})]}),m,!!d&&(0,n.jsx)(r.xZ,{...d}),!!u&&(0,n.jsx)(r.w4,{...u})]})}},38298:function(e,t,l){"use strict";l.r(t),l.d(t,{ExperiencesTheme:function(){return i}});var n=l(94043),a=l(31692),r=l(53198);let i=e=>{let{header:t,experiences:l,legals:i,spaces:s,description:o,surtitle:c,subtitle:d,dynamicContent:u}=e;return(0,n.jsxs)(n.Fragment,{children:[!!t&&(0,n.jsx)(r.VM,{...t}),!!o&&(0,n.jsx)("section",{className:"container-full py-8 md:py-12",children:(0,n.jsxs)("div",{className:"flex flex-col md:flex-row md:items-start md:gap-8",children:[(0,n.jsx)("div",{className:"mb-4 md:mb-0",children:(0,n.jsx)(r._q,{line1:c,line2:d,className:"!mb-0",line1WrapSafe:!0,line2WrapSafe:!0})}),(0,n.jsx)("div",{className:"flex-1 max-w-2xl",children:(0,n.jsx)(r.o8,{text:o,className:"text-darkblue text-base md:text-lg leading-relaxed"})})]})}),!!(null==l?void 0:l.length)&&(0,n.jsx)("section",{className:"loadable",children:(0,n.jsx)(r.ff,{children:l.map((e,t)=>(0,a.createElement)(r.MG,{...e,isFeatured:!1,key:t}))})}),u,!!i&&(0,n.jsx)(r.xZ,{...i}),!!s&&(0,n.jsx)(r.w4,{...s})]})}},33527:function(e,t,l){"use strict";l.r(t),l.d(t,{OfferPage:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{header:t,anchorNavigation:l,dynamicContent:r,legals:i}=e;return(0,n.jsxs)(n.Fragment,{children:[!!t&&(0,n.jsx)(a.YE,{...t}),!!l&&(0,n.jsx)(a.gm,{...l}),!!r&&(0,n.jsx)(n.Fragment,{children:r}),!!i&&(0,n.jsx)(a.xZ,{...i})]})}},64832:function(e,t,l){"use strict";l.r(t),l.d(t,{OffersIndex:function(){return o}});var n=l(94043),a=l(53198),r=l(9145),i=l(54403),s=l(31692);let o=e=>{let{locale:t,header:l,items:o,children:c,filters:d,offersIndexFilterProvider:u}
1=e,[m,f]=(0,s.useState)(!1),[x,p]=(0,s.useState)(),h=async e=>{if(u){if(!e){p(void 0);return}f(!0),p(await u(e,(0,r.YfC)(t))),f(!1)}};return(0,n.jsxs)(n.Fragment,{children:[!!l&&(0,n.jsx)(a.VM,{...l}),!!d&&(0,n.jsx)(a._A,{filters:d,onChange:h}),!!o&&!x&&o.map((e,t)=>e.carousel?(0,n.jsx)(a.MP,{...e},t):(0,n.jsx)(a.X9,{...e},t)),!!c&&!x&&c,(0,n.jsxs)("div",{className:(0,i.Z)("loadable",m&&"loading"),children:[!!(null==x?void 0:x.offers)&&(0,n.jsx)(a.ff,{mode:"flex",children:x.offers.map((e,t)=>(0,n.jsx)(a.FM,{...e},t))}),!!(null==x?void 0:x.banners)&&x.banners.map((e,t)=>(0,n.jsx)(a.X9,{...e},t))]})]})}},65458:function(e,t,l){"use strict";l.r(t),l.d(t,{PracticalInfoPassPage:function(){return r}});var n=l(94043),a=l(53198);let r=e=>{let{header:t,descriptionWithGallery:l,dynamicContent:r}=e;return(0,n.jsxs)(n.Fragment,{children:[!!t&&(0,n.jsx)(a.YE,{...t}),!!l&&(0,n.jsx)(a.jh,{...l}),!!r&&(0,n.jsx)(n.Fragment,{children:r})]})}},16503:function(e,t,l){"use strict";l.d(t,{I:function(){return o},e:function(){return s}});let n=/[a-z]/,a=/[A-Z]/,r=/[0-9]/,i=/[@$!%*?&]/,s=e=>{let t=e||"",l=0;return t.length>=8&&l++,n.test(t)&&l++,a.test(t)&&l++,r.test(t)&&l++,i.test(t)&&l++,l/5*100},o=e=>e>=100},10412:function(e,t,l){"use strict";l.d(t,{Ki:function(){return i},RA:function(){return r},VD:function(){return a},VG:function(){return s}});var n=l(39137);let a=e=>e,r=n.Ry({country:n.Z_().min(1,a("required")),streetName:n.Z_().optional(),streetNumber:n.Z_().optional(),postalCode:n.Z_().min(1,a("required")),city:n.Z_().min(1,a("required")),complementaryAddress1:n.Z_().optional(),complementaryAddress2:n.Z_().optional()}).merge(n.Ry({civilite:n.Z_().min(1,a("required")),firstName:n.Z_().min(1,a("required")),lastName:n.Z_().min(1,a("required")),birthdate:n.dj(e=>""===e||void 0===e?void 0:e,n.Z_().date().optional()),mobile:n.Z_().optional().refine(e=>!(e&&"invalid"===e),{message:a("invalid")}),stationary:n.Z_().optional().refine(e=>!(e&&"invalid"===e),{message:a("invalid")}),optinEmailFuturo:n.G0([n.i0("0"),n.i0("1"),n.i0("")]).optional(),optinNewsletterGroup:n.G0([n.i0("0"),n.i0("1"),n.i0("")]).optional()})),i=e=>e;i("streetNumber"),a("at-least-one"),i("complementaryAddress1"),a("at-least-one"),i("complementaryAddress2"),a("at-least-one"),i("streetName"),a("required"),i("streetName"),a("at-least-one");let s={civilite:"radio-button",firstName:"text",lastName:"text",birthdate:"date",city:"text",country:"select",postalCode:"text",streetName:"text",streetNumber:"text",complementaryAddress1:"text",complementaryAddress2:"text",mobile:"tel-mobile",stationary:"tel-stationary",optinEmailFuturo:"radio-button",optinNewsletterGroup:"radio-button"}},11032:function(e,t,l){"use strict";l.d(t,{J7:function(){return o},W1:function(){return m},mJ:function(){return c},q6:function(){return f},sm:function(){return a},xT:function(){return i},xt:function(){return s},yq:function(){return r}});let n=e=>{try{return JSON.parse(e),""}catch(t){return e}},a=e=>{let t=e.split("\r\n");return{streetNumber:n(t[0]||""),streetName:n(t[1]||""),complementaryAddress1:n(t[2]||""),complementaryAddress2:n(t[3]||"")}},r=e=>[e.streetNumber,e.streetName,e.complementaryAddress1,e.complementaryAddress2].join("\r\n"),i=e=>{let t=e||[];return(null==e?void 0:e[0])||t.push({id:0,title:"Postal",default:!0}),(null==e?void 0:e[1])||t.push({id:1,title:"Billing"}),(null==e?void 0:e[2])||t.push({id:2,title:"Brochure"}),t},s=e=>e||{fut_civilt_princ:"",fut_fax_postal_iresa:"",fut_mob_postal:"",fut_mob_postal_iresa:"",fut_tel_postal_iresa:""},o=e=>{let{addresses:t,customFields:l,...n}=e,a={...n};return a.addresses=i(t),a.customFields=s(l),a},c=function(e){var t,l,n,r,i,s;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=null===(t=e.addresses)||void 0===t?void 0:t[o];return{civilite:(null===(l=e.customFields)||void 0===l?void 0:l.fut_civilt_princ)||"",firstName:e.givenName||"",lastName:e.familyName||"",email:e.email||"",password:"★★★★★★★★★",birthdate:(()=>{if(!e.birthDate)return"";if("string"==typeof e.birthDate&&/^\d{4}-\d{2}-\d{2}$/.test(e.birthDate))return e.birthDate;if("string"==typeof e.birthDate){let t=e.birthDate;if(t.includes("T")){let e=new Date(t),l=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(l,"-").concat(n,"-").concat(a)}}try{let t=new Date(e.birthDate);if(isNaN(t.getTime()))return"";let l=t.getUTCFullYear(),n=String(t.getUTCMonth()+1).padStart(2,"0"),a=String(t.getUTCDate()).padStart(2,"0");return"".concat(l,"-").concat(n,"-").concat(a)}catch(e){return""}})(),country:(null==c?void 0:c.country)||"",postalCode:(null==c?void 0:c.postalCode)||"",city:(null==c?void 0:c.locality)||"",...a((null==c?void 0:c.streetAddress)||""),mobile:(null===(n=e.customFields)||void 0===n?void 0:n.fut_mob_postal)||"",stationary:(null===(r=e.customFields)||void 0===r?void 0:r.fut_tel_postal)||"",optinEmailFuturo:(null==e?void 0:null===(i=e.consents)||void 0===i?void 0:i.optin_email_futuro)?e.consents.optin_email_futuro.granted?"1":"0":"",optinNewsletterGroup:(null==e?void 0:null===(s=e.consents)||void 0===s?void 0:s.newsletter_groupe)?e.consents.newsletter_groupe.granted?"1":"0":""}},d=e=>"0"===e||"1"===e||""===e||void 0===e,u=(e,t)=>
1d(t)?e?e.granted===("1"===t)||void 0===t?e:{...e,granted:"1"===t,date:new Date().toISOString()}:""!==t?{granted:"1"===t,date:new Date().toISOString()}:void 0:(console.error("Invalid consent value. Consent won't be updated.",t),e),m=(e,t)=>{let{optinEmailFuturo:l,optinNewsletterGroup:n}=t,{optin_email_futuro:a,newsletter_groupe:r}=e||{},i=u(a,l),s=u(r,n);return[i,s].some(Boolean)?{...i?{optin_email_futuro:i}:{},...s?{newsletter_groupe:s}:{}}:void 0},f=function(e,t){var l;let{streetNumber:n,streetName:a,complementaryAddress1:i,complementaryAddress2:s,...o}=e,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,d=null===(l=t.addresses)||void 0===l?void 0:l.map((e,t)=>t!==c?e:{...e,country:o.country,postalCode:o.postalCode,locality:o.city,streetAddress:r({streetNumber:n,streetName:a,complementaryAddress1:i,complementaryAddress2:s})}),{consents:u,...f}=t;return{...f,givenName:o.firstName,familyName:o.lastName,birthdate:o.birthdate,addresses:d,phoneNumber:o.mobile||void 0,customFields:{...t.customFields,fut_civilt_princ:o.civilite,fut_mob_postal:o.mobile||"",fut_tel_postal:o.stationary},consents:m(u,o)}}},64343:function(e,t,l){"use strict";l.d(t,{t5:function(){return a},tp:function(){return r}});var n=l(87474);let a=(e,t,l,a)=>{let r={PAGE_PATH:()=>window.location.pathname,...a};return new Promise(a=>{let i=(0,n.$N)({...l||{},...t},r);console.debug("[gtm:push] account ".concat(e," event"),i),window.dataLayer.push({...i,eventCallback:()=>a("ok")}),setTimeout(()=>a("timeout"),500)})},r=e=>{switch(e){case"facebook":return"FB";case"google":return"GOOGLE";case"apple":return"APPLE";default:return"MAIL"}}},34046:function(e,t,l){"use strict";l.d(t,{u:function(){return a},y:function(){return r}}),l(24840);var n=l(69173),a=(0,n.$)("655e685d32f91df313ca790a61dfac61d6cd4989"),r=(0,n.$)("064df1da335c43e0d2cdaf3ddde3e35124199b25")},95899:function(e,t,l){"use strict";l.d(t,{AccountProvider:function(){return i},ec:function(){return s},uK:function(){return o}});var n=l(94043),a=l(31692);let r=(0,a.createContext)(void 0),i=e=>{let{children:t,...l}=e;return(0,n.jsx)(r.Provider,{value:l,children:t})},s=()=>(0,a.useContext)(r),o=()=>{let e=s();return(0,a.useMemo)(()=>(null==e?void 0:e.translations)||null,[e])}},82157:function(e,t,l){"use strict";l.r(t),l.d(t,{GlobalTranslationsProvider:function(){return s},useGlobalTranslations:function(){return o}});var n=l(94043),a=l(31692),r=l(32877);let i=(0,a.createContext)(void 0),s=e=>{let{children:t,translations:l,lang:s,defaultLang:o}=e,c=(0,a.useMemo)(()=>({translations:l,lang:s,defaultLang:o,getTranslation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,r.hR)(l,e,s,o,t)}}),[l,s,o]);return(0,n.jsx)(i.Provider,{value:c,children:t})},o=()=>(0,a.useContext)(i)||{translations:[],lang:"fr",defaultLang:"fr",getTranslation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t}}},2451:function(e,t,l){"use strict";l.d(t,{G:function(){return o},ReachFiveProvider:function(){return s}});var n=l(94043),a=l(31692);let r=()=>{if(window.location.hash.includes("access_token=")){let e=window.location.href.replace(window.location.hash,"");history.replaceState({},"",e)}},i=(0,a.createContext)(void 0),s=e=>{let{children:t,lang:s}=e,o=(0,a.useRef)(!1),[c,d]=(0,a.useState)(null),[u,m]=(0,a.useState)(null),[f,x]=(0,a.useState)(null),[p,h]=(0,a.useState)(null),[v,g]=(0,a.useState)(!1),[b,j]=(0,a.useState)(!1),[w,y]=(0,a.useState)("MAIL"),[N,_]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{o.current||(o.current=!0,Promise.all([l.e(4013),l.e(1528)]).then(l.bind(l,32847)).then(e=>{let{createClient:t}=e,l=t({clientId:"FlD6HCswFWGBDjvBUp3q",domain:"sso.futuroscope.com",language:s});d(l),l.getSessionInfo().catch(e=>(console.error("Error getting session info",e),null)).then(e=>{(null==e?void 0:e.isAuthenticated)?l.checkSession().catch(e=>((null==e?void 0:e.errorMessageKey)==="error.session.expired"?console.error("[R5] Session expired"):console.error("[R5] Session is no longer valid"),null)).then(e=>{(null==e?void 0:e.accessToken)?l.getUser({accessToken:null==e?void 0:e.accessToken}).then(e=>{h(e)}).catch(e=>{console.error("Error getting user profile",e)}).finally(()=>{g(!0)}):g(!0),x(e),j(!!(e&&e.accessToken)),r()}):(j(!1),g(!0)),m(e)})}).catch(e=>{console.error("Error loading the package: ",e)}))},[]),(0,n.jsx)(i.Provider,{value:{client:c,sessionInfo:u,ready:v,authResult:f,userProfile:p,sessionValid:b,setCurrentLoginMethod:y,currentLoginMethod:w,isLoginFlow:N,setIsLoginFlow:_},children:t})},o=()=>(0,a.useContext)(i)},9957:function(e,t,l){"use strict";l.d(t,{C:function(){return o},ReservationPopinProvider:function(){return s}});var n=l(94043),a=l(31692);let r={target:null,setTarget:()=>{}},i=(0,a.createContext)(r),s=e=>{let{children:t}=e,[l,s]=(0,a.useState)(r.target);return(0,n.jsx)(i.Provider,{value:{target:l,setTarget:s},children:t})},o=()=>(0,a.useContext)(i)},32371:function(e,t,l){"use strict";l.d(t,{SigninProvider:function(){return i},ZT:function(){return s},mE:function(){return o}});var n=l(94043),a=l(31692);let r=(0,a.createContext)(void 0),i=e=>{let{children:t,...l}=e;return(0,n.jsx)(r.Provider,{value:l,children:t})},s=()=>(0,a.useContext)(r),o=()=>{let e=s();return(0,a.useMemo)(()=>(null==e?void 0:e.translations)||null,[e])}},43909:function(e,t,l){"use strict";l.d(t,{Jg:function(){return o},SignupProvider:function(){return i},T:function(){return s}});var n=l(94043),a=l(31692);let r=(0,a.createContext)(void 0),i=e=>{let{children:t,...l}=e;return(0,n.jsx)(r.Provider,{value:l,children:t})},s=()=>(0,a.useContext)(r),o=()=>{let e=s();return(0,a.useMemo)(()=>(null==e?void 0:e.translations)||null,[e])}},6385:function(e,t,l){"use strict";l.d(t,{DF:function(){return a},sA:function(){return B},uW:function(){return ea},Yf:function(){return E.buildServerActionContext},zj:function(){return eo},OZ:function(){return c},C1:function(){return s},t2:function(){return ec},k1:function(){return en},Vr:function(){return L},jN:function(){return v},Z5:function(){return _},zM:function(){return m},mn:function(){return p},n4:function(){return h},Fd:function(){return ei},l8:function(){return x},KH:function(){return f},Pq:function(){return i},T8:function(){return ee},SV:function(){return Z},Y9:function(){return R},ls:function(){return eu},xT:function(){return es},GD:function(){return O},Sc:function(){return A},Hk:function(){return k},hC:function(){return et},wf:function(){return W},_4:function(){return U},hU:function(){return K},P2:function(){return V},lF:function(){return S},jM:function(){return el},yu:function(){return ed},wc:function(){return er},ZY:function(){return N},Vt:function(){return C},Iq:function(){return u},VW:function(){return o},UX:function(){return Q},zD:function(){return q}});var n=l(97161);let a="yyyy-LL-dd",r="dd/LL/yyyy",i=e=>e?n.ou.fromFormat(e,a).toFormat("EEEE dd MMMM y"):null,s=e=>e?n.ou.fromFormat(e,a).toFormat("MMMM yyyy"):null,o=e=>{if(!e)return null;let t=n.ou.fromFormat(e,"HH:mm:ss");return"".concat(t.hour,"h").concat(t.toFormat("mm"))},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fr";return n.ou.fromISO("string"==typeof e?e:e.toISOString()).setLocale(t)},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fr";return n.ou.fromFormat(e,r).setLocale(t)},u=(e,t)=>
1Object.entries(t).reduce((e,t)=>{let[l,n]=t;return e.replaceAll(l,n)},e),m=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fr",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"From DATE_START to DATE_END",a=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e.toFormat("dd LLL".concat(t?" yyyy":""))},r=e&&c(e,l),i=t&&c(t,l);return u(n,{DATE_START:r?a(r,!i||r.year!==i.year):"",DATE_END:i?a(i,!0):""})},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fr";return d(e,t).toFormat("ccc ".concat(r))},x=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fr",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"From DATE_START to DATE_END";return u(n,{DATE_START:f(e,l),DATE_END:t})},p=(e,t)=>n.ou.fromFormat(e,a).setLocale(t).toFormat("dd LLL yyyy"),h=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=c(e).setLocale(t).toFormat("EEEE dd LLLL");return l?n.split(" ").map(e=>e[0].toUpperCase()+e.slice(1)).join(" "):n},v=(e,t)=>{let l=c(t),n=(e,t,l)=>{let n=c(t),a=c(l);return e>=n&&e<=a};return e.filter(e=>n(l,e.start||"",e.end||""))};var g=l(94043),b=l(53198),j=l(72704),w=l.n(j),y=l(31692);let N=e=>"string"!=typeof e?e:w()(e,/ICON_([\w_-]+)/g,(e,t)=>(0,g.jsx)(b.jX,{icon:e.toLowerCase()},t)),_=e=>e.charAt(0).toUpperCase()+e.slice(1),k=e=>e.split("\n").map((e,t)=>(0,g.jsxs)(y.Fragment,{children:[e,(0,g.jsx)("br",{})]},t)),C=e=>e.replace(/<[^>]*>?/gm,""),A=e=>"string"!=typeof e?e:w()(e,/href="file:(.*?)"/g,(e,t)=>'href="'.concat("https://api.futuroscope.com","/assets/").concat(e,'?download"')).join(""),S=(e,t)=>{if(e&&(null==e?void 0:e.some(e=>null===e.slug))){var l,n;let a=(null===(l=e.find(e=>e.languages_code===t))||void 0===l?void 0:l.slug)||(null===(n=e.find(e=>null!==e.slug))||void 0===n?void 0:n.slug);a&&e.forEach(e=>{null===e.slug&&(e.slug=a)})}},L=(e,t)=>{var l,n;if(!e||!(null==e?void 0:e.some(e=>null===e.slug)))return e;let a=(null===(l=e.find(e=>e.languages_code===t))||void 0===l?void 0:l.slug)||(null===(n=e.find(e=>null!==e.slug))||void 0===n?void 0:n.slug);return a?e.map(e=>null===e.slug?{...e,slug:a}:e):e};var E=l(46432),M=l(32608);let T=(e,t,l)=>{var n;let a=null==l?void 0:null===(n=l[t])||void 0===n?void 0:n[e];if(a)switch(M.env.NEXT_FS_ENVIRONMENT){case"production":return a.domain_prod||"";case"preproduction":default:return a.domain_preprod||"";case"staging":return a.domain_staging||"";case"local":return a.domain_local||""}},Z=(e,t)=>{let{lang:l,host:n,proto:a,platformDomains:r}=t;if("number"!=typeof e)return"";let i=T(l,e,r);return i&&n!==i?"".concat(a,"://").concat(i):""},R=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new URL(window.location.href);return t.pathname="/"+t.pathname.split("/").filter(Boolean).slice(0,1).join("/"),e&&(t.search="",t.hash=""),t.toString()},P=e=>{try{return new URL(e),!0}catch(e){return!1}},F=e=>new URL(window.location.href).searchParams.get(e),O=()=>{let e=F("referer_url"),t=e?decodeURIComponent(e):"";return P(t)?t:null};var I=l(9145);let D=(e,t,l)=>{var n,a;return(null===(n=e.find(e=>e.languages_code===l))||void 0===n?void 0:n[t])||(null===(a=e.find(e=>null!==e[t]))||void 0===a?void 0:a[t])||null},z=(e,t,l)=>{let n=l.map(e=>{let{locale:t}=e;return t}),a=e.data.find(e=>e.languages_code===t)||e.data.find(e=>e.domain_production),r=D(e.data,"domain_local",t),i=D(e.data,"domain_preproduction",t),s=D(e.data,"domain_staging",t),o=D(e.data,"domain_production",t),c=(0,I.t2Y)(D(e.data,"favicon",t)),d={...e,data:[...e.data||[]]};return n.forEach(t=>{let l=e.data.find(e=>e.languages_code===t);l?(l.domain_local=l.domain_local||r,l.domain_preproduction=l.domain_preproduction||i,l.domain_staging=l.domain_staging||s,l.domain_production=l.domain_production||o):a?(l={...a,languages_code:t},d.data.push(l)):console.error("[fallbackNullishPlatforms] no fallbackDatum found."),l&&!(null==l?void 0:l.favicon)&&c&&(l.favicon=c)}),d},V=(e,t,l)=>{let n=(0,I.t2Y)(null==e?void 0:e.platform);return e&&n?{...e,platform:z(n,t,l)}:e},H=e=>{let t=()=>!!e.match(/Android/i),l=()=>!!e.match(/iPhone|iPad|iPod/i),n=()=>!!e.match(/Opera Mini/i),a=()=>!!e.match(/IEMobile/i),r=()=>!!e.match(/SSR/i),i=()=>!!(t()||l()||n()||a());return{isMobile:i,isDesktop:()=>!!(!i()&&!r()),isAndroid:t,isIos:l,isSSR:r}},B=()=>H("undefined"==typeof navigator?"SSR":navigator.userAgent),U=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},W=e=>{let t=localStorage.getItem(e);return t?JSON.parse(t):null},q=(e,t,l,n,a)=>{let r="",i=e=>"Invalid ".concat(t," form configuration!<br/><br/>").concat(e);
1if("object"!=typeof e||null===e)throw Error(i("Config is not an object"));if(void 0===(null==e?void 0:e.fields))throw Error(i("Config is missing <code>fields</code> property"));if(void 0===(null==e?void 0:e.elements))throw Error(i("Config is missing <code>elements</code> property"));let s=l.filter(t=>!(t in(null==e?void 0:e.fields))).map(e=>"<code>".concat(e,"</code>")).join(", ");s&&(r+="Missing fields: ".concat(s,"<br/>"));let o=n.filter(t=>!(t in(null==e?void 0:e.elements))).map(e=>"<code>".concat(e,"</code>")).join(", ");o&&(r+="Missing elements: ".concat(o,"<br/>"));let c=a.filter(t=>{var l,n;return!Array.isArray(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n[t])||void 0===l?void 0:l.options)}).map(e=>"<code>".concat(e,"</code>")).join(", ");if(c&&(r+="Missing <code>options</code> for: ".concat(c," fields<br/>")),a.filter(t=>{var l,n;return(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(l=n[t])||void 0===l?void 0:l.type)!=="choice"}).map(e=>"<code>".concat(e,"</code>")).join(", ")&&(r+='Missing <code>"type": "choice"</code> for: '.concat(c," fields<br/>")),r)throw Error(i(r));return!0};var Y=l(32608);let G="oney-pedagogic-popin-loader",J=()=>new Promise((e,t)=>{var l;null===(l=document.getElementById(G))||void 0===l||l.remove(),document.querySelectorAll('script[src*="/build/widget.min.js"]').forEach(e=>e.remove()),window.oneyMerchantApp=void 0,window.loadOneyWidget=void 0;let n=document.createElement("script");n.id=G,n.src="https://assets.oney.io/build/loader.min.js",n.async=!0,n.onload=()=>e(),n.onerror=()=>t(Error("[widget-popin] failed to load Oney loader script")),document.body.appendChild(n)}),$=async e=>{var t,l,n,a,r;try{await J()}catch(e){console.error(e);return}null===(l=document.getElementById("showOneyWidgetAsModalBody"))||void 0===l||null===(t=l.closest(".oney-modal"))||void 0===t||t.remove(),null===(n=document.getElementById("showOneyWidgetAsModal"))||void 0===n||n.remove(),null===(a=(r=window).loadOneyWidget)||void 0===a||a.call(r,()=>{var t;null===(t=window.oneyMerchantApp)||void 0===t||t.loadPedagogicPopin({options:{country:"FR",language:e.language,merchant_guid:"6e3eec21d3734a2f98a6e96790e0d750",payment_amount:e.paymentAmount,merchant_name:Y.env.NEXT_PUBLIC_ONEY_MERCHANT_NAME||"",merchant_orias_number:Y.env.NEXT_PUBLIC_ONEY_MERCHANT_ORIAS_NUMBER||"",merchant_address:Y.env.NEXT_PUBLIC_ONEY_MERCHANT_ADDRESS||"",exclusivity_type:"exclusif",filter_by:"filters",filters:[{payment_method:"bnpl",payment_mode:"3x",is_free:e.isFree,preselected:!1},{payment_method:"bnpl",payment_mode:"4x",is_free:e.isFree,preselected:!1}],errorCallback:(e,t)=>{console.error("[widget-popin] Oney loadPedagogicPopin error",e,t)}}})})},X={oney:e=>e.oney?$(e.oney):void 0},Q=e=>{let t=X[e.type];if(!t){console.error('[widget-popin] unknown widget type "'.concat(e.type,'"'));return}return t(e)};function K(e){return e.replace(/\n/g,"<br/>")}let ee=e=>"item-".concat(e+1),et=(e,t)=>{if(!e.length||!t.length)return[...e,...t];t.sort((e,t)=>Number(e.position||0)-Number(t.position||0));let l=t.reduce((e,t)=>Math.max(e,Math.abs(t.position||1)),1),n=Array(e.length+l).fill(null);return t.forEach(e=>{n[Math.abs(e.position||1)-1]=e}),e.forEach(e=>{let t=n.indexOf(null);n[t]=e}),n.filter(Boolean)},el="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdjeP/u/X8ACWgDzGpDasQAAAAASUVORK5CYII=",en=e=>null!==e,ea=e=>[...new Set(e)],er=e=>{let t=e/100,l=t%1<=.0049999?Math.round(t).toString():t.toFixed(2);return"".concat(l,"m").replace(".",",")},ei=e=>(e/100).toFixed(2).replace(".","m"),es=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,eo=function(e){for(var t=arguments.length,l=Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];if(e<=0)throw Error("Number of reviews must be greater than zero.");if(l.length!==e)throw Error("Incorrect number of ratings provided.");return l.reduce((e,t)=>e+t,0)/e},ec=e=>e&&"object"==typeof e?e:void 0,ed=e=>Object.keys(e),eu=e=>{if("object"==typeof e){if(null==e?void 0:e.message)return e.message;if("function"==typeof e.toString)return e.toString()}return"string"==typeof e?e:""}}
1,46432:function(e,t,l){"use strict";l.r(t),l.d(t,{buildServerActionContext:function(){return n}});let n=e=>({lang:e,host:window.location.host,proto:window.location.protocol})},41706:function(e,t,l){"use strict";l.d(t,{AF:function(){return s},_2:function(){return o},s4:function(){return r},xh:function(){return i}});var n=l(9145);let a=(e,t)=>{var l,n,a;let r=null===(l=e.translated_medias)||void 0===l?void 0:l.find(e=>{var l;return("string"==typeof e.languages_code?e.languages_code:null===(l=e.languages_code)||void 0===l?void 0:l.code)===t});return r?{image:r.image,image_app:r.image_app,logo:r.logo,mascot:r.mascot,video:r.video,gallery:(null===(a=r.gallery)||void 0===a?void 0:a.map(e=>({directus_files_id:e.directus_files_id})))||null}:{image:e.image,image_app:e.image_app,logo:e.logo,mascot:e.mascot,video:e.video,gallery:(null===(n=e.gallery)||void 0===n?void 0:n.map(e=>({directus_files_id:e.directus_files_id})))||null}},r=(e,t,l)=>{let r=a(e,t);return(0,n.$s0)(r.image,t,l)},i=function(e,t,l){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"image",i=a(e,t);return(0,n.z7X)(i[r],t,l)},s=(e,t)=>{let l=a(e,t);return l.gallery&&l.gallery.length>0&&"object"==typeof l.gallery[0]?l.gallery:e.gallery||[]},o=(e,t)=>a(e,t).video||e.video||null},29696:function(e,t,l){"use strict";l.r(t),l.d(t,{useAdvancedAddressValidation:function(){return m}});var n=l(31692),a=l(10412);let r=[],i=null,s=e=>e,o=async()=>{if(r.length>0)return r;let e=await fetch("/hexapost.json");if(!e.ok)throw Error("Network response was not ok");return r=(await e.json()).map(e=>{let[t,l]=e;return{city:t,citySanitized:d(t),postal:l.toString(),postalSanitized:d(l.toString()),label:"".concat(l," - ").concat(t)}}),i=new(await l.e(4752).then(l.bind(l,94752))).default(r,{keys:[s("label")]}),r},c=e=>i?i.search(e,{limit:10}):[],d=e=>{let t={" ":"-|_",a:"\xe1|\xe0|\xe3|\xe2|\xc0|\xc1|\xc3|\xc2",e:"\xe9|\xe8|\xea|\xc9|\xc8|\xca",i:"\xed|\xec|\xee|\xcd|\xcc|\xce",o:"\xf3|\xf2|\xf4|\xf5|\xd3|\xd2|\xd4|\xd5",u:"\xfa|\xf9|\xfb|\xfc|\xda|\xd9|\xdb|\xdc",c:"\xe7|\xc7",n:"\xf1|\xd1"};for(var l in e=e.toLowerCase().trim(),t)e=e.replace(RegExp(t[l],"g"),l);return e},u=e=>{let{country:t,postalCode:l,city:n}=e;if("FR"!==t||""===l||""===n)return!0;let a=d(l),i=d(n);return r.filter(e=>e.postalSanitized===a&&e.citySanitized===i).length>0},m=(e,t,l,r,i,s)=>
1{let[d,m]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{o().then(()=>{m(!1)})},[]),{initializing:d,runAdvancedValidation:e=>{let n=u(e);return l((0,a.Ki)("city")),!!n||(t((0,a.Ki)("city"),{message:(0,a.VD)("invalid")},{shouldFocus:!0}),!1)},triggerValidation:()=>{["postalCode","complementaryAddress1","complementaryAddress2","streetName","streetNumber"].forEach(e=>{r(e)}),u(i())?r("city"):t((0,a.Ki)("city"),{message:(0,a.VD)("invalid")},{shouldFocus:!0})},autocompleters:(0,n.useMemo)(()=>"FR"!==e?{}:{postalCode:{getOptions:e=>Promise.resolve(c(e).map(e=>({label:"".concat(e.item.postal," - ").concat(e.item.city),valueStringified:e.item.postal,value:e.item}))),onSelect:e=>{s("postalCode",e.postal),s("city",e.city)}}},[e,s])}}},17465:function(e,t,l){"use strict";l.r(t),l.d(t,{useButtonLinks:function(){return s}});var n=l(31692),a=l(9145),r=l(9957);let i=(e,t,l,n)=>{if(!e)return{};let a=t[e];return a?"function"==typeof a?a(l,n):a:{}},s=(e,t)=>{let{isMobile:l}=(0,a.iPe)(),[s,o]=(0,n.useState)(""),[c,d]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),[f,x]=(0,n.useState)(""),[p,h]=(0,n.useState)(""),[v,g]=(0,n.useState)(!1),{setTarget:b}=(0,r.C)();return{links:(0,n.useMemo)(()=>(e||[]).map((e,n)=>{let r={};return(r.link=e,e.iresaTarget&&(r.onClick=()=>{console.log("[useButtonLinks] specific iresaTarget available - switching...",e.iresaTarget),b(e.iresaTarget)}),"openVideoPopin"===e.specialAction&&(r.onClick=t=>{t.preventDefault(),(null==e?void 0:e.gtmEvent)&&(0,a.iJF)(e.gtmEvent),o(e.href),d(!0)}),"openInfoPopin"===e.specialAction&&(r.onClick=t=>{t.preventDefault(),(null==e?void 0:e.gtmEvent)&&(0,a.iJF)(e.gtmEvent),m(!0)}),"openExternalPopin"===e.specialAction&&(r.onClick=t=>{t.preventDefault(),(null==e?void 0:e.gtmEvent)&&(0,a.iJF)(e.gtmEvent),x(e.href),h((0,a.Vt3)(e.title||"")),g(!0)}),"openWidgetPopin"===e.specialAction&&(r.onClick=t=>{t.preventDefault(),(null==e?void 0:e.gtmEvent)&&(0,a.iJF)(e.gtmEvent),e.widget&&(0,a.UXZ)(e.widget)}),"downloadMenu"===e.specialAction&&(r.link.href=l&&e.hrefMobile?e.hrefMobile:e.href,r.onClick=t=>{t.preventDefault(),(null==e?void 0:e.gtmEvent)&&(0,a.iJF)(e.gtmEvent);let n=document.createElement("a");n.style.opacity="0",n.style.width="1",n.style.height="1",n.style.position="absolute",n.href=l&&e.hrefMobile?e.hrefMobile:e.href,n.download="",document.body.appendChild(n),n.click(),document.body.removeChild(n)}),t)?{...r,...i("_default",t,e,n),...i(e.type,t,e,n),...i(e.specialAction,t,e,n),...i(n,t,e,n)}:r}),[e,c,u,v,l,t]),videoUrl:s,videoOpened:c,setVideoOpened:d,infoPopinOpened:u,setInfoPopinOpened:m,externalPopinUrl:f,externalPopinTitle:p,externalPopinOpened:v,setExternalPopinOpened:g}}},35361:function(e,t,l){"use strict";l.r(t),l.d(t,{useCaptcha:function(){return i}});var n=l(94043),a=l(84271),r=l(31692);let i=e=>{let t=(0,r.useRef)(null);return{didSolveCaptcha:(0,r.useCallback)(async()=>{var e,l;if(null===(e=t.current)||void 0===e?void 0:e.getResponse())return!0;try{return!!await (null===(l=t.current)||void 0===l?void 0:l.execute())}catch(e){return console.error(e),!1}},[]),getCaptchaToken:(0,r.useCallback)(()=>{var e;return(null===(e=t.current)||void 0===e?void 0:e.getResponse())||void 0},[]),captchaComponent:(0,n.jsx)(a.hc,{ref:t,sitekey:"sk_xEUuQIaJ1f038zON0H0aFn7a2PfcQ",lang:e})}}},87730:function(e,t,l){"use strict";l.r(t),l.d(t,{useClickOutside:function(){return a}});var n=l(31692);let a=e=>{let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let l=l=>{t.current&&!t.current.contains(l.target)&&e(l)};return document.addEventListener("mousedown",l),document.addEventListener("touchstart",l),()=>{document.removeEventListener("mousedown",l),document.removeEventListener("touchstart",l)}},[e]),t}},18373:function(e,t,l){"use strict";l.r(t),l.d(t,{useDebounce:function(){return a}});var n=l(31692);let a=(e,t)=>{let l=(0,n.useRef)(),a=(0,n.useRef)();return(0,n.useEffect)(()=>{l.current=e},[e]),{debouncedCallback:(0,n.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];a.current&&clearTimeout(a.current),a.current=setTimeout(()=>{l.current&&l.current(...n)},t)},[t]),cancel:(0,n.useCallback)(()=>{a.current&&clearTimeout(a.current)},[t])}}},62822:function(e,t,l){"use strict";l.r(t),l.d(t,{useElementObserver:function(){return a}});var n=l(31692);let a=(e,t)=>{(0,n.useEffect)(()=>
1{if(document.querySelector(e)){t();return}let l=new MutationObserver((l,n)=>{for(let a of l)if("childList"===a.type&&document.querySelector(e)){t(),n.disconnect();break}});return l.observe(document.documentElement,{childList:!0,subtree:!0}),()=>{l.disconnect()}},[e,t])}},98386:function(e,t,l){"use strict";l.r(t),l.d(t,{useElevatedLabel:function(){return a}});var n=l(31692);let a=(e,t,l)=>{let[a,r]=(0,n.useState)(!1);return{handleBlur:e=>{r(!1),l&&l(e)},handleFocus:e=>{r(!0),t&&t(e)},isLabelElevated:(0,n.useMemo)(()=>!!e||a,[e,a]),isFocused:a}}},35140:function(e,t,l){"use strict";l.r(t),l.d(t,{useFormEssentials:function(){return a}});var n=l(31692);let a=()=>{let[e,t]=(0,n.useState)(!1),[l,a]=(0,n.useState)(!1),[r,i]=(0,n.useState)(null);return{formStateEssentials:{success:e,submitting:l,serverError:r},setSuccess:t,setSubmitting:a,setServerError:i}}},3429:function(e,t,l){"use strict";l.r(t),l.d(t,{useHash:function(){return i}});var n=l(38448),a=l(31692);let r=()=>decodeURIComponent(window.location.hash.replace("#","")),i=e=>{let[t,l]=(0,a.useState)(r()),[i,s]=(0,a.useState)(!1),o=(0,n.useRouter)(),c=(0,n.usePathname)(),d=(0,n.useSearchParams)();return(0,a.useEffect)(()=>{let e=()=>{l(r())};return s(!0),window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]),{isTriggered:!!i&&t===e,resetHash:(0,a.useCallback)(()=>{o.replace(c+"?"+d,{scroll:!1}),l("")},[o,c,d])}}},44228:function(e,t,l){"use strict";l.r(t),l.d(t,{useIResaWidgetReady:function(){return r}});var n=l(31692),a=l(62822);let r=()=>{let[e,t]=(0,n.useState)(!1);return(0,a.useElementObserver)('[id="resa-pills-tabContent"]',()=>{t(!0)}),e}},73715:function(e,t,l){"use strict";l.r(t),l.d(t,{useIsClient:function(){return a}});var n=l(31692);let a=()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{t(!0)},[]),e}},99825:function(e,t,l){"use strict";l.r(t),l.d(t,{useMedia:function(){return a}});var n=l(31692);let a=e=>{let[t,l]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=window.matchMedia(e),n=e=>l(e.matches);return t.addEventListener("change",n),l(t.matches),()=>{t.removeEventListener("change",n)}},[]),t}},75548:function(e,t,l){"use strict";l.r(t),l.d(t,{useParallax:function(){return a}});var n=l(71686);let a=(e,t,l)=>(0,n.H)(e,[0,1],[l?"".concat(t).concat(l):t,l?"".concat(-t).concat(l):-t])},54486:function(e,t,l){"use strict";l.d(t,{s:function(){return r}});var n=l(31692),a=l(6385);let r=()=>{let[e,t]=(0,n.useState)(null);return(0,n.useEffect)(()=>{t((0,a.GD)())},[]),e}},22912:function(e,t,l){"use strict";l.r(t),l.d(t,{useScrollLock:function(){return r}});var n=l(31692);let a="scroll-lock",r=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e=>{document.documentElement.classList.toggle(a,e)};return(0,n.useEffect)(()=>{let l=document.documentElement.classList.contains(a);return e&&t(!0),()=>{t(l)}},[e]),{toggleScrollLock:t}}},83678:function(e,t,l){"use strict";l.r(t),l.d(t,{useWindowSize:function(){return a}});var n=l(31692);let a=()=>{let[e,t]=(0,n.useState)({width:void 0,height:void 0}),[l,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight});try{var e;if("ontouchstart"in window||void 0!==window.DocumentTouch&&document instanceof window.DocumentTouch)return a(!0),!0;a((e=["("," -webkit- -moz- -o- -ms- ".split(" ").join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(e).matches))}catch(e){return console.error("(Touch detect failed)",e),a(!1),!1}}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),{windowSize:e,isMobile:"number"==typeof(null==e?void 0:e.width)&&(null==e?void 0:e.width)<768,isDesktop:"number"==typeof(null==e?void 0:e.width)&&(null==e?void 0:e.width)>=768,isTablet:"number"==typeof(null==e?void 0:e.width)&&(null==e?void 0:e.width)<1024,isTouchDevice:l}}},9145:function(e,t,l){"use strict";l.d(t,{DF:function(){return k.DF},_He:function(){return r},Cci:function(){return ll},sAV:function(){return k.sA},aMJ:function(){return t9},YfC:function(){return k.Yf},zj4:function(){return k.zj},OZ0:function(){return k.OZ}
1,C1m:function(){return k.C1},t2Y:function(){return k.t2},QZz:function(){return tu.QZ},x$C:function(){return e4},kTF:function(){return t6},k11:function(){return k.k1},Vrr:function(){return k.Vr},X4H:function(){return tm.X4},Z5U:function(){return k.Z5},zMp:function(){return k.zM},mnp:function(){return k.mn},n43:function(){return k.n4},FdU:function(){return k.Fd},l80:function(){return k.l8},KHN:function(){return k.KH},PqK:function(){return k.Pq},T8T:function(){return k.T8},sMW:function(){return o},SVA:function(){return k.SV},Y9D:function(){return k.Y9},KfS:function(){return eB},hRD:function(){return tu.hR},vwt:function(){return y},jl6:function(){return ej},FK9:function(){return eH},a3y:function(){return eV},yNL:function(){return eN},lsj:function(){return k.ls},pG5:function(){return ek},dp3:function(){return eA},fqC:function(){return N},CZp:function(){return eL},kh2:function(){return eS},xTc:function(){return k.xT},BP4:function(){return ez},WXV:function(){return eP},Gr9:function(){return eZ},EWX:function(){return eI},pJX:function(){return eU},iJF:function(){return t8.iJ},Ztn:function(){return t8.Zt},rSt:function(){return t8.rS},SDW:function(){return t8.SD},Sc4:function(){return k.Sc},HkX:function(){return k.Hk},hCL:function(){return k.hC},eBv:function(){return lk},lPq:function(){return lp},CWV:function(){return le},uD2:function(){return lj},wfF:function(){return k.wf},_4L:function(){return k._4},XOB:function(){return a},Q2d:function(){return tu.Q2},ncj:function(){return tm.nc},hap:function(){return tL},Lno:function(){return tS},BqG:function(){return tc},irm:function(){return tK},SvN:function(){return to},xbu:function(){return td},Htv:function(){return tX},QTt:function(){return tu.QT},pK9:function(){return tm.pK},JPQ:function(){return tM},gZs:function(){return tm.gZ},S6v:function(){return t1},T_P:function(){return tp},X8D:function(){return tf},$oo:function(){return tm.$o},QAw:function(){return tj},$gO:function(){return tw},$s0:function(){return t_},z7X:function(){return ty},bwA:function(){return tN},Wgj:function(){return tm.Wg},Sj4:function(){return tP},sxY:function(){return tT},fVl:function(){return tF},R7n:function(){return tO},CBK:function(){return tz},faD:function(){return tI},MLr:function(){return tD},XqK:function(){return tZ},FLZ:function(){return t0},uUc:function(){return tm.uU},RCH:function(){return tV},gUF:function(){return tm.gU},gMr:function(){return tB},j3t:function(){return tu.j3},yRy:function(){return tu.yR},Hxj:function(){return tx},INO:function(){return tA},qOe:function(){return tC},hU_:function(){return k.hU},QWV:function(){return eC},P2f:function(){return k.P2},lFS:function(){return k.lF},jMx:function(){return k.jM},TWk:function(){return t8.TW},$ND:function(){return t8.$N},kqb:function(){return t2},wcZ:function(){return k.wc},ZYH:function(){return k.ZY},vON:function(){return ey},Jrs:function(){return eg},rrL:function(){return e_},Zhg:function(){return eM},YSc:function(){return lN},_xI:function(){return lf},fyF:function(){return ld},qTG:function(){return lt},tPb:function(){return ls},d4j:function(){return lc},_8C:function(){return lg},KmB:function(){return eF},AnO:function(){return eD},Vt3:function(){return k.Vt},zVx:function(){return lC},t:function(){return tu.t},IqF:function(){return k.Iq},VWp:function(){return k.VW},UXZ:function(){return k.UX},G6m:function(){return ta.useAdvancedAddressValidation},lV_:function(){return e8.useButtonLinks},my9:function(){return ti.useCaptcha},O8h:function(){return tr.useClickOutside},NrF:function(){return e7.useDebounce},Ouk:function(){return tl.useElevatedLabel},QUq:function(){return tn.useFormEssentials},Hpy:function(){return e3.useHash},x4d:function(){return te.useIResaWidgetReady},O_b:function(){return tt.useIsClient},YTn:function(){return e6.useParallax},PrY:function(){return e5.useScrollLock},iPe:function(){return e9.useWindowSize}});let n=e=>e?{url:"".concat(e.src,"?width=").concat(1200,"&height=").concat(630,"&format=jpg&quality=90&fit=cover"),width:1200,height:630}:void 0,a=(e,t,l,n)=>{let a=n[t]||n[l];return"/".concat(a).concat(e)},r="web";l(24840);var i=l(69173);(0,i.$)("9ec608fbfd36f64ed26f462511406d82ef19cd3f"),(0,i.$)("57e12605e0897c3ffe875e3a6de7d5f8e293bec2"),(0,i.$)("4e07202bc3eb2419718a27ebaf9ecaff9a54b7c3");var s=l(81604);(0,i.$)("3c9b71073adddeaaf4736512c384322146808958"),(0,i.$)("286552c565fa61b5ce5bdedcdc00e072ad76d20b"),(0,i.$)("d9b96c1ba987032fb8c0398e88d193260fbefe41"),(0,i.$)("77b425a8294a2701136187b639cd7cbabd0f3b40");var o=(0,i.$)("b729b81e2641e38ae28c56650e30122bf0cb858a"),c=l(37802),d=l(42294);let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4,n=arguments.length>2?arguments[2]:void 0,a=new Map;return async function(){for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];if(d.S){let{headers:t}=await l.e(4771).then(l.bind(l,94771));if("true"===t().get("X-Preview-Request"))return e(...i)}
1let o=n?n(...i):JSON.stringify(i);if(a.has(o))return a.get(o);let c=()=>{setTimeout(()=>{a.delete(o)},t)},u=e(...i).then(e=>(c(),e)).catch(e=>{throw c(),e});return a.set(o,u),u}},m=["*",{preset:["*"]}],f=e=>["*",{parent:e,data:["*",{seo_image:["*",{data:["*"]}]}]}],x=["*",{data:["*"],image:["*",{data:["*"]}]}],p=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return["*",{...e?{image:["*",{data:["*"]}],icon:["*",{data:["*"]}]}:{},...t?{source_account_dropdown:["*",{data:["languages_code","contact_label","documents_label","contracts_label","profile_label","logout_label",{content_data:["slug","languages_code"]}]}]}:{},source_internal:["platform",{data:["slug","languages_code"]}],source_external_data:["*"],source_reservation:[{data:["popin_trigger","iresa_target","languages_code"]}],source_internal_experience:[{data:["slug","languages_code"],space:[{data:["slug","languages_code"]}]}],source_internal_offer:[{data:["slug","languages_code"]}],source_internal_space:[{data:["slug","languages_code"]}],source_internal_theme:[{data:["slug","languages_code"]}],data:["title","description","languages_code"],gtm:m}]},h=["*",{data:["*"],data_event:["*"],push:["*",{data:["*"]}],tags:["*",{tags_id:["*",{data:["*"]}]}],logo:["*",{data:["*"]}],size:["*",{data:["*"]}],image:["*",{image_vertical:["*",{data:["*"]}],data:["*"]}],mascot:["*",{data:["*"]}],translated_medias:["*",{languages_code:["*"],image:["*",{image_vertical:["*",{data:["*"]}],data:["*"]}],image_app:["*",{image_vertical:["*",{data:["*"]}],data:["*"]}],logo:["*",{data:["*"]}],mascot:["*",{data:["*"]}],video:["*",{data:["*"]}],gallery:["*",{directus_files_id:["*",{data:["*"]}]}]}],space:[{data:["*"]}],activity:["uid",{data:["title","languages_code"]}],links:["*",{links_id:p(!0)}]}];p(!0);let v=["*",{options:["*",{options_id:[{picto:["*",{data:["*"]}],data:["name","languages_code"]}]}],links:["*",{links_id:p(!0)}],tags:["*",{tags_id:["*",{data:["name","languages_code"]}]}],image:["*",{image_vertical:["*",{data:["*"]}],data:["*"]}],data_price:["*",{prices:["*"]}],data:["*"],data_date:["*"],seo:["no_index"]}],g=["*",{feature:["*",{background:["*",{data:["*"]}],data:["*"],link:p(!0)}]}],b=["*",{data:["*",{menu:["*",{data:["*"]}],menu_mobile:["*",{data:["*"]}]}],links:["*",{links_id:p(!0)}],image:["*",{data:["*"]}]}],j=["*",{data:["*"],logo:["*",{data:["*"]}],logo_dark:["*",{data:["*"]}],logo_white:["*",{data:["*"]}]}],w=["*",{data:["*"],calendar_periods:["*"],links:["*",{links_id:p(!0)}],space:["*",{data:["*"]}],experience:["*",{data:["*"],space:["reference","id"]}]}],y=u(async e=>{try{let t=await e4.request((0,c.dBv)("calendar_events",{sort:["space"],limit:-1,fields:w,deep:{calendar_periods:{_limit:-1}}}));return e?t.filter(t=>t.type===e):t}catch(e){return console.error("[resolver][getEvents] Error:",e),[]}}),N=u(async()=>{try{return await e4.request((0,c.rU6)({fields:["*"],filter:{key:{_in:["open","close"]}}}))}catch(e){return console.error("[resolver][getOpenCloseLabels] Error:",e),[]}});(0,i.$)("ba3468fcb392b9daa2cdcfc4ee5b8ec0eb86aa76");let _=async(e,t,l,n)=>{let a=Math.ceil(await e()/l),r=[],i=[];for(let e=0;e<a;e++)i.push(t(e*l,l).then(e=>{r.push(...e)})),i.length>=n&&(await Promise.all(i),i=[]);return i.length>0&&await Promise.all(i),r};var k=l(6385),C=(0,i.$)("ef696377acbfc665639f0c2b3098cf567d8b8161"),A=(0,i.$)("c0c7b1ff266dec222aa7d6e9ec8a82d4f1254ad5"),S=(0,i.$)("4cf8a4a4c1e92f8e64aabd7d34bb62087f081397"),L=(0,i.$)("3c18b9e1e8b0656774ec48eb9aeca555499de736"),E=(0,i.$)("1e132d5659b740b1674c0e6af6b5460c1d711b5e"),M=(0,i.$)("711dd06b0956fe1120eae6a15d2bbe13fb274e61"),T=(0,i.$)("233bd1fbc190992937d8d7b2a3ee8353804dfb3f"),Z=(0,i.$)("d9af8d6d2017d83a945843db6609703d9eff626d"),R=(0,i.$)("9c3e40e2a4cefbffc55de0d40931b4650f7de42f");(0,i.$)("fde0e3279f5ca1f22f02109eaff23c9de38bec3c");var P=(0,i.$)("0bca95d436835359c157c090ec0ed0879793f08a"),F=l(34046),O=(0,i.$)("8538f006b907e3a3749c8f9402a3038efc988a2f"),I=(0,i.$)("b9a69cdcf31e228e734b4f5f2f91430693dad832"),D=(0,i.$)("668dd807e52ae1b03bf16d19cf301eda49641c42"),z=(0,i.$)("14d6e70ccec1ed2f931c42a6884c63d1dc9e8dff"),V=(0,i.$)("8d5367bcf2a1d00cf76
1582fa5eb17a73832c55e4"),H=(0,i.$)("15dc13e3d608440a6f86cf5cdc0fd44efbd7292a"),B=(0,i.$)("17c035bcb5f0c0c249e03a4ad0ed7ff803de9740"),U=(0,i.$)("7d759deba24591a2acb54f674c67acdbd5a78841"),W=(0,i.$)("de261c28c78755986ba8e30e246b296dd8d0be87"),q=(0,i.$)("a69b8defb02448453c06799a75eaf8da2436c807"),Y=(0,i.$)("17543afbc18cf6efea1bead3fdc5ede90e5d1ddb"),G=(0,i.$)("5e258fa964552f6e70e4a9f48add8774c86effc5"),J=(0,i.$)("bffffcfc3230e56b2d28fb7802b85a182704b8d5"),$=(0,i.$)("8296b8aa419c0aeedb5aa344aca28d887659da2d"),X=(0,i.$)("955342e0eda032cb93db5ae0c2449f0cb601d704"),Q=(0,i.$)("fc9a5d57914b592ec959b8c74a55b7c938343d03"),K=(0,i.$)("91c024c0bc53722b35621806865b21488fb9ff6c"),ee=(0,i.$)("ff09a767df0198d946221a8b6337908c1ce3b772"),et=(0,i.$)("5be28ad757ba0c655491c77768ee2ef58e0f537b"),el=(0,i.$)("b645b2c14d5f8e9cab53065340f932450466cc4d"),en=(0,i.$)("2379b4d0b32a21e10e9d5e638b6e4be597e7985a"),ea=(0,i.$)("3af4eee8582fc5341bfeaead193695bff6524e45"),er=(0,i.$)("338ba7f7c3440382e108575f49a725201e6ee3fb"),ei=(0,i.$)("b6fdb9204a34388028c708fb0fb464def24fa465"),es=(0,i.$)("9afb50a78e333f36bea342c5b0c52da653a94f81"),eo=(0,i.$)("22da69cbdac910f9142b3773b9a52fef119653cb"),ec=(0,i.$)("30c59d08d6c5aa74157a5bc99a64a7100526fc9d"),ed=(0,i.$)("bd05d01c080d8ad1391236f823eba2d45f874f61"),eu=(0,i.$)("4bedf16dd4972d01fb80cc51daf9b0e4911423f1"),em=(0,i.$)("aae4997f7bc7a086034f40b695f65b11a55cc1b3"),ef=(0,i.$)("da0e716dade5295508dd04a603c0cee281253f20"),ex=(0,i.$)("7384b2b3b86ce5ed48f18fe8fa129b50c94a6f9e");let ep=e=>{if("string"==typeof e)return parseInt(e);if("number"==typeof e)return e;if("object"==typeof e){if("number"==typeof(null==e?void 0:e.id))return e.id;if("string"==typeof(null==e?void 0:e.id))return parseInt(e.id)}return null},eh=()=>({blocks_access:C,blocks_accordions:A,blocks_accounts:S,blocks_alerts:L,blocks_anchors:E,blocks_calendars:M,blocks_carousels:T,blocks_experiences:Z,blocks_focus:R,blocks_footers:P,blocks_galleries:F.u,blocks_grids:O,blocks_heroes:I,blocks_images:D,blocks_infos:z,blocks_legals:V,blocks_links:H,blocks_logins:U,blocks_lists:B,blocks_logos:W,blocks_maps:q,blocks_medias:Y,blocks_mosaics:G,blocks_navigations:J,blocks_newsletters:$,blocks_offers:X,blocks_passes:Q,blocks_prices:K,blocks_questions:ee,blocks_reservations:et,blocks_reviews:el,blocks_scrolls:en,blocks_searches:ea,blocks_sitemaps:er,blocks_signups:ei,blocks_socials:es,blocks_spaces:eo,blocks_steps:ec,blocks_tabs:ed,blocks_texts:eu,blocks_titles:em,blocks_tutorials:ef,blocks_widgets:ex}),ev=async(e,t,l)=>{if(t.__dataLoadingDepth>=5)return console.error('[blocks-data-resolver] Max depth reached at "'.concat(t.__trace.join(" > "),'", aborting data loading')),{instancesMap:{},additionalData:{}};let n=e.reduce((e,t)=>{let l=ep(t.item);return l&&t.collection&&(e[t.collection]||(e[t.collection]=[]),e[t.collection].push(l)),e},{}),a=eh(),r=Object.entries(n).map(e=>{let[n,r]=e,i=a[n];return i?(async()=>{let e={...t,__dataLoadingDepth:t.__dataLoadingDepth+1,__trace:[...t.__trace,"".concat(n,"[").concat((0,k.uW)(r).join(","),"]")]},{data:a,additionalData:o}=await i((0,k.uW)(r),e),c=await Promise.all(a.map(async t=>(0,s.zc)({collection:n,item:t,id:t.id},e,l)));return{collection:n,blocks:a,additionalData:(0,s.yL)([o,...c.filter(k.k1)])}})():(console.warn('[blocks-data-resolver] No resolver found for "'.concat(n,'" collection')),null)}).filter(k.k1),i=await Promise.all(r),o=(0,s.yL)(i.map(e=>e.additionalData));return{instancesMap:i.reduce((e,t)=>{let l=t.collection;return t.blocks.forEach(t=>{e[l]||(e[l]={}),e[l][t.id]=t}),e},{}),additionalData:o}},eg=async(e,t,l)=>{let{instancesMap:n,additionalData:a}=await ev(e,t,l);return{blocks:e.map(e=>{var t;if(!e.item||!e.collection)return null;let l=ep(e.item),a=e.collection,r=null==n?void 0:null===(t=n[a])||void 0===t?void 0:t[l];return r?{...Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return"item"!==t})),item:r}:null}).filter(k.k1),additionalData:a}},eb=async(e,t,l)=>{let n=t=>{var l;let n=(null===(l=e.find(e=>e.languages_code===t))||void 0===l?void 0:l.blocks)||[];return n.length>0?n:null},a=n(t.lang)||n(t.defaultLang)||[],{instancesMap:r,additionalData:i}=await ev(a,t,l);return{blocks:a.map(e=>{var t;if(!e.item||!e.collection)return null;let l=ep(e.item),n=e.collection,a=null==r?void 0:null===(t=r[n])||void 0===t?void 0:t[l];return a?{...Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return"item"!==t})),item:a}:null}).filter(k.k1),additionalData:i}},ej=u(async(e,t)=>{var l,n;let a=(null===(l=await e4.request((0,c.dBv)("experiences",{fields:["*",{image:["*",{image_vertical:["*"]}],map_image:["*",{image_vertical:["*"]}],links:["*",{links_id:p()}],data:["*"],data_event:["*"],data_hotel:["*"],rooms:["*",{rooms_id:["*",{links:["*",{links_id:p()}],data:["*"],image:["*"],infos:["*",{infos_id:["*",{picto:["*"],data:["*"]}]}]}]}],data_map:["*"],activity:["*",{data:["*"]}],data_attraction:["*"],blocks:["*"],gallery:["*",{directus_files_id:["*",{data:["*"]}]}],size:["*",{data:["*"]}],infos:["*",{infos_id:["*",{picto:["*"],data:["*"]}]}],tags:["*",{tags_id:["*",{data:["*"]}]}],space:[{data:["slug","title","languages_code"]}],push:["*",{data:["*"],link:p(),options:["*",{options_id:["*",{picto:["*"],data:["*"]}]}]}],formulas:["*",{formulas_id:b}],video:["*"],mascot:["*"],logo:["*"],labels:["*",{labels_id:["*",{data:["*",{logo:["*"],logo_black:["*"],logo_white:["*"]}],logo:["*"]}]}],services:["*",{services_id:["*",{picto:["*"],data:["*"]}]}],partners:["*",{partners_id:j}],questions:["*",{questions_id:["*",{data:["*"]}]}],seo:x,gtm:m}],translated_medias:["*",{languages_code:["*"],image:["*",{image_vertical:["*"]}],image_app:["*",{image_vertical:["*"]}],logo:["*"],mascot:["*"],video:["*"],gallery:["*",{directus_files_id:["*",{data:["*"]}]}]}],filter:{data:{slug:e}}})))||void 0===l?void 0:l[0])||null;if(a&&a.translated_medias&&Array.isArray(a.translated_medias)&&"number"==typeof a.translated_medias[0])try{let e=await e4.request((0,c.dBv)("experiences",{fields:[{translated_medias:["*",{languages_code:["*"],image:["*",{image_vertical:["*"]}],image_app:["*",{image_vertical:["*"]}],logo:["*"],mascot:["*"],video:["*"],gallery:["*",{directus_files_id:["*",{data:["*"]}]}]}]}],filter:{id:{_eq:a.id}}}));(null==e?void 0:null===(n=e[0])||void 0===n?void 0:n.translated_medias)&&(a.translated_medias=e[0].translated_medias)}catch(e){console.error("Failed to fetch complete translated_medias:",e)}return(0,k.lF)(null==a?void 0:a.data,t),a});u(async()=>_(async()=>{var e,t;let l=await e4.request((0,c.m_8)("experiences",{aggregate:{count:"*"}}));return(null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.count)?parseInt(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.count):0},async(e,t)=>e4.request((0,c.dBv)("experiences",{fields:["*",{data:["slug","languages_code"],seo:["no_index"]},{space:["id",{data:["slug","languages_code"]}],activity:["sitemap_exclusion"]}],offset:e,limit:t})),100,5));let ew=async(e,t,l)=>{let n=await ej(e,t.defaultLang),a={};if(null==n?void 0:n.blocks){let{blocks:e,additionalData:r}=await eg(n.blocks,t,l);a=r,n.blocks=e}return{experience:n,additionalData:a}},ey=async(e,t)=>{var l;let{experience:n}=e.dynamicParams;if(!n)return null;let{experience:a,additionalData:r}=await ew(n,e,t);if(!a||!a.data)return null;let i=(0,tu.j3)(a.data,e.lang,e.defaultLang);if(!i)return null;let s=(0,tu.j3)(null===(l=(0,k.t2)(a.space))||void 0===l?void 0:l.data,e.lang,e.defaultLang);return{expObject:a,expData:i,spaceData:s,additionalData:r}},eN=u(async()=>{let e=await e4.request((0,c.FvJ)({fields:["id","name"],filter:{name:{_eq:"Instagram"}}}));if(!e.length)return[];let t=e[0].id;return e4.request((0,c.ylk)({fields:["*"],filter:{folder:t}}))});var e_=(0,i.$)("411fc4b19b91facb9780394b5262f6b935f2a240"),ek=(0,i.$)("1d203351f5cdfd6537ffd2340131466aa0cc6f13");(0,i.$)("e8eca48ee3cae563cbcea50e6e4488af65dd93b4"),(0,i.$)("4e0212d0638e44bab4445138479cebac9013e8e9");var eC=(0,i.$)("1249c34dff5a612a5d6e90ca70ff9443954cfd9d"),eA=(0,i.$)("4a0824025f9c7916fe9f0e09686200ade98b6acc");(0,i.$)("5a01bb667f099bc9ef346f3e5b26d6d1d4a6eaec");let eS=u(async()=>{try{return await e4.request((0,c.dBv)("passes",{fields:v}))}catch(e){throw console.error("[resolver][passItems] Error:",e),e}}),eL=u(async(e,t)=>{try{var l;let n=(null===(l=await e4.request((0,c.dBv)("passes",{fields:["*",{options:["*",{options_id:[{picto:["*"],data:["name","languages_code"]}]}],links:["*",{links_id:p(!0)}],push_link:p(),tags:["*",{tags_id:["*",{data:["name","languages_code"]}]}],image:["*",{image_vertical:["*"]}],data_price:["*",{prices:["*"]}],data:["*"],data_date:["*"],blocks:["*"],video:["*"],gallery:["*",{directus_files_id:["*",{data:["*"]}]}],seo:x,gtm:m}],filter:{data:{slug:{_eq:e}}}})))||void 0===l?void 0:l[0])||null;return(0,k.lF)(null==n?void 0:n.data,t),n}catch(e){throw console.error("[resolver][getPass] Error:",e),e}});u(async()=>_(async()=>{var e,t;let l=await e4.request((0,c.m_8)("passes",{aggregate:{count:"*"}}));return(null==l?void 0:null===(e=l[0])||void 0===e?void 0:e.count)?parseInt(null==l?void 0:null===(t=l[0])||void 0===t?void 0:t.count):0},async(e,t)=>e4.request((0,c.dBv)("passes",{fields:["*",{seo:["no_index"],data:["slug","languages_code"]}],offset:e,limit:t})),100,5));let eE=async(e,t)=>{let l=await eL(e,t.defaultLang),n={};if(null==l?void 0:l.blocks){let{blocks:e,additionalData:a}=await eg(l.blocks,t,{});n=a,l.blocks=e}return{pass:l,additionalData:n}},eM=async e=>{let{pass:t}=e.dynamicParams;if(!t)return null;let{pass:l,additionalData:n}=await eE(t,e);if(!l||!l.data)return null;
1let a=(0,tu.j3)(l.data,e.lang,e.defaultLang);return a?{pass:l,passData:a,additionalData:n,gtm:(null==e?void 0:e.isPreview)?{}:{gtm:l.gtm,variables:{CONTENT_REFERENCE:()=>l.reference||"",CONTENT_TITLE:()=>(null==a?void 0:a.title)||"",CONTENT_CATEGORY:()=>"",APP_TEMPLATE:()=>"pass"}}}:null},eT=async e=>{let t={...e?{data:{slug:e}}:{},platform:{type:{_eq:r}}};return _(async()=>{var e,l;let n=await e4.request((0,c.m_8)("contents",{aggregate:{count:"*"},filter:t}));return(null==n?void 0:null===(e=n[0])||void 0===e?void 0:e.count)?parseInt(null==n?void 0:null===(l=n[0])||void 0===l?void 0:l.count):0},async(e,l)=>e4.request((0,c.dBv)("contents",{fields:["*",{parent:f(f(f(f()))),data:["*",{seo_image:["*",{data:["*"]}],blocks:["*"]}],platform:["id","type",{data:["*",{blocks_header:["*"],blocks_footer:["*"],favicon:["*",{data:["*"]}],seo_image:["*",{data:["*"]}]}]}],seo:x,gtm:m}],filter:t,offset:e,limit:l})),100,5)};u(async(e,t,l)=>{var n;let a=(null===(n=await e4.request((0,c.dBv)("contents",{fields:[{data:["slug","languages_code"],platform:["status",{data:["domain_local","domain_preproduction","domain_staging","domain_production","languages_code","seo_title","seo_description",{seo_image:["*",{data:["*"]}]}]}]}],filter:{data:{slug:e},platform:{type:{_eq:r}}}})).catch(e=>(console.error("[getPathResolution] error:",e),null)))||void 0===n?void 0:n[0])||null;return(0,k.lF)(null==a?void 0:a.data,t),(0,k.P2)(a,t,l),a}),u(async(e,t,l)=>{try{var n;let a=null===(n=await eT(e))||void 0===n?void 0:n[0];if(!a)return null;return(0,k.lF)(null==a?void 0:a.data,t),(0,k.P2)(a,t,l),a}catch(e){throw console.error("[getRoute] error:",e),e}});let eZ=u(async()=>e4.request((0,c.dBv)("spaces",{fields:["*",{seo:["no_index"],image:["*",{image_vertical:["*"]}],data:["*"]}]})));u(async()=>e4.request((0,c.dBv)("spaces",{fields:["*",{seo:["no_index"],data:["languages_code","slug"]}]})));let eR=u(async(e,t)=>{var l;let n=(null===(l=await e4.request((0,c.dBv)("spaces",{fields:["*",{image:["*",{image_vertical:["*"]}],data:["*",{blocks:["*"]}],themes:[{themes_id:["*",{data:["*"],background:["*"],experiences:[{experiences_id:h}],inserts:["*",{inserts_id:g}]}]}],seo:x,gtm:m,filter:["*",{data:["*"],facets:["*",{search_facets_id:["*",{data:["*"]}]}]}]}],filter:{data:{slug:e}}})))||void 0===l?void 0:l[0])||null;return(0,k.lF)(null==n?void 0:n.data,t),n}),eP=async(e,t,l)=>{let n=await eR(e,t.defaultLang),a={};if(null==n?void 0:n.data){let{blocks:e,additionalData:r}=await eb(n.data,t,l);a=r;let i=(0,tu.j3)(n.data,t.lang,t.defaultLang);i&&(i.blocks=e)}return{space:n,additionalData:a}},eF=async e=>{let{space:t}=e.dynamicParams;if(!t)return null;let l=await eR(t,e.defaultLang);if(!l)return null;let n=(0,tu.j3)(l.data,e.lang,e.defaultLang);return n?{spaceObject:l,spaceData:n}:null},eO=u(async(e,t,l)=>{var n;let a=(null===(n=await e4.request((0,c.dBv)("themes",{fields:["*",{image:["*",{image_vertical:["*"]}],background:["*"],data:["*",{blocks:["*"]}],experiences:[{experiences_id:h}],seo:x,gtm:m}],filter:{data:{slug:e},...l&&{experiences:{experiences_id:{space:{data:{slug:l}}}}}}})))||void 0===n?void 0:n[0])||null;return(0,k.lF)(null==a?void 0:a.data,t),a}),eI=async(e,t,l)=>{let{space:n}=t.dynamicParams,a=await eO(e,t.defaultLang,n),r={};if(null==a?void 0:a.data){let{blocks:e,additionalData:n}=await eb(a.data,t,l);r=n;let i=(0,tu.j3)(a.data,t.lang,t.defaultLang);i&&(i.blocks=e)}return{theme:a,additionalData:r}};u(async()=>e4.request((0,c.dBv)("themes",{fields:["id",{seo:["no_index"],data:["languages_code","slug"],spaces:["id",{spaces_id:["id",{data:["languages_code","slug"]}]}]}]})));let eD=async e=>{let{theme:t,space:l}=e.dynamicParams;if(!t)return null;let n=await eO(t,e.defaultLang,l);if(!n)return null;let a=(0,tu.j3)(n.data,e.lang,e.defaultLang);return a?{themeObject:n,themeData:a}:null};var ez=(0,i.$)("4945d68a1adedf204a353b2f53c21cbe24a71c4e"),eV=(0,i.$)("42c3930f81c5d76bdae474e9c9a878a2753035ff"),eH=(0,i.$)("9679ac79f73528138cf8f1103141192771e39164");u(async()=>{try{return e4.request((0,c.dBv)("sizes",{fields:["*",{data:["*"]}]}))}catch(e){return console.error("[resolver][sizes] Error:",e),[]}});
1var eB=(0,i.$)("d1d040e402234cea0f76bebec8ccf743b6237f16"),eU=(0,i.$)("393af26ea125fb9227a9735b9092a5f7a8dc911d");let eW=Number("0")>0,eq=e=>e.slice(0,100)+(e.length>100?" ...":""),eY=e=>new Promise(t=>setTimeout(t,e)),eG=e=>e>=200&&e<300,eJ=e=>e>=300&&e<400,e$=e=>e>=400&&e<500,eX=e=>e>=500&&e<600,eQ=e=>429===e||408===e,eK=e=>eG(e)?"✅":eJ(e)?"\uD83D\uDD00":e$(e)?"⚠️":"❌",e0=e=>"string"==typeof e?e:"object"==typeof e&&null!==e?null==e?void 0:e.message:eq(JSON.stringify(e)),e1=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return function(){for(var t=arguments.length,l=Array(t),n=0;n<t;n++)l[n]=arguments[n];let[,a]=l,[r,,...i]=l,s=decodeURIComponent(r.toString()),o=performance.now(),c=3;e&&(null==a?void 0:a.headers)&&(a.headers.Authorization="Bearer ".concat("k_YuNxais0ztPx7f5AdHhBrOIU74O-yp")),a={...a||{},cache:"no-cache"},eW&&console.log("[req \uD83D\uDCAC]",eq(s),"(url length: ".concat(s.length,")"));let d=()=>fetch(r,a,...i).then(e=>{if(eW){var t;let l=performance.now();t=Number(e.headers.get("Content-Length"))||"unknown",console.log("[res ".concat(eK(e.status),"]"),eq(s),"|","status: ".concat(e.status," ").concat(e.statusText," (body length: ").concat(t,")"),"|","time: ".concat(Number(l-o).toFixed(2),"ms"))}if(eX(e.status)||eQ(e.status))throw e;return e});return(async()=>{for(;c>0;)try{return await d()}catch(e){if(eW&&console.error("[fetch] Error:",e0(e),"Retrying... Remaining retries ",c),c-=1,await eY((3-c)*500),c<=0)throw e}throw Error("Max attempts reached")})()}},e2=e1(),e4=(0,c.$q8)("https://api.futuroscope.com",{globals:{fetch:e2}}).with((0,c.RFO)());var e5=l(22912),e3=l(3429),e6=l(75548);l(99825);var e9=l(83678),e8=l(17465),e7=l(18373);l(62822);var te=l(44228),tt=l(73715),tl=l(98386),tn=l(35140),ta=l(29696),tr=l(87730),ti=l(35361);let ts=e=>{var t;return e&&"object"==typeof e&&(null==e?void 0:e.anchor)&&"object"==typeof e.anchor&&Array.isArray(null===(t=e.anchor)||void 0===t?void 0:t.data)&&e.anchor.data.some(e=>e&&void 0!==e.title&&void 0!==e.uid&&e.languages_code)},to=(e,t)=>{let{lang:l,defaultLang:n}=t;return e.map(e=>{if(ts(e.item)){let t=(0,tu.j3)(e.item.anchor.data,l,n);return(null==t?void 0:t.title)&&(null==t?void 0:t.uid)?{title:t.title,url:"#".concat(t.uid)}:null}return null}).filter(k.k1)},tc=(e,t)=>{let{lang:l,defaultLang:n}=t;if(ts(e)){let t=(0,tu.j3)(e.anchor.data,l,n);return(null==t?void 0:t.uid)?t.uid:void 0}},td=e=>({items:e});var tu=l(32877),tm=l(9120);let tf=async function(e,t,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ferm\xe9",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ouvert";if(!e)return"";let r=e.map(e=>{let n=(0,k.t2)(e.space),a=(0,tu.j3)(null==n?void 0:n.data,t,l),r=(0,k.jN)(e.calendar_periods,new Date),i=(0,tu.j3)(e.data,t,l);return r.length?{spaceId:null==n?void 0:n.id,space:(null==a?void 0:a.title)||(null==n?void 0:n.reference)||"",openTime:(0,k.VW)(e.open||""),closeTime:(0,k.VW)(e.close||""),closed:e.closed||!1,info:(null==i?void 0:i.info)||""}:null}).filter(k.k1),i="";return r.forEach(e=>{i+="".concat(e.space,": ").concat(e.closed?"<span>".concat(e.info||n,"</span><br/>"):(null==e?void 0:e.openTime)&&e.closeTime?'<span style="color:green">'.concat(e.openTime," - ").concat(e.closeTime,"</span><br/>"):'<span style="color:green">'.concat(e.info||a,"</span><br/>"))}),i},tx=(e,t)=>({open:(0,tu.hR)(e,"open",t.lang,t.defaultLang,"ouvert").toLowerCase(),closed:(0,tu.hR)(e,"close",t.lang,t.defaultLang,"ferm\xe9").toLowerCase()}),tp=(e,t)=>e.map(e=>{var l;if(!e)return null;let n=(0,tu.j3)(e.data,t.lang,t.defaultLang),a=e.calendar_periods,r=(0,k.t2)(e.space),i=(0,tu.j3)(null==r?void 0:r.data,t.lang,t.defaultLang),s=(0,k.t2)(null===(l=e.experience)||void 0===l?void 0:l.space);return{type:e.type,title:(null==n?void 0:n.title)||"",info:(null==n?void 0:n.info)||"",descriptionLabel:(null==n?void 0:n.description_label)||"",description:(null==n?void 0:n.description)||"",periods:a.map(e=>({from:e.start||"",to:e.end||""})),ctas:e.links.map(e=>(0,tm.Wg)((0,k.t2)(e.links_id),t)).filter(k.k1),detailsSchedule:"schedule"===e.type?{closed:e.closed||!1,hours:{from:e.open||"",to:e.close||""},space:(null==r?void 0:r.reference)||"",spaceName:(null==i?void 0:i.title)||""}:void 0,detailsShow:"show"===e.type?{space:(null==s?void 0:s.reference)||""}:void 0}}).filter(k.k1),th=e=>!!(0,k.t2)(e),tv=(e,t,l)=>{if(!e)return"";let n=(0,tm.E1)(e.data,t,l);return[(null==n?void 0:n.title)||(null==e?void 0:e.title)||"",(null==n?void 0:n.description)||(null==e?void 0:e.description)||""].filter(
1Boolean).join(" ")},tg=e=>th(e)?e:void 0,tb=e=>"".concat("https://api.futuroscope.com","/assets/").concat(e.filename_disk),tj=e=>"".concat("https://api.futuroscope.com","/assets/").concat(e),tw=(e,t,l)=>({src:tb(e),alt:tv(e,t,l),width:e.width||500,height:e.height||500,...null!==e.focal_point_x&&null!==e.focal_point_y&&{focalPoint:{x:e.focal_point_x,y:e.focal_point_y}}}),ty=(e,t,l)=>{var n;return th(e)&&(null===(n=e.type)||void 0===n?void 0:n.startsWith("image/"))?tw(e,t,l):void 0},tN=(e,t,l)=>ty(e,t,l)||tk(),t_=(e,t,l)=>{let n=tg(e),a=tg(null==n?void 0:n.image_vertical);return{src:n?tb(n):k.jM,width:(null==n?void 0:n.width)||0,height:(null==n?void 0:n.height)||0,srcMobile:a?tb(a):void 0,widthMobile:(null==a?void 0:a.width)||0,heightMobile:(null==a?void 0:a.height)||0,alt:tv(n,t,l)}},tk=()=>({src:k.jM,alt:""}),tC=e=>{var t;let l=(0,k.t2)(e);return l?(null===(t=l.type)||void 0===t?void 0:t.startsWith("video/"))&&tE(l)||l.external_url:null},tA=e=>{var t;let l=tC(e);return l?{src:l,title:(null===(t=(0,k.t2)(e))||void 0===t?void 0:t.title)||""}:void 0},tS=e=>{if(!th(e))return null;let t=new URL(tb(e));return t.searchParams.set("download","1"),t.toString()},tL=e=>th(e)?e.filename_download:null,tE=e=>tb(e),tM=(e,t,l)=>{var n;let a=tC(e),r=(null===(n=ty(e,t,l))||void 0===n?void 0:n.src)||k.jM;return a?{src:a,poster:r}:void 0},tT=(e,t)=>{var l,n,a;return(null===(a=e||[])||void 0===a?void 0:null===(n=a.find(e=>t===(null==e?void 0:e.languages_code)))||void 0===n?void 0:null===(l=n.prices)||void 0===l?void 0:l.map(tZ))||[]},tZ=e=>{var t;return{textBefore:e.text_before||"",price:null!==(t=e.price)&&void 0!==t?t:void 0,textAfter:e.text_after||"",offerType:e.promo_type||"price",promo:e.promo||void 0}},tR=(e,t)=>{var l,n;return(0,tm.pK)((0,k.t2)(null===(n=e.links)||void 0===n?void 0:null===(l=n.find(e=>(0,tm.X4)(e.links_id,"reservation_popin")))||void 0===l?void 0:l.links_id),t,{position:"product",activityUid:"offer"})||void 0},tP=(e,t)=>{var l,n;return(null==e?void 0:null===(n=e.options)||void 0===n?void 0:null===(l=n.map(e=>{let l=(0,k.t2)(e.options_id),n=(0,tu.j3)(null==l?void 0:l.data,t.lang,t.defaultLang);return l&&n?{icon:ty(l.picto,t.lang,t.defaultLang),name:(null==n?void 0:n.name)||""}:null}))||void 0===l?void 0:l.filter(k.k1))||void 0},tF=(e,t)=>{let{lang:l,defaultLang:n}=t,a=(0,tu.j3)(e.data,l,n),r=e.tags.map(e=>{var t;return(0,tu.j3)(null===(t=(0,k.t2)(e.tags_id))||void 0===t?void 0:t.data,l,n)}),i=(0,tu.j3)(e.data_price,l,n);if(a&&i)return{prices:tT(e.data_price,l),title:i.offer_content_label||"Ce que comprend l'offre",tags:r.map(e=>(null==e?void 0:e.name)||"")||[],featuresList:tP(e,t),cta:(0,tm.pK)(e.push_link,t,{position:"product",activityUid:"offer"})||void 0}},tO=(e,t,l)=>{var n,a;let{lang:r,defaultLang:i}=t,o=(0,tu.j3)(e.data,r,i),c=e.tags.map(e=>{var t;return(0,tu.j3)(null===(t=(0,k.t2)(e.tags_id))||void 0===t?void 0:t.data,r,i)}
1),d=(0,tu.j3)(e.data_date,r,i),u=tT(e.data_price,r),m=tR(e,t);return{header:{image:t_(e.image,r,i),title:(null==o?void 0:o.title)||"",surtitle:(null==o?void 0:o.surtitle)||"",breadcrumbConf:td(t.breadcrumb),tags:c.map(e=>(null==e?void 0:e.name)||""),ctas:null===(a=e.links)||void 0===a?void 0:null===(n=a.map(l=>(0,tm.Wg)((0,k.t2)(l.links_id),t,{video:tA(e.video),position:"header",activityUid:"offer"})))||void 0===n?void 0:n.filter(k.k1),priceData:null==u?void 0:u[0],text:((null==d?void 0:d.label)?e.date_start||e.date_end:e.date_start&&e.date_end)?(0,k.zM)(e.date_start,e.date_end,r,(null==d?void 0:d.label)||void 0):void 0},dynamicContent:(0,s.lF)(e.blocks,t,l),anchorNavigation:{button:m,items:to(e.blocks,t),title:(null==o?void 0:o.title)||"",contentAbove:t.globalAlerts}}},tI=(e,t)=>{let l=(0,tu.j3)(e.data,t.lang,t.defaultLang);return{type:"Offer",title:(null==l?void 0:l.title)||"",picture:t_(e.image,t.lang,t.defaultLang),description:(null==l?void 0:l.description_short)||"",prices:tT(e.data_price,t.lang).filter((e,t)=>0===t),links:[...e.links.filter(e=>(0,tm.X4)(e.links_id,"reservation_popin")).map(e=>(0,tm.pK)(e.links_id,t,{position:"product",activityUid:"pass"})),...e.links.filter(e=>(0,tm.X4)(e.links_id,"current_pass")).map(e=>(0,tm.pK)(e.links_id,t,{pass:l,position:"product",activityUid:"pass"}))].filter(k.k1)}},tD=(e,t,l)=>{var n,a;let{lang:r,defaultLang:i}=t,o=(0,tu.j3)(e.data,r,i);e.tags.map(e=>{var t;return(0,tu.j3)(null===(t=(0,k.t2)(e.tags_id))||void 0===t?void 0:t.data,r,i)});let c=tT(e.data_price,r);return e.links,{header:{image:t_(e.image,r,i),title:(null==o?void 0:o.title)||"",surtitle:(null==o?void 0:o.surtitle)||"",breadcrumbConf:td(t.breadcrumb),ctas:null===(a=e.links)||void 0===a?void 0:null===(n=a.map(l=>(0,tm.Wg)((0,k.t2)(l.links_id),t,{video:tA(e.video),position:"header"})))||void 0===n?void 0:n.filter(k.k1),priceData:null==c?void 0:c[0]},dynamicContent:(0,s.lF)(e.blocks,t,l)}},tz=(e,t)=>{let{lang:l,defaultLang:n}=t,a=(0,tu.j3)(e.data,l,n),r=e.tags.map(e=>{var t;return(0,tu.j3)(null===(t=(0,k.t2)(e.tags_id))||void 0===t?void 0:t.data,l,n)}),i=(0,tu.j3)(e.data_price,l,n);if(a&&i)return{prices:tT(e.data_price,l),title:a.title||"",tags:r.map(e=>(null==e?void 0:e.name)||"")||[],description:a.description_short||"",featuresList:tP(e,t),cta:(0,tm.pK)(e.push_link,t,{position:"product",activityUid:"pass"})||void 0}},tV=(e,t)=>({spaces:e.map(e=>{let l=(0,tu.j3)((0,k.Vr)(e.data,t.defaultLang),t.lang,t.defaultLang);return{image:{src:tN(e.image,t.lang,t.defaultLang).src,width:350},title:(null==l?void 0:l.title)||"",name:(null==l?void 0:l.title)||"",slug:(null==l?void 0:l.slug)||"",url:(null==l?void 0:l.slug)?(0,tm.uU)(l,"",t).href:"#"}})});var tH=l(47145);let tB=(e,t,l)=>{var n,a;let r=(0,k.hC)(e.experiences.map(e=>(0,k.t2)(e.experiences_id)||null).filter(k.k1),(null===(a=e.inserts)||void 0===a?void 0:null===(n=a.map(e=>(0,k.t2)(e.inserts_id)||null))||void 0===n?void 0:n.filter(k.k1))||[]);if(0===r.length)return null;let{lang:i,defaultLang:s}=t,o=(0,k.Vr)(e.data,s),c=(0,tu.j3)((0,k.Vr)(o,s),i,s),[d,u]=(0,tu.QT)(i,s,o,(0,k.Vr)(null==l?void 0:l.data,s));return{carousel:{title:(null==c?void 0:c.title)||"",link:(null==d?void 0:d.slug)?(0,tm.gU)(d,"",t,u):void 0,background:!!e.background,imageBackground:ty(e.background,i,s),size:"auto"},items:r.map(l=>{if(null==l?void 0:l.data)return(0,tH.pp)(l,t,e.cards_type);{let e=(0,k.t2)(l.feature);return{type:"Featured",featuredImage:{src:tN(null==e?void 0:e.background,i,s).src},link:(0,tm.pK)(null==e?void 0:e.link,t)||void 0}}})}},tU=(e,t)=>{let{lang:l,defaultLang:n}=t,a=(0,tu.j3)((0,k.Vr)(e.data,n),l,n),r=e.tags.map(e=>{var t;return(0,tu.j3)(null===(t=(0,k.t2)(e.tags_id))||void 0===t?void 0:t.data,l,n)}),i=(0,tu.j3)(e.data_price,l,n),s=(0,tu.j3)(e.data_date,l,n);return{surTitle:(null==a?void 0:a.surtitle)||void 0,picture:t_(e.image,l,n),codePromo:(null==i?void 0:i.promocode)?"Code: ".concat(i.promocode):void 0,title:(null==a?void 0:a.title)||"",tags:r.map(e=>(null==e?void 0:e.name)||""),featuresList:tP(e,t),prices:tT(e.data_price,l).filter((e,t)=>0===t),period:((null==s?void 0:s.label)?e.date_start||e.date_end:e.date_start&&e.date_end)?(0,k.zM)(e.date_start,e.date_end,l,(null==s?void 0:s.label)||void 0):void 0,links:[...e.links.filter(e=>(0,tm.X4)(e.links_id,["reservation_popin","internal","external"])).map(l=>(0,tm.pK)(l.links_id,t,{position:"product",activityUid:t1(null,e)})),...e.links.filter(e=>(0,tm.X4)(e.links_id,["current_offer","current_pass"])).map(l=>(0,tm.pK)(l.links_id,t,{offer:a,pass:a,position:"product",activityUid:t1(null,e)}))].filter(k.k1)}},tW=(e,t)=>{let l=(0,tu.j3)(e.data,t.lang,t.defaultLang);return{featuredImage:tN(null==e?void 0:e.background,t.lang,t.defaultLang),link:(0,tm.pK)(e.link,t)||void 0,title:(null==l?void 0:l.title)||""}},tq=(e,t)=>
1{let l=(0,tu.j3)(e.data,t.lang,t.defaultLang);return{backgroundImage:tN(null==e?void 0:e.background,t.lang,t.defaultLang),link:(0,tm.pK)(e.link,t)||{title:"",href:"#link-is-missing-".concat(t.lang)},title:(null==l?void 0:l.title)||"",subtitle:(null==l?void 0:l.subtitle)||""}},tY=(e,t)=>{let l=(0,tu.j3)(e.data,t.lang,t.defaultLang);return{icon:ty(e.picto,t.lang,t.defaultLang),title:(null==l?void 0:l.title)||"",description:(null==l?void 0:l.description)||"",info:(null==l?void 0:l.informations)||"",image:ty(e.image,t.lang,t.defaultLang),link:(0,tm.pK)(e.link,t)||void 0}},tG=(e,t)=>{var l,n;let a=(0,tu.j3)(e.data,t.lang,t.defaultLang),r=null==a?void 0:a.prices;return{ctas:null===(n=e.links)||void 0===n?void 0:null===(l=n.map(e=>(0,tm.Wg)((0,k.t2)(e.links_id),t,{attachment:null==a?void 0:a.menu,attachmentMobile:null==a?void 0:a.menu_mobile})))||void 0===l?void 0:l.filter(k.k1),title:(null==a?void 0:a.title)||"",description:(null==a?void 0:a.description)||"",prices:(null==r?void 0:r.map(e=>({price:e.price||void 0,promo:e.promo||void 0,textBefore:e.before||"",textAfter:e.after||"",offerType:"price"})))||void 0}},tJ=(e,t)=>{let l=(0,tu.j3)((0,k.Vr)(e.data,t.defaultLang),t.lang,t.defaultLang);return{title:(null==l?void 0:l.title)||"",subtitle:(null==l?void 0:l.subt
1itle)||"",link:l&&(0,tm.uU)(l,(null==l?void 0:l.title)||"",t)||(0,tm.gZ)(),backgroundImage:tN(e.image,t.lang,t.defaultLang)}},t$=e=>void 0!==e.position&&void 0!==e.feature,tX=(e,t,l)=>{if(t$(e))return{type:"Featured",...tW(e.feature,t)};let n=(0,k.t2)(e.item);if(!e.collection||!n)return null;switch(e.collection){case"experiences":return(0,tH.pp)(n,t,l);case"features":return{type:(()=>{switch(n.type){case"card3D_space":return"SecondaryExperience";case"content":return"Content";default:return"Featured"}})(),...(()=>{switch(n.type){case"card3D_space":return tq(n,t);case"content":return tY(n,t);default:return tW(n,t)}})()};case"formulas":return{type:"Formula",...tG(n,t)};case"spaces":return{type:"SecondaryExperience",...tJ(n,t)};case"passes":case"offers":return{type:"Offer",...tU(n,t)};default:return null}},tQ=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0;if(n){var i,s,o;let e=null===(i=(0,k.t2)(n.activity))||void 0===i?void 0:i.uid;return"experience_hotel_rooms"===a&&"hotel"===e?(0,tH.iq)(n,t):"experience_formulas"===a&&("restaurant"===e||"bar"===e)?((null===(o=n.formulas)||void 0===o?void 0:null===(s=o.map(e=>(0,k.t2)(null==e?void 0:e.formulas_id)||null))||void 0===s?void 0:s.filter(k.k1))||[]).map(e=>({type:"Formula",...tG(e,t)})):[]}return(0,k.hC)(e,l.map(e=>(0,k.t2)(e.inserts_id)||null).filter(k.k1)).map(e=>tX(e,t,r)).filter(k.k1)},tK=(e,t,l,n)=>{let a=(0,tu.j3)(e.data,t.lang,t.defaultLang),r=l?{...t,linkPosition:"product",linkActivityUid:t1(l)}:t;return{carousel:{surtitle:(null==a?void 0:a.surtitle)||void 0,title:(null==a?void 0:a.title)||void 0,background:!!e.image_background,showMask:!!e.background_mask,imageBackground:ty(e.image_background,r.lang,r.defaultLang),arrowsPosition:e.arrows?"bottom"===e.arrows?"bottom":"sides":void 0,description:(null==a?void 0:a.description)||void 0,label:(null==a?void 0:a.label)||void 0,link:(0,tm.pK)(e.link,r)||void 0,size:"auto",anchor:tc(e,r)},items:tQ(e.items,r,e.inserts,l,n,e.cards_type)}},t0=(e,t,l,a,r)=>{var i,s;let o=(0,tu.j3)(null==e?void 0:e.data,l,a),c=n(ty((null==e?void 0:e.image)||(null==r?void 0:r.image),l,a)),d=(null==o?void 0:o.title)||(null==r?void 0:r.title)||t.title,u=(0,k.Vt)((null==o?void 0:o.description)||(null==r?void 0:r.description)||t.description||"");return{...t,title:d,description:u,twitter:{...t.twitter,images:c||(null===(i=t.twitter)||void 0===i?void 0:i.images),title:d,description:u},openGraph:{...t.openGraph,images:c||(null===(s=t.openGraph)||void 0===s?void 0:s.images),title:d,description:u},robots:{index:!(null==e?void 0:e.no_index)}}},t1=(e,t,l)=>{var n,a;return(null===(n=(0,k.t2)(null===(a=(0,k.t2)(e))||void 0===a?void 0:a.activity))||void 0===n?void 0:n.uid)||(t?"offer":l?"pass":void 0)},t2=e=>e.replace(/href="file:([-.\w\d]+)"/g,'href="'.concat(tj("$1"),'?download=1" download '));var t4=l(32608);t4.env.IRESA_SCRIPT_HOST_FR,t4.env.IRESA_SCRIPT_HOST_EN,t4.env.IRESA_SCRIPT_HOST_EN,t4.env.IRESA_SCRIPT_HOST_ES;let t5=null,t3=[],t6=()=>{if(t5=t5||document.getElementById("flagwidget"),t3.pop(),t3.length)t5&&t3[t3.length-1].appendChild(t5);else{let e=document.getElementById("iresa-dock");e||((e=document.createElement("div")).id="iresa-dock",e.style.display="none",document.body.appendChild(e)),t5&&e.appendChild(t5)}},t9=e=>{(t5=t5||document.getElementById("flagwidget"))&&(e.appendChild(t5),t3.push(e))};var t8=l(87474);let t7=e=>{if(null!==e&&"object"==typeof e){for(let t of[e.status,e.statusCode,e.httpStatus]){if("number"==typeof t&&Number.isFinite(t))return t;if("string"==typeof t&&/^\d{3}$/.test(t))return Number.parseInt(t,10)}if("object"==typeof e.response&&null!==e.response){var t;let l=e.response,n=null!==(t=l.status)&&void 0!==t?t:l.statusCode;if("number"==typeof n&&Number.isFinite(n))return n;if("string"==typeof n&&/^\d{3}$/.test(n))return Number.parseInt(n,10)}}},le=e=>404===t7(e);(0,i.$)("fe2b0867f76f7480280f4dc4691d63c1ce867040"),(0,i.$)("3a891167131c687dbb6a53ffad1cd0f5aeac0a02");let lt=e=>{if(null===e||"object"!=typeof e)return null;let t=(null==e?void 0:e.errorUserMsg)||(null==e?void 0:e.error_user_msg)||(null==e?void 0:e.error_description);return"string"==typeof t?t:null},ll=2,ln=e=>{let t=lt(e);if(!t)return!1;let l=t.trim().toLowerCase();return l.includes("password too weak")||l.includes("password is too weak")||l.includes("mot de passe trop faible")||l.includes("mot de passe est trop faible")||l.includes("contrase\xf1a")&&(l.includes("d\xe9bil")||l.includes("debil"))},la={fr:"Votre mot de passe est trop faible. Merci de changer votre mot de passe pour une version plus robuste.",en:"Your password is too weak. Please change your password to a stronger one.",es:"Tu contrase\xf1a es demasiado d\xe9bil. Por favor, c\xe1mbiala por una m\xe1s segura."},lr={fr:"Votre mot de passe doit \xeatre compos\xe9 de 8 caract\xe8res, avec au moins une majuscule, une minuscule, un chiffre et un caract\xe8re sp\xe9cial.",en:"Your password must be 8 characters long, with at least one uppercase letter, one lowercase letter, one number and one special character.",es:"Su contrase\xf1a debe tener 8 caracteres, con al menos una may\xfascula, una min\xfascula, un n\xfamero y un car\xe1cter especial."},li=e=>{var t,l;return null!==(l=lr[(null===(t=e.split(/[-_]/)[0])||void 0===t?void 0:t.toLowerCase())||"en"])&&void 0!==l?l:lr.en},ls=e=>{var t;return(null===(t=e.explicitOverride)||void 0===t?void 0:t.trim())||li(e.langCode)},lo=e=>{var t,l;return null!==(l=la[(null===(t=e.split(/[-_]/)[0])||void 0===t?void 0:t.toLowerCase())||"en"])&&void 0!==l?l:la.en},lc=e=>{var t,l;let n=null===(t=e.fieldErrorWeak)||void 0===t?void 0:t.trim();return n?n:(null===(l=e.explicitOverride)||void 0===l?void 0:l.trim())||lo(e.langCode)},ld=(e,t)=>ln(e)?t:lt(e),lu={fr:'Votre compte est temporairement bloqu\xe9 apr\xe8s plusieurs tentatives infructueuses. R\xe9essayez dans quelques minutes ou r\xe9initialisez votre mot de passe en cliquant sur "mot de passe oubli\xe9".',en:'Your account is temporarily locked after several unsuccessful attempts. Please try again in a few minutes or reset your password by clicking on "forgotten password."',es:'Tu cuenta est\xe1 temporalmente bloqueada tras varios intentos fallidos. Vuelve a intentarlo en unos minutos o restablece tu contrase\xf1a haciendo clic en "Contrase\xf1a olvidada."'},lm=e=>{var t,l;return null!==(l=lu[(null===(t=e.split(/[-_]/)[0])||void 0===t?void 0:t.toLowerCase())||"en"])&&void 0!==l?l:lu.en},lf=e=>{var t;return(null===(t=e.explicitOverride)||void 0===t?void 0:t.trim())||lm(e.langCode)},lx="error.accountBlockedAfterMultipleLoginAttempts",lp=e=>{if(null===e||"object"!=typeof e)return!1;if(("string"==typeof e.error_message_key&&e.error_message_key||"string"==typeof e.errorMessageKey&&e.errorMessageKey||"")===lx)return!0;let t=e.data;return!!t&&"object"==typeof t&&("string"==typeof t.error_message_key&&t.error_message_key||"string"==typeof t.errorMessageKey&&t.errorMessageKey||"")===lx},lh={fr:"Vous avez effectu\xe9 trop de tentatives. R\xe9essayez dans quelques minutes.",en:"You have made too many attempts. Please try again in a few minutes.",es:"Ha realizado demasiados intentos. Vuelva a intentarlo en unos minutos."},lv=e=>{var t,l;return null!==(l=lh[(null===(t=e.split(/[-_]/)[0])||void 0===t?void 0:t.toLowerCase())||"en"])&&void 0!==l?l:lh.en},lg=e=>{var t;return(null===(t=e.explicitOverride)||void 0===t?void 0:t.trim())||lv(e.langCode)},lb="error.tooManyAttempts",lj=e=>{if(null===e||"object"!=typeof e)return!1;if(("string"==typeof e.error_message_key&&e.error_message_key||"string"==typeof e.errorMessageKey&&e.errorMessageKey||"")===lb)return!0;let t=e.data;return!!t&&"object"==typeof t&&("string"==typeof t.error_message_key&&t.error_message_key||"string"==typeof t.errorMessageKey&&t.errorMessageKey||"")===lb},lw={fr:'Votre compte a \xe9t\xe9 d\xe9sactiv\xe9 pour des raisons de s\xe9curit\xe9. Veuillez r\xe9initialiser votre mot de passe en cliquant sur "Mot de passe oubli\xe9".',en:'Your account has been deactivated for security reasons. Please reset your password by clicking on "Forgotten password."',es:'Tu cuenta ha sido desactivada por motivos de seguridad. Vuelve a poner tu contrase\xf1a haciendo clic en "Contrase\xf1a olvidada."'},ly=e=>{var t,l;return null!==(l=lw[(null===(t=e.split(/[-_]/)[0])||void 0===t?void 0:t.toLowerCase())||"en"])&&void 0!==l?l:lw.en},lN=e=>{var t;return(null===(t=e.explicitOverride)||void 0===t?void 0:t.trim())||ly(e.langCode)},l_=new Set(["error.account.permanentlySuspended","error.account.temporarilySuspended"]),lk=e=>{if(null===e||"object"!=typeof e)return!1;let t="string"==typeof e.error_message_key&&e.error_message_key||"string"==typeof e.errorMessageKey&&e.errorMessageKey||"";if(l_.has(t))return!0;let l=e.data;if(l&&"object"==typeof l){let e="string"==typeof l.error_message_key&&l.error_message_key||"string"==typeof l.errorMessageKey&&l.errorMessageKey||"";if(l_.has(e))return!0}return!1};l(71599),l(32608),e1(!1),(0,i.$)("76d89aa6a7ba036798b7457b56ed2c30dcb1e758"),(0,i.$)("a7452734e9a9d09d2e00392d989298f245bd50dc"),(0,i.$)("6abb9e8b8cc2f425838f5900b9a951785dfdc005");var lC=(0,i.$)("e220b8dc03a030b3eec22b4f9552928631f013d8")},47145:function(e,t,l){"use strict";l.d(t,{C1:function(){return p},My:function(){return o},QZ:function(){return x},iq:function(){return c},mc:function(){return d},n4:function(){return h},pp:function(){return f},w3:function(){return v}});var n=l(9145),a=l(41706),r=l(9120),i=l(32877);let s=(e,t)=>{var l,a,r,s;let{expData:o,activiteUid:c}=d(e,t.lang,t.defaultLang);if("event"===c){let l=(0,i.j3)(e.data_event,t.lang,t.defaultLang);if(null==l?void 0:l.label){if(e.date_start&&e.date_end)return(0,n.zMp)(e.date_start,e.date_end,t.lang,l.label);if(e.date_start)return(0,n.mnp)(e.date_start,t.lang)}console.error("[map-experience] Misconfigured date for event",null==o?void 0:o.title)}if("attraction"===c){let l=e.size,a=(0,i.j3)(null==l?void 0:l.data,t.lang,t.defaultLang);if(l&&!l.min&&!l.max&&!l.min_solo&&(null==a?void 0:a.label_no_limitation))return"".concat(null==a?void 0:a.label_no_limitation);if(l&&a&&l.min&&l.min_value)return"".concat(a.label_min," : ").concat((0,n.FdU)(l.min_value));console.error("[map-experience] Misconfigured data for attraction",null==o?void 0:o.title," one of: size, sizeData, size.min_value is missing")}if("hotel"===c){let n=(0,i.j3)(null===(l=e.push)||void 0===l?void 0:l.data,t.lang,t.defaultLang);if(n)return"".concat(n.title," ").concat(n.price_text_before?"".concat(n.price_text_before).toLowerCase():""," ").concat(n.price?"".concat(n.price,"€"):"").concat(n.price_text_after);console.error("[map-experience] Misconfigured push offer for hotel",null==o?void 0:o.title)}if("restaurant"===c){let l=(0,i.j3)(null===(s=e.tags)||void 0===s?void 0:null===(r=s[0])||void 0===r?void 0:null===(a=r.tags_id)||void 0===a?void 0:a.data,t.lang,t.defaultLang);if(l)return l.name||"";console.error("[map-experience] Misconfigured tag for restaurant",null==o?void 0:o.title)}return""},o=(e,t)=>{let{expData:l,spaceData:o,activiteUid:c,activiteData:u,expFullDatum:m,spaceFullDatum:f}=d(e,t.lang,t.defaultLang),[x,p]=(0,i.QT)(t.lang,t.defaultLang,m,f);return{link:(null==x?void 0:x.slug)&&(null==p?void 0:p.slug)?(0,n.$oo)(x,p,"",t):(0,r.gZ)("#add-missing-translation-for-".concat(t.lang)),title:(null==l?void 0:l.title)||"",backgroundImage:(0,a.s4)(e,t.lang,t.defaultLang),tag:("event"===c?null==u?void 0:u.title:null)||(null==o?void 0:o.title)||void 0,starsCount:e.stars||void 0,isFeatured:"double"===e.style_card,subtitle:s(e,t)}},c=(e,t)=>e.rooms.map(e=>e.rooms_id&&"object"==typeof e.rooms_id?e.rooms_id:null).filter(n.k11).map(l
1=>{var a,s;let o=(0,i.j3)(l.data,t.lang,t.defaultLang);return{type:"Rooms",title:(null==o?void 0:o.title)||"",subtitle:(null==o?void 0:o.subtitle)||"",backgroundImage:(0,n.bwA)(null==l?void 0:l.image,t.lang,t.defaultLang),links:null===(s=l.links)||void 0===s?void 0:null===(a=s.map(l=>(0,r.pK)(l.links_id,t,{position:"product",activityUid:(0,n.S6v)(e)})))||void 0===a?void 0:a.filter(n.k11),roomInfo:{title:(null==o?void 0:o.title)||"",subtitle:(null==o?void 0:o.subtitle)||"",description:(null==o?void 0:o.description)||"",media:[{type:"image",media:(0,n.bwA)(null==l?void 0:l.image,t.lang,t.defaultLang)}],subtext:(null==o?void 0:o.details)||"",features:l.infos.map(e=>(0,n.t2Y)(e.infos_id)||null).filter(n.k11).map(e=>{let l=(0,i.j3)(e.data,t.lang,t.defaultLang);return{name:(null==l?void 0:l.message)||"",icon:(0,n.z7X)(e.picto,t.lang,t.defaultLang)}})}}}),d=(e,t,l)=>{let a=(0,n.Vrr)(e.data,l),r=(0,i.j3)(a,t,l),s=(0,n.t2Y)(e.space),o=(0,n.Vrr)(null==s?void 0:s.data,l),c=(0,i.j3)(o,t,l),d=(0,n.t2Y)(e.activity),u=(0,i.j3)(null==d?void 0:d.data,t,l),m=null==d?void 0:d.uid;return{expData:r,expFullDatum:a,space:s,spaceFullDatum:o,spaceData:c,activite:d,activiteData:u,activiteUid:m}},u=(e,t,l)=>({...o(e,t),isFeatured:l||"double"===e.style_card,type:"PrimaryExperience"}),m=(e,t)=>({...o(e,t),characterImage:(0,a.xh)(e,t.lang,t.defaultLang,"mascot"),type:"Character"}),f=(e,t,l)=>{var a;let r=null===(a=(0,n.t2Y)(e.activity))||void 0===a?void 0:a.uid;return"card3D"===l||"auto"===l&&"meet"===r?m(e,t):u(e,t,"card_double"===l)},x=(e,t)=>{var l,s;let o=(0,i.j3)(e.data,t.lang,t.defaultLang);return{type:"Content",title:(null==o?void 0:o.title)||"",description:(null==o?void 0:o.description_short)||"",image:(0,a.xh)(e,t.lang,t.defaultLang,"image"),link:(0,r.pK)(null==e?void 0:null===(s=e.links)||void 0===s?void 0:null===(l=s[0])||void 0===l?void 0:l.links_id,t,{position:"product",activityUid:(0,n.S6v)(e)})||void 0}},p=(e,t,l)=>{var a;let{activiteUid:r,spaceData:s,activiteData:o}=d(e,t,l),c=[];return(null==s?void 0:s.title)&&c.push(s.title),"event"===r&&(null==o?void 0:o.title)&&
1c.push(o.title),null===(a=e.tags)||void 0===a||a.forEach(e=>{let a=(0,n.t2Y)(e.tags_id);if(!a)return!0;let r=(0,i.j3)(a.data,t,l);(null==r?void 0:r.name)&&c.push(r.name)}),c},h=(e,t,l)=>{let{activiteUid:a,expData:r}=d(e,t,l);if("attraction"===a){let a=e.size,s=(0,i.j3)(null==a?void 0:a.data,t,l);if(a&&s){if(!a.min&&!a.max&&!a.min_solo&&s.label_no_limitation)return"".concat(null==s?void 0:s.label_no_limitation);let e=[];return a.min&&a.min_value&&e.push("".concat(s.label_min," : ").concat((0,n.FdU)(a.min_value))),a.max&&a.max_value&&e.push("".concat(s.label_max," : ").concat((0,n.FdU)(a.max_value))),e.length?e.join(" — "):""}console.error("[map-experience] Misconfigured data for attraction",null==r?void 0:r.title," one of: size, sizeData, size.min_value is missing")}if("hotel"===a){let n=(0,i.j3)(e.data_hotel,t,l);if(null==n?void 0:n.access_infos)return n.access_infos;console.error("[map-experience] Missing access_infos for hotel",null==r?void 0:r.title)}if("event"===a){let a=(0,i.j3)(e.data_event,t,l);if(null==a?void 0:a.label){if(e.date_start&&e.date_end)return(0,n.zMp)(e.date_start,e.date_end,t,a.label);if(e.date_start)return(0,n.mnp)(e.date_start,t)}console.error("[map-experience] Misconfigured date for event",null==r?void 0:r.title)}return""},v=(e,t)=>{var l;return(0,r.pK)(null===(l=e.links.find(e=>(0,r.X4)(e.links_id,"reservation_popin")))||void 0===l?void 0:l.links_id,t,{position:"product",activityUid:(0,n.S6v)(e)})||void 0}},9120:function(e,t,l){"use strict";l.d(t,{$o:function(){return d},E1:function(){return r},Wg:function(){return s},X4:function(){return p},gU:function(){return x},gZ:function(){return h},nc:function(){return o},pK:function(){return i},uU:function(){return u}});var n=l(9145);let a=(e,t)=>["de-DE","de","nl-NL","nl","pt-PT","pt-BR","pt"].includes(e)?"en-US":t,r=(e,t,l)=>{let n=e||[],r=n.find(e=>t===e.languages_code);if(r)return r;let i=a(t,l);return n.find(e=>i===e.languages_code)||n.find(e=>l===e.languages_code)},i=(e,t,l)=>{var a,i,s,o,c,p,h,v,g;let b,j;let w=(0,n.t2Y)(e);if(!w)return null;let{lang:y,defaultLang:N,localeToSlugMap:_}=t,{experience:k,space:C,offer:A,pass:S,theme:L,attachment:E,attachmentMobile:M,video:T,position:Z,activityUid:R}=l||{},P="",F={},O=(null===(a=(0,n.j3t)(w.data,y,N))||void 0===a?void 0:a.title)||"",I={};switch(w.source){case"external":let D=r(w.source_external_data,y,N),z=(0,n.j3t)(w.source_external_data,N,N);P=(null==D?void 0:D.url)||(null==z?void 0:z.url)||w.source_external||"";break;case"internal":let V=(0,n.t2Y)(w.source_internal),H=r((0,n.Vrr)(null==V?void 0:V.data,N),y,N),B=(0,n.QZz)(H,N),U=(0,n.SVA)(null==V?void 0:V.platform,{...t,lang:B});P="".concat(U).concat((0,n.XOB)("".concat((null==H?void 0:H.slug)||"#"),B,N,_));break;case"external_popin":{j="openExternalPopin";let e=r(w.source_external_data,y,N),t=(0,n.j3t)(w.source_external_data,N,N);P=(null==e?void 0:e.url)||(null==t?void 0:t.url)||w.source_external||"";break}case"widget_popin":if(j="openWidgetPopin","oney"!==w.source_widget_type)return console.error("[map-link] missing or unknown source_widget_type for widget_popin link"),null;I.widget={type:"oney",oney:{paymentAmount:w.source_widget_oney_payment_amount||0,isFree:!!w.source_widget_oney_is_free,language:(null===(i=y.split("-")[0])||void 0===i?void 0:i.toUpperCase())||"FR"}};break;case"trigger":if(!w.trigger)return console.error("[map-link] missing target fragment"),null;P="#".concat(w.trigger);break;case"internal_experience":{let[e,l]=(0,n.QTt)(y,t.defaultLang,(0,n.Vrr)(null===(s=(0,n.t2Y)(w.source_internal_experience))||void 0===s?void 0:s.data,N),(0,n.Vrr)(null===(o=(0,n.t2Y)(null===(c=(0,n.t2Y)(w.source_internal_experience))||void 0===c?void 0:c.space))||void 0===o?void 0:o.data,N));if(null==e||!e.slug||null==l||!l.slug)return console.error("[map-link] incomplete data for experience link"),null;P=d(e,l,"",t).href;break}case"internal_space":{let e=r((0,n.Vrr)(null===(p=(0,n.t2Y)(w.source_internal_space))||void 0===p?void 0:p.data,N),y,N);if(null==e||!e.slug)return console.error("[map-link] incomplete data for space link"),null;P=u(e,"",t).href;break}case"internal_theme":{let e=r((0,n.Vrr)(null===(h=(0,n.t2Y)(w.source_internal_theme))||void 0===h?void 0:h.data,N),y,N);if(null==e||!e.slug)return console.error("[map-link] incomplete data for theme link"),null;P=x(e,"",t).href;break}case"internal_offer":{let e=r(null===(v=(0,n.t2Y)(w.source_internal_offer))||void 0===v?void 0:v.data,y,N);if(null==e||!e.slug)return console.error("[map-link] incomplete data for offer link"),null;P=m(e,"",t).href;break}case"reservation_popin":{let e=(0,n.Q2d)(null===(g=(0,n.t2Y)(w.source_reservation))||void 0===g?void 0:g.data,y,N),t=e.getGranular("popin_trigger");if(I.iresaTarget=e.getGranular("iresa_target")||void 0,!t)return console.error("[map-link] missing popin_trigger for reservation link"),null;P="#".concat(t);break}case"current_experience":if(null==k||!k.slug||null==C||!C.slug)return console.error("[map-link] incomplete data for auto experience link"),null;P=d(k,C,"",t).href;break;case"current_offer":if(null==A||!A.slug)return console.error("[map-link] incomplete data for auto offer link"),null;P=m(A,"",t).href;break;case"current_pass":if(null==S||!S.slug)return console.error("[map-link] incomplete data for auto pass link"),null;P=f(S,"",t).href;break;case"current_space":if(null==C||!C.slug)return console.error("[map-link] incomplete data for auto space link"),null;P=u(C,"",t).href;break;case"current_theme":if(null==L||!L.slug)return console.error("[map-link] incomplete data for auto theme link"),null;P=x(L,"",t).href;break;case"informations_pipin":j="openInfoPopin";break;case"video_popin":if(j="openVideoPopin",!T)return console.error("[map-link] missing video for video_popin link, omitting..."),null;P=T.src,F.VIDEO_NAME=()=>T.title;break;case"menu_download":if(j="downloadMenu",E||M){let e=(0,n.Lno)(E),t=(0,n.Lno)(M);if(F.DOWNLOADED_FILE_NAME=()=>(0,n.hap)(E)||"",e&&(P=e),t&&(b=t),P||b)break}console.error("[map-link] incomplete data for menu_download link");break;case"language_switcher":j="languageSwitcher";break;case"account_dropdown":j="profileSettings"}let W=(0,n.TWk)(w.gtm,t,{variables:{...t.globalContentVariables,LINK_PATH:()=>P||"",LINK_POSITION:()=>Z||t.linkPosition||"content",...R||t.linkActivityUid?{ACTIVITY_UID:()=>R||t.linkActivityUid||""}:{},...F}});return w.anchor&&!P.includes("#")&&(P="".concat(P,"#").concat(w.anchor)),{href:P,hrefMobile:b,title:O,newTab:!!w.target,specialAction:j,type:w.theme||void 0,gtmEvent:W,...I}},s=(e,t,l)=>{let a=i(e,t,l),r=(0,n.t2Y)(e);return r&&a?{...a,image:(0,n.z7X)(r.image,t.lang,t.defaultLang),icon:(0,n.z7X)(r.icon,t.lang,t.defaultLang)}:null},o=(e,t)=>{var l,a;let r=s(e,t);if(!r)return null;let i=(0,n.t2Y)(e),o=(0,n.Q2d)(null===(l=(0,n.t2Y)(null==i?void 0:i.source_account_dropdown))||void 0===l?void 0:l.data,t.lang,t.defaultLang),c=(null===(a=(0,n.t2Y)(o.getGranular("content_data")))||void 0===a?void 0:a.slug)||"my-account",d="/".concat(t.localeToSlugMap[t.lang]).concat(c);return{...r,href:"#auth",profileSettings:{links:[{href:"".concat(d,"?tab=").concat("documents"),title:o.getGranular("documents_label")||""},{href:"".concat(d,"?tab=").concat("contracts"),title:o.getGranular("contracts_label")||""},{href:"".concat(d,"?tab=").concat("profile"),title:o.getGranular("profile_label")||""},{href:"".concat(d,"?tab=").concat("contact"),title:o.getGranular("contact_label")||""}],logoutLabel:o.getGranular("logout_label")||""}}},c=(e,t,l,a)=>{var r;let{routePatternsMap:i,defaultLang:s}=a,o=(0,n.QZz)(e,s),{path:c,platform:d}=(null==i?void 0:null===(r=i[t])||void 0===r?void 0:r[o])||{},u=l(c||""),m=(0,n.SVA)(d,{...a,lang:o});return"".concat(m).concat(u)},d=(e,t,l,n)=>({href:c(e,":space/:experience",l=>l.replace(":experience",e.slug||"#").replace(":space",t.slug||""),n),newTab:!1,title:l}),u=(e,t,l)=>({href:c(e,":space",t=>t.replace(":space",e.slug||"#"),l),newTab:!1,title:t}),m=(e,t,l)=>({href:c(e,":offer",t=>t.replace(":offer",e.slug||"#"),l),newTab:!1,title:t}),f=(e,t,l)=>({href:c(e,":pass",t=>t.replace(":pass",e.slug||"#"),l),newTab:!1,title:t}),x=(e,t,l,n)=>({href:c(e,(null==n?void 0:n.slug)?":space/:theme":":theme",t=>t.replace(":theme",e.slug||"#").replace(":space",(null==n?void 0:n.slug)||""),l),newTab:!1,title:t}),p=(e,t)=>e&&"object"==typeof e&&(Array.isArray(t)?t.includes(e.source):e.source===t),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#";return{href:e,newTab:!1,title:""}}},32877:function(e,t,l){"use strict";l.d(t,{Q2:function(){return o},QT:function(){return a},QZ:function(){return n},hR:function(){return i},j3:function(){return r},t:function(){return d},yR:function(){return c}});let n=(e,t)=>(null==e?void 0:e.languages_code)||t,a=function(e,t){for(var l=arguments.length,a=Array(l>2?l-2:0),i=2;i<l;i++)a[i-2]=arguments[i];
1let s=a.map(l=>r(l,e,t)),o=s.map(e=>n(e,t));return o.filter(e=>!!e).every(e=>e===o[0])?s:a.map(e=>r(e,t,t))},r=(e,t,l)=>{let n=e||[];return n.find(e=>t===e.languages_code)||n.find(e=>l===e.languages_code)},i=function(e,t,l,n){var a;let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";return(null===(a=(null==e?void 0:e.find(e=>e.key===t&&e.language===l))||(null==e?void 0:e.find(e=>e.key===t&&e.language===n)))||void 0===a?void 0:a.value)||r},s=(e,t)=>{let l=e[t];return l.length>0?l:null},o=(e,t,l)=>{let n=e||[],a=n.find(e=>t===e.languages_code),r=n.find(e=>l===e.languages_code);return{get:e=>a?a[e]:null==r?void 0:r[e],getGranular:e=>(null==a?void 0:a[e])||(null==r?void 0:r[e]),getWithoutFallback:e=>null==a?void 0:a[e],getPossiblyEmptyArray:e=>a&&s(a,e)||r&&s(r,e)||[],getArrayWithCustomQualifier:(e,t)=>a&&t(a,e)||r&&t(r,e)||[]}},c=(e,t)=>(e||[]).find(e=>t===e.languages_code),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e||t}},77835:function(e,t,l){"use strict";l.d(t,{B:function(){return n}}),l(24840);var n=(0,l(69173).$)("3bf1287e785479bb5465d2a82f67847fe5620bf3")},81604:function(e,t,l){"use strict";l.d(t,{lF:function(){return c},yL:function(){return i},zc:function(){return r}});var n=l(94043);l(9145);var a=l(88702);let r=async(e,t,n)=>{let a=await l(27308)("./".concat(e.collection)).catch(()=>null);if(!a||!a.fetchAdditionalData)return null;let{data:r,dictionary:s}=await a.fetchAdditionalData(e.item,t,n);return i([{[e.collection]:{[e.id]:r}},s])},i=e=>e.reduce((e,t)=>(Object.entries(t).forEach(t=>{let[l,n]=t;e[l]||(e[l]={}),Object.entries(n).forEach(t=>{let[n,a]=t;e[l][n]=a})}),e),{}),s=(e,t)=>(e.instancesGlobalCounters[t]?e.instancesGlobalCounters[t]++:e.instancesGlobalCounters[t]=1,e.instancesGlobalCounters[t]),o=(e,t,l)=>{var n;return(null==l?void 0:null===(n=l[e])||void 0===n?void 0:n[t])||{}},c=(e,t,r)=>{if(e.length>0)return e.map((i,c)=>{let d=i.collection,u="".concat(d,"-").concat(c);if(!i.item||"number"==typeof i.item||!d)return null;let m=(0,a.default)(()=>
1l(27308)("./".concat(d)).catch(()=>l.e(3).then(l.bind(l,50003))),{loadableGenerated:{webpack:()=>[50003]}});return(0,n.jsx)(m,{block:i.item,siblingBlocks:e,pageContext:t,blockName:d,additionalBlockDataDictionary:r,additionalData:o(d,i.item.id,r),occurrence:s(t.blocksMeta,d)},u)})}},16370:function(e,t,l){"use strict";l.d(t,{C:function(){return a}});let n=["fr","en","es"],a=()=>{let e=new URL(window.location.href).pathname.split("/").filter(Boolean);if(n.includes(e[0]))return e[0];let t=navigator.language||navigator.userLanguage;if(t){let e=t.toLowerCase().substr(0,2);if(n.includes(e))return e}return"fr"}},1418:function(e,t,l){"use strict";l.r(t),l.d(t,{GTMPageView:function(){return u}});var n=l(97161),a=l(34983),r=l.n(a),i=l(31692),s=l(9145),o=l(38448),c=l(2451);let d="",u=e=>{let{events:t}=e,l=(0,o.usePathname)(),{ready:a,userProfile:u}=(0,c.G)()||{};return(0,i.useEffect)(()=>{if(a){if(t.length&&(!d||d!==l)){var e,i,o,c,m,f,x;let a=u?{user_status:"logged",userId:u.email?null===(e=r()(u.email))||void 0===e?void 0:e.toString():"",reachFive_Id:u.id,user_optin:(null===(o=u.consents)||void 0===o?void 0:null===(i=o.optin_email_futuro)||void 0===i?void 0:i.granted)?1:0,user_visitor_id:"",user_connexion_frequency:u.loginsCount,user_connexion_recency:(null===(c=u.loginSummary)||void 0===c?void 0:c.lastLogin)?Math.abs(Math.round(n.ou.fromMillis(null===(m=u.loginSummary)||void 0===m?void 0:m.lastLogin).diffNow("days").days)):0,user_connexion_type:"web",user_zip_code:(null===(x=u.addresses)||void 0===x?void 0:null===(f=x.find(e=>!!e.postalCode))||void 0===f?void 0:f.postalCode)||""}:{user_status:"nonlogged"};t.forEach(e=>{d=l,(0,s.SDW)("dataLayer_ready"===e.event?{...e,...a}:e)})}!function(){let e=document.location.href;if(["gclid","dclid","utm_source","utm_medium","utm_campaign","utm_content","utm_keyword"].some(t=>e.includes(t))){let n=function(e){let t=e+"=",l=document.cookie.split(";");for(var n=0;n<l.length;n++){for(var a=l[n];" "==a.charAt(0);)a=a.substring(1);if(0==a.indexOf(t))return a.substring(t.length,a.length)}return""}("ftcjs"),a=e.slice(e.indexOf("?")+1);if(""!=n&&null!=n){let e=JSON.parse(atob(n));e.push(JSON.parse('{"timestamp": '+Date.now()+', "'+decodeURI(a).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}')),l("ftcjs",btoa(JSON.stringify(e)),t(new Date,6).toString())}else console.log("cookie does not exist"),l("ftcjs",btoa(JSON.stringify(JSON.parse('[{"timestamp": '+Date.now()+', "'+decodeURI(a).replace(/"/g,'\\"').replace(/&/g,'","').replace(/=/g,'":"')+'"}]'))),t(new Date,6).toString())}function t(e,t){var l=e.getDate();return e.setMonth(e.getMonth()+ +t),e.getDate()!=l&&e.setDate(0),e}function l(e,t,l){document.cookie=e+"="+t+";expires="+l+";Domain="+document.location.hostname.replace(/^.+?([a-z0-9-]+\.[a-z]+)$/,"$1")+";path=/;SameSite=Lax;"}}()}},[l,a||!1]),null}},87474:function(e,t,l){"use strict";l.d(t,{iJ:function(){return c},Zt:function(){return d},rS:function(){return m},SD:function(){return u},TW:function(){return i},$N:function(){return o}}),l(1418);var n=l(9145),a=l(32608);let r=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e;return e||t?[...e,...t].reduce((e,t)=>(e[t.key]=l(t.value),e),{}):null},i=(e,t,l)=>{let i={REACH5_STATUS:()=>"",REACH5_OPTIN:()=>"",REACH5_ID:()=>"",REACH5_EMAIL_SHA256:()=>"",VISITOR_ID:()=>"",REACH5_FREQUENCY:()=>"",REACH5_RECENCY:()=>"",REACH5_CONNEXION_TYPE:()=>"",REACH5_ZIP:()=>"",REACH5_AMOUNT:()=>"",REACH5_ORDER_LAST:()=>"",USER_LANGUAGE:()=>t.localeToSlugMap[t.lang]||"fr",APP_ENVIRONEMENT:()=>a.env.APP_ENV||"preprod",APP_ERROR:()=>"",UID:()=>"",...t.globalContentVariables,...null==l?void 0:l.variables};if(e){var o,c;let t=(0,n.t2Y)(e),a=(0,n.t2Y)(null==l?void 0:l.gtm);return r((null===(o=(0,n.t2Y)(null==a?void 0:a.preset))||void 0===o?void 0:o.values)||(null===(c=(0,n.t2Y)(null==t?void 0:t.preset))||void 0===c?void 0:c.values)||[],[...(null==t?void 0:t.values)||[],...(null==a?void 0:a.values)||[]],s(i))}return null},s=e=>t=>{let l=e[t];return"function"==typeof l&&l?l():t},o=(e,t)=>{let l=(0,n.sAV)(),a={...e},r=t||{};for(let e in a){if(!a.hasOwnProperty(e))continue;"USER_DEVICE"===a[e]&&(l.isMobile()?a[e]="mobile":a[e]="desktop");let t=r[a[e]];t&&(a[e]=t())}return a},c=(e,t)=>{let l=o(e,t);console.debug("[gtm:push] click",l),window.dataLayer.push({...l})},d=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,l=arguments.length>2?arguments[2]:void 0;return new Promise(n=>{let a=o(e,l);console.debug("[gtm:push] clickAsync",a),window.dataLayer.push({...a,eventCallback:()=>n("ok")}),setTimeout(()=>n("timeout"),t)})},u=(e,t)=>
1{let l=o(e,t);console.debug("[gtm:push] immediate event",l),window.dataLayer.push({...l})},m=(e,t,l)=>{let n=o(t,l);console.debug("[gtm:push] ".concat(e," event"),n),window.dataLayer.push({...n})}},81511:function(e,t){"use strict";t.Z={src:"/_next/static/media/[email protected]",height:135,width:414,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAOVBMVEXkySE2L2WVg0DVuSfYvyVXTVinrD9XTVflyiC/qDBaT1dNRlv/9A5MaXFPRlvKxy+hjjusmDeUgkCkxSsWAAAAEHRSTlPCkKPgutrxzNP55EtlAPj4Fy0dOAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAACNJREFUCJlj4Gfm4GBgYeBhYOMUEBQQEmBi4OXm42JlZ2cEAAtPANvl97fsAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3}},68876:function(e,t,l){"use strict";l.r(t),t.default={src:"/_next/static/media/background-desktop.b9fcac9b.png",height:1074,width:2880,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAFVBMVEUeNHE/MVY5Q3MtKlYkLGIjKFw2OGVxXctCAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAF0lEQVQImWNggAEmEGBhZWVgBAFmZmYAAXoAJ2ucaBYAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3}},79123:function(e,t,l){"use strict";l.r(t),t.default={src:"/_next/static/media/background-mobile.0513ffad.png",height:1382,width:750,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAAG1BMVEUjPHUgNXI1K1AsKFk9NFkqLF5FQnQ4PG01QHbIybNDAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAJklEQVQImR3EyQ0AMAgEsdkD6L/jSPHDSBLAD3b3aF1sB2eGTvIABQYAVGz96+UAAAAASUVORK5CYII=",blurWidth:4,blurHeight:8}},85444:function(e,t,l){"use strict";l.r(t),t.default={src:"/_next/static/media/futuroscope-club-card.e03616ac.png",height:249,width:334,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAXVBMVEVMaXH8/P////3Qz9j6/f/7/fz29e37/f/9+M319f9wHiXf0Vz+/vv+/vvTwUNfr773Khzf8t/D4V/6/PvZVBajvQD+/v8gnYy4tcXSzFn48bLv5Y/e7KSOXhWw0wisygFSAAAAFnRSTlMAph39L5ENUP75yvfXtfrmcfZQcbV60yjwUwAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAADlJREFUCJkFwYcBgDAMwDB3JmVDIWz+PxMJ76p4gOUxK10vbN8cjmKJ9d3PoVVhaka9bo1AjpJc/gE+6gI+8DqJ3wAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:6}}}]);

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.