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A7B0D,EAAM1D,EAAN0D,OACzB,OACEpB,EAAAA,cAAAiN,GAAAA,EAAA,CACEtP,UAAc6C,GAAe,IAAIA,GACjC0M,OAAO,EACPzK,MAAM,EACN0K,UAAU,EACVC,WAAW,EACXC,SAAU,KACVrN,EAAAA,cAAAiN,GAAAA,EAAQK,KAAI,CAACC,KAAI,IAAMnM,EAAUtB,MAAOsB,IAG9C,ECnBA,GAA8B,4B,cCWjBoM,GAAc,SAAH9P,GAAgD,IAA1C0D,EAAM1D,EAAN0D,OAAW2F,GAAK2E,EAAAA,GAAAA,GAAAhO,EAAAiO,IAC5C,OACE3L,EAAAA,cAACyN,GAAcnO,OAAAgH,OAAA,GACTS,EAAK,CACTpJ,UAAW4C,IAAGC,GAAoBuG,EAAMpJ,WACxC2N,eAAgB,SAAC3E,EAAGE,GAAa,OAC/B7G,EAAAA,cAAAA,EAAAA,SAAA,KACGoB,GAAUpB,EAAAA,cAACmB,GAAQ,CAACC,OAAQA,IAC5ByF,EACA,IAIX,E,wBCda6G,GAAQ,SAAHhQ,GAA4C,IAAtCC,EAASD,EAATC,UAAWgQ,EAAOjQ,EAAPiQ,QACzB1P,GAAMvB,EAAAA,EAAAA,KAANuB,EACR,OACE+B,EAAAA,cAAC4N,GAAAA,EAAS,CACRjQ,UAAW4C,IAAG,UAAW5C,GACzBkQ,eAAe,EACf/N,MAAO7B,EAAE,gCACT6P,KAAM7P,EAAE,mCACR8P,OACE/N,EAAAA,cAAAgO,GAAAA,EAAA,CACErQ,UAAU,2BACV0E,KAAK,UACLiG,QAASqF,GACR1P,EAAE,oCAKb,C,wDC7BO,IAAMoD,EAAa,S","sources":["assets/imgs/icon_creator.svg","assets/imgs/icon_seller.svg","hooks/useI18nTimeFormat.ts","webpack://main/./src/pages/SegmentedHomepage/components/CollapsePanel/Collapse/index.scss?abf6","pages/SegmentedHomepage/components/CollapsePanel/Collapse/index.tsx","pages/SegmentedHomepage/components/CollapsePanel/Collapse/index.ViewHook.ts","pages/SegmentedHomepage/components/CollapsePanel/index.tsx","pages/SegmentedHomepage/components/CollapsePanel/index.ViewHook.ts","webpack://main/./src/pages/SegmentedHomepage/components/ListPanel/index.scss?e2ce","pages/SegmentedHomepage/components/ListPanel/index.tsx","pages/SegmentedHomepage/components/ListPanel/index.ViewHook.ts","webpack://main/./src/pages/SegmentedHomepage/components/ArticleCard/index.scss?04b2","webpack://main/./src/components/label-tag-gray-theme/index.scss?a1d7","components/label-tag-gray-theme/index.tsx","pages/SegmentedHomepage/components/ArticleCard/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/ListWidget/index.scss?9160","pages/SegmentedHomepage/components/ListWidget/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/Skeleton/Content/index.scss?38ab","pages/SegmentedHomepage/components/Skeleton/Content/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/Skeleton/Menu/index.scss?559f","pages/SegmentedHomepage/components/Skeleton/Menu/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/Skeleton/Card/index.scss?e0b1","pages/SegmentedHomepage/components/Skeleton/Card/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/Skeleton/CardList/index.scss?94ce","pages/SegmentedHomepage/components/Skeleton/CardList/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/Skeleton/Framework/index.scss?6038","pages/SegmentedHomepage/components/Skeleton/Framework/index.tsx","webpack://main/../../features/components/contents-tree-v2/index.scss?f500","../../../features/components/contents-tree-v2/constants.ts","../../../features/components/contents-tree-v2/index.Mapper.ts","../../../features/components/contents-tree-v2/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/AnchorTo/index.scss?9694","pages/SegmentedHomepage/components/AnchorTo/index.tsx","webpack://main/./src/pages/SegmentedHomepage/components/ContentMenu/index.scss?b438","pages/SegmentedHomepage/components/ContentMenu/index.tsx","pages/SegmentedHomepage/components/Error/index.tsx","pages/SegmentedHomepage/constants/index.ts"],"sourcesContent":["var _path, _path2;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nfunction SvgIconCreator(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 17,\n height: 16,\n viewBox: \"0 0 17 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 2C2 1.44772 2.44772 1 3 1H14C14.5523 1 15 1.44772 15 2V13.4804C15 14.1991 14.2645 14.6831 13.6044 14.3988L8.89562 12.3704C8.64309 12.2616 8.35691 12.2616 8.10438 12.3704L3.39562 14.3988C2.73555 14.6831 2 14.1991 2 13.4804V2Z\",\n fill: \"#1D1D1D\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.5 3L9.6932 4.8577L11.8287 5.41844L10.4306 7.1273L10.5572 9.33156L8.5 8.53L6.44275 9.33156L6.56936 7.1273L5.1713 5.41844L7.3068 4.8577L8.5 3Z\",\n fill: \"white\"\n })));\n}\nexport default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMkMyIDEuNDQ3NzIgMi40NDc3MiAxIDMgMUgxNEMxNC41NTIzIDEgMTUgMS40NDc3MiAxNSAyVjEzLjQ4MDRDMTUgMTQuMTk5MSAxNC4yNjQ1IDE0LjY4MzEgMTMuNjA0NCAxNC4zOTg4TDguODk1NjIgMTIuMzcwNEM4LjY0MzA5IDEyLjI2MTYgOC4zNTY5MSAxMi4yNjE2IDguMTA0MzggMTIuMzcwNEwzLjM5NTYyIDE0LjM5ODhDMi43MzU1NSAxNC42ODMxIDIgMTQuMTk5MSAyIDEzLjQ4MDRWMloiIGZpbGw9IiMxRDFEMUQiLz4KPHBhdGggZD0iTTguNSAzTDkuNjkzMiA0Ljg1NzdMMTEuODI4NyA1LjQxODQ0TDEwLjQzMDYgNy4xMjczTDEwLjU1NzIgOS4zMzE1Nkw4LjUgOC41M0w2LjQ0Mjc1IDkuMzMxNTZMNi41NjkzNiA3LjEyNzNMNS4xNzEzIDUuNDE4NDRMNy4zMDY4IDQuODU3N0w4LjUgM1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=\";\nexport { SvgIconCreator as ReactComponent };","var _circle, _path, _path2;\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nimport * as React from \"react\";\nfunction SvgIconSeller(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 17,\n height: 16,\n viewBox: \"0 0 17 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 8.5,\n cy: 2.5,\n r: 2.5,\n fill: \"#1D1D1D\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 10C2 7.79086 3.79086 6 6 6H11C13.2091 6 15 7.79086 15 10V13C15 13.5523 14.5523 14 14 14H3C2.44772 14 2 13.5523 2 13V10Z\",\n fill: \"#1D1D1D\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.42929 7.08145C8.46834 7.0424 8.53166 7.0424 8.57071 7.08145L9.90613 8.41687C9.93466 8.4454 9.94325 8.48828 9.92791 8.5256L8.59249 11.7749C8.55853 11.8576 8.44147 11.8576 8.40751 11.7749L7.07209 8.5256C7.05675 8.48828 7.06534 8.4454 7.09387 8.41687L8.42929 7.08145Z\",\n fill: \"white\"\n })));\n}\nexport default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNyAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iOC41IiBjeT0iMi41IiByPSIyLjUiIGZpbGw9IiMxRDFEMUQiLz4KPHBhdGggZD0iTTIgMTBDMiA3Ljc5MDg2IDMuNzkwODYgNiA2IDZIMTFDMTMuMjA5MSA2IDE1IDcuNzkwODYgMTUgMTBWMTNDMTUgMTMuNTUyMyAxNC41NTIzIDE0IDE0IDE0SDNDMi40NDc3MiAxNCAyIDEzLjU1MjMgMiAxM1YxMFoiIGZpbGw9IiMxRDFEMUQiLz4KPHBhdGggZD0iTTguNDI5MjkgNy4wODE0NUM4LjQ2ODM0IDcuMDQyNCA4LjUzMTY2IDcuMDQyNCA4LjU3MDcxIDcuMDgxNDVMOS45MDYxMyA4LjQxNjg3QzkuOTM0NjYgOC40NDU0IDkuOTQzMjUgOC40ODgyOCA5LjkyNzkxIDguNTI1Nkw4LjU5MjQ5IDExLjc3NDlDOC41NTg1MyAxMS44NTc2IDguNDQxNDcgMTEuODU3NiA4LjQwNzUxIDExLjc3NDlMNy4wNzIwOSA4LjUyNTZDNy4wNTY3NSA4LjQ4ODI4IDcuMDY1MzQgOC40NDU0IDcuMDkzODcgOC40MTY4N0w4LjQyOTI5IDcuMDgxNDVaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K\";\nexport { SvgIconSeller as ReactComponent };","import { useTranslation } from '@jupiter/plugin-runtime/i18n';\nimport { REGION_NAME } from '@features/runtime/config';\nimport { localeFormatTimeDayjs, getLocaleFormat } from '@oec-seller/lib';\n\ntype ILocaleFormatTime = Parameters[0];\n\nexport const useI18nTimeFormat = () => {\n const {\n i18n: { language },\n } = useTranslation();\n const tFormat = (\n time: ILocaleFormatTime['time'] | null | undefined,\n signal: ILocaleFormatTime['signal'],\n ) => {\n if (!time) {\n return '- -';\n }\n const { length } = String(time).toString();\n const timeStamp = length === 10 ? Number(time) * 1000 : Number(time);\n\n return localeFormatTimeDayjs({\n region: REGION_NAME,\n language,\n time: timeStamp,\n signal,\n });\n };\n\n const getFormat = (signal: ILocaleFormatTime['signal']) => {\n return getLocaleFormat({ region: REGION_NAME, language, signal });\n };\n\n return { tFormat, localeFormatTimeDayjs, getFormat };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Collapse\":\"index__Collapse--vO014\",\"collapse\":\"index__Collapse--vO014\",\"CollapseExpand\":\"index__CollapseExpand--7lUc5\",\"collapseExpand\":\"index__CollapseExpand--7lUc5\",\"CollapseItemIcon\":\"index__CollapseItemIcon--NN8Pw\",\"collapseItemIcon\":\"index__CollapseItemIcon--NN8Pw\",\"CollapseAnchor\":\"index__CollapseAnchor--0oMSh\",\"collapseAnchor\":\"index__CollapseAnchor--0oMSh\"};","import React, { ReactNode, useEffect } from 'react';\nimport cx from 'classnames';\nimport { useTranslation } from '@jupiter/plugin-runtime/i18n';\nimport { Collapse as CollapseArco } from '@m4b-design/components';\nimport { IconDown } from '@arco-design/iconbox-react-m4b-next';\nimport { CreatorStarlingKey, RoleType } from '@/constants';\nimport { TAB_TOP_ID } from '@/pages/SegmentedHomepage/constants';\nimport { AnchorTo } from '@/pages/SegmentedHomepage/components';\nimport sellerIcon from './imgs/SellerIcon.png';\nimport creatorIcon from './imgs/CreatorIcon.png';\nimport { useCollapse, UseCollapseOptions } from './index.ViewHook';\nimport styles from './index.scss';\nimport { ContentsType } from '@/api/seller/serv/oec_seller_learning_center_api';\nimport { useUpdateEffect } from '@byted/hooks';\nimport { Tea } from '@features/libs/tea';\n\ninterface CollapseProps extends UseCollapseOptions {\n className?: string;\n sellerNode?: ReactNode;\n creatorNode?: ReactNode;\n tab: ContentsType;\n}\n\nexport const Collapse = ({\n className,\n sellerNode,\n creatorNode,\n defaultActiveKey,\n tab,\n onChange,\n}: CollapseProps) => {\n const { t } = useTranslation();\n const { active, handleChange } = useCollapse({\n defaultActiveKey,\n onChange,\n });\n useUpdateEffect(() => {\n Tea('button_click', {\n page_name: 'seller_university_homepage',\n module_name: 'menu_role_change',\n tab_name:\n Object.keys(ContentsType)[Object.values(ContentsType).indexOf(tab)],\n click_for: Object.keys(RoleType)[Object.values(RoleType).indexOf(active)],\n });\n }, [active, tab]);\n const options = [\n {\n name: RoleType.Seller.toString(),\n title: t('academy_content_role_seller'),\n icon: {'seller,\n content: sellerNode,\n },\n {\n name: RoleType.Creator.toString(),\n title: t(CreatorStarlingKey),\n icon: {'creator,\n content: creatorNode,\n },\n ];\n\n return (\n }\n onChange={handleChange}>\n {options.map(({ name, title, icon, content }) => {\n return (\n \n \n {icon}\n {title}\n \n ),\n }}>\n {content}\n \n );\n })}\n \n );\n};\n","import { useState } from 'react';\nimport { RoleType, RoleTypeMap } from '@/constants';\n\nexport interface UseCollapseOptions {\n defaultActiveKey?: RoleType;\n onChange?: (key: RoleType) => void;\n}\n\nexport const useCollapse = ({\n defaultActiveKey = RoleType.Seller,\n onChange,\n}: UseCollapseOptions) => {\n const [active, setActive] = useState(defaultActiveKey);\n const handleChange = (key: string) => {\n const roleType = RoleTypeMap[key];\n if (active !== roleType) {\n setActive(roleType);\n onChange?.(roleType);\n }\n };\n\n return {\n active,\n handleChange,\n };\n};\n","import React, { ReactNode } from 'react';\nimport cx from 'classnames';\nimport { RoleType } from '@/constants';\nimport { Collapse } from './Collapse';\nimport { useCollapsePanel, UseCollapsePanelOptions } from './index.ViewHook';\nimport { TAB_TOP_ID } from '@/pages/SegmentedHomepage/constants';\nimport { ContentsType } from '@/api/seller/serv/oec_seller_learning_center_api';\n\ninterface CollapsePanelProps extends UseCollapsePanelOptions {\n className?: string;\n forSeller: {\n menu: ReactNode;\n content: ReactNode;\n };\n forCreator: {\n menu: ReactNode;\n content: ReactNode;\n };\n rightNode?: ReactNode;\n tab: ContentsType;\n}\n\nexport const CollapsePanel = ({\n className,\n forSeller,\n forCreator,\n rightNode,\n tab,\n onChange,\n}: CollapsePanelProps) => {\n const { activeRole, handleChange } = useCollapsePanel({ onChange });\n\n return (\n
\n
\n \n
\n
\n {activeRole === RoleType.Seller\n ? forSeller.content\n : forCreator.content}\n
\n {rightNode}\n
\n );\n};\n","import { useEffect, useMemo } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { getQuery, setQuery } from '@i18n-ecom/lib/dist/commonjs/url';\nimport { ROLE_KEY, RoleType, RoleTypeMap, RoleTypeString } from '@/constants';\nimport { useUserModel } from '@/models';\n\nexport interface UseCollapsePanelOptions {\n onChange?: (type: RoleType) => void;\n}\n\nexport const useCollapsePanel = ({ onChange }: UseCollapsePanelOptions) => {\n const history = useHistory();\n const { roleType } = useUserModel(({ roleType }) => [roleType]);\n const activeRole = useMemo(() => {\n return RoleTypeMap[\n getQuery(history.location.search, ROLE_KEY)?.toString() ||\n roleType ||\n RoleType.Seller\n ];\n }, [history.location.search]);\n const handleChange = (type: RoleType) => {\n onChange?.(type);\n history.push({\n search: setQuery(history.location.search, ROLE_KEY, RoleTypeString[type]),\n hash: history.location.hash,\n });\n };\n\n useEffect(() => {\n handleChange(activeRole);\n }, []);\n\n return {\n activeRole,\n handleChange,\n };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ListPanel\":\"index__ListPanel--UMBy3\",\"listPanel\":\"index__ListPanel--UMBy3\",\"ListPanelHeader\":\"index__ListPanelHeader--FgHJA\",\"listPanelHeader\":\"index__ListPanelHeader--FgHJA\",\"ListPanelContent\":\"index__ListPanelContent--BVE0E\",\"listPanelContent\":\"index__ListPanelContent--BVE0E\",\"ListPanelPagination\":\"index__ListPanelPagination--hiIdu\",\"listPanelPagination\":\"index__ListPanelPagination--hiIdu\"};","import React, { ReactNode } from 'react';\nimport cx from 'classnames';\nimport { Pagination } from '@m4b-design/components';\nimport { useListPanel, UseListPanelOptions } from './index.ViewHook';\nimport styles from './index.scss';\nimport { AnchorTo } from '@/pages/SegmentedHomepage/components';\nimport NoContentPage from '@features/components/no-content-page';\n\ninterface ListPanelProps extends UseListPanelOptions {\n className?: string;\n header: ReactNode;\n renderItem?: (item: T, index: number, pageNum: number) => ReactNode;\n renderLoading?: (\n total: number,\n pageNumber: number,\n pageSize: number,\n ) => ReactNode;\n}\n\nexport const ListPanel = ({\n className,\n id,\n header,\n fetch,\n pagination,\n renderItem,\n renderLoading,\n}: ListPanelProps) => {\n const {\n loading,\n error,\n pageNumber,\n defaultPageSize,\n total,\n items,\n handleChange,\n } = useListPanel({\n id,\n pagination,\n fetch,\n });\n\n return (\n
\n
{header}
\n {!error ? (\n <>\n
\n {!loading\n ? items.map((item, index) =>\n renderItem?.(item, index, pageNumber),\n )\n : renderLoading?.(total, pageNumber, defaultPageSize)}\n
\n (\n <>\n \n {originElement}\n \n )}\n {...pagination}\n />\n \n ) : (\n \n )}\n
\n );\n};\n","import { useTranslation } from '@jupiter/plugin-runtime/i18n';\nimport { useState, useEffect, useMemo } from 'react';\n\ninterface PageData {\n error?: boolean;\n total: number;\n items: T[];\n}\n\nexport interface UseListPanelOptions {\n id: number;\n pagination?: {\n defaultPageSize?: number;\n };\n fetch: (\n id: number,\n pageNumber: number,\n pageSize: number,\n ) => PageData | Promise>;\n}\n\nexport const useListPanel = ({\n id,\n pagination = {},\n fetch,\n}: UseListPanelOptions) => {\n const { i18n } = useTranslation();\n const { defaultPageSize = 8 } = pagination;\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(\n useMemo(() => {\n const data = fetch(id, 1, defaultPageSize);\n return typeof (data as PageData).items === 'undefined';\n }, []),\n );\n const [total, setTotal] = useState(0);\n const [items, setItems] = useState([]);\n const [pageNumber, setPageNumber] = useState(1);\n const loadData = async (page: number) => {\n const data = fetch(id, page, defaultPageSize);\n\n setError(false);\n\n if (typeof (data as PageData).items !== 'undefined') {\n const { total, items } = data as PageData;\n setLoading(false);\n setTotal(total);\n setItems(items);\n } else {\n setLoading(true);\n const { error, total, items } = await data;\n\n setLoading(false);\n setError(error === true);\n setTotal(total);\n setItems(items);\n }\n };\n const handleChange = (newPageNumber: number) => {\n setPageNumber(newPageNumber);\n loadData(newPageNumber);\n };\n\n useEffect(() => {\n setTotal(0);\n handleChange(1);\n }, [id]);\n\n useEffect(() => {\n loadData(pageNumber);\n }, [i18n.language]);\n\n return {\n id,\n loading,\n error,\n items,\n defaultPageSize,\n pageNumber,\n total,\n handleChange,\n };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ArticleCard\":\"index__ArticleCard--grCoH\",\"articleCard\":\"index__ArticleCard--grCoH\",\"ArticleCardBanner\":\"index__ArticleCardBanner--pK00f\",\"articleCardBanner\":\"index__ArticleCardBanner--pK00f\",\"content\":\"index__content--gZhUe\",\"title\":\"index__title--blXhu\",\"desc\":\"index__desc--+qWLU\",\"views\":\"index__views--raboL\",\"ArticleCardHorizontal\":\"index__ArticleCardHorizontal--9hItL\",\"articleCardHorizontal\":\"index__ArticleCardHorizontal--9hItL\",\"ContentImg\":\"index__ContentImg--Lgq-V\",\"contentImg\":\"index__ContentImg--Lgq-V\"};","// extracted by mini-css-extract-plugin\nexport default {\"labelTagContainer\":\"index__labelTagContainer--bJxVW\",\"labelTag\":\"index__labelTag--kMIfk\"};","import React, { useState } from 'react';\nimport { Tag } from '@m4b-design/components';\nimport { Tooltip } from '@m4b-design/components';\nimport { TagInfo } from '@/api/seller/serv/oec_seller_learning_center_api';\nimport styles from './index.scss';\nimport cx from 'classnames';\n\ninterface LabelTagProps {\n tagInfo?: TagInfo[];\n}\n\nconst TooltipTag = props => {\n const { item } = props;\n const [visible, setVisible] = useState(false);\n return (\n \n {\n if (visible) {\n setVisible(false);\n } else {\n setTimeout(() => {\n setVisible(!visible);\n }, 400);\n }\n }}>\n

{item.name}

\n \n
\n );\n};\n\nexport const LabelTag = ({ tagInfo }: LabelTagProps) => {\n return tagInfo?.length ? (\n \n {tagInfo\n ?.sort((a, b) => b?.highlight_flag! - a?.highlight_flag!)\n ?.slice(0, 3)\n ?.map(item => {\n return ;\n })}\n \n ) : null;\n};\n","import React, { ReactNode } from 'react';\nimport cx from 'classnames';\nimport { useTranslation } from '@jupiter/plugin-runtime/i18n';\nimport useTransViewCount from '@/hooks/useTransViewCount';\nimport styles from './index.scss';\nimport { LabelTag } from '@/components/label-tag-gray-theme';\nimport {\n LearningType,\n TagInfo,\n} from '@/api/seller/serv/oec_seller_learning_center_api';\n\ninterface ArticleCardProps {\n className?: string;\n direction?: 'horizontal' | 'vertical';\n poster: ReactNode;\n title: ReactNode;\n desc?: ReactNode;\n views?: number;\n onClick?: () => void;\n isRecommend?: boolean;\n tagInfo?: Array;\n learningType?: LearningType;\n count?: number;\n}\n\nexport const ArticleCard = ({\n className,\n direction = 'vertical',\n poster,\n title,\n desc,\n views,\n onClick,\n isRecommend = false,\n tagInfo = [],\n learningType,\n count,\n}: ArticleCardProps) => {\n const { t } = useTranslation();\n const isSrc = typeof poster === 'string' && /^https?:\\/\\/.*/.test(poster);\n // const viewsStr = views ? useTransViewCount(views) : '--';\n\n return (\n \n
\n {isSrc ? (\n
\n {'article\n {learningType === LearningType.Course && (count || 0) > 1 && (\n

\n {count} {t('academy_homepage_course_cover_lesson_plural')}\n

\n )}\n
\n ) : (\n poster\n )}\n
\n
\n
\n {!isRecommend && }\n
{title}
\n
{desc}
\n
\n {/*
\n {viewsStr} {t('academy_homepage_content_cover_views')}\n
*/}\n
\n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ListWidget\":\"index__ListWidget--UjFYc\",\"listWidget\":\"index__ListWidget--UjFYc\"};","import React, { ReactNode } from 'react';\nimport cx from 'classnames';\nimport styles from './index.scss';\n\ninterface ListWidgetProps {\n className?: string;\n header: ReactNode;\n items?: T[];\n renderItem?: (item: T, index: number) => void;\n}\n\nexport const ListWidget = ({\n className,\n header,\n items = [],\n renderItem,\n}: ListWidgetProps) => {\n return (\n
\n
{header}
\n
{items.map((item, index) => renderItem?.(item, index))}
\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Content\":\"index__Content--J6gfh\",\"content\":\"index__Content--J6gfh\"};","import React from 'react';\nimport cx from 'classnames';\nimport styles from './index.scss';\n\ninterface ContentProps {\n className?: string;\n}\n\nexport const Content = ({ className }: ContentProps) => {\n return (\n
\n
\n
\n
\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Menu\":\"index__Menu--OukdN\",\"menu\":\"index__Menu--OukdN\",\"MenuCircleLine\":\"index__MenuCircleLine--XVg-6\",\"menuCircleLine\":\"index__MenuCircleLine--XVg-6\"};","import React from 'react';\nimport cx from 'classnames';\nimport { Content } from '../Content';\nimport styles from './index.scss';\n\ninterface MenuProps {\n className?: string;\n}\n\nexport const Menu = ({ className }: MenuProps) => {\n return (\n
\n
\n \n
\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Card\":\"index__Card--8XMiW\",\"card\":\"index__Card--8XMiW\",\"CardHorizontal\":\"index__CardHorizontal--7bl+P\",\"cardHorizontal\":\"index__CardHorizontal--7bl+P\"};","import React from 'react';\nimport cx from 'classnames';\nimport { Content } from '../Content';\nimport styles from './index.scss';\n\ninterface CardProps {\n className?: string;\n direction?: 'horizontal' | 'vertical';\n}\n\nexport const Card = ({ className, direction = 'vertical' }: CardProps) => {\n return (\n \n \n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"CardList\":\"index__CardList--uW9wg\",\"cardList\":\"index__CardList--uW9wg\",\"CardListNoTitle\":\"index__CardListNoTitle--+tt1a\",\"cardListNoTitle\":\"index__CardListNoTitle--+tt1a\"};","import React from 'react';\nimport cx from 'classnames';\nimport { Card } from '../Card';\nimport styles from './index.scss';\n\ninterface CardListProps {\n className?: string;\n size?: number;\n direction?: 'horizontal' | 'vertical';\n noTitle?: boolean;\n}\n\nexport const CardList = ({\n className,\n size = 8,\n direction = 'vertical',\n noTitle = false,\n}: CardListProps) => {\n return (\n \n
\n {Array(size)\n .join(' ')\n .split(' ')\n .map((_, j) => {\n return ;\n })}\n
\n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"Framework\":\"index__Framework--I15be\",\"framework\":\"index__Framework--I15be\",\"FrameworkCircleLine\":\"index__FrameworkCircleLine--pj0mQ\",\"frameworkCircleLine\":\"index__FrameworkCircleLine--pj0mQ\",\"FrameworkLeft\":\"index__FrameworkLeft--QvAc-\",\"frameworkLeft\":\"index__FrameworkLeft--QvAc-\",\"FrameworkContent\":\"index__FrameworkContent--AmReR\",\"frameworkContent\":\"index__FrameworkContent--AmReR\",\"FrameworkRight\":\"index__FrameworkRight--kPGl3\",\"frameworkRight\":\"index__FrameworkRight--kPGl3\"};","import React from 'react';\nimport cx from 'classnames';\nimport { Menu } from '../Menu';\nimport { Content } from '../Content';\nimport { CardList } from '../CardList';\nimport styles from './index.scss';\n\ninterface FrameworkProps {\n className?: string;\n direction?: 'horizontal' | 'vertical';\n block?: number;\n item?: number;\n showLeft?: boolean;\n showContent?: boolean;\n showRight?: boolean;\n}\n\nexport const Framework = ({\n className,\n direction = 'vertical',\n block = 1,\n item = 8,\n showLeft = true,\n showContent = true,\n showRight = false,\n}: FrameworkProps) => {\n return (\n
\n {showLeft && }\n {showContent && (\n
\n {Array(block)\n .join(' ')\n .split(' ')\n .map((_, i) => (\n \n ))}\n
\n )}\n {showRight && (\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n )}\n
\n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"sideBar\":\"index__sideBar--b+s3C\",\"noArrow\":\"index__noArrow--oGHcN\"};","export enum MenuKey {\n Seller = '1',\n Creator = '2',\n}\n","import { MenuKey } from './constants';\nimport IconSeller from '@/assets/imgs/icon_seller.svg';\nimport IconCreator from '@/assets/imgs/icon_creator.svg';\n\nexport const IconMap = {\n [MenuKey.Seller]: IconSeller,\n [MenuKey.Creator]: IconCreator,\n};\n","import React, { FC, useState, useEffect, ReactNode } from 'react';\nimport cx from 'classnames';\nimport { Menu } from '@m4b-design/components';\nimport styles from './index.scss';\nimport { Contents } from '@/api/seller/serv/oec_seller_learning_center_api';\nimport { CourseContent } from 'main/src/api/seller/serv/oec_seller_learning_center_api';\nimport { IconMap } from './index.Mapper';\nimport { Tea } from '@features/libs/tea';\n\nexport interface ContentSTreeProps {\n className?: string;\n autoOpen?: boolean;\n defaultSelectedKeys?: string[];\n defaultOpenKeys?: string[];\n selectedKeys?: string[];\n contents?: Contents[] | CourseContent[];\n\n accordion?: boolean;\n renderMenuItem?: (name: string, originElement: ReactNode) => ReactNode;\n onClickMenuItem?(key: string, event: any, keyPath: string[]): void;\n onClickSubMenu?(key: string, openKeys: string[]): void;\n\n menuPage?: string;\n menuModule?: string;\n}\n\nconst ContentSTreeV2: FC = props => {\n const {\n className,\n contents,\n onClickSubMenu,\n accordion: propsAccordion,\n renderMenuItem = (_, originElement) => originElement,\n menuPage,\n menuModule,\n ...other\n } = props;\n\n const [accordion, setAccordion] = useState(false);\n const [openKeys, setOpenKeys] = useState(\n props.defaultOpenKeys ?? [],\n );\n\n useEffect(() => {\n // arco bug, when set accordion, defaultOpenKeys not work\n setTimeout(() => {\n setAccordion(propsAccordion);\n }, 10);\n }, []);\n\n const genMenus = (subContents?: Contents[] | CourseContent[]) => {\n if (!subContents) {\n return null;\n }\n return (\n subContents?.map(content => {\n const {\n content_id,\n sub_contents,\n\n // content_name, content_type for Contents[]\n content_name,\n content_type,\n // type, name for CourseContent[]\n type,\n name,\n } = content;\n\n if (!sub_contents?.length) {\n return (\n {\n Tea('button_click', {\n page_name: menuPage,\n module_name: menuModule,\n click_for: 'seller_university_menu_item',\n content_id: content_id,\n content_name: content_name,\n });\n }}\n className=\"gray-theme-menu\">\n {(content_type === 2 || type === 3) && (\n \n )}\n {renderMenuItem(\n content_name || name,\n \n {content_name || name}\n

