PageSourceSearch

https://www.imagineai.live/_next/static/chunks/3906-1a26011b020365c2.js

js imagineai.live collected 2026-09-28 09:00:18 UTC 7,957 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3906],{93906:(e,t,r)=>{r.d(t,{default:()=>w});var a=r(95155),i=r(48173),l=r.n(i),n=r(5565),s=r(14390),o=r(12115),c=r(49420),d=r(25683),h=r(30742),u=r(12672);function m(e){let{formId:t,buttonStyle:r}=e,[i,l]=(0,o.useState)(""),[n,s]=(0,o.useState)("idle"),[m,x]=(0,o.useState)(""),{executeRecaptcha:p,isLoaded:g}=(0,u.V)("newsletter_subscribe"),v=async e=>{e.preventDefault(),s("loading"),x("");try{let e=await p(),r=await fetch("/api/submit-form",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({formId:t,formData:{email:i},recaptchaToken:e,recaptchaAction:"newsletter_subscribe"})}),a=await r.json();if(!r.ok)throw Error(a.error||"Subscription failed");s("success"),l("")}catch(e){s("error"),x(e instanceof Error?e.message:"Something went wrong")}};return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("form",{onSubmit:v,className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsx)("input",{type:"email",value:i,onChange:e=>l(e.target.value),placeholder:"Enter your email",required:!0,className:"flex-1 px-4 py-3 rounded-lg bg-[#1A1A1A] border border-gray-800 text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent transition-all",disabled:"loading"===n}),(0,a.jsx)(c.$,{variant:"primary",disabled:"loading"===n||!g,className:"whitespace-nowrap bg-purple-600 hover:bg-purple-700 text-white px-6 py-3 rounded-lg transition-colors",onClick:()=>{},children:"loading"===n?"Subscribing...":g?"Subscribe":"Loading..."})]}),(0,a.jsxs)(d.N,{mode:"wait",children:["success"===n&&(0,a.jsx)(h.P.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"text-green-400 text-sm",children:"Thanks for subscribing! \uD83C\uDF89"}),"error"===n&&(0,a.jsx)(h.P.p,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},className:"text-red-400 text-sm",children:m})]})]})}var x=r(13970);let p={twitter:x.TCj,youtube:x.Vk6,instagram:x.ao$,tiktok:x.kkU,linkedin:x.QEs,facebook:x.iYk};function g(e){let{links:t,className:r="",iconClassName:i="w-6 h-6"}=e;return(0,a.jsx)("div",{className:"flex justify-center space-x-8 ".concat(r),children:Object.entries(t).map(e=>{let[t,r]=e;if(!r)return null;let l=p[t];return l?(0,a.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-white transition-colors duration-200 hover:scale-110 transform","aria-label":"Follow us on ".concat(t),children:(0,a.jsx)(l,{className:i})},t):null})})}var v=r(74123),f=r(59371),y=r.n(f),b=r(43463),j=r(69795);function N(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,j.QP)((0,b.$)(t))}let C=y()(v.Sn);function w(e){var t,r,i,o,d,h;let{settings:u}=e;if(!u)return null;let x=e=>C.image(e).url();return(0,a.jsx)("footer",{style:{backgroundColor:(null===(t=u.backgroundColor)||void 0===t?void 0:t.hex)||"#000000",color:(null===(r=u.textColor)||void 0===r?void 0:r.hex)||"#FFFFFF"},className:"py-20 relative overflow-hidden",children:(0,a.jsxs)("div",{className:"container mx-auto px-4",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16 relative",children:[null===(i=u.columns)||void 0===i?void 0:i.map((e,t)=>{var r;return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)("h3",{className:"text-xl font-[900] tracking-tighter",children:e.title}),(0,a.jsx)("ul",{className:"space-y-4",children:null===(r=e.links)||void 0===r?void 0:r.map((e,t)=>(null==e?void 0:e.url)?(0,a.jsx)("li",{children:(0,a.jsx)(l(),{href:e.url,className:"text-gray-400 hover:text-white transition-colors duration-200 font-[900] tracking-tighter",children:e.label})},t):null)})]},t)}),(null===(o=u.alternativeCTA)||void 0===o?void 0:o.enabled)?(0,a.jsxs)("div",{className:N("lg:col-span-2",{"text-left":"left"===u.alternativeCTA.alignment,"text-center":"center"===u.alternativeCTA.alignment,"text-right":"right"===u.alternativeCTA.alignment}),children:[(0,a.jsx)("h3",{className:"text-xl font-[900] tracking-tighter mb-4",children:u.alternativeCTA.title}),u.alternativeCTA.description&&(0,a.jsx)("p",{className:"text-gray-400 mb-6 font-[900] tracking-tighter",children:u.alternativeCTA.description}),u.alternativeCTA.button&&(0,a.jsx)("div",{className:N("inline-block",{"w-full sm:w-auto":!0,"text-center":"center"===u.alternativeCTA.alignment,"text-right":"right"===u.alternativeCTA.alignment}),children:(0,a.jsx)(c.$,{href:u.alternativeCTA.button.link,variant:u.alternativeCTA.button.style||"primary",shape:u.alternativeCTA.button.shape||"rounded",customClasses:u.alternativeCTA.button.customClasses,customBackgroun
1dColor:u.alternativeCTA.button.customBackgroundColor,customTextColor:u.alternativeCTA.button.customTextColor,children:u.alternativeCTA.button.text})})]}):(null===(h=u.newsletter)||void 0===h?void 0:null===(d=h.form)||void 0===d?void 0:d._ref)&&(0,a.jsxs)("div",{className:"lg:col-span-2",children:[(0,a.jsx)("h3",{className:"text-xl font-[900] tracking-tighter mb-4",children:u.newsletter.title}),(0,a.jsx)("p",{className:"text-gray-400 mb-6 font-[900] tracking-tighter",children:u.newsletter.description}),(0,a.jsx)(m,{formId:u.newsletter.form._ref,buttonStyle:u.newsletter.buttonStyle||"primary"})]}),u.logo&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute top-0 right-0 w-48 opacity-90 hover:opacity-100 transition-opacity hidden lg:block",children:(0,a.jsx)(l(),{href:"/",className:"block",children:(0,a.jsx)("div",{className:"relative h-8",children:(0,a.jsx)(n.default,{src:x(u.logo),alt:"Footer Logo",fill:!0,className:"object-contain object-right",sizes:"192px",priority:!0})})})}),(0,a.jsx)("div",{className:"w-48 mx-auto opacity-90 hover:opacity-100 transition-opacity lg:hidden col-span-full mt-8",children:(0,a.jsx)(l(),{href:"/",className:"block",children:(0,a.jsx)("div",{className:"relative h-8",children:(0,a.jsx)(n.default,{src:x(u.logo),alt:"Footer Logo",fill:!0,className:"object-contain object-center",sizes:"192px",priority:!0})})})})]})]}),u.socialLinks&&(0,a.jsx)("div",{className:"mb-16",children:(0,a.jsx)(g,{links:u.socialLinks,className:"justify-center space-x-12",iconClassName:"w-7 h-7"})}),(0,a.jsxs)("div",{className:"text-center text-sm text-gray-400 border-t border-gray-800/30 pt-8 space-y-4",children:[(0,a.jsx)("div",{className:"tracking-tighter",children:(0,a.jsx)(s.RK,{value:u.bottomText})}),(0,a.jsxs)("div",{className:"text-xs tracking-tighter",children:["This site is protected by reCAPTCHA and the Google"," ",(0,a.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-gray-300 underline",children:"Privacy Policy"})," ","and"," ",(0,a.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-gray-300 underline",children:"Terms of Service"})," ","apply."]})]})]})})}},12672:(e,t,r)=>{r.d(t,{V:()=>i});var a=r(12115);let i=e=>{let[t,r]=(0,a.useState)(!1),i="6LdW2s0qAAAAAK3iIKG4kxlBMZnVvThb7pqDG--q";return(0,a.useEffect)(()=>{let e=document.createElement("style");if(e.innerHTML="\n      .grecaptcha-badge { \n        visibility: hidden !important;\n      }\n    ",document.head.appendChild(e),window.grecaptcha)r(!0);else{let e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?render=".concat(i),e.async=!0,e.defer=!0,e.onload=()=>r(!0),document.head.appendChild(e)}return()=>{e.remove()}},[i]),{executeRecaptcha:async()=>{if(!t)throw Error("reCAPTCHA has not loaded yet");try{return await window.grecaptcha.execute(i,{action:e})}catch(e){throw console.error("reCAPTCHA execution failed:",e),e}},isLoaded:t}}},74123:(e,t,r)=>{r.d(t,{Sn:()=>s});var a=r(31103),i=r(6219),l=r(87358);let n={projectId:i.Lg,dataset:i.RT,apiVersion:i.XV,useCdn:!0},s=(0,a.UU)(n);(0,a.UU)({...n,token:l.env.SANITY_API_WRITE_TOKEN,useCdn:!1})}}]);

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.