{"version":3,"sources":["modules/app_sigo/components/MyUI/Types/Footer.tsx","../node_modules/reactstrap/es/Collapse.js"],"names":["connector","connect","state","dataFirstSetting","app","configKey","customer_support","class_name_icon","title","link","name","right_menu_without_icon","items_in_menu","item_link","item_title","app_download_info","qr_img_link","app_store_url","android_url","gg_play_img_link","app_store_img_link","show_app_download_info","right_menu_with_icon","class_name_item","payment_support","img_payment","payment_title","certificate","certificate_items","certificate_title","certificate_link","certificate_img","certificate_alt","follow_sigo","follow_list","icon_class_name","follow_icon_link","follow_title","icon_img_link","class_name","copyright","social_sigo","social_sigo_ic","social_sigo_link","rightTopMenu","right_top_menu","list","text","url","bottomFooter","keyMain","companyName","address","rightBottomHtml","OneRightMenu","props","itemsInMenu","useState","isShow","setIsShow","className","onClick","prevState","isOpen","length","map","item","i","itemLink","itemTitle","rel","href","OneOtherMenu","children","classnames","WrapCustomerSupport","styled","div","WrapRightMenu","WrapBottomFooter","WrapTopFooter","Wrap","footer","logo","HAuth","getUserLogoApp","dfLogo","HUtils","get","data","setData","setDownloadInfo","configFooter","HConfig","getConfigFooter","useEffect","renderCustomerSupport","customerSuportList","v","renderFollowSigov2","followSigo","target","renderRightMenu","keys","rightMenuItems","renderPaymentSupport","paymentSupport","Object","img","src","alt","renderCertificate","items","altText","rightHtml","dangerouslySetInnerHTML","__html","renderBottomFooter","type","html","_transitionStatusToCl","_excluded","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","propTypes","Transition","PropTypes","bool","oneOfType","arrayOf","node","tag","tagPropType","navbar","cssModule","innerRef","func","string","defaultProps","appear","enter","exit","timeout","TransitionTimeouts","Collapse","transitionStatusToClassHash","TransitionStatuses","ENTERING","ENTERED","EXITING","EXITED","getHeight","scrollHeight","_Component","_this","call","this","height","bind","_assertThisInitialized","_inheritsLoose","_proto","prototype","onEntering","isAppearing","setState","onEntered","onExit","onExiting","offsetHeight","onExited","render","_this2","_this$props","Tag","otherProps","_objectWithoutPropertiesLoose","transitionProps","pick","TransitionPropTypeKeys","childProps","omit","React","createElement","_extends","in","status","collapseClass","getTransitionClass","classes","mapToCssModules","classNames","style","ref","Component"],"mappings":"0PAoBMA,EAAYC,aARM,SAAAC,GAAK,MAAK,CAChCC,iBAAkBD,EAAME,IAAID,oBAGH,IAOrBE,EAAY,CAChBC,iBAAkB,mBAClBC,gBAAiB,kBACjBC,MAAO,QACPC,KAAM,OACNC,KAAM,OAENC,wBAAyB,0BACzBC,cAAe,gBACfC,UAAW,OACXC,WAAY,aAEZC,kBAAmB,oBACnBC,YAAa,cACbC,cAAe,gBACfC,YAAa,cACbC,iBAAkB,uBAClBC,mBAAoB,qBACpBC,uBAAwB,yBAExBC,qBAAsB,uBACtBC,gBAAiB,kBACjBC,gBAAiB,kBACjBC,YAAa,cACbC,cAAe,QAEfC,YAAa,cACbC,kBAAmB,oBACnBC,kBAAmB,QACnBC,iBAAkB,OAClBC,gBAAiB,MACjBC,gBAAiB,WAEjBC,YAAa,cACbC,YAAa,cACbC,gBAAiB,kBACjBC,iBAAkB,OAClBC,aAAc,QACdC,cAAe,gBACfC,WAAY,aAEZC,UAAW,YAEXC,YAAa,cACbC,eAAgB,cAChBC,iBAAkB,OAElBC,aAAc,CACZC,eAAgB,iBAChBC,KAAM,OACNtC,MAAO,QACPuC,KAAM,OACNC,IAAK,OAEPC,aAAc,CACZC,QAAS,gBACTC,YAAa,eACbC,QAAS,UACTZ,UAAW,YACXa,gBAAiB,sBAGfC,EAAe,SAAAC,GACnB,IAAQC,EAAuBD,EAAvBC,YAAahD,EAAU+C,EAAV/C,MACrB,EAA4BiD,oBAAS,GAArC,mBAAOC,EAAP,KAAeC,EAAf,KACA,OACE,sBAAKC,UAAU,gEAAf,UACE,sBACEA,UAAU,qBACVC,QAAS,WACPF,GAAU,SAAAG,GAAS,OAAKA,MAH5B,UAME,mBAAGF,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AKH,EAAYI,KACnCC,EAAaC,YAAKN,EAAYI,KAClC,OAAoBG,IAAMC,cAAc1D,aAAY2D,YAAS,GAAIP,EAAiB,CAChFQ,GAAI5I,EACJsH,WAAYP,KAAKO,WACjBG,UAAWV,KAAKU,UAChBC,OAAQX,KAAKW,OACbC,UAAWZ,KAAKY,UAChBE,SAAUd,KAAKc,YACb,SAAUgB,GACZ,IAAIC,EAxFV,SAA4BD,GAC1B,OAAOzC,EAA4ByC,IAAW,WAuFtBE,CAAmBF,GACnCG,EAAUC,YAAgBC,IAAWrJ,EAAWiJ,EAAetD,GAAU,mBAAoBC,GAC7F0D,EAAmB,OAAXnC,EAAkB,KAAO,CACnCA,OAAQA,GAEV,OAAoByB,IAAMC,cAAcT,EAAKU,YAAS,GAAIJ,EAAY,CACpEY,MAAO7E,EAAcA,EAAc,GAAIiE,EAAWY,OAAQA,GAC1DtJ,UAAWmJ,EACXI,IAAKrB,EAAOvI,MAAMkG,WAChBhF,OAIDyF,EA7FmB,CA8F1BkD,aAEFlD,EAASpB,UAAYA,EACrBoB,EAASN,aAAeA,EACTM","file":"static/js/201.276eee55.chunk.js","sourcesContent":["import styled from \"styled-components\"\r\nimport { HUtils, MyUI, MyIcon } from \"@macashipo/mlib\"\r\nimport { HAuth, HConfig } from \"src/core/helpers\"\r\nimport { useEffect, useState } from \"react\"\r\nimport { FaChevronDown, FaChevronUp } from \"react-icons/fa\"\r\nimport { ConnectedProps, connect } from \"react-redux\"\r\nimport { Collapse } from \"reactstrap\"\r\nimport classnames from \"classnames\"\r\nimport imgGGPlayStore from \"src/modules/app_sigo/assets/imgs/gplay.jpg\"\r\nimport imgAppleStore from \"src/modules/app_sigo/assets/imgs/ios.jpg\"\r\nimport dfLogo from \"src/modules/app_sigo/images/logo-sigo.png\"\r\n\r\nconst mapStateToProps = state => ({\r\n dataFirstSetting: state.app.dataFirstSetting,\r\n})\r\n\r\nconst mapDispatchToProps = {\r\n // logout,\r\n}\r\n\r\nconst connector = connect(mapStateToProps, mapDispatchToProps)\r\ninterface Props extends ConnectedProps {}\r\n\r\nconst configKey = {\r\n customer_support: \"customer_support\",\r\n class_name_icon: \"class_name_icon\",\r\n title: \"title\",\r\n link: \"link\",\r\n name: \"name\",\r\n // right menu\r\n right_menu_without_icon: \"right_menu_without_icon\",\r\n items_in_menu: \"items_in_menu\",\r\n item_link: \"link\",\r\n item_title: \"item_title\",\r\n // app download\r\n app_download_info: \"app_download_info\",\r\n qr_img_link: \"qr_code_url\",\r\n app_store_url: \"app_store_url\",\r\n android_url: \"android_url\",\r\n gg_play_img_link: \"google_play_img_link\",\r\n app_store_img_link: \"app_store_img_link\",\r\n show_app_download_info: \"show_app_download_info\",\r\n // payment support\r\n right_menu_with_icon: \"right_menu_with_icon\",\r\n class_name_item: \"class_name_item\",\r\n payment_support: \"payment_support\",\r\n img_payment: \"img_payment\",\r\n payment_title: \"title\",\r\n // certificate\r\n certificate: \"certificate\",\r\n certificate_items: \"certificate_items\",\r\n certificate_title: \"title\",\r\n certificate_link: \"link\",\r\n certificate_img: \"img\",\r\n certificate_alt: \"alt_text\",\r\n // Follow\r\n follow_sigo: \"follow_sigo\",\r\n follow_list: \"follow_list\",\r\n icon_class_name: \"icon_class_name\",\r\n follow_icon_link: \"link\",\r\n follow_title: \"title\",\r\n icon_img_link: \"icon_img_link\",\r\n class_name: \"class_name\",\r\n //copyright\r\n copyright: \"copyright\",\r\n // New follow\r\n social_sigo: \"social_list\",\r\n social_sigo_ic: \"social_icon\",\r\n social_sigo_link: \"link\",\r\n // New right menu\r\n rightTopMenu: {\r\n right_top_menu: \"right_top_menu\",\r\n list: \"list\",\r\n title: \"title\",\r\n text: \"text\",\r\n url: \"url\",\r\n },\r\n bottomFooter: {\r\n keyMain: \"footer_bottom\",\r\n companyName: \"company_name\",\r\n address: \"address\",\r\n copyright: \"copyright\",\r\n rightBottomHtml: \"right_bottom_html\",\r\n },\r\n}\r\nconst OneRightMenu = props => {\r\n const { itemsInMenu, title } = props\r\n const [isShow, setIsShow] = useState(false)\r\n return (\r\n
\r\n {\r\n setIsShow(prevState => !prevState)\r\n }}\r\n >\r\n

{title}

\r\n {isShow ? : }\r\n
\r\n \r\n
\r\n {itemsInMenu && itemsInMenu?.length > 0 && (\r\n
    \r\n {itemsInMenu.map((item, i) => {\r\n const itemLink = item?.url || \"\"\r\n const itemTitle = item?.text || \"\"\r\n return (\r\n
  • \r\n \r\n {itemTitle}\r\n \r\n
  • \r\n )\r\n })}\r\n
\r\n )}\r\n
\r\n
\r\n \r\n )\r\n}\r\nconst OneOtherMenu = props => {\r\n const { className, title, children } = props\r\n const [isShow, setIsShow] = useState(false)\r\n return (\r\n
\r\n {\r\n setIsShow(prevState => !prevState)\r\n }}\r\n >\r\n

{title}

\r\n {isShow ? : }\r\n
\r\n \r\n
{children}
\r\n
\r\n \r\n )\r\n}\r\nconst MyUIFooter = (props: Props) => {\r\n const { dataFirstSetting } = props\r\n const logo = HAuth.getUserLogoApp() || dfLogo\r\n const [data, setData] = useState(\r\n HUtils.get(dataFirstSetting, \"DefaultValues.websiteSetting.footer\") || {}\r\n )\r\n const [downloadInfo, setDownloadInfo] = useState(\r\n HUtils.get(\r\n dataFirstSetting,\r\n \"DefaultValues.websiteSetting.download_app_info\"\r\n ) || {}\r\n )\r\n const configFooter = HConfig.getConfigFooter()\r\n useEffect(() => {\r\n setData(HUtils.get(dataFirstSetting, \"DefaultValues.websiteSetting.footer\"))\r\n setDownloadInfo(\r\n HUtils.get(\r\n dataFirstSetting,\r\n \"DefaultValues.websiteSetting.download_app_info\"\r\n )\r\n )\r\n // eslint-disable-next-line\r\n }, [dataFirstSetting])\r\n const renderCustomerSupport = () => {\r\n const customerSuportList = data?.[configKey.customer_support]\r\n if (customerSuportList && customerSuportList?.length > 0) {\r\n return (\r\n <>\r\n {customerSuportList.map((v, i) => {\r\n const className = v?.[configKey.class_name]\r\n const classNameIcon = v?.[configKey.class_name_icon]\r\n const title = v?.[configKey.title]\r\n const link = v?.[configKey.link]\r\n const name = v?.[configKey.name]\r\n return (\r\n \r\n {/* */}\r\n {title}\r\n \r\n {name}\r\n \r\n \r\n )\r\n })}\r\n \r\n )\r\n }\r\n return <>\r\n }\r\n const renderFollowSigov2 = () => {\r\n const followSigo = data?.[configKey.social_sigo] || []\r\n if (followSigo && followSigo?.length > 0) {\r\n return (\r\n
\r\n {followSigo.map((v, i) => {\r\n const link = v?.[configKey.social_sigo_link]\r\n return (\r\n // eslint-disable-next-line\r\n \r\n \r\n \r\n )\r\n })}\r\n
\r\n )\r\n }\r\n }\r\n const renderRightMenu = () => {\r\n const keys = configKey.rightTopMenu\r\n const rightMenuItems = data?.[keys.right_top_menu]\r\n if (rightMenuItems && rightMenuItems?.length > 0) {\r\n return (\r\n <>\r\n {rightMenuItems.map((v, i) => {\r\n const itemsInMenu = v?.[keys.list]\r\n const title = v?.[keys.title]\r\n return (\r\n \r\n )\r\n })}\r\n \r\n )\r\n }\r\n return <>\r\n }\r\n const renderAppInfo = () => {\r\n const appDownloadInfo = data?.[configKey.app_download_info] || {}\r\n const isShowDownloadInfo =\r\n appDownloadInfo?.[configKey.show_app_download_info]\r\n // Lấy từ config download_app_info trong websiteSetting\r\n const qrImg = downloadInfo?.[configKey?.qr_img_link]\r\n const ggPlayLink = downloadInfo?.[configKey.android_url]\r\n const appStoreLink = downloadInfo?.[configKey.app_store_url]\r\n // Config link Image\r\n const ggPlayImg =\r\n appDownloadInfo?.[configKey.gg_play_img_link] || imgGGPlayStore\r\n const appStoreImg =\r\n appDownloadInfo?.[configKey.app_store_img_link] || imgAppleStore\r\n let canShowAppInfo = false\r\n if (\r\n isShowDownloadInfo &&\r\n downloadInfo &&\r\n Object.keys(downloadInfo)?.length > 0\r\n ) {\r\n canShowAppInfo = true\r\n }\r\n return (\r\n <>\r\n {canShowAppInfo && (\r\n \r\n
\r\n {qrImg && (\r\n \r\n )}\r\n
\r\n {appStoreLink && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n {ggPlayLink && (\r\n
\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n
\r\n
\r\n \r\n )}\r\n \r\n )\r\n // return (\r\n // <>\r\n // {canShowAppInfo && (\r\n //
\r\n //

TẢI ỨNG DỤNG SIGO

\r\n //
\r\n // {qrImg && (\r\n // \r\n // )}\r\n //
\r\n // {appStoreLink && (\r\n //
\r\n // \r\n // \r\n // \r\n //
\r\n // )}\r\n // {ggPlayLink && (\r\n //
\r\n // \r\n // \r\n // \r\n //
\r\n // )}\r\n //
\r\n //
\r\n //
\r\n //
\r\n // )}\r\n // \r\n // )\r\n }\r\n const renderPaymentSupport = () => {\r\n const paymentSupport = data?.[configKey.payment_support] || {}\r\n if (paymentSupport && Object.keys(paymentSupport)?.length > 0) {\r\n const title = paymentSupport?.[configKey.payment_title]\r\n const img = paymentSupport?.[configKey.img_payment]\r\n return (\r\n \r\n \"visa\"\r\n \r\n )\r\n // return (\r\n //
\r\n //

{title}

\r\n // \"visa\"\r\n //
\r\n // )\r\n }\r\n return <>\r\n }\r\n const renderCertificate = () => {\r\n const certificate = data?.[configKey.certificate] || {}\r\n if (certificate && Object.keys(certificate)?.length > 0) {\r\n const title = certificate?.[configKey.certificate_title]\r\n const items = certificate?.[configKey.certificate_items]\r\n return (\r\n \r\n {items &&\r\n items?.length > 0 &&\r\n items.map((v, i) => {\r\n const link = v?.[configKey.certificate_link]\r\n const img = v?.[configKey.certificate_img]\r\n const altText = v?.[configKey.certificate_alt]\r\n return (\r\n // eslint-disable-next-line\r\n \r\n \r\n \r\n )\r\n })}\r\n \r\n )\r\n // return (\r\n //
\r\n //

{title}

\r\n // {items &&\r\n // items?.length > 0 &&\r\n // items.map((v, i) => {\r\n // const link = v?.[configKey.certificate_link]\r\n // const img = v?.[configKey.certificate_img]\r\n // const altText = v?.[configKey.certificate_alt]\r\n // return (\r\n // \r\n // \r\n // \r\n // )\r\n // })}\r\n //
\r\n // )\r\n }\r\n return <>\r\n }\r\n const renderTopFooter = () => {\r\n return (\r\n \r\n \r\n \r\n {renderCustomerSupport()}\r\n {renderFollowSigov2()}\r\n \r\n \r\n
\r\n {renderRightMenu()}\r\n {/* {renderAppInfo()} */}\r\n
\r\n
\r\n {renderPaymentSupport()}\r\n
\r\n
\r\n {renderCertificate()}\r\n {/* {renderFollowSigo()} */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n const renderBottomFooter = () => {\r\n const keys = configKey.bottomFooter\r\n const bottomFooter = data?.[keys.keyMain]\r\n const rightHtml = bottomFooter?.[keys.rightBottomHtml] || \"\"\r\n const copyright = bottomFooter?.[keys.copyright] || \"\"\r\n const address = bottomFooter?.[keys.address] ?? \"\"\r\n return (\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {rightHtml && (\r\n
\r\n \r\n
\r\n )}\r\n \r\n {copyright && (\r\n \r\n )}\r\n
\r\n )\r\n }\r\n if (data && Object.keys(data)?.length > 0) {\r\n return (\r\n \r\n
\r\n {renderTopFooter()}\r\n {renderBottomFooter()}\r\n
\r\n
\r\n )\r\n }\r\n return (\r\n \r\n )\r\n}\r\nconst WrapCustomerSupport = styled.div`\r\n & .mt-am-10px {\r\n margin-top: -10px !important;\r\n }\r\n & .support-item {\r\n color: var(--color-text-6a6666);\r\n font-size: 16px;\r\n b {\r\n font-weight: 700;\r\n }\r\n a {\r\n color: var(--color-text-6a6666);\r\n }\r\n }\r\n & .one-social-item {\r\n padding-right: 10px;\r\n }\r\n & .wrap-social {\r\n margin-top: 20px;\r\n }\r\n`\r\nconst WrapRightMenu = styled.div`\r\n & .title-foot {\r\n color: var(--color-text-000);\r\n font-weight: 700;\r\n font-size: 16px;\r\n }\r\n & .one-link {\r\n padding-bottom: 5px;\r\n a {\r\n color: var(--color-text-000);\r\n font-size: 16px;\r\n }\r\n }\r\n @media (max-width: 991px) {\r\n & .infof2 {\r\n margin-top: 20px;\r\n }\r\n }\r\n @media (max-width: 767px) {\r\n & .infof2 {\r\n margin-top: 0px;\r\n }\r\n }\r\n`\r\nconst WrapBottomFooter = styled.div`\r\n color: #686666;\r\n & .company-name {\r\n font-weight: 700;\r\n }\r\n & .d-flex {\r\n // justify-content: space-between;\r\n }\r\n & .wrap-copyright {\r\n margin-top: 20px;\r\n }\r\n @media (min-width: 992px) {\r\n & .left {\r\n width: 55.55%;\r\n padding-right: 10px;\r\n }\r\n & .right {\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n }\r\n }\r\n @media (max-width: 991px) {\r\n text-align: center;\r\n & .d-flex {\r\n flex-direction: column;\r\n }\r\n & .right {\r\n margin-top: 10px;\r\n }\r\n }\r\n`\r\nconst WrapTopFooter = styled.div``\r\nconst Wrap = styled.footer`\r\n padding: 50px 0px 30px 0px;\r\n background: var(--color-text-fff);\r\n font-size: 14px;\r\n border-top: 1px solid var(--color-border-d7d7d7);\r\n hr {\r\n border-color: var(--color-border-d7d7d7);\r\n margin-bottom: 5px;\r\n }\r\n &.c-footer {\r\n height: unset;\r\n & .container {\r\n overflow: hidden;\r\n }\r\n }\r\n & .my-collapse {\r\n align-items: center;\r\n svg {\r\n display: none;\r\n }\r\n }\r\n & .lbct {\r\n margin-right: 10px;\r\n }\r\n & .qrimg {\r\n margin-right: 5px;\r\n }\r\n @media (min-width: 992px) {\r\n .col-md-offset-1 {\r\n margin-left: 8.33333333%;\r\n }\r\n & .collapse-mobile-special {\r\n & .collapse {\r\n display: block;\r\n }\r\n }\r\n }\r\n @media (min-width: 768px) {\r\n .col-md-offset-1 {\r\n margin-left: 8.33333333%;\r\n }\r\n & .collapse-mobile {\r\n & .collapse {\r\n display: block;\r\n }\r\n }\r\n }\r\n @media (max-width: 1099px) {\r\n & .wpdownloadapp {\r\n display: block !important;\r\n }\r\n\r\n & .qrimg {\r\n margin-right: 0px;\r\n }\r\n }\r\n @media (max-width: 767px) {\r\n .col-xs-6 {\r\n width: 50%;\r\n }\r\n & .wpdownloadapp {\r\n display: flex !important;\r\n }\r\n & .qrimg {\r\n margin-right: 5px;\r\n }\r\n }\r\n @media (max-width: 991px) {\r\n padding-top: 30px;\r\n & .collapse-mobile-special {\r\n margin-bottom: 0;\r\n padding: 0;\r\n & .my-collapse {\r\n background-color: #f4f4f4;\r\n border-bottom: 1px solid #efefef;\r\n padding: 10px 0.75rem 10px 10px;\r\n justify-content: space-between;\r\n }\r\n & .collapse-content {\r\n padding: 10px 16px;\r\n }\r\n & .my-collapse {\r\n padding-right: 10px;\r\n align-items: center;\r\n svg {\r\n margin-left: 10px;\r\n display: block;\r\n color: #000;\r\n }\r\n h4,\r\n svg {\r\n margin-bottom: 0px;\r\n }\r\n }\r\n }\r\n }\r\n @media (max-width: 767px) {\r\n padding-top: 30px;\r\n & .collapse-mobile {\r\n margin-bottom: 0;\r\n padding: 0;\r\n & .my-collapse {\r\n background-color: #f4f4f4;\r\n border-bottom: 1px solid #efefef;\r\n padding: 10px 0.75rem 10px 10px;\r\n justify-content: space-between;\r\n }\r\n & .collapse-content {\r\n padding: 10px 16px;\r\n }\r\n }\r\n & .my-collapse {\r\n padding-right: 10px;\r\n align-items: center;\r\n svg {\r\n margin-left: 10px;\r\n display: block;\r\n color: #000;\r\n }\r\n h4,\r\n svg {\r\n margin-bottom: 0px;\r\n }\r\n }\r\n }\r\n @media (max-width: 500px) {\r\n .col-xs-6 {\r\n width: 100%;\r\n }\r\n }\r\n`\r\nexport default connector(MyUIFooter)\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar _excluded = [\"tag\", \"isOpen\", \"className\", \"navbar\", \"cssModule\", \"children\", \"innerRef\"];\n\nvar _transitionStatusToCl;\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Transition } from 'react-transition-group';\nimport { mapToCssModules, omit, pick, TransitionTimeouts, TransitionPropTypeKeys, TransitionStatuses, tagPropType } from './utils';\n\nvar propTypes = _objectSpread(_objectSpread({}, Transition.propTypes), {}, {\n isOpen: PropTypes.bool,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n tag: tagPropType,\n className: PropTypes.node,\n navbar: PropTypes.bool,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.object])\n});\n\nvar defaultProps = _objectSpread(_objectSpread({}, Transition.defaultProps), {}, {\n isOpen: false,\n appear: false,\n enter: true,\n exit: true,\n tag: 'div',\n timeout: TransitionTimeouts.Collapse\n});\n\nvar transitionStatusToClassHash = (_transitionStatusToCl = {}, _transitionStatusToCl[TransitionStatuses.ENTERING] = 'collapsing', _transitionStatusToCl[TransitionStatuses.ENTERED] = 'collapse show', _transitionStatusToCl[TransitionStatuses.EXITING] = 'collapsing', _transitionStatusToCl[TransitionStatuses.EXITED] = 'collapse', _transitionStatusToCl);\n\nfunction getTransitionClass(status) {\n return transitionStatusToClassHash[status] || 'collapse';\n}\n\nfunction getHeight(node) {\n return node.scrollHeight;\n}\n\nvar Collapse = /*#__PURE__*/function (_Component) {\n _inheritsLoose(Collapse, _Component);\n\n function Collapse(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.state = {\n height: null\n };\n ['onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited'].forEach(function (name) {\n _this[name] = _this[name].bind(_assertThisInitialized(_this));\n });\n return _this;\n }\n\n var _proto = Collapse.prototype;\n\n _proto.onEntering = function onEntering(node, isAppearing) {\n this.setState({\n height: getHeight(node)\n });\n this.props.onEntering(node, isAppearing);\n };\n\n _proto.onEntered = function onEntered(node, isAppearing) {\n this.setState({\n height: null\n });\n this.props.onEntered(node, isAppearing);\n };\n\n _proto.onExit = function onExit(node) {\n this.setState({\n height: getHeight(node)\n });\n this.props.onExit(node);\n };\n\n _proto.onExiting = function onExiting(node) {\n // getting this variable triggers a reflow\n var _unused = node.offsetHeight; // eslint-disable-line no-unused-vars\n\n this.setState({\n height: 0\n });\n this.props.onExiting(node);\n };\n\n _proto.onExited = function onExited(node) {\n this.setState({\n height: null\n });\n this.props.onExited(node);\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n Tag = _this$props.tag,\n isOpen = _this$props.isOpen,\n className = _this$props.className,\n navbar = _this$props.navbar,\n cssModule = _this$props.cssModule,\n children = _this$props.children,\n innerRef = _this$props.innerRef,\n otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);\n\n var height = this.state.height;\n var transitionProps = pick(otherProps, TransitionPropTypeKeys);\n var childProps = omit(otherProps, TransitionPropTypeKeys);\n return /*#__PURE__*/React.createElement(Transition, _extends({}, transitionProps, {\n in: isOpen,\n onEntering: this.onEntering,\n onEntered: this.onEntered,\n onExit: this.onExit,\n onExiting: this.onExiting,\n onExited: this.onExited\n }), function (status) {\n var collapseClass = getTransitionClass(status);\n var classes = mapToCssModules(classNames(className, collapseClass, navbar && 'navbar-collapse'), cssModule);\n var style = height === null ? null : {\n height: height\n };\n return /*#__PURE__*/React.createElement(Tag, _extends({}, childProps, {\n style: _objectSpread(_objectSpread({}, childProps.style), style),\n className: classes,\n ref: _this2.props.innerRef\n }), children);\n });\n };\n\n return Collapse;\n}(Component);\n\nCollapse.propTypes = propTypes;\nCollapse.defaultProps = defaultProps;\nexport default Collapse;"],"sourceRoot":""}