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AA,SAAAA,CAASA,CAAC,KACN8E,EAAS0K,EAEb,EAAG,CAACA,EAAS,EAIT,WAAC7O,MAAAA,CAAIH,UAAWI,IAAAA,KAAW,WACvB,WAACsE,SAAAA,CACGzF,KAAK,SACLe,UAAWK,CAAAA,EAAAA,EAAAA,CAAAA,CAAIA,CAACD,IAAAA,OAAa,CAAGA,GAAK,CAACmB,EAAK,YAE3C,UAACyF,OAAAA,UAAK,QAEN,UAACA,OAAAA,CAAKhH,UAAWI,IAAAA,GAAS,UACrB4O,IAGL,UAACF,EAAeA,CAACjN,MAAM,KAAKC,CAAZgN,MAAmB,UAGvC,UAACQ,OAAAA,CAAKtP,UAAWI,IAAAA,IAAU,UACtB8O,EAASpI,GAAG,CAAC,CAAC/D,EAAMmD,IACjB,UAAC0B,KAAAA,CACG5H,UAAWI,IAAAA,QAAc,UAGzB,UAACsE,SAAAA,CACGzF,KAAK,SACLe,UAAWI,IAAAA,OAAa,CACxBqB,QAAS,IAAMwN,EAAYlM,YAE1BA,KAPAmD,QAc7B","sources":["webpack://_N_E/./icons/IconLocation.jsx","webpack://_N_E/./contexts/GlobalReducer.js","webpack://_N_E/./contexts/GlobalContext.js","webpack://_N_E/./components/display/WidgetBody/index.jsx","webpack://_N_E/./icons/IconLock.jsx","webpack://_N_E/./components/applications/cart-checkout/CheckoutBtn.jsx","webpack://_N_E/./services/LocalStorage.service.js","webpack://_N_E/./components/applications/shipping/LocalizeWidget/LocalizeWidget.module.scss","webpack://_N_E/./components/applications/shipping/LocalizeWidget/index.jsx","webpack://_N_E/./components/layout/Grid/Grid.module.scss","webpack://_N_E/./components/display/WidgetBody/WidgetBody.module.scss","webpack://_N_E/./components/product/Quantity/Quantity.module.scss","webpack://_N_E/./lib/constants.js","webpack://_N_E/./icons/IconTrash.jsx","webpack://_N_E/./components/applications/cart-checkout/CartWidget/Item/index.jsx","webpack://_N_E/./components/applications/cart-checkout/CartWidget/Actions.jsx","webpack://_N_E/./components/applications/cart-checkout/CartWidget/index.jsx","webpack://_N_E/./components/applications/cart-checkout/_hooks/useCartWidget.js","webpack://_N_E/./components/applications/cart-checkout/CartWidget/CartWidget.module.scss","webpack://_N_E/./components/applications/cart-checkout/CartWidget/Item/CartItem.module.scss","webpack://_N_E/./services/ErrorBoundary.js","webpack://_N_E/./components/layout/Grid/index.jsx","webpack://_N_E/./services/bigcommerce/cart/GetCart.js","webpack://_N_E/./services/bigcommerce/cart/CreateCartAddItem.js","webpack://_N_E/./services/bigcommerce/cart/DeleteCartItem.js","webpack://_N_E/./services/bigcommerce/cart/UpdateLastCartItem.js","webpack://_N_E/./services/bigcommerce/cart/UpdateCartItem.js","webpack://_N_E/./services/bigcommerce/cart/UpdateCartItemQty.js","webpack://_N_E/./services/bigcommerce/cart/AddCoupon.js","webpack://_N_E/./services/bigcommerce/cart/DeleteCoupon.js","webpack://_N_E/./services/bigcommerce/cart/UpdateCustomer.js","webpack://_N_E/./services/bigcommerce/cart/GetCartById.js","webpack://_N_E/./services/bigcommerce/cart/AddCartItem.js","webpack://_N_E/./components/applications/cart-checkout/_contexts/CartWidgetContext.js","webpack://_N_E/./components/applications/cart-checkout/_hooks/useCart.js","webpack://_N_E/./lib/utils/createCategoryURL.js","webpack://_N_E/./global_hooks/useLocateMe.js","webpack://_N_E/./icons/IconChevronDown.jsx","webpack://_N_E/./lib/utils/range.js","webpack://_N_E/./components/product/Quantity/index.jsx"],"sourcesContent":["\nexport function IconLocation(props){\n return(\n \n \n \n )\n}","/**\n* Global State Manager:\n* - only put things in here that are truly global (e.g. Cart & Customer Data, Theme)\n* otherwise make it a local state or pass it in a prop\n*/\n\n// use our initial state as a type of manifest for the Global State\nexport const initialState = {\n user: {\n isLoggedIn: false,\n email: \"\",\n customer_group_id: 5,\n },\n widget: {\n isOpen: true,\n component: null,\n },\n cart: {},\n thirdParty: {}\n}\n\n\nexport const GlobalReducer = (state, action) => {\n switch(action.type){\n\n case \"setCart\":\n return{\n ...state,\n cart: action.data\n }\n\n case \"setWidget\":\n return{\n ...state,\n widget: action.data\n };\n\n \n case \"login\":\n return{\n ...state,\n user: {\n ...state.user,\n isLoggedIn: true,\n ...action.data\n }\n };\n\n \n\n case \"setEmail\":\n return{\n ...state,\n user: {\n ...state.user,\n ...action.data\n }\n };\n\n\n \n case \"logout\":\n return{\n ...state,\n user: {\n ...state.user,\n isLoggedIn: false,\n data: {}\n }\n };\n \n\n default:\n throw new Error(\"Doh! You did not choose GlobalReducer method type to perform. Please try agin or go to GlobalContext.js for available types.\")\n }\n};\n","\"use client\"\n\nimport { useReducer, createContext, useEffect } from 'react';\nimport { GlobalReducer, initialState } from './GlobalReducer';\nimport { LocalStorage } from \"@/services/LocalStorage.service\";\n\nexport const GlobalContext = createContext();\n\n// Create our Provider with our Reducer as our state manager\nexport const GlobalContextProvider = ({ children }) => {\n const [state, dispatch] = useReducer(GlobalReducer, initialState);\n\n // Load our cart from local storage\n useEffect(() => {\n const cart = LocalStorage.getStorage(\"GRS_cart\");\n\n if( cart ){\n dispatch({\n type: \"setCart\",\n data: cart\n })\n }\n\n }, [])\n\n return (\n \n {children}\n \n );\n};\n","import clsx from \"clsx\";\nimport Style from \"./WidgetBody.module.scss\";\nimport Card from \"@/components/display/Card\";\n\n\nfunction WidgetBody({ children, actions, noCard, className }){\n const Element = noCard ? \"div\" : Card;\n\n return(\n
\n \n {children}\n \n\n {actions && (\n \n {actions}\n \n )}\n
\n )\n}\n\n\nexport default WidgetBody;","\nexport function IconLock(props){\n return(\n \n \n \n )\n}","\"use client\"\n\nimport Button from \"@/components/forms/Button\";\nimport { IconLock } from \"@/icons/IconLock\";\nimport axios from \"axios\";\nimport { useEffect, useState } from \"react\";\n\n\nfunction CheckoutBtn({ id }){\n const [ checkoutURL, setCheckoutURL ] = useState(null)\n\n useEffect(() => {\n if( id && !checkoutURL ){\n axios.post(`/api/bigcommerce/cart/redirect_urls/${id}`)\n .then(response => {\n setCheckoutURL(response?.data?.data?.checkout_url)\n })\n .catch(err => console.log(err))\n }\n\n }, [ id ])\n\n\n return(\n \n )\n}\n\nexport default CheckoutBtn;","\nexport const LocalStorage = {\n\n\n /**\n * Full storage setting of storage\n * @param {String} key \n * @param {Object} data \n * @param {String} type - the type of storage operation\n */\n\n setStorage({ key, data, type }){\n try{\n if (type === \"local\") {\n if (window?.localStorage) {\n window.localStorage.setItem(key, JSON.stringify(data));\n }\n\n } else {\n if (window.sessionStorage) {\n window.sessionStorage.setItem(key, JSON.stringify(data));\n }\n }\n\n }catch(err){}\n },\n\n \n\n /**\n * full service get storage\n * @param {String} key \n */\n\n getStorage(key){\n try{\n if ( window?.localStorage ) {\n let stored = window.sessionStorage ? window.sessionStorage.getItem(key) : null;\n\n if ( !stored ) {\n stored = window.localStorage ? window.localStorage.getItem(key) : null;\n }\n \n return stored !== \"undefined\" ? JSON.parse(stored) : null\n }\n\n }catch(err){}\n },\n\n\n\n /**\n * Full service adding to existing storage\n * @param {String} key \n * @param {Object} data \n * \n * This item must have an unique ID or it will cause duplicate entries\n */\n\n addToStorage(key, data, maxItems = 25){\n try{\n let storedItem = LocalStorage.getStorage(key);\n \n if (Array.isArray(storedItem)) {\n \n // check to see if we have this item in the array\n const hasStoredItem = storedItem.some(item => item.id === data.id);\n\n if( hasStoredItem ){\n const newStoredItem = storedItem.filter(item => item.id !== data.id);\n newStoredItem.push(data);\n\n }else{\n storedItem.push(data);\n }\n\n // if the array is longer than the max items allowed, remove the first item\n if (storedItem.length > maxItems) {\n storedItem.shift();\n }\n\n LocalStorage.setStorage({ key, data: storedItem, type: \"local\" });\n\n } else {\n let arr = [];\n\n arr.push(data);\n LocalStorage.setStorage({ key, data: arr, type: \"local\" });\n }\n\n }catch(err){}\n },\n\n\n\n /**\n * Clear out storage object of specified key\n * @param {string} key \n */\n\n remove(key){\n try{\n if( window.localStorage ){\n window.localStorage.removeItem(key)\n window.sessionStorage.removeItem(key)\n }\n \n }catch(err){}\n },\n\n\n\n \n getStoredCart(){\n return{}\n }\n\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"LocalizeWidget_block__S4EUB\",\"actions\":\"LocalizeWidget_actions__Jt2ZO\",\"content\":\"LocalizeWidget_content__14clS\",\"myLocationBtn\":\"LocalizeWidget_myLocationBtn__rE15m\",\"or\":\"LocalizeWidget_or__Ic0Ob\"};","\"use client\"\n\nimport Input from \"@/components/forms/Input\";\nimport Style from \"./LocalizeWidget.module.scss\"\nimport { IconLocation } from \"@/icons/IconLocation\";\nimport { useContext, useState } from \"react\";\nimport Button from \"@/components/forms/Button\";\nimport WidgetBody from \"@/components/display/WidgetBody\";\nimport useLocateMe from \"@/global_hooks/useLocateMe\";\nimport ButtonFeedback from \"@/components/forms/Button/ButtonFeedback\";\nimport useButtonFeedback from \"@/components/forms/Button/useButtonFeedback\";\nimport { GlobalContext } from \"@/contexts/GlobalContext\";\n\n\nfunction LocalizeWidget(){\n const [ postalCode, setPostalCode ] = useState(\"\")\n const location = useLocateMe()\n const feedback = useButtonFeedback()\n const [ _, dispatch ] = useContext(GlobalContext);\n\n function updatePostal(){\n location.usePostalCode(postalCode)\n }\n\n function updateCurrentLocation(){\n feedback.setLoading(true)\n\n location.useCurrentLocation(() => {\n feedback.setLoading(false)\n\n dispatch({\n type: \"setWidget\",\n data: {\n isOpen: false,\n component: null\n }\n })\n })\n }\n\n return(\n \n Update Shipping\n \n }\n >\n

