Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/
Upload File :
Current File : /home/aplikasiposinfo/public_html/talent.gosepakat.id/public/build/assets/Show-DmIzcMxl.js

import{X as g,j as e,S as f,A as h}from"./app-2QdLIQqN.js";import{C as l,c as o}from"./card-Cpin4hTI.js";import{A as y}from"./AdminLayout-DY7jrQD1.js";import{B as x,C as N}from"./Combination-_FN36TAR.js";import{X as b}from"./x-xyk8EzYA.js";import{F as v,B as m}from"./file-text-7zlis3xG.js";import{c as d}from"./createLucideIcon-BVaC08B1.js";import{M}from"./mail-KzoJDY9Y.js";import{M as w}from"./map-pin-Cj1IgQdF.js";import{C as z}from"./calendar-DtgyhvMc.js";import{U as P}from"./user-DySjn-bZ.js";import{C}from"./clock-D3H1aXY-.js";import"./utils-CytzSlOG.js";import"./dropdown-menu-D3e2RbLw.js";import"./index-DAumjfj4.js";import"./toaster-pi_207ai.js";import"./index-GssNxGh3.js";import"./chevron-right-F6MGIvfd.js";import"./users-CroHd1N1.js";import"./graduation-cap-C95RbuN0.js";import"./index-DiacByjx.js";/**
 * @license lucide-react v0.474.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]],U=d("Building",_);/**
 * @license lucide-react v0.474.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const B=[["path",{d:"M10 9h4",key:"u4k05v"}],["path",{d:"M12 7v5",key:"ma6bk"}],["path",{d:"M14 22v-4a2 2 0 0 0-4 0v4",key:"1pdhuj"}],["path",{d:"M18 22V5.618a1 1 0 0 0-.553-.894l-4.553-2.277a2 2 0 0 0-1.788 0L6.553 4.724A1 1 0 0 0 6 5.618V22",key:"1rkokr"}],["path",{d:"m18 7 3.447 1.724a1 1 0 0 1 .553.894V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.618a1 1 0 0 1 .553-.894L6 7",key:"1w6esw"}]],j=d("Church",B);/**
 * @license lucide-react v0.474.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const A=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],D=d("DollarSign",A);/**
 * @license lucide-react v0.474.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const S=[["path",{d:"M16 10h2",key:"8sgtl7"}],["path",{d:"M16 14h2",key:"epxaof"}],["path",{d:"M6.17 15a3 3 0 0 1 5.66 0",key:"n6f512"}],["circle",{cx:"9",cy:"11",r:"2",key:"yxgjnd"}],["rect",{x:"2",y:"5",width:"20",height:"14",rx:"2",key:"qneu4z"}]],T=d("IdCard",S);/**
 * @license lucide-react v0.474.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],I=d("Phone",$),ie=({pelatihan_peserta:s,pelatihan:n})=>{const a=(r,t,c=null)=>e.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[c&&e.jsx("div",{className:"mt-1",children:c}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500",children:r}),e.jsx("p",{className:"font-medium",children:t||"-"})]})]}),i=(r,t)=>e.jsxs("div",{className:"mb-4",children:[e.jsx("p",{className:"text-sm text-gray-500 mb-2",children:r}),t?e.jsx("a",{href:route("storage.images",{path:t}),target:"_blank",children:e.jsxs("div",{className:"flex items-center gap-2 p-3 bg-gray-50 rounded-lg",children:[e.jsx(v,{className:"text-blue-500",size:20}),e.jsx("span",{className:"text-sm",children:"Buka Gambar"})]})}):e.jsx("p",{className:"text-sm text-gray-400",children:"Tidak ada file"})]}),u=r=>{var t=window.confirm("Yakin ingin menolak peserta ini?");t==!0&&h.post(route("admin.pendaftaran.reject",{id:r}))},p=r=>{h.post(route("admin.pendaftaran.approve",{id:r}))},k=g().props.auth.user;return e.jsxs(y,{user:k,header:e.jsx("h2",{className:"font-semibold text-xl text-gray-800 leading-tight",children:"Detail Peserta"}),children:[e.jsx(f,{title:"Detail Peserta"}),e.jsxs("div",{className:"flex items-center gap-6 mb-8",children:[e.jsx("div",{className:"relative",children:e.jsx("img",{src:route("storage.images",{path:s.user.peserta.foto_profil}),alt:"Profile",className:"w-24 h-24 rounded-full object-cover border-4 border-white shadow-sm"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold",children:s.user.peserta.nama_lengkap}),e.jsx("p",{className:"text-gray-500",children:s.user.peserta.status_pekerjaan||"Status tidak tersedia"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[e.jsx(l,{children:e.jsxs(o,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-6",children:"Informasi Pribadi"}),a("NIK",s.user.peserta.nik,e.jsx(T,{size:18})),a("NPWP",s.user.peserta.npwp,e.jsx(D,{size:18})),a("Email",s.user.peserta.email,e.jsx(M,{size:18})),a("No. HP",s.user.peserta.no_hp,e.jsx(I,{size:18})),a("Alamat",s.user.peserta.alamat,e.jsx(w,{size:18})),a("Tempat, Tanggal Lahir",`${s.user.peserta.tempat_lahir}, ${s.user.peserta.tanggal_lahir}`,e.jsx(z,{size:18})),a("Jenis Kelamin",s.user.peserta.jenis_kelamin,e.jsx(P,{size:18})),a("Usia",`${s.user.peserta.usia} tahun`,e.jsx(C,{size:18})),a("Agama",s.user.peserta.agama,e.jsx(j,{size:18})),a("Status Perkawinan",s.user.peserta.status_kawin,e.jsx(j,{size:18})),a("Utusan Dari",s.user.peserta.utusan_dari,e.jsx(U,{size:18}))]})}),e.jsx(l,{children:e.jsxs(o,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-6",children:"Informasi Pekerjaan"}),a("Status Pekerjaan",s.user.peserta.status_pekerjaan,e.jsx(m,{size:18})),a("Bidang Pekerjaan",s.user.peserta.bidang_pekerjaan,e.jsx(m,{size:18})),a("Tempat Bekerja",s.user.peserta.tempat_bekerja,e.jsx(m,{size:18})),a("Kriteria Usaha",s.user.peserta.kriteria_usaha,e.jsx(m,{size:18})),e.jsx("h2",{className:"text-lg font-semibold mb-6",children:"Dokumen"}),i("KTP",s.user.peserta.foto_ktp),i("Kartu Keluarga",s.user.peserta.foto_kk),i("Bukti Usaha",s.user.peserta.file_bukti_usaha),i("Profil Usaha",s.user.peserta.file_profil_usaha),i("Ijin Usaha",s.user.peserta.file_ijin_usaha)]})}),e.jsx(l,{children:e.jsxs(o,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-6",children:"Mendaftar Pelatihan"}),a("Pelatihan",n.title),a("Deskripsi",n.description),a("Tanggal Mulai",n.start_date),a("Tanggal Selesai",n.end_date),e.jsx("div",{className:"flex gap-4",children:s.status=="pending"&&e.jsxs(e.Fragment,{children:[e.jsx(x,{variant:"outline",onClick:()=>p(s.id),children:e.jsx(N,{className:"w-4 h-4 text-green-500"})}),e.jsx(x,{variant:"destructive",onClick:()=>u(s.id),children:e.jsx(b,{className:"w-4 h-4 text-white"})})]})})]})}),e.jsx(l,{children:e.jsxs(o,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-6",children:"Syarat Pelatihan"}),s.jawaban_syarat_pelatihans.map(r=>e.jsx("div",{className:"flex items-start gap-3 mb-4",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-gray-500",children:r.syarat_pelatihan.description}),r.syarat_pelatihan.type=="file"&&e.jsx("a",{href:route("storage.file",{path:r.jawaban}),target:"_blank",children:"Lihat file"}),r.syarat_pelatihan.type=="checkbox"&&e.jsx("p",{className:"font-medium",children:r.jawaban==1?"Ya":"Tidak"}),(r.syarat_pelatihan.type=="text"||r.syarat_pelatihan.type=="number")&&e.jsx("p",{className:"font-medium",children:r.jawaban})]})},r.id))]})})]})]})};export{ie as default};

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]