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+S,GAAAA,GAAmB/3B,EAAa,QAChC+3B,GAAAA,GAAoB/3B,EAAc,SAClC+3B,GAAAA,KACA,MACF,IAAK,sBACH,GAAiC,aAA7BpvB,OAAOoe,YAAY/B,OAAuB,OAC9C+S,GAAAA,GAAiC/3B,EAAW,MAC5C+3B,GAAAA,GAAmB/3B,EAAa,QAKtC,IAIR,CAEsBg4B,CAAiB1J,I","sources":["webpack://checkout/./app/javascript/checkout/actions/checkoutStore.js","webpack://checkout/./app/javascript/checkout/components/Alert.js","webpack://checkout/./app/javascript/checkout/components/Footer.js","webpack://checkout/./app/javascript/checkout/components/GiftCards.js","webpack://checkout/./app/javascript/checkout/components/HeaderStep.js","webpack://checkout/./app/javascript/checkout/components/Header.js","webpack://checkout/./app/javascript/checkout/components/LoadingIcon.js","webpack://checkout/./app/javascript/checkout/components/NavigationFooter.js","webpack://checkout/./app/javascript/checkout/components/OrderSummary.js","webpack://checkout/./app/javascript/checkout/components/Shipping.js","webpack://checkout/./app/javascript/checkout/components/MapLocationDrag.js","webpack://checkout/./app/javascript/checkout/components/ShippingContent.js","webpack://checkout/./app/javascript/checkout/components/ShowOrderSummary.js","webpack://checkout/./app/javascript/checkout/components/SummaryForm.js","webpack://checkout/./app/javascript/checkout/redux/ui.js","webpack://checkout/./app/javascript/checkout/templates/stepsTemplate.js","webpack://checkout/./app/javascript/checkout/utils/CheckStep.js","webpack://checkout/./app/javascript/checkout/utils/MapUtils.js","webpack://checkout/./app/javascript/checkout/validations/BillingValidation.js","webpack://checkout/./app/javascript/checkout/validations/InformationValidation.js","webpack://checkout/./app/javascript/checkout/validations/ValidateForm.js","webpack://checkout/./app/javascript/checkout/validations/addCustomFieldsValidation.js","webpack://checkout/./app/javascript/checkout/redux/api.js","webpack://checkout/./app/javascript/checkout/middlewares/checkoutStore.js","webpack://checkout/./app/javascript/checkout/middlewares/notifyAnalytics.js","webpack://checkout/./app/javascript/checkout/analytics/GoogleEventManager.js","webpack://checkout/./app/javascript/checkout/analytics/TikTokEventManager.js","webpack://checkout/./app/javascript/checkout/analytics/FacebookEventManager.js","webpack://checkout/./app/javascript/checkout/reducers/checkoutStore.js","webpack://checkout/./app/javascript/checkout/redux/store.js","webpack://checkout/./app/javascript/checkout/components/App.js","webpack://checkout/./app/javascript/checkout/components/Root.js","webpack://checkout/./app/javascript/checkout/utils/setup_ajax_csrf.js","webpack://checkout/./app/javascript/checkout/i18n.js","webpack://checkout/./app/javascript/checkout/index.js","webpack://checkout/./app/javascript/action-cable/consumer.js","webpack://checkout/./app/javascript/action-cable/order_channel.js"],"sourcesContent":["export const CHECKOUT = \"[CHECKOUT]\";\n\nexport const LOADED_PAGE = `${CHECKOUT} LOADED_PAGE`;\n\nexport const FETCH_DATA_INFORMATION = `${CHECKOUT} FETCH_DATA_INFORMATION`;\nexport const FETCH_DATA_SHIPPING = `${CHECKOUT} FETCH_DATA_SHIPPING`;\nexport const FETCH_DATA_BILLING = `${CHECKOUT} FETCH_DATA_BILLING`;\nexport const FETCH_DATA_PAYMENT = `${CHECKOUT} FETCH_DATA_PAYMENT`;\nexport const FETCH_DATA_SUCCESS = `${CHECKOUT} FETCH_DATA_SUCCESS`;\nexport const FETCH_SHIPPING_TYPE_RATES = `${CHECKOUT} FETCH SHIPPING TYPE RATES`;\nexport const FETCH_UPDATED_SHIPPING_TYPE_RATES = `${CHECKOUT} FETCH UPDATED SHIPPING TYPE RATES`;\n\nexport const SAVE_INFORMATION = `${CHECKOUT} SAVE_INFORMATION`;\nexport const SAVE_SHIPPING = `${CHECKOUT} SAVE_SHIPPING`;\nexport const SAVE_BILLING = `${CHECKOUT} SAVE_BILLING`;\nexport const SAVE_PAYMENT = `${CHECKOUT} SAVE_PAYMENT`;\nexport const SAVE_EMAIL = `${CHECKOUT} SAVE_EMAIL`;\n\nexport const PLACE_ORDER = `${CHECKOUT} PLACE_ORDER`;\n\nexport const SET_DATA = `${CHECKOUT} SET_DATA`;\n\nexport const UPDATE_INFORMATION = `${CHECKOUT} UPDATE_INFORMATION`;\nexport const UPDATE_SHIPPING = `${CHECKOUT} UPDATE_SHIPPING`;\nexport const UPDATE_SHIPPING_OPTION = `${CHECKOUT} UPDATE_SHIPPING_OPTION`;\nexport const UPDATE_BILLING = `${CHECKOUT} UPDATE_BILLING`;\nexport const UPDATE_PAYMENT = `${CHECKOUT} UPDATE_PAYMENT`;\nexport const UPDATE_SUMMARY = `${CHECKOUT} UPDATE_SUMMARY`;\nexport const UPDATE_COUNTRY = `${CHECKOUT} UPDATE_COUNTRY`;\nexport const UPDATE_REGION = `${CHECKOUT} UPDATE_REGION`;\nexport const UPDATE_LOCATIONS = `${CHECKOUT} UPDATE_LOCATIONS`;\nexport const UPDATE_LOCATIONS_BILLING = `${CHECKOUT} UPDATE_LOCATIONS_BILLING`;\nexport const UPDATE_PAYMENT_METHOD = `${CHECKOUT} UPDATE_PAYMENT_METHOD`;\nexport const CALL_ADDRESS_AUTOFILL = `${CHECKOUT} CALL_ADDRESS_AUTOFILL`;\nexport const SET_ADDRESS_AUTOFILL = `${CHECKOUT} SET_ADDRESS_AUTOFILL`;\n\nexport const UPDATE_COUNTRY_BILLING = `${CHECKOUT} UPDATE_COUNTRY_BILLING`;\nexport const UPDATE_REGION_BILLING = `${CHECKOUT} UPDATE_REGION_BILLING`;\n\nexport const SET_FIELD_INFORMATION = `${CHECKOUT} SET_FIELD_INFORMATION`;\nexport const SAVE_SHIPPING_OPTION = `${CHECKOUT} SAVE_SHIPPING_OPTION`;\nexport const SET_CUSTOM_FIELD_INFORMATION = `${CHECKOUT} SET_CUSTOM_FIELD_INFORMATION`;\nexport const SET_FIELD_SHIPPING = `${CHECKOUT} SET_FIELD_SHIPPING`;\nexport const SET_FIELD_BILLING = `${CHECKOUT} SET_FIELD_BILLING`;\nexport const GET_PICKUP_PRICE = `${CHECKOUT} GET_PICKUP_PRICE`;\nexport const SET_FIELD_PAYMENT = `${CHECKOUT} SET_FIELD_PAYMENT`;\nexport const SET_FIELDS_LOCATIONS = `${CHECKOUT} SET_FIELDS_LOCATIONS`;\nexport const SET_FIELDS_LOCATIONS_BILLING = `${CHECKOUT} SET_FIELDS_LOCATIONS_BILLING`;\nexport const SET_FIELD_SUCCESS = `${CHECKOUT} SET_FIELD_SUCCESS`;\nexport const ADD_SHIPPING_RATES = `${CHECKOUT} ADD_SHIPPING_RATES`;\nexport const UPDATE_SHIPPING_RATES = `${CHECKOUT} UPDATE_SHIPPING_RATES`;\nexport const INCREASE_SHIPPING_RATES_COUNT = `${CHECKOUT} INCREASE_SHIPPING_RATES_COUNT`;\nexport const MAKE_PAYPALPLUS_PAYMENT = `${CHECKOUT} MAKE_PAYPALPLUS_PAYMENT`;\n\nexport const ADD_PROMOTION_COUPON = `${CHECKOUT} ADD_PROMOTION_COUPON`;\nexport const REMOVE_PROMOTION_COUPON = `${CHECKOUT} REMOVE_PROMOTION_COUPON`;\n\nexport const LOGIN = `${CHECKOUT} LOGIN`;\nexport const LOGOUT = `${CHECKOUT} LOGOUT`;\nexport const CREATE_ACCOUNT = `${CHECKOUT} CREATE_ACCOUNT`;\n\nexport const REVERSE_GEOCODE_LOCATION = `${CHECKOUT} REVERSE_GEOCODE_LOCATION`;\nexport const SHOW_ERROR = `${CHECKOUT} SHOW_ERROR`;\n\nexport const REMOVE_GIFT_CARD_CODE = `${CHECKOUT} REMOVE_GIFT_CARD_CODE`;\n\nexport const SET_FIELD_COLORS = `${CHECKOUT} SET_FIELD_COLORS`;\n\nexport const showError = (error) => ({\n type: SHOW_ERROR,\n payload: {\n error: error,\n },\n});\n\nexport const loadedPage = (page) => ({\n type: LOADED_PAGE,\n payload: {\n page: page,\n },\n});\n\nexport const addShippingRates = (rates) => ({\n type: ADD_SHIPPING_RATES,\n payload: {\n rates: rates,\n },\n});\n\nexport const updateShippingRates = (rates) => ({\n type: UPDATE_SHIPPING_RATES,\n payload: {\n rates: rates,\n },\n});\n\nexport const increaseShippingRatesCount = () => ({\n type: INCREASE_SHIPPING_RATES_COUNT,\n payload: {},\n});\n\nexport const fetchDataInformation = (previewMode = false) => ({\n type: FETCH_DATA_INFORMATION,\n payload: {\n previewMode: previewMode,\n },\n});\n\nexport const fetchDataShipping = () => ({\n type: FETCH_DATA_SHIPPING,\n payload: {},\n});\n\nexport const fetchDataBilling = () => ({\n type: FETCH_DATA_BILLING,\n payload: {},\n});\n\nexport const fetchDataPayment = () => ({\n type: FETCH_DATA_PAYMENT,\n});\n\nexport const fetchDataSuccess = () => ({\n type: FETCH_DATA_SUCCESS,\n});\n\nexport const fetchShippingTypeRates = (type, address) => ({\n type: FETCH_SHIPPING_TYPE_RATES,\n payload: {\n type: type,\n address: address,\n },\n});\n\nexport const fetchUpdatedShippingTypeRates = (type) => ({\n type: FETCH_UPDATED_SHIPPING_TYPE_RATES,\n payload: {\n type: type,\n },\n});\n\nexport const saveInformation = (url, body, previewMode, navigate) => ({\n type: SAVE_INFORMATION,\n payload: {\n body: body,\n url: url,\n previewMode,\n navigate,\n },\n});\n\nexport const saveShipping = (url, body, navigate) => ({\n type: SAVE_SHIPPING,\n payload: {\n body: body,\n url: url,\n navigate,\n },\n});\n\nexport const saveEmail = (url, body) => ({\n type: SAVE_EMAIL,\n payload: {\n body: body,\n url: url,\n },\n});\n\n// TODO: Use this instead of the hardcoded action.\nexport const saveBilling = (url, body) => ({\n type: SAVE_BILLING,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const savePayment = (url, body) => ({\n type: SAVE_PAYMENT,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const placeOrder = (url, body) => ({\n type: PLACE_ORDER,\n payload: {\n url: url,\n body: body,\n },\n});\n\nexport const setData = (data) => ({\n type: SET_DATA,\n payload: data,\n});\n\nexport const updateInformation = (data) => ({\n type: UPDATE_INFORMATION,\n payload: data,\n});\n\nexport const updateShipping = (data) => ({\n type: UPDATE_SHIPPING,\n payload: data,\n});\n\nexport const updateShippingOption = (data) => ({\n type: UPDATE_SHIPPING_OPTION,\n payload: data,\n});\n\nexport const updateBilling = (data) => ({\n type: UPDATE_BILLING,\n payload: data,\n});\n\nexport const updatePayment = (data) => ({\n type: UPDATE_PAYMENT,\n payload: data,\n});\n\nexport const updateSummary = (data) => ({\n type: UPDATE_SUMMARY,\n payload: data,\n});\n\nexport const updateLocations = (url, body) => ({\n type: UPDATE_LOCATIONS,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const callAddressAutofill = (url, body) => ({\n type: CALL_ADDRESS_AUTOFILL,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const setAddressAutofill = (data) => ({\n type: SET_ADDRESS_AUTOFILL,\n payload: data,\n});\n\nexport const updatePaymentMethod = (body) => ({\n type: UPDATE_PAYMENT_METHOD,\n payload: body,\n});\n\nexport const updateLocationsBilling = (url, body) => ({\n type: UPDATE_LOCATIONS_BILLING,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const updateCountry = (url, body) => ({\n type: UPDATE_COUNTRY,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const updateRegion = (url, body) => ({\n type: UPDATE_REGION,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const updateCountryBilling = (url, body) => ({\n type: UPDATE_COUNTRY_BILLING,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const updateRegionBilling = (url, body) => ({\n type: UPDATE_REGION_BILLING,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const setFieldInformation = (field, value) => ({\n type: SET_FIELD_INFORMATION,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const saveShippingOption = (url, value) => ({\n type: SAVE_SHIPPING_OPTION,\n payload: {\n url: url,\n body: {\n shipping_option: value,\n },\n },\n});\n\nexport const setCustomFieldInformation = (field, value, area) => ({\n type: SET_CUSTOM_FIELD_INFORMATION,\n payload: {\n field: field,\n value: value,\n area: area,\n },\n});\n\nexport const setFieldShipping = (field, value) => ({\n type: SET_FIELD_SHIPPING,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const getPickupPrice = (\n branch,\n name,\n service,\n country,\n region,\n municipality,\n postal,\n) => ({\n type: GET_PICKUP_PRICE,\n payload: {\n body: {\n branch: branch,\n name: name,\n service: service,\n country: country,\n region: region,\n municipality: municipality,\n postal: postal,\n },\n url: \"v2/checkout/pickup\",\n },\n});\n\nexport const setFieldPayment = (field, value) => ({\n type: SET_FIELD_PAYMENT,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const setFieldColors = (field, value) => ({\n type: SET_FIELD_COLORS,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const setFieldSuccess = (field, value) => ({\n type: SET_FIELD_SUCCESS,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const setFieldsLocations = (data) => ({\n type: SET_FIELDS_LOCATIONS,\n payload: data,\n});\n\nexport const setFieldBilling = (field, value) => ({\n type: SET_FIELD_BILLING,\n payload: {\n field: field,\n value: value,\n },\n});\n\nexport const makePaypalPlusPayment = (url, url_order, body) => ({\n type: MAKE_PAYPALPLUS_PAYMENT,\n payload: {\n body: body,\n url_order: url_order,\n url: url,\n },\n});\n\nexport const setFieldsLocationsBilling = (data) => ({\n type: SET_FIELDS_LOCATIONS_BILLING,\n payload: data,\n});\n\nexport const addPromotionCoupon = (coupon_data, customer_email) => ({\n type: ADD_PROMOTION_COUPON,\n payload: {\n body: {\n codes: coupon_data,\n customer_email,\n },\n url: \"v2/checkout/promotions\",\n },\n});\n\nexport const removePromotionCoupon = (code) => ({\n type: REMOVE_PROMOTION_COUPON,\n payload: {\n id: code,\n },\n});\n\nexport const logout = (url) => ({\n type: LOGOUT,\n payload: {\n url: url,\n },\n});\n\nexport const login = (url) => ({\n type: LOGIN,\n payload: {\n url: url,\n },\n});\n\nexport const reverseGeocodeLocation = (url, body) => ({\n type: REVERSE_GEOCODE_LOCATION,\n payload: {\n body: body,\n url: url,\n },\n});\n\nexport const makeRequest = (options) => ({\n type: options.feature,\n payload: options,\n});\n\nexport const removeGiftCardCode = (id) => ({\n type: REMOVE_GIFT_CARD_CODE,\n payload: {\n id: id,\n },\n});\n","import DOMPurify from \"dompurify\";\n\nconst Alert = (props) => {\n const { title, message, type, closeAlert } = props;\n\n function capitalizeFirstLetter(str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n }\n\n function alertType() {\n switch (type) {\n case \"error\":\n return \"danger\";\n case \"notice\":\n return \"info\";\n case \"success\":\n return \"success\";\n case \"warning\":\n return \"warning\";\n default:\n return type;\n }\n }\n\n return (\n \n \n
\n {closeAlert !== undefined && closeAlert !== null && (\n
\n \n
\n )}\n
\n );\n};\n\nexport default Alert;\n","// Packages\nimport { useSelector } from \"react-redux\";\n\nconst Footer = () => {\n const { legal_pages_urls, colors } = useSelector(\n (state) => state.checkoutStore,\n );\n return (\n \n {legal_pages_urls.refund && (\n \n {legal_pages_urls.refund.title}\n \n )}\n {legal_pages_urls.terms && (\n \n {legal_pages_urls.terms.title}\n \n )}\n {legal_pages_urls.privacy && (\n \n {legal_pages_urls.privacy.title}\n \n )}\n \n );\n};\nexport default Footer;\n","import { useDispatch, useSelector } from \"react-redux\";\nimport { X } from \"@phosphor-icons/react\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { fetchDataPayment, removeGiftCardCode } from \"../actions/checkoutStore\";\n\nexport const GiftCards = ({ allowRemoval }) => {\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const summary = useSelector((state) => state.checkoutStore.summary);\n\n const removeGiftCard = (id) => {\n if (!allowRemoval) return;\n dispatch(removeGiftCardCode(id));\n dispatch(fetchDataPayment());\n };\n\n return (\n summary.gift_cards?.length > 0 &&\n (allowRemoval ? (\n
\n {t(\"summary.gift-cards\")}\n
\n {summary.gift_cards.map((gift_card, index) => (\n \n \n - {gift_card.amount}{\" \"}\n {gift_card.code_last_4_digits &&\n `( •••• ${gift_card.code_last_4_digits})`}\n \n removeGiftCard(gift_card.id)}>\n \n \n
\n ))}\n
\n \n ) : (\n
\n {t(\"summary.gift-cards\")}\n
\n
\n {summary.gift_cards.map((gift_card, index) => (\n
\n - {gift_card.amount}{\" \"}\n {gift_card.code_last_4_digits &&\n `( •••• ${gift_card.code_last_4_digits})`}\n
\n ))}\n
\n
\n
\n ))\n );\n};\n","import { Fragment } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { Check } from \"@phosphor-icons/react\";\n\n// Actions\nimport { closeAlertMessage } from \"../redux/ui\";\n\nconst HeaderStep = (props) => {\n const dispatch = useDispatch();\n const {\n currentIndex,\n url,\n isDisabled,\n currentPage,\n colors,\n text,\n classLabel,\n } = props;\n const currentIndexCorrected = currentIndex + 1;\n\n const getColors = () => {\n let backgroundColor, color, borderColor;\n\n backgroundColor =\n currentPage >= currentIndexCorrected\n ? colors.main_color\n : colors.background_color;\n color =\n currentPage >= currentIndexCorrected\n ? colors.main_buttons_text_color\n : colors.text_color;\n borderColor = colors.main_color;\n\n return { backgroundColor, color, borderColor };\n };\n\n const { backgroundColor, color, borderColor } = getColors();\n\n const HeaderStepBody = (\n
\n currentIndexCorrected ? \"past-page-number\" : \"\"\n }`\n }\n style={{\n backgroundColor,\n color,\n borderColor,\n border:\n currentPage > currentIndexCorrected\n ? 0\n : `1px solid ${borderColor}`,\n }}\n >\n {currentPage > currentIndexCorrected ? (\n \n ) : (\n currentIndexCorrected\n )}\n
\n \n {text}\n \n \n );\n\n const HeaderStepBodyLink = (\n
\n dispatch(closeAlertMessage())}\n style={{ color: colors.main_color }}\n className=\"z-index-2\"\n >\n currentIndexCorrected ? \"past-page-number\" : \"\"}`\n }\n style={{\n backgroundColor,\n color,\n borderColor,\n border: currentPage > currentIndexCorrected ? 0 : \"1px solid\",\n }}\n >\n {currentPage > currentIndexCorrected ? (\n \n ) : (\n currentIndexCorrected\n )}\n
\n \n {text}\n \n \n \n );\n\n return (\n \n {isDisabled ? (\n
{currentIndexCorrected}
\n ) : currentPage > currentIndexCorrected ? (\n HeaderStepBodyLink\n ) : (\n HeaderStepBody\n )}\n
\n );\n};\n\nexport default HeaderStep;\n","// Packages\nimport { Fragment } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\n\n// components\nimport HeaderStep from \"./HeaderStep\";\n\n// utils\nimport { noDigitalFlowSteps, digitalFlowSteps } from \"../utils/CheckStep\";\n\nconst Header = (props) => {\n const { t } = useTranslation();\n const { information, shipping, colors, urls } = useSelector(\n (state) => state.checkoutStore,\n );\n const currentPage = parseInt(props.page, 10);\n const shippingIndex = noDigitalFlowSteps.indexOf(\"shipping\");\n const billingAndPaymentIndex =\n information.no_shipping_required ||\n information.shipping_option === \"store_pickup\"\n ? digitalFlowSteps.indexOf(\"billing\")\n : noDigitalFlowSteps.indexOf(\"billing\");\n\n const getBorderColor = (currentPage, index) => {\n return currentPage > index ? colors.main_color : `${colors.text_color}CC`;\n };\n\n const AllHeaders = (\n
\n \n
\n
\n
\n \n
\n
\n \n \n \n );\n\n const DigitalHeaders = (\n
\n \n
\n
\n
\n \n \n );\n\n const PickupHeaders = (\n
\n \n
\n
\n
\n \n \n );\n\n return (\n \n {information.no_shipping_required\n ? DigitalHeaders\n : information.shipping_option === \"store_pickup\"\n ? PickupHeaders\n : AllHeaders}\n \n );\n};\n\nexport default Header;\n","// Packages\nimport { Fragment } from \"react\";\n\nexport const LoadingIcon = (props) => {\n const color = props.isInsideButton ? \"#ffffff\" : \"#9FC300\";\n const style = props.isInsideButton\n ? {\n color: color,\n width: \"1.5rem\",\n height: \"1.5rem\",\n }\n : {\n color: color,\n };\n\n return (\n \n {props.textInside ? (\n
\n {props.text}\n
\n \n ) : (\n \n
\n \n
\n \n )}\n
\n );\n};\n\nexport default LoadingIcon;\n","// Packages\nimport { Fragment } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport { Link } from \"react-router-dom\";\nimport LoadingIcon from \"../components/LoadingIcon\";\nimport { CaretLeft } from \"@phosphor-icons/react\";\n// Actions\nimport { closeAlertMessage } from \"../redux/ui\";\n\nconst NavigationFooter = (props) => {\n const { type, saveData } = props;\n const { t } = useTranslation();\n const dispatch = useDispatch();\n const { shipping, information, payment, colors, urls } = useSelector(\n (state) => state.checkoutStore,\n );\n const { isLoading, doingRequest } = useSelector((state) => state.ui);\n const BillingFooter = (\n
\n {!props.vertical && (\n
\n {information.no_shipping_required ||\n information.shipping_option === \"store_pickup\" ? (\n dispatch(closeAlertMessage())}\n >\n {\" \"}\n {t(\"shipping.back-to-information\")}\n \n ) : (\n dispatch(closeAlertMessage())}\n >\n {\" \"}\n {t(\"shipping.back-to-shipping\")}\n \n )}\n
\n )}\n
\n \n \n {doingRequest ? (\n \n ) : (\n t(\"information.place-order\")\n )}\n
\n \n
\n \n );\n\n const InformationFooter = (\n
\n \n
\n {doingRequest ? (\n \n ) : information.no_shipping_required ||\n information.shipping_option === \"store_pickup\" ? (\n t(\"information.go-to-payment\")\n ) : information.shipping_option === \"delivery\" ? (\n t(\"information.go-to-shipping\")\n ) : (\n t(\"information.select-local\")\n )}\n
\n \n
\n );\n\n const ShippingFooter = (\n
\n
\n dispatch(closeAlertMessage())}\n >\n {\" \"}\n {t(\"shipping.back-to-information\")}\n \n
\n
\n \n
\n {doingRequest ? (\n \n ) : (\n t(\"information.go-to-payment\")\n )}\n
\n \n
\n
\n );\n\n return (\n \n {(() => {\n switch (type) {\n case \"information\":\n return InformationFooter;\n case \"shipping\":\n return ShippingFooter;\n case \"billingAndPayment\":\n return BillingFooter;\n }\n })()}\n \n );\n};\nexport default NavigationFooter;\n","// Packages\nimport { Fragment } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport { X } from \"@phosphor-icons/react\";\n\nimport {\n fetchDataPayment,\n removePromotionCoupon,\n} from \"../actions/checkoutStore\";\nimport { GiftCards } from \"./GiftCards\";\n\nconst OrderSummary = (props) => {\n const { type = \"\" } = props;\n const dispatch = useDispatch();\n const { t } = useTranslation();\n const { summary, shipping, information } = useSelector(\n (state) => state.checkoutStore,\n );\n\n const removePromotion = (code) => {\n dispatch(removePromotionCoupon(code));\n dispatch(fetchDataPayment());\n };\n\n const checkShippingAboveZero = () => {\n return (\n information.shipping_option === \"delivery\" &&\n !information.no_shipping_required &&\n summary.shipping != null &&\n summary.shipping !== \"\" &&\n shipping.shipping_names.shipping_method_name !== null\n );\n };\n\n const AdditionalData = (\n
\n {!information.no_shipping_required &&\n props.type != \"success\" &&\n (!checkShippingAboveZero() ? null : (\n
\n \n {t(\"summary.shipping-cost\")}\n \n
\n \n {summary.promotions.map((promotion) => {\n return promotion.code != null &&\n promotion.discount_target == \"shipping\" ? (\n \n {promotion.code} \n {type !== \"success\" && (\n \n removePromotion(encodeURIComponent(promotion.code))\n }\n >\n \n \n )}\n \n ) : null;\n })}\n \n {information.shipping_option === \"store_pickup\" ? (\n shipping.pickup_point_name != null ? (\n t(\"summary.pick-up-on\") + shipping.pickup_point_name\n ) : (\n t(\"summary.local-pickup\")\n )\n ) : summary.shipping != null &&\n summary.shipping !== \"\" &&\n !summary.cash_on_delivery ? (\n summary.shipping_discount != summary.shipping ? (\n \n \n {summary.raw_shipping === 0\n ? t(\"summary.free-shipping\")\n : summary.shipping}\n {\" \"}\n {summary.shipping_discount}\n \n ) : (\n \n {summary.raw_shipping === 0\n ? t(\"summary.free-shipping\")\n : summary.shipping_discount}\n \n )\n ) : !summary.cash_on_delivery ? (\n t(\"summary.calculated-next-step\")\n ) : (\n summary.shipping\n )}\n
\n
\n ))}\n {!information.no_shipping_required &&\n props.type == \"success\" &&\n (!checkShippingAboveZero() ? null : (\n
\n {t(\"summary.shipping-cost\")}\n
\n
\n {summary.promotions.map((promotion) => {\n return promotion.code != null &&\n promotion.discount_target == \"shipping\" ? (\n \n {promotion.code} \n {type !== \"success\" && (\n \n removePromotion(encodeURIComponent(promotion.code))\n }\n >\n \n \n )}\n \n ) : null;\n })}\n
\n {information.shipping_option === \"store_pickup\" ? (\n shipping.pickup_point_name != null ? (\n t(\"summary.pick-up-on\") + shipping.pickup_point_name\n ) : (\n t(\"summary.local-pickup\")\n )\n ) : summary.shipping != null && summary.shipping !== \"\" ? (\n summary.shipping_discount != summary.shipping ? (\n \n \n {summary.raw_shipping === 0\n ? t(\"summary.free-shipping\")\n : summary.shipping}\n {\" \"}\n {summary.shipping_discount}\n \n ) : (\n \n {summary.raw_shipping === 0\n ? t(\"summary.free-shipping\")\n : summary.shipping_discount}\n \n )\n ) : (\n t(\"summary.calculated-next-step\")\n )}\n
\n
\n ))}\n {summary.raw_tax > 0 && (\n
\n {t(\"summary.taxes\")}\n {summary.tax}\n
\n )}\n \n
\n );\n\n const Total = (\n
\n {props.type != \"success\" && (\n <>\n {summary.gift_cards?.length > 0 ? (\n
\n {t(\"summary.amount-due\")}\n {summary.total_outstanding}\n
\n ) : (\n
\n {t(\"summary.total\")}\n {summary.total}\n
\n )}\n \n )}\n {props.type === \"success\" && (\n <>\n {summary.gift_cards?.length > 0 ? (\n
\n
{t(\"summary.paid-amount\")}
\n
\n {summary.total_outstanding_success_page}\n
\n
\n ) : (\n
\n
{t(\"summary.total\")}
\n
{summary.total}
\n
\n )}\n \n )}\n
\n );\n\n return (\n \n
\n {props.type == \"success\" && (\n
\n \n {t(\"summary.subtotal\")}\n \n
\n {summary.promotions.map((promotion) => {\n return promotion.code != null &&\n promotion.discount_target != \"shipping\" ? (\n
\n \n {promotion.code} \n {type !== \"success\" && (\n \n removePromotion(encodeURIComponent(promotion.code))\n }\n >\n \n \n )}\n \n
\n ) : null;\n })}\n\n \n {summary.subtotal_discount != summary.subtotal && (\n {summary.subtotal}\n )}{\" \"}\n {summary.subtotal_discount}\n \n
\n
\n )}\n {props.type != \"success\" && (\n
\n \n {t(\"summary.subtotal\")}\n \n
\n
\n {summary.promotions.map((promotion) => {\n return promotion.code != null &&\n promotion.discount_target != \"shipping\" ? (\n \n {promotion.code} \n {type !== \"success\" && (\n \n removePromotion(encodeURIComponent(promotion.code))\n }\n >\n \n \n )}\n \n ) : null;\n })}\n
\n \n {summary.subtotal_discount != summary.subtotal && (\n {summary.subtotal}\n )}{\" \"}\n {summary.subtotal_discount}\n \n
\n
\n )}\n
\n {(summary.subtotal != summary.total ||\n checkShippingAboveZero() ||\n summary.raw_tax > 0 ||\n (summary.has_promotions_with_code && summary.promotions?.length > 0) ||\n summary.raw_discount > 0 ||\n summary.gift_cards?.length > 0) &&\n AdditionalData}\n {Total}\n
\n );\n};\nexport default OrderSummary;\n","import { useEffect, useRef } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport axios from \"axios\";\nimport { useNavigate } from \"react-router-dom\";\n// Actions\nimport {\n setData,\n fetchShippingTypeRates,\n setFieldInformation,\n} from \"../actions/checkoutStore\";\n\nimport { setLoader } from \"../redux/ui\";\n\n// Components\nimport { LoadingIcon } from \"./LoadingIcon\";\nimport StepsTemplate from \"../templates/stepsTemplate\";\nimport ShippingContent from \"./ShippingContent\";\nimport CheckStep from \"../utils/CheckStep\";\n\nexport default function Shipping() {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const state = useSelector((state) => state);\n\n const isFirstRun = useRef(true);\n const mediaWatcher = window.matchMedia(\"(max-width: 992px)\");\n\n function changeStoreInformationField(field, value) {\n dispatch(setFieldInformation(field, value));\n }\n\n function updateMobile() {\n changeStoreInformationField(\"is_mobile\", mediaWatcher.matches);\n }\n\n useEffect(() => {\n let link = \"\";\n if (state.checkoutStore && state.checkoutStore.information) {\n link = \"/shipping/shipping_data\";\n } else if (!state.checkoutStore.shipping) {\n link = \"/information/information_data\";\n }\n\n axios({\n headers: {\n common: {\n \"Content-Type\": \"application/json\",\n },\n },\n method: \"get\",\n url: window.base_url + link,\n params: { recover_token: window.token },\n })\n .then((response) => {\n dispatch(setData(response.data));\n dispatch(\n setLoader({\n state: false,\n feature: \"FETCH_DATA_SHIPPING\",\n }),\n );\n if (\n response.data.info?.shipping_option == \"delivery\" ||\n state.checkoutStore.information.shipping_option == \"delivery\"\n )\n response.data.shipping.available_shipping_method_types.forEach(\n (type) => {\n dispatch(fetchShippingTypeRates(type));\n },\n );\n })\n .catch(() => {\n dispatch(\n setLoader({\n state: false,\n feature: \"FETCH_DATA_SHIPPING\",\n }),\n );\n });\n }, []);\n\n useEffect(() => {\n if (isFirstRun.current) {\n if (mediaWatcher.addEventListener) {\n mediaWatcher.addEventListener(\"change\", updateMobile);\n } else {\n mediaWatcher.addListener(updateMobile);\n }\n\n isFirstRun.current = false;\n return;\n }\n }, [state.checkoutStore.information]);\n\n if (state.ui.isLoading || !state.checkoutStore.shipping) {\n return ;\n }\n\n const currentUrl = window.location.href;\n const redirectUrl = CheckStep(state, currentUrl);\n if (redirectUrl) navigate(redirectUrl);\n\n return (\n \n \n \n );\n}\n","import { useRef, useMemo, useState } from \"react\";\nimport ReactDOMServer from \"react-dom/server\";\n\nimport L from \"leaflet\";\nimport \"leaflet-easybutton\";\nimport { MapContainer, TileLayer, Marker } from \"react-leaflet\";\nimport \"leaflet/dist/leaflet.css\";\nimport \"leaflet-easybutton/src/easy-button.css\";\nimport { useTranslation } from \"react-i18next\";\n\nimport homeIcon from \"../../../assets/images/checkout/home.png\";\n\nimport { ArrowCounterClockwise, Target } from \"@phosphor-icons/react\";\n\nconst undoIconHTML = ReactDOMServer.renderToStaticMarkup(\n ,\n);\n\nconst targetIconHTML = ReactDOMServer.renderToStaticMarkup();\n\nconst STADIA_API_KEY = \"739e5f98-582d-490c-bd09-78511fcb2cc2\";\n\nfunction MapLocationDrag(props) {\n const {\n center,\n firstCoordinates,\n setCoordinates,\n enabledMovePin,\n setEnabledMovePin,\n } = props;\n const { t } = useTranslation();\n const zoom = 17;\n const markerRef = useRef(null);\n const mapRef = useRef(null);\n const resetButton = useRef(null);\n\n const locationIcon = new L.Icon({\n iconUrl: homeIcon,\n iconSize: [44, 44],\n iconAnchor: [22, 44],\n });\n\n const [disabledButton, setDisabledButton] = useState(false);\n\n const eventHandlers = useMemo(() => ({\n dragstart() {\n resetButton.current.enable();\n },\n dragend() {\n const marker = markerRef.current;\n if (marker != null && marker.getLatLng() != null) {\n setDisabledButton(false);\n }\n },\n }));\n\n const pinButtonClick = () => {\n if (enabledMovePin) {\n const marker = markerRef.current;\n if (marker != null && marker.getLatLng() != null && !disabledButton) {\n setCoordinates(\"coordinates\", [\n marker.getLatLng().lat,\n marker.getLatLng().lng,\n ]);\n }\n }\n setEnabledMovePin(!enabledMovePin);\n };\n\n const resetCoords = () => {\n if (firstCoordinates == null) return;\n mapRef.current.setView(firstCoordinates, mapRef.current.getZoom(), {\n animate: true,\n duration: 1,\n });\n setDisabledButton(false);\n setEnabledMovePin(false);\n setCoordinates(\"coordinates\", firstCoordinates);\n markerRef.current.setLatLng(firstCoordinates);\n resetButton.current.disable();\n };\n\n const centerMap = () => {\n mapRef.current.setView(\n markerRef.current.getLatLng(),\n mapRef.current.getZoom(),\n {\n animate: true,\n duration: 1,\n },\n );\n };\n\n const createReset = () => {\n if (firstCoordinates != null && mapRef.current != null) {\n const centerLocationButton = L.easyButton(\n `${targetIconHTML}`,\n centerMap,\n );\n centerLocationButton.addTo(mapRef.current);\n\n resetButton.current = L.easyButton(\n `${undoIconHTML}`,\n resetCoords,\n );\n resetButton.current.addTo(mapRef.current);\n if (center[0] == firstCoordinates[0] && center[1] == firstCoordinates[1])\n resetButton.current.disable();\n }\n };\n\n const createExtras = (map) => {\n mapRef.current = map;\n createReset();\n };\n\n const displayMap = useMemo(\n () => (\n \n \n \n \n {enabledMovePin\n ? t(\"shipping.confirm-location\")\n : t(\"shipping.move-pin\")}\n \n \n ),\n [center, enabledMovePin, disabledButton],\n );\n\n return displayMap;\n}\n\nexport default MapLocationDrag;\n","import \"@fortawesome/free-brands-svg-icons\";\n\nimport { Fragment, useCallback, useEffect, useRef, useState } from \"react\";\nimport axios from \"axios\";\nimport {\n fetchUpdatedShippingTypeRates,\n saveShipping,\n setData,\n loadedPage,\n setFieldInformation,\n setFieldShipping,\n getPickupPrice,\n} from \"../actions/checkoutStore\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useNavigate } from \"react-router-dom\";\nimport Alert from \"./Alert\";\nimport DOMPurify from \"dompurify\";\nimport Header from \"./Header\";\nimport { Link } from \"react-router-dom\";\nimport LoadingIcon from \"../components/LoadingIcon\";\nimport MapLocationDrag from \"./MapLocationDrag\";\nimport NavigationFooter from \"./NavigationFooter\";\nimport Select from \"react-select\";\nimport ShowOrderSummary from \"./ShowOrderSummary\";\nimport { closeAlertMessage } from \"../redux/ui\";\nimport { useTranslation } from \"react-i18next\";\nimport { X } from \"@phosphor-icons/react\";\n\nconst ShippingContent = (props) => {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const state = useSelector((state) => state);\n const { t } = useTranslation();\n\n const [error, setError] = useState(\"\");\n\n const { information, shipping, summary, urls, colors } = state.checkoutStore;\n\n const { isLoading, doingRequest, alertMessage } = state.ui;\n\n const [errorDiv, setErrorDiv] = useState(null);\n\n const [enabledMovePin, setEnabledMovePin] = useState(false);\n\n const isFirstRun = useRef(true);\n\n const [isLoadingMap, setIsLoadingMap] = useState(false);\n\n const [available_shipping_methods, setAvailableShippingMethods] = useState(\n [],\n );\n const timeDebounce = 500;\n\n useEffect(() => {\n const filteredShippingMethods = shipping.shipping_methods.filter(\n (sm) =>\n !sm.table.error &&\n (!sm.table.same_day_delivery ||\n (sm.table.same_day_delivery &&\n information.coordinates != null &&\n information.coordinates.length > 0)),\n );\n setAvailableShippingMethods(filteredShippingMethods);\n }, [shipping.shipping_methods, information.coordinates]);\n\n useEffect(() => {\n if (isFirstRun.current) {\n dispatch(loadedPage(\"shipping\"));\n isFirstRun.current = false;\n }\n\n setIsLoadingMap(true);\n const timer = setTimeout(() => {\n setIsLoadingMap(false);\n }, timeDebounce);\n return () => clearTimeout(timer);\n }, []);\n\n useEffect(() => {\n if (errorDiv != null && shipping.error != \"\") errorDiv.scrollIntoView();\n }, [errorDiv]);\n\n useEffect(() => {\n if (\n shipping.available_shipping_method_types.length ==\n shipping.loaded_shipping_types.length &&\n shipping.shipping_methods.length == 1\n ) {\n const shippingNames =\n shipping.shipping_methods[0].table.shipping_method_name +\n \",\" +\n (shipping.shipping_methods[0].table.shipping_service_name == null\n ? \"\"\n : shipping.shipping_methods[0].table.shipping_service_name);\n\n const methodValue =\n shipping.shipping_methods[0].table.shipping_method_id +\n \",\" +\n (shipping.shipping_methods[0].table.shipping_service_id == null\n ? \"\"\n : shipping.shipping_methods[0].table.shipping_service_id) +\n (shipping.shipping_methods[0].table.rate_id\n ? \",\" + shipping.shipping_methods[0].table.rate_id\n : \"\");\n changeMethodsFields(methodValue, shippingNames);\n }\n }, [shipping.loaded_shipping_types]);\n\n const errorMsgCallback = useCallback((node) => {\n if (node !== null) {\n setErrorDiv(node);\n }\n }, []);\n\n useEffect(() => {\n if (\n shipping.shipping_ids.shipping_method_id == null ||\n summary.update_shipping == false\n )\n return;\n for (let i = 0; i < shipping.shipping_methods.length; i++) {\n if (\n shipping.shipping_ids.shipping_method_id ===\n shipping.shipping_methods[i].table.shipping_method_id &&\n shipping.shipping_ids.shipping_service_id ===\n shipping.shipping_methods[i].table.shipping_service_id\n ) {\n const methodValue =\n shipping.shipping_methods[i].table.shipping_method_id +\n \",\" +\n (shipping.shipping_methods[i].table.shipping_service_id == null\n ? \"\"\n : shipping.shipping_methods[i].table.shipping_service_id) +\n (shipping.shipping_methods[i].table.rate_id\n ? \",\" + shipping.shipping_methods[i].table.rate_id\n : \"\");\n const shippingNames =\n shipping.shipping_methods[i].table.shipping_method_name +\n \",\" +\n (shipping.shipping_methods[i].table.shipping_service_name == null\n ? \"\"\n : shipping.shipping_methods[i].table.shipping_service_name);\n changeMethodsFields(methodValue, shippingNames);\n }\n }\n dispatch(\n setData({\n ...state.checkoutStore,\n summary: {\n update_shipping: false,\n },\n }),\n );\n }, [summary.update_shipping]);\n\n if (isLoading || Object.keys(shipping).length === 0) {\n return ;\n }\n\n const getRateId = (shippingMethodId) => {\n const shippingMethod = shipping.shipping_methods.find((sm) => {\n return sm.table.shipping_method_id == shippingMethodId;\n });\n\n return shippingMethod.table.rate_id;\n };\n\n const getRateDescription = (shippingMethodId) => {\n const shippingMethod = shipping.shipping_methods.find((sm) => {\n return sm.table.shipping_method_id == shippingMethodId;\n });\n\n return shippingMethod.table.rate_description;\n };\n\n const getPrice = (shippingMethodId) => {\n const shippingMethod = shipping.shipping_methods.find((sm) => {\n return sm.table.shipping_method_id == shippingMethodId;\n });\n\n return shippingMethod.table.price_unformatted;\n };\n\n const defaultColor = \"#929292\";\n\n const customStyles = () => ({\n control: (base) => ({\n ...base,\n borderRadius: \"6px\",\n height: \"44px\",\n padding: \"0 8px\",\n fontSize: \"14px\",\n border: \"\",\n backgroundColor: \"white\",\n }),\n placeholder: (base) => ({\n ...base,\n color: defaultColor,\n }),\n dropdownIndicator: (base) => ({\n ...base,\n color: defaultColor,\n padding: \"8px\",\n }),\n indicatorSeparator: () => ({ display: \"none\" }),\n valueContainer: (base) => ({\n ...base,\n padding: \"4px 8px\",\n }),\n option: (base, state) => ({\n ...base,\n backgroundColor: state.isSelected\n ? defaultColor\n : state.isFocused\n ? \"#f0f0f0\"\n : \"#fff\",\n color: state.isSelected ? colors.text_color : \"#000\",\n padding: \"8px 12px\",\n cursor: \"pointer\",\n }),\n });\n\n const changeStoreField = (field, value) => {\n dispatch(setFieldShipping(field, value));\n };\n\n const changeStoreInformationField = (field, value) => {\n dispatch(setFieldInformation(field, value));\n };\n\n const changeCoordinates = (field, value) => {\n changeStoreInformationField(field, value);\n\n axios({\n headers: {\n common: {\n \"Content-Type\": \"application/json\",\n },\n },\n method: \"put\",\n url: urls.update_coordinates,\n data: {\n coordinates: value,\n },\n params: { recover_token: window.token },\n }).then((response) => {\n if (currentShippingService.table.shipping_method_type === \"pedidos_ya\") {\n dispatch(fetchUpdatedShippingTypeRates(\"pedidos_ya\"));\n }\n changeStoreInformationField(\"address\", response.data.address);\n changeStoreInformationField(\"city\", response.data.city);\n changeStoreInformationField(\"municipality\", response.data.municipality);\n changeStoreInformationField(\"complement\", response.data.complement);\n changeStoreInformationField(\"postal\", response.data.postal);\n if (currentShippingService.table.shipping_method_type === \"tables\") {\n dispatch(fetchUpdatedShippingTypeRates(\"tables\"));\n }\n });\n };\n\n const currentShippingService = shipping.shipping_methods.find((sm) => {\n return (\n (sm.table.shipping_method_id ==\n shipping.shipping_ids.shipping_method_id &&\n !sm.table.shipping_service_id) ||\n (sm.table.shipping_method_id ==\n shipping.shipping_ids.shipping_method_id &&\n sm.table.shipping_service_id ==\n shipping.shipping_ids.shipping_service_id)\n );\n });\n\n const changeMethodsFields = (shipping_ids, shipping_names) => {\n setEnabledMovePin(false);\n var split = shipping_ids.split(\",\");\n var ids = {\n shipping_method_id: split[0],\n shipping_service_id: split[1],\n rate_id: split[2],\n };\n ids.shipping_service_id =\n ids.shipping_service_id == \"\" ? null : ids.shipping_service_id;\n split = shipping_names.split(\",\");\n var names = {\n shipping_method_name: split[0],\n shipping_service_name: split[1],\n };\n names.shipping_service_name =\n names.shipping_service_name == \"\" ? null : names.shipping_service_name;\n const currentShippingService = shipping.shipping_methods.find((sm) => {\n return (\n (sm.table.shipping_method_id == ids.shipping_method_id &&\n !sm.table.shipping_service_id) ||\n (sm.table.shipping_method_id == ids.shipping_method_id &&\n sm.table.shipping_service_id == ids.shipping_service_id)\n );\n });\n\n const hasBranches =\n currentShippingService.table.branches &&\n currentShippingService.table.branches.length > 0;\n let branchId = null;\n let branchName = null;\n\n if (hasBranches) {\n branchId = currentShippingService.table.branches[0].value;\n branchName = branchId\n ? currentShippingService.table.branches[0].label\n : null;\n }\n\n const shippingData = {\n shipping: {\n shipping_ids: ids,\n shipping_names: names,\n branch_id: branchId,\n branch_name: branchName,\n delivery_price: getPrice(ids.shipping_method_id),\n },\n };\n dispatch(setData(shippingData));\n\n ids.branch_id = branchId;\n ids.branch_name = branchName;\n\n saveData(false, ids);\n };\n\n const updateBranchFields = (row, service_type) => {\n const branchData = {\n shipping: {\n branch_id: row.value,\n branch_name: row.label,\n pickup_price: null,\n },\n };\n\n dispatch(setData(branchData));\n dispatch(\n getPickupPrice(\n row.value,\n row.label,\n service_type,\n information.country,\n information.region,\n information.municipality,\n information.postal,\n ),\n );\n };\n\n const validate = (ids = null) => {\n var formIsValid = true;\n\n if (ids != null) {\n return formIsValid;\n }\n\n if (information.shipping_option === \"delivery\") {\n if (\n !shipping.shipping_ids.shipping_method_id &&\n !shipping.shipping_ids.shipping_service_id\n ) {\n formIsValid = false;\n setError(t(\"shipping.select-a-method\"));\n }\n } else {\n if (!shipping.pickup_point_id) {\n formIsValid = false;\n setError(t(\"shipping.choose-a-place\"));\n }\n }\n\n return formIsValid;\n };\n\n const removeError = () => {\n setError(\"\");\n };\n\n const saveData = (goToNextScreen = true, ids = null) => {\n if (doingRequest || !validate(ids)) {\n return;\n }\n\n changeStoreField(\"error\", \"\");\n removeError();\n\n let url = \"\";\n let params = {};\n\n if (information.shipping_option === \"delivery\") {\n url = urls.save_shipping;\n url += \"&goToNextScreen=\" + (goToNextScreen ? true : false);\n if (ids) {\n params = {\n shipping: {\n shipping_method_id: ids.shipping_method_id,\n shipping_service_id: ids.shipping_service_id,\n rate_id: ids.rate_id,\n rate_description: getRateDescription(ids.shipping_method_id),\n delivery_price: getPrice(ids.shipping_method_id),\n branch_id: ids.branch_id,\n branch_name: ids.branch_name,\n coordinates: information.coordinates,\n country: information.country,\n region: information.region,\n municipality: information.municipality,\n },\n };\n } else {\n params = {\n shipping: {\n shipping_method_id: shipping.shipping_ids.shipping_method_id,\n shipping_service_id: shipping.shipping_ids.shipping_service_id,\n rate_id: shipping.shipping_ids.rate_id\n ? shipping.shipping_ids.rate_id\n : getRateId(shipping.shipping_ids.shipping_method_id),\n rate_description: getRateDescription(\n shipping.shipping_ids.shipping_method_id,\n ),\n delivery_price: getPrice(shipping.shipping_ids.shipping_method_id),\n branch_id: shipping.branch_id,\n branch_name: shipping.branch_name,\n coordinates: information.coordinates,\n },\n };\n }\n } else {\n url = urls.save_shipping_pickup;\n params = {\n shipping: {\n pickup_point_id: shipping.pickup_point_id,\n name: information.name,\n surname: information.surname,\n },\n };\n }\n\n dispatch(saveShipping(url, params, navigate));\n };\n\n const errorMessage = () => {\n return (\n
\n
\n {error}\n
\n removeError(error)}\n style={{\n backgroundColor: colors.main_color,\n color: colors.text_color,\n }}\n >\n \n \n
\n );\n };\n\n const shippingAddress = [\n information.address,\n information.complement,\n information.postal,\n shipping.municipality || information.city,\n shipping.region,\n shipping.country,\n ]\n .filter((x) => x)\n .join(\", \");\n\n const Information = (\n \n
\n
{t(\"shipping.order-information\")}
\n
\n\n
\n
\n
\n
\n
\n
{t(\"payment.contact\")}
\n \n {t(\"payment.edit\")}\n \n
\n {information.email}\n
\n
\n {information.shipping_option === \"delivery\" && (\n
\n
\n
\n
{t(\"payment.ship-to\")}
\n \n {t(\"payment.edit\")}\n \n
\n \n {shipping.shipping_branch_name\n ? shipping.shipping_branch_name\n : shippingAddress}\n \n
\n
\n )}\n {information.shipping_option === \"store_pickup\" && (\n
\n
\n
\n \n {t(\"information.who-pick-up\")}\n
\n \n {t(\"payment.edit\")}\n \n
\n \n {information.name} {information.surname}\n \n
\n
\n )}\n
\n \n
\n );\n\n const NoShippingMethods = (\n
\n {t(\"shipping.no-shipping-methods\")}\n
\n );\n\n const AddressNotSet = (\n
\n {t(\"shipping.no-address-set\")}\n
\n );\n\n const groupStyles = {\n paddingLeft: \"13px\",\n marginBottom: \"0.5em\",\n fontWeight: \"bold\",\n };\n\n const GroupHeading = () => (\n
\n {t(\"shipping.pickup-options\")}\n
\n );\n\n const main_color = \"#424242\";\n const default_border = \"#929292\";\n\n const selectedMethodIndex = available_shipping_methods.findIndex(\n (method) =>\n method.table.shipping_method_id ===\n shipping.shipping_ids.shipping_method_id &&\n method.table.shipping_service_id ===\n shipping.shipping_ids.shipping_service_id,\n );\n\n const ShippingMethod = (\n \n
\n \n {t(\"shipping.shipping-methods\")}\n
\n \n {error !== \"\" && errorMessage()}\n \n {shipping.shipping_methods &&\n available_shipping_methods.map((shipping_method, i) => {\n const selectedMethod =\n shipping.shipping_ids.shipping_method_id ==\n shipping_method.table.shipping_method_id &&\n shipping.shipping_ids.shipping_service_id ==\n shipping_method.table.shipping_service_id;\n const isNextMethod = i === selectedMethodIndex + 1;\n const methodOptionClass =\n available_shipping_methods.length === 1\n ? \"10px 10px 10px 10px\"\n : i === available_shipping_methods.length - 1\n ? \"0 0 10px 10px\"\n : available_shipping_methods.length > 1 && i === 0\n ? \"10px 10px 0 0\"\n : \"\";\n const methodValue =\n shipping_method.table.shipping_method_id +\n \",\" +\n (shipping_method.table.shipping_service_id == null\n ? \"\"\n : shipping_method.table.shipping_service_id) +\n (shipping_method.table.rate_id\n ? \",\" + shipping_method.table.rate_id\n : \"\");\n const shippingNames =\n shipping_method.table.shipping_method_name +\n \",\" +\n (shipping_method.table.shipping_service_name == null\n ? \"\"\n : shipping_method.table.shipping_service_name);\n\n const textToUseInEstimatedDeliveryDateRange =\n shipping_method.table.estimated_delivery_date &&\n shipping_method.table.estimated_delivery_date.includes(\" - \")\n ? t(\"shipping.estimated_delivery_date_between\")\n : t(\"shipping.estimated_delivery_date\");\n return (\n \n {\n if (!selectedMethod) {\n changeMethodsFields(methodValue, shippingNames);\n }\n }}\n >\n \n
\n {\n changeMethodsFields(e.target.value, shippingNames);\n }}\n />\n \n \n {shipping_method.table.shipping_service_name\n ? shipping_method.table.shipping_service_name\n : shipping_method.table.shipping_method_name}\n {shipping_method.table.same_day_delivery &&\n t(\"shipping.courier-delivery\")}\n \n {shipping_method.table.estimated_delivery_date &&\n information.store_country == \"CL\" &&\n information.show_estimate_dates == 1 ? (\n \n {textToUseInEstimatedDeliveryDateRange +\n \" \" +\n shipping_method.table.estimated_delivery_date}\n \n ) : (\n shipping_method.table.show_range_estimate_dates ==\n 1 && (\n \n {textToUseInEstimatedDeliveryDateRange +\n \" \" +\n shipping_method.table.estimated_delivery_date}\n \n )\n )}\n {selectedMethod &&\n shipping_method.table.same_day_delivery &&\n shipping_method.table.delivery_time && (\n \n \n \n )}\n {selectedMethod &&\n shipping_method.table.branches &&\n shipping_method.table.branches.length > 0 && (\n
\n
\n \n updateBranchFields(\n row,\n shipping_method.table\n .shipping_method_type,\n )\n }\n value={shipping_method.table.branches.find(\n (current) =>\n current.value === shipping.branch_id,\n )}\n />\n
\n
\n )}\n
\n \n \n {shipping_method.table.error ? (\n \n {t(\"shipping.service-unavailable\")}\n {shipping_method.table.error_message ===\n \"WAYPOINTS_OUT_OF_ZONE\" ? (\n \n {\" - \" +\n t(\"shipping.service-waypoint-out-of-zone\")}\n \n ) : (\n shipping_method.table.error_message ===\n \"MAX_DISTANCE_EXCEEDED\" && (\n \n {\" - \" +\n t(\"shipping.service-max-distance-exceeded\")}\n \n )\n )}\n \n ) : shipping_method.table.price === 0 ? (\n t(\"shipping.free\")\n ) : selectedMethod &&\n shipping_method.table.branches &&\n shipping_method.table.branches.length > 0 &&\n shipping_method.table.shipping_method_type !=\n \"starken\" &&\n shipping.pickup_price == null &&\n shipping.branch_id != null ? (\n \n ) : selectedMethod &&\n shipping.branch_id != null &&\n shipping.pickup_price != null ? (\n shipping.pickup_price\n ) : (\n shipping_method.table.price\n )}\n \n \n {selectedMethod &&\n (shipping_method.table.same_day_delivery ||\n shipping_method.table.shipping_method_type ===\n \"pedidos_ya\") &&\n information.coordinates != null &&\n information.coordinates.length > 0 && (\n \n {!isLoadingMap && (\n \n )}\n {isLoadingMap && (\n \n )}\n \n )}\n {selectedMethod &&\n shipping_method.table?.custom_description &&\n (shipping_method.table.custom_description !== undefined ||\n shipping_method.table.custom_description !== \"\") && (\n \n \n /g,\n \"\",\n ),\n }}\n />\n \n \n /g,\n \"\",\n ),\n }}\n />\n \n \n )}\n \n \n );\n })}\n \n {shipping.available_shipping_method_types &&\n information.shipping_option === \"delivery\" &&\n shipping.available_shipping_method_types.length !==\n shipping.loaded_shipping_types.length &&\n information.address != \"\" &&\n information.country != \"\" &&\n information.region != \"\" && (\n
\n \n
\n )}\n {shipping.available_shipping_method_types &&\n information.shipping_option === \"delivery\" &&\n shipping.available_shipping_method_types.length ===\n shipping.loaded_shipping_types.length &&\n shipping.shipping_methods.length === 0 &&\n information.address != \"\" &&\n information.country != \"\" &&\n information.region != \"\" &&\n NoShippingMethods}\n {(information.address == \"\" ||\n information.country == \"\" ||\n information.region == \"\") &&\n AddressNotSet}\n
\n );\n\n if (isLoading || Object.keys(shipping).length === 0) {\n return ;\n }\n\n if (props.vertical)\n return (\n
\n {information.shipping_option === \"delivery\" && ShippingMethod}\n
\n );\n\n return (\n
\n {information.is_mobile && (\n \n )}\n
\n {alertMessage != null && alertMessage.active && (\n
\n dispatch(closeAlertMessage())}\n />\n
\n )}\n {Information}\n {information.shipping_option === \"delivery\" && ShippingMethod}\n \n
\n );\n};\n\nexport default ShippingContent;\n","import { CaretDown, CaretUp } from \"@phosphor-icons/react\";\n\nimport SummaryForm from \"./SummaryForm\";\nimport { useSelector } from \"react-redux\";\nimport { useTranslation } from \"react-i18next\";\nimport { ShoppingCart } from \"@phosphor-icons/react\";\n\nconst ShowOrderSummary = (props) => {\n const { type, toggleSummary } = props;\n const is_mobile = props.is_mobile || false;\n const { t } = useTranslation();\n const state = useSelector((state) => state);\n const { summary, information } = state.checkoutStore;\n\n const displayProductCount = () => {\n var productCount = summary.products.reduce(\n (n, item) => (item.qty ? n + item.qty : n),\n 0,\n );\n\n return (\n
\n {productCount == 1\n ? t(\"summary.item\")\n : t(\"summary.items\", { items: productCount })}\n
\n );\n };\n\n return (\n
\n \n \n toggleSummary(\"open_summary\", !information.open_summary)\n }\n >\n \n {displayProductCount()}\n
\n {information.open_summary ? (\n \n ) : (\n \n )}\n \n\n \n \n \n \n \n );\n};\nexport default ShowOrderSummary;\n","// Packages\nimport { useState, useEffect, useRef } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport defaultImage from \"../../../assets/images/checkout/150x150.png\";\nimport { useTranslation } from \"react-i18next\";\nimport { ShoppingCart } from \"@phosphor-icons/react\";\n\n// Components\nimport LoadingIcon from \"./LoadingIcon\";\nimport OrderSummary from \"./OrderSummary\";\n\n// Actions\nimport { addPromotionCoupon, fetchDataPayment } from \"../actions/checkoutStore\";\n\nconst SummaryForm = (props) => {\n const dispatch = useDispatch();\n const { t } = useTranslation();\n\n const { summary, information, urls, colors } = useSelector(\n (state) => state.checkoutStore,\n );\n\n const { isLoading, doingRequest } = useSelector((state) => state.ui);\n\n const [couponField, setCouponField] = useState(\"\");\n\n const [overflowingItems, setOverflowingItems] = useState({});\n\n const textRefs = useRef({});\n const containerRefs = useRef({});\n\n useEffect(() => {\n const checkOverflow = () => {\n if (!summary.products) return;\n\n const newOverflowingItems = {};\n const getMaxLength = (width) => Math.round(0.143 * width - 13.69);\n const maxLength =\n window.innerWidth > 991 ? 40 : getMaxLength(window.innerWidth);\n\n summary.products.forEach((product) => {\n newOverflowingItems[product.id] = product.name.length > maxLength;\n });\n\n setOverflowingItems(newOverflowingItems);\n };\n\n checkOverflow();\n }, []);\n\n const goToCart = () => {\n window.location = urls.cart;\n };\n\n const handleResize = () => {\n const getTotalHeight = (className) => {\n const element = document.getElementsByClassName(className)[0];\n if (!element) return 0;\n\n const style = window.getComputedStyle(element);\n\n const marginTop = parseFloat(style.marginTop) || 0;\n const marginBottom = parseFloat(style.marginBottom) || 0;\n return element.offsetHeight + marginTop + marginBottom;\n };\n\n const summaryDivHeight = getTotalHeight(\"summary-div\");\n const discountDivHeight = getTotalHeight(\"discount-div\");\n const summaryHeaderDivHeight = getTotalHeight(\"summary-header\");\n let productList = document.getElementsByClassName(\n \"scrollable-container\",\n )[0];\n if (productList == null) return;\n productList.style.maxHeight = `calc(100vh - ${summaryDivHeight + discountDivHeight + summaryHeaderDivHeight + 48}px)`;\n };\n\n useEffect(() => {\n window.addEventListener(\"resize\", handleResize);\n handleResize();\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n }, [summary]);\n\n const addPromotion = () => {\n if (couponField == \"\") {\n return;\n }\n setCouponField(\"\");\n dispatch(addPromotionCoupon(couponField, information.email));\n dispatch(fetchDataPayment());\n };\n\n const displayProduct = (product) => {\n return (\n \n
\n \n
\n (containerRefs.current[product.id] = el)}\n style={{\n height: \"44px\",\n flexGrow: 1,\n overflow: \"hidden\",\n position: \"relative\",\n whiteSpace: \"nowrap\",\n }}\n >\n 991 ? \"\" : \"-mobile\"} ${\n overflowingItems[product.id] ? \"moving\" : \"\"\n }`}\n ref={(el) => (textRefs.current[product.id] = el)}\n >\n {product.name}\n

\n
\n
\n

\n {t(\"summary.qty\")} {product.qty}\n

\n
\n\n
\n

\n {product.price != product.discount && {product.price} }\n {product.discount}\n

\n
\n
\n \n \n );\n };\n\n const displayProductCount = () => {\n var productCount = summary.products.reduce(\n (n, item) => (item.qty ? n + item.qty : n),\n 0,\n );\n\n return (\n
\n {productCount == 1\n ? t(\"summary.item\")\n : t(\"summary.items\", { items: productCount })}\n
\n );\n };\n\n const SummaryHeader = (\n
\n {!props.is_mobile && (\n
\n
\n {displayProductCount()}\n
\n \n

{t(\"summary.edit-cart\")}

\n \n
\n )}\n
\n {\n const scrollableContainer = e.currentTarget;\n if (scrollableContainer.scrollTop == 0) {\n scrollableContainer.classList.remove(\"border-top\");\n } else if (\n scrollableContainer.scrollTop >=\n scrollableContainer.scrollHeight -\n scrollableContainer.clientHeight\n ) {\n scrollableContainer.classList.remove(\"border-bottom\");\n } else {\n scrollableContainer.classList.add(\"border-top\");\n scrollableContainer.classList.add(\"border-bottom\");\n }\n }}\n >\n {summary.products.map((p) => displayProduct(p))}\n
\n {props.is_mobile && (\n
\n \n

{t(\"summary.edit-cart\")}

\n \n
\n )}\n
\n \n );\n\n const onKeyUp = (e) => {\n if (e.charCode === 13 && !doingRequest) {\n addPromotion();\n }\n };\n\n const Discount = (\n
\n
\n \n
\n setCouponField(e.target.value)}\n onKeyPress={onKeyUp}\n style={{\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n backgroundColor: \"#FFFFFF\",\n }}\n />\n \n {t(\"summary.apply\")}\n \n
\n
\n
\n );\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n
{SummaryHeader}
\n\n {summary.has_promotions && !props.is_mobile && (\n
{Discount}
\n )}\n {!props.is_mobile && (\n
\n
\n \n
\n {props.navigationFooter}\n
\n )}\n \n );\n};\n\nexport default SummaryForm;\n","export const SET_LOADER = \"SET_LOADER\";\nexport const SET_REQUEST_LOADER = \"SET_REQUEST_LOADER\";\nexport const SET_ALERT_MESSAGE = \"SET_ALERT_MESSAGE\";\n\nexport const setLoader = ({ state, feature }) => ({\n type: `${feature} ${SET_LOADER}`,\n payload: state,\n meta: { feature },\n});\n\nexport const setRequestLoader = ({ state, feature }) => ({\n type: `${feature} ${SET_REQUEST_LOADER}`,\n payload: state,\n meta: { feature },\n});\n\nexport const setAlertMessage = ({ state, feature }) => ({\n type: `${feature} ${SET_ALERT_MESSAGE}`,\n payload: state,\n meta: { feature },\n});\n\nexport const closeAlertMessage = () => ({\n type: `${SET_ALERT_MESSAGE} CLOSE`,\n payload: {\n active: false,\n message: \"\",\n type: \"\",\n },\n});\n\nconst initState = {\n isLoading: true,\n doingRequest: false,\n alertMessage: {\n active: false,\n message: \"\",\n type: \"\",\n },\n};\n\nexport const uiReducer = (ui = initState, action) => {\n switch (true) {\n case action.type.includes(SET_LOADER):\n return { ...ui, isLoading: action.payload };\n\n case action.type.includes(SET_REQUEST_LOADER):\n return { ...ui, doingRequest: action.payload };\n\n case action.type.includes(SET_ALERT_MESSAGE):\n return { ...ui, alertMessage: action.payload };\n\n default:\n return ui;\n }\n};\n","// Packages\nimport { useEffect, useState } from \"react\";\nimport { useSelector, useDispatch } from \"react-redux\";\n\n// components\nimport SummaryForm from \"../components/SummaryForm\";\nimport Footer from \"../components/Footer\";\nimport OrderSummary from \"../components/OrderSummary\";\n\nimport { setFieldColors } from \"../actions/checkoutStore\";\n\nexport default function StepsTemplate(props) {\n const dispatch = useDispatch();\n const queryParams = new URLSearchParams(window.location.search);\n const previewMode = queryParams.get(\"preview_mode\") || \"false\";\n\n const {\n information,\n shipping,\n billing,\n payment,\n urls,\n system_fields,\n colors,\n analytics_data,\n summary,\n } = useSelector((state) => state.checkoutStore);\n\n const [fontLoaded, setFontLoaded] = useState(false);\n function updateTheme(theme) {\n const colorMode = theme || (colors.is_dark_mode ? \"dark\" : \"light\");\n document.querySelector(\"html\").setAttribute(\"data-bs-theme\", colorMode);\n\n // override bootstrap default color\n if (colors.background_color) {\n document.body.style.backgroundColor = colors.background_color;\n } else {\n document.body.style.backgroundColor = \"\";\n }\n dispatch(setFieldColors(\"is_dark_mode\", colorMode === \"dark\"));\n localStorage.setItem(\"is_dark_mode\", colorMode === \"dark\");\n }\n useEffect(() => {\n const storedDarkMode = localStorage.getItem(\"is_dark_mode\");\n if (storedDarkMode !== null) {\n updateTheme(storedDarkMode === \"true\" ? \"dark\" : \"light\");\n } else {\n updateTheme();\n }\n\n const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n mediaQuery.addEventListener(\"change\", updateTheme());\n\n return () => {\n mediaQuery.removeEventListener(\"change\", updateTheme());\n };\n }, []);\n\n useEffect(() => {\n // Function to dynamically load a Google Font\n const loadGoogleFont = async (fontName) => {\n try {\n const fontUrl = `https://fonts.googleapis.com/css2?family=${fontName.replace(/ /g, \"+\")}&display=swap`;\n\n const linkElement = document.createElement(\"link\");\n linkElement.href = fontUrl;\n linkElement.rel = \"stylesheet\";\n document.head.appendChild(linkElement);\n\n // Set the state to true once the font is loaded\n linkElement.onload = () => setFontLoaded(true);\n } catch (error) {\n console.error(\"Error loading Google Font:\", error);\n }\n };\n\n if (information.font != null)\n loadGoogleFont(information.font.split(\",\")[0].trim());\n }, [information.font]);\n\n return (\n \n
\n \n \n \n \n {information.store_logo ? (\n \n ) : (\n information.store_name\n )}\n \n \n \n \n {props.children}\n
\n \n {!information.is_mobile &&