1(()=>{const n={submenuAlreadyOpened:!1,headerHeight:0},r=()=>{i(),o(),h(),c()},i=()=>{const i={noticias:[/noticias.(html|aspx)/,/_cb\d+\.(html|aspx)$/,/_fb\d+\.(html|aspx)$/,/error_blog.(html|aspx)/],caravanas:[/caravanas.(html|aspx)/,/_fc\d+\.(html|aspx)$/,/error_caravanas.(html|aspx)/],escaparate:[/escaparate.(html|aspx)/,/_fe\d+\.(html|aspx)$/,/_ce\d+\.(html|aspx)$/,/error_escaparate.(html|aspx)/],eventos:[/eventos.(html|aspx)/,/_ev\d+\.(html|aspx)$/,/error_eventos.(html|aspx)/],galeria:[/galerias.(html|aspx)/,/_cg\d+\.(html|aspx)$/,/_fg\d+\.(html|aspx)$/,/accesopw.(html|aspx)/,/album.(html|aspx)/,/error_galeria.(html|aspx)/],inmobiliaria:[/_fi\d+\.(html|aspx)$/,/_ta\d+\.(html|aspx)$/,/directorioInmuebles.(html|aspx)/,/error_inmobiliaria.(html|aspx)/],restaurante:[/_fr\d+\.(html|aspx)$/,/error_menurestaurante.(html|aspx)/,/nuestros-menus-del-dia-y-menus-especiales.(html|aspx)/],motor:[/vehiculos.(html|aspx)/,/_fv\d+\.(html|aspx)$/,/error_vehiculos.(html|aspx)/],tanatorio:[/tanatorios.(html|aspx)/,/_de\d+\.(html|aspx)$/,/_tn\d+\.(html|aspx)$/,/error_tanatorios.(html|aspx)/],tienda:[/tienda.(html|aspx)/,/_fm\d+\.(html|aspx)$/,/_cm\d+\.(html|aspx)$/,/condiciones-contratacion.(html|aspx)/,/comocomprar.(html|aspx)/,/confirmacionpedido.(html|aspx)/,/error_minitienda.(html|aspx)/,/pedidofinalizado.(html|aspx)/,/carrito.(html|aspx)/]},t=t=>
1{const i=t.closest(".nav__item--has-sub");if(i&&!n.submenuAlreadyOpened){n.submenuAlreadyOpened=!1;var r=$(window).outerWidth();r>0&&$(i).find(".nav__submenu").stop(!0).slideToggle();$(i).find(".nav__submenu").toggleClass("nav__submenu--is-active");i.classList.add("nav__item--selected");$(i).find(".nav__down i").toggleClass("--rotate");t.parentElement.classList.add("nav__item--selected")}else t.closest("li").classList.add("nav__item--selected")};document.querySelectorAll(".nav .nav__item--selected").forEach(n=>n.classList.remove("nav__item--selected"));for(const[,n]of Object.entries(document.querySelectorAll(".nav li a")))if(n.href===location.href||location.pathname!=="/"&&n.href===location.href.slice(0,location.href.lastIndexOf("#")))t(n),n.dataset.applied="true",delete n.dataset.comp;else for(const[r,u]of Object.entries(i))n.dataset.comp&&n.dataset.comp.includes(r)&&u.some(n=>n.test(location.href))&&t(n);!document.querySelectorAll('[data-applied="true"]').length||document.querySelectorAll("[data-comp]").forEach(n=>n.closest("li").classList.remove("selected"))},t=()=>{$(".nav").toggleClass("nav--is-active"),$(".hamburger").toggleClass("hamburger--is-active"),$(".header__overlay").toggleClass("header__overlay--is-active"),$("body").toggleClass("no-scroll")},u=t=>{const i=$(".hamburger");if($(window).outerWidth()>0)if(t.currentTarget.href.substr(t.currentTarget.href.length-1)==="#"||t.currentTarget.href.startsWith("javascript:void")){t.currentTarget!==t.target&&t.preventDefault();const n=$(t.currentTarget);n.find(".nav__down i").toggleClass("--rotate");n.next(".nav__submenu").stop(!0).slideToggle();n.next(".nav__submenu").toggleClass("nav__submenu--is-active")}else return i.get(0).dispatchEvent(new MouseEvent("click")),n.submenuAlreadyOpened=!0,!0},f=()=>{const n=$(".header--sticky");n.length&&($(window).scrollTop()>=1?n.addClass("--is-active"):n.removeClass("--is-active"))},e=()=>{const n=$(".header--fixed");n.length&&($(window).scrollTop()>=1?n.addClass("--is-active"):n.removeClass("--is-active"))},o=()=>{const n=$(".header--pinned");if(n.length){$(window).outerWidth()<=1023&&$(".nav").insertBefore("header");let r=0,i=0,u=!1;const t={pinned:"--is-active",unpinned:"--not-active",headerPinned:"header--pinned"},f=()=>{if(window.scrollY===0){n.removeClass(t.pinned);n.removeClass(t.unpinned);return}i=window.pageYOffset;e()},e=()=>{u||requestAnimationFrame(o),u=!0},o=()=>{i<=r?s():i>r&&i>n.height()&&h(),r=i,u=!1},s=()=>{n.hasClass(t.unpinned)&&(n.removeClass(t.unpinned),n.addClass(t.pinned))},h=()=>{(n.hasClass(t.pinned)||!n.hasClass(t.unpinned))&&(n.removeClass(t.pinned),n.addClass(t.unpinned))};$(window).on("scroll",f)}},s=t=>{const r=$(".header");if((r.hasClass("header--sticky")||r.hasClass("header--fixed"))&&(n.headerHeight=r.outerHeight()),location.pathname.replace(/^\//,"")==t.pathname.replace(/^\//,"")&&location.hostname==t.hostname){let i=$(t.hash);i=i.length?i:$("[name="+t.hash.slice(1)+"]");i.length&&!$(t).hasClass("open-modal")&&$("html, body").animate({scrollTop:i.offset().top-n.headerHeight},800);$(".header__overlay--is-active").trigger("click")}setTimeout(()=>i(),10)},h=()=>{const t=$(".header");location.hash&&setTimeout(()=>{(t.hasClass("header--sticky")||t.hasClass("header--fixed"))&&(n.headerHeight=t.outerHeight()),$("html, body").animate({scrollTop:$(location.hash).offset().top-n.headerHeight},800)},500)},c=()=>{const n=$(window);$(".hamburger").on("click",()=>t());$(".header__overlay").on("click",()=>t());$(".nav__link").on("click",n=>u(n));$('a[href*="#"]:not([href="#"])').on("click",function(){s(this)});n.on("resize",()=>{$(window).outerWidth()>1023&&$(".nav").hasClass("nav--is-active")&&(t(),$(".nav__submenu").length&&$(".nav__submenu").css("display",""))});n.on("scroll",()=>f());n.on("scroll",()=>e())};$(()=>r())})()
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.