{"version":3,"names":["setCssVariable","hostElement","name","value","browserSupportsShadowDom","window","ShadowRoot","componentHasShadowRoot","shadowRoot","componentHasShadowStyle","styleSheets","length","componentHasAdoptedShadowStyle","adoptedStyleSheets","baseStyleSheet","adoptedStyleSheetAmount","variableStyleSheet","variableStyleSheetsLength","CSSStyleSheet","insertRule","cssRules","addRule","style","setProperty","createSchemeStyleScheet","activeScheme","schemeStyleSheet","key","Object","entries","startsWith","getCssVariable","getComputedStyle","getPropertyValue"],"sources":["src/utils/css-variables.ts"],"sourcesContent":["/**\n * Sets a CSS variable for the given component.\n * If the current browser supports ShadowDOM, the variable will be appended to the