{"version":3,"sources":["constants/action-types.js","utils/index.js","routes/private-route.js","routes/index.js","index.js","api/index.js","action/index.js","reducers/cart.js","reducers/product.js","reducers/wishlist.js","reducers/demo.js","reducers/compare.js","reducers/filter.js","reducers/login.js","reducers/account-info.js","reducers/order-history.js","reducers/slider.js","reducers/checkout.js","reducers/index.js","store/index.js"],"names":["__webpack_require__","d","__webpack_exports__","FETCH_SINGLE_PRODUCT","RECEIVE_PRODUCTS","SHOW_QUICKVIEW","HIDE_QUICKVIEW","FILTER_BRAND","FILTER_COLOR","FILTER_PRICE","FILTER_CATEGORIES","FILTER_SIZE","SORT_BY","FILTER_CLEAN_FILTERS","GET_CATEGORIES","GET_BRANDS","GETCART","ADD_TO_CART","REMOVE_FROM_CART","DECREMENT_QTY","CLEAR_CART","UPDATE_CART","GET_WISHLIST","ADD_TO_WISHLIST","REMOVE_FROM_WISHLIST","ADD_TO_COMPARE","REMOVE_FROM_COMPARE","REMOVE_ALL_COMPARE","HIDE_CART_MODAL","SHOW_CART_MODAL","HIDE_LOADER","SHOW_LOADER","HIDE_NEWSLETTER","REFRESH_STORE","LOGIN","LOGOUT","GET_ACCOUNT_INFORMATION","GET_ORDER_HISTORY","GET_SLIDER","CHECK_CART","STORE_ADDRESS","STORE_BILLING_ADDRESS","CLEAR_BILLING_ADDRESS","STORE_PO","isIEBrowser","isFirefoxBrowser","isEdgeBrowser","initStickyOffset","definePolyfills","scrollTop","init","findIndex","findProductById","findOrderById","isotopeLoad","removeXSSAttacks","productFilter","getPrice","shopFilterProducts","setStickyValues","stickyContentHandle","setParallax","getCartTotal","getQtyTotal","navigator","userAgent","indexOf","isSafari","sUsrAg","stickyHandler","stickyHeader","limit","addClass","arguments","length","undefined","window","pageYOffset","outerWidth","parentElement","classList","contains","wrapper","document","createElement","className","insertBefore","setAttribute","offsetHeight","insertAdjacentElement","add","remove","removeAttribute","stickyOffset","stickyTop","Object","values","defineProperty","value","obj","TypeError","res","keys","map","key","push","Element","prototype","closest","s","i","matches","this","ownerDocument","querySelectorAll","el","item","index","children","querySelector","addEventListener","e","pos","timer","setInterval","clearInterval","scrollBy","scrollTo","top","behavior","preventDefault","passive","stickyContent","setTimeout","stickyInit","stickyHeader1","stickyHeader2","getBoundingClientRect","items","id","products","filter","isNaN","parseInt","order","isotope","imagesLoaded","grids","_loop","grid","iso","itemSelector","layoutMode","percentPosition","getSortData","md-order","sortReorder","masonry","columnWidth","background","on","instance","image","innerWidth","arrange","sortBy","layout","isotopeImage","filterValue","currentTarget","getAttribute","links","j","html","SCRIPT_REGEX","test","replace","__html","product","new","sale","featured","sort","a","b","date","Date","parse","rating","variants","set","xVal","variant","max","type","reduce","price1","salePrice","price","price2","Math","min","filterProduct","maxPrice","minPrice","categoriesFlag","category","brandFlag","brand","format","getTime","minPrice1","maxPrice1","outerHeight","self","getComputedStyle","getPropertyValue","width","clientWidth","maxChildHeight","maxHeight","child","height","getRowTop","stickySidebar","position","style","bottom","stickySidebars","originWidth","parentBottom","innerHeight","clientHeight","offsetTop","stickySliders","stickySlider","parallax","y","backgroundPositionY","concat","total","sum","qty","PrivateRoute","_ref","Component","component","rest","objectWithoutProperties","isLoggedIn","store","getState","login","isLogin","react_default","Route","assign","render","props","Redirect","to","pathname","state","from","location","ProductsPages","React","lazy","Promise","all","then","bind","CategoriesPages","OthersPages","HomePage","PaymentPage","Routes","dispatch","Suspense","fallback","Switch","private_route","path","process","Root","useEffect","accessToken","token","customerId","getAllCarts","hideLoader","console","log","es","integration_react","persistor","loading","BrowserRouter","basename","react_router_scroll_4_es","ReactDOM","getElementById","API_URL","handleLogin","username","password","axios","get","response","data","catch","error","getAccountInformation","headers","Authorization","customer_id","newDetail","shopping_carts","manufacturer_ids","toString","category_ids","shoppingCartId","product_id","quantity","name","sku","pictures","images","src","shortDetails","short_description","description","full_description","stock","stock_quantity","split","discount","approved_rating_sum","reviews","approved_total_reviews","size","color","cart_check_box","addToCart","post","shopping_cart_item","store_id","shopping_cart_type","changePassword","email","oldPassword","newPassword","refreshStore","current","types","refreshUnSafe","getAllProducts","price_tier","accInfo","account_info","api","toast","showQuickView","hideQuickView","showLoader","quickAddToCart","success","removeFromCart","delete","clearCart","incrementQty","cartId","put","decrementQty","inputQty","addToWishList","removeFromWishlist","moveFromCartToWishlist","moveFromWishlistToCart","addToCompare","productId","filterBrand","filterColor","filterPrice","filterSort","filterSize","filterCategories","getAllCategories","categories","getAllBrands","manufacturers","cleanFilter","error_description","access_token","href","logout","getAllOrderHistory","orders","reOrderById","checkCart","checkAllCart","boolean","storeAddress","input","storePO","po","storeBillingAddress","clearBillingAddress","addNewAddress","address","status","deleteAddress","editAddress","checkOut","credit_term","payment_method_system_name","shipping_method","shipping_rate_computation_method_system_name","billing_address","checkout","billingAddress","shipping_address","shippingAddress","po_reference","first_name","last_name","phone_number","order_items","order_total","custom_order_number","resetPassword","changeDefaultPassword","current_pw","new_pw","signup","register","firstname","company","city","address1","address2","address3","address4","phonenumber","phone","zippostalcode","zip","Register","history","getAllWishList","CheckRecoveryTokenAndGuid","guid","Token","Email","Guid","recoveryPassword","PasswordRecoveryDetail","NewPassword","Result","initialState","cart","modalProduct","showModal","persistConfig","keyPrefix","storage","persistReducer","action","objectSpread","acc","toConsumableArray","check","single","quickShow","fetchBegin","itemAcc","list","isOpened","compare","categoryList","brandList","product_count","brands","tokenType","token_type","customers","addresses","orderHistory","slider","rootReducer","combineReducers","cartList","cartReducer","productReducer","wishlist","wishReducer","demo","demoReducer","compareList","compareReducer","filtersReducer","loginReducer","accReducer","orderHistoryReducer","sliderReducer","checkOutReducer","appliedMiddleware","applyMiddleware","thunkMiddleware","createStore","compose","__REDUX_DEVTOOLS_EXTENSION__","f","persistStore"],"mappings":"wFAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAAAG,IAAAL,EAAAC,EAAAC,EAAA,sBAAAI,IAAAN,EAAAC,EAAAC,EAAA,sBAAAK,IAA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EmO,EAdKC,YAAgB,CAClCC,SAAUC,EACVvL,KAAMwL,EACNC,SAAUC,EACVC,KAAMC,EACNC,YAAaC,EACbtW,OAAQuW,EACRxP,MAAOyP,EACP/I,QAASgJ,EACTf,aAAcgB,EACdf,OAAQgB,EACRrF,SAAUsF,ICjBRC,EAAoBC,YAAiBC,KAWnClQ,EAAQmQ,YAAapB,EACvBqB,YACIJ,EACA9a,OAAOmb,6BAA+Bnb,OAAOmb,+BAAiC,SAAWC,GACrF,OAAOA,KAKNzN,EAAY0N,YAAcvQ,GAExBA","file":"static/js/main.4f707bfe.chunk.js","sourcesContent":["// Get products\r\nexport const FETCH_SINGLE_PRODUCT = \"FETCH_SINGLE_PRODUCT\";\r\nexport const RECEIVE_PRODUCTS = \"RECEIVE_PRODUCTS\";\r\nexport const SHOW_QUICKVIEW = \"SHOW_QUICKVIEW\";\r\nexport const HIDE_QUICKVIEW = \"HIDE_QUICKVIEW\";\r\n\r\n// Filter Products\r\nexport const FILTER_BRAND = \"FILTER_BRAND\";\r\nexport const FILTER_COLOR = \"FILTER_COLOR\";\r\nexport const FILTER_PRICE = \"FILTER_PRICE\";\r\nexport const FILTER_CATEGORIES = \"FILTER_CATEGORIES\";\r\nexport const FILTER_SIZE = \"FILTER_SIZE\";\r\nexport const SORT_BY = \"SORT_BY\";\r\nexport const FILTER_CLEAN_FILTERS = \"FILTER_CLEAN_FILTERS\";\r\nexport const GET_CATEGORIES = \"GET_CATEGORIES\";\r\nexport const GET_BRANDS = \"GET_BRANDS\";\r\n\r\n// Cart\r\nexport const GETCART = \"GETCART\";\r\nexport const ADD_TO_CART = \"ADD_TO_CART\";\r\nexport const REMOVE_FROM_CART = \"REMOVE_FROM_CART\";\r\nexport const INCREMENT_QTY = \"INCREMENT_QTY\";\r\nexport const DECREMENT_QTY = \"DECREMENT_QTY\";\r\nexport const CLEAR_CART = \"CLEAR_CART\";\r\nexport const UPDATE_CART = \"UPDATE_CART\";\r\n\r\n// WishList\r\nexport const GET_WISHLIST = \"GET_WISHLIST\";\r\nexport const ADD_TO_WISHLIST = \"ADD_TO_WISHLIST\";\r\nexport const REMOVE_FROM_WISHLIST = \"REMOVE_FROM_WISHLIST\";\r\n\r\n// Compare\r\nexport const ADD_TO_COMPARE = \"ADD_TO_COMPARE\";\r\nexport const REMOVE_FROM_COMPARE = \"REMOVE_FROM_COMPARE\";\r\nexport const REMOVE_ALL_COMPARE = \"REMOVE_ALL_COMPARE\";\r\n\r\n// CheckOut Process\r\nexport const CHECKOUT_REQUEST = \"CHECKOUT_REQUEST\";\r\nexport const CHECKOUT_SUCCESS = \"CHECKOUT_SUCCESS\";\r\nexport const CHECKOUT_FAILURE = \"CHECKOUT_FAILURE\";\r\n\r\n//Demo change\r\nexport const HIDE_CART_MODAL = \"HIDE_CART_MODAL\";\r\nexport const SHOW_CART_MODAL = \"SHOW_CART_MODAL\";\r\nexport const HIDE_LOADER = \"HIDE_LOADER\";\r\nexport const SHOW_LOADER = \"SHOW_LOADER\";\r\n\r\n//Newsletter PopUp Modal\r\nexport const HIDE_NEWSLETTER = \"HIDE_NEWSLETTER\";\r\n\r\n//Refresh Store\r\nexport const REFRESH_STORE = \"REFRESH_STORE\";\r\n\r\n//Authentication\r\nexport const LOGIN = \"LOGIN\";\r\nexport const LOGOUT = \"LOGOUT\";\r\n\r\n//Get account information\r\nexport const GET_ACCOUNT_INFORMATION = \"GET_ACCOUNT_INFORMATION\";\r\n\r\n//Get Order History\r\nexport const GET_ORDER_HISTORY = \"GET_ORDER_HISTORY\";\r\n\r\n//Slider\r\nexport const GET_SLIDER = \"GET_SLIDER\";\r\n\r\n//Check cart for checkout\r\nexport const CHECK_CART = \"CHECK_CART\";\r\nexport const CHECK_ALL_CART = \"CHECK_ALL_CART\";\r\n\r\n//Checkout\r\nexport const STORE_ADDRESS = \"STORE_ADDRESS\";\r\nexport const STORE_BILLING_ADDRESS = \"STORE_BILLING_ADDRESS\";\r\nexport const CLEAR_BILLING_ADDRESS = \"CLEAR_BILLING_ADDRESS\";\r\nexport const STORE_PO = \"STORE_PO\";\r\n","/**\r\n * Is Internet Explorer?\r\n * @return { bool }\r\n */\r\nexport const isIEBrowser = function () {\r\n let sUsrAg = navigator.userAgent;\r\n if (sUsrAg.indexOf(\"Trident\") > -1) return true;\r\n return false;\r\n};\r\n\r\n/**\r\n * Is Firefox Explorer?\r\n * @return { bool }\r\n */\r\nexport const isFirefoxBrowser = function () {\r\n let sUsrAg = navigator.userAgent;\r\n if (sUsrAg.indexOf(\"Firefox\") > -1) return true;\r\n return false;\r\n};\r\n\r\n/**\r\n * Is Edge Explorer?\r\n * @return { bool }\r\n */\r\nexport const isEdgeBrowser = function () {\r\n let sUsrAg = navigator.userAgent;\r\n if (sUsrAg.indexOf(\"Edge\") > -1) return true;\r\n return false;\r\n};\r\n\r\n/**\r\n * Is Safari?\r\n * @return { bool }\r\n */\r\nexport const isSafari = function () {\r\n let sUsrAg = navigator.userAgent;\r\n if (sUsrAg.indexOf(\"Safari\") !== -1 && sUsrAg.indexOf(\"Chrome\") === -1) return true;\r\n return false;\r\n};\r\n\r\n/**\r\n * handle Sticky Header\r\n * @param { Element } stickyHeader\r\n * @param { Number } limit\r\n * @param { String } addClass\r\n */\r\nfunction stickyHandler(stickyHeader, limit, addClass = \"fixed\") {\r\n if (window.pageYOffset >= limit && window.outerWidth >= 992) {\r\n if (!stickyHeader.parentElement.classList.contains(\"sticky-wrapper\")) {\r\n let wrapper = document.createElement(\"div\");\r\n wrapper.className = \"sticky-wrapper\";\r\n if (!stickyHeader.parentElement.classList.contains(\"sticky-header\")) {\r\n stickyHeader.parentElement.insertBefore(wrapper, stickyHeader);\r\n } else {\r\n stickyHeader.parentElement.parentElement.insertBefore(wrapper, stickyHeader);\r\n }\r\n wrapper.setAttribute(\"style\", \"height:\" + stickyHeader.offsetHeight + \"px\");\r\n wrapper.insertAdjacentElement(\"beforeend\", stickyHeader);\r\n }\r\n if (!stickyHeader.classList.contains(addClass)) {\r\n stickyHeader.parentElement.setAttribute(\"style\", \"height:\" + stickyHeader.offsetHeight + \"px\");\r\n stickyHeader.classList.add(addClass);\r\n }\r\n } else {\r\n stickyHeader.classList.remove(addClass);\r\n if (stickyHeader.classList.contains(addClass)) stickyHeader.classList.remove(addClass);\r\n if (stickyHeader.parentElement.classList.contains(\"sticky-wrapper\")) {\r\n stickyHeader.parentElement.removeAttribute(\"style\");\r\n }\r\n }\r\n}\r\n\r\nlet stickyOffset = -1;\r\nlet stickyTop = -1;\r\n/**\r\n * initialize stickyoffset\r\n */\r\nexport function initStickyOffset() {\r\n stickyOffset = -1;\r\n stickyTop = -1;\r\n}\r\n\r\n/**\r\n * definePolyfills\r\n */\r\nexport const definePolyfills = () => {\r\n if (typeof Object.values != \"function\") {\r\n Object.defineProperty(Object, \"values\", {\r\n value: function values(obj) {\r\n if (obj === null) {\r\n throw new TypeError(\"Cannot convert undefined or null to object\");\r\n }\r\n\r\n let res = [];\r\n\r\n Object.keys(obj).map(function (key) {\r\n res.push(obj[key]);\r\n return 1;\r\n });\r\n\r\n return res;\r\n },\r\n });\r\n }\r\n\r\n if (window.Element && !Element.prototype.closest) {\r\n Element.prototype.closest = function (s) {\r\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\r\n i,\r\n el = this;\r\n\r\n do {\r\n i = matches.length;\r\n while (--i >= 0 && matches.item(i) !== el) { }\r\n } while (i < 0 && (el = el.parentElement));\r\n return el;\r\n };\r\n }\r\n\r\n if (!Element.prototype.index) {\r\n Element.prototype.index = function (s) {\r\n let self = this;\r\n let children = self.parentElement.children;\r\n for (let i = 0; i < children.length; i++) {\r\n if (self === children[i]) return i;\r\n }\r\n return 0;\r\n };\r\n }\r\n};\r\n\r\n/**\r\n * Scroll Top\r\n */\r\nexport function scrollTop() {\r\n document.querySelector(\"#scroll-top\").addEventListener(\"click\", function (e) {\r\n if (isIEBrowser() || isEdgeBrowser() || isFirefoxBrowser() || isSafari()) {\r\n let pos = window.pageYOffset;\r\n let timer = setInterval(() => {\r\n if (pos <= 0) clearInterval(timer);\r\n window.scrollBy(0, -40);\r\n pos -= 40;\r\n }, 1);\r\n } else {\r\n window.scrollTo({\r\n top: 0,\r\n behavior: \"smooth\",\r\n });\r\n }\r\n e.preventDefault();\r\n });\r\n\r\n window.addEventListener(\r\n \"scroll\",\r\n function () {\r\n if (document.querySelector(\"#scroll-top\")) {\r\n if (window.pageYOffset > 600) {\r\n document.querySelector(\"#scroll-top\").classList.add(\"fixed\");\r\n } else {\r\n document.querySelector(\"#scroll-top\").classList.remove(\"fixed\");\r\n }\r\n }\r\n },\r\n { passive: true }\r\n );\r\n}\r\n\r\n/**\r\n * initialize layout\r\n */\r\nexport function init() {\r\n let stickyContent = document.querySelector(\".main .sticky-header\");\r\n if (stickyContent && stickyContent.classList.contains(\"fixed\")) stickyContent.classList.remove(\"fixed\");\r\n\r\n setTimeout(() => {\r\n if (document.querySelector(\".sticky-header\")) {\r\n window.addEventListener(\"scroll\", stickyInit, { passive: true });\r\n }\r\n }, 800);\r\n}\r\n\r\n/**\r\n * sticky initialization for base\r\n */\r\nexport function stickyInit() {\r\n if (document.querySelector(\".sticky-header\")) {\r\n let stickyHeader1 = document.querySelector(\"header .sticky-header\");\r\n if (stickyHeader1) {\r\n stickyHandler(stickyHeader1, 300);\r\n }\r\n\r\n if (document.querySelector(\"header.sticky-header\")) {\r\n stickyHandler(document.querySelector(\"header.sticky-header\"), 300);\r\n }\r\n\r\n let stickyHeader2 = document.querySelector(\".main .sticky-header\");\r\n if (stickyHeader2) {\r\n if (!stickyHeader2.classList.contains(\"fixed\") && (stickyOffset === -1 || stickyOffset === 0))\r\n stickyOffset = stickyHeader2.getBoundingClientRect().top + window.pageYOffset + stickyHeader2.offsetHeight;\r\n stickyHandler(stickyHeader2, stickyOffset, \"fixed\");\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * find item of array\r\n * @param { Array } items\r\n * @param { Int } id\r\n */\r\nexport function findIndex(items = [], id) {\r\n let res = false;\r\n for (let i = 0; i < items.length; i++) {\r\n if (items[i].id === id) {\r\n res = true;\r\n break;\r\n }\r\n }\r\n return res;\r\n}\r\n\r\n/**\r\n * find Product by id in array of products\r\n * @param { Array } products\r\n * @param { String } id\r\n */\r\nexport function findProductById(products, id) {\r\n return products.filter((item) => isNaN(id) === false && item.id === parseInt(id))[0];\r\n}\r\n\r\n/**\r\n * find Blog by id in array of products\r\n * @param { Array } blogs\r\n * @param { String } id\r\n */\r\nexport function findBlogById(blogs, id) {\r\n return blogs.filter((item) => isNaN(id) === false && item.id === parseInt(id))[0];\r\n}\r\n\r\nexport function findOrderById(order, id) {\r\n return order.filter((item) => isNaN(id) === false && item.id === parseInt(id))[0];\r\n}\r\n\r\n/**\r\n * execute isotope grid\r\n * @param { Function Pointer } isotope\r\n * @param { Function Pointer } imagesLoaded\r\n */\r\nexport function isotopeLoad(isotope, imagesLoaded) {\r\n let grids = document.querySelectorAll(\".grid\");\r\n for (let i = 0; i < grids.length; i++) {\r\n let grid = grids[i];\r\n\r\n let iso = new isotope(grid, {\r\n itemSelector: \".grid-item\",\r\n layoutMode: \"masonry\",\r\n percentPosition: true,\r\n getSortData: {\r\n \"md-order\": \"[data-md-order] parseInt\",\r\n },\r\n sortReorder: true,\r\n masonry: {\r\n columnWidth: \".grid-sizer\",\r\n },\r\n });\r\n\r\n let imgLoad = imagesLoaded(grid, { background: true });\r\n imgLoad.on(\"done\", function (instance, image) {\r\n if (window.innerWidth < 768 && window.innerWidth > 400) {\r\n iso.arrange({ sortBy: \"md-order\" });\r\n }\r\n\r\n iso.layout();\r\n });\r\n\r\n if (grids[i].parentElement.classList.contains(\"featured-section\")) {\r\n let links = document.querySelectorAll(\".filter-button-group .nav-link\");\r\n function isotopeImage(e) {\r\n e.preventDefault();\r\n let filterValue = e.currentTarget.getAttribute(\"data-filter\");\r\n iso.arrange({\r\n filter: filterValue,\r\n });\r\n e.currentTarget.parentElement.parentElement.querySelector(\".active\").classList.remove(\"active\");\r\n e.currentTarget.classList.add(\"active\");\r\n // setTimeout( () => {\r\n // appearAnimate();\r\n // }, 400 );\r\n }\r\n for (let j = 0; j < links.length; j++) {\r\n links[j].addEventListener(\"click\", isotopeImage);\r\n }\r\n }\r\n function isoArrange() {\r\n iso.arrange({\r\n sortBy: window.innerWidth < 768 && window.innerWidth > 400 ? \"md-order\" : \"original-order\",\r\n });\r\n }\r\n window.addEventListener(\"resize\", isoArrange);\r\n }\r\n}\r\n\r\n/**\r\n * Remove all XSS attacks potential\r\n * @param { String } html\r\n * @return { Object }\r\n */\r\nexport const removeXSSAttacks = (html) => {\r\n const SCRIPT_REGEX = /)<[^<]*)*<\\/script>/gi;\r\n\r\n // Removing the