(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{1469:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,r){for(var a in r)Object.defineProperty(e,a,{enumerable:!0,get:r[a]})}(r,{default:function(){return o},getImageProps:function(){return n}});let t=a(8229),s=a(8883),l=a(3063),i=t._(a(1193));function n(e){let{props:r}=(0,s.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,a]of Object.entries(r))void 0===a&&delete r[e];return{props:r}}let o=l.Image},1671:(e,r,a)=>{"use strict";a.d(r,{NJ:()=>l,QW:()=>s});var t=a(9509);let s={email:"FinModelGuru@gmail.com",linkedinUrl:"https://www.linkedin.com/in/svetlana-radchenko/",linkedinLabel:"LinkedIn",whatsappDisplay:"+972 53 390 6927",whatsappUrl:"https://wa.me/972533906927",whatsappE164:"+972533906927",telegramHandle:"@FinModelGuru",telegramUrl:"https://t.me/FinModelGuru",location:"Based in Haifa, Israel \xb7 Working internationally",addressLocality:"Haifa",addressCountry:"IL"},l="https://carota.vc/about";t.env.NEXT_PUBLIC_GA_MEASUREMENT_ID,t.env.NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION},2085:(e,r,a)=>{"use strict";a.d(r,{F:()=>i});var t=a(2596);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=t.$,i=(e,r)=>a=>{var t;if((null==r?void 0:r.variants)==null)return l(e,null==a?void 0:a.class,null==a?void 0:a.className);let{variants:i,defaultVariants:n}=r,o=Object.keys(i).map(e=>{let r=null==a?void 0:a[e],t=null==n?void 0:n[e];if(null===r)return null;let l=s(r)||s(t);return i[e][l]}),d=a&&Object.entries(a).reduce((e,r)=>{let[a,t]=r;return void 0===t||(e[a]=t),e},{});return l(e,o,null==r||null==(t=r.compoundVariants)?void 0:t.reduce((e,r)=>{let{class:a,className:t,...s}=r;return Object.entries(s).every(e=>{let[r,a]=e;return Array.isArray(a)?a.includes({...n,...d}[r]):({...n,...d})[r]===a})?[...e,a,t]:e},[]),null==a?void 0:a.class,null==a?void 0:a.className)}},3741:(e,r,a)=>{"use strict";a.d(r,{Button:()=>o});var t=a(5155),s=a(2115),l=a(2085),i=a(9434);let n=(0,l.F)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"bg-brand-primary text-white hover:bg-brand-primary-hover shadow-sm",secondary:"bg-brand-accent text-white hover:bg-brand-accent-hover shadow-sm",outline:"border border-brand-primary text-brand-primary hover:bg-brand-primary hover:text-white",ghost:"hover:bg-brand-primary/10 hover:text-brand-primary",link:"text-brand-primary underline-offset-4 hover:underline"},size:{sm:"h-9 px-3 py-2 text-sm",md:"h-10 px-4 py-2",lg:"h-11 px-6 py-3 text-base"}},defaultVariants:{variant:"primary",size:"md"}}),o=(0,s.forwardRef)((e,r)=>{let{className:a,variant:s,size:l,loading:o,disabled:d,children:c,href:m,external:x,...u}=e,h=(0,i.cn)(n({variant:s,size:l,className:a}));return m?(0,t.jsxs)("a",{href:m,className:h,target:x?"_blank":void 0,rel:x?"noopener noreferrer":void 0,...u,children:[o&&(0,t.jsxs)("svg",{className:"mr-2 h-4 w-4 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),c]}):(0,t.jsxs)("button",{className:h,ref:r,disabled:d||o,...u,children:[o&&(0,t.jsxs)("svg",{className:"mr-2 h-4 w-4 animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),c]})});o.displayName="Button"},4048:(e,r,a)=>{Promise.resolve().then(a.bind(a,4313))},4313:(e,r,a)=>{"use strict";a.d(r,{ContactPageContent:()=>p});var t=a(5155),s=a(2115),l=a(6766),i=a(7367),n=a(2085),o=a(9434);let d=(0,n.F)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"border-border",error:"border-red-500 focus-visible:ring-red-500",success:"border-green-500 focus-visible:ring-green-500"}},defaultVariants:{variant:"default"}}),c=(0,s.forwardRef)((e,r)=>{let{className:a,variant:l,error:i,helperText:n,label:c,type:m,id:x,...u}=e,h=(0,s.useId)(),p=x||h,b=!!i;return(0,t.jsxs)("div",{className:"w-full",children:[c&&(0,t.jsxs)("label",{htmlFor:p,className:"block text-sm font-medium text-text-primary mb-1",children:[c,u.required&&(0,t.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,t.jsx)("input",{id:p,type:m,className:(0,o.cn)(d({variant:b?"error":l,className:a})),ref:r,"aria-invalid":b,"aria-describedby":i?"".concat(p,"-error"):n?"".concat(p,"-helper"):void 0,...u}),i&&(0,t.jsx)("p",{id:"".concat(p,"-error"),className:"mt-1 text-sm text-red-600",role:"alert",children:i}),n&&!i&&(0,t.jsx)("p",{id:"".concat(p,"-helper"),className:"mt-1 text-sm text-text-secondary",children:n})]})});c.displayName="Input";let m=(0,n.F)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"border-border",error:"border-red-500 focus-visible:ring-red-500",success:"border-green-500 focus-visible:ring-green-500"},resize:{none:"resize-none",vertical:"resize-y",horizontal:"resize-x",both:"resize"}},defaultVariants:{variant:"default",resize:"vertical"}}),x=(0,s.forwardRef)((e,r)=>{let{className:a,variant:l,error:i,helperText:n,label:d,resize:c,id:x,...u}=e,h=(0,s.useId)(),p=x||h,b=!!i;return(0,t.jsxs)("div",{className:"w-full",children:[d&&(0,t.jsxs)("label",{htmlFor:p,className:"block text-sm font-medium text-text-primary mb-1",children:[d,u.required&&(0,t.jsx)("span",{className:"text-red-500 ml-1",children:"*"})]}),(0,t.jsx)("textarea",{id:p,className:(0,o.cn)(m({variant:b?"error":l,resize:c,className:a})),ref:r,"aria-invalid":b,"aria-describedby":i?"".concat(p,"-error"):n?"".concat(p,"-helper"):void 0,...u}),i&&(0,t.jsx)("p",{id:"".concat(p,"-error"),className:"mt-1 text-sm text-red-600",role:"alert",children:i}),n&&!i&&(0,t.jsx)("p",{id:"".concat(p,"-helper"),className:"mt-1 text-sm text-text-secondary",children:n})]})});x.displayName="Textarea";var u=a(3741),h=a(1671);function p(){let[e,r]=(0,s.useState)({name:"",email:"",message:""}),[a,n]=(0,s.useState)(!1),[o,d]=(0,s.useState)(!1),[m,p]=(0,s.useState)(!1),b=a=>{r({...e,[a.target.name]:a.target.value})},g=[{id:"linkedin",name:"LinkedIn",url:h.QW.linkedinUrl,icon:"/images/linkedin-qr-en.png"},{id:"telegram",name:"Telegram",url:"https://t.me/FinModelGuru",icon:"/images/image11.png"},{id:"email",name:"Email",url:"mailto:finmodelguru@gmail.com",icon:"/images/image12.png"}];return(0,t.jsxs)("div",{className:"min-h-screen",children:[(0,t.jsx)(i.Navigation,{}),(0,t.jsx)("main",{className:"min-h-screen",style:{backgroundColor:"#FAF6F5"},children:(0,t.jsxs)("div",{className:"max-w-4xl mx-auto px-4 py-8",children:[(0,t.jsxs)("section",{className:"text-center mb-16",children:[(0,t.jsx)("h1",{className:"text-4xl md:text-5xl font-bold text-brand-primary mb-6",children:"Contact Block"}),(0,t.jsx)("p",{className:"text-xl text-text-secondary max-w-3xl mx-auto",children:"Ready to discuss your project? Contact me in a convenient way"})]}),(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-12 items-stretch",children:[(0,t.jsxs)("div",{className:"bg-white rounded-2xl p-8 shadow-sm",style:{display:"none"},children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-brand-primary mb-6",children:"Submit a Request"}),(0,t.jsxs)("form",{onSubmit:a=>{a.preventDefault(),n(!0);try{p(!1),d(!1),window.gtag&&window.gtag("event","form_submit",{event_category:"engagement",event_label:"contact_en",value:1}),console.log("Form submission:",{subject:"General Inquiry",source_page:"contact_en",timestamp:new Date().toISOString()}),console.log("Form data ready:",{name:e.name,email:e.email,message:e.message,source:"contact_en",timestamp:new Date().toISOString()}),r({name:"",email:"",message:""}),d(!0),setTimeout(()=>{d(!1)},5e3)}catch(e){console.error("Error:",e),p(!0),d(!1),setTimeout(()=>{p(!1)},5e3)}finally{n(!1)}},className:"space-y-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-text-primary mb-2",children:"Name *"}),(0,t.jsx)(c,{id:"name",name:"name",type:"text",value:e.name,onChange:b,required:!0,className:"bg-white border-gray-300 text-text-primary placeholder-gray-500 focus:border-brand-primary focus:ring-brand-primary",placeholder:"Enter your name"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-text-primary mb-2",children:"Email *"}),(0,t.jsx)(c,{id:"email",name:"email",type:"email",value:e.email,onChange:b,required:!0,className:"bg-white border-gray-300 text-text-primary placeholder-gray-500 focus:border-brand-primary focus:ring-brand-primary",placeholder:"Enter your email"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-text-primary mb-2",children:"Request *"}),(0,t.jsx)(x,{id:"message",name:"message",value:e.message,onChange:b,required:!0,rows:5,className:"bg-white border-gray-300 text-text-primary placeholder-gray-500 focus:border-brand-primary focus:ring-brand-primary resize-none",placeholder:"Describe your request or task"})]}),o&&(0,t.jsx)("div",{className:"p-4 bg-green-50 border border-green-200 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-green-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})})}),(0,t.jsx)("div",{className:"ml-3",children:(0,t.jsx)("p",{className:"text-sm font-medium text-green-800",children:"Request submitted! We will contact you shortly."})})]})}),m&&(0,t.jsx)("div",{className:"p-4 bg-red-50 border border-red-200 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("svg",{className:"w-5 h-5 text-red-400",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})})}),(0,t.jsx)("div",{className:"ml-3",children:(0,t.jsx)("p",{className:"text-sm font-medium text-red-800",children:"Error opening email client. Please try again."})})]})}),(0,t.jsx)(u.Button,{type:"submit",disabled:a,loading:a,className:"w-full bg-brand-primary text-white hover:bg-brand-primary-hover font-semibold py-3",size:"lg",children:a?"Sending...":"Submit Request"})]})]}),(0,t.jsxs)("div",{className:"bg-white rounded-2xl p-8 shadow-sm h-full",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold text-brand-primary mb-6",children:"QR codes for quick access"}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-6",children:g.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-4 p-4 bg-gray-50 rounded-xl hover:bg-gray-100 transition-all duration-200 group",children:[(0,t.jsx)("div",{className:"relative w-20 h-20 flex-shrink-0",children:(0,t.jsx)(l.default,{src:e.icon,alt:"".concat(e.name," QR Code"),fill:!0,className:"object-contain group-hover:scale-105 transition-transform duration-200"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-text-primary font-semibold text-lg",children:e.name}),(0,t.jsx)("div",{className:"text-text-secondary text-sm",children:"Scan QR code"}),(0,t.jsx)("div",{className:"text-text-secondary text-xs mt-1",children:e.url.replace("https://","").replace("mailto:","")})]})]},e.id))})]}),(0,t.jsxs)("div",{className:"bg-white rounded-2xl p-8 shadow-sm h-full",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold text-brand-primary mb-6",children:"Direct Contact"}),(0,t.jsxs)("div",{className:"space-y-4 text-text-secondary",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-semibold text-text-primary",children:"Email"}),(0,t.jsx)("a",{href:"mailto:".concat(h.QW.email),className:"hover:text-brand-primary transition-colors",children:h.QW.email})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-semibold text-text-primary",children:"LinkedIn"}),(0,t.jsx)("a",{href:h.QW.linkedinUrl,target:"_blank",rel:"noopener noreferrer",className:"hover:text-brand-primary transition-colors",children:h.QW.linkedinUrl.replace("https://","")})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-semibold text-text-primary",children:"WhatsApp"}),(0,t.jsx)("a",{href:h.QW.whatsappUrl,target:"_blank",rel:"noopener noreferrer",className:"hover:text-brand-primary transition-colors",children:h.QW.whatsappDisplay})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-semibold text-text-primary",children:"Telegram"}),(0,t.jsx)("a",{href:h.QW.telegramUrl,target:"_blank",rel:"noopener noreferrer",className:"hover:text-brand-primary transition-colors",children:h.QW.telegramHandle})]}),(0,t.jsx)("div",{className:"pt-2 text-text-primary",children:h.QW.location})]})]})]}),(0,t.jsx)("section",{className:"text-center mt-16",children:(0,t.jsxs)("div",{className:"bg-white rounded-2xl p-8 shadow-sm max-w-2xl mx-auto",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold text-brand-primary mb-4",children:"Let's work together"}),(0,t.jsx)("p",{className:"text-text-secondary text-lg",children:"Tell me about your task, and we will find the optimal solution. The first consultation will help understand how I can benefit your business."})]})})]})})]})}},6766:(e,r,a)=>{"use strict";a.d(r,{default:()=>s.a});var t=a(1469),s=a.n(t)}},e=>{e.O(0,[874,635,63,367,441,583,358],()=>e(e.s=4048)),_N_E=e.O()}]);