()
| 1361 | }; |
| 1362 | |
| 1363 | let _getResolvedTheme = () => { |
| 1364 | let themeKey = String(formatOptions.JSON_FORMAT_THEME || 0); |
| 1365 | if (themeKey === '0' && _shouldUseAutoDarkTheme()) { |
| 1366 | themeKey = '3'; |
| 1367 | } |
| 1368 | return SKIN_THEME[themeKey] || SKIN_THEME[0]; |
| 1369 | }; |
| 1370 | |
| 1371 | let _bindDarkModePreferenceListener = () => { |
| 1372 | if (darkModePreferenceBound || !window.matchMedia) { |
no test coverage detected