{"version":3,"sources":["build/Config.tsx","contexts/online-context/index.tsx","components/header/text.style.ts","components/header/index.tsx","components/utms/useUTMParams.ts","views/playables/context/data.ts","services/photographer.services.ts","components/dataLayer/dataLayer.tsx","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","build/configs/configs.ts","contexts/main-class-context/index.tsx","components/icon/check.tsx","theme/error/index.tsx","components/button/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","views/album/configs/album-config.ts","views/privacy-politics/stylepp.module.scss","constants/api.ts","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","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","hooks/use-main-cass.ts","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-countdown.ts","components/custom-radio/index.tsx","hooks/use-router.ts","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","services/profile-services.ts","components/button-close/index.tsx","components/loading-screen/index.tsx","services/form-builder-services.ts","theme/header/index.tsx","components/input/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","theme/start/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/legal-age/components/style/text.ts","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/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","routes/definition.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","services/survey.services.ts","contexts/survey-context/useSurvey.ts","hooks/use-agegate.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","constants/errors.tsx","hooks/use-white-bg.ts","theme/congrats/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","contexts/client-num-context/index.tsx","theme/theme.tsx","components/header/types.ts","utilities/loadImages.ts"],"names":["CONFIGS","configs","OnlineContext","createContext","useOnline","useContext","isOnline","OnlineProvider","children","useState","navigator","onLine","setIsOnline","handleOnline","toast","dismiss","success","position","handleOffline","loading","checkLocalStorageUpdates","a","offlineUpdater","localStorage","getItem","array","JSON","parse","length","Promise","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","className","menuItemLinkType","toLowerCase","href","url","rel","target","onClick","to","data-url","LinkLocked","aria-disabled","style","opacity","Header","useAgegate","getAgeData","saveAgeData","useSession","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","user","firstName","split","albums","setAlbums","get","ALBUM_GET","headers","Authorization","_tokenResponse","idToken","PH_API_ID","response","console","error","fetchData","PointView","parts","pointsText","formattedPointsText","totalPoints","replace","POINTS_NAME","textServices","findByText","TitleComponent","includes","formattedTitle","src","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","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","getAge","birthDate","isNaN","dayjs","diff","createUserProperties","loginType","birthday","address","hashId","ls","existEventAuth","dataLayer","f","userProperties","userData","userId","undefined","userInfo","age","birthYear","year","country","profile","providerId","platform","evPageView","pageInfo","currentURL","hostName","hostname","pageName","MetaCAPIService","emitPageView","uuidv4","eventName","eventParams","dlSetUserInfo","profileInfo","dlTrackError","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","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","points","setTotalPoints","socialReducer","current","SocialContext","SocialProvider","useSocial","setCurrent","MainContext","MainProvider","classMain","setClassMain","setIntervalId","useTexture","getTotalPoints","ProfileService","getMovements","interval","join","Check","props","width","viewBox","fill","xmlns","d","stroke","SectionError","textColor","Button","disabled","componentClass","PopUp","handleMenu","paramFn","module","exports","surveyReducer","SurveyActionEnum","SET_SURVEYS","surveys","SET_SURVEY","survey","SET_ERROR","SET_PRIZE","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","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","Image","crossOrigin","onload","drawImage","catch","this","getContext","CanvasGeneratorImage","generatemixxImage","loadImage","img","downloadImageAsBase64","imageUser","base64","clearRect","rotate","PI","setTransform","generateheineken00Image","canvasAspect","imageAspect","drawWidth","drawHeight","offsetX","offsetY","generateImageCanva","AlbumConfig","initialConfig","setInitialConfig","RallyType","Historia","Foto","Social","Ticket","Consumo","Card","defaultResponse","pathRallyType","textRallyType","values","RallyStatusEnum","COMPLETED","filters","ranking","titleUpload","viewMore","showSocial","profileMultimediaOutputShare","isTakeFoto","inSubmitShowShareImage","showBackButton","showCallbackButton","showHowToParticipate","validate","useLoaderValidate","useCongrats","useCongratsDirect","howTakePhoto","warningPhoto","imageId","list","handleClick","v1","TERMINADO","urlRedirectAlbumComplete","urlRedirectAlbumProgress","congrats","showButton3","showButton2","isCard","isPhoto","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","XEERPA_CALLBACK","EXTERNAL_CALLBACK","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","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","prizes","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","log","onExit","message","aspectRatio","accept","onChange","e","file","files","reader","FileReader","readAsDataURL","result","placeholder","onBlur","form_name","form_field","form_action","HowDoYouWantToParticipate","setOpenSelectParticipate","setParticipateGroupId","setCallbackParticipate","step","setStep","clusterProfileId","Number","clusterId","fontSize","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","err","getPlayables","validatePlayable","playableId","levelIndex","min","playPlayable","savePlayableData","score","playAgain","reponse","sendScore","changeLevel","deletePrize","PlayableProvider","reducer","EventPlaceEnum","raffleReducer","raffles","selectRaffle","RafflesContext","RafflesProvider","rafflesReducer","raffle","productId","secondaryImageUrl","sortId","sorteoId","description","RaffleAdapter","useRaffles","setRaffles","refetchRaffles","setSelectRaffle","memoramasList","currentMemorama","winner","MemoramaContext","MemoramaProvider","MemoramaReducer","prev","setter","remove","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","Error","defaultValue","acc","replacedText","key","RegExp","React","isValidElement","mapChildren","Children","child","cloneElement","useCountDownSeconds","ms","counter","setCountDown","startCountDown","setStartCountDown","useRef","start","pause","reset","Input","input","inputRadio","CustomRadio","forwardRef","ref","displayName","params","useParams","useHistory","match","useRouteMatch","queryString","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","dontUseSecondBg","dispatchEvent","ErrorListView","buttonMenu","prettyError","prettyErrorDescription","strokeLinecap","listStyle","index","ErrorView","onRetry","onSubRetry","button","prettyErrorButton","subButton","prettyErrorSubButton","buttonText","subButtonText","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","ButtonCloseMenu","bgTransparent","bg","backgroundColor","LoadingScreen","loaderPulse","backgroundImage","circlePulse","strokeOpacitye-width","stroke-strokeMiterlimit","left","top","zIndex","hideSpinningLogo","useText","yup","mixed","required","string","email","max","lowercase","uppercase","number","lessThan","less","moreThan","more","positive","negative","integer","date","yupRequired","notAvailableFields","yupWhen","schemaWhen","schema","concat","formBuilder","shape","formSelectYup","when","matches","EMAIL_REGEXP","oneOf","nullable","BIRTHDAY","PHONE_REGEXP","names","object","formValidateErrors","errorType","options","prototype","hasOwnProperty","call","error_type","error_code","error_message","HeaderST","attrs","headerBackground","headerBackgroundClose","ButtonMenu","buttonOpen","SpanMenu","span","spansButtonVariation","spansButton","SpanMenuAlternative","spansButtonSecondary","Menu","div","menuBackground","menuText","dontUseTextureBg","bgTexture","backgroundRest","Logo","imagesConfig","logo","paddingLogo","Points","p","ModalMessage","h1","trivias","modalMessage","ModalDescription","modalDescription","ModalCancel","modalCancel","ModalCancelP","modalCancelP","PointTextStyle","pointText","ImgMenu","buttonModalAccept","buttonModalAcceptP","variant","innerRef","oninput","mergeRefs","InputWithRef","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","h2","titleTotalPoints","ProfilePointsTotalPoints","ProfilePointsContainerPoints","containerPoints","ProfilePointsTitlePoints","h3","titlePoints","ProfilePointsPoints","Link","ProfileDetailsPointsContainerTotalPoints","details","ProfileDetailsPointsTitleTotalPoints","ProfileDetailsPointsTotalPoints","ProfileDetailsPointsContainerPoints","ProfileDetailsPointsDatePoints","datePoints","ProfileDetailsPointsTitlePoints","ProfileDetailsPointsPoints","ProfileDetailsPointsDescription","ProfileDetailsPointsDescriptionPoints","descriptionPoints","TextStateAccountDate","textStateAccountDate","SurveyTypeEnum","webpackAsyncContext","req","__webpack_require__","o","resolve","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","trivia","showIntroduction","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","fetch","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","stepsNewVersion","noValidate","password","allowReferral","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","welcome","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","notShowFields","notShowButtonInformation","PopUpCoupon","closePopup","timeResult","setProductExchange","extend","showTimePopUp","setShowTimePopUp","dateCountdown","setDateCountdown","expired","setExpired","countDownFn","expiresAt","toDate","historyTracker","newItem","temporalCouponExpiresAt","Clock","captureBtnBgTransparent","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","tracking","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","some","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","changeIdQr","showPointsId","share","ConsumptionProfile","ProfilePoints","setList","fetchPoints","movements","amount","showButtonPoints","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","buttonsStart","linkedAccunts","setLinkedAccunts","handleMetaClick","handleGoogleClick","handleTwitchClick","listSocial","isDisplayInTheme","alreadyLinked","provider","indexOf","isLinked","linked","information","setInformation","setConsumptionCenter","setAddress","setPhone","isAllowRoute","routesProfile","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","FormContainer","isFocused","codeBg","codeBgVariations","redeem","textureName","useTextureTwo","useTextureThree","bgLoader","ButtonGo","codeButtonVariations","codeButton","codeButtonText","codeButtonRadius","btnStyle","FormContainerInput","products","valid","form","formContainerInput","RedeemTextFocus","redeemTextFocus","ImageAndText","StartPopUp","Twitch","Xeerpa","searchParams","has","set","TitleStart","TextStart","customParseFormat","firebaseError","listCommon","socialHorizontal","popUp","startPopUp","common","InputGo","inputGo","ButtonGoRedeem","TriviaStatusEnum","setIsFocused","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","interestsRequired","TriviaModal","onAccept","previousPath","AlertPopUp","DateType","handleRetry","handleNavigate","modalBackgroundTrivias","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","TitleAge","agegate","SubTitleAge","TextTermsAge","terms","TextPolitics","politics","DateInput","DateInputWithRef","textSharedProps","BirthdayInput","setAgeLocal","setFormState","yearRef","monthRef","handleOnChange","placeholderType","placeholderDifferent","minLength","LegalAgeImg","ImgAndText","ButtonVariant","buttonVariant","LegalAge","Agegate","legalAgeDate","GameMemorama","Win","Memorama","Suscribe","setSteps","handleSuscription","setRanking","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","addressUpdateBg","adaptedData","neighborhoodId","AddressAdapter","BackgroundFormAdressUpdate","formAddressUpdate","backgroundFormAdressUpdate","ProfileAddressUpdate","TextOtp","TextOtpTwo","textTwo","TextOtpLabel","TextOtpLabelTwo","labelTwo","TextOtpResend","expires","useDirectPhone","PTime","pTime","TitleOtp","titleOtp","endTime","setEndtime","endTimeTransform","setEndTimeTransform","useCountdown","minute","second","secondsToString","FormPhone","ProfilePhoneUpdate","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","popUps","1","setPopUpFalse","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","routesHome","dynamicsBottom","usePointsHome","useProfilePointsHome","usePointsText","TOTAL_POINTS","onclick","processedHref","useImgInHome","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","String","data-kind","DropDown","CheckboxMapper","RadioMapper","TextBox","Options","SurveyPolaris","updatePolarisSurvey","isOptional","textValue","setTextValue","validateAmountAnwsers","selectedFilter","amountAwnsers","optionIds","demandSpaceId","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","i","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","privacyPolitics","stylespp","wrapperpp","Cookies","cookies","stylecookies","wrappercookies","ToExternal","RedirectView","VOTE","ProfileInstagramUpdate","InstagramAuth","error_reason","FormConsumption","states","setStates","setCities","centers","setCenters","clientNumber","setClientNumber","errorForm","showInputNumber","cityRef","consumptionRef","provided","fontFamily","fontWeight","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","hash","parsedParams","decodeURIComponent","stateProvider","signInWithCustomToken","firebaseAccessToken","firebaseLogin","providerAccessToken","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","version","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","outerBorderColor","outerBorderWidth","innerRadius","innerBorderColor","innerBorderWidth","radiusLineColor","radiusLineWidth","fontStyle","perpendicularText","rouletteUpdater","textDistance","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","backgroundColors","textColors","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","Route","routes","stepper","isStepper","isLegal","mustValidate","currentStatus","statusTime","getEventIdFromPath","isActiveEvent","mustSpin","setMustSpin","setPrizeNumber","wheel","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","classList","disabledScroll","enabledScroll","webPage","Footer","APP_VERSION","FacebookSDK","scriptElement","async","defer","init","appId","cookie","xfbml","AppEvents","logPageView","ComingSoonContainer","comingSoonConfig","comingSoonBackground","ComingSoonImage","comingSoonImage","ComingSoonHtml","logout","ComingSonComponent","ComingSoon","comingSoon","App","useAgegateConfig","ScriptInjector","ONETRUST_KEY","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","Helmet","initializeApp","getElementsByTagName","require","WrappedApp","ready","postMessage","basename","ReactDOM","contentType","unregister","checkValidServiceWorker","serviceWorkerRegistration","TitleLogin","TitleRecovery","titleRecovery","TextRecovery","textRecovery","TextResend","textResend","setUrl","NotFound","RoutesWithNotFound","SurveyService","getSurveys","answerSurvey","surveyId","selectedSurvey","setSelectedSurvey","setSurveyLoading","markAsAnswered","findNextSurvey","actionType","activationType","showAt","isAfter","returnData","autoRedirect","hasVisited","local","previousTime","getTime","ceil","fetchSurveys","minor","recheckValue","setAge","setShowAgegate","setIsMinor","setValues","parsedMonth","parsedDay","monthDays","newDate","isValidDate","parsedDate","DD_MM_YYYY","years","DATE","AGE_GATE_COOKIE","sessionStorage","AGE_GATE_FORMAT","PrizesCouponType","ExchangeContainerModal","exchange","containerModal","ExchangeContainerTop","containerTop","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","METACAPI_BASEURL","makeCall","requestOptions","METACAPI_APITOKEN","debug","emitViewContent","baseObject","emitShare","emitB2C","DivTitleUpload","TitleUpload","ButtonUpload","ButtonTitleUpload","DescriptionContainerUpload","DescriptionTitleUpload","DescriptionTextUpload","ContainerImageUpload","InputLabelUpload","TitleDoneUpload","DescriptionDoneUpload","DescriptionText","inputAgegate","SpanPolitics","spanPolitics","languageES","politics1","politics2","description2","description3","signin","mobile","desktop","arrowText","firstname","birthdate","contact","stateLabel","arrow","stateNotFound","newPasswordConfirm","endroute","right","late","questions1","questions2","exit","cancel","tivias","challenge","onboarding","politic","notFound","subtitleMessage","wifi","buttonId","alreadyUploaded","rules","onBoarding","return","505","10","br","ERRORS","defaultMessage","errorMesg","whitelist","useSecondBackground","setShouldUseWhiteBg","setUseTexture","isInList","SectionCongrats","TitleCongrats","titleCongrats","TextCongrats","textCongrats","PointsCongrats","pointsCongrats","ButtonSecondary","TextButton3","textButton3","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","ClientProvider","Main","secondaryBackground","primaryBackground","dontUseTexture","main","useSecondTexture","useSecondTextureUrl","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","menuId","mandatory","reject","onerror","convertBlobToBase64","onloadend"],"mappings":"2GAAA,IAEMA,EAFN,OAEgBC,EAEDD,O,qJCITE,EAAgBC,wBAAkC,IAkE3CC,EAAY,WAEvB,OADqBC,qBAAWH,GAAxBI,UAIKC,IArEQ,SAAC,GAAkB,IAAhBC,EAAe,EAAfA,SAAe,EACPC,mBAAkBC,UAAUC,QADrB,mBAChCL,EADgC,KACtBM,EADsB,KAGjCC,EAAe,WACnBD,GAAY,GACZE,IAAMC,UACND,IAAME,QAAQ,2CAAsC,CAAEC,SAAU,mBAG5DC,EAAgB,WACpBN,GAAY,GACZE,IAAMC,UACND,IAAMK,QAAQ,oCAA+B,CAAEF,SAAU,mBAGrDG,EAAwB,uCAAG,8BAAAC,EAAA,2DACzBC,EAAiBC,aAAaC,QAAQ,oBADb,sBAGvBC,EAAsDC,KAAKC,MAAML,MAErD,OAALG,QAAK,IAALA,OAAA,EAAAA,EAAOG,QAAS,GALA,gCAMrBC,QAAQC,IAAIL,EAAMM,IAAN,+BAAAV,EAAA,MAAU,6BAAAA,EAAA,6DAASW,EAAT,EAASA,OAAT,SACbC,IAAMD,GADO,mFAAV,wDANS,OAW7BT,aAAaW,QAAQ,kBAAmBR,KAAKS,UAAU,KAX1B,2CAAH,qDA0C9B,OA3BAC,qBAAU,WACR,IAAIC,EAAkB,KAQtB,OANI/B,IACF+B,EAAaC,aAAY,WACvBlB,MACC,MAGE,WACDiB,GACFE,cAAcF,MAGjB,CAAC/B,IAGJ8B,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AC7BwlC,EAAQw+C,IAEVA,EAAE6xB,QAAU,SAACtqF,GACX1nB,QAAQC,MAAR,gCAAuC9D,GAAOurB,GAC9CqqF,EAAOrqF,IAETy4D,EAAEp/E,IAAM5E,MAZZ,4C,sBAgBA,SAAS81G,EAAoBrnG,GAC3B,OAAO,IAAI/Q,SAAQ,SAAC8nC,EAASowE,GAC3B,IAAMzuF,EAAS,IAAIC,WACnBD,EAAO4uF,UAAY,kBAAMvwE,EAAQre,EAAOG,SACxCH,EAAO0uF,QAAUD,EACjBzuF,EAAOE,cAAc5Y,MAIlB,SAAe0I,EAAtB,kC,4CAAO,WAAqCnX,GAArC,iBAAA9C,EAAA,+EAEoB2uC,MAAM7rC,GAF1B,cAEG4D,EAFH,gBAGgBA,EAAS6K,OAHzB,cAGGA,EAHH,gBAIUqnG,EAAoBrnG,GAJ9B,gFAMG,IAAIijB,MAAJ,8CANH,2D,sBAUQza,I","file":"static/js/main.c0d349ca.chunk.js","sourcesContent":["import configs from 'build/configs/configs'\r\n\r\nconst CONFIGS = configs\r\n\r\nexport default CONFIGS;","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 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\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\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\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","/* 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 { 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","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}\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 { IConfigModule } from \"build/types/configs\";\r\n\r\nconst config : IConfigModule = \r\n{\r\n \"version\": \"2.0.0\",\r\n \"allowReferral\": false,\r\n \"filterPrizes\": true,\r\n \"comingSoon\": false,\r\n \"buttonsStart\": [\r\n \"signIn\",\r\n \"signUp\",\r\n \"facebook\",\r\n \"google\"\r\n ],\r\n \"positiveLogoUrls\": [],\r\n \"useSecondBackground\": [\r\n \"/error\",\r\n \"/end\",\r\n \"/social\",\r\n \"/album/:id\",\r\n \"/trivias\",\r\n \"/trivia\",\r\n \"/congrats\",\r\n \"/consumptions\",\r\n \"/prizes/congrats\",\r\n \"/prizes/error\"\r\n ],\r\n \"imageStart\": \"backgroundImage\",\r\n \"welcome\": \"ImgBackground\",\r\n \"legalAgeDate\": true,\r\n \"routesHome\": [\r\n \"SilverID\"\r\n ],\r\n \"routesProfile\": [\r\n \"information\",\r\n \"address\",\r\n \"history\",\r\n \"phone\",\r\n \"identificacion\"\r\n ],\r\n \"notAvailableFields\": [\r\n \"instagram\",\r\n \"interests\",\r\n \"consumptionCenter\",\r\n \"sign\",\r\n \"nickName\"\r\n ],\r\n \"backgroundWhite\": true,\r\n \"trivia\": {\r\n \"showIntroduction\": false,\r\n \"interestsRequired\": false,\r\n \"dontShowButtonExchange\": false\r\n },\r\n \"notShowFields\": [\r\n \"instagram\"\r\n ],\r\n \"startPopUp\": true,\r\n \"triviaQrPopUp\": false,\r\n \"dontShowSocialLogin\": true,\r\n \"showRulesInSocial\": false,\r\n \"album\": {\r\n \"Social\": {\r\n \"list\": {\r\n \"handleClick\": true\r\n },\r\n \"ranking\": {\r\n \"showSocial\": \"\"\r\n },\r\n \"profile\": {\r\n \"showSocial\": \"\"\r\n }\r\n }\r\n },\r\n \"modalBackgroundTrivias\": true,\r\n \"signUp\": {\r\n \"base\": false\r\n },\r\n \"profile\": {\r\n \"notShowButtonInformation\": true,\r\n \"showButtonPoints\": true\r\n },\r\n \"prizes\": {\r\n \"exchangeEnabled\": true\r\n },\r\n \"stepsNewVersion\": true,\r\n \"loaderPulse\": true\r\n}\r\n\r\nexport default config;","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 { 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 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 { 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 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__2jUAF\",\"container-height\":\"styles_container-height__cJuPf\",\"continue\":\"styles_continue__2cljp\"};","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","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__fBkUN\"};","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 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\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","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 { 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 { 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 { 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","/* 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 { 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","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__1MfSO\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"styles_wrapper__1WhPp\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrappercookies\":\"stylecookies_wrappercookies__MqiiN\"};","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 {\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 { 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 { 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","/* 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 // 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`","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 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}\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\t455,\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 = 448;\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\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 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]\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\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 (!data) \r\n\r\n return (\r\n
\r\n \"Imagen\r\n\r\n
\r\n

\r\n Tus tickets\r\n

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

tickets acumulados:

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

tu posición:

\r\n
\r\n {data && (data?.position === 0 ? '-' : `${data?.position}°`)}\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\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 styled from 'styled-components'\r\nimport { FromContainerType, Type } from '../types'\r\n\r\nexport const FormContainer = styled.div.attrs((props: FromContainerType) => ({\r\n isFocused: props.isFocused,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${props => props.isFocused ? props.theme?.start?.codeBg : props.theme?.start?.codeBgVariations};\r\n ${props => (props.theme?.redeem?.useTexture && window.location.pathname.split('/')[2] === 'redeem' && props.isFocused) && `background-image: url('${AZURE_BASE_URL}/${props.theme?.redeem?.textureName}')\r\n ${props.theme?.redeem?.useTextureTwo && `, url('${AZURE_BASE_URL}/textura.${props.theme?.loading?.config?.bgTexture || 'svg'}')`} \r\n ${props.theme?.redeem?.useTextureThree && `, url('${AZURE_BASE_URL}/loader.${props.theme?.loading?.config?.bgLoader || 'svg'}')`};`}\r\n`\r\n\r\nexport const ButtonGo = styled.button.attrs((props: FromContainerType) => ({\r\n isFocused: props.isFocused,\r\n theme: props.theme,\r\n ...props\r\n})) `\r\n background-color: ${props => props.isFocused ? props.theme?.start?.codeButtonVariations : props.theme?.start?.codeButton};\r\n font-size: 1.6em;\r\n font-weight: 900;\r\n color: ${props => props.theme?.start?.codeButtonText};\r\n border-radius: ${props => props.theme?.start?.codeButtonRadius};\r\n ${({ theme }) => theme?.redeem?.btnStyle}\r\n`\r\n\r\nexport const StartImg = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.start?.width};\r\n @media (min-width: 640px) {\r\n width: ${(props: Type) => props.theme?.imagesConfig?.start?.maxWidth};\r\n }\r\n`\r\n\r\nexport const ProductsImg = styled.img`\r\n width: ${(props: Type) => props.theme?.imagesConfig?.products.width};\r\n max-width: ${(props: Type) => props.theme?.imagesConfig?.products.maxWidth};\r\n max-height: ${(props: Type) => props.theme?.imagesConfig?.products.maxHeight};\r\n display: ${(props: Type) => props.theme?.imagesConfig?.products.valid ? 'block' : 'none'};\r\n`\r\n\r\nexport const FormContainerInput = styled.form`\r\n ${(props: Type) => props.theme?.start?.formContainerInput};\r\n`\r\n\r\nexport const RedeemTextFocus = styled.p`\r\n ${(props: Type) => props.theme?.redeem?.redeemTextFocus};\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 { 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 TitleAge = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.agegate?.text?.title}\r\n`\r\n\r\nexport const SubTitleAge = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.agegate?.text?.subtitle}\r\n`\r\n\r\nexport const TextTermsAge = styled(Text)`\r\n font-size: 10px;\r\n ${({ theme }: Type) => theme?.agegate?.text?.terms}\r\n`\r\n\r\nexport const TextPolitics = styled.p`\r\n ${({ theme }: Type) => theme?.agegate?.text?.politics}\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 } 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 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 }] = 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 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) {\r\n history.push('/ranking/suscribe')\r\n } else if (err.response?.data.code) {\r\n history.push(`/error/${err.response?.data.code}`)\r\n }\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\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 return load ? (\r\n <>\r\n ) : (\r\n <>\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\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 }: any) {\r\n const { register, handleSubmit, formState: { errors } } = useForm({ resolver: yupResolver(formServices.formGenerateSchema([\"phoneNumber\"])) })\r\n const { history } = 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: 'MODIFICAR TELEFONO - 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 {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\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 }: 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 }: { handleSubmit: (data: any, setError?: any) => void, user?: UserData }) {\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 { 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() {\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 if (response?.status === 200) {\r\n setUser(response.data)\r\n push('/profile/phone')\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_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\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\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}","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}/xeerpa-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}\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 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 return (\r\n <>\r\n
    \r\n \r\n {props.title}\r\n \r\n {props.subtitle}\r\n
    \r\n = 3 ? 'repeat(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 && (\r\n \r\n {option}\r\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 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