,\n )}\n \n );\n } else {\n return (\n \n {IconMap[content_id] && (\n \n )}\n {content_name || name}\n

\n }\n className={cx('text-p4-semibold', {\n [styles.noArrow]: !!IconMap[content_id],\n /* [styles.selected]: openKeys?.includes(String(content_id)), */\n })}\n onClick={() => {\n Tea('button_click', {\n page_name: menuPage,\n module_name: menuModule,\n click_for: 'seller_university_menu_submenu',\n content_id: content_id,\n content_name: content_name,\n });\n }}>\n {genMenus(sub_contents)}\n \n );\n }\n }) ?? null\n );\n };\n\n return (\n
\n {\n setOpenKeys(openKeys);\n onClickSubMenu?.(key, openKeys);\n }}\n {...other}\n style={{ fontSize: 16, width: '100%' }}>\n {genMenus(contents)}\n \n
\n );\n};\n\nexport default ContentSTreeV2;\n","// extracted by mini-css-extract-plugin\nexport default {\"AnchorTo\":\"index__AnchorTo--hhbNh\",\"anchorTo\":\"index__AnchorTo--hhbNh\",\"Anchor\":\"index__Anchor--agQYI\",\"anchor\":\"index__Anchor--agQYI\"};","import React from 'react';\nimport { Anchor } from '@m4b-design/components';\nimport styles from './index.scss';\n\ninterface AnchorToProps {\n anchor: string;\n}\n\nexport const AnchorTo = ({ anchor }: AnchorToProps) => {\n return (\n \n \n \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ContentMenu\":\"index__ContentMenu--c1AUB\",\"contentMenu\":\"index__ContentMenu--c1AUB\"};","import React from 'react';\nimport cx from 'classnames';\nimport ContentsTreeV2, {\n ContentSTreeProps,\n} from '@features/components/contents-tree-v2';\nimport { AnchorTo } from '../AnchorTo';\nimport styles from './index.scss';\n\ninterface ContentMenuProps extends ContentSTreeProps {\n anchor?: string;\n}\n\nexport const ContentMenu = ({ anchor, ...props }: ContentMenuProps) => {\n return (\n (\n <>\n {anchor && }\n {originElement}\n \n )}\n />\n );\n};\n","import React from 'react';\nimport cx from 'classnames';\nimport { useTranslation } from '@jupiter/plugin-runtime/i18n';\nimport { Button } from '@m4b-design/components';\nimport { ErrorPage } from '@features/components/error-page';\n\ninterface ErrorProps {\n className?: string;\n onRetry?: () => void;\n}\n\nexport const Error = ({ className, onRetry }: ErrorProps) => {\n const { t } = useTranslation();\n return (\n \n {t('app_academy_load_fail_page_btn')}\n \n }\n />\n );\n};\n","export const TAB_TOP_ID = 'tab_top';\n"],"names":["useI18nTimeFormat","language","useTranslation","i18n","tFormat","time","signal","timeStamp","String","toString","length","Number","localeFormatTimeDayjs","region","REGION_NAME","getFormat","getLocaleFormat","Collapse","_ref","className","sellerNode","creatorNode","defaultActiveKey","tab","onChange","t","_useCollapse","_ref$defaultActiveKey","RoleType","Seller","_useState","useState","_useState2","_slicedToArray","active","setActive","handleChange","key","roleType","RoleTypeMap","useCollapse","useUpdateEffect","Tea","page_name","module_name","tab_name","Object","keys","ContentsType","values","indexOf","click_for","options","name","title","icon","React","src","alt","content","Creator","CreatorStarlingKey","_Collapse","cx","styles","activeKey","accordion","expandIconPosition","bordered","expandIcon","_IconDown","map","_ref2","Item","header","AnchorTo","anchor","TAB_TOP_ID","CollapsePanel","forSeller","forCreator","rightNode","_useCollapsePanel","history","useHistory","useUserModel","activeRole","useMemo","_getQuery","getQuery","location","search","ROLE_KEY","type","push","setQuery","RoleTypeString","hash","useEffect","useCollapsePanel","menu","ListPanel","id","fetch","pagination","renderItem","renderLoading","_useListPanel","_ref$pagination","_pagination$defaultPa","defaultPageSize","error","setError","_useState3","items","_useState4","loading","setLoading","_useState5","_useState6","total","setTotal","_useState7","_useState8","setItems","_useState9","_useState10","pageNumber","setPageNumber","loadData","_asyncToGenerator","_regeneratorRuntime","mark","_callee","page","data","_ref3","_total","_items","_yield$data","_error","_total2","_items2","wrap","_context","prev","next","sent","stop","_x","apply","arguments","newPageNumber","useListPanel","NoContentPage","item","index","_Pagination","assign","disabled","size","current","itemRender","_","__","originElement","TooltipTag","props","visible","setVisible","_Tag","_Tooltip","popupVisible","onVisibleChange","setTimeout","LabelTag","_tagInfo$sort","_tagInfo$sort$slice","tagInfo","sort","a","b","highlight_flag","slice","ArticleCard","_cx","_ref$direction","direction","poster","desc","onClick","views","_ref$isRecommend","isRecommend","_ref$tagInfo","learningType","count","isSrc","test","style","border","height","LearningType","Course","ListWidget","_ref$items","Content","Menu","Card","CardList","_ref$size","_ref$noTitle","noTitle","Array","join","split","j","Framework","_ref$block","block","_ref$item","_ref$showLeft","showLeft","_ref$showContent","showContent","_ref$showRight","showRight","i","MenuKey","IconMap","_IconMap","IconSeller","IconCreator","_props$defaultOpenKey","contents","onClickSubMenu","propsAccordion","_props$renderMenuItem","renderMenuItem","menuPage","menuModule","other","_objectWithoutProperties","_excluded","setAccordion","defaultOpenKeys","setOpenKeys","_Menu","levelIndent","_onClickSubMenu","_x2","openKeys","fontSize","width","genMenus","subContents","_subContents$map","content_id","sub_contents","content_name","content_type","SubMenu","display","require","marginTop","_Anchor","affix","lineless","animation","boundary","Link","href","ContentMenu","ContentsTreeV2","Error","onRetry","ErrorPage","hasNewVersion","text","button","_Button"],"sourceRoot":""}