PageSourceSearch

https://stopsmoking.ch/_assets/64e29c898c39ad7f64fd4f952bb38291/Ja…/Bundles/bundle.9327892787c293eaedf7.js

js stopsmoking.ch collected 2026-10-09 21:42:28 UTC 1,056 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktemplatestopsmoking_ch=self.webpackChunktemplatestopsmoking_ch||[]).push([[61],{61:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});class n{constructor(){this.menuButtons=document.querySelectorAll('.button-menu .btn[data-bs-toggle="collapse"]'),this.submenu=document.querySelector(".buttons-submenu"),this.initEvents()}initEvents(){this.menuButtons.forEach((e=>{e.addEventListener("click",(t=>this.toggleMenu(t,e)))}))}toggleMenu(e,t){const s=t.getAttribute("href"),n=document.querySelector(s),o=t.parentElement;e.preventDefault(),n.classList.contains("show")?(this.closeMenu(n),o.classList.remove("active")):(this.submenu.querySelectorAll(".collapse.show").forEach((e=>{e.id!==s&&(this.closeMenu(e),this.findButtonForMenu(e.id).parentElement.classList.remove("active"))})),this.openMenu(n),o.classList.add("active"))}openMenu(e){e.classList.add("show"),e.style.height="auto"}closeMenu(e){e.classList.remove("show"),e.style.height="0"}findButtonForMenu(e){return[...this.menuButtons].find((t=>t.getAttribute("href")===`#${e}`))}}}}]);

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.