(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [41],
  {
    '6noq': 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('H1Ra'),
        m = a('JjdP'),
        i = l.a.memo(m['default']['message-info'].component),
        u = l.a.memo(m['default']['message-other'].component),
        d = l.a.memo(m['default']['message-duration'].component),
        s = l.a.memo(m['default']['message-loading'].component),
        E = l.a.memo(m['default']['message-thenable'].component),
        f = l.a.memo(m['default']['message-update'].component),
        p = l.a.memo(m['default']['message-custom-style'].component),
        g = l.a.memo(m['default']['message-hooks'].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: 'message-\u5168\u5c40\u63d0\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#message-\u5168\u5c40\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Message \u5168\u5c40\u63d0\u793a',
              ),
              l.a.createElement(
                'p',
                null,
                '\u5168\u5c40\u5c55\u793a\u64cd\u4f5c\u53cd\u9988\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,
                  '\u53ef\u63d0\u4f9b\u6210\u529f\u3001\u8b66\u544a\u548c\u9519\u8bef\u7b49\u53cd\u9988\u4fe1\u606f\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u9876\u90e8\u5c45\u4e2d\u663e\u793a\u5e76\u81ea\u52a8\u6d88\u5931\uff0c\u662f\u4e00\u79cd\u4e0d\u6253\u65ad\u7528\u6237\u64cd\u4f5c\u7684\u8f7b\u91cf\u7ea7\u63d0\u793a\u65b9\u5f0f\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: '\u666e\u901a\u63d0\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u666e\u901a\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u666e\u901a\u63d0\u793a',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-info'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5176\u4ed6\u63d0\u793a\u7c7b\u578b' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5176\u4ed6\u63d0\u793a\u7c7b\u578b',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5176\u4ed6\u63d0\u793a\u7c7b\u578b',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-other'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u4fee\u6539\u5ef6\u65f6' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4fee\u6539\u5ef6\u65f6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4fee\u6539\u5ef6\u65f6',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-duration'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u52a0\u8f7d\u4e2d' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u52a0\u8f7d\u4e2d',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u52a0\u8f7d\u4e2d',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-loading'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: 'promise-\u63a5\u53e3' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#promise-\u63a5\u53e3',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Promise \u63a5\u53e3',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-thenable'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u66f4\u65b0\u6d88\u606f\u5185\u5bb9' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u66f4\u65b0\u6d88\u606f\u5185\u5bb9',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u66f4\u65b0\u6d88\u606f\u5185\u5bb9',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-update'].previewerProps,
              l.a.createElement(f, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u6837\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u6837\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u6837\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-custom-style'].previewerProps,
              l.a.createElement(p, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u901a\u8fc7-hooks-\u83b7\u53d6\u4e0a\u4e0b\u6587450' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u901a\u8fc7-hooks-\u83b7\u53d6\u4e0a\u4e0b\u6587450',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u901a\u8fc7 Hooks \u83b7\u53d6\u4e0a\u4e0b\u6587\uff084.5.0+\uff09',
              ),
            ),
            l.a.createElement(
              c['default'],
              m['default']['message-hooks'].previewerProps,
              l.a.createElement(g, 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,
                '\u7ec4\u4ef6\u63d0\u4f9b\u4e86\u4e00\u4e9b\u9759\u6001\u65b9\u6cd5\uff0c\u4f7f\u7528\u65b9\u5f0f\u548c\u53c2\u6570\u5982\u4e0b\uff1a',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.success(content, [duration], onClose)',
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.error(content, [duration], onClose)',
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.info(content, [duration], onClose)',
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.warning(content, [duration], onClose)',
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.warn(content, [duration], onClose)',
                  ),
                  ' // alias of warning',
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message.loading(content, [duration], onClose)',
                  ),
                ),
              ),
              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(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'content'),
                    l.a.createElement('td', null, '\u63d0\u793a\u5185\u5bb9'),
                    l.a.createElement('td', null, 'ReactNode | config'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'duration'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u52a8\u5173\u95ed\u7684\u5ef6\u65f6\uff0c\u5355\u4f4d\u79d2\u3002\u8bbe\u4e3a 0 \u65f6\u4e0d\u81ea\u52a8\u5173\u95ed',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '3'),
                  ),
                  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, 'function'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                '\u7ec4\u4ef6\u540c\u65f6\u63d0\u4f9b promise \u63a5\u53e3\u3002',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message[level](content, [duration]).then(afterClose)',
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'code',
                    null,
                    'message[level](content, [duration], onClose).then(afterClose)',
                  ),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                '\u5176\u4e2d ',
                l.a.createElement('code', null, 'message[level]'),
                ' \u662f\u7ec4\u4ef6\u5df2\u7ecf\u63d0\u4f9b\u7684\u9759\u6001\u65b9\u6cd5\u3002',
                l.a.createElement('code', null, 'then'),
                ' \u63a5\u53e3\u8fd4\u56de\u503c\u662f Promise\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u4e5f\u53ef\u4ee5\u5bf9\u8c61\u7684\u5f62\u5f0f\u4f20\u9012\u53c2\u6570\uff1a',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.open(config)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.success(config)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.error(config)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.info(config)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.warning(config)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.warn(config)'),
                  ' // alias of warning',
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.loading(config)'),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                l.a.createElement('code', null, 'config'),
                ' \u5bf9\u8c61\u5c5e\u6027\u5982\u4e0b\uff1a',
              ),
              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(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'className'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49 CSS class',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'content'),
                    l.a.createElement('td', null, '\u63d0\u793a\u5185\u5bb9'),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'duration'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u52a8\u5173\u95ed\u7684\u5ef6\u65f6\uff0c\u5355\u4f4d\u79d2\u3002\u8bbe\u4e3a 0 \u65f6\u4e0d\u81ea\u52a8\u5173\u95ed',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '3'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'icon'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u56fe\u6807',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'key'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5f53\u524d\u63d0\u793a\u7684\u552f\u4e00\u6807\u5fd7',
                    ),
                    l.a.createElement('td', null, 'string | number'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'style'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5185\u8054\u6837\u5f0f',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        {
                          to: 'https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e434515761b36830c3e58a970abf5186f005adac/types/react/index.d.ts#L794',
                        },
                        'CSSProperties',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onClick'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb message \u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, 'function'),
                    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, 'function'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: '\u5168\u5c40\u65b9\u6cd5' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5168\u5c40\u65b9\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5168\u5c40\u65b9\u6cd5',
              ),
              l.a.createElement(
                'p',
                null,
                '\u8fd8\u63d0\u4f9b\u4e86\u5168\u5c40\u914d\u7f6e\u548c\u5168\u5c40\u9500\u6bc1\u65b9\u6cd5\uff1a',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.config(options)'),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('code', null, 'message.destroy()'),
                ),
              ),
              l.a.createElement(
                'blockquote',
                null,
                l.a.createElement(
                  'p',
                  null,
                  '\u4e5f\u53ef\u901a\u8fc7 ',
                  l.a.createElement('code', null, 'message.destroy(key)'),
                  ' \u6765\u5173\u95ed\u4e00\u6761\u6d88\u606f\u3002',
                ),
              ),
              l.a.createElement(
                'h4',
                { id: 'messageconfig' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#messageconfig', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'message.config',
              ),
              l.a.createElement(
                'blockquote',
                null,
                l.a.createElement(
                  'p',
                  null,
                  '\u5f53\u4f60\u4f7f\u7528 ',
                  l.a.createElement('code', null, 'ConfigProvider'),
                  ' \u8fdb\u884c\u5168\u5c40\u5316\u914d\u7f6e\u65f6\uff0c\u7cfb\u7edf\u4f1a\u9ed8\u8ba4\u81ea\u52a8\u5f00\u542f RTL \u6a21\u5f0f\u3002(4.3.0+)',
                ),
                l.a.createElement(
                  'p',
                  null,
                  '\u5f53\u4f60\u60f3\u5355\u72ec\u4f7f\u7528\uff0c\u53ef\u901a\u8fc7\u5982\u4e0b\u8bbe\u7f6e\u5f00\u542f RTL \u6a21\u5f0f\u3002',
                ),
              ),
              l.a.createElement(o['a'], {
                code: "message.config({\n  top: 100,\n  duration: 2,\n  maxCount: 3,\n  rtl: true,\n  prefixCls: 'my-message',\n});",
                lang: 'bash',
              }),
              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, 'duration'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u81ea\u52a8\u5173\u95ed\u5ef6\u65f6\uff0c\u5355\u4f4d\u79d2',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '3'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'getContainer'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u914d\u7f6e\u6e32\u67d3\u8282\u70b9\u7684\u8f93\u51fa\u4f4d\u7f6e',
                    ),
                    l.a.createElement('td', null, '() => HTMLElement'),
                    l.a.createElement('td', null, '() => document.body'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'maxCount'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6700\u5927\u663e\u793a\u6570, \u8d85\u8fc7\u9650\u5236\u65f6\uff0c\u6700\u65e9\u7684\u6d88\u606f\u4f1a\u88ab\u81ea\u52a8\u5173\u95ed',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'prefixCls'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6d88\u606f\u8282\u70b9\u7684 className \u524d\u7f00',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'ant-message'),
                    ),
                    l.a.createElement('td', null, '4.5.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'rtl'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5f00\u542f RTL \u6a21\u5f0f',
                    ),
                    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, 'top'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6d88\u606f\u8ddd\u79bb\u9876\u90e8\u7684\u4f4d\u7f6e',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '8'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h2',
                { id: 'faq' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'FAQ',
              ),
              l.a.createElement(
                'h3',
                {
                  id: '\u4e3a\u4ec0\u4e48-message-\u4e0d\u80fd\u83b7\u53d6-contextredux-\u7684\u5185\u5bb9\u548c-configprovider-\u7684-localeprefixcls-\u914d\u7f6e',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e3a\u4ec0\u4e48-message-\u4e0d\u80fd\u83b7\u53d6-contextredux-\u7684\u5185\u5bb9\u548c-configprovider-\u7684-localeprefixcls-\u914d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e3a\u4ec0\u4e48 message \u4e0d\u80fd\u83b7\u53d6 context\u3001redux \u7684\u5185\u5bb9\u548c ConfigProvider \u7684 ',
                l.a.createElement('code', null, 'locale/prefixCls'),
                ' \u914d\u7f6e\uff1f',
              ),
              l.a.createElement(
                'p',
                null,
                '\u76f4\u63a5\u8c03\u7528 message \u65b9\u6cd5\uff0cantd \u4f1a\u901a\u8fc7 ',
                l.a.createElement('code', null, 'ReactDOM.render'),
                ' \u52a8\u6001\u521b\u5efa\u65b0\u7684 React \u5b9e\u4f53\u3002\u5176 context \u4e0e\u5f53\u524d\u4ee3\u7801\u6240\u5728 context \u5e76\u4e0d\u76f8\u540c\uff0c\u56e0\u800c\u65e0\u6cd5\u83b7\u53d6 context \u4fe1\u606f\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u5f53\u4f60\u9700\u8981 context \u4fe1\u606f\uff08\u4f8b\u5982 ConfigProvider \u914d\u7f6e\u7684\u5185\u5bb9\uff09\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7 ',
                l.a.createElement('code', null, 'message.useMessage'),
                ' \u65b9\u6cd5\u4f1a\u8fd4\u56de ',
                l.a.createElement('code', null, 'api'),
                ' \u5b9e\u4f53\u4ee5\u53ca ',
                l.a.createElement('code', null, 'contextHolder'),
                ' \u8282\u70b9\u3002\u5c06\u5176\u63d2\u5165\u5230\u4f60\u9700\u8981\u83b7\u53d6 context \u4f4d\u7f6e\u5373\u53ef\uff1a',
              ),
              l.a.createElement(o['a'], {
                code: 'const [api, contextHolder] = message.useMessage();\n\nreturn (\n  <Context1.Provider value="Ant">\n    {/* contextHolder \u5728 Context1 \u5185\uff0c\u5b83\u53ef\u4ee5\u83b7\u5f97 Context1 \u7684 context */}\n    {contextHolder}\n    <Context2.Provider value="Design">\n      {/* contextHolder \u5728 Context2 \u5916\uff0c\u56e0\u800c\u4e0d\u4f1a\u83b7\u5f97 Context2 \u7684 context */}\n    </Context2.Provider>\n  </Context1.Provider>\n);',
                lang: 'bash',
              }),
              l.a.createElement(
                'p',
                null,
                '**\u5f02\u540c\uff1a**\u901a\u8fc7 hooks \u521b\u5efa\u7684 ',
                l.a.createElement('code', null, 'contextHolder'),
                ' \u5fc5\u987b\u63d2\u5165\u5230\u5b50\u5143\u7d20\u8282\u70b9\u4e2d\u624d\u4f1a\u751f\u6548\uff0c\u5f53\u4f60\u4e0d\u9700\u8981\u4e0a\u4e0b\u6587\u4fe1\u606f\u65f6\u8bf7\u76f4\u63a5\u8c03\u7528\u3002',
              ),
              l.a.createElement(
                'h3',
                {
                  id: '\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e-prefixcls-',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e-prefixcls-',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e prefixCls \uff1f',
              ),
              l.a.createElement(
                'p',
                null,
                '\u4f60\u53ef\u4ee5\u901a\u8fc7 ',
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '/components/config-provider/#ConfigProvider.config()-4.13.0+',
                  },
                  l.a.createElement('code', null, 'ConfigProvider.config'),
                ),
                ' \u8fdb\u884c\u8bbe\u7f6e\u3002',
              ),
            ),
          ),
        )
      );
    },
    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 i(e, t) {
        return f(e) || E(e, t) || d(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 d(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 g = function (e) {
        var t,
          a,
          u,
          d = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          f = Object(o['useLocaleProps'])(E, e),
          g = Object(o['useDemoUrl'])(f.identifier),
          h = f.demoUrl || g,
          b =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          v = 1 === Object.keys(f.sources).length,
          k = Object(o['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          x = Object(o['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          y = Object(o['useMotions'])(f.motions || [], d.current),
          C = i(y, 2),
          w = C[0],
          N = C[1],
          _ = Object(o['useCopy'])(),
          A = i(_, 2),
          L = A[0],
          I = A[1],
          P = Object(n['useState'])('_'),
          j = i(P, 2),
          O = j[0],
          S = j[1],
          R = Object(n['useState'])(p(O, f.sources[O])),
          M = i(R, 2),
          T = M[0],
          H = M[1],
          q = Object(n['useState'])(Boolean(f.defaultShowCode)),
          D = i(q, 2),
          U = D[0],
          Z = D[1],
          F = Object(n['useState'])(Math.random()),
          J = i(F, 2),
          $ = J[0],
          B = J[1],
          G = f.sources[O][T] || f.sources[O].content,
          X = Object(o['useTSPlaygroundUrl'])(E, G),
          K = Object(n['useRef'])(),
          Q = Object(o['usePrefersColor'])(),
          V = i(Q, 1),
          z = V[0];
        function W(e) {
          S(e), H(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              B(Math.random());
            },
            [z],
          ),
          l.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                b ? '__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: d,
                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: $,
                    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' },
              k &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: k,
                }),
              x &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: x,
                }),
              f.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: N,
                  onClick: function () {
                    return w();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return B(Math.random());
                  },
                }),
              !(null === (u = f.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': I,
                onClick: function () {
                  return L(G);
                },
              }),
              'tsx' === T &&
                U &&
                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(
                  U ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return Z(!U);
                },
              }),
            ),
            U &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !v &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: O,
                      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'] = g;
    },
  },
]);
