@zezosoft/zezo-ott-react-native-ui-kit 1.1.2 → 1.1.5
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/lib/module/components/Auth/AuthProvider/AuthProvider.js +5 -2
- package/lib/module/components/Auth/AuthProvider/AuthProvider.js.map +1 -1
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js +232 -0
- package/lib/module/components/Auth/One/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js +324 -0
- package/lib/module/components/Auth/One/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/{Login → One/Login}/LoginWithPhone.js +13 -11
- package/lib/module/components/Auth/One/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/One/OTP/OTP.js +301 -0
- package/lib/module/components/Auth/One/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/One/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/One/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js +362 -0
- package/lib/module/components/Auth/One/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.js +8 -5
- package/lib/module/components/Auth/One/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js +80 -0
- package/lib/module/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.js +1 -1
- package/lib/module/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.js +42 -21
- package/lib/module/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/One/index.js +25 -0
- package/lib/module/components/Auth/One/index.js.map +1 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js +93 -0
- package/lib/module/components/Auth/Two/AuthHeader/AuthHeader.js.map +1 -0
- package/lib/module/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.js +55 -28
- package/lib/module/components/Auth/Two/ForgotPassword/ForgotPassword.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js +138 -0
- package/lib/module/components/Auth/Two/Login/AuthLoginShell.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js +226 -0
- package/lib/module/components/Auth/Two/Login/LoginWithEmail.js.map +1 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js +143 -0
- package/lib/module/components/Auth/Two/Login/LoginWithPhone.js.map +1 -0
- package/lib/module/components/Auth/{OTP → Two/OTP}/OTP.js +93 -63
- package/lib/module/components/Auth/Two/OTP/OTP.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js +479 -0
- package/lib/module/components/Auth/Two/QrLogin/QrLogin.js.map +1 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js +295 -0
- package/lib/module/components/Auth/Two/QrLogin/components/QrViewArea.js.map +1 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js +379 -0
- package/lib/module/components/Auth/Two/SignUp/SignUp.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js +141 -0
- package/lib/module/components/Auth/Two/SplashScreen/SplashScreen.js.map +1 -0
- package/lib/module/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.js +1 -1
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js +63 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.js.map +1 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js +157 -0
- package/lib/module/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.js.map +1 -0
- package/lib/module/components/Auth/Two/index.js +29 -0
- package/lib/module/components/Auth/Two/index.js.map +1 -0
- package/lib/module/components/Auth/index.js +7 -22
- package/lib/module/components/Auth/index.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js +7 -3
- package/lib/module/components/BackgroundLayout/BackgroundLayout.js.map +1 -1
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js +52 -0
- package/lib/module/components/BackgroundLayout/BackgroundLayoutOne.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.js +7 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheetOne.js +170 -0
- package/lib/module/components/BottomSheet/BottomSheetOne.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +1 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -1
- package/lib/module/components/Button/PrimaryBtn.js +16 -6
- package/lib/module/components/Button/PrimaryBtn.js.map +1 -1
- package/lib/module/components/Content/Card/Category/Category.js +88 -13
- package/lib/module/components/Content/Card/Category/Category.js.map +1 -1
- package/lib/module/components/Content/Card/Category/CategroyTwo.js +287 -0
- package/lib/module/components/Content/Card/Category/CategroyTwo.js.map +1 -0
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js +237 -108
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js +191 -132
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js +714 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Three.js.map +1 -0
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js +139 -92
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/index.js +3 -1
- package/lib/module/components/Content/Card/Sliders/index.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js +132 -48
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +127 -59
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +126 -50
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js +139 -53
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js +207 -115
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js +119 -94
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js +187 -171
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +145 -64
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/AdsPoster.js +162 -0
- package/lib/module/components/Content/Card/components/AdsPoster.js.map +1 -0
- package/lib/module/components/Content/Card/components/CardPoster.js +217 -135
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Card/components/NavigateToMore.js +26 -2
- package/lib/module/components/Content/Card/components/NavigateToMore.js.map +1 -1
- package/lib/module/components/Content/Card/components/index.js +4 -0
- package/lib/module/components/Content/Card/components/index.js.map +1 -0
- package/lib/module/components/Content/Content.js +90 -33
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js +41 -11
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/Content/types.js +4 -0
- package/lib/module/components/Content/types.js.map +1 -0
- package/lib/module/components/ContentView/MoreContentList.js +1 -0
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/{ContentView.js → One/ContentViewOne.js} +6 -5
- package/lib/module/components/ContentView/One/ContentViewOne.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/AboutSection.js +2 -2
- package/lib/module/components/ContentView/One/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/CastCard.js +2 -2
- package/lib/module/components/ContentView/One/components/CastCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/EpisodeCard.js +5 -6
- package/lib/module/components/ContentView/One/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/GenreTags.js +2 -2
- package/lib/module/components/ContentView/One/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/HeroBanner.js +45 -44
- package/lib/module/components/ContentView/One/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/MiniInfo.js +50 -5
- package/lib/module/components/ContentView/One/components/MiniInfo.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/PlayButton.js +1 -1
- package/lib/module/components/ContentView/One/components/PlayButton.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/Title.js +1 -1
- package/lib/module/components/ContentView/One/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/{components → One/components}/TrailerButton.js +2 -2
- package/lib/module/components/ContentView/One/components/TrailerButton.js.map +1 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js +220 -0
- package/lib/module/components/ContentView/Two/ContentViewTwo.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js +150 -0
- package/lib/module/components/ContentView/Two/components/AboutSection.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Details.js +156 -0
- package/lib/module/components/ContentView/Two/components/Details.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js +425 -0
- package/lib/module/components/ContentView/Two/components/EpisodeCard.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js +86 -0
- package/lib/module/components/ContentView/Two/components/GenreTags.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js +339 -0
- package/lib/module/components/ContentView/Two/components/HeroBanner.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js +88 -0
- package/lib/module/components/ContentView/Two/components/LikeShareActions.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js +235 -0
- package/lib/module/components/ContentView/Two/components/MoreLikeThisContentList .js.map +1 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js +120 -0
- package/lib/module/components/ContentView/Two/components/PlayOrTrailer.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js +112 -0
- package/lib/module/components/ContentView/Two/components/SectionTabs.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/Title.js +146 -0
- package/lib/module/components/ContentView/Two/components/Title.js.map +1 -0
- package/lib/module/components/ContentView/Two/components/index.js +18 -0
- package/lib/module/components/ContentView/Two/components/index.js.map +1 -0
- package/lib/module/components/ContentView/index.js +6 -1
- package/lib/module/components/ContentView/index.js.map +1 -1
- package/lib/module/components/Headers/Four.js +68 -0
- package/lib/module/components/Headers/Four.js.map +1 -0
- package/lib/module/components/Headers/Three.js +75 -24
- package/lib/module/components/Headers/Three.js.map +1 -1
- package/lib/module/components/Headers/index.js +3 -1
- package/lib/module/components/Headers/index.js.map +1 -1
- package/lib/module/components/Input/Input.js +5 -1
- package/lib/module/components/Input/Input.js.map +1 -1
- package/lib/module/components/Input/InputThree.js +157 -0
- package/lib/module/components/Input/InputThree.js.map +1 -0
- package/lib/module/components/Input/PhoneNumberInput.js.map +1 -1
- package/lib/module/components/Input/PhoneNumberInputTwo.js +316 -0
- package/lib/module/components/Input/PhoneNumberInputTwo.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +14 -6
- package/lib/module/components/Loader/Loader.js.map +1 -1
- package/lib/module/components/Logo/Logo.js +42 -17
- package/lib/module/components/Logo/Logo.js.map +1 -1
- package/lib/module/components/NewRelease/NewReleaseSheet.js +227 -0
- package/lib/module/components/NewRelease/NewReleaseSheet.js.map +1 -0
- package/lib/module/components/NewRelease/index.js +4 -0
- package/lib/module/components/NewRelease/index.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js +92 -17
- package/lib/module/components/Reels/ReelsSeries/MediaControls/BottomControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js +65 -2
- package/lib/module/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js +2 -1
- package/lib/module/components/Reels/ReelsSeries/MediaControls/RightControls.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js +4 -2
- package/lib/module/components/Reels/ReelsSeries/Model/SettingModal.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js +80 -46
- package/lib/module/components/Reels/ReelsSeries/ReelsSeries.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js +78 -29
- package/lib/module/components/Reels/ReelsSeries/ReelsSeriesItem.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js +21 -34
- package/lib/module/components/Reels/ReelsSeries/components/VideoControls/QualityControl.js.map +1 -1
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js +58 -0
- package/lib/module/components/Reels/ReelsSeries/useReelsWatchProgress.js.map +1 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js +44 -0
- package/lib/module/components/Reels/ReelsSeries/utils/quality.js.map +1 -0
- package/lib/module/components/Reels/index.js +1 -0
- package/lib/module/components/Reels/index.js.map +1 -1
- package/lib/module/components/Search/One.js +7 -4
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Search/components/SearchCard.js +59 -7
- package/lib/module/components/Search/components/SearchCard.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js +2 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js +1 -0
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js +1 -0
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/module/components/common/AppStatusBar.js +2 -1
- package/lib/module/components/common/AppStatusBar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/constants/dummySections.js +47 -5
- package/lib/module/constants/dummySections.js.map +1 -1
- package/lib/module/hooks/Images/index.js +5 -0
- package/lib/module/hooks/Images/index.js.map +1 -0
- package/lib/module/hooks/Images/useImageLoader.js +168 -0
- package/lib/module/hooks/Images/useImageLoader.js.map +1 -0
- package/lib/module/hooks/Images/useImageValidation.js +36 -0
- package/lib/module/hooks/Images/useImageValidation.js.map +1 -0
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAdTracking.js +270 -0
- package/lib/module/hooks/useAdTracking.js.map +1 -0
- package/lib/module/hooks/useCards.js +164 -0
- package/lib/module/hooks/useCards.js.map +1 -0
- package/lib/module/hooks/usePaginatedSection.js +11 -6
- package/lib/module/hooks/usePaginatedSection.js.map +1 -1
- package/lib/module/hooks/useSplashCache.js +78 -60
- package/lib/module/hooks/useSplashCache.js.map +1 -1
- package/lib/module/theme/ThemeProvider.js +14 -2
- package/lib/module/theme/ThemeProvider.js.map +1 -1
- package/lib/module/theme/hook/index.js +0 -1
- package/lib/module/theme/hook/index.js.map +1 -1
- package/lib/module/theme/hook/useInternalTheme.js +21 -7
- package/lib/module/theme/hook/useInternalTheme.js.map +1 -1
- package/lib/module/theme/themes.js +2 -0
- package/lib/module/theme/themes.js.map +1 -1
- package/lib/module/theme/utils/validateColor.js +84 -0
- package/lib/module/theme/utils/validateColor.js.map +1 -0
- package/lib/module/utils/colorUtils.js +68 -0
- package/lib/module/utils/colorUtils.js.map +1 -0
- package/lib/typescript/src/components/Auth/{ForgotPassword → One/ForgotPassword}/ForgotPassword.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithEmail.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{Login → One/Login}/LoginWithPhone.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{OTP → One/OTP}/OTP.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/QrLogin.d.ts +3 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{QrLogin → One/QrLogin}/components/QrViewArea.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SignUp → One/SignUp}/SignUp.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.d.ts +1 -1
- package/lib/typescript/src/components/Auth/One/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts +14 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts +234 -0
- package/lib/typescript/src/components/Auth/One/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts +16 -0
- package/lib/typescript/src/components/Auth/Two/AuthHeader/AuthHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts +53 -0
- package/lib/typescript/src/components/Auth/Two/ForgotPassword/ForgotPassword.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/Login/AuthLoginShell.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts +52 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts +37 -0
- package/lib/typescript/src/components/Auth/Two/Login/LoginWithPhone.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts +63 -0
- package/lib/typescript/src/components/Auth/Two/OTP/OTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts +19 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/QrLogin.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts +14 -0
- package/lib/typescript/src/components/Auth/Two/QrLogin/components/QrViewArea.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts +67 -0
- package/lib/typescript/src/components/Auth/Two/SignUp/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts +35 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/SplashScreen.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashImage/SplashImage.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts +17 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts +20 -0
- package/lib/typescript/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts +220 -0
- package/lib/typescript/src/components/Auth/Two/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Auth/index.d.ts +447 -232
- package/lib/typescript/src/components/Auth/index.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayout.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts +7 -0
- package/lib/typescript/src/components/BackgroundLayout/BackgroundLayoutOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts +19 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheetOne.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts +1 -0
- package/lib/typescript/src/components/Button/PrimaryBtn.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +1 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/Category.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/Category/CategroyTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts +19 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +11 -0
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +15 -3
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +13 -5
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +1 -0
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +13 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts +26 -0
- package/lib/typescript/src/components/Content/Card/components/AdsPoster.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +4 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts +3 -0
- package/lib/typescript/src/components/Content/Card/components/NavigateToMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/index.d.ts +2 -0
- package/lib/typescript/src/components/Content/Card/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Content/Card/index.d.ts +76 -6
- package/lib/typescript/src/components/Content/Card/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Content.d.ts +2 -51
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -39
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/types.d.ts +149 -0
- package/lib/typescript/src/components/Content/types.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/One/ContentViewOne.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/CastCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/HeroBanner.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/MiniInfo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/PlayButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/{components → One/components}/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/One/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/One/components/TrailerButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts +18 -0
- package/lib/typescript/src/components/ContentView/Two/ContentViewTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts +27 -0
- package/lib/typescript/src/components/ContentView/Two/components/AboutSection.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/Details.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts +23 -0
- package/lib/typescript/src/components/ContentView/Two/components/EpisodeCard.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts +22 -0
- package/lib/typescript/src/components/ContentView/Two/components/GenreTags.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts +8 -0
- package/lib/typescript/src/components/ContentView/Two/components/HeroBanner.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts +25 -0
- package/lib/typescript/src/components/ContentView/Two/components/LikeShareActions.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts +26 -0
- package/lib/typescript/src/components/ContentView/Two/components/MoreLikeThisContentList .d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts +21 -0
- package/lib/typescript/src/components/ContentView/Two/components/PlayOrTrailer.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts +28 -0
- package/lib/typescript/src/components/ContentView/Two/components/SectionTabs.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts +34 -0
- package/lib/typescript/src/components/ContentView/Two/components/Title.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts +15 -0
- package/lib/typescript/src/components/ContentView/Two/components/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ContentView/index.d.ts +6 -1
- package/lib/typescript/src/components/ContentView/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/Four.d.ts +18 -0
- package/lib/typescript/src/components/Headers/Four.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +9 -1
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Headers/index.d.ts +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/Input.d.ts +2 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/InputThree.d.ts +22 -0
- package/lib/typescript/src/components/Input/InputThree.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/PhoneNumberInput.d.ts.map +1 -1
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts +26 -0
- package/lib/typescript/src/components/Input/PhoneNumberInputTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +2 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts +1 -1
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -1
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts +10 -0
- package/lib/typescript/src/components/NewRelease/NewReleaseSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts +2 -0
- package/lib/typescript/src/components/NewRelease/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts +2 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/BottomControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/MediaControls/RightControls.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts +2 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/Model/SettingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts +9 -2
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeries.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts +11 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/ReelsSeriesItem.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts +11 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts +15 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/types.d.ts.map +1 -1
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts +34 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/useReelsWatchProgress.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts +10 -0
- package/lib/typescript/src/components/Reels/ReelsSeries/utils/quality.d.ts.map +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts +1 -0
- package/lib/typescript/src/components/Reels/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts +1 -0
- package/lib/typescript/src/components/Search/components/SearchCard.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/components/common/AppStatusBar.d.ts +1 -0
- package/lib/typescript/src/components/common/AppStatusBar.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/constants/dummySections.d.ts +8 -1
- package/lib/typescript/src/constants/dummySections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/Images/index.d.ts +3 -0
- package/lib/typescript/src/hooks/Images/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts +36 -0
- package/lib/typescript/src/hooks/Images/useImageLoader.d.ts.map +1 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts +17 -0
- package/lib/typescript/src/hooks/Images/useImageValidation.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +3 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAdTracking.d.ts +39 -0
- package/lib/typescript/src/hooks/useAdTracking.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCards.d.ts +36 -0
- package/lib/typescript/src/hooks/useCards.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts +12 -2
- package/lib/typescript/src/hooks/usePaginatedSection.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSplashCache.d.ts.map +1 -1
- package/lib/typescript/src/theme/ThemeProvider.d.ts +2 -0
- package/lib/typescript/src/theme/ThemeProvider.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/index.d.ts +0 -1
- package/lib/typescript/src/theme/hook/index.d.ts.map +1 -1
- package/lib/typescript/src/theme/hook/useInternalTheme.d.ts.map +1 -1
- package/lib/typescript/src/theme/themes.d.ts +1 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -1
- package/lib/typescript/src/theme/utils/validateColor.d.ts +21 -0
- package/lib/typescript/src/theme/utils/validateColor.d.ts.map +1 -0
- package/lib/typescript/src/types/content/content-view.types.d.ts +40 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +7 -4
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/colorUtils.d.ts +19 -0
- package/lib/typescript/src/utils/colorUtils.d.ts.map +1 -0
- package/package.json +13 -4
- package/src/components/Auth/AuthProvider/AuthProvider.tsx +6 -2
- package/src/components/Auth/One/ForgotPassword/ForgotPassword.tsx +324 -0
- package/src/components/Auth/One/Login/LoginWithEmail.tsx +455 -0
- package/src/components/Auth/{Login → One/Login}/LoginWithPhone.tsx +12 -12
- package/src/components/Auth/One/OTP/OTP.tsx +465 -0
- package/src/components/Auth/One/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/One/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/One/SignUp/SignUp.tsx +479 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/SplashScreen.tsx +10 -6
- package/src/components/Auth/One/SplashScreen/components/SplashImage/SplashImage.tsx +103 -0
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.tsx +1 -1
- package/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.tsx +35 -25
- package/src/components/Auth/One/index.ts +24 -0
- package/src/components/Auth/Two/AuthHeader/AuthHeader.tsx +108 -0
- package/src/components/Auth/{ForgotPassword → Two/ForgotPassword}/ForgotPassword.tsx +62 -35
- package/src/components/Auth/Two/Login/AuthLoginShell.tsx +173 -0
- package/src/components/Auth/Two/Login/LoginWithEmail.tsx +279 -0
- package/src/components/Auth/Two/Login/LoginWithPhone.tsx +188 -0
- package/src/components/Auth/{OTP → Two/OTP}/OTP.tsx +92 -81
- package/src/components/Auth/Two/QrLogin/QrLogin.tsx +602 -0
- package/src/components/Auth/Two/QrLogin/components/QrViewArea.tsx +423 -0
- package/src/components/Auth/Two/SignUp/SignUp.tsx +472 -0
- package/src/components/Auth/Two/SplashScreen/SplashScreen.tsx +248 -0
- package/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.tsx +1 -1
- package/src/components/Auth/Two/SplashScreen/components/SplashLottie/SplashLottie.tsx +77 -0
- package/src/components/Auth/Two/SplashScreen/components/SplashVideo/SplashVideo.tsx +178 -0
- package/src/components/Auth/Two/index.ts +28 -0
- package/src/components/Auth/index.ts +7 -22
- package/src/components/BackgroundLayout/BackgroundLayout.tsx +2 -0
- package/src/components/BackgroundLayout/BackgroundLayoutOne.tsx +56 -0
- package/src/components/BottomSheet/BottomSheet.tsx +6 -1
- package/src/components/BottomSheet/BottomSheetOne.tsx +220 -0
- package/src/components/BottomSheet/index.ts +2 -0
- package/src/components/Button/PrimaryBtn.tsx +10 -2
- package/src/components/Content/Card/Category/Category.tsx +104 -10
- package/src/components/Content/Card/Category/CategroyTwo.tsx +429 -0
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +281 -136
- package/src/components/Content/Card/Sliders/Styles/One.tsx +248 -152
- package/src/components/Content/Card/Sliders/Styles/Three.tsx +935 -0
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +171 -102
- package/src/components/Content/Card/Sliders/index.ts +2 -0
- package/src/components/Content/Card/Styles/Five.tsx +162 -62
- package/src/components/Content/Card/Styles/Four.tsx +165 -85
- package/src/components/Content/Card/Styles/One.tsx +162 -71
- package/src/components/Content/Card/Styles/RotateInOut.tsx +158 -60
- package/src/components/Content/Card/Styles/Six.tsx +242 -142
- package/src/components/Content/Card/Styles/Three.tsx +160 -162
- package/src/components/Content/Card/Styles/TopTen.tsx +231 -191
- package/src/components/Content/Card/Styles/Two.tsx +183 -79
- package/src/components/Content/Card/components/AdsPoster.tsx +202 -0
- package/src/components/Content/Card/components/CardPoster.tsx +250 -151
- package/src/components/Content/Card/components/NavigateToMore.tsx +29 -1
- package/src/components/Content/Card/components/index.ts +1 -0
- package/src/components/Content/Content.tsx +103 -119
- package/src/components/Content/Sections.tsx +51 -45
- package/src/components/Content/types.ts +176 -0
- package/src/components/ContentView/MoreContentList.tsx +1 -0
- package/src/components/ContentView/{ContentView.tsx → One/ContentViewOne.tsx} +8 -7
- package/src/components/ContentView/{components → One/components}/AboutSection.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/CastCard.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/EpisodeCard.tsx +7 -8
- package/src/components/ContentView/{components → One/components}/GenreTags.tsx +3 -3
- package/src/components/ContentView/{components → One/components}/HeroBanner.tsx +44 -59
- package/src/components/ContentView/{components → One/components}/MiniInfo.tsx +69 -5
- package/src/components/ContentView/{components → One/components}/PlayButton.tsx +1 -1
- package/src/components/ContentView/{components → One/components}/Title.tsx +2 -2
- package/src/components/ContentView/{components → One/components}/TrailerButton.tsx +2 -2
- package/src/components/ContentView/Two/ContentViewTwo.tsx +343 -0
- package/src/components/ContentView/Two/components/AboutSection.tsx +216 -0
- package/src/components/ContentView/Two/components/Details.tsx +193 -0
- package/src/components/ContentView/Two/components/EpisodeCard.tsx +602 -0
- package/src/components/ContentView/Two/components/GenreTags.tsx +123 -0
- package/src/components/ContentView/Two/components/HeroBanner.tsx +402 -0
- package/src/components/ContentView/Two/components/LikeShareActions.tsx +125 -0
- package/src/components/ContentView/Two/components/MoreLikeThisContentList .tsx +305 -0
- package/src/components/ContentView/Two/components/PlayOrTrailer.tsx +133 -0
- package/src/components/ContentView/Two/components/SectionTabs.tsx +177 -0
- package/src/components/ContentView/Two/components/Title.tsx +226 -0
- package/src/components/ContentView/Two/components/index.ts +15 -0
- package/src/components/ContentView/index.ts +7 -1
- package/src/components/Headers/Four.tsx +83 -0
- package/src/components/Headers/Three.tsx +88 -25
- package/src/components/Headers/index.ts +2 -0
- package/src/components/Input/Input.ts +4 -0
- package/src/components/Input/InputThree.tsx +212 -0
- package/src/components/Input/PhoneNumberInput.tsx +4 -2
- package/src/components/Input/PhoneNumberInputTwo.tsx +418 -0
- package/src/components/Loader/Loader.tsx +25 -9
- package/src/components/Logo/Logo.tsx +53 -34
- package/src/components/NewRelease/NewReleaseSheet.tsx +250 -0
- package/src/components/NewRelease/index.ts +1 -0
- package/src/components/Reels/ReelsSeries/MediaControls/BottomControls.tsx +92 -27
- package/src/components/Reels/ReelsSeries/MediaControls/MediaControlsProvider.tsx +81 -1
- package/src/components/Reels/ReelsSeries/MediaControls/RightControls.tsx +4 -1
- package/src/components/Reels/ReelsSeries/Model/SettingModal.tsx +6 -3
- package/src/components/Reels/ReelsSeries/ReelsSeries.tsx +88 -55
- package/src/components/Reels/ReelsSeries/ReelsSeriesItem.tsx +92 -30
- package/src/components/Reels/ReelsSeries/components/VideoControls/QualityControl.tsx +35 -38
- package/src/components/Reels/ReelsSeries/types.ts +16 -0
- package/src/components/Reels/ReelsSeries/useReelsWatchProgress.ts +85 -0
- package/src/components/Reels/ReelsSeries/utils/quality.ts +48 -0
- package/src/components/Reels/index.ts +1 -0
- package/src/components/Search/One.tsx +8 -5
- package/src/components/Search/components/SearchCard.tsx +68 -11
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -0
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -0
- package/src/components/User/WatchLater/WatchLater.tsx +1 -0
- package/src/components/common/AppStatusBar.tsx +7 -1
- package/src/components/index.ts +1 -0
- package/src/constants/dummySections.ts +54 -3
- package/src/hooks/Images/index.ts +2 -0
- package/src/hooks/Images/useImageLoader.ts +206 -0
- package/src/hooks/Images/useImageValidation.ts +36 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useAdTracking.ts +349 -0
- package/src/hooks/useCards.ts +228 -0
- package/src/hooks/usePaginatedSection.ts +26 -7
- package/src/hooks/useSplashCache.ts +88 -69
- package/src/theme/ThemeProvider.tsx +15 -2
- package/src/theme/hook/index.ts +0 -1
- package/src/theme/hook/useInternalTheme.ts +22 -13
- package/src/theme/themes.ts +3 -0
- package/src/theme/utils/validateColor.ts +127 -0
- package/src/types/content/content-view.types.ts +43 -1
- package/src/types/sections/index.ts +7 -4
- package/src/utils/colorUtils.ts +70 -0
- package/lib/module/components/Auth/ForgotPassword/ForgotPassword.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithEmail.js +0 -314
- package/lib/module/components/Auth/Login/LoginWithEmail.js.map +0 -1
- package/lib/module/components/Auth/Login/LoginWithPhone.js.map +0 -1
- package/lib/module/components/Auth/OTP/OTP.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/QrLogin.js +0 -313
- package/lib/module/components/Auth/QrLogin/QrLogin.js.map +0 -1
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js +0 -243
- package/lib/module/components/Auth/QrLogin/components/QrViewArea.js.map +0 -1
- package/lib/module/components/Auth/SignUp/SignUp.js +0 -352
- package/lib/module/components/Auth/SignUp/SignUp.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/SplashScreen.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashImage/SplashImage.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.js.map +0 -1
- package/lib/module/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.js.map +0 -1
- package/lib/module/components/ContentView/ContentView.js.map +0 -1
- package/lib/module/components/ContentView/components/AboutSection.js.map +0 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +0 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +0 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +0 -1
- package/lib/module/components/ContentView/components/HeroBanner.js.map +0 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +0 -1
- package/lib/module/components/ContentView/components/PlayButton.js.map +0 -1
- package/lib/module/components/ContentView/components/Title.js.map +0 -1
- package/lib/module/components/ContentView/components/TrailerButton.js.map +0 -1
- package/lib/module/theme/hook/useThemeStatusBar.js +0 -33
- package/lib/module/theme/hook/useThemeStatusBar.js.map +0 -1
- package/lib/typescript/src/components/Auth/ForgotPassword/ForgotPassword.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/Login/LoginWithPhone.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/OTP/OTP.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/QrLogin.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/QrLogin/components/QrViewArea.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SignUp/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/SplashScreen.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashImage/SplashImage.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashLottie/SplashLottie.d.ts.map +0 -1
- package/lib/typescript/src/components/Auth/SplashScreen/components/SplashVideo/SplashVideo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/ContentView.d.ts +0 -15
- package/lib/typescript/src/components/ContentView/ContentView.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/HeroBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/PlayButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +0 -1
- package/lib/typescript/src/components/ContentView/components/TrailerButton.d.ts.map +0 -1
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts +0 -10
- package/lib/typescript/src/theme/hook/useThemeStatusBar.d.ts.map +0 -1
- package/src/components/Auth/Login/LoginWithEmail.tsx +0 -441
- package/src/components/Auth/QrLogin/QrLogin.tsx +0 -342
- package/src/components/Auth/QrLogin/components/QrViewArea.tsx +0 -329
- package/src/components/Auth/SignUp/SignUp.tsx +0 -462
- package/src/theme/hook/useThemeStatusBar.ts +0 -42
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashLottie/SplashLottie.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → One/SplashScreen}/components/SplashVideo/SplashVideo.d.ts +0 -0
- /package/lib/typescript/src/components/Auth/{SplashScreen → Two/SplashScreen}/components/SplashImage/SplashImage.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/PlayButton.d.ts +0 -0
- /package/lib/typescript/src/components/ContentView/{components → One/components}/TrailerButton.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useMemo","useCallback","StyleSheet","View","TouchableOpacity","FlatGrid","scale","Search","useInternalTheme","AppHeader","Text","CardPoster","RFValue","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","WatchHistoryComponent","data","isLoading","title","headerComponent","onBackPress","onSearchPress","showSearchIcon","itemDimension","spacing","listStyle","contentContainerStyle","theme","renderItem","skeletonCount","skeletonComponent","noDataComponent","noDataText","onPressItem","onEndReached","onEndReachedThreshold","appliedTheme","listData","Array","from","length","_","i","_id","handleItemPress","item","renderGridItem","index","onPress","activeOpacity","children","content_offering_type","content","posterUri","poster","keyExtractor","contentContainerStyleMemo","paddingBottom","titleStyleMemo","color","colors","onBackground","style","styles","container","titleAlign","titleStyle","onRightPress","rightIcon","size","undefined","noData","WatchHistory","create","flex","alignItems","justifyContent","fontSize","opacity"],"sourceRoot":"../../../../../src","sources":["components/User/WatchHistory/WatchHistory.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACzD,SACEC,UAAU,EACVC,IAAI,EACJC,gBAAgB,QAIX,cAAc;AACrB,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,KAAK,QAAQ,2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D,CAACZ,WAAW,CACd,CAAC;EAED,MAAMa,cAAmC,GAAGjD,WAAW,CACrD,CAAC;IAAEgD,IAAI;IAAEE;EAAM,CAAC,KAAK;IACnB,IAAI9B,SAAS,IAAIa,iBAAiB,EAAE,OAAOA,iBAAiB;IAC5D,IAAI,CAACb,SAAS,IAAIW,UAAU,EAAE,OAAOA,UAAU,CAACiB,IAAI,EAAEE,KAAK,CAAC;IAE5D,oBACErC,IAAA,CAACV,gBAAgB;MAEfgD,OAAO,EAAEA,CAAA,KAAMJ,eAAe,CAACC,IAAI,CAAE;MACrCI,aAAa,EAAE,GAAI;MAAAC,QAAA,eAEnBxC,IAAA,CAACH,UAAU;QACT4C,qBAAqB,EAAEN,IAAI,EAAEO,OAAO,EAAED,qBAAsB;
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","useCallback","StyleSheet","View","TouchableOpacity","FlatGrid","scale","Search","useInternalTheme","AppHeader","Text","CardPoster","RFValue","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","WatchHistoryComponent","data","isLoading","title","headerComponent","onBackPress","onSearchPress","showSearchIcon","itemDimension","spacing","listStyle","contentContainerStyle","theme","renderItem","skeletonCount","skeletonComponent","noDataComponent","noDataText","onPressItem","onEndReached","onEndReachedThreshold","appliedTheme","listData","Array","from","length","_","i","_id","handleItemPress","item","renderGridItem","index","onPress","activeOpacity","children","content_offering_type","content","contentType","type","posterUri","poster","keyExtractor","contentContainerStyleMemo","paddingBottom","titleStyleMemo","color","colors","onBackground","style","styles","container","titleAlign","titleStyle","onRightPress","rightIcon","size","undefined","noData","WatchHistory","create","flex","alignItems","justifyContent","fontSize","opacity"],"sourceRoot":"../../../../../src","sources":["components/User/WatchHistory/WatchHistory.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACzD,SACEC,UAAU,EACVC,IAAI,EACJC,gBAAgB,QAIX,cAAc;A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EAAA,CACG,CAAC;AAEX,CAAC;AAED,OAAO,MAAM0C,YAAY,gBAAG/E,IAAI,CAACoB,qBAAqB,CAAC;AAEvD,MAAMkD,MAAM,GAAGnE,UAAU,CAAC6E,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,IAAI,EAAE;EACR,CAAC;EAEDH,MAAM,EAAE;IACNG,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACD9C,UAAU,EAAE;IACV+C,QAAQ,EAAEvE,OAAO,CAAC,EAAE,CAAC;IACrBwE,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -172,6 +172,7 @@ const WatchLaterComponent = ({
|
|
|
172
172
|
activeOpacity: 0.8,
|
|
173
173
|
children: /*#__PURE__*/_jsx(CardPoster, {
|
|
174
174
|
content_offering_type: item?.content?.content_offering_type,
|
|
175
|
+
contentType: item?.content?.type,
|
|
175
176
|
theme: appliedTheme,
|
|
176
177
|
isLoading: isLoading,
|
|
177
178
|
posterUri: item?.content?.poster
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useMemo","useCallback","StyleSheet","View","TouchableOpacity","FlatList","FlatGrid","scale","Search","SkeletonPlaceholder","useInternalTheme","AppHeader","Text","ThumbnailCard","CardPoster","RFValue","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","DefaultSkeleton","theme","viewMode","borderRadius","highlightColor","colors","skeletonHighlightColor","backgroundColor","skeletonBaseColor","children","style","styles","detailedItem","thumbnailWrapper","detailedInfo","justifyContent","width","height","marginBottom","margin","displayName","WatchLaterComponent","data","isLoading","title","headerComponent","onBackPress","onSearchPress","showSearchIcon","itemDimension","spacing","listStyle","titleStyle","contentContainerStyle","renderItem","skeletonCount","skeletonComponent","noDataComponent","noDataText","onPressItem","onEndReached","onEndReachedThreshold","appliedTheme","listData","Array","from","length","_","i","_id","content","name","description","poster","thumbnail","handleItemPress","item","detailedDescStyle","detailedDesc","color","textSecondary","renderGridItem","index","onPress","activeOpacity","thumbnailUri","wrapperStyle","thumbnailImage","numberOfLines","detailedTitle","content_offering_type","posterUri","keyExtractor","contentContainerStyleMemo","contentContainerFlatStyle","titleStyleMemo","flatten","onBackground","container","isValidElement","titleAlign","onRightPress","rightIcon","size","undefined","showsVerticalScrollIndicator","noData","WatchLater","create","flex","alignItems","fontSize","opacity","paddingBottom","aspectRatio","overflow","alignSelf","flexDirection","marginVertical","paddingHorizontal","detailedPoster","marginLeft","fontWeight","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/User/WatchLater/WatchLater.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACzD,SACEC,UAAU,EACVC,IAAI,EACJC,gBAAgB,EAChBC,QAAQ,QAKH,cAAc;AACrB,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,OAAOC,mBAAmB,MAAM,mCAAmC;AAEnE,SAASC,gBAAgB,QAAQ,yCAAsC;AAEvE,OAAOC,SAAS,MAAM,4BAAyB;AAC/C,SAASC,IAAI,QAAQ,qBAAY;AACjC,SAASC,aAAa,QAAQ,gDAA6C;AAC3E,OAAOC,UAAU,MAAM,6CAA0C;AAEjE,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAsC3D,MAAMC,eAGJ,gBAAGvB,IAAI,CAAC,CAAC;EAAEwB,KAAK;EAAEC;AAAS,CAAC,KAAK;EACjC,IAAIA,QAAQ,KAAK,UAAU,EAAE;IAC3B,oBACEP,IAAA,CAACR,mBAAmB;MAClBgB,YAAY,EAAE,CAAE;MAChBC,cAAc,EAAEH,KAAK,CAACI,MA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KAAM;YACjB0C,YAAY,EAAET,IAAI,EAAEN,OAAO,EAAEI,SAAU;YACvCY,YAAY,EAAEvD,MAAM,CAACwD;UAAe,CACrC;QAAC,CACE,CAAC,eACPtE,KAAA,CAAChB,IAAI;UAAC6B,KAAK,EAAEC,MAAM,CAACG,YAAa;UAAAL,QAAA,gBAC/Bd,IAAA,CAACL,IAAI;YACHW,KAAK,EAAEA,KAAM;YACbmE,aAAa,EAAE,CAAE;YACjB1D,KAAK,EAAEC,MAAM,CAAC0D,aAAc;YAAA5D,QAAA,EAE3B+C,IAAI,EAAEN,OAAO,EAAEC;UAAI,CAChB,CAAC,eACPxD,IAAA,CAACL,IAAI;YAACW,KAAK,EAAEA,KAAM;YAACmE,aAAa,EAAE,CAAE;YAAC1D,KAAK,EAAE+C,iBAAkB;YAAAhD,QAAA,EAC5D+C,IAAI,EAAEN,OAAO,EAAEE;UAAW,CACvB,CAAC;QAAA,CACH,CAAC;MAAA,GAxBFI,IAAI,CAACP,GAyBM,CAAC;IAEvB;IAEA,oBACEtD,IAAA,CAACb,gBAAgB;MAEfiF,OAAO,EAAEA,CAAA,KAAMR,eAAe,CAACC,IAAI,CAAE;MACrCQ,aAAa,EAAE,GAAI;MAAAvD,QAAA,eAEnBd,IAAA,CAACH,UAAU;QACT8E,qBAAqB,EAAEd,IAAI,EAAEN,OAAO,EAAEoB,qBAAsB;
|
|
1
|
+
{"version":3,"names":["React","memo","useMemo","useCallback","StyleSheet","View","TouchableOpacity","FlatList","FlatGrid","scale","Search","SkeletonPlaceholder","useInternalTheme","AppHeader","Text","ThumbnailCard","CardPoster","RFValue","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","DefaultSkeleton","theme","viewMode","borderRadius","highlightColor","colors","skeletonHighlightColor","backgroundColor","skeletonBaseColor","children","style","styles","detailedItem","thumbnailWrapper","detailedInfo","justifyContent","width","height","marginBottom","margin","displayName","WatchLaterComponent","data","isLoading","title","headerComponent","onBackPress","onSearchPress","showSearchIcon","itemDimension","spacing","listStyle","titleStyle","contentContainerStyle","renderItem","skeletonCount","skeletonComponent","noDataComponent","noDataText","onPressItem","onEndReached","onEndReachedThreshold","appliedTheme","listData","Array","from","length","_","i","_id","content","name","description","poster","thumbnail","handleItemPress","item","detailedDescStyle","detailedDesc","color","textSecondary","renderGridItem","index","onPress","activeOpacity","thumbnailUri","wrapperStyle","thumbnailImage","numberOfLines","detailedTitle","content_offering_type","contentType","type","posterUri","keyExtractor","contentContainerStyleMemo","contentContainerFlatStyle","titleStyleMemo","flatten","onBackground","container","isValidElement","titleAlign","onRightPress","rightIcon","size","undefined","showsVerticalScrollIndicator","noData","WatchLater","create","flex","alignItems","fontSize","opacity","paddingBottom","aspectRatio","overflow","alignSelf","flexDirection","marginVertical","paddingHorizontal","detailedPoster","marginLeft","fontWeight","textAlign","marginTop"],"sourceRoot":"../../../../../src","sources":["components/User/WatchLater/WatchLater.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,EAAEC,WAAW,QAAQ,OAAO;AACzD,SACEC,UAAU,EACVC,IAAI,EACJC,gBAAgB,EAChBC,QAAQ,QAKH,cAAc;AACrB,SAASC,QAAQ,QAAQ,yBAAyB;AAClD,SAASC,KAAK,QAAQ,2BAA2B;AACjD,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,OAAOC,mBAAmB,MAAM,mCAAmC;AAEnE,SAASC,gBAAgB,QAAQ,yCAAsC;AAEvE,OAAOC,SAAS,MAAM,4BAAyB;AAC/C,SAASC,IAAI,QAAQ,qBAAY;AACjC,SAASC,aAAa,QAAQ,gDAA6C;AAC3E,OAAOC,UAAU,MAAM,6CAA0C;AAEjE,SAASC,OAAO,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAsC3D,MAAMC,eAGJ,gBAAGvB,IAAI,CAAC,CAAC;EAAEwB,KA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AAEzH,KAAK,CAAC,CAAC;EACpB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -13,6 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
export const AppStatusBar = ({
|
|
14
14
|
backgroundColor,
|
|
15
15
|
barStyle,
|
|
16
|
+
transparent = false,
|
|
16
17
|
translucent = true,
|
|
17
18
|
hidden = false,
|
|
18
19
|
theme: overrideTheme
|
|
@@ -35,7 +36,7 @@ export const AppStatusBar = ({
|
|
|
35
36
|
translucent: translucent,
|
|
36
37
|
hidden: hidden,
|
|
37
38
|
barStyle: resolvedBarStyle,
|
|
38
|
-
backgroundColor: Platform.OS === 'android' ? resolvedBackground : 'transparent'
|
|
39
|
+
backgroundColor: Platform.OS === 'android' ? transparent ? 'transparent' : resolvedBackground : 'transparent'
|
|
39
40
|
});
|
|
40
41
|
};
|
|
41
42
|
//# sourceMappingURL=AppStatusBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","StatusBar","Platform","Color","useInternalTheme","jsx","_jsx","AppStatusBar","backgroundColor","barStyle","translucent","hidden","theme","overrideTheme","resolvedBackground","colors","background","resolvedBarStyle","isDarkBg","isDark","OS"],"sourceRoot":"../../../../src","sources":["components/common/AppStatusBar.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,SAAS,EAAEC,QAAQ,QAA6B,cAAc;AACvE,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,gBAAgB,QAAQ,2BAAkB;AAAC,SAAAC,GAAA,IAAAC,IAAA;
|
|
1
|
+
{"version":3,"names":["React","useMemo","StatusBar","Platform","Color","useInternalTheme","jsx","_jsx","AppStatusBar","backgroundColor","barStyle","transparent","translucent","hidden","theme","overrideTheme","resolvedBackground","colors","background","resolvedBarStyle","isDarkBg","isDark","OS"],"sourceRoot":"../../../../src","sources":["components/common/AppStatusBar.t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sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,cAAc,mBAAU;AACxB,cAAc,sBAAa;AAC3B,cAAc,kBAAe;AAC7B,cAAc,oBAAiB;AAC/B,cAAc,oBAAW;AACzB,cAAc,sBAAmB;AACjC,cAAc,gBAAa;AAC3B,cAAc,iBAAQ;AACtB,cAAc,mBAAU;AACxB,cAAc,qBAAY;AAC1B,cAAc,oBAAW;AACzB,cAAc,mBAAU;AACxB,cAAc,iBAAQ;AACtB,cAAc,iBAAQ;AACtB,cAAc,iBAAQ;AACtB,cAAc,qBAAY;AAC1B,cAAc,wBAAe;AAC7B,cAAc,mBAAU;AACxB,cAAc,yBAAgB;AAC9B,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,qBAAY;AAC1B,cAAc,wBAAe","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,cAAc,mBAAU;AACxB,cAAc,sBAAa;AAC3B,cAAc,kBAAe;AAC7B,cAAc,oBAAiB;AAC/B,cAAc,oBAAW;AACzB,cAAc,sBAAmB;AACjC,cAAc,gBAAa;AAC3B,cAAc,iBAAQ;AACtB,cAAc,mBAAU;AACxB,cAAc,qBAAY;AAC1B,cAAc,oBAAW;AACzB,cAAc,mBAAU;AACxB,cAAc,iBAAQ;AACtB,cAAc,iBAAQ;AACtB,cAAc,iBAAQ;AACtB,cAAc,qBAAY;AAC1B,cAAc,wBAAe;AAC7B,cAAc,mBAAU;AACxB,cAAc,yBAAgB;AAC9B,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,qBAAY;AAC1B,cAAc,wBAAe;AAC7B,cAAc,uBAAc","ignoreList":[]}
|
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Creates a dummy content data object for skeleton loading states
|
|
5
|
+
*/
|
|
6
|
+
export const dummyContentData = (id = 'dummy-content-id') => {
|
|
7
|
+
return {
|
|
8
|
+
_id: id,
|
|
9
|
+
poster: '',
|
|
10
|
+
thumbnail: '',
|
|
11
|
+
content_offering_type: 'movie',
|
|
12
|
+
name: '',
|
|
13
|
+
slug: '',
|
|
14
|
+
u_age: '',
|
|
15
|
+
description: '',
|
|
16
|
+
release_date: '',
|
|
17
|
+
runtime: '',
|
|
18
|
+
duration: '',
|
|
19
|
+
genre: '',
|
|
20
|
+
director: '',
|
|
21
|
+
cast: [],
|
|
22
|
+
rating: '',
|
|
23
|
+
language: '',
|
|
24
|
+
subtitles: [],
|
|
25
|
+
audio_tracks: [],
|
|
26
|
+
type: 'movie',
|
|
27
|
+
year: '',
|
|
28
|
+
tags: [],
|
|
29
|
+
trailer: '',
|
|
30
|
+
trailer_source_link: '',
|
|
31
|
+
banner: '',
|
|
32
|
+
logo: '',
|
|
33
|
+
source_link: '',
|
|
34
|
+
source_type: '',
|
|
35
|
+
is_featured: false,
|
|
36
|
+
is_premium: false,
|
|
37
|
+
status: 'active',
|
|
38
|
+
views: 0,
|
|
39
|
+
likes: 0,
|
|
40
|
+
created_at: new Date().toISOString(),
|
|
41
|
+
updated_at: new Date().toISOString()
|
|
42
|
+
};
|
|
43
|
+
};
|
|
3
44
|
const generateDummySection = type => {
|
|
4
45
|
return {
|
|
5
46
|
_id: `dummy-${type}`,
|
|
@@ -12,10 +53,9 @@ const generateDummySection = type => {
|
|
|
12
53
|
slug: 'dummy'
|
|
13
54
|
},
|
|
14
55
|
content: {
|
|
15
|
-
data: Array
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}),
|
|
56
|
+
data: Array.from({
|
|
57
|
+
length: 5
|
|
58
|
+
}, (_, i) => dummyContentData(`dummy-content-${i}`)),
|
|
19
59
|
meta: {
|
|
20
60
|
pagination: {
|
|
21
61
|
total: 5,
|
|
@@ -34,5 +74,7 @@ const generateDummySection = type => {
|
|
|
34
74
|
updatedAt: new Date()
|
|
35
75
|
};
|
|
36
76
|
};
|
|
37
|
-
export const dummySections =
|
|
77
|
+
export const dummySections = ({
|
|
78
|
+
headerStyle = 'one'
|
|
79
|
+
} = {}) => [headerStyle === 'three' ? generateDummySection('slider_style_3') : generateDummySection('slider'), generateDummySection('normal'), generateDummySection('continue_watching'), generateDummySection('card_style_2'), generateDummySection('card_style_3'), generateDummySection('card_style_4'), generateDummySection('card_style_5'), generateDummySection('card_style_6'), generateDummySection('top_10')];
|
|
38
80
|
//# sourceMappingURL=dummySections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["dummyContentData","id","_id","poster","thumbnail","content_offering_type","name","slug","u_age","description","release_date","runtime","duration","genre","director","cast","rating","language","subtitles","audio_tracks","type","year","tags","trailer","trailer_source_link","banner","logo","source_link","source_type","is_featured","is_premium","status","views","likes","created_at","Date","toISOString","updated_at","generateDummySection","charAt","toUpperCase","slice","content_ids","Array","fill","category","content","data","from","length","_","i","meta","pagination","total","limit","page","hasNextPage","nextPage","label","order","createdAt","updatedAt","dummySections","headerStyle"],"sourceRoot":"../../../src","sources":["constants/dummySections.ts"],"mappings":";;AAGA;AACA;AACA;AACA,OAAO,MAAMA,gBAAgB,GAAGA,CAC9BC,EAAU,GAAG,kBAAkB,KACd;EACjB,OAAO;IACLC,GAAG,EAAED,EAAE;IACPE,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE,EAAE;IACbC,qBAAqB,EAAE,OAAO;IAC9BC,IAAI,EAAE,EAAE;IACRC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,WAAW,EAAE,EAAE;IACfC,YAAY,EAAE,EAAE;IAChBC,OAAO,EAAE,EAAE;IACXC,QAAQ,EAAE,EAAE;IACZC,KAAK,EAAE,EAAE;IACTC,QAAQ,EAAE,EAAE;IACZC,IAAI,EAAE,EAAE;IACRC,MAAM,EAAE,EAAE;IACVC,QAAQ,EAAE,E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AE,CAAC;UACRC,IAAI,EAAE,CAAC;UACPC,WAAW,EAAE,IAAI;UACjBR,MAAM,EAAE,CAAC;UACTS,QAAQ,EAAE;QACZ;MACF;IACF,CAAC;IACDC,KAAK,EAAE,EAAE;IACTC,KAAK,EAAE,CAAC;IACR7B,MAAM,EAAE,KAAK;IACb8B,SAAS,EAAE,IAAI1B,IAAI,CAAC,CAAC;IACrB2B,SAAS,EAAE,IAAI3B,IAAI,CAAC;EACtB,CAAC;AACH,CAAC;AAED,OAAO,MAAM4B,aAAa,GAAGA,CAAC;EAC5BC,WAAW,GAAG;AAC2B,CAAC,GAAG,CAAC,CAAC,KAAwB,CACvEA,WAAW,KAAK,OAAO,GACnB1B,oBAAoB,CAAC,gBAAgB,CAAC,GACtCA,oBAAoB,CAAC,QAAQ,CAAC,EAClCA,oBAAoB,CAAC,QAAQ,CAAC,EAC9BA,oBAAoB,CAAC,mBAAmB,CAAC,EACzCA,oBAAoB,CAAC,cAAc,CAAC,EACpCA,oBAAoB,CAAC,cAAc,CAAC,EACpCA,oBAAoB,CAAC,cAAc,CAAC,EACpCA,oBAAoB,CAAC,cAAc,CAAC,EACpCA,oBAAoB,CAAC,cAAc,CAAC,EACpCA,oBAAoB,CAAC,QAAQ,CAAC,CAC/B","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["hooks/Images/index.ts"],"mappings":";;AAAA,cAAc,qBAAkB;AAChC,cAAc,yBAAsB","ignoreList":[]}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @author Naresh Dhamu
|
|
5
|
+
* @lastModified Wed 26 Nov 2025 at 02:19 PM
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { useState, useEffect, useMemo, useCallback, useRef } from 'react';
|
|
9
|
+
import FastImage from 'react-native-fast-image';
|
|
10
|
+
import { isValidImageUrl, isLocalFile } from "./useImageValidation.js";
|
|
11
|
+
|
|
12
|
+
// Module-level cache to track successfully loaded images
|
|
13
|
+
const loadedImageCache = new Set();
|
|
14
|
+
/**
|
|
15
|
+
* Custom hook to manage image loading state, caching, and validation
|
|
16
|
+
* @param options - Configuration options for image loading
|
|
17
|
+
* @returns Object containing image state and handlers
|
|
18
|
+
*/
|
|
19
|
+
export const useImageLoader = ({
|
|
20
|
+
imageUri,
|
|
21
|
+
isLoading = false,
|
|
22
|
+
enablePreload = false,
|
|
23
|
+
onError,
|
|
24
|
+
onLoad,
|
|
25
|
+
onLoadStart
|
|
26
|
+
}) => {
|
|
27
|
+
const [imageLoading, setImageLoading] = useState(true);
|
|
28
|
+
const [imageError, setImageError] = useState(false);
|
|
29
|
+
const previousUriRef = useRef('');
|
|
30
|
+
const onErrorRef = useRef(onError);
|
|
31
|
+
|
|
32
|
+
// Keep onError ref updated
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
onErrorRef.current = onError;
|
|
35
|
+
}, [onError]);
|
|
36
|
+
|
|
37
|
+
// Validate image URL
|
|
38
|
+
const hasValidImage = useMemo(() => isValidImageUrl(imageUri), [imageUri]);
|
|
39
|
+
|
|
40
|
+
// Check if image is already cached
|
|
41
|
+
const isImageCached = useMemo(() => loadedImageCache.has(imageUri), [imageUri]);
|
|
42
|
+
|
|
43
|
+
// Handle image state changes
|
|
44
|
+
useEffect(() => {
|
|
45
|
+
const uriChanged = previousUriRef.current !== imageUri;
|
|
46
|
+
|
|
47
|
+
// Update ref when URI changes
|
|
48
|
+
if (uriChanged) {
|
|
49
|
+
previousUriRef.current = imageUri;
|
|
50
|
+
// Reset error state when URI changes to allow new image to load
|
|
51
|
+
setImageError(false);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Reset states when loading
|
|
55
|
+
if (isLoading) {
|
|
56
|
+
setImageLoading(true);
|
|
57
|
+
setImageError(false);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Handle valid image URL
|
|
62
|
+
if (hasValidImage) {
|
|
63
|
+
const isLocal = isLocalFile(imageUri);
|
|
64
|
+
if (isImageCached) {
|
|
65
|
+
// Image is cached, mark as loaded
|
|
66
|
+
setImageLoading(false);
|
|
67
|
+
setImageError(false);
|
|
68
|
+
} else {
|
|
69
|
+
// Image not cached, start loading
|
|
70
|
+
setImageLoading(true);
|
|
71
|
+
setImageError(false);
|
|
72
|
+
// Preload image if enabled (only for remote URLs, not local files)
|
|
73
|
+
if (enablePreload && !isLocal && uriChanged) {
|
|
74
|
+
FastImage.preload([{
|
|
75
|
+
uri: imageUri
|
|
76
|
+
}]);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
} else {
|
|
80
|
+
// For empty or invalid URLs
|
|
81
|
+
if (!imageUri || imageUri.trim() === '') {
|
|
82
|
+
// Empty URI - show error immediately (no point in trying to load)
|
|
83
|
+
setImageLoading(false);
|
|
84
|
+
setImageError(true);
|
|
85
|
+
} else {
|
|
86
|
+
// Invalid URL format - attempt to load anyway
|
|
87
|
+
// FastImage might still be able to load it, so keep loading state
|
|
88
|
+
setImageLoading(true);
|
|
89
|
+
setImageError(false);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}, [imageUri, hasValidImage, isLoading, isImageCached, enablePreload]);
|
|
93
|
+
|
|
94
|
+
// Determine if skeleton should be shown
|
|
95
|
+
const showSkeleton = useMemo(() => isLoading || imageLoading && !imageError, [isLoading, imageLoading, imageError]);
|
|
96
|
+
|
|
97
|
+
// Determine if fallback should be shown
|
|
98
|
+
// Show fallback when:
|
|
99
|
+
// 1. Not showing skeleton
|
|
100
|
+
// 2. AND (imageError is true OR URI is empty/invalid)
|
|
101
|
+
// This allows images with invalid format to attempt loading, but shows fallback for empty URIs
|
|
102
|
+
const showFallback = useMemo(() => {
|
|
103
|
+
if (showSkeleton) return false;
|
|
104
|
+
// Empty URI - show fallback immediately
|
|
105
|
+
if (!imageUri || imageUri.trim() === '') return true;
|
|
106
|
+
// Show fallback only after actual error (not just invalid format)
|
|
107
|
+
return imageError && !imageLoading;
|
|
108
|
+
}, [showSkeleton, imageError, imageLoading, imageUri]);
|
|
109
|
+
|
|
110
|
+
// Check if image is a local file
|
|
111
|
+
const isLocal = useMemo(() => isLocalFile(imageUri), [imageUri]);
|
|
112
|
+
|
|
113
|
+
// Image source configuration
|
|
114
|
+
// Local files don't need cache control, cloud URIs do
|
|
115
|
+
const imageSource = useMemo(() => {
|
|
116
|
+
const source = {
|
|
117
|
+
uri: imageUri
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
// Only add cache control for remote URLs, not local files
|
|
121
|
+
if (!isLocal) {
|
|
122
|
+
source.cache = FastImage.cacheControl.immutable;
|
|
123
|
+
source.priority = FastImage.priority.normal;
|
|
124
|
+
}
|
|
125
|
+
return source;
|
|
126
|
+
}, [imageUri, isLocal]);
|
|
127
|
+
|
|
128
|
+
// Image event handlers
|
|
129
|
+
const handleLoad = useCallback(() => {
|
|
130
|
+
setImageLoading(false);
|
|
131
|
+
setImageError(false);
|
|
132
|
+
if (imageUri) {
|
|
133
|
+
loadedImageCache.add(imageUri);
|
|
134
|
+
}
|
|
135
|
+
if (onLoad) {
|
|
136
|
+
onLoad();
|
|
137
|
+
}
|
|
138
|
+
}, [imageUri, onLoad]);
|
|
139
|
+
const handleError = useCallback(() => {
|
|
140
|
+
setImageLoading(false);
|
|
141
|
+
setImageError(true);
|
|
142
|
+
if (onError) {
|
|
143
|
+
onError();
|
|
144
|
+
}
|
|
145
|
+
}, [onError]);
|
|
146
|
+
const handleLoadStart = useCallback(() => {
|
|
147
|
+
if (!isImageCached) {
|
|
148
|
+
setImageLoading(true);
|
|
149
|
+
setImageError(false);
|
|
150
|
+
if (onLoadStart) {
|
|
151
|
+
onLoadStart();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}, [isImageCached, onLoadStart]);
|
|
155
|
+
return {
|
|
156
|
+
imageLoading,
|
|
157
|
+
imageError,
|
|
158
|
+
hasValidImage,
|
|
159
|
+
isImageCached,
|
|
160
|
+
showSkeleton,
|
|
161
|
+
showFallback,
|
|
162
|
+
imageSource,
|
|
163
|
+
handleLoad,
|
|
164
|
+
handleError,
|
|
165
|
+
handleLoadStart: enablePreload ? handleLoadStart : undefined
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
//# sourceMappingURL=useImageLoader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","useEffect","useMemo","useCallback","useRef","FastImage","isValidImageUrl","isLocalFile","loadedImageCache","Set","useImageLoader","imageUri","isLoading","enablePreload","onError","onLoad","onLoadStart","imageLoading","setImageLoading","imageError","setImageError","previousUriRef","onErrorRef","current","hasValidImage","isImageCached","has","uriChanged","isLocal","preload","uri","trim","showSkeleton","showFallback","imageSource","source","cache","cacheControl","immutable","priority","normal","handleLoad","add","handleError","handleLoadStart","undefined"],"sourceRoot":"../../../../src","sources":["hooks/Images/useImageLoader.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,OAAO,EAAEC,WAAW,EAAEC,MAAM,QAAQ,OAAO;AACzE,OAAOC,SAAS,MAAM,yBAAyB;AAC/C,SAASC,eAAe,EAAEC,WAAW,QAAQ,yBAAsB;;AAEnE;AACA,MAAMC,gBAAgB,GAAG,IAAIC,GAAG,CAAS,CAAC;AA4B1C;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,QAAQ;EACRC,SAAS,GAAG,KAAK;EACjBC,aAAa,GAAG,KAAK;EACrBC,OAAO;EACPC,MAAM;EACNC;AACqB,CAAC,KAA2B;EACjD,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAGlB,QAAQ,CAAC,IAAI,CAAC;EACtD,MAAM,CAACmB,UAAU,EAAEC,aAAa,CAAC,GAAGpB,QAAQ,CAAC,KAAK,CAAC;EACnD,MAAMqB,cAAc,GAAGjB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$/i;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Utility function to check if URL is a local file path
|
|
12
|
+
* @param url - The URL to check
|
|
13
|
+
* @returns true if the URL is a local file path, false otherwise
|
|
14
|
+
*/
|
|
15
|
+
export const isLocalFile = url => {
|
|
16
|
+
return url?.startsWith?.('file://') || url?.startsWith?.('/');
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Utility function to validate image URL (supports both cloud URIs and local file paths)
|
|
21
|
+
* @param url - The URL to validate
|
|
22
|
+
* @returns true if the URL is a valid image URL, false otherwise
|
|
23
|
+
*/
|
|
24
|
+
export const isValidImageUrl = url => {
|
|
25
|
+
if (!url || typeof url !== 'string') return false;
|
|
26
|
+
const cleaned = url.trim();
|
|
27
|
+
|
|
28
|
+
// Check for local file paths
|
|
29
|
+
if (isLocalFile(cleaned)) {
|
|
30
|
+
return IMAGE_URL_REGEX.test(cleaned) || cleaned.length > 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Check for cloud URIs (http/https)
|
|
34
|
+
return (cleaned?.startsWith?.('http://') || cleaned?.startsWith?.('https://')) && IMAGE_URL_REGEX.test(cleaned);
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=useImageValidation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IMAGE_URL_REGEX","isLocalFile","url","startsWith","isValidImageUrl","cleaned","trim","test","length"],"sourceRoot":"../../../../src","sources":["hooks/Images/useImageValidation.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,MAAMA,eAAe,GAAG,iCAAiC;;AAEzD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAIC,GAAW,IAAc;EACnD,OAAOA,GAAG,EAAEC,UAAU,GAAG,SAAS,CAAC,IAAID,GAAG,EAAEC,UAAU,GAAG,GAAG,CAAC;AAC/D,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,eAAe,GAAIF,GAA8B,IAAc;EAC1E,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE,OAAO,KAAK;EACjD,MAAMG,OAAO,GAAGH,GAAG,CAACI,IAAI,CAAC,CAAC;;EAE1B;EACA,IAAIL,WAAW,CAACI,OAAO,CAAC,EAAE;IACxB,OAAOL,eAAe,CAACO,IAAI,CAACF,OAAO,CAAC,IAAIA,OAAO,CAACG,MAAM,GAAG,CAAC;EAC5D;;EAEA;EACA,OACE,CAACH,OAAO,EAAEF,UAAU,GAAG,SAAS,CAAC,IAAIE,OAAO,EAAEF,UAAU,GAAG,UAAU,CAAC,KACtEH,eAAe,CAACO,IAAI,CAACF,OAAO,CAAC;AAEjC,CAAC","ignoreList":[]}
|
|
@@ -14,4 +14,7 @@ export * from "./usePrevious.js";
|
|
|
14
14
|
export * from "./useSafeCallback.js";
|
|
15
15
|
export * from "./useSkeletonItems.js";
|
|
16
16
|
export * from "./useThemeColors.js";
|
|
17
|
+
export * from "./useCards.js";
|
|
18
|
+
export * from "./Images/index.js";
|
|
19
|
+
export * from "./useAdTracking.js";
|
|
17
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["hooks/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,cAAc,kBAAe;AAC7B,cAAc,kBAAe;AAC7B,cAAc,wBAAqB;AACnC,cAAc,0BAAuB;AACrC,cAAc,qBAAkB;AAChC,cAAc,kBAAe;AAC7B,cAAc,sBAAmB;AACjC,cAAc,uBAAoB;AAClC,cAAc,qBAAkB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["hooks/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAEA,cAAc,kBAAe;AAC7B,cAAc,kBAAe;AAC7B,cAAc,wBAAqB;AACnC,cAAc,0BAAuB;AACrC,cAAc,qBAAkB;AAChC,cAAc,kBAAe;AAC7B,cAAc,sBAAmB;AACjC,cAAc,uBAAoB;AAClC,cAAc,qBAAkB;AAChC,cAAc,eAAY;AAC1B,cAAc,mBAAU;AACxB,cAAc,oBAAiB","ignoreList":[]}
|