PageSourceSearch

https://www.eurostarshotels.com/CLIENTES/www.eurostarshotels.com/js/scriptGenerico.js?_=

js eurostarshotels.com collected 2026-10-09 21:30:18 UTC 1,509 bytes, 46 lines download raw bytes

1(function (o, engine, gido, body) {
2
3  function recalc(widthF) {
4    if (typeof widthF === 'undefined') widthF = body.getBoundingClientRect().width;
5
6
7    if(gido && widthF < 1024){
8      body.style.setProperty('margin-bottom', '60px');
9      if (o) o.style.paddingBottom = '0px';
10    }else if(widthF >= 1024){
11      if (o) {
12        o.style.paddingBottom = '0px';
13        o.style.marginBottom = '0px';
14      }
15      body.style.paddingBottom = '0px';
16      body.style.marginBottom = '0px';
17    }
18    if (gido && engine && widthF < 1024) {
19      if (engine.classList.contains('showBtn')) {
20        body.style.setProperty('margin-bottom', '124px');
21      } else if (widthF < 1024) {
22        body.style.setProperty('margin-bottom', '60px');
23      }else{
24        body.style.setProperty('margin-bottom', '0px');
25        if (o) o.style.marginBottom = '0px';
26      }
27    }
28  }
29
30  const resizeObserver = new ResizeObserver((entries) => {
31    entries.forEach((entry) => {
32      recalc(entry.contentRect.width);
33    });
34  });
35  resizeObserver.observe(body);
36
37  if (gido && engine) {
38    if(engine.classList.contains('showBtn')){
39      body.style.setProperty('margin-bottom', '124px');
40    }
41    const engineObserver = new MutationObserver(() => {
42      recalc();
43    });
44    engineObserver.observe(engine, { attributes: true, attributeFilter: ['class'] });
45  }
46})(document.querySelector('.tpl-footer2-eh'), document.querySelector('.sta-reservaModal'), document.getElementById('td-iassistant-widget-02'), document.body);

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.