PageSourceSearch

https://icmimar.ai/_next/static/chunks/17262-65c146fa6fa994f0.js

js icmimar.ai collected 2026-10-05 12:23:46 UTC 8,586 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17262],{17262:(e,t,i)=>{i.d(t,{A:()=>n});var r=i(20421),o=i(82369);function n(e){let{isOpen:t,onClose:i,context:n,brandName:a="TRTEX"}=e,[s,d]=(0,o.useState)(""),[c,m]=(0,o.useState)(""),[g,u]=(0,o.useState)(""),[f,p]=(0,o.useState)(""),[h,y]=(0,o.useState)(!1),[x,A]=(0,o.useState)("FORM"),[S,b]=(0,o.useState)(""),[v,j]=(0,o.useState)(null),[T,B]=(0,o.useState)(null);if(!t)return null;let E={TENDER:{title:"İHALE TEKLİF FORMU",sub:"Bu ihaleye ilginizi bildirin. TRTEX AI sizi alıcıyla eşleştirecek.",icon:"",color:"#DC2626"},HOT_STOCK:{title:"STOK SATIN ALMA TALEBİ",sub:"Bu fırsatla ilgilendiğinizi bildirin. Stok sahiplerine iletilecek.",icon:"",color:"#16A34A"},CAPACITY:{title:"\xdcRETİM ORTAKLIĞI BAŞVURUSU",sub:"Fason/ortaklık talebinizi iletin. AI eşleştirme başlasın.",icon:"",color:"#EAB308"},BRIEFING:{title:"HAFTALIK CEO BRİFİNGİ",sub:"Her Pazartesi sabahı sekt\xf6r\xfcn en kritik 3 sinyalini alın.",icon:"",color:"#3B82F6"},PERDE_DESIGN:{title:"B2B TASARIM & \xdcRETİM TEKLİFİ",sub:"Bu tasarım i\xe7in \xf6zel fiyat teklifi hazırlayalım. \xdcretici ekibimiz sizinle iletişime ge\xe7ecek.",icon:"",color:"#8B7355"},GENERAL:{title:"İSTİHBARAT ALARMI",sub:"Bu fırsata ilginizi bildirin.",icon:"",color:"#8B5CF6"}},z=E[n.type]||E.GENERAL;async function k(e){e.preventDefault(),y(!0),setTimeout(()=>{var e;j(["gmail.com","yahoo.com","hotmail.com","outlook.com","icloud.com","yandex.com"].includes(null==(e=s.split("@")[1])?void 0:e.toLowerCase())?{isCorporate:!1,score:45}:{isCorporate:!0,score:92}),y(!1),A("OTP")},1200)}async function R(e){if(e.preventDefault(),!(S.length<6)){y(!0);try{let e=await fetch("/api/leads/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:s.split("@")[0],email:s,company:c,phone:g,message:f,role:"buyer",context_type:n.type,context_title:n.title||"",context_location:n.location||"",context_score:n.score||0,kyb_score:(null==v?void 0:v.score)||50,is_corporate:(null==v?void 0:v.isCorporate)||!1,source:"trtex_terminal",createdAt:new Date().toISOString()})}),t=await e.json();t.instant_offer&&B(t.instant_offer),A("SUCCESS")}catch(e){console.error("Lead submit error:",e)}finally{y(!1)}}}return(0,r.jsx)("div",{style:{position:"fixed",inset:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.85)",backdropFilter:"blur(8px)"},onClick:i,children:(0,r.jsxs)("div",{style:{background:"#0A0A0A",border:"1px solid #333",maxWidth:"520px",width:"90%",padding:"0",position:"relative"},onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)("div",{style:{background:z.color,padding:"1.2rem 1.5rem",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{style:{fontFamily:"var(--m)",fontSize:".65rem",opacity:.8,letterSpacing:"0.15em"},children:"TRTEX TCARET AI"}),(0,r.jsxs)("div",{style:{fontSize:"1.1rem",fontWeight:900,letterSpacing:"-0.02em"},children:[z.icon," ",z.title]})]}),(0,r.jsx)("button",{onClick:i,style:{background:"none",border:"none",color:"#fff",fontSize:"1.5rem",cursor:"pointer",fontWeight:300}})]}),"SUCCESS"===x&&(0,r.jsxs)("div",{style:{padding:"3rem 2rem",textAlign:"center"},children:[T?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{fontSize:"3rem",marginBottom:"1rem"}}),(0,r.jsx)("div",{style:{fontSize:"1.3rem",fontWeight:800,marginBottom:".5rem",color:"#16A34A"},children:"LK TEKLFNZ HAZIR"}),(0,r.jsxs)("div",{style:{fontSize:".85rem",color:"#ccc",lineHeight:1.6,marginBottom:"1.5rem",textAlign:"left",background:"#111",padding:"1rem",border:"1px solid #333"},children:[(0,r.jsxs)("div",{style:{marginBottom:"0.5rem"},children:[(0,r.jsx)("strong",{children:" Tahmini Fiyat:"})," ",T.estimated_price]}),(0,r.jsxs)("div",{style:{marginBottom:"0.5rem"},children:[(0,r.jsx)("strong",{children:" Teslim Sresi:"})," ",T.lead_time]}),(0,r.jsxs)("div",{style:{marginBottom:"0.5rem"},children:[(0,r.jsx)("strong",{children:" nerilen Kumaş:"})," ",T.suggested_material]}),(0,r.jsx)("div",{style:{color:"#EAB308",marginTop:"1rem",fontWeight:"bold"},children:T.match_status})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{style:{fontSize:"3rem",marginBottom:"1rem"}}),(0,r.jsx)("div",{style:{fontSize:"1.3rem",fontWeight:800,marginBottom:".5rem",color:"#fff"},children:"TALEBNZ ALINDI VE ONAYLANDI"}),(null==v?void 0:v.isCorporate)?(0,r.jsxs)("div",{style:{background:"rgba(22, 163, 74, 0.1)",border:"1px solid #16A34A",padding:"1rem",marginBottom:"1.5rem"},children:[(0,r.jsx)("div",{style:{color:"#16A34A",fontWeight:900,fontSize:"0.8rem",marginBottom:"0.3rem"},children:"[KYB ONAYLI: KURUMSAL ALICI]"}),(0,r.jsxs)("div",{style:{color:"#ccc",fontSize:"0.8rem"},children:["Gven skorunuz yksek (",v.score,"/100). Talebiniz dorudan retici ana iletildi."]})]}):(0,r.jsxs)("div",{style:{background:"rgba(234, 179, 8, 0.1)",border:"1px solid #EAB308",padding:"1rem",marginBottom:"1.5rem"},children:[(0,r.jsx)("div",{style:{color:"#EAB308",fontWeight:900,fontSize:"0.8rem",marginBottom:"0.3rem"},children:"[KYB: BREYSEL/STANDART MAL]"}),(0,r.jsx)("div",{style:{color:"#ccc",fontSize:"0.8rem"},children:"Talebiniz moderasyon (manuel onay) havuzuna alnd. Onay sonras reticilere iletilecektir."})]})]}),(0,r.jsx)("button",{onClick:i,style:{background:z.color,border:"none",color:"#fff",padding:".8rem 2rem",fontWeight:800,fontSize:".85rem",cursor:"pointer",letterSpacing:"0.05em"},children:"PANELDEN IK"})]}),"OTP"===x&&(0,r.jsxs)("form",{onSubmit:R,style:{padding:"2.5rem 1.5rem",textAlign:"center"},children:[(0,r.jsx)("div",{style:{fontSize:"2.5rem",marginBottom:"1rem"}}),(0,r.jsx)("div",{style:{fontSize:"1.1rem",fontWeight:800,color:"#fff",marginBottom:"0.5rem"},children:"E-POSTA DORULAMASI"}),(0,r.jsxs)("div",{style:{fontSize:"0.85rem",color:"#999",marginBottom:"2rem",lineHeight:1.5},children:["TRTex ekosisteminde sahte talepleri engellemek iin ltfen ",(0,r.jsx)("strong",{children:s})," adresine gnderilen 6 haneli dorulama kodunu girin."]}),(0,r.jsx)("input",{type:"text",required:!0,placeholder:"000000",maxLength:6,value:S,onChange:e=>b(e.target.value.replace(/\D/g,"")),style:{...l,textAlign:"center",fontSize:"1.5rem",letterSpacing:"0.5em",padding:"1rem",marginBottom:"1rem"}}),(0,r.jsx)("button",{type:"submit",disabled:h||6!==S.length,style:{width:"100%",padding:"1rem",background:z.color,border:"none",color:"#fff",fontWeight:900,fontSize:"0.9rem",cursor:"pointer",letterSpacing:"0.05em",opacity:h||6!==S.length?.5:1},children:h?"DOĞRULANIYOR...":"DOĞRULA VE G\xd6NDER"})]}),"FORM"===x&&(0,r.jsxs)("form",{onSubmit:k,style:{padding:"1.5rem"},children:[(0,r.jsx)("div",{style:{fontSize:".8rem",color:"#999",marginBottom:"1.2rem",lineHeight:1.5},children:z.sub}),n.title&&(0,r.jsxs)("div",{style:{background:"#111",border:"1px solid #333",padding:".8rem",marginBottom:"1.2rem",fontSize:".8rem"},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--m)",fontSize:".6rem",color:"#666",marginBottom:".3rem"},children:"LGLENDNZ FIRSAT"}),(0,r.jsx)("div",{style:{fontWeight:700,color:"#fff"},children:n.title}),n.location&&(0,r.jsx)("div",{style:{color:"#888",fontSize:".75rem",marginTop:".2rem"},children:n.location})]}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:".8rem"},children:[(0,r.jsx)("input",{type:"email",required:!0,placeholder:" E-posta Adresiniz *",value:s,onChange:e=>d(e.target.value),style:l}),(0,r.jsx)("input",{type:"text",required:!0,placeholder:"Firma Ad *",value:c,onChange:e=>m(e.target.value),style:l}),(0,r.jsx)("input",{type:"tel",placeholder:"Telefon (opsiyonel)",value:g,onChange:e=>u(e.target.value),style:l}),"BRIEFING"!==n.type&&(0,r.jsx)("textarea",{placeholder:"Mesajnz / rn Detaylar (opsiyonel)",value:f,onChange:e=>p(e.target.value),rows:3,style:{...l,resize:"vertical"}})]}),(0,r.jsx)("button",{type:"submit",disabled:h,style:{width:"100%",marginTop:"1.2rem",padding:".9rem",background:z.color,border:"none",color:"#fff",fontWeight:900,fontSize:".9rem",cursor:"pointer",letterSpacing:"0.05em",opacity:h?.5:1},children:h?"G\xdcVENLİK TARAMASI...":"BRIEFING"===n.type?"BRİFİNG ALMAYA BAŞLA":"TALEBİ G\xd6NDER"}),(0,r.jsx)("div",{style:{fontSize:".65rem",color:"#555",marginTop:".8rem",textAlign:"center",fontFamily:"var(--m)"},children:"TRTex Sovereign KYC (Know Your Business) protokol devrededir. Talepler OTP ve domain dorulamasna tabidir."})]})]})})}let l={background:"#111",border:"1px solid #333",padding:".75rem",color:"#fff",fontSize:".85rem",outline:"none",fontFamily:"inherit"}}}]);

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.