PageSourceSearch

https://jobs.qapa.fr/front-applicant/assets/use-cv-uploader-vGTVKOLs.js

js qapa.fr collected 2026-09-24 09:34:30 UTC 1,134 bytes, 2 lines download raw bytes

1import{aV as c,aW as i,aX as l,a8 as m}from"./index-DljKbM12.js";import{u as v}from"./upload-file-name-lm3C3X9m.js";const n=class n{static async uploadCv(s,e){const t=new FormData;return t.append("file",s,v(s)),(await l.post(e?`${this.baseUrl}/applicants/${e}/cvparser`:`${this.baseUrl}/public/cvparser`,t,{headers:{"Content-Type":"multipart/form-data"}})).data}};n.baseUrl=c(i.API);let a=n;const h=[".doc",".docx",".pdf",".rtf",".jpg",".jpeg",".png",".bmp",".tiff",".jp2",".jpx",".xpp"],u=4;function w(){const{t:o}=m();async function s(e,t){if(e.size<u*1024*1024)if(h.some(r=>e.name.toLowerCase().endsWith(r))){let r;try{r=await a.uploadCv(e,t)}catch(p){throw console.error(p),Error(o("common.une-erreur.une-erreur-est-survenue"))}if(!r.cv_subpath)throw console.error(o("common.une-erreur.une-erreur-est-survenue-envoi-fichier")),Error(o("common.une-erreur.une-erreur-est-survenue-envoi-fichier"));return r}else throw Error(o("helpers.cv-uploader.votre-cv-a-une"));else throw Error(o("helpers.cv-uploader.votre-cv-depasse-la",{fileSizeInMo:u}))}return{uploadCv:s}}export{w as u};
2//# sourceMappingURL=use-cv-uploader-vGTVKOLs.js.map

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.