"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get CertificateAddress () {
        return CertificateAddress;
    },
    get CertificateSubtitle () {
        return CertificateSubtitle;
    },
    get CertificateTitle () {
        return CertificateTitle;
    },
    get H1 () {
        return H1;
    },
    get H2 () {
        return H2;
    },
    get H3 () {
        return H3;
    },
    get P () {
        return P;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _renderer = require("@react-pdf/renderer");
const _Text = require("../pdf/Text");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const styles = _renderer.StyleSheet.create({
    h1: {
        textAlign: 'center',
        marginTop: 10,
        marginBottom: 10,
        fontSize: 15,
        fontWeight: 700
    },
    h2: {
        textAlign: 'center',
        fontSize: 14,
        marginBottom: 30,
        fontWeight: 700
    },
    h3: {
        marginBottom: 20,
        fontSize: 14
    },
    p: {
        fontSize: 12,
        fontWeight: 400,
        marginBottom: 15
    },
    certificateAddress: {
        textAlign: 'right',
        fontSize: 14,
        marginBottom: 13,
        fontWeight: 700
    },
    certificateTitle: {
        fontSize: 18,
        textAlign: 'right',
        marginBottom: 14
    },
    certificateSubtitle: {
        fontWeight: 700,
        fontSize: 18,
        textAlign: 'right',
        marginTop: '-10px',
        height: 40
    }
});
const H1 = ({ style, ...props })=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        bold: true,
        style: {
            ...styles.h1,
            ...style
        },
        ...props
    });
const H2 = ({ style, ...props })=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        bold: true,
        style: {
            ...styles.h2,
            ...style
        },
        ...props
    });
const H3 = ({ style, ...props })=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        bold: true,
        style: {
            ...styles.h3,
            ...style
        },
        ...props
    });
const P = ({ mt = 0, mb, bold = false, fontSize = 14, style = {}, ...props })=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        ...props,
        style: [
            styles.p,
            {
                marginTop: mt,
                marginBottom: mb,
                fontSize
            },
            style
        ],
        bold: bold
    });
const CertificateAddress = (props)=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        bold: true,
        style: styles.certificateAddress,
        ...props
    });
const CertificateTitle = (props)=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        bold: true,
        style: styles.certificateTitle,
        ...props
    });
const CertificateSubtitle = (props)=>/*#__PURE__*/ _react.default.createElement(_Text.Text, {
        style: styles.certificateSubtitle,
        ...props
    });

//# sourceMappingURL=Typography.js.map