PageSourceSearch

https://www.parquedeatracciones.es/etc.clientlibs/parques-reunidos…-49ece6f12b7301dcee933869ecc497ae-lc.min.js

js parquedeatracciones.es collected 2026-10-03 20:59:27 UTC 2,479 bytes, 77 lines download raw bytes

1$(document).ready(function () {
2  $(".cc13").each(function () {
3
4    if ($(this).find(".link-list li").length == 1) {
5      $(this).find(".link-list li").removeClass("col-3").addClass("col-12");
6    }
7    $(this).find(".link-list li i").each(function () {
8      if ($(this).is('[class*="icon-"]')) {
9        //console.log($(".cc13 .link-list li i").html());
10        $(this).addClass("show");
11      }
12    })
13  })
14  $('.aem-Grid').each(function (index, element) {
15    var cf11 = $('.cf11_tickets',element).length;
16    if(cf11 >= 1){
17      $('.footerfunnel-xf',element).addClass('footerfunnel-w100');
18      $('.footerfunnel-xf .cc13 li',element).removeClass('col-3').addClass('col-auto col-footer');
19    }else {
20      $('.footerfunnel-xf .cc13 li',element).removeClass('col-3').addClass('col-auto col-footer');
21      $('.footerfunnel-xf',element).addClass('footerfunnel-w');
22    }
23    
24    
25  });
26  //Analitycs 
27  const allLinkListComponents = document.querySelectorAll("div.link-list");
28  const cc13DataLayerLinkEvent = (targetElement, liElement) => {
29      const url = window.location.href;
30      const component = targetElement.querySelector("#componentTitle").value;
31      const labelBtn = liElement.querySelector("a").textContent.replace(/\t/g, '').trim();
32      dataLayer.push({
33        'category': 'Interaccion',
34        'action': component,
35        'label': labelBtn,
36        'event': 'eventga',
37        'urlmodule': url,
38      });
39  }
40
41  const cc13AddEventListener = () => {
42    for(const cc13 of allLinkListComponents) {
43      const allLi = cc13.querySelectorAll("li");
44      for (const li of allLi) {
45        li.addEventListener("click", function(){
46          cc13DataLayerLinkEvent(cc13, li);
47      }, false);
48      }
49    }
50  }
51  cc13AddEventListener();
52
53  const cc13withCart = () => {
54
55    var cf02cart = $('.cf02_cart .infoVisitorCart .cartHeader');
56
57    if(cf02cart.length > 0 && $(window).width() <= 500) {
58      $('footer .footer-block-gene .block-link-rrss .container.cc13').css('margin-bottom', '30px'); 
59    }else {
60      $('footer .footer-block-gene .block-link-rrss .container.cc13').css('margin-bottom', '0px'); 
61    }
62  }
63
64  cc13withCart();
65
66
67}) /*
68function resizeIframe(obj) {
69    obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px';
70    console.log(obj.style.height)
71  }*/
72
73setTimeout(function () {
74  if ($('.cf02_cart').length > 0) {
75    $('.cc13 .row.link-list').css({ 'margin-right': '0', 'margin-left': '0' })
76  }
77}, 2000)

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.