{"version":3,"sources":["build/Config.tsx","utilities/loadImages.ts","contexts/online-context/index.tsx","components/header/text.style.ts","components/header/index.tsx","components/dataLayer/dataLayer.tsx","components/utms/useUTMParams.ts","views/playables/context/data.ts","services/photographer.services.ts","components/birthday-input/wordings.ts","contexts/events-context/index.tsx","views/lineup/index.tsx","utilities/dynamic-manifest.ts","contexts/session-context/session-reducer.ts","contexts/session-context/index.tsx","contexts/social-context/social-reducer.ts","contexts/social-context/index.tsx","components/icon/check.tsx","build/configs/configs.ts","contexts/main-class-context/index.tsx","components/button/index.tsx","theme/error/index.tsx","components/popUps/index.tsx","views/photographer/views/start/styles.module.scss","contexts/survey-context/survey.reducer.ts","contexts/survey-context/survey.provider.tsx","contexts/general-context/general-reducer.ts","contexts/general-context/index.tsx","views/album/configs/album-config.ts","constants/api.ts","views/privacy-politics/stylepp.module.scss","views/album/context/album-reducer.ts","views/album/context/index.tsx","views/collections/context/collections-reducer.ts","views/collections/context/index.tsx","contexts/groups-context/groups-reducer.ts","contexts/groups-context/CreateGroup.tsx","contexts/groups-context/HowDoYouWantToParticipate.tsx","contexts/groups-context/index.tsx","views/prizes/context/prizes-reducer.ts","views/prizes/context/index.tsx","views/playables/context/reducer.ts","views/playables/context/index.tsx","contexts/events-context/reducer.ts","views/raffles/context/raffles-reducer.ts","views/raffles/context/index.tsx","views/raffles/types.tsx","hooks/use-main-cass.ts","views/memorama/context/memorama-reducer.ts","views/memorama/context/index.tsx","views/lineup/hooks/useLineups.ts","hooks/use-offline-data.ts","components/popUps/bottomPopUp.tsx","components/stepper/index.tsx","contexts/loader-context/index.tsx","services/text-services.ts","hooks/use-countdown.ts","hooks/use-router.ts","components/custom-radio/index.tsx","components/icon/SearchIcon.tsx","components/icon/ubicationIcon.tsx","components/icon/bottom-arrow.tsx","components/icon/more.tsx","components/range/components/style/text.ts","components/range/index.tsx","views/album/configs/routes/routes-config.ts","views/album/configs/routes/definitions.ts","views/album/views/multimedia/components/PopupClient.tsx","components/client-num/ClientNum.tsx","views/help/help.module.scss","views/terms-and-conditions/styles.module.scss","views/cookies/stylecookies.module.scss","components/error-view/index.tsx","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/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","views/survey/components/postalCode/steps/one.tsx","views/survey/components/postalCode/steps/two.tsx","components/generic-error/components/button.tsx","views/survey/components/postalCode/steps/three.tsx","views/survey/components/postalCode/index.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/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","build/lang/lang.es.tsx","build/modules.ts","constants/errors.tsx","components/legal-age/components/style/text.ts","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","theme/theme.tsx","contexts/client-num-context/index.tsx","views/trivia-qr/styles/styled.components.ts","components/header/types.ts"],"names":["CONFIGS","configs","url","a","Promise","resolve","reject","i","Image","crossOrigin","onload","console","log","onerror","err","error","src","convertBlobToBase64","blob","reader","FileReader","onloadend","result","readAsDataURL","downloadImageAsBase64","fetch","response","Error","loadImage","OnlineContext","createContext","useOnline","useContext","isOnline","OnlineProvider","children","useState","navigator","onLine","setIsOnline","handleOnline","toast","dismiss","success","position","handleOffline","loading","checkLocalStorageUpdates","offlineUpdater","localStorage","getItem","array","JSON","parse","length","all","map","config","axios","setItem","stringify","useEffect","intervalId","setInterval","clearInterval","window","addEventListener","removeEventListener","Provider","value","TitleHeader","styled","Title","theme","header","text","title","SubTitleHeader","SubTitle","subtitle","TextHeader","Text","TextLevel","level","LinkNormal","link","onAfterAction","onLinkClick","className","menuItemLinkType","toLowerCase","href","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","fetchData","PointView","parts","pointsText","formattedPointsText","totalPoints","replace","POINTS_NAME","textServices","findByText","TitleComponent","includes","formattedTitle","AZURE_BASE_URL","images","alt","PROJECT_NAME","isOpen","height","pointsStatus","singStampEnum","singStamp","ShowLevels","ShowCustomImageLevel","imageUrl","ShowCustomImage","singStampImageUrl","items","sort","b","order","menuItemSizeType","urlParts","filter","Boolean","LinkRallyType","rallyType","find","album","statusId","goalRule","errors","currentAgeGate","clear","process","es","en","getAge","birthDate","isNaN","dayjs","diff","createUserProperties","loginType","birthday","address","hashId","ls","existEventAuth","dataLayer","f","userProperties","userData","userId","undefined","userInfo","age","birthYear","year","country","profile","providerId","platform","evPageView","pageInfo","currentURL","hostName","hostname","pageName","MetaCAPIService","emitPageView","uuidv4","eventName","eventParams","dlSetUserInfo","profileInfo","dlTrackError","useUTMParams","utmParams","setUtmParams","query","URLSearchParams","useLocation","search","utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id","qr","referralCode","levels","moves","popupCover","popupMixCover","ingameMix","ingameBg","ingameMixItems","special","flag","mixAchieved","combinationGif","PhotographerServices","upload","id","post","POST_PHOTOGRAPHER","uploadImageUrl","POST_PHOTOGRAPHER_URL","uploadWithText","POST_PHOTOGRAPHER_WITH_TEXT","validateWithText","ALBUM_VALIDATE_TEXT","GET_PHOTOGRAPHER_ACTIVE","winners","GET_PHOTOGRAPHER_WINNERS","calendar","day","month","calculateAge","Math","floor","EventsContext","EventsProvider","useReducer","eventsReducer","state","dispatch","useAxios","GET_EVENTS","useCache","type","payload","useEvents","setPlaces","places","Start","lazy","Create","Edit","Details","LineupContext","useLineupContext","Lineup","useLineups","eventId","lineupId","useMainClass","lineups","fallback","path","component","exact","manifest","PWA_TITLE","TITLE_NAME","origin","stringManifest","Blob","manifestUrl","URL","createObjectURL","querySelector","setAttribute","dynamicManifest","sessionReducer","parseInt","toString","SessionContext","SessionProvider","stsTokenManager","expirationDate","expirationTime","Date","now","validateExpirationToken","goToLogin","removeItem","reload","Object","keys","setError","setSession","setUser","setPoints","points","setTotalPoints","socialReducer","current","SocialContext","SocialProvider","useSocial","setCurrent","Check","props","width","viewBox","fill","xmlns","d","stroke","version","allowReferral","filterPrizes","buttonsStart","positiveLogoUrls","useSecondBackground","imageStart","welcome","legalAgeDate","routesLinks","small","routesHome","routesProfile","notAvailableFields","privacyPolitics","cookies","trivia","showIntroduction","interestsRequired","notShowFields","Foto","list","handleClick","urlRedirectAlbumProgress","urlRedirectAlbumComplete","ranking","showSocial","titleUpload","isTakeFoto","showHowToParticipate","warningPhoto","useLoaderValidate","validate","Card","viewMore","imageId","howTakePhoto","useCongrats","useCongratsDirect","inSubmitShowShareImage","congrats","showButton3","profileMultimediaOutputShare","comingSoon","captureBtnBgTransparent","marketplace","wheel","backgroundColors","textColors","outerBorderColor","outerBorderWidth","innerBorderColor","innerBorderWidth","innerRadius","radiusLineColor","radiusLineWidth","fontFamily","fontWeight","fontSize","fontStyle","textDistance","perpendicularText","sizeMultiplier","offsetY","tracking","MainContext","MainProvider","classMain","setClassMain","setIntervalId","useTexture","getTotalPoints","ProfileService","getMovements","interval","join","Button","disabled","componentClass","SectionError","textColor","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","drawImage","catch","this","getContext","CanvasGeneratorImage","generatemixxImage","img","imageUser","base64","clearRect","rotate","PI","setTransform","generateheineken00Image","canvasAspect","imageAspect","drawWidth","drawHeight","offsetX","generateImageCanva","AlbumConfig","initialConfig","setInitialConfig","RallyType","Historia","Social","Ticket","Consumo","defaultResponse","pathRallyType","textRallyType","values","RallyStatusEnum","COMPLETED","filters","showBackButton","showCallbackButton","v1","TERMINADO","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","onExit","message","aspectRatio","accept","onChange","e","file","files","placeholder","onBlur","form_name","form_field","form_action","HowDoYouWantToParticipate","setOpenSelectParticipate","setParticipateGroupId","setCallbackParticipate","step","setStep","clusterProfileId","Number","clusterId","defaultState","GroupsContext","GroupsProvider","getGroupsSession","setDynamic","setUpdateGroup","setRemoveGroup","groupId","handleOpenSelectParticipate","teamId","callback","getRanking","profileRanking","prizesReducer","flowTypeId","wareHouse","selectWarehouse","prizeExchange","PrizesContext","PrizesProvider","configuration","prizeFlowTypeId","code","usePrizes","setPrizes","refetchPrizes","setSelectPrize","setFlowType","getWareHouse","setSelectWareHouse","setPrizeExchange","PlayableActionsType","playableReducer","SET_PLAYABLES","playables","SET_ADVANCE","advance","SET_ADVANCE_BASE","SET_LAST_SCORE","lastScore","SET_PLAYABLE","playable","SET_CURRENT_PLAYABLE","currentPlayable","SET_PLAY","SET_CONGRATS","finished","PlayableContext","usePlayable","getPlayables","validatePlayable","playableId","levelIndex","min","playPlayable","savePlayableData","score","playAgain","reponse","sendScore","changeLevel","deletePrize","PlayableProvider","reducer","EventPlaceEnum","raffleReducer","raffles","selectRaffle","RafflesContext","RafflesProvider","rafflesReducer","raffle","productId","secondaryImageUrl","sortId","sorteoId","description","RaffleAdapter","useRaffles","setRaffles","refetchRaffles","setSelectRaffle","prev","setter","remove","memoramasList","currentMemorama","winner","MemoramaContext","MemoramaProvider","MemoramaReducer","locale","transform","dates","eventLineUpItems","forEach","artist","currentDay","beginAt","format","existIndex","adaptedArtist","validFrom","validTo","endAt","imageSrc","stage","eventPlace","artists","offline","setData","handlerFetcher","handlerOffline","json","default","handler","useOfflineData","transformedData","setTransformedData","dataNotTransformed","useLineupsProfile","useLocalStorage","lineup","setLineup","fetcher","ids","lineupOnlyShow","reduce","BottomPopUp","maxHeight","Stepper","total","percentageStep","useMemo","transition","LoaderProvider","head","setHead","footer","setFooter","_texts","language","themeText","findJson","textRaw","modules","lang","defaultValue","acc","replacedText","key","RegExp","React","isValidElement","mapChildren","Children","child","cloneElement","useCountDownSeconds","ms","counter","setCountDown","startCountDown","setStartCountDown","useRef","start","pause","reset","params","useParams","useHistory","match","useRouteMatch","queryString","Input","input","inputRadio","CustomRadio","forwardRef","ref","displayName","SearchIcon","UbicationIcon","cx","cy","r","BottomArrow","More","strokeWidth","TitleRange","range","Range","removeRange","gtag","event_category","GTM_EVENT_CATEGORY","event_label","RoutesConfigAlbum","isActiveWhenAlbumIsComplete","redirect","routeToRedirect","List","Ranking","ImageId","Upload","Profile","RoutesAlbumDefinitions","PopupClient","isError","setClientNum","ClientContext","ClientNum","confirmData","setConfirmData","consumptionData","setConsumptionData","popup","setPopup","setShowInputNumber","handleSubmitForm","clientNum","confirmFn","updateConsumption","consumptionId","internalId","readOnly","city","ContainerError","useBg","setTimeout","CustomEvent","detail","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","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","t","TriviaActionsType","triviaReducer","SET_INTERESTS","SET_TRIVIAS","SET_TRIVIA","currentTrivia","SET_QUESTIONS","question","SET_PRIZES_CATEGORIES","prizesCategory","TriviaContext","useTrivia","mappedInterests","equals","setInterests","getTrivias","validateTrivia","triviaId","isDirectAccess","resetTrivia","exchangePrize","urlRedirect","playTrivia","answerTrivia","questionId","optionId","urlRedirect2","buttonText2","profileTime","time","useRanking","withRanking","TriviaProvider","AppProviders","ScopeEnum","GuardedRoute","rest","lState","isMinor","useRedirect","setRefferal","flowType","toexternal","setExternal","setUtm","encodeURI","isLogged","urlParams","paramArray","utms","notAgegate","consumptionCenter","scope","PUBLIC","isWaiter","PRIVATE","Congrats","setRange","lPrize","removeLPrize","lSticker","removeLSticker","lRange","collectionId","VAR_POINTS","backgroundSize","onTouchStartCapture","DivTextHelp","help","textHelp","DivBgHelp","backgroundHelp","AreaTextHelp","textarea","textHelpArea","TitleHelp","titleHelp","SubtitleHelp","subtitleHelp","ContactTitle","contactTitle","ContactSubtitle","contactSubtitle","CollapsibleStyle","collapsibleStyle","SectionHelp","sectionHelp","ButtonHelp","buttonHelp","CollapsibleStyleP","collapsibleStyleP","Help","loadingFaqs","errorFaqs","faqs","method","manual","nameRef","lastnameRef","emailRef","phoneRef","textRef","submitHandler","lastname","alert","faq","collapsible","trigger","onOpen","dangerouslySetInnerHTML","__html","content","maxLength","useCustomForm","initialValues","setState","setHistory","stepsArray","setStepsArray","htmlSteps","setHtmlSteps","handleChangeState","prevStep","nextStep","backHistory","setQuantitySteps","quantity","Array","from","PasswordRecovery","shouldEnable","mailSent","isDisabled","setIsDisabled","ContainerPassword","inputPassword","container","InputPassword","IconPassword","icon","PasswordWithRef","showPassword","setShowPassword","setType","Password","BorderBlack","isScanningSuccess","getElementsByClassName","display","flexDirection","justifyContent","alignItems","background","ScanQrReferral","toggle","setScanQrResult","webcamRef","scanningRef","setIsScanningSuccess","scanQrFromCamera","webcam","getScreenshot","createElement","imageData","getImageData","qrCode","jsQR","extractReferralCode","audio","screenshotFormat","videoConstraints","facingMode","objectFit","Steps","setPercentageStep","MailSentPassword","isSignUp","setMailSent","EmailPassword","onFormSubmitEndPoint","scanQr","handleScanQr","reValidateMode","getValues","setErrorForm","termsOfUse","setTermsOfUse","privacyPolicy","setPrivacyPolicy","subscribe","setSubscribe","scanQrResult","scanRefresh","setScanRefresh","handleSubmitValidate","referral","typedError","isAxiosError","shouldValidate","referralCodeParams","getReferralCode","stepsNewVersion","noValidate","password","decrease","back","inputOtp","OtpInput","one","two","tree","four","five","six","inputBlur","refs","valueRefs","inputChange","focus","inputArr","onFocus","select","onPaste","codeOtp","codeOtpArray","completeOtpCode","clipboardData","getData","TitleSignUpWelcome","signup","ColorDiv","otp","colorDiv","SubTitleSignUpWelcome","TextSignUpWelcome","TextSecondSignUpWelcome","textSecondary","SubTitleSignUpOtp","TextSignUpOtp","BackBtn","backBtn","Otp","handleConfirm","EMAIL","goBack","TitleEmail","TextEmail","AlreadyParticipate","handleLogin","Done","utmServices","utmRead","auth","getAuth","Login","genericError","setGenericError","done","setDone","setCredentials","setOtp","dataUser","setDataUser","setPrize","handleUser","external","assign","decodeURI","availableFields","isComplete","genre","genreId","base","handleError","errorCode","errorMessage","handleOnSubmit","handleDone","buttons","handleButtonCommon","handleButtonSticker","handleChange","MailVerify","oobCode","replaceAll","verifyMail","apodo","TitlePassword","ChangePassword","password_confirm","PasswordReset","newPassword","Preview","Description","ExChange","StartPrizes","Prizes","useSurveyRedirect","PRIZES","TextProfile","TextProfileSecondary","TextNotFoundHistory","textNav","textNotFoundHistory","TextPref","textPref","PrefPicker","useSet","Set","activeItems","activeItemsSet","substring","endsWith","persist","currentTarget","toggleAttribute","sendInterest","enableButton","size","Information","lastName","notShowButtonInformation","PopUpCoupon","closePopup","timeResult","setProductExchange","extend","showTimePopUp","setShowTimePopUp","dateCountdown","setDateCountdown","expired","setExpired","countDownFn","expiresAt","toDate","historyTracker","newItem","temporalCouponExpiresAt","Clock","toLocaleString","renderer","minutes","seconds","completed","formatDate","isoDate","getUTCDate","padStart","getUTCMonth","getUTCFullYear","Status","statusInfo","class","Prize","setShowDetails","productExchangeCoupon","exchangeAt","orderStatus","fetchHistoryId","token","currentDate","compareDate","CheckIcon","color","aria-hidden","Step","isLast","nextStepCompleted","VerticalStepper","steps","trackingDetail","courier","courierExists","trackingNumber","formattedStep","stepTitle","toUpperCase","checked","addressTitle","street1","neighborhood","formatSteps","NumberOrder","setShowOrderNumber","showDetails","showOrderNumber","buttonConfig","setButtonConfig","getHistory","canExchangeCoupon","buttonConfigs","currier","trakingNumber","temporalCouponCode","configKey","costInPoints","History","showPopUpCoupon","setShowPopUpCoupon","productExchange","gridTemplateColumns","pointsEarned","gridTemplateRows","dynamicCostInPoints","dynamicTitle","dynamicType","Address","streetNumber","shippingDetails","street2","postalCode","Phone","showInstagram","subsection","contactEmail","informationFields","addressFields","UsePercentageProfile","useSurvey","surveyLoading","percentageProfile","setPercentageProfile","requiredField","setRequiredFields","fieldsInfNotCompleted","field","fieldsAddressNotCompleted","fieldsNC","count","fieldsNull","userFieldsCompletedCount","valuePercent","round","InformationIcon","ConsumptionCenterIcon","CardIcon","AZURE_ICONS_URL","PrizesIcon","SiteMapIcon","PreferencesIcon","strokeLinejoin","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","linkedAccunts","setLinkedAccunts","handleMetaClick","handleGoogleClick","handleTwitchClick","listSocial","isDisplayInTheme","alreadyLinked","provider","indexOf","isLinked","linked","information","setInformation","setConsumptionCenter","setAddress","setPhone","isAllowRoute","isAllow","AddressIcon","PhoneIcon","PointsIcon","HistoryIcon","slice","pop","definition","myInformationAdapter","AgegateInput","tagging","birthdayDate","pattern","formName","AgeGender","defaultValues","setErrors","setAgeLocalForm","setBirthday","gender","setGender","birthdayDefault","setBirthdayDefault","ageLS","dateBirthday","getMonth","getGenres","Names","onFormSubmit","FormInformation","quantityStep","newData","getBirthdayLocal","birthdayLocal","birthdayParse","currentYear","YEAR_REGEXP","yearStart","parsedYear","birthdayParseYear","birthdayDayjs","isValid","FormBaseInformation","handleFormSubmit","Welcome","resend","setResend","handleResend","nombre","SignUp","setName","setEmail","setPassword","prizeToShow","setPrizeToShow","setScanQr","catchError","createUserWithEmailAndPassword","emitCompleteRegistration","handleSubmitBase","ImgAllowCookies","allowCookies","AllowCookies","setReferralCode","isFlowType","setIsFlowType","setFirebaseError","setAllowCookies","completeData","consumption","consumptionCenterId","loginSDK","authResponse","FacebookAuthProvider","credential","signInWithCredential","bithdayUser","reloadUserInfo","dateOfBirth","loginResponse","isAccountExistsError","errorKey","FB","login","isHorizontal","GoogleAuthProvider","addScope","signInWithPopup","credentialFromResult","borderColor","padding","Guest","SignIn","BackgroundImage","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","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","DateInput","DateInputWithRef","textSharedProps","BirthdayInput","setAgeLocal","setFormState","yearRef","monthRef","handleOnChange","placeholderType","placeholderDifferent","minLength","LegalAgeImg","agegate","ImgAndText","ButtonVariant","buttonVariant","LegalAge","Agegate","GameMemorama","Win","Memorama","Suscribe","setSteps","handleSuscription","setRanking","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","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","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","setInfo","info","changeStep","answers","provided","outline","singleValue","control","dropdownIndicator","indicatorSeparator","debouncedPostalCode","setDebouncedPostalCode","selectedColonia","setSelectedColonia","searchZipCode","completeField","infoObject","municipality","clearTimeout","paddingLeft","paddingRight","colonia","Left","Right","Tag","lineHeight","tag","StepTwo","setAnswers","currentSlider","setCurrentSlider","initialSlide","prevArrow","nextArrow","corrienteUrbana","StepThree","PostalCode","newStep","Template","submit","setVariant","useFormContext","_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","mapContainerStyle","disableDefaultUI","handleMouseOver","userLocation","searchResult","ContainerInput","searchLocation","handleSearch","errorSearch","handleInputChange","userLocationFn","NewMarket","setWareHouses","useJsApiLoader","googleMapsApiKey","API_KEY_MAPS","whs","getWareHouses","geocoder","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","Accordion","userPoints","initAt","TitleProgress","Progress","setLevels","res","photographerReducer","photos","unshift","PhotographerContext","PhotographerProvider","getPhotographer","typeData","multimedias","getWinners","usePhotographer","setPhotos","setPhoto","photo","Carrousel","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","TriviaPopUp","TriviaQr","redirectToSurvey","TRIVIAQR","triviaQrPopUp","PrivacyPolitics","fetchURL","stylespp","wrapperpp","Cookies","stylecookies","wrappercookies","ToExternal","RedirectView","VOTE","ProfileInstagramUpdate","InstagramAuth","error_reason","FormConsumption","states","setStates","setCities","centers","setCenters","clientNumber","setClientNumber","errorForm","showInputNumber","cityRef","consumptionRef","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","terms","news","API_TOKEN","WifiSuccess","classID","validatorsQuery","DEFAULT_BACKGROUND_COLORS","DEFAULT_TEXT_COLORS","DEFAULT_FONT_WEIGHT","DEFAULT_FONT_STYLE","WEB_FONTS","getRotationDegrees","prizeNumber","numberOfPrizes","randomDif","degreesPerPrize","initialRotation","randomDifference","random","perfectRotation","imperfectRotation","prizeRotation","clamp","val","isCustomFont","getQuantity","prizeMap","characters","roulettePointer","WheelCanvasStyle","drawRadialBorder","ctx","centerX","centerY","insideRadius","outsideRadius","angle","lineTo","WheelCanvas","rouletteUpdater","canvasRef","createRef","drawWheelProps","QUANTITY","startAngle","contentRadius","optionSize","arc","endAngle","save","translate","contentRotationAngle","landscape","_imageHTML","restore","drawWheel","NonDraggableImage","RouletteContainer","RotationContainer","startRotationDegrees","classKey","startSpinningTime","disableInitialAnimation","continueSpinningTime","stopSpinningTime","finalRotationDegrees","RoulettePointerImage","Wheel","mustStartSpinning","onStopSpinning","spinDuration","startingOptionIndex","pointerProps","wheelData","setWheelData","setPrizeMap","setStartRotationDegrees","setFinalRotationDegrees","hasStartedSpinning","setHasStartedSpinning","hasStoppedSpinning","setHasStoppedSpinning","isCurrentlySpinning","setIsCurrentlySpinning","isDataUpdated","setIsDataUpdated","setRouletteUpdater","loadedImagesCounter","setLoadedImagesCounter","totalImages","setTotalImages","isFontLoaded","setIsFontLoaded","mustStopSpinning","charactersLength","charAt","makeClassKey","normalizedSpinDuration","totalSpinningTime","initialMapNum","auxPrizeMap","dataLength","wheelDataAux","fontsToFetch","fontArray","j","prevCounter","uri","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","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","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","App","useAgegateConfig","ScriptInjector","script","ONETRUST_KEY","Helmet","Theme","PersistUTM","isLocalhost","registerValidSW","swUrl","serviceWorker","registration","onupdatefound","installingWorker","installing","onstatechange","controller","onUpdate","onSuccess","reportWebVitals","onPerfEntry","getCLS","getFID","getFCP","getLCP","getTTFB","firebaseConfig","apiKey","FIREBASE_APIKEY","authDomain","FIREBASE_AUTHDOMAIN","projectId","FIREBASE_PROJECTID","storageBucket","FIREBASE_STORAGEBUCKET","messagingSenderId","FIREBASE_MESSAGINGSENDERID","FIREBASE_APPID","measurementId","FIREBASE_MEASUREMENTID","GtagWrapper","iframe","GTM_ID","noscript","innerHTML","insertBefore","childNodes","initializeApp","getElementsByTagName","require","WrappedApp","ready","postMessage","basename","ReactDOM","contentType","unregister","checkValidServiceWorker","serviceWorkerRegistration","TitleLogin","TitleRecovery","titleRecovery","TextRecovery","textRecovery","TextResend","textResend","setUrl","NotFound","RoutesWithNotFound","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","makeCall","requestOptions","METACAPI_BASEURL","METACAPI_APITOKEN","debug","emitViewContent","baseObject","emitShare","emitB2C","DivTitleUpload","TitleUpload","ButtonUpload","ButtonTitleUpload","DescriptionContainerUpload","DescriptionTitleUpload","DescriptionTextUpload","ContainerImageUpload","InputLabelUpload","TitleDoneUpload","DescriptionDoneUpload","ArrowWhite","languageES","legalage","imageType","description2","description3","signin","mobile","desktop","firstname","contact","notFound","acquired","coupon","activate","used","warning","sure","staff","spinner","stateLabel","endroute","rules","exit","typeImage","late","tivias","challenge","cancel","505","509","512","10","1108","7001","received","recovery","send","loader","imgUpload","howToParticipate","onBoarding","isReady","buttonSubmit","alreadyUploaded","button2","buttonBack","buttonCancel","example","marginBottom","cta","found","wheelFortune","events","onboarding","wifi","buttonId","win","lose","ERRORS","defaultMessage","errorMesg","TitleAge","SubTitleAge","TextTermsAge","TextPolitics","politics","whitelist","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","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","InputAgegate","SelectGender","inputSelect","DivCheckbox","inputCheckbox","DivRedeemBottomText","divBottomText","SpanCheckbox","SpanCheckboxActive","spanActive","PCheckbox","Checkbox","H1Steps","H1StepsActive","h1Active","SignInDiv","signIn","SignUpDiv","primary","TitleWaiterPage","waiterPage","secondary","tertiary","Label","ReferralLabel","ReferralInput","InputStyled","ContainerCenterInput","containerCenterInput","StepText","ProgressContainerSteps","ProgressSteps","LabelStreet","labelStreet","SubtitleStreet","subtitleStreet","ErrorInput","errorInput","SubtitleWaiterPage","ClientProvider","TitleTriviaQr","DescriptionTriviaQr","ImgTriviaQr","ContainerTriviaQr","menuId","mandatory"],"mappings":"2GAAA,IAEMA,EAFN,OAEgBC,EAEDD,O,0ICJf,WAAyBE,GAAzB,SAAAC,EAAA,+EACS,IAAIC,SAAQ,SAACC,EAASC,GAC3B,IAAMC,EAAI,IAAIC,MACdD,EAAEE,YAAc,YAChBF,EAAEG,OAAS,WACTC,QAAQC,IAAR,wBAA6BV,IAC7BG,EAAQE,IAEVA,EAAEM,QAAU,SAACC,GACXH,QAAQI,MAAR,gCAAuCb,GAAOY,GAC9CR,EAAOQ,IAETP,EAAES,IAAMd,MAZZ,4C,sBAgBA,SAASe,EAAoBC,GAC3B,OAAO,IAAId,SAAQ,SAACC,EAASC,GAC3B,IAAMa,EAAS,IAAIC,WACnBD,EAAOE,UAAY,kBAAMhB,EAAQc,EAAOG,SACxCH,EAAON,QAAUP,EACjBa,EAAOI,cAAcL,MAIlB,SAAeM,EAAtB,kC,4C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GACJysG,OAAQ,EACRz0G,KAAM,OACN9D,MAAO,0BACP1E,IAAK,QACLud,QAAQ,EACRpS,MAAO,GACP5F,iBAAkB,WAClB23G,WAAW,EACX9xG,iBAAkB,SAEpB,CACEoF,GAAI,GACJysG,OAAQ,EACRz0G,KAAM,MACN9D,MAAO,gCACP1E,IAAK,wBACLud,QAAQ,EACRpS,MAAO,GACP5F,iBAAkB,WAClB23G,WAAW,EACX9xG,iBAAkB,SAEpB,CACEoF,GAAI,GACJysG,OAAQ,EACRz0G,KAAM,UACN9D,MAAO,sBACP1E,IAAK,oBACLud,QAAQ,EACRpS,MAAO,GACP5F,iBAAkB,WAClB23G,WAAW,EACX9xG,iBAAkB,a","file":"static/js/main.1e8ca663.chunk.js","sourcesContent":["import configs from 'build/configs/configs'\r\n\r\nconst CONFIGS = configs\r\n\r\nexport default CONFIGS;","async function loadImage(url: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n const i = new Image();\r\n i.crossOrigin = 'anonymous';\r\n i.onload = () => {\r\n console.log(`Image loaded: ${url}`);\r\n resolve(i);\r\n };\r\n i.onerror = (err) => {\r\n console.error(`Failed to load image: ${url}`, err);\r\n reject(err);\r\n };\r\n i.src = url;\r\n });\r\n}\r\n\r\nfunction convertBlobToBase64(blob: Blob): Promise {\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onloadend = () => resolve(reader.result as string);\r\n reader.onerror = reject;\r\n reader.readAsDataURL(blob);\r\n });\r\n}\r\n\r\nexport async function downloadImageAsBase64(url: string): Promise {\r\n try {\r\n const response = await fetch(url);\r\n const blob = await response.blob();\r\n return await convertBlobToBase64(blob);\r\n } catch (error) {\r\n throw new Error(`Error descargando la imagen: ${error}`);\r\n }\r\n}\r\n\r\nexport default loadImage","import axios, { AxiosRequestConfig } from 'axios'\r\nimport { createContext, useContext, useEffect, useState } from 'react'\r\nimport toast from 'react-hot-toast'\r\n\r\nexport interface OnlineContextProps {\r\n isOnline: boolean\r\n}\r\n\r\nconst OnlineContext = createContext({} as OnlineContextProps)\r\n\r\nconst OnlineProvider = ({ children }) => {\r\n const [isOnline, setIsOnline] = useState(navigator.onLine)\r\n\r\n const handleOnline = () => {\r\n setIsOnline(true)\r\n toast.dismiss()\r\n toast.success('¡Genial tiene conexión nuevamente!', { position: 'bottom-center' })\r\n }\r\n\r\n const handleOffline = () => {\r\n setIsOnline(false)\r\n toast.dismiss()\r\n toast.loading('¡Ups!... Estas sin conexión', { position: 'bottom-center' })\r\n }\r\n\r\n const checkLocalStorageUpdates = async () => {\r\n const offlineUpdater = localStorage.getItem('offline-updater');\r\n if (offlineUpdater) {\r\n const array: { id: string, config: AxiosRequestConfig }[] = JSON.parse(offlineUpdater);\r\n\r\n if (array && array?.length > 0) {\r\n await Promise.all(array.map(async ({ config }) => {\r\n return await axios(config)\r\n }))\r\n }\r\n\r\n localStorage.setItem('offline-updater', JSON.stringify([]));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n let intervalId: any = null;\r\n\r\n if (isOnline) {\r\n intervalId = setInterval(() => {\r\n checkLocalStorageUpdates();\r\n }, 60000);\r\n }\r\n\r\n return () => {\r\n if (intervalId) {\r\n clearInterval(intervalId);\r\n }\r\n }\r\n }, [isOnline])\r\n\r\n\r\n useEffect(() => {\r\n window.addEventListener('offline', handleOffline)\r\n window.addEventListener('online', handleOnline)\r\n\r\n return () => {\r\n window.removeEventListener('offline', handleOffline)\r\n window.removeEventListener('online', handleOnline)\r\n }\r\n }, [])\r\n\r\n return (\r\n \r\n {children}\r\n \r\n )\r\n}\r\n\r\nexport const useOnline = () => {\r\n const { isOnline } = useContext(OnlineContext)\r\n return isOnline\r\n}\r\n\r\nexport default OnlineProvider","import styled from \"styled-components\";\r\nimport { Type } from \"theme/types\";\r\nimport { Title, SubTitle, Text } from '../../theme/theme';\r\n\r\nexport const TitleHeader = styled(Title)`\r\n ${({ theme }: Type) => theme?.header?.text?.title}\r\n`;\r\n\r\nexport const SubTitleHeader = styled(SubTitle)`\r\n ${({ theme }: Type) => theme?.header?.text?.subtitle}\r\n`;\r\n\r\nexport const TextHeader = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.text}\r\n`\r\n\r\nexport const TextLevel = styled(Text)`\r\n ${({ theme }: Type) => theme?.header?.text?.level}\r\n`","/* eslint-disable @typescript-eslint/no-unused-vars */\r\nimport { ALBUM_GET } from 'constants/api'\r\nimport LoadingScreen from 'components/loading-screen'\r\nimport textServices from 'services/text-services'\r\nimport { useGeneralCfg } from 'contexts/general-context'\r\nimport { useEffect, useState, VoidFunctionComponent } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport useRouter from 'hooks/use-router'\r\nimport { useAgegate } from 'hooks/use-agegate'\r\nimport { dlTrackEvent } from 'components/dataLayer/dataLayer'\r\nimport axios from 'axios';\r\nimport { Album } from 'views/album/types'\r\nimport images from '../../images.json'\r\nimport { useSession } from '../../contexts/session-context'\r\nimport {\r\n HeaderST,\r\n ButtonMenu,\r\n SpanMenu,\r\n Menu,\r\n Logo,\r\n Points,\r\n SpanMenuAlternative,\r\n PointTextStyle,\r\n ImgMenu\r\n} from '../../theme/header'\r\nimport { SubTitleHeader, TextHeader, TextLevel, TitleHeader } from './text.style'\r\nimport { singStamp, Item } from './types'\r\n\r\ninterface ILink {\r\n link: Item,\r\n onAfterAction: (text: string) => void;\r\n onLinkClick: (event: React.MouseEvent) => void;\r\n}\r\n\r\nconst LinkNormal = ({ link, onAfterAction, onLinkClick }: ILink) => {\r\n 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","import { UserData } from 'contexts/session-context/session-reducer'\r\nimport dayjs from 'dayjs'\r\nimport MetaCAPIService from 'services/meta-capi.services'\r\n\r\ntype WindowWithDataLayer = Window & {\r\n dataLayer: Record[]\r\n}\r\n\r\nexport declare const window: WindowWithDataLayer\r\n\r\ntype EventNames =\r\n | 'user_interaction'\r\n | 'form_interaction'\r\n | 'login'\r\n | 'sign_up'\r\n | 'error'\r\n | 'view_promotion'\r\n | 'select_promotion'\r\n | 'form_send'\r\n | 'authentication'\r\n\r\nfunction getAge(birthDate: any) {\r\n const nan = isNaN(birthDate)\r\n if (nan) return undefined\r\n const today = dayjs()\r\n const age = today.diff(birthDate, 'year')\r\n return age\r\n}\r\n\r\nexport const createUserProperties = (user: UserData, loginType: string | null) => {\r\n const { birthday, address, hashId } = user\r\n const ls = localStorage.getItem('state')\r\n const data = ls ? JSON.parse(ls) : {}\r\n const birthDate = dayjs(birthday)\r\n const existEventAuth = window.dataLayer?.find((f: any) => { return f?.event === 'authentication' });\r\n \r\n const userProperties = {\r\n event: 'authentication',\r\n userData: {\r\n userId: hashId ?? undefined,\r\n userInfo: {\r\n age: getAge(birthDate) ?? undefined,\r\n birthYear: isNaN(birthDate?.year()) ? undefined : birthDate?.year() ?? undefined,\r\n country: address?.country ?? undefined\r\n },\r\n profile: {\r\n loginType: loginType ?? data?.data?.providerId?.split('.')[0] ?? 'email',\r\n platform: 'web'\r\n }\r\n }\r\n }\r\n \r\n const evPageView = {\r\n event : \"evPageView\",\r\n pageInfo : {\r\n currentURL: window.location.href,\r\n hostName: window.location.hostname,\r\n pageName: window.location.pathname\r\n }\r\n }\r\n\r\n window.dataLayer = window.dataLayer || []\r\n\r\n if (!existEventAuth) {\r\n window.dataLayer.push(userProperties)\r\n window.dataLayer.push(evPageView)\r\n MetaCAPIService.emitPageView(window.location.href, MetaCAPIService.uuidv4())\r\n }\r\n}\r\n\r\nexport const dlTrackEvent = (eventName: EventNames, eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: eventName,\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dlSetUserInfo = (userId: string | number) => {\r\n window.dataLayer.push({\r\n user: {\r\n profile: {\r\n profileInfo: {\r\n userId: userId\r\n }\r\n }\r\n }\r\n })\r\n}\r\n\r\nexport const dlTrackError = (eventParams: any) => {\r\n window.dataLayer.push({\r\n event: 'ga4.trackEvent',\r\n eventName: 'error',\r\n eventParams: eventParams\r\n })\r\n}\r\n\r\nexport const dataLayer = (objAnalitcs: any) => {\r\n window.dataLayer.push(objAnalitcs)\r\n}\r\n","/* eslint-disable */\r\nimport { useEffect, useState } from 'react';\r\nimport { useLocation } from 'react-router-dom';\r\n\r\nconst useQuery = () => {\r\n return new URLSearchParams(useLocation().search);\r\n};\r\n\r\nexport const useUTMParams = () => {\r\n const [utmParams, setUtmParams] = useState<{\r\n utm_source: string;\r\n utm_medium: string;\r\n utm_campaign: string;\r\n utm_term: string;\r\n utm_content: string;\r\n utm_id: string;\r\n qr: string;\r\n referralCode: string;\r\n }>()\r\n \r\n const query = useQuery();\r\n\r\n useEffect(() => {\r\n setUtmParams(\r\n {\r\n utm_source: query.get('utm_source'),\r\n utm_medium: query.get('utm_medium'),\r\n utm_campaign: query.get('utm_campaign'),\r\n utm_term: query.get('utm_term'),\r\n utm_content: query.get('utm_content'),\r\n utm_id: query.get('utm_id'),\r\n qr: query.get('qr'),\r\n referralCode: query.get('referralCode')\r\n }\r\n )\r\n },[])\r\n\r\n return utmParams;\r\n};","const levels = [\r\n // {\r\n // level: 0,\r\n // name: \"CHELADA\",\r\n // moves: 13,\r\n // popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n // popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n // ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n // ingameBg: `playable__lvl__one`,\r\n // ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n // special: `lata_chelada`,\r\n // items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n // flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n // mixAchieved: [\r\n // `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n // `${AZURE_BASE_URL}/logro-vacio.webp`\r\n // ],\r\n // combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n // },\r\n {\r\n level: 1,\r\n name: \"CHELADA\",\r\n moves: 20,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel1_chelada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/portada-game-1.webp`,\r\n ingameBg: `playable__lvl__one`,\r\n ingameMixItems: ['limon_rodaja', 'sal', 'sol'],\r\n special: `lata_chelada`,\r\n items: [\"sol\", \"sal\", \"limon_rodaja\", \"valija\", \"pelota\", \"hoja\", \"lima_gajo\", \"emoji\"],\r\n flag: `${AZURE_BASE_URL}/nivel1_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 2,\r\n name: \"MANGOYADA\",\r\n moves: 15,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel2_mangoyada-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel2_mangoyada-mezcla.webp`,\r\n ingameBg: `playable__lvl__two`,\r\n ingameMixItems: ['mango', 'chamoy', 'sol'],\r\n special: `lata_mangoyada`,\r\n items: [\"sol\", \"chamoy\", \"mango\", \"palmeras\", \"boletos\", \"tomate_chico\", \"limon_gajo\", \"camara_foto\"],\r\n flag: `${AZURE_BASE_URL}/nivel2_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/logro-vacio.webp`\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-magoyada.gif`\r\n },\r\n {\r\n level: 3,\r\n name: \"CLAMATO\",\r\n moves: 10,\r\n popupCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-portada.webp`,\r\n popupMixCover: `${AZURE_BASE_URL}/popup-nivel3_clamato-mezcla.webp`,\r\n ingameMix: `${AZURE_BASE_URL}/nivel3_clamato-mezcla.webp`,\r\n ingameBg: `playable__lvl__three`,\r\n ingameMixItems: ['tomate_grande', 'almeja', 'sol'],\r\n special: `lata_clamato`,\r\n items: [\"sol\", \"almeja\", \"tomate_grande\", \"balde_arena\", \"lima_gajo\", \"mango_gajo\", \"ojotas\", \"lima_rodaja\"],\r\n flag: `${AZURE_BASE_URL}/nievl3_icono.webp`,\r\n mixAchieved: [\r\n `${AZURE_BASE_URL}/nievl1_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl2_logro-insignia.webp`,\r\n `${AZURE_BASE_URL}/nievl3_logro-insignia.webp`,\r\n ],\r\n combinationGif: `${AZURE_BASE_URL}/20puntos-clamato.gif`\r\n },\r\n];\r\n\r\nexport {\r\n levels\r\n}","import { GET_PHOTOGRAPHER_ACTIVE, POST_PHOTOGRAPHER, GET_PHOTOGRAPHER_WINNERS, POST_PHOTOGRAPHER_URL, POST_PHOTOGRAPHER_WITH_TEXT, ALBUM_VALIDATE_TEXT } from 'constants/api'\r\nimport axios from 'axios'\r\n\r\nexport const PhotographerServices = {\r\n upload(id: number | string, data: FormData, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadImageUrl(id: number | string, data: any, session: any) {\r\n return axios.post(POST_PHOTOGRAPHER_URL.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n uploadWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(POST_PHOTOGRAPHER_WITH_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n validateWithText(id: number | string, data: { name: string, body: string }, session: any) { \r\n return axios.post(ALBUM_VALIDATE_TEXT.replace('{ID}', `${id}`), data, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n get(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_ACTIVE, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n },\r\n\r\n winners(session: any) {\r\n return axios.get(GET_PHOTOGRAPHER_WINNERS, {\r\n headers: { Authorization: `Bearer ${session?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID??1 }\r\n })\r\n }\r\n}\r\n","import 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 { SVGProps } from 'react'\r\n\r\nfunction Check(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default Check","import { IConfigModule } from 'build/types/configs'\r\n\r\nconst config: IConfigModule = {\r\n version: '2.0.0',\r\n allowReferral: true,\r\n filterPrizes: true,\r\n buttonsStart: ['signIn', 'signUp', 'facebook', 'google'],\r\n positiveLogoUrls: [],\r\n useSecondBackground: ['/profile', '/trivias', '/end'],\r\n imageStart: 'backgroundImage',\r\n welcome: 'ImgBackground',\r\n legalAgeDate: true,\r\n routesLinks: [\r\n {\r\n path: '/trivias',\r\n text: 'VER TRIVIAS'\r\n },\r\n {\r\n path: '/profile',\r\n text: 'Mi información'\r\n },\r\n {\r\n path: '/help',\r\n text: '¿Tienes alguna duda?',\r\n small: true\r\n },\r\n {\r\n path: '/terms-and-conditions',\r\n text: 'Ver términos y condiciones',\r\n small: true\r\n },\r\n {\r\n path: '/privacy-politics',\r\n text: 'Ver política de privacidad',\r\n small: true\r\n }\r\n ],\r\n routesHome: ['RockID'],\r\n routesProfile: ['information', 'address', 'phone', 'history', 'identificacion'],\r\n notAvailableFields: [\r\n 'instagram',\r\n 'neighborhood',\r\n 'postalCode',\r\n 'city',\r\n 'state',\r\n 'country',\r\n 'street1',\r\n 'streetNumber',\r\n 'curp',\r\n 'address',\r\n 'interests',\r\n 'consumptionCenter',\r\n 'sign'\r\n ],\r\n privacyPolitics: 'MX',\r\n cookies: 'MX',\r\n trivia: {\r\n showIntroduction: false,\r\n interestsRequired: true\r\n },\r\n notShowFields: ['instagram'],\r\n album: {\r\n Foto: {\r\n list: {\r\n handleClick: true,\r\n urlRedirectAlbumProgress: '/album/:id/upload',\r\n urlRedirectAlbumComplete: '/album/:id/ranking'\r\n },\r\n ranking: {\r\n showSocial: 'like',\r\n titleUpload: true\r\n },\r\n profile: {\r\n showSocial: ''\r\n },\r\n upload: {\r\n isTakeFoto: false,\r\n showHowToParticipate: true,\r\n warningPhoto: true,\r\n useLoaderValidate: true,\r\n validate: true\r\n }\r\n },\r\n Card: {\r\n list: {\r\n handleClick: true,\r\n urlRedirectAlbumProgress: '/album/:id/upload'\r\n },\r\n ranking: {\r\n titleUpload: true,\r\n viewMore: true,\r\n showSocial: 'like'\r\n },\r\n imageId: {\r\n showSocial: 'like'\r\n },\r\n upload: {\r\n showHowToParticipate: true,\r\n validate: true,\r\n useLoaderValidate: true,\r\n howTakePhoto: true,\r\n useCongrats: true,\r\n useCongratsDirect: true,\r\n inSubmitShowShareImage: true\r\n },\r\n congrats: {\r\n showButton3: true\r\n },\r\n profile: {\r\n showSocial: 'like|share',\r\n profileMultimediaOutputShare: 'base64'\r\n }\r\n }\r\n },\r\n comingSoon: false,\r\n captureBtnBgTransparent: true,\r\n marketplace: 'v2',\r\n wheel: {\r\n backgroundColors: ['#005943', '#008065'],\r\n textColors: ['#FFF'],\r\n outerBorderColor: 'transparent',\r\n outerBorderWidth: 0,\r\n innerBorderColor: '#eeeadf',\r\n innerBorderWidth: 60,\r\n innerRadius: 0,\r\n radiusLineColor: 'transparent',\r\n radiusLineWidth: 0,\r\n fontFamily: 'Nunito',\r\n fontWeight: 'bold',\r\n fontSize: 20,\r\n fontStyle: 'normal',\r\n textDistance: 60,\r\n perpendicularText: true,\r\n sizeMultiplier: 1.3,\r\n offsetY: 100\r\n },\r\n tracking: false\r\n}\r\n\r\nexport default config\r\n","import { useSession } from 'contexts/session-context'\r\nimport useWhiteBg from 'hooks/use-white-bg'\r\nimport { createContext, useEffect, useState } from 'react'\r\nimport { Main } from 'theme/theme'\r\nimport ProfileService from 'services/profile-services'\r\nexport interface MainContextProps {\r\n classMain: string[]\r\n setClassMain: React.Dispatch>\r\n}\r\n\r\nconst MainContext = createContext({} as MainContextProps)\r\n\r\nconst MainProvider = ({ children }) => {\r\n const [classMain, setClassMain] = useState([])\r\n const [intervalId, setIntervalId] = useState()\r\n const { shouldUseWhiteBg, useTexture } = useWhiteBg()\r\n const [{ data: session }, { setTotalPoints }] = useSession();\r\n\r\n\r\n useEffect(() => {\r\n\r\n const getTotalPoints = async () => {\r\n // eslint-disable-next-line no-undef\r\n const response = await ProfileService.getMovements({ session });\r\n setTotalPoints(response?.data?.totalPoints)\r\n }\r\n\r\n clearInterval(intervalId);\r\n\r\n // Create an interval that increments the count every 1000ms (1 second)\r\n const interval = setInterval(() => {\r\n if (session) {\r\n getTotalPoints();\r\n }\r\n }, 75000);\r\n\r\n setIntervalId(interval);\r\n\r\n // Clean up the interval when the component unmounts\r\n return () => clearInterval(intervalId);\r\n\r\n }, [session])\r\n\r\n\r\n const data = { classMain, setClassMain }\r\n\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n )\r\n}\r\n\r\nexport { MainProvider, MainContext }","import { 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 styled from 'styled-components';\r\nimport { Type } from '../types'\r\n\r\nexport const SectionError = styled.section`\r\n color: ${(props: Type) => props.theme?.error?.textColor};\r\n`\r\n","import ButtonCloseMenu from 'components/button-close'\r\n\r\nfunction PopUp({ children, handleMenu = () => null }: { children: JSX.Element | JSX.Element[], handleMenu: () => void }) {\r\n return (\r\n
\r\n \r\n {children}\r\n
\r\n )\r\n}\r\n\r\nexport default PopUp","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container-grid\":\"styles_container-grid__2G4Lj\",\"container-height\":\"styles_container-height__33FZF\",\"continue\":\"styles_continue__2ZnCU\"};","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","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","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapperpp\":\"stylepp_wrapperpp__2gX13\"};","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 { 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 { Memorama, MemoramaWinner } from '../types'\r\n\r\nexport type MemoramaActionType = 'SET_MEMORAMAS_LIST' | 'SET_MEMORAMA_CURRENT' |'SET_WINNER'\r\n\r\nexport interface MemoramaState {\r\n memoramasList?: Memorama[]\r\n currentMemorama?: Memorama\r\n winner?: MemoramaWinner\r\n}\r\n\r\nexport interface MemoramaAction {\r\n type: MemoramaActionType\r\n payload: MemoramaState | Memorama[] | Memorama | MemoramaWinner\r\n}\r\n\r\nfunction albumReducer(state: MemoramaState, action: MemoramaAction): MemoramaState {\r\n switch (action.type) {\r\n case 'SET_MEMORAMAS_LIST':\r\n return { ...state, memoramasList: action.payload as Memorama[] }\r\n case 'SET_MEMORAMA_CURRENT':\r\n return { ...state, currentMemorama: action.payload as Memorama }\r\n case 'SET_WINNER':\r\n return { ...state, winner: action.payload as MemoramaWinner }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default albumReducer","import { createContext, Dispatch, FunctionComponent, useReducer } from 'react'\r\nimport MemoramaReducer, { MemoramaAction, MemoramaState } from './memorama-reducer'\r\n\r\nexport interface MemoramaContextProps {\r\n state: MemoramaState\r\n dispatch: Dispatch\r\n}\r\n\r\nexport const MemoramaContext = createContext({} as MemoramaContextProps)\r\n\r\nexport const MemoramaProvider: FunctionComponent = ({ children }) => {\r\n const [state, dispatch] = useReducer(MemoramaReducer, {})\r\n\r\n return {children}\r\n}","import { GET_LINEUPS, GET_LINEUPS_PROFILE } from \"constants/api\"\r\nimport dayjs from \"dayjs\";\r\nimport { useContext, useEffect, useState } from \"react\"\r\nimport useOfflineData from \"hooks/use-offline-data\"\r\nimport useLocalStorage from \"hooks/use-local-storage\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport axios from \"axios\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport CONFIGS from \"build/Config\";\r\nimport { IArtist, IArtistDTO, ILineup, ILineupAllDTO } from \"../types\"\r\nimport 'dayjs/locale/es';\r\nimport { useLineupContext } from \"..\";\r\n\r\ndayjs.locale('es');\r\n\r\n\r\nconst transform = (data: ILineupAllDTO): ILineup[] => {\r\n const dates: ILineup[] = []\r\n\r\n data?.eventLineUpItems?.forEach((artist) => {\r\n const currentDay = dayjs(artist?.beginAt).format('YYYY-MM-DD')\r\n const existIndex = dates?.findIndex((item) => item.day === currentDay) \r\n\r\n const adaptedArtist = {\r\n id: artist?.id,\r\n validFrom: artist?.beginAt,\r\n validTo: artist?.endAt,\r\n imageSrc: artist?.imageUrl,\r\n name: artist?.name,\r\n stage: artist?.eventPlace,\r\n description: artist?.description\r\n }\r\n\r\n if (dates[existIndex]) {\r\n dates[existIndex] = {\r\n ...dates[existIndex],\r\n artists: [\r\n ...dates[existIndex].artists,\r\n adaptedArtist\r\n ]\r\n }\r\n } else {\r\n dates.push({\r\n id: currentDay,\r\n day: currentDay,\r\n artists: [\r\n adaptedArtist\r\n ]\r\n })\r\n }\r\n })\r\n\r\n return dates\r\n}\r\n\r\nexport const useLineups = (eventId?: number) => {\r\n const { data } = useOfflineData({ offline: 'lineup-create', url: `${GET_LINEUPS.replace(':id', eventId ? `${eventId}` : '0')}`})\r\n const [ transformedData, setTransformedData ] = useState([])\r\n\r\n useEffect(() => {\r\n if (data) {\r\n setTransformedData(transform(data))\r\n }\r\n },[data])\r\n\r\n\r\n return { data: transformedData, dataNotTransformed: data, eventId: data?.eventId, lineupId: data?.id }\r\n}\r\n\r\nexport const useLineupsProfile = (eventId?: number) => {\r\n const [data, setData] = useState(null)\r\n const { lineups } = useLineupContext()\r\n const [lineup, setLineup] = useLocalStorage('lineup')\r\n const isOnline = useOnline()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const fetcher = async () => {\r\n setLoad(true)\r\n try {\r\n const ids = []\r\n if (CONFIGS.lineupOnlyShow) {\r\n ids.push(...lineups?.reduce((prev, item) => [...prev, ...(item.artists?.map(artist => artist.id))], []))\r\n const data: IArtistDTO[] = lineups?.reduce((prev: IArtist[], item) => [...prev, ...item?.artists], []).map((item) => ({ id: item?.id, beginAt: item?.validTo, endAt: item?.validFrom, description: item?.description, eventPlace: item?.stage, imageUrl: item?.name, name: item?.name }))\r\n setLineup(transform({ eventLineUpItems: data }))\r\n } else if (isOnline) {\r\n const { data: response } = await axios.get(`${GET_LINEUPS_PROFILE.replace(':id', eventId ? `${eventId}` : `0`)}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setLineup(transform(response))\r\n response?.eventLineUpItems?.forEach((item) => ids.push(item?.id))\r\n } else {\r\n lineup?.forEach((item) => {\r\n item?.artists?.forEach((artist) => {\r\n ids.push(artist?.id)\r\n })\r\n })\r\n }\r\n\r\n if (ids.length > 0) {\r\n setData(ids)\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n fetcher()\r\n }, [])\r\n \r\n return data\r\n}","import axios from \"axios\"\r\nimport { LoaderContext } from \"contexts/loader-context\"\r\nimport { useOnline } from \"contexts/online-context\"\r\nimport { useSession } from \"contexts/session-context\"\r\nimport { useContext, useEffect, useState } from \"react\"\r\n\r\ninterface IProps {\r\n url?: string,\r\n offline: string\r\n}\r\n\r\nexport default function useOfflineData ({ offline, url }: IProps){\r\n const isOnline = useOnline()\r\n const [data, setData] = useState()\r\n const [error, setError] = useState()\r\n const [{ data: session }] = useSession()\r\n const { setLoad } = useContext(LoaderContext)\r\n\r\n const handlerFetcher = async () => {\r\n const { data } = await axios.get(`${url}`, { headers: { Authorization: `Bearer ${(session as any)?._tokenResponse?.idToken}`, 'Ph-Api-Id': PH_API_ID ?? 1 } })\r\n setData(data)\r\n }\r\n\r\n const handlerOffline = async () => {\r\n const { default: json } = await import(`build/offline/${offline}.json`)\r\n setData(json[process.env.NODE_ENV])\r\n }\r\n\r\n const handler = async () => {\r\n setLoad(true)\r\n try {\r\n if (isOnline) {\r\n handlerFetcher()\r\n } else {\r\n handlerOffline()\r\n }\r\n } catch (err) {\r\n console.log(err)\r\n } finally {\r\n setLoad(false)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n handler()\r\n }, [])\r\n \r\n\r\n return {data, error, setError}\r\n}","interface IProps {\r\n onExit: () => void\r\n children: JSX.Element\r\n}\r\n\r\nexport default function BottomPopUp({ children, onExit }: IProps) {\r\n return (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {children}\r\n
\r\n
\r\n
\r\n )\r\n}","import { useMemo } from 'react'\r\nimport { StepText, ProgressContainerSteps, ProgressSteps } from 'theme/theme'\r\n\r\ninterface IProps {\r\n current: number\r\n total: number\r\n}\r\n\r\nconst Stepper = ({ current, total }: IProps) => {\r\n\r\n const percentageStep = useMemo(() => {\r\n return (current * 100) / total\r\n }, [current])\r\n\r\n return (\r\n
\r\n \r\n {current} / {total}\r\n \r\n \r\n \r\n \r\n
\r\n )\r\n}\r\n\r\nexport default Stepper\r\n","import { createContext, useState } from 'react'\r\nexport interface LoaderContextProps {\r\n load: boolean\r\n setLoad: any\r\n head: boolean\r\n setHead: any\r\n footer: boolean\r\n setFooter: (value: boolean) => void;\r\n}\r\n\r\nconst LoaderContext = createContext({} as LoaderContextProps)\r\n\r\nconst LoaderProvider = ({ children }) => {\r\n const [load, setLoad] = useState(false)\r\n const [head, setHead] = useState(true)\r\n const [footer, setFooter] = useState(true)\r\n\r\n const data = {\r\n load,\r\n setLoad,\r\n head, \r\n setHead,\r\n footer,\r\n setFooter\r\n }\r\n\r\n return {children}\r\n}\r\n\r\nexport { LoaderProvider, LoaderContext }","import React from 'react';\r\nimport modules from 'build/modules';\r\n\r\nclass TextServices {\r\n\r\n private _texts: {\r\n [key: string]: any;\r\n };\r\n\r\n public language: string;\r\n\r\n constructor() {\r\n const language = navigator.language.split('-')[0]\r\n const themeText = this.findJson()\r\n this.language = 'es'\r\n if (themeText[language]) {\r\n this._texts = themeText[language];\r\n this.language = language;\r\n } else if ((themeText as any)?.es) {\r\n this._texts = (themeText as any)?.es;\r\n } else {\r\n this._texts = themeText;\r\n }\r\n }\r\n \r\n findJson() {\r\n const textRaw = modules?.lang\r\n if (!textRaw) throw new Error('Texts not found');\r\n this._texts = textRaw;\r\n return textRaw;\r\n }\r\n\r\n findByText(path: string, defaultValue?: string | JSX.Element | { es?: string | JSX.Element, en?: string | JSX.Element }, replace?: { [key: string]: string }) {\r\n const pathSeparated = path.split('/');\r\n const text = pathSeparated.reduce((acc: any, item: string) => {\r\n if (!acc || !acc[item]) return null;\r\n return acc[item];\r\n }, this._texts);\r\n \r\n if (!text) {\r\n if (this.language && typeof defaultValue === 'object') {\r\n if (Object.keys(defaultValue ?? {}).includes(this.language)) {\r\n return defaultValue[this.language]\r\n } else if (Object.keys(defaultValue ?? {}).includes('es')) {\r\n return (defaultValue as any)?.es\r\n }\r\n }\r\n\r\n return defaultValue ?? path;\r\n }\r\n \r\n let replacedText = text;\r\n \r\n if (replace && text !== ' ') {\r\n Object.keys(replace).forEach((key) => {\r\n const value = replace[key];\r\n\r\n function mapChildren(children: any) {\r\n return React.Children.map(children, (child: any) => {\r\n if (typeof child === 'string') {\r\n return child.replace(new RegExp(key, 'g'), value);\r\n } else if (React.isValidElement(child)) {\r\n return React.cloneElement(child, {}, mapChildren((child.props as any)?.children));\r\n } else {\r\n return child;\r\n }\r\n });\r\n }\r\n \r\n // Reemplazar en el texto\r\n if (typeof text === 'string') {\r\n replacedText = replacedText.replace(new RegExp(key, 'g'), value);\r\n }\r\n \r\n // Reemplazar en el JSX.Element\r\n if (React.isValidElement(replacedText)) {\r\n const children = mapChildren(replacedText)\r\n \r\n replacedText = React.cloneElement(replacedText, {}, children);\r\n }\r\n });\r\n }\r\n \r\n return replacedText;\r\n }\r\n\r\n}\r\n\r\nconst textServices = new TextServices();\r\n\r\nexport default textServices","/* 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 { 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 { forwardRef } from \"react\"\r\nimport styled from \"styled-components\"\r\nimport { InputType } from \"theme/types\"\r\n\r\nconst Input = styled.input`\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin: 0;\r\n width: 25px;\r\n height: 25px;\r\n border-radius: 50%;\r\n position: relative;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n ::after {\r\n content: \"\";\r\n display: block;\r\n margin: auto;\r\n border-radius: 9999px;\r\n width: 13px;\r\n height: 13.2px;\r\n }\r\n ${({ theme }) => theme?.inputRadio?.input}\r\n`\r\n\r\nconst CustomRadio = forwardRef((props, ref) => {\r\n return \r\n})\r\n\r\nCustomRadio.displayName = 'CustomRadio'\r\n\r\nexport default CustomRadio;","import { SVGProps } from 'react'\r\n\r\nfunction SearchIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default SearchIcon\r\n\r\n\r\n","import { SVGProps } from 'react'\r\n\r\nfunction UbicationIcon(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default UbicationIcon\r\n\r\n\r\n","import React, { SVGProps } from 'react'\r\n\r\nfunction BottomArrow(props: SVGProps) {\r\n return (\r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default BottomArrow","import React from 'react'\r\n\r\nfunction More(props: React.SVGProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n )\r\n}\r\n\r\nexport default More","import { SubTitle, Text, Title } from \"theme/theme\";\r\nimport styled from 'styled-components';\r\nimport { Type } from './../../../../theme/types/generic.interface';\r\n\r\nexport const TitleRange = styled(Title)`\r\n font-size: 2.25rem;\r\n ${({ theme }: Type) => theme?.range?.text?.title}\r\n`\r\n\r\nexport const SubTitleRange = styled(SubTitle)`\r\n font-size: 1rem;\r\n ${({ theme }: Type) => theme?.range?.text?.subtitle}\r\n`\r\n\r\nexport const TextCongratsRange = styled(Text)`\r\n font-size: 10px;\r\n ${({ theme }: Type) => theme?.range?.text?.text}\r\n`","import useLocalStorage from 'hooks/use-local-storage';\r\nimport ButtonCloseMenu from 'components/button-close';\r\nimport { useEffect } from 'react'\r\nimport { RouteComponentProps } from 'react-router-dom';\r\nimport textServices from 'services/text-services';\r\nimport { SectionCongrats } from 'theme/congrats';\r\nimport { TitleRange } from './components/style/text'\r\n\r\n\r\ninterface RangeProps {\r\n data: {\r\n level: { id: number, name: string, imageUrl: string }\r\n }\r\n history: RouteComponentProps[\"history\"],\r\n name: string\r\n}\r\n\r\nfunction Range({ data, history }: RangeProps) {\r\n\r\n const [, , removeRange] = useLocalStorage('range', {})\r\n\r\n useEffect(() => {\r\n removeRange()\r\n }, [])\r\n\r\n return (\r\n <>\r\n {\r\n gtag('event', 'Click', { event_category: GTM_EVENT_CATEGORY, event_label: 'SUSCRIBE - Volver', value: '10' })\r\n history.push('/congrats')\r\n }}\r\n />\r\n \r\n ¡{textServices.findByText('congrats/range/title', { es: 'Vaaaaaaamos ', en: 'Come on' })}!\r\n
\r\n

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

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

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

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

Ha ocurrido
un error

\r\n

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

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

¡Excelente!

\r\n

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

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

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

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

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

\r\n

CONFIRMA QUE LOS DATOS SON CORRECTOS

\r\n
\r\n

{consumptionData?.internalId}

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

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

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

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

\r\n

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

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

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

\r\n \r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default ClientNum\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"collapsible\":\"help_collapsible__12-yb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrapper\":\"styles_wrapper__1EXP1\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"wrappercookies\":\"stylecookies_wrappercookies__1JrA3\"};","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\t457,\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 = 450;\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 { 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