cafe-video-player 2.4.9 → 2.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{VideoHighLighter-TCRPT5IP.mjs → VideoHighLighter-236S3I6U.mjs} +2 -2
- package/{VideoHighLighter-TCRPT5IP.mjs.map → VideoHighLighter-236S3I6U.mjs.map} +1 -1
- package/{VideoHighLighter-CF2XOGI5.js → VideoHighLighter-MW6GF2T5.js} +2 -2
- package/{VideoHighLighter-CF2XOGI5.js.map → VideoHighLighter-MW6GF2T5.js.map} +1 -1
- package/backwardForward-CJOJRD7O.mjs +2 -0
- package/{backwardForward-AZKSSCFQ.mjs.map → backwardForward-CJOJRD7O.mjs.map} +1 -1
- package/backwardForward-UTKLNFS4.js +2 -0
- package/{backwardForward-PWDMWFMB.js.map → backwardForward-UTKLNFS4.js.map} +1 -1
- package/chunk-5B2VQGDD.js +2 -0
- package/{chunk-EB2I6TVN.js.map → chunk-5B2VQGDD.js.map} +1 -1
- package/{chunk-A6GE7JVR.mjs → chunk-6BPSHFDT.mjs} +2 -2
- package/{chunk-A6GE7JVR.mjs.map → chunk-6BPSHFDT.mjs.map} +1 -1
- package/{chunk-F2C5C3HI.js → chunk-7JR7ZDFX.js} +2 -2
- package/chunk-7JR7ZDFX.js.map +1 -0
- package/{chunk-IK4SBZTS.mjs → chunk-7RQBQX3B.mjs} +2 -2
- package/{chunk-IK4SBZTS.mjs.map → chunk-7RQBQX3B.mjs.map} +1 -1
- package/chunk-BONKWHBU.js +2 -0
- package/{chunk-2DZLYHGU.js.map → chunk-BONKWHBU.js.map} +1 -1
- package/chunk-CDTCVLIA.js +2 -0
- package/{chunk-2KWCQIEQ.js.map → chunk-CDTCVLIA.js.map} +1 -1
- package/{chunk-GVMYW6V2.mjs → chunk-DE3RARXJ.mjs} +3 -3
- package/{chunk-GVMYW6V2.mjs.map → chunk-DE3RARXJ.mjs.map} +1 -1
- package/chunk-FABDJDJH.js +2 -0
- package/{chunk-4O5NY3UP.js.map → chunk-FABDJDJH.js.map} +1 -1
- package/{chunk-K7J3UFOV.mjs → chunk-FFDSCXU6.mjs} +2 -2
- package/{chunk-K7J3UFOV.mjs.map → chunk-FFDSCXU6.mjs.map} +1 -1
- package/{chunk-7LBCC3BO.mjs → chunk-ILCOBF6E.mjs} +2 -2
- package/{chunk-7LBCC3BO.mjs.map → chunk-ILCOBF6E.mjs.map} +1 -1
- package/{chunk-DDFF72BQ.mjs → chunk-IPIJCEX4.mjs} +2 -2
- package/chunk-IPIJCEX4.mjs.map +1 -0
- package/{chunk-2YKIFQ6C.mjs → chunk-MTLV3DSP.mjs} +4 -4
- package/chunk-MTLV3DSP.mjs.map +1 -0
- package/{chunk-2DUSBJXF.mjs → chunk-OZHMGJYD.mjs} +2 -2
- package/{chunk-2DUSBJXF.mjs.map → chunk-OZHMGJYD.mjs.map} +1 -1
- package/{chunk-N2HKTZOA.js → chunk-TJ4KKCBY.js} +2 -2
- package/{chunk-N2HKTZOA.js.map → chunk-TJ4KKCBY.js.map} +1 -1
- package/{chunk-ZZRZNN2I.js → chunk-TSY26DFB.js} +5 -5
- package/chunk-TSY26DFB.js.map +1 -0
- package/{chunk-4QQMQF6O.js → chunk-UPBW2I7K.js} +2 -2
- package/{chunk-4QQMQF6O.js.map → chunk-UPBW2I7K.js.map} +1 -1
- package/chunk-XMKCIFLC.mjs +2 -0
- package/{chunk-LDY7HB2V.mjs.map → chunk-XMKCIFLC.mjs.map} +1 -1
- package/chunk-YKPTJCIW.js +3 -0
- package/{chunk-U6DIKZH7.js.map → chunk-YKPTJCIW.js.map} +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/{nonStaticVideoTag-TBGUML3N.mjs → nonStaticVideoTag-2A5BZOCM.mjs} +2 -2
- package/{nonStaticVideoTag-TBGUML3N.mjs.map → nonStaticVideoTag-2A5BZOCM.mjs.map} +1 -1
- package/nonStaticVideoTag-4P2B5RJV.js +2 -0
- package/{nonStaticVideoTag-ZXAZLBRC.js.map → nonStaticVideoTag-4P2B5RJV.js.map} +1 -1
- package/package.json +1 -1
- package/staticPlayer-RAKOX2C5.js +2 -0
- package/{staticPlayer-LFWJLEL7.js.map → staticPlayer-RAKOX2C5.js.map} +1 -1
- package/staticPlayer-U3GVE534.mjs +2 -0
- package/{staticPlayer-4LQO3TWA.mjs.map → staticPlayer-U3GVE534.mjs.map} +1 -1
- package/{staticVideoTag-HJYGVSCC.mjs → staticVideoTag-ANYXF7MV.mjs} +2 -2
- package/{staticVideoTag-HJYGVSCC.mjs.map → staticVideoTag-ANYXF7MV.mjs.map} +1 -1
- package/staticVideoTag-DJKLIRYZ.js +2 -0
- package/{staticVideoTag-IXLQA5QO.js.map → staticVideoTag-DJKLIRYZ.js.map} +1 -1
- package/{touchVolumeBrightness-M4C4DA5M.mjs → touchVolumeBrightness-GQ5WO5IF.mjs} +3 -3
- package/{touchVolumeBrightness-M4C4DA5M.mjs.map → touchVolumeBrightness-GQ5WO5IF.mjs.map} +1 -1
- package/{touchVolumeBrightness-F5L3E4KG.js → touchVolumeBrightness-QH2FF73B.js} +3 -3
- package/{touchVolumeBrightness-F5L3E4KG.js.map → touchVolumeBrightness-QH2FF73B.js.map} +1 -1
- package/videoArea-33EORUFK.mjs +2 -0
- package/{videoArea-QK4TYLHQ.mjs.map → videoArea-33EORUFK.mjs.map} +1 -1
- package/videoArea-BMXHASEV.js +2 -0
- package/{videoArea-LXG5XV5E.js.map → videoArea-BMXHASEV.js.map} +1 -1
- package/vodPlayer-4WYM3DQ3.js +2 -0
- package/{vodPlayer-CAMVHLJP.js.map → vodPlayer-4WYM3DQ3.js.map} +1 -1
- package/{vodPlayer-LO43AM3K.mjs → vodPlayer-D6R7VV2Z.mjs} +2 -2
- package/{vodPlayer-LO43AM3K.mjs.map → vodPlayer-D6R7VV2Z.mjs.map} +1 -1
- package/backwardForward-AZKSSCFQ.mjs +0 -2
- package/backwardForward-PWDMWFMB.js +0 -2
- package/chunk-2DZLYHGU.js +0 -2
- package/chunk-2KWCQIEQ.js +0 -2
- package/chunk-2YKIFQ6C.mjs.map +0 -1
- package/chunk-4O5NY3UP.js +0 -2
- package/chunk-DDFF72BQ.mjs.map +0 -1
- package/chunk-EB2I6TVN.js +0 -2
- package/chunk-F2C5C3HI.js.map +0 -1
- package/chunk-LDY7HB2V.mjs +0 -2
- package/chunk-U6DIKZH7.js +0 -3
- package/chunk-ZZRZNN2I.js.map +0 -1
- package/nonStaticVideoTag-ZXAZLBRC.js +0 -2
- package/staticPlayer-4LQO3TWA.mjs +0 -2
- package/staticPlayer-LFWJLEL7.js +0 -2
- package/staticVideoTag-IXLQA5QO.js +0 -2
- package/videoArea-LXG5XV5E.js +0 -2
- package/videoArea-QK4TYLHQ.mjs +0 -2
- package/vodPlayer-CAMVHLJP.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {d,b,c}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=VideoHighLighter-
|
|
1
|
+
import {d,b,c}from'./chunk-FFDSCXU6.mjs';import'./chunk-XMKCIFLC.mjs';import {ha,fa,S}from'./chunk-IPIJCEX4.mjs';import {a}from'./chunk-TM66GJCG.mjs';import {e}from'./chunk-NXC6LNWJ.mjs';import {shallowEqual}from'react-redux';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {CircularProgressbarWithChildren,buildStyles}from'react-circular-progressbar';import s from'next/legacy/image';e();e();var g=()=>jsx("div",{role:"status",className:`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!fa("isTouchScreen")&&"pl-rounded-lg"} pl-animate-pulse dark:pl-bg-gray-700`,children:jsx("span",{className:"pl-sr-only",children:"Loading..."})}),u=g;var N=()=>{let{params:e}=ha(({videoData:{params:f}})=>({params:f}),shallowEqual);return d(),jsxs("div",{id:"video-area",className:`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${fa("isTouchScreen")&&"pl-rounded-none"} ${fa("isFullScreen")&&"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none"}`,children:[e.vhl_status&&e.vhl_status!=="skeleton"&&jsxs("div",{className:"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full",children:[e.banner&&jsxs("div",{className:"pl-w-full pl-aspect-video pl-absolute",children:[jsx(s,{src:e.banner,alt:"banner",layout:"fill",className:"pl-w-full pl-aspect-video"}),jsx("div",{className:"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg"})]}),jsx("div",{}),e.vhl_status==="download_start"&&jsx(Fragment,{children:jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2",children:[jsx("svg",{style:{height:0,position:"absolute"},children:jsx("defs",{children:jsxs("linearGradient",{id:"gradientColor",x1:"0",y1:"0",x2:"1",y2:"1",children:[jsx("stop",{offset:"0%",stopColor:"#FF649D"}),jsx("stop",{offset:"100%",stopColor:"#A50C4B"})]})})}),jsx(CircularProgressbarWithChildren,{value:e.vhl_progress,className:"pl-size-[50px]",styles:buildStyles({trailColor:"rgba(0, 0, 0, 0.1)",pathColor:"url(#gradientColor)"}),children:jsxs("p",{className:"pl-text-text-primary pl-text-[14px] pl-font-medium",children:["%",e.vhl_progress]})}),jsx("p",{className:"pl-text-text-primary pl-text-[10px] pl-font-normal",children:e.vhl_statusText})]})}),e.vhl_status==="download_error"&&jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2",children:[jsx(s,{alt:"info-circle-icon",src:a.infoCircle,width:32,height:32}),jsx("p",{className:"pl-text-[10px] pl-font-normal pl-text-text-primary",children:e.vhl_statusText}),jsxs("button",{className:"pl-flex pl-items-center pl-gap-2",onClick:()=>e.vhl_onRetry(),children:[jsx(s,{alt:"rotate-red-icon",src:a.rotateRed,width:14,height:14}),jsx("span",{className:"pl-text-primary pl-text-[10px] pl-font-normal",children:"\u062A\u0644\u0627\u0634 \u062F\u0648\u0628\u0627\u0631\u0647"})]})]}),jsxs("div",{className:`pl-flex ${fa("isTouchScreenPortrait")?"pl-flex-col":`pl-flex-col-reverse pl-mb-3 ${fa("isFullScreen")&&"pl-mb-8"}`} pl-gap-[14.58px]`,children:[jsxs("div",{className:`pl-flex pl-items-center pl-justify-between ${fa("isFullScreen")?"pl-mx-8":"pl-mx-[14.58px]"}`,children:[jsx(b,{}),jsxs("div",{className:"pl-flex pl-items-center pl-gap-[14.58px]",children:[e.vhl_duration&&jsxs("div",{className:"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative",children:[jsx("span",{children:S(0)}),jsx("span",{children:"/"}),jsx("span",{children:S(e.vhl_duration)})]}),jsx(c,{})]})]}),jsx("div",{className:"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse"})]})]}),e.vhl_status==="skeleton"&&jsx(u,{})]})},V=N;export{V as default};//# sourceMappingURL=VideoHighLighter-236S3I6U.mjs.map
|
|
2
|
+
//# sourceMappingURL=VideoHighLighter-236S3I6U.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_esm_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLigh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EAAgE,CACjF,CAAA,CAAA,CAAA,CAAA,CACF,EAEDI,CAAO,CAAA,UAAA,GAAe,YAAcJ,GAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-TCRPT5IP.mjs","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && (\r\n <div className=\"pl-w-full pl-aspect-video pl-absolute\">\r\n <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />\r\n <div className=\"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg\" />\r\n </div>\r\n )}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">%{params.vhl_progress}</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_esm_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"0YAAAA,CAAAA,EAAAA,CCAAA,CASM,EAAA,CANN,IAAMC,EAAW,IAEbC,GAAAA,CAAC,OACC,IAAK,CAAA,QAAA,CACL,UAAW,CAAyE,sEAAA,EAAA,CAACC,kBAAsC,CAAK,EAAA,eAAe,CAE/I,qCAAA,CAAA,CAAA,QAAA,CAAAD,IAAC,MAAK,CAAA,CAAA,SAAA,CAAU,aAAa,QAAU,CAAA,YAAA,CAAA,CAAA,CACzC,EAIGE,CAAQH,CAAAA,CAAAA,KDDTI,CAAmB,CAAA,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,GAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,CAAA,IAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,YAAY,EAC3F,OAAAC,CAAAA,GAGEC,IAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,EAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,EAAAA,CAAAA,cAAqC,GAAK,0FAA0F,CAAA,CAAA,CAEvI,QAAAG,CAAAA,CAAAA,CAAAA,CAAO,YAAcA,CAAO,CAAA,UAAA,GAAe,YAC1CI,IAAC,CAAA,KAAA,CAAA,CAAI,UAAU,8DACZ,CAAA,QAAA,CAAA,CAAAJ,EAAO,MACNI,EAAAA,IAAAA,CAAC,OAAI,SAAU,CAAA,uCAAA,CACb,UAAAR,GAACS,CAAAA,CAAAA,CAAA,CAAM,GAAKL,CAAAA,CAAAA,CAAO,MAAQ,CAAA,GAAA,CAAI,SAAS,MAAO,CAAA,MAAA,CAAO,UAAU,2BAA4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A,CAAaX,EAAO,YAAY,CAAA,CAAE,GAC3C,CAEFJ,CAAAA,GAAAA,CAACgB,CAAA,CAAA,EAAY,GACf,CACF,CAAA,CAAA,CAAA,CACAhB,IAAC,KAAI,CAAA,CAAA,SAAA,CAAU,gEAAgE,CACjF,CAAA,CAAA,CAAA,CAAA,CACF,EAEDI,CAAO,CAAA,UAAA,GAAe,YAAcJ,GAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-236S3I6U.mjs","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && (\r\n <div className=\"pl-w-full pl-aspect-video pl-absolute\">\r\n <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />\r\n <div className=\"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg\" />\r\n </div>\r\n )}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">%{params.vhl_progress}</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
2
|
-
//# sourceMappingURL=VideoHighLighter-
|
|
1
|
+
'use strict';var chunk5B2VQGDD_js=require('./chunk-5B2VQGDD.js');require('./chunk-BONKWHBU.js');var chunk7JR7ZDFX_js=require('./chunk-7JR7ZDFX.js'),chunk5FTEBU6O_js=require('./chunk-5FTEBU6O.js'),chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),reactRedux=require('react-redux'),jsxRuntime=require('react/jsx-runtime'),reactCircularProgressbar=require('react-circular-progressbar'),s=require('next/legacy/image');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var s__default=/*#__PURE__*/_interopDefault(s);chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var h=()=>jsxRuntime.jsx("div",{role:"status",className:`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!chunk7JR7ZDFX_js.fa("isTouchScreen")&&"pl-rounded-lg"} pl-animate-pulse dark:pl-bg-gray-700`,children:jsxRuntime.jsx("span",{className:"pl-sr-only",children:"Loading..."})}),u=h;var w=()=>{let{params:e}=chunk7JR7ZDFX_js.ha(({videoData:{params:f}})=>({params:f}),reactRedux.shallowEqual);return chunk5B2VQGDD_js.d(),jsxRuntime.jsxs("div",{id:"video-area",className:`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${chunk7JR7ZDFX_js.fa("isTouchScreen")&&"pl-rounded-none"} ${chunk7JR7ZDFX_js.fa("isFullScreen")&&"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none"}`,children:[e.vhl_status&&e.vhl_status!=="skeleton"&&jsxRuntime.jsxs("div",{className:"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full",children:[e.banner&&jsxRuntime.jsxs("div",{className:"pl-w-full pl-aspect-video pl-absolute",children:[jsxRuntime.jsx(s__default.default,{src:e.banner,alt:"banner",layout:"fill",className:"pl-w-full pl-aspect-video"}),jsxRuntime.jsx("div",{className:"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg"})]}),jsxRuntime.jsx("div",{}),e.vhl_status==="download_start"&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2",children:[jsxRuntime.jsx("svg",{style:{height:0,position:"absolute"},children:jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"gradientColor",x1:"0",y1:"0",x2:"1",y2:"1",children:[jsxRuntime.jsx("stop",{offset:"0%",stopColor:"#FF649D"}),jsxRuntime.jsx("stop",{offset:"100%",stopColor:"#A50C4B"})]})})}),jsxRuntime.jsx(reactCircularProgressbar.CircularProgressbarWithChildren,{value:e.vhl_progress,className:"pl-size-[50px]",styles:reactCircularProgressbar.buildStyles({trailColor:"rgba(0, 0, 0, 0.1)",pathColor:"url(#gradientColor)"}),children:jsxRuntime.jsxs("p",{className:"pl-text-text-primary pl-text-[14px] pl-font-medium",children:["%",e.vhl_progress]})}),jsxRuntime.jsx("p",{className:"pl-text-text-primary pl-text-[10px] pl-font-normal",children:e.vhl_statusText})]})}),e.vhl_status==="download_error"&&jsxRuntime.jsxs("div",{className:"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2",children:[jsxRuntime.jsx(s__default.default,{alt:"info-circle-icon",src:chunk5FTEBU6O_js.a.infoCircle,width:32,height:32}),jsxRuntime.jsx("p",{className:"pl-text-[10px] pl-font-normal pl-text-text-primary",children:e.vhl_statusText}),jsxRuntime.jsxs("button",{className:"pl-flex pl-items-center pl-gap-2",onClick:()=>e.vhl_onRetry(),children:[jsxRuntime.jsx(s__default.default,{alt:"rotate-red-icon",src:chunk5FTEBU6O_js.a.rotateRed,width:14,height:14}),jsxRuntime.jsx("span",{className:"pl-text-primary pl-text-[10px] pl-font-normal",children:"\u062A\u0644\u0627\u0634 \u062F\u0648\u0628\u0627\u0631\u0647"})]})]}),jsxRuntime.jsxs("div",{className:`pl-flex ${chunk7JR7ZDFX_js.fa("isTouchScreenPortrait")?"pl-flex-col":`pl-flex-col-reverse pl-mb-3 ${chunk7JR7ZDFX_js.fa("isFullScreen")&&"pl-mb-8"}`} pl-gap-[14.58px]`,children:[jsxRuntime.jsxs("div",{className:`pl-flex pl-items-center pl-justify-between ${chunk7JR7ZDFX_js.fa("isFullScreen")?"pl-mx-8":"pl-mx-[14.58px]"}`,children:[jsxRuntime.jsx(chunk5B2VQGDD_js.b,{}),jsxRuntime.jsxs("div",{className:"pl-flex pl-items-center pl-gap-[14.58px]",children:[e.vhl_duration&&jsxRuntime.jsxs("div",{className:"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative",children:[jsxRuntime.jsx("span",{children:chunk7JR7ZDFX_js.S(0)}),jsxRuntime.jsx("span",{children:"/"}),jsxRuntime.jsx("span",{children:chunk7JR7ZDFX_js.S(e.vhl_duration)})]}),jsxRuntime.jsx(chunk5B2VQGDD_js.c,{})]})]}),jsxRuntime.jsx("div",{className:"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse"})]})]}),e.vhl_status==="skeleton"&&jsxRuntime.jsx(u,{})]})},R=w;module.exports=R;//# sourceMappingURL=VideoHighLighter-MW6GF2T5.js.map
|
|
2
|
+
//# sourceMappingURL=VideoHighLighter-MW6GF2T5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_cjs_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"4gBAAAA,kBAAAA,EAAAA,CCAAA,kBASM,EAAA,CANN,IAAMC,EAAW,IAEbC,cAAAA,CAAC,OACC,IAAK,CAAA,QAAA,CACL,UAAW,CAAyE,sEAAA,EAAA,CAACC,mCAAsC,CAAK,EAAA,eAAe,CAE/I,qCAAA,CAAA,CAAA,QAAA,CAAAD,eAAC,MAAK,CAAA,CAAA,SAAA,CAAU,aAAa,QAAU,CAAA,YAAA,CAAA,CAAA,CACzC,EAIGE,CAAQH,CAAAA,CAAAA,KDDTI,CAAmB,CAAA,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,oBAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,CAAA,IAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,uBAAY,EAC3F,OAAAC,kBAAAA,GAGEC,eAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,mBAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,mBAAAA,CAAAA,cAAqC,GAAK,0FAA0F,CAAA,CAAA,CAEvI,QAAAG,CAAAA,CAAAA,CAAAA,CAAO,YAAcA,CAAO,CAAA,UAAA,GAAe,YAC1CI,eAAC,CAAA,KAAA,CAAA,CAAI,UAAU,8DACZ,CAAA,QAAA,CAAA,CAAAJ,EAAO,MACNI,EAAAA,eAAAA,CAAC,OAAI,SAAU,CAAA,uCAAA,CACb,UAAAR,cAACS,CAAAA,kBAAAA,CAAA,CAAM,GAAK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CAAA,CAAE,EACvBf,cAAC,CAAA,MAAA,CAAA,CAAK,aAAC,CACPA,CAAAA,cAAAA,CAAC,QAAM,QAAAe,CAAAA,kBAAAA,CAAaX,EAAO,YAAY,CAAA,CAAE,GAC3C,CAEFJ,CAAAA,cAAAA,CAACgB,kBAAA,CAAA,EAAY,GACf,CACF,CAAA,CAAA,CAAA,CACAhB,eAAC,KAAI,CAAA,CAAA,SAAA,CAAU,gEAAgE,CACjF,CAAA,CAAA,CAAA,CAAA,CACF,EAEDI,CAAO,CAAA,UAAA,GAAe,YAAcJ,cAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-CF2XOGI5.js","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && (\r\n <div className=\"pl-w-full pl-aspect-video pl-absolute\">\r\n <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />\r\n <div className=\"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg\" />\r\n </div>\r\n )}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">%{params.vhl_progress}</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/videoPlayer/videoHighLighter/VideoHighLighter.tsx","../src/videoPlayerLibrary/components/custom-components/skeleton/Skeleton.tsx"],"names":["init_cjs_shims","Skeleton","jsx","conditions","Skeleton_default","VideoHighLighter","params","useAppSelector","shallowEqual","useFullScreen_default","jsxs","Image","Fragment","CircularProgressbarWithChildren","buildStyles","importImages_default","fullScreen_default","secondsToHMS","soundVolume_default","VideoHighLighter_default"],"mappings":"4gBAAAA,kBAAAA,EAAAA,CCAAA,kBASM,EAAA,CANN,IAAMC,EAAW,IAEbC,cAAAA,CAAC,OACC,IAAK,CAAA,QAAA,CACL,UAAW,CAAyE,sEAAA,EAAA,CAACC,mCAAsC,CAAK,EAAA,eAAe,CAE/I,qCAAA,CAAA,CAAA,QAAA,CAAAD,eAAC,MAAK,CAAA,CAAA,SAAA,CAAU,aAAa,QAAU,CAAA,YAAA,CAAA,CAAA,CACzC,EAIGE,CAAQH,CAAAA,CAAAA,KDDTI,CAAmB,CAAA,IAAM,CAC7B,GAAM,CAAE,OAAAC,CAAO,CAAA,CAAIC,oBAAe,CAAC,CAAE,UAAW,CAAE,MAAA,CAAAD,CAAO,CAAE,CAAA,IAAO,CAAE,MAAA,CAAAA,CAAO,CAAIE,CAAAA,CAAAA,uBAAY,EAC3F,OAAAC,kBAAAA,GAGEC,eAAC,CAAA,KAAA,CAAA,CACC,GAAG,YACH,CAAA,SAAA,CAAW,yFACTP,mBAAsC,CAAA,eAAA,CAAA,EAAK,iBAC7C,CAAIA,CAAAA,EAAAA,mBAAAA,CAAAA,cAAqC,GAAK,0FAA0F,CAAA,CAAA,CAEvI,QAAAG,CAAAA,CAAAA,CAAAA,CAAO,YAAcA,CAAO,CAAA,UAAA,GA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A,CAAC,OAAI,SAAW,CAAA,0CAAA,CACb,UAAAJ,CAAO,CAAA,YAAA,EACNI,gBAAC,KAAI,CAAA,CAAA,SAAA,CAAU,mEACb,CAAA,QAAA,CAAA,CAAAR,eAAC,MAAM,CAAA,CAAA,QAAA,CAAAe,mBAAa,CAAC,CAAA,CAAE,EACvBf,cAAC,CAAA,MAAA,CAAA,CAAK,aAAC,CACPA,CAAAA,cAAAA,CAAC,QAAM,QAAAe,CAAAA,kBAAAA,CAAaX,EAAO,YAAY,CAAA,CAAE,GAC3C,CAEFJ,CAAAA,cAAAA,CAACgB,kBAAA,CAAA,EAAY,GACf,CACF,CAAA,CAAA,CAAA,CACAhB,eAAC,KAAI,CAAA,CAAA,SAAA,CAAU,gEAAgE,CACjF,CAAA,CAAA,CAAA,CAAA,CACF,EAEDI,CAAO,CAAA,UAAA,GAAe,YAAcJ,cAACE,CAAAA,CAAAA,CAAA,EAAS,CACjD,CAAA,CAAA,CAEJ,EAEOe,CAAQd,CAAAA","file":"VideoHighLighter-MW6GF2T5.js","sourcesContent":["import { shallowEqual } from \"react-redux\";\r\nimport { useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport Skeleton from \"../../custom-components/skeleton/Skeleton\";\r\nimport FullScreen from \"../../custom-components/fullScreen/fullScreen\";\r\nimport SoundVolume from \"../../custom-components/soundVolume/soundVolume\";\r\nimport { secondsToHMS } from \"../../../helpers/helpers\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { buildStyles, CircularProgressbarWithChildren } from \"react-circular-progressbar\";\r\nimport IMAGES from \"../../../images/importImages\";\r\nimport Image from \"next/legacy/image\";\r\nimport useFullScreen from \"../../../helpers/hooks/useFullScreen\";\r\n\r\nconst VideoHighLighter = () => {\r\n const { params } = useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n useFullScreen();\r\n\r\n return (\r\n <div\r\n id=\"video-area\"\r\n className={`pl-relative pl-rounded-[12px] pl-w-full pl-h-full pl-aspect-video !pl-overflow-hidden ${\r\n conditions(ConditionName.isTouchScreen) && \"pl-rounded-none\"\r\n } ${conditions(ConditionName.isFullScreen) && \"!pl-overflow-hidden pl-fixed pl-top-0 pl-right-0 pl-w-screen pl-h-screen pl-rounded-none\"}`}\r\n >\r\n {params.vhl_status && params.vhl_status !== \"skeleton\" && (\r\n <div className=\"pl-flex pl-flex-col pl-justify-between pl-gap-2 pl-size-full\">\r\n {params.banner && (\r\n <div className=\"pl-w-full pl-aspect-video pl-absolute\">\r\n <Image src={params.banner} alt=\"banner\" layout=\"fill\" className=\"pl-w-full pl-aspect-video\" />\r\n <div className=\"pl-absolute pl-inset-0 pl-bg-black/50 pl-rounded-lg\" />\r\n </div>\r\n )}\r\n <div />\r\n {params.vhl_status === \"download_start\" && (\r\n <>\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] tablet:!pl-max-w-[305px] desktop:!pl-max-w-[198px] pl-mx-auto pl-py-2 tablet:pl-py-[12.32px] desktop:pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2 tablet:pl-gap-[12.32px] desktop:pl-gap-2\">\r\n <svg style={{ height: 0, position: \"absolute\" }}>\r\n <defs>\r\n <linearGradient id=\"gradientColor\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\">\r\n <stop offset=\"0%\" stopColor=\"#FF649D\" />\r\n <stop offset=\"100%\" stopColor=\"#A50C4B\" />\r\n </linearGradient>\r\n </defs>\r\n </svg>\r\n <CircularProgressbarWithChildren\r\n value={params.vhl_progress!}\r\n className=\"pl-size-[50px]\"\r\n styles={buildStyles({\r\n trailColor: \"rgba(0, 0, 0, 0.1)\",\r\n pathColor: \"url(#gradientColor)\",\r\n })}\r\n >\r\n <p className=\"pl-text-text-primary pl-text-[14px] pl-font-medium\">%{params.vhl_progress}</p>\r\n </CircularProgressbarWithChildren>\r\n <p className=\"pl-text-text-primary pl-text-[10px] pl-font-normal\">{params.vhl_statusText}</p>\r\n </div>\r\n </>\r\n )}\r\n {params.vhl_status === \"download_error\" && (\r\n <div className=\"pl-relative pl-z-[1000000] pl-bg-Common-white-overlay-1 pl-w-full pl-max-w-[198px] pl-mx-auto pl-py-2 pl-rounded-[8px] pl-flex pl-flex-col pl-items-center pl-gap-2\">\r\n <Image alt=\"info-circle-icon\" src={IMAGES.infoCircle} width={32} height={32} />\r\n <p className=\"pl-text-[10px] pl-font-normal pl-text-text-primary\">{params.vhl_statusText}</p>\r\n <button className=\"pl-flex pl-items-center pl-gap-2\" onClick={() => params.vhl_onRetry!()}>\r\n <Image alt=\"rotate-red-icon\" src={IMAGES.rotateRed} width={14} height={14} />\r\n <span className=\"pl-text-primary pl-text-[10px] pl-font-normal\">تلاش دوباره</span>\r\n </button>\r\n </div>\r\n )}\r\n <div\r\n className={`pl-flex ${\r\n !conditions(ConditionName.isTouchScreenPortrait)\r\n ? `pl-flex-col-reverse pl-mb-3 ${conditions(ConditionName.isFullScreen) && \"pl-mb-8\"}`\r\n : \"pl-flex-col\"\r\n } pl-gap-[14.58px]`}\r\n >\r\n <div className={`pl-flex pl-items-center pl-justify-between ${conditions(ConditionName.isFullScreen) ? \"pl-mx-8\" : \"pl-mx-[14.58px]\"}`}>\r\n <FullScreen />\r\n <div className={`pl-flex pl-items-center pl-gap-[14.58px]`}>\r\n {params.vhl_duration && (\r\n <div className=\"pl-text-Common-white pl-text-[10.93px] pl-font-normal pl-relative\">\r\n <span>{secondsToHMS(0)}</span>\r\n <span>/</span>\r\n <span>{secondsToHMS(params.vhl_duration)}</span>\r\n </div>\r\n )}\r\n <SoundVolume />\r\n </div>\r\n </div>\r\n <div className=\"pl-w-full pl-h-[3.64px] pl-bg-gray-highLight pl-animate-pulse\" />\r\n </div>\r\n </div>\r\n )}\r\n {params.vhl_status === \"skeleton\" && <Skeleton />}\r\n </div>\r\n );\r\n};\r\n\r\nexport default VideoHighLighter;\r\n","import { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\n\r\nconst Skeleton = () => {\r\n return (\r\n <div\r\n role=\"status\"\r\n className={`pl-size-full pl-flex pl-items-center pl-justify-center pl-bg-gray-300 ${!conditions(ConditionName.isTouchScreen) && \"pl-rounded-lg\"} pl-animate-pulse dark:pl-bg-gray-700`}\r\n >\r\n <span className=\"pl-sr-only\">Loading...</span>\r\n </div>\r\n );\r\n};\r\n\r\nexport default Skeleton;\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-CJOJRD7O.mjs"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkUPBW2I7K_js=require('./chunk-UPBW2I7K.js');require('./chunk-BONKWHBU.js'),require('./chunk-7JR7ZDFX.js'),require('./chunk-5FTEBU6O.js'),require('./chunk-WO4IQUGO.js');module.exports=chunkUPBW2I7K_js.a;//# sourceMappingURL=backwardForward-UTKLNFS4.js.map
|
|
2
|
+
//# sourceMappingURL=backwardForward-UTKLNFS4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"backwardForward-UTKLNFS4.js"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkBONKWHBU_js=require('./chunk-BONKWHBU.js'),chunk7JR7ZDFX_js=require('./chunk-7JR7ZDFX.js'),chunk5FTEBU6O_js=require('./chunk-5FTEBU6O.js'),chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),react=require('react'),reactRedux=require('react-redux'),jsxRuntime=require('react/jsx-runtime'),$=require('next/legacy/image');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var $__default=/*#__PURE__*/_interopDefault($);chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var I=({title:l,className:o})=>jsxRuntime.jsx("span",{className:`pl-absolute pl-w-max pl-bg-paper pl-text-white/[0.9] ${chunk7JR7ZDFX_js.fa("isFullScreen")?"pl-bottom-[300%]":"pl-bottom-[270%]"} pl-rounded-[8px] pl-text-[10px] pl-px-4 pl-py-[13px] pl-font-normal ${o}`,children:l}),d=I;var q=()=>{let{isFullScreen:l}=chunk7JR7ZDFX_js.ha(({controller:{firstPlay:p,isFullScreen:h}})=>({firstPlay:p,isFullScreen:h}),reactRedux.shallowEqual),[o,a]=react.useState(false),r=chunk7JR7ZDFX_js.ga();return react.useEffect(()=>{chunk7JR7ZDFX_js.fa("isFirstPlay")||r(chunk7JR7ZDFX_js.f(false));},[l]),jsxRuntime.jsxs("div",{className:"pl-relative pl-flex pl-items-center",children:[jsxRuntime.jsx($__default.default,{src:chunk7JR7ZDFX_js.fa("isFullScreen")?chunk5FTEBU6O_js.a.nonFullScreen:chunk5FTEBU6O_js.a.fullScreen,alt:"fullScreen-icon",className:"pl-cursor-pointer",width:20,height:20,onMouseOver:()=>!chunk7JR7ZDFX_js.fa("isTouchScreen")&&a(true),onMouseLeave:()=>!chunk7JR7ZDFX_js.fa("isTouchScreen")&&a(false),onClick:()=>{chunkBONKWHBU_js.f(),chunkBONKWHBU_js.g();},id:chunk7JR7ZDFX_js.fa("isFullScreen")?"exit-full-s":"full-s"}),o&&jsxRuntime.jsx(d,{title:`${chunk7JR7ZDFX_js.fa("isFullScreen")?"\u062E\u0631\u0648\u062C \u0627\u0632":""} \u062A\u0645\u0627\u0645 \u0635\u0641\u062D\u0647`})]})},me=q;chunkWO4IQUGO_js.e();var B=()=>{let[l,o]=react.useState(false),a=chunk7JR7ZDFX_js.ga(),{settings:r}=chunk7JR7ZDFX_js.ha(({user:{settings:t}})=>({settings:t}),reactRedux.shallowEqual),p=react.useRef(r.volume),h=()=>{if(p.current!==r.volume){let{settings:t}=chunk7JR7ZDFX_js.P.getState().user;chunk7JR7ZDFX_js.oa(chunk7JR7ZDFX_js.va(p.current,t.volume)),p.current=t.volume,a(chunk7JR7ZDFX_js.J({...t,volume:t.volume}));}},F=t=>{let{settings:b}=chunk7JR7ZDFX_js.P.getState().user;t==="mute"?(chunkBONKWHBU_js.d(0),chunk7JR7ZDFX_js.oa(chunk7JR7ZDFX_js.va(b.volume,0))):(chunk7JR7ZDFX_js.oa(chunk7JR7ZDFX_js.va(b.volume,100)),chunkBONKWHBU_js.d(100));};return jsxRuntime.jsxs("div",{className:"pl-relative pl-inline-flex pl-items-center pl-gap-2 pl-sound-icon",children:[!chunk7JR7ZDFX_js.fa("isTouchScreen")&&jsxRuntime.jsx("input",{onMouseUp:h,type:"range",min:"0",max:"100",value:r.volume,onChange:t=>chunkBONKWHBU_js.d(+t.target.value),className:"pl-soundVolume pl-cursor-pointer rounded-full",style:{background:`linear-gradient(to right, white ${r.volume}%, rgba(255,255,255,0.3) 0)`}}),jsxRuntime.jsxs("div",{className:"pl-relative pl-flex pl-items-center",children:[jsxRuntime.jsx($__default.default,{src:chunk7JR7ZDFX_js.fa("hasSound")?chunk5FTEBU6O_js.a.unMute:chunk5FTEBU6O_js.a.mute,alt:chunk7JR7ZDFX_js.fa("hasSound")?"unmute-icon":"mute-icon",className:"pl-flex pl-items-center pl-cursor-pointer",width:20,height:20,onClick:()=>chunk7JR7ZDFX_js.fa("hasSound")?F("mute"):F("unmute"),onDoubleClick:t=>t.stopPropagation(),onMouseOver:()=>!chunk7JR7ZDFX_js.fa("isTouchScreen")&&o(true),onMouseLeave:()=>!chunk7JR7ZDFX_js.fa("isTouchScreen")&&o(false),id:chunk7JR7ZDFX_js.fa("hasSound")?"mute":"unmute"}),l&&jsxRuntime.jsx(d,{className:"pl-left-0",title:chunk7JR7ZDFX_js.fa("hasSound")?"\u0635\u062F\u0627":"\u0628\u06CC\u200C\u0635\u062F\u0627"})]})]})},xe=B;chunkWO4IQUGO_js.e();var K=()=>{let l=chunk7JR7ZDFX_js.ga();chunk7JR7ZDFX_js.ha(({videoData:{params:o}})=>({params:o}),reactRedux.shallowEqual),react.useEffect(()=>{let o=()=>{document.fullscreenElement?l(chunk7JR7ZDFX_js.h(true)):(l(chunk7JR7ZDFX_js.h(false)),chunkBONKWHBU_js.j(),chunk7JR7ZDFX_js.oa(chunk7JR7ZDFX_js.ta("exitFullScreen")),document.body.style.overflow="auto");};document.addEventListener&&(document.addEventListener("webkitfullscreenchange",o,false),document.addEventListener("mozfullscreenchange",o,false),document.addEventListener("fullscreenchange",o,false),document.addEventListener("MSFullscreenChange",o,false));},[]);},$e=K;exports.a=d;exports.b=me;exports.c=xe;exports.d=$e;//# sourceMappingURL=chunk-5B2VQGDD.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-5B2VQGDD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/fullScreen/fullScreen.tsx","../src/videoPlayerLibrary/components/custom-components/footer/controllbar/controllbarTooltip.tsx","../src/videoPlayerLibrary/components/custom-components/soundVolume/soundVolume.tsx","../src/videoPlayerLibrary/helpers/hooks/useFullScreen.tsx"],"names":["init_cjs_shims","ControllbarTooltip","title","className","jsx","conditions","controllbarTooltip_default","FullScreen","isFullScreen","useAppSelector","firstPlay","shallowEqual","showTooltip","setShowTooltip","useState","dispatch","useAppDispatch","useEffect","setActiveElements","jsxs","Image","importImages_default","handleFullScreen","handleLockOrientation","fullScreen_default","SoundVolume","settings","primaryVolumeRef","useRef","handleMouseUp","store_default","sendFluentLog","volumeLog","setUserSettings","handleMute","type","handleChangeSoundVolume","event","soundVolume_default","useFullScreen","params","handleChangeFullScreen","setIsFullScreen","handleVideoElementSizeInfo","fullscreenLog","useFullScreen_default"],"mappings":"icAAAA,kBAAAA,EAAAA,CCAAA,kBAKI,EAAA,CADEC,IAAAA,CAAAA,CAAqB,CAAC,CAAE,KAAAC,CAAAA,CAAAA,CAAO,SAAAC,CAAAA,CAAU,CA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,EAAA,CAC3BZ,mBAAca,CAAAA,mBAAAA,CAAc,gBAAgB,CAAC,CAC7C,CAAA,QAAA,CAAS,IAAK,CAAA,KAAA,CAAM,SAAW,MAEnC,EAAA,CAAA,CAEI,QAAS,CAAA,gBAAA,GACX,QAAS,CAAA,gBAAA,CAAiB,wBAA0BH,CAAAA,CAAAA,CAAwB,KAAK,CAAA,CACjF,QAAS,CAAA,gBAAA,CAAiB,qBAAuBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,CAC9E,QAAS,CAAA,gBAAA,CAAiB,kBAAoBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,CAC3E,QAAS,CAAA,gBAAA,CAAiB,oBAAsBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,EASjF,CAAG,CAAA,EAAE,EACP,EAEOI,EAAQN,CAAAA","file":"chunk-EB2I6TVN.js","sourcesContent":["import { useEffect, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport ControllbarTooltip from \"../footer/controllbar/controllbarTooltip\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleFullScreen, handleLockOrientation } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport Image from \"next/legacy/image\";\r\nimport IMAGES from \"../../../images/importImages\";\r\n\r\nconst FullScreen = () => {\r\n const { isFullScreen } = useAppSelector(({ controller: { firstPlay, isFullScreen } }) => ({ firstPlay, isFullScreen }), shallowEqual);\r\n\r\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\r\n\r\n const dispatch = useAppDispatch();\r\n\r\n useEffect(() => {\r\n if (!conditions(ConditionName.isFirstPlay)) dispatch(setActiveElements(false));\r\n }, [isFullScreen]);\r\n\r\n return (\r\n <div className=\"pl-relative pl-flex pl-items-center\">\r\n <Image\r\n src={conditions(ConditionName.isFullScreen) ? IMAGES.nonFullScreen : IMAGES.fullScreen}\r\n alt=\"fullScreen-icon\"\r\n className={`pl-cursor-pointer`}\r\n width={20}\r\n height={20}\r\n onMouseOver={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true)}\r\n onMouseLeave={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)}\r\n onClick={() => {\r\n handleFullScreen();\r\n handleLockOrientation();\r\n }}\r\n id={conditions(ConditionName.isFullScreen) ? \"exit-full-s\" : \"full-s\"}\r\n />\r\n {showTooltip && (\r\n <ControllbarTooltip\r\n title={`${conditions(ConditionName.isFullScreen) ? \"خروج از\" : \"\"} تمام صفحه`}\r\n />\r\n )}\r\n </div>\r\n );\r\n};\r\n\r\nexport default FullScreen;\r\n","import { conditions } from \"../../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../../helpers/interfaces/enums\";\r\nimport { IControllbarTooltipProps } from \"../../../../helpers/interfaces/interfaces\";\r\n\r\nconst ControllbarTooltip = ({ title, className }: IControllbarTooltipProps) => (\r\n <span\r\n className={`pl-absolute pl-w-max pl-bg-paper pl-text-white/[0.9] ${conditions(ConditionName.isFullScreen) ? \"pl-bottom-[300%]\" : \"pl-bottom-[270%]\"} pl-rounded-[8px] pl-text-[10px] pl-px-4 pl-py-[13px] pl-font-normal ${className}`}\r\n >\r\n {title}\r\n </span>\r\n);\r\n\r\nexport default ControllbarTooltip;\r\n","import { useRef, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport ControllbarTooltip from \"../footer/controllbar/controllbarTooltip\";\r\nimport Image from \"next/legacy/image\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport store from \"../../../helpers/redux/store\";\r\nimport { volumeLog } from \"../../../helpers/logs/logs\";\r\nimport { sendFluentLog } from \"../../../helpers/logs/fluentdLogger\";\r\nimport { setUserSettings } from \"../../../helpers/redux/slices/userSlice\";\r\nimport { handleChangeSoundVolume } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport IMAGES from \"../../../images/importImages\";\r\n\r\nconst SoundVolume = () => {\r\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\r\n\r\n const dispatch = useAppDispatch();\r\n const { settings } = useAppSelector(({ user: { settings } }) => ({ settings }), shallowEqual);\r\n\r\n const primaryVolumeRef = useRef<number>(settings.volume);\r\n\r\n const handleMouseUp = () => {\r\n if (primaryVolumeRef.current !== settings.volume) {\r\n const { settings } = store.getState().user;\r\n sendFluentLog(volumeLog(primaryVolumeRef.current, settings.volume));\r\n primaryVolumeRef.current = settings.volume;\r\n // createSettings({ ...settings, volume: settings.volume });\r\n dispatch(setUserSettings({ ...settings, volume: settings.volume }));\r\n }\r\n };\r\n\r\n const handleMute = (type: string) => {\r\n const { settings } = store.getState().user;\r\n if (type === \"mute\") {\r\n handleChangeSoundVolume(0);\r\n sendFluentLog(volumeLog(settings.volume, 0));\r\n // createSettings({ ...settings, volume: 0 });\r\n } else {\r\n sendFluentLog(volumeLog(settings.volume, 100));\r\n handleChangeSoundVolume(100);\r\n // createSettings({ ...settings, volume: 100 });\r\n }\r\n };\r\n\r\n return (\r\n <div className={`pl-relative pl-inline-flex pl-items-center pl-gap-2 pl-sound-icon`}>\r\n {!conditions(ConditionName.isTouchScreen) && (\r\n <input\r\n onMouseUp={handleMouseUp}\r\n type=\"range\"\r\n min=\"0\"\r\n max=\"100\"\r\n value={settings.volume}\r\n onChange={(event) => handleChangeSoundVolume(+event.target.value)}\r\n className=\"pl-soundVolume pl-cursor-pointer rounded-full\"\r\n style={{ background: `linear-gradient(to right, white ${settings.volume}%, rgba(255,255,255,0.3) 0)` }}\r\n />\r\n )}\r\n <div className=\"pl-relative pl-flex pl-items-center\">\r\n <Image\r\n src={conditions(ConditionName.hasSound) ? IMAGES.unMute : IMAGES.mute}\r\n alt={conditions(ConditionName.hasSound) ? \"unmute-icon\" : \"mute-icon\"}\r\n className={`pl-flex pl-items-center pl-cursor-pointer`}\r\n width={20}\r\n height={20}\r\n onClick={() => (conditions(ConditionName.hasSound) ? handleMute(\"mute\") : handleMute(\"unmute\"))}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n onMouseOver={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true)}\r\n onMouseLeave={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)}\r\n id={conditions(ConditionName.hasSound) ? \"mute\" : \"unmute\"}\r\n />\r\n {showTooltip && (\r\n <ControllbarTooltip\r\n className=\"pl-left-0\"\r\n title={conditions(ConditionName.hasSound) ? \"صدا\" : \"بیصدا\"}\r\n />\r\n )}\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default SoundVolume;\r\n","import { useEffect } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useAppDispatch, useAppSelector } from \"../redux/hooks\";\r\nimport { setIsFullScreen } from \"../redux/slices/controllerSlice\";\r\nimport { handleVideoElementSizeInfo } from \"../redux/actions/controller.actions\";\r\nimport { fullscreenLog } from \"../logs/logs\";\r\nimport { sendFluentLog } from \"../logs/fluentdLogger\";\r\n\r\nconst useFullScreen = () => {\r\n const dispatch = useAppDispatch();\r\n useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n\r\n useEffect(() => {\r\n const handleChangeFullScreen = () => {\r\n const isFullScreen = document.fullscreenElement;\r\n\r\n if (isFullScreen) dispatch(setIsFullScreen(true));\r\n else {\r\n dispatch(setIsFullScreen(false));\r\n handleVideoElementSizeInfo();\r\n sendFluentLog(fullscreenLog(\"exitFullScreen\"));\r\n document.body.style.overflow = \"auto\"\r\n }\r\n };\r\n\r\n if (document.addEventListener) {\r\n document.addEventListener(\"webkitfullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"mozfullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"fullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"MSFullscreenChange\", handleChangeFullScreen, false);\r\n }\r\n\r\n () => {\r\n document.removeEventListener(\"webkitfullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"mozfullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"fullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"MSFullscreenChange\", handleChangeFullScreen, false);\r\n };\r\n }, []);\r\n};\r\n\r\nexport default useFullScreen;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/components/custom-components/fullScreen/fullScreen.tsx","../src/videoPlayerLibrary/components/custom-components/footer/controllbar/controllbarTooltip.tsx","../src/videoPlayerLibrary/components/custom-components/soundVolume/soundVolume.tsx","../src/videoPlayerLibrary/helpers/hooks/useFullScreen.tsx"],"names":["init_cjs_shims","ControllbarTooltip","title","className","jsx","conditions","controllbarTooltip_default","FullScreen","isFullScreen","useAppSelector","firstPlay","shallowEqual","showTooltip","setShowTooltip","useState","dispatch","useAppDispatch","useEffect","setActiveElements","jsxs","Image","importImages_default","handleFullScreen","handleLockOrientation","fullScreen_default","SoundVolume","settings","primaryVolumeRef","useRef","handleMouseUp","store_default","sendFluentLog","volumeLog","setUserSettings","handleMute","type","handleChangeSoundVolume","event","soundVolume_default","useFullScreen","params","handleChangeFullScreen","setIsFullScreen","handleVideoElementSizeInfo","fullscreenLog","useFullScreen_default"],"mappings":"icAAAA,kBAAAA,EAAAA,CCAAA,kBAKI,EAAA,CADEC,IAAAA,CAAAA,CAAqB,CAAC,CAAE,KAAAC,CAAAA,CAAAA,CAAO,SAAAC,CAAAA,CAAU,CAC3CC,GAAAA,cAAAA,CAAC,MACG,CAAA,CAAA,SAAA,CAAW,CAAwDC,qDAAAA,EAAAA,mBAAAA,CAAAA,cAAqC,CAAI,CAAA,kBAAA,CAAqB,kBAAkB,CAAA,qEAAA,EAAwEF,CAAS,CAAA,CAAA,CAEnO,QAAAD,CAAAA,CA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CAAAA,CAAAA,CAAwB,KAAK,CAAA,CACjF,QAAS,CAAA,gBAAA,CAAiB,qBAAuBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,CAC9E,QAAS,CAAA,gBAAA,CAAiB,kBAAoBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,CAC3E,QAAS,CAAA,gBAAA,CAAiB,oBAAsBA,CAAAA,CAAAA,CAAwB,KAAK,CAAA,EASjF,CAAG,CAAA,EAAE,EACP,EAEOI,EAAQN,CAAAA","file":"chunk-5B2VQGDD.js","sourcesContent":["import { useEffect, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport ControllbarTooltip from \"../footer/controllbar/controllbarTooltip\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport { setActiveElements } from \"../../../helpers/redux/slices/controllerSlice\";\r\nimport { handleFullScreen, handleLockOrientation } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport Image from \"next/legacy/image\";\r\nimport IMAGES from \"../../../images/importImages\";\r\n\r\nconst FullScreen = () => {\r\n const { isFullScreen } = useAppSelector(({ controller: { firstPlay, isFullScreen } }) => ({ firstPlay, isFullScreen }), shallowEqual);\r\n\r\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\r\n\r\n const dispatch = useAppDispatch();\r\n\r\n useEffect(() => {\r\n if (!conditions(ConditionName.isFirstPlay)) dispatch(setActiveElements(false));\r\n }, [isFullScreen]);\r\n\r\n return (\r\n <div className=\"pl-relative pl-flex pl-items-center\">\r\n <Image\r\n src={conditions(ConditionName.isFullScreen) ? IMAGES.nonFullScreen : IMAGES.fullScreen}\r\n alt=\"fullScreen-icon\"\r\n className={`pl-cursor-pointer`}\r\n width={20}\r\n height={20}\r\n onMouseOver={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true)}\r\n onMouseLeave={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)}\r\n onClick={() => {\r\n handleFullScreen();\r\n handleLockOrientation();\r\n }}\r\n id={conditions(ConditionName.isFullScreen) ? \"exit-full-s\" : \"full-s\"}\r\n />\r\n {showTooltip && (\r\n <ControllbarTooltip\r\n title={`${conditions(ConditionName.isFullScreen) ? \"خروج از\" : \"\"} تمام صفحه`}\r\n />\r\n )}\r\n </div>\r\n );\r\n};\r\n\r\nexport default FullScreen;\r\n","import { conditions } from \"../../../../helpers/conditions/conditions\";\r\nimport { ConditionName } from \"../../../../helpers/interfaces/enums\";\r\nimport { IControllbarTooltipProps } from \"../../../../helpers/interfaces/interfaces\";\r\n\r\nconst ControllbarTooltip = ({ title, className }: IControllbarTooltipProps) => (\r\n <span\r\n className={`pl-absolute pl-w-max pl-bg-paper pl-text-white/[0.9] ${conditions(ConditionName.isFullScreen) ? \"pl-bottom-[300%]\" : \"pl-bottom-[270%]\"} pl-rounded-[8px] pl-text-[10px] pl-px-4 pl-py-[13px] pl-font-normal ${className}`}\r\n >\r\n {title}\r\n </span>\r\n);\r\n\r\nexport default ControllbarTooltip;\r\n","import { useRef, useState } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport ControllbarTooltip from \"../footer/controllbar/controllbarTooltip\";\r\nimport Image from \"next/legacy/image\";\r\nimport { useAppDispatch, useAppSelector } from \"../../../helpers/redux/hooks\";\r\nimport store from \"../../../helpers/redux/store\";\r\nimport { volumeLog } from \"../../../helpers/logs/logs\";\r\nimport { sendFluentLog } from \"../../../helpers/logs/fluentdLogger\";\r\nimport { setUserSettings } from \"../../../helpers/redux/slices/userSlice\";\r\nimport { handleChangeSoundVolume } from \"../../../helpers/redux/actions/controller.actions\";\r\nimport { ConditionName } from \"../../../helpers/interfaces/enums\";\r\nimport { conditions } from \"../../../helpers/conditions/conditions\";\r\nimport IMAGES from \"../../../images/importImages\";\r\n\r\nconst SoundVolume = () => {\r\n const [showTooltip, setShowTooltip] = useState<boolean>(false);\r\n\r\n const dispatch = useAppDispatch();\r\n const { settings } = useAppSelector(({ user: { settings } }) => ({ settings }), shallowEqual);\r\n\r\n const primaryVolumeRef = useRef<number>(settings.volume);\r\n\r\n const handleMouseUp = () => {\r\n if (primaryVolumeRef.current !== settings.volume) {\r\n const { settings } = store.getState().user;\r\n sendFluentLog(volumeLog(primaryVolumeRef.current, settings.volume));\r\n primaryVolumeRef.current = settings.volume;\r\n // createSettings({ ...settings, volume: settings.volume });\r\n dispatch(setUserSettings({ ...settings, volume: settings.volume }));\r\n }\r\n };\r\n\r\n const handleMute = (type: string) => {\r\n const { settings } = store.getState().user;\r\n if (type === \"mute\") {\r\n handleChangeSoundVolume(0);\r\n sendFluentLog(volumeLog(settings.volume, 0));\r\n // createSettings({ ...settings, volume: 0 });\r\n } else {\r\n sendFluentLog(volumeLog(settings.volume, 100));\r\n handleChangeSoundVolume(100);\r\n // createSettings({ ...settings, volume: 100 });\r\n }\r\n };\r\n\r\n return (\r\n <div className={`pl-relative pl-inline-flex pl-items-center pl-gap-2 pl-sound-icon`}>\r\n {!conditions(ConditionName.isTouchScreen) && (\r\n <input\r\n onMouseUp={handleMouseUp}\r\n type=\"range\"\r\n min=\"0\"\r\n max=\"100\"\r\n value={settings.volume}\r\n onChange={(event) => handleChangeSoundVolume(+event.target.value)}\r\n className=\"pl-soundVolume pl-cursor-pointer rounded-full\"\r\n style={{ background: `linear-gradient(to right, white ${settings.volume}%, rgba(255,255,255,0.3) 0)` }}\r\n />\r\n )}\r\n <div className=\"pl-relative pl-flex pl-items-center\">\r\n <Image\r\n src={conditions(ConditionName.hasSound) ? IMAGES.unMute : IMAGES.mute}\r\n alt={conditions(ConditionName.hasSound) ? \"unmute-icon\" : \"mute-icon\"}\r\n className={`pl-flex pl-items-center pl-cursor-pointer`}\r\n width={20}\r\n height={20}\r\n onClick={() => (conditions(ConditionName.hasSound) ? handleMute(\"mute\") : handleMute(\"unmute\"))}\r\n onDoubleClick={(event: any) => event.stopPropagation()}\r\n onMouseOver={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(true)}\r\n onMouseLeave={() => !conditions(ConditionName.isTouchScreen) && setShowTooltip(false)}\r\n id={conditions(ConditionName.hasSound) ? \"mute\" : \"unmute\"}\r\n />\r\n {showTooltip && (\r\n <ControllbarTooltip\r\n className=\"pl-left-0\"\r\n title={conditions(ConditionName.hasSound) ? \"صدا\" : \"بیصدا\"}\r\n />\r\n )}\r\n </div>\r\n </div>\r\n );\r\n};\r\n\r\nexport default SoundVolume;\r\n","import { useEffect } from \"react\";\r\nimport { shallowEqual } from \"react-redux\";\r\nimport { useAppDispatch, useAppSelector } from \"../redux/hooks\";\r\nimport { setIsFullScreen } from \"../redux/slices/controllerSlice\";\r\nimport { handleVideoElementSizeInfo } from \"../redux/actions/controller.actions\";\r\nimport { fullscreenLog } from \"../logs/logs\";\r\nimport { sendFluentLog } from \"../logs/fluentdLogger\";\r\n\r\nconst useFullScreen = () => {\r\n const dispatch = useAppDispatch();\r\n useAppSelector(({ videoData: { params } }) => ({ params }), shallowEqual);\r\n\r\n useEffect(() => {\r\n const handleChangeFullScreen = () => {\r\n const isFullScreen = document.fullscreenElement;\r\n\r\n if (isFullScreen) dispatch(setIsFullScreen(true));\r\n else {\r\n dispatch(setIsFullScreen(false));\r\n handleVideoElementSizeInfo();\r\n sendFluentLog(fullscreenLog(\"exitFullScreen\"));\r\n document.body.style.overflow = \"auto\"\r\n }\r\n };\r\n\r\n if (document.addEventListener) {\r\n document.addEventListener(\"webkitfullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"mozfullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"fullscreenchange\", handleChangeFullScreen, false);\r\n document.addEventListener(\"MSFullscreenChange\", handleChangeFullScreen, false);\r\n }\r\n\r\n () => {\r\n document.removeEventListener(\"webkitfullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"mozfullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"fullscreenchange\", handleChangeFullScreen, false);\r\n document.removeEventListener(\"MSFullscreenChange\", handleChangeFullScreen, false);\r\n };\r\n }, []);\r\n};\r\n\r\nexport default useFullScreen;\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {P,
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {P,ia,K}from'./chunk-IPIJCEX4.mjs';import {e}from'./chunk-NXC6LNWJ.mjs';e();var f=()=>{let{params:r}=P.getState().videoData,t=ia().currentTime;if(t!==0){let d=ia().duration,i={video_id:+r.id,video_type:2,time:t===d?0:Math.floor(ia().currentTime)},o=localStorage.getItem("viewedVideos");if(o){let e=JSON.parse(o);e=e.filter(n=>n.video_id!==i.video_id||n.video_type!==i.video_type),e.length<10||e.shift(),e.push(i),localStorage.setItem("viewedVideos",JSON.stringify(e));}else localStorage.setItem("viewedVideos",JSON.stringify([i]));}},g=()=>{let r=P.dispatch,{params:t}=P.getState().videoData,d=localStorage.getItem("viewedVideos");if(d){let o=JSON.parse(d).find(e=>e.video_id===Number(t.id)&&e.video_type===2);o&&r(K({time:o.time}));}};export{f as a,g as b};//# sourceMappingURL=chunk-6BPSHFDT.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-6BPSHFDT.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/videoPlayerLibrary/helpers/redux/actions/user.actions.ts"],"names":["init_esm_shims","handleContinuousPlayback","params","store_default","currentTime","mainPlayerVideoTag","duration","viewedVideo","viewedVideosInLocalStorage","viewedVideos","video","handleApplyContinuousPlayback","dispatch","setVideoSettings"],"mappings":"+EAAAA,CAAAA,EAAAA,CAKaC,IAAAA,CAAAA,CAA2B,IAAM,CAC1C,GAAM,CAAE,MAAA,CAAAC,CAAO,CAAA,CAAIC,EAAM,QAAS,EAAA,CAAE,SAC9BC,CAAAA,CAAAA,CAAcC,IAAqB,CAAA,WAAA,CACzC,GAAID,CAAAA,GAAgB,EAAG,CACnB,IAAME,CAA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,CAAaK,EAAAA,CAAAA,CAASC,CAAiB,CAAA,CAAE,KAAMN,CAAY,CAAA,IAAK,CAAC,CAAC,EAC1E,CACJ","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../src/videoPlayerLibrary/helpers/redux/actions/user.actions.ts"],"names":["init_esm_shims","handleContinuousPlayback","params","store_default","currentTime","mainPlayerVideoTag","duration","viewedVideo","viewedVideosInLocalStorage","viewedVideos","video","handleApplyContinuousPlayback","dispatch","setVideoSettings"],"mappings":"+EAAAA,CAAAA,EAAAA,CAKaC,IAAAA,CAAAA,CAA2B,IAAM,CAC1C,GAAM,CAAE,MAAA,CAAAC,CAAO,CAAA,CAAIC,EAAM,QAAS,EAAA,CAAE,SAC9BC,CAAAA,CAAAA,CAAcC,IAAqB,CAAA,WAAA,CACzC,GAAID,CAAAA,GAAgB,EAAG,CACnB,IAAME,CAAWD,CAAAA,EAAAA,GAAqB,QAChCE,CAAAA,CAAAA,CAA4B,CAC9B,QAAA,CAAU,CAACL,CAAO,CAAA,EAAA,CAClB,UAAY,CAAA,CAAA,CACZ,KAAME,CAAgBE,GAAAA,CAAAA,CAAW,CAAI,CAAA,IAAA,CAAK,MAAMD,EAAmB,EAAA,CAAE,WAAW,CACpF,EACIG,CAA6B,CAAA,YAAA,CAAa,OAAQ,CAAA,cAAc,EACpE,GAAIA,CAAAA,CAA4B,CAC5B,IAAIC,EAA+B,IAAK,CAAA,KAAA,CAAMD,CAA0B,CAAA,CACxEC,EAAeA,CAAa,CAAA,MAAA,CACvBC,CAAwBA,EAAAA,CAAAA,CAAM,WAAaH,CAAY,CAAA,QAAA,EAAYG,CAAM,CAAA,UAAA,GAAeH,EAAY,UACzG,CAAA,CACIE,CAAa,CAAA,MAAA,CAAS,IAEtBA,CAAa,CAAA,KAAA,EACbA,CAAAA,CAAAA,CAAa,IAAKF,CAAAA,CAAW,CAEjC,CAAA,YAAA,CAAa,QAAQ,cAAgB,CAAA,IAAA,CAAK,SAAUE,CAAAA,CAAY,CAAC,EACrE,CAAA,KAAO,YAAa,CAAA,OAAA,CAAQ,eAAgB,IAAK,CAAA,SAAA,CAAU,CAACF,CAAW,CAAC,CAAC,EAC7E,CACJ,CAAA,CAEaI,EAAgC,IAAM,CAC/C,IAAMC,CAAAA,CAAWT,EAAM,QACjB,CAAA,CAAE,MAAAD,CAAAA,CAAO,EAAIC,CAAM,CAAA,QAAA,EAAW,CAAA,SAAA,CAChCK,EAA6B,YAAa,CAAA,OAAA,CAAQ,cAAc,CAAA,CACpE,GAAIA,CAA4B,CAAA,CAE5B,IAAMD,CAAAA,CAD+B,KAAK,KAAMC,CAAAA,CAA0B,CACzC,CAAA,IAAA,CAC5BE,GAAwBA,CAAM,CAAA,QAAA,GAAa,MAAOR,CAAAA,CAAAA,CAAO,EAAE,CAAKQ,EAAAA,CAAAA,CAAM,UAAe,GAAA,CAC1F,EAEIH,CAAaK,EAAAA,CAAAA,CAASC,CAAiB,CAAA,CAAE,KAAMN,CAAY,CAAA,IAAK,CAAC,CAAC,EAC1E,CACJ","file":"chunk-6BPSHFDT.mjs","sourcesContent":["import { IViewedVideo } from \"../../interfaces/interfaces\";\r\nimport store from \"../store\";\r\nimport { setVideoSettings } from \"../slices/userSlice\";\r\nimport { mainPlayerVideoTag } from \"../../constants\";\r\n\r\nexport const handleContinuousPlayback = () => {\r\n const { params } = store.getState().videoData;\r\n const currentTime = mainPlayerVideoTag().currentTime;\r\n if (currentTime !== 0) {\r\n const duration = mainPlayerVideoTag().duration;\r\n const viewedVideo: IViewedVideo = {\r\n video_id: +params.id!,\r\n video_type: 2,\r\n time: currentTime === duration ? 0 : Math.floor(mainPlayerVideoTag().currentTime),\r\n };\r\n let viewedVideosInLocalStorage = localStorage.getItem(\"viewedVideos\");\r\n if (viewedVideosInLocalStorage) {\r\n let viewedVideos: IViewedVideo[] = JSON.parse(viewedVideosInLocalStorage);\r\n viewedVideos = viewedVideos.filter(\r\n (video: IViewedVideo) => video.video_id !== viewedVideo.video_id || video.video_type !== viewedVideo.video_type\r\n );\r\n if (viewedVideos.length < 10) viewedVideos.push(viewedVideo);\r\n else {\r\n viewedVideos.shift();\r\n viewedVideos.push(viewedVideo);\r\n }\r\n localStorage.setItem(\"viewedVideos\", JSON.stringify(viewedVideos));\r\n } else localStorage.setItem(\"viewedVideos\", JSON.stringify([viewedVideo]));\r\n }\r\n};\r\n\r\nexport const handleApplyContinuousPlayback = () => {\r\n const dispatch = store.dispatch;\r\n const { params } = store.getState().videoData;\r\n let viewedVideosInLocalStorage = localStorage.getItem(\"viewedVideos\");\r\n if (viewedVideosInLocalStorage) {\r\n const viewedVideos: IViewedVideo[] = JSON.parse(viewedVideosInLocalStorage);\r\n const viewedVideo = viewedVideos.find(\r\n (video: IViewedVideo) => video.video_id === Number(params.id) && video.video_type === 2\r\n );\r\n\r\n if (viewedVideo) dispatch(setVideoSettings({ time: viewedVideo.time }));\r\n }\r\n};\r\n\r\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use strict';var chunkWO4IQUGO_js=require('./chunk-WO4IQUGO.js'),toolkit=require('@reduxjs/toolkit'),reactRedux=require('react-redux'),_e=require('axios');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var _e__default=/*#__PURE__*/_interopDefault(_e);var ne=chunkWO4IQUGO_js.b((va,ie)=>{chunkWO4IQUGO_js.e();ie.exports={baseUrl:"https://hamrahi.cloud",fluentdUrl:"https://hamrahi.cloud"};});var le={};chunkWO4IQUGO_js.c(le,{isNpmPackage:()=>Re});var Re,ue=chunkWO4IQUGO_js.a(()=>{chunkWO4IQUGO_js.e();Re=false;});chunkWO4IQUGO_js.e();var E={play:false,isAutoPlay:true,duration:0,currentTime:0,qualityLevels:[],manualQuality:void 0,autoQuality:void 0,activeElements:true,isLoading:false,isFullScreen:false,bufferedTimeWidth:0,firstPlay:true,activePointerProgressBar:false,delayTurnOffControlbar:false,canPlayVideo:false,lock:false,isEnded:false,tooltipTime:0},Q=toolkit.createSlice({name:"controller",initialState:E,reducers:{setPlay:(t,e)=>{t.play=e.payload;},setIsAutoPlay:(t,e)=>{t.isAutoPlay=e.payload;},setDuration:(t,e)=>{t.duration=e.payload;},setCurrentTime:(t,e)=>{t.currentTime=e.payload;},setManualQuality:(t,e)=>{t.manualQuality=e.payload;},setAutoQuality:(t,e)=>{t.autoQuality=e.payload;},setQualityLevels:(t,e)=>{t.qualityLevels=e.payload;},setActiveElements:(t,e)=>{t.activeElements=e.payload;},setIsLoading:(t,e)=>{t.isLoading=e.payload;},setIsFullScreen:(t,e)=>{t.isFullScreen=e.payload;},setBufferedTimeWidth:(t,e)=>{t.bufferedTimeWidth=e.payload;},setFirstPlay:(t,e)=>{t.firstPlay=e.payload;},setActivePointerProgressBar:(t,e)=>{t.activePointerProgressBar=e.payload;},setDelayTurnOffControlbar:(t,e)=>{t.delayTurnOffControlbar=e.payload;},setCanPlayVideo:(t,e)=>{t.canPlayVideo=e.payload;},setLock:(t,e)=>{t.lock=e.payload;},setIsEnded:(t,e)=>{t.isEnded=e.payload;},setTooltipTime:(t,e)=>{t.tooltipTime=e.payload;},setClearControllerSlice:()=>E}}),{setPlay:Qe,setIsAutoPlay:Be,setDuration:Oe,setCurrentTime:$e,setQualityLevels:Ke,setAutoQuality:qe,setActiveElements:Ce,setIsLoading:He,setIsFullScreen:je,setBufferedTimeWidth:We,setFirstPlay:Xe,setActivePointerProgressBar:Ye,setDelayTurnOffControlbar:Ge,setManualQuality:Je,setCanPlayVideo:Ze,setLock:ze,setIsEnded:Ne,setTooltipTime:et,setClearControllerSlice:B}=Q.actions,O=Q.reducer;chunkWO4IQUGO_js.e();var $={details:{stream_link:"",type:"",banner:"",id:void 0,title:void 0,vtt:void 0,vtt_mobile:void 0,user_id:null,content_id:void 0,content_type:null,duration:0,subtitles:void 0},params:{type:"",id:"",bannerAlt:"",fullscreen:"",autoplay:"",banner:"",provider:"cafevdo",onFinished:void 0,onPlay:void 0,onPause:void 0,playStatus:void 0,currentTime:void 0,daaniHashCode:void 0},markers:[],videoElementSizeInfo:{bottom:0,top:0,right:0,left:0,width:0,height:0},isFetchDetails:false,isValidAddress:false,videoTimelines:[],isReady:false,subtitles:[],selectedSubtitle:void 0,subtitleText:void 0,multiAudio:[],selectedAudioId:0},K=toolkit.createSlice({name:"videoData",initialState:$,reducers:{setInfo:(t,e)=>{t.details=e.payload;},setPlayerParams:(t,e)=>{t.params=e.payload;},setMarkers:(t,e)=>{t.markers=e.payload;},setVideoElementSizeInfo:(t,e)=>{t.videoElementSizeInfo=e.payload;},setIsFetchDetails:(t,e)=>{t.isFetchDetails=e.payload;},setIsValidAddress:(t,e)=>{t.isValidAddress=e.payload;},setVideoTimelines:(t,e)=>{t.videoTimelines=e.payload;},setIsReady:(t,e)=>{t.isReady=e.payload;},setSubtitles:(t,e)=>{t.subtitles=e.payload;},setSelectedSubtitle:(t,e)=>{t.selectedSubtitle=e.payload;},setSubtitleText:(t,e)=>{t.subtitleText=e.payload;},setMultiAudio:(t,e)=>{t.multiAudio=JSON.parse(JSON.stringify(e.payload));},setSelectedAudioId:(t,e)=>{t.selectedAudioId=e.payload;},setClearVideoDataSlice:t=>$}}),{setInfo:ot,setPlayerParams:it,setVideoElementSizeInfo:nt,setMarkers:lt,setIsFetchDetails:ut,setIsValidAddress:dt,setVideoTimelines:ct,setIsReady:pt,setSubtitles:mt,setSubtitleText:yt,setSelectedSubtitle:gt,setMultiAudio:ht,setSelectedAudioId:Pt,setClearVideoDataSlice:q}=K.actions,C=K.reducer;chunkWO4IQUGO_js.e();var H={settings:{quality:-1,brightness:100,volume:100,speed:1},videoSettings:{time:0}},j=toolkit.createSlice({name:"user",initialState:H,reducers:{setUserSettings:(t,e)=>{t.settings=e.payload;},setVideoSettings:(t,e)=>{t.videoSettings=e.payload;},setClearUserSlice:()=>H}}),{setUserSettings:At,setVideoSettings:wt,setClearUserSlice:W}=j.actions,X=j.reducer;chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var ke={settingPopover:false,speedPopover:false,qualityLevelsPopover:false,markersListPopover:false,multiAudioPopover:false},Y=toolkit.createSlice({name:"popover",initialState:ke,reducers:{setSettingPopover:(t,e)=>{t.settingPopover=e.payload;},setSpeedPopover:(t,e)=>{t.speedPopover=e.payload;},setQualityLevelsPopover:(t,e)=>{t.qualityLevelsPopover=e.payload;},setMarkersListPopover:(t,e)=>{t.markersListPopover=e.payload;},setMultiAudioPopover:(t,e)=>{t.multiAudioPopover=e.payload;},setClearPopoversSlice:t=>{t.settingPopover=false,t.speedPopover=false,t.qualityLevelsPopover=false,t.markersListPopover=false,t.multiAudioPopover=false;}}}),{setSettingPopover:It,setSpeedPopover:Ft,setQualityLevelsPopover:Vt,setMarkersListPopover:_t,setMultiAudioPopover:Rt,setClearPopoversSlice:G}=Y.actions,J=Y.reducer;chunkWO4IQUGO_js.e();var Z={params:{id:"0",type:"",currentTime:0,autoPlay:false,onClose:()=>{}},details:{},play:false},z=toolkit.createSlice({name:"user",initialState:Z,reducers:{setMiniPlayerInfo:(t,e)=>{t.params={...e.payload,id:e.payload.type==="static"?window.atob(e.payload.id):e.payload.id,banner:e.payload.banner?e.payload.banner:void 0};},setDetailsMiniPlayer:(t,e)=>{t.details=e.payload;},setPlayMiniPlayer:(t,e)=>{t.play=e.payload;},setClearMiniPlayerSlice:t=>Z}}),{setMiniPlayerInfo:$t,setDetailsMiniPlayer:Kt,setPlayMiniPlayer:qt,setClearMiniPlayerSlice:Ct}=z.actions,N=z.reducer;var Me=toolkit.configureStore({reducer:{controller:O,videoData:C,popovers:J,user:X,miniPlayer:N},devTools:true,middleware:t=>t({serializableCheck:false})}),s=Me;chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var c=t=>{let{params:e,details:r,isValidAddress:a,isFetchDetails:i,isReady:l,subtitles:p,selectedSubtitle:d,markers:g,multiAudio:P}=s.getState().videoData,{firstPlay:u,lock:n,canPlayVideo:f,manualQuality:S,activeElements:y,isLoading:ce,isEnded:_,isAutoPlay:pe,play:me,isFullScreen:w}=s.getState().controller,{settingPopover:R,speedPopover:ye,qualityLevelsPopover:ge,markersListPopover:he}=s.getState().popovers,{settings:U}=s.getState().user,L=s.getState().miniPlayer;switch(t){case "showHeader":return !u&&f;case "showMain":return !n||u;case "showFooter":return !u&&f;case "showTouchVolumeBrightness":return !u&&k()&&!n&&!_;case "showBackwardForward":return !u&&v()&&!n;case "showTitle":return e.type!=="static"&&w&&!n;case "showSettingPopover":return R;case "showSpeedPopover":return ye;case "showQualityLevelsPopover":return ge;case "showSettingIcon":return e.type!=="static"&&!b()&&!w;case "showBanner":return u&&(r.banner||e.banner);case "showProgressbar":return !b();case "showPictureInPicture":return !b()&&!v();case "showSubtitle":return !!d;case "showMarkerListPopover":return he;case "hidePopovers":return !R;case "isLandscape":return window.innerHeight<=window.innerWidth;case "isTouchScreen":return v();case "isTouchScreenPortrait":return te();case "isTouchScreenLandscape":return k();case "isActiveElements":return y;case "isPlay":return me;case "isPlayMiniPlayer":return L.play;case "isFirstPlay":return u;case "isLock":return n;case "isIOS":return b();case "isLoading":return ce;case "isStaticFormat":return e.type==="static";case "isEnded":return _;case "isAutoPlay":return pe;case "isFullScreen":return w;case "isValidAddress":return a;case "isFetchDetails":return i;case "isAutoQuality":return U.quality===-1;case "isPressKeySpace":return !n;case "isPressKeyI":return !n&&!u;case "isPressKeyF":return !n&&!u||!!e.vhl_status;case "isPressKeyS":return !n&&!u;case "isPressKeyArrowRight":return !u&&!n;case "isPressKeyArrowLeft":return !u&&!n;case "isPressKeyM":return !u&&!n;case "isPressKeyC":return !n&&!u&&!!p&&p.length>0;case "isSendTimelineLog":return e.type!=="static";case "isReady":return l;case "isSelectedSubtitle":return !!p&&p.length>0&&d;case "isMiniPlayerAndMainPlayerSame":return e.id===L.params.id;case "isVideoHighLighter":return !!e.vhl_status;case "hasTitle":return r.title;case "hasBanner":return r.banner;case "hasStreamLink":return r.stream_link;case "hasManualQuality":return S!=null;case "hasSound":return !!U.volume;case "hasAutoPlay":return e.autoplay==="true";case "hasFullScreenParams":return e.fullscreen==="true";case "hasOnFinishedParams":return !!e.onFinished;case "hasSubtitles":return !!p&&p.length>0;case "hasSubtitlesInDetails":return r.subtitles&&r.subtitles.length>0;case "hasActiveCue":return d&&d.activeCues&&d.activeCues.length>0;case "hasOnPlayParams":return !!e.onPlay;case "hasOnPauseParams":return !!e.onPause;case "hasPlayStatusParams":return e.playStatus!==void 0;case "hasMiniPlayer":return L.params.id;case "hasCurrentTimeParams":return e.currentTime!==void 0;case "hasMarkers":return g.length!==0;case "hasSubtitlesInParams":return e.subtitles&&e.subtitles.length;case "hasOnChangeCurrentTime":return !!e.onChangeCurrentTime;case "hasMultiAudio":return P&&!!P.length;case "skeletonStatusInVhl":return e.vhl_status==="skeleton";case "getDetails":return !!e.type&&e.id;case "getMarkers":return String(e.type)==="vod"&&e.id&&i;case "canPlayVideo":return f;case "setSubtitleFirstPlay":return (e.type==="vod"&&r.subtitles&&r.subtitles.length>0||e.type==="static"&&e.subtitles&&e.subtitles.length)&&!u;}};var re=t=>new Promise(e=>setTimeout(e,t*1e3)),h=()=>{let t=localStorage.getItem("hamrahiUUID");return t||(t=Ie(),localStorage.setItem("hamrahiUUID",t)),t.toString()},Ie=()=>{let t="xxxxxxxx-xxxx-Mxxx-Nxxx-x".replace(/[xMN]/g,e=>{let r;return e==="M"?r=Math.floor(1+Math.random()*5):e==="N"?r=Math.floor(8+Math.random()*4):r=Math.floor(Math.random()*16),r.toString(16)});return t+=Date.now().toString(16),t},v=()=>typeof window<"u"&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),k=()=>{let{isFullScreen:t}=s.getState().controller;return v()&&t},te=()=>{let{isFullScreen:t}=s.getState().controller;return v()&&!t},b=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,A=t=>(t<10?"0":"")+t,pr=t=>{let e=Math.floor(t/3600),r=Math.floor(t%3600/60),a=Math.floor(t%3600%60);return e<1?`${A(r)}:${A(a)}`:`${A(e)}:${A(r)}:${A(a)}`},mr=t=>{let e=new URL(t),r=t;return e.search.length?r+=`&uuid=${h()}`:r+=`?uuid=${h()}`},yr=(t,e)=>{try{return [t.target.id,t.target.parentNode.id,t.target.parentNode.parentNode.id,t.target.parentNode.parentNode.parentNode.id,t.target.parentNode.parentNode.parentNode.parentNode.id].includes(e)}catch{return false}},gr=t=>{let e="";t==="mainPlayer"?e=s.getState().videoData.details.stream_link:e=s.getState().miniPlayer.details.stream_link;let r="";return e&&(r=e.split("m3u8")[1]),r?r=`${r}&uuid=${h()}`:r=`?uuid=${h()}`,r},hr=(t,e)=>{let r=document.getElementById(e),a=document.createElement("span");a.style.width=a.style.height="50px",a.style.left=`${t.touches[0].clientX-r.offsetLeft-25}px`,a.style.top=`${t.touches[0].clientY-r.offsetTop-25}px`,a.classList.add("pl-ripple");let i=r.getElementsByClassName("pl-ripple")[0];i&&i.remove(),r.appendChild(a);};var Pr=t=>t>=200&&t<300,fr=()=>{let t=s.dispatch;t(q()),t(B()),t(W()),t(G());},Sr=t=>{let e,r=[];for(e=0;e<t.length;e++)r[e]=t[e].weight+(r[e-1]||0);let a=Math.random()*r[r.length-1];for(e=0;e<r.length&&!(r[e]>a);e++);return t[e].domain},vr=t=>{let e=0;performance&&performance.getEntriesByType("navigation")&&(e=performance.getEntriesByType("navigation")[0].duration),t.current=e;},br=(t,e,r)=>{let a=e*window.devicePixelRatio,i=r*window.devicePixelRatio,l=[];return c("isTouchScreenPortrait")?l=t.filter(p=>Number(p.split("x")[0].trim())<=a):l=t.filter(p=>Number(p.split("x")[0].trim())<=i||Number(p.split("x")[1].trim())<=a),l.indexOf(l[l.length-1])},x=(t,e)=>{let r={};for(let a in t){let i=e?`${e}_${a}`:a;typeof t[a]=="object"&&!Array.isArray(t[a])?r={...r,...x(t[a],i)}:r[i]=t[a];}return r},Ar=t=>{let e={fa:1,en:2};return t.slice().sort((r,a)=>{let i=e[r.lang]||999,l=e[a.lang]||999;return i-l})},wr=t=>{let e;switch(t){case "fa":e="\u0641\u0627\u0631\u0633\u06CC";break;case "en":e="\u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC";break;case "ar":e="\u0639\u0631\u0628\u06CC";break;case "tr":e="\u062A\u0631\u06A9\u06CC";break;}return e},Lr=t=>t.split(/\r?\n|\r|\n/g),kr=t=>{if(t){let e=t.offsetLeft-t.offsetWidth/2,r=window.innerWidth-(t.offsetLeft+t.offsetWidth);if(e>=0&&r>=0)return "inViewport";if(e<0)return "OutViewPortFromLeft";if(r<0)return "OutViewPortFromRight"}};var xr=t=>(t=t.replace(/\d{2}:\d{2}:\d{2}\.\d{3} --> \d{2}:\d{2}:\d{2}\.\d{3}.*\n/g,""),t=t.replace(/<[^>]+>/g,""),t=t.replace(/\n+/g,`
|
|
2
|
-
`),t=t.trim(),t);chunkWO4IQUGO_js.e();var Fr=()=>reactRedux.useDispatch(),Vr=reactRedux.useSelector;chunkWO4IQUGO_js.e();
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
2
|
+
`),t=t.trim(),t);chunkWO4IQUGO_js.e();var Fr=()=>reactRedux.useDispatch(),Vr=reactRedux.useSelector;chunkWO4IQUGO_js.e();var T=()=>document.getElementById("player-tag"),Er=()=>document.getElementById("mini-player-video-tag"),Qr=()=>document.getElementById("time-progress-bar"),Br=()=>s.getState().videoData.videoElementSizeInfo.width-2;chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var Wr=t=>{let{params:e,details:r}=s.getState().videoData,{settings:a}=s.getState().user;return {category:"speedChange",previousSelectedSpeed:a.speed,selectedSpeed:t,id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id,provider:e.provider}},Xr=t=>{let{params:e,details:r}=s.getState().videoData,{qualityLevels:a,manualQuality:i,autoQuality:l}=s.getState().controller;return {category:"qualityChangeRequest",currentPlayingQuality:`${a[c("isAutoQuality")?l??i:i]}P`,previousSelectedQuality:c("isAutoQuality")?"auto":`${a[i]}P`,selectedQuality:t,id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id,provider:e.provider}},Yr=t=>{let{params:e,details:r}=s.getState().videoData,{qualityLevels:a,autoQuality:i}=s.getState().controller,{settings:l}=s.getState().user;return {category:"catchUpLoading",previousVideoTime:Number(sessionStorage.getItem("previousVideoTime")),currentVideoTime:T().currentTime,duration:t,quality:`${c("isAutoQuality")?a[i]:a[l.quality]}P`,isAutoQuality:c("isAutoQuality"),id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id,provider:e.provider}},Gr=t=>{let{params:e,details:r}=s.getState().videoData;return {category:t==="backward"?"backward":"forward",id:Number(e.id),type:e.type,src:r.stream_link?r.stream_link:e.id,provider:e.provider}},Jr=t=>{let{params:e,details:r}=s.getState().videoData;return {category:t,id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id}},Zr=(t,e)=>{let{params:r,details:a}=s.getState().videoData;return {category:"brightnessChange",source:t,target:e,id:Number(r.id),type:r.type,src:c("hasStreamLink")?a.stream_link:r.id}},zr=(t,e)=>{let{params:r,details:a}=s.getState().videoData;return {category:"volumeChange",source:t,target:e,id:Number(r.id),type:r.type,src:c("hasStreamLink")?a.stream_link:r.id}},Nr=t=>{let{params:e,details:r}=s.getState().videoData;return {category:t,id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id}},ae=(t,e,r,a)=>({category:"player-error",type:t,message:e,statusCode:r,url:a}),ea=(t,e)=>{let{params:r,details:a}=s.getState().videoData,{duration:i}=s.getState().controller;return {category:"video-timeline",video_id:+r.id,video_type:r.type,start:t,end:e,watchedDuration:e-t,video_duration:Math.floor(i),clientUUID:h(),user_id:a.user_id,content_type:a.content_type,content_id:a.content_id}},ta=(t,e,r)=>{let{params:a,details:i}=s.getState().videoData;return {category:"autoQualityChange",sourceQuality:t,targetQuality:e,diffQuality:r,id:Number(a.id),type:a.type,src:c("hasStreamLink")?i.stream_link:a.id,provider:a.provider}},ra=(t,e)=>{let{params:r,details:a}=s.getState().videoData;return {category:"pingpong",id:Number(r.id),type:r.type,src:c("hasStreamLink")?a.stream_link:r.id,PingPongDuration:Number((new Date().getTime()-t).toFixed(2)),PingPongSourceQuality:`${e[0]}P`,PingPongTargetQuality:`${e[1]}P`,provider:r.provider}},aa=t=>{let{params:e,details:r}=s.getState().videoData;return {category:t?"playVideo":"pauseVideo",id:Number(e.id),type:e.type,src:r.stream_link?r.stream_link:e.id,provider:e.provider}},sa=(t,e,r,a,i)=>{let{params:l,details:p}=s.getState().videoData,d=Date.now()-i.current+t+e,g=window.performance.memory,P=JSON.parse(JSON.stringify(window.performance.timing));return {category:"initLog",id:Number(l.id),type:l.type,origin:new URL(c("hasStreamLink")?p.stream_link:l.id).origin,src:c("hasStreamLink")?p.stream_link:l.id,loading:t,bannerLoading:!c("hasBanner")||r<0?0:r,waiting:e,firstChunkPlaying:a<0?0:a,totalTime:d,provider:l.provider,performance:x({memory:g,timing:P},"performance"),userAgent:window.navigator.userAgent}},oa=(t,e,r,a,i)=>{let{params:l,details:p}=s.getState().videoData,{settings:d}=s.getState().user,g=Date.now()-r.current;return {category:"loading",id:Number(l.id),type:l.type,src:c("hasStreamLink")?p.stream_link:l.id,duration:t,quality:`${e}P`,isAutoQuality:c("isAutoQuality"),previousLoaderDiff:g,counter:a.current,loadingPercentile:Number((t/g).toFixed(2)),videoTime:T().currentTime,videoEntranceTime:i,speed:d.speed,provider:l.provider}},ia=t=>{let{params:e,details:r}=s.getState().videoData;return {category:"subtitle",language:t,id:Number(e.id),type:e.type,src:c("hasStreamLink")?r.stream_link:e.id}},na=(t,e,r,a,i)=>{let{params:l,details:p}=s.getState().videoData;return {category:"eventMarkerClick",video_id:Number(l.id),markerId:t,markerTime:e,markerTitle:r,markerDescription:a,markerSticker:i,type:l.type,src:c("hasStreamLink")?p.stream_link:l.id,provider:l.provider}};var oe=t=>{t&&se(ae(t.type,t.message,t.statusCode,t.url));};var D=async({url:t,method:e="GET",data:r,headers:a,retryCount:i=1,maxRetryCount:l=0,errorMessage:p,retryPolicy:d,errorCallback:g,timeoutCount:P})=>{let u={url:t,method:e,headers:{...a,"Content-Type":"application/json"},timeout:P?P*1e3:void 0};r?e==="GET"?u={...u,params:{uuid:s.getState().videoData.params.uuid,provider:s.getState().videoData.params.provider==="unknown"?void 0:s.getState().videoData.params.provider,...r}}:u={...u,data:{uuid:s.getState().videoData.params.uuid,provider:s.getState().videoData.params.provider==="unknown"?void 0:s.getState().videoData.params.provider,...r}}:e==="GET"?u={...u,params:{uuid:s.getState().videoData.params.uuid,provider:s.getState().videoData.params.provider==="unknown"?void 0:s.getState().videoData.params.provider}}:u={...u,data:{uuid:s.getState().videoData.params.uuid,provider:s.getState().videoData.params.provider==="unknown"?void 0:s.getState().videoData.params.provider}};try{return await _e__default.default(u)}catch(n){if(oe({type:"API-ERROR",message:n.message?n.message:"",statusCode:n.response&&n.response.status?n.response.status:void 0,url:t}),!(n&&n.response&&n.response.status===401)){g&&g(n.response.status,n.response.message);let f=0,S=0;if(d!==void 0){for(let y=0;y<d.length;y++)if((d[y].codeAbove&&n.response.status>=d[y].codeAbove||d[y].codeBelow&&n.response.status<=d[y].codeBelow)&&(d[y].excludeCodes.length===0||!d[y].excludeCodes.includes(n.response.status))||d[y].includeCodes.length===0||d[y].includeCodes.includes(n.response.status)){S=d[y].count,f=d[y].delay;break}}else S=l,f=i+1;if(i<S)return await re(f),D({url:t,method:e,data:r,headers:a,retryCount:i+1,errorMessage:p,retryPolicy:d,errorCallback:g});if(n.response)return {data:n.response.data?n.response.data:{detail:"\u0639\u0645\u0644\u06CC\u0627\u062A \u0628\u0627 \u062E\u0637\u0627 \u0645\u0648\u0627\u062C\u0647 \u0634\u062F\u0647 \u0627\u0633\u062A."},status:n.response.status}}}};chunkWO4IQUGO_js.e();chunkWO4IQUGO_js.e();var M=ne(),I=(ue(),chunkWO4IQUGO_js.d(le)),F=()=>(I?M.baseUrl:process.env.baseUrl)+"/live/api",V=()=>I?M.fluentdUrl:process.env.fluentdUrl,wa=()=>(I?M.baseUrl:process.env.baseUrl)+"/emoji";var de=()=>({vod:{getVodUrl:`${F()}/v1/live/details/vod/`,getMarkerUrl:t=>`${F()}/v1/live/list-event/vod/${t}/`},videoTimelineLog:`${V()}/video-timeline.log`,logs:`${V()}/cafevideo-endpoint.log`});var se=t=>{let{details:e,params:r}=s.getState().videoData,a={...t,timestamp:Date.now(),clientUUID:h(),uuid:h(),link:window.location.href,user_id:e.user_id,live_id:null,format:void 0,content_type:e.content_type,content_id:e.content_id,daaniHashCode:r.daaniHashCode};D({url:de().logs,method:"post",data:a});};exports.$=br;exports.A=gt;exports.Aa=aa;exports.B=ht;exports.Ba=sa;exports.C=Pt;exports.Ca=oa;exports.D=It;exports.Da=ia;exports.E=Ft;exports.Ea=na;exports.F=Vt;exports.Fa=oe;exports.G=_t;exports.Ga=D;exports.H=Rt;exports.I=G;exports.J=At;exports.K=wt;exports.L=$t;exports.M=Kt;exports.N=qt;exports.O=Ct;exports.P=s;exports.Q=h;exports.R=v;exports.S=pr;exports.T=mr;exports.U=yr;exports.V=gr;exports.W=hr;exports.X=Pr;exports.Y=fr;exports.Z=Sr;exports._=vr;exports.a=Qe;exports.aa=Ar;exports.b=Oe;exports.ba=wr;exports.c=$e;exports.ca=Lr;exports.d=Ke;exports.da=kr;exports.e=qe;exports.ea=xr;exports.f=Ce;exports.fa=c;exports.g=He;exports.ga=Fr;exports.h=je;exports.ha=Vr;exports.i=We;exports.ia=T;exports.j=Xe;exports.ja=Er;exports.k=Ye;exports.ka=Qr;exports.l=Ge;exports.la=Br;exports.m=Je;exports.ma=wa;exports.n=Ze;exports.na=de;exports.o=ze;exports.oa=se;exports.p=Ne;exports.pa=Wr;exports.q=et;exports.qa=Xr;exports.r=ot;exports.ra=Yr;exports.s=it;exports.sa=Gr;exports.t=nt;exports.ta=Jr;exports.u=ut;exports.ua=Zr;exports.v=dt;exports.va=zr;exports.w=ct;exports.wa=Nr;exports.x=pt;exports.xa=ea;exports.y=mt;exports.ya=ta;exports.z=yt;exports.za=ra;//# sourceMappingURL=chunk-7JR7ZDFX.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-7JR7ZDFX.js.map
|