PageSourceSearch

https://kiyomizucv-rcmmt5ud.manus.space/assets/Home-CmC_O1Dq.js

js kiyomizucv-rcmmt5ud.manus.space collected 2026-10-03 05:02:48 UTC 142,656 bytes, 122 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/InterviewPractice-CDKVCLC1.js","assets/index-DWVpb5b1.js","assets/index-HLgdYByA.css","assets/documentExport-Qde6O8JI.js"])))=>i.map(i=>d[i]);
2import{c as C,r as k,j as e,C as ie,t as ue,i as he,a as E,_ as ke,b as qa,d as Ja,e as Ga,R as ye}from"./index-DWVpb5b1.js";/**
3 * @license lucide-react v0.453.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const Ya=C("ArrowDownAZ",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]]);/**
8 * @license lucide-react v0.453.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const Za=C("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/**
13 * @license lucide-react v0.453.0 - ISC
14 *
15 * This source code is licensed under the ISC license.
16 * See the LICENSE file in the root directory of this source tree.
17 */const Z=C("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
18 * @license lucide-react v0.453.0 - ISC
19 *
20 * This source code is licensed under the ISC license.
21 * See the LICENSE file in the root directory of this source tree.
22 */const Xa=C("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);/**
23 * @license lucide-react v0.453.0 - ISC
24 *
25 * This source code is licensed under the ISC license.
26 * See the LICENSE file in the root directory of this source tree.
27 */const Qa=C("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
28 * @license lucide-react v0.453.0 - ISC
29 *
30 * This source code is licensed under the ISC license.
31 * See the LICENSE file in the root directory of this source tree.
32 */const ee=C("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
33 * @license lucide-react v0.453.0 - ISC
34 *
35 * This source code is licensed under the ISC license.
36 * See the LICENSE file in the root directory of this source tree.
37 */const fe=C("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
38 * @license lucide-react v0.453.0 - ISC
39 *
40 * This source code is licensed under the ISC license.
41 * See the LICENSE file in the root directory of this source tree.
42 */const ve=C("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
43 * @license lucide-react v0.453.0 - ISC
44 *
45 * This source code is licensed under the ISC license.
46 * See the LICENSE file in the root directory of this source tree.
47 */const et=C("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
48 * @license lucide-react v0.453.0 - ISC
49 *
50 * This source code is licensed under the ISC license.
51 * See the LICENSE file in the root directory of this source tree.
52 */const Ke=C("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
53 * @license lucide-react v0.453.0 - ISC
54 *
55 * This source code is licensed under the ISC license.
56 * See the LICENSE file in the root directory of this source tree.
57 */const Ve=C("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/**
58 * @license lucide-react v0.453.0 - ISC
59 *
60 * This source code is licensed under the ISC license.
61 * See the LICENSE file in the root directory of this source tree.
62 */const oe=C("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
63 * @license lucide-react v0.453.0 - ISC
64 *
65 * This source code is licensed under the ISC license.
66 * See the LICENSE file in the root directory of this source tree.
67 */const at=C("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
68 * @license lucide-react v0.453.0 - ISC
69 *
70 * This source code is licensed under the ISC license.
71 * See the LICENSE file in the root directory of this source tree.
72 */const tt=C("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
73 * @license lucide-react v0.453.0 - ISC
74 *
75 * This source code is licensed under the ISC license.
76 * See the LICENSE file in the root directory of this source tree.
77 */const st=C("LayoutTemplate",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]]);/**
78 * @license lucide-react v0.453.0 - ISC
79 *
80 * This source code is licensed under the ISC license.
81 * See the LICENSE file in the root directory of this source tree.
82 */const _=C("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
83 * @license lucide-react v0.453.0 - ISC
84 *
85 * This source code is licensed under the ISC license.
86 * See the LICENSE file in the root directory of this source tree.
87 */const Xe=C("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
88 * @license lucide-react v0.453.0 - ISC
89 *
90 * This source code is licensed under the ISC license.
91 * See the LICENSE file in the root directory of this source tree.
92 */const lt=C("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
93 * @license lucide-react v0.453.0 - ISC
94 *
95 * This source code is licensed under the ISC license.
96 * See the LICENSE file in the root directory of this source tree.
97 */const Ne=C("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
98 * @license lucide-react v0.453.0 - ISC
99 *
100 * This source code is licensed under the ISC license.
101 * See the LICENSE file in the root directory of this source tree.
102 */const ce=C("ScanSearch",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]]);/**
103 * @license lucide-react v0.453.0 - ISC
104 *
105 * This source code is licensed under the ISC license.
106 * See the LICENSE file in the root directory of this source tree.
107 */const B=C("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
108 * @license lucide-react v0.453.0 - ISC
109 *
110 * This source code is licensed under the ISC license.
111 * See the LICENSE file in the root directory of this source tree.
112 */const nt=C("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
113 * @license lucide-react v0.453.0 - ISC
114 *
115 * This source code is licensed under the ISC license.
116 * See the LICENSE file in the root directory of this source tree.
117 */const it=C("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
117],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function ct(t,a){const s=a.filter(d=>t[d].trim().length>0).length;return{complete:s,total:a.length,percentage:a.length?Math.round(s/a.length*100):0}}let Be=0;function V(){return Be+=1,{id:`experience-${typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Be}`}`,role:"",company:"",period:"",details:""}}function Fe(t){const a=V();return{...t,id:a.id}}function We(t){const a=t.flatMap(d=>[d.role,d.company,d.period,d.details]),s=a.filter(d=>d.trim().length>0).length;return{complete:s,total:a.length,percentage:a.length?Math.round(s/a.length*100):0}}function re(t){return t.split(/\r?\n/).map(a=>a.replace(/^\s*(?:[-•▪*]+|\d+[.)])\s*/,"").replace(/\s+/g," ").trim()).filter(Boolean)}function rt(t){return re(t).join(`
118`)}function _e(t,a,s,d="before"){if(a===s)return t;const p=t.findIndex(g=>g.id===a);if(p<0)return t;const m=t.filter(g=>g.id!==a),r=m.findIndex(g=>g.id===s);return r<0?t:(m.splice(d==="before"?r:r+1,0,t[p]),m)}function ot(t){return t.match(/(?:19|20)\d{2}/g)?.map(Number).reduce((s,d)=>Math.max(s,d),Number.NEGATIVE_INFINITY)??Number.NEGATIVE_INFINITY}function Oe(t){return t.map((a,s)=>({experience:a,index:s,year:ot(a.period)})).sort((a,s)=>s.year-a.year||a.index-s.index).map(({experience:a})=>a)}function Qe(t){return rt(t)}function dt(t,a,s,d){const p=d??a[0]?.id;return{form:{...t,role:s.targetRole,summary:s.summary,skills:s.skills},experiences:a.map(m=>m.id===p?{...m,details:Qe(s.experience)}:m)}}const mt=t=>[t.role,t.company,t.period,t.details].some(a=>a.trim().length>0);function pt(t,a,s){const d=[...a,...s].filter(mt),p=t.skills.split(/,|\n/).map(r=>r.trim()).filter(Boolean),m=[{id:"identity",label:"Identitas dan kontak",action:"Isi nama, posisi, email, dan nomor telepon.",complete:[t.fullName,t.role,t.email,t.phone].every(r=>r.trim().length>0)},{id:"profile",label:"Profil singkat",action:"Tulis ringkasan 2–3 kalimat yang menjelaskan kekuatan utama Anda.",complete:t.summary.trim().length>=80},{id:"experience",label:"Pengalaman relevan",action:"Lengkapi jabatan, instansi, periode, dan setidaknya satu poin kontribusi.",complete:d.some(r=>[r.role,r.company,r.period].every(g=>g.trim().length>0)&&re(r.details).length>0)},{id:"skills",label:"Keahlian yang mudah dipindai",action:"Cantumkan setidaknya tiga keahlian yang sesuai lowongan.",complete:p.length>=3},{id:"education",label:"Pendidikan",action:"Tambahkan riwayat pendidikan agar profil lebih lengkap.",complete:t.education.trim().length>0}];return{score:Math.round(m.filter(r=>r.complete).length/m.length*100),checks:m}}function Ue({title:t,entryLabel:a,addLabel:s,roleLabel:d,periodLabel:p,detailsLabel:m,detailsHint:r,experiences:g,completion:i,onChange:y,onReorder:w,onDuplicate:u,onSortRecent:b,onAdd:c,onRemove:H}){const[N,M]=k.useState(null),[$,R]=k.useState(null),[L,x]=k.useState(""),D=(f,A,o)=>{!f||f===A||(w(f,A,o),x(`Urutan ${a.toLowerCase()} diperbarui.`))};return e.jsxs("section",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:36",className:"experience-editor-section rounded-2xl border border-[#dae6e8] bg-[#fcfdfd] p-4 sm:p-5",children:[e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:37",className:"flex flex-col gap-4 border-b border-[#e1ebec] pb-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:38",children:[e.jsx("h4",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:39",className:"font-display text-xl tracking-[-0.035em] text-[#183247]",children:t}),e.jsxs("p",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:40",className:"mt-1 text-[11px] font-semibold text-[#65808c]",children:[i.complete," dari ",i.total," data terisi · seret kartu atau gunakan tombol urut."]})]}),e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:42",className:"flex flex-wrap items-center gap-2",children:[e.jsxs("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:42",type:"button",onClick:b,disabled:g.length<2,className:"quiet-button w-fit bg-white disabled:cursor-not-allowed disabled:opacity-45",children:[e.jsx(Ya,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:42",size:15})," Terbaru dulu"]}),e.jsxs("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:42",type:"button",onClick:c,className:"quiet-button w-fit bg-white",children:[e.jsx(Ne,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:42",size:15})," ",s]})]})]}),e.jsx("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:44",className:"mt-3 h-1.5 overflow-hidden rounded-full bg-[#e4edef]",role:"progressbar","aria-label":`Kelengkapan ${t.toLowerCase()}`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":i.percentage,children:e.jsx("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:45",className:"h-full rounded-full bg-[#ed6a5a] transition-[width] duration-300",style:{width:`${i.percentage}%`}})}),e.jsx("p",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:47",className:"sr-only","aria-live":"polite",children:L}),e.jsx("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:48",className:"mt-5 space-y-5",children:g.map((f,A)=>e.jsxs("article",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:49",draggable:!0,"aria-grabbed":N===f.id,onDragStart:o=>{o.dataTransfer.effectAllowed="move",o.dataTransfer.setData("text/plain",f.id),M(f.id)},onDragOver:o=>{o.preventDefault(),N!==f.id&&R(f.id)},onDrop:o=>{o.preventDefault(),D(N||o.dataTransfer.getData("text/plain"),f.id,"before"),M(null),R(null)},onDragEnd:()=>{M(null),R(null)},className:`experience-editor-entry rounded-xl border bg-white p-4 transition-colors ${$===f.id&&N!==f.id?"border-[#ed6a5a] bg-[#fff8f6]":"border-[#d8e4e6]"}`,children:[e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:71",className:"mb-4 flex items-center justify-between gap-3",children:[e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:72",className:"flex items-center gap-2",children:[e.jsx("span",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:73",className:"grid h-6 w-6 place-items-center rounded-full bg-[#183247] text-[10px] font-extrabold text-white",children:A+1}),e.jsx(at,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:74","aria-hidden":"true",size:16,className:"cursor-grab text-[#8
118ca2aa] active:cursor-grabbing"}),e.jsxs("p",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:75",className:"text-xs font-extrabold text-[#183247]",children:[a," ",A+1]})]}),e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:77",className:"flex items-center gap-1",children:[e.jsx("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:78",type:"button",onClick:()=>A>0&&D(f.id,g[A-1].id,"before"),disabled:A===0,"aria-label":`Pindahkan ${a} ${A+1} ke atas`,className:"order-button",title:"Pindah ke atas",children:e.jsx(Xa,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:78",size:14})}),e.jsx("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:79",type:"button",onClick:()=>A<g.length-1&&D(f.id,g[A+1].id,"after"),disabled:A===g.length-1,"aria-label":`Pindahkan ${a} ${A+1} ke bawah`,className:"order-button",title:"Pindah ke bawah",children:e.jsx(Za,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:79",size:14})}),e.jsxs("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:80",type:"button",onClick:()=>u(f.id),"aria-label":`Duplikat ${a} ${A+1}`,className:"rounded-lg px-2 py-1 text-[11px] font-bold text-[#315b6b] hover:bg-[#eaf4f5]",children:[e.jsx(et,{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:80",size:12,className:"mr-1 inline"}),"Duplikat"]}),g.length>1&&e.jsx("button",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:81",type:"button",onClick:()=>H(f.id),className:"rounded-lg px-2 py-1 text-[11px] font-bold text-[#a0463d] hover:bg-[#f9ebe8]",children:"Hapus"})]})]}),e.jsxs("div",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:84",className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:85",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:85",children:d}),e.jsx("input",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:85",value:f.role,placeholder:"Isi peran atau jabatan Anda",onChange:o=>y(f.id,"role",o.target.value)})]}),e.jsxs("label",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:86",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:86",children:"Instansi / perusahaan"}),e.jsx("input",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:86",value:f.company,placeholder:"Nama instansi atau perusahaan",onChange:o=>y(f.id,"company",o.target.value)})]})]}),e.jsxs("label",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:88",className:"form-label mt-4",children:[e.jsx("span",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:88",children:p}),e.jsx("input",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:88",value:f.period,placeholder:"Contoh: Januari 2024 — Juni 2024",onChange:o=>y(f.id,"period",o.target.value)})]}),e.jsxs("label",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:89",className:"form-label mt-4",children:[e.jsx("span",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:89",children:m}),e.jsx("textarea",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:89",rows:4,value:f.details,placeholder:"Gunakan satu baris untuk setiap poin tugas atau kontribusi; koma tetap berada dalam satu poin.",onChange:o=>y(f.id,"details",o.target.value)}),e.jsx("small",{"data-loc":"client/src/components/SortableExperienceCollectionEditor.tsx:89",children:r})]})]},f.id))})]})}function xt({readiness:t}){const a=t.score===100;return e.jsxs("section",{"data-loc":"client/src/components/CvReadinessPanel.tsx:6",className:"no-print mt-5 rounded-2xl border border-[#d6e4e5] bg-[#f8fbfb] p-4","aria-label":"Pemeriksa kesiapan CV",children:[e.jsxs("div",{"data-loc":"client/src/components/CvReadinessPanel.tsx:7",className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",className:"flex gap-3",children:[e.jsx("div",{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",className:`grid h-9 w-9 place-items-center rounded-xl ${a?"bg-[#e2f0ec] text-[#24645a]":"bg-[#fff0ea] text-[#b65849]"}`,children:e.jsx(ve,{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",size:18})}),e.jsxs("div",{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",children:[e.jsx("p",{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#66808e]",children:"Sebelum unduh"}),e.jsxs("h4",{"data-loc":"client/src/components/CvReadinessPanel.tsx:8",className:"mt-1 font-display text-xl tracking-[-0.035em] text-[#183247]",children:["Kesiapan CV ",t.score,"%"]})]})]}),e.jsx("span",{"data-loc":"client/src/components/CvReadinessPanel.tsx:9",className:`rounded-full px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-[0.12em] ${a?"bg-[#e2f0ec] text-[#24645a]":"bg-[#fff0ea] text-[#b65849]"}`,children:a?"Siap dibaca":"Perlu ditinjau"})]}),e.jsx("ul",{"data-loc":"client/src/components/CvReadinessPanel.tsx:11",className:"mt-4 space-y-2.5",children:t.checks.map(s=>e.jsxs("li",{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",className:"flex gap-2.5 text-xs leading-5",children:[e.jsx("span",{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",className:`mt-0.5 grid h-4 w-4 shrink-0 place-items-center rounded-full ${s.complete?"bg-[#dcefe9] text-[#24645a]":"bg-[#fde8e3] text-[#b65849]"}`,children:s.complete?e.jsx(ee,{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",size:11,strokeWidth:3}):e.jsx(ie,{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",size:11,strokeWidth:3})}),e.jsxs("span",{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",children:[e.jsxs("strong",{"data-loc":"client/src/components/CvReadinessPanel.tsx:12",className:"text-[#294657]",children:[s.label,"."]})," ",s.complete?"Sudah siap.":s.action]})]},s.id))})]})}const gt=[{id:"professional",name:"Profesional",label:"Dua kolom",description:"Ringkasan visual dengan keahlian di sisi kiri."}
118,{id:"concise",name:"Ringkas",label:"Satu kolom",description:"Alur linear yang nyaman untuk CV berisi banyak pengalaman."},{id:"classic",name:"Klasik",label:"Formal",description:"Kepala dokumen formal dengan penanda bagian yang tegas."}],ut=[{id:"formal",name:"Formal",label:"Klasik",description:"Struktur surat resmi yang umum dipakai untuk berbagai lamaran."},{id:"executive",name:"Profesional",label:"Kepala surat",description:"Informasi pengirim yang tegas untuk tampilan lebih berkelas."},{id:"minimal",name:"Ringkas",label:"Minimalis",description:"Ruang putih yang lega agar isi surat menjadi pusat perhatian."}],ht=[{id:"arial",name:"Arial",label:"ATS aman",description:"Sans-serif netral yang mudah dipindai dan cocok untuk hampir semua lamaran."},{id:"calibri",name:"Calibri",label:"Modern bersih",description:"Tampilan kontemporer dengan hierarki ringan dan keterbacaan tinggi."},{id:"georgia",name:"Georgia",label:"Formal serif",description:"Nuansa dokumen resmi dengan proporsi huruf yang jelas dan tenang."}],ae=1800,bt=ye.lazy(()=>ke(()=>import("./InterviewPractice-CDKVCLC1.js"),__vite__mapDeps([0,1,2])).then(t=>({default:t.InterviewPractice})));function qe(){return e.jsx("section",{"data-loc":"client/src/pages/Home.tsx:72",id:"interview",className:"interview-loading-section no-print","aria-busy":"true","aria-live":"polite",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:73",className:"interview-loading-panel",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:74",className:"interview-loading-orb","aria-hidden":"true",children:e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:74"})}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:75",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:76",className:"interview-loading-kicker",children:"Latihan interview AI"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:77",className:"font-display text-4xl tracking-[-0.045em] text-white",children:"Menyiapkan ruang percakapan."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:78",className:"mt-3 max-w-xl text-sm leading-6 text-[#b9d0d6]",children:"Fitur latihan dimuat saat Anda mendekati bagian ini agar halaman awal tetap lebih ringan."})]})]})})}function jt(){const t=k.useRef(null),[a,s]=k.useState(!1);return k.useEffect(()=>{const d=t.current;if(!d||typeof IntersectionObserver>"u"){s(!0);return}const p=new IntersectionObserver(([m])=>{m?.isIntersecting&&(s(!0),p.disconnect())},{rootMargin:"360px 0px"});return p.observe(d),()=>p.disconnect()},[]),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:105",ref:t,children:a?e.jsx(ye.Suspense,{"data-loc":"client/src/pages/Home.tsx:105",fallback:e.jsx(qe,{"data-loc":"client/src/pages/Home.tsx:105"}),children:e.jsx(bt,{"data-loc":"client/src/pages/Home.tsx:105"})}):e.jsx(qe,{"data-loc":"client/src/pages/Home.tsx:105"})})}const Je={role:"role",summary:"summary",skills:"skills"},X=k.createContext(null);function de(){const t=k.useContext(X);if(!t)throw new Error("Komponen field harus digunakan di dalam FormEditor.");return t}function j({label:t,field:a,type:s="text",placeholder:d}){const{form:p,updateField:m}=de();return e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:157",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:157",children:t}),e.jsx("input",{"data-loc":"client/src/pages/Home.tsx:157",type:s,value:p[a],placeholder:d,onChange:r=>m(a,r.target.value)})]})}function v({label:t,field:a,rows:s=3,hint:d}){const{form:p,updateField:m}=de();return e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:162",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:162",children:t}),e.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:162",rows:s,value:p[a],onChange:r=>m(a,r.target.value)}),d&&e.jsx("small",{"data-loc":"client/src/pages/Home.tsx:162",children:d})]})}function I({title:t,fields:a,children:s}){const{form:d}=de(),p=ct(d,a),m=p.percentage===100;return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:169",className:"rounded-2xl border border-[#dae6e8] bg-[#fcfdfd] p-4 sm:p-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:170",className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:171",children:[e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:171",className:"font-display text-xl tracking-[-0.035em] text-[#183247]",children:t}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:171",className:"mt-1 text-[11px] font-semibold text-[#65808c]",children:[p.complete," dari ",p.total," data terisi"]})]}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:172",className:`rounded-full px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-[0.13em] ${m?"bg-[#e2f0ec] text-[#24645a]":"bg-[#f9ece8] text-[#a34b42]"}`,children:[p.percentage,"% lengkap"]})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:174",className:"mt-3 h-1.5 overflow-hidden rounded-full bg-[#e4edef]",role:"progressbar","aria-label":`Kelengkapan ${t}`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":p.percentage,children:e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:174",className:`h-full rounded-full transition-[width] duration-300 ${m?"bg-[#3c9586]":"bg-[#ed6a5a]"}`,style:{width:`${p.percentage}%`}})}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:175",className:"mt-5 space-y-4",children:s})]})}
118const Ge={fullName:"",role:"",email:"",phone:"",location:"",website:"",summary:"",skills:"",experienceRole:"",experienceCompany:"",experiencePeriod:"",experienceDetail:"",education:"",organization:"",achievements:"",recipient:"",company:"",companyAddress:"",letterDate:"",letterSubject:"",letterOpening:"",letterBody:"",letterClosing:"",letterAttachments:"",letterSignature:""},be=[{id:"cv",name:"CV ATS",shortName:"CV",description:"Struktur bersih yang mudah dibaca sistem rekrutmen.",icon:oe},{id:"letter",name:"Surat Lamaran",shortName:"Surat",description:"Sampaikan alasan terbaik Anda secara profesional.",icon:Xe},{id:"history",name:"Daftar Riwayat Hidup",shortName:"Riwayat",description:"Ringkasan data diri dan perjalanan karier yang teratur.",icon:ve}],Ye=[{label:"Beranda",target:"top"},{label:"Siap Kirim",target:"application-plan"},{label:"Buat Dokumen",target:"workbench"},{label:"Pemeriksa AI",target:"checker"},{label:"Latihan Interview",target:"interview"},{label:"Template",target:"templates"},{label:"Panduan",target:"guide"}],kt="https://saweria.co/KiyomizuStore";function He({mobile:t=!1}){return e.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:226",href:kt,target:"_blank",rel:"noreferrer",className:`nav-donation ${t?"nav-donation-mobile":"nav-donation-desktop"}`,"aria-label":"Donasi melalui Saweria",children:[e.jsx(tt,{"data-loc":"client/src/pages/Home.tsx:227",size:15,fill:"currentColor","aria-hidden":"true"})," Donasi"]})}function T(t){document.getElementById(t)?.scrollIntoView({behavior:"smooth",block:"start"})}function Ze(t){return t.length?Math.round(t.filter(a=>a.trim().length>0).length/t.length*100):0}function ne(t){return t.split(/,|\n/).map(a=>a.trim()).filter(Boolean)}function je(t){const a=t instanceof Error?t.message:String(t??"");return qa(t)?"Layanan AI Kiyomizu sedang tidak tersedia. Data Anda tetap aman di editor; silakan coba lagi setelah layanan kembali aktif.":/cvText|jobDescription|Too small: expected string/i.test(a)?"Lengkapi CV aktif dan deskripsi lowongan terlebih dahulu. Pemeriksa membutuhkan masing-masing minimal 80 karakter agar hasilnya relevan.":Ja(t)?"Perangkat Anda sedang offline. Sambungkan internet lalu tekan Coba lagi; fakta dan dokumen Anda tetap aman.":Ga(t)?"Koneksi atau layanan AI membutuhkan waktu lebih lama. Data Anda tetap aman; periksa koneksi lalu coba lagi.":"Data Anda tetap ada di editor. Periksa koneksi lalu coba lagi beberapa saat lagi."}const Q=80;function ea(t,a){return t.trim().length<Q?`CV aktif masih terlalu singkat. Lengkapi profil, pengalaman, keahlian, atau pendidikan hingga minimal ${Q} karakter sebelum menjalankan pemeriksaan AI.`:a.trim().length<Q?`Deskripsi lowongan masih terlalu singkat. Tambahkan setidaknya ${Q} karakter agar AI dapat membandingkannya dengan CV.`:""}function aa(t,a,s){const d=a.filter(r=>[r.role,r.company,r.period,r.details].some(g=>g.trim().length>0)).map(r=>[r.role,r.company,r.period,r.details].filter(Boolean).join(" · ")).join(" | "),p=s.filter(r=>[r.role,r.company,r.period,r.details].some(g=>g.trim().length>0)).map(r=>[r.role,r.company,r.period,r.details].filter(Boolean).join(" · ")).join(" | "),m=[t.fullName&&`Nama: ${t.fullName}`,t.role&&`Target peran: ${t.role}`,t.summary&&`Profil: ${t.summary}`,t.skills&&`Keahlian: ${t.skills}`,d&&`Pengalaman: ${d}`,p&&`Pengalaman magang: ${p}`,t.education&&`Pendidikan: ${t.education}`].filter(Boolean);return m.length?m.join(`
119`):"Belum ada data CV yang diisi."}function ta({cvProgress:t,letterProgress:a,historyProgress:s,onOpenDocument:d}){const p=[{type:"cv",name:"CV ATS",description:"Tulis pengalaman dan keahlian yang relevan.",progress:t,icon:oe},{type:"letter",name:"Surat Lamaran",description:"Sesuaikan alasan melamar untuk perusahaan tujuan.",progress:a,icon:Xe},{type:"history",name:"Daftar Riwayat Hidup",description:"Lengkapi ringkasan perjalanan dan data pendukung.",progress:s,icon:ve}],m=p.find(r=>r.progress<100)??p[0];return e.jsx("section",{"data-loc":"client/src/pages/Home.tsx:293",id:"application-plan",className:"no-print border-y border-[#d4e2e5] bg-[#f5faf9] px-5 py-14 lg:px-10 lg:py-18","aria-label":"Pusat Persiapan Lamaran",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:294",className:"mx-auto max-w-[1230px]",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:295",className:"flex flex-col gap-5 lg:flex-row lg:items-end lg:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:295",className:"max-w-2xl",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:295",className:"eyebrow",children:"Pusat persiapan lamaran"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:295",className:"mt-3 font-display text-5xl tracking-[-0.055em] text-[#183247]",children:"Tahu langkah berikutnya, tanpa bingung."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:295",className:"mt-4 text-sm leading-7 text-[#5a7480]",children:"Ikuti rute sederhana ini untuk menyusun dokumen, menyesuaikannya dengan lowongan, lalu berlatih sebelum mengirim lamaran."})]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:295",type:"button",onClick:()=>d(m.type),className:"coral-button w-fit",children:["Lanjutkan ",m.name," ",e.jsx(Z,{"data-loc":"client/src/pages/Home.tsx:295",size:17})]})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:296",className:"mt-8 grid gap-3 md:grid-cols-3","aria-live":"polite",children:p.map((r,g)=>{const i=r.icon,y=r.progress>=100;return e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:296",className:"rounded-2xl border border-[#d3e2e4] bg-white p-4 shadow-[0_10px_26px_rgba(24,50,71,0.06)]",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:296",className:"flex items-start justify-between gap-3",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:296",className:"grid h-10 w-10 place-items-center rounded-xl bg-[#e8f2f3] text-[#183247]",children:e.jsx(i,{"data-loc":"client/src/pages/Home.tsx:296",size:19})}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:296",className:`rounded-full px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-[0.13em] ${y?"bg-[#e3f3ee] text-[#287365]":"bg-[#fff0ed] text-[#a84f43]"}`,children:y?"Siap":`${r.progress}%`})]}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:296",className:"mt-4 text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#77929b]",children:["Langkah ",g+1]}),e.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:296",className:"mt-1 font-display text-2xl tracking-[-0.035em] text-[#183247]",children:r.name}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:296",className:"mt-2 min-h-10 text-xs leading-5 text-[#66808d]",children:r.description}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:296",className:"mt-4 h-1.5 overflow-hidden rounded-full bg-[#e8eff0]",children:e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:296",className:"h-full rounded-full bg-[#ed6a5a] transition-[width] duration-300",style:{width:`${r.progress}%`}})}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:296",type:"button",onClick:()=>d(r.type),className:"mt-4 text-xs font-extrabold text-[#315d6d] underline decoration-[#a8c5cb] underline-offset-4",children:["Buka ",r.name]})]},r.type)})}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:297",className:"mt-5 grid gap-3 rounded-2xl border border-[#d2e1e3] bg-[#183247] p-4 text-white lg:grid-cols-[0.85fr_1.15fr] lg:items-center",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:297",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:297",className:"text-[10px] font-extrabold uppercase tracking-[0.16em] text-[#add5de]",children:"Setelah dokumen siap"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:297",className:"mt-1 text-sm leading-6 text-[#e4f2f4]",children:"Gunakan bantuan ber
119ikut untuk menyesuaikan lamaran dan membangun kepercayaan diri sebelum mengirim."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:297",className:"flex flex-wrap gap-2",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:297",type:"button",onClick:()=>T("checker"),className:"rounded-xl border border-white/20 bg-white/10 px-3 py-2 text-xs font-extrabold text-white transition hover:bg-white hover:text-[#183247]",children:[e.jsx(ce,{"data-loc":"client/src/pages/Home.tsx:297",size:14,className:"mr-1.5 inline"}),"Cek kecocokan lowongan"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:297",type:"button",onClick:()=>T("interview"),className:"rounded-xl border border-white/20 bg-white/10 px-3 py-2 text-xs font-extrabold text-white transition hover:bg-white hover:text-[#183247]",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:297",size:14,className:"mr-1.5 inline"}),"Latihan interview AI"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:297",type:"button",onClick:()=>T("guide"),className:"rounded-xl border border-white/20 bg-white/10 px-3 py-2 text-xs font-extrabold text-white transition hover:bg-white hover:text-[#183247]",children:[e.jsx(fe,{"data-loc":"client/src/pages/Home.tsx:297",size:14,className:"mr-1.5 inline"}),"Lihat panduan"]})]})]})]})})}function ft(){const[t,a]=k.useState("cv"),[s,d]=k.useState("professional"),[p,m]=k.useState("formal"),[r,g]=k.useState("arial"),[i,y]=k.useState(Ge),[w,u]=k.useState(()=>[V()]),[b,c]=k.useState(()=>[V()]),[H,N]=k.useState(()=>[V()]),[M,$]=k.useState(!1),[R,L]=k.useState(""),[x,D]=k.useState(!1),[f,A]=k.useState(!1),[o,K]=k.useState("summary"),[te,me]=k.useState(""),[da,O]=k.useState(null),[ma,F]=k.useState(""),[pa,pe]=k.useState(""),[we,J]=k.useState(0),[Ce,Pe]=k.useState("fact"),[xa,ga]=k.useState(null),[ua,se]=k.useState(null),U=k.useRef(!1),Se=be.find(l=>l.id===t),W=t==="history"?H:w,ha=k.useMemo(()=>We(W),[W]),ba=k.useMemo(()=>We(b),[b]),Ee=k.useMemo(()=>{const l=t==="letter"?[i.fullName,i.role,i.letterDate,i.recipient,i.company,i.companyAddress,i.letterOpening,i.letterBody,i.letterClosing]:[i.fullName,i.role,i.email,i.phone,i.summary,i.skills,i.education,i.organization,i.achievements,...W.flatMap(n=>[n.role,n.company,n.period,n.details]),...t==="cv"&&b.some(n=>[n.role,n.company,n.period,n.details].some(h=>h.trim().length>0))?b.flatMap(n=>[n.role,n.company,n.period,n.details]):[]];return Math.round(l.filter(n=>n.trim().length>0).length/l.length*100)},[t,W,i]),ja=k.useMemo(()=>Ze([i.fullName,i.role,i.letterDate,i.recipient,i.company,i.companyAddress,i.letterOpening,i.letterBody,i.letterClosing]),[i]),ka=k.useMemo(()=>Ze([i.fullName,i.role,i.email,i.phone,i.summary,i.skills,i.education,...H.flatMap(l=>[l.role,l.company,l.period,l.details])]),[i,H]),xe=k.useMemo(()=>aa(i,w,b),[i,w,b]),Ae=k.useMemo(()=>pt(i,w,b),[i,w,b]),fa=k.useDeferredValue(i),Ha=k.useDeferredValue(W),ya=k.useDeferredValue(b),G=x||f,le=ue.cvMatch.analyze.useMutation({retry:(l,n)=>l<1&&he(n),retryDelay:800,onSuccess:()=>pe(""),onError:l=>{const n=je(l);pe(n),E.error("Analisis belum dapat dijalankan.",{description:n})}}),Ie=ue.cvWriter.generate.useMutation({retry:(l,n)=>l<1&&he(n),retryDelay:800,onSuccess:l=>{O(l.variations),F(""),E.success("Tiga variasi teks sudah siap.",{description:"Pilih satu versi yang paling sesuai sebelum menerapkannya ke CV."})},onError:l=>{F(je(l)),E.error("Teks AI belum dapat dibuat.",{description:"Fakta Anda tetap ada; gunakan Coba lagi tanpa menulis ulang."})}}),De=ue.cvWriter.generateProfile.useMutation({retry:(l,n)=>l<1&&he(n),retryDelay:800,onSuccess:l=>{se(l.variations),F(""),E.success("Tiga paket profil sudah siap.",{description:"Tinjau ringkasan, keahlian, dan poin pengalaman sebelum menerapkannya."})},onError:l=>{F(je(l)),E.error("Profil AI belum dapat dibuat.",{description:"Data Anda tetap ada di editor; coba lagi setelah layanan siap."})}}),Me=(l,n)=>{y(h=>({...h,[l]:n}))},va=(l,n,h)=>{u(P=>P.map(S=>S.id===l?{...S,[n]:h}:S))},Na=(l,n,h)=>{u(P=>_e(P,l,n,h))},wa=l=>u(n=>{const h=n.findIndex(S=>S.id===l);if(h<0)return n;const P=[...n];return P.splice(h+1,0,Fe(n[h])),P}),Ca=()=>u(l=>Oe(l)),Pa=()=>u(l=>[...l,V()]),Sa=l=>u(n=>n.length>1?n.filter(h=>h.id!==l):n),Ea=(l,n,h)=>{c(P=>P.map(S=>S.id===l?{...S,[n]:h}:S))},Aa=(l,n,h)=>{c(P=>_e(P,l,n,h))},Ia=l=>c(n=>{const h=n.findIndex(S=>S.id===l);if(h<0)return n;const P=[...n];return P.splice(h+1,0,Fe(n[h])),P}),Da=()=>c(l=>Oe(l)),Ma=()=>c(l=>[...l,V()]),Ra=l=>c(n=>n.length>1?n.filter(h=>h.id!==l):n),Ta=(l,n,h)=>{N(P=>P.map(S=>S.id===l?{...S,[n]:h}:S))},za=()=>N(l=>[...l,V()]),$a=l=>N(n=>n.length>1?n.filter(h=>h.id!==l):n),La=(l=!1)=>{y(Ge),u([V()]),c([V()]),N([V()]),d("professional"),m("formal"),g("arial"),me(""),O(null),se(null),J(0),L(""),typeof window<"u"&&window.localStorage.removeItem("kiyomizu-draft"),l&&E.success("Formulir baru sudah bersih.",{description:"File yang diunduh tetap tersimpan pada perangkat Anda."})},Re=l=>{a(l),window.setTimeout(()=>T("workbench"),0)},Te=()=>({type:t,data:i,experiences:W,internships:t==="cv"?b:[],cvTemplate:s,letterTemplate:p,font:r}),ze=async()=>
119{if(U.current){E.info("Unduhan sedang disiapkan.",{description:"Tunggu sampai proses sebelumnya selesai."});return}const l=Te();U.current=!0,A(!0);try{const{buildWordDocumentHtml:n,getWordFileName:h}=await ke(async()=>{const{buildWordDocumentHtml:Oa,getWordFileName:Ua}=await import("./documentExport-Qde6O8JI.js");return{buildWordDocumentHtml:Oa,getWordFileName:Ua}},__vite__mapDeps([3,1,2])),P=new Blob([n(l)],{type:"application/msword"}),S=URL.createObjectURL(P),Y=document.createElement("a");Y.href=S,Y.download=h(t,i.fullName),document.body.appendChild(Y),Y.click(),Y.remove(),window.setTimeout(()=>URL.revokeObjectURL(S),1e3),E.success("Dokumen Word sedang diunduh.",{description:"Struktur dokumen telah dibuat khusus untuk ukuran A4."})}catch(n){console.error("[Kiyomizu Word]",n),E.error("Dokumen Word belum dapat dibuat.",{description:"Silakan coba lagi. Data Anda tetap ada di editor."})}finally{U.current=!1,A(!1)}},$e=async()=>{if(U.current){E.info("Unduhan sedang disiapkan.",{description:"Tunggu sampai proses sebelumnya selesai."});return}const l=Te();U.current=!0,D(!0);try{const{saveStructuredPdf:n}=await ke(async()=>{const{saveStructuredPdf:h}=await import("./documentExport-Qde6O8JI.js");return{saveStructuredPdf:h}},__vite__mapDeps([3,1,2]));await n(l),E.success("PDF A4 sedang diunduh.",{description:"Bagian dokumen disusun ulang agar tidak terpotong di tengah entri."})}catch(n){console.error("[Kiyomizu PDF]",n),E.error("PDF belum dapat dibuat.",{description:"Silakan coba lagi. Data Anda tetap ada di editor."})}finally{U.current=!1,D(!1)}},Ka=()=>{const l=ea(xe,R);if(l){E.error("Data untuk pemeriksaan belum lengkap.",{description:l});return}pe(""),le.reset(),le.mutate({cvText:xe,jobDescription:R})},z=w.find(l=>l.id===xa)??w[0],Le=(l=!1)=>{const n=i.role.trim();if(n.length<3){E.error("Isi posisi target terlebih dahulu.",{description:"Contoh: Operator Produksi, Quality Control, atau Staf Administrasi."});return}const h=l?we+1:0;J(h),se(null),F(""),De.mutate({targetRole:n,existingSummary:i.summary,existingSkills:i.skills,experienceRole:z?.role??"",experienceCompany:z?.company??"",experiencePeriod:z?.period??"",existingExperience:z?.details??"",variationRound:h})},Va=l=>{const n=dt(i,w,l,z?.id);y(n.form),u(n.experiences),se(null),E.success("Paket profil diterapkan.",{description:"Posisi, ringkasan, keahlian, dan poin pengalaman terpilih diperbarui. Instansi, periode, serta data lain tetap aman."})},ge=(l="fact",n=!1)=>
119{if(l==="fact"&&te.trim().length<8){E.error("Tambahkan fakta singkat terlebih dahulu.",{description:"Contoh: tugas, alat kerja, konteks, atau kontribusi yang benar-benar Anda lakukan."});return}if(te.length>ae){E.error("Fakta untuk AI terlalu panjang.",{description:`Ringkas fakta menjadi maksimal ${ae.toLocaleString("id-ID")} karakter agar hasil tetap jelas.`});return}if(l==="role-guided"&&o!=="experience"){E.error("Pilih bagian Pengalaman terlebih dahulu.",{description:"Draf berbasis jabatan khusus dibuat untuk tanggung jawab kerja."});return}if(l==="role-guided"&&(z?.role.trim().length??0)<3){E.error("Isi jabatan terlebih dahulu.",{description:"Contoh: Operator Produksi, Quality Control, atau Staf Administrasi."});return}const h=n?we+1:0;J(h),Pe(l),O(null),F(""),Ie.mutate({section:o,mode:l,brief:te,targetRole:i.role,experienceRole:z?.role??"",company:z?.company??"",period:z?.period??"",existingText:o==="experience"?z?.details??"":i[Je[o]],variationRound:h})},Ba=()=>ge(Ce,!0),Fa=l=>{K(l),Pe("fact"),O(null),F(""),J(0)},Wa=l=>{me(l),O(null),J(0)},_a=l=>{if(o==="experience"){const n=z?.id;u(P=>P.map(S=>S.id===n?{...S,details:Qe(l)}:S));const h=z?.role||"pengalaman yang dipilih";E.success("Poin tugas diterapkan ke pengalaman terpilih.",{description:`Hasil AI masuk ke Pencapaian / tanggung jawab untuk ${h}; jabatan, instansi, periode, pratinjau, serta ekspor tetap aman.`})}else{const n=Je[o];y(h=>({...h,[n]:l})),E.success("Variasi dipilih dan diterapkan.",{description:"Anda tetap dapat menyunting hasilnya secara manual."})}O(null),me("")};return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:598",id:"top",className:"automotive-app min-h-screen overflow-x-hidden bg-[#f7f7f3] text-[#183247]",children:[e.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:599",className:"automotive-header no-print sticky top-0 z-50 border-b border-[#d7e0e3]/80 bg-[#f7f7f3]/90 backdrop-blur-xl",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:600",className:"mx-auto flex h-[76px] max-w-[1440px] items-center justify-between px-5 lg:px-10",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:601",type:"button",onClick:()=>T("top"),className:"group flex items-center gap-3 text-left","aria-label":"Ke beranda Kiyomizu",children:[e.jsx("img",{"data-loc":"client/src/pages/Home.tsx:607",src:"/manus-storage/kiyomizu-logo_ebe5533f.png",alt:"Logo Kiyomizu",className:"h-10 w-10 object-contain transition-transform duration-200 group-hover:-rotate-6"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:608",className:"font-display text-[24px] leading-none tracking-[-0.05em]",children:"kiyomizu"})]}),e.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:611",className:"hidden items-center gap-7 lg:flex","aria-label":"Navigasi utama",children:[Ye.map(l=>e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:613",type:"button",onClick:()=>T(l.target),className:"nav-link",children:l.label},l.target)),e.jsx(He,{"data-loc":"client/src/pages/Home.tsx:617"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:620",className:"hidden items-center gap-3 lg:flex",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:621",className:"automotive-status rounded-full bg-[#e7f0f3] px-3 py-1.5 text-[11px] font-extrabold uppercase tracking-[0.14em] text-[#406477]",children:"100% Gratis"}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:622",type:"button",onClick:()=>T("workbench"),className:"ink-button",children:["Buat dokumen ",e.jsx(Z,{"data-loc":"client/src/pages/Home.tsx:623",size:16,strokeWidth:2.4})]})]}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:626",type:"button",onClick:()=>$(l=>!l),className:"grid h-10 w-10 place-items-center rounded-full border border-[#d7e0e3] bg-white lg:hidden","aria-label":"Buka navigasi",children:M?e.jsx(it,{"data-loc":"client/src/pages/Home.tsx:627",size:19}):e.jsx(lt,{"data-loc":"client/src/pages/Home.tsx:627",size:20})})]}),M&&e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:631",className:"automotive-mobile-menu border-t border-[#d7e0e3] bg-[#f7f7f3] px-5 py-4 lg:hidden",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:632",className:"flex flex-col gap-1",children:[Ye.map(l=>e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:634",type:"button",onClick:()=>{T(l.target),$(!1)},className:"rounded-xl px-3 py-3 text-left text-sm font-bold hover:bg-white",children:l.label},l.target)),e.jsx(He,{"data-loc":"client/src/pages/Home.tsx:638",mobile:!0})]})})]}),e.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:644",children:[e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:645",className:"automotive-hero no-print relative isolate overflow-hidden border-b border-[#d7e0e3] bg-[#f1f6f6]",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:646",className:"paper-rail absolute inset-0 opacity-70","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:647",className:"mx-auto grid min-h-[590px] max-w-[1440px] items-center gap-12 px-5 py-16 lg:grid-cols-[0.94fr_1.06fr] lg:px-10 lg:py-20",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:648",className:"relative z-10 max-w-[650px]",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:649",className:"mb-7 flex items-center gap-2.5 text-[11px] font-extrabold uppercase tracking-[0.2em] text-[#4b6a7c]",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:650",className:"h-2 w-2 rounded-full bg-[#ed6a5a]"})," Studio dokumen karier"]}),e.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:652",className:"font-display text-[clamp(3.5rem,6.6vw,6.8rem)] leading-[0.9] tracking-[-0.06em] text-[#183247]",children:["Cerita karier Anda,",e.jsx("br",{"data-loc":"client/src/pages/Home.tsx:653"}),e.jsx("em",{"data-loc":"client/src/pages/Home.tsx:654",className:"font-normal text-[#ed6a5a]",children:"siap dibaca."})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:656",className:"mt-8 max-w-[530px] text-[16px] leading-7 text-[#4e6675] sm:text-[17px]",children:"Buat CV ATS, surat lamaran kerja, dan daftar riwayat hidup yang rapi tanpa biaya. Isi, lihat, dan unduh dokumen Anda dari satu ruang kerja yang mudah dipahami."}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:659",className:"mt-9 flex flex-col gap-3 sm:flex-row sm:items-center",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:660",type:"button",onClick:()=>T("workbench"),className:"coral-button",children:["Mulai membuat gratis ",e.jsx(Z,{"data-loc":"client/src/pages/Home.tsx:661",size:17,strokeWidth:2.5})]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:663",type:"button",onClick:()=>T("guide"),className:"quiet-button",children:["Lihat cara kerja ",e.jsx(fe,{"data-loc":"client/src/pages/Home.tsx:664",size:16})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:667",className:"mt-10 flex items-center gap-6 text-xs font-semibold text-[#6a7f8c]",children:[e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:668",className:"flex items-center gap-2",children:[e.jsx(ee,{"data-loc":"client/src/pages/Home.tsx:668",className:"text-[#ed6a5a]",size:15,strokeWidth:3})," Tanpa akun"]}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:669",className:"flex items-center gap-2",children:[e.jsx(ee,{"data-loc":"client/src/pages/Home.tsx:669",className:"text-[#ed6a5a]",size:15,strokeWidth:3})," Unduh dokumen"]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:673",className:"relative mx-auto w-full max-w-[690px] lg:translate-x-6",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:674",className:"absolute -left-7 top-16 hidden h-[340px] w-[190p
119x] rounded-[44px] bg-[#c8e2ea] lg:block"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:675",className:"absolute -bottom-9 right-4 h-36 w-36 rounded-full bg-[#f5c8c1] blur-[1px]"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:676",className:"relative overflow-hidden rounded-[28px] border border-white/80 bg-white p-2 shadow-[0_30px_70px_rgba(30,72,92,0.19)]",children:[e.jsx("img",{"data-loc":"client/src/pages/Home.tsx:677",src:"/manus-storage/kiyomizu-hero-workbench_f125474e.jpg",alt:"Meja kerja editorial dengan dokumen CV dan alat tulis",className:"h-[390px] w-full rounded-[22px] object-cover sm:h-[440px]"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:678",className:"absolute bottom-7 left-7 rounded-2xl border border-white/70 bg-[#183247]/95 px-5 py-4 text-white shadow-xl backdrop-blur-sm",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:679",className:"mb-1 flex items-center gap-2 text-[10px] font-bold uppercase tracking-[0.17em] text-[#b2d8e4]",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:679",size:13,className:"text-[#ed6a5a]"})," Siap dikirim"]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:680",className:"font-display text-xl tracking-[-0.02em]",children:"Dokumen yang terasa milik Anda."})]})]})]})]})]}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:687",id:"templates",className:"no-print relative isolate overflow-hidden",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:688",className:"paper-rail pointer-events-none absolute inset-0 opacity-35","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:689",className:"relative mx-auto max-w-[1440px] px-5 py-16 lg:px-10 lg:py-24",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:690",className:"mb-10 flex flex-col justify-between gap-5 md:flex-row md:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:691",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:692",className:"eyebrow",children:"Pilih titik awal"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:693",className:"mt-4 max-w-xl font-display text-5xl tracking-[-0.055em] text-[#183247]",children:"Tiga dokumen, satu cara kerja yang tenang."})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:695",className:"max-w-[310px] text-sm leading-6 text-[#587080]",children:"Pilih format yang Anda butuhkan, lalu atur isi sesuai perjalanan Anda."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:697",className:"grid gap-4 lg:grid-cols-3",children:be.map((l,n)=>{const h=l.icon,P=["/manus-storage/kiyomizu-resume-detail_d2aaf4bf.jpg","/manus-storage/kiyomizu-letter-detail_bd48344c.jpg",""];return e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:706",type:"button",onClick:()=>Re(l.id),className:"document-choice group text-left",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:707",className:"relative h-[180px] overflow-hidden bg-[#dceff3]",children:[P[n]?e.jsx("img",{"data-loc":"client/src/pages/Home.tsx:709",src:P[n],alt:l.id==="cv"?"Contoh dokumen CV ATS Kiyomizu":"Contoh surat lamaran kerja Kiyomizu",className:"h-full w-full object-cover transition duration-500 group-hover:scale-[1.04]"}):e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art","aria-hidden":"true",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-kicker"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-title"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-line one"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-line two"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-line three"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:711",className:"history-art-dot"})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:713",className:"image-margin-line","aria-hidden":"true"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:714",className:"image-proof-mark","aria-hidden":"true"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:715",className:"absolute left-4 top-4 grid h-10 w-10 place-items-center rounded-full bg-white/95 text-[#183247] shadow-sm",children:e.jsx(h,{"data-loc":"client/src/pages/Home.tsx:715",size:19})})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:717",className:"relative p-6",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:718",className:"absolute right-6 top-6 text-[#4c6c7d] transition-transform duration-200 group-hover:translate-x-1",children:e.jsx(Z,{"data-loc":"client/src/pages/Home.tsx:718",size:19})}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:719",className:"card-editorial-label",children:["Kiyomizu / ",String(n+1).padStart(2,"0")]}),e.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:720",className:"font-display text-[31px] tracking-[-0.04em]",children:l.name}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:721",className:"mt-3 max-w-[270px] text-sm leading-6 text-[#5b7382]",children:l.description}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:722",className:"mt-6 inline-flex items-center gap-2 text-xs font-extrabold uppercase tracking-[0.16em] text-[#34596b]",children:["Pilih format ",e.jsx(fe,{"data-loc":"client/src/pages/Home.tsx:722",size:14})]})]})]},l.id)})})]})]}),e.jsx(ta,{"data-loc":"client/src/pages/Home.tsx:731",cvProgress:Ae.
119score,letterProgress:ja,historyProgress:ka,onOpenDocument:l=>Re(l)}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:738",id:"workbench",className:"automotive-workbench-section relative border-y border-[#cddde2] bg-[#e8f1f3] py-10 lg:py-14",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:739",className:"paper-rail absolute inset-0 opacity-40","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:740",className:"relative mx-auto max-w-[1440px] px-5 lg:px-10",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:741",className:"mb-7 flex flex-col justify-between gap-4 md:flex-row md:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:742",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:743",className:"eyebrow",children:"Ruang kerja Kiyomizu"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:744",className:"mt-3 font-display text-5xl tracking-[-0.055em] text-[#183247]",children:"Susun. Tinjau. Kirim."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:746",className:"flex flex-wrap items-center gap-3",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:747",type:"button",onClick:()=>La(!0),className:"quiet-button bg-white",children:[e.jsx(Ne,{"data-loc":"client/src/pages/Home.tsx:747",size:16})," Dokumen baru"]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:748",className:"rounded-full bg-[#183247] px-3.5 py-2 text-xs font-bold text-white",children:"Sesi privat · tidak tersimpan"}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:749",className:"workspace-status",children:[e.jsx(ee,{"data-loc":"client/src/pages/Home.tsx:749",size:13})," Struktur ramah ATS"]}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:750",className:"workspace-status",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:750",size:13})," Pratinjau langsung"]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:754",className:"automotive-workbench workbench-shell overflow-hidden rounded-[24px] border border-white/90 bg-[#f7f7f3] shadow-[0_28px_70px_rgba(32,73,90,0.16)]",children:[e.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:755",className:"automotive-sidebar no-print border-b border-[#d5e0e3] bg-[#edf5f5] p-4 lg:border-b-0 lg:border-r lg:p-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:756",className:"mb-4 hidden items-center gap-2 text-[10px] font-extrabold uppercase tracking-[0.16em] text-[#5d7886] lg:flex",children:[e.jsx(st,{"data-loc":"client/src/pages/Home.tsx:756",size:14})," Dokumen"]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:757",className:"flex gap-2 overflow-x-auto lg:flex-col lg:overflow-visible",children:be.map(l=>{const n=l.icon,h=t===l.id;return e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:762",type:"button",onClick:()=>a(l.id),className:`sidebar-doc ${h?"sidebar-doc-active":""}`,children:[e.jsx(n,{"data-loc":"client/src/pages/Home.tsx:763",size:18}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:764",children:l.name}),h&&e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:765",className:"ml-auto hidden h-2 w-2 rounded-full bg-[#ed6a5a] lg:block"})]},l.id)})}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:770",className:"mt-7 hidden rounded-2xl bg-[#183247] p-4 text-white lg:block",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:771",className:"text-[10px] font-extrabold uppercase tracking-[0.16em] text-[#add5de]",children:"Kelengkapan"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:772",className:"mt-4 h-1.5 overflow-hidden rounded-full bg-white/20",children:e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:772",className:"h-full rounded-full bg-[#ed6a5a] transition-all duration-300",style:{width:`${Ee}%`}})}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:773",className:"mt-3 text-sm font-semibold",children:[Ee,"% siap diisi"]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:774",className:"mt-1 text-xs leading-5 text-[#c0dae0]",children:"Lengkapi data dasar agar dokumen makin kuat."})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:778",className:"min-w-0 border-b border-[#d5e0e3] bg-white lg:border-b-0 lg:border-r",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:779",className:"no-print flex items-center justify-between border-b border-[#e1e8e8] px-5 py-4 lg:px-7",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:780",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:780",className:"text-[10px] font-extrabold uppercase tracking-[0.16em] text-[#66808e]",children:"Editor aktif"}),e.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:780",className:"mt-1 font-display text-2xl tracking-[-0.035em]",children:Se.name})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:781",className:"grid h-9 w-9 place-items-center rounded-full bg-[#e9f3f4] text-[#183247]",children:e.jsx(Se.icon,{"data-loc":"client/src/pages/Home.tsx:781",size:17})})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:783",className:"no-print max-h-[760px] overflow-y-auto p-5 lg:p-7",children:[t==="cv"&&e.jsx(na,{"data-loc":"client/src/pages/Home.tsx:784",section:o,onSectionChange:Fa,brief:te,onBriefChange:Wa,onGenerate:ge,onRegenerate:Ba,onApply:_a,variations:da,isGenerating:Ie.isPending,errorMessage:ma,onRetry:()=>ge(Ce,!0),experiences:w,selectedExperienceId:z?.id??"",onExperienceSelect:ga,targetRole:i.role,onTargetRoleChange:l=>Me("role",l),profileVariations:ua,onGenerateProfile:()=>Le(!1),onRegenerateProfile:()=>Le(!0),onApplyProfile:Va,isProfileGenerating:De.isPending}),e.jsx(ra,{"data-loc":"client/src/pages/Home.tsx:785",value:r,onChange:g}),t==="cv"&&e.jsxs(e.Fragment,{children:[e.jsx(ia,{"data-loc":"client/src/pages/Home.tsx:786",value:s,onChange:d}),e.jsx(xt,{"data-loc":"client/src/pages/Home.tsx:786",readiness:Ae})]}),t==="letter"&&e.jsx(ca,{"data-loc":"client/src/pages/Home.tsx:787",value:p,onChange:m}),e.jsx(sa,{"data-loc":"client/src/pages/Home.tsx:788",activeDocument:t,form:i,updateField:Me,experiences:W,experienceCompletion:ha,internships:b,internshipCompletion:ba,onExperienceChange:t==="history"?Ta:va,onExperienceReorder:Na,onExperienceDuplicate:wa,onExperienceSortRecent:Ca,onAddExperience:t==="history"?za:Pa,onRemoveExperience:t==="history"?$a:Sa,onInternshipChange:Ea,onInternshipReorder:Aa,onInternshipDuplicate:Ia,onInternshipSortRecent:Da,onAddInternship:Ma,onRemoveInternship:Ra})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:792",className:"print-stage min-w-0 bg-[#dfeaec] p-5 sm:p-7 lg:p-9",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:793",className:"no-print mb-4 flex items-center justify-between gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:794",className:"flex items-center gap-2 text-[10px] font-extrabold uppercase tracking-[0.16em] text-[#54707e]",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:794",className:"h-2 w-2 rounded-full bg-[#ed6a5a]"})," Pratinjau langsung"]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:795",className:"flex items-center gap-2",children:[e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:796",type:"button",onClick:ze,disabled:G,className:"icon-download disabled:cursor-not-allowed disabled:opacity-60","aria-label":"Unduh Word",children:f?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:796",className:"animate-spin",size:16}):e.jsx(Ve,{"data-loc":"client/src/pages/Home.tsx:796",size:16})}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:797",type:"button",onClick:$e,disabled:G,className:"icon-download disabled:cursor-not-allowed disabled:opacity-60","aria-label":"Unduh PDF",children:x?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:797",className:"animate-spin",size:16}):e.jsx(Ke,{"data-loc":"client/src/pages/Home.tsx:797",size:16})})]})]}),G&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:800",className:"no-print mb-3 text-xs font-semibold text-[#54707e]",role:"status","aria-live":"polite",children:x?"Menyusun halaman PDF dan memeriksa tata letak…":"Menyiapkan dokumen Word untuk diunduh…"}),e.jsx(oa,{"data-loc":"client/src/pages/Home.tsx:801",activeDocument:t,form:fa,experiences:Ha,internships:t==="cv"?ya:[],cvTemplate:s,letterTemplate:p,font:r}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:802",className:"no-print mt-5 grid gap-2 sm:grid-cols-2",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:803",type:"button",onClick:ze,disabled:G,className:"quiet-button justify-center bg-white disabled:cursor-not-allowed disabled:opacity-60",children:[e.jsx(Ve,{"data-loc":"client/src/pages/Home.tsx:803",size:16})," ",f?"Menyiapkan Word...":"Unduh Word"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:804",type:"button",onClick:$e,disabled:G,className:"coral-button justify-center disabled:cursor-not-allowed disabled:opacity-60",children:[x?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:804",className:"animate-spin",size:16}):e.jsx(Ke,{"data-loc":"client/src/pages/Home.tsx:804",size:16}),x?"Menyiapkan PDF...":"Unduh PDF"]})]})]})]})]})]}),e.jsx(Nt,{"data-loc":"client/src/pages/Home.tsx:811",cvText:xe,j
119obDescription:R,onJobDescriptionChange:L,onAnalyze:Ka,isAnalyzing:le.isPending,result:le.data,errorMessage:pa}),e.jsx(jt,{"data-loc":"client/src/pages/Home.tsx:821"}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:823",id:"guide",className:"no-print relative isolate overflow-hidden",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:824",className:"paper-rail pointer-events-none absolute inset-0 opacity-35","aria-hidden":"true"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:825",className:"relative mx-auto max-w-[1440px] px-5 py-16 lg:px-10 lg:py-24",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:826",className:"grid gap-10 lg:grid-cols-[0.75fr_1.25fr] lg:gap-20",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:827",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:828",className:"eyebrow",children:"Cara kerja"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:829",className:"mt-4 font-display text-5xl tracking-[-0.055em]",children:"Rapi di layar, siap untuk peluang berikutnya."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:830",className:"mt-6 max-w-sm text-sm leading-7 text-[#597080]",children:"Kiyomizu dirancang untuk menghilangkan hambatan teknis saat Anda fokus membangun dokumen yang mewakili diri sendiri."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:832",className:"grid gap-4 md:grid-cols-3",children:[["01","Pilih dokumen","Tentukan CV ATS, surat lamaran, atau daftar riwayat hidup sebagai titik awal."],["02","Tulis cerita Anda","Isi data penting. Pratinjau berubah saat Anda menulis, tanpa perlu memulai dari awal."],["03","Unduh dan kirim","Simpan sebagai Word atau PDF langsung dari browser, lalu sesuaikan untuk lowongan pilihan Anda."]].map(([l,n,h])=>e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:838",className:"guide-card",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:839",className:"font-display text-5xl text-[#ed6a5a]",children:l}),e.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:840",className:"mt-8 font-display text-[28px] tracking-[-0.04em]",children:n}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:841",className:"mt-3 text-sm leading-6 text-[#5b7382]",children:h})]},l))})]})})]}),e.jsx("section",{"data-loc":"client/src/pages/Home.tsx:849",className:"no-print border-y border-[#d8e4e6] bg-[#eef6f6] px-5 py-10 lg:px-10","aria-label":"Akses cepat fitur Kiyomizu",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:850",className:"mx-auto flex max-w-[1230px] flex-col gap-5 lg:flex-row lg:items-center lg:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:851",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:851",className:"eyebrow",children:"Akses cepat fitur"}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:851",className:"mt-2 font-display text-3xl tracking-[-0.045em] text-[#183247]",children:"Lompat ke bantuan yang Anda perlukan."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:851",className:"mt-2 max-w-xl text-sm leading-6 text-[#5c7581]",children:"Setiap fitur dapat digunakan terpisah. Data di editor tetap berada di perangkat hingga Anda memilih dokumen baru atau selesai mengunduh."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:852",className:"grid gap-2 sm:grid-cols-3",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:852",type:"button",onClick:()=>T("workbench"),className:"rounded-xl border border-[#b8d1d6] bg-white px-4 py-3 text-left text-xs font-extrabold text-[#244b5d] transition hover:border-[#183247] hover:bg-[#183247] hover:text-white",children:[e.jsx(oe,{"data-loc":"client/src/pages/Home.tsx:852",size:15,className:"mb-2"}),"Buat dokumen"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:852",type:"button",onClick:()=>T("checker"),className:"rounded-xl border border-[#b8d1d6] bg-white px-4 py-3 text-left text-xs font-extrabold text-[#244b5d] transition hover:border-[#183247] hover:bg-[#183247] hover:text-white",children:[e.jsx(ce,{"data-loc":"client/src/pages/Home.tsx:852",size:15,className:"mb-2"}),"Cek kecocokan AI"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:852",type:"button",onClick:()=>T("interview"),className:"rounded-xl border border-[#b8d1d6] bg-white px-4 py-3 text-left text-xs font-extrabold text-[#244b5d] transition hover:border-[#183247] hover:bg-[#183247] hover:text-white",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:852",size:15,className:"mb-2"}),"Latihan interview"]})]})]})}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:856",className:"no-print final-paper relative isolate overflow-hidden bg-[#183247] px-5 py-14 text-white lg:px-10 lg:py-20",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:857",className:"final-paper-rail pointer-events-none absolute inset-0","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:858",className:"relative mx-auto flex max-w-[1230px] flex-col items-start justify-between gap-8 md:flex-row md:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:859",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:859",className:"flex items-center gap-2 text-[10px] font-extrabold uppercase tracking-[0.19em] text-[#add5de]",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:859",className:"h-2 w-2 rounded-full bg-[#ed6a5a]"})," Mulai dari sekarang"]}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:859",className:"mt-4 max-w-2xl font-display text-5xl tracking-[-0.055em] text-white",children:"Dokumen yang baik adalah ruang untuk kejelasan."})]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:860",type:"button",onClick:()=>T("workbench"),className:"coral-button",children:["Buat dokumen Anda ",e.jsx(Z,{"data-loc":"client/src/pages/Home.tsx:860",size:17})]})]})]})]}),e.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:865",className:"no-print bg-[#122937] px-5 py-7 text-[#b4cbd0] lg:px-10",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:866",className:"mx-auto flex max-w-[1440px] flex-col gap-4 text-xs sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:867",className:"flex items-center gap-2",children:[e.jsx("img",{"data-loc":"client/src/pages/Home.tsx:867",src:"/manus-storage/kiyomizu-logo_ebe5533f.png",alt:"Logo Kiyomizu",className:"h-6 w-6 object-contain"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:867",children:"kiyomizu · Studio dokumen karier gratis"})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:868",children:"Data editor tidak disimpan. File unduhan tersimpan di perangkat Anda."})]})})]})}function sa({activeDocument:t,form:a,updateField:s,experiences:d=[],experienceCompletion:p={complete:0,total:0,percentage:0},internships:m=[],internshipCompletion:r={complete:0,total:0,percentage:0},onExperienceChange:g=()=>{},onExperienceReorder:i=()=>{},onExperienceDuplicate:y=()=>{},onExperienceSortRecent:w=()=>{},onAddExperience:u=()=>{},onRemoveExperience:b=()=>{},onInternshipChange:c=()=>{},onInternshipReorder:H=()=>{},onInternshipDuplicate:N=()=>{},onInternshipSortRecent:M=()=>{},onAddInternship:$=()=>{},onRemoveInternship:R=()=>{}}){if(t==="cv")return e.jsx(X.Provider,{"data-loc":"client/src/pages/Home.tsx:877",value:{form:a,updateField:s},children:e.jsx(Ht,{"data-loc":"client/src/pages/Home.tsx:877",experiences:d,experienceCompletion:p,internships:m,internshipCompletion:r,onExperienceChange:g,onExperienceReorder:i,onExperienceDuplicate:y,onExperienceSortRecent:w,onAddExperience:u,onRemoveExperience:b,onInternshipChange:c,onInternshipReorder:H,onInternshipDuplicate:N,onInternshipSortRecent:M,onAddInternship:$,onRemoveInternship:R})});if(t==="history")return e.jsx(X.Provider,{"data-loc":"client/src/pages/Home.tsx:880",value:{form:a,updateField:s},children:e.jsx(yt,{"data-loc":"client/src/pages/Home.tsx:880",experiences:d,experienceCompletion:p,onExperienceChange:g,onAddExperience:u,onRemoveExperience:b})});if(t==="letter")return e.jsx(X.Provider,{"data-loc":"client/src/pages/Home.tsx:883",value:{form:a,updateField:s},children:e.jsx(vt,{"data-loc":"client/src/pages/Home.tsx:883"})});const L=t==="letter"?e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:885",title:"Surat yang terasa personal",copy:"Isi inti pesan Anda. Kiyomizu akan merapikannya ke dalam format formal."}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Tujuan 
119surat",fields:["letterDate","company","recipient","letterSubject"],children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Tanggal surat",field:"letterDate"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nama perusahaan",field:"company"})]}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Penerima",field:"recipient"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Perihal",field:"letterSubject"})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Isi surat",fields:["letterOpening","letterBody","letterClosing"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Pembuka",field:"letterOpening",rows:4}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Isi utama",field:"letterBody",rows:6}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Penutup",field:"letterClosing",rows:4})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Identitas pengirim",fields:["fullName","role"],children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nama Anda",field:"fullName"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Posisi yang dituju",field:"role"})]})]}):t==="history"?e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:885",title:"Data diri yang mudah dipindai",copy:"Buat daftar riwayat hidup dengan struktur r
119ingkas untuk kebutuhan administrasi dan aplikasi."}),e.jsx(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Identitas dan kontak",fields:["fullName","role","email","phone","location","website"],children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nama lengkap",field:"fullName"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Posisi / profesi",field:"role"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Email",field:"email",type:"email"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nomor telepon",field:"phone"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Lokasi",field:"location"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Tautan profesional",field:"website"})]})}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Profil dan pendidikan",fields:["summary","education"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Ringkasan profil",field:"summary",rows:4}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Riwayat pendidikan",field:"education",rows:3})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Pengalaman dan keahlian",fields:["experienceRole","experienceCompany","experiencePeriod","experienceDetail","skills"],children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Jabatan terakhir",field:"experienceRole"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Instansi / perusahaan",field:"experienceCompany"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Periode",field:"experiencePeriod"})]}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Pengalaman / tanggung jawab",field:"experienceDetail",rows:5,hint:"Gunakan baris baru untuk setiap poin."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Keahlian",field:"skills",rows:3,hint:"Pisahkan dengan koma."})]})]}):e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:885",title:"CV yang jelas bagi perekrut",copy:"Struktur CV ini mengutamakan konten yang bersih dan mudah dipindai sistem ATS."}),e.jsx(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Identitas dan kontak",fields:["fullName","role","email","phone","location","website"],children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nama lengkap",field:"fullName"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Posisi / profesi",field:"role"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Email",field:"email",type:"email"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Nomor telepon",field:"phone"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Lokasi",field:"location"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Tautan profesional",field:"website"})]})}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Profil dan keahlian",fields:["summary","skills"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Profil singkat",field:"summary",rows:4}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Keahlian utama",field:"skills",rows:3,hint:"Pisahkan dengan koma."})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:885",title:"Pengalaman dan pendidikan",fields:["experienceRole","experienceCompany","experiencePeriod","experienceDetail","education"],children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Jabatan",field:"experienceRole"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:885",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Perusahaan",field:"experienceCompany"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:885",label:"Periode",field:"experiencePeriod"})]}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Pencapaian / tanggung jawab",field:"experienceDetail",rows:5,hint:"Gunakan baris baru untuk setiap poin."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:885",label:"Pendidikan",field:"education",rows:3})]})]});return e.jsx(X.Provider,{"data-loc":"client/src/pages/Home.tsx:886",value:{form:a,updateField:s},children:L})}function q({title:t,copy:a}){return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:890",className:"rounded-2xl border border-[#dae6e8] bg-[#f0f7f7] p-4",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:890",className:"font-display text-2xl tracking-[-0.04em] text-[#183247]",children:t}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:890",className:"mt-1.5 text-xs leading-5 text-[#5e7683]",children:a})]})}function Ht({experiences:t,experienceCompletion:a,internships:s,internshipCompletion:d,onExperienceChange:p,onExperienceReorder:m,onExperienceDuplicate:r,onExperienceSortRecent:g,onAddExperience:i,onRemoveExperience:y,onInternshipChange:w,onInternshipReorder:u,onInternshipDuplicate:b,onInternshipSortRecent:c,onAddInternship:H,onRemoveInternship:N}){return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:898",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:899",title:"CV yang rapi, dimulai dari data Anda",copy:"Formulir baru selalu kosong. Isi bagian penting terlebih dahulu, lalu tambahkan pengalaman kerja sesuai kebutuhan."}),e.jsx(I,{"data-loc":"client/src/pages/Home.tsx:900",title:"Identitas dan kontak",fields:["fullName","role","email","phone","location","website"],children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:900",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Nama lengkap",field:"fullName",placeholder:"Isi nama lengkap Anda"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Posisi / profesi",field:"role",placeholder:"Isi posisi atau profesi Anda"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Email",field:"email",type:"email",placeholder:"[email protected]"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Nomor telepon",field:"phone",placeholder:"08xx xxxx xxxx"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Lokasi",field:"location",placeholder:"Kota, Indonesia"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:900",label:"Tautan profesional",field:"website",placeholder:"linkedin.com/in/nama"})]})}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:901",title:"Profil dan keahlian",fields:["summary","skills"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:901",label:"Profil singkat",field:"summary",rows:4,hint:"Tuliskan 2–3 kalimat tentang kekuatan dan arah karier Anda."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:901",label:"Keahlian utama",field:"skills",rows:3,hint:"Pisahkan dengan koma, misalnya: Microsoft Excel, Komunikasi."})]}),e.jsx(Ue,{"data-loc":"client/src/pages/Home.tsx:902",title:"Pengalaman Kerja",entryLabel:"Pengalaman",addLabel:"Tambah pengalaman",roleLabel:"Jabatan",periodLabel:"Periode kerja",detailsLabel:"Pencapaian / tanggung jawab",detailsHint:"Gunakan satu baris untuk setiap poin. Seret kartu atau gunakan tombol panah untuk mengatur urutan.",experiences:t,completion:a,onChange:p,onReorder:m,onDuplicate:r,onSortRecent:g,onAdd:i,onRemove:y}),e.jsx(Ue,{"data-loc":"client/src/pages/Home.tsx:903",title:"Pengalaman Magang",entryLabel:"Magang",addLabel:"Tambah pengalaman magang",roleLabel:"Peran magang",periodLabel:"Periode magang",detailsLabel:"Tugas / kontribusi magang",detailsHint:"Gunakan satu baris untuk setiap poin. Seret kartu atau gunakan tombol panah untuk mengatur urutan.",experiences:s,completion:d,onChange:w,onReorder:u,onDuplicate:b,onSortRecent:c,onAdd:H,onRemove:N}),e.jsx(I,{"data-loc":"client/src/pages/Home.tsx:904",title:"Pendidikan",fields:["education"],children:e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:904",label:"Riwayat pendidikan",field:"education",rows:3,hint:"Contoh: S1 Manajemen — Universitas Indonesia (2020 — 2024)."})}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:905",title:"Organisasi dan pencapaian",fields:["organization","achievements"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:905",label:"Organisasi / kegiatan",field:"organization",rows:4,hint:"Satu aktivitas per baris, misalnya: Himpunan Mahasiswa — Staf Administrasi (2023)."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:905",label:"Pencapaian relevan",field:"achievements",rows:4,hint:"Satu pencapaian per baris. Tulis hanya pencapaian yang benar-benar Anda miliki."})]})]})}function yt({experiences:t,experienceCompletion:a,onExperienceChange:s,onAddExperience:d,onRemoveExperience:p}){return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:910",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:911",title:"Riwayat hidup yang tersusun rapi",copy:"Cantumkan data diri, pendidikan, dan seluruh pengalaman relevan dalam urutan yang mudah dipindai."}),e.jsx(I,{"data-loc":"client/src/pages/Home.tsx:912",title:"Identitas dan kontak",fields:["fullName","role","email","phone","location","website"],children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:912",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Nama lengkap",field:"fullName",placeholder:"Isi nama lengkap Anda"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Posisi / profesi",field:"role",placeholder:"Isi posisi atau profesi Anda"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Email",field:"email",type:"email",placeholder:"[email protected]"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Nomor telepon",field:"phone",placeholder:"08xx xxxx xxxx"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Lokasi",field:"location",placeholder:"Kota, Indonesia"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:912",label:"Tautan profesional",field:"website",placeholder:"linkedin.com/in/nama"})]})}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:913",title:"Profil dan pendidikan",fields:["summary","education"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:913",label:"Ringkasan profil",field:"summary",rows:4,hint:"Tuliskan 2–3 kalimat tentang latar belakang, kekuatan, dan arah karier Anda."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:913",label:"Riwayat pendidikan",field:"education",rows:4,hint:"Satu riwayat per baris, misalnya: SMK Administrasi Perkantoran — 2019."})]}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:914",className:"rounded-2xl border border-[#dae6e8] bg-[#fcfdfd] p-4 sm:p-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"flex flex-col gap-4 border-b border-[#e1ebec] pb-4 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:914",children:[e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:914",className:"font-display text-xl tracking-[-0.035em] text-[#183247]",children:"Pengalaman kerja dan kegiatan"}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:914",className:"mt-1 text-[11px] font-semibold text-[#65808c]",children:[a.complete," dari ",a.total," data terisi · tambahkan setiap pengalaman yang relevan."]})]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:914",type:"button",onClick:d,className:"quiet-button w-fit bg-white",children:[e.jsx(Ne,{"data-loc":"client/src/pages/Home.tsx:914",size:15})," Tambah pengalaman"]})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"mt-3 h-1.5 overflow-hidden rounded-full bg-[#e4edef]",role:"progressbar","aria-label":"Kelengkapan pengalaman riwayat hidup","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a.percentage,children:e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"h-full rounded-full bg-[#ed6a5a] transition-[width] duration-300",style:{width:`${a.percentage}%`}})}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"mt-5 space-y-4",children:t.map((m,r)=>e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:914",className:"rounded-xl border border-[#d8e4e6] bg-white p-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"mb-4 flex items-center justify-between gap-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"flex items-center gap-2",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:914",className:"grid h-6 w-6 place-items-center rounded-full bg-[#183247] text-[10px] font-extrabold text-white",children:r+1}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:914",className:"text-xs font-extrabold text-[#183247]",children:["Pengalaman ",r+1]})]}),t.length>1&&e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:914",type:"button",onClick:()=>p(m.id),className:"rounded-lg px-2 py-1 text-[11px] font-bold text-[#a0463d] hover:bg-[#f9ebe8]",children:"Hapus"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:914",className:"grid gap-4 sm:grid-cols-2",children:[e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:914",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:914",children:"Jabatan / peran"}),e.jsx("input",{"data-loc":"client/src/pages/Home.tsx:914",value:m.role,placeholder:"Contoh: Back Office Assistant",onCh
119ange:g=>s(m.id,"role",g.target.value)})]}),e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:914",className:"form-label",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:914",children:"Instansi / perusahaan"}),e.jsx("input",{"data-loc":"client/src/pages/Home.tsx:914",value:m.company,placeholder:"Nama instansi atau organisasi",onChange:g=>s(m.id,"company",g.target.value)})]})]}),e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:914",className:"form-label mt-4",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:914",children:"Periode dan lokasi"}),e.jsx("input",{"data-loc":"client/src/pages/Home.tsx:914",value:m.period,placeholder:"Contoh: Padang · 2021",onChange:g=>s(m.id,"period",g.target.value)})]}),e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:914",className:"form-label mt-4",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:914",children:"Tanggung jawab / kontribusi"}),e.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:914",rows:4,value:m.details,placeholder:"Gunakan baris baru untuk setiap poin tanggung jawab atau pencapaian.",onChange:g=>s(m.id,"details",g.target.value)}),e.jsx("small",{"data-loc":"client/src/pages/Home.tsx:914",children:"Gunakan baris baru untuk setiap poin."})]})]},m.id))})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:915",title:"Keahlian dan pencapaian",fields:["skills","achievements"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:915",label:"Keahlian",field:"skills",rows:3,hint:"Pisahkan dengan koma, misalnya: Microsoft Excel, Pengarsipan."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:915",label:"Pencapaian / pelatihan",field:"achievements",rows:4,hint:"Satu poin per baris. Tambahkan hanya pencapaian atau pelatihan yang benar-benar Anda miliki."})]})]})}function vt(){return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:920",className:"space-y-5",children:[e.jsx(q,{"data-loc":"client/src/pages/Home.tsx:921",title:"Surat lamaran yang formal dan jelas",copy:"Gunakan struktur satu kolom yang rapi: tujuan surat, isi singkat, lampiran, dan penutup."}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:922",title:"Tujuan 
119surat",fields:["letterDate","recipient","company","companyAddress","letterSubject"],children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:922",label:"Tanggal surat",field:"letterDate",placeholder:"Contoh: Yogyakarta, 26 Juni 2026"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:922",label:"Nama penerima / HRD",field:"recipient",placeholder:"Contoh: HRD PT Maju Jaya Sukses"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:922",label:"Nama perusahaan",field:"company",placeholder:"Contoh: PT Maju Jaya Sukses"}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:922",label:"Alamat perusahaan",field:"companyAddress",rows:3,hint:"Gunakan baris baru untuk alamat jika diperlukan."}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:922",label:"Perihal",field:"letterSubject",placeholder:"Contoh: Lamaran kerja posisi Administrasi"})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:923",title:"Isi surat",fields:["letterOpening","letterBody","letterClosing"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:923",label:"Salam pembuka",field:"letterOpening",rows:2,hint:"Contoh: Dengan hormat,"}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:923",label:"Isi utama",field:"letterBody",rows:8,hint:"Jelaskan sumber informasi lowongan, posisi yang dituju, pengalaman relevan, dan alasan Anda melamar. Gunakan baris kosong untuk memisahkan paragraf."}),e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:923",label:"Kalimat penutup",field:"letterClosing",rows:4,hint:"Contoh: Demikian surat lamaran ini saya sampaikan. Terima kasih atas perhatian Bapak/Ibu."})]}),e.jsxs(I,{"data-loc":"client/src/pages/Home.tsx:924",title:"Lampiran dan pengirim",fields:["letterAttachments","fullName","role","email","phone"],children:[e.jsx(v,{"data-loc":"client/src/pages/Home.tsx:924",label:"Daftar lampiran",field:"letterAttachments",rows:4,hint:"Satu lampiran per baris, misalnya: Curriculum Vitae, Fotokopi ijazah."}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:924",className:"grid gap-4 sm:grid-cols-2",children:[e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:924",label:"Nama Anda",field:"fullName"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:924",label:"Posisi yang dituju",field:"role"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:924",label:"Email",field:"email",type:"email"}),e.jsx(j,{"data-loc":"client/src/pages/Home.tsx:924",label:"Nomor telepon",field:"phone"})]})]}),e.jsx(la,{"data-loc":"client/src/pages/Home.tsx:925"})]})}function la(){const{form:t,updateField:a}=de(),s=k.useRef(null),d=k.useRef(!1),p=k.useRef({x:0,y:0}),m=()=>{const u=s.current,b=u?.getContext("2d");u&&b&&b.clearRect(0,0,u.width,u.height)},r=()=>{if(!t.letterSignature)return;const u=s.current,b=u?.getContext("2d");if(!u||!b)return;m();const c=new Image;c.onload=()=>b.drawImage(c,0,0,u.width,u.height),c.src=t.letterSignature};ye.useEffect(()=>{r()},[t.letterSignature]);const g=u=>{const b=u.currentTarget,c=b.getBoundingClientRect();return{x:(u.clientX-c.left)*(b.width/c.width),y:(u.clientY-c.top)*(b.height/c.height)}},i=u=>{const b=s.current?.getContext("2d");if(!b)return;try{u.currentTarget.setPointerCapture(u.pointerId)}catch{}const c=g(u);d.current=!0,p.current=c,b.lineCap="round",b.lineJoin="round",b.lineWidth=5,b.strokeStyle="#183247",b.beginPath(),b.moveTo(c.x,c.y)},y=u=>{if(!d.current)return;const b=s.current?.getContext("2d");if(!b)return;const c=g(u);b.lineTo(c.x,c.y),b.stroke(),p.current=c},w=()=>
119{if(!d.current)return;d.current=!1;const u=s.current?.toDataURL("image/png")??"";u&&a("letterSignature",u)};return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:996",className:"signature-pad-card","aria-label":"Tanda tangan digital",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:997",className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:997",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:997",className:"section-caption mb-1",children:"Tanda tangan digital"}),e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:997",className:"font-display text-xl tracking-[-0.035em] text-[#183247]",children:"Bubuhkan tanda tangan Anda."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:997",className:"mt-1 text-[11px] leading-5 text-[#66818d]",children:"Gambar menggunakan mouse atau sentuhan. Tanda tangan akan tampil di antara “Hormat saya” dan nama pada surat."})]}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:997",type:"button",className:"signature-clear-button",onClick:()=>{m(),a("letterSignature","")},children:"Hapus tanda tangan"})]}),e.jsx("canvas",{"data-loc":"client/src/pages/Home.tsx:998",ref:s,width:640,height:220,onPointerDown:i,onPointerMove:y,onPointerUp:w,onPointerCancel:w,className:"signature-canvas","aria-label":"Area tanda tangan digital"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:999",className:"mt-2 text-[10px] font-semibold text-[#69828c]",children:t.letterSignature?"Tanda tangan siap dipakai di pratinjau dan unduhan.":"Tanda tangan bersifat opsional; Anda dapat melanjutkan tanpa mengisinya."})]})}function na({section:t,onSectionChange:a,brief:s,onBriefChange:d,onGenerate:p,onRegenerate:m,onApply:r,variations:g,isGenerating:i,errorMessage:y="",onRetry:w=()=>{},experiences:u,selectedExperienceId:b,onExperienceSelect:c,targetRole:H="",onTargetRoleChange:N=()=>{},profileVariations:M=null,onGenerateProfile:$=()=>{},onRegenerateProfile:R=()=>{},onApplyProfile:L=()=>{},isProfileGenerating:x=!1}){const D=[{id:"role",label:"Posisi",helper:"judul jabatan"},{id:"summary",label:"Ringkasan",helper:"profil profesional"},{id:"experience",label:"Pengalaman",helper:"poin tanggung jawab"},{id:"skills",label:"Keahlian",helper:"daftar kompetensi"}],f=D.find(o=>o.id===t),A=u.find(o=>o.id===b)??u[0];return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1012",className:"mb-5 overflow-hidden rounded-2xl border border-[#cfe0e3] bg-[#edf6f6] p-4 sm:p-5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1013",className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1013",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1013",className:"flex items-center gap-2 text-[10px] font-extrabold uppercase tracking-[0.15em] text-[#466a7a]",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:1013",size:14,className:"text-[#ed6a5a]"})," Asisten penulisan CV"]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1013",className:"mt-2 font-display text-2xl tracking-[-0.04em] text-[#183247]",children:"Tulis sendiri, atau mulai dengan bantuan AI."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1013",className:"mt-1 text-xs leading-5 text-[#5c7783]",children:"Pilih hasil yang sesuai, lalu periksa dan sesuaikan sebelum menggunakannya di CV."})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1013",className:"inline-flex w-fit items-center rounded-full bg-white px-2.5 py-1 text-[10px] font-extrabold uppercase tracking-[0.12em] text-[#547482]",children:"Manual tetap aktif"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1014",className:"mt-4 rounded-xl border border-[#cbdfe2] bg-white p-3.5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1015",className:"flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1015",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1015",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#466a7a]",children:"Mulai dari posisi target"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1015",className:"mt-1 text-xs leading-5 text-[#5e7783]",children:"AI menyiapkan t
119iga paket draf untuk ringkasan, keahlian, dan poin pengalaman. Tinjau sebelum digunakan."})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1015",className:"w-fit rounded-full bg-[#edf6f6] px-2.5 py-1 text-[10px] font-extrabold text-[#547482]",children:"Tidak menimpa data lain"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1016",className:"mt-3 flex flex-col gap-2 sm:flex-row sm:items-end",children:[e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:1016",className:"block min-w-0 flex-1",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1016",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#5b7785]",children:"Posisi target"}),e.jsx("input",{"data-loc":"client/src/pages/Home.tsx:1016",value:H,onChange:o=>N(o.target.value),placeholder:"Contoh: Operator Produksi",maxLength:180,className:"mt-2 w-full rounded-lg border border-[#c9dde1] bg-white px-3 py-2.5 text-sm font-semibold text-[#183247] outline-none transition focus:border-[#759eae] focus:ring-4 focus:ring-[#d9eff2]","aria-label":"Posisi target untuk profil AI"})]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1016",type:"button",onClick:$,disabled:i||x,className:"coral-button shrink-0 disabled:cursor-not-allowed disabled:opacity-60",children:[x?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:1016",className:"animate-spin",size:16}):e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:1016",size:16}),x?"Menyiapkan paket...":"Buat profil dari posisi"]})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1017",className:"mt-2 text-[10px] leading-4 text-[#6b858f]",children:"Draf berbasis posisi adalah titik awal, bukan bukti pengalaman. Sesuaikan dengan kemampuan dan pengalaman nyata Anda."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1019",className:"mt-4 grid grid-cols-2 gap-2 sm:grid-cols-4",children:D.map(o=>e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1019",type:"button",onClick:()=>a(o.id),className:`rounded-xl border px-3 py-2.5 text-left transition ${t===o.id?"border-[#183247] bg-[#183247] text-white":"border-[#d5e3e5] bg-white text-[#385c6c] hover:border-[#95b6c1]"}`,"aria-pressed":t===o.id,children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1019",className:"block text-xs font-extrabold",children:o.label}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1019",className:`mt-0.5 block text-[10px] ${t===o.id?"text-[#b8d8df]":"text-[#78929d]"}`,children:o.helper})]},o.id))}),M&&e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-4 border-t border-[#cfe0e3] pt-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",className:"flex flex-wrap items-center justify-between gap-2",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#5b7785]",children:"Pilih paket profil"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-1 text-[11px] leading-5 text-[#66818d]",children:"Belum diterapkan. Periksa apakah setiap draf benar-benar sesuai dengan pengalaman Anda."})]}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1020",type:"button",onClick:R,disabled:x,className:"rounded-lg border border-[#98b5bd] bg-white px-3 py-1.5 text-[11px] font-extrabold text-[#315d6d] transition hover:border-[#183247] hover:bg-[#183247] hover:text-white disabled:cursor-not-allowed disabled:opacity-60",children:x?"Membuat ulang...":"Buat Ulang"})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-3 grid gap-3",children:M.map((o,K)=>e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:1020",className:"rounded-xl border border-[#d4e1e3] bg-white p-3.5",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",className:"flex items-center gap-2",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1020",className:"grid h-5 w-5 place-items-center rounded-full bg-[#183247] text-[10px] font-extrabold text-white",children:K+1}),e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"text-xs font-extrabold text-[#183247]",children:["Paket ",K+1," · ",o.targetRole]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-3 grid gap-3 text-xs leading-5 text-[#526e7c] sm:grid-cols-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"text-[10px] font-extrabold uppercase tracking-[0.12em] text-[#6a8792]",children:"Ringkasan"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-1",children:o.summary})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"text-[10px] font-extrabold uppercase tracking-[0.12em] text-[#6a8792]",children:"Keahlian"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-1",children:o.skills})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1020",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"text-[10px] font-extrabold uppercase tracking-[0.12em] text-[#6a8792]",children:"Poin pengalaman"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1020",className:"mt-1 whitespace-pre-line",children:o.experience})]})]}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1020",type:"button",onClick:()=>L(o),className:"mt-3 w-full rounded-lg border border-[#183247] px-3 py-2 text-[11px] font-extrabold text-[#183247] transition hover:bg-[#183247] hover:text-white",children:"Gunakan paket ini"})]},`${o.targetRole}-${K}`))})]}),t==="experience"&&e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1021",className:"mt-4 rounded-xl border border-[#d0e0e4] bg-white p-3",children:[e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:1021",className:"block",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1021",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#5b7785]",children:"Pilih pengalaman yang akan diperbarui"}),e.jsx("select",{"data-loc":"client/src/pages/Home.tsx:1021",value:A?.id??"",onChange:o=>c(o.target.value),className:"mt-2 w-full rounded-lg border border-[#c9dde1] bg-white px-3 py-2 text-sm font-semibold text-[#183247] outline-none focus:border-[#759eae]","aria-label":"Pilih pengalaman untuk AI",children:u.map((o,K)=>e.jsxs("option",{"data-loc":"client/src/pages/Home.tsx:1021",value:o.id,children:[o.role||`Pengalaman ${K+1}`,o.company?` — ${o.company}`:""]},o.id))})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1021",className:"mt-2 text-[11px] leading-5 text-[#66818d]",children:"AI Pengalaman hanya membantu menulis poin tugas atau tanggung jawab. Saat Anda memilih versi, hasil masuk ke kolom Pencapaian / tanggung jawab pada entri ini—jabatan, instansi, periode, pratinjau, PDF, dan Word tidak diubah secara terpisah."})]}),e.jsxs("label",{"data-loc":"client/src/pages/Home.tsx:1022",className:"mt-4 block",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1022",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#5b7785]",children:t==="experience"?`Fakta untuk poin tugas ${A?.role||"pengalaman terpilih"}`:`Fakta untuk ${f.label.toLowerCase()}`}),e.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:1022",value:s,onChange:o=>d(o.target.value),rows:4,maxLength:ae,"aria-describedby":"writer-brief-count",placeholder:"Ceritakan tugas, konteks kerja, alat yang digunakan, atau kontribusi nyata Anda. Untuk hasil paling akurat, masukkan fakta yang benar-benar Anda lakukan.",className:"mt-2 w-full resize-y rounded-xl border border-[#c9dde1] bg-white px-3 py-2.5 text-sm leading-6 text-[#183247] outline-none transition focus:border-[#759eae] focus:ring-4 focus:ring-[#d9eff2]"}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:1022",id:"writer-brief-count",className:"mt-1.5 block text-right text-[10px] font-semibold text-[#66818d]",children:[s.length.toLocaleStr
119ing("id-ID")," / ",ae.toLocaleString("id-ID")," karakter · gunakan fakta yang paling relevan"]}),s.length>=ae&&e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1022",role:"status",className:"mt-1 block text-[10px] font-bold text-[#a34b42]",children:"Batas maksimal tercapai. Ringkas fakta agar AI dapat memberi hasil yang lebih fokus."})]}),g&&e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1023",className:"mt-4 border-t border-[#cfe0e3] pt-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1023",className:"flex flex-wrap items-center justify-between gap-2",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1023",className:"text-[10px] font-extrabold uppercase tracking-[0.14em] text-[#5b7785]",children:"Pilih variasi yang paling sesuai"}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1023",type:"button",onClick:m,disabled:i,className:"rounded-lg border border-[#98b5bd] bg-white px-3 py-1.5 text-[11px] font-extrabold text-[#315d6d] transition hover:border-[#183247] hover:bg-[#183247] hover:text-white disabled:cursor-not-allowed disabled:opacity-60",children:i?"Membuat ulang...":"Buat Ulang"})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1023",className:"mt-1 text-[11px] leading-5 text-[#66818d]",children:"Belum diterapkan. Periksa setiap poin agar sesuai dengan pengalaman Anda sebelum digunakan."}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1023",className:"mt-3 grid gap-3",children:g.map((o,K)=>e.jsx("article",{"data-loc":"client/src/pages/Home.tsx:1023",className:"rounded-xl border border-[#d4e1e3] bg-white p-3.5",children:e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1023",className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1023",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1023",className:"flex items-center gap-2",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1023",className:"grid h-5 w-5 place-items-center rounded-full bg-[#183247] text-[10px] font-extrabold text-white",children:K+1}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1023",className:"text-xs font-extrabold text-[#183247]",children:o.label})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1023",className:"mt-2 whitespace-pre-line text-xs leading-5 text-[#526e7c]",children:o.content})]}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1023",type:"button",onClick:()=>r(o.content),className:"shrink-0 rounded-lg border border-[#183247] px-3 py-2 text-[11px] font-extrabold text-[#183247] transition hover:bg-[#183247] hover:text-white",children:"Gunakan versi ini"})]})},`${o.label}-${K}`))})]}),y&&e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1024",className:"mt-4 flex flex-col gap-2 rounded-xl border border-[#efc9c2] bg-[#fff4f1] p-3 text-xs leading-5 text-[#8d453b]",role:"alert",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1024",children:y}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1024",type:"button",onClick:w,disabled:i,className:"w-fit rounded-lg border border-[#c97164] bg-white px-3 py-1.5 text-[11px] font-extrabold text-[#9d493d] disabled:cursor-not-allowed disabled:opacity-60",children:"Coba lagi"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1025",className:"mt-3 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1025",className:"text-[11px] leading-5 text-[#64808c]",children:t==="experience"?"Mode fakta merapikan poin tugas yang benar-benar Anda lakukan. Draf berbasis jabatan hanya memberi contoh awal; periksa sebelum menerapkannya ke pengalaman terpilih.":"Mode fakta hanya merapikan informasi Anda. Draf berbasis jabatan memberi contoh umum dan tidak boleh dipakai tanpa diperiksa."}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1025",className:"flex flex-wrap gap-2",children:[e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1025",type:"button",onClick:()=>p("fact"),disabled:i,className:"quiet-button shrink-0 bg-white disabled:cursor-not-allowed disabled:opacity-60",children:[i?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:1025",className:"animate-spin",size:16}):e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:1025",size:16}),i?"Menulis...":t==="experience"?"Buat poin tugas dari fakta":`Buat ${f.label} dari fakta`]}),t==="experience"&&e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1025",type:"button",onClick:()=>p("role-guided"),disabled:i,className:"coral-button shrink-0 disabled:cursor-not-allowed disabled:opacity-60",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:1025",size:16})," Draf poin tugas dari jabatan"]})]})]})]})}function ia({value:t,onChange:a}){return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1030",className:"cv-template-picker mb-5","aria-label":"Pilihan template CV ATS",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1031",className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1031",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1031",className:"section-caption mb-1",children:"Template CV ATS"}),e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:1031",className:"font-display text-2xl tracking-[-0.04em] text-[#183247]",children:"Pilih susunan yang paling sesuai."})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1031",className:"max-w-[270px] text-[11px] leading-5 text-[#61808c]",children:"Semua template menjaga teks tetap nyata, terbaca, dan aman untuk proses ATS."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1032",className:"mt-4 grid gap-2 sm:grid-cols-3",children:gt.map(s=>e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1032",type:"button",onClick:()=>
119a(s.id),className:`cv-template-option cv-template-option-${s.id} ${t===s.id?"cv-template-option-active":""}`,"aria-label":`Template ${s.name}`,"aria-pressed":t===s.id,children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1032",className:"cv-template-option-label",children:s.label}),e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1032",children:s.name}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1032",children:s.description})]},s.id))})]})}function ca({value:t,onChange:a}){return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1037",className:"letter-template-picker mb-5","aria-label":"Pilihan template surat lamaran",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1038",className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1038",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1038",className:"section-caption mb-1",children:"Template Surat Lamaran"}),e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:1038",className:"font-display text-2xl tracking-[-0.04em] text-[#183247]",children:"Pilih tampilan yang sesuai."})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1038",className:"max-w-[270px] text-[11px] leading-5 text-[#61808c]",children:"Semua template mempertahankan struktur surat yang formal dan mudah dibaca."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1039",className:"mt-4 grid gap-2 sm:grid-cols-3",children:ut.map(s=>e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1039",type:"button",onClick:()=>a(s.id),className:`letter-template-option letter-template-option-${s.id} ${t===s.id?"letter-template-option-active":""}`,"aria-label":`Template surat ${s.name}`,"aria-pressed":t===s.id,children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1039",className:"letter-template-option-label",children:s.label}),e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1039",children:s.name}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1039",children:s.description})]},s.id))})]})}function ra({value:t,onChange:a}){return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1044",className:"document-font-picker mb-5","aria-label":"Pilihan font dokumen",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1045",className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1045",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1045",className:"section-caption mb-1",children:"Tipografi dokumen"}),e.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:1045",className:"font-display text-2xl tracking-[-0.04em] text-[#183247]",children:"Pilih font yang mudah dibaca."})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1045",className:"max-w-[290px] text-[11px] leading-5 text-[#61808c]",children:"Font diterapkan ke pratinjau serta unduhan Word dan PDF. Arial menjadi pilihan awal yang paling aman untuk ATS."})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1046",className:"mt-4 grid gap-2 sm:grid-cols-3",children:ht.map(s=>e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1046",type:"button",onClick:()=>a(s.id),className:`document-font-option document-font-option-${s.id} ${t===s.id?"document-font-option-active":""}`,"aria-label":`Font ${s.name}`,"aria-pressed":t===s.id,children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1046",className:"document-font-option-label",children:s.label}),e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1046",children:s.name}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1046",children:s.description})]},s.id))})]})}function Nt({cvText:t,jobDescription:a,onJobDescriptionChange:s,onAnalyze:d,isAnalyzing:p,result:m,errorMessage:r=""}){return e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1076",id:"checker",className:"no-print keyword-section relative isolate overflow-hidden border-y border-[#cbdce1] bg-[#f7f7f3] py-16 lg:py-24",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1077",className:"paper-rail pointer-events-none absolute inset-0 opacity-35","aria-hidden":"true"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1078",className:"relative mx-auto max-w-[1440px] px-5 lg:px-10",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1079",className:"mx-auto max-w-[780px] text-center",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1080",className:"eyebrow flex items-center justify-center gap-2",children:[e.jsx(ce,{"data-loc":"client/src/pages/Home.tsx:1080",size:14})," Pemeriksa kata kunci AI"]}),e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1081",className:"mt-4 font-display text-5xl tracking-[-0.055em] text-[#183247]",children:"Cocokkan CV dengan peluang yang Anda incar."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1082",className:"mx-auto mt-5 max-w-2xl text-sm leading-7 text-[#587080]",children:"Tempelk
119an deskripsi lowongan. Kiyomizu akan membandingkannya dengan CV aktif dan menunjukkan kata kunci relevan, celah, serta langkah perbaikan yang jujur."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1085",className:"keyword-workbench mt-10 overflow-hidden rounded-[25px] border border-[#d3e0e3] bg-white shadow-[0_20px_50px_rgba(24,50,71,0.1)]",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1086",className:"keyword-source-panel",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1087",className:"flex items-center justify-between gap-4",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1087",className:"section-caption mb-0",children:"CV aktif"}),e.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:1087",className:"keyword-status",children:[e.jsx(oe,{"data-loc":"client/src/pages/Home.tsx:1087",size:13})," Terhubung"]})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1088",className:"mt-3 font-display text-2xl tracking-[-0.04em] text-[#183247]",children:t.split(`
120`)[0].replace("Nama: ","")}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1089",className:"mt-2 text-xs leading-5 text-[#63808d]",children:"Kiyomizu menggunakan ringkasan, pengalaman, pendidikan, dan keahlian yang sedang Anda isi di editor CV."}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1090",className:"keyword-source-sheet mt-5",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1091",className:"source-sheet-kicker",children:"Data untuk dianalisis"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1092",children:t})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1094",className:"mt-5 flex items-start gap-2 text-[11px] leading-5 text-[#5e7783]",children:[e.jsx(ie,{"data-loc":"client/src/pages/Home.tsx:1094",className:"mt-0.5 shrink-0 text-[#ed6a5a]",size:14})," AI hanya menilai kecocokan teks dan tidak menjamin hasil seleksi rekrutmen."]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1097",className:"keyword-input-panel",children:[e.jsx("label",{"data-loc":"client/src/pages/Home.tsx:1098",htmlFor:"job-description",className:"section-caption mb-3 block",children:"Deskripsi lowongan"}),e.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:1099",id:"job-description",value:a,onChange:g=>s(g.target.value),placeholder:"Tempelkan judul posisi, tanggung jawab, keahlian wajib, dan kualifikasi dari lowongan di sini...",className:"keyword-textarea",rows:12}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1100",className:"mt-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:1100",className:"text-[11px] font-medium text-[#6a838e]",children:[a.trim().length," karakter · minimum 80 karakter"]}),e.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:1100",type:"button",onClick:d,disabled:p,className:"coral-button disabled:cursor-not-allowed disabled:opacity-60",children:[p?e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:1100",className:"animate-spin",size:17}):e.jsx(ce,{"data-loc":"client/src/pages/Home.tsx:1100",size:17})," ",p?"Membaca kecocokan...":"Periksa kecocokan"]})]})]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1103",className:"keyword-result-panel","aria-live":"polite",children:p?e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1104",className:"keyword-empty",children:[e.jsx(_,{"data-loc":"client/src/pages/Home.tsx:1104",className:"animate-spin text-[#ed6a5a]",size:28}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1104",className:"font-display text-3xl tracking-[-0.04em]",children:"Sedang menemukan benang merah."}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1104",children:"AI membaca CV dan persyaratan lowongan secara terstruktur."})]}):m?e.jsx(wt,{"data-loc":"client/src/pages/Home.tsx:1104",result:m}):r?e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1104",className:"keyword-empty",role:"alert",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1104",className:"grid h-14 w-14 place-items-center rounded-full bg-[#fff0ed] text-[#b95143]",children:e.jsx(ie,{"data-loc":"client/src/pages/Home.tsx:1104",size:25})}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1104",className:"font-display text-3xl tracking-[-0.04em]",children:"Analisis perlu dicoba lagi."}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1104",children:r}),e.jsx("button",{"data-loc":"client/src/pages/Home.tsx:1104",type:"button",onClick:d,className:"coral-button mt-4",children:"Coba lagi"})]}):e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1104",className:"keyword-empty",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1104",className:"grid h-14 w-14 place-items-center rounded-full bg-[#e6f1f3] text-[#183247]",children:e.jsx(nt,{"data-loc":"client/src/pages/Home.tsx:1104",size:25})}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1104",className:"font-display text-3xl tracking-[-0.04em]",children:"Hasil akan muncul di sini."}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1104",children:"Masukkan deskripsi lowongan lalu jalankan pemeriksaan untuk melihat peluang perbaikan CV Anda."})]})})]})]})]})}function wt({result:t}){return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1112",className:"keyword-result-content",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1113",className:"flex flex-col gap-5 border-b border-[#d9e5e7] pb-6 sm:flex-row sm:items-center",children:[e.jsx(Ct,{"data-loc":"client/src/pages/Home.tsx:1114",score:t.score}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1115",children:[e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1115",className:"section-caption mb-2",children:"Ringkasan kecocokan"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1115",className:"font-display text-[31px] leading-none tracking-[-0.045em] text-[#183247]",children:t.verdict})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1117",className:"keyword-insight-grid mt-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1118",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1118",className:"keyword-heading",children:[e.jsx(Qa,{"data-loc":"client/src/pages/Home.tsx:1118",size:15})," Kekuatan yang terbaca"]}),t.strengths.length?e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1118",className:"keyword-list",children:t.strengths.map((a,s)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1118",children:a},`${a}-${s}`))}):e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1118",className:"mt-3 text-xs leading-5 text-[#6c8490]",children:"AI belum menemukan kekuatan yang dapat dibuktikan secara eksplisit."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1119",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1119",className:"keyword-heading",children:[e.jsx(ee,{"data-loc":"client/src/pages/Home.tsx:1119",size:15})," Kata kunci cocok"]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1119",className:"keyword-chip-list",children:t.matchedKeywords.length?t.matchedKeywords.map((a,s)=>e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1119",className:"keyword-chip keyword-chip-match",children:a},`${a}-${s}`)):e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1119",className:"text-xs text-[#6c8490]",children:"Belum ada kecocokan eksplisit."})})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1120",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1120",className:"keyword-heading",children:[e.jsx(ie,{"data-loc":"client/src/pages/Home.tsx:1120",size:15})," Kata kunci belum terlihat"]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1120",className:"keyword-chip-list",children:t.missingKeywords.length?t.missingKeywords.map((a,s)=>e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1120",className:"keyword-chip keyword-chip-missing",children:a},`${a}-${s}`)):e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1120",className:"text-xs text-[#6c8490]",children:"Tidak ada celah besar yang terlihat."})})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1122",className:"keyword-suggestions mt-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1122",className:"keyword-heading",children:[e.jsx(B,{"data-loc":"client/src/pages/Home.tsx:1122",size:15})," Perbaikan yang jujur"]}),t.suggestions.length?e.jsx("ol",{"data-loc":"client/src/pages/Home.tsx:1122",children:t.suggestions.map((a,s)=>e.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:1122",children:[e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1122",children:String(s+1).padStart(2,"0")}),a]},`${a}-${s}`))}):e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1122",className:"mt-3 text-xs leading-5 text-[#6c8490]",children:"Tidak ada saran khusus yang dapat diberikan dari teks saat ini."})]})]})}function Ct({score:t}){const s=2*Math.PI*44,d=s-Math.max(0,Math.min(t,100))/100*s;return e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1130",className:"keyword-meter",children:[e.jsxs("svg",{"data-loc":"client/src/pages/Home.tsx:1130",viewBox:"0 0 112 112","aria-label":`Skor kecocokan ${t} dari 100`,children:[e.jsx("circle",{"data-loc":"client/src/pages/Home.tsx:1130",c
120x:"56",cy:"56",r:44,fill:"none",stroke:"#dce8ea",strokeWidth:"7"}),e.jsx("circle",{"data-loc":"client/src/pages/Home.tsx:1130",cx:"56",cy:"56",r:44,fill:"none",stroke:"#ed6a5a",strokeWidth:"7",strokeLinecap:"round",strokeDasharray:s,strokeDashoffset:d,transform:"rotate(-90 56 56)"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1130",children:[e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1130",children:t}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1130",children:"/100"})]})]})}function oa({activeDocument:t,form:a,experiences:s=[],internships:d=[],cvTemplate:p="professional",letterTemplate:m="formal",font:r="arial"}){const g=ne(a.skills),i=s.filter(c=>[c.role,c.company,c.period,c.details].some(H=>H.trim().length>0)),y=d.filter(c=>[c.role,c.company,c.period,c.details].some(H=>H.trim().length>0)),w=ne(a.organization),u=ne(a.achievements);if(t==="cv"){const c=a.summary&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1140",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1140",children:"Profil"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1140",children:a.summary})]}),H=i.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1141",className:"preview-section preview-experience-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1141",children:"Pengalaman Kerja"}),i.map(x=>e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1141",className:"preview-entry",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1141",className:"entry-top",children:[e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1141",children:x.role}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1141",children:x.period})]}),x.company&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1141",className:"entry-company",children:x.company}),x.details&&e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1141",className:"clean-list",children:re(x.details).map((D,f)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1141",children:D},`${x.id}-${f}`))})]},x.id))]}),N=y.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1142",className:"preview-section preview-internship-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1142",children:"Pengalaman Magang"}),y.map(x=>e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1142",className:"preview-entry",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1142",className:"entry-top",children:[e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1142",children:x.role}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1142",children:x.period})]}),x.company&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1142",className:"entry-company",children:x.company}),x.details&&e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1142",className:"clean-list",children:re(x.details).map((D,f)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1142",children:D},`${x.id}-${f}`))})]},x.id))]}),M=a.education&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1143",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1143",children:"Pendidikan"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1143",className:"whitespace-pre-line",children:a.education})]}),$=w.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1144",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1144",children:"Organisasi dan kegiatan"}),e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1144",className:"clean-list",children:w.map((x,D)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1144",children:x},`${x}-${D}`))})]}),R=u.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1145",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1145",children:"Pencapaian"}),e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1145",className:"clean-list",children:u.map((x,D)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1145",children:x},`${x}-${D}`))})]}),L=g.length>
1200&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1146",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1146",children:"Keahlian"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1146",className:"skill-list stacked",children:g.map(x=>e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1146",children:x},x))})]});return e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:1147",id:"preview-sheet",className:`document-preview document-font-${r} cv-preview cv-template-${p}`,children:[e.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:1148",className:"preview-header",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1148",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1148",className:"preview-kicker",children:"Curriculum Vitae"}),e.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:1148",children:a.fullName||"CV Anda"}),a.role&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1148",className:"preview-role",children:a.role})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1148",className:"proof-dot"})]}),[a.email,a.phone,a.location,a.website].filter(Boolean).length>0&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1149",className:"contact-row",children:[a.email,a.phone,a.location,a.website].filter(Boolean).join("  ·  ")}),![a.summary,a.skills,a.education,...i.flatMap(x=>[x.role,x.company,x.period,x.details]),...y.flatMap(x=>[x.role,x.company,x.period,x.details])].some(x=>x.trim().length>0)&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1150",className:"mt-8 text-sm leading-6 text-[#6f8690]",children:"Pratinjau akan terisi saat Anda mulai menulis."}),p==="professional"?e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1151",className:"preview-grid",children:[e.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:1151",className:"preview-sidebar",children:[L,M,R]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1151",className:"preview-content",children:[c,H,N,$]})]}):e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1151",className:"preview-linear",children:[c,H,N,M,$,R,L]})]})}const b=a.experienceDetail.split(`
121`).filter(Boolean);if(t==="letter"){const c=[a.email,a.phone].filter(Boolean).join(" · ");return e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:1157",id:"preview-sheet",className:`document-preview document-font-${r} letter-preview letter-template-${m}`,children:[m==="executive"&&e.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:1158",className:"letter-executive-head",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1158",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1158",children:a.fullName||"Nama Anda"}),a.role&&e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1158",children:a.role})]}),c&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1158",children:c})]}),m==="minimal"&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1159",className:"letter-minimal-kicker",children:"SURAT LAMARAN KERJA"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1160",className:"letter-date",children:a.letterDate||"Tanggal surat"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1161",className:"letter-recipient",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1161",children:"Kepada Yth."}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1161",children:a.recipient||"Tim Rekrutmen"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1161",children:a.company||"Nama perusahaan"}),a.companyAddress&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1161",className:"whitespace-pre-line",children:a.companyAddress})]}),a.letterSubject&&e.jsxs(e.Fragment,{children:[e.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:1162",className:"letter-subject",children:["Perihal: ",a.letterSubject]}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1162",className:"proof-line"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1163",className:"letter-body",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1163",children:a.letterOpening||"Dengan hormat,"}
121),a.letterBody?a.letterBody.split(/\n\s*\n/).filter(Boolean).map((H,N)=>e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1163",children:H},N)):e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1163",children:"Isi surat lamaran Anda akan tampil di sini. Jelaskan posisi yang dituju, alasan melamar, dan pengalaman yang relevan secara jujur."}),a.letterAttachments&&e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1163",className:"letter-attachments",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1163",children:"Sebagai bahan pertimbangan, saya lampirkan:"}),e.jsx("ol",{"data-loc":"client/src/pages/Home.tsx:1163",children:ne(a.letterAttachments).map((H,N)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1163",children:H},`${H}-${N}`))})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1163",children:a.letterClosing||"Demikian surat lamaran ini saya sampaikan. Terima kasih atas perhatian Bapak/Ibu."})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1164",className:"letter-signature",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1164",children:"Hormat saya,"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1164",className:"signature-space",children:a.letterSignature&&e.jsx("img",{"data-loc":"client/src/pages/Home.tsx:1164",src:a.letterSignature,alt:"Tanda tangan digital",className:"letter-signature-image"})}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1164",className:"font-display text-2xl tracking-[-0.04em]",children:a.fullName||"Nama Anda"})]})]})}return t==="history"?e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:1168",id:"preview-sheet",className:`document-preview document-font-${r} history-preview`,children:[e.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:1169",className:"preview-header history-header",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1169",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1169",className:"preview-kicker",children:"Daftar riwayat hidup"}),e.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:1169",children:a.fullName||"Nama Lengkap"}),a.role&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1169",className:"preview-role",children:a.role})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1169",className:"proof-dot"})]}),[a.email,a.phone,a.location,a.website].filter(Boolean).length>0&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1170",className:"contact-row",children:[a.email,a.phone,a.location,a.website].filter(Boolean).join("  ·  ")}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1171",className:"history-body",children:[a.summary&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1171",children:"Profil"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1171",children:a.summary})]}),i.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1171",children:"Pengalaman kerja dan kegiatan"}),i.map(c=>e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-entry history-entry",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1171",className:"entry-top",children:[e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1171",children:c.company||c.role||"Pengalaman"}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1171",children:c.period})]}),c.role&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1171",className:"entry-company",children:c.role}),c.details&&e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1171",className:"clean-list",children:c.details.split(`
122`).filter(Boolean).map((H,N)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1171",children:H},`${c.id}-${N}`))})]},c.id))]}),a.education&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1171",children:"Pendidikan"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1171",className:"whitespace-pre-line",children:a.education})]}),u.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1171",children:"Pencapaian dan pelatihan"}),e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1171",className:"clean-list",children:u.map((c,H)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1171",children:c},`${c}-${H}`))})]}),g.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1171",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1171",children:"Keahlian"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1171",className:"skill-list",children:g.map(c=>e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1171",children:c},c))})]}),![a.summary,a.education,a.skills,a.achievements,...i.flatMap(c=>[c.role,c.company,c.period,c.details])].some(c=>c.trim().length>0)&&e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1171",className:"mt-8 text-sm leading-6 text-[#6f8690]",children:"Pratinjau akan terisi saat Anda mulai menulis."})]})]}):e.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:1174",id:"preview-sheet",className:"document-preview cv-preview",children:[e.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:1175",className:"preview-header",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1175",children:[e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1175",className:"preview-kicker",children:"Curriculum Vitae"}),e.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:1175",children:a.fullName}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1175",className:"preview-role",children:a.role})]}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1175",className:"proof-d
122ot"})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1176",className:"contact-row",children:[a.email,a.phone,a.location,a.website].filter(Boolean).join("  ·  ")}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-grid",children:[e.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-sidebar",children:[e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1177",children:"Keahlian"}),e.jsx("div",{"data-loc":"client/src/pages/Home.tsx:1177",className:"skill-list stacked",children:g.map(c=>e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1177",children:c},c))})]}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1177",children:"Pendidikan"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1177",children:a.education})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-content",children:[e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1177",children:"Profil"}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1177",children:a.summary})]}),e.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-section",children:[e.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:1177",children:"Pengalaman"}),e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1177",className:"preview-entry",children:[e.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:1177",className:"entry-top",children:[e.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:1177",children:a.experienceRole}),e.jsx("span",{"data-loc":"client/src/pages/Home.tsx:1177",children:a.experiencePeriod})]}),e.jsx("p",{"data-loc":"client/src/pages/Home.tsx:1177",className:"entry-company",children:a.experienceCompany}),e.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:1177",className:"clean-list",children:b.map((c,H)=>e.jsx("li",{"data-loc":"client/src/pages/Home.tsx:1177",children:c},`${c}-${H}`))})]})]})]})]})]})}const St=Object.freeze(Object.defineProperty({__proto__:null,ApplicationPreparationCenter:ta,CvTemplatePicker:ia,CvWritingAssistant:na,DigitalSignaturePad:la,DocumentFontPicker:ra,DocumentPreview:oa,DonationLink:He,FormEditor:sa,KEYWORD_MATCH_MINIMUM_CHARS:Q,LetterTemplatePicker:ca,buildCvTextForAi:aa,default:ft,getKeywordMatchValidationMessage:ea},Symbol.toStringTag,{value:"Module"}));export{St as H,B as S,re as s};

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.