PageSourceSearch

https://nambikkai.com/_next/static/chunks/a5fd1f1a82fb6420.js

js nambikkai.com collected 2026-10-02 01:37:18 UTC 7,429 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33696,e=>{"use strict";var t=e.i(43476),r=e.i(18566),a=e.i(71689);function l({fallback:e,label:l}){let n=(0,r.useRouter)();return(0,t.jsxs)("button",{onClick:()=>{window.history.length>1?n.back():n.push(e)},className:"inline-flex items-center gap-1 text-[#e60000] transition-all duration-300 group",children:[(0,t.jsx)(a.ArrowLeft,{className:"w-3 h-3 transition-transform duration-300 group-hover:-translate-x-1"}),(0,t.jsx)("span",{className:"text-xs",children:l})]})}e.s(["default",()=>l])},71689,e=>{"use strict";let t=(0,e.i(75254).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],71689)},44916,e=>{"use strict";function t(e){let t,r,a=(t="https://www.nambikkai.com".replace(/\/+$/,""),(r=e.replace(/^\/+/,""))&&!r.endsWith("/")&&(r=`${r}/`),r?`${t}/${r}`:`${t}/`),l=document.querySelector("link[rel='canonical']");return l||((l=document.createElement("link")).setAttribute("rel","canonical"),document.head.appendChild(l)),l.setAttribute("href",a),a}function r(e,t,r){document.title=e;let a=(e,t,r)=>{let a=document.querySelector(`meta[${e}='${t}']`);a||((a=document.createElement("meta")).setAttribute(e,t),document.head.appendChild(a)),a.setAttribute("content",r)},l=t.trim();a("name","description",l),a("property","og:title",e),a("property","og:description",l),r&&a("property","og:url",r),a("name","twitter:title",e),a("name","twitter:description",l)}e.s(["updateCanonicalLink",()=>t,"updatePageMetadata",()=>r])},78299,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(11795),l=e.i(33696),n=e.i(44916);function s(){let[e,s]=(0,r.useState)({name:"",email:"",mobile:"",message:""}),[i,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null);(0,r.useEffect)(()=>{document.title="தொடர்பு - Contact Us | நம்பிக்கை செய்திகள்";let e=document.querySelector('meta[name="description"]');e&&e.setAttribute("content","நம்பிக்கை செய்திகளை தொடர்பு கொள்ள. உங்கள் கேள்விகள், பரிந்துரைகள், விளம்பரங்களுக்கு. Contact Nambikkai Tamil News - Chennai, India.");let t=document.querySelector('meta[name="keywords"]');t&&t.setAttribute("content","contact nambikkai, nambikkai contact, tamil news contact, advertise tamil news, nambikkai chennai, tamil news portal contact"),(0,n.updateCanonicalLink)("/contact/")},[]);let u=async t=>{t.preventDefault(),o(!0),d(null);try{let t=(0,a.createClient)(),{data:r,error:l}=await t.from("contact_submissions").insert([{name:e.name,email:e.email,mobile:e.mobile,message:e.message}]);l?(console.error("Supabase error:",l),d("error")):(d("success"),s({name:"",email:"",mobile:"",message:""}))}catch(e){console.error("Error:",e),d("error")}finally{o(!1)}},m=t=>{s({...e,[t.target.name]:t.target.value})};return(0,t.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-blue-500 via-blue-600 to-blue-700 relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute top-4 left-4 z-20",children:(0,t.jsx)(l.default,{fallback:"/",label:"திருப்பு"})}),(0,t.jsxs)("div",{className:"absolute inset-0 opacity-10",children:[(0,t.jsx)("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-white rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-white rounded-full blur-3xl"})]}),(0,t.jsx)("div",{className:"relative z-10 container mx-auto px-4 py-12 flex items-center justify-center min-h-screen",children:(0,t.jsx)("div",{className:"w-full max-w-2xl",children:(0,t.jsxs)("div",{className:"bg-white rounded-lg shadow-2xl p-8 md:p-12",children:[(0,t.jsxs)("div",{className:"text-center mb-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-center gap-3 mb-4",children:(0,t.jsx)("h1",{className:"text-3xl md:text-4xl font-bold text-blue-600",children:"நம்பிக்கையை தொடர்புகொள்ள!"})}),(0,t.jsx)("p",{className:"text-gray-600 text-sm md:text-base",children:"உங்களுக்கு எதேனும் கேள்விகள் அல்லது சிக்கல்கள் இருந்தால், எங்கள் ஆதரவு குழுவிற்கு தொடர்பு கொள்ளவும்."})]}),(0,t.jsxs)("form",{onSubmit:u,className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-gray-700 font-semibold mb-2",children:"முழு பெயர்"}),(0,t.jsx)("input",{type:"text",id:"name",name:"name",value:e.name,onChange:m,placeholder:"உங்கள் பெயரை உள்ளிடவும்",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",suppressHydrationWarning:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-gray-700 font-semibold mb-2",children:"மின்னஞ்சல் முகவரி"}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",value:e.email,onChange:m,placeholder:"உங்கள் மின்னஞ்சலை உள்ளிடவும்",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",suppressHydrationWarning:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"mobile",className:"block text-gray-700 font-semibold mb-2",children:"மொப
1ைல் எண்"}),(0,t.jsx)("input",{type:"tel",id:"mobile",name:"mobile",value:e.mobile,onChange:m,placeholder:"உங்கள் தொடர்பு எண்ணை உள்ளிடவும்",required:!0,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",suppressHydrationWarning:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"message",className:"block text-gray-700 font-semibold mb-2",children:"கூடுதல் தகவல்"}),(0,t.jsx)("textarea",{id:"message",name:"message",value:e.message,onChange:m,placeholder:"குறிப்பிட்ட தேவைகள் அல்லது விவரங்களை வழங்கவும்",rows:5,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent resize-none"})]}),"success"===c&&(0,t.jsx)("div",{className:"bg-green-50 border border-green-200 text-green-700 px-4 py-3 rounded-lg",children:"நன்றி! உங்கள் செய்தி வெற்றிகரமாக அனுப்பப்பட்டது."}),"error"===c&&(0,t.jsx)("div",{className:"bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg",children:"ஏதோ தவறு நடந்தது. மீண்டும் முயற்சிக்கவும்."}),(0,t.jsx)("button",{type:"submit",disabled:i,className:"w-full bg-red-600 hover:bg-red-700 text-white font-bold py-4 px-6 rounded-lg transition duration-300 disabled:opacity-50 disabled:cursor-not-allowed",children:i?"Sending...":"Submit"})]})]})})})]})}e.s(["default",()=>s])}]);

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.