1(()=>{(function(){"use strict";let u="bx-color-mode",l="bx-color-mode-against",x="buddyx_dark_mode",w="buddyx_color_mode_against",d=["light","dark"],m={light:"Light mode (click to switch to dark)",dark:"Dark mode (click to switch to light)"};function c(){let t=document.documentElement.getAttribute("data-bx-default");return d.indexOf(t)!==-1?t:"light"}function r(){let t=c();try{let o=window.localStorage.getItem(u),n=window.localStorage.getItem(l);if(o&&d.indexOf(o)!==-1&&(!n||n===t))return o}catch{}let e=document.documentElement.getAttribute("data-bx-mode");return d.indexOf(e)!==-1?e:t}function y(t){try{window.localStorage.setItem(u,t),window.localStorage.setItem(l,c())}catch{}}function h(t){try{let e=t?"true":"false",n="; expires="+new Date(Date.now()+365*24*60*60*1e3).toUTCString()+"; path=/; SameSite=Lax";document.cookie=x+"="+e+n,document.cookie=w+"="+c()+n}catch{}}function _(t){if(document.body.classList.contains("logged-in")&&!(typeof window.jQuery>"u")&&!(typeof window.buddyx_data>"u")&&window.buddyx_data.ajax_url)try{window.jQuery.ajax({url:window.buddyx_data.ajax_url,type:"POST",data:{action:"buddyx_save_dark_mode",mode:t?"true":"false",against:c(),nonce:window.buddyx_data.dark_mode_nonce||""}})}catch{}}function f(t){return t==="dark"}function s(t){let e=document.documentElement,o=document.body;if(e.setAttribute("data-bx-mode",t),o){let a=f(t);a?(o.classList.add("buddyx-dark-theme"),o.classList.add("dark-mode"),o.classList.remove("light-mode"),e.classList.add("dark-mode"),e.classList.remove("light-mode")):(o.classList.remove("buddyx-dark-theme"),o.classList.remove("dark-mode"),o.classList.add("light-mode"),e.classList.add("light-mode"),e.classList.remove("dark-mode")),h(a)}let n=document.querySelectorAll(".bx-color-mode-toggle__btn");for(let a=0;a<n.length;a++){let i=n[a];i.setAttribute("data-mode",t),i.setAttribute("aria-pressed",t==="dark"?"true":"false"),i.setAttribute("aria-label",m[t]);let b=i.querySelector(".screen-reader-text");b&&(b.textContent=m[t])}document.dispatchEvent(new CustomEvent("bx:color-mode-change",{detail:{mode:t}}))}function k(t){let e=d.indexOf(t);return d[(e+1)%d.length]}function L(t){let e=t.target.closest&&t.target.closest(".bx-color-mode-toggle__btn");if(!e)return;t.preventDefault();let o=e.getAttribute("data-mode")||r(),n=k(o);y(n),s(n),_(f(n))}function E(t){t.persisted&&s(r())}function g(){s(r()),document.addEventListener("click",L),window.addEventListener("pageshow",E)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",g):g()})();})();
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.