PageSourceSearch

https://www.anaplan.com/etc.clientlibs/anaplan/clientlibs/clientli…/chunks/3934.c28c5253089edb13c2ba.js

js anaplan.com collected 2026-10-09 22:31:55 UTC 1,169 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[3934],{3934:function(e,t,i){i.r(t),i.d(t,{default:function(){return s}});class s{constructor(e){this.element=e,this.init()}init(){this.navLinks=this.element.querySelectorAll(".secondarynav-link"),this.sections=document.querySelectorAll(".layout-container[id]"),this.wrapper=this.element.querySelector(".wrapper"),this.navbar=document.querySelector(".cmp-navbar"),this.isMouseLeftClick=!1,this.handleClick(),this.handleScroll()}handleClick(){this.navLinks.forEach(e=>{e.addEventListener("click",e=>{this.isMouseLeftClick=!0;const t=e.target;document.querySelector(t.getAttribute("href"))?(this.navLinks.forEach(e=>e.classList.remove("active")),t.classList.add("active"),setTimeout(()=>{this.isMouseLeftClick=!1},800)):this.isMouseLeftClick=!1})})}handleScroll(){window.addEventListener("scroll",()=>{if(!this.isMouseLeftClick)for(const e of this.sections){const t=e.getBoundingClientRect();if(t.top<=100&&t.top>-100){this.navLinks.forEach(e=>e.classList.remove("active"));const t=document.querySelector(`a[href="#${e.id}"]`)||null;t&&t.classList.add("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.