1var p=Object.defineProperty;var r=(e,n)=>p(e,"name",{value:n,configurable:!0});var Async=r(function(e,n){this.id=e,this.callback=n,this.init=!1,this.ready=function(){return!!(typeof this.callback<"u"&&document.getElementById(this.id))}},"Async"),inits=new Array(new Async("contact-form",init_contact_form),new Async("appHeader",compte_result)),completeload=!1;add_event(document,"readystatechange",function(){document.readyState=="complete"&&(completeload=!0)});function async_init(){for(var e=0;e<inits.length;e++)!inits[e].init&&inits[e].ready()&&(inits[e].callback(),inits[e].init=!0)}r(async_init,"async_init");function async_loop(){async_init(),completeload?async_init():setTimeout(async_loop,20)}r(async_loop,"async_loop"),async_loop();function init_contact_form(){var e=document.getElementById("select"),n=new Array({name:"suppression",desc:"Je souhaite supprimer mon entreprise de votre site"},{name:"anonymisation",desc:"Je souhaite retirer mes donn\xE9es personnelles de un ou plusieurs documents officiels"},{name:"masquage",desc:"Je souhaite modifier ou masquer mes donn\xE9es personnelles"},{name:"commande",desc:"Commande non-livr\xE9e"},{name:"fiche",desc:"Signaler une erreur"},{name:"informations-commerciales",desc:"Informations commerciales"},{name:"remboursement",desc:"Abonnements et achats"},{name:"bilan",desc:"Mon bilan n'est pas \xE0 jour"},{name:"partenariat",desc:"Demande de partenariat / Presse"},{name:"inscription",desc:"Inscription / connexion \xE0 mon compte"},{name:"support",desc:"Bug / Suggestion / Support technique"});e&&(n.forEach(function(t){var s=document.createElement("option");s.value=t.name,s.innerText=t.desc,t.class&&(s.className=t.class),t.safari&&s.setAttribute("data-safari",t.safari),e.appendChild(s)}),add_event(e,"change",function(){if(this.value==="suppression")return window.location.href="/contact/supprimer-mon-entreprise";if(this.value==="anonymisation")return window.location.href="/contact/anonymiser-mes-documents";if(this.value==="masquage")return window.location.href="/contact/masquer-mes-donnees-personnelles";this.value&&this.value!=""&&send_query("/pages/view-contact-"+this.value+".html",function(t){var s=document.getElementById("contact-form");if(s&&t.readyState==4&&t.status==200){var o=document.getElementById("tel_sav"),a=document.getElementById("number-generique"),i=document.getElementById("number-servcomm"),d=document.getElementById("price-generique"),u=document.getElementById("price-servcomm");document.getElementById("select").value=="informations-commerciales"?(add_class(o,"servComm"),add_class(a,"isHidden"),add_class(d,"isHidden"),remove_class(i,"isHidden"),remove_class(u,"isHidden")):(remove_class(o,"servComm"),add_class(i,"isHidden"),add_class(u,"isHidden"),remove_class(a,"isHidden"),remove_class(d,"isHidden")),s.innerHTML=t.responseText;var l=get_elementsbyclassname(s,"Form");if(l.length!=0)for(var c=0;c<l[0].elements.length;c++){var m=l[0].elements[c].getAttribute("placeholder");event_input(l[0].elements[c],m),add_event(l[0].elements[c],"blur",function(){this.value!=""?add_class(this,"filled"):remove_class(this,"filled")})}}})}))}r(init_contact_form,"init_contact_form");function submit_contact_form(){var e=document.getElementById("select"),n=document.getElementById("contact-form"),t=document.getElementById("submit-contact-form");if(!(!t||t.classList.contains("isDisabled"))&&n&&e&&e.value!=""){for(var s=n.getElementsByTagName("form")[0].elements,o="",a=0,i=0;i<s.length;i++){if(s[i].value==""){set_input_error(s[i].id,!0),a++;continue}o!==""&&(o+="&"),o+=s[i].name+"="+encodeURIComponent(s[i].value)}if(a>0)return;var d=getXhr();d.open("POST","/cgi-bin/contact-send?page="+e.value,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d.onreadystatechange=function(){if(d.readyState==4){if(add_class(document.getElementById("submit-contact-progress"),"isHidden"),d.status==200)return window.toastUp&&window.toastUp("def",{text:"Votre message a bien \xE9t\xE9 envoy\xE9 et sera trait\xE9 dans les plus brefs d\xE9lais.",className:"isInfo"});if(remove_class(t,"isDisabled"),d.status==400){var u=JSON.parse(d.responseText);for(var l in u)set_input_error(l,!0)}else return window.toastUp&&window.toastUp("srvErr")}},add_class(t,"isDisabled"),d.send(o)}}r(submit_contact_form,"submit_contact_form");function check_input(e){e&&set_input_error(e.id,e.value.length==0)}r(check_input,"check_input");function set_input_error(e,n){var t=document.getElementById("result-"+e),s=document.getElementById(e);
1t&&s&&(n==!0?(add_class(s,"red-border"),add_class(t,"no-info")):(remove_class(s,"red-border"),remove_class(t,"no-info")))}r(set_input_error,"set_input_error");function direct_download(e,n){var t,s;switch(n){case"immat":if(typeof e!="object"||typeof e.hasAttribute("data-siren")>"u"||e.getAttribute("data-siren")=="")return;var o=e.getAttribute("data-siren");t="https://data.inpi.fr/export/companies?format=pdf&ids=[%22"+o+"%22]",s="Clicks Immatriculation RCS";break;case"avis":if(typeof e!="object"||typeof e.hasAttribute("data-siret")>"u"||e.getAttribute("data-siret")=="")return;var a=e.getAttribute("data-siret");t="https://api-avis-situation-sirene.insee.fr/identification/pdf/"+a,s="Clicks Avis Situation SIRENE";break;default:return}window.open(t,"_blank")}r(direct_download,"direct_download");function form_placeholder(){for(var e=get_elementsbyclassname(document,"input-placeholder"),n=0;n<e.length;n++){var t=e[n].getAttribute("placeholder");event_input(e[n],t),add_event(e[n],"blur",function(){this.value!=""?add_class(this,"filled"):remove_class(this,"filled")})}}r(form_placeholder,"form_placeholder");function verif_empty_input(e){if(document.getElementById(e)!=null){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");if(e=="create_password_confirm"){var o=document.getElementById("create_password"),a=document.getElementById("create_password_confirm");return confirmError=document.getElementById("create_password_confirm_error"),confirmErrorMsg=document.getElementById("create_password_confirm_error_msg"),o.value==a.value&&o.value!=0?(hide_input_error(e),!0):(a.classList.contains("red-border")||display_input_error(e,"Ce champ est obligatoire"),!1)}return n.value.length==0?(remove_class(n,"filled"),display_input_error(e,"Ce champ est obligatoire"),!1):(add_class(n,"filled"),hide_input_error(e),!0)}}r(verif_empty_input,"verif_empty_input");function verif_mail(e){var n=new RegExp("^[a-z0-9+]+([_|.|-]{1}[a-z0-9+]+)*@[a-z0-9]+([_|.|-]{1}[a-z0-9]+)*[.]{1}[a-z]{2,10}$","i");if(document.getElementById(e)!=null){var t=document.getElementById(e);return n.exec(t.value)!=null}}r(verif_mail,"verif_mail");function display_mail_error(e){if(document.getElementById(e)!=null){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");return n.value.length==0?(display_input_error(e,"Ce champ est obligatoire"),add_class(n,"red-border"),add_class(t,"no-info"),s.innerHTML="Ce champ est obligatoire.",!1):verif_mail(e)?(hide_input_error(e),remove_class(n,"red-border"),remove_class(t,"no-info"),s.innerHTML="",!0):(display_input_error(e,"L'adresse mail n'est pas valide."),add_class(n,"red-border"),add_class(t,"no-info"),s.innerHTML="L'adresse mail n'est pas valide.",!1)}}r(display_mail_error,"display_mail_error");function keyup_email(e){if(document.getElementById(e)!=null){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");if(verif_mail(e)&&(hide_input_error(e),remove_class(n,"red-border"),remove_class(t,"no-info"),s.innerHTML=""),e=="profil_email"){var o=document.getElementById("create_confirm_form"),a=document.getElementById("profil_email");a!=null&&(compteProfilEmail!=a.value?(o.classList.remove("isHidden"),o.classList.remove("isDisabled")):(o.classList.add("isHidden"),o.classList.add("isDisabled")))}}}r(keyup_email,"keyup_email");function keyup_input(e){if(document.getElementById(e)!=null){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");verif_empty_input(e)||hide_input_error(e)}}r(keyup_input,"keyup_input");function enable_input(e){var n=document.getElementById(e);remove_class(n,"isDisabled")}r(enable_input,"enable_input");function disable_input(e){var n=document.getElementById(e);n.classList.contains("isDisabled")||add_class(n,"isDisabled")}r(disable_input,"disable_input");function display_input_check(e){var n=document.getElementById(e+"_valid");remove_class(n,"isHidden")}r(display_input_check,"display_input_check");function hide_input_check(e){var n=document.getElementById(e+"_valid");n.classList.contains("isHidden")||add_class(n,"isHidden")}r(hide_input_check,"hide_input_check");function display_input_error(e,n){var t=document.getElementById(e),s=document.getElementById(e+"_error"),o=document.getElementById(e+"_error_msg");add_class(t,"red-border"),add_class(s,"no-info"),o.textContent=n}r(display_input_error,"display_input_error");function hide_input_error(e){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");
1remove_class(n,"red-border"),remove_class(t,"no-info"),s.textContent=""}r(hide_input_error,"hide_input_error");function remove_error_on_keypress(e){if(document.getElementById(e)!=null){var n=document.getElementById(e),t=document.getElementById(e+"_error"),s=document.getElementById(e+"_error_msg");verif_empty_input(e)||hide_input_error(e)}}r(remove_error_on_keypress,"remove_error_on_keypress");function auto_focus_next_input(e){e.value.length==e.getAttribute("maxlength")&&e.nextSibling.nextSibling.focus()}r(auto_focus_next_input,"auto_focus_next_input");function check_clear_inputs(e){for(var n=document.getElementById(e),t=n.getElementsByTagName("input"),s=0;s<t.length;s++){if(t[s].value.length==0)return;if(s==t.length-1){for(var o=0;o<t.length;o++)t[o].value="";t[0].focus()}}}r(check_clear_inputs,"check_clear_inputs");function update_counter(e){var n=document.getElementById(e),t=document.getElementById(e+"_counter"),s=document.getElementById(e+"_count"),o=n.maxLength,a=o-n.value.length;s.textContent=a,a<=o-o/3&&t.classList.contains("isHidden")&&t.classList.remove("isHidden"),a<=o*5/100&&!t.classList.contains("soSecondaryColor5")?t.classList.add("soSecondaryColor5"):a>o*5/100&&t.classList.remove("soSecondaryColor5")}r(update_counter,"update_counter");var timestamp=0;function open_popup_info(e,n,t){var s=document.getElementById("popup"),o=document.getElementsByTagName("body")[0],a=document.getElementById("popup_title"),i=document.getElementById("popup_text");remove_class(s,"isHidden"),add_class(s,"flex"),t!=null&&add_class(i,t),o.style.overflow="hidden",a.textContent=e,i.textContent=n}r(open_popup_info,"open_popup_info");function close_popup_info(){var e=document.getElementById("popup"),n=document.getElementsByTagName("body")[0],t=document.getElementById("popup_title"),s=document.getElementById("popup_text"),o=document.getElementById("popup_body");remove_class(e,"flex"),add_class(e,"isHidden"),setTimeout(function(){remove_class(s,"soSecondaryColor5"),remove_class(s,"soSecondaryColor4"),n.style.overflow="auto",t.textContent="",o.innerHTML='<p id="popup_text" class="fs-14"></p>'},700)}r(close_popup_info,"close_popup_info");function open_progress_overlay(e,n){var t=document.getElementById(e+"_overlay"),s=document.getElementById(e+"_progress_status");if(t!=null&&(remove_class(t,"isHidden"),add_class(t,"flex"),e=="main")){var o=document.getElementById("overflow-hidden-compte");n=="R\xE9cup\xE9ration de votre liste..."?t.style.top="0":t.style.top=scrollCourant+"px",add_class(o,"isFixed"),o.style.top="-"+scrollCourant+"px"}s!=null&&(s.textContent=n)}r(open_progress_overlay,"open_progress_overlay");function close_progress_overlay(e){var n=document.getElementById(e+"_overlay"),t=document.getElementById(e+"_progress_status");if(t!=null&&(t.textContent=""),n!=null&&(remove_class(n,"flex"),add_class(n,"isHidden"),e=="main")){var s=document.getElementById("overflow-hidden-compte");n.style.top="",remove_class(s,"isFixed"),s.style.height="100vh"}}r(close_progress_overlay,"close_progress_overlay");function load_content(e,n,t,s){var o;if(window.XMLHttpRequest)o=new XMLHttpRequest,o.overrideMimeType&&o.overrideMimeType("text/plain");else if(window.ActiveXObject)try{o=new ActiveXObject("Msxml2.XMLHTTP")}catch{try{o=new ActiveXObject("Microsoft.XMLHTTP")}catch{window.alert("Votre browser ne supporte pas AJAX")}}o&&o.readyState!=0&&o.abort(),o.open("GET",e,!0),o.send(),o.onreadystatechange=function(){if(o.readyState==4&&o.status==200){var a=o.responseText,i=new DOMParser().parseFromString(a,"text/html");if(i&&i.getElementById(n)&&document.getElementById(t)){var d=i.getElementById(n).cloneNode(!0);document.getElementById(t).appendChild(d)}s?.()}}}r(load_content,"load_content");function open_popup(e,n,t,s){var o=Date.now();if(timestamp==0)timestamp=o;else if(o-timestamp>2e3)timestamp=o;else{if(o-timestamp<500)return;close_popup(),setTimeout(function(){open_popup(e,n,t,s)},250);return}for(var a=document.getElementById("popup");a.firstChild;)a.removeChild(a.firstChild);load_content("/pages/dialogs/dialog.html?ch="+o,e,"popup",function(){document.getElementById(e)?(remove_class(a,"isHidden"),form_placeholder(),n&&(t==null&&s==null&&typeof n=="function"?n():n(t,s))):open_popup_message("Une erreur est survenue","Votre demande n'a pu \xEAtre trait\xE9e. Veuillez r\xE9essayer ult\xE9rieurement.","soSecondaryColor5"),close_progress_overlay("loader_"+e)})}r(open_popup,"open_popup");function close_popup(e){var n=document.getElementById("popup"),t=document.getElementById("dashboard-list-nav");t&&t.getAttribute("class").indexOf("open")!=-1&&hide_action_selection("manual"),n&&!n.classList.contains("isHidden")&&add_class(n,"isHidden"),e!=null&&e!=""&&e()}r(close_popup,"close_popup");function empty_popup(){for(var e=document.getElementById("popup");e.firstChild;)e.removeChild(e.firstChild)}r(empty_popup,"empty_popup");function open_popup_message(e,n,t,s){var o=Date.now();if(timestamp==0)timestamp=o;else if(o-timestamp>2e3)timestamp=o;else{if(o-timestamp<500)return;close_popup(),setTimeout(function(){open_popup_message(e,n,t,s)},250);return}var a=document.getElementById("popup");load_content("/pages/dialogs/dialog.html?ch="+o,"popup_message","popup",function(){if(document.getElementById("popup_message_title")){var i=document.getElementById("popup_message_title"),d=document.getElementById("popup_message_text");i.textContent=e,d.textContent=n,t!=null&&add_class(d,t);var u=a.getElementsByClassName("Popup__content");u.length>1&&a.removeChild(a.lastChild),remove_class(a,"isHidden"),typeof s=="function"&&s()}})}r(open_popup_message,"open_popup_message");
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.