{"version":3,"sources":["../ui/src/components/player-components/autoPlay/autoPlayListIcon.tsx"],"sourcesContent":["import Image from \"next/image\";\r\nimport { useAppDispatch } from \"redux-share/hooks\";\r\nimport { setAutoPlayPopover, setRecommendListPopover } from \"redux-share/slices/popoversSlice\";\r\nimport { findFirstVideoInRecommendationList } from \"redux-share\";\r\n\r\nconst AutoPlayListIcon = () => {\r\n\r\n    const dispatch = useAppDispatch();\r\n    const recommendationVideo = findFirstVideoInRecommendationList();\r\n\r\n    const handleClickIcon = () => {\r\n        dispatch(setAutoPlayPopover(true));\r\n        dispatch(setRecommendListPopover(true));\r\n    }\r\n\r\n    return (        \r\n        <div className=\"pl-absolute pl-bottom-[150%] pl-right-6 pl-flex pl-items-center pl-gap-1\" onClick={handleClickIcon}>\r\n            <div className=\"pl-relative pl-w-[105px] pl-h-[51px] pl-rounded-[8px]\">\r\n                <div className=\"pl-w-full pl-flex pl-justify-center\">\r\n                    <div className=\"pl-w-[80%] pl-h-full pl-absolute pl-bottom-[20%] pl-flex pl-justify-center pl-opacity-70\">\r\n                        <Image src={recommendationVideo.banner} width={105} height={51} className=\"pl-rounded-[8px]\" />\r\n                    </div>\r\n                </div>\r\n                <Image src={recommendationVideo.banner} width={105} height={51} className=\"pl-rounded-[8px]\" />\r\n            </div>\r\n            <p className=\"pl-w-[125px] pl-text-white\">ویدیوهای بیشتر کلیک کنید</p>\r\n        </div>\r\n    )\r\n}\r\n\r\nexport default AutoPlayListIcon"],"mappings":"8KAAAA,IAAA,OAAOC,MAAW,aAiBN,OAGY,OAAAC,EAHZ,QAAAC,MAAA,oBAZZ,IAAMC,EAAmB,IAAM,CAE3B,IAAMC,EAAWC,EAAe,EAC1BC,EAAsBC,EAAmC,EAO/D,OACIL,EAAC,OAAI,UAAU,2EAA2E,QANtE,IAAM,CAC1BE,EAASI,EAAmB,EAAI,CAAC,EACjCJ,EAASK,EAAwB,EAAI,CAAC,CAC1C,EAIQ,UAAAP,EAAC,OAAI,UAAU,wDACX,UAAAD,EAAC,OAAI,UAAU,sCACX,SAAAA,EAAC,OAAI,UAAU,2FACX,SAAAA,EAACS,EAAA,CAAM,IAAKJ,EAAoB,OAAQ,MAAO,IAAK,OAAQ,GAAI,UAAU,mBAAmB,EACjG,EACJ,EACAL,EAACS,EAAA,CAAM,IAAKJ,EAAoB,OAAQ,MAAO,IAAK,OAAQ,GAAI,UAAU,mBAAmB,GACjG,EACAL,EAAC,KAAE,UAAU,6BAA6B,6IAAwB,GACtE,CAER,EAEOU,EAAQR","names":["init_esm_shims","Image","jsx","jsxs","AutoPlayListIcon","dispatch","useAppDispatch","recommendationVideo","findFirstVideoInRecommendationList","setAutoPlayPopover","setRecommendListPopover","Image","autoPlayListIcon_default"]}