1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3481],{73481:function(e,a,t){t.r(a);var l=t(57437),s=t(8268),r=t(9388),d=t(33145),i=t(27648),c=t(99376),n=t(2265),o=t(94242);let u=e=>{let{title:a,src:t,placeholder:s}=e,r=null==t?void 0:t.toLowerCase().endsWith(".pdf");return(0,l.jsxs)("div",{className:"bg-white shadow-md rounded-xl p-4 flex flex-col items-center w-52 min-h-[290px]",children:[(0,l.jsx)("p",{className:"text-sm font-semibold mb-2 text-center",children:a}),(0,l.jsx)("div",{className:"w-full h-36 border rounded-md bg-gray-50 flex items-center justify-center overflow-hidden mb-3",children:t?r?(0,l.jsx)("iframe",{src:t,title:"PDF Preview - ".concat(a),className:"w-full h-full rounded"}):(0,l.jsx)(d.default,{src:t,width:140,height:100,className:"object-contain rounded max-h-full",alt:"Uploaded ".concat(a)}):(0,l.jsx)("p",{className:"text-xs text-gray-500 text-center px-2",children:s})}),t&&(0,l.jsx)(i.default,{href:t,target:"_blank",className:"text-xs bg-[#8E31EC] text-white px-4 py-1.5 rounded-md hover:bg-[#7a28cc] transition",children:"View"})]})};a.default=()=>{let e=(0,c.useSearchParams)().get("user_main_id"),[a,t]=(0,n.useState)([]);(0,n.useEffect)(()=>{e&&d()},[e]);let d=async()=>{try{let l=await (0,s.R1)(r.Z.attach_resume_userform+"/"+e);if((null==l?void 0:l.status)==200){var a;t(null==l?void 0:null===(a=l.data)||void 0===a?void 0:a.user_attachment)}}catch(e){e.message&&o.Am.error(e.message)}};return(0,l.jsxs)("div",{className:"flex flex-wrap gap-4 mt-4",children:[(0,l.jsx)(u,{title:"Passport",src:null==a?void 0:a.passport,placeholder:"No passport data available"}),(0,l.jsx)(u,{title:"Pan",src:null==a?void 0:a.pan,placeholder:"No pan data available"}),(0,l.jsx)(u,{title:"Aadhar",src:null==a?void 0:a.aadhar,placeholder:"No aadhar data available"}),(0,l.jsx)(u,{title:"Education",src:null==a?void 0:a.education,placeholder:"No education available"}),(0,l.jsx)(u,{title:"Experience",src:null==a?void 0:a.education,placeholder:"No experience available"})]})}}}]);
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.