Inventory and shipping/delivery options may change based on your location

\n\n
\n setPostalCode(e.target.value)}\n autoFocus\n />\n
\n\n

\n\n \n \n )\n}\n\n\n\n\n\nexport default LocalizeWidget;","// extracted by mini-css-extract-plugin\nmodule.exports = {\"span_xs_1\":\"Grid_span_xs_1__A_QNF\",\"xs_1\":\"Grid_xs_1__4S4Zq\",\"gridStart_xs_1\":\"Grid_gridStart_xs_1__rsK3o\",\"gridEnd_xs_1\":\"Grid_gridEnd_xs_1__B_qzT\",\"span_xs_2\":\"Grid_span_xs_2__PaBl6\",\"xs_2\":\"Grid_xs_2__oUUgR\",\"gridStart_xs_2\":\"Grid_gridStart_xs_2__GClVC\",\"gridEnd_xs_2\":\"Grid_gridEnd_xs_2__JYBwd\",\"span_xs_3\":\"Grid_span_xs_3__dFjnA\",\"xs_3\":\"Grid_xs_3__c_QKD\",\"gridStart_xs_3\":\"Grid_gridStart_xs_3__Ih5XL\",\"gridEnd_xs_3\":\"Grid_gridEnd_xs_3__hCrJR\",\"span_xs_4\":\"Grid_span_xs_4__durlL\",\"xs_4\":\"Grid_xs_4__iPD32\",\"gridStart_xs_4\":\"Grid_gridStart_xs_4__5C1Wd\",\"gridEnd_xs_4\":\"Grid_gridEnd_xs_4__vqrBa\",\"span_xs_5\":\"Grid_span_xs_5__DaLiz\",\"xs_5\":\"Grid_xs_5__AtaC2\",\"gridStart_xs_5\":\"Grid_gridStart_xs_5__sCK8t\",\"gridEnd_xs_5\":\"Grid_gridEnd_xs_5__nzacm\",\"span_xs_6\":\"Grid_span_xs_6__hX3_f\",\"xs_6\":\"Grid_xs_6__taEOH\",\"gridStart_xs_6\":\"Grid_gridStart_xs_6__v1Hin\",\"gridEnd_xs_6\":\"Grid_gridEnd_xs_6__n8PP5\",\"span_xs_7\":\"Grid_span_xs_7__8zFPn\",\"xs_7\":\"Grid_xs_7__cSxh1\",\"gridStart_xs_7\":\"Grid_gridStart_xs_7__FVa2x\",\"gridEnd_xs_7\":\"Grid_gridEnd_xs_7__VA3Z_\",\"span_xs_8\":\"Grid_span_xs_8__mf97q\",\"xs_8\":\"Grid_xs_8__ahsdv\",\"gridStart_xs_8\":\"Grid_gridStart_xs_8__qiHoS\",\"gridEnd_xs_8\":\"Grid_gridEnd_xs_8__c0guo\",\"span_xs_9\":\"Grid_span_xs_9__r0_bO\",\"xs_9\":\"Grid_xs_9__38fst\",\"gridStart_xs_9\":\"Grid_gridStart_xs_9__Fv6ZJ\",\"gridEnd_xs_9\":\"Grid_gridEnd_xs_9__Iel6o\",\"span_xs_10\":\"Grid_span_xs_10__UNMBm\",\"xs_10\":\"Grid_xs_10__M00sr\",\"gridStart_xs_10\":\"Grid_gridStart_xs_10__HU8zr\",\"gridEnd_xs_10\":\"Grid_gridEnd_xs_10__4Geio\",\"span_xs_11\":\"Grid_span_xs_11___YqA4\",\"xs_11\":\"Grid_xs_11__xOW7y\",\"gridStart_xs_11\":\"Grid_gridStart_xs_11__k1jv8\",\"gridEnd_xs_11\":\"Grid_gridEnd_xs_11__bHXuJ\",\"span_xs_12\":\"Grid_span_xs_12__RRz5v\",\"xs_12\":\"Grid_xs_12__wvVui\",\"gridStart_xs_12\":\"Grid_gridStart_xs_12__ZRv8j\",\"gridEnd_xs_12\":\"Grid_gridEnd_xs_12__pjHY5\",\"span_xs_13\":\"Grid_span_xs_13__GffQr\",\"xs_13\":\"Grid_xs_13__a_4ic\",\"gridStart_xs_13\":\"Grid_gridStart_xs_13__nAF2P\",\"gridEnd_xs_13\":\"Grid_gridEnd_xs_13__pkhQS\",\"span_xs_14\":\"Grid_span_xs_14__aTjB5\",\"xs_14\":\"Grid_xs_14__Ku9oW\",\"gridStart_xs_14\":\"Grid_gridStart_xs_14__XoEoD\",\"gridEnd_xs_14\":\"Grid_gridEnd_xs_14__GSOPq\",\"span_sm_1\":\"Grid_span_sm_1__UQWin\",\"sm_1\":\"Grid_sm_1__taYeG\",\"gridStart_sm_1\":\"Grid_gridStart_sm_1__lLc6f\",\"gridEnd_sm_1\":\"Grid_gridEnd_sm_1__NlIyN\",\"span_sm_2\":\"Grid_span_sm_2__wd_ZB\",\"sm_2\":\"Grid_sm_2__GPhyc\",\"gridStart_sm_2\":\"Grid_gridStart_sm_2___dOHh\",\"gridEnd_sm_2\":\"Grid_gridEnd_sm_2__2_ixV\",\"span_sm_3\":\"Grid_span_sm_3__EtjU9\",\"sm_3\":\"Grid_sm_3__aXS9_\",\"gridStart_sm_3\":\"Grid_gridStart_sm_3__5eINW\",\"gridEnd_sm_3\":\"Grid_gridEnd_sm_3__H1Exj\",\"span_sm_4\":\"Grid_span_sm_4__4_yno\",\"sm_4\":\"Grid_sm_4__1cgEk\",\"gridStart_sm_4\":\"Grid_gridStart_sm_4__gblb1\",\"gridEnd_sm_4\":\"Grid_gridEnd_sm_4__SjSpU\",\"span_sm_5\":\"Grid_span_sm_5__7BcSE\",\"sm_5\":\"Grid_sm_5__EOV6f\",\"gridStart_sm_5\":\"Grid_gridStart_sm_5__Upo5X\",\"gridEnd_sm_5\":\"Grid_gridEnd_sm_5__0HZUb\",\"span_sm_6\":\"Grid_span_sm_6__Xs_ez\",\"sm_6\":\"Grid_sm_6__DjhWN\",\"gridStart_sm_6\":\"Grid_gridStart_sm_6__HGHuf\",\"gridEnd_sm_6\":\"Grid_gridEnd_sm_6__vir_k\",\"span_sm_7\":\"Grid_span_sm_7__J8uVv\",\"sm_7\":\"Grid_sm_7__b3oTT\",\"gridStart_sm_7\":\"Grid_gridStart_sm_7__xh3NF\",\"gridEnd_sm_7\":\"Grid_gridEnd_sm_7__v_Rf8\",\"span_sm_8\":\"Grid_span_sm_8__eE5Vu\",\"sm_8\":\"Grid_sm_8__ZIIkY\",\"gridStart_sm_8\":\"Grid_gridStart_sm_8__cO4kP\",\"gridEnd_sm_8\":\"Grid_gridEnd_sm_8__B5kbp\",\"span_sm_9\":\"Grid_span_sm_9__NkRhv\",\"sm_9\":\"Grid_sm_9___8vyE\",\"gridStart_sm_9\":\"Grid_gridStart_sm_9__26jBo\",\"gridEnd_sm_9\":\"Grid_gridEnd_sm_9__4FLKx\",\"span_sm_10\":\"Grid_span_sm_10__39MdK\",\"sm_10\":\"Grid_sm_10__cqGCy\",\"gridStart_sm_10\":\"Grid_gridStart_sm_10__U55I9\",\"gridEnd_sm_10\":\"Grid_gridEnd_sm_10__1P6pF\",\"span_sm_11\":\"Grid_span_sm_11__fQecU\",\"sm_11\":\"Grid_sm_11__q3kXI\",\"gridStart_sm_11\":\"Grid_gridStart_sm_11__rEpSC\",\"gridEnd_sm_11\":\"Grid_gridEnd_sm_11__hn6VA\",\"span_sm_12\":\"Grid_span_sm_12__Nj5ro\",\"sm_12\":\"Grid_sm_12__ekT8p\",\"gridStart_sm_12\":\"Grid_gridStart_sm_12__dK_2g\",\"gridEnd_sm_12\":\"Grid_gridEnd_sm_12__o5HNi\",\"span_sm_13\":\"Grid_span_sm_13__vwsgF\",\"sm_13\":\"Grid_sm_13__9PtUq\",\"gridStart_sm_13\":\"Grid_gridStart_sm_13__kU1Bp\",\"gridEnd_sm_13\":\"Grid_gridEnd_sm_13__zsEQf\",\"span_sm_14\":\"Grid_span_sm_14__lpTFI\",\"sm_14\":\"Grid_sm_14__6pIPj\",\"gridStart_sm_14\":\"Grid_gridStart_sm_14__7kKww\",\"gridEnd_sm_14\":\"Grid_gridEnd_sm_14__0yMIb\",\"span_md_1\":\"Grid_span_md_1___7kal\",\"md_1\":\"Grid_md_1__f1Puk\",\"gridStart_md_1\":\"Grid_gridStart_md_1__RIApM\",\"gridEnd_md_1\":\"Grid_gridEnd_md_1__DFoPs\",\"span_md_2\":\"Grid_span_md_2__bdJ9q\",\"md_2\":\"Grid_md_2__L_YGg\",\"gridStart_md_2\":\"Grid_gridStart_md_2__NHDFe\",\"gridEnd_md_2\":\"Grid_gridEnd_md_2__H8LW2\",\"span_md_3\":\"Grid_span_md_3__JW_qj\",\"md_3\":\"Grid_md_3__aMCL_\",\"gridStart_md_3\":\"Grid_gridStart_md_3__Z1X7b\",\"gridEnd_md_3\":\"Grid_gridEnd_md_3__V_62I\",\"span_md_4\":\"Grid_span_md_4__ECepA\",\"md_4\":\"Grid_md_4__XBHmv\",\"gridStart_md_4\":\"Grid_gridStart_md_4__14gMm\",\"gridEnd_md_4\":\"Grid_gridEnd_md_4__h9Zg2\",\"span_md_5\":\"Grid_span_md_5__nSh1M\",\"md_5\":\"Grid_md_5__5OWY5\",\"gridStart_md_5\":\"Grid_gridStart_md_5__8b3ZU\",\"gridEnd_md_5\":\"Grid_gridEnd_md_5__tNdyG\",\"span_md_6\":\"Grid_span_md_6__PwES5\",\"md_6\":\"Grid_md_6__rg6SU\",\"gridStart_md_6\":\"Grid_gridStart_md_6__vB1e8\",\"gridEnd_md_6\":\"Grid_gridEnd_md_6__09WYL\",\"span_md_7\":\"Grid_span_md_7__Ve62P\",\"md_7\":\"Grid_md_7__lZEMK\",\"gridStart_md_7\":\"Grid_gridStart_md_7__E1xc5\",\"gridEnd_md_7\":\"Grid_gridEnd_md_7__o_XTA\",\"span_md_8\":\"Grid_span_md_8__BFYxL\",\"md_8\":\"Grid_md_8__6nr_Q\",\"gridStart_md_8\":\"Grid_gridStart_md_8__RS4cg\",\"gridEnd_md_8\":\"Grid_gridEnd_md_8__0RmzZ\",\"span_md_9\":\"Grid_span_md_9__HIntZ\",\"md_9\":\"Grid_md_9__O2zRy\",\"gridStart_md_9\":\"Grid_gridStart_md_9__4Nu3m\",\"gridEnd_md_9\":\"Grid_gridEnd_md_9__IVEp7\",\"span_md_10\":\"Grid_span_md_10__1X3BF\",\"md_10\":\"Grid_md_10__w_HjW\",\"gridStart_md_10\":\"Grid_gridStart_md_10__AEUc_\",\"gridEnd_md_10\":\"Grid_gridEnd_md_10__G1_KM\",\"span_md_11\":\"Grid_span_md_11__Oc9So\",\"md_11\":\"Grid_md_11__jp0DP\",\"gridStart_md_11\":\"Grid_gridStart_md_11__OqJnh\",\"gridEnd_md_11\":\"Grid_gridEnd_md_11__oqj_d\",\"span_md_12\":\"Grid_span_md_12__QBrGt\",\"md_12\":\"Grid_md_12__zfm12\",\"gridStart_md_12\":\"Grid_gridStart_md_12__5Hkhq\",\"gridEnd_md_12\":\"Grid_gridEnd_md_12__QNjbT\",\"span_md_13\":\"Grid_span_md_13__owlLI\",\"md_13\":\"Grid_md_13__jf18B\",\"gridStart_md_13\":\"Grid_gridStart_md_13__jNh_o\",\"gridEnd_md_13\":\"Grid_gridEnd_md_13__rM3Xc\",\"span_md_14\":\"Grid_span_md_14__M_qNl\",\"md_14\":\"Grid_md_14__0cDCE\",\"gridStart_md_14\":\"Grid_gridStart_md_14__kHk_0\",\"gridEnd_md_14\":\"Grid_gridEnd_md_14__WUu8K\",\"span_lg_1\":\"Grid_span_lg_1__TK8wS\",\"lg_1\":\"Grid_lg_1__fBN1O\",\"gridStart_lg_1\":\"Grid_gridStart_lg_1__OCQvl\",\"gridEnd_lg_1\":\"Grid_gridEnd_lg_1__O06ca\",\"span_lg_2\":\"Grid_span_lg_2__eBDdt\",\"lg_2\":\"Grid_lg_2__QsaBB\",\"gridStart_lg_2\":\"Grid_gridStart_lg_2__Ldtgv\",\"gridEnd_lg_2\":\"Grid_gridEnd_lg_2__UFVpe\",\"span_lg_3\":\"Grid_span_lg_3__Akiyl\",\"lg_3\":\"Grid_lg_3__jq5Zx\",\"gridStart_lg_3\":\"Grid_gridStart_lg_3__7WT8c\",\"gridEnd_lg_3\":\"Grid_gridEnd_lg_3__8nyEk\",\"span_lg_4\":\"Grid_span_lg_4__WGmVY\",\"lg_4\":\"Grid_lg_4__aZlkL\",\"gridStart_lg_4\":\"Grid_gridStart_lg_4__U4YOR\",\"gridEnd_lg_4\":\"Grid_gridEnd_lg_4__QOK_p\",\"span_lg_5\":\"Grid_span_lg_5__vh5ds\",\"lg_5\":\"Grid_lg_5__APZU6\",\"gridStart_lg_5\":\"Grid_gridStart_lg_5__yrwJE\",\"gridEnd_lg_5\":\"Grid_gridEnd_lg_5__3Tx_W\",\"span_lg_6\":\"Grid_span_lg_6__fUAM7\",\"lg_6\":\"Grid_lg_6__ochae\",\"gridStart_lg_6\":\"Grid_gridStart_lg_6__z4CT_\",\"gridEnd_lg_6\":\"Grid_gridEnd_lg_6__CAxL0\",\"span_lg_7\":\"Grid_span_lg_7__F3oK7\",\"lg_7\":\"Grid_lg_7__1e1XA\",\"gridStart_lg_7\":\"Grid_gridStart_lg_7__B_LPa\",\"gridEnd_lg_7\":\"Grid_gridEnd_lg_7__Etuy5\",\"span_lg_8\":\"Grid_span_lg_8__jKsyF\",\"lg_8\":\"Grid_lg_8__PbFoU\",\"gridStart_lg_8\":\"Grid_gridStart_lg_8__zblEt\",\"gridEnd_lg_8\":\"Grid_gridEnd_lg_8__pWj5_\",\"span_lg_9\":\"Grid_span_lg_9__2o7Ro\",\"lg_9\":\"Grid_lg_9__NfJKI\",\"gridStart_lg_9\":\"Grid_gridStart_lg_9__NldiH\",\"gridEnd_lg_9\":\"Grid_gridEnd_lg_9__TlOfq\",\"span_lg_10\":\"Grid_span_lg_10__HSJK4\",\"lg_10\":\"Grid_lg_10__M0CZa\",\"gridStart_lg_10\":\"Grid_gridStart_lg_10__dmrD8\",\"gridEnd_lg_10\":\"Grid_gridEnd_lg_10__Fse2i\",\"span_lg_11\":\"Grid_span_lg_11__AaVqu\",\"lg_11\":\"Grid_lg_11__pjUfQ\",\"gridStart_lg_11\":\"Grid_gridStart_lg_11__lqCk_\",\"gridEnd_lg_11\":\"Grid_gridEnd_lg_11__qDEle\",\"span_lg_12\":\"Grid_span_lg_12__nzKQc\",\"lg_12\":\"Grid_lg_12__bf4D5\",\"gridStart_lg_12\":\"Grid_gridStart_lg_12__18LeM\",\"gridEnd_lg_12\":\"Grid_gridEnd_lg_12__uR0tk\",\"span_lg_13\":\"Grid_span_lg_13__mEOTW\",\"lg_13\":\"Grid_lg_13__hrnfh\",\"gridStart_lg_13\":\"Grid_gridStart_lg_13__lVkER\",\"gridEnd_lg_13\":\"Grid_gridEnd_lg_13__CA4fc\",\"span_lg_14\":\"Grid_span_lg_14__gplEy\",\"lg_14\":\"Grid_lg_14__Y9Bs_\",\"gridStart_lg_14\":\"Grid_gridStart_lg_14__fjrZj\",\"gridEnd_lg_14\":\"Grid_gridEnd_lg_14__wj28L\",\"span_xl_1\":\"Grid_span_xl_1__umjK3\",\"xl_1\":\"Grid_xl_1__PEgf0\",\"gridStart_xl_1\":\"Grid_gridStart_xl_1__JfDVf\",\"gridEnd_xl_1\":\"Grid_gridEnd_xl_1__6_Zmz\",\"span_xl_2\":\"Grid_span_xl_2__Pz_UW\",\"xl_2\":\"Grid_xl_2__1LBrh\",\"gridStart_xl_2\":\"Grid_gridStart_xl_2__GrfeB\",\"gridEnd_xl_2\":\"Grid_gridEnd_xl_2__rjKLq\",\"span_xl_3\":\"Grid_span_xl_3__BZKZ1\",\"xl_3\":\"Grid_xl_3__3_KIJ\",\"gridStart_xl_3\":\"Grid_gridStart_xl_3__vxRsD\",\"gridEnd_xl_3\":\"Grid_gridEnd_xl_3__VUWtb\",\"span_xl_4\":\"Grid_span_xl_4__HGVZu\",\"xl_4\":\"Grid_xl_4__UfJ_k\",\"gridStart_xl_4\":\"Grid_gridStart_xl_4__fa39q\",\"gridEnd_xl_4\":\"Grid_gridEnd_xl_4__oShfU\",\"span_xl_5\":\"Grid_span_xl_5___MAH6\",\"xl_5\":\"Grid_xl_5__iClB_\",\"gridStart_xl_5\":\"Grid_gridStart_xl_5__fQDPY\",\"gridEnd_xl_5\":\"Grid_gridEnd_xl_5__4QSAz\",\"span_xl_6\":\"Grid_span_xl_6__RNgKN\",\"xl_6\":\"Grid_xl_6__WYAH_\",\"gridStart_xl_6\":\"Grid_gridStart_xl_6__RRtx9\",\"gridEnd_xl_6\":\"Grid_gridEnd_xl_6__TJTQL\",\"span_xl_7\":\"Grid_span_xl_7___EdC1\",\"xl_7\":\"Grid_xl_7__FoqWw\",\"gridStart_xl_7\":\"Grid_gridStart_xl_7___ga8O\",\"gridEnd_xl_7\":\"Grid_gridEnd_xl_7__E1Gjz\",\"span_xl_8\":\"Grid_span_xl_8__WHuLv\",\"xl_8\":\"Grid_xl_8__6eSpp\",\"gridStart_xl_8\":\"Grid_gridStart_xl_8__EG8Tm\",\"gridEnd_xl_8\":\"Grid_gridEnd_xl_8__OYQpu\",\"span_xl_9\":\"Grid_span_xl_9__wxdhx\",\"xl_9\":\"Grid_xl_9__4_OEf\",\"gridStart_xl_9\":\"Grid_gridStart_xl_9__OngUU\",\"gridEnd_xl_9\":\"Grid_gridEnd_xl_9__FwZmu\",\"span_xl_10\":\"Grid_span_xl_10__Ll27z\",\"xl_10\":\"Grid_xl_10__CwjNh\",\"gridStart_xl_10\":\"Grid_gridStart_xl_10__0DD7S\",\"gridEnd_xl_10\":\"Grid_gridEnd_xl_10__OvSE1\",\"span_xl_11\":\"Grid_span_xl_11__rvEGs\",\"xl_11\":\"Grid_xl_11__BoTQ3\",\"gridStart_xl_11\":\"Grid_gridStart_xl_11__V1GGf\",\"gridEnd_xl_11\":\"Grid_gridEnd_xl_11__4oeu2\",\"span_xl_12\":\"Grid_span_xl_12__4EA2C\",\"xl_12\":\"Grid_xl_12__E14CE\",\"gridStart_xl_12\":\"Grid_gridStart_xl_12__ZQped\",\"gridEnd_xl_12\":\"Grid_gridEnd_xl_12__wgXbk\",\"span_xl_13\":\"Grid_span_xl_13__d_FWg\",\"xl_13\":\"Grid_xl_13__bITgI\",\"gridStart_xl_13\":\"Grid_gridStart_xl_13__Y06Vm\",\"gridEnd_xl_13\":\"Grid_gridEnd_xl_13__lm0KB\",\"span_xl_14\":\"Grid_span_xl_14__COh_H\",\"xl_14\":\"Grid_xl_14__d9KiS\",\"gridStart_xl_14\":\"Grid_gridStart_xl_14__PDt_6\",\"gridEnd_xl_14\":\"Grid_gridEnd_xl_14__WC9mX\",\"row\":\"Grid_row__xb4It\",\"wrap\":\"Grid_wrap__ybyZU\",\"container\":\"Grid_container__miTvF\",\"alignLeft\":\"Grid_alignLeft__rNFXc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"WidgetBody_block__xt26w\",\"actions\":\"WidgetBody_actions__zJs82\",\"content\":\"WidgetBody_content__XRn0o\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"Quantity_block__jttel\",\"control\":\"Quantity_control__9sZIn\",\"menu\":\"Quantity_menu__jvn9d\",\"qty\":\"Quantity_qty__Dq5CG\",\"sm\":\"Quantity_sm__X_RyB\",\"menuItem\":\"Quantity_menuItem__KMGlf\",\"menuBtn\":\"Quantity_menuBtn__syjvR\"};","\n\n\nexport const voidPortableText = { \n components: { \n types: { \n image: null \n },\n marks: {\n hr: null\n }\n }\n}\n\n\n\n\nexport const cookieOptions = {\n path: \"/\",\n secure: true, \n maxAge: 60*60*24*365,\n domain: process.env.NODE_ENV === \"development\" ? null : \".gardenroute.store\",\n}\n\n\n\n// Big Commerce Product Requests\nexport const includeOptions = \"include=line_items.physical_items.options\"\n\n\nexport const plpProductExcludedFields = [\n \"meta_keywords\",\n \"meta_description\",\n \"type\",\n \"option_set_id\",\n \"description\",\n \"weight\",\n \"depth\",\n \"product_tax_code\",\n \"width\",\n \"tax_class_id\",\n \"option_set_display\",\n \"inventory_warning_level\",\n \"inventory_tracking\",\n \"layout_file\",\n \"warranty\",\n \"related_products\",\n \"open_graph_type\",\n \"open_graph_title\",\n \"open_graph_description\",\n \"open_graph_use_meta_description\",\n \"open_graph_use_product_name\",\n \"open_graph_use_image\",\n \"order_quantity_minimum\",\n \"order_quantity_maximum\",\n \"inventory_level\",\n \"date_last_imported\",\n \"view_count\",\n \"date_created\",\n \"date_modified\",\n \"categories\",\n \"base_variant_id\",\n \"page_title\",\n \"gift_wrapping_options_list\",\n \"gift_wrapping_options_type\",\n \"availability_description\",\n \"search_keywords\",\n \"is_condition_shown\",\n \"preorder_message\"\n].join(\",\")","\nexport function IconTrash(props){\n return(\n \n \n \n )\n}","import Card from \"@/components/display/Card\";\nimport Style from \"./CartItem.module.scss\";\nimport Image from \"next/image\";\nimport Quantity from \"@/components/product/Quantity\";\nimport Link from \"next/link\";\nimport { IconTrash } from \"@/icons/IconTrash\";\nimport Price from \"@/components/product/Price\";\nimport { useCart } from \"@/components/applications/cart-checkout/_hooks/useCart\";\nimport createProductURL from \"@/lib/utils/createProductURL\";\nimport { useMemo } from \"react\";\n\n\nfunction Item({\n id,\n image_url,\n cart_id,\n product_id,\n url = \"\",\n name,\n quantity,\n extended_list_price,\n options = [],\n index\n}){\n\n const { itemMutation } = useCart()\n\n function removeItem(id){\n itemMutation.mutate({ type: \"remove\", productId: id, cartId: cart_id })\n }\n\n const product_url = useMemo(() => {\n return createProductURL(url.split(\"https://secure.gardenroute.store/\")[1], product_id)\n\n }, [url, product_id])\n\n return(\n \n \n {name}\n \n\n

