{"version":3,"sources":["webpack:///./src/actionTypes/ditto.js","webpack:///./src/redux/reducers/product.js","webpack:///./src/desktop/components/MainNav/Menu/ContactLens.js","webpack:///./src/desktop/containers/RefundExchange/RefundExchangeFallback.js","webpack:///./src/desktop/components/Common/BlankLoader.js","webpack:///./src/actionCreators/checkout.js","webpack:///./src/desktop/components/CategoryListing/Widgets/BlankWidgets.js","webpack:///./src/config.js","webpack:///./src/desktop/components/CrossCountryStrip/CrossCountryStrip.js","webpack:///./src/redux/reducers/review.js","webpack:///./src/selectors/productCarousel.js","webpack:///./src/redux/reducers/common.js","webpack:///./src/actionTypes/categoryCarousel.js","webpack:///./src/redux/reducers/campaign.js","webpack:///./src/actionCreators/auth.js","webpack:///./src/actionTypes/checkout.js","webpack:///./src/redux/reducers/cart.js","webpack:///./src/redux/reducers/success.js","webpack:///./src/desktop/components/MainNav/Cart/CartFooter.js","webpack:///./src/redux/reducers/auth.js","webpack:///./src/redux/reducers/DataLayer.js","webpack:///./src/redux/reducers/productCarousel.js","webpack:///./src/mobile/components/Panel/Panel.js","webpack:///./src/desktop/components/MainNav/Navigation/Navigation.js","webpack:///./src/desktop/components/TopBarNav/TopBarNav.js","webpack:///./src/redux/reducers/dittoShare.js","webpack:///./src/utils/Customevent.js","webpack:///./src/redux/reducers/gupshupWhatsapp.js","webpack:///./src/mobile/components/AccordionGroup/AccordionGroup.js","webpack:///./src/actionTypes/frameSize.js","webpack:///./src/actionTypes/cart.js","webpack:///./src/desktop/containers/EditPower/ContactLens.js","webpack:///./src/desktop/components/Banner/BannerAndStaticHTML.js","webpack:///./src/actionTypes/header.js","webpack:///./src/sagas/phoneNumberCapture.js","webpack:///./src/sagas/yotpo.js","webpack:///./src/CommonComponents/PowerDetails/PowerGrid.js","webpack:///./src/utils/localStorageHelper.js","webpack:///./src/redux/reducers/shortlist.js","webpack:///./src/CommonComponents/SalesRedirect.js","webpack:///./src/actionTypes/locale.js","webpack:///./src/desktop/components/Common/Loader.js","webpack:///./src/desktop/containers/EditPower/PowerInputs.js","webpack:///./src/actionTypes/myAccount.js","webpack:///./src/desktop/containers/CompareLooks/Loadable.js","webpack:///./src/sagas/category.js","webpack:///./src/sagas/hto.js","webpack:///./src/helpers/apiClient.js","webpack:///./src/sagas/dittoShare.js","webpack:///./src/actionTypes/cmsMapping.js","webpack:///./src/desktop/containers/EditPower/ConfirmationModal.js","webpack:///./src/ReduxAsyncConnect/ReduxAsyncConnect.js","webpack:///./src/sagas/shortlist.js","webpack:///./src/redux/create.js","webpack:///./src/actionTypes/shortlist.js","webpack:///./src/actionTypes/offerCampaign.js","webpack:///./src/actionCreators/cart.js","webpack:///./src/CommonComponents/ReviewsLoadable.js","webpack:///./src/redux/reducers/myAccount.js","webpack:///./src/desktop/components/YotpoWidgets/InstaGalleryLoadable.js","webpack:///./src/desktop/containers/EditPower/PackageGroup.js","webpack:///./src/desktop/components/MainNav/Menu/SubMenu.js","webpack:///./src/desktop/components/PowerUpdate/PowerUpdate.js","webpack:///./src/actionTypes/phoneNumberCapture.js","webpack:///./src/redux/reducers/footer.js","webpack:///./src/sagas/categoryCarousel.js","webpack:///./src/CommonComponents/PowerDetails/PowerDetails.js","webpack:///./src/sagas/cart.js","webpack:///./src/actionTypes/auth.js","webpack:///./src/helpers/countryConfig.js","webpack:///./src/redux/reducers/locale.js","webpack:///./src/desktop/components/MainNav/Menu/GenderMenu.js","webpack:///./src/desktop/components/Common/Shortlist.js","webpack:///./src/sagas/newMSiteOfflineSalesFlow.js","webpack:///./src/desktop/containers/RetryPayment/Loadable.js","webpack:///./src/actionTypes/DTM.js","webpack:///./src/redux/reducers/frameSize.js","webpack:///./src/desktop/components/MainNav/Logo.js","webpack:///./src/redux/reducers/categoryCarousel.js","webpack:///./src/redux/reducers/cmsMapping.js","webpack:///./src/CommonComponents/JusPayment/JusPayment.js","webpack:///./src/desktop/components/Footer/DownloadApp.js","webpack:///./src/redux/reducer.js","webpack:///./src/desktop/components/MainNav/Cart/CartItem.js","webpack:///./src/CommonComponents/Loader/Loader.js","webpack:///./src/redux/reducers/offerCampaign.js","webpack:///./src/desktop/components/MainNav/Cart/CartItems.js","webpack:///./src/redux/reducers/neft.js","webpack:///./src/Catalog/Catalog.js","webpack:///./src/selectors/campaign.js","webpack:///./src/redux/reducers/qrCode.js","webpack:///./src/actionTypes/review.js","webpack:///./src/redux/reducers/phoneNumberCapture.js","webpack:///./src/cookie.js","webpack:///./src/desktop/components/MainNav/Cart/Cart.js","webpack:///./src/redux/reducers/order.js","webpack:///./src/actionTypes/common.js","webpack:///./src/desktop/components/MainNav/LoginPanel.js","webpack:///./src/sagas/ditto.js","webpack:///./src/actionTypes/productCarousel.js","webpack:///./src/redux/reducers/home.js","webpack:///./src/actionCreators/product.js","webpack:///./src/desktop/components/Checkout/PreSales/PreSales.js","webpack:///./src/sagas/product.js","webpack:///./src/actionCreators/editPower.js","webpack:///./src/actionCreators/category.js","webpack:///./src/actionTypes/product.js","webpack:///./src/desktop/components/Checkout/CheckoutHeader/CheckoutHeader.js","webpack:///./src/desktop/containers/NotFound/Loadable.js","webpack:///./src/desktop/containers/ForgotPassword/Loadable.js","webpack:///./src/utils/validation.js","webpack:///./src/actionTypes/hto.js","webpack:///./src/desktop/containers/EditPower/ItemInfo.js","webpack:///./src/utils/sessionStorageHelper.js","webpack:///./src/redux/reducers/hto.js","webpack:///./src/CommonComponents/FrameSize/Loadable.js","webpack:///./src/actionTypes/savedCards.js","webpack:///./src/desktop/containers/MyAccount/Loadable.js","webpack:///./src/desktop/containers/Home/Loadable.js","webpack:///./src/desktop/containers/Success/Loadable.js","webpack:///./src/sagas/order.js","webpack:///./src/sagas/success.js","webpack:///./src/desktop/components/SearchBar/SearchBar.js","webpack:///./src/routes/desktop-routes.js","webpack:///./src/desktop/containers/EditPower/EditPowerContainer.js","webpack:///./src/sagas/store.js","webpack:///./src/CommonComponents/PowerDetails/PowerStatusMessage.js","webpack:///./src/desktop/containers/ResetPassword/Loadable.js","webpack:///./src/sagas/productCarousel.js","webpack:///./src/sagas/common.js","webpack:///./src/desktop/components/MainNav/MainNav.js","webpack:///./src/CommonComponents/Spinner/Spinner.js","webpack:///./src/actionCreators/ditto.js","webpack:///./src/desktop/components/MainNav/MainMenu/MainMenu.js","webpack:///./src/redux/reducers/store.js","webpack:///./src/CommonComponents/HTORedirect/HTORedirect.js","webpack:///./src/actionTypes/editPower.js","webpack:///./src/selectors/returnExchange.js","webpack:///./src/actionTypes/success.js","webpack:///./src/redux/reducers/newMSiteOfflineSalesFlow.js","webpack:///./src/redux/reducers/editPower.js","webpack:///./src/redux/reducers/header.js","webpack:///./src/desktop/containers/EditPower/power-utils.js","webpack:///./src/actionTypes/footer.js","webpack:///./src/actionCreators/footer.js","webpack:///./src/actionCreators/campaign.js","webpack:///./src/actionTypes/gupshupWhatsapp.js","webpack:///./src/actionTypes/dittoShare.js","webpack:///./src/sagas/auth.js","webpack:///./src/actionTypes/category.js","webpack:///./src/selectors/home.js","webpack:///./src/sagas/DTM.js","webpack:///./src/actionTypes/DataLayer.js","webpack:///./src/sagas/address.js","webpack:///./src/actionCreators/success.js","webpack:///./src/desktop/components/Modal/Modal.js","webpack:///./src/sagas/responseDataManipulator.js","webpack:///./src/sagas/savedCards.js","webpack:///./src/sagas/locale.js","webpack:///./src/CommonComponents/ChatBot/Loadable.js","webpack:///./src/client_desktop.js","webpack:///./src/actionTypes/yotpo.js","webpack:///./src/desktop/components/BlankLoader/BlankLoader.js","webpack:///./src/sagas/qrCode.js","webpack:///./src/desktop/components/MainNav/HomeEyeCheckUp/HomeEyeCheckUp.js","webpack:///./src/sagas/myAccount.js","webpack:///./src/redux/reducers/returnExchange.js","webpack:///./src/desktop/containers/QRPayment/Loadable.js","webpack:///./src/sagas/home.js","webpack:///./src/redux/reducers/address.js","webpack:///./src/locales.js","webpack:///./src/CommonComponents/JusPayment/ConfirmJusPayment.js","webpack:///./src/desktop/components/MainNav/Menu/Menu.js","webpack:///./src/sagas/state.js","webpack:///./src/sagas/campaign.js","webpack:///./src/desktop/containers/EditPower/OrderInfo.js","webpack:///./src/sagas/neft.js","webpack:///./src/actionCreators/yotpo.js","webpack:///./src/sagas/index.js","webpack:///./src/actionCreators/order.js","webpack:///./src/desktop/components/AuthModal/AuthModalLoadable.js","webpack:///./src/sagas/footer.js","webpack:///./src/redux/reducers/yotpo.js","webpack:///./src/actionCreators/common.js","webpack:///./src/actionTypes/neft.js","webpack:///./src/desktop/containers/EditPower/Accessories.js","webpack:///./src/actionTypes/home.js","webpack:///./src/desktop/components/Footer/Footer.js","webpack:///./src/actionCreators/locale.js","webpack:///./src/actionTypes/order.js","webpack:///./src/desktop/containers/EditPower/PowerGlass.js","webpack:///./src/sagas/collectionPage.js","webpack:///./src/utils/asyncMatchRoutes.js","webpack:///./src/CommonComponents/Helmet/AppHelmet.js","webpack:///./src/desktop/containers/Header/Header.js","webpack:///./src/actionTypes/address.js","webpack:///./src/actionTypes/newMSiteOfflineSalesFlow.js","webpack:///./src/RedisMappingLoadable.js","webpack:///./src/actionTypes/qrCode.js","webpack:///./src/redux/reducers/collectionPage.js","webpack:///./src/redux/reducers/category.js","webpack:///./src/redux/reducers/DTM.js","webpack:///./src/utils/DataLayer.js","webpack:///./src/sagas/gupshupWhatsapp.js","webpack:///./src/utils/DTM.js","webpack:///./src/actionTypes/collectionPage.js","webpack:///./src/actionTypes/store.js","webpack:///./src/desktop/components/ErrorBoundaries/ErrorBoundary.js","webpack:///./src/desktop/containers/App/App.js","webpack:///./src/actionTypes/campaign.js","webpack:///./src/desktop/components/Footer/FollowUs.js","webpack:///./src/actionCreators/header.js","webpack:///./src/desktop/containers/EditPower/ZeroPower.js","webpack:///./src/actionCreators/home.js","webpack:///./src/desktop/components/Checkout/Loadable.js","webpack:///./src/desktop/components/MainNav/Menu/CategoryMenu.js","webpack:///./src/sagas/offerCampaign.js","webpack:///./src/sagas/returnExchange.js","webpack:///./src/desktop/containers/Summary/Loadable.js","webpack:///./src/desktop/components/MainNav/Menu/GridMenu.js","webpack:///./src/sagas/review.js","webpack:///./src/sagas/checkout.js","webpack:///./src/redux/reducers/ditto.js","webpack:///./src/CommonComponents/HTO/layouts/HTO/Loadable.js","webpack:///./src/utils/helper.js","webpack:///./src/sagas/frameSize.js","webpack:///./src/actionTypes/returnExchange.js","webpack:///./src/sagas/header.js","webpack:///./src/redux/reducers/savedCards.js","webpack:///./src/redux/reducers/checkout.js"],"names":["prevState","initialState","action","type","actionTypes","PRODUCT_DATA_LOAD","Object","assign","loading","loaded","productData","PRODUCT_DATA_SUCCESS","data","modifiedProductData","staticDTM","successExpress","PRODUCT_DATA_FAIL","error","DITTO_IMG_EMAIL_SUCCESS","dittoEmailSuccess","DITTO_IMG_EMAIL_FAIL","DITTO_IMG_EMAIL_RESET","undefined","CONTACT_LENS_LOAD","clOpenList","contactLensData","loadingContactPackage","CONTACT_LENS_SUCCESS","result","isNonJitPowerValid","CONTACT_LENS_FAIL","CL_SAVED_PRESCRIPTION_LOAD","isCLSavedPresLoaded","savedPrescription","CL_SAVED_PRESCRIPTION_SUCCESS","isContactPrescValid","CL_SAVED_PRESCRIPTION_FAIL","CL_DROPDOWN_OPEN","CL_PRESCRIPTION_VALID_TEST","inValidPres","CL_PRESCRIPTION_VALID_SUCCESS","jit","isSuccess","CL_PRESCRIPTION_VALID_FAIL","FRONT_IMG","frontImgUrl","imgUrl","frontImgCss","backgroundImage","backgroundRepeat","backgroundSize","GOTO_PDP_ID","goToPDPId","catUrl","path","scrollTop","EXPRESS_TIME_SUCCESS","errorExpress","expressOptions","EXPRESS_TIME_FAIL","RESET_PINCODE_FORM","OOS_SUCCESS","oosSaved","oosError","OOS_FAIL","LENS_LOCATION_AVAILABILITY_SUCCESS","enterLocationAddToCart","LENS_LOCATION_AVAILABILITY_FAIL","LENS_PACKAGES_LOAD","loadingPackage","getLensPackages","packages","getLensPackagesFailed","LENS_PACKAGES_SUCCESS","LENS_PACKAGES_FAIL","FLUSH_PRODUCT_DATA","productStaticDTM","CHANGE_PRODUCTTABINDEX","productTabIndex","value","RESET_PRODUCT_VALUE","args","SET_POWER_TYPE","selectedPowerType","GET_CLSUBSCRIPTION","clsubscriptions","GET_CLSUBSCRIPTION_SUCCESS","GET_CLSUBSCRIPTION_FAIL","GET_SUBSCRIPTION_DISCOUNT","subscriptionDiscounts","GET_SUBSCRIPTION_DISCOUNT_SUCCESS","GET_SUBSCRIPTION_DISCOUNT_FAIL","GET_CLSOLUTIONS","clsolutions","GET_CLSOLUTIONS_SUCCESS","GET_CLSOLUTIONS_FAIL","GET_DELIVERY_DETAILS_LOAD","pincodeData","pincodeError","GET_DELIVERY_DETAILS_SUCCESS","GET_DELIVERY_DETAILS_FAILED","SET_APP_PRICE","appOfferPrice","price","appOfferDiscount","discount","appCTAOffer","appCTAText","REVIEW_PRODUCT","postingReview","review","REVIEW_PRODUCT_SUCCESS","message","REVIEW_PRODUCT_FAIL","SET_EXCHANGE_BALANCE","exchangeBalance","amount","GET_PACKAGE_OR_COATING_GROUP_LOAD","packageOrCoatingGroup","GET_PACKAGE_OR_COATING_GROUP_SUCCESS","GET_PACKAGE_OR_COATING_GROUP_FAIL","props","menuData","updateNavValueDtm","section","fetchMenu","map","index","keys","key","className","submenu","connect","state","dataLocale","locale","WANT_TO_EXCHANGE_REFUND","DOWNLOAD_OUR_MOBILE_APP","GO_TO_APP_MY_ACCOUNTS","GO","TO","LKDOTCOM","LK","AS","PS","Link","to","src","alt","href","style","imageStyle","textAlign","clear","minHeight","marginTop","title","payload","CHECKOUT_INITIATE_JUSPAY","CHECKOUT_STEP_KEY","SELECTED_PAYMENT_METHOD","SAVE_GUEST_INFO","LOAD_ABANDON_LEAD","LOAD_HTO_LEAD","MANAGE_CHECKOUT_DATA","allow","CART_MODIFICATION","orderId","isExchange","isSalesman","CARTSTEP3_LOAD","orderPaymentData","LOAD_PAYMENT_SUCCESS","SAVE_SHIPPING_ADDRESS","postcode","country","GET_DELIVERY_OPTIONS","UPDATE_DELIVERY_OPTION","val","SHOW_OOS","LOGOUT_USER","GET_CAPTCHA","cardNumber","GET_CARDOFFER","GET_OFFERS_LOAD","PRE_SALES_USER_LOGIN","VALIDATE_VPA","RESET_VPA","GET_TRANS_STATUS_LOAD","GET_JUSPAYMENT_STATUS_LOAD","GET_JUSPAYMENT_STATUS_SUCCESS","GET_JUSPAYMENT_STATUS_FAIL","blankWidgets","rowsArray","styleObj","width","__API_JUNO__","process","__API_ALB_V2__","__API_LK__","__API_STORE__","jsonPath","jsonFireBasePath","environment","isProduction","assetsPath","frameSizeId","medium","extraNarrow","narrow","wide","extraWide","apiPath","userSession","logOut","albUserSession","redisConsole","redis","albRedis","redisConfig","dataProduct","albDataProduct","dataProductUnSecure","lensPackages","lensPackageAndCoating","estimateDelivery","categorySearch","categorySearchFilter","dataCategory","albDataCategory","categoryCarouselUrl","filterDataApi","homePageJson","mainNavigation","mobileNavigationJsonUrl","userAuthenticate","userAddress","saveUpdateDitto","lensOnlyShippinglocation","deleteUserAddress","registerCustomer","forgotPasswordToken","campaignData","socialAuth","updateCartItem","locationData","pincodeCheck","orderPayment","applyGV","storeCredit","applySC","cartApi","albCartApi","reOrderCartApi","breadcrumb","getUserInfo","albGetUserInfo","wishlist","checkDeliveryOption","updateDeliveryOption","oosSubscription","saveShippingAddress","homeEyeCheckup","emailDitto","enterMyPower","v2Orders","getOrdersListInv","getOrderDetailsInv","getSavedPrescription","recentOrders","latestOrder","uploadprescfile","validateSession","albValidateSession","userLocation","albUserLocation","varnishApi","dittoProfile","changePassword","giftVoucherBalance","mobileLoginAccountInfo","editNeft","resetPassword","mobileLoginSendOTP","mobileLoginSendOTPV2","mobileLoginAuthenticateMobileUser","magentoCategory","mobileEmailFetch","mobileEmailLink","cmsPages","captchaUrl","countryCode","apiCampaign","dittoAuth","reviewProduct","generateOtp","yotpoSiteReview","checkWhatsappConsent","setWhatsappConsent","frameSize","storeFrameSize","categoryConfigJson","getCustomerInfo","storeApi","getCardOffers","applyOfferMock","applyOffer","usersSavedCards","removeOfferMock","removeOffer","paymentMethod","htoPageJson","validateUserLocation","htoBookNowOrder","qrPaymentsApi","preSalesDualLogin","localeConfigPath","downloadUploadedPrescription","productReviewList","passUtmData","juspaySdkInitiate","checkUserExists","campaignFirstDeal","checkFirstDealUserExists","config","host","HOST","port","PORT","apiHost","APIHOST","apiPort","APIPORT","app","description","head","titleTemplate","categoryPageSize","siteKey","rbiMarketPlaceConfig","defaultLogo","ditto","serverUrl","accessKeyId","signature","modelDittoId","modelDittoSignature","sku","disableScale","vtoUrl","faServerUrl","replaceShareDittoUrlPrefix","sixOversix","options","fullPage","themeColor","clientId","defaultFrameCategory","eyeglasses","sunglasses","searchBarConfig","url","siteName","APIKey","inFields","count","topQueries","keywordSuggestions","popularProducts","iframe","iframeUrl","yotpoConfig","apiKey","instaGalleries","pdp","home","shop","module","exports","countryData","domain","YOU_ARE_ON_INDIAN_WEB","WEBSITE","TO_PURCHASE_FROM","CLICK_HERE","GET_PRODUCT_REVIEW_LIST_LOAD","isReviewListLoading","GET_PRODUCT_REVIEW_LIST_SUCCESS","reviews","concat","GET_PRODUCT_REVIEW_LIST_FAIL","GET_PRODUCT_REVIEW_LIST_RESET","POST_REVIEW_LOAD","postReviewProccessing","postReviewData","POST_REVIEW_SUCCESS","POST_REVIEW_FAIL","POST_REVIEW_RESET","reviewPageSize","productCarousel","productCarouselData","GET_REDIS_ROUTER_LOAD","redisLoading","redisLoaded","productID","categoryId","productId","categoryID","isSupported","api","checkBrowser","SET_COUNTRY_INFO","localeInfo","GET_REDIS_ROUTER_SUCCESS","redisKey","serversideLoaded","__SERVER__","GET_REDIS_ROUTER_FAIL","appLogo","GET_REDIS_DATA","GET_REDIS_SUCCESS","isDoctorSession","redisCommonData","GET_REDIS_FAIL","GET_USER","window","sessionStorage","setItem","getItem","userInfo","loginLoader","isAlreadyLoyal","GET_USER_SUCCESS","email","telephone","login","isLoyalty","isWishlistCount","isCartCount","askUserLogin","GET_USER_FAIL","errorCode","status","commonError","LOAD_JUNO_SESSION","saveWishlist","dittoSaved","junoV2Session","LOAD_JUNO_SESSION_API_SUCCESS","sessionToken","id","LOAD_JUNO_SESSION_API_FAIL","SHORTLIST_LOAD","shortListLoading","SHORTLIST_SUCCESS","wishListDeleteSuccess","wishListAddSuccess","shortListData","productIds","productList","numberOfProducts","SHORTLIST_FAIL","SHORTLIST_DELETE","SHORTLIST_DELETE_SUCCESS","prevProductList","newData","SHORTLIST_ADD","SHORTLIST_ADD_SUCCESS","WISHLIST_TRUE","wishlistTrue","SHORTLIST_TYPE","shortListBool","shortListValue","CART_POPUP","showCart","addToCartFailed","LOGIN_SUCCESS","localStorageHelper","loggedIn","CHANGE_SECTION","isDataLoaded","DITTO_PROFILE_SUCCESS","refreshDittoProfile","saveDittoName","dittoChanged","DITTO_PROFILE_FAILURE","DITTO_NAME_SUCCESS","DITTO_NAME_FAILURE","DITTO_DEFAULT_SUCCESS","DITTO_DEFAULT_FAILURE","DITTO_CHANGED_STATUS_UPDATE","changedState","DITTO_DELETE","deleteDittoProccessing","DITTO_DELETE_SUCCESS","deleteDittoProfile","DITTO_DELETE_FAILURE","dittoProfileAuthImages","DITTO_AUTH_SUCCESS","DITTO_AUTH_FAILURE","DITTO_AUTH_PROFILE","UPDATE_CART_COUNT","MODIFY_DATA","SET_TOAST_MESSAGE","toastMessage","SET_SIZE_DETAIL","sizeQuiz","CHANGE_LOGO","RBI_POLICY_MARKETPLACE_CONFIG","JSON","parse","logoType","msitedkLogo","desktopdkLogo","pageType","desktopcheckoutdkLogo","ASK_USER_LOGIN","COUNTRY_DATA_LOAD","COUNTRY_DATA_SUCCESS","COUNTRY_DATA_FAIL","PDP_CMS_POPUP_LOAD","cmsPopUpData","cmsdataloading","cmsdatafetcherror","cmsdataError","PDP_CMS_POPUP_SUCCESS","PDP_CMS_POPUP_FAIL","YOTPO_WIDGETS_SHOW","TRY_ON_SWITCH","getSetCookie","setCookie","stringify","isTryOnSwitch","GET_CUSTOMER_INFO_LOAD","customerInfo","GET_CUSTOMER_INFO_SUCCESS","GET_CUSTOMER_INFO_FAIL","EMBED_VIDEO","SET_IS_WEBVIEW","isWebView","IS_PHONEPEVIEW","isPhonepeView","flag","PASS_UTM_DATA_SUCCESS","PASS_UTM_DATA_FAIL","scrollingLock","loginError","currencyMark","INR","SGD","AED","quickViewPid","sizeString","prefSize","isYotpoWidgets","embedVideo","xApiClient","GET_CAMPAIGN_DATA","dataCampaign","timeToResetData","cartCampaign","GET_CAMPAIGN_SUCCESS","activeAndValidData","cart","cartBogoConfig","GET_CAMPAIGN_FAIL","CLEAR_CAMPAIGN_DATA","SET_QUERY_PARAMS","query","REGISTER_LOAD","LOGIN_LOAD","USER_INPUT_LOAD","USER_OTP_LOAD","RESET_MOBILE_LOGIN_STATE","FORGET_PASSWORD_LOAD","account","SOCIAL_LOAD","RESET_AUTH_STATE","hash","SET_PREVIOUS_URL","location","number","FETCH_EMAILS_LOAD","LINK_EMAIL_LOAD","MERGE_MOBILE_EMAIL_LOAD","ADD_TO_CART_LOAD","isCartLoader","addToCartSuccess","UPDATE_CART","UPDATE_CART_LOAD","isCartDataLoaded","DISCOUNT_CODE_LOAD","gvMessage","indexOf","scMessage","GET_CART_DATA_LOAD","isCartUpdating","applyWallet","Boolean","DELETE_CART_LOAD","cartData","items","itemsQty","itemsCount","totals","discounts","GET_CART_DATA_SUCCESS","gvAmt","scAmt","implicitAmt","updateCartSuccess","isUpdateCartCalled","isAddToCartCalled","isGvApplied","isScApplied","GET_CART_DATA_FAIL","updateCartFail","RESET_CART","FRAME_ONLY_PRODUCT","isframeProduct","GET_CART_NET_AMOUNT","netAmountCart","SHIPPING_CHECK_LOAD","shippingError","SHIPPING_CHECK_SUCCESS","SHIPPING_CHECK_FAIL","APPLY_OFFER","cardOfferLoading","cartError","APPLY_OFFER_SUCCESS","APPLY_OFFER_FAIL","cartApplicable","REMOVE_OFFER","REMOVE_OFFER_SUCCESS","REMOVE_OFFER_FAIL","removeCartApplicable","UPDATE_POWER_LOAD","updatePowerFail","UPDATE_POWER_SUCCESS","UPDATE_POWER_FAIL","cardOfferApplied","POWERS_DETAIL_LOAD","powersDetail","POWERS_DETAIL_FAIL","POWERS_DETAIL_SUCCESS","SUBMITTED_POWERS_LOAD","SUBMITTED_POWERS_SUCCESS","itemSubmittedPrescription","SUBMITTED_POWERS_FAIL","OTP_SUBMISSION_LOAD","OtpAction","successOtp","OTP_SUBMISSION_FAIL","OTP_SUBMISSION_SUCCESS","SAVED_PRESCRIPTION_LOAD","SAVED_PRESCRIPTION_SUCCESS","SAVED_PRESCRIPTION_FAIL","SUBMIT_POWERS_LOAD","powerSubmittedItemId","packageSubmittedItemId","powerSubmitted","powerSubmitFail","SUBMIT_POWERS_FAIL","itemId","SUBMIT_POWERS_SUCCESS","SUBMIT_PACKAGE_LOAD","packageSubmitted","packageSubmitFail","SUBMIT_PACKAGE_FAIL","SUBMIT_PACKAGE_SUCCESS","MSG_ERROR","errorMsg","ENTER_DATA","enterData","ACTIVE_FRAME_DATA","activeFrameData","classIndex","SHOW_DD","showRefDD","RESET_STATE","productsDetail","productLoad","left","sph","cyl","axis","ap","pd","right","checkOutHandler","checkoutLoader","checkoutCTA","aria-label","onClick","_gaq","push","mainText","PROCEED_TO_CHECKOUT","subText","register","registerError","reguser","REGISTER_SUCCESS","REGISTER_FAIL","authenticateLoader","user","isTelephoneVerified","userDetails","LOGIN_FAIL","userInputValidate","userInputErr","userInputValidationStatus","USER_INPUT_SUCCESS","username","USER_INPUT_FAIL","oTPSent","otpType","oTPLoginSuccess","USER_OTP_SUCCESS","emailVerificationStatus","accessCount","isCaptchaRequired","USER_OTP_FAIL","MERGE_MOBILE_EMAIL_SUCCESS","MERGE_MOBILE_EMAIL_FAIL","forgotpassError","FORGET_PASSWORD_SUCCESS","emailStatus","FORGET_PASSWORD_FAIL","social","socialError","SOCIAL_SUCCESS","SOCIAL_FAIL","emailList","FETCH_EMAILS_SUCCESS","FETCH_EMAILS_FAIL","emailLinkSuccessfully","LINK_EMAIL_SUCCESS","LINK_EMAIL_FAIL","previousUrl","dL","SET_DATALAYER_EMAIL_MOBILE","mobile","visitorEmail","visitorMobile","btoa","gaMobile","userType","hasPlacedOrder","setAndTriggerDataLayer","RESET_DATALAYER_EMAIL_MOBILE","PRODUCTCAROUSEL_DATA_LOAD","PRODUCTCAROUSEL_DATA_SUCCESS","PRODUCTCAROUSEL_DATA_FAIL","this","expanded","children","PureComponent","Navigation","updateNavDtm","subSection","link","cta","headerAction","rerenderMenu","dtm","LenskartRewamp","header","click","topNavClick","topNavClickValue","isMenuVisible","navData","rightNavData","rigtNav","dataAttr","gaObj","length","setDataAttr","Component","propTypes","PropTypes","object","isRequired","bool","defaultProps","dispatch","bindActionCreators","TopNavBar","isScrolled","headerScroll","handleScroll","debounce","bind","handleWidget","addEventListener","removeEventListener","pageYOffset","setState","ENABLE_FRESHWORKS_DESKTOP","document","getElementById","launcher","contentWindow","querySelector","chatBotParams","emailId","phoneNumber","sessionID","getCookie","env","apiClient","Freshbots","reloadContext","setTimeout","initiateChat","showWidget","topNavData","CONTACT_US","topBarNavLeft","item","hrefUrl","URL","label","pathname","channel","localStorage","headerClick","loginStatus","target","facetime","evt","preventDefault","initalState","DITTO_SHARE_DATA_LOAD","dittoShareLoading","dittoShareData","DITTO_SHARE_DATA_SUCCESS","DITTO_SHARE_DATA_FAIL","SET_DITTO_SHARE_FROM_STORAGE","fileLocation","setLocalStorage","Customevent","name","event","CustomEvent","listener","dispatchEvent","CHECK_CURRENT_WHATSAPP_OPTIN_STATUS","isOptWhatsApp","isUserAction","CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_SUCCESS","CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_FAIL","SET_WHATSAPP_OPTIN_STATUS","SET_WHATSAPP_OPTIN_STATUS_SUCCESS","optin","SET_WHATSAPP_OPTIN_STATUS_FAIL","activeKey","activeKeyState","Array","isArray","prevProps","selectPanel","multiOpen","keyIndex","splice","content","Fragment","panel","includes","body","extraSection","aria-multiselectable","role","noop","ContactLens","prescription","pristine","getPrescription","submit","getPowers","values","dirtyValues","getDirtyValues","submitCallback","powers","submitValues","reduce","memo","split","eyeLR","power","whichEye","SUBMIT","POWER_DETAILS_UPDATED_SUCCESSFULLY","POWER_DETAILS_UPDATE_FAILED","Form","initialValues","onSubmit","handleSubmit","noValidate","PowerInputs","React","ownProps","pid","editPower","pidToPowers","success","createScriptTag","scriptToAppend","script","createElement","innerHTML","appendChild","bannerData","html","scriptEl","removeChild","htmlString","verticalPosition","height","background","cssId","cssClass","css","pageName","componentName","dangerouslySetInnerHTML","__html","submitPhoneNumber","whatsappCapturePhoneNumber","runPhoneNumberCaptureCalls","_client","jsonData","phNo","expiry","successAction","PHONE_NUMBER_CAPTURE_SUCCESS","errorAction","PHONE_NUMBER_CAPTURE_FAILED","setHeader","call","post","put","select","commonState","reduxState","userPhone","finalData","collectionData","phone","ONLY_PHONE_CAPTURE_SUCCESS","ONLY_PHONE_CAPTURE_FAILED","response","client","all","takeLatest","PHONE_NUMBER_CAPTURE_SUBMIT","ONLY_PHONE_CAPTURE_SUBMIT","getYotpoSiteRatings","runYotpoCalls","YOTPO_SITE_RATINGS_SUCCESS","timeoutAction","YOTPO_SITE_RATINGS_TIMEOUT","YOTPO_SITE_RATINGS_FAILURE","race","get","timeout","delay","YOTPO_SITE_RATINGS_LOAD","excludedPrescText","excludePrescValues","prescValue","hyphenSybmol","PowerGrid","itemPrescriptions","userName","labels","view","fromOrderDetails","YOUR_POWER","HYPHEN","LEFT","RIGHT","userTitle","toLowerCase","isDesktop","ngValue","returnValue","err","console","log","removeItem","commonActionTypes","wishListProductsLoading","SHORTLIST_PRODUCTS_LOAD","SHORTLIST_PRODUCTS_SUCCESS","shortlistedProducts","SHORTLIST_PRODUCTS_FAIL","Redirect","l","deserialize","r","formValues","m","FieldInput","onChange","Field","input","e","callback","getNumericChars","setNumberToInput","autoComplete","maxLength","DropdownInput","pleaseSelect","disable","disabled","onSelect","opt","i","isBifocal","FITTING_HEIGHT_IS_REQUIRED","PLEASE_SELECT","msg","powerDataList","drop_down","color","fontSize","marginBottom","field","inputType","loader","then","getSearchCategoryData","getSearchFilterData","getCategoryData","loadScroll","getFilterData","getCatAndFilterData","saveCategoryDataOnScoll","getSubcategoriesData","getCategoryConfigJSON","runCategoryCalls","_location","categoryPageSizeRedisCount","modifyFilterObject","filterData","finalFilters","filters","forEach","filter","obj","listUnitType","hideFilters","option","optionObj","displayTitle","replace","substr","msiteGlobals","viewImagesList","trimmedTitle","params","pageCounter","CATEGORY_DATA_SUCCESS","CATEGORY_DATA_FAIL","search","find","param","listPageSize","CATEGORY_PAGE_SIZE_COUNT","categoryData","SEARCH_FILTER_SUCCESS","SEARCH_FILTER_FAIL","paramsForFilter","join","slice","requestUrl","Error","counter","saveCategoryToReduxAction","SAVE_CATEGORYDATA_TO_REDUX","isExchangeSessionValid","sessionStorageHelper","returnAction","exchangeParams","mystring","APPEND_DATA_AFTER","FAIL_APPEND_DATA","readQueryParam","getExchangeOrderId","getExchangeItemId","headers","filterParams","deleteCookie","FILTER_DATA_SUCCESS","FILTER_DATA_FAIL","SAVE_CATEGORY_DATA_ON_SCROLL","gen","cat","SUBCATEGORY_DATA_SUCCESS","SUBCATEGORY_DATA_FAIL","subCatApiUrl","CATEGORY_CONFIG_JSON_SUCCESS","CATEGORY_CONFIG_JSON_FAIL","CATEGORY_DATA_LOAD","takeEvery","APPEND_DATA_LOAD","SEARCH_FILTER_LOAD","SEARCH_CATEGORY_DATA_LOAD","FILTER_DATA_LOAD","CATEGORY_AND_FILTER_DATA_LOAD","DEBOUNCE_CATEGORY_DATA_ON_SCROLL","SUBCATEGORY_DATA_LOAD","CATEGORY_CONFIG_JSON_LOAD","getHTOConfig","getLocationServiceDetails","getSlots","getHTOAppointmentCancelReasons","cancelHTOOrder","getAgentInfo","bookHTOAppointment","runHtoCalls","GET_HTO_CONFIG_SUCCESS","GET_HTO_CONFIG_FAIL","Date","getTime","lat","lng","GET_LOCATION_SERVICE_DETAILS_SUCCESS","GET_LOCATION_SERVICE_DETAILS_FAIL","encodeURIComponent","pincode","GET_SLOTS_SUCCESS","GET_SLOTS_FAIL","GET_CANCEL_REASONS_SUCCESS","GET_CANCEL_REASONS_FAIL","reason","CANCEL_HTO_ORDER_SUCCESS","CANCEL_HTO_ORDER_FAIL","brand","GET_AGENT_INFO_SUCCESS","GET_AGENT_INFO_FAIL","BOOK_APPOINTMENT_SUCCESS","BOOK_APPOINTMENT_FAIL","encodeURI","utm","GET_HTO_CONFIG","GET_LOCATION_SERVICE_DETAILS","GET_SLOTS","GET_CANCEL_REASONS","CANCEL_HTO_ORDER_LOAD","GET_AGENT_INFO","BOOK_APPOINTMENT","apiObject","instance","axios","create","_response","res","_request","req","interceptors","request","use","setUserLang","method","defaultLanguage","global","__COUNTRY_CODE__","now","__LOCALE__","withCredentials","hasPlacedOrderCookieValue","Promise","reject","conf","isBot","customHeader","defaults","getCommonHeader","getServerRequestHeader","getServerResponse","attrs","hasOwnProperty","isLoggedIn","customerMe","catID","pageSize","getParams","urlOption","getProductData","pID","customPost","sessionKey","cache","extras","getCmsData","cmdId","langCodeAllowed","getCountryCode","getLangObj","currentLocale","defaultLocale","isValidLocale","localeList","x","code","saveDitto","runDittoShareCalls","dittoId","formData","substring","ConfirmationModal","powerSubmitError","mutators","utils","changeValue","setSameFieldValues","submitPower","prescriptionValues","hideHandler","packageSubmittedFail","SYSTEM_ERROR_PLEASE_TRY_AGAIN","order","billingAddress","firstName","lastName","valueObj","checked","sameFields","ctype","form_mutators","lensType","add","presc","p","updatedBy","changedPackage","updatePackage","source","customerEmail","v","presObj","getUserName","powerType","lensPackage","packageId","showModal","submitPowerLoader","ALL_MODIFIED_POWER_OPTIONS","MODIFIED_VALUE","POWER_OPTION","PACKAGE","CHECK_TO_CONFIRM","CANCEL","OOPS_YOU_HAVE_NOT_CHANGED_ANYTHING","OK","size","backdrop","onHide","form","enableSubmit","some","display","gridTemplateColumns","component","ev","orderDetails","submitPowers","updatePackages","ReduxAsyncConnect","previousLocation","NProgress","configure","trickleSpeed","nextProps","history","routes","store","helpers","start","components","match","triggerLocals","trigger","done","Route","render","node","objectOf","any","withRouter","getShortlistedProductData","runShortlistCalls","pIds","shortlistActionTypes","promisesArray","product","prodData","modifyProductData","general","specifications","collection","fColor","fSize","sizeD","colorAndCollection","sizeInfo","sizeDetails","sagaMiddleware","middleware","routerMiddleware","__CLIENT__","enhancers","applyMiddleware","finalCreateStore","compose","_createStore","reducers","noopReducers","prev","next","getNoopReducers","combine","getState","common","setCountryData","asyncReducers","inject","_reducers","runSaga","run","close","END","__DEVELOPMENT__","combineReducers","entries","reducer","__esModule","replaceReducer","reorderId","itemid","reqType","allPackage","allPackages","offerId","NEW_ORDER_CHECK","ordersList","persistOrder","ORDER_LIST_LOAD","ORDER_LIST_SUCCESS","shouldReset","orders","totalOrders","totalOrder","ORDER_LIST_FAIL","UPDATE_USER_INFO_LOAD","userInfoUpdated","UPDATE_USER_INFO_SUCCESS","UPDATE_USER_INFO_FAIL","RESET_PASSWORD_LOAD","passwordReset","RESET_PASSWORD_SUCCESS","RESET_PASSWORD_FAIL","CHECK_VOUCHER_LOAD","voucherResult","CHECK_VOUCHER_SUCCESS","CHECK_VOUCHER_FAIL","STORE_CREDIT_BAL_LOAD","storeCreditBalance","STORE_CREDIT_BAL_SUCCESS","STORE_CREDIT_BAL_FAIL","STORE_CREDIT_ORDERS_LOAD","storeCreditOrders","STORE_CREDIT_ORDERS_SUCCESS","storeCreditOrdersTotal","numOfOrders","STORE_CREDIT_ORDERS_FAIL","STORE_CREDIT_ORDER_HISTORY_LOAD","storeCreditOrderHistory","STORE_CREDIT_ORDER_HISTORY_SUCCESS","STORE_CREDIT_ORDER_HISTORY_FAIL","STORE_CREDIT_ORDER_SMS_LOAD","storeCreditOrderSMS","STORE_CREDIT_ORDER_SMS_SUCCESS","STORE_CREDIT_ORDER_SMS_FAIL","EDIT_NEFT_LOAD","EDIT_NEFT_SUCCESS","EDIT_NEFT_FAIL","CLEAR_STATE","RETURN_ORDER_CONFIG_LOAD","returnConfig","RETURN_ORDER_CONFIG_SUCCESS","RETURN_ORDER_CONFIG_FAIL","COD_CONFIRMATION_LOAD","codConfirm","COD_CONFIRMATION_SUCCESS","COD_CONFIRMATION_FAIL","codConfirmLoad","CLEAR_COD_CONFIRM_STATE","orderStatuses","currentPackage","fontWeight","letterSpacing","CURRENT_PACKAGE","prices","lenskartPrice","subMenuData","categoryName","parentKey","fetchSubMenu","layout","categoryMenu","image","imgAlt","subMenuList","PowerUpdate","validatePhoneNumber","phoneVal","phoneNo","current","test","hitPowerAPI","invalidPhoneNumber","shouldShowError","createRef","enterPowerRespMsg","localConfig","keyboard","SUBMIT_PRESCRIPTION_FOR_EXISTING_ORDER","ENTER_PHONE_NUMBER","PLEASE_ENTER_VALID_PHONE_NUMBER","headerTitle","ref","placeholder","data-dismiss","func","getPowerUpdate","ENTER_POWER_LOAD","ENTER_POWER_SUCCESS","ENTER_POWER_FAIL","getResource","getCategoryCarouselData","runCategoryCarouselCalls","resource","SUCCESS_CATEGORYCAROUSEL_DATA","FAILURE_CATEGORYCAROUSEL_DATA","LOAD_CATEGORYCAROUSEL_DATA","imageFileName","showPowerDetailsFn","showUploadPrescModal","useState","powerState","setPowerState","useEffect","icon","itm","isNaN","powerStatusMessage","POWER_STATUS_MESSAGE","powerUploadText","PRESCRIPTION_UPLOADED_WILL_ASSIST_YOU","dontKnowPowerText","DONT_KNOW_PRESCRIPTION_WILL_ASSIST_YOU","POWER_GRID","POWER_UPLOAD","imgIcon","CONTACT_FOR_POWER","addToCart","getCartData","updateCart","applyCode","countryShippingCheck","deleteCart","updatePower","runCartCalls","addDiscounts","responseData","walletApplied","LOAD_LOCALE_CONFIG","LOAD_LOCALE_CONFIG_SUCCESS","LOAD_LOCALE_CONFIG_FAIL","onGenderHover","context","stopPropagation","siblingContext","currentTarget","parentNode","childNodes","classList","remove","genderMenuData","SELECT_GENDER","genderMenu","onMouseOver","onFocus","img","category","categoryMenuData","Shortlist","toggleMe","deleteWishListAll","deleteWishList","isActionDeleteAll","commonCallsAction","shortlist","shortListType","checkId","showWishlist","Listing","clearList","toString","removeProdcutShortlist","PRODUCTS","YOU_HAVE_NOT_SELECTED_ANY_PRODUCT","PLEASE_ADD_PRODUCTS_OF_YOUR_CHOICE","CLEAR_LIST","CURRENCY_CODE","currencySymbol","loyaltyOrder","currencyCode","shortlistNumberofProduct","productUrl","rel","brandName","productImageUrl","commonCallsActionCreators","pushToCampaignOfflineSales","pushToPosOfflineSales","verifySalesman","runNewMSiteOfflineSalesFlowCalls","posSeamlessLink","SALESMAN_ID_VERIFY_SUCCESS","SALESMAN_ID_VERIFY_FAIL","getSalesmanDetails","PUSH_TO_CAMPAIGN_OFFLINE_SALES","PUSH_TO_POS_OFFLINE_SALES","SALESMAN_ID_VERIFY","GET_FRAME_SIZE","GET_FRAME_SIZE_SUCCESS","frameSizeData","frameSizeError","GET_FRAME_SIZE_FAIL","STORE_FRAME_SIZE","storeFrameSizeData","storeFrameSizeError","STORE_FRAME_SIZE_SUCCESS","STORE_FRAME_SIZE_FAIL","LENSKART","categoryCarouselData","CMS_DATA_LOAD","CMS_DATA_SUCCESS","isCollectionData","cmsData","CMS_DATA_FAIL","CLEAR_CMS_DATA","paymentData","useSelector","checkout","loadingJusScript","setLoadingJusScript","payment","actionInfo","requestParams","requestId","service","parsePayload","language","merchantKeyId","customerId","customerMobile","merchantId","processPayload","hyperServicesObject","getPayment","fullpage","pathPrefix","logoCenter","DOWNLOAD_LENSKART_APP_BUY","DOWNLOADAPP_PRODUCTTYPE","CONTACT_LENS","SUNGLASSES","EYEGLASSES","productType","router","routerReducer","cmsMapping","auth","categoryCarousel","footer","campaign","collectionPage","DataLayer","DTM","myAccount","savedCards","neft","yotpo","gupshupWhatsapp","returnExchange","address","hto","newMSiteOfflineSalesFlow","dittoShare","qrCode","phoneNumberCapture","offerCampaign","cartCondition","classification","decrementItem","incrementItem","deleteCartItem","showPowers","setShowVisible","powerDetailsRef","useRef","updatePowerState","useCallback","scrollIntoView","block","behavior","clearTimeout","QUANTITY","PRODUCT_PRICE","FRAME_PRICE","LENS_PACKAGE","ADD_ON","SUBTOTAL","VIEW_POWERS","SELLING_FAST_FEW_PIECES_LEFT","ONLY_ONE_QUANTITY_LEFT","thumbnail","readOnly","quantity","pointerEvents","availableQuantity","opacity","catalogPrices","optData","aria-hidden","prescriptionView","CHECK_USER_EXISTS_LOAD","isUserExists","CHECK_USER_EXISTS_SUCCESS","CHECK_USER_EXISTS_FAIL","CHANGE_USER_EXISTS_VALUE","FIRST_DEAL_USER_EXISTS_LOAD","isFirstDealUser","FIRST_DEAL_USER_EXISTS_SUCCESS","FIRST_DEAL_USER_EXISTS_FAIL","SAVE_CAMPAIGN_USER_DATA_LOAD","campaignUserData","saveUserDataLoading","SAVE_CAMPAIGN_USER_DATA_SUCCESS","SAVE_CAMPAIGN_USER_DATA_FAIL","RESET_CAMPAIGN_USER_DATA","CartItems","cartActions","dtmStateLoad","slideCart","removeItemProduct","ReactPixel","track","content_type","content_ids","content_name","currency","incrementItemProduct","bogoOffer","pageNameValue","fnExpandLoyalty","expandLoyalty","getElementsByClassName","top","fnMimimizeLoyalty","addOrSkip","loyaltyConfig","LOYALTY_CONFIG","goldPid","isProductBogoEligible","cartItem","itemConfig","minPrice","maxPrice","packageSku","excludedPrice","itemPrice","regex","RegExp","bogoEligibleProductBrand","bogoEligibleProductClassification","CONFIG_CTA_DESKTOP","CHECKOUT","cartObj","pageInfo","isLoyaltyBrand","brandsAllowed","isLoyaltyProductAdded","isLoyaltySunglass","detail","loyaltyPid","ADD_NOW","OFFERS","LOYALTY","ORDER_TOTAL","NET_AMOUNT","TAX_COLLECTED","PART_TAX_COLLECTED","CONVENIENCE_FEES","FREE","EXTRA_DISCOUNT","loyaltyAddToCartText","ADD_TO_CART","loyaltySkipBtnText","SKIP","loyaltyTCHtml","GOLD_TNC_HTML","loyaltyHoverHtml","GOLD_CART_HOVER_HTML","cartItemsLength","classificationsAllowed","isLoyaltyClsfn","goldSliderBanner","loyaltyImg","goldCartKnowMoreImg","loyaltyKnowMoreImg","isProductLoyaltyEnabled","hasBogoBenefits","bogoEligibleCount","maxHeight","overflow","goldBanner","subTotal","totalDiscount","discountDescription","toFixed","totalTax","shipping","offer","offerUrl","total","checkoutLoaderFunc","activeCartCampaigns","belowCTA","string","NotFound","require","RedisMapping","provideHooks","fetch","pId","getQueryParam","getID","categoryAction","productAction","showSpinner","urlPath","removeDomainName","GET_QR_SCAN_STATUS_LOAD","qrScan","GET_QR_SCAN_STATUS_SUCCESS","GET_QR_SCAN_STATUS_FAIL","GET_QR_CODE_LOAD","qrData","GET_QR_CODE_SUCCESS","GET_QR_CODE_FAIL","hasCookieExpired","numberSubmitted","exp","CHECK_PHONE_NUMBER_EXPIRED","today","storageExpiry","Number","CLOSE_PHONE_NUMBER_CAPTURE","numberSubmitting","numberSubmitError","phoneCapturing","phoneCaptured","cname","cookieSplit","decodeURIComponent","cookie","charAt","cvalue","days","minutes","date","setTime","expires","toUTCString","hostname","setCookieWithDomain","cName","extime","dt","cValue","escape","toGMTString","setCookieWithOptions","secure","Cart","dtmRemoveOnLoad","footerClickHandler","emptyCartView","SEARCH_FOR","CONTACT_LENSES","CONTINUE_SHOPPING","THERE_IS_PROBLEM_ADDING_ITEM","YOUR_SHOPPING_CART_EMPTY","SHOP_FOR_PRODUCTS_ADD_ITEMS","origin","dtmOnLoad","cartOmniture","hasFrameOnlyProduct","frameOnlyProduct","clevertap","SHOPPING_CART","dialogClassName","SET_ORDER","isSubmitting","RESET_ORDERDETAILS","GET_ORDER","GET_ORDER_SUCCESS","GET_ORDER_FAIL","POWER_SUMBMIT_LOAD","POWER_SUMBMIT_FAIL","PREV_ORDER_LOAD","prevOrdersLoading","PREV_ORDER_SUCCESS","prevOrders","PREV_ORDER_FAIL","LoginPanel","openLoginTab","openSignUpTab","registerActions","MY_ORDERS","MY_PRESCRIPTION","MY_STORE_CREDIT","MY_DITTOS","ACCOUNT_INFORMATION","SIGN_IN","SIGN_UP","SPECSY","LOGOUT","logoutUser","resetCustomer","AuthModal","preload","addNewDitto","runDittoCalls","ADD_DITTO_SUCCESS","ADD_DITTO_FAIL","SAVE_UPDATE_DITTO_SUCCESS","SAVE_UPDATE_DITTO_FAIL","ADD_DITTO_LOAD","SAVE_UPDATE_DITTO_LOAD","HOMEPAGE_DATA_LOAD","homepageData","renderData","MOBILE_HOMEPAGE_DATA_LOAD","HOMEPAGE_DATA_SUCCESS","homeData","sections","rawHomeData","rawData","MOBILE_HOMEPAGE_DATA_SUCCESS","HOMEPAGE_DATA_FAIL","RENDER_DATA_UPDATE","HOMEPAGE_MERGED_DATA_UPDATE","HOMEPAGE_CAROUSALS_DATA_LOAD","loadMoreCarousals","HOMEPAGE_CAROUSALS_DATA_SUCCESS","mergedHomeData","HOMEPAGE_CAROUSALS_DATA_FAIL","HOME_SCROLL_SET","scrollY","DITTO_IMG_EMAIL_SEND","powerOption","powerData","EXPRESS_TIME_LOAD","OOS_SUBSCRIPTION","LENS_LOCATION_AVAILABILITY_CHECK","prodId","frameType","isExpress","isBothEye","subscriptionType","coatingId","PreSales","handleLogin","preSalesUserLogin","login_id","password","leadSource","preSalesUserData","successMessage","LOGIN","ID","LOGGED_IN","PRESALES_CHECKOUT","REDIRECTING_TO_CHECKOUT_PAGE","PLEASE_ENTER_USERNAME","EMAIL_ADDRESS","PASSWORD","PLEASE_ENTER_PASSWORD","LOADER","validate","required","meta","invalid","touched","valid","dirty","composeValidators","preSalesloading","submitSuccess","getExpressTimeData","getDeliveryDetails","sendDittoEmail","loadClData","loadClSavedPrescription","validateClPrescription","subscribeOOS","checkLensOnlyAvailability","loadLensPackages","getCLSubscription","getSubscriptionDiscounts","getCLSolutions","postReview","getPackageOrCoatingGroup","runProductCalls","setProductStaticDTM","emailActionData","oosData","isEditPower","GET_LENS_PACKAGES_SUCCESS","GET_LENS_PACKAGES_FAIL","GET_LENS_PACKAGES","GET_POWERS","filterObj","ADD_FILTERDATA","HANDLE_FILTER_FUNC","FILTER_DROPDOWN","categoryInfo","SHOW_CACHED_DATA","UPDATE_DITTO_ENABLE","FILTER_STATE_UNSET","logo","pageTitle","supportEmail","imgStyle","isEmpty","len","trim","min","isInteger","enumeration","countryMark","countrySymbol","mobileNumberLength","cardNo","month","fullyear","year","expiryDay","setFullYear","formVals","fullName","max","PRODUCT_ID","removeItemsWithPattern","pattern","sessionStorageKey","sessionStorageLen","loadingHTOConfig","htoConfig","RESET_ERROR_LOCATION_SERVICE_DETAILS","loadingLocationServiceableDetails","locationServiceableDetails","googleZeroResult","cancelledOrder","loadingSlotDetails","slotDetails","loadingAppointmentCancelReasons","appointmentCancelReasons","reasons","processingCancelOrder","appointmentInfo","loadingAgentInfo","agentInfo","isBookingProcessing","getOrder","getRecentOrder","runOrderCalls","dontInitSession","isMyAcct","client2","pageNo","getSubmittedPowers","getSubmittedOtp","runSuccessCalls","ms","GET_POWERS_SUCCESS","GET_POWERS_FAIL","userEmail","reqUrl","dataResult","otp","SearchBar","focusedData","modifiedSearchResult","showTrending","showSearchResult","searchInputValue","searchValue","searchData","redirectPath","noOfProducts","search_string","searchpage","searchSuggestion","s","eventType","headerActions","searchInputChange","which","uniqueId","currentIndex","findIndex","nextSelection","autosuggest","getSearchResult","searchDataValue","searchMetaData","queryParams","q","dataParamValue","trendingSearch_desktop","infields","products","doctype","matchingLength","WHAT_ARE_YOU_LOOKING_FOR","MATCHING_KEYWORDS","PRODUCT_RECOMMENDATIONS","TRENDING_SEARCH","onKeyDown","searchBarEventHandler","onKeyUp","onBlur","boldData","url_path","small_image","onError","Brand_fq","final_price","App","HTO","exact","Home","Catalog","CompareLooks","FrameSize","ResetPassword","ForgotPassword","MyAccount","Summary","Success","RetryPayment","Checkout","Reviews","InstaGallery","EditPowerContainer","RefundExchangeFallback","SalesRedirect","QRCodePayment","JusPayment","ConfirmJusPayment","ChatBot","HTORedirect","showGlobalHeaderFooter","defer","contactLens","powerGlass","zeroPower","accessories","powerRequired","sort","sortCallback","submitItem","getClassifiedItems","orderLoading","paddingTop","Loader","d","OrderError","getStoresByAddress","createAppointment","storeProductForPincode","runStoreCalls","STORE_LOAD_SUCCESS","STORE_LOAD_FAIL","CREATE_APPOINTMENT_SUCCESS","CREATE_APPOINTMENT_FAIL","STORE_LOAD","CREATE_APPOINTMENT","STORE_PRODUCT_FOR_PINCODE","PowerStatusMessage","VIEW_DETAILS","getProductCarouselData","runProductCarouselCalls","updateCarouselDataState","getProductCarouselState","product_list","dittoProfileAuth","getRedisData","getCmsPageData","getRedisRouter","getPresaleInfo","validateSessionV2","getRedisCommonData","getUserData","setJunoSession","loadShortList","deleteShortlist","addShortlist","getDittoProfiles","setDitto","deleteDitto","getCountryData","getAudienceType","runCommonCalls","getOptions","reqData","accessCode","successProfileAction","dittoIdList","signaturePromise","getSignatures","promises","responseType","getImagesCall","imageId","getImages","blob","createObjectURL","redisData","redisKeyArr","cmsPageUrl","pdpcmsSuccessAction","pdpcmsErrorAction","cmsId","cmsPath","cmsRedisKeyArr","categorySuccessAction","categoryActionTypes","categoryErrorAction","productSuccessAction","productActionTypes","cmsSuccessAction","cmsActionTypes","colSuccessAction","COLLECTION_PAGE_DATA_SUCCESS","colData","pathWithCategoryPageCount","redisInfo","redirectUrl","getCookies","exchangeMethod","exchangeOrderId","exchangeItemId","SET_IS_EXCHANGE","fork","getCampaign","pageContext","parts","jsonFile","redisDataObj","GET_PRESALE_INFO_SUCCESS","GET_PRESALE_INFO_FAIL","SET_DTM_USERINFO","take","RESET_DTM_USERINFO","dittos","defaultDittoId","dittoNameObj","ip","audienceType","utmDataObj","GET_USER_LOAD","DITTO_PROFILE_LOAD","DITTO_NAME_SAVE","DITTO_DEFAULT_SET","DITTO_AUTH_LOAD","VALIDATE_SESSION","AUDIENCE_TYPE_LOAD","PASS_UTM_DATA_LOAD","MainNav","openLoginPopup","showLoginPopUp","openTab","closeLoginPopup","clearInterval","secondsTimer","hideCart","toggleCart","hideGoldAdded","showGoldAdded","showWishList","load","headerShortlist","showMenu","userSelectedMenuVisibility","hideMenu","cartClickHandler","actiontype","scrolledToTop","isRepeatUser","checkRepeatUser","dittoCallsAction","getCart","parseInt","platform","onpopstate","documentElement","setYotpoWidgetsState","cxid","cartLenskartPrice","quanTityValue","productTypeValue","productBrandValue","productFrameSizeValue","productNameValue","productOptionValue","productPackageNameValue","productCoatingValue","frameTypeValue","cartProductId","quanTity","productBrand","productFrameSize","productName","productOption","productCoating","productPackageName","subCategory","subCategoryStr","addOn","optionsPrice","frametype","subcategory","productOptionsType","catalogOptions","addonid","oid","addontype","addonprice","addonbaseproduct","cartSummary","hideElem","hideRepeatUserElem","GOLD_ADDED_POPUP_HTML","TRACK_ORDER","SHORTLIST","CART","locationQuery","loyaltyAddedHtml","mainNavigationData","rightBarNav","allowSignUp","hideLogin","resetMobileLoginProps","isMenuHidden","dittoCallsActionCreators","redirection","MainMenu","menu","parentMenu","stores","storesLoading","RESET_STORE_DATA","appointmentProcessing","appointmentDetails","appointmentError","salesmanData","salesmanVerifyError","isSalesmanVerificationLoading","pkgs","pidToPkgs","powerTypeList","LOAD","LOAD_NAVIGATION","FAIL_NAVIGATION","UPDATE_MAIN_NAVIGATION_LOCAL","MENU_RENDER","SHOW_GLOBAL_HEADER_FOOTER","showGlobalHeader","showGlobalFooter","SEARCH_DATA_SUCCESS","RESET_SEARCH_DATA","GET_MSITE_NAV_SUCCESS","mobileNavigationData","APP_DOWNLOAD_HEADER_SHOW","appDownloadHeader","show","showLoginPopup","a","b","fontFamily","cartHasLoyaltyBenefits","loyaltyCount","usePristineData","registerUser","authenticateUser","validateUserInput","sendValidateOtp","forgotPasswordAction","fetchEmailForMobile","linkEmailToMobile","mergeMobileWithEmail","runAuthCalls","commonSuccessAction","token","customerSuccessAction","userInfoResponse","validBlock","isMobileUserOnly","phoneCode","dataModify","captcha","captchaKey","occurence","payloadData","emailAddress","LOGOUT_USER_CART","LOGOUT_USER_CHECKOUT","LOGOUT_USER_MYACCOUNT","RESET_USER_SAVED_CARDS","RESET_ADDRESS","newSessionToken","verifyOtp","getLatestOrder","runDTMCalls","SET_LP_DATE","lastPurchaseDate","createdAt","lPDO","getFullYear","getMonth","getDate","GET_LP_DATE","getLocationData","getUserAddress","getPincodeData","updateUserAddress","runAddressCalls","LOCATION_DATA_SUCCESS","hideLoader","USER_ADDRESS_SUCCESS","USER_ADDRESS_FAIL","defaultAddress","PINCODE_DATA_SUCCESS","PINCODE_DATA_FAIL","addressJson","addressId","UPDATE_USER_ADDRESS_SUCCESS","UPDATE_USER_ADDRESS_FAIL","loadAction","USER_ADDRESS_LOAD","apiUrl","DELETE_USER_ADDRESS_SUCCESS","DELETE_USER_ADDRESS_FAIL","LOCATION_DATA_LOAD","PINCODE_DATA_LOAD","UPDATE_USER_ADDRESS_LOAD","DELETE_USER_ADDRESS_LOAD","LKModal","bodyClassName","keyboardVal","bsSize","Header","closeButton","Title","Body","dtmPType","generalSpecification","technicalSpecification","frameShape","clType","frameColor","gender","marketPrice","firstFrameFree","firstFrameFreePrice","firstFrameFreeDLPrice","productLensTypeDesc","measure","productDetailsImages","suitedFor","newFrameInfoObj","prescriptionType","frameDetails","imageUrlsDetail","imageReviews","rev","pCat","firstFrameFreeObj","isEmptyObject","desc","colorOptions","relatedItems","subSection1","subSection2","framecolor","frameshape","framesize","similarOptions","discountPrice","getUsersSavedCards","deleteUserSavedCard","runSavedCardsCalls","gatewayId","successActionOffer","errorActionOffer","filterByOffer","GET_USER_SAVED_CARDS_OFFER_SUCCESS","GET_USER_SAVED_CARDS_OFFER_FAIL","GET_USER_SAVED_CARDS_SUCCESS","GET_USER_SAVED_CARDS_FAIL","gatewayID","orderID","userData","DELETE_USER_SAVED_CARD_SUCCESS","DELETE_USER_SAVED_CARD_FAIL","GET_USER_SAVED_CARDS_LOAD","cardToken","DELETE_USER_SAVED_CARD_LOAD","getLocaleData","runGetLocaleCalls","dest","providers","createBrowserHistory","__data","rootSaga","hydrate","_routes","ReactDOM","Provider","ConnectedRouter","renderRoutes","Loadable","preloadReady","navigator","serviceWorker","getRegistrations","registrations","every","reg","active","scriptURL","unregister","insecure","updateInterval","setInterval","update","ready","getQRScanStatus","generateQRCode","runQRCodeCalls","HomeEyeCheckUp","sliderType","headingText","supportText","sliderImg","boldText","buttonText","getOrders","updateInfo","checkVoucher","getStoreCreditOrders","getStoreCreditOrderHistory","sendStoreCreditSMS","saveNeftValues","getReturnConfig","confirmCOD","runMyAccountCalls","makeCall","userSuccessAction","oldPassword","newPassword","apiData","confirmNewPassword","voucherCode","ORDER_LIST_LOAD_MORE","HEADER_UPDATE","HIDE_NAV","hideNav","SET_RETURN_PRODUCTS","returnProducts","MERGE_RETURN_DETAILS","returnDetails","STORE_LOCATION_LOAD","loadingNearByStore","STORE_LOCATION_SUCCESS","nearbyStore","STORE_LOCATION_FAIL","USER_ADDRESS_UPDATE","EXCHANGE_ADDRESS_UPDATE","exchangeAddress","STORE_ADDRESS_UPDATE","storeAddress","CREATE_RETURN_LOAD","createReturnLoading","CREATE_RETURN_SUCCESS","CREATE_RETURN_FAIL","GET_RETURN_REASONS","GET_RETURN_REASONS_SUCCESS","returnReasons","GET_RETURN_REASONS_FAIL","returnReasonsErr","GET_RETURN_MODES_LOAD","returnModes","GET_RETURN_MODES_SUCCESS","GET_RETURN_MODES_FAIL","GET_SERVICEABLE_ADDRESS_LOAD","isAddressServiceable","GET_SERVICEABLE_ADDRESS_SUCCESS","serviceable","GET_SERVICEABLE_ADDRESS_FAIL","GET_RETURN_DETAILS_LOAD","itemReturnDetails","GET_RETURN_DETAILS_SUCCESS","GET_RETURN_DETAILS_FAIL","GET_RETURN_ACTIONS_LOAD","GET_RETURN_ACTIONS_SUCCESS","returnActionsDetail","GET_RETURN_ACTIONS_FAIL","GET_PAYMENT_DATA_LOAD","GET_PAYMENT_DATA_SUCCESS","GET_PAYMENT_DATA_FAIL","GET_PAYMENT_METHODS_LOAD","GET_PAYMENT_METHODS_SUCCESS","paymentMethods","GET_PAYMENT_METHODS_FAIL","CREATE_REFUND_LOAD","createRefundLoading","CREATE_REFUND_SUCCESS","refundDetails","CREATE_REFUND_FAIL","SET_EXCHANGE_ORDER_AND_ITEM","SET_EXCHANGE_RETURN_CLEAN","GET_REFUND_ESTIMATE_LOAD","GET_REFUND_ESTIMATE_SUCCESS","refundEstimateData","GET_REFUND_ESTIMATE_FAIL","GET_ELIGIBILITY_RETURN_STATUS","orderReturnableStatus","GET_ELIGIBILITY_RETURN_STATUS_SUCCESS","GET_ELIGIBILITY_RETURN_STATUS_FAIL","GET_RETURN_LABEL_STATUS_LOAD","returnLabelGenerated","GET_RETURN_LABEL_STATUS_SUCCESS","GET_RETURN_LABEL_STATUS_FAIL","GET_ORDERITEMS_RETURNELIGIBILITY","returnEligibiliyDetailsLoading","returnEligibiliyDetails","GET_ORDERITEMS_RETURNELIGIBILITY_SUCCESS","GET_ORDERITEMS_RETURNELIGIBILITY_FAIL","SET_RETURN_ITEM_DETAILS","returnProductItemDetails","SET_CURRENT_RETURN_ITEM","currentReturnItem","SET_NEW_EXCHANGE_FLOW","exchangeNewFlow","RETURN_CANCEL_LOAD","returnCancelLoading","returnCancelStatus","RETURN_CANCEL_SUCCESS","RETURN_CANCEL_FAIL","returnCancelFail","getHomepageData","getCarousalsData","getHome","getMobileHomepageData","runHomeCalls","getProcessedData","homePageData","campaignDataForThisBlock","homeSections","campaignDataSize","blockType","homeCarouselData","newCarouselData","carouselSlide","idx","configPath","getRawHomeData","categoryCarouselPositions","categoryCarouselIds","filtered","catId","ids","categoryCarouselsData","carouselPosition","carouselData","cat_id","rawDataClone","getMergedHomeData","timestamp","Math","floor","addressLoaded","hideAddressLoader","isPincodeDataLoading","isUpdateAddressLoading","deleteUserAddressData","updateUserAddressData","updateUserAddressError","deleteUserAddressError","states","in","isPinCodeHide","countryName","hrefLang","gtmId_mob_prod","gtmId_mob_dev","gtmId_desktop_prod","trackjs_token","trackjs_application","trendingSearch_mobile","ae","jusPaymentStatusLoading","jusPaymentStatusData","SOME_ERROR_OCCURED_PLEASE_TRY_AGAIN","LDR","PLEASE_WAIT_WHILE_CONFIRM_YOUR_PAYMENT","useDispatch","getJusPaymentStatusLoad","subParentKey","getCampaignData","runCampaignCalls","structurizeCampaignData","processesData","bannerPosition","campaignSuccessAction","campaignErrorAction","getCartBogoConfig","urlKey","categoryType","ftype","getQueryParams","campaignDataState","isCollectionType","col","ORDER","CUSTOMER_NAME","runNeftCalls","runHeaderCalls","runFooterCalls","runCheckoutCalls","runCollectionPageCalls","runWhatsappStatusCalls","runReturnExchangeCalls","runFrameSizeCalls","runReviewCalls","runOfferCampaignCalls","yotpoSiteRating","bottomline","average_score","yotpoSiteReviewCount","total_reviews","dtmActionType","yotpoRefreshTimeout","Yotpo","initialized","yotpoApi","API","refreshWidgets","THIS_PRODUCT_HAS_NO_CUSTOM_OPTIONS","Footer","handleFooterClickEvent","footerList","showPowerModal","handleEyeglassesClick","eyeSunContact","handleSunglassesClick","handleContactClick","footerActions","renderDiv","clickHandler","elemType","footerData","firstFooter","secondFooter","Eyeglasses","Sunglasses","menuFirst","menuSecond","PowerGlass","pkgid","pkgname","getPackageName","getLensPackage","selectedPackageName","PLEASE_ENTER_FITTING_HEIGHT","ENTERED_FITTING_HEIGHT","alert","getSubmitValues","getCollectionPageData","COLLECTION_PAGE_DATA_FAIL","COLLECTION_PAGE_DATA_LOAD","getComponents","route","ret","matchRoutes","AppHelmet","keysArray","LinkArray","contactPoint","contactType","sameAs","aggregateRating","ratingValue","bestRating","reviewCount","potentialAction","topBarNav","headerCallsActionCreators","pristineCollectionData","colUrl","renderCollectionData","COLLECTION_PAGE_RENDER_DATA_UPDATE","COLLECTION_MERGED_DATA_UPDATE","isCachedData","searchDataLoading","categoryDataLoading","category_name","decodeURI","totalCountProd","catImgLink","cat_img_link","powerUrls","category_power_urls","isFilterEnable","subCategories","catFilterLoaded","filterFail","savedCat","dataCategoryList","prevUrl","FilterDataObj","handleFilterFunction","filterDrop","redisLoader","dataArray","updatedData","dataConcat","catData","currentURL","categoryScrollTo","scrollTo","dittoEnable","catDataList","catid","initialFilters","reset","loadSwitchBarSection","reload","visibleItemCounter","customerID","mobileNumber","setWindowDtm","SET_PLATFORM","deviceType","site","pushDataLayer","newDataLayer","persistDataLayer","dataLayer","pushDataLayerEvent","checkCurrentWhatsappStatus","setCurrentWhatsappStatus","details","removeFalsyValues","mergeWindowDtm","newDtm","persistDtm","logEvent","dtmCMSCategory","paramsMapping","android","ios","changeAsPerParamsMapping","appOS","retNewParams","numArr","newKey","atob","phoneStr","num","AnalyticsWebInterface","newParams","webkit","messageHandlers","firebase","command","parameters","postMessage","hasError","info","errorMessage","reqHeaders","changeLogo","countryCodeCookie","trafficSource","loadThirdPartyLibraries","freshmarketerEnabled","UnbxdSiteName","appendScriptToDOM","resetCampaignData","campaignCallsActionCreators","campaignTimerId","sectionContext","setGAEventListener","homeCallsActionCreators","loadCarousalsData","init","pageView","desktopGTM","createEvent","initEvent","FMApi","manualTriggerExperiment","indexedDB","open","onsuccess","TrackJS","install","application","enabled","__lc","license","lc","async","protocol","st","getElementsByTagName","insertBefore","freshwidget","isValidSession","passingUtmData","gaData","Name","Identity","Phone","genderType","Gender","onUserLogin","Site","freshBotHide","hideWidget","eventName","getUserEventData","productPageId","toggleWishlist","isSearchCrawler","checkoutCallsActionCreators","FOLLOW_US","followus","GET_MSITE_NAV","SEARCH_INPUT_CHANGE","ZeroPower","PACKAGE_UPDATE_FAILED","PACKAGE_UPDATED_SUCCESSFULLY","onCategoryHover","SELECT_CATEGORY","subtext","sendCampaignUserData","firstDealUserExists","getStoreList","createReturn","getReturnReasons","getReturnModes","checkServiceableAddress","getEligibilityReturnStatusForOrder","getReturnLabelStatus","getReturnDetails","getReturnActions","createRefund","getRefundEstimate","getOrderItemsReturnElgibilty","cancelReturn","radius","pageNumber","validateServiceableAddress","groupId","returnLabelStatus","refundMethod","returnId","text","getproductReviewListData","page","pageCount","reviewActionTypes","postObj","abandonLeadApi","htoLeadApi","getPaymentMethod","getDeliveryOptions","getCaptcha","getOffers","validateVpa","getUpiTransStatus","initiateJusPaySdk","getJusPaymentStatus","CARTSTEP3_SUCCESS","CARTSTEP3_FAIL","PAYMENT_SUCCESS","PAYMENT_FAIL","SAVE_SHIPPING_ADDRESS_SUCCESS","SAVE_SHIPPING_ADDRESS_FAIL","GET_DELIVERY_OPTIONS_SUCCESS","GET_DELIVERY_OPTIONS_FAIL","GET_CAPTCHA_SUCCESS","GET_CAPTCHA_FAIL","GET_CARDOFFER_SUCCESS","GET_CARDOFFER_FAIL","GET_OFFERS_SUCCESS","GET_OFFERS_FAIL","paymentOffers","PRE_SALES_USER_LOGIN_SUCCESS","PRE_SALES_USER_LOGIN_FAIL","VALIDATE_VPA_SUCCESS","VALIDATE_VPA_FAIL","GET_TRANS_STATUS_SUCCESS","GET_TRANS_STATUS_FAIL","upiTransactionStatus","CHECKOUT_INITIATE_JUSPAY_SUCCESS","CHECKOUT_INITIATE_JUSPAY_FAIL","addDittoProfile","file","ext","place","child","attr","readyState","onreadystatechange","onload","cmsCategoryArray","$element","rect","getBoundingClientRect","bottom","innerHeight","clientHeight","innerWidth","clientWidth","resolution","urlArray","indexMinusTwo","newUrlString","convertHttps","wait","immediate","later","apply","callNow","PERMISSION_DENIED","POSITION_UNAVAILABLE","TIMEOUT","UNKNOWN_ERROR","arr","dups","retArray","el","matchKey","uri","str","toUpperCase","serverCallUserAgent","botPattern","re","userAgent","time","formattedString","months","day","getDay","LKCashEnabled","is","dealskartLogo","rbiMarketPolicy","cards","visa","maestro","diners","jcb","amex","discover","adSet","afUrl","utmS","utmCH","utmM","utmC","partnerId","ua","osType","defaultTimeout","cb","_counter","checkExist","keyprices","sp","pricerange","PRODUCTS_GST","gsttotal","finalprice","calcPriceWithGST","srcBase64","srcOrientation","Image","canvas","ctx","getContext","transform","drawImage","toDataURL","dataURI","byteString","mimeString","ab","ArrayBuffer","ia","Uint8Array","charCodeAt","Blob","resolve","google","maps","Geocoder","geocode","results","geometry","address_components","c","types","long_name","postal_code","city","locality","administrative_area_level_2","administrative_area_level_1","formattedAddress","formatted_address","utmSource","utmSourceValue","utmCamValue","utmMediumValue","utmSourceStr","getHours","setDate","setHours","String","startHour","endHour","w","n","setAttribute","initiateWidget","autoInitChat","getClientParams","orderNo","successResponse","errorResponse","whatsAppOptInId","gaClientId","whatsappOptInId","utm_campaign","utm_medium","utm_source","eventAct","eventActSuffix","eventLev","pnameSuffix","eventData","eA","eAct","rT","returnType","cl","pname","pcategory","ctanamePrefix","ctaname","ecommOrderSuccessV2","returnProductDetails","dispatchPoint","returnStatus","returnMode","return_at_store","courier_pickup","return_at_wh","finalAttr","contains","attributes","elemObj","entry","entryKey","iplUnloadOfferEvent","Event","hiddenElem","element","hasClass","alsoRemove","cartItems","eyeFrame","buyoncallConfig","catConfig","isShown","contactNumberDisplay","digits","factor","round","constructor","utmObj","utm_content","utmTempObj","gstPercentage","domString","srcPath","isServer","exec","parameter","scriptSrc","isAsync","fbPixelForCartItems","totalCartPrice","fireAddPaymentInfo","InitiateCheckout","cartName","cartSku","skuItem","content_category","validators","validator","milliseconds","getFrameSizeData","authToken","getMainNav","getMobileNavigationData","getSearchData","GET_MSITE_NAV_FAIL","GET_USER_SAVED_CARDS_OFFER_LOAD","getUsersSavedCardsOffer","savedCardDelete","deleteSaveCardFail","vpaStatus","transStatus","orderPlaced","transStatusLoading","jusPayInitiated","jusPayData","vpaLoading","isValidVpa","checkoutStepKey","selectedPaymentMethod","guestInfo","checkoutBasicData","allowCartModification","pmLoading","paymentMethodLoadError","loadingPlaceOrder","paymentError","shippingLoader","saveShippingError","deliveryData","deliveryLoader","showOOS","preSalesInfo","preSalesUserIsLoggedIn","renderBankOffer","offers","addressType","addressline1","addressline2","alternatePhone","landmark","liftAvailable","comment","giftMessage","from","thirdTabKey","frameProduct","bankOffers"],"mappings":"2SAA8B,uB,oBACG,0B,iBACH,uB,yBAGQ,+B,4BACG,kC,yBACH,gC,+XCqCvB,WAAmD,IAAlCA,EAAkC,uDAAtBC,EAAcC,EAAQ,uCAC9D,OAAQA,EAAOC,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,CAAE0kF,yBAAyB,EAAMC,0BAAsBrjF,IAC7F,KAAKlB,EAAY0L,8BACf,OAAOxL,OAAOC,OAAO,GAAIP,EAAW,CAAE0kF,yBAAyB,EAAOC,qBAAsBzkF,EAAOU,OACrG,KAAKR,EAAY2L,2BACf,OAAOzL,OAAOC,OAAO,GAAIP,EAAW,CAAE0kF,yBAAyB,EAAOC,qBAAsBzkF,EAAOe,QACrG,QACE,OAAOjB,IArJb,M,ybAAA,Y,szBAEA,IAAMC,EAAe,CACnBkmG,kBAAmB,CACjBhiD,QAAS,CACP+iD,YAAa,UACbC,aAAc,GACdC,aAAc,GACdC,eAAgB,GAChBzI,KAAM,GACN7zF,QAAS,KACT6hC,UAAW,GACXC,SAAU,GACV5xB,MAAO,GACPooE,MAAO,EACP5N,OAAQ,GACR6xB,SAAU,GACVC,eAAe,EACf1I,SAAU,GACVvjE,MAAO,GACPxwB,SAAU,GACVzC,MAAO,GACPm/F,QAAS,IAEXC,YAAa,CACXC,KAAM,GACN1gG,QAAS,GACTkC,GAAI,KAGR+1E,eAAgB,KAChB0oB,YAAa,GACbnxC,YAAY,EACZswC,aAAc,KACdd,gBAAiB,EACjBzkD,YAAa,KACbilD,aAAc,KACdoB,cAAc,EACdxB,uBAAuB,EACvBS,SAAS,EACTG,gBAAiB,GACjBa,WAAY,KACZZ,OAAQ,KACRxwC,iBAAkB,KAClBoB,iBAAiB,EACjBiuC,YAAY,EACZN,UAAW,KACXG,oBAAoB,EACpBD,aAAa,EACbW,WAAW,EACX3hB,yBAAyB,EACzBC,0BAAsBrjF,K","file":"main.eb5361bd89528715041f.js","sourcesContent":["export const ADD_DITTO_LOAD = 'ditto/ADD_DITTO_LOAD';\nexport const ADD_DITTO_SUCCESS = 'ditto/ADD_DITTO_SUCCESS';\nexport const ADD_DITTO_FAIL = 'ditto/ADD_DITTO_FAIL';\n\n\nexport const SAVE_UPDATE_DITTO_LOAD = 'ditto/SAVE_UPDATE_DITTO_LOAD';\nexport const SAVE_UPDATE_DITTO_SUCCESS = 'ditto/SAVE_UPDATE_DITTO_SUCCESS';\nexport const SAVE_UPDATE_DITTO_FAIL = 'ditto/SAVE_UPDATE_DITTO_FAIL';\n\n\n\n","import * as actionTypes from './../../actionTypes/product';\n\nconst initialState = {\n productData: null,\n loaded: false,\n loading: false,\n clOpenList: '',\n contactLensData: null,\n loadingContactPackage: false,\n isCLSavedPresLoaded: false,\n savedPrescription: null,\n isContactPrescValid: null,\n frontImgUrl: '',\n frontImgCss: '',\n goToPDPId: '',\n catUrl: '',\n scrollTop: false,\n errorExpress: null,\n expressOptions: null,\n successExpress: false,\n oosSaved: false,\n oosError: false,\n selectedPowerType: '',\n productTabIndex: 1,\n enterLocationAddToCart: null,\n loadingPackage: false,\n getLensPackages: { result: { packages: [] } },\n getLensPackagesFailed: false,\n clsubscriptions: { data: null, error: null, loading: true },\n subscriptionDiscounts: { data: null, error: null, loading: true },\n clsolutions: { data: null, error: null, loading: true },\n modifiedProductData: {},\n staticDTM: {},\n pincodeData: null,\n pincodeError: null,\n appOfferDiscount: 0,\n appOfferPrice: 0,\n appCTAText: null,\n inValidPres: false,\n exchangeBalance: 0,\n isNonJitPowerValid: true,\n packageOrCoatingGroup: null\n};\n\nexport default function product(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.PRODUCT_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n productData: null\n });\n case actionTypes.PRODUCT_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n productData: action.data,\n modifiedProductData: action.modifiedProductData,\n staticDTM: action.staticDTM,\n successExpress: false\n });\n case actionTypes.PRODUCT_DATA_FAIL:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n productData: action.error,\n modifiedProductData: {},\n staticDTM: {}\n });\n case actionTypes.DITTO_IMG_EMAIL_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n dittoEmailSuccess: true\n });\n\n case actionTypes.DITTO_IMG_EMAIL_FAIL:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n dittoEmailSuccess: false\n });\n case actionTypes.DITTO_IMG_EMAIL_RESET:\n return Object.assign({}, prevState, {\n loaded: false,\n loading: false,\n dittoEmailSuccess: undefined\n });\n case actionTypes.CONTACT_LENS_LOAD:\n return Object.assign({}, prevState, {\n clOpenList: '',\n contactLensData: null,\n loadingContactPackage: true\n });\n case actionTypes.CONTACT_LENS_SUCCESS:\n return Object.assign({}, prevState, {\n loadingContactPackage: false,\n contactLensData: action.data.result,\n isNonJitPowerValid: true\n });\n case actionTypes.CONTACT_LENS_FAIL:\n return Object.assign({}, prevState, {\n loadingContactPackage: false,\n contactLensData: action.error,\n });\n case actionTypes.CL_SAVED_PRESCRIPTION_LOAD:\n return Object.assign({}, prevState, {\n isCLSavedPresLoaded: false,\n savedPrescription: null\n });\n case actionTypes.CL_SAVED_PRESCRIPTION_SUCCESS:\n return Object.assign({}, prevState, {\n isContactPrescValid: null,\n isCLSavedPresLoaded: true,\n savedPrescription: action.data\n });\n case actionTypes.CL_SAVED_PRESCRIPTION_FAIL:\n return Object.assign({}, prevState, {\n isCLSavedPresLoaded: true,\n savedPrescription: null,\n error: action.error\n });\n case actionTypes.CL_DROPDOWN_OPEN:\n return Object.assign({}, prevState, {\n clOpenList: action.data\n });\n case actionTypes.CL_PRESCRIPTION_VALID_TEST:\n return Object.assign({}, prevState, {\n loading: true,\n isContactPrescValid: null,\n inValidPres: false,\n isNonJitPowerValid: true\n });\n case actionTypes.CL_PRESCRIPTION_VALID_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n isContactPrescValid: action.data,\n inValidPres: false,\n isNonJitPowerValid: !prevState.productData.result.jit ? action.data.result[0].isSuccess : true\n });\n case actionTypes.CL_PRESCRIPTION_VALID_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n isContactPrescValid: action.error,\n inValidPres: true,\n isNonJitPowerValid: true\n });\n case actionTypes.FRONT_IMG:\n return Object.assign({}, prevState, {\n frontImgUrl: action.imgUrl,\n frontImgCss: action.imgUrl ? { backgroundImage: `url(${action.imgUrl})`, backgroundRepeat: 'no-repeat', backgroundSize: 'contain' } : {}\n });\n case actionTypes.GOTO_PDP_ID:\n return Object.assign({}, prevState, {\n goToPDPId: action.data,\n catUrl: action.path,\n scrollTop: true\n });\n case actionTypes.EXPRESS_TIME_SUCCESS:\n return Object.assign({}, prevState, {\n errorExpress: null,\n successExpress: true,\n expressOptions: action.data\n });\n case actionTypes.EXPRESS_TIME_FAIL:\n return Object.assign({}, prevState, {\n errorExpress: action.error,\n successExpress: false\n });\n case actionTypes.RESET_PINCODE_FORM:\n return Object.assign({}, prevState, {\n errorExpress: null,\n successExpress: false,\n expressOptions: null\n });\n case actionTypes.OOS_SUCCESS:\n return Object.assign({}, prevState, {\n oosSaved: true,\n oosError: false\n });\n case actionTypes.OOS_FAIL:\n return Object.assign({}, prevState, {\n oosSaved: false,\n oosError: true\n });\n case actionTypes.LENS_LOCATION_AVAILABILITY_SUCCESS:\n return Object.assign({}, prevState, {\n enterLocationAddToCart: action.data\n });\n case actionTypes.LENS_LOCATION_AVAILABILITY_FAIL:\n return Object.assign({}, prevState, {\n enterLocationAddToCart: action.error\n });\n case actionTypes.LENS_PACKAGES_LOAD:\n return Object.assign({}, prevState, {\n loadingPackage: true,\n getLensPackages: { result: { packages: [] } },\n getLensPackagesFailed: null\n });\n case actionTypes.LENS_PACKAGES_SUCCESS:\n return Object.assign({}, prevState, {\n loadingPackage: false,\n getLensPackages: action.data,\n getLensPackagesFailed: null\n });\n case actionTypes.LENS_PACKAGES_FAIL:\n return Object.assign({}, prevState, {\n loadingPackage: false,\n getLensPackages: { result: { packages: [] } },\n getLensPackagesFailed: action.error\n });\n case actionTypes.FLUSH_PRODUCT_DATA:\n return Object.assign({}, prevState, {\n productData: null,\n modifiedProductData: {},\n productStaticDTM: {}\n });\n case actionTypes.CHANGE_PRODUCTTABINDEX:\n return Object.assign({}, prevState, {\n productTabIndex: action.value\n });\n\n case actionTypes.RESET_PRODUCT_VALUE:\n return Object.assign({}, prevState, {\n ...action.args\n });\n case actionTypes.SET_POWER_TYPE:\n return Object.assign({}, prevState, {\n selectedPowerType: action.value\n });\n case actionTypes.GET_CLSUBSCRIPTION:\n return Object.assign({}, prevState, {\n clsubscriptions: { data: null, error: null, loading: true }\n });\n case actionTypes.GET_CLSUBSCRIPTION_SUCCESS:\n return Object.assign({}, prevState, {\n clsubscriptions: { data: action.data, error: action.error, loading: false }\n });\n case actionTypes.GET_CLSUBSCRIPTION_FAIL:\n return Object.assign({}, prevState, {\n clsubscriptions: { data: null, error: action.error, loading: false }\n });\n case actionTypes.GET_SUBSCRIPTION_DISCOUNT:\n return Object.assign({}, prevState, {\n subscriptionDiscounts: { data: null, error: null, loading: true }\n });\n case actionTypes.GET_SUBSCRIPTION_DISCOUNT_SUCCESS:\n return Object.assign({}, prevState, {\n subscriptionDiscounts: { data: action.data, error: null, loading: false }\n });\n case actionTypes.GET_SUBSCRIPTION_DISCOUNT_FAIL:\n return Object.assign({}, prevState, {\n subscriptionDiscounts: { data: null, error: action.error, loading: false }\n });\n case actionTypes.GET_CLSOLUTIONS:\n return Object.assign({}, prevState, {\n clsolutions: { data: null, error: null, loading: true }\n });\n case actionTypes.GET_CLSOLUTIONS_SUCCESS:\n return Object.assign({}, prevState, {\n clsolutions: { data: action.data, error: null, loading: false }\n });\n case actionTypes.GET_CLSOLUTIONS_FAIL:\n return Object.assign({}, prevState, {\n clsolutions: { data: null, error: action.error, loading: false }\n });\n case actionTypes.GET_DELIVERY_DETAILS_LOAD:\n return Object.assign({}, prevState, {\n pincodeData: null,\n pincodeError: null\n });\n case actionTypes.GET_DELIVERY_DETAILS_SUCCESS:\n return Object.assign({}, prevState, {\n pincodeData: action.data,\n pincodeError: null\n });\n case actionTypes.GET_DELIVERY_DETAILS_FAILED:\n return Object.assign({}, prevState, {\n pincodeData: null,\n pincodeError: action.error\n });\n case actionTypes.SET_APP_PRICE:\n return Object.assign({}, prevState, {\n appOfferPrice: action.price,\n appOfferDiscount: action.discount,\n appCTAOffer: action.appCTAText\n });\n case actionTypes.REVIEW_PRODUCT:\n return Object.assign({}, prevState, { postingReview: true, review: null });\n case actionTypes.REVIEW_PRODUCT_SUCCESS:\n return Object.assign({}, prevState, { postingReview: false, review: { message: action.message, error: null } });\n case actionTypes.REVIEW_PRODUCT_FAIL:\n return Object.assign({}, prevState, { postingReview: false, review: { message: null, error: action.error } });\n case actionTypes.SET_EXCHANGE_BALANCE:\n return Object.assign({}, prevState, { exchangeBalance: action.amount });\n case actionTypes.GET_PACKAGE_OR_COATING_GROUP_LOAD:\n return Object.assign({}, prevState, { packageOrCoatingGroup: null });\n case actionTypes.GET_PACKAGE_OR_COATING_GROUP_SUCCESS:\n return Object.assign({}, prevState, { packageOrCoatingGroup: action.data });\n case actionTypes.GET_PACKAGE_OR_COATING_GROUP_FAIL:\n return Object.assign({}, prevState, { packageOrCoatingGroup: null });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport SubMenu from './SubMenu';\n\nconst ContactLens = props => {\n const { menuData, updateNavValueDtm, section } = props;\n const fetchMenu = menuData.data.map((data, index) => {\n // const subParentKey = data;\n return Object.keys(data).map(key => {\n return (\n
\n \n
\n );\n });\n });\n\n return (\n
\n {fetchMenu}\n
\n );\n};\n\nexport default ContactLens;\n","import React from 'react';\nimport { connect } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport './RefundExchangeFallback.scss';\n\nconst RefundExchangeFallback = props => {\n const { dataLocale: { WANT_TO_EXCHANGE_REFUND, DOWNLOAD_OUR_MOBILE_APP, GO_TO_APP_MY_ACCOUNTS, GO, TO, LKDOTCOM, LK, AS, PS } } = props;\n return (\n
\n
\n \n {LK}\n \n
\n
\n
\n {WANT_TO_EXCHANGE_REFUND}\n
\n
\n {DOWNLOAD_OUR_MOBILE_APP}\n
\n
\n {GO_TO_APP_MY_ACCOUNTS}\n
\n
\n {AS}\n {PS}\n
\n
\n {GO} {TO} {LKDOTCOM}\n
\n );\n};\n\nconst mapStateToProps = state => ({\n dataLocale: state.locale\n});\n\nexport default connect(mapStateToProps)(RefundExchangeFallback);\n","import React from 'react';\n\nconst BlankLoader = props => {\n const { style, imageStyle } = props;\n return (\n
\n \"loader\"\n
\n );\n};\n\nexport default BlankLoader;\n","import * as actionTypes from '../actionTypes/checkout';\n\nexport function initiateJusPaySdk(payload) {\n return { type: actionTypes.CHECKOUT_INITIATE_JUSPAY, payload };\n}\n\nexport function checkoutStepUpdateKey(key) {\n return { type: actionTypes.CHECKOUT_STEP_KEY, key };\n}\n\nexport function updateSeletedPaymentMethod(key) {\n return { type: actionTypes.SELECTED_PAYMENT_METHOD, key };\n}\n\nexport function saveGuestDetail(data) {\n return { type: actionTypes.SAVE_GUEST_INFO, data };\n}\n\nexport function abandonLeadApi(data) {\n return { type: actionTypes.LOAD_ABANDON_LEAD, data };\n}\n\nexport function htoLeadApi(data) {\n return { type: actionTypes.LOAD_HTO_LEAD, data };\n}\n\nexport function managecheckoutBasicData(data) {\n return { type: actionTypes.MANAGE_CHECKOUT_DATA, data };\n}\n\nexport function toggleCartModification(allow) {\n return { type: actionTypes.CART_MODIFICATION, allow };\n}\n\nexport function getPaymentMethod(orderId, isExchange, isSalesman) {\n return { type: actionTypes.CARTSTEP3_LOAD, orderId, isExchange, isSalesman };\n}\n\nexport function orderPayment(orderPaymentData, isExchange) {\n return { type: actionTypes.LOAD_PAYMENT_SUCCESS, orderPaymentData, isExchange };\n}\n\nexport function saveShippingAddress(data, isExchange) {\n return { type: actionTypes.SAVE_SHIPPING_ADDRESS, data, isExchange };\n}\n\nexport function getDeliveryOptions(postcode, country) {\n return { type: actionTypes.GET_DELIVERY_OPTIONS, postcode, country };\n}\n\nexport function updateDeliveryOption(type, postcode, country) {\n return { type: actionTypes.UPDATE_DELIVERY_OPTION, data: { type, postcode, country } };\n}\n\nexport function showOOSfunc(val) {\n return { type: actionTypes.SHOW_OOS, val };\n}\n\nexport function logoutUser() {\n return { type: actionTypes.LOGOUT_USER };\n}\n\nexport function getCaptcha() {\n return { type: actionTypes.GET_CAPTCHA };\n}\n\n// Bin series\n\nexport function getCardOffers(cardNumber) {\n return { type: actionTypes.GET_CARDOFFER, cardNumber };\n}\n\nexport function getOffers() {\n return { type: actionTypes.GET_OFFERS_LOAD };\n}\nexport function preSalesUserLogin(data) {\n return { type: actionTypes.PRE_SALES_USER_LOGIN, data };\n}\n\n// Validate VPA\nexport function validateVpa(data) {\n return { type: actionTypes.VALIDATE_VPA, data };\n}\n\n// Validate VPA\nexport function resetVpa() {\n return { type: actionTypes.RESET_VPA };\n}\n\n// UPI Transaction Status\nexport function getUpiTransStatus(orderId) {\n return { type: actionTypes.GET_TRANS_STATUS_LOAD, orderId };\n}\n\nexport function getJusPaymentStatusLoad(payload) {\n return { type: actionTypes.GET_JUSPAYMENT_STATUS_LOAD, payload };\n}\n\nexport function getJusPaymentStatusSuccess(payload) {\n return { type: actionTypes.GET_JUSPAYMENT_STATUS_SUCCESS, payload };\n}\n\nexport function getJusPaymentStatusFail(payload) {\n return { type: actionTypes.GET_JUSPAYMENT_STATUS_FAIL, payload };\n}\n","import React from 'react';\nimport './BlankWidgets.scss';\n\nconst BlankWidgets = props => {\n const blankWidgets = props.rowsArray || ['1', '2', '3', '4', '5', '6'];\n return (\n
\n {\n blankWidgets.map(key => {\n return (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n );\n })\n }\n
\n );\n};\n\nexport default BlankWidgets;\n","const isDevelopment = process.env.BUILD_ENV === 'development';\nconst __CLIENT_TYPE__ = process.env.CLIENT_TYPE;\nconst __API_JUNO__ = process.env.API_JUNO;\nconst __API_ALB_V2__ = process.env.API_ALB_V2;\nconst __API_LK__ = process.env.API_LK;\nconst __IS_LOCAL__ = process.env.IS_LOCAL_DEV;\nconst __YOTPO_API_KEY__ = isDevelopment\n ? 'H8YJ4tBeZCQjT0UJVvyfiCm7Dyl6v0UNCKwZXywm'\n : 'yRLOxOqElIsw88TIlZ1GZE9GxjFBP5oNzH49HEnC';\nconst __API_STORE__ = isDevelopment\n ? 'https://webapi-beta-preprod.lenskart.com'\n : 'https://webapi-beta.lenskart.com'; // process.env.API_STORE;\nconst __API_POS__ = isDevelopment\n ? 'https://apipos-preprod.lenskart.com'\n : 'https://apipos.lenskart.com';\nconst __API_IFRAME__ = isDevelopment\n ? 'https://preprodbridge.lenskart.com'\n : 'https://bridge.lenskart.com';\n\nconst jsonPath =\n __IS_LOCAL__ === 'ON'\n ? `/locale/${__CLIENT_TYPE__}/:locale`\n : `https://static.lenskart.com/media/locale/${isDevelopment ? 'stage' : 'prod'\n }/${__CLIENT_TYPE__}/:locale`;\nconst jsonFireBasePath = `https://${isDevelopment ? 'stage' : 'area51'}.lenskart.io/api/v1/static`;\nconst environment = {\n development: {\n isProduction: false,\n assetsPath: '/',\n },\n production: {\n isProduction: true,\n assetsPath: `${\n __CLIENT_TYPE__ === 'mobile'\n ? 'https://static.lenskart.com/media/mobile/react/'\n : 'https://static.lenskart.com/media/desktop/js/dist-prod/'\n }`,\n },\n}[process.env.BUILD_ENV || 'development'];\n\nconst frameSizeId = {\n medium: isDevelopment ? '11341' : '11341',\n extraNarrow: isDevelopment ? '23559' : '24072',\n narrow: isDevelopment ? '23557' : '24070',\n wide: isDevelopment ? '23555' : '24069',\n extraWide: isDevelopment ? '23553' : '24071',\n};\n\n// Msite specific globals will go here.\nconst msiteGlobals = {\n maxShortList: { count: 50 },\n appXApiClients: ['android', 'ios'],\n recViewList: { noOfDisplayProducts: 11 },\n viewImagesList: ['frame_shape_id', 'frametype_id', 'frame_size_id'],\n filterCdnPath: 'https://static.lenskart.com/images/cust_mailer/',\n recCatList: { noOfCatIds: 5, noOfDisplayProducts: 10 },\n cmsCategoryArray: [\n 'eyeglasses',\n 'sunglasses',\n 'power-sunglasses',\n 'premium-eyeglasses',\n 'contact-lenses',\n ],\n};\n// ditto auth api\n// const dittoSecretKey = '985b799a13ad811468ede9f20fc8bb2e802ce2a48712639ecccb7f2a39fb23f1abb027db2ac171823c77b0843877b2acad4c2e16ae0f3cfaf6b8a68881bcbeed';\n// const dittoAccessKey = '864c62d7894d1f12';\n// site key for captcha\nconst siteKey = '6LcssXobAAAAABuHKTm_Fk6nevRwZUTGtHij1wS2';\n// Msite specific api path will goes here.\nconst msiteApiPath = {\n homePageJson: `${jsonPath}/home.json`,\n // homePageJson: 'http://lenskart.com:8081/locale/mobile/en_IN/home.json',\n verifyOtp: `${__API_JUNO__}/v2/customers/verifyOtp`,\n subCatApiUrl: `${__API_JUNO__}/v2/products/subcategory`,\n returnConfig: `${jsonPath}/return-config.json`,\n returnReasons: `${__API_JUNO__}/v2/orders/return/reasons`,\n returnModes: `${__API_JUNO__}/v2/orders/return/methods`,\n validateServiceableAddress: `${__API_JUNO__}/v2/orders/return/serviceability`,\n nearbyStore: `${__API_JUNO__}/v2/utility/admin/store/nearbyAll`,\n returnLabelStatus: `${__API_JUNO__}/v2/orders/return/return-label/`,\n paymentMethod: `${__API_JUNO__}/v3/payment-methods`,\n paymentOffers: `${__API_JUNO__}/v2/payments/offers/enabled`,\n posSeamlessLink: `${__API_POS__}/v1/order/seamless/sendLink`,\n getSalesmanDetails: `${__API_JUNO__}/v2/utility/salesman`,\n validateVpa: `${__API_JUNO__}/v2/payments/validateVpa`,\n upiTransactionStatus: `${__API_JUNO__}/v2/payments/`,\n};\n// Common api paths will goes here for msite/desktop\nlet apiPath = {\n userSession: `${__API_JUNO__}/v2/sessions`,\n logOut: `${__API_JUNO__}/v2/sessions/logout`,\n albUserSession: `${__API_ALB_V2__}/v2/sessions`,\n redisConsole: `${jsonFireBasePath}/web_redis_config`,\n redis: `${__API_JUNO__}/v2/utility/redis?keys=`,\n albRedis: `${__API_JUNO__}/v2/utility/redis?keys=`,\n redisConfig: `${jsonPath}/redis.json`,\n dataProduct: `${__API_JUNO__}/v2/products/product/`,\n albDataProduct: `${__API_ALB_V2__}/v2/products/product/`,\n dataProductUnSecure: `${__API_JUNO__}/v2/products/product/`,\n lensPackages: `${__API_JUNO__}/v2/products/product/`,\n lensPackageAndCoating: `${__API_JUNO__}/v2/products/product/buyoptions/group`,\n subscriptionDiscounts: `${__API_JUNO__}/v2/products/subscriptions/discount`,\n estimateDelivery: `${__API_JUNO__}/v2/products/product/`,\n categorySearch: `${__API_JUNO__}/v2/products/category/search/query/`,\n categorySearchFilter: `${__API_JUNO__}/v2/products/filters/query/`, // ?query=vincent\n // categorySearchFilter: `${__API_LK__}/v2/products/category/search/query/`, // ?query=vincent\n dataCategory: `${__API_JUNO__}/v2/products/category/`,\n albDataCategory: `${__API_JUNO__}/v2/products/category/`,\n categoryCarouselUrl: `${__API_JUNO__}/v2/products/carouselbanner?category=`,\n filterDataApi: `${__API_JUNO__}/v2/products/filters/`,\n homePageJson: `${jsonPath}/revamp_home.json`,\n mainNavigation: `${jsonPath}/navigation.json`,\n mobileNavigationJsonUrl: `${jsonPath}/navigation_menu.json`,\n userAuthenticate: `${__API_JUNO__}/v2/customers/authenticate`,\n userAddress: `${__API_JUNO__}/v2/customers/me/addresses/`,\n saveUpdateDitto: `${__API_JUNO__}/v2/utility/ditto/customer/`,\n lensOnlyShippinglocation: `${__API_LK__}/api/v1/shipping/location/`,\n deleteUserAddress: `${__API_JUNO__}/v2/customers/me/`,\n registerCustomer: `${__API_JUNO__}/v2/customers/register`,\n forgotPasswordToken: `${__API_JUNO__}/v2/customers/account/tokens`,\n campaignData: `${__API_JUNO__}/v2/utility/campaign`,\n socialAuth: `${__API_JUNO__}/v2/customers/socialauthenticate/`,\n updateCartItem: `${__API_JUNO__}/v2/carts/items/`,\n locationData: `${__API_JUNO__}/v2/utility/countrystate`,\n pincodeCheck: `${__API_JUNO__}/v2/utility/checkpincode/`,\n orderPayment: `${__API_JUNO__}/v2/orderpayment/`,\n // requestPaymentUrl: __API_LK___SECURE + '/me/index/requestPayment',\n applyGV: `${__API_JUNO__}/v2/carts/giftVoucher/`,\n storeCredit: `${__API_JUNO__}/v2/money/store-credits/`,\n applySC: `${__API_JUNO__}/v2/carts/`,\n cartApi: `${__API_JUNO__}/v2/carts`,\n albCartApi: `${__API_ALB_V2__}/v2/carts`,\n reOrderCartApi: `${__API_JUNO__}/v2/carts/recart/`,\n breadcrumb: `${__API_LK__}/me/index/breadcrumb?id=`,\n getUserInfo: `${__API_JUNO__}/v2/customers/me`,\n albGetUserInfo: `${__API_ALB_V2__}/v2/customers/me`,\n wishlist: `${__API_JUNO__}/v2/products/wishlist`,\n // usersSavedCards: `${__API_JUNO__}/v2/saved-cards`,\n checkDeliveryOption: `${__API_JUNO__}/v2/carts/expressdelivery/deliveryOptions?pincode=`,\n updateDeliveryOption: `${__API_JUNO__}/v2/carts/expressdelivery/updateDeliveryOption/`,\n oosSubscription: `${__API_JUNO__}/v2/products/product/oos-subscription`,\n saveShippingAddress: `${__API_JUNO__}/v2/carts/shippingAddress`,\n homeEyeCheckup: 'https://hto.lenskart.com/HTO/api/HTOService/slot',\n emailDitto: `${__API_JUNO__}/v2/utility/ditto/customer/mail`,\n enterMyPower: 'https://www.lenskart.com/instantpfulink.php',\n v2Orders: `${__API_JUNO__}/v2/orders`,\n getOrdersListInv: `${__API_JUNO__}/v3/orders/aggregator/inventory`,\n getOrderDetailsInv: `${__API_JUNO__}/v3/orders/aggregator/inventory?orderId=`,\n getSavedPrescription: `${__API_JUNO__}/v2/prescriptions`,\n recentOrders: `${__API_JUNO__}/v2/orders/recentOrders`,\n latestOrder: `${__API_JUNO__}/v2/orders/latest/order`,\n uploadprescfile: `${__API_JUNO__}/me/index/uploadprescfile`,\n validateSession: `${__API_JUNO__}/v2/sessions/validate`,\n albValidateSession: `${__API_ALB_V2__}/v2/sessions/validate`,\n userLocation: `${__API_JUNO__}/v2/utility/configurations/location?ip=`,\n albUserLocation: `${__API_JUNO__}/v2/utility/configurations/location?ip=`,\n varnishApi: `${__API_LK__}/ajax/index/dummyvar`,\n dittoProfile: `${__API_JUNO__}/v2/utility/ditto/customer/`,\n changePassword: `${__API_JUNO__}/v2/customers/account/resetpassword`,\n giftVoucherBalance: `${__API_JUNO__}/v2/money/gift-vouchers/code?giftVoucherCode=`,\n mobileLoginAccountInfo: `${__API_JUNO__}/v2/customers/accountsInfo`,\n editNeft: `${__API_JUNO__}/v2/orders/neft/savedetails`,\n resetPassword: `${__API_JUNO__}/juno-customer/v2/customers/account/forgotpassword`,\n mobileLoginSendOTP: `${__API_JUNO__}/v3/customers/sendOtp`,\n mobileLoginSendOTPV2: `${__API_JUNO__}/v2/customers/sendOtp`,\n mobileLoginAuthenticateMobileUser: `${__API_JUNO__}/v2/customers/authenticate/mobile`,\n magentoCategory: `${__API_JUNO__}/me/index/carouselbanner?category=`,\n mobileEmailFetch: `${__API_JUNO__}/v2/customers/accounts?telephone=`,\n mobileEmailLink: `${__API_JUNO__}/v2/customers/accountVerification/sendEmail`,\n cmsPages: '/me/catalog/cmsPage/id/',\n captchaUrl: `${__API_LK__}/me/index/getcaptcha/`,\n countryCode: `${__API_STORE__}/country/`,\n apiCampaign: `${__API_STORE__}/campaign?client=${\n __CLIENT_TYPE__ === 'mobile' ? 'msite' : 'desktop'\n }`,\n dittoAuth: `${__API_JUNO__}/v2/utility/ditto/customer/authentication/token/`,\n reviewProduct: `${__API_JUNO__}/v2/products/product/`,\n generateOtp: `${__API_JUNO__}/v2/utility/otp`,\n yotpoSiteReview: `https://api.yotpo.com/products/${__YOTPO_API_KEY__}/yotpo_site_reviews/bottomline`,\n checkWhatsappConsent: `${__API_JUNO__}/v2/customers/checkWhatsAppOpingStatus`,\n setWhatsappConsent: `${__API_JUNO__}/v2/customers/whatsAppOpting`,\n // frameSize: `https://lenskart-${isDevelopment ? 'prod' : 'prod'}.firebaseapp.com/api/v1/frame-size/calculate`,\n frameSize: `https://lenskart-${\n isDevelopment ? 'prod' : 'prod'\n }.firebaseapp.com/api/v1/frame-size/calculate`,\n storeFrameSize: `https://lenskart-${\n isDevelopment ? 'stage-e9bdd' : 'prod'\n }.firebaseapp.com/api/v1/frame-size/upload_image`,\n categoryConfigJson: `https://lenskart-${\n isDevelopment ? 'stage-e9bdd' : 'prod'\n }.firebaseapp.com/api/v1/static/category-config`,\n getCustomerInfo: `${__API_JUNO__}/v2/customers/info/`,\n storeApi: `${__API_STORE__}`,\n getCardOffers: `${__API_JUNO__}/v2/payments/offers/enabled`, // use it for getCardOffers local env\n applyOfferMock: '/mock-api/applyOffer', // for mock\n applyOffer: `${__API_JUNO__}/v2/carts/paymentOffer`, // use it for getCardOffers local env\n // usersSavedCards: '/mock-api/savedCards',\n usersSavedCards: `${__API_JUNO__}/v2/saved-cards/`,\n removeOfferMock: '/mock-api/removeOffer', // for mock\n removeOffer: `${__API_JUNO__}/v2/carts/paymentOffer/`,\n // paymentMethod: '/mock-api/paymentMethods',\n paymentMethod: `${__API_JUNO__}/v4/payment-methods`,\n htoPageJson: `${jsonPath}/hto.json`,\n validateUserLocation: `${__API_JUNO__}/HTO/api/HTOService`,\n htoBookNowOrder: `${__API_JUNO__}/HTO/api/HTOService`,\n qrPaymentsApi: `${__API_JUNO__}/v2/payments/`,\n preSalesDualLogin: `${__API_JUNO__}/v2/customers/dualLogin`,\n localeConfigPath: `${jsonFireBasePath}/web_locale_config`,\n // localeConfigPath: `${__IS_LOCAL__ === 'ON' ? '/locale/localeConfig.:locale.json' : `https://static.lenskart.com/media/locale/${isDevelopment ? 'stage' : 'prod'}/localeConfig.:locale.json`}`,\n // localeConfigPath: `${__IS_LOCAL__ === 'ON' ? `/locale/${__CLIENT_TYPE__}/:locale/localeConfig.json` : `https://static.lenskart.com/media/locale/${isDevelopment ? 'stage' : 'prod'}/${__CLIENT_TYPE__}/:locale/localeConfig.json`}`,\n downloadUploadedPrescription: `${__API_JUNO__}/v2/utility/customer/prescriptions/download/`,\n productReviewList: `${__API_JUNO__}/v2/products/product/`,\n passUtmData: `${__API_JUNO__}/v2/utility/user/passutmdata`,\n juspaySdkInitiate: `${__API_JUNO__}/v2/payments/sdk/initiate`,\n checkUserExists: `${__API_JUNO__}/v2/orders/exists`,\n campaignFirstDeal: `${__API_JUNO__}/v2/utility/survey/first-deal`,\n checkFirstDealUserExists: `${__API_JUNO__}/v2/utility/survey/first-deal/exists`,\n};\n\napiPath = __CLIENT_TYPE__ === 'mobile' ? Object.assign(apiPath, msiteApiPath) : apiPath;\n\nlet config = Object.assign(\n {\n host: process.env.HOST || 'localhost',\n port: process.env.PORT || 3000,\n apiHost: process.env.APIHOST || 'localhost',\n apiPort: process.env.APIPORT,\n app: {\n title: 'Lenskart.com® - First Eyeglasses Frame FREE',\n description:\n 'Shop online for Sunglasses, Eyeglasses and Contact Lenses for men & women and Get upto 50% Flat Discount at lenskart.com. ✓FREE shipping ✓Cash on Delivery ✓14 Days Return.​',\n head: {\n titleTemplate: '%s',\n },\n },\n categoryPageSize: 15,\n apiPath,\n siteKey,\n rbiMarketPlaceConfig: {\n type: __CLIENT_TYPE__,\n defaultLogo: 'https://static.lenskart.com/media/mobile/images/lkLogo.svg',\n },\n ditto: {\n serverUrl: 'https://vto.lenskart.api.ditto.com',\n accessKeyId: '',\n signature: '',\n modelDittoId: 'ditto_model_female_04',\n modelDittoSignature: '',\n sku: '122548',\n disableScale: true,\n vtoUrl: 'https://vto.lenskart.api.ditto.com/api/1.3/dittos/',\n faServerUrl: 'https://face.lenskart.api.ditto.com',\n replaceShareDittoUrlPrefix: !isDevelopment,\n },\n sixOversix: {\n options: {\n fullPage: true,\n width: '100vw',\n themeColor: '#5FB8E3',\n },\n clientId: isDevelopment\n ? '093f4b80946e12dfd1f5a3552fd5acbf'\n : 'aef53fd8f1d4fe16b40e085cce94ed35',\n },\n defaultFrameCategory: {\n eyeglasses: '/eyeglasses/brands/vincent-chase-eyeglasses.html#filter_frame_size_id%3D',\n sunglasses: '/sunglasses/promotions/vc-new-arrivals.html#filter_frame_size_id%3D',\n },\n searchBarConfig: {\n url: 'https://search.unbxdapi.com/{0}/autosuggest?q=',\n siteName: 'lenskart_com-u1418736834941',\n APIKey: '6c1aa3ba216de83b8340d2d4d891d309',\n inFields: {\n count: 2,\n },\n topQueries: {\n count: 5,\n },\n keywordSuggestions: {\n count: 2,\n },\n popularProducts: {\n count: 5,\n },\n },\n iframe: {\n iframeUrl: __API_IFRAME__,\n },\n yotpoConfig: {\n apiKey: __YOTPO_API_KEY__,\n instaGalleries: {\n pdp: isDevelopment ? '5cd2e4b093bf900cc16e06c3' : '5cd56a15a230aa3b9199f193',\n home: isDevelopment ? '5cc82cae6830580008ec0594' : '5cc6ae7593bf9010d734bc9d',\n shop: isDevelopment ? '5cd3edb858bdd30009dca8dc' : '5cd56a30f1b75c389da04c81',\n },\n },\n jsonPath,\n jsonFireBasePath,\n frameSizeId,\n },\n environment\n);\n('#if CLIENT_TYPE === \"mobile\"'); // eslint-disable-line\nconfig = Object.assign(config, { msiteGlobals });\n('#endif'); // eslint-disable-line\n\nmodule.exports = config;\n","import React from 'react';\nimport './CrossCountryStrip.scss';\n\nfunction CrossCountryStrip(props) {\n const { country, domain } = props.countryData;\n const { dataLocale: { YOU_ARE_ON_INDIAN_WEB, WEBSITE, TO_PURCHASE_FROM, CLICK_HERE } } = props;\n return (
\n {YOU_ARE_ON_INDIAN_WEB} {TO_PURCHASE_FROM} {country} {WEBSITE}\n {CLICK_HERE}\n
);\n}\n\nexport default CrossCountryStrip;\n","import * as actionTypes from './../../actionTypes/review';\n\nconst initialState = {\n isReviewListLoading: false,\n productReviewList: undefined,\n reviewPageSize: 10,\n postReviewProccessing: false,\n postReviewData: undefined\n};\n\nexport default function review(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.GET_PRODUCT_REVIEW_LIST_LOAD:\n return Object.assign({}, prevState, { isReviewListLoading: true });\n case actionTypes.GET_PRODUCT_REVIEW_LIST_SUCCESS:\n const { productReviewList } = prevState;\n const result = action.data;\n if (productReviewList) {\n result.result.review.reviews = productReviewList?.result?.review?.reviews.concat(result.result?.review?.reviews);\n }\n return Object.assign({}, prevState, { isReviewListLoading: false, productReviewList: result });\n case actionTypes.GET_PRODUCT_REVIEW_LIST_FAIL:\n return Object.assign({}, prevState, { isReviewListLoading: false, productReviewList: action.data });\n case actionTypes.GET_PRODUCT_REVIEW_LIST_RESET:\n return Object.assign({}, prevState, { isReviewListLoading: false, productReviewList: undefined });\n case actionTypes.POST_REVIEW_LOAD:\n return Object.assign({}, prevState, { postReviewProccessing: true, postReviewData: undefined });\n case actionTypes.POST_REVIEW_SUCCESS:\n return Object.assign({}, prevState, { postReviewProccessing: false, postReviewData: action.data });\n case actionTypes.POST_REVIEW_FAIL:\n return Object.assign({}, prevState, { postReviewProccessing: false, postReviewData: action.data });\n case actionTypes.POST_REVIEW_RESET:\n return Object.assign({}, prevState, { postReviewProccessing: false, postReviewData: undefined });\n default:\n return prevState;\n }\n}\n","export const getProductCarouselState = state => state.productCarousel.productCarouselData;\n","import * as actionTypes from './../../actionTypes/common';\nimport config from 'config';\nimport localStorageHelper from '../../utils/localStorageHelper';\nimport getSetCookie from '../../cookie';\nconst initialState = {\n login: false,\n scrollingLock: false,\n isCartCount: 0,\n isWishlistCount: 0,\n isAlreadyLoyal: false,\n userInfo: null,\n loginError: null,\n commonError: null,\n redisCommonData: {},\n loginLoader: false,\n showCart: false,\n addToCartFailed: null,\n junoV2Session: null,\n dittoSaved: false,\n saveWishlist: false,\n currencyMark: {\n INR: '₹',\n SGD: '$',\n AED: 'AED'\n },\n wishlistTrue: false,\n shortListBool: false,\n wishListDeleteSuccess: false,\n wishListAddSuccess: false,\n shortListData: {\n result: { productIds: [], productList: [], numberOfProducts: 0 }\n },\n toastMessage: null,\n productID: null,\n categoryID: null,\n redisKey: null,\n section: '',\n quickViewPid: null,\n dittoProfile: null,\n refreshDittoProfile: false,\n saveDittoName: null,\n dittoChanged: false,\n deleteDittoProfile: null,\n deleteDittoProccessing: false,\n redisLoading: true,\n redisLoaded: false,\n appLogo: '',\n isSupported: true,\n sizeQuiz: { sizeString: '', prefSize: '' },\n dittoAuth: null,\n dittoProfileAuthImages: null,\n askUserLogin: false,\n countryData: null,\n cmsPopUpData: '',\n isYotpoWidgets: false,\n isTryOnSwitch: false,\n customerInfo: null,\n embedVideo: null,\n localeInfo: null\n};\n\nexport default function common(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.GET_REDIS_ROUTER_LOAD:\n return Object.assign({}, prevState, {\n redisLoading: true,\n redisLoaded: false,\n productID: action.categoryId ? prevState.productID : action.productId,\n categoryID: action.productId ? prevState.categoryID : action.categoryId,\n section: action.section || 'BlankLoader',\n isSupported: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.isSupported() : true,\n checkBrowser: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.checkBrowser() : true\n });\n case actionTypes.SET_COUNTRY_INFO:\n return Object.assign({}, prevState, {\n localeInfo: action.data,\n });\n case actionTypes.GET_REDIS_ROUTER_SUCCESS:\n return Object.assign({}, prevState, {\n redisLoading: false,\n redisLoaded: true,\n section: action.data.section,\n productID: action.data.productId ? action.data.productId : prevState.productID,\n categoryID: action.data.categoryId ? action.data.categoryId : prevState.categoryID,\n redisKey: action.data.redisKey,\n serversideLoaded: __SERVER__\n });\n case actionTypes.GET_REDIS_ROUTER_FAIL:\n return Object.assign({}, prevState, {\n section: 'na',\n productID: null,\n appLogo: 'https://static.lenskart.com/media/desktop/img/site-images/logo.svg',\n categoryID: null,\n redisLoading: false,\n redisLoaded: true,\n redisKey: null\n });\n case actionTypes.GET_REDIS_DATA:\n return Object.assign({}, prevState);\n case actionTypes.GET_REDIS_SUCCESS:\n return Object.assign({}, prevState, {\n isDoctorSession: action.data.isDoctorSession ? action.data.isDoctorSession : false,\n redisCommonData: action.data.result\n });\n case actionTypes.GET_REDIS_FAIL:\n return Object.assign({}, prevState, { redisCommonData: action.error });\n case actionTypes.GET_USER:\n if (typeof window !== 'undefined') {\n window.sessionStorage.setItem('userEmail', window.sessionStorage.getItem('userEmail') ? window.sessionStorage.getItem('userEmail') : '');\n window.sessionStorage.setItem('userPh', window.sessionStorage.getItem('userPh') ? window.sessionStorage.getItem('userPh') : '');\n }\n return Object.assign({}, prevState, {\n userInfo: null,\n loginLoader: true,\n isAlreadyLoyal: false,\n isSupported: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.isSupported() : true,\n checkBrowser: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.checkBrowser() : true\n });\n case actionTypes.GET_USER_SUCCESS:\n if (typeof window !== 'undefined') {\n const userInfo = action.data.result;\n window.sessionStorage.setItem('userEmail', userInfo.email ? userInfo.email : '');\n window.sessionStorage.setItem('userPh', userInfo.telephone ? userInfo.telephone : '');\n }\n return Object.assign({}, prevState, {\n login: action.data.result.login,\n loginLoader: false,\n isAlreadyLoyal: action.data && action.data.result && action.data.result.isLoyalty,\n isWishlistCount: action.data.result.isWishlistCount,\n isCartCount: action.data.result.isCartCount,\n userInfo: action.data,\n redisLoaded: true,\n redisLoading: false,\n askUserLogin: false\n });\n case actionTypes.GET_USER_FAIL:\n return Object.assign({}, prevState, {\n login: false,\n userInfo: null,\n loginLoader: false,\n isAlreadyLoyal: false,\n errorCode: action.error.status,\n isWishlistCount: action.error.result ? action.error.result.isWishlistCount : 0,\n isCartCount: action.error.result ? action.error.result.isCartCount : 0,\n commonError: action.error\n });\n case actionTypes.LOAD_JUNO_SESSION:\n return Object.assign({}, prevState, {\n saveWishlist: false,\n dittoSaved: false,\n junoV2Session: null,\n errorCode: null\n });\n case actionTypes.LOAD_JUNO_SESSION_API_SUCCESS:\n return Object.assign({}, prevState, {\n sessionToken: action.data.result.id,\n junoV2Session: true,\n isSupported: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.isSupported() : true,\n checkBrowser: (__CLIENT__) && typeof ditto !== 'undefined' ? ditto.api.checkBrowser() : true\n });\n case actionTypes.LOAD_JUNO_SESSION_API_FAIL:\n return Object.assign({}, prevState, { junoV2Session: action.error });\n case actionTypes.SHORTLIST_LOAD:\n return Object.assign({}, prevState, {\n shortListLoading: true\n });\n case actionTypes.SHORTLIST_SUCCESS:\n return Object.assign({}, prevState, {\n shortListLoading: false,\n wishListDeleteSuccess: false,\n wishListAddSuccess: false,\n saveWishlist: true,\n shortListData: action.data ? { result: action.data.result } : { result: { productIds: [], productList: [], numberOfProducts: 0 } },\n error: null\n });\n case actionTypes.SHORTLIST_FAIL:\n return Object.assign({}, prevState, {\n shortListLoading: false,\n wishListDeleteSuccess: false,\n wishListAddSuccess: false,\n saveWishlist: true,\n error: action.error,\n commonError: action.error\n });\n case actionTypes.SHORTLIST_DELETE:\n return Object.assign({}, prevState, {\n shortListLoading: true,\n wishListDeleteSuccess: false\n });\n case actionTypes.SHORTLIST_DELETE_SUCCESS:\n const prevProductList = { result: { productList: prevState.shortListData.result.productList, numberOfProducts: prevState.shortListData.result.numberOfProducts } };\n const newData = { result: Object.assign({}, action.data.result, prevProductList.result) };\n return Object.assign({}, prevState, {\n shortListLoading: false,\n wishListDeleteSuccess: true,\n isWishlistCount: action.data.result.numberOfProducts,\n shortListData: action.data.result.numberOfProducts ? newData : { result: { productIds: [], productList: [], numberOfProducts: 0 } }\n });\n case actionTypes.SHORTLIST_ADD:\n return Object.assign({}, prevState, {\n shortListLoading: true\n });\n case actionTypes.SHORTLIST_ADD_SUCCESS:\n return Object.assign({}, prevState, {\n wishListDeleteSuccess: false,\n wishListAddSuccess: true,\n isWishlistCount: action.data.result.numberOfProducts,\n shortListData: action.data ? { result: action.data.result } : { result: { productIds: [], productList: [], numberOfProducts: 0 } },\n });\n case actionTypes.WISHLIST_TRUE:\n return Object.assign({}, prevState, {\n wishlistTrue: action.value\n });\n case actionTypes.SHORTLIST_TYPE:\n return Object.assign({}, prevState, {\n shortListBool: action.shortListValue\n });\n case actionTypes.CART_POPUP:\n return Object.assign({}, prevState, {\n showCart: action.value,\n addToCartFailed: action.value === false ? null : prevState.addToCartFailed\n });\n case actionTypes.LOGIN_SUCCESS:\n if (__CLIENT__) { localStorageHelper.setItem('ng2-webstorage|userdetails', { loggedIn: 1 }); }\n return Object.assign({}, prevState, {\n login: true\n });\n case actionTypes.CHANGE_SECTION:\n return Object.assign({}, prevState, {\n section: action.value,\n redisLoaded: action.isDataLoaded || false,\n redisLoading: !action.isDataLoaded\n });\n case actionTypes.DITTO_PROFILE_SUCCESS:\n return Object.assign({}, prevState, {\n dittoProfile: action.data,\n refreshDittoProfile: false,\n saveDittoName: null,\n dittoChanged: false,\n login: prevState.login ? prevState.login : false\n });\n case actionTypes.DITTO_PROFILE_FAILURE:\n return Object.assign({}, prevState, {\n dittoProfile: action.error,\n saveDittoName: null\n });\n case actionTypes.DITTO_NAME_SUCCESS:\n return Object.assign({}, prevState, {\n saveDittoName: action.data\n });\n case actionTypes.DITTO_NAME_FAILURE:\n return Object.assign({}, prevState, {\n saveDittoName: action.error\n });\n case actionTypes.DITTO_DEFAULT_SUCCESS:\n return Object.assign({}, prevState, {\n refreshDittoProfile: true\n });\n case actionTypes.DITTO_DEFAULT_FAILURE:\n return Object.assign({}, prevState, {\n refreshDittoProfile: false\n });\n case actionTypes.DITTO_CHANGED_STATUS_UPDATE:\n return Object.assign({}, prevState, {\n dittoChanged: action.changedState\n });\n case actionTypes.DITTO_DELETE:\n return Object.assign({}, prevState, {\n deleteDittoProccessing: true\n });\n case actionTypes.DITTO_DELETE_SUCCESS:\n return Object.assign({}, prevState, {\n deleteDittoProfile: action.data,\n dittoProfile: action.data,\n refreshDittoProfile: false,\n deleteDittoProccessing: false\n });\n case actionTypes.DITTO_DELETE_FAILURE:\n return Object.assign({}, prevState, {\n deleteDittoProfile: action.error,\n refreshDittoProfile: false,\n dittoProfileAuthImages: null,\n dittoProfile: null,\n deleteDittoProccessing: false\n });\n case actionTypes.DITTO_AUTH_SUCCESS:\n return Object.assign({}, prevState, {\n dittoAuth: action.data\n });\n case actionTypes.DITTO_AUTH_FAILURE:\n return Object.assign({}, prevState, {\n dittoAuth: null\n });\n case actionTypes.DITTO_AUTH_PROFILE:\n return Object.assign({}, prevState, {\n dittoProfileAuthImages: action.data\n });\n case actionTypes.LOGOUT_USER:\n if (__CLIENT__) { localStorageHelper.setItem('ng2-webstorage|userdetails', { loggedIn: 0 }); }\n return Object.assign({}, prevState, {\n login: false,\n isCartCount: 0,\n isWishlistCount: 0,\n dittoSaved: false,\n dittoProfile: null,\n refreshDittoProfile: false,\n saveDittoName: null,\n dittoChanged: false,\n deleteDittoProfile: null,\n shortListData: {\n result: { productIds: [], productList: [], numberOfProducts: 0 }\n },\n userInfo: null\n });\n case actionTypes.UPDATE_CART_COUNT:\n return Object.assign({}, prevState, {\n isCartCount: action.data\n });\n case actionTypes.MODIFY_DATA:\n return Object.assign({}, prevState, {\n ...action.data\n });\n case actionTypes.SET_TOAST_MESSAGE:\n return Object.assign({}, prevState, {\n toastMessage: action.data\n });\n case actionTypes.SET_SIZE_DETAIL:\n return Object.assign({}, prevState, {\n sizeQuiz: Object.assign({}, prevState.sizeQuiz, action.data)\n });\n case actionTypes.CHANGE_LOGO:\n let appLogo = config.rbiMarketPlaceConfig.defaultLogo;\n const RBI_POLICY_MARKETPLACE_CONFIG = prevState.redisCommonData && prevState.redisCommonData.RBI_POLICY_MARKETPLACE_CONFIG ? JSON.parse(prevState.redisCommonData.RBI_POLICY_MARKETPLACE_CONFIG) : {};\n if (config.rbiMarketPlaceConfig.type === 'mobile') {\n if (action.logoType === 'dealskart') {\n appLogo = RBI_POLICY_MARKETPLACE_CONFIG.msitedkLogo || '';\n }\n } else if (action.logoType === 'dealskart') {\n appLogo = RBI_POLICY_MARKETPLACE_CONFIG.desktopdkLogo || '';\n if (action.pageType === 'checkout') {\n appLogo = RBI_POLICY_MARKETPLACE_CONFIG.desktopcheckoutdkLogo || '';\n }\n } else if (action.pageType === 'checkout') {\n appLogo = 'https://static.lenskart.com/media/desktop/img/checkout_Lenskart_logo_2x.png';\n }\n return Object.assign({}, prevState, {\n appLogo\n });\n '#if CLIENT_TYPE !== \"mobile\"'; // eslint-disable-line\n case '@@router/LOCATION_CHANGE':\n if (prevState.serversideLoaded) {\n return Object.assign({}, prevState, {\n serversideLoaded: false\n });\n }\n return Object.assign({}, prevState, {\n section: prevState.section === 'na' ? 'na' : '',\n redisLoaded: false,\n redisLoading: true\n });\n '#endif'// eslint-disable-line\n case actionTypes.ASK_USER_LOGIN:\n return Object.assign({}, prevState, {\n askUserLogin: action.data\n });\n case actionTypes.COUNTRY_DATA_LOAD:\n return Object.assign({}, prevState, {\n countryData: null,\n });\n case actionTypes.COUNTRY_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n countryData: action.data\n });\n case actionTypes.COUNTRY_DATA_FAIL:\n return Object.assign({}, prevState, {\n countryData: action.error\n });\n case actionTypes.PDP_CMS_POPUP_LOAD:\n return Object.assign({}, prevState, {\n cmsPopUpData: '',\n cmsdataloading: true,\n cmsdatafetcherror: false,\n cmsdataError: null\n });\n case actionTypes.PDP_CMS_POPUP_SUCCESS:\n return Object.assign({}, prevState, {\n cmsPopUpData: action.data,\n cmsdataloading: false,\n cmsdatafetcherror: false,\n cmsdataError: null\n });\n case actionTypes.PDP_CMS_POPUP_FAIL:\n return Object.assign({}, prevState, {\n cmsPopUpData: '',\n cmsdataloading: false,\n cmsdatafetcherror: true,\n cmsdataError: action.error\n });\n case actionTypes.YOTPO_WIDGETS_SHOW:\n return Object.assign({}, prevState, action.data);\n case actionTypes.TRY_ON_SWITCH:\n getSetCookie.setCookie('showMeDitto', JSON.stringify(action.data.isTryOnSwitch));\n return Object.assign({}, prevState, action.data);\n case actionTypes.GET_CUSTOMER_INFO_LOAD:\n return Object.assign({}, prevState, {\n customerInfo: null\n });\n case actionTypes.GET_CUSTOMER_INFO_SUCCESS:\n return Object.assign({}, prevState, {\n customerInfo: action.data && action.data.result\n });\n case actionTypes.GET_CUSTOMER_INFO_FAIL:\n return Object.assign({}, prevState, {\n customerInfo: null\n });\n case actionTypes.EMBED_VIDEO:\n return Object.assign({}, prevState, action.data);\n case actionTypes.SET_IS_WEBVIEW:\n return Object.assign({}, prevState, {\n isWebView: true\n });\n case actionTypes.IS_PHONEPEVIEW:\n return Object.assign({}, prevState, {\n isPhonepeView: action.flag\n });\n case actionTypes.PASS_UTM_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n passUtmData: action.data\n });\n case actionTypes.PASS_UTM_DATA_FAIL:\n return Object.assign({}, prevState, {\n passUtmData: action.error\n });\n default:\n return prevState;\n }\n}\n","export const LOAD_CATEGORYCAROUSEL_DATA = 'categoryCarousel/LOAD_CATEGORYCAROUSEL_DATA';\nexport const SUCCESS_CATEGORYCAROUSEL_DATA = 'categoryCarousel/SUCCESS_CATEGORYCAROUSEL_DATA';\nexport const FAILURE_CATEGORYCAROUSEL_DATA = 'categoryCarousel/FAILURE_CATEGORYCAROUSEL_DATA';\n\n","import * as actionTypes from './../../actionTypes/campaign';\n\nconst initialState = {\n dataCampaign: null,\n timeToResetData: 0,\n cartBogoConfig: null,\n cartCampaign: {},\n query: ''\n};\n\nexport default function common(prevState = initialState, action) {\n let xApiClient = 'desktop';\n // conditional imports on compilation\n '#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\n xApiClient = 'mobilesite';\n '#endif'; // eslint-disable-line\n switch (action.type) {\n case actionTypes.GET_CAMPAIGN_DATA:\n return Object.assign({}, prevState, {\n dataCampaign: xApiClient === 'mobilesite' ? prevState.dataCampaign : null,\n timeToResetData: 0,\n cartCampaign: {}\n });\n case actionTypes.GET_CAMPAIGN_SUCCESS:\n return Object.assign({}, prevState, {\n dataCampaign: xApiClient === 'mobilesite' ? action.data : action.data.activeAndValidData,\n cartCampaign: action.data.cart ? action.data.cart : {},\n timeToResetData: action.data.timeToResetData ? action.data.timeToResetData : 0,\n cartBogoConfig: action.data.cartBogoConfig ? action.data.cartBogoConfig : prevState.cartBogoConfig\n });\n case actionTypes.GET_CAMPAIGN_FAIL:\n return Object.assign({}, prevState, {\n dataCampaign: xApiClient === 'mobilesite' ? prevState.dataCampaign : null,\n cartCampaign: {},\n timeToResetData: 0\n });\n case actionTypes.CLEAR_CAMPAIGN_DATA:\n return Object.assign({}, prevState, {\n dataCampaign: null\n });\n case actionTypes.SET_QUERY_PARAMS:\n return Object.assign({}, prevState, {\n query: action.query\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from '../actionTypes/auth';\n\nexport function registerUser(data) {\n return { type: actionTypes.REGISTER_LOAD, data };\n}\n\nexport function authenticateUser(data) {\n return { type: actionTypes.LOGIN_LOAD, data };\n}\n\nexport function validateUserInput(data) {\n return { type: actionTypes.USER_INPUT_LOAD, data };\n}\n\nexport function sendValidateOtp(data) {\n return { type: actionTypes.USER_OTP_LOAD, data };\n}\n\nexport function resetMobileLoginProps() {\n return { type: actionTypes.RESET_MOBILE_LOGIN_STATE };\n}\n\nexport function forgotPasswordAction({ email }) {\n return { type: actionTypes.FORGET_PASSWORD_LOAD, data: { email } };\n}\n\nexport function socialAuth({ data, account }) {\n return { type: actionTypes.SOCIAL_LOAD, data, account };\n}\n\nexport function resetAuthData() {\n return { type: actionTypes.RESET_AUTH_STATE };\n}\n\nexport function logoutUser() {\n return { type: actionTypes.LOGOUT_USER };\n}\n\nexport function setPreviousUrl({ url, hash }) {\n return { type: actionTypes.SET_PREVIOUS_URL, location: { url, hash } };\n}\n\nexport function fetchEmailIdsForMobile(number) {\n return { type: actionTypes.FETCH_EMAILS_LOAD, number };\n}\n\nexport function linkEmailToMobile(email) {\n return { type: actionTypes.LINK_EMAIL_LOAD, email };\n}\n\nexport function mergeMobileWithEmail(data) {\n return { type: actionTypes.MERGE_MOBILE_EMAIL_LOAD, data };\n}\n","export const CHECKOUT_INITIATE_JUSPAY = 'checkout/CHECKOUT_INITIATE_JUSPAY';\nexport const CHECKOUT_INITIATE_JUSPAY_SUCCESS = 'checkout/CHECKOUT_INITIATE_JUSPAY_SUCCESS';\nexport const CHECKOUT_INITIATE_JUSPAY_FAIL = 'checkout/CHECKOUT_INITIATE_JUSPAY_FAIL';\nexport const CHECKOUT_STEP_KEY = 'checkout/CHECKOUT_STEP_KEY';\nexport const SELECTED_PAYMENT_METHOD = 'checkout/SELECTED_PAYMENT_METHOD';\nexport const LOAD_ABANDON_LEAD = 'checkout/LOAD_ABANDON_LEAD';\nexport const LOAD_HTO_LEAD = 'checkout/LOAD_HTO_LEAD';\nexport const SAVE_GUEST_INFO = 'checkout/SAVE_GUEST_INFO';\nexport const MANAGE_CHECKOUT_DATA = 'checkout/MANAGE_CHECKOUT_DATA';\nexport const CART_MODIFICATION = 'common/CART_MODIFICATION';\n\nexport const SAVE_SHIPPING_ADDRESS = 'checkout/SAVE_SHIPPING_ADDRESS';\nexport const SAVE_SHIPPING_ADDRESS_SUCCESS = 'checkout/SAVE_SHIPPING_ADDRESS_SUCCESS';\nexport const SAVE_SHIPPING_ADDRESS_FAIL = 'checkout/SAVE_SHIPPING_ADDRESS_FAIL';\n\nexport const GET_DELIVERY_OPTIONS = 'checkout/GET_DELIVERY_OPTIONS';\nexport const GET_DELIVERY_OPTIONS_SUCCESS = 'checkout/GET_DELIVERY_OPTIONS_SUCCESS';\nexport const GET_DELIVERY_OPTIONS_FAIL = 'checkout/GET_DELIVERY_OPTIONS_FAIL';\n\nexport const UPDATE_DELIVERY_OPTION = 'checkout/UPDATE_DELIVERY_OPTION';\nexport const GET_CART_DATA_SUCCESS = 'checkout/GET_CART_DATA_SUCCESS';\nexport const GET_CART_DATA_FAIL = 'checkout/GET_CART_DATA_FAIL';\n\n/* STEP 3 */\nexport const CARTSTEP3_LOAD = 'routemodule/CARTSTEP3_LOAD';\nexport const CARTSTEP3_SUCCESS = 'routemodule/CARTSTEP3_SUCCESS';\nexport const CARTSTEP3_FAIL = 'routemodule/CARTSTEP3_FAIL';\nexport const LOAD_PAYMENT_SUCCESS = 'checkout/LOAD_PAYMENT_SUCCESS';\nexport const PAYMENT_SUCCESS = 'checkout/PAYMENT_SUCCESS';\nexport const PAYMENT_FAIL = 'checkout/PAYMENT_FAIL';\n\n/* STEP 3 */\n\nexport const SHOW_OOS = 'checkout/SHOW_OOS';\n\nexport const LOGOUT_USER = 'checkout/LOGOUT_USER';\n\nexport const GET_PRESALE_INFO = 'checkout/GET_PRESALE_INFO';\nexport const GET_PRESALE_INFO_SUCCESS = 'checkout/GET_PRESALE_INFO_SUCCESS';\nexport const GET_PRESALE_INFO_FAIL = 'checkout/GET_PRESALE_INFO_FAIL';\n\n// captcha\nexport const GET_CAPTCHA = 'checkout/GET_CAPTCHA';\nexport const GET_CAPTCHA_SUCCESS = 'checkout/GET_CAPTCHA_SUCCESS';\nexport const GET_CAPTCHA_FAIL = 'checkout/GET_CAPTCHA_FAIL';\n\n// Bin Series\nexport const GET_CARDOFFER = 'checkout/GET_CARDOFFER';\nexport const GET_CARDOFFER_SUCCESS = 'checkout/GET_CARDOFFER_SUCCESS';\nexport const GET_CARDOFFER_FAIL = 'checkout/GET_CARDOFFER_FAIL';\n\nexport const GET_BANK_DETAIL_OFFER = 'checkout/GET_BANK_DETAIL_OFFER';\nexport const GET_BANK_DETAIL_OFFER_SUCCESS = 'checkout/GET_BANK_DETAIL_OFFER_SUCCESS';\nexport const GET_BANK_DETAIL_OFFER_FAIL = 'checkout/GET_BANK_DETAIL_OFFER_FAIL';\n\nexport const GET_OFFERS_LOAD = 'checkout/GET_OFFERS_LOAD';\nexport const GET_OFFERS_SUCCESS = 'checkout/GET_OFFERS_SUCCESS';\nexport const GET_OFFERS_FAIL = 'checkout/GET_OFFERS_FAIL';\n\n// Pre Sales User Login\nexport const PRE_SALES_USER_LOGIN = 'checkout/PRE_SALES_USER_LOGIN';\nexport const PRE_SALES_USER_LOGIN_SUCCESS = 'checkout/PRE_SALES_USER_LOGIN_SUCCESS';\nexport const PRE_SALES_USER_LOGIN_FAIL = 'checkout/PRE_SALES_USER_LOGIN_FAIL';\n\n// Validate VPA\nexport const VALIDATE_VPA = 'checkout/VALIDATE_VPA';\nexport const VALIDATE_VPA_SUCCESS = 'checkout/VALIDATE_VPA_SUCCESS';\nexport const VALIDATE_VPA_FAIL = 'checkout/VALIDATE_VPA_FAIL';\n// Reset VPA\nexport const RESET_VPA = 'checkout/RESET_VPA';\n\n// UPI Transaction Status\nexport const GET_TRANS_STATUS_LOAD = 'checkout/GET_TRANS_STATUS_LOAD';\nexport const GET_TRANS_STATUS_SUCCESS = 'checkout/GET_TRANS_STATUS_SUCCESS';\nexport const GET_TRANS_STATUS_FAIL = 'checkout/GET_TRANS_STATUS_FAIL';\n\nexport const GET_JUSPAYMENT_STATUS_LOAD = 'GET_JUSPAYMENT_STATUS_LOAD';\nexport const GET_JUSPAYMENT_STATUS_SUCCESS = 'GET_JUSPAYMENT_STATUS_SUCCESS';\nexport const GET_JUSPAYMENT_STATUS_FAIL = 'GET_JUSPAYMENT_STATUS_FAIL';\n","import * as actionTypes from './../../actionTypes/cart';\n\nconst initialState = {\n cartData: { result: { items: [], itemsQty: 0, itemsCount: 0, totals: { discounts: [] } } },\n isCartLoader: false,\n isCartDataLoaded: false,\n gvAmt: 0,\n implicitAmt: 0,\n scAmt: 0,\n gvMessage: null,\n scMessage: null,\n netAmountCart: 0,\n isframeProduct: true,\n cardOfferApplied: null,\n cartError: null,\n updatePowerFail: null\n};\n\nexport default function cart(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.ADD_TO_CART_LOAD:\n return Object.assign({}, prevState, {\n isCartLoader: true,\n addToCartSuccess: false,\n addToCartFailed: null\n });\n case actionTypes.UPDATE_CART:\n case actionTypes.UPDATE_CART_LOAD:\n return Object.assign({}, prevState, {\n isCartLoader: true,\n isCartDataLoaded: false\n });\n case actionTypes.DISCOUNT_CODE_LOAD:\n return Object.assign({}, prevState, {\n isCartLoader: true,\n isCartDataLoaded: true,\n gvMessage: action.url.indexOf('giftVoucher') > -1 ? null : prevState.gvMessage,\n scMessage: action.url.indexOf('giftVoucher') === -1 ? null : prevState.scMessage\n });\n case actionTypes.GET_CART_DATA_LOAD:\n return Object.assign({}, prevState, {\n isCartLoader: action.isCartUpdating || action.applyWallet === null || action.isExchange,\n isCartDataLoaded: Boolean(action.isCartUpdating),\n gvMessage: null\n });\n case actionTypes.DELETE_CART_LOAD:\n return Object.assign({}, prevState, {\n cartData: { result: { items: [], itemsQty: 0, itemsCount: 0, totals: { discounts: [] } } }\n });\n case actionTypes.GET_CART_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n isCartLoader: false,\n isCartDataLoaded: true,\n cartData: action.data,\n gvAmt: action.data.gvAmt || 0,\n scAmt: action.data.scAmt || 0,\n implicitAmt: action.data.implicitAmt || 0,\n updateCartSuccess: action.data.isUpdateCartCalled ? true : prevState.updateCartSuccess,\n addToCartSuccess: action.data.isAddToCartCalled ? true : prevState.addToCartSuccess,\n addToCartFailed: action.data.isAddToCartCalled ? null : prevState.addToCartFailed,\n gvMessage: action.data.isGvApplied ? null : '', // prevState.gvMessage\n scMessage: action.data.isScApplied ? null : prevState.scMessage,\n error: null\n });\n case actionTypes.GET_CART_DATA_FAIL:\n const cart = {};\n if (action.error.status === 401 || action.error.status === 404) {\n cart.cartData = initialState.cartData;\n }\n return Object.assign({}, prevState, {\n isCartLoader: false,\n isCartDataLoaded: true,\n updateCartFail: action.error.isUpdateCartCalled ? true : prevState.updateCartFail,\n addToCartSuccess: action.error.isAddToCartCalled ? false : prevState.addToCartSuccess,\n addToCartFailed: action.error.isAddToCartCalled ? action.error : prevState.addToCartFailed,\n gvAmt: action.error.isGvApplied ? 0 : prevState.gvAmt,\n gvMessage: action.error.isGvApplied ? action.error : prevState.gvMessage,\n scMessage: action.error.isScApplied ? action.error : prevState.scMessage,\n error: action.error\n }, cart);\n case actionTypes.RESET_CART:\n return Object.assign({}, prevState, initialState);\n case actionTypes.LOGOUT_USER:\n return Object.assign({}, prevState, {\n cartData: { result: { items: [], itemsQty: 0, itemsCount: 0, totals: { discounts: [] } } },\n gvAmt: 0,\n implicitAmt: 0,\n });\n\n case actionTypes.FRAME_ONLY_PRODUCT:\n return Object.assign({}, prevState, {\n isframeProduct: action.isframeProduct\n });\n case actionTypes.GET_CART_NET_AMOUNT:\n return Object.assign({}, prevState, {\n netAmountCart: action.amount\n });\n case actionTypes.SHIPPING_CHECK_LOAD:\n return Object.assign({}, prevState, { shippingError: null });\n case actionTypes.SHIPPING_CHECK_SUCCESS:\n return Object.assign({}, prevState, { cartData: action.result, shippingError: null });\n case actionTypes.SHIPPING_CHECK_FAIL:\n return Object.assign({}, prevState, { shippingError: action.error });\n case actionTypes.APPLY_OFFER:\n return Object.assign({}, prevState, { cardOfferLoading: true, cartError: null });\n case actionTypes.APPLY_OFFER_SUCCESS:\n return Object.assign({}, prevState, { cardOfferLoading: false, cartData: action.result });\n case actionTypes.APPLY_OFFER_FAIL:\n const cartApplicable = {};\n cartApplicable.cartData = prevState.cartData;\n return Object.assign({}, prevState, {\n isCartLoader: false,\n isCartDataLoaded: true,\n cartError: action.error,\n cardOfferLoading: false\n }, cartApplicable);\n case actionTypes.REMOVE_OFFER:\n return Object.assign({}, prevState, { loading: true });\n case actionTypes.REMOVE_OFFER_SUCCESS:\n return Object.assign({}, prevState, { loading: false, cartData: action.result });\n case actionTypes.REMOVE_OFFER_FAIL:\n const removeCartApplicable = {};\n removeCartApplicable.cartData = prevState.cartData;\n return Object.assign({}, prevState, {\n isCartLoader: false,\n isCartDataLoaded: true,\n cartError: action.error,\n loading: false\n }, removeCartApplicable);\n case actionTypes.UPDATE_POWER_LOAD:\n return Object.assign({}, prevState, { updatePowerFail: null });\n case actionTypes.UPDATE_POWER_SUCCESS:\n return Object.assign({}, prevState, { cartData: action.result, updatePowerFail: null });\n case actionTypes.UPDATE_POWER_FAIL:\n return Object.assign({}, prevState, { updatePowerFail: action.error });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/success';\n\nconst initialState = {\n productsDetail: null,\n powersDetail: null,\n activeFrameData: null,\n classIndex: 0,\n savedPrescription: null,\n powerSubmitted: null,\n showRefDD: null,\n powerSubmitFail: false,\n productLoad: false,\n errorMsg: '',\n enterData: { left: { sph: '', cyl: '', axis: '', ap: '', pd: '' }, right: { sph: '', cyl: '', axis: '', ap: '', pd: '' } },\n successOtp: false,\n powerSubmittedItemId: null,\n packageSubmitted: null,\n packageSubmitFail: false\n};\n\nexport default function reducer(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.POWERS_DETAIL_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n powersDetail: action.result\n });\n case actionTypes.POWERS_DETAIL_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n powersDetail: action.result\n });\n case actionTypes.POWERS_DETAIL_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n powersDetail: action.data\n });\n case actionTypes.SUBMITTED_POWERS_LOAD:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n itemSubmittedPrescription: action.data\n });\n case actionTypes.SUBMITTED_POWERS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n itemSubmittedPrescription: action.data\n });\n case actionTypes.SUBMITTED_POWERS_FAIL:\n return Object.assign({}, prevState, {\n itemSubmittedPrescription: null\n });\n case actionTypes.OTP_SUBMISSION_LOAD:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n OtpAction: action.result,\n successOtp: true\n\n });\n case actionTypes.OTP_SUBMISSION_FAIL:\n return Object.assign({}, prevState, {\n OtpAction: action.error,\n successOtp: false\n });\n case actionTypes.OTP_SUBMISSION_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n OtpAction: action.data,\n successOtp: true\n\n });\n case actionTypes.SAVED_PRESCRIPTION_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n savedPrescription: action.data\n });\n case actionTypes.SAVED_PRESCRIPTION_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n savedPrescription: action.data\n });\n case actionTypes.SAVED_PRESCRIPTION_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n savedPrescription: action.error\n });\n case actionTypes.SUBMIT_POWERS_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n powerSubmittedItemId: null,\n packageSubmittedItemId: null,\n powerSubmitted: null,\n powerSubmitFail: false\n });\n case actionTypes.SUBMIT_POWERS_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n powerSubmitted: null,\n powerSubmitFail: action.error,\n powerSubmittedItemId: action.itemId\n });\n case actionTypes.SUBMIT_POWERS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n powerSubmitted: action.data,\n powerSubmitFail: false,\n powerSubmittedItemId: action.itemId\n });\n case actionTypes.SUBMIT_PACKAGE_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n packageSubmitted: null,\n packageSubmitFail: false,\n powerSubmittedItemId: null,\n packageSubmittedItemId: null\n });\n case actionTypes.SUBMIT_PACKAGE_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n packageSubmitted: null,\n packageSubmitFail: true,\n packageSubmittedItemId: action.itemId\n });\n case actionTypes.SUBMIT_PACKAGE_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n packageSubmitted: action.data,\n packageSubmitFail: false,\n packageSubmittedItemId: action.itemId\n });\n case actionTypes.MSG_ERROR:\n return Object.assign({}, prevState, {\n errorMsg: action.data\n });\n case actionTypes.ENTER_DATA:\n return Object.assign({}, prevState, {\n enterData: action.data\n });\n case actionTypes.ACTIVE_FRAME_DATA:\n return Object.assign({}, prevState, {\n activeFrameData: action.data,\n classIndex: action.index\n });\n case actionTypes.SHOW_DD:\n return Object.assign({}, prevState, {\n showRefDD: action.data\n });\n case actionTypes.RESET_STATE:\n return Object.assign({}, prevState, initialState);\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport './CartFooter.scss';\n\nconst CartFooter = props => {\n const { checkOutHandler, checkoutLoader, checkoutCTA, isframeProduct, dataLocale } = props;\n return (\n
\n {!checkoutLoader && { checkOutHandler(true); _gaq.push(['_trackEvent', 'Place Order', 'Cod'], ['ninja._trackEvent', 'Place Order', 'Cod']); }}>\n {checkoutCTA && checkoutCTA.mainText ? checkoutCTA.mainText : dataLocale.PROCEED_TO_CHECKOUT}\n \n {isframeProduct && checkoutCTA && checkoutCTA.subText && {checkoutCTA.subText}}\n }\n {\n checkoutLoader &&
\n
\n
\n
\n
\n }\n
\n );\n};\n\nexport default CartFooter;\n","import * as actionTypes from './../../actionTypes/auth';\nimport localStorageHelper from '../../utils/localStorageHelper';\n\nconst initialState = {\n register: false,\n authenticateLoader: false,\n reguser: {},\n user: null,\n username: '',\n social: null,\n oTPSent: false,\n socialError: null,\n userInputErr: null,\n forgotpassError: null,\n emailStatus: '',\n registerError: null,\n previousUrl: '',\n hash: '',\n emailList: [],\n otpType: '',\n emailLinkSuccessfully: false,\n accessCount: 0,\n isCaptchaRequired: false\n};\n\nexport default function auth(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.REGISTER_LOAD:\n return Object.assign({}, prevState, {\n register: false,\n registerError: null,\n loading: true,\n reguser: null\n });\n case actionTypes.REGISTER_SUCCESS:\n return Object.assign({}, prevState, {\n register: true,\n reguser: action.data,\n loading: false,\n registerError: null\n });\n case actionTypes.REGISTER_FAIL:\n return Object.assign({}, prevState, {\n register: false,\n reguser: null,\n loading: false,\n registerError: action.error\n });\n case actionTypes.LOGIN_LOAD:\n return Object.assign({}, prevState, {\n authenticateLoader: true,\n user: null,\n loading: true,\n loginError: null\n });\n case actionTypes.LOGIN_SUCCESS:\n const data = {\n isTelephoneVerified: action.data.result.isTelephoneVerified,\n };\n const userDetails = localStorageHelper.getItem('userDetails') || {};\n localStorageHelper.setItem('userDetails', Object.assign({}, userDetails, data));\n return Object.assign({}, prevState, {\n authenticateLoader: false,\n user: action.data,\n loginError: null,\n loading: false,\n });\n case actionTypes.LOGIN_FAIL:\n return Object.assign({}, prevState, {\n authenticateLoader: false,\n user: null,\n loading: false,\n loginError: action.error\n });\n case actionTypes.USER_INPUT_LOAD:\n return Object.assign({}, prevState, {\n userInputValidate: null,\n userInputErr: null,\n loading: true,\n userInputValidationStatus: 'load'\n });\n case actionTypes.USER_INPUT_SUCCESS:\n return Object.assign({}, prevState, {\n userInputValidate: action.data,\n username: action.data.result.data.username,\n userInputErr: null,\n loading: false,\n userInputValidationStatus: 'success'\n });\n case actionTypes.USER_INPUT_FAIL:\n return Object.assign({}, prevState, {\n userInputValidate: null,\n userInputErr: action.error,\n loading: false,\n userInputValidationStatus: 'fail'\n });\n case actionTypes.USER_OTP_LOAD:\n return Object.assign({}, prevState, {\n oTPSent: false,\n loading: true,\n otpType: action.data.type,\n oTPLoginSuccess: false\n });\n case actionTypes.USER_OTP_SUCCESS:\n if (action.data.result.data.type === 'VALIDATE_OTP') {\n const userDetails = localStorageHelper.getItem('userDetails') || {};\n const { emailVerificationStatus, isTelephoneVerified, telephone } = action.data.result;\n localStorageHelper.setItem('userDetails', Object.assign({}, userDetails, { emailVerificationStatus, isTelephoneVerified, telephone }));\n }\n return Object.assign({}, prevState, {\n oTPSent: action.data.result.data.type === 'SEND_OTP' ? true : action.data,\n oTPLoginSuccess: action.data.result.data.type !== 'SEND_OTP',\n loading: false,\n accessCount: prevState.accessCount + 1,\n isCaptchaRequired: action.data.result.isCaptchaRequired\n });\n case actionTypes.USER_OTP_FAIL:\n return Object.assign({}, prevState, {\n oTPSent: action.error.message ? action : { error: { message: 'Something went wrong' } },\n loading: false,\n oTPLoginSuccess: false\n });\n case actionTypes.MERGE_MOBILE_EMAIL_LOAD:\n return Object.assign({}, prevState, {\n oTPSent: false,\n loading: true,\n otpType: 'MERGE_MOBILE',\n oTPLoginSuccess: false\n });\n case actionTypes.MERGE_MOBILE_EMAIL_SUCCESS:\n const user = localStorageHelper.getItem('userDetails') || {};\n user.loggedIn = 1;\n localStorageHelper.setItem('userDetails', Object.assign({}, user));\n return Object.assign({}, prevState, {\n oTPSent: action.data,\n oTPLoginSuccess: true,\n loading: false,\n });\n case actionTypes.MERGE_MOBILE_EMAIL_FAIL:\n return Object.assign({}, prevState, {\n oTPSent: action.error.message ? action : { error: { message: 'Something went wrong' } },\n loading: false,\n oTPLoginSuccess: false\n });\n case actionTypes.RESET_MOBILE_LOGIN_STATE:\n return Object.assign({}, prevState, {\n oTPSent: false,\n userInputValidate: null\n });\n case actionTypes.FORGET_PASSWORD_LOAD:\n return Object.assign({}, prevState, {\n forgotpassError: null,\n loading: true,\n });\n case actionTypes.FORGET_PASSWORD_SUCCESS:\n return Object.assign({}, prevState, {\n forgotpassError: null,\n emailStatus: 'sent',\n loading: false,\n });\n case actionTypes.FORGET_PASSWORD_FAIL:\n return Object.assign({}, prevState, {\n forgotpassError: action.error,\n emailStatus: 'fail',\n loading: false,\n });\n\n case actionTypes.RESET_AUTH_STATE:\n return Object.assign({}, prevState, {\n forgotpassError: null,\n userInputValidate: null,\n userInputErr: null,\n registerError: null\n });\n case actionTypes.SOCIAL_LOAD:\n return Object.assign({}, prevState, {\n social: null,\n socialError: null,\n loading: true,\n });\n case actionTypes.SOCIAL_SUCCESS:\n return Object.assign({}, prevState, {\n social: action.data,\n socialError: null,\n authenticateLoader: false,\n loginError: null,\n loading: false\n });\n case actionTypes.SOCIAL_FAIL:\n return Object.assign({}, prevState, {\n social: null,\n loading: false,\n socialError: action.error\n });\n case actionTypes.FETCH_EMAILS_LOAD:\n return Object.assign({}, prevState, {\n emailList: [],\n loading: true,\n });\n case actionTypes.FETCH_EMAILS_SUCCESS:\n return Object.assign({}, prevState, {\n emailList: action.data,\n loading: false\n });\n case actionTypes.FETCH_EMAILS_FAIL:\n return Object.assign({}, prevState, {\n emailList: action.error,\n loading: false\n });\n case actionTypes.LINK_EMAIL_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n emailLinkSuccessfully: false\n });\n case actionTypes.LINK_EMAIL_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n emailLinkSuccessfully: true\n });\n case actionTypes.LINK_EMAIL_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n emailLinkSuccessfully: false\n });\n case actionTypes.LOGOUT_USER:\n if (__CLIENT__) { localStorageHelper.setItem('whatsAppOptInId', ''); }\n return Object.assign({}, prevState, {\n social: null,\n socialError: null,\n username: '',\n authenticateLoader: false,\n user: null\n });\n case actionTypes.SET_PREVIOUS_URL:\n return Object.assign({}, prevState, {\n previousUrl: action.location.url,\n hash: action.location.hash || ''\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/DataLayer';\nimport { setAndTriggerDataLayer } from '../../utils/DataLayer';\n\nconst initialState = {\n visitorEmail: '',\n visitorMobile: ''\n};\n\nexport default function reducer(prevState = initialState, action) {\n let dL;\n switch (action.type) {\n case actionTypes.SET_DATALAYER_EMAIL_MOBILE:\n const mobile = action?.data?.result?.telephone || '';\n dL = {\n ...prevState,\n visitorEmail: action.data.result.email || '',\n visitorMobile: typeof window !== 'undefined' && typeof window.btoa !== 'undefined' ? window.btoa(mobile) : '',\n gaMobile: mobile !== undefined && mobile !== null && typeof window !== 'undefined' && typeof window.btoa !== 'undefined' ? window.btoa(mobile) : '',\n userType: action.data.result.hasPlacedOrder ? 'old' : 'new'\n };\n setAndTriggerDataLayer(dL, false);\n return dL;\n case actionTypes.RESET_DATALAYER_EMAIL_MOBILE:\n dL = {\n ...prevState,\n visitorEmail: '',\n visitorMobile: '',\n gaMobile: null,\n userType: null\n };\n setAndTriggerDataLayer(dL, false);\n return dL;\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/productCarousel';\n\nconst initialState = {\n loaded: false,\n loading: false,\n productCarouselData: {}\n};\n\nexport default function productCarousel(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.PRODUCTCAROUSEL_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n });\n case actionTypes.PRODUCTCAROUSEL_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n productCarouselData: action.data.result\n });\n case actionTypes.PRODUCTCAROUSEL_DATA_FAIL:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n productCarouselData: action.data\n });\n default:\n return prevState;\n }\n}\n","import './panel.scss';\nimport React, { PureComponent } from 'react';\n\nclass Panel extends PureComponent {\n constructor(props) {\n super(props);\n }\n render() {\n const { expanded, className } = this.props;\n return (\n
\n
\n {this.props.children}\n
\n
\n );\n }\n}\n\nexport default Panel;\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport PropTypes from 'prop-types';\nimport MainMenu from '../MainMenu/MainMenu';\nimport * as headerAction from '../../../../actionCreators/header';\nimport { Link } from 'react-router-dom';\nimport './Nav.scss';\n// import './Navigation.scss';\nimport { setDataAttr } from '../../../../utils/helper';\n\nclass Navigation extends Component {\n\n static propTypes = {\n navData: PropTypes.object,\n headerAction: PropTypes.object.isRequired,\n isMenuVisible: PropTypes.bool.isRequired,\n }\n\n constructor(props) {\n super(props);\n }\n\n componentDidUpdate() {\n // This fix is hide the menu/submenu when user click on any of the menu/submenu.\n if (!this.props.isMenuVisible) {\n this.props.headerAction.rerenderMenu(true);\n }\n }\n updateNavDtm = (type, section, subSection, link, cta) => {\n this.props.headerAction.rerenderMenu(false);\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.header.click.topNavClick(type, section, subSection, link, cta);\n }\n\n updateNavValueDtm = (type, section, subSection, link) => {\n this.props.headerAction.rerenderMenu(false);\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.header.click.topNavClickValue(type, section, subSection, link);\n }\n // toggleMenu = value => {\n // this.props.headerAction.rerenderMenu(value);\n // }\n\n render() {\n const { navData, rightNavData, location, dataLocale } = this.props;\n return (\n
{ /* ${(isMenuHidden ? 'hide' : '')} */}\n \n
\n );\n }\n}\n\nconst mapStateToProps = state => ({\n isMenuVisible: state.header.isMenuVisible,\n dataLocale: state.locale\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n headerAction: bindActionCreators(headerAction, dispatch)\n };\n}\n\nNavigation.defaultProps = {\n navData: {}\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Navigation);\n","import React, { PureComponent } from 'react';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport getSetCookie from '../../../cookie';\nimport { debounce, setDataAttr } from '../../../utils/helper';\nimport './TopNavBar.scss';\n\nclass TopNavBar extends PureComponent {\n static propTypes = {\n topNavData: PropTypes.object\n };\n constructor(props) {\n super(props);\n this.isScrolled = false;\n this.state = {\n headerScroll: false\n };\n this.handleScroll = debounce(this.handleScroll.bind(this), 100);\n this.handleWidget = this.handleWidget.bind(this);\n }\n componentDidMount() {\n window.addEventListener('scroll', this.handleScroll);\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll);\n }\n handleScroll() {\n const scrollTop = window.pageYOffset;\n if (scrollTop > 35) {\n this.setState({ headerScroll: true });\n } else {\n this.setState({ headerScroll: false });\n }\n }\n handleWidget() {\n const { redisCommonData, userInfo } = this.props;\n if (redisCommonData?.ENABLE_FRESHWORKS_DESKTOP === 'ON') {\n const iframe = document.getElementById('launcher-frame');\n let iframeDocument;\n if (iframe) {\n iframeDocument = iframe.contentWindow.document;\n const launcher = iframeDocument.querySelector('.launcher-button');\n if (launcher) {\n launcher.click();\n }\n }\n } else {\n const { chatBotParams } = window;\n chatBotParams.emailId = userInfo?.result?.email || '';\n chatBotParams.phoneNumber = userInfo?.result?.telephone || '';\n chatBotParams.sessionID = getSetCookie.getCookie('frontend') || '';\n chatBotParams.env = process.env.BUILD_ENV === 'development' ? 'preprod' : 'prod';\n chatBotParams.apiClient = process.env.CLIENT_TYPE;\n window.Freshbots?.reloadContext();\n window.setTimeout(() => {\n window.Freshbots?.initiateChat();\n window.Freshbots?.showWidget(true);\n }, 1000);\n }\n }\n render() {\n const { topNavData, isSupported, dataLocale: { CONTACT_US } } = this.props;\n return (\n
\n
\n \n \n
\n
\n );\n }\n}\n\nTopNavBar.defaultProps = {\n topNavData: {}\n};\n\nexport default TopNavBar;\n","import * as actionTypes from '../../actionTypes/dittoShare';\n\nconst initalState = {\n dittoShareData: null,\n dittoShareLoading: true\n};\n\nexport default function dittoShare(prevState = initalState, action) {\n switch (action.type) {\n case actionTypes.DITTO_SHARE_DATA_LOAD:\n return Object.assign({}, prevState, {\n dittoShareLoading: true,\n dittoShareData: null\n });\n case actionTypes.DITTO_SHARE_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n dittoShareLoading: false,\n dittoShareData: action.data.result\n });\n case actionTypes.DITTO_SHARE_DATA_FAIL:\n return Object.assign({}, prevState, {\n dittoShareLoading: false,\n dittoShareData: action.error\n });\n case actionTypes.SET_DITTO_SHARE_FROM_STORAGE:\n return Object.assign({}, prevState, {\n dittoShareLoading: false,\n dittoShareData: { fileLocation: action.fileLocation, setLocalStorage: false }\n });\n default:\n return prevState;\n }\n}\n","export default class Customevent {\n constructor(name, options) {\n this.name = name;\n this.event = new CustomEvent(name, options);\n }\n addListner(listener) {\n window.addEventListener(this.name, listener);\n }\n removeListner(listener) {\n window.removeEventListener(this.name, listener);\n }\n dispatch() {\n window.dispatchEvent(this.event);\n }\n}\n","import * as actionTypes from '../../actionTypes/gupshupWhatsapp';\n\nconst initialState = {\n loading: false,\n isOptWhatsApp: false,\n isUserAction: false,\n error: null\n};\n\nexport default function gupshupWhatsapp(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS:\n return Object.assign({}, prevState, {\n loading: true, loaded: false, isOptWhatsApp: false, isUserAction: false, error: null\n });\n case actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false, loaded: true, isOptWhatsApp: action.result.result\n });\n case actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_FAIL:\n return Object.assign({}, prevState, {\n loading: false, loaded: true, isOptWhatsApp: false\n });\n case actionTypes.SET_WHATSAPP_OPTIN_STATUS:\n return Object.assign({}, prevState, {\n isUserAction: action.isUserAction,\n error: null\n });\n case actionTypes.SET_WHATSAPP_OPTIN_STATUS_SUCCESS:\n return Object.assign({}, prevState, {\n isOptWhatsApp: action.data.optin\n });\n case actionTypes.SET_WHATSAPP_OPTIN_STATUS_FAIL:\n return Object.assign({}, prevState, {\n error: action.error\n });\n default:\n return prevState;\n }\n}\n","import React, { PureComponent, Fragment } from 'react';\n// components\nimport Panel from '../Panel/Panel';\nimport { noop } from '../../../utils/helper';\n\nclass AccordionGroup extends PureComponent {\n constructor(props) {\n super(props);\n const { activeKey } = props;\n const activeKeyState = Array.isArray(activeKey) && activeKey || (activeKey >= 0 ? [activeKey] : []);\n this.state = { activeKey: activeKeyState };\n }\n componentDidUpdate(prevProps) {\n const { activeKey } = this.props;\n if (prevProps.activeKey !== activeKey) {\n this.selectPanel(activeKey);\n }\n }\n selectPanel(key) {\n const { activeKey } = this.state;\n const { multiOpen } = this.props;\n const keyIndex = activeKey.indexOf(key);\n if (multiOpen) {\n if (keyIndex > -1) {\n activeKey.splice(keyIndex, 1);\n this.setState({ activeKey: [...activeKey] });\n return;\n }\n this.setState({ activeKey: [...activeKey, key] });\n return;\n }\n if (keyIndex > -1) {\n this.setState({ activeKey: [] });\n return;\n }\n this.setState({ activeKey: [key] });\n }\n render() {\n const { content, className } = this.props;\n const { activeKey } = this.state;\n return (\n \n {\n content.map((panel, index) => {\n const expanded = activeKey.includes(index);\n const { header, body, extraSection } = panel;\n return (\n
\n {extraSection}\n
this.selectPanel(index) : noop}>\n {header}\n
\n {body && \n
\n {body}\n
\n
}\n
\n );\n })\n }\n
\n );\n }\n}\n\nexport default AccordionGroup;\n","export const GET_FRAME_SIZE = 'frameSize/GET_FRAME_SIZE';\nexport const GET_FRAME_SIZE_SUCCESS = 'frameSize/GET_FRAME_SIZE_SUCCESS';\nexport const GET_FRAME_SIZE_FAIL = 'frameSize/GET_FRAME_SIZE_FAIL';\nexport const STORE_FRAME_SIZE = 'frameSize/STORE_FRAME_SIZE';\nexport const STORE_FRAME_SIZE_SUCCESS = 'frameSize/STORE_FRAME_SIZE_SUCCESS';\nexport const STORE_FRAME_SIZE_FAIL = 'frameSize/STORE_FRAME_SIZE_FAIL';\n","export const GET_CART_DATA_LOAD = 'cart/GET_CART_DATA_LOAD';\nexport const GET_CART_DATA_SUCCESS = 'cart/GET_CART_DATA_SUCCESS';\nexport const GET_CART_DATA_FAIL = 'cart/GET_CART_DATA_FAIL';\n\nexport const UPDATE_CART_LOAD = 'cart/UPDATE_CART_LOAD';\nexport const UPDATE_CART = 'cart/UPDATE_CART';\n\nexport const ADD_TO_CART_LOAD = 'cart/ADD_TO_CART_LOAD';\n\nexport const DISCOUNT_CODE_LOAD = 'cart/DISCOUNT_CODE_LOAD';\n\nexport const GET_CART_NET_AMOUNT = 'cart/GET_CART_NET_AMOUNT';\n\nexport const SHIPPING_CHECK_LOAD = 'cart/SHIPPING_CHECK_LOAD';\nexport const SHIPPING_CHECK_SUCCESS = 'cart/SHIPPING_CHECK_SUCCESS';\nexport const SHIPPING_CHECK_FAIL = 'cart/SHIPPING_CHECK_FAIL';\n\nexport const FRAME_ONLY_PRODUCT = 'cart/FRAME_ONLY_PRODUCT';\nexport const LOGOUT_USER = 'cart/LOGOUT_USER';\nexport const RESET_CART = 'cart/RESET_CART';\n\n/* Bin Series Card */\nexport const APPLY_OFFER = 'checkout/APPLY_OFFER';\nexport const APPLY_OFFER_SUCCESS = 'checkout/APPLY_OFFER_SUCCESS';\nexport const APPLY_OFFER_FAIL = 'checkout/APPLY_OFFER_FAIL';\n\nexport const REMOVE_OFFER = 'checkout/REMOVE_OFFER';\nexport const REMOVE_OFFER_SUCCESS = 'checkout/REMOVE_OFFER_SUCCESS';\nexport const REMOVE_OFFER_FAIL = 'checkout/REMOVE_OFFER_FAIL';\nexport const DELETE_CART_LOAD = 'cart/DELETE_CART';\n\nexport const UPDATE_POWER_LOAD = 'cart/UPDATE_POWER_LOAD';\nexport const UPDATE_POWER_SUCCESS = 'cart/UPDATE_POWER_SUCCESS';\nexport const UPDATE_POWER_FAIL = 'cart/UPDATE_POWER_FAIL';\n","import React from 'react';\nimport { connect } from 'react-redux';\n// actions\nimport { getPowers } from '../../../actionCreators/editPower';\n// components\nimport { Form } from 'react-final-form';\nimport ItemInfo from './ItemInfo';\nimport { PowerInputs, getPrescription, getDirtyValues } from './PowerInputs';\n\nclass ContactLens extends React.PureComponent {\n constructor(props) {\n super(props);\n const { item } = this.props;\n const { prescription = {} } = item || {};\n let pristine = {};\n if (prescription.left && prescription.right) {\n pristine = getPrescription(prescription);\n } else if (prescription.left) {\n pristine = getPrescription(prescription, 'left');\n } else if (prescription.right) {\n pristine = getPrescription(prescription, 'right');\n }\n this.state = {\n pristine\n };\n this.submit = this.submit.bind(this);\n }\n\n componentDidMount() {\n const { getPowers, item } = this.props;\n const { productId } = item || {};\n if (productId) {\n getPowers({ productId });\n }\n }\n\n componentDidUpdate(prevProps) {\n const { item } = this.props;\n if (prevProps.item !== item && item) {\n const { prescription = {} } = item;\n let pristine = {};\n if (prescription.left && prescription.right) {\n pristine = getPrescription(prescription);\n } else if (prescription.left) {\n pristine = getPrescription(prescription, 'left');\n } else if (prescription.right) {\n pristine = getPrescription(prescription, 'right');\n }\n (() => { this.setState({ pristine }); })();\n }\n }\n\n submit(values) {\n this.dirtyValues = getDirtyValues(this.state.pristine, values);\n const { submitCallback, powers, item } = this.props;\n const submitValues = [];\n if (this.dirtyValues) {\n Object.keys(this.dirtyValues).reduce((memo, key) => {\n const val = key.split('-');\n const type = val[0];\n const eyeLR = val[1];\n powers.reduce((memo, power) => {\n if (power.type === type) {\n memo.push({ type, eyeLR, name: key, label: `${eyeLR} ${power.label}`, value: this.dirtyValues[key]});\n }\n return memo;\n }, memo);\n return memo;\n }, submitValues);\n }\n submitCallback(submitValues, item);\n }\n\n render() {\n const { powerSubmitted, powerSubmittedItemId, item, powers = [], dataLocale } = this.props;\n const { name, productId, prescription = {} } = item || {};\n const hasSingleEye = !(prescription.left && prescription.right);\n let whichEye;\n if (hasSingleEye) {\n whichEye = prescription.left ? 'left' : 'right';\n }\n const { SUBMIT, POWER_DETAILS_UPDATED_SUCCESSFULLY, POWER_DETAILS_UPDATE_FAILED } = dataLocale;\n return (\n \n \n \n {({ handleSubmit }) => (\n
\n
\n {powerSubmittedItemId && item.id === powerSubmittedItemId &&
{powerSubmitted ? POWER_DETAILS_UPDATED_SUCCESSFULLY : POWER_DETAILS_UPDATE_FAILED}
}\n
\n \n
\n
\n )}\n \n
\n );\n }\n}\n\nfunction mapStateToProps(state, ownProps) {\n const { productId: pid } = ownProps.item || {};\n const powers = state.editPower.pidToPowers ? state.editPower.pidToPowers[pid] : undefined;\n return {\n powers,\n powerSubmittedItemId: state.success.powerSubmittedItemId,\n powerSubmitted: state.success.powerSubmitted,\n dataLocale: state.locale\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n getPowers: data => dispatch(getPowers(data))\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ContactLens);\n","\nimport React, { PureComponent } from 'react';\nimport './BannerAndStaticHTML.scss';\n\nclass BannerAndStaticHTML extends PureComponent {\n\n componentDidMount() {\n const { bannerData, id } = this.props;\n if (bannerData[0].html && bannerData[0].script) {\n this.createScriptTag(id, bannerData[0].script);\n }\n }\n\n componentWillUnmount() {\n const { id } = this.props;\n const scriptEl = document.querySelector(id ? `#${id}` : '#bannerAndStaticHTML');\n if (scriptEl) {\n document.body.removeChild(scriptEl);\n }\n }\n\n createScriptTag = (id = 'bannerAndStaticHTML', scriptToAppend) => {\n const script = document.createElement('script');\n script.id = id;\n script.innerHTML = scriptToAppend;\n document.body.appendChild(script);\n }\n\n render() {\n const { bannerData, className, style, id, verticalPosition } = this.props;\n\n let htmlString;\n if (!bannerData) {\n return (\n
\n );\n }\n const cssId = id ? `idf_${id}` : '';\n const cssClass = className ? `${className} bannerStatic` : 'bannerStatic';\n return (\n
\n {\n bannerData && bannerData.map((data, index) => {\n if (data.html) {\n const css = data.css ? data.css : '';\n htmlString = data.html + css;\n } else if (data.url && data.src) {\n htmlString = `
\"${data.title}\"
`;\n } else if (data.src) {\n htmlString = `
\"${data.title}\"
`;\n }\n return (\n htmlString &&
\n
\n );\n })\n }\n
\n );\n }\n}\n\nexport default BannerAndStaticHTML;\n\n\n","// export const LOAD_NAVIGATION_LOCAL = 'header/LOAD_NAVIGATION_LOCAL';\nexport const LOAD_NAVIGATION = 'header/LOAD_NAVIGATION';\nexport const LOAD = 'header/LOAD';\nexport const FAIL_NAVIGATION = 'header/FAIL_NAVIGATION';\nexport const UPDATE_MAIN_NAVIGATION_LOCAL = 'header/UPDATE_MAIN_NAVIGATION_LOCAL';\nexport const MENU_RENDER = 'header/MENU_RENDER';\nexport const SHOW_GLOBAL_HEADER_FOOTER = 'header/SHOW_GLOBAL_HEADER_FOOTER';\n\n// search actions\nexport const SEARCH_INPUT_CHANGE = 'header/SEARCH_INPUT_CHANGE';\nexport const SEARCH_DATA_SUCCESS = 'header/SEARCH_DATA_SUCCESS';\nexport const SEARCH_DATA_FAIL = 'header/SEARCH_DATA_FAIL';\nexport const RESET_SEARCH_DATA = 'header/RESET_SEARCH_DATA';\n\n// msite navigation\nexport const GET_MSITE_NAV = 'header/GET_MSITE_NAV';\nexport const GET_MSITE_NAV_SUCCESS = 'header/GET_MSITE_NAV_SUCCESS';\nexport const GET_MSITE_NAV_FAIL = 'header/GET_MSITE_NAV_FAIL';\n\nexport const APP_DOWNLOAD_HEADER_SHOW = 'header/APP_DOWNLOAD_HEADER_SHOW';\n","import { call, put, takeLatest, all, select } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/phoneNumberCapture';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\nimport { commonState } from './state';\n\nlet _client = null;\nfunction* submitPhoneNumber({ data: { jsonData, phNo, expiry } }) {\n const url = config.apiPath.campaignData + '/MobileData';\n const successAction = { type: actionTypes.PHONE_NUMBER_CAPTURE_SUCCESS };\n const errorAction = { type: actionTypes.PHONE_NUMBER_CAPTURE_FAILED };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => _client.post(url, jsonData));\n successAction.data = data;\n successAction.phNo = phNo;\n successAction.expiry = expiry;\n yield put(successAction);\n } catch (err) {\n errorAction.error = err;\n yield put(errorAction);\n }\n}\n\n\nfunction* whatsappCapturePhoneNumber() {\n const reduxState = yield select(commonState);\n const { login, userInfo } = reduxState || {};\n const userPhone = userInfo?.result?.telephone || null;\n\n if (login && userPhone) {\n const finalData = { collectionData: [{ phone: userPhone }]};\n const url = config.apiPath.campaignData + '/camp_whatsapp_consent';\n const successAction = { type: actionTypes.ONLY_PHONE_CAPTURE_SUCCESS };\n const errorAction = { type: actionTypes.ONLY_PHONE_CAPTURE_FAILED };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => _client.post(url, finalData));\n successAction.data = response;\n yield put(successAction);\n } catch (err) {\n errorAction.error = err;\n yield put(errorAction);\n }\n }\n}\n\nexport function* runPhoneNumberCaptureCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.PHONE_NUMBER_CAPTURE_SUBMIT, submitPhoneNumber),\n takeLatest(actionTypes.ONLY_PHONE_CAPTURE_SUBMIT, whatsappCapturePhoneNumber)\n ]);\n}\n","import { call, put, race, takeLatest, all } from 'redux-saga/effects';\nimport { delay } from 'redux-saga';\nimport * as actionTypes from '../actionTypes/yotpo';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* getYotpoSiteRatings() {\n const successAction = { type: actionTypes.YOTPO_SITE_RATINGS_SUCCESS };\n const timeoutAction = { type: actionTypes.YOTPO_SITE_RATINGS_TIMEOUT };\n const errorAction = { type: actionTypes.YOTPO_SITE_RATINGS_FAILURE };\n try {\n const { data, timeout } = yield race({\n data: call(async () => _client.get(config.apiPath.yotpoSiteReview)),\n timeout: delay(2000)\n });\n if (data) {\n successAction.data = data;\n yield put(successAction);\n } else {\n timeoutAction.timeout = timeout;\n yield put(timeoutAction);\n }\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runYotpoCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.YOTPO_SITE_RATINGS_LOAD, getYotpoSiteRatings)\n ]);\n}\n","import React, { memo } from 'react';\nimport AccordionGroup from '../../mobile/components/AccordionGroup/AccordionGroup';\nimport './PowerGrid.scss';\n\nconst excludedPrescText = ['Call Me/Email Me for Power', 'Call Me/Email Me for Color', ''];\n\nfunction excludePrescValues(prescValue, hyphenSybmol) {\n if (excludedPrescText.includes(prescValue) || !prescValue) return hyphenSybmol;\n return prescValue;\n}\n\nfunction PowerGrid(props) {\n const { prescription: { left, right, userName, labels }, view, dataLocale = {}, fromOrderDetails } = props;\n const { YOUR_POWER, HYPHEN, LEFT, RIGHT } = dataLocale;\n let itemPrescriptions;\n if (left && Object.keys(left).length) {\n itemPrescriptions = left;\n } else if (right && Object.keys(right).length) {\n itemPrescriptions = right;\n }\n let userTitle = userName || YOUR_POWER;\n if (userTitle.toLowerCase() === 'user') {\n userTitle = YOUR_POWER;\n }\n const isDesktop = view === 'desktop';\n const header = (
\n \n {userTitle}\n {!isDesktop && fromOrderDetails && \n \n }\n \n
);\n const body = (
\n
\n
\n {left &&
{LEFT}
}\n {right &&
{RIGHT}
}\n
\n {itemPrescriptions && Object.keys(itemPrescriptions).map(keys => {\n if ((left && left[keys] && excludedPrescText.includes(left[keys])) && (right && right[keys] && excludedPrescText.includes(right[keys])) ||\n (left && !left[keys]) && (right && !right[keys]) ||\n (!left || !left[keys]) && (!right || !right[keys])) {\n return null;\n }\n return (\n
\n
{labels[keys]}
\n {left &&
{excludePrescValues(left[keys], HYPHEN)}
}\n {right &&
{excludePrescValues(right[keys], HYPHEN)}
}\n
\n );\n })}\n
\n
);\n\n return (\n
\n {fromOrderDetails ? : {header}{body}}\n
\n );\n}\n\nexport default memo(PowerGrid);\n","const localStorageHelper = {\n getItem(key) {\n try {\n const value = window.localStorage.getItem(key);\n const ngValue = window.localStorage.getItem(`ng2-webstorage|${key}`);\n const returnValue = value || ngValue;\n return JSON.parse(returnValue);\n } catch (err) {\n console.log(err);\n return null;\n }\n },\n setItem(key, value) {\n try {\n window.localStorage.setItem(key, JSON.stringify(value || null));\n } catch (err) {\n console.log(err);\n }\n },\n removeItem(key) {\n try {\n window.localStorage.removeItem(key);\n } catch (err) {\n console.log(err);\n }\n }\n};\n\nexport default localStorageHelper;\n","import * as actionTypes from './../../actionTypes/shortlist';\nimport * as commonActionTypes from './../../actionTypes/common';\n\nconst initialState = {\n shortlistedProducts: [],\n wishListProductsLoading: false\n};\n\nexport default function shortlist(prevState = initialState, action) {\n switch (action.type) {\n case commonActionTypes.SHORTLIST_DELETE:\n return Object.assign({}, prevState, {\n wishListProductsLoading: true,\n });\n case commonActionTypes.SHORTLIST_DELETE_SUCCESS:\n return Object.assign({}, prevState, {\n wishListProductsLoading: false,\n });\n case actionTypes.SHORTLIST_PRODUCTS_LOAD:\n return Object.assign({}, prevState, {\n wishListProductsLoading: true,\n });\n case actionTypes.SHORTLIST_PRODUCTS_SUCCESS:\n return Object.assign({}, prevState, {\n shortlistedProducts: action.data,\n wishListProductsLoading: false,\n });\n case actionTypes.SHORTLIST_PRODUCTS_FAIL:\n return Object.assign({}, prevState, {\n wishListProductsLoading: false,\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\n\nfunction SalesRedirect() {\n return ();\n}\n\nexport default SalesRedirect;\n","export const LOAD_LOCALE_CONFIG = 'checkout/LOAD_LOCALE_CONFIG';\nexport const LOAD_LOCALE_CONFIG_SUCCESS = 'checkout/LOAD_LOCALE_CONFIG_SUCCESS';\nexport const LOAD_LOCALE_CONFIG_FAIL = 'checkout/LOAD_LOCALE_CONFIG_FAIL';\n","import React from 'react';\nimport './Loader.scss';\nconst CommonLoader = () => {\n return (\n
\n
\n \"Loading\"\n
\n );\n};\n\nexport default CommonLoader;\n","import React from 'react';\nimport { Field } from 'react-final-form';\nimport { getNumericChars } from '../../../utils/helper';\n\nfunction setNumberToInput(e, input, name, callback) {\n const val = getNumericChars(e.target.value);\n input.onChange(val);\n if (typeof callback === 'function') {\n callback(name, val);\n }\n}\n\nfunction onSelect(e, input, name, callback) {\n const val = e.target.value;\n input.onChange(val);\n if (typeof callback === 'function') {\n callback(name, val);\n }\n}\n\nexport function deserialize(type, prescription) {\n if (prescription) {\n return Object.keys(prescription).reduce((m, key) => {\n if (key !== 'boxes') {\n m[`${key}-${type}`] = prescription[key];\n }\n return m;\n }, {});\n }\n return {};\n}\n\nexport function getPrescription(prescription, whichEye) {\n const l = whichEye !== 'right' ? deserialize('left', prescription.left) : {};\n const r = whichEye !== 'left' ? deserialize('right', prescription.right) : {};\n return { ...l, ...r };\n}\n\nexport function getDirtyValues(pristine, formValues) {\n if (formValues) {\n return Object.keys(formValues).reduce((memo, key) => {\n if (pristine[key] !== formValues[key]) {\n memo[key] = formValues[key];\n }\n return memo;\n }, {});\n }\n}\n\nexport function getSubmitValues(dirtyValues, powers) {\n if (dirtyValues) {\n return Object.keys(dirtyValues).reduce((memo, key) => {\n const [type, eyeLR] = key.split('-');\n powers.reduce((memo, power) => {\n if (power.type === type) {\n memo.push({ type, eyeLR, name: key, label: `${eyeLR} ${power.label}`, value: dirtyValues[key] });\n }\n return memo;\n }, memo);\n return memo;\n }, []);\n }\n return [];\n}\n\nexport const FieldInput = ({ name, onChange }) => (\n \n {({ input }) => (
setNumberToInput(e, input, name, onChange)} autoComplete=\"off\" maxLength=\"3\" />
)}\n
\n);\n\nexport const DropdownInput = ({ pleaseSelect, name, onChange, options, disable }) => (\n \n {({ input }) => ()}\n \n);\n\nexport const PowerInputs = ({ dataLocale, powers, whichEye, onSelect, onChange, values, isBifocal }) => {\n const { FITTING_HEIGHT_IS_REQUIRED, RIGHT, LEFT, PLEASE_SELECT } = dataLocale;\n return (\n
\n {powers.map(power => {\n let msg;\n if (power.type === 'boxes') return null;\n const options = power.powerDataList && power.powerDataList[0] && power.powerDataList[0].value;\n let disable = false;\n if (isBifocal && ['lensHeight', 'lensWidth'].indexOf(power.type) >= 0) {\n disable = values && !values['bottomDistance-left'];\n msg = FITTING_HEIGHT_IS_REQUIRED;\n }\n return {\n drop_down: (\n \n
\n {whichEye !== 'left' &&
\n \n \n
}\n {whichEye !== 'right' &&
\n \n \n
}\n
\n {disable &&
{msg}
}\n
\n ),\n field: (\n
\n {whichEye !== 'left' &&
\n \n \n
}\n {whichEye !== 'right' &&
\n \n \n
}\n
\n )\n }[power.inputType];\n })}\n
\n );\n};\n","export const ORDER_LIST_LOAD = 'myAccount/ORDER_LIST_LOAD';\nexport const ORDER_LIST_SUCCESS = 'myAccount/ORDER_LIST_SUCCESS';\nexport const ORDER_LIST_FAIL = 'myAccount/ORDER_LIST_FAIL';\nexport const ORDER_LIST_LOAD_MORE = 'myAccount/ORDER_LIST_LOAD_MORE';\n\nexport const RESET_PASSWORD_LOAD = 'myAccount/RESET_PASSWORD_LOAD';\nexport const RESET_PASSWORD_SUCCESS = 'myAccount/RESET_PASSWORD_SUCCESS';\nexport const RESET_PASSWORD_FAIL = 'myAccount/RESET_PASSWORD_FAIL';\n\nexport const UPDATE_USER_INFO_LOAD = 'myAccount/UPDATE_USER_INFO_LOAD';\nexport const UPDATE_USER_INFO_SUCCESS = 'myAccount/UPDATE_USER_INFO_SUCCESS';\nexport const UPDATE_USER_INFO_FAIL = 'myAccount/UPDATE_USER_INFO_FAIL';\n\nexport const CHECK_VOUCHER_LOAD = 'myAccount/CHECK_VOUCHER_LOAD';\nexport const CHECK_VOUCHER_SUCCESS = 'myAccount/CHECK_VOUCHER_SUCCESS';\nexport const CHECK_VOUCHER_FAIL = 'myAccount/CHECK_VOUCHER_FAIL';\n\nexport const STORE_CREDIT_BAL_LOAD = 'myAccount/STORE_CREDIT_BAL_LOAD';\nexport const STORE_CREDIT_BAL_SUCCESS = 'myAccount/STORE_CREDIT_BAL_SUCCESS';\nexport const STORE_CREDIT_BAL_FAIL = 'myAccount/STORE_CREDIT_BAL_FAIL';\n\nexport const STORE_CREDIT_ORDERS_LOAD = 'myAccount/STORE_CREDIT_ORDERS_LOAD';\nexport const STORE_CREDIT_ORDERS_SUCCESS = 'myAccount/STORE_CREDIT_ORDERS_SUCCESS';\nexport const STORE_CREDIT_ORDERS_FAIL = 'myAccount/STORE_CREDIT_ORDERS_FAIL';\n\nexport const STORE_CREDIT_ORDER_HISTORY_LOAD = 'myAccount/STORE_CREDIT_ORDER_HISTORY_LOAD';\nexport const STORE_CREDIT_ORDER_HISTORY_SUCCESS = 'myAccount/STORE_CREDIT_ORDER_HISTORY_SUCCESS';\nexport const STORE_CREDIT_ORDER_HISTORY_FAIL = 'myAccount/STORE_CREDIT_ORDER_HISTORY_FAIL';\n\nexport const STORE_CREDIT_ORDER_SMS_LOAD = 'myAccount/STORE_CREDIT_ORDER_SMS_LOAD';\nexport const STORE_CREDIT_ORDER_SMS_SUCCESS = 'myAccount/STORE_CREDIT_ORDER_SMS_SUCCESS';\nexport const STORE_CREDIT_ORDER_SMS_FAIL = 'myAccount/STORE_CREDIT_ORDER_SMS_FAIL';\n\n\nexport const EDIT_NEFT_LOAD = 'myAccount/EDIT_NEFT_LOAD';\nexport const EDIT_NEFT_SUCCESS = 'myAccount/EDIT_NEFT_SUCCESS';\nexport const EDIT_NEFT_FAIL = 'myAccount/EDIT_NEFT_FAIL';\n\nexport const CLEAR_STATE = 'myAccount/CLEAR_STATE';\n\nexport const RETURN_ORDER_CONFIG_LOAD = 'myAccount/RETURN_ORDER_CONFIG_LOAD';\nexport const RETURN_ORDER_CONFIG_SUCCESS = 'myAccount/RETURN_ORDER_CONFIG_SUCCESS';\nexport const RETURN_ORDER_CONFIG_FAIL = 'myAccount/RETURN_ORDER_CONFIG_FAIL';\n\nexport const NEW_ORDER_CHECK = 'myAccount/NEW_ORDER_CHECK';\n\nexport const COD_CONFIRMATION_LOAD = 'order/COD_CONFIRMATION_LOAD';\nexport const COD_CONFIRMATION_SUCCESS = 'order/COD_CONFIRMATION_SUCCESS';\nexport const COD_CONFIRMATION_FAIL = 'order/COD_CONFIRMATION_FAIL';\n\nexport const CLEAR_COD_CONFIRM_STATE = 'myAccount/CLEAR_COD_CONFIRM_STATE';\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst CompareLooksLoadable = Loadable({\n loader: () => import('desktop/containers/CompareLooks/CompareLooks.js' /* webpackChunkName: 'compareLooks' */).then(module => module.default),\n loading: () => \n});\n\nexport default CompareLooksLoadable;\n","import { call, put, takeLatest, all, takeEvery, select } from 'redux-saga/effects';\nimport { delay } from 'redux-saga';\nimport config from 'config';\nimport * as actionTypes from '../actionTypes/category';\nimport apiClient from '../helpers/apiClient';\nimport { commonState } from './state';\nimport { readQueryParam } from '../utils/helper';\nimport getSetCookie from '../cookie';\nimport { getExchangeOrderId, getExchangeItemId } from '../selectors/returnExchange';\nimport sessionStorageHelper from '../utils/sessionStorageHelper';\n\nlet _client = null;\nlet _location = null;\nlet categoryPageSizeRedisCount = 0;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\n\n\nfunction modifyFilterObject(filterData) {\n const finalFilters = { filters: [] };\n filterData.filters.forEach(filter => {\n const obj = { ...filter };\n if (filter.options && filter.options.length && filter.id.indexOf('color_id') === -1) {\n obj.listUnitType = 'filter';\n obj.hideFilters = [];\n obj.options.forEach(option => {\n const optionObj = option;\n if (optionObj.title) {\n optionObj.displayTitle = optionObj.title || '';\n if (obj.id.indexOf('price') > -1) {\n optionObj.displayTitle = optionObj.title.replace(/Rs\\./g, '\\u20B9');\n }\n if (optionObj.title && optionObj.title.length > 32) {\n optionObj.displayTitle = optionObj.title.substr(0, 29) + '...';\n }\n // Modify title for image\n if (config.msiteGlobals && config.msiteGlobals.viewImagesList.indexOf(obj.id) > -1) {\n optionObj.trimmedTitle = optionObj.title.replace(/\\s/g, '');\n }\n } else {\n optionObj.displayTitle = optionObj.displayTitle || '';\n optionObj.trimmedTitle = optionObj.trimmedTitle || '';\n }\n });\n }\n finalFilters.filters.push(obj);\n });\n return finalFilters;\n}\n\nfunction* getSearchCategoryData({ params, pageCounter }) {\n const successAction = { type: actionTypes.CATEGORY_DATA_SUCCESS };\n const errorAction = { type: actionTypes.CATEGORY_DATA_FAIL };\n const search = window.location.search;\n let query = search.substr(1).split('&').find(param => param.indexOf('q=') > -1).split('=')[1];\n const client = { ..._client };\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? 15 : listPageSize;\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n query = query.replace(/[\\])}?[{(]/g, '');\n client.setHeader();\n try {\n const categoryData = yield call(async () => client.get(`${config.apiPath.categorySearch}${query}?page-size=${categoryPageSizeRedisCount}&page=${!pageCounter ? 0 : pageCounter}${params ? `&${params}` : params}`));\n successAction.data = categoryData;\n successAction.data.query = query;\n successAction.data.pathname = window.location.pathname;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getSearchFilterData({ location, params, pageCounter }) {\n const successAction = { type: actionTypes.SEARCH_FILTER_SUCCESS };\n const errorAction = { type: actionTypes.SEARCH_FILTER_FAIL };\n let paramsForFilter = '';\n if (params) {\n params = params.split('&').filter(filter => !filter.includes('dir=') && !filter.includes('gan_data=') && !filter.includes('sort=')).join('&');\n paramsForFilter = `${params ? `&${params}` : params}`;\n }\n let query = '';\n if (location.search.indexOf('&') > -1) {\n query = location.search.slice(location.search.indexOf('=') + 1, location.search.indexOf('&'));\n } else {\n query = location.search.slice(location.search.indexOf('=') + 1);\n }\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? 15 : listPageSize;\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n query = query.replace(/[\\])}?[{(]/g, '');\n const requestUrl = `${config.apiPath.categorySearchFilter}${query}${paramsForFilter}`;\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(requestUrl));\n if (!data.result) throw new Error({ message: 'empty filters' });\n successAction.data = { result: modifyFilterObject({ filters: data.result.filters }).filters };\n if (xApiClient === 'mobilesite') {\n successAction.data.result.number_of_products = data.result.number_of_products;\n }\n if (!params) {\n localStorage.setItem('filters', JSON.stringify({ result: { filters: data.result } }));\n }\n successAction.data.counter = pageCounter;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCategoryData({ categoryId, params, pageCounter }) {\n const successAction = { type: actionTypes.CATEGORY_DATA_SUCCESS };\n const errorAction = { type: actionTypes.CATEGORY_DATA_FAIL };\n const saveCategoryToReduxAction = { type: actionTypes.SAVE_CATEGORYDATA_TO_REDUX };\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? 15 : listPageSize;\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n const client = { ..._client };\n client.setHeader();\n let isExchange = false;\n if (__SERVER__) {\n const getCookies = client.getServerRequestHeader().cookies;\n if (getCookies.exchangeMethod) {\n isExchange = getCookies.exchangeMethod;\n }\n }\n if (__CLIENT__) {\n const isExchangeSessionValid = sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction;\n if (getSetCookie.getCookie('exchangeMethod') && isExchangeSessionValid) {\n isExchange = getSetCookie.getCookie('exchangeMethod');\n } else {\n isExchange = false;\n }\n }\n if (isExchange) {\n const orderId = getSetCookie.getCookie('exchangeOrderId');\n const itemId = getSetCookie.getCookie('exchangeItemId');\n const exchangeParams = orderId && itemId ? `orderId=${orderId}&itemId=${itemId}` : '';\n params = params && `${params}&${exchangeParams || ''}` || (exchangeParams || '');\n }\n try {\n const data = yield call(async () => client.getCategoryData(categoryId, params, categoryPageSizeRedisCount, !pageCounter ? 0 : pageCounter, isExchange));\n successAction.data = data;\n successAction.data.counter = pageCounter;\n saveCategoryToReduxAction.data = data;\n saveCategoryToReduxAction.data.result.categoryId = categoryId;\n saveCategoryToReduxAction.data.location = _location;\n yield put(successAction);\n yield delay(500);\n yield put(saveCategoryToReduxAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* loadScroll({ pathname, categoryId, counter, mystring }) {\n const successAction = { type: actionTypes.APPEND_DATA_AFTER };\n const saveCategoryToReduxAction = { type: actionTypes.SAVE_CATEGORYDATA_TO_REDUX };\n const errorAction = { type: actionTypes.FAIL_APPEND_DATA };\n const client = { ..._client };\n client.setHeader();\n const search = window.location.search;\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? 15 : listPageSize;\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n // const query = search.indexOf('&') > -1 ? search.slice(search.indexOf('=') + 1, search.indexOf('&')) : search.slice(search.indexOf('=') + 1);\n const query = readQueryParam('q', search);\n let requestUrl = '';\n const isExchange = getSetCookie.getCookie('exchangeMethod') && (sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction);\n if (pathname.indexOf('/search') > -1) {\n requestUrl = `${config.apiPath.categorySearch}${query}?page=${counter}${mystring}&page-size=${categoryPageSizeRedisCount}`;\n } else {\n let exchangeParams;\n if (isExchange) {\n const orderId = yield select(getExchangeOrderId);\n const itemId = yield select(getExchangeItemId);\n exchangeParams = orderId && itemId ? `&orderId=${orderId}&itemId=${itemId}` : '';\n }\n requestUrl = `${(__SERVER__ ? config.apiPath.albDataCategory : config.apiPath.dataCategory)}${categoryId}?page-size=${categoryPageSizeRedisCount}&page=${counter}${mystring}${exchangeParams || ''}`;\n }\n const options = {\n headers: {\n 'X-Api-Client': xApiClient\n }\n };\n if (isExchange) {\n options.headers['X-Service-Type'] = 'exchange';\n }\n try {\n const data = yield call(async () => client.get(requestUrl, options));\n successAction.data = data;\n saveCategoryToReduxAction.data = data;\n saveCategoryToReduxAction.data.result.categoryId = categoryId;\n saveCategoryToReduxAction.data.location = _location;\n yield put(successAction);\n yield put(saveCategoryToReduxAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getFilterData({ categoryId, filterParams }) {\n getSetCookie.deleteCookie('lastVisiteUrlForFitMySize');\n const successAction = { type: actionTypes.FILTER_DATA_SUCCESS };\n const errorAction = { type: actionTypes.FILTER_DATA_FAIL };\n let paramsForFilter = '';\n if (filterParams) {\n paramsForFilter = `?${filterParams}`;\n }\n const requestUrl = filterParams ? `${config.apiPath.filterDataApi}${categoryId}${paramsForFilter}` : `${config.apiPath.filterDataApi}${categoryId}`;\n const client = { ..._client };\n const isExchange = xApiClient === 'mobilesite' && __CLIENT__ && getSetCookie.getCookie('exchangeMethod') && (sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction);\n if (isExchange) {\n client.setHeader({ 'X-Service-Type': 'exchange' });\n } else {\n client.setHeader();\n }\n try {\n const data = yield call(async () => client.get(requestUrl));\n successAction.data = { result: modifyFilterObject(data.result) };\n if (xApiClient === 'mobilesite') {\n successAction.data.result.number_of_products = data.result.number_of_products;\n }\n if (!filterParams) {\n localStorage.setItem('filters', JSON.stringify({ result: { filters: data.result } }));\n }\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCatAndFilterData({ categoryId, filterParams, pageCounter }) {\n if (!filterParams) {\n filterParams = '';\n }\n if (window.location.pathname.indexOf('/search') > -1) {\n yield call(getSearchFilterData, { location: window.location, params: filterParams, pageCounter });\n yield call(getSearchCategoryData, { params: filterParams, pageCounter });\n } else {\n yield call(getFilterData, { categoryId, filterParams });\n yield call(getCategoryData, { categoryId, params: filterParams, pageCounter });\n }\n}\n\nfunction* saveCategoryDataOnScoll(categoryData) {\n // yield call(delay, 100);\n yield put({ type: actionTypes.SAVE_CATEGORY_DATA_ON_SCROLL, data: categoryData });\n}\n\nfunction* getSubcategoriesData({ data }) {\n const { gen, cat } = data;\n const successAction = { type: actionTypes.SUBCATEGORY_DATA_SUCCESS };\n const errorAction = { type: actionTypes.SUBCATEGORY_DATA_FAIL };\n const client = { ..._client };\n const requestUrl = config.apiPath.subCatApiUrl + '/gender/' + gen + '/catalog/' + cat;\n client.setHeader();\n try {\n const response = yield call(async () => client.get(requestUrl));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCategoryConfigJSON() {\n const successAction = { type: actionTypes.CATEGORY_CONFIG_JSON_SUCCESS };\n const errorAction = { type: actionTypes.CATEGORY_CONFIG_JSON_FAIL };\n const client = { ..._client };\n const requestUrl = config.apiPath.categoryConfigJson;\n client.setHeader();\n try {\n const response = yield call(async () => client.get(requestUrl));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runCategoryCalls(client, location) {\n _client = client ? Object.assign({}, client) : apiClient();\n _location = location;\n yield all([\n takeLatest(actionTypes.CATEGORY_DATA_LOAD, getCategoryData),\n takeEvery(actionTypes.APPEND_DATA_LOAD, loadScroll),\n takeEvery(actionTypes.SEARCH_FILTER_LOAD, getSearchFilterData),\n takeEvery(actionTypes.SEARCH_CATEGORY_DATA_LOAD, getSearchCategoryData),\n takeEvery(actionTypes.FILTER_DATA_LOAD, getFilterData),\n takeLatest(actionTypes.CATEGORY_AND_FILTER_DATA_LOAD, getCatAndFilterData),\n takeLatest(actionTypes.DEBOUNCE_CATEGORY_DATA_ON_SCROLL, saveCategoryDataOnScoll),\n takeLatest(actionTypes.SUBCATEGORY_DATA_LOAD, getSubcategoriesData),\n takeLatest(actionTypes.CATEGORY_CONFIG_JSON_LOAD, getCategoryConfigJSON)\n ]);\n}\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/hto';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* getHTOConfig() {\n const successAction = { type: actionTypes.GET_HTO_CONFIG_SUCCESS };\n const errorAction = { type: actionTypes.GET_HTO_CONFIG_FAIL };\n try {\n const data = yield call(async () => _client.get(`${config.apiPath.htoPageJson}?v=${(new Date()).getTime()}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getLocationServiceDetails({ lat, lng }) {\n const successAction = { type: actionTypes.GET_LOCATION_SERVICE_DETAILS_SUCCESS };\n const errorAction = { type: actionTypes.GET_LOCATION_SERVICE_DETAILS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => _client.get(`${config.apiPath.validateUserLocation}?location=${encodeURIComponent(`${lat},${lng}`)}`));\n successAction.data = result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getSlots({ pincode }) {\n const successAction = { type: actionTypes.GET_SLOTS_SUCCESS };\n const errorAction = { type: actionTypes.GET_SLOTS_FAIL };\n try {\n const response = yield call(async () => _client.get(`${config.apiPath.validateUserLocation}/slot/?pinCode=${pincode}`));\n successAction.result = response && response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getHTOAppointmentCancelReasons() {\n const successAction = { type: actionTypes.GET_CANCEL_REASONS_SUCCESS };\n const errorAction = { type: actionTypes.GET_CANCEL_REASONS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.validateUserLocation}/order/cancel`));\n successAction.data = response && response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* cancelHTOOrder({ orderId, reason }) {\n const successAction = { type: actionTypes.CANCEL_HTO_ORDER_SUCCESS };\n const errorAction = { type: actionTypes.CANCEL_HTO_ORDER_FAIL };\n const client = { ..._client };\n client.setHeader({ brand: 'abc' });\n try {\n const response = yield call(async () => client.post(`${config.apiPath.validateUserLocation}/order/${orderId}/cancel?reason=${reason}`, {reason}));\n successAction.result = response && response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getAgentInfo({ phone }) {\n const successAction = { type: actionTypes.GET_AGENT_INFO_SUCCESS };\n const errorAction = { type: actionTypes.GET_AGENT_INFO_FAIL };\n try {\n const response = yield call(async () => _client.get(`${config.apiPath.validateUserLocation}/lastorder?telephone=${phone}`));\n successAction.result = response && response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* bookHTOAppointment({ data }) {\n const successAction = { type: actionTypes.BOOK_APPOINTMENT_SUCCESS };\n const errorAction = { type: actionTypes.BOOK_APPOINTMENT_FAIL };\n const client = { ..._client };\n client.setHeader({ brand: 'abc'});\n try {\n const response = yield call(async () => client.post(`${config.apiPath.htoBookNowOrder}/order${encodeURI(data.utm)}`, data.userInfo));\n successAction.result = response && response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runHtoCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.GET_HTO_CONFIG, getHTOConfig),\n takeLatest(actionTypes.GET_LOCATION_SERVICE_DETAILS, getLocationServiceDetails),\n takeLatest(actionTypes.GET_SLOTS, getSlots),\n takeLatest(actionTypes.GET_CANCEL_REASONS, getHTOAppointmentCancelReasons),\n takeLatest(actionTypes.CANCEL_HTO_ORDER_LOAD, cancelHTOOrder),\n takeLatest(actionTypes.GET_AGENT_INFO, getAgentInfo),\n takeLatest(actionTypes.BOOK_APPOINTMENT, bookHTOAppointment)\n ]);\n}\n","import axios from 'axios';\nimport config from 'config';\nimport getSetCookie from '../cookie';\n// List of allowed lang for locale config\nimport { langCodeAllowed } from '../locales';\nconst __IS_LOCAL__ = process.env.IS_LOCAL_DEV;\nlet xApiClient = 'desktop';\nlet appXApiClients = [];\nlet userAgent = 'axios/0.18.1-desktop';\nlet defaultLanguage = 'en';\n// conditional imports on compilation\n('#if CLIENT_TYPE === \"mobile\"'); // eslint-disable-line\nxApiClient = 'mobilesite';\nappXApiClients = config.msiteGlobals.appXApiClients;\nuserAgent = 'axios/0.18.1-mobilesite';\n('#endif'); // eslint-disable-line\n\nconst getCountryCode = () => {\n global.__COUNTRY_CODE__ = process.env.COUNTRY ? process.env.COUNTRY.toLowerCase() : 'in';\n // global.__COUNTRY_CODE__ = __SERVER__ ? req.cookies.countryCode : getSetCookie.getCookie('countryCode');\n // if (!global.__COUNTRY_CODE__) global.__COUNTRY_CODE__ = 'IN';\n};\n\n// set user lang for locale specific data\nconst setUserLang = (_request, _response) => {\n /** default country locale */\n let locale = 'en_in';\n\n /** set Country code in global scope */\n getCountryCode();\n // console.log(global.__COUNTRY_CODE__);\n\n if (global.__COUNTRY_CODE__) {\n const getLangObj = langCodeAllowed[global.__COUNTRY_CODE__];\n const currentLocale = getLangObj ? ((defaultLanguage = getLangObj.defaultLanguage, getLangObj.defaultLocale)) : 'en_in';\n // user selected locale\n locale = __SERVER__ ? _request.cookies.locale : getSetCookie.getCookie('locale');\n let isValidLocale = [];\n if (getLangObj) {\n isValidLocale = getLangObj.localeList.filter(x => x.code === locale);\n }\n if (isValidLocale.length === 0 || locale.indexOf(global.__COUNTRY_CODE__) === -1) {\n locale = currentLocale;\n }\n }\n\n if (__SERVER__) {\n _response.cookie('locale', locale, {\n domain: '.lenskart.com',\n path: '/',\n maxAge: 2592000000,\n });\n }\n /** SET LOCALE AS GLOBAL VARIABLE */\n global.__LOCALE__ = locale;\n};\n\nconst getCommonHeader = ({ customHeader, req }) => {\n /** set Country code in global scope */\n getCountryCode();\n\n const headers = {\n 'X-Accept-Language': defaultLanguage,\n 'X-Country-Code': global.__COUNTRY_CODE__,\n 'X-Api-Client': xApiClient,\n 'Cache-Control': 'no-cache, no-store',\n 'X-B3-TraceId': `99${Date.now()}`,\n };\n if ((__SERVER__ && req.cookies.frontend) || (__CLIENT__ && getSetCookie.getCookie('frontend'))) {\n headers['X-Session-Token'] = __SERVER__\n ? req.cookies.frontend\n : getSetCookie.getCookie('frontend');\n }\n\n // if ((__SERVER__ && req.cookies.countryCode) || (__CLIENT__ && getSetCookie.getCookie('countryCode'))) {\n // headers['X-Country-Code'] = global.__COUNTRY_CODE__;\n // }\n\n ('#if CLIENT_TYPE === \"mobile\"'); // eslint-disable-line\n if (req && req.header('x-api-client') && appXApiClients.includes(req.header('x-api-client'))) {\n // did not use loop as iterators/generators require regenerator-runtime\n if (req.header('x-app-version')) {\n headers['x-app-version'] = req.header('x-app-version');\n }\n if (req.header('x-session-token')) {\n headers['X-Session-Token'] = req.header('x-session-token');\n }\n if (req.header('udid')) {\n headers.udid = req.header('udid');\n }\n if (req.header('device-id')) {\n headers['device-id'] = req.header('device-id');\n }\n }\n ('#endif'); // eslint-disable-line\n if (\n __CLIENT__ &&\n typeof window !== 'undefined' &&\n (window.location.href.indexOf('/v2/carts') !== -1 ||\n window.location.href.indexOf('campaign') !== -1) &&\n window.sessionStorage.getItem('userEmail') &&\n window.sessionStorage.getItem('userPh')\n ) {\n headers.email = window.sessionStorage.getItem('userEmail');\n headers.phone = window.sessionStorage.getItem('userPh');\n }\n return customHeader ? Object.assign({}, headers, customHeader) : headers;\n};\n\nexport default function apiClient(apiObject) {\n const instance = axios.create();\n const _response = apiObject ? apiObject.res : null;\n const _request = apiObject ? apiObject.req : null;\n\n instance.interceptors.request.use(\n async request => {\n // Should only be enabled for dev environments\n // const reqObj = { Url: request.url, Method: request.method, Data: request.data || '' };\n // if (__SERVER__) {\n // console.log(reqObj);\n // }\n\n // set user lang for locale specific data\n setUserLang(_request, _response);\n if (__CLIENT__) {\n if (request.url.indexOf('v2/sessions') > -1 && request.method === 'post') {\n return request;\n }\n if (!getSetCookie.getCookie('frontend')) {\n const response = await axios.post(config.apiPath.userSession, null, {\n headers: { 'X-Api-Client': xApiClient, 'X-Accept-Language': defaultLanguage, 'X-Country-Code': global.__COUNTRY_CODE__, 'X-B3-TraceId': `99${Date.now()}` },\n });\n getSetCookie.setCookie('frontend', response.data.result.id, 30);\n request.headers['X-Session-Token'] = response.data.result.id;\n }\n }\n if (request.url.indexOf(':locale') !== -1) {\n if (__SERVER__ && __IS_LOCAL__ === 'ON') {\n request.url = 'http://localhost:8081' + request.url;\n }\n request.url = request.url.replace(':locale', global.__LOCALE__);\n }\n if (__CLIENT__ && request.url.indexOf('HTO') > -1) {\n delete request.headers['X-Country-Code'];\n }\n if (__CLIENT__ && request.url.indexOf('static.lenskart') > -1) {\n delete request.headers['X-B3-TraceId'];\n delete request.headers['X-Api-Client'];\n delete request.headers['X-Session-Token'];\n delete request.headers['X-Accept-Language'];\n delete request.withCredentials;\n }\n if ((request.url.indexOf('stage.lenskart.io') > -1 || request.url.indexOf('area51.lenskart.io') > -1)) {\n // console.log('global.__COUNTRY_CODE__', global.__COUNTRY_CODE__);\n request.headers['X-Api-Client'] = 'android';\n request.headers['x-country-code-override'] = global.__COUNTRY_CODE__;\n }\n // console.log(_request);\n try {\n if (request.url.indexOf('/v2/products') > -1) {\n const hasPlacedOrderCookieValue = (__SERVER__ && _request.cookies.hasPlacedOrder) || (__CLIENT__ && getSetCookie.getCookie('hasPlacedOrder'));\n if (hasPlacedOrderCookieValue && hasPlacedOrderCookieValue !== 'null') {\n request.headers['X-Customer-Type'] = hasPlacedOrderCookieValue === 'true' ? 'REPEAT' : 'NEW';\n }\n }\n } catch (e) {\n // console.log(e);\n }\n return request;\n },\n error => Promise.reject(error)\n );\n /** ENDS HERE */\n\n instance.interceptors.request.use(\n conf => {\n // Hack for PI-7430\n // if (conf.url.indexOf('filters') > -1 && conf.headers['X-Api-Client']) {\n // delete conf.headers['X-Api-Client'];\n // }\n if (__SERVER__) {\n conf.headers['User-Agent'] = `${userAgent}${conf.headers.isBot ? '-seoBot' : ''}`;\n }\n delete conf.headers.isBot;\n return conf;\n },\n error => Promise.reject(error)\n );\n\n instance.interceptors.response.use(\n response => response.data,\n error => Promise.reject(error.response ? error.response.data : error)\n );\n instance.setHeader = function (customHeader) {\n this.defaults.headers = getCommonHeader({ req: _request, customHeader });\n };\n instance.withCredentials = function () {\n this.defaults.withCredentials = true;\n };\n instance.getServerRequestHeader = function () {\n return _request;\n };\n instance.getServerResponse = function () {\n return _response;\n };\n\n instance.validateSession = async function () {\n const requestUrl = __SERVER__\n ? config.apiPath.albValidateSession\n : config.apiPath.validateSession;\n\n const options = {\n headers: getCommonHeader({ req: _request }),\n };\n\n try {\n const response = await this.get(requestUrl, options);\n if (__SERVER__) {\n _response.cookie('isLogined', '0', {\n domain: '.lenskart.com',\n path: '/',\n maxAge: 2592000000,\n });\n _response.cookie('log_in_status', 'loggedout', {\n domain: '.lenskart.com',\n path: '/',\n maxAge: 2592000000,\n });\n _response.cookie('hasPlacedOrder', 'null', {\n domain: '.lenskart.com',\n path: '/',\n });\n } else if (__CLIENT__) {\n getSetCookie.setCookie('isLogined', '0', 30);\n getSetCookie.setCookie('log_in_status', 'loggedout', 30);\n getSetCookie.deleteCookie('hasPlacedOrder');\n }\n\n let isCartCount = 0;\n let isWishlistCount = 0;\n if (response.result.attrs.hasOwnProperty('cartIds') && response.result.attrs.itemsCount > 0) {\n isCartCount = response.result.attrs.itemsCount;\n }\n if (\n response.result.attrs.hasOwnProperty('wishlist') &&\n response.result.attrs.wishlist.length > 0\n ) {\n isWishlistCount = response.result.attrs.wishlist.length;\n }\n if (\n typeof response.result.attrs.isLoggedIn !== 'undefined' &&\n response.result.attrs.isLoggedIn\n ) {\n const res = await this.customerMe();\n if (__SERVER__) {\n _response.cookie('isLogined', '1', {\n domain: '.lenskart.com',\n path: '/',\n });\n _response.cookie('log_in_status', 'loggedin', {\n domain: '.lenskart.com',\n path: '/',\n });\n _response.cookie('hasPlacedOrder', res.result.hasPlacedOrder, {\n domain: '.lenskart.com',\n path: '/',\n });\n } else if (__CLIENT__) {\n getSetCookie.setCookie('isLogined', '1', 30);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n getSetCookie.setCookie('hasPlacedOrder', res.result.hasPlacedOrder, 30);\n }\n res.result.isCartCount = isCartCount;\n res.result.isWishlistCount = isWishlistCount;\n res.result.login = true;\n return res;\n }\n response.result.isCartCount = isCartCount;\n response.result.isWishlistCount = isWishlistCount;\n response.result.login = false;\n return response;\n } catch (er) {\n throw er;\n }\n };\n\n // get category data\n /* eslint comma-spacing: 0 */\n instance.getCategoryData = async function (catID, params, pageSize, pageCounter, isExchange) {\n const requestUrl = __SERVER__ ? config.apiPath.albDataCategory : config.apiPath.dataCategory;\n const options = {\n headers: {\n 'X-Api-Client': xApiClient,\n email: __CLIENT__ ? window.sessionStorage.getItem('userEmail') : '',\n phone: __CLIENT__ ? window.sessionStorage.getItem('userPh') : '',\n },\n };\n if (isExchange) {\n options.headers['X-Service-Type'] = 'exchange';\n }\n const getParams = params ? `&${params.replace('#', '')}` : '';\n const urlOption = `${catID}?page-size=${pageSize}&page=${pageCounter}${getParams}`;\n try {\n const response = await this.get(requestUrl + urlOption, options);\n return response;\n } catch (er) {\n throw er;\n }\n };\n // get product data\n instance.getProductData = async function (pID, params, isExchange) {\n const requestUrl = __SERVER__ ? config.apiPath.albDataProduct : config.apiPath.dataProduct;\n const options = {\n headers: {\n 'X-Api-Client': xApiClient,\n email: __CLIENT__ ? window.sessionStorage.getItem('userEmail') : '',\n phone: __CLIENT__ ? window.sessionStorage.getItem('userPh') : '',\n },\n };\n if (isExchange) {\n options.headers['X-Service-Type'] = 'exchange';\n }\n const getParams = pID + (params ? `?${params}` : '');\n try {\n const response = await this.get(requestUrl + getParams, options);\n return response;\n } catch (er) {\n throw er;\n }\n };\n\n instance.customerMe = async function () {\n const requestUrl = __SERVER__ ? config.apiPath.albGetUserInfo : config.apiPath.getUserInfo;\n const options = {\n headers: getCommonHeader({ req: _request }),\n };\n try {\n return await this.get(requestUrl, options);\n } catch (er) {\n throw er;\n }\n };\n\n instance.customPost = async function (url, data, sessionKey, apiClient, cache, isExchange) {\n try {\n const header = {\n 'X-Accept-Language': defaultLanguage,\n 'X-Country-Code': global.__COUNTRY_CODE__,\n };\n if (apiClient !== null) header['X-Api-Client'] = apiClient;\n if (sessionKey !== null) {\n header[sessionKey] = getSetCookie.getCookie('frontend');\n }\n if (isExchange) {\n header['X-Service-Type'] = 'exchange';\n }\n if (cache !== null) header['Cache-Control'] = 'no-cache, no-store';\n if (url.indexOf('/v2/') !== -1) {\n header['X-B3-TraceId'] = `99${Date.now()}`;\n }\n if (\n __CLIENT__ &&\n (url.indexOf('/v2/carts') !== -1 || url.indexOf('campaign') !== -1) &&\n typeof window !== 'undefined'\n ) {\n header.email = __CLIENT__ ? window.sessionStorage.getItem('userEmail') : '';\n header.phone = __CLIENT__ ? window.sessionStorage.getItem('userPh') : '';\n }\n\n const extras = { headers: header };\n if (url.indexOf('/v2/orderpayment') !== -1) {\n extras.withCredentials = true;\n }\n const response = await this.post(url, data, extras);\n return response;\n } catch (er) {\n throw er;\n }\n };\n instance.getCmsData = async function (cmdId) {\n let requestUrl = config.apiPath.cmsPages;\n const { domain } = langCodeAllowed[global.__COUNTRY_CODE__];\n requestUrl = __SERVER__ ? `${domain}${requestUrl}` : requestUrl;\n const options = {\n headers: {\n 'X-Api-Client': xApiClient,\n email: __CLIENT__ ? window.sessionStorage.getItem('userEmail') : '',\n phone: __CLIENT__ ? window.sessionStorage.getItem('userPh') : '',\n },\n };\n const urlOption = `${cmdId}`;\n try {\n const response = await this.get(requestUrl + urlOption, options);\n return response;\n } catch (er) {\n console.log('cms data api error', er);\n throw er;\n }\n };\n return instance;\n}\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/dittoShare';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\nfunction* saveDitto({ dittoId, formData }) {\n const successAction = { type: actionTypes.DITTO_SHARE_DATA_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_SHARE_DATA_FAIL };\n const client = { ..._client };\n client.setHeader({ 'Content-Type': 'multipart/form-data' });\n try {\n const data = yield call(async () => client.post(`${config.apiPath.storeApi}/ditto/${dittoId.substring(0, 14)}/uploadImage`, formData));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runDittoShareCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.DITTO_SHARE_DATA_LOAD, saveDitto),\n ]);\n}\n","export const CMS_DATA_LOAD = 'cms/CMS_DATA_LOAD';\nexport const CMS_DATA_SUCCESS = 'cms/CMS_DATA_SUCCESS';\nexport const CMS_DATA_FAIL = 'cms/CMS_DATA_FAIL';\nexport const CLEAR_CMS_DATA = 'cms/CLEAR_CMS_DATA';\n","import React, { PureComponent } from 'react';\nimport { connect } from 'react-redux';\nimport { Form, Field } from 'react-final-form';\nimport sessionStorageHelper from '../../../utils/sessionStorageHelper';\nimport LKModal from '../../components/Modal/Modal';\nimport { submitPowers, updatePackages } from '../../../actionCreators/success';\nimport './ConfirmationModal.scss';\n// utils\nimport { sameFields } from './power-utils';\n\nclass ConfirmationModal extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n powerSubmitError: false\n };\n this.mutators = {\n onChange: (args, state, utils) => {\n utils.changeValue(state, args[0], () => args[1]);\n }\n };\n this.setSameFieldValues = this.setSameFieldValues.bind(this);\n this.submitPower = this.submitPower.bind(this);\n }\n\n componentDidMount() {\n this.prescriptionValues = [];\n }\n\n componentDidUpdate(prevProps) {\n const { powerSubmitted, powerSubmitFail, hideHandler, packageSubmitted, packageSubmittedFail, dataLocale: { SYSTEM_ERROR_PLEASE_TRY_AGAIN } } = this.props;\n if (prevProps.powerSubmitted !== powerSubmitted && powerSubmitted) {\n hideHandler();\n }\n if (prevProps.powerSubmitFail !== powerSubmitFail && powerSubmitFail) {\n (() => { this.setState({ powerSubmitError: powerSubmitFail.message || SYSTEM_ERROR_PLEASE_TRY_AGAIN }); })();\n }\n if (prevProps.packageSubmitted !== packageSubmitted && (packageSubmitted || packageSubmittedFail)) {\n hideHandler();\n }\n }\n\n getUserName() {\n const { order } = this.props;\n const { billingAddress } = order;\n const { firstName = '', lastName = '' } = billingAddress || {};\n return `${firstName} ${lastName}`;\n }\n\n setSameFieldValues(valueObj, checked) {\n if (sameFields.indexOf(valueObj.type) === -1) return;\n const { item } = this.props;\n const [key, type] = valueObj.name.split('-');\n const ctype = type === 'left' ? 'right' : 'left';\n this.form_mutators.onChange(key + '-' + ctype, checked);\n\n if (item.lensType !== 'BIFOCAL') return;\n if (key === 'bottomDistance' && !checked) {\n this.form_mutators.onChange('lensHeight-left', checked);\n this.form_mutators.onChange('lensHeight-right', checked);\n this.form_mutators.onChange('lensWidth-left', checked);\n this.form_mutators.onChange('lensWidth-right', checked);\n } else if ((key === 'lensHeight' || key === 'lensWidth') && checked) {\n this.form_mutators.onChange('bottomDistance-left', checked);\n this.form_mutators.onChange('bottomDistance-right', checked);\n }\n }\n\n addOrRemovePrescription(valueObj, add) {\n const { values } = this.props;\n if (add) {\n values.forEach(presc => {\n if (presc.type === valueObj.type) {\n this.prescriptionValues.push(presc);\n }\n });\n } else {\n this.prescriptionValues = this.prescriptionValues.filter(p => p.type !== valueObj.type);\n }\n }\n\n submitPower(formValues) {\n const updatedBy = sessionStorageHelper.getItem('updatedBy');\n const { item = {}, submitPower, order = {}, values = [], changedPackage = {}, updatePackage, source } = this.props;\n const { prescription: presc, id } = item;\n const prescription = { ...presc, updatedBy, source };\n const { customerEmail } = order;\n const prescriptionValues = values.filter(v => formValues[v.name]);\n if (prescriptionValues && prescriptionValues.length && prescription) {\n prescriptionValues.reduce((memo, presObj) => {\n if (presObj.eyeLR === 'left') {\n if (!memo.left) memo.left = {};\n memo.left[presObj.type] = presObj.value;\n }\n if (presObj.eyeLR === 'right') {\n if (!memo.right) memo.right = {};\n memo.right[presObj.type] = presObj.value;\n }\n return memo;\n }, prescription);\n if (!prescription.userName) prescription.userName = this.getUserName();\n submitPower(id, prescription, customerEmail, order.id);\n }\n if (formValues.package) {\n const powerType = prescription.powerType && prescription.powerType.toLowerCase();\n const lensPackage = {\n productId: item.productId + '',\n powerType,\n packageId: changedPackage.value,\n updatedBy,\n source\n };\n updatePackage(item.id, lensPackage, order.id);\n }\n }\n\n render() {\n const { values, showModal, hideHandler, submitPowerLoader, changedPackage, dataLocale } = this.props;\n const { powerSubmitError } = this.state;\n const { ALL_MODIFIED_POWER_OPTIONS, MODIFIED_VALUE, POWER_OPTION, PACKAGE, CHECK_TO_CONFIRM, SUBMIT, CANCEL, OOPS_YOU_HAVE_NOT_CHANGED_ANYTHING, OK } = dataLocale;\n return (\n \n {values && values.length > 0 || changedPackage ? (\n \n {({ handleSubmit, form, values: formValues }) => {\n this.form_mutators = form.mutators;\n const enableSubmit = formValues && Object.keys(formValues).some(key => formValues[key]);\n return (\n
\n
{ALL_MODIFIED_POWER_OPTIONS}
\n
\n
{POWER_OPTION}
\n
{MODIFIED_VALUE}
\n
{CHECK_TO_CONFIRM}
\n {values.map(valueObj => {\n return (\n
{valueObj.label}
\n
{valueObj.value}
\n
{ this.setSameFieldValues(valueObj, ev.target.checked); }} >
\n
);\n })}\n {changedPackage && \n
{PACKAGE}
\n
{changedPackage.name}
\n
\n
}\n
\n {powerSubmitError &&
{powerSubmitError}
}\n
\n \n \n
\n
\n );\n }}\n \n ) : (
\n
{OOPS_YOU_HAVE_NOT_CHANGED_ANYTHING}
\n
\n \n
\n
)}\n
\n );\n }\n}\n\nfunction mapStateToProps(state) {\n const order = state.order.orderDetails ? state.order.orderDetails.result : undefined;\n return {\n submitPowerLoader: state.success.loading,\n powerSubmitted: state.success.powerSubmitted,\n powerSubmitFail: state.success.powerSubmitFail,\n packageSubmitted: state.success.packageSubmitted,\n packageSubmittedFail: state.success.packageSubmittedFail,\n dataLocale: state.locale,\n order\n };\n}\n\n\nfunction mapDispatchToProps(dispatch) {\n return {\n submitPower: (id, prescription, email, orderId) => dispatch(submitPowers(id, prescription, email, orderId)),\n updatePackage: (id, lensPackage, orderId) => dispatch(updatePackages(id, lensPackage, orderId))\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ConfirmationModal);\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { withRouter, Route } from 'react-router';\nimport { trigger } from 'redial';\nimport NProgress from 'nprogress';\nimport asyncMatchRoutes from 'utils/asyncMatchRoutes';\n\nclass ReduxAsyncConnect extends Component {\n static propTypes = {\n children: PropTypes.node.isRequired,\n history: PropTypes.objectOf(PropTypes.any).isRequired,\n location: PropTypes.objectOf(PropTypes.any).isRequired\n };\n\n state = {\n previousLocation: null\n };\n\n UNSAFE_componentWillMount() {\n NProgress.configure({ trickleSpeed: 200 });\n }\n\n async UNSAFE_componentWillReceiveProps(nextProps) {\n const {\n history, location, routes, store, helpers\n } = this.props;\n const navigated = nextProps.location !== location;\n\n if (navigated) {\n // save the location so we can render the old screen\n NProgress.start();\n this.setState({ previousLocation: location });\n\n // load data while the old screen remains\n const { components, match, params } = await asyncMatchRoutes(routes, nextProps.location.pathname);\n const triggerLocals = {\n ...helpers,\n store,\n match,\n params,\n history,\n location: nextProps.location\n };\n\n await trigger('fetch', components, triggerLocals);\n if (__CLIENT__) {\n await trigger('defer', components, triggerLocals);\n }\n\n // clear previousLocation so the next screen renders\n this.setState({ previousLocation: null });\n NProgress.done();\n }\n }\n\n render() {\n const { children, location } = this.props;\n const { previousLocation } = this.state;\n\n // use a controlled to trick all descendants into\n // rendering the old location\n return children} />;\n }\n}\nexport default withRouter((ReduxAsyncConnect));\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport config from 'config';\nimport * as shortlistActionTypes from '../actionTypes/shortlist';\nimport apiClient from '../helpers/apiClient';\nimport { modifyProductData } from './responseDataManipulator';\n\n\nlet _client = null;\nfunction* getShortlistedProductData({ pIds }) {\n const successAction = { type: shortlistActionTypes.SHORTLIST_PRODUCTS_SUCCESS };\n const errorAction = { type: shortlistActionTypes.SHORTLIST_PRODUCTS_FAIL };\n const client = { ..._client };\n const promisesArray = [];\n const url = (__SERVER__ ? config.apiPath.albDataProduct : config.apiPath.dataProduct);\n try {\n client.setHeader();\n pIds.forEach(id => {\n promisesArray.push(client.get(url + id));\n });\n const response = yield call(async () => Promise.all(promisesArray));\n successAction.data = response;\n response.forEach(product => {\n const prodData = Object.assign({}, product.result, modifyProductData(product.result));\n let general = prodData.specifications.find(obj => obj.name === 'general');\n general = general ? general.items : [];\n let collection = '';\n let fColor = '';\n let fSize = '';\n let sizeD = '';\n general.forEach(obj => {\n if (obj.name === 'Collection') {\n collection = obj.value;\n }\n if (obj.name === 'Frame colour') {\n fColor = obj.value;\n }\n if (obj.name === 'Frame Size') {\n fSize = obj.value;\n }\n if (obj.name === 'Size') {\n sizeD = obj.value;\n }\n });\n product.result = prodData;\n product.result.colorAndCollection = collection + ' ' + fColor;\n product.result.sizeInfo = fSize[0] + ' (' + sizeD + ' mm)';\n product.result.sizeDetails = sizeD;\n });\n yield put(successAction);\n } catch (err) {\n errorAction.data = err;\n yield put(errorAction);\n }\n}\n\nexport function* runShortlistCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(shortlistActionTypes.SHORTLIST_PRODUCTS_LOAD, getShortlistedProductData)\n ]);\n}\n","import { createStore as _createStore, applyMiddleware, compose, combineReducers } from 'redux';\nimport { routerMiddleware } from 'react-router-redux';\nimport scrollRestorationMiddleware from 'redux-router-scroll-restoration';\nimport createReducers from './reducer';\nimport createSagaMiddleware, { END } from 'redux-saga';\nimport { setCountryData } from '../helpers/countryConfig';\n\nfunction combine(reducers) {\n return combineReducers(reducers);\n}\n\nfunction getNoopReducers(reducers, data) {\n if (!data) return {};\n return Object.keys(data).reduce(\n (prev, next) => (reducers[next] ? prev : { ...prev, [next]: (state = {}) => state }),\n {}\n );\n}\n\nexport function inject(store, reducers) {\n Object.entries(reducers).forEach(([name, reducer]) => {\n if (store.asyncReducers[name]) return;\n store.asyncReducers[name] = reducer.__esModule ? reducer.default : reducer;\n });\n store.replaceReducer(combine(createReducers(store.asyncReducers)));\n}\n\nexport default function createStore({\n history, data\n}) {\n const sagaMiddleware = createSagaMiddleware();\n const middleware = [routerMiddleware(history), sagaMiddleware];\n\n if (__CLIENT__ && __DEVELOPMENT__) {\n const logger = require('redux-logger').createLogger({\n collapsed: true\n });\n middleware.push(logger.__esModule ? logger.default : logger);\n }\n\n if (__CLIENT__ && process.env.CLIENT_TYPE === 'mobile') {\n middleware.push(scrollRestorationMiddleware);\n }\n\n const enhancers = [applyMiddleware(...middleware)];\n\n if (__CLIENT__ && __DEVTOOLS__) {\n const { persistState } = require('redux-devtools');\n const DevTools = require('../DevTools/DevTools');\n Array.prototype.push.apply(enhancers, [\n window.devToolsExtension ? window.devToolsExtension() : DevTools.default.instrument(),\n persistState(window.location.href.match(/[?&]debug_session=([^&]+)\\b/))\n ]);\n }\n const finalCreateStore = compose(...enhancers)(_createStore);\n const reducers = createReducers();\n const noopReducers = getNoopReducers(reducers, data);\n const store = finalCreateStore(combine({ ...noopReducers, ...reducers }), data);\n const state = store.getState();\n if (state.common.localeInfo) {\n setCountryData(state.common.localeInfo);\n }\n store.asyncReducers = {};\n store.inject = _reducers => inject(store, _reducers);\n\n store.runSaga = sagaMiddleware.run;\n store.close = () => store.dispatch(END);\n\n if (__DEVELOPMENT__ && module.hot) {\n module.hot.accept('./reducer', () => {\n let reducer = require('./reducer');\n reducer = combine((reducer.__esModule ? reducer.default : reducer)(store.asyncReducers));\n store.replaceReducer(reducer);\n });\n }\n\n return store;\n}\n","export const SHORTLIST_PRODUCTS_LOAD = 'shortlist/SHORTLIST_PRODUCTS_LOAD';\nexport const SHORTLIST_PRODUCTS_SUCCESS = 'shortlist/SHORTLIST_PRODUCTS_SUCCESS';\nexport const SHORTLIST_PRODUCTS_FAIL = 'shortlist/SHORTLIST_PRODUCTS_FAIL';\n","\n// User Campaign User Data\nexport const SAVE_CAMPAIGN_USER_DATA_LOAD = 'offerCampaign/SAVE_CAMPAIGN_USER_DATA_LOAD';\nexport const SAVE_CAMPAIGN_USER_DATA_SUCCESS = 'offerCampaign/SAVE_CAMPAIGN_USER_DATA_SUCCESS';\nexport const SAVE_CAMPAIGN_USER_DATA_FAIL = 'offerCampaign/SAVE_CAMPAIGN_USER_DATA_FAIL';\nexport const RESET_CAMPAIGN_USER_DATA = 'offerCampaign/RESET_CAMPAIGN_USER_DATA';\n\n// Check User Exists or not\nexport const CHECK_USER_EXISTS_LOAD = 'offerCampaign/CHECK_USER_EXISTS_LOAD';\nexport const CHECK_USER_EXISTS_SUCCESS = 'offerCampaign/CHECK_USER_EXISTS_SUCCESS';\nexport const CHECK_USER_EXISTS_FAIL = 'offerCampaign/CHECK_USER_EXISTS_FAIL';\nexport const CHANGE_USER_EXISTS_VALUE = 'offerCampaign/CHANGE_USER_EXISTS_VALUE';\n\n// Check First Deal User Exists or not\nexport const FIRST_DEAL_USER_EXISTS_LOAD = 'offerCampaign/FIRST_DEAL_USER_EXISTS_LOAD';\nexport const FIRST_DEAL_USER_EXISTS_SUCCESS = 'offerCampaign/FIRST_DEAL_USER_EXISTS_SUCCESS';\nexport const FIRST_DEAL_USER_EXISTS_FAIL = 'offerCampaign/FIRST_DEAL_USER_EXISTS_FAIL';\n","import * as actionTypes from '../actionTypes/cart';\n\nexport function getCart(reorderId, applyWallet = null, isCartUpdating = null, emailId = null, isExchange) {\n return { type: actionTypes.GET_CART_DATA_LOAD, reorderId, applyWallet, isCartUpdating, emailId, isExchange };\n}\n\nexport function updateCartItem(itemid, count, flag) {\n return { type: actionTypes.UPDATE_CART_LOAD, itemid, count, flag };\n}\n\nexport function updateCart(itemid, params) {\n return { type: actionTypes.UPDATE_CART, itemid, params };\n}\n\nexport function applyCode(url, reqType) {\n return { type: actionTypes.DISCOUNT_CODE_LOAD, url, reqType };\n}\n\nexport function addToCart(data, allPackage) {\n if (allPackage === 'all') data.allPackages = true;\n return { type: actionTypes.ADD_TO_CART_LOAD, data };\n}\n\nexport function frameOnlyProduct(args) {\n return { type: actionTypes.FRAME_ONLY_PRODUCT, ...args };\n}\n\nexport function resetCart() {\n return { type: actionTypes.RESET_CART };\n}\n\nexport function deleteCart() {\n return { type: actionTypes.DELETE_CART_LOAD };\n}\n\nexport function logoutUser() {\n return { type: actionTypes.LOGOUT_USER };\n}\n\nexport function updateNetAmount(amount) {\n return { type: actionTypes.GET_CART_NET_AMOUNT, amount };\n}\n\nexport function countryShippingCheck(country) {\n return { type: actionTypes.SHIPPING_CHECK_LOAD, country };\n}\n\n// Bin Series\nexport function applyOffer(data) {\n return { type: actionTypes.APPLY_OFFER, data };\n}\n\nexport function removeOffer(offerId) {\n return { type: actionTypes.REMOVE_OFFER, offerId };\n}\n\n// update power prescription\nexport function updatePower(itemId, prescription) {\n return { type: actionTypes.UPDATE_POWER_LOAD, itemId, prescription };\n}\n\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst ReviewsLoadable = Loadable({\n loader: () => import('./Reviews.js' /* webpackChunkName: 'reviews' */).then(module => module.default),\n loading: () => \n});\n\nexport default ReviewsLoadable;\n","import * as actionTypes from './../../actionTypes/myAccount';\n\nconst initialState = {\n ordersList: null,\n persistOrder: null,\n loading: false,\n userInfoUpdated: false,\n passwordReset: false,\n voucherResult: null,\n storeCreditBalance: null,\n editNeft: null,\n storeCreditOrders: null,\n storeCreditOrderHistory: null,\n storeCreditOrderSMS: null,\n returnConfig: null,\n orderStatuses: null,\n storeCreditOrdersTotal: null,\n codConfirm: null,\n};\n\nexport default function ditto(prevState = initialState, action) {\n const orderId = action.orderId;\n switch (action.type) {\n case actionTypes.NEW_ORDER_CHECK:\n return Object.assign({}, prevState, {\n // newOrderSet: true,\n ordersList: null,\n persistOrder: null\n });\n case actionTypes.ORDER_LIST_LOAD:\n return Object.assign({}, prevState, {\n ordersList: null,\n loading: true,\n });\n case actionTypes.ORDER_LIST_SUCCESS:\n return Object.assign({}, prevState, {\n ordersList: action.data.result,\n persistOrder: prevState.persistOrder && !action.shouldReset ? [].concat([], prevState.persistOrder, action.data.result.orders) : action.data.result.orders,\n totalOrders: action.data.result.totalOrder,\n loading: false\n });\n case actionTypes.ORDER_LIST_FAIL:\n return Object.assign({}, prevState, {\n ordersList: action.error,\n persistOrder: action.error,\n loading: false,\n });\n case actionTypes.UPDATE_USER_INFO_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n userInfoUpdated: false\n });\n case actionTypes.UPDATE_USER_INFO_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n userInfoUpdated: true\n });\n case actionTypes.UPDATE_USER_INFO_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n userInfoUpdated: action.error\n });\n case actionTypes.RESET_PASSWORD_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n passwordReset: false\n });\n case actionTypes.RESET_PASSWORD_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n passwordReset: true\n });\n case actionTypes.RESET_PASSWORD_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n passwordReset: action.error\n });\n case actionTypes.CHECK_VOUCHER_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n voucherResult: null\n });\n case actionTypes.CHECK_VOUCHER_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n voucherResult: action.data\n });\n case actionTypes.CHECK_VOUCHER_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n voucherResult: action.error\n });\n case actionTypes.STORE_CREDIT_BAL_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n storeCreditBalance: null\n });\n case actionTypes.STORE_CREDIT_BAL_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditBalance: action.data\n });\n case actionTypes.STORE_CREDIT_BAL_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditBalance: action.error\n });\n case actionTypes.STORE_CREDIT_ORDERS_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n storeCreditOrders: null\n });\n case actionTypes.STORE_CREDIT_ORDERS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrders: action.data,\n storeCreditOrdersTotal: action.data.result.numOfOrders\n });\n case actionTypes.STORE_CREDIT_ORDERS_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrders: action.error,\n storeCreditOrdersTotal: null\n });\n case actionTypes.STORE_CREDIT_ORDER_HISTORY_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n storeCreditOrderHistory: null\n });\n case actionTypes.STORE_CREDIT_ORDER_HISTORY_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrderHistory: action.data\n });\n case actionTypes.STORE_CREDIT_ORDER_HISTORY_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrderHistory: action.error\n });\n case actionTypes.STORE_CREDIT_ORDER_SMS_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n storeCreditOrderSMS: null\n });\n case actionTypes.STORE_CREDIT_ORDER_SMS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrderSMS: action.data\n });\n case actionTypes.STORE_CREDIT_ORDER_SMS_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n storeCreditOrderSMS: action.error\n });\n case actionTypes.EDIT_NEFT_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n editNeft: null\n });\n case actionTypes.EDIT_NEFT_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n editNeft: action.data\n });\n case actionTypes.EDIT_NEFT_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n editNeft: action.error\n });\n case actionTypes.CLEAR_STATE:\n return Object.assign({}, prevState, {\n ...action.values\n });\n case actionTypes.RETURN_ORDER_CONFIG_LOAD:\n return Object.assign({}, prevState, {\n returnConfig: null,\n loading: true\n });\n case actionTypes.RETURN_ORDER_CONFIG_SUCCESS:\n return Object.assign({}, prevState, {\n returnConfig: action.data,\n loading: false\n });\n case actionTypes.RETURN_ORDER_CONFIG_FAIL:\n return Object.assign({}, prevState, {\n returnConfig: action.error,\n loading: false\n });\n case actionTypes.COD_CONFIRMATION_LOAD:\n return Object.assign({}, prevState, {\n codConfirm: Object.assign({}, prevState.codConfirm, {\n [orderId]: {\n loading: true\n }\n })\n });\n case actionTypes.COD_CONFIRMATION_SUCCESS:\n delete prevState.codConfirm[orderId].loading;\n return Object.assign({}, prevState, {\n codConfirm: Object.assign({}, prevState.codConfirm, {\n [orderId]: action.data\n })\n });\n case actionTypes.COD_CONFIRMATION_FAIL:\n delete prevState.codConfirm[orderId].loading;\n return Object.assign({}, prevState, {\n codConfirmLoad: false,\n codConfirm: Object.assign({}, prevState.codConfirm, {\n [orderId]: action.error\n })\n });\n case actionTypes.CLEAR_COD_CONFIRM_STATE:\n delete prevState.codConfirm[orderId];\n return Object.assign({}, prevState, {\n codConfirm: prevState.codConfirm\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst InstaGalleryLoadable = Loadable({\n loader: () => import('desktop/components/YotpoWidgets/InstaGallery.js' /* webpackChunkName: 'yotpoInstaGallery' */).then(module => module.default),\n loading: () => \n});\n\nexport default InstaGalleryLoadable;\n","import { Field } from 'react-final-form';\nimport React from 'react';\n\nfunction getLenskartPrice(prices) {\n const lenskartPrice = prices.filter(p => p.name === 'Lenskart Price');\n return (₹{lenskartPrice ? lenskartPrice[0].price : null});\n}\n\nconst PackageGroup = ({ dataLocale, name, currentPackage, packages, callback }) => (\n \n
{dataLocale.CURRENT_PACKAGE}: {currentPackage}
\n {packages.map(p => (\n
\n \n
\n ))}\n
\n);\n\nexport default PackageGroup;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport './Submenu.scss';\nimport { setDataAttr } from '../../../../utils/helper';\n\nfunction subMenuList(submenu, updateNavValueDtm, subMenuData, section, subSection, categoryMenu, parentKey) {\n return submenu.map(data => {\n return Object.keys(data).map((key, index) => {\n const dataAttr = data[key].gaObj && Object.keys(data[key].gaObj).length > 0 ? setDataAttr(data[key].gaObj) : null;\n if (data[key].image) {\n const image = data[key].image;\n return (\n
\n {data[key].url && data[key].url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(section, subSection, categoryMenu, parentKey)}>\n {image.imgAlt}\n
{key}
:\n updateNavValueDtm(section, subSection, submenu, categoryMenu, parentKey)}>\n {image.imgAlt}\n
{key}
}\n
\n );\n }\n return (\n
\n {\n data[key].url && data[key].url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(section, subSection, categoryMenu, key)}>{key} :\n updateNavValueDtm(section, subSection, categoryMenu, key)}>{key}\n }\n
\n );\n });\n });\n}\n\n\nconst SubMenu = props => {\n const { submenu, updateNavValueDtm, subMenuData, section, subSection, categoryName, parentKey } = props;\n const fetchSubMenu = submenu.map(data => {\n return Object.keys(data).map((key, index) => {\n const dataAttr = data[key].gaObj && Object.keys(data[key].gaObj).length > 0 ? setDataAttr(data[key].gaObj) : null;\n return (\n
\n {\n data[key].url && data[key].url.indexOf('lenskart.com') === -1 ?\n {key} :\n {key}\n }\n
\n {subMenuList(data[key].submenu, updateNavValueDtm, subMenuData, section, subSection, categoryName, parentKey)}\n
\n
\n );\n });\n });\n\n return (\n
\n {fetchSubMenu}\n
\n );\n};\n\nexport default SubMenu;\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport LKModal from '../Modal/Modal';\nimport './PowerUpdate.scss';\n\nclass PowerUpdate extends PureComponent {\n static propTypes = {\n hitPowerAPI: PropTypes.func,\n getPowerUpdate: PropTypes.func\n }\n\n constructor(props) {\n super(props);\n this.phoneNo = React.createRef();\n this.state = {\n invalidPhoneNumber: false,\n shouldShowError: false\n };\n this.validatePhoneNumber = this.validatePhoneNumber.bind(this);\n }\n\n validatePhoneNumber = () => {\n const phoneVal = this.phoneNo.current.value;\n const regexPhone = /^[0]?[789]\\d{9}$/;\n if (regexPhone.test(phoneVal)) {\n this.props.hitPowerAPI(phoneVal);\n } else {\n this.setState({ invalidPhoneNumber: true });\n }\n this.setState({ shouldShowError: true });\n }\n\n render() {\n const { showModal, hideHandler, enterPowerRespMsg, dataLocale } = this.props;\n let localConfig = {\n backdrop: true,\n keyboard: true\n };\n localConfig = Object.assign({}, localConfig);\n const { SUBMIT_PRESCRIPTION_FOR_EXISTING_ORDER, ENTER_PHONE_NUMBER, SUBMIT, PLEASE_ENTER_VALID_PHONE_NUMBER } = dataLocale;\n return (\n hideHandler()} showModal={showModal} headerTitle={ENTER_PHONE_NUMBER}>\n
\n
\n {SUBMIT_PRESCRIPTION_FOR_EXISTING_ORDER}\n
\n \n
\n
\n {\n this.setState({\n invalidPhoneNumber: false\n });\n this.validatePhoneNumber();\n }}\n >{SUBMIT}\n
\n {this.state.shouldShowError && this.state.invalidPhoneNumber &&
{PLEASE_ENTER_VALID_PHONE_NUMBER}
}\n {this.state.shouldShowError && enterPowerRespMsg && !this.state.invalidPhoneNumber &&
}\n
\n
\n
\n );\n }\n}\n\nexport default PowerUpdate;\n\n\n\n\n\n","export const CHECK_PHONE_NUMBER_EXPIRED = 'CHECK_PHONE_NUMBER_EXPIRED';\nexport const CLOSE_PHONE_NUMBER_CAPTURE = 'CLOSE_PHONE_NUMBER_CAPTURE';\n\nexport const PHONE_NUMBER_CAPTURE_SUBMIT = 'PHONE_NUMBER_CAPTURE_SUBMIT';\nexport const PHONE_NUMBER_CAPTURE_SUCCESS = 'PHONE_NUMBER_CAPTURE_SUCCESS';\nexport const PHONE_NUMBER_CAPTURE_FAILED = 'PHONE_NUMBER_CAPTURE_FAILED';\n\nexport const ONLY_PHONE_CAPTURE_SUBMIT = 'ONLY_PHONE_CAPTURE_SUBMIT';\nexport const ONLY_PHONE_CAPTURE_SUCCESS = 'ONLY_PHONE_CAPTURE_SUCCESS';\nexport const ONLY_PHONE_CAPTURE_FAILED = 'ONLY_PHONE_CAPTURE_FAILED';\n\n","import * as actionTypes from './../../actionTypes/footer';\n\nconst initialState = {\n loaded: false,\n loading: false,\n enterPowerRespMsg: null\n};\nexport default function footer(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.ENTER_POWER_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false\n });\n case actionTypes.ENTER_POWER_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n enterPowerRespMsg: action.data\n });\n case actionTypes.ENTER_POWER_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n loaded: true,\n enterPowerRespMsg: 'System error occurred. Please try after some time...'\n });\n default: return prevState;\n }\n}\n","import { call, put, all, takeLatest } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/categoryCarousel';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\nfunction* getResource(resource, successAction, errorAction) {\n const client = {..._client};\n client.setHeader();\n try {\n const data = yield call(async () => client.get(resource));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCategoryCarouselData(data) {\n yield call(getResource, config.apiPath.categoryCarouselUrl + data.categoryId, { type: actionTypes.SUCCESS_CATEGORYCAROUSEL_DATA }, { type: actionTypes.FAILURE_CATEGORYCAROUSEL_DATA });\n}\n\nexport function* runCategoryCarouselCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.LOAD_CATEGORYCAROUSEL_DATA, getCategoryCarouselData)\n ]);\n}\n","import React, { useState, useEffect } from 'react';\nimport { connect } from 'react-redux';\nimport PowerGrid from './PowerGrid';\nimport PowerStatusMessage from './PowerStatusMessage';\n\nfunction PowerDetails(props) {\n const { view, redisCommonData, prescription, prescription: { imageFileName, left, right }, showPowerDetailsFn, showUploadPrescModal, dataLocale, fromOrderDetails } = props;\n const [powerState, setPowerState] = useState({});\n useEffect(() => {\n let section = 'CONTACT_FOR_POWER';\n let icon;\n let message;\n if (left && Object.keys(left).length > 0 && (Object.keys(left).some(itm => itm !== 'boxes' && left[itm] !== '' && left[itm] !== null && !isNaN(left[itm])))) {\n section = 'POWER_GRID';\n } else if (right && Object.keys(right).length > 0 && (Object.keys(right).some(itm => itm !== 'boxes' && right[itm] !== '' && right[itm] !== null && !isNaN(right[itm])))) {\n section = 'POWER_GRID';\n } else if (imageFileName) {\n section = 'POWER_UPLOAD';\n } else if (left && Object.keys(left).length > 0 && ('ap' in left) && (left.ap !== 'Call Me/Email Me for Power')) {\n section = 'POWER_GRID';\n } else if (right && Object.keys(right).length > 0 && ('ap' in right) && (right.ap !== 'Call Me/Email Me for Power')) {\n section = 'POWER_GRID';\n }\n if (typeof showPowerDetailsFn === 'function') showPowerDetailsFn(section);\n if (['POWER_UPLOAD', 'CONTACT_FOR_POWER'].includes(section)) {\n const powerStatusMessage = redisCommonData?.POWER_STATUS_MESSAGE && JSON.parse(redisCommonData.POWER_STATUS_MESSAGE);\n if (section === 'POWER_UPLOAD') {\n icon = powerStatusMessage?.powerUploadText.icon || 'https://static.lenskart.com/media/mobile/universal/assets/power-upload.svg';\n message = powerStatusMessage?.powerUploadText.message || dataLocale?.PRESCRIPTION_UPLOADED_WILL_ASSIST_YOU;\n } else {\n icon = powerStatusMessage?.dontKnowPowerText.icon || 'https://static.lenskart.com/media/mobile/universal/assets/dont-know-power.svg';\n message = powerStatusMessage?.dontKnowPowerText.message || dataLocale?.DONT_KNOW_PRESCRIPTION_WILL_ASSIST_YOU;\n }\n }\n setPowerState({ section, icon, message });\n }, []);\n\n const { section, icon, message } = powerState;\n if (!section) {\n return null;\n }\n return (\n \n {{\n POWER_GRID: ,\n POWER_UPLOAD: ,\n CONTACT_FOR_POWER: \n }[section]}\n \n );\n}\n\nfunction mapStateToProps(state) {\n return {\n redisCommonData: state.common.redisCommonData\n };\n}\n\nexport default connect(mapStateToProps, null)(PowerDetails);\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/cart';\nimport { UPDATE_CART_COUNT } from '../actionTypes/common';\nimport apiClient from '../helpers/apiClient';\nimport getSetCookie from '../cookie';\nimport sessionStorageHelper from '../utils/sessionStorageHelper';\n\nimport config from 'config';\n\nlet _client = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\nfunction addDiscounts(data) {\n if (data.result && data.result.totals && data.result.totals.discounts && data.result.totals.discounts.length) {\n data.result.totals.discounts.forEach(discount => {\n if (discount.type === 'gv') {\n data.gvAmt = discount.amount;\n }\n if (discount.type === 'implicit') {\n data.implicitAmt = discount.amount;\n }\n if (discount.type === 'sc') {\n data.scAmt = data.scAmt ? data.scAmt + discount.amount : discount.amount;\n }\n if (discount.type === 'lenskart') {\n data.gvAmt = discount.amount + data.gvAmt;\n }\n });\n }\n}\n\nfunction* addToCart({ data }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n const client = Object.assign({}, _client);\n client.defaults.headers = {};\n try {\n let isExchange = false;\n if (__SERVER__) {\n const getCookies = client.getServerRequestHeader().cookies;\n if (getCookies.exchangeMethod) {\n isExchange = getCookies.exchangeMethod;\n }\n }\n if (__CLIENT__) {\n const isExchangeSessionValid = sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction;\n if (getSetCookie.getCookie('exchangeMethod') && isExchangeSessionValid) {\n isExchange = getSetCookie.getCookie('exchangeMethod');\n } else {\n isExchange = false;\n }\n }\n const response = yield call(async () => client.customPost(config.apiPath.cartApi, data, 'X-Session-Token', xApiClient, null, isExchange));\n response.isAddToCartCalled = true;\n successAction.data = response;\n yield put(successAction);\n yield put({ type: UPDATE_CART_COUNT, data: response.result.itemsCount });\n } catch (er) {\n errorAction.error = er;\n errorAction.error.isAddToCartCalled = true;\n yield put(errorAction);\n }\n}\n\nfunction* getCartData({ reorderId, applyWallet, emailId, isExchange }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n let responseData = {};\n const client = { ..._client };\n const header = isExchange ? { 'X-Service-Type': 'exchange' } : null;\n client.setHeader(header);\n try {\n if (reorderId) {\n if (emailId) {\n responseData = yield call(async () => client.post(config.apiPath.reOrderCartApi, { emailId, orderId: reorderId }));\n } else {\n responseData = yield call(async () => client.post(config.apiPath.reOrderCartApi + reorderId));\n }\n } else {\n let url = config.apiPath.cartApi;\n if (applyWallet !== null) {\n url += `?applyWallet=${applyWallet}`;\n }\n responseData = yield call(async () => client.get(url));\n }\n if (applyWallet !== null) {\n responseData.result.walletApplied = applyWallet;\n }\n addDiscounts(responseData);\n successAction.data = responseData;\n yield put(successAction);\n yield put({ type: UPDATE_CART_COUNT, data: responseData.result.itemsCount });\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* updateCartItem({ itemid, count, flag }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n let data = {};\n if (flag === 'increase') {\n data = yield call(async () => client.put(`${config.apiPath.updateCartItem}${itemid}?count=${count}`));\n } else if (flag === 'decrease') {\n data = yield call(async () => client.delete(`${config.apiPath.updateCartItem}${itemid}?count=${count}`));\n } else {\n data = yield call(async () => client.delete(config.apiPath.updateCartItem + itemid));\n }\n addDiscounts(data);\n data.isUpdateCartCalled = true;\n successAction.data = data;\n yield put(successAction);\n yield put({ type: UPDATE_CART_COUNT, data: data.result.itemsCount });\n } catch (er) {\n errorAction.error = er;\n errorAction.error.isUpdateCartCalled = true;\n yield put(errorAction);\n }\n}\n\nfunction* updateCart({ itemid, params }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.updateCartItem + itemid, params));\n addDiscounts(data);\n data.isUpdateCartCalled = true;\n successAction.data = data;\n yield put(successAction);\n yield put({ type: UPDATE_CART_COUNT, data: data.result.itemsCount });\n } catch (er) {\n errorAction.error = er;\n errorAction.error.isUpdateCartCalled = true;\n yield put(errorAction);\n }\n}\n\nfunction* applyCode({ url, reqType }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client[reqType](url));\n data.result.walletApplied = false;\n if (url.indexOf('?applyWallet') !== -1) {\n data.result.walletApplied = url.split('?applyWallet=')[1] === 'true';\n }\n addDiscounts(data);\n if (url.indexOf('giftVoucher') > -1) {\n data.isGvApplied = true;\n data.isScApplied = false;\n } else {\n data.isGvApplied = false;\n data.isScApplied = true;\n }\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n if (url.indexOf('giftVoucher') > -1) {\n errorAction.error.isGvApplied = true;\n errorAction.error.isScApplied = false;\n } else {\n errorAction.error.isGvApplied = false;\n errorAction.error.isScApplied = true;\n }\n yield put(errorAction);\n }\n}\n\nfunction* countryShippingCheck({ country }) {\n const successAction = { type: actionTypes.SHIPPING_CHECK_SUCCESS };\n const errorAction = { type: actionTypes.SHIPPING_CHECK_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.post(`${config.apiPath.cartApi}/shippingCheck`, { country }));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\n// Cart update Bin Series\nfunction* applyOffer({ data }) {\n const successAction = { type: actionTypes.APPLY_OFFER_SUCCESS };\n const errorAction = { type: actionTypes.APPLY_OFFER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.post(`${config.apiPath.applyOffer}`, data)); // client.post(`${config.apiPath.applyOfferMock}`, data));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* removeOffer({ offerId }) {\n const successAction = { type: actionTypes.REMOVE_OFFER_SUCCESS };\n const errorAction = { type: actionTypes.REMOVE_OFFER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.delete(`${config.apiPath.removeOffer}${offerId}`)); // client.get(`${config.apiPath.deleteCardsOffer}`, { offerId }));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\nfunction* deleteCart() {\n const client = { ..._client };\n client.setHeader();\n try {\n yield call(async () => client.delete(`${config.apiPath.cartApi}`));\n } catch (error) {\n console.log('clear cart', error);\n }\n}\n\nfunction* updatePower({ itemId, prescription }) {\n const successAction = { type: actionTypes.UPDATE_POWER_SUCCESS };\n const errorAction = { type: actionTypes.UPDATE_POWER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.updateCartItem + itemId, prescription));\n successAction.result = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nexport function* runCartCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.GET_CART_DATA_LOAD, getCartData),\n takeLatest(actionTypes.UPDATE_CART_LOAD, updateCartItem),\n takeLatest(actionTypes.UPDATE_CART, updateCart),\n takeLatest(actionTypes.DISCOUNT_CODE_LOAD, applyCode),\n takeLatest(actionTypes.ADD_TO_CART_LOAD, addToCart),\n takeLatest(actionTypes.SHIPPING_CHECK_LOAD, countryShippingCheck),\n takeLatest(actionTypes.APPLY_OFFER, applyOffer),\n takeLatest(actionTypes.REMOVE_OFFER, removeOffer),\n takeLatest(actionTypes.DELETE_CART_LOAD, deleteCart),\n takeLatest(actionTypes.UPDATE_POWER_LOAD, updatePower)\n ]);\n}\n","export const REGISTER_LOAD = 'auth/REGISTER_LOAD';\nexport const REGISTER_SUCCESS = 'auth/REGISTER_SUCCESS';\nexport const REGISTER_FAIL = 'auth/REGISTER_FAIL';\n\nexport const LOGIN_LOAD = 'auth/LOGIN_LOAD';\nexport const LOGIN_SUCCESS = 'auth/LOGIN_SUCCESS';\nexport const LOGIN_FAIL = 'auth/LOGIN_FAIL';\n\nexport const USER_INPUT_LOAD = 'auth/USER_INPUT_LOAD';\nexport const USER_INPUT_SUCCESS = 'auth/USER_INPUT_SUCCESS';\nexport const USER_INPUT_FAIL = 'auth/USER_INPUT_FAIL';\n\nexport const USER_OTP_LOAD = 'auth/USER_OTP_LOAD';\nexport const USER_OTP_SUCCESS = 'auth/USER_OTP_SUCCESS';\nexport const USER_OTP_FAIL = 'auth/USER_OTP_FAIL';\n\nexport const FORGET_PASSWORD_LOAD = 'auth/FORGET_PASSWORD_LOAD';\nexport const FORGET_PASSWORD_SUCCESS = 'auth/FORGET_PASSWORD_SUCCESS';\nexport const FORGET_PASSWORD_FAIL = 'auth/FORGET_PASSWORD_FAIL';\n\nexport const SOCIAL_LOAD = 'auth/SOCIAL_LOAD';\nexport const SOCIAL_SUCCESS = 'auth/SOCIAL_SUCCESS';\nexport const SOCIAL_FAIL = 'auth/SOCIAL_FAIL';\n\nexport const RESET_MOBILE_LOGIN_STATE = 'auth/RESET_MOBILE_LOGIN_STATE';\n\nexport const RESET_AUTH_STATE = 'auth/RESET_AUTH_STATE';\nexport const LOGOUT_USER = 'auth/LOGOUT_USER';\n\nexport const SET_PREVIOUS_URL = 'auth/SET_PREVIOUS_URL';\n\nexport const FETCH_EMAILS_LOAD = 'auth/FETCH_EMAILS_LOAD';\nexport const FETCH_EMAILS_SUCCESS = 'auth/FETCH_EMAILS_SUCCESS';\nexport const FETCH_EMAILS_FAIL = 'auth/FETCH_EMAILS_FAIL';\n\nexport const LINK_EMAIL_LOAD = 'auth/LINK_EMAIL_LOAD';\nexport const LINK_EMAIL_SUCCESS = 'auth/LINK_EMAIL_SUCCESS';\nexport const LINK_EMAIL_FAIL = 'auth/LINK_EMAIL_FAIL';\n\nexport const MERGE_MOBILE_EMAIL_LOAD = 'auth/MERGE_MOBILE_EMAIL_LOAD';\nexport const MERGE_MOBILE_EMAIL_SUCCESS = 'auth/MERGE_MOBILE_EMAIL_SUCCESS';\nexport const MERGE_MOBILE_EMAIL_FAIL = 'auth/MERGE_MOBILE_EMAIL_FAIL';\n","let countryData = null;\n\nexport const setCountryData = data => {\n if (!countryData) {\n countryData = data;\n }\n return countryData;\n};\n\n","import * as actionTypes from '../../actionTypes/locale';\n\nconst initialState = {};\n\nexport default function localeConfigs(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.LOAD_LOCALE_CONFIG:\n return Object.assign({}, prevState, {});\n case actionTypes.LOAD_LOCALE_CONFIG_SUCCESS:\n return Object.assign({}, prevState, { ...action.data });\n case actionTypes.LOAD_LOCALE_CONFIG_FAIL:\n return Object.assign({}, prevState, {});\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport CategoryMenu from './CategoryMenu';\nimport './GenderMenu.scss';\nimport SubMenu from './SubMenu';\n\n\n// todo set dtm value parent and key\nconst onGenderHover = context => {\n context.stopPropagation();\n const siblingContext = context.currentTarget.parentNode.childNodes;\n for (let i = 0; i < siblingContext.length; i += 1) {\n siblingContext[i].classList.remove('active');\n }\n context.currentTarget.classList.add('active');\n};\nconst GenderMenu = props => {\n const { genderMenuData, updateNavValueDtm, parentKey, menuData, section, dataLocale } = props;\n const { SELECT_GENDER } = dataLocale;\n return (
\n {\n genderMenuData.url && genderMenuData.url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(menuData, parentKey)}>\n {SELECT_GENDER}\n :\n updateNavValueDtm(menuData, parentKey)} href={genderMenuData.url}>\n {SELECT_GENDER}\n \n }\n {\n genderMenuData.submenu && genderMenuData.submenu.map((genderMenu, index) => {\n return (
\n {\n Object.keys(genderMenu).map((key, count) => {\n return (\n
onGenderHover(ev)} onFocus={ev => onGenderHover(ev)}>\n
\n {key}\n
{key}
\n \n
\n\n {genderMenu[key].category &&
\n \n
}\n {!genderMenu[key].category && genderMenu[key].submenu &&
\n \n
}\n
);\n })\n }\n
);\n })\n }\n
);\n};\n\nexport default GenderMenu;\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport * as commonCallsActionCreators from '../../../actionCreators/common';\nimport CommonLoader from './Loader';\nimport './Shortlist.scss';\n\nclass Shortlist extends PureComponent {\n\n static propTypes = {\n shortListData: PropTypes.object,\n wishlistTrue: PropTypes.bool,\n checkId: PropTypes.func,\n login: PropTypes.bool,\n shortListBool: PropTypes.bool,\n wishListDeleteSuccess: PropTypes.bool,\n wishListAddSuccess: PropTypes.bool,\n isWishlistCount: PropTypes.number\n };\n\n constructor(props) {\n super(props);\n this.toggleMe = this.toggleMe.bind(this);\n this.deleteWishListAll = this.deleteWishListAll.bind(this, '');\n this.deleteWishList = this.deleteWishList.bind(this);\n this.isActionDeleteAll = false;\n }\n\n componentDidUpdate(prevProps) {\n const { commonCallsAction, wishListDeleteSuccess, wishListAddSuccess, saveWishlist } = this.props;\n if (prevProps.wishListDeleteSuccess !== wishListDeleteSuccess) {\n if (wishListDeleteSuccess && this.props.isWishlistCount) {\n commonCallsAction.shortlist('', 'get', '?attributes=true');\n return;\n }\n commonCallsAction.shortListType(false);\n if (this.isActionDeleteAll) {\n this.props.checkId();\n this.isActionDeleteAll = false;\n }\n } else if (prevProps.wishListAddSuccess !== wishListAddSuccess) {\n if (wishListAddSuccess && saveWishlist) {\n commonCallsAction.shortlist('', 'get', '?attributes=true');\n return;\n }\n commonCallsAction.showWishlist(true);\n commonCallsAction.shortListType(false);\n }\n }\n\n deleteWishListAll(id) {\n const { commonCallsAction } = this.props;\n commonCallsAction.shortListType(true);\n /* omniture start */\n const pid = [];\n if (this.props.shortListData.result.numberOfProducts > 0) {\n if (this.props.shortListData.result.productList) {\n this.props.shortListData.result.productList.forEach(data => {\n pid.push(data.id);\n });\n }\n }\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.Listing.click.clearList(this.props.login, pid.toString());\n /* omniture end */\n this.isActionDeleteAll = true;\n commonCallsAction.shortlist('', 'delete', `/${id}`);\n }\n\n deleteWishList(value) {\n const { commonCallsAction } = this.props;\n commonCallsAction.shortListType(true);\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.Listing.click.removeProdcutShortlist(this.props.login, value);\n this.isActionDeleteAll = false;\n commonCallsAction.shortlist(value, 'delete', `/${value}`);\n }\n\n toggleMe() {\n const { commonCallsAction } = this.props;\n if (this.props.wishlistTrue === false) {\n commonCallsAction.showWishlist(true);\n } else {\n commonCallsAction.showWishlist(false);\n }\n }\n\n render() {\n const { dataLocale, userInfo, currencyMark } = this.props;\n const { PRODUCTS, YOU_HAVE_NOT_SELECTED_ANY_PRODUCT, PLEASE_ADD_PRODUCTS_OF_YOUR_CHOICE, CLEAR_LIST, CURRENCY_CODE } = dataLocale;\n const currencyCode = userInfo && userInfo.loyaltyOrder ? userInfo.loyaltyOrder.currencyCode : CURRENCY_CODE;\n const currencySymbol = currencyMark[currencyCode];\n let shortlistNumberofProduct = 0;\n if (!this.props.wishlistTrue) {\n return false;\n }\n if (this.props.shortListData) {\n shortlistNumberofProduct = this.props.shortListData.result.numberOfProducts;\n }\n return (\n
\n {this.props.shortListData && this.props.shortListData.result.productList.length === 0 ?\n
\n \n
\n

{YOU_HAVE_NOT_SELECTED_ANY_PRODUCT}

{PLEASE_ADD_PRODUCTS_OF_YOUR_CHOICE}

\n
\n
:\n
\n {this.props.shortListBool && }\n \n
\n {this.props.shortListData && this.props.shortListData.result.productList && this.props.shortListData.result.productList.map((value, index) => {\n const url = new URL(value.productUrl);\n return (\n \n );\n })}\n
\n \n
}\n
\n );\n }\n}\n\nconst mapStateToProps = state => ({\n wishListDeleteSuccess: state.common.wishListDeleteSuccess,\n isWishlistCount: state.common.isWishlistCount,\n shortListBool: state.common.shortListBool,\n saveWishlist: state.common.saveWishlist,\n wishListAddSuccess: state.common.wishListAddSuccess,\n login: state.common.login,\n dataLocale: state.locale,\n currencyMark: state.common.currencyMark\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n commonCallsAction: bindActionCreators(commonCallsActionCreators, dispatch),\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Shortlist);\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/newMSiteOfflineSalesFlow';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\nfunction* pushToCampaignOfflineSales({ data }) {\n const url = config.apiPath.campaignData + '/camp_MSiteStoreStaffSalesData';\n const client = { ..._client };\n client.setHeader();\n try {\n yield call(async () => client.post(url, { collectionData: [data] }));\n } catch (err) {\n console.log(err);\n }\n}\n\nfunction* pushToPosOfflineSales({ data }) {\n const url = config.apiPath.posSeamlessLink;\n try {\n yield call(async () => _client.post(url, data, { headers: { 'Content-Type': 'application/json', 'X-Lenskart-App-Id': 'connect', 'X-Lenskart-API-Key': 'valyoo123' } }));\n } catch (err) {\n console.log(err);\n }\n}\n\nfunction* verifySalesman({ id }) {\n const successAction = { type: actionTypes.SALESMAN_ID_VERIFY_SUCCESS };\n const errorAction = { type: actionTypes.SALESMAN_ID_VERIFY_FAIL };\n const url = config.apiPath.getSalesmanDetails;\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${url}/${id}`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runNewMSiteOfflineSalesFlowCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.PUSH_TO_CAMPAIGN_OFFLINE_SALES, pushToCampaignOfflineSales),\n takeLatest(actionTypes.PUSH_TO_POS_OFFLINE_SALES, pushToPosOfflineSales),\n takeLatest(actionTypes.SALESMAN_ID_VERIFY, verifySalesman)\n ]);\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst RetryPaymentLoadable = Loadable({\n loader: () => import('desktop/containers/RetryPayment/RetryPayment.js' /* webpackChunkName: 'retryPayment' */).then(module => module.default),\n loading: () => \n});\n\nexport default RetryPaymentLoadable;\n","export const SET_DTM_USERINFO = 'SET_DTM_USERINFO';\nexport const RESET_DTM_USERINFO = 'RESET_DTM_USERINFO';\nexport const GET_LP_DATE = 'GET_LP_DATE';\nexport const SET_LP_DATE = 'SET_LP_DATE';\nexport const SET_PLATFORM = 'SET_PLATFORM'; // used to differentiate msite from app webview\n","import * as actionTypes from './../../actionTypes/frameSize';\n\nexport default function frameSize(prevState = {}, action) {\n switch (action.type) {\n case actionTypes.GET_FRAME_SIZE:\n return Object.assign({}, prevState, { loading: true });\n case actionTypes.GET_FRAME_SIZE_SUCCESS:\n return Object.assign({}, prevState, { loading: false, frameSizeData: action.data, frameSizeError: null });\n case actionTypes.GET_FRAME_SIZE_FAIL:\n return Object.assign({}, prevState, { loading: false, frameSizeData: null, frameSizeError: action.error });\n case actionTypes.STORE_FRAME_SIZE:\n return Object.assign({}, prevState, { storeFrameSizeData: null, storeFrameSizeError: null });\n case actionTypes.STORE_FRAME_SIZE_SUCCESS:\n return Object.assign({}, prevState, { storeFrameSizeData: action.data, storeFrameSizeError: null });\n case actionTypes.STORE_FRAME_SIZE_FAIL:\n return Object.assign({}, prevState, { storeFrameSizeData: null, storeFrameSizeError: action.error });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport './Logo.scss';\nimport BlankWidget from '../../components/CategoryListing/Widgets/BlankWidgets';\nconst MainHeaderLogo = props => {\n const { appLogo, dataLocale: { LENSKART } } = props;\n return (\n \n {\n appLogo ?\n
\n \n {LENSKART}\n \n
:\n
\n \n
\n }\n
\n\n );\n};\n\nexport default MainHeaderLogo;\n","import * as actionTypes from './../../actionTypes/categoryCarousel';\n\nconst initialState = {\n loaded: false,\n loading: false,\n categoryCarouselData: []\n};\n\nexport default function categoryCarousel(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.LOAD_CATEGORYCAROUSEL_DATA:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n });\n case actionTypes.SUCCESS_CATEGORYCAROUSEL_DATA:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n categoryCarouselData: action.data.result\n });\n case actionTypes.FAILURE_CATEGORYCAROUSEL_DATA:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n categoryCarouselData: []\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/cmsMapping';\n\nconst initialState = {\n cmsData: null,\n jsonData: null,\n loaded: false,\n isCollectionData: false,\n loading: false,\n};\n\nexport default function CmsMapping(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.CMS_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n });\n case actionTypes.CMS_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n isCollectionData: action.isCollectionData,\n cmsData: action.data\n });\n case actionTypes.CMS_DATA_FAIL:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n cmsData: action.error,\n isCollectionData: false\n });\n case actionTypes.CLEAR_CMS_DATA:\n return Object.assign({}, prevState, {\n cmsData: null\n });\n default:\n return prevState;\n }\n}\n","import React, { useEffect, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport getSetCookie from '../../cookie';\nimport CheckoutHeader from '../../desktop/components/Checkout/CheckoutHeader/CheckoutHeader';\nimport Loader from '../Loader/Loader';\nimport './JusPayment.scss';\n\nconst JusPayment = React.memo(props => {\n const { paymentData } = useSelector(x => x.checkout);\n const { localeInfo } = useSelector(state => state.common);\n const [loadingJusScript, setLoadingJusScript] = useState(true);\n const getPayment = () => {\n if (paymentData?.result?.payment?.actionInfo?.requestParams) {\n const { payload, requestId, service } = paymentData.result.payment.actionInfo.requestParams;\n const parsePayload = JSON.parse(payload);\n const { language, orderId, clientId, merchantKeyId, orderDetails, signature, amount, customerId, customerEmail, customerMobile, environment, merchantId, action } = parsePayload;\n const processPayload = {\n requestId,\n service,\n payload: {\n action,\n merchantId,\n clientId,\n orderId,\n amount,\n customerId,\n customerEmail,\n customerMobile,\n orderDetails,\n signature,\n merchantKeyId,\n language,\n environment\n }\n };\n window.hyperServicesObject.process(processPayload);\n setLoadingJusScript(false);\n } else if (getSetCookie.getCookie('orderId')) {\n props.history.push('/checkout/onepage/retrypayment');\n } else {\n props.history.push('/');\n }\n };\n\n useEffect(() => {\n getPayment();\n }, []);\n\n\n return (\n
\n {loadingJusScript && }\n \n
\n
\n );\n});\n\nexport default JusPayment;\n","import React from 'react';\n\nconst DownloadApp = props => {\n const { dataLocale: { DOWNLOAD_LENSKART_APP_BUY, DOWNLOADAPP_PRODUCTTYPE, CONTACT_LENS, SUNGLASSES, EYEGLASSES } } = props;\n let productType = DOWNLOADAPP_PRODUCTTYPE;\n if (props.location.pathname.indexOf('sunglass') !== -1) productType = SUNGLASSES;\n else if (props.location.pathname.indexOf('eyeglass') !== -1) productType = EYEGLASSES;\n else if (props.location.pathname.indexOf('contact') !== -1 || props.location.pathname.indexOf('lens') !== -1) productType = CONTACT_LENS;\n return (\n
\n
\n {DOWNLOAD_LENSKART_APP_BUY} {`${productType}.`}\n
\n
\n );\n};\n\nexport default DownloadApp;\n","import { routerReducer } from 'react-router-redux';\nimport common from './reducers/common';\nimport header from './reducers/header';\nimport footer from './reducers/footer';\nimport category from './reducers/category';\nimport product from './reducers/product';\nimport cart from './reducers/cart';\nimport auth from './reducers/auth';\nimport cmsMapping from './reducers/cmsMapping';\nimport categoryCarousel from './reducers/categoryCarousel';\nimport order from './reducers/order';\nimport collectionPage from './reducers/collectionPage';\nimport DataLayer from './reducers/DataLayer';\nimport DTM from './reducers/DTM';\nimport campaign from './reducers/campaign';\nimport myAccount from './reducers/myAccount';\nimport savedCards from './reducers/savedCards';\nimport neft from './reducers/neft';\nimport productCarousel from './reducers/productCarousel';\nimport yotpo from './reducers/yotpo';\nimport home from './reducers/home';\nimport gupshupWhatsapp from './reducers/gupshupWhatsapp';\nimport checkout from './reducers/checkout';\nimport returnExchange from './reducers/returnExchange';\nimport frameSize from './reducers/frameSize';\nimport address from './reducers/address';\nimport store from './reducers/store';\nimport hto from './reducers/hto';\nimport newMSiteOfflineSalesFlow from './reducers/newMSiteOfflineSalesFlow';\nimport locale from './reducers/locale';\nimport success from './reducers/success';\nimport shortlist from './reducers/shortlist';\nimport ditto from './reducers/ditto';\nimport dittoShare from './reducers/dittoShare';\nimport editPower from './reducers/editPower';\nimport qrCode from './reducers/qrCode';\nimport phoneNumberCapture from './reducers/phoneNumberCapture';\nimport review from './reducers/review';\nimport offerCampaign from './reducers/offerCampaign';\n\n\nexport default function createReducers(asyncReducers) {\n const returnObj = {\n router: routerReducer,\n common,\n header,\n cart,\n cmsMapping,\n category,\n product,\n auth,\n categoryCarousel,\n footer,\n campaign,\n order,\n collectionPage,\n DataLayer,\n DTM,\n myAccount,\n savedCards,\n neft,\n productCarousel,\n yotpo,\n gupshupWhatsapp,\n home,\n checkout,\n returnExchange,\n frameSize,\n address,\n store,\n hto,\n newMSiteOfflineSalesFlow,\n success,\n locale,\n shortlist,\n ditto,\n dittoShare,\n editPower,\n qrCode,\n phoneNumberCapture,\n review,\n offerCampaign,\n ...asyncReducers\n };\n return returnObj;\n}\n","import React, { useState, useCallback, useEffect, useRef } from 'react';\nimport PowerDetails from '../../../../CommonComponents/PowerDetails/PowerDetails';\nimport './CartItem.scss';\n\nconst cartCondition = data => {\n return data.classification === 'services' || data.classification === 'loyalty_services' || data.classification === 'contact_lens' || data.classification === 'contact_lens_solution';\n};\n\nconst CartItem = props => {\n const { currencyMark, data, decrementItem, incrementItem, deleteCartItem, index, dataLocale } = props;\n const currencyCode = data && data.amount ? data.amount.currencyCode : dataLocale.CURRENCY_CODE;\n const currencySymbol = currencyMark[currencyCode];\n const smlImgPattern = /(thumbnail\\/628x301\\/)/gm;\n const smlProductImg = 'thumbnail/100x100/';\n const [showPowers, setShowVisible] = useState(false);\n const powerDetailsRef = useRef(null);\n const updatePowerState = useCallback(() => { setShowVisible(!showPowers); });\n useEffect(() => {\n let timeout;\n if (showPowers) {\n timeout = setTimeout(() => {\n powerDetailsRef.current.scrollIntoView({ block: 'end', behavior: 'smooth' });\n }, 0);\n }\n return () => {\n if (timeout) clearTimeout(timeout);\n };\n }, [showPowers]);\n const { QUANTITY, PRODUCT_PRICE, FRAME_PRICE, LENS_PACKAGE, ADD_ON, SUBTOTAL, VIEW_POWERS, SELLING_FAST_FEW_PIECES_LEFT, ONLY_ONE_QUANTITY_LEFT } = dataLocale;\n const url = new URL(data.productUrl);\n return (\n
\n { deleteCartItem(data.id, data.productId); }} data-testid=\"crossBtn\" className=\"cart-item_remove-icon\">\n
\n
{data.name.substring(0, 39)}...
\n \n \n {\n data.thumbnail ? {data.name} : {data.name}\n }\n \n \n
\n {QUANTITY}\n \n {cartCondition(data) ? '' : { decrementItem(data.id, data.productId); }}>}\n \n {cartCondition(data) ? '' : { incrementItem(data.id); }}>}\n \n
\n
\n
\n
\n {data.classification !== 'eyeframe' ?
{PRODUCT_PRICE}
:
{FRAME_PRICE}
}\n \n {\n data.catalogPrices[0].value > data.catalogPrices[1].value\n && (\n \n \n {currencySymbol}{data.catalogPrices[0].value * data.quantity}\n \n
\n {currencySymbol}{data.catalogPrices[1].value * data.quantity}\n
\n )\n }\n {\n data.catalogPrices[0].value === data.catalogPrices[1].value && typeof data.catalogPrices[2] !== 'undefined'\n && (\n {currencySymbol}{data.catalogPrices[1].value * data.quantity}\n )\n }\n {\n data.catalogPrices[0].value === data.catalogPrices[1].value && typeof data.catalogPrices[2] === 'undefined'\n && (\n \n {currencySymbol}{data.catalogPrices[1].value * data.quantity}\n \n )\n }\n
\n
\n {data.classification !== undefined && data.classification === 'contact_lens' && data.prescription\n && (\n
\n
{VIEW_POWERS}
\n
\n )\n }\n {\n data.options.length > 0 && (\n
\n
+
\n
\n
\n {LENS_PACKAGE}\n {' '}\n
\n \n {\n data.options.map((optData, index) => {\n return (\n \n {(optData.type === 'COATING' && index === 1) ? (\n \n \n \n ) : null}\n \n \n {optData.catalogPrices[0].value !== optData.catalogPrices[1].value && (\n \n )}\n \n \n \n );\n })\n }\n
\n {ADD_ON}\n
\n {optData.type === 'COATING' ? `-${optData.name}` : optData.name}\n \n \n {' '}\n {currencySymbol}{optData.catalogPrices[0].value}\n \n {' '}\n {currencySymbol}{optData.catalogPrices[1].value}\n
\n
\n
\n )\n }\n
\n
\n
=
\n
\n
\n
{SUBTOTAL}
\n
\n {currencySymbol}{data.price.value * data.quantity}\n
\n
\n
\n {data.classification !== 'loyalty_services' &&
\n {SELLING_FAST_FEW_PIECES_LEFT}\n
}\n
\n {\n data.availableQuantity === 1\n && (\n
\n \n \n {ONLY_ONE_QUANTITY_LEFT}\n \n
\n )\n }\n {showPowers && data.prescriptionView &&
}\n
\n );\n};\n\n\nexport default CartItem;\n","import './loader.scss';\nimport React from 'react';\n\nexport default function Loader({ fullpage }) {\n return (\n \n {fullpage &&
}\n
\n
\n
\n
\n
\n
\n
\n );\n}\n","import * as actionTypes from './../../actionTypes/offerCampaign';\nimport { LOGOUT_USER } from './../../actionTypes/common';\n\nconst initialState = {\n localeInfo: null,\n saveUserDataLoading: null,\n isUserExists: null,\n loading: false,\n isFirstDealUser: null\n };\n\n\nexport default function offerCampaign(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.CHECK_USER_EXISTS_LOAD:\n return Object.assign({}, prevState, {\n isUserExists: null,\n loading: true\n });\n case actionTypes.CHECK_USER_EXISTS_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n isUserExists: action.data\n });\n case actionTypes.CHECK_USER_EXISTS_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n isUserExists: false\n });\n case actionTypes.CHANGE_USER_EXISTS_VALUE:\n return Object.assign({}, prevState, {\n isUserExists: false\n });\n case actionTypes.FIRST_DEAL_USER_EXISTS_LOAD:\n return Object.assign({}, prevState, {\n isFirstDealUser: null\n });\n case actionTypes.FIRST_DEAL_USER_EXISTS_SUCCESS:\n return Object.assign({}, prevState, {\n isFirstDealUser: action.data\n });\n case actionTypes.FIRST_DEAL_USER_EXISTS_FAIL:\n return Object.assign({}, prevState, {\n isFirstDealUser: null\n });\n case LOGOUT_USER:\n return Object.assign({}, prevState, {\n isFirstDealUser: false,\n });\n case actionTypes.SAVE_CAMPAIGN_USER_DATA_LOAD:\n return Object.assign({}, prevState, {\n campaignUserData: null,\n saveUserDataLoading: true\n });\n case actionTypes.SAVE_CAMPAIGN_USER_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n campaignUserData: action.data,\n saveUserDataLoading: false\n });\n case actionTypes.SAVE_CAMPAIGN_USER_DATA_FAIL:\n return Object.assign({}, prevState, {\n campaignUserData: action.error,\n saveUserDataLoading: false\n });\n case actionTypes.RESET_CAMPAIGN_USER_DATA:\n return Object.assign({}, prevState, {\n campaignUserData: null\n });\n default:\n return prevState;\n }\n}\n\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport CommonLoader from '../../Common/Loader';\nimport CartFooter from './CartFooter';\nimport CartItem from './CartItem';\n// import { hasFrameOnlyProduct } from '../../../../utils/helper';\nimport BannerAndStaticHTML from '../../Banner/BannerAndStaticHTML';\nimport Customevent from '../../../../utils/Customevent';\nimport './Cart.scss';\nimport './CartItems.scss';\n\nclass CartItems extends PureComponent {\n\n static propTypes = {\n isCartLoader: PropTypes.any,\n section: PropTypes.string,\n isAlreadyLoyal: PropTypes.bool,\n cartObj: PropTypes.object,\n dtmStateLoad: PropTypes.func,\n redisCommonData: PropTypes.object,\n checkoutLoaderFunc: PropTypes.func,\n checkoutLoader: PropTypes.bool,\n cartActions: PropTypes.object,\n isframeProduct: PropTypes.bool\n };\n\n constructor(props, context) {\n super(props, context);\n this.state = {\n expandLoyalty: false\n };\n if (this.props.redisCommonData) {\n const checkout = this.props.redisCommonData.CONFIG_CTA_DESKTOP ? JSON.parse(this.props.redisCommonData.CONFIG_CTA_DESKTOP) : '';\n this.checkoutCTA = checkout.CHECKOUT;\n }\n }\n\n componentDidMount() {\n const { cartObj, redisCommonData, isAlreadyLoyal } = this.props;\n const pageInfo = `${document.location.pathname}${document.location.search} |time: Date()`;\n const loyaltyConfig = redisCommonData && redisCommonData.LOYALTY_CONFIG && JSON.parse(redisCommonData.LOYALTY_CONFIG);\n _gaq.push(['_trackEvent', 'A2C Popup', 'Render Main Cart', `page: ${pageInfo}`]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'Render Main Cart', `page: ${pageInfo}`]);\n // Removing GV in checkout step 3 componentwillunmount\n // cartObj.totals.discounts.forEach(data => {\n // if (data.type === 'gv') {\n // cartActions.applyCode(config.apiPath.applyGV + data.code, 'delete');\n // }\n // });\n /* Remove This ASAP */\n const isLoyaltyBrand = loyaltyConfig && loyaltyConfig.brandsAllowed || 'Vincent Chase,John Jacobs';\n let isLoyaltyProductAdded = false;\n let isLoyaltySunglass = false;\n if (cartObj && cartObj.items.length) {\n cartObj.items.forEach(item => {\n if (item.classification === 'loyalty_services') {\n isLoyaltyProductAdded = true;\n }\n if ('sunglasses'.indexOf(item.classification) > -1 && isLoyaltyBrand.indexOf(item.brandName) > -1) {\n isLoyaltySunglass = true;\n }\n });\n }\n\n const event = new Customevent('cartPopupOpened', { detail: { isAlreadyLoyal, isLoyaltyProductAdded, loyaltyPid: loyaltyConfig && loyaltyConfig.goldPid || '128269', isLoyaltySunglass } });\n event.dispatch();\n // const isframeProduct = hasFrameOnlyProduct(cartObj.items);\n // cartActions.frameOnlyProduct({ isframeProduct });\n }\n\n cartCondition = data => {\n return data.classification === 'services' || data.classification === 'loyalty_services' || data.classification === 'contact_lens' || data.classification === 'contact_lens_solution';\n }\n\n deleteCartItem = data => {\n const { cartActions, dtmStateLoad, section } = this.props;\n cartActions.updateCartItem(data.id, 0, 'delete');\n let pageName = '';\n if (section === 'prod') {\n pageName = 'Product';\n } else {\n pageName = 'Category';\n }\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.slideCart.click.removeItemProduct(data, pageName);\n }\n sessionStorage.setItem('cartItem', 'delete');\n sessionStorage.setItem('dtmOnLoadData', 'cartSummary');\n dtmStateLoad(false);\n }\n\n decrementItem = data => {\n const { cartActions, dtmStateLoad, section } = this.props;\n cartActions.updateCartItem(data.id, 1, 'decrease');\n sessionStorage.setItem('cartItem', 'decrease');\n sessionStorage.setItem('dtmOnLoadData', 'cartSummary');\n dtmStateLoad(false);\n let pageName = '';\n if (section === 'prod') {\n pageName = 'Product';\n } else {\n pageName = 'Category';\n }\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.slideCart.click.removeItemProduct(data, pageName);\n }\n }\n\n incrementItem = data => {\n const { cartActions, dtmStateLoad } = this.props;\n const { price } = data;\n cartActions.updateCartItem(data.id, 1, 'increase');\n sessionStorage.setItem('cartItem', 'increase');\n dtmStateLoad(true);\n window.ReactPixel.default.track('AddToCart', {\n content_type: 'product',\n content_ids: data?.productId,\n value: price?.value,\n content_name: data?.classification,\n currency: price?.currencyCode\n });\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.slideCart.click.incrementItemProduct(data);\n }\n }\n\n bogoOffer = () => {\n let pageNameValue = '';\n if (this.props.section === 'prod') {\n pageNameValue = 'Product';\n } else {\n pageNameValue = 'Category';\n }\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.slideCart.click.bogoOffer(pageNameValue);\n }\n }\n\n fnExpandLoyalty = () => {\n this.setState({\n expandLoyalty: true\n });\n document.getElementsByClassName('cart-popup_slide')[0].style.top = '0px';\n document.getElementsByClassName('cart-popup_slide')[0].style.marginTop = '0px';\n }\n\n fnMimimizeLoyalty = addOrSkip => {\n const { redisCommonData } = this.props;\n const loyaltyConfig = redisCommonData && redisCommonData.LOYALTY_CONFIG && JSON.parse(redisCommonData.LOYALTY_CONFIG);\n if (addOrSkip === 'add-membership') {\n const obj = {};\n obj.productId = loyaltyConfig && loyaltyConfig.goldPid || '128269';\n this.props.cartActions.addToCart(obj);\n this.props.hideHandler();\n }\n this.setState({\n expandLoyalty: false\n });\n document.getElementsByClassName('cart-popup_slide')[0].style.top = '';\n document.getElementsByClassName('cart-popup_slide')[0].style.marginTop = '';\n }\n\n isProductBogoEligible = cartItem => {\n const { brandName, classification, sku } = cartItem;\n const itemConfig = this.props.cartBogoConfig ? this.props.cartBogoConfig[`${brandName}_${classification}`] : null;\n if (itemConfig) {\n const { minPrice, maxPrice, packageSku, excludedPrice } = itemConfig;\n const itemPrice = cartItem.price.value;\n const regex = new RegExp(packageSku.join('|'));\n if (excludedPrice.includes(itemPrice) || itemPrice < minPrice || itemPrice > maxPrice || !regex.test(sku)) {\n return 0;\n }\n this.bogoEligibleProductBrand = brandName;\n this.bogoEligibleProductClassification = classification;\n return cartItem.quantity;\n }\n return 0;\n };\n\n render() {\n const { redisCommonData, cartObj, isAlreadyLoyal, isframeProduct, cartCampaign, dataLocale, currencyMark } = this.props;\n const currencyCode = cartObj && cartObj.currencyCode ? cartObj.currencyCode : dataLocale.CURRENCY_CODE;\n const currencySymbol = currencyMark[currencyCode];\n const { ADD_NOW, OFFERS, LOYALTY, ORDER_TOTAL, NET_AMOUNT, TAX_COLLECTED, PART_TAX_COLLECTED, CONVENIENCE_FEES, FREE, EXTRA_DISCOUNT, SUBTOTAL, ADD_TO_CART: loyaltyAddToCartText, SKIP: loyaltySkipBtnText, GOLD_TNC_HTML: loyaltyTCHtml, GOLD_CART_HOVER_HTML: loyaltyHoverHtml } = dataLocale || {};\n const loyaltyConfig = redisCommonData && redisCommonData.LOYALTY_CONFIG && JSON.parse(redisCommonData.LOYALTY_CONFIG);\n const cartItemsLength = cartObj.items.length;\n let isLoyaltyProductAdded = false;\n const {\n classificationsAllowed: isLoyaltyClsfn = 'eyeframe',\n brandsAllowed: isLoyaltyBrand = 'Vincent Chase,John Jacobs',\n goldSliderBanner: loyaltyImg = 'https://static.lenskart.com/images/cust_mailer/8-Mar-18/banner_10.png',\n goldCartKnowMoreImg: loyaltyKnowMoreImg = 'https://static.lenskart.com/images/cust_mailer/6-Mar-18/1c.gif'\n } = loyaltyConfig || {};\n let isProductLoyaltyEnabled = false;\n let hasBogoBenefits = isAlreadyLoyal;\n let bogoEligibleCount = 0;\n return (
\n
\n {\n cartObj.items.map((data, key) => {\n if (!isLoyaltyProductAdded && data.classification === 'loyalty_services') {\n isLoyaltyProductAdded = true;\n hasBogoBenefits = true;\n }\n if (isLoyaltyClsfn.indexOf(data.classification) > -1 && isLoyaltyBrand.indexOf(data.brandName) > -1) {\n if (!isProductLoyaltyEnabled) {\n isProductLoyaltyEnabled = true;\n }\n bogoEligibleCount += this.isProductBogoEligible(data);\n }\n return (\n
\n {this.props.isCartLoader && }\n { this.decrementItem(data); }} incrementItem={() => { this.incrementItem(data); }} deleteCartItem={() => { this.deleteCartItem(data); }} />\n
\n );\n })\n }\n
\n {!hasBogoBenefits && bogoEligibleCount > 1 && cartCampaign && cartCampaign.goldBanner && }\n
\n \n \n \n \n {cartObj.totals.totalDiscount > 0 && (\n \n )}\n {cartObj.totals.totalDiscount > 0 && (\n \n )}\n {cartObj.totals.totalDiscount > 0 && (\n \n )}\n {cartObj.totals.totalDiscount === 0 && (\n \n )}\n \n {cartObj.totals.totalTax > 0 && (\n \n )}\n {cartObj.totals.totalTax > 0 && (\n \n )}\n \n \n \n \n \n
\n
\n {SUBTOTAL}\n
\n
\n {currencySymbol}{cartObj.totals.subTotal}\n
\n
\n
\n \n \n
\n {EXTRA_DISCOUNT}\n {cartObj.discountDescription && (\n \n \n \n {cartObj.discountDescription}\n \n \n \n \n )}\n
\n
\n \n {currencySymbol}{cartObj.totals.totalDiscount}\n \n
\n
\n
\n =\n
\n
\n \n =\n \n \n
\n {NET_AMOUNT}\n
\n
\n \n {currencySymbol}{(cartObj.totals.subTotal - cartObj.totals.totalDiscount).toString().indexOf('.') !== -1 ? (cartObj.totals.subTotal - cartObj.totals.totalDiscount).toFixed(2) : (cartObj.totals.subTotal - cartObj.totals.totalDiscount)}\n \n
\n
\n \n \n
\n {TAX_COLLECTED}.\n \n \n \n {PART_TAX_COLLECTED}\n \n \n \n \n
\n
\n {currencySymbol}{cartObj.totals.totalTax}\n
\n
\n \n \n
\n {CONVENIENCE_FEES}\n
\n
\n {cartObj.totals.shipping > 0 ? (\n \n {currencySymbol}{cartObj.totals.shipping}\n \n ) : (\n \n {FREE}\n \n )}\n
\n
\n
\n {cartObj.offer && Object.keys(cartObj.offer).length > 0\n && (\n
\n \n {!isAlreadyLoyal && !isLoyaltyProductAdded && cartItemsLength === 1 && isProductLoyaltyEnabled\n ? (\n
\n {LOYALTY}\n
\n )\n : ''\n }\n
\n
{ this.fnMimimizeLoyalty('skip-membership'); }}>
\n
\n {LOYALTY}\n
\n
\n \n
{ this.fnMimimizeLoyalty('skip-membership'); }}>\n {loyaltySkipBtnText}\n
\n
\n
\n
\n
\n )\n }\n
\n
\n \n {ORDER_TOTAL} :\n \n {currencySymbol}{cartObj.totals.total}\n \n
\n
\n { this.props.checkoutLoaderFunc(true); _gaq.push(['_trackEvent', 'Place Order', 'Cod'], ['ninja._trackEvent', 'Place Order', 'Cod']); }} />\n
\n
\n {cartCampaign && cartCampaign.activeCartCampaigns && cartCampaign.activeCartCampaigns.belowCTA &&\n \n }\n
\n );\n }\n}\n\nCartItems.defaultProps = {\n redisCommonData: {},\n cartObj: {}\n};\n\nexport default CartItems;\n","import * as actionTypes from './../../actionTypes/neft';\n\nconst initialState = {\n loading: false,\n editNeft: null\n};\n\nexport default function neft(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.EDIT_NEFT_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n editNeft: null\n });\n case actionTypes.EDIT_NEFT_SUCCESS:\n return Object.assign({}, prevState, {\n loading: false,\n editNeft: action.data\n });\n case actionTypes.EDIT_NEFT_FAIL:\n return Object.assign({}, prevState, {\n loading: false,\n editNeft: action.error\n });\n default:\n return prevState;\n }\n}\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { provideHooks } from 'redial';\nimport { Redirect } from 'react-router-dom';\nimport * as categoryAction from './../actionCreators/category';\nimport * as productAction from './../actionCreators/product';\nimport { getQueryParam, removeDomainName } from './../utils/helper';\nimport Spinner from './../CommonComponents/Spinner/Spinner';\nlet NotFound;\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nNotFound = require('./../mobile/components/NotFound/NotFound').default;\n'#endif'; // eslint-disable-line\n'#if CLIENT_TYPE === \"desktop\"'; // eslint-disable-line\nNotFound = require('./../desktop/containers/NotFound/Loadable').default;\n'#endif'; // eslint-disable-line\n\n@provideHooks({\n fetch: ({ location, store: { dispatch } }) => {\n const path = location.pathname;\n const query = location.search.substr(1);\n const pId = getQueryParam(query, 'pId');\n let productID = null;\n let catID = null;\n let getID = null;\n if (pId) {\n productID = pId;\n } else if (path.indexOf('view/id') !== -1) {\n getID = path.match(/([^]*)\\/view\\/id\\/(\\d*)/);\n if (path.indexOf('/product') !== -1) {\n productID = getID[2];\n } else {\n catID = getID[2];\n }\n } else if (path.indexOf('/product') !== -1) {\n productID = path.replace(/\\D/g, '');\n } else {\n catID = path.replace(/\\D/g, '');\n }\n if (catID) {\n dispatch(categoryAction.getCategoryData(catID));\n }\n if (productID) {\n dispatch(productAction.getProductData(productID));\n }\n }\n})\n\nclass RedisMapping extends Component {\n static propTypes = {\n categoryData: PropTypes.object,\n productData: PropTypes.object\n }\n\n constructor(props) {\n super(props);\n this.state = {\n showSpinner: true\n };\n }\n\n componentDidMount() {\n setTimeout(() => {\n this.setState({ showSpinner: false });\n }, 5000);\n }\n\n render() {\n const { categoryData, productData, history, dataLocale } = this.props;\n const { showSpinner } = this.state;\n if (categoryData && categoryData.result && categoryData.result.urlPath) {\n return ();\n }\n if (productData && productData.result && productData.result.url) {\n return ();\n }\n return (\n showSpinner\n ? \n : \n );\n }\n}\n\nconst mapStateToProps = state => ({\n categoryData: state.category.categoryData,\n productData: state.product.productData,\n dataLocale: state.locale\n});\n\nfunction mapDispatchToProps() {\n return {};\n}\n\nRedisMapping.defaultProps = {\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RedisMapping);\n","export const getCartBogoConfig = state => state.campaign.cartBogoConfig;\nexport const getQueryParams = state => state.campaign.query;\nexport const getDataCampaign = state => state.campaign.dataCampaign;\n","import * as actionTypes from './../../actionTypes/qrCode';\n\nconst initialState = {\n loading: false,\n qrScan: null,\n qrData: null\n};\n\nexport default function qrCode(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.GET_QR_SCAN_STATUS_LOAD:\n return Object.assign({}, prevState, { qrScan: null });\n case actionTypes.GET_QR_SCAN_STATUS_SUCCESS:\n return Object.assign({}, prevState, { qrScan: action.data });\n case actionTypes.GET_QR_SCAN_STATUS_FAIL:\n return Object.assign({}, prevState, { qrScan: action.error });\n case actionTypes.GET_QR_CODE_LOAD:\n return Object.assign({}, prevState, { loading: true, qrData: null });\n case actionTypes.GET_QR_CODE_SUCCESS:\n return Object.assign({}, prevState, { loading: false, qrData: action.data });\n case actionTypes.GET_QR_CODE_FAIL:\n return Object.assign({}, prevState, { loading: false, qrData: action.error });\n default:\n return prevState;\n }\n}\n","export const GET_PRODUCT_REVIEW_LIST_LOAD = 'GET_PRODUCT_REVIEW_LIST_LOAD';\nexport const GET_PRODUCT_REVIEW_LIST_SUCCESS = 'GET_PRODUCT_REVIEW_LIST_SUCCESS';\nexport const GET_PRODUCT_REVIEW_LIST_FAIL = 'GET_PRODUCT_REVIEW_LIST_FAIL';\nexport const GET_PRODUCT_REVIEW_LIST_RESET = 'GET_PRODUCT_REVIEW_LIST_RESET';\n\nexport const POST_REVIEW_LOAD = 'POST_REVIEW_LOAD';\nexport const POST_REVIEW_SUCCESS = 'POST_REVIEW_SUCCESS';\nexport const POST_REVIEW_FAIL = 'POST_REVIEW_FAIL';\nexport const POST_REVIEW_RESET = 'POST_REVIEW_RESET';\n","import * as actionTypes from './../../actionTypes/phoneNumberCapture';\nimport localStorageHelper from '../../utils/localStorageHelper';\n\nconst initialState = {\n hasCookieExpired: null,\n numberSubmitting: false,\n numberSubmitted: null,\n numberSubmitError: null,\n phoneCapturing: false,\n phoneCaptured: null\n};\n\nexport default function reducer(prevState = initialState, action) {\n let hasCookieExpired;\n let numberSubmitted;\n let exp;\n switch (action.type) {\n case actionTypes.CHECK_PHONE_NUMBER_EXPIRED:\n const today = new Date();\n const storageExpiry = localStorageHelper.getItem('new-mobile-captured-expiry');\n // const numberGiven = localStorageHelper.getItem('new-mobile-captured');\n hasCookieExpired = false;\n // numberSubmitted = false;\n if (!storageExpiry) {\n hasCookieExpired = true;\n } else if (Number(storageExpiry) < today.getTime()) {\n localStorageHelper.removeItem('new-mobile-captured-expiry');\n hasCookieExpired = true;\n }\n // if (!hasCookieExpired && numberGiven) {\n // numberSubmitted = true;\n // }\n return { ...prevState, hasCookieExpired };\n case actionTypes.CLOSE_PHONE_NUMBER_CAPTURE:\n exp = new Date((new Date()).getTime() + Number(action.expiry)).getTime();\n localStorageHelper.setItem('new-mobile-captured-expiry', JSON.stringify(exp));\n hasCookieExpired = false;\n return { ...prevState, hasCookieExpired };\n case actionTypes.PHONE_NUMBER_CAPTURE_SUBMIT:\n window.sessionStorage.setItem('userPh', action.data.phNo);\n return { ...prevState, numberSubmitting: true, numberSubmitError: null };\n case actionTypes.PHONE_NUMBER_CAPTURE_SUCCESS:\n exp = new Date((new Date()).getTime() + Number(action.expiry)).getTime();\n localStorageHelper.setItem('new-mobile-captured-expiry', JSON.stringify(exp));\n localStorageHelper.setItem('new-mobile-captured', action.phNo);\n hasCookieExpired = false;\n numberSubmitted = true;\n return { ...prevState, hasCookieExpired, numberSubmitted, numberSubmitting: false };\n case actionTypes.PHONE_NUMBER_CAPTURE_FAILED:\n return { ...prevState, numberSubmitting: false, numberSubmitError: action.error };\n case actionTypes.ONLY_PHONE_CAPTURE_SUBMIT:\n return Object.assign({}, prevState, {\n phoneCapturing: true,\n phoneCaptured: null,\n });\n case actionTypes.ONLY_PHONE_CAPTURE_SUCCESS:\n return Object.assign({}, prevState, {\n phoneCaptured: action.data,\n phoneCapturing: false,\n });\n case actionTypes.ONLY_PHONE_CAPTURE_FAILED:\n return Object.assign({}, prevState, {\n phoneCapturing: false,\n phoneCaptured: action.error\n });\n default:\n return prevState;\n }\n}\n","const getSetCookie = {\n getCookie: cname => {\n const name = `${cname}=`;\n if (typeof window !== 'undefined') {\n const decodedCookie = decodeURIComponent(document.cookie);\n const cookieSplit = decodedCookie.split(';');\n for (let index = 0; index < cookieSplit.length; index += 1) {\n let cookie = cookieSplit[index];\n while (cookie.charAt(0) === ' ') {\n cookie = cookie.substring(1);\n }\n if (cookie.indexOf(name) === 0) {\n return cookie.substring(name.length, cookie.length);\n }\n }\n }\n return '';\n },\n setCookie: (cname, cvalue, days, minutes) => {\n const date = new Date();\n date.setTime(date.getTime() + (days ? days * 24 * 60 : 1 + minutes) * 60 * 1000);\n const expires = `expires=${date.toUTCString()}`;\n let domain = 'domain=';\n if (typeof window !== 'undefined') {\n if (window.location.hostname.indexOf('lenskart.com') > -1) {\n domain += '.lenskart.com';\n } else {\n domain += window.location.hostname;\n }\n document.cookie = `${cname}=${cvalue};${expires};${domain};path=/`;\n }\n },\n deleteCookie: cname => {\n let domain = 'domain=';\n if (window.location.hostname.indexOf('lenskart.com') > -1) {\n domain += '.lenskart.com';\n } else {\n domain += window.location.hostname;\n }\n document.cookie = `${cname}=;expires=${new Date(new Date().getTime()).toUTCString()};${domain};path=/`;\n },\n setCookieWithDomain: (cName, value, extime) => {\n const dt = new Date();\n dt.setTime(dt.getTime() + extime);\n let domain = 'domain=';\n if (window.location.hostname.indexOf('lenskart.com') > -1) {\n domain += '.lenskart.com';\n } else {\n domain += window.location.hostname;\n }\n const cValue = `${escape(value) + ((extime === null) ? '' : `;${domain};expires=${dt.toGMTString()}`)}; path=/`;\n document.cookie = `${cName}=${cValue}`;\n },\n setCookieWithOptions: (cName, value, options) => {\n let domain = 'domain=';\n if (window.location.hostname.indexOf('lenskart.com') > -1) {\n domain += '.lenskart.com';\n } else {\n domain += window.location.hostname;\n }\n const cValue = `${escape(value)};${domain};expires=${options.expires};path=${options.path};secure=${options.secure};`;\n document.cookie = `${cName}=${cValue}`;\n }\n};\nexport default getSetCookie;\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport LKModal from '../../Modal/Modal';\nimport { bindActionCreators } from 'redux';\nimport { connect } from 'react-redux';\nimport CartItems from './CartItems';\nimport * as cartActions from '../../../../actionCreators/cart';\nimport { hasFrameOnlyProduct } from '../../../../utils/helper';\nimport './Cart.scss';\n\nclass Cart extends Component {\n static propTypes = {\n cartData: PropTypes.any,\n addToCartFailed: PropTypes.any,\n isCartLoader: PropTypes.bool,\n redisCommonData: PropTypes.object,\n section: PropTypes.string,\n updateCartSuccess: PropTypes.bool,\n updateCartFail: PropTypes.bool,\n cartOmniture: PropTypes.func,\n isframeProduct: PropTypes.bool\n };\n constructor(props, context) {\n super(props, context);\n this.state = {\n showCart: true,\n dtmOnLoad: true,\n dtmRemoveOnLoad: true,\n checkoutLoader: false\n };\n }\n componentDidMount() {\n sessionStorage.setItem('dtmOnLoadData', 'cartSummaryInner');\n const { cartData, updateCartSuccess, updateCartFail, cartActions, cartOmniture } = this.props;\n const pageInfo = `page: ${document.location.pathname}${document.location.search} |time: Date()`;\n if (updateCartSuccess && sessionStorage.getItem('cartItem') === 'increase') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'Update Qty Success', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'Update Qty Success', pageInfo]);\n } else if (updateCartFail && sessionStorage.getItem('cartItem') === 'increase') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'Update Qty Failure', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'Update Qty Failure', pageInfo]);\n }\n if (updateCartSuccess && sessionStorage.getItem('cartItem') === 'decrease') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'decrease Qty Success', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'decrease Qty Success', pageInfo]);\n } else if (updateCartFail && sessionStorage.getItem('cartItem') === 'decrease') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'decrease Qty Failure', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'decrease Qty Failure', pageInfo]);\n }\n if (updateCartSuccess && sessionStorage.getItem('cartItem') === 'delete') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'Remove Product Success', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'Remove Product Success', pageInfo]);\n } else if (updateCartFail && sessionStorage.getItem('cartItem') === 'delete') {\n _gaq.push(['_trackEvent', 'A2C Popup', 'Remove Product Success', pageInfo]);\n _gaq.push(['ninja._trackEvent', 'A2C Popup', 'Remove Product Success', pageInfo]);\n }\n const isframeProduct = hasFrameOnlyProduct(cartData.result.items);\n cartActions.frameOnlyProduct({ isframeProduct });\n if ((cartData.result.id && this.state.dtmOnLoad && this.state.dtmRemoveOnLoad && sessionStorage.getItem('dtmOnLoadData') !== 'cartSummary')) {\n cartOmniture(cartData.result.items);\n }\n if (typeof window.clevertap !== 'undefined') {\n window.clevertap.event.push('Page Visited', {\n pageName: 'Cart Page'\n });\n }\n }\n\n componentDidUpdate(prevProps) {\n const { cartData, cartActions, cartOmniture } = this.props;\n if ((cartData.result.id && this.state.dtmOnLoad && this.state.dtmRemoveOnLoad && sessionStorage.getItem('dtmOnLoadData') !== 'cartSummary')) {\n cartOmniture(cartData.result.items);\n }\n if (prevProps.cartData !== cartData) {\n const isframeProduct = hasFrameOnlyProduct(cartData.result.items);\n cartActions.frameOnlyProduct({ isframeProduct });\n }\n sessionStorage.setItem('cartItem', '');\n }\n\n dtmStateLoad = flag => {\n this.setState({ dtmRemoveOnLoad: flag });\n }\n checkoutLoaderFunc = bool => {\n const scriptEl = document.querySelector('#yotpo_widget_lk');\n if (scriptEl) {\n document.head.removeChild(scriptEl);\n }\n this.setState({ checkoutLoader: bool });\n this.props.hideHandler();\n }\n footerClickHandler = () => {\n _gaq.push(['_trackEvent', 'Place Order', 'Cod'], ['ninja._trackEvent', 'Place Order', 'Cod']);\n this.checkoutLoaderFunc(true);\n }\n\n emptyCartView = () => {\n const { dataLocale: { SEARCH_FOR, CONTACT_LENSES, SUNGLASSES, EYEGLASSES, CONTINUE_SHOPPING, THERE_IS_PROBLEM_ADDING_ITEM, YOUR_SHOPPING_CART_EMPTY, SHOP_FOR_PRODUCTS_ADD_ITEMS } } = this.props;\n return (\n
\n \n {this.props.addToCartFailed &&\n this.props.addToCartFailed.message\n ? {THERE_IS_PROBLEM_ADDING_ITEM} {this.props.addToCartFailed.message}\n : YOUR_SHOPPING_CART_EMPTY}\n \n
{SHOP_FOR_PRODUCTS_ADD_ITEMS}
\n
\n \n {CONTINUE_SHOPPING}{' '}\n \n \n
\n
\n
{SEARCH_FOR}:
\n \n \n \n
\n
\n );\n }\n\n render() {\n const { cartData, isCartLoader, hideHandler, redisCommonData, isframeProduct, dataLocale } = this.props;\n const { SHOPPING_CART } = dataLocale;\n return (\n
\n \n
\n
\n \n

{SHOPPING_CART} ({cartData.result.itemsCount})

\n
\n\n {isCartLoader &&
}\n\n {/* render cart items */}\n {!isCartLoader && (cartData.result.itemsQty !== 0\n ? { this.checkoutLoaderFunc(bool); }} checkoutLoader={this.state.checkoutLoader} />\n : this.emptyCartView())}\n\n
\n
\n
\n );\n }\n}\n\nconst mapStateToProps = state => ({\n isCartLoader: state.cart.isCartLoader,\n isAlreadyLoyal: state.common.isAlreadyLoyal,\n cartData: state.cart.cartData,\n updateCartSuccess: state.cart.updateCartSuccess,\n updateCartFail: state.cart.updateCartFail,\n addToCartFailed: state.cart.addToCartFailed,\n section: state.common.section,\n isframeProduct: state.cart.isframeProduct,\n redisCommonData: state.common.redisCommonData,\n login: state.common.login,\n cartCampaign: state.campaign.cartCampaign,\n cartBogoConfig: state.campaign.cartBogoConfig,\n dataLocale: state.locale,\n currencyMark: state.common.currencyMark\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n cartActions: bindActionCreators(cartActions, dispatch)\n };\n}\nexport default connect(mapStateToProps, mapDispatchToProps)(Cart);\n","import * as actionTypes from '../../actionTypes/order';\n\nconst initialState = {\n orderDetails: null,\n loading: false,\n loaded: false,\n prevOrders: null,\n prevOrdersLoading: false\n};\n\nexport default function reducer(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.SET_ORDER:\n return { orderDetails: action.orderDetails, error: null, isSubmitting: false };\n case actionTypes.RESET_ORDERDETAILS:\n return initialState;\n case actionTypes.GET_ORDER:\n return { ...prevState, loading: true, loaded: false, orderDetails: null };\n case actionTypes.GET_ORDER_SUCCESS:\n return { ...prevState, loading: false, loaded: true, orderDetails: action.data };\n case actionTypes.GET_ORDER_FAIL:\n return { ...prevState, loading: false, loaded: true, orderDetails: action.error };\n case actionTypes.POWER_SUMBMIT_LOAD:\n return { ...prevState, error: null, isSubmitting: true };\n case actionTypes.POWER_SUMBMIT_FAIL:\n return { ...prevState, isSubmitting: false, error: action.error };\n case actionTypes.PREV_ORDER_LOAD:\n return { ...prevState, prevOrdersLoading: true };\n case actionTypes.PREV_ORDER_SUCCESS:\n return { ...prevState, prevOrdersLoading: false, prevOrders: action.data };\n case actionTypes.PREV_ORDER_FAIL:\n return { ...prevState, prevOrdersLoading: false, prevOrders: action.error };\n case actionTypes.CLEAR_STATE:\n return { ...prevState, ...action.data };\n default:\n return prevState;\n }\n}\n","// redis\n\nexport const GET_REDIS_ROUTER_LOAD = 'common/GET_REDIS_ROUTER_LOAD';\nexport const GET_REDIS_ROUTER_SUCCESS = 'common/GET_REDIS_ROUTER_SUCCESS';\nexport const GET_REDIS_ROUTER_FAIL = 'common/GET_REDIS_ROUTER_FAIL';\nexport const SET_COUNTRY_INFO = 'common/SET_COUNTRY_INFO';\n// redis common data\nexport const GET_REDIS_DATA = 'common/GET_REDIS_DATA';\nexport const GET_REDIS_SUCCESS = 'common/GET_REDIS_SUCCESS';\nexport const GET_REDIS_FAIL = 'common/GET_REDIS_FAIL';\n\n// User actions\nexport const VALIDATE_SESSION = 'common/VALIDATE_SESSION';\nexport const GET_USER = 'common/GET_USER';\nexport const GET_USER_LOAD = 'common/GET_USER_LOAD';\nexport const GET_USER_SUCCESS = 'common/GET_USER_SUCCESS';\nexport const GET_USER_FAIL = 'common/GET_USER_FAIL';\nexport const LOGIN_SUCCESS = 'common/LOGIN_SUCCESS';\n\n// juno actions\nexport const LOAD_JUNO_SESSION = 'common/LOAD_JUNO_SESSION';\nexport const LOAD_JUNO_SESSION_API_SUCCESS = 'common/LOAD_JUNO_SESSION_API_SUCCESS';\nexport const LOAD_JUNO_SESSION_API_FAIL = 'common/LOAD_JUNO_SESSION_API_FAIL';\n\n// short list\nexport const SHORTLIST_LOAD = 'common/SHORTLIST_LOAD';\nexport const SHORTLIST_SUCCESS = 'common/SHORTLIST_SUCCESS';\nexport const SHORTLIST_FAIL = 'common/SHORTLIST_FAIL';\nexport const WISHLIST_TRUE = 'common/WISHLIST_TRUE';\nexport const SHORTLIST_TYPE = 'common/SHORTLIST_TYPE';\nexport const SHORTLIST_DELETE = 'common/SHORTLIST_DELETE';\nexport const SHORTLIST_DELETE_SUCCESS = 'common/SHORTLIST_DELETE_SUCCESS';\nexport const SHORTLIST_ADD = 'common/SHORTLIST_ADD';\nexport const SHORTLIST_ADD_SUCCESS = 'commom/SHORTLIST_ADD_SUCCESS';\n\n\n// common cart action\nexport const CART_POPUP = 'CART_POPUP';\nexport const UPDATE_CART_COUNT = 'UPDATE_CART_COUNT';\n\nexport const CHANGE_SECTION = 'commom/CHANGE_SECTION';\nexport const MODIFY_DATA = 'commom/MODIFY_DATA';\n\n\n// ditto profile\nexport const DITTO_PROFILE_LOAD = 'common/DITTO_PROFILE_LOAD';\nexport const DITTO_PROFILE_SUCCESS = 'common/DITTO_PROFILE_SUCCESS';\nexport const DITTO_PROFILE_FAILURE = 'common/DITTO_PROFILE_FAILURE';\nexport const DITTO_DEFAULT_SET = 'common/DITTO_DEFAULT_SET';\nexport const DITTO_DEFAULT_SUCCESS = 'common/DITTO_DEFAULT_SUCCESS';\nexport const DITTO_DEFAULT_FAILURE = 'common/DITTO_DEFAULT_FAILURE';\nexport const DITTO_NAME_SAVE = 'common/DITTO_NAME_SAVE';\nexport const DITTO_NAME_SUCCESS = 'common/DITTO_NAME_SUCCESS';\nexport const DITTO_NAME_FAILURE = 'common/DITTO_NAME_FAILURE';\nexport const DITTO_CHANGED_STATUS_UPDATE = 'common/DITTO_CHANGED_STATUS_UPDATE';\nexport const DITTO_DELETE = 'common/DITTO_DELETE';\nexport const DITTO_DELETE_SUCCESS = 'common/DITTO_DELETE_SUCCESS';\nexport const DITTO_DELETE_FAILURE = 'common/DITTO_DELETE_FAILURE';\nexport const CHANGE_LOGO = 'common/CHANGE_LOGO';\n\n// ditto auth\nexport const DITTO_AUTH_LOAD = 'common/DITTO_AUTH_LOAD';\nexport const DITTO_AUTH_SUCCESS = 'common/DITTO_AUTH_SUCCESS';\nexport const DITTO_AUTH_FAILURE = 'common/DITTO_AUTH_FAILURE';\nexport const DITTO_AUTH_PROFILE = 'common/DITTO_AUTH_PROFILE';\n\n// logout user\nexport const LOGOUT_USER = 'common/LOGOUT_USER';\n\n// ask user to login\nexport const ASK_USER_LOGIN = 'common/ASK_USER_LOGIN';\n\n// toast message\nexport const SET_TOAST_MESSAGE = 'common/SET_TOAST_MESSAGE';\n\nexport const SET_SIZE_DETAIL = 'common/SET_SIZE_DETAIL';\n\nexport const COUNTRY_DATA_LOAD = 'common/COUNTRY_DATA_LOAD';\nexport const COUNTRY_DATA_SUCCESS = 'common/COUNTRY_DATA_SUCCESS';\nexport const COUNTRY_DATA_FAIL = 'common/COUNTRY_DATA_FAIL';\n\nexport const PDP_CMS_POPUP_LOAD = 'common/PDP_CMS_POPUP_LOAD';\nexport const PDP_CMS_POPUP_SUCCESS = 'common/PDP_CMS_POPUP_SUCCESS';\nexport const PDP_CMS_POPUP_FAIL = 'common/PDP_CMS_POPUP_FAIL';\n// show hide YOTP WIDGETS\nexport const YOTPO_WIDGETS_SHOW = 'common/YOTPO_WIDGETS_SHOW';\n\n// get audienceType\nexport const AUDIENCE_TYPE_LOAD = 'common/AUDIENCE_TYPE_LOAD';\n\n// update tryonswtich cta pdp/cat\nexport const TRY_ON_SWITCH = 'common/TRY_ON_SWITCH';\n// get customer info\nexport const GET_CUSTOMER_INFO_LOAD = 'common/GET_CUSTOMER_INFO_LOAD';\nexport const GET_CUSTOMER_INFO_SUCCESS = 'common/GET_CUSTOMER_INFO_SUCCESS';\nexport const GET_CUSTOMER_INFO_FAIL = 'common/GET_CUSTOMER_INFO_FAIL';\n// embed video\nexport const EMBED_VIDEO = 'common/EMBED_VIDEO';\n\n// set webview\nexport const SET_IS_WEBVIEW = 'common/SET_IS_WEBVIEW';\n\n// set phonepeview\nexport const IS_PHONEPEVIEW = 'common/IS_PHONEPEVIEW';\n\n// passing utm data\nexport const PASS_UTM_DATA_LOAD = 'common/PASS_UTM_DATA_LOAD';\nexport const PASS_UTM_DATA_SUCCESS = 'common/PASS_UTM_DATA_SUCCESS';\nexport const PASS_UTM_DATA_FAIL = 'PASS_UTM_DATA_FAIL';\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport './LoginPanel.scss';\nimport { Link } from 'react-router-dom';\nimport AuthModal from 'desktop/components/AuthModal/AuthModalLoadable';\n\nconst LoginPanel = props => {\n const { dataLocale, section, loginStatus, userInfo, loginLoader, openLoginTab, openSignUpTab, registerActions, commonCallsActionCreators, cartActions } = props;\n const { MY_ORDERS, MY_PRESCRIPTION, MY_STORE_CREDIT, MY_DITTOS, ACCOUNT_INFORMATION, SIGN_IN, SIGN_UP, SPECSY, LOGOUT } = dataLocale || {};\n return (\n
\n
{ if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.header.click.headerClick(section, 'LOGIN', loginStatus); }}>\n {loginLoader ?

...

:\n
\n {\n loginStatus && userInfo !== null ?\n
\n {userInfo.result.firstName ?
{userInfo.result.firstName}
: {SPECSY}}\n
\n\n
\n {loginStatus === true\n ?
\n {MY_ORDERS}\n {MY_PRESCRIPTION}\n {MY_STORE_CREDIT}\n {MY_DITTOS}\n {ACCOUNT_INFORMATION}\n {\n registerActions.logoutUser();\n commonCallsActionCreators.logoutUser();\n cartActions.logoutUser();\n sessionStorage.removeItem('orderActivePage');\n document.location.href = '/';\n window?.Freshbots?.resetCustomer(true);\n }}\n >{LOGOUT}\n
: ''}\n\n
\n
\n
:\n
{ AuthModal.preload(); }} onFocus={() => { AuthModal.preload(); }}>\n {SIGN_IN} & {SIGN_UP}\n
\n }\n
\n }\n
\n
\n );\n};\n\nLoginPanel.propTypes = { section: PropTypes.any, loginStatus: PropTypes.bool, userInfo: PropTypes.object, loginLoader: PropTypes.bool, openLoginTab: PropTypes.func, openSignUpTab: PropTypes.func };\n\nexport default LoginPanel;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/ditto';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\nfunction* addNewDitto({ dittoId }) {\n const successAction = { type: actionTypes.ADD_DITTO_SUCCESS };\n const errorAction = { type: actionTypes.ADD_DITTO_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.dittoProfile + dittoId));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nfunction* saveDitto({ dittoId }) {\n const successAction = { type: actionTypes.SAVE_UPDATE_DITTO_SUCCESS };\n const errorAction = { type: actionTypes.SAVE_UPDATE_DITTO_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.saveUpdateDitto + dittoId));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runDittoCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.ADD_DITTO_LOAD, addNewDitto),\n takeLatest(actionTypes.SAVE_UPDATE_DITTO_LOAD, saveDitto),\n ]);\n}\n","export const PRODUCTCAROUSEL_DATA_LOAD = 'productCarousel/PRODUCTCAROUSEL_DATA_LOAD';\nexport const PRODUCTCAROUSEL_DATA_SUCCESS = 'productCarousel/PRODUCTCAROUSEL_DATA_SUCCESS';\nexport const PRODUCTCAROUSEL_DATA_FAIL = 'productCarousel/PRODUCTCAROUSEL_DATA_FAIL';\n","import * as actionTypes from './../../actionTypes/home';\n\nconst initialState = {\n loaded: false,\n loading: false,\n homepageData: {},\n renderData: [],\n scrollY: null,\n loadMoreCarousals: true\n};\n\nexport default function home(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.HOMEPAGE_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n homepageData: {},\n renderData: []\n });\n case actionTypes.MOBILE_HOMEPAGE_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n });\n case actionTypes.HOMEPAGE_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n homepageData: action.data.homeData,\n renderData: (action.data.homeData && action.data.homeData.sections.slice(0, 7)),\n rawHomeData: action.rawData\n });\n case actionTypes.MOBILE_HOMEPAGE_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n homepageData: action.data,\n rawHomeData: Object.assign({}, action.data),\n renderData: action.isBot ? action.data.result : (action.data.result && action.data.result.slice(0, 5))\n });\n case actionTypes.HOMEPAGE_DATA_FAIL:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n homepageData: action.error\n });\n case actionTypes.RENDER_DATA_UPDATE:\n return Object.assign({}, prevState, {\n renderData: prevState.renderData ? prevState.renderData.concat(action.data) : [].concat(action.data)\n });\n case actionTypes.HOMEPAGE_MERGED_DATA_UPDATE:\n const homeData = prevState.homepageData;\n homeData.result = action.data;\n return Object.assign({}, prevState, {\n homepageData: homeData,\n renderData: (homeData.result && homeData.result.slice(0, 5))\n });\n case actionTypes.HOMEPAGE_CAROUSALS_DATA_LOAD:\n return Object.assign({}, prevState, {\n loadMoreCarousals: null\n });\n case actionTypes.HOMEPAGE_CAROUSALS_DATA_SUCCESS:\n // to update the products in render data when carousel data is fetched successfully\n const rawHomeData = action.data;\n const homepageData = action.mergedHomeData;\n return Object.assign({}, prevState, {\n homepageData,\n rawHomeData: Object.assign({}, rawHomeData),\n renderData: homepageData.sections.slice(0, 10),\n loadMoreCarousals: true\n });\n case actionTypes.HOMEPAGE_CAROUSALS_DATA_FAIL:\n return Object.assign({}, prevState, {\n rawHomeData: action.error,\n loadMoreCarousals: null\n });\n case actionTypes.HOME_SCROLL_SET:\n return Object.assign({}, prevState, {\n scrollY: action.scrollY\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from '../actionTypes/product';\n\nexport function getProductData(pID, params) {\n return { type: actionTypes.PRODUCT_DATA_LOAD, pID, params };\n}\n\nexport function sendDittoImageEmail(data) {\n return { type: actionTypes.DITTO_IMG_EMAIL_SEND, data };\n}\n\nexport function loadContactLens(id, powerOption) {\n return { type: actionTypes.CONTACT_LENS_LOAD, id, powerOption };\n}\n\nexport function handleClDropdownOpenList(data) {\n return { type: actionTypes.CL_DROPDOWN_OPEN, data };\n}\n\nexport function getCLSavedPrescription() {\n return { type: actionTypes.CL_SAVED_PRESCRIPTION_LOAD };\n}\n\nexport function isContactPrescValid(powerData, productID) {\n return { type: actionTypes.CL_PRESCRIPTION_VALID_TEST, powerData, productID };\n}\n\nexport function updateFrontImg(imgUrl) {\n return { type: actionTypes.FRONT_IMG, imgUrl };\n}\n\nexport function saveProductData(data, path = null) {\n return { type: actionTypes.GOTO_PDP_ID, data, path };\n}\n\nexport function getExpressTime(productId, pincode, countryCode) {\n return { type: actionTypes.EXPRESS_TIME_LOAD, productId, pincode, countryCode };\n}\n\nexport function resetPincodeForm() {\n return { type: actionTypes.RESET_PINCODE_FORM };\n}\n\nexport function oosSubscription(data) {\n return { type: actionTypes.OOS_SUBSCRIPTION, data };\n}\n\nexport function lensOnlyLocation(pincode) {\n return { type: actionTypes.LENS_LOCATION_AVAILABILITY_CHECK, pincode };\n}\n\nexport function getLensPackages(prodId, powerType, frameType, isExpress, packages) {\n return { type: actionTypes.LENS_PACKAGES_LOAD, prodId, powerType, frameType, isExpress, packages };\n}\n\nexport function flushProductData() {\n return { type: actionTypes.FLUSH_PRODUCT_DATA };\n}\n\nexport function changeTabIndex(value) {\n return { type: actionTypes.CHANGE_PRODUCTTABINDEX, value };\n}\n\n\nexport function resetProductValue(args) {\n return { type: actionTypes.RESET_PRODUCT_VALUE, args };\n}\n\nexport function setPowerType(value) {\n return { type: actionTypes.SET_POWER_TYPE, value };\n}\n\nexport function getCLSubscription(productId, isBothEye) {\n return { type: actionTypes.GET_CLSUBSCRIPTION, productId, isBothEye };\n}\n\nexport function getSubscriptionDiscounts(productId, subscriptionType) {\n return { type: actionTypes.GET_SUBSCRIPTION_DISCOUNT, productId, subscriptionType };\n}\n\nexport function getCLSolutions(productId) {\n return { type: actionTypes.GET_CLSOLUTIONS, productId };\n}\n\nexport function getDeliveryDetails(productId, pincode, countryCode) {\n return { type: actionTypes.GET_DELIVERY_DETAILS_LOAD, productId, pincode, countryCode };\n}\n\nexport function setAppPrice(price, discount, appCTAText) {\n return { type: actionTypes.SET_APP_PRICE, price, discount, appCTAText };\n}\n\nexport function postReview(id, data) {\n return { type: actionTypes.REVIEW_PRODUCT, id, data };\n}\n\n// for Exchange\nexport function updateExchangeRemaining(amount) {\n return { type: actionTypes.SET_EXCHANGE_BALANCE, amount };\n}\n\nexport function getPackageOrCoatingGroup(packageId, coatingId) {\n return { type: actionTypes.GET_PACKAGE_OR_COATING_GROUP_LOAD, packageId, coatingId };\n}\n\nexport function dittoImgEmailReset() {\n return { type: actionTypes.DITTO_IMG_EMAIL_RESET };\n}\n","import React, { Component } from 'react';\nimport { connect } from 'react-redux';\nimport './PreSales.scss';\nimport '../../../../theme/form-style-label-animation.scss';\nimport { Form, Field } from 'react-final-form';\nimport { required } from '../../../../utils/validation';\nimport { composeValidators } from '../../../../utils/helper';\nimport { preSalesUserLogin } from '../../../../actionCreators/checkout';\n\n\nclass PreSales extends Component {\n constructor(props) {\n super(props);\n this.handleLogin = this.handleLogin.bind(this);\n }\n componentDidUpdate() {\n const { leadSource } = this.props;\n if (leadSource) {\n window.location.href = '/checkout/onepage/presales';\n }\n }\n handleLogin = value => {\n const { preSalesUserLogin } = this.props;\n const data = {\n userName: value.login_id,\n password: value.password\n };\n preSalesUserLogin(data);\n }\n\n render() {\n const { preSalesUserData, loading, dataLocale } = this.props;\n const { message: error, userName: successMessage } = preSalesUserData || '';\n const { LOGIN, ID, LOGGED_IN, PRESALES_CHECKOUT, REDIRECTING_TO_CHECKOUT_PAGE, PLEASE_ENTER_USERNAME, EMAIL_ADDRESS, PASSWORD, PLEASE_ENTER_PASSWORD, LOADER } = dataLocale;\n return (\n
\n
{LOGIN} - {PRESALES_CHECKOUT}
\n {error &&
\n

{error}

\n
}\n {successMessage &&
{LOGGED_IN}. {REDIRECTING_TO_CHECKOUT_PAGE}
}\n {\n return (\n
\n
\n \n \n {({ input, meta }) => (\n
\n \n {meta.error && meta.touched && {meta.error}}\n
\n )}\n
\n
\n
\n \n \n {({ input, meta }) => (\n
\n \n {meta.error && meta.touched && {meta.error}}\n
\n )}\n
\n
\n
\n \n
\n
\n );\n }}\n />\n
\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n leadSource: state.checkout.leadSource,\n preSalesUserData: state.checkout.preSalesUserData,\n loading: state.checkout.preSalesloading,\n submitSuccess: state.checkout.submitSuccess,\n dataLocale: state.locale\n };\n};\nconst mapDispatchToProps = dispatch => {\n return {\n preSalesUserLogin: data => dispatch(preSalesUserLogin(data))\n };\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PreSales);\n","import { call, put, takeLatest, all, takeEvery } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/product';\nimport { GET_LENS_PACKAGES, GET_LENS_PACKAGES_SUCCESS, GET_LENS_PACKAGES_FAIL } from '../actionTypes/editPower';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\nimport getSetCookie from '../cookie';\nimport { modifyProductData, setProductStaticDTM } from './responseDataManipulator';\nimport sessionStorageHelper from '../utils/sessionStorageHelper';\n\nlet _client = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\nfunction* getProductData({ pID, params }) {\n const successAction = { type: actionTypes.PRODUCT_DATA_SUCCESS };\n const errorAction = { type: actionTypes.PRODUCT_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n let isExchange = false;\n if (__SERVER__) {\n const getCookies = client.getServerRequestHeader().cookies;\n if (getCookies.exchangeMethod) {\n isExchange = getCookies.exchangeMethod;\n }\n }\n if (__CLIENT__) {\n const isExchangeSessionValid = sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction;\n if (getSetCookie.getCookie('exchangeMethod') && isExchangeSessionValid) {\n isExchange = getSetCookie.getCookie('exchangeMethod');\n } else {\n isExchange = false;\n }\n }\n try {\n const data = yield call(async () => client.getProductData(pID, params, isExchange));\n const modifiedProductData = modifyProductData(data.result);\n const staticDTM = setProductStaticDTM(data.result, modifiedProductData, isExchange);\n successAction.data = data; successAction.modifiedProductData = modifiedProductData; successAction.staticDTM = staticDTM;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getExpressTimeData({ productId, pincode, countryCode }) {\n const successAction = { type: actionTypes.EXPRESS_TIME_SUCCESS };\n const errorAction = { type: actionTypes.EXPRESS_TIME_FAIL };\n const client = apiClient();\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.estimateDelivery}${productId}/shipping/estimate?pinCode=${pincode}&country=${countryCode}&isExpress=true`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getDeliveryDetails({ productId, pincode, countryCode }) {\n const successAction = { type: actionTypes.GET_DELIVERY_DETAILS_SUCCESS };\n const errorAction = { type: actionTypes.GET_DELIVERY_DETAILS_FAILED };\n const client = apiClient();\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.estimateDelivery}${productId}/shipping/estimate?pinCode=${pincode}&country=${countryCode}&isExpress=true`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* sendDittoEmail(emailActionData) {\n const successAction = { type: actionTypes.DITTO_IMG_EMAIL_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_IMG_EMAIL_FAIL };\n try {\n const response = yield call(async () => _client.customPost(config.apiPath.emailDitto, emailActionData.data, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* loadClData({ id, powerOption }) {\n const successAction = { type: actionTypes.CONTACT_LENS_SUCCESS };\n const errorAction = { type: actionTypes.CONTACT_LENS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.dataProductUnSecure}${id}/powers?${powerOption}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* loadClSavedPrescription() {\n const successAction = { type: actionTypes.CL_SAVED_PRESCRIPTION_SUCCESS };\n const errorAction = { type: actionTypes.CL_SAVED_PRESCRIPTION_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.getSavedPrescription}?powerType=CONTACT_LENS`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* validateClPrescription({ powerData, productID }) {\n const successAction = { type: actionTypes.CL_PRESCRIPTION_VALID_SUCCESS };\n const errorAction = { type: actionTypes.CL_PRESCRIPTION_VALID_FAIL };\n try {\n const response = yield call(async () => _client.customPost(`${!productID ? `${config.apiPath.cartApi}/validateCart` : `${config.apiPath.dataProductUnSecure}${productID}/powers/validate`}`, powerData, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* subscribeOOS(oosData) {\n const successAction = { type: actionTypes.OOS_SUCCESS };\n const errorAction = { type: actionTypes.OOS_FAIL };\n try {\n const response = yield call(async () => _client.customPost(config.apiPath.oosSubscription, oosData.data, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* checkLensOnlyAvailability({ pincode }) {\n const successAction = { type: actionTypes.LENS_LOCATION_AVAILABILITY_SUCCESS };\n const errorAction = { type: actionTypes.LENS_LOCATION_AVAILABILITY_FAIL };\n try {\n const response = yield call(async () => _client.get(`${config.apiPath.lensOnlyShippinglocation}${pincode}`, null, xApiClient, null));\n successAction.data = response;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* loadLensPackages({ prodId, powerType, frameType, isExpress = false, packages, isEditPower }) {\n const successAction = { type: isEditPower ? GET_LENS_PACKAGES_SUCCESS : actionTypes.LENS_PACKAGES_SUCCESS };\n const errorAction = { type: isEditPower ? GET_LENS_PACKAGES_FAIL : actionTypes.LENS_PACKAGES_FAIL };\n const client = { ..._client };\n let isExchange = false;\n if (__CLIENT__) {\n const isExchangeSessionValid = sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction;\n if (getSetCookie.getCookie('exchangeMethod') && isExchangeSessionValid) {\n isExchange = getSetCookie.getCookie('exchangeMethod');\n } else {\n isExchange = false;\n }\n }\n if (isExchange) {\n client.setHeader({ 'X-Service-Type': 'exchange' });\n } else {\n client.setHeader();\n }\n let allPackages = '';\n if (packages === 'all') allPackages = '&allPackages=true';\n try {\n const response = yield call(async () => client.get(`${config.apiPath.lensPackages}${prodId}/packages?power_type=${powerType}&frame_type=${frameType}&is_express=${isExpress}&audienceType=${getSetCookie.getCookie('audienceType')}${allPackages}`));\n successAction.data = response;\n successAction.pid = prodId;\n successAction.powerType = powerType;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n errorAction.pid = prodId;\n errorAction.powerType = powerType;\n yield put(errorAction);\n }\n}\n\nfunction* getCLSubscription({ productId, isBothEye }) {\n const successAction = { type: actionTypes.GET_CLSUBSCRIPTION_SUCCESS };\n const errorAction = { type: actionTypes.GET_CLSUBSCRIPTION_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.lensPackages}/${productId}/subscriptions?isBothEye=${isBothEye}`));\n successAction.data = response ? response.result : {};\n successAction.data.productId = productId;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getSubscriptionDiscounts({ productId, subscriptionType }) {\n const successAction = { type: actionTypes.GET_SUBSCRIPTION_DISCOUNT_SUCCESS };\n const errorAction = { type: actionTypes.GET_SUBSCRIPTION_DISCOUNT_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.subscriptionDiscounts}?productId=${productId}&subscriptionType=${subscriptionType}`));\n const result = response ? response.result : {};\n successAction.data = result[productId] || {};\n successAction.data.productId = productId;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCLSolutions({ productId }) {\n const successAction = { type: actionTypes.GET_CLSOLUTIONS_SUCCESS };\n const errorAction = { type: actionTypes.GET_CLSOLUTIONS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.lensPackages}/solutions?productId=${productId}`));\n successAction.data = response ? response.result : [];\n successAction.data.productId = productId;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* postReview(params) {\n const successAction = { type: actionTypes.REVIEW_PRODUCT_SUCCESS };\n const errorAction = { type: actionTypes.REVIEW_PRODUCT_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n let response = yield call(async () => client.post(`${config.apiPath.reviewProduct}${params.id}/review`, params.data));\n response = response ? response.result : {};\n successAction.message = response.message;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getPackageOrCoatingGroup({ packageId, coatingId }) {\n const successAction = { type: actionTypes.GET_PACKAGE_OR_COATING_GROUP_SUCCESS };\n const errorAction = { type: actionTypes.GET_PACKAGE_OR_COATING_GROUP_FAIL };\n const client = { ..._client };\n client.setHeader();\n const params = {};\n if (packageId) params.packageId = packageId;\n if (coatingId) params.coatingId = coatingId;\n try {\n const response = yield call(async () => client.get(config.apiPath.lensPackageAndCoating, { params }));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runProductCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.PRODUCT_DATA_LOAD, getProductData),\n takeLatest(actionTypes.DITTO_IMG_EMAIL_SEND, sendDittoEmail),\n takeLatest(actionTypes.CONTACT_LENS_LOAD, loadClData),\n takeLatest(actionTypes.CL_SAVED_PRESCRIPTION_LOAD, loadClSavedPrescription),\n takeLatest(actionTypes.CL_PRESCRIPTION_VALID_TEST, validateClPrescription),\n takeLatest(actionTypes.EXPRESS_TIME_LOAD, getExpressTimeData),\n takeLatest(actionTypes.OOS_SUBSCRIPTION, subscribeOOS),\n takeLatest(actionTypes.LENS_LOCATION_AVAILABILITY_CHECK, checkLensOnlyAvailability),\n takeLatest(actionTypes.LENS_PACKAGES_LOAD, loadLensPackages),\n takeEvery(GET_LENS_PACKAGES, loadLensPackages),\n takeLatest(actionTypes.GET_CLSUBSCRIPTION, getCLSubscription),\n takeLatest(actionTypes.GET_SUBSCRIPTION_DISCOUNT, getSubscriptionDiscounts),\n takeLatest(actionTypes.GET_CLSOLUTIONS, getCLSolutions),\n takeLatest(actionTypes.GET_DELIVERY_DETAILS_LOAD, getDeliveryDetails),\n takeLatest(actionTypes.REVIEW_PRODUCT, postReview),\n takeLatest(actionTypes.GET_PACKAGE_OR_COATING_GROUP_LOAD, getPackageOrCoatingGroup)\n ]);\n}\n","import * as actionTypes from '../actionTypes/editPower';\n\nexport function getLensPackages({ prodId, powerType, frameType }) {\n return { type: actionTypes.GET_LENS_PACKAGES, prodId, powerType, frameType, isEditPower: true };\n}\n\nexport function getPowers({ productId, powerType }) {\n return { type: actionTypes.GET_POWERS, productId, powerType, isEditPower: true };\n}\n","import * as actionTypes from '../actionTypes/category';\n\nexport function getCategoryData(catID, params, pageCounter) {\n return { type: actionTypes.CATEGORY_DATA_LOAD, categoryId: catID, params, pageCounter };\n}\n\nexport function getFilterData(categoryId, filterParams) {\n return { type: actionTypes.FILTER_DATA_LOAD, categoryId, filterParams };\n}\n\nexport function getSearchFilterData(args) {\n return { type: actionTypes.SEARCH_FILTER_LOAD, ...args };\n}\n\nexport function getSearchCategoryData(params) {\n return { type: actionTypes.SEARCH_CATEGORY_DATA_LOAD, params };\n}\n\nexport function addFilterData(filterObj) {\n return { type: actionTypes.ADD_FILTERDATA, filterObj };\n}\n\nexport function handleFilterFunc(func) {\n return { type: actionTypes.HANDLE_FILTER_FUNC, func };\n}\n\nexport function modifyData(data) {\n return { type: actionTypes.MODIFY_DATA, data };\n}\n\nexport function loadCatAndFilterData(categoryId, filterParams, pageCounter) {\n return { type: actionTypes.CATEGORY_AND_FILTER_DATA_LOAD, categoryId, filterParams, pageCounter };\n}\n\nexport function filterDropdown(value) {\n return { type: actionTypes.FILTER_DROPDOWN, value };\n}\n\nexport function loadScroll({ pathname, categoryId, counter, mystring }) {\n return { type: actionTypes.APPEND_DATA_LOAD, pathname, categoryId, counter, mystring };\n}\n\nexport function debouceCategoryDataOnScroll(categoryInfo) {\n return { type: actionTypes.DEBOUNCE_CATEGORY_DATA_ON_SCROLL, ...categoryInfo };\n}\n\nexport function showCachedCategoryData(categoryInfo) {\n return { type: actionTypes.SHOW_CACHED_DATA, data: { ...categoryInfo } };\n}\n\nexport function updateDittoEnable(value) {\n return { type: actionTypes.UPDATE_DITTO_ENABLE, value };\n}\n\nexport function unsetFilterState() {\n return { type: actionTypes.FILTER_STATE_UNSET };\n}\n\nexport function loadSubCategory(data) {\n return { type: actionTypes.SUBCATEGORY_DATA_LOAD, data };\n}\n\nexport function loadCategoryConfigJSON() {\n return { type: actionTypes.CATEGORY_CONFIG_JSON_LOAD };\n}\n","export const PRODUCT_DATA_LOAD = 'product/PRODUCT_DATA_LOAD';\nexport const PRODUCT_DATA_SUCCESS = 'product/PRODUCT_DATA_SUCCESS';\nexport const PRODUCT_DATA_FAIL = 'product/PRODUCT_DATA_FAIL';\n\n// Send Ditto Image Email\nexport const DITTO_IMG_EMAIL_SEND = 'product/DITTO_EMAIL_SEND';\nexport const DITTO_IMG_EMAIL_SUCCESS = 'product/DITTO_IMG_EMAIL_SUCCESS';\nexport const DITTO_IMG_EMAIL_FAIL = 'product/DITTO_IMG_EMAIL_FAIL';\nexport const DITTO_IMG_EMAIL_RESET = 'product/DITTO_IMG_EMAIL_RESET';\n\n// CL Prescriptions\nexport const CONTACT_LENS_LOAD = 'produc/CONTACT_LENS_LOAD';\nexport const CONTACT_LENS_SUCCESS = 'product/CONTACT_LENS_SUCCESS';\nexport const CONTACT_LENS_FAIL = 'product/CONTACT_LENS_FAIL';\nexport const CL_DROPDOWN_OPEN = 'product/CL_DROPDOWN_OPEN';\nexport const CL_SAVED_PRESCRIPTION_LOAD = 'product/CL_SAVED_PRESCRIPTION_LOAD';\nexport const CL_SAVED_PRESCRIPTION_SUCCESS = 'product/CL_SAVED_PRESCRIPTION_SUCCESS';\nexport const CL_SAVED_PRESCRIPTION_FAIL = 'product/CL_SAVED_PRESCRIPTION_FAIL';\nexport const CL_PRESCRIPTION_VALID_TEST = 'product/CL_PRESCRIPTION_VALID_TEST';\nexport const CL_PRESCRIPTION_VALID_SUCCESS = 'product/CL_PRESCRIPTION_VALID_SUCCESS';\nexport const CL_PRESCRIPTION_VALID_FAIL = 'product/CL_PRESCRIPTION_VALID_FAIL';\nexport const FRONT_IMG = 'product/FRONT_IMG';\nexport const GOTO_PDP_ID = 'product/GOTO_PDP_ID';\n\nexport const EXPRESS_TIME_LOAD = 'product/EXPRESS_TIME_LOAD';\nexport const EXPRESS_TIME_SUCCESS = 'product/EXPRESS_TIME_SUCCESS';\nexport const EXPRESS_TIME_FAIL = 'product/EXPRESS_TIME_FAIL';\n\nexport const RESET_PINCODE_FORM = 'product/RESET_PINCODE_FORM';\n\nexport const OOS_SUBSCRIPTION = 'product/OOS_SUBSCRIPTION';\nexport const OOS_SUCCESS = 'product/OOS_SUCCESS';\nexport const OOS_FAIL = 'product/OOS_FAIL';\n\nexport const LENS_LOCATION_AVAILABILITY_CHECK = 'product/LENS_LOCATION_AVAILABILITY_CHECK';\nexport const LENS_LOCATION_AVAILABILITY_SUCCESS = 'product/LENS_LOCATION_AVAILABILITY_SUCCESS';\nexport const LENS_LOCATION_AVAILABILITY_FAIL = 'product/LENS_LOCATION_AVAILABILITY_FAIL';\n\nexport const LENS_PACKAGES_LOAD = 'product/LENS_PACKAGES_LOAD';\nexport const LENS_PACKAGES_SUCCESS = 'product/LENS_PACKAGES_SUCCESS';\nexport const LENS_PACKAGES_FAIL = 'product/LENS_PACKAGES_FAIL';\n\nexport const FLUSH_PRODUCT_DATA = 'product/FLUSH_PRODUCT_DATA';\nexport const CHANGE_PRODUCTTABINDEX = 'product/CHANGE_PRODUCTTABINDEX';\nexport const RESET_PRODUCT_VALUE = 'product/RESET_PRODUCT_VALUE';\n\nexport const SET_POWER_TYPE = 'product/SET_POWER_TYPE';\n\n// CL Subscription & discounts\nexport const GET_CLSUBSCRIPTION = 'product/GET_CLSUBSCRIPTION';\nexport const GET_CLSUBSCRIPTION_SUCCESS = 'product/GET_CLSUBSCRIPTION_SUCCESS';\nexport const GET_CLSUBSCRIPTION_FAIL = 'product/GET_CLSUBSCRIPTION_FAIL';\n\nexport const GET_SUBSCRIPTION_DISCOUNT = 'product/GET_SUBSCRIPTION_DISCOUNT';\nexport const GET_SUBSCRIPTION_DISCOUNT_SUCCESS = 'product/GET_SUBSCRIPTION_DISCOUNT_SUCCESS';\nexport const GET_SUBSCRIPTION_DISCOUNT_FAIL = 'product/GET_SUBSCRIPTION_DISCOUNT_FAIL';\n\nexport const GET_CLSOLUTIONS = 'product/GET_CLSOLUTIONS';\nexport const GET_CLSOLUTIONS_SUCCESS = 'product/GET_CLSOLUTIONS_SUCCESS';\nexport const GET_CLSOLUTIONS_FAIL = 'product/GET_CLSOLUTIONS_FAIL';\n\n// Delivery\nexport const GET_DELIVERY_DETAILS_LOAD = 'GET_DELIVERY_DETAILS_LOAD';\nexport const GET_DELIVERY_DETAILS_SUCCESS = 'GET_DELIVERY_DETAILS_SUCCESS';\nexport const GET_DELIVERY_DETAILS_FAILED = 'GET_DELIVERY_DETAILS_FAILED';\n\nexport const SET_APP_PRICE = 'SET_APP_PRICE';\n\nexport const REVIEW_PRODUCT = 'product/REVIEW_PRODUCT';\nexport const REVIEW_PRODUCT_SUCCESS = 'product/REVIEW_PRODUCT_SUCCESS';\nexport const REVIEW_PRODUCT_FAIL = 'product/REVIEW_PRODUCT_FAIL';\n\n// exchange\nexport const SET_EXCHANGE_BALANCE = 'product/SET_EXCHANGE_BALANCE';\n\n// package or coating group (for now used for exchange flow)\nexport const GET_PACKAGE_OR_COATING_GROUP_LOAD = 'product/GET_PACKAGE_OR_COATING_GROUP_LOAD';\nexport const GET_PACKAGE_OR_COATING_GROUP_SUCCESS = 'product/GET_PACKAGE_OR_COATING_GROUP_SUCCESS';\nexport const GET_PACKAGE_OR_COATING_GROUP_FAIL = 'product/GET_PACKAGE_OR_COATING_GROUP_FAIL';\n","import React from 'react';\nimport './CheckoutHeader.scss';\n\nconst CheckoutHeader = props => {\n const { logo, pageTitle, supportEmail, className, logoCenter, client, pathPrefix } = props;\n const dealsKart = logo && logo.indexOf('dealskart') > -1 || false;\n const imgStyle = { height: dealsKart ? '22px' : '34px' };\n return (\n
\n {logo && {pageTitle}\n {logoCenter && {pageTitle}\n {pageTitle &&
{pageTitle}
}\n {supportEmail && {supportEmail}}\n
\n );\n};\nexport default CheckoutHeader;\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from '../../components/BlankLoader/BlankLoader';\n\nconst NotFoundLoadable = Loadable({\n loader: () => import('./NotFound' /* webpackChunkName: 'not-found' */).then(module => module.default),\n loading: () => \n});\n\nexport default NotFoundLoadable;\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst ForgotPasswordLoadable = Loadable({\n loader: () => import('desktop/containers/ForgotPassword/ForgotPassword.js' /* webpackChunkName: 'forgotPassword' */).then(module => module.default),\n loading: () => \n});\n\nexport default ForgotPasswordLoadable;\n","import { langCodeAllowed } from '../locales';\nconst isEmpty = value => value === undefined || value === null || value === '';\n// const join = rules => (value, data, params) => rules.map(rule => rule(value, data, params)).filter(error => !!error)[0];\n\nexport function email(value) {\n let error = null;\n if ((!isEmpty(value) && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(value)) || isEmpty(value)) {\n error = 'Please enter a valid Email';\n }\n return error;\n}\n\nexport function required(value) {\n const len = value ? value.trim().length : 0;\n if (isEmpty(value) || len < 1) {\n return 'This is required';\n }\n}\n\nexport const clPowerRequired = isRequired => value => {\n const len = value ? value.trim().length : 0;\n if (isRequired && (isEmpty(value) || len < 1 || ['Call Me/Email Me for Color', 'Call Me/Email Me for Power'].includes(value))) {\n return 'This is required';\n }\n};\n\nexport function isIfsc(value) {\n if (!/^[A-Za-z]{4}[a-zA-Z0-9]{7}$/i.test(value)) {\n return 'Please enter valid ifsc code.';\n }\n}\n\nexport function minLength(min) {\n return value => {\n if (!isEmpty(value) && value.length < min) {\n return `Must be at least ${min} characters`;\n }\n };\n}\n\nexport function maxLength(max, name) {\n return value => {\n if (!isEmpty(value) && value.length > max) {\n return name ? `${name} can not be more than ${max} characters` : `Must be no more than ${max} characters`;\n }\n };\n}\n\nexport function integer(value) {\n if ((!isEmpty(value) && !Number.isInteger(Number(value))) || isEmpty(value)) {\n return 'Must be an integer';\n }\n}\n\nexport function oneOf(enumeration) {\n return value => {\n if (!enumeration.includes(value)) {\n return `Must be one of: ${enumeration.join(', ')}`;\n }\n };\n}\n\nexport function match(field) {\n return (value, data) => {\n if (data) {\n if (value !== data[field]) {\n return 'Do not match';\n }\n }\n };\n}\n\n// export function createValidator(rules, params) {\n// return (data = {}) => {\n// const errors = {};\n// Object.keys(rules).forEach(key => {\n// const rule = join([].concat(rules[key])); // concat enables both functions and arrays of functions\n// const error = rule(data[key], data, { key, ...params });\n// if (error) {\n// errors[key] = error;\n// }\n// });\n// return errors;\n// };\n// }\n\nexport function isMobileEmail(value, countryCode) {\n const countryMark = countryCode.countryCode ? countryCode?.countryCode : countryCode?.country;\n const countrySymbol = countryMark && langCodeAllowed.hasOwnProperty(countryMark.toLowerCase()) ? countryMark.toLowerCase() : 'in';\n const { mobileNumberLength, regex } = langCodeAllowed[countrySymbol];\n if (regex.test(value) && value && value.length === mobileNumberLength) {\n return;\n }\n if (/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(value)) {\n return;\n }\n return 'Please enter a valid Email or Mobile Number';\n}\n\nexport function isMobile(value, countryCode) {\n const countryMark = countryCode.countryCode ? countryCode?.countryCode : countryCode?.country;\n const countrySymbol = countryMark && langCodeAllowed.hasOwnProperty(countryMark.toLowerCase()) ? countryMark.toLowerCase() : 'in';\n const { mobileNumberLength, regex } = langCodeAllowed[countrySymbol];\n\n let error = null;\n if (!regex.test(value) || value.length !== mobileNumberLength) {\n error = 'Please enter a valid Mobile Number';\n }\n return error;\n}\n\nexport function isName(val) {\n let error = null;\n if (val && !val.trim()) {\n error = 'Only spaces are not allowed';\n } else if ((val && (val.length < 1)) || !/^[(a-zA-Z )]+$/.test(val)) {\n error = 'Only alphabets and space are allowed';\n }\n return error;\n}\n\nexport function validateAlphabets(val) {\n let error;\n const len = val ? val.trim().length : 0;\n if (len < 1) {\n error = 'This is a required field.';\n } else if (/\\d/.test(val)) {\n error = 'Only Alphabets are allowed.';\n }\n return error;\n}\n\n/* Credit/Debit card validation */\nexport function validateCardNumber(cardNo) {\n const regx = /^[0-9]{13,18}$/; // This is the standard one /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|6(?:011|5[0-9]{2})[0-9]{12}|(?:2131|1800|35\\d{3})\\d{11})$/;\n return regx.test(cardNo) ? '' : 'Please enter valid card no';\n}\n\nexport function validateExpiryDate(date) {\n const isValidDate = /^[0-9]{2}[\\/][0-9]{2}$/;\n if (!date || !isValidDate.test(date)) return 'Please enter valid expiry date';\n const month = date.toString().slice(0, 2);\n let fullyear = '20';\n const year = date.toString().slice(3);\n if (year.length === 2) {\n fullyear += year;\n }\n const today = new Date();\n const expiryDay = new Date();\n expiryDay.setFullYear(fullyear, month, 0);\n return expiryDay < today || month > 12 ? 'Please enter valid expiry date' : '';\n}\n\nexport function validateCvv(val) {\n return /^[0-9]{3,4}$/.test(val) ? '' : 'Please enter valid cvv';\n}\n/* Credit/Debit card validation */\n\nexport function validateSpecialChars(name) {\n return value => {\n const regex = /[!#@^&?*]/g;\n if (regex.test(value)) {\n return `Special characters ! # @ ^ & ? * are not allowed in ${name}`;\n }\n };\n}\nexport function validateSpecialCharsAddress(name) {\n return value => {\n const regex = /[!@^&?]/g;\n if (regex.test(value)) {\n return `Special characters ! @ ^ & ? are not allowed in ${name}`;\n }\n };\n}\n\nexport function validateName(val, formVals) {\n const fullName = `${val} ${formVals.lastName || ''}`;\n const error = maxLength(100, 'First name + Last name')(fullName);\n if (error) return error;\n}\n","export const GET_HTO_CONFIG = 'GET_HTO_CONFIG';\nexport const GET_HTO_CONFIG_SUCCESS = 'GET_HTO_CONFIG_SUCCESS';\nexport const GET_HTO_CONFIG_FAIL = 'GET_HTO_CONFIG_FAIL';\n\nexport const GET_LOCATION_SERVICE_DETAILS = 'GET_LOCATION_SERVICE_DETAILS';\nexport const GET_LOCATION_SERVICE_DETAILS_SUCCESS = 'GET_LOCATION_SERVICE_DETAILS_SUCCESS';\nexport const GET_LOCATION_SERVICE_DETAILS_FAIL = 'GET_LOCATION_SERVICE_DETAILS_FAIL';\n\nexport const GET_SLOTS = 'hto/GET_SLOTS';\nexport const GET_SLOTS_SUCCESS = 'hto/GET_SLOTS_SUCCESS';\nexport const GET_SLOTS_FAIL = 'hto/GET_SLOTS_FAIL';\n\nexport const GET_CANCEL_REASONS = 'hto/GET_CANCEL_REASONS';\nexport const GET_CANCEL_REASONS_SUCCESS = 'hto/GET_CANCEL_REASONS_SUCCESS';\nexport const GET_CANCEL_REASONS_FAIL = 'hto/GET_CANCEL_REASONS_FAIL';\n\nexport const CANCEL_HTO_ORDER_LOAD = 'hto/CANCEL_HTO_ORDER_LOAD';\nexport const CANCEL_HTO_ORDER_SUCCESS = 'hto/CANCEL_HTO_ORDER_SUCCESS';\nexport const CANCEL_HTO_ORDER_FAIL = 'hto/CANCEL_HTO_ORDER_FAIL';\n\nexport const GET_AGENT_INFO = 'hto/GET_AGENT_INFO';\nexport const GET_AGENT_INFO_SUCCESS = 'hto/GET_AGENT_INFO_SUCCESS';\nexport const GET_AGENT_INFO_FAIL = 'hto/GET_AGENT_INFO_FAIL';\n\nexport const BOOK_APPOINTMENT = 'hto/BOOK_APPOINTMENT';\nexport const BOOK_APPOINTMENT_SUCCESS = 'hto/BOOK_APPOINTMENT_SUCCESS';\nexport const BOOK_APPOINTMENT_FAIL = 'hto/BOOK_APPOINTMENT_FAIL';\n\nexport const RESET_ERROR_LOCATION_SERVICE_DETAILS = 'hto/RESET_ERROR_LOCATION_SERVICE_DETAILS';\n","import React from 'react';\n\nconst ItemInfo = ({ name, productId, dataLocale }) => (
{name}, {dataLocale.PRODUCT_ID} : {productId}
);\n\nexport default ItemInfo;\n","const sessionStorageHelper = {\n getItem(key) {\n try {\n const value = window.sessionStorage.getItem(key);\n const ngValue = window.sessionStorage.getItem(`ng-${key}`);\n const returnValue = value || ngValue;\n return JSON.parse(returnValue);\n } catch (err) {\n console.log(err);\n return null;\n }\n },\n setItem(key, value) {\n try {\n if (typeof value === 'number') {\n window.sessionStorage.setItem(key, JSON.stringify(value));\n } else {\n window.sessionStorage.setItem(key, JSON.stringify(value || null));\n\n }\n } catch (err) {\n console.log(err);\n }\n },\n removeItem(key) {\n try {\n window.sessionStorage.removeItem(key);\n } catch (err) {\n console.log(err);\n }\n },\n removeItemsWithPattern(pattern) {\n try {\n let sessionStorageLen = window.sessionStorage.length;\n let sessionStorageKey;\n const regex = new RegExp(pattern);\n while (sessionStorageLen--) {\n sessionStorageKey = window.sessionStorage.key(sessionStorageLen);\n if (regex.test(sessionStorageKey)) {\n this.removeItem(sessionStorageKey);\n }\n }\n } catch (err) {\n console.log(err);\n }\n }\n};\n\nexport default sessionStorageHelper;\n","import * as actionTypes from './../../actionTypes/hto';\n\nconst initialState = {\n locationServiceableDetails: null\n};\n\nexport default function hto(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.GET_HTO_CONFIG:\n return Object.assign({}, prevState, {\n loadingHTOConfig: true,\n htoConfig: undefined\n });\n case actionTypes.GET_HTO_CONFIG_SUCCESS:\n return Object.assign({}, prevState, {\n loadingHTOConfig: false,\n htoConfig: action.data\n });\n case actionTypes.GET_HTO_CONFIG_FAIL:\n return Object.assign({}, prevState, {\n loadingHTOConfig: false,\n htoConfig: undefined\n });\n case actionTypes.RESET_ERROR_LOCATION_SERVICE_DETAILS:\n return Object.assign({}, prevState, {\n loadingLocationServiceableDetails: false,\n locationServiceableDetails: null,\n googleZeroResult: action.flag\n });\n case actionTypes.GET_LOCATION_SERVICE_DETAILS:\n return Object.assign({}, prevState, {\n loadingLocationServiceableDetails: true,\n locationServiceableDetails: null,\n googleZeroResult: action.flag,\n cancelledOrder: null\n });\n case actionTypes.GET_LOCATION_SERVICE_DETAILS_SUCCESS:\n return Object.assign({}, prevState, {\n loadingLocationServiceableDetails: false,\n locationServiceableDetails: action.data.result\n });\n case actionTypes.GET_LOCATION_SERVICE_DETAILS_FAIL:\n return Object.assign({}, prevState, {\n loadingLocationServiceableDetails: false,\n locationServiceableDetails: undefined\n });\n case actionTypes.GET_SLOTS:\n return Object.assign({}, prevState, {\n loadingSlotDetails: true,\n slotDetails: null,\n cancelledOrder: null\n });\n case actionTypes.GET_SLOTS_SUCCESS:\n return Object.assign({}, prevState, {\n loadingSlotDetails: false,\n slotDetails: action.result\n });\n case actionTypes.GET_SLOTS_FAIL:\n return Object.assign({}, prevState, {\n loadingSlotDetails: false,\n slotDetails: null\n });\n case actionTypes.GET_CANCEL_REASONS:\n return Object.assign({}, prevState, {\n cancelledOrder: null,\n loadingAppointmentCancelReasons: true,\n appointmentCancelReasons: null\n });\n case actionTypes.GET_CANCEL_REASONS_SUCCESS:\n return Object.assign({}, prevState, {\n loadingAppointmentCancelReasons: false,\n appointmentCancelReasons: action.data && action.data.reasons\n });\n case actionTypes.GET_CANCEL_REASONS_FAIL:\n return Object.assign({}, prevState, {\n loadingAppointmentCancelReasons: false,\n appointmentCancelReasons: null\n });\n case actionTypes.CANCEL_HTO_ORDER_LOAD:\n return Object.assign({}, prevState, {\n processingCancelOrder: true,\n cancelledOrder: null\n });\n case actionTypes.CANCEL_HTO_ORDER_SUCCESS:\n return Object.assign({}, prevState, {\n processingCancelOrder: false,\n cancelledOrder: action.result,\n appointmentInfo: null\n });\n case actionTypes.CANCEL_HTO_ORDER_FAIL:\n return Object.assign({}, prevState, {\n processingCancelOrder: false,\n cancelledOrder: action.error\n });\n case actionTypes.GET_AGENT_INFO:\n return Object.assign({}, prevState, {\n loadingAgentInfo: true,\n agentInfo: null\n });\n case actionTypes.GET_AGENT_INFO_SUCCESS:\n return Object.assign({}, prevState, {\n loadingAgentInfo: false,\n agentInfo: action.result\n });\n case actionTypes.GET_AGENT_INFO_FAIL:\n return Object.assign({}, prevState, {\n loadingAgentInfo: false,\n agentInfo: null\n });\n case actionTypes.BOOK_APPOINTMENT:\n return Object.assign({}, prevState, {\n isBookingProcessing: true,\n appointmentInfo: null\n });\n case actionTypes.BOOK_APPOINTMENT_SUCCESS:\n return Object.assign({}, prevState, {\n isBookingProcessing: false,\n appointmentInfo: action.result\n });\n case actionTypes.BOOK_APPOINTMENT_FAIL:\n return Object.assign({}, prevState, {\n isBookingProcessing: false,\n appointmentInfo: action.error\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Spinner from '../Spinner/Spinner';\n\nconst FrameSizeLoadable = Loadable({\n loader: () => import(/* webpackChunkName: 'FrameSize' */ './FrameSize').then(module => module.default),\n loading: () => \n});\n\nexport default FrameSizeLoadable;\n","export const RESET_USER_SAVED_CARDS = 'savedCards/RESET_USER_SAVED_CARDS';\nexport const GET_USER_SAVED_CARDS_LOAD = 'savedCards/GET_USER_SAVED_CARDS_LOAD';\nexport const GET_USER_SAVED_CARDS_SUCCESS = 'savedCards/GET_USER_SAVED_CARDS_SUCCESS';\nexport const GET_USER_SAVED_CARDS_FAIL = 'savedCards/GET_USER_SAVED_CARDS_FAIL';\n\nexport const GET_USER_SAVED_CARDS_OFFER_SUCCESS = 'savedCards/GET_USER_SAVED_CARDS_OFFER_SUCCESS';\nexport const GET_USER_SAVED_CARDS_OFFER_FAIL = 'savedCards/GET_USER_SAVED_CARDS_OFFER_FAIL';\n\nexport const DELETE_USER_SAVED_CARD_LOAD = 'savedCards/DELETE_USER_SAVED_CARD_LOAD';\nexport const DELETE_USER_SAVED_CARD_SUCCESS = 'savedCards/DELETE_USER_SAVED_CARD_SUCCESS';\nexport const DELETE_USER_SAVED_CARD_FAIL = 'savedCards/DELETE_USER_SAVED_CARD_FAIL';\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst MyAccountLoadable = Loadable({\n loader: () => import('desktop/containers/MyAccount/MyAccount.js' /* webpackChunkName: 'pageAccount' */).then(module => module.default),\n loading: () => \n});\n\nexport default MyAccountLoadable;\n","// import React from 'react';\nimport Loadable from 'react-loadable';\n// import Loader from '../../components/BlankLoader/BlankLoader';\n\nconst HomeLoadable = Loadable({\n loader: () => import(/* webpackChunkName: 'home' */ 'desktop/containers/Home/Home.js').then(module => module.default),\n loading: () => null\n});\n\nexport default HomeLoadable;\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst SuccessLoadable = Loadable({\n loader: () => import('desktop/containers/Success/Success.js' /* webpackChunkName: 'success' */).then(module => module.default),\n loading: () => \n});\n\nexport default SuccessLoadable;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport config from 'config';\nimport * as actionTypes from '../actionTypes/order';\nimport getSetCookie from '../cookie';\nimport apiClient from '../helpers/apiClient';\n\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\n\nlet _client = null;\n\nfunction* getOrder({ data: { orderId, dontInitSession, email, isExchange, isMyAcct } }) {\n let url = isMyAcct ? config.apiPath.getOrderDetailsInv : `${config.apiPath.v2Orders}/`;\n const successAction = { type: actionTypes.GET_ORDER_SUCCESS };\n const errorAction = { type: actionTypes.GET_ORDER_FAIL };\n const client = { ..._client };\n const client2 = { ...client };\n const header = isExchange ? { 'X-Service-Type': 'exchange' } : null;\n client.setHeader(header);\n client2.setHeader();\n if (__SERVER__) {\n url = `${url}${orderId || client.req.cookies.orderId}${email ? `?email=${email}` : ''}`;\n } else if (__CLIENT__) {\n if (getSetCookie.getCookie('uploadPrescriptonSMS') !== '') {\n url = `${url}${getSetCookie.getCookie('orderId')}?sha1Email=${getSetCookie.getCookie('uploadPrescriptonSMS')}`;\n } else {\n url = `${url}${orderId || getSetCookie.getCookie('orderId')}`;\n url = email ? `${url}?email=${email}` : url;\n }\n }\n try {\n if (xApiClient === 'mobilesite') {\n const responseData = {};\n const data = yield call(async () => client.get(url));\n responseData.result = isMyAcct ? data.result.orders[0] : data.result;\n successAction.data = responseData;\n } else {\n const data = yield call(async () => client.get(url));\n successAction.data = data;\n }\n yield put(successAction);\n } catch (err) {\n if (err.status === 401 && __CLIENT__ && !dontInitSession) {\n const data = yield call(async () => client.post(config.apiPath.userSession));\n getSetCookie.setCookie('frontend', data && data.result ? data.result.id : '', 30);\n }\n errorAction.error = err;\n yield put(errorAction);\n }\n}\n\nfunction* getRecentOrder({ pageNo, pageSize }) {\n const url = config.apiPath.v2Orders + '?page=' + pageNo + '&page-size=' + pageSize;\n const successAction = { type: actionTypes.PREV_ORDER_SUCCESS };\n const errorAction = { type: actionTypes.PREV_ORDER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => _client.get(url));\n successAction.data = data;\n yield put(successAction);\n } catch (err) {\n errorAction.error = err;\n yield put(errorAction);\n }\n}\n\nexport function* runOrderCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.GET_ORDER, getOrder),\n takeLatest(actionTypes.PREV_ORDER_LOAD, getRecentOrder)\n ]);\n}\n","import { call, put, takeLatest, all, takeEvery } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/success';\nimport { SET_ORDER, POWER_SUMBMIT_LOAD, POWER_SUMBMIT_FAIL } from '../actionTypes/order';\nimport { GET_POWERS, GET_POWERS_SUCCESS, GET_POWERS_FAIL } from '../actionTypes/editPower';\nimport config from 'config';\nimport getSetCookie from '../cookie';\nimport apiClient from '../helpers/apiClient';\nconst delay = ms => new Promise(res => setTimeout(res, ms));\n\nlet _client = null;\nfunction* getResource(resource, successAction, errorAction) {\n try {\n const client = { ..._client };\n client.setHeader();\n const data = yield call(async () => client.get(resource));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getPowers({ productId, powerType, isEditPower }) {\n let url = `${config.apiPath.dataProduct}${productId}/powers${powerType && powerType !== 'CONTACT_LENS' ? '?power_type=' + powerType : ''}`;\n '#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\n url += powerType && powerType !== 'CONTACT_LENS' ? '&view=consumer' : '';\n '#endif'; // eslint-disable-line\n yield call(getResource, url, { type: isEditPower ? GET_POWERS_SUCCESS : actionTypes.POWERS_DETAIL_SUCCESS, pid: productId, powerType }, { type: isEditPower ? GET_POWERS_FAIL : actionTypes.POWERS_DETAIL_FAIL, pid: productId, powerType });\n}\n\nfunction* getSavedPrescription({ powerType }) {\n const url = `${config.apiPath.getSavedPrescription}${powerType ? '?powerType=' + powerType : ''}`;\n yield call(getResource, url, { type: actionTypes.SAVED_PRESCRIPTION_SUCCESS }, { type: actionTypes.SAVED_PRESCRIPTION_FAIL });\n}\n\nfunction* submitPowers({ itemid, data, userEmail, orderId }) {\n yield put({ type: POWER_SUMBMIT_LOAD });\n const successAction = { type: actionTypes.SUBMIT_POWERS_SUCCESS };\n const errorAction = { type: actionTypes.SUBMIT_POWERS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n let reqUrl = `${config.apiPath.v2Orders}/${orderId || getSetCookie.getCookie('orderId')}/items/${itemid}/prescription`;\n if (userEmail !== '') reqUrl = `${reqUrl}?email=${userEmail}`;\n const dataResult = yield call(async () => client.put(reqUrl, data));\n successAction.data = dataResult;\n successAction.itemId = itemid;\n yield put(successAction);\n yield put({ type: SET_ORDER, orderDetails: dataResult });\n } catch (er) {\n errorAction.error = er;\n errorAction.itemId = itemid;\n yield put(errorAction);\n yield put({ type: POWER_SUMBMIT_FAIL, error: er });\n }\n}\n\nfunction* updatePackages({ itemid, data, orderId }) {\n yield delay(100);\n const successAction = { type: actionTypes.SUBMIT_PACKAGE_SUCCESS };\n const errorAction = { type: actionTypes.SUBMIT_PACKAGE_FAIL };\n const client = Object.assign({}, _client);\n client.defaults.headers = {};\n try {\n const reqUrl = `${config.apiPath.v2Orders}/${orderId || getSetCookie.getCookie('orderId')}/items/${itemid}/package`;\n const dataResult = yield call(async () => client.put(reqUrl, data, {\n headers: {\n 'X-Api-Client': 'desktop',\n 'Cache-Control': 'no-cache, no-store',\n 'X-Auth-Token': '8e8b0816-4c73-4f08-8f7d-022dcd186a91',\n 'X-Session-Token': getSetCookie.getCookie('frontend'),\n }\n }));\n successAction.data = dataResult;\n successAction.itemId = itemid;\n yield put(successAction);\n yield put({ type: SET_ORDER, orderDetails: dataResult });\n } catch (er) {\n errorAction.error = er;\n errorAction.itemId = itemid;\n yield put(errorAction);\n }\n}\n\nfunction* getSubmittedPowers({ itemid, userEmail }) {\n let reqUrl = `${config.apiPath.v2Orders}/${getSetCookie.getCookie('orderId')}/items/${itemid}/prescription`;\n if (userEmail !== '') {\n reqUrl = `${reqUrl}?email=${userEmail}`;\n }\n yield call(getResource, reqUrl, { type: actionTypes.SUBMITTED_POWERS_SUCCESS }, { type: actionTypes.SUBMITTED_POWERS_FAIL });\n}\n\nfunction* getSubmittedOtp({ otp, email }) {\n const successAction = { type: actionTypes.OTP_SUBMISSION_SUCCESS };\n const errorAction = { type: actionTypes.OTP_SUBMISSION_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const reqUrl = `${config.apiPath.v2Orders}/${getSetCookie.getCookie('orderId')}/otp?value=${otp}&email=${email}`;\n const dataResult = yield call(async () => client.put(reqUrl));\n successAction.data = dataResult;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nexport function* runSuccessCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.POWERS_DETAIL_LOAD, getPowers),\n takeEvery(GET_POWERS, getPowers),\n takeLatest(actionTypes.SAVED_PRESCRIPTION_LOAD, getSavedPrescription),\n takeLatest(actionTypes.SUBMITTED_POWERS_LOAD, getSubmittedPowers),\n takeLatest(actionTypes.SUBMIT_POWERS_LOAD, submitPowers),\n takeLatest(actionTypes.OTP_SUBMISSION_LOAD, getSubmittedOtp),\n takeLatest(actionTypes.SUBMIT_PACKAGE_LOAD, updatePackages)\n ]);\n}\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { Link } from 'react-router-dom';\nimport { bindActionCreators } from 'redux';\nimport * as headerActions from '../../../actionCreators/header';\nimport './SearchBar.scss';\nimport Customevent from '../../../utils/Customevent';\nimport { langCodeAllowed } from '../../../locales';\nclass SearchBar extends PureComponent {\n static propTypes = {\n searchData: PropTypes.object\n }\n\n constructor(props) {\n super(props);\n this.focusedData = {};\n this.modifiedSearchResult = [];\n this.state = {\n showTrending: false,\n showSearchResult: false,\n searchInputValue: ''\n };\n }\n\n componentDidMount() {\n window.callback = response => {\n const event = new Customevent('SEARCH_CALLBACK', { detail: { response } });\n event.dispatch();\n };\n }\n\n getSearchResult(context, searchValue, searchData) {\n setTimeout(() => {\n if (searchValue.length) {\n const input = searchValue;\n const redirectPath = `/search?q=${input}`;\n const noOfProducts = searchData && searchData.numberOfProducts;\n window.ReactPixel.default.track('Search', {\n content_type: 'product',\n search_string: searchValue,\n success: 1\n });\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.searchpage.click.searchSuggestion(input, noOfProducts);\n _gaq.push(['_trackEvent', 'Header', 'search', `page: ${document.location.href}${document.location.href}`], ['ninja._trackEvent', 'Header', 'search', `page: ${document.location.href}${document.location.href}`]);\n context.setState({ showTrending: false, showSearchResult: false });\n context.props.history.push(redirectPath);\n }\n }, 300);\n }\n\n escapeHtml(e) {\n const s = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n return e.replace(/[&<>\"']/g, e => {\n return s[e];\n });\n }\n\n searchBarEventHandler(eventType, event) {\n const { headerActions } = this.props;\n switch (eventType) {\n case 'keyup':\n if (event.target.value.length === 0) {\n this.setState({ showTrending: true, showSearchResult: false, searchInputValue: event.target.value.trim() });\n } else if (event.target.value.length > 0 && event.target.value !== this.state.searchInputValue && !Object.keys(this.focusedData).length) {\n this.setState({ showTrending: false, showSearchResult: true, searchInputValue: event.target.value.trim() });\n headerActions.searchInputChange(event.target.value);\n }\n break;\n case 'keydown':\n if (event.which === 38) {\n if (this.focusedData.uniqueId) {\n const currentIndex = this.modifiedSearchResult.findIndex(data => data.uniqueId === this.focusedData.uniqueId);\n const nextSelection = this.modifiedSearchResult[currentIndex - 1] || this.modifiedSearchResult[0];\n document.getElementById(this.modifiedSearchResult[currentIndex].uniqueId).classList.remove('hover');\n document.getElementById(nextSelection.uniqueId).classList.add('hover');\n this.focusedData = nextSelection;\n } else {\n this.focusedData = this.modifiedSearchResult[0];\n document.getElementById(this.focusedData.uniqueId).classList.add('hover');\n }\n event.target.value = this.focusedData.autosuggest;\n }\n if (event.which === 40) {\n if (this.focusedData.uniqueId) {\n const currentIndex = this.modifiedSearchResult.findIndex(data => data.uniqueId === this.focusedData.uniqueId);\n const nextSelection = this.modifiedSearchResult[currentIndex + 1] || this.modifiedSearchResult[0];\n document.getElementById(this.modifiedSearchResult[currentIndex].uniqueId).classList.remove('hover');\n document.getElementById(nextSelection.uniqueId).classList.add('hover');\n this.focusedData = nextSelection;\n } else {\n this.focusedData = this.modifiedSearchResult[0];\n document.getElementById(this.focusedData.uniqueId).classList.add('hover');\n }\n event.target.value = this.focusedData.autosuggest;\n }\n if (event.which === 13) {\n event.preventDefault();\n const input = event.target.value.trim();\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.searchpage.click.searchSuggestion(input);\n this.focusedData = {};\n this.getSearchResult(this, input, '');\n }\n if (event.which === 220 || event.which === 219 || event.which === 221 || event.key === '(' || event.key === ')' || event.key === '?' || event.key === '%') {\n event.preventDefault();\n }\n break;\n case 'focus':\n setTimeout(() => {\n this.setState({ showTrending: true, showSearchResult: false });\n this.focusedData = {};\n }, 200);\n break;\n case 'blur':\n setTimeout(() => {\n this.setState({ showTrending: false, showSearchResult: false });\n this.focusedData = {};\n }, 200);\n break;\n\n default:\n break;\n }\n }\n boldData(searchData, data) {\n const searchDataValue = searchData && searchData.searchMetaData && searchData.searchMetaData.queryParams.q;\n const dataParamValue = searchDataValue && searchDataValue.replace(/[\\])}?[{(]/g, '');\n const searchValue = new RegExp(dataParamValue, 'i');\n return data.replace(searchValue, `${dataParamValue}`);\n }\n\n render() {\n const { searchData, dataLocale, currencyMark, cartData, localeInfo } = this.props;\n const currencyCode = cartData && cartData?.result ? cartData?.result?.currencyCode : dataLocale.CURRENCY_CODE;\n const currencySymbol = currencyMark[currencyCode];\n const { trendingSearch_desktop } = langCodeAllowed[localeInfo.countryCode];\n const { showTrending, showSearchResult } = this.state;\n const popularProducts = [];\n const infields = [];\n const topQueries = [];\n const keywordSuggestions = [];\n if (searchData) {\n searchData.response.products.forEach(data => {\n switch (data.doctype) {\n case 'TOP_SEARCH_QUERIES':\n topQueries.push(data);\n break;\n case 'IN_FIELD':\n infields.push(data);\n break;\n case 'POPULAR_PRODUCTS':\n popularProducts.push(data);\n break;\n case 'KEYWORD_SUGGESTION':\n keywordSuggestions.push(data);\n break;\n default:\n break;\n }\n });\n }\n const matchingLength = keywordSuggestions.length + topQueries.length > 0 || false;\n this.modifiedSearchResult = [].concat(infields, keywordSuggestions, topQueries, popularProducts);\n const { WHAT_ARE_YOU_LOOKING_FOR, MATCHING_KEYWORDS, PRODUCT_RECOMMENDATIONS, TRENDING_SEARCH } = dataLocale;\n return (\n
\n
\n
\n
\n
\n { this.searchBarEventHandler('keydown', event); }}\n onKeyUp={event => { this.searchBarEventHandler('keyup', event); }}\n onBlur={event => { this.searchBarEventHandler('blur', event); }}\n onFocus={event => { this.searchBarEventHandler('focus', event); }}\n />\n this.getSearchResult(this, this.state.searchInputValue, this.props.searchData && this.props.searchData.response)}>\n {searchData && showSearchResult &&
\n
\n {matchingLength &&
{MATCHING_KEYWORDS}
}\n {\n infields.map((data, index) => {\n return (
this.getSearchResult(this, data.autosuggest, this.props.searchData && this.props.searchData.response)} dangerouslySetInnerHTML={{ __html: this.boldData(this.props.searchData, data.autosuggest) }}>\n
);\n })\n }\n {\n keywordSuggestions.map((data, index) => {\n return (
this.getSearchResult(this, data.autosuggest, this.props.searchData && this.props.searchData.response)} dangerouslySetInnerHTML={{ __html: this.boldData(this.props.searchData, data.autosuggest) }}>\n
);\n })\n }\n {\n topQueries.map((data, index) => {\n return (
this.getSearchResult(this, data.autosuggest, this.props.searchData && this.props.searchData.response)} dangerouslySetInnerHTML={{ __html: this.boldData(this.props.searchData, data.autosuggest) }}>\n
);\n })\n }\n
\n
\n {popularProducts.length > 0 &&
{PRODUCT_RECOMMENDATIONS}
}\n {\n popularProducts.map((data, index) => {\n return (
\n \n
\n
\n
\n {\n this.src = 'http://sol-us-prod-1.cloudapp.net/cilory/ina.jpg';\n }}\n />\n
\n
\n
{data.Brand_fq && data.Brand_fq[0]}
\n
\n
\n
\n
{currencySymbol} {data.final_price}
\n
\n \n
);\n })\n }\n\n
\n
}\n {showTrending &&
\n
\n

\n {' '}\n {TRENDING_SEARCH}\n {' '}\n

\n
    \n {\n trendingSearch_desktop?.map((item, index) => {\n return (\n
  • \n \n \n
  • \n );\n })\n }\n
\n
\n
}\n
\n
\n
\n
\n
\n );\n }\n}\n\nconst mapStateToProps = state => ({\n searchData: state.header.searchData,\n dataLocale: state.locale,\n localeInfo: state.common.localeInfo,\n currencyMark: state.common.currencyMark\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n headerActions: bindActionCreators(headerActions, dispatch),\n };\n}\n\n\nexport default connect(mapStateToProps, mapDispatchToProps)(SearchBar);\n","import { App } from 'desktop/containers';\nimport Home from './../desktop/containers/Home/Loadable';\nimport RedisMapping from '../RedisMappingLoadable';\nimport Catalog from 'Catalog/Catalog';\nimport CompareLooks from './../desktop/containers/CompareLooks/Loadable';\nimport Checkout from '../desktop/components/Checkout/Loadable';\nimport Success from './../desktop/containers/Success/Loadable';\nimport Summary from './../desktop/containers/Summary/Loadable';\nimport RetryPayment from '../desktop/containers/RetryPayment/Loadable';\nimport MyAccount from './../desktop/containers/MyAccount/Loadable';\nimport Reviews from './../CommonComponents/ReviewsLoadable';\nimport InstaGallery from './../desktop/components/YotpoWidgets/InstaGalleryLoadable';\n// import OrderStatus from './../desktop/containers/OrderStatus/OrderStatus';\nimport ResetPassword from './../desktop/containers/ResetPassword/Loadable';\nimport ForgotPassword from './../desktop/containers/ForgotPassword/Loadable';\nimport EditPowerContainer from '../desktop/containers/EditPower/EditPowerContainer';\n// import HTO from './../desktop/containers/HTO/HTO';\nimport HTO from '../CommonComponents/HTO/layouts/HTO/Loadable';\n\n// import HTOLoadable from '../desktop/containers/HTO/HTOLoadable';\n// import Category from 'desktop/containers/Category/Loadable';\nimport PreSales from '../desktop/components/Checkout/PreSales/PreSales';\nimport FrameSize from '../CommonComponents/FrameSize/Loadable';\nimport RefundExchangeFallback from '../desktop/containers/RefundExchange/RefundExchangeFallback';\nimport QRCodePayment from '../desktop/containers/QRPayment/Loadable';\nimport ChatBot from '../CommonComponents/ChatBot/Loadable';\nimport SalesRedirect from '../CommonComponents/SalesRedirect';\nimport HTORedirect from '../CommonComponents/HTORedirect/HTORedirect';\nimport JusPayment from '../CommonComponents/JusPayment/JusPayment';\nimport ConfirmJusPayment from '../CommonComponents/JusPayment/ConfirmJusPayment';\n// setTimeout(() => {\n// Checkout.preload();\n// Success.preload();\n// Summary.preload();\n// HTOLoadable.preload();\n// }, 8000);\n\nconst routes = [\n {\n component: App,\n routes: [\n { path: '/(HTO|hto)', component: HTO },\n { path: '/(/*)?', exact: true, component: Home },\n { path: '/promo/:pagename(/*)?', component: Home },\n { path: '/(eyeglasses.html|sunglasses.html|premium-eyeglasses|premium-sunglasses)(/*)?', exact: true, component: Home },\n { path: '/catalog/:id(/*)?', component: Catalog },\n { path: '/category/:id(/*)?', component: Catalog },\n { path: '/catalog/category/view/:id?/:id?/:page?/:page?(/*)?', component: Catalog },\n { path: '/product/:id(/*)?', component: Catalog },\n { path: '/customer-feedback', component: Catalog },\n { path: '/catalog/product/view/:id?/:id?/:page?/:page?/:page?(/*)?', component: Catalog },\n { path: '/compare-looks(/*)?', component: CompareLooks },\n { path: '/(frame-size|frame_size)', component: FrameSize },\n { path: '/customer/account/resetpassword', exact: true, component: ResetPassword },\n { path: '/customer/account/forgotpassword', exact: true, component: ForgotPassword },\n { path: '/customer/*', component: MyAccount },\n { path: '/checkout/onepage/presaleslogin', component: PreSales },\n { path: '/checkout/onepage/success/order-summary', component: Summary },\n { path: '/checkout/onepage/success', component: Success },\n { path: '/checkout/onepage/uploadprescsms', component: Success }, // checkout/((onepage/)uploadprescsms)(?:id)(onepage/success(/))\n { path: '/checkout/onepage/retrypayment', component: RetryPayment },\n { path: '/(checkout/onepage|checkout/onepage/presales)', component: Checkout },\n { path: '/reviews', component: Reviews },\n { path: '/shop-instagram', component: InstaGallery },\n { path: '/editpower/options/view', component: EditPowerContainer },\n { path: '/sales/order/(history/order-detail|return-details|return/products)/:id', component: RefundExchangeFallback }, // fallback support for return exchange sms/email links\n { path: '/sales/order(/*)?', component: SalesRedirect }, // fallback support for mobile sales url\n { path: '/checkout/payment/qr/:id', component: QRCodePayment },\n { path: '/checkout/payment/collect/:id', component: JusPayment },\n { path: '/checkout/payment/confirm', component: ConfirmJusPayment },\n { path: '/support', component: ChatBot },\n { path: '/home-try-on-program-*', component: HTORedirect },\n { component: RedisMapping }\n ]\n }\n];\n\nexport { routes };\n","import './edit-power.scss';\nimport React from 'react';\nimport { provideHooks } from 'redial';\nimport { connect } from 'react-redux';\n// actions\nimport { getOrder } from '../../../actionCreators/order';\nimport { showGlobalHeaderFooter } from '../../../actionCreators/header';\nimport { getQueryParam } from '../../../utils/helper';\nimport sessionStorageHelper from '../../../utils/sessionStorageHelper';\n// components\nimport OrderInfo from './OrderInfo';\nimport CheckoutHeader from '../../components/Checkout/CheckoutHeader/CheckoutHeader';\nimport ZeroPower from './ZeroPower';\nimport ContactLens from './ContactLens';\nimport PowerGlass from './PowerGlass';\nimport Accessories from './Accessories';\nimport ConfirmationModal from './ConfirmationModal';\nimport getSetCookie from '../../../cookie';\nimport { Loader, OrderError, sortCallback } from './power-utils';\n\n@provideHooks({\n fetch: ({ store: { dispatch } }) => {\n dispatch(showGlobalHeaderFooter({ header: false, footer: false }));\n },\n defer: ({ location, store: { dispatch } }) => {\n const query = location.search.substr(1);\n const orderId = getQueryParam(query, 'orderId');\n const email = getQueryParam(query, 'email');\n const updatedBy = getQueryParam(query, 'user');\n if (updatedBy) {\n sessionStorageHelper.setItem('updatedBy', updatedBy);\n }\n if (orderId) {\n getSetCookie.setCookie('orderId', orderId);\n }\n dispatch(getOrder({ orderId, email }));\n }\n})\n\nclass EditPowerContainer extends React.PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n showModal: false\n };\n this.submitCallback = this.submitCallback.bind(this);\n this.hideHandler = this.hideHandler.bind(this);\n this.source = getQueryParam(props.location.search, 'source') || null;\n }\n\n getClassifiedItems(items) {\n const res = { contactLens: [], powerGlass: [], zeroPower: [], accessories: [] };\n if (items == null) return res;\n const r = items.reduce((memo, item) => {\n if (item.powerRequired !== 'POWER_NOT_REQUIRED') {\n if (item.classification === 'contact_lens') memo.contactLens.push(item);\n else memo.powerGlass.push(item);\n } else if (item.lensType === 'ZERO_POWER') memo.zeroPower.push(item);\n else memo.accessories.push(item);\n return memo;\n }, res);\n r.contactLens.sort(sortCallback);\n r.powerGlass.sort(sortCallback);\n r.zeroPower.sort(sortCallback);\n r.accessories.sort(sortCallback);\n return r;\n }\n\n submitCallback(submitValues, item, changedPackage) {\n this.submitValues = submitValues;\n this.submitItem = item;\n this.changedPackage = changedPackage;\n this.setState({ showModal: true });\n }\n\n hideHandler() {\n this.setState({ showModal: false });\n }\n\n render() {\n const { showModal } = this.state;\n const { order = {}, loading, dataLocale = {} } = this.props;\n const { items = [], id, billingAddress = {} } = order;\n const { contactLens = [], powerGlass = [], zeroPower = [], accessories = [] } = this.getClassifiedItems(items);\n const orderLoading = loading || __SERVER__;\n return (\n
\n \n {orderLoading &&
}\n {!orderLoading && (order.id ? (
\n \n
\n
\n {powerGlass && powerGlass.length > 0 && powerGlass.map(d =>
)}\n {contactLens && contactLens.length > 0 && contactLens.map(d =>
)}\n {zeroPower && zeroPower.length > 0 && zeroPower.map(d =>
)}\n {accessories && accessories.length > 0 && accessories.map(d =>
)}\n
\n
) :
)}\n {showModal && }\n
\n );\n }\n}\n\nfunction mapStateToProps(state) {\n const order = state.order.orderDetails ? state.order.orderDetails.result : undefined;\n return {\n order,\n loading: state.order.loading,\n dataLocale: state.locale\n };\n}\n\nexport default connect(mapStateToProps)(EditPowerContainer);\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/store';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* getStoresByAddress({ address, pid }) {\n const successAction = { type: actionTypes.STORE_LOAD_SUCCESS };\n const errorAction = { type: actionTypes.STORE_LOAD_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.storeApi}/stores/nearby?area=${address}&pid=${pid}`));\n successAction.data = data ? data.result : [];\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* createAppointment(data) {\n const successAction = { type: actionTypes.CREATE_APPOINTMENT_SUCCESS };\n const errorAction = { type: actionTypes.CREATE_APPOINTMENT_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(`${config.apiPath.storeApi}/appointments`, data.data));\n successAction.data = response ? response.result : {};\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* storeProductForPincode({ pincode, productId }) {\n const client = { ..._client };\n client.setHeader();\n try {\n yield call(async () => client.post(`${config.apiPath.storeApi}/pincode/${pincode}/product`, { productId }));\n } catch (er) {\n console.log(er);\n }\n}\n\nexport function* runStoreCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.STORE_LOAD, getStoresByAddress),\n takeLatest(actionTypes.CREATE_APPOINTMENT, createAppointment),\n takeLatest(actionTypes.STORE_PRODUCT_FOR_PINCODE, storeProductForPincode)\n ]);\n}\n","import React, { memo } from 'react';\nimport './PowerStatusMessage.scss';\n\nfunction PowerStatusMessage(props) {\n const { message, imgIcon, view, showUploadPrescModal, dataLocale } = props;\n return (\n
\n
\n \n \"Power\n \n
\n
{message}
\n {typeof showUploadPrescModal === 'function' &&
{dataLocale?.VIEW_DETAILS}
}\n
\n );\n}\n\nexport default memo(PowerStatusMessage);\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst ResetPasswordLoadable = Loadable({\n loader: () => import('desktop/containers/ResetPassword/ResetPassword.js' /* webpackChunkName: 'resetPassword' */).then(module => module.default),\n loading: () => \n});\n\nexport default ResetPasswordLoadable;\n","import { call, put, all, takeEvery, select } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/productCarousel';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\nimport { getProductCarouselState } from '../selectors/productCarousel';\n\nlet _client = null;\n\nfunction updateCarouselDataState(productCarousel, categoryId, productList) {\n if (!productCarousel) productCarousel = {};\n productCarousel = Object.assign({}, productCarousel);\n productCarousel[categoryId] = productList || [];\n return productCarousel;\n}\n\nfunction* getProductCarouselData({ categoryId, count }) {\n const successAction = { type: actionTypes.PRODUCTCAROUSEL_DATA_SUCCESS };\n const errorAction = { type: actionTypes.PRODUCTCAROUSEL_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => _client.get(`${config.apiPath.dataCategory}${categoryId}?page-size=${count}&page=0`));\n const productCarousel = yield select(getProductCarouselState);\n if (data.result) {\n data.result = updateCarouselDataState(productCarousel, categoryId, data.result.product_list);\n }\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n const productCarousel = yield select(getProductCarouselState);\n errorAction.data = updateCarouselDataState(productCarousel, categoryId);\n yield put(errorAction);\n }\n}\n\nexport function* runProductCarouselCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeEvery(actionTypes.PRODUCTCAROUSEL_DATA_LOAD, getProductCarouselData)\n ]);\n}\n","import { fork, call, put, take, takeLatest, all, select } from 'redux-saga/effects';\nimport { push } from 'react-router-redux';\nimport config from 'config';\n// import redisConfigPath from 'redis.config.js';\nimport * as actionTypes from '../actionTypes/common';\nimport apiClient from '../helpers/apiClient';\nimport getSetCookie from '../cookie';\nimport * as categoryActionTypes from '../actionTypes/category';\nimport * as productActionTypes from '../actionTypes/product';\nimport * as cmsActionTypes from '../actionTypes/cmsMapping';\nimport { COLLECTION_PAGE_DATA_SUCCESS } from '../actionTypes/collectionPage';\nimport { CHECKOUT_STEP_KEY, GET_PRESALE_INFO_SUCCESS, GET_PRESALE_INFO_FAIL } from '../actionTypes/checkout';\nimport { SET_DATALAYER_EMAIL_MOBILE, RESET_DATALAYER_EMAIL_MOBILE } from '../actionTypes/DataLayer';\nimport { SET_DTM_USERINFO, RESET_DTM_USERINFO } from '../actionTypes/DTM';\nimport { modifyProductData, setProductStaticDTM } from './responseDataManipulator';\nimport { CLEAR_CAMPAIGN_DATA } from '../actionTypes/campaign';\nimport { SET_IS_EXCHANGE } from '../actionTypes/returnExchange';\nimport { getCampaign } from './campaign';\nimport { commonState } from './state';\nimport sessionStorageHelper from '../utils/sessionStorageHelper';\n\nlet _client = null;\nlet _location = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\n\nfunction* getResource(resource, query, pathname, successAction, errorAction, counter, headers) {\n const client = { ..._client };\n client.setHeader();\n try {\n\n const getOptions = headers ? { headers } : undefined;\n const data = yield call(async () => client.get(resource, getOptions));\n successAction.data = data;\n successAction.data.counter = counter || 0;\n if (query !== '') {\n successAction.data.query = query;\n successAction.data.pathname = pathname;\n }\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nasync function wishlist(pid, method, query) {\n const client = { ..._client };\n client.setHeader();\n try {\n const options = {};\n let data;\n if (pid) {\n data = {\n productId: pid\n };\n }\n let response;\n if (method === 'post') {\n response = await client.post(config.apiPath.wishlist + query, data, options);\n } else {\n if (data) {\n options.data = data;\n }\n response = await client[method](config.apiPath.wishlist + query, options);\n }\n return response;\n } catch (er) {\n throw er;\n }\n}\n\nfunction* dittoAuth(reqData) {\n const successAction = { type: actionTypes.DITTO_AUTH_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_AUTH_FAILURE };\n const client = Object.assign({}, _client);\n client.defaults.headers = {};\n const { dittoId } = reqData;\n try {\n client.setHeader();\n const data = yield call(async () => client.get(`${config.apiPath.dittoAuth}${dittoId}`));\n const accessCode = data.result.accessCode;\n const signature = data.result.signature;\n successAction.data = data;\n if (__SERVER__) {\n const setCookie = client.getServerResponse();\n setCookie.cookie('dittoAccessID', accessCode, { domain: '.lenskart.com', path: '/', maxAge: 2700000 });\n setCookie.cookie('dittoSignature', signature, { domain: '.lenskart.com', path: '/', maxAge: 2700000 });\n }\n if (__CLIENT__) {\n getSetCookie.setCookie('dittoAccessID', accessCode, null, 45);\n if (dittoId === 'lenskart') {\n window.sessionStorage.setItem('createDittoSignature', signature);\n } else {\n getSetCookie.setCookie('dittoSignature', signature, null, 45);\n }\n }\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* dittoProfileAuth(reqData) {\n const successProfileAction = { type: actionTypes.DITTO_AUTH_PROFILE };\n const errorAction = { type: actionTypes.DITTO_AUTH_FAILURE };\n const client = Object.assign({}, _client);\n client.defaults.headers = {};\n const { dittoIdList } = reqData;\n try {\n if (Array.isArray(dittoIdList)) {\n const signaturePromise = dittoIdList.map(ditto => client.get(`${config.apiPath.dittoAuth}${ditto.id}`, {\n headers: {\n 'X-Api-Client': xApiClient,\n 'Cache-Control': 'no-cache, no-store',\n 'X-Session-Token': getSetCookie.getCookie('frontend'),\n }\n }));\n const getSignatures = yield Promise.all(signaturePromise.map(p => p.catch(() => undefined)));\n const promises = dittoIdList.map((ditto, index) => client.get(`${config.ditto.vtoUrl}${ditto.id}/frontal-frame/?size=300x240`, {\n headers: {\n 'X-Ditto-Access-Key-Id': getSignatures[index].result.accessCode,\n 'X-Ditto-Signature': getSignatures[index].result.signature\n },\n responseType: 'blob'\n }));\n let getImagesCall = yield Promise.all(promises.map(p => p.catch(() => undefined)));\n getImagesCall.forEach((imageId, index) => {\n if (!imageId) dittoIdList.splice(index, 1);\n });\n getImagesCall = getImagesCall.filter(Boolean);\n const getImages = getImagesCall.map(blob => URL.createObjectURL(blob));\n successProfileAction.data = getImages;\n yield put(successProfileAction);\n }\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getRedisData(path) {\n let redisData = null;\n let redisKey = null;\n let redisKeyArr = [];\n const requestUrl = (__SERVER__ ? config.apiPath.albRedis : config.apiPath.redis);\n const options = {\n headers: {\n 'Content-Type': 'text/html',\n }\n };\n redisData = yield call(async () => _client.get(requestUrl + path, options));\n redisKey = redisData.result[path.indexOf(',') ? path.split(',')[0] : path];\n redisKeyArr = redisKey ? redisKey.split(':') : [];\n return { redisData, redisKey, redisKeyArr };\n}\n\nfunction* getCmsPageData(cmsPageUrl) {\n const pdpcmsSuccessAction = { type: actionTypes.PDP_CMS_POPUP_SUCCESS };\n const pdpcmsErrorAction = { type: actionTypes.PDP_CMS_POPUP_FAIL };\n const client = { ..._client };\n try {\n let cmsData = null;\n let cmsId = null;\n const cmsRedisKeyArr = yield call(getRedisData, cmsPageUrl.cmsPath);\n cmsId = cmsRedisKeyArr.redisKeyArr[1];\n cmsData = yield call(async () => client.getCmsData(cmsId));\n pdpcmsSuccessAction.data = cmsData;\n yield put(pdpcmsSuccessAction);\n } catch (er) {\n pdpcmsErrorAction.error = er;\n yield put(pdpcmsErrorAction);\n }\n}\n\nfunction* getRedisRouter({ path, params, productId, categoryId, location, pageCounter, isBot = false }) {\n const successAction = { type: actionTypes.GET_REDIS_ROUTER_SUCCESS };\n const errorAction = { type: actionTypes.GET_REDIS_ROUTER_FAIL };\n const categorySuccessAction = { type: categoryActionTypes.CATEGORY_DATA_SUCCESS };\n const categoryErrorAction = { type: categoryActionTypes.CATEGORY_DATA_FAIL };\n const saveCategoryToReduxAction = { type: categoryActionTypes.SAVE_CATEGORYDATA_TO_REDUX };\n const productSuccessAction = { type: productActionTypes.PRODUCT_DATA_SUCCESS };\n const cmsSuccessAction = { type: cmsActionTypes.CMS_DATA_SUCCESS };\n const colSuccessAction = { type: COLLECTION_PAGE_DATA_SUCCESS };\n let categoryPageSizeRedisCount = 0;\n const client = { ..._client };\n client.setHeader();\n try {\n let redisData = null;\n let redisKey = null;\n let redisKeyArr = [];\n let categoryData = null;\n let productData = null;\n let section = 'na';\n let cmsData = null;\n let cmsId = null;\n let colData = null;\n const reduxState = yield select(commonState);\n // Fetch category page size count if not there in redis common object\n const pathWithCategoryPageCount = path + ',CATEGORY_PAGE_SIZE_COUNT';\n if (reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT === undefined) path = pathWithCategoryPageCount;\n if (location && location.pathname !== '/search') {\n if (categoryId) {\n section = 'cat';\n } else if (productId) {\n section = 'prod';\n } else if (cmsId) {\n section = 'cms';\n } else {\n const redisInfo = yield call(getRedisData, path) || {};\n redisData = redisInfo.redisData;\n redisKey = redisInfo.redisKey;\n redisKeyArr = redisInfo.redisKeyArr;\n section = redisKeyArr[0] || 'na';\n // Just in case we forget to set redis key\n categoryPageSizeRedisCount = typeof redisData.result[path.split(',')[1]] === 'undefined' ? config.categoryPageSize : redisData.result[path.split(',')[1]];\n\n if (Object.keys(redisData.result).length > 0) {\n if (redisData.result.hasOwnProperty('redirectUrl')) {\n yield put(push(redisData.result.redirectUrl));\n }\n }\n categoryId = redisKeyArr[1];\n productId = redisKeyArr[1];\n cmsId = redisKeyArr[1];\n }\n }\n let isExchange = false;\n let orderId;\n let itemId;\n // ditto auth - get access id and signature\n if (__SERVER__) {\n const getCookies = client.getServerRequestHeader().cookies;\n if (getCookies.isDittoID && !getCookies.dittoSignature) {\n const dittoId = getCookies.isDittoID;\n yield call(dittoAuth, { dittoId });\n }\n if (getCookies.exchangeMethod) {\n isExchange = getCookies.exchangeMethod;\n orderId = getCookies.exchangeOrderId;\n itemId = getCookies.exchangeItemId;\n }\n }\n if (__CLIENT__) {\n if (getSetCookie.getCookie('isDittoID') && !getSetCookie.getCookie('dittoSignature')) {\n const dittoId = getSetCookie.getCookie('isDittoID');\n yield call(dittoAuth, { dittoId });\n }\n const isExchangeSessionValid = sessionStorageHelper.getItem('returnAction') || sessionStorageHelper.getItem('returnProduct')?.returnAction;\n if (getSetCookie.getCookie('exchangeMethod') && isExchangeSessionValid) {\n isExchange = getSetCookie.getCookie('exchangeMethod');\n orderId = getSetCookie.getCookie('exchangeOrderId');\n itemId = getSetCookie.getCookie('exchangeItemId');\n } else {\n isExchange = false;\n }\n }\n if (isExchange && ['cat', 'prod', 'col'].includes(section)) {\n yield put({ type: SET_IS_EXCHANGE, flag: true });\n }\n if (section === 'cat') {\n productId = null;\n cmsId = null;\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? config.categoryPageSize : listPageSize;\n if (__CLIENT__) sessionStorage.removeItem('isReOrderProduct');\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n if (isExchange) {\n const exchangeParams = orderId && itemId ? `orderId=${orderId}&itemId=${itemId}` : '';\n params = params && `${params}&${exchangeParams || ''}` || (exchangeParams || '');\n }\n categoryData = yield call(async () => _client.getCategoryData(categoryId, params, categoryPageSizeRedisCount, pageCounter, isExchange));\n if (xApiClient !== 'mobilesite') {\n yield put({ type: CLEAR_CAMPAIGN_DATA });\n yield fork(getCampaign, { pageContext: 'cat', categoryData: categoryData.result });\n }\n categorySuccessAction.data = categoryData;\n categorySuccessAction.data.result.categoryId = categoryId;\n categorySuccessAction.data.location = _location;\n categorySuccessAction.data.counter = pageCounter;\n categorySuccessAction.data.params = params;\n saveCategoryToReduxAction.data = categoryData;\n saveCategoryToReduxAction.data.result.categoryId = categoryId;\n saveCategoryToReduxAction.data.location = _location;\n yield put(categorySuccessAction);\n yield put(saveCategoryToReduxAction);\n }\n if (section === 'prod') {\n categoryId = null;\n cmsId = null;\n if (isExchange) {\n const exchangeParams = orderId && itemId ? `orderId=${orderId}&itemId=${itemId}` : '';\n params = params && `${params}&${exchangeParams || ''}` || (exchangeParams || '');\n }\n productData = yield call(async () => client.getProductData(productId, params, isExchange));\n const data = productData;\n const modifiedProductData = modifyProductData(data.result, isExchange);\n const staticDTM = setProductStaticDTM(data.result, modifiedProductData, isExchange);\n productSuccessAction.data = data; productSuccessAction.modifiedProductData = modifiedProductData; productSuccessAction.staticDTM = staticDTM;\n if (xApiClient !== 'mobilesite') {\n yield put({ type: CLEAR_CAMPAIGN_DATA });\n yield fork(getCampaign, { pageContext: 'prod', productData: productData.result });\n }\n productSuccessAction.data = productData;\n yield put(productSuccessAction);\n }\n if (section === 'cms') {\n categoryId = null;\n productId = null;\n if (__CLIENT__) sessionStorage.removeItem('isReOrderProduct');\n cmsData = yield call(async () => client.getCmsData(cmsId));\n cmsSuccessAction.data = cmsData;\n cmsSuccessAction.isCollectionData = false;\n yield put(cmsSuccessAction);\n }\n if (section === 'col') {\n const parts = redisKeyArr[1].split('/');\n let jsonFile = parts[parts.length - 1];\n jsonFile = jsonFile.split('.');\n const url = `${config.jsonFireBasePath}/${jsonFile[0]}`;\n colData = yield call(async () => client.get(url));\n cmsSuccessAction.data = colData;\n colSuccessAction.data = colData;\n cmsSuccessAction.isBot = isBot;\n colSuccessAction.isBot = isBot;\n colSuccessAction.url = url;\n if (__CLIENT__) sessionStorage.removeItem('isReOrderProduct');\n cmsSuccessAction.isCollectionData = true;\n yield put(cmsSuccessAction);\n yield put(colSuccessAction);\n }\n if (location.pathname === '/search') {\n productId = null;\n categoryId = null;\n cmsId = null;\n let query = '';\n if (__CLIENT__) sessionStorage.removeItem('isReOrderProduct');\n const reduxState = yield select(commonState);\n const listPageSize = xApiClient === 'mobilesite' ? reduxState.redisCommonData.LISTING_PAGE_SIZE : reduxState.redisCommonData.CATEGORY_PAGE_SIZE_COUNT;\n categoryPageSizeRedisCount = (listPageSize === undefined) ? config.categoryPageSize : listPageSize;\n // In case redis category page count set is not divisible by 3\n // categoryPageSizeRedisCount = validateCategoryListingPageSize(categoryPageSizeRedisCount);\n // ends\n if (__SERVER__) {\n query = _location.indexOf('&') > -1 ? _location.slice(_location.indexOf('=') + 1, _location.indexOf('&')) : _location.slice(_location.indexOf('=') + 1);\n } else {\n query = window.location.search.indexOf('&') > -1 ? window.location.search.slice(window.location.search.indexOf('=') + 1, window.location.search.indexOf('&')) : window.location.search.slice(window.location.search.indexOf('=') + 1);\n }\n query = query.replace(/[\\])}?[{(]/g, '');\n categoryData = yield call(getResource, `${config.apiPath.categorySearch}${query}?page-size=${categoryPageSizeRedisCount}&page=${pageCounter}`, query, location.pathname, categorySuccessAction, categoryErrorAction, pageCounter);\n section = xApiClient === 'mobilesite' ? 'search' : 'cat';\n }\n const redisDataObj = { section, categoryId, productId, redisKey };\n successAction.data = redisDataObj;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* getPresaleInfo() {\n const successAction = { type: GET_PRESALE_INFO_SUCCESS };\n const errorAction = { type: GET_PRESALE_INFO_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.get(config.apiPath.userSession));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* validateSession(successAction, errorAction, path) {\n try {\n const data = yield call(async () => _client.validateSession());\n successAction.data = data;\n yield put(successAction);\n if (data.result.login) {\n if (path) yield put({ type: CHECKOUT_STEP_KEY, key: 2 });\n // Set DataLayer params\n yield put({ type: SET_DATALAYER_EMAIL_MOBILE, data });\n yield put({ type: SET_DTM_USERINFO, data });\n }\n if (path === '/checkout/onepage/presales' || path === '/checkout/onepage/presales/') {\n yield call(getPresaleInfo);\n }\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* validateSessionV2() {\n const successAction = { type: actionTypes.GET_USER_SUCCESS };\n const errorAction = { type: actionTypes.GET_USER_FAIL };\n try {\n const data = yield call(async () => _client.validateSession());\n successAction.data = data;\n yield put(successAction);\n if (data.result.login) {\n // Set DataLayer params\n yield put({ type: SET_DATALAYER_EMAIL_MOBILE, data });\n yield put({ type: SET_DTM_USERINFO, data });\n }\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getRedisCommonData() {\n const action = yield take(actionTypes.GET_REDIS_DATA);\n yield call(getResource, config.apiPath.redisConsole, '', '', { type: actionTypes.GET_REDIS_SUCCESS }, { type: actionTypes.GET_REDIS_FAIL }, 0, { isBot: action.isBot });\n}\n\nfunction* getUserData() {\n const { path } = yield take(actionTypes.GET_USER);\n yield fork(validateSession, { type: actionTypes.GET_USER_SUCCESS }, { type: actionTypes.GET_USER_FAIL }, path);\n}\n\nfunction* setJunoSession() {\n const successAction = { type: actionTypes.LOAD_JUNO_SESSION_API_SUCCESS };\n const errorAction = { type: actionTypes.LOAD_JUNO_SESSION_API_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.customPost(config.apiPath.userSession, null, null, xApiClient, null));\n if (__CLIENT__) getSetCookie.setCookie('frontend', data.result.id, 30);\n successAction.data = data;\n yield put(successAction);\n yield put({ type: RESET_DATALAYER_EMAIL_MOBILE });\n yield put({ type: RESET_DTM_USERINFO });\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* loadShortList(reqData) {\n const successAction = { type: actionTypes.SHORTLIST_SUCCESS };\n const errorAction = { type: actionTypes.SHORTLIST_FAIL };\n const { pid, method, query } = reqData;\n try {\n const data = yield call(async () => wishlist(pid, method, query));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* deleteShortlist(reqData) {\n const successAction = { type: actionTypes.SHORTLIST_DELETE_SUCCESS };\n const { pid, method, query } = reqData;\n try {\n const data = yield call(async () => wishlist(pid, method, query));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n console.log('delete shorlist error: ', er);\n }\n}\n\nfunction* addShortlist(reqData) {\n const successAction = { type: actionTypes.SHORTLIST_ADD_SUCCESS };\n const { pid, method, query } = reqData;\n try {\n const data = yield call(async () => wishlist(pid, method, query));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n console.log('add shorlist error: ', er);\n }\n}\n\nfunction* getUserInfo() {\n const successAction = { type: actionTypes.GET_USER_SUCCESS };\n const errorAction = { type: actionTypes.GET_USER_FAIL };\n const requestUrl = (__SERVER__ ? config.apiPath.albGetUserInfo : config.apiPath.getUserInfo);\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const data = yield call(async () => client.get(requestUrl));\n const dittoId = data.result.dittos && data.result.dittos[0];\n if (dittoId) {\n yield call(dittoAuth, { dittoId });\n }\n successAction.data = data;\n successAction.data.result.login = true;\n if (__CLIENT__) getSetCookie.setCookie('hasPlacedOrder', data.result.hasPlacedOrder, 30);\n yield put(successAction);\n yield put({ type: SET_DATALAYER_EMAIL_MOBILE, data });\n yield put({ type: SET_DTM_USERINFO, data });\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getDittoProfiles() {\n const successAction = { type: actionTypes.DITTO_PROFILE_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_PROFILE_FAILURE };\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const data = yield call(async () => client.get(config.apiPath.dittoProfile));\n const dittoIdList = data.result.dittoId;\n const dittoId = data.result.defaultDittoId;\n yield call(dittoProfileAuth, { dittoIdList });\n yield call(dittoAuth, { dittoId });\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* saveDittoName({ dittoNameObj }) {\n const successAction = { type: actionTypes.DITTO_NAME_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_NAME_FAILURE };\n const client = Object.assign({}, { ..._client });\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.dittoProfile, dittoNameObj));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* setDitto(reqData) {\n const successAction = { type: actionTypes.DITTO_DEFAULT_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_DEFAULT_FAILURE };\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const { dittoId } = reqData;\n yield call(dittoAuth, { dittoId });\n const data = yield call(async () => client.put(config.apiPath.dittoProfile + dittoId));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* deleteDitto(reqData) {\n const successAction = { type: actionTypes.DITTO_DELETE_SUCCESS };\n const errorAction = { type: actionTypes.DITTO_DELETE_FAILURE };\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const data = yield call(async () => client.delete(config.apiPath.dittoProfile + reqData.dittoId));\n const dittoIdList = data.result.dittoId;\n const dittoId = data.result.defaultDittoId;\n yield call(dittoProfileAuth, { dittoIdList });\n yield call(dittoAuth, { dittoId });\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getCountryData({ code }) {\n const successAction = { type: actionTypes.COUNTRY_DATA_SUCCESS };\n const errorAction = { type: actionTypes.COUNTRY_DATA_FAIL };\n const client = Object.assign({}, _client);\n try {\n const response = yield call(async () => client.get(config.apiPath.countryCode + code));\n successAction.data = response.result.data;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error.data;\n yield put(errorAction);\n }\n}\nfunction* getAudienceType() {\n if (getSetCookie.getCookie('userip') && !getSetCookie.getCookie('audienceType')) {\n const client = Object.assign({}, _client);\n const ip = getSetCookie.getCookie('userip');\n client.setHeader();\n try {\n const response = yield call(async () => client.get(config.apiPath.userLocation + ip));\n getSetCookie.setCookie('audienceType', response.result.audienceType, { path: '/', domain: '.lenskart.com' });\n } catch (error) {\n getSetCookie.setCookie('audienceType', 'default', { path: '/', domain: '.lenskart.com' });\n console.log('audience type failed...');\n }\n }\n}\n\nfunction* getCustomerInfo({ customerId }) {\n const successAction = { type: actionTypes.GET_CUSTOMER_INFO_SUCCESS };\n const errorAction = { type: actionTypes.GET_CUSTOMER_INFO_FAIL };\n const client = { ..._client };\n client.setHeader({ 'X-Auth-Token': '8e8b0816-4c73-4f08-8f7d-022dcd186a91' });\n try {\n const response = yield call(async () => client.get(`${config.apiPath.getCustomerInfo}${customerId}`));\n successAction.data = response;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error.data;\n yield put(errorAction);\n }\n}\n\nfunction* passUtmData(utmDataObj) {\n const successAction = { type: actionTypes.PASS_UTM_DATA_SUCCESS };\n const errorAction = { type: actionTypes.PASS_UTM_DATA_FAIL };\n const client = Object.assign({}, { ..._client });\n client.setHeader();\n try {\n const data = yield call(async () => client.post(config.apiPath.passUtmData, utmDataObj?.data));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nexport function* runCommonCalls(client, location) {\n _client = client ? Object.assign({}, client) : apiClient();\n _location = location;\n yield all([\n takeLatest(actionTypes.GET_REDIS_ROUTER_LOAD, getRedisRouter),\n fork(getRedisCommonData),\n fork(getUserData),\n takeLatest(actionTypes.LOAD_JUNO_SESSION, setJunoSession),\n takeLatest(actionTypes.SHORTLIST_LOAD, loadShortList),\n takeLatest(actionTypes.SHORTLIST_DELETE, deleteShortlist),\n takeLatest(actionTypes.GET_USER_LOAD, getUserInfo),\n takeLatest(actionTypes.SHORTLIST_ADD, addShortlist),\n takeLatest(actionTypes.DITTO_PROFILE_LOAD, getDittoProfiles),\n takeLatest(actionTypes.DITTO_NAME_SAVE, saveDittoName),\n takeLatest(actionTypes.DITTO_DEFAULT_SET, setDitto),\n takeLatest(actionTypes.DITTO_DELETE, deleteDitto),\n takeLatest(actionTypes.DITTO_AUTH_LOAD, dittoAuth),\n takeLatest(actionTypes.VALIDATE_SESSION, validateSessionV2),\n takeLatest(actionTypes.COUNTRY_DATA_LOAD, getCountryData),\n takeLatest(actionTypes.PDP_CMS_POPUP_LOAD, getCmsPageData),\n takeLatest(actionTypes.AUDIENCE_TYPE_LOAD, getAudienceType),\n takeLatest(actionTypes.GET_CUSTOMER_INFO_LOAD, getCustomerInfo),\n takeLatest(actionTypes.PASS_UTM_DATA_LOAD, passUtmData)\n ]);\n}\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport SearchBar from '../SearchBar/SearchBar';\nimport LoginPanel from './LoginPanel';\nimport Cart from './Cart/Cart';\nimport Navigation from './Navigation/Navigation';\nimport ErrorBoundaries from './../ErrorBoundaries/ErrorBoundary';\nimport Logo from './Logo';\nimport * as commonCallsActionCreators from '../../../actionCreators/common';\nimport * as registerActions from '../../../actionCreators/auth';\nimport * as cartActions from '../../../actionCreators/cart';\nimport * as dittoCallsActionCreators from '../../../actionCreators/ditto';\nimport './MainNav.scss';\nimport AuthModal from 'desktop/components/AuthModal/AuthModalLoadable';\nimport getSetCookie from '../../../cookie';\nimport { getQueryParam, debounce, hideRepeatUserElem } from '../../../utils/helper';\nimport { Link } from 'react-router-dom';\n// import LottieHeartIcon from '../../../CommonComponents/Lotties/LottieHeartIcon';\nclass MainNav extends Component {\n\n static propTypes = {\n mainNavigationData: PropTypes.any,\n loginStatus: PropTypes.bool,\n loginLoader: PropTypes.bool,\n showCart: PropTypes.bool,\n userInfo: PropTypes.any,\n login: PropTypes.bool,\n shortListData: PropTypes.object,\n cartData: PropTypes.object,\n toggleCart: PropTypes.func,\n isCartCount: PropTypes.any,\n isWishlistCount: PropTypes.number,\n redisCommonData: PropTypes.any\n }\n\n constructor(props) {\n super(props);\n this.handleScroll = debounce(this.handleScroll.bind(this), 300);\n const type = getQueryParam(this.props.location.search.substr(1), 'type');\n this.state = {\n showGoldAdded: true,\n showMenu: true,\n userSelectedMenuVisibility: false,\n scrolledToTop: true,\n showLoginPopUp: Boolean(type) || false,\n openTab: 'signin'\n };\n this.isRepeatUser = null;\n this.checkRepeatUser = this.checkRepeatUser.bind(this);\n }\n\n componentDidMount() {\n window.addEventListener('scroll', this.handleScroll);\n }\n\n componentDidUpdate(prevProps) {\n const { cartData, isCartCount, cartActions, userInfo, dittoCallsAction, askUserLogin, loginStatus, commonCallsAction, location } = this.props;\n if (prevProps.isCartCount !== isCartCount && isCartCount > 0 && cartData.result.items.length === 0) {\n cartActions.getCart();\n }\n if (getSetCookie.getCookie('isDittoID') === '' && userInfo && userInfo.result.dittos && userInfo.result.dittos.length && Boolean(parseInt(getSetCookie.getCookie('isLogined'), 10))) {\n const dittoId = userInfo.result.dittos[0];\n if (dittoId) {\n getSetCookie.setCookie('isDittoID', dittoId);\n localStorage.setItem('ditto-platform', userInfo.result.ditto && userInfo.result.ditto.platform);\n }\n }\n if (prevProps.userInfo !== userInfo && (getSetCookie.getCookie('guest_dittoid') !== '' && getSetCookie.getCookie('isLogined') === '1')) {\n dittoCallsAction.saveUpdateDitto(getSetCookie.getCookie('isDittoID'));\n dittoCallsAction.addNewDitto(getSetCookie.getCookie('isDittoID'));\n commonCallsAction.dittoAuth(getSetCookie.getCookie('isDittoID'));\n localStorage.setItem('ditto-platform', 'desktop');\n document.cookie = 'guest_dittoid=;expires=Thu, 01 Jan 1970 00:00:00 GMT;domain=.lenskart.com;path=/';\n }\n if ((!loginStatus && prevProps.askUserLogin !== askUserLogin && askUserLogin)) {\n this.openLoginPopup();\n }\n if ((loginStatus && window.location.pathname.indexOf('/customer/') !== -1 && prevProps.askUserLogin !== askUserLogin && !askUserLogin)) {\n this.closeLoginPopup();\n }\n\n // This condition is case when user comes from retrypayment page.\n if (location.state && location.state.redirectUrl && prevProps.loginStatus !== loginStatus && loginStatus) {\n window.location.href = 'https://www.lenskart.com/customer/account/#/';\n }\n if (location.pathname === '/' && prevProps.loginStatus !== loginStatus) {\n this.checkRepeatUser();\n }\n window.onpopstate = () => {\n if (location.pathname === '/') {\n sessionStorage.setItem('backTrigger', 'true');\n }\n };\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll);\n }\n\n openLoginPopup = () => {\n this.setState({\n showLoginPopUp: true,\n openTab: 'signin'\n });\n }\n closeLoginPopup = () => {\n clearInterval(window.secondsTimer);\n this.setState({\n showLoginPopUp: false\n });\n }\n\n handleScroll() {\n const scrollTop = (window.pageYOffset !== undefined) ? window.pageYOffset : document.documentElement.scrollTop;\n const { section } = this.props;\n if (scrollTop > 30) {\n if (!this.props.isYotpoWidgets) {\n this.props.commonCallsAction.setYotpoWidgetsState({ isYotpoWidgets: true });\n }\n if (!this.state.userSelectedMenuVisibility) {\n this.setState({ showMenu: false, scrolledToTop: false });\n if (section === 'cat') {\n document.body.classList.add('scrolltop');\n }\n } else {\n this.setState({ scrolledToTop: false });\n if (section === 'cat') {\n document.body.classList.remove('scrolltop');\n }\n }\n } else {\n this.setState({ showMenu: true, scrolledToTop: true });\n if (section === 'cat') {\n document.body.classList.remove('scrolltop');\n }\n }\n }\n\n cartOmniture(data) {\n const { userInfo, login } = this.props;\n const cxid = userInfo === null ? '' : userInfo.result.id;\n let productId = '';\n let cartLenskartPrice = '';\n let quanTityValue = '';\n let productTypeValue = '';\n let productBrandValue = '';\n let productFrameSizeValue = '';\n let productNameValue = '';\n let productOptionValue = '';\n let productPackageNameValue = '';\n let productCoatingValue = '';\n let frameTypeValue = '';\n const cartProductId = [];\n const lenskartPrice = [];\n const quanTity = [];\n const productType = [];\n const productBrand = [];\n const productFrameSize = [];\n const productName = [];\n const productOption = [];\n const productCoating = [];\n const productPackageName = [];\n const subCategory = [];\n let subCategoryStr = '';\n const addOn = [];\n let optionsPrice = {};\n const frametype = [];\n\n data.forEach(cartItem => {\n subCategory.push(cartItem.subcategory);\n subCategoryStr = subCategory.toString().replace(/,/g, '|').toLowerCase();\n cartProductId.push(cartItem.productId);\n productId = cartProductId.toString().replace(/,/g, '|').toLowerCase();\n quanTity.push(cartItem.quantity);\n quanTityValue = quanTity.toString().replace(/,/g, '|').toLowerCase();\n productType.push(cartItem.productTypeValue);\n productTypeValue = productType.toString().replace(/,/g, '|').toLowerCase();\n productFrameSize.push(cartItem.frameSize);\n productFrameSizeValue = productFrameSize.toString().replace(/,/g, '|').toLowerCase();\n productBrand.push(cartItem.brandName);\n productBrandValue = productBrand.toString().replace(/,/g, '|').toLowerCase();\n productName.push(cartItem.name);\n productNameValue = productName.toString().replace(/,/g, '|').toLowerCase();\n frametype.push(cartItem.frameType);\n frameTypeValue = frametype.toString().replace(/,/g, '|').toLowerCase();\n if (cartItem.catalogPrices.length > 2) {\n lenskartPrice.push(cartItem.catalogPrices[2].value);\n cartLenskartPrice = lenskartPrice.toString().replace(/,/g, '|').toLowerCase();\n } else {\n cartItem.catalogPrices.forEach(prices => {\n if (prices.name === 'Lenskart Price') {\n lenskartPrice.push(prices.value);\n cartLenskartPrice = lenskartPrice.toString().replace(/,/g, '|').toLowerCase();\n }\n });\n }\n if (cartItem.options.length >= 1) {\n productOption.push(cartItem.options[0].type);\n productOptionValue = productOption.toString().replace(/,/g, '|').toLowerCase();\n productPackageName.push(cartItem.options[0].name);\n productPackageNameValue = productPackageName.toString().replace(/,/g, '|').toLowerCase();\n if (cartItem.options.length > 1 && cartItem.options[1].type === 'COATING') {\n productCoating.push('Yes');\n productCoatingValue = productCoating.toString().replace(/,/g, '|').toLowerCase();\n } else {\n productCoating.push('No');\n productCoatingValue = productCoating.toString().replace(/,/g, '|').toLowerCase();\n }\n }\n cartItem.options.forEach(productOptionsType => {\n productOptionsType.catalogPrices.forEach(catalogOptions => {\n optionsPrice = catalogOptions.value;\n });\n addOn.push({ addonid: productOptionsType.oid, addontype: productOptionsType.type, addonprice: optionsPrice, addonbaseproduct: cartItem.productId });\n });\n });\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.slideCart.click.cartSummary(cxid, productId, cartLenskartPrice, quanTityValue, productBrandValue, productTypeValue, productOptionValue, productPackageNameValue, productCoatingValue, addOn, login, frameTypeValue, subCategoryStr, productFrameSizeValue, productNameValue);\n }\n sessionStorage.setItem('dtmOnLoadData', 'cartSummary');\n\n }\n\n hideCart = () => {\n this.props.commonCallsAction.toggleCart(false);\n }\n\n hideGoldAdded = () => {\n this.setState({ showGoldAdded: false });\n }\n\n showWishList = () => {\n const { shortListData, wishlistTrue, section, loginStatus, commonCallsAction } = this.props;\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.header.click.headerClick(section, 'shortlist', loginStatus);\n const productId = [];\n if (shortListData.result.numberOfProducts > 0) {\n if (shortListData.result.productList) {\n shortListData.result.productList.forEach(data => {\n productId.push(data.id);\n });\n }\n }\n if (wishlistTrue === false) {\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.Listing.load.headerShortlist(productId.toString());\n commonCallsAction.showWishlist(true);\n } else {\n commonCallsAction.showWishlist(false);\n }\n }\n\n showMenu = () => {\n this.setState({ showMenu: true, userSelectedMenuVisibility: true });\n }\n\n hideMenu = () => {\n this.setState({ showMenu: false, userSelectedMenuVisibility: false });\n }\n cartClickHandler = () => {\n const { section, loginStatus, commonCallsAction } = this.props;\n window.dtm.actiontype = 'view';\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.header.click.headerClick(section, 'CART', loginStatus);\n commonCallsAction.toggleCart(true);\n }\n checkRepeatUser() {\n const { userInfo } = this.props;\n if (userInfo && userInfo?.result?.hasPlacedOrder) {\n this.isRepeatUser = true;\n sessionStorage.setItem('isRepeatUser', 'true');\n } else {\n this.isRepeatUser = false;\n sessionStorage.removeItem('isRepeatUser');\n }\n const hideElem = document.getElementsByClassName('hide-repeat');\n if (hideElem) {\n hideRepeatUserElem(this.isRepeatUser, hideElem);\n }\n }\n\n render() {\n const { section, shortListData, loginStatus, cartData, location, appLogo, askUserLogin, login, registerActions, dataLocale } = this.props;\n const { GOLD_ADDED_POPUP_HTML, TRACK_ORDER, SHORTLIST, CART } = dataLocale || {};\n const locationQuery = location.search;\n const loyaltyAddedHtml = GOLD_ADDED_POPUP_HTML || '';\n let isLoyaltyProductAdded = false;\n if (cartData && cartData.result) {\n cartData.result.items.forEach(data => {\n if (!isLoyaltyProductAdded && data.classification === 'loyalty_services') {\n isLoyaltyProductAdded = true;\n }\n });\n }\n const navData = this.props.mainNavigationData && this.props.mainNavigationData.header;\n const rightNavData = this.props.mainNavigationData && this.props.mainNavigationData.rightBarNav;\n return (\n
\n
\n {(this.state.showLoginPopUp || location.search.indexOf('type=login') > -1) &&\n {\n clearInterval(window.secondsTimer);\n this.setState({\n showLoginPopUp: false\n });\n }}\n />}\n {this.props.showCart &&\n { this.cartOmniture(data); }} hideHandler={this.hideCart} />}\n
\n
\n
\n \n {\n !this.state.scrolledToTop && this.state.showMenu && this.state.userSelectedMenuVisibility &&\n this.hideMenu()}>\n }\n
\n \n
\n
\n {\n this.setState({\n showLoginPopUp: true,\n openTab: 'signin'\n });\n registerActions.resetMobileLoginProps();\n }}\n openSignUpTab={() => {\n this.setState({\n showLoginPopUp: true,\n openTab: 'signup'\n });\n }}\n />\n
\n { window.dtm.LenskartRewamp.header.click.headerClick(section, 'track-order', loginStatus); }}>\n
\n {TRACK_ORDER}\n
\n \n
\n \n \n
\n
\n {locationQuery && locationQuery.indexOf('gold_add=1') !== -1 && isLoyaltyProductAdded &&\n
\n }\n
\n \n
\n
\n
\n );\n }\n}\n\nconst mapStateToProps = state => ({\n toggleCart: state.common.toggleCart,\n showCart: state.common.showCart,\n isCartCount: state.common.isCartCount,\n isWishlistCount: state.common.isWishlistCount,\n cartData: state.cart.cartData,\n productData: state.product.productData,\n categoryData: state.category.categoryData,\n login: state.common.login,\n appLogo: state.common.appLogo,\n userInfo: state.common.userInfo,\n askUserLogin: state.common.askUserLogin,\n isYotpoWidgets: state.common.isYotpoWidgets,\n dataLocale: state.locale\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n commonCallsAction: bindActionCreators(commonCallsActionCreators, dispatch),\n cartActions: bindActionCreators(cartActions, dispatch),\n registerActions: bindActionCreators(registerActions, dispatch),\n dittoCallsAction: bindActionCreators(dittoCallsActionCreators, dispatch)\n };\n}\n\nMainNav.defaultProps = {\n redisCommonData: {}\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MainNav);\n","import './spinner.scss';\nimport React from 'react';\n\nconst Spinner = props => (\n
\n);\n\nexport default Spinner;\n","import * as actionTypes from '../actionTypes/ditto';\n\nexport function addNewDitto(dittoId) {\n return { type: actionTypes.ADD_DITTO_LOAD, dittoId };\n}\n\nexport function saveUpdateDitto(dittoId) {\n return { type: actionTypes.SAVE_UPDATE_DITTO_LOAD, dittoId };\n}\n","import React from 'react';\nimport HomeEyeCheckUp from '../HomeEyeCheckUp/HomeEyeCheckUp';\nimport { Link } from 'react-router-dom';\nimport GridMenu from '../Menu/GridMenu';\nimport ContactLens from '../Menu/ContactLens';\nimport Menu from '../Menu/Menu';\nimport './MainMenu.scss';\nimport { setDataAttr } from '../../../../utils/helper';\n\nconst redirection = (key, data, props) => {\n const {updateNavValueDtm} = props;\n const dataAttr = data.gaObj && Object.keys(data.gaObj).length > 0 ? setDataAttr(data.gaObj) : null;\n return data.url && data.url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(key, '', '', '')}>{key} :\n updateNavValueDtm(key, '', '', '')} href={data.url}>{key};\n};\nconst MainMenu = props => {\n const { updateNavDtm, navData, updateNavValueDtm, location, dataLocale } = props;\n return (\n
{\n navData.menu ? navData.menu.map(data => {\n let itemlists = '';\n return Object.keys(data).map((key, index) => {\n if (data[key].type === 'two-col-layout') {\n itemlists = ;\n } else if (data[key].type === 'grid') {\n itemlists = ;\n } else if (data[key].type === 'list-grid') {\n itemlists =
{redirection(key, data[key], props)}
;\n } else if (data[key].type === 'three-col-layout') {\n itemlists =
{redirection(key, data[key], props)}
;\n } else {\n itemlists =
{redirection(key, data[key], props)}
;\n }\n return (\n itemlists\n );\n });\n }) : ''\n }
\n );\n};\n\nMainMenu.defaultProps = {\n navData: {}\n};\n\nexport default MainMenu;\n","import * as actionTypes from './../../actionTypes/store';\n\nconst initialState = { appointmentProcessing: null };\n\nexport default function store(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.STORE_LOAD:\n return Object.assign({}, prevState, {\n stores: null,\n storesLoading: true\n });\n case actionTypes.STORE_LOAD_SUCCESS:\n return Object.assign({}, prevState, {\n stores: action.data,\n storesLoading: false\n });\n case actionTypes.STORE_LOAD_FAIL:\n return Object.assign({}, prevState, {\n stores: null,\n storesLoading: false\n });\n case actionTypes.RESET_STORE_DATA:\n return Object.assign({}, prevState, {\n stores: undefined,\n storesLoading: undefined,\n appointmentProcessing: null,\n appointmentDetails: null,\n appointmentError: null\n });\n case actionTypes.CREATE_APPOINTMENT:\n return Object.assign({}, prevState, {\n appointmentProcessing: true,\n appointmentDetails: null,\n appointmentError: null\n });\n case actionTypes.CREATE_APPOINTMENT_SUCCESS:\n return Object.assign({}, prevState, {\n appointmentProcessing: null,\n appointmentDetails: action.data,\n appointmentError: null\n });\n case actionTypes.CREATE_APPOINTMENT_FAIL:\n return Object.assign({}, prevState, {\n appointmentProcessing: null,\n appointmentDetails: null,\n appointmentError: action.error\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport { Redirect } from 'react-router';\n\nconst HTORedirect = () => (\n \n);\n\nexport default HTORedirect;\n","export const GET_LENS_PACKAGES = 'editPower/GET_LENS_PACKAGES';\nexport const GET_LENS_PACKAGES_SUCCESS = 'editPower/GET_LENS_PACKAGES_SUCCESS';\nexport const GET_LENS_PACKAGES_FAIL = 'editPower/GET_LENS_PACKAGES_FAIL';\nexport const GET_POWERS = 'editPower/GET_POWERS';\nexport const GET_POWERS_SUCCESS = 'editPower/GET_POWERS_SUCCESS';\nexport const GET_POWERS_FAIL = 'editPower/GET_POWERS_FAIL';\n","export const getExchangeOrderId = state => state.returnExchange.exchangeOrderId;\nexport const getExchangeItemId = state => state.returnExchange.exchangeItemId;\n","export const LOAD = 'success/LOAD';\n\nexport const POWERS_DETAIL_LOAD = 'success/POWERS_DETAIL_LOAD';\nexport const POWERS_DETAIL_FAIL = 'success/POWERS_DETAIL_FAIL';\nexport const POWERS_DETAIL_SUCCESS = 'success/POWERS_DETAIL_SUCCESS';\n\n// export const SET_ACTIVE_FRAME = 'success/SET_ACTIVE_FRAME';\n\nexport const SAVED_PRESCRIPTION_LOAD = 'success/SAVED_PRESCRIPTION_LOAD';\nexport const SAVED_PRESCRIPTION_FAIL = 'success/SAVED_PRESCRIPTION_FAIL';\nexport const SAVED_PRESCRIPTION_SUCCESS = 'success/SAVED_PRESCRIPTION_SUCCESS';\n\nexport const SUBMIT_POWERS_LOAD = 'success/SUBMIT_POWERS_LOAD';\nexport const SUBMIT_POWERS_FAIL = 'success/SUBMIT_POWERS_FAIL';\nexport const SUBMIT_POWERS_SUCCESS = 'success/SUBMIT_POWERS_SUCCESS';\n\nexport const SUBMITTED_POWERS_LOAD = 'success/SUBMITTED_POWERS_LOAD';\nexport const SUBMITTED_POWERS_FAIL = 'success/SUBMITTED_POWERS_FAIL';\nexport const SUBMITTED_POWERS_SUCCESS = 'success/SUBMITTED_POWERS_SUCCESS';\n\nexport const OTP_SUBMISSION_LOAD = 'success/OTP_SUBMISSION_LOAD';\nexport const OTP_SUBMISSION_FAIL = 'success/OTP_SUBMISSION_FAIL';\nexport const OTP_SUBMISSION_SUCCESS = 'success/OTP_SUBMISSION_SUCCESS';\n\nexport const SUBMISSION_SUCCESS = 'success/SUBMISSION_SUCCESS';\n\nexport const MSG_ERROR = 'success/MSG_ERROR';\n\nexport const ENTER_DATA = 'success/ENTER_DATA';\n\nexport const ACTIVE_FRAME_DATA = 'success/ACTIVE_FRAME_DATA';\n\nexport const SHOW_DD = 'success/SHOW_DD';\n\nexport const SUBMIT_PACKAGE_LOAD = 'success/SUBMIT_PACKAGE_LOAD';\nexport const SUBMIT_PACKAGE_FAIL = 'success/SUBMIT_PACKAGE_FAIL';\nexport const SUBMIT_PACKAGE_SUCCESS = 'success/SUBMIT_PACKAGE_SUCCESS';\n\nexport const RESET_STATE = 'success/RESET_STATE';\n\n","import * as actionTypes from '../../actionTypes/newMSiteOfflineSalesFlow';\n\nconst initialState = {\n salesmanData: null\n};\n\nexport default function newMSiteOfflineSalesFlow(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.SALESMAN_ID_VERIFY:\n return Object.assign({}, prevState, { salesmanData: null, salesmanVerifyError: null, isSalesmanVerificationLoading: true });\n case actionTypes.SALESMAN_ID_VERIFY_SUCCESS:\n return Object.assign({}, prevState, { salesmanData: action.data, salesmanVerifyError: null, isSalesmanVerificationLoading: false });\n case actionTypes.SALESMAN_ID_VERIFY_FAIL:\n return Object.assign({}, prevState, { salesmanVerifyError: action.error, salesmanData: null, isSalesmanVerificationLoading: false });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/editPower';\n\nexport default function editPower(prevState = {}, action) {\n let hash;\n switch (action.type) {\n case actionTypes.GET_LENS_PACKAGES_SUCCESS:\n hash = action.pid + (action.powerType ? action.powerType : '');\n const pkgs = { [hash]: action.data && action.data.result ? action.data.result.packages : undefined };\n prevState.pidToPkgs = { ...prevState.pidToPkgs, ...pkgs };\n return { ...prevState };\n case actionTypes.GET_LENS_PACKAGES_FAIL:\n return prevState;\n case actionTypes.GET_POWERS_SUCCESS:\n hash = action.pid + (action.powerType ? action.powerType : '');\n const powers = { [hash]: action.data && action.data.result ? action.data.result.powerTypeList : undefined };\n prevState.pidToPowers = { ...prevState.pidToPowers, ...powers };\n return { ...prevState };\n case actionTypes.GET_POWERS_FAIL:\n return prevState;\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/header';\n\nconst initialState = {\n showGlobalHeader: true,\n showGlobalFooter: true,\n showLoginPopup: false,\n loaded: false,\n isMenuVisible: true,\n loading: false,\n searchData: null,\n mainNavigationData: {},\n customHeader: { type: 'NA' },\n appDownloadHeader: false\n};\n\nexport default function header(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.LOAD:\n return Object.assign({}, prevState, {\n loading: true,\n loaded: false,\n });\n case actionTypes.LOAD_NAVIGATION:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n mainNavigationData: action.data\n });\n case actionTypes.FAIL_NAVIGATION:\n return Object.assign({}, prevState, {\n loaded: true,\n loading: false,\n mainNavigationData: action.error\n });\n case actionTypes.UPDATE_MAIN_NAVIGATION_LOCAL:\n return Object.assign({}, prevState, { mainNavigationData: action.data });\n case actionTypes.MENU_RENDER:\n return Object.assign({}, prevState, { isMenuVisible: action.value });\n case actionTypes.SHOW_GLOBAL_HEADER_FOOTER:\n '#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\n if (typeof window !== 'undefined' && !(action.value && action.value.header)) window.appNavContainer = null;\n '#endif'; // eslint-disable-line\n return Object.assign({}, prevState, { showGlobalHeader: action.value.header, showGlobalFooter: action.value.footer });\n case actionTypes.SEARCH_DATA_SUCCESS:\n return Object.assign({}, prevState, { searchData: action.data });\n case actionTypes.RESET_SEARCH_DATA:\n return Object.assign({}, prevState, { searchData: null });\n case actionTypes.GET_MSITE_NAV_SUCCESS:\n return Object.assign({}, prevState, { mobileNavigationData: action.data });\n case actionTypes.APP_DOWNLOAD_HEADER_SHOW:\n return Object.assign({}, prevState, {\n appDownloadHeader: action.show\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\n\nexport const sortCallback = (a, b) => a.id - b.id;\nexport const sameFields = ['bottomDistance', 'dbl', 'lensHeight', 'lensWidth'];\n\nexport const Loader = () => (\n
\n
\n

Please wait...

\n
We are fetching order details.
\n
\n
\n);\n\nexport const OrderError = () => (\n
\n Order Not Found\n

Something went wrong !

\n
\n);\n","// Power Action\nexport const ENTER_POWER_LOAD = 'footer/ENTER_POWER_LOAD';\nexport const ENTER_POWER_SUCCESS = 'footer/ENTER_POWER_SUCCESS';\nexport const ENTER_POWER_FAIL = 'footer/ENTER_POWER_FAIL';\n","import * as actionTypes from '../actionTypes/footer';\n\nexport function getPowerUpdate(value) {\n return { type: actionTypes.ENTER_POWER_LOAD, value};\n}\n","import * as actionTypes from '../actionTypes/campaign';\n\nexport function getCampaignData({ pageContext, categoryData, productData, cartHasLoyaltyBenefits, loyaltyCount, brand, classification, usePristineData }) {\n return {\n type: actionTypes.GET_CAMPAIGN_DATA,\n pageContext,\n categoryData,\n productData,\n cartHasLoyaltyBenefits,\n loyaltyCount,\n brand,\n classification,\n usePristineData\n };\n}\n\nexport function setParams(query) {\n return {\n type: actionTypes.SET_QUERY_PARAMS,\n query\n };\n}\n","// Check whether Order Status on Whatsapp is already opted by customer or not\nexport const CHECK_CURRENT_WHATSAPP_OPTIN_STATUS = 'gupshupWhatsapp/CHECK_CURRENT_WHATSAPP_OPTIN_STATUS';\nexport const CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_SUCCESS = 'gupshupWhatsapp/CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_SUCCESS';\nexport const CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_FAIL = 'gupshupWhatsapp/CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_FAIL';\n\n// Set Order Status on Whatsapp Opt-in/Opt-out at Success Page\nexport const SET_WHATSAPP_OPTIN_STATUS = 'gupshupWhatsapp/SET_WHATSAPP_OPTIN_STATUS';\nexport const SET_WHATSAPP_OPTIN_STATUS_SUCCESS = 'gupshupWhatsapp/SET_WHATSAPP_OPTIN_STATUS_SUCCESS';\nexport const SET_WHATSAPP_OPTIN_STATUS_FAIL = 'gupshupWhatsapp/SET_WHATSAPP_OPTIN_STATUS_FAIL';\n","export const DITTO_SHARE_DATA_LOAD = 'dittoShare/DITTO_SHARE_DATA_LOAD';\nexport const DITTO_SHARE_DATA_SUCCESS = 'dittoShare/DITTO_SHARE_DATA_SUCCESS';\nexport const DITTO_SHARE_DATA_FAIL = 'dittoShare/DITTO_SHARE_DATA_FAIL';\nexport const SET_DITTO_SHARE_FROM_STORAGE = 'dittoShare/SET_DITTO_SHARE_FROM_STORAGE';\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/auth';\nimport * as commonActionTypes from '../actionTypes/common';\nimport { RESET_CART as LOGOUT_USER_CART } from '../actionTypes/cart';\nimport { LOGOUT_USER as LOGOUT_USER_CHECKOUT } from '../actionTypes/checkout';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\nimport getSetCookie from '../cookie';\nimport localStorageHelper from '../utils/localStorageHelper';\nimport { CLEAR_STATE as LOGOUT_USER_MYACCOUNT } from '../actionTypes/myAccount';\nimport { RESET_ORDERDETAILS } from '../actionTypes/order';\nimport { RESET_USER_SAVED_CARDS } from '../actionTypes/savedCards';\nimport { RESET_ADDRESS } from '../actionTypes/address';\n\nlet _client = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\nfunction* registerUser({ data }) {\n const successAction = { type: actionTypes.REGISTER_SUCCESS };\n const commonSuccessAction = { type: commonActionTypes.LOGIN_SUCCESS };\n const errorAction = { type: actionTypes.REGISTER_FAIL };\n try {\n const response = yield call(async () => _client.customPost(config.apiPath.registerCustomer, data, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n getSetCookie.setCookie('frontend', response.result.token, 30);\n getSetCookie.setCookieWithDomain('isLogined', 1, 7889400000);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n yield put(successAction);\n yield put(commonSuccessAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* authenticateUser({ data }) {\n const successAction = { type: actionTypes.LOGIN_SUCCESS };\n const commonSuccessAction = { type: commonActionTypes.LOGIN_SUCCESS };\n const customerSuccessAction = { type: commonActionTypes.GET_USER_SUCCESS };\n const errorAction = { type: actionTypes.LOGIN_FAIL };\n const requestUrl = (__SERVER__ ? config.apiPath.albGetUserInfo : config.apiPath.getUserInfo);\n const client = { ..._client };\n try {\n const response = yield call(async () => client.customPost(config.apiPath.userAuthenticate, data, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n getSetCookie.setCookie('frontend', response.result.token, 30);\n getSetCookie.setCookieWithDomain('isLogined', 1, 7889400000);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n client.setHeader();\n const userInfoResponse = yield call(async () => client.get(requestUrl));\n getSetCookie.setCookie('hasPlacedOrder', userInfoResponse.result.hasPlacedOrder, 30);\n customerSuccessAction.data = userInfoResponse;\n customerSuccessAction.data.result.login = true;\n yield put(successAction);\n yield put(customerSuccessAction);\n yield put(commonSuccessAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* validateUserInput({ data }) {\n const successAction = { type: actionTypes.USER_INPUT_SUCCESS };\n const errorAction = { type: actionTypes.USER_INPUT_FAIL };\n const client = _client;\n client.setHeader();\n let params = {};\n if (data.validBlock === 'email') {\n params = { email: data.username, isMobileUserOnly: false };\n }\n if (data.validBlock === 'mobile') {\n params = { telephone: data.username, isMobileUserOnly: true, phoneCode: data.phoneCode };\n }\n try {\n const response = yield call(async () => client.get(config.apiPath.mobileLoginAccountInfo, { params }));\n successAction.data = response;\n successAction.data.result.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* sendValidateOtp({ data }) {\n const successAction = { type: actionTypes.USER_OTP_SUCCESS };\n const errorAction = { type: actionTypes.USER_OTP_FAIL };\n const client = _client;\n client.setHeader();\n let requestUrl = (data.type === 'SEND_OTP') ? config.apiPath.mobileLoginSendOTP : config.apiPath.mobileLoginAuthenticateMobileUser;\n let dataModify = (data.type === 'SEND_OTP') ? { telephone: data.data.username, captcha: data.captchaKey ? data.captchaKey : null, phoneCode: data.phoneCode } : { telephone: data.username, code: data.code, phoneCode: data.phoneCode };\n if (data.type === 'SEND_OTP' && data.occurence === 'Resend') {\n requestUrl = config.apiPath.mobileLoginSendOTPV2;\n dataModify = { telephone: data.data.username, phoneCode: data.phoneCode };\n }\n try {\n const response = yield call(async () => client.post(requestUrl, dataModify));\n successAction.data = response;\n successAction.data.result.data = data;\n if (data.type === 'VALIDATE_OTP') {\n getSetCookie.setCookie('frontend', response.result.token, 30);\n getSetCookie.setCookieWithDomain('isLogined', 1, 7889400000);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n }\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* forgotPasswordAction({ data }) {\n const successAction = { type: actionTypes.FORGET_PASSWORD_SUCCESS };\n const errorAction = { type: actionTypes.FORGET_PASSWORD_FAIL };\n const client = _client;\n try {\n const payloadData = { emailAddress: data.email };\n const response = yield call(async () => client.customPost(config.apiPath.forgotPasswordToken, payloadData, 'X-Session-Token', xApiClient, null));\n successAction.data = response;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nfunction* socialAuth({ data, account }) {\n const successAction = { type: actionTypes.SOCIAL_SUCCESS };\n const commonSuccessAction = { type: commonActionTypes.LOGIN_SUCCESS };\n const errorAction = { type: actionTypes.SOCIAL_FAIL };\n const client = _client;\n try {\n const response = yield call(async () => client.customPost(config.apiPath.socialAuth + account, data, 'X-Session-Token', xApiClient, null));\n getSetCookie.setCookie('frontend', response.result.token, 30);\n getSetCookie.setCookieWithDomain('isLogined', 1, 7889400000);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n successAction.data = response.result;\n yield put(successAction);\n yield put(commonSuccessAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* fetchEmailForMobile({ number }) {\n const successAction = { type: actionTypes.FETCH_EMAILS_SUCCESS };\n const errorAction = { type: actionTypes.FETCH_EMAILS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(config.apiPath.mobileEmailFetch + number));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* linkEmailToMobile({ email }) {\n const successAction = { type: actionTypes.LINK_EMAIL_SUCCESS };\n const errorAction = { type: actionTypes.LINK_EMAIL_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(config.apiPath.mobileEmailLink, { email }));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* logoutUser() {\n getSetCookie.deleteCookie('isLogined');\n getSetCookie.deleteCookie('log_in_status');\n getSetCookie.deleteCookie('guest_dittoid');\n getSetCookie.deleteCookie('showMeDitto');\n getSetCookie.deleteCookie('dittoid');\n getSetCookie.deleteCookie('isDittoID');\n getSetCookie.deleteCookie('dittoSignature');\n getSetCookie.deleteCookie('dittoAccessID');\n getSetCookie.deleteCookie('hasPlacedOrder');\n yield put({ type: commonActionTypes.LOGOUT_USER });\n yield put({ type: LOGOUT_USER_CART });\n yield put({ type: LOGOUT_USER_CHECKOUT });\n yield put({ type: LOGOUT_USER_MYACCOUNT, values: { persistOrder: null } });\n yield put({ type: RESET_ORDERDETAILS });\n yield put({ type: RESET_USER_SAVED_CARDS });\n yield put({ type: RESET_ADDRESS });\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(config.apiPath.logOut));\n const newSessionToken = response && response.result.id;\n getSetCookie.deleteCookie('frontend');\n if (newSessionToken) {\n getSetCookie.setCookie('frontend', newSessionToken);\n }\n } catch (er) {\n console.log(er);\n }\n}\n\nfunction* mergeMobileWithEmail({ data }) {\n const successAction = { type: actionTypes.MERGE_MOBILE_EMAIL_SUCCESS };\n const errorAction = { type: actionTypes.MERGE_MOBILE_EMAIL_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(config.apiPath.verifyOtp, data));\n getSetCookie.setCookieWithDomain('isLogined', 1, 7889400000);\n getSetCookie.setCookie('log_in_status', 'loggedin', 30);\n const userDetails = localStorageHelper.getItem('userDetails') || {};\n userDetails.emailVerificationStatus = response.result.emailVerificationStatus;\n userDetails.isTelephoneVerified = true;\n localStorageHelper.setItem('userDetails', userDetails);\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nexport function* runAuthCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.REGISTER_LOAD, registerUser),\n takeLatest(actionTypes.USER_INPUT_LOAD, validateUserInput),\n takeLatest(actionTypes.USER_OTP_LOAD, sendValidateOtp),\n takeLatest(actionTypes.LOGIN_LOAD, authenticateUser),\n takeLatest(actionTypes.FORGET_PASSWORD_LOAD, forgotPasswordAction),\n takeLatest(actionTypes.SOCIAL_LOAD, socialAuth),\n takeLatest(actionTypes.FETCH_EMAILS_LOAD, fetchEmailForMobile),\n takeLatest(actionTypes.LINK_EMAIL_LOAD, linkEmailToMobile),\n takeLatest(actionTypes.LOGOUT_USER, logoutUser),\n takeLatest(actionTypes.MERGE_MOBILE_EMAIL_LOAD, mergeMobileWithEmail)\n ]);\n}\n","// CATEGORY DATA\nexport const CATEGORY_DATA_LOAD = 'category/CATEGORY_DATA_LOAD';\nexport const SEARCH_CATEGORY_DATA_LOAD = 'category/SEARCH_CATEGORY_DATA_LOAD';\nexport const CATEGORY_DATA_SUCCESS = 'category/CATEGORY_DATA_SUCCESS';\nexport const CATEGORY_DATA_FAIL = 'category/CATEGORY_DATA_FAIL';\n\n// category And Filter Data\nexport const CATEGORY_AND_FILTER_DATA_LOAD = 'category/CATEGORY_AND_FILTER_DATA_LOAD';\n\n// verticle filter\nexport const FILTER_DATA_LOAD = 'category/FILTER_DATA_LOAD';\nexport const FILTER_DATA_SUCCESS = 'category/FILTER_DATA_SUCCESS';\nexport const FILTER_DATA_FAIL = 'category/FILTER_DATA_FAIL';\nexport const ADD_FILTERDATA = 'category/ADD_FILTERDATA';\nexport const HANDLE_FILTER_FUNC = 'category/HANDLE_FILTER_FUNC';\nexport const MODIFY_DATA = 'category/MODIFY_DATA';\nexport const FILTER_DROPDOWN = 'category/FILTER_DROPDOWN';\nexport const FILTER_STATE_UNSET = 'category/FILTER_STATE_UNSET';\n\n// search filters\nexport const SEARCH_FILTER_LOAD = 'category/SEARCH_FILTER_LOAD';\nexport const SEARCH_FILTER_SUCCESS = 'category/SEARCH_FILTER_SUCCESS';\nexport const SEARCH_FILTER_FAIL = 'category/SEARCH_FILTER_FAIL';\n\n// virtulized scroll\nexport const APPEND_DATA_LOAD = 'category/APPEND_DATA_LOAD';\nexport const APPEND_DATA_AFTER = 'category/APPEND_DATA_AFTER';\nexport const FAIL_APPEND_DATA = 'category/FAIL_APPEND_DATA';\n\n// on scroll category change\nexport const SAVE_CATEGORY_DATA_ON_SCROLL = 'category/SAVE_CATEGORY_DATA_ON_SCROLL';\nexport const DEBOUNCE_CATEGORY_DATA_ON_SCROLL = 'category/DEBOUNCE_CATEGORY_DATA_ON_SCROLL';\n\n// udpate ditto on switchbar change\nexport const UPDATE_DITTO_ENABLE = 'category/UPDATE_DITTO_ENABLE';\n\n// cache data show\nexport const SHOW_CACHED_DATA = 'category/SHOW_CACHED_DATA';\nexport const SAVE_CATEGORYDATA_TO_REDUX = 'category/SAVE_CATEGORYDATA_TO_REDUX';\n\n// Subcategories load\nexport const SUBCATEGORY_DATA_LOAD = 'category/SUBCATEGORY_DATA_LOAD';\nexport const SUBCATEGORY_DATA_SUCCESS = 'category/SUBCATEGORY_DATA_SUCCESS';\nexport const SUBCATEGORY_DATA_FAIL = 'category/SUBCATEGORY_DATA_FAIL';\n\n// Category listing config load\nexport const CATEGORY_CONFIG_JSON_LOAD = 'category/CATEGORY_CONFIG_JSON_LOAD';\nexport const CATEGORY_CONFIG_JSON_SUCCESS = 'category/CATEGORY_CONFIG_JSON_SUCCESS';\nexport const CATEGORY_CONFIG_JSON_FAIL = 'category/CATEGORY_CONFIG_JSON_FAIL';\n\n","export const getRawHomeData = state => state.home.rawHomeData;\nexport const getMergedHomeData = state => state.home.homepageData;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\nimport * as actionTypes from '../actionTypes/DTM';\n\nlet _client = null;\nfunction* getLatestOrder() {\n const url = config.apiPath.latestOrder;\n const successAction = { type: actionTypes.SET_LP_DATE };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => _client.get(url));\n let lastPurchaseDate = null;\n if (data.result) {\n const latestOrder = data.result;\n if (latestOrder.createdAt) {\n const lPDO = new Date(latestOrder.createdAt);\n lastPurchaseDate = `${lPDO.getFullYear()}-${lPDO.getMonth() + 1}-${lPDO.getDate()}`;\n }\n }\n successAction.lastPurchaseDate = lastPurchaseDate;\n yield put(successAction);\n } catch (err) {\n successAction.lastPurchaseDate = null;\n successAction.error = err;\n yield put(successAction);\n }\n}\n\nexport function* runDTMCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.GET_LP_DATE, getLatestOrder)\n ]);\n}\n","export const SET_DATALAYER_EMAIL_MOBILE = 'SET_DATALAYER_EMAIL_MOBILE';\nexport const RESET_DATALAYER_EMAIL_MOBILE = 'RESET_DATALAYER_EMAIL_MOBILE';\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/address';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* getLocationData() {\n const successAction = { type: actionTypes.LOCATION_DATA_SUCCESS };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(config.apiPath.locationData));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n console.log('Error fetching location data...');\n }\n}\n\nfunction* getUserAddress({ hideLoader }) {\n const successAction = { type: actionTypes.USER_ADDRESS_SUCCESS };\n const errorAction = { type: actionTypes.USER_ADDRESS_FAIL };\n const client = _client;\n client.setHeader();\n try {\n const data = yield call(async () => client.get(config.apiPath.userAddress));\n successAction.hideLoader = hideLoader;\n data.result.sort(a => a.defaultAddress ? -1 : 1);\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n }\n}\n\nfunction* getPincodeData({ pincode }) {\n const successAction = { type: actionTypes.PINCODE_DATA_SUCCESS };\n const errorAction = { type: actionTypes.PINCODE_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(config.apiPath.pincodeCheck + pincode));\n successAction.result = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* updateUserAddress({ addressJson, addressId, pageName }) {\n const successAction = { type: actionTypes.UPDATE_USER_ADDRESS_SUCCESS };\n const errorAction = { type: actionTypes.UPDATE_USER_ADDRESS_FAIL };\n const loadAction = { type: actionTypes.USER_ADDRESS_LOAD };\n const client = { ..._client };\n const method = addressId ? 'put' : 'post';\n const apiUrl = `${config.apiPath.userAddress}${addressId ? `${addressId}` : ''}`;\n client.setHeader();\n try {\n const response = yield call(async () => client[method](apiUrl, addressJson));\n successAction.result = response.result;\n yield put(successAction);\n if (pageName === 'checkout') yield put(loadAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\nfunction* deleteUserAddress({ addressId }) {\n const successAction = { type: actionTypes.DELETE_USER_ADDRESS_SUCCESS };\n const errorAction = { type: actionTypes.DELETE_USER_ADDRESS_FAIL };\n const client = { ..._client };\n const apiUrl = `${config.apiPath.userAddress}${addressId}`;\n client.setHeader();\n try {\n const response = yield call(async () => client.delete(apiUrl));\n successAction.response = response;\n successAction.addressId = addressId;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runAddressCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.LOCATION_DATA_LOAD, getLocationData),\n takeLatest(actionTypes.USER_ADDRESS_LOAD, getUserAddress),\n takeLatest(actionTypes.PINCODE_DATA_LOAD, getPincodeData),\n takeLatest(actionTypes.UPDATE_USER_ADDRESS_LOAD, updateUserAddress),\n takeLatest(actionTypes.DELETE_USER_ADDRESS_LOAD, deleteUserAddress)\n ]);\n}\n","import * as actionTypes from '../actionTypes/success';\nexport function getPowers(productId, powerType) {\n return { type: actionTypes.POWERS_DETAIL_LOAD, productId, powerType};\n }\nexport function getSavedPrescription(powerType) {\n return { type: actionTypes.SAVED_PRESCRIPTION_LOAD, powerType};\n}\nexport function submitPowers(itemid, data, userEmail, orderId) {\n return { type: actionTypes.SUBMIT_POWERS_LOAD, itemid, data, userEmail, orderId};\n}\nexport function getSubmittedPowers(itemid, userEmail) {\n return { type: actionTypes.SUBMITTED_POWERS_LOAD, itemid, userEmail};\n}\nexport function getSubmittedOtp(otp, email) {\n return { type: actionTypes.OTP_SUBMISSION_LOAD, otp, email};\n}\nexport function enterErrorFunc(data) {\n return { type: actionTypes.MSG_ERROR, data };\n}\nexport function enterDataFunc(data) {\n return { type: actionTypes.ENTER_DATA, data };\n}\n\nexport function activeFrameData(data, index) {\n return {type: actionTypes.ACTIVE_FRAME_DATA, data, index};\n}\nexport function showPowerDD(data) {\n return { type: actionTypes.SHOW_DD, data };\n}\nexport function updatePackages(itemid, data, orderId) {\n return { type: actionTypes.SUBMIT_PACKAGE_LOAD, itemid, data, orderId};\n}\nexport function resetState() {\n return { type: actionTypes.RESET_STATE };\n}\n","import React, { PureComponent } from 'react';\nimport Modal from 'react-bootstrap/lib/Modal';\nimport PropTypes from 'prop-types';\nimport './Modal.scss';\n\nclass LKModal extends PureComponent {\n static propTypes = {\n size: PropTypes.string,\n backdrop: PropTypes.any,\n hideHandler: PropTypes.func,\n }\n\n render() {\n const { size, backdrop, hideHandler, showModal, headerTitle, keyboard } = this.props;\n const { dialogClassName = 'lkModal', bodyClassName } = this.props;\n const keyboardVal = keyboard || false;\n return (\n
\n hideHandler()}>\n {headerTitle && \n \n {headerTitle}\n \n }\n \n {this.props.children}\n \n \n
\n );\n }\n}\n\nexport default LKModal;\n","import { isEmptyObject } from '../utils/helper';\nimport getSetCookie from '../cookie';\n\nexport function modifyProductData(data) {\n /* eslint one-var-declaration-per-line: 0 */\n /* eslint one-var: 0 */\n let dtmPType, generalSpecification, newFrameInfoObj = [], technicalSpecification, frameType, frameShape, clType, frameColor, frameSize, gender, marketPrice, lenskartPrice, firstFrameFree, firstFrameFreePrice, firstFrameFreeDLPrice, powerOption, productLensTypeDesc, size, measure, productDetailsImages, suitedFor;\n const { specifications, type, classification, prices, prescriptionType, fullName, frameDetails, imageUrlsDetail = [], review = {} } = data;\n let { reviews = [], imageReviews = [] } = review;\n // Fixing URIMalformed issue\n if (reviews.length) {\n reviews.map(rev => {\n Object.keys(rev).map(key => {\n rev[key] = encodeURIComponent(rev[key]);\n return true;\n });\n return true;\n });\n }\n if (imageReviews.length) {\n imageReviews.map(rev => {\n Object.keys(rev).map(key => {\n rev[key] = encodeURIComponent(rev[key]);\n return true;\n });\n return true;\n });\n }\n // Set pType\n const pCat = __CLIENT__ && getSetCookie.getCookie('product_category') === 'power_sunglasses' ? 'Power Sunglasses' : type;\n dtmPType = pCat ? pCat.toLowerCase() : '';\n if (dtmPType === 'contact lens') {\n dtmPType = 'contact-lenses';\n }\n\n // Set Specifications\n specifications.filter(obj => {\n if (obj.name === 'general') {\n generalSpecification = Object.assign([], obj.items);\n }\n if (obj.name === 'technical') {\n technicalSpecification = Object.assign([], obj.items);\n }\n return true;\n });\n technicalSpecification.forEach(obj => {\n if (obj.name === 'Frame Type') {\n /* Frame Type for buy Options API */\n frameType = obj.value;\n }\n if (obj.name === 'Frame Shape') {\n frameShape = obj.value ? obj.value : '';\n }\n if (obj.name === 'Type') {\n clType = (classification === 'contact_lens' ? obj.value : null);\n }\n });\n for (let i = 0; i < generalSpecification.length; i += 1) {\n const obj = generalSpecification[i];\n if (obj.name === 'Frame colour') {\n frameColor = obj.value;\n }\n if (obj.name === 'Frame Size') {\n frameSize = obj.value;\n }\n if (obj.name === 'Suited For') {\n suitedFor = obj.value;\n }\n if (obj.name === 'Gender') {\n gender = obj.value;\n }\n if (obj.name === 'Model No.' || obj.name === 'Frame Material' || obj.name === 'Collection' || obj.name === 'Temple Material' || obj.name === 'Weight') {\n newFrameInfoObj.push(obj);\n generalSpecification.splice(i, 1);\n i -= 1;\n }\n }\n generalSpecification = [...newFrameInfoObj, ...generalSpecification];\n\n // Set Prices\n const firstFrameFreeObj = prices.find(price => price.name === 'First Buy Price');\n if (firstFrameFreeObj && !isEmptyObject(firstFrameFreeObj)) {\n firstFrameFree = true;\n firstFrameFreePrice = firstFrameFreeObj.price;\n firstFrameFreeDLPrice = 1000;\n }\n /* eslint prefer-const: 0 */\n marketPrice = prices[0].price;\n /* eslint prefer-const: 0 */\n lenskartPrice = prices[1].price;\n /* Power Option And productLensTypeDesc */\n if (classification === 'eyeframe') {\n if (prescriptionType.length) {\n powerOption = prescriptionType[0].title + '';\n }\n if (fullName.indexOf('Computer') > -1) {\n if (prescriptionType.length) {\n powerOption = 'Zero Power';\n }\n } else if (fullName.indexOf('Swimming Goggles') > -1 || fullName.indexOf('Reading') > -1) {\n powerOption = 'Frame Only';\n }\n productLensTypeDesc = {\n 'Single Vision': { desc: 'For distance or near vision
(Thin, anti-glare, blue-cut options)', image: true },\n 'Bifocal/Progressive': { desc: 'Bifocal and Progressives
(For two powers in same lens)', image: true },\n 'Zero Power': { desc: 'For computer smartphones & fashion
(Anti-glare and blue-cut options)', image: true },\n 'Frame Only': { desc: 'Buy only the frame without any lenses', icon: 'icon-without_power' },\n 'Tinted Single Vision': { desc: '(Photochromatic, Grey, Brown, Dark Green Color Options)
Available in Single Vision Only', image: true }\n };\n } else if (classification === 'sunglasses') {\n powerOption = 'Without Power';\n if (__CLIENT__ && prescriptionType.length > 1 && getSetCookie.getCookie('product_category') === 'power_sunglasses') {\n powerOption = 'With Power';\n }\n productLensTypeDesc = {\n 'With Power': { desc: 'Buy powered sunglasses with either distance (far) or reading (near) vision', icon: 'icon-power_sunglasses' },\n 'Without Power': { desc: 'Buy a non-power sunglasses', icon: 'icon-without_power' }\n };\n }\n /* Frame Size Details */\n frameDetails.forEach(obj => {\n if (obj.name === 'Size') {\n size = obj.value;\n }\n if (obj.name === 'MEASURE') {\n measure = obj.value;\n }\n });\n productDetailsImages = (\n imageUrlsDetail\n .filter(img => img.label.indexOf('Image_About_Product') > -1)\n .sort((a, b) => {\n if (a.label > b.label) return 1;\n if (a.label < b.label) return -1;\n return 0;\n })\n );\n\n return { dtmPType, generalSpecification, newFrameInfoObj, technicalSpecification, frameType, frameShape, clType, frameColor, frameSize, suitedFor, gender, marketPrice, lenskartPrice, firstFrameFree, firstFrameFreePrice, firstFrameFreeDLPrice, powerOption, productLensTypeDesc, size, measure, productDetailsImages };\n}\n\nexport function setProductStaticDTM(data, modifiedProductData, isExchange) {\n const { id, brandName, colorOptions, relatedItems, fullName } = data;\n const { dtmPType, frameColor, frameType, gender, frameShape, frameSize, lenskartPrice, firstFrameFree } = modifiedProductData;\n const staticDTM = {\n pageType: 'pdp page',\n pageName: `web|${dtmPType}|pdp page`,\n channel: 'web|pdp page',\n subSection1: `web|pdp page|${dtmPType}`,\n subSection2: `web|pdp page|${dtmPType}${isExchange ? '-exchange product' : ''}`,\n category: dtmPType,\n subcategory: dtmPType,\n productID: id,\n brand: brandName,\n framecolor: frameColor,\n frametype: frameType,\n gender,\n frameshape: frameShape,\n framesize: frameSize,\n colorOptions: colorOptions && colorOptions.length ? 'yes' : 'no',\n similarOptions: relatedItems && relatedItems.length ? 'yes' : 'no',\n lenskartPrice,\n discountPrice: firstFrameFree ? lenskartPrice : 0,\n productName: fullName\n };\n return staticDTM;\n}\n\n// export function modifyReturnEligibiltyForMock(order) {\n// const { result: orderDetails } = order;\n// const { id, items } = orderDetails;\n// const itemReturnEligibilityArr = [];\n// let count = 0;\n// items.forEach(item => {\n// if (item.classification === 'eyeframe' || item.classification === 'sunglasses') {\n// itemReturnEligibilityArr.push({\n// id: item.id,\n// returnable: Math.random() < 0.5,\n// isExchangeable: Math.random() < 0.5,\n// isRefundable: Math.random() < 0.5,\n// refundMethods: Math.random() < 0.5 ? [{ name: 'storecredit', enabled: true }, { name: 'cashfree', enabled: true }, { name: 'source', enabled: true }, { name: 'neft', enabled: false }, { name: 'customer_wallet', enabled: true }, { name: 'multipleRefund', enabled: true }] : [{ name: 'storecredit', enabled: true }, { name: 'cashfree', enabled: true }, { name: 'source', enabled: true }, { name: 'neft', enabled: false }, { name: 'customer_wallet', enabled: false }, { name: 'multipleRefund', enabled: false }],\n// refundAmount: {\n// amountToRefund: item.amount.total - count * 300,\n// lkCashAmountToRefund: count * 100,\n// lkCashPlusAmountToRefund: (count + 1) * 100,\n// currencyCode: 'INR',\n// itemPrice: item.amount.total,\n// itemRefundedAmount: 0\n// },\n// exchangeMethods: [{ name: 'SAMEPRODUCT', enabled: true }, { name: 'CHANGELENS', enabled: true }, { name: 'NEWPRODUCT', enabled: true }],\n// returnEligibleTillDate: item.createdAt + (25 * 24 * 3600000),\n// refundMethodRequest: '' // intent\n// });\n// count++;\n// }\n// });\n// return { result: { id, isFraud: Math.random() < 0.5, returnable: Math.random() < 0.5, items: itemReturnEligibilityArr } };\n// }\n\n// isExchangeable = true/false, isRefundable = true/false, returnEligibleTillDate < / > currDate\n// returnable flag check with anmol, returnid when customer care raises the request?\n// Return Not Allowed, Not to show return at all, returnEligibleTillDate > currDate but flags are false? - KK\n\n// currDate - deliveryDate => 30- days && returnEligibleTillDate => Show window closed on, if 30+ days dont show anything\n// currDate - deliveryDate => 30- days && !returnEligibleTillDate => Show return not allowed, if 30+ days dont show anything\n// if(returnEligibleTillDate > currDate && !isExchangeable && !isRefundable) => return not allowed => dont show anything\n\n// OldFlow return\n\n// 2 items:\n// 1. isRefundable true || isExchangeable true, returnId (orderDetails. item.itemId) , Returned without any intent => Handling => Return Details Page\n// 2. isRefundable true || isExchangeable true, returnId is not present (orderDetails. item.itemId) , Returned without any intent => Handling => Return Details Page => url => /sales/my/order/return/reason/${itemId}/${id}\n","import { call, put, takeLatest, takeEvery, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/savedCards';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\n\nfunction* getUsersSavedCards({ gatewayId, orderId, offer }) {\n let successActionOffer = null;\n let errorActionOffer = null;\n let successAction = null;\n let errorAction = null;\n let filterByOffer = '';\n if (offer) {\n successActionOffer = { type: actionTypes.GET_USER_SAVED_CARDS_OFFER_SUCCESS };\n errorActionOffer = { type: actionTypes.GET_USER_SAVED_CARDS_OFFER_FAIL };\n filterByOffer = '&filterByOffer=true';\n } else {\n successAction = { type: actionTypes.GET_USER_SAVED_CARDS_SUCCESS };\n errorAction = { type: actionTypes.GET_USER_SAVED_CARDS_FAIL };\n }\n const client = { ..._client };\n const gatewayID = gatewayId || 'PU';\n client.setHeader();\n try {\n const orderID = orderId ? `&orderId=${orderId}` : '';\n const result = yield call(async () => client.get(`${config.apiPath.usersSavedCards}customer?gatewayId=${gatewayID}${orderID}${filterByOffer}`));\n if (offer) {\n successActionOffer.result = result;\n yield put(successActionOffer);\n } else {\n successAction.result = result;\n yield put(successAction);\n }\n } catch (error) {\n if (offer) {\n errorActionOffer.error = error;\n yield put(errorActionOffer);\n } else {\n errorAction.error = error;\n yield put(errorAction);\n }\n }\n}\n\nfunction* deleteUserSavedCard(userData) {\n const successAction = { type: actionTypes.DELETE_USER_SAVED_CARD_SUCCESS };\n const errorAction = { type: actionTypes.DELETE_USER_SAVED_CARD_FAIL };\n const loadAction = { type: actionTypes.GET_USER_SAVED_CARDS_LOAD };\n const client = { ..._client };\n client.setHeader();\n try {\n const gatewayId = '?gatewayId=PU';\n const emailId = userData.emailId ? `&emailId=${userData.emailId}` : '';\n const cardToken = userData.cardToken ? userData.cardToken : '';\n const data = yield call(async () => client.delete(`${config.apiPath.usersSavedCards}/${cardToken}${gatewayId}${emailId}`));\n successAction.data = data;\n yield put(successAction);\n yield put(loadAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runSavedCardsCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeEvery(actionTypes.GET_USER_SAVED_CARDS_LOAD, getUsersSavedCards),\n takeLatest(actionTypes.DELETE_USER_SAVED_CARD_LOAD, deleteUserSavedCard)\n ]);\n}\n","import { call, put, all, takeLatest } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/locale';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\nfunction* getResource(resource, successAction, errorAction) {\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(resource));\n successAction.data = data?.result ? data.result : data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getLocaleData() {\n yield call(getResource, `${config.apiPath.localeConfigPath}`, { type: actionTypes.LOAD_LOCALE_CONFIG_SUCCESS }, { type: actionTypes.LOAD_LOCALE_CONFIG_FAIL });\n}\n\nexport function* runGetLocaleCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.LOAD_LOCALE_CONFIG, getLocaleData)\n ]);\n}\n","import React from 'react';\nimport Loadable from 'react-loadable-visibility/react-loadable';\nimport Spinner from '../../CommonComponents/Spinner/Spinner';\n\nconst LoadableModule = Loadable({\n loader: () => import(/* webpackChunkName: 'chat-bot' */ './ChatBot').then(module => module.default),\n loading: () => \n});\n\nexport default LoadableModule;\n","/**\n * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER.\n */\n// import \"core-js/stable\";\n// import \"regenerator-runtime/runtime\";\n// import 'core-js/stable';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { ConnectedRouter } from 'react-router-redux';\nimport { renderRoutes } from 'react-router-config';\nimport { trigger } from 'redial';\nimport { createBrowserHistory } from 'history';\nimport Loadable from 'react-loadable';\nimport { AppContainer as HotEnabler } from 'react-hot-loader';\nimport createStore from 'redux/create';\nimport apiClient from 'helpers/apiClient';\nimport { routes } from './routes/desktop-routes';\nimport asyncMatchRoutes from 'utils/asyncMatchRoutes';\nimport ReduxAsyncConnect from 'ReduxAsyncConnect/ReduxAsyncConnect';\nimport { Provider } from 'react-redux';\nimport rootSaga from './sagas';\n\nconst dest = document.getElementById('content');\n\nconst client = apiClient();\nconst providers = {\n client\n};\n\n(async () => {\n const history = createBrowserHistory();\n const store = createStore({\n history,\n data: {\n ...window.__data\n },\n helpers: providers,\n });\n\n store.runSaga(rootSaga);\n\n const hydrate = async _routes => {\n\n // sagas.done.then(() => { });\n const { components, match, params } = await asyncMatchRoutes(_routes, history.location.pathname);\n const triggerLocals = {\n ...providers,\n store,\n match,\n params,\n history,\n location: history.location\n };\n if (window.__data) {\n delete window.__data;\n } else {\n await trigger('fetch', components, triggerLocals);\n }\n await trigger('defer', components, triggerLocals);\n\n ReactDOM.hydrate(\n \n \n \n \n {renderRoutes(_routes)}\n \n \n \n ,\n dest\n );\n };\n\n await Loadable.preloadReady();\n\n await hydrate(routes);\n\n // Hot reload\n if (module.hot) {\n module.hot.accept('./routes/desktop-routes', () => {\n const nextRoutes = require('./routes/desktop-routes');\n hydrate(nextRoutes).catch(err => {\n console.error('Error on routes reload:', err);\n });\n });\n }\n\n // Server-side rendering check\n if (process.env.NODE_ENV !== 'production') {\n window.React = React; // enable debugger\n\n if (!dest || !dest.firstChild || !dest.firstChild.attributes || !dest.firstChild.attributes['data-reactroot']) {\n console.error('Server-side React render was discarded.\\n' +\n 'Make sure that your initial render does not contain any client-side code.');\n }\n }\n\n // Dev tools\n if (__DEVTOOLS__ && !window.devToolsExtension) {\n const devToolsDest = document.createElement('div');\n window.document.body.insertBefore(devToolsDest, null);\n const DevTools = require('./DevTools/DevTools');\n ReactDOM.hydrate(\n \n \n ,\n devToolsDest\n );\n }\n\n // Service worker\n if (!__DEVELOPMENT__ && 'serviceWorker' in navigator) {\n try {\n navigator.serviceWorker.getRegistrations().then(registrations => {\n registrations.every(reg => {\n if (reg.active && reg.active.scriptURL.indexOf('/sw-desktop-v1.js') === -1) {\n reg.unregister();\n }\n return true;\n });\n });\n navigator.serviceWorker.register('/sw-desktop-v1.js', {\n insecure: true\n }).then(reg => {\n console.log('ServiceWorker registered', reg);\n let updateInterval;\n clearInterval(updateInterval);\n updateInterval = setInterval(() => {\n reg.update();\n }, 1 * 60 * 60 * 1000); /* Check For update in a day */\n }).catch(err => {\n console.log('ServiceWorker not registered', err);\n });\n } catch (error) {\n console.log('Error registering service worker: ', error);\n }\n await navigator.serviceWorker.ready;\n console.log('Service Worker Ready');\n }\n})();\n","export const YOTPO_SITE_RATINGS_LOAD = 'yotpo/YOTPO_SITE_RATINGS_LOAD';\nexport const YOTPO_SITE_RATINGS_SUCCESS = 'yotpo/YOTPO_SITE_RATINGS_SUCCESS';\nexport const YOTPO_SITE_RATINGS_FAILURE = 'yotpo/YOTPO_SITE_RATINGS_FAILURE';\nexport const YOTPO_SITE_RATINGS_TIMEOUT = 'yotpo/YOTPO_SITE_RATINGS_TIMEOUT';\n","import React from 'react';\n\nconst BlankLoader = () => (\n
\n \"loader\"\n
\n);\n\nexport default BlankLoader;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/qrCode';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\n\nfunction* getQRScanStatus({ orderId }) {\n const successAction = { type: actionTypes.GET_QR_SCAN_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.GET_QR_SCAN_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.qrPaymentsApi}${orderId}/qr/status`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* generateQRCode({ orderId }) {\n const successAction = { type: actionTypes.GET_QR_CODE_SUCCESS };\n const errorAction = { type: actionTypes.GET_QR_CODE_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(`${config.apiPath.qrPaymentsApi}${orderId}/qr/generate`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runQRCodeCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.GET_QR_SCAN_STATUS_LOAD, getQRScanStatus),\n takeLatest(actionTypes.GET_QR_CODE_LOAD, generateQRCode)\n ]);\n}\n","import React from 'react';\nimport GridMenu from '../Menu/GridMenu';\nimport './HomeEyeCheckUp.scss';\nimport { setDataAttr } from '../../../../utils/helper';\n\nconst HomeEyeCheckUp = props => {\n const { updateNavDtm, parentMenu, menuData, section, cta } = props;\n const parentKey = Object.keys(parentMenu).toString();\n const fetchMenu = menuData.data.map((data, index) => {\n const dataAttr = data.gaObj && Object.keys(data.gaObj).length > 0 ? setDataAttr(data.gaObj) : null;\n return (\n
\n {parentMenu[parentKey] && parentMenu[parentKey].sliderType ?\n
\n
\n {data.image.imgAlt}\n
\n
\n

\n {data.headingText}\n

\n

{data.supportText}

\n {data.sliderImg && }\n {data.boldText &&
\n {data.boldText}\n
}\n \n
\n
:\n updateNavDtm(section, null, null, null, cta)}\n className=\"getGaData layout justify-content-around text-black no-decoration\"\n {...dataAttr}\n >\n
\n {data.image.imgAlt}\n
\n
\n

\n {data.headingText}\n

\n

{data.supportText}

\n {data.boldText &&
\n {data.boldText}\n
}\n \n
\n \n }\n
\n );\n });\n return (\n
{fetchMenu}
\n );\n};\n\nHomeEyeCheckUp.defaultProps = {\n parentMenu: {}\n};\n\nexport default HomeEyeCheckUp;\n","import { call, put, takeLatest, all, takeEvery } from 'redux-saga/effects';\nimport config from 'config';\nimport * as actionTypes from '../actionTypes/myAccount';\nimport { GET_USER_SUCCESS } from '../actionTypes/common';\nimport apiClient from '../helpers/apiClient';\n// import getSetCookie from '../cookie';\n\nlet _client = null;\n\nfunction makeCall(pageName, size) {\n const client = { ..._client };\n client.setHeader();\n const url = `${config.apiPath.getOrdersListInv}?page=${pageName}&page-size=${size}`;\n return client.get(url);\n}\n\nfunction* getOrders({ pageName, size, shouldReset }) {\n const successAction = { type: actionTypes.ORDER_LIST_SUCCESS };\n const errorAction = { type: actionTypes.ORDER_LIST_FAIL };\n try {\n const data = yield call(async () => makeCall(pageName, size));\n successAction.data = data;\n if (shouldReset) successAction.shouldReset = shouldReset;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* updateInfo({ firstName, lastName, gender, email }) {\n const successAction = { type: actionTypes.UPDATE_USER_INFO_SUCCESS };\n const userSuccessAction = { type: GET_USER_SUCCESS };\n const errorAction = { type: actionTypes.UPDATE_USER_INFO_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(`${config.apiPath.getUserInfo}`, { firstName, lastName, gender, email }));\n successAction.data = data;\n userSuccessAction.data = data;\n userSuccessAction.data.result.login = true;\n yield put(userSuccessAction);\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* resetPassword({ oldPassword, newPassword, email, token }) {\n const successAction = { type: actionTypes.RESET_PASSWORD_SUCCESS };\n const errorAction = { type: actionTypes.RESET_PASSWORD_FAIL };\n const client = { ..._client };\n client.setHeader();\n let url = `${config.apiPath.changePassword}`;\n let apiData = {};\n if (token) {\n url = `${config.apiPath.resetPassword}/${token}`;\n apiData = { newPassword, confirmNewPassword: newPassword };\n } else {\n apiData = { oldPassword, newPassword, email };\n }\n try {\n const data = yield call(async () => client.post(url, apiData));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* checkVoucher({ voucherCode }) {\n const successAction = { type: actionTypes.CHECK_VOUCHER_SUCCESS };\n const errorAction = { type: actionTypes.CHECK_VOUCHER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.giftVoucherBalance}${voucherCode}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* storeCredit({ voucherCode }) {\n const successAction = { type: actionTypes.STORE_CREDIT_BAL_SUCCESS };\n const errorAction = { type: actionTypes.STORE_CREDIT_BAL_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.storeCredit}${voucherCode}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* getStoreCreditOrders({ pageName, size }) {\n const successAction = { type: actionTypes.STORE_CREDIT_ORDERS_SUCCESS };\n const errorAction = { type: actionTypes.STORE_CREDIT_ORDERS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.storeCredit}orders?page=${pageName}&pagesize${size}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* getStoreCreditOrderHistory({ orderId }) {\n const successAction = { type: actionTypes.STORE_CREDIT_ORDER_HISTORY_SUCCESS };\n const errorAction = { type: actionTypes.STORE_CREDIT_ORDER_HISTORY_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.storeCredit}history?orderId=${orderId}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* sendStoreCreditSMS({ orderId }) {\n const successAction = { type: actionTypes.STORE_CREDIT_ORDER_SMS_SUCCESS };\n const errorAction = { type: actionTypes.STORE_CREDIT_ORDER_SMS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.storeCredit}sms?orderId=${orderId}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* saveNeftValues({ values }) {\n const successAction = { type: actionTypes.EDIT_NEFT_SUCCESS };\n const errorAction = { type: actionTypes.EDIT_NEFT_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(`${config.apiPath.editNeft}`, values));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* getReturnConfig() {\n const successAction = { type: actionTypes.RETURN_ORDER_CONFIG_SUCCESS };\n const errorAction = { type: actionTypes.RETURN_ORDER_CONFIG_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.returnConfig}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\nfunction* confirmCOD({ orderId }) {\n const successAction = { type: actionTypes.COD_CONFIRMATION_SUCCESS, orderId };\n const errorAction = { type: actionTypes.COD_CONFIRMATION_FAIL, orderId };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.put(`${config.apiPath.v2Orders}/${orderId}/confirm`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runMyAccountCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.ORDER_LIST_LOAD, getOrders),\n takeLatest(actionTypes.UPDATE_USER_INFO_LOAD, updateInfo),\n takeLatest(actionTypes.RESET_PASSWORD_LOAD, resetPassword),\n takeLatest(actionTypes.CHECK_VOUCHER_LOAD, checkVoucher),\n takeLatest(actionTypes.STORE_CREDIT_BAL_LOAD, storeCredit),\n takeLatest(actionTypes.STORE_CREDIT_ORDERS_LOAD, getStoreCreditOrders),\n takeLatest(actionTypes.STORE_CREDIT_ORDER_HISTORY_LOAD, getStoreCreditOrderHistory),\n takeLatest(actionTypes.STORE_CREDIT_ORDER_SMS_LOAD, sendStoreCreditSMS),\n takeLatest(actionTypes.EDIT_NEFT_LOAD, saveNeftValues),\n takeLatest(actionTypes.ORDER_LIST_LOAD_MORE, getOrders),\n takeLatest(actionTypes.RETURN_ORDER_CONFIG_LOAD, getReturnConfig),\n takeEvery(actionTypes.COD_CONFIRMATION_LOAD, confirmCOD)\n ]);\n}\n","import * as actionTypes from './../../actionTypes/returnExchange';\n\nconst initialState = {\n headerTitle: null,\n hideNav: false,\n loading: false,\n userAddress: '',\n exchangeAddress: '',\n // return\n orderReturnableStatus: null,\n returnProducts: [],\n nearbyStore: [],\n returnModes: {},\n returnDetails: null,\n isAddressServiceable: null,\n returnLabelGenerated: null,\n // exchange\n isExchange: false,\n paymentData: null,\n paymentMethods: null,\n // post return\n itemReturnDetails: null,\n returnActionsDetail: null,\n exchangeOrderId: null,\n exchangeItemId: null,\n // refund\n refundDetails: null,\n refundEstimateData: null,\n returnEligibiliyDetails: null,\n returnProductItemDetails: null,\n currentReturnItem: null,\n exchangeNewFlow: false,\n returnCancelLoading: false,\n returnCancelFail: false,\n returnCancelStatus: null\n};\n\n// orderReturnableStatus: {\n// \"id\": 0,\n// \"isFraud\": false,\n// \"items\": [\n// {\n// \"id\": 231661,\n// \"returnable\": true\n// }\n// ],\n// \"returnable\": true\n// }\n\n// returnDetails: {\n// \"result\": {\n// \"success\": true,\n// \"groupId\": 1623958,\n// \"returnLabelCreated\": false,\n// \"returns\": [{ \"id\": 231661, \"returnId\": 7136665 }]\n// },\n// \"status\": 200,\n// \"traceId\": \"0991606387577446\"\n// }\n\nexport default function returnExchange(prevState = initialState, action) {\n let xApiClient = 'desktop';\n // conditional imports on compilation\n '#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\n xApiClient = 'mobilesite';\n '#endif'; // eslint-disable-line\n switch (action.type) {\n case actionTypes.HEADER_UPDATE:\n return Object.assign({}, prevState, {\n headerTitle: action.title\n });\n case actionTypes.HIDE_NAV:\n return Object.assign({}, prevState, {\n hideNav: action.flag !== false\n });\n case actionTypes.SET_RETURN_PRODUCTS:\n return Object.assign({}, prevState, {\n returnProducts: action.products\n });\n case actionTypes.MERGE_RETURN_DETAILS:\n return Object.assign({}, prevState, {\n returnDetails: action.data\n });\n case actionTypes.STORE_LOCATION_LOAD:\n return Object.assign({}, prevState, {\n loadingNearByStore: true\n });\n case actionTypes.STORE_LOCATION_SUCCESS:\n return Object.assign({}, prevState, {\n nearbyStore: action.data,\n loadingNearByStore: false\n });\n case actionTypes.STORE_LOCATION_FAIL:\n return Object.assign({}, prevState, {\n nearbyStore: action.error,\n loadingNearByStore: false\n });\n case actionTypes.USER_ADDRESS_UPDATE:\n return Object.assign({}, prevState, {\n userAddress: action.address\n });\n case actionTypes.EXCHANGE_ADDRESS_UPDATE:\n return Object.assign({}, prevState, {\n exchangeAddress: action.address\n });\n case actionTypes.STORE_ADDRESS_UPDATE:\n return Object.assign({}, prevState, {\n storeAddress: action.address\n });\n case actionTypes.CREATE_RETURN_LOAD:\n return Object.assign({}, prevState, {\n createReturnLoading: true,\n loading: true\n });\n case actionTypes.CREATE_RETURN_SUCCESS:\n return Object.assign({}, prevState, {\n returnDetails: action.data,\n createReturnLoading: false,\n loading: false\n });\n case actionTypes.CREATE_RETURN_FAIL:\n return Object.assign({}, prevState, {\n returnDetails: action.error,\n createReturnLoading: false,\n loading: false\n });\n case actionTypes.GET_RETURN_REASONS:\n return Object.assign({}, prevState, {\n loading: true\n });\n case actionTypes.GET_RETURN_REASONS_SUCCESS:\n return Object.assign({}, prevState, {\n returnReasons: action.data,\n loading: false\n });\n case actionTypes.GET_RETURN_REASONS_FAIL:\n return Object.assign({}, prevState, {\n returnReasonsErr: action.error,\n loading: false\n });\n case actionTypes.GET_RETURN_MODES_LOAD:\n return Object.assign({}, prevState, {\n returnModes: {},\n loading: true\n });\n case actionTypes.GET_RETURN_MODES_SUCCESS:\n return Object.assign({}, prevState, {\n returnModes: action.data.result,\n loading: false\n });\n case actionTypes.GET_RETURN_MODES_FAIL:\n return Object.assign({}, prevState, {\n returnModes: action.error,\n loading: false\n });\n case actionTypes.GET_SERVICEABLE_ADDRESS_LOAD:\n return Object.assign({}, prevState, {\n isAddressServiceable: null,\n loading: true\n });\n case actionTypes.GET_SERVICEABLE_ADDRESS_SUCCESS:\n return Object.assign({}, prevState, {\n isAddressServiceable: action.data.result.serviceable,\n loading: false\n });\n case actionTypes.GET_SERVICEABLE_ADDRESS_FAIL:\n return Object.assign({}, prevState, {\n isAddressServiceable: false,\n loading: false\n });\n case actionTypes.GET_RETURN_DETAILS_LOAD:\n return Object.assign({}, prevState, {\n itemReturnDetails: null,\n loading: true\n });\n case actionTypes.GET_RETURN_DETAILS_SUCCESS:\n return Object.assign({}, prevState, {\n itemReturnDetails: action.data,\n loading: false\n });\n case actionTypes.GET_RETURN_DETAILS_FAIL:\n return Object.assign({}, prevState, {\n itemReturnDetails: action.error,\n loading: false\n });\n case actionTypes.GET_RETURN_ACTIONS_LOAD:\n return Object.assign({}, prevState, {\n loading: true\n });\n case actionTypes.GET_RETURN_ACTIONS_SUCCESS:\n return Object.assign({}, prevState, {\n returnActionsDetail: action.data,\n loading: false\n });\n case actionTypes.GET_RETURN_ACTIONS_FAIL:\n return Object.assign({}, prevState, {\n returnActionsDetail: action.error,\n loading: false\n });\n case actionTypes.GET_PAYMENT_DATA_LOAD:\n return Object.assign({}, prevState, {\n loading: true\n });\n case actionTypes.GET_PAYMENT_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n paymentData: action.data.paymentData,\n loading: false\n });\n case actionTypes.GET_PAYMENT_DATA_FAIL:\n return Object.assign({}, prevState, {\n paymentData: action.error,\n loading: false\n });\n case actionTypes.GET_PAYMENT_METHODS_LOAD:\n return Object.assign({}, prevState, {\n loading: true\n });\n case actionTypes.GET_PAYMENT_METHODS_SUCCESS:\n return Object.assign({}, prevState, {\n paymentMethods: action.data,\n loading: false\n });\n case actionTypes.GET_PAYMENT_METHODS_FAIL:\n return Object.assign({}, prevState, {\n paymentMethods: action.error,\n loading: false\n });\n case actionTypes.CREATE_REFUND_LOAD:\n return Object.assign({}, prevState, {\n createRefundLoading: true,\n loading: true\n });\n case actionTypes.CREATE_REFUND_SUCCESS:\n return Object.assign({}, prevState, {\n refundDetails: action.data,\n createRefundLoading: false,\n loading: false\n });\n case actionTypes.CREATE_REFUND_FAIL:\n return Object.assign({}, prevState, {\n refundDetails: action.error,\n createRefundLoading: false,\n loading: false\n });\n case actionTypes.SET_IS_EXCHANGE:\n return Object.assign({}, prevState, {\n isExchange: xApiClient === 'mobilesite' && action.flag || false\n });\n case actionTypes.SET_EXCHANGE_ORDER_AND_ITEM:\n return Object.assign({}, prevState, {\n exchangeOrderId: action.orderId,\n exchangeItemId: action.itemId\n });\n case actionTypes.SET_EXCHANGE_RETURN_CLEAN:\n return Object.assign({}, initialState);\n case actionTypes.GET_REFUND_ESTIMATE_LOAD:\n return Object.assign({}, prevState, {\n loading: true\n });\n case actionTypes.GET_REFUND_ESTIMATE_SUCCESS:\n return Object.assign({}, prevState, {\n refundEstimateData: action.data,\n loading: false\n });\n case actionTypes.GET_REFUND_ESTIMATE_FAIL:\n return Object.assign({}, prevState, {\n refundEstimateData: action.error,\n loading: false\n });\n case actionTypes.GET_ELIGIBILITY_RETURN_STATUS:\n return Object.assign({}, prevState, { loading: true, orderReturnableStatus: null });\n case actionTypes.GET_ELIGIBILITY_RETURN_STATUS_SUCCESS:\n return Object.assign({}, prevState, { loading: false, orderReturnableStatus: action.data });\n case actionTypes.GET_ELIGIBILITY_RETURN_STATUS_FAIL:\n return Object.assign({}, prevState, { loading: false, orderReturnableStatus: action.error });\n case actionTypes.GET_RETURN_LABEL_STATUS_LOAD:\n return Object.assign({}, prevState, {\n returnLabelGenerated: null\n });\n case actionTypes.GET_RETURN_LABEL_STATUS_SUCCESS:\n return Object.assign({}, prevState, {\n returnLabelGenerated: action.data && action.data.success\n });\n case actionTypes.GET_RETURN_LABEL_STATUS_FAIL:\n return Object.assign({}, prevState, {\n returnLabelGenerated: false\n });\n case actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY:\n return Object.assign({}, prevState, {\n returnEligibiliyDetailsLoading: true,\n returnEligibiliyDetails: null\n });\n case actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY_SUCCESS:\n return Object.assign({}, prevState, {\n returnEligibiliyDetailsLoading: false,\n returnEligibiliyDetails: action.data\n });\n case actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY_FAIL:\n return Object.assign({}, prevState, {\n returnEligibiliyDetailsLoading: false,\n returnEligibiliyDetails: action.error\n });\n case actionTypes.SET_RETURN_ITEM_DETAILS:\n return Object.assign({}, prevState, {\n returnProductItemDetails: action.data\n });\n case actionTypes.SET_CURRENT_RETURN_ITEM:\n return Object.assign({}, prevState, {\n currentReturnItem: action.data\n });\n case actionTypes.SET_NEW_EXCHANGE_FLOW:\n return Object.assign({}, prevState, {\n exchangeNewFlow: action.flag || false\n });\n case actionTypes.RETURN_CANCEL_LOAD:\n return Object.assign({}, prevState, {\n returnCancelLoading: true,\n returnCancelStatus: null\n });\n case actionTypes.RETURN_CANCEL_SUCCESS:\n return Object.assign({}, prevState, {\n returnCancelLoading: false,\n returnCancelStatus: action.data\n });\n case actionTypes.RETURN_CANCEL_FAIL:\n return Object.assign({}, prevState, {\n returnCancelLoading: false,\n returnCancelStatus: action.error\n });\n default: return prevState;\n }\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst QRPaymentLoadable = Loadable({\n loader: () => import('desktop/containers/QRPayment/QRPayment.js' /* webpackChunkName: 'qrPayment' */).then(module => module.default),\n loading: () => \n});\n\nexport default QRPaymentLoadable;\n","import { call, put, takeLatest, all, select } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/home';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\nimport { getRawHomeData, getMergedHomeData } from '../selectors/home';\n\nlet _client = null;\n// let _location = null;\n\nfunction getProcessedData(homePageData, campaignData) {\n const homeSections = homePageData.homeData && homePageData.homeData.sections;\n let campaignDataForThisBlock;\n let campaignDataSize = Object.keys(campaignData).length;\n homeSections.some((section, index) => {\n if (section.blockType && campaignData[section.blockType]) {\n campaignDataForThisBlock = campaignData[section.blockType];\n if (section.blockType !== 'CAROUSEL_BANNER') {\n homeSections[index] = campaignDataForThisBlock;\n } else {\n const homeCarouselData = homeSections[index].data[0].data;\n const newCarouselData = [];\n homeCarouselData.forEach((carouselSlide, idx) => {\n if (campaignDataForThisBlock[idx]) {\n newCarouselData.push(campaignDataForThisBlock[idx]);\n }\n newCarouselData.push(carouselSlide);\n });\n homeSections[index].data[0].data = newCarouselData;\n }\n campaignDataSize -= 1;\n if (campaignDataSize === 0) {\n return true;\n }\n }\n return false;\n });\n return homePageData;\n}\n\nfunction* getHomepageData(campaignData, usePristineData, pageContext) {\n if (__CLIENT__) sessionStorage.removeItem('isReOrderProduct');\n const successAction = { type: actionTypes.HOMEPAGE_DATA_SUCCESS };\n const errorAction = { type: actionTypes.HOMEPAGE_DATA_FAIL };\n const client = Object.assign({}, _client);\n client.setHeader();\n if (['premium-eyeglasses', 'premium-sunglasses', 'eyeglasses', 'sunglasses', 'home'].includes(pageContext) || pageContext.indexOf('promo-') > -1) {\n try {\n let configPath;\n if (pageContext === 'home') {\n configPath = config.apiPath.homePageJson;\n } else {\n configPath = `${config.jsonPath}/${pageContext}.json`;\n }\n let rawHomeData;\n if (usePristineData) {\n rawHomeData = yield select(getRawHomeData);\n } else {\n rawHomeData = yield call(async () => client.get(`${configPath}?v=${new Date().getTime()}`));\n const categoryCarouselPositions = [];\n const categoryCarouselIds = rawHomeData.homeData.sections.reduce((filtered, section, index) => {\n if (__SERVER__ && filtered.length > 2) {\n return filtered;\n }\n if (section.data[0].type === 'TYPE_CATEGORY_CAROUSEL') {\n const catId = section.data[0].data.catId;\n filtered.push(catId);\n categoryCarouselPositions.push(index);\n }\n return filtered;\n }, []);\n if (categoryCarouselIds && categoryCarouselIds.length) {\n const ids = __SERVER__ ? categoryCarouselIds.slice(0, 2).join(',') : categoryCarouselIds.join(',');\n const categoryCarouselsData = yield call(async () => client.get(config.apiPath.categoryCarouselUrl + ids));\n categoryCarouselPositions.forEach(carouselPosition => {\n rawHomeData.homeData.sections[carouselPosition].data[0].productData = categoryCarouselsData.result.filter(carouselData => parseInt(carouselData.cat_id, 10) === rawHomeData.homeData.sections[carouselPosition].data[0].data.catId);\n });\n }\n }\n const rawDataClone = JSON.parse(JSON.stringify(rawHomeData));\n successAction.data = campaignData && campaignData.activeAndValidData && Object.keys(campaignData.activeAndValidData).length ? getProcessedData(rawDataClone, campaignData.activeAndValidData) : rawDataClone;\n successAction.rawData = rawHomeData;\n yield put(successAction);\n } catch (e) {\n errorAction.error = e;\n yield put(errorAction);\n }\n }\n}\nfunction* getCarousalsData() {\n const successAction = { type: actionTypes.HOMEPAGE_CAROUSALS_DATA_SUCCESS };\n const errorAction = { type: actionTypes.HOMEPAGE_CAROUSALS_DATA_FAIL };\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const rawHomeData = yield select(getRawHomeData);\n const mergedHomeData = yield select(getMergedHomeData);\n const categoryCarouselPositions = [];\n const categoryCarouselIds = rawHomeData.homeData.sections.reduce((filtered, section, index) => {\n if (section.data[0].type === 'TYPE_CATEGORY_CAROUSEL') {\n const catId = section.data[0].data.catId;\n filtered.push(catId);\n categoryCarouselPositions.push(index);\n }\n return filtered;\n }, []);\n if (categoryCarouselIds && categoryCarouselIds.length) {\n const categoryCarouselsData = yield call(async () => client.get(config.apiPath.categoryCarouselUrl + categoryCarouselIds.join(',')));\n categoryCarouselPositions.forEach(carouselPosition => {\n rawHomeData.homeData.sections[carouselPosition].data[0].productData = categoryCarouselsData.result.filter(carouselData => parseInt(carouselData.cat_id, 10) === rawHomeData.homeData.sections[carouselPosition].data[0].data.catId);\n mergedHomeData.sections[carouselPosition].data[0].productData = categoryCarouselsData.result.filter(carouselData => parseInt(carouselData.cat_id, 10) === rawHomeData.homeData.sections[carouselPosition].data[0].data.catId);\n });\n }\n successAction.data = rawHomeData;\n successAction.mergedHomeData = mergedHomeData;\n yield put(successAction);\n } catch (e) {\n errorAction.error = e;\n yield put(errorAction);\n }\n}\nexport function* getHome({ campaignData, usePristineData, pageContext }) {\n yield put({ type: actionTypes.HOMEPAGE_DATA_LOAD });\n yield call(getHomepageData, campaignData, usePristineData, pageContext);\n}\n\nfunction* getMobileHomepageData({ isBot }) {\n const successAction = { type: actionTypes.MOBILE_HOMEPAGE_DATA_SUCCESS };\n const errorAction = { type: actionTypes.HOMEPAGE_DATA_FAIL };\n const timestamp = Math.floor((new Date().getTime() / (60000 * 3))).toString();\n const client = Object.assign({}, _client);\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.homePageJson}?v=${timestamp}`));\n successAction.data = data;\n successAction.isBot = isBot;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runHomeCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.MOBILE_HOMEPAGE_DATA_LOAD, getMobileHomepageData),\n takeLatest(actionTypes.HOMEPAGE_CAROUSALS_DATA_LOAD, getCarousalsData)\n ]);\n}\n","import * as actionTypes from './../../actionTypes/address';\n\nconst initialState = {\n locationData: { result: { states: [], country: [] } },\n userAddress: { result: [] },\n updateUserAddressData: null,\n deleteUserAddressData: false,\n isUpdateAddressLoading: false\n};\n\nexport default function address(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.LOCATION_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n locationData: action.data\n });\n case actionTypes.USER_ADDRESS_SUCCESS:\n return Object.assign({}, prevState, {\n userAddress: action.data,\n addressLoaded: true,\n hideAddressLoader: action.hideLoader ? true : prevState.hideAddressLoader\n });\n case actionTypes.PINCODE_DATA_LOAD:\n return { ...prevState, isPincodeDataLoading: true };\n case actionTypes.PINCODE_DATA_SUCCESS:\n return {\n ...prevState,\n pincodeData: action.result,\n pincodeError: null,\n isPincodeDataLoading: false\n };\n case actionTypes.PINCODE_DATA_FAIL:\n return {\n ...prevState,\n pincodeData: null,\n pincodeError: action.error,\n isPincodeDataLoading: false\n };\n case actionTypes.UPDATE_USER_ADDRESS_LOAD:\n return { ...prevState, isUpdateAddressLoading: true, deleteUserAddressData: false };\n case actionTypes.UPDATE_USER_ADDRESS_SUCCESS:\n return { ...prevState, isUpdateAddressLoading: false, updateUserAddressData: action.result, updateUserAddressError: null };\n case actionTypes.UPDATE_USER_ADDRESS_FAIL:\n return { ...prevState, isUpdateAddressLoading: false, updateUserAddressData: null, updateUserAddressError: action.error };\n case actionTypes.DELETE_USER_ADDRESS_LOAD:\n return { ...prevState, deleteUserAddressData: false, deleteUserAddressError: false };\n case actionTypes.DELETE_USER_ADDRESS_SUCCESS:\n const userAddress = { result: [] };\n userAddress.result = prevState.userAddress.result.filter(address => address.id !== action.addressId);\n return { ...prevState, deleteUserAddressData: true, deleteUserAddressError: false, userAddress };\n case actionTypes.DELETE_USER_ADDRESS_FAIL:\n return { ...prevState, deleteUserAddressData: false, deleteUserAddressError: true };\n case actionTypes.CLEAR_STATE:\n return { ...prevState, ...action.data };\n case actionTypes.RESET_ADDRESS:\n return initialState;\n default:\n return prevState;\n }\n}\n","\nexport const langCodeAllowed = {\n in: {\n defaultLocale: 'en_in',\n defaultLanguage: 'en',\n countryCode: 'in',\n mobileNumberLength: 10,\n regex: /[6-9][0-9]{9}/,\n isPinCodeHide: false,\n countryName: 'India',\n domain: process.env.BUILD_ENV === 'development' ? 'https://preprod.lenskart.com' : 'https://www.lenskart.com',\n hrefLang: 'en-in',\n pathPrefix: '',\n phoneCode: '+91',\n gtmId_mob_prod: 'GTM-KPNNZ53',\n gtmId_mob_dev: 'GTM-PX477GW',\n gtmId_desktop_prod: 'GTM-NJM6RCZ',\n trackjs_token: '366385441bae430b923e6cd6935e9c44',\n trackjs_application: 'lenskart-web',\n localeList: [\n {\n title: 'English',\n code: 'en_in',\n }\n ],\n trendingSearch_desktop: [{ name: 'Ray ban', url: 'https://www.lenskart.com/sunglasses/brands/ray-ban-sunglasses.html' }, { name: 'Eyeglasses', url: 'https://www.lenskart.com/eyeglasses.html' }, { name: 'Sunglasses', url: 'https://www.lenskart.com/sunglasses.html' }, { name: 'Contact Lenses', url: 'https://www.lenskart.com/contact-lenses.html' }, { name: 'Acuvue', url: 'https://www.lenskart.com/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' }, { name: 'Eyewear Accessories', url: 'https://www.lenskart.com/eyewear-accessories.html' }, { name: 'Oakley', url: 'https://www.lenskart.com/sunglasses/brands/oakley-sunglasses.html' }, { name: 'Mens Sunglasses', url: 'https://www.lenskart.com/sunglasses/find-eyewear/mens-sunglasses.html' }, { name: 'Women Sunglasses', url: 'https://www.lenskart.com/sunglasses/find-eyewear/womens-sunglasses.html' }, { name: 'Aviator', url: 'https://www.lenskart.com/sunglasses/frame-shape/aviator-sunglasses.html' }, { name: 'Purevision', url: 'https://www.lenskart.com/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' }, { name: 'Sunpocket - Folding Sunglasses', url: 'https://www.lenskart.com/sunglasses/brands/sunpocket.html' }, { name: 'Eye Checkup', url: 'https://www.lenskart.com/HTO/' }],\n trendingSearch_mobile: [\n { name: 'Ray ban', url: '//www.lenskart.com/sunglasses/brands/ray-ban-sunglasses.html' },\n { name: 'Eyeglasses', url: '/eyeglasses.html' }, { name: 'Sunglasses', url: '/sunglasses.html' },\n { name: 'Contact Lenses', url: '/contact-lenses.html' },\n { name: 'Acuvue', url: '//www.lenskart.com/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' },\n { name: 'Eyewear Accessories', url: '//www.lenskart.com/eyewear-accessories.html' },\n { name: 'Oakley', url: '//www.lenskart.com/sunglasses/brands/oakley-sunglasses.html' },\n { name: 'Mens Sunglasses', url: '//www.lenskart.com/sunglasses/find-eyewear/mens-sunglasses.html' },\n { name: 'Women Sunglasses', url: '//www.lenskart.com/sunglasses/find-eyewear/womens-sunglasses.html' },\n { name: 'Aviator', url: '///www.lenskart.com/sunglasses/frame-shape/aviator-sunglasses.html' },\n { name: 'Purevision', url: '//www.lenskart.com/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' },\n { name: 'Sunpocket - Folding Sunglasses', url: '//www.lenskart.com/sunglasses/brands/sunpocket.html' },\n { name: 'Eye Checkup', url: '//www.lenskart.com/HTO/' }\n ]\n },\n ae: {\n defaultLocale: 'en_ae',\n defaultLanguage: 'en',\n countryCode: 'ae',\n domain: process.env.BUILD_ENV === 'development' ? 'https://frontend-preprod-ae.lenskart.com' : 'https://www.lenskart.com',\n mobileNumberLength: 9,\n regex: /[5-9][0-9]{8}/,\n hrefLang: 'en-ae',\n countryName: 'United Arab Emirates',\n pathPrefix: '',\n isPinCodeHide: true,\n phoneCode: '+971',\n gtmId_mob_prod: 'GTM-5BX6D3H',\n gtmId_mob_dev: 'GTM-5BX6D3H',\n gtmId_desktop_prod: 'GTM-5BX6D3H',\n trackjs_token: '366385441bae430b923e6cd6935e9c44',\n trackjs_application: 'lenskart-web-uae',\n localeList: [\n {\n title: 'English',\n code: 'en_AE',\n }\n ],\n trendingSearch_desktop: [{ name: 'Ray ban', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/ray-ban-sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses/brands/ray-ban-sunglasses.html' }, { name: 'Eyeglasses', url: process.env.BUILD_ENV === 'development' ? '/eyeglasses.html' : 'https://www.lenskart.com/ae/en/eyeglasses.html' }, { name: 'Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses.html' }, { name: 'Contact Lenses', url: process.env.BUILD_ENV === 'development' ? '/contact-lenses.html' : 'https://www.lenskart.com/ae/en/contact-lenses.html' }, { name: 'Acuvue', url: process.env.BUILD_ENV === 'development' ? '/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' : 'https://www.lenskart.com/ae/en/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' }, {\n name: 'Eyewear Accessories', url: process.env.BUILD_ENV === 'development' ? '/eyewear-accessories.html' : 'https://www.lenskart.com/ae/en/eyewear-accessories.html'\n }, { name: 'Oakley', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/oakley-sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses/brands/oakley-sunglasses.html' }, { name: 'Mens Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/find-eyewear/mens-sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses/find-eyewear/mens-sunglasses.html' }, { name: 'Women Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/find-eyewear/womens-sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses/find-eyewear/womens-sunglasses.html' }, { name: 'Aviator', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/frame-shape/aviator-sunglasses.html' : 'https://www.lenskart.com/ae/en/sunglasses/frame-shape/aviator-sunglasses.html' }, { name: 'Purevision', url: process.env.BUILD_ENV === 'development' ? '/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' : 'https://www.lenskart.com/ae/en/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' }, { name: 'Sunpocket - Folding Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/sunpocket.html' : 'https://www.lenskart.com/ae/en/sunglasses/brands/sunpocket.html' }, { name: 'Eye Checkup', url: process.env.BUILD_ENV === 'development' ? '/HTO/' : 'https://www.lenskart.com/ae/en/HTO/' }],\n trendingSearch_mobile: [\n { name: 'Ray ban', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/ray-ban-sunglasses.html' : '//www.lenskart.com/ae/en/sunglasses/brands/ray-ban-sunglasses.html' },\n { name: 'Eyeglasses', url: '/eyeglasses.html' }, { name: 'Sunglasses', url: '/sunglasses.html' },\n { name: 'Contact Lenses', url: '/contact-lenses.html' },\n { name: 'Acuvue', url: process.env.BUILD_ENV === 'development' ? '/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' : '//www.lenskart.com/ae/en/contact-lenses/most-popular-contact-lenses/acuvue-contact-lenses.html' },\n { name: 'Eyewear Accessories', url: process.env.BUILD_ENV === 'development' ? '/eyewear-accessories.html' : '//www.lenskart.com/ae/en/eyewear-accessories.html' },\n { name: 'Oakley', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/oakley-sunglasses.html' : '//www.lenskart.com/ae/en/sunglasses/brands/oakley-sunglasses.html' },\n { name: 'Mens Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/find-eyewear/mens-sunglasses.html' : '//www.lenskart.com/ae/en/sunglasses/find-eyewear/mens-sunglasses.html' },\n { name: 'Women Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/find-eyewear/womens-sunglasses.html' : '//www.lenskart.com/ae/en/sunglasses/find-eyewear/womens-sunglasses.html' },\n { name: 'Aviator', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/frame-shape/aviator-sunglasses.html' : '///www.lenskart.com/ae/en/sunglasses/frame-shape/aviator-sunglasses.html' },\n { name: 'Purevision', url: process.env.BUILD_ENV === 'development' ? '/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' : '//www.lenskart.com/ae/en/contact-lenses/most-popular-contact-lenses/purevision-contact-lenses.html' },\n { name: 'Sunpocket - Folding Sunglasses', url: process.env.BUILD_ENV === 'development' ? '/sunglasses/brands/sunpocket.html' : '//www.lenskart.com/ae/en/sunglasses/brands/sunpocket.html' },\n { name: 'Eye Checkup', url: process.env.BUILD_ENV === 'development' ? '/HTO/' : '//www.lenskart.com/ae/en/HTO/' }\n ]\n }\n\n};\n\n\n\n","import React, { useEffect } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { getJusPaymentStatusLoad } from '../../actionCreators/checkout';\nimport getSetCookie from '../../cookie';\nimport CheckoutHeader from '../../desktop/components/Checkout/CheckoutHeader/CheckoutHeader';\nimport './JusPayment.scss';\n\nconst ConfirmJusPayment = React.memo(props => {\n const { jusPaymentStatusLoading, jusPaymentStatusData } = useSelector(x => x.checkout);\n const { localeInfo } = useSelector(state => state.common);\n const { SOME_ERROR_OCCURED_PLEASE_TRY_AGAIN, LDR, PLEASE_WAIT_WHILE_CONFIRM_YOUR_PAYMENT } = useSelector(x => x.locale);\n const dispatch = useDispatch();\n\n\n useEffect(() => {\n const orderId = getSetCookie.getCookie('orderId');\n if (orderId) {\n dispatch(getJusPaymentStatusLoad({ orderId }));\n }\n }, []);\n\n useEffect(() => {\n if (jusPaymentStatusData) {\n const { history } = props;\n if (jusPaymentStatusData?.status === 'SUCCESS') {\n setTimeout(() => {\n history.push('/checkout/onepage/success');\n }, 3000);\n } else {\n setTimeout(() => {\n history.push('/checkout/onepage/retrypayment');\n }, 3000);\n }\n }\n }, [jusPaymentStatusData]);\n\n return (\n
\n {jusPaymentStatusLoading &&
\n {LDR}\n
}\n \n
{PLEASE_WAIT_WHILE_CONFIRM_YOUR_PAYMENT}
\n {jusPaymentStatusData?.message &&
{SOME_ERROR_OCCURED_PLEASE_TRY_AGAIN}: {jusPaymentStatusData?.message}
}\n
\n );\n});\n\nexport default ConfirmJusPayment;\n","import React from 'react';\n// import '../Navigation/Navigation.scss';\nimport './Menu.scss';\nimport GenderMenu from './GenderMenu';\n\nconst Menu = props => {\n const { menuData, updateNavValueDtm, section, dataLocale } = props;\n const fetchMenu = menuData.data.map((data, index) => {\n const subParentKey = data;\n return Object.keys(data).map(key => {\n return (\n
\n {data[key] && }\n
\n );\n });\n });\n\n return (\n
\n {fetchMenu}\n
\n );\n};\n\nexport default Menu;\n","export const commonState = state => state.common;\n","import { call, put, takeEvery, all, fork, select } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/campaign';\nimport { getHome } from './home';\nimport { getCartBogoConfig, getQueryParams, getDataCampaign } from '../selectors/campaign';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\n\nfunction structurizeCampaignData(data) {\n const processesData = {};\n data.forEach(item => {\n processesData[item.bannerPosition] = item;\n });\n return processesData;\n}\n\nfunction* getCampaignData({ pageContext, productData, categoryData, cartHasLoyaltyBenefits, loyaltyCount, brand, classification, usePristineData }) {\n const campaignSuccessAction = { type: actionTypes.GET_CAMPAIGN_SUCCESS };\n const campaignErrorAction = { type: actionTypes.GET_CAMPAIGN_FAIL };\n const client = { ..._client };\n try {\n let queryParams = '';\n let price;\n let ftype;\n const cartBogoConfig = yield select(getCartBogoConfig);\n if (pageContext === 'cat') {\n queryParams = `&urlKey=${categoryData.urlKey}&categoryType=${categoryData.categoryType}`;\n } else if (pageContext === 'prod') {\n price = productData.prices.length === 3 ? productData.prices[2].price : productData.prices[1].price;\n const frameType = productData.specifications[1] && productData.specifications[1].items.find(key => {\n if (key.name === 'Frame Type') {\n return key.value;\n }\n return '';\n });\n ftype = frameType ? frameType.value : '';\n // Campaigns will be filtered based on brand, type, frame type and price\n queryParams = `&brand=${encodeURIComponent(productData.brandName)}&type=${productData.type}&ftype=${ftype}&price=${price}`;\n } else if (pageContext === 'checkout') {\n if (cartHasLoyaltyBenefits === undefined) {\n queryParams = yield select(getQueryParams);\n } else {\n queryParams = `&hasLoyalty=${cartHasLoyaltyBenefits}&loyaltyCount=${loyaltyCount}&brand=${brand}&type=${classification}`;\n }\n }\n let campaignData;\n let isCollectionType;\n if (xApiClient === 'mobilesite') {\n if (pageContext.includes('_col')) {\n const keyArr = pageContext.split('_');\n isCollectionType = true;\n pageContext = keyArr[0];\n }\n campaignData = yield call(async () => client.get(`${config.apiPath.apiCampaign}&pageContext=${pageContext}`));\n campaignData = campaignData.result;\n } else {\n if (pageContext.indexOf('premium-') > -1 || pageContext.indexOf('promo-') > -1) {\n campaignData = {};\n } else {\n campaignData = yield call(async () => client.get(`${config.apiPath.apiCampaign}&pageContext=${pageContext}${queryParams}${cartBogoConfig ? '' : '&bogoConfigRequired=true'}`));\n campaignData = campaignData.result;\n }\n if (['home', 'eyeglasses', 'sunglasses', 'premium-eyeglasses', 'premium-sunglasses'].includes(pageContext) || pageContext.indexOf('promo-') > -1) {\n yield fork(getHome, { campaignData, usePristineData, pageContext });\n } else {\n campaignData.activeAndValidData = structurizeCampaignData(campaignData.activeAndValidData);\n }\n if (campaignData.cart && campaignData.cart.activeCartCampaigns && campaignData.cart.activeCartCampaigns.length) {\n campaignData.cart.activeCartCampaigns = structurizeCampaignData(campaignData.cart.activeCartCampaigns);\n }\n }\n if (xApiClient === 'mobilesite') {\n let campaignDataState = yield select(getDataCampaign);\n if (!campaignDataState) {\n campaignDataState = {};\n }\n if (isCollectionType) {\n if (!campaignDataState.col) {\n campaignDataState.col = {};\n }\n campaignDataState.col = Object.assign({}, campaignDataState.col);\n campaignDataState.col[pageContext] = campaignData;\n } else {\n campaignDataState[pageContext] = campaignData;\n }\n campaignSuccessAction.data = campaignDataState;\n } else {\n campaignSuccessAction.data = campaignData;\n }\n yield put(campaignSuccessAction);\n } catch (er) {\n if (xApiClient !== 'mobilesite') {\n if (['home', 'eyeglasses', 'sunglasses', 'premium-eyeglasses', 'premium-sunglasses'].includes(pageContext) || pageContext.indexOf('promo-') > -1) {\n yield fork(getHome, { campaignData: {}, usePristineData, pageContext });\n }\n }\n campaignErrorAction.error = er;\n yield put(campaignErrorAction);\n }\n}\n\nexport function* getCampaign({ pageContext, productData, categoryData }) {\n yield call(getCampaignData, { pageContext, productData, categoryData });\n}\n\nexport function* runCampaignCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeEvery(actionTypes.GET_CAMPAIGN_DATA, getCampaignData)\n ]);\n}\n","import React from 'react';\n\nconst OrderInfo = ({ id, dataLocale, billingAddress = {} }) => {\n const { firstName = '', lastName = '' } = billingAddress;\n const userName = `${firstName} ${lastName}`;\n const { ORDER, CUSTOMER_NAME } = dataLocale;\n return (\n

\n {ORDER} #{id}\n {CUSTOMER_NAME}: {userName}\n

\n );\n};\n\nexport default OrderInfo;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/neft';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n\nlet _client = null;\n\nfunction* saveNeftValues({ values }) {\n const successAction = { type: actionTypes.EDIT_NEFT_SUCCESS };\n const errorAction = { type: actionTypes.EDIT_NEFT_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(`${config.apiPath.editNeft}`, values));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runNeftCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.EDIT_NEFT_LOAD, saveNeftValues)\n ]);\n}\n","import * as actionTypes from '../actionTypes/yotpo';\n\nexport function getYotpoSiteRatings() {\n return { type: actionTypes.YOTPO_SITE_RATINGS_LOAD };\n}\n","import { all } from 'redux-saga/effects';\nimport { runCommonCalls } from './common';\nimport { runHeaderCalls } from './header';\nimport { runFooterCalls } from './footer';\nimport { runCategoryCalls } from './category';\nimport { runProductCalls } from './product';\nimport { runHomeCalls } from './home';\nimport { runCartCalls } from './cart';\nimport { runAuthCalls } from './auth';\nimport { runDittoCalls } from './ditto';\nimport { runDittoShareCalls } from './dittoShare';\nimport { runSuccessCalls } from './success';\nimport { runOrderCalls } from './order';\nimport { runCategoryCarouselCalls } from './categoryCarousel';\nimport { runCampaignCalls } from './campaign';\nimport { runCheckoutCalls } from './checkout';\nimport { runAddressCalls } from './address';\nimport { runPhoneNumberCaptureCalls } from './phoneNumberCapture';\nimport { runCollectionPageCalls } from './collectionPage';\nimport { runShortlistCalls } from './shortlist';\nimport { runDTMCalls } from './DTM';\nimport { runHtoCalls } from './hto';\nimport { runMyAccountCalls } from './myAccount';\nimport { runSavedCardsCalls } from './savedCards';\nimport { runNeftCalls } from './neft';\nimport { runProductCarouselCalls } from './productCarousel';\nimport { runYotpoCalls } from './yotpo';\nimport { runWhatsappStatusCalls } from './gupshupWhatsapp';\nimport { runReturnExchangeCalls } from './returnExchange';\nimport { runFrameSizeCalls } from './frameSize';\nimport { runStoreCalls } from './store';\nimport { runQRCodeCalls } from './qrCode';\nimport { runGetLocaleCalls } from './locale';\nimport { runNewMSiteOfflineSalesFlowCalls } from './newMSiteOfflineSalesFlow';\nimport { runReviewCalls } from './review';\nimport { runOfferCampaignCalls } from './offerCampaign';\n\nexport default function* rootSaga(client, location) {\n yield all([\n runCommonCalls(client, location),\n runHeaderCalls(client),\n runFooterCalls(client),\n runCategoryCalls(client, location),\n runHomeCalls(client, location),\n runCampaignCalls(client),\n runCartCalls(client),\n runCategoryCarouselCalls(client),\n runProductCalls(client),\n runAuthCalls(client),\n runDittoCalls(client),\n runDittoShareCalls(client),\n runCheckoutCalls(client),\n runAddressCalls(client),\n runSuccessCalls(client),\n runOrderCalls(client),\n runPhoneNumberCaptureCalls(client),\n runCollectionPageCalls(client),\n runDTMCalls(client),\n runShortlistCalls(client),\n runMyAccountCalls(client),\n runSavedCardsCalls(client),\n runNeftCalls(client),\n runProductCarouselCalls(client),\n runYotpoCalls(client),\n runHtoCalls(client),\n runWhatsappStatusCalls(client),\n runReturnExchangeCalls(client),\n runFrameSizeCalls(client),\n runStoreCalls(client),\n runQRCodeCalls(client),\n runNewMSiteOfflineSalesFlowCalls(client),\n runGetLocaleCalls(client),\n runReviewCalls(client),\n runOfferCampaignCalls(client)\n ]);\n}\n","import * as actionTypes from '../actionTypes/order';\n\nexport function getOrder(data = {}) {\n return { type: actionTypes.GET_ORDER, data };\n}\n\nexport function setOrder(orderDetails) {\n return { type: actionTypes.SET_ORDER, orderDetails };\n}\n\nexport function getRecentOrder(pageNo, pageSize) {\n return { type: actionTypes.PREV_ORDER_LOAD, pageNo, pageSize };\n}\n\nexport function clearState(data) {\n return { type: actionTypes.CLEAR_STATE, data };\n}\n\nexport function resetOrderDetails(orderDetails) {\n return { type: actionTypes.RESET_ORDERDETAILS, orderDetails };\n}\n","// import React from 'react';\nimport Loadable from 'react-loadable';\n// import Loader from '../../../components/BlankLoader/BlankLoader';\n\nconst AuthModalLoadable = Loadable({\n loader: () => import('./AuthModal' /* webpackChunkName: 'auth-modal' */).then(module => module.default),\n loading: () => null\n});\n\nexport default AuthModalLoadable;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/footer';\nimport config from 'config';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\nfunction* getResource(resource, successAction, errorAction, options) {\n try {\n const data = yield call(async () => _client.get(resource, options));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getPowerUpdate({ value }) {\n const successAction = {\n type: actionTypes.ENTER_POWER_SUCCESS\n };\n const errorAction = {\n type: actionTypes.ENTER_POWER_FAIL\n };\n const options = {\n params: {\n phone: value\n }\n };\n yield call(getResource, config.apiPath.enterMyPower, successAction, errorAction, options);\n}\n\nexport function* runFooterCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.ENTER_POWER_LOAD, getPowerUpdate)\n ]);\n}\n","import * as actionTypes from './../../actionTypes/yotpo';\n\nconst initialState = {\n yotpoSiteRating: 0,\n yotpoSiteReviewCount: 0\n};\n\n\nexport default function yotpo(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.YOTPO_SITE_RATINGS_SUCCESS:\n return Object.assign({}, prevState, {\n yotpoSiteRating: action.data.response.bottomline.average_score,\n yotpoSiteReviewCount: action.data.response.bottomline.total_reviews\n });\n case actionTypes.YOTPO_SITE_RATINGS_TIMEOUT:\n return Object.assign({}, prevState, {\n yotpoSiteRating: 0,\n yotpoSiteReviewCount: 0\n });\n case actionTypes.YOTPO_SITE_RATINGS_FAILURE:\n return Object.assign({}, prevState, {\n yotpoSiteRating: 0,\n yotpoSiteReviewCount: 0\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from '../actionTypes/common';\nimport { CLEAR_CMS_DATA } from '../actionTypes/cmsMapping';\n\nexport function getRedisRouter(args) {\n return { type: actionTypes.GET_REDIS_ROUTER_LOAD, ...args };\n}\n\nexport function localeInfo(data) {\n return { type: actionTypes.SET_COUNTRY_INFO, data };\n}\n\nexport function getRedisData(isBot = false) {\n return { type: actionTypes.GET_REDIS_DATA, isBot };\n}\n\nexport function validateSession(path) {\n return { type: actionTypes.GET_USER, path };\n}\n\nexport function validateSessionV2(path) {\n return { type: actionTypes.VALIDATE_SESSION, path };\n}\n\nexport function setJunoSession() {\n return { type: actionTypes.LOAD_JUNO_SESSION };\n}\n\nexport function shortlist(pid, method, query) {\n if (method.toLowerCase() === 'get') {\n return { type: actionTypes.SHORTLIST_LOAD, pid, method, query };\n } else if (method.toLowerCase() === 'post') {\n return { type: actionTypes.SHORTLIST_ADD, pid, method, query };\n }\n return { type: actionTypes.SHORTLIST_DELETE, pid, method, query };\n}\n\nexport function showWishlist(value) {\n return { type: actionTypes.WISHLIST_TRUE, value };\n}\n\nexport function shortListType(shortListValue) {\n return { type: actionTypes.SHORTLIST_TYPE, shortListValue };\n}\n\nexport function getUserInfo() {\n return { type: actionTypes.GET_USER_LOAD };\n}\n\nexport function toggleCart(value, dtmActionType) {\n window.dtm.actiontype = dtmActionType;\n return {\n type: actionTypes.CART_POPUP, value\n };\n}\n\nexport function changeSection(value, isDataLoaded) {\n return { type: actionTypes.CHANGE_SECTION, value, isDataLoaded };\n}\n\nexport function getDittoProfiles() {\n return { type: actionTypes.DITTO_PROFILE_LOAD };\n}\n\nexport function saveDittoName(dittoNameObj) {\n return { type: actionTypes.DITTO_NAME_SAVE, dittoNameObj };\n}\n\nexport function setDitto(dittoId) {\n return { type: actionTypes.DITTO_DEFAULT_SET, dittoId };\n}\n\nexport function updateDittoChangedState(changedState) {\n return { type: actionTypes.DITTO_CHANGED_STATUS_UPDATE, changedState };\n}\n\nexport function deleteDitto(dittoId) {\n return { type: actionTypes.DITTO_DELETE, dittoId };\n}\n\nexport function dittoAuth(dittoId) {\n return { type: actionTypes.DITTO_AUTH_LOAD, dittoId };\n}\n\nexport function logoutUser() {\n return { type: actionTypes.LOGOUT_USER };\n}\n\nexport function modifyData(data) {\n return { type: actionTypes.MODIFY_DATA, data };\n}\n\nexport function changeLogo(logoType, pageType) {\n return { type: actionTypes.CHANGE_LOGO, logoType, pageType };\n}\n\nexport function askUserLogin(data) {\n return { type: actionTypes.ASK_USER_LOGIN, data };\n}\n\nexport function setToastMessage(data) {\n return { type: actionTypes.SET_TOAST_MESSAGE, data };\n}\n\nexport function setSizeDetail(data) {\n return { type: actionTypes.SET_SIZE_DETAIL, data };\n}\n\nexport function getCountryData(code) {\n return { type: actionTypes.COUNTRY_DATA_LOAD, code };\n}\n\nexport function clearCmsData(data) {\n return { type: CLEAR_CMS_DATA, data };\n}\n\nexport function getCmsPageData(cmsPath) {\n return { type: actionTypes.PDP_CMS_POPUP_LOAD, cmsPath };\n}\nexport function setYotpoWidgetsState(data) {\n clearTimeout(this.yotpoRefreshTimeout);\n if (window && window.Yotpo && window.yotpo && window.yotpo.initialized) {\n const yotpoApi = new window.Yotpo.API(window.yotpo);\n if (yotpoApi) {\n this.yotpoRefreshTimeout = setTimeout(() => yotpoApi.refreshWidgets(), 500);\n }\n }\n return { type: actionTypes.YOTPO_WIDGETS_SHOW, data };\n}\nexport function getAudienceType() {\n return { type: actionTypes.AUDIENCE_TYPE_LOAD };\n}\n\nexport function updateTryOnSwitch(data) {\n return { type: actionTypes.TRY_ON_SWITCH, data };\n}\nexport function getCustomerInfo(customerId) {\n return { type: actionTypes.GET_CUSTOMER_INFO_LOAD, customerId };\n}\nexport function embedVideo(data) {\n return { type: actionTypes.EMBED_VIDEO, data };\n}\nexport function setIsWebView() {\n return { type: actionTypes.SET_IS_WEBVIEW };\n}\nexport function setPhonepeView(flag) {\n return { type: actionTypes.IS_PHONEPEVIEW, flag };\n}\nexport function passUtmData(data) {\n return { type: actionTypes.PASS_UTM_DATA_LOAD, data };\n}\n","export const EDIT_NEFT_LOAD = 'neft/EDIT_NEFT_LOAD';\nexport const EDIT_NEFT_SUCCESS = 'neft/EDIT_NEFT_SUCCESS';\nexport const EDIT_NEFT_FAIL = 'neft/EDIT_NEFT_FAIL';\n","import React from 'react';\nimport ItemInfo from './ItemInfo';\n\nconst Accessories = ({ item, dataLocale }) => {\n return (\n
\n \n

{dataLocale.THIS_PRODUCT_HAS_NO_CUSTOM_OPTIONS}

\n
\n );\n};\n\nexport default Accessories;\n","export const HOMEPAGE_DATA_LOAD = 'HOMEPAGE_DATA_LOAD';\nexport const MOBILE_HOMEPAGE_DATA_LOAD = 'MOBILE_HOMEPAGE_DATA_LOAD';\nexport const HOMEPAGE_DATA_SUCCESS = 'HOMEPAGE_DATA_SUCCESS';\nexport const MOBILE_HOMEPAGE_DATA_SUCCESS = 'MOBILE_HOMEPAGE_DATA_SUCCESS';\nexport const HOMEPAGE_DATA_FAIL = 'HOMEPAGE_DATA_FAIL';\nexport const RENDER_DATA_UPDATE = 'RENDER_DATA_UPDATE';\nexport const HOME_SCROLL_SET = 'HOME_SCROLL_SET';\nexport const HOMEPAGE_MERGED_DATA_UPDATE = 'HOMEPAGE_MERGED_DATA_UPDATE';\nexport const HOMEPAGE_CAROUSALS_DATA_LOAD = 'HOMEPAGE_CAROUSALS_DATA_LOAD';\nexport const HOMEPAGE_CAROUSALS_DATA_SUCCESS = 'HOMEPAGE_CAROUSALS_DATA_SUCCESS';\nexport const HOMEPAGE_CAROUSALS_DATA_FAIL = 'HOMEPAGE_CAROUSALS_DATA_FAIL';\n","import React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport FollowUs from './FollowUs';\nimport { connect } from 'react-redux';\nimport PowerUpdate from '../PowerUpdate/PowerUpdate';\nimport './Footer.scss';\nimport { bindActionCreators } from 'redux';\nimport * as footerActions from '../../../actionCreators/footer';\nimport DownloadApp from './DownloadApp';\nclass Footer extends PureComponent {\n static propTypes = {\n mainNavigationData: PropTypes.any,\n loginStatus: PropTypes.bool,\n section: PropTypes.any,\n footerActions: PropTypes.any.isRequired,\n enterPowerRespMsg: PropTypes.string,\n };\n constructor(props, context) {\n super(props, context);\n this.state = {\n showPowerModal: false,\n };\n }\n\n // Need to improve this duplicate dtm calls\n handleFooterClickEvent = ({ key }) => {\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.footer.click.footerList(\n this.props.section,\n { key },\n this.props.loginStatus\n );\n}\n if (key === 'ENTER MY POWER') {\n this.setState({ showPowerModal: true });\n }\n };\n close = () => {\n this.setState({ showPowerModal: false });\n };\n\n handleEyeglassesClick = ({ key }) => {\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.footer.click.eyeSunContact(\n this.props.section,\n this.props.loginStatus,\n 'eyeglasses',\n { key }\n );\n}\n };\n\n handleSunglassesClick = ({ key }) => {\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.footer.click.eyeSunContact(\n this.props.section,\n this.props.loginStatus,\n 'sunglasses',\n { key }\n );\n}\n };\n\n handleContactClick = ({ key }) => {\n if (window.dtm.LenskartRewamp) {\n window.dtm.LenskartRewamp.footer.click.eyeSunContact(\n this.props.section,\n this.props.loginStatus,\n 'contact lenses',\n { key }\n );\n}\n };\n hitPowerAPI = phoneVal => {\n this.props.footerActions.getPowerUpdate(phoneVal);\n };\n\n renderDiv = (key, item, clickHandler, { elemType, target }, catId) => {\n if (elemType === 'Link') {\n return (\n
  • \n clickHandler({ key })}\n >\n {key}\n \n
  • \n );\n }\n return (\n
  • \n clickHandler({ key })}\n >\n {key}\n \n
  • \n );\n };\n\n render() {\n const footerData = this.props.mainNavigationData && this.props.mainNavigationData.footer;\n let firstFooter = {};\n let secondFooter = {};\n let Eyeglasses = {};\n let Sunglasses = {};\n let contactLens = {};\n if (footerData) {\n firstFooter = footerData[0].menuFirst;\n secondFooter = footerData[1].menuSecond;\n Eyeglasses = footerData[2].Eyeglasses;\n Sunglasses = footerData[3].Sunglasses;\n contactLens = footerData[4]['Contact Lenses'];\n }\n const { section, loginStatus, enterPowerRespMsg, location, dataLocale } = this.props;\n const { EYEGLASSES, SUNGLASSES, CONTACT_LENSES } = dataLocale;\n return (\n
    \n
    \n {}\n {}\n
    \n
    \n
      \n {Object.keys(firstFooter).map(key => {\n return (\n (firstFooter[key].indexOf('http') === -1 &&\n firstFooter[key].indexOf('javascript') === -1 &&\n this.renderDiv(key, firstFooter, this.handleFooterClickEvent, {\n elemType: 'Link',\n })) ||\n (firstFooter[key].indexOf('javascript') === -1 &&\n this.renderDiv(key, firstFooter, this.handleFooterClickEvent, {\n target: '_blank',\n })) ||\n this.renderDiv(key, firstFooter, this.handleFooterClickEvent, { target: '_self' })\n );\n })}\n
    \n
      \n {Object.keys(secondFooter).map(key => {\n return this.renderDiv(key, secondFooter, this.handleFooterClickEvent, {\n target: '_blank',\n });\n })}\n
    \n
    \n
      \n
    • \n {EYEGLASSES}\n
        \n {Object.keys(Eyeglasses).map(key => {\n return Eyeglasses[key].url && Eyeglasses[key].url.indexOf('lenskart.com') === -1\n ? this.renderDiv(\n key,\n Eyeglasses,\n this.handleEyeglassesClick,\n { elemType: 'Link' },\n Eyeglasses[key].categoryId\n )\n : this.renderDiv(\n key,\n Eyeglasses,\n this.handleEyeglassesClick,\n { target: '' },\n Eyeglasses[key].categoryId\n );\n })}\n
      \n
    • \n
    • \n {SUNGLASSES}\n
        \n {Object.keys(Sunglasses).map(key => {\n return Sunglasses[key].url && Sunglasses[key].url.indexOf('lenskart.com') === -1\n ? this.renderDiv(\n key,\n Sunglasses,\n this.handleSunglassesClick,\n { elemType: 'Link' },\n Sunglasses[key].categoryId\n )\n : this.renderDiv(\n key,\n Sunglasses,\n this.handleSunglassesClick,\n { target: '' },\n Sunglasses[key].categoryId\n );\n })}\n
      \n
    • \n
    • \n {CONTACT_LENSES}\n
        \n {Object.keys(contactLens).map(key => {\n return contactLens[key].url &&\n contactLens[key].url.indexOf('lenskart.com') === -1\n ? this.renderDiv(\n key,\n contactLens,\n this.handleContactClick,\n { elemType: 'Link' },\n contactLens[key].categoryId\n )\n : this.renderDiv(\n key,\n contactLens,\n this.handleContactClick,\n { target: '' },\n contactLens[key].categoryId\n );\n })}\n
      \n
    • \n
    \n
    \n
    \n
    \n {this.state.showPowerModal && (\n \n )}\n
    \n );\n }\n}\nconst mapStateToProps = state => ({\n enterPowerRespMsg: state.footer.enterPowerRespMsg,\n dataLocale: state.locale\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n footerActions: bindActionCreators(footerActions, dispatch),\n };\n}\nFooter.defaultProps = {\n mainNavigationData: {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Footer);\n","import * as actionTypes from '../actionTypes/locale';\n\nexport function getLocaleData() {\n return { type: actionTypes.LOAD_LOCALE_CONFIG };\n}\n","export const SET_ORDER = 'order/SET_ORDER';\nexport const GET_ORDER = 'order/GET_ORDER';\nexport const GET_ORDER_SUCCESS = 'order/GET_ORDER_SUCCESS';\nexport const GET_ORDER_FAIL = 'order/GET_ORDER_FAIL';\nexport const POWER_SUMBMIT_LOAD = 'order/POWER_SUMBMIT_LOAD';\nexport const POWER_SUMBMIT_FAIL = 'order/POWER_SUMBMIT_FAIL';\n\nexport const PREV_ORDER_LOAD = 'order/PREV_ORDER_LOAD';\nexport const PREV_ORDER_SUCCESS = 'order/PREV_ORDER_SUCCESS';\nexport const PREV_ORDER_FAIL = 'order/PREV_ORDER_FAIL';\n\nexport const CLEAR_STATE = 'order/CLEAR_STATE';\n\nexport const RESET_ORDERDETAILS = 'order/RESET_ORDERDETAILS';\n","import React from 'react';\nimport { connect } from 'react-redux';\n// actions\nimport { getLensPackages, getPowers } from '../../../actionCreators/editPower';\n// components\nimport { Form } from 'react-final-form';\nimport { PowerInputs, getPrescription, getSubmitValues, getDirtyValues } from './PowerInputs';\nimport ItemInfo from './ItemInfo';\nimport PackageGroup from './PackageGroup';\n// utils\nimport { sameFields } from './power-utils';\n\nclass PowerGlass extends React.PureComponent {\n constructor(props) {\n super(props);\n const { options, prescription } = props.item || {};\n const presc = getPrescription(prescription);\n const p = options && options[0] || {};\n const pristine = { pkgid: p.oid, pkgname: p.name, ...presc };\n this.state = { pristine };\n this.mutators = {\n onChange: (args, state, utils) => {\n utils.changeValue(state, args[0], () => args[1]);\n }\n };\n this.onChange = this.onChange.bind(this);\n this.getPackageName = this.getPackageName.bind(this);\n this.submit = this.submit.bind(this);\n }\n componentDidMount() {\n const { getLensPackage, getPowers, item } = this.props;\n const { productId, prescription = {}, frameType } = item || {};\n const powerType = prescription.powerType && prescription.powerType.toLowerCase();\n if (productId) {\n getPowers({ productId, powerType });\n getLensPackage({ prodId: productId, powerType, frameType });\n }\n }\n componentDidUpdate(prevProps) {\n const { item } = this.props;\n if (prevProps.item !== item && item) {\n const { options, prescription } = item || {};\n const presc = getPrescription(prescription);\n const p = options && options[0] || {};\n const pristine = { pkgid: p.oid, pkgname: p.name, ...presc };\n (() => this.setState({ pristine }))();\n }\n }\n onChange(name, val) {\n const [key, type] = name.split('-');\n if (sameFields.indexOf(key) >= 0) {\n const ctype = type === 'left' ? 'right' : 'left';\n this.form_mutators.onChange(key + '-' + ctype, val || undefined);\n }\n if (key === 'bottomDistance' && !val) {\n this.form_mutators.onChange('lensHeight-left', undefined);\n this.form_mutators.onChange('lensHeight-right', undefined);\n this.form_mutators.onChange('lensWidth-left', undefined);\n this.form_mutators.onChange('lensWidth-right', undefined);\n }\n }\n getPackageName(name) {\n this.selectedPackageName = name;\n }\n submit(values) {\n const { item, powers, submitCallback, dataLocale: { PLEASE_ENTER_FITTING_HEIGHT, ENTERED_FITTING_HEIGHT } } = this.props;\n const { lensType } = item || {};\n if (lensType === 'BIFOCAL' && !values['bottomDistance-left']) {\n alert(PLEASE_ENTER_FITTING_HEIGHT);\n return;\n }\n if (lensType === 'BIFOCAL' && values['bottomDistance-left'] > 32) {\n alert(`${ENTERED_FITTING_HEIGHT} > 32`);\n return;\n }\n const dirtyValues = getDirtyValues(this.state.pristine, values);\n const submitValues = getSubmitValues(dirtyValues, powers);\n const changedPackage = this.state.pristine.pkgid !== values.pkgid ? { name: this.selectedPackageName, value: values.pkgid } : null;\n submitCallback(submitValues, item, changedPackage);\n }\n render() {\n const { dataLocale, item, lensPackages = [], powers = [], powerSubmittedItemId, powerSubmitted, packageSubmittedItemId, packageSubmitted } = this.props;\n const { name, productId, lensType } = item || {};\n return (\n \n \n \n {({ handleSubmit, form, values }) => {\n this.form_mutators = form.mutators;\n return (\n
    \n
    \n \n {powerSubmittedItemId && item.id === powerSubmittedItemId &&
    {powerSubmitted ? 'Power Details Updated Successfully' : 'Power Details Update Failed'}
    }\n {packageSubmittedItemId && item.id === packageSubmittedItemId &&
    {packageSubmitted ? 'Package Updated Successfully' : 'Package Update Failed'}
    }\n
    \n \n
    \n \n );\n }}\n \n
    \n );\n }\n}\n\nfunction mapStateToProps(state, ownProps) {\n const { productId: pid, prescription = {} } = ownProps.item || {};\n const powerType = prescription.powerType && prescription.powerType.toLowerCase();\n const lensPackages = state.editPower.pidToPkgs ? state.editPower.pidToPkgs[pid + powerType] : undefined;\n const powers = state.editPower.pidToPowers ? state.editPower.pidToPowers[pid + powerType] : undefined;\n return {\n lensPackages,\n powers,\n powerSubmittedItemId: state.success.powerSubmittedItemId,\n powerSubmitted: state.success.powerSubmitted,\n packageSubmittedItemId: state.success.packageSubmittedItemId,\n packageSubmitted: state.success.packageSubmitted,\n dataLocale: state.locale\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n getLensPackage: data => dispatch(getLensPackages(data)),\n getPowers: data => dispatch(getPowers(data))\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PowerGlass);\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/collectionPage';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* getCollectionPageData({ url }) {\n const successAction = { type: actionTypes.COLLECTION_PAGE_DATA_SUCCESS };\n const errorAction = { type: actionTypes.COLLECTION_PAGE_DATA_FAIL };\n try {\n const data = yield call(async () => _client.get(url));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runCollectionPageCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.COLLECTION_PAGE_DATA_LOAD, getCollectionPageData)\n ]);\n}\n","import { matchRoutes } from 'react-router-config';\n\nfunction getComponents(match) {\n return match.map(v => v.route.component).reduce(async (result, component) => {\n if (component.preload) {\n const res = await component.preload();\n const ret = [...(await result), component, ...[].concat(res)];\n return ret;\n }\n return [...(await result), component];\n }, []);\n}\n\nfunction getParams(match) {\n return match.reduce((result, component) => {\n if (component.match && component.match.params) {\n return { ...result, ...component.match.params };\n }\n return result;\n }, {});\n}\n\nconst asyncMatchRoutes = async (routes, pathname) => {\n const match = matchRoutes(routes, pathname);\n const params = getParams(match);\n const components = await getComponents(match);\n\n return { components, match, params };\n};\n\nexport default asyncMatchRoutes;\n","import React from 'react';\nimport Helmet from 'react-helmet';\nimport { connect } from 'react-redux';\nimport { langCodeAllowed } from '../../locales';\nclass AppHelmet extends React.PureComponent {\n constructor(props) {\n super(props);\n }\n render() {\n const { pathname, yotpoSiteRating, yotpoSiteReviewCount, section, location } = this.props;\n const keysArray = Object.keys(langCodeAllowed);\n const LinkArray = section !== 'cat' && section !== 'prod' ? keysArray.map(keys => ({ rel: 'alternate', hrefLang: `${langCodeAllowed[keys]?.hrefLang}`, href: location.search ? `${langCodeAllowed[keys].domain}${pathname}${location.search}` : `${langCodeAllowed[keys].domain}${pathname}` })) : [];\n return (\n \n \n );\n }\n}\n\nconst mapStateToProps = state => ({\n yotpoSiteRating: state.yotpo.yotpoSiteRating,\n yotpoSiteReviewCount: state.yotpo.yotpoSiteReviewCount\n});\n\nexport default connect(mapStateToProps)(AppHelmet);\n","\nimport React, { PureComponent } from 'react';\nimport PropTypes from 'prop-types';\nimport TopNavBar from '../../components/TopBarNav/TopBarNav';\nimport MainNav from '../../components/MainNav/MainNav';\nimport './Header.scss';\n\nclass Header extends PureComponent {\n static propTypes = {\n headerCallsActionCreators: PropTypes.any.isRequired,\n mainNavigationData: PropTypes.any,\n isMenuVisible: PropTypes.bool,\n loginStatus: PropTypes.bool,\n showGlobalHeader: PropTypes.bool,\n userInfo: PropTypes.object,\n loginLoader: PropTypes.bool,\n shortListData: PropTypes.object,\n cartData: PropTypes.object,\n redisCommonData: PropTypes.any,\n router: PropTypes.object,\n isCartCount: PropTypes.number\n }\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { mainNavigationData, isMenuVisible } = this.props;\n const navData = mainNavigationData && mainNavigationData.topBarNav;\n return (\n
    \n
    \n {navData && }\n
    \n \n
    \n );\n }\n}\n\nHeader.defaultProps = {\n mainNavigationData: {},\n showGlobalHeader: true,\n isMenuVisible: true\n};\n\nexport default Header;\n","// common actions for checkout and myaccount\nexport const LOCATION_DATA_LOAD = 'address/LOCATION_DATA_LOAD';\nexport const LOCATION_DATA_SUCCESS = 'address/LOCATION_DATA_SUCCESS';\nexport const USER_ADDRESS_LOAD = 'address/USER_ADDRESS_LOAD';\nexport const USER_ADDRESS_SUCCESS = 'address/USER_ADDRESS_SUCCESS';\nexport const USER_ADDRESS_FAIL = 'address/USER_ADDRESS_FAIL';\nexport const PINCODE_DATA_LOAD = 'address/PINCODE_DATA_LOAD';\nexport const PINCODE_DATA_SUCCESS = 'address/PINCODE_DATA_SUCCESS';\nexport const PINCODE_DATA_FAIL = 'address/PINCODE_DATA_FAIL';\nexport const UPDATE_USER_ADDRESS_LOAD = 'address/UPDATE_USER_ADDRESS_LOAD';\nexport const UPDATE_USER_ADDRESS_SUCCESS = 'address/UPDATE_USER_ADDRESS_SUCCESS';\nexport const UPDATE_USER_ADDRESS_FAIL = 'address/UPDATE_USER_ADDRESS_FAIL';\nexport const DELETE_USER_ADDRESS_LOAD = 'address/DELETE_USER_ADDRESS_LOAD';\nexport const DELETE_USER_ADDRESS_SUCCESS = 'address/DELETE_USER_ADDRESS_SUCCESS';\nexport const DELETE_USER_ADDRESS_FAIL = 'address/DELETE_USER_ADDRESS_FAIL';\nexport const CLEAR_STATE = 'address/CLEAR_STATE';\nexport const RESET_ADDRESS = 'address/RESET_ADDRESS';\n","export const PUSH_TO_CAMPAIGN_OFFLINE_SALES = 'PUSH_TO_CAMPAIGN_OFFLINE_SALES';\nexport const PUSH_TO_POS_OFFLINE_SALES = 'PUSH_TO_POS_OFFLINE_SALES';\n\n// Mobile Offline Sales User Validation\nexport const SALESMAN_ID_VERIFY = 'checkout/SALESMAN_ID_VERIFY';\nexport const SALESMAN_ID_VERIFY_SUCCESS = 'checkout/SALESMAN_ID_VERIFY_SUCCESS';\nexport const SALESMAN_ID_VERIFY_FAIL = 'checkout/SALESMAN_ID_VERIFY_FAIL';\n","// import React from 'react';\nimport Loadable from 'react-loadable';\n// import Loader from 'desktop/components/BlankLoader/BlankLoader';\n\nconst RedisMappingLoadable = Loadable({\n loader: () => import('./RedisMapping.js' /* webpackChunkName: 'desktopRedisMapping' */).then(module => module.default),\n loading: () => null\n});\n\nexport default RedisMappingLoadable;\n","export const GET_QR_SCAN_STATUS_LOAD = 'qrCode/GET_QR_SCAN_STATUS_LOAD';\nexport const GET_QR_SCAN_STATUS_SUCCESS = 'qrCode/GET_QR_SCAN_STATUS_SUCCESS';\nexport const GET_QR_SCAN_STATUS_FAIL = 'qrCode/GET_QR_SCAN_STATUS_FAIL';\nexport const GET_QR_CODE_LOAD = 'qrCode/GET_QR_CODE_LOAD';\nexport const GET_QR_CODE_SUCCESS = 'qrCode/GET_QR_CODE_SUCCESS';\nexport const GET_QR_CODE_FAIL = 'qrCode/GET_QR_CODE_FAIL';\n","import * as actionTypes from './../../actionTypes/collectionPage';\n\nconst initialState = {\n colUrl: '',\n collectionData: {},\n renderCollectionData: [],\n pristineCollectionData: {}\n};\n\nexport default function collectionPage(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.COLLECTION_PAGE_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n collectionData: action.data,\n pristineCollectionData: Object.assign({}, action.data),\n colUrl: action.url,\n renderCollectionData: action?.isBot ? action?.data?.result?.result : action?.data?.result?.result?.slice(0, 5)\n });\n case actionTypes.COLLECTION_PAGE_DATA_FAIL:\n return Object.assign({}, prevState, {\n collectionData: action.error\n });\n case actionTypes.COLLECTION_PAGE_RENDER_DATA_UPDATE:\n return Object.assign({}, prevState, {\n renderCollectionData: prevState.renderCollectionData ? prevState.renderCollectionData.concat(action.data) : [].concat(action.data)\n });\n case actionTypes.COLLECTION_MERGED_DATA_UPDATE:\n const colData = prevState.collectionData;\n colData.result = action.data;\n return Object.assign({}, prevState, {\n collectionData: colData,\n renderCollectionData: colData?.result?.result?.slice(0, 5)\n });\n default:\n return prevState;\n }\n}\n","import * as actionTypes from '../../actionTypes/category';\nimport localStorageHelper from '../../utils/localStorageHelper';\nconst initialState = {\n categoryData: {},\n filterData: undefined,\n initialFilters: null,\n categoryScrollTo: 0,\n filterDrop: null,\n reset: false,\n order: '',\n counter: 1,\n catImgLink: '',\n dittoEnable: false,\n totalCountProd: null,\n isFilterEnable: false,\n filterFail: false,\n dataCategoryList: {},\n loadSwitchBarSection: false,\n reload: { reload: false, data: {} },\n FilterDataObj: {},\n handleFilterFunction: '',\n breadcrumb: '',\n prevUrl: '',\n categoryType: '',\n powerUrls: '',\n query: '',\n pathname: '',\n visibleItemCounter: 1,\n subCategories: {},\n isCachedData: false,\n searchDataLoading: false\n};\n\nexport default function category(prevState = initialState, { data, error, type, filterObj, func, value }) {\n switch (type) {\n case actionTypes.CATEGORY_AND_FILTER_DATA_LOAD:\n return Object.assign({}, prevState, {\n categoryData: {}\n // filterData: undefined\n });\n case actionTypes.CATEGORY_DATA_LOAD:\n return Object.assign({}, prevState, {\n counter: 1,\n categoryData: {},\n isCachedData: false,\n searchDataLoading: true,\n categoryDataLoading: true\n });\n case actionTypes.SEARCH_CATEGORY_DATA_LOAD:\n return Object.assign({}, prevState, {\n counter: 1,\n categoryData: {},\n isCachedData: false,\n searchDataLoading: true\n });\n case actionTypes.CATEGORY_DATA_SUCCESS:\n if (data.pathname === '/search') {\n data.result.category_name = decodeURI(data.query);\n }\n return Object.assign({}, prevState, {\n categoryData: data,\n totalCountProd: data.result.product_list.length,\n loading: true,\n counter: (data.counter !== null && data.counter !== undefined && data.counter !== '') ? Number(data.counter) + 1 : prevState.counter,\n breadcrumb: data.result.breadcrumb,\n catImgLink: data.result.cat_img_link,\n categoryType: data.result.categoryType,\n powerUrls: data.result.category_power_urls,\n isCachedData: false,\n searchDataLoading: false,\n categoryDataLoading: false\n });\n case actionTypes.CATEGORY_DATA_FAIL:\n return Object.assign({}, prevState, {\n isFilterEnable: false,\n categoryData: error,\n searchDataLoading: false,\n categoryDataLoading: false\n });\n case actionTypes.SUBCATEGORY_DATA_LOAD:\n return Object.assign({}, prevState, {\n subCategories: {}\n });\n case actionTypes.SUBCATEGORY_DATA_SUCCESS:\n return Object.assign({}, prevState, {\n subCategories: data\n });\n case actionTypes.SUBCATEGORY_DATA_FAIL:\n return Object.assign({}, prevState, {\n subCategories: { error: true }\n });\n case actionTypes.CATEGORY_CONFIG_JSON_LOAD:\n return Object.assign({}, prevState, {\n categoryConfigJson: {}\n });\n case actionTypes.CATEGORY_CONFIG_JSON_SUCCESS:\n return Object.assign({}, prevState, {\n categoryConfigJson: data\n });\n case actionTypes.CATEGORY_CONFIG_JSON_FAIL:\n return Object.assign({}, prevState, {\n categoryConfigJson: error\n });\n case actionTypes.FILTER_DATA_LOAD:\n return Object.assign({}, prevState, {\n filterData: undefined,\n catFilterLoaded: true,\n isFilterEnable: false,\n filterFail: false\n });\n case actionTypes.FILTER_DATA_SUCCESS:\n const savedCat = prevState.dataCategoryList;\n if (savedCat[(window.location.pathname + window.location.hash).replace('/', '')]) {\n savedCat[(window.location.pathname + window.location.hash).replace('/', '')].filterData = data;\n }\n return Object.assign({}, prevState, {\n isFilterEnable: data.result.filters.length,\n filterData: data,\n catFilterLoaded: false,\n prevUrl: '',\n filterFail: false,\n dataCategoryList: savedCat\n });\n case actionTypes.FILTER_DATA_FAIL:\n return Object.assign({}, prevState, {\n isFilterEnable: false,\n filterData: { error: true },\n filterFail: true,\n catFilterLoaded: true,\n prevUrl: '',\n error\n });\n case actionTypes.SEARCH_FILTER_LOAD:\n return Object.assign({}, prevState, {\n filterData: undefined,\n isFilterEnable: false,\n prevUrl: '/search',\n filterFail: false\n });\n case actionTypes.SEARCH_FILTER_SUCCESS:\n const filterData = Array.isArray(data.result) ? { result: { filters: data.result } } : { result: { filters: [data.result] } };\n return Object.assign({}, prevState, {\n isFilterEnable: data.result.length,\n filterData,\n prevUrl: '/search',\n filterFail: false\n });\n case actionTypes.SEARCH_FILTER_FAIL:\n return Object.assign({}, prevState, {\n isFilterEnable: false,\n filterData: { error: true },\n filterFail: true,\n prevUrl: '/search',\n error\n });\n case actionTypes.ADD_FILTERDATA:\n return Object.assign({}, prevState, {\n FilterDataObj: filterObj,\n error: null\n });\n case actionTypes.HANDLE_FILTER_FUNC:\n return Object.assign({}, prevState, {\n handleFilterFunction: func\n });\n case actionTypes.MODIFY_DATA:\n return Object.assign({}, prevState, {\n ...data\n });\n case actionTypes.FILTER_DROPDOWN:\n return Object.assign({}, prevState, {\n filterDrop: value\n });\n case actionTypes.APPEND_DATA_LOAD:\n return Object.assign({}, prevState, {\n redisLoader: true,\n counter: prevState.counter + 1,\n isCachedData: false\n });\n case actionTypes.APPEND_DATA_AFTER: {\n const dataArray = prevState.categoryData;\n const updatedData = data.result.product_list;\n // const productCount = data.result.num_of_products;\n const dataConcat = dataArray.result.product_list.concat(updatedData);\n dataArray.result.product_list = dataConcat;\n // dataArray.result.num_of_products = productCount;\n return Object.assign({}, prevState, {\n categoryData: dataArray,\n error: null,\n redisLoader: false,\n counter: prevState.counter,\n totalCountProd: dataArray.result.product_list.length\n });\n }\n case actionTypes.FAIL_APPEND_DATA:\n return Object.assign({}, prevState, {\n redisLoader: false\n });\n case actionTypes.SAVE_CATEGORY_DATA_ON_SCROLL: {\n const catData = prevState.dataCategoryList;\n const currentURL = data.location ? data.location : window.location.pathname.slice(1);\n catData[currentURL] = { ...catData[currentURL], ...data };\n return Object.assign({}, prevState, {\n categoryScrollTo: data.scrollTo,\n isCachedData: false\n });\n }\n case actionTypes.UPDATE_DITTO_ENABLE:\n return Object.assign({}, prevState, {\n dittoEnable: value\n });\n case actionTypes.SHOW_CACHED_DATA:\n localStorageHelper.setItem('filters', { result: { filters: data.filterData && data.filterData.result } });\n return Object.assign({}, prevState, {\n categoryData: data.catData,\n totalCountProd: data.catData.result.product_list.length,\n breadcrumb: data.catData.result.breadcrumb,\n catImgLink: data.catData.result.cat_img_link,\n categoryType: data.catData.result.categoryType,\n powerUrls: data.catData.result.category_power_urls,\n categoryName: data.catData.result.category_name,\n categoryId: data.catData.result.categoryId,\n counter: data.counter,\n categoryScrollTo: data.scrollTo,\n filterData: data.filterData,\n loading: true,\n filterFail: false,\n isCachedData: true\n });\n case actionTypes.SAVE_CATEGORYDATA_TO_REDUX:\n let catDataList = null;\n const currentURL = __SERVER__ ? data.location : window.location.pathname.replace('/', '') + window.location.hash;\n catDataList = prevState.dataCategoryList || {};\n if (!catDataList[currentURL]) {\n if (Object.keys(catDataList).length === 5) {\n delete catDataList[Object.keys(catDataList)[0]];\n }\n catDataList[currentURL] = { catData: data, catid: data.result.categoryId, counter: prevState.counter, scrollTo: 0, filterData: prevState.filterData };\n } else {\n const currentURL = __SERVER__ ? data.location : window.location.pathname.slice(1) + window.location.hash;\n const catDataList = prevState.dataCategoryList;\n catDataList[currentURL] = { catData: prevState.categoryData, catid: prevState.categoryData.result.categoryId, counter: prevState.counter, scrollTo: 0, filterData: prevState.filterData };\n }\n return Object.assign({}, prevState, {\n dataCategoryList: catDataList || {},\n });\n case actionTypes.FILTER_STATE_UNSET: {\n return Object.assign({}, prevState, {\n isFilterEnable: false\n });\n }\n default:\n return prevState;\n }\n}\n","import * as actionTypes from './../../actionTypes/DTM';\nimport { setWindowDtm } from '../../utils/DTM';\n\nlet device = '';\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\ndevice = 'msite';\n'#endif'; // eslint-disable-line\nconst initialState = {\n deviceType: device === 'msite' ? 'msite' : 'desktop',\n site: 'new react',\n loginStatus: 'guest',\n customerID: 0,\n email: null,\n mobileNumber: null,\n mobile: null,\n lastPurchaseDate: null,\n userType: null,\n platform: device === 'msite' ? 'msite' : 'desktop' // android or ios in case of webview\n};\n\nexport default function reducer(prevState = initialState, action) {\n let dtm;\n switch (action.type) {\n case actionTypes.SET_DTM_USERINFO:\n const mobile = action?.data?.result?.telephone || '';\n dtm = {\n ...prevState,\n loginStatus: 'registered',\n customerID: action.data.result.id,\n email: action.data.result.email || '',\n mobileNumber: typeof window !== 'undefined' && typeof window.btoa !== 'undefined' ? window.btoa(mobile) : '',\n mobile: typeof window !== 'undefined' && typeof window.btoa !== 'undefined' ? window.btoa(mobile) : '',\n userType: action.data.result.hasPlacedOrder ? 'old' : 'new',\n };\n setWindowDtm(dtm, true);\n return dtm;\n case actionTypes.RESET_DTM_USERINFO:\n dtm = {\n ...prevState,\n loginStatus: 'guest',\n customerID: 0,\n email: null,\n mobileNumber: null,\n mobile: null,\n userType: null,\n lastPurchaseDate: null\n };\n setWindowDtm(dtm, true);\n return dtm;\n case actionTypes.SET_LP_DATE:\n dtm = {\n ...prevState,\n lastPurchaseDate: action.lastPurchaseDate\n };\n setWindowDtm(dtm, true);\n return dtm;\n case actionTypes.SET_PLATFORM:\n dtm = {\n ...prevState,\n platform: action.platform\n };\n setWindowDtm(dtm, true);\n return dtm;\n default:\n return prevState;\n }\n}\n","// 2nd param set false if you do not want to trigger VirtualPageView\nexport function setAndTriggerDataLayer(data, pushDataLayer = true) {\n if (typeof window !== 'undefined') {\n const newDataLayer = { ...window.persistDataLayer, ...data, event: 'VirtualPageView' };\n const { visitorEmail, visitorMobile, gaMobile, userType } = newDataLayer;\n window.persistDataLayer = { visitorEmail, visitorMobile, gaMobile, userType };\n if (pushDataLayer) {\n if (typeof window.dataLayer !== 'undefined') {\n window.dataLayer.push(newDataLayer);\n } else {\n setTimeout(() => {\n setAndTriggerDataLayer(data, pushDataLayer);\n }, 2000);\n }\n }\n }\n}\n\nexport function pushDataLayerEvent(data) {\n if (typeof window !== 'undefined' && typeof window.dataLayer !== 'undefined') {\n const { gaMobile, userType } = window.persistDataLayer || {};\n data = { ...data, mobile: gaMobile || '', userType: userType || '' };\n window.dataLayer.push(data);\n } else {\n setTimeout(() => {\n pushDataLayerEvent(data);\n }, 2000);\n }\n}\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/gupshupWhatsapp';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\nimport localStorageHelper from '../utils/localStorageHelper';\n\nlet _client = null;\n\nfunction* checkCurrentWhatsappStatus() {\n const successAction = { type: actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.get(`${config.apiPath.checkWhatsappConsent}`));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* setCurrentWhatsappStatus({status}) {\n const successAction = { type: actionTypes.SET_WHATSAPP_OPTIN_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.SET_WHATSAPP_OPTIN_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.put(`${config.apiPath.setWhatsappConsent}?optingValue=${status}`));\n const response = data?.result?.response;\n const id = response?.details === 'OPT_IN' ? response.id : '';\n if (__CLIENT__) { localStorageHelper.setItem('whatsAppOptInId', id); }\n if (response.status === 'success') {\n successAction.data = { optin: response?.details === 'OPT_IN' || false};\n yield put(successAction);\n }\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runWhatsappStatusCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.CHECK_CURRENT_WHATSAPP_OPTIN_STATUS, checkCurrentWhatsappStatus),\n takeLatest(actionTypes.SET_WHATSAPP_OPTIN_STATUS, setCurrentWhatsappStatus)\n ]);\n}\n","function removeFalsyValues(obj) {\n Object.keys(obj).forEach(key => {\n if (obj[key] == null) delete obj[key];\n });\n return obj;\n}\n\nconst paramsMapping = {\n brand: { android: 'brandname', ios: 'brandname' },\n category: { android: 'Category', ios: 'Category' },\n customerID: { android: 'customerid', ios: 'customerid' },\n platform: { android: null, ios: null },\n site: { android: null, ios: null },\n pageName: { android: 'pname', ios: 'pname' }\n};\n\nfunction changeAsPerParamsMapping(params, appOS) {\n const retNewParams = { ...params };\n const numArr = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j'];\n Object.keys(params).forEach(param => {\n if (paramsMapping[param]) {\n if (paramsMapping[param][appOS] !== null) {\n const newKey = paramsMapping[param][appOS];\n retNewParams[newKey] = params[param];\n }\n delete retNewParams[param];\n }\n if (param === 'mobile' || param === 'mobileNumber') {\n const phoneNo = window && window.atob(retNewParams[param]);\n let phoneStr = '';\n phoneNo.split('').forEach(num => {\n phoneStr += numArr[Number(num)];\n });\n retNewParams[param] = phoneStr;\n }\n });\n return retNewParams;\n}\n\n// The function for loggin event in ios / android webview\nfunction logEvent(name, params) {\n if (!name) {\n return;\n }\n\n // const newParams = changeAsPerParamsMapping(params, 'android');\n\n if (window.AnalyticsWebInterface) {\n const newParams = changeAsPerParamsMapping(params, 'android');\n // Call Android interface\n window.AnalyticsWebInterface.logEvent(name, JSON.stringify(newParams));\n } else if (window.webkit\n && window.webkit.messageHandlers\n && window.webkit.messageHandlers.firebase) {\n const newParams = changeAsPerParamsMapping(params, 'ios');\n // Call iOS interface\n const message = {\n command: 'logEvent',\n name,\n parameters: newParams\n };\n window.webkit.messageHandlers.firebase.postMessage(message);\n } else {\n // No Android or iOS interface found\n // console.log('No native APIs found.', newParams);\n window.dataLayer.push(params);\n }\n}\n\n// 2nd param set true if you want to merge with DTM object\nexport function setWindowDtm(dtm, mergeWindowDtm = false) {\n if (typeof window !== 'undefined') {\n if (window.dataLayer) {\n let newDtm = {};\n if (mergeWindowDtm) {\n newDtm = { ...window.dtm, ...dtm };\n } else {\n newDtm = { ...window.persistDtm, ...dtm };\n }\n window.dtm = removeFalsyValues(newDtm);\n const { deviceType, site, loginStatus, customerID, email, mobile, mobileNumber, userType, lastPurchaseDate, platform } = newDtm;\n window.persistDtm = removeFalsyValues({ deviceType, site, loginStatus, customerID, email, mobile, mobileNumber, userType, lastPurchaseDate, platform });\n // window.dataLayer.push(newDtm);\n logEvent(newDtm && newDtm.event || 'generic', newDtm);\n } else {\n setTimeout(() => {\n setWindowDtm(dtm, mergeWindowDtm);\n }, 2010);\n }\n }\n}\n\nexport function getDTMCategory(path) {\n let dtmCMSCategory = '';\n if (path.indexOf('premium-eyeglasses') > -1) {\n dtmCMSCategory = 'premium-eyeglasses';\n } else if (path.indexOf('premium-sunglasses') > -1) {\n dtmCMSCategory = 'premium-sunglasses';\n } else if (path.indexOf('eyeglasses.html') > -1) {\n dtmCMSCategory = 'eyeglasses';\n } else if (path.indexOf('sunglasses.html') > -1) {\n dtmCMSCategory = 'sunglasses';\n } else if (path.indexOf('contact-lenses.html') > -1) {\n dtmCMSCategory = 'contact-lenses';\n }\n return dtmCMSCategory;\n}\n","export const COLLECTION_PAGE_DATA_LOAD = 'COLLECTION_PAGE_DATA_LOAD';\nexport const COLLECTION_PAGE_DATA_SUCCESS = 'COLLECTION_PAGE_DATA_SUCCESS';\nexport const COLLECTION_PAGE_DATA_FAIL = 'COLLECTION_PAGE_DATA_FAIL';\nexport const COLLECTION_PAGE_RENDER_DATA_UPDATE = 'COLLECTION_PAGE_RENDER_DATA_UPDATE';\nexport const COLLECTION_MERGED_DATA_UPDATE = 'COLLECTION_MERGED_DATA_UPDATE';\n","export const STORE_LOAD = 'STORE_LOAD';\nexport const STORE_LOAD_SUCCESS = 'STORE_LOAD_SUCCESS';\nexport const STORE_LOAD_FAIL = 'STORE_LOAD_FAIL';\nexport const RESET_STORE_DATA = 'RESET_STORE_DATA';\nexport const CREATE_APPOINTMENT = 'CREATE_APPOINTMENT';\nexport const CREATE_APPOINTMENT_SUCCESS = 'CREATE_APPOINTMENT_SUCCESS';\nexport const CREATE_APPOINTMENT_FAIL = 'CREATE_APPOINTMENT_FAIL';\nexport const STORE_PRODUCT_FOR_PINCODE = 'STORE_PRODUCT_FOR_PINCODE';\n","import React, { Component } from 'react';\n\nclass ErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = { hasError: false };\n }\n\n componentDidCatch(error, info) {\n console.log(error, info);\n this.setState({ hasError: true });\n }\n\n render() {\n const { errorMessage } = this.props;\n if (this.state.hasError) {\n if (errorMessage) {\n return
    {errorMessage}
    ;\n }\n return
    ;\n }\n return this.props.children;\n }\n}\n\nexport default ErrorBoundary;\n","import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport getSetCookie from './../../../cookie';\nimport { provideHooks } from 'redial';\nimport { withRouter } from 'react-router';\nimport { bindActionCreators } from 'redux';\nimport Header from '../Header/Header';\nimport { renderRoutes } from 'react-router-config';\nimport Footer from '../../components/Footer/Footer';\nimport Shortlist from '../../components/Common/Shortlist';\nimport * as headerCallsActionCreators from './../../../actionCreators/header';\nimport * as commonCallsActionCreators from './../../../actionCreators/common';\nimport * as campaignCallsActionCreators from '../../../actionCreators/campaign';\nimport { showGlobalHeaderFooter } from '../../../actionCreators/header';\nimport * as homeCallsActionCreators from './../../../actionCreators/home';\nimport * as checkoutCallsActionCreators from '../../../actionCreators/checkout';\nimport { getLocaleData } from '../../../actionCreators/locale';\nimport { getYotpoSiteRatings } from '../../../actionCreators/yotpo';\n\nimport { appendScriptToDOM, isSearchCrawler, isEmptyObject, getUserEventData, setGAEventListener } from '../../../utils/helper';\nimport config from 'config';\n// import cartPixel from './../../../addCartPixel';\nimport 'custom-event-polyfill';\nimport './App.scss';\nimport AppHelmet from '../../../CommonComponents/Helmet/AppHelmet';\nimport CrossCountryStrip from '../../components/CrossCountryStrip/CrossCountryStrip';\nimport { langCodeAllowed } from '../../../locales';\nimport { setCountryData } from '../../../helpers/countryConfig';\nlet countryCode = process.env.COUNTRY;\n\n@provideHooks({\n fetch: async ({ location, reqHeaders, store: { dispatch, getState } }) => {\n\n if (__SERVER__) {\n countryCode = langCodeAllowed[countryCode.toLowerCase()] ? countryCode.toLowerCase() : 'in';\n dispatch(commonCallsActionCreators.localeInfo(langCodeAllowed[countryCode]));\n setCountryData(langCodeAllowed[countryCode]);\n }\n const state = getState();\n // get locale config data\n if (isEmptyObject(state.locale)) {\n dispatch(getLocaleData());\n }\n if (state.common.wishlistTrue === true) {\n dispatch(commonCallsActionCreators.showWishlist(false));\n }\n if (\n (location.pathname && location.pathname.indexOf('/checkout/onepage') !== -1) ||\n location.pathname.indexOf('presales') !== -1 ||\n location.pathname.indexOf('/sales/order') > -1 ||\n location.pathname.indexOf('/checkout/payment/qr') !== -1 ||\n location.pathname.indexOf('/checkout/payment/collect') !== -1 ||\n location.pathname.toLowerCase().indexOf('/hto') !== -1 || location.pathname.indexOf('/checkout/payment/confirm') !== -1\n ) {\n dispatch(showGlobalHeaderFooter({ header: false, footer: false }));\n if (__SERVER__) {\n await dispatch(commonCallsActionCreators.validateSession(location.pathname));\n }\n } else {\n dispatch(showGlobalHeaderFooter({ header: true, footer: true }));\n }\n if (__CLIENT__) {\n if (state.common.login !== Boolean(parseInt(getSetCookie.getCookie('isLogined'), 10))) {\n dispatch(commonCallsActionCreators.getUserInfo());\n }\n }\n const mainNavigationData = state.header.mainNavigationData;\n const redisCommonData = state.common.redisCommonData;\n if (__SERVER__) {\n const uA = reqHeaders['user-agent'];\n const isBot = uA ? isSearchCrawler(uA) : false;\n if (!mainNavigationData || isEmptyObject(mainNavigationData)) {\n await dispatch(headerCallsActionCreators.getMainNav());\n }\n // await dispatch(headerCallsActionCreators.getTopNavDataFromLocal());\n if (!redisCommonData || isEmptyObject(redisCommonData)) {\n await dispatch(commonCallsActionCreators.getRedisData(isBot));\n }\n }\n if (\n location.pathname &&\n (location.pathname.indexOf('/reviews') !== -1 ||\n location.pathname.indexOf('/shop-instagram') !== -1 ||\n location.pathname.indexOf('/support') !== -1 ||\n location.pathname.indexOf('/frame-size') !== -1\n )\n ) {\n dispatch(commonCallsActionCreators.changeLogo('lenskart'));\n }\n },\n defer: ({ store: { dispatch, getState } }) => {\n const state = getState();\n const { countryData, localeInfo } = state.common;\n const countryCodeCookie = getSetCookie.getCookie('countryCode');\n const trafficSource = getSetCookie.getCookie('trafficSource');\n countryCode = countryCodeCookie && langCodeAllowed.hasOwnProperty(countryCodeCookie.toLowerCase()) ? countryCodeCookie.toLowerCase() : 'in';\n const { showGlobalHeader } = state.header;\n if (!localeInfo) {\n dispatch(commonCallsActionCreators.localeInfo(langCodeAllowed[countryCode]));\n }\n setCountryData(langCodeAllowed[countryCode]);\n // get locale config data\n if (isEmptyObject(state.locale)) {\n dispatch(getLocaleData());\n }\n if (countryCodeCookie && countryCodeCookie.toLowerCase() === 'in' && trafficSource && trafficSource.toLowerCase() !== 'in' && !countryData && showGlobalHeader) {\n dispatch(commonCallsActionCreators.getCountryData(trafficSource));\n }\n if (__SERVER__) {\n dispatch(getYotpoSiteRatings());\n }\n },\n})\nclass App extends Component {\n static propTypes = {\n commonCallsActionCreators: PropTypes.any.isRequired,\n headerCallsActionCreators: PropTypes.any.isRequired,\n homeCallsActionCreators: PropTypes.any.isRequired,\n redisCommonData: PropTypes.any,\n mainNavigationData: PropTypes.any,\n isMenuVisible: PropTypes.bool,\n showGlobalHeader: PropTypes.bool,\n loginStatus: PropTypes.bool,\n wishlistTrue: PropTypes.bool,\n route: PropTypes.objectOf(PropTypes.any).isRequired,\n showWishlist: PropTypes.func,\n isWishlistCount: PropTypes.number,\n isCartCount: PropTypes.number,\n };\n\n constructor(props) {\n super(props);\n this.checkId = this.checkId.bind(this);\n this.campaignTimerId = null;\n }\n componentDidMount() {\n setGAEventListener();\n const {\n commonCallsActionCreators,\n loginStatus,\n homeCallsActionCreators,\n location,\n redisCommonData,\n localeInfo\n } = this.props;\n const environmentType = process.env.TARGET_SERVER_TYPE || 'vm';\n getSetCookie.setCookie('envServer', environmentType);\n const { trackjs_token, trackjs_application } = localeInfo;\n let path =\n location && location.pathname.length > 1\n ? location.pathname.slice(1).replace(/(\\/+)$/g, '')\n : '/';\n path = path !== '' ? path : '/';\n setTimeout(() => {\n if (\n [\n 'eyeglasses.html',\n 'sunglasses.html',\n 'premium-eyeglasses',\n 'premium-sunglasses',\n '/',\n ].includes(path) ||\n path.indexOf('promo/') > -1\n ) {\n homeCallsActionCreators.loadCarousalsData();\n }\n }, 50);\n this.loadThirdPartyLibraries();\n window.ReactPixel = require('react-facebook-pixel');\n const { init, pageView } = window.ReactPixel.default;\n init('790230201013876');\n pageView();\n this.resetCampaignData();\n // if (getSetCookie.getCookie('frontend') === '') {\n // commonCallsActionCreators.setJunoSession();\n // }\n if (!getSetCookie.getCookie('session')) {\n getSetCookie.setCookie('session', 'sticky', 14);\n }\n if (!loginStatus && getSetCookie.getCookie('frontend')) {\n setTimeout(() => {\n commonCallsActionCreators.validateSession(location.pathname);\n }, 500);\n }\n // headerCallsActionCreators.getMainNav();\n if (window.dtm === undefined) {\n window.dtm = {};\n window.dtm.pageName = 'baseAbort';\n }\n if (window.dtm) {\n window.dtm.site = 'webDesktop';\n window.dtm.sessionID = getSetCookie.getCookie('omniSession');\n window.dtm.loginStatus = loginStatus ? 'registered' : 'guest';\n }\n window.localStorage.removeItem('showEnterAddress');\n // desktopGTM event for omni and gtm\n if (typeof window.desktopGTM === 'undefined') {\n window.desktopGTM = document.createEvent('Event');\n window.desktopGTM.initEvent('desktopGTM', true, true);\n window.setTimeout(() => {\n window.dispatchEvent(window.desktopGTM);\n if (\n typeof window.FMApi === 'object' &&\n typeof window.FMApi.manualTriggerExperiment === 'function'\n ) {\n window.FMApi = window.FMApi || [];\n window.FMApi.push('fm_activate_adobe_integration');\n }\n }, 800);\n }\n\n setTimeout(() => {\n if (process.env.BUILD_ENV === 'production') {\n // TrackJs Call\n const db = indexedDB.open('test');\n db.onsuccess = () => {\n\n appendScriptToDOM(\n 'https://cdn.trackjs.com/agent/v3/latest/t.js',\n 'trackjs',\n true,\n () => {\n window.TrackJS.install({\n token: trackjs_token,\n application: trackjs_application,\n enabled: !(window.location.host.indexOf('localhost') >= 0 || window.location.host.indexOf('lenskart.com:8081') >= 0)\n });\n }\n );\n };\n // Live Chat Js Call\n if (sessionStorage.getItem('session') !== 'doctor') {\n window.__lc = window.__lc || {};\n window.__lc.license = 1195391;\n (() => {\n const lc = document.createElement('script');\n lc.type = 'text/javascript';\n lc.async = true;\n lc.src = `${document.location.protocol === 'https:' ? 'https://' : 'http://'\n }cdn.livechatinc.com/tracking.js`;\n const st = document.getElementsByTagName('script')[0];\n st.parentNode.insertBefore(lc, st);\n })();\n }\n }\n }, 3000);\n commonCallsActionCreators.getAudienceType();\n if (redisCommonData?.ENABLE_FRESHWORKS_DESKTOP === 'OFF') {\n setTimeout(() => {\n const freshwidget = document.getElementById('freshworks-container');\n if (freshwidget) {\n freshwidget.style.display = 'none';\n }\n }, 0);\n }\n }\n\n componentDidUpdate(prevProps) {\n const {\n loginStatus,\n userInfo,\n isValidSession,\n commonCallsActionCreators,\n addToCartFailed,\n } = this.props;\n this.resetCampaignData(prevProps);\n if (prevProps.isValidSession !== isValidSession && isValidSession === 401) {\n commonCallsActionCreators.setJunoSession();\n }\n if (\n !prevProps.isWishlistCount &&\n this.props.isWishlistCount &&\n getSetCookie.getCookie('frontend') !== '' &&\n this.props.location.pathname &&\n this.props.location.pathname.indexOf('/checkout/onepage/') === -1\n ) {\n // const { commonCallsActionCreators } = this.props;\n commonCallsActionCreators.shortlist('', 'get', '?attributes=true');\n // if (wishlistTrue) commonCallsActionCreators.showWishlist(false);\n }\n\n // passingUtmData\n if (userInfo && prevProps.userInfo !== userInfo && prevProps.userInfo?.result?.id !== userInfo?.result?.id && loginStatus) {\n const { phoneCode, telephone } = userInfo?.result;\n if (location.pathname.indexOf('/checkout') > -1) {\n this.passingUtmData('ADD_TO_CART_LOGIN', phoneCode, telephone);\n }\n if (location.pathname === '/') {\n this.passingUtmData('LOGGED_IN', phoneCode, telephone);\n }\n }\n\n // update DTM login status\n if (loginStatus && userInfo) {\n const { result: { phoneCode, telephone, lastName, firstName, gender } } = userInfo;\n window.dtm.loginStatus = 'registered';\n window.dtm.customerID = userInfo && userInfo.result.id;\n const gaData = {\n Name: `${firstName} ${lastName}`,\n Identity: telephone,\n Phone: `${phoneCode}${telephone}`\n };\n if (gender && gender.toLowerCase().indexOf('male') > -1) {\n const genderType = gender.toLowerCase();\n gaData.Gender = genderType === 'male' ? 'M' : 'F';\n }\n if (typeof window.clevertap !== 'undefined' && userInfo) {\n window.clevertap.onUserLogin.push({\n Site: gaData,\n });\n }\n } else {\n window.dtm.loginStatus = 'guest';\n delete window.dtm.customerID;\n }\n\n if (\n prevProps.addToCartFailed === null &&\n addToCartFailed !== null &&\n addToCartFailed.status === 422 &&\n location.pathname !== '/HTO'\n ) {\n if (addToCartFailed.message.indexOf('out of stock') !== -1) {\n alert('This product is Out of Stock !');\n } else {\n alert(addToCartFailed.message);\n }\n return window.location.reload();\n }\n if (prevProps.location.pathname !== this.props.location.pathname) {\n window.sessionStorage.setItem('previousChannel', window.dtm.channel);\n }\n\n // if (prevProps.cartData !== cartData) {\n // cartPixel.fireFbq(cartData.result.items, 'AddToCart');\n // }\n const freshBotHide = document.getElementById('mobile-chat-container')?.className?.includes('joe-hide');\n if (location.pathname.indexOf('/support') === -1 && window.Freshbots && !freshBotHide) { window.Freshbots.hideWidget(true); }\n }\n\n passingUtmData(eventName, phoneCode, telephone) {\n const { commonCallsActionCreators } = this.props;\n const data = getUserEventData(eventName);\n if (phoneCode && telephone) {\n data.mobileNumber = `${phoneCode}${telephone}`;\n }\n commonCallsActionCreators.passUtmData(data);\n }\n\n loadThirdPartyLibraries = () => {\n const { redisCommonData } = this.props;\n const freshmarketerEnabled =\n redisCommonData && redisCommonData.ENABLE_FRESHWORKS_DESKTOP === 'ON';\n window.UnbxdSiteName = 'lenskart_com-u1418736834941';\n appendScriptToDOM(\n `https://staticw2.yotpo.com/${config.yotpoConfig.apiKey}/widget.js`,\n 'yotpo_widget_lk',\n true,\n null\n );\n appendScriptToDOM(\n 'https://d21gpk1vhmjuf5.cloudfront.net/unbxdAnalytics.js',\n 'vendor_unbxd',\n true,\n null\n );\n if (freshmarketerEnabled) {\n appendScriptToDOM(\n 'https://static.lenskart.com/media/desktop/js/jquery-3.5.1.slim.min.js',\n '',\n false,\n null\n );\n appendScriptToDOM(\n 'https://cdn.freshmarketer.com/232805/806426.js',\n 'vendor_freshmarketer',\n true,\n null\n );\n }\n };\n resetCampaignData = prevProps => {\n const {\n timeToResetData,\n campaignCallsActionCreators,\n section,\n dataCampaign,\n location,\n categoryData,\n productData,\n } = this.props;\n if (prevProps && prevProps.section !== section) {\n clearTimeout(this.campaignTimerId);\n } else if (\n prevProps &&\n prevProps.section === section &&\n prevProps.dataCampaign === dataCampaign\n ) {\n return;\n }\n if (!timeToResetData) {\n return;\n }\n if (['prod', 'cat', ''].includes(section)) {\n clearTimeout(this.campaignTimerId);\n this.campaignTimerId = setTimeout(() => {\n let sectionContext;\n if (section === '') {\n if (location.pathname === '/checkout/onepage/') {\n sectionContext = 'checkout';\n } else {\n sectionContext =\n location.pathname === '/' ? 'home' : location.pathname.slice(1).replace('.html', '');\n }\n }\n campaignCallsActionCreators.getCampaignData({\n pageContext: section !== '' ? section : sectionContext,\n usePristineData: true,\n categoryData: categoryData ? categoryData.result : {},\n productData: productData ? productData.result : {},\n });\n }, timeToResetData);\n }\n };\n\n checkId() {\n if (this.props.shortListData.result.productList !== null) {\n this.props.shortListData.result.productList.forEach(value => {\n if (this.props.productPageId === value.id) {\n this.props.toggleWishlist(true);\n }\n });\n } else if (this.props.shortListData.result.productList.length === 0) {\n this.props.toggleWishlist(false);\n }\n }\n\n render() {\n const {\n mainNavigationData,\n section,\n loginStatus,\n route,\n isFilterEnable,\n showGlobalHeader,\n showGlobalFooter,\n location,\n countryData,\n dataLocale\n } = this.props;\n return (\n \n \n
    \n {/* redisLoading ?
    : null */}\n {showGlobalHeader &&
    }\n {Boolean(showGlobalHeader && countryData && !isSearchCrawler()) && (\n \n )}\n {/* routes setup */}\n {renderRoutes(route.routes)}\n {showGlobalFooter && (\n \n )}\n \n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = state => ({\n redisCommonData: state.common.redisCommonData,\n loginStatus: state.common.login,\n wishlistTrue: state.common.wishlistTrue,\n mainNavigationData: state.header.mainNavigationData,\n showGlobalHeader: state.header.showGlobalHeader,\n showGlobalFooter: state.header.showGlobalFooter,\n isMenuVisible: state.header.isMenuVisible,\n userInfo: state.common.userInfo,\n loginLoader: state.common.loginLoader,\n shortListData: state.common.shortListData,\n cartData: state.cart.cartData,\n redisLoading: state.common.redisLoading,\n countryData: state.common.countryData,\n isFilterEnable: state.category.isFilterEnable,\n router: state.router,\n isWishlistCount: state.common.isWishlistCount,\n isCartCount: state.common.isCartCount,\n isSupported: state.common.isSupported,\n checkBrowser: state.common.checkBrowser,\n section: state.common.section,\n isValidSession: state.common.errorCode,\n addToCartFailed: state.cart.addToCartFailed,\n dataCampaign: state.campaign.dataCampaign,\n timeToResetData: state.campaign.timeToResetData,\n categoryData: state.category.categoryData,\n productData: state.product.productData,\n dataLocale: state.locale,\n localeInfo: state.common.localeInfo,\n});\n\nfunction mapDispatchToProps(dispatch) {\n return {\n commonCallsActionCreators: bindActionCreators(commonCallsActionCreators, dispatch),\n headerCallsActionCreators: bindActionCreators(headerCallsActionCreators, dispatch),\n campaignCallsActionCreators: bindActionCreators(campaignCallsActionCreators, dispatch),\n checkoutCallsActionCreators: bindActionCreators(checkoutCallsActionCreators, dispatch),\n homeCallsActionCreators: bindActionCreators(homeCallsActionCreators, dispatch)\n };\n}\n\nApp.defaultProps = {\n redisCommonData: {},\n loginStatus: false,\n wishlistTrue: false,\n mainNavigationData: {},\n showGlobalHeader: true,\n isMenuVisible: true,\n};\n\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(App));\n","export const GET_CAMPAIGN_DATA = 'campaign/GET_CAMPAIGN_DATA';\nexport const GET_CAMPAIGN_SUCCESS = 'campaign/GET_CAMPAIGN_SUCCESS';\nexport const GET_CAMPAIGN_FAIL = 'campaign/GET_CAMPAIGN_FAIL';\nexport const CLEAR_CAMPAIGN_DATA = 'campaign/CLEAR_CAMPAIGN_DATA';\nexport const SET_QUERY_PARAMS = 'campaign/SET_QUERY_PARAMS';\n","import React from 'react';\nimport './FollowUs.scss';\n\nconst FollowUs = props => {\n const { section, loginStatus, dataLocale } = props;\n return (\n
    \n
    \n
    {dataLocale.FOLLOW_US}
    \n
    \n
    \n {\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.footer.click.followus(section, 'facebook', loginStatus);\n }}\n >\n \n \n {\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.footer.click.followus(section, 'pinterest', loginStatus);\n }}\n >\n \n \n {\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.footer.click.followus(section, 'twitter', loginStatus);\n }}\n >\n \n \n {\n if (window.dtm.LenskartRewamp) window.dtm.LenskartRewamp.footer.click.followus(section, 'instagram', loginStatus);\n }}\n >\n \n \n
    \n
    \n
    \n
    \n );\n};\n\nexport default FollowUs;\n","import * as actionTypes from '../actionTypes/header';\n\n// export function getTopNavDataFromLocal() {\n// return { type: actionTypes.LOAD_NAVIGATION_LOCAL };\n// }\n\nexport function getMainNav() {\n return { type: actionTypes.LOAD };\n}\n\nexport function getMobileNavigationData() {\n return { type: actionTypes.GET_MSITE_NAV };\n}\n\nexport function rerenderMenu(value) {\n return { type: actionTypes.MENU_RENDER, value };\n}\n\nexport function showGlobalHeaderFooter(value) {\n return { type: actionTypes.SHOW_GLOBAL_HEADER_FOOTER, value};\n}\n\nexport function searchInputChange(value) {\n return { type: actionTypes.SEARCH_INPUT_CHANGE, value };\n}\n\nexport function resetSearchData() {\n return { type: actionTypes.RESET_SEARCH_DATA };\n}\n\nexport function setAppDownloadHeaderState(show) {\n return { type: actionTypes.APP_DOWNLOAD_HEADER_SHOW, show };\n}\n","import React from 'react';\nimport { connect } from 'react-redux';\n// actions\nimport { getLensPackages } from '../../../actionCreators/editPower';\n// components\nimport { Form } from 'react-final-form';\nimport ItemInfo from './ItemInfo';\nimport PackageGroup from './PackageGroup';\n\nclass ZeroPower extends React.PureComponent {\n constructor(props) {\n super(props);\n const p = props.item.options && props.item.options[0] || {};\n const pristine = { pkgid: p.oid, pkgname: p.name };\n this.state = { pristine };\n this.submit = this.submit.bind(this);\n this.getPackageName = this.getPackageName.bind(this);\n }\n componentDidMount() {\n const { getLensPackage, item } = this.props;\n const { productId: prodId, prescription = {}, frameType } = item || {};\n const powerType = prescription.powerType && prescription.powerType.toLowerCase();\n if (prodId) getLensPackage({ prodId, powerType, frameType });\n }\n componentDidUpdate(prevProps) {\n const { item } = this.props;\n if (prevProps.item !== item && item) {\n const p = item.options && item.options[0] || {};\n const pristine = { pkgid: p.oid, pkgname: p.name };\n (() => this.setState({ pristine }))();\n }\n }\n getPackageName(name) {\n this.selectedPackageName = name;\n }\n submit(values) {\n const { submitCallback, item } = this.props;\n if (this.state.pristine.pkgid !== values.pkgid) {\n const changedPackage = { name: this.selectedPackageName, value: values.pkgid };\n submitCallback([], item, changedPackage);\n return;\n }\n submitCallback([], item, null);\n }\n render() {\n const { item, lensPackages = [], powerSubmittedItemId, powerSubmitted, packageSubmittedItemId, packageSubmitted, dataLocale = {} } = this.props;\n const { name, productId } = item || {};\n const { SUBMIT, POWER_DETAILS_UPDATED_SUCCESSFULLY, POWER_DETAILS_UPDATE_FAILED, PACKAGE_UPDATE_FAILED, PACKAGE_UPDATED_SUCCESSFULLY } = dataLocale;\n return (\n \n \n \n {({ handleSubmit }) => (\n
    \n \n {powerSubmittedItemId && item.id === powerSubmittedItemId &&
    {powerSubmitted ? POWER_DETAILS_UPDATED_SUCCESSFULLY : POWER_DETAILS_UPDATE_FAILED}
    }\n {packageSubmittedItemId && item.id === packageSubmittedItemId &&
    {packageSubmitted ? PACKAGE_UPDATED_SUCCESSFULLY : PACKAGE_UPDATE_FAILED}
    }\n
    \n \n
    \n \n )}\n \n
    \n );\n }\n}\n\nfunction mapStateToProps(state, ownProps) {\n const { productId: pid, prescription = {} } = ownProps.item || {};\n const powerType = prescription.powerType && prescription.powerType.toLowerCase();\n const lensPackages = state.editPower.pidToPkgs ? state.editPower.pidToPkgs[pid + powerType] : undefined;\n return {\n lensPackages,\n powerSubmittedItemId: state.success.powerSubmittedItemId,\n powerSubmitted: state.success.powerSubmitted,\n packageSubmittedItemId: state.success.packageSubmittedItemId,\n packageSubmitted: state.success.packageSubmitted,\n dataLocale: state.locale\n };\n}\n\nfunction mapDispatchToProps(dispatch) {\n return {\n getLensPackage: data => dispatch(getLensPackages(data))\n };\n}\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ZeroPower);\n","import * as actionTypes from '../actionTypes/home';\n\nexport function getMobileHomepageData(isBot = false) {\n return { type: actionTypes.MOBILE_HOMEPAGE_DATA_LOAD, isBot };\n}\n\nexport function updateRenderData(data) {\n return { type: actionTypes.RENDER_DATA_UPDATE, data };\n}\n\nexport function setScroll(scrollY) {\n return { type: actionTypes.HOME_SCROLL_SET, scrollY };\n}\n\nexport function updateMergedHomepageData(data) {\n return { type: actionTypes.HOMEPAGE_MERGED_DATA_UPDATE, data };\n}\nexport function loadCarousalsData() {\n return { type: actionTypes.HOMEPAGE_CAROUSALS_DATA_LOAD };\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst CheckoutLoadable = Loadable({\n loader: () => import('desktop/components/Checkout/Checkout.js' /* webpackChunkName: 'checkout' */).then(module => module.default),\n loading: () => \n});\n\nexport default CheckoutLoadable;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport './CategoryMenu.scss';\nimport SubMenu from './SubMenu';\nimport { setDataAttr } from '../../../../utils/helper';\n// todo need to send the key and parent key to dtm.\nconst onCategoryHover = context => {\n context.stopPropagation();\n context.preventDefault();\n const siblingContext = context.currentTarget.parentNode.childNodes;\n for (let i = 0; i < siblingContext.length; i += 1) {\n siblingContext[i].classList.remove('active');\n }\n context.currentTarget.classList.add('active');\n};\n\nconst CategoryMenu = props => {\n const { categoryMenuData, updateNavValueDtm, section, subSection, dataLocale: { SELECT_CATEGORY } } = props;\n return (
    \n {\n categoryMenuData.url && categoryMenuData.url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(section, subSection, categoryMenuData.url)}>\n {SELECT_CATEGORY}\n :\n updateNavValueDtm(section, subSection, categoryMenuData.url)} href={categoryMenuData.url}>\n {SELECT_CATEGORY}\n \n }\n\n {\n categoryMenuData.submenu.map((categoryMenu, index) => {\n const dataAttr = categoryMenu.gaObj && Object.keys(categoryMenu.gaObj).length > 0 ? setDataAttr(categoryMenu.gaObj) : null;\n return (
    onCategoryHover(ev)} onFocus={ev => onCategoryHover(ev)}>\n {\n categoryMenu.url && categoryMenu.url.indexOf('lenskart.com') === -1 ?\n updateNavValueDtm(section, subSection, categoryMenu.title)}>\n
    \n
    \n {categoryMenu.title}\n \n
    \n \n
    \n :\n updateNavValueDtm(section, subSection, categoryMenu.title)} href={categoryMenu.url} className=\"category-menu_list getGaData\">\n
    \n {categoryMenu.title}\n \n
    \n \n
    \n }\n
    \n {categoryMenu.submenu && }\n
    \n
    );\n })\n }\n
    );\n};\n\nexport default CategoryMenu;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport config from 'config';\nimport * as actionTypes from '../actionTypes/offerCampaign';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\n\nfunction* sendCampaignUserData(formData) {\n const successAction = { type: actionTypes.SAVE_CAMPAIGN_USER_DATA_SUCCESS };\n const errorAction = { type: actionTypes.SAVE_CAMPAIGN_USER_DATA_FAIL };\n const client = Object.assign({}, { ..._client });\n client.setHeader();\n try {\n yield call(async () => client.post(config.apiPath.campaignFirstDeal, formData?.data));\n successAction.data = formData?.data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* checkUserExists({ phone }) {\n const successAction = { type: actionTypes.CHECK_USER_EXISTS_SUCCESS };\n const errorAction = { type: actionTypes.CHECK_USER_EXISTS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.checkUserExists}?phone=${phone}`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* firstDealUserExists({ phone }) {\n const successAction = { type: actionTypes.FIRST_DEAL_USER_EXISTS_SUCCESS };\n const errorAction = { type: actionTypes.FIRST_DEAL_USER_EXISTS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.checkFirstDealUserExists}?phone=${phone}`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n\nexport function* runOfferCampaignCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.SAVE_CAMPAIGN_USER_DATA_LOAD, sendCampaignUserData),\n takeLatest(actionTypes.CHECK_USER_EXISTS_LOAD, checkUserExists),\n takeLatest(actionTypes.FIRST_DEAL_USER_EXISTS_LOAD, firstDealUserExists)\n ]);\n}\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/returnExchange';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\n// import { modifyReturnEligibiltyForMock } from './responseDataManipulator';\n\nlet _client = null;\n\n// return\nfunction* getStoreList({ address, radius, pageSize, pageNumber }) {\n const successAction = { type: actionTypes.STORE_LOCATION_SUCCESS };\n const errorAction = { type: actionTypes.STORE_LOCATION_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.nearbyStore}?address=${address}&radius=${radius || '20'}&pageSize=${pageSize || '10'}&pageNumber=${pageNumber || '0'}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* createReturn({ orderId, reqData }) {\n const successAction = { type: actionTypes.CREATE_RETURN_SUCCESS };\n const errorAction = { type: actionTypes.CREATE_RETURN_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(`${config.apiPath.v2Orders}/${orderId}/return`, reqData));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getReturnReasons({ classification }) {\n const successAction = { type: actionTypes.GET_RETURN_REASONS_SUCCESS };\n const errorAction = { type: actionTypes.GET_RETURN_REASONS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.returnReasons}?classification=${classification}`));\n successAction.data = data.result && data.result.reasons;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getReturnModes({ pincode }) {\n const successAction = { type: actionTypes.GET_RETURN_MODES_SUCCESS };\n const errorAction = { type: actionTypes.GET_RETURN_MODES_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.returnModes}?pincode=${pincode}`));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* checkServiceableAddress({ pincode }) {\n const successAction = { type: actionTypes.GET_SERVICEABLE_ADDRESS_SUCCESS };\n const errorAction = { type: actionTypes.GET_SERVICEABLE_ADDRESS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.validateServiceableAddress}?pincode=${pincode}`));\n successAction.data = data;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getEligibilityReturnStatusForOrder({ orderId }) {\n const successAction = { type: actionTypes.GET_ELIGIBILITY_RETURN_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.GET_ELIGIBILITY_RETURN_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.v2Orders}/${orderId}/return/eligibility`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getReturnLabelStatus({ groupId }) {\n const successAction = { type: actionTypes.GET_RETURN_LABEL_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.GET_RETURN_LABEL_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.returnLabelStatus}${groupId}`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\n// post return\nfunction* getReturnDetails({ orderId, itemId }) {\n const successAction = { type: actionTypes.GET_RETURN_DETAILS_SUCCESS };\n const errorAction = { type: actionTypes.GET_RETURN_DETAILS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.v2Orders}/${orderId}/return/details/${itemId}`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getReturnActions({ orderId, itemId }) {\n const successAction = { type: actionTypes.GET_RETURN_ACTIONS_SUCCESS };\n const errorAction = { type: actionTypes.GET_RETURN_ACTIONS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.v2Orders}/${orderId}/refund/methods/${itemId}`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n// refund\nfunction* createRefund({ itemId, orderId, refundMethod }) {\n const successAction = { type: actionTypes.CREATE_REFUND_SUCCESS };\n const errorAction = { type: actionTypes.CREATE_REFUND_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.post(`${config.apiPath.v2Orders}/${orderId}/refund/return`, { itemId, refundMethod }));\n successAction.data = data;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getRefundEstimate({ orderId, itemId }) {\n const successAction = { type: actionTypes.GET_REFUND_ESTIMATE_SUCCESS };\n const errorAction = { type: actionTypes.GET_REFUND_ESTIMATE_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.v2Orders}/${orderId}/refund/return/estimate/${itemId}`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nfunction* getOrderItemsReturnElgibilty({ orderId }) {\n const successAction = { type: actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY_SUCCESS };\n const errorAction = { type: actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const data = yield call(async () => client.get(`${config.apiPath.v2Orders}/${orderId}/return/eligibility?fetchRefundExchangeDetails=true`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\n// Cancel Return\nfunction* cancelReturn({ orderId, returnId }) {\n const successAction = { type: actionTypes.RETURN_CANCEL_SUCCESS };\n const errorAction = { type: actionTypes.RETURN_CANCEL_FAIL };\n const client = { ..._client };\n try {\n const data = yield call(async () => client.post(`${config.apiPath.v2Orders}/${orderId}/return/${returnId}/cancel`));\n successAction.data = data.result;\n yield put(successAction);\n } catch (er) {\n errorAction.error = er;\n yield put(errorAction);\n }\n}\n\nexport function* runReturnExchangeCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n // return\n takeLatest(actionTypes.STORE_LOCATION_LOAD, getStoreList),\n takeLatest(actionTypes.CREATE_RETURN_LOAD, createReturn),\n takeLatest(actionTypes.GET_RETURN_REASONS, getReturnReasons),\n takeLatest(actionTypes.GET_RETURN_MODES_LOAD, getReturnModes),\n takeLatest(actionTypes.GET_SERVICEABLE_ADDRESS_LOAD, checkServiceableAddress),\n takeLatest(actionTypes.GET_ELIGIBILITY_RETURN_STATUS, getEligibilityReturnStatusForOrder),\n takeLatest(actionTypes.GET_RETURN_LABEL_STATUS_LOAD, getReturnLabelStatus),\n // post return\n takeLatest(actionTypes.GET_RETURN_DETAILS_LOAD, getReturnDetails),\n takeLatest(actionTypes.GET_RETURN_ACTIONS_LOAD, getReturnActions),\n // refund\n takeLatest(actionTypes.CREATE_REFUND_LOAD, createRefund),\n takeLatest(actionTypes.GET_REFUND_ESTIMATE_LOAD, getRefundEstimate),\n // new return refund exchange\n takeLatest(actionTypes.GET_ORDERITEMS_RETURNELIGIBILITY, getOrderItemsReturnElgibilty),\n // Cancel Return\n takeLatest(actionTypes.RETURN_CANCEL_LOAD, cancelReturn),\n\n ]);\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Loader from 'desktop/components/Common/BlankLoader.js';\n\nconst SummaryLoadable = Loadable({\n loader: () => import('desktop/containers/Summary/Summary.js' /* webpackChunkName: 'summary' */).then(module => module.default),\n loading: () => \n});\n\nexport default SummaryLoadable;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport './GridMenu.scss';\nimport { setDataAttr } from '../../../../utils/helper';\n\nconst GridMenu = props => {\n const { menuData, parentMenu, updateNavDtm, section } = props;\n const fetchMenu = menuData.data.map((data, index) => {\n const dataAttr = data.gaObj && Object.keys(data.gaObj).length > 0 ? setDataAttr(data.gaObj) : null;\n return (\n
    \n
    { updateNavDtm(section, '', '', data.url); }}>\n {data.url && data.url.indexOf('lenskart.com') === -1 ?\n \n
    \n {data.text}\n
    \n
    {data.text}
    :\n \n
    \n {data.text}\n
    \n
    {data.text}
    \n
    }\n
    \n
    \n );\n });\n return (\n
    {fetchMenu}
    \n );\n};\n\nexport default GridMenu;\n","import { call, put, takeLatest, all } from 'redux-saga/effects';\nimport config from 'config';\nimport * as reviewActionTypes from '../actionTypes/review';\nimport apiClient from '../helpers/apiClient';\n\nlet _client = null;\nfunction* getproductReviewListData(action) {\n const { productId, page, pageCount } = action.payload;\n const successAction = { type: reviewActionTypes.GET_PRODUCT_REVIEW_LIST_SUCCESS };\n const errorAction = { type: reviewActionTypes.GET_PRODUCT_REVIEW_LIST_FAIL };\n const client = { ..._client };\n const url = `${config.apiPath.productReviewList}${productId}/review?count=${pageCount}&page=${page}`;\n try {\n client.setHeader();\n const response = yield call(async () => client.get(url));\n successAction.data = response;\n yield put(successAction);\n } catch (err) {\n errorAction.data = err;\n yield put(errorAction);\n }\n}\n\nfunction* postReview(action) {\n const { productId, postObj } = action.payload;\n const successAction = { type: reviewActionTypes.POST_REVIEW_SUCCESS };\n const errorAction = { type: reviewActionTypes.POST_REVIEW_FAIL };\n const client = { ..._client };\n const url = `${config.apiPath.productReviewList}${productId}/review`;\n try {\n client.setHeader();\n const response = yield call(async () => client.post(url, postObj));\n successAction.data = response;\n yield put(successAction);\n } catch (err) {\n errorAction.data = err;\n yield put(errorAction);\n }\n}\n\nexport function* runReviewCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(reviewActionTypes.GET_PRODUCT_REVIEW_LIST_LOAD, getproductReviewListData),\n takeLatest(reviewActionTypes.POST_REVIEW_LOAD, postReview)\n ]);\n}\n","import { call, put, takeLatest, all, fork } from 'redux-saga/effects';\nimport * as actionTypes from '../actionTypes/checkout';\nimport { UPDATE_CART_COUNT } from '../actionTypes/common';\nimport { getPresaleInfo } from './common';\n// import { SET_ORDER } from '../actionTypes/order';\nimport apiClient from '../helpers/apiClient';\nimport config from 'config';\nimport { delay } from 'redux-saga';\nimport { setCountryData } from '../helpers/countryConfig';\n\nlet _client = null;\nlet xApiClient = 'desktop';\n// conditional imports on compilation\n'#if CLIENT_TYPE === \"mobile\"'; // eslint-disable-line\nxApiClient = 'mobilesite';\n'#endif'; // eslint-disable-line\n\nfunction* abandonLeadApi(data) {\n const client = { ..._client };\n client.setHeader();\n try {\n yield call(async () => client.post(`${config.apiPath.cartApi}/abandonedleads`, data.data));\n } catch (error) {\n console.log('Error: /abandonedleads :', error);\n }\n}\n\nfunction* htoLeadApi(data) {\n const client = { ..._client };\n client.setHeader();\n try {\n yield call(async () => client.post(`${config.apiPath.cartApi}/htoLeads`, data.data));\n } catch (error) {\n console.log('Error: /htoLeads :', error);\n }\n}\n\nfunction* getPaymentMethod({ orderId, isExchange, paymentMethod = 'cc,dc', isSalesman }) {\n const successAction = { type: actionTypes.CARTSTEP3_SUCCESS };\n if (setCountryData()?.countryCode === 'in') {\n const errorAction = { type: actionTypes.CARTSTEP3_FAIL };\n const client = { ..._client };\n const header = isExchange ? { 'X-Service-Type': 'exchange' } : null;\n client.setHeader(header);\n try {\n let param = orderId ? `?orderId=${orderId}` : '';\n if (paymentMethod) {\n param = `${param}${param ? '&' : '?'}paymentMethod=${paymentMethod}`;\n }\n if (isSalesman) {\n param = `${param}${param ? '&' : '?'}isSalesman=${isSalesman}`;\n }\n const result = yield call(async () => client.get(`${config.apiPath.paymentMethod}${param}`));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n } else {\n successAction.result = { result: null };\n yield delay(1000);\n yield put(successAction);\n }\n}\n\nfunction* orderPayment(data) {\n const successAction = { type: actionTypes.PAYMENT_SUCCESS };\n const errorAction = { type: actionTypes.PAYMENT_FAIL };\n const client = { ..._client };\n const header = data.isExchange ? { 'X-Service-Type': 'exchange' } : null;\n client.setHeader(header);\n try {\n const result = yield call(async () => _client.customPost(config.apiPath.orderPayment, data.orderPaymentData, 'X-Session-Token', xApiClient, 'nocache'));\n successAction.result = result;\n yield put(successAction);\n yield put({ type: UPDATE_CART_COUNT, data: 0 });\n // need changes in success\n // const dataResult = { result: result.result.order, status: result.status };\n // yield put({ type: SET_ORDER, orderDetails: dataResult });\n } catch (error) {\n console.log(error);\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* saveShippingAddress(action) {\n const successAction = { type: actionTypes.SAVE_SHIPPING_ADDRESS_SUCCESS };\n const errorAction = { type: actionTypes.SAVE_SHIPPING_ADDRESS_FAIL };\n const client = { ..._client };\n const header = action.isExchange ? { 'X-Service-Type': 'exchange' } : null;\n client.setHeader(header);\n try {\n const response = yield call(async () => client.post(config.apiPath.saveShippingAddress, action.data));\n successAction.result = response;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getDeliveryOptions({ postcode, country }) {\n const successAction = { type: actionTypes.GET_DELIVERY_OPTIONS_SUCCESS };\n const errorAction = { type: actionTypes.GET_DELIVERY_OPTIONS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const result = yield call(async () => client.get(`${config.apiPath.checkDeliveryOption}${postcode}&shippingCountry=${country}`));\n successAction.result = result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* updateDeliveryOption({ data }) {\n const successAction = { type: actionTypes.GET_CART_DATA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CART_DATA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(`${config.apiPath.updateDeliveryOption}${data.type}?pincode=${data.postcode}&shippingCountry=${data.country}`));\n successAction.result = response;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getCaptcha() {\n const successAction = { type: actionTypes.GET_CAPTCHA_SUCCESS };\n const errorAction = { type: actionTypes.GET_CAPTCHA_FAIL };\n const client = { ..._client };\n client.setHeader();\n delete client.defaults.headers['X-Session-Token']; // JUNO-8870\n try {\n const response = yield call(async () => client.get(`${config.apiPath.captchaUrl}?v=${Date.now()}`));\n successAction.result = response && response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\n// Bin Series\nfunction* getCardOffers({ cardNumber }) {\n const successAction = { type: actionTypes.GET_CARDOFFER_SUCCESS };\n const errorAction = { type: actionTypes.GET_CARDOFFER_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.getCardOffers}?cardNumber=${cardNumber}`)); // ${config.apiPath.captchaUrl}?v=${Date.now()}\n successAction.result = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getOffers() {\n const successAction = { type: actionTypes.GET_OFFERS_SUCCESS };\n const errorAction = { type: actionTypes.GET_OFFERS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(config.apiPath.paymentOffers));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* preSalesUserLogin({ data }) {\n const successAction = { type: actionTypes.PRE_SALES_USER_LOGIN_SUCCESS };\n const errorAction = { type: actionTypes.PRE_SALES_USER_LOGIN_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(config.apiPath.preSalesDualLogin, data));\n successAction.data = response.result;\n yield put(successAction);\n yield fork(getPresaleInfo);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* validateVpa({ data }) {\n const successAction = { type: actionTypes.VALIDATE_VPA_SUCCESS };\n const errorAction = { type: actionTypes.VALIDATE_VPA_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.post(config.apiPath.validateVpa, data));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = config.apiPath.validateVpa;\n yield put(errorAction);\n }\n}\n\nfunction* getUpiTransStatus({ orderId }) {\n const successAction = { type: actionTypes.GET_TRANS_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.GET_TRANS_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.upiTransactionStatus}${orderId}/UPI/status`));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* initiateJusPaySdk(data) {\n const { payload } = data;\n const { orderId } = payload || {};\n const successAction = { type: actionTypes.CHECKOUT_INITIATE_JUSPAY_SUCCESS };\n const errorAction = { type: actionTypes.CHECKOUT_INITIATE_JUSPAY_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const url = orderId ? `${config.apiPath.juspaySdkInitiate}?orderId=${orderId}` : config.apiPath.juspaySdkInitiate;\n const response = yield call(async () => client.get(url));\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nfunction* getJusPaymentStatus(data) {\n const { payload } = data;\n const { orderId } = payload;\n const successAction = { type: actionTypes.GET_JUSPAYMENT_STATUS_SUCCESS };\n const errorAction = { type: actionTypes.GET_JUSPAYMENT_STATUS_FAIL };\n const client = { ..._client };\n client.setHeader();\n try {\n const response = yield call(async () => client.get(`${config.apiPath.qrPaymentsApi}${orderId}/juspay/status`));\n console.log(response);\n successAction.data = response.result;\n yield put(successAction);\n } catch (error) {\n errorAction.error = error;\n yield put(errorAction);\n }\n}\n\nexport function* runCheckoutCalls(client) {\n _client = client ? Object.assign({}, client) : apiClient();\n yield all([\n takeLatest(actionTypes.LOAD_ABANDON_LEAD, abandonLeadApi),\n takeLatest(actionTypes.LOAD_HTO_LEAD, htoLeadApi),\n takeLatest(actionTypes.CARTSTEP3_LOAD, getPaymentMethod),\n takeLatest(actionTypes.LOAD_PAYMENT_SUCCESS, orderPayment),\n takeLatest(actionTypes.CHECKOUT_INITIATE_JUSPAY, initiateJusPaySdk),\n takeLatest(actionTypes.SAVE_SHIPPING_ADDRESS, saveShippingAddress),\n takeLatest(actionTypes.GET_DELIVERY_OPTIONS, getDeliveryOptions),\n takeLatest(actionTypes.UPDATE_DELIVERY_OPTION, updateDeliveryOption),\n takeLatest(actionTypes.GET_CAPTCHA, getCaptcha),\n takeLatest(actionTypes.GET_CARDOFFER, getCardOffers),\n takeLatest(actionTypes.GET_OFFERS_LOAD, getOffers),\n takeLatest(actionTypes.PRE_SALES_USER_LOGIN, preSalesUserLogin),\n takeLatest(actionTypes.VALIDATE_VPA, validateVpa),\n takeLatest(actionTypes.GET_TRANS_STATUS_LOAD, getUpiTransStatus),\n takeLatest(actionTypes.GET_JUSPAYMENT_STATUS_LOAD, getJusPaymentStatus)\n ]);\n}\n","import * as actionTypes from './../../actionTypes/ditto';\n\nconst initialState = {\n dittoSaved: false,\n addDittoProfile: null\n};\n\nexport default function ditto(prevState = initialState, action) {\n switch (action.type) {\n case actionTypes.SAVE_UPDATE_DITTO_LOAD:\n return Object.assign({}, prevState, {\n dittoSaved: false,\n });\n case actionTypes.SAVE_UPDATE_DITTO_SUCCESS:\n return Object.assign({}, prevState, {\n dittoSaved: true,\n });\n case actionTypes.SAVE_UPDATE_DITTO_FAIL:\n return Object.assign({}, prevState, {\n dittoSaved: false,\n });\n case actionTypes.ADD_DITTO_LOAD:\n return Object.assign({}, prevState, {\n dittoSaved: false,\n });\n case actionTypes.ADD_DITTO_SUCCESS:\n return Object.assign({}, prevState, {\n addDittoProfile: action.data,\n dittoSaved: true\n });\n case actionTypes.ADD_DITTO_FAIL:\n return Object.assign({}, prevState, {\n addDittoProfile: action.error,\n dittoSaved: false,\n });\n default:\n return prevState;\n }\n}\n","import React from 'react';\nimport Loadable from 'react-loadable';\nimport Spinner from '../../../Spinner/Spinner';\n\nconst HTOLoadable = Loadable({\n loader: () => import(/* webpackChunkName: 'hto-app' */ './HTO').then(module => module.default),\n loading: () => \n});\n\nexport default HTOLoadable;\n","import localStorageHelper from './localStorageHelper';\nimport getSetCookie from '../cookie';\nimport sessionStorageHelper from '../utils/sessionStorageHelper';\nimport { pushDataLayerEvent } from '../utils/DataLayer';\n\nexport const noop = () => { };\n\nexport const removeDomainName = (url, alsoRemove = '') => {\n let domain = url.replace('http://', '').replace('https://', '').replace('www.lenskart.com', '');\n if (alsoRemove) domain = domain.replace(alsoRemove, '');\n return domain;\n};\n\nexport const getQueryParam = (query, param) => {\n const result = {};\n if (query) {\n query.split('&').forEach(param => {\n const item = param.split(/=(.+)/);\n result[item[0]] = decodeURIComponent(item[1]);\n });\n }\n return param ? result[param] : result;\n};\n\nexport const hasFrameOnlyProduct = (cartItems = []) => {\n return cartItems.some(eyeFrame => (eyeFrame.classification === 'eyeframe' || eyeFrame.classification === 'sunglasses') && eyeFrame.powerRequired === 'POWER_REQUIRED');\n};\n\nexport const getHelplineNo = (config, categoryType) => {\n let buyoncallConfig;\n if (config) {\n buyoncallConfig = JSON.parse(config);\n }\n const catConfig = buyoncallConfig ? buyoncallConfig[categoryType] : {};\n if (catConfig && catConfig.isShown !== 'ON') {\n return null;\n }\n if (catConfig && catConfig.contactNumberDisplay) {\n return buyoncallConfig[categoryType].contactNumberDisplay;\n }\n return '';\n};\n\nexport const getNumericChars = str => {\n if (str) {\n return str.replace(/\\D/g, '');\n }\n return str;\n};\n\nexport const getOnlyCharswSpace = str => {\n if (str) {\n return str.replace(/[^a-z\\s]+/ig, '');\n }\n return str;\n};\n\nexport const roundUptoDigits = (number, digits) => {\n if (number) {\n const factor = 10 ** digits;\n return Math.round(Number(number) * factor) / factor;\n }\n return number;\n};\n\nexport const onImageLoadError = evt => {\n evt.target.src = 'https://static.lenskart.com/media/desktop/img/image.jpg';\n};\n\nexport const isEmptyObject = obj => {\n return typeof obj === 'object' && Object.keys(obj).length === 0 && obj.constructor === Object;\n};\n\nexport function isObject(obj) {\n return obj === Object(obj);\n}\n\nexport const extractUtmSourceFromUrl = utmSourceStr => {\n const utmObj = {\n utm_source: null,\n utm_medium: null,\n utm_campaign: null,\n utm_content: null\n };\n if (utmSourceStr && utmSourceStr.split('?') && utmSourceStr.split('?')[1]) {\n const utmArr = utmSourceStr.split('?')[1].split('&');\n const utmTempObj = utmArr.reduce((filtered, str) => {\n if (str.indexOf('utm_source') > -1) {\n filtered.utm_source = str.split('=')[1];\n } else if (str.indexOf('utm_medium') > -1) {\n filtered.utm_medium = str.split('=')[1];\n } else if (str.indexOf('utm_campaign') > -1) {\n filtered.utm_campaign = str.split('=')[1];\n } else if (str.indexOf('utm_content') > -1) {\n filtered.utm_content = str.split('=')[1];\n }\n return filtered;\n }, {});\n\n return Object.assign({}, utmObj, utmTempObj);\n }\n return utmObj;\n};\n\nexport function loadFile(file, ext, id, place, async, defer) {\n let child;\n if (ext === 'css') {\n child = document.createElement('link');\n child.rel = 'stylesheet';\n child.href = file;\n child.type = 'text/css';\n } else {\n child = document.createElement('script');\n child.type = 'text/javascript';\n child.src = file;\n }\n if (async === 'async') {\n child.async = 'async';\n }\n if (defer === 'defer') {\n child.defer = 'defer';\n }\n if (id) {\n document.getElementById(id).appendChild(child);\n }\n if (place) {\n document[place].appendChild(child);\n }\n}\n\nexport function loadScriptWithCallback(url, callback, attrs = {}) {\n if (!document) return;\n const script = document.createElement('script');\n script.type = 'text/javascript';\n Object.keys(attrs).forEach(attr => {\n script[attr] = attrs[attr];\n });\n if (script.readyState) {\n script.onreadystatechange = () => {\n if (script.readyState === 'loaded'\n || script.readyState === 'complete') {\n script.onreadystatechange = null;\n callback();\n }\n };\n } else {\n script.onload = () => {\n callback();\n };\n }\n script.src = url;\n document.body.appendChild(script);\n}\n\nexport function convertHttps(value) {\n return value && value.replace('http:', 'https:');\n}\n\nexport function isNavigationRequired(pathname) {\n if (pathname === 'checkout/success') return true;\n const noNavigationRequiredUrls = ['checkout', 'rx/buy'];\n return !noNavigationRequiredUrls.some(path => pathname.indexOf(path) > 0);\n}\n\nexport function isRelativeUrl(url) {\n return url.indexOf('http') === -1 && url.indexOf('//www.lenskart.') === -1;\n}\n\nexport function disableBackgroundScroll() {\n document.body.classList.add('overflow-hidden');\n}\n\nexport function enableBackgroundScroll() {\n document.body.classList.remove('overflow-hidden');\n}\n\nexport function determineCategory(pathname, cmsCategoryArray) {\n let category = 'accessories';\n category = category.replace('_', '-');\n if (cmsCategoryArray.indexOf(category) < 0) {\n if (pathname.indexOf('eyeglasses') > -1) {\n category = 'eyeglasses';\n }\n if (pathname.indexOf('sunglasses') > -1) {\n category = 'sunglasses';\n }\n if (pathname.indexOf('power-sunglasses') > -1) {\n category = 'power sunglasses';\n document.cookie = 'product_category=power_sunglasses';\n }\n if (pathname.indexOf('premium-eyeglasses') > -1) {\n category = 'premium eyeglasses';\n }\n if (pathname.indexOf('contact-lenses') > -1) {\n category = 'contact-lenses';\n }\n }\n if (category !== 'contact-lenses') {\n category = category.replace('-', ' ');\n }\n return category;\n}\n\nexport function showElement(query, show) { // used in case of lazy load\n const $element = document.querySelector(query);\n if ($element) {\n const display = show ? 'block' : 'none';\n $element.style.display = display;\n }\n}\n\nexport function checkElementInViewport($element) {\n const rect = $element.getBoundingClientRect();\n\n return (\n rect.top >= 0\n && rect.left >= 0\n && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight)\n && rect.right <= (window.innerWidth || document.documentElement.clientWidth)\n );\n}\n\nexport const extractAndAppendScriptSourceForCMS = domString => {\n const scriptTagString = domString;\n scriptTagString.split('').forEach((domString, index) => {\n // delete node first if they are exist\n const scriptEl = document.getElementById(`cms${index}`);\n if (scriptEl) document.body.removeChild(scriptEl);\n if (domString.indexOf(' -1) {\n const script = document.createElement('script');\n script.id = `cms${index}`;\n if (domString.indexOf('src=') > -1) {\n // in script tag of cms pages src must be last in the tag otherwise condition will break.\n const srcPath = domString.substring(domString.indexOf('src=') + 5, domString.length - 2);\n script.src = srcPath;\n } else {\n const scriptToAppend = domString.substr(domString.indexOf('