(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [29],
  {
    MZF8: function (e, t, n) {
      'use strict';
      var a = n('ogwx');
      n.d(t, 'a', function () {
        return a['b'];
      });
      n('VCU9');
    },
    RZMt: function (e, t, n) {},
    YUrG: function (e, t, n) {
      'use strict';
      n.r(t);
      var a = n('q1tI'),
        l = n.n(a),
        r = n('dEAq'),
        c = n('Zxc8'),
        o = n('JjdP'),
        d = l.a.memo(o['default']['dropdown-basic'].component),
        m = l.a.memo(o['default']['dropdown-placement'].component),
        u = l.a.memo(o['default']['dropdown-arrow'].component),
        i = l.a.memo(o['default']['dropdown-item'].component),
        E = l.a.memo(o['default']['dropdown-trigger'].component),
        s = l.a.memo(o['default']['dropdown-event'].component),
        p = l.a.memo(o['default']['dropdown-dropdownbutton'].component),
        f = l.a.memo(o['default']['dropdown-submenu'].component),
        b = l.a.memo(o['default']['dropdown-overlayvisible'].component),
        h = l.a.memo(o['default']['dropdown-contextmenu'].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: 'dropdown-\u4e0b\u62c9\u83dc\u5355' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#dropdown-\u4e0b\u62c9\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Dropdown \u4e0b\u62c9\u83dc\u5355',
              ),
              l.a.createElement(
                'p',
                null,
                '\u5411\u4e0b\u5f39\u51fa\u7684\u5217\u8868\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(
                'p',
                null,
                '\u5f53\u9875\u9762\u4e0a\u7684\u64cd\u4f5c\u547d\u4ee4\u8fc7\u591a\u65f6\uff0c\u7528\u6b64\u7ec4\u4ef6\u53ef\u4ee5\u6536\u7eb3\u64cd\u4f5c\u5143\u7d20\u3002\u70b9\u51fb\u6216\u79fb\u5165\u89e6\u70b9\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\u3002\u53ef\u5728\u5217\u8868\u4e2d\u8fdb\u884c\u9009\u62e9\uff0c\u5e76\u6267\u884c\u76f8\u5e94\u7684\u547d\u4ee4\u3002',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  '\u7528\u4e8e\u6536\u7f57\u4e00\u7ec4\u547d\u4ee4\u64cd\u4f5c\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  'Select \u7528\u4e8e\u9009\u62e9\uff0c\u800c Dropdown \u662f\u547d\u4ee4\u96c6\u5408\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']['dropdown-basic'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5f39\u51fa\u4f4d\u7f6e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5f39\u51fa\u4f4d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5f39\u51fa\u4f4d\u7f6e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-placement'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u7bad\u5934' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u7bad\u5934', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7bad\u5934',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-arrow'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5176\u4ed6\u5143\u7d20' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5176\u4ed6\u5143\u7d20',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5176\u4ed6\u5143\u7d20',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-item'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u89e6\u53d1\u65b9\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u89e6\u53d1\u65b9\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u89e6\u53d1\u65b9\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-trigger'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u89e6\u53d1\u4e8b\u4ef6' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u89e6\u53d1\u4e8b\u4ef6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u89e6\u53d1\u4e8b\u4ef6',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-event'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5e26\u4e0b\u62c9\u6846\u7684\u6309\u94ae' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5e26\u4e0b\u62c9\u6846\u7684\u6309\u94ae',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u4e0b\u62c9\u6846\u7684\u6309\u94ae',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-dropdownbutton'].previewerProps,
              l.a.createElement(p, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u591a\u7ea7\u83dc\u5355' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u591a\u7ea7\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u591a\u7ea7\u83dc\u5355',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-submenu'].previewerProps,
              l.a.createElement(f, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u83dc\u5355\u9690\u85cf\u65b9\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u83dc\u5355\u9690\u85cf\u65b9\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u83dc\u5355\u9690\u85cf\u65b9\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-overlayvisible'].previewerProps,
              l.a.createElement(b, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u53f3\u952e\u83dc\u5355' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u53f3\u952e\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53f3\u952e\u83dc\u5355',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['dropdown-contextmenu'].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('p', null, '\u5c5e\u6027\u5982\u4e0b'),
              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, 'arrow'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u4e0b\u62c9\u6846\u7bad\u5934\u662f\u5426\u663e\u793a',
                    ),
                    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, 'disabled'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u662f\u5426\u7981\u7528',
                    ),
                    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, 'destroyPopupOnHide'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u540e\u662f\u5426\u9500\u6bc1 Dropdown',
                    ),
                    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, 'getPopupContainer'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002',
                      l.a.createElement(
                        r['Link'],
                        {
                          to: 'https://codepen.io/afc163/pen/zEjNOy?editors=0010',
                        },
                        '\u793a\u4f8b',
                      ),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '(triggerNode: HTMLElement) => HTMLElement',
                    ),
                    l.a.createElement('td', null, '() => document.body'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'overlay'),
                    l.a.createElement('td', null, '\u83dc\u5355'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        { to: '/components/menu' },
                        'Menu',
                      ),
                      ' | () => Menu',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'overlayClassName'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u4e0b\u62c9\u6839\u5143\u7d20\u7684\u7c7b\u540d\u79f0',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'overlayStyle'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u4e0b\u62c9\u6839\u5143\u7d20\u7684\u6837\u5f0f',
                    ),
                    l.a.createElement('td', null, 'CSSProperties'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'placement'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a',
                      l.a.createElement('code', null, 'bottomLeft'),
                      ' ',
                      l.a.createElement('code', null, 'bottomCenter'),
                      ' ',
                      l.a.createElement('code', null, 'bottomRight'),
                      ' ',
                      l.a.createElement('code', null, 'topLeft'),
                      ' ',
                      l.a.createElement('code', null, 'topCenter'),
                      ' ',
                      l.a.createElement('code', null, 'topRight'),
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'bottomLeft'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'trigger'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a, \u79fb\u52a8\u7aef\u4e0d\u652f\u6301 hover',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'Array<',
                      l.a.createElement('code', null, 'click'),
                      '|',
                      l.a.createElement('code', null, 'hover'),
                      '|',
                      l.a.createElement('code', null, 'contextMenu'),
                      '>',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '[',
                      l.a.createElement('code', null, 'hover'),
                      ']',
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'visible'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u662f\u5426\u663e\u793a',
                    ),
                    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, 'onVisibleChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a ',
                      l.a.createElement('code', null, 'visible'),
                    ),
                    l.a.createElement('td', null, '(visible: boolean) => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                l.a.createElement('code', null, 'overlay'),
                ' \u83dc\u5355\u4f7f\u7528 ',
                l.a.createElement(
                  r['Link'],
                  { to: '/components/menu/' },
                  'Menu',
                ),
                '\uff0c\u8fd8\u5305\u62ec\u83dc\u5355\u9879 ',
                l.a.createElement('code', null, 'Menu.Item'),
                '\uff0c\u5206\u5272\u7ebf ',
                l.a.createElement('code', null, 'Menu.Divider'),
                '\u3002',
              ),
              l.a.createElement(
                'blockquote',
                null,
                l.a.createElement(
                  'p',
                  null,
                  '\u6ce8\u610f\uff1a Menu.Item \u5fc5\u987b\u8bbe\u7f6e\u552f\u4e00\u7684 key \u5c5e\u6027\u3002',
                ),
                l.a.createElement(
                  'p',
                  null,
                  'Dropdown \u4e0b\u7684 Menu \u9ed8\u8ba4\u4e0d\u53ef\u9009\u4e2d\u3002\u5982\u679c\u9700\u8981\u83dc\u5355\u53ef\u9009\u4e2d\uff0c\u53ef\u4ee5\u6307\u5b9a ',
                  l.a.createElement('code', null, '<Menu selectable>'),
                  '\u3002',
                ),
              ),
              l.a.createElement(
                'h3',
                { id: 'dropdownbutton' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#dropdownbutton',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Dropdown.Button',
              ),
              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, 'buttonsRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5de6\u53f3\u4e24\u4e2a\u6309\u94ae',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '(buttons: ReactNode[]) => ReactNode[]',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'disabled'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u662f\u5426\u7981\u7528',
                    ),
                    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, 'icon'),
                    l.a.createElement('td', null, '\u53f3\u4fa7\u7684 icon'),
                    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, 'overlay'),
                    l.a.createElement('td', null, '\u83dc\u5355'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        { to: '/components/menu/' },
                        'Menu',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'placement'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u5f39\u51fa\u4f4d\u7f6e\uff1a',
                      l.a.createElement('code', null, 'bottomLeft'),
                      ' ',
                      l.a.createElement('code', null, 'bottomCenter'),
                      ' ',
                      l.a.createElement('code', null, 'bottomRight'),
                      ' ',
                      l.a.createElement('code', null, 'topLeft'),
                      ' ',
                      l.a.createElement('code', null, 'topCenter'),
                      ' ',
                      l.a.createElement('code', null, 'topRight'),
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'bottomLeft'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'size'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6309\u94ae\u5927\u5c0f\uff0c\u548c ',
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'Button',
                      ),
                      ' \u4e00\u81f4',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'default'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'trigger'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u89e6\u53d1\u4e0b\u62c9\u7684\u884c\u4e3a',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'Array<',
                      l.a.createElement('code', null, 'click'),
                      '|',
                      l.a.createElement('code', null, 'hover'),
                      '|',
                      l.a.createElement('code', null, 'contextMenu'),
                      '>',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '[',
                      l.a.createElement('code', null, 'hover'),
                      ']',
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'type'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6309\u94ae\u7c7b\u578b\uff0c\u548c ',
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'Button',
                      ),
                      ' \u4e00\u81f4',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'default'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'visible'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u662f\u5426\u663e\u793a',
                    ),
                    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, 'onClick'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u5de6\u4fa7\u6309\u94ae\u7684\u56de\u8c03\uff0c\u548c ',
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'Button',
                      ),
                      ' \u4e00\u81f4',
                    ),
                    l.a.createElement('td', null, '(event) => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onVisibleChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u663e\u793a\u72b6\u6001\u6539\u53d8\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a ',
                      l.a.createElement('code', null, 'visible'),
                    ),
                    l.a.createElement('td', null, '(visible: boolean) => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-dropdown-context-menu {\n  color: #777;\n  background: #f7f7f7;\n}\n[data-theme="dark"] .site-dropdown-context-menu {\n    background: #141414;\n    color: rgba(255,255,255,.65);\n  }\n',
                },
              }),
            ),
          ),
        )
      );
    },
    Zxc8: function (e, t, n) {
      'use strict';
      n.r(t);
      var a = n('q1tI'),
        l = n.n(a),
        r = n('k3GJ'),
        c = n('MZF8'),
        o = n('dEAq'),
        d = n('H1Ra');
      n('RZMt');
      function m(e, t) {
        return p(e) || s(e, t) || i(e, t) || u();
      }
      function u() {
        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 n = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === n && e.constructor && (n = e.constructor.name),
            'Map' === n || 'Set' === n
              ? Array.from(e)
              : 'Arguments' === n ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
              ? E(e, t)
              : void 0
          );
        }
      }
      function E(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
        return a;
      }
      function s(e, t) {
        var n =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != n) {
          var a,
            l,
            r = [],
            c = !0,
            o = !1;
          try {
            for (n = n.call(e); !(c = (a = n.next()).done); c = !0)
              if ((r.push(a.value), t && r.length === t)) break;
          } catch (d) {
            (o = !0), (l = d);
          } finally {
            try {
              c || null == n['return'] || n['return']();
            } finally {
              if (o) throw l;
            }
          }
          return r;
        }
      }
      function p(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var n,
          a =
            null === (n = e.match(/\.(\w+)$/)) || void 0 === n ? void 0 : n[1];
        return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
      }
      var b = function (e) {
        var t,
          n,
          u,
          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),
          w = 1 === Object.keys(p.sources).length,
          k = Object(o['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          y = Object(o['useRiddle'])(
            (
              null === (n = p.hideActions) || void 0 === n
                ? void 0
                : n.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          g = Object(o['useMotions'])(p.motions || [], i.current),
          N = m(g, 2),
          _ = N[0],
          x = N[1],
          A = Object(o['useCopy'])(),
          L = m(A, 2),
          I = L[0],
          C = L[1],
          j = Object(a['useState'])('_'),
          O = m(j, 2),
          M = O[0],
          S = O[1],
          P = Object(a['useState'])(f(M, p.sources[M])),
          R = m(P, 2),
          T = R[0],
          D = R[1],
          B = Object(a['useState'])(Boolean(p.defaultShowCode)),
          U = m(B, 2),
          H = U[0],
          Z = U[1],
          q = Object(a['useState'])(Math.random()),
          J = m(q, 2),
          F = J[0],
          $ = J[1],
          G = p.sources[M][T] || p.sources[M].content,
          V = Object(o['useTSPlaygroundUrl'])(s, G),
          z = Object(a['useRef'])(),
          X = Object(o['usePrefersColor'])(),
          K = m(X, 1),
          Y = K[0];
        function Q(e) {
          S(e), D(f(e, p.sources[e]));
        }
        return (
          Object(a['useEffect'])(
            function () {
              $(Math.random());
            },
            [Y],
          ),
          l.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 &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.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
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(p.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: F,
                    src: h,
                    ref: z,
                  })
                : p.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                l.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(p.identifier) },
                  p.title,
                ),
              p.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: p.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              k &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: k,
                }),
              y &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: y,
                }),
              p.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return _();
                  },
                }),
              p.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (u = p.hideActions) || void 0 === u
                ? void 0
                : u.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': C,
                onClick: function () {
                  return I(G);
                },
              }),
              'tsx' === T &&
                H &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: V },
                  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(
                  H ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return Z(!H);
                },
              }),
            ),
            H &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !w &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: M,
                      onChange: Q,
                    },
                    Object.keys(p.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                l.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  l.a.createElement(d['a'], { code: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
