PageSourceSearch

https://www.airweb.fr/wp-content/cache/min/1/wp-content/themes/air…tarteaucitron.rnd_scripts.js?ver=1763633364

js airweb.fr collected 2026-09-24 09:29:59 UTC 5,488 bytes, 64 lines download raw bytes

1var fireGA=function(hitType,category,action,label){var gaFired=!1
2var counter=0
3function gaSend(){var tryGA=setInterval(sendtoGA,400)
4function sendtoGA(){if(counter>15){clearInterval(tryGA)}else{if(typeof ga=='function'&&!gaFired){gaFired=!0
5clearInterval(tryGA)
6ga(function(){var trackers=ga.getAll()
7if(typeof trackers!='undefined'&&trackers.length>0){for(var i=0;i<trackers.length;i++){ga(trackers[i].get('name')+'.send',hitType,category,action,label)}}})}}
8counter++}}
9setTimeout(function(){gaSend()},1)}
10var getServicesStatus=function(){let services={'allowed':[],'denied':[],'waiting':[]}
11var tac_coockie=Cookies.get('tarteaucitron');if(typeof tac_coockie!='undefined'&&tac_coockie!==''){var cookie={}
12var coockieArray=tac_coockie.split(/\s*!\s*/)
13for(var i=0;i<coockieArray.length;i++){coockieArray[i]=coockieArray[i].split(/\s*=\s*/)
14var name=decodeURIComponent(coockieArray[i][0])
15var value=decodeURIComponent(coockieArray[i].splice(1).join('='))
16if(name!=""&&name!=null&&value!=""&&value!=null){cookie[name]=value}}
17var myServices=Object.keys(cookie)
18for(let i=0;i<myServices.length;i++){let key=myServices[i]
19if(key!=''&&key!=null&&cookie[key]!=''&&cookie[key]!='null'){switch(cookie[key]){case "true":services.allowed.push(key)
20break;case "false":services.denied.push(key)
21break;default:services.waiting.push(key)
22break}}}}
23return services}
24var pushServices=function(services){if(services&&typeof services!='undefined'&&services.length>0){tarteaucitron.job=(typeof tarteaucitron.job=='object')?tarteaucitron.job:[];for(var i=0;i<services.length;i++){if(services[i]&&services[i]!=='')(tarteaucitron.job).push(services[i])}}}
25var setUpAnonymousAnalytics=function(data){var tarteaucitron=data.tac
26var services=data.services
27var gaAnonymeIsAlreadyInit=!1
28var isAnonEventInit=!1;if(data.UA&&data.UA!=='')
29tarteaucitron.user.analyticsUa=data.UA
30if(services&&services.length>0)
31pushServices(services)
32function initAnonStatEvents(){var newURL=window.location.protocol+"//"+window.location.host+"/"+window.location.pathname+window.location.search
33var denyAllBtn=document.getElementById('tarteaucitronAllDenied2');var allowAllBtn=document.getElementById('tarteaucitronPersonalize2');if(!isAnonEventInit&&denyAllBtn&&allowAllBtn){isAnonEventInit=!0
34denyAllBtn.addEventListener('click',function(){fireGA('event','ClicDeny','clic',newURL)})
35allowAllBtn.addEventListener('click',function(){fireGA('event','ClicAllow','clic',newURL)})}else if(!isAnonEventInit){setTimeout(function(){initAnonStatEvents()},200)}}
36function initGaIfNeeded(services){var tac_coockie=Cookies.get('tarteaucitron');var tagManager=''
37for(var i=0;i<services.length;i++){switch(services[i]){case 'googletagmanager':tagManager=services[i]
38tarteaucitron.user.googletagmanagerId=data.tagManagerID
39break;case 'gtag':tagManager='gtag'
40tarteaucitron.user.gtagUa=data.tagManagerID
41break;default:break}}
42var accepted=typeof tac_coockie!='undefined'?tac_coockie.indexOf(tagManager+'=true')>=0:!1
43if(!accepted){if(!gaAnonymeIsAlreadyInit){gaAnonymeIsAlreadyInit=!0;(function(i,s,o,g,r,a,m){i.GoogleAnalyticsObject=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create',data.UA,{'storage':'none'})
44ga('set','anonymizeIp',!0)
45ga('send','pageview')
46if(data.activateAnonymStat){initAnonStatEvents()
47if(!isAnonEventInit){setTimeout(function(){initAnonStatEvents()},200)}}}}}
48initGaIfNeeded(services)}
49var removeRGPDmessages=function(service){var rgpdMessages=document.querySelectorAll('.iframe-container.iframe-'+service)
50for(var i=0;i<rgpdMessages.length;i++){rgpdMessages[i].classList.remove('service-denied')}}
51var manageEmbeds=function(){var services=getServicesStatus()
52var iframes=document.querySelectorAll("iframe[data-cmp-service]");for(var i=0;i<iframes.length;i++){var service=iframes[i].dataset.cmpService
53var iframe=iframes[i]
54switch(service){case 'youtube':(tarteaucitron.job=tarteaucitron.job||[]).push('youtube');
54if(services.allowed.indexOf(service)!=-1){iframe.src=iframe.dataset.src
55removeRGPDmessages(service)}else{var btns=document.querySelectorAll('.tarteaucitronAllow[data-cmp-service='+service+']')
56for(var i=0;i<btns.length;i++){btns[i].addEventListener('click',function(){(tarteaucitron.job=tarteaucitron.job||[]).push('youtube');removeRGPDmessages(service)
57iframe.src=iframe.dataset.src
58tarteaucitron.userInterface.respond(this,!0)})}}
59break}}}
60var init_tac=function(data){(data.tac).init({"privacyUrl":data.privacyUrl,"hashtag":"#tarteaucitron","cookieName":"tarteaucitron","orientation":data.orientation,"groupServices":!0,"showAlertSmall":!1,"cookieslist":!1,"showIcon":data.showIcon,"iconPosition":"BottomRight","adblocker":!1,"DenyAllCta":data.denyAllCta,"AcceptAllCta":!0,"highPrivacy":!0,"handleBrowserDNTRequest":!1,"removeCredit":!1,"moreInfoLink":!0,"useExternalCss":!1,"readmoreLink":"","mandatory":!0})}
61document.addEventListener('DOMContentLoaded',function(){var setup_init={'tac':tarteaucitron,'privacyUrl':'/politique-de-confidentialite/','orientation':'bottom','showIcon':!1,'DenyAllCta':!0}
62var setup_tac={'tac':tarteaucitron,'UA':'UA-182079623-1','tagManagerID':'GTM-PBZSBDR','services':['analytics'],'activateAnonymStat':!0}
63if(tarteaucitron&&typeof tarteaucitron!='undefined'){var tarteaucitronForceExpire=182;init_tac(setup_init)
64setUpAnonymousAnalytics(setup_tac)}})

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.