(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [9],
  {
    MUgR: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        c = a('Zxc8'),
        o = a('JjdP'),
        m = l.a.memo(o['default']['alert-basic'].component),
        d = l.a.memo(o['default']['alert-style'].component),
        i = l.a.memo(o['default']['alert-closable'].component),
        u = l.a.memo(o['default']['alert-description'].component),
        s = l.a.memo(o['default']['alert-icon'].component),
        E = l.a.memo(o['default']['alert-close-text'].component),
        f = l.a.memo(o['default']['alert-banner'].component),
        p = l.a.memo(o['default']['alert-loop-banner'].component),
        b = l.a.memo(o['default']['alert-smooth-closed'].component),
        h = l.a.memo(o['default']['alert-action'].component);
      t['default'] = (e) => (
        l.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            r['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        l.a.createElement(
          l.a.Fragment,
          null,
          l.a.createElement(
            l.a.Fragment,
            null,
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h1',
                { id: 'alert-\u8b66\u544a\u63d0\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#alert-\u8b66\u544a\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Alert \u8b66\u544a\u63d0\u793a',
              ),
              l.a.createElement(
                'p',
                null,
                '\u8b66\u544a\u63d0\u793a\uff0c\u5c55\u73b0\u9700\u8981\u5173\u6ce8\u7684\u4fe1\u606f\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  '\u5f53\u67d0\u4e2a\u9875\u9762\u9700\u8981\u5411\u7528\u6237\u663e\u793a\u8b66\u544a\u7684\u4fe1\u606f\u65f6\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u975e\u6d6e\u5c42\u7684\u9759\u6001\u5c55\u73b0\u5f62\u5f0f\uff0c\u59cb\u7ec8\u5c55\u73b0\uff0c\u4e0d\u4f1a\u81ea\u52a8\u6d88\u5931\uff0c\u7528\u6237\u53ef\u4ee5\u70b9\u51fb\u5173\u95ed\u3002',
                ),
              ),
              l.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              l.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-basic'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u56db\u79cd\u6837\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56db\u79cd\u6837\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56db\u79cd\u6837\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-style'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u53ef\u5173\u95ed\u7684\u8b66\u544a\u63d0\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u53ef\u5173\u95ed\u7684\u8b66\u544a\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53ef\u5173\u95ed\u7684\u8b66\u544a\u63d0\u793a',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-closable'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                {
                  id: '\u542b\u6709\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u542b\u6709\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u542b\u6709\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-description'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u56fe\u6807' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u56fe\u6807', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fe\u6807',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-icon'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u5173\u95ed' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u5173\u95ed',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u5173\u95ed',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-close-text'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u9876\u90e8\u516c\u544a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9876\u90e8\u516c\u544a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9876\u90e8\u516c\u544a',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-banner'].previewerProps,
              l.a.createElement(f, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u8f6e\u64ad\u7684\u516c\u544a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u8f6e\u64ad\u7684\u516c\u544a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u8f6e\u64ad\u7684\u516c\u544a',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-loop-banner'].previewerProps,
              l.a.createElement(p, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5e73\u6ed1\u5730\u5378\u8f7d' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5e73\u6ed1\u5730\u5378\u8f7d',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e73\u6ed1\u5730\u5378\u8f7d',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-smooth-closed'].previewerProps,
              l.a.createElement(b, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u64cd\u4f5c' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u64cd\u4f5c', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u64cd\u4f5c',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['alert-action'].previewerProps,
              l.a.createElement(h, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: 'api' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u53c2\u6570'),
                    l.a.createElement('th', null, '\u8bf4\u660e'),
                    l.a.createElement('th', null, '\u7c7b\u578b'),
                    l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    l.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'action'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u64cd\u4f5c\u9879',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null, '4.9.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'afterClose'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u52a8\u753b\u7ed3\u675f\u540e\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, '() => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'banner'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u7528\u4f5c\u9876\u90e8\u516c\u544a',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'closable'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u4e0d\u663e\u793a\u5173\u95ed\u6309\u94ae',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'closeText'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5173\u95ed\u6309\u94ae',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'description'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8b66\u544a\u63d0\u793a\u7684\u8f85\u52a9\u6027\u6587\u5b57\u4ecb\u7ecd',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'icon'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u56fe\u6807\uff0c',
                      l.a.createElement('code', null, 'showIcon'),
                      ' \u4e3a true \u65f6\u6709\u6548',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'message'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8b66\u544a\u63d0\u793a\u5185\u5bb9',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'showIcon'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u663e\u793a\u8f85\u52a9\u56fe\u6807',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement(
                      'td',
                      null,
                      'false\uff0c',
                      l.a.createElement('code', null, 'banner'),
                      ' \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a true',
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'type'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a\u8b66\u544a\u63d0\u793a\u7684\u6837\u5f0f\uff0c\u6709\u56db\u79cd\u9009\u62e9 ',
                      l.a.createElement('code', null, 'success'),
                      '\u3001',
                      l.a.createElement('code', null, 'info'),
                      '\u3001',
                      l.a.createElement('code', null, 'warning'),
                      '\u3001',
                      l.a.createElement('code', null, 'error'),
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'info'),
                      '\uff0c',
                      l.a.createElement('code', null, 'banner'),
                      ' \u6a21\u5f0f\u4e0b\u9ed8\u8ba4\u503c\u4e3a ',
                      l.a.createElement('code', null, 'warning'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onClose'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, '(e: MouseEvent) => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: 'alerterrorboundary' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#alerterrorboundary',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Alert.ErrorBoundary',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u53c2\u6570'),
                    l.a.createElement('th', null, '\u8bf4\u660e'),
                    l.a.createElement('th', null, '\u7c7b\u578b'),
                    l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    l.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'description'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u9519\u8bef\u5185\u5bb9\uff0c\u5982\u679c\u672a\u6307\u5b9a\u4f1a\u5c55\u793a\u62a5\u9519\u5806\u6808',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement(
                      'td',
                      null,
                      '{',
                      '{',
                      ' error stack ',
                      '}',
                      '}',
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'message'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u9519\u8bef\u6807\u9898\uff0c\u5982\u679c\u672a\u6307\u5b9a\u4f1a\u5c55\u793a\u539f\u751f\u62a5\u9519\u4fe1\u606f',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement(
                      'td',
                      null,
                      '{',
                      '{',
                      ' error ',
                      '}',
                      '}',
                    ),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  #alert-basic .ant-alert {\n  margin-bottom: 16px;\n}\n .ant-alert {\n  margin-bottom: 8px;\n}\n\n .ant-alert {\n  margin-bottom: 8px;\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, a) {
      'use strict';
      var n = a('ogwx');
      a.d(t, 'a', function () {
        return n['b'];
      });
      a('VCU9');
    },
    RZMt: function (e, t, a) {},
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('k3GJ'),
        c = a('MZF8'),
        o = a('dEAq'),
        m = a('H1Ra');
      a('RZMt');
      function d(e, t) {
        return f(e) || E(e, t) || u(e, t) || i();
      }
      function i() {
        throw new TypeError(
          'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
        );
      }
      function u(e, t) {
        if (e) {
          if ('string' === typeof e) return s(e, t);
          var a = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === a && e.constructor && (a = e.constructor.name),
            'Map' === a || 'Set' === a
              ? Array.from(e)
              : 'Arguments' === a ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
              ? s(e, t)
              : void 0
          );
        }
      }
      function s(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
        return n;
      }
      function E(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var n,
            l,
            r = [],
            c = !0,
            o = !1;
          try {
            for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
              if ((r.push(n.value), t && r.length === t)) break;
          } catch (m) {
            (o = !0), (l = m);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (o) throw l;
            }
          }
          return r;
        }
      }
      function f(e) {
        if (Array.isArray(e)) return e;
      }
      function p(e, t) {
        var a,
          n =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
      }
      var b = function (e) {
        var t,
          a,
          i,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          f = Object(o['useLocaleProps'])(E, e),
          b = Object(o['useDemoUrl'])(f.identifier),
          h = f.demoUrl || b,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          k = 1 === Object.keys(f.sources).length,
          w = Object(o['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          N = Object(o['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          y = Object(o['useMotions'])(f.motions || [], u.current),
          _ = d(y, 2),
          x = _[0],
          g = _[1],
          A = Object(o['useCopy'])(),
          I = d(A, 2),
          j = I[0],
          L = I[1],
          O = Object(n['useState'])('_'),
          C = d(O, 2),
          R = C[0],
          S = C[1],
          P = Object(n['useState'])(p(R, f.sources[R])),
          M = d(P, 2),
          T = M[0],
          U = M[1],
          Z = Object(n['useState'])(Boolean(f.defaultShowCode)),
          J = d(Z, 2),
          q = J[0],
          B = J[1],
          F = Object(n['useState'])(Math.random()),
          $ = d(F, 2),
          D = $[0],
          H = $[1],
          G = f.sources[R][T] || f.sources[R].content,
          X = Object(o['useTSPlaygroundUrl'])(E, G),
          K = Object(n['useRef'])(),
          V = Object(o['usePrefersColor'])(),
          z = d(V, 1),
          Q = z[0];
        function W(e) {
          S(e), U(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              H(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: f.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
                  background: f.background,
                },
              },
              f.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: D,
                    src: h,
                    ref: K,
                  })
                : f.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                l.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(f.identifier) },
                  f.title,
                ),
              f.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: f.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              w &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: w,
                }),
              N &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: N,
                }),
              f.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: g,
                  onClick: function () {
                    return x();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return H(Math.random());
                  },
                }),
              !(null === (i = f.hideActions) || void 0 === i
                ? void 0
                : i.includes('EXTERNAL')) &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: h },
                  l.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              l.a.createElement('span', null),
              l.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': L,
                onClick: function () {
                  return j(G);
                },
              }),
              'tsx' === T &&
                q &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: X },
                  l.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              l.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  q ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return B(!q);
                },
              }),
            ),
            q &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: R,
                      onChange: W,
                    },
                    Object.keys(f.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                l.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  l.a.createElement(m['a'], { code: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
