ChatGPT!function initScrollTimelineInline(){try{if(CSS.supports(«animation-timeline: —works»))return;var t=new Map;document.addEventListener(«animationstart»,(n=>{if(!(n.target instanceof HTMLElement))return;const e=n.target.getAnimations().filter((t=>t.animationName===n.animationName));t.set(n.target,e)})),document.addEventListener(«scrolltimelineload»,(n=>{t.forEach(((t,e)=>{t.forEach((t=>{n.detail.upgradeAnimation(t,e)}))})),t.clear()}),{once:!0})}catch{}}();
!function(){try{var d=document.documentElement,c=d.classList;c.remove(‘light’,’dark’);var e=localStorage.getItem(‘theme’);if(‘system’===e||(!e&&true)){var t='(prefers-color-scheme: dark)’,m=window.matchMedia(t);if(m.media!==t||m.matches){d.style.colorScheme = ‘dark’;c.add(‘dark’)}else{d.style.colorScheme = ‘light’;c.add(‘light’)}}else if(e){c.add(e|| »)}if(e===’light’||e===’dark’)d.style.colorScheme=e}catch(e){}}()
Перейти к содержимому