\n \n

\n {name}\n

\n\n {Array.isArray(options) && options.length > 0 && (\n \n {options.map((option, index) => (\n \n {option.name}: {option.value} {index < options.length - 1 && \", \"}\n \n ))}\n \n )}\n \n\n
\n console.log(qty)}\n />\n\n \n\n \n
\n
\n \n )\n}\n\nexport default Item;","import Card from \"@/components/display/Card\";\nimport Style from \"./CartWidget.module.scss\";\nimport formatPrice from \"@/lib/utils/formatPrice\";\nimport CheckoutBtn from \"../CheckoutBtn\";\n// import Button from \"@/components/forms/Button\";\n\n\nfunction Actions({ cartData }){\n return(\n <>\n {cartData?.base_amount && (\n \n \n \n
\n \n\n {/* */}\n
\n
\n )}\n \n )\n}\n\nexport default Actions;","import Item from \"./Item\";\nimport Actions from \"./Actions\";\nimport WidgetBody from \"@/components/display/WidgetBody\";\nimport Style from \"./CartWidget.module.scss\";\nimport { GlobalContext } from \"@/contexts/GlobalContext\";\nimport { useContext } from \"react\";\nimport Card from \"@/components/display/Card\";\n\nfunction CartWidget(){\n const [ global, _ ] = useContext(GlobalContext)\n\n return(\n } noCard className={Style.content}>\n {global?.cart?.line_items && global.cart?.line_items?.physical_items.length ? (\n <>\n {global.cart?.line_items?.physical_items.map((item, index) => {\n const { id, url, product_id, image_url, name, quantity, extended_list_price, options } = item;\n\n return(\n \n )\n })}\n \n ):(\n \n

