'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-7a477838.js');
const typographyMetaVariation_enum = require('./typography-meta-variation.enum-13ac3538.js');

const typographyMetaCss = ".sc-digi-typography-meta-h{--digi--typography-meta--font-weight--semibold:var(--digi--typography--preamble--font-weight--desktop);--digi--typography-meta--font-size:var(--digi--typography--preamble--font-size--desktop);--digi--typography-meta--font-family:var(--digi--global--typography--font-family--default);--digi--typography-meta--meta--font-weight:var(--digi--typography--body--font-weight--desktop);--digi--typography-meta--meta-secondary--font-weight:var(--digi--typography--body--font-weight--desktop)}.sc-digi-typography-meta-h .digi-typography-meta__meta.sc-digi-typography-meta,.sc-digi-typography-meta-h .digi-typography-meta__meta.sc-digi-typography-meta-s>*{font-weight:var(--digi--typography-meta--meta--font-weight)}.sc-digi-typography-meta-h .digi-typography-meta__meta-secondary.sc-digi-typography-meta,.sc-digi-typography-meta-h .digi-typography-meta__meta-secondary.sc-digi-typography-meta-s>*{font-weight:var(--digi--typography-meta--meta-secondary--font-weight)}.sc-digi-typography-meta-h .digi-typography-meta.sc-digi-typography-meta{font-size:var(--digi--typography-meta--font-size);font-family:var(--digi--typography-meta--font-family)}.sc-digi-typography-meta-h .digi-typography-meta--variation-primary.sc-digi-typography-meta .digi-typography-meta__meta.sc-digi-typography-meta{--digi--typography-meta--meta--font-weight:var(--digi--typography-meta--font-weight--semibold)}.sc-digi-typography-meta-h .digi-typography-meta--variation-secondary.sc-digi-typography-meta .digi-typography-meta__meta-secondary.sc-digi-typography-meta{--digi--typography-meta--meta-secondary--font-weight:var(--digi--typography-meta--font-weight--semibold)}";
const DigiTypographyMetaStyle0 = typographyMetaCss;

const TypographyMeta = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.afVariation = typographyMetaVariation_enum.TypographyMetaVariation.PRIMARY;
    }
    get cssModifiers() {
        return {
            [`digi-typography-meta--variation-${this.afVariation}`]: !!this.afVariation
        };
    }
    render() {
        return (index.h("div", { key: 'd0083987114c463ae4d508658c1f4630a3b7ea23', class: Object.assign({ 'digi-typography-meta': true }, this.cssModifiers) }, index.h("div", { key: '734a91732d0586e4a58cd75dc8a095fdaf4e4948', class: "digi-typography-meta__meta" }, index.h("slot", { key: 'ca615cbe1902b3e0f6470273790a0e859c653dfc' })), index.h("div", { key: '0ec88f5c1a77b8a247b8c004141edadd7cc47988', class: "digi-typography-meta__meta-secondary" }, index.h("slot", { key: 'fb0a412f4c909473f23f980aa5399628c2b02da2', name: "secondary" }))));
    }
};
TypographyMeta.style = DigiTypographyMetaStyle0;

exports.digi_typography_meta = TypographyMeta;
