PageSourceSearch

https://www.humiditec.fr/js/PAGE_D93F7462F9.min.js?v=1771852501

js humiditec.fr collected 2026-10-08 05:55:56 UTC 26,227 bytes, 7 lines download raw bytes

1var $clicked=null;var onRecaptchaSubmit=function(token){$clicked.off('valid.fndtn.abide').off('submit');$clicked.submit();}
2var myCall=function(e,$idxForm){$clicked=$(e.target);grecaptcha.execute($idxForm);}
3var getFormIndex=function($formId,$form){var index=0;if($formId>0){$('form:has(.g-recaptcha)').each(function(idx){if($(this).is($form)){index=idx;}});}
4return index;}
5$(function(){$('form:has(.g-recaptcha)').on('valid.fndtn.abide',function(e){var $formId=(typeof $(this).find('input[name="fideo"]')!=="undefined")?$(this).find('input[name="fideo"]').val():0;if(typeof $formId=="undefined"){$formId=0;}
6var $idxForm=getFormIndex($formId,$(this));myCall(e,$idxForm);}).on('invalid.fndtn.abide',function(e){grecaptcha.reset();}).on('submit',function(e){e.preventDefault();return false;});});!function(e){var r,n,a=e.R,t=!1,o={init:function(e){e=e||typeof navigator!==n?navigator.language:"en-GB",r.locales={},r.navLang=e,t=!0},slice:function(e){return Array.prototype.slice.call(e)},AinOf:function(e,r){for(var n=0,a=e.length;n<a;++n)if(e[n]===r)return n;return-1},realTypeOf:function(e){return Object.prototype.toString.call(e).match(/\w+/g)[1].toLowerCase()},render:function(e,n){return r.locales&&r.locales.hasOwnProperty(r.lang)&&r.locales[r.lang].hasOwnProperty(e)&&(e=r.locales[r.lang][e]),n&&0!==n.length?(n=o.parseVariables(n),o.format(e,n)):e},parseVariables:function(e,r){var n,a,t=o.realTypeOf(e);switch(r||(r={i:[],s:[],named:{}}),t){case"number":r.i.push(e);break;case"string":r.s.push(e);break;case"date":r.i.push(e.toString());break;case"object":for(n in e)e.hasOwnProperty(n)&&("i"===n||"s"===n?o.parseVariables(e[n],r):r.named[n]=e[n]);break;case"array":for(n=0,a=e.length;n<a;++n)o.parseVariables(e[n],r)}return r},format:function(e,r){var a,t,o,i,s,l,c={i:"%i",s:"%s"};for(s in c){if(c.hasOwnProperty(s))for(o=(e.match(new RegExp(c[s],"g"))||[]).length,a=0;a<o;++a)t=r[s].hasOwnProperty(a)?r[s][a]:t,t!==n&&t!==!1&&(i=e.indexOf(c[s]))>=0&&(e=e.substr(0,i)+t+e.substr(i+2));t=!1}for(a in r.named)r.named.hasOwnProperty(a)&&(l=new RegExp("%\\("+a+"\\)","g"),e=e.replace(l,r.named[a]));return e}};r=function(e,r){if(t||o.init(),arguments.length>1){var n=o.slice(arguments);return n.shift(),o.render(e,n)}return o.render(e,[r])},r.registerLocale=function(e,n){return t||o.init(),r.locales[e]=n,r.setLocale(r.navlang),r},r.localeOrder=function(){return r.preferredLocales=o.slice(arguments),r.setLocale(r.lang)},r.setLocale=function(e,n){if(t||o.init(),n)return r.lang=e,r;var a,i=r.preferredLocales;if(!i){i=[];for(a in r.locales)r.locales.hasOwnProperty(a)&&i.push(a)}return(a=o.AinOf(i,e))>0?(r.lang=i[a],r):(r.lang=i[0]||e,r)},r.noConflict=function(){return e.R=a,r},e.R=r}("undefined"!=typeof module&&module.exports?module.exports:this);!function(){"use strict";var e=function(t){function r(e,t,r,n){var a;return e.isFile?e.file(function(e){e.relativePath=t+e.name,r.push(e),n()}):(e.isDirectory?a=e:e instanceof File&&r.push(e),"function"==typeof e.webkitGetAsEntry&&(a=e.webkitGetAsEntry()),a&&a.isDirectory?i(a,t+a.name+"/",r,n):("function"==typeof e.getAsFile&&(e=e.getAsFile(),e instanceof File&&(e.relativePath=t+e.name,r.push(e))),void n()))}function n(e,t){return e&&0!==e.length?void e[0](function(){n(e.slice(1),t)}):t()}function i(e,t,i,a){function s(){o.readEntries(function(e){return e.length?(u=u.concat(e),s()):void n(u.map(function(e){return r.bind(null,e,t,i)}),a)})}var o=e.createReader(),u=[];s()}function a(e,t){if(e.length){u.fire("beforeAdd");var i=[];n(Array.prototype.map.call(e,function(e){var t=e;return"function"==typeof e.webkitGetAsEntry&&(t=e.webkitGetAsEntry()),r.bind(null,t,"",i)}),function(){i.length&&d(i,t)})}}function s(e,t,r){var n=this;n.opts={},n.getOpt=e.getOpt,n._prevProgress=0,n.resumableObj=e,n.file=t,n.fileName=t.fileName||t.name,n.size=t.size,n.relativePath=t.relativePath||t.webkitRelativePath||n.fileName,n.uniqueIdentifier=r,n._pause=!1,n.container="",n.preprocessState=0;var i=void 0!==r,a=function(e,t){switch(e){case"progress":n.resumableObj.fire("fileProgress",n,t);break;case"error":n.abort(),i=!0,n.chunks=[],n.resumableObj.fire("fileError",n,t);break;case"success":if(i)return;n.resumableObj.fire("fileProgress",n,t),n.isComplete()&&n.resumableObj.fire("fileSuccess",n,t);break;case"retry":n.resumableObj.fire("fileRetry",n)}};return n.chunks=[],n.abort=function(){var e=0;l.each(n.chunks,function(t){"uploading"==t.status()&&(t.abort(),e++)}),e>0&&n.resumableObj.fire("fileProgress",n)},n.cancel=function(){var e=n.chunks;n.chunks=[],l.each(e,function(e){"uploading"==e.status()&&(e.abort(),n.resumableObj.uploadNextChunk())}),n.resumableObj.removeFile(n),n.resumableObj.fire("fileProgress",n)},n.retry=function(){n.bootstrap();var e=!1;n.resumableObj.on("chunkingComplete",function(){e||n.resumableObj.upload(),e=!0})},n.bootstrap=function(){n.abort(),i=!1,n.chunks=[],n._prevProgress=0;for(var e=n.getOpt("forceChunkSize")?Math.ceil:Math.floor,t=Math.max(e(n.file.size/n.getOpt("chunkSize")),1),r=0;r<t;r++)!function(e){window.setTimeout(function(){n.chunks.push(new o(n.resumableObj,n,e,a)),n.resumableObj.fire("chunkingProgress",n,e/t)},0)}(r);window.setTimeout(function(){n.resumableObj.fire("chunkingComplete",n)},0)},n.progress=function(){if(i)return 1;var e=0,t=!1;return l.each(n.chunks,function(r){"error"==r.status()&&(t=!0),e+=r.progress(!0)}),e=t?1:e>.99999?1:e,e=Math.max(n._prevProgress,e),n._prevProgress=e,e},n.isUploading=function(){var e=!1;return l.each(n.chunks,function(t){if("uploading"==t.status())return e=!0,!1}),e},n.isComplete=function(){var e=!1;return 1!==n.preprocessState&&(l.each(n.chunks,function(t){var r=t.status();if("pending"==r||"uploading"==r||1===t.preprocessState)return e=!0,!1}),!e)},n.pause=function(e){"undefined"==typeof e?n._pause=!n._pause:n._pause=e},n.isPaused=function(){return n._pause},n.preprocessFinished=function(){n.preprocessState=2,n.upload()},n.upload=function(){var e=!1;if(n.isPaused()===!1){var t=n.getOpt("preprocessFile");
6if("function"==typeof t)switch(n.preprocessState){case 0:return n.preprocessState=1,t(n),!0;case 1:return!0;case 2:}l.each(n.chunks,function(t){if("pending"==t.status()&&1!==t.preprocessState)return t.send(),e=!0,!1})}return e},n.markChunksCompleted=function(e){if(n.chunks&&!(n.chunks.length<=e))for(var t=0;t<e;t++)n.chunks[t].markComplete=!0},n.resumableObj.fire("chunkingStart",n),n.bootstrap(),this}function o(e,t,r,n){var i=this;i.opts={},i.getOpt=e.getOpt,i.resumableObj=e,i.fileObj=t,i.fileObjSize=t.size,i.fileObjType=t.file.type,i.offset=r,i.callback=n,i.lastProgressCallback=new Date,i.tested=!1,i.retries=0,i.pendingRetry=!1,i.preprocessState=0,i.markComplete=!1;var a=i.getOpt("chunkSize");return i.loaded=0,i.startByte=i.offset*a,i.endByte=Math.min(i.fileObjSize,(i.offset+1)*a),i.fileObjSize-i.endByte<a&&!i.getOpt("forceChunkSize")&&(i.endByte=i.fileObjSize),i.xhr=null,i.test=function(){i.xhr=new XMLHttpRequest;var e=function(e){i.tested=!0;var t=i.status();"success"==t?(i.callback(t,i.message()),i.resumableOb
6j.uploadNextChunk()):i.send()};i.xhr.addEventListener("load",e,!1),i.xhr.addEventListener("error",e,!1),i.xhr.addEventListener("timeout",e,!1);var t=[],r=i.getOpt("parameterNamespace"),n=i.getOpt("query");"function"==typeof n&&(n=n(i.fileObj,i)),l.each(n,function(e,n){t.push([encodeURIComponent(r+e),encodeURIComponent(n)].join("="))}),t=t.concat([["chunkNumberParameterName",i.offset+1],["chunkSizeParameterName",i.getOpt("chunkSize")],["currentChunkSizeParameterName",i.endByte-i.startByte],["totalSizeParameterName",i.fileObjSize],["typeParameterName",i.fileObjType],["identifierParameterName",i.fileObj.uniqueIdentifier],["fileNameParameterName",i.fileObj.fileName],["relativePathParameterName",i.fileObj.relativePath],["totalChunksParameterName",i.fileObj.chunks.length]].filter(function(e){return i.getOpt(e[0])}).map(function(e){return[r+i.getOpt(e[0]),encodeURIComponent(e[1])].join("=")})),i.xhr.open(i.getOpt("testMethod"),l.getTarget("test",t)),i.xhr.timeout=i.getOpt("xhrTimeout"),i.xhr.withCredentials=i.getOpt("withCredentials");var a=i.getOpt("headers");"function"==typeof a&&(a=a(i.fileObj,i)),l.each(a,function(e,t){i.xhr.setRequestHeader(e,t)}),i.xhr.send(null)},i.preprocessFinished=function(){i.preprocessState=2,i.send()},i.send=function(){var e=i.getOpt("preprocess");if("function"==typeof e)switch(i.preprocessState){case 0:return i.preprocessState=1,void e(i);case 1:return;case 2:}if(i.getOpt("testChunks")&&!i.tested)return void i.test();i.xhr=new XMLHttpRequest,i.xhr.upload.addEventListener("progress",function(e){new Date-i.lastProgressCallback>1e3*i.getOpt("throttleProgressCallbacks")&&(i.callback("progress"),i.lastProgressCallback=new Date),i.loaded=e.loaded||0},!1),i.loaded=0,i.pendingRetry=!1,i.callback("progress");var t=function(e){var t=i.status();if("success"==t||"error"==t)i.callback(t,i.message()),i.resumableObj.uploadNextChunk();else{i.callback("retry",i.message()),i.abort(),i.retries++;var r=i.getOpt("chunkRetryInterval");void 0!==r?(i.pendingRetry=!0,setTimeout(i.send,r)):i.send()}};i.xhr.addEventListener("load",t,!1),i.xhr.addEventListener("error",t,!1),i.xhr.addEventListener("timeout",t,!1);var r=[["chunkNumberParameterName",i.offset+1],["chunkSizeParameterName",i.getOpt("chunkSize")],["currentChunkSizeParameterName",i.endByte-i.startByte],["totalSizeParameterName",i.fileObjSize],["typeParameterName",i.fileObjType],["identifierParameterName",i.fileObj.uniqueIdentifier],["fileNameParameterName",i.fileObj.fileName],["relativePathParameterName",i.fileObj.relativePath],["totalChunksParameterName",i.fileObj.chunks.length]].filter(function(e){return i.getOpt(e[0])}).reduce(function(e,t){return e[i.getOpt(t[0])]=t[1],e},{}),n=i.getOpt("query");"function"==typeof n&&(n=n(i.fileObj,i)),l.each(n,function(e,t){r[e]=t});var a=i.fileObj.file.slice?"slice":i.fileObj.file.mozSlice?"mozSlice":i.fileObj.file.webkitSlice?"webkitSlice":"slice",s=i.fileObj.file[a](i.startByte,i.endByte,i.getOpt("setChunkTypeFromFile")?i.fileObj.file.type:""),o=null,u=[],f=i.getOpt("parameterNamespace");if("octet"===i.getOpt("method"))o=s,l.each(r,function(e,t){u.push([encodeURIComponent(f+e),encodeURIComponent(t)].join("="))});else if(o=new FormData,l.each(r,function(e,t){o.append(f+e,t),u.push([encodeURIComponent(f+e),encodeURIComponent(t)].join("="))}),"blob"==i.getOpt("chunkFormat"))o.append(f+i.getOpt("fileParameterName"),s,i.fileObj.fileName);else if("base64"==i.getOpt("chunkFormat")){var c=new FileReader;c.onload=function(e){o.append(f+i.getOpt("fileParameterName"),c.result),i.xhr.send(o)},c.readAsDataURL(s)}var p=l.getTarget("upload",u),d=i.getOpt("uploadMethod");i.xhr.open(d,p),"octet"===i.getOpt("method")&&i.xhr.setRequestHeader("Content-Type","application/octet-stream"),i.xhr.timeout=i.getOpt("xhrTimeout"),i.xhr.withCredentials=i.getOpt("withCredentials");var m=i.getOpt("headers");"function"==typeof m&&(m=m(i.fileObj,i)),l.each(m,function(e,t){i.xhr.setRequestHeader(e,t)}),"blob"==i.getOpt("chunkFormat")&&i.xhr.send(o)},i.abort=function(){i.xhr&&i.xhr.abort(),i.xhr=null},i.status=function(){return i.pendingRetry?"uploading":i.markComplete?"success":i.xhr?i.xhr.readyState<4?"uploading":200==i.xhr.status||201==i.xhr.status?"success":l.contains(i.getOpt("permanentErrors"),i.xhr.status)||i.retries>=i.getOpt("maxChunkRetries")?"error":(i.abort(),"pending"):"pending"},i.message=function(){return i.xhr?i.xhr.responseText:""},i.progress=function(e){"undefined"==typeof e&&(e=!1);var t=e?(i.endByte-i.startByte)/i.fileObjSize:1;if(i.pendingRetry)return 0;i.xhr&&i.xhr.status||i.markComplete||(t*=.95);var r=i.status();
6switch(r){case"success":case"error":return 1*t;case"pending":return 0*t;default:return i.loaded/(i.endByte-i.startByte)*t}},this}if(!(this instanceof e))return new e(t);if(this.version=1,this.support=!("undefined"==typeof File||"undefined"==typeof Blob||"undefined"==typeof FileList||!Blob.prototype.webkitSlice&&!Blob.prototype.mozSlice&&!Blob.prototype.slice),!this.support)return!1;var u=this;u.files=[],u.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,fileParameterName:"file",chunkNumberParameterName:"resumableChunkNumber",chunkSizeParameterName:"resumableChunkSize",currentChunkSizeParameterName:"resumableCurrentChunkSize",totalSizeParameterName:"resumableTotalSize",typeParameterName:"resumableType",identifierParameterName:"resumableIdentifier",fileNameParameterName:"resumableFilename",relativePathParameterName:"resumableRelativePath",totalChunksParameterName:"resumableTotalChunks",dragOverClass:"dragover",throttleProgressCallbacks:.5,query:{},headers:{},preprocess:null,preprocessFile:null,method:"multipart",uploadMethod:"POST",testMethod:"GET",prioritizeFirstAndLastChunk:!1,target:"/",testTarget:null,parameterNamespace:"",testChunks:!0,generateUniqueIdentifier:null,getTarget:null,maxChunkRetries:100,chunkRetryInterval:void 0,permanentErrors:[400,401,403,404,409,415,500,501],maxFiles:void 0,withCredentials:!1,xhrTimeout:0,clearInput:!0,chunkFormat:"blob",setChunkTypeFromFile:!1,maxFilesErrorCallback:function(e,t){var r=u.getOpt("maxFiles");alert("Please upload no more than "+r+" file"+(1===r?"":"s")+" at a time.")},minFileSize:1,minFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too small, please upload files larger than "+l.formatSize(u.getOpt("minFileSize"))+".")},maxFileSize:void 0,maxFileSizeErrorCallback:function(e,t){alert(e.fileName||e.name+" is too large, please upload files less than "+l.formatSize(u.getOpt("maxFileSize"))+".")},fileType:[],fileTypeErrorCallback:function(e,t){alert(e.fileName||e.name+" has type not allowed, please upload files of type "+u.getOpt("fileType")+".")}},u.opts=t||{},u.getOpt=function(t){var r=this;if(t instanceof Array){var n={};return l.each(t,function(e){n[e]=r.getOpt(e)}),n}if(r instanceof o){if("undefined"!=typeof r.opts[t])return r.opts[t];r=r.fileObj}if(r instanceof s){if("undefined"!=typeof r.opts[t])return r.opts[t];r=r.resumableObj}if(r instanceof e)return"undefined"!=typeof r.opts[t]?r.opts[t]:r.defaults[t]},u.indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},u.events=[],u.on=function(e,t){u.events.push(e.toLowerCase(),t)},u.fire=function(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);for(var r=e[0].toLowerCase(),t=0;t<=u.events.length;t+=2)u.events[t]==r&&u.events[t+1].apply(u,e.slice(1)),"catchall"==u.events[t]&&u.events[t+1].apply(null,e);"fileerror"==r&&u.fire("error",e[2],e[1]),"fileprogress"==r&&u.fire("progress")};var l={stopEvent:function(e){e.stopPropagation(),e.preventDefault()},each:function(e,t){if("undefined"!=typeof e.length){for(var r=0;r<e.length;r++)if(t(e[r])===!1)return}else for(r in e)if(t(r,e[r])===!1)return},generateUniqueIdentifier:function(e,t){var r=u.getOpt("generateUniqueIdentifier");if("function"==typeof r)return r(e,t);var n=e.webkitRelativePath||e.relativePath||e.fileName||e.name,i=e.size;return i+"-"+n.replace(/[^0-9a-zA-Z_-]/gim,"")},contains:function(e,t){var r=!1;return l.each(e,function(e){return e!=t||(r=!0,!1)}),r},formatSize:function(e){return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(0)+" KB":e<1073741824?(e/1024/1024).toFixed(1)+" MB":(e/1024/1024/1024).toFixed(1)+" GB"},getTarget:function(e,t){var r=u.getOpt("target");if("test"===e&&u.getOpt("testTarget")&&(r="/"===u.getOpt("testTarget")?u.getOpt("target"):u.getOpt("testTarget")),"function"==typeof r)return r(t);var n=r.indexOf("?")<0?"?":"&",i=t.join("&");return i&&(r=r+n+i),r}},f=function(e){e.currentTarget.classList.remove(u.getOpt("dragOverClass")),l.stopEvent(e),e.dataTransfer&&e.dataTransfer.items?a(e.dataTransfer.items,e):e.dataTransfer&&e.dataTransfer.files&&a(e.dataTransfer.files,e)},c=function(e){e.currentTarget.classList.remove(u.getOpt("dragOverClass"))},p=function(e){e.preventDefault();var t=e.dataTransfer;u.indexOf(t.types,"Files")>=0?(e.stopPropagation(),t.dropEffect="copy",t.effectAllowed="copy",e.currentTarget.classList.add(u.getOpt("dragOverClass"))):(t.dropEffect="none",t.effectAllowed="none")},d=function(e,t){var r=0,n=u.getOpt(["maxFiles","minFileSize","maxFileSize","maxFilesErrorCallback","minFileSizeErrorCallback","maxFileSizeErrorCallback","fileType","fileTypeErrorCallback"]);if("undefined"!=typeof n.maxFiles&&n.maxFiles<e.length+u.files.length){if(1!==n.maxFiles||1!==u.f
6iles.length||1!==e.length)return n.maxFilesErrorCallback(e,r++),!1;u.removeFile(u.files[0])}var i=[],a=[],o=e.length,f=function(){if(!--o){if(!i.length&&!a.length)return;window.setTimeout(function(){u.fire("filesAdded",i,a)},0)}};l.each(e,function(e){function o(r){u.getFromUniqueIdentifier(r)?a.push(e):!function(){e.uniqueIdentifier=r;var n=new s(u,e,r);u.files.push(n),i.push(n),n.container="undefined"!=typeof t?t.srcElement:null,window.setTimeout(function(){u.fire("fileAdded",n,t)},0)}(),f()}var c=e.name,p=e.type;if(n.fileType.length>0){var d=!1;for(var m in n.fileType){n.fileType[m]=n.fileType[m].replace(/\s/g,"").toLowerCase();var h=(n.fileType[m].match(/^[^.][^\/]+$/)?".":"")+n.fileType[m];if(c.substr(-1*h.length).toLowerCase()===h||h.indexOf("/")!==-1&&(h.indexOf("*")!==-1&&p.substr(0,h.indexOf("*"))===h.substr(0,h.indexOf("*"))||p===h)){d=!0;break}}if(!d)return n.fileTypeErrorCallback(e,r++),!0}if("undefined"!=typeof n.minFileSize&&e.size<n.minFileSize)return n.minFileSizeErrorCallback(e,r++),!0;if("undefined"!=typeof n.maxFileSize&&e.size>n.maxFileSize)return n.maxFileSizeErrorCallback(e,r++),!0;var g=l.generateUniqueIdentifier(e,t);g&&"function"==typeof g.then?g.then(function(e){o(e)},function(){f()}):o(g)})};return u.uploadNextChunk=function(){var e=!1;if(u.getOpt("prioritizeFirstAndLastChunk")&&(l.each(u.files,function(t){return t.chunks.length&&"pending"==t.chunks[0].status()&&0===t.chunks[0].preprocessState?(t.chunks[0].send(),e=!0,!1):t.chunks.length>1&&"pending"==t.chunks[t.chunks.length-1].status()&&0===t.chunks[t.chunks.length-1].preprocessState?(t.chunks[t.chunks.length-1].send(),e=!0,!1):void 0}),e))return!0;if(l.each(u.files,function(t){if(e=t.upload())return!1}),e)return!0;var t=!1;return l.each(u.files,function(e){if(!e.isComplete())return t=!0,!1}),t||u.fire("complete"),!1},u.assignBrowse=function(e,t){"undefined"==typeof e.length&&(e=[e]),l.each(e,function(e){var r;"INPUT"===e.tagName&&"file"===e.type?r=e:(r=document.createElement("input"),r.setAttribute("type","file"),r.style.display="none",e.addEventListener("click",function(){r.style.opacity=0,r.style.display="block",r.focus(),r.click(),r.style.display="none"},!1),e.appendChild(r));var n=u.getOpt("maxFiles");"undefined"==typeof n||1!=n?r.setAttribute("multiple","multiple"):r.removeAttribute("multiple"),t?r.setAttribute("webkitdirectory","webkitdirectory"):r.removeAttribute("webkitdirectory");var i=u.getOpt("fileType");"undefined"!=typeof i&&i.length>=1?r.setAttribute("accept",i.map(function(e){return e=e.replace(/\s/g,"").toLowerCase(),e.match(/^[^.][^\/]+$/)&&(e="."+e),e}).join(",")):r.removeAttribute("accept"),r.addEventListener("change",function(e){d(e.target.files,e);var t=u.getOpt("clearInput");t&&(e.target.value="")},!1)})},u.assignDrop=function(e){"undefined"==typeof e.length&&(e=[e]),l.each(e,function(e){e.addEventListener("dragover",p,!1),e.addEventListener("dragenter",p,!1),e.addEventListener("dragleave",c,!1),e.addEventListener("drop",f,!1)})},u.unAssignDrop=function(e){"undefined"==typeof e.length&&(e=[e]),l.each(e,function(e){e.removeEventListener("dragover",p),e.removeEventListener("dragenter",p),e.removeEventListener("dragleave",c),e.removeEventListener("drop",f)})},u.isUploading=function(){var e=!1;return l.each(u.files,function(t){if(t.isUploading())return e=!0,!1}),e},u.upload=function(){if(!u.isUploading()){u.fire("uploadStart");for(var e=1;e<=u.getOpt("simultaneousUploads");e++)u.uploadNextChunk()}},u.pause=function(){l.each(u.files,function(e){e.abort()}),u.fire("pause")},u.cancel=function(){u.fire("beforeCancel");for(var e=u.files.length-1;e>=0;e--)u.files[e].cancel();u.fire("cancel")},u.progress=function(){var e=0,t=0;return l.each(u.files,function(r){e+=r.progress()*r.size,t+=r.size}),t>0?e/t:0},u.addFile=function(e,t){d([e],t)},u.addFiles=function(e,t){d(e,t)},u.removeFile=function(e){for(var t=u.files.length-1;t>=0;t--)u.files[t]===e&&u.files.splice(t,1)},u.getFromUniqueIdentifier=function(e){var t=!1;return l.each(u.files,function(r){r.uniqueIdentifier==e&&(t=r)}),t},u.getSize=function(){var e=0;return l.each(u.files,function(t){e+=t.size}),e},u.handleDropEvent=function(e){f(e)},u.handleChangeEvent=function(e){d(e.target.files,e),e.target.value=""},u.updateQuery=function(e){u.opts.query=e},this};"undefined"!=typeof module?(module.exports=e,module.exports.Resumable=e):"function"==typeof define&&define.amd?define(function(){return e}):window.Resumable=e}();R.registerLocale("en",{fileTypeError:"%(filename) has type not allowed, please upload files of type %(filetype).",maxFileSizeError:"%(filename) is too large, please upload files less than %(maxfilesize).",maxFilesError:"Please upload no more than %i file at a time.",submitError:"You have a file transfer in progress. Please wait until the transfer is complete before submitting the form.",noSupport:"You can not send files. Please <a href='https://browsehappy.com/' target='_blank'>update your browser</a>."}),R.registerLocale("fr",{fileTypeError:"%(filename) n'est pas un fichier de type autorisé, merci d'envoyer des fichiers de type %(filetype).",maxFileSizeError:"%(filename) est trop volumineux, merci d'envoyer des fichiers de moins de %(maxfilesize).",maxFilesError:"Merci de n'envoyer que %i fichier à la fois.",submitError:"Vous avez un fichier en cours transfert. Merci d'attendre la fin du transfert avant de valider le formulaire.",noSupport:"Vous ne pouvez pas envoyer de fichiers. Merci de <a href='https://browsehappy.com/' target='_blank'>mettre votre navigateur à jour</a>."});!function(e,i,n,t){e.widget("ideo.penelope",{options:{target:"formulaire01/backend.php",maxFiles:1,maxFileSize:20,fileType:["jpg","jpeg","gif","png","pdf","doc","docx","odt","xls","xlsx","csv","txt","zip"],locale:"en"},_create:function(){R.setLocale(this.options.locale);var e=this,i=this.element,n=1024*this.options.maxFileSize*1024;if(this.uploader=new Resumable({target:this.options.target,maxFiles:this.options.maxFiles,maxFilesErrorCallback:function(i,n){alert(R("maxFilesError",e.options.maxFiles))},maxFileSize:n,maxFileSizeErrorCallback:function(i,t){alert(R("maxFileSizeError",{filename:i.fileName||i.name,maxfilesize:e._formatSize(n)}))},fileType:this.options.fileType,fileTypeErrorCallback:function(i,n){alert(R("fileTypeError",{filename:i.fileName||i.name,filetype:e.options.fileType}))}}),this.uploader.support){var t=i.find(".penelope-uploader__dropzone");this.progressBar=i.find(".penelope-progress__bar"),this.inputOldname=i.find(".penelope-input__oldname"),this.inputNewname=i.find(".penelope-input__newname"),this.uploader.assignBrowse(i.find(".penelope-uploader__browse")),this.uploader.assignDrop(t),this._bindUploaderEvents(),this._on(t,{dragover:"_onDragStart",dragenter:"_onDragStart",dragleave:"_onDragEnd",dragend:"_onDragEnd",drop:"_onDragEnd"}),this._on(i.parents("form"),{submit:"_preventSubmit"}),this._on(i.find(".penelope-file__cancel"),{click:"_cancelUpload"})}else i.addClass("is-error"),i.find(".penelope-message").html(R("noSupport"))},destroy:function(){this.uploader.cancel(),e.Widget.prototype.destroy.call(this)},_bindUploaderEvents:function(){var e=this,i=this.uploader,n=this.element,t=n.find(".penelope-file__preview");i.on("fileAdded",function(o,s){n.removeClass("is-file-complete is-file-error is-complete"),n.find(".penelope-infos__name").html(o.fileName||o.name),n.find(".penelope-infos__size").html(e._formatSize(o.size));var a=e._getFileExtension(o.fileName||o.name);
6t.html(a),t.removeClass().addClass("penelope-file__preview "+a),e._setFileProgress(0),n.removeClass("is-dragover").addClass("is-uploading"),i.upload()}),i.on("fileProgress",function(i){e._setFileProgress(i.progress())}),i.on("fileSuccess",function(i,t){try{var o=JSON.parse(t)}catch(s){console.error("Parsing error:",s)}o.success?(n.addClass("is-file-complete"),e.hashname=o.name,e._setInputValue(o.oldname,o.name)):(n.addClass("is-file-error"),e._resetInputValue())}),i.on("fileError",function(i,t){n.addClass("is-file-error"),e._resetInputValue()}),i.on("complete",function(){n.removeClass("is-uploading").addClass("is-complete")}),i.on("cancel",function(){n.removeClass("is-file-complete is-file-error is-complete is-uploading is-dragover"),e._setFileProgress(0),e._resetInputValue(),e._removeFile(),e.hashname=null})},_setInputValue:function(e,i){this.inputOldname.val(e),this.inputNewname.val(i)},_resetInputValue:function(){this.inputOldname.val(""),this.inputNewname.val("")},_onDragStart:function(e){this.element.addClass("is-dragover")},_onDragEnd:function(e){this.element.removeClass("is-dragover")},_cancelUpload:function(e){this.uploader.cancel()},_removeFile:function(){this.hashname&&e.ajax({url:this.options.target,type:"DELETE",data:{name:this.hashname},contentType:"application/json"})},_preventSubmit:function(e){this.uploader.isUploading()&&(e.preventDefault(),alert(R("submitError")))},_setFileProgress:function(e){var i=Math.floor(Math.floor(100*e));this.progressBar.css({width:i+"%"})},_formatSize:function(e){return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(0)+" KB":e<1073741824?(e/1024/1024).toFixed(1)+" MB":(e/1024/1024/1024).toFixed(1)+" GB"},_getFileExtension:function(e){var i=e.lastIndexOf(".")+1;return i>0?e.substring(i):"bin"},_setOption:function(i,n){e.Widget.prototype._setOption.apply(this,arguments)}})}(jQuery,window,document);var penelope_formtag0f1c0inserezvosphotosici_8=$("#uploader_BLOCK_formtag0-f1-c0-inserez-vos-photos-ici-_8").penelope({locale:"fr"});function verifierEtat(checkbox){$(checkbox).each(function(){if($(this).prop("checked")===true){$(checkbox).removeAttr("required");return false;}else{$(checkbox).attr("required",true);}});}
7$(window).on("load",function(){var chkboxname="input[name='formtag0-rgpd-check-1[]']";var attribu=$(chkboxname).attr("required");if(attribu!==undefined&&attribu!==false){verifierEtat(chkboxname);$(chkboxname).on("change",function(){verifierEtat(chkboxname);});}});

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.