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,WAAW,EACXe,YAAY,EACZxG,OAAQ,KACR+G,gBAAiB,MAEnBrG,EAAAA,QAAkBqD,EAClBtD,EAAOC,QAAUA,EAAiB,O,wBCzSlCD,EAAOC,QAAU,EAAjBD,M","sources":["webpack:///./src/components/DataEmpty/index.tsx","webpack:///./src/components/UserAvatarPopover/index.tsx","webpack:///./src/components/group/GroupDetailMemberSliderBar/index.tsx","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/react-infinite-scroller/dist/InfiniteScroll.js","webpack:///./node_modules/react-infinite-scroller/index.js"],"sourcesContent":["// 数据为空显示组件\nimport emptySvg from '@/static/imgs/empty.svg';\nimport { Empty } from 'antd';\n\ntype DataEmptyProps = {\n  description?: string; // 显示文字\n  kind?: string;\n};\n\nconst DataEmpty: React.FC<DataEmptyProps> = (props) => {\n  return (\n    <Empty\n      description={\n        props.kind === 'mall_order' ? (\n          <span>\n            您还未兑换,去<a href=\"/mall/?page=1&category=惊喜好物\">商城</a>\n            看看~\n          </span>\n        ) : (\n          props.description || '暂无匹配数据'\n        )\n      }\n      image={<img src={emptySvg} />}\n    />\n  );\n};\n\nexport default DataEmpty;\n","import AvatarFoundingMemberIcon from '@/static/imgs/AvatarFoundingMemberIcon.svg';\nimport AvatarSuperMemberIcon from '@/static/imgs/AvatarSuperMemberIcon.svg';\nimport { Button, Popover } from 'antd';\nimport { useEffect, useState } from 'react';\nimport HomepageFollowButton from '../homepage/HomepageFollowButton';\nimport { MEMBER_TYPE } from '../UserTrayAvatar';\n\ntype UserAvatarPopoverProps = {\n  user: API.User.UserOverviewForGet;\n  toggleFollowStatus: (user: API.User.UserOverviewForGet) => void;\n  loggedUid?: string;\n  children?: JSX.Element;\n};\n\nconst UserAvatarPopover: React.FC<UserAvatarPopoverProps> = (props) => {\n  const [memberType, setMemberType] = useState<any>(0);\n\n  useEffect(() => {\n    if (props.user.is_founding_vip) {\n      setMemberType(MEMBER_TYPE.FOUNDING_VIP);\n    } else if (props.user.super_vip_status) {\n      switch (props.user.super_vip_status) {\n        case '未开通':\n          setMemberType(MEMBER_TYPE.SUPER_VIP_NONACTIVATED);\n          break;\n        case '生效中':\n          setMemberType(MEMBER_TYPE.SUPER_VIP_ACTIVATED);\n          break;\n        case '已过期':\n          setMemberType(MEMBER_TYPE.SUPER_VIP_EXPRIED);\n          break;\n      }\n    } else if (props.user.is_base_vip) {\n      setMemberType(MEMBER_TYPE.BASE_VIP);\n    } else {\n      setMemberType(MEMBER_TYPE.NOT_CERTIFICATED);\n    }\n  }, [props.user]);\n  const handleJumpToMemberPay = () => {\n    // 跳转会员支付页面\n    window.location.href = '/community/user/vip/categories/';\n  };\n  return (\n    <Popover\n      placement=\"bottomLeft\"\n      title={\n        <>\n          <div className=\"flex items-center text-16px\">\n            <img\n              src={props.user.avatar_url}\n              className=\"h-20px w-20px rounded-full mr-5px\"\n              alt=\"头像\"\n              style={{ objectFit: 'cover' }}\n            />\n            <span className=\"font-500 text-hex-1a263d\">{props.user.name}</span>\n            {memberType === MEMBER_TYPE.SUPER_VIP_ACTIVATED ? (\n              <img\n                className=\"w-20px h-20px ml-10px\"\n                src={AvatarSuperMemberIcon}\n                onClick={handleJumpToMemberPay}\n                title=\"超级会员\"\n              />\n            ) : memberType === MEMBER_TYPE.FOUNDING_VIP ? (\n              <img\n                className=\"w-20px h-20px ml-10px\"\n                src={AvatarFoundingMemberIcon}\n                onClick={handleJumpToMemberPay}\n                title=\"创始会员\"\n              />\n            ) : null}\n          </div>\n        </>\n      }\n      content={\n        <>\n          <div className=\"flex justify-between\">\n            <div className=\"flex flex-col\">\n              <span className=\"text-16px font-500\">\n                {props.user.follow_count || 0}\n              </span>\n              <span className=\"text-hex-86909C text-12px\">关注</span>\n            </div>\n            <div className=\"flex flex-col\">\n              <span className=\"text-16px font-500\">\n                {props.user.follower_count || 0}\n              </span>\n              <span className=\"text-hex-86909C text-12px\">粉丝</span>\n            </div>\n            <div className=\"flex flex-col\">\n              <span className=\"text-16px font-500\">\n                {props.user.create_post_count || 0}\n              </span>\n              <span className=\"text-hex-86909C text-12px\">发帖</span>\n            </div>\n          </div>\n\n          <div className=\"flex justify-between mt-15px\">\n            <HomepageFollowButton\n              user={props.user}\n              toggleFollowStatus={props.toggleFollowStatus}\n              loggedUid={props.loggedUid}\n            />\n            <Button\n              onClick={() => {\n                window.location.href = `/community/user/people/${props.user.uid}`;\n              }}\n            >\n              个人主页\n            </Button>\n          </div>\n        </>\n      }\n      overlayStyle={{ width: 270, paddingTop: 0 }}\n      showArrow={false}\n    >\n      {props.children}\n    </Popover>\n  );\n};\n\nexport default UserAvatarPopover;\n","import * as api from '@/api/group';\nimport * as api2 from '@/api/user';\nimport DataEmpty from '@/components/DataEmpty';\nimport UserAvatarPopover from '@/components/UserAvatarPopover';\nimport { SearchOutlined } from '@ant-design/icons';\nimport { useMemoizedFn, useRequest } from 'ahooks';\nimport { Input, message } from 'antd';\nimport { useEffect, useState } from 'react';\nimport InfiniteScroll from 'react-infinite-scroller';\nimport './index.scss';\n\ntype Group = {\n  is_private: boolean;\n  is_user_joined: boolean;\n  logo: string;\n  member_count: number;\n  post_count: number;\n  title: string;\n  uid: string;\n  user_has_pending_application: boolean;\n};\n\n// 管理员\ntype AdminItemProps = {\n  item: any;\n  unsetDetailAdminFun: (memberUid: string) => void;\n  isOwner: boolean;\n};\nconst AdminItem = (props: AdminItemProps) => {\n  const [user, setUser] = useState(props.item?.user);\n\n  const { data: userOverview, refreshAsync: refreshUserOverview } = useRequest(\n    async () =>\n      api2.getUserOverview(user?.uid, {\n        with_f:\n          'follow_count,follower_count,create_post_count,user_follow_status',\n      }),\n    { refreshDeps: [] },\n  );\n\n  const toggleFollowStatus = useMemoizedFn(async (user) => {\n    if (user.user_follow_status) {\n      await api2.unfollow(user.uid);\n      message.success('取消关注成功');\n      setUser({ ...user, user_follow_status: false });\n      refreshUserOverview();\n    } else {\n      await api2.follow(user.uid);\n      message.success('关注成功');\n      setUser({ ...user, user_follow_status: true });\n      refreshUserOverview();\n    }\n  });\n\n  const contentInfo = () => {\n    return (\n      <div\n        data-flex=\"cross:center main:justify\"\n        className={\n          'group-right-slider-bar-status-item mt-16px admin-item admin-item-hover'\n        }\n      >\n        <div>\n          <img\n            src={props.item?.user?.avatar_url}\n            className=\"head-img\"\n            style={{ objectFit: 'cover' }}\n          />\n          <span className=\"ml-8px head-name\">{props.item?.user?.name}</span>\n        </div>\n        <div className=\"head-right-btn\">\n          {props.item?.is_owner && (\n            <span style={{ cursor: 'default' }}>圈主</span>\n          )}\n          {props.isOwner && !props.item?.is_owner ? (\n            <span\n              className=\"cancal-btn\"\n              onClick={() => props.unsetDetailAdminFun(props.item?.uid)}\n            >\n              取消管理员\n            </span>\n          ) : null}\n        </div>\n      </div>\n    );\n  };\n\n  return userOverview ? (\n    <UserAvatarPopover\n      user={userOverview}\n      toggleFollowStatus={toggleFollowStatus}\n    >\n      {contentInfo()}\n    </UserAvatarPopover>\n  ) : (\n    <div>{contentInfo()}</div>\n  );\n};\n\n// 成员\ntype NoAdminItemProps = {\n  item: any;\n  setDetailAdminFun(memberUid: string): void;\n  delDetailMemberFun(memberUid: string): void;\n  isOwner: boolean;\n  isAdmin: boolean;\n};\nconst NoAdminItem = (props: NoAdminItemProps) => {\n  const [user, setUser] = useState(props.item?.user);\n\n  const { data: userOverview, refreshAsync: refreshUserOverview } = useRequest(\n    async () =>\n      api2.getUserOverview(user?.uid, {\n        with_f:\n          'follow_count,follower_count,create_post_count,user_follow_status',\n      }),\n    { refreshDeps: [] },\n  );\n\n  const toggleFollowStatus = useMemoizedFn(async (user) => {\n    if (user.user_follow_status) {\n      await api2.unfollow(user.uid);\n      message.success('取消关注成功');\n      setUser({ ...user, user_follow_status: false });\n      refreshUserOverview();\n    } else {\n      await api2.follow(user.uid);\n      message.success('关注成功');\n      setUser({ ...user, user_follow_status: true });\n      refreshUserOverview();\n    }\n  });\n\n  const contentInfo = () => {\n    return (\n      <div\n        data-flex=\"cross:center main:justify\"\n        className={`group-right-slider-bar-status-item mt-16px h-40px admin-item ${\n          props.isOwner || props.isAdmin ? 'admin-item-hover' : ''\n        }`}\n      >\n        <div>\n          <img\n            src={props.item?.user?.avatar_url}\n            className=\"head-img head-img-no-admin\"\n            style={{ objectFit: 'cover' }}\n          />\n          <span className=\"ml-8px head-name\">{props.item?.user?.name}</span>\n        </div>\n\n        {\n          <div className=\"head-right-btn\">\n            {props.isOwner && (\n              <span\n                className=\"mr-8px cancal-btn\"\n                onClick={() => props.setDetailAdminFun(props.item?.uid)}\n              >\n                设为管理员\n              </span>\n            )}\n            {props.isAdmin ? (\n              <span\n                className=\"cancal-btn del-btn\"\n                onClick={() => props.delDetailMemberFun(props.item?.uid)}\n              >\n                删除\n              </span>\n            ) : null}\n          </div>\n        }\n      </div>\n    );\n  };\n\n  return userOverview ? (\n    <UserAvatarPopover\n      user={userOverview}\n      toggleFollowStatus={toggleFollowStatus}\n    >\n      {contentInfo()}\n    </UserAvatarPopover>\n  ) : (\n    <div>{contentInfo()}</div>\n  );\n};\n\nconst GroupDetailMemberSliderBar: React.FC<{\n  isOwner: boolean;\n  group: Group;\n  isAdmin: boolean;\n}> = (props) => {\n  const [adminMembers, setAdminMembers] = useState<any>([]);\n  const [nonAdminMembers, setNonAdminMembers] = useState<any>([]);\n  const [valueInput, setValueInput] = useState<string>('');\n  const [hasMore, setHasMore] = useState(false);\n\n  // 获取某圈子下的成员列表\n  const getGroupMembersFun = (params: API.Group.GroupMembersParams) => {\n    api.getGroupMembers(props.group.uid, { ...params }).then((res) => {\n      setHasMore(false);\n      // 管理员\n      if (params.kind === 'admin') {\n        setAdminMembers(res.data);\n      }\n      // 成员\n      if (params.kind === 'non_admin') {\n        if (params.page) {\n          setNonAdminMembers(nonAdminMembers.concat(res.data));\n        } else {\n          setNonAdminMembers(res.data);\n        }\n        if (res.pagination.last_page > res.pagination.page) {\n          setHasMore(true);\n        } else {\n          setHasMore(false);\n        }\n      }\n      return '';\n    });\n  };\n\n  // 取消管理员\n  const unsetDetailAdminFun = (memberUid: string) => {\n    api\n      .unsetDetailAdmin(props.group.uid, memberUid)\n      .then(() => {\n        getGroupMembersFun({ kind: 'admin' });\n        getGroupMembersFun({ kind: 'non_admin' });\n        return message.success('取消管理员成功');\n      })\n      .catch(() => {\n        message.error('取消管理员失败');\n      });\n  };\n\n  // 设为管理员\n  const setDetailAdminFun = (memberUid: string) => {\n    api\n      .setDetailAdmin(props.group.uid, memberUid)\n      .then(() => {\n        getGroupMembersFun({ kind: 'admin' });\n        getGroupMembersFun({ kind: 'non_admin' });\n        return message.success('设为管理员成功');\n      })\n      .catch(() => {\n        message.error('设为管理员失败');\n      });\n  };\n\n  // 删除成员\n  const delDetailMemberFun = (memberUid: string) => {\n    api\n      .delDetailMember(props.group.uid, memberUid)\n      .then(() => {\n        getGroupMembersFun({ kind: 'non_admin' });\n        return message.success('删除成员成功');\n      })\n      .catch(() => {\n        message.error('删除成员失败');\n      });\n  };\n\n  useEffect(() => {\n    getGroupMembersFun({ kind: 'admin' });\n    getGroupMembersFun({ kind: 'non_admin' });\n  }, []);\n\n  return (\n    <div className={`group-right-slider-bar-container `}>\n      <div className=\"mt-20px slide-bar-recommendation p-16px bg-hex-FFFFFF rounded-6px\">\n        <div className=\"title\">管理员</div>\n        {adminMembers?.map((item: any) => (\n          <AdminItem\n            key={item.uid}\n            item={item}\n            unsetDetailAdminFun={unsetDetailAdminFun}\n            isOwner={props.isOwner}\n          />\n        ))}\n      </div>\n      {(props.isAdmin || props.isOwner || !props.group.is_private) && (\n        <div className=\"mt-20px bg-hex-FFFFFF rounded-6px p-16px\">\n          <Input\n            placeholder=\"搜索成员\"\n            prefix={<SearchOutlined />}\n            style={{ color: '#E5E6EB' }}\n            value={valueInput}\n            onChange={(e) => {\n              setValueInput(e.target.value);\n              getGroupMembersFun({ kind: 'non_admin', name: e.target.value });\n            }}\n          />\n          <div className=\"max-h-570px overflow-y-scroll mt-10px\">\n            {nonAdminMembers?.length > 0 ? (\n              <InfiniteScroll\n                pageStart={1}\n                loadMore={(e) => {\n                  getGroupMembersFun({\n                    kind: 'non_admin',\n                    page: e,\n                    page_size: 10,\n                  });\n                }}\n                hasMore={hasMore}\n                loader={\n                  <div className=\"loader\" key={0} data-flex=\"main:center\">\n                    Loading ...\n                  </div>\n                }\n                useWindow={false}\n              >\n                {nonAdminMembers?.map((item: any) => (\n                  <NoAdminItem\n                    key={item.uid}\n                    item={item}\n                    setDetailAdminFun={setDetailAdminFun}\n                    delDetailMemberFun={delDetailMemberFun}\n                    isOwner={props.isOwner}\n                    isAdmin={props.isAdmin}\n                  />\n                ))}\n              </InfiniteScroll>\n            ) : (\n              <div style={{ textAlign: 'center' }} className=\"mt-20px\">\n                <DataEmpty description=\"暂无匹配数据\" />\n              </div>\n            )}\n          </div>\n        </div>\n      )}\n    </div>\n  );\n};\n\nexport default GroupDetailMemberSliderBar;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n  function shim(props, propName, componentName, location, propFullName, secret) {\n    if (secret === ReactPropTypesSecret) {\n      // It is still safe when called from React.\n      return;\n    }\n    var err = new Error(\n      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n      'Use PropTypes.checkPropTypes() to call them. ' +\n      'Read more at http://fb.me/use-check-prop-types'\n    );\n    err.name = 'Invariant Violation';\n    throw err;\n  };\n  shim.isRequired = shim;\n  function getShim() {\n    return shim;\n  };\n  // Important!\n  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n  var ReactPropTypes = {\n    array: shim,\n    bigint: shim,\n    bool: shim,\n    func: shim,\n    number: shim,\n    object: shim,\n    string: shim,\n    symbol: shim,\n\n    any: shim,\n    arrayOf: getShim,\n    element: shim,\n    elementType: shim,\n    instanceOf: getShim,\n    node: shim,\n    objectOf: getShim,\n    oneOf: getShim,\n    oneOfType: getShim,\n    shape: getShim,\n    exact: getShim,\n\n    checkPropTypes: emptyFunctionWithReset,\n    resetWarningCache: emptyFunction\n  };\n\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n  var ReactIs = require('react-is');\n\n  // By explicitly using `prop-types` you are opting into new development behavior.\n  // http://fb.me/prop-types-in-prod\n  var throwOnDirectAccess = true;\n  module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n  // By explicitly using `prop-types` you are opting into new production behavior.\n  // http://fb.me/prop-types-in-prod\n  module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar InfiniteScroll = function (_Component) {\n  _inherits(InfiniteScroll, _Component);\n\n  function InfiniteScroll(props) {\n    _classCallCheck(this, InfiniteScroll);\n\n    var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props));\n\n    _this.scrollListener = _this.scrollListener.bind(_this);\n    _this.eventListenerOptions = _this.eventListenerOptions.bind(_this);\n    _this.mousewheelListener = _this.mousewheelListener.bind(_this);\n    return _this;\n  }\n\n  _createClass(InfiniteScroll, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      this.pageLoaded = this.props.pageStart;\n      this.options = this.eventListenerOptions();\n      this.attachScrollListener();\n    }\n  }, {\n    key: 'componentDidUpdate',\n    value: function componentDidUpdate() {\n      if (this.props.isReverse && this.loadMore) {\n        var parentElement = this.getParentElement(this.scrollComponent);\n        parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop;\n        this.loadMore = false;\n      }\n      this.attachScrollListener();\n    }\n  }, {\n    key: 'componentWillUnmount',\n    value: function componentWillUnmount() {\n      this.detachScrollListener();\n      this.detachMousewheelListener();\n    }\n  }, {\n    key: 'isPassiveSupported',\n    value: function isPassiveSupported() {\n      var passive = false;\n\n      var testOptions = {\n        get passive() {\n          passive = true;\n        }\n      };\n\n      try {\n        document.addEventListener('test', null, testOptions);\n        document.removeEventListener('test', null, testOptions);\n      } catch (e) {\n        // ignore\n      }\n      return passive;\n    }\n  }, {\n    key: 'eventListenerOptions',\n    value: function eventListenerOptions() {\n      var options = this.props.useCapture;\n\n      if (this.isPassiveSupported()) {\n        options = {\n          useCapture: this.props.useCapture,\n          passive: true\n        };\n      } else {\n        options = {\n          passive: false\n        };\n      }\n      return options;\n    }\n\n    // Set a defaut loader for all your `InfiniteScroll` components\n\n  }, {\n    key: 'setDefaultLoader',\n    value: function setDefaultLoader(loader) {\n      this.defaultLoader = loader;\n    }\n  }, {\n    key: 'detachMousewheelListener',\n    value: function detachMousewheelListener() {\n      var scrollEl = window;\n      if (this.props.useWindow === false) {\n        scrollEl = this.scrollComponent.parentNode;\n      }\n\n      scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n    }\n  }, {\n    key: 'detachScrollListener',\n    value: function detachScrollListener() {\n      var scrollEl = window;\n      if (this.props.useWindow === false) {\n        scrollEl = this.getParentElement(this.scrollComponent);\n      }\n\n      scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n      scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n    }\n  }, {\n    key: 'getParentElement',\n    value: function getParentElement(el) {\n      var scrollParent = this.props.getScrollParent && this.props.getScrollParent();\n      if (scrollParent != null) {\n        return scrollParent;\n      }\n      return el && el.parentNode;\n    }\n  }, {\n    key: 'filterProps',\n    value: function filterProps(props) {\n      return props;\n    }\n  }, {\n    key: 'attachScrollListener',\n    value: function attachScrollListener() {\n      var parentElement = this.getParentElement(this.scrollComponent);\n\n      if (!this.props.hasMore || !parentElement) {\n        return;\n      }\n\n      var scrollEl = window;\n      if (this.props.useWindow === false) {\n        scrollEl = parentElement;\n      }\n\n      scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture);\n      scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture);\n      scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture);\n\n      if (this.props.initialLoad) {\n        this.scrollListener();\n      }\n    }\n  }, {\n    key: 'mousewheelListener',\n    value: function mousewheelListener(e) {\n      // Prevents Chrome hangups\n      // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257\n      if (e.deltaY === 1 && !this.isPassiveSupported()) {\n        e.preventDefault();\n      }\n    }\n  }, {\n    key: 'scrollListener',\n    value: function scrollListener() {\n      var el = this.scrollComponent;\n      var scrollEl = window;\n      var parentNode = this.getParentElement(el);\n\n      var offset = void 0;\n      if (this.props.useWindow) {\n        var doc = document.documentElement || document.body.parentNode || document.body;\n        var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop;\n        if (this.props.isReverse) {\n          offset = scrollTop;\n        } else {\n          offset = this.calculateOffset(el, scrollTop);\n        }\n      } else if (this.props.isReverse) {\n        offset = parentNode.scrollTop;\n      } else {\n        offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight;\n      }\n\n      // Here we make sure the element is visible as well as checking the offset\n      if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) {\n        this.detachScrollListener();\n        this.beforeScrollHeight = parentNode.scrollHeight;\n        this.beforeScrollTop = parentNode.scrollTop;\n        // Call loadMore after detachScrollListener to allow for non-async loadMore functions\n        if (typeof this.props.loadMore === 'function') {\n          this.props.loadMore(this.pageLoaded += 1);\n          this.loadMore = true;\n        }\n      }\n    }\n  }, {\n    key: 'calculateOffset',\n    value: function calculateOffset(el, scrollTop) {\n      if (!el) {\n        return 0;\n      }\n\n      return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight);\n    }\n  }, {\n    key: 'calculateTopPosition',\n    value: function calculateTopPosition(el) {\n      if (!el) {\n        return 0;\n      }\n      return el.offsetTop + this.calculateTopPosition(el.offsetParent);\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var _this2 = this;\n\n      var renderProps = this.filterProps(this.props);\n\n      var children = renderProps.children,\n          element = renderProps.element,\n          hasMore = renderProps.hasMore,\n          initialLoad = renderProps.initialLoad,\n          isReverse = renderProps.isReverse,\n          loader = renderProps.loader,\n          loadMore = renderProps.loadMore,\n          pageStart = renderProps.pageStart,\n          ref = renderProps.ref,\n          threshold = renderProps.threshold,\n          useCapture = renderProps.useCapture,\n          useWindow = renderProps.useWindow,\n          getScrollParent = renderProps.getScrollParent,\n          props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']);\n\n      props.ref = function (node) {\n        _this2.scrollComponent = node;\n        if (ref) {\n          ref(node);\n        }\n      };\n\n      var childrenArray = [children];\n      if (hasMore) {\n        if (loader) {\n          isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader);\n        } else if (this.defaultLoader) {\n          isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader);\n        }\n      }\n      return _react2.default.createElement(element, props, childrenArray);\n    }\n  }]);\n\n  return InfiniteScroll;\n}(_react.Component);\n\nInfiniteScroll.propTypes = {\n  children: _propTypes2.default.node.isRequired,\n  element: _propTypes2.default.node,\n  hasMore: _propTypes2.default.bool,\n  initialLoad: _propTypes2.default.bool,\n  isReverse: _propTypes2.default.bool,\n  loader: _propTypes2.default.node,\n  loadMore: _propTypes2.default.func.isRequired,\n  pageStart: _propTypes2.default.number,\n  ref: _propTypes2.default.func,\n  getScrollParent: _propTypes2.default.func,\n  threshold: _propTypes2.default.number,\n  useCapture: _propTypes2.default.bool,\n  useWindow: _propTypes2.default.bool\n};\nInfiniteScroll.defaultProps = {\n  element: 'div',\n  hasMore: false,\n  initialLoad: true,\n  pageStart: 0,\n  ref: null,\n  threshold: 250,\n  useWindow: true,\n  isReverse: false,\n  useCapture: false,\n  loader: null,\n  getScrollParent: null\n};\nexports.default = InfiniteScroll;\nmodule.exports = exports['default'];\n","module.exports = require('./dist/InfiniteScroll')\n"],"names":["props","description","kind","href","image","src","emptySvg","useState","memberType","setMemberType","useEffect","user","is_founding_vip","MEMBER_TYPE","super_vip_status","is_base_vip","handleJumpToMemberPay","window","location","placement","title","className","avatar_url","alt","style","objectFit","name","AvatarSuperMemberIcon","onClick","AvatarFoundingMemberIcon","content","follow_count","follower_count","create_post_count","toggleFollowStatus","loggedUid","uid","overlayStyle","width","paddingTop","showArrow","children","AdminItem","item","setUser","useRequest","api2","with_f","refreshDeps","userOverview","data","refreshUserOverview","refreshAsync","useMemoizedFn","user_follow_status","message","contentInfo","is_owner","cursor","isOwner","unsetDetailAdminFun","UserAvatarPopover","NoAdminItem","isAdmin","setDetailAdminFun","delDetailMemberFun","adminMembers","setAdminMembers","nonAdminMembers","setNonAdminMembers","valueInput","setValueInput","hasMore","setHasMore","getGroupMembersFun","params","api","group","then","res","page","concat","pagination","last_page","memberUid","catch","map","is_private","placeholder","prefix","SearchOutlined","color","value","onChange","e","target","length","pageStart","loadMore","page_size","loader","useWindow","textAlign","DataEmpty","ReactPropTypesSecret","require","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","propName","componentName","propFullName","secret","err","Error","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","Object","defineProperty","_createClass","defineProperties","i","descriptor","enumerable","configurable","writable","key","Constructor","protoProps","staticProps","prototype","_react","_react2","_interopRequireDefault","_propTypes2","obj","__esModule","default","InfiniteScroll","_Component","instance","TypeError","_classCallCheck","this","_this","self","call","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","scrollListener","bind","eventListenerOptions","mousewheelListener","subClass","superClass","create","constructor","setPrototypeOf","_inherits","pageLoaded","options","attachScrollListener","isReverse","parentElement","getParentElement","scrollComponent","scrollTop","scrollHeight","beforeScrollHeight","beforeScrollTop","detachScrollListener","detachMousewheelListener","passive","testOptions","document","addEventListener","removeEventListener","useCapture","isPassiveSupported","defaultLoader","scrollEl","parentNode","el","scrollParent","getScrollParent","initialLoad","deltaY","preventDefault","offset","doc","documentElement","body","undefined","pageYOffset","calculateOffset","clientHeight","Number","threshold","offsetParent","calculateTopPosition","offsetHeight","innerHeight","offsetTop","_this2","renderProps","filterProps","ref","keys","indexOf","hasOwnProperty","_objectWithoutProperties","childrenArray","unshift","push","createElement","Component","propTypes","defaultProps"],"sourceRoot":""}