(function(){let max_upload_filesize=4194304;let SV_widget_type="chat_bot";let SV_title="Rejoins-nous !";let SV_text_color="white";let SV_color="#9862CC";let SV_horizontal_placement="right";let SV_vertical_placement="bottom";let SV_message_welcome="Envoie-nous ton CV !";let SV_message_to_upload="Dépose ici ton CV si tu souhaites nous rejoindre en conseil, gestion de projet, développement front/back, growth hacking, etc.";let SV_message_on_uploaded="Merci ! Nous reviendrons vers toi si nous pensons qu\'un poste peut te convenir.";let SV_unique_hash="1e05f87106485890";let SV_path="https://socialvault.com/upload-cv";let SV_drop_your_resume="Drop your resume";let SV_uploading='Sending file...';let SV_add_link='Add SocialVault to your site';let SV_questions='
Question 1/5
Quel type de contrat recherches-tu ?
Dans quel bureau veux-tu postuler ?
';let SV_next='Next';let SV_send='Send';let SV_font='Montserrat';let SV_upload_path=SV_path+"/"+SV_unique_hash;let download_arrow='';let checked_color=SV_color;let checked_size="42px";let checked='';let cancel_size="16px";let cancel='';let body=document.getElementsByTagName("body")[0];function setAttributes(el,attrs){for(var key in attrs){el.setAttribute(key,attrs[key])}};let socialvault=document.createElement("div");setAttributes(socialvault,{"id":"socialvault","class":"socialvault"});let container_btn_join=document.createElement("div");container_btn_join.setAttribute("id","container_btn_join");let SV_div_joinus=document.createElement("div");container_btn_join.appendChild(SV_div_joinus);SV_div_joinus.setAttribute("id","SV_div_joinus");let pictoElement=document.createElement('div');pictoElement.setAttribute('style','display:inline-block;vertical-align:middle');pictoElement.innerHTML='';let privacyPolicy='';SV_div_joinus.appendChild(pictoElement);let widget_join_us_title=document.createElement("span");widget_join_us_title.setAttribute("id","join_us_h");widget_join_us_title.appendChild(document.createTextNode(SV_message_welcome));SV_div_joinus.appendChild(widget_join_us_title);let SV_h=document.createElement("div");SV_h.setAttribute("id","SV_h");SV_h.appendChild(document.createTextNode(SV_title));let SV_div_title=document.createElement("div");SV_div_title.setAttribute("id","SV_div_title");SV_div_title.style.textAlign='left';SV_div_title.appendChild(SV_h);let title_p=document.createElement('p');title_p.innerText='Allez viens, on est bien.';title_p.setAttribute('style','margin:0;color:'+SV_text_color+';font-size:small;font-weight:400;');SV_div_title.appendChild(title_p);let SV_div_title_container=document.createElement('div');setAttributes(SV_div_title_container,{"id":"SV_div_title_container","class":"SV_container","style":"background-color:"+SV_color+";position:relative;z-index:2"});SV_div_title_container.appendChild(SV_div_title);let SV_p_message_to_upload=document.createElement("p");SV_p_message_to_upload.setAttribute("style","line-height:normal;white-space:pre-line;margin:0;padding:10px;border-radius:7px;color:"+SV_text_color+";opacity:.8;background-color:"+SV_color);SV_p_message_to_upload.appendChild(document.createTextNode(SV_message_to_upload));let SV_div_messages=document.createElement("div");SV_div_messages.setAttribute("id","SV_div_messages");let SV_left_inside_div_messages=document.createElement('div');SV_left_inside_div_messages.setAttribute("id","SV_left_inside_div_messages");let SV_right_inside_div_messages=document.createElement('div');SV_right_inside_div_messages.setAttribute("id","SV_right_inside_div_messages");let pictoMessagesElement=document.createElement('div');pictoMessagesElement.innerHTML='';SV_left_inside_div_messages.appendChild(pictoMessagesElement);SV_right_inside_div_messages.appendChild(SV_p_message_to_upload);SV_right_inside_div_messages.style.width='60%';SV_div_messages.appendChild(SV_left_inside_div_messages);SV_div_messages.appendChild(SV_right_inside_div_messages);SV_div_messages.style.display='flex';let SV_div_messages_container=document.createElement('div');setAttributes(SV_div_messages_container,{"id":"SV_div_messages_container","class":"SV_container"});SV_div_messages_container.appendChild(SV_div_messages);SV_questions_div=document.createElement('div');SV_questions_div.setAttribute('id','questions_form');SV_questions_div.setAttribute('style','height:275px;padding:1rem 1rem 0 1rem;font-size:1rem;overflow-y:scroll;opacity: 0;transition:opacity .75s linear;');SV_questions_div.innerHTML=SV_questions;SV_div_messages_container.append(SV_questions_div);let browseEl=document.createElement("span");browseEl.appendChild(document.createTextNode(SV_drop_your_resume));browseEl.setAttribute('style','color:'+SV_color+';dominant-baseline:central;text-anchor:middle');let SV_droparea=document.createElement("div");setAttributes(SV_droparea,{"id":"SV_droparea","draggable":"true"});SV_droparea.appendChild(browseEl);browseEl=browseEl.innerHTML;let SV_inputFile=document.createElement("input");setAttributes(SV_inputFile,{"type":"file","name":"SV_file","id":"SV_file","accept":".pdf","required":"required"});let SV_inputImg=document.createElement("div");setAttributes(SV_inputImg,{"id":"SV_browse","onclick":"document.getElementById('SV_file').click();"});let SV_div_input=document.createElement("div");SV_div_input.setAttribute("id","SV_div_input");SV_div_input.appendChild(SV_inputFile);SV_div_input.appendChild(SV_droparea);SV_div_input.appendChild(SV_inputImg);let SV_div_input_container=document.createElement('div');setAttributes(SV_div_input_container,{"id":"SV_div_input_container","class":"SV_container"});SV_div_input_container.appendChild(SV_div_input);let SV__link_div=document.createElement("div");SV__link_div.setAttribute("id","SV__link_div");SV__link_div.innerHTML=SV_add_link.replace('_JS_hostname_',window.location.hostname)+''+privacyPolicy+'';SV__link_div.setAttribute('style','background-color:white;text-decoration:none;color:'+SV_color+';text-align:center; height:35px;width:100%;position:absolute;font-size:13px;bottom:0;display:flex;justify-content:space-between;padding: 0 20px 0 20px;align-items:center;box-shadow:0 4px 8px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.15);');let SV__link_div_container=document.createElement('div');setAttributes(SV__link_div_container,{"id":"SV__link_div_container","class":"SV_container"});SV__link_div_container.appendChild(SV__link_div);let SV_img_close=document.createElement("div");SV_img_close.setAttribute("id","SV_img_cancel");let SV_div_close=document.createElement("div");SV_div_close.setAttribute("id","SV_div_close");SV_div_close.appendChild(SV_img_close);let SV_form=document.createElement("div");let SV_whole_form_wrapper=document.createElement("div");SV_whole_form_wrapper.setAttribute("class","SV_whole_form_wrapper");setAttributes(SV_form,{"class":"SV_form","id":"SV_form","tabindex":"0"});SV_form.appendChild(SV_div_title_container);SV_form.appendChild(SV_div_messages_container);SV_form.appendChild(SV_div_input_container);SV_form.appendChild(SV__link_div_container);socialvault.appendChild(SV_div_close);let css="";if(SV_widget_type==="chat_bot"){SV_whole_form_wrapper.appendChild(SV_form);css=".bounce{animation:bounce 2s infinite;-webkit-animation:bounce 2s infinite;-moz-animation:bounce 2s infinite;-o-animation:bounce 2s infinite;} @-webkit-keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);} 40%{-webkit-transform:translateY(-20px);} 60%{-webkit-transform:translateY(-15px);}} @-moz-keyframes bounce{0%,20%,50%,80%,100%{-moz-transform:translateY(0);} 40%{-moz-transform:translateY(-20px);} 60%{-moz-transform:translateY(-15px);}} @-o-keyframes bounce{0%,20%,50%,80%,100%{-o-transform:translateY(0);} 40%{-o-transform:translateY(-20px);} 60%{-o-transform:translateY(-15px);}} @keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0);} 40%{transform:translateY(-20px);} 60%{transform:translateY(-15px);}} .socialvault{z-index:2147483646;position:fixed;font-size:18px;}.SV_form{width:355px;height:0;overflow:hidden;outline:none;margin-bottom:80px;box-sizing:initial;transition:height 1s ease;-moz-transition:height 1s ease;-o-transition:height 1s ease;transition:height 1s ease;} .showing{height:370px;z-index:101} .hiding{height:0;} .SV_form, div#SV_div_joinus{background-color:white;position:fixed;"+SV_vertical_placement+":0;"+SV_horizontal_placement+":0;margin:20px;border-radius:1.4rem;box-shadow:0 4px 8px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.15);} div#SV_form{margin-bottom:80px;margin-top:80px;} div#SV_form p:not(#SV_p_message_on_uploaded){line-height:normal;} div#SV_div_joinus{padding:10px 25px;cursor:pointer;color:"+SV_text_color+";background-color:"+SV_color+";font-weight:normal;z-index:100;display:flex;align-items:center;} div#SV_div_joinus>div{margin-right:8px;} svg.SV_svg path{fill:"+SV_text_color+"!important;} svg.SV_svg_color path{fill:"+SV_color+"!important;} div#SV_div_title{text-align:center;background-color:"+SV_color+";padding:10px 25px;position:relative;z-index:2} div#SV_div_title>#SV_h{color:"+SV_text_color+";font-size:20px;font-weight:400;display:inline-block;margin:0;} div#SV_div_messages{font-size:13px;font-weight:400;height:143px;padding:10px;} div#SV_div_messages>p{display:inline;background-color:#f4f4f4;color:#666;border-radius:8px;-moz-border-radius:8px;border-radius:8px;padding:8px 20px;margin:5px 20px;float:left;clear:left;} div#SV_div_messages>p:nth-child(2){display:none;margin-top:20px;} div#SV_div_input{text-align:center;margin:10px;position:absolute;bottom:30px;left:0;right:0;border-radius:10px;-moz-border-radius:10px;border-radius:4px;background-color:white} input#SV_file{display:none;} div#SV_div_close{text-align:center;border-color:#9B59B6;border-radius:50%;float:right;position:fixed;"+SV_vertical_placement+":0;"+SV_horizontal_placement+":0;margin:20px;height:42px;width:42px;cursor:pointer;background-color:"+SV_color+";} div#SV_div_close svg{padding:14px;box-sizing:content-box;vertical-align:unset;margin-right:5px;} #SV_droparea{background-color:white;border:3px dashed "+SV_color+";border-radius:.3rem;box-shadow:0 4px 8px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.15);min-height:60px;cursor:pointer;font-weight:700;line-height:66px;color:"+SV_color+";} #SV_droparea:hover, #SV_droparea.hover{background-color:#eee;} div#SV__link_div>a{text-align:center;text-decoration:none;border-radius:10px;-moz-border-radius:10px;background-color:white;vertical-align:-moz-middle-with-baseline;color:"+SV_color+";} svg.waving-hands{animation:SVshake .4s infinite alternate;animation:SVshake .4s infinite alternate;} @media(max-width:450px){#SV_form{margin:2.5vw;width:95vw;} #SV_div_joinus{font-size:14px;} #SV_form>#SV_div_title>#SV_h{font-size:16px} #waving-hands{animation:SVshake .4s infinite alternate;} #join_us_h{display:none;} #container_btn_join #SV_div_joinus>div{margin:0;} #container_btn_join #SV_div_joinus{padding:10px10px;}} @keyframes SVshake{from{transform:rotate(80deg);} to{transform-origin:center center;transform:rotate(-10deg);}}#SV_left_inside_div_messages,#SV_right_inside_div_messages{margin:0;}"}else if(SV_widget_type==="inline"){let SV_widget_block=document.getElementById("socialvault");SV_widget_block.setAttribute('style','position:relative;background-color:'+SV_color+';overflow:hidden;transition:height 1s ease');let SV_div_joinus_block=document.createElement("div");SV_widget_block.appendChild(SV_div_joinus_block);SV_div_joinus_block.setAttribute("id","SV_div_joinus_block");SV_div_joinus_block.setAttribute("style","height:150px;padding:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:"+SV_text_color+";transition:all 1s ease");let join_us_title_container=document.createElement('div');join_us_title_container.setAttribute('id','SV_join_us_title_container');join_us_title_container.setAttribute('style','display:flex;align-items:center;margin-bottom:15px;font-size:24px;font-weight:bold');SV_div_joinus_block.appendChild(join_us_title_container);pictoElement.setAttribute('style','margin-right:8px');join_us_title_container.appendChild(pictoElement);let widget_join_us_title_block=document.createElement("span");widget_join_us_title_block.appendChild(document.createTextNode(SV_message_welcome));join_us_title_container.appendChild(widget_join_us_title_block);let drop_your_cv=document.createElement("div");drop_your_cv.appendChild(document.createTextNode(SV_drop_your_resume));SV_div_joinus_block.appendChild(drop_your_cv);SV_widget_block.appendChild(SV_form);SV_form.classList.add("hiding");css=".bounce{animation:bounce 2s infinite;-webkit-animation:bounce 2s infinite;-moz-animation:bounce 2s infinite;-o-animation:bounce 2s infinite;} @-webkit-keyframes bounce{0%,20%,50%,80%,100%{-webkit-transform:translateY(0);} 40%{-webkit-transform:translateY(-20px);} 60%{-webkit-transform:translateY(-15px);}} @-moz-keyframes bounce{0%,20%,50%,80%,100%{-moz-transform:translateY(0);} 40%{-moz-transform:translateY(-20px);} 60%{-moz-transform:translateY(-15px);}} @-o-keyframes bounce{0%,20%,50%,80%,100%{-o-transform:translateY(0);} 40%{-o-transform:translateY(-20px);} 60%{-o-transform:translateY(-15px);}} @keyframes bounce{0%,20%,50%,80%,100%{transform:translateY(0);} 40%{transform:translateY(-20px);} 60%{transform:translateY(-15px);}} .socialvault{display:none;}.SV_form{position:relative;background-color:#F3F3F3;overflow:hidden;outline:none;box-sizing:initial;-moz-transition:height 1s ease;-o-transition:height 1s ease;transition:height 1s ease;} .showing{height:370px;z-index:101} .hiding{height:0;} div#SV_form p{line-height:normal;} div#SV_div_joinus{padding:10px 25px;cursor:pointer;color:white;background-color:"+SV_color+";font-weight:normal;z-index:100;display:flex;align-items:center;} div#SV_div_joinus>div{margin-right:8px;} svg.SV_svg path{fill:"+SV_text_color+"!important;} svg.SV_svg_color path{fill:"+SV_color+"!important;} .SV_container{display:flex;justify-content:center} .SV_container>div{width:100%;max-width:800px} div#SV_div_title{text-align:center;background-color:"+SV_color+";padding:10px 25px} div#SV_div_title>#SV_h{color:"+SV_text_color+";font-size:20px;font-weight:400;display:inline-block;margin:0;} div#SV_div_messages{font-size:13px;font-weight:400;height:143px;padding:10px;} div#SV_div_messages>p{display:inline;background-color:#f4f4f4;color:#686868;border-radius:8px;-moz-border-radius:8px;border-radius:8px;padding:8px 20px;margin:5px 20px;float:left;clear:left;} div#SV_div_messages>p:nth-child(2){display:none;margin-top:20px;} div#SV_div_input{text-align:center;margin:10px 0;padding:5px;position:absolute;bottom:30px;left:50%;right:0;transform:translateX(-50%);border-radius:10px;-moz-border-radius:10px;border-radius:4px;} input#SV_file{display:none;} div#SV_div_close{text-align:center;border-color:#9B59B6;border-radius:50%;float:right;position:fixed;"+SV_vertical_placement+":0;"+SV_horizontal_placement+":0;margin:20px;height:42px;width:42px;cursor:pointer;background-color:"+SV_color+";} div#SV_div_close svg{padding:14px;box-sizing:content-box;vertical-align:unset;margin-right:5px;} #SV_droparea{background-color:white;border:3px dashed "+SV_color+";border-radius:.3rem;box-shadow:0 4px 8px rgba(0,0,0,.1),0 8px 32px rgba(0,0,0,.15);min-height:60px;cursor:pointer;font-weight:700;line-height:66px;color:"+SV_color+";} #SV_droparea:hover, #SV_droparea.hover{background-color:#eaeaea;} #SV__link_div{border-radius:8px 8px 0 0} div#SV__link_div>a{text-align:center;text-decoration:none;border-radius:10px;-moz-border-radius:10px;background-color:white;vertical-align:-moz-middle-with-baseline;color:"+SV_color+";} svg.waving-hands{animation:SVshake .4s infinite alternate;animation:SVshake .4s infinite alternate;} @media(max-width:450px){#SV_form{margin:2.5vw;width:95vw;} #SV_div_joinus{font-size:14px;} #SV_form>#SV_div_title>#SV_h{font-size:16px} #waving-hands{animation:SVshake .4s infinite alternate;} #join_us_h{display:none;} #container_btn_join #SV_div_joinus>div{margin:0;} #container_btn_join #SV_div_joinus{padding:10px10px;}} @keyframes SVshake{from{transform:rotate(80deg);} to{transform-origin:center center;transform:rotate(-10deg);}} #SV_right_inside_div_messages{max-width:300px} #SV_left_inside_div_messages,#SV_right_inside_div_messages{margin:0;}";document.addEventListener("dragenter",function(e){e.preventDefault();SV_div_joinus_block.style.marginTop="-150px";SV_form.classList.remove("hiding");SV_form.classList.add("showing");SV_form.focus()});document.body.addEventListener("dragleave",function(e){if(e.fromElement===null){SV_form.classList.remove("showing");SV_form.classList.add("hiding");SV_div_joinus_block.style.marginTop="0"}})};let head=document.head||document.getElementsByTagName("head")[0];var link=document.createElement('link');link.setAttribute('rel','stylesheet');link.setAttribute('type','text/css');link.setAttribute('href','https://fonts.googleapis.com/css?family='+SV_font+':200,400,700&display=swap');document.head.appendChild(link);let font=document.createElement('link');font.rel='stylesheet';font.type='text/css';font.href='https://fonts.googleapis.com/css?family=Open+Sans:400,700';font.media='all';head.appendChild(font);let style=document.createElement("style");style.type="text/css";style.appendChild(document.createTextNode(css+' #socialvault *{box-sizing:border-box;}#socialvault div.form-group{margin-bottom:1rem;}#socialvault div.form-group>label{color:black;display:inline-block;margin-bottom:.5rem;}#socialvault select.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color: #fff;background-clip: padding-box;border:1px solid #ced4da;border-radius:.25rem;font-family:inherit;}#socialvault fieldset{border:0;padding:0;margin:0 0 1rem 0;}#socialvault legend{padding-top:.5rem;padding-bottom:.5rem;margin-bottom:0;font-size:inherit;line-height:1.5;}#socialvault textarea{height:4rem;resize:vertical;overflow:auto;}#socialvault input[type="text"],#socialvault textarea{display:block;width:100%;border:1px solid #ced4da;border-radius:.25rem;font-family:inherit;font-size:1rem;line-height:1.5;padding:.375rem .75rem;}#socialvault [type="submit"]{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;font-family:inherit;cursor:pointer;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;}'));head.appendChild(style);socialvault.appendChild(container_btn_join);socialvault.appendChild(SV_whole_form_wrapper);socialvault.style.fontFamily='"'+SV_font+'",sans-serif';body.appendChild(socialvault);render_xml('SV_img_cancel',cancel);let $container_btn_join=document.querySelector("div#container_btn_join");$container_btn_join.setAttribute('style','opacity:1');let $SV_div_joinus=document.querySelector("div#SV_div_joinus");$SV_div_joinus.addEventListener('click',function(){SV_droparea.innerHTML=browseEl=SV_drop_your_resume $SV_div_joinus.setAttribute('style','opacity:0;'+SV_horizontal_placement+':-500px;transition:all 1.5s linear');SV_form.classList.remove("hiding");SV_droparea.classList.remove("hover");$container_btn_join.setAttribute('style','opacity:.7');SV_whole_form_wrapper.setAttribute('style','opacity:1;transition:opacity 1s linear');SV_div_messages.style.display='flex';SV_div_input_container.style.display='block';SV_questions_div.style.opacity=0;setTimeout(function(){SV_form.classList.add("showing");SV_form.focus()},0);initHandlers()});let $wavingHands=document.querySelector('#waving-hands');$SV_div_joinus.addEventListener('mouseover',function(){$wavingHands.setAttribute('class','waving-hands')});$SV_div_joinus.addEventListener('mouseleave',function(){$wavingHands.removeAttribute('class')});document.querySelector("div#SV_div_close").addEventListener('click',function(){$SV_div_joinus.setAttribute('style','opacity:1;'+SV_horizontal_placement+':0;transition:all .5s linear');setTimeout(function(){SV_droparea.setAttribute('style','border:3px dashed '+SV_color+';backgroundImage:none;pointerEvents:all;')},400);$container_btn_join.setAttribute('style','opacity:1');SV_whole_form_wrapper.setAttribute('style','opacity:0;transition:opacity 1s linear');SV_droparea.addEventListener('mouseenter',function(){this.innerHTML=download_arrow});document.addEventListener('dragover',function(e){e.stopPropagation();SV_form.classList.add("showing");$SV_div_joinus.setAttribute('style','opacity:0;'+SV_horizontal_placement+':-500px;transition:all 1.5s linear');SV_droparea.innerHTML=download_arrow});close_snippet()});SV_droparea.addEventListener('mouseenter',function(){this.innerHTML=download_arrow});document.addEventListener('dragover',function(e){e.stopPropagation();SV_form.classList.remove("hiding");SV_whole_form_wrapper.setAttribute('style','opacity:1;transition:opacity 1s linear');SV_form.classList.add("showing");$SV_div_joinus.setAttribute('style','opacity:0;'+SV_horizontal_placement+':-500px;transition:all 1.5s linear');SV_droparea.innerHTML=download_arrow});SV_droparea.addEventListener('dragenter',function(e){this.style.backgroundColor="#eaeaea"});SV_droparea.addEventListener('dragleave',function(e){this.style.backgroundColor="white"});SV_droparea.addEventListener('mouseleave',function(){this.innerHTML=browseEl});function close_snippet(){SV_form.classList.remove("showing");setTimeout(function(){SV_form.classList.add("hiding")},0);setTimeout(function(){SV_droparea.innerHTML=browseEl},1000)};function render_xml(id,xml_string){var doc=new DOMParser().parseFromString(xml_string,'application/xml');var el=document.getElementById(id);el.appendChild(el.ownerDocument.importNode(doc.documentElement,!0))};SV_droparea.addEventListener('click',function(){document.querySelector('#SV_file').click()});var inputFile=document.getElementById('SV_file');var dropArea=document.querySelectorAll('#socialvault'+(SV_widget_type==='chat_bot'?'.socialvault':':not(.socialvault)'))[0];function initHandlers(){inputFile.addEventListener('change',browse);dropArea.addEventListener('drop',handleDrop);dropArea.addEventListener('dragover',handleDragOver)};function handleDragOver(event){event.stopPropagation();event.preventDefault();dropArea.classList.add('hover')};function handleDrop(event){event.stopPropagation();event.preventDefault();processFiles(event.dataTransfer.files)};function browse(event){event.stopPropagation();event.preventDefault();processFiles(event.srcElement.files);inputFile.value=null};function processFiles(filelist){if(!filelist||!filelist.length){return} upload(filelist[0])};function upload(fileToUpload){if(fileToUpload){if(fileToUpload.size>=max_upload_filesize){alert('The file is too large. Please try again.')}else{if(fileToUpload.type.split('/')[1]==='pdf'){uploadFile(fileToUpload)}else{alert('This file extension is not allowed. Please try again.')}}}};function uploadFile(file){SV_droparea.style.pointerEvents='none';inputFile.removeEventListener('change',browse);dropArea.removeEventListener('drop',handleDrop);dropArea.removeEventListener('dragover',handleDragOver);browseEl=SV_uploading;close=document.querySelector("div#SV_div_close");close.style.pointerEvents='none';var xhr=new XMLHttpRequest();xhr.open('POST',SV_upload_path);var formData=new FormData();formData.append('file',file);xhr.send(formData);xhr.onload=function(){let uploadHash=JSON.parse(xhr.response).uploadHash;if(uploadHash){setTimeout(function(){let SV_p_message_on_uploaded=document.createElement("p");SV_p_message_on_uploaded.setAttribute('id','SV_p_message_on_uploaded');SV_p_message_on_uploaded.appendChild(document.createTextNode(SV_message_on_uploaded));SV_droparea.innerHTML='';SV_droparea.appendChild(SV_p_message_on_uploaded);$SV_p_message_on_uploaded=document.querySelector("p#SV_p_message_on_uploaded");$SV_p_message_on_uploaded.setAttribute('style','fontWeight:500;padding:3px;transition:font-size 5s ease-in-out');SV_droparea.setAttribute('style','background-image:linear-gradient(to bottom,white 50%,'+SV_color+' 50%);border:none;transition:background-position 1.5s;background-size:100% 200%;background-position:0 100%');$SV_p_message_on_uploaded.setAttribute('id','SV_p_message_on_uploaded');$SV_p_message_on_uploaded.setAttribute('style','font-size:15px;transition:all 2s;color:'+SV_text_color+';display:inline-block;margin:0;line-height:1.5rem;padding-top:20px;');SV_droparea.style.pointerEvents='none';close.style.pointerEvents='initial';if(SV_questions){setTimeout(function(){let questionsFormSelector='div#socialvault form[name="questions"]';let questionsForm=document.querySelector(questionsFormSelector);questionsForm.reset();SV_questions_div.scrollTop=0;uploadHashInput=document.querySelector(questionsFormSelector+' #questions_upload_hash');uploadHashInput.value=uploadHash;SV_div_messages.style.display='none';SV_div_input_container.style.display='none';SV_questions_div.style.opacity=1;submitCount=0;questions=document.querySelectorAll('#socialvault div[data-question]');questions.forEach(function(question){question.style.display='none'});questionNumber=1;questions[0].style.display='block';document.querySelector('#socialvault .q_progress-wrap').style.backgroundColor=SV_color;document.querySelector('#socialvault #current_question_number').textContent=questionNumber;if(questionNumber!==questions.length){document.querySelector('#socialvault #questions_submit').textContent=SV_next} questionsForm.addEventListener('submit',function(event){event.stopPropagation();event.preventDefault();if(questionNumber!==questions.length){document.querySelector('#socialvault .q_progress-bar').style.left=(questionNumber*100/questions.length)+'%';questions[questionNumber-1].style.display='none';questions[questionNumber].style.display='block';questionNumber++;document.querySelector('#socialvault #current_question_number').textContent=questionNumber}else{document.querySelector('#socialvault .q_progress-bar').style.left='100%';submitCount++;if(submitCount>1){return} var xhr=new XMLHttpRequest();xhr.open('POST',document.querySelector('div#socialvault form[name="questions"]').getAttribute('action'));xhr.send(new FormData(questionsForm));SV_questions_div.style.opacity=0;setTimeout(function(){SV_div_input_container.style.display='block'},1500)} if(questionNumber===questions.length){document.querySelector('#socialvault #questions_submit').textContent=SV_send}})},2000)}},1500)}else{alert('An error has occurred: your file could not be saved. Please try again.');SV_droparea.innerHTML=browseEl=SV_drop_your_resume SV_droparea.style.pointerEvents='initial';close.style.pointerEvents='initial';initHandlers()}}};initHandlers()})()