Your cart is empty

\n
\n )} \n
\n )\n}\n\nexport default CartWidget;","import { useContext } from \"react\";\nimport { GlobalContext } from \"@/contexts/GlobalContext\";\nimport CartWidget from \"@/components/applications/cart-checkout/CartWidget\";\n\nexport default function useCartWidget(){\n const [ _, dispatch ] = useContext(GlobalContext);\n \n function open(){\n dispatch({\n type: \"setWidget\",\n data:{\n isOpen: true,\n component: ,\n heading: `Your Shopping Cart`\n }\n })\n }\n\n\n return{\n open\n }\n\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"CartWidget_block__z1Egx\",\"actions\":\"CartWidget_actions__maKr4\",\"buttonRow\":\"CartWidget_buttonRow__GU89N\",\"content\":\"CartWidget_content__gKJKO\",\"items\":\"CartWidget_items__csb_M\",\"subtotal\":\"CartWidget_subtotal__HLwMN\",\"totalItem\":\"CartWidget_totalItem__tzebO\",\"empty\":\"CartWidget_empty__pibHJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"CartItem_block__AXDaB\",\"imageLink\":\"CartItem_imageLink__DKpxa\",\"image\":\"CartItem_image__GI59C\",\"title\":\"CartItem_title__zAwwc\",\"details\":\"CartItem_details__M3frR\",\"detailLink\":\"CartItem_detailLink___Uh23\",\"priceRow\":\"CartItem_priceRow__A7YG_\",\"options\":\"CartItem_options__hSXMK\",\"removeBtn\":\"CartItem_removeBtn__8vaeM\"};","\"use client\"\n\nimport Grid from 'components/layout/Grid';\nimport GridColumn from 'components/layout/GridColumn';\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport utils from 'styles/globals/utils.module.scss';\n\n\nclass ErrorBoundary extends React.Component{\n constructor(props){\n super(props)\n\n this.state = {\n hasError: false\n }\n }\n\n static getDerivedStateFromError(error){ \n return { hasError: true };\n }\n\n\n componentDidCatch(error, errorInfo){\n console.log(error)\n console.log(errorInfo)\n }\n\n\n render(){\n if( this.state.hasError ){\n return(\n \n \n \n Sorry. Something went wrong.\n \n\n Our team has been notified and will address it immediately.\n\n {this.state.error && (\n {this.state.error} - {this.state.errorInfo}\n )}\n \n \n )\n }\n\n return this.props.children;\n }\n}\n\n\nexport default ErrorBoundary;","import React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport style from './Grid.module.scss';\n\nconst Grid = React.forwardRef(({ \n xl, lg, md, sm, xs, \n role, \n className, \n children, \n gap = 0, \n alignLeft,\n id,\n element = null,\n ...other \n}, ref ) => {\n\n const grid_xl = xl === void 0 ? false : style[`span_xl_${xl}`],\n grid_lg = lg === void 0 ? false : style[`span_lg_${lg}`],\n grid_md = md === void 0 ? false : style[`span_md_${md}`],\n grid_sm = sm === void 0 ? false : style[`span_sm_${sm}`],\n grid_xs = xs === void 0 ? false : style[`span_xs_${xs}`],\n gridGap = gap === void 0 ? false : gap;\n\n const GridStyle = {\n columnGap: gap,\n gridGap\n }\n\n const Element = element === null ? \"div\" : element;\n\n return(\n \n {children}\n \n )\n})\n\n\nGrid.displayName = 'Grid';\n\n\nGrid.propTypes = {\n xl: PropTypes.number,\n lg: PropTypes.number,\n md: PropTypes.number,\n sm: PropTypes.number,\n xs: PropTypes.number,\n gap: PropTypes.number,\n role: PropTypes.string,\n children: PropTypes.any,\n alignLeft: PropTypes.bool\n};\n\n\n\n\nexport default Grid;","/**\n * Get Cart \n * @returns Product Items Array\n * We pluck out the product ids in the cart data and then make our \n * request to get detailed product data for each item\n */\n\nimport axios from \"axios\";\nimport { LocalStorage } from \"services/LocalStorage.service\";\n\nexport default async function GetCart(){\n const cart = LocalStorage.getStorage(\"GRS_cart\");\n\n if( cart?.id ){\n return await axios.get(`/api/bigcommerce/cart/${cart.id}`)\n .then((response) => response?.data?.data ?? [])\n .catch(err => err) \n \n }else{\n return []\n }\n}\n","/**\n * Create a Cart and add a given product to cart \n * @param {Object} body \n * @returns New Cart with Item\n */\n\nimport axios from \"axios\"\n\nexport default async function CreateCartAddItem(body){\n return await axios.post(`/api/bigcommerce/cart`, body, { timeout: 10000 })\n .then(data => data.data)\n .catch(err => err)\n}\n","/**\n * Delete an individual cart item\n * @param {Number} itemId \n * @param {string} cartId\n * @returns Cart Response\n */\n\nimport axios from \"axios\"\n\nexport default async function DeleteCartItem (itemId, cartId){\n return await axios.delete(`/api/bigcommerce/cart/${cartId}?itemId=${itemId}`)\n .then(data => data.data)\n .catch(err => err)\n\n // TO DO: then run a get cart to update the UI cart item indicators\n}\n","import CreateCartAddItem from \"./CreateCartAddItem\"\nimport DeleteCartItem from \"./DeleteCartItem\"\n\n/**\n * Updates the last (or if 1 item) item in the cart\n * we have to first delete the item, then create a new cart with that \n * updated item\n * @param {object} body \n * @param {number} itemId \n * @param {string} cartId \n * @returns \n */\n\nexport default async function UpdateLastCartItem (body, itemId, cartId){\n return await DeleteCartItem(itemId, cartId).then(async (res) => {\n return await CreateCartAddItem(body)\n .then(data => data.data)\n .catch(err => err)\n })\n .catch(err => err)\n}\n","/**\n * Update a given product in cart \n * as of Aug 2021, via BC API running a PUT for this same operation doesn't work for products\n * that have product options \n * \n * @param {Object} body \n * @param {string} cartId\n * @param {Number} itemId \n * @returns Updated Cart\n */\n\nimport axios from \"axios\"\n\n\nexport default async function UpdateCartItem(body, itemId, cartId){\n return await axios.delete(`/api/bigcommerce/cart/${cartId}?itemId=${itemId}`)\n .then(async (data) => {\n return await axios.post(`/api/bigcommerce/cart/${cartId}`, body, { timeout: 10000 })\n .then(data => data.data)\n .catch(err => err)\n })\n .catch(err => err)\n}\n","/**\n * Update a given product qty in cart\n * @param {Number} itemId \n * @param {string} cartId\n * @param {Object} body \n * @returns Updated Cart\n */\n\nimport axios from \"axios\";\n\nexport default async function UpdateCartItemQty (itemId, body, cartId){\n return await axios.put(`/api/bigcommerce/cart/${cartId}?itemId=${itemId}`, body, { timeout: 10000 })\n .then(data => data.data)\n .catch(err => err)\n}\n","/**\n * Add new promo coupon to cart\n * @param {Object} body \n * @param {string} cartId\n * @returns Updated Cart\n */\n\nimport axios from \"axios\"\n\nexport default async function AddCoupon (body, cartId){\n return await axios.post(`/api/bigcommerce/checkout/coupons/${cartId}`, body, { timeout: 10000 })\n .then(response => {\n return{\n data: response.data.data.cart\n }\n })\n .catch(err => err)\n}\n\n","/**\n * Remove promo code from cart\n * @param {String} couponCode \n * @param {string} cartId\n * @returns UpdateCart\n */\n\nimport axios from \"axios\"\n\nexport default async function DeleteCoupon(couponCode, cartId){\n return await axios.delete(`/api/bigcommerce/checkout/coupons/${cartId}?couponCode=${couponCode}`)\n .then(response => {\n return{\n data: response.data.data.cart\n }\n })\n .catch(err => err)\n}\n\n// https://api.bigcommerce.com/stores/{$$.env.store_hash}/v3/catalog/products?include_fields=categories,brand_id,sku,name,custom_url&categories:in=2480\n","/**\n * updates the logged in customer for the cart\n * @param {Object} body \n * @param {string} cartId\n * @returns Updated Cart\n */\n\nimport axios from \"axios\"\n\nexport default async function UpdateCustomer(cartId, body){\n return await axios.put(`/api/bigcommerce/cart/customer/${cartId}/`, body, { timeout: 10000 })\n .then(data => data.data)\n .catch(err => err)\n}\n\n","/**\n * Get Cart By Id\n * @returns Product Items Array\n * We pluck out the product ids in the cart data and then make our \n * request to get detailed product data for each item\n */\n\nimport axios from \"axios\";\n\nexport default async function GetCartById(id){\n return axios.get(`/api/bigcommerce/cart/${id}`)\n .then( async (response) => response.data.data)\n .catch(err => err) \n}\n","/**\n * Add a given product in cart \n * @param {Object} body \n * @param {string} cartId\n * @returns Updated Cart\n */\n\nimport axios from \"axios\";\n\nexport default async function AddCartItem(body, cartId = \"\", buyNow){\n return axios.post(`/api/bigcommerce/cart/${cartId}` + (buyNow ? \"?buyNow=true\" : \"\"), body, { timeout: 10000 })\n .then(data => data.data)\n .catch(err => err)\n}\n","\"use client\"\n\nimport { LocalStorage } from '@/services/LocalStorage.service';\nimport AddCartItem from '@/services/bigcommerce/cart/AddCartItem';\nimport CreateCartAddItem from '@/services/bigcommerce/cart/CreateCartAddItem';\n\n\n// Global Add To Cart\nexport function AddToCart(body, buyNow = false){\n const cart = LocalStorage.getStorage(\"GRS_cart\");\n\n return cart ? AddCartItem(body, cart?.id, buyNow).then(data => data) : CreateCartAddItem(body, buyNow).catch(err => err);\n}\n\n","\"use client\"\n\nimport GetCart from '@/services/bigcommerce/cart/GetCart';\nimport UpdateLastCartItem from '@/services/bigcommerce/cart/UpdateLastCartItem';\nimport UpdateCartItem from '@/services/bigcommerce/cart/UpdateCartItem';\nimport UpdateCartItemQty from '@/services/bigcommerce/cart/UpdateCartItemQty';\nimport AddCoupon from '@/services/bigcommerce/cart/AddCoupon';\nimport DeleteCoupon from '@/services/bigcommerce/cart/DeleteCoupon';\nimport UpdateCustomer from '@/services/bigcommerce/cart/UpdateCustomer';\nimport DeleteCartItem from '@/services/bigcommerce/cart/DeleteCartItem';\nimport GetCartById from '@/services/bigcommerce/cart/GetCartById';\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';\nimport { AddToCart } from '@/components/applications/cart-checkout/_contexts/CartWidgetContext';\nimport { useContext } from 'react';\nimport { GlobalContext } from '@/contexts/GlobalContext';\nimport { LocalStorage } from '@/services/LocalStorage.service';\n\n/**\n * Global Add to Cart Hook\n * @returns mutation method, cart, and cart event state\n */\n\nexport function useCart(){\n const [ global, dispatch ] = useContext(GlobalContext)\n const queryClient = useQueryClient()\n\n const itemMutation = useMutation({\n mutationFn: ({ type, id, productBody, cartId, productId, code, customerId, buyNow }) => {\n switch(type){\n case \"getCartById\":\n return GetCartById(id);\n \n case \"add\": \n return AddToCart(productBody, buyNow); \n \n case \"remove\": \n return DeleteCartItem(productId, cartId);\n \n case \"updateQty\":\n return UpdateCartItemQty(id, productBody, cartId);\n \n case \"addCoupon\":\n return AddCoupon({ coupon_code: code }, cartId);\n \n case \"removeCoupon\":\n return DeleteCoupon(code, cartId);\n \n case \"updateItem\":\n return UpdateCartItem(productBody, id, cartId);\n \n case \"updateLastItem\":\n return UpdateLastCartItem(productBody, id, cartId);\n \n case \"updateCustomer\":\n return UpdateCustomer(cartId, { customer_id: parseInt(customerId) })\n \n default: return null;\n }\n },\n mutationKey: \"cart\",\n onSuccess: ( response, variables ) => {\n /* \n preventing full cart mutation because BigCommerce \n doesn't bring back options for the coupon response\n \n Also, we need to merge the cart back in to the object for these \n methods as BC changes the shape of the cart response \n */\n\n let responseData = null;\n\n switch(variables.type){\n case \"addCoupon\":\n case \"removeCoupon\":\n responseData = variables?.prevCart && {\n ...variables?.prevCart,\n ...response?.data,\n line_items: {\n ...variables?.prevCart?.line_items,\n }\n };\n\n break;\n\n default: responseData = response?.data;\n }\n\n\n if( responseData || (response?.id && response?.line_items?.physical_items.length) ){\n const cartResponse = responseData ?? response;\n\n LocalStorage.setStorage({ key: \"GRS_cart\", data: cartResponse, type: \"local\" })\n\n dispatch({\n type: \"setCart\",\n data: cartResponse\n })\n\n }else{\n LocalStorage.remove(\"GRS_cart\")\n\n dispatch({\n type: \"setCart\",\n data: null\n })\n\n window.location.reload()\n }\n \n }\n }\n )\n\n\n const { data: cartData, isLoading, isError, isSuccess } = useQuery({\n queryKey: [\"cart\"],\n queryFn: () => GetCart(),\n })\n\n\n return{\n itemMutation,\n cartData,\n isLoading,\n isError,\n isSuccess\n }\n}","\n\n\n/**\n * Normalizes the creation of the category page URLs\n * @param {string} url_path - fully qualified URL path (i.e. /seasonal/ )\n * @param {string} id \n * @returns \n */\n\nexport default function createCategoryURL({ url_path, id }){\n return \"/b\" + `${url_path}-/${id}`\n} ","import { LocalStorage } from \"@/services/LocalStorage.service\";\nimport { useEffect, useState } from \"react\";\nimport { setCookie, parseCookies } from \"nookies\";\nimport { cookieOptions } from \"@/lib/constants\";\n\n\n\nexport default function useLocateMe(){\n const [ location, setLocation ] = useState(null)\n\n\n async function geoLocate(pos){\n const { latitude, longitude } = pos.coords\n\n return await fetch(`https://api.mapbox.com/geocoding/v5/mapbox.places/${longitude},${latitude}.json?access_token=${process.env.NEXT_PUBLIC_mapboxToken}&types=postcode`)\n .then(res => res.json())\n .then(response => {\n LocalStorage.setStorage({\n key: \"GRS_userLocation\",\n data: response?.features?.[0],\n type: \"local\"\n })\n \n // TODO: normalize the data object with what is being set in ip address service\n setCookie(null, \"GRS_userLocation\", JSON.stringify(response.features[0]), cookieOptions)\n \n setLocation(response.features[0])\n })\n .catch(err => console.log(err))\n \n }\n\n\n function error(err){\n console.warn(`ERROR(${err.code}): ${err.message}`);\n }\n\n\n\n function useCurrentLocation(callback = () => null){\n const options = {\n enableHighAccuracy: true,\n timeout: 5000,\n maximumAge: 0,\n };\n\n navigator.geolocation.getCurrentPosition((pos) => {\n geoLocate(pos)\n callback()\n\n }, error, options)\n }\n\n\n\n function usePostalCode(code){\n console.log(code)\n }\n\n\n\n useEffect(() => {\n const location = LocalStorage.getStorage(\"GRS_userLocation\")\n const localCookie = parseCookies()\n \n if( location || localCookie?.GRS_userLocation ){\n setLocation(location ?? localCookie?.GRS_userLocation)\n\n }else{\n useCurrentLocation()\n }\n\n }, [])\n\n\n\n\n return{\n data: {\n ...location\n },\n useCurrentLocation,\n usePostalCode\n }\n \n}","\nexport function IconChevronDown(props){\n return(\n \n \n \n )\n}","/**\n * Creates an array with custom length from a given number range\n * @param {number} start \n * @param {number} end \n * @returns array\n */\n\nexport default function range(start, end){\n const length = end - start + 1;\n \n return Array.from({ length }, (_, i) => start + i);\n}\n","\"use client\"\n\nimport clsx from \"clsx\";\nimport Style from \"./Quantity.module.scss\"\nimport { useEffect, useMemo, useState } from \"react\";\nimport { IconChevronDown } from \"@/icons/IconChevronDown\";\nimport range from \"@/lib/utils/range\";\n\n\nfunction Quantity({ \n size = \"lg\", \n limit = 10, \n qty = 1,\n onChange = () => null\n}){\n const [ qtyValue, setQtyValue ] = useState(qty)\n const qtyRange = useMemo(() => range(1, limit), [ limit ])\n\n useEffect(() => {\n onChange(qtyValue)\n\n }, [qtyValue])\n\n\n return(\n
\n \n\n \n {qtyRange.map((item, index) => (\n
  • \n setQtyValue(item)}\n >\n {item}\n \n
  • \n ))}\n
    \n
    \n )\n}\n\nexport default Quantity;"],"names":["IconLocation","props","svg","viewBox","xmlSpace","aria-label","path","d","initialState","user","isLoggedIn","email","customer_group_id","widget","isOpen","component","cart","thirdParty","GlobalReducer","state","action","type","data","GlobalContext","createContext","children","dispatch","useReducer","useEffect","LocalStorage","getStorage","Provider","value","WidgetBody","actions","noCard","className","Element","Card","div","Style","clsx","IconLock","CheckoutBtn","id","checkoutURL","setCheckoutURL","useState","axios","post","then","response","checkout_url","catch","err","console","log","Button","isDisabled","size","color","onClick","window","location","href","width","height","setStorage","key","localStorage","setItem","JSON","stringify","sessionStorage","stored","getItem","parse","addToStorage","maxItems","storedItem","Array","isArray","some","item","filter","push","length","shift","arr","remove","removeItem","getStoredCart","LocalizeWidget","postalCode","setPostalCode","useLocateMe","feedback","useButtonFeedback","_","useContext","updatePostal","usePostalCode","p","Input","name","placeholder","onChange","e","target","autoFocus","button","updateCurrentLocation","setLoading","useCurrentLocation","ButtonFeedback","voidPortableText","components","types","image","marks","hr","secure","maxAge","domain","process","IconTrash","Item","image_url","cart_id","product_id","url","quantity","extended_list_price","options","index","itemMutation","useCart","product_url","useMemo","createProductURL","split","Link","Image","src","alt","small","map","option","span","valueId","Quantity","qty","Price","mutate","productId","cartId","cartData","Actions","base_amount","ul","li","strong","formatPrice","CartWidget","global","line_items","physical_items","h3","useCartWidget","open","heading","ErrorBoundary","React","getDerivedStateFromError","error","hasError","componentDidCatch","errorInfo","render","Grid","GridColumn","start","end","utils","constructor","ref","xl","lg","md","sm","xs","role","gap","alignLeft","element","other","grid_xl","style","grid_lg","grid_md","grid_sm","grid_xs","gridGap","GridStyle","displayName","propTypes","PropTypes","GetCart","get","CreateCartAddItem","body","timeout","DeleteCartItem","itemId","delete","UpdateLastCartItem","res","UpdateCartItem","UpdateCartItemQty","put","AddCoupon","DeleteCoupon","couponCode","UpdateCustomer","GetCartById","AddCartItem","buyNow","useQueryClient","useMutation","mutationFn","productBody","code","customerId","AddToCart","coupon_code","customer_id","parseInt","mutationKey","onSuccess","variables","responseData","prevCart","cartResponse","reload","isLoading","isError","isSuccess","useQuery","queryKey","queryFn","createCategoryURL","url_path","setLocation","geoLocate","pos","latitude","longitude","coords","fetch","json","features","setCookie","cookieOptions","warn","message","callback","navigator","geolocation","getCurrentPosition","enableHighAccuracy","maximumAge","localCookie","parseCookies","GRS_userLocation","IconChevronDown","limit","qtyValue","setQtyValue","qtyRange","range","from","i","menu"],"sourceRoot":""}