{"version":3,"sources":["node_modules/@arcgis/core/support/themeUtils.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nconst t = \"calcite-mode-\";\nfunction e() {\n return getComputedStyle(document.body).getPropertyValue(\"--esri-calcite-mode-name\").replaceAll(/\\s|'|\"/g, \"\");\n}\nfunction r() {\n return e().startsWith(\"dark\");\n}\nfunction c() {\n return `${t}${r() ? \"dark\" : \"light\"}`;\n}\nfunction n(t) {\n o(t), t.classList.add(c());\n}\nfunction o(e) {\n Array.from(e.classList).forEach(r => {\n r.startsWith(t) && e.classList.remove(r);\n });\n}\nexport { c as getCalciteThemeClass, r as isDarkTheme, n as setCalciteThemeClass };"],"mappings":"AAIA,IAAMA,EAAI,gBACV,SAASC,GAAI,CACX,OAAO,iBAAiB,SAAS,IAAI,EAAE,iBAAiB,0BAA0B,EAAE,WAAW,UAAW,EAAE,CAC9G,CACA,SAAS,GAAI,CACX,OAAOA,EAAE,EAAE,WAAW,MAAM,CAC9B,CACA,SAAS,GAAI,CACX,MAAO,GAAGD,CAAC,GAAG,EAAE,EAAI,OAAS,OAAO,EACtC,CACA,SAAS,EAAE,EAAG,CACZE,EAAE,CAAC,EAAG,EAAE,UAAU,IAAI,EAAE,CAAC,CAC3B,CACA,SAASA,EAAED,EAAG,CACZ,MAAM,KAAKA,EAAE,SAAS,EAAE,QAAQE,GAAK,CACnCA,EAAE,WAAWH,CAAC,GAAKC,EAAE,UAAU,OAAOE,CAAC,CACzC,CAAC,CACH","names":["t","e","o","r"],"x_google_ignoreList":[0]}