1import{C as O,r as y,i as L,n as q,a6 as Z,R as T,c as r,o as a,a as m,b as e,u as o,m as G,F as l,f as n,w as g,a0 as X,M as _,k as W,t as x}from"./app-DbzRLw36.js";import{N as Y,c as p,F as J}from"./Footer-DTATxlue.js";import{s as h}from"./index-56n2xl09.js";import{s as k}from"./index-Q-bKECX7.js";import{s as V}from"./index-DVfWvb4Z.js";import{s as Q}from"./index-Bp175E9y.js";import{_ as b}from"./InputError-pB0TdpLw.js";import{s as D}from"./index-BFjkWDBb.js";import{_ as ee}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-B3d4Qbf_.js";import"./index-DwBB7nvQ.js";import"./index-BLTr8Yao.js";import"./index-DWbD9O-q.js";import"./index-qv34h0QN.js";import"./index-1h5U21cc.js";import"./index-DuenpDqE.js";const se={class:"contact-page"},oe={class:"contact-page__main"},te={class:"contact-page__section"},re={class:"contact-page__container"},ae={class:"contact-page__header"},le={class:"contact-page__title"},ne={class:"contact-page__grid"},ie={class:"text-center space-y-2 font-lora flex flex-col h-full -mx-4 -my-4"},de={class:"px-4 pt-4"},me={class:"font-bold text-base sm:text-lg md:text-xl text-maroon-text uppercase"},pe={class:"font-bold text-sm sm:text-base md:text-lg text-maroon-text uppercase"},ue={class:"text-gray-700 text-sm sm:text-base text-center space-y-2 mt-3"},ce={class:"flex items-center justify-center gap-2 sm:gap-3 flex-wrap"},fe={class:"break-words"},ge={class:"flex items-center justify-center gap-2 sm:gap-3 flex-wrap"},be={class:"break-words"},xe={class:"flex items-center justify-center gap-2 sm:gap-3 flex-wrap"},he={class:"break-words"},ve={class:"flex items-center justify-center gap-2 sm:gap-3 flex-wrap"},ye={class:"break-words"},_e={class:"space-y-4 sm:space-y-6"},ke={class:"flex flex-col md:flex-row justify-between gap-4"},we={class:"w-full"},Ae={for:"name",class:"block font-bold mb-1 text-sm sm:text-base"},Ee={class:"w-full"},Pe={for:"email",class:"block font-bold mb-1 text-sm sm:text-base"},Te={class:"w-full"},Ve={for:"phone",class:"block font-bold mb-1 text-sm sm:text-base"},Me={class:"w-full"},Ne={for:"address",class:"block font-bold mb-1 text-sm sm:text-base"},ze={class:"w-full"},Re={for:"suggestions",class:"block font-bold mb-1 text-sm sm:text-base"},Ue={class:"flex justify-center sm:justify-end"},Ie={class:"relative z-10"},Se={class:"text-xl sm:text-2xl font-lora font-bold text-maroon-text mb-4 sm:mb-6 text-center"},Be={class:"overflow-x-auto -mx-4 sm:mx-0"},Ce={class:"inline-block min-w-full align-middle"},Fe={class:"w-full border-collapse text-xs sm:text-sm md:text-base"},$e={class:"bg-amber-100"},He={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-left font-semibold text-maroon-text whitespace-nowrap"},Ke={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-left font-semibold text-maroon-text whitespace-nowrap"},je={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-left font-semibold text-maroon-text whitespace-nowrap"},Oe={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-left font-semibold text-maroon-text whitespace-nowrap"},Le={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 font-medium text-gray-800 whitespace-nowrap"},qe={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-gray-700"},Ze={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-gray-700"},Ge={class:"border border-amber-300 px-2 sm:px-3 md:px-4 py-2 text-gray-700"},M="Sree Thirumandhamkunnu Bhagavathy Devaswam, Angadippuram, Kerala 679321",Xe={__name:"Index",setup(We){const t=O({name:"",address:"",email:"",phone:"",suggestions:""}),u=y(""),f=y(""),c=y(""),N=L(),v=q();Z(()=>{v.props.toast&&w(v.props.toast)}),T(()=>v.props.toast,i=>{i&&w(i)},{deep:!0});function w(i){const s={success:"success",error:"error",warning:"warn",info:"info"};N.add({severity:s[i==null?void 0:i.type]||(i==null?void 0:i.type)||"info",summary:(i==null?void 0:i.title)||"Notification",detail:(i==null?void 0:i.message)||"",life:5e3})}const A=i=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(i),E=i=>/^[a-zA-Z\s\-'\.]+$/.test(i)&&!/\d/.test(i),z=()=>{t.name&&!E(t.name)?f.value="Name should not contain numeric values":f.value=""},R=()=>{t.email&&!A(t.email)?u.value="Please enter a valid email address":u.value=""},U=()=>{u.value&&(u.value="")},P=i=>/^\d+$/.test(i),I=()=>{t.phone&&!P(t.phone)?c.value="Phone should only contain numeric values":c.value=""},S=i=>{let s=i.target?i.target.value:t.phone;s=s.replace(/[^\d]/g,""),t.phone=s,c.value&&(c.value="")},B=i=>{i.preventDefault();const d=(i.clipboardData||window.clipboardData).getData("text").replace(/[^\d]/g,"");t.phone=d};T(()=>t.phone,i=>{i&&/[^\d]/.test(i)&&(t.phone=i.replace(/[^\d]/g,""))});const C=()=>
1{if(t.name&&!E(t.name)){f.value="Name should not contain numeric values";return}if(t.email&&!A(t.email)){u.value="Please enter a valid email address";return}if(t.phone&&!P(t.phone)){c.value="Phone should only contain numeric values";return}f.value="",u.value="",c.value="",t.post(route("contact.store"),{onSuccess:()=>{t.reset(),f.value="",u.value="",c.value=""},onError:()=>{}})},F=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(M)}`,$=`https://www.google.com/maps?q=${encodeURIComponent(M)}&output=embed&z=15`,H=()=>{window.open(F,"_blank")},K=()=>p.value==="ml"?[{mode:"വിമാനà´",from:"തിരàµà´µà´¨à´¨àµà´¤à´ªàµà´°à´",via:"à´¨àµà´àµà´®àµà´ªà´¾à´¶àµà´¶àµà´°à´¿ (à´àµà´àµà´à´¿)",to:"à´à´°à´¿à´ªàµà´ªàµàµ¼ (à´àµà´´à´¿à´àµà´àµà´àµ)"},{mode:"വിമാനà´",from:"à´àµà´´à´¿à´àµà´àµà´àµ",via:"à´·àµàµ¼à´£àµàµ¼",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"},{mode:"à´àµà´°àµà´¯à´¿àµ»",from:"à´¤àµà´¶àµàµ¼",via:"à´·àµàµ¼à´£àµàµ¼",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"},{mode:"à´àµà´°àµà´¯à´¿àµ»",from:"പാലà´àµà´à´¾à´àµ",via:"à´·àµàµ¼à´£àµàµ¼",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"},{mode:"ബസàµ",from:"à´àµà´àµà´à´¿",via:"à´¤àµà´¶àµàµ¼ - à´ªàµà´°à´¿à´¨àµà´¤àµ½à´®à´£àµà´£",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"},{mode:"ബസàµ",from:"പാലà´àµà´à´¾à´àµ",via:"à´ªàµà´°à´¿à´¨àµà´¤àµ½à´®à´£àµà´£",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"},{mode:"ബസàµ",from:"à´àµà´´à´¿à´àµà´àµà´àµ",via:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´",to:"à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´"}]:[{mode:"Air",from:"Thiruvanthapuram",via:"Nedumbassery (Cochin)",to:"Karipur (Kozhikode)"},{mode:"Air",from:"Kozhikode",via:"Shoranur",to:"Angadippuram"},{mode:"Train",from:"Trichur",via:"Shoranur",to:"Angadippuram"},{mode:"Train",from:"Palakkad",via:"Shoranur",to:"Angadippuram"},{mode:"Bus",from:"Cochin",via:"Tricur - Perithalmanna",to:"Angadippuram"},{mode:"Bus",from:"Plakkad",via:"Perinthalmanna",to:"Angadippuram"},{mode:"Bus",from:"Kozhikode",via:"Angadippuram",to:"Angadippuram"}];return(i,s)=>(a(),r("div",se,[m(o(G),{title:"Contact Us"}),m(o(D)),m(Y),e("div",oe,[s[23]||(s[23]=e("div",{class:"contact-page__bg"},[e("img",{src:"/images/top_temple_image.png",alt:"Thirumandhamkunnu Temple",class:"contact-page__bg-img"}),e("div",{class:"contact-page__bg-overlay"})],-1)),e("section",te,[s[22]||(s[22]=e("div",{class:"contact-page__pattern","aria-hidden":"true"},null,-1)),e("div",re,[e("div",ae,[e("h2",le,[o(p)==="ml"?(a(),r(l,{key:0},[n("ബനàµà´§à´ªàµà´ªàµà´à´¾à´¨àµà´³àµà´³ വിവരà´àµà´àµ¾")],64)):(a(),r(l,{key:1},[n("Contact Us")],64))]),s[6]||(s[6]=e("img",{src:"/images/heading_underline.png",alt:"",class:"contact-page__underline"},null,-1))])]),e("div",ne,[m(o(h),{class:"bg-gradient-to-br from-white via-amber-50 to-orange-50 relative overflow-hidden h-full flex flex-col"},{content:g(()=>[e("div",ie,[e("div",de,[e("p",me,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´à´àµà´¸à´¿à´àµà´¯àµà´àµà´àµà´µàµ à´à´«àµà´¸àµ¼")],64)):(a(),r(l,{key:1},[n("THE EXECUTIVE OFFICER")],64))]),e("p",pe,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´¶àµà´°àµ തിരàµà´®à´¨àµà´§à´à´àµà´¨àµà´¨àµ à´à´à´µà´¤à´¿ à´¦àµà´µà´¸àµà´µà´")],64)):(a(),r(l,{key:1},[n("SREE THIRUMANDHAMKUNNU BHAGAVATHY DEVASWAM")],64))]),e("div",ue,[e("p",ce,[s[7]||(s[7]=e("i",{class:"pi pi-map-marker text-maroon-dark text-base sm:text-lg flex-shrink-0"},null,-1)),e("span",fe,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´ªàµà´¸àµà´±àµà´±àµ à´¬àµà´àµà´¸àµ നമàµà´ªàµ¼ 5, à´
à´àµà´à´¾à´à´¿à´ªàµà´ªàµà´±à´ - 679321")],64)):(a(),r(l,{key:1},[n("POST BOX NO.5, ANGADIPPURAM - 679321")],64))])]),e("p",ge,[s[8]||(s[8]=e("i",{class:"pi pi-map-marker text-maroon-dark text-base sm:text-lg flex-shrink-0"},null,-1)),e("span",be,[o(p)==="ml"?(a(),r(l,{key:0},[n("മലപàµà´ªàµà´±à´ à´à´¿à´²àµà´², à´àµà´°à´³à´, à´à´¨àµà´¤àµà´¯")],64)):(a(),r(l,{key:1},[n("MALAPPURAM DIST., KERALA, INDIA")],64))])]),e("p",xe,[s[9]||(s[9]=e("i",{class:"pi pi-phone text-maroon-dark text-base sm:text-lg flex-shrink-0"},null,-1)),e("span",he,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´«àµàµº: 91 4933 258820, 258555")],64)):(a(),r(l,{key:1},[n("PHONE: 91 4933 258820, 258555")],64))])]),e("p",ve,[s[10]||(s[10]=e("i",{class:"pi pi-print text-maroon-dark text-base sm:text-lg flex-shrink-0"},null,-1)),e("span",ye,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´«à´¾à´àµà´¸àµ: 91 4933 253820")],64)):(a(),r(l,{key:1},[n("FAX: 91 4933 253820")],64))])])])]),e("div",{class:"mt-4"},[e("div",{class:"relative w-full h-full rounded-lg overflow-hidden shadow-lg group"},[e("iframe",{src:$,width:"100%",height:"100%",style:{border:"0","min-height":"250px"},class:"transition-opacity group-hover:opacity-90 sm:min-h-[300px] md:min-
1h-[400px]",allowfullscreen:"",loading:"lazy",referrerpolicy:"no-referrer-when-downgrade"}),e("div",{class:"absolute bottom-2 right-2 sm:bottom-4 sm:right-4"},[e("button",{onClick:H,class:"bg-white hover:bg-gray-50 px-2 py-1.5 sm:px-4 sm:py-2 rounded-lg shadow-lg flex items-center gap-1 sm:gap-2 transition-all duration-300 hover:scale-105 border-2 border-amber-200"},s[11]||(s[11]=[e("i",{class:"pi pi-external-link text-maroon-dark text-xs sm:text-sm"},null,-1),e("span",{class:"text-xs sm:text-sm font-semibold text-maroon-dark"},"Open in Maps",-1)]))])])])])]),_:1}),m(o(h),{class:"bg-white/95 backdrop-blur-sm rounded-2xl shadow-2xl border-2 border-amber-200 relative overflow-hidden h-full"},{content:g(()=>[e("form",{onSubmit:X(C,["prevent"]),class:"relative z-10"},[e("div",_e,[e("div",ke,[e("div",we,[e("div",null,[e("label",Ae,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´ªàµà´°àµ")],64)):(a(),r(l,{key:1},[n("Name")],64)),s[12]||(s[12]=e("span",{class:"!text-red-500"},"*",-1))]),m(o(k),{id:"name",modelValue:o(t).name,"onUpdate:modelValue":s[0]||(s[0]=d=>o(t).name=d),modelModifiers:{trim:!0},class:_(["w-full bg-white border-2 border-amber-200 rounded-lg h-10 sm:h-12 text-sm sm:text-base text-gray-800 pr-4 focus:border-maroon-dark focus:ring-2 focus:ring-maroon-dark/20 transition-all duration-300",{"border-red-500":f.value||o(t).errors.name}]),onBlur:z,autofocus:"",invalid:f.value||o(t).errors.name,fluid:""},null,8,["modelValue","class","invalid"]),m(b,{message:f.value||o(t).errors.name,class:"mt-2"},null,8,["message"])])]),e("div",Ee,[e("div",null,[e("label",Pe,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´à´®àµà´¯à´¿àµ½")],64)):(a(),r(l,{key:1},[n("Email")],64)),s[13]||(s[13]=e("span",{class:"!text-red-500"},"*",-1))]),m(o(k),{id:"email",modelValue:o(t).email,"onUpdate:modelValue":s[1]||(s[1]=d=>o(t).email=d),modelModifiers:{trim:!0},type:"email",class:_(["w-full bg-white border-2 border-amber-200 rounded-lg h-10 sm:h-12 text-sm sm:text-base text-gray-800 pr-4 focus:border-maroon-dark focus:ring-2 focus:ring-maroon-dark/20 transition-all duration-300",{"border-red-500":u.value||o(t).errors.email}]),onBlur:R,onInput:U,invalid:u.value||o(t).errors.email,fluid:""},null,8,["modelValue","class","invalid"]),m(b,{message:u.value||o(t).errors.email,class:"mt-2"},null,8,["message"])])]),e("div",Te,[e("div",null,[e("label",Ve,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´«àµàµº")],64)):(a(),r(l,{key:1},[n("Phone")],64)),s[14]||(s[14]=e("span",{class:"!text-red-500"},"*",-1))]),m(o(k),{id:"phone",modelValue:o(t).phone,"onUpdate:modelValue":s[2]||(s[2]=d=>o(t).phone=d),modelModifiers:{trim:!0},type:"tel",class:_(["w-full bg-white border-2 border-amber-200 rounded-lg h-10 sm:h-12 text-sm sm:text-base text-gray-800 pr-4 focus:border-maroon-dark focus:ring-2 focus:ring-maroon-dark/20 transition-all duration-300",{"border-red-500":c.value||o(t).errors.phone}]),onInput:S,onKeypress:s[3]||(s[3]=d=>{!/[0-9]/.test(d.key)&&!["Backspace","Delete","Tab","ArrowLeft","ArrowRight","Home","End"].includes(d.key)&&d.preventDefault()}),onPaste:B,onBlur:I,autofocus:"",invalid:c.value||o(t).errors.phone,fluid:""},null,8,["modelValue","class","invalid"]),m(b,{message:c.value||o(t).errors.phone,class:"mt-2"},null,8,["message"])])])]),e("div",Me,[e("div",null,[e("label",Ne,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´®àµàµ½à´µà´¿à´²à´¾à´¸à´")],64)):(a(),r(l,{key:1},[n("Address")],64)),s[15]||(s[15]=e("span",{class:"!text-red-500"},"*",-1))]),m(o(V),{id:"address",modelValue:o(t).address,"onUpdate:modelValue":s[4]||(s[4]=d=>o(t).address=d),modelModifiers:{trim:!0},rows:"3",class:"w-full bg-white border-2 border-amber-200 rounded-lg text-sm sm:text-base text-gray-800 p-3 sm:p-4 focus:border-maroon-dark focus:ring-2 focus:ring-maroon-dark/20 transition-all duration-300 resize-y",placeholder:"Enter your complete address"},null,8,["modelValue"]),m(b,{message:o(t).errors.address,class:"mt-2"},null,8,["message"])])]),e("div",ze,[e("div",null,[e("label",Re,[o(p)==="ml"?(a(),r(l,{key:0},[n("നിർദàµà´¦àµà´¶à´àµà´àµ¾")],64)):(a(),r(l,{key:1},[n("Suggestions")],64)),s[16]||(s[16]=e("span",{class:"!text-red-500"},"*",-1))]),m(o(V),{id:"suggestions",modelValue:o(t).suggestions,"onUpdate:modelValue":s[5]||(s[5]=d=>o(t).suggestions=d),modelModifiers:{trim:!0},rows:"3",class:"w-full bg-white border-2 border-amber-200 rounded-lg text-sm sm:text-base text-gray-800 p-3 sm:p-4 focus:border-maroon-dark focus:ring-2 focus:ring-maroon-dark/20 transition-all duration-300 resize-y",placeholder:"Share your suggestions, questions, or any communication..."},null,8,["modelValue"]),m(b,{message:o(t).errors.suggestions,class:"mt-2"},null,8,["message"])])]),e("div",Ue,[m(o(Q),{type:"submit",label:"Submit Enquiry",icon:"pi pi-send",iconPos:"right",loading:o(t).processing,class:"w-full sm:w-auto p-2.5 sm:p-3 text-sm sm:text-base md:text-lg font-bold text-white rounded-xl shadow-2xl hover:shadow-3xl transition-all duration-300 hover:-translate-y-1 active:translate-y-0 bg-gradient-to-r from-maroon-dark via-red-700 to-maroon-dark hover:from-red-800 hover:via-red-600 hover:to-red-800 border-2 border-white/20 hover:border-white/40 transform hover:scale-105"},null,8,["loading"])])])],32)]),default:g(()=>[s[17]||(s[17]=e("div",{class:"absolute top-0 right-0 w-40 h-40 bg-gradient-to-br from-maroon-dark/10 via-red-500/5 to-transparent roun
1ded-bl-full pointer-events-none z-0"},null,-1)),s[18]||(s[18]=e("div",{class:"absolute bottom-0 left-0 w-40 h-40 bg-gradient-to-tr from-amber-400/10 via-orange-300/5 to-transparent rounded-tr-full pointer-events-none z-0"},null,-1))]),_:1}),m(o(h),{class:"bg-gradient-to-br from-white via-amber-50 to-orange-50 relative overflow-hidden h-full"},{content:g(()=>s[19]||(s[19]=[e("div",{class:""},[e("img",{src:"/images/travel_desk.png",alt:"Travel Desk",class:"w-full h-full rounded-lg"})],-1)])),_:1}),m(o(h),{class:"bg-white/95 backdrop-blur-sm rounded-2xl shadow-2xl border-2 border-amber-200 relative overflow-hidden h-full"},{content:g(()=>[e("div",Ie,[e("h3",Se,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´à´àµà´à´¨àµ à´à´¤àµà´¤à´¿à´àµà´àµà´°à´¾à´")],64)):(a(),r(l,{key:1},[n("How to Reach")],64))]),e("div",Be,[e("div",Ce,[e("table",Fe,[e("thead",null,[e("tr",$e,[e("th",He,[o(p)==="ml"?(a(),r(l,{key:0},[n("മാർà´àµà´à´")],64)):(a(),r(l,{key:1},[n("Mode")],64))]),e("th",Ke,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´à´µà´¿à´àµ നിനàµà´¨àµ")],64)):(a(),r(l,{key:1},[n("From")],64))]),e("th",je,[o(p)==="ml"?(a(),r(l,{key:0},[n("വഴി")],64)):(a(),r(l,{key:1},[n("Via")],64))]),e("th",Oe,[o(p)==="ml"?(a(),r(l,{key:0},[n("à´à´µà´¿à´àµà´àµà´àµ")],64)):(a(),r(l,{key:1},[n("To")],64))])])]),e("tbody",null,[(a(!0),r(l,null,W(K(),(d,j)=>(a(),r("tr",{key:j,class:"bg-white hover:bg-amber-50 transition-colors"},[e("td",Le,x(d.mode),1),e("td",qe,x(d.from),1),e("td",Ze,x(d.via),1),e("td",Ge,x(d.to),1)]))),128))])])])])])]),default:g(()=>[s[20]||(s[20]=e("div",{class:"absolute top-0 right-0 w-40 h-40 bg-gradient-to-br from-maroon-dark/10 via-red-500/5 to-transparent rounded-bl-full pointer-events-none z-0"},null,-1)),s[21]||(s[21]=e("div",{class:"absolute bottom-0 left-0 w-40 h-40 bg-gradient-to-tr from-amber-400/10 via-orange-300/5 to-transparent rounded-tr-full pointer-events-none z-0"},null,-1))]),_:1})])])]),m(J)]))}},us=ee(Xe,[["__scopeId","data-v-e9ed2071"]]);export{us 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.