{"version":3,"sources":["../ui/src/components/player-components/liveStatus/onlineViewer/onlineViewer.tsx"],"sourcesContent":["import { unitization } from \"helpers\";\r\nimport { useAppSelector } from \"redux-share/hooks\";\r\nimport OnlineViewersIcon from \"../../../icon-components/onlineViewerIcon\";\r\nimport { shallowEqual } from 'react-redux'\r\n\r\nconst OnlineViewer = () => {\r\n\r\n    const { onlineViewers } = useAppSelector(({ videoData: { onlineViewers } }) => ({ onlineViewers }), shallowEqual);\r\n\r\n    return ( \r\n        <div className=\"pl-flex pl-items-center pl-justify-center pl-gap-0.5\">\r\n            <OnlineViewersIcon className=\"pl-w-3 pl-h-3 pl-stroke-dark-5\"/>\r\n            <div className=\"pl-flex pl-items-center pl-gap-0.5 pl-text-white pl-text-[12px] pl-font-normal pl-relative pl-top-[1px]\">\r\n                <div>{unitization(onlineViewers!).unit}</div>\r\n                <div>{unitization(onlineViewers!).value}</div>\r\n            </div>\r\n        </div>\r\n    )\r\n}\r\n\r\nexport default OnlineViewer;"],"mappings":"iMAAAA,IAGA,OAAS,gBAAAC,MAAoB,cAQjB,cAAAC,EACA,QAAAC,MADA,oBANZ,IAAMC,EAAe,IAAM,CAEvB,GAAM,CAAE,cAAAC,CAAc,EAAIC,EAAe,CAAC,CAAE,UAAW,CAAE,cAAAD,CAAc,CAAE,KAAO,CAAE,cAAAA,CAAc,GAAIJ,CAAY,EAEhH,OACIE,EAAC,OAAI,UAAU,uDACX,UAAAD,EAACK,EAAA,CAAkB,UAAU,iCAAgC,EAC7DJ,EAAC,OAAI,UAAU,0GACX,UAAAD,EAAC,OAAK,SAAAM,EAAYH,CAAc,EAAE,KAAK,EACvCH,EAAC,OAAK,SAAAM,EAAYH,CAAc,EAAE,MAAM,GAC5C,GACJ,CAER,EAEOI,EAAQL","names":["init_esm_shims","shallowEqual","jsx","jsxs","OnlineViewer","onlineViewers","useAppSelector","onlineViewerIcon_default","unitization","onlineViewer_default"]}