(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [8],
  {
    MZF8: function (e, t, a) {
      'use strict';
      var n = a('ogwx');
      a.d(t, 'a', function () {
        return n['b'];
      });
      a('VCU9');
    },
    'R+jr': 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('H1Ra'),
        o = a('JjdP'),
        u = l.a.memo(o['default']['affix-basic'].component),
        d = l.a.memo(o['default']['affix-on-change'].component),
        m = l.a.memo(o['default']['affix-target'].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: 'affix-\u56fa\u9489' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#affix-\u56fa\u9489',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Affix \u56fa\u9489',
              ),
              l.a.createElement(
                'p',
                null,
                '\u5c06\u9875\u9762\u5143\u7d20\u9489\u5728\u53ef\u89c6\u8303\u56f4\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\u5185\u5bb9\u533a\u57df\u6bd4\u8f83\u957f\uff0c\u9700\u8981\u6eda\u52a8\u9875\u9762\u65f6\uff0c\u8fd9\u90e8\u5206\u5185\u5bb9\u5bf9\u5e94\u7684\u64cd\u4f5c\u6216\u8005\u5bfc\u822a\u9700\u8981\u5728\u6eda\u52a8\u8303\u56f4\u5185\u59cb\u7ec8\u5c55\u73b0\u3002\u5e38\u7528\u4e8e\u4fa7\u8fb9\u83dc\u5355\u548c\u6309\u94ae\u7ec4\u5408\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u9875\u9762\u53ef\u89c6\u8303\u56f4\u8fc7\u5c0f\u65f6\uff0c\u614e\u7528\u6b64\u529f\u80fd\u4ee5\u514d\u906e\u6321\u9875\u9762\u5185\u5bb9\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              l.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['affix-basic'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                {
                  id: '\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u7684\u56de\u8c03',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u7684\u56de\u8c03',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u7684\u56de\u8c03',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['affix-on-change'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u6eda\u52a8\u5bb9\u5668' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6eda\u52a8\u5bb9\u5668',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6eda\u52a8\u5bb9\u5668',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['affix-target'].previewerProps,
              l.a.createElement(m, 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, '\u6210\u5458'),
                    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, 'offsetBottom'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8ddd\u79bb\u7a97\u53e3\u5e95\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'offsetTop'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8ddd\u79bb\u7a97\u53e3\u9876\u90e8\u8fbe\u5230\u6307\u5b9a\u504f\u79fb\u91cf\u540e\u89e6\u53d1',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'target'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e ',
                      l.a.createElement('code', null, 'Affix'),
                      ' \u9700\u8981\u76d1\u542c\u5176\u6eda\u52a8\u4e8b\u4ef6\u7684\u5143\u7d20\uff0c\u503c\u4e3a\u4e00\u4e2a\u8fd4\u56de\u5bf9\u5e94 DOM \u5143\u7d20\u7684\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, '() => HTMLElement'),
                    l.a.createElement('td', null, '() => window'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u56fa\u5b9a\u72b6\u6001\u6539\u53d8\u65f6\u89e6\u53d1\u7684\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, 'function(affixed)'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                l.a.createElement('strong', null, '\u6ce8\u610f\uff1a'),
                l.a.createElement('code', null, 'Affix'),
                ' \u5185\u7684\u5143\u7d20\u4e0d\u8981\u4f7f\u7528\u7edd\u5bf9\u5b9a\u4f4d\uff0c\u5982\u9700\u8981\u7edd\u5bf9\u5b9a\u4f4d\u7684\u6548\u679c\uff0c\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e ',
                l.a.createElement('code', null, 'Affix'),
                ' \u4e3a\u7edd\u5bf9\u5b9a\u4f4d\uff1a',
              ),
              l.a.createElement(i['a'], {
                code: "<Affix style={{ position: 'absolute', top: y, left: x }}>...</Affix>",
                lang: 'bash',
              }),
              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: 'affix-\u4f7f\u7528-target-\u7ed1\u5b9a\u5bb9\u5668\u65f6\u5143\u7d20\u4f1a\u8dd1\u5230\u5bb9\u5668\u5916',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#affix-\u4f7f\u7528-target-\u7ed1\u5b9a\u5bb9\u5668\u65f6\u5143\u7d20\u4f1a\u8dd1\u5230\u5bb9\u5668\u5916',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Affix \u4f7f\u7528 ',
                l.a.createElement('code', null, 'target'),
                ' \u7ed1\u5b9a\u5bb9\u5668\u65f6\uff0c\u5143\u7d20\u4f1a\u8dd1\u5230\u5bb9\u5668\u5916\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u4ece\u6027\u80fd\u89d2\u5ea6\u8003\u8651\uff0c\u6211\u4eec\u53ea\u76d1\u542c\u5bb9\u5668\u6eda\u52a8\u4e8b\u4ef6\u3002\u5982\u679c\u5e0c\u671b\u4efb\u610f\u6eda\u52a8\uff0c\u4f60\u53ef\u4ee5\u5728\u7a97\u4f53\u6dfb\u52a0\u6eda\u52a8\u76d1\u542c\uff1a',
                l.a.createElement(
                  r['Link'],
                  { to: 'https://codesandbox.io/s/2xyj5zr85p' },
                  'https://codesandbox.io/s/2xyj5zr85p',
                ),
              ),
              l.a.createElement(
                'p',
                null,
                '\u76f8\u5173 issue\uff1a',
                l.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/ant-design/ant-design/issues/3938',
                  },
                  '#3938',
                ),
                ' ',
                l.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/ant-design/ant-design/issues/5642',
                  },
                  '#5642',
                ),
                ' ',
                l.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/ant-design/ant-design/issues/16120',
                  },
                  '#16120',
                ),
              ),
              l.a.createElement(
                'h3',
                {
                  id: 'affix-\u5728\u6c34\u5e73\u6eda\u52a8\u5bb9\u5668\u4e2d\u4f7f\u7528\u65f6-\u5143\u7d20-left-\u4f4d\u7f6e\u4e0d\u6b63\u786e',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#affix-\u5728\u6c34\u5e73\u6eda\u52a8\u5bb9\u5668\u4e2d\u4f7f\u7528\u65f6-\u5143\u7d20-left-\u4f4d\u7f6e\u4e0d\u6b63\u786e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Affix \u5728\u6c34\u5e73\u6eda\u52a8\u5bb9\u5668\u4e2d\u4f7f\u7528\u65f6\uff0c \u5143\u7d20 ',
                l.a.createElement('code', null, 'left'),
                ' \u4f4d\u7f6e\u4e0d\u6b63\u786e\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                'Affix \u4e00\u822c\u53ea\u9002\u7528\u4e8e\u5355\u5411\u6eda\u52a8\u7684\u533a\u57df\uff0c\u53ea\u652f\u6301\u5728\u5782\u76f4\u6eda\u52a8\u5bb9\u5668\u4e2d\u4f7f\u7528\u3002\u5982\u679c\u5e0c\u671b\u5728\u6c34\u5e73\u5bb9\u5668\u4e2d\u4f7f\u7528\uff0c\u4f60\u53ef\u4ee5\u8003\u8651\u4f7f\u7528 \u539f\u751f ',
                l.a.createElement('code', null, 'position: sticky'),
                ' \u5b9e\u73b0\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u76f8\u5173 issue: ',
                l.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/ant-design/ant-design/issues/29108',
                  },
                  '#29108',
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    "\n#affix-target .scrollable-container {\n  height: 100px;\n  overflow-y: scroll;\n}\n#affix-target .background {\n  padding-top: 60px;\n  height: 300px;\n  background-image: url('https://zos.alipayobjects.com/rmsportal/RmjwQiJorKyobvI.jpg');\n}\n",
                },
              }),
            ),
          ),
        )
      );
    },
    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 u(e, t) {
        return E(e) || f(e, t) || m(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 m(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 f(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 E(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,
          m = Object(n['useRef'])(),
          s = Object(n['useContext'])(i['context']),
          f = s.locale,
          E = Object(i['useLocaleProps'])(f, e),
          h = Object(i['useDemoUrl'])(E.identifier),
          b = E.demoUrl || h,
          g =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(E.identifier),
          v = 1 === Object.keys(E.sources).length,
          x = Object(i['useCodeSandbox'])(
            (
              null === (t = E.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : E,
          ),
          k = Object(i['useRiddle'])(
            (
              null === (a = E.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : E,
          ),
          y = Object(i['useMotions'])(E.motions || [], m.current),
          _ = u(y, 2),
          w = _[0],
          A = _[1],
          N = Object(i['useCopy'])(),
          j = u(N, 2),
          L = j[0],
          O = j[1],
          I = Object(n['useState'])('_'),
          C = u(I, 2),
          S = C[0],
          R = C[1],
          M = Object(n['useState'])(p(S, E.sources[S])),
          T = u(M, 2),
          P = T[0],
          q = T[1],
          J = Object(n['useState'])(Boolean(E.defaultShowCode)),
          U = u(J, 2),
          Z = U[0],
          F = U[1],
          H = Object(n['useState'])(Math.random()),
          B = u(H, 2),
          D = B[0],
          $ = B[1],
          z = E.sources[S][P] || E.sources[S].content,
          G = Object(i['useTSPlaygroundUrl'])(f, z),
          K = Object(n['useRef'])(),
          Q = Object(i['usePrefersColor'])(),
          X = u(Q, 1),
          V = X[0];
        function W(e) {
          R(e), q(p(e, E.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              $(Math.random());
            },
            [V],
          ),
          l.a.createElement(
            'div',
            {
              style: E.style,
              className: [
                E.className,
                '__dumi-default-previewer',
                g ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: E.identifier,
              'data-debug': E.debug || void 0,
              'data-iframe': E.iframe || void 0,
            },
            E.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: m,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: E.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    E.compact || (E.iframe && !1 !== E.compact) ? '0' : void 0,
                  background: E.background,
                },
              },
              E.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(E.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: D,
                    src: b,
                    ref: K,
                  })
                : E.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': E.title,
              },
              E.title &&
                l.a.createElement(
                  i['AnchorLink'],
                  { to: '#'.concat(E.identifier) },
                  E.title,
                ),
              E.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: E.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              x &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: x,
                }),
              k &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: k,
                }),
              E.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: A,
                  onClick: function () {
                    return w();
                  },
                }),
              E.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (d = E.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  i['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': O,
                onClick: function () {
                  return L(z);
                },
              }),
              'tsx' === P &&
                Z &&
                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(
                  Z ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return F(!Z);
                },
              }),
            ),
            Z &&
              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: S,
                      onChange: W,
                    },
                    Object.keys(E.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, E.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                l.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  l.a.createElement(o['a'], { code: z, lang: P, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
