(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [55],
  {
    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'),
        i = a('dEAq'),
        o = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return p(e) || E(e, t) || u(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 u(e, t) {
        if (e) {
          if ('string' === typeof e) return s(e, t);
          var a = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === a && e.constructor && (a = e.constructor.name),
            'Map' === a || 'Set' === a
              ? Array.from(e)
              : 'Arguments' === a ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
              ? s(e, t)
              : void 0
          );
        }
      }
      function s(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
        return n;
      }
      function E(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var n,
            l,
            r = [],
            c = !0,
            i = !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 (o) {
            (i = !0), (l = o);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (i) throw l;
            }
          }
          return r;
        }
      }
      function p(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var a,
          n =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
      }
      var b = function (e) {
        var t,
          a,
          d,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(i['context']),
          E = s.locale,
          p = Object(i['useLocaleProps'])(E, e),
          b = Object(i['useDemoUrl'])(p.identifier),
          h = p.demoUrl || b,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          k = 1 === Object.keys(p.sources).length,
          w = Object(i['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          _ = Object(i['useRiddle'])(
            (
              null === (a = p.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          g = Object(i['useMotions'])(p.motions || [], u.current),
          y = m(g, 2),
          x = y[0],
          N = y[1],
          A = Object(i['useCopy'])(),
          j = m(A, 2),
          S = j[0],
          I = j[1],
          L = Object(n['useState'])('_'),
          O = m(L, 2),
          C = O[0],
          z = O[1],
          P = Object(n['useState'])(f(C, p.sources[C])),
          R = m(P, 2),
          M = R[0],
          T = R[1],
          U = Object(n['useState'])(Boolean(p.defaultShowCode)),
          Z = m(U, 2),
          J = Z[0],
          q = Z[1],
          F = Object(n['useState'])(Math.random()),
          $ = m(F, 2),
          B = $[0],
          D = $[1],
          H = p.sources[C][M] || p.sources[C].content,
          G = Object(i['useTSPlaygroundUrl'])(E, H),
          X = Object(n['useRef'])(),
          K = Object(i['usePrefersColor'])(),
          V = m(K, 1),
          Q = V[0];
        function W(e) {
          z(e), T(f(e, p.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              D(Math.random());
            },
            [Q],
          ),
          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: u,
                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: B,
                    src: h,
                    ref: X,
                  })
                : p.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                l.a.createElement(
                  i['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' },
              w &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: w,
                }),
              _ &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: _,
                }),
              p.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: N,
                  onClick: function () {
                    return x();
                  },
                }),
              p.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return D(Math.random());
                  },
                }),
              !(null === (d = p.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  i['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 S(H);
                },
              }),
              'tsx' === M &&
                J &&
                l.a.createElement(
                  i['Link'],
                  { target: '_blank', to: G },
                  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(
                  J ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return q(!J);
                },
              }),
            ),
            J &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: C,
                      onChange: W,
                    },
                    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(o['a'], { code: H, lang: M, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
    rj90: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        c = a('Zxc8'),
        i = a('JjdP'),
        o = l.a.memo(i['default']['space-base'].component),
        m = l.a.memo(i['default']['space-vertical'].component),
        d = l.a.memo(i['default']['space-size'].component),
        u = l.a.memo(i['default']['space-align'].component),
        s = l.a.memo(i['default']['space-customize'].component),
        E = l.a.memo(i['default']['space-wrap'].component),
        p = l.a.memo(i['default']['space-split'].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: 'space-\u95f4\u8ddd' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#space-\u95f4\u8ddd',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Space \u95f4\u8ddd',
              ),
              l.a.createElement(
                'p',
                null,
                '\u8bbe\u7f6e\u7ec4\u4ef6\u4e4b\u95f4\u7684\u95f4\u8ddd\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,
                '\u907f\u514d\u7ec4\u4ef6\u7d27\u8d34\u5728\u4e00\u8d77\uff0c\u62c9\u5f00\u7edf\u4e00\u7684\u7a7a\u95f4\u3002',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  '\u9002\u5408\u884c\u5185\u5143\u7d20\u7684\u6c34\u5e73\u95f4\u8ddd\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u53ef\u4ee5\u8bbe\u7f6e\u5404\u79cd\u6c34\u5e73\u5bf9\u9f50\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: '\u57fa\u672c\u7528\u6cd5' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u57fa\u672c\u7528\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c\u7528\u6cd5',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-base'].previewerProps,
              l.a.createElement(o, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5782\u76f4\u95f4\u8ddd' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5782\u76f4\u95f4\u8ddd',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5782\u76f4\u95f4\u8ddd',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-vertical'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u95f4\u8ddd\u5927\u5c0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u95f4\u8ddd\u5927\u5c0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u95f4\u8ddd\u5927\u5c0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-size'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5bf9\u9f50' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u5bf9\u9f50', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5bf9\u9f50',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-align'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u5c3a\u5bf8' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u5c3a\u5bf8',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u5c3a\u5bf8',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-customize'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u52a8\u6362\u884c' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u52a8\u6362\u884c',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u52a8\u6362\u884c',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-wrap'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5206\u9694\u7b26' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5206\u9694\u7b26',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5206\u9694\u7b26',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['space-split'].previewerProps,
              l.a.createElement(p, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: 'api' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u53c2\u6570'),
                    l.a.createElement('th', null, '\u8bf4\u660e'),
                    l.a.createElement('th', null, '\u7c7b\u578b'),
                    l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    l.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'align'),
                    l.a.createElement('td', null, '\u5bf9\u9f50\u65b9\u5f0f'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'start'),
                      ' | ',
                      l.a.createElement('code', null, 'end'),
                      ' |',
                      l.a.createElement('code', null, 'center'),
                      ' |',
                      l.a.createElement('code', null, 'baseline'),
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null, '4.2.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'direction'),
                    l.a.createElement('td', null, '\u95f4\u8ddd\u65b9\u5411'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'vertical'),
                      ' | ',
                      l.a.createElement('code', null, 'horizontal'),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'horizontal'),
                    ),
                    l.a.createElement('td', null, '4.1.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'size'),
                    l.a.createElement('td', null, '\u95f4\u8ddd\u5927\u5c0f'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '#Size' },
                        'Size',
                      ),
                      ' | ',
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '#Size' },
                        'Size[]',
                      ),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'small'),
                    ),
                    l.a.createElement('td', null, '4.1.0 | Array: 4.9.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'split'),
                    l.a.createElement('td', null, '\u8bbe\u7f6e\u62c6\u5206'),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null, '4.7.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'wrap'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u81ea\u52a8\u6362\u884c\uff0c\u4ec5\u5728 ',
                      l.a.createElement('code', null, 'horizontal'),
                      ' \u65f6\u6709\u6548',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                    l.a.createElement('td', null, '4.9.0'),
                  ),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: 'size' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#size', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Size',
              ),
              l.a.createElement(
                'p',
                null,
                l.a.createElement(
                  'code',
                  null,
                  "'small' | 'middle' | 'large' | number",
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .space-align-container {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: flex-start;\n}\n.space-align-block {\n  flex: none;\n  margin: 8px 4px;\n  padding: 4px;\n  border: 1px solid #40a9ff;\n}\n.space-align-block .mock-block {\n  display: inline-block;\n  padding: 32px 8px 16px;\n  background: rgba(150, 150, 150, 0.2);\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
  },
]);
