be-components 7.6.3 → 7.6.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/commonjs/Components/Spring.js +9 -52
- package/lib/commonjs/Components/Spring.js.map +1 -1
- package/lib/commonjs/NotificationManager/NotificationManagerTabs.js +188 -0
- package/lib/commonjs/NotificationManager/NotificationManagerTabs.js.map +1 -0
- package/lib/commonjs/NotificationManager/api/index.js +237 -7
- package/lib/commonjs/NotificationManager/api/index.js.map +1 -1
- package/lib/commonjs/NotificationManager/components/GroupManagement.js +1038 -0
- package/lib/commonjs/NotificationManager/components/GroupManagement.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/JobManagement.js +783 -0
- package/lib/commonjs/NotificationManager/components/JobManagement.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/ScheduleNotification.js +407 -0
- package/lib/commonjs/NotificationManager/components/ScheduleNotification.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/index.js +56 -0
- package/lib/commonjs/NotificationManager/components/index.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/shared/DateTimePicker.js +113 -0
- package/lib/commonjs/NotificationManager/components/shared/DateTimePicker.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/shared/GroupSelector.js +191 -0
- package/lib/commonjs/NotificationManager/components/shared/GroupSelector.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.js +509 -0
- package/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.js.map +1 -0
- package/lib/commonjs/NotificationManager/components/shared/StatusBadge.js +69 -0
- package/lib/commonjs/NotificationManager/components/shared/StatusBadge.js.map +1 -0
- package/lib/commonjs/NotificationManager/index.js +38 -23
- package/lib/commonjs/NotificationManager/index.js.map +1 -1
- package/lib/commonjs/Notifications/index.js +2 -2
- package/lib/commonjs/Notifications/index.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BettorVouch.js +1 -1
- package/lib/commonjs/ProfileManager/Components/BettorVouch.js.map +1 -1
- package/lib/commonjs/SocialComponents/PostCard/index.js +1 -1
- package/lib/commonjs/SocialComponents/PostCard/index.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types.d.js +2 -0
- package/lib/commonjs/types.d.js.map +1 -1
- package/lib/module/Components/Spring.js +10 -53
- package/lib/module/Components/Spring.js.map +1 -1
- package/lib/module/NotificationManager/NotificationManagerTabs.js +180 -0
- package/lib/module/NotificationManager/NotificationManagerTabs.js.map +1 -0
- package/lib/module/NotificationManager/api/index.js +237 -7
- package/lib/module/NotificationManager/api/index.js.map +1 -1
- package/lib/module/NotificationManager/components/GroupManagement.js +1030 -0
- package/lib/module/NotificationManager/components/GroupManagement.js.map +1 -0
- package/lib/module/NotificationManager/components/JobManagement.js +775 -0
- package/lib/module/NotificationManager/components/JobManagement.js.map +1 -0
- package/lib/module/NotificationManager/components/ScheduleNotification.js +399 -0
- package/lib/module/NotificationManager/components/ScheduleNotification.js.map +1 -0
- package/lib/module/NotificationManager/components/index.js +8 -0
- package/lib/module/NotificationManager/components/index.js.map +1 -0
- package/lib/module/NotificationManager/components/shared/DateTimePicker.js +106 -0
- package/lib/module/NotificationManager/components/shared/DateTimePicker.js.map +1 -0
- package/lib/module/NotificationManager/components/shared/GroupSelector.js +184 -0
- package/lib/module/NotificationManager/components/shared/GroupSelector.js.map +1 -0
- package/lib/module/NotificationManager/components/shared/NotificationBuilderForm.js +501 -0
- package/lib/module/NotificationManager/components/shared/NotificationBuilderForm.js.map +1 -0
- package/lib/module/NotificationManager/components/shared/StatusBadge.js +62 -0
- package/lib/module/NotificationManager/components/shared/StatusBadge.js.map +1 -0
- package/lib/module/NotificationManager/index.js +32 -23
- package/lib/module/NotificationManager/index.js.map +1 -1
- package/lib/module/Notifications/index.js +2 -2
- package/lib/module/Notifications/index.js.map +1 -1
- package/lib/module/ProfileManager/Components/BettorVouch.js +1 -1
- package/lib/module/ProfileManager/Components/BettorVouch.js.map +1 -1
- package/lib/module/SocialComponents/PostCard/index.js +1 -1
- package/lib/module/SocialComponents/PostCard/index.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.d.js +2 -0
- package/lib/module/types.d.js.map +1 -1
- package/lib/typescript/lib/commonjs/Components/Spring.d.ts +1 -5
- package/lib/typescript/lib/commonjs/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/NotificationManager/NotificationManagerTabs.d.ts +17 -0
- package/lib/typescript/lib/commonjs/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts +75 -2
- package/lib/typescript/lib/commonjs/NotificationManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/NotificationManager/components/GroupManagement.d.ts +6 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/GroupManagement.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/JobManagement.d.ts +7 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/JobManagement.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/ScheduleNotification.d.ts +8 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/index.d.ts +9 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/DateTimePicker.d.ts +9 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/GroupSelector.d.ts +13 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.d.ts +10 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/StatusBadge.d.ts +6 -0
- package/lib/typescript/lib/commonjs/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts +76 -2
- package/lib/typescript/lib/commonjs/NotificationManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/index.d.ts +76 -2
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/AdServer/index.d.ts +1 -3
- package/lib/typescript/lib/module/AdServer/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/LoginForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts +1 -3
- package/lib/typescript/lib/module/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueContests.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/components/admin/LeagueParticipants.d.ts.map +1 -1
- package/lib/typescript/lib/module/BetRouter/index.d.ts +1 -3
- package/lib/typescript/lib/module/BetRouter/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/BracketCompetitionSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/EditPlayerBracket.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/Navigator.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/PlayerBracketManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts +1 -3
- package/lib/typescript/lib/module/Bracket/components/RoomHome.d.ts.map +1 -1
- package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts +1 -3
- package/lib/typescript/lib/module/Campaign/components/AutoManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts +1 -3
- package/lib/typescript/lib/module/Campaign/components/ProgressTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts +1 -3
- package/lib/typescript/lib/module/Checkout/components/ItemSummaryCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/AthleteMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionInfoCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionLeaderboard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionPlay.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/CompetitionTypeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/MatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts +1 -3
- package/lib/typescript/lib/module/Competition/components/TeamEventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionMatchMarketCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/CompetitionSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionManager/components/ContestSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/CreateSeasonForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonInfoForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts +1 -3
- package/lib/typescript/lib/module/CompetitionSeasonManager/components/SeasonSettingsForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Components/Spring.d.ts +3 -1126
- package/lib/typescript/lib/module/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts +1 -3
- package/lib/typescript/lib/module/EventComponents/TeamProfile/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/components/MarketTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/components/ProgressTimer.d.ts.map +1 -1
- package/lib/typescript/lib/module/FlashMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/FlashMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Guide/index.d.ts +1 -3
- package/lib/typescript/lib/module/Guide/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts +1 -3
- package/lib/typescript/lib/module/Leaders/components/LeaderboardCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/BetScopeIndicator.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/EventScoringCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/MatchMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/OrderGradeBar.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts +1 -3
- package/lib/typescript/lib/module/MarketComponents/components/TeamEventMarket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/ManageFundForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/OrderForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts +1 -3
- package/lib/typescript/lib/module/MarketMaker/components/SetMarketForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/NotificationManager/NotificationManagerTabs.d.ts +17 -0
- package/lib/typescript/lib/module/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/api/index.d.ts +75 -2
- package/lib/typescript/lib/module/NotificationManager/api/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/NotificationManager/components/GroupManagement.d.ts +6 -0
- package/lib/typescript/lib/module/NotificationManager/components/GroupManagement.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/JobManagement.d.ts +7 -0
- package/lib/typescript/lib/module/NotificationManager/components/JobManagement.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/ScheduleNotification.d.ts +8 -0
- package/lib/typescript/lib/module/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/index.d.ts +8 -0
- package/lib/typescript/lib/module/NotificationManager/components/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/DateTimePicker.d.ts +9 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/GroupSelector.d.ts +13 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/NotificationBuilderForm.d.ts +10 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/StatusBadge.d.ts +6 -0
- package/lib/typescript/lib/module/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
- package/lib/typescript/lib/module/NotificationManager/index.d.ts +1 -0
- package/lib/typescript/lib/module/NotificationManager/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Observer/Observer.d.ts +1 -3
- package/lib/typescript/lib/module/Observer/Observer.d.ts.map +1 -1
- package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts +1 -3
- package/lib/typescript/lib/module/PlayerRecommender/components/ContactsSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts +1 -3
- package/lib/typescript/lib/module/Premium/components/ALaCartePremium.d.ts.map +1 -1
- package/lib/typescript/lib/module/RankingsCard/index.d.ts +1 -3
- package/lib/typescript/lib/module/RankingsCard/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/FormattedTextInput/components/TagSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/GifSelector/WebSelector.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PlayerFollowButton.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PlayerProfile/components/PostsList.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/PostCard/components/DraftTextViewer.d.ts.map +1 -1
- package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts +1 -3
- package/lib/typescript/lib/module/SocialComponents/Poster/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Socket/index.d.ts +1 -3
- package/lib/typescript/lib/module/Socket/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/BoardStats.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/Countdown.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/Countdown.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/EventCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/MySquaresCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/MyStatsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/OfferForm.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/PrizeCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/ResultsCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquareOfferCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquareOwners.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquaresBoard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts +1 -3
- package/lib/typescript/lib/module/Squares/components/SquaresDetails.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/ItemOrderDetailCard.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/VerifyACHAccount.d.ts.map +1 -1
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts +1 -3
- package/lib/typescript/lib/module/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts +2 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/src/Components/AutoPageFlatList.d.ts +1 -1
- package/lib/typescript/src/Components/AutoPageFlatList.d.ts.map +1 -1
- package/lib/typescript/src/Components/Spring.d.ts +1 -1
- package/lib/typescript/src/Components/Spring.d.ts.map +1 -1
- package/lib/typescript/src/NotificationManager/NotificationManagerTabs.d.ts +20 -0
- package/lib/typescript/src/NotificationManager/NotificationManagerTabs.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/api/index.d.ts +132 -3
- package/lib/typescript/src/NotificationManager/api/index.d.ts.map +1 -1
- package/lib/typescript/src/NotificationManager/components/GroupManagement.d.ts +8 -0
- package/lib/typescript/src/NotificationManager/components/GroupManagement.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/JobManagement.d.ts +9 -0
- package/lib/typescript/src/NotificationManager/components/JobManagement.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/ScheduleNotification.d.ts +10 -0
- package/lib/typescript/src/NotificationManager/components/ScheduleNotification.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/index.d.ts +8 -0
- package/lib/typescript/src/NotificationManager/components/index.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/shared/DateTimePicker.d.ts +12 -0
- package/lib/typescript/src/NotificationManager/components/shared/DateTimePicker.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/shared/GroupSelector.d.ts +16 -0
- package/lib/typescript/src/NotificationManager/components/shared/GroupSelector.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/shared/NotificationBuilderForm.d.ts +12 -0
- package/lib/typescript/src/NotificationManager/components/shared/NotificationBuilderForm.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/components/shared/StatusBadge.d.ts +8 -0
- package/lib/typescript/src/NotificationManager/components/shared/StatusBadge.d.ts.map +1 -0
- package/lib/typescript/src/NotificationManager/index.d.ts +1 -0
- package/lib/typescript/src/NotificationManager/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +36 -35
- package/src/Components/AutoPageFlatList.tsx +1 -1
- package/src/Components/Spring.tsx +13 -44
- package/src/NotificationManager/NotificationManagerTabs.tsx +178 -0
- package/src/NotificationManager/api/index.ts +240 -7
- package/src/NotificationManager/components/GroupManagement.tsx +854 -0
- package/src/NotificationManager/components/JobManagement.tsx +569 -0
- package/src/NotificationManager/components/ScheduleNotification.tsx +388 -0
- package/src/NotificationManager/components/index.ts +7 -0
- package/src/NotificationManager/components/shared/DateTimePicker.tsx +94 -0
- package/src/NotificationManager/components/shared/GroupSelector.tsx +130 -0
- package/src/NotificationManager/components/shared/NotificationBuilderForm.tsx +364 -0
- package/src/NotificationManager/components/shared/StatusBadge.tsx +72 -0
- package/src/NotificationManager/index.tsx +43 -24
- package/src/Notifications/index.tsx +2 -2
- package/src/ProfileManager/Components/BettorVouch.tsx +1 -1
- package/src/SocialComponents/PostCard/index.tsx +1 -1
- package/src/index.tsx +2 -0
- package/src/types.d.ts +38 -3
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _Themed = require("../../../Components/Themed");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
const DateTimePicker = ({
|
|
11
|
+
value,
|
|
12
|
+
onChange,
|
|
13
|
+
label,
|
|
14
|
+
onFocusPosition
|
|
15
|
+
}) => {
|
|
16
|
+
const formatDateForInput = date => {
|
|
17
|
+
const year = date.getFullYear();
|
|
18
|
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
19
|
+
const day = String(date.getDate()).padStart(2, '0');
|
|
20
|
+
return `${year}-${month}-${day}`;
|
|
21
|
+
};
|
|
22
|
+
const formatTimeForInput = date => {
|
|
23
|
+
const hours = String(date.getHours()).padStart(2, '0');
|
|
24
|
+
const minutes = String(date.getMinutes()).padStart(2, '0');
|
|
25
|
+
return `${hours}:${minutes}`;
|
|
26
|
+
};
|
|
27
|
+
const handleDateChange = dateString => {
|
|
28
|
+
if (!dateString) return;
|
|
29
|
+
const parts = dateString.split('-').map(Number);
|
|
30
|
+
if (parts.length !== 3) return;
|
|
31
|
+
const [year, month, day] = parts;
|
|
32
|
+
if (year === undefined || month === undefined || day === undefined) return;
|
|
33
|
+
const newDate = new Date(value);
|
|
34
|
+
newDate.setFullYear(year);
|
|
35
|
+
newDate.setMonth(month - 1);
|
|
36
|
+
newDate.setDate(day);
|
|
37
|
+
onChange(newDate);
|
|
38
|
+
};
|
|
39
|
+
const handleTimeChange = timeString => {
|
|
40
|
+
if (!timeString) return;
|
|
41
|
+
const parts = timeString.split(':').map(Number);
|
|
42
|
+
if (parts.length !== 2) return;
|
|
43
|
+
const [hours, minutes] = parts;
|
|
44
|
+
if (hours === undefined || minutes === undefined) return;
|
|
45
|
+
const newDate = new Date(value);
|
|
46
|
+
newDate.setHours(hours);
|
|
47
|
+
newDate.setMinutes(minutes);
|
|
48
|
+
onChange(newDate);
|
|
49
|
+
};
|
|
50
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
51
|
+
transparent: true
|
|
52
|
+
}, label && /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
53
|
+
theme: "h2",
|
|
54
|
+
style: {
|
|
55
|
+
marginBottom: 8
|
|
56
|
+
}
|
|
57
|
+
}, label), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
58
|
+
transparent: true,
|
|
59
|
+
style: {
|
|
60
|
+
flexDirection: 'row'
|
|
61
|
+
}
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
63
|
+
transparent: true,
|
|
64
|
+
style: {
|
|
65
|
+
flex: 1,
|
|
66
|
+
marginRight: 5
|
|
67
|
+
}
|
|
68
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
69
|
+
theme: "description",
|
|
70
|
+
style: {
|
|
71
|
+
marginBottom: 4,
|
|
72
|
+
fontSize: 12
|
|
73
|
+
}
|
|
74
|
+
}, "Date"), /*#__PURE__*/_react.default.createElement(_Themed.TextInput, {
|
|
75
|
+
value: formatDateForInput(value),
|
|
76
|
+
onFocusPosition: onFocusPosition,
|
|
77
|
+
placeholder: "YYYY-MM-DD",
|
|
78
|
+
onChangeText: handleDateChange,
|
|
79
|
+
style: {
|
|
80
|
+
padding: 12,
|
|
81
|
+
borderRadius: 8
|
|
82
|
+
}
|
|
83
|
+
})), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
84
|
+
transparent: true,
|
|
85
|
+
style: {
|
|
86
|
+
flex: 1,
|
|
87
|
+
marginLeft: 5
|
|
88
|
+
}
|
|
89
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
90
|
+
theme: "description",
|
|
91
|
+
style: {
|
|
92
|
+
marginBottom: 4,
|
|
93
|
+
fontSize: 12
|
|
94
|
+
}
|
|
95
|
+
}, "Time"), /*#__PURE__*/_react.default.createElement(_Themed.TextInput, {
|
|
96
|
+
value: formatTimeForInput(value),
|
|
97
|
+
onFocusPosition: onFocusPosition,
|
|
98
|
+
placeholder: "HH:MM",
|
|
99
|
+
onChangeText: handleTimeChange,
|
|
100
|
+
style: {
|
|
101
|
+
padding: 12,
|
|
102
|
+
borderRadius: 8
|
|
103
|
+
}
|
|
104
|
+
}))), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
105
|
+
theme: "description",
|
|
106
|
+
style: {
|
|
107
|
+
marginTop: 4,
|
|
108
|
+
fontSize: 11
|
|
109
|
+
}
|
|
110
|
+
}, "Selected: ", value.toLocaleString()));
|
|
111
|
+
};
|
|
112
|
+
var _default = exports.default = DateTimePicker;
|
|
113
|
+
//# sourceMappingURL=DateTimePicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_Themed","e","__esModule","default","DateTimePicker","value","onChange","label","onFocusPosition","formatDateForInput","date","year","getFullYear","month","String","getMonth","padStart","day","getDate","formatTimeForInput","hours","getHours","minutes","getMinutes","handleDateChange","dateString","parts","split","map","Number","length","undefined","newDate","Date","setFullYear","setMonth","setDate","handleTimeChange","timeString","setHours","setMinutes","createElement","View","transparent","Text","theme","style","marginBottom","flexDirection","flex","marginRight","fontSize","TextInput","placeholder","onChangeText","padding","borderRadius","marginLeft","marginTop","toLocaleString","_default","exports"],"sourceRoot":"../../../../../src","sources":["NotificationManager/components/shared/DateTimePicker.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAAmE,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAWnE,MAAMG,cAAc,GAAGA,CAAC;EAAEC,KAAK;EAAEC,QAAQ;EAAEC,KAAK;EAAEC;AAAqC,CAAC,KAAK;EAEzF,MAAMC,kBAAkB,GAAIC,IAAU,IAAK;IACvC,MAAMC,IAAI,GAAGD,IAAI,CAACE,WAAW,CAAC,CAAC;IAC/B,MAAMC,KAAK,GAAGC,MAAM,CAACJ,IAAI,CAACK,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;IAC1D,MAAMC,GAAG,GAAGH,MAAM,CAACJ,IAAI,CAACQ,OAAO,CAAC,CAAC,CAAC,CAACF,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;IACnD,OAAO,GAAGL,IAAI,IAAIE,KAAK,IAAII,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7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _Themed = require("../../../Components/Themed");
|
|
10
|
+
var _useColors = require("../../../constants/useColors");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const GroupSelector = ({
|
|
13
|
+
visible,
|
|
14
|
+
onClose,
|
|
15
|
+
onSelectGroup,
|
|
16
|
+
groups,
|
|
17
|
+
loading = false,
|
|
18
|
+
selectedGroup,
|
|
19
|
+
showCustomOption = true,
|
|
20
|
+
customGroup
|
|
21
|
+
}) => {
|
|
22
|
+
const Colors = (0, _useColors.useColors)();
|
|
23
|
+
if (!visible) return null;
|
|
24
|
+
|
|
25
|
+
// Combine custom group with regular groups if enabled
|
|
26
|
+
const allGroups = showCustomOption && customGroup ? [customGroup, ...groups] : groups;
|
|
27
|
+
return /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
28
|
+
type: "blur",
|
|
29
|
+
style: {
|
|
30
|
+
position: 'absolute',
|
|
31
|
+
top: 0,
|
|
32
|
+
left: 0,
|
|
33
|
+
right: 0,
|
|
34
|
+
bottom: 0,
|
|
35
|
+
padding: 20
|
|
36
|
+
}
|
|
37
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
38
|
+
float: true,
|
|
39
|
+
style: {
|
|
40
|
+
flex: 1
|
|
41
|
+
}
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
43
|
+
type: "header",
|
|
44
|
+
style: {
|
|
45
|
+
flexDirection: 'row',
|
|
46
|
+
alignItems: 'center',
|
|
47
|
+
padding: 10,
|
|
48
|
+
borderTopRightRadius: 8,
|
|
49
|
+
borderTopLeftRadius: 8
|
|
50
|
+
}
|
|
51
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
52
|
+
transparent: true,
|
|
53
|
+
style: {
|
|
54
|
+
flex: 1
|
|
55
|
+
}
|
|
56
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
57
|
+
theme: "h1"
|
|
58
|
+
}, "Notification Groups"), /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
59
|
+
theme: "description",
|
|
60
|
+
style: {
|
|
61
|
+
marginTop: 3
|
|
62
|
+
}
|
|
63
|
+
}, "Select a group to send to"))), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
64
|
+
style: {
|
|
65
|
+
flex: 1
|
|
66
|
+
}
|
|
67
|
+
}, loading ? /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
68
|
+
style: {
|
|
69
|
+
padding: 40,
|
|
70
|
+
alignItems: 'center'
|
|
71
|
+
}
|
|
72
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
|
|
73
|
+
size: "large",
|
|
74
|
+
color: Colors.text.action
|
|
75
|
+
})) : /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
|
|
76
|
+
data: allGroups,
|
|
77
|
+
keyExtractor: item => item.notification_group_id,
|
|
78
|
+
renderItem: ({
|
|
79
|
+
item
|
|
80
|
+
}) => {
|
|
81
|
+
const isSelected = selectedGroup?.notification_group_id === item.notification_group_id;
|
|
82
|
+
const isCustom = item.notification_group_id === 'custom_group';
|
|
83
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
84
|
+
onPress: () => {
|
|
85
|
+
onSelectGroup(item);
|
|
86
|
+
onClose();
|
|
87
|
+
},
|
|
88
|
+
style: {
|
|
89
|
+
padding: 15,
|
|
90
|
+
borderBottomWidth: 1,
|
|
91
|
+
borderColor: Colors.borders.light,
|
|
92
|
+
backgroundColor: isSelected ? Colors.views.header : 'transparent'
|
|
93
|
+
}
|
|
94
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
95
|
+
transparent: true
|
|
96
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
97
|
+
transparent: true,
|
|
98
|
+
style: {
|
|
99
|
+
flexDirection: 'row',
|
|
100
|
+
alignItems: 'center',
|
|
101
|
+
justifyContent: 'space-between'
|
|
102
|
+
}
|
|
103
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
104
|
+
transparent: true,
|
|
105
|
+
style: {
|
|
106
|
+
flexDirection: 'row',
|
|
107
|
+
alignItems: 'center',
|
|
108
|
+
flex: 1
|
|
109
|
+
}
|
|
110
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
111
|
+
theme: "h1"
|
|
112
|
+
}, item.name), isCustom && /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
113
|
+
transparent: true,
|
|
114
|
+
style: {
|
|
115
|
+
marginLeft: 8,
|
|
116
|
+
paddingHorizontal: 6,
|
|
117
|
+
paddingVertical: 2,
|
|
118
|
+
backgroundColor: Colors.buttons.background.action,
|
|
119
|
+
borderRadius: 4
|
|
120
|
+
}
|
|
121
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
122
|
+
theme: "description",
|
|
123
|
+
color: Colors.text.white,
|
|
124
|
+
style: {
|
|
125
|
+
fontSize: 10
|
|
126
|
+
}
|
|
127
|
+
}, "CUSTOM")), isSelected && /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
128
|
+
transparent: true,
|
|
129
|
+
style: {
|
|
130
|
+
marginLeft: 8,
|
|
131
|
+
paddingHorizontal: 6,
|
|
132
|
+
paddingVertical: 2,
|
|
133
|
+
backgroundColor: Colors.text.success,
|
|
134
|
+
borderRadius: 4
|
|
135
|
+
}
|
|
136
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
137
|
+
theme: "description",
|
|
138
|
+
color: Colors.text.white,
|
|
139
|
+
style: {
|
|
140
|
+
fontSize: 10
|
|
141
|
+
}
|
|
142
|
+
}, "SELECTED"))), item.player_count !== undefined && /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
143
|
+
transparent: true,
|
|
144
|
+
style: {
|
|
145
|
+
marginLeft: 8,
|
|
146
|
+
paddingHorizontal: 8,
|
|
147
|
+
paddingVertical: 4,
|
|
148
|
+
backgroundColor: Colors.views.header,
|
|
149
|
+
borderRadius: 4
|
|
150
|
+
}
|
|
151
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
152
|
+
theme: "description",
|
|
153
|
+
style: {
|
|
154
|
+
fontSize: 12,
|
|
155
|
+
fontWeight: '600'
|
|
156
|
+
}
|
|
157
|
+
}, item.player_count.toLocaleString(), " users"))), item.description && /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
158
|
+
theme: "description",
|
|
159
|
+
style: {
|
|
160
|
+
marginTop: 4
|
|
161
|
+
}
|
|
162
|
+
}, item.description)));
|
|
163
|
+
},
|
|
164
|
+
ListEmptyComponent: /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
165
|
+
style: {
|
|
166
|
+
padding: 40,
|
|
167
|
+
alignItems: 'center'
|
|
168
|
+
}
|
|
169
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Text, {
|
|
170
|
+
theme: "description"
|
|
171
|
+
}, "No groups found"))
|
|
172
|
+
})), /*#__PURE__*/_react.default.createElement(_Themed.View, {
|
|
173
|
+
type: "footer",
|
|
174
|
+
style: {
|
|
175
|
+
flexDirection: 'row',
|
|
176
|
+
alignItems: 'center',
|
|
177
|
+
padding: 10,
|
|
178
|
+
borderBottomRightRadius: 8,
|
|
179
|
+
borderBottomLeftRadius: 8
|
|
180
|
+
}
|
|
181
|
+
}, /*#__PURE__*/_react.default.createElement(_Themed.Button, {
|
|
182
|
+
style: {
|
|
183
|
+
flex: 1
|
|
184
|
+
},
|
|
185
|
+
type: "close",
|
|
186
|
+
title: "CLOSE",
|
|
187
|
+
onPress: onClose
|
|
188
|
+
}))));
|
|
189
|
+
};
|
|
190
|
+
var _default = exports.default = GroupSelector;
|
|
191
|
+
//# sourceMappingURL=GroupSelector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_Themed","_useColors","e","__esModule","default","GroupSelector","visible","onClose","onSelectGroup","groups","loading","selectedGroup","showCustomOption","customGroup","Colors","useColors","allGroups","createElement","View","type","style","position","top","left","right","bottom","padding","float","flex","flexDirection","alignItems","borderTopRightRadius","borderTopLeftRadius","transparent","Text","theme","marginTop","ActivityIndicator","size","color","text","action","FlatList","data","keyExtractor","item","notification_group_id","renderItem","isSelected","isCustom","TouchableOpacity","onPress","borderBottomWidth","borderColor","borders","light","backgroundColor","views","header","justifyContent","name","marginLeft","paddingHorizontal","paddingVertical","buttons","background","borderRadius","white","fontSize","success","player_count","undefined","fontWeight","toLocaleString","description","ListEmptyComponent","borderBottomRightRadius","borderBottomLeftRadius","Button","title","_default","exports"],"sourceRoot":"../../../../../src","sources":["NotificationManager/components/shared/GroupSelector.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAyD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAezD,MAAMG,aAAa,GAAGA,CAAC;EACnBC,OAAO;EACPC,OAAO;EACPC,aAAa;EACbC,MAAM;EACNC,OAAO,GAAG,KAAK;EACfC,aAAa;EACbC,gBAAgB,GAAG,IAAI;EACvBC;AACgB,CAAC,KAAK;EACtB,MAAMC,MAAM,GAAG,IAAAC,oBAAS,EAAC,CAAC;EAE1B,IAAI,CAACT,OAAO,EAAE,OAAO,IAAI;;EAEzB;EACA,MAAMU,SAAS,GAAGJ,gBAAgB,IAAIC,WAAW,GAC3C,CAACA,WAAW,EAAE,GAAGJ,MAAM,CAAC,GACxBA,MAAM;EAEZ,oBACIb,MAAA,CAAAQ,OAAA,CAA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