(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [62],
  {
    GjIZ: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        c = a('Zxc8'),
        o = a('JjdP'),
        i = l.a.memo(o['default']['tag-basic'].component),
        m = l.a.memo(o['default']['tag-colourful'].component),
        d = l.a.memo(o['default']['tag-dynamic'].component),
        u = l.a.memo(o['default']['tag-choice'].component),
        s = l.a.memo(o['default']['tag-control'].component),
        E = l.a.memo(o['default']['tag-animation'].component),
        f = l.a.memo(o['default']['tag-icon'].component),
        p = l.a.memo(o['default']['tag-preset'].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: 'tag-\u6807\u7b7e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#tag-\u6807\u7b7e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Tag \u6807\u7b7e',
              ),
              l.a.createElement(
                'p',
                null,
                '\u8fdb\u884c\u6807\u8bb0\u548c\u5206\u7c7b\u7684\u5c0f\u6807\u7b7e\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,
                  '\u7528\u4e8e\u6807\u8bb0\u4e8b\u7269\u7684\u5c5e\u6027\u548c\u7ef4\u5ea6\u3002',
                ),
                l.a.createElement('li', null, '\u8fdb\u884c\u5206\u7c7b\u3002'),
              ),
              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']['tag-basic'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u591a\u5f69\u6807\u7b7e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u591a\u5f69\u6807\u7b7e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u591a\u5f69\u6807\u7b7e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-colourful'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u52a8\u6001\u6dfb\u52a0\u548c\u5220\u9664' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u52a8\u6001\u6dfb\u52a0\u548c\u5220\u9664',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u52a8\u6001\u6dfb\u52a0\u548c\u5220\u9664',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-dynamic'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u53ef\u9009\u62e9\u6807\u7b7e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u53ef\u9009\u62e9\u6807\u7b7e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53ef\u9009\u62e9\u6807\u7b7e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-choice'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u63a7\u5236\u5173\u95ed\u72b6\u6001' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u63a7\u5236\u5173\u95ed\u72b6\u6001',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u63a7\u5236\u5173\u95ed\u72b6\u6001',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-control'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u6dfb\u52a0\u52a8\u753b' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6dfb\u52a0\u52a8\u753b',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6dfb\u52a0\u52a8\u753b',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-animation'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u56fe\u6807\u6309\u94ae' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56fe\u6807\u6309\u94ae',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fe\u6807\u6309\u94ae',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-icon'].previewerProps,
              l.a.createElement(f, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u9884\u8bbe\u72b6\u6001\u7684\u6807\u7b7e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9884\u8bbe\u72b6\u6001\u7684\u6807\u7b7e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9884\u8bbe\u72b6\u6001\u7684\u6807\u7b7e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['tag-preset'].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(
                'h3',
                { id: 'tag' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#tag', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Tag',
              ),
              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, 'closable'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6807\u7b7e\u662f\u5426\u53ef\u4ee5\u5173\u95ed\uff08\u70b9\u51fb\u9ed8\u8ba4\u5173\u95ed\uff09',
                    ),
                    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, 'closeIcon'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5173\u95ed\u6309\u94ae',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null, '4.4.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'color'),
                    l.a.createElement('td', null, '\u6807\u7b7e\u8272'),
                    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, 'icon'),
                    l.a.createElement('td', null, '\u8bbe\u7f6e\u56fe\u6807'),
                    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, 'visible'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u663e\u793a\u6807\u7b7e',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'true'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onClose'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u65f6\u7684\u56de\u8c03\uff08\u53ef\u901a\u8fc7 ',
                      l.a.createElement('code', null, 'e.preventDefault()'),
                      ' \u6765\u963b\u6b62\u9ed8\u8ba4\u884c\u4e3a\uff09',
                    ),
                    l.a.createElement('td', null, '(e) => void'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: 'tagcheckabletag' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#tagcheckabletag',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Tag.CheckableTag',
              ),
              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, 'checked'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6807\u7b7e\u7684\u9009\u4e2d\u72b6\u6001',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u6807\u7b7e\u65f6\u89e6\u53d1\u7684\u56de\u8c03',
                    ),
                    l.a.createElement('td', null, '(checked) => void'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-tag-plus {\n    background: #fff;\n    border-style: dashed;\n  }\n  .edit-tag {\n    user-select: none;\n  }\n  .tag-input {\n    width: 78px;\n    margin-right: 8px;\n    vertical-align: top;\n  }\n',
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, a) {
      'use strict';
      var n = a('ogwx');
      a.d(t, 'a', function () {
        return n['b'];
      });
      a('VCU9');
    },
    RZMt: function (e, t, a) {},
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('k3GJ'),
        c = a('MZF8'),
        o = a('dEAq'),
        i = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return f(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,
            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 (i) {
            (o = !0), (l = i);
          } 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 h = function (e) {
        var t,
          a,
          d,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          f = Object(o['useLocaleProps'])(E, e),
          h = Object(o['useDemoUrl'])(f.identifier),
          b = f.demoUrl || h,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          g = 1 === Object.keys(f.sources).length,
          k = Object(o['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          _ = Object(o['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          w = Object(o['useMotions'])(f.motions || [], u.current),
          y = m(w, 2),
          N = y[0],
          x = y[1],
          A = Object(o['useCopy'])(),
          I = m(A, 2),
          j = I[0],
          C = I[1],
          O = Object(n['useState'])('_'),
          L = m(O, 2),
          S = L[0],
          P = L[1],
          R = Object(n['useState'])(p(S, f.sources[S])),
          T = m(R, 2),
          M = T[0],
          Z = T[1],
          U = Object(n['useState'])(Boolean(f.defaultShowCode)),
          J = m(U, 2),
          q = J[0],
          D = J[1],
          F = Object(n['useState'])(Math.random()),
          $ = m(F, 2),
          B = $[0],
          G = $[1],
          H = f.sources[S][M] || f.sources[S].content,
          X = Object(o['useTSPlaygroundUrl'])(E, H),
          K = Object(n['useRef'])(),
          V = Object(o['usePrefersColor'])(),
          z = m(V, 1),
          Q = z[0];
        function W(e) {
          P(e), Z(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              G(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: f.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
                  background: f.background,
                },
              },
              f.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: B,
                    src: b,
                    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,
                }),
              _ &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: _,
                }),
              f.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return N();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return G(Math.random());
                  },
                }),
              !(null === (d = f.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: b },
                  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 j(H);
                },
              }),
              'tsx' === M &&
                q &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: X },
                  l.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              l.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  q ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return D(!q);
                },
              }),
            ),
            q &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !g &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: S,
                      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(i['a'], { code: H, lang: M, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
