/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
import{a as t}from"./NKCYMRE4.js";import{Hk as a,Jk as r,Ok as n}from"./NG7S6FUK.js";async function m(o,e){return await(await t()).colorize(o,e,{tabSize:2})}async function C(o,e,i){!o||o.tagName!=="CODE"||(o.innerHTML=await m(e??"",i))}function S(){let o=n.get(a).getColorTheme();return r(o.tokenTheme.getColorMap())}function l(o){return n.get(a).onDidColorThemeChange(()=>o())}export{m as a,C as b,S as c,l as d};
