PageSourceSearch

https://59q.org/js/theme-main-flow-aa2068.js

js 59q.org collected 2026-10-04 08:54:23 UTC 696 bytes, 7 lines download raw bytes

1const body = document.body;
2const toggle = document.querySelector('.au-toggle');
3const key = 'siteforge:aurora-theme';
4function setTheme(t){body.setAttribute('data-theme', t); try{localStorage.setItem(key,t);}catch(_){} }
5(function init(){try{const saved=localStorage.getItem(key); if(saved){setTheme(saved); return;}}catch(_){} setTheme('light');})();
6if(toggle){toggle.addEventListener('click',()=>{const next=body.getAttribute('data-theme')==='dark'?'light':'dark'; setTheme(next);});}
7document.querySelectorAll('.au-faq__item').forEach(item=>{item.addEventListener('toggle',()=>{if(item.open){item.classList.add('au-faq__item--open');}else{item.classList.remove('au-faq__item--open');}});});

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.