1import{_ as q}from"./DvKOZjzm.js";import{k as I,i as D,f as E,r as i,c as m,b as j,h as R,a as e,m as h,l as a,t as l,d as $,q as w,v as b,y as k,F as T,p as F,x as P,o as p}from"./R0mb-_rh.js";import{a as O}from"./DD3wabSO.js";import{i as W}from"./2U6HXD_n.js";import"./B1GGtPrJ.js";import"./CE80pxZr.js";const Y={class:"pt-[22vh] section","data-bg":"#f0ff9c"},G={class:"px-5 sm:px-36 flex flex-col sm:flex-row gap-20"},J={class:"sm:w-1/2 flex flex-col gap-10 my-delayed-img"},K=["href"],Q=["href"],X=["href"],ee={key:0},te=["href"],ae={class:"font-primary text-darkpink fill-darkpink flex gap-2 sm:text-[1.2rem]"},se=["href"],re={class:"flex gap-2 justify-end"},le={key:0,class:"text-start text-green-600 self-end text-sm sm:text-base w-2/5 sm:w-3/6"},oe={key:1,class:"text-start text-red-600 self-end text-sm sm:text-base w-2/5 sm:w-3/6"},ie=["disabled"],ne={key:0,class:"z-[2] relative text-darkpink transition-all duration-300 group-hover:text-primary animate-spin h-[1.1em] w-[1.1em]",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},me={class:"z-[2] relative text-darkpink transition-all duration-300 [-webkit-text-stroke:.3px_#963E4C] group-hover:text-primary group-hover:[-webkit-text-stroke:0.3px_#ffffff]"},pe={class:"py-[8rem] section","data-bg":"#df7385"},de={class:"px-5 sm:px-36"},ce={class:"flex flex-col sm:flex-row flex-wrap gap-[35px]"},ue=["src","alt"],xe={class:"text-center font-title text-white uppercase sm:text-[1.1rem]"},ye={__name:"contact",async setup(ge){let d,_;const{hotel:o,whatsappUrl:A,whatsappNumber:Z,mapUrl:z}=([d,_]=I(()=>P()),d=await d,_(),d);D({title:"Contact Us | Segara Village Hotel Sanur Bali - Segara Beach Front Hotel in Sanur",ogTitle:"Segara Village Hotel Sanur Bali",description:"Beach front Sanur Hotel with 5 hectares beach front hotel with traditional balinese and modern provides 120 rooms , beach club and many leisure activities.",ogDescription:"Beach front Sanur Hotel with 5 hectares beach front hotel with traditional balinese and modern provides 120 rooms , beach club and many leisure activities.",ogImage:"https://example.com/image.png",twitterCard:"summary_large_image"}),E(()=>{O(".my-delayed-img",5),document.querySelectorAll(".section").forEach(t=>W(t))});const c=i(""),u=i(""),x=i(""),g=i(""),v=i(!1),f=i(""),n=i(!1);async function L(y){var t;if(y.preventDefault(),!n.value){n.value=!0;try{await $fetch("/api/contact-submission",{method:"POST",body:{name:c.value,email:u.value,phone:x.value,message:g.value}}),v.value=!0,f.value="",setTimeout(()=>{location.reload()},1500)}catch(r){v.value=!1,console.error("Error posting contact:",r),f.value=((t=r==null?void 0:r.data)==null?void 0:t.statusMessage)||(r==null?void 0:r.statusMessage)||"Something went wrong."}finally{n.value=!1}}}const U=[{name:"Ngurah Rai International Airport (12.5 km)",img:"https://storage.guirez.com/segaravillage-cms/ngurah-rai-airport.webp"},{name:"Sanur Beach (Direct Access)",img:"https://storage.guirez.com/segaravillage-cms/sanur-beach.webp"},{name:"Matahari Terbit Beach (Direct Access)",img:"https://storage.guirez.com/segaravillage-cms/matahari-terbit-beach.webp"},{name:"Art Center (4.5 km)",img:"https://storage.guirez.com/segaravillage-cms/art-center.webp"},{name:"Benoa Harbour (8.6 km)",img:"https://storage.guirez.com/segaravillage-cms/benoa-harbour.webp"},{name:"Tanjung Benoa (10.4 km)",img:"https://storage.guirez.com/segaravillage-cms/tanjung-benoa.webp"}];return(y,t)=>{var S,B,V,M,C,H,N;const r=q;return p(),m(T,null,[j(r),t[16]||(t[16]=R('<section class="h-[100dvh] w-full relative flex-col items-center justify-center section hidden" data-bg="#fff5eb"><div class="relative px-5 sm:px-[unset]"><p class="uppercase font-title text-[1.2rem] sm:text-[1.5rem] text-secondary tracking-widest text-center mb-3 my-delayed-img">Segara Village</p><p class="uppercase font-title text-[3rem] sm:text-[5rem] text-secondary tracking-widest text-center leading-[120%] mb-5 my-delayed-img">Contact Us</p><div class="relative"><p class="sm:text-[1.2rem] text-darkpink font-primary sm:w-[650px] lg:w-[700px] xl:w-[840px] text-center my-delayed-img">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent.</p><div class="absolute -bottom-[80%] right-8 sm:-right-[20%] lg:-right-[20%] xl
1:-right-[20%] 2xl:-right-[35%] my-delayed-img"><p class="font-slack text-darkgreen text-[1.5rem] sm:text-[1.5rem] lg:text-[1.8rem] xl:text-[2rem] 2xl:text-[2rem] -rotate-[13deg]">Weâre here to help</p></div></div></div></section>',1)),e("section",Y,[e("div",G,[e("div",J,[e("div",null,[t[11]||(t[11]=e("p",{class:"uppercase font-title text-darkpink text-[1.3rem] sm:text-[2.2rem] tracking-wider mb-5"},"Reservation Info",-1)),e("ul",null,[e("li",null,[e("a",{href:a(z)||void 0,target:"_blank",rel:"noopener noreferrer",class:"font-primary text-darkpink fill-darkpink flex gap-2 sm:text-[1.2rem]"},[t[4]||(t[4]=e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-[18ox] sm:w-[20px] h-[18px] sm:h-[20px]",viewBox:"0 0 256 256"},[e("path",{d:"M128,16a88.1,88.1,0,0,0-88,88c0,75.3,80,132.17,83.41,134.55a8,8,0,0,0,9.18,0C136,236.17,216,179.3,216,104A88.1,88.1,0,0,0,128,16Zm0,56a32,32,0,1,1-32,32A32,32,0,0,1,128,72Z"})],-1)),e("p",null,l((S=a(o))==null?void 0:S.address),1)],8,K)]),e("li",null,[e("a",{href:`tel:+${(B=a(o))==null?void 0:B.phone_url}`,class:"font-primary text-darkpink fill-darkpink flex gap-2 sm:text-[1.2rem]"},[t[5]||(t[5]=e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-[18ox] sm:w-[20px] h-[18px] sm:h-[20px]",viewBox:"0 0 256 256"},[e("path",{d:"M231.88,175.08A56.26,56.26,0,0,1,176,224C96.6,224,32,159.4,32,80A56.26,56.26,0,0,1,80.92,24.12a16,16,0,0,1,16.62,9.52l21.12,47.15,0,.12A16,16,0,0,1,117.39,96c-.18.27-.37.52-.57.77L96,121.45c7.49,15.22,23.41,31,38.83,38.51l24.34-20.71a8.12,8.12,0,0,1,.75-.56,16,16,0,0,1,15.17-1.4l.13.06,47.11,21.11A16,16,0,0,1,231.88,175.08Z"})],-1)),e("p",null,l((V=a(o))==null?void 0:V.phone)+" (Phone)",1)],8,Q)]),e("li",null,[e("a",{href:`tel:+${(M=a(o))==null?void 0:M.fax_url}`,class:"font-primary text-darkpink fill-darkpink flex gap-2 sm:text-[1.2rem]"},[t[6]||(t[6]=e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-[18ox] sm:w-[20px] h-[18px] sm:h-[20px]",viewBox:"0 0 256 256"},[e("path",{d:"M231.88,175.08A56.26,56.26,0,0,1,176,224C96.6,224,32,159.4,32,80A56.26,56.26,0,0,1,80.92,24.12a16,16,0,0,1,16.62,9.52l21.12,47.15,0,.12A16,16,0,0,1,117.39,96c-.18.27-.37.52-.57.77L96,121.45c7.49,15.22,23.41,31,38.83,38.51l24.34-20.71a8.12,8.12,0,0,1,.75-.56,16,16,0,0,1,15.17-1.4l.13.06,47.11,21.11A16,16,0,0,1,231.88,175.08Z"})],-1)),e("p",null,l((C=a(o))==null?void 0:C.fax)+" (Fax)",1)],8,X)]),a(A)?(p(),m("li",ee,[e("a",{href:a(A),target:"_blank",rel:"noopener noreferrer",class:"font-primary text-darkpink fill-darkpink flex gap-2 sm:text-[1.2rem]"},[t[7]||(t[7]=e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-[18ox] sm:w-[20px] h-[18px] sm:h-[20px]",viewBox:"0 0 256 256"},[e("path",{d:"M152.58,145.23l23,11.48A24,24,0,0,1,152,176a72.08,72.08,0,0,1-72-72A24,24,0,0,1,99.29,80.46l11.48,23L101,118a8,8,0,0,0-.73,7.51,56.47,56.47,0,0,0,30.15,30.15A8,8,0,0,0,138,155ZM232,128A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-40,24a8,8,0,0,0-4.42-7.16l-32-16a8,8,0,0,0-8,.5l-14.69,9.8a40.55,40.55,0,0,1-16-16l9.8-14.69a8,8,0,0,0,.5-8l-16-32A8,8,0,0,0,104,64a40,40,0,0,0-40,40,88.1,88.1,0,0,0,88,88A40,40,0,0,0,192,152Z"})],-1)),e("p",null,l(a(Z)),1)],8,te)])):h("",!0),e("li",null,[e("div",ae,[t[10]||(t[10]=e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-[18ox] sm:w-[20px] h-[18px] sm:h-[20px]",viewBox:"0 0 256 256"},[e("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"})],-1)),e("p",null,[e("a",{href:`mailto:${(H=a(o))==null?void 0:H.email}`},l((N=a(o))==null?void 0:N.email),9,se),t[8]||(t[8]=$(" / ")),t[9]||(t[9]=e("a",{href:"mailto:[email protected]"},"[email protected]",-1))])])])])]),e("form",{onSubmit:L,action:""},[t[13]||(t[13]=e("p",{class:"uppercase font-title text-darkpink text-[1.3rem] sm:text-[2.2rem] tracking-wider mb-5"},"Inquiry Message",-1)),w(e("input",{"onUpdate:modelValue":t[0]||(t[0]=s=>k(c)?c.value=s:null),type:"text",name:"name",id:"name",placeholder:"Name",class:"w-full py-3 font-primary sm:text-[1.2rem] text-darkpink bg-transparent border-b border-darkpink placeholder:text-darkpink focus:!outline-0 mb-3"},null,512),[[b,a(c)]]),w(e("input",{"onUpdate:modelValue":t[1]||(t[1]=s=>k(u)?u.value=s:null),type:"text",name:"email",id:"email",placeholder:"Email",class:"w-full py-3 font-primary sm:text-[1.2rem] text-darkpink bg-transparent border-b border-darkpink placeholder:text-darkpink focus:!outline-0 mb-3"},null,512),[[b,a(u)]]),w(e("input",{"onUpdate:modelValue":t[2]||(t[2]=s=>k(x)?x.value=s:null),type:"text",name:"phone",id:"phone",placeholder:"Phone Number",class:"w-full py-3 font-primary sm:text-[1.2rem] text-darkpink bg-transparent border-b border-darkpink placeholder:text-darkpink focus:!outline-0 mb-3"},null,512),[[b,a(x)]]),w(e("textarea",{"onUpdate:modelValue":t[3]||(t[3]=s=>k(g)?g.value=s:null),name:"",id:"",rows:"6",placeholder:"Custom Message",class:"w-full py-3 font-primary sm:text-[1.2rem] text-darkpink bg-transparent border-b border-darkpink placeholder:text-darkpink focus:!outline-0 mb-5"},null,512),[[b,a(g)]]),e("div",re,[a(v)?(p(),m("span",le," Thank y
1ou, your message has been sent! ")):h("",!0),a(f)?(p(),m("span",oe,l(a(f)),1)):h("",!0),e("button",{type:"submit",disabled:a(n),class:"disabled:cursor-wait inline-flex items-center gap-2 font-primary text-[.9rem] sm:text-[1rem] px-5 py-2 sm:px-6 sm:py-2 border-2 border-darkpink text-black font-semibold tracking-widest uppercase relative after:content-[''] after:block after:w-full after:h-full after:bg-darkpink after:absolute after:top-full after:left-0 after:transition-all after:duration-300 hover:after:top-0 overflow-hidden group"},[a(n)?(p(),m("svg",ne,t[12]||(t[12]=[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"3"},null,-1),e("path",{class:"opacity-90",fill:"currentColor",d:"M12 2a10 10 0 0 1 10 10h-3a7 7 0 0 0-7-7V2Z"},null,-1)]))):h("",!0),e("span",me,l(a(n)?"Sending":"Send Message"),1)],8,ie)])],32)]),t[14]||(t[14]=e("div",{class:"sm:w-1/2 my-delayed-img"},[e("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3944.092032075131!2d115.26291469999998!3d-8.682798!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2dd24035d11b35c9%3A0x5dd1ae1827e5ebdb!2sSegara%20Village%20Hotel!5e0!3m2!1sid!2sid!4v1752399087483!5m2!1sid!2sid",width:"100%",height:"100%",style:{border:"0"},allowfullscreen:"",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade",class:"h-[30vh] sm:h-full"})],-1))])]),e("section",pe,[e("div",de,[t[15]||(t[15]=e("p",{class:"uppercase font-title text-[1.3rem] sm:text-[2rem] text-white text-center tracking-wider mb-10 leading-[120%]"},"NEARBY ATTRACTION",-1)),e("ul",ce,[(p(),m(T,null,F(U,s=>e("li",{key:s.name,class:"md:w-[calc(100%/2-18px)] lg:w-[calc(100%/4-26.3px)]"},[e("img",{src:s.img,alt:s.name,class:"w-full aspect-square sm:aspect-[.7] object-cover mb-3"},null,8,ue),e("p",xe,l(s.name),1)])),64))])])])],64)}}};export{ye as default};
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.