{"version":3,"sources":["build/Config.tsx","utilities/loadImages.ts","contexts/online-context/index.tsx","components/header/text.style.ts","components/header/index.tsx","components/dataLayer/dataLayer.tsx","components/utms/useUTMParams.ts","views/playables/context/data.ts","services/photographer.services.ts","views/memorama/views/list/styles/custom.ts","components/birthday-input/wordings.ts","contexts/events-context/index.tsx","views/lineup/index.tsx","utilities/dynamic-manifest.ts","contexts/session-context/session-reducer.ts","contexts/session-context/index.tsx","contexts/social-context/social-reducer.ts","contexts/social-context/index.tsx","components/icon/check.tsx","build/configs/configs.ts","components/button/index.tsx","contexts/main-class-context/index.tsx","theme/error/index.tsx","components/popUps/index.tsx","views/photographer/views/start/styles.module.scss","contexts/survey-context/survey.reducer.ts","contexts/survey-context/survey.provider.tsx","contexts/general-context/general-reducer.ts","contexts/general-context/index.tsx","constants/api.ts","views/album/configs/album-config.ts","views/privacy-politics/stylepp.module.scss","views/album/context/album-reducer.ts","views/album/context/index.tsx","views/collections/context/collections-reducer.ts","views/collections/context/index.tsx","contexts/groups-context/groups-reducer.ts","contexts/groups-context/CreateGroup.tsx","contexts/groups-context/HowDoYouWantToParticipate.tsx","contexts/groups-context/index.tsx","views/prizes/context/prizes-reducer.ts","views/prizes/context/index.tsx","views/playables/context/reducer.ts","views/playables/context/index.tsx","contexts/events-context/reducer.ts","hooks/use-main-cass.ts","views/raffles/context/raffles-reducer.ts","views/raffles/context/index.tsx","views/raffles/types.tsx","views/memorama/context/memorama-reducer.ts","views/memorama/context/index.tsx","views/lineup/hooks/useLineups.ts","hooks/use-offline-data.ts","components/popUps/bottomPopUp.tsx","components/stepper/index.tsx","contexts/loader-context/index.tsx","services/text-services.ts","hooks/use-router.ts","hooks/use-countdown.ts","components/custom-radio/index.tsx","components/icon/SearchIcon.tsx","components/icon/ubicationIcon.tsx","components/icon/bottom-arrow.tsx","components/icon/more.tsx","components/range/components/style/text.ts","components/range/index.tsx","views/album/configs/routes/routes-config.ts","views/album/configs/routes/definitions.ts","views/album/views/multimedia/components/PopupClient.tsx","components/client-num/ClientNum.tsx","views/help/help.module.scss","views/terms-and-conditions/styles.module.scss","views/cookies/stylecookies.module.scss","components/error-view/index.tsx","components/button-close/index.tsx","services/profile-services.ts","components/loading-screen/index.tsx","components/input/index.tsx","services/form-builder-services.ts","theme/header/index.tsx","hooks/use-local-storage.ts","theme/profile/index.tsx","contexts/survey-context/survey.interface.ts","build/offline lazy /^/.*/.json$/ groupOptions: {} namespace object","contexts/trivia-context/reducer.ts","contexts/trivia-context/index.tsx","providers/index.tsx","routes/types.tsx","routes/guards/index.tsx","views/congrats/index.tsx","theme/help/index.tsx","views/help/index.tsx","hooks/use-custom-form.tsx","components/form-steps/password-recovery.tsx","components/password/style/custom.style.ts","components/password/index.tsx","components/allow-cookies/borderBlack.tsx","components/allow-cookies/scanQr.tsx","components/form-information/components/Steps.tsx","components/form-information/mail-sent-password/index.tsx","components/form-information/email-password/index.tsx","components/otp-input/index.tsx","views/sign-up/styles/custom.style.ts","views/sign-up/components/otp.tsx","views/mail-verify/text.style.ts","views/sign-up/components/already-participate.tsx","views/sign-up/components/done.tsx","services/utm-services.ts","views/login/index.tsx","views/mail-verify/index.tsx","components/form-information/password-recovery/text.style.ts","components/form-information/password-recovery/index.tsx","views/password-reset/index.tsx","views/prizes/index.tsx","views/profile/text.style.ts","components/pref-picker/index.tsx","views/profile/views/profile-information/index.tsx","views/profile/views/profile-history/components/PopUp.tsx","views/profile/views/profile-history/utils/formatDate.ts","views/profile/views/profile-history/components/States.tsx","views/profile/views/profile-history/components/Prize.tsx","views/profile/views/profile-history/utils/functions.ts","views/profile/views/profile-history/components/Steps.tsx","views/profile/views/profile-history/components/NumberOrder.tsx","views/profile/views/profile-history/components/Details.tsx","views/profile/views/profile-history/index.tsx","views/profile/views/profile-address/index.tsx","components/icon/edit.tsx","views/profile/views/profile-phone/index.tsx","hooks/use-percentage-profle.ts","components/icon/menu-profile/history.tsx","components/icon/menu-profile/information.tsx","components/icon/menu-profile/phone.tsx","components/icon/menu-profile/points.tsx","components/icon/menu-profile/consumptionCenter.tsx","components/icon/menu-profile/card.tsx","components/icon/menu-profile/prizesIcon.tsx","components/icon/menu-profile/sitemapicon.tsx","components/icon/menu-profile/preferences.tsx","components/icon/menu-profile/gps.tsx","components/icon/google-wallet.tsx","components/icon/ios-wallet.tsx","utilities/detectDeviceAgent.ts","views/profile/views/profile-identification/styles.ts","views/profile/views/profile-identification/id-config.ts","views/profile/views/profile-identification/instruction-pop-up.tsx","views/profile/views/profile-identification/index.tsx","views/profile/views/profile-consumption/index.tsx","views/profile/views/profile-points/index.tsx","views/profile/views/profile-points/details.tsx","components/icon/menu-profile/arrow.tsx","views/profile/styles/header.style.tsx","views/profile/components/MenuProfile.tsx","components/icon/menu-profile/edit.tsx","views/profile/components/HeaderProfile.tsx","views/profile/views/profile-ranking/index.tsx","components/icon/facebook.tsx","components/icon/google.tsx","components/start/facebook/goToUrlFacebook.ts","components/start/google/goToUrlGoogle.ts","components/start/alertAppView/index.tsx","components/icon/twitch.tsx","components/start/twitch/goToUrlTwitch.ts","views/profile/views/profile-social/index.tsx","views/profile/index.tsx","adapters/my-information-adapter.ts","components/agegate-input/index.tsx","components/form-information/age-gender/index.tsx","components/form-information/names/index.tsx","components/form-information/index.tsx","utilities/birthday.ts","components/form-base-information/index.tsx","views/sign-up/components/welcome.tsx","views/sign-up/index.tsx","theme/allowcookies/index.tsx","components/allow-cookies/index.tsx","components/start/facebook/index.tsx","components/start/google/index.tsx","components/start/guest/index.tsx","components/start/signup/index.tsx","components/start/signin/index.tsx","components/start/backgroundImage/index.tsx","components/start/imageAndText/index.tsx","components/popUps/startPopUp.tsx","components/start/twitch/index.tsx","components/start/xeerpa/index.tsx","views/start/text.style.ts","views/start/index.tsx","components/button-go/index.tsx","views/trivia/trivia-list.tsx","views/redeem/index.tsx","views/terms-and-conditions/index.tsx","theme/trivias/index.tsx","views/trivia/pref-picker.tsx","views/trivia/components/introduction.tsx","views/trivia/index.tsx","views/trivia/components/modal.tsx","views/trivia/components/AlertPopup.tsx","components/birthday-input/index.tsx","views/trivia/components/selector.tsx","views/trivia/components/trivia-game.tsx","views/trivia/components/popUpError.tsx","views/trivia/trivia.tsx","components/birthday-input/date-input.tsx","theme/legalage/index.tsx","components/legal-age/components/ImgAndText.tsx","components/legal-age/components/style/button.tsx","components/legal-age/index.tsx","views/agegate/index.tsx","views/memorama/index.tsx","views/suscribe/index.tsx","views/ranking/index.tsx","views/errors/index.tsx","views/end-route/style/section.ts","views/end-route/style/text.ts","views/end-route/index.tsx","views/profile-information-update/index.tsx","components/radio/index.tsx","components/form-address/step-one/index.tsx","components/form-address/step-two/index.tsx","components/form-address/max-change/index.tsx","components/form-address/index.tsx","adapters/address-adapter.ts","theme/addressform/index.tsx","views/profile-address-update/index.tsx","components/form-phone/text.style.ts","components/form-phone/phone/index.tsx","components/icon/clock.tsx","components/form-phone/otp/styled.component.ts","components/form-phone/otp/index.tsx","components/form-phone/index.tsx","views/profile-phone-update/index.tsx","views/profile-mail-update/index.tsx","components/icon/rank.tsx","components/icon/trivias.tsx","components/icon/auctions.tsx","theme/home/index.tsx","components/icon/profile.tsx","components/icon/raffles.tsx","components/icon/crow-aguila.tsx","components/icon/referrals.tsx","components/icon/collection.tsx","components/icon/awards.tsx","views/home/style/text.style.ts","components/icon/prizes.tsx","components/icon/TriviasIndio.tsx","components/icon/LineUpIndio.tsx","components/icon/tecate/tecateid.tsx","components/icon/consumptionHnk.tsx","components/icon/heinekenid.tsx","components/icon/mixx/mixx-id.tsx","components/icon/dosequis/dosequis-id.tsx","components/icon/indio/rock-id.tsx","components/icon/upload-image-silver.tsx","components/icon/vote-silver.tsx","components/icon/ranking-silver.tsx","components/icon/trivias-miller.tsx","components/icon/redeem.tsx","components/icon/memorama-silver.tsx","components/icon/cristal/id.tsx","components/icon/tecate/memorama-nav.tsx","components/icon/amstel/amstel-id-nav.tsx","components/icon/bohemia/bohemia-id-nav.tsx","components/icon/hnk-waiter/hnkWaiterID.tsx","components/icon/silver/silverId.tsx","components/icon/miller/miller-id-nav.tsx","components/icon/solMezclas/solMezclasId.tsx","components/icon/massive/massiveId.tsx","components/button-nav/index.tsx","components/icon/sol-icons.tsx","components/icon/goArrow.tsx","components/line-steps/index.tsx","views/home/style/home.style.ts","views/home/components/PopUp/AccountLinking.tsx","views/home/components/utils/data.tsx","views/home/components/PopUp.tsx","views/home/index.tsx","components/icon/cup.tsx","components/icon/point.tsx","theme/auction/index.tsx","components/card-auctions/index.tsx","components/card-auction-select/index.tsx","views/auctions/index.tsx","views/raffles/index.tsx","views/referrals/components/Rules.tsx","views/referrals/components/Modal.tsx","views/referrals/components/Header.tsx","views/referrals/components/ProgressBar.tsx","views/referrals/components/Code.tsx","views/referrals/components/Ranking.tsx","views/referrals/index.tsx","views/referrals/hook/useReferral.ts","views/survey/styles/styled.components.ts","theme/survey/index.tsx","components/multi-select/index.tsx","views/survey/components/dropdown.tsx","views/survey/components/checkbox.tsx","views/survey/components/radioMapper.tsx","views/survey/components/textBox.tsx","views/survey/components/options.tsx","views/survey/components/surveyPolaris.tsx","views/survey/components/popUpError.tsx","components/icon/send.tsx","components/icon/success.tsx","views/survey/components/gamerTag.tsx","views/survey/components/demandSpaceVideo.tsx","views/survey/components/demandSpace.tsx","components/generic-error/components/button.tsx","views/survey/components/postalCode/steps/two.tsx","views/survey/components/surveyStepper/Template.tsx","views/survey/components/surveyStepper/index.tsx","views/survey/index.tsx","views/collections/index.tsx","views/marketplace/style/text.tsx","views/marketplace/style/image-container.tsx","views/marketplace/components/MapContainer.tsx","views/marketplace/components/ContainerInput.tsx","views/marketplace/newMarket.tsx","views/marketplace/index.tsx","views/progress/components/accordion.tsx","views/progress/styles/custom.styles.ts","views/progress/index.tsx","views/photographer/context/photographer-reducer.ts","views/photographer/context/index.tsx","views/photographer/components/left.tsx","views/photographer/components/right.tsx","views/photographer/components/carrousel.tsx","views/photographer/components/hooks/useGuard.tsx","views/photographer/views/start/index.tsx","views/photographer/views/winners/custom.style.ts","views/photographer/views/winners/index.tsx","views/photographer/views/upload/index.tsx","views/photographer/views/error/index.tsx","views/photographer/index.tsx","views/trivia-qr/styles/styled.components.ts","views/trivia-qr/trivia-popup.tsx","views/trivia-qr/trivia-qr.tsx","views/privacy-politics/index.tsx","views/cookies/index.tsx","views/toexternal/index.tsx","views/album/index.tsx","views/profile-instagram-update/index.tsx","views/auth/instagram.tsx","components/form-consumption/index.tsx","hooks/use-query.ts","views/profile-consumption-update/index.tsx","views/page-whit-key/index.tsx","views/survey-response/index.tsx","views/survey/components/surveyOnBoarding.tsx","views/survey/survey-qr.tsx","utilities/encrypt.ts","views/identifaction/index.tsx","views/callback/index.tsx","components/card-id/index.tsx","views/wifi/component/view-id.tsx","views/wifi/component/view-data.tsx","views/wifi/component/view-email.tsx","views/wifi/component/view-complete.tsx","views/trivia-ranking/index.tsx","views/playables/index.tsx","views/wifi-connect/WifiForm.tsx","views/wifi-connect/WifiDataInput.tsx","views/wifi-connect/WifiSuccess.tsx","views/auth/xeerpa-manager.tsx","views/wheel-fortune/modules/vars.ts","views/wheel-fortune/modules/utils.ts","views/wheel-fortune/modules/common/images.ts","views/wheel-fortune/modules/assets/roulette-pointer.png","views/wheel-fortune/modules/components/WheelCanvas/styles.ts","views/wheel-fortune/modules/components/WheelCanvas/index.tsx","views/wheel-fortune/modules/common/styledComponents.ts","views/wheel-fortune/modules/components/Wheel/styles.ts","views/wheel-fortune/modules/components/Wheel/index.tsx","views/wheel-fortune/index.tsx","views/events/index.tsx","views/album-qr/album-popup.tsx","views/album-qr/popup-error.tsx","views/album-qr/album-qr.tsx","views/groups/index.tsx","views/checkpoint/styles/styled.components.ts","views/checkpoint/components/CheckpointOnBoarding.tsx","views/checkpoint/components/CheckpointPrize.tsx","views/checkpoint/index.tsx","views/sumasix/index.tsx","views/wifi/component/google-sdk.tsx","views/wifi/component/facebook-sdk.tsx","views/wifi/component/allow-social.tsx","views/wifi/component/view-start.tsx","views/wifi/component/view-form.tsx","routes/definition.tsx","views/wifi/auth.tsx","views/wifi/index.tsx","views/wheel-fortune/hooks/useWheel.ts","routes/index.tsx","views/agegate/custom.style.tsx","views/agegate/components/popUpHealth.tsx","components/footer/index.tsx","components/facebookSDK/index.tsx","components/coming-soon/style/custom.styles.tsx","components/coming-soon/html.tsx","components/coming-soon/index.tsx","App.tsx","components/onetrust/index.tsx","build/Provider.tsx","components/utms/persistUTM.tsx","serviceWorkerRegistration.ts","reportWebVitals.ts","firebase.config.ts","components/gtag-wrapper/index.tsx","index.tsx","views/login/text.style.ts","hooks/use-redirect.ts","utilities/routes-with-not-found.tsx","hooks/use-agegate.ts","services/survey.services.ts","contexts/survey-context/useSurvey.ts","types/prizes.d.ts","components/exchange/styles.ts","components/confetti/index.tsx","components/scratch-card/index.tsx","components/exchange/scrachView.tsx","components/exchange/index.tsx","services/meta-capi.services.ts","views/photographer/views/upload/custom.style.ts","components/birthday-input/style.custom.ts","build/lang/lang.es.tsx","build/modules.ts","theme/congrats/index.tsx","constants/errors.tsx","components/legal-age/components/style/text.ts","hooks/use-white-bg.ts","theme/start/index.tsx","theme/loading/index.tsx","views/album/types.ts","components/generic-error/components/style/text.tsx","views/photographer/views/start/custom.style.ts","components/generic-error/index.tsx","constants/regexp.ts","theme/theme.tsx","contexts/client-num-context/index.tsx","components/header/types.ts"],"names":["CONFIGS","configs","url","a","Promise","resolve","reject","i","Image","crossOrigin","onload","console","log","onerror","err","error","src","convertBlobToBase64","blob","reader","FileReader","onloadend","result","readAsDataURL","downloadImageAsBase64","fetch","response","Error","loadImage","OnlineContext","createContext","useOnline","useContext","isOnline","OnlineProvider","children","useState","navigator","onLine","setIsOnline","handleOnline","toast","dismiss","success","position","handleOffline","loading","checkLocalStorageUpdates","offlineUpdater","localStorage","getItem","array","JSON","parse","length","all","map","config","axios","setItem","stringify","useEffect","intervalId","setInterval","clearInterval","window","addEventListener","removeEventListener","Provider","value","TitleHeader","styled","Title","theme","header","text","title","SubTitleHeader","SubTitle","subtitle","TextHeader","Text","TextLevel","level","LinkNormal","link","onAfterAction","onLinkClick","useSession","sumasixProvider","user","profileLinkings","some","profile","provider","className","menuItemLinkType","toLowerCase","href","rel","target","onClick","to","data-url","LinkLocked","aria-disabled","style","opacity","Header","useAgegate","getAgeData","saveAgeData","session","open","setOpen","useRouter","location","history","pathname","logged","data","shouldUseWhiteBg","useWhiteBg","showAgegate","recheckAge","useGeneralCfg","menu","getMenu","document","body","overflow","documentElement","dlTrackEvent","action","element","section","event","preventDefault","getAttribute","innerText","push","headerClasses","logoClasses","trim","name","firstName","split","albums","setAlbums","get","ALBUM_GET","headers","Authorization","_tokenResponse","idToken","PH_API_ID","fetchData","PointView","parts","pointsText","formattedPointsText","totalPoints","replace","POINTS_NAME","textServices","findByText","TitleComponent","includes","formattedTitle","AZURE_BASE_URL","images","alt","PROJECT_NAME","isOpen","height","pointsStatus","singStampEnum","singStamp","ShowLevels","ShowCustomImageLevel","imageUrl","ShowCustomImage","singStampImageUrl","items","sort","b","order","menuItemSizeType","urlParts","filter","Boolean","LinkRallyType","rallyType","find","album","statusId","goalRule","errors","currentAgeGate","clear","process","es","en","getAge","birthDate","isNaN","dayjs","diff","createUserProperties","loginType","birthday","address","hashId","ls","existEventAuth","dataLayer","f","userProperties","userData","userId","undefined","userInfo","age","birthYear","year","country","providerId","platform","evPageView","pageInfo","currentURL","hostName","hostname","pageName","MetaCAPIService","emitPageView","uuidv4","eventName","eventParams","dlSetUserInfo","profileInfo","dlTrackError","useUTMParams","utmParams","setUtmParams","query","URLSearchParams","useLocation","search","utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","qr","referralCode","levels","moves","popupCover","popupMixCover","ingameMix","ingameBg","ingameMixItems","special","flag","mixAchieved","combinationGif","PhotographerServices","upload","id","post","POST_PHOTOGRAPHER","uploadImageUrl","POST_PHOTOGRAPHER_URL","uploadWithText","POST_PHOTOGRAPHER_WITH_TEXT","validateWithText","ALBUM_VALIDATE_TEXT","GET_PHOTOGRAPHER_ACTIVE","winners","GET_PHOTOGRAPHER_WINNERS","ContainerTitlePage","div","memorama","list","containerTitle","containerMain","ContainerTitlePageText","h1","NotFoundText","p","notFoundText","ContainerMain","ContainerTop","containerTop","ContainerTitle","ContainerTitleText","h2","ContainerSeparator","containerSeparator","ContainerSubtitle","containerSubtitle","ContainerSubtitleText","ContainerCenter","containerCenter","CenterTextParticipate","CenterTextName","memoramaName","CenterStock","centerStock","ContainerBottom","containerBottom","BottomStart","countdownText","BottomStartLeft","prize","BottomStartLeftPoints","points","BottomStartHours","span","countdownTextSpan","ContainerModal","containerModal","TitleName","titleName","GenericText","backButton","genericText","ModalPlayTitle","modalPlay","ModalPlayDescription","h3","description","ModalPlayWarning","warning","calendar","day","month","calculateAge","Math","floor","EventsContext","EventsProvider","useReducer","eventsReducer","state","dispatch","useAxios","GET_EVENTS","useCache","type","payload","useEvents","setPlaces","places","Start","lazy","Create","Edit","Details","LineupContext","useLineupContext","Lineup","useLineups","eventId","lineupId","useMainClass","lineups","fallback","path","component","exact","manifest","PWA_TITLE","TITLE_NAME","origin","stringManifest","Blob","manifestUrl","URL","createObjectURL","querySelector","setAttribute","dynamicManifest","sessionReducer","parseInt","toString","SessionContext","SessionProvider","stsTokenManager","expirationDate","expirationTime","Date","now","validateExpirationToken","goToLogin","removeItem","reload","Object","keys","setError","setSession","setUser","setPoints","setTotalPoints","socialReducer","current","SocialContext","SocialProvider","useSocial","setCurrent","Check","props","width","viewBox","fill","xmlns","d","stroke","version","usePoints","filterPrizes","buttonsStart","positiveLogoUrls","useSecondBackground","imageStart","welcome","legalAgeDate","routesLinks","small","routesHome","routesProfile","privacyPolitics","cookies","notAvailableFields","trivia","showIntroduction","interestsRequired","notShowFields","modalBackgroundTrivias","dontUseSecondBg","showPointsId","showModalMemorama","dontShouldUseWhiteBg","Consumo","urlRedirectAlbumComplete","urlRedirectAlbumProgress","showHowToParticipate","validate","isTakeFoto","useLoaderValidate","useCongrats","useCongratsDirect","howTakePhoto","Card","handleClick","ranking","titleUpload","viewMore","showSocial","imageId","congrats","showButton3","profileMultimediaOutputShare","Ticket","captureBtnBgTransparent","useSecondTextureUrl","stepsNewVersion","prizes","dontShowButtonCongrats","useImgInHome","addressUpdateBg","dontUseTexture","notShowButtonInformation","showButtonPoints","allowReferral","usePointsHome","wheel","backgroundColors","textColors","outerBorderColor","outerBorderWidth","innerBorderColor","innerBorderWidth","innerRadius","radiusLineColor","radiusLineWidth","fontFamily","fontWeight","fontSize","fontStyle","textDistance","perpendicularText","changeIdQr","tracking","Button","disabled","componentClass","MainContext","MainProvider","classMain","setClassMain","setIntervalId","useTexture","getTotalPoints","ProfileService","getMovements","interval","join","SectionError","textColor","PopUp","handleMenu","paramFn","module","exports","surveyReducer","SurveyActionEnum","SET_SURVEYS","surveys","SET_SURVEY","survey","SET_ERROR","SET_PRIZE","SET_DEMAND_SPACE","demandSpace","SET_INFO_SURVEY","surveyInfo","RESET","SurveyContext","SurveyProvider","GeneralActionsType","initialState","generalReducer","SET_MENU","GeneralContext","GeneralProvider","useCallback","GET_MENU","status","menuOffline","setMenu","CODE_API_BASE","API_BASE_CHECKOUT_CODE_UPDATE","USER_UPDATE_API_BASE","API_BASE_USER_UPDATE","GET_USER_BASE","API_BASE_USER_GET","CODE_EXCHANGE","PRIZES_EXCHANGE","AUTH","VERIFY","SEND_RESET","VERIFY_RESET","DO_RESET","GENRES","CHECK_ZIP","SOCIAL_CALLBACK","SOCIAL_CHECK_USER","XEERPA_CALLBACK","EXTERNAL_CALLBACK","GET_PROFILE_DATA","GET_PRIZES","GET_PRIZE_WARE_HOUSE","GET_LEVELS","GET_RAFFLES","GET_RAFFLES_WINNERS","UPDATE_ADDRESS","UPDATE_USER","UPDATE_CONSUMPTION","HISTORY","HISTORY_ID","TYC","FAQS","PAGESWITHKEY","SEND_EMAILVERIFY","TRIVIA_INTERESTS","TRIVIA_SET_INTEREST","TRIVIA_LIST","TRIVIA_VALIDATE","TRIVIA_PLAY","TRIVIA_ANSWER","TRIVIA_RANKING","CATEGORY_PRIZES","GET_RANKS","POST_SUSCRIBE_RANKS","OTP_GENERATE","OTP_VALIDATE","UPDATE_PHONE","UPDATE_NICKNAME","INSTAGRAM","OTP_VALIDATE_EMAIL","GET_ALL_SURVEY","SURVEY_VALIDATE","SURVEY_GET_RESPONSE","PUT_SURVEY","GET_CARRUSEL","POST_REFERRAL","SOCIAL_LOGIN","PUT_CONTACT","PUT_AUTH_INSTAGRAM","VERIFY_NICKNAME","VERIFY_REFERRALCODE","COLLECTION_STICKER_EXCHANGE","COLLECTION_STICKER_MULTIMEDIA","COLLECTION_GET","ALBUM_GET_ID","ALBUM_GET_PROFILE","ALBUM_VALIDATE","ALBUM_VOTE_MULTIMEDIA","ALBUM_GET_RANK_USER","GET_MARKETPLACE","PRIVACYPOLITICSMX","PRIVACYPOLITICSBACK","COOKIESMX","COOKIESBACK","GETSTATELIST","GETCITYLIST","GETCENTERLIST","GET_MOVEMENTS","GET_MOVEMENTS_DETAILS","MEMORAMA_GET","MEMORAMA_GET_ONE","MEMORAMA_ADVANCE","MEMORAMA_STATUS","WHEEL_GET_LIST","WHEEL_VALIDATE","WHEEL_VALIDATE_PLAY","HISTORY_TRACKER","CLIENT_CODE","WALLET_CREATE","GET_LINKEDACCOUNTS","GET_WARE_HOUSES","PLAYABLE_LIST","PLAYABLE_VALIDATE","PLAYABLE_PLAY","PLAYABLE_SAVE","GET_EVENTS_PLACES","POST_TRACKING_LOCATION","GET_LINEUPS","GET_LINEUPS_PROFILE","UPDATE_LINEUPS_PROFILE","GET_REFERRED_ACTIVE","GET_TEAM_ACTIVE_SOCIAL","GET_REFERRED_TEAM","PUT_CREATE_CLUSTER_TEAM","UPDATE_CLUSTER_TEAM","DELETE_PROFILE_CLUSTER_TEAM","JOIN_PROFILE_CLUSTER_TEAM","UNJOIN_PROFILE_CLUSTER_TEAM","GET_CLUSTER_TEAM","GET_RANKING_BY_TEAM","POST_CHECKPOINT","CanvasGenerator","phrase","canvasParam","sign","canvas","context","generatetecateCard","font","fillStyle","textAlign","textBaseline","maxWidth","fillText","words","toLocaleUpperCase","currentLine","y","word","testLine","measureText","fillRect","generatedosequisCard","letterSpacing","FontFace","load","then","fonts","add","generateindioCard","textUpper","generateCard","THEME","Function","createImage","image","drawImage","catch","this","getContext","CanvasGeneratorImage","generatemixxImage","img","imageUser","base64","clearRect","rotate","PI","setTransform","generateheineken00Image","canvasAspect","imageAspect","drawWidth","drawHeight","offsetX","offsetY","generateImageCanva","AlbumConfig","initialConfig","setInitialConfig","RallyType","Historia","Foto","Social","defaultResponse","pathRallyType","textRallyType","values","RallyStatusEnum","COMPLETED","filters","inSubmitShowShareImage","showBackButton","showCallbackButton","warningPhoto","v1","TERMINADO","showButton2","isCard","isPhoto","albumReducer","multimedia","albumConfig","showRules","AlbumContext","AlbumProvider","setLoad","LoaderContext","refetch","useAlbum","fetchAlbums","getMultimedia","getMultimediaProfile","multimediaOutput","setAlbum","refetchAlbum","setSelectAlbum","voteMultimedia","rallyMultimediaId","validateUpload","rallyId","directAccess","setShowRules","collectionReducer","collections","selectPrize","CollectionsContext","CollectionsProvider","useCollections","setCollections","refetchCollections","setSelectSticker","sticker","setCongrats","groupsReducer","groups","payloadTyped","currentGroupIndex","findIndex","group","cluster","cloneStateGroup","dynamic","openCreate","participateGroupId","openSelectParticipate","callbackParticipate","CreateGroup","setOpenCreate","useGroups","setNewGroups","useForm","resolver","yupResolver","formServices","formGenerateSchema","register","setValue","watch","handleSubmit","formState","onSubmit","formData","FormData","append","groupFile","groupName","ImageFileName","ImageContentType","put","clusterData","createdAt","bucket","profileIdOwner","item","clusterRoleType","clusterRoleTypeId","profileId","onExit","message","aspectRatio","accept","onChange","e","file","files","placeholder","onBlur","form_name","form_field","form_action","HowDoYouWantToParticipate","setOpenSelectParticipate","setParticipateGroupId","setCallbackParticipate","step","setStep","clusterProfileId","Number","clusterId","defaultState","GroupsContext","GroupsProvider","getGroupsSession","setDynamic","setUpdateGroup","setRemoveGroup","groupId","handleOpenSelectParticipate","teamId","callback","getRanking","profileRanking","prizesReducer","flowTypeId","wareHouse","selectWarehouse","prizeExchange","PrizesContext","PrizesProvider","configuration","prizeFlowTypeId","code","usePrizes","setPrizes","refetchPrizes","setSelectPrize","setFlowType","getWareHouse","setSelectWareHouse","setPrizeExchange","PlayableActionsType","playableReducer","SET_PLAYABLES","playables","SET_ADVANCE","advance","SET_ADVANCE_BASE","SET_LAST_SCORE","lastScore","SET_PLAYABLE","playable","SET_CURRENT_PLAYABLE","currentPlayable","SET_PLAY","SET_CONGRATS","finished","PlayableContext","usePlayable","getPlayables","validatePlayable","playableId","levelIndex","min","playPlayable","savePlayableData","score","playAgain","reponse","sendScore","changeLevel","deletePrize","PlayableProvider","reducer","EventPlaceEnum","prev","setter","remove","raffleReducer","raffles","selectRaffle","RafflesContext","RafflesProvider","rafflesReducer","raffle","productId","secondaryImageUrl","sortId","sorteoId","RaffleAdapter","useRaffles","setRaffles","refetchRaffles","setSelectRaffle","memoramasList","currentMemorama","winner","MemoramaContext","MemoramaProvider","MemoramaReducer","locale","transform","dates","eventLineUpItems","forEach","artist","currentDay","beginAt","format","existIndex","adaptedArtist","validFrom","validTo","endAt","imageSrc","stage","eventPlace","artists","offline","setData","handlerFetcher","handlerOffline","json","default","handler","useOfflineData","transformedData","setTransformedData","dataNotTransformed","useLineupsProfile","useLocalStorage","lineup","setLineup","fetcher","ids","lineupOnlyShow","reduce","BottomPopUp","maxHeight","Stepper","total","percentageStep","useMemo","transition","LoaderProvider","head","setHead","footer","setFooter","_texts","language","themeText","findJson","textRaw","modules","lang","defaultValue","acc","replacedText","key","RegExp","React","isValidElement","mapChildren","Children","child","cloneElement","params","useParams","useHistory","match","useRouteMatch","queryString","useCountDownSeconds","ms","counter","setCountDown","startCountDown","setStartCountDown","useRef","start","pause","reset","Input","input","inputRadio","CustomRadio","forwardRef","ref","displayName","SearchIcon","UbicationIcon","cx","cy","r","BottomArrow","More","strokeWidth","TitleRange","range","Range","removeRange","gtag","event_category","GTM_EVENT_CATEGORY","event_label","RoutesConfigAlbum","isActiveWhenAlbumIsComplete","redirect","routeToRedirect","List","Ranking","ImageId","Upload","Profile","RoutesAlbumDefinitions","PopupClient","isError","setClientNum","ClientContext","ClientNum","confirmData","setConfirmData","consumptionData","setConsumptionData","popup","setPopup","setShowInputNumber","handleSubmitForm","clientNum","confirmFn","updateConsumption","consumptionId","internalId","readOnly","city","ContainerError","useBg","setTimeout","CustomEvent","detail","dispatchEvent","ErrorListView","buttonMenu","prettyError","prettyErrorDescription","strokeLinecap","listStyle","index","ErrorView","onRetry","onSubRetry","button","prettyErrorButton","subButton","prettyErrorSubButton","buttonText","subButtonText","ButtonCloseMenu","bgTransparent","bg","backgroundColor","signUp","utm","credentials","accessToken","postReferral","socialLogin","signInWithEmailAndPassword","isLogin","resendEmailVerify","recoverPassword","doReset","verifyReset","checkZip","updateAddres","otpGenerate","phone","recaptchaToken","otpVerifyPhone","otpVerifyEmail","otpVerifyEmailWithAccessToken","genres","updateProfile","updateProfileContact","validateNickName","nickname","validateReferralCode","instagram","authInstagram","getMovementsDetails","categoryId","updatePhone","phoneNumber","updateNickname","nickName","LoadingScreen","loaderPulse","backgroundImage","circlePulse","strokeOpacitye-width","stroke-strokeMiterlimit","left","top","zIndex","hideSpinningLogo","useText","variant","innerRef","oninput","mergeRefs","InputWithRef","yup","mixed","required","string","email","max","lowercase","uppercase","number","lessThan","less","moreThan","more","positive","negative","integer","date","yupRequired","yupWhen","schemaWhen","schema","concat","formBuilder","shape","formSelectYup","when","matches","EMAIL_REGEXP","oneOf","nullable","BIRTHDAY","PHONE_REGEXP","isTrue","names","object","formValidateErrors","errorType","options","prototype","hasOwnProperty","call","error_type","error_code","error_message","HeaderST","attrs","headerBackground","headerBackgroundClose","ButtonMenu","buttonOpen","SpanMenu","spansButtonVariation","spansButton","SpanMenuAlternative","spansButtonSecondary","Menu","menuBackground","menuText","dontUseTextureBg","bgTexture","backgroundRest","Logo","imagesConfig","logo","paddingLogo","Points","ModalMessage","trivias","modalMessage","ModalDescription","modalDescription","ModalCancel","modalCancel","ModalCancelP","modalCancelP","PointTextStyle","pointText","ImgMenu","buttonModalAccept","buttonModalAcceptP","initialValue","storedValue","setStoredValue","valueToStore","ButtonHelperProfile","selected","borderNavSelect","bgNavHelper","LiStateAccount","li","borderStateAccount","DivStateAccount","backgroundStateAccount","PStateAccount","colorTextTitleStateAccount","colorTextTitleStateAccountRest","TextStateAccount","textStateAccount","Crown","textProfile","genericBackground","crownBg","ButtonPrefPicker","isProfile","active","category","borderButtonSelectProfile","borderButtonProfile","textButtonSelectProfile","textButtonProfile","borderRadiusButton","backgroundButtonSelectProfile","buttonSelectActive","buttonSelectInactive","ButtonPref","handleOnClick","datainterestid","interests","setActive","data-interest-id","CrownState","crownState","CrownStateText","crownStateText","ProfilePointsContainerTotalPoints","containerTotalPoints","ProfilePointsTitleTotalPoints","titleTotalPoints","ProfilePointsTotalPoints","ProfilePointsContainerPoints","containerPoints","ProfilePointsTitlePoints","titlePoints","ProfilePointsPoints","Link","ProfileDetailsPointsContainerTotalPoints","details","ProfileDetailsPointsTitleTotalPoints","ProfileDetailsPointsTotalPoints","ProfileDetailsPointsContainerPoints","ProfileDetailsPointsDatePoints","datePoints","ProfileDetailsPointsTitlePoints","ProfileDetailsPointsPoints","ProfileDetailsPointsDescription","ProfileDetailsPointsDescriptionPoints","descriptionPoints","TextStateAccountDate","textStateAccountDate","SurveyTypeEnum","webpackAsyncContext","req","__webpack_require__","o","t","TriviaActionsType","triviaReducer","SET_INTERESTS","SET_TRIVIAS","SET_TRIVIA","currentTrivia","SET_QUESTIONS","question","SET_PRIZES_CATEGORIES","prizesCategory","TriviaContext","useTrivia","mappedInterests","equals","setInterests","getTrivias","validateTrivia","triviaId","isDirectAccess","resetTrivia","exchangePrize","urlRedirect","playTrivia","answerTrivia","questionId","optionId","urlRedirect2","buttonText2","profileTime","time","useRanking","withRanking","TriviaProvider","AppProviders","ScopeEnum","GuardedRoute","rest","lState","isMinor","useRedirect","setRefferal","flowType","toexternal","setExternal","setUtm","encodeURI","isLogged","urlParams","paramArray","utms","notAgegate","consumptionCenter","scope","PUBLIC","isWaiter","PRIVATE","Congrats","setRange","lPrize","removeLPrize","lSticker","removeLSticker","lRange","collectionId","VAR_POINTS","backgroundSize","onTouchStartCapture","DivTextHelp","help","textHelp","DivBgHelp","backgroundHelp","AreaTextHelp","textarea","textHelpArea","TitleHelp","titleHelp","SubtitleHelp","subtitleHelp","ContactTitle","contactTitle","ContactSubtitle","contactSubtitle","CollapsibleStyle","collapsibleStyle","SectionHelp","sectionHelp","ButtonHelp","buttonHelp","CollapsibleStyleP","collapsibleStyleP","Help","loadingFaqs","errorFaqs","faqs","method","manual","nameRef","lastnameRef","emailRef","phoneRef","textRef","submitHandler","lastname","alert","faq","collapsible","trigger","onOpen","dangerouslySetInnerHTML","__html","content","maxLength","useCustomForm","initialValues","setState","setHistory","stepsArray","setStepsArray","htmlSteps","setHtmlSteps","handleChangeState","prevStep","nextStep","backHistory","setQuantitySteps","quantity","Array","from","PasswordRecovery","shouldEnable","mailSent","isDisabled","setIsDisabled","ContainerPassword","inputPassword","container","InputPassword","IconPassword","icon","PasswordWithRef","showPassword","setShowPassword","setType","Password","BorderBlack","isScanningSuccess","getElementsByClassName","display","flexDirection","justifyContent","alignItems","background","ScanQrReferral","toggle","setScanQrResult","webcamRef","scanningRef","setIsScanningSuccess","scanQrFromCamera","webcam","getScreenshot","createElement","imageData","getImageData","qrCode","jsQR","extractReferralCode","audio","screenshotFormat","videoConstraints","facingMode","objectFit","Steps","setPercentageStep","MailSentPassword","isSignUp","setMailSent","EmailPassword","onFormSubmitEndPoint","scanQr","handleScanQr","reValidateMode","getValues","setErrorForm","termsOfUse","setTermsOfUse","privacyPolicy","setPrivacyPolicy","subscribe","setSubscribe","scanQrResult","scanRefresh","setScanRefresh","handleSubmitValidate","referral","typedError","isAxiosError","shouldValidate","referralCodeParams","getReferralCode","noValidate","password","decrease","back","inputOtp","OtpInput","one","two","tree","four","five","six","inputBlur","refs","valueRefs","inputChange","focus","inputArr","onFocus","select","onPaste","codeOtp","codeOtpArray","completeOtpCode","clipboardData","getData","TitleSignUpWelcome","signup","ColorDiv","otp","colorDiv","SubTitleSignUpWelcome","TextSignUpWelcome","TextSecondSignUpWelcome","textSecondary","SubTitleSignUpOtp","TextSignUpOtp","BackBtn","backBtn","Otp","handleConfirm","EMAIL","goBack","TitleEmail","TextEmail","AlreadyParticipate","handleLogin","Done","utmServices","utmRead","auth","getAuth","Login","genericError","setGenericError","done","setDone","setCredentials","setOtp","dataUser","setDataUser","setPrize","handleUser","external","assign","decodeURI","availableFields","isComplete","genre","genreId","base","handleError","errorCode","errorMessage","handleOnSubmit","handleDone","buttons","handleButtonCommon","handleButtonSticker","handleChange","MailVerify","oobCode","replaceAll","verifyMail","apodo","TitlePassword","ChangePassword","password_confirm","PasswordReset","newPassword","Preview","Description","ExChange","StartPrizes","Prizes","useSurveyRedirect","PRIZES","TextProfile","TextProfileSecondary","TextNotFoundHistory","textNav","textNotFoundHistory","TextPref","textPref","PrefPicker","useSet","Set","activeItems","activeItemsSet","substring","endsWith","persist","currentTarget","toggleAttribute","sendInterest","enableButton","size","Information","lastName","PopUpCoupon","closePopup","timeResult","setProductExchange","extend","showTimePopUp","setShowTimePopUp","dateCountdown","setDateCountdown","expired","setExpired","countDownFn","expiresAt","toDate","historyTracker","newItem","temporalCouponExpiresAt","Clock","toLocaleString","renderer","minutes","seconds","completed","formatDate","isoDate","getUTCDate","padStart","getUTCMonth","getUTCFullYear","Status","statusInfo","class","Prize","setShowDetails","productExchangeCoupon","exchangeAt","orderStatus","fetchHistoryId","token","currentDate","compareDate","CheckIcon","color","aria-hidden","Step","isLast","nextStepCompleted","VerticalStepper","steps","trackingDetail","courier","courierExists","trackingNumber","formattedStep","stepTitle","toUpperCase","checked","addressTitle","street1","neighborhood","formatSteps","NumberOrder","setShowOrderNumber","showDetails","showOrderNumber","buttonConfig","setButtonConfig","getHistory","canExchangeCoupon","buttonConfigs","currier","trakingNumber","temporalCouponCode","configKey","costInPoints","History","showPopUpCoupon","setShowPopUpCoupon","productExchange","gridTemplateColumns","pointsEarned","gridTemplateRows","dynamicCostInPoints","dynamicTitle","dynamicType","Address","streetNumber","shippingDetails","street2","postalCode","Phone","showInstagram","subsection","contactEmail","informationFields","addressFields","UsePercentageProfile","useSurvey","surveyLoading","percentageProfile","setPercentageProfile","requiredField","setRequiredFields","fieldsInfNotCompleted","field","fieldsAddressNotCompleted","fieldsNC","count","fieldsNull","userFieldsCompletedCount","valuePercent","round","InformationIcon","ConsumptionCenterIcon","CardIcon","strokeLinejoin","PrizesIcon","SiteMapIcon","PreferencesIcon","GPS","GoogleWallet","x1","y1","x2","y2","gradientUnits","stopColor","offset","IOSWallet","xmlnsXlink","clipPath","maskUnits","x","mask","fillRule","clipRule","patternContentUnits","xlinkHref","listAppBrowsers","isInAppBrowser","useragent","userAgent","vendor","opera","regex","test","isIOS","isAndroid","PointsIdContainer","identification","card","switch","pointsId","PointsIdName","PointsIdNumber","idConfigTheme","tecate","textX","textY","massive","amstel","bohemia","cartablanca","cristal","dosequis","heinekenWaiter","indio","silver","heineken00","silverMemorama","silverOnTrade","silverWaiter","miller","mixx","solMezclas","weight","InstructionPopUp","setPopUp","Identification","setStatus","refCanvas","isOpenPopUp","setIsOpenPopUp","urlWallet","setUrlWallet","soName","urlUser","URL_BASE","handleDownload","dataURL","toDataURL","download","click","referralClick","getStatus","urlToOpen","wallets","walletSOType","createWallet","themes","strokeStyle","lineWidth","borderRadius","canvasQR","getElementById","arr","imageDataUrl","currentTheme","beginPath","moveTo","arcTo","closePath","codeOrId","share","ConsumptionProfile","ProfilePoints","setList","fetchPoints","movements","amount","ProfileDetailsPoints","getDate","Intl","DateTimeFormat","getFullYear","Arrow","ContainerProfile","containerProfile","IconColor","iconColor","IconColorArrow","iconColorArrow","TextLabelMenu","textLabelMenu","TitlePage","titlePage","ListItem","listItem","HeaderColorArrow","headerColorArrow","EditColorIcon","editColorIcon","ContainerMenu","containerMenu","MenuProfile","definitionsFiltered","definitions","dontShowItem","label","helper","noArrow","HeaderProfile","definitionsFinded","matchPath","update","ProfileRanking","rally","multimediasCount","Facebook","Google","rx","redirectUri","clientId","FC_CLIENTID","goToUrlFacebook","flowTypeParam","encodeURIComponent","utmString","entries","GOOGLE_CLIENTID","goToUrlGoogle","AlertAppView","social","TwitchIcon","goToUrlTwitch","SocialProfile","loginError","setLoginError","alertAppView","setAlertAppView","typedThemeButtons","linkedAccunts","setLinkedAccunts","handleMetaClick","handleGoogleClick","handleTwitchClick","listSocial","isDisplayInTheme","alreadyLinked","indexOf","isLinked","linked","information","setInformation","setConsumptionCenter","setAddress","setPhone","isAllowRoute","isAllow","AddressIcon","PhoneIcon","PointsIcon","HistoryIcon","slice","pop","definition","myInformationAdapter","AgegateInput","tagging","birthdayDate","pattern","formName","AgeGender","defaultValues","setErrors","setAgeLocalForm","setBirthday","gender","setGender","birthdayDefault","setBirthdayDefault","ageLS","dateBirthday","getMonth","getGenres","Names","onFormSubmit","FormInformation","quantityStep","newData","getBirthdayLocal","birthdayLocal","birthdayParse","currentYear","YEAR_REGEXP","yearStart","parsedYear","birthdayParseYear","birthdayDayjs","isValid","FormBaseInformation","handleFormSubmit","Welcome","resend","setResend","handleResend","nombre","SignUp","setName","setEmail","setPassword","prizeToShow","setPrizeToShow","setScanQr","catchError","createUserWithEmailAndPassword","emitCompleteRegistration","handleSubmitBase","ImgAllowCookies","allowCookies","AllowCookies","setReferralCode","isFlowType","setIsFlowType","setFirebaseError","setAllowCookies","completeData","consumption","consumptionCenterId","loginSDK","authResponse","FacebookAuthProvider","credential","signInWithCredential","bithdayUser","reloadUserInfo","dateOfBirth","loginResponse","isAccountExistsError","errorKey","FB","login","isHorizontal","GoogleAuthProvider","addScope","signInWithPopup","credentialFromResult","borderColor","padding","Guest","SignIn","BackgroundImage","ImageAndText","StartPopUp","Twitch","Xeerpa","searchParams","has","set","TitleStart","TextStart","customParseFormat","firebaseError","listCommon","socialHorizontal","popUp","startPopUp","common","InputGo","inputGo","ButtonGoRedeem","TriviaStatusEnum","setIsFocused","isFocused","redeemError","setRedeemError","shouldListenToEvents","setShouldListenToEvents","secondCode","setSecondCode","inputRef","recaptchaRef","inputFormProps","blur","executeAsync","newUser","clone","chances","isNewLevel","formContainerClasses","tagName","sitekey","RECAPTCHA_SITEKEY","autoComplete","borderTopRightRadius","borderBottomRightRadius","borderTopLeftRadius","borderBottomLeftRadius","codeButtonImg","Redeem","REDEEM","popupClientNum","Div","termsAndConditions","TYCPage","styles","wrapper","DivTriviaList","colorTextTrivia","H1PrefPicker","ColorTextPref","textPrefTitle","PPrefPicker","TriviaNumber","triviaDescription","triviaNumber","DivTriviaListBorder","isActive","backgroundTriviaDisabled","borderBottomTrivia","DivTitleTriviaList","colorTriviaTop","backgroundTitleTrivia","TitleTriviaBorder","H2TitleTriviaList","backgroundTitleClassTrivia","colorTitleTrivia","fontTitleTrivia","fontSizeTitleTrivia","titleTrivia","DivModalContinue","colorTextContinue","backgroundContinue","backgroundContinueImage","ButtonModalContinue","DivSelector","colorTextSelect","LiSelectorOption","backgroundSelectTitle","colorTextSelectTitle","isSelected","borderSelectOption","backgroundOptionSelect","backgroundOptionDesactive","DivSelectOption","backgroundOptionCircleActive","QuestionHeader","colorTextCongrats","questions","QuestionNumber","QuestionTitle","DivTriviaContainer","divTriviaContainer","TriviaTitle","titleRight","TriviaCountdown","countdownStyle","TriviaSubtitle","subtitleCenter","TriviaSubtitleSpan","subtitleCenterSpan","TriviaPrize","prizeCenter","TriviaStock","triviaStockCenter","TriviaTime","triviaTime","TriviaTimeNumbers","triviaTimeNumbers","TriviaCost","triviaCost","TriviaCostNumber","triviaCostNumber","TriviaModalH1","triviaModalH1","TriviaModelP","triviaModelP","TriviaModalWarning","triviaModalWarning","TriviaTitlePage","triviaTitlePage","TriviaNotFoundContainer","spanColorTitle","triviaNotFoundContainer","TriviaNotFoundText","triviaNotFoundText","CrownTrivia","crownTrivia","QuestionImgContainer","questionImgContainer","QuestionImg","questionImg","QuestionImgTitleContainer","questionImgTitleContainer","QuestionImgTitle","questionImgTitle","ColorCountdown","colorCountdown","CountdownContainer","countdownContainer","QuestionContainerTwoQuestions","questionContainerTwoQuestions","ImgLarge","imgLarge","OptionStyle","optionStyle","LiBorderColor","liBorderColor","PreferencesPicker","TriviaList","avaliableTrivias","nowDate","profileTriviaStatus","today","diffA","countdownType","hasEnoughPoints","isAvailable","stock","isUnlimited","shouldShowCountdown","interest","nbrOfQuestions","IntroductionTrivia","setShowIntroduction","Trivia","introductionTrivia","TRIVIAS","TriviaModal","onAccept","previousPath","AlertPopUp","DateType","handleRetry","handleNavigate","OptionSelector","timeInSeconds","end","setEnd","countdown","startCountdown","pauseCountdown","resetCountdown","setQuestion","setSelected","errorTrivia","setErrorTrivia","executed","setExecuted","showAlert","setShowAlert","q","selectOption","block","unblock","handleNavigateAlert","onbeforeunload","exitTrivia","dontShowButtons","dontShowButtonExchange","buttonSecondary","option","data-id","TriviaGame","PopUpError","TriviaChallenge","route","userAccepted","setUserAccepted","triviaValidate","DateInput","DateInputWithRef","textSharedProps","BirthdayInput","setAgeLocal","setFormState","yearRef","monthRef","handleOnChange","placeholderType","placeholderDifferent","minLength","LegalAgeImg","agegate","ImgAndText","ButtonVariant","buttonVariant","LegalAge","Agegate","GameMemorama","Win","Memorama","Suscribe","setSteps","handleSuscription","setRanking","postSuscribe","fetchRank","codeResponse","currentPosition","rankWinners","errorId","errorid","Section","TitleEnd","SubTitleEnd","ButtonEnd","EndRoute","removeAge","ProfileInformationUpdate","isNew","P","RadioSt","Radio","StepOne","setHelper","cities","neighborhoods","defaultChecked","streetType","apartament","MaxChange","diffChange","MAX_CHANGE_ADDRESS_COUNT","addressCount","FormAddress","setHelp","handleButton","adaptedData","neighborhoodId","AddressAdapter","BackgroundFormAdressUpdate","formAddressUpdate","backgroundFormAdressUpdate","ProfileAddressUpdate","TextOtp","TextOtpTwo","textTwo","TextOtpLabel","TextOtpLabelTwo","labelTwo","TextOtpResend","sumasix","toggleOtpSS","expires","useDirectPhone","PTime","pTime","TitleOtp","titleOtp","endTime","setEndtime","endTimeTransform","setEndTimeTransform","useCountdown","minute","second","secondsToString","FormPhone","ProfilePhoneUpdate","linkAccountSS","responseProfile","ProfileMailUpdate","mail","contactMail","Rank","TriviasIcon","fillOpacity","Auctions","strokeMiterlimit","ButtonNavStyle","home","buttonDisable","buttonDisableContrast","buttonColorContrast","buttonColor","buttonDisabledBorderContrast","buttonDisabledBorder","buttonDisabledBackground","buttonBackgroundContrast","buttonBackground","buttonBorderRadius","ButtonNavStyleFull","DivLineStep","BgLineStepActive","BgLineStep","HrLineStep","hr","DivProgress","progress","DivProgressSecond","AZURE_ICONS_URL","Raffles","CrowAguila","Referrals","Collection","Awards","TitleHome","TextHome","TextHomeSecondary","ContainerTextProgress","containerTextProgress","TextHomeButton","textButton","TextPoints","TextDynamics","dynamics","FloatImgHome","sello","TextArrow","textArrow","TextTotalPoints","textTotalPoints","TextArrowColor","textArrowColor","TriviasIconIndio","LineUpIndio","TecateDownload","TecateView","border","TecateID","isStandalone","setIsStandalone","matchMedia","addListener","removeListener","ConsumptionHnk","HeinekenID","MixxID","DosequisID","RockID","UploadImageSilver","VoteSilverIcon","RankingSilverIcon","TriviasMillerIcon","MemoramaSilverIcon","CristalID","MemoramaNavTecate","AmstelIdNav","backgroundRepeat","BohemiaIdNav","HnkWaiterId","TextID","Container","SilverID","MillerID","SolMezclasId","MassiveID","Links","Gift","ProfileCB","Collections","Trivias","TriviasIndio","Photos","UploadImage","LineUp","ProfileID","html","MemoramaSilver","HeinekenId","TriviaMatchpaint","VoteSilver","RankingSilver","MezclasSol","VoteSol","ProfileSol","MyImagesSilver","ParticipateSilver","TriviasMiller","HistoryDosequis","TicketsDosequis","ConsumptionDosequis","MemoramaTecate","AmstelID","BohemiaID","BohemiaChallenges","BohemiaContent","BohemiaRanking","TriviaDosequis","MemoramaDosequis","PhotoDosequis","TicketsDosequisV2","HnkWaiterID","ButtonNav","onHandleClick","GoArrow","LineSteps","activeIndex","Dots","dots","PopUpTwo","PopUpSpanMenu","spanMenu","HrHome","NavContainer","nav","navContainer","AccountLinking","setPopUpFalse","linkAccount","setLinkAccount","alreadyPhone","verifyPhone","popUps","1","2","3","4","setWinners","useWindowSize","heightList","setHeightList","ganador","sorteoDate","5","6","Component","Type","Home","carrousel","setCarrusel","asyncSteps","setAsyncSteps","REGISTER","getAsyncStates","settings","centerPadding","centerMode","infinite","speed","autoplaySpeed","autoplay","customPaging","slidesToShow","slidesToScroll","arrows","afterChange","currentSlide","promotion_id","promotion_name","creative_name","dynamicsBottom","useProfilePointsHome","usePointsText","TOTAL_POINTS","onclick","processedHref","Cup","Point","DivCardContainer","modal","auctions","cardBgAndText","cardBorderColor","cardRoundedTop","DivCardTitle","DivCardOffert","cardOffertBgAndText","CardAuctions","setAuction","ofertText","days","hour","currentOffer","SelectAuctionCard","currentAuction","setCurrentOffer","modalAlert","setModalAlert","Buttons","urlImg","auctionSelected","setAuctionSelected","ArrowDown","Winners","Rules","closeRules","Modal","closeModal","toggleRules","closeModalFn","toggleRanking","ProgressBar","referrals","profileCluster","referredAmount","team","maxUser","calculateProgress","displayRange","calculateDisplayRange","referralPoints","Code","contentRef","getUrlUser","clipboard","writeText","scrollHeight","prizeImageUrl","RankingItem","backgroundClass","rankInfo","setRankInfo","Position","RankingItemMap","openRules","setOpenRules","setTeam","getReferredActive","getReferredTeam","createClusterTeam","useReferral","setModal","openRanking","setOpenRanking","TitleSurveyQr","triviaQr","DescriptionSurveyQr","ImgSurveyQr","ContainerSurveyQr","TitleSurvey","TitleSurveyPolaris","titlePolaris","ImgCardSurvey","ImgBottomSurvey","imgBottom","PSurveyMultiSelectOption","SubtitleSurveyLabel","SubtitleLabelSurvey","subtitleLabel","DivSurveyMultiSelectOptionContainer","containerSelect","ImgSurveyMultiSelectOption","MultiSelect","titleRef","itemId","selectedItems","newSelectedList","amountAnswers","shift","columns","String","data-kind","DropDown","CheckboxMapper","RadioMapper","TextBox","Options","SurveyPolaris","updatePolarisSurvey","isOptional","textValue","setTextValue","validateAmountAnwsers","selectedFilter","amountAwnsers","optionIds","demandSpaceId","headerApp","classList","contains","Send","Success","GamerTag","gamerTag","setGamerTag","setDisabled","isChange","setIsChange","DemandSpaceImg","SurveyInfo","handleShare","resultUrl","imageResponse","imageBlob","File","filesArray","downloadUrl","appendChild","parentNode","removeChild","data-slot","DemandSpaceVideo","playerRef","innerWidth","dimensions","setDimensions","avatar","setAvatar","view","viewHandled","setViewHandled","updateDimensions","innerHeight","minWidth","opts","playerVars","bool","videoId","videoUrl","DemandSpaceComponent","Template","submit","setVariant","useFormContext","control","_formValues","Render","_","render","SurveyStepper","resetSurvey","setSchema","methods","schemas","optional","Survey","validateSurvey","redirectUrl","fetchSurvey","encuestaType","isAnswered","viewType","Album","Download","CongratsRedeem","COLLECTIONS","TitleMarketPlace","marketplaces","SubTitleMarketPlace","ScopeMarketPlace","scopeText","ImageMarketPlace","MapContainerComp","zoom","setZoom","containerStyle","wareHouses","distances","lat1","lon1","lat2","lon2","lat1Rad","lon1Rad","lat2Rad","dLat","dLon","sin","cos","atan2","sqrt","calculateDistance","center","lat","lng","latitude","longitude","maxDistance","calculatedZoom","log2","Infinity","isLoaded","info","mapContainerStyle","disableDefaultUI","handleMouseOver","userLocation","searchResult","ContainerInput","searchLocation","handleSearch","errorSearch","handleInputChange","userLocationFn","NewMarket","setWareHouses","useJsApiLoader","googleMapsApiKey","API_KEY_MAPS","whs","getWareHouses","geocoder","setInfo","setCenter","setSearchLocation","centerIsLoaded","setCenterIsLoaded","CoordinateCenter","google","maps","Geocoder","setSearchResult","setErrorSearch","validWareHouses","z","coord","hyp","searchCenter","setUserLocation","geocode","componentRestrictions","COUNTRY_MAPS","results","geometry","location_type","geolocation","getCurrentPosition","coords","MapContainer","Marketplaces","marketplace","Accordion","userPoints","initAt","TitleProgress","Progress","setLevels","res","photographerReducer","photos","unshift","PhotographerContext","PhotographerProvider","getPhotographer","typeData","multimedias","getWinners","usePhotographer","setPhotos","setPhoto","photo","Left","Right","Carrousel","initialSlide","prevArrow","nextArrow","responsive","breakpoint","useGuard","protectedRoutes","myPhotos","setMyPhotos","fileToShare","isYou","CardCarrousel","once","continue","DivTitleWinner","photographer","TitleWinner","DivCardWinner","DescriptionCardWinner","ImgCardWinner","setImage","setFile","handleInstagram","dataInput","isWinner","minHeight","htmlFor","Photographer","RALLY","TitleTriviaQr","DescriptionTriviaQr","ImgTriviaQr","ContainerTriviaQr","TriviaPopUp","TriviaQr","redirectToSurvey","TRIVIAQR","triviaQrPopUp","PrivacyPolitics","fetchURL","stylespp","wrapperpp","Cookies","stylecookies","wrappercookies","ToExternal","RedirectView","VOTE","ProfileInstagramUpdate","InstagramAuth","error_reason","FormConsumption","states","setStates","setCities","centers","setCenters","clientNumber","setClientNumber","errorForm","showInputNumber","cityRef","consumptionRef","provided","outline","singleValue","resetFields","clearValue","useQuery","ConsumptionsUpdate","showExcellent","setShowExcellent","PageWithKey","SurveyResponse","setDemandSpace","setSurveyInfo","getResponse","SurveyOnBoarding","SurveyQr","decryptAES","encryptedDataBase64","encryptedDataWithoutSpaces","encryptedData","Uint8Array","atob","c","charCodeAt","iv","encryptedBytes","crypto","subtle","importKey","TextEncoder","encode","decrypt","decrypted","TextDecoder","decode","IdentificationDynamic","setId","decryptId","SECRET_PASS","decryptedData","unStringifiedData","Callback","firbaseAuth","redirectByLocal","getRedirectLocal","authCallback","bodyLogin","hash","parsedParams","decodeURIComponent","stateProvider","signInWithCustomToken","firebaseAccessToken","firebaseLogin","providerAccessToken","callbackBody","linkAccountResponse","CardId","ViewId","setStepper","ViewData","ViewEmail","ViewComplete","StatusEnum","0","Sum","formatTime","totalSeconds","formattedMinutes","formattedSeconds","Game","Map","Playable","WifiForm","privacyNotice","WifiDataInput","requestSend","setRequestSend","setPrivacyNotice","paramContinueUrl","paramBaseGrantUrl","paramNodeId","userContinueUrl","nodeId","baseGrantUrl","devTest","actionForm","obj","node_id","terms","news","API_TOKEN","WifiSuccess","classID","validatorsQuery","DEFAULT_BACKGROUND_COLORS","DEFAULT_TEXT_COLORS","DEFAULT_FONT_WEIGHT","DEFAULT_FONT_STYLE","WEB_FONTS","getRotationDegrees","prizeNumber","numberOfPrizes","randomDif","degreesPerPrize","initialRotation","randomDifference","random","perfectRotation","imperfectRotation","prizeRotation","clamp","val","isCustomFont","getQuantity","prizeMap","characters","roulettePointer","WheelCanvasStyle","drawRadialBorder","ctx","centerX","centerY","insideRadius","outsideRadius","angle","lineTo","WheelCanvas","rouletteUpdater","canvasRef","createRef","drawWheelProps","QUANTITY","startAngle","contentRadius","optionSize","arc","endAngle","save","translate","contentRotationAngle","landscape","_imageHTML","restore","drawWheel","NonDraggableImage","RouletteContainer","RotationContainer","startRotationDegrees","classKey","startSpinningTime","disableInitialAnimation","continueSpinningTime","stopSpinningTime","finalRotationDegrees","RoulettePointerImage","Wheel","mustStartSpinning","onStopSpinning","spinDuration","startingOptionIndex","pointerProps","wheelData","setWheelData","setPrizeMap","setStartRotationDegrees","setFinalRotationDegrees","hasStartedSpinning","setHasStartedSpinning","hasStoppedSpinning","setHasStoppedSpinning","isCurrentlySpinning","setIsCurrentlySpinning","isDataUpdated","setIsDataUpdated","setRouletteUpdater","loadedImagesCounter","setLoadedImagesCounter","totalImages","setTotalImages","isFontLoaded","setIsFontLoaded","mustStopSpinning","charactersLength","charAt","makeClassKey","normalizedSpinDuration","totalSpinningTime","initialMapNum","auxPrizeMap","dataLength","wheelDataAux","fontsToFetch","fontArray","j","prevCounter","uri","sizeMultiplier","naturalWidth","naturalHeight","prevState","WebFont","families","timeout","fontactive","optionIndex","optionMap","idx","startingOption","setStartingOption","selectedPrize","finalRotationDegreesCalculated","visibility","Chances","Maps","PUBLIC_ROUTES","defaultView","albumPopup","AlbumQr","albumQrPopUp","Invite","TitleCheckpointQr","DescriptionCheckpointQr","ImgCheckpointQr","ContainerCheckpointQr","CheckpointOnBoarding","CheckpointPrize","checkpointId","Checkpoint","SumaSix","GOOGLE_SCRIPT_SRC","GoogleSDK","buttonGoogle","setButtonGoogle","access_token","scriptLoaded","setScriptLoaded","script","async","client","accounts","oauth2","initTokenClient","client_id","ux_mode","requestAccessToken","FacebookSDK","buttonFacebook","setButtonFacebook","AllowSocial","ViewStart","handleLoginExternal","handleSocial","ViewForm","Route","routes","stepper","macAddress","isStepper","updateQueryParam","param","newValue","urlObj","formElement","updatedActionForm","inputName","inputSuccess","isLegal","mustValidate","currentStatus","statusTime","getEventIdFromPath","isActiveEvent","mustSpin","setMustSpin","setPrizeNumber","setWheel","playWheel","profileWheelFortuneChances","stickerId","couponTypeId","getWheel","dataList","currenWheel","notPrizes","difficulty","useWheel","handleSpinClick","handleButtonsCongrats","textWin","textLose","isGetParams","setIsGetParams","toExternal","removeValue","getUrlUtm","urlBase","handleAuth","access","XEERPA_URL","redirectToXeerpa","Errors","Routes","setRedirect","clearRedirect","currentTimeout","setCurrentTimeout","clearTimeout","TitlePopUp","health","TextPopUp","LiStyle","PopUpContainer","LinkWeb","web","PopUpHealth","setIsOpen","handleOpen","disabledScroll","enabledScroll","webPage","Footer","APP_VERSION","scriptElement","defer","init","appId","cookie","xfbml","AppEvents","logPageView","ComingSoonContainer","comingSoonConfig","comingSoonBackground","ComingSoonImage","comingSoonImage","ComingSoonHtml","logout","ComingSonComponent","ComingSoon","comingSoon","App","useAgegateConfig","ScriptInjector","ONETRUST_KEY","Helmet","Theme","PersistUTM","isLocalhost","registerValidSW","swUrl","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","reportWebVitals","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","firebaseConfig","apiKey","FIREBASE_APIKEY","authDomain","FIREBASE_AUTHDOMAIN","projectId","FIREBASE_PROJECTID","storageBucket","FIREBASE_STORAGEBUCKET","messagingSenderId","FIREBASE_MESSAGINGSENDERID","FIREBASE_APPID","measurementId","FIREBASE_MEASUREMENTID","GtagWrapper","iframe","GTM_ID","noscript","innerHTML","insertBefore","childNodes","initializeApp","getElementsByTagName","require","WrappedApp","ready","postMessage","basename","ReactDOM","contentType","unregister","checkValidServiceWorker","serviceWorkerRegistration","TitleLogin","TitleRecovery","titleRecovery","TextRecovery","textRecovery","TextResend","textResend","setUrl","NotFound","RoutesWithNotFound","valid","minor","recheckValue","setAge","setShowAgegate","setIsMinor","setValues","parsedMonth","parsedDay","monthDays","newDate","isValidDate","parsedDate","DD_MM_YYYY","years","DATE","local","AGE_GATE_COOKIE","sessionStorage","AGE_GATE_FORMAT","SurveyService","getSurveys","answerSurvey","surveyId","selectedSurvey","setSelectedSurvey","setSurveyLoading","markAsAnswered","findNextSurvey","actionType","activationType","showAt","isAfter","returnData","autoRedirect","hasVisited","previousTime","getTime","ceil","fetchSurveys","PrizesCouponType","ExchangeContainerModal","exchange","ExchangeContainerTop","ExchangeContainerText","containerText","ExchangeTitle","ExchangeDescription","ExchangeImage","ExchangePointsContainer","pointsContainer","ExchangePointsText","ConfettiComponent","myConfetti","confetti","create","resize","useWorker","frame","particleCount","spread","requestAnimationFrame","pointerEvents","Scratch","finishPercent","onComplete","brushSize","fadeOutOnComplete","customBrush","customCheckZone","loaded","setLoaded","setFinished","isDrawing","lastPoint","brushImage","imageRef","isFinished","getMouse","getBoundingClientRect","scrollTop","pageYOffset","scrollLeft","pageXOffset","pageX","pageY","touches","clientX","clientY","handleMouseDown","handleMouseMove","point1","point2","currentPoint","distance","pow","angleBetween","globalCompositeOperation","filledInPixels","handlePercentage","stride","canvasWidth","canvasHeight","pixels","getFilledInPixels","handleMouseUp","brushImg","WebkitUserSelect","MozUserSelect","msUserSelect","userSelect","onMouseDown","onTouchStart","onMouseMove","onTouchMove","onMouseUp","onTouchEnd","ScratchView","variants","setVariants","ExchangeComponent","buttonTertiary","SCRATCH","POINTS_COUNT","hidden","loadHeaders","sessionId","myHeaders","Headers","createBaseObject","eventID","eventSourceUrl","contentName","METACAPI_PIXEL","createUserObject","methodName","mustUseService","makeCall","requestOptions","METACAPI_BASEURL","METACAPI_APITOKEN","debug","emitViewContent","baseObject","emitShare","emitB2C","DivTitleUpload","TitleUpload","ButtonUpload","ButtonTitleUpload","DescriptionContainerUpload","DescriptionTitleUpload","DescriptionTextUpload","ContainerImageUpload","InputLabelUpload","TitleDoneUpload","DescriptionDoneUpload","DescriptionText","inputAgegate","SpanPolitics","spanPolitics","ArrowWhite","languageES","form","firstname","birthdate","informationEmail","contact","stateNotFound","phoneTitle","emailTitle","emailTitle2","stateLabel","politics1","politics2","legalage","signin","description3","suscribe","allowcookies","checkbox","novedades","redeem","description2","button1","confirm","textTransform","lineHeight","textWarning","arrow","politic","prefpicker","late","exit","cancel","refferal","text1","text2","rules","505","10","50","1116","1114","tivias","challenge","play","notFound","button2Link","button2","howToParticipate","onBoarding","errorModalValidate","howToTakePhoto","isReady","alreadyUploaded","buttonBack","return","shared","buttonSubmit","endroute","br","street","newPasswordConfirm","wheelFortune","win","lose","events","onboarding","checkpoint","SectionCongrats","TitleCongrats","titleCongrats","TextCongrats","textCongrats","PointsCongrats","pointsCongrats","ButtonSecondary","TextButton3","textButton3","ERRORS","defaultMessage","errorMesg","TitleAge","SubTitleAge","TextTermsAge","TextPolitics","politics","whitelist","setShouldUseWhiteBg","setUseTexture","isInList","FormContainer","codeBg","codeBgVariations","textureName","useTextureTwo","useTextureThree","bgLoader","ButtonGo","codeButtonVariations","codeButton","codeButtonText","codeButtonRadius","btnStyle","StartImg","FormContainerInput","products","formContainerInput","RedeemTextFocus","redeemTextFocus","LoadingDiv","backgroundrepeat","backgroundposition","backgroundsize","loadingBg","useBackground","breakpoints","Spinner","spinnerWidth","TextLoading","textStyle","TitleError","TextError","LiError","IconError","DivTitleStart","DivCardStart","DescriptionCardStart","ImgCardStart","DivCardCarrouselStart","cardCarrousel","ImgCardCarrouselStart","DescriptionsCardCarrouselStart","ContinueCardStart","GenericError","safeError","safeDescription","Main","secondaryBackground","primaryBackground","main","useSecondTexture","Back","tertiaryBackground","BackRedeem","backJustify","imgContainer","ImgRedeemContainer","ButtonInit","buttonRest","ButtonInitAgegate","buttonAgegate","inputPrimary","ReturnText","returnText","InputVariant","inputVariant","InputST","InputBirthday","InputBirth","InputBirthdayLabel","inputBirthdayLabel","inputBirthday","TextSub","textSub","TrRank","backgroundColorVariant","borderColorVariant","textColorVariant","borderClass","DivAgegate","InputAgegate","SelectGender","inputSelect","DivCheckbox","inputCheckbox","DivRedeemBottomText","divBottomText","SpanCheckbox","SpanCheckboxActive","spanActive","PCheckbox","Checkbox","H1Steps","H1StepsActive","h1Active","SignInDiv","signIn","SignUpDiv","primary","TitleWaiterPage","waiterPage","secondary","tertiary","Label","ReferralLabel","ReferralInput","InputStyled","ContainerCenterInput","containerCenterInput","StepText","ProgressContainerSteps","ProgressSteps","LabelStreet","labelStreet","SubtitleStreet","subtitleStreet","ErrorInput","errorInput","SubtitleWaiterPage","ClientProvider","menuId","mandatory"],"mappings":"2GAAA,IAEMA,EAFN,OAEgBC,EAEDD,O,0ICJf,WAAyBE,GAAzB,SAAAC,EAAA,+EACS,IAAIC,SAAQ,SAACC,EAASC,GAC3B,IAAMC,EAAI,IAAIC,MACdD,EAAEE,YAAc,YAChBF,EAAEG,OAAS,WACTC,QAAQC,IAAR,wBAA6BV,IAC7BG,EAAQE,IAEVA,EAAEM,QAAU,SAACC,GACXH,QAAQI,MAAR,gCAAuCb,GAAOY,GAC9CR,EAAOQ,IAETP,EAAES,IAAMd,MAZZ,4C,sBAgBA,SAASe,EAAoBC,GAC3B,OAAO,IAAId,SAAQ,SAACC,EAASC,GAC3B,IAAMa,EAAS,IAAIC,WACnBD,EAAOE,UAAY,kBAAMhB,EAAQc,EAAOG,SACxCH,EAAON,QAAUP,EACjBa,EAAOI,cAAcL,MAIlB,SAAeM,EAAtB,kC,4CAAO,WAAqCtB,GAArC,iBAAAC,EAAA,+EAEoBsB,MAAMvB,GAF1B,cAEGwB,EAFH,gBAGgBA,EAASR,OAHzB,cAGGA,EAHH,gBAIUD,EAAoBC,GAJ9B,gFA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QrCowD,mBAGF,OAAO,cAAC5wD,EAAc98B,SAAf,CAAwBC,MAAOmD,EAA/B,SAAsCrF,M,gCCMxC,IAAK8I,EADZ,oE,SACYA,K,cAAAA,E,wBAAAA,E,kCAAAA,E,6CAAAA,M,KAOL,IAAM4W,EAAc,CACzB/Q,GAAI,EACJ9H,KAAM,OACN4Y,QAAQ,EACRhd,MAAO,oBACPmG,cAAc,EACdhB,WAAY,GACZiB,cAAe,QACfM,kBAAmB,KACnBC,MAAO,CACL,CACEuF,GAAI,GACJiyG,OAAQ,EACR/5G,KAAM,OACNpE,MAAO,SACP1E,IAAK,IACL0hB,QAAQ,EACRlW,MAAO,EACP1F,iBAAkB,WAClBg9G,WAAW,EACXr3G,iBAAkB,UAEpB,CACEmF,GAAI,GACJiyG,OAAQ,EACR/5G,KAAM,OACNpE,MAAO,0BACP1E,IAAK,QACL0hB,QAAQ,EACRlW,MAAO,GACP1F,iBAAkB,WAClBg9G,WAAW,EACXr3G,iBAAkB,SAEpB,CACEmF,GAAI,GACJiyG,OAAQ,EACR/5G,KAAM,MACNpE,MAAO,gCACP1E,IAAK,wBACL0hB,QAAQ,EACRlW,MAAO,GACP1F,iBAAkB,WAClBg9G,WAAW,EACXr3G,iBAAkB,SAEpB,CACEmF,GAAI,GACJiyG,OAAQ,EACR/5G,KAAM,UACNpE,MAAO,sBACP1E,IAAK,oBACL0hB,QAAQ,EACRlW,MAAO,GACP1F,iBAAkB,WAClBg9G,WAAW,EACXr3G,iBAAkB,a","file":"static/js/main.5396c6ca.chunk.js","sourcesContent":["import configs from 'build/configs/configs'\r\n\r\nconst CONFIGS = configs\r\n\r\nexport default CONFIGS;","async function loadImage(url: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n const i = new Image();\r\n i.crossOrigin = 'anonymous';\r\n i.onload = () => {\r\n console.log(`Image loaded: ${url}`);\r\n resolve(i);\r\n };\r\n i.onerror = (err) => {\r\n console.error(`Failed to load image: ${url}`, err);\r\n reject(err);\r\n };\r\n i.src = url;\r\n });\r\n}\r\n\r\nfunction convertBlobToBase64(blob: Blob): Promise {\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onloadend = () => resolve(reader.result as string);\r\n reader.onerror = reject;\r\n reader.readAsDataURL(blob);\r\n });\r\n}\r\n\r\nexport async function downloadImageAsBase64(url: string): Promise {\r\n try {\r\n const response = await fetch(url);\r\n const blob = await response.blob();\r\n return await convertBlobToBase64(blob);\r\n } catch (error) {\r\n throw new Error(`Error descargando la imagen: ${error}`);\r\n }\r\n}\r\n\r\nexport default loadImage","import axios, { AxiosRequestConfig } from 'axios'\r\nimport { createContext, useContext, useEffect, useState } from 'react'\r\nimport toast from 'react-hot-toast'\r\n\r\nexport interface OnlineContextProps {\r\n isOnline: boolean\r\n}\r\n\r\nconst OnlineContext = createContext({} as OnlineContextProps)\r\n\r\nconst OnlineProvider = ({ children }) => {\r\n const [isOnline, setIsOnline] = useState(navigator.onLine)\r\n\r\n const handleOnline = () => {\r\n setIsOnline(true)\r\n toast.dismiss()\r\n toast.success('¡Genial tiene conexión nuevamente!', { position: 'bottom-center' })\r\n }\r\n\r\n const handleOffline = () => {\r\n setIsOnline(false)\r\n toast.dismiss()\r\n toast.loading('¡Ups!... Estas sin conexión', { position: 'bottom-center' })\r\n }\r\n\r\n const checkLocalStorageUpdates = async () => {\r\n const offlineUpdater = localStorage.getItem('offline-updater');\r\n if (offlineUpdater) {\r\n const array: { id: string, config: AxiosRequestConfig }[] = JSON.parse(offlineUpdater);\r\n\r\n if (array && array?.length > 0) {\r\n await Promise.all(array.map(async ({ config }) => {\r\n return await axios(config)\r\n }))\r\n }\r\n\r\n localStorage.setItem('offline-updater', JSON.stringify([]));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n let intervalId: any = null;\r\n\r\n if (isOnline) {\r\n intervalId = setInterval(() => {\r\n checkLocalStorageUpdates();\r\n }, 60000);\r\n }\r\n\r\n return () => {\r\n if (intervalId) {\r\n clearInterval(intervalId);\r\n }\r\n }\r\n }, [isOnline])\r\n\r\n\r\n useEffect(() => {\r\n window.addEventListener('offline', handleOffline)\r\n window.addEventListener('online', handleOnline)\r\n\r\n return () => {\r\n window.removeEventListener('offline', handleOffline)\r\n window.removeEventListener('online', handleOnline)\r\n }\r\n }, [])\r\n\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const useOnline = () => {\r\n const { isOnline } = useContext(OnlineContext)\r\n return isOnline\r\n}\r\n\r\nexport default OnlineProvider","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\nimport { Title, SubTitle, Text } from '../../theme/theme';\r\n\r\nexport const TitleHeader = styled(Title)`\r\n ${({ theme }: Type) => theme?.header?.text?.title}\r\n`;\r\n\r\nexport const SubTitleHeader = styled(SubTitle)`\r\n ${({ theme }: Type) => theme?.header?.text?.subtitle}\r\n`;\r\n\r\nexport const TextHeader = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.text}\r\n`\r\n\r\nexport const TextLevel = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.level}\r\n`","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { ALBUM_GET } from 'constants/api'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport textServices from 'services/text-services'\r\nimport { useGeneralCfg } from 'contexts/general-context'\r\nimport { useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport axios from 'axios';\r\nimport { Album } from 'views/album/types'\r\nimport images from '../../images.json'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport {\r\n HeaderST,\r\n ButtonMenu,\r\n SpanMenu,\r\n Menu,\r\n Logo,\r\n Points,\r\n SpanMenuAlternative,\r\n PointTextStyle,\r\n ImgMenu\r\n} from '../../theme/header'\r\nimport { SubTitleHeader, TextHeader, TextLevel, TitleHeader } from './text.style'\r\nimport { singStamp, Item } from './types'\r\n\r\ninterface ILink {\r\n link: Item,\r\n onAfterAction: (text: string) => void;\r\n onLinkClick: (event: React.MouseEvent) => void;\r\n}\r\n\r\nconst LinkNormal = ({ link, onAfterAction, onLinkClick }: ILink) => {\r\n const [session] = useSession()\r\n\r\n const sumasixProvider = session.user?.profileLinkings?.some((profile) => profile.provider === \"SumaSix\");\r\n\r\n if (link?.title === 'Ver mi posición en el ranking' && !sumasixProvider) {\r\n return null\r\n }\r\n\r\n if (link?.title === 'Vincular cuenta con SumaSix' && sumasixProvider) {\r\n return null\r\n }\r\n\r\n return (\r\n \r\n {link?.menuItemLinkType?.toLowerCase() === \"blank\" ? (\r\n {\r\n onAfterAction(link?.title)\r\n }}\r\n >\r\n {link?.title}\r\n \r\n ) : (\r\n \r\n {link?.title}\r\n \r\n )}\r\n \r\n )\r\n}\r\n\r\nconst LinkLocked = ({ link }: { link: Item }) => {\r\n return (\r\n \r\n

\r\n {link.title}\r\n

\r\n
\r\n )\r\n}\r\n\r\nconst Header: VoidFunctionComponent = () => {\r\n const { getAgeData, saveAgeData } = useAgegate()\r\n const [session] = useSession()\r\n const [open, setOpen] = useState(false)\r\n const { location, history, pathname } = useRouter()\r\n const logged = !!session.data\r\n const [loading] = useState(false)\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n const { showAgegate, recheckAge } = useAgegate()\r\n const [popUp, setPopUp] = useState()\r\n\r\n // START - GET MENU FROM BACK\r\n const { menu, getMenu } = useGeneralCfg();\r\n\r\n useEffect(() => {\r\n getMenu();\r\n }, []);\r\n // END - GET MENU FROM BACK\r\n\r\n useEffect(() => {\r\n if (open) {\r\n document.body.style.overflow = 'hidden'\r\n document.documentElement.style.overflow = 'hidden'\r\n return\r\n }\r\n document.body.style.overflow = 'auto'\r\n document.documentElement.style.overflow = 'auto'\r\n }, [open])\r\n\r\n useEffect(() => {\r\n recheckAge()\r\n }, [pathname])\r\n\r\n const toggle = () => {\r\n setOpen((isOpen) => !isOpen)\r\n }\r\n\r\n const onAfterAction = (text: string) => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: text.toLowerCase(),\r\n section: 'menu'\r\n })\r\n }\r\n\r\n const onLinkClick = (event: any) => {\r\n event.preventDefault()\r\n const url = event.target.getAttribute('data-url')\r\n const text = event.target.innerText\r\n history.push(url)\r\n onAfterAction(text)\r\n setOpen(false)\r\n }\r\n\r\n const logout = () => {\r\n const currentAgeGate = getAgeData()\r\n window.localStorage.clear()\r\n saveAgeData(currentAgeGate)\r\n window.location.href = `${process.env.PUBLIC_URL}/start`\r\n }\r\n\r\n const headerClasses = `w-full flex font-bold header-app ${logged ? 'justify-between' : 'justify-center'} \r\n ${open ? 'fixed z-50' : logged && location.pathname === '/redeem' ? 'absolute z-30' : 'relative'}`\r\n\r\n const logoClasses = `w-20 px-3 logo ${logged ? 'ml-4' : ''}`.trim()\r\n const name = session.user?.firstName?.split(' ')[0]\r\n\r\n if (loading) {\r\n return \r\n }\r\n\r\n const [albums, setAlbums] = useState([])\r\n\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n try {\r\n const response = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session?.data as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n setAlbums(response.data);\r\n } catch (error) {\r\n console.error('Failed to fetch albums:', error);\r\n }\r\n };\r\n\r\n if (open) {\r\n fetchData();\r\n }\r\n }, [session, open]);\r\n\r\n const PointView = () => {\r\n const pointsText = menu?.pointsText || \"\";\r\n const parts = pointsText.split(\"{points}\");\r\n\r\n const formattedPointsText = (\r\n <>\r\n {parts[0]}\r\n \r\n {session.user?.totalPoints || 0}\r\n \r\n {parts[1]?.replace(\"{pointsName}\", POINTS_NAME)}\r\n \r\n );\r\n\r\n return (\r\n <>\r\n {textServices.findByText('header/points/br', '')}\r\n {formattedPointsText}\r\n \r\n );\r\n };\r\n\r\n const TitleComponent = ({ menu, name }) => {\r\n if (!menu || !menu.title) {\r\n return null;\r\n }\r\n\r\n const useName = menu?.title?.includes('{name}')\r\n\r\n if (!useName) {\r\n return

{menu?.title}

\r\n }\r\n\r\n const parts = menu.title.split('{name}');\r\n\r\n const formattedTitle = (\r\n <>\r\n {parts[0]}\r\n {textServices.findByText('header/name/br', '')}\r\n {name}\r\n {parts[1]}\r\n \r\n );\r\n\r\n return (\r\n

\r\n {formattedTitle}\r\n

\r\n );\r\n };\r\n\r\n return (\r\n \r\n \r\n {logged && (\r\n \r\n {shouldUseWhiteBg ? (\r\n <>\r\n \r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n )}\r\n {open && (\r\n \r\n
\r\n \r\n \r\n {/*

\r\n {menu?.title?.replace(\"{name}\", name)}\r\n

*/}\r\n {(menu?.pointsStatus && menu?.pointsText) ? (\r\n \r\n \r\n \r\n ) : (\r\n <>\r\n )}\r\n
\r\n {session?.user?.level && ((menu?.singStampEnum === singStamp.ShowLevels) || (menu?.singStampEnum === singStamp.ShowCustomImageLevel)) && (\r\n
\r\n
\r\n {session?.user?.level?.name}\r\n
\r\n {session?.user?.level?.name}\r\n
\r\n )}\r\n
\r\n {((menu?.singStampEnum === singStamp.ShowCustomImage) || menu?.singStampEnum === singStamp.ShowCustomImageLevel) && (\r\n \r\n )}\r\n
    \r\n {menu?.items?.sort((a, b) => a.order - b.order).map((link) => {\r\n if (link?.menuItemSizeType?.toLowerCase() === \"small\") {\r\n return (\r\n \r\n {\r\n link?.menuItemLinkType.toLowerCase() === \"blank\" ? (\r\n {\r\n onAfterAction(link?.title)\r\n }}\r\n >\r\n {link?.title}\r\n \r\n ) : (\r\n \r\n {link.title}\r\n \r\n )\r\n }\r\n \r\n )\r\n }\r\n\r\n if (link?.menuItemLinkType?.toLowerCase() === \"rally\") {\r\n const urlParts = link?.url?.split('/')?.filter(Boolean);\r\n const lastPart = urlParts[urlParts.length - 1];\r\n\r\n if (lastPart === \"upload\") {\r\n const [, , LinkRallyType] = urlParts;\r\n const rallyType = albums?.find(album => album?.rallyType === LinkRallyType && album?.statusId === 2);\r\n const isLocked = rallyType?.goalRule?.errors?.length > 0;\r\n\r\n if (isLocked) {\r\n return \r\n }\r\n }\r\n }\r\n\r\n return \r\n })}\r\n
  • \r\n \r\n
  • \r\n
\r\n \r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default Header\r\n","import { UserData } from 'contexts/session-context/session-reducer'\r\nimport dayjs from 'dayjs'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\n\r\ntype WindowWithDataLayer = Window & {\r\n dataLayer: Record[]\r\n}\r\n\r\nexport declare const window: WindowWithDataLayer\r\n\r\ntype EventNames =\r\n | 'user_interaction'\r\n | 'form_interaction'\r\n | 'login'\r\n | 'sign_up'\r\n | 'error'\r\n | 'view_promotion'\r\n | 'select_promotion'\r\n | 'form_send'\r\n | 'authentication'\r\n\r\nfunction getAge(birthDate: any) {\r\n const nan = isNaN(birthDate)\r\n if (nan) return undefined\r\n const today = dayjs()\r\n const age = today.diff(birthDate, 'year')\r\n return age\r\n}\r\n\r\nexport const createUserProperties = (user: UserData, loginType: string | null) => {\r\n const { birthday, address, hashId } = user\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n const birthDate = dayjs(birthday)\r\n const existEventAuth = window.dataLayer?.find((f: any) => { return f?.event === 'authentication' });\r\n \r\n const userProperties = {\r\n event: 'authentication',\r\n userData: {\r\n userId: hashId ?? undefined,\r\n userInfo: {\r\n age: getAge(birthDate) ?? undefined,\r\n birthYear: isNaN(birthDate?.year()) ? undefined : birthDate?.year() ?? undefined,\r\n country: address?.country ?? undefined\r\n },\r\n profile: {\r\n loginType: loginType ?? data?.data?.providerId?.split('.')[0] ?? 'email',\r\n platform: 'web'\r\n }\r\n }\r\n }\r\n \r\n const evPageView = {\r\n event : \"evPageView\",\r\n pageInfo : {\r\n currentURL: window.location.href,\r\n hostName: window.location.hostname,\r\n pageName: window.location.pathname\r\n }\r\n }\r\n\r\n window.dataLayer = window.dataLayer || []\r\n\r\n if (!existEventAuth) {\r\n window.dataLayer.push(userProperties)\r\n window.dataLayer.push(evPageView)\r\n MetaCAPIService.emitPageView(window.location.href, MetaCAPIService.uuidv4())\r\n }\r\n}\r\n\r\nexport const dlTrackEvent = (eventName: EventNames, eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: eventName,\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dlSetUserInfo = (userId: string | number) => {\r\n window.dataLayer.push({\r\n user: {\r\n profile: {\r\n profileInfo: {\r\n userId: userId\r\n }\r\n }\r\n }\r\n })\r\n}\r\n\r\nexport const dlTrackError = (eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: 'error',\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dataLayer = (objAnalitcs: any) => {\r\n window.dataLayer.push(objAnalitcs)\r\n}\r\n","/* eslint-disable */\r\nimport { useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\n\r\nconst useQuery = () => {\r\n return new URLSearchParams(useLocation().search);\r\n};\r\n\r\nexport const useUTMParams = () => {\r\n const [utmParams, setUtmParams] = useState<{\r\n utm_source: string;\r\n utm_medium: string;\r\n utm_campaign: string;\r\n utm_term: string;\r\n utm_content: string;\r\n utm_id: string;\r\n qr: string;\r\n referralCode: string;\r\n }>()\r\n \r\n const query = useQuery();\r\n\r\n useEffect(() => {\r\n setUtmParams(\r\n {\r\n utm_source: query.get('utm_source'),\r\n utm_medium: query.get('utm_medium'),\r\n utm_campaign: query.get('utm_campaign'),\r\n utm_term: query.get('utm_term'),\r\n utm_content: query.get('utm_content'),\r\n utm_id: query.get('utm_id'),\r\n qr: query.get('qr'),\r\n referralCode: query.get('referralCode')\r\n }\r\n )\r\n },[])\r\n\r\n return utmParams;\r\n};","const levels = [\r\n // {\r\n // level: 0,\r\n // name: \"CHELADA\",\r\n // moves: 13,\r\n // popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n // popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n // ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n // ingameBg: `playable__lvl__one`,\r\n // ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n // special: `lata_chelada`,\r\n // items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n // flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n // mixAchieved: [\r\n // `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`\r\n // ],\r\n // combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n // },\r\n {\r\n level: 1,\r\n name: \"CHELADA\",\r\n moves: 20,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n ingameBg: `playable__lvl__one`,\r\n ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n special: `lata_chelada`,\r\n items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 2,\r\n name: \"MANGOYADA\",\r\n moves: 15,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel2_mangoyada-mezcla.webp`,\r\n ingameBg: `playable__lvl__two`,\r\n ingameMixItems: ['mango', 'chamoy', 'sol'],\r\n special: `lata_mangoyada`,\r\n items: [\"sol\", \"chamoy\", \"mango\", \"palmeras\", \"boletos\", \"tomate_chico\", \"limon_gajo\", \"camara_foto\"],\r\n flag: `${AZURE_BASE_URL}/nivel2_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 3,\r\n name: \"CLAMATO\",\r\n moves: 10,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel3_clamato-mezcla.webp`,\r\n ingameBg: `playable__lvl__three`,\r\n ingameMixItems: ['tomate_grande', 'almeja', 'sol'],\r\n special: `lata_clamato`,\r\n items: [\"sol\", \"almeja\", \"tomate_grande\", \"balde_arena\", \"lima_gajo\", \"mango_gajo\", \"ojotas\", \"lima_rodaja\"],\r\n flag: `${AZURE_BASE_URL}/nievl3_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl3_logro-insignia.webp`,\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-clamato.gif`\r\n },\r\n];\r\n\r\nexport {\r\n levels\r\n}","import { GET_PHOTOGRAPHER_ACTIVE, POST_PHOTOGRAPHER, GET_PHOTOGRAPHER_WINNERS, POST_PHOTOGRAPHER_URL, POST_PHOTOGRAPHER_WITH_TEXT, ALBUM_VALIDATE_TEXT } from 'constants/api'\r\nimport axios from 'axios'\r\n\r\nexport const PhotographerServices = {\r\n upload(id: number | string, data: FormData, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadImageUrl(id: number | string, data: any, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER_URL.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(POST_PHOTOGRAPHER_WITH_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n validateWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(ALBUM_VALIDATE_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n get(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_ACTIVE, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n winners(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_WINNERS, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n }\r\n}\r\n","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\n\r\n// MAIN PAGE\r\nexport const ContainerTitlePage = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTitle?.containerMain}\r\n`\r\n\r\nexport const ContainerTitlePageText = styled.h1`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTitle?.title}\r\n`\r\n\r\nexport const NotFoundText = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.notFoundText}\r\n`\r\n\r\n// LIST COMPONENT\r\nexport const ContainerMain = styled.section`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerMain}\r\n`\r\n\r\nexport const ContainerTop = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.containerMain}\r\n`\r\n\r\nexport const ContainerTitle = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.containerTitle}\r\n`\r\n\r\nexport const ContainerTitleText = styled.h2`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.title}\r\n`\r\n\r\nexport const ContainerSeparator = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.containerSeparator}\r\n`\r\n\r\nexport const ContainerSubtitle = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.containerSubtitle}\r\n`\r\n\r\nexport const ContainerSubtitleText = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerTop?.subtitle}\r\n`\r\n\r\nexport const ContainerCenter = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerCenter?.containerMain}\r\n`\r\n\r\nexport const CenterTextParticipate = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerCenter?.title}\r\n`\r\n\r\nexport const CenterTextName = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerCenter?.memoramaName}\r\n`\r\n\r\nexport const CenterStock = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerCenter?.centerStock}\r\n`\r\n\r\nexport const ContainerBottom = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerBottom?.containerMain}\r\n` \r\n\r\nexport const BottomStart = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerBottom?.countdownText}\r\n`\r\n\r\nexport const BottomStartLeft = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerBottom?.prize}\r\n`\r\n\r\nexport const BottomStartLeftPoints = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerBottom?.points}\r\n`\r\n\r\nexport const BottomStartHours = styled.span`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerBottom?.countdownTextSpan}\r\n`\r\n\r\n// MODAL COMPONENT START\r\n\r\nexport const ContainerModal = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerModal?.containerMain}\r\n`\r\n\r\nexport const TitleName = styled.div`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerModal?.titleName}\r\n`\r\n\r\nexport const BackButton = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerModal?.backButton}\r\n`\r\n\r\nexport const GenericText = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.containerModal?.genericText}\r\n`\r\n\r\n// MODAL COMPONENT PLAY\r\n\r\nexport const ModalPlayTitle = styled.h1`\r\n ${({ theme }: Type) => theme?.memorama?.list?.modalPlay?.title}\r\n`\r\n\r\nexport const ModalPlaySubtitle = styled.h3`\r\n ${({ theme }: Type) => theme?.memorama?.list?.modalPlay?.subtitle}\r\n`\r\n\r\nexport const ModalPlayDescription = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.modalPlay?.description}\r\n`\r\n\r\nexport const ModalPlayWarning = styled.p`\r\n ${({ theme }: Type) => theme?.memorama?.list?.modalPlay?.warning}\r\n`\r\n\r\n","import dayjs from 'dayjs'\r\nimport textServices from 'services/text-services'\r\n\r\nexport const calendar = {\r\n day: textServices.findByText('agegate/day', { es: 'DIA', en: 'DAY' }),\r\n month: textServices.findByText('agegate/month', { es: 'MES', en: 'MONTH' }),\r\n year: textServices.findByText('agegate/year', { es: 'AÑO', en: 'YEAR' })\r\n}\r\n\r\nexport function calculateAge(birthday: Date) {\r\n const age = dayjs().diff(birthday, 'year', true)\r\n\r\n return Math.floor(age)\r\n}","import { GET_EVENTS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { useSession } from 'contexts/session-context'\r\nimport eventsReducer, { EventsAction, EventsState, IEvent, IEventPlaces } from './reducer'\r\n\r\nexport interface EventsContextProps {\r\n state: EventsState\r\n loading: boolean\r\n dispatch: Dispatch\r\n}\r\n\r\nconst EventsContext = createContext({} as EventsContextProps)\r\n\r\nexport const EventsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(eventsReducer, {})\r\n const [{ data: session }] = useSession()\r\n const [{ data, loading }] = useAxios(\r\n {\r\n url: GET_EVENTS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { useCache: false }\r\n )\r\n\r\n useEffect(() => {\r\n if (data) {\r\n dispatch({ type: 'SET_EVENT', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useEvents = () => {\r\n const { state, loading, dispatch } = useContext(EventsContext)\r\n\r\n const setPlaces = (places: IEventPlaces[]) => dispatch({ payload: places, type: 'SET_EVENT_PLACES' })\r\n\r\n const actions = { setPlaces }\r\n\r\n const returnValue: [typeof state, typeof actions, typeof loading] = [state, actions, loading]\r\n return returnValue\r\n}","import { createContext, lazy, Suspense, useContext } from \"react\";\r\nimport { Redirect, Route } from \"react-router-dom\";\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\";\r\nimport LoadingScreen from \"components/loading-screen\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { ILineup } from \"./types\";\r\nimport { useLineups } from \"./hooks/useLineups\";\r\n\r\nconst Start = lazy(() => import('./views/Start'))\r\nconst Create = lazy(() => import('./views/Create'))\r\nconst Edit = lazy(() => import('./views/Edit'))\r\nconst Details = lazy(() => import('./views/Details'))\r\n\r\nexport interface LineupContextProps {\r\n lineups: ILineup[]\r\n eventId: number\r\n lineupId: number\r\n}\r\n\r\nconst LineupContext = createContext({} as LineupContextProps)\r\n\r\nexport const useLineupContext = () => {\r\n const state = useContext(LineupContext)\r\n return state\r\n}\r\n\r\nexport default function Lineup() {\r\n const { data, eventId, lineupId } = useLineups()\r\n useMainClass('lineup')\r\n\r\n if (data?.length === 0) return \r\n\r\n return (\r\n \r\n Cargando}>\r\n \r\n } exact />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}","// import { encryptAES } from './encrypt';\r\n\r\nasync function dynamicManifest(id: number) {\r\n if (id) {\r\n // const data = await encryptAES(JSON.stringify(id), SECRET_PASS)\r\n const manifest = {\r\n \"short_name\": `${PWA_TITLE ?? TITLE_NAME}`,\r\n \"name\": `${PWA_TITLE ?? TITLE_NAME}`,\r\n \"icons\": [\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x48.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"48x48\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x72.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"72x72\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x96.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"96x96\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x128.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"128x128\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x192.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"192x192\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x384.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"384x384\"\r\n },\r\n {\r\n \"src\": `${AZURE_BASE_URL}/pwa/maskable_icon_x512.png`,\r\n \"type\": \"image/png\",\r\n \"sizes\": \"512x512\"\r\n }\r\n ],\r\n \"version\": \"2024.03.01\",\r\n // \"start_url\": `${window?.location?.origin}${process.env.PUBLIC_URL}/identification?id=${data}&`,\r\n \"start_url\": `${window?.location?.origin}${process.env.PUBLIC_URL}/start`,\r\n \"display\": \"standalone\",\r\n \"theme_color\": \"#000000\",\r\n \"background_color\": \"#ffffff\",\r\n }; \r\n const stringManifest = JSON.stringify(manifest);\r\n const blob = new Blob([stringManifest], { type: 'application/json' });\r\n const manifestUrl = URL.createObjectURL(blob);\r\n document.querySelector('#dynamic-manifest').setAttribute('href', manifestUrl);\r\n }\r\n}\r\n\r\nexport default dynamicManifest","import { AuthError, UserCredential } from '@firebase/auth'\r\nimport { dlSetUserInfo, createUserProperties} from 'components/dataLayer/dataLayer'\r\n\r\nexport type SessionActionType = 'error' | 'success' | 'user' | 'points' | 'restore' | 'set_survey' | 'refetch' | 'totalpoints'\r\n\r\nexport interface ConsumptionCenter {\r\n name: string\r\n address: string | null\r\n city: string\r\n state: string\r\n internalId: string\r\n}\r\nexport interface UserData {\r\n state: any\r\n contactEmail?: string\r\n totalPoints: string\r\n id: number\r\n chances: number\r\n referralCode: string\r\n firstName: string\r\n lastName: string\r\n nickName: string\r\n phoneNumber: any\r\n shippingDetails: any\r\n email: string\r\n birthday: string\r\n address?: Address\r\n city: any\r\n genreId?: number\r\n genre?: string\r\n postalCode: any\r\n addressCount: number\r\n interests: { id: number; name: string }[]\r\n instagram?: string\r\n level?: {\r\n id: number\r\n name: string\r\n imageUrl: string\r\n },\r\n consumptionCenter?: ConsumptionCenter\r\n hashId?: string\r\n provider: string\r\n profileLinkings?: {\r\n profileId: number\r\n provider: string\r\n socialId: string\r\n }[]\r\n}\r\n\r\nexport interface Address {\r\n neighborhood: string\r\n postalCode: string\r\n city: string\r\n state: string\r\n country: string\r\n street1: string\r\n street2: any\r\n streetNumber: string\r\n apartament: any\r\n shippingDetails: string\r\n phone: string\r\n lastName: string\r\n firstName: string\r\n curp: string\r\n}\r\n\r\nexport interface SessionState {\r\n error?: AuthError\r\n data?: UserCredential\r\n user?: UserData\r\n}\r\n\r\nexport interface SessionAction {\r\n type: SessionActionType\r\n payload: AuthError | UserCredential | UserData | number | SessionState | []\r\n}\r\n\r\nfunction sessionReducer(state: SessionState, action: SessionAction): SessionState {\r\n switch (action.type) {\r\n case 'error':\r\n return { ...state, error: action.payload as AuthError }\r\n case 'restore':\r\n return { ...state, ...action.payload as { user: UserData, data: UserCredential, error: AuthError } } as any\r\n case 'success':\r\n return { ...state, data: action.payload as UserCredential }\r\n case 'user':\r\n dlSetUserInfo((action.payload as UserData)?.hashId)\r\n createUserProperties((action.payload as UserData), null)\r\n return { ...state, user: action.payload as any }\r\n case 'points':\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n totalPoints: (parseInt(state.user?.totalPoints || '0', 10) + (action.payload as number)).toString() as any\r\n } as any\r\n }\r\n case 'totalpoints':\r\n return {\r\n ...state,\r\n user: {\r\n ...state.user,\r\n totalPoints: (action.payload as number) as any\r\n } as any\r\n } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default sessionReducer\r\n","import { AuthError, UserCredential } from '@firebase/auth'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport dynamicManifest from 'utilities/dynamic-manifest'\r\nimport { createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport sessionReducer, { SessionAction, SessionState, UserData } from './session-reducer'\r\n\r\nexport interface UserContextProps {\r\n state: SessionState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst SessionContext = createContext({} as UserContextProps)\r\n\r\nexport const validateExpirationToken = () => {\r\n const ls = localStorage.getItem('state')\r\n let data = ls ? JSON.parse(ls) : {}\r\n if (data.data?.user?.stsTokenManager) {\r\n const expirationDate = data.data?.user?.stsTokenManager.expirationTime\r\n const isOutdated = Date.now() > expirationDate\r\n\r\n if (isOutdated) data = {};\r\n }\r\n return data;\r\n}\r\n\r\nexport const SessionProvider: FunctionComponent = ({ children }) => {\r\n const data = validateExpirationToken();\r\n const [state, dispatch] = useReducer(sessionReducer, data)\r\n\r\n return {children}\r\n}\r\n\r\nexport const goToLogin = () => {\r\n window.localStorage.removeItem('state')\r\n window.location.reload()\r\n}\r\n\r\nexport const useSession = () => {\r\n const { state, dispatch } = useContext(SessionContext)\r\n useEffect(() => {\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n\r\n if (!Object.keys(data)) {\r\n goToLogin()\r\n return\r\n }\r\n\r\n if (data.data?.user?.stsTokenManager) {\r\n const expirationDate = data.data?.user?.stsTokenManager.expirationTime\r\n const isOutdated = Date.now() > expirationDate\r\n\r\n if (isOutdated) {\r\n goToLogin()\r\n return\r\n }\r\n }\r\n dispatch({ type: 'restore', payload: data })\r\n }, [dispatch])\r\n\r\n useEffect(() => {\r\n if (Object.keys(state).length) {\r\n localStorage.setItem('state', JSON.stringify({ user: state?.user, data: state?.data }))\r\n dynamicManifest(state?.user?.id)\r\n }\r\n }, [state])\r\n\r\n useEffect(() => {\r\n if (state?.user?.hashId) {\r\n createUserProperties(state?.user, state?.data?.providerId)\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n\r\n if (data?.user?.hashId) {\r\n createUserProperties(data?.user, data?.data?.providerId)\r\n }\r\n }, [])\r\n\r\n const setError = (error: AuthError) => dispatch({ type: 'error', payload: error })\r\n const setSession = (session: UserCredential) => dispatch({ type: 'success', payload: session })\r\n const setUser = (user: UserData) => dispatch({ type: 'user', payload: user })\r\n const setPoints = (points: number) => dispatch({ type: 'points', payload: points })\r\n const setTotalPoints = (points: number) => dispatch({ type: 'totalpoints', payload: points })\r\n const actions = { setError, setSession, setUser, setPoints, setTotalPoints }\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n\r\n return returnValue\r\n}\r\n","/* eslint-disable no-case-declarations */\r\nimport { Social } from \"./types\"\r\n\r\nexport type SocialActionType = 'SET_PHOTOS' | 'SET_WINNERS' | 'SET_ERROR' | 'SET_CURRENT' | 'SET_PHOTO'\r\n\r\nexport interface SocialState {\r\n current?: Social[]\r\n error?: number\r\n}\r\n\r\nexport interface SocialAction {\r\n type: SocialActionType\r\n payload: SocialState | Social | number\r\n}\r\n\r\nfunction socialReducer(state: SocialState, action: SocialAction): SocialState {\r\n switch (action.type) {\r\n case 'SET_CURRENT':\r\n return { ...state, current: action.payload as Social[] }\r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default socialReducer","import { createContext, Dispatch, FunctionComponent, useContext, useReducer } from 'react'\r\nimport socialReducer, { SocialAction, SocialState } from './social-reducer'\r\nimport { Social } from './types'\r\n\r\nexport interface SocialContextProps {\r\n state: SocialState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst SocialContext = createContext({} as SocialContextProps)\r\n\r\nexport const SocialProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(socialReducer, {})\r\n\r\n return {children}\r\n}\r\n\r\nexport const useSocial = () => {\r\n const { state, dispatch } = useContext(SocialContext)\r\n\r\n\r\n const setCurrent = (current: Social) => dispatch({ type: 'SET_CURRENT', payload: current })\r\n\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error });\r\n }\r\n\r\n const actions = { setError, setCurrent }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","import { SVGProps } from 'react'\r\n\r\nfunction Check(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Check","import { IConfigModule } from 'build/types/configs'\r\n\r\nconst config: IConfigModule = {\r\n version: '2.0.0',\r\n usePoints: true,\r\n filterPrizes: true,\r\n buttonsStart: ['signUp', 'google', 'facebook', 'signIn'],\r\n positiveLogoUrls: [],\r\n useSecondBackground: [\r\n '/terms-and-conditions',\r\n '/privacy-politics',\r\n '/profile',\r\n '/help',\r\n '/trivias',\r\n '/ranking/suscribe',\r\n '/ranking/suscribe/confirm',\r\n '/prizes',\r\n '/prizes/exchange',\r\n '/raffles/prizes',\r\n '/trivia/:id',\r\n '/trivia/',\r\n '/prizes/error',\r\n '/error/:errorid',\r\n '/auctions',\r\n '/referrals',\r\n '/raffles/error',\r\n '/home',\r\n '/memorama/list',\r\n '/memorama/win',\r\n '/memorama/game',\r\n '/album/start',\r\n '/album',\r\n '/signup',\r\n '/login',\r\n '/information/update',\r\n '/phone/update',\r\n '/phone',\r\n '/password-reset',\r\n '/mail/update',\r\n '/mail',\r\n '/address/update',\r\n '/address',\r\n '/update'\r\n ],\r\n imageStart: 'imageAndText',\r\n welcome: 'ImgAndText',\r\n legalAgeDate: true,\r\n routesLinks: [\r\n {\r\n path: '/memorama/list',\r\n text: 'Memorama'\r\n },\r\n {\r\n path: '/trivias',\r\n text: 'Trivias'\r\n },\r\n {\r\n path: '/redeem',\r\n text: 'Cargar códigos'\r\n },\r\n {\r\n path: '/profile',\r\n text: 'Mi información',\r\n small: true\r\n },\r\n {\r\n path: '/help',\r\n text: '¿Tienes alguna duda?',\r\n small: true\r\n },\r\n {\r\n path: '/terms-and-conditions',\r\n text: 'Ver términos y condiciones',\r\n small: true\r\n },\r\n {\r\n path: '/privacy-politics',\r\n text: 'Ver políticas de privacidad',\r\n small: true\r\n }\r\n ],\r\n routesHome: ['ProfileID'],\r\n routesProfile: ['information', 'address', 'phone', 'history', 'identificacion', 'movements'],\r\n privacyPolitics: 'MX',\r\n cookies: 'MX',\r\n notAvailableFields: ['instagram', 'consumptionCenter', 'nickName', 'sign'],\r\n trivia: {\r\n showIntroduction: false,\r\n interestsRequired: true\r\n },\r\n notShowFields: ['instagram'],\r\n modalBackgroundTrivias: false,\r\n error: {\r\n dontUseSecondBg: true\r\n },\r\n showPointsId: true,\r\n showModalMemorama: true,\r\n memorama: {\r\n dontShouldUseWhiteBg: true\r\n },\r\n album: {\r\n Consumo: {\r\n list: {\r\n urlRedirectAlbumComplete: '/album/start',\r\n urlRedirectAlbumProgress: '/album/:id/upload'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n isTakeFoto: true,\r\n useLoaderValidate: true,\r\n useCongrats: true,\r\n useCongratsDirect: true,\r\n howTakePhoto: true\r\n }\r\n },\r\n Card: {\r\n list: {\r\n handleClick: true,\r\n urlRedirectAlbumProgress: '/album/:id/ranking'\r\n },\r\n ranking: {\r\n titleUpload: true,\r\n viewMore: false,\r\n showSocial: 'like'\r\n },\r\n imageId: {\r\n showSocial: 'like'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n useLoaderValidate: true\r\n },\r\n congrats: {\r\n showButton3: true\r\n },\r\n profile: {\r\n showSocial: 'share',\r\n profileMultimediaOutputShare: 'base64'\r\n }\r\n },\r\n Ticket: {\r\n list: {\r\n urlRedirectAlbumComplete: '/album/start',\r\n urlRedirectAlbumProgress: '/album/:id/upload'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n isTakeFoto: true,\r\n useLoaderValidate: true,\r\n useCongrats: true,\r\n useCongratsDirect: true,\r\n howTakePhoto: true\r\n }\r\n }\r\n },\r\n captureBtnBgTransparent: true,\r\n useSecondTextureUrl: ['', 'start', 'trivia', 'agegate', 'redeem'],\r\n stepsNewVersion: true,\r\n prizes: {\r\n description: true,\r\n dontShowButtonCongrats: true\r\n },\r\n useImgInHome: false,\r\n addressUpdateBg: true,\r\n dontUseTexture: ['prizes', 'trivias', 'trivia', 'referrals', 'profile', 'help'],\r\n profile: {\r\n notShowButtonInformation: true,\r\n showButtonPoints: true\r\n },\r\n allowReferral: true,\r\n usePointsHome: true,\r\n wheel: {\r\n backgroundColors: ['white', '#CE8B14'],\r\n textColors: ['#CE8B14', '#FFF'],\r\n outerBorderColor: 'transparent',\r\n outerBorderWidth: 0,\r\n innerBorderColor: '#EB2517',\r\n innerBorderWidth: 60,\r\n innerRadius: 0,\r\n radiusLineColor: 'transparent',\r\n radiusLineWidth: 0,\r\n fontFamily: 'Nunito',\r\n fontWeight: 'bold',\r\n fontSize: 20,\r\n fontStyle: 'normal',\r\n textDistance: 60,\r\n perpendicularText: true\r\n },\r\n changeIdQr: false,\r\n tracking: false\r\n}\r\n\r\nexport default config\r\n","import { FunctionComponent, HTMLProps } from 'react'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport { ButtonInit } from '../../theme/theme'\r\n\r\nconst Button: FunctionComponent> = ({ className, disabled, ...props }: { className: string, disabled: boolean }) => {\r\n\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n\r\n const componentClass = `${className} p-4 min-h-2 w-full mx-auto rounded-none din font-bold uppercase ${disabled && 'border-2'} button-generic`.trim()\r\n\r\n return \r\n}\r\n\r\nexport default Button\r\n","import { useSession } from 'contexts/session-context'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport { createContext, useEffect, useState } from 'react'\r\nimport { Main } from 'theme/theme'\r\nimport ProfileService from 'services/profile-services'\r\nexport interface MainContextProps {\r\n classMain: string[]\r\n setClassMain: React.Dispatch>\r\n}\r\n\r\nconst MainContext = createContext({} as MainContextProps)\r\n\r\nconst MainProvider = ({ children }) => {\r\n const [classMain, setClassMain] = useState([])\r\n const [intervalId, setIntervalId] = useState()\r\n const { shouldUseWhiteBg, useTexture } = useWhiteBg()\r\n const [{ data: session }, { setTotalPoints }] = useSession();\r\n\r\n\r\n useEffect(() => {\r\n\r\n const getTotalPoints = async () => {\r\n // eslint-disable-next-line no-undef\r\n const response = await ProfileService.getMovements({ session });\r\n setTotalPoints(response?.data?.totalPoints)\r\n }\r\n\r\n clearInterval(intervalId);\r\n\r\n // Create an interval that increments the count every 1000ms (1 second)\r\n const interval = setInterval(() => {\r\n if (session) {\r\n getTotalPoints();\r\n }\r\n }, 75000);\r\n\r\n setIntervalId(interval);\r\n\r\n // Clean up the interval when the component unmounts\r\n return () => clearInterval(intervalId);\r\n\r\n }, [session])\r\n\r\n\r\n const data = { classMain, setClassMain }\r\n\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n )\r\n}\r\n\r\nexport { MainProvider, MainContext }","import styled from 'styled-components';\r\nimport { Type } from '../types'\r\n\r\nexport const SectionError = styled.section`\r\n color: ${(props: Type) => props.theme?.error?.textColor};\r\n`\r\n","import ButtonCloseMenu from 'components/button-close'\r\n\r\nfunction PopUp({ children, handleMenu = () => null }: { children: JSX.Element | JSX.Element[], handleMenu: () => void }) {\r\n return (\r\n
\r\n \r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport default PopUp","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container-grid\":\"styles_container-grid__3sBiH\",\"container-height\":\"styles_container-height__2XQ3r\",\"continue\":\"styles_continue__2_9rs\"};","import { AxiosError } from \"axios\"\r\nimport { Survey, SurveyAction, SurveyState, SurveyActionEnum, Prize, DemandSpace, SurveyInfo } from \"./survey.interface\"\r\n\r\nfunction surveyReducer(state: SurveyState, action: SurveyAction): SurveyState {\r\n switch (action.type) {\r\n case SurveyActionEnum.SET_SURVEYS:\r\n return { ...state, surveys: action.payload as Survey[] }\r\n case SurveyActionEnum.SET_SURVEY:\r\n return { ...state, survey: action.payload as Survey }\r\n case SurveyActionEnum.SET_ERROR:\r\n return { ...state, error: action.payload as AxiosError }\r\n case SurveyActionEnum.SET_PRIZE:\r\n return { ...state, prize: action.payload as Prize }\r\n case SurveyActionEnum.SET_DEMAND_SPACE:\r\n return { ...state, demandSpace: action.payload as DemandSpace }\r\n case SurveyActionEnum.SET_INFO_SURVEY:\r\n return { ...state, surveyInfo: action.payload as SurveyInfo }\r\n case SurveyActionEnum.RESET:\r\n return { ...state, demandSpace: null, prize: null, error: null, survey: null, surveys: null} \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default surveyReducer","import { FunctionComponent, createContext, useReducer } from 'react';\r\nimport { SurveyContextProps } from './survey.interface';\r\nimport surveyReducer from './survey.reducer';\r\n\r\nexport const SurveyContext = createContext({} as SurveyContextProps)\r\n\r\nexport const SurveyProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(surveyReducer, {})\r\n\r\n return {children}\r\n}\r\n","import { IMenu } from 'components/header/types';\r\n\r\nexport enum GeneralActionsType {\r\n SET_MENU = 'SET_MENU',\r\n}\r\n\r\ninterface SetMenuAction {\r\n type: GeneralActionsType.SET_MENU;\r\n payload: IMenu | null;\r\n}\r\n\r\nexport type GeneralActions = SetMenuAction;\r\n\r\nexport interface GeneralState {\r\n menu: IMenu | null;\r\n}\r\n\r\nexport const initialState: GeneralState = {\r\n menu: null,\r\n};\r\n\r\nexport const generalReducer = (state: GeneralState, action: GeneralActions): GeneralState => {\r\n switch (action.type) {\r\n case GeneralActionsType.SET_MENU:\r\n return {\r\n ...state,\r\n menu: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { GET_MENU } from 'constants/api';\r\nimport { createContext, Dispatch, ReactNode, useReducer, useContext, useCallback } from 'react';\r\nimport axios from 'axios';\r\nimport { IMenu, menuOffline } from 'components/header/types';\r\nimport { useSession } from '../session-context';\r\nimport { GeneralState, GeneralActions, generalReducer, initialState, GeneralActionsType } from './general-reducer';\r\n\r\nexport interface GeneralContextProps {\r\n state: GeneralState;\r\n dispatch: Dispatch;\r\n}\r\n\r\nexport const GeneralContext = createContext({} as GeneralContextProps);\r\n\r\ninterface GeneralProviderProps {\r\n children: ReactNode;\r\n}\r\n\r\nexport const GeneralProvider = ({ children }: GeneralProviderProps) => {\r\n const [state, dispatch] = useReducer(generalReducer, initialState);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const useGeneralCfg = () => {\r\n const { state, dispatch } = useContext(GeneralContext);\r\n const [{ data: session }] = useSession();\r\n\r\n const getMenu = useCallback(async () => {\r\n try {\r\n const response = await axios(GET_MENU, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1,\r\n },\r\n });\r\n\r\n if (response.status === 204) {\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: menuOffline\r\n });\r\n }\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: response.data,\r\n });\r\n return response.data;\r\n }\r\n\r\n return response.data;\r\n } catch (error) {\r\n console.error(error);\r\n dispatch({\r\n type: GeneralActionsType.SET_MENU,\r\n payload: menuOffline\r\n });\r\n }\r\n }, [dispatch, session]);\r\n\r\n return {\r\n menu: state.menu,\r\n setMenu: (menu: IMenu | null) => dispatch({ type: GeneralActionsType.SET_MENU, payload: menu }),\r\n getMenu,\r\n };\r\n};\r\n\r\n\r\n","export const CODE_API_BASE = `${API_BASE_CHECKOUT_CODE_UPDATE}`\r\nexport const USER_UPDATE_API_BASE = `${API_BASE_USER_UPDATE}`\r\nexport const GET_USER_BASE = `${API_BASE_USER_GET}`\r\nexport const CODE_EXCHANGE = `https://${CODE_API_BASE}/promohub/api/v1/codes/exchange`\r\nexport const PRIZES_EXCHANGE = `https://${CODE_API_BASE}/promohub/api/v1/prizes/exchange`\r\n\r\n// -- PROFILE --\r\nexport const AUTH = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/login`\r\nexport const VERIFY = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/email`\r\nexport const SEND_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/passwordreset`\r\nexport const VERIFY_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/passwordreset`\r\nexport const DO_RESET = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/passwordreset`\r\nexport const GENRES = `https://${GET_USER_BASE}/promohub/api/v1/profiles/genres`\r\nexport const CHECK_ZIP = `https://${GET_USER_BASE}/promohub/api/v1/adresses/states`\r\nexport const SOCIAL_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/social/callback/`\r\nexport const SOCIAL_CHECK_USER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/check/user`\r\nexport const XEERPA_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/social/connectone/register`\r\nexport const EXTERNAL_CALLBACK = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/external`\r\nexport const GET_PROFILE_DATA = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles`\r\n\r\nexport const GET_PRIZES = `https://${GET_USER_BASE}/promohub/api/v1/prizes`\r\nexport const GET_PRIZE_WARE_HOUSE = `https://${GET_USER_BASE}/promohub/api/v1/prizes/:id/consumptioncenters`\r\nexport const GET_LEVELS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/levels`\r\nexport const GET_REFERRALS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/referrals`\r\nexport const GET_RAFFLES = `https://${GET_USER_BASE}/promohub/api/v1/sorteos/prizes`\r\nexport const GET_RAFFLES_WINNERS = `https://${GET_USER_BASE}/promohub/api/v1/sorteos/winners`\r\nexport const UPDATE_ADDRESS = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/address`\r\nexport const UPDATE_USER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles`\r\nexport const UPDATE_CONSUMPTION = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/consumption-center`\r\nexport const HISTORY = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/history`\r\nexport const HISTORY_ID = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/history/:id`\r\nexport const TYC = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/terms-and-conditions`\r\nexport const FAQS = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/faqs`\r\nexport const PAGESWITHKEY = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/:key`\r\nexport const SEND_EMAILVERIFY = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/emailverify`\r\nexport const TRIVIA_INTERESTS = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/interests`\r\nexport const TRIVIA_SET_INTEREST = `https://${API_BASE_USER_UPDATE}/promohub/api/v1/profiles/interests`\r\nexport const TRIVIA_LIST = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/list`\r\nexport const TRIVIA_FETCH = `https://${CODE_API_BASE}/promohub/api/v1/trivias`\r\n\r\nexport const TRIVIA_VALIDATE = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/validate/:isdirectaccess`\r\nexport const TRIVIA_PLAY = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/play/:isdirectaccess`\r\nexport const TRIVIA_ANSWER = `https://${CODE_API_BASE}/promohub/api/v1/trivias/:triviaId/answer`\r\nexport const TRIVIA_RANKING = `https://${API_BASE_USER_GET}/promohub/api/v1/trivias/ranking/:triviaId`\r\n\r\nexport const CATEGORY_PRIZES = `https://${API_BASE_USER_GET}/promohub/api/v1/prizes/category`\r\nexport const GET_RANKS = `https://${API_BASE_USER_GET}/promohub/api/v1/ranks`\r\nexport const POST_SUSCRIBE_RANKS = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/rank`\r\nexport const OTP_GENERATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/send/smsverify`\r\nexport const OTP_VALIDATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/otp/phone`\r\nexport const UPDATE_PHONE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/phone/:phone`\r\nexport const UPDATE_NICKNAME = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/nickname/:nickname`\r\nexport const INSTAGRAM = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/instagram`\r\nexport const OTP_VALIDATE_EMAIL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/otp/email`\r\n// -- SURVEY --\r\nexport const GET_ALL_SURVEY = `https://${USER_UPDATE_API_BASE}/api/survey/list`\r\nexport const SURVEY_VALIDATE = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/validate/:isdirectaccess`\r\nexport const SURVEY_GET_RESPONSE = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/result`\r\nexport const PUT_SURVEY = `https://${USER_UPDATE_API_BASE}/api/survey/:surveyId/answer`\r\n\r\nexport const GET_CARRUSEL = `https://${GET_USER_BASE}/promohub/api/v1/configuration/banners/list`\r\nexport const POST_REFERRAL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/referral`\r\nexport const SOCIAL_LOGIN = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/login/social`\r\nexport const PUT_CONTACT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/contact`\r\nexport const PUT_AUTH_INSTAGRAM = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/callback/instagram`\r\nexport const VERIFY_NICKNAME = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/nickname`\r\nexport const VERIFY_REFERRALCODE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/profiles/verify/referralcode`\r\nexport const COLLECTION_STICKER_EXCHANGE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/collections/sticker/exchange`\r\nexport const COLLECTION_STICKER_MULTIMEDIA = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/collections/sticker/multimedia`\r\nexport const COLLECTION_GET = `https://${GET_USER_BASE}/promohub/api/v1/collections`\r\n\r\n// -- ALBUM --\r\n\r\nexport const ALBUM_GET = `https://${GET_USER_BASE}/promohub/api/v1/rally/getall`\r\nexport const ALBUM_GET_ID = `https://${GET_USER_BASE}/promohub/api/v1/rally/get?id=`\r\nexport const ALBUM_GET_PROFILE = `https://${GET_USER_BASE}/promohub/api/v1/rally/getforuser`\r\nexport const ALBUM_VALIDATE = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/validate/{directAccess}`\r\nexport const ALBUM_VOTE_MULTIMEDIA = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/vote`\r\nexport const ALBUM_VALIDATE_TEXT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/validatetext`\r\nexport const ALBUM_GET_RANK_USER = `https://${GET_USER_BASE}/promohub/api/v1/rally/getrallyrankforuser`\r\n\r\n// -- --\r\nexport const GET_MARKETPLACE = `https://${GET_USER_BASE}/promohub/api/v1/configuration/marketplaces/list`\r\nexport const POST_PHOTOGRAPHER = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/multimedia`\r\nexport const POST_PHOTOGRAPHER_URL = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/multimediaurl`\r\nexport const POST_PHOTOGRAPHER_WITH_TEXT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/rally/{ID}/text`\r\nexport const GET_PHOTOGRAPHER_ACTIVE = `https://${GET_USER_BASE}/promohub/api/v1/rally/active`\r\nexport const GET_PHOTOGRAPHER_WINNERS = `https://${GET_USER_BASE}/promohub/api/v1/rally/winners`\r\nexport const PRIVACYPOLITICSMX = `https://api-mx-marketing.azure-api.net/sitios/privacidad/aviso`\r\nexport const PRIVACYPOLITICSBACK = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/privacy`\r\nexport const COOKIESMX = `https://api-mx-marketing.azure-api.net/sitios/cookies/aviso/V1`\r\nexport const COOKIESBACK = `https://${API_BASE_USER_GET}/promohub/api/v1/pages/cookies`\r\nexport const GETSTATELIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/state/list`\r\nexport const GETCITYLIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/city/list`\r\nexport const GETCENTERLIST = `https://${GET_USER_BASE}/promohub/api/v1/adresses/center/list`\r\nexport const GET_MOVEMENTS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/movements`\r\nexport const GET_MOVEMENTS_DETAILS = `https://${GET_USER_BASE}/promohub/api/v1/profiles/movements/:categoryId`\r\n\r\n// -- MEMORAMA --\r\n\r\nexport const MEMORAMA_GET = `https://${GET_USER_BASE}/promohub/api/v1/memoramas/list`\r\nexport const MEMORAMA_GET_ONE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/:id`\r\nexport const MEMORAMA_ADVANCE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/advance`\r\nexport const MEMORAMA_STATUS = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/memoramas/:id/status/:status`\r\n\r\n// -- WHEEL --\r\nexport const WHEEL_GET_LIST = `https://${GET_USER_BASE}/promohub/api/v1/wheelfortune/list`\r\nexport const WHEEL_VALIDATE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/wheelfortune/:id/validate`\r\nexport const WHEEL_VALIDATE_PLAY = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/wheelfortune/:id/play`\r\n\r\n// -- HISTORY --\r\n\r\nexport const HISTORY_TRACKER = `https://${CODE_API_BASE}/promohub/api/v1/prizes/order/:historyId/otp`\r\n\r\n// -- CLIENT CODE --\r\n\r\nexport const CLIENT_CODE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/api/consumptions/find/:clientNum`\r\n\r\n// -- WALLET --\r\n\r\nexport const WALLET_STATUS = `https://${USER_UPDATE_API_BASE}/api/wallet/status/:type`\r\nexport const WALLET_CREATE = `https://${USER_UPDATE_API_BASE}/api/wallet/create/:type`\r\n\r\n// -- MENU --\r\n\r\nexport const GET_MENU = `https://${API_BASE_USER_GET}/promohub/api/v1/menu/active`\r\n\r\n// -- SOCIAL --\r\nexport const GET_LINKEDACCOUNTS = `https://${API_BASE_USER_GET}/promohub/api/v1/profiles/linksaccount`\r\n\r\n// -- WAREHOUSE --\r\nexport const GET_WARE_HOUSES = `https://${API_BASE_USER_GET}/promohub/api/v1/consumptioncenters/list`\r\n\r\n// -- GAME --\r\nexport const PLAYABLE_LIST = `https://${API_BASE_USER_GET}/promohub/api/v1/games/list`\r\nexport const PLAYABLE_VALIDATE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/validate`\r\nexport const PLAYABLE_PLAY = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/play`\r\nexport const PLAYABLE_SAVE = `https://${API_BASE_CHECKOUT_CODE_UPDATE}/promohub/api/v1/games/:playableId/save`\r\n\r\n// -- Lineups --\r\nexport const GET_EVENTS = `https://${API_BASE_USER_GET}/promohub/api/v1/event/active`\r\nexport const GET_EVENTS_PLACES = `https://${API_BASE_USER_GET}/promohub/api/v1/event/places/:id`\r\nexport const POST_TRACKING_LOCATION = `https://${USER_UPDATE_API_BASE}/promohub/api/event/tracking/location`\r\nexport const GET_LINEUPS = `https://${API_BASE_USER_GET}/promohub/api/v1/event/lineup/:id`\r\nexport const GET_LINEUPS_PROFILE = `https://${API_BASE_USER_GET}/promohub/api/v1/event/lineup/:id/profile`\r\nexport const UPDATE_LINEUPS_PROFILE = `https://${USER_UPDATE_API_BASE}/api/event/lineup`\r\n\r\n// -- Referrals --\r\n\r\nexport const GET_REFERRED_ACTIVE = `https://${API_BASE_USER_GET}/promohub/api/v1/team/active/referred`\r\nexport const GET_TEAM_ACTIVE_SOCIAL = `https://${API_BASE_USER_GET}/promohub/api/v1/team/active/Social`\r\nexport const GET_REFERRED_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/referred/profile/:teamId`\r\nexport const PUT_CREATE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/create/:teamId`\r\nexport const UPDATE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/update/:teamId`\r\nexport const DELETE_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/update/users`\r\nexport const JOIN_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/join`\r\nexport const UNJOIN_PROFILE_CLUSTER_TEAM = `https://${API_BASE_USER_UPDATE}/api/cluster/unjoin`\r\nexport const GET_CLUSTER_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/group/profile/:teamId`\r\nexport const GET_RANKING_BY_TEAM = `https://${API_BASE_USER_GET}/promohub/api/v1/team/ranking/:teamId/:clusterId`\r\n\r\n// -- Checkpoint --\r\n\r\nexport const POST_CHECKPOINT = `https://${USER_UPDATE_API_BASE}/promohub/api/v1/checkpoint/save`\r\n","import textServices from \"services/text-services\";\r\nimport { Multimedia, RallyStatusEnum, RallyType } from \"views/album/types\";\r\nimport CONFIGS from 'build/Config'\r\nimport loadImage, { downloadImageAsBase64 } from \"utilities/loadImages\";\r\n\r\ninterface IBasicConfig {\r\n ranking?: {\r\n titleUpload?: boolean\r\n viewMore?: boolean\r\n showSocial?: 'like|share' | 'like' | 'share' | ''\r\n }\r\n profile?: {\r\n showSocial?: 'like|share' | 'like' | 'share' | '',\r\n profileMultimediaOutputShare?: 'url' | 'base64'\r\n }\r\n upload?: {\r\n isTakeFoto?: boolean\r\n showBackButton?: boolean\r\n showCallbackButton?: boolean\r\n showHowToParticipate?: boolean\r\n validate?: boolean\r\n useLoaderValidate?: boolean\r\n useCongrats?: boolean\r\n useCongratsDirect?: boolean\r\n howTakePhoto?: boolean\r\n warningPhoto?: boolean\r\n filters?: string[]\r\n inSubmitShowShareImage?: boolean\r\n }\r\n imageId?: {\r\n showSocial?: 'like|share' | 'like' | 'share' | ''\r\n },\r\n list?: {\r\n v1?: boolean\r\n handleClick?: boolean\r\n urlRedirectAlbumComplete?: string\r\n urlRedirectAlbumProgress?: string\r\n },\r\n congrats?: {\r\n showButton3?: boolean\r\n showButton2?: boolean\r\n },\r\n popupClientNum?: boolean\r\n}\r\n\r\nexport interface IInitialConfig {\r\n [RallyType.Consumo]?: IBasicConfig\r\n [RallyType.Foto]?: IBasicConfig\r\n [RallyType.Historia]?: IBasicConfig\r\n [RallyType.Social]?: IBasicConfig\r\n [RallyType.Ticket]?: IBasicConfig\r\n [RallyType.Card]?: IBasicConfig\r\n}\r\n\r\nclass CanvasGenerator {\r\n private canvas: HTMLCanvasElement;\r\n private phrase: string;\r\n private context: CanvasRenderingContext2D;\r\n private sign: string;\r\n\r\n constructor(phrase: string, canvasParam: HTMLCanvasElement, sign?: string) {\r\n this.phrase = phrase\r\n this.canvas = canvasParam\r\n this.context = this.canvas.getContext(\"2d\")\r\n this.sign = sign\r\n }\r\n\r\n private generatetecateCard = () => {\r\n this.context.font = 'bold 86px HeadingProUltracomp';\r\n this.context.fillStyle = 'white';\r\n this.context.textAlign = \"start\";\r\n this.context.textBaseline = \"top\";\r\n const maxWidth = this.canvas.width - 380;\r\n this.context.fillText('EL CALOR PIDE', 70, 120);\r\n this.context.fillText('ESTE KIT Y TU,', 70, 195);\r\n\r\n const textUpper = `${this.phrase}`.toLocaleUpperCase();\r\n const words = textUpper.split(' ');\r\n let currentLine = '';\r\n let y = 275;\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n\r\n for (const word of words) {\r\n const testLine = currentLine + (currentLine ? ' ' : '') + word;\r\n const metrics = this.context.measureText(testLine);\r\n const testWidth = metrics.width;\r\n\r\n if (testWidth <= maxWidth) {\r\n currentLine = testLine;\r\n } else {\r\n\r\n this.context.fillStyle = 'white'\r\n this.context.fillRect(70, y - 2.5, this.canvas.width - 375, 86);\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n this.context.fillText(currentLine, 70, y);\r\n\r\n y += 75;\r\n currentLine = word;\r\n }\r\n }\r\n\r\n this.context.fillStyle = 'white'\r\n this.context.fillRect(70, y - 2.5, this.canvas.width - 375, 86);\r\n\r\n this.context.fillStyle = \"#E31E32\";\r\n this.context.fillText(currentLine, 70, y);\r\n }\r\n\r\n private generatedosequisCard = () => {\r\n this.context.font = '60px Gitsans';\r\n this.context.fillStyle = \"#CACACA\";\r\n this.context.textAlign = \"center\";\r\n this.context.textBaseline = \"top\";\r\n\r\n const maxWidth = this.canvas.width - 450;\r\n\r\n const textUpper = this.phrase.toLocaleUpperCase();\r\n const words = textUpper.split(' ');\r\n let currentLine = '';\r\n let y = 350;\r\n\r\n for (const word of words) {\r\n const testLine = currentLine + (currentLine ? ' ' : '') + word;\r\n const metrics = this.context.measureText(testLine);\r\n const testWidth = metrics.width;\r\n\r\n if (testWidth > maxWidth && currentLine !== '') {\r\n // Render the current line and reset it\r\n (this.context as any).letterSpacing = \"0.5px\"\r\n this.context.fillText(currentLine, this.canvas.width / 2, y);\r\n currentLine = word;\r\n y += 70; // Move down to the next line\r\n } else {\r\n currentLine = testLine; // Continue building the current line\r\n }\r\n }\r\n\r\n // Ensure the last line is rendered\r\n if (currentLine) {\r\n this.context.fillText(currentLine, this.canvas.width / 2, y);\r\n }\r\n\r\n if (this.sign) {\r\n const font = new FontFace(\r\n 'Industry',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/Industry/Industry-Bold.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n document.fonts.add(font)\r\n this.context.font = 'bold 28px Industry';\r\n this.context.fillText(this.sign.toLocaleUpperCase(), this.canvas.width / 2, this.canvas.height - 220);\r\n })\r\n }\r\n }\r\n\r\n private generateindioCard = () => {\r\n const font = new FontFace(\r\n 'Propaganda',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/Propaganda/propaganda.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n document.fonts.add(font)\r\n this.context.font = '50px Propaganda';\r\n this.context.fillStyle = \"black\";\r\n this.context.textAlign = \"center\";\r\n this.context.textBaseline = \"top\";\r\n const textUpper = this.phrase.toLocaleUpperCase();\r\n\r\n this.context.fillText(textUpper, this.canvas.width / 1.95, this.canvas.height - 306);\r\n })\r\n }\r\n\r\n public generateCard = () => {\r\n if (this[`generate${THEME}Card`] instanceof Function) {\r\n const createImage = (font: any) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n }\r\n const image = new Image();\r\n image.crossOrigin = 'anonymous'\r\n image.src = `${AZURE_BASE_URL}/rally/text_background.webp`;\r\n\r\n image.onload = () => {\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n this[`generate${THEME}Card`]()\r\n };\r\n }\r\n\r\n const font = new FontFace(\r\n 'HeadingProUltracomp',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/headingProUltracomp/HeadingProUltracomp-Bold.woff2')\"\r\n )\r\n\r\n font.load().then(createImage).catch(createImage)\r\n\r\n return this.context\r\n }\r\n }\r\n}\r\n\r\nclass CanvasGeneratorImage {\r\n private canvas: HTMLCanvasElement;\r\n private image: string;\r\n private context: CanvasRenderingContext2D;\r\n\r\n constructor(image: string, canvasParam: HTMLCanvasElement) {\r\n this.image = image\r\n this.canvas = canvasParam\r\n this.context = this.canvas.getContext(\"2d\")\r\n }\r\n\r\n private generatemixxImage = async (data: { filter?: string, img?: string }) => {\r\n try {\r\n const [imageUser, base64] = await Promise.all([\r\n loadImage(data?.img),\r\n downloadImageAsBase64(`${AZURE_BASE_URL}${data?.filter}`)\r\n ]);\r\n\r\n const image = await loadImage(base64)\r\n\r\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\r\n this.context.fillStyle = 'white';\r\n this.context.fillRect(0, 0, this.canvas.width, this.canvas.height);\r\n\r\n this.context.rotate(2 * Math.PI / 180);\r\n this.context.drawImage(imageUser, 128, 255, this.canvas.width - 200, this.canvas.height - 800);\r\n this.context.setTransform(1, 0, 0, 1, 0, 0);\r\n\r\n this.context.rotate(0);\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n } catch (error) {\r\n console.error('Error al cargar imágenes', error);\r\n }\r\n }\r\n\r\n private generateheineken00Image = async (data: { filter?: string, img?: string }) => {\r\n try {\r\n const [imageUser, base64] = await Promise.all([\r\n loadImage(data?.img),\r\n downloadImageAsBase64(`${AZURE_BASE_URL}${data?.filter}`)\r\n ]);\r\n\r\n const image = await loadImage(base64)\r\n\r\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\r\n this.context.fillStyle = 'white';\r\n this.context.fillRect(0, 0, this.canvas.width, this.canvas.height);\r\n\r\n this.context.rotate(2 * Math.PI / 180);\r\n \r\n const canvasAspect = this.canvas.width / this.canvas.height;\r\n const imageAspect = imageUser.width / imageUser.height;\r\n\r\n let drawWidth, drawHeight;\r\n\r\n if (canvasAspect > imageAspect) {\r\n drawWidth = this.canvas.width;\r\n drawHeight = this.canvas.width / imageAspect;\r\n } else {\r\n drawHeight = this.canvas.height;\r\n drawWidth = this.canvas.height * imageAspect;\r\n }\r\n\r\n const offsetX = (this.canvas.width - drawWidth) / 2;\r\n const offsetY = (this.canvas.height - drawHeight) / 2;\r\n\r\n this.context.drawImage(imageUser, offsetX, offsetY, drawWidth, drawHeight);\r\n\r\n this.context.setTransform(1, 0, 0, 1, 0, 0);\r\n\r\n this.context.rotate(0);\r\n this.context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);\r\n } catch (error) {\r\n console.error('Error al cargar imágenes', error);\r\n }\r\n }\r\n\r\n\r\n public generateImageCanva = (data: { filter?: string, img?: string }) => {\r\n if (this[`generate${THEME}Image`] instanceof Function) {\r\n this[`generate${THEME}Image`]({ filter: data?.filter, img: data?.img })\r\n\r\n return this.context\r\n }\r\n }\r\n}\r\n\r\n\r\nclass AlbumConfig {\r\n\r\n private initialConfig: IInitialConfig = CONFIGS.album\r\n private configs: IBasicConfig\r\n\r\n constructor(public album: Multimedia) {\r\n this.setInitialConfig(album)\r\n }\r\n\r\n private setInitialConfig = (album: Multimedia) => {\r\n if (!this.initialConfig[album.rallyType]) return console.error(`No existe configuración para el rally ${album.rallyType}`)\r\n this.configs = this.initialConfig[album.rallyType]\r\n }\r\n\r\n // -- GENERAL CONFIGURATION -- //\r\n\r\n get isHistory(): boolean {\r\n return this.album.rallyType === RallyType.Historia\r\n }\r\n\r\n get isPhoto(): boolean {\r\n return this.album.rallyType === RallyType.Foto\r\n }\r\n\r\n get isSocial(): boolean {\r\n return this.album.rallyType === RallyType.Social\r\n }\r\n\r\n get isTicket(): boolean {\r\n return this.album.rallyType === RallyType.Ticket\r\n }\r\n\r\n get isConsumo(): boolean {\r\n return this.album.rallyType === RallyType.Consumo\r\n }\r\n\r\n get isCard(): boolean {\r\n return this.album.rallyType === RallyType.Card\r\n }\r\n\r\n public texts(path: string, defaultResponse?: any, replace?: { [key: string]: string }) {\r\n const pathRallyType = `social/${this.album?.rallyType}/${path}`\r\n const textRallyType = textServices.findByText(`social/${this.album?.rallyType}/${path}`, defaultResponse, replace)\r\n if ((typeof defaultResponse === \"object\" && Object.values(defaultResponse).includes(textRallyType)) || textRallyType === (defaultResponse || pathRallyType)) return textServices.findByText(`social/${path}`, defaultResponse, replace)\r\n return textRallyType\r\n }\r\n\r\n get isFinished(): boolean {\r\n return this.album.statusId === RallyStatusEnum.COMPLETED\r\n }\r\n\r\n get filters(): string[] {\r\n return this.configs.upload?.filters ?? []\r\n }\r\n // -- RANKING CONFIGURATION -- //\r\n\r\n get rankingTitleUpload(): boolean {\r\n return this.configs?.ranking?.titleUpload ?? false\r\n }\r\n\r\n get rankingViewMore(): boolean {\r\n return this.configs?.ranking?.viewMore ?? false\r\n }\r\n\r\n get rankingShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.ranking?.showSocial ?? ''\r\n }\r\n\r\n // -- PROFILE CONFIGURATION -- //\r\n\r\n get profileShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.profile?.showSocial ?? 'like|share'\r\n }\r\n\r\n get profileMultimediaOutputShare(): 'url' | 'base64' {\r\n return this.configs?.profile?.profileMultimediaOutputShare ?? 'url'\r\n }\r\n\r\n // -- UPLOAD CONFIGURATION -- //\r\n\r\n get uploadIsTakeFoto(): boolean {\r\n return this.configs?.upload?.isTakeFoto ?? false\r\n }\r\n\r\n get uploadInSubmitShowShareImage(): boolean {\r\n return this.configs?.upload?.inSubmitShowShareImage ?? false\r\n }\r\n\r\n get uploadShowBackButton(): boolean {\r\n return this.configs?.upload?.showBackButton ?? false\r\n }\r\n\r\n get uploadShowCallbackButton(): boolean {\r\n return this.configs?.upload?.showCallbackButton ?? false\r\n }\r\n\r\n get uploadShowHowToParticipate(): boolean {\r\n return this.configs?.upload?.showHowToParticipate ?? false\r\n }\r\n\r\n get uploadValidate(): boolean {\r\n return this.configs?.upload?.validate ?? false\r\n }\r\n\r\n get uploadUseLoaderValidate(): boolean {\r\n return this.configs?.upload?.useLoaderValidate ?? false\r\n }\r\n\r\n get uploadUseCongrats(): boolean {\r\n return this.configs?.upload?.useCongrats ?? false\r\n }\r\n\r\n get uploadUseCongratsDirect(): boolean {\r\n return this.configs?.upload?.useCongratsDirect ?? false\r\n }\r\n\r\n get howTakePhoto(): boolean {\r\n return this.configs?.upload?.howTakePhoto ?? false\r\n }\r\n\r\n get warningPhoto(): boolean {\r\n return this.configs?.upload?.warningPhoto ?? false\r\n }\r\n\r\n // -- IMAGE ID CONFIGURATION -- //\r\n\r\n get imageIdShowSocial(): 'like|share' | 'like' | 'share' | '' {\r\n return this.configs?.imageId?.showSocial ?? ''\r\n }\r\n\r\n // -- LIST CONFIGURATION -- //\r\n\r\n get listHandleClick(): boolean {\r\n return this.configs?.list?.handleClick ?? false\r\n }\r\n\r\n get listV1(): boolean {\r\n return this.configs?.list?.v1 ?? false\r\n }\r\n\r\n get urlRedirectAlbumComplete(): string | undefined {\r\n if (this.album.statusId === (RallyStatusEnum.COMPLETED || RallyStatusEnum.TERMINADO)) return this.configs?.list?.urlRedirectAlbumComplete\r\n }\r\n\r\n get urlRedirectAlbumProgress(): string | undefined {\r\n return this.configs?.list?.urlRedirectAlbumProgress\r\n }\r\n\r\n // -- CONGRATS CONFIGURATION -- //\r\n\r\n get congratsShowButton3(): boolean {\r\n return this.configs?.congrats?.showButton3 ?? false\r\n }\r\n\r\n get congratsShowButton2(): boolean {\r\n return this.configs?.congrats?.showButton2 ?? false\r\n }\r\n\r\n public generateCard(phrase: string, canvasParam: HTMLCanvasElement, sign?: string): any {\r\n if (this?.isCard) {\r\n const canvas = new CanvasGenerator(phrase, canvasParam, sign)\r\n return canvas.generateCard()\r\n } else {\r\n console.error('RallyType is not CARD')\r\n }\r\n }\r\n\r\n public generateImage(filter?: string, canvasParam?: HTMLCanvasElement, img?: string): any {\r\n if (this?.isPhoto) {\r\n const canvas = new CanvasGeneratorImage(filter, canvasParam)\r\n return canvas.generateImageCanva({ filter, img })\r\n } else {\r\n console.error('RallyType is not PHOTO')\r\n }\r\n }\r\n}\r\n\r\nexport default AlbumConfig\r\n\r\n\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapperpp\":\"stylepp_wrapperpp__3oKFd\"};","import { Album, Multimedia } from '../types'\r\nimport AlbumConfig from '../configs/album-config'\r\n\r\nexport type AlbumActionType = 'SET_ALBUMS' | 'SET_SELECT_MULTIMEDIA' | 'SET_ERROR' | 'SET_SHOW_RULES' | 'SET_ALBUM_CONFIG' | 'SET_SELECT_MULTIMEDIA_PROFILE'\r\n\r\nexport interface AlbumState {\r\n albums?: Album[]\r\n multimedia?: Multimedia\r\n profile?: Multimedia\r\n albumConfig?: AlbumConfig\r\n showRules?: boolean\r\n error?: number\r\n}\r\n\r\nexport interface AlbumAction {\r\n type: AlbumActionType\r\n payload: AlbumState | Album[] | Album | Multimedia | number | boolean | AlbumConfig\r\n}\r\n\r\nfunction albumReducer(state: AlbumState, action: AlbumAction): AlbumState {\r\n switch (action.type) {\r\n case 'SET_ALBUMS':\r\n return { ...state, albums: action.payload as Album[] }\r\n case 'SET_SELECT_MULTIMEDIA':\r\n return { ...state, multimedia: action.payload as Multimedia }\r\n case 'SET_SELECT_MULTIMEDIA_PROFILE':\r\n return { ...state, profile: action.payload as Multimedia }\r\n case 'SET_ALBUM_CONFIG':\r\n return { ...state, albumConfig: action.payload as AlbumConfig }\r\n case 'SET_SHOW_RULES':\r\n return { ...state, showRules: action.payload as boolean }\r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default albumReducer","import { ALBUM_GET, ALBUM_GET_ID, ALBUM_VOTE_MULTIMEDIA, ALBUM_VALIDATE, ALBUM_GET_PROFILE } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport axios, { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport AlbumConfig from '../configs/album-config'\r\nimport { Album, Multimedia } from '../types'\r\nimport albumReducer, { AlbumAction, AlbumState } from './album-reducer'\r\n\r\nexport interface AlbumContextProps {\r\n state: AlbumState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst AlbumContext = createContext({} as AlbumContextProps)\r\n\r\nexport const AlbumProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(albumReducer, { showRules: false })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: ALBUM_GET,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }, { useCache: false })\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data && !loading) {\r\n dispatch({ type: 'SET_ALBUMS', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useAlbum = () => {\r\n const { state, dispatch, refetch } = useContext(AlbumContext)\r\n const { push } = useRouter()\r\n const [{ data: session }] = useSession()\r\n\r\n const fetchAlbums = async () => {\r\n const { data = [] } = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n dispatch({ type: 'SET_ALBUMS', payload: data });\r\n return data;\r\n }\r\n\r\n const getMultimedia = async (id: number) => {\r\n const { data } = await axios.get(`${ALBUM_GET_ID}${id}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n const config = new AlbumConfig(data)\r\n dispatch({ type: 'SET_SELECT_MULTIMEDIA', payload: data })\r\n dispatch({ type: 'SET_ALBUM_CONFIG', payload: config })\r\n return config\r\n }\r\n\r\n const getMultimediaProfile = async (id: number, multimediaOutput: 'url' | 'base64') => {\r\n const { data } = await axios.get(`${ALBUM_GET_PROFILE}?id=${id}&multimediaOutput=${multimediaOutput}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n const config = new AlbumConfig(data)\r\n dispatch({ type: 'SET_SELECT_MULTIMEDIA_PROFILE', payload: data })\r\n dispatch({ type: 'SET_ALBUM_CONFIG', payload: config })\r\n return config\r\n }\r\n\r\n const voteMultimedia = async (rallyMultimediaId: number) => {\r\n await axios.post(`${ALBUM_VOTE_MULTIMEDIA}?rallyMultimediaId=${rallyMultimediaId}`, {}, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n }\r\n\r\n const setShowRules = (showRules: boolean) => dispatch({ type: 'SET_SHOW_RULES', payload: showRules })\r\n\r\n const setAlbum = (album: Album[]) => dispatch({ type: 'SET_ALBUMS', payload: album })\r\n\r\n const refetchAlbum = (config?: AxiosRequestConfig) => refetch(config)\r\n\r\n const setSelectAlbum = (multimedia?: Multimedia) => dispatch({ type: 'SET_SELECT_MULTIMEDIA', payload: multimedia })\r\n\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/album/error')\r\n }\r\n\r\n const validateUpload = async (rallyId: number, directAccess: string) => {\r\n const response = await axios.post(ALBUM_VALIDATE.replace('{ID}', `${rallyId}`).replace('{directAccess}', `${directAccess}`), {}, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n\r\n return response\r\n }\r\n\r\n const actions = { setAlbum, refetchAlbum, setSelectAlbum, setError, getMultimedia, voteMultimedia, getMultimediaProfile, validateUpload, setShowRules, fetchAlbums }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}\r\n","import { Collection, Sticker } from '../types'\r\n\r\nexport type CollectionsActionType = 'SET_COLLECTIONS' | 'SET_SELECT_STICKER' | 'SET_ERROR' | 'SET_CONGRATS'\r\n\r\nexport interface CollectionState {\r\n collections?: Collection[]\r\n selectPrize?: Sticker\r\n error?: number\r\n congrats?: boolean\r\n}\r\n\r\nexport interface CollectionsAction {\r\n type: CollectionsActionType\r\n payload: CollectionState | Collection[] | Collection | Sticker | number | boolean\r\n}\r\n\r\nfunction collectionReducer(state: CollectionState, action: CollectionsAction): CollectionState {\r\n switch (action.type) {\r\n case 'SET_COLLECTIONS':\r\n return { ...state, collections: action.payload as Collection[] }\r\n case 'SET_SELECT_STICKER':\r\n return { ...state, selectPrize: action.payload as Sticker }\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default collectionReducer","import { COLLECTION_GET } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { Collection, Sticker } from '../types'\r\nimport collectionReducer, { CollectionsAction, CollectionState } from './collections-reducer'\r\n\r\nexport interface CollectionsContextProps {\r\n state: CollectionState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst CollectionsContext = createContext({} as CollectionsContextProps)\r\n\r\nexport const CollectionsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(collectionReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: COLLECTION_GET,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data.length > 0) {\r\n dispatch({ type: 'SET_COLLECTIONS', payload: data })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useCollections = () => {\r\n const { state, dispatch, refetch } = useContext(CollectionsContext)\r\n const { push } = useRouter()\r\n\r\n const setCollections = (prizes: Collection[]) => dispatch({ type: 'SET_COLLECTIONS', payload: prizes })\r\n const refetchCollections = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectSticker = (sticker?: Sticker) => dispatch({ type: 'SET_SELECT_STICKER', payload: sticker })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/collections/error')\r\n }\r\n const actions = { setCollections, refetchCollections, setSelectSticker, setError, setCongrats }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","export type GroupsActionType = 'SET_GROUPS' | 'SET_DYNAMIC' | 'SET_OPEN_CREATE' | 'SET_NEW_GROUPS' | 'SET_UPDATE_GROUP' | 'SET_REMOVE_GROUP' | 'SET_PARTICIPATE_GROUP_ID' | 'SET_OPEN_SELECT_PARTICIPATE' | 'SET_CALLBACK_PARTICIPATE'\r\n\r\nexport interface GroupsState {\r\n groups?: { cluster: Cluster, group: Group[] }[]\r\n dynamic?: ActiveDynamic\r\n openCreate?: boolean\r\n participateGroupId?: number | null\r\n openSelectParticipate?: boolean\r\n callbackParticipate?: (clusterId?: number) => void\r\n}\r\n\r\nexport interface ActiveDynamic {\r\n id: number,\r\n name: string,\r\n description: string,\r\n createdAt: string,\r\n imageUrl?: string,\r\n configurationId: number,\r\n configuration?: string,\r\n prize: string,\r\n prizeImageUrl: string,\r\n prizeReferral: string,\r\n prizeReferralImageUrl: string,\r\n prizeReferred: string,\r\n prizeReferredImageUrl: string,\r\n teamTypeId: number,\r\n teamType: 'Social' | 'Referred',\r\n teamStatusId: number,\r\n teamStatus: string,\r\n validFrom?: string,\r\n validTo?: string,\r\n maxUserInGroup: number,\r\n maxGroupsForUser: number,\r\n urlRedirect?: string,\r\n buttonText?: string,\r\n urlRedirect2?: string,\r\n buttonText2?: string\r\n}\r\n\r\nexport interface Cluster {\r\n id: number,\r\n name: string,\r\n status: boolean,\r\n createdAt: string,\r\n imageUrl: string,\r\n profileIdOwner: number\r\n}\r\n\r\nexport interface Group {\r\n id: number\r\n profileId: number,\r\n firstName: string,\r\n teamId: number,\r\n clusterId: number,\r\n referredAmount: number,\r\n referralPoints: number,\r\n code: string,\r\n clusterRoleTypeId: number,\r\n clusterRoleType: 'Dueño',\r\n points: number\r\n}\r\n\r\nexport interface RankingGroup {\r\n name: string,\r\n teamId: number,\r\n clusterId: number,\r\n points: number,\r\n position: number\r\n profileId?: number\r\n}\r\n\r\nexport interface GroupsAction {\r\n type: GroupsActionType\r\n payload: [] | ActiveDynamic | boolean | { cluster: Cluster, group: Group }[] | { cluster: Cluster, group: Group[] } | number | ((clusterId?: number) => void)\r\n}\r\n\r\nfunction groupsReducer(state: GroupsState, action: GroupsAction): GroupsState {\r\n switch (action.type) {\r\n case 'SET_GROUPS':\r\n return { ...state, groups: action.payload as { cluster: Cluster, group: Group[] }[] }\r\n case 'SET_UPDATE_GROUP': {\r\n const payloadTyped = action.payload as { cluster: Cluster, group: Group[] }\r\n const currentGroupIndex = state.groups.findIndex((group) => group.cluster.id === payloadTyped.cluster.id)\r\n const cloneStateGroup = [...state.groups]\r\n cloneStateGroup[currentGroupIndex] = payloadTyped\r\n return { ...state, groups: cloneStateGroup }\r\n }\r\n case 'SET_REMOVE_GROUP': {\r\n const payloadTyped = action.payload as number\r\n const cloneStateGroup = state.groups.filter((group) => group.cluster.id !== payloadTyped)\r\n return { ...state, groups: cloneStateGroup }\r\n }\r\n case 'SET_NEW_GROUPS':\r\n return { ...state, groups: [...state.groups ?? [] ,action.payload as { cluster: Cluster, group: Group[] }] }\r\n case 'SET_DYNAMIC':\r\n return { ...state, dynamic: action.payload as ActiveDynamic }\r\n case 'SET_OPEN_CREATE':\r\n return { ...state, openCreate: action.payload as boolean }\r\n case 'SET_PARTICIPATE_GROUP_ID':\r\n return { ...state, participateGroupId: action.payload as number | null }\r\n case 'SET_OPEN_SELECT_PARTICIPATE':\r\n return { ...state, openSelectParticipate: action.payload as boolean }\r\n case 'SET_CALLBACK_PARTICIPATE':\r\n return { ...state, callbackParticipate: action.payload as (clusterId?: number) => void }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default groupsReducer\r\n","import { PUT_CREATE_CLUSTER_TEAM } from 'constants/api'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport BottomPopUp from 'components/popUps/bottomPopUp'\r\nimport textServices from 'services/text-services'\r\nimport Input from 'components/input'\r\nimport { Label, ErrorInput } from 'theme/theme'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport Button from 'components/button'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { useContext } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Cluster, Group } from './groups-reducer'\r\nimport { useGroups } from '.'\r\n\r\ninterface IProps {\r\n setOpenCreate: (value: boolean) => any\r\n}\r\n\r\nexport default function CreateGroup({ setOpenCreate }: IProps) {\r\n const [{ dynamic }, { setNewGroups }] = useGroups()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { register, setValue, watch, handleSubmit, formState: { errors } } = useForm<{ groupName: string, groupFile: File, image: string | ArrayBuffer }>({ resolver: yupResolver(formServices.formGenerateSchema([\"groupName\", 'groupFile'])) })\r\n const image = watch('image')\r\n\r\n const handleUpload = (e: React.ChangeEvent) => {\r\n const file = e.target.files?.[0]\r\n\r\n if (file) {\r\n setValue('groupFile', file)\r\n const reader = new FileReader()\r\n reader.readAsDataURL(file)\r\n reader.onload = () => {\r\n setValue('image', reader.result)\r\n }\r\n }\r\n }\r\n\r\n const onSubmit = handleSubmit(async (value) => {\r\n setLoad(true)\r\n try {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const formData = new FormData()\r\n formData.append('file', value.groupFile)\r\n formData.append('input', JSON.stringify({ name: value.groupName, ImageFileName: value.groupFile?.name, ImageContentType: value.groupFile?.type }))\r\n const { data: { cluster: clusterData, group: groups } } = await axios.put(PUT_CREATE_CLUSTER_TEAM.replace(':teamId', `${dynamic.id}`), formData, { headers })\r\n\r\n const cluster: Cluster = {\r\n id: clusterData.id,\r\n createdAt: clusterData.createdAt,\r\n imageUrl: clusterData.image.bucket,\r\n name: clusterData.name,\r\n profileIdOwner: clusterData.profile.id,\r\n status: clusterData.status\r\n }\r\n\r\n const group: Group[] = groups?.map((item) => {\r\n return {\r\n id: item?.id,\r\n clusterRoleType: item?.clusterRoleType,\r\n clusterRoleTypeId: item?.clusterRoleTypeId,\r\n firstName: item?.profile?.firstName,\r\n points: item?.points,\r\n profileId: item?.profile?.id,\r\n } as Group\r\n })\r\n\r\n setNewGroups({ cluster, group })\r\n setOpenCreate(false)\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n\r\n return (\r\n setOpenCreate(false)}>\r\n
\r\n
\r\n

{textServices.findByText('groups/start/create/title', { es: 'Crear grupo', en: 'Create group' })}

\r\n

{textServices.findByText('groups/start/create/description', { es: 'Agrega un avatar y dale un nombre a tu grupo para crearlo y empezar a invitar a tus amigos para que participen junto a ti.', en: 'Add an avatar and name your group to create it and start inviting your friends to join you.' })}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'groups',\r\n form_field: 'name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'groups :: create'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n}","import ButtonCloseMenu from \"components/button-close\";\r\nimport { useState } from \"react\";\r\nimport Button from \"components/button\";\r\nimport { ErrorInput, ReturnText, SelectGender } from \"theme/theme\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { ErrorMessage } from \"@hookform/error-message\";\r\nimport textServices from \"services/text-services\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useGroups } from \".\";\r\n\r\nexport default function HowDoYouWantToParticipate() {\r\n const [{ callbackParticipate, groups }, { setOpenSelectParticipate, setParticipateGroupId, setCallbackParticipate, setOpenCreate }] = useGroups()\r\n const { register, formState: { errors }, handleSubmit } = useForm<{ clusterId: string }>({ resolver: yupResolver(formServices.formGenerateSchema([\"clusterId\"])) })\r\n const [step, setStep] = useState(0)\r\n const [{ user }] = useSession()\r\n\r\n const handleMenu = () => {\r\n setOpenSelectParticipate(false)\r\n setParticipateGroupId(null)\r\n\r\n if (callbackParticipate) {\r\n setCallbackParticipate(() => null)\r\n callbackParticipate()\r\n }\r\n }\r\n\r\n const handleCreate = () => {\r\n setOpenCreate(true)\r\n }\r\n\r\n const onSubmit = handleSubmit((data) => {\r\n setOpenSelectParticipate(false)\r\n\r\n const group = groups.find((item) => item.cluster.id === Number(data?.clusterId))\r\n const clusterProfileId = group.group?.find((item) => item.profileId === user.id)?.id\r\n\r\n setParticipateGroupId(clusterProfileId)\r\n if (callbackParticipate) {\r\n setCallbackParticipate(() => null)\r\n callbackParticipate()\r\n }\r\n })\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n

¿Cómo quieres participar?

\r\n
\r\n {\r\n step === 0 ? (\r\n
\r\n \r\n \r\n
\r\n ) : (\r\n
\r\n {\r\n groups?.length === 0 ? (\r\n

{textServices.findByText('groups/start/not-found', { es: <>Aún no eres parte de ningún grupo.
¿Qué esperas? vamos a crear uno., en: <>You are not yet part of any group.
What are you waiting for?Let's create one. })}

\r\n ) : (\r\n <>\r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'selecciona tu grupo',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'select group',\r\n section: 'select group'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {groups?.map((item) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n \r\n )\r\n }\r\n
\r\n
\r\n {step === 1 && }\r\n {step === 1 &&\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}","import { GET_CLUSTER_TEAM, GET_RANKING_BY_TEAM, GET_TEAM_ACTIVE_SOCIAL } from 'constants/api'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer, useState } from 'react'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useSession } from 'contexts/session-context'\r\nimport axios from 'axios'\r\nimport groupsReducer, { ActiveDynamic, Cluster, Group, GroupsAction, GroupsState, RankingGroup } from './groups-reducer'\r\nimport CreateGroup from './CreateGroup'\r\nimport HowDoYouWantToParticipate from './HowDoYouWantToParticipate'\r\n\r\nexport interface UserContextProps {\r\n state: GroupsState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst defaultState: GroupsState = {\r\n groups: [],\r\n openCreate: false,\r\n participateGroupId: null,\r\n openSelectParticipate: false\r\n}\r\n\r\nconst GroupsContext = createContext({} as UserContextProps)\r\n\r\nexport const GroupsProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(groupsReducer, defaultState)\r\n const [{ data: session }] = useSession()\r\n\r\n const [load, setLoad] = useState(false)\r\n\r\n const setOpenCreate = (value: boolean) => dispatch({ type: 'SET_OPEN_CREATE', payload: value })\r\n\r\n const getGroupsSession = async () => {\r\n setLoad(true)\r\n try {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const { data: dynamic } = await axios.get(GET_TEAM_ACTIVE_SOCIAL, { headers })\r\n\r\n if (dynamic) {\r\n dispatch({ type: 'SET_DYNAMIC', payload: dynamic })\r\n const { data: groups } = await axios.get(GET_CLUSTER_TEAM.replace(':teamId', `${dynamic.id}`), { headers })\r\n\r\n if (groups) {\r\n dispatch({ type: 'SET_GROUPS', payload: groups })\r\n }\r\n }\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session && !load && !state?.dynamic) {\r\n getGroupsSession()\r\n }\r\n }, [session])\r\n\r\n return (\r\n \r\n {load && }\r\n {state.openCreate && }\r\n {state.openSelectParticipate && }\r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const useGroups = () => {\r\n const { state, dispatch } = useContext(GroupsContext)\r\n const [{ data: session }] = useSession()\r\n\r\n const setOpenSelectParticipate = (value: boolean) => dispatch({ type: 'SET_OPEN_SELECT_PARTICIPATE', payload: value })\r\n const setParticipateGroupId = (value: number | null) => dispatch({ type: 'SET_PARTICIPATE_GROUP_ID', payload: value })\r\n const setCallbackParticipate = (value: (clusterId: number) => void) => dispatch({ type: 'SET_CALLBACK_PARTICIPATE', payload: value })\r\n\r\n const handleOpenSelectParticipate = (teamId: number, callback?: () => void) => {\r\n\r\n if (state?.dynamic && teamId === state?.dynamic?.id) {\r\n if (callback) setCallbackParticipate(callback)\r\n return setOpenSelectParticipate(true)\r\n }\r\n\r\n setCallbackParticipate(() => null)\r\n setParticipateGroupId(null)\r\n setOpenSelectParticipate(false)\r\n\r\n if (callback) {\r\n return callback()\r\n }\r\n }\r\n\r\n const getRanking = async (clusterId: number) => {\r\n const headers = { Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n const { data: { profileRanking, ranking } } = await axios.get<{ profileRanking: RankingGroup, ranking: RankingGroup[] }>(GET_RANKING_BY_TEAM.replace(':teamId', `${state?.dynamic?.id}`).replace(':clusterId', `${clusterId}`), { headers })\r\n return { profileRanking, ranking }\r\n }\r\n\r\n const setNewGroups = (group: { cluster: Cluster, group: Group[] }) => dispatch({ type: 'SET_NEW_GROUPS', payload: group })\r\n const setUpdateGroup = (group: { cluster: Cluster, group: Group[] }) => dispatch({ type: 'SET_UPDATE_GROUP', payload: group })\r\n const setRemoveGroup = (groupId: number) => dispatch({ type: 'SET_REMOVE_GROUP', payload: groupId })\r\n const setDynamic = (dynamic: ActiveDynamic) => dispatch({ type: 'SET_DYNAMIC', payload: dynamic })\r\n const setOpenCreate = (value: boolean) => dispatch({ type: 'SET_OPEN_CREATE', payload: value })\r\n\r\n const actions = { setNewGroups, setDynamic, setOpenCreate, setUpdateGroup, setRemoveGroup, setOpenSelectParticipate, setParticipateGroupId, handleOpenSelectParticipate, setCallbackParticipate, getRanking }\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n\r\n return returnValue\r\n}\r\n","import { Prize, WareHouseType } from '../types'\r\n\r\nexport type PrizesActionType = 'SET_FLOW_TYPE_ID' | 'SET_PRIZES' | 'SET_SELECT_PRIZE' | 'SET_ERROR' | 'SET_CONGRATS' | 'SET_SELECT_PRIZE_WAREHOUSE' | 'SET_SELECT_WAREHOUSE' | 'SET_PRIZE_EXCHANGE'\r\n\r\nexport interface PrizesState {\r\n prizes?: Prize[]\r\n selectPrize?: Prize\r\n error?: number\r\n congrats?: boolean\r\n flowTypeId?: number\r\n wareHouse?: WareHouseType[]\r\n selectWarehouse?: WareHouseType\r\n prizeExchange?: Prize\r\n}\r\n\r\nexport interface PrizesAction {\r\n type: PrizesActionType\r\n payload: PrizesState | Prize[] | Prize | number | boolean | WareHouseType\r\n}\r\n\r\nfunction prizesReducer(state: PrizesState, action: PrizesAction): PrizesState {\r\n switch (action.type) {\r\n case 'SET_FLOW_TYPE_ID':\r\n return { ...state, flowTypeId: action.payload as number }\r\n case 'SET_PRIZES':\r\n return { ...state, prizes: action.payload as Prize[] }\r\n case 'SET_SELECT_PRIZE':\r\n return { ...state, selectPrize: action.payload as Prize }\r\n case 'SET_SELECT_PRIZE_WAREHOUSE':\r\n return { ...state, wareHouse: action.payload as WareHouseType[]}\r\n case 'SET_SELECT_WAREHOUSE':\r\n return { ...state, selectWarehouse: action.payload as WareHouseType}\r\n case 'SET_PRIZE_EXCHANGE':\r\n return { ...state, prizeExchange: action.payload as Prize}\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default prizesReducer","import { GET_PRIZES, GET_PRIZE_WARE_HOUSE } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport axios, { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { PrizeResponse, Prize, WareHouseType } from '../types'\r\nimport prizesReducer, { PrizesAction, PrizesState } from './prizes-reducer'\r\nexport interface PrizesContextProps {\r\n state: PrizesState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst PrizesContext = createContext({} as PrizesContextProps)\r\n\r\nexport const PrizesProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(prizesReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const { push } = useRouter()\r\n const [{ data = {} as PrizeResponse, loading, error }, refetch] = useAxios(\r\n {\r\n url: GET_PRIZES,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { useCache: false }\r\n )\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data?.prize?.length > 0) {\r\n dispatch({\r\n type: 'SET_PRIZES', payload: data?.prize.map(item => {\r\n if (item?.status === 5 || (item.status === 10 && !item.imageUrl)) {\r\n item.imageUrl = `${AZURE_BASE_URL}/surprise.png`\r\n }\r\n return item\r\n })\r\n })\r\n dispatch({ type: 'SET_FLOW_TYPE_ID', payload: data?.configuration?.prizeFlowTypeId })\r\n }\r\n }, [data])\r\n\r\n useEffect(() => {\r\n if (error) {\r\n dispatch({ type: 'SET_ERROR', payload: error.response?.data?.code })\r\n return push('/prizes/error')\r\n }\r\n }, [error])\r\n\r\n return {children}\r\n}\r\n\r\nexport const usePrizes = () => {\r\n const { state, dispatch, refetch } = useContext(PrizesContext)\r\n const { push } = useRouter()\r\n const [{ data: session }] = useSession()\r\n\r\n const setPrizes = (prizes: Prize[]) => dispatch({ type: 'SET_PRIZES', payload: prizes })\r\n const refetchPrizes = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectPrize = (prize?: Prize) => dispatch({ type: 'SET_SELECT_PRIZE', payload: prize })\r\n const setSelectWareHouse = (selectWarehouse?: WareHouseType) => dispatch({ type: 'SET_SELECT_WAREHOUSE', payload: selectWarehouse })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setFlowType = (flowTypeId?: number) => dispatch({ type: 'SET_FLOW_TYPE_ID', payload: flowTypeId })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/prizes/error')\r\n }\r\n \r\n const getWareHouse = async (id: number) => {\r\n const { data } = await axios.get(`${GET_PRIZE_WARE_HOUSE.replace(':id', `${id}`)}`, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n dispatch({ type: 'SET_SELECT_PRIZE_WAREHOUSE', payload: data })\r\n }\r\n\r\n const setPrizeExchange = (prize: Prize) => dispatch({ type: 'SET_PRIZE_EXCHANGE', payload: prize })\r\n\r\n const actions = { setPrizes, refetchPrizes, setSelectPrize, setError, setCongrats, setFlowType, getWareHouse, setSelectWareHouse, setPrizeExchange}\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}\r\n","import { AxiosError } from \"axios\"\r\n\r\ninterface Playable {\r\n advance: any\r\n bestScore: number\r\n game: {\r\n description: string\r\n id: number\r\n name: string\r\n imageUrl: string\r\n prize: string\r\n status: number\r\n validFrom: string\r\n validTo: string\r\n }\r\n prize: {\r\n description: string\r\n imageUrl: string\r\n points: number\r\n productId: number\r\n profile: {\r\n totalPoints: number\r\n chances: number\r\n }\r\n temporalActivation: boolean\r\n title: string\r\n }\r\n status: number\r\n}\r\n\r\nexport interface PlayableState {\r\n playables?: any[],\r\n playable: Playable,\r\n error?: AxiosError,\r\n finished: boolean,\r\n currentPlayable: any\r\n lastScore: number\r\n advance?: { level: number, points: number }[]\r\n prize?: any\r\n}\r\n\r\nexport enum PlayableActionsType {\r\n RESET = 'RESET',\r\n SET_PLAYABLES = 'SET_PLAYABLES',\r\n SET_PLAYABLE = 'SET_PLAYABLE',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_CONGRATS = 'SET_CONGRATS',\r\n SET_PLAY = 'SET_PLAY',\r\n SET_CURRENT_PLAYABLE = 'SET_CURRENT_PLAYABLE',\r\n SET_LAST_SCORE = 'SET_LAST_SCORE',\r\n SET_ADVANCE = \"SET_ADVANCE\",\r\n SET_ADVANCE_BASE = \"SET_ADVANCE_BASE\",\r\n SET_PRIZE = \"SET_PRIZE\"\r\n}\r\n\r\nexport interface PlayableAction {\r\n payload?: any\r\n type: PlayableActionsType\r\n}\r\n\r\nconst playableReducer = (state: PlayableState, action: PlayableAction): PlayableState => {\r\n switch (action.type) {\r\n case PlayableActionsType.SET_PLAYABLES:\r\n return { ...state, playables: action.payload }\r\n case PlayableActionsType.SET_ADVANCE:\r\n return { ...state, advance: [...(state.advance ?? []), action.payload] }\r\n case PlayableActionsType.SET_ADVANCE_BASE:\r\n return { ...state, advance: action.payload ?? []}\r\n case PlayableActionsType.SET_LAST_SCORE:\r\n return { ...state, lastScore: action.payload }\r\n case PlayableActionsType.SET_PRIZE:\r\n return { ...state, prize: action.payload }\r\n case PlayableActionsType.SET_PLAYABLE:\r\n return { ...state, playable: action.payload }\r\n case PlayableActionsType.SET_CURRENT_PLAYABLE:\r\n return { ...state, currentPlayable: action.payload }\r\n case PlayableActionsType.SET_PLAY:\r\n return { ...state, playable: action.payload }\r\n case PlayableActionsType.SET_CONGRATS:\r\n return { ...state, finished: true }\r\n case PlayableActionsType.SET_ERROR:\r\n return { ...state, error: action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default playableReducer","import { PLAYABLE_LIST, PLAYABLE_VALIDATE, PLAYABLE_PLAY, PLAYABLE_SAVE } from 'constants/api';\r\nimport { createContext, useContext, useReducer, Dispatch, FC } from 'react';\r\nimport axios from 'axios';\r\nimport { useSession } from 'contexts/session-context';\r\nimport reducer, { PlayableState, PlayableAction, PlayableActionsType } from './reducer'\r\nimport { levels } from './data';\r\n\r\nexport interface PlayableReducer {\r\n state: PlayableState,\r\n dispatch: Dispatch\r\n}\r\n\r\nconst PlayableContext = createContext({} as PlayableReducer);\r\n\r\nconst PlayableProvider: FC = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, {} as PlayableState)\r\n\r\n return {children}\r\n}\r\n\r\nexport const usePlayable = () => {\r\n\r\n const [{ data: session }] = useSession()\r\n\r\n const { state, dispatch } = useContext(PlayableContext)\r\n\r\n const setError = (err: any) => {\r\n dispatch({\r\n type: PlayableActionsType.SET_ERROR,\r\n payload: err\r\n })\r\n }\r\n\r\n const getPlayables = async () => {\r\n try {\r\n const response = await axios.get(PLAYABLE_LIST, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1\r\n }\r\n })\r\n console.log('getPlayables', response.data)\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLES,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return response.data\r\n } catch (e) {\r\n console.error(e)\r\n }\r\n }\r\n\r\n const validatePlayable = async (playableId: string) => {\r\n try {\r\n const response = await axios.post(PLAYABLE_VALIDATE.replace(':playableId', playableId), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1\r\n }\r\n })\r\n\r\n if (response.data) {\r\n const levelIndex = Math.min(response.data.advance.length, levels.length - 1) ?? 0;\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLE,\r\n payload: response.data\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[levelIndex],\r\n });\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE_BASE,\r\n payload: response.data.advance\r\n })\r\n\r\n return (response.data.advance.length === 0)\r\n }\r\n\r\n return true\r\n } catch (error) {\r\n console.error('validate playable err', error.response?.data.code)\r\n setError(error.response?.data.code)\r\n throw error\r\n }\r\n }\r\n\r\n const playPlayable = async (playableId: string) => {\r\n try {\r\n const response = await axios.put(PLAYABLE_PLAY.replace(':playableId', playableId), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1 \r\n }\r\n })\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAY,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return true\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n const savePlayableData = async (playableId: string, level: number, score: number) => {\r\n console.log('state?.advance', state?.advance)\r\n try {\r\n const response = await axios.put(PLAYABLE_SAVE.replace(':playableId', playableId), [\r\n ...(state.advance ?? []),\r\n { level, points: score }\r\n ], {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID??1 \r\n }\r\n });\r\n console.log('adv', [\r\n ...(state.advance ?? []),\r\n { level, points: score }\r\n ])\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE,\r\n payload: { level, points: score }\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAYABLE,\r\n payload: response.data\r\n })\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PRIZE,\r\n payload: response?.data?.prize\r\n })\r\n\r\n console.log('Data saved successfully:', response.data);\r\n\r\n return response.data\r\n } catch (error) {\r\n console.error('Error saving data:', error);\r\n }\r\n };\r\n\r\n const sendScore = (score: number) => {\r\n console.log('state?.advance', state?.advance)\r\n dispatch({\r\n type: PlayableActionsType.SET_LAST_SCORE,\r\n payload: score\r\n })\r\n }\r\n \r\n const changeLevel = (data: any) => {\r\n const levelIndex = Math.min(data.advance.length, levels.length - 1);\r\n console.log('levelIndex', levelIndex)\r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[levelIndex],\r\n });\r\n }\r\n\r\n const playAgain = async (playableId: string) => {\r\n const reponse = await playPlayable(playableId)\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_PLAY,\r\n payload: reponse\r\n })\r\n \r\n dispatch({\r\n type: PlayableActionsType.SET_CURRENT_PLAYABLE,\r\n payload: levels[0],\r\n });\r\n\r\n dispatch({\r\n type: PlayableActionsType.SET_ADVANCE,\r\n payload: []\r\n })\r\n }\r\n\r\n const deletePrize = () => {\r\n dispatch({\r\n type: PlayableActionsType.SET_PRIZE,\r\n payload: null\r\n })\r\n }\r\n\r\n const methods = { getPlayables, validatePlayable, playPlayable, setError, savePlayableData, sendScore, changeLevel, playAgain, deletePrize }\r\n\r\n const values = [state, methods] as [PlayableState, typeof methods]\r\n\r\n return values\r\n}\r\n\r\nexport default PlayableProvider","/* eslint-disable no-case-declarations */\r\nexport interface IEvent {\r\n \"id\": number,\r\n \"name\": string,\r\n \"description\": string,\r\n \"statusId\": number,\r\n \"status\": string,\r\n \"beginAt\": string,\r\n \"endAt\": string,\r\n \"createdAt\": string,\r\n \"updatedAt\": string,\r\n \"imageUrl\": string,\r\n \"configurationId\": number,\r\n \"minZoom\": number,\r\n \"maxZoom\": number,\r\n \"center\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n \"southWest\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n \"northEast\": {\r\n \"latitude\": number,\r\n \"longitude\": number\r\n },\r\n}\r\n\r\nexport enum EventPlaceEnum {\r\n \"Scenario\" = 1,\r\n \"Market\" = 2,\r\n \"Restrooms\" = 3,\r\n \"Store\" = 4,\r\n \"Exit\" = 5,\r\n \"Emergency exit\" = 6,\r\n \"Information\" = 7,\r\n \"Activity\" = 8,\r\n \"Parking\" = 20,\r\n \"Im\" = 21,\r\n}\r\n\r\nexport interface IEventPlaces {\r\n \"id\"?: number,\r\n \"name\"?: string,\r\n \"description\"?: string,\r\n \"latitude\"?: string,\r\n \"longitude\"?: string,\r\n \"imageUrl\": string,\r\n \"status\"?: boolean,\r\n \"createdAt\"?: string,\r\n \"eventPlaceTypeId\": number,\r\n \"eventPlaceType\": string,\r\n \"width\"?: number,\r\n \"height\"?: number\r\n}\r\n\r\nexport type EventsActionType = 'SET_EVENT' | 'SET_EVENT_PLACES'\r\n\r\nexport interface EventsState {\r\n event?: IEvent\r\n places?: IEventPlaces[]\r\n}\r\n\r\nexport interface EventsAction {\r\n type: EventsActionType\r\n payload: EventsState | IEvent | IEventPlaces[] | number\r\n}\r\n\r\nfunction eventsReducer(state: EventsState, action: EventsAction): EventsState {\r\n switch (action.type) {\r\n case 'SET_EVENT':\r\n return { ...state, event: action.payload as IEvent }\r\n case 'SET_EVENT_PLACES':\r\n return { ...state, places: action.payload as IEventPlaces[] }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default eventsReducer","import { MainContext } from 'contexts/main-class-context'\r\nimport { useContext, useEffect } from 'react'\r\n\r\nfunction useMainClass(className: string) {\r\n const { setClassMain } = useContext(MainContext)\r\n\r\n const setter = (className: string) => {\r\n setClassMain((prev) => [...prev, className])\r\n }\r\n\r\n const remove = (className: string) => {\r\n setClassMain((prev) => [...prev].filter((item) => item !== className))\r\n }\r\n\r\n useEffect(() => {\r\n setter(className)\r\n\r\n return () => {\r\n remove(className)\r\n }\r\n },[])\r\n}\r\n\r\nexport default useMainClass","import { Raffle } from '../types'\r\n\r\nexport type RafflesActionType = 'SET_RAFFLES' | 'SET_SELECT_RAFFLE' | 'SET_ERROR' | 'SET_CONGRATS'\r\n\r\nexport interface RafflesState {\r\n raffles?: Raffle[]\r\n selectRaffle?: Raffle\r\n error?: number\r\n congrats?: boolean\r\n}\r\n\r\nexport interface RafflesAction {\r\n type: RafflesActionType\r\n payload: RafflesState | Raffle[] | Raffle | number | boolean \r\n}\r\n\r\nfunction raffleReducer(state: RafflesState, action: RafflesAction): RafflesState {\r\n switch (action.type) {\r\n case 'SET_RAFFLES':\r\n return { ...state, raffles: action.payload as Raffle[] }\r\n case 'SET_SELECT_RAFFLE':\r\n return { ...state, selectRaffle: action.payload as Raffle }\r\n case 'SET_CONGRATS':\r\n return { ...state, congrats: action.payload as boolean } \r\n case 'SET_ERROR':\r\n return { ...state, error: action.payload as number } \r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default raffleReducer","import { GET_RAFFLES } from 'constants/api'\r\nimport useAxios, { RefetchOptions } from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { createContext, Dispatch, FunctionComponent, useContext, useEffect, useReducer } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AxiosPromise, AxiosRequestConfig } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { Raffle, RaffleAdapter, RaffleDto } from '../types'\r\nimport rafflesReducer, { RafflesAction, RafflesState } from './raffles-reducer'\r\n\r\nexport interface RafflesContextProps {\r\n state: RafflesState\r\n dispatch: Dispatch\r\n refetch: (config?: AxiosRequestConfig, options?: RefetchOptions) => AxiosPromise\r\n}\r\n\r\nconst RafflesContext = createContext({} as RafflesContextProps)\r\n\r\nexport const RafflesProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(rafflesReducer, {})\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }, refetch] = useAxios({\r\n url: GET_RAFFLES,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n useEffect(() => {\r\n if (data.length > 0) {\r\n dispatch({ type: 'SET_RAFFLES', payload: data.map((raffle) => RaffleAdapter(raffle)) })\r\n }\r\n }, [data])\r\n\r\n return {children}\r\n}\r\n\r\nexport const useRaffles = () => {\r\n const { state, dispatch, refetch } = useContext(RafflesContext)\r\n const { push } = useRouter()\r\n\r\n const setRaffles = (raffles: Raffle[]) => dispatch({ type: 'SET_RAFFLES', payload: raffles })\r\n const refetchRaffles = (config?: AxiosRequestConfig) => refetch(config)\r\n const setSelectRaffle = (raffle?: Raffle) => dispatch({ type: 'SET_SELECT_RAFFLE', payload: raffle })\r\n const setCongrats = (congrats?: boolean) => dispatch({ type: 'SET_CONGRATS', payload: congrats })\r\n const setError = (error: number) => {\r\n dispatch({ type: 'SET_ERROR', payload: error })\r\n if (error) return push('/raffles/error')\r\n }\r\n const actions = { setRaffles, refetchRaffles, setSelectRaffle, setError, setCongrats }\r\n\r\n const returnValue: [typeof state, typeof actions] = [state, actions]\r\n return returnValue\r\n}","export interface RaffleDto {\r\n id: number\r\n title: string\r\n imageUrl: string\r\n secondaryImageUrl: string\r\n sorteoId: number\r\n description: string\r\n}\r\n\r\nexport interface Raffle {\r\n productId: number\r\n title: string\r\n src: string\r\n secondaryImageUrl: string\r\n sortId: number\r\n description: string\r\n}\r\n\r\nexport interface SurveyDto {\r\n questionId: number\r\n question: string\r\n options: [\r\n {\r\n optionId: number\r\n option: string\r\n imageUrl: string\r\n }\r\n ]\r\n type: {\r\n id: number\r\n name: string\r\n }\r\n}\r\n\r\nexport interface Survey {\r\n id: number\r\n question: string\r\n options: Options[]\r\n type: string\r\n}\r\n\r\nexport interface Options {\r\n id: number\r\n option: string\r\n src: string\r\n}\r\n\r\nexport interface WinnerDto {\r\n ganador: string\r\n sorteoDate: Date\r\n sorteoId: number\r\n productId: number\r\n title: string\r\n}\r\n\r\nexport interface Winner {\r\n name: string\r\n date: Date\r\n id: number\r\n productId: number\r\n}\r\n\r\nexport const RaffleAdapter = (raffle: RaffleDto): Raffle => ({\r\n productId: raffle?.id,\r\n title: raffle?.title,\r\n src: raffle?.imageUrl,\r\n secondaryImageUrl: raffle?.secondaryImageUrl,\r\n sortId: raffle?.sorteoId,\r\n description: raffle?.description\r\n})\r\n\r\nexport const SurveyAdapter = (survey: SurveyDto): Survey => ({\r\n id: survey?.questionId,\r\n question: survey?.question,\r\n options: survey?.options?.map((option) => ({\r\n id: option?.optionId,\r\n option: option?.option,\r\n src: option?.imageUrl\r\n })),\r\n type: survey?.type?.name\r\n})\r\n","import { Memorama, MemoramaWinner } from '../types'\r\n\r\nexport type MemoramaActionType = 'SET_MEMORAMAS_LIST' | 'SET_MEMORAMA_CURRENT' |'SET_WINNER'\r\n\r\nexport interface MemoramaState {\r\n memoramasList?: Memorama[]\r\n currentMemorama?: Memorama\r\n winner?: MemoramaWinner\r\n}\r\n\r\nexport interface MemoramaAction {\r\n type: MemoramaActionType\r\n payload: MemoramaState | Memorama[] | Memorama | MemoramaWinner\r\n}\r\n\r\nfunction albumReducer(state: MemoramaState, action: MemoramaAction): MemoramaState {\r\n switch (action.type) {\r\n case 'SET_MEMORAMAS_LIST':\r\n return { ...state, memoramasList: action.payload as Memorama[] }\r\n case 'SET_MEMORAMA_CURRENT':\r\n return { ...state, currentMemorama: action.payload as Memorama }\r\n case 'SET_WINNER':\r\n return { ...state, winner: action.payload as MemoramaWinner }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default albumReducer","import { createContext, Dispatch, FunctionComponent, useReducer } from 'react'\r\nimport MemoramaReducer, { MemoramaAction, MemoramaState } from './memorama-reducer'\r\n\r\nexport interface MemoramaContextProps {\r\n state: MemoramaState\r\n dispatch: Dispatch\r\n}\r\n\r\nexport const MemoramaContext = createContext({} as MemoramaContextProps)\r\n\r\nexport const MemoramaProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(MemoramaReducer, {})\r\n\r\n return {children}\r\n}","import { GET_LINEUPS, GET_LINEUPS_PROFILE } from \"constants/api\"\r\nimport dayjs from \"dayjs\";\r\nimport { useContext, useEffect, useState } from \"react\"\r\nimport useOfflineData from \"hooks/use-offline-data\"\r\nimport useLocalStorage from \"hooks/use-local-storage\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport axios from \"axios\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport CONFIGS from \"build/Config\";\r\nimport { IArtist, IArtistDTO, ILineup, ILineupAllDTO } from \"../types\"\r\nimport 'dayjs/locale/es';\r\nimport { useLineupContext } from \"..\";\r\n\r\ndayjs.locale('es');\r\n\r\n\r\nconst transform = (data: ILineupAllDTO): ILineup[] => {\r\n const dates: ILineup[] = []\r\n\r\n data?.eventLineUpItems?.forEach((artist) => {\r\n const currentDay = dayjs(artist?.beginAt).format('YYYY-MM-DD')\r\n const existIndex = dates?.findIndex((item) => item.day === currentDay) \r\n\r\n const adaptedArtist = {\r\n id: artist?.id,\r\n validFrom: artist?.beginAt,\r\n validTo: artist?.endAt,\r\n imageSrc: artist?.imageUrl,\r\n name: artist?.name,\r\n stage: artist?.eventPlace,\r\n description: artist?.description\r\n }\r\n\r\n if (dates[existIndex]) {\r\n dates[existIndex] = {\r\n ...dates[existIndex],\r\n artists: [\r\n ...dates[existIndex].artists,\r\n adaptedArtist\r\n ]\r\n }\r\n } else {\r\n dates.push({\r\n id: currentDay,\r\n day: currentDay,\r\n artists: [\r\n adaptedArtist\r\n ]\r\n })\r\n }\r\n })\r\n\r\n return dates\r\n}\r\n\r\nexport const useLineups = (eventId?: number) => {\r\n const { data } = useOfflineData({ offline: 'lineup-create', url: `${GET_LINEUPS.replace(':id', eventId ? `${eventId}` : '0')}`})\r\n const [ transformedData, setTransformedData ] = useState([])\r\n\r\n useEffect(() => {\r\n if (data) {\r\n setTransformedData(transform(data))\r\n }\r\n },[data])\r\n\r\n\r\n return { data: transformedData, dataNotTransformed: data, eventId: data?.eventId, lineupId: data?.id }\r\n}\r\n\r\nexport const useLineupsProfile = (eventId?: number) => {\r\n const [data, setData] = useState(null)\r\n const { lineups } = useLineupContext()\r\n const [lineup, setLineup] = useLocalStorage('lineup')\r\n const isOnline = useOnline()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const fetcher = async () => {\r\n setLoad(true)\r\n try {\r\n const ids = []\r\n if (CONFIGS.lineupOnlyShow) {\r\n ids.push(...lineups?.reduce((prev, item) => [...prev, ...(item.artists?.map(artist => artist.id))], []))\r\n const data: IArtistDTO[] = lineups?.reduce((prev: IArtist[], item) => [...prev, ...item?.artists], []).map((item) => ({ id: item?.id, beginAt: item?.validTo, endAt: item?.validFrom, description: item?.description, eventPlace: item?.stage, imageUrl: item?.name, name: item?.name }))\r\n setLineup(transform({ eventLineUpItems: data }))\r\n } else if (isOnline) {\r\n const { data: response } = await axios.get(`${GET_LINEUPS_PROFILE.replace(':id', eventId ? `${eventId}` : `0`)}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setLineup(transform(response))\r\n response?.eventLineUpItems?.forEach((item) => ids.push(item?.id))\r\n } else {\r\n lineup?.forEach((item) => {\r\n item?.artists?.forEach((artist) => {\r\n ids.push(artist?.id)\r\n })\r\n })\r\n }\r\n\r\n if (ids.length > 0) {\r\n setData(ids)\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n fetcher()\r\n }, [])\r\n \r\n return data\r\n}","import axios from \"axios\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport { useContext, useEffect, useState } from \"react\"\r\n\r\ninterface IProps {\r\n url?: string,\r\n offline: string\r\n}\r\n\r\nexport default function useOfflineData ({ offline, url }: IProps){\r\n const isOnline = useOnline()\r\n const [data, setData] = useState()\r\n const [error, setError] = useState()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const handlerFetcher = async () => {\r\n const { data } = await axios.get(`${url}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setData(data)\r\n }\r\n\r\n const handlerOffline = async () => {\r\n const { default: json } = await import(`build/offline/${offline}.json`)\r\n setData(json[process.env.NODE_ENV])\r\n }\r\n\r\n const handler = async () => {\r\n setLoad(true)\r\n try {\r\n if (isOnline) {\r\n handlerFetcher()\r\n } else {\r\n handlerOffline()\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n handler()\r\n }, [])\r\n \r\n\r\n return {data, error, setError}\r\n}","interface IProps {\r\n onExit: () => void\r\n children: JSX.Element\r\n}\r\n\r\nexport default function BottomPopUp({ children, onExit }: IProps) {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n )\r\n}","import { useMemo } from 'react'\r\nimport { StepText, ProgressContainerSteps, ProgressSteps } from 'theme/theme'\r\n\r\ninterface IProps {\r\n current: number\r\n total: number\r\n}\r\n\r\nconst Stepper = ({ current, total }: IProps) => {\r\n\r\n const percentageStep = useMemo(() => {\r\n return (current * 100) / total\r\n }, [current])\r\n\r\n return (\r\n
\r\n \r\n {current} / {total}\r\n \r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Stepper\r\n","import { createContext, useState } from 'react'\r\nexport interface LoaderContextProps {\r\n load: boolean\r\n setLoad: any\r\n head: boolean\r\n setHead: any\r\n footer: boolean\r\n setFooter: (value: boolean) => void;\r\n}\r\n\r\nconst LoaderContext = createContext({} as LoaderContextProps)\r\n\r\nconst LoaderProvider = ({ children }) => {\r\n const [load, setLoad] = useState(false)\r\n const [head, setHead] = useState(true)\r\n const [footer, setFooter] = useState(true)\r\n\r\n const data = {\r\n load,\r\n setLoad,\r\n head, \r\n setHead,\r\n footer,\r\n setFooter\r\n }\r\n\r\n return {children}\r\n}\r\n\r\nexport { LoaderProvider, LoaderContext }","import React from 'react';\r\nimport modules from 'build/modules';\r\n\r\nclass TextServices {\r\n\r\n private _texts: {\r\n [key: string]: any;\r\n };\r\n\r\n public language: string;\r\n\r\n constructor() {\r\n const language = navigator.language.split('-')[0]\r\n const themeText = this.findJson()\r\n this.language = 'es'\r\n if (themeText[language]) {\r\n this._texts = themeText[language];\r\n this.language = language;\r\n } else if ((themeText as any)?.es) {\r\n this._texts = (themeText as any)?.es;\r\n } else {\r\n this._texts = themeText;\r\n }\r\n }\r\n \r\n findJson() {\r\n const textRaw = modules?.lang\r\n if (!textRaw) throw new Error('Texts not found');\r\n this._texts = textRaw;\r\n return textRaw;\r\n }\r\n\r\n findByText(path: string, defaultValue?: string | JSX.Element | { es?: string | JSX.Element, en?: string | JSX.Element }, replace?: { [key: string]: string }) {\r\n const pathSeparated = path.split('/');\r\n const text = pathSeparated.reduce((acc: any, item: string) => {\r\n if (!acc || !acc[item]) return null;\r\n return acc[item];\r\n }, this._texts);\r\n \r\n if (!text) {\r\n if (this.language && typeof defaultValue === 'object') {\r\n if (Object.keys(defaultValue ?? {}).includes(this.language)) {\r\n return defaultValue[this.language]\r\n } else if (Object.keys(defaultValue ?? {}).includes('es')) {\r\n return (defaultValue as any)?.es\r\n }\r\n }\r\n\r\n return defaultValue ?? path;\r\n }\r\n \r\n let replacedText = text;\r\n \r\n if (replace && text !== ' ') {\r\n Object.keys(replace).forEach((key) => {\r\n const value = replace[key];\r\n\r\n function mapChildren(children: any) {\r\n return React.Children.map(children, (child: any) => {\r\n if (typeof child === 'string') {\r\n return child.replace(new RegExp(key, 'g'), value);\r\n } else if (React.isValidElement(child)) {\r\n return React.cloneElement(child, {}, mapChildren((child.props as any)?.children));\r\n } else {\r\n return child;\r\n }\r\n });\r\n }\r\n \r\n // Reemplazar en el texto\r\n if (typeof text === 'string') {\r\n replacedText = replacedText.replace(new RegExp(key, 'g'), value);\r\n }\r\n \r\n // Reemplazar en el JSX.Element\r\n if (React.isValidElement(replacedText)) {\r\n const children = mapChildren(replacedText)\r\n \r\n replacedText = React.cloneElement(replacedText, {}, children);\r\n }\r\n });\r\n }\r\n \r\n return replacedText;\r\n }\r\n\r\n}\r\n\r\nconst textServices = new TextServices();\r\n\r\nexport default textServices","import { useMemo } from 'react'\r\nimport { useParams, useLocation, useHistory, useRouteMatch } from 'react-router-dom'\r\nimport queryString from 'query-string'\r\n\r\nfunction useRouter() {\r\n const params = useParams()\r\n const location = useLocation()\r\n const history = useHistory()\r\n const match = useRouteMatch()\r\n return useMemo(() => {\r\n return {\r\n push: history.push,\r\n replace: history.replace,\r\n pathname: location.pathname,\r\n url: match.url,\r\n search: location.search,\r\n query: {\r\n ...queryString.parse(location.search),\r\n ...params\r\n },\r\n match,\r\n location,\r\n history\r\n }\r\n }, [params, match, location, history])\r\n}\r\n\r\nexport default useRouter\r\n","/* eslint-disable no-undef */\r\nimport { useEffect, useRef, useState } from 'react';\r\n\r\nexport const useCountDownSeconds: (\r\n total: number,\r\n ms?: number,\r\n) => [number, () => void, () => void, () => void] = (\r\n total: number,\r\n ms: number = 1000,\r\n) => {\r\n const [counter, setCountDown] = useState(total);\r\n const [startCountDown, setStartCountDown] = useState(false);\r\n // Store the created interval \r\n const intervalId = useRef();\r\n const start: () => void = () => setStartCountDown(true);\r\n const pause: () => void = () => setStartCountDown(false);\r\n const reset: () => void = () => {\r\n clearInterval(intervalId.current);\r\n setStartCountDown(false);\r\n setCountDown(total);\r\n };\r\n\r\n useEffect(() => {\r\n clearInterval(intervalId.current);\r\n setCountDown(total);\r\n }, [total])\r\n\r\n\r\n useEffect(() => {\r\n intervalId.current = setInterval(() => {\r\n startCountDown && counter > 0 && setCountDown(counter => counter - 1);\r\n }, ms);\r\n // Clear interval when count to zero\r\n if (counter === 0) clearInterval(intervalId.current);\r\n // Clear interval when unmount\r\n return () => clearInterval(intervalId.current);\r\n }, [startCountDown, counter, ms]);\r\n\r\n return [counter, start, pause, reset];\r\n};","import { forwardRef } from \"react\"\r\nimport styled from \"styled-components\"\r\nimport { InputType } from \"theme/types\"\r\n\r\nconst Input = styled.input`\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin: 0;\r\n width: 25px;\r\n height: 25px;\r\n border-radius: 50%;\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n ::after {\r\n content: \"\";\r\n display: block;\r\n margin: auto;\r\n border-radius: 9999px;\r\n width: 13px;\r\n height: 13.2px;\r\n }\r\n ${({ theme }) => theme?.inputRadio?.input}\r\n`\r\n\r\nconst CustomRadio = forwardRef((props, ref) => {\r\n return \r\n})\r\n\r\nCustomRadio.displayName = 'CustomRadio'\r\n\r\nexport default CustomRadio;","import { SVGProps } from 'react'\r\n\r\nfunction SearchIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SearchIcon\r\n\r\n\r\n","import { SVGProps } from 'react'\r\n\r\nfunction UbicationIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default UbicationIcon\r\n\r\n\r\n","import React, { SVGProps } from 'react'\r\n\r\nfunction BottomArrow(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default BottomArrow","import React from 'react'\r\n\r\nfunction More(props: React.SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default More","import { SubTitle, Text, Title } from \"theme/theme\";\r\nimport styled from 'styled-components';\r\nimport { Type } from './../../../../theme/types/generic.interface';\r\n\r\nexport const TitleRange = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.range?.text?.title}\r\n`\r\n\r\nexport const SubTitleRange = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.range?.text?.subtitle}\r\n`\r\n\r\nexport const TextCongratsRange = styled(Text)`\r\n font-size: 10px;\r\n ${({ theme }: Type) => theme?.range?.text?.text}\r\n`","import useLocalStorage from 'hooks/use-local-storage';\r\nimport ButtonCloseMenu from 'components/button-close';\r\nimport { useEffect } from 'react'\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport textServices from 'services/text-services';\r\nimport { SectionCongrats } from 'theme/congrats';\r\nimport { TitleRange } from './components/style/text'\r\n\r\n\r\ninterface RangeProps {\r\n data: {\r\n level: { id: number, name: string, imageUrl: string }\r\n }\r\n history: RouteComponentProps[\"history\"],\r\n name: string\r\n}\r\n\r\nfunction Range({ data, history }: RangeProps) {\r\n\r\n const [, , removeRange] = useLocalStorage('range', {})\r\n\r\n useEffect(() => {\r\n removeRange()\r\n }, [])\r\n\r\n return (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n history.push('/congrats')\r\n }}\r\n />\r\n \r\n ¡{textServices.findByText('congrats/range/title', { es: 'Vaaaaaaamos ', en: 'Come on' })}!\r\n
\r\n

{textServices.findByText('congrats/range/description', { es: <>Ahora eres
{data.level?.name}, en: <>You are now
{data.level?.name} })}

\r\n \r\n
\r\n

{textServices.findByText('congrats/range/description2', { es: <>FELICITACIONES
HAS DESBLOQUEADO NUEVAS
COSAS EN PROMOHUB XP, en: <>CONGRATULATIONS
YOU HAVE UNLOCKED NEW
THINGS IN PROMOHUB XP })}

\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Range\r\n","import React from \"react\"\r\n\r\nclass RoutesConfigAlbum {\r\n\r\n public path = '/album'\r\n public component: React.LazyExoticComponent<() => JSX.Element>\r\n public exact = true\r\n public isActiveWhenAlbumIsComplete = false\r\n public routeToRedirect: string \r\n\r\n constructor(path: string, component: React.LazyExoticComponent<() => JSX.Element>, isActiveWhenAlbumIsComplete: boolean = false, redirect = '/album/:id/ranking', exact: boolean = true) {\r\n this.path = path\r\n this.component = component\r\n this.isActiveWhenAlbumIsComplete = isActiveWhenAlbumIsComplete\r\n this.routeToRedirect = redirect\r\n this.exact = exact\r\n }\r\n\r\n}\r\n\r\nexport default RoutesConfigAlbum","import { lazy } from \"react\";\r\nimport RoutesConfigAlbum from \"./routes-config\";\r\nconst List = lazy(() => import('../../views/multimedia/views/list'))\r\nconst Ranking = lazy(() => import('../../views/multimedia/views/ranking'))\r\nconst ImageId = lazy(() => import('../../views/multimedia/views/image-id'))\r\nconst Upload = lazy(() => import('../../views/multimedia/components/onBoarding'))\r\nconst Profile = lazy(() => import('../../views/multimedia/views/profile'))\r\n\r\nexport const RoutesAlbumDefinitions = [\r\n new RoutesConfigAlbum(\"/album/:id/list\", List),\r\n new RoutesConfigAlbum(\"/album/:id/ranking\", Ranking, true),\r\n new RoutesConfigAlbum(\"/album/:id/image/:code\", ImageId, true),\r\n new RoutesConfigAlbum(\"/album/:id/upload\", Upload),\r\n new RoutesConfigAlbum(\"/album/:id/profile\", Profile, true),\r\n]","import useMainClass from 'hooks/use-main-cass'\r\nimport PopUp from 'components/popUps'\r\nimport { Dispatch, SetStateAction, useContext, useEffect } from 'react';\r\nimport Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Link, useLocation, useHistory } from 'react-router-dom';\r\nimport { ClientContext } from 'contexts/client-num-context';\r\n\r\ninterface IProps {\r\n setError: Dispatch>;\r\n isError: boolean;\r\n}\r\n\r\nconst PopupClient = ({ isError = false, setError}: IProps) => {\r\n useMainClass('album__multimedia__upload__popup')\r\n const { setFooter } = useContext(LoaderContext)\r\n const { setClientNum } = useContext(ClientContext)\r\n const location = useLocation()\r\n const history = useHistory()\r\n useEffect(() => {\r\n setFooter(false)\r\n }, [])\r\n\r\n const handleClick = () => {\r\n if (isError) {\r\n setError(false)\r\n return \r\n }\r\n setClientNum(false)\r\n if (location.pathname === '/consumption/update') {\r\n history.push('/profile/consumption')\r\n }\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n {\r\n isError \r\n ? (\r\n <>\r\n

Ha ocurrido
un error

\r\n

Es posible que hayas ingresado un número
incorrecto o inexistente.
Por favor inténtalo nuevamente

\r\n \r\n )\r\n : (\r\n <>\r\n

¡Excelente!

\r\n

Has ingresado con éxito tu número de cliente. Puedes continuar con la dinámica.

\r\n \r\n \r\n )\r\n }\r\n\r\n
\r\n
\r\n {\r\n isError && (\r\n

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos\r\n ayudarte. Envíanos un mensaje.\r\n

\r\n )\r\n }\r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default PopupClient","import { CLIENT_CODE } from 'constants/api'\r\nimport { useState, useContext } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { Link } from 'react-router-dom'\r\nimport { ClientContext } from 'contexts/client-num-context'\r\nimport Button from 'components/button'\r\nimport { Input, ErrorInput } from 'theme/theme'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport ProfileService from 'services/profile-services'\r\nimport PopupClient from 'views/album/views/multimedia/components/PopupClient'\r\n\r\nconst ClientNum = () => {\r\n const [{ data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [confirmData, setConfirmData] = useState(false)\r\n const {\r\n register,\r\n formState: { errors },\r\n handleSubmit\r\n } = useForm({ resolver: yupResolver(formServices.formGenerateSchema(['clientNum'])) })\r\n const [consumptionData, setConsumptionData] = useState(null)\r\n const [error, setError] = useState(false)\r\n const [popup, setPopup] = useState(false)\r\n const { setClientNum, setShowInputNumber } = useContext(ClientContext)\r\n\r\n interface IData {\r\n clientNum: string\r\n }\r\n\r\n const handleSubmitForm = async (data: IData) => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.post(CLIENT_CODE.replace(':clientNum', data?.clientNum), undefined, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response?.data?.length) {\r\n setConsumptionData(response?.data[0])\r\n setConfirmData(!confirmData)\r\n } else {\r\n setError(true)\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handlePush = () => {\r\n setClientNum(true)\r\n setShowInputNumber(false)\r\n }\r\n\r\n if (popup) {\r\n return \r\n }\r\n\r\n const confirmFn = async () => {\r\n try {\r\n setLoad(true)\r\n const response = await ProfileService.updateConsumption({\r\n session: session,\r\n consumptionId: consumptionData?.id\r\n })\r\n setUser(response?.data)\r\n setPopup(!popup)\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (confirmData) {\r\n return (\r\n
\r\n
\r\n

¿Cuál es tu NÚMERO DE CLIENTE?

\r\n

CONFIRMA QUE LOS DATOS SON CORRECTOS

\r\n
\r\n

{consumptionData?.internalId}

\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n\r\n
\r\n

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos
\r\n ayudarte.{' '}\r\n \r\n Envíanos un mensaje.\r\n \r\n

\r\n \r\n
\r\n
\r\n )\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n

¿Cuál es tu NÚMERO DE CLIENTE?

\r\n

BúSCALO EN LOS MATERIALES IMPRESOS E INGRESALO en el siguiente campo:

\r\n \r\n \r\n \r\n \r\n {/* */}\r\n
\r\n
\r\n

\r\n ¿NO PUEDES AVANZAR?
\r\n Ponte en contacto con nosotros para que podamos
\r\n ayudarte.{' '}\r\n \r\n Envíanos un mensaje.\r\n \r\n

\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ClientNum\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"collapsible\":\"help_collapsible__28lPP\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"styles_wrapper__27Nq9\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrappercookies\":\"stylecookies_wrappercookies__2Enff\"};","import { prettyError, prettyErrorButton, prettyErrorDescription, prettyErrorSubButton } from 'constants/errors'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport GenericError from 'components/generic-error'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { useBg } from 'hooks/use-white-bg'\r\nimport useRouter from 'hooks/use-router'\r\nimport { SectionError } from 'theme/error'\r\nimport { LiError, TextError, TitleError, IconError } from 'components/generic-error/components/style/text'\r\nimport { Link } from 'react-router-dom'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\n\r\ntype IFunctionRetry = (code: number | string | null) => void\r\n\r\nexport const ContainerError = ({ children, handleMenu }: { children: JSX.Element, handleMenu: () => void }) => {\r\n const [shouldUseWhiteBg] = useState(useBg)\r\n useMainClass('error')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: !CONFIGS?.error?.dontUseSecondBg\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, 200)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n\r\n return (\r\n
\r\n \r\n
\r\n {children}\r\n
\r\n
\r\n )\r\n}\r\n\r\nfunction ErrorView({ code, onRetry, buttonMenu, onSubRetry }: { code: number | string | null, onRetry?: IFunctionRetry, onSubRetry?: IFunctionRetry, buttonMenu?: IFunctionRetry }) {\r\n const { title, description, button, subButton } = { title: prettyError(code), description: prettyErrorDescription(code), button: prettyErrorButton(code), subButton: prettyErrorSubButton(code) }\r\n const { history } = useRouter()\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n const handleMenu = () => {\r\n if (buttonMenu) buttonMenu(code)\r\n }\r\n\r\n const handleButton = () => {\r\n if (onRetry) onRetry(code)\r\n }\r\n\r\n const handleRetry = () => {\r\n if (title === 'Ha ocurrido un error') return history.push('/help')\r\n return handleButton()\r\n }\r\n\r\n const handleSubRetry = () => {\r\n if (onSubRetry) onSubRetry(code)\r\n }\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function ErrorListView({ code, list, buttonMenu }: { list: string[], code: number | string | null, onRetry?: IFunctionRetry, buttonMenu?: IFunctionRetry }) {\r\n const { title, description } = { title: prettyError(code), description: prettyErrorDescription(code) }\r\n\r\n const handleMenu = () => {\r\n if (buttonMenu) buttonMenu(code)\r\n }\r\n\r\n return (\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {title}\r\n {description}\r\n
\r\n
    \r\n {\r\n list?.map((item: string, index) => (\r\n {item}\r\n ))\r\n }\r\n
\r\n
\r\n
\r\n
\r\n {textServices.findByText('error/notLikeThat/title', { es: '¿Te parece que no es asi?', en: 'Do you think it is not so?' })}\r\n {textServices.findByText('error/notLikeThat/description', { es: <>Ponte en contacto con nosotros para que podamos ayudarte. Mándanos un mensaje, en: <>Please contact us so we can help you. Message us })}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default ErrorView;","import { ButtonMenu, SpanMenu } from 'theme/header'\r\n\r\ninterface IProps {\r\n paramFn: () => void\r\n bgTransparent?: boolean\r\n open?: boolean\r\n}\r\n\r\nconst ButtonCloseMenu = ({ paramFn = () => null, bgTransparent = false, open = false }: IProps) => {\r\n const bg = bgTransparent ? { backgroundColor: `${bgTransparent ? 'transparent' : ''}` } : {}\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonCloseMenu\r\n","import {\r\n AUTH,\r\n GENRES,\r\n CHECK_ZIP,\r\n DO_RESET,\r\n OTP_GENERATE,\r\n OTP_VALIDATE,\r\n OTP_VALIDATE_EMAIL,\r\n SEND_EMAILVERIFY,\r\n SEND_RESET,\r\n UPDATE_ADDRESS,\r\n VERIFY_RESET,\r\n UPDATE_USER,\r\n POST_REFERRAL,\r\n PUT_CONTACT,\r\n SOCIAL_LOGIN,\r\n VERIFY_NICKNAME,\r\n VERIFY_REFERRALCODE,\r\n INSTAGRAM,\r\n PUT_AUTH_INSTAGRAM,\r\n UPDATE_CONSUMPTION,\r\n GET_MOVEMENTS,\r\n GET_MOVEMENTS_DETAILS,\r\n UPDATE_PHONE,\r\n UPDATE_NICKNAME\r\n} from 'constants/api'\r\nimport axios from 'axios'\r\nimport textServices from './text-services'\r\n\r\nconst ProfileService = {\r\n signUp(data) {\r\n return axios.post(\r\n AUTH,\r\n { ...data, utm: data.utm, lang: textServices.language },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n postReferral(data) {\r\n return axios.post(\r\n POST_REFERRAL,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${(data.credentials?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n socialLogin(data) {\r\n return axios.post(\r\n SOCIAL_LOGIN,\r\n { ...data.payload },\r\n { headers: { Authorization: `Bearer ${(data.credentials?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n signInWithEmailAndPassword(data) {\r\n return axios.post(\r\n AUTH,\r\n { isLogin: true, utm: data?.utm, lang: textServices.language },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n resendEmailVerify(params) {\r\n return axios.get(SEND_EMAILVERIFY, { params, headers: { 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n recoverPassword(params) {\r\n return axios.get(SEND_RESET, { params, headers: { 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n doReset(data) {\r\n return axios.put(DO_RESET, { ...data })\r\n },\r\n\r\n verifyReset(data) {\r\n return axios.post(VERIFY_RESET, data, { headers: { 'Content-Type': 'application/json', 'Ph-Api-Id': PH_API_ID??1 } })\r\n },\r\n\r\n checkZip(params, data) {\r\n return axios.get(CHECK_ZIP, {\r\n params,\r\n headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n updateAddres(data) {\r\n return axios.post(\r\n UPDATE_ADDRESS,\r\n { ...data.address },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpGenerate(data) {\r\n return axios.post(\r\n OTP_GENERATE,\r\n { phone: data.phone, recaptchaToken: data.recaptchaToken },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpVerifyPhone(data) {\r\n return axios.post(\r\n OTP_VALIDATE,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n otpVerifyEmail(data) {\r\n return axios.post(\r\n OTP_VALIDATE_EMAIL,\r\n { code: data.code },\r\n { headers: { Authorization: `Bearer ${(data.credentials.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n \r\n otpVerifyEmailWithAccessToken(code: string, accessToken: string) {\r\n return axios.post(\r\n OTP_VALIDATE_EMAIL,\r\n { code },\r\n { headers: { Authorization: `Bearer ${accessToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n }, \r\n\r\n genres() {\r\n return axios.get(GENRES)\r\n },\r\n\r\n updateProfile(data) {\r\n return axios.put(\r\n UPDATE_USER,\r\n { ...data.user },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n updateProfileContact(data) {\r\n return axios.put(\r\n PUT_CONTACT,\r\n { ...data.user },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n validateNickName(data) {\r\n return axios.post(VERIFY_NICKNAME, { nickname: data })\r\n },\r\n\r\n validateReferralCode(data) {\r\n return axios.post(VERIFY_REFERRALCODE, { code: data })\r\n },\r\n\r\n instagram(instagram: string, session: any) {\r\n return axios.put(INSTAGRAM, { instagram }, {headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }})\r\n },\r\n\r\n authInstagram(code: string, session: any) {\r\n return axios.put(PUT_AUTH_INSTAGRAM, { code }, {headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1}})\r\n },\r\n\r\n updateConsumption(data) {\r\n return axios.put(\r\n `${UPDATE_CONSUMPTION}/${data.consumptionId}`,\r\n {},\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n getMovements(data) {\r\n return axios.get(\r\n GET_MOVEMENTS,\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n getMovementsDetails(data) {\r\n return axios.get(\r\n GET_MOVEMENTS_DETAILS.replace(':categoryId', data.categoryId),\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}` } }\r\n )\r\n },\r\n\r\n updatePhone(data) {\r\n return axios.put(\r\n UPDATE_PHONE.replace(':phone', data.phoneNumber),\r\n { },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n },\r\n\r\n updateNickname(data) {\r\n return axios.put(\r\n UPDATE_NICKNAME.replace(':nickname', data.nickName),\r\n { },\r\n { headers: { Authorization: `Bearer ${((data.session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 } }\r\n )\r\n }\r\n}\r\n\r\nexport default ProfileService\r\n","import { FunctionComponent } from 'react'\r\nimport modules from 'build/modules'\r\nimport CONFIGS from 'build/Config'\r\nimport images from '../../images.json'\r\nimport { LoadingDiv, Logo, Spinner, TextLoading } from '../../theme/loading'\r\n\r\nconst LoadingScreen: FunctionComponent = () => {\r\n\r\n const theme = modules?.json as any\r\n\r\n if (CONFIGS?.loaderPulse) {\r\n return (\r\n \r\n
\r\n
\r\n {\r\n !theme?.loading?.config?.circlePulse && (\r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n
\r\n
\r\n )\r\n }\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n {!theme?.loading.config.hideSpinningLogo && (\r\n \r\n )}\r\n {\r\n theme?.loading?.config?.useText && (\r\n Cargando ...\r\n )\r\n }\r\n
\r\n )\r\n}\r\nexport default LoadingScreen\r\n","import React, { forwardRef, HTMLProps, ForwardRefRenderFunction, useRef, useEffect } from 'react'\r\nimport mergeRefs from 'merge-refs'\r\nimport { InputST } from '../../theme/theme'\r\n\r\nexport type InputProps = HTMLProps & { variant?: boolean }\r\n\r\nconst Input: ForwardRefRenderFunction = (\r\n { className = '', variant, type, name, ...props },\r\n ref\r\n) => {\r\n // @ts-ignore\r\n const innerRef = useRef(null)\r\n\r\n useEffect(() => {\r\n if (innerRef.current && (type === 'tel' || type === 'number')) {\r\n innerRef.current.oninput = function () {\r\n // @ts-ignore\r\n this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1')\r\n }\r\n }\r\n\r\n return () => {\r\n if (innerRef.current) {\r\n // @ts-ignore\r\n innerRef.current.oninput = undefined\r\n }\r\n }\r\n }, [type, name])\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nconst InputWithRef = forwardRef(Input)\r\n\r\nexport default InputWithRef\r\n","/* eslint-disable indent */\r\nimport { BIRTHDAY, EMAIL_REGEXP, PHONE_REGEXP } from 'constants/regexp'\r\nimport { dlTrackError } from 'components/dataLayer/dataLayer'\r\nimport * as yup from 'yup'\r\nimport { RequiredStringSchema } from 'yup/lib/string'\r\nimport { AnyObject } from 'yup/lib/types'\r\nimport CONFIGS from 'build/Config'\r\nimport { IFields } from 'build/types/configs'\r\nimport textServices from './text-services'\r\n\r\nyup.setLocale({\r\n mixed: {\r\n default: textServices.findByText('formBuilder/mixed/default', { es: 'El campo no es válido', en: 'The field is not valid' }),\r\n required: textServices.findByText('formBuilder/mixed/required', { es: 'El campo no puede estar vacío', en: 'The field cannot be empty' })\r\n },\r\n string: {\r\n email: textServices.findByText('formBuilder/string/email', { es: 'El email no es válido', en: 'The email is not valid' }),\r\n min: ({ min }) => textServices.findByText('formBuilder/string/min', { es: `Debe contener al menos ${min} caracteres`, en: `Must contain at least ${min} characters` }),\r\n max: ({ max }) => textServices.findByText('formBuilder/string/max', { es: `Debe contener como máximo ${max} caracteres`, en: `Must contain at most ${max} characters` }),\r\n length: ({ length }) => textServices.findByText('formBuilder/string/length', { es: `El campo debe contener una longitud de ${length}`, en: `The field must be ${length} characters long` }),\r\n url: textServices.findByText('formBuilder/string/url', { es: 'La URL no es válida', en: 'The URL is not valid' }),\r\n lowercase: textServices.findByText('formBuilder/string/lowercase', { es: 'El campo solo puede estar en minúsculas', en: 'The field must be in lowercase' }),\r\n uppercase: textServices.findByText('formBuilder/string/uppercase', { es: 'El campo solo puede estar en mayúsculas', en: 'The field must be in uppercase' })\r\n },\r\n number: {\r\n min: ({ min }) => textServices.findByText('formBuilder/number/min', { es: `Debe ser mayor o igual a ${min}`, en: `Must be greater than or equal to ${min}` }),\r\n max: ({ max }) => textServices.findByText('formBuilder/number/max', { es: `Debe ser menor o igual a ${max}`, en: `Must be less than or equal to ${max}` }),\r\n lessThan: ({ less }) => textServices.findByText('formBuilder/number/lessThan', { es: `Debe ser menor a ${less}`, en: `Must be less than ${less}` }),\r\n moreThan: ({ more }) => textServices.findByText('formBuilder/number/moreThan', { es: `Debe ser mayor a ${more}`, en: `Must be greater than ${more}` }),\r\n positive: textServices.findByText('formBuilder/number/positive', { es: 'Debe ser un valor positivo', en: 'Must be a positive value' }),\r\n negative: textServices.findByText('formBuilder/number/negative', { es: 'Debe ser un valor negativo', en: 'Must be a negative value' }),\r\n integer: textServices.findByText('formBuilder/number/integer', { es: 'Debe ser un valor entero', en: 'Must be an integer' })\r\n },\r\n date: {\r\n min: textServices.findByText('formBuilder/date/min', { es: 'Tiene que ser mayor', en: 'Must be later' }),\r\n max: textServices.findByText('formBuilder/date/max', { es: 'Tiene que ser menor', en: 'Must be earlier' })\r\n }\r\n})\r\n\r\nconst yupRequired = (name: string, yup: RequiredStringSchema) => {\r\n if (!CONFIGS.notAvailableFields?.includes(name as IFields)) {\r\n return yup.required()\r\n }\r\n return yup\r\n}\r\n\r\nconst yupWhen = (schemaWhen) => {\r\n return (value: any, schema) => {\r\n if (value === '') return\r\n return schema.concat(schemaWhen)\r\n }\r\n}\r\n\r\nconst formServices = {\r\n\r\n formBuilder(schema: any, value: string | number, name: string, type: any) {\r\n\r\n if (type === 'number' && value === '') {\r\n return 'El campo no puede estar vacío'\r\n }\r\n\r\n const formSchema = yup.object().shape({\r\n [name]: schema\r\n })\r\n const response = formSchema.validate({ [name]: value }).catch((err) => {\r\n return err.errors[0]\r\n })\r\n return response\r\n\r\n },\r\n\r\n formSelectYup(name: string) {\r\n switch (name) {\r\n case 'textcard':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(5).max(60))))\r\n case 'titleHistory':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(2).max(80))))\r\n case 'textHistory':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(30).max(280))))\r\n case 'firstName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/firstName/matches', { es: 'El nombre debe ser alfabético', en: 'The name must be alphabetic' })).min(2).max(30))))\r\n case 'lastName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/lastName/matches', { es: 'El apellido debe ser alfabético', en: 'The last name must be alphabetic' })).min(2).max(30))))\r\n case 'nickName':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ-Z0-9-ñÑ\\u00E0-\\u00FC]*$/, textServices.findByText('formBuilder/nickName/matches', { es: 'El apodo debe ser alfanumérico (sin espacios)', en: 'The nickname must be alphanumeric (no spaces)' })).min(2).max(30))))\r\n // return yup.string().trim().required().matches(/^[aA-zZ-Z0-9-ñÑ\\u00E0-\\u00FC]*$/, 'El apodo debe ser alfanumérico (sin espacios)').min(2).max(30)\r\n case 'email':\r\n return yupRequired(name, yup.string().email().when(yupWhen(yup.string().matches(EMAIL_REGEXP, textServices.findByText('formBuilder/email/matches', { es: 'El email no es válido', en: 'The email is not valid' })))))\r\n // return yup.string().email().required().matches(EMAIL_REGEXP, 'El email no es válido')\r\n case 'contactMail':\r\n return yupRequired(name, yup.string().email().when(yupWhen(yup.string().matches(EMAIL_REGEXP, textServices.findByText('formBuilder/contactMail/matches', { es: 'El email no es válido', en: 'The email is not valid' })))))\r\n // return yup.string().email().required().matches(EMAIL_REGEXP, 'El email no es válido')\r\n case 'password':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(6))))\r\n // return yup.string().required().min(6)\r\n case 'password_confirm':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().oneOf([yup.ref('password'), null], textServices.findByText('formBuilder/password/oneOf', { es: 'Las contraseñas no coinciden', en: 'Passwords do not match' })))))\r\n // return yup.string().required().oneOf([yup.ref('password'), null], 'Las contraseñas no coinciden')\r\n case 'curp':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(17).max(18).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/curp/matches', { es: 'El CURP debe ser alfanumérico', en: 'The CURP must be alphanumeric' })))))\r\n // return yup.string().min(17).max(18).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'El CURP debe ser alfanumérico').required()\r\n case 'street1':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/street1/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'streetType':\r\n return yupRequired(name, yup.string().nullable().when(yupWhen(yup.string())))\r\n // return yup.string().nullable().trim().required('Debe seleccionar una opción')\r\n case 'postalCode':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(4).max(5).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/postalCode/matches', { es: 'El código postal debe ser numérico', en: 'The postal code must be numeric' })))))\r\n // return yup.string().trim().required().min(4).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'birthday':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(BIRTHDAY, textServices.findByText('formBuilder/birthday/matches', { es: 'La fecha debe ser válida', en: 'The date must be valid' })).min(10, textServices.findByText('formBuilder/birthday/matches', { es: 'La fecha debe ser válida', en: 'The date must be valid' })))))\r\n // return yup.string().trim().required().matches(BIRTHDAY, 'La fecha debe ser válida').min(10, 'La fecha debe ser válida')\r\n case 'streetNumber':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/streetNumber/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().min(2).matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'neighborhood':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, textServices.findByText('formBuilder/neighborhood/matches', { es: 'Debe ser alfanumérico', en: 'Must be alphanumeric' })))))\r\n // return yup.string().trim().required().matches(/^[aA-zZ0-9\\sñÑ\\u00E0-\\u00FC]+$/, 'Debe ser alfanumérico')\r\n case 'phoneNumber':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().matches(PHONE_REGEXP, textServices.findByText('formBuilder/phoneNumber/matches', { es: 'El teléfono debe contener 10 números', en: 'The phone number must contain 10 digits' })))))\r\n // return yup.string().trim().required().matches(PHONE_REGEXP, 'El celular debe contener 10 números')\r\n case 'otp':\r\n return yupRequired(name, yup.string().trim().when(yupWhen(yup.string().min(6, textServices.findByText('formBuilder/otp/min', { es: 'OTP Incorrecto', en: 'Incorrect OTP' })).max(6, textServices.findByText('formBuilder/otp/min', { es: 'OTP Incorrecto', en: 'Incorrect OTP' })))))\r\n // return yup.string().required().min(6, 'OTP Incorrecto').max(6, 'OTP Incorrecto')\r\n case 'genreId':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string())))\r\n case 'termsOfUse':\r\n return yup.boolean().required().isTrue('Es requerido este campo')\r\n case 'privacyPolicy':\r\n return yup.boolean().required().isTrue('Es requerido este campo')\r\n // return yup.string().required()\r\n case 'instagram':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().max(20, 'El nombre de usuario debe ser menor a 20 caracteres'))))\r\n case 'sign':\r\n return yupRequired(name, yup.string().when(yupWhen(yup.string().max(10, textServices.findByText('formBuilder/sign/max', { es: 'La firma tiene que ser menor a 10 caracteres', en: 'The signature must be less than 10 characters' })))))\r\n case 'clientNum':\r\n return yupRequired(name, yup.string().trim().matches(/^[a-zA-Z0-9]{9}$/, 'El número de cliente debe contener solo letras y números').when(yupWhen(yup.string().max(9, 'El número de cliente es de 9 digitos').min(9, 'El número de cliente tiene minimo 9 digitos'))))\r\n case 'groupName':\r\n return yupRequired(name, yup.string().trim())\r\n case 'clusterId':\r\n return yupRequired(name, yup.string().trim())\r\n case 'groupFile':\r\n return yup.mixed().required()\r\n case 'groupImage':\r\n return yupRequired(name, yup.string().trim())\r\n default:\r\n return null\r\n }\r\n },\r\n\r\n formGenerateSchema(names: string[]) {\r\n const object = {}\r\n names.forEach((name) => {\r\n object[name] = this.formSelectYup(name)\r\n })\r\n\r\n return yup.object().shape({\r\n ...object\r\n })\r\n },\r\n\r\n formValidateErrors(yupResolver: any, section: string, errorType: string ) {\r\n return async (data: any, context: any, options: any) => {\r\n const resolver = await yupResolver(data, context, options) as any;\r\n if (resolver?.errors) {\r\n for (const key in resolver?.errors) {\r\n if (Object.prototype.hasOwnProperty.call(resolver?.errors, key)) {\r\n const element = resolver?.errors[key];\r\n dlTrackError({\r\n error_type: errorType,\r\n error_code: key,\r\n error_message: element?.message,\r\n section: section\r\n })\r\n }\r\n }\r\n }\r\n return resolver;\r\n }\r\n }\r\n\r\n}\r\n\r\nexport default formServices\r\n","import Button from \"components/button\"\r\nimport styled from 'styled-components'\r\nimport { Type, HeaderType } from '../types'\r\nexport const HeaderST = styled.header.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${(props: HeaderType) => props.open ? props.theme?.header?.headerBackground : props?.theme?.header?.headerBackgroundClose};\r\n`\r\n\r\nexport const ButtonMenu = styled.button.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${(props: HeaderType) => props.open ? props.theme?.header?.buttonOpen : props.theme?.header?.button};\r\n`\r\n\r\nexport const SpanMenu = styled.span.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${({ theme, open }: HeaderType) => open ? theme?.header?.spansButtonVariation : theme?.header?.spansButton};\r\n`\r\n\r\nexport const SpanMenuAlternative = styled.span.attrs((props: HeaderType) => ({\r\n open: props.open,\r\n theme: props.theme\r\n})) `\r\n background-color: ${({ theme, open }: HeaderType) => open ? theme?.header?.spansButtonVariation : theme?.header?.spansButtonSecondary};\r\n`\r\n\r\nexport const Menu = styled.div`\r\n top: 2.95rem;\r\n background-color: ${({ theme }: Type) => theme?.header?.menuBackground};\r\n color: ${({ theme }: Type) => theme?.header?.menuText};\r\n ${({ theme }: Type) => `\r\n ${theme?.header?.useTexture && `background:\r\n ${!theme?.header?.dontUseTextureBg ? `url(${AZURE_BASE_URL}/textura.${theme?.loading?.config?.bgTexture || 'svg'}), ` : ''}\r\n url(${AZURE_BASE_URL}/logo-outline-menu.svg) no-repeat right center, ${theme?.header?.menuBackground};\r\n `}\r\n `};\r\n ${({ theme }: Type) => theme?.header?.backgroundRest};\r\n`\r\n\r\n\r\nexport const Logo = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.logo};\r\n padding: ${(props: Type) => props.theme?.header?.paddingLogo};\r\n`\r\n\r\nexport const Points = styled.p`\r\n color: ${({ theme }: Type) => theme?.header?.points};\r\n`\r\n\r\nexport const ModalMessage = styled.h1`\r\n ${({ theme }: Type) => theme?.trivias?.modalMessage};\r\n`\r\n\r\nexport const ModalDescription = styled.h1`\r\n ${({ theme }: Type) => theme?.trivias?.modalDescription};\r\n`\r\n\r\nexport const ModalCancel = styled.button`\r\n ${({ theme }: Type) => theme?.trivias?.modalCancel};\r\n`\r\nexport const ModalCancelP = styled.p`\r\n ${({ theme }: Type) => theme?.trivias?.modalCancelP};\r\n`\r\n\r\nexport const PointTextStyle = styled.p`\r\n ${({ theme }: Type) => theme?.header?.pointText};\r\n`\r\n\r\nexport const ButtonModalAccept = styled(Button)`\r\n ${({ theme }: Type) => theme?.trivias?.buttonModalAccept};\r\n`\r\n\r\nexport const ButtonModalAcceptP = styled.p`\r\n ${({ theme }: Type) => theme?.trivias?.buttonModalAcceptP};\r\n`\r\n\r\nexport const ImgMenu = styled.img`\r\n ${({ theme }: Type) => theme?.header?.ImgMenu};\r\n`","/* eslint-disable no-extra-boolean-cast */\r\nimport { useState } from \"react\";\r\n\r\nfunction useLocalStorage(key: string, initialValue?: T) {\r\n\r\n const [storedValue, setStoredValue] = useState(() => {\r\n if (typeof window === \"undefined\") {\r\n return initialValue;\r\n }\r\n try {\r\n // Get from local storage by key\r\n const item = window.localStorage.getItem(key);\r\n // Parse stored json or if none return initialValue\r\n return !!item && item !== 'undefined' ? JSON.parse(item) : initialValue;\r\n } catch (error) {\r\n // If error also return initialValue\r\n console.log(error);\r\n return initialValue;\r\n }\r\n });\r\n // Return a wrapped version of useState's setter function that ...\r\n // ... persists the new value to localStorage.\r\n const setValue = (value: T | ((val: T) => T)) => {\r\n try {\r\n // Allow value to be a function so we have same API as useState\r\n const valueToStore =\r\n value instanceof Function ? value(storedValue) : value;\r\n // Save state\r\n setStoredValue(valueToStore);\r\n // Save to local storage\r\n if (typeof window !== \"undefined\") {\r\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n };\r\n\r\n // Remove value in useState and localStorage\r\n const removeValue = () => {\r\n try {\r\n if (typeof window !== \"undefined\") {\r\n setStoredValue(null)\r\n window.localStorage.removeItem(key);\r\n }\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n const recheckValue = () => {\r\n if (typeof window === \"undefined\") {\r\n return initialValue;\r\n }\r\n try {\r\n // Get from local storage by key\r\n const item = window.localStorage.getItem(key);\r\n // Parse stored json or if none return initialValue\r\n return item ? JSON.parse(item) : initialValue;\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n return [storedValue, setValue, removeValue, recheckValue] as const;\r\n}\r\n\r\nexport default useLocalStorage;","import styled from 'styled-components'\r\nimport { useState } from 'react'\r\nimport { Type, ProfileSelectedType, ButtonPrefPickerType } from 'theme/types'\r\nimport { Link } from 'react-router-dom'\r\n\r\nexport const BorderButtonProfile = styled.button.attrs((props: ProfileSelectedType) => ({\r\n selected: props.selected,\r\n theme: props.theme,\r\n ...props\r\n}))`\r\n border-color: ${(props: ProfileSelectedType) => props.selected && props.theme?.profile?.borderNavSelect};\r\n`\r\n\r\nexport const ButtonHelperProfile = styled.div`\r\n background-color: ${(props: Type) => props.theme?.profile?.bgNavHelper};\r\n`\r\n\r\nexport const DivProfileTitle = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.title?.div}\r\n`\r\n\r\nexport const PProfileTitle = styled.p`\r\n ${({ theme }: Type) => theme?.profile?.title?.p}\r\n`\r\n\r\nexport const LiStateAccount = styled.li`\r\n border-color: ${(props: Type) => props.theme?.profile?.borderStateAccount};\r\n`\r\n\r\nexport const DivStateAccount = styled.div`\r\n background-color: ${(props: Type) => props.theme?.profile?.backgroundStateAccount};\r\n`\r\n\r\nexport const PStateAccount = styled.p`\r\n color: ${(props: Type) => props.theme?.profile?.colorTextTitleStateAccount};\r\n ${(props: Type) => props.theme?.profile?.colorTextTitleStateAccountRest}\r\n`\r\n\r\nexport const TextStateAccount = styled.p`\r\n ${(props: Type) => props.theme?.profile?.textStateAccount};\r\n`\r\n\r\nexport const SectionProfileText = styled.section`\r\n color: ${(props: Type) => props.theme?.profile?.textProfile};\r\n`\r\n\r\nexport const Crown = styled.div`\r\n border: ${(props: Type) => props.theme?.congrats?.genericBackground && `4px solid ${props.theme?.profile?.crownBg}`};\r\n border-radius: ${(props: Type) => props.theme?.congrats?.genericBackground && '50%'};\r\n background-image: ${(props: Type) =>\r\n !props.theme?.congrats?.genericBackground && `url(${AZURE_BASE_URL}/canjes.svg)`};\r\n`\r\n\r\nexport const ButtonPrefPicker = styled.button.attrs((props: ButtonPrefPickerType) => ({\r\n isProfile: props.isProfile,\r\n active: props.active,\r\n state: props.state,\r\n key: props.state,\r\n category: props.category,\r\n theme: props.theme,\r\n ...props\r\n}))`\r\n height: 3.5rem;\r\n border-width: 1px;\r\n border-color: ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.borderButtonSelectProfile : props.theme?.profile?.borderButtonProfile};\r\n color: ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.textButtonSelectProfile : props.theme?.profile?.textButtonProfile};\r\n border-radius: ${(props: Type) => props.theme?.profile?.borderRadiusButton};\r\n font-weight: 700;\r\n padding-left: 1.5rem;\r\n padding-right: 1.5rem;\r\n text-transform: uppercase;\r\n background-color: ${(props: ButtonPrefPickerType) =>\r\n props.active && props.theme?.profile?.backgroundButtonSelectProfile};\r\n ${(props: ButtonPrefPickerType) =>\r\n props.active ? props.theme?.profile?.buttonSelectActive : props.theme?.profile?.buttonSelectInactive};\r\n`\r\n\r\nexport const ButtonPref = ({ handleOnClick, isProfile, state, category, key, datainterestid, children }: any) => {\r\n const [active, setActive] = useState(!!(isProfile && state.interests.includes(category.id)))\r\n\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INTERESES - Seleccionar interes',\r\n value: '10'\r\n })\r\n handleOnClick(event)\r\n setActive(!active)\r\n }}\r\n isProfile={isProfile}\r\n state={state}\r\n category={category}\r\n data-interest-id={datainterestid}\r\n key={key}\r\n active={active}\r\n className={`pick-preference-button ${active ? 'pick-preference-button-active' : ''}`}\r\n >\r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const CrownState = styled.div`\r\n border: ${(props: Type) =>\r\n props.theme?.congrats?.genericBackground && `4px solid ${props.theme?.profile?.crownState}`};\r\n border-radius: ${(props: Type) => props.theme?.congrats?.genericBackground && '50%'};\r\n background-image: ${(props: Type) =>\r\n !props.theme?.congrats?.genericBackground && `url(${AZURE_BASE_URL}/canjes.svg)`};\r\n`\r\n\r\nexport const CrownStateText = styled.p`\r\n ${(props: Type) => props.theme?.profile?.crownStateText};\r\n`\r\n\r\n// -- MIS PUNTOS --\r\n\r\nexport const ProfilePointsContainerTotalPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.containerTotalPoints};\r\n`\r\n\r\nexport const ProfilePointsTitleTotalPoints = styled.h2`\r\n ${(props: Type) => props.theme?.profile?.points?.titleTotalPoints};\r\n`\r\n\r\nexport const ProfilePointsTotalPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.totalPoints};\r\n`\r\n\r\nexport const ProfilePointsContainerPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.containerPoints};\r\n`\r\n\r\nexport const ProfilePointsTitlePoints = styled.h3`\r\n ${(props: Type) => props.theme?.profile?.points?.titlePoints};\r\n`\r\n\r\nexport const ProfilePointsPoints = styled(Link)`\r\n ${(props: Type) => props.theme?.profile?.points?.points};\r\n`\r\n\r\n// -- MIS PUNTOS DETALLES --\r\n\r\nexport const ProfileDetailsPointsContainerTotalPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.containerTotalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTitleTotalPoints = styled.h2`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.titleTotalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTotalPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.totalPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsContainerPoints = styled.div`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.containerPoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsDatePoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.datePoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsTitlePoints = styled.h3`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.titlePoints};\r\n`\r\n\r\nexport const ProfileDetailsPointsPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.points};\r\n`\r\n\r\nexport const ProfileDetailsPointsDescription = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.description};\r\n`\r\n\r\nexport const ProfileDetailsPointsDescriptionPoints = styled.p`\r\n ${(props: Type) => props.theme?.profile?.points?.details?.descriptionPoints};\r\n`\r\n\r\nexport const TextStateAccountDate = styled.p`\r\n ${(props: Type) => props.theme?.profile?.textStateAccountDate};\r\n`\r\n","import { AxiosError } from \"axios\";\r\nimport { Dispatch } from \"react\";\r\n\r\nexport enum SurveyTypeEnum {\r\n REGISTER = 'Register',\r\n LIBRE = 'Libre',\r\n TRIVIAS = 'Trivias',\r\n TRIVIAQR = 'TriviaQR',\r\n REDEEM = 'Redeem',\r\n PRIZES = 'Prizes', \r\n VOTE = 'Vote',\r\n RALLY = 'Rally',\r\n COLLECTIONS = 'Collections',\r\n SORTEO = 'Sorteo',\r\n SECRETSANTA = 'SecretSanta',\r\n MEMORAMA = 'Memorama'\r\n}\r\n\r\nexport interface Prize {\r\n title: string\r\n points: number\r\n description: any\r\n productId: number\r\n imageUrl: string\r\n stickerId: number\r\n}\r\n\r\nexport interface Option {\r\n optionId: number\r\n option: string\r\n imageUrl?: string,\r\n demandSpaceId: number,\r\n description: string\r\n}\r\n\r\nexport interface Question {\r\n questionId: number;\r\n question: string;\r\n subtitle: string;\r\n type: 'Normal' | 'Dropdown' | 'Checkbox' | 'TextBox' | 'RadioButton';\r\n options: Option[];\r\n amountAwnsers: number;\r\n columns?: number\r\n}\r\n\r\nexport interface Survey {\r\n id: number;\r\n encuestaType: 'Polaris' | 'Normal'\r\n activationType: SurveyTypeEnum,\r\n name: string;\r\n isAnswered: boolean;\r\n redirectUrl: string;\r\n questions: Question[];\r\n optional: boolean;\r\n profilePercentIncluded: boolean;\r\n viewType: 'SinglePage' | 'Steps'\r\n buttonText: string\r\n prize?: Prize\r\n showAt?: Date\r\n}\r\n\r\nexport interface SurveyState {\r\n surveys?: Survey[];\r\n survey?: Survey;\r\n error?: AxiosError,\r\n prize?: Prize,\r\n demandSpace?: DemandSpace\r\n surveyInfo?: SurveyInfo\r\n}\r\n\r\nexport interface SurveyContextProps {\r\n state: SurveyState\r\n dispatch: Dispatch\r\n}\r\n\r\nexport enum SurveyActionEnum {\r\n SET_SURVEYS = 'SET_SURVEYS',\r\n SET_SURVEY = 'SET_SURVEY',\r\n SET_PRIZE = 'SET_PRIZE',\r\n SET_DEMAND_SPACE = 'SET_DEMAND_SPACE',\r\n RESET = 'RESET',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_INFO_SURVEY = 'SET_INFO_SURVEY'\r\n}\r\n\r\nexport type SurveyActionType = SurveyActionEnum.SET_SURVEY | SurveyActionEnum.SET_ERROR | SurveyActionEnum.SET_SURVEYS | SurveyActionEnum.SET_PRIZE | SurveyActionEnum.SET_DEMAND_SPACE | SurveyActionEnum.RESET | SurveyActionEnum.SET_INFO_SURVEY\r\n\r\nexport interface SurveyAction {\r\n type: SurveyActionType\r\n payload: SurveyState | Survey | Survey[] | number | Prize | DemandSpace | AxiosError | SurveyInfo\r\n}\r\n\r\nexport interface SurveyOptions {\r\n autoRedirect?: boolean;\r\n redirect?: string;\r\n}\r\n\r\nexport interface DemandSpace {\r\n id: number,\r\n name: string,\r\n imageUrl: string\r\n videoUrl: string\r\n}\r\n\r\nexport interface SurveyInfo {\r\n buttonText: string\r\n resultUrl: string\r\n}\r\n\r\nexport interface SurveyResponse {\r\n questionId: number,\r\n textValue: string,\r\n optionIds: number[]\r\n}\r\n\r\n","var map = {\n\t\"./lineup-create.json\": [\n\t\t458,\n\t\t51\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 3);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 451;\nmodule.exports = webpackAsyncContext;","import { AxiosError } from 'axios'\r\nimport { TriviaItem } from 'views/trivia/types'\r\n\r\nexport interface TriviaState {\r\n interests: number[]\r\n trivias?: TriviaItem[]\r\n prize?: Prize\r\n congrats?: {\r\n urlRedirect: string\r\n buttonText: string,\r\n buttonText2: string,\r\n urlRedirect2: string,\r\n profileTime: number,\r\n useRanking: boolean\r\n }\r\n currentTrivia?: Trivia\r\n error?: AxiosError\r\n prizesCategory?: { id?: number; name: string }[]\r\n}\r\n\r\nexport interface Prize {\r\n title: string\r\n points: number\r\n description: any\r\n productId: number\r\n imageUrl: string\r\n stickerId: number\r\n}\r\nexport interface TriviaAction {\r\n payload?: any\r\n type: TriviaActionsType\r\n}\r\n\r\nexport enum TriviaActionsType {\r\n RESET = 'RESET',\r\n SET_INTERESTS = 'SET_INTERESTS',\r\n SET_TRIVIAS = 'SET_TRIVIAS',\r\n SET_TRIVIA = 'SET_TRIVIA',\r\n SET_PRIZE = 'SET_PRIZE',\r\n SET_QUESTIONS = 'SET_QUESTIONS',\r\n SET_ERROR = 'SET_ERROR',\r\n SET_PRIZES_CATEGORIES = 'SET_INTEREST_LIST',\r\n SET_CONGRATS = 'SET_CONGRATS'\r\n}\r\n\r\nexport interface Trivia {\r\n id: number\r\n title: string\r\n name: string\r\n description: string\r\n timeInSeconds: number\r\n costInPoints: number\r\n interest: string\r\n prize: string\r\n status: string\r\n validFrom: string\r\n validTo: string\r\n question: Question\r\n directAccess: boolean\r\n triviaUserStatus: number\r\n imageUrl: string\r\n prizeImageUrl: string\r\n}\r\n\r\nexport interface Question {\r\n questionId: number\r\n question: string\r\n options: Option[]\r\n}\r\n\r\nexport interface Option {\r\n optionId: number\r\n option: string\r\n imageUrl: string\r\n}\r\n\r\nconst triviaReducer = (state: TriviaState, action: TriviaAction): TriviaState => {\r\n switch (action.type) {\r\n case TriviaActionsType.SET_INTERESTS:\r\n return { ...state, interests: action.payload }\r\n case TriviaActionsType.SET_TRIVIAS:\r\n return { ...state, trivias: action.payload }\r\n case TriviaActionsType.SET_TRIVIA:\r\n return { ...state, currentTrivia: action.payload }\r\n case TriviaActionsType.SET_QUESTIONS:\r\n return { ...state, currentTrivia: { ...(state.currentTrivia as Trivia), question: action.payload } }\r\n case TriviaActionsType.SET_PRIZE:\r\n return { ...state, prize: action.payload }\r\n case TriviaActionsType.SET_CONGRATS:\r\n return { ...state, congrats: action.payload }\r\n case TriviaActionsType.RESET:\r\n return { ...state, prize: action.payload, currentTrivia: action.payload, error: action.payload }\r\n case TriviaActionsType.SET_ERROR:\r\n return { ...state, error: action.payload }\r\n case TriviaActionsType.SET_PRIZES_CATEGORIES:\r\n return { ...state, prizesCategory: [{ id: undefined, name: 'Todas' }, ...action.payload] }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default triviaReducer\r\n","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { TRIVIA_ANSWER, TRIVIA_LIST, TRIVIA_PLAY, TRIVIA_SET_INTEREST, TRIVIA_VALIDATE } from 'constants/api'\r\nimport axios from 'axios'\r\nimport React, { Dispatch, FC, useContext, useReducer, useEffect } from 'react'\r\nimport equals from 'lodash.isequal'\r\nimport { useHistory } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../session-context'\r\nimport reducer, { TriviaAction, TriviaActionsType, TriviaState } from './reducer'\r\nexport interface TriviaReducer {\r\n state: TriviaState\r\n dispatch: Dispatch\r\n}\r\n\r\nconst TriviaContext = React.createContext({} as TriviaReducer)\r\n\r\nconst TriviaProvider: FC = ({ children }) => {\r\n const [state, dispatch] = useReducer(reducer, {\r\n interests: []\r\n } as TriviaState)\r\n\r\n return {children}\r\n}\r\n\r\nexport const useTrivia = () => {\r\n const history = useHistory()\r\n\r\n const [{ data: session }] = useSession()\r\n const [{ user }, { setUser, setPoints }] = useSession()\r\n\r\n const { state, dispatch } = useContext(TriviaContext)\r\n\r\n useEffect(() => {\r\n if (user) {\r\n const mappedInterests = user?.interests.map(({ id }) => id)\r\n const contentChanged = !equals(mappedInterests, state.interests)\r\n\r\n if (contentChanged) {\r\n dispatch({\r\n type: TriviaActionsType.SET_INTERESTS,\r\n payload: mappedInterests\r\n })\r\n }\r\n }\r\n }, [user])\r\n\r\n const setError = (err: any) => {\r\n dispatch({\r\n type: TriviaActionsType.SET_ERROR,\r\n payload: err\r\n })\r\n }\r\n\r\n const setInterests = async (interests: TriviaState['interests']) => {\r\n try {\r\n const response = await axios.put(TRIVIA_SET_INTEREST, interests, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setUser(response.data)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_INTERESTS,\r\n payload: interests\r\n })\r\n } catch (error) {\r\n console.error(error)\r\n }\r\n }\r\n\r\n const getTrivias = async () => {\r\n try {\r\n const response = await axios.get(TRIVIA_LIST, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: TriviaActionsType.SET_TRIVIAS,\r\n payload: response.data\r\n })\r\n\r\n return response.data\r\n }\r\n\r\n return response.data\r\n } catch (e) {\r\n console.error(e)\r\n }\r\n }\r\n\r\n const validateTrivia = async (triviaId: string | number, isDirectAccess: boolean) => {\r\n try {\r\n const response = await axios.post(\r\n TRIVIA_VALIDATE.replace(':triviaId', triviaId.toString()).replace(':isdirectaccess', isDirectAccess.toString()),\r\n undefined,\r\n {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n }\r\n )\r\n\r\n if (response.data) {\r\n dispatch({\r\n type: TriviaActionsType.SET_TRIVIA,\r\n payload: response.data\r\n })\r\n\r\n return true\r\n }\r\n\r\n return false\r\n } catch (error) {\r\n console.error('validate err', error.response?.data.code)\r\n setError(error.response?.data.code)\r\n throw error\r\n }\r\n }\r\n\r\n const playTrivia = async (triviaId: number | string, isDirectAccess: boolean) => {\r\n try {\r\n const response = await axios.put(\r\n TRIVIA_PLAY.replace(':triviaId', triviaId.toString()).replace(':isdirectaccess', isDirectAccess.toString()),\r\n undefined,\r\n {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n }\r\n )\r\n\r\n if (response.data.question) {\r\n dispatch({\r\n type: TriviaActionsType.SET_QUESTIONS,\r\n payload: response.data.question\r\n })\r\n\r\n return true\r\n }\r\n\r\n if (response.data.prize) {\r\n setPoints(response.data.prize.points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_PRIZE,\r\n payload: response.data.prize\r\n })\r\n\r\n return false\r\n }\r\n } catch (error) {\r\n console.error(error)\r\n throw error\r\n }\r\n }\r\n\r\n const answerTrivia = async (triviaId: number | string, questionId: number | string, optionId: number | string) => {\r\n try {\r\n const response = await axios.put(TRIVIA_ANSWER.replace(':triviaId', triviaId.toString()), { triviaId, questionId, optionId }, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n if (response.data.question) {\r\n dispatch({\r\n type: TriviaActionsType.SET_QUESTIONS,\r\n payload: response.data.question\r\n })\r\n\r\n return true\r\n }\r\n\r\n if (response.data.prize) {\r\n if (response.data?.urlRedirect) {\r\n dispatch({\r\n type: TriviaActionsType.SET_CONGRATS,\r\n payload: {\r\n urlRedirect: response.data?.urlRedirect,\r\n buttonText: response?.data?.buttonText,\r\n urlRedirect2: response?.data?.urlRedirect2,\r\n buttonText2: response?.data?.buttonText2,\r\n profileTime: response?.data?.profileRanking?.time,\r\n useRanking: response?.data?.withRanking\r\n }\r\n })\r\n }\r\n\r\n setPoints(response.data.prize.points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.SET_PRIZE,\r\n payload: response.data.prize\r\n })\r\n\r\n return false\r\n }\r\n\r\n return true\r\n\r\n } catch (error) {\r\n console.error(error)\r\n throw error\r\n }\r\n }\r\n\r\n const resetTrivia = () => {\r\n // setPoints(points)\r\n\r\n dispatch({\r\n type: TriviaActionsType.RESET,\r\n payload: null\r\n })\r\n }\r\n\r\n const exchangePrize = (points: number) => {\r\n history.push(state?.congrats?.urlRedirect ?? textServices.findByText('trivias/exchange/button/url', '/profile/history'))\r\n }\r\n\r\n const methods = { setInterests, getTrivias, validateTrivia, resetTrivia, exchangePrize, setError, playTrivia, answerTrivia }\r\n\r\n const values = [state, methods] as [TriviaState, typeof methods]\r\n\r\n return values\r\n}\r\n\r\nexport default TriviaProvider\r\n","import { SessionProvider } from 'contexts/session-context'\r\nimport { ClientProvider } from 'contexts/client-num-context'\r\nimport TriviaProvider from 'contexts/trivia-context'\r\nimport { SocialProvider } from 'contexts/social-context'\r\nimport { EventsProvider } from 'contexts/events-context'\r\nimport { SurveyProvider } from 'contexts/survey-context/survey.provider'\r\nimport { MainProvider } from 'contexts/main-class-context'\r\nimport { GeneralProvider } from 'contexts/general-context'\r\nimport { GroupsProvider } from 'contexts/groups-context'\r\n\r\nfunction AppProviders({ children }: { children: React.ReactNode }) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {children}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default AppProviders\r\n","export enum ScopeEnum {\r\n PUBLIC = 'PUBLIC',\r\n PRIVATE = 'PRIVATE',\r\n AUTH = 'AUTH'\r\n}","/* eslint-disable */\r\nimport { Route, Redirect } from 'react-router-dom'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useEffect } from 'react'\r\nimport { ScopeEnum } from 'routes/types'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst GuardedRoute = ({ ...rest }) => {\r\n const [{ user }] = useSession()\r\n const [lState] = useLocalStorage('state', undefined)\r\n const { showAgegate, isMinor } = useAgegate()\r\n const [{ url }] = useRedirect()\r\n const {\r\n query,\r\n pathname\r\n }: {\r\n query: {\r\n referralCode?: string\r\n flowType?: string\r\n utm_campaign?: string\r\n utm_id?: string\r\n utm_content?: string\r\n utm_term?: string\r\n utm_source?: string\r\n utm_medium?: string\r\n url_redirect?: string\r\n internal_redirect?: string\r\n toexternal?: string\r\n }\r\n pathname?: string\r\n } = useRouter()\r\n const [, setRefferal] = useLocalStorage('referralCode', query?.referralCode ?? '')\r\n const [, setFlowType] = useLocalStorage('flowType', query?.flowType ?? '')\r\n const [, setExternal] = useLocalStorage('toexternal', query?.toexternal ?? '')\r\n const [, setUtm] = useLocalStorage(\r\n 'utm',\r\n { utm_campaign: query?.utm_campaign, utm_source: query?.utm_source, utm_medium: query?.utm_medium, utm_id: query?.utm_id, utm_content: query?.utm_content, utm_term: query?.utm_term } ?? ''\r\n )\r\n const encode = encodeURI(pathname)\r\n\r\n useEffect(() => {\r\n if (query?.referralCode) setRefferal(query?.referralCode)\r\n if (query?.toexternal) setExternal(query?.toexternal)\r\n if (query?.flowType) setFlowType(query?.flowType)\r\n if (query?.utm_campaign || query?.utm_medium || query?.utm_source || query?.utm_term || query?.utm_content || query?.utm_id)\r\n setUtm({ utm_campaign: query?.utm_campaign, utm_source: query?.utm_source, utm_medium: query?.utm_medium, utm_id: query?.utm_id, utm_content: query?.utm_content, utm_term: query?.utm_term })\r\n }, [query])\r\n\r\n let isLogged = user !== undefined\r\n // ReCheck session in localstorage\r\n if (!isLogged) {\r\n isLogged = lState !== undefined && !!lState.user\r\n }\r\n\r\n let urlParams = ''\r\n let paramArray = []\r\n const utms = localStorage.getItem('utmAuthSocial')\r\n for (const key in query) {\r\n paramArray.push(`${key}=${query[key]}`)\r\n }\r\n\r\n if (paramArray) urlParams = `?${paramArray.join('&')}`\r\n\r\n if (CONFIGS?.trivia?.showIntroduction && !rest.path.includes('trivia'))\r\n localStorage.setItem('introductionTrivias', 'false')\r\n\r\n if (!showAgegate && rest.path !== '/agegate' && !rest.notAgegate) return \r\n\r\n if (showAgegate && isMinor && rest.path !== '/end') return \r\n\r\n if (isLogged && !user?.consumptionCenter && rest.scope !== ScopeEnum.PUBLIC && CONFIGS?.isWaiter && rest.path !== '/consumption/update') return \r\n\r\n if (isLogged && rest.scope === ScopeEnum.AUTH && rest.path !== '/home') {\r\n if (url && rest.scope !== ScopeEnum.AUTH) return \r\n if (utms) return \r\n return \r\n }\r\n\r\n if (!isLogged && rest.scope === ScopeEnum.PRIVATE && rest.path !== '/start')\r\n return \r\n\r\n return \r\n}\r\n\r\nexport default GuardedRoute\r\n","import { useEffect, useState } from 'react'\r\nimport { Link, useHistory } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport Range from 'components/range'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport textServices from 'services/text-services'\r\nimport { PointsCongrats, SectionCongrats, TextButton3, TextCongrats, TitleCongrats } from 'theme/congrats'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { Crown } from '../../theme/profile'\r\n\r\nconst Congrats = () => {\r\n useMainClass('congrats')\r\n\r\n const [data, setData] = useState(null)\r\n const [range, setRange] = useState<{ level: { id: number; name: string; imageUrl: string } } | null>(null)\r\n const history = useHistory()\r\n const [{ user }, { setPoints }] = useSession()\r\n const [lPrize, , removeLPrize] = useLocalStorage('prize', undefined as any)\r\n const [lSticker, , removeLSticker] = useLocalStorage('sticker', undefined as any)\r\n const [lRange] = useLocalStorage('range', undefined as any)\r\n\r\n useEffect(() => {\r\n if (lRange) {\r\n setRange(lRange)\r\n return history.push('/congrats/range')\r\n }\r\n if (lPrize) {\r\n setData(lPrize)\r\n setPoints(lPrize?.points || 0)\r\n removeLPrize()\r\n } else if (lSticker) {\r\n history.push(`/collections/sticker/redeem/congrats/${lSticker?.collectionId}/${lSticker?.code}`)\r\n removeLSticker()\r\n }\r\n }, [])\r\n\r\n if (range) return \r\n\r\n return (\r\n data && (\r\n \r\n
\r\n \r\n ¡{textServices.findByText('congrats/title', { es: 'Eso ', en: 'Come on ' })}\r\n {user?.firstName}!{' '}\r\n \r\n \r\n {textServices.findByText('congrats/description', { es: `SIGUE JUNTANDO ${POINTS_NAME} y sube en el ranking`, en: `KEEP COLLECTING ${POINTS_NAME} and move up in the rankings` }, { VAR_POINTS: data.points })}\r\n \r\n
\r\n \r\n {data.points}\r\n \r\n
\r\n \r\n \r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'CONGRATS - Ver los Premios',\r\n value: '10'\r\n })\r\n }\r\n >\r\n {textServices.findByText('congrats/button1', { es: 'Quiero ver los premios', en: 'I want to see the prizes' })}\r\n \r\n \r\n history.push(textServices.findByText('congrats/button2Link', \"/redeem\"))}>\r\n \r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'CONGRATS - Ingresar otro Código',\r\n value: '10'\r\n })\r\n }\r\n >\r\n {textServices.findByText('congrats/button2', { es: 'Quiero ingresar otro código', en: 'I want to enter another code' })}\r\n \r\n \r\n {CONFIGS?.congrats?.showButton3 &&\r\n \r\n \r\n {textServices.findByText('congrats/button3', { es: 'QUIERO VER EL RANKING', en: 'I WANT TO SEE THE RANKING' })}\r\n \r\n \r\n }\r\n
\r\n
\r\n )\r\n )\r\n}\r\n\r\nexport default Congrats\r\n","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\nimport Button from 'components/button'\r\n\r\nexport const DivTextHelp = styled.div`\r\n color: ${(props: Type) => props.theme?.help?.textHelp}\r\n`\r\n\r\nexport const DivBgHelp = styled.div`\r\n background-color: ${(props: Type) => props.theme?.help?.backgroundHelp};\r\n ${({ theme }: Type) => theme?.help?.div}\r\n`\r\n\r\nexport const AreaTextHelp = styled.textarea`\r\n color: ${(props: Type) => props.theme?.help?.textHelpArea}\r\n`\r\n\r\nexport const TitleHelp = styled.h1`\r\n ${(props: Type) => props.theme?.help?.titleHelp}\r\n`\r\n\r\nexport const SubtitleHelp = styled.h1`\r\n ${(props: Type) => props.theme?.help?.subtitleHelp}\r\n`\r\n\r\nexport const ContactTitle = styled.h1`\r\n ${(props: Type) => props.theme?.help?.contactTitle}\r\n`\r\n\r\nexport const ContactSubtitle = styled.h1`\r\n ${(props: Type) => props.theme?.help?.contactSubtitle}\r\n`\r\n\r\nexport const CollapsibleStyle = styled.div`\r\n ${(props: Type) => props.theme?.help?.collapsibleStyle}\r\n`\r\n\r\nexport const SectionHelp = styled.section`\r\n ${(props: Type) => props.theme?.help?.sectionHelp}\r\n`\r\n\r\nexport const ButtonHelp = styled(Button)`\r\n ${(props: Type) => props.theme?.help?.buttonHelp}\r\n`\r\n\r\nexport const CollapsibleStyleP = styled.p`\r\n ${(props: Type) => props.theme?.help?.collapsibleStyleP}\r\n`","import { FAQS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Input from 'components/input'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useRef } from 'react'\r\nimport Collapsible from 'react-collapsible'\r\nimport useRouter from 'hooks/use-router'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport {\r\n DivTextHelp,\r\n AreaTextHelp,\r\n DivBgHelp,\r\n TitleHelp,\r\n SubtitleHelp,\r\n ContactTitle,\r\n ContactSubtitle,\r\n CollapsibleStyle,\r\n SectionHelp,\r\n ButtonHelp,\r\n CollapsibleStyleP\r\n} from '../../theme/help'\r\nimport style from './help.module.scss'\r\n\r\nconst Help = () => {\r\n useMainClass('help')\r\n const session = useSession()\r\n const [{ loading: loadingFaqs, error: errorFaqs, data: faqs }] = useAxios({ url: FAQS, headers: { 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n const { history } = useRouter()\r\n const [{ user, data = {} as any }] = session\r\n const { phoneNumber } = user || {}\r\n const [{ response, loading, error }, fetch] = useAxios(\r\n {\r\n method: 'POST',\r\n url: 'https://' + API_BASE_USER_UPDATE + '/promohub/api/v1/profiles/send/contact' + `${!user ? '/anonymous' : ''}`,\r\n headers: { Authorization: `Bearer ${data?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n },\r\n { manual: true }\r\n )\r\n\r\n const nameRef = useRef(null)\r\n const lastnameRef = useRef(null)\r\n const emailRef = useRef(null)\r\n const phoneRef = useRef(null)\r\n const textRef = useRef(null)\r\n\r\n const submitHandler = async (e: any) => {\r\n e.preventDefault()\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HELP - Contactanos', value: '10' })\r\n\r\n const data = {\r\n phoneNumber: phoneRef.current?.value,\r\n message: textRef.current?.value,\r\n name: nameRef.current?.value ?? '',\r\n lastname: lastnameRef.current?.value ?? '',\r\n email: emailRef.current?.value ?? ''\r\n }\r\n\r\n // if (!user) {\r\n\r\n // }\r\n\r\n if (!phoneRef.current?.value) {\r\n alert('se deben completar ambos campos')\r\n }\r\n\r\n if (!textRef.current?.value) {\r\n alert('se deben completar ambos campos')\r\n }\r\n\r\n await fetch({ data })\r\n }\r\n\r\n const messageSuccess = !(error && loading) && !!response\r\n\r\n if (messageSuccess) {\r\n // Cambiar nombre de componente\r\n return history.push('/home')} code={9630} />\r\n }\r\n\r\n if (errorFaqs || error) {\r\n return history.push('/home')} code={9999} />\r\n }\r\n\r\n if (loadingFaqs || loading) {\r\n return \r\n }\r\n\r\n return (\r\n \r\n \r\n {textServices.findByText('help/title', { es: '¿Tienes algún problema?', en: 'Do you have a problem?' })}\r\n \r\n {textServices.findByText(\r\n 'help/subtitle',\r\n { es: 'Revisa primero en nuestras preguntas frecuentes, si no encuentras la respuesta, contáctanos.', en: \"Check first our frequently asked questions, if you don't find the answer, contact us.\" }\r\n )}\r\n \r\n \r\n {faqs.map((faq: any) => (\r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: faq.title,\r\n section: `help`\r\n })\r\n }}\r\n >\r\n \r\n \r\n
\r\n ))}\r\n
\r\n
\r\n \r\n
\r\n \r\n {textServices.findByText('help/title', { es: '¿Más dudas?', en: 'more questions?' })}\r\n \r\n \r\n {textServices.findByText('help/subtitleMessage', { es: 'No te preocupes, déjanos un mensaje para solucionarlo.', en: \"Don't worry, leave us a message to solve it.\" })}\r\n \r\n
\r\n {\r\n !user && (\r\n <>\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu nombre',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu apellido',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu email',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n \r\n )\r\n }\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'ingresa tu telefono',\r\n form_action: 'empty',\r\n section: `help`\r\n })\r\n }}\r\n />\r\n {\r\n dlTrackEvent('form_interaction', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'tus dudas',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: `help`\r\n })\r\n }}\r\n >\r\n {\r\n dlTrackEvent('form_send', {\r\n element: 'enviar mensaje',\r\n form_name: 'mas dudas',\r\n form_field: 'faqs',\r\n section: `help`\r\n })\r\n }}\r\n >\r\n {textServices.findByText('help/textArea/button', { es: 'ENVIAR MENSAJE', en: 'SEND MESSAGE' })}\r\n \r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Help\r\n","import { useEffect, useState } from \"react\";\r\nimport { Step } from \"theme/theme\";\r\n\r\nexport function useCustomForm(initialValues: T) {\r\n const [state, setState] = useState(initialValues)\r\n const [history, setHistory] = useState((initialValues as { step?: number })?.step)\r\n const [stepsArray, setStepsArray] = useState([])\r\n const [htmlSteps, setHtmlSteps] = useState(<>)\r\n\r\n const prevStep = () => {\r\n const { step } = state as any;\r\n setHistory(step - 1)\r\n setState((state) => ({ ...state, step: step - 1 }));\r\n }\r\n\r\n const nextStep = () => {\r\n const { step } = state as any;\r\n setHistory(step + 1)\r\n setState((state) => ({ ...state, step: step + 1 }));\r\n }\r\n\r\n const handleChangeState = (object: T) => {\r\n setState((state) => ({ ...state, ...object }));\r\n }\r\n\r\n const backHistory = () => {\r\n setState((state) => ({ ...state, step: history }))\r\n }\r\n\r\n const setQuantitySteps = (quantity: number) => {\r\n setStepsArray(Array.from(Array(quantity).keys()))\r\n }\r\n\r\n useEffect(() => {\r\n setHtmlSteps(\r\n <>\r\n {\r\n stepsArray.map((item) => (\r\n 0{item + 1}\r\n ))\r\n }\r\n \r\n )\r\n }, [state, stepsArray])\r\n\r\n return { state, handleChangeState, prevStep, nextStep, backHistory, setQuantitySteps, htmlSteps };\r\n}","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { MouseEventHandler, useState, VoidFunctionComponent } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { TextRecovery } from 'views/login/text.style'\r\n\r\nexport interface PasswordRecoveryProps {\r\n shouldEnable: boolean\r\n recoverPassword: MouseEventHandler\r\n mailSent: boolean\r\n}\r\n\r\nconst PasswordRecovery: VoidFunctionComponent = ({\r\n shouldEnable,\r\n recoverPassword,\r\n mailSent\r\n}) => {\r\n if (!shouldEnable) {\r\n return null\r\n }\r\n\r\n const [isDisabled, setIsDisabled] = useState(0)\r\n\r\n const handleOnClick = (event: any) => {\r\n event.preventDefault()\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'olvide mi contraseña',\r\n section: 'login'\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'OLVIDE MI CONTRASEÑA', value: '10' })\r\n if (isDisabled >= 2) return null\r\n setIsDisabled((state) => state + 1)\r\n recoverPassword(event)\r\n }\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default PasswordRecovery\r\n","import { Type } from 'theme/types';\r\nimport styled from 'styled-components';\r\n\r\nexport const ContainerPassword = styled.div`\r\n ${({ theme }: Type) => theme?.inputPassword?.container}\r\n`\r\n\r\nexport const InputPassword = styled.input`\r\n ${({ theme }: Type) => theme?.inputPassword?.input}\r\n`\r\n\r\nexport const IconPassword = styled.div`\r\n ${({ theme }: Type) => theme?.inputPassword?.icon}\r\n`","import { forwardRef, useEffect, useRef, useState } from \"react\"\r\nimport mergeRefs from 'merge-refs'\r\nimport { ContainerPassword, IconPassword, InputPassword } from \"./style/custom.style\"\r\n\r\nfunction PasswordWithRef(props, ref) {\r\n\r\n const [showPassword, setShowPassword] = useState(false)\r\n const [type, setType] = useState('password')\r\n\r\n const innerRef = useRef(null)\r\n\r\n useEffect(() => {\r\n return () => {\r\n if (innerRef.current) {\r\n innerRef.current.oninput = undefined\r\n }\r\n }\r\n }, [type])\r\n\r\n const handleClick = () => {\r\n setShowPassword((state) => !state)\r\n setType((state) => (state === 'password' ? 'text' : 'password'))\r\n }\r\n\r\n return (\r\n \r\n \r\n {!showPassword ?\r\n \r\n \r\n \r\n :\r\n \r\n \r\n \r\n }\r\n \r\n )\r\n}\r\n\r\nconst Password = forwardRef(PasswordWithRef)\r\n\r\nexport default Password","import { useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\n\r\nconst BorderBlack = ({ isScanningSuccess }: { isScanningSuccess: boolean }) => {\r\n useEffect(() => {\r\n const footer = document.getElementsByClassName('footer')[0] as HTMLElement\r\n\r\n if (footer) {\r\n footer.style.display = 'none'\r\n\r\n return () => {\r\n footer.style.display = 'flex'\r\n }\r\n }\r\n }, [])\r\n\r\n return (\r\n \r\n {/* Div superior negro */}\r\n \r\n

\r\n {textServices.findByText('signup/referral/scanqr/title', {\r\n es: (\r\n <>\r\n Acerca tu cámara al QR que
aparece en el otro celular para
escanearlo.\r\n \r\n ),\r\n en: (\r\n <>\r\n Bring your camera close to the QR code
displayed on the other device to
scan it.\r\n \r\n )\r\n })}\r\n

\r\n
\r\n\r\n {/* Contenedor central que incluye los lados y la imagen */}\r\n \r\n {/* Div izquierdo negro */}\r\n \r\n\r\n {/* Imagen central */}\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n {/* Div derecho negro */}\r\n \r\n \r\n\r\n {/* Div inferior negro */}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default BorderBlack\r\n","import React, { useRef, useEffect, useCallback, useState } from 'react'\r\nimport Webcam from 'react-webcam'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport jsQR from 'jsqr'\r\nimport BorderBlack from './borderBlack'\r\n\r\nconst ScanQrReferral = ({\r\n toggle,\r\n setScanQrResult\r\n}: {\r\n toggle?: () => void\r\n setScanQrResult: (arg0: string) => void\r\n}) => {\r\n const webcamRef = useRef(null)\r\n const scanningRef = useRef(false)\r\n const [isScanningSuccess, setIsScanningSuccess] = useState(false)\r\n\r\n const extractReferralCode = (url: string): string | null => {\r\n const match = url.match(/referralCode=([A-Za-z0-9]{6})$/)\r\n return match ? match[1] : null\r\n }\r\n\r\n const scanQrFromCamera = useCallback(() => {\r\n const webcam = webcamRef.current\r\n\r\n if (!webcam || scanningRef.current) return\r\n\r\n scanningRef.current = true\r\n\r\n const imageSrc = webcam.getScreenshot()\r\n\r\n if (imageSrc) {\r\n const canvas = document.createElement('canvas')\r\n const context = canvas.getContext('2d')\r\n\r\n const img = new Image()\r\n img.src = imageSrc\r\n\r\n img.onload = () => {\r\n canvas.width = img.width\r\n canvas.height = img.height\r\n context?.drawImage(img, 0, 0, img.width, img.height)\r\n\r\n const imageData = context?.getImageData(0, 0, img.width, img.height)\r\n\r\n if (imageData) {\r\n const qrCode = jsQR(imageData.data, imageData.width, imageData.height)\r\n\r\n if (qrCode?.data) {\r\n const referralCode = extractReferralCode(qrCode.data)\r\n\r\n if (referralCode) {\r\n setScanQrResult(referralCode)\r\n setIsScanningSuccess(true)\r\n setTimeout(() => setIsScanningSuccess(false), 1500)\r\n setTimeout(() => toggle?.(), 700)\r\n }\r\n }\r\n }\r\n scanningRef.current = false\r\n }\r\n } else {\r\n scanningRef.current = false\r\n }\r\n }, [setScanQrResult, toggle])\r\n\r\n useEffect(() => {\r\n const interval = setInterval(() => {\r\n scanQrFromCamera()\r\n }, 1000)\r\n\r\n return () => clearInterval(interval)\r\n }, [scanQrFromCamera])\r\n\r\n return (\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default ScanQrReferral\r\n","import { useEffect, useState } from 'react'\r\nimport { StepText, ProgressContainerSteps, ProgressSteps } from 'theme/theme'\r\n\r\nconst Steps = (props: any) => {\r\n\r\n const { state, htmlSteps } = props\r\n const [percentageStep, setPercentageStep] = useState(((state?.step * 100) / htmlSteps?.props?.children?.length) ?? 0)\r\n\r\n useEffect(() => {\r\n if (htmlSteps?.props?.children?.length > 0) {\r\n setPercentageStep((state?.step * 100) / htmlSteps?.props?.children?.length)\r\n }\r\n }, [htmlSteps?.props?.children])\r\n\r\n return (\r\n
\r\n \r\n {state?.step} / {htmlSteps?.props?.children?.length}\r\n \r\n \r\n \r\n
50 ? 'step-ball__active' : 'step-ball__inactive'}`} />\r\n
70 ? 'step-ball-2__active' : 'step-ball-2__inactive'}`} />\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Steps\r\n","import Button from 'components/button'\r\nimport PasswordRecovery from 'components/form-steps/password-recovery'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { TextRecovery, TextResend, TitleRecovery } from 'views/login/text.style'\r\n\r\ninterface IProps {\r\n isSignUp: boolean,\r\n recoverPassword: React.MouseEventHandler\r\n mailSent: boolean,\r\n setMailSent: any\r\n}\r\n\r\nfunction MailSentPassword({ isSignUp, mailSent, recoverPassword, setMailSent }: IProps) {\r\n useMainClass('login__mail-sent-password')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {textServices.findByText('email/title', { es: '¿Olvidaste tu contraseña?', en: 'Forgot your password?' })}\r\n \r\n {textServices.findByText('email/recovery', { es: 'Ya te enviamos el mail con las instrucciones para resetear tu contraseña. Revisa tus correos para poder volver a ingresar.', en: 'We have already sent you the email with the instructions to reset your password. Please check your emails to be able to log in again.' })}\r\n \r\n
\r\n \r\n {textServices.findByText('email/send', { es: '¿No te llegó ningún mail?', en: 'You did not receive any email?' })}\r\n \r\n \r\n {textServices.findByText('email/resend', { es: 'Intentémoslo de nuevo.', en: \"Let's try it again.\" })}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n setMailSent(null)\r\n }}\r\n >\r\n

\r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n

\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default MailSentPassword","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { AxiosError } from 'axios'\r\nimport Button from 'components/button'\r\nimport PasswordRecovery from 'components/form-steps/password-recovery'\r\nimport Input from 'components/input'\r\nimport Password from 'components/password'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { AuthError } from 'firebase/auth'\r\nimport { dlTrackError, dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { MouseEventHandler, useContext, useEffect, useState } from 'react'\r\nimport { useForm } from 'react-hook-form'\r\nimport { useLocalStorage } from 'react-use'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, Label, PCheckbox, ReferralInput, ReferralLabel, ErrorInput } from 'theme/theme'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { Link } from 'react-router-dom'\r\nimport ScanQrReferral from 'components/allow-cookies/scanQr'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\nimport MailSentPassword from '../mail-sent-password'\r\n\r\nfunction EmailPassword({\r\n state,\r\n onFormSubmitEndPoint,\r\n isSignUp,\r\n mailSent,\r\n setMailSent,\r\n prevStep,\r\n setError,\r\n htmlSteps,\r\n scanQr,\r\n handleScanQr\r\n}: any) {\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors },\r\n getValues,\r\n setError: setErrorForm,\r\n setValue\r\n } = useForm({\r\n resolver: formServices.formValidateErrors(\r\n yupResolver(formServices.formGenerateSchema(['email', 'password', 'referral'])),\r\n isSignUp ? 'sign up :: step 3' : 'login',\r\n isSignUp ? 'sign up' : 'login'\r\n ),\r\n reValidateMode: 'onSubmit'\r\n })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n\r\n const [scanQrResult, setScanQrResult] = useState('')\r\n const [scanRefresh, setScanRefresh] = useState('')\r\n\r\n const [referralCode] = useLocalStorage('referralCode', '')\r\n\r\n const handleTermsOfUse = () => {\r\n if (!termsOfUse) setErrorForm('termsOfUse', null)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto terminos y condiciones',\r\n section: 'sign up :: step 3'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n if (!privacyPolicy) setErrorForm('privacyPolicy', null)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto condiciones de privacidad',\r\n section: 'sign up :: step 3'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleSubscribe = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: 'Acepto recibir novedades',\r\n section: 'sign up :: step 3'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleSubmitValidate = async (data: any) => {\r\n if (isSignUp) {\r\n if (!termsOfUse) {\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'Debes aceptar los términos y condiciones',\r\n section: 'sign up :: step 3'\r\n })\r\n return setErrorForm('termsOfUse', { type: 'required', message: 'Debes aceptar los términos y condiciones' })\r\n }\r\n\r\n if (!privacyPolicy) {\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'Debes aceptar las condiciones de privacidad',\r\n section: 'sign up :: step 3'\r\n })\r\n return setErrorForm('privacyPolicy', { type: 'required', message: 'Debes aceptar el aviso de privacidad.' })\r\n }\r\n }\r\n\r\n try {\r\n setLoad(true)\r\n if (data.referral) await ProfileService.validateReferralCode(data.referral)\r\n dlTrackEvent('form_send', {\r\n element: isSignUp ? 'Siguiente' : 'Inicia sesión',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_field: 'button',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n await onFormSubmitEndPoint({ ...data, subscribe, termsOfUse, privacyPolicy })\r\n } catch (error) {\r\n const typedError = error as AuthError\r\n if (typedError.code) {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - Referral Code existente',\r\n value: '10'\r\n })\r\n setError(typedError.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const recoverPassword: MouseEventHandler = async (event) => {\r\n event.preventDefault()\r\n if (!getValues('email')) {\r\n return alert(\r\n textServices.findByText('login/recovery/alert', {\r\n es: 'Debes ingresar un correo electrónico',\r\n en: 'You must enter an e-mail address'\r\n })\r\n )\r\n }\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.recoverPassword({ email: mailSent || getValues('email') })\r\n if (response.status === 200) setMailSent(mailSent || getValues('email'))\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n setScanQrResult(scanRefresh)\r\n setValue('referral', scanQrResult, { shouldValidate: true })\r\n setScanRefresh('')\r\n }, [scanRefresh])\r\n\r\n const getReferralCode = () => {\r\n const params = new URLSearchParams(window.location.search)\r\n const referralCodeParams = params.get('referralCode')\r\n // console.log(params)\r\n // console.log(referralCodeParams)\r\n if (referralCodeParams) {\r\n setValue('referral', referralCodeParams, { shouldValidate: true })\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferralCode()\r\n }, [])\r\n\r\n if (mailSent) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (scanQr) return \r\n\r\n return (\r\n
\r\n {!CONFIGS?.stepsNewVersion && isSignUp && (\r\n
{htmlSteps}
\r\n )}\r\n\r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'email',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'contraseña',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n \r\n {isSignUp && CONFIGS.allowReferral && (\r\n
\r\n \r\n {textServices.findByText('profile/form/information/referral/label', {\r\n es: 'CÓDIGO REFERIDO (OPCIONAL)',\r\n en: 'REFERRAL CODE (OPTIONAL)'\r\n })}\r\n \r\n
\r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'referral',\r\n form_name: isSignUp ? 'datos cuenta' : 'completa tus datos',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: isSignUp ? 'sign up :: step 3' : 'login'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n )}\r\n
\r\n\r\n {CONFIGS?.stepsNewVersion && isSignUp && }\r\n\r\n {isSignUp && (\r\n <>\r\n \r\n \r\n \r\n {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/suscribe/label', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para\r\n procesar tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido\r\n personalizado. En cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu{' '}\r\n Preference Center o a través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time,\r\n you can manage or withdraw your consent by accessing your Preference Center or through the means\r\n we make available to you in the{' '}\r\n \r\n Privacy Notice\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n element: 'help',\r\n section: 'login :: help'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'login :: help',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n {textServices.findByText('signup/needHelp', {\r\n es: '¿Necesitas ayuda? Click aqui',\r\n en: 'Need help? Click here'\r\n })}\r\n \r\n
\r\n \r\n {isSignUp ? (\r\n {\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'volver', section: 'sign up :: step 3' })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n ) : (\r\n {\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'volver', section: 'iniciar sesion' })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INICIAR SESION - Volver atras',\r\n value: '10'\r\n })\r\n history.back()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n )}\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default EmailPassword\r\n","import { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\nimport { useRef } from \"react\"\r\nimport styled from \"styled-components\"\r\nimport { Type } from \"theme/types\"\r\n\r\nconst Input = styled.input`\r\n ${({ theme }: Type) => theme?.inputOtp}\r\n`\r\n\r\nfunction OtpInput({ setValue }: any) {\r\n\r\n const one = useRef(null)\r\n const two = useRef(null)\r\n const tree = useRef(null)\r\n const four = useRef(null)\r\n const five = useRef(null)\r\n const six = useRef(null)\r\n\r\n const inputBlur = () => {\r\n const refs: Record = {\r\n one: one.current,\r\n two: two.current,\r\n tree: tree.current,\r\n four: four.current,\r\n five: five.current,\r\n six: six.current\r\n }\r\n\r\n const valueRefs = `${refs.one?.value}${refs.two?.value}${refs.tree?.value}${refs.four?.value}${refs.five?.value}${refs.six?.value}`\r\n\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'otp',\r\n form_name: 'verifica tu email',\r\n form_action: valueRefs.length === 6 ? 'complete' : 'empty',\r\n section: 'sign up'\r\n })\r\n }\r\n\r\n const inputChange = (e: React.ChangeEvent) => {\r\n const { name, value } = e.target\r\n const refs: Record = {\r\n one: one.current,\r\n two: two.current,\r\n tree: tree.current,\r\n four: four.current,\r\n five: five.current,\r\n six: six.current\r\n }\r\n const valueRefs = `${refs.one?.value}${refs.two?.value}${refs.tree?.value}${refs.four?.value}${refs.five?.value}${refs.six?.value}`\r\n setValue(\"otp\", valueRefs)\r\n if (value.length > 0) {\r\n const index =\r\n name === 'one'\r\n ? 'two'\r\n : name === 'two'\r\n ? 'tree'\r\n : name === 'tree'\r\n ? 'four'\r\n : name === 'four'\r\n ? 'five'\r\n : name === 'five'\r\n ? 'six'\r\n : 'one'\r\n refs[index]?.focus()\r\n }\r\n }\r\n\r\n const inputArr = [\r\n { name: \"one\", ref: one },\r\n { name: \"two\", ref: two },\r\n { name: \"tree\", ref: tree },\r\n { name: \"four\", ref: four },\r\n { name: \"five\", ref: five },\r\n { name: \"six\", ref: six }\r\n ]\r\n\r\n const completeOtpCode = (codeOtp: string) => {\r\n setValue(\"otp\", codeOtp)\r\n const codeOtpArray = codeOtp.split('')\r\n inputArr.forEach(({ ref }, index) => {\r\n ref.current.value = codeOtpArray[index] || ''\r\n })\r\n inputBlur()\r\n }\r\n\r\n return (\r\n
\r\n {inputArr.map(({ name, ref }, index) => {\r\n return event.target.select()}\r\n onChange={inputChange}\r\n onPaste={(event) => index === 0 && completeOtpCode(event.clipboardData.getData('text/plain'))}\r\n className=\"mx-auto uppercase text-center saira input-otp\"\r\n maxLength={1}\r\n key={index}\r\n onBlur={index === 5 ? inputBlur : null}\r\n required\r\n />\r\n })}\r\n
\r\n )\r\n}\r\n\r\nexport default OtpInput","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Title, SubTitle, Text } from \"theme/theme\";\r\n\r\nexport const TitleSignUpWelcome = styled(Title)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.title}\r\n`;\r\n\r\nexport const ColorDiv = styled.div`\r\n ${({theme}: Type) => theme?.signup?.otp?.colorDiv}\r\n`;\r\n\r\nexport const SubTitleSignUpWelcome = styled(SubTitle)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.subtitle}\r\n`\r\n\r\nexport const TextSignUpWelcome = styled(Text)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.text}\r\n`\r\n\r\nexport const TextSecondSignUpWelcome = styled(TextSignUpWelcome)`\r\n ${({theme}: Type) => theme?.signup?.welcome?.text?.textSecondary}\r\n`\r\n\r\nexport const SubTitleSignUpOtp = styled(SubTitle)`\r\n ${({theme}: Type) => theme?.signup?.otp?.text?.subtitle}\r\n`\r\n\r\nexport const TextSignUpOtp = styled(Text)`\r\n ${({theme}: Type) => theme?.signup?.otp?.text?.text}\r\n`\r\nexport const BackBtn = styled.p`\r\n ${({theme}: Type) => theme?.signup?.welcome?.backBtn}\r\n`","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport Button from 'components/button'\r\nimport { ErrorInput } from 'theme/theme'\r\nimport OtpInput from 'components/otp-input'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer';\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from 'services/form-builder-services'\r\nimport useRouter from 'hooks/use-router';\r\nimport textServices from 'services/text-services';\r\nimport useMainClass from 'hooks/use-main-cass';\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useContext, useEffect } from 'react'\r\nimport { SubTitleSignUpOtp, TextSignUpOtp, ColorDiv, BackBtn } from '../styles/custom.style';\r\n\r\ninterface IProps {\r\n email: string;\r\n handleConfirm: (data: any) => void;\r\n}\r\n\r\nfunction Otp({ email = '', handleConfirm }: IProps) {\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n const { handleSubmit, formState: { errors }, setValue } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"otp\"])) })\r\n const { history } = useRouter()\r\n useMainClass('sign-up__welcome__otp')\r\n\r\n const onSubmit = (data) => {\r\n dlTrackEvent('form_send', {\r\n element: 'verificar',\r\n form_name: 'verifica tu email',\r\n section: 'sign up'\r\n })\r\n handleConfirm(data)\r\n }\r\n\r\n useEffect(() => {\r\n setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('signup/welcome/otp/title', { es: 'Ingresa el código de 6 dígitos que recibiste para verificar tu email.', en: 'Enter the 6-digit code you received to verify your email address.' })}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {textServices.findByText('signup/welcome/otp/sendpassword', { es: <>Una contraseña de un solo uso se envió a {email}, en: <>A one-time password was sent to {email} }, { EMAIL: email })}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Otp","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TitleEmail = styled(Title)`\r\n ${({ theme }: Type) => theme?.email?.text?.title}\r\n`\r\n\r\nexport const TextEmail = styled(Text)`\r\n ${({ theme }: Type) => theme?.email?.text?.text}\r\n`","import Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport { useLocalStorage } from 'react-use'\r\nimport { TextEmail, TitleEmail } from 'views/mail-verify/text.style'\r\n\r\ninterface IProps {\r\n handleLogin: () => Promise | void\r\n}\r\n\r\nfunction AlreadyParticipate({ handleLogin }: IProps) {\r\n\r\n useMainClass('sign-up__done')\r\n const [, setFlowType] = useLocalStorage('flowType')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n ¡YA ESTÁS PARTICIPANDO!\r\n Felicitaciones has confirmado con éxito tu cuenta. Puedes descargar tu TECATE ID para llevarlo en tu dispositivo. \r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default AlreadyParticipate;","import Button from 'components/button'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { TextEmail, TitleEmail } from 'views/mail-verify/text.style'\r\nimport AlreadyParticipate from './already-participate'\r\n\r\ninterface IProps {\r\n handleLogin: () => Promise\r\n name: string\r\n}\r\n\r\nfunction Done({ handleLogin, name }: IProps) {\r\n\r\n const [flowType] = useLocalStorage('flowType')\r\n useMainClass('sign-up__done')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n if (flowType === 'alreadyParticipate') return \r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('mail/title', { es: name ? <>Excelente
{name} : <>E-mail validado
con éxito, en: name ? <>Excellent
{name} : <>E-mail validated
successfully }, { name })}
\r\n {textServices.findByText('mail/description', { es: <>Has confirmado con éxito tu cuenta.
Ya puedes ingresar, en: <>You have successfully confirmed your account.
You can now enter })}
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Done","const utmServices = {\r\n utmRead() {\r\n const utm = window.localStorage.getItem('utm')\r\n if (utm) return JSON.parse(utm)\r\n return null\r\n }\r\n}\r\n\r\nexport default utmServices\r\n","import { getAuth, signInWithEmailAndPassword } from 'firebase/auth'\r\nimport { AxiosError } from 'axios'\r\nimport { useHistory } from 'react-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { useCustomForm } from 'hooks/use-custom-form';\r\nimport EmailPassword from 'components/form-information/email-password';\r\nimport ProfileService from 'services/profile-services'\r\nimport useRedirect from 'hooks/use-redirect';\r\nimport Otp from 'views/sign-up/components/otp';\r\nimport { dlSetUserInfo, dlTrackError, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view';\r\nimport Done from 'views/sign-up/components/done'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport utmServices from 'services/utm-services'\r\nimport textServices from 'services/text-services';\r\nimport CONFIGS from 'build/Config'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context';\r\nimport { TitleLogin } from './text.style';\r\n\r\nconst auth = getAuth()\r\n\r\nconst Login = () => {\r\n const history = useHistory()\r\n const [, { setSession, setUser }] = useSession()\r\n const [{ url }, { redirect }] = useRedirect();\r\n const { setLoad } = useContext(LoaderContext)\r\n const { state, handleChangeState } = useCustomForm({ step: 1, email: '', password: '' })\r\n const [mailSent, setMailSent] = useState(null)\r\n const [genericError, setGenericError] = useState(null)\r\n const [done, setDone] = useState(false)\r\n const [credentials, setCredentials] = useState(null)\r\n const [otp, setOtp] = useState(false)\r\n const [flowType] = useLocalStorage('flowType')\r\n const [dataUser, setDataUser] = useState(null)\r\n const [prize, setPrize] = useState(null)\r\n useMainClass('login')\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: genericError !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [genericError])\r\n\r\n const handleMenu = () => {\r\n setGenericError(null)\r\n }\r\n\r\n const handleUser = (user: UserData, credentials: any) => {\r\n dlTrackEvent('login', { method: 'email' })\r\n gtag(\"event\", \"login\", { method: \"Email\" });\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'email')\r\n\r\n setSession(credentials);\r\n setUser(user);\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return history.push('/information/update');\r\n\r\n return history.push('/home')\r\n }\r\n\r\n const handleError = (error: AxiosError) => {\r\n if (error?.isAxiosError) {\r\n const { code: errorCode, message: errorMessage } = error?.response?.data ?? {}\r\n dlTrackError({ error_type: 'login', error_code: { errorCode }, error_message: { errorMessage }, section: 'login' })\r\n return setGenericError(errorCode)\r\n }\r\n\r\n if (error?.code) return setGenericError(error.code)\r\n }\r\n\r\n const handleButton = (code: number) => {\r\n if (code === 50) setOtp(true)\r\n setGenericError(null)\r\n }\r\n\r\n const handleConfirm = async (data) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.otpVerifyEmail({ code: data.otp, credentials })\r\n if (response?.status === 200) {\r\n setDone(true)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setGenericError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleOnSubmit = async ({ email, password }: any) => {\r\n setLoad(true)\r\n try {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'LOGIN - Iniciar sesión', value: 'Email' })\r\n const credentials = await signInWithEmailAndPassword(auth, email, password)\r\n\r\n setCredentials(credentials)\r\n setDataUser({ email, password })\r\n\r\n if (flowType === 'alreadyParticipate' && !done) return setDone(true)\r\n const utm = utmServices.utmRead()\r\n const { data: { profile, prize } } = await ProfileService.signInWithEmailAndPassword({ credentials, utm })\r\n\r\n if (prize) {\r\n setDataUser(profile)\r\n return setPrize(prize)\r\n }\r\n\r\n handleUser(profile, credentials)\r\n } catch (error) {\r\n handleError(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleDone = async () => await handleOnSubmit({ email: dataUser?.email, password: dataUser?.password })\r\n\r\n if (genericError) return \r\n\r\n if (prize) return (\r\n handleUser(dataUser, credentials),\r\n handleButtonCommon: () => handleUser(dataUser, credentials),\r\n handleButtonSticker: () => handleUser(dataUser, credentials),\r\n }}\r\n item={prize}\r\n module=\"login\"\r\n name={dataUser?.firstName}\r\n />\r\n )\r\n\r\n if (done) return \r\n\r\n if (otp) return \r\n\r\n return (\r\n
\r\n {!mailSent && {textServices.findByText('login/title', { es: 'Inicia sesión', en: 'Login' })}}\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Login\r\n","import { VERIFY } from 'constants/api'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport useRouter from 'hooks/use-router'\r\nimport axios, { AxiosError } from 'axios'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport Button from 'components/button'\r\nimport { Link } from 'react-router-dom'\r\nimport ErrorView from 'components/error-view'\r\nimport { TextEmail, TitleEmail } from './text.style'\r\n\r\nconst MailVerify = () => {\r\n const [error, setError] = useState(null)\r\n const { search, history } = useRouter()\r\n const { setLoad, load } = useContext(LoaderContext)\r\n const { push } = useRouter()\r\n const query = new URLSearchParams(search)\r\n const oobCode = query.get('oobCode')?.replace(/&$/i, '').replaceAll(' ', '+')\r\n const nickName = localStorage.getItem('nickName')\r\n\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'VERIFY MAIL - Verificar Email', value: '10' })\r\n\r\n const verifyMail = async () => {\r\n setLoad(true)\r\n try {\r\n const { status } = await axios.post(VERIFY, { oobCode })\r\n console.log(status)\r\n } catch (error) {\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n verifyMail()\r\n }, [oobCode, history])\r\n\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: error !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [error])\r\n\r\n if (load) {\r\n return \r\n }\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'EMAIL - Salir de la pantalla de error', value: '10' })\r\n setError(null)\r\n push('/')\r\n }\r\n\r\n const handleButton = () => {\r\n setError(null)\r\n push('/')\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('mail/title', nickName ? <>Excelente
{nickName} : <>E-mail validado
con éxito, {apodo: nickName})}
\r\n {textServices.findByText('mail/description', <>Has confirmado con éxito tu cuenta.
Ya puedes ingresar)}
\r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default MailVerify\r\n","import styled from \"styled-components\";\r\nimport { Type } from 'theme/types';\r\nimport { Title } from \"theme/theme\";\r\n\r\nexport const TitlePassword = styled(Title)`\r\n ${({ theme }: Type) => theme?.password?.text?.title}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport Button from \"components/button\";\r\nimport Password from \"components/password\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ErrorInput } from \"theme/theme\";\r\nimport { TitlePassword } from \"./text.style\";\r\n\r\nfunction ChangePassword({ state, handleChange, onSubmit }: any) {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"password\", \"password_confirm\"])) })\r\n\r\n function onFormSubmit(data: any) {\r\n handleChange(data)\r\n onSubmit(data.password)\r\n }\r\n\r\n return (\r\n
\r\n {textServices.findByText('password/title', { es: 'Recuperar contraseña', en: 'Password recovery' })}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ChangePassword;","import { AxiosError } from 'axios'\r\nimport ChangePassword from 'components/form-information/password-recovery'\r\nimport { useCustomForm } from 'hooks/use-custom-form'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ProfileService from 'services/profile-services'\r\nimport ErrorView from 'components/error-view'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\n\r\nconst PasswordReset = () => {\r\n const { state, handleChangeState } = useCustomForm({ step: 1, password: '', password_confirm: '' })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [error, setError] = useState(null)\r\n const { push, search } = useRouter()\r\n const query = new URLSearchParams(search)\r\n const oobCode = query.get('oobCode')?.replace(/&$/i, '').replaceAll(' ', '+')\r\n useMainClass('login__password-reset')\r\n useEffect(() => {\r\n setLoad(true)\r\n }, [])\r\n\r\n const verifyReset = async () => {\r\n try {\r\n const response = await ProfileService.verifyReset(JSON.stringify({ oobCode }))\r\n if (response.status === 200) setLoad(false)\r\n else {\r\n alert('enlace inválido')\r\n push('/start')\r\n setLoad(false)\r\n }\r\n } catch (err) {\r\n alert('enlace inválido')\r\n push('/start')\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n verifyReset()\r\n }, [oobCode, history])\r\n\r\n const onSubmit = async (newPassword) => {\r\n setLoad(true)\r\n try {\r\n await ProfileService.doReset({ oobCode, newPassword })\r\n push('/login')\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (error) {\r\n return (\r\n error(null)} onRetry={() => error(null)} />\r\n )\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PasswordReset\r\n","import { lazy, Suspense } from \"react\"\r\nimport { Route } from \"react-router-dom\"\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\"\r\nimport { useSurveyRedirect } from \"contexts/survey-context/useSurvey\"\r\nimport { SurveyTypeEnum } from \"contexts/survey-context/survey.interface\"\r\nimport { PrizesProvider } from \"./context\"\r\nconst Preview = lazy(() => import(\"./preview\"))\r\nconst Congrats = lazy(() => import(\"./congrats\"))\r\nconst Description = lazy(() => import(\"./description\"))\r\nconst ExChange = lazy(() => import(\"./exchange\"))\r\nconst StartPrizes = lazy(() => import(\"./prizes\"))\r\nconst Error = lazy(() => import(\"./error\"))\r\n\r\nconst Prizes = () => {\r\n useSurveyRedirect(SurveyTypeEnum.PRIZES)\r\n\r\n return (\r\n Cargando}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Prizes\r\n","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TextProfile = styled(Title)`\r\n ${( { theme }: Type ) => theme?.profile?.text.text }\r\n`\r\n\r\nexport const TextProfileSecondary = styled(Text)`\r\n ${( { theme }: Type ) => theme?.profile?.text.textSecondary }\r\n`\r\n\r\nexport const TextProfileNav = styled(Text)`\r\n ${( { theme }: Type ) => theme?.profile?.text.textNav }\r\n`\r\n\r\nexport const TextNotFoundHistory = styled(Title)`\r\n ${( { theme }: Type ) => theme?.profile?.text?.textNotFoundHistory }\r\n`\r\n\r\nexport const TextPref = styled.p`\r\n ${( { theme }: Type ) => theme?.profile?.text?.textPref }\r\n`","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { TRIVIA_INTERESTS } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { MouseEventHandler, useContext, useEffect } from 'react'\r\nimport { useLocation } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport { useSet } from 'react-use'\r\nimport { TextPref } from 'views/profile/text.style'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { ButtonPref } from '../../theme/profile'\r\n\r\nconst PrefPicker = () => {\r\n const [activeItems, activeItemsSet] = useSet(new Set([]))\r\n const [, { setInterests }] = useTrivia()\r\n const [{ data: session, user }] = useSession()\r\n const location = useLocation()\r\n const [state] = useTrivia()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [{ error, loading, data }] = useAxios<{ id: number; name: string }[]>({\r\n url: TRIVIA_INTERESTS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n const name =\r\n user?.nickName ||\r\n (user?.firstName && user?.firstName.length > 20 ? user?.firstName.substring(0, 17) + '...' : user?.firstName)\r\n\r\n useEffect(() => {\r\n user?.interests.forEach(({ id }) => {\r\n activeItemsSet.add(id)\r\n })\r\n }, [user])\r\n\r\n useEffect(() => {\r\n setLoad(loading)\r\n return () => {\r\n setLoad(false)\r\n }\r\n }, [loading])\r\n\r\n const isProfile = location.pathname.endsWith('/profile/preferences')\r\n\r\n if (error) {\r\n return
error.message
\r\n }\r\n\r\n const handleOnClick: MouseEventHandler = (event) => {\r\n event.persist()\r\n\r\n const { currentTarget } = event\r\n\r\n currentTarget.toggleAttribute('data-selected')\r\n\r\n const id = parseInt(currentTarget.getAttribute('data-interest-id') as string, 10)\r\n\r\n activeItemsSet.toggle(id)\r\n }\r\n\r\n const sendInterest = async () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'INTERESES - Guardar mis intereses',\r\n value: '10'\r\n })\r\n setLoad(true)\r\n await setInterests(Array.from(activeItems))\r\n setLoad(false)\r\n }\r\n\r\n if (load) {\r\n return <>\r\n }\r\n\r\n const enableButton = activeItems.size < 3\r\n\r\n return (\r\n
\r\n
\r\n {!!data &&\r\n data.map((category) => {\r\n return (\r\n \r\n {category?.name}\r\n \r\n )\r\n })}\r\n
\r\n
\r\n \r\n

{isProfile ? 'GUARDAR' : 'CONTINUAR'}

\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PrefPicker\r\n","import Button from 'components/button'\r\nimport { useSession } from 'contexts/session-context'\r\nimport dayjs from 'dayjs'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { TextProfile, TextProfileSecondary } from 'views/profile/text.style'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst Information = () => {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__information')\r\n const birthday = dayjs(user?.birthday).format('DD/MM/YY')\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('profile/miInformation/name', { es: 'Nombre y apellido', en: 'First and last name' })}\r\n \r\n {user?.firstName} {user?.lastName}\r\n \r\n {!CONFIGS.notShowFields?.includes('nickName') ? (\r\n <>\r\n {textServices.findByText('profile/miInformation/nickname', { es: 'Apodo', en: 'Nickname' })}\r\n \r\n {user?.nickName ? user?.nickName : 'Sin información'}\r\n \r\n \r\n ) : null}\r\n {textServices.findByText('profile/miInformation/agegate', { es: 'Fecha de nacimiento', en: 'Date of birth' })}\r\n \r\n {(birthday !== 'Invalid Date' && birthday) ? birthday : 'Sin informacion'}\r\n \r\n {user?.email && (\r\n <>\r\n Mail\r\n \r\n {user?.email}\r\n \r\n \r\n )}\r\n {textServices.findByText('profile/miInformation/genre', { es: 'Género', en: 'Genre' })}\r\n \r\n {user?.genre || user?.genreId || 'Sin informacion'}\r\n \r\n
\r\n {\r\n CONFIGS.profile?.notShowButtonInformation ? null : (\r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default Information\r\n","import { HISTORY_TRACKER } from 'constants/api'\r\nimport Button from 'components/button'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { Main } from 'theme/theme'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { Spinner } from 'theme/loading'\r\nimport images from 'images.json'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport dayjs from 'dayjs'\r\nimport GenericError from 'components/generic-error'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport Countdown from 'react-countdown'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\n\r\ninterface IProps {\r\n item: any\r\n closePopup: any\r\n timeResult: any\r\n setProductExchange: any\r\n}\r\n\r\nconst PopUpCoupon = ({ item, closePopup, timeResult, setProductExchange }: IProps) => {\r\n const [{ data: session }] = useSession()\r\n dayjs.extend(calendar)\r\n useMainClass('profile__history__popup__coupon')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null\r\n setFooter(false)\r\n if (div) div.style.display = 'none'\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex'\r\n setFooter(true)\r\n }\r\n }, [])\r\n\r\n const [showTimePopUp, setShowTimePopUp] = useState(false)\r\n const [dateCountdown, setDateCountdown] = useState(null)\r\n const [expired, setExpired] = useState(false)\r\n const history = useHistory()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const countDownFn = (expiresAt: string) => {\r\n const validFrom = new Date(expiresAt)\r\n const date = dayjs(validFrom)\r\n setDateCountdown(date.toDate())\r\n }\r\n\r\n const historyTracker = async () => {\r\n setLoad(true)\r\n try {\r\n const newItem = await axios.get(HISTORY_TRACKER.replace(':historyId', item?.id), {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n setProductExchange({\r\n ...item,\r\n temporalCouponExpiresAt: newItem?.data?.expiresAt\r\n })\r\n countDownFn(newItem?.data?.expiresAt)\r\n } catch (error) {\r\n return (\r\n history.push('/profile/history')}\r\n buttonText=\"VOLVER A CANJES\"\r\n description=\"Tranqui...todo tiene solución\"\r\n />\r\n )\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const acceptUseCoupon = () => {\r\n setShowTimePopUp(!showTimePopUp)\r\n historyTracker()\r\n }\r\n\r\n useEffect(() => {\r\n if (timeResult(item?.temporalCouponExpiresAt)) {\r\n setShowTimePopUp(true)\r\n countDownFn(item?.temporalCouponExpiresAt)\r\n setLoad(false)\r\n }\r\n setLoad(false)\r\n }, [])\r\n\r\n const Clock = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n\r\n const renderer = ({ minutes, seconds, completed }) => {\r\n if (completed) {\r\n // Render a completed state\r\n setExpired(true)\r\n return (\r\n \r\n {textServices.findByText('profile/coupon/popup/timeFinish', { es: 'Tiempo finalizado', en: 'Finished time' })}\r\n \r\n )\r\n } else {\r\n // Render a countdown\r\n return (\r\n \r\n {minutes < 10 ? `0${minutes}` : minutes}:{seconds < 10 ? `0${seconds}` : seconds}\r\n \r\n )\r\n }\r\n }\r\n\r\n if (showTimePopUp) {\r\n return (\r\n
\r\n \r\n
\r\n {item?.title}\r\n\r\n
\r\n

\r\n {textServices.findByText('profile/coupon/popup/title', { es: 'canje', en: 'exchange' })} {item?.title}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/staff', {\r\n es: 'Ahora muestra tu pantalla en atención al cliente.',\r\n en: \"Now show your screen to the person who is serving you at the cashier's desk.\"\r\n })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/expire', { es: 'EXPIRA:', en: 'EXPIRE:' })}{' '}\r\n {new Date(item?.temporalCouponExpiresAt).toLocaleString()}\r\n

\r\n
\r\n\r\n
\r\n {dateCountdown ? (\r\n <>\r\n

\r\n {!expired && }\r\n \r\n

\r\n
\r\n {!expired &&\r\n textServices.findByText(\r\n 'profile/coupon/popup/spinner',\r\n \r\n )}\r\n
\r\n \r\n ) : (\r\n

\r\n {textServices.findByText('profile/coupon/popup/timeFinish', {\r\n es: 'Tiempo finalizado',\r\n en: 'Finished time'\r\n })}\r\n

\r\n )}\r\n
\r\n
\r\n
\r\n )\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n {item?.title}\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/wait', { es: '¡Espera!', en: 'Wait!' })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/description', {\r\n es: 'Estás a punto de activar tu cupón de canje para mostrar en caja.',\r\n en: 'You are about to activate your redemption coupon to show at the cash register.'\r\n })}\r\n

\r\n\r\n

\r\n {' '}\r\n {textServices.findByText('profile/coupon/popup/warning', {\r\n es: (\r\n <>\r\n Recuerda que este cupón es válido para usarlo una sola vez y tendrás unicamente{' '}\r\n 15 minutos para hacerlo.\r\n \r\n ),\r\n en: (\r\n <>\r\n Remember that this coupon is valid for one time use only and you will only have{' '}\r\n 15 minutes to use it.\r\n \r\n )\r\n })}\r\n

\r\n\r\n

\r\n {textServices.findByText('profile/coupon/popup/sure', {\r\n es: '¿Seguro que quieres activarlo ahora?',\r\n en: 'Are you sure you want to activate it now?'\r\n })}\r\n

\r\n\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default PopUpCoupon\r\n","const formatDate = (isoDate: string): string => {\r\n const date = new Date(isoDate)\r\n const day = date.getUTCDate().toString().padStart(2, '0')\r\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0')\r\n const year = date.getUTCFullYear()\r\n\r\n return `${day}/${month}/${year}`\r\n}\r\n\r\nexport { formatDate }\r\n","// 1 = NUEVO - EN ESPERA PARA ENVIAR\r\n// 2 = EN PROCESO -\r\n// 3 = ENVIADO - ENVIADO A DESTINO\r\n// 4 = ENTREGADO\r\n// 5 = CANCELADO\r\n// 6 = CUPON TEMPORAL ENTREGADO - DISPONIBLE PARA RETIRO\r\n// 7 = CUPON TEMPORAL USADO - RETIRADO\r\n\r\nimport textServices from 'services/text-services'\r\n\r\nconst Status = ({ status }: { status: any }) => {\r\n const statusStyles = [\r\n {\r\n class: 'status-pending-send',\r\n text: textServices.findByText('', { es: 'En espera para enviar', en: 'Pending to send' })\r\n },\r\n {\r\n class: 'status-pending-pickup',\r\n text: textServices.findByText('', { es: 'En espera para retiro', en: 'Pending for pickup' })\r\n },\r\n {\r\n class: 'status-sent',\r\n text: textServices.findByText('', { es: 'Enviado a destino', en: 'Sent to destination' })\r\n },\r\n {\r\n class: 'status-available-pickup',\r\n text: textServices.findByText('', { es: 'Disponible para retiro', en: 'Available for pickup' })\r\n },\r\n {\r\n class: 'status-cancelled',\r\n text: textServices.findByText('', { es: 'Cancelado', en: 'Cancelled' })\r\n },\r\n {\r\n class: 'status-delivered',\r\n text: textServices.findByText('', { es: 'Entregado', en: 'Delivered' })\r\n },\r\n {\r\n class: 'status-withdrawn',\r\n text: textServices.findByText('', { es: 'Retirado', en: 'Withdrawn' })\r\n }\r\n ]\r\n\r\n const statusInfo = statusStyles[status - 1]\r\n\r\n return (\r\n
\r\n

{statusInfo?.text}

\r\n
\r\n )\r\n}\r\n\r\nexport default Status\r\n","import textServices from 'services/text-services'\r\nimport { formatDate } from '../utils/formatDate'\r\nimport Status from './States'\r\n\r\ninterface IPrize {\r\n item?: any\r\n setShowDetails: (arg0: any) => void\r\n productExchangeCoupon?: any\r\n timeResult?: any\r\n}\r\n\r\nconst Prize = ({ item, setShowDetails, productExchangeCoupon, timeResult }: IPrize) => {\r\n const setDetails = () => {\r\n setShowDetails(item)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \"Premio\"\r\n
\r\n
\r\n

{item?.title}

\r\n

Ganado {formatDate(item?.exchangeAt)}

\r\n \r\n
\r\n {(item?.orderStatus === 6 || item?.temporalCouponExpiresAt) && (\r\n {\r\n if (item?.orderStatus === 6 || timeResult(item?.temporalCouponExpiresAt)) {\r\n productExchangeCoupon(item)\r\n }\r\n }}\r\n className={`profile__prizes__item__container__btn__btn-main ${\r\n item?.orderStatus === 6 ? 'profile__history__button__active' : ''\r\n } ${timeResult(item?.temporalCouponExpiresAt) ? 'profile__history__button__progress' : ''} ${\r\n item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt) ? '' : ''\r\n }`}\r\n disabled={item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)}\r\n >\r\n {item?.orderStatus === 6 &&\r\n textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })}\r\n {timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/active', {\r\n es: 'Ver cupón activo',\r\n en: 'View coupon active'\r\n })}\r\n {item?.orderStatus === 7 &&\r\n !timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })}\r\n \r\n )}\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Prize\r\n","import { HISTORY_ID } from 'constants/api'\r\nimport axios from 'axios'\r\nimport dayjs from 'dayjs'\r\n\r\nexport const fetchHistoryId = async (id: string, token: string) => {\r\n try {\r\n const response = await axios.get(HISTORY_ID.replace(':id', id), {\r\n headers: {\r\n Authorization: `Bearer ${token}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n return response.data\r\n } catch (error) {\r\n console.error('Error al obtener HISTORY_ID:', error)\r\n return null\r\n }\r\n}\r\n\r\nexport const timeResult = (date: any) => {\r\n const currentDate = dayjs(new Date())\r\n\r\n const compareDate = new Date(date as string)\r\n\r\n const diff = dayjs(compareDate)\r\n\r\n const result = currentDate <= diff\r\n\r\n if (result) {\r\n return true\r\n }\r\n\r\n return false\r\n}\r\n","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport React from 'react'\r\n\r\ninterface ICheckIcon {\r\n color?: string\r\n className?: string\r\n height?: number\r\n width?: number\r\n}\r\n\r\nconst CheckIcon = ({ width = 18, height = 12, className = '', color }: ICheckIcon) => (\r\n \r\n \r\n \r\n)\r\n\r\ninterface StepProps {\r\n title: string\r\n description?: React.ReactNode\r\n completed: boolean\r\n isLast?: boolean\r\n nextStepCompleted?: boolean\r\n position?: number\r\n}\r\n\r\ntype Address = {\r\n neighborhood: string | null\r\n postalCode: string | null\r\n city: string | null\r\n state: string | null\r\n country: string | null\r\n streetType: string | null\r\n curp: string | null\r\n phone: string | null\r\n firstName: string | null\r\n lastName: string | null\r\n street1: string | null\r\n street2: string | null\r\n streetNumber: string | null\r\n apartament: string | null\r\n shippingDetails: string | null\r\n}\r\n\r\ntype TStep = {\r\n step: number\r\n stepTitle: string\r\n checked: boolean\r\n addressTitle: string | null\r\n address: Address | null\r\n}\r\n\r\nconst Step = ({ title, description, completed, isLast, nextStepCompleted, position }: StepProps) => (\r\n
\r\n
\r\n
\r\n {completed && }\r\n
\r\n {!isLast && (\r\n \r\n )}\r\n
\r\n
\r\n

{title}

\r\n {\r\n
\r\n {description ??
}\r\n
\r\n }\r\n
\r\n
\r\n)\r\ninterface IVerticalStepper {\r\n trackingDetail: TStep[]\r\n courier: any\r\n}\r\n\r\nconst formatSteps = (\r\n trackingDetail: TStep[],\r\n courier: any\r\n): { title: string; description?: JSX.Element; completed: boolean }[] => {\r\n console.log('courier', courier)\r\n if (!trackingDetail) {\r\n return null\r\n }\r\n\r\n const courierExists = () => {\r\n const url = courier?.url?.replace('{trackingNumber}', courier?.trackingNumber)\r\n\r\n if (url) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ver courier',\r\n section: 'tracking :: prize'\r\n })\r\n window.open(url, '_blank')\r\n }\r\n }\r\n\r\n return trackingDetail.map((step) => {\r\n const formattedStep: { title: string; description?: JSX.Element; completed: boolean } = {\r\n title: step.stepTitle.toUpperCase(),\r\n completed: step.checked\r\n }\r\n\r\n if (step.address && step.addressTitle) {\r\n formattedStep.description = (\r\n
\r\n {courier && (\r\n
\r\n

\r\n Tracking N°: {courier?.trackingNumber ?? 'no encontrado'}\r\n

\r\n

\r\n Nombre courier:{' '}\r\n \r\n

\r\n
\r\n )}\r\n\r\n
{step.addressTitle.toUpperCase()}
\r\n

\r\n {step.address.street1 && (\r\n <>\r\n {step.address.street1},
\r\n \r\n )}\r\n {step.address.neighborhood && (\r\n <>\r\n {step.address.neighborhood},
\r\n \r\n )}\r\n {step.address.city && (\r\n <>\r\n {step.address.city}\r\n
\r\n \r\n )}\r\n {step.address.state && <>{step.address.state}}\r\n

\r\n
\r\n )\r\n }\r\n\r\n return formattedStep\r\n })\r\n}\r\n\r\nexport default function VerticalStepper({ trackingDetail, courier }: IVerticalStepper) {\r\n const steps = formatSteps(trackingDetail, courier)\r\n return (\r\n
\r\n {steps &&\r\n steps.map((step, index) => (\r\n \r\n ))}\r\n
\r\n )\r\n}\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { Input } from 'theme/theme'\r\n\r\ninterface IProps {\r\n setShowOrderNumber: (value: boolean) => void\r\n details: any\r\n}\r\n\r\nconst NumberOrder = ({ setShowOrderNumber, details }: IProps) => {\r\n useMainClass('profile__history__numberorder')\r\n\r\n return (\r\n <>\r\n setShowOrderNumber(null)} />\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n

NÚMERO DE ORDEN

\r\n \r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default NumberOrder\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { formatDate } from '../utils/formatDate'\r\nimport { fetchHistoryId, timeResult } from '../utils/functions'\r\nimport Steps from './Steps'\r\nimport NumberOrder from './NumberOrder'\r\n\r\ninterface IDetails {\r\n setShowDetails: (arg0: any) => void\r\n setShowOrderNumber: (value: boolean) => void\r\n showDetails: any\r\n productExchangeCoupon: any\r\n showOrderNumber: boolean\r\n}\r\n\r\nconst Details = ({\r\n setShowDetails,\r\n showDetails,\r\n productExchangeCoupon,\r\n setShowOrderNumber,\r\n showOrderNumber\r\n}: IDetails) => {\r\n const [history, setHistory] = useState(null)\r\n const [{ data: session }] = useSession()\r\n const { setFooter } = useContext(LoaderContext)\r\n useMainClass('profile__history__id')\r\n\r\n const [buttonConfig, setButtonConfig] = useState<{ text: string; action: () => void; disabled: boolean }>({\r\n text: 'MOSTRAR NÚMERO DE ORDEN',\r\n action: () => setShowOrderNumber(showDetails),\r\n disabled: false\r\n })\r\n\r\n const goBack = () => {\r\n setShowDetails(null)\r\n }\r\n\r\n useEffect(() => {\r\n const getHistory = async () => {\r\n const data = await fetchHistoryId(showDetails?.id, `${((session as any)?._tokenResponse as any)?.idToken}`)\r\n if (data) setHistory(data)\r\n }\r\n\r\n getHistory()\r\n\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null\r\n setFooter(false)\r\n if (div) div.style.display = 'none'\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex'\r\n setFooter(true)\r\n }\r\n }, [])\r\n\r\n const courierExists = () => {\r\n const url = history?.currier?.url?.replace('{trackingNumber}', history?.currier?.trakingNumber)\r\n\r\n if (url) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ver courier',\r\n section: 'tracking :: prize'\r\n })\r\n window.open(url, '_blank')\r\n }\r\n }\r\n\r\n const getCouponText = (details) => {\r\n if (details?.orderStatus === 6) {\r\n return textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })\r\n }\r\n if (timeResult(details?.temporalCouponExpiresAt)) {\r\n return textServices.findByText('profile/coupon/active', { es: 'Ver cupón activo', en: 'View coupon active' })\r\n }\r\n if (details?.orderStatus === 7 && !timeResult(details?.temporalCouponExpiresAt)) {\r\n return textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })\r\n }\r\n return 'ACTIVAR CUPÓN'\r\n }\r\n\r\n const canExchangeCoupon = (details) => {\r\n return details?.orderStatus === 6 || timeResult(details?.temporalCouponExpiresAt)\r\n }\r\n\r\n useEffect(() => {\r\n if (!history) return\r\n\r\n const buttonConfigs = {\r\n currier: {\r\n text: 'VER COURRIER',\r\n action: () => courierExists(),\r\n disabled: false\r\n },\r\n temporalCouponCode: {\r\n text: getCouponText(showDetails),\r\n action: () => {\r\n if (canExchangeCoupon(showDetails)) {\r\n productExchangeCoupon(showDetails)\r\n }\r\n },\r\n disabled: !canExchangeCoupon(showDetails)\r\n },\r\n default: {\r\n text: 'MOSTRAR NÚMERO DE ORDEN',\r\n action: () => setShowOrderNumber(showDetails),\r\n disabled: false\r\n }\r\n }\r\n\r\n const configKey = history.currier ? 'currier' : history.temporalCouponCode ? 'temporalCouponCode' : 'default'\r\n\r\n setButtonConfig(buttonConfigs[configKey])\r\n }, [history, showDetails, productExchangeCoupon, setShowOrderNumber])\r\n\r\n if (showOrderNumber) {\r\n return \r\n }\r\n\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n \"Imagen\r\n
\r\n\r\n
\r\n

{showDetails?.title}

\r\n\r\n
\r\n

\r\n {showDetails?.costInPoints > 0 ? 'Canjeado' : 'Ganado'} {formatDate(showDetails?.exchangeAt)}\r\n

\r\n\r\n

N°Orden {showDetails?.id}

\r\n\r\n {showDetails?.costInPoints > 0 && (\r\n

\r\n {showDetails?.costInPoints} {POINTS_NAME}\r\n

\r\n )}\r\n
\r\n
\r\n
\r\n\r\n
\r\n

\r\n Si necesitas saber más detalles de tu envío ingresa al botón de abajo para conocer más. Recuerda que puedes\r\n cancelarlo únicamente antes de que se envíe al destino.\r\n

\r\n\r\n
\r\n {buttonConfig.text !== 'VER COURRIER' && (\r\n \r\n {buttonConfig.text}\r\n \r\n )}\r\n\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n

Tengo un problema, necesito ayuda.

\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Details\r\n","import { HISTORY } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useEffect, useState } from 'react'\r\nimport CONFIGS from 'build/Config'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport dayjs from 'dayjs'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport {\r\n CrownState,\r\n CrownStateText,\r\n DivStateAccount,\r\n LiStateAccount,\r\n PStateAccount,\r\n TextStateAccount,\r\n TextStateAccountDate\r\n} from 'theme/profile'\r\nimport { TextNotFoundHistory } from 'views/profile/text.style'\r\nimport textServices from 'services/text-services'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport PopUpCoupon from './components/PopUp'\r\nimport Prize from './components/Prize'\r\nimport Details from './components/Details'\r\nimport { timeResult } from './utils/functions'\r\n\r\nfunction History() {\r\n useMainClass('profile__history')\r\n\r\n dayjs.extend(calendar)\r\n\r\n const [{ data: session }] = useSession()\r\n const [{ data, loading, error }, refetch] = useAxios({\r\n url: HISTORY,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n useEffect(() => {\r\n refetch()\r\n }, [])\r\n\r\n const [showPopUpCoupon, setShowPopUpCoupon] = useState(null)\r\n const [productExchange, setProductExchange] = useState(null)\r\n const [showOrderNumber, setShowOrderNumber] = useState(null)\r\n\r\n const [showDetails, setShowDetails] = useState(null)\r\n\r\n const closePopup = () => {\r\n if (showPopUpCoupon) {\r\n setProductExchange(null)\r\n }\r\n setShowPopUpCoupon(!showPopUpCoupon)\r\n refetch()\r\n }\r\n\r\n const productExchangeCoupon = (item: any) => {\r\n setProductExchange(item)\r\n setShowPopUpCoupon(!showPopUpCoupon)\r\n }\r\n\r\n if (error) {\r\n return (\r\n
\r\n

\r\n {textServices.findByText('profile/view/history/error', {\r\n es: 'Ha ocurrido un error',\r\n en: 'An error ocurred'\r\n })}\r\n

\r\n
\r\n )\r\n }\r\n\r\n if (productExchange) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (showDetails) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return loading ? (\r\n \r\n ) : (\r\n
\r\n {data.length ? (\r\n
    \r\n {data?.map((item: any) => {\r\n if (CONFIGS?.tracking) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n \r\n \r\n
    \r\n
    \r\n \r\n {!item?.imageUrl && (\r\n \r\n {item.pointsEarned}\r\n \r\n )}\r\n {item?.imageUrl && (\r\n \r\n )}\r\n
    \r\n \r\n
    \r\n 30 ? 'text-xl' : 'text-2xl'\r\n } profile__history__product__content__title`}\r\n >\r\n {item.title}\r\n \r\n
    \r\n
    \r\n {item.costInPoints && item.costInPoints !== '0' && (\r\n \r\n {item?.costInPoints > 0 && '-'}\r\n {item.costInPoints} {POINTS_NAME}\r\n \r\n )}\r\n {item.dynamicCostInPoints && item.dynamicCostInPoints !== '0' && (\r\n \r\n {item.dynamicCostInPoints} {POINTS_NAME}{' '}\r\n {textServices.findByText('profile/view/history/used', { es: 'USADAS', en: 'USED' })}\r\n \r\n )}\r\n {item.pointsEarned && item.pointsEarned !== '0' && (\r\n \r\n {item.pointsEarned} {POINTS_NAME}{' '}\r\n {textServices.findByText('profile/view/history/acquireds', {\r\n es: 'ADQUIRIDAS',\r\n en: 'ACQUIRED'\r\n })}\r\n \r\n )}\r\n {item.dynamicTitle && item.dynamicTitle !== '0' && (\r\n \r\n {item?.dynamicType}: {item.dynamicTitle}\r\n \r\n )}\r\n \r\n #{item?.id} -{' '}\r\n {textServices.findByText('profile/view/history/acquired', {\r\n es: 'Adquirido el',\r\n en: 'Acquired on'\r\n })}{' '}\r\n {new Date(item.exchangeAt).toLocaleString('es-MX', {\r\n day: '2-digit',\r\n month: '2-digit',\r\n year: '2-digit'\r\n })}\r\n \r\n {(item?.orderStatus === 6 || item?.temporalCouponExpiresAt) && (\r\n {\r\n if (item?.orderStatus === 6 || timeResult(item?.temporalCouponExpiresAt)) {\r\n productExchangeCoupon(item)\r\n }\r\n }}\r\n className={`profile__history__button__base ${\r\n item?.orderStatus === 6 ? 'profile__history__button__active' : ''\r\n } ${timeResult(item?.temporalCouponExpiresAt) ? 'profile__history__button__progress' : ''} ${\r\n item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)\r\n ? 'profile__history__button__finish'\r\n : ''\r\n }`}\r\n disabled={item?.orderStatus === 7 && !timeResult(item?.temporalCouponExpiresAt)}\r\n >\r\n {item?.orderStatus === 6 &&\r\n textServices.findByText('profile/coupon/activate', { es: 'ACTIVAR', en: 'ACTIVATE' })}\r\n {timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/active', {\r\n es: 'Ver cupón activo',\r\n en: 'View coupon active'\r\n })}\r\n {item?.orderStatus === 7 &&\r\n !timeResult(item?.temporalCouponExpiresAt) &&\r\n textServices.findByText('profile/coupon/used', { es: 'cupón usado', en: 'coupon used' })}\r\n \r\n )}\r\n
    \r\n
\r\n
\r\n \r\n )\r\n })}\r\n \r\n ) : (\r\n \r\n {textServices.findByText('profile/stateNotFound', {\r\n es: (\r\n <>\r\n No has canjeado ningún premio aún

\r\n

\r\n ¡Venga, tú puedes!\r\n \r\n ),\r\n en: (\r\n <>\r\n You haven't redeemed any prizes yet

\r\n

\r\n Come on, you can do it!\r\n \r\n )\r\n })}\r\n
\r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default History\r\n","import { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { TextProfileSecondary } from 'views/profile/text.style'\r\n\r\nfunction Address() {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__address')\r\n\r\n return (\r\n
\r\n
\r\n {((user?.address && user?.address.street1) ? (\r\n
\r\n \r\n {user?.address?.street1}, {user?.address?.streetNumber},\r\n {user?.address?.shippingDetails && {user?.address?.shippingDetails},}\r\n \r\n {user?.address?.street2 && (\r\n \r\n {user?.address?.street2}\r\n \r\n )}\r\n \r\n {user?.address?.state},\r\n \r\n \r\n {user?.address?.city},\r\n \r\n \r\n {user?.address?.neighborhood},\r\n \r\n \r\n CP {user?.address?.postalCode}\r\n \r\n
\r\n ) : (\r\n \r\n SIN INFORMACION\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Address\r\n","const Edit = ({ width = '27', height = '26', fill = '#A0A0A0' }) => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Edit\r\n","import { useSession } from 'contexts/session-context'\r\nimport Edit from 'components/icon/edit'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { Link } from 'react-router-dom'\r\nimport { TextProfile, TextProfileSecondary } from 'views/profile/text.style'\r\nimport textServices from 'services/text-services'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport Button from 'components/button'\r\n\r\nfunction Phone() {\r\n const [{ user }] = useSession()\r\n const showInstagram = !CONFIGS.notShowFields?.includes('instagram')\r\n useMainClass('profile__phone')\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {textServices.findByText('profile/view/contact/phoneTitle', { es: 'Numero de teléfono', en: 'Phone number' })}\r\n \r\n {\r\n !user?.phoneNumber && !user?.address?.phone\r\n ? textServices.findByText('profile/view/contact/notFound', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })\r\n : `+52 ${user?.address?.phone ? user?.address?.phone : user?.phoneNumber}`\r\n }\r\n \r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar teléfono',\r\n section: \"mi perfil\",\r\n subsection: 'contacto'\r\n })\r\n }}>\r\n \r\n \r\n
\r\n
\r\n
\r\n {textServices.findByText('profile/view/contact/emailTitle', { es: 'Mail de contacto', en: 'Contact mail' })}\r\n \r\n {user?.contactEmail || textServices.findByText('profile/view/contact/notFound', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })}\r\n \r\n
\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar email',\r\n section: \"mi perfil\",\r\n subsection: 'contacto'\r\n })\r\n }}>\r\n \r\n \r\n
\r\n {\r\n !user?.profileLinkings?.some((profile) => profile.provider === \"SumaSix\") && (\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n )\r\n }\r\n {\r\n showInstagram && (\r\n
\r\n
\r\n Instagram\r\n \r\n {user?.instagram || 'SIN INFORMACION'}\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n }\r\n \r\n )\r\n}\r\n\r\nexport default Phone\r\n","import { useSession } from \"contexts/session-context\";\r\nimport { useSurvey } from \"contexts/survey-context/useSurvey\";\r\nimport CONFIGS from 'build/Config'\r\nimport { useEffect, useState } from \"react\";\r\nimport { IFields } from \"build/types/configs\";\r\n\r\nconst informationFields = [\"firstName\", \"lastName\", \"nickName\", \"phoneNumber\", \"email\", \"birthday\", \"address\", \"interests\", \"genreId\", \"consumptionCenter\"]\r\nconst addressFields = [\"neighborhood\", \"postalCode\", \"city\", \"state\", \"country\", \"street1\", \"streetNumber\"]\r\nconst notAvailableFields = CONFIGS?.notAvailableFields || []\r\n\r\nconst UsePercentageProfile = () => {\r\n const [{ user }] = useSession()\r\n const [{ state, surveyLoading }] = useSurvey()\r\n const [percentageProfile, setPercentageProfile] = useState(0)\r\n const [requiredField, setRequiredFields] = useState()\r\n const total = informationFields.length + addressFields?.length\r\n\r\n // const surveyFieldsCompleted = () => {\r\n // const surveyCompleted = state?.survey?.filter(survey => survey?.isAnswered && survey?.profilePercentIncluded)\r\n // const surveyRequired = state?.survey?.filter(survey => survey?.profilePercentIncluded)\r\n // return {surveyRequired: surveyRequired?.length, surveyCompleted: surveyCompleted?.length}\r\n // }\r\n\r\n const userFieldsCompletedCount = () => {\r\n const fieldsInfNotCompleted = informationFields?.filter(field => {\r\n if (notAvailableFields.includes(field as IFields)) return false\r\n return !user[field]\r\n })\r\n const fieldsAddressNotCompleted = addressFields?.filter(field => {\r\n if (notAvailableFields.includes(field as IFields)) return false\r\n if (!user?.address) return true\r\n return !user?.address[field]\r\n })\r\n const fieldsNC = fieldsInfNotCompleted.length + fieldsAddressNotCompleted.length\r\n return {count : total - fieldsNC, fieldsNull: [...fieldsInfNotCompleted, ...fieldsAddressNotCompleted]}\r\n }\r\n\r\n useEffect(() => {\r\n if (!user) return \r\n if (surveyLoading) return \r\n const {count, fieldsNull} = userFieldsCompletedCount()\r\n setRequiredFields(fieldsNull)\r\n // const { surveyRequired, surveyCompleted } = surveyFieldsCompleted()\r\n const valuePercent = count ;\r\n if (Number.isNaN(valuePercent)) {\r\n return setPercentageProfile(count)\r\n }\r\n return setPercentageProfile(Math.round(((valuePercent) / (total + 0)) * 100))\r\n }, [user, state, surveyLoading])\r\n\r\n return { percentageProfile, requiredField }\r\n\r\n}\r\n\r\nexport default UsePercentageProfile;","import React from 'react'\r\n\r\nfunction History() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default History","import React from 'react'\r\n\r\nfunction InformationIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default InformationIcon","import React from 'react'\r\n\r\nfunction Phone() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Phone","function Points() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Points","function ConsumptionCenterIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n \r\nexport default ConsumptionCenterIcon","import React from 'react'\r\n\r\nconst CardIcon = () => {\r\n\r\n if (THEME === 'indio') {\r\n return \r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default CardIcon\r\n","import React from 'react'\r\n\r\nconst PrizesIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default PrizesIcon\r\n\r\n\r\n\r\n","import React from 'react'\r\n\r\nconst SiteMapIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SiteMapIcon","const PreferencesIcon = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default PreferencesIcon\r\n","import React from 'react'\r\n\r\nfunction GPS() {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default GPS","import React from 'react'\r\n\r\nfunction GoogleWallet() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default GoogleWallet","function IOSWallet() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default IOSWallet","const listAppBrowsers = [\r\n /\\bFB[\\w_]+\\/(Messenger|MESSENGER)/,\r\n /\\bFB[\\w_]+\\//,\r\n /\\bTwitter/i,\r\n /\\bLine\\//i,\r\n /\\bMicroMessenger\\//i,\r\n /\\bPuffin/i,\r\n /\\bMiuiBrowser\\//i,\r\n /\\bInstagram/i,\r\n /\\bmusical_ly/i,\r\n /\\bMusical_ly/i,\r\n /\\bMusical.ly/i,\r\n /\\bmusical.ly/i,\r\n /\\bBytedance/i,\r\n]\r\n\r\nfunction isInAppBrowser() {\r\n const useragent = navigator.userAgent || navigator.vendor || (window as any)?.opera\r\n const inApp = listAppBrowsers.some((regex) => regex.test(useragent))\r\n return inApp\r\n}\r\n\r\nconst isIOS = () => {\r\n return /iPad|iPhone|iPod/.test(navigator.userAgent);\r\n};\r\n\r\nconst isAndroid = () => {\r\n return /Android/.test(navigator.userAgent);\r\n};\r\n\r\nexport { isIOS, isAndroid , isInAppBrowser};","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\n\r\nexport const ContainerCard = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.background ? ` background-image: url(${AZURE_BASE_URL}/${theme?.profile?.identification?.card?.background});` : '' }\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.container}\r\n`\r\n\r\nexport const SwitchCard = styled.span`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.switch}\r\n`\r\n\r\nexport const ImgCard = styled.img`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.img}\r\n`\r\n\r\nexport const TitleCard = styled.h2`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.title}\r\n`\r\n\r\nexport const IdCard = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.card?.id}\r\n`\r\n\r\nexport const PointsIdContainer = styled.div`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.container}\r\n`\r\n\r\nexport const PointsIdName = styled.p`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.name}\r\n`\r\n\r\nexport const PointsIdNumber = styled.p`\r\n ${({theme}: Type) => theme?.profile?.identification?.pointsId?.number}\r\n`","const idConfigTheme: Record void> = {\r\n tecate: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'HeadingProUltracomp',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/headingProUltracomp/HeadingProUltracomp-Bold.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px HeadingProUltracomp'\r\n context.fillStyle = 'black'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n massive: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'SimplonMono',\r\n \"url('https://stblobphcentral.blob.core.windows.net/fonts/SimplonMono/SimplonMono-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 64px SimplonMono'\r\n context.fillStyle = 'black'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n console.log(canvas.width)\r\n const textX = canvas.width - 128\r\n const textY = canvas.height - 28.6 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n amstel: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'DINPro',\r\n \"url('https://cdn-phcentral.azureedge.net/tecate/fonts/DINPro/DINPro-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px DINPro'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n bohemia: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Oswald',\r\n \"url('https://promohubstorage.blob.core.windows.net/bohemia/assets/Oswald-Regular.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = 'normal 96px Oswald'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n cartablanca: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Jost',\r\n \"url('https://promohubstorage.blob.core.windows.net/cartablanca/assets/fonts/Jost/Jost-SemiBold.ttf')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '600 96px Jost'\r\n context.fillStyle = '#15141A'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n cristal: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Montserrat',\r\n \"url('https://promohubstorage.blob.core.windows.net/cristal/assets/fonts/Montserrat-SemiBold.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '600 96px Montserrat'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n dosequis: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Industry-Demi',\r\n \"url('https://promohubstorage.blob.core.windows.net/mixx/assets/fonts/Industry-Demi.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Industry-Demi'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n heinekenWaiter: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Frank',\r\n \"url('https://promohubstorage.blob.core.windows.net/heineken-waiter/assets/fonts/Frank-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Frank'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n indio: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#235345'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silver: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n heineken00: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace('PT Sans', \"url('https://cdn-phcentral.azureedge.net/fonts/PTSans-Regular.ttf')\")\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px PT Sans'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`#${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverMemorama: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverOnTrade: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n silverWaiter: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'BebasNeue',\r\n \"url('https://stblobphcentral.blob.core.windows.net/indio/assets/fonts/BebasNeue-Regular.woff2')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px BebasNeue'\r\n context.fillStyle = '#008038'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n miller: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n context.font = '700 96px Roboto'\r\n context.fillStyle = '#B98B39'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n },\r\n\r\n mixx: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Industry-Demi',\r\n \"url('https://promohubstorage.blob.core.windows.net/mixx/assets/fonts/Industry-Demi.woff')\"\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '400 96px Industry-Demi'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 26 * 4\r\n context.fillText(`${value}`, textX, textY)\r\n }\r\n })\r\n },\r\n\r\n solMezclas: (canvas, value) => {\r\n const context = canvas.getContext('2d')\r\n const font = new FontFace(\r\n 'Proxima Nova Condensed',\r\n \"url('https://promohubstorage.blob.core.windows.net/fonts/proximaNova/ProximaNova-CondensedBold.otf')\",\r\n { weight: '800' }\r\n )\r\n\r\n font.load().then((font) => {\r\n if (font) {\r\n document.fonts.add(font)\r\n context.font = '800 100px Proxima Nova Condensed'\r\n context.fillStyle = 'white'\r\n context.textAlign = 'center'\r\n context.textBaseline = 'middle'\r\n const textX = canvas.width / 2\r\n const textY = canvas.height - 30 * 4\r\n context.fillText(`#${value}`, textX, textY)\r\n }\r\n })\r\n }\r\n}\r\n\r\nexport default idConfigTheme\r\n","import ButtonCloseMenu from 'components/button-close'\r\nimport Header from 'components/header'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nfunction InstructionPopUp({ setPopUp }: { setPopUp: any }) {\r\n useMainClass('profile__identification__instruction')\r\n\r\n return (\r\n
\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Identificacion - Cerrar instrucciones',\r\n value: '10'\r\n })\r\n setPopUp()\r\n }}\r\n />\r\n
\r\n

\r\n {textServices.findByText('profile/identification/instructions/title', { es: 'INSTRUCCIONES PARA TENER TU', en: 'INSTRUCTIONS TO HAVE YOUR' })}\r\n
\r\n {textServices.findByText('profile/identification/name', 'ID')}\r\n {textServices.findByText('profile/identification/instructions/dispositive', { es: ' EN TU DISPOSITIVO', en: ' ON YOUR DEVICE' })}\r\n

\r\n\r\n
\r\n {isAndroid() && (\r\n <>\r\n {textServices.findByText('profile/identification/instructions/android', {\r\n es:
\r\n

DISPOSITIVOS ANDROID

\r\n

\r\n 1. Descarga tu app "Google Wallet" ingresando aquí\r\n

\r\n

\r\n 2. Presiona en el botón "Agregar a Google Wallet".\r\n

\r\n

\r\n 3. Visualiza tu "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 4. Presiona en el botón "Añadir".\r\n

\r\n

\r\n 5. ¡Listo! Ya tienes tu{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" en tu wallet.\r\n

\r\n
,\r\n en:
\r\n

ANDROID DEVICES

\r\n

\r\n 1. Download your app "Google Wallet" by entering here\r\n

\r\n

\r\n 2. Click on the button "Add to Google Wallet".\r\n

\r\n

\r\n 3. Visualize your "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 4. Click on the button "Add".\r\n

\r\n

\r\n 5. You're done! You now have your{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" in your wallet.\r\n

\r\n
\r\n })}\r\n \r\n )}\r\n {isIOS() && (\r\n <>\r\n {textServices.findByText('profile/identification/instructions/ios', {\r\n es:
\r\n

DISPOSITIVOS ANDROID

\r\n

\r\n 1. Presiona en el botón "Añadir a Apple Wallet".\r\n

\r\n

\r\n 2. Visualiza tu "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 3. Presiona en el botón "Agregar".\r\n

\r\n

\r\n 4. ¡Listo! Ya tienes tu{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" en tu wallet.\r\n

\r\n
,\r\n en:
\r\n

IOS DEVICES

\r\n

\r\n 1. Click on the button "Add to Apple Wallet".\r\n

\r\n

\r\n 2. Visualize your "{textServices.findByText('profile/identification/name', 'ID')}"\r\n

\r\n

\r\n 3. Click on the button "Add".\r\n

\r\n

\r\n 4. You're done! You now have your{' '}\r\n "{textServices.findByText('profile/identification/name', 'ID')}" in your wallet.\r\n

\r\n
\r\n })}\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InstructionPopUp\r\n","import { WALLET_CREATE } from 'constants/api'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from 'contexts/session-context'\r\nimport Button from 'components/button'\r\nimport GoogleWallet from 'components/icon/google-wallet'\r\nimport IOSWallet from 'components/icon/ios-wallet'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useContext, useEffect, useRef, useState } from 'react'\r\nimport axios from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { useHistory } from 'react-router-dom'\r\nimport CONFIGS from 'build/Config'\r\nimport { PointsIdContainer, PointsIdName, PointsIdNumber } from './styles'\r\nimport idConfigTheme from './id-config'\r\nimport InstructionPopUp from './instruction-pop-up'\r\n\r\nconst Identification = () => {\r\n const [{ user, data: session }] = useSession()\r\n useMainClass('profile__identification')\r\n const { setLoad } = useContext(LoaderContext)\r\n const [status, setStatus] = useState('' as any)\r\n const refCanvas = useRef(null)\r\n const [isOpenPopUp, setIsOpenPopUp] = useState(false)\r\n const [urlWallet, setUrlWallet] = useState('')\r\n const soName = isAndroid() ? 'Android' : isIOS() ? 'iOS' : ''\r\n const { push } = useRouter()\r\n const history = useHistory()\r\n\r\n const urlUser = `${URL_BASE}${process.env.PUBLIC_URL}/signup?referralCode=${user?.referralCode}`\r\n\r\n const handleDownload = async () => {\r\n const canvas = refCanvas.current\r\n const dataURL = canvas.toDataURL('image/png').replace('image/png', 'image/octet-stream')\r\n const a = document.createElement('a')\r\n a.href = dataURL\r\n a.download = 'my-id.png'\r\n a.click()\r\n }\r\n\r\n const referralClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'id :: refer code',\r\n section: 'id'\r\n })\r\n history.push('/referrals')\r\n }\r\n\r\n const getStatus = async () => {\r\n if (isAndroid() || isIOS()) {\r\n setLoad(true)\r\n try {\r\n // await axios.get(WALLET_STATUS.replace(':type', soName), {\r\n // headers: {\r\n // Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n // 'Ph-Api-Id': PH_API_ID ?? 1\r\n // }\r\n // })\r\n\r\n const response = await axios.post(WALLET_CREATE.replace(':type', soName), null, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n const urlToOpen = response?.data?.wallets?.find((item) => item?.walletSOType === soName)?.url\r\n if (urlToOpen) setUrlWallet(urlToOpen)\r\n\r\n setStatus(soName.toLowerCase())\r\n } catch (err) {\r\n console.error(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n }\r\n\r\n const createWallet = async () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: `Agregar a ${soName === 'Android' ? 'Google' : 'Apple'} Wallet`,\r\n section: 'ID :: Wallet'\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n if (!status && session) getStatus()\r\n }, [session])\r\n\r\n const themes = [\r\n {\r\n theme: 'miller',\r\n style: {\r\n strokeStyle: '#B98B39',\r\n lineWidth: 25,\r\n borderRadius: 0\r\n }\r\n }\r\n ]\r\n\r\n const themeIndex = (arr: any[]) => {\r\n return arr.findIndex((item) => item.theme === THEME)\r\n }\r\n\r\n useEffect(() => {\r\n if (user?.id && idConfigTheme[THEME]) {\r\n const canvasQR = document.getElementById('qr-id') as HTMLCanvasElement\r\n const canvas = refCanvas.current\r\n const context = canvas.getContext('2d')\r\n\r\n const backgroundImage = new Image()\r\n backgroundImage.crossOrigin = 'anonymous'\r\n backgroundImage.src = `${AZURE_BASE_URL}/card-qr-id.webp`\r\n\r\n backgroundImage.onload = () => {\r\n context.drawImage(backgroundImage, 0, 0, canvas.width, canvas.height)\r\n const imageDataUrl = canvasQR.toDataURL()\r\n\r\n const currentTheme = themes[themeIndex(themes)]\r\n const borderRadius = currentTheme ? currentTheme?.style?.borderRadius : 52\r\n\r\n context.fillStyle = 'white'\r\n context.beginPath()\r\n context.moveTo(53 * 4 + borderRadius, 93 * 4)\r\n context.arcTo(53 * 4 + 220 * 4, 93 * 4, 53 * 4 + 220 * 4, 93 * 4 + 220 * 4, borderRadius)\r\n context.arcTo(53 * 4 + 220 * 4, 93 * 4 + 220 * 4, 53 * 4, 93 * 4 + 220 * 4, borderRadius)\r\n context.arcTo(53 * 4, 93 * 4 + 220 * 4, 53 * 4, 93 * 4, borderRadius)\r\n context.arcTo(53 * 4, 93 * 4, 53 * 4 + borderRadius, 93 * 4, borderRadius)\r\n context.closePath()\r\n context.fill()\r\n\r\n // custom style QR\r\n if (currentTheme?.style?.strokeStyle && currentTheme?.style?.lineWidth) {\r\n const { strokeStyle, lineWidth } = currentTheme.style\r\n context.strokeStyle = strokeStyle\r\n context.lineWidth = lineWidth\r\n context.stroke()\r\n }\r\n\r\n const image = new Image()\r\n image.crossOrigin = 'anonymous'\r\n image.src = imageDataUrl\r\n\r\n image.onload = () => {\r\n context.drawImage(image, 69 * 4, 109 * 4, 188 * 4, 188 * 4)\r\n const codeOrId = CONFIGS?.changeIdQr ? user?.referralCode : user?.id\r\n idConfigTheme[THEME](canvas, codeOrId)\r\n }\r\n }\r\n }\r\n }, [user?.id])\r\n\r\n const handleOpenPopUp = () => {\r\n setIsOpenPopUp(!isOpenPopUp)\r\n }\r\n\r\n return (\r\n \r\n {isOpenPopUp && }\r\n {CONFIGS?.showPointsId && (\r\n \r\n {POINTS_NAME}\r\n {user?.totalPoints}\r\n \r\n )}\r\n
\r\n \r\n \r\n
\r\n {status && (\r\n <>\r\n {urlWallet && (\r\n <>\r\n \r\n {status === 'android' && }\r\n {status === 'ios' && }\r\n \r\n \r\n {textServices.findByText('profile/identification/btn-referral', {\r\n es: 'Referir código',\r\n en: 'Refer code'\r\n })}\r\n \r\n push('/help')}\r\n >\r\n {textServices.findByText('profile/identification/dude', {\r\n es: '¿Tienes alguna duda?',\r\n en: 'Do you have any doubts?'\r\n })}\r\n \r\n \r\n )}\r\n \r\n )}\r\n {!status && (\r\n <>\r\n \r\n {textServices.findByText('profile/identification/button', {\r\n es: 'DESCARGAR MI ID',\r\n en: 'DOWNLOAD MY ID'\r\n })}\r\n \r\n \r\n )}\r\n {CONFIGS?.changeIdQr && !status && (\r\n <>\r\n \r\n {textServices.findByText('profile/identification/btn-referral', {\r\n es: 'Referir código',\r\n en: 'Refer code'\r\n })}\r\n \r\n \r\n )}\r\n
\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Identification\r\n","import { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport { TextProfileSecondary } from 'views/profile/text.style'\r\n\r\nfunction ConsumptionProfile() {\r\n const [{ user }] = useSession()\r\n useMainClass('profile__consumption')\r\n\r\n return (\r\n
\r\n
\r\n {user?.consumptionCenter ? (\r\n
\r\n \r\n {\r\n user?.consumptionCenter?.internalId && (\r\n <>\r\n {user?.consumptionCenter?.internalId}
\r\n \r\n )\r\n }\r\n {user?.consumptionCenter?.name}
{user?.consumptionCenter?.state}
{user?.consumptionCenter?.city}\r\n
\r\n
\r\n ) : (\r\n \r\n {textServices.findByText('profile/consumptionEmpty', { es: 'SIN INFORMACION', en: 'NO INFORMATION' })}\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ConsumptionProfile\r\n","import Button from \"components/button\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport { useContext, useEffect, useState } from \"react\"\r\nimport { Link } from \"react-router-dom\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport textServices from \"services/text-services\"\r\nimport CONFIGS from 'build/Config'\r\nimport { ProfilePointsContainerPoints, ProfilePointsContainerTotalPoints, ProfilePointsPoints, ProfilePointsTitlePoints, ProfilePointsTitleTotalPoints, ProfilePointsTotalPoints } from \"theme/profile\"\r\n\r\nfunction ProfilePoints() {\r\n\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [list, setList] = useState([])\r\n const [totalPoints, setTotalPoints] = useState(0)\r\n useMainClass('profile__points')\r\n\r\n const fetchPoints = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.getMovements({ session })\r\n setList(response?.data?.movements)\r\n setTotalPoints(response?.data?.totalPoints)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session) {\r\n fetchPoints()\r\n }\r\n }, [session])\r\n\r\n return (\r\n
\r\n \r\n Total {POINTS_NAME}\r\n {totalPoints}\r\n \r\n
\r\n {\r\n list.map((item) => (\r\n \r\n {item?.category}\r\n {\r\n item?.categoryId ? (\r\n \r\n {item?.amount}\r\n \r\n \r\n \r\n \r\n ) : (\r\n

\r\n {item?.amount}\r\n

\r\n )\r\n }\r\n
\r\n ))\r\n }\r\n
\r\n {\r\n CONFIGS.profile?.showButtonPoints ? (\r\n
\r\n \r\n \r\n \r\n
\r\n ) : null\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default ProfilePoints","import { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport ProfileService from 'services/profile-services'\r\nimport { ProfileDetailsPointsContainerPoints, ProfileDetailsPointsContainerTotalPoints, ProfileDetailsPointsDatePoints, ProfileDetailsPointsDescription, ProfileDetailsPointsDescriptionPoints, ProfileDetailsPointsPoints, ProfileDetailsPointsTitlePoints, ProfileDetailsPointsTitleTotalPoints, ProfileDetailsPointsTotalPoints } from 'theme/profile'\r\n\r\nfunction ProfileDetailsPoints() {\r\n\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { query } = useRouter()\r\n const [totalPoints, setTotalPoints] = useState(0)\r\n const [list, setList] = useState([])\r\n useMainClass('profile__points')\r\n useMainClass('profile__points__details')\r\n\r\n const getDate = (createdAt: string) => {\r\n const date = new Date(createdAt)\r\n const day = date.getDate();\r\n const month = new Intl.DateTimeFormat('es-ES', { month: 'long' }).format(date);\r\n const year = date.getFullYear();\r\n\r\n const formattedDate = `${day} de ${month} ${year}`;\r\n return formattedDate\r\n }\r\n\r\n const fetchPoints = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.getMovementsDetails({ session, categoryId: query?.categoryId })\r\n setTotalPoints(response?.data?.reduce((acc, item) => acc + item?.amount, 0))\r\n setList(response?.data)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (session) {\r\n fetchPoints()\r\n }\r\n }, [session])\r\n\r\n return (\r\n
\r\n \r\n Total\r\n {totalPoints}\r\n \r\n {\r\n list?.map((item, index) => {\r\n const date = getDate(item?.createdAt)\r\n\r\n return (\r\n \r\n {date}\r\n {item?.category}\r\n {item?.amount}\r\n
\r\n {'>'}{item?.description}\r\n {item?.amount}\r\n
\r\n
\r\n )\r\n })\r\n }\r\n
\r\n )\r\n}\r\n\r\nexport default ProfileDetailsPoints","import React from 'react'\r\n\r\nconst Arrow = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Arrow\r\n","import styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\n\r\nexport const ContainerProfile = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.menu?.containerProfile}\r\n`\r\n\r\nexport const TextProfile = styled.p`\r\n ${({ theme }: Type) => theme?.profile?.menu?.textProfile}\r\n`\r\n\r\nexport const IconColor = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.iconColor}\r\n`\r\n\r\nexport const IconColorArrow = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.iconColorArrow}\r\n`\r\n\r\nexport const TextLabelMenu = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.textLabelMenu}\r\n`\r\n\r\nexport const TitlePage = styled.h1`\r\n ${({ theme }: Type) => theme?.profile?.menu?.titlePage}\r\n`\r\n\r\nexport const ListItem = styled.li`\r\n ${({ theme }: Type) => theme?.profile?.menu?.listItem}\r\n`\r\n\r\nexport const HeaderColorArrow = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.headerColorArrow}\r\n`\r\nexport const EditColorIcon = styled.span`\r\n ${({ theme }: Type) => theme?.profile?.menu?.editColorIcon}\r\n`\r\nexport const ContainerMenu = styled.div`\r\n ${({ theme }: Type) => theme?.profile?.menu?.containerMenu}\r\n`","import { Link } from 'react-router-dom'\r\nimport Arrow from 'components/icon/menu-profile/arrow'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { ButtonHelperProfile } from 'theme/profile'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport { TitlePage, IconColorArrow, TextLabelMenu, IconColor, ListItem, HeaderColorArrow, ContainerMenu } from '../styles/header.style'\r\n\r\nconst MenuProfile = ({ definitions }: any) => {\r\n\r\n const definitionsFiltered = definitions.filter((item: any) => !item.dontShowItem)\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n {textServices.findByText('profile/view/arrow', )}\r\n \r\n \r\n {textServices.findByText('profile/menu/title', { es: 'Mi información', en: 'My information' })}\r\n \r\n \r\n \r\n
\r\n
    \r\n {definitionsFiltered.map((item: any) => {\r\n return (\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: item.label.toLowerCase(),\r\n section: \"mi perfil\",\r\n })\r\n }}>\r\n
    \r\n \r\n {item?.icon && }\r\n \r\n {item.label}\r\n {item.helper && }\r\n
    \r\n \r\n {!item.noArrow && }\r\n \r\n \r\n
    \r\n )\r\n })}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default MenuProfile\r\n","import React from 'react'\r\n\r\nconst Edit = () => {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Edit\r\n","import textServices from 'services/text-services'\r\nimport Edit from 'components/icon/menu-profile/edit'\r\nimport Arrow from 'components/icon/menu-profile/arrow'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { Link, matchPath } from 'react-router-dom'\r\nimport { ContainerProfile, TextProfile, HeaderColorArrow, EditColorIcon } from '../styles/header.style'\r\n\r\n\r\nconst HeaderProfile = ({ definitions, children }: any) => {\r\n const [{ user }] = useSession()\r\n const { pathname, history } = useRouter()\r\n\r\n const name = user?.nickName || (user?.firstName && user?.firstName.length > 20 ? user?.firstName.substring(0, 17) + '...' : user?.firstName)\r\n\r\n const definitionsFinded = definitions.find((item: any) => {\r\n const match = matchPath(pathname, {\r\n path: item.url,\r\n exact: true\r\n })\r\n return !!match\r\n })\r\n\r\n return (\r\n
\r\n \r\n
\r\n {\r\n e.preventDefault();\r\n history.goBack();\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'volver',\r\n section: \"mi perfil\",\r\n subsection: definitionsFinded.title.toLowerCase()\r\n })\r\n }}>\r\n \r\n {textServices.findByText('profile/view/arrow', )}\r\n \r\n \r\n {definitionsFinded?.title || name}\r\n
\r\n {\r\n definitionsFinded?.update && (\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'editar',\r\n section: \"mi perfil\",\r\n subsection: definitionsFinded.title.toLowerCase()\r\n })\r\n }}>\r\n \r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport default HeaderProfile\r\n","import { ALBUM_GET_RANK_USER, ALBUM_GET } from 'constants/api'\r\nimport { useEffect, useState } from 'react'\r\nimport axios from 'axios'\r\nimport Button from 'components/button';\r\nimport { useSession } from 'contexts/session-context';\r\nimport { Album } from 'views/album/types';\r\nimport LoadingScreen from 'components/loading-screen';\r\nimport { useHistory } from 'react-router-dom';\r\nimport textServices from 'services/text-services';\r\nimport SolMezclasRanking from './components/SolMezclasRanking';\r\n\r\nconst ProfileRanking = () => {\r\n const history = useHistory()\r\n const [data, setData] = useState(null);\r\n const [albums, setAlbums] = useState([])\r\n\r\n const [{ data: session }] = useSession()\r\n\r\n useEffect(() => {\r\n const div = document.querySelector('.profile__title-container') as HTMLElement | null;\r\n\r\n if (div) div.style.display = 'none';\r\n\r\n return () => {\r\n if (div) div.style.display = 'flex';\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n const fetchData = async () => {\r\n try {\r\n const response = await axios.get(ALBUM_GET, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n });\r\n setAlbums(response.data);\r\n } catch (error) {\r\n console.error('Failed to fetch albums:', error);\r\n }\r\n };\r\n\r\n fetchData()\r\n }, [session]);\r\n\r\n\r\n useEffect(() => {\r\n const fetchData = async (rallyId: number) => {\r\n const token = ((session as any)?._tokenResponse as any)?.idToken;\r\n\r\n try {\r\n const response = await axios.get(`${ALBUM_GET_RANK_USER}?id=${rallyId}`, {\r\n headers: {\r\n Authorization: `Bearer ${token}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n\r\n }\r\n });\r\n setData(response.data);\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n }\r\n };\r\n\r\n if (albums) {\r\n const rally = albums.find(album => album?.rallyType === 'Ticket' && album?.statusId === 2);\r\n\r\n if (rally && rally.id) {\r\n fetchData(rally.id);\r\n }\r\n }\r\n }, [albums]);\r\n\r\n if (THEME === 'solMezclas') {\r\n return \r\n }\r\n\r\n if (!data) \r\n\r\n return (\r\n
\r\n \"Imagen\r\n\r\n
\r\n

\r\n {textServices.findByText('profile/ranking/title', {\r\n es: 'Tus tickets',\r\n en: 'Your tickets'\r\n })}\r\n

\r\n\r\n
\r\n
\r\n

\r\n {textServices.findByText('profile/ranking/box/one', {\r\n es: 'tickets acumulados:',\r\n en: 'accumulated tickets:'\r\n })}\r\n

\r\n
\r\n {data && (data?.multimediasCount === 0 ? '-' : data?.multimediasCount)} 1\r\n
\r\n
\r\n\r\n
\r\n

\r\n {textServices.findByText('profile/ranking/box/two', {\r\n es: 'tu posición:',\r\n en: 'your position:'\r\n })}\r\n

\r\n
\r\n {data && (data?.position === 0 ? '-' : `${data?.position}°`)} 1\r\n
\r\n
\r\n
\r\n\r\n

\r\n {textServices.findByText('profile/ranking/text', { es: '¡Recuerda! A máyor cantidad de tickets SORIANA QUE subas, MÁS OPORTUNIDAD DE GANAR UN FRIGOBAR TENDRÁS.', en: '' })}\r\n

\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ProfileRanking","import { SVGProps } from 'react'\r\n\r\nfunction Facebook(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Facebook","import { SVGProps } from 'react'\r\n\r\nfunction Google(props: SVGProps) {\r\n\r\n if (THEME === 'amstel') {\r\n return (\r\n \"Google\r\n )\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Google","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = FC_CLIENTID || \"\";\r\n\r\nexport const goToUrlFacebook = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`facebook${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://www.facebook.com/v19.0/dialog/oauth\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(\"email,user_birthday,user_likes\");\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n\r\n\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = GOOGLE_CLIENTID || \"\";\r\n\r\nexport const goToUrlGoogle = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`google${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://accounts.google.com/o/oauth2/v2/auth\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(`https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile ${[\"dosequis\", \"tecate\", \"mixx\"].includes(THEME) ? 'https://www.googleapis.com/auth/youtube.readonly' : ''}`);\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","import { ButtonMenu, SpanMenu } from \"theme/header\"\r\nimport { isAndroid, isIOS } from \"utilities/detectDeviceAgent\"\r\n\r\nexport interface IProps {\r\n open: boolean\r\n setOpen: (value: boolean) => void\r\n social: 'Google' | 'Twitch'\r\n}\r\n\r\nexport default function AlertAppView({ open, social, setOpen }: IProps) {\r\n const soName = isAndroid() ? 'Android' : (isIOS() ? 'iOS' : '')\r\n\r\n if (!open) return <>\r\n\r\n return (\r\n
\r\n
\r\n setOpen(false)}\r\n type=\"button\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

No puedes iniciar sesión en este navegador por políticas de {social}

\r\n
\r\n

Sigue estos pasos para resolverlo:

\r\n {\r\n (soName === 'Android' || soName === '') && (\r\n <>\r\n
\r\n
\r\n

Dispositivos android

\r\n
    \r\n
  1. \r\n

    \r\n Presiona en los tres puntos\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

    \r\n

    \r\n ubicados en la esquina superior a la derecha.\r\n

    \r\n
  2. \r\n
  3. Presiona en la opción “Abrir en Chrome”.
  4. \r\n
  5. Prueba iniciar sesión nuevamente con tu cuenta de {social}.
  6. \r\n
\r\n
\r\n {soName !== '' &&
}\r\n \r\n )\r\n }\r\n {\r\n (soName === 'iOS' || soName === '') && (\r\n <>\r\n
\r\n
\r\n

Dispositivos iOS

\r\n
    \r\n
  1. \r\n

    \r\n Presiona en los tres puntos\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n

    \r\n

    \r\n ubicados en la esquina superior a la derecha.\r\n

    \r\n
  2. \r\n
  3. Presiona en la opción “Abrir en navegador externo”.
  4. \r\n
  5. Prueba iniciar sesión nuevamente con tu cuenta de {social}.
  6. \r\n
\r\n
\r\n
\r\n \r\n )\r\n }\r\n
\r\n
\r\n
\r\n )\r\n}","import { SVGProps } from 'react'\r\n\r\nfunction TwitchIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TwitchIcon","const redirectUri = `${window.location.origin}${process.env.PUBLIC_URL}/callback`;\r\nconst clientId = TH_CLIENTID || \"\";\r\n\r\nexport const goToUrlTwitch = (flowType = '', utm?: Record) => {\r\n const flowTypeParam = flowType ? `&${flowType}` : '';\r\n const state = encodeURIComponent(`twitch${flowTypeParam}`);\r\n localStorage.setItem(\"stateAuthSocial\", state);\r\n\r\n if (utm) {\r\n const utmString = Object.entries(utm)?.map(([key, value]) => `${key}=${value}`)?.join('&')\r\n localStorage.setItem(\"utmAuthSocial\", `${utmString}`);\r\n }\r\n\r\n let url = \"https://id.twitch.tv/oauth2/authorize\";\r\n url += \"?response_type=token\";\r\n url += \"&client_id=\" + encodeURIComponent(clientId);\r\n url += \"&scope=\" + encodeURIComponent(\"user:read:email\");\r\n url += \"&redirect_uri=\" + encodeURIComponent(redirectUri);\r\n url += \"&state=\" + state;\r\n window.location.href = url;\r\n}","\r\nimport { GET_LINKEDACCOUNTS } from 'constants/api'\r\nimport axios from 'axios'\r\nimport CONFIGS from 'build/Config'\r\nimport ErrorView from 'components/error-view'\r\n// import ExchangeComponent from 'components/exchange'\r\nimport FacebookIcon from 'components/icon/facebook'\r\nimport GoogleIcon from 'components/icon/google'\r\nimport { useSession } from 'contexts/session-context'\r\nimport useMainClass from 'hooks/use-main-cass'\r\n// import useRedirect from 'hooks/use-redirect'\r\nimport { useContext, useEffect, useMemo, useState } from 'react'\r\n// import { useHistory } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\n// import { Prize } from 'views/prizes/types'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { goToUrlFacebook } from 'components/start/facebook/goToUrlFacebook'\r\nimport { goToUrlGoogle } from 'components/start/google/goToUrlGoogle'\r\nimport AlertAppView from 'components/start/alertAppView'\r\nimport TwitchIcon from 'components/icon/twitch'\r\nimport { goToUrlTwitch } from 'components/start/twitch/goToUrlTwitch'\r\n\r\nfunction SocialProfile() {\r\n const [session] = useSession()\r\n const [loginError, setLoginError] = useState()\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n const typedThemeButtons: string[] = CONFIGS?.buttonsStart\r\n const { setLoad } = useContext(LoaderContext)\r\n const [linkedAccunts, setLinkedAccunts] = useState(null);\r\n\r\n const getStatus = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.get(GET_LINKEDACCOUNTS, {\r\n headers: {\r\n Authorization: `Bearer ${((session as any)?.data?._tokenResponse as any)?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setLinkedAccunts(response.data)\r\n } catch (err) {\r\n console.error(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleMetaClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'facebook',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Meta', value: 'Meta' })\r\n return goToUrlFacebook('linkaccount')\r\n }\r\n\r\n const handleGoogleClick = () => {\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'google',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Google', value: 'Google' })\r\n return goToUrlGoogle('linkaccount')\r\n }\r\n\r\n const handleTwitchClick = () => {\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'twitch',\r\n section: \"link\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Link - Twitch', value: 'Twitch' })\r\n return goToUrlTwitch('linkaccount')\r\n }\r\n\r\n useEffect(() => {\r\n if (!status && session) getStatus()\r\n }, [session])\r\n\r\n const listSocial = useMemo(() => {\r\n return [\r\n {\r\n type: 'google',\r\n component:\r\n <>\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n ,\r\n },\r\n {\r\n type: 'facebook',\r\n component:\r\n <>\r\n
\r\n \r\n
\r\n \r\n },\r\n {\r\n type: 'twitch',\r\n component:\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n },\r\n ].filter(({ type }) => {\r\n const isDisplayInTheme = typedThemeButtons.includes(type)\r\n const alreadyLinked = linkedAccunts?.map((y)=> y?.provider.toLowerCase() )?.includes(type)\r\n\r\n return isDisplayInTheme && session.user?.provider.toLowerCase() !== type && !alreadyLinked\r\n }).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [linkedAccunts])\r\n\r\n useMainClass('profile__social')\r\n\r\n if (loginError) {\r\n return setLoginError(null)} onRetry={() => setLoginError(null)} />\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {listSocial?.length > 0 && (\r\n <>\r\n
{textServices.findByText('profile/social', { es: <>Selecciona la cuenta que
deseas vincular, en: 'Select the account you want to link' })}
\r\n
\r\n
\r\n {listSocial?.map((social, index) => {\r\n const isLinked = linkedAccunts?.filter((linked) => social.type === linked?.provider.toLowerCase());\r\n if (isLinked?.length === 0) {\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n\r\n if (inBrowserApp && ['google', 'twitch'].includes(social.type) && !['dosequis', 'mixx'].includes(THEME)) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n {social.component}\r\n \r\n )\r\n }\r\n return null;\r\n })}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n {linkedAccunts?.length > 0 && (\r\n <>\r\n
\r\n
{textServices.findByText('profile/social/linked', { es: 'Ya has vinculado:', en: 'Already linked:' })}
\r\n
\r\n {linkedAccunts?.map((social) => {\r\n if (social?.provider.toLowerCase() === 'google')\r\n return \r\n if (social?.provider.toLowerCase() === 'facebook')\r\n return \r\n if (social?.provider.toLowerCase() === 'twitch')\r\n return \r\n return null\r\n })}\r\n
\r\n
\r\n \r\n )}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default SocialProfile\r\n","import { useEffect, useState } from 'react'\r\nimport PrefPicker from 'components/pref-picker'\r\nimport Information from 'views/profile/views/profile-information'\r\nimport History from 'views/profile/views/profile-history'\r\nimport Address from 'views/profile/views/profile-address'\r\nimport Phone from 'views/profile/views/profile-phone'\r\nimport useRouter from 'hooks/use-router'\r\nimport UsePercentageProfile from 'hooks/use-percentage-profle'\r\nimport textServices from 'services/text-services'\r\nimport { Route } from 'react-router-dom'\r\nimport HistoryIcon from 'components/icon/menu-profile/history'\r\nimport InformationIcon from 'components/icon/menu-profile/information'\r\nimport PhoneIcon from 'components/icon/menu-profile/phone'\r\nimport PointsIcon from 'components/icon/menu-profile/points'\r\nimport ConsumptionCenterIcon from 'components/icon/menu-profile/consumptionCenter'\r\nimport CardIcon from 'components/icon/menu-profile/card'\r\nimport PrizesIcon from 'components/icon/menu-profile/prizesIcon'\r\nimport SiteMapIcon from 'components/icon/menu-profile/sitemapicon'\r\nimport PreferencesIcon from 'components/icon/menu-profile/preferences'\r\nimport AddressIcon from 'components/icon/menu-profile/gps'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { IRoutesProfile } from 'build/types/configs'\r\nimport RoutesWithNotFound from 'utilities/routes-with-not-found'\r\nimport Identification from './views/profile-identification'\r\nimport ConsumptionProfile from './views/profile-consumption'\r\nimport ProfilePoints from './views/profile-points'\r\nimport ProfileDetailsPoints from './views/profile-points/details'\r\nimport MenuProfile from './components/MenuProfile'\r\nimport HeaderProfile from './components/HeaderProfile'\r\nimport ProfileRanking from './views/profile-ranking'\r\nimport SocialProfile from './views/profile-social'\r\n\r\n\r\nconst Profile = () => {\r\n const { url, pathname } = useRouter()\r\n const { requiredField } = UsePercentageProfile()\r\n const [information, setInformation] = useState(false)\r\n const [consumptionCenter, setConsumptionCenter] = useState(false)\r\n const [address, setAddress] = useState(false)\r\n const [phone, setPhone] = useState(false)\r\n useMainClass('profile')\r\n\r\n useEffect(() => {\r\n setInformation([\"firstName\", \"lastName\", \"nickName\", \"email\", \"birthday\", \"genre\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setAddress([\"neighborhood\", \"postalCode\", \"city\", \"state\", \"country\", \"street1\", \"streetNumber\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setPhone([\"phoneNumber\"].filter(field => requiredField?.includes(field)).length > 0)\r\n setConsumptionCenter([\"consumptionCenter\"].filter(field => requiredField?.includes(field)).length > 0)\r\n }, [requiredField])\r\n\r\n const isAllowRoute = (name: string): boolean => {\r\n return (CONFIGS.routesProfile as string[]).includes(name)\r\n }\r\n\r\n const definitions = [\r\n {\r\n url: `${url}/information`,\r\n label: textServices.findByText('profile/informationLabel', { es: 'Datos personales', en: 'Personal data' }),\r\n title: textServices.findByText('profile/information', { es: 'MI INFORMACIÓN', en: 'MY INFORMATION' }),\r\n path: `information`,\r\n helper: information,\r\n isAllow: isAllowRoute('information'),\r\n component: Information,\r\n noArrow: false,\r\n update: '/information/update',\r\n icon: InformationIcon\r\n },\r\n {\r\n url: `${url}/address`,\r\n label: textServices.findByText('profile/addressLabel', { es: 'Dirección', en: 'Address' }),\r\n title: textServices.findByText('profile/address', { es: 'Dirección', en: 'Address' }),\r\n path: `address`,\r\n helper: address,\r\n isAllow: isAllowRoute('address'),\r\n component: Address,\r\n noArrow: false,\r\n update: '/address/update',\r\n icon: AddressIcon\r\n },\r\n {\r\n url: `${url}/phone`,\r\n label: textServices.findByText('profile/contactLabel', { es: 'Contacto', en: 'Contact' }),\r\n title: textServices.findByText('profile/contact', { es: 'Contacto', en: 'Contact' }),\r\n path: `phone`,\r\n helper: phone,\r\n isAllow: isAllowRoute('phone'),\r\n component: Phone,\r\n noArrow: false,\r\n icon: PhoneIcon\r\n },\r\n {\r\n url: `${url}/preferences`,\r\n label: textServices.findByText('profile/prefLabel', { es: 'Preferencias', en: 'Preferences' }),\r\n title: textServices.findByText('profile/pref', { es: 'Preferencias', en: 'Preferences' }),\r\n path: `preferences`,\r\n isAllow: isAllowRoute('preferences'),\r\n component: PrefPicker,\r\n noArrow: false,\r\n icon: PreferencesIcon\r\n },\r\n {\r\n url: `${url}/identificacion`,\r\n label: textServices.findByText('profile/identification/label', { es: 'Identificación', 'en': 'Identification' }),\r\n title: textServices.findByText('profile/identification/nav', { es: 'Identificación', 'en': 'Identification' }),\r\n path: `identificacion`,\r\n isAllow: isAllowRoute('identificacion'),\r\n component: Identification,\r\n noArrow: false,\r\n icon: CardIcon\r\n },\r\n {\r\n url: `${url}/consumption`,\r\n label: textServices.findByText('profile/consumptionLabel', { es: 'Centro de consumo', en: 'Center of consume' }),\r\n title: textServices.findByText('profile/consumption', { es: 'CENTRO DE CONSUMO', en: 'CENTER OF CONSUME' }),\r\n path: `consumption`,\r\n helper: consumptionCenter,\r\n isAllow: isAllowRoute('consumption'),\r\n component: ConsumptionProfile,\r\n noArrow: false,\r\n icon: ConsumptionCenterIcon,\r\n update: '/consumption/update',\r\n },\r\n {\r\n url: `${url}/movements`,\r\n label: textServices.findByText('profile/movementsLabel', { es: `Mis ${POINTS_NAME}`, en: `My ${POINTS_NAME}` }),\r\n title: textServices.findByText('profile/movements', { es: `Mis ${POINTS_NAME}`, en: `MY ${POINTS_NAME}` }),\r\n isAllow: isAllowRoute('movements'),\r\n component: ProfilePoints,\r\n path: \"movements\",\r\n icon: PointsIcon,\r\n },\r\n {\r\n url: `${url}/history`,\r\n label: textServices.findByText('profile/stateLabel', { es: 'Historial de canjes', en: 'Swap history' }),\r\n title: textServices.findByText('profile/state', { es: 'Historial de canjes', en: 'Swap history' }),\r\n path: `history`,\r\n isAllow: isAllowRoute('history'),\r\n component: History,\r\n noArrow: false,\r\n icon: HistoryIcon\r\n },\r\n {\r\n url: `${url}/movements/:categoryId/:category`,\r\n isAllow: isAllowRoute('movements'),\r\n title: textServices.findByText('profile/movementsDetails', { es: `DETALLE ${pathname.split('/').slice(-1).pop().toUpperCase()}`, en: `DETAILS ${pathname.split('/').slice(-1).pop().toUpperCase()}` }),\r\n component: ProfileDetailsPoints,\r\n dontShowItem: true\r\n },\r\n {\r\n url: `/prizes`,\r\n label: textServices.findByText('profile/prizeslabel', { es: 'Premios', en: 'Prizes' }),\r\n title: textServices.findByText('profile/prizes', { es: 'PREMIOS', en: 'PRIZES' }),\r\n isAllow: isAllowRoute('prizes'),\r\n icon: PrizesIcon,\r\n path: `prizes`,\r\n },\r\n {\r\n url: `${url}/social`,\r\n label: textServices.findByText('profile/social', { es: 'Vincular cuentas', en: 'Add accounts' }),\r\n title: textServices.findByText('profile/social', { es: 'VINCULAR CUENTAS', en: 'ADD ACCOUNTS' }),\r\n isAllow: isAllowRoute('social'),\r\n component: SocialProfile,\r\n icon: SiteMapIcon,\r\n path: `social`,\r\n },\r\n ]\r\n\r\n const definitionsFiltered = [...definitions].filter((item: any) => item?.isAllow).sort((a, b) => {\r\n return CONFIGS.routesProfile.indexOf(a?.path as IRoutesProfile) - CONFIGS.routesProfile.indexOf(b?.path as IRoutesProfile);\r\n })\r\n\r\n\r\n return (\r\n \r\n } exact />\r\n \r\n {definitionsFiltered.map((definition: any, index: number) => )}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Profile\r\n","export const myInformationAdapter = ((data, isSignUp, isLogin) => {\r\n \r\n if (isLogin) {\r\n return {\r\n email: data?.email,\r\n password: data?.password,\r\n }\r\n }\r\n\r\n if (isSignUp) {\r\n return {\r\n firstName: data?.firstName,\r\n lastName: data?.lastName,\r\n nickName: data?.nickName,\r\n birthday: data?.birthday,\r\n genreId: parseInt(data?.genreId),\r\n email: data?.email,\r\n password: data?.password,\r\n code: data?.referral,\r\n subscribe: data?.subscribe,\r\n termsOfUse: data?.termsOfUse,\r\n privacyPolicy: data?.privacyPolicy,\r\n }\r\n }\r\n\r\n if (!isSignUp) {\r\n return {\r\n firstName: data?.firstName,\r\n lastName: data?.lastName,\r\n nickName: data?.nickName,\r\n birthday: data?.birthday,\r\n genreId: parseInt(data?.genreId),\r\n }\r\n }\r\n \r\n})","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useEffect, useRef } from 'react'\r\nimport { DivAgegate, InputAgegate } from 'theme/theme'\r\n\r\ninterface IProps {\r\n setValue?: (name: string, value: string) => void\r\n setState?: (value: any) => void\r\n defaultValue?: {\r\n day: number | string\r\n month: number | string\r\n year: number | string\r\n }\r\n tagging?: {\r\n formName: string\r\n section: string\r\n }\r\n}\r\n\r\nfunction AgegateInput({ setValue, setState, defaultValue, tagging }: IProps) {\r\n const day = useRef(null)\r\n const month = useRef(null)\r\n const year = useRef(null)\r\n\r\n useEffect(() => {\r\n if (defaultValue) {\r\n const birthdayDate = new Date(+year.current?.value, +month.current?.value - 1, +day.current?.value)\r\n setState(birthdayDate)\r\n setValue('birthday', `${day.current?.value}/${month.current?.value}/${year.current?.value}`)\r\n }\r\n }, [defaultValue])\r\n\r\n const handleBlurYear = () => {\r\n const completed = +year.current?.value > 0 && +month.current?.value - 1 > 0 && +day.current?.value > 0;\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'fecha nacimiento',\r\n form_action: completed ? 'complete' : 'empty',\r\n form_name: tagging?.formName,\r\n section: tagging?.section\r\n })\r\n }\r\n const handleChange = (event: React.ChangeEvent) => {\r\n const { name, value } = event.target\r\n if (name === 'day') {\r\n if (value.trim() === '') {\r\n day.current.value = ''\r\n } else if (value.length === 2) {\r\n if (+value > 31) {\r\n day.current.value = '31'\r\n } else {\r\n month?.current?.focus()\r\n }\r\n }\r\n } else if (name === 'month') {\r\n if (value.trim() === '') {\r\n month.current.value = ''\r\n } else if (value.length === 2) {\r\n if (+value > 12) {\r\n month.current.value = '12'\r\n } else {\r\n year?.current?.focus()\r\n }\r\n }\r\n } else if (name === 'year') {\r\n if (value.trim() === '') {\r\n year.current.value = ''\r\n } else if (value.trim().length === 4) {\r\n if (+value < 1900) {\r\n year.current.value = '1900'\r\n }\r\n }\r\n }\r\n const birthdayDate = new Date(+year.current?.value, +month.current?.value - 1, +day.current?.value)\r\n setState(birthdayDate)\r\n setValue('birthday', `${day.current?.value}/${month.current?.value}/${year.current?.value}`)\r\n }\r\n\r\n return (\r\n \r\n {\r\n day?.current?.focus()\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'AGEGATE - Ingresar fecha de nacimiento',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n event.target.select()}\r\n />\r\n \r\n /\r\n event.target.select()}\r\n defaultValue={defaultValue?.month}\r\n />\r\n /\r\n {\r\n year?.current?.focus()\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'AGEGATE - Ingresar fecha de nacimiento',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n event.target.select()}\r\n onChange={handleChange}\r\n onBlur={handleBlurYear}\r\n />\r\n \r\n \r\n )\r\n}\r\n\r\nexport default AgegateInput\r\n","import { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { AxiosError } from 'axios'\r\nimport AgegateInput from 'components/agegate-input'\r\nimport Button from 'components/button'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport { useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useForm } from 'react-hook-form'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport textServices from 'services/text-services'\r\nimport { Label, SelectGender, ErrorInput } from 'theme/theme'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\n\r\nfunction AgeGender({\r\n state,\r\n nextStep,\r\n handleChange,\r\n onFormSubmitEndPoint,\r\n isSignUp,\r\n prevStep,\r\n setError,\r\n setLoad,\r\n htmlSteps\r\n}: any) {\r\n const {\r\n register,\r\n setValue,\r\n handleSubmit,\r\n setError: setErrors,\r\n formState: { errors }\r\n } = useForm({ defaultValues: { genreId: state?.genreId }, resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema(['birthday', 'genreId'])), 'sign up :: step 2', 'sign up'), reValidateMode: 'onSubmit' })\r\n\r\n const { setAgeLocalForm } = useAgegate()\r\n const [birthday, setBirthday] = useState()\r\n const [gender, setGender] = useState([])\r\n const [birthdayDefault, setBirthdayDefault] = useState(null)\r\n\r\n useEffect(() => {\r\n const ageLS = JSON.parse(localStorage.getItem('agegate'))\r\n const dateBirthday = new Date(state?.birthday ?? ageLS?.age ?? new Date().toString())\r\n const day = dateBirthday.getDate() > 9 ? dateBirthday.getDate() : `0${dateBirthday.getDate()}`\r\n const month = dateBirthday.getMonth() + 1 > 9 ? dateBirthday.getMonth() + 1 : `0${dateBirthday.getMonth() + 1}`\r\n const year = dateBirthday.getFullYear()\r\n setBirthdayDefault({ day: day ?? '', month: month ?? '', year: year ?? '' })\r\n }, [state?.birthday])\r\n\r\n function onFormSubmit(data: any) {\r\n const response = setAgeLocalForm(birthday)\r\n if (response?.error) return setErrors('birthday', { type: 'custom', message: response?.error })\r\n if (isSignUp) {\r\n handleChange({ ...data, birthday })\r\n dlTrackEvent('form_send', {\r\n element: 'siguiente',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n gtag('event', 'step_2', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n return nextStep()\r\n }\r\n onFormSubmitEndPoint({ ...data, birthday })\r\n }\r\n\r\n async function getGenres() {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.genres()\r\n setGender(response.data)\r\n } catch (error) {\r\n setError((error as AxiosError).response?.data.code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getGenres()\r\n }, [])\r\n\r\n return (\r\n
\r\n {!CONFIGS?.stepsNewVersion && (\r\n
{htmlSteps}
\r\n )}\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'genero',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {gender?.map((item: { id: number; name: string }) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n {CONFIGS?.stepsNewVersion && }\r\n\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'volver',\r\n section: 'sign up :: step 2'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR DIRECCION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default AgeGender\r\n","import { useContext } from 'react'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport Button from 'components/button'\r\nimport Input from 'components/input'\r\nimport { useForm } from 'react-hook-form'\r\nimport formServices from 'services/form-builder-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport { AxiosError } from 'axios'\r\nimport { Label, ErrorInput } from 'theme/theme'\r\nimport textServices from 'services/text-services'\r\nimport { BackBtn } from 'views/login/text.style'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport CONFIGS from 'build/Config'\r\nimport Steps from '../components/Steps'\r\n\r\nfunction Names({ state, nextStep, handleChange, prevStep, htmlSteps, setError }: any) {\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors }\r\n } = useForm({ resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema(['firstName', 'lastName', 'nickName'])), 'sign up :: step 1', 'sign up'), reValidateMode: 'onSubmit' })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ user }] = useSession()\r\n\r\n const validateNickName = async (nickName: string) => {\r\n setLoad(true)\r\n try {\r\n if (!CONFIGS.notShowFields?.includes('nickName') && nickName?.trim()?.toLowerCase() !== user?.nickName?.trim()?.toLowerCase() && nickName) {\r\n await ProfileService.validateNickName(nickName)\r\n }\r\n nextStep()\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError).response?.data.code ?? 9999;\r\n const message = (error as AxiosError).response?.data.message ?? 'NA';\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - NickName existente',\r\n value: '10'\r\n })\r\n dlTrackEvent('error', {\r\n \"error_type\": \"sign up\",\r\n \"error_code\": code,\r\n \"error_message\": message,\r\n \"section\": \"sign up :: step 1\"\r\n })\r\n return setError((error as AxiosError).response?.data.code ?? 9999)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const onFormSubmit = async (data: any) => {\r\n handleChange(data)\r\n const { nickName } = data\r\n gtag('event', 'step_1', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n dlTrackEvent('form_send', {\r\n element: 'siguiente',\r\n form_name: 'datos cuenta',\r\n section: 'sign up :: step 1'\r\n })\r\n if (user?.nickName?.trim()?.toLowerCase() !== nickName?.trim()?.toLowerCase()) {\r\n return validateNickName(nickName)\r\n }\r\n nextStep()\r\n }\r\n\r\n return (\r\n
\r\n {\r\n !CONFIGS?.stepsNewVersion && (\r\n
{htmlSteps}
\r\n )\r\n }\r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'first name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'last name',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n {!CONFIGS.notShowFields?.includes('nickName') && (\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_name: 'datos cuenta',\r\n form_field: 'nickname',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n section: 'sign up :: step 1'\r\n })\r\n }\r\n })}\r\n />\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n\r\n {\r\n CONFIGS?.stepsNewVersion && (\r\n \r\n )\r\n }\r\n\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'volver',\r\n section: \"sign up :: step 1\"\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Volver atras',\r\n value: '10'\r\n })\r\n prevStep()\r\n }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Names\r\n","/* eslint-disable indent */\r\nimport { myInformationAdapter } from 'adapters/my-information-adapter'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { useCustomForm } from 'hooks/use-custom-form'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport ErrorView from 'components/error-view'\r\nimport AgeGender from './age-gender'\r\nimport EmailPassword from './email-password'\r\nimport Names from './names'\r\n\r\nfunction FormInformation({\r\n isSignUp,\r\n handleSubmit,\r\n user,\r\n quantityStep,\r\n scanQr,\r\n handleScanQr\r\n}: {\r\n isSignUp?: boolean\r\n handleSubmit: (data: any, setError: (error: number) => void) => Promise\r\n user?: UserData\r\n quantityStep?: number\r\n scanQr?: boolean\r\n handleScanQr?: () => void\r\n}) {\r\n const { history } = useRouter()\r\n const { state, handleChangeState, setQuantitySteps, nextStep, prevStep, backHistory, htmlSteps } = useCustomForm({\r\n step: 1,\r\n firstName: user?.firstName || '',\r\n lastName: user?.lastName || '',\r\n nickName: user?.nickName || '',\r\n birthday: user?.birthday,\r\n genreId: user?.genreId || user?.genre || '',\r\n email: user?.email || '',\r\n password: ''\r\n })\r\n const [error, setError] = useState(null)\r\n const { setLoad } = useContext(LoaderContext)\r\n async function onFormSubmitEndPoint(data: any) {\r\n const newData = myInformationAdapter({ ...state, ...data }, isSignUp, false)\r\n await handleSubmit(newData, setError)\r\n }\r\n\r\n useEffect(() => {\r\n if (quantityStep) {\r\n setQuantitySteps(quantityStep)\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [error])\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Salir de la pantalla de error',\r\n value: '10'\r\n })\r\n setError(null)\r\n if (state?.step <= 1) return\r\n backHistory()\r\n }\r\n\r\n const handleButton = () => {\r\n setError(null)\r\n if (state?.step <= 1) return\r\n backHistory()\r\n }\r\n\r\n switch (state.step) {\r\n case 1:\r\n return (\r\n history.goBack()}\r\n htmlSteps={htmlSteps}\r\n setError={setError}\r\n />\r\n )\r\n case 2:\r\n return (\r\n \r\n )\r\n case 3:\r\n return (\r\n \r\n )\r\n default:\r\n return \r\n }\r\n}\r\n\r\nexport default FormInformation\r\n","import { YEAR_REGEXP } from \"constants/regexp\"\r\nimport dayjs from 'dayjs';\r\n\r\nexport const getBirthdayLocal = () => {\r\n const birthdayLocal = localStorage.getItem('agegate')\r\n const birthdayParse = JSON.parse(birthdayLocal)\r\n const currentYear = parseInt(dayjs().year().toString().replace(YEAR_REGEXP, ''), 10)\r\n const year = birthdayParse?.age?.split('-')[2]\r\n const yearStart = parseInt(year, 10) > currentYear ? '19' : '20'\r\n const parsedYear = parseInt(`${yearStart}${year}`, 10)\r\n const birthdayParseYear = birthdayParse?.age?.replace(year, parsedYear.toString())\r\n const birthdayDayjs = dayjs(birthdayParseYear, 'DD-MM-YYYY');\r\n const date = birthdayDayjs.toDate();\r\n if (!birthdayDayjs?.isValid()) return new Date()\r\n return date\r\n}","import Button from 'components/button'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, Label, PCheckbox, ErrorInput, SelectGender } from 'theme/theme'\r\nimport { BackBtn, TitleLogin } from 'views/login/text.style'\r\nimport Input from 'components/input'\r\nimport { ErrorMessage } from '@hookform/error-message'\r\nimport { useForm } from 'react-hook-form'\r\nimport { yupResolver } from '@hookform/resolvers/yup'\r\nimport formServices from 'services/form-builder-services'\r\nimport { useState, useEffect, useContext } from 'react'\r\nimport Password from 'components/password'\r\nimport ProfileService from 'services/profile-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\n\r\ninterface IProps {\r\n handleSubmit: (data: {\r\n name: string\r\n email: string\r\n password: string\r\n subscribe: boolean\r\n termsOfUse: boolean\r\n }) => Promise\r\n}\r\n\r\nfunction FormBaseInformation(props: IProps) {\r\n const { history } = useRouter()\r\n const {\r\n register,\r\n handleSubmit,\r\n formState: { errors },\r\n setError\r\n } = useForm({ resolver: yupResolver(formServices.formGenerateSchema(['firstName', 'password', 'email'])) })\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n const [gender, setGender] = useState([])\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n async function getGenres() {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.genres()\r\n setGender(response.data)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getGenres()\r\n }, [])\r\n\r\n const handleBack = () => history.goBack()\r\n\r\n const handleTermsOfUse = () => {\r\n if (!termsOfUse) setError('termsOfUse', null)\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones de privacidad',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n if (!privacyPolicy) setError('privacyPolicy', null)\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleSubscribe = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleFormSubmit = async (data: { firstName: string; email: string; password: string }) => {\r\n if (!termsOfUse) {\r\n return setError('termsOfUse', { type: 'required', message: 'Debes aceptar los términos y condiciones' })\r\n }\r\n if (!privacyPolicy) {\r\n return setError('privacyPolicy', { type: 'required', message: 'Debes aceptar el aviso de privacidad.' })\r\n }\r\n await props?.handleSubmit({ subscribe, termsOfUse, privacyPolicy, ...data } as any)\r\n }\r\n\r\n return (\r\n
\r\n \r\n {textServices.findByText('signup/title', { es: 'Registro', en: 'Register' })}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n dlTrackEvent('form_interaction', {\r\n form_field: 'genero',\r\n form_action: e.target.value ? 'complete' : 'empty',\r\n form_name: 'datos personales',\r\n section: 'sign up :: step 2'\r\n })\r\n }\r\n })}\r\n className=\"text-xs font-bold p-4 w-full min-h-2 mx-auto saira uppercase input-select\"\r\n >\r\n \r\n {gender?.map((item: { id: number; name: string }) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/suscribe/label', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para procesar\r\n tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido personalizado. En\r\n cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu Preference Center o a\r\n través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time, you\r\n can manage or withdraw your consent by accessing your Preference Center or through the means we make\r\n available to you in the{' '}\r\n \r\n Privacy Notice\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default FormBaseInformation\r\n","import { useContext, useEffect, useState } from \"react\"\r\nimport Button from \"components/button\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\nimport textServices from \"services/text-services\"\r\nimport useRouter from \"hooks/use-router\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport { SubTitleSignUpWelcome, TextSignUpWelcome, TitleSignUpWelcome, BackBtn, TextSecondSignUpWelcome } from \"../styles/custom.style\"\r\nimport Otp from \"./otp\"\r\n\r\ninterface IProps {\r\n name: string;\r\n email: string;\r\n handleConfirm: (data: any) => void;\r\n}\r\n\r\nfunction Welcome({ name = '', email = '', handleConfirm }: IProps) {\r\n\r\n const { history } = useRouter()\r\n const [otp, setOtp] = useState(false)\r\n const [resend, setResend] = useState(0)\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n useMainClass('sign-up__welcome')\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n }, [])\r\n\r\n if (otp) return \r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'verificar cuenta',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'verificar', {\r\n event_label: 'Registro - Email',\r\n method: \"Email\"\r\n })\r\n setOtp(true)\r\n }\r\n\r\n const handleResend = async () => {\r\n\r\n if (resend > 2) return alert('No se puede reenviar el código, intenta más tarde.')\r\n\r\n setLoad(true)\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'reenviar código',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'reenviar', {\r\n event_label: 'Registro - Email',\r\n method: \"Email\"\r\n })\r\n await ProfileService.resendEmailVerify({ email })\r\n setResend(resend + 1)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n \r\n {textServices.findByText('signup/welcome/title', { es: <>¡Hola,
{name}!, en: <>Hi,
{name}! }, { nombre: name })}\r\n
\r\n {textServices.findByText('signup/welcome/subtitle', { es: 'Nos falta validar tu cuenta', en: 'We need to validate your account' })}\r\n {textServices.findByText('signup/welcome/description', { es: ' código de 6 dígitos a tu correo electrónico para que valides', en: ' 6-digit code to your email for validation' }, { EMAIL: email })}\r\n {textServices.findByText('signup/welcome/description2', { es: <>Una contraseña de un solo uso se envió a {email}, en: <>A one-time password was sent to {email} })}\r\n {\r\n resend < 2 &&\r\n
\r\n {textServices.findByText('signup/welcome/description3', { es: ¿No la recibiste?, en: Did you not receive it? })}\r\n {textServices.findByText('signup/welcome/button-resend', { es: 'Reenviar código', en: 'Resend code' })}\r\n
\r\n }\r\n
\r\n \r\n { history.goBack() }}\r\n >\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Welcome","import { prettyError } from 'constants/errors'\r\nimport { useContext, useState } from 'react'\r\nimport { getAuth, createUserWithEmailAndPassword, AuthError, signInWithEmailAndPassword } from 'firebase/auth'\r\nimport FormInformation from 'components/form-information'\r\nimport ProfileService from 'services/profile-services'\r\nimport utmServices from 'services/utm-services'\r\nimport { AxiosError } from 'axios'\r\nimport ErrorView from 'components/error-view'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { dlSetUserInfo, dlTrackError, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport FormBaseInformation from 'components/form-base-information'\r\nimport dayjs from 'dayjs'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport Welcome from './components/welcome'\r\nimport Done from './components/done'\r\n\r\nconst auth = getAuth()\r\n\r\nconst SignUp = () => {\r\n const { setLoad } = useContext(LoaderContext)\r\n const [, { setSession, setUser }] = useSession()\r\n const [{ url }, { redirect }] = useRedirect()\r\n const [otp, setOtp] = useState(false)\r\n const [done, setDone] = useState(false)\r\n const [name, setName] = useState('')\r\n const [email, setEmail] = useState('')\r\n const [password, setPassword] = useState('')\r\n const [error, setError] = useState(null)\r\n const [credentials, setCredentials] = useState(null)\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { push } = useRouter()\r\n const [dataUser, setDataUser] = useState(null)\r\n const [prize, setPrize] = useState(null)\r\n const [prizeToShow, setPrizeToShow] = useState(null)\r\n const [scanQr, setScanQr] = useState(false)\r\n\r\n const handleScanQr = () => {\r\n setScanQr(!scanQr)\r\n }\r\n\r\n useMainClass('sign-up')\r\n\r\n const handleUser = (user: UserData, credentials: any) => {\r\n dlTrackEvent('login', { method: 'email' })\r\n gtag('event', 'login', { method: 'Email' })\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'email')\r\n\r\n setSession(credentials)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n }\r\n\r\n if (url) return redirect()\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete =\r\n (availableFields?.includes('nickName') ? false : !user?.nickName) ||\r\n !user?.birthday ||\r\n !user?.genre ||\r\n !user?.genreId\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update')\r\n\r\n return push('/home')\r\n }\r\n\r\n const handleLogin = async () => {\r\n setLoad(true)\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'ingresar',\r\n section: 'sign up'\r\n })\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'LOGIN - Iniciar sesión',\r\n value: 'Email'\r\n })\r\n const credentials = await signInWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const {\r\n data: { profile, prize }\r\n } = await ProfileService.signInWithEmailAndPassword({ credentials, utm })\r\n\r\n if (prizeToShow) {\r\n setDataUser(profile)\r\n return setPrize(prizeToShow)\r\n }\r\n\r\n if (prize) {\r\n setDataUser(profile)\r\n return setPrize(prize)\r\n }\r\n\r\n handleUser(profile, credentials)\r\n } catch (error) {\r\n if (error?.code) {\r\n return setError(error.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n const errorCode = (error as AxiosError).response?.data.code\r\n const errorMessage = (error as AxiosError).response?.data.message\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { errorCode },\r\n error_message: { errorMessage },\r\n section: 'sign up'\r\n })\r\n return setError(errorCode)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleConfirm = async (data) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.otpVerifyEmail({ code: data.otp, credentials })\r\n if (response?.status === 200) {\r\n gtag('event', 'email_verificado', {\r\n event_label: 'Registro - Email',\r\n method: 'Email'\r\n })\r\n dlTrackEvent('sign_up', {\r\n method: 'Email'\r\n })\r\n setDone(true)\r\n\r\n if (prize) return setPrize(prize)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code, message } = typedError.response?.data || {}\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { code },\r\n error_message: { message },\r\n section: 'sign up'\r\n })\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const catchError = (error, setError) => {\r\n const typedError = error as AuthError\r\n if (typedError.code) {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SINGUP - Error email existente',\r\n value: '10'\r\n })\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: typedError.code,\r\n error_message: prettyError(typedError.code),\r\n section: 'sign up'\r\n })\r\n setError(typedError.code)\r\n } else if ((error as AxiosError).isAxiosError) {\r\n const typedError = error as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n dlTrackError({\r\n error_type: 'login',\r\n error_code: { code },\r\n error_message: prettyError(code),\r\n section: 'sign up'\r\n })\r\n return setError(code ?? 9999)\r\n }\r\n }\r\n\r\n const handleSubmit = async (data, setError) => {\r\n const {\r\n firstName,\r\n lastName,\r\n nickName,\r\n birthday,\r\n genreId,\r\n email,\r\n password,\r\n code,\r\n subscribe,\r\n termsOfUse,\r\n privacyPolicy\r\n } = data\r\n gtag('event', 'step_3', { event_label: 'Registro - Email', method: 'Email' })\r\n gtag('event', 'sign_up', { event_label: 'Registro - Email', method: 'Email' })\r\n setLoad(true)\r\n try {\r\n const credentials = await createUserWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n const data = {\r\n credentials,\r\n firstName,\r\n lastName,\r\n nickName,\r\n birthday,\r\n genreId,\r\n utm,\r\n code,\r\n subscribe,\r\n termsOfUse,\r\n lang,\r\n privacyPolicy\r\n }\r\n\r\n const response = await ProfileService.signUp(data)\r\n\r\n MetaCAPIService.emitCompleteRegistration(\r\n email,\r\n firstName,\r\n lastName,\r\n dayjs(birthday).format('YYYYMMDD'),\r\n window.location.href,\r\n 'Email',\r\n MetaCAPIService.uuidv4()\r\n )\r\n\r\n setCredentials(credentials)\r\n localStorage.setItem('allowCookies', 'yes')\r\n setName(nickName || firstName)\r\n setEmail(email)\r\n setPassword(password)\r\n setPrizeToShow(response?.data?.prize)\r\n setOtp(true)\r\n } catch (error) {\r\n catchError(error, setError)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleSubmitBase = async (data) => {\r\n const { email, password, ...rest } = data\r\n setLoad(true)\r\n gtag('event', 'sign-up', { event_label: 'Registro - Email', method: 'Email' })\r\n try {\r\n const credentials = await createUserWithEmailAndPassword(auth, email, password)\r\n const utm = utmServices.utmRead()\r\n const data = { credentials, utm, ...rest }\r\n await ProfileService.signUp(data)\r\n setCredentials(credentials)\r\n localStorage.setItem('allowCookies', 'yes')\r\n setName(rest?.firstName)\r\n setEmail(email)\r\n setPassword(password)\r\n setOtp(true)\r\n } catch (error) {\r\n catchError(error, setError)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (error) return setError(null)} onRetry={() => setError(null)} />\r\n\r\n if (prize)\r\n return (\r\n handleUser(dataUser, credentials),\r\n handleButtonCommon: () => handleUser(dataUser, credentials),\r\n handleButtonSticker: () => handleUser(dataUser, credentials)\r\n }}\r\n item={prize}\r\n module=\"login\"\r\n name={dataUser?.firstName}\r\n />\r\n )\r\n\r\n if (done) return \r\n\r\n if (otp) return \r\n return (\r\n
\r\n {CONFIGS?.signUp?.base ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default SignUp\r\n","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\nexport const ImgAllowCookies = styled.img`\r\n ${(props: Type) => props.theme?.allowCookies?.img};\r\n`","import Button from 'components/button'\r\nimport { useEffect, useState } from 'react'\r\nimport { useLocalStorage } from 'react-use'\r\nimport textServices from 'services/text-services'\r\nimport { Checkbox, DivCheckbox, PCheckbox, ReferralInput } from 'theme/theme'\r\nimport { ImgAllowCookies } from 'theme/allowcookies'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport AlreadyParticipate from 'views/sign-up/components/already-participate'\r\nimport CONFIGS from 'build/Config'\r\nimport ScanQrReferral from './scanQr'\r\n\r\nfunction AllowCookies({ onSubmit }) {\r\n const [referralCode, setReferralCode] = useState('')\r\n const [termsOfUse, setTermsOfUse] = useState(false)\r\n const [privacyPolicy, setPrivacyPolicy] = useState(false)\r\n const [subscribe, setSubscribe] = useState(false)\r\n useMainClass('start__allow-cookies')\r\n const [flowType] = useLocalStorage('flowType')\r\n const [isFlowType, setIsFlowType] = useState(false)\r\n const [scanQr, setScanQr] = useState(false)\r\n const [scanQrResult, setScanQrResult] = useState('')\r\n const [referral] = useLocalStorage('referralCode', scanQrResult)\r\n\r\n const handleSubscribe = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto recibir novedades',\r\n value: '10'\r\n })\r\n setSubscribe((state) => !state)\r\n }\r\n\r\n const handleTermsOfUse = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto terminos y condiciones ',\r\n value: '10'\r\n })\r\n setTermsOfUse((state) => !state)\r\n }\r\n\r\n const handlePrivacyPolicy = () => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'MODIFICAR INFORMACION - Acepto condiciones de privacidad',\r\n value: '10'\r\n })\r\n setPrivacyPolicy((state) => !state)\r\n }\r\n\r\n const handleOnChange = (e) => {\r\n const { value } = e.target\r\n setReferralCode(value)\r\n }\r\n\r\n const handleSubmit = () => {\r\n if (!termsOfUse) {\r\n return alert('Debes aceptar los términos y condiciones')\r\n }\r\n\r\n if (!privacyPolicy) {\r\n return alert('Debes aceptar el aviso de privacidad.')\r\n }\r\n\r\n if (flowType === 'alreadyParticipate') return setIsFlowType(true)\r\n\r\n onSubmit({ termsOfUse, subscribe: subscribe, privacyPolicy, code: referralCode })\r\n localStorage.setItem('allowCookies', 'yes')\r\n }\r\n\r\n const handleLogin = async () => {\r\n onSubmit({ termsOfUse, privacyPolicy, subscribe: subscribe, code: referralCode })\r\n localStorage.setItem('allowCookies', 'yes')\r\n }\r\n\r\n const getReferralCode = () => {\r\n const params = new URLSearchParams(window.location.search)\r\n const referralCodeParams = params.get('referralCode')\r\n // console.log(params)\r\n // console.log(referralCodeParams)\r\n if (referralCodeParams) {\r\n // console.log('referralCodeParams', referralCodeParams)\r\n setReferralCode(referralCodeParams)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferralCode()\r\n }, [])\r\n\r\n if (isFlowType) return \r\n\r\n if (scanQr) return setScanQr(!scanQr)} setScanQrResult={setScanQrResult} />\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {CONFIGS?.allowReferral && (\r\n <>\r\n

\r\n {textServices.findByText('allowcookies/subtitle', {\r\n en: 'ENTER YOUR REFERRAL CODE',\r\n es: 'INGRESA SU CÓDIGO DE REFERIDO'\r\n })}\r\n

\r\n
\r\n \r\n \r\n
\r\n \r\n )}\r\n
\r\n \r\n \r\n \r\n {textServices.findByText('signup/termsOfUse/label', {\r\n es: (\r\n <>\r\n Acepto los{' '}\r\n \r\n Términos y Condiciones\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Terms and Conditions\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('signup/privacyPolicy/label', {\r\n es: (\r\n <>\r\n Acepto el{' '}\r\n \r\n Aviso de privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n I accept the{' '}\r\n \r\n Privacy Policy\r\n \r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n {textServices.findByText('allowcookies/checkbox/p/novedades', {\r\n es: (\r\n <>\r\n Tu privacidad es nuestra prioridad. Al "Aceptar", nos das tu consentimiento para procesar\r\n tus datos personales con el fin de mejorar tu experiencia y ofrecerte contenido personalizado. En\r\n cualquier momento, puedes gestionar o retirar tu consentimiento accediendo a tu Preference Center o\r\n a través de los medios que ponemos a tu disposición en el{' '}\r\n \r\n Aviso de Privacidad\r\n \r\n .\r\n \r\n ),\r\n en: (\r\n <>\r\n Your privacy is our priority. By "Accepting", you give us your consent to process your\r\n personal data in order to improve your experience and offer you personalized content. At any time,\r\n you can manage or withdraw your consent by accessing your Preference Center or through the means we\r\n make available to you in the {' '}\r\n \r\n Privacy Notice\r\n .\r\n \r\n )\r\n })}\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default AllowCookies\r\n","/* eslint-disable node/no-callback-literal */\r\nimport { AUTH } from 'constants/api'\r\nimport { useContext, useState } from \"react\"\r\nimport { AuthError, FacebookAuthProvider, getAuth, signInWithCredential } from '@firebase/auth'\r\nimport axios, { AxiosError } from 'axios'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport utmServices from 'services/utm-services'\r\nimport FacebookIcon from 'components/icon/facebook'\r\nimport ProfileService from 'services/profile-services'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport { dlSetUserInfo, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport { Prize } from 'views/prizes/types'\r\nimport useRouter from 'hooks/use-router'\r\nimport CONFIGS from 'build/Config'\r\nimport textServices from 'services/text-services'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport { goToUrlFacebook } from './goToUrlFacebook'\r\n\r\nfunction Facebook({ setSession, setUser, setLoginError, setError, setFirebaseError, setAllowCookies, setPrize }) {\r\n\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect();\r\n const auth = getAuth()\r\n const [flowType] = useLocalStorage('flowType')\r\n const { push } = useRouter();\r\n const [birthday] = useState(getBirthdayLocal())\r\n\r\n const completeData = (user: UserData, session: Object) => {\r\n setSession(session)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update?isNew=true');\r\n\r\n return push('/home')\r\n }\r\n\r\n const callback = async (data?: { termsOfUse?: boolean, privacyPolicy?: boolean, subscribe?: boolean, code?: string, session: Object, user: UserData, prize?: Prize }) => {\r\n setLoad(true)\r\n const { session, user, termsOfUse, privacyPolicy, subscribe, code, prize } = data || {}\r\n let payload = { termsOfUse, privacyPolicy, subscribe, code }\r\n const consumption = localStorage.getItem('consumption')\r\n if (consumption) {\r\n payload = { ...payload, consumptionCenterId: JSON.parse(consumption) ?? 0 } as any\r\n }\r\n try {\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'facebook')\r\n let userData = user\r\n\r\n if (termsOfUse || privacyPolicy || subscribe || code) {\r\n const response = await ProfileService.socialLogin({ payload, credentials: session })\r\n userData = response?.data\r\n }\r\n\r\n if (prize) return setPrize({ prize, name: userData?.firstName, callback: () => completeData(userData, session) })\r\n\r\n return completeData(userData, session)\r\n } catch (error) {\r\n setAllowCookies({ callback, isAllow: false })\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const loginSDK = async (response: any) => {\r\n try {\r\n setLoad(true)\r\n const accessToken = response?.authResponse?.accessToken;\r\n const credentials = FacebookAuthProvider.credential(accessToken)\r\n const result = await signInWithCredential(auth, credentials);\r\n const names = result?.user?.displayName?.split(' ') || ['', '']\r\n const firstName = names[0]\r\n const lastName = names[names.length - 1]\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n\r\n const body: any = { accessToken, firstName, lastName, utm, lang }\r\n\r\n const bithdayUser = (result as any)?.user?.reloadUserInfo?.dateOfBirth ? new Date((result as any)?.user?.reloadUserInfo?.dateOfBirth) : birthday\r\n\r\n if (bithdayUser && !Number.isNaN(bithdayUser)) {\r\n body.birthday = bithdayUser;\r\n }\r\n\r\n const loginResponse = await axios.post(\r\n AUTH, body,\r\n {\r\n headers: { Authorization: `Bearer ${(result?.user as any)?.accessToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n setLoad(false)\r\n if (!loginResponse?.data?.profile?.termsOfUse || !loginResponse?.data?.profile?.privacyPolicy) {\r\n gtag('event', 'sign_up', {\r\n event_label: 'SignUp - Meta',\r\n method: \"Meta\"\r\n })\r\n MetaCAPIService.emitCompleteRegistration(result.user.email, firstName, lastName, '', window.location.href, 'Meta', MetaCAPIService.uuidv4())\r\n return setAllowCookies({ callback: (data: { termsOfUse: boolean, subscribe: boolean, code?: string }) => callback({ ...data, session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }), isAllow: true })\r\n }\r\n gtag(\"event\", \"login\", {\r\n event_label: 'Login - Meta',\r\n method: \"Meta\"\r\n });\r\n\r\n dlTrackEvent('login', {\r\n action: 'click',\r\n element: 'Facebook',\r\n section: 'sign in / sign up',\r\n method: 'facebook'\r\n })\r\n\r\n if (flowType === 'alreadyParticipate') return setAllowCookies({\r\n callback: () => callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: false\r\n })\r\n\r\n callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize })\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError)?.response?.data.code || 99999\r\n setLoginError(code)\r\n } else {\r\n const typedError = error as AuthError\r\n setError(typedError)\r\n const isAccountExistsError = typedError.code === 'auth/account-exists-with-different-credential';\r\n const errorKey = isAccountExistsError ? `${typedError.code}-facebook` : typedError.code;\r\n setFirebaseError(errorKey);\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'facebook',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Meta', value: 'Meta' })\r\n if (FC_CLIENTID && ![\"dosequis\", \"tecate\", \"mixx\", \"cristal\", \"heineken00\", \"solMezclas\", 'massive'].includes(THEME)) {\r\n window.FB.login((response) => {\r\n if (response?.authResponse) {\r\n loginSDK(response)\r\n } else {\r\n console.log('User cancelled login or did not fully authorize.');\r\n }\r\n }, { scope: 'email,user_birthday,user_likes' });\r\n } else {\r\n return goToUrlFacebook(null, utmServices.utmRead())\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Facebook\r\n","/* eslint-disable node/no-callback-literal */\r\nimport { AUTH } from 'constants/api'\r\nimport { useContext, useState } from 'react'\r\nimport { AuthError, GoogleAuthProvider, getAuth, OAuthCredential, signInWithPopup } from '@firebase/auth'\r\nimport axios, { AxiosError } from 'axios'\r\nimport utmServices from 'services/utm-services'\r\nimport ProfileService from 'services/profile-services'\r\nimport { UserData } from 'contexts/session-context/session-reducer'\r\nimport GoogleIcon from 'components/icon/google'\r\nimport { dlSetUserInfo, dlTrackEvent, createUserProperties } from 'components/dataLayer/dataLayer'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\nimport { Prize } from 'views/prizes/types'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport CONFIGS from 'build/Config'\r\nimport AlertAppView from '../alertAppView'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport { goToUrlGoogle } from './goToUrlGoogle'\r\n\r\nfunction Google({ setSession, setUser, setLoginError, setError, setFirebaseError, setAllowCookies, setPrize, isHorizontal }) {\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect()\r\n const auth = getAuth()\r\n const provider = new GoogleAuthProvider()\r\n const [flowType] = useLocalStorage('flowType')\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { push } = useRouter();\r\n\r\n const completeData = (user: UserData, session: Object) => {\r\n setSession(session)\r\n setUser(user)\r\n\r\n const external = localStorage.getItem('toexternal')\r\n if (external) {\r\n localStorage.removeItem('toexternal')\r\n return window.location.assign(decodeURI(JSON.parse(external)))\r\n };\r\n\r\n\r\n if (url) return redirect();\r\n\r\n const availableFields = CONFIGS?.notAvailableFields\r\n const isComplete = ((availableFields?.includes('nickName') ? false : !user?.nickName) || !user?.birthday || (!user?.genre || !user?.genreId))\r\n if (!CONFIGS?.signUp?.base && isComplete) return push('/information/update?isNew=true');\r\n\r\n return push('/home')\r\n }\r\n\r\n const callback = async (data?: {\r\n termsOfUse?: boolean\r\n privacyPolicy?: boolean\r\n subscribe?: boolean\r\n code?: string\r\n session: Object\r\n user: UserData\r\n prize?: Prize\r\n }) => {\r\n setLoad(true)\r\n const { session, user, termsOfUse, privacyPolicy, subscribe, code, prize } = data || {}\r\n try {\r\n dlSetUserInfo(user?.hashId ?? user?.id)\r\n createUserProperties(user, 'google')\r\n let payload = { termsOfUse, privacyPolicy, subscribe, code }\r\n const consumption = localStorage.getItem('consumption')\r\n\r\n if (consumption) {\r\n payload = { ...payload, consumptionCenterId: JSON.parse(consumption) ?? 0 } as any\r\n }\r\n\r\n let userData = user\r\n if (termsOfUse || privacyPolicy || subscribe || code) {\r\n const response = await ProfileService.socialLogin({\r\n payload: payload,\r\n credentials: session\r\n })\r\n\r\n userData = response?.data\r\n }\r\n\r\n if (prize) return setPrize({ prize, name: userData?.firstName, callback: () => completeData(userData, session) })\r\n\r\n return completeData(userData, session)\r\n } catch (error) {\r\n setAllowCookies({ callback, isAllow: false })\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const login = async () => {\r\n setLoad(true)\r\n try {\r\n provider.addScope('https://www.googleapis.com/auth/userinfo.profile')\r\n provider.addScope('https://www.googleapis.com/auth/userinfo.email')\r\n const result = await signInWithPopup(auth, provider)\r\n const names = result.user?.displayName?.split(' ') || ['', '']\r\n const firstName = names[0]\r\n const lastName = names[names.length - 1]\r\n const { accessToken } = GoogleAuthProvider.credentialFromResult(result) as OAuthCredential\r\n const utm = utmServices.utmRead()\r\n const lang = textServices.language\r\n const body: any = { accessToken, firstName, lastName, utm, lang }\r\n\r\n if (birthday) {\r\n body.birthday = birthday;\r\n }\r\n\r\n const loginResponse = await axios.post(\r\n AUTH, body,\r\n {\r\n headers: { Authorization: `Bearer ${(result.user as any).accessToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n setLoad(false)\r\n if (!loginResponse?.data?.profile?.termsOfUse || !loginResponse?.data?.profile?.privacyPolicy) {\r\n gtag('event', 'sign_up', {\r\n event_label: 'SignUp - Google',\r\n method: 'Google'\r\n })\r\n MetaCAPIService.emitCompleteRegistration(result.user.email, firstName, lastName, '', window.location.href, 'Meta', MetaCAPIService.uuidv4())\r\n return setAllowCookies({\r\n callback: (data: { termsOfUse: boolean; subscribe: boolean; code?: string }) =>\r\n callback({ ...data, session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: true\r\n })\r\n } else {\r\n gtag('event', 'login', {\r\n event_label: 'Login - Google',\r\n method: 'Google'\r\n })\r\n dlTrackEvent('login', {\r\n method: 'google'\r\n })\r\n\r\n if (flowType === 'alreadyParticipate') return setAllowCookies({\r\n callback: () => callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize }),\r\n isAllow: false\r\n })\r\n }\r\n callback({ session: result, user: loginResponse?.data?.profile, prize: loginResponse?.data?.prize })\r\n } catch (error) {\r\n if ((error as AxiosError).isAxiosError) {\r\n const code = (error as AxiosError).response?.data.code || 99999\r\n setLoginError(code)\r\n } else {\r\n const typedError = error as AuthError\r\n setError(typedError)\r\n const isAccountExistsError = typedError.code === 'auth/account-exists-with-different-credential';\r\n const errorKey = isAccountExistsError ? `${typedError.code}-google` : typedError.code;\r\n setFirebaseError(errorKey);\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleClick = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'google',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Google', value: 'Google' })\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n if (false as any || [\"dosequis\", \"tecate\", \"mixx\", \"cristal\", \"heineken00\", \"solMezclas\", 'massive'].includes(THEME)) {\r\n return goToUrlGoogle(null, utmServices.utmRead())\r\n }\r\n\r\n return login()\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {\r\n isHorizontal\r\n ? (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n

Sign in with Google

\r\n
\r\n ) : (\r\n
\r\n \r\n
\r\n )\r\n }\r\n \r\n )\r\n}\r\n\r\nexport default Google\r\n","import { Link } from 'react-router-dom'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\n\r\nfunction Guest() {\r\n\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: 'CódigoTecate',\r\n event_label: 'Ingresar como invitado',\r\n value: '10'\r\n })\r\n }}\r\n >\r\n \r\n \r\n )\r\n}\r\n\r\nexport default Guest\r\n","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { SignUpDiv } from 'theme/theme'\r\n\r\nfunction SignUp() {\r\n return (\r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('start/signup', { es: 'REGISTRARME', en: 'REGISTER' }),\r\n section: 'sign up'\r\n })\r\n\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Registro - Email',\r\n value: 'Email'\r\n })\r\n\r\n }}\r\n >\r\n {textServices.findByText('start/signup', { es: 'REGISTRARME', en: 'REGISTER' })}\r\n \r\n )\r\n}\r\n\r\nexport default SignUp\r\n","import { Link } from 'react-router-dom'\r\nimport textServices from 'services/text-services'\r\nimport { SignInDiv } from 'theme/theme'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\n\r\nfunction SignIn() {\r\n return (\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'Inicio de sesión - Email',\r\n value: 'Email'\r\n })\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('start/signin', { es: 'YA TENGO USUARIO', en: 'I ALREADY HAVE A USER' }),\r\n section: 'login'\r\n })\r\n }}\r\n >\r\n \r\n {textServices.findByText('start/signin', { es: 'YA TENGO USUARIO', en: 'I ALREADY HAVE A USER' })}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default SignIn\r\n","import textServices from 'services/text-services'\r\nimport { Back } from '../../../theme/theme'\r\n\r\nfunction BackgroundImage() {\r\n return (\r\n \r\n
\r\n

\r\n {textServices.findByText('start/backgroundimage/title', { es: <>¿Listo para ser
parte del equipo?
¡Regístrate!, en: <>Ready to be
part of the team?
Register now! })}\r\n

\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default BackgroundImage\r\n","import textServices from 'services/text-services'\r\nimport { Back } from '../../../theme/theme'\r\nimport { StartImg } from '../../../theme/start'\r\n\r\nfunction ImageAndText() {\r\n return (\r\n \r\n
\r\n

\r\n {textServices.findByText('start/imageandtext/title', { es: <>¿ESTAS LISTO PARA LO QUE SE VIENE?
CONOCE, en: <>ARE YOU READY FOR WHAT'S AHEAD?
KNOW })}\r\n

\r\n \r\n

\r\n {textServices.findByText('start/imageandtext/description', { es: <>PÀSALE, PERO ANTES,
¿YA TE REGISTRASTE?, en: <>PASS HIM, BUT FIRST,
HAVE YOU REGISTERED YET? })}\r\n

\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ImageAndText\r\n","import Button from 'components/button'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport PopUp from '.'\r\n\r\nfunction StartPopUp({ handleMenu }: { handleMenu: () => void }) {\r\n useMainClass('start__popup')\r\n\r\n return (\r\n \r\n {textServices.findByText('popUps/start/html')}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default StartPopUp","import { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useState } from 'react'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent';\r\nimport TwitchIcon from 'components/icon/twitch';\r\nimport utmServices from 'services/utm-services';\r\nimport AlertAppView from '../alertAppView';\r\nimport { goToUrlTwitch } from './goToUrlTwitch';\r\n\r\nfunction Twitch() {\r\n\r\n const [alertAppView, setAlertAppView] = useState(false);\r\n\r\n const handleOnClick = async () => {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'twith',\r\n section: \"login\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'Click - Twitch', value: 'Twitch' })\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n if (inBrowserApp) return setAlertAppView(true);\r\n\r\n goToUrlTwitch(null, utmServices.utmRead());\r\n }\r\n\r\n return (\r\n <>\r\n \r\n
\r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Twitch","import Button from \"components/button\";\r\nimport { useUTMParams } from \"components/utms/useUTMParams\";\r\nimport { useMemo } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nexport default function Xeerpa() {\r\n const utmParams = useUTMParams();\r\n\r\n const search = useMemo(() => {\r\n const searchParams = new URLSearchParams({ 'tointernal': 'true' });\r\n\r\n for (const key in utmParams) {\r\n if (utmParams[key] && !searchParams.has(key)) {\r\n searchParams.set(key, utmParams[key]);\r\n }\r\n }\r\n\r\n return searchParams?.toString()\r\n }, [utmParams])\r\n\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}","import styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\nimport { SubTitle, Text, Title } from 'theme/theme';\r\n\r\nexport const TitleStart = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.start?.text?.title}\r\n`;\r\n\r\nexport const SubTitleStart = styled(SubTitle)`\r\n font-size: 1.25rem;\r\n ${({ theme }: Type) => theme?.start?.text?.subtitle}\r\n`;\r\n\r\nexport const TextStart = styled(Text)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.start?.text?.text}\r\n`;","\r\nimport { useContext, useEffect, useMemo, useState } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport dayjs from 'dayjs'\r\nimport customParseFormat from 'dayjs/plugin/customParseFormat'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport AllowCookies from 'components/allow-cookies'\r\nimport textServices from 'services/text-services'\r\nimport { Back } from 'theme/theme'\r\nimport { Facebook, Google, Guest, SignUp, SignIn } from 'components/start'\r\nimport ErrorView from 'components/error-view'\r\nimport { useLocalStorage } from 'react-use'\r\nimport StartPopUp from 'components/popUps/startPopUp'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport Twitch from 'components/start/twitch'\r\nimport AlreadyParticipate from 'views/sign-up/components/already-participate'\r\nimport { isInAppBrowser } from 'utilities/detectDeviceAgent'\r\nimport { Prize } from 'views/prizes/types'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport CONFIGS from 'build/Config'\r\nimport Xeerpa from 'components/start/xeerpa'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { FormContainer } from '../../theme/start'\r\nimport { TextStart, TitleStart } from './text.style'\r\ndayjs.extend(customParseFormat)\r\nexport interface FormValues {\r\n code: string\r\n}\r\n\r\nconst Start = () => {\r\n const [session, { setError, setSession, setUser }] = useSession()\r\n const history = useHistory()\r\n const [{ url }, { redirect }] = useRedirect();\r\n const [firebaseError, setFirebaseError] = useState('')\r\n const [loginError, setLoginError] = useState()\r\n const [allowCookies, setAllowCookies] = useState<{ callback: () => void, isAllow: boolean }>()\r\n const { setHead, setFooter } = useContext(LoaderContext)\r\n const [prize, setPrize] = useState<{ prize: Prize, name: string, callback: () => void }>(null)\r\n const [flowType] = useLocalStorage('flowType')\r\n useMainClass('start')\r\n\r\n const typedThemeButtons: string[] = CONFIGS?.buttonsStart\r\n\r\n const listCommon = useMemo(() => {\r\n return [\r\n {\r\n type: 'signUp',\r\n component: ,\r\n },\r\n {\r\n type: 'signIn',\r\n component: ,\r\n },\r\n {\r\n type: 'xeerpa',\r\n component: ,\r\n },\r\n {\r\n type: 'guest',\r\n component: ,\r\n },\r\n ].filter(({ type }) => typedThemeButtons.includes(type)).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [])\r\n\r\n const listSocial = useMemo(() => {\r\n return [\r\n {\r\n type: 'google',\r\n component: ,\r\n },\r\n {\r\n type: 'facebook',\r\n component: \r\n },\r\n {\r\n type: 'twitch',\r\n component: \r\n },\r\n ].filter(({ type }) => {\r\n const isDisplayInTheme = typedThemeButtons.includes(type)\r\n\r\n return isDisplayInTheme\r\n }).sort((a, b) => typedThemeButtons.indexOf(a.type) - typedThemeButtons.indexOf(b.type))\r\n }, [])\r\n\r\n const [popUp, setPopUp] = useLocalStorage('startPopUp', false)\r\n\r\n useEffect(() => {\r\n setHead(true)\r\n setFooter(true)\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (session.user) {\r\n if (url) return redirect()\r\n history.push('/home')\r\n }\r\n }, [session.user])\r\n\r\n const formContainerClasses = `my-8 flex-col w-full transition-colors duration-300 items-center px-7 sm:max-w-sm sm:items-center`\r\n\r\n if (prize) {\r\n return \r\n }\r\n\r\n if (allowCookies?.isAllow) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (!allowCookies?.isAllow && allowCookies?.callback && flowType === 'alreadyParticipate') return \r\n\r\n if (loginError) {\r\n return setLoginError(null)} onRetry={() => setLoginError(null)} />\r\n }\r\n\r\n if (firebaseError) {\r\n return setFirebaseError('')} onRetry={(code) => +code === 107 ? history.push('/login') : setFirebaseError('')} />\r\n }\r\n\r\n if (!popUp && CONFIGS?.startPopUp) {\r\n return setPopUp(true)} />\r\n }\r\n\r\n return (\r\n
\r\n {textServices.findByText('start/title/html',\r\n \r\n
\r\n \r\n {textServices.findByText('start/title/h1', { es: <>¿Listo para ser
parte del equipo?
¡Regístrate!, en: <>Ready to be part of the team?
Sign up! })}\r\n
\r\n
\r\n
\r\n )}\r\n \r\n
\r\n {!CONFIGS?.socialHorizontal && listSocial?.length > 0 && (\r\n
\r\n {textServices.findByText('start/social', { es: 'ENTRA CON:', en: 'ENTER WITH' })}\r\n {listSocial.map((social, index) => {\r\n\r\n const inBrowserApp = isInAppBrowser()\r\n\r\n if (inBrowserApp && ['google', 'twitch'].includes(social?.type) && !['dosequis', 'mixx'].includes(THEME)) {\r\n return null;\r\n }\r\n\r\n return (\r\n \r\n {social.component}\r\n \r\n )\r\n })}\r\n
\r\n )}\r\n {(CONFIGS?.socialHorizontal ? [...listSocial, ...listCommon] : listCommon).map((common, index) => {\r\n return
{common?.component}
\r\n })}\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Start","import { CODE_EXCHANGE } from 'constants/api'\r\nimport { useContext, useRef, useState } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios, { AxiosError } from 'axios'\r\nimport { useForm } from 'react-hook-form'\r\nimport ReCAPTCHA from 'react-google-recaptcha'\r\nimport mergeRefs from 'merge-refs'\r\nimport clone from 'lodash.clone'\r\nimport Input from 'components/input'\r\nimport useLocalStorage from 'hooks/use-local-storage'\r\n\r\nimport textServices from 'services/text-services'\r\nimport styled from 'styled-components'\r\nimport modules from 'build/modules'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { FormContainer, ButtonGo, FormContainerInput, RedeemTextFocus } from '../../theme/start'\r\n\r\nexport interface FormValues {\r\n code: string\r\n}\r\n\r\nconst InputGo = styled(Input)`\r\n ${({ theme }: any) => theme?.start?.inputGo}\r\n`\r\n\r\nfunction ButtonGoRedeem({ setIsFocused, isFocused, redeemError, setRedeemError }) {\r\n\r\n const [session, { setUser }] = useSession()\r\n const history = useHistory()\r\n const { register, handleSubmit, formState: { errors } } = useForm({ defaultValues: { code: '' } })\r\n const [shouldListenToEvents, setShouldListenToEvents] = useState(false)\r\n const { setLoad, setHead, setFooter } = useContext(LoaderContext)\r\n const [secondCode, setSecondCode] = useState(false)\r\n const inputRef = useRef(null)\r\n const recaptchaRef = useRef(null)\r\n const [state, setState] = useLocalStorage('state', {})\r\n const [, setPrize] = useLocalStorage('prize', {})\r\n const [, setRange] = useLocalStorage('range', undefined as any)\r\n\r\n const inputFormProps = register('code')\r\n\r\n const onSubmit = handleSubmit(async (data) => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingresó Código', value: '10' })\r\n if (secondCode)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingresó Código Nuevo', value: '10' })\r\n if (inputRef.current?.value && inputRef.current?.value.length < 4) {\r\n setRedeemError(456)\r\n return\r\n }\r\n recaptchaRef.current?.reset()\r\n inputRef.current?.blur()\r\n\r\n recaptchaRef.current?.executeAsync().then(async (recaptchaToken) => {\r\n if (data.code) {\r\n setLoad(true)\r\n try {\r\n const response = await axios.post(\r\n CODE_EXCHANGE,\r\n { ...data, recaptchaToken },\r\n {\r\n headers: { Authorization: `Bearer ${((session.data as any)?._tokenResponse as any).idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n }\r\n )\r\n\r\n const newUser = clone(session.user) as any\r\n newUser.totalPoints = response.data.profile.totalPoints\r\n newUser.level = response.data.profile.level\r\n newUser.chances = response.data.profile.chances\r\n setState({ ...state, user: newUser })\r\n setUser(newUser)\r\n setPrize(response?.data)\r\n setSecondCode(true)\r\n if (response?.data?.profile?.isNewLevel) {\r\n setRange(response?.data?.profile)\r\n }\r\n history.push('/congrats')\r\n setHead(true)\r\n setFooter(true)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingreso éxitoso', value: '10' })\r\n\r\n } catch (error) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Ingreso érroneo', value: '10' })\r\n const err = error as AxiosError\r\n inputRef.current?.focus()\r\n\r\n const code = err.response?.data.code || 99999\r\n setRedeemError(code)\r\n setLoad(false)\r\n setHead(true)\r\n setFooter(true)\r\n if (code === 66 || code === 67) {\r\n setHead(true)\r\n setFooter(true)\r\n history.push(`/error/${code}`)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n })\r\n })\r\n\r\n const onFocus = () => {\r\n setIsFocused(true)\r\n setHead(false)\r\n setFooter(false)\r\n\r\n setTimeout(() => {\r\n setShouldListenToEvents(true)\r\n }, 200)\r\n }\r\n\r\n const onBlur = (e: any) => {\r\n if (e.target.tagName === 'DIV') {\r\n setIsFocused(false)\r\n setHead(true)\r\n setFooter(true)\r\n setShouldListenToEvents(false)\r\n }\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'REDEEM - Focus en input', value: '10' })\r\n }\r\n\r\n const formContainerClasses = `pb-4 flex-col w-full transition-colors duration-300 items-center px-7 ${isFocused && 'flex absolute min-h-view h-screen top-0 px-7 justify-center'}`\r\n\r\n return (\r\n \r\n \r\n {isFocused && (\r\n \r\n {textServices.findByText('redeem/description2', { es: <>INGRESA EL CÓDIGO QUE SE ENCUENTRA
DENTRO DE LOS 12 PACK, en: <>ENTER THE CODE THAT IS
INSIDE THE 12 PACKS })}\r\n
\r\n )}\r\n \r\n {\r\n if (redeemError) {\r\n setRedeemError(null)\r\n }\r\n }}\r\n />\r\n \r\n {modules?.json?.start?.codeButtonImg ? (\r\n \"go\"\r\n ) : (\r\n 'GO'\r\n )}\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonGoRedeem\r\n","import Countdown from 'react-countdown'\r\nimport { Link } from 'react-router-dom'\r\nimport { useContext, useEffect, useMemo } from 'react'\r\nimport dayjs from 'dayjs'\r\nimport calendar from 'dayjs/plugin/calendar'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport {\r\n DivTriviaList,\r\n DivTriviaListBorder,\r\n DivTitleTriviaList,\r\n H2TitleTriviaList,\r\n TriviaDescription,\r\n DivTriviaContainer,\r\n TriviaTitle,\r\n TriviaSubtitle,\r\n TriviaSubtitleSpan,\r\n TriviaPrize,\r\n TriviaStock,\r\n TriviaTime,\r\n TriviaCost,\r\n TriviaTitlePage,\r\n TriviaNotFoundContainer,\r\n TriviaNotFoundText,\r\n TriviaTimeNumbers,\r\n TriviaCostNumber\r\n} from '../../theme/trivias'\r\n\r\nexport enum TriviaStatusEnum {\r\n AVAILABLE = 1,\r\n NOT_AVAILABLE = 2,\r\n WON = 3,\r\n LOST = 4\r\n}\r\n\r\nconst TriviaList = () => {\r\n const [state, { getTrivias }] = useTrivia()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ user, data }] = useSession()\r\n\r\n useEffect(() => {\r\n if (data) {\r\n getTrivias()\r\n }\r\n }, [data])\r\n\r\n if (!state.trivias) {\r\n setLoad(true)\r\n } else {\r\n setLoad(false)\r\n }\r\n\r\n dayjs.extend(calendar)\r\n\r\n const avaliableTrivias = useMemo(() => {\r\n return state?.trivias\r\n ?.filter((item) => {\r\n let isActive = true\r\n const nowDate = dayjs(new Date())\r\n if (item.validFrom) {\r\n const validFrom = new Date(item.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate < date) isActive = false\r\n }\r\n\r\n if (item.validTo) {\r\n const validTo = new Date(item.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate > date) isActive = false\r\n }\r\n\r\n // If direct access doesn't show never\r\n if (item?.directAccess) return false\r\n\r\n // Have Ranking always, must show\r\n if (item?.withRanking) return true\r\n \r\n // If already plays, doesn't show never\r\n if (item?.profileTriviaStatus === 3) return false\r\n\r\n // If is active, must show\r\n return isActive\r\n })\r\n ?.sort((a, b) => {\r\n if (a.profileTriviaStatus === 3 && b.profileTriviaStatus !== 3) return 1\r\n if (b.profileTriviaStatus === 3 && a.profileTriviaStatus !== 3) return -1\r\n\r\n const today = dayjs()\r\n const diffA = dayjs(a.validTo).diff(today)\r\n const diffB = dayjs(b.validTo).diff(today)\r\n\r\n return diffB - diffA\r\n })\r\n }, [state.trivias])\r\n\r\n return (\r\n \r\n
\r\n \r\n {textServices.findByText('trivias/list/title', { es: 'Trivias', en: 'Trivias' })}\r\n \r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'Trivias', event_label: 'Ordenar' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'ordenar por', section: 'trivia' })\r\n }}\r\n >\r\n {textServices.findByText('trivias/list/sort', { es: 'ordenar por', en: 'sort by' })}\r\n \r\n
\r\n {state.trivias && avaliableTrivias.length ? (\r\n
\r\n {avaliableTrivias.map((item) => {\r\n const hasEnoughPoints = parseInt(user?.totalPoints || '0', 10) >= item.costInPoints\r\n const isAvailable = item.stock !== 0\r\n const isUnlimited = isAvailable && item.stock === -1\r\n let shouldShowCountdown = false\r\n let isActive = hasEnoughPoints\r\n\r\n let dateCountdown\r\n let countdownType\r\n const nowDate = dayjs(new Date())\r\n if (item.validFrom) {\r\n const validFrom = new Date(item.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/start', {\r\n es: 'Comienza en',\r\n en: 'Starts at'\r\n })\r\n shouldShowCountdown = true\r\n dateCountdown = date.toDate()\r\n }\r\n if (nowDate < date) isActive = false\r\n }\r\n\r\n if (item.validTo && !countdownType) {\r\n const validTo = new Date(item.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/end', { es: 'Finaliza en', en: 'Ends at' })\r\n shouldShowCountdown = true\r\n dateCountdown = date.toDate()\r\n }\r\n\r\n if (nowDate > date) isActive = false\r\n }\r\n\r\n if (item?.profileTriviaStatus === 3) isActive = false\r\n\r\n if (isAvailable && (false as any) && item.imageUrl !== '') {\r\n return (\r\n \r\n \r\n \r\n \r\n {item.interest}\r\n \r\n

{item?.name}

\r\n \r\n \r\n \r\n {item.description}\r\n \r\n
\r\n \"logo\"\r\n

{item.prize}

\r\n \"logo\"\r\n
\r\n\r\n
\r\n
\r\n {shouldShowCountdown && (\r\n

\r\n {countdownType}
{' '}\r\n \r\n

\r\n )}\r\n
\r\n {!isUnlimited && item.stock <= 500 && (\r\n

\r\n {item.stock}{' '}\r\n {textServices.findByText('trivias/list/card/available', {\r\n es: 'disponible',\r\n en: 'available'\r\n })}\r\n {item.stock > 1 ? 's' : ''}\r\n

\r\n )}\r\n {item.costInPoints > 0 && (\r\n
\r\n \r\n {item.costInPoints}\r\n \r\n {POINTS_NAME}\r\n
\r\n )}\r\n {item.costInPoints === 0 && (\r\n
\r\n {textServices.findByText('trivias/list/card/free', { es: 'GRATIS', en: 'FREE' })}\r\n
\r\n )}\r\n
\r\n
\r\n {!hasEnoughPoints && (\r\n
\r\n {textServices.findByText('trivias/list/card/enough', {\r\n es: 'no tienes suficientes',\r\n en: \"you don't have enough\"\r\n })}{' '}\r\n {POINTS_NAME}\r\n
\r\n )}\r\n
\r\n \r\n )\r\n } else if (isAvailable) {\r\n return (\r\n \r\n \r\n \r\n \r\n {item.interest}\r\n \r\n \r\n {item?.name}\r\n \r\n \r\n \r\n \r\n {textServices.findByText('trivias/questions1', { es: `Contesta `, en: 'Answer ' })}\r\n \r\n {item.nbrOfQuestions}\r\n \r\n {textServices.findByText('trivias/questions2', {\r\n es: ` preguntas sobre el tema y gana:`,\r\n en: ` questions on the subject and win:`\r\n })}\r\n \r\n \r\n {item.prize}\r\n \r\n {!isUnlimited && item.stock <= 500 && (\r\n \r\n {item.stock}{' '}\r\n {textServices.findByText('trivias/list/card/available', {\r\n es: 'disponible',\r\n en: 'available'\r\n })}\r\n {item.stock > 1 ? 's' : ''}\r\n \r\n )}\r\n
\r\n
\r\n {shouldShowCountdown && (\r\n \r\n {countdownType}\r\n
{' '}\r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n {item.costInPoints > 0 && (\r\n \r\n

\r\n {' '}\r\n \r\n {item.costInPoints}\r\n {' '}\r\n {POINTS_NAME}{' '}\r\n

\r\n {/* {item.costInPoints}\r\n {POINTS_NAME} */}\r\n
\r\n )}\r\n {item.costInPoints === 0 && (\r\n \r\n {textServices.findByText('trivias/list/card/free', { es: 'GRATIS', en: 'FREE' })}\r\n \r\n )}\r\n
\r\n
\r\n {!hasEnoughPoints && (\r\n
\r\n {textServices.findByText('trivias/list/card/enough', {\r\n es: 'no tienes suficientes',\r\n en: \"you don't have enough\"\r\n })}{' '}\r\n {POINTS_NAME}\r\n
\r\n )}\r\n
\r\n \r\n )\r\n } else {\r\n return null\r\n }\r\n })}\r\n
\r\n ) : (\r\n \r\n \r\n {textServices.findByText('trivias/not-found', {\r\n es: 'NO HAY TRIVIAS DISPONIBLES',\r\n en: 'NO TRIVIA AVAILABLE'\r\n })}\r\n \r\n \r\n )}\r\n
\r\n )\r\n}\r\n\r\nexport default TriviaList\r\n","\r\nimport { useEffect, useState } from 'react'\r\nimport ButtonGoRedeem from 'components/button-go'\r\nimport { BackRedeem, TextSub, DivRedeemBottomText, ImgRedeemContainer } from 'theme/theme'\r\nimport textServices from 'services/text-services'\r\nimport ErrorView from 'components/error-view'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useHistory } from 'react-router-dom'\r\nimport CONFIGS from 'build/Config'\r\n\r\nconst Redeem = () => {\r\n useMainClass('redeem')\r\n const [{ user }] = useSession()\r\n const [isFocused, setIsFocused] = useState(false)\r\n const [redeemError, setRedeemError] = useState(null)\r\n const history = useHistory()\r\n useSurveyRedirect(SurveyTypeEnum.REDEEM)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: redeemError !== null\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n }, [redeemError])\r\n\r\n if (redeemError) return setRedeemError(null)} onRetry={() => setRedeemError(null)} />\r\n\r\n\r\n const handleRetry = () => {\r\n return history.push('/')\r\n }\r\n\r\n const handleButton = () => {\r\n history.push('/consumption/update')\r\n }\r\n\r\n if (!user?.consumptionCenter?.internalId && CONFIGS?.popupClientNum) {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n \r\n {\r\n textServices.findByText('redeem/title') !== 'redeem/title' ?\r\n \r\n {textServices.findByText('redeem/title')}\r\n \r\n :\r\n \r\n {textServices.findByText('redeem/subtitle', '')}\r\n \r\n \r\n }\r\n\r\n \r\n \r\n
\r\n

\r\n {textServices.findByText('redeem/description', { es: <>Ingresa el código que se encuentra dentro de
los 12 pack para sumar puntos en el ranking, en: <>Enter the code found inside
the 12 packs to add points in the ranking })}\r\n

\r\n
\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Redeem\r\n","import { TYC } from 'constants/api'\r\nimport useAxios from 'axios-hooks'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport styled from 'styled-components'\r\nimport { Type } from 'theme/types'\r\nimport ErrorView from 'components/error-view'\r\nimport useRouter from 'hooks/use-router'\r\nimport styles from './styles.module.scss'\r\n\r\nconst Div = styled.div`\r\n ${({ theme }: Type) => theme?.termsAndConditions?.div}\r\n`\r\n\r\nconst TYCPage = () => {\r\n useMainClass('terms-and-conditions')\r\n const { push } = useRouter()\r\n const [{ loading, error, data }] = useAxios({\r\n url: TYC,\r\n headers: { 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n\r\n if (error) {\r\n return push('/home')} />\r\n }\r\n\r\n if (loading) {\r\n return \r\n }\r\n\r\n if (data) {\r\n return
\r\n
\r\n
\r\n }\r\n}\r\n\r\nexport default TYCPage\r\n","import styled from 'styled-components'\r\nimport { Crown } from 'theme/profile'\r\nimport { Type, isActiveType, isSelectedType } from '../types'\r\n\r\nexport const DivTriviaList = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextTrivia};\r\n`\r\n\r\nexport const H1PrefPicker = styled.h1`\r\n color: ${(props: Type) => props.theme?.trivias?.ColorTextPref};\r\n ${(props: Type) => props.theme?.trivias?.textPrefTitle}\r\n`\r\n\r\nexport const PPrefPicker = styled.p`\r\n color: ${(props: Type) => props.theme?.trivias?.ColorTextPref};\r\n ${(props: Type) => props.theme?.trivias?.TextPref}\r\n`\r\n\r\nexport const TriviaDescription = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaDescription};\r\n`\r\n\r\nexport const TriviaNumber = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaNumber};\r\n`\r\n\r\nexport const DivTriviaListBorder = styled.div.attrs((props: isActiveType) => ({\r\n isActive: props.isActive,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n opacity: ${(props: isActiveType) => !props.isActive && '0.8'};\r\n background-color: ${(props: isActiveType) => !props.isActive && props.theme?.trivias?.backgroundTriviaDisabled};\r\n border-color: ${(props: Type) => props.theme?.trivias?.borderBottomTrivia};\r\n`\r\n\r\nexport const DivTitleTriviaList = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTriviaTop};\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundTitleTrivia};\r\n border-top: ${(props: Type) => props.theme?.trivias?.TitleTriviaBorder};\r\n border-bottom: ${(props: Type) => props.theme?.trivias?.TitleTriviaBorder};\r\n`\r\n\r\nexport const H2TitleTriviaList = styled.h2`\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundTitleClassTrivia};\r\n color: ${(props: Type) => props.theme?.trivias?.colorTitleTrivia};\r\n font-family: ${(props: Type) => props.theme?.trivias?.fontTitleTrivia};\r\n font-size: ${(props: Type) => props.theme?.trivias?.fontSizeTitleTrivia};\r\n ${(props: Type) => props.theme?.trivias?.titleTrivia}\r\n`\r\n\r\nexport const DivModalContinue = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextContinue};\r\n background: ${(props: Type) => props.theme?.trivias?.backgroundContinue};\r\n ${(props: Type) => props.theme?.trivias?.backgroundContinueImage && `\r\n background-image: url(${AZURE_BASE_URL}/textura.${props.theme?.loading?.config?.bgTexture || 'svg'})\r\n `};\r\n`\r\n\r\nexport const ButtonModalContinue = styled.button`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextContinue};\r\n`\r\n\r\nexport const DivSelector = styled.div`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextSelect};\r\n`\r\n\r\nexport const DivSelectorTitle = styled.div`\r\n background-color: ${(props: Type) => props.theme?.trivias?.backgroundSelectTitle};\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextSelectTitle};\r\n`\r\n\r\nexport const LiSelectorOption = styled.li.attrs((props: isSelectedType) => ({\r\n isSelected: props.isSelected,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n border-color: ${(props: isSelectedType) => props.theme?.trivias?.borderSelectOption};\r\n background-color: ${(props: isSelectedType) =>\r\n props.isSelected ? props.theme?.trivias?.backgroundOptionSelect : props.theme?.trivias?.backgroundOptionDesactive};\r\n`\r\n\r\nexport const DivSelectOption = styled.div.attrs((props: isSelectedType) => ({\r\n isSelected: props.isSelected,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${(props: isSelectedType) => props.isSelected && props.theme?.trivias?.backgroundOptionCircleActive};\r\n`\r\n\r\nexport const H1Congrats = styled.h1`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextCongrats};\r\n`\r\n\r\nexport const PCongrats = styled.p`\r\n color: ${(props: Type) => props.theme?.trivias?.colorTextCongrats};\r\n`\r\n\r\nexport const QuestionHeader = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questions?.header};\r\n`\r\n\r\nexport const QuestionNumber = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questions?.number};\r\n`\r\n\r\nexport const QuestionTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questions?.title};\r\n`\r\nexport const DivTriviaContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.divTriviaContainer};\r\n`\r\nexport const TriviaTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.titleRight};\r\n`\r\n\r\nexport const TriviaCountdown = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.countdownStyle};\r\n`\r\n\r\nexport const TriviaSubtitle = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.subtitleCenter};\r\n`\r\n\r\nexport const TriviaSubtitleSpan = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.subtitleCenterSpan};\r\n`\r\n\r\nexport const TriviaPrize = styled.h3`\r\n ${(props: Type) => props.theme?.trivias?.prizeCenter};\r\n`\r\n\r\nexport const TriviaStock = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaStockCenter};\r\n`\r\n\r\nexport const TriviaTime = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaTime};\r\n`\r\n\r\nexport const TriviaTimeNumbers = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.triviaTimeNumbers};\r\n`\r\n\r\nexport const TriviaCost = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.triviaCost};\r\n`\r\n\r\nexport const TriviaCostNumber = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.triviaCostNumber};\r\n`\r\n\r\nexport const TriviaModalH1 = styled.h1`\r\n ${(props: Type) => props.theme?.trivias?.triviaModalH1};\r\n`\r\n\r\nexport const TriviaModelP = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaModelP};\r\n`\r\n\r\nexport const TriviaModalWarning = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaModalWarning};\r\n`\r\n\r\nexport const TriviaTitlePage = styled.h1`\r\n${(props: Type) => props.theme?.trivias?.triviaTitlePage};\r\n`\r\n\r\nexport const SpanColorTitle = styled.span`\r\n ${(props: Type) => props.theme?.trivias?.spanColorTitle};\r\n`\r\n\r\nexport const TriviaNotFoundContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.triviaNotFoundContainer};\r\n`\r\n\r\nexport const TriviaNotFoundText = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.triviaNotFoundText};\r\n`\r\n\r\nexport const CrownTrivia = styled(Crown)`\r\n ${(props: Type) => props.theme?.trivias?.crownTrivia};\r\n`\r\n// TRIVIA IMG\r\n\r\nexport const QuestionImgContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionImgContainer};\r\n`\r\n\r\nexport const QuestionImg = styled.img`\r\n ${(props: Type) => props.theme?.trivias?.questionImg};\r\n`\r\n\r\nexport const QuestionImgTitleContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionImgTitleContainer};\r\n`\r\n\r\nexport const QuestionImgTitle = styled.h2`\r\n ${(props: Type) => props.theme?.trivias?.questionImgTitle};\r\n`\r\n\r\nexport const ColorCountdown = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.colorCountdown};\r\n`\r\n\r\nexport const CountdownContainer = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.countdownContainer};\r\n`\r\n\r\nexport const QuestionContainerTwoQuestions = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.questionContainerTwoQuestions};\r\n`\r\n\r\nexport const ImgLarge = styled.img`\r\n ${(props: Type) => props.theme?.trivias?.imgLarge};\r\n`\r\n\r\nexport const OptionStyle = styled.p`\r\n ${(props: Type) => props.theme?.trivias?.optionStyle};\r\n`\r\nexport const LiBorderColor = styled.div`\r\n ${(props: Type) => props.theme?.trivias?.liBorderColor};\r\n`","import PrefPicker from 'components/pref-picker'\r\nimport textServices from 'services/text-services'\r\nimport { H1PrefPicker, PPrefPicker } from '../../theme/trivias'\r\n\r\nconst PreferencesPicker = () => {\r\n return (\r\n
\r\n \r\n {textServices.findByText('trivias/prefpicker/title', {\r\n es: 'Primero cuentanos tus preferencias',\r\n en: 'First tell us your preferences'\r\n })}\r\n \r\n \r\n {textServices.findByText('trivias/prefpicker/description', {\r\n es: 'selecciona al menos tres categorías',\r\n en: 'select at least three categories'\r\n })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default PreferencesPicker\r\n","import Button from 'components/button'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport ButtonCloseMenu from 'components/button-close'\r\n\r\ninterface IProps {\r\n setShowIntroduction: (show: boolean) => void\r\n}\r\n\r\nfunction IntroductionTrivia({ setShowIntroduction }: IProps) {\r\n\r\n const { history } = useRouter()\r\n\r\n const closeIntroduction = () => {\r\n localStorage.setItem('introductionTrivias', 'true')\r\n setShowIntroduction(false)\r\n }\r\n\r\n return (\r\n
\r\n history.goBack()}\r\n />\r\n {textServices.findByText('trivia/modal/items', )}\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default IntroductionTrivia","import { useEffect, useState } from 'react'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport PreferencesPicker from './pref-picker'\r\nimport TriviaList from './trivia-list'\r\nimport IntroductionTrivia from './components/introduction'\r\n\r\nconst Trivia = () => {\r\n const [trivia] = useTrivia()\r\n const [showIntroduction, setShowIntroduction] = useState(CONFIGS?.trivia?.showIntroduction)\r\n const introductionTrivia = localStorage.getItem('introductionTrivias') === 'true'\r\n useSurveyRedirect(SurveyTypeEnum.TRIVIAS)\r\n useMainClass('trivias')\r\n useEffect(() => {\r\n\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivias page load'\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [])\r\n\r\n if (showIntroduction && !introductionTrivia) {\r\n return \r\n }\r\n\r\n if (!trivia.interests.length && CONFIGS.trivia?.interestsRequired) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default Trivia\r\n","import { useMemo, VoidFunctionComponent } from 'react'\r\nimport Button from 'components/button'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useHistory, useLocation } from 'react-router-dom'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\nimport { useTrivia } from 'contexts/trivia-context'\r\nimport dayjs from 'dayjs'\r\nimport Countdown from 'react-countdown'\r\nimport {\r\n DivModalContinue,\r\n ButtonModalContinue,\r\n TriviaModalH1,\r\n TriviaModelP,\r\n TriviaModalWarning\r\n} from '../../../theme/trivias'\r\n\r\nexport interface TriviaModalProps {\r\n onAccept: () => void\r\n}\r\n\r\nconst TriviaModal: VoidFunctionComponent = ({ onAccept }) => {\r\n useMainClass('trivias__popup__intro')\r\n\r\n const history = useHistory()\r\n const location = useLocation()\r\n\r\n const [{ currentTrivia }] = useTrivia()\r\n\r\n const date = useMemo(() => {\r\n let dateCountdown: Date\r\n let countdownType: string\r\n const nowDate = dayjs(new Date())\r\n if (currentTrivia.validFrom) {\r\n const validFrom = new Date(currentTrivia.validFrom as string)\r\n const date = dayjs(validFrom)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/start', { es: 'Comienza en', en: 'Starts at' })\r\n dateCountdown = date.toDate()\r\n }\r\n }\r\n\r\n if (currentTrivia.validTo && !countdownType) {\r\n const validTo = new Date(currentTrivia.validTo as string)\r\n const date = dayjs(validTo)\r\n if (nowDate <= date) {\r\n countdownType = textServices.findByText('trivias/list/card/end', { es: 'Finaliza en', en: 'Ends at' })\r\n dateCountdown = date.toDate()\r\n }\r\n }\r\n\r\n return { dateCountdown, countdownType }\r\n }, [currentTrivia])\r\n\r\n const handleGoBack = () => {\r\n // @ts-expect-error \"from\" es any y daba error, por eso puse expect error\r\n const previousPath = location?.state?.from // Lee la URL previa almacenada\r\n if (previousPath?.includes('album/congrats')) {\r\n history.push('/home') // Redirige al home\r\n } else {\r\n history.goBack() // Regresa al historial\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n
\r\n {currentTrivia?.imageUrl ? (\r\n {currentTrivia?.title}\r\n ) : (\r\n <>\r\n )}\r\n \r\n {currentTrivia?.title}\r\n \r\n
\r\n
\r\n

{date?.countdownType}:

\r\n

\r\n \r\n \r\n \r\n

\r\n
\r\n
\r\n

\r\n {textServices.findByText('trivias/challenge/modal/value', { es: 'Valor:', en: 'Value:' })}\r\n

\r\n

\r\n \r\n {currentTrivia?.costInPoints > 0\r\n ? `${currentTrivia?.costInPoints} ${POINTS_NAME}`\r\n : textServices.findByText('trivias/challenge/modal/free', { es: 'GRATIS', en: 'FREE' })}\r\n \r\n

\r\n
\r\n
\r\n \r\n {currentTrivia?.costInPoints > 0 &&\r\n textServices.findByText('tivias/challenge/modal/intro', {\r\n es: (\r\n <>\r\n Estás a punto de canjear {currentTrivia?.costInPoints} {POINTS_NAME} para participar en esta trivia y\r\n ganar:\r\n \r\n ),\r\n en: (\r\n <>\r\n You are about to redeem {currentTrivia?.costInPoints} {POINTS_NAME} to participate in this trivia and\r\n win:\r\n \r\n )\r\n })}\r\n {currentTrivia?.costInPoints === 0 &&\r\n textServices.findByText('tivias/challenge/modal/intro2', {\r\n es: <>Estás a punto de participar en esta trivia y ganar:,\r\n en: <>You are about to participate in this trivia and win:\r\n })}\r\n {currentTrivia?.prize}\r\n \r\n \r\n {textServices.findByText('tivias/challenge/modal/description', {\r\n es: '¿Segurísimo que quieres jugarla? Recuerda que una vez que des clic no hay vuelta atrás.',\r\n en: 'Are you sure you want to play it? Remember that once you click there is no turning back.'\r\n })}\r\n \r\n
\r\n\r\n
\r\n \r\n\r\n \r\n {textServices.findByText('backButton', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default TriviaModal\r\n","import { useEffect, useState } from \"react\"\r\nimport { ModalCancel, ModalCancelP, ModalDescription, ModalMessage } from \"theme/header\"\r\nimport textServices from \"services/text-services\"\r\nimport Button from \"components/button\"\r\nimport Header from \"components/header\"\r\nimport ButtonCloseMenu from \"components/button-close\"\r\nimport { useBg } from \"hooks/use-white-bg\"\r\nimport useMainClass from \"hooks/use-main-cass\"\r\nimport CONFIGS from 'build/Config'\r\n\r\ninterface IProps {\r\n handleRetry: () => void\r\n handleNavigate: () => void\r\n}\r\n\r\nfunction AlertPopUp({ handleRetry, handleNavigate }: IProps) {\r\n\r\n const [shouldUseWhiteBg] = useState(useBg)\r\n useMainClass('trivias__game__alert')\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: CONFIGS?.modalBackgroundTrivias\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, 200)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n \r\n {textServices.findByText('trivias/modal/title', { es: <>¿Estás seguro que
deseas salir?, en: <>Are you sure you
want to leave? })}\r\n
\r\n \r\n {textServices.findByText('trivias/modal/description', { es: <>Si cancelas ahora se perderá tu progreso
y tendrás que volver a empezar., en: <>If you cancel now your progress will be lost
and you will have to start over. })}\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {textServices.findByText('trivia/exit/cancel', { es: 'cancelar', en: 'cancel' })}\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default AlertPopUp","import { ChangeEventHandler, FormEvent, useRef, useState } from 'react'\r\nimport textServices from 'services/text-services'\r\nimport { SubTitleAge, TitleAge, TextPolitics } from 'components/legal-age/components/style/text'\r\nimport CONFIGS from 'build/Config'\r\nimport { ButtonInitAgegate, ContainerCenterInput } from '../../theme/theme'\r\nimport DateInput from './date-input'\r\n\r\nexport interface DateInputProps {\r\n type: 'day' | 'month' | 'year'\r\n defaultValue?: number\r\n placeholder?: string\r\n}\r\n\r\nexport interface FormState {\r\n day: string\r\n month: string\r\n year: string\r\n}\r\n\r\nconst textSharedProps = {\r\n className: 'text-center saira mt-4',\r\n style: { fontSize: 10 }\r\n}\r\n\r\nenum DateType {\r\n day = 'day',\r\n month = 'month',\r\n year = 'year'\r\n}\r\n\r\nconst BirthdayInput = ({ setAgeLocal }: { setAgeLocal: (day?: string, month?: string, year?: string) => void }) => {\r\n\r\n const [state, setFormState] = useState>({})\r\n const yearRef = useRef(null)\r\n const monthRef = useRef(null)\r\n\r\n const onSubmitHandler = (event: FormEvent) => {\r\n event.preventDefault()\r\n\r\n const { day = '00', month = '00', year = '0000' } = state\r\n setAgeLocal(day, month, year)\r\n }\r\n\r\n const handleOnChange: ChangeEventHandler = ({ target: { value, name } }) => {\r\n setFormState((formState: any) => ({ ...formState, [name]: value }))\r\n\r\n const refs: Record = {\r\n day: monthRef.current,\r\n month: yearRef.current\r\n }\r\n\r\n if (value.length === 2) {\r\n refs[name as string]?.focus()\r\n }\r\n }\r\n\r\n const placeholderType = (input: DateType): string => {\r\n if (!CONFIGS.placeholderDifferent) {\r\n return input === DateType.year ? '0000' : '00';\r\n }\r\n\r\n switch (input) {\r\n case DateType.day:\r\n return 'DD';\r\n case DateType.month:\r\n return 'MM';\r\n case DateType.year:\r\n return 'AAAA';\r\n default:\r\n return '00';\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {textServices.findByText('agegate/title', { es: '¡Bienvenid@!', en: 'Welcome!' })}\r\n
\r\n {textServices.findByText('agegate/description', { en: Enter your date of birth,
we want to validate your majority
of age.
, es: Ingresa tu fecha de nacimiento,
queremos validar tu mayoría
de edad.
})}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'BIRTHDAY - Mayor de 18', value: '10' })\r\n }}\r\n >\r\n {textServices.findByText('agegate/button', { es: 'INGRESAR', en: 'CONTINUE' })}\r\n \r\n \r\n {textServices.findByText('agegate/politics1',\r\n {\r\n es: <>AL ENVIAR ESTE FORMULARIO, ACEPTAS LA POLÍTICA DE PRIVACIDAD, TÉRMINOS Y CONDICIONES Y USO DE COOKIES DE ESTE SITIO WEB.,\r\n en: <>BY SUBMITTING THIS FORM, YOU AGREE TO THE PRIVACY POLICY, TERMS AND CONDITIONS AND USE OF COOKIES OF THIS WEBSITE.\r\n }\r\n )}\r\n \r\n \r\n {textServices.findByText('agegate/politics2', { es: 'ESTE SITIO WEB UTILIZA COOKIES. PARA OBTENER MÁS INFORMACIÓN, LEE NUESTRA POLÍTICA DE PRIVACIDAD Y USO DE COOKIES.', en: 'THIS WEBSITE USES COOKIES. FOR MORE INFORMATION, PLEASE READ OUR PRIVACY AND COOKIE POLICY.' })}\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default BirthdayInput\r\n","/* eslint-disable indent */\r\n\r\nimport { MouseEventHandler, useContext, useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport axios, { AxiosError } from 'axios'\r\nimport ExchangeComponent from 'components/exchange'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useHistory } from 'react-router-dom'\r\nimport ErrorView from 'components/error-view'\r\nimport textServices from 'services/text-services'\r\nimport { useCountDownSeconds } from 'hooks/use-countdown'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport CONFIGS from 'build/Config'\r\nimport { dlTrackError, dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useTrivia } from '../../../contexts/trivia-context'\r\nimport { Trivia } from '../../../contexts/trivia-context/reducer'\r\nimport { LoaderContext } from '../../../contexts/loader-context'\r\nimport {\r\n DivSelector,\r\n LiSelectorOption,\r\n DivSelectOption,\r\n DivTitleTriviaList,\r\n H2TitleTriviaList,\r\n QuestionHeader,\r\n QuestionNumber,\r\n QuestionTitle,\r\n TriviaCountdown,\r\n TriviaTitle,\r\n TriviaNumber,\r\n CrownTrivia,\r\n QuestionImgContainer,\r\n QuestionImg,\r\n QuestionImgTitleContainer,\r\n QuestionImgTitle,\r\n ColorCountdown,\r\n CountdownContainer,\r\n QuestionContainerTwoQuestions,\r\n ImgLarge,\r\n OptionStyle,\r\n LiBorderColor\r\n} from '../../../theme/trivias'\r\nimport AlertPopUp from './AlertPopup'\r\n\r\nconst OptionSelector: VoidFunctionComponent<{ trivia: Trivia }> = ({ trivia }) => {\r\n const [end, setEnd] = useState(trivia.timeInSeconds)\r\n const [countdown, startCountdown, pauseCountdown, resetCountdown] = useCountDownSeconds(end, 1000)\r\n const history = useHistory()\r\n const [question, setQuestion] = useState(1)\r\n const [selected, setSelected] = useState(0) // Se default value to 0\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [state, { answerTrivia, resetTrivia, exchangePrize, validateTrivia }] = useTrivia()\r\n const [errorTrivia, setErrorTrivia] = useState(null)\r\n const [executed, setExecuted] = useState(false)\r\n const [showAlert, setShowAlert] = useState(null)\r\n\r\n useMainClass('trivias__trivia__trivia-game__selector')\r\n\r\n const { question: q } = trivia\r\n\r\n const selectOption: MouseEventHandler = (event) => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Seleccionar Opción`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'selecciona opcion',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n const { currentTarget } = event\r\n\r\n const id = currentTarget.getAttribute('data-id') as string\r\n setSelected(parseInt(id, 10))\r\n }\r\n\r\n useEffect(() => {\r\n if ((!countdown || selected) && !state.prize && !state.error) {\r\n setSelected(0)\r\n pauseCountdown()\r\n setTimeout(\r\n async () => {\r\n setLoad(true)\r\n try {\r\n if (!executed) {\r\n const shouldSetNext = await answerTrivia(trivia.id, q.questionId, selected as number)\r\n\r\n if (shouldSetNext) {\r\n // Set in 0 to force the update of status InProcess to Fail in case that no option will selected in next question\r\n setQuestion((q) => q + 1)\r\n\r\n setEnd(trivia.timeInSeconds)\r\n resetCountdown()\r\n startCountdown()\r\n } else {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'Ganó trivia',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n history.block(true)\r\n }\r\n }\r\n } catch (error) {\r\n history.block(true)\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Erró al contestar`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackError({\r\n error_type: 'sign up',\r\n error_code: '',\r\n error_message: 'erró al contestar',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n\r\n if (axios.isAxiosError(error)) {\r\n const err = error as AxiosError\r\n setErrorTrivia(err?.response?.data?.code)\r\n setExecuted(!executed)\r\n setEnd(0)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n },\r\n selected ? 0 : 1000\r\n )\r\n }\r\n }, [countdown, selected])\r\n\r\n useEffect(() => {\r\n startCountdown()\r\n\r\n return () => {\r\n resetTrivia()\r\n resetCountdown()\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n const unblock = history.block((location) => {\r\n pauseCountdown()\r\n setShowAlert(location?.pathname)\r\n return false\r\n })\r\n\r\n return () => {\r\n unblock()\r\n }\r\n }, [history])\r\n\r\n const handleRetryAlert = () => {\r\n setShowAlert(null)\r\n startCountdown()\r\n }\r\n\r\n const handleNavigateAlert = async () => {\r\n setLoad(true)\r\n await validateTrivia(trivia?.id || 0, trivia?.directAccess)\r\n history.block(true)\r\n history.push(showAlert)\r\n }\r\n\r\n const handleRetry = () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivia error close'\r\n }\r\n })\r\n\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label: `Vuelva a Intentarlo`,\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'vuelve a intentarlo',\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n window.dispatchEvent(event)\r\n\r\n if (trivia.directAccess) {\r\n window.onbeforeunload = null\r\n window.location.reload()\r\n } else {\r\n resetTrivia()\r\n if ((errorTrivia || state?.error?.response?.data.code) === 505)\r\n return history.push(textServices.findByText('error/505/button/link', '/home'))\r\n history.push('/trivias')\r\n }\r\n }\r\n\r\n const exitTrivia = () => {\r\n setShowAlert(location?.pathname)\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'trivia :: cerrar',\r\n section: 'trivia'\r\n })\r\n }\r\n\r\n if (errorTrivia || state?.error) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n if (state.prize) {\r\n return (\r\n history.push('/trivias'),\r\n handleButtonCommon: () => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n exchangePrize(state.prize?.points || 0)\r\n },\r\n handleButtonSticker: () => {\r\n gtag('event', 'event_to_ga', {\r\n event_category: 'Trivias',\r\n event_label:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS SELLOS'),\r\n value: state?.currentTrivia?.id\r\n })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element:\r\n state?.congrats?.buttonText ??\r\n textServices.findByText('trivias/exchange/button/text', 'VER MIS PREMIOS'),\r\n section: `trivia :: ${state?.currentTrivia?.id}`\r\n })\r\n history.push(\r\n state?.congrats?.urlRedirect ?? textServices.findByText('trivias/exchange/button/url', '/collections')\r\n )\r\n },\r\n dontShowButtons: CONFIGS?.trivia?.dontShowButtonExchange\r\n }}\r\n buttonSecondary={{\r\n text: state?.congrats?.buttonText2,\r\n url: state?.congrats?.urlRedirect2\r\n }}\r\n item={state?.prize}\r\n useRanking={state?.congrats?.useRanking}\r\n time={state?.congrats?.profileTime}\r\n module=\"trivias\"\r\n />\r\n )\r\n }\r\n\r\n if (load) {\r\n return <>\r\n }\r\n\r\n if (!q?.options) {\r\n return \r\n }\r\n\r\n if (showAlert) {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'volver_a_intentar_trivia', event_label: 'Salir del trivia' })\r\n handleRetryAlert()\r\n }}\r\n handleNavigate={() => {\r\n gtag('event', 'event_to_ga', { event_category: 'abandonar_trivia', event_label: 'Salir del trivia' })\r\n handleNavigateAlert()\r\n }}\r\n />\r\n )\r\n }\r\n if (q?.options?.length === 2 && q?.options[0]?.imageUrl !== '' && q?.options[1]?.imageUrl !== '') {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {trivia.title}\r\n \r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {trivia.question?.question}\r\n \r\n \r\n\r\n
\r\n {q.options.map((option) => {\r\n const isSelected = option.optionId === selected\r\n return (\r\n \r\n \r\n \r\n {option.option}\r\n \r\n \r\n )\r\n })}\r\n
\r\n\r\n
\r\n \r\n {countdown}\r\n \r\n
\r\n
\r\n \r\n )\r\n } else if (\r\n q?.options?.length >= 3 &&\r\n q?.options[0]?.imageUrl !== '' &&\r\n q?.options[1]?.imageUrl !== '' &&\r\n q?.options[2]?.imageUrl !== '' &&\r\n q?.options[3]?.imageUrl !== ''\r\n ) {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {trivia.title}\r\n \r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {trivia.question?.question}\r\n \r\n \r\n\r\n
\r\n {q.options.map((option) => {\r\n const isSelected = option.optionId === selected\r\n return (\r\n \r\n \r\n \r\n {option?.option}\r\n \r\n \r\n )\r\n })}\r\n
\r\n
\r\n \r\n {countdown}\r\n \r\n
\r\n
\r\n \r\n )\r\n } else {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n {trivia.interest}\r\n \r\n {/*

{trivia.title}

*/}\r\n {trivia.title}\r\n
\r\n \r\n \r\n {question}\r\n {')'}\r\n \r\n \r\n {q?.question}\r\n \r\n \r\n
    \r\n {q?.options.map((option) => {\r\n const isSelected = option?.optionId === selected\r\n return (\r\n \r\n \r\n \r\n \r\n {option?.option}\r\n \r\n )\r\n })}\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n {countdown}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default OptionSelector\r\n","import { AxiosError } from 'axios'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport { useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport ErrorView from 'components/error-view'\r\n// import { LoaderContext } from 'contexts/loader-context'\r\nimport { useTrivia } from '../../../contexts/trivia-context'\r\nimport OptionSelector from './selector'\r\n\r\nexport interface TriviaGameProps {\r\n id: number | string\r\n // trivia: any\r\n}\r\n\r\nconst TriviaGame: VoidFunctionComponent = ({ id }) => {\r\n const [state, { playTrivia }] = useTrivia()\r\n const [error, setError] = useState('')\r\n const history = useHistory()\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true,\r\n from: 'trivias game page'\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n\r\n playTrivia(id, state?.currentTrivia?.directAccess).catch((error: AxiosError) => {\r\n if (error.isAxiosError) {\r\n setError(error.response?.data.code)\r\n }\r\n })\r\n\r\n\r\n window.onbeforeunload = function () {\r\n gtag('event', 'event_to_ga', { event_category: 'Trivias', event_label: `Salió sin terminar`, value: id })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'abandonó el juego', section: `trivia :: ${id}` })\r\n return 'Estás seguro que deseas salir? Perderás el progreso'\r\n }\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: false,\r\n from: 'trivia exit modal'\r\n }\r\n })\r\n window.onbeforeunload = null\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n const handleRetry = (code: number | string) => {\r\n if (code === 510) return history.push('/profile/address')\r\n history.goBack()\r\n }\r\n\r\n if (error) {\r\n return (\r\n history.goBack()}\r\n onRetry={handleRetry}\r\n />\r\n )\r\n }\r\n\r\n if (!state.currentTrivia) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default TriviaGame\r\n","import textServices from 'services/text-services'\r\nimport ErrorView from 'components/error-view'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { useHistory } from 'react-router-dom'\r\nimport { AxiosError } from 'axios'\r\n\r\ninterface IProps {\r\n errorCode: AxiosError\r\n}\r\n\r\nconst PopUpError = ({ errorCode }: IProps) => {\r\n useMainClass('trivia__pop-up__error')\r\n\r\n const history = useHistory()\r\n\r\n const onRetry = async () => {\r\n history.push(textServices.findByText(`error/${errorCode}/button/link`, '/home'))\r\n }\r\n\r\n const buttonMenu = () => {\r\n history.push(textServices.findByText(`error/${errorCode}/button/link`, '/home'))\r\n }\r\n\r\n if (errorCode) {\r\n return \r\n }\r\n\r\n return null\r\n}\r\n\r\nexport default PopUpError\r\n","import LoadingScreen from 'components/loading-screen'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useRouteMatch } from 'react-router-dom'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useTrivia } from '../../contexts/trivia-context'\r\nimport TriviaModal from './components/modal'\r\nimport TriviaGame from './components/trivia-game'\r\nimport PopUpError from './components/popUpError'\r\n\r\ninterface IProps {\r\n isDirectAccess?: boolean\r\n}\r\n\r\nconst TriviaChallenge = ({ isDirectAccess = false }: IProps) => {\r\n const [{ error, currentTrivia }, { validateTrivia }] = useTrivia()\r\n const [{ data }] = useSession()\r\n const route = useRouteMatch<{ id: string }>()\r\n const [userAccepted, setUserAccepted] = useState(false)\r\n const { setLoad } = useContext(LoaderContext)\r\n const [executed, setExecuted] = useState(false)\r\n\r\n const triviaValidate = async (id: any) => {\r\n try {\r\n setLoad(true)\r\n await validateTrivia(id, isDirectAccess)\r\n } catch (error) {\r\n console.error(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (data && !executed) {\r\n triviaValidate(route.params.id)\r\n setExecuted(!executed)\r\n }\r\n }, [data])\r\n\r\n const onAccept = () => {\r\n gtag('event', 'event_to_ga', { event_category: \"Trivias\", event_label: `Aceptar Jugar Trivia`, value: route.params.id })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'comienza a jugar', section: `trivia :: ${route.params.id}` })\r\n return setUserAccepted(true)\r\n }\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n if (!currentTrivia) {\r\n return \r\n }\r\n\r\n if (!userAccepted) {\r\n return \r\n }\r\n\r\n return \r\n}\r\n\r\nexport default TriviaChallenge\r\n","import { forwardRef, ForwardRefRenderFunction, HTMLProps } from 'react'\r\n\r\nimport { InputBirthday, InputBirthdayLabel } from '../../theme/theme'\r\nimport { calendar } from './wordings'\r\n\r\nconst DateInput: ForwardRefRenderFunction> = (\r\n { type, ...props },\r\n ref\r\n) => {\r\n return (\r\n
\r\n \r\n {calendar[type as keyof typeof calendar]}\r\n
\r\n )\r\n}\r\n\r\nconst DateInputWithRef = forwardRef(DateInput)\r\n\r\nexport default DateInputWithRef\r\n","import styled from 'styled-components'\r\nimport { Type } from 'theme/types'\r\n\r\nexport const LegalAgeImg = styled.img`\r\n ${({ theme }: Type) => theme?.agegate?.img}\r\n`\r\n","import textServices from 'services/text-services'\r\nimport { LegalAgeImg } from 'theme/legalage'\r\nimport { TitleAge } from './style/text'\r\nfunction ImgAndText() {\r\n return (\r\n
\r\n \r\n {textServices.findByText('legalage/title', '')}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default ImgAndText","\r\nimport Button from 'components/button';\r\nimport styled from 'styled-components';\r\nimport { Type } from 'theme/types';\r\n\r\nexport const ButtonVariant = styled(Button)`\r\n ${({ theme }: Type) => theme?.agegate.buttonVariant}\r\n`","import Button from \"components/button\";\r\nimport textServices from \"services/text-services\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport ImgAndText from \"./components/ImgAndText\";\r\nimport { ButtonVariant } from \"./components/style/button\";\r\nimport { SubTitleAge, TextTermsAge } from \"./components/style/text\";\r\n\r\nfunction LegalAge({ setAgeLocal }: { setAgeLocal: (day?: string, month?: string, year?: string) => void }) {\r\n\r\n return (\r\n
\r\n \r\n
\r\n
\r\n \r\n {textServices.findByText('legalage/question', { es: '¿ERES MAYOR DE EDAD?', en: 'ARE YOU OF LEGAL AGE?' })}\r\n \r\n
\r\n \r\n {\r\n dlTrackEvent('user_interaction', {\r\n \"action\": \"click\",\r\n \"element\": textServices.findByText('legalage/button2', { es: 'NO, SOY MENOR', en: 'NO, I AM A MINOR' }),\r\n \"section\": \"onboarding\"\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AGEGATE - Soy menor', value: '10' })\r\n setAgeLocal(\"21\", \"6\", \"22\")\r\n }}>{textServices.findByText('legalage/button2', { es: 'NO, SOY MENOR', en: 'NO, I AM A MINOR' })}\r\n
\r\n
\r\n {textServices.findByText('legalage/politics', {\r\n es: <>AL CONFIRMAR, ACEPTAS LA POLÍTICA DE PRIVACIDAD, TÉRMINOS Y CONDICIONES Y USO DE COOKIES DE ESTE SITIO WEB. ESTE SITIO WEB UTILIZA COOKIES. PARA OBTENER MÁS INFORMACIÓN, LEE NUESTRA POLÍTICA DE PRIVACIDAD Y USO DE COOKIES.,\r\n en: <>BY CONFIRMING, YOU ACCEPT THE PRIVACY POLICY, TERMS AND CONDITIONS AND USE OF COOKIES OF THIS WEBSITE.THIS WEBSITE USES COOKIES.CLICK HERE FOR MORE INFORMATION, READ OUR PRIVACY AND COOKIE POLICY.\r\n })}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default LegalAge;","import BirthdayInput from \"components/birthday-input\";\r\nimport LegalAge from \"components/legal-age\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useAgegate } from \"hooks/use-agegate\";\r\nimport useRedirect from \"hooks/use-redirect\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useEffect } from \"react\";\r\nimport CONFIGS from 'build/Config'\r\n\r\nfunction Agegate() {\r\n const { setAgeLocal, showAgegate, isMinor } = useAgegate();\r\n const [{ url }, { redirect }] = useRedirect();\r\n const { push } = useRouter();\r\n useMainClass('agegate')\r\n useEffect(() => {\r\n\r\n if (showAgegate && !isMinor) {\r\n if (url) return redirect();\r\n push('/start');\r\n } else if (showAgegate && isMinor) {\r\n push('/end')\r\n }\r\n\r\n }, [showAgegate]);\r\n\r\n if (CONFIGS.legalAgeDate) {\r\n return ;\r\n }\r\n\r\n return ;\r\n}\r\n\r\nexport default Agegate","import { lazy, Suspense } from 'react'\r\nimport { Redirect, Route } from 'react-router-dom'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport RoutesWithNotFound from 'utilities/routes-with-not-found'\r\nimport { MemoramaProvider } from './context'\r\nconst List = lazy(() => import('./views/list'))\r\nconst GameMemorama = lazy(() => import('./views/game'))\r\nconst Error = lazy(() => import('./views/error'))\r\nconst Win = lazy(() => import('./views/win'))\r\n\r\nconst Memorama = () => {\r\n return (\r\n }>\r\n \r\n \r\n } exact />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Memorama","import { POST_SUSCRIBE_RANKS } from 'constants/api'\r\nimport Button from 'components/button'\r\nimport { useContext, useState, useEffect } from 'react'\r\nimport axios, { AxiosError } from 'axios'\r\nimport useRouter from 'hooks/use-router'\r\nimport textServices from 'services/text-services'\r\nimport images from '../../images.json'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport ButtonCloseMenu from '../../components/button-close'\r\n\r\nconst Suscribe = () => {\r\n const [steps, setSteps] = useState(true)\r\n const [{ data: session }] = useSession()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const { pathname, push } = useRouter()\r\n\r\n useEffect(() => {\r\n if (pathname === '/ranking/suscribe') {\r\n setSteps(true)\r\n } else if (pathname === '/ranking/suscribe/confirm') {\r\n setSteps(false)\r\n }\r\n }, [pathname])\r\n\r\n const handleSuscription = async () => {\r\n if (steps) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Quiero Suscribirme', value: '10' })\r\n push('/ranking/suscribe/confirm')\r\n } else {\r\n setLoad(true)\r\n try {\r\n const codeResponse = await axios.post(POST_SUSCRIBE_RANKS, undefined, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n if (codeResponse.status === 200) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Confirmar Suscripcion', value: '10' })\r\n push('/ranking')\r\n setLoad(false)\r\n } else {\r\n setLoad(false)\r\n }\r\n } catch (error) {\r\n const err = error as AxiosError\r\n if (err.response?.data.code === 66 || err.response?.data.code === 67) {\r\n setLoad(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Error Suscripcion', value: '10' })\r\n push(`/error/${err.response?.data.code}`)\r\n } else if (err.response?.data.code) {\r\n setLoad(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Error Suscripcion', value: '10' })\r\n push(`/error/${err.response?.data.code}`)\r\n }\r\n }\r\n }\r\n }\r\n\r\n return load ? (\r\n <>\r\n ) : (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n push(textServices.findByText('config/prizes', '/prizes'))\r\n }}\r\n />\r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n {steps ? (\r\n textServices.findByText('ranking/suscribe/title', <>No estás
participando)\r\n ) : (\r\n textServices.findByText('ranking/suscribe/confirm/title', <>Confirmar
participación)\r\n )}\r\n

\r\n

\r\n {steps ? (\r\n textServices.findByText('ranking/suscribe/description', <>Para poder ver el ranking de puntos tienes que estár participando con tus propios {POINTS_NAME}.)\r\n ) : (\r\n textServices.findByText('ranking/suscribe/confirm/description', <>Estás a punto de anotarte para participar con tus {POINTS_NAME} en el ranking.)\r\n )}\r\n

\r\n

\r\n {steps ? textServices.findByText('ranking/suscribe/subtitle', <>¿Quieres participar?) : textServices.findByText('ranking/suscribe/confirm/subtitle', <>¿Seguro que quieres participar?)}\r\n

\r\n

\r\n {textServices.findByText('ranking/suscribe/politic', 'Recuerda que para ganar el premio necesitas tener más de 21 años, tener visa y pasaporte vigente y esquema de vacunación completo.')}\r\n

\r\n \r\n

{\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n push(textServices.findByText('config/prizes', '/prizes'))\r\n }}>\r\n {textServices.findByText('ranking/suscribe/back', 'No, volver')}\r\n

\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default Suscribe\r\n","import { GET_RANKS, POST_SUSCRIBE_RANKS } from 'constants/api'\r\nimport { useState, useEffect, useContext } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport axios, { AxiosError } from 'axios'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport SolMezclasRanking from 'views/profile/views/profile-ranking/components/SolMezclasRanking'\r\nimport Button from 'components/button'\r\nimport textServices from 'services/text-services'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\nimport { TextSub, TrRank } from '../../theme/theme'\r\n\r\nconst Ranking = () => {\r\n const [{ data: session, user }] = useSession()\r\n const history = useHistory()\r\n const { load, setLoad } = useContext(LoaderContext)\r\n const [ranking, setRanking] = useState(null)\r\n\r\n useEffect(() => {\r\n setLoad(true)\r\n }, [])\r\n\r\n const postSuscribe = async () => {\r\n try {\r\n const response = await axios.post(POST_SUSCRIBE_RANKS, undefined, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n\r\n if (response.status === 200) {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Confirmar Suscripcion', value: '10' })\r\n history.push('/ranking')\r\n setLoad(false)\r\n } else {\r\n setLoad(false)\r\n }\r\n } catch (error) {\r\n const err = error as AxiosError\r\n if (err?.response.data?.code) {\r\n return history.push(`/error/${err.response?.data.code}`)\r\n }\r\n }\r\n }\r\n\r\n const fetchRank = async () => {\r\n setLoad(true)\r\n try {\r\n const codeResponse = await axios.get(GET_RANKS, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n setRanking(codeResponse.data)\r\n } catch (error) {\r\n const err = error as AxiosError\r\n setLoad(false)\r\n if (err.response?.data.code !== 711 && err.response?.data.code) {\r\n return history.push(`/error/${err.response?.data.code}`)\r\n }\r\n await postSuscribe()\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (THEME === 'solMezclas' && !user?.profileLinkings?.some((profile) => profile.provider === \"SumaSix\")) {\r\n history.push('/sumasix')\r\n }\r\n\r\n if (session) {\r\n fetchRank()\r\n } else {\r\n setLoad(false)\r\n history.push('/home')\r\n }\r\n }, [])\r\n\r\n\r\n\r\n if (load) return \r\n\r\n if (THEME === 'solMezclas') {\r\n return \r\n }\r\n\r\n return (\r\n
\r\n
\r\n

\r\n Hola {ranking?.currentPosition?.nickName},\r\n
\r\n Tus {POINTS_NAME}: {ranking?.currentPosition?.points}\r\n

\r\n

\r\n Estas en el lugar #{ranking?.currentPosition?.id}\r\n

\r\n
\r\n
\r\n {ranking &&\r\n ranking.rankWinners.map((item: any, index: number) => {\r\n return (\r\n \r\n {item?.id}\r\n {item?.nickName}\r\n {item?.points}\r\n \r\n )\r\n })}\r\n
\r\n {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'RANKING - Nuevo Código',\r\n value: '10'\r\n })\r\n history.push('/redeem')\r\n }}\r\n >\r\n Quiero ingresar un código\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'RANKING - Volver', value: '10' })\r\n history.push(textServices.findByText('config/prizes', '/prizes'))\r\n }}\r\n >\r\n No, volver\r\n

\r\n
\r\n )\r\n}\r\n\r\nexport default Ranking\r\n","import { prettyError, prettyErrorDescription } from 'constants/errors'\r\nimport GenericError from 'components/generic-error'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useEffect } from 'react'\r\nimport useMainClass from 'hooks/use-main-cass'\r\n\r\nconst ErrorView = () => {\r\n const { push, match } = useRouter()\r\n const errorId = parseInt(match.params.errorid, 10) || 9999\r\n useMainClass('error')\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: true\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n\r\n return () => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: false\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n \r\n ¿ES UN ERROR?\r\n
PARA CUALQUIER DUDA INGRESA AQUI\r\n \r\n }\r\n onRetry={() => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'ERROR - Dudas', value: '10' })\r\n push('/help')\r\n }}\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default ErrorView\r\n","import styled from \"styled-components\";\r\n\r\nexport const Section = styled.section`\r\n ${({ theme }) => theme['end-route']?.section}\r\n`;","import styled from \"styled-components\";\r\nimport Button from 'components/button';\r\nimport { Title, SubTitle } from \"theme/theme\";\r\nimport { Type } from './../../../theme/types/generic.interface';\r\n\r\nexport const TitleEnd = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.title}\r\n`\r\nexport const SubTitleEnd = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.subtitle }\r\n`\r\n\r\nexport const ButtonEnd = styled(Button)`\r\n ${({ theme }:Type) => theme?.[\"end-route\"]?.text?.button }\r\n`","import { Link, } from 'react-router-dom'\r\nimport { useAgegate } from 'hooks/use-agegate';\r\nimport useMainClass from 'hooks/use-main-cass';\r\nimport { useContext, useEffect } from 'react';\r\nimport textServices from 'services/text-services';\r\nimport { LoaderContext } from 'contexts/loader-context';\r\nimport { Section } from './style/section';\r\nimport { TitleEnd, SubTitleEnd, ButtonEnd } from './style/text';\r\n\r\nfunction EndRoute() {\r\n\r\n const { removeAge } = useAgegate();\r\n useMainClass('endroute')\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('endroute/title', { es: <>¡Lo sentimos!
Esto es solo para mayores, en: <>Sorry!
This is for adults only })}
\r\n {textServices.findByText('endroute/description', { es: 'Vuelve cuando seas más grande.', en: 'Come back when you are older.' })}\r\n
\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'END ROUTE - Menor de 18', value: '10' })\r\n removeAge()\r\n }}\r\n >\r\n {textServices.findByText('endroute/button', { es: 'VOLVER', en: 'BACK TO' })}\r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default EndRoute\r\n","import { useHistory } from 'react-router'\r\nimport { useContext, useState } from 'react'\r\nimport FormInformation from 'components/form-information'\r\nimport { AxiosError } from 'axios'\r\nimport ProfileService from 'services/profile-services'\r\nimport useLocalStorage from \"hooks/use-local-storage\";\r\nimport useRouter from 'hooks/use-router'\r\nimport useRedirect from 'hooks/use-redirect'\r\nimport { getBirthdayLocal } from 'utilities/birthday'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport { LoaderContext } from '../../contexts/loader-context'\r\n\r\nfunction ProfileInformationUpdate() {\r\n const history = useHistory()\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [{ url }, { redirect }] = useRedirect();\r\n const [state, setState] = useLocalStorage('state', {})\r\n const [birthday] = useState(getBirthdayLocal())\r\n const { query } = useRouter()\r\n\r\n\r\n const handleOnSubmit = async (data: any, setError: (error: number) => void) => {\r\n setLoad(true)\r\n try {\r\n const payload = { user: data, session }\r\n console.log(payload)\r\n const response = await ProfileService.updateProfile(payload)\r\n setUser(response.data)\r\n setState({ ...state, user: response.data })\r\n if (url) return redirect()\r\n if ((query as any)?.isNew) return history.push('/home')\r\n history.goBack()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default ProfileInformationUpdate\r\n","import CustomRadio from \"components/custom-radio\";\r\nimport { InputProps } from \"components/input\";\r\nimport mergeRefs from \"merge-refs\";\r\nimport { forwardRef, ForwardRefRenderFunction, useRef } from \"react\";\r\nimport styled from \"styled-components\";\r\n\r\nconst P = styled.p`\r\n ${({ theme }) => theme?.inputRadio?.label}\r\n`\r\n\r\nconst RadioSt: ForwardRefRenderFunction = ({ children, className, ...rest }, ref) => {\r\n const innerRef = useRef(null)\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nconst Radio = forwardRef(RadioSt)\r\n\r\nexport default Radio;","/* eslint-disable eqeqeq */\r\nimport { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport Radio from \"components/radio\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useContext, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ReturnText, ErrorInput } from \"theme/theme\";\r\n\r\nfunction StepOne({ state, handleChange, nextStep, session, setHelper, prevStep, setError }: any) {\r\n\r\n useMainClass('form__step__one')\r\n\r\n const { register, handleSubmit, formState: { errors } }\r\n = useForm({ resolver: formServices.formValidateErrors(yupResolver(formServices.formGenerateSchema([\"street1\", \"streetType\", \"streetNumber\", \"apartament\", \"postalCode\"])), 'address', 'datos cuenta') })\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n async function onFormSubmit(data: any) {\r\n handleChange(data)\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.checkZip({ postalCode: data.postalCode }, { session })\r\n handleChange({ city: response.data[0].cities[0].id, state: response.data[0].id })\r\n setHelper({ city: response.data[0].cities[0], state: response.data[0], neighborhood: response.data[0].cities[0].neighborhoods })\r\n nextStep()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {textServices.findByText('profile/form/information/street/label', { es: 'Calle', en: 'Street' })}\r\n \r\n \r\n {textServices.findByText('profile/form/information/avenue/label', { es: 'Avenida', en: 'Avenue' })}\r\n \r\n \r\n {textServices.findByText('profile/form/information/closed/label', { es: 'Cerrada', en: 'Closed' })}\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default StepOne;","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { useContext, useEffect } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { SelectGender, ReturnText, LabelStreet, SubtitleStreet, ErrorInput } from \"theme/theme\";\r\n\r\nfunction StepOne({ state, helper, handleChange, onFormSubmitEndPoint, prevStep }: any) {\r\n\r\n useMainClass('form__step__two')\r\n\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"neighborhood\"])) })\r\n\r\n function onFormSubmit(data: any) {\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n const { setFooter } = useContext(LoaderContext)\r\n\r\n useEffect(() => {\r\n setFooter(false)\r\n return () => setFooter(true)\r\n }, [])\r\n\r\n return (\r\n
\r\n
\r\n \r\n {textServices.findByText('update/street/street', { es: 'Calle', en: 'Street' })} {`${state?.street1} ${state?.streetNumber}` || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {helper?.city?.name || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {helper?.state?.name || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })},
\r\n {textServices.findByText('update/street/cp', { es: 'CP:', en: 'CP - Postal code:' })} {state?.postalCode || textServices.findByText('notInformation', { es: 'Sin información', en: 'No information' })}\r\n
\r\n {textServices.findByText('update/street/subtitle', { es: 'Si es correcto, completa los últimos datos y dale a siguiente, ya falta poco.', en: 'If it is correct, fill in the last data and click on the next button, you are almost there.' })}\r\n
\r\n
\r\n \r\n {helper.neighborhood.map((neighborhood: any) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default StepOne;","import GenericError from \"components/generic-error\"\r\nimport ButtonCloseMenu from \"components/button-close\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport { useEffect } from \"react\"\r\n\r\nfunction MaxChange({ nextStep, setError, prevStep, handleChangeState }) {\r\n\r\n const [{ user }] = useSession()\r\n const diffChange = MAX_CHANGE_ADDRESS_COUNT - user?.addressCount\r\n\r\n useEffect(() => {\r\n // eslint-disable-next-line eqeqeq\r\n if (user?.addressCount >= MAX_CHANGE_ADDRESS_COUNT && MAX_CHANGE_ADDRESS_COUNT != 0) {\r\n setError(61)\r\n }\r\n // eslint-disable-next-line eqeqeq\r\n if (MAX_CHANGE_ADDRESS_COUNT == 0) {\r\n handleChangeState({ step: 1 } as any)\r\n }\r\n }, [])\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Volver atras', value: '10' })\r\n prevStep()\r\n }}\r\n />\r\n \r\n ¡Aguas!
\r\n \r\n }\r\n description={\r\n <>\r\n Sólo puedes cambiar tu dirección {diffChange} ve{diffChange > 1 ? 'ces' : 'z'} más.
\r\n ¿Estás seguro/a?\r\n \r\n }\r\n onRetry={() => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Continuar Cambio Direccion', value: '10' })\r\n nextStep()\r\n }}\r\n buttonText=\"CONTINUAR\"\r\n />\r\n
\r\n )\r\n}\r\n\r\nexport default MaxChange","/* eslint-disable indent */\r\nimport { AddressAdapter } from \"adapters/address-adapter\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { UserData } from \"contexts/session-context/session-reducer\";\r\nimport { useCustomForm } from \"hooks/use-custom-form\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useEffect, useState } from \"react\";\r\nimport ErrorView from \"components/error-view\";\r\nimport CONFIGS from 'build/Config'\r\nimport StepOne from \"./step-one\";\r\nimport StepTwo from \"./step-two\";\r\nimport MaxChange from \"./max-change\";\r\n\r\nfunction FormAddress({ handleSubmit, user }: { handleSubmit: (data: any, setError: (error: number) => void) => void, user?: UserData }) {\r\n\r\n const { history } = useRouter()\r\n const [{ data: session }] = useSession()\r\n const { state, handleChangeState, nextStep, prevStep, backHistory } = useCustomForm({\r\n step: 0,\r\n // curp: user?.address?.curp || '', \r\n street1: user?.address?.street1 || '',\r\n streetType: '',\r\n streetNumber: user?.address?.streetNumber || '',\r\n apartament: user?.address?.apartament || '',\r\n postalCode: user?.address?.postalCode || '',\r\n neighborhood: user?.address?.neighborhood || '',\r\n city: user?.address?.city || '',\r\n state: user?.address?.state || ''\r\n })\r\n const [help, setHelp] = useState()\r\n const [error, setError] = useState(null)\r\n\r\n function onFormSubmitEndPoint(data: any) {\r\n const adaptedData = AddressAdapter({ ...state, ...data })\r\n handleSubmit(adaptedData, setError)\r\n }\r\n\r\n const handleMenu = (code: number) => {\r\n if (code === 61) return history.goBack()\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Salir de la pantalla de error', value: '10' })\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n const handleButton = async (code: number) => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR DIRECCION - Salir de la pantalla de error', value: '10' })\r\n if (code === 61) return history.push('/help')\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: (CONFIGS?.addressUpdateBg || state.step === 0)\r\n }\r\n })\r\n window.dispatchEvent(event)\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [state.step, error])\r\n\r\n useEffect(() => {\r\n // eslint-disable-next-line eqeqeq\r\n if (user?.addressCount === 0 || MAX_CHANGE_ADDRESS_COUNT == 0) handleChangeState({ step: 1 } as any)\r\n }, [])\r\n\r\n switch (state.step) {\r\n case 0:\r\n return (\r\n history.goBack()}\r\n handleChangeState={handleChangeState}\r\n />\r\n )\r\n case 1:\r\n return (\r\n history.goBack()}\r\n />\r\n )\r\n case 2:\r\n return (\r\n \r\n )\r\n default:\r\n return (\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default FormAddress;","export const AddressAdapter = ((data) => {\r\n return {\r\n street1: data.street1,\r\n streetNumber: data.streetNumber,\r\n apartament: data.apartament,\r\n neighborhoodId: parseInt(data.neighborhood),\r\n streetType: parseInt(data.streetType),\r\n // curp: data.curp\r\n }\r\n})","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\nexport const BackgroundFormAdressUpdate = styled.div`\r\n ${(props: Type) => props.theme?.formAddressUpdate?.backgroundFormAdressUpdate};\r\n`","import { AxiosError } from \"axios\";\r\nimport FormAddress from \"components/form-address\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useLocalStorage from \"hooks/use-local-storage\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { BackgroundFormAdressUpdate } from \"theme/addressform\"\r\n// import { ImgAllowCookies } from \"theme/allowcookies\"\r\n\r\nfunction ProfileAddressUpdate() {\r\n\r\n const [{ data: session, user }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [state, setState] = useLocalStorage('state', {})\r\n const { push } = useRouter()\r\n\r\n const onSubmit = async (data, setError) => {\r\n setLoad(true)\r\n try {\r\n const response = await ProfileService.updateAddres({ address: { ...data }, session })\r\n setUser(response?.data)\r\n setState({ ...state, user: response?.data })\r\n push('/profile/address')\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default ProfileAddressUpdate;","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text } from \"theme/theme\";\r\n\r\nexport const TextOtp = styled(Text)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.text}\r\n`\r\nexport const TextOtpTwo = styled(Text)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.textTwo}\r\n`\r\n\r\nexport const TextOtpLabel = styled.div`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.label}\r\n`\r\nexport const BackBtn = styled.p`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.backBtn}\r\n`\r\n\r\nexport const TextOtpLabelTwo = styled(TextOtp)`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.labelTwo}\r\n`\r\n\r\nexport const TextOtpResend = styled.span`\r\n ${({theme}: Type) => theme?.profile?.text?.otp?.resend}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Input from \"components/input\";\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport textServices from \"services/text-services\";\r\nimport { Label, ErrorInput } from \"theme/theme\";\r\nimport CONFIGS from 'build/Config'\r\nimport { TextOtp, TextOtpLabel, TextOtpTwo, BackBtn } from \"../text.style\";\r\n\r\nfunction Phone({ state, handleChange, nextStep, prevStep, setHelper, session, recaptchaRef, setError, onFormSubmitEndPoint, sumasix, toggleOtpSS }: any) {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"phoneNumber\"])) })\r\n const { history, push } = useRouter()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n function onFormSubmitDirect(data: any) {\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n async function onFormSubmit(data: any) {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: data.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n handleChange(data)\r\n setHelper({ expires: result.data?.expiresAt })\r\n nextStep()\r\n } else if (result.status === 200) {\r\n history.goBack()\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: `${sumasix ? 'VINCULAR CUENTA' : 'MODIFICAR TELEFONO'} - Volver atras`, value: '10' })\r\n if (sumasix) {\r\n push('/home')\r\n toggleOtpSS(false)\r\n return\r\n }\r\n\r\n history.goBack()\r\n }} />\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {\r\n sumasix ? (\r\n
\r\n \r\n Necesitamos validar tu número de teléfono para completar la vinculación.\r\n \r\n\r\n \r\n \r\n Te enviaremos un código OTP para que ingreses en la siguiente pantalla.\r\n \r\n \r\n\r\n \r\n Recuerda que debe ser el mismo que utilizaste en tu cuenta de SumaSix.\r\n \r\n
\r\n ) : (\r\n <>\r\n {textServices.findByText('otp/phone/description', { es: 'Necesitamos validar tu número de teléfono para completar el registro.', en: 'We need to validate your phone number to complete the registration.' })}\r\n {textServices.findByText('otp/phone/message', { es: <>Te enviaremos un código OTP para que ingreses en la siguiente pantalla., en: <>We will send you an OTP code to enter on the next screen. })}\r\n \r\n )\r\n }\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Phone;","import { SVGProps } from 'react'\r\n\r\nfunction Clock(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Clock\r\n","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\n\r\nexport const Div = styled.div`\r\n ${({theme}: Type) => theme?.otp?.div}\r\n`; \r\n\r\nexport const PTime = styled.div`\r\n ${({theme}: Type) => theme?.otp?.pTime}\r\n`;\r\n\r\nexport const TitleOtp = styled.p`\r\n ${({theme}: Type) => theme?.otp?.titleOtp}\r\n`","import { ErrorMessage } from \"@hookform/error-message\";\r\nimport { yupResolver } from \"@hookform/resolvers/yup\";\r\nimport { AxiosError } from \"axios\";\r\nimport Button from \"components/button\";\r\nimport Clock from \"components/icon/clock\";\r\nimport OtpInput from \"components/otp-input\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport { ErrorInput } from \"theme/theme\";\r\nimport { useCountdown } from \"rooks\";\r\nimport formServices from \"services/form-builder-services\";\r\nimport textServices from \"services/text-services\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { TextOtp, TextOtpLabelTwo, TextOtpResend, BackBtn } from \"../text.style\";\r\nimport { Div, PTime, TitleOtp } from \"./styled.component\";\r\n\r\nfunction Otp({ state, helper, handleChange, onFormSubmitEndPoint, prevStep, setHelper, session, recaptchaRef, setError, sumasix }: any) {\r\n\r\n const { handleSubmit, formState: { errors }, setValue } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"otp\"])) })\r\n const [endTime, setEndtime] = useState(new Date(helper.expires))\r\n const { setLoad } = useContext(LoaderContext)\r\n const [endTimeTransform, setEndTimeTransform] = useState(null)\r\n const count = useCountdown(endTime, { interval: 1000 })\r\n\r\n const secondsToString = (seconds: number) => {\r\n let minute: any = Math.floor((seconds / 60) % 60)\r\n minute = minute < 10 ? '0' + minute : minute\r\n let second: any = seconds % 60\r\n second = second < 10 ? '0' + second : second\r\n return minute + ':' + second\r\n }\r\n\r\n useEffect(() => {\r\n setEndtime(new Date(helper.expires))\r\n }, [helper.expires])\r\n\r\n useEffect(() => {\r\n if (count > 0) {\r\n setEndTimeTransform(secondsToString(count))\r\n } else if (count === 0) {\r\n setEndTimeTransform(null)\r\n setError(71)\r\n }\r\n }, [count])\r\n\r\n const otpGenerate = async () => {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: state.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n setHelper({ expires: result.data?.expiresAt })\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n function onFormSubmit(data: any) {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'verificar cuenta',\r\n section: 'sign up'\r\n })\r\n handleChange(data)\r\n onFormSubmitEndPoint(data)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n {textServices.findByText('otp/title', { es: 'Ingresa el código de 6 dígitos que recibiste para verificar tu celular.', en: 'Enter the 6-digit code you received to verify your cell phone.' })}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {endTimeTransform}\r\n \r\n {textServices.findByText('otp/description', { es: 'Una contraseña de un solo uso se envió al', en: 'A one-time password was sent to the' })} {state.phoneNumber}\r\n \r\n {textServices.findByText('otp/received', { es: '¿No la recibió?', en: 'Did you not receive it?' })}\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR TELEFONO - Reenviar código OTP', value: '10' })\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: textServices.findByText('otp/received', { es: '¿No la recibió?', en: 'Did you not receive it?' }),\r\n section: 'sign up'\r\n })\r\n otpGenerate()\r\n }}\r\n >\r\n {textServices.findByText('otp/resend', { es: 'reenviar código', en: 'resend code' })}\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default Otp;","/* eslint-disable indent */\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useMainClass from \"hooks/use-main-cass\";\r\nimport { UserData } from \"contexts/session-context/session-reducer\";\r\nimport { useCustomForm } from \"hooks/use-custom-form\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext, useEffect, useRef, useState } from \"react\";\r\nimport ReCAPTCHA from \"react-google-recaptcha\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport { AxiosError } from \"axios\";\r\nimport ErrorView from \"components/error-view\";\r\nimport Phone from \"./phone\";\r\nimport Otp from \"./otp\";\r\n\r\nfunction FormPhone({ handleSubmit, user, sumasix, toggleOtpSS }: { handleSubmit: (data: any, setError?: any) => void, user?: UserData, sumasix?: boolean, toggleOtpSS?: () => void; }) {\r\n\r\n useMainClass('form__phone')\r\n\r\n const { history } = useRouter()\r\n const [{ data: session }] = useSession()\r\n const { state, handleChangeState, nextStep, prevStep, backHistory } = useCustomForm({ step: 1, phoneNumber: user?.phoneNumber || '', otp: '' })\r\n const [error, setError] = useState(null)\r\n const [help, setHelp] = useState()\r\n const { setLoad } = useContext(LoaderContext)\r\n const recaptchaRef = useRef(null)\r\n\r\n function onFormSubmitEndPoint(data: any) {\r\n handleSubmit(data, setError)\r\n }\r\n\r\n const otpGenerate = async () => {\r\n recaptchaRef.current?.reset()\r\n await recaptchaRef.current?.executeAsync().then(async (recaptchaToken: any) => {\r\n setLoad(true)\r\n try {\r\n const result = await ProfileService.otpGenerate({ phone: state.phoneNumber, recaptchaToken, session })\r\n if (result.status === 201) {\r\n setHelp({ expires: result.data?.expiresAt } as any)\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n })\r\n }\r\n\r\n useEffect(() => {\r\n if (error) {\r\n handleChangeState({ step: 10 } as any)\r\n }\r\n }, [error])\r\n\r\n const handleButton = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR TELEFONO - Salir pantalla de error', value: '10' })\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n const handleMenu = async (code: number) => {\r\n if (code === 71 || code === 10) {\r\n await otpGenerate()\r\n }\r\n setError(null)\r\n if (state?.step <= 1) return;\r\n backHistory()\r\n }\r\n\r\n switch (state.step) {\r\n case 1:\r\n return (\r\n <>\r\n \r\n history.goBack()}\r\n />\r\n \r\n )\r\n case 2:\r\n return (\r\n <>\r\n \r\n \r\n \r\n )\r\n default:\r\n return <>\r\n \r\n \r\n \r\n }\r\n}\r\n\r\nexport default FormPhone;","import { SOCIAL_CALLBACK, GET_PROFILE_DATA } from \"constants/api\";\r\nimport axios, { AxiosError } from \"axios\";\r\nimport FormPhone from \"components/form-phone\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport useRouter from \"hooks/use-router\";\r\nimport { useContext } from \"react\";\r\nimport ProfileService from \"services/profile-services\";\r\nimport CONFIGS from 'build/Config'\r\n\r\nfunction ProfilePhoneUpdate({ sumasix = false, toggleOtpSS, linkAccountSS }: { sumasix?: boolean, toggleOtpSS?: () => void, linkAccountSS?: (value: boolean) => void; }) {\r\n\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const { push } = useRouter()\r\n\r\n const onSubmit = async (data, setError) => {\r\n setLoad(true)\r\n try {\r\n const response = (!CONFIGS?.profile?.phone?.useDirectPhone ? await ProfileService.otpVerifyPhone({ code: data.otp, session }) : await ProfileService.updatePhone({ phoneNumber: data.phoneNumber, session }))\r\n\r\n if (response?.status === 200) {\r\n setUser(response.data)\r\n\r\n if (!sumasix) {\r\n push('/profile/phone')\r\n return\r\n }\r\n\r\n await axios.put(`${SOCIAL_CALLBACK}sumasix/link?code=${response.data?.phoneNumber}`, {},\r\n { headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } }\r\n )\r\n\r\n if (response.status === 200) {\r\n const responseProfile = await axios.get(`${GET_PROFILE_DATA}`,\r\n { headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } }\r\n )\r\n\r\n setUser(responseProfile.data)\r\n linkAccountSS(true)\r\n }\r\n\r\n }\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\nexport default ProfilePhoneUpdate;","import { ErrorMessage } from \"@hookform/error-message\"\r\nimport { yupResolver } from \"@hookform/resolvers/yup\"\r\nimport { AxiosError } from \"axios\"\r\nimport Button from \"components/button\"\r\nimport ErrorView from \"components/error-view\"\r\nimport Input from \"components/input\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport useRouter from \"hooks/use-router\"\r\nimport { useContext, useState } from \"react\"\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useForm } from \"react-hook-form\"\r\nimport formServices from \"services/form-builder-services\"\r\nimport ProfileService from \"services/profile-services\"\r\nimport textServices from \"services/text-services\"\r\nimport { Label, ReturnText, ErrorInput } from \"theme/theme\"\r\n\r\nfunction ProfileMailUpdate() {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"contactMail\"])) })\r\n const { history } = useRouter()\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [genericError, setGenericError] = useState(null)\r\n\r\n async function onFormSubmit(mail: any) {\r\n setLoad(true)\r\n try {\r\n const { data } = await ProfileService.updateProfileContact({ user: { email: mail?.contactMail }, session })\r\n setUser(data)\r\n history.goBack()\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n setGenericError(typedError?.response?.data?.code ?? 9999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleMenu = () => {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR MAIL DE CONTACTO - Cerrar error', value: '10' })\r\n setGenericError(null)\r\n }\r\n\r\n const handleButton = () => {\r\n setGenericError(null)\r\n }\r\n\r\n if (genericError) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n
\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'MODIFICAR MAIL DE CONTACTO - Volver atras', value: '10' })\r\n history.goBack()\r\n }} />\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default ProfileMailUpdate;","const Rank = () => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n)\r\n\r\nexport default Rank;","import { SVGProps } from 'react'\r\n\r\nfunction TriviasIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n )\r\n}\r\n\r\nexport default TriviasIcon\r\n","const Auctions = () => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n)\r\n\r\nexport default Auctions;","import styled from 'styled-components'\r\nimport { ButtonType, isActiveType, Type } from 'theme/types'\r\n\r\nexport const ButtonNavStyle = styled.div.attrs((props: ButtonType) => ({\r\n disabled: props.disabled,\r\n shouldUseWhiteBg: props.shouldUseWhiteBg,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n color: ${(props: ButtonType) => props.disabled ? !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisableContrast : props.theme?.home?.buttonDisable : props.shouldUseWhiteBg ? props.theme?.home?.buttonColorContrast : props.theme?.home?.buttonColor};\r\n border-color: ${(props: ButtonType) => props.disabled && !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisabledBorderContrast : props.theme?.home?.buttonDisabledBorder};\r\n background-color: ${(props: ButtonType) => props.disabled ? props.theme?.home?.buttonDisabledBackground : props.shouldUseWhiteBg ? props.theme?.home?.buttonBackgroundContrast : props.theme?.home?.buttonBackground};\r\n border-radius:${(props: ButtonType) => props.theme?.home?.buttonBorderRadius};\r\n`\r\n\r\nexport const ButtonNavStyleFull = styled.div.attrs((props: ButtonType) => ({\r\n disabled: props.disabled,\r\n shouldUseWhiteBg: props.shouldUseWhiteBg,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n color: ${(props: ButtonType) => props.disabled ? !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisableContrast : props.theme?.home?.buttonDisable : props.shouldUseWhiteBg ? props.theme?.home?.buttonColorContrast : props.theme?.home?.buttonColor};\r\n border-color: ${(props: ButtonType) => props.disabled && !props.shouldUseWhiteBg ? props.theme?.home?.buttonDisabledBorderContrast : props.theme?.home?.buttonDisabledBorder};\r\n background-color: transparent;\r\n border-radius:${(props: ButtonType) => props.theme?.home?.buttonBorderRadius};\r\n`\r\n\r\nexport const DivLineStep = styled.div.attrs((props: isActiveType) => ({\r\n theme: props.theme,\r\n isActive: props.isActive\r\n})) `\r\n background-color: ${(props: isActiveType) => props.isActive ? props.theme?.home?.BgLineStepActive : props.theme?.home?.BgLineStep};\r\n`\r\n\r\nexport const HrLineStep = styled.hr.attrs((props: isActiveType) => ({\r\n theme: props.theme,\r\n isActive: props.isActive\r\n})) `\r\n background-color: ${(props: isActiveType) => props.isActive ? props.theme?.home?.BgLineStepActive : props.theme?.home?.BgLineStep};\r\n`\r\n\r\nexport const DivProgress = styled.div`\r\n ${({ theme }: Type) => theme?.home?.progress.base}\r\n`\r\n\r\nexport const DivProgressSecond = styled.div`\r\n ${({ theme }: Type) => theme?.home?.progress.active}\r\n`\r\n","const Profile = () => {\r\n const variant = [\r\n 'cartablanca',\r\n 'miller',\r\n 'indio',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/profile.svg`\r\n }\r\n \r\n return `${AZURE_ICONS_URL}/profile.svg`\r\n}\r\n\r\nexport default Profile;","import { SVGProps } from 'react'\r\n\r\nfunction Raffles(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Raffles\r\n","import { SVGProps } from 'react'\r\n\r\nfunction CrowAguila(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default CrowAguila","import { SVGProps } from 'react'\r\n\r\nfunction Referrals(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Referrals\r\n","const Collection = () => {\r\n\r\n const variant = [\r\n 'matchpaint'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/collection.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/collection.svg`\r\n}\r\n\r\nexport default Collection\r\n","const Awards = () => {\r\n\r\n const variant = [\r\n 'matchpaint'\r\n ]\r\n \r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/awards.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/awards.svg`\r\n}\r\n\r\nexport default Awards","import { Type } from 'theme/types';\r\nimport styled from \"styled-components\";\r\nimport { Text, Title } from \"theme/theme\";\r\n\r\nexport const TitleHome = styled(Title)`\r\n ${({ theme }: Type) => theme?.home?.text?.title}\r\n`\r\n\r\nexport const TextHome = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.text}\r\n`\r\n\r\nexport const TextHomeSecondary = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.textSecondary}\r\n`\r\n\r\nexport const ContainerTextProgress = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.containerTextProgress}\r\n`\r\n\r\nexport const TextHomeButton = styled(Text)`\r\n ${({ theme }: Type) => theme?.home?.text?.textButton}\r\n`\r\nexport const TextPoints = styled.p`\r\n ${({ theme }: Type) => theme?.home?.text?.points}\r\n`\r\n\r\nexport const TextDynamics = styled.p`\r\n ${({ theme }: Type) => theme?.home?.text?.dynamics}\r\n`\r\n\r\nexport const FloatImgHome = styled.img`\r\n ${({ theme }: Type) => theme?.home?.sello}\r\n`\r\n\r\nexport const TextArrow = styled.span`\r\n ${({ theme }: Type) => theme?.home?.textArrow}\r\n`\r\nexport const TextTotalPoints = styled.p`\r\n ${({ theme }: Type) => theme?.home?.textTotalPoints}\r\n`\r\n\r\nexport const TextArrowColor = styled.div`\r\n ${({theme}: Type) => theme?.home?.textArrowColor}\r\n`","const Prizes = () => {\r\n const variant = [\r\n 'miller',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/prizes.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/prizes.svg`\r\n}\r\n\r\nexport default Prizes\r\n","import { SVGProps } from 'react'\r\n\r\nfunction TriviasIconIndio(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default TriviasIconIndio\r\n","import { SVGProps } from 'react'\r\n\r\nfunction LineUpIndio(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default LineUpIndio\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { useEffect, useState } from 'react'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst TecateDownload = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'tecate id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst TecateView = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'tecate id', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Tecate\r\n \"Flechas\r\n \r\n \r\n )\r\n}\r\n\r\nfunction TecateID() {\r\n // @media all and (display-mode: standalone) {\r\n // display: none;\r\n // }\r\n\r\n const [isStandalone, setIsStandalone] = useState(false)\r\n\r\n useEffect(() => {\r\n if (window.matchMedia('(display-mode: standalone)').matches) {\r\n setIsStandalone(true)\r\n }\r\n\r\n // Listener para cambios\r\n const handler = (e) => setIsStandalone(e.matches)\r\n window.matchMedia('(display-mode: standalone)').addListener(handler)\r\n\r\n // Limpieza del listener\r\n return () => window.matchMedia('(display-mode: standalone)').removeListener(handler)\r\n }, [])\r\n\r\n return isStandalone ? : \r\n}\r\n\r\nexport default TecateID\r\n","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst ConsumptionHnk = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'consumo - hnk', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action:'click', element:'consumo icon', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Icono\r\n \"Texto\r\n \r\n \r\n )\r\n}\r\n\r\nexport default ConsumptionHnk\r\n","function HeinekenID() {\r\n return (\r\n \r\n \"\"\r\n \"\"\r\n \"\"\r\n \r\n )\r\n}\r\n\r\nexport default HeinekenID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst MixxID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'dosequis id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default MixxID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst DosequisID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'dosequis id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default DosequisID\r\n","import { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { isAndroid, isIOS } from 'utilities/detectDeviceAgent'\r\n\r\nconst RockID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'rock id - download', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default RockID\r\n","import React from 'react'\r\n\r\nfunction UploadImageSilver() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default UploadImageSilver","import React from 'react'\r\n\r\nfunction VoteSilverIcon() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default VoteSilverIcon","import React from 'react'\r\n\r\nfunction RankingSilverIcon() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default RankingSilverIcon","import { SVGProps } from 'react'\r\n\r\nfunction TriviasMillerIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TriviasMillerIcon\r\n","const Redeem = () => {\r\n const variant = [\r\n 'miller',\r\n 'silverWaiter'\r\n ]\r\n\r\n if (variant.includes(THEME)) {\r\n return `${AZURE_ICONS_URL}/${THEME}/redeem.svg`\r\n }\r\n\r\n return `${AZURE_ICONS_URL}/redeem.svg`\r\n}\r\n\r\nexport default Redeem\r\n","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst MemoramaSilverIcon = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'juega_memorama', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action:'click', element:'memorama icon', section: 'home' })\r\n }}\r\n >\r\n \r\n \"Icono\r\n \"Texto\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MemoramaSilverIcon","import { Link } from \"react-router-dom\"\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\"\r\n\r\nconst CristalID = () => {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: 'navegacion_profile', event_label: 'Home links' })\r\n dlTrackEvent('user_interaction', { action: 'click', element: 'cristal id', section: 'home' })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n )\r\n}\r\n\r\nexport default CristalID\r\n","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction MemoramaNavTecate() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_memorama', event_label: 'Home links' }) }}>\r\n \r\n Icono de memorama\r\n

JUEGA AL MEMORAMA

\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default MemoramaNavTecate","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction AmstelIdNav() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n \"\"\r\n \"\"\r\n \r\n \r\n )\r\n}\r\n\r\nexport default AmstelIdNav","import React from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction BohemiaIdNav() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_memorama', event_label: 'Home links' }) }}>\r\n \r\n
\r\n
\r\n bohemia\r\n

MI BOHEMIA ID

\r\n
\r\n Flecha\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default BohemiaIdNav","import styled from 'styled-components'\r\n\r\nfunction HnkWaiterId() {\r\n const TextID = styled.h1`\r\n color: #b54540;\r\n font-family: Balinese Culture;\r\n font-size: 48px;\r\n font-style: normal;\r\n font-weight: 400;\r\n line-height: 100%;\r\n `\r\n\r\n const Container = styled.div`\r\n height: 90px;\r\n border-radius: 10px;\r\n background-color: black;\r\n box-shadow: rgba(0, 0, 0, 0.71) 0px 0px 18px 0px;\r\n background-image: url(${AZURE_BASE_URL}/bg-id.png);\r\n background-size: cover;\r\n background-repeat: no-repeat;\r\n background-position: center center;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n padding: 0 30px;\r\n `\r\n\r\n return (\r\n \r\n MI ID\r\n Flecha\r\n \r\n )\r\n}\r\n\r\nexport default HnkWaiterId\r\n","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nconst SilverID = () => {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Heineken Id\r\n \r\n \r\n )\r\n}\r\n\r\nexport default SilverID","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nfunction MillerID() {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Ir a mi MillerID\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MillerID","\r\n\r\nconst SolMezclasId = () => {\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default SolMezclasId\r\n\r\n","import { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle } from 'theme/home'\r\n\r\nconst MassiveID = () => {\r\n return (\r\n { gtag('event', 'event_to_ga', { event_category: 'navegacion_perfil', event_label: 'Home links' }) }}>\r\n \r\n Massive ID\r\n \r\n \r\n )\r\n}\r\n\r\nexport default MassiveID","import Rank from 'components/icon/rank'\r\nimport TriviasIcon from 'components/icon/trivias'\r\nimport Auctions from 'components/icon/auctions'\r\nimport { Link } from 'react-router-dom'\r\nimport { ButtonNavStyle, ButtonNavStyleFull } from 'theme/home'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport Profile from 'components/icon/profile'\r\nimport Raffles from 'components/icon/raffles'\r\nimport CrowAguila from 'components/icon/crow-aguila'\r\nimport Referrals from 'components/icon/referrals'\r\nimport Collection from 'components/icon/collection'\r\nimport Awards from 'components/icon/awards'\r\nimport { TextHomeButton } from 'views/home/style/text.style'\r\nimport Prizes from 'components/icon/prizes'\r\nimport TriviasIconIndio from 'components/icon/TriviasIndio'\r\nimport LineUpIndio from 'components/icon/LineUpIndio'\r\nimport TecateID from 'components/icon/tecate/tecateid'\r\nimport textServices from 'services/text-services'\r\nimport ConsumptionHnk from 'components/icon/consumptionHnk'\r\nimport HeinekenID from 'components/icon/heinekenid'\r\nimport MixxID from 'components/icon/mixx/mixx-id'\r\nimport DosequisID from 'components/icon/dosequis/dosequis-id'\r\nimport RockID from 'components/icon/indio/rock-id'\r\nimport UploadImageSilver from 'components/icon/upload-image-silver'\r\nimport VoteSilverIcon from 'components/icon/vote-silver'\r\nimport RankingSilverIcon from 'components/icon/ranking-silver'\r\nimport { MezclasSolIcon, ProfileSolIcon, VoteSolIcon } from 'components/icon/sol-icons'\r\nimport TriviasMillerIcon from 'components/icon/trivias-miller'\r\nimport Redeem from 'components/icon/redeem'\r\nimport MemoramaSilverIcon from 'components/icon/memorama-silver'\r\nimport CristalID from 'components/icon/cristal/id'\r\nimport MemoramaNavTecate from 'components/icon/tecate/memorama-nav'\r\nimport AmstelIdNav from 'components/icon/amstel/amstel-id-nav'\r\nimport BohemiaIdNav from 'components/icon/bohemia/bohemia-id-nav'\r\nimport HnkWaiterId from 'components/icon/hnk-waiter/hnkWaiterID'\r\nimport SilverID from 'components/icon/silver/silverId'\r\nimport MillerID from 'components/icon/miller/miller-id-nav'\r\nimport SolMezclasId from 'components/icon/solMezclas/solMezclasId'\r\nimport MassiveID from 'components/icon/massive/massiveId'\r\n\r\nconst Links = {\r\n Gift: {\r\n icon: CrowAguila,\r\n text: 'INGRESAR CÓDIGOS',\r\n link: '/redeem'\r\n },\r\n Rank: {\r\n icon: Rank,\r\n text: 'RANKING',\r\n link: '/ranking'\r\n },\r\n Auctions: {\r\n icon: Auctions,\r\n text: 'SUBASTAS',\r\n link: '/auctions'\r\n },\r\n Profile: {\r\n icon: Profile(),\r\n text: 'MI PERFIL',\r\n link: '/profile/information'\r\n },\r\n ProfileCB: {\r\n icon: Profile(),\r\n text: 'MI PERFIL',\r\n link: '/profile'\r\n },\r\n Raffles: {\r\n icon: Raffles,\r\n text: 'PREMIO DIARIO',\r\n link: '/raffles'\r\n },\r\n Referrals: {\r\n icon: Referrals,\r\n text: 'REFERIR AMIGOS',\r\n link: '/referrals'\r\n },\r\n Collections: {\r\n icon: Collection(),\r\n text: textServices.findByText('home/sellos', 'MIS COLECCIONES'),\r\n link: '/collections'\r\n },\r\n Awards: {\r\n icon: Awards(),\r\n text: 'MIS PREMIOS',\r\n link: '/prizes'\r\n },\r\n Prizes: {\r\n icon: Prizes(),\r\n text: textServices.findByText('home/buttonNav/prizes', 'VITRINA DE PREMIOS'),\r\n link: '/prizes'\r\n },\r\n Trivias: {\r\n icon: TriviasIcon,\r\n text: 'TRIVIAS',\r\n link: '/trivias'\r\n },\r\n TriviasIndio: {\r\n icon: TriviasIconIndio,\r\n text: 'MIS TRIVIAS',\r\n link: '/trivias'\r\n },\r\n Photos: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/photos.svg`,\r\n text: 'SUS FOTOS',\r\n link: '/photographer/start?isYou=true'\r\n },\r\n UploadImage: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/upload-image.svg`,\r\n text: 'SUBIR FOTO',\r\n link: '/photographer/upload'\r\n },\r\n // TODO: Cambiar url por la externa de indio\r\n LineUp: {\r\n icon: LineUpIndio,\r\n text: 'LINE UP',\r\n href: true,\r\n link: `${URL_BASE}/rockid/lineup`\r\n },\r\n ProfileID: {\r\n html: TecateID,\r\n type: 'component'\r\n },\r\n\r\n MixxID: {\r\n html: MixxID,\r\n type: 'component'\r\n },\r\n CristalID: {\r\n html: CristalID,\r\n type: 'component'\r\n },\r\n ConsumptionHnk: {\r\n html: ConsumptionHnk,\r\n type: 'component'\r\n },\r\n MemoramaSilver: {\r\n html: MemoramaSilverIcon,\r\n type: 'component'\r\n },\r\n DosequisID: {\r\n html: DosequisID,\r\n type: 'component'\r\n },\r\n RockID: {\r\n html: RockID,\r\n type: 'component'\r\n },\r\n HeinekenId: {\r\n icon: HeinekenID,\r\n text: '',\r\n link: '/profile/identificacion',\r\n type: 'full'\r\n },\r\n SolMezclasId: {\r\n icon: SolMezclasId,\r\n text: '',\r\n link: '/profile/identificacion',\r\n type: 'full'\r\n },\r\n TriviaMatchpaint: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/paris.svg`,\r\n text: 'VIAJE A PARÍS',\r\n link: '/trivias'\r\n },\r\n UploadImageSilver: {\r\n icon: UploadImageSilver,\r\n text: 'PARTICIPAR',\r\n link: '/album/redirect/Social/profile'\r\n },\r\n VoteSilver: {\r\n icon: VoteSilverIcon,\r\n text: 'VOTAR',\r\n link: '/album/start'\r\n },\r\n RankingSilver: {\r\n icon: RankingSilverIcon,\r\n text: 'RANKING',\r\n type: 'full',\r\n link: '/album/redirect/Social/ranking'\r\n },\r\n MezclasSol: {\r\n icon: MezclasSolIcon,\r\n text: 'MIS MEZCLAS',\r\n link: '/home'\r\n },\r\n VoteSol: {\r\n icon: VoteSolIcon,\r\n text: 'VOTAR',\r\n link: '/home'\r\n },\r\n ProfileSol: {\r\n icon: ProfileSolIcon,\r\n text: 'MI PERFIL',\r\n link: '/profile'\r\n },\r\n MyImagesSilver: {\r\n icon: UploadImageSilver,\r\n text: 'MIS IMÁGENES',\r\n link: '/album/redirect/Foto/profile'\r\n },\r\n ParticipateSilver: {\r\n icon: VoteSilverIcon,\r\n text: 'PARTICIPAR',\r\n link: '/album/redirect/Foto/upload'\r\n },\r\n TriviasMiller: {\r\n icon: TriviasMillerIcon,\r\n text: 'MIS TRIVIAS',\r\n link: '/trivias'\r\n },\r\n Redeem: {\r\n icon: Redeem(),\r\n text: textServices.findByText('home/buttonNav/redeem', 'INGRESAR CÓDIGOS'),\r\n link: '/redeem'\r\n },\r\n HistoryDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/history.svg`,\r\n text: 'HISTORIAS',\r\n link: '/album/redirect/Historia/upload'\r\n },\r\n TicketsDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/receipts.svg`,\r\n text: 'RECIBOS',\r\n link: '/album/redirect/Ticket/upload'\r\n },\r\n ConsumptionDosequis: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/photo.svg`,\r\n text: 'FOTOS',\r\n link: '/album/redirect/Consumo/upload'\r\n },\r\n MemoramaTecate: {\r\n html: MemoramaNavTecate,\r\n type: 'component'\r\n },\r\n SilverID: {\r\n html: SilverID,\r\n type: 'component'\r\n },\r\n MassiveID: {\r\n html: MassiveID,\r\n type: 'component'\r\n },\r\n AmstelID: {\r\n html: AmstelIdNav,\r\n type: 'component'\r\n },\r\n BohemiaID: {\r\n html: BohemiaIdNav,\r\n type: 'component'\r\n },\r\n BohemiaChallenges: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/challenges-nav.svg`,\r\n text: 'RETOS',\r\n link: '/album/start'\r\n },\r\n BohemiaContent: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/content-nav.svg`,\r\n text: 'MI CONTENIDO',\r\n link: '/album/redirect/Foto/profile'\r\n },\r\n BohemiaRanking: {\r\n icon: `${AZURE_ICONS_URL}/${THEME}/ranking-nav.svg`,\r\n text: 'RANKING',\r\n link: '/album/redirect/Foto/ranking'\r\n },\r\n TriviaDosequis: {\r\n icon: `${AZURE_BASE_URL}/trivia-nav.svg`,\r\n text: 'TRIVIA',\r\n link: '/trivias'\r\n },\r\n MemoramaDosequis: {\r\n icon: `${AZURE_BASE_URL}/memorama-nav.svg`,\r\n text: 'MEMORAMA',\r\n link: '/memorama'\r\n },\r\n PhotoDosequis: {\r\n icon: `${AZURE_BASE_URL}/photo-nav.svg`,\r\n text: 'SUBE TU FOTO',\r\n link: '/album/redirect/Consumo/upload'\r\n },\r\n TicketsDosequisV2: {\r\n icon: `${AZURE_BASE_URL}/ticket-nav.svg`,\r\n text: 'SUBE TU TICKET',\r\n link: '/album/redirect/Ticket/upload'\r\n },\r\n HnkWaiterID: {\r\n icon: HnkWaiterId,\r\n type: 'full',\r\n text: '',\r\n link: '/profile/identificacion'\r\n },\r\n MillerID: {\r\n html: MillerID,\r\n type: 'component'\r\n }\r\n}\r\n\r\nfunction ButtonNav({ route }: any) {\r\n const { shouldUseWhiteBg } = useWhiteBg()\r\n const item = Links[route]\r\n\r\n const onHandleClick = (item: any) => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: item.text ?? item.category,\r\n section: 'home'\r\n })\r\n gtag('event', 'event_to_ga', { event_category: item.category ?? item.text, event_label: 'Home links' })\r\n }\r\n\r\n if (item?.href) {\r\n return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n \r\n {item.text}\r\n \r\n {item.text}\r\n \r\n \r\n )\r\n }\r\n\r\n if (item.type === 'component') {\r\n return \r\n }\r\n\r\n if (item.type === 'full') {\r\n return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n {item.text && (\r\n {item.text}\r\n )}\r\n {item.logo && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }\r\n\r\n return (\r\n {\r\n onHandleClick(item)\r\n }}\r\n >\r\n \r\n \r\n {item.text}\r\n \r\n {item.text && (\r\n {item.text}\r\n )}\r\n {item.logo && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n )\r\n}\r\n\r\nexport default ButtonNav\r\n","export function VoteSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function MezclasSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport function ProfileSolIcon() {\r\n return (\r\n \r\n \r\n \r\n )\r\n}","const GoArrow = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default GoArrow;","import { DivLineStep, HrLineStep } from \"theme/home\";\r\nimport { TextHome } from \"views/home/style/text.style\";\r\n\r\ninterface LineStepsProps {\r\n steps: Record[];\r\n}\r\n\r\nconst LineSteps = ({ steps }: LineStepsProps) => {\r\n\r\n let activeIndex: number\r\n steps.forEach((step, index) => step.active && (activeIndex = index))\r\n\r\n return (\r\n <>\r\n
\r\n {steps.map((step, index: number) => {\r\n return (\r\n {`${step?.name}`}\r\n )\r\n })\r\n }\r\n
\r\n
\r\n
\r\n {\r\n steps.map((step, index: number) => {\r\n return (\r\n <>\r\n \r\n {\r\n +steps?.length === (index + 1) ? '' : \r\n }\r\n \r\n )\r\n })\r\n }\r\n
\r\n
\r\n \r\n );\r\n\r\n}\r\n\r\nexport default LineSteps","import styled from 'styled-components';\r\nimport { SpanMenu } from 'theme/header';\r\nimport { Type } from './../../../theme/types/generic.interface';\r\n\r\nexport const Dots = styled.div`\r\n width: 8px;\r\n height: 8px;\r\n border-radius: 9999px;\r\n opacity: 0.7;\r\n ${({ theme }: Type) => theme?.home?.dots}\r\n`\r\n\r\nexport const Points = styled.span`\r\n ${({ theme }: Type) => theme?.home?.points}\r\n`\r\n\r\nexport const PopUpTwo = styled.div`\r\n ${({ theme }: Type) => theme?.home?.popup?.two}\r\n`\r\n\r\nexport const PopUpSpanMenu = styled(SpanMenu)`\r\n ${({ theme }: Type) => theme?.home?.popup?.spanMenu}\r\n`\r\n\r\nexport const HrHome = styled.hr`\r\n ${({ theme }: Type) => theme?.home?.hr}\r\n`\r\n\r\nexport const NavContainer = styled.nav`\r\n ${({ theme }: Type) => theme?.home?.navContainer}\r\n`","import { GET_PROFILE_DATA, SOCIAL_CALLBACK } from 'constants/api'\r\nimport Button from 'components/button'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport useRouter from 'hooks/use-router'\r\nimport ProfilePhoneUpdate from 'views/profile-phone-update'\r\nimport { useSession } from 'contexts/session-context'\r\nimport axios, { AxiosError } from 'axios'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport ErrorView from 'components/error-view'\r\n\r\nconst AccountLinking = ({ setPopUpFalse }: any) => {\r\n const [otp, setOtp] = useState(false)\r\n const [linkAccount, setLinkAccount] = useState(false)\r\n const { push } = useRouter()\r\n const [{ user, data: session }, { setUser }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [error, setError] = useState(null)\r\n\r\n const toggleOtp = () => {\r\n setOtp(!otp)\r\n }\r\n\r\n const rankingRedirect = () => {\r\n push('/ranking')\r\n }\r\n\r\n useEffect(() => {\r\n if (user?.profileLinkings?.some((profile) => profile.provider === \"SumaSix\")) {\r\n push('/ranking')\r\n }\r\n }, [])\r\n\r\n const alreadyPhone = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.put(`${SOCIAL_CALLBACK}sumasix/link?code=${user?.phoneNumber}`, {},\r\n { headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } }\r\n )\r\n\r\n if (response.status === 200) {\r\n const responseProfile = await axios.get(`${GET_PROFILE_DATA}`,\r\n { headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } }\r\n )\r\n\r\n setUser(responseProfile.data)\r\n setLinkAccount(true)\r\n }\r\n\r\n } catch (err) {\r\n const typedError = err as AxiosError\r\n const { code } = typedError.response?.data || {}\r\n setError(code)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const handleMenu = () => {\r\n push('/home')\r\n }\r\n\r\n const handleButton = () => {\r\n setError(null)\r\n }\r\n\r\n useEffect(() => {\r\n if (otp && !linkAccount && user.phoneNumber) {\r\n const verifyPhone = async () => {\r\n await alreadyPhone()\r\n }\r\n\r\n verifyPhone()\r\n }\r\n }, [otp])\r\n\r\n if (error) {\r\n return \r\n }\r\n\r\n if (linkAccount) {\r\n return (\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n

\r\n VINCULASTE TU CUENTA CON ÉXITO\r\n

\r\n\r\n

\r\n Compra latas de Sol Clamato en tiendas Six usando tu cuenta de SumaSix, el que quede en 1er lugar en el ranking al finalizar la dinámica ganará, ¡suerte!\r\n

\r\n
\r\n\r\n \r\n
\r\n
\r\n )\r\n }\r\n\r\n if (otp) {\r\n return (\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n )\r\n }\r\n\r\n return (\r\n
\r\n \r\n\r\n
\r\n

\r\n VINCULA TU CUENTA SUMASIX Y PARTICIPA POR UN AUTO\r\n

\r\n\r\n \"Suma\r\n\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default AccountLinking\r\n","import { GET_PRIZES, GET_RAFFLES_WINNERS } from \"constants/api\";\r\nimport Button from \"components/button\"\r\nimport textServices from \"services/text-services\"\r\nimport useAxios from \"axios-hooks\";\r\nimport { WinnerDto } from \"views/raffles/types\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { Prize } from \"views/prizes/types\";\r\nimport dayjs from \"dayjs\";\r\nimport { useWindowSize } from \"react-use\";\r\nimport { ButtonMenu } from \"theme/header\";\r\nimport ButtonCloseMenu from \"components/button-close\";\r\nimport { PopUpSpanMenu, PopUpTwo } from \"views/home/style/home.style\";\r\nimport AccountLinking from \"../PopUp/AccountLinking\";\r\n\r\nconst One = ({ history, setPopUpFalse }) => {\r\n\r\n return (\r\n
\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
\r\n

{textServices.findByText('home/popup/1/title', '¡TODOS LOS DÍAS TENEMOS GANADORES!')}

\r\n {textServices.findByText('home/popup/1/subtitle', '¿CÓMO SUMO MÁS CHANCES DE GANAR?')}\r\n
\r\n
  • {textServices.findByText('home/popup/1/description', 'Con cada código que ingreses puedes canjearlo por una participación en nuestra vitrina.')}
  • \r\n
  • {textServices.findByText('home/popup/1/description-2', 'Con cada persona que refieres y se registre')}
  • \r\n
    \r\n {textServices.findByText('home/popup/1/description-4', '¡QUE ESTAS ESPERANDO!')}\r\n
    \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Two = ({ setPopUpFalse }) => {\r\n return (\r\n \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst Three = ({ history, setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
    \r\n

    {textServices.findByText('home/popup/3/title', '¿YA VISTE LOS PREMIOS? ¿YA ESTAS PARTICIPANDO?')}

    \r\n

    {textServices.findByText('home/popup/3/description', 'AUMENTA TUS CHANCES DE GANAR TODOS LOS DÍAS INGRESANDO CÓDIGOS E INVITANDO A TUS AMIGOS A REGISTRARSE')}

    \r\n {textServices.findByText('home/popup/3/subtitle', '¡QUE ESTAS ESPERANDO!')}\r\n
    \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Four = ({ history, setPopUpFalse }) => {\r\n const [{ data: session }] = useSession()\r\n const [{ data = [], loading }] = useAxios({\r\n url: GET_RAFFLES_WINNERS,\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}` }\r\n })\r\n const [{ data: prizes = [], loading: load }] = useAxios({\r\n url: GET_PRIZES,\r\n })\r\n const { setLoad } = useContext(LoaderContext)\r\n const [winners, setWinners] = useState<{ name: string, date: Date, id: number, title: string }[]>()\r\n const { height } = useWindowSize()\r\n const [heightList, setHeightList] = useState(500)\r\n\r\n useEffect(() => {\r\n setHeightList(height - 343)\r\n }, [height])\r\n\r\n\r\n useEffect(() => {\r\n if (data.length > 0 && prizes.length > 0) {\r\n setWinners(data.map(winner => ({\r\n name: winner.ganador,\r\n date: winner.sorteoDate,\r\n id: winner.sorteoId,\r\n title: prizes.find(r => r.id === winner.productId)?.title\r\n })))\r\n }\r\n }, [data, prizes])\r\n\r\n useEffect(() => {\r\n setLoad(loading ?? load)\r\n }, [loading, load])\r\n\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n />\r\n
    \r\n

    {textServices.findByText('home/popup/4/title', 'GANADORES')}

    \r\n
    \r\n {\r\n winners?.map(winner => (\r\n
    \r\n

    GANADOR DE {winner?.title}

    \r\n
    \r\n {dayjs(winner?.date).format('DD/MM')}\r\n

    {winner?.name}

    \r\n
    \r\n
    \r\n ))\r\n }\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Five = ({ setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n >\r\n \r\n \r\n \r\n \"popup\r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Six = ({ setPopUpFalse }) => {\r\n return (\r\n
    \r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'HOME - Cerrar informacion del baner', value: '10' })\r\n setPopUpFalse()\r\n }}\r\n >\r\n \r\n \r\n \r\n \"popup\r\n \"popup\r\n \"popup\r\n
    \r\n )\r\n}\r\n\r\nconst SumaSix = ({ setPopUpFalse }) => {\r\n return \r\n}\r\n\r\nexport const popUps = {\r\n 1: One,\r\n 2: Two,\r\n 3: Three,\r\n 4: Four,\r\n 5: Five,\r\n 6: Six,\r\n 'suma-six': SumaSix\r\n}","import { useEffect } from \"react\"\r\nimport { useHistory } from \"react-router-dom\"\r\nimport { popUps } from \"./utils/data\"\r\n\r\nfunction PopUp({ setPopUpFalse, popUp }) {\r\n\r\n const history = useHistory()\r\n\r\n useEffect(() => {\r\n if (!popUp || !popUps[popUp]) return setPopUpFalse()\r\n }, [popUp])\r\n\r\n const Component = popUps[popUp]\r\n\r\n return (\r\n
    \r\n
    \r\n {popUps[popUp] && }\r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default PopUp","import { GET_CARRUSEL, GET_LEVELS } from 'constants/api'\r\nimport axios from 'axios'\r\nimport ButtonNav from 'components/button-nav'\r\nimport GoArrow from 'components/icon/goArrow'\r\nimport LineSteps from 'components/line-steps'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport UsePercentageProfile from 'hooks/use-percentage-profle'\r\nimport { useContext, useEffect, useState } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport Slider from 'react-slick'\r\nimport textServices from 'services/text-services'\r\nimport { useSurveyRedirect } from 'contexts/survey-context/useSurvey'\r\nimport { SurveyTypeEnum } from 'contexts/survey-context/survey.interface'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport CONFIGS from 'build/Config'\r\nimport { DivProgress, DivProgressSecond } from 'theme/home'\r\nimport PopUp from './components/PopUp'\r\nimport { Dots, HrHome, NavContainer, Points } from './style/home.style'\r\nimport { TextHomeSecondary, TitleHome, TextPoints, TextDynamics, FloatImgHome, ContainerTextProgress, TextArrow, TextTotalPoints, TextArrowColor } from './style/text.style'\r\n\r\nconst Type = { 1: 'onclick', 2: 'href', 3: 'to' }\r\n\r\nfunction Home() {\r\n const [{ user, data: session }] = useSession()\r\n const { percentageProfile } = UsePercentageProfile()\r\n const { setLoad, setFooter } = useContext(LoaderContext)\r\n const [carrousel, setCarrusel] =\r\n useState<{ src: string; to?: string; href?: string; id: number; onclick?: string }[]>()\r\n const [asyncSteps, setAsyncSteps] = useState<{ id: number; name: string; imageUrl: string }[]>([])\r\n const [steps, setSteps] = useState<{ name: string; image: string; active?: boolean }[]>([])\r\n const [popUp, setPopUp] = useState()\r\n useSurveyRedirect(SurveyTypeEnum.REGISTER)\r\n\r\n useMainClass('home')\r\n const getAsyncStates = async () => {\r\n setLoad(true)\r\n try {\r\n const { data: steps } = await axios.get<{ id: number; name: string; imageUrl: string }[]>(GET_LEVELS, {\r\n headers: { Authorization: `Bearer ${((session as any)?._tokenResponse as any)?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n if (steps.length > 0) {\r\n setAsyncSteps(steps)\r\n }\r\n const { data: carrousel } = await axios.get<{ imageUrl: string; type: number; url: string }[]>(GET_CARRUSEL, {\r\n headers: { 'Ph-Api-Id': PH_API_ID ?? 1 }\r\n })\r\n if (carrousel.length > 0) {\r\n setCarrusel(\r\n carrousel.map(({ imageUrl, type, url }, index) => ({\r\n src: imageUrl,\r\n [Type[type] ?? 'href']: url,\r\n id: index\r\n }))\r\n )\r\n }\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (asyncSteps?.length > 0) {\r\n setSteps(\r\n asyncSteps?.map(({ id, name, imageUrl }) => ({\r\n id,\r\n name,\r\n image: imageUrl,\r\n active: id === user?.level?.id\r\n }))\r\n )\r\n }\r\n }, [user, asyncSteps])\r\n\r\n useEffect(() => {\r\n setFooter(true)\r\n getAsyncStates()\r\n return () => {\r\n setCarrusel([])\r\n setSteps([])\r\n }\r\n }, [])\r\n\r\n const dots = () => \r\n\r\n const settings = {\r\n centerPadding: carrousel?.length > 1 ? '15px' : '0px',\r\n centerMode: true,\r\n dots: true,\r\n infinite: false,\r\n speed: 500,\r\n autoplaySpeed: 4000,\r\n autoplay: true,\r\n customPaging: dots,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n arrows: false,\r\n afterChange: (currentSlide: number) => { dlTrackEvent('view_promotion', { promotion_id: carrousel[currentSlide]?.id, promotion_name: carrousel[currentSlide]?.to, creative_name: carrousel[currentSlide]?.src, section: 'home' }) }\r\n }\r\n\r\n if (popUp) {\r\n return setPopUp(undefined)} />\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n {textServices.findByText('home/hi', { es: 'Hola', en: 'Hi' })} {user?.firstName}\r\n {textServices.findByText('home/title', { es: '¿Qué quieres hacer?', en: 'What do you want to do?' })}\r\n
    \r\n \r\n {CONFIGS.routesHome.map((route: string, index: number) => (\r\n \r\n ))}\r\n {' '}\r\n {\r\n CONFIGS?.dynamics?.length > 0 && !CONFIGS?.dynamicsBottom ? (\r\n
    \r\n {textServices.findByText('home/dynamics/title', { es: 'DINÁMICAS', en: 'DYNAMICS' })}\r\n \r\n
    \r\n ) : null\r\n }\r\n {CONFIGS?.usePointsHome && (\r\n <>\r\n \r\n
    \r\n
    \r\n \r\n {textServices.findByText('home/points/title', { es: 'Tienes', en: 'You have' })}{' '}\r\n \r\n {user?.totalPoints} {POINTS_NAME}\r\n \r\n \r\n {/* */}\r\n {user?.level?.name}\r\n {/* */}\r\n
    \r\n \r\n
    {' '}\r\n \r\n )}\r\n {CONFIGS?.useProfilePointsHome && (\r\n <>\r\n \r\n \r\n
    \r\n
    \r\n {user?.level?.name}\r\n \r\n {textServices.findByText('home/points/title', { es: 'Tienes', en: 'You have' })}{' '}\r\n \r\n {user?.totalPoints} {POINTS_NAME}\r\n \r\n \r\n
    \r\n \r\n {textServices.findByText('home/arrowTextPointsProfile', `VER ${POINTS_NAME}`)}\r\n \r\n \r\n
    \r\n {' '}\r\n \r\n )}\r\n\r\n {\r\n CONFIGS?.usePointsText && (\r\n \r\n \r\n
    \r\n \r\n {textServices.findByText('home/pointsText', { es: <>TIENES {user?.totalPoints} {POINTS_NAME}, en: <>YOU HAVE {user?.totalPoints} {POINTS_NAME} }, { TOTAL_POINTS: user?.totalPoints, POINTS_NAME: POINTS_NAME })}\r\n \r\n \r\n {textServices.findByText('home/arrowTextPoints', '')}\r\n \r\n \r\n
    \r\n \r\n )\r\n }\r\n\r\n \r\n
    \r\n {\r\n dlTrackEvent('user_interaction', {\r\n action: \"click\",\r\n element: 'ver perfil',\r\n section: \"home\"\r\n })\r\n }}>\r\n \r\n \r\n {\r\n percentageProfile === 100\r\n ? textServices.findByText('home/descriptionComplete', { es: '¡Tus datos están completos!', en: 'Your data is complete!' })\r\n : textServices.findByText('home/description', { es: '¡Completa tus datos!', en: 'Fill in your data!' })\r\n }\r\n \r\n\r\n \r\n \r\n {textServices.findByText('home/arrowText', '')}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {percentageProfile}% {percentageProfile > 30 && textServices.findByText('home/percentageProfile', '')}\r\n \r\n \r\n \r\n
    \r\n \r\n {\r\n CONFIGS?.dynamics?.length > 0 && CONFIGS?.dynamicsBottom ? (\r\n <>\r\n
    \r\n {textServices.findByText('home/dynamics/title', { es: 'DINÁMICAS', en: 'DYNAMICS' })}\r\n \r\n
    \r\n \r\n \r\n ) : null\r\n }\r\n
    \r\n \r\n {carrousel?.map(({ src, to, href, id, onclick }) => {\r\n const processedHref = href?.replace('{{ID}}', user?.id?.toString());\r\n\r\n if (href)\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: href })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: href, creative_name: src, section: 'home' })\r\n }}>\r\n \"carrusel\"\r\n \r\n )\r\n if (to) {\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: href })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: to, creative_name: src, section: 'home' })\r\n }}>\r\n \"carrusel\"\r\n \r\n )\r\n }\r\n return (\r\n {\r\n gtag('event', 'event_to_ga', { event_category: \"Click en Banner\", event_label: \"Abre popup\" })\r\n dlTrackEvent('select_promotion', { promotion_id: id, promotion_name: onclick, creative_name: src, section: 'home' })\r\n setPopUp(onclick)\r\n }}\r\n />\r\n )\r\n })}\r\n \r\n
    \r\n\r\n {\r\n CONFIGS?.useImgInHome && (\r\n \r\n )\r\n }\r\n
    \r\n )\r\n}\r\n\r\nexport default Home\r\n","const Cup = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Cup;","const Point = () => (\r\n \r\n \r\n \r\n)\r\n\r\nexport default Point;","import styled from 'styled-components';\r\nimport { AuctionStatus, AuctionStatusExtend } from '../types'\r\n\r\nexport const DivCardContainer = styled.div.attrs((props: AuctionStatusExtend) => ({\r\n status: props.status,\r\n modal: props.modal,\r\n theme: props.theme\r\n})) `\r\nbackground-color: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBgAndText[props.status].bg};\r\ncolor: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBgAndText[props.status].color};\r\nborder-color: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardBorderColor};\r\nborder-radius: ${(props: AuctionStatusExtend) => !props.modal && props.theme?.auctions.cardRoundedTop};\r\n`\r\n\r\nexport const DivCardTitle = styled.div`\r\nborder-radius: ${(props: AuctionStatusExtend) => props.theme?.auctions.cardRoundedTop};\r\n`\r\n\r\nexport const DivCardOffert = styled.div.attrs((props: AuctionStatus) => ({\r\n status: props.status,\r\n theme: props.theme\r\n})) `\r\nbackground-color: ${(props: AuctionStatus) => props.theme?.auctions.cardOffertBgAndText[props.status].bg};\r\ncolor: ${(props: AuctionStatus) => props.theme?.auctions.cardOffertBgAndText[props.status].color};\r\n`","import Clock from \"components/icon/clock\";\r\nimport Cup from \"components/icon/cup\";\r\nimport Point from \"components/icon/point\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { useCountdown } from \"rooks\";\r\nimport { DivCardContainer, DivCardOffert, DivCardTitle } from \"theme/auction\";\r\n\r\nfunction CardAuctions({ item, setAuction, modal }: any) {\r\n\r\n const count = useCountdown(item?.expires, { interval: 1000 })\r\n const [endTimeTransform, setEndTimeTransform] = useState(null)\r\n\r\n const ofertText = {\r\n 1: { text: 'OFERTA ACTUAL' },\r\n 2: { text: 'OFERTA ACTUAL' },\r\n 3: { text: 'VAS GANANDO', icon: },\r\n 4: { text: 'TE SUPERARON', icon: }\r\n }\r\n\r\n const secondsToString = (seconds: number) => {\r\n let days: any = Math.floor(seconds / 86400);\r\n days = (days < 10) ? '0' + days : days;\r\n let hour: any = Math.floor((seconds % 86400) / 3600);\r\n hour = (hour < 10) ? '0' + hour : hour;\r\n let minute: any = Math.floor((seconds / 60) % 60)\r\n minute = minute < 10 ? '0' + minute : minute\r\n let second: any = seconds % 60\r\n second = second < 10 ? '0' + second : second\r\n return `${days}d ${hour}h ${minute}m ${second}s`\r\n }\r\n\r\n useEffect(() => {\r\n if (count > 0) {\r\n setEndTimeTransform(secondsToString(count))\r\n }\r\n }, [count])\r\n\r\n return (\r\n {\r\n setAuction && setAuction(item)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AUCTIONS - Ver mas sobre la subasta', value: '10' })\r\n }} className={`w-full flex flex-col items-center justify-center ${!modal && 'cursor-pointer'}`}>\r\n {!modal &&\r\n \r\n

    {item?.title}

    \r\n
    \r\n }\r\n
    \r\n
    \r\n \r\n

    {ofertText[item.status].text}

    \r\n

    {ofertText[item.status].icon}{item?.currentOffer}

    \r\n
    \r\n
    \r\n

    Tiempo restante

    \r\n
    \r\n \r\n

    {endTimeTransform}

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default CardAuctions;","import Button from \"components/button\"\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport CardAuctions from \"components/card-auctions\"\r\nimport textServices from \"services/text-services\"\r\nimport { useEffect, useState } from \"react\"\r\n\r\nfunction SelectAuctionCard({ item, setAuction, currentAuction, onSubmit }: any) {\r\n\r\n const [currentOffer, setCurrentOffer] = useState(+item.currentOffer + 200)\r\n const [modalAlert, setModalAlert] = useState(false)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: modalAlert\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [modalAlert])\r\n\r\n const Buttons = {\r\n default: <>\r\n
    \r\n

    TU OFERTA DE {POINTS_NAME}

    \r\n
    \r\n \r\n
    {currentOffer}
    \r\n \r\n
    \r\n
    \r\n \r\n ,\r\n 2: <>\r\n

    Solo puedes participar en 1 subasta por vez.
    Puedes mirar pero tienes que esperar a que termine la que ya tienes activa.

    \r\n \r\n \r\n }\r\n\r\n if (modalAlert) {\r\n return (\r\n <>\r\n {\r\n setModalAlert(false)\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'AUCTIONS - Cerrar modal de alerta para ofertar', value: '10' })\r\n }}\r\n />\r\n
    \r\n
    \r\n

    Pérate, pérate!

    \r\n

    Estás a punto de ofertar {currentOffer} {POINTS_NAME} por {item.title}.
    ¿Segurísimo que quieres ofertar esta cantidad de {POINTS_NAME}?

    \r\n
    \r\n \r\n \r\n
    \r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n
    \r\n

    {item.title}

    \r\n

    {item.description}

    \r\n
    \r\n
    \r\n {Buttons[item.status] ? Buttons[item.status] : Buttons.default}\r\n \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default SelectAuctionCard","import { AxiosError } from \"axios\";\r\nimport ButtonCloseMenu from \"components/button-close\";\r\nimport SelectAuctionCard from \"components/card-auction-select\";\r\nimport CardAuctions from \"components/card-auctions\";\r\nimport { LoaderContext } from \"contexts/loader-context\";\r\nimport { useSession } from \"contexts/session-context\";\r\nimport { useContext, useEffect, useState } from \"react\";\r\nimport { ArrowDown } from \"@icon-park/react\";\r\nimport textServices from \"services/text-services\";\r\nimport ErrorView from \"components/error-view\";\r\n\r\nconst Array = [\r\n {\r\n title: \"2 Boletos vivelatino\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 1,\r\n category: \"Festival\",\r\n id: 1\r\n },\r\n {\r\n title: \"2 Boletos vivelatino\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 2,\r\n category: \"Deporte\",\r\n id: 2\r\n },\r\n {\r\n title: \"2 Boletos vivelatino current\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 3,\r\n category: \"Tecnologia\",\r\n id: 3\r\n },\r\n {\r\n title: \"2 Boletos vivelatino minor\",\r\n urlImg: \"\",\r\n description: \"El festival Vive Latino 2022 se celebrara el proximo 2 y 3 de septiembre en Zaragoza, España. 22 Festival iberoamericano de Cultura Musical, 19 y 20 de marzo de 2022.\",\r\n currentOffer: 28300,\r\n expires: new Date(\"2022-09-10T00:00:00.000Z\"),\r\n status: 4,\r\n category: \"Festival\",\r\n id: 4\r\n },\r\n]\r\n\r\nconst currentAuction = Array.find(item => item.status === (3) || item.status === (4))\r\n\r\nfunction Auctions() {\r\n\r\n // eslint-disable-next-line no-undef\r\n const [{ user }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [auctionSelected, setAuctionSelected] = useState(null)\r\n const [genericError, setGenericError] = useState(null)\r\n const [congrats, setCongrats] = useState(null)\r\n\r\n useEffect(() => {\r\n const event = new CustomEvent('background-color', {\r\n detail: {\r\n shouldUseWhiteBg: congrats || genericError && true\r\n }\r\n })\r\n\r\n window.dispatchEvent(event)\r\n }, [congrats, genericError])\r\n\r\n const handleSubmit = async (currentOffer: number) => {\r\n setLoad(true)\r\n try {\r\n setAuctionSelected(null)\r\n console.log(currentOffer)\r\n setCongrats(true)\r\n } catch (error) {\r\n const err = error as AxiosError\r\n setGenericError(err.response?.data.code || 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n if (genericError) return setGenericError(null)} code={genericError} onRetry={() => setGenericError(null)} />\r\n\r\n if (congrats) {\r\n return (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUBASTAS - Volver atras', value: '10' })\r\n setCongrats(false)\r\n }} />\r\n
    \r\n
    \r\n

    ¡{textServices.findByText('auctions/congrats/title', 'Excelente,')} {user?.firstName}!

    \r\n

    {textServices.findByText('auctions/congrats/description', 'Tu oferta quedó como la más alta. En caso de que alguien más la supere te lo haremos saber para que puedas volver a ofertar si quieres.')}

    \r\n

    TE QUEDAN {user?.totalPoints} {POINTS_NAME}
    VAMOS POR MÁS.

    \r\n
    \r\n
    \r\n \r\n )\r\n }\r\n\r\n if (auctionSelected) {\r\n return (\r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    {textServices.findByText('auctions/title', 'Subastas')}

    \r\n

    Tienes {user?.totalPoints} {POINTS_NAME}

    \r\n
    \r\n
    \r\n

    \r\n ORDENAR POR\r\n \r\n

    \r\n
    \r\n
    \r\n {\r\n currentAuction && (\r\n <>\r\n \r\n

    \r\n {textServices.findByText('auctions/current', 'Puedes seguir mirando las otras ofertas mientras se termina la que ya ofertaste.')}\r\n

    \r\n \r\n )\r\n }\r\n {\r\n Array?.filter((item) => (item.status !== 3 && item.status !== 4)).map((item) => {\r\n return \r\n })\r\n }\r\n
    \r\n );\r\n}\r\n\r\nexport default Auctions;","import { lazy, Suspense } from \"react\"\r\nimport { Redirect, Route } from \"react-router-dom\"\r\nimport RoutesWithNotFound from \"utilities/routes-with-not-found\"\r\nimport { RafflesProvider } from \"./context\"\r\nconst Error = lazy(() => import(\"./views/error\"))\r\nconst Prizes = lazy(() => import(\"./views/prizes\"))\r\nconst Description = lazy(() => import(\"./views/description\"))\r\nconst Winners = lazy(() => import(\"./views/winners\"))\r\nconst Welcome = lazy(() => import(\"./views/welcome\"))\r\n\r\nconst Raffles = () => {\r\n return (\r\n Cargando}>\r\n \r\n \r\n } exact />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Raffles","import ButtonCloseMenu from 'components/button-close'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\n\r\nconst Rules = ({ closeRules }: { closeRules: () => void }) => {\r\n useMainClass('referrals__rules')\r\n\r\n return (\r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/rules/title', {\r\n es: 'Reglas de participación',\r\n en: 'Participation Rules'\r\n })}\r\n

    \r\n
    \r\n {textServices.findByText('referrals/rules/list', <>)}\r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default Rules\r\n","import Button from 'components/button'\r\nimport ButtonCloseMenu from 'components/button-close'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport textServices from 'services/text-services'\r\n\r\nconst Modal = ({ closeModal, toggleRules, data }: { closeModal: () => void; toggleRules: () => void; data: any }) => {\r\n useMainClass('referrals__modal')\r\n\r\n const closeModalFn = async () => {\r\n try {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'close modal',\r\n section: 'referrals'\r\n })\r\n\r\n closeModal()\r\n } catch (error) {\r\n console.log(error)\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n \r\n\r\n

    \r\n {textServices.findByText('referrals/modal/title', {\r\n es: (\r\n <>\r\n ¿Cómo participar?
    Refiere y gana\r\n \r\n ),\r\n en: (\r\n <>\r\n How to participate?
    Refer and earn\r\n \r\n )\r\n })}\r\n

    \r\n\r\n \r\n\r\n
    \r\n {textServices.findByText('referrals/modal/content', <>)}\r\n
    \r\n\r\n \r\n\r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default Modal\r\n","import textServices from 'services/text-services'\r\nimport { Link } from 'react-router-dom'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\n\r\ninterface IProps {\r\n toggleRanking: () => void\r\n}\r\n\r\nconst Header = ({ toggleRanking }: IProps) => {\r\n const navigateToId = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'go to id',\r\n section: 'referrals'\r\n })\r\n }\r\n\r\n const handleBackArrow = () => {\r\n history.back()\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/title', {\r\n es: 'Referir código',\r\n en: 'Refer code'\r\n })}\r\n

    \r\n
    \r\n\r\n {THEME === 'dosequis' ? (\r\n \r\n ) : (\r\n \r\n \"Card\"\r\n

    \r\n {textServices.findByText('referrals/download-id', {\r\n es: 'Descargar ID',\r\n en: 'Download ID'\r\n })}\r\n

    \r\n \r\n )}\r\n
    \r\n )\r\n}\r\n\r\nexport default Header\r\n","import textServices from 'services/text-services'\r\nimport { Data } from '../referrals.interface'\r\nconst ProgressBar = ({ data }: { data: Data }) => {\r\n const referrals = data?.profileCluster?.referredAmount ?? 0\r\n const maxUsers = data?.team.maxUser > 0 ? data?.team.maxUser : 10\r\n\r\n const calculateRange = (): { min: number; max: number } => {\r\n const max = maxUsers\r\n const min = 0\r\n return { min, max }\r\n }\r\n\r\n const calculateProgress = (referrals: number, range: { min: number; max: number }): number => {\r\n const { max } = range\r\n if (referrals > max) {\r\n return 100\r\n }\r\n const progress = (referrals / max) * 100\r\n return Math.min(100, progress)\r\n }\r\n\r\n const calculateDisplayRange = (referrals: number, range: { min: number; max: number }): string => {\r\n const { max } = range\r\n return `${referrals >= 1 && referrals <= 9 ? '0' : ''}${referrals}/${max}`\r\n }\r\n\r\n const range = calculateRange()\r\n const progress = calculateProgress(referrals, range)\r\n const displayRange = calculateDisplayRange(referrals, range)\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    \r\n {displayRange}{' '}\r\n {textServices.findByText('referrals/progress-bar/name', {\r\n es: 'referidos',\r\n en: 'referrals'\r\n })}\r\n

    \r\n
    \r\n
    \r\n

    \r\n {data?.profileCluster?.referralPoints ? '+' : ''}\r\n {data?.profileCluster?.referralPoints ?? '00'} pts\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default ProgressBar\r\n","import { useRef, useState } from 'react'\r\nimport CONFIGS from 'build/Config'\r\nimport Button from 'components/button'\r\nimport { useSession } from 'contexts/session-context'\r\nimport textServices from 'services/text-services'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport { QRCodeCanvas } from 'qrcode.react'\r\nimport { Data } from '../referrals.interface'\r\n\r\nconst Code = ({ data }: { data: Data }) => {\r\n const contentRef = useRef(null)\r\n\r\n const [dynamic, setDynamic] = useState(false)\r\n\r\n const [{ user }] = useSession()\r\n\r\n const getUrlUser = () => {\r\n if (CONFIGS?.buttonsStart.includes('xeerpa')) {\r\n return `${URL_BASE}${process.env.PUBLIC_URL}/login-manager?referralCode=${user?.referralCode}&tointernal=true`\r\n }\r\n return `${URL_BASE}${process.env.PUBLIC_URL}/signup?referralCode=${user?.referralCode}`\r\n }\r\n\r\n const handleCopy = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'copy referral code',\r\n section: 'referrals'\r\n })\r\n\r\n\r\n\r\n navigator.clipboard.writeText(getUrlUser()).then(\r\n () => console.log('text copied'),\r\n () => console.log('error copying text')\r\n )\r\n }\r\n\r\n const handleShare = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: 'share referral code',\r\n section: 'referrals'\r\n })\r\n\r\n window.navigator.share({\r\n title: textServices.findByText('refferal/title', 'Código de referido'),\r\n text: `${textServices.findByText('refferal/text1', `¡Hola! ¡Usa mi código `)} ${user?.referralCode} ${textServices.findByText('refferal/text2', ` para registrarte!`)}`,\r\n url: getUrlUser()\r\n })\r\n }\r\n\r\n const toggleDynamic = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !dynamic ? 'see dynamic' : 'close dynamic',\r\n section: 'referrals'\r\n })\r\n\r\n setDynamic(!dynamic)\r\n }\r\n\r\n return (\r\n
    \r\n

    \r\n {textServices.findByText('referrals/code/title', {\r\n es: 'Comparte tu código para obtener puntos extra por cada nuevo referido y participar por premios especiales.',\r\n en: 'Share your code to earn extra points for each new referral and participate in special prize giveaways.'\r\n })}\r\n

    \r\n\r\n \r\n\r\n
    \r\n

    \r\n {textServices.findByText('referrals/code/share', {\r\n es: 'Comparte tu código',\r\n en: 'Share your code'\r\n })}\r\n

    \r\n\r\n
    \r\n

    {user?.referralCode}

    \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n \r\n\r\n \r\n {textServices.findByText('referrals/code/dynamic/content', {\r\n es: (\r\n

    \r\n Todavía no hay información sobre la dinámica. Vuelve más tarde.\r\n

    \r\n ),\r\n en: (\r\n

    \r\n There is no information about the dynamic yet. Please check back later.\r\n

    \r\n )\r\n })}\r\n {textServices.findByText('referrals/code/dynamic/prize', {\r\n es: (\r\n

    Premio:

    \r\n ),\r\n en: (\r\n

    Prize:

    \r\n )\r\n })}\r\n \"referral\r\n
    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default Code\r\n","import { GET_RANKING_BY_TEAM } from 'constants/api'\r\nimport dayjs from 'dayjs'\r\nimport axios from 'axios'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useEffect, useState } from 'react'\r\nimport { RankingGroup } from 'contexts/groups-context/groups-reducer'\r\nimport textServices from 'services/text-services'\r\n\r\ninterface IProps {\r\n toggleRanking: () => void\r\n team: any\r\n}\r\n\r\nconst Header = ({ toggleRanking }: any) => {\r\n return (\r\n
    \r\n
    \r\n \r\n

    \r\n {textServices.findByText('referrals/rank/title', {\r\n es: 'Ranking referidos',\r\n en: 'Referrals ranking'\r\n })}\r\n

    \r\n
    \r\n\r\n \r\n
    \r\n )\r\n}\r\n\r\nconst Status = ({ team }: any) => {\r\n return (\r\n
    \r\n
    \r\n

    ACTIVO

    \r\n
    \r\n

    Finaliza el {dayjs(team?.team?.validTo).format(\"DD/MM/YYYY\")}

    \r\n
    \r\n )\r\n}\r\n\r\nconst RankingItem = ({ position, name, code, score }: any) => {\r\n const backgroundClass = position <= 3 ? `referrals__ranking__item__${position}` : 'referrals__ranking__item__default'\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n

    {position}

    \r\n
    \r\n\r\n
    \r\n

    {name}

    \r\n

    Código {code}

    \r\n
    \r\n
    \r\n\r\n
    \r\n \"Icon\r\n

    {score}

    \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nconst Ranking = ({ toggleRanking, team }: IProps) => {\r\n const [{ data: session }] = useSession()\r\n const [rankInfo, setRankInfo] = useState<{ profile: RankingGroup | null; ranking: RankingGroup[] }>({\r\n profile: null,\r\n ranking: []\r\n })\r\n\r\n const getRanking = async () => {\r\n try {\r\n if (!session || !team?.team?.id || !team?.profileCluster?.clusterId) return\r\n\r\n const headers = {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n\r\n const URL = GET_RANKING_BY_TEAM.replace(':teamId', `${team.team.id}`).replace(\r\n ':clusterId',\r\n `${team.profileCluster.clusterId}`\r\n )\r\n\r\n const {\r\n data: { profileRanking, ranking }\r\n } = await axios.get<{ profileRanking: RankingGroup; ranking: RankingGroup[] }>(URL, { headers })\r\n\r\n setRankInfo({ profile: profileRanking, ranking })\r\n } catch (error) {\r\n console.error('Error fetching ranking:', error)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getRanking()\r\n }, [team])\r\n\r\n const Position = () => {\r\n return (\r\n
    \r\n
    \r\n {rankInfo?.profile?.position > 0 ? (\r\n <>\r\n

    \r\n Estás en la posición {rankInfo?.profile?.position}\r\n

    \r\n\r\n \r\n \r\n \r\n\r\n
    \r\n \"Referral\r\n

    {rankInfo?.profile?.points}

    \r\n
    \r\n \r\n ) : (\r\n

    Aún no tienes referidos, no estás en ninguna posición.

    \r\n )}\r\n
    \r\n
    \r\n )\r\n }\r\n\r\n const RankingItemMap = () => {\r\n return (\r\n <>\r\n {rankInfo.ranking.length > 0 ? (\r\n rankInfo.ranking\r\n .slice(0, 7)\r\n .map((item, index) => (\r\n \r\n ))\r\n ) : (\r\n

    \r\n {textServices.findByText('referrals/rank/not-available', {\r\n es: 'No hay ranking disponibles',\r\n en: 'No rankings available'\r\n })}\r\n

    \r\n )}\r\n \r\n )\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n {textServices.findByText('referrals/ranking/subtitle', {\r\n es: (\r\n
    \r\n

    \r\n Este es el ranking de referidos, aquí verás a los demás participantes y en qué posición te encuentras.\r\n

    \r\n
    \r\n ),\r\n en: (\r\n
    \r\n

    \r\n This is the referral ranking. Here, you will see the other participants and your current position.\r\n

    \r\n
    \r\n )\r\n })}\r\n\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default Ranking\r\n","import { useEffect, useState } from 'react'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport useMainClass from 'hooks/use-main-cass'\r\nimport { LoadingDiv } from 'theme/loading'\r\nimport Rules from './components/Rules'\r\nimport Modal from './components/Modal'\r\nimport Header from './components/Header'\r\nimport ProgressBar from './components/ProgressBar'\r\nimport Code from './components/Code'\r\nimport { useReferral } from './hook/useReferral'\r\nimport Ranking from './components/Ranking'\r\n\r\nconst Referrals = () => {\r\n useMainClass('referrals')\r\n const [openRules, setOpenRules] = useState(false)\r\n const [{ dynamic, team }, { getReferredTeam, createClusterTeam }] = useReferral()\r\n const [modal, setModal] = useState(true)\r\n const [openRanking, setOpenRanking] = useState(false)\r\n\r\n useEffect(() => {\r\n if (dynamic) getReferredTeam()\r\n }, [dynamic])\r\n\r\n const toggleRules = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !openRules ? 'see rules' : 'close rules',\r\n section: 'referrals'\r\n })\r\n\r\n setOpenRules(!openRules)\r\n }\r\n\r\n const toggleRanking = () => {\r\n dlTrackEvent('user_interaction', {\r\n action: 'click',\r\n element: !openRules ? 'see ranking' : 'close ranking',\r\n section: 'referrals'\r\n })\r\n\r\n setOpenRanking(!openRanking)\r\n }\r\n\r\n const referralCode = async () => {\r\n try {\r\n if (!team?.profileCluster) {\r\n await createClusterTeam()\r\n }\r\n setModal(false)\r\n } catch (error) {\r\n console.error('Error in referralCode:', error)\r\n }\r\n }\r\n\r\n if (!dynamic && !team) {\r\n return \r\n }\r\n\r\n if (openRules) {\r\n return \r\n }\r\n\r\n if (modal) {\r\n return \r\n }\r\n\r\n if (openRanking) {\r\n return \r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n )\r\n}\r\n\r\nexport default Referrals\r\n","import { GET_REFERRED_ACTIVE, GET_REFERRED_TEAM, PUT_CREATE_CLUSTER_TEAM } from 'constants/api'\r\nimport axios from 'axios'\r\nimport { LoaderContext } from 'contexts/loader-context'\r\nimport { useSession } from 'contexts/session-context'\r\nimport { useContext, useEffect, useState } from 'react'\r\n\r\nexport const useReferral = () => {\r\n const [error, setError] = useState()\r\n const { setLoad } = useContext(LoaderContext)\r\n const [dynamic, setDynamic] = useState(null)\r\n const [team, setTeam] = useState(null)\r\n const [{ data: session, user }] = useSession()\r\n\r\n const getReferredActive = async () => {\r\n setLoad(true)\r\n try {\r\n const response = await axios.get(GET_REFERRED_ACTIVE, {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setDynamic(response?.data)\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const getReferredTeam = async () => {\r\n setLoad(true)\r\n\r\n try {\r\n const response = await axios.get(GET_REFERRED_TEAM.replace(':teamId', dynamic?.id), {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n\r\n setTeam(response?.data)\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n const createClusterTeam = async () => {\r\n setLoad(true)\r\n\r\n try {\r\n const formData = new FormData()\r\n\r\n formData.append('file', '')\r\n formData.append(\r\n 'input',\r\n JSON.stringify({ name: `${user?.referralCode}`, ImageFileName: '', ImageContentType: '' })\r\n )\r\n\r\n await axios.put(PUT_CREATE_CLUSTER_TEAM.replace(':teamId', dynamic?.id), formData, {\r\n headers: {\r\n Authorization: `Bearer ${(session as any)._tokenResponse?.idToken}`,\r\n 'Ph-Api-Id': PH_API_ID ?? 1\r\n }\r\n })\r\n } catch (error) {\r\n setError(error?.response?.data?.code ?? 99999)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n getReferredActive()\r\n }, [])\r\n\r\n return [\r\n { dynamic, error, team },\r\n { getReferredTeam, createClusterTeam, setError }\r\n ]\r\n}\r\n","import styled from \"styled-components\";\r\nimport { Title } from \"theme/theme\";\r\nimport { Type } from \"theme/types\";\r\n\r\nexport const TitleSurveyQr = styled(Title)`\r\n ${({theme}: Type) => theme?.trivias?.triviaQr?.title}\r\n`;\r\n\r\nexport const DescriptionSurveyQr = styled.div`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.description}\r\n`;\r\n\r\nexport const ImgSurveyQr = styled.img`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.img}\r\n`;\r\n\r\nexport const ContainerSurveyQr = styled.div`\r\n ${({ theme }: Type) => theme?.trivias?.triviaQr?.container}\r\n`\r\n\r\nexport const TitleSurvey = styled(Title)`\r\n ${({theme}: Type) => theme?.surveys?.text?.title}\r\n`\r\n\r\nexport const TitleSurveyPolaris = styled(Title)`\r\n ${({ theme }: Type) => theme?.surveys?.text?.titlePolaris}\r\n`\r\n\r\nexport const CardContainerSurvey = styled.div` \r\n ${({ theme }: Type) => theme?.surveys?.card?.container}\r\n`\r\n\r\nexport const ImgCardSurvey = styled.img`\r\n ${({ theme }: Type) => theme?.surveys?.card?.img}\r\n`\r\n\r\nexport const ImgBottomSurvey = styled.img`\r\n ${({ theme }: Type) => theme?.surveys?.imgBottom}\r\n`\r\n\r\nexport const TextCardSurvey = styled.p`\r\n ${({ theme }: Type) => theme?.surveys?.card?.text}\r\n`","import styled from 'styled-components'\r\nimport { Type } from '../types'\r\n\r\ninterface Types extends Type {\r\n isSelected: boolean\r\n}\r\n\r\nexport const PSurveyMultiSelectOption = styled.p`\r\n ${(props: Type) => props.theme?.surveys?.label};\r\n`\r\n\r\nexport const SubtitleSurveyLabel = styled.h2`\r\n ${(props: Type) => props.theme?.surveys?.subtitle};\r\n`\r\nexport const SubtitleLabelSurvey = styled.h3`\r\n ${(props: Type) => props.theme?.surveys?.subtitleLabel};\r\n`\r\n\r\nexport const DivSurveyMultiSelectOptionContainer = styled.div.attrs((props: Types) => ({\r\n isSelected: props.isSelected,\r\n ...props\r\n})) `\r\n border-radius: ${(props: Type) => (props.theme?.surveys ?? {})['border-radius']};\r\n ${(props: Types) => props.isSelected ? props.theme?.surveys?.containerSelect : props.theme?.surveys?.container}\r\n`\r\n\r\nexport const ImgSurveyMultiSelectOption = styled.img`\r\n border-radius: ${(props: Type) => (props.theme?.surveys ?? {})['border-radius']};\r\n`","import { Option } from 'contexts/survey-context/survey.interface'\r\nimport { MouseEventHandler, ReactNode, useEffect, useRef, useState } from 'react'\r\nimport {\r\n DivSurveyMultiSelectOptionContainer,\r\n ImgSurveyMultiSelectOption,\r\n PSurveyMultiSelectOption,\r\n SubtitleSurveyLabel,\r\n SubtitleLabelSurvey\r\n} from 'theme/survey'\r\n\r\nexport interface MultiSelectProps {\r\n questionId: number\r\n title: ReactNode\r\n subtitle: string\r\n items?: Option[]\r\n onChange: (key: number, selected: string[]) => void\r\n amountAnswers?: number\r\n columns?: number\r\n}\r\n\r\nconst MultiSelect = (props: MultiSelectProps) => {\r\n const [selected, setSelected] = useState([])\r\n const titleRef = useRef(null)\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n gtag('event', 'Click', {\r\n event_category: GTM_EVENT_CATEGORY,\r\n event_label: 'SURVEY - Seleccionar encuesta',\r\n value: '10'\r\n })\r\n const itemId = event.currentTarget.id as string\r\n const isSelected = selected.includes(itemId)\r\n\r\n if (isSelected) {\r\n setSelected((selectedItems) => selectedItems.filter((id) => id !== itemId))\r\n } else {\r\n const newSelectedList = [...selected]\r\n\r\n // @ts-expect-error El operando derecho de ?? es inaccesible porque el operando izquierdo nunca es nulo .ts(2869)\r\n if (newSelectedList.length >= props?.amountAnswers ?? 1) {\r\n newSelectedList.shift()\r\n }\r\n\r\n newSelectedList.push(itemId)\r\n\r\n setSelected(newSelectedList)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected)\r\n }, [selected, titleRef])\r\n\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n {props.subtitle}\r\n
    \r\n = 3 ? `repeat(${props?.columns ?? 3}, minmax(0, 1fr))` : 'repeat(2, minmax(0, 0.35fr))'\r\n }}\r\n >\r\n {props.items &&\r\n props.items.map(({ optionId, imageUrl, option }) => {\r\n const key = `${optionId}`\r\n const isSelected = selected.includes(key)\r\n\r\n return (\r\n \r\n \r\n {(option && !(props?.columns && props?.columns >= 4)) && (\r\n \r\n {option}\r\n \r\n )}\r\n = 4) && 'min-h-6'}`}\r\n style={{ height: (props?.columns && props?.columns >= 4) && '58.2px' }}\r\n />\r\n \r\n \r\n )\r\n })}\r\n \r\n {\r\n ((props?.columns && props?.columns >= 4)) && (\r\n
    \r\n

    \r\n {\r\n selected?.length\r\n ? props.items.find(item => item.optionId === Number(selected[0]))?.option\r\n : 'Elige la que más te identifique'\r\n }\r\n

    \r\n
    \r\n )\r\n }\r\n \r\n )\r\n}\r\n\r\nexport default MultiSelect\r\n","import { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { SelectGender } from \"theme/theme\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\n\r\nexport interface DropDownProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nconst DropDown = (props: DropDownProps) => {\r\n\r\n const onChange: React.ChangeEventHandler = (event) => {\r\n const itemId = event.currentTarget.value as string;\r\n\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n })\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n\r\n if (itemId === 'SELECCIONA UNA RESPUESTA') return props.onChange(props?.questionId, []);\r\n\r\n return props.onChange(props?.questionId, [itemId]);\r\n };\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n \r\n \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n return (\r\n \r\n {option}\r\n \r\n );\r\n })}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default DropDown;\r\n","import { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\nimport { MouseEventHandler, useEffect, useRef, useState } from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { DivCheckbox, PCheckbox, Checkbox } from \"theme/theme\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\n\r\nexport interface CheckBoxProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nfunction CheckboxMapper(props: CheckBoxProps) {\r\n const [selected, setSelected] = useState([]);\r\n const titleRef = useRef(null);\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n const itemId = event.currentTarget.id as string;\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n }) \r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n if (selected.includes(itemId)) {\r\n return setSelected(selected.filter((item) => item !== itemId));\r\n }\r\n return setSelected((state) => [...state, itemId]);\r\n };\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected);\r\n }, [selected, titleRef]);\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n {props.subtitle}\r\n\r\n
    \r\n
    \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n const key = `${optionId}`;\r\n const isSelected = selected.includes(key);\r\n\r\n return (\r\n \r\n \r\n {option}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default CheckboxMapper","import { MouseEventHandler, useEffect, useRef, useState } from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\nimport Radio from \"components/radio\";\r\nimport { dlTrackEvent } from \"components/dataLayer/dataLayer\";\r\n\r\nexport interface CheckBoxProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[]) => void;\r\n}\r\n\r\nfunction RadioMapper(props: CheckBoxProps) {\r\n const [selected, setSelected] = useState([]);\r\n const titleRef = useRef(null);\r\n\r\n const onClick: MouseEventHandler = (event) => {\r\n const itemId = event.currentTarget.id as string;\r\n dlTrackEvent('user_interaction', {\r\n action: 'select',\r\n element: `${props?.title} :: ${itemId}`,\r\n section: `survey`\r\n }) \r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SURVEY - Seleccionar encuesta', value: '10' })\r\n return setSelected([itemId]);\r\n };\r\n\r\n useEffect(() => {\r\n props.onChange(props?.questionId, selected);\r\n }, [selected, titleRef]);\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n {props.items &&\r\n props.items.map(({ optionId, option }) => {\r\n const key = `${optionId}`;\r\n\r\n return (\r\n \r\n {option}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default RadioMapper","import React from \"react\";\r\nimport { SubtitleSurveyLabel, SubtitleLabelSurvey } from \"theme/survey\";\r\nimport { Option } from \"contexts/survey-context/survey.interface\";\r\n\r\nexport interface TextProps {\r\n questionId: number;\r\n title: string;\r\n subtitle: string;\r\n items?: Option[];\r\n onChange: (key: number, selected: string[], value?: string) => void;\r\n}\r\n\r\nconst TextBox = (props: TextProps) => {\r\n \r\n const onchange = (e: React.ChangeEvent) => {\r\n props.onChange(props?.questionId, [`${props.items[0]?.optionId}`], e.target.value)\r\n }\r\n\r\n return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n \r\n {props.subtitle}\r\n \r\n
    \r\n
    \r\n