Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
27 lines
913 B
TypeScript
27 lines
913 B
TypeScript
// Module ID: 9758
|
|
// Function ID: 9759
|
|
// Name: UIDensityConstants
|
|
// Dependencies: [1186, 2]
|
|
// Exports: resolveUIDensity
|
|
|
|
// Module 9758 (UIDensityConstants)
|
|
import preloaded_user_settings from "preloaded_user_settings" /* 1186 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/themes/UIDensityConstants.tsx");
|
|
|
|
export const RESPONSIVE_DENSITY_MEDIA_QUERY = "(min-width: 1024px) and (min-height: 820px)";
|
|
export const RESPONSIVE_DENSITY_FALLBACK = "cozy";
|
|
export const resolveUIDensity = function resolveUIDensity(arg0, arg1) {
|
|
if (preloaded_user_settings.UIDensity.RESPONSIVE === arg0) {
|
|
return arg1;
|
|
} else if (tmp(1186).UIDensity.COZY === arg0) {
|
|
return "cozy";
|
|
} else if (tmp(1186).UIDensity.DEFAULT === arg0) {
|
|
return "default";
|
|
} else if (tmp(1186).UIDensity.COMPACT === arg0) {
|
|
return "compact";
|
|
} else {
|
|
return "default";
|
|
}
|
|
};
|