Created
December 18, 2023 17:42
-
-
Save JartanFTW/0332b36ee2473c69841641687d0f65bd to your computer and use it in GitHub Desktop.
MSR Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var appDataModule = angular.module("rewardsDataModule", []); | |
var areaConfig = { | |
areaPrefix: "Rewards", | |
serviceEndpointRoot: "/api/", | |
templateRoot: "/Areas/Rewards/ScriptsOneUI/Components/", | |
testHooksAllowed: false, | |
testHookQueryParams: {}, | |
punchCardUrlFormat: "/dashboard/{0}", | |
isMobileViewModeEnabled: true, | |
showDebugInfo: false, | |
catalogItemImg: "//az15297.vo.msecnd.net/images/rewards/rc/{0}", | |
pointsProgressImageUrl: "//az15297.vo.msecnd.net/images/rewards/membercenter/missions/Animated-Icons/Trophy.json", | |
isVisualParityTest: false, | |
useNewDBS: false, | |
raDbsEnabled: true, | |
}; | |
areaConfig.flights = {"aadEpuid":false,"arPanel":false,"arStatusBanner":false,"bsV2Continuous":false,"feedbackForm":false,"flyoutAccLink":true,"getItNowRedeemCtaText":false,"globalOffer":false,"golcon":false,"golset":false,"gwB":true,"isCaptchaFlight":false,"isCharityListEnabled":true,"isChatWithBingFlight":true,"isCNVerifyCaptchaFlight":false,"isDashboardReportBotActivityEnabled":true,"isForceTriggerSmsChallengeFlight":false,"isGeoLocation":true,"isMsaPhoneNumberChallengeFlight":true,"levelBenefits":true,"msaautojoin":false,"newRewMkt":false,"otherWaysToEarn":true,"peregol":false,"prgolc":false,"redeemCategoryFilter":true,"referAFriend":false,"referAFriendOverlay":true,"reversehvap":false,"reversehvapctrl":false,"reversehvaptr":false,"revertSrchPts":false,"revertSrchPtsCtr":false,"rewardsClarity":true,"rewardsPointBreakdown":true,"rewardsRoundup":true,"rewardsStatus":true,"rwdailycheckincodex":false,"rwdailycheckinglobal":false,"rwgobig":true,"rwobc":false,"rwobst":false,"rwobtsu":false,"rwobu":false,"rwonb":false,"rwosl":false,"rxRebates":true,"streaks":false,"taskPinning":true,"uetTagging":true,"unLangNoteB":false,"varSku":false,"versusflyout":false,"winners":true,"feature.rewfaqc":true}; | |
appDataModule.constant("areaConfig", areaConfig); | |
var currentUser = | |
{ | |
displayName: "REMOVED", | |
isAnonymous: false, | |
email: "REMOVED@gmail.com", | |
profilePictureUrl: "REMOVED", | |
culture: "en-US", | |
firstName: "REMOVED", | |
}; | |
appDataModule.constant("currentUser", currentUser); | |
appDataModule.constant("dashboardCmsData", {"strings":{"slide-2-title":"Get points when you use Microsoft products","quiz-incomplete":"Keep going! You have {0} question left","complete":"Complete","your-goal":"Your goal","slide-3nw-description-50":"Choose your favorite topic to earn your first 50 points!","slide-3nw-title":"Explore the Program","suggested-rewards":"Suggested rewards","back-text":"Back","mbing-banner-later":"Maybe later","start-earning-goal":"Start earning towards a redemption goal","levels-link":"/rewards/levels/","levels-text":"Status","sneak-peek":"SNEAK PEEK AT TOMORROW\u0027S SET","consent-terms-text":"Terms","rewards-trophy-url":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/Trophy.json","slide-3w-title":"Earn 50 points when you pin Rewards to your taskbar","daily-set":"Daily set","machineTrans-icon-text":"Machine translation icon","timestamp-text":"Ordered on {0}","coach-marks":"Learn more about daily sets","winner-link":"/rewards/redeem/winners","winner-text":"Winners","points-in-title":"\u003cb\u003e{0} points\u003c/b\u003e","redeem-now":"Redeem now","your-last-order":"Your last reward","available-points":"Available points","give-icon-url":"https://az15297.vo.msecnd.net/images/rewards/membercenter/missions/give_offer.png","no-goal":"You haven\u0027t set a goal yet","activities":"Activities","user-interest-travel-transportation":"Travel \u0026 Transportation","points-breakdown":"Points breakdown","slide-3nw-action-button-text":"Explore the Program","consent-privacy-text":"Privacy","go-back":"GO BACK TO TODAY\u0027S SET","user-interest-entertainment":"Entertainment","coming-soon":"Coming Soon","maybe-later-text":"Maybe later","mbing-banner-earn-bing-app":"Earn more Rewards points on Microsoft Bing app","sneak-peek-mobile":"TOMORROW","welcome-tour-points":"Points","streak-count":"Streak count","refer-a-friend-progress-format":"\u003cb\u003e{0}\u003c/b\u003e / {1}","plus-points":"plus","promo-close":"Close","point-progress":"\u003cb\u003e{0}\u003c/b\u003e / {1}","quiz-complete":"You got {0}/{1} correct","mbing-banner-try":"Try it now","mbing-banner-get":"Use the APP","next-text":"Next","family-text":"Community","family-link":"/rewards/community","rewards-dialog":"Rewards Dialog","level-2-incomplete-message":"Earn 500 points to stay on Level 2 next month","task-complete-message":"You\u0027ve earned 500 points this month! ","rewards-medal-url":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/RewardsMedal.json","point-in-title":"\u003cb\u003e{0} point\u003c/b\u003e","catalog-image-format":"//az15297.vo.msecnd.net/images/rewards/rc/{0}","sweepstake-status":"CHECK SWEEPSTAKES STATUS","slide-3w-action-button-text":"Pin and start earning","more-activities":"More activities","raf-progress-image":"https://compass-ssl.microsoft.com/assets/4f/2e/4f2ebc1f-e6f7-4f0c-b5bb-3bdd51c02dad.svg?n=ReferAFriend_coldstart_horn.svg","level-task-incomplete-point":"Earn \u003cb\u003e{0}\u003c/b\u003e point this month to reach \u003cb\u003eLevel 2\u003c/b\u003e.","earn-every-day":"Points earned","slides-location-format":"{0} of {1}","close":"Close","pause":"Pause","point":"{0} point","day":"\u003cb\u003e{0} day\u003c/b\u003e","key":"page-content","level1-task-incomplete-points":"Earn \u003cb\u003e{0}\u003c/b\u003e more points this month to reach \u003cb\u003eLevel 2\u003c/b\u003e.","lifetime-points":"\u003cb\u003e{0}\u003c/b\u003e lifetime points","points-in-progress":"{0}/{1}","remove-goal":"Remove goal","level1-task-incomplete-point":"Earn \u003cb\u003e{0}\u003c/b\u003e more point this month to reach \u003cb\u003eLevel 2\u003c/b\u003e.","level-task-complete":"You\u0027ve earned \u003cb\u003e{0}\u003c/b\u003e points this month! You\u0027ll stay \u003cb\u003eLevel 2\u003c/b\u003e.","consent-text":"You will receive emails about Microsoft Rewards, which includes offers about Microsoft and partner products.","redeem-text":"Redeem","redeem-link":"/rewards/redeem/","skip-tutorial-text":"Skip Tutorial","level-task-incomplete-points":"Earn \u003cb\u003e{0}\u003c/b\u003e points this month to reach \u003cb\u003eLevel 2\u003c/b\u003e.","slide-footnote":"*Available features depend on your country or region","raf-progress-image-alt":"Refer a friend","streak-bonus-countdown-day":"\u003cb\u003e{0}\u003c/b\u003e day until bonus gift","level2-task-incomplete-point":"Earn \u003cb\u003e{0}\u003c/b\u003e more point this month to stay \u003cb\u003eLevel 2\u003c/b\u003e.","user-interest-retail":"Retail","refer-a-friend-progress-desc":"Your referral progress","check-mark":"Correct answer","go-back-mobile":"TODAY","punch-cards":"Quests and punch cards","machineTrans-icon-url":"https://az15297.vo.msecnd.net/images/rewards/membercenter/missions/translationIcon.svg","welcome-tour-points-format":"{0}/{1}","streak-bonus-countdown-days":"\u003cb\u003e{0}\u003c/b\u003e days until bonus gift","sneak-peak-mobile":"TOMORROW","order-history-default-icon":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/Giftbox.json","slide-1-title":"Welcome to Microsoft Rewards!","user-info-bold":"\u003cb\u003e{0}\u003c/b\u003e","catalog-cta-url":"/rewards/redeem/{0}","level-2-message":"You\u0027ve earned 500 points this month! ","family-congratulation-url":"https://az15297.vo.msecnd.net/images/rewards/membercenter/missions/Animated-Icons/GivePoints_Rewards_FX.json","level2-task-incomplete-points":"Earn \u003cb\u003e{0}\u003c/b\u003e more points this month to stay \u003cb\u003eLevel 2\u003c/b\u003e.","locked":"Locked","user-interest-gaming":"Gaming","slide-1-description":"As a Rewards member, you can earn points daily by searching with Bing and then redeem your points for gift cards, donations, and more","level-1-message":"Earn 500 points this month to reach Level 2","earn-text":"Earn","earn-link":"/rewards/","user-interest-food-delivery":"Food \u0026 Delivery","slide-2-description":"Search online with Bing, play games on your Xbox, or buy from the Microsoft Store to earn even more points","previous-text":"Previous","see-what-you-can-redeem":"See what you can redeem today.","give-icon-text":"Give offer","slide-3w-description":"Pin Microsoft Rewards to your taskbar for fast access to point earning opportunities","slide-3nw-description-100":"Choose your favorite topic to earn your first 100 points!","slide-3nw-description-200":"Choose your favorite topic to earn your first 200 points!","machine-tranlation-hint":"Some of the text has been translated using machine translation","redeem-cta-text":"Redeem for {0} points","no-order":"You haven\u0027t redeemed yet","points":"{0} points","streak-bonus-earned":"\u003cb\u003e{0}\u003c/b\u003e days streak bonus gift earned!","days":"\u003cb\u003e{0} days\u003c/b\u003e","play":"Play","goal-default-icon":"https://hostme.blob.core.windows.net/images/rewards/membercenter/missions/Animated-Icons/soccerBall.json","welcome-tour-next":"NEXT"},"links":{"dashboard":{"id":"go-to-dashboard","ariaLabel":"go-to-dashboard_AriaLabel","key":"dashboard","text":"go-to-dashboard_Text","url":"/","target":"_self","enabled":true},"goal-set":{"id":"goal-setgoal","ariaLabel":"goal-set_AriaLabel","key":"goal-set","text":"Set goal","url":"/goal/all","target":"_self","enabled":true},"redeem-now":{"id":"","ariaLabel":"redeem-now_AriaLabel","key":"redeem-now","text":"Redeem now","url":"/redeem/all","target":"","enable… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment