1import{r as j,j as t,ag as lt,d as nt,aB as ct,aq as dt,F as pt,ap as gt,ar as mt,ai as De,S as ke,L as xt}from"./vendor-react-Bm9P5gyi.js";import{u as ut,e as Ae,a as ht,L as ft,F as X,B as Fe,t as D}from"./index-C3uVhB8S.js";import{I as z}from"./input-D8fXkcUO.js";import{T as b,C as Ee,A as Pt}from"./AltchaWidget-DiEsoWpZ.js";import{L as ee}from"./label-NJH1ikOe.js";import{E as zt,a as Te}from"./vendor-pdf-1FsPxLLU.js";import{e as It}from"./pdfFont-DYFebIET.js";import"./vendor-trpc-BdaNlBA8.js";import"./vendor-radix-D-C7Dh51.js";import"./vendor-motion-DMZw6ONf.js";const te="process-profile-draft",$e=2,se=["costReduction","qualityImprovement","efficiency","customerSupport","riskCompliance","knowledgeManagement","employeeSatisfaction","transparency","innovation"],Be=se.reduce((n,w)=>(n[w]={selected:!1,note:""},n),{}),k={useCaseName:"",department:"",projectLead:"",istShort:"",istLong:"",goalShort:"",goals:Be,planShort:"",planLong:"",aiShort:"",aiLong:"",euAiAct:"",gdpr:"",expectedResult:"",timeCurrentInternal:"",costCurrentLicense:"",timeFutureInternal:"",costFutureLicense:"",timeImplInternal:"",costImplExternal:"",projectDuration:"",targetDate:"",notes:"",impact:""};function jt(){if(typeof window>"u")return k;try{const n=localStorage.getItem(te);if(!n)return k;const w=JSON.parse(n);return w?.version!==$e?k:{...k,...w.data,goals:{...Be,...w.data?.goals??{}}}}catch{return k}}const c="bg-uknow-dark/50 border-white/20 text-white mt-1";function N({title:n,required:w,children:s}){return t.jsx(X,{"data-loc":"client/src/pages/KIProzessProfil.tsx:121",children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:122",className:"bg-white/5 rounded-2xl border border-white/10 p-5 sm:p-6",children:[t.jsxs("h2",{"data-loc":"client/src/pages/KIProzessProfil.tsx:123",className:"text-lg font-bold text-white mb-4 flex items-center gap-2",children:[n,w&&t.jsx("span",{"data-loc":"client/src/pages/KIProzessProfil.tsx:124",className:"text-uknow-lime",children:"*"})]}),t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:126",className:"space-y-3",children:s})]})})}function l({children:n,required:w}){return t.jsxs(ee,{"data-loc":"client/src/pages/KIProzessProfil.tsx:134",className:"text-gray-300 text-sm",children:[n,w&&t.jsx("span",{"data-loc":"client/src/pages/KIProzessProfil.tsx:135",className:"text-uknow-lime",children:" *"})]})}function Ft(){const{isEnglish:n,getLocalizedPath:w}=ut(),[s,U]=j.useState(jt),[O,ae]=j.useState(""),[G,re]=j.useState(""),[oe,ie]=j.useState(""),[le,ne]=j.useState(""),[ce,de]=j.useState(""),[H,pe]=j.useState(!1),[q,W]=j.useState(""),[ge,me]=j.useState(!1),[A,xe]=j.useState([]),ue=j.useRef(null),Re=["application/pdf","image/jpeg","image/png","image/webp"],Me=10*1024*1024,he=A.reduce((e,r)=>e+r.size,0);function fe(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(2)} MB`}function Pe(e){const r=e.target.files;if(!r)return;const o=Array.from(r),h=[];let i=he;for(const u of o){if(!Re.includes(u.type)){D.error(n?`${u.name}: unsupported file type`:`${u.name}: Dateityp nicht erlaubt`);continue}if(i+u.size>Me){D.error(n?"Total size exceeds 10 MB":"GesamtgröÃe überschreitet 10 MB");break}i+=u.size,h.push(u)}h.length&&xe(u=>[...u,...h]),e.target.value=""}function Ue(e){xe(r=>r.filter((o,h)=>h!==e))}async function ze(){if(A.length===0)return[];const e=r=>new Promise((o,h)=>{const i=new FileReader;i.onload=()=>{const u=i.result,f=u.indexOf(",");o(f>=0?u.slice(f+1):u)},i.onerror=()=>h(i.error),i.readAsDataURL(r)});return Promise.all(A.map(async r=>({name:r.name,contentType:r.type||"application/octet-stream",contentBase64:await e(r)})))}const Oe=Ae.processProfile.submitInquiry.useMutation(),Ge=Ae.processProfile.notifyDownload.useMutation();j.useEffect(()=>{if(typeof window>"u")return;const e=window.setTimeout(()=>{try{localStorage.setItem(te,JSON.stringify({version:$e,data:s,timestamp:new Date().toISOString()}))}catch{}},400);return()=>window.clearTimeout(e)},[s]);const a=j.useMemo(()=>n?{title:"KI Prozess-Profil",desc:"Capture your AI use case in a structured, partner-ready process profile.",headerSub:"Document your AI use case as a structured process profile",back:"â Back to Pricing",reset:"Reset",masterData:"Master Data",useCaseN
1ame:"Use Case Name",department:"Department(s) involved",projectLead:"Project Lead",ist:"AS-IS Process",istShort:"Short description for profile",istLong:"Detailed description",istLongHint:"Description of the workflow and all involved systems, apps, data sources and storage systems that take part in the AS-IS process. You can also upload overviews, screenshots, drawings or images.",istAttachments:"Attachments",istAttachmentsHint:"PDF, JPG, PNG, WEBP - max. 10 MB total",istAttachmentsDrop:"Click or drag files here to upload",istAttachmentsTotal:"Total",goals:"Goals",goalShort:"Short description for profile",goalsTitle:"Goal Categories",plan:"Planned Implementation / Optimization",planShort:"Short description for profile",planLong:"Detailed description",ai:"AI Usage and Risk Assessment",aiShort:"Short description for profile",aiLong:"Detailed description",euAiAct:"Risk assessment per EU AI Act (optional)",gdpr:"Risk assessment per GDPR (optional)",expected:"Expected Result",expectedResult:"Description",rating:"Assessment and Classification",timeCurrentInternal:"Current time effort, internal",costCurrentLicense:"Current license costs (excluding time effort, e.g. costs for apps, systems, ...)",timeFutureInternal:"Future time effort, internal",costFutureLicense:"Future license costs",timeImplInternal:"Use case implementation time effort, internal",costImplExternal:"Use case implementation costs, external",projectDuration:"Use case implementation project duration",targetDate:"Use case implementation target date",notes:"Notes / Comments / Remarks",impact:"Impact / Benefit (business department(s))",impactLow:"Low",impactMid:"Medium",impactHigh:"High",summary:"Summary (Profile Page 1)",summaryNote:"This summary is automatically generated from your entries and matches page 1 of the template.",contactTitle:"Send profile & contact",contactDesc:"This form sends us your process profile and we will contact you to discuss your use case.",name:"Name",email:"Email",phone:"Phone (optional)",mobile:"Mobile (optional)",message:"Message (optional)",privacy:"I agree that my data will be used to process my inquiry. See our privacy policy.",downloadTitle:"Download Profile",downloadDesc:"Download your current profile as a non-binding PDF document. You will not be contacted.",downloadBtn:"Download PDF",send:"Send Inquiry",sending:"Sending...",required:"*",goalLabels:{costReduction:"Cost reduction",qualityImprovement:"Quality improvement",efficiency:"Efficiency improvement",customerSupport:"Customer service & support",riskCompliance:"Risk reduction & compliance",knowledgeManagement:"Knowledge management",employeeSatisfaction:"Employee satisfaction & relief",transparency:"Transparency & decision quality",innovation:"Innovation & competitiveness"}}:{title:"KI Prozess-Profil",desc:"Erfassen Sie Ihren KI Use Case strukturiert in einem partnerfähigen Prozess-Profil.",headerSub:"Dokumentieren Sie Ihren KI Use Case als strukturiertes Prozess-Profil",back:"â Zurück zu Preise",reset:"Zurücksetzen",masterData:"Stammdaten",useCaseName:"Bezeichnung des Use Cases",department:"Involvierte Fachabteilung/en",projectLead:"Projektverantwortliche/r",ist:"IST-Prozess",istShort:"Kurzbeschreibung für Prozess-Profil",istLong:"Detaillierte Beschreibung",istLongHint:"Beschreibung des Ablaufs und aller beteiligten Systeme, Apps, Datenquellen und Speichersysteme, die am IST-Prozess beteiligt sind. Es können auch Ãbersichten, Screenshots, Zeichnungen oder Bilder hochgeladen werden.",istAttachments:"Anhänge",istAttachmentsHint:"PDF, JPG, PNG, WEBP - max. 10 MB gesamt",istAttachmentsDrop:"Klicken oder Dateien hierher ziehen",istAttachmentsTotal:"Gesamt",goals:"Zielsetzung",goalShort:"Kurzbeschreibung für Prozess-Profil",goalsTitle:"Zielkategorien",plan:"Geplante Umsetzung / Optimierung",planShort:"Kurzbeschreibung für Prozess-Profil",planLong:"Detaillierte Beschreibung",ai:"KI-Einsatz und Risikobewertung",aiShort:"Kurzbeschreibung für Prozess-Profil",aiLong:"Detaillierte Beschreibung",euAiAct:"Risiko-Bewertung nach EU AI Act",gdpr:"Risiko-Bewertung nach DSGVO",expected:"Erwartetes Ergebnis",expectedResult:"Beschreibung",rating:"Bewertung und Einordnung",timeCurrentInternal:"Bisheriger Zeitaufwand intern",costCurrentLicense:"Bisherige Lizenzkosten (z. B. Kosten für Apps, Systeme, ...)",timeFutureInternal:"Zukünftiger Zeitaufwand intern",costFutureLicense:"Zukünftige Lizenzkosten",timeImplInternal:"Use Case Umsetzung Zeitaufwand intern",costImplExternal:"Use Case Umsetzung Kosten extern",projectDuration:"Use Case Umsetzung Projektlaufzeit",targetDate:"Use Case Umsetzung Zieltermin",notes:"Erläuterungen / Anmerkungen / Notizen",impact:"Impact / Nutzen Fachabteilung/en",
1impactLow:"Gering",impactMid:"Mittel",impactHigh:"Hoch",summary:"Zusammenfassung (Profil-Seite 1)",summaryNote:"Diese Zusammenfassung wird automatisch aus Ihren Eingaben erzeugt und entspricht Seite 1 der Vorlage.",contactTitle:"Profil senden & Kontaktaufnahme",contactDesc:"Mit diesem Formular wird uns Ihr Prozess-Profil zugesendet und wir melden uns bei Ihnen, um über Ihren Use Case zu sprechen.",name:"Name",email:"E-Mail",phone:"Telefon (optional)",mobile:"Mobil (optional)",message:"Nachricht (optional)",privacy:"Ich bin damit einverstanden, dass meine Daten zur Bearbeitung meiner Anfrage verwendet werden. Siehe Datenschutzerklärung.",downloadTitle:"Profil herunterladen",downloadDesc:"Laden Sie sich Ihr aktuelles Prozess-Profil unverbindlich als PDF-Dokument herunter. Sie werden nicht kontaktiert.",downloadBtn:"PDF herunterladen",send:"Anfrage senden",sending:"Wird gesendet...",required:"*",goalLabels:{costReduction:"Kostenreduzierung",qualityImprovement:"Qualitätsverbesserung",efficiency:"Effizienzsteigerung",customerSupport:"Kundenservice & Support verbessern",riskCompliance:"Risikoreduktion & Compliance",knowledgeManagement:"Wissens-Management",employeeSatisfaction:"Mitarbeiterzufriedenheit & -entlastung",transparency:"Transparenz & Entscheidungsqualität",innovation:"Innovations- & Wettbewerbsfähigkeit steigern"}},[n]);function m(e,r){U(o=>({...o,[e]:r}))}function Ie(e,r){U(o=>({...o,goals:{...o.goals,[e]:{...o.goals[e],...r}}}))}function He(){U(k);try{localStorage.removeItem(te)}catch{}D.success(n?"Profile reset.":"Prozess-Profil zurückgesetzt.")}const T=s.useCaseName.trim()&&s.istShort.trim()&&s.goalShort.trim()&&s.planShort.trim()&&s.aiShort.trim()&&s.expectedResult.trim();function je(){return se.filter(e=>s.goals[e].selected||s.goals[e].note.trim()).map(e=>({key:e,label:a.goalLabels[e],note:s.goals[e].note}))}function S(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function y(e){return S(e).replace(/\n/g,"<br>")}function _(){const e=je(),r=(P,v)=>v.trim()?`<tr><td style="padding:6px 10px;border:1px solid #e5e7eb;color:#6b7280;font-size:12px;width:40%;vertical-align:top;">${S(P)}</td><td style="padding:6px 10px;border:1px solid #e5e7eb;color:#152438;font-size:13px;">${y(v)}</td></tr>`:"";let o='<table style="width:100%;border-collapse:collapse;margin-bottom:18px;">';o+=r(a.useCaseName,s.useCaseName),o+=r(a.department,s.department),o+=r(a.projectLead,s.projectLead),o+="</table>";const h=(P,v,$="")=>` 2 <h3 style="margin:18px 0 6px;color:#152438;font-size:14px;border-bottom:2px solid #CEE409;padding-bottom:4px;">${S(P)}</h3> 3 <p style="margin:6px 0;color:#152438;font-size:13px;line-height:1.55;">${y(v)}</p> 4 ${$}`;o+=h(a.ist,s.istShort,s.istLong.trim()?`<p style="color:#374151;font-size:12px;line-height:1.55;white-space:pre-wrap;">${y(s.istLong)}</p>`:"");let i="";e.length&&(i='<ul style="margin:6px 0;padding-left:20px;color:#374151;font-size:12px;line-height:1.6;">'+e.map(P=>`<li><strong>${S(P.label)}</strong>${P.note.trim()?`: ${y(P.note)}`:""}</li>`).join("")+"</ul>"),o+=h(a.goals,s.goalShort,i),o+=h(a.plan,s.planShort,s.planLong.trim()?`<p style="color:#374151;font-size:12px;line-height:1.55;white-space:pre-wrap;">${y(s.planLong)}</p>`:"");let u="";s.aiLong.trim()&&(u+=`<p style="color:#374151;font-size:12px;line-height:1.55;white-space:pre-wrap;">${y(s.aiLong)}</p>`),s.euAiAct.trim()&&(u+=`<p style="margin:6px 0 0;color:#374151;font-size:12px;"><strong>EU AI Act:</strong> ${y(s.euAiAct)}</p>`),s.gdpr.trim()&&(u+=`<p style="margin:4px 0 0;color:#374151;font-size:12px;"><strong>DSGVO:</strong> ${y(s.gdpr)}</p>`),o+=h(a.ai,s.aiShort,u),o+=h(a.expected,s.expectedResult,"");const f=(P,v)=>v.trim()?`<tr><td style="padding:6px 10px;border:1px solid #e5e7eb;color:#6b7280;font-size:12px;width:45%;">${S(P)}</td><td style="padding:6px 10px;border:1px solid #e5e7eb;color:#152438;font-size:13px;">${S(v)}</td></tr>`:"";let x=`<h3 style="margin:18px 0 6px;color:#152438;font-size:14px;border-bottom:2px solid #CEE409;padding-bottom:4px;">${S(a.rating)}</h3>`;x+='<table style="width:100%;border-collapse:collapse;">',x+=f(a.timeCurrentInternal,s.timeCurrentInternal),x+=f(a.costCurrentLicense,s.costCurrentLicense),x+=f(a.timeFutureInternal,s.timeFutureInternal),x+=f(a.costFutureLicense,s.costFutureLicense),x+=f(a.timeImplInternal,s.timeImplInternal),x+=f(a.costImplExternal,s.costImplExternal),x+=f(a.projectDuration,s.projectDuration),x+=f(a.targetDate,
4s.targetDate),x+=f(a.notes,s.notes);const C={"":"",gering:a.impactLow,mittel:a.impactMid,hoch:a.impactHigh};return x+=f(a.impact,C[s.impact]),x+="</table>",o+=x,o}async function qe(){const e=new zt({orientation:"portrait",unit:"mm",format:"a4"}),r=await It(e),o=e.internal.pageSize.getWidth(),h=e.internal.pageSize.getHeight(),i=14,u=o-i*2,f=30,x=[21,36,56],C=[206,228,9],P=[31,41,55],v=new Date,$=`${v.getFullYear()}-${String(v.getMonth()+1).padStart(2,"0")}-${String(v.getDate()).padStart(2,"0")}`,Y=()=>{e.setFillColor(...x),e.rect(0,0,o,32,"F"),e.setFont(r,"bold"),e.setFontSize(19),e.setTextColor(255,255,255);const d="U-KNOW";e.text(d,i,16);const p=e.getTextWidth(d);e.setTextColor(...C),e.text(".AI",i+p,16),e.setFont(r,"normal"),e.setFontSize(9.5),e.setTextColor(...C),e.text(n?"AI Process Profile":"KI Prozess-Profil",i,24.5),e.setTextColor(160,172,186),e.setFontSize(8),e.text($,o-i,24.5,{align:"right"})};Y();let g=44;const B=d=>{g+d>h-f&&(e.addPage(),Y(),g=44)},_e=n?"Area":"Bereich",Ye=n?"Data/Details":"Daten/Angaben",Ze=[219,230,241],be=(d,p)=>({head:[[_e,Ye]],theme:"plain",styles:{font:r,lineColor:[255,255,255],lineWidth:.4,valign:"top"},headStyles:{fillColor:x,textColor:[255,255,255],fontSize:9.5,fontStyle:"bold",cellPadding:2.6},bodyStyles:{fontSize:9,cellPadding:2.6,textColor:P,fillColor:[255,255,255]},alternateRowStyles:{fillColor:Ze},rowPageBreak:"avoid",columnStyles:{0:{cellWidth:d,textColor:x,fontStyle:p?"bold":"normal"},1:{textColor:P}},margin:{left:i,right:i,top:44,bottom:f},didDrawPage:I=>{I.pageNumber>1&&Y()}});let Ke=0;const Z=d=>{Ke+=1,B(22),e.setFillColor(...C),e.rect(i,g,u,8.4,"F"),e.setFillColor(...x),e.rect(i,g,3.2,8.4,"F"),e.setFont(r,"bold"),e.setFontSize(11),e.setTextColor(...x),e.text(String(Ke),i+5,g+5.9),e.text(d,i+13,g+5.9),g+=15.5},V=(d,p={})=>{const I=p.size??9.5,L=p.lead??I*.56,J=p.indent??0,et=p.justify??!0,Ne=u-J;e.setFont(r,p.bold?"bold":"normal"),e.setFontSize(I),e.setTextColor(...p.color??P),d.split(/\n+/).map(Q=>Q.trim()).filter(Boolean).forEach((Q,tt)=>{tt>0&&(g+=L*.55);const Se=e.splitTextToSize(Q,Ne);Se.forEach((Ce,st)=>{B(L+2),e.setFont(r,p.bold?"bold":"normal"),e.setFontSize(I),e.setTextColor(...p.color??P);const at=st===Se.length-1,R=Ce.split(" ").filter(Boolean);if(et&&!at&&R.length>1){const rt=R.reduce((M,it)=>M+e.getTextWidth(it),0),ot=(Ne-rt)/(R.length-1);let Le=i+J;R.forEach(M=>{e.text(M,Le,g),Le+=e.getTextWidth(M)+ot})}else e.text(Ce,i+J,g);g+=L})}),g+=2},we=(d,p)=>{B(10),e.setFont(r,"bold"),e.setFontSize(9),e.setTextColor(...x),e.setFillColor(...C),e.circle(i+1.8,g-1.2,1,"F"),e.text(d,i+6,g),g+=4.8,p?V(p,{size:8.8,color:P,indent:6,lead:4.6}):g+=1,g+=1},F=[];s.useCaseName&&F.push([a.useCaseName,s.useCaseName]),s.department&&F.push([a.department,s.department]),s.projectLead&&F.push([a.projectLead,s.projectLead]),F.length&&(Z(a.masterData),Te(e,{startY:g,body:F,...be(58,!1)}),g=e.lastAutoTable.finalY+10);const E=(d,p,I,L)=>{Z(d),p.trim()&&V(p,{size:9.5,color:x,bold:!0,lead:5.4}),p.trim()&&I.trim()&&(g+=2),I.trim()&&V(I,{size:9.2,color:P,lead:5}),L&&L(),g+=7};E(a.ist,s.istShort,s.istLong),E(a.goals,s.goalShort,"",()=>{const d=je();d.length&&(g+=2,d.forEach(p=>we(p.label,p.note.trim())))}),E(a.plan,s.planShort,s.planLong),E(a.ai,s.aiShort,s.aiLong,()=>{const d=[];s.euAiAct.trim()&&d.push(["EU AI Act",s.euAiAct.trim()]),s.gdpr.trim()&&d.push([n?"GDPR":"DSGVO",s.gdpr.trim()]),d.length&&(g+=2,d.forEach(([p,I])=>we(p,I)))}),E(a.expected,s.expectedResult,"");const Ve={"":"",gering:a.impactLow,mittel:a.impactMid,hoch:a.impactHigh},K=[];s.timeCurrentInternal&&K.push([a.timeCurrentInternal,s.timeCurrentInternal]),s.costCurrentLicense&&K.push([a.costCurrentLicense,s.costCurrentLicense]),s.timeFutureInternal&&K.push([a.timeFutureInternal,s.timeFutureInternal]),s.costFutureLicense&&K.push([a.costFutureLicense,s.costFutureLicense]),s.timeImplInternal&&K.push([a.timeImplInternal,s.timeImplInternal]),s.costImplExternal&&K.push([a.costImplExternal,s.costImplExternal]),s.projectDuration&&K.push([a.projectDuration,s.projectDuration]),s.targetDate&&K.push([a.targetDate,s.targetDate]),s.notes&&K.push([a.notes,s.notes]),s.impact&&K.push([a.impact,Ve[s.impact]]),K.length&&(B(40),Z(a.rating),Te(e,{startY:g,body:K,...be(68,!0)}));const ve=e.getNumberOfPages(),Je=n?["u-know GmbH | Zeppelinstr. 73 | 81669 Munich | Germany","Managing Partners: Dr. Dieter Steiner, Sebastian Schreiner | VAT: DE354262402 | Tax Number: 143/188/70099","Commercial Register: Munich District Court, HR
4B 277900 | www.u-know.ai | [email protected]"]:["u-know GmbH | Zeppelinstr. 73 | 81669 München | Germany","Geschäftsführer: Dr. Dieter Steiner, Sebastian Schreiner | UID-Nr.: DE354262402 | Steuer-Nr.: 143/188/70099","Handelsregister: Amtsgericht München, HRB 277900 | www.u-know.ai | [email protected]"];for(let d=1;d<=ve;d++)e.setPage(d),e.setDrawColor(229,231,235),e.line(i,h-22,o-i,h-22),e.setFont(r,"normal"),e.setFontSize(6.5),e.setTextColor(140,140,140),Je.forEach((p,I)=>{e.text(p,o/2,h-18+I*3.5,{align:"center"})}),e.setFontSize(6.5),e.setTextColor(150,150,150),e.text(`${d} / ${ve}`,o/2,h-6,{align:"center"});const Qe=s.useCaseName.replace(/[^a-zA-Z0-9äöüÃÃÃÃ]/g,"_")||"Use_Case",Xe=`${$}_UâKNOW-AI_KI_Prozess-Profil_${Qe}.pdf`;e.save(Xe),D.success(n?"PDF downloaded successfully":"PDF erfolgreich heruntergeladen");const ye=await ze();Ge.mutate({profileHtml:_(),useCaseName:s.useCaseName||void 0,department:s.department||void 0,attachments:ye.length>0?ye:void 0})}async function We(e){if(e.preventDefault(),!(!q||!H||!T)){me(!0);try{const r=await ze(),o=await Oe.mutateAsync({name:O,email:G,phone:oe||void 0,mobile:le||void 0,message:ce||void 0,profileHtml:_(),useCaseName:s.useCaseName||void 0,department:s.department||void 0,altchaPayload:q,privacyConsent:!0,attachments:r.length>0?r:void 0});D.success(o.message),ae(""),re(""),ie(""),ne(""),de(""),pe(!1),W("")}catch(r){D.error(r?.message||(n?"Failed to send inquiry":"Anfrage konnte nicht gesendet werden"))}finally{me(!1)}}}return t.jsxs(t.Fragment,{children:[t.jsxs(lt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:755",children:[t.jsxs("title",{"data-loc":"client/src/pages/KIProzessProfil.tsx:756",children:[a.title," - UâKNOW.AI"]}),t.jsx("meta",{"data-loc":"client/src/pages/KIProzessProfil.tsx:757",name:"description",content:a.desc})]}),t.jsx(ht,{"data-loc":"client/src/pages/KIProzessProfil.tsx:759",children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:760",className:"min-h-screen pt-14 pb-16",children:[t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:762",className:"z-30 border-b border-border/50 bg-background/95 backdrop-blur-md lg:sticky lg:top-[64px]",children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:763",className:"container py-4 sm:py-5",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:764",className:"mb-3 flex flex-wrap items-center justify-between gap-2 sm:mb-4",children:[t.jsx(ft,{"data-loc":"client/src/pages/KIProzessProfil.tsx:765",href:w("/studio"),className:"text-sm text-uknow-lime hover:underline",children:a.back}),t.jsxs("button",{"data-loc":"client/src/pages/KIProzessProfil.tsx:768",onClick:He,className:"flex items-center gap-1.5 text-sm text-gray-400 transition-colors hover:text-white",children:[t.jsx(nt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:769",className:"w-4 h-4"})," ",a.reset]})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:772",className:"flex items-start gap-3 sm:gap-4",children:[t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:773",className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl bg-accent/10 sm:h-11 sm:w-11",children:t.jsx(ct,{"data-loc":"client/src/pages/KIProzessProfil.tsx:774",className:"h-4 w-4 text-accent sm:h-5 sm:w-5"})}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:776",className:"min-w-0",children:[t.jsx("h1",{"data-loc":"client/src/pages/KIProzessProfil.tsx:777",className:"text-[clamp(1.75rem,6vw,2.5rem)] font-bold leading-[0.95] text-white",children:a.title}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:778",className:"mt-2 max-w-3xl text-body text-sm sm:text-base",children:a.headerSub})]})]})]})}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:784",className:"container py-8 space-y-6",children:[t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:786",title:`1. ${a.masterData}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:787",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:788",required:!0,children:a.useCaseN
4ame}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:789",value:s.useCaseName,onChange:e=>m("useCaseName",e.target.value),maxLength:300,className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:791",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:792",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:793",children:a.department}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:794",value:s.department,onChange:e=>m("department",e.target.value),maxLength:300,className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:796",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:797",children:a.projectLead}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:798",value:s.projectLead,onChange:e=>m("projectLead",e.target.value),maxLength:300,className:c})]})]})]}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:804",title:`2. ${a.ist}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:805",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:806",required:!0,children:a.istShort}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:807",rows:3,value:s.istShort,onChange:e=>m("istShort",e.target.value),maxLength:1e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:809",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:810",children:a.istLong}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:811",className:"mt-1 text-xs text-gray-400 leading-relaxed",children:a.istLongHint}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:812",rows:10,value:s.istLong,onChange:e=>m("istLong",e.target.value),maxLength:5e3,className:`${c} min-h-40 resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:814",className:"space-y-3",children:[t.jsxs(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:815",children:[a.istAttachments,t.jsxs("span",{"data-loc":"client/src/pages/KIProzessProfil.tsx:817",className:"text-gray-400 text-xs ml-2",children:["(",a.istAttachmentsHint,")"]})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:819",className:"relative border-2 border-dashed border-white/20 rounded-xl p-6 text-center hover:border-uknow-lime/50 transition-colors cursor-pointer",onClick:()=>ue.current?.click(),onDragOver:e=>{e.preventDefault(),e.stopPropagation()},onDrop:e=>{e.preventDefault(),e.stopPropagation();const r=e.dataTransfer;if(r?.files){const o={target:{files:r.files,value:""}};Pe(o)}},children:[t.jsx(dt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:833",className:"w-8 h-8 text-uknow-lime/60 mx-auto mb-2"}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:834",className:"text-sm text-gray-400",children:a.istAttachmentsDrop}),t.jsx("input",{"data-loc":"client/src/pages/KIProzessProfil.tsx:835",ref:ue,type:"file",multiple:!0,accept:".pdf,.jpg,.jpeg,.png,.webp",className:"hidden",onChange:Pe})]}),A.length>0&&t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:845",className:"space-y-2",children:[A.map((e,r)=>t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:847",className:"flex items-center gap-3 bg-uknow-dark/50 border border-white/10 rounded-lg px-4 py-2.5",children:[e.type.startsWith("image/")?t.jsx("img",{"data-loc":"client/src/pages/KIProzessProfil.tsx:849",src:URL.createObjectURL(e),alt:e.name,className:"w-10 h-10 rounded object-cover shrink-0"}):t.jsx(pt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:851",className:"w-5 h-5 text-uknow-lime shrink-0"}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:853",className:"flex-1 min-w-0",children:[t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:854",className:"text-sm text-white truncate",children:e.name}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:855",className:"text-xs text-gray-400",children:fe(e.size)})]}),t.jsx("button",{"data-loc":"client/src/pages/KIProzessProfil.tsx:857",type:"button",onClick:()=>Ue(r),className:"text-gray-400 hover:text-red-400 transition-colors p-1",children:t.jsx(gt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:862",className:"w-4 h-4"})})]},r)),t.jsxs("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:866",className:"text-xs text-gray-400 text-right",children:[a.istAttachmentsTotal,": ",fe(he)," / 10 MB"]})]})]})]}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:875",title:`3. ${a.goals}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:876",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:877",required:!0,children:a.goalShort}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:878",rows:3,value:s.goal
4Short,onChange:e=>m("goalShort",e.target.value),maxLength:1e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:880",children:[t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:881",className:"text-gray-400 text-sm mb-2",children:a.goalsTitle}),t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:882",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:se.map(e=>t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:884",className:"rounded-xl border border-white/10 bg-uknow-dark/40 p-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:885",className:"flex items-start gap-2",children:[t.jsx(Ee,{"data-loc":"client/src/pages/KIProzessProfil.tsx:886",id:`goal-${e}`,checked:s.goals[e].selected,onCheckedChange:r=>Ie(e,{selected:r===!0}),className:"mt-1 border-white/30 data-[state=checked]:bg-uknow-lime data-[state=checked]:border-uknow-lime"}),t.jsx(ee,{"data-loc":"client/src/pages/KIProzessProfil.tsx:892",htmlFor:`goal-${e}`,className:"text-white text-sm cursor-pointer leading-tight",children:a.goalLabels[e]})]}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:896",rows:2,value:s.goals[e].note,onChange:r=>Ie(e,{note:r.target.value}),maxLength:500,placeholder:n?"Notes (optional)":"Notizen (optional)",className:`${c} mt-2 resize-none text-xs`})]},e))})]})]}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:911",title:`4. ${a.plan}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:912",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:913",required:!0,children:a.planShort}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:914",rows:3,value:s.planShort,onChange:e=>m("planShort",e.target.value),maxLength:1e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:916",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:917",children:a.planLong}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:918",rows:10,value:s.planLong,onChange:e=>m("planLong",e.target.value),maxLength:5e3,className:`${c} min-h-40 resize-none`})]})]}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:923",title:`5. ${a.ai}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:924",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:925",required:!0,children:a.aiShort}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:926",rows:3,value:s.aiShort,onChange:e=>m("aiShort",e.target.value),maxLength:1e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:928",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:929",children:a.aiLong}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:930",rows:10,value:s.aiLong,onChange:e=>m("aiLong",e.target.value),maxLength:5e3,className:`${c} min-h-40 resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:932",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:933",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:934",children:a.euAiAct}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:935",rows:3,value:s.euAiAct,onChange:e=>m("euAiAct",e.target.value),maxLength:1500,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:937",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:938",children:a.gdpr}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:939",rows:3,value:s.gdpr,onChange:e=>m("gdpr",e.target.value),maxLength:1500,className:`${c} resize-none`})]})]})]}),t.jsx(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:945",title:`6. ${a.expected}`,children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:946",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:947",required:!0,children:a.expectedResult}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:948",rows:4,value:s.expectedResult,onCh
4ange:e=>m("expectedResult",e.target.value),maxLength:2e3,className:`${c} resize-none`})]})}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:953",title:`7. ${a.rating}`,children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:954",className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:955",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:955",children:a.timeCurrentInternal}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:955",value:s.timeCurrentInternal,onChange:e=>m("timeCurrentInternal",e.target.value),maxLength:120,placeholder:n?"e.g. 20 person days / month":"z.B. 20 PT / Monat",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:956",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:956",children:a.costCurrentLicense}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:956",value:s.costCurrentLicense,onChange:e=>m("costCurrentLicense",e.target.value),maxLength:200,placeholder:"z.B. 5.000 EUR / Jahr",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:957",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:957",children:a.timeFutureInternal}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:957",value:s.timeFutureInternal,onChange:e=>m("timeFutureInternal",e.target.value),maxLength:120,placeholder:n?"e.g. 5 person days / month":"z.B. 5 PT / Monat",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:958",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:958",children:a.costFutureLicense}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:958",value:s.costFutureLicense,onChange:e=>m("costFutureLicense",e.target.value),maxLength:200,placeholder:"z.B. 8.000 EUR / Jahr",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:959",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:959",children:a.timeImplInternal}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:959",value:s.timeImplInternal,onChange:e=>m("timeImplInternal",e.target.value),maxLength:120,placeholder:n?"e.g. 20 person days":"z.B. 20 PT",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:960",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:960",children:a.costImplExternal}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:960",value:s.costImplExternal,onChange:e=>m("costImplExternal",e.target.value),maxLength:120,placeholder:"z.B. 15.000 EUR",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:961",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:961",children:a.projectDuration}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:961",value:s.projectDuration,onChange:e=>m("projectDuration",e.target.value),maxLength:120,placeholder:n?"e.g. 3 months":"z.B. 3 Monate",className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:962",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:962",children:a.targetDate}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:962",value:s.targetDate,onChange:e=>m("targetDate",e.target.value),maxLength:120,placeholder:"YYYY-MM-DD",className:c})]})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:964",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:965",children:a.notes}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:966",rows:4,value:s.notes,onChange:e=>m("notes",e.target.value),maxLength:3e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:968",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:969",children:a.impact}),t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:970",className:"flex gap-2 mt-2",children:["gering","mittel","hoch"].map(e=>{const r=e==="gering"?a.impactLow:e==="mittel"?a.impactMid:a.impactHigh,o=s.impact===e;return t.jsx("button",{"data-loc":"client/src/pages/KIProzessProfil.tsx:975",type:"button",onClick:()=>
4m("impact",o?"":e),className:`px-4 py-2 rounded-full text-sm border transition-colors ${o?"bg-uknow-lime text-uknow-dark border-uknow-lime font-semibold":"border-white/20 text-gray-300 hover:border-uknow-lime/50"}`,children:r},e)})})]})]}),t.jsxs(N,{"data-loc":"client/src/pages/KIProzessProfil.tsx:990",title:`8. ${a.summary}`,children:[t.jsxs("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:991",className:"text-gray-400 text-xs flex items-center gap-1.5",children:[t.jsx(mt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:991",className:"w-3.5 h-3.5"})," ",a.summaryNote]}),t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:992",className:"rounded-xl bg-white p-4 overflow-x-auto",dangerouslySetInnerHTML:{__html:_()}})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:996",className:"grid grid-cols-1 xl:grid-cols-2 gap-6",children:[t.jsx(X,{"data-loc":"client/src/pages/KIProzessProfil.tsx:997",children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:998",className:"bg-white/5 rounded-2xl border border-white/10 p-5 sm:p-6 h-full",children:[t.jsxs("h3",{"data-loc":"client/src/pages/KIProzessProfil.tsx:999",className:"text-lg font-bold text-white mb-3 flex items-center gap-2",children:[t.jsx(De,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1000",className:"w-5 h-5 text-uknow-lime"}),a.downloadTitle]}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1003",className:"text-body text-sm mb-4",children:a.downloadDesc}),t.jsxs(Fe,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1004",onClick:qe,disabled:!T,className:"w-full bg-uknow-lime text-uknow-dark hover:bg-uknow-lime/90 font-semibold sm:w-auto",size:"lg",children:[t.jsx(De,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1010",className:"w-4 h-4 mr-2"})," ",a.downloadBtn]}),!T&&t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1013",className:"text-xs text-gray-500 mt-2",children:n?"Please fill in the use case name, all section summaries and the expected result.":"Bitte Bezeichnung des Use Cases, alle Kurzbeschreibungen und das erwartete Ergebnis ausfüllen."})]})}),t.jsx(X,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1020",children:t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1021",className:"bg-white/5 rounded-2xl border border-white/10 p-5 sm:p-6",children:[t.jsxs("h3",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1022",className:"text-lg font-bold text-white mb-3 flex items-center gap-2",children:[t.jsx(ke,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1023",className:"w-5 h-5 text-uknow-lime"}),a.contactTitle]}),t.jsx("p",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1026",className:"text-body text-sm mb-4",children:a.contactDesc}),t.jsxs("form",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1027",onSubmit:We,className:"space-y-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1028",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1029",required:!0,children:a.name}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1030",value:O,onChange:e=>ae(e.target.value),required:!0,maxLength:200,className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1032",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1033",required:!0,children:a.email}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1034",type:"email",value:G,onChange:e=>re(e.target.value),required:!0,maxLength:255,className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1036",className:"grid grid-cols-2 gap-3",children:[t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1037",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1038",children:a.phone}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1039",type:"tel",value:oe,onChange:e=>ie(e.target.value),maxLength:50,className:c})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1041",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1042",children:a.mobile}),t.jsx(z,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1043",type:"tel",value:le,onChange:e=>ne(e.target.value),maxLength:50,className:c})]})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1046",children:[t.jsx(l,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1047",children:a.message}),t.jsx(b,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1048",rows:3,value:ce,onChange:e=>de(e.target.value),maxLength:2e3,className:`${c} resize-none`})]}),t.jsxs("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1050",className:"flex items-start gap-2",children:[t.jsx(Ee,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1051",id:"profile-privacy",checked:H,onCheckedChange:e=>pe(e===!0),className:"mt-1 border-white/30 data-[state=checked]:bg-uknow-lime data-[state=checked]:border-uknow-lime"}),t.jsx(ee,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1057",htmlFor:"profile-privacy",className:"text-gray-400 text-xs leading-relaxed cursor-pointer",children:a.privacy})]}),t.jsx("div",{"data-loc":"client/src/pages/KIProzessProfil.tsx:1061",className:"pt-1",children:t.jsx(Pt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1062",onVerified:W,onError:()=>W("")})}),t.jsx(Fe,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1064",type:"submit",disabled:ge||!H||!q||!O||!G||!T,className:"bg-uknow-lime text-uknow-dark hover:bg-uknow-lime/90 font-semibold w-full",size:"lg",children:ge?t.jsxs(t.Fragment,{children:[t.jsx(xt,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1071",className:"w-4 h-4 mr-2 animate-spin"})," ",a.sending]}):t.jsxs(t.Fragment,{children:[t.jsx(ke,{"data-loc":"client/src/pages/KIProzessProfil.tsx:1073",className:"w-4 h-4 mr-2"})," ",a.send]})})]})]})})]})]})]})})]})}export{Ft as default};
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.