// ADDED for ANS

document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js"),function(r){function a(){r("body").removeClass("nav-is-open").addClass("nav-is-closed")}function n(){r('[data-target="#menuPrincipal"]').on("click",function(){"true"===r(this).attr("aria-expanded")?a():r("body").addClass("nav-is-open").removeClass("nav-is-closed")}),document.addEventListener("keyup",function(e){var t;e.defaultPrevented||("Escape"!==(t=e.key||e.keyCode)&&"Esc"!==t&&27!==t||(r(".collapse.show").prev().focus(),r(".collapse.show").collapse("hide"),r('[data-toggle="tooltip"]').tooltip("hide"),a()))}),r(document).mouseup(function(e){var t=r(".header-principal-right .nav-collapse"),a=r(".header-principal-right");a.is(e.target)||0!==a.has(e.target).length||(t.removeClass("show"),t.prev().attr("aria-expanded",!1),r(".search-backdrop").remove())}),r(".common-nav-item > button").on("click",function(e){var t=r(this).next(".nav-collapse");r(".header-principal-right .nav-collapse").not(t).removeClass("show"),r(".search-backdrop").remove(),"false"===r(this).attr("aria-expanded")?(r(this).attr("aria-expanded",!0),r(".header-principal-right .nav-collapse").prev().attr("aria-expanded",!1)):"true"===r(this).attr("aria-expanded")&&r(this).attr("aria-expanded",!1)}),r("#collapseSearch").on("shown.bs.collapse",function(){r(".search-backdrop").length||r("body").append('<div class="modal-backdrop search-backdrop fade show"></div>')}),r("#collapseSearch").on("hidden.bs.collapse",function(){r(".search-backdrop").remove()})}Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" est nul ou non défini');var a=Object(this),r=a.length>>>0;if(0==r)return!1;var n,o,i=0|t,s=Math.max(0<=i?i:r-Math.abs(i),0);for(;s<r;){if((n=a[s])===(o=e)||"number"==typeof n&&"number"==typeof o&&isNaN(n)&&isNaN(o))return!0;s++}return!1}});function o(){var a=r("html");r(".o-widget-access [name]").change(function(){var e=r(this).attr("name"),t=r(this).val();a.attr("data-"+e,t),function(e,t,a){{var r,n;n=a?((r=new Date).setTime(r.getTime()+24*a*60*60*1e3),"; expires="+r.toGMTString()):""}document.cookie=e+"="+t+n+"; path=/"}(e,t,"180")});var e,n,t=document.cookie;t&&""!==t&&(e=t.split("; "),n={},e.forEach(function(e){var t=e.split("="),a=t[0],r=t[1];["font","contrast","line-space"].includes(a)&&(n[a]=r)}),Object.keys(n).forEach(function(e){var t=n[e];a.attr("data-"+e,t),r("[name="+e+"][value="+t+"]").attr("checked","true")}))}r(window).focus(),r(document).ready(function(){var t,e;e=r('a.external-link, [target="_blank"]:not(:has(img))'),t="fr"===document.documentElement.lang?" (nouvelle fenêtre)":" (new window)",e.each(function(){var e;r(this).addClass("external-link"),r(this).attr("aria-label")?(e=r(this).attr("aria-label").replace(/\s+/g," ").trim(),r(this).attr("title",function(){return e+t})):r(this).attr("title")?(e=r(this).attr("title").replace(/\s+/g," ").trim(),r(this).attr("title",function(){return e+t})):r(this).attr("title",function(){return r(this).text().replace(/\s+/g," ").trim()+t})}),r('a.mailto-link, [href^="mailto:"]').each(function(){r(this).addClass("mailto-link")}),r('a.file-link, [href$=".pdf"], [href$=".odt"], [href$=".doc"], [href$=".docx"], [href$=".xls"], [href$=".xlsx"], [href$=".ods"], [href$=".ppt"], [href$=".pptx"], [href$=".odp"], [href$=".zip"], [href$=".rar"], [href$=".7z"], [href$=".mp3"], [href$=".mp4"], [href$=".ogv"], [href$=".ogg"], [href$=".wmv"], [href$=".mov"], [href$=".mkv"], [href$=".flv"], [href$=".webm"], [href$=".avi"], [href$=".jpg"], [href$=".jpeg"], [href$=".png"], [href$=".bmp"], [href$=".tiff"], [href$=".gif"]').each(function(){r(this).addClass("file-link")}),r("table").removeAttr("border cellpadding cellspacing style").wrap("<div class='table-responsive'></div>").addClass("table table-bordered"),n(),o(),0<r(".o-alert .btn--close").length&&r(".o-alert .btn--close").on("click",function(){r(this).parents(".o-alert").remove()}),r('[data-toggle="tooltip"]').tooltip()})}(jQuery);