"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var _chunkEEFPSSQKcjs = require('./chunk-EEFPSSQK.cjs');


var _chunkZUAO4DW3cjs = require('./chunk-ZUAO4DW3.cjs');


var _chunkMFKERIW4cjs = require('./chunk-MFKERIW4.cjs');


var _chunkRSHN4K6Ncjs = require('./chunk-RSHN4K6N.cjs');


var _chunkHPMPD35Vcjs = require('./chunk-HPMPD35V.cjs');


var _chunkOU6KZFOMcjs = require('./chunk-OU6KZFOM.cjs');


var _chunkFLOVW4OGcjs = require('./chunk-FLOVW4OG.cjs');


var _chunk7THTVLRTcjs = require('./chunk-7THTVLRT.cjs');



var _chunkMQYA7D6Fcjs = require('./chunk-MQYA7D6F.cjs');


var _chunk6VA4SAHQcjs = require('./chunk-6VA4SAHQ.cjs');


var _chunkN6HLM4KCcjs = require('./chunk-N6HLM4KC.cjs');


var _chunkQQDRBCBYcjs = require('./chunk-QQDRBCBY.cjs');

// src/components/typography/Article.tsx
var _styled = require('@emotion/styled'); var _styled2 = _interopRequireDefault(_styled);
var _jsxruntime = require('@emotion/react/jsx-runtime');
function Article({ defaultTypography, children }) {
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
    StyledArticle,
    {
      type: (defaultTypography == null ? void 0 : defaultTypography.type) || "Body",
      size: (defaultTypography == null ? void 0 : defaultTypography.size) || "Medium",
      children
    }
  );
}
var StyledArticle = _styled2.default.article`
  ${({ theme, type, size }) => _chunkN6HLM4KCcjs.getTypographyString.call(void 0, theme, type, size)}

  ${_chunkOU6KZFOMcjs.displaySelector.call(void 0, "h1")} {
    margin: 0;
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h1")} {
    margin: 0;
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h2")} {
    padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin: 0;
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h3")} {
    padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin: 0;
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h4")} {
    padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin: 0;
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h5")} {
    padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin: 0;
  }

  ${_chunkMQYA7D6Fcjs.headlineSelector.call(void 0, "h6")} {
    padding-top: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]};
    padding-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin: 0;
  }

  ${_chunk6VA4SAHQcjs.select.call(void 0, _chunk7THTVLRTcjs.StyledBody)} {
    margin-top: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
  }

  ${_chunk6VA4SAHQcjs.select.call(void 0, _chunkEEFPSSQKcjs.StyledContentTable)} {
    margin: ${_chunkZUAO4DW3cjs.Spacing.px["2xl"]} 0;
  }

  img,
  video {
    margin-top: ${_chunkZUAO4DW3cjs.Spacing.px.md};
    margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.md};
  }

  strong {
    font-weight: 700;
  }

  *:not(${_chunkMQYA7D6Fcjs.ALL_HEADLINE_SELECTORS},${_chunk6VA4SAHQcjs.select.call(void 0, _chunkFLOVW4OGcjs.StyledTitle)},${_chunk6VA4SAHQcjs.select.call(void 0, _chunkHPMPD35Vcjs.StyledCode)})
    > a {
    ${({ theme }) => _chunkN6HLM4KCcjs.getTypographyString.call(void 0, theme, "Label Strong", "Large")}
    font-size: inherit;
    color: ${({ theme }) => theme.link};
  }

  ul,
  ol {
    padding-left: ${_chunkZUAO4DW3cjs.Spacing.px.lg};
    margin-top: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px.xs};
    *:not(a) {
      color: ${({ theme }) => theme.text};
    }
  }

  li {
    ${({ theme }) => _chunkN6HLM4KCcjs.getTypographyString.call(void 0, theme, "Body", "Medium")}
    :not(:last-child) {
      margin-bottom: ${_chunkZUAO4DW3cjs.Spacing.px["3xs"]};
    }
  }

  code:not([class|="language"]) {
    ${({ theme }) => _chunkN6HLM4KCcjs.getTypographyString.call(void 0, theme, "Code", "Medium")}
    background: ${_chunkQQDRBCBYcjs.colors.grayBlue94};
    padding: ${_chunkZUAO4DW3cjs.Spacing.px["4xs"]} ${_chunkZUAO4DW3cjs.Spacing.px["2xs"]};
    margin: ${_chunkZUAO4DW3cjs.Spacing.px["4xs"]};
    border-radius: 4px;
  }

  pre[class|="language"] {
    ${_chunkRSHN4K6Ncjs.standardBorderRadius.call(void 0, 8)}
    width: 100%;
    padding: ${_chunkZUAO4DW3cjs.Spacing.px.md} ${_chunkZUAO4DW3cjs.Spacing.px.lg};
    margin: ${_chunkZUAO4DW3cjs.Spacing.px.md} 0;
  }

  // Must match specificity of prismjs to get proper line height!
  pre[class|="language"],
  code[class|="language"] {
    ${({ theme }) => _chunkN6HLM4KCcjs.getTypographyString.call(void 0, theme, "Code", "Small")}

    ${_chunkMFKERIW4cjs.overflowAutoWithoutScrollbars}
  }

  blockquote {
    margin: ${_chunkZUAO4DW3cjs.Spacing.px.xs} 0;
  }
`;




exports.Article = Article; exports.StyledArticle = StyledArticle;
