PageSourceSearch

https://www.cupraofficial.co.uk/etc.clientlibs/cupra/components/se…-106c718110156a5e16303c88a53d83d3-lc.min.js

js cupraofficial.co.uk collected 2026-09-28 06:40:05 UTC 1,185 bytes, 3 lines download raw bytes

1$(function(){$(".secondary-nav").length&&$(".secondary-nav").each(function(){(new SecondaryNav($(this))).init()})});function SecondaryNav(a){this.$componentSelector=a}
2SecondaryNav.prototype={init:function(){this.listeners();window.isSeat&&this.activeFirstElement();window.isCupra&&($(".global-header").length||$(".main-navigation").length||this.$componentSelector.css("top","0"))},activeFirstElement:function(){var a=this.$componentSelector;a.find(".anchorsAlternative").length&&a.find(".anchorsAlternative a").first().addClass("active")},listeners:function(){var a=this.$componentSelector;$(window).on("scroll",function(){100<$(window).scrollTop()?a.addClass("fixed"):
3a.removeClass("fixed")});a.find(".nav-item a").on("click",function(b){b.preventDefault();b=$(this).attr("href");$(b).length&&$("html, body").animate({scrollTop:$(b).offset().top-a.outerHeight()},500)});if(a.find(".anchorsAlternative").length)a.find(".anchorsAlternative a").on("click",function(b){b.preventDefault();b=$(this).attr("href");$(b).length&&($("html, body").animate({scrollTop:$(b).offset().top-a.outerHeight()},500),a.find(".anchorsAlternative a").removeClass("active"),$(this).addClass("active"))})}};

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.