(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [65],
  {
    '8rFm': function (e, t, l) {
      'use strict';
      l.r(t);
      var a = l('q1tI'),
        n = l.n(a),
        r = l('dEAq'),
        c = l('Zxc8'),
        o = l('JjdP'),
        m = n.a.memo(o['default']['tooltip-basic'].component),
        u = n.a.memo(o['default']['tooltip-placement'].component),
        d = n.a.memo(o['default']['tooltip-arrow-point-at-center'].component),
        i = n.a.memo(o['default']['tooltip-colorful'].component);
      t['default'] = (e) => (
        n.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)),
            );
        }, []),
        n.a.createElement(
          n.a.Fragment,
          null,
          n.a.createElement(
            n.a.Fragment,
            null,
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'p',
                null,
                '\u7b80\u5355\u7684\u6587\u5b57\u63d0\u793a\u6c14\u6ce1\u6846\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              n.a.createElement(
                'p',
                null,
                '\u9f20\u6807\u79fb\u5165\u5219\u663e\u793a\u63d0\u793a\uff0c\u79fb\u51fa\u6d88\u5931\uff0c\u6c14\u6ce1\u6d6e\u5c42\u4e0d\u627f\u8f7d\u590d\u6742\u6587\u672c\u548c\u64cd\u4f5c\u3002',
              ),
              n.a.createElement(
                'p',
                null,
                '\u53ef\u7528\u6765\u4ee3\u66ff\u7cfb\u7edf\u9ed8\u8ba4\u7684 ',
                n.a.createElement('code', null, 'title'),
                ' \u63d0\u793a\uff0c\u63d0\u4f9b\u4e00\u4e2a ',
                n.a.createElement(
                  'code',
                  null,
                  '\u6309\u94ae/\u6587\u5b57/\u64cd\u4f5c',
                ),
                ' \u7684\u6587\u6848\u89e3\u91ca\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              n.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['tooltip-basic'].previewerProps,
              n.a.createElement(m, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4f4d\u7f6e' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u4f4d\u7f6e', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f4d\u7f6e',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['tooltip-placement'].previewerProps,
              n.a.createElement(u, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u7bad\u5934\u6307\u5411' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7bad\u5934\u6307\u5411',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7bad\u5934\u6307\u5411',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['tooltip-arrow-point-at-center'].previewerProps,
              n.a.createElement(d, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u591a\u5f69\u6587\u5b57\u63d0\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u591a\u5f69\u6587\u5b57\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u591a\u5f69\u6587\u5b57\u63d0\u793a',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['tooltip-colorful'].previewerProps,
              n.a.createElement(i, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h2',
                { id: 'api' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement('td', null, '\u63d0\u793a\u6587\u5b57'),
                    n.a.createElement(
                      'td',
                      null,
                      'ReactNode | () => ReactNode',
                    ),
                    n.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: '\u5171\u540c\u7684-api' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5171\u540c\u7684-api',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5171\u540c\u7684 API',
              ),
              n.a.createElement(
                'p',
                null,
                '\u4ee5\u4e0b API \u4e3a Tooltip\u3001Popconfirm\u3001Popover \u5171\u4eab\u7684 API\u3002',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'align'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8be5\u503c\u5c06\u5408\u5e76\u5230 placement \u7684\u914d\u7f6e\u4e2d\uff0c\u8bbe\u7f6e\u53c2\u8003 ',
                      n.a.createElement(
                        r['Link'],
                        { to: 'https://github.com/react-component/tooltip' },
                        'rc-tooltip',
                      ),
                    ),
                    n.a.createElement('td', null, 'object'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'arrowPointAtCenter'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u7bad\u5934\u662f\u5426\u6307\u5411\u76ee\u6807\u5143\u7d20\u4e2d\u5fc3',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'autoAdjustOverflow'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6c14\u6ce1\u88ab\u906e\u6321\u65f6\u81ea\u52a8\u8c03\u6574\u4f4d\u7f6e',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'color'),
                    n.a.createElement('td', null, '\u80cc\u666f\u989c\u8272'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.3.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'defaultVisible'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u662f\u5426\u663e\u9690',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'destroyTooltipOnHide'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u540e\u662f\u5426\u9500\u6bc1 Tooltip\uff0c\u5f53 ',
                      n.a.createElement('code', null, 'keepParent'),
                      ' \u4e3a ',
                      n.a.createElement('code', null, 'false'),
                      ' \u65f6\u9500\u6bc1\u7236\u5bb9\u5668',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'boolean | ',
                      '{',
                      ' keepParent?: boolean ',
                      '}',
                    ),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'getPopupContainer'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6d6e\u5c42\u6e32\u67d3\u7236\u8282\u70b9\uff0c\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a',
                    ),
                    n.a.createElement('td', null, 'function(triggerNode)'),
                    n.a.createElement('td', null, '() => document.body'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'mouseEnterDelay'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9f20\u6807\u79fb\u5165\u540e\u5ef6\u65f6\u591a\u5c11\u624d\u663e\u793a Tooltip\uff0c\u5355\u4f4d\uff1a\u79d2',
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '0.1'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'mouseLeaveDelay'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9f20\u6807\u79fb\u51fa\u540e\u5ef6\u65f6\u591a\u5c11\u624d\u9690\u85cf Tooltip\uff0c\u5355\u4f4d\uff1a\u79d2',
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '0.1'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'overlayClassName'),
                    n.a.createElement('td', null, '\u5361\u7247\u7c7b\u540d'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'overlayStyle'),
                    n.a.createElement('td', null, '\u5361\u7247\u6837\u5f0f'),
                    n.a.createElement('td', null, 'object'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'overlayInnerStyle'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5361\u7247\u5185\u5bb9\u533a\u57df\u7684\u6837\u5f0f\u5bf9\u8c61',
                    ),
                    n.a.createElement('td', null, 'object'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'placement'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6c14\u6ce1\u6846\u4f4d\u7f6e\uff0c\u53ef\u9009 ',
                      n.a.createElement('code', null, 'top'),
                      ' ',
                      n.a.createElement('code', null, 'left'),
                      ' ',
                      n.a.createElement('code', null, 'right'),
                      ' ',
                      n.a.createElement('code', null, 'bottom'),
                      ' ',
                      n.a.createElement('code', null, 'topLeft'),
                      ' ',
                      n.a.createElement('code', null, 'topRight'),
                      ' ',
                      n.a.createElement('code', null, 'bottomLeft'),
                      ' ',
                      n.a.createElement('code', null, 'bottomRight'),
                      ' ',
                      n.a.createElement('code', null, 'leftTop'),
                      ' ',
                      n.a.createElement('code', null, 'leftBottom'),
                      ' ',
                      n.a.createElement('code', null, 'rightTop'),
                      ' ',
                      n.a.createElement('code', null, 'rightBottom'),
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'top'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'trigger'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u89e6\u53d1\u884c\u4e3a\uff0c\u53ef\u9009 ',
                      n.a.createElement('code', null, 'hover'),
                      ' | ',
                      n.a.createElement('code', null, 'focus'),
                      ' | ',
                      n.a.createElement('code', null, 'click'),
                      ' | ',
                      n.a.createElement('code', null, 'contextMenu'),
                      '\uff0c\u53ef\u4f7f\u7528\u6570\u7ec4\u8bbe\u7f6e\u591a\u4e2a\u89e6\u53d1\u884c\u4e3a',
                    ),
                    n.a.createElement('td', null, 'string | string[]'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'hover'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'visible'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u7528\u4e8e\u624b\u52a8\u63a7\u5236\u6d6e\u5c42\u663e\u9690',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'zIndex'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e Tooltip \u7684 ',
                      n.a.createElement('code', null, 'z-index'),
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onVisibleChange'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u663e\u793a\u9690\u85cf\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, '(visible) => void'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h2',
                { id: '\u6ce8\u610f' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u6ce8\u610f', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6ce8\u610f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u8bf7\u786e\u4fdd ',
                n.a.createElement('code', null, 'Tooltip'),
                ' \u7684\u5b50\u5143\u7d20\u80fd\u63a5\u53d7 ',
                n.a.createElement('code', null, 'onMouseEnter'),
                '\u3001',
                n.a.createElement('code', null, 'onMouseLeave'),
                '\u3001',
                n.a.createElement('code', null, 'onFocus'),
                '\u3001',
                n.a.createElement('code', null, 'onClick'),
                ' \u4e8b\u4ef6\u3002',
              ),
              n.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n   .demo {\n  overflow: auto;\n}\n .ant-btn {\n  margin-right: 8px;\n  margin-bottom: 8px;\n}\n .ant-btn-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  margin-bottom: 8px;\n}\n#tooltip-placement .ant-btn {\n  width: 70px;\n  text-align: center;\n  padding: 0;\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, l) {
      'use strict';
      var a = l('ogwx');
      l.d(t, 'a', function () {
        return a['b'];
      });
      l('VCU9');
    },
    RZMt: function (e, t, l) {},
    Zxc8: function (e, t, l) {
      'use strict';
      l.r(t);
      var a = l('q1tI'),
        n = l.n(a),
        r = l('k3GJ'),
        c = l('MZF8'),
        o = l('dEAq'),
        m = l('H1Ra');
      l('RZMt');
      function u(e, t) {
        return p(e) || s(e, t) || i(e, t) || d();
      }
      function d() {
        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 i(e, t) {
        if (e) {
          if ('string' === typeof e) return E(e, t);
          var l = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === l && e.constructor && (l = e.constructor.name),
            'Map' === l || 'Set' === l
              ? Array.from(e)
              : 'Arguments' === l ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
              ? E(e, t)
              : void 0
          );
        }
      }
      function E(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
        return a;
      }
      function s(e, t) {
        var l =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != l) {
          var a,
            n,
            r = [],
            c = !0,
            o = !1;
          try {
            for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
              if ((r.push(a.value), t && r.length === t)) break;
          } catch (m) {
            (o = !0), (n = m);
          } finally {
            try {
              c || null == l['return'] || l['return']();
            } finally {
              if (o) throw n;
            }
          }
          return r;
        }
      }
      function p(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var l,
          a =
            null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
        return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
      }
      var b = function (e) {
        var t,
          l,
          d,
          i = Object(a['useRef'])(),
          E = Object(a['useContext'])(o['context']),
          s = E.locale,
          p = Object(o['useLocaleProps'])(s, e),
          b = Object(o['useDemoUrl'])(p.identifier),
          h = p.demoUrl || b,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          g = 1 === Object.keys(p.sources).length,
          y = Object(o['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          k = Object(o['useRiddle'])(
            (
              null === (l = p.hideActions) || void 0 === l
                ? void 0
                : l.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          _ = Object(o['useMotions'])(p.motions || [], i.current),
          w = u(_, 2),
          x = w[0],
          N = w[1],
          A = Object(o['useCopy'])(),
          j = u(A, 2),
          C = j[0],
          I = j[1],
          O = Object(a['useState'])('_'),
          L = u(O, 2),
          S = L[0],
          P = L[1],
          T = Object(a['useState'])(f(S, p.sources[S])),
          R = u(T, 2),
          M = R[0],
          F = R[1],
          U = Object(a['useState'])(Boolean(p.defaultShowCode)),
          Z = u(U, 2),
          B = Z[0],
          D = Z[1],
          J = Object(a['useState'])(Math.random()),
          q = u(J, 2),
          H = q[0],
          $ = q[1],
          V = p.sources[S][M] || p.sources[S].content,
          z = Object(o['useTSPlaygroundUrl'])(s, V),
          G = Object(a['useRef'])(),
          X = Object(o['usePrefersColor'])(),
          K = u(X, 1),
          Q = K[0];
        function W(e) {
          P(e), F(f(e, p.sources[e]));
        }
        return (
          Object(a['useEffect'])(
            function () {
              $(Math.random());
            },
            [Q],
          ),
          n.a.createElement(
            'div',
            {
              style: p.style,
              className: [
                p.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: p.identifier,
              'data-debug': p.debug || void 0,
              'data-iframe': p.iframe || void 0,
            },
            p.iframe &&
              n.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            n.a.createElement(
              'div',
              {
                ref: i,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: p.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
                  background: p.background,
                },
              },
              p.iframe
                ? n.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(p.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: H,
                    src: h,
                    ref: G,
                  })
                : p.children,
            ),
            n.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                n.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(p.identifier) },
                  p.title,
                ),
              p.description &&
                n.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: p.description },
                }),
            ),
            n.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              y &&
                n.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: y,
                }),
              k &&
                n.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: k,
                }),
              p.motions &&
                n.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: N,
                  onClick: function () {
                    return x();
                  },
                }),
              p.iframe &&
                n.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (d = p.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                n.a.createElement(
                  o['Link'],
                  { target: '_blank', to: h },
                  n.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              n.a.createElement('span', null),
              n.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': I,
                onClick: function () {
                  return C(V);
                },
              }),
              'tsx' === M &&
                B &&
                n.a.createElement(
                  o['Link'],
                  { target: '_blank', to: z },
                  n.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              n.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  B ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return D(!B);
                },
              }),
            ),
            B &&
              n.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !g &&
                  n.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: S,
                      onChange: W,
                    },
                    Object.keys(p.sources).map(function (e) {
                      return n.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                n.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  n.a.createElement(m['a'], { code: V, lang: M, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
