티스토리 수익 글 보기
(()=>{“use strict”;let e;function t(e){let t=[];for(let n of function(){try{return document.cookie.split(“;”)}catch{return[]}}()){let[r,i]=n.trim().split(“=”);e===r&&void 0!==i&&t.push({key:r,value:i})}return t}!function(){if(“undefined”!=typeof document){let t=document.getElementById(“client-env”);if(t)try{e=JSON.parse(t.textContent||””)}catch(e){console.error(“Error parsing client-env”,e)}}}(),!function(){if(function(){if(!e)throw Error(“Client env was requested before it was loaded. This likely means you are attempting to use client env at the module level in SSR, which is not supported. Please move your client env usage into a function.”);return e}().login)return;let n=t(“increase_contrast_light”)[0],r=t(“increase_contrast_dark”)[0];document.documentElement.setAttribute(“data-light-theme”,n?.value===”enabled”?”light_high_contrast”:”light”),document.documentElement.setAttribute(“data-dark-theme”,r?.value===”enabled”?”dark_high_contrast”:”dark”)}()})();
//# sourceMappingURL=high-contrast-cookie-1d6a4b4f5bba.js.map