PageSourceSearch

https://www.sonicite.ai/design/2026-09-08/site-system.js?v=4

js sonicite.ai collected 2026-10-05 12:40:11 UTC 1,239 bytes, 16 lines download raw bytes

1/* Small, shared content-state rules; no simulated successful transactions. */
2(() => {
3 const cn=document.documentElement.lang==='zh-CN';
4 document.querySelectorAll('.publication-state').forEach(el=>el.textContent=cn?el.dataset.cn:el.dataset.en);
5 document.querySelectorAll('.site-footer input[type=email]').forEach(el=>el.setAttribute('aria-label',cn?'电子邮箱':'Email address'));
6})();
7
8// One section-label treatment shared by product, editorial and About templates.
9(() => {
10 const selectors='.page .section-head .eyebrow,.page>section>.shell>.eyebrow,.bf-eyebrow,.page .faq-intro>.eyebrow,.page .final>.eyebrow,.about-content>section:not(#s0)>.eyebrow,.section-rule-label,.xpd-rule-label';
11 const labels=[...document.querySelectorAll(selectors)].filter(el=>el.textContent.trim());
12 labels.forEach(el=>el.classList.add('section-kicker'));
13 if(!('IntersectionObserver' in window)||matchMedia('(prefers-reduced-motion:reduce)').matches){labels.forEach(el=>el.classList.add('kicker-visible'));return;}
14 const observer=new IntersectionObserver(entries=>entries.forEach(e=>{if(e.isIntersecting){e.target.classList.add('kicker-visible');observer.unobserve(e.target);}}),{threshold:.3});
15 labels.forEach(el=>observer.observe(el));
16})();

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.