Atelier méditation – relaxation

‘); $(‘.contentAdBlockDetect’).html(htmlCorps); $(‘#adBlockDetect’).show(); if(typeof _gaq === ‘undefined’) { ga(‘send’, ‘event’, ‘AdBlocker’, ‘Affichage-message-detection’, ”); } else { _gaq.push([‘_trackEvent’, ‘AdBlocker’, ‘Affichage-message-detection’, ”]); } } } function adBlockDetected() { AdBlockDetected(‘www.estrepublicain.fr‘, encodeURIComponent(‘https://www.estrepublicain.fr/pour-sortir/loisirs/Stage-atelier-vacances-scolaires/Autres-loisirs/Franche-comte/Territoire-de-belfort/Belfort/2019/05/29/Atelier-meditation-relaxation’), 2); } if(typeof blockAdBlock === ‘undefined’) { adBlockDetected(); } else { blockAdBlock.onDetected(adBlockDetected); }
$ .smartbanner({ title: ‘L\’Est Républicain’, author: ‘Euro Information’, layer: 1, daysHidden: 1, daysReminder: 1, price: ‘Disponible’, inAppStore: ‘sur l\’App Store’, inGooglePlay: ‘sur Google Play’, inWindowsStore: ‘sur Windows Store’, appStoreLanguage: ‘fr’, button: ‘Ouvrir’, iOSUniversalApp: true, onInstall: function(){ if (typeof _gaq === ‘undefined’) { ga(‘send’, ‘event’, ‘Mobile Applications’, ‘install/open’); } else { _gaq.push([‘_trackEvent’, ‘Mobile Applications’, ‘install/open’, ”]); } }, onClose: function() { if (typeof _gaq === ‘undefined’) { ga(‘send’, ‘event’, ‘Mobile Applications’, ‘close’); } else { _gaq.push([‘_trackEvent’, ‘Mobile Applications’, ‘close’, ”]); } } }) // Start Client Configuration var nugghost=”//366ebra.nuggad.net”; var nuggn=961214657; var nuggsid=2027154602; var nuggnSc = nugghost+’/rc?nuggn=’+nuggn+’&nuggsid=’+nuggsid+’&nuggrid=’+encodeURIComponent(top.location.href); //cookie read section var nuggCook =”{}”; if(document.cookie){ nuggtV = unescape(document.cookie); if(nuggtV.indexOf(“nuggCook”+”=”)!=-1){ nuggp1 = nuggtV.indexOf(“nuggCook”+”=”); nuggp2 = nuggtV.indexOf(“,cookEnd”); nuggCook = unescape(nuggtV.slice(nuggp1+”nuggCook”.length+1,nuggp2)); } } var nSrc = document.createElement(‘script’); nSrc.setAttribute(‘src’,nuggnSc); nSrc.async = true; nSrc.setAttribute(‘type’,’text/javascript’); document.getElementsByTagName(‘head’)[0].appendChild(nSrc); nuggCook=eval(“(” + nuggCook + “)”); googletag.cmd.push(function() { googletag.pubads().disableInitialLoad(); }); googletag.cmd.push(function(){ googletag.defineSlot(“/8695/ler/pour-sortir”,[[300,600],[300,250]],”pub-dfp-p2″).addService(googletag.pubads()).setTargeting(“p”,”p2″); googletag.defineSlot(“/8695/ler/pour-sortir”,[[300,250],[300,120]],”pub-dfp-p4″).addService(googletag.pubads()).setTargeting(“p”,”p4″); googletag.defineSlot(“/8695/ler/pour-sortir”,[[1000,50],[320,50]],”pub-dfp-p8″).addService(googletag.pubads()).setTargeting(“p”,”p8″); googletag.defineSlot(“/8695/ler/pour-sortir”,[[1000,200],[1000,90],[728,90],[320,50]],”pub-dfp-p1″).addService(googletag.pubads()).setTargeting(“p”,”p1″); googletag.defineOutOfPageSlot(“/8695/ler/pour-sortir”,”pub-dfp-p0″).addService(googletag.pubads()).setTargeting(“p”,”p0″); googletag.defineOutOfPageSlot(“/8695/ler/pour-sortir”,”pub-dfp-p-1″).addService(googletag.pubads()).setTargeting(“p”,”p-1″); googletag.defineSlot(“/8695/ler/pour-sortir”,[[1000,200],[1000,90],[728,90],[320,50]],”pub-dfp-p18″).addService(googletag.pubads()).setTargeting(“p”,”p18″); // read cookie nuggAd for (var nuggkey in nuggCook) { googletag.pubads().setTargeting(nuggkey, nuggCook[nuggkey]); } googletag.pubads().setTargeting(“cp”, [“eventdetailscomponent”]); googletag.pubads().setTargeting(“lc”, [“belfort”]); googletag.pubads().setTargeting(“ld”, [“territoire-de-belfort”]); googletag.pubads().setTargeting(“lr”, [“franche-comte”]); googletag.pubads().setTargeting(“lp”, [“france”]); googletag.pubads().setTargeting(“th”, [“stage-atelier”]); googletag.pubads().setTargeting(“k”, [“loisirs”, “pour-sortir”]); googletag.pubads().setTargeting(“s”, [“loisirs”, “pour-sortir”]); googletag.pubads().setTargeting(“env”, [“p”]); googletag.pubads().enableSingleRequest(); googletag.pubads().collapseEmptyDivs(true); googletag.companionAds().setRefreshUnfilledSlots(true); googletag.pubads().enableVideoAds(); googletag.enableServices(); googletag.display(“pub-dfp-p2”); googletag.display(“pub-dfp-p4”); googletag.display(“pub-dfp-p8”); googletag.display(“pub-dfp-p1”); googletag.display(“pub-dfp-p0”); googletag.display(“pub-dfp-p-1”); googletag.display(“pub-dfp-p18”); }); var IAS_PET_TIMEOUT = 2000; var adserverRequestSent = false; //var iasDataHandler; var __iasPET = window.__iasPET || {}; if (typeof window.__iasPET !== ‘undefined’) { window.__iasPET.queue = window.__iasPET.queue || []; window.__iasPET.pubId = ‘924825’; requestAds = function() { console.log(“Display Ads function”); if (adserverRequestSent) return; clearTimeout(iasTimeOut); googletag.pubads().refresh(); adserverRequestSent = true; } iasDataHandler = function (adSlotData) { console.log(“Callback function”); window.__iasPET.setTargetingForGPT(); requestAds(); } var iasTimeOut = setTimeout(function() { requestAds(); }, IAS_PET_TIMEOUT); googletag.cmd.push(function() { var gptSlots = googletag.pubads().getSlots(); var iasPETSlots = []; for (var i = 0; i
Connection = { Initialize : function(){ Connection.AttachEvents.All(); //Erreur serveur if ( $(“div.GXCO_Identification”).find(“div.messageBox.error”).length > 0 ){ $(“body”).addClass(“hasModal”); } }, Validate: { Form: function(){ var modal = $(“div.GXCO_Identification”); var txtEmail = modal.find(“#txtId”); var txtMdp = modal.find(“#txtMdp”); modal.find(“div.messageBox.error”).remove(); txtEmail.removeClass(“error”); txtMdp.removeClass(“error”); var arrayError = []; var regexEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/; if (txtEmail.val() == “”){ arrayError.push(“Veuillez saisir une adresse e-mail.”); txtEmail.addClass(“error”); }else if(!regexEmail.test(txtEmail.val())){ arrayError.push(“Veuillez saisir une adresse e-mail valide.”); txtEmail.addClass(“error”); } if (txtMdp.val() == “”){ arrayError.push(“Veuillez saisir un mot de passe.”); txtMdp.addClass(“error”); } if (arrayError.length == 0){ return true; }else{ var div = $(“

“).addClass(“messageBox error”); var ul = $(“

    “); div.append(ul); for(var i = 0; i “).text(arrayError[i]).appendTo(ul); } var titre = modal.find(“p.modalTitre”); titre.after(div); return false; } }, }, WaitForAuth:{ Start : function(){ if ($ .cookie(‘gxco_oauth’) !== undefined) { console.log(‘suppression cookie existant’) $ .removeCookie(“gxco_oauth”); } Connection.Timer.Stop(); Connection.Timer.Start(); } }, AttachEvents: { All: function(){ Connection.AttachEvents.Modal.Open(); Connection.AttachEvents.Modal.Close(); Connection.AttachEvents.Facebook.Open(); Connection.AttachEvents.Google.Open(); }, Modal : { Open: function(){ $(“#showBoxConnect”).unbind(‘click’).bind(‘click’, function(){ $(“div.GXCO_Identification”).find(“div.messageBox.error”).remove(); $(“body”).addClass(“hasModal”); }); }, Close: function(){ $(“.modal .modalClose, .modalBG”).unbind(‘click’).bind(‘click’, function(event){ if( $(event.target).is(“.modal .modalClose, .modalBG”) ){ $(“body”).removeClass(“hasModal”); } }); }, }, Facebook: { Open: function(){ $(“a.modalButton.modalLogo.logoFacebook”).unbind(‘click’).bind(‘click’, function(){ var newwindow = window.open(‘https://www.facebook.com/v3.1/dialog/oauth?client_id=623036721381326&redirect_uri=https:%2f%2fwww.estrepublicain.fr%2fe-services%2foAuthRedirect&scope=public_profile%2cemail&state=FB’, ‘oAuth’, ‘width=600,height=800,addressbar=no,toolbar=no,scrollbars=no’); Connection.WaitForAuth.Start(); }); }, }, Google: { Open: function(){ $(“a.modalButton.modalLogo.logoGoogle”).unbind(‘click’).bind(‘click’, function(){ var newwindow = window.open(‘https://accounts.google.com/o/oauth2/v2/auth?client_id=881122680577-1qmv64vf3p91dnlpvjfb5t61kklvc3l3.apps.googleusercontent.com&redirect_uri=https:%2f%2fwww.estrepublicain.fr%2fe-services%2foAuthRedirect&scope=https:%2f%2fwww.googleapis.com%2fauth%2fuserinfo.email+https:%2f%2fwww.googleapis.com%2fauth%2fuserinfo.profile+https:%2f%2fwww.googleapis.com%2fauth%2fuser.birthday.read+https:%2f%2fwww.googleapis.com%2fauth%2fuser.addresses.read+https:%2f%2fwww.googleapis.com%2fauth%2fuser.phonenumbers.read&state=GG&access_type=offline&include_granted_scopes=true&response_type=code’, ‘_blank’, ‘width=600,height=800,addressbar=no,toolbar=no,scrollbars=no’); Connection.WaitForAuth.Start(); }); }, }, }, Timer: { PROVIDER : undefined, Start: function (){ if (Connection.Timer.PROVIDER === undefined) { Connection.Timer.PROVIDER = setInterval(function(){ console.log(‘— WAIT’); if ($ .cookie(‘gxco_oauth’) !== undefined) { console.log(‘— Cookie Found : ‘ + $ .cookie(‘gxco_oauth’)); Connection.Timer.Stop(); if ($ .cookie(‘gxco_oauth’) == ‘AUTH’) window.location.reload(); if ($ .cookie(‘gxco_oauth’) == ‘TOVA’) window.location.href = “/e-services/CreateAccount”; } }, 500); console.log(‘– Timer Facebook (‘ + Connection.Timer.PROVIDER + ‘) – START’); } }, Stop: function (){ if (Connection.Timer.PROVIDER !== undefined) { console.log(‘– Timer Facebook (‘ + Connection.Timer.PROVIDER + ‘) – STOP’); clearInterval(Connection.Timer.PROVIDER); Connection.Timer.PROVIDER = undefined; } }, }, }; Connection.Initialize(); /* renvoi email activation compte */ ApprovalMail = { Send : function(email, approvalUrl){ var strData = “{approvalUrl: \”” + approvalUrl + “\”, email: \”” + email + “\”}”; $ .ajax({ type: “POST”, url: “/webservices/CDM.GPRF.Web/CDM.GPRF.Web.Services.ProfileService.asmx/SendActivationMail”, data: strData, contentType: “application/json; charset=utf-8”, dataType: “json” }); return false; } }
    $(document).ready(function () { $(function() { $(“.datepicker “).datepicker({ showMonthAfterYear: false, dateFormat: ‘dd/mm/yy’, monthNames: [‘Janvier’, ‘Février’, ‘Mars’, ‘Avril’, ‘Mai’, ‘Juin’, ‘Juillet’, ‘Août’, ‘Septembre’, ‘Octobre’, ‘Novembre’, ‘Décembre’], monthNamesShort: [‘Jan’, ‘Fév’, ‘Mar’, ‘Avr’, ‘Mai’, ‘Jun’, ‘Jul’, ‘Aoû’, ‘Sep’, ‘Oct’, ‘Nov’, ‘Déc’], dayNames: [‘Dimanche’, ‘Lundi’, ‘Mardi’, ‘Mercredi’, ‘Jeudi’, ‘Vendredi’, ‘Samedi’], dayNamesShort: [‘Dim’, ‘Lun’, ‘Mar’, ‘Mer’, ‘Jeu’, ‘Ven’, ‘Sam’], dayNamesMin: [‘Di’, ‘Lu’, ‘Ma’, ‘Me’, ‘Je’, ‘Ve’, ‘Sa’], onSelect: function () { }, numberOfMonths: 1, minDate: 0 }); $(“#ui-datepicker-div”).wrap(“”); }); }); GeoSearch0 = { Clear : function() { if($(“[name=’GEVT_Agenda_TbxWhere_dnfta’]”).val() != “Autour de ma position”) { $(“[name=’GEVT_Agenda_hfLatitude’]”).val(“”); $(“[name=’GEVT_Agenda_hfLongitude’]”).val(“”); } }, Locate : function() { if (navigator.geolocation) navigator.geolocation.getCurrentPosition(GeoSearch0.GetPosition, GeoSearch0.GeoError); else alert(“La géolocalisation n’est pas disponible sur ce navigateur”); }, GetPosition : function(position) { $(“[name=’GEVT_Agenda_hfLatitude’]”).val(position.coords.latitude); $(“[name=’GEVT_Agenda_hfLongitude’]”).val(position.coords.longitude); $(“[name=’GEVT_Agenda_TbxWhere_dnfta’]”).val(“Autour de ma position”); }, GeoError : function() { alert(“Votre position n’a pas pu être déterminée.”); } };
    (function (d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = ‘//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.5’;fjs.parentNode.insertBefore(js, fjs);} (document, ‘script’, ‘facebook-jssdk’));
    window.___gcfg = {lang: ‘fr’};(function () {var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;po.src = ‘https://apis.google.com/js/plusone.js’;var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);})(); // Largeur de la legende var imageWidth = $(“.slides_container > a > img”).outerWidth(); $(‘#media #credits’).css({ width: imageWidth }); // Revealing Module Pattern + Singleton var eventMapModule = (function ($j) { var _debug = false; var console = window.console || null; if (console == undefined || console == null) _debug = false; if (_debug) console.log(“eventMapModule: Inside eventMapModule”); // Référence au singleton var _instance; // Récupération de l’instance du singleton si elle existe, création d’une instance dans le cas contraire function getInstance() { if (_debug) console.log(“eventMapModule: getInstance()”); if (!_instance) { _instance = initInstance(); } return _instance; } // Création d’une instance d’eventMapModule function initInstance() { if (_debug) console.log(“eventMapModule: initInstance()”); // ****************************************************************** // Paramétrage UI // ****************************************************************** //Cacher le bouton “Ma Position” pour les versions d’ie ne supportant pas la fonctionalité de géolocalisation if ($j.browser.msie && $j.browser.version //Prevent to click on the overlay while dragging the map. var _currentDragging = false; google.maps.event.addListener(_map, ‘dragstart’, function () { _currentDragging = true; }); google.maps.event.addListener(_map, ‘dragend’, function (e) { setTimeout(function () { _currentDragging = false; }, 100); }); //IE> // Création du marker et ajout à la carte _marker = new google.maps.Marker({ animation: google.maps.Animation.DROP, position: _latlng, title: _eventData.title, icon: _eventData.imgMarker }); _marker.setMap(_map); _directionsService = new google.maps.DirectionsService(); _directionsRenderer = new google.maps.DirectionsRenderer(_directionsRendererOptions); $j(‘#validateAddress’).click(function () { $j.fancybox.hideLoading(); var origin = $j(‘#visitorAddress’).val(); if (origin != ”) { _showDirections(origin); } }); // ****************************************************************** // Méthodes et propriétés publiques // ****************************************************************** return { // API publique du module eventMapModule setDefaultPosition: setDefaultPosition, currentDragging: function () { return _currentDragging; } } }; //function initInstance() return { getInstance: getInstance }; })(jQuery); var eventMapModuleInstance; var gmapUrl = “https://maps.google.com/maps/api/js?v=3.8&sensor=false&language=fr&client=gme-euroinformationsas&channel=PRESSE”; var gmapLoaded = false; var LoadGmap = function(clb) { if (!gmapLoaded) { window.gMapClb = function() { window.gMapClb = null; gmapLoaded = true; clb(); }; jQuery.ajax({url: gmapUrl+’&callback=gMapClb’, dataType: ‘script’}); } else { clb(); } }; jQuery(document).ready(function ($j) { $(“.fancybox”).fancybox(); $j(‘#showDirectionsButton’).fancybox({ ‘helpers’: { overlay: { closeClick: true} }, ‘href’: ‘#map’, ‘beforeLoad’: function () {}, ‘afterShow’: function () { LoadGmap(DisplayMap); }, ‘beforeClose’: function () { // //Prevent to click on the overlay while dragging the map. if (eventMapModuleInstance.currentDragging()) return false; //IE> jQuery.fancybox.hideLoading(); $j(document).unbind(‘keypress.map’); } }); }); function DisplayMap() { eventMapModuleInstance = eventMapModule.getInstance(); eventMapModuleInstance.setDefaultPosition(); //On bind l’appui de la touche enter sur le bouton itinéraire $(document).bind(‘keypress.map’, function (e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { //S’il s’agit de la touche “Entrée” $(“#validateAddress”).click(); e.preventDefault(); } }); } EventDetail = { Actions: { AdditionalDescription: { Toggle: function(){ $(“p.AdditionalDescription”).slideToggle(); $(“a.showMore”).toggle(); $(“a.hideMore”).toggle(); }, }, }, }; GSOC_CatchAndPrintNbComments();GSOC_CatchAndPrintViewCountLimit(1);
    $(‘.UA-trackEvent’).on(‘click’, function () { var val1 = $(this).attr(‘data-UAval1’); var val2 = $(this).attr(‘data-UAval2’); var val3 = $(this).attr(‘data-UAval3’); ga(‘send’, ‘event’, val1, val2, val3);});
    ga(‘send’, ‘pageview’);
    $.each(bufferScript,function(){this()});});

Source : www.estrepublicain.fr/pou…