1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9692],{1911:(e,a,t)=>{t.d(a,{A:()=>n});let n=(0,t(77161).A)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]])},16434:(e,a,t)=>{t.d(a,{A:()=>h});var n=t(37876),i=t(1911),r=t(14232),s=t(67819),l=t(77232);let o=l.Ay.div.withConfig({displayName:"animatedSelect.styled__StyledWrapper",componentId:"sc-1c19bd45-0"})(["width:100%;position:relative;margin-bottom:16px;"]),d=l.Ay.label.withConfig({displayName:"animatedSelect.styled__Label",componentId:"sc-1c19bd45-1"})(["position:absolute;top:-7px;left:16px;font-size:12px;font-weight:500;padding:0 4px;background:#fff;z-index:3;color:",";"],e=>{let{status:a}=e;return"error"===a?"#ef4444":"success"===a?"#10b981":"#6b7280"}),c=l.Ay.input.withConfig({displayName:"animatedSelect.styled__StyledInput",componentId:"sc-1c19bd45-2"})(["width:100%;padding:14px 14px;padding-right:40px;font-size:15px;border:1.5px solid ",";border-radius:10px;background:#fff;color:#111827;outline:none;transition:all 0.25s;&:focus{border-color:",";}"],e=>{let{status:a}=e;switch(a){case"error":return"#ef4444";case"success":return"#10b981";default:return"#d1d5db"}},e=>{let{status:a}=e;return"error"===a?"#ef4444":"success"===a?"#10b981":"#2563eb"}),p=l.Ay.div.withConfig({displayName:"animatedSelect.styled__IconWrapper",componentId:"sc-1c19bd45-3"})(["position:absolute;right:14px;top:14px;z-index:4;svg{width:20px;height:20px;color:",";}"],e=>{let{status:a}=e;return"error"===a?"#ef4444":"success"===a?"#10b981":"#94a3b8"}),u=l.Ay.ul.withConfig({displayName:"animatedSelect.styled__StyledDropdown",componentId:"sc-1c19bd45-4"})(["position:absolute;top:calc(100% + 6px);left:0;width:100%;max-height:240px;overflow-y:auto;background:#fff;border-radius:10px;border:1px solid #d1d5db;box-shadow:0px 8px 16px rgba(0,0,0,0.12);padding:6px 0;z-index:20;"]),m=l.Ay.li.withConfig({displayName:"animatedSelect.styled__StyledOption",componentId:"sc-1c19bd45-5"})(["padding:12px 14px;font-size:15px;cursor:",";color:",";border-radius:6px;&:hover{background:",";}"],e=>{let{disabled:a}=e;return a?"default":"pointer"},e=>{let{disabled:a}=e;return a?"#9ca3af":"#0f172a"},e=>{let{disabled:a}=e;return a?"#fff":"#f3f4f6"}),x=l.Ay.div.withConfig({displayName:"animatedSelect.styled__MessageText",componentId:"sc-1c19bd45-6"})(["font-size:11px;margin-top:4px;min-height:14px;color:",";"],e=>{let{status:a}=e;return"error"===a?"#ef4444":"#10b981"}),h=e=>{let{name:a,label:t,options:l=[],placeholder:h="",required:g=!1,message:f="Bu alan zorunludur",onChange:b}=e,{formData:y,onChange:k,errors:v,registerValidation:w}=(0,s.x)(),[j,A]=(0,r.useState)(!1),[S,z]=(0,r.useState)(""),[C,N]=(0,r.useState)(!1),_=y[a]||"";(0,r.useEffect)(()=>{g&&w(a,{required:!0,message:f})},[]);let F=l.find(e=>e.value===_),I=j||C?S:(null==F?void 0:F.label)||"",E=l.filter(e=>e.label.toLowerCase().includes(S.toLowerCase())),K=v[a]?"error":_?"success":"default";return(0,n.jsxs)(o,{children:[(0,n.jsx)(d,{isActive:C||!!_,status:K,error:"error"===K,hasIcon:!0,children:t}),(0,n.jsx)(p,{status:K,children:(0,n.jsx)(i.A,{})}),(0,n.jsx)(c,{autoComplete:"off",name:a,placeholder:h,value:I,status:K,hasIcon:!0,onFocus:()=>{A(!0),N(!0)},onBlur:()=>{setTimeout(()=>{A(!1),N(!1),z("")},150)},onChange:e=>{z(e.target.value),_&&k({target:{name:a,value:""}})}}),j&&(0,n.jsx)(u,{children:E.length>0?E.map(e=>(0,n.jsx)(m,{onClick:()=>{var t;k({target:{name:a,value:t=e.value}}),null==b||b(t,a),z(""),A(!1),N(!1)},children:e.label},e.value)):(0,n.jsx)(m,{disabled:!0,children:"Sonu\xe7 bulunamadı"})}),v[a]&&(0,n.jsx)(x,{status:"error",children:v[a]})]})}},59692:(e,a,t)=>{t.r(a),t.d(a,{default:()=>v});var n=t(37876),i=t(8835),r=t(84302),s=t(72356),l=t(36160),o=t(14232),d=t(67819),c=t(68469),p=t(25172),u=t(16434),m=t(46132),x=t(11104),h=t(49176),g=t(40941),f=t(17444);let b=t(77232).Ay.section.withConfig({displayName:"homeContactForm.styled__HomeContactFormStyled",componentId:"sc-d67c9f3-0"})(["margin:50px 0;width:100%;display:flex;justify-content:center;align-items:center;.contactForm-container{max-width:1400px;margin:0 auto;width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:start;padding:0px 0px;min-height:520px;column-gap:40px;@media (max-width:","){grid-template-columns:1fr;padding:0 16px;min-height:auto;}}.contactForm-left{display:flex;flex-direction:column;justify-content:flex-start;gap:15px;min-height:200px;img{width:100%;margin-top:20px;}@media (max-width:","){text-align:center;display:none;min-height:auto;align-items:center;}}.contactForm-rights{display:flex;justify-content:flex-end;width:100%;align-items:flex-start;@media (max-width:","){justify-content:center;}}.contactForm-right{background-color:#ffffff;box-shadow:0 4px 12px rgba(0,0,0,0.08);border:1px solid #00000036;border-radius:22px;width:100%;max-width:470px;min-height:480px;@media (max-width:","){min-height:auto;}}.contactForm-rightContainer{display:flex;flex-direction:column;padding:40px;> div,input,.smart-input,.animated-select{min-height:52px;}}.success-wrapper{text-align:center;padding:60px 25px 70px;animation:fadeSuccess 0.35s ease;}@keyframes fadeSuccess{from{opacity:0;transform:scale(0.97);}to{opacity:1;transform:scale(1);}}.success-icon{width:80px;height:80px;color:#10b981;margin-bottom:16px;}.success-title{font-size:26px;font-weight:700;color:#222;margin-bottom:10px;}.success-text{font-size:15px;color:#555;line-height:22px;margin-bottom:26px;}.success-btn{border:none;background:#10b981;color:#fff;padding:12px 28px;border-radius:12px;cursor:pointer;font-size:15px;transition:0.2s;font-weight:600;&:hover{background:#0d8d6e;}}"],f.z.md,f.z.md,f.z.md,f.z.md),y={online:"Online SatıŠPlatformu",kurumsal:"Kurumsal Site"},k=e=>{let{desc:a}=e,{formData:t,setFormData:f,isFormValidate:b}=(0,d.x)(),k=i.rB.flatMap((e,a)=>i.U$.map((t,n)=>({value:10*a+n+1,label:`${y[e.key]||e.label} â ${t} Paket`}))),[v,w]=(0,o.useState)({show:!1,message:"",type:"success"}),[j,A]=(0,o.useState)(!1),S=(0,o.useCallback)(async()=>{var e;let a=await b();if((null==t?void 0:t.kvkkCallMe)&&a)f({kvkkError:""});else{(null==t?void 0:t.kvkkCallMe)||f({kvkkError:"KVKK onayı gereklidir."});return}let n=(null==(e=k.find(e=>e.value===(null==t?void 0:t.package)))?void 0:e.label)||"";try{let e=await (0,r.bl)({MesajTipi:"iletisim",Email:null==t?void 0:t.email,Ad:null==t?void 0:t.nameSurname,Mesaj:null==t?void 0:t.acente,Konu:`Se\xe7ilen Paket ${n}, KVKK:"Kvkk Onaylandı`,Telefon:(0,s.xs)(null==t?void 0:t.phone)});
1!0===e.Status?(A(!0),f({acente:"",nameSurname:"",email:"",phone:"",package:""})):w({show:!0,message:e.Message||"Bir hata oluÅtu, l\xfctfen tekrar deneyin.",type:"error"})}catch(e){w({show:!0,message:"Sunucuya baÄlanırken hata oluÅtu.",type:"error"})}},[t,b]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"contactForm-container",children:[(0,n.jsxs)("div",{className:"contactForm-left",children:[(0,n.jsx)(p.A,{as:"span",variant:"title2x",weight:"bold",color:{group:"greyColor",shade:"700"},children:"Sizi Arayalım, İhtiya\xe7larınıza En Uygun \xc7\xf6z\xfcm\xfc Sunalım"}),!a&&(0,n.jsx)(p.A,{as:"p",variant:"large",weight:"regular",color:{group:"greyColor",shade:"300"},children:"Acentenizin ihtiya\xe7ları i\xe7in \xf6zenle tasarlanan Acente365, merkezi kontrol paneliyle t\xfcm ihtiya\xe7larınızı ister web panelinden ister mobil uygulamadan sınırsız eriÅim saÄlar."}),(0,n.jsx)(c.A,{width:520,height:350,src:"/image/yapayZeka/5.svg",alt:"Veri G\xfcvenli Adam",sizes:"(max-width: 768px) 100vw, 520px",style:{width:"100%",borderRadius:"12px"}})]}),(0,n.jsx)("div",{className:"contactForm-rights",children:(0,n.jsx)("div",{className:"contactForm-right",children:j?(0,n.jsxs)("div",{className:"success-wrapper",children:[(0,n.jsx)(l.A,{className:"success-icon"}),(0,n.jsx)("h3",{className:"success-title",children:"G\xf6nderildi!"}),(0,n.jsx)("p",{className:"success-text",children:"Bilgileriniz baÅarıyla alındı. SatıŠekibimiz sizlere en kısa s\xfcrede geri d\xf6n\xfcÅ saÄlayacaktır."}),(0,n.jsx)("button",{className:"success-btn",onClick:()=>{A(!1),f({kvkkCallMe:!1,kvkkError:""})},children:"Tamam"})]}):(0,n.jsxs)("div",{className:"contactForm-rightContainer",children:[(0,n.jsx)(m.A,{name:"acente",label:"Acente Adı",required:!0,message:"L\xfctfen acente ismi girin."}),(0,n.jsx)(m.A,{name:"nameSurname",label:"Ad Soyad",required:!0,onlyLetters:!0,message:"L\xfctfen ad soyad giriniz."}),(0,n.jsx)(m.A,{inputTypeForMask:"phone",name:"phone",label:"Cep Telefonu",required:!0,message:"Telefon no zorunludur"}),(0,n.jsx)(m.A,{name:"email",label:"Email",required:!0,message:"Email boÅ bırakılamaz"}),(0,n.jsx)(u.A,{name:"package",label:"\xdcr\xfcn / Paket",value:t.package,options:k,required:!0,menuPortalTarget:document.body,styles:{menuPortal:e=>({...e,zIndex:999999})},message:"L\xfctfen paket se\xe7in."}),(0,n.jsx)(h.A,{name:"kvkkCallMe",label:"<strong>KVKK Metnini</strong> okudum ve onaylıyorum"}),(null==t?void 0:t.kvkkError)&&(0,n.jsx)("div",{style:{color:"#e63946",fontSize:"12px",marginTop:"-6px",marginBottom:"8px"},children:t.kvkkError}),(0,n.jsx)(x.A,{onClick:S,label:"G\xf6nder"})]})})})]}),v.show&&(0,n.jsx)(g.A,{message:v.message,type:v.type,duration:4e3,onClose:()=>w(e=>({...e,show:!1}))})]})},v=e=>{let{desc:a}=e;return(0,n.jsx)(b,{children:(0,n.jsx)(d.O,{children:(0,n.jsx)(k,{desc:a})})})}}}]);
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.