PageSourceSearch

https://www.havana-airport.org/wp-content/cache/breeze-minificatio…s-2tuegguoor-e9639bcb3fc8.js?ver=1790964042

js havana-airport.org collected 2026-10-02 20:14:56 UTC 5,412 bytes, 30 lines download raw bytes

1window.__atgaCfg={"k":"2tuegguoor","api":"https:\/\/www.havana-airport.org\/?atgs=1","o":1};
2/*! ATG Analytics tracker v2.6.2 — cookieless, no personal data stored. Add ?atga_debug=1 to any page to see what it does. */
3(function(w,d){'use strict';if(w.__atgaLoaded){return}
4w.__atgaLoaded=!0;var debug=/[?&]atga_debug=1/.test(w.location.search);var box=null;function note(text,ok){if(!debug){return}
5try{w.console&&w.console.log('[ATG Analytics] '+text)}catch(e){}
6if(!d.body){d.addEventListener('DOMContentLoaded',function(){note(text,ok)});return}
7if(!box){box=d.createElement('div');box.setAttribute('style','position:fixed;left:12px;bottom:12px;z-index:2147483647;max-width:420px;padding:10px 12px;border-radius:8px;background:#1d1d1b;color:#fff;font:13px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;box-shadow:0 6px 24px rgba(0,0,0,.3)');box.innerHTML='<strong style="display:block;margin-bottom:4px">ATG Analytics test</strong>';d.body.appendChild(box)}
8var line=d.createElement('div');line.style.color=ok===!1?'#ff8a80':(ok===!0?'#7ee2a8':'#ddd');line.textContent=(ok===!1?'✗ ':(ok===!0?'✓ ':'• '))+text;box.appendChild(line)}
9var cfg=w.__atgaCfg||null;var s=d.currentScript;if(!s||!s.getAttribute('data-site')){s=d.querySelector('script[data-site][src*="atgs/"]')||d.querySelector('script[data-site][src*="atg-analytics"]')||d.querySelector('script[data-site]')}
10var key=(s&&s.getAttribute('data-site'))||(cfg&&cfg.k)||'';if(!key){note('No site key found (script tag attributes or built-in configuration)',!1);return}
11var origin='';try{origin=new URL((s&&(s.src||s.getAttribute('data-pmdelayedscript')))||w.location.href,w.location.href).origin}catch(e){origin=w.location.protocol+'//'+w.location.host}
12var api=(s&&s.getAttribute('data-api'))||(cfg&&cfg.api)||(origin+'/?atgs=1');var outbound=(s&&s.getAttribute('data-outbound')==='1')||!!(cfg&&cfg.o);note('Script running, site key '+key,!0);note('Sending to '+api);try{var m=/[?&]atga_ignore=([01])/.exec(w.location.search);if(m){if(m[1]==='1'){w.localStorage.setItem('atga_ignore','1')}else{w.localStorage.removeItem('atga_ignore')}}
13if(w.localStorage.getItem('atga_ignore')==='1'){note('This browser is set not to be counted. Open the site once with ?atga_ignore=0 to count it again.',!1);return}}catch(e){}
14if(w.navigator.webdriver){note('Automated browser detected, not counted',!1);return}
15var pid=Math.random().toString(36).slice(2,12);var start=Date.now();var hiddenFor=0;var hiddenAt=0;var REASONS={saved:'Visit saved',unknown_key:'Rejected: the site key is not registered on the analytics site',bad_domain:'Rejected: this domain is not registered for the site key',bot:'Rejected: this browser was treated as a bot',rate:'Rejected: rate limit, wait a minute',invalid:'Rejected: data not understood',empty:'Rejected: request arrived empty'};function send(data){data.k=key;if(debug){data.dbg=1;var dbgBody=JSON.stringify(data);try{w.fetch(api,{method:'POST',body:dbgBody,keepalive:!0,credentials:'omit',headers:{'Content-Type':'text/plain'}}).then(function(res){return res.text().then(function(txt){var r=/"atga":"([a-z_]+)"/.exec(txt||'');if(data.t!=='pv'){return}
16if(r){note(REASONS[r[1]]||('Server answered: '+r[1]),r[1]==='saved')}else{note('Server answered HTTP '+res.status+' without the analytics reply. Something in front of WordPress (cache, firewall, Cloudflare) handled the request.',!1)}})}).catch(function(){if(data.t==='pv'){note('The request was blocked before reaching the server (browser extension, firewall or network).',!1)}})}catch(e){note('This browser cannot send the data',!1)}
17return}
18var body=JSON.stringify(data);var sameOrigin=api.indexOf(w.location.protocol+'//'+w.location.host+'/')===0;try{if(w.fetch){w.fetch(api,{method:'POST',body:body,keepalive:!0,credentials:'omit',mode:sameOrigin?'same-origin':'no-cors',headers:{'Content-Type':'text/plain'}}).catch(function(){try{if(w.navigator.sendBeacon){w.navigator.sendBeacon(api,body)}}catch(e2){}});return}}catch(e){}
19try{if(w.navigator.sendBeacon){w.navigator.sendBeacon(api,body)}}catch(e){}}
20function pageview(){start=Date.now();
20send({t:'pv',u:w.location.href,r:d.referrer||'',p:pid,tp:w.navigator.maxTouchPoints||0})}
21function leave(){var secs=Math.round((Date.now()-start-hiddenFor)/1000);if(secs<1){return}
22send({t:'leave',u:w.location.href,p:pid,d:secs})}
23if(d.visibilityState==='prerender'){note('Page is prerendered, waiting until it is shown');d.addEventListener('visibilitychange',function once(){if(d.visibilityState!=='prerender'){d.removeEventListener('visibilitychange',once);pageview()}})}else{pageview()}
24d.addEventListener('visibilitychange',function(){if(d.visibilityState==='hidden'){if(!hiddenAt){leave();hiddenAt=Date.now()}}else if(hiddenAt){hiddenFor+=Date.now()-hiddenAt;hiddenAt=0}});w.addEventListener('pagehide',function(){if(!hiddenAt){leave()}});w.atgaEvent=function(name){if(!name){return}
25send({t:'ev',u:w.location.href,n:String(name).slice(0,100)})};d.addEventListener('click',function(e){var t=e.target;if(!t||!t.closest){return}
26var tagged=t.closest('[data-atga-event]');if(tagged){w.atgaEvent(tagged.getAttribute('data-atga-event'));return}
27if(!outbound){return}
28var a=t.closest('a[href]');if(!a||!a.hostname||!/^https?:$/.test(a.protocol)){return}
29var host=a.hostname.replace(/^www\./,'');if(host===w.location.hostname.replace(/^www\./,'')){return}
30w.atgaEvent('Outbound: '+host)},!0)})(window,document)

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.