1"use strict";(self.webpackChunklabotessa=self.webpackChunklabotessa||[]).push([[729],{137:function(e,t,a){a.r(t),a.d(t,{Head:function(){return c}});var n=a(5268),l=a(1500),r=a(5232),i=a(6540),s=a(783);t.default=e=>{(0,i.useEffect)(()=>{document.body.classList.remove("menu-open")},[]);const t=(0,i.useRef)(),{0:a,1:c}=(0,i.useState)(!1),{0:o,1:m}=(0,i.useState)(!1),{0:u,1:d}=(0,i.useState)(!1);(0,i.useEffect)(()=>{t.current=l.os.timeline({paused:!0,onStart:()=>{document.body.classList.add("menu-open"),m(!0)},onReverseComplete:()=>{document.body.classList.remove("menu-open"),m(!1)}}),t.current.to(".main-nav",{duration:.6,clipPath:"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)",left:0,ease:"Power3.InOut"}),t.current.from(".dark-logo",{stagger:.1,opacity:0,y:20,ease:"Power3.InOut"},"-=0"),t.current.from(".leftMenu",{stagger:.1,opacity:0,y:20,ease:"Power3.InOut"},"-=0"),t.current.from(".mainNav_Contact--info",{stagger:.1,opacity:0,y:20,ease:"Power3.InOut"},"-=0"),t.current.from(".mainNav__col--right",{stagger:.1,opacity:0,y:20,ease:"Power3.InOut"},"-=0")},[]),(0,i.useEffect)(()=>{a?t.current.play():t.current.reverse()},[a]);const g=(0,i.useCallback)(e=>{if(document.getElementById("cursor")){var t=document.querySelector("body").getBoundingClientRect();t.top>=0&&t.bottom<=window.innerHeight+280&&(document.getElementById("cursor").style.visibility="visible")}},[]);(0,i.useEffect)(()=>(window.addEventListener("scroll",g),()=>{window.removeEventListener("scroll",g)}),[g]),(0,i.useEffect)(()=>{var e=document.querySelector(".cursor"),t=t=>{l.os.to(e,{css:{left:t.clientX,top:t.clientY}})};window.addEventListener("pointermove",t),window.addEventListener("mousemove",t),document.querySelectorAll(".cursor-scale, a, button").forEach(t=>{t.addEventListener("mouseover",()=>{l.os.to(e,{css:{transform:"translate(-50%, -50%) scale(2.5)","mix-blend-mode":"difference"}})}),t.addEventListener("mouseout",()=>{l.os.to(e,{css:{transform:"translate(-50%, -50%) scale(1)",border:"1px solid #E59978","mix-blend-mode":"normal",backgroundColor:"transparent"}})})})},[]);const f=(0,n.useStaticQuery)("609836719").wp.fluxDnaSettings.fluxDna,h=f.sidebarTopMenu,p=f.sidebarBottomMenu;return i.createElement("div",{className:"fullPageanimation headerSecondary"},i.createElement(i.Fragment,null,i.createElement("section",{className:"thank-you text-center overflow-hidden"},i.createElement("div",{className:"flex flex-wrap"},i.createElement("div",{className:"lg:w-8/12 w-full closemenu"},i.createElement("div",{className:"xl:px-80 lg:px-40 px-20 lg:py-40 pb-20 pt-20 relative h-screen overflow-y-auto enquiry-left overflow-hidden"},i.createElement("div",{className:"enquiry-header relative z-99"},i.createElement("div",{className:"flex flex-wrap justify-between"},i.createElement("div",{className:"logo z-99"},(null==f?void 0:f.enquiryLogo)&&i.createElement(n.Link,{to:"/"},i.createElement("img",{src:f.enquiryLogo.mediaItemUrl,alt:"Logo",className:"m-auto desktop-logo smscreen2:w-[120px]",loading:"lazy",width:168,height:74}))),i.createElement("div",{className:"top-navbar flex flex-wrap items-center gap-x-4 mdscreen:pl-0"},i.createElement("button",{onClick:()=>(0,n.navigate)(-2),className:"font-heading text-15 font-400 text-white uppercase"},"Back to site"," "),i.createElement("div",{className:"flex flex-wrap items-center"},i.createElement("div",{onClick:()=>{c(!a)},onKeyDown:()=>{c(!a)},"aria-hidden":"true",className:"navbar-icon flex items-center cursor-pointer hamburger menu-open-test cursor-scale "+(o?"active":"")},i.createElement("span",{className:"uppercase font-heading text-white text-15 font-400 pr-15 hidden"},"Close menu"),i.createElement("div",{className:"menu-line space-y-2 w-50 smscreen2:w-auto menu-line cursor-pointer"},i.createElement("svg",{width:"20",height:"2",viewBox:"0 0 20 2",fill:"none"},i.createElement("path",{d:"M0 1H20",stroke:"white",strokeWidth:"1.5"})),i.createElement("svg",{width:"20",height:"2",viewBox:"0 0 20 2",fill:"none"},i.createElement("path",{d:"M0 1H20",stroke:"white",strokeWidth:"1.5"})),i.createElement("svg",{width:"20",height:"2",viewBox:"0 0 20 2",fill:"none"},i.createElement("path",{d:"M0 1H20",stroke:"white",strokeWidth:"1.5"}
1)))))))),i.createElement("div",{className:"scroll-form-main w-[580px] lgscreen:w-full mx-auto thankYou-content flex flex-col justify-center items-center gap-y-6 h-[calc(100%_-_100px)]"},(null==f?void 0:f.thankyouHeading)&&i.createElement("div",{className:"top-info flex justify-center flex-wrap items-center w-[400px] lgscreen:w-full"},i.createElement("h4",{className:"text-white lg:text-34"},f.thankyouHeading)),(null==f?void 0:f.thankyouDescription)&&i.createElement("div",{className:"content white"},(0,r.Ay)(f.thankyouDescription)),i.createElement(n.Link,{to:"/",className:"btn btn-lightblue mt-20"},"back to home"))),i.createElement("div",{className:"main-nav nav-container smscreen2:pb-30 !w-full"},i.createElement("div",{className:"menu-overlay h-full fixed w-full top-0 left-0 bg-darkblue"}),i.createElement("div",{className:"w-[33.33%] absolute right-0 lgscreen:hidden"},i.createElement(s.A,{imgData:f.enquiryImage.mediaItemUrl,imgClass:"h-screen w-full object-cover",imgAlt:f.enquiryImage.altText,width:1440,height:640,imgLoad:"lazy"})),i.createElement("div",{className:"mainNav__wrap relative m-auto p-menu_mobile z-99 h-full overflow-y-auto img-grid-bx img-revel-anim"},i.createElement("div",{className:"pl-120 pr-90 h-full xlscreen:px-40"},i.createElement("div",{className:"mainNav__wrap--inner h-full"},i.createElement("div",{className:"md:w-8/12 lgscreen:ml-auto pr-80 xlscreen:pr-40 lgscreen:pr-0 pt-100 desktop2:pt-80 text-right w-full"},i.createElement("div",{className:"mainNav__col leftMenu"},i.createElement("ul",{className:"navMenu hover-underline-solid lg:pt-40 grid gap-y-2 text-white"},h.map((e,t)=>"no"===e.itemParent?i.createElement("li",{key:t},i.createElement(n.Link,{to:e.item.url,target:e.item.target},e.item.title)):i.createElement("li",{key:t},i.createElement(n.Link,{to:e.item.url,target:e.item.target},e.item.title),i.createElement("ul",{className:"child-menu flex flex-wrap justify-end gap-x-6 smscreen:flex-col"},e.itemChild&&e.itemChild.map((e,t)=>i.createElement("li",{className:"relative",key:t},i.createElement(n.Link,{to:e.child.url,target:e.child.target},e.child.title))))))),i.createElement("div",{onClick:()=>{d(!u)},onKeyDown:()=>{d(!u)},"aria-hidden":"true",className:(u?"active":"")+" hidden smscreen2:block smscreen2:mt-20 "},i.createElement("div",{className:"btn-custom"},i.createElement(n.Link,{to:"/",className:"btn btn-lightblue"},"make a booking")))),i.createElement("div",{className:"mainNav__submenu leftMenu flex flex-wrap justify-end gap-x-14 border-t-1 border-lightblue pt-50 mt-50 mdscreen:pt-25 mdscreen:mt-25"},i.createElement("ul",{className:"flex flex-wrap gap-x-5 text-right justify-end items-end w-[50%] desktop2:w-[70%] smscreen2:w-[90%] xsscreen:grid-cols-1"},p.map((e,t)=>i.createElement("li",{key:t},i.createElement(n.Link,{to:e.item.url,target:e.item.target},e.item.title))))),i.createElement("div",{className:"ct-info flex flex-col pt-30 leftMenu gap-y-1"},i.createElement("span",null,(null==f?void 0:f.sidebarMenuEmail)&&i.createElement(n.Link,{to:`mailto:${f.sidebarMenuEmail}`,className:"text-white relative text-16 tracking-08em font-300 transition-all duration-300"},f.sidebarMenuEmail)),i.createElement("span",null,(null==f?void 0:f.sidebarMenuPhone)&&i.createElement(n.Link,{to:`tel:${f.sidebarMenuPhone}`,className:"text-white relative text-16 tracking-08em font-300 transition-all duration-300"},f.sidebarMenuPhone))),i.createElement("div",{className:"sicon flex pt-25 gap-x-3 leftMenu justify-end pb-60 mdscreen:pb-100"},null==f?void 0:f.sidebarMenuSocial.map((e,t)=>i.createElement("li",{key:t},i.createElement(n.Link,{to:e.link.url,target:e.link.target,className:"w-25 h-25 bg-white flex items-center justify-center rounded-500 hover:bg-lightblue transition-all duration-300"},i.createElement("img",{src:e.icon.mediaItemUrl,alt:e.icon.altText,width:12,height:14,loading:"eager"}))))))))))),i.createElement("div",{className:"lg:w-4/12 w-full lgscreen:hidden"},i.createElement(s.A,{imgData:f.thankyouImage.mediaItemUrl,imgAlt:f.thankyouImage.altText,width:1440,height:640,imgLoad:"eager",imgClass:"h-screen w-full object-cover"}))))))};const c=()=>i.createElement("title",null,"Thank You | Labotessa")}}]); 2//# sourceMappingURL=component---src-templates-thankyou-js-8ae2637f0bc
2d5487fc8c.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.