Static ReadonlyCSSThe badge's rules, for the console's stylesheet.
Static ReadonlyWORDSThe word beside the icon for each kind.
StaticbadgeDraws the icon for a classification.
a classification of a key
Optionalt: any
the page's translator (#539); the default when absent
the badge's markup, or '' where there is none
StaticlegendDraws the key a page shows once above its tables: what each of the four marks means, drawn with the marks themselves.
Optionalt: any
the page's translator (#539); the default when absent
the legend's markup
StaticsentenceReturns the sentence the icon's tooltip and accessible name carry.
a classification
Optionalt: any
the page's translator (#539); the default (English in node)
when absent, which is what the server-side callers —
common/pqc_support.ts, admin-ui/pqc_badge.ts — draw with
the sentence, or '' for none
Draws the post-quantum icon and its legend from a classification.
A static utility class; it holds no state and takes no dependencies.