(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [17],
  {
    '/cpe': 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'),
        d = a('JjdP'),
        m = l.a.memo(d['default']['calendar-basic'].component),
        u = l.a.memo(d['default']['calendar-notice-calendar'].component),
        i = l.a.memo(d['default']['calendar-card'].component),
        s = l.a.memo(d['default']['calendar-select'].component),
        E = l.a.memo(d['default']['calendar-customize-header'].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: 'calendar-\u65e5\u5386' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#calendar-\u65e5\u5386',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Calendar \u65e5\u5386',
              ),
              l.a.createElement(
                'p',
                null,
                '\u6309\u7167\u65e5\u5386\u5f62\u5f0f\u5c55\u793a\u6570\u636e\u7684\u5bb9\u5668\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              l.a.createElement(
                'p',
                null,
                '\u5f53\u6570\u636e\u662f\u65e5\u671f\u6216\u6309\u7167\u65e5\u671f\u5212\u5206\u65f6\uff0c\u4f8b\u5982\u65e5\u7a0b\u3001\u8bfe\u8868\u3001\u4ef7\u683c\u65e5\u5386\u7b49\uff0c\u519c\u5386\u7b49\u3002\u76ee\u524d\u652f\u6301\u5e74/\u6708\u5207\u6362\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              l.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            l.a.createElement(
              c['default'],
              d['default']['calendar-basic'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u901a\u77e5\u4e8b\u9879\u65e5\u5386' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u901a\u77e5\u4e8b\u9879\u65e5\u5386',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u901a\u77e5\u4e8b\u9879\u65e5\u5386',
              ),
            ),
            l.a.createElement(
              c['default'],
              d['default']['calendar-notice-calendar'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5361\u7247\u6a21\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5361\u7247\u6a21\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5361\u7247\u6a21\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              d['default']['calendar-card'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u9009\u62e9\u529f\u80fd' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9009\u62e9\u529f\u80fd',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9009\u62e9\u529f\u80fd',
              ),
            ),
            l.a.createElement(
              c['default'],
              d['default']['calendar-select'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u5934\u90e8' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u5934\u90e8',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u5934\u90e8',
              ),
            ),
            l.a.createElement(
              c['default'],
              d['default']['calendar-customize-header'].previewerProps,
              l.a.createElement(E, 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,
                '**\u6ce8\u610f\uff1a**Calendar \u90e8\u5206 locale \u662f\u4ece value \u4e2d\u8bfb\u53d6\uff0c\u6240\u4ee5\u8bf7\u5148\u6b63\u786e\u8bbe\u7f6e moment \u7684 locale\u3002',
              ),
              l.a.createElement(o['a'], {
                code: "// \u9ed8\u8ba4\u8bed\u8a00\u4e3a en-US\uff0c\u6240\u4ee5\u5982\u679c\u9700\u8981\u4f7f\u7528\u5176\u4ed6\u8bed\u8a00\uff0c\u63a8\u8350\u5728\u5165\u53e3\u6587\u4ef6\u5168\u5c40\u8bbe\u7f6e locale\n// import moment from 'moment';\n// import 'moment/locale/zh-cn';\n// moment.locale('zh-cn');\n\n<Calendar\n  dateCellRender={dateCellRender}\n  monthCellRender={monthCellRender}\n  onPanelChange={onPanelChange}\n  onSelect={onSelect}\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, 'dateCellRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6e32\u67d3\u65e5\u671f\u5355\u5143\u683c\uff0c\u8fd4\u56de\u5185\u5bb9\u4f1a\u88ab\u8ffd\u52a0\u5230\u5355\u5143\u683c',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment): ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'dateFullCellRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6e32\u67d3\u65e5\u671f\u5355\u5143\u683c\uff0c\u8fd4\u56de\u5185\u5bb9\u8986\u76d6\u5355\u5143\u683c',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment): ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'defaultValue'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u5c55\u793a\u7684\u65e5\u671f',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        { to: 'http://momentjs.com/' },
                        'moment',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'disabledDate'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u4e0d\u53ef\u9009\u62e9\u7684\u65e5\u671f\uff0c\u53c2\u6570\u4e3a\u5f53\u524d ',
                      l.a.createElement('code', null, 'value'),
                      '\uff0c\u6ce8\u610f\u4f7f\u7528\u65f6',
                      l.a.createElement(
                        r['Link'],
                        {
                          to: 'https://github.com/ant-design/ant-design/issues/30987',
                        },
                        '\u4e0d\u8981\u76f4\u63a5\u4fee\u6539',
                      ),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '(currentDate: moment) => boolean',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'fullscreen'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5168\u5c4f\u663e\u793a',
                    ),
                    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, 'headerRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5934\u90e8\u5185\u5bb9',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(object:',
                      '{',
                      'value: moment, type: string, onChange: f(), onTypeChange: f()',
                      '}',
                      ')',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'locale'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u56fd\u9645\u5316\u914d\u7f6e',
                    ),
                    l.a.createElement('td', null, 'object'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        {
                          to: 'https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json',
                        },
                        '(\u9ed8\u8ba4\u914d\u7f6e)',
                      ),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'mode'),
                    l.a.createElement('td', null, '\u521d\u59cb\u6a21\u5f0f'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'month'),
                      ' | ',
                      l.a.createElement('code', null, 'year'),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'month'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'monthCellRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6e32\u67d3\u6708\u5355\u5143\u683c\uff0c\u8fd4\u56de\u5185\u5bb9\u4f1a\u88ab\u8ffd\u52a0\u5230\u5355\u5143\u683c',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment): ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'monthFullCellRender'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6e32\u67d3\u6708\u5355\u5143\u683c\uff0c\u8fd4\u56de\u5185\u5bb9\u8986\u76d6\u5355\u5143\u683c',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment): ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'validRange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u53ef\u4ee5\u663e\u793a\u7684\u65e5\u671f',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      '[',
                      l.a.createElement(
                        r['Link'],
                        { to: 'http://momentjs.com/' },
                        'moment',
                      ),
                      ', ',
                      l.a.createElement(
                        r['Link'],
                        { to: 'http://momentjs.com/' },
                        'moment',
                      ),
                      ']',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'value'),
                    l.a.createElement('td', null, '\u5c55\u793a\u65e5\u671f'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['Link'],
                        { to: 'http://momentjs.com/' },
                        'moment',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u65e5\u671f\u53d8\u5316\u56de\u8c03',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment\uff09',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onPanelChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u65e5\u671f\u9762\u677f\u53d8\u5316\u56de\u8c03',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment, mode: string)',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onSelect'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u9009\u62e9\u65e5\u671f\u56de\u8c03',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'function(date: moment\uff09',
                    ),
                    l.a.createElement('td', null, '-'),
                    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(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    r['AnchorLink'],
                    { to: '/docs/react/replace-moment#Calendar' },
                    '\u5982\u4f55\u5728 Calendar \u4e2d\u4f7f\u7528\u81ea\u5b9a\u4e49\u65e5\u671f\u5e93\uff08\u5982 dayjs \uff09',
                  ),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-calendar-demo-card {\n  width: 300px;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n}\n[data-theme="dark"] .site-calendar-demo-card {\n    border: 1px solid #303030;\n  }\n\n  .site-calendar-customize-header-wrapper {\n  width: 300px;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n}\n [data-theme="dark"] .site-calendar-customize-header-wrapper {\n    border: 1px solid #303030;\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'),
        d = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return f(e) || E(e, t) || i(e, t) || u();
      }
      function u() {
        throw new TypeError(
          'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
        );
      }
      function i(e, t) {
        if (e) {
          if ('string' === typeof e) return 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 (d) {
            (o = !0), (l = d);
          } 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,
          u,
          i = 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),
          k = 1 === Object.keys(f.sources).length,
          g = 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,
          ),
          y = Object(o['useMotions'])(f.motions || [], i.current),
          w = m(y, 2),
          C = w[0],
          x = w[1],
          N = Object(o['useCopy'])(),
          j = m(N, 2),
          A = j[0],
          L = j[1],
          R = Object(n['useState'])('_'),
          O = m(R, 2),
          S = O[0],
          I = O[1],
          P = Object(n['useState'])(p(S, f.sources[S])),
          M = m(P, 2),
          T = M[0],
          F = M[1],
          U = Object(n['useState'])(Boolean(f.defaultShowCode)),
          q = m(U, 2),
          z = q[0],
          Z = q[1],
          D = Object(n['useState'])(Math.random()),
          J = m(D, 2),
          H = J[0],
          $ = J[1],
          B = f.sources[S][T] || f.sources[S].content,
          G = Object(o['useTSPlaygroundUrl'])(E, B),
          V = Object(n['useRef'])(),
          X = Object(o['usePrefersColor'])(),
          K = m(X, 1),
          Q = K[0];
        function W(e) {
          I(e), F(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              $(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: i,
                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: H,
                    src: b,
                    ref: V,
                  })
                : 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' },
              g &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: g,
                }),
              _ &&
                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 C();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (u = f.hideActions) || void 0 === u
                ? void 0
                : u.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': L,
                onClick: function () {
                  return A(B);
                },
              }),
              'tsx' === T &&
                z &&
                l.a.createElement(
                  o['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(
                  z ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return Z(!z);
                },
              }),
            ),
            z &&
              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: 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(d['a'], { code: B, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
