@ikas/storefront 6.1.0-beta.38 → 6.1.0-beta.381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/analytics/analytics.d.ts +8 -3
- package/build/analytics/analytics.js +1 -1
- package/build/analytics/events.d.ts +4 -1
- package/build/analytics/events.js +1 -1
- package/build/analytics/facebookPixel.d.ts +13 -0
- package/build/analytics/facebookPixel.js +1 -1
- package/build/analytics/googleAnalytics.d.ts +3 -2
- package/build/analytics/googleAnalytics.js +1 -1
- package/build/analytics/googleTagManager.d.ts +5 -3
- package/build/analytics/googleTagManager.js +1 -1
- package/build/analytics/head/index.d.ts +17 -2
- package/build/analytics/head/index.js +1 -1
- package/build/analytics/ikasV3.d.ts +2 -1
- package/build/analytics/ikasV3.js +1 -1
- package/build/analytics/openAiPixel.d.ts +31 -0
- package/build/analytics/openAiPixel.js +1 -0
- package/build/components/checkout/components/address-form/index.js +1 -1
- package/build/components/checkout/components/address-form/model.d.ts +5 -0
- package/build/components/checkout/components/address-form/model.js +1 -1
- package/build/components/checkout/components/adyen/index.js +1 -1
- package/build/components/checkout/components/button/index.d.ts +1 -0
- package/build/components/checkout/components/button/index.js +1 -1
- package/build/components/checkout/components/button/style.module.scss.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
- package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -1
- package/build/components/checkout/components/cart-summary/index.d.ts +10 -1
- package/build/components/checkout/components/cart-summary/index.js +1 -1
- package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
- package/build/components/checkout/components/checkbox/index.d.ts +1 -0
- package/build/components/checkout/components/checkbox/index.js +1 -1
- package/build/components/checkout/components/checkout-load-failed/index.d.ts +14 -0
- package/build/components/checkout/components/checkout-load-failed/index.js +1 -0
- package/build/components/checkout/components/checkout-load-failed/style.module.scss.js +1 -0
- package/build/components/checkout/components/credit-card-form/model.js +1 -1
- package/build/components/checkout/components/customer-addresses/index.d.ts +1 -0
- package/build/components/checkout/components/customer-addresses/index.js +1 -1
- package/build/components/checkout/components/customer-addresses/model.js +1 -1
- package/build/components/checkout/components/error/stock-error/index.js +1 -1
- package/build/components/checkout/components/form-item/index.js +1 -1
- package/build/components/checkout/components/form-item/model.d.ts +5 -3
- package/build/components/checkout/components/form-item/model.js +1 -1
- package/build/components/checkout/components/form-item/style.module.scss.js +1 -1
- package/build/components/checkout/components/hepsipay/index.d.ts +9 -0
- package/build/components/checkout/components/hepsipay/index.js +1 -0
- package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -1
- package/build/components/checkout/components/iyzico/index.d.ts +8 -0
- package/build/components/checkout/components/iyzico/index.js +1 -0
- package/build/components/checkout/components/master-pass/credit-card-form/index.js +1 -1
- package/build/components/checkout/components/modal/index.d.ts +1 -0
- package/build/components/checkout/components/modal/index.js +1 -1
- package/build/components/checkout/components/modal/style.module.scss.js +1 -1
- package/build/components/checkout/components/offer-product/index.js +1 -1
- package/build/components/checkout/components/offer-product/style.module.scss.js +1 -1
- package/build/components/checkout/components/phone-number-input/index.d.ts +3 -1
- package/build/components/checkout/components/phone-number-input/index.js +1 -1
- package/build/components/checkout/components/quick-registration/completed.js +1 -1
- package/build/components/checkout/components/quick-registration/index.js +1 -1
- package/build/components/checkout/components/quick-registration/model.js +1 -1
- package/build/components/checkout/components/secure-card-form/index.d.ts +13 -0
- package/build/components/checkout/components/secure-card-form/index.js +1 -0
- package/build/components/checkout/components/secure-card-form/masterpass-bridge-model.d.ts +33 -0
- package/build/components/checkout/components/secure-card-form/masterpass-bridge-model.js +1 -0
- package/build/components/checkout/components/secure-card-form/model.d.ts +67 -0
- package/build/components/checkout/components/secure-card-form/model.js +1 -0
- package/build/components/checkout/components/secure-card-form/protocol.d.ts +220 -0
- package/build/components/checkout/components/secure-card-form/protocol.js +1 -0
- package/build/components/checkout/components/secure-card-form/style.module.scss.js +1 -0
- package/build/components/checkout/components/select-box/index.d.ts +3 -0
- package/build/components/checkout/components/select-box/index.js +1 -1
- package/build/components/checkout/components/step-container/index.d.ts +5 -0
- package/build/components/checkout/components/step-container/index.js +1 -1
- package/build/components/checkout/components/step-container/style.module.scss.js +1 -1
- package/build/components/checkout/components/stripe/checkout-form.js +1 -1
- package/build/components/checkout/components/stripe-express/index.d.ts +7 -0
- package/build/components/checkout/components/stripe-express/index.js +1 -0
- package/build/components/checkout/components/stripe-express/style.module.scss.js +1 -0
- package/build/components/checkout/components/svg/arrow-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-loyalty.js +1 -0
- package/build/components/checkout/components/svg/arrow-right-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/arrow-right-loyalty.js +1 -0
- package/build/components/checkout/components/svg/coupon-code-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/coupon-code-tag.js +1 -0
- package/build/components/checkout/components/svg/credit-balance.d.ts +6 -0
- package/build/components/checkout/components/svg/credit-balance.js +1 -0
- package/build/components/checkout/components/svg/gift-cart-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/gift-cart-tag.js +1 -0
- package/build/components/checkout/components/svg/gift-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/gift-loyalty.js +1 -0
- package/build/components/checkout/components/svg/info.d.ts +6 -0
- package/build/components/checkout/components/svg/info.js +1 -0
- package/build/components/checkout/components/svg/left-arrow-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/left-arrow-loyalty.js +1 -0
- package/build/components/checkout/components/svg/package-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/package-loyalty.js +1 -0
- package/build/components/checkout/components/svg/percentage-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/percentage-loyalty.js +1 -0
- package/build/components/checkout/components/svg/refresh.d.ts +6 -0
- package/build/components/checkout/components/svg/refresh.js +1 -0
- package/build/components/checkout/components/svg/star-loyalty.d.ts +6 -0
- package/build/components/checkout/components/svg/star-loyalty.js +1 -0
- package/build/components/checkout/components/svg/store-credit-tag.d.ts +6 -0
- package/build/components/checkout/components/svg/store-credit-tag.js +1 -0
- package/build/components/checkout/components/svg/subscription.d.ts +6 -0
- package/build/components/checkout/components/svg/subscription.js +1 -0
- package/build/components/checkout/components/tkpay/index.d.ts +8 -0
- package/build/components/checkout/components/tkpay/index.js +1 -0
- package/build/components/checkout/index.d.ts +1 -0
- package/build/components/checkout/index.js +1 -1
- package/build/components/checkout/model.d.ts +167 -8
- package/build/components/checkout/model.js +1 -1
- package/build/components/checkout/modelMasterPass.d.ts +6 -2
- package/build/components/checkout/modelMasterPass.js +1 -1
- package/build/components/checkout/steps/step-info/index.js +1 -1
- package/build/components/checkout/steps/step-info/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -1
- package/build/components/checkout/steps/step-payment/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/header.d.ts +4 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/header.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/index.d.ts +14 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/login-required.d.ts +13 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/login-required.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/miles-smiles-logo.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/miles-smiles-logo.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.d.ts +7 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/index.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/store-credit/style.module.scss.js +1 -0
- package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -1
- package/build/components/checkout/steps/step-shipping/index.js +1 -1
- package/build/components/checkout/steps/step-success/index.js +1 -1
- package/build/components/checkout/style.module.scss.js +1 -1
- package/build/components/image/index.d.ts +1 -0
- package/build/components/image/index.js +1 -1
- package/build/components/index.d.ts +3 -0
- package/build/components/page/head.js +1 -1
- package/build/components/page/index.d.ts +1 -1
- package/build/components/page/index.js +1 -1
- package/build/components/page/widgets/common.d.ts +2 -0
- package/build/components/page/widgets/common.js +1 -0
- package/build/components/page/widgets/loyaltyWidget.d.ts +13 -0
- package/build/components/page/widgets/loyaltyWidget.js +1 -0
- package/build/components/page/widgets/popupWidget.d.ts +16 -0
- package/build/components/page/widgets/popupWidget.js +1 -0
- package/build/components/page-editor/ThemeComponentEditor.js +1 -1
- package/build/components/page-editor/model.d.ts +2 -0
- package/build/components/page-editor/model.js +1 -1
- package/build/components/pay-with-ikas/index.d.ts +9 -0
- package/build/components/pay-with-ikas/index.js +1 -0
- package/build/components/paypal-express-checkout/index.d.ts +9 -0
- package/build/components/paypal-express-checkout/index.js +1 -0
- package/build/components/plain-image/index.d.ts +13 -0
- package/build/components/plain-image/index.js +1 -0
- package/build/ext/@ikas/fe-api-client/build/config/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/getCountryCallingCode.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/isSupportedCountry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/libphonenumber-js/min/exports/parsePhoneNumber.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/ObserverComponent.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/observer.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/useObserver.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/UniversalFinalizationRegistry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/assertEnvironment.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerBatching.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/observerFinalizationRegistry.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/ext/mobx-react-lite/es/utils/printDebugValue.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/button-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/checkbox-item-view/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/input-item-view/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/get-countries.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/form-element-renderer/phone-input-item-view/index.js +1 -0
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-column-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/image-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/product-list-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/components/social-element-renderer/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/helpers/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/form/form-settings/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/image-column/index.js +1 -1
- package/build/ext/@ikas/popup-renderer/build/popup-renderer/models/modal/step/elements/product/index.js +1 -1
- package/build/hooks/useCustomerReviews.d.ts +2 -0
- package/build/hooks/useCustomerReviews.js +1 -1
- package/build/hooks/useDimension.js +1 -1
- package/build/hooks/useStore.js +1 -1
- package/build/index.js +1 -1
- package/build/models/data/checkout-settings/address-field-restriction/index.d.ts +10 -0
- package/build/models/data/checkout-settings/address-field-restriction/index.js +1 -0
- package/build/models/data/checkout-settings/index.d.ts +3 -0
- package/build/models/data/checkout-settings/index.js +1 -1
- package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +1 -0
- package/build/models/data/customer/address/ikas-localized-customer-address.js +1 -1
- package/build/models/data/customer/review/index.d.ts +4 -1
- package/build/models/data/customer/review/index.js +1 -1
- package/build/models/data/index.d.ts +6 -0
- package/build/models/data/order/address/ikas-localized-order-address.d.ts +1 -0
- package/build/models/data/order/address/ikas-localized-order-address.js +1 -1
- package/build/models/data/order/adjustment/index.d.ts +3 -1
- package/build/models/data/order/adjustment/index.js +1 -1
- package/build/models/data/order/gift-card-line/index.d.ts +2 -1
- package/build/models/data/order/gift-card-line/index.js +1 -1
- package/build/models/data/order/index.d.ts +21 -2
- package/build/models/data/order/index.js +1 -1
- package/build/models/data/order/line-item/bundle-product-settings/index.d.ts +7 -0
- package/build/models/data/order/line-item/bundle-product-settings/index.js +1 -0
- package/build/models/data/order/line-item/index.d.ts +9 -1
- package/build/models/data/order/line-item/index.js +1 -1
- package/build/models/data/order/line-item/order-line-item-subscription-plan/index.d.ts +8 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/index.js +1 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.d.ts +6 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-discount/index.js +1 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.d.ts +14 -0
- package/build/models/data/order/line-item/order-line-item-subscription-plan/order-line-item-subscription-plan-period/index.js +1 -0
- package/build/models/data/order/loyalty-line/index.d.ts +9 -0
- package/build/models/data/order/loyalty-line/index.js +1 -0
- package/build/models/data/order/order-transaction-with-prices/index.d.ts +1 -0
- package/build/models/data/order/order-transaction-with-prices/index.js +1 -1
- package/build/models/data/order/refund/reason/index.d.ts +8 -0
- package/build/models/data/order/refund/reason/index.js +1 -0
- package/build/models/data/order/refund/reason/translation/index.d.ts +6 -0
- package/build/models/data/order/refund/reason/translation/index.js +1 -0
- package/build/models/data/order/refund/refundable-line/index.d.ts +10 -0
- package/build/models/data/order/refund/refundable-line/index.js +1 -0
- package/build/models/data/order/refund/refundable-lines/index.d.ts +10 -0
- package/build/models/data/order/refund/refundable-lines/index.js +1 -0
- package/build/models/data/order/refund/settings/index.d.ts +1 -0
- package/build/models/data/order/refund/settings/index.js +1 -1
- package/build/models/data/order/refund/settings/translation/index.d.ts +6 -0
- package/build/models/data/order/refund/settings/translation/index.js +1 -0
- package/build/models/data/payment-gateway/index.d.ts +1 -0
- package/build/models/data/payment-gateway/index.js +1 -1
- package/build/models/data/product/campaign-offer/index.d.ts +2 -0
- package/build/models/data/product/campaign-offer/index.js +1 -1
- package/build/models/data/product/filter/index.d.ts +2 -0
- package/build/models/data/product/filter/index.js +1 -1
- package/build/models/data/product/index.d.ts +10 -0
- package/build/models/data/product/index.js +1 -1
- package/build/models/data/product/translations/index.d.ts +7 -0
- package/build/models/data/product/translations/index.js +1 -0
- package/build/models/data/product/variant/bundle-settings/bundle-product/index.js +1 -1
- package/build/models/data/product/variant/index.d.ts +3 -0
- package/build/models/data/product/variant/index.js +1 -1
- package/build/models/data/product/variant/subscription-plan/index.d.ts +12 -0
- package/build/models/data/product/variant/subscription-plan/index.js +1 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-discount/index.d.ts +6 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.d.ts +23 -0
- package/build/models/data/product/variant/subscription-plan/product-subscription-plan-period/index.js +1 -0
- package/build/models/data/store-credit-balance/index.d.ts +26 -0
- package/build/models/data/store-credit-balance/index.js +1 -0
- package/build/models/data/storefront/index.d.ts +1 -0
- package/build/models/data/storefront/index.js +1 -1
- package/build/models/data/storefront-popup/index.d.ts +1 -0
- package/build/models/data/storefront-popup/index.js +1 -1
- package/build/models/data/storefront-popup/storefront-popup-display-filter/index.d.ts +4 -7
- package/build/models/data/storefront-popup/storefront-popup-display-filter/index.js +1 -1
- package/build/models/data/theme-json/component/prop/index.d.ts +1 -0
- package/build/models/data/theme-json/component/prop/index.js +1 -1
- package/build/models/data/theme-json/custom-data/index.d.ts +1 -0
- package/build/models/data/theme-json/custom-data/index.js +1 -1
- package/build/models/data/theme-json/index.js +1 -1
- package/build/models/ui/blog-category-list/index.js +1 -1
- package/build/models/ui/blog-list/index.d.ts +10 -1
- package/build/models/ui/blog-list/index.js +1 -1
- package/build/models/ui/brand-list/index.js +1 -1
- package/build/models/ui/category-list/index.js +1 -1
- package/build/models/ui/customer-review-list/index.d.ts +8 -0
- package/build/models/ui/customer-review-list/index.js +1 -1
- package/build/models/ui/customer-review-summary-list/index.js +1 -1
- package/build/models/ui/product-list/index.d.ts +25 -2
- package/build/models/ui/product-list/index.js +1 -1
- package/build/models/ui/raffle-list/index.js +1 -1
- package/build/models/ui/validator/form/account-info.js +1 -1
- package/build/models/ui/validator/form/address.js +1 -1
- package/build/models/ui/validator/form/ikas-address.js +1 -1
- package/build/models/ui/validator/form/login.d.ts +20 -6
- package/build/models/ui/validator/form/login.js +1 -1
- package/build/models/ui/validator/form/register.d.ts +15 -6
- package/build/models/ui/validator/form/register.js +1 -1
- package/build/page-data-init/index.d.ts +22 -0
- package/build/page-data-init/index.js +1 -1
- package/build/pages/checkout.js +1 -1
- package/build/store/blog/index.js +1 -1
- package/build/store/brand/index.js +1 -1
- package/build/store/cart/api.d.ts +3 -1
- package/build/store/cart/api.js +1 -1
- package/build/store/cart/index.d.ts +28 -2
- package/build/store/cart/index.js +1 -1
- package/build/store/category/index.js +1 -1
- package/build/store/checkout/index.d.ts +9 -1
- package/build/store/checkout/index.js +1 -1
- package/build/store/customer/api.d.ts +35 -13
- package/build/store/customer/api.js +1 -1
- package/build/store/customer/index.d.ts +87 -9
- package/build/store/customer/index.js +1 -1
- package/build/store/html-meta-data/index.js +1 -1
- package/build/store/index.d.ts +2 -0
- package/build/store/location/index.js +1 -1
- package/build/store/product/index.d.ts +2 -1
- package/build/store/product/index.js +1 -1
- package/build/utils/helper.d.ts +2 -0
- package/build/utils/helper.js +1 -1
- package/build/utils/miles-smiles.d.ts +19 -0
- package/build/utils/miles-smiles.js +1 -0
- package/package.json +18 -16
- package/build/components/popup/index.d.ts +0 -2
- package/build/components/popup/index.js +0 -1
- package/build/components/popup/renderer/index.d.ts +0 -8
- package/build/components/popup/renderer/index.js +0 -1
- package/build/components/popup/renderer/model.d.ts +0 -24
- package/build/components/popup/renderer/model.js +0 -1
- package/build/components/popup/utils/index.d.ts +0 -13
- package/build/components/popup/utils/index.js +0 -1
- package/build/store/storefront-popup/index.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{observer as t}from"mobx-react-lite";import"../../../../../models/data/blog/category/index.js";import"../../../../../models/data/blog/content/index.js";import"../../../../../models/data/blog/meta-data/index.js";import"../../../../../models/data/blog/tag/index.js";import"../../../../../models/data/blog/index.js";import"../../../../../models/data/brand/index.js";import{IkasPaymentMethodType as a,IkasPaymentGatewayType as n,IkasPaymentGatewayTransactionFeeType as o,IkasPaymentGatewayAdditionalPriceType as r}from"@ikas/storefront-models";import"mobx";import"../../../../../models/data/campaign-offer/index.js";import"../../../../../models/data/cart/campaign-offer/index.js";import"../../../../../models/data/cart/index.js";import"../../../../../models/data/category/path-item/index.js";import"../../../../../models/data/category/index.js";import"../../../../../models/data/checkout/index.js";import"../../../../../models/data/checkout-settings/index.js";import"../../../../../models/data/city/index.js";import"../../../../../models/data/country/index.js";import"../../../../../models/data/customer/address/region/index.js";import"../../../../../models/data/customer/address/index.js";import"../../../../../models/data/customer/address/ikas-localized-customer-address.js";import"../../../../../models/data/customer/attribute/index.js";import"../../../../../models/data/customer/review/summary/index.js";import"../../../../../models/data/customer/review/index.js";import"../../../../../models/data/customer/index.js";import"../../../../../models/data/customer-form-data-input/index.js";import"../../../../../models/data/district/index.js";import"../../../../../models/data/favorite-product/index.js";import"../../../../../models/data/filter-category/index.js";import"../../../../../models/data/html-meta-data/index.js";import"../../../../../models/data/image/index.js";import"../../../../../models/data/order/address/region/index.js";import"../../../../../models/data/order/address/index.js";import"../../../../../models/data/order/line-item/option/value/index.js";import"../../../../../models/data/order/line-item/variant/value/index.js";import"../../../../../models/data/order/line-item/variant/index.js";import"../../../../../models/data/order/line-item/index.js";import"../../../../../models/data/order/order-transaction-with-prices/index.js";import"../../../../../models/data/order/package/index.js";import"../../../../../models/data/order/transaction/index.js";import"../../../../../models/data/order/index.js";import"../../../../../models/data/payment-gateway/index.js";import"../../../../../models/data/product/attribute-value/index.js";import"../../../../../models/data/product/filter/index.js";import"../../../../../models/data/product/campaign-offer/index.js";import"../../../../../models/data/product/option-set/option/index.js";import"../../../../../models/data/product/option-set/index.js";import"../../../../../models/data/product/stock-location/index.js";import"../../../../../models/data/product/variant/price/index.js";import"../../../../../models/data/product/variant/index.js";import"../../../../../models/data/variant-type/index.js";import"../../../../../models/data/product/index.js";import"../../../../../models/data/raffle/index.js";import"../../../../../models/data/shipping-zone/state/city/district/region/index.js";import"../../../../../models/data/state/index.js";import"../../../../../models/data/storefront-popup/storefront-popup-display-filter/index.js";import"../../../../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../../../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../../../../models/data/storefront-popup/index.js";import"../../../../../models/data/theme-json/index.js";import"../../../../../models/data/theme-json/component/index.js";import"../../../../../models/data/theme-json/custom-data/index.js";import"../../../../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import{CreditCardForm as d}from"../../../components/credit-card-form/index.js";import{Installments as m}from"./installments/index.js";import i from"../../../components/select-box/index.js";import s from"./style.module.scss.js";import"@ikas/storefront-config";import{formatCurrency as l}from"../../../../../utils/currency.js";import{useTranslation as c}from"../../../../../utils/i18n.js";import p from"../../../components/svg/external.js";import u from"next/dynamic";import y from"../../../components/credit-card-form/model.js";import x from"../../../components/master-pass/credit-card-form/index.js";import{Toggle as f}from"../../../components/toggle/index.js";import v from"../../../components/select-box/style.module.scss.js";import j from"../../../components/master-pass/payment-gateway/svg/master-card.js";import E from"../../../components/master-pass/payment-gateway/svg/troy.js";import g from"../../../components/master-pass/payment-gateway/svg/visa.js";var P=u((function(){return import("../../../components/stripe/index.js").then((function(e){return e.default}))})),w=u((function(){return import("../../../components/adyen/index.js").then((function(e){return e.Adyen}))})),h=u((function(){return import("../../../components/klarna/index.js").then((function(e){return e.Klarna}))})),C=t((function(t){var u=t.vm,C=c().t,k=function(t){return e.createElement("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",flexWrap:"wrap"}},t.children)},G=function(t){return e.createElement("div",{className:s.AdditionalPrice},t.children)},I=function(e){return 0===e.amount?"":"".concat(e.amountType===o.AMOUNT?l(e.amount,u.checkout.currencyCode,u.checkout.currencySymbol):" %"+e.amount).concat(e.type===r.DECREMENT?" "+C("checkout-page:paymentMethodDiscount"):" "+C("checkout-page:paymentMethodAdditionalPrice"))},N=function(e){return"STRIPE"===e.code||"STRIPE_EU"===e.code},M=function(){var t,a=u.selectedPaymentGatewayIndex===u.klarnaPaymentGatewayIndex;return u.klarnaPaymentGateway?e.createElement("div",{className:v.SelectBoxContainer},e.createElement("div",{className:"".concat(v.SelectBox," ").concat(a?v.Selected:""),onClick:function(){u.setPaymentGateway(u.klarnaPaymentGatewayIndex),u.mpVM.selectedCard=void 0}},e.createElement("div",{className:v.TopContent},e.createElement(f,{value:a,label:u.klarnaPaymentGateway.name,removePadding:!0}),e.createElement("div",{className:v.RightContent},(null===(t=u.klarnaPaymentGateway.additionalPrices)||void 0===t?void 0:t.length)?e.createElement(G,null,I(u.klarnaPaymentGateway.additionalPrices[0])):e.createElement(k,null,!!u.klarnaPaymentGateway.logoUrl&&e.createElement("div",{className:s.PaymentLogoContainer},e.createElement("img",{src:u.klarnaPaymentGateway.logoUrl}))))),e.createElement("div",{className:"".concat(a?v.BottomContent:""," ").concat(a?"":s.Hidden)},e.createElement(h,{vm:u}),u.klarnaError&&e.createElement("div",{className:s.ErrorMessage},u.klarnaError.data)))):null},T=function(){var t=u.selectedPaymentGatewayIndex===u.adyenPaymentGatewayIndex;return u.adyenPaymentGateway?e.createElement("div",{className:v.SelectBoxContainer},e.createElement("div",{className:"".concat(v.SelectBox," ").concat(v.AdyenSelectBox),onClick:function(){u.setPaymentGateway(u.adyenPaymentGatewayIndex),u.mpVM.selectedCard=void 0}},e.createElement("div",{className:v.TopContent}),e.createElement("div",{className:"".concat(t?v.BottomContent:""," "),style:{paddingTop:0}},e.createElement(w,{vm:u,isSelected:t})))):null},b=function(){var t,a=u.selectedPaymentGatewayIndex===u.payPalPaymentGatewayIndex;return u.payPalPaymentGateway?e.createElement("div",{className:v.SelectBoxContainer},e.createElement("div",{className:"".concat(v.SelectBox," ").concat(a?v.Selected:""),onClick:function(){u.setPaymentGateway(u.payPalPaymentGatewayIndex),u.mpVM.selectedCard=void 0}},e.createElement("div",{className:v.TopContent},e.createElement(f,{value:a,label:u.payPalPaymentGateway.name,removePadding:!0}),e.createElement("div",{className:v.RightContent},(null===(t=u.payPalPaymentGateway.additionalPrices)||void 0===t?void 0:t.length)?e.createElement(G,null,I(u.payPalPaymentGateway.additionalPrices[0])):e.createElement(k,null,!!u.payPalPaymentGateway.logoUrl&&e.createElement("div",{className:s.PaymentLogoContainer},e.createElement("img",{src:u.payPalPaymentGateway.logoUrl}))))))):null};return e.createElement(e.Fragment,null,!!u.mpVM.cards.length&&u.mpVM.cards.map((function(t,o){var r,d=u.paymentGateways.find((function(e){return e.id===t.paymentGatewayId})),l=e.createElement("button",{className:s.MasterPassSelectBoxDeleteButton,onClick:function(e){e.stopPropagation(),u.mpVM.deleteCard({store:u.store,checkout:u.checkout,card:t})}},C("checkout-page:masterPass.paymentGatewaySelectBox.delete")),c=function(e){return t.Value1.startsWith(e)},p=c("4"),x=c("5")||c("6"),f=c("9"),v=e.createElement("div",{style:{display:"flex",alignItems:"center"}},e.createElement("span",{className:s.MasterPassSelectBoxLabelLogo},p&&e.createElement(g,null),x&&e.createElement(j,null),f&&e.createElement(E,null)),t.Name," ",t.Value1),P=(null==d?void 0:d.id)&&d.paymentMethodType===a.CREDIT_CARD&&d.type===n.INTERNAL?u.installmentInfo&&e.createElement(m,{vm:u}):void 0;return e.createElement(i,{key:o,isSelected:(null===(r=u.mpVM.selectedCard)||void 0===r?void 0:r.UniqueId)===t.UniqueId,label:v,rightContent:l,bottomContent:P,onClick:function(){var e;(null===(e=u.mpVM.selectedCard)||void 0===e?void 0:e.UniqueId)!==t.UniqueId&&(u.checkout.selectedPaymentGateway=null,u.cardData=new y,u.installmentInfo=void 0,u.mpVM.selectedCard=t,t.Value1&&t.paymentGatewayId&&u.checkout.totalFinalPrice&&u.retrieveInstallmentInfo({input:{orderId:u.checkout.id,binNumber:t.Value1.slice(0,6),paymentGatewayId:t.paymentGatewayId,price:u.checkout.totalFinalPrice,currencyCode:u.checkout.currencyCode}}))}})})),u.paymentGateways.filter((function(e){return"in-store"!==u.deliveryMethod&&!u.isDigitalOnly||e.paymentMethodType!==a.CASH_ON_DELIVERY&&e.paymentMethodType!==a.CREDIT_CARD_ON_DELIVERY})).map((function(t,o){var r;if(function(e){return"KLARNA"===e.code}(t)&&u.klarnaPaymentGateway)return M();if(function(e){return"ADYEN_PLATFORM"===e.code}(t)&&u.adyenPaymentGateway)return T();if(function(e){return"PAYPAL"===e.code}(t)&&u.payPalPaymentGateway)return b();var l=t.paymentMethodType===a.CREDIT_CARD&&t.type===n.INTERNAL?e.createElement(e.Fragment,null,N(t)?e.createElement(e.Fragment,null,e.createElement(P,{vm:u,pg:t}),u.stripeError&&e.createElement("div",{className:s.ErrorMessage},u.stripeError.data)):e.createElement("div",null,e.createElement(d,{vm:u}),u.isPaymentGatewayHasMasterPass&&e.createElement(x,{vm:u}),u.installmentInfo&&e.createElement(m,{vm:u}))):t.description?e.createElement(e.Fragment,null,t.type===n.EXTERNAL&&e.createElement("div",{style:{height:"52px",display:"flex",justifyContent:"center",margin:"24px 0"}},e.createElement(p,null)),e.createElement("div",{dangerouslySetInnerHTML:{__html:t.description}})):void 0;return e.createElement(i,{key:t.id,label:t.paymentMethodType===a.CREDIT_CARD&&t.type===n.INTERNAL?N(t)?t.name:C("checkout-page:creditCard"):t.name,isSelected:u.selectedPaymentGatewayIndex===o,rightContent:(null===(r=t.additionalPrices)||void 0===r?void 0:r.length)?e.createElement(G,null,I(t.additionalPrices[0])):e.createElement(k,null,!!t.logoUrl&&e.createElement("div",{className:s.PaymentLogoContainer},e.createElement("img",{src:t.logoUrl}))),bottomContent:l,onClick:function(){u.selectedPaymentGatewayIndex!==o&&(u.setPaymentGateway(o),u.mpVM.selectedCard=void 0)}})})))}));export{C as PaymentGateways};
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import"../../../../../models/data/blog/category/index.js";import"../../../../../models/data/blog/content/index.js";import"../../../../../models/data/blog/meta-data/index.js";import"../../../../../models/data/blog/tag/index.js";import"../../../../../models/data/blog/index.js";import"../../../../../models/data/brand/index.js";import{IkasPaymentMethodType as a,IkasPaymentGatewayTransactionFeeType as n,IkasPaymentGatewayAdditionalPriceType as o,IkasPaymentGatewayType as i}from"@ikas/storefront-models";import"mobx";import"../../../../../models/data/campaign-offer/index.js";import"../../../../../models/data/cart/campaign-offer/index.js";import"../../../../../models/data/cart/index.js";import"../../../../../models/data/category/path-item/index.js";import"../../../../../models/data/category/index.js";import"../../../../../models/data/checkout/index.js";import"../../../../../models/data/checkout-settings/index.js";import"../../../../../models/data/city/index.js";import"../../../../../models/data/country/index.js";import"../../../../../models/data/customer/address/region/index.js";import"../../../../../models/data/customer/address/index.js";import"../../../../../models/data/customer/address/ikas-localized-customer-address.js";import"../../../../../models/data/customer/attribute/index.js";import"../../../../../models/data/customer/review/summary/index.js";import"../../../../../models/data/customer/review/index.js";import"../../../../../models/data/customer/index.js";import"../../../../../models/data/customer-form-data-input/index.js";import"../../../../../models/data/district/index.js";import"../../../../../models/data/favorite-product/index.js";import"../../../../../models/data/filter-category/index.js";import"../../../../../models/data/html-meta-data/index.js";import"../../../../../models/data/image/index.js";import"../../../../../models/data/order/address/region/index.js";import"../../../../../models/data/order/address/index.js";import"../../../../../models/data/order/line-item/option/value/index.js";import"../../../../../models/data/order/line-item/variant/value/index.js";import"../../../../../models/data/order/line-item/variant/index.js";import"../../../../../models/data/order/line-item/index.js";import"../../../../../models/data/order/order-transaction-with-prices/index.js";import"../../../../../models/data/order/package/index.js";import"../../../../../models/data/order/transaction/index.js";import"../../../../../models/data/order/index.js";import"../../../../../models/data/payment-gateway/index.js";import"../../../../../models/data/product/attribute-value/index.js";import"../../../../../models/data/product/filter/index.js";import"../../../../../models/data/product/campaign-offer/index.js";import"../../../../../models/data/product/option-set/option/index.js";import"../../../../../models/data/product/option-set/index.js";import"../../../../../models/data/product/stock-location/index.js";import"../../../../../models/data/product/variant/price/index.js";import"../../../../../models/data/product/variant/index.js";import"../../../../../models/data/variant-type/index.js";import"../../../../../models/data/product/index.js";import"../../../../../models/data/raffle/index.js";import"../../../../../models/data/shipping-zone/state/city/district/region/index.js";import"../../../../../models/data/state/index.js";import"../../../../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../../../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../../../../models/data/storefront-popup/index.js";import"../../../../../models/data/theme-json/index.js";import"../../../../../models/data/theme-json/component/index.js";import"../../../../../models/data/theme-json/custom-data/index.js";import"../../../../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import{CreditCardForm as r}from"../../../components/credit-card-form/index.js";import{SecureCardForm as c}from"../../../components/secure-card-form/index.js";import{Installments as l}from"./installments/index.js";import m from"../../../components/select-box/index.js";import d from"./style.module.scss.js";import{IkasStorefrontConfig as s}from"@ikas/storefront-config";import{formatCurrency as y}from"../../../../../utils/currency.js";import{createTranslationInputData as p,useTranslation as u}from"../../../../../utils/i18n.js";import v from"../../../components/svg/external.js";import P from"next/dynamic";import E from"../../../components/credit-card-form/model.js";import f from"../../../components/master-pass/credit-card-form/index.js";import{Toggle as x}from"../../../components/toggle/index.js";import g from"../../../components/select-box/style.module.scss.js";import C from"../../../components/master-pass/payment-gateway/svg/master-card.js";import k from"../../../components/master-pass/payment-gateway/svg/troy.js";import h from"../../../components/master-pass/payment-gateway/svg/visa.js";import{Checkbox as j}from"../../../components/checkbox/index.js";import w from"../../../components/svg/info.js";var G=P((function(){return import("../../../components/stripe/index.js").then((function(e){return e.default}))})),T=P((function(){return import("../../../components/adyen/index.js").then((function(e){return e.Adyen}))})),N=P((function(){return import("../../../components/klarna/index.js").then((function(e){return e.Klarna}))})),I=P((function(){return import("../../../components/hepsipay/index.js").then((function(e){return e.HepsiPay}))})),S=P((function(){return import("../../../components/iyzico/index.js").then((function(e){return e.Iyzico}))})),b=P((function(){return import("../../../components/tkpay/index.js").then((function(e){return e.TkPay}))})),M=t((function(P){var M=P.vm,A=u().t,B=function(t){return e.createElement("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",flexWrap:"wrap"}},t.children)},R=function(t){return e.createElement("div",{className:d.AdditionalPrice},t.children)},V=function(e){return 0===e.amount?"":"".concat(e.amountType===n.AMOUNT?y(e.amount,M.checkout.currencyCode,M.checkout.currencySymbol):" %"+e.amount).concat(e.type===o.DECREMENT?" "+A("checkout-page:paymentMethodDiscount"):" "+A("checkout-page:paymentMethodAdditionalPrice"))},z=function(e){return"STRIPE"===e.code||"STRIPE_EU"===e.code},D=function(){var t,a=M.selectedPaymentGatewayIndex===M.klarnaPaymentGatewayIndex;return M.klarnaPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(a?g.Selected:""),onClick:function(){M.setPaymentGateway(M.klarnaPaymentGatewayIndex),M.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent},e.createElement(x,{value:a,label:M.klarnaPaymentGateway.name,removePadding:!0}),e.createElement("div",{className:g.RightContent},(null===(t=M.klarnaPaymentGateway.additionalPrices)||void 0===t?void 0:t.length)?e.createElement(R,null,V(M.klarnaPaymentGateway.additionalPrices[0])):e.createElement(B,null,!!M.klarnaPaymentGateway.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:M.klarnaPaymentGateway.logoUrl}))))),e.createElement("div",{className:"".concat(a?g.BottomContent:""," ").concat(a?"":d.Hidden)},e.createElement(N,{vm:M}),M.klarnaError&&e.createElement("div",{className:d.ErrorMessage},M.klarnaError.data)))):null},L=function(){var t,a=M.selectedPaymentGatewayIndex===M.hepsiPayPaymentGatewayIndex;return M.hepsiPayPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(a?g.Selected:""),onClick:function(){M.setPaymentGateway(M.hepsiPayPaymentGatewayIndex),M.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent},e.createElement(x,{value:a,label:"Kredi / Banka Kartı - Hepsipay",removePadding:!0}),e.createElement("div",{className:g.RightContent},(null===(t=M.hepsiPayPaymentGateway.additionalPrices)||void 0===t?void 0:t.length)?e.createElement(R,null,V(M.hepsiPayPaymentGateway.additionalPrices[0])):e.createElement(B,null,!!M.hepsiPayPaymentGateway.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:M.hepsiPayPaymentGateway.logoUrl}))))),e.createElement("div",{className:"".concat(a?g.BottomContent:""," ").concat(a?"":d.Hidden)},e.createElement(I,{vm:M})))):null},U=function(){var t=M.selectedPaymentGatewayIndex===M.adyenPaymentGatewayIndex;return M.adyenPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(g.AdyenSelectBox),onClick:function(){M.setPaymentGateway(M.adyenPaymentGatewayIndex),M.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent}),e.createElement("div",{className:"".concat(t?g.BottomContent:""," "),style:{paddingTop:0}},e.createElement(T,{vm:M,isSelected:t})))):null},_=function(){var t,a=M.selectedPaymentGatewayIndex===M.payPalPaymentGatewayIndex;return M.payPalPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(a?g.Selected:""),onClick:function(){M.setPaymentGateway(M.payPalPaymentGatewayIndex),M.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent},e.createElement(x,{value:a,label:M.payPalPaymentGateway.name,removePadding:!0}),e.createElement("div",{className:g.RightContent},(null===(t=M.payPalPaymentGateway.additionalPrices)||void 0===t?void 0:t.length)?e.createElement(R,null,V(M.payPalPaymentGateway.additionalPrices[0])):e.createElement(B,null,!!M.payPalPaymentGateway.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:M.payPalPaymentGateway.logoUrl}))))))):null},O=t((function(t){var a,n=t.vm;e.useEffect((function(){n.isTermsAndConditionsChecked&&n.setShowIyzicoContainer(!0)}),[n.isTermsAndConditionsChecked]);var o=e.useCallback((function(e){e.stopPropagation(),n.policyModalTitle=A("checkout-page:privacyPolicy"),n.policyModalText=n.privacyPolicy}),[n,n.privacyPolicy]),i=e.useCallback((function(e){e.stopPropagation(),n.policyModalTitle=A("checkout-page:termsOfService"),n.policyModalText=n.termsOfService}),[n,n.termsOfService]),r=s.getTranslations()["checkout-page"],c=p(r.ackPoliciesSentence).map((function(t){return t.isVariable?e.createElement("span",{className:[d.TermsLabelSpan,n.isErrorsVisible&&!n.isTermsAndConditionsChecked?d.Error:""].join(" "),onClick:"{{ ackPrivacyPolicy }}"===t.value?o:i},"{{ ackPrivacyPolicy }}"===t.value?A("checkout-page:ackPrivacyPolicy"):A("checkout-page:ackTermsOfService")):t.value})),l=n.selectedPaymentGatewayIndex===n.iyzicoPaymentGatewayIndex;return n.iyzicoPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(l?g.Selected:""," ").concat(d.IyzicoBottomContent),onClick:function(){n.setPaymentGateway(n.iyzicoPaymentGatewayIndex),n.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent},e.createElement(x,{value:l,label:A("checkout-page:creditCard"),removePadding:!0}),e.createElement("div",{className:g.RightContent},(null===(a=n.iyzicoPaymentGateway.additionalPrices)||void 0===a?void 0:a.length)?e.createElement(R,null,V(n.iyzicoPaymentGateway.additionalPrices[0])):e.createElement(B,null,!!n.iyzicoPaymentGateway.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:n.iyzicoPaymentGateway.logoUrl}))))),e.createElement("div",{className:"".concat(l?g.BottomContent:""," ").concat(l?"":d.Hidden," ")},e.createElement("div",{className:d.IyzicoCheckboxContainer},e.createElement(j,{value:n.isTermsAndConditionsChecked,hasError:n.isErrorsVisible&&!n.isTermsAndConditionsChecked,label:e.createElement(e.Fragment,null,c),removePadding:!0,onChange:n.onTermsAndConditionsCheckedChange})),!n.isTermsAndConditionsChecked&&e.createElement("div",{className:[d.IyzicoDescription,n.iyzicoResponse?d.WithBottomMargin:""].join(" ")},e.createElement(w,null),A("checkout-page:iyzicoDescription")),n.iyzicoResponse&&e.createElement(S,{vm:n})))):null})),H=t((function(t){var a,n=t.vm;e.useEffect((function(){n.isTermsAndConditionsChecked&&n.setShowTkPayContainer(!0)}),[n.isTermsAndConditionsChecked]);var o=e.useCallback((function(e){e.stopPropagation(),n.policyModalTitle=A("checkout-page:privacyPolicy"),n.policyModalText=n.privacyPolicy}),[n,n.privacyPolicy]),i=e.useCallback((function(e){e.stopPropagation(),n.policyModalTitle=A("checkout-page:termsOfService"),n.policyModalText=n.termsOfService}),[n,n.termsOfService]),r=s.getTranslations()["checkout-page"],c=p(r.ackPoliciesSentence).map((function(t){return t.isVariable?e.createElement("span",{className:[d.TermsLabelSpan,n.isErrorsVisible&&!n.isTermsAndConditionsChecked?d.Error:""].join(" "),onClick:"{{ ackPrivacyPolicy }}"===t.value?o:i},"{{ ackPrivacyPolicy }}"===t.value?A("checkout-page:ackPrivacyPolicy"):A("checkout-page:ackTermsOfService")):t.value})),l=n.selectedPaymentGatewayIndex===n.tkPayPaymentGatewayIndex;return n.tkPayPaymentGateway?e.createElement("div",{className:g.SelectBoxContainer},e.createElement("div",{className:"".concat(g.SelectBox," ").concat(l?g.Selected:""," ").concat(d.TkPayBottomContent),onClick:function(){n.setPaymentGateway(n.tkPayPaymentGatewayIndex),n.mpVM.selectedCard=void 0}},e.createElement("div",{className:g.TopContent},e.createElement(x,{value:l,label:n.tkPayPaymentGateway.name,removePadding:!0}),e.createElement("div",{className:g.RightContent},(null===(a=n.tkPayPaymentGateway.additionalPrices)||void 0===a?void 0:a.length)?e.createElement(R,null,V(n.tkPayPaymentGateway.additionalPrices[0])):e.createElement(B,null,!!n.tkPayPaymentGateway.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:n.tkPayPaymentGateway.logoUrl}))))),e.createElement("div",{className:"".concat(l?g.BottomContent:""," ").concat(l?"":d.Hidden," ")},e.createElement("div",{className:d.TkPayCheckboxContainer},e.createElement(j,{value:n.isTermsAndConditionsChecked,hasError:n.isErrorsVisible&&!n.isTermsAndConditionsChecked,label:e.createElement(e.Fragment,null,c),removePadding:!0,onChange:n.onTermsAndConditionsCheckedChange})),!n.isTermsAndConditionsChecked&&e.createElement("div",{className:[d.TkPayDescription,n.tkPayResponse?d.WithBottomMargin:""].join(" ")},e.createElement(w,null),A("checkout-page:tkPayDescription")),n.tkPayResponse&&e.createElement(b,{vm:n})))):null}));return e.createElement(e.Fragment,null,!!M.mpVM.cards.length&&M.mpVM.cards.map((function(t,n){var o,r=M.paymentGateways.find((function(e){return e.id===t.paymentGatewayId})),c=e.createElement("button",{className:d.MasterPassSelectBoxDeleteButton,onClick:function(e){e.stopPropagation(),M.mpVM.deleteCard({store:M.store,checkout:M.checkout,card:t})}},A("checkout-page:masterPass.paymentGatewaySelectBox.delete")),s=function(e){return t.Value1.startsWith(e)},y=s("4"),p=s("5")||s("6"),u=s("9"),v=e.createElement("div",{style:{display:"flex",alignItems:"center"}},e.createElement("span",{className:d.MasterPassSelectBoxLabelLogo},y&&e.createElement(h,null),p&&e.createElement(C,null),u&&e.createElement(k,null)),t.Name," ",t.Value1),P=(null==r?void 0:r.id)&&r.paymentMethodType===a.CREDIT_CARD&&r.type===i.INTERNAL?M.installmentInfo&&e.createElement(l,{vm:M}):void 0;return e.createElement(m,{key:n,isSelected:(null===(o=M.mpVM.selectedCard)||void 0===o?void 0:o.UniqueId)===t.UniqueId,label:v,rightContent:c,bottomContent:P,onClick:function(){var e;(null===(e=M.mpVM.selectedCard)||void 0===e?void 0:e.UniqueId)!==t.UniqueId&&(M.checkout.selectedPaymentGateway=null,M.cardData=new E,M.secureCard.reset(),M.installmentInfo=void 0,M.mpVM.selectedCard=t,t.Value1&&t.paymentGatewayId&&M.checkout.totalFinalPrice&&M.retrieveInstallmentInfo({input:{orderId:M.checkout.id,binNumber:t.Value1.slice(0,8),paymentGatewayId:t.paymentGatewayId,price:M.checkout.totalFinalPrice,currencyCode:M.checkout.currencyCode}}))}})})),M.paymentGateways.filter((function(e){return"in-store"!==M.deliveryMethod&&!M.isDigitalOnly||e.paymentMethodType!==a.CASH_ON_DELIVERY&&e.paymentMethodType!==a.CREDIT_CARD_ON_DELIVERY})).map((function(t,n){var o,s;if(M.useMilesSmiles&&t.id!==(null===(o=M.milesSmilesPaymentGateway)||void 0===o?void 0:o.id))return null;if(function(e){return"KLARNA"===e.code}(t)&&M.klarnaPaymentGateway)return D();if(function(e){return"ADYEN_PLATFORM"===e.code}(t)&&M.adyenPaymentGateway)return U();if(function(e){return"PAYPAL"===e.code}(t)&&M.payPalPaymentGateway)return _();if(function(e){return"HEPSIPAY"===e.code}(t)&&M.hepsiPayPaymentGateway)return L();if(function(e){return"IYZICO"===e.code}(t)&&M.iyzicoPaymentGateway)return e.createElement(O,{vm:M,key:t.id});if(function(e){var t,a;return"TK_PAY"===e.code&&"true"===(null===(a=null===(t=e.settings)||void 0===t?void 0:t.find((function(e){return"tkpay_use_checkout_form"===e.label})))||void 0===a?void 0:a.value)}(t)&&M.tkPayPaymentGateway)return e.createElement(H,{vm:M,key:t.id});var y=t.paymentMethodType===a.CREDIT_CARD&&t.type===i.INTERNAL?e.createElement(e.Fragment,null,z(t)?e.createElement(e.Fragment,null,e.createElement(G,{vm:M,pg:t}),M.stripeError&&e.createElement("div",{className:d.ErrorMessage},M.stripeError.data)):e.createElement("div",null,M.isSecureCardEnabled?e.createElement(c,{vm:M}):e.createElement(r,{vm:M}),M.isPaymentGatewayHasMasterPass&&e.createElement(f,{vm:M}),M.installmentInfo&&e.createElement(l,{vm:M}))):t.description?e.createElement(e.Fragment,null,t.type===i.EXTERNAL&&e.createElement("div",{style:{height:"52px",display:"flex",justifyContent:"center",margin:"24px 0"}},e.createElement(v,null)),e.createElement("div",{dangerouslySetInnerHTML:{__html:t.description}})):void 0;return e.createElement(m,{key:t.id,label:t.paymentMethodType===a.CREDIT_CARD&&t.type===i.INTERNAL?z(t)?t.name:A("checkout-page:creditCard"):t.name,isSelected:M.selectedPaymentGatewayIndex===n,rightContent:(null===(s=t.additionalPrices)||void 0===s?void 0:s.length)?e.createElement(R,null,V(t.additionalPrices[0])):e.createElement(B,null,!!t.logoUrl&&e.createElement("div",{className:d.PaymentLogoContainer},e.createElement("img",{src:t.logoUrl}))),bottomContent:y,keepBottomContentMounted:M.isSecureCardEnabled&&t.id===M.secureCardGatewayId,onClick:function(){M.selectedPaymentGatewayIndex!==n&&(M.setPaymentGateway(n),M.mpVM.selectedCard=void 0)}})})))}));export{M as PaymentGateways};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import s from"./style.module.scss.js";import m from"./miles-smiles-logo.js";var r=function(){return e.createElement("div",{className:s.MilesSmilesBanner},e.createElement(m,{className:s.MilesSmilesBannerLogo}))};export{r as MilesSmilesBanner,r as default};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import CheckoutViewModel from "../../../../model";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
vm: CheckoutViewModel;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Miles&Smiles block on the payment step.
|
|
8
|
+
*
|
|
9
|
+
* Miles are a second SALE on the synthetic MILES_SMILES gateway, charged
|
|
10
|
+
* before the TK_PAY card. The TRY figure shown here is an estimate; the
|
|
11
|
+
* server converts with the merchant's rate when charging.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MilesSmiles: React.FC<Props>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as l}from"mobx-react-lite";import{IkasStorefrontConfig as s}from"@ikas/storefront-config";import{formatCurrency as i}from"../../../../../../utils/currency.js";import{createTranslationInputData as m,useTranslation as t}from"../../../../../../utils/i18n.js";import{Checkbox as a}from"../../../../components/checkbox/index.js";import r from"./style.module.scss.js";import{MilesSmilesBanner as c}from"./header.js";var n=function(e){return e?e.toLocaleString("en-US"):""},o=l((function(l){var o=l.vm,S=t().t,p=o.milesSmilesAvailableMiles,d=o.milesSmilesMaxRedeemable,M=o.milesSmilesRedeemValue,E=o.milesToRedeem>p,g=o.isMilesSmilesTermsAccepted,T=o.isErrorsVisible&&!g,v=function(e){e.stopPropagation(),o.policyModalTitle=S("checkout-page:milesSmilesTerms"),o.policyModalText=o.imprint},h=m(s.getTranslations()["checkout-page"].milesSmilesTermsSentence).map((function(l,s){return l.isVariable?o.imprint?e.createElement("span",{key:s,className:[r.MilesSmilesTermsLink,T?r.MilesSmilesTermsLinkError:""].join(" "),onClick:v},S("checkout-page:milesSmilesTerms")):e.createElement(e.Fragment,{key:s},S("checkout-page:milesSmilesTerms")):e.createElement(e.Fragment,{key:s},l.value)}));return e.createElement("div",{className:r.MilesSmiles},e.createElement(c,null),e.createElement("div",{className:r.MilesSmilesBody},e.createElement("div",{className:r.MilesSmilesHeader},e.createElement("div",{className:r.MilesSmilesTitleWrapper},e.createElement("div",{className:r.MilesSmilesTitle},e.createElement("span",{className:r.MilesSmilesTitleBold},"Miles&Smiles")," ",e.createElement("span",null,S("checkout-page:milesSmilesUseMyMiles"))),e.createElement("div",{className:r.MilesSmilesSubtitle},S("checkout-page:milesSmilesAvailableTotal",{miles:(p||0).toLocaleString("en-US")}))),e.createElement(u,{value:o.useMilesSmiles,onChange:function(e){o.setUseMilesSmiles(e)}})),o.useMilesSmiles&&e.createElement(e.Fragment,null,e.createElement("div",{className:r.MilesSmilesInputRow},e.createElement("div",{className:[r.MilesSmilesInputWrapper,E?r.MilesSmilesInputError:"",g?"":r.MilesSmilesDisabled].join(" ")},e.createElement("input",{className:r.MilesSmilesInput,type:"text",inputMode:"numeric",value:n(o.milesToRedeem),onChange:function(e){var l=e.target.value.replace(/[^\d]/g,"");o.setMilesToRedeem(l?parseInt(l,10):0)},onBlur:function(){o.clampMilesToRedeem()},max:d,disabled:!g}),e.createElement("span",{className:r.MilesSmilesInputUnit},S("checkout-page:milesSmilesUnit"))),o.milesToRedeem>0&&M>0&&e.createElement("span",{className:r.MilesSmilesRedeemText},S("checkout-page:milesSmilesRedeemText",{miles:n(o.milesToRedeem),amount:i(M,o.checkout.currencyCode,o.checkout.currencySymbol)}))),E&&e.createElement("div",{className:r.MilesSmilesErrorText},S("checkout-page:milesSmilesExceedError")),e.createElement("div",{className:[r.MilesSmilesUseAll,g?"":r.MilesSmilesDisabled].join(" ")},e.createElement(a,{value:o.isMilesSmilesAllMilesUsed,label:e.createElement("span",{className:r.MilesSmilesUseAllLabel},S("checkout-page:milesSmilesUseAllMiles")),removePadding:!0,onChange:function(e){g&&o.setUseAllMilesSmiles(e)}})),e.createElement("div",{className:r.MilesSmilesTerms},e.createElement(a,{value:g,hasError:T,label:e.createElement("span",{className:r.MilesSmilesTermsLabel},h),removePadding:!0,onChange:function(e){o.setMilesSmilesTermsAccepted(e)}})),T&&e.createElement("div",{className:r.MilesSmilesErrorText},S("checkout-page:milesSmilesTermsRequiredError"))),o.milesSmilesError&&e.createElement("div",{className:r.MilesSmilesErrorText},o.getMilesSmilesErrorMessage(o.milesSmilesError))))})),u=function(l){var s=l.value,i=l.onChange;return e.createElement("div",{role:"switch","aria-checked":s,onClick:function(){i(!s)},className:[r.ToggleSwitch,s?r.ToggleSwitchActive:""].join(" ")},e.createElement("div",{className:[r.ToggleSwitchThumb,s?r.ToggleSwitchThumbActive:""].join(" ")}))};export{o as MilesSmiles};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import CheckoutViewModel from "../../../../model";
|
|
3
|
+
declare type Props = {
|
|
4
|
+
vm: CheckoutViewModel;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* "Continue with Miles&Smiles" CTA. Shown when the customer is a guest, has
|
|
8
|
+
* no Miles&Smiles link yet, or the short-lived checkout session expired
|
|
9
|
+
* (MILES_SMILES_LOGIN_REQUIRED). Also used as the retry surface for
|
|
10
|
+
* bind / member-details failures.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MilesSmilesLoginRequired: React.FC<Props>;
|
|
13
|
+
export default MilesSmilesLoginRequired;
|
package/build/components/checkout/steps/step-payment/payment-gateways/miles-smiles/login-required.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from"react";import{observer as i}from"mobx-react-lite";import"@ikas/storefront-config";import{useTranslation as s}from"../../../../../../utils/i18n.js";import t from"./style.module.scss.js";import{MilesSmilesBanner as l}from"./header.js";var m=i((function(i){var m=i.vm,o=s().t,r=!m.store.customerStore.customer;return e.createElement("div",{className:t.MilesSmiles},e.createElement(l,null),e.createElement("div",{className:t.MilesSmilesLogin},e.createElement("div",{className:t.MilesSmilesLoginText},e.createElement("span",null,o(r?"checkout-page:milesSmilesLoginPrompt":"checkout-page:milesSmilesBindPrompt")),m.milesSmilesError&&e.createElement("div",{className:t.MilesSmilesErrorText},m.getMilesSmilesErrorMessage(m.milesSmilesError))),e.createElement("button",{type:"button",className:[t.MilesSmilesLoginButton,m.isMilesSmilesBindLoading?t.MilesSmilesLoginButtonBusy:""].join(" "),disabled:m.isMilesSmilesBindLoading,onClick:function(){return m.startMilesSmilesBind()}},o(r?"checkout-page:milesSmilesLoginButton":"checkout-page:milesSmilesBindButton"))))}));export{m as MilesSmilesLoginRequired,m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as C from"react";var e=function(e){var t=e.className;return C.createElement("svg",{width:"121",height:"27",viewBox:"0 0 121 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t},C.createElement("path",{d:"M35.3526 0.0260046C37.7335 0.274351 39.5892 2.2853 39.5909 4.73139C39.5909 7.34542 37.4735 9.46515 34.8594 9.46675C32.2447 9.46675 30.125 7.34856 30.125 4.73452C30.1234 2.12053 32.2416 0 34.856 0C35.0239 0 35.1894 0.00945789 35.3526 0.0260046ZM35.5972 9.13564C38.0281 8.72731 39.6688 6.42466 39.2599 3.99355C38.9193 1.97077 37.2706 0.495051 35.3242 0.291662C34.9315 0.249894 34.5263 0.260957 34.118 0.330296C33.6323 0.410734 33.1803 0.569968 32.7686 0.788318C34.9114 1.51433 36.0637 2.62035 36.1429 3.75273C36.1827 4.45235 35.8583 4.9561 35.4305 5.36915L38.4611 5.15708C38.547 5.15156 38.5746 5.2517 38.47 5.28088L31.2422 7.35329C31.9771 8.36705 33.1201 9.04184 34.3895 9.17427C34.7819 9.21527 35.1871 9.20503 35.5972 9.13564ZM33.6081 4.83701C34.004 3.34635 33.5523 1.78708 32.47 0.957777C30.9963 1.89113 30.1471 3.6459 30.4539 5.47399C30.556 6.07783 30.7735 6.63122 31.0828 7.11838C32.2351 6.79754 33.2485 6.19093 33.6081 4.83701Z",fill:"white"}),C.createElement("path",{d:"M39.259 3.99377C39.6679 6.42488 38.0276 8.72793 35.5963 9.13586C35.1866 9.20524 34.7814 9.21589 34.3886 9.17449C33.1193 9.04206 31.9762 8.36728 31.2413 7.35352L38.4691 5.2811C38.5738 5.25192 38.5465 5.15179 38.4606 5.15731L35.4296 5.36937C35.8579 4.95632 36.1818 4.45256 36.1424 3.75335C36.0628 2.62058 34.9105 1.51455 32.7661 0.788541C33.1798 0.57019 33.6315 0.410956 34.1171 0.330519C34.5258 0.261179 34.931 0.252103 35.3233 0.291884C37.2701 0.495256 38.9188 1.97099 39.259 3.99377ZM30.453 5.47421C30.5555 6.07805 30.7727 6.63144 31.0823 7.1186C32.2342 6.79776 33.2479 6.19155 33.6064 4.83724C34.0035 3.34698 33.5518 1.7873 32.4691 0.9584C30.9958 1.89136 30.1462 3.64613 30.453 5.47421Z",fill:"#CE181E"}),C.createElement("path",{d:"M6.81431 22.6348L2.2123 13.1541H0V26.8022H1.52098V14.9713L6.04405 24.2741H7.52543L12.0485 14.9713V26.8022H13.5695V13.1541H11.377L6.81431 22.6348Z",fill:"white"}),C.createElement("path",{d:"M18.6262 16.551H17.125V26.8023H18.6262V16.551Z",fill:"white"}),C.createElement("path",{d:"M17.8746 12.9368C17.5588 12.9368 17.3117 13.0355 17.134 13.233C16.956 13.4306 16.8672 13.6677 16.8672 13.9442C16.8672 14.2077 16.956 14.4412 17.134 14.6451C17.3117 14.8497 17.5588 14.9515 17.8746 14.9515C18.1907 14.9515 18.4341 14.8525 18.6055 14.6553C18.7763 14.4578 18.8622 14.2206 18.8622 13.9442C18.8622 13.6809 18.7763 13.4473 18.6055 13.243C18.4341 13.0391 18.1907 12.9368 17.8746 12.9368Z",fill:"white"}),C.createElement("path",{d:"M23.4657 13.095H21.9844V26.8025H23.4657V13.095Z",fill:"white"}),C.createElement("path",{d:"M34.0327 20.9164H27.7912C27.8041 20.2977 27.9458 19.7349 28.2159 19.2279C28.4858 18.7212 28.8643 18.3226 29.3515 18.0329C29.8387 17.7432 30.4114 17.5983 31.07 17.5983C32.0048 17.5983 32.7456 17.8915 33.2919 18.4772C33.8383 19.0634 34.0853 19.8766 34.0327 20.9164ZM33.8253 17.1735C33.1208 16.6274 32.1959 16.354 31.0502 16.354C30.0626 16.354 29.2035 16.5779 28.4726 17.0255C27.7419 17.4734 27.1854 18.1019 26.8039 18.9115C26.4218 19.7217 26.2375 20.6598 26.2507 21.7266C26.2636 22.8195 26.471 23.7642 26.8729 24.5608C27.2743 25.3575 27.8503 25.963 28.6011 26.3778C29.3515 26.7927 30.2205 27.0001 31.2081 27.0001C31.7613 27.0001 32.3145 26.9109 32.8675 26.7335C33.4204 26.5555 33.9175 26.2727 34.3585 25.884C34.7997 25.4959 35.132 25.0051 35.356 24.4126L34.2303 23.7807C34.0721 24.1889 33.8416 24.538 33.539 24.8274C33.2358 25.1171 32.8837 25.338 32.4824 25.4893C32.0804 25.6406 31.6494 25.7162 31.1886 25.7162C30.609 25.7162 30.066 25.5977 29.5589 25.3608C29.052 25.1237 28.6308 24.7352 28.2949 24.1952C27.9593 23.6555 27.7912 22.9381 27.7912 22.0424H35.4154C35.5736 21.068 35.524 20.1494 35.2671 19.287C35.0107 18.4249 34.5298 17.7201 33.8253 17.1735Z",fill:"white"}),C.createElement("path",{d:"M44.8754 22.6647C44.5854 22.3024 44.2297 22.0226 43.8085 21.8251C43.3871 21.6275 42.8669 21.4369 42.2482 21.2523L41.8334 21.114C41.8334 21.114 40.5561 20.6928 40.2929 20.561C40.0293 20.4295 39.8255 20.2518 39.6805 20.0279C39.5355 19.804 39.4632 19.5143 39.4632 19.1589C39.4632 18.645 39.6475 18.25 40.0164 17.9735C40.3847 17.6971 40.8854 17.5587 41.5176 17.5587C42.1098 17.5587 42.6069 17.7039 43.0088 17.9933C43.4102 18.283 43.6767 18.7113 43.8085 19.2772L45.1713 18.8425C44.9738 18.0263 44.5559 17.4074 43.9175 16.9859C43.2784 16.5648 42.4916 16.3538 41.5569 16.3538C40.5297 16.3538 39.6706 16.6041 38.9793 17.1045C38.2882 17.6049 37.9425 18.3226 37.9425 19.2574C37.9425 19.8499 38.0905 20.3338 38.3867 20.709C38.683 21.0845 39.0417 21.3775 39.4631 21.5882C39.8843 21.799 40.4243 22.0097 41.0829 22.2204C41.2934 22.2729 42.561 22.7109 42.8308 22.8226C43.1007 22.9345 43.3246 23.096 43.5026 23.3065C43.68 23.5172 43.7755 23.8003 43.789 24.1559C43.789 24.6693 43.578 25.0643 43.1568 25.3408C42.7354 25.6175 42.2089 25.7556 41.5767 25.7556C40.8128 25.7556 40.1941 25.5911 39.7201 25.2618C39.2459 24.9331 38.9499 24.4522 38.831 23.8201L37.5078 24.2943C37.6789 25.1766 38.1232 25.848 38.8409 26.3088C39.5586 26.7699 40.4507 27.0001 41.5175 27.0001C42.1888 27.0001 42.8077 26.8915 43.3741 26.6741C43.9403 26.4568 44.4041 26.1308 44.7664 25.6964C45.1287 25.2618 45.3097 24.7287 45.3097 24.0965C45.3097 23.5042 45.1648 23.027 44.8754 22.6647Z",fill:"white"}),C.createElement("path",{d:"M54.3161 25.1729C53.6842 25.522 52.9797 25.6964 52.2031 25.6964C51.7156 25.6964 51.2678 25.6042 50.8598 25.4196C50.4516 25.2356 50.1319 24.9687 49.9017 24.6199C49.6714 24.2711 49.5562 23.8662 49.5562 23.4051C49.5562 22.8915 49.6844 22.4505 49.9413 22.0816C50.1982 21.7133 50.5206 21.4002 50.9093 21.1436C51.2301 20.9315 51.6342 20.7026 52.1126 20.4589C52.2254 20.5821 52.3354 20.6996 52.44 20.808C52.6243 20.9989 52.835 21.2195 53.0721 21.4696L55.6145 24.1935C55.2178 24.5869 54.7854 24.914 54.3161 25.1729ZM50.9192 16.0775C50.9192 15.4847 51.0967 15.0274 51.4523 14.7045C51.8078 14.3823 52.282 14.2209 52.8743 14.2209C53.4404 14.2209 53.8916 14.3623 54.2275 14.6453C54.5634 14.9287 54.7309 15.3597 54.7309 15.9391C54.7309 16.716 54.4709 17.3679 53.9508 17.8945C53.5381 18.312 53.0504 18.6738 52.4928 18.9838C52.2336 18.7007 52.016 18.454 51.8474 18.2499C51.5313 17.868 51.2975 17.5027 51.1462 17.1536C50.9946 16.8051 50.9192 16.4461 50.9192 16.0775ZM58.4246 22.2693C58.7932 21.3411 59.0105 20.4358 59.0765 19.5535H57.5556C57.5289 20.304 57.3809 21.058 57.1113 21.8151C56.9385 22.2995 56.7226 22.7342 56.4717 23.1292L54.0201 20.5804L53.3161 19.8583C53.4017 19.8094 53.4875 19.7607 53.5659 19.7114C54.0396 19.435 54.471 19.1093 54.8594 18.7338C55.2478 18.3585 55.5672 17.9275 55.8172 17.44C56.0676 16.9531 56.1927 16.4263 56.1927 15.8601C56.1927 15.3069 56.061 14.8101 55.7977 14.3689C55.5342 13.9279 55.1557 13.5821 54.6619 13.3318C54.1681 13.082 53.5788 12.9565 52.8941 12.9565C52.2752 12.9565 51.7024 13.082 51.1756 13.3318C50.6488 13.5821 50.2276 13.9441 49.9118 14.4181C49.5955 14.8924 49.4376 15.4519 49.4376 16.097C49.4376 16.571 49.5297 17.0089 49.7143 17.4106C49.8983 17.8122 50.1487 18.2138 50.4645 18.6155C50.6744 18.882 50.9541 19.2042 51.2917 19.5722C50.755 19.8333 50.2697 20.1062 49.8425 20.3931C49.3619 20.7158 48.9372 21.1436 48.5686 21.677C48.1997 22.2101 48.0156 22.8324 48.0156 23.5435C48.0156 24.2414 48.2063 24.8537 48.5884 25.3803C48.9702 25.9071 49.4772 26.3087 50.1091 26.5849C50.7412 26.8616 51.413 26.9997 52.1239 26.9997C52.8218 26.9997 53.4603 26.9043 54.0396 26.7133C54.6189 26.5227 55.1457 26.2592 55.62 25.9233C55.9309 25.7029 56.2293 25.4468 56.5176 25.1613L58.0493 26.8025H60.0047L57.4199 24.1151C57.8183 23.5652 58.1541 22.9507 58.4246 22.2693Z",fill:"white"}),C.createElement("path",{d:"M68.9418 20.1362C68.3823 19.8531 67.6613 19.5601 66.7793 19.2572C65.923 18.9679 65.2944 18.737 64.8927 18.5659C64.4908 18.3948 64.1486 18.1448 63.8658 17.8152C63.5825 17.4862 63.4411 17.0584 63.4411 16.5314C63.4411 15.8076 63.7241 15.2544 64.2906 14.8726C64.8564 14.4907 65.5213 14.2998 66.2855 14.2998C67.1675 14.2998 67.8753 14.5039 68.4084 14.9119C68.9418 15.3204 69.2808 15.9982 69.426 16.9462L70.9467 16.6304C70.7756 15.4192 70.2783 14.5039 69.4554 13.885C68.6324 13.266 67.6087 12.9565 66.384 12.9565C65.5676 12.9565 64.8204 13.0982 64.1423 13.3813C63.4639 13.6646 62.9242 14.0792 62.5226 14.6255C62.1209 15.1721 61.9135 15.8205 61.9003 16.571C61.9003 17.3743 62.111 18.0359 62.5325 18.5561C62.9536 19.0763 63.4378 19.4647 63.9841 19.7214C64.5307 19.9783 65.2119 20.2383 66.0286 20.5015L66.7001 20.7384C67.6217 21.0547 68.3001 21.3936 68.7344 21.7559C69.1691 22.1182 69.3864 22.6348 69.3864 23.3061C69.3864 24.0439 69.1066 24.6133 68.5468 25.0147C67.987 25.4166 67.299 25.6174 66.4828 25.6174C65.5081 25.6174 64.6919 25.3704 64.0336 24.8763C63.3751 24.3828 62.9932 23.7014 62.8882 22.8323L61.3672 23.3457C61.5119 24.0835 61.8148 24.7255 62.2758 25.2716C62.7366 25.8179 63.3192 26.2427 64.0237 26.5456C64.7283 26.8482 65.5081 26.9997 66.3645 26.9997C67.2465 26.9997 68.0365 26.8482 68.7344 26.5456C69.4323 26.2427 69.9787 25.8116 70.374 25.2518C70.769 24.6923 70.9665 24.0307 70.9665 23.2667C70.9665 22.4767 70.769 21.8283 70.374 21.3213C69.9787 20.8146 69.5014 20.4195 68.9418 20.1362Z",fill:"white"}),C.createElement("path",{d:"M85.7815 16.3538C85.2415 16.3538 84.7249 16.4462 84.2311 16.6306C83.7373 16.8151 83.3026 17.088 82.9274 17.4501C82.5522 17.8123 82.2589 18.2434 82.0485 18.7438C81.8639 17.967 81.4986 17.3744 80.9522 16.9662C80.4056 16.5582 79.6912 16.3538 78.8093 16.3538C78.0192 16.3538 77.3081 16.5678 76.6759 16.9959C76.044 17.4239 75.5896 17.9537 75.3131 18.5856V16.5513H73.8516V26.8023H75.3527V22.0424C75.3527 21.0815 75.5007 20.2747 75.797 19.6227C76.0933 18.971 76.4814 18.4838 76.9623 18.1611C77.4429 17.8385 77.9664 17.6773 78.5325 17.6773C79.2566 17.6773 79.8197 17.921 80.2213 18.4082C80.623 18.8954 80.8241 19.6986 80.8241 20.8177V26.8023H82.3052V21.9635C82.3052 21.002 82.4534 20.199 82.7497 19.5536C83.046 18.9086 83.4341 18.4343 83.915 18.1314C84.3956 17.8285 84.9125 17.6772 85.4657 17.6772C86.2027 17.6772 86.7754 17.9075 87.1839 18.3685C87.5919 18.8296 87.7963 19.5998 87.7963 20.6796V26.8023H89.2776V20.3632C89.2776 19.0598 88.9814 18.0659 88.3888 17.3807C87.7963 16.6962 86.9273 16.3538 85.7815 16.3538Z",fill:"white"}),C.createElement("path",{d:"M94.0324 16.551H92.5312V26.8023H94.0324V16.551Z",fill:"white"}),C.createElement("path",{d:"M93.2886 12.9368C92.9728 12.9368 92.7258 13.0355 92.5481 13.233C92.3701 13.4306 92.2812 13.6677 92.2812 13.9442C92.2812 14.2077 92.3701 14.4412 92.5481 14.6451C92.7258 14.8497 92.9728 14.9515 93.2886 14.9515C93.6047 14.9515 93.8482 14.8525 94.0196 14.6553C94.1904 14.4578 94.2762 14.2206 94.2762 13.9442C94.2762 13.6809 94.1904 13.4473 94.0196 13.243C93.8482 13.0391 93.6047 12.9368 93.2886 12.9368Z",fill:"white"}),C.createElement("path",{d:"M98.8798 13.095H97.3984V26.8025H98.8798V13.095Z",fill:"white"}),C.createElement("path",{d:"M109.439 20.9162H103.197C103.21 20.2975 103.352 19.7346 103.622 19.2277C103.892 18.7209 104.271 18.3223 104.758 18.0327C105.245 17.743 105.818 17.598 106.476 17.598C107.411 17.598 108.152 17.8913 108.698 18.4769C109.244 19.0632 109.492 19.8763 109.439 20.9162ZM109.232 17.1733C108.527 16.6272 107.602 16.3538 106.456 16.3538C105.469 16.3538 104.61 16.5777 103.879 17.0253C103.148 17.4731 102.592 18.1017 102.21 18.9113C101.828 19.7215 101.644 20.6595 101.657 21.7263C101.67 22.8193 101.877 23.7639 102.279 24.5606C102.681 25.3573 103.257 25.9627 104.007 26.3776C104.758 26.7924 105.627 26.9998 106.614 26.9998C107.168 26.9998 107.721 26.9107 108.274 26.7333C108.827 26.5553 109.324 26.2725 109.765 25.8838C110.206 25.4956 110.538 25.0049 110.762 24.4123L109.636 23.7804C109.478 24.1887 109.248 24.5377 108.945 24.8271C108.642 25.1168 108.29 25.3377 107.889 25.489C107.487 25.6403 107.056 25.716 106.595 25.716C106.015 25.716 105.472 25.5974 104.965 25.3605C104.458 25.1234 104.037 24.735 103.701 24.195C103.365 23.6552 103.197 22.9378 103.197 22.0421H110.822C110.979 21.0677 110.93 20.1492 110.673 19.2868C110.417 18.4246 109.936 17.7199 109.232 17.1733Z",fill:"white"}),C.createElement("path",{d:"M120.289 22.6644C119.999 22.3024 119.644 22.0223 119.223 21.8248C118.801 21.6273 118.281 21.4367 117.662 21.2521L117.247 21.1137C117.247 21.1137 115.97 20.6925 115.707 20.5611C115.443 20.4293 115.24 20.2516 115.095 20.0277C114.95 19.804 114.877 19.5141 114.877 19.1586C114.877 18.645 115.062 18.2497 115.43 17.9733C115.799 17.6968 116.299 17.5584 116.932 17.5584C117.524 17.5584 118.021 17.7036 118.423 17.9931C118.824 18.2827 119.091 18.711 119.223 19.2772L120.585 18.8423C120.388 18.0263 119.97 17.4074 119.332 16.9857C118.692 16.5645 117.906 16.3538 116.971 16.3538C115.944 16.3538 115.085 16.6041 114.393 17.1042C113.702 17.6046 113.357 18.3223 113.357 19.2571C113.357 19.8499 113.505 20.3335 113.801 20.709C114.097 21.0843 114.456 21.3772 114.877 21.5879C115.299 21.7989 115.838 22.0094 116.497 22.2201C116.708 22.2726 117.975 22.7106 118.245 22.8223C118.515 22.9342 118.739 23.0957 118.917 23.3062C119.094 23.5172 119.19 23.8 119.203 24.1557C119.203 24.669 118.992 25.0643 118.571 25.3408C118.149 25.6172 117.623 25.7553 116.991 25.7553C116.227 25.7553 115.608 25.5911 115.134 25.2615C114.66 24.9328 114.364 24.4519 114.245 23.8198L112.922 24.294C113.093 25.1762 113.537 25.8478 114.255 26.3085C114.973 26.7696 115.865 26.9998 116.932 26.9998C117.603 26.9998 118.222 26.8912 118.788 26.6739C119.354 26.4565 119.818 26.1308 120.18 25.6962C120.543 25.2615 120.724 24.7284 120.724 24.0963C120.724 23.504 120.579 23.0267 120.289 22.6644Z",fill:"white"}),C.createElement("path",{d:"M45.6562 2.87329V5.19402C45.6562 5.45069 45.6938 5.67254 45.7684 5.85297C45.8425 6.03203 45.9497 6.18094 46.0873 6.29529C46.2264 6.41073 46.3939 6.49602 46.5856 6.54839C46.78 6.60213 46.9997 6.62956 47.238 6.62956C47.4763 6.62956 47.694 6.60213 47.8843 6.54866C48.0719 6.49602 48.2318 6.41128 48.3598 6.29638C48.4879 6.1823 48.5885 6.03313 48.6587 5.85407C48.7292 5.67389 48.7651 5.45179 48.7651 5.19402V2.87329H47.9636V5.16962C47.9636 5.40326 47.9054 5.5922 47.7908 5.73095C47.6737 5.87218 47.4878 5.94347 47.238 5.94347C46.9926 5.94347 46.8077 5.87218 46.689 5.73122C46.5722 5.59302 46.5129 5.40408 46.5129 5.16962V2.87329H45.6562Z",fill:"white"}),C.createElement("path",{d:"M43.1869 6.58075V3.56543H42.1797V2.87329H45.0568V3.2051C45.0568 3.40392 44.8953 3.56543 44.6965 3.56543H44.0436V6.58075H43.1869Z",fill:"white"}),C.createElement("path",{d:"M64.0185 6.58043V5.02397H62.4582V6.58043H61.6016V2.87354H62.4582V4.35047H64.0185V2.87354H64.8815V6.58043H64.0185Z",fill:"white"}),C.createElement("path",{d:"M57.716 2.87305H56.8594V6.58024H57.716V2.87305Z",fill:"white"}),C.createElement("path",{d:"M54.0132 4.85171L54.0422 4.88845L55.1364 6.29876C55.2757 6.4781 55.486 6.5812 55.7131 6.5812H56.3953L54.8276 4.58707L54.8046 4.55773L54.8276 4.52839L56.1167 2.87183H55.2249L54.0431 4.46971L54.0132 4.50811L54.0129 4.44147V2.87183H53.1562V6.57929H54.0129V4.91779L54.0132 4.85171Z",fill:"white"}),C.createElement("path",{d:"M50.3249 4.57016H50.8242C51.0041 4.57016 51.1409 4.52079 51.2314 4.42373C51.3208 4.32748 51.3661 4.2027 51.3661 4.05243C51.3661 3.89859 51.3219 3.77218 51.2347 3.67592C51.1464 3.5783 51.0085 3.52894 50.8242 3.52894L50.3249 3.52866L50.3249 4.57016ZM52.0379 6.5799C51.7843 6.5799 51.5449 6.44527 51.4138 6.22809L50.7475 5.12764H50.3249V6.5799H49.4688V2.87354H50.9951C51.3872 2.87354 51.6943 2.97582 51.9079 3.17765C52.1207 3.37919 52.2288 3.65506 52.2288 3.99756C52.2288 4.17169 52.1824 4.34774 52.0908 4.52159C52.0009 4.69216 51.8408 4.832 51.6156 4.93675L51.566 4.95979L52.6061 6.57989L52.0379 6.5799Z",fill:"white"}),C.createElement("path",{d:"M58.4219 6.42275V5.71224C58.6945 5.83756 59.0457 5.96288 59.4093 5.96288C59.8273 5.96288 60.0392 5.81946 60.0395 5.54469C60.0395 5.22249 59.7546 5.18657 59.1853 4.94169C58.7975 4.76866 58.4279 4.49965 58.4279 3.87882C58.4279 3.15625 58.9791 2.81567 59.7425 2.81567C60.1484 2.81567 60.4936 2.91111 60.6875 2.98295V3.67563C60.4936 3.58622 60.1484 3.47847 59.8031 3.47847C59.4274 3.47847 59.2519 3.61586 59.2519 3.85471C59.2519 4.10563 59.4639 4.18322 59.8454 4.32663C60.3362 4.57152 60.9058 4.679 60.9058 5.5151C60.9058 6.23767 60.3302 6.63173 59.5607 6.63173C59.0882 6.63173 58.7126 6.54805 58.4219 6.42275Z",fill:"white"}),C.createElement("path",{d:"M84.875 6.58024V2.87305H87.1965V3.20925C87.1965 3.40558 87.0367 3.56518 86.8406 3.56518H85.7317V4.36234H86.9769V4.98126H85.7317V5.88837H87.1965V6.58024H84.875Z",fill:"white"}),C.createElement("path",{d:"M76.4141 6.57972V2.8728H76.8303C77.0733 2.8728 77.2707 3.07023 77.2707 3.31293V5.91228H78.638V6.57972H76.4141Z",fill:"white"}),C.createElement("path",{d:"M71.966 2.87451H71.1094V6.57922H71.966V2.87451Z",fill:"white"}),C.createElement("path",{d:"M73.6061 4.56965H74.1055C74.2853 4.56965 74.4222 4.52028 74.5127 4.42322C74.6021 4.32697 74.6473 4.2022 74.6473 4.05193C74.6473 3.89809 74.6032 3.77167 74.5162 3.67542C74.4277 3.57779 74.2897 3.52843 74.1055 3.52843H73.6061V4.56965ZM75.3192 6.57942C75.0655 6.57942 74.8261 6.44478 74.695 6.2276L74.0287 5.12715H73.6061V6.57942H72.75V2.87305H74.2763C74.6684 2.87305 74.9756 2.97561 75.1892 3.17715C75.4022 3.3787 75.51 3.65457 75.51 3.99735C75.51 4.1712 75.4637 4.34753 75.3721 4.5211C75.2821 4.69167 75.122 4.83152 74.8969 4.93626L74.8472 4.9593L75.8873 6.5794L75.3192 6.57942Z",fill:"white"}),C.createElement("path",{d:"M68.1593 5.22922L68.4958 4.2925C68.5707 4.08162 68.6455 3.85922 68.6952 3.69525H68.7078C68.7514 3.865 68.826 4.07586 68.9008 4.2925L69.225 5.22922H68.1593ZM69.2178 2.87256H68.2339L66.8359 6.58002H67.4532C67.6101 6.58002 67.748 6.47994 67.7974 6.33131L67.9408 5.89639H69.4443L69.6645 6.58002H70.5922L69.2178 2.87256Z",fill:"white"}),C.createElement("path",{d:"M87.8906 6.42299V5.71248C88.1632 5.8378 88.5145 5.96312 88.8781 5.96312C89.296 5.96312 89.5082 5.81971 89.5082 5.54494C89.5082 5.22246 89.2233 5.18682 88.6538 4.94193C88.2663 4.7689 87.8967 4.49989 87.8967 3.87906C87.8967 3.15622 88.4478 2.81592 89.2113 2.81592C89.6171 2.81592 89.9626 2.91135 90.1562 2.98319V3.67587C89.9626 3.58619 89.6171 3.47872 89.2719 3.47872C88.8965 3.47872 88.7207 3.6161 88.7207 3.85495C88.7207 4.10587 88.9327 4.18346 89.3144 4.32688C89.805 4.57176 90.3745 4.67924 90.3745 5.51534C90.3745 6.23764 89.7989 6.63197 89.0294 6.63197C88.557 6.63197 88.1813 6.54829 87.8906 6.42299Z",fill:"white"}),C.createElement("path",{d:"M80.8281 2.87331H81.359C81.6113 2.87331 81.8455 3.00329 81.9788 3.21745L83.0126 4.87841C83.1294 5.06296 83.2648 5.30675 83.3446 5.47923H83.3633C83.351 5.31278 83.3446 5.08051 83.3446 4.91406V2.87331H84.0955V6.58022H83.1565L81.899 4.57485C81.7819 4.39058 81.6587 4.17037 81.5726 4.00392H81.5603C81.5666 4.16433 81.5787 4.35491 81.5787 4.53315V6.58021H80.8281V2.87331Z",fill:"white"}),C.createElement("path",{d:"M80.0442 2.87451H79.1875V6.57922H80.0442V2.87451Z",fill:"white"}))};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'./../../../../../../ext/style-inject/dist/style-inject.es.js';var l={MilesSmiles:"style-module_MilesSmiles__-4b7k",MilesSmilesBody:"style-module_MilesSmilesBody__I03ZG",MilesSmilesLogin:"style-module_MilesSmilesLogin__sPao6",MilesSmilesBanner:"style-module_MilesSmilesBanner__RnSA0",MilesSmilesBannerLogo:"style-module_MilesSmilesBannerLogo__4ac9B",MilesSmilesHeader:"style-module_MilesSmilesHeader__2wEKO",MilesSmilesTitleWrapper:"style-module_MilesSmilesTitleWrapper__iGOg2",MilesSmilesTitle:"style-module_MilesSmilesTitle__ClDIS",MilesSmilesTitleBold:"style-module_MilesSmilesTitleBold__tSEX5",MilesSmilesSubtitle:"style-module_MilesSmilesSubtitle__4XQe2",MilesSmilesInputRow:"style-module_MilesSmilesInputRow__rgpyr",MilesSmilesInputWrapper:"style-module_MilesSmilesInputWrapper__cMQ9K",MilesSmilesInputError:"style-module_MilesSmilesInputError__tidH-",MilesSmilesInput:"style-module_MilesSmilesInput__-ADNL",MilesSmilesInputUnit:"style-module_MilesSmilesInputUnit__vza1O",MilesSmilesRedeemText:"style-module_MilesSmilesRedeemText__tpFbH",MilesSmilesErrorText:"style-module_MilesSmilesErrorText__02yD-",MilesSmilesUseAll:"style-module_MilesSmilesUseAll__cbwYe",MilesSmilesUseAllLabel:"style-module_MilesSmilesUseAllLabel__ngBlj",MilesSmilesDisabled:"style-module_MilesSmilesDisabled__VoDE-",MilesSmilesTerms:"style-module_MilesSmilesTerms__1xpun",MilesSmilesTermsLabel:"style-module_MilesSmilesTermsLabel__GsY7J",MilesSmilesTermsLink:"style-module_MilesSmilesTermsLink__BlijG",MilesSmilesTermsLinkError:"style-module_MilesSmilesTermsLinkError__ed3j5",ToggleSwitch:"style-module_ToggleSwitch__fSVrp",ToggleSwitchActive:"style-module_ToggleSwitchActive__vd83i",ToggleSwitchThumb:"style-module_ToggleSwitchThumb__PiPwV",ToggleSwitchThumbActive:"style-module_ToggleSwitchThumbActive__RjbIp",MilesSmilesLoginButton:"style-module_MilesSmilesLoginButton__w82W4",MilesSmilesLoginText:"style-module_MilesSmilesLoginText__Jlxn4",MilesSmilesLoginButtonBusy:"style-module_MilesSmilesLoginButtonBusy__m7rkq"};e(".style-module_MilesSmiles__-4b7k {\n border-radius: 8px;\n margin-bottom: 16px;\n overflow: hidden;\n background-color: var(--checkout-primary-bg-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesBody__I03ZG,\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 {\n border: 1px solid var(--checkout-border-color);\n border-top: none;\n border-radius: 0 0 8px 8px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesBanner__RnSA0 {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px 16px;\n background-color: #262626;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesBanner__RnSA0 .style-module_MilesSmilesBannerLogo__4ac9B {\n display: block;\n width: 121px;\n height: 27px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesBody__I03ZG {\n padding: 16px 12px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesHeader__2wEKO {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 10px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesHeader__2wEKO .style-module_MilesSmilesTitleWrapper__iGOg2 {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesHeader__2wEKO .style-module_MilesSmilesTitle__ClDIS {\n font-size: 16px;\n line-height: 24px;\n color: var(--checkout-primary-text-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesHeader__2wEKO .style-module_MilesSmilesTitleBold__tSEX5 {\n font-weight: 500;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesHeader__2wEKO .style-module_MilesSmilesSubtitle__4XQe2 {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInputRow__rgpyr {\n display: flex;\n align-items: center;\n gap: 10px;\n margin-top: 16px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInputWrapper__cMQ9K {\n display: flex;\n align-items: center;\n border: 1px solid var(--checkout-border-color);\n border-radius: 8px;\n overflow: hidden;\n background-color: var(--checkout-primary-bg-color);\n transition: border-color 0.15s ease;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInputWrapper__cMQ9K.style-module_MilesSmilesInputError__tidH- {\n border-color: var(--checkout-error-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInput__-ADNL {\n width: 100%;\n max-width: 140px;\n padding: 6px 10px;\n border: none;\n outline: none;\n background: transparent;\n font-size: 15px;\n line-height: 20px;\n color: var(--checkout-primary-text-color);\n font-family: inherit;\n text-align: center;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInput__-ADNL::placeholder {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesInputUnit__vza1O {\n padding: 6px 10px;\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n border-left: 1px solid var(--checkout-border-color);\n background-color: var(--checkout-primary-bg-color);\n white-space: nowrap;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesRedeemText__tpFbH {\n font-size: 15px;\n line-height: 20px;\n font-weight: 500;\n color: var(--checkout-primary-text-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesErrorText__02yD- {\n margin-top: 10px;\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-error-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesUseAll__cbwYe {\n margin-top: 12px;\n display: flex;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesUseAll__cbwYe > div {\n width: auto;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesUseAllLabel__ngBlj {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-primary-text-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesDisabled__VoDE- {\n opacity: 0.5;\n pointer-events: none;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesTerms__1xpun {\n margin-top: 12px;\n display: flex;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesTerms__1xpun > div {\n width: auto;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesTermsLabel__GsY7J {\n font-size: 14px;\n line-height: 20px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesTermsLink__BlijG {\n font-weight: 500;\n text-decoration: underline;\n cursor: pointer;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesTermsLinkError__ed3j5 {\n color: var(--checkout-error-color);\n}\n.style-module_MilesSmiles__-4b7k .style-module_ToggleSwitch__fSVrp {\n position: relative;\n width: 40px;\n height: 22px;\n background-color: #cdd5df;\n border-radius: 12px;\n cursor: pointer;\n transition: background-color 0.2s ease;\n display: flex;\n align-items: center;\n padding: 3px;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);\n flex-shrink: 0;\n}\n.style-module_MilesSmiles__-4b7k .style-module_ToggleSwitch__fSVrp.style-module_ToggleSwitchActive__vd83i {\n background-color: #1f2a37;\n}\n.style-module_MilesSmiles__-4b7k .style-module_ToggleSwitchThumb__PiPwV {\n width: 16px;\n height: 16px;\n background-color: white;\n border-radius: 50%;\n transform: translateX(0px);\n transition: transform 0.2s ease;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n position: absolute;\n}\n.style-module_MilesSmiles__-4b7k .style-module_ToggleSwitchThumb__PiPwV.style-module_ToggleSwitchThumbActive__RjbIp {\n transform: translateX(18px);\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n padding: 12px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 {\n flex-direction: column;\n align-items: stretch;\n }\n .style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesLoginButton__w82W4 {\n width: 100%;\n }\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesLoginText__Jlxn4 {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-primary-text-color);\n min-width: 0;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesErrorText__02yD- {\n margin-top: 4px;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesLoginButtonBusy__m7rkq {\n opacity: 0.6;\n pointer-events: none;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesLoginButton__w82W4 {\n flex-shrink: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 8px 16px;\n border: none;\n background-color: #c90019;\n color: #fff;\n font-size: 16px;\n line-height: 24px;\n font-weight: 500;\n font-family: inherit;\n border-radius: 8px;\n cursor: pointer;\n}\n.style-module_MilesSmiles__-4b7k .style-module_MilesSmilesLogin__sPao6 .style-module_MilesSmilesLoginButton__w82W4:hover {\n background-color: #c90019;\n color: #fff;\n}");export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter as e,__generator as t}from'./../../../../../../ext/tslib/tslib.es6.js';import*as r from"react";import{observer as n}from"mobx-react-lite";import"@ikas/storefront-config";import{formatCurrency as o}from"../../../../../../utils/currency.js";import{useTranslation as i}from"../../../../../../utils/i18n.js";import a from"./style.module.scss.js";import l from"../../../../components/svg/credit-balance.js";var c=n((function(n){var c,d,u,m,v=n.vm,f=i().t,C=r.useState(!1),h=C[0],p=C[1],g=(null===(c=v.storeCreditBalance)||void 0===c?void 0:c.storeCredits)&&(null===(d=v.storeCreditBalance)||void 0===d?void 0:d.storeCredits.length)>0?null===(u=v.checkout.giftCardLines)||void 0===u?void 0:u.find((function(e){var t,r;return e.code===(null===(r=null===(t=v.storeCreditBalance)||void 0===t?void 0:t.storeCredits[0])||void 0===r?void 0:r.code)})):void 0;if(r.useEffect((function(){p(!!g)}),[g]),!(null===(m=v.storeCreditBalance)||void 0===m?void 0:m.amount))return null;var E=g?(null==g?void 0:g.amount)||0:v.finalPrice>v.storeCreditBalance.amount?v.storeCreditBalance.amount:v.finalPrice;return r.createElement("div",{className:a.StoreCredit},r.createElement("div",{className:a.StoreCreditBalance},r.createElement("div",{className:a.StoreCreditBalanceLeft},r.createElement("div",{style:{width:"24px",height:"24px"}},r.createElement(l,null)),r.createElement("div",null,r.createElement("span",{className:a.StoreCreditBalanceAmount},o(E,v.checkout.currencyCode,v.checkout.currencySymbol)),r.createElement("span",null,f("checkout-page:storeCreditBalance")))),r.createElement("div",{className:a.StoreCreditBalanceRight},r.createElement("div",null,r.createElement(s,{value:h,onChange:function(r){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return p(r),r?(v.checkout.couponCode=(null===(e=v.storeCreditBalance)||void 0===e?void 0:e.storeCredits[0].code)||null,[4,v.onCouponCodeApply()]):[3,2];case 1:return t.sent(),[3,4];case 2:return[4,v.removeGiftCardLine((null==g?void 0:g.giftCardId)||"")];case 3:t.sent(),t.label=4;case 4:return[4,v.reInitPaymentMethod()];case 5:return t.sent(),[2]}}))}))}})))))})),s=function(e){var t=e.value,n=e.onChange;return r.createElement("div",{onClick:function(){n(!t)},className:[a.ToggleSwitch,t?a.ToggleSwitchActive:""].join(" ")},r.createElement("div",{className:[a.ToggleSwitchThumb,t?a.ToggleSwitchThumbActive:""].join(" ")}))};export{c as StoreCredit};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from'./../../../../../../ext/style-inject/dist/style-inject.es.js';var t={StoreCredit:"style-module_StoreCredit__uHh7P",StoreCreditBalance:"style-module_StoreCreditBalance__kGygT",StoreCreditBalanceLeft:"style-module_StoreCreditBalanceLeft__vyYsH",StoreCreditBalanceRight:"style-module_StoreCreditBalanceRight__CLOTz",StoreCreditBalanceAmount:"style-module_StoreCreditBalanceAmount__XoXTX",ToggleSwitch:"style-module_ToggleSwitch__kDPf4",ToggleSwitchActive:"style-module_ToggleSwitchActive__aDOuc",ToggleSwitchThumb:"style-module_ToggleSwitchThumb__70mB3",ToggleSwitchThumbActive:"style-module_ToggleSwitchThumbActive__Di-kz"};e(".style-module_StoreCredit__uHh7P {\n padding: 12px;\n border-radius: 6px;\n border: 1px solid var(--checkout-border-color);\n margin-bottom: 16px;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT {\n display: flex;\n justify-content: space-between;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT .style-module_StoreCreditBalanceLeft__vyYsH {\n display: flex;\n gap: 6px;\n align-items: center;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT .style-module_StoreCreditBalanceLeft__vyYsH span {\n font-size: 16px;\n line-height: 24px;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT .style-module_StoreCreditBalanceLeft__vyYsH span:first-child {\n margin-right: 4px;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT .style-module_StoreCreditBalanceRight__CLOTz {\n display: flex;\n gap: 6px;\n}\n.style-module_StoreCredit__uHh7P .style-module_StoreCreditBalance__kGygT .style-module_StoreCreditBalanceAmount__XoXTX {\n font-size: 16px;\n font-weight: 500;\n line-height: 24px;\n}\n.style-module_StoreCredit__uHh7P .style-module_ToggleSwitch__kDPf4 {\n position: relative;\n width: 32px;\n height: 20px;\n background-color: #CDD5DF;\n border-radius: 12px;\n cursor: pointer;\n transition: background-color 0.2s ease;\n display: flex;\n align-items: center;\n padding: 3px;\n box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n.style-module_StoreCredit__uHh7P .style-module_ToggleSwitch__kDPf4.style-module_ToggleSwitchActive__aDOuc {\n background-color: var(--checkout-button-bg-color);\n}\n.style-module_StoreCredit__uHh7P .style-module_ToggleSwitchThumb__70mB3 {\n width: 14px;\n height: 14px;\n background-color: white;\n border-radius: 50%;\n transform: translateX(0px);\n transition: transform 0.2s ease;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n position: absolute;\n}\n.style-module_StoreCredit__uHh7P .style-module_ToggleSwitchThumb__70mB3.style-module_ToggleSwitchThumbActive__Di-kz {\n transform: translateX(12px);\n}");export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from'./../../../../../ext/style-inject/dist/style-inject.es.js';var
|
|
1
|
+
import e from'./../../../../../ext/style-inject/dist/style-inject.es.js';var o={PaymentLogoContainer:"style-module_PaymentLogoContainer__h4VF0",AdditionalPrice:"style-module_AdditionalPrice__42TO1",MasterPassSelectBoxDeleteButton:"style-module_MasterPassSelectBoxDeleteButton__J1RSJ",MasterPassSelectBoxLabelLogo:"style-module_MasterPassSelectBoxLabelLogo__fIhG7",Hidden:"style-module_Hidden__5-IfX",ErrorMessage:"style-module_ErrorMessage__nCpW4",TermsLabelSpan:"style-module_TermsLabelSpan__JUlDd",Error:"style-module_Error__-TdLv",IyzicoDescription:"style-module_IyzicoDescription__eN-pP",TkPayDescription:"style-module_TkPayDescription__spvVL",WithBottomMargin:"style-module_WithBottomMargin__Wwm6R",IyzicoLoader:"style-module_IyzicoLoader__40O8l",TkPayLoader:"style-module_TkPayLoader__om86k",load8:"style-module_load8__LStqF",IyzicoLoaderContainer:"style-module_IyzicoLoaderContainer__TNm4N",TkPayLoaderContainer:"style-module_TkPayLoaderContainer__V5TCY",IyzicoBottomContent:"style-module_IyzicoBottomContent__AMo4Q",TkPayBottomContent:"style-module_TkPayBottomContent__-deCh",IyzicoCheckboxContainer:"style-module_IyzicoCheckboxContainer__dvYnN",TkPayCheckboxContainer:"style-module_TkPayCheckboxContainer__LEW1Q"};e(".style-module_PaymentLogoContainer__h4VF0 {\n margin-left: 10px;\n font-size: 0.7em;\n}\n.style-module_PaymentLogoContainer__h4VF0 img {\n height: 20px;\n}\n\n.style-module_AdditionalPrice__42TO1 {\n color: var(--checkout-primary-text-color);\n font-weight: 600;\n}\n\n.style-module_MasterPassSelectBoxDeleteButton__J1RSJ {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-primary-text-color);\n padding: 4px 8px;\n margin-right: -8px;\n background-color: transparent;\n border: none;\n outline: none;\n cursor: pointer;\n}\n.style-module_MasterPassSelectBoxDeleteButton__J1RSJ:hover {\n text-decoration: underline;\n}\n\n.style-module_MasterPassSelectBoxLabelLogo__fIhG7 {\n display: inline-flex;\n margin-right: 12px;\n width: 32px;\n}\n.style-module_MasterPassSelectBoxLabelLogo__fIhG7 svg {\n width: 100%;\n height: 100%;\n}\n\n.style-module_Hidden__5-IfX {\n display: none;\n}\n\n.style-module_ErrorMessage__nCpW4 {\n font-size: 14px;\n color: var(--checkout-error-color);\n}\n\n.style-module_TermsLabelSpan__JUlDd {\n color: var(--checkout-primary-text-color);\n font-weight: 500;\n}\n.style-module_TermsLabelSpan__JUlDd:hover {\n text-decoration: underline;\n}\n.style-module_TermsLabelSpan__JUlDd.style-module_Error__-TdLv {\n color: var(--checkout-error-color);\n}\n\n.style-module_IyzicoDescription__eN-pP,\n.style-module_TkPayDescription__spvVL {\n color: var(--checkout-primary-text-color);\n font-size: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 12px;\n flex-direction: column;\n font-weight: 400;\n line-height: 24px;\n width: 75%;\n margin: 0 auto;\n text-align: center;\n padding: 24px;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_IyzicoDescription__eN-pP,\n.style-module_TkPayDescription__spvVL {\n width: 100%;\n }\n}\n.style-module_IyzicoDescription__eN-pP.style-module_WithBottomMargin__Wwm6R,\n.style-module_TkPayDescription__spvVL.style-module_WithBottomMargin__Wwm6R {\n margin-bottom: 12px;\n}\n\n.style-module_IyzicoLoader__40O8l,\n.style-module_IyzicoLoader__40O8l:after,\n.style-module_TkPayLoader__om86k,\n.style-module_TkPayLoader__om86k:after {\n border-radius: 50%;\n width: 5em;\n height: 5em;\n}\n\n.style-module_IyzicoLoader__40O8l,\n.style-module_TkPayLoader__om86k {\n font-size: 6px;\n position: relative;\n text-indent: -9999em;\n border-top: 0.5em solid rgba(255, 255, 255, 0.2);\n border-right: 0.5em solid rgba(255, 255, 255, 0.2);\n border-bottom: 0.5em solid rgba(255, 255, 255, 0.2);\n border-left: 0.5em solid var(--checkout-primary-text-color);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: style-module_load8__LStqF 1.1s infinite linear;\n animation: style-module_load8__LStqF 1.1s infinite linear;\n}\n\n@keyframes style-module_load8__LStqF {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.style-module_IyzicoLoaderContainer__TNm4N,\n.style-module_TkPayLoaderContainer__V5TCY {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 12px;\n}\n\n.style-module_IyzicoBottomContent__AMo4Q,\n.style-module_TkPayBottomContent__-deCh {\n background-color: var(--checkout-primary-bg-color) !important;\n}\n\n.style-module_IyzicoCheckboxContainer__dvYnN,\n.style-module_TkPayCheckboxContainer__LEW1Q {\n margin-bottom: 16px;\n}");export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"react";import{observer as t}from"mobx-react-lite";import"@ikas/storefront-config";import{formatCurrency as i}from"../../../../utils/currency.js";import{useTranslation as c}from"../../../../utils/i18n.js";import o from"./style.module.scss.js";import{Button as n}from"../../components/button/index.js";import{Checkbox as r}from"../../components/checkbox/index.js";import{FormItemType as a}from"../../components/form-item/model.js";import{FormItem as
|
|
1
|
+
import*as e from"react";import{observer as t}from"mobx-react-lite";import"@ikas/storefront-config";import{formatCurrency as i}from"../../../../utils/currency.js";import{useTranslation as c}from"../../../../utils/i18n.js";import o from"./style.module.scss.js";import{Button as n}from"../../components/button/index.js";import{Checkbox as r}from"../../components/checkbox/index.js";import{FormItemType as a}from"../../components/form-item/model.js";import{FormItem as u}from"../../components/form-item/index.js";import m from"../../components/error/index.js";import s from"../../components/select-box/index.js";import{IkasLocalDeliverySettingsDeliveryTimeType as l}from"@ikas/storefront-models";var p="(?:[0-9#*]\\uFE0F?\\u20E3|\\p{Extended_Pictographic}\\uFE0F|\\p{Emoji_Presentation}|\\p{Emoji_Modifier}|\\u200D|\\uFE0F)+",d=function(){try{return new RegExp(" ".concat(p,"(?= )|").concat(p),"gu")}catch(e){return null}}(),g=t((function(t){var i=t.vm,r=c().t;return e.createElement("div",{className:[o.StepShipping].join(" ")},e.createElement(h,{vm:i}),e.createElement(k,{vm:i}),e.createElement(n,{style:{width:"100%",marginTop:"32px"},text:r("checkout-page:actions.continueWithPayment"),isLoading:i.isStepLoading,onClick:i.onProceedToPaymentClick}))})),h=t((function(t){var n,r=t.vm,a=c().t;return e.createElement("div",{className:[o.InfoBox,r.isChangingShippingMethod?o.Dimmed:""].join(" ")},e.createElement(m,{vm:r}),null===(n=r.checkout.availableShippingMethods)||void 0===n?void 0:n.map((function(t,c){return e.createElement(s,{key:t.shippingSettingsId+t.shippingZoneRateId,label:t.rateName,description:t.estimatedDeliveryTime?t.estimatedDeliveryTime.type===l.DAY?a("checkout-page:estimatedDeliveryTime.day",{value:t.estimatedDeliveryTime.value}):t.estimatedDeliveryTime.type===l.HOUR?a("checkout-page:estimatedDeliveryTime.hour",{value:t.estimatedDeliveryTime.value}):t.estimatedDeliveryTime.type===l.MINUTE?a("checkout-page:estimatedDeliveryTime.minute",{value:t.estimatedDeliveryTime.value}):void 0:void 0,isSelected:r.checkout.shippingSettingsId===t.shippingSettingsId&&r.checkout.shippingZoneRateId===t.shippingZoneRateId,rightContent:e.createElement("div",{className:o.ShippingPrice},0===t.price?a("checkout-page:free"):i(t.price,r.checkout.currencyCode,r.checkout.currencySymbol)),onClick:function(){return r.onShippingMethodChange(t)}})})))})),k=t((function(t){var n=t.vm,m=c().t,s=e.useCallback((function(e){n.checkout.isGiftPackage=e}),[n]),l=e.useCallback((function(e){n.checkout.giftPackageNote=function(e){return(d?e.replace(d,""):e).slice(0,240)}(e)}),[n,n.checkout]),p=e.useMemo((function(){var e,t,i,c;return n.checkout.priceListId?(null===(t=n.checkoutSettings.giftPackagePriceList)||void 0===t?void 0:t.find((function(e){return n.checkout.priceListId?e.priceListId===n.checkout.priceListId:!!e.priceListId})))||(null===(i=n.checkoutSettings.giftPackagePriceList)||void 0===i?void 0:i.find((function(e){return e.currencyCode===n.checkout.currencyCode})))||(null===(c=n.checkoutSettings.giftPackagePriceList)||void 0===c?void 0:c.find((function(e){return!e.currencyCode}))):null===(e=n.checkoutSettings.giftPackagePriceList)||void 0===e?void 0:e.find((function(e){return n.checkout.priceListId===e.priceListId}))}),[n,n.checkoutSettings,n.checkout]),g=m("checkout-page:giftPackageCta")+(p&&p.price?" (+ ".concat(i(p.price,p.currencyCode||n.checkout.currencyCode,p.currencySymbol||n.checkout.currencySymbol),")"):"");return n.checkoutSettings.isGiftPackageEnabled?e.createElement("div",{className:o.GiftSection},e.createElement(r,{value:n.checkout.isGiftPackage||!1,label:g,onChange:s,removePadding:!0}),n.checkout.isGiftPackage&&e.createElement(u,{name:"giftPackageNote",type:a.TEXT_AREA,label:"",value:n.checkout.giftPackageNote||"",onChange:l,style:{marginTop:"16px"},textAreaPlaceholder:m("checkout-page:giftPackageCtaPlaceholder"),maxLength:240})):null}));export{g as CheckoutStepShipping};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__spreadArray as e}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as a}from"mobx-react-lite";import{Button as o}from"../../components/button/index.js";import{CART_LS_KEY as s}from"../../../../store/cart/index.js";import n from"./style.module.scss.js";import r from"../../components/svg/success-circle.js";import i from"../../components/expandable-section/index.js";import c from"../../components/credit-card-form/svg/amex.js";import l from"../../components/credit-card-form/svg/master-card.js";import d from"../../components/credit-card-form/svg/troy.js";import m from"../../components/credit-card-form/svg/visa.js";import"@ikas/storefront-config";import{formatCurrency as u}from"../../../../utils/currency.js";import{useTranslation as p}from"../../../../utils/i18n.js";import"../../../../models/data/blog/category/index.js";import"../../../../models/data/blog/content/index.js";import"../../../../models/data/blog/meta-data/index.js";import"../../../../models/data/blog/tag/index.js";import"../../../../models/data/blog/index.js";import"../../../../models/data/brand/index.js";import{IkasPaymentMethodType as v,IkasPaymentGatewayType as f,IkasOrderPackageStatus as g,IkasTransactionCardAssociation as E}from"@ikas/storefront-models";import"mobx";import"../../../../models/data/campaign-offer/index.js";import"../../../../models/data/cart/campaign-offer/index.js";import"../../../../models/data/cart/index.js";import"../../../../models/data/category/path-item/index.js";import"../../../../models/data/category/index.js";import"../../../../models/data/checkout/index.js";import"../../../../models/data/checkout-settings/index.js";import"../../../../models/data/city/index.js";import"../../../../models/data/country/index.js";import"../../../../models/data/customer/address/region/index.js";import"../../../../models/data/customer/address/index.js";import"../../../../models/data/customer/address/ikas-localized-customer-address.js";import"../../../../models/data/customer/attribute/index.js";import"../../../../models/data/customer/review/summary/index.js";import"../../../../models/data/customer/review/index.js";import"../../../../models/data/customer/index.js";import"../../../../models/data/customer-form-data-input/index.js";import"../../../../models/data/district/index.js";import"../../../../models/data/favorite-product/index.js";import"../../../../models/data/filter-category/index.js";import"../../../../models/data/html-meta-data/index.js";import"../../../../models/data/image/index.js";import"../../../../models/data/order/address/region/index.js";import"../../../../models/data/order/address/index.js";import"../../../../models/data/order/line-item/option/value/index.js";import"../../../../models/data/order/line-item/variant/value/index.js";import"../../../../models/data/order/line-item/variant/index.js";import"../../../../models/data/order/line-item/index.js";import"../../../../models/data/order/order-transaction-with-prices/index.js";import"../../../../models/data/order/package/index.js";import"../../../../models/data/order/transaction/index.js";import"../../../../models/data/order/index.js";import"../../../../models/data/payment-gateway/index.js";import"../../../../models/data/product/attribute-value/index.js";import"../../../../models/data/product/filter/index.js";import"../../../../models/data/product/campaign-offer/index.js";import"../../../../models/data/product/option-set/option/index.js";import"../../../../models/data/product/option-set/index.js";import"../../../../models/data/product/stock-location/index.js";import"../../../../models/data/product/variant/price/index.js";import"../../../../models/data/product/variant/index.js";import"../../../../models/data/variant-type/index.js";import"../../../../models/data/product/index.js";import"../../../../models/data/raffle/index.js";import"../../../../models/data/shipping-zone/state/city/district/region/index.js";import"../../../../models/data/state/index.js";import"../../../../models/data/storefront-popup/storefront-popup-display-filter/index.js";import"../../../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../../../models/data/storefront-popup/index.js";import"../../../../models/data/theme-json/index.js";import"../../../../models/data/theme-json/component/index.js";import"../../../../models/data/theme-json/custom-data/index.js";import"../../../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import"../../../../models/ui/blog-list/index.js";import"../../../../models/ui/blog-category-list/index.js";import"../../../../models/ui/brand-list/index.js";import"../../../../models/ui/category-list/index.js";import"../../../../models/ui/product-list/index.js";import"../../../../models/ui/product-attribute-detail/index.js";import"../../../../models/ui/product-attribute-list/index.js";import"../../../../models/ui/customer-review-list/index.js";import"../../../../models/ui/customer-review-summary-list/index.js";import"../../../../models/ui/validator/index.js";import"../../../../models/ui/validator/rules/index.js";import"../../../../models/ui/validator/form/login.js";import"../../../../models/ui/validator/form/address.js";import"../../../../models/ui/validator/form/ikas-address.js";import"../../../../models/ui/validator/form/register.js";import"../../../../models/ui/validator/form/contact-form.js";import"../../../../models/ui/validator/form/forgot-password.js";import"../../../../models/ui/validator/form/recover-password.js";import"../../../../models/ui/validator/form/account-info.js";import"../../../../models/ui/validator/form/raffle-form.js";import"../../../../models/ui/validator/form/customer-review.js";import"../../../../models/ui/raffle-list/index.js";import h from"../../components/offer-product/index.js";import{Analytics as x}from"../../../../analytics/analytics.js";import"../../../../analytics/head/index.js";import{QuickRegistration as k}from"../../components/quick-registration/index.js";import{ProductFiles as y}from"../../components/product-files/index.js";import j from"../../components/offer-product/offer-arrows/index.js";import N from"../../components/offer-product/offer-dots/index.js";import I from"../../components/svg/shopping-bag.js";import{CartSummary as T}from"../../components/cart-summary/index.js";import A from"../../components/offer-product/useCampaignOffer.js";var C="eventSentCartIds",D=a((function(a){var g,C,D,P,S,L,R,M,b,O,_,F,w=a.vm,Y=p().t,U=A(w,!0),V=U.setActiveIndex,z=U.setIsActiveOverlay,B=U.handlePrev,G=U.handleNext,K=U.isActiveOverlay,H=U.activeIndex,Q=U.isMobile;t.useEffect((function(){if("undefined"!=typeof localStorage){var t=localStorage.getItem(s),a=localStorage.getItem("eventSentCartIds");if(t&&t===w.checkout.id){if(w.successTransaction){var o=JSON.parse(a||"[]");if(!o.some((function(e){return e===w.checkout.id}))){var n=w.checkout.orderedAt,r=Date.now();Math.floor(Math.abs(r-n)/1e3)<30&&x.purchase(w.checkout,w.successTransaction),localStorage.setItem("eventSentCartIds",JSON.stringify(e(e([],o,!0),[w.checkout.id],!1)))}}localStorage.removeItem(s)}window&&window.handleKlarna&&window.handleKlarna(void 0)}}),[]);var J=((null===(g=w.checkout.customer)||void 0===g?void 0:g.firstName)||"")+" "+((null===(C=w.checkout.customer)||void 0===C?void 0:C.lastName)||""),q=((null===(D=w.checkout.shippingAddress)||void 0===D?void 0:D.firstName)||"")+" "+((null===(P=w.checkout.shippingAddress)||void 0===P?void 0:P.lastName)||""),X=w.paymentGateways.find((function(e){var t;return e.id===(null===(t=w.successTransaction)||void 0===t?void 0:t.paymentGatewayId)})),W=function(e){var a,o;switch(e||(null===(o=null===(a=w.successTransaction)||void 0===a?void 0:a.paymentMethodDetail)||void 0===o?void 0:o.cardAssociation)){case E.AMERICAN_EXPRESS:return t.createElement(c,null);case E.MASTER_CARD:return t.createElement(l,null);case E.TROY:return t.createElement(d,null);case E.VISA:return t.createElement(m,null);default:return t.createElement("div",null)}},Z=function(e){switch(e){case v.APP_PAYMENT:return Y("checkout-page:appPayment");case v.BANK_REDIRECT:return Y("checkout-page:bankRedirect");case v.BUY_ONLINE_PAY_AT_STORE:return Y("checkout-page:buyOnlinePayAtStore");case v.CASH:return Y("checkout-page:cash");case v.CASH_ON_DELIVERY:return Y("checkout-page:cashOnDelivery");case v.CREDIT_CARD:return Y("checkout-page:creditCard");case v.CREDIT_CARD_ON_DELIVERY:return Y("checkout-page:creditCardOnDelivery");case v.DIRECT_DEBIT:return Y("checkout-page:directDebit");case v.GIFT_CARD:return Y("checkout-page:giftCard");case v.MONEY_ORDER:return Y("checkout-page:moneyOrder");case v.OTHER:return Y("checkout-page:other");case v.PAY_LATER:return Y("checkout-page:payLater");case v.SLICE_IT:return Y("checkout-page:sliceIt");case v.WALLET:return Y("checkout-page:wallet");default:return""}},$=null===(S=w.successTransaction)||void 0===S?void 0:S.paymentMethodDetail,ee=null===(L=w.successTransaction)||void 0===L?void 0:L.paymentGatewayCode,te=null===(R=w.successTransactions)||void 0===R?void 0:R.some((function(e){return e.paymentMethod===v.GIFT_CARD})),ae=t.useMemo((function(){var e;return null===(e=w.successTransactions)||void 0===e?void 0:e.map((function(e){var a,o,s;return t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},Z(e.paymentMethod)),e.paymentMethod===v.CREDIT_CARD&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},t.createElement("div",{className:n.CardLogoContainer},W(null===(a=e.paymentMethodDetail)||void 0===a?void 0:a.cardAssociation)),t.createElement("span",null,"**** ".concat((null==$?void 0:$.lastFourDigits)||""))),(null===(s=null===(o=e.paymentMethodDetail)||void 0===o?void 0:o.installment)||void 0===s?void 0:s.installmentCount)&&e.paymentMethodDetail.installment.installmentCount>1&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},"".concat(e.paymentMethodDetail.installment.installmentCount," ").concat(Y("checkout-page:installments"))),null!==e.paymentMethodDetail.installment.installmentPrice&&t.createElement("div",{className:n.InfoText},"".concat(e.paymentMethodDetail.installment.installmentCount," x ").concat(u(e.paymentMethodDetail.installment.installmentPrice,w.checkout.currencyCode,w.checkout.currencySymbol))))))}))}),[]),oe=t.useMemo((function(){var e,a,o,s,r,i,c,l,d,m;return t.createElement("div",{className:[n.InfoGrid].join(" ")},!w.isFree&&t.createElement("div",{className:n.PaymentMethodMain},t.createElement("div",{className:n.InfoTitle},Y("checkout-page:paymentMethod")),te?ae:t.createElement(t.Fragment,null,X&&t.createElement(t.Fragment,null,!!X.logoUrl&&t.createElement("div",{className:n.PaymentLogoContainer},t.createElement("img",{src:X.logoUrl})),!X.logoUrl&&t.createElement("div",{className:n.InfoText},X.paymentMethodType===v.CREDIT_CARD&&X.type===f.INTERNAL?Y("checkout-page:creditCard"):X.name),"STRIPE"!==X.code&&"STRIPE_EU"!==X.code&&"PAYPAL"!==X.code&&"KLARNA"!==X.code||!(null===(e=w.successTransaction)||void 0===e?void 0:e.paymentMethod)?!!X.description&&X.type!==f.EXTERNAL&&t.createElement("div",{className:n.InfoText},t.createElement("div",{dangerouslySetInnerHTML:{__html:X.description}})):t.createElement("div",{className:n.InfoText},Z(w.successTransaction.paymentMethod))),"E_PAY_KOLAY"===ee&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.EPayKolayLogoContainer},t.createElement("img",{src:"https://cdn.myikas.com/sf/assets/payment/epaykolay.png"})),!!(null===(a=w.successTransaction)||void 0===a?void 0:a.paymentMethod)&&t.createElement("div",{className:n.InfoText},Z(null===(o=w.successTransaction)||void 0===o?void 0:o.paymentMethod))),"E_PAY_KOLAY"!==ee&&"STRIPE"!==ee&&"STRIPE_EU"!==ee&&"PAYPAL"!==ee&&"KLARNA"!==ee&&"CREDIT_CARD"===(null===(s=w.successTransaction)||void 0===s?void 0:s.paymentMethod)&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},t.createElement("div",{className:n.CardLogoContainer},W()),t.createElement("span",null,"**** ".concat((null==$?void 0:$.lastFourDigits)||""))),(null===(r=null==$?void 0:$.installment)||void 0===r?void 0:r.installmentCount)&&$.installment.installmentCount>1&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},"".concat($.installment.installmentCount," ").concat(Y("checkout-page:installments"))),null!==$.installment.installmentPrice&&t.createElement("div",{className:n.InfoText},"".concat($.installment.installmentCount," x ").concat(u($.installment.installmentPrice,w.checkout.currencyCode,w.checkout.currencySymbol))))))),!!w.isFree&&!!te&&t.createElement("div",{className:n.PaymentMethodMain},t.createElement("div",{className:n.InfoTitle},Y("checkout-page:paymentMethod")),ae),t.createElement("div",null,t.createElement("div",{className:n.InfoTitle},Y("checkout-page:billingAddress")),!!(null===(i=w.checkout.billingAddress)||void 0===i?void 0:i.firstName)&&t.createElement("div",{className:[n.InfoText,n.InfoTextPrimary].join(" ")},w.checkout.billingAddress.firstName," ",w.checkout.billingAddress.lastName),!!(null===(c=w.checkout.billingAddress)||void 0===c?void 0:c.company)&&t.createElement("div",{className:n.InfoText},w.checkout.billingAddress.company),(!!(null===(l=w.checkout.billingAddress)||void 0===l?void 0:l.taxOffice)||!!(null===(d=w.checkout.billingAddress)||void 0===d?void 0:d.taxNumber))&&t.createElement("div",{className:n.InfoText},w.checkout.billingAddress.taxOffice," ",w.checkout.billingAddress.taxNumber),t.createElement("div",{className:n.InfoText},null===(m=w.checkout.billingAddress)||void 0===m?void 0:m.addressText)))}),[]),se=t.useMemo((function(){return t.createElement(T,{vm:w,isSuccessPageSummary:!0})}),[]),ne=t.useMemo((function(){var e,a,o,s,r,i;return t.createElement("div",{className:[n.InfoGrid].join(" ")},t.createElement("div",null,t.createElement("div",{className:n.InfoTitle},Y("checkout-page:contactInfo")),t.createElement("div",{className:n.InfoText},null===(e=w.checkout.customer)||void 0===e?void 0:e.email),t.createElement("div",{className:n.InfoText},J),!!(null===(a=w.checkout.shippingAddress)||void 0===a?void 0:a.phone)&&t.createElement("div",{className:n.InfoText},null===(o=w.checkout.shippingAddress)||void 0===o?void 0:o.phone)),t.createElement("div",null,"in-store"===w.deliveryMethod&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoTitle},Y("checkout-page:receiver")),t.createElement("div",{className:[n.InfoText,n.withMBottom].join(" ")},q)),t.createElement("div",{className:n.InfoTitle},"address"===w.deliveryMethod?Y("checkout-page:shippingAddress"):Y("checkout-page:pickUpLocation")),!!(null===(s=w.checkout.shippingAddress)||void 0===s?void 0:s.firstName)&&t.createElement("div",{className:[n.InfoText,n.InfoTextPrimary].join(" ")},w.checkout.shippingAddress.firstName," ",w.checkout.shippingAddress.lastName),!!(null===(r=w.checkout.shippingAddress)||void 0===r?void 0:r.company)&&t.createElement("div",{className:n.InfoText},w.checkout.shippingAddress.company),t.createElement("div",{className:n.InfoText},null===(i=w.checkout.shippingAddress)||void 0===i?void 0:i.addressText)))}),[]),re=!!(null===(M=w.customizationProps)||void 0===M?void 0:M.campaignOffersEnableMiddlePhase)&&!!(null===(b=w.customizationProps)||void 0===b?void 0:b.showCampaignIsBiggerImage)&&Q&&K,ie=!!(null===(O=w.customizationProps)||void 0===O?void 0:O.campaignOffersEnableMiddlePhase)&&!!(null===(_=w.customizationProps)||void 0===_?void 0:_.showCampaignIsBiggerImage)&&Q&&!K;return t.createElement(t.Fragment,null,!!(null===(F=w.customizationProps)||void 0===F?void 0:F.campaignOffersEnableMiddlePhase)&&K&&w.campaignOffers&&w.campaignOffers.length>0&&Q&&t.createElement("div",{className:[n.MiddlePhaseOverlay,re?n.MiddlePhaseOverlayPopup:""].join(" ")}),w.campaignOffers&&!!w.campaignOffers.length&&w.isCampaignOfferLoaded&&t.createElement("div",{className:[n.CampaignOfferMain,re?n.OverlayPopupMain:""].join(" ")},t.createElement("div",{className:n.OfferSlider},w.campaignOffers.map((function(e,a){var o;return t.createElement(h,{vm:w,campaignOffer:e,index:a,activeIndex:H,offersLength:(null===(o=w.campaignOffers)||void 0===o?void 0:o.length)||0,handlePrev:B,handleNext:G,setActiveIndex:function(e){return V(e)},isPopupShow:re,closePopup:function(){return z(!1)},isPopupClosed:ie,showPopup:function(){return z(!0)},step:w.step})}))),w.campaignOffers.length>1&&t.createElement(j,{handlePrev:B,handleNext:G}),w.campaignOffers.length>1&&t.createElement(N,{isPopupShow:re,vm:w,activeIndex:H})),t.createElement("div",{className:n.StepSuccess},t.createElement("div",{className:n.SuccessTitleContainer},t.createElement(r,{className:n.SuccessCircle}),t.createElement("span",{className:n.SuccessTitle},Y("checkout-page:orderSuccessTitle"))),t.createElement("div",{className:n.SuccessSubTitle},Y(w.isDigitalOnly?"checkout-page:orderSuccessDigitalOnlyDescription":"address"===w.deliveryMethod?"checkout-page:orderSuccessDescription":"checkout-page:orderSuccessInStoreDeliveryDescription",{customerName:J})),w.productFiles.length>0&&t.createElement(y,{vm:w}),t.createElement("div",null,t.createElement("div",{className:n.OrderSummaryMain},t.createElement("div",null,t.createElement("span",{className:n.InfoTitle},Y("checkout-page:orderNo")),t.createElement("span",{className:n.InfoText},"#"+(w.checkout.orderNumber||""))),t.createElement("div",null,t.createElement("span",{className:n.InfoTitle},Y("checkout-page:orderDate")),t.createElement("span",{className:n.InfoText},w.checkout.dateStr)),t.createElement("div",{className:n.OrderAmountInfoMain},t.createElement("span",{className:n.InfoTitle},Y("checkout-page:orderAmount")),t.createElement("span",{className:n.OrderAmountInfo},t.createElement("span",null,"".concat(u(w.finalPrice||0,w.checkout.currencyCode,w.checkout.currencySymbol))),t.createElement("span",{className:n.Slash},"/"),t.createElement("span",{className:n.OrderItemCount},t.createElement(I,null),t.createElement("span",null," ",w.checkout.itemQuantity," ",Y("checkout-page:cartItemProduct"))))))),w.hasQuickRegistration&&t.createElement(k,{vm:w}),t.createElement("div",{className:n.HideOnDesktop},t.createElement(i,{title:Y("checkout-page:summary")},se)),t.createElement(i,{expanded:!0,title:Y("checkout-page:paymentSummary")},oe),!w.isDigitalOnly&&t.createElement(i,{title:Y("checkout-page:shippingSummary")},ne),t.createElement("div",{className:n.Actions},t.createElement("div",{className:n.HelpText},t.createElement("span",null,Y("checkout-page:helpCtaQuestion")),t.createElement("span",{style:{marginLeft:"4px"},className:n.Cta,onClick:function(){return w.setContactModalVisible(!0)}},Y("checkout-page:helpCta"))),t.createElement(o,{text:Y("checkout-page:actions.backToShopping"),onClick:w.onBackToShoppingClick,style:{flex:"0 0 auto"}}))))}));a((function(e){var a,o=e.vm,s=p().t,r=n.Yellow;switch(o.checkout.orderPackageStatus){case g.FULFILLED:case g.PARTIALLY_FULFILLED:case g.DELIVERED:case g.PARTIALLY_DELIVERED:r=n.Green;break;case g.CANCELLED:case g.PARTIALLY_CANCELLED:case g.CANCEL_REJECTED:case g.CANCEL_REQUESTED:r=n.Red}return t.createElement("div",{className:[n.OrderStatus,r].join(" ")},o.checkout.orderPackageStatus?null===(a=[{types:[g.UNFULFILLED],text:s("checkout-page:orderPackageStatus.unfulfilled")},{types:[g.READY_FOR_SHIPMENT],text:s("checkout-page:orderPackageStatus.readyForShipment")},{types:[g.PARTIALLY_FULFILLED],text:s("checkout-page:orderPackageStatus.partiallyFulfilled")},{types:[g.FULFILLED],text:s("checkout-page:orderPackageStatus.fulfilled")},{types:[g.DELIVERED],text:s("checkout-page:orderPackageStatus.delivered")},{types:[g.PARTIALLY_DELIVERED],text:s("checkout-page:orderPackageStatus.partiallyDelivered")},{types:[g.UNABLE_TO_DELIVER],text:s("checkout-page:orderPackageStatus.unableToDeliver")},{types:[g.CANCELLED,g.PARTIALLY_CANCELLED],text:s("checkout-page:orderPackageStatus.cancelled")},{types:[g.CANCEL_REJECTED],text:s("checkout-page:orderPackageStatus.cancelRejected")},{types:[g.REFUNDED,g.PARTIALLY_REFUNDED],text:s("checkout-page:orderPackageStatus.refunded")},{types:[g.REFUND_REQUEST_ACCEPTED],text:s("checkout-page:orderPackageStatus.refundRequestAccepted")},{types:[g.REFUND_REJECTED],text:s("checkout-page:orderPackageStatus.refundRejected")},{types:[g.REFUND_REQUESTED],text:s("checkout-page:orderPackageStatus.refundRequested")}].find((function(e){return e.types.includes(o.checkout.orderPackageStatus)})))||void 0===a?void 0:a.text:"")}));export{C as SENT_CART_IDS_LS_KEY,D as StepSuccess};
|
|
1
|
+
import{__spreadArray as e}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as a}from"mobx-react-lite";import{Button as o}from"../../components/button/index.js";import{CART_LS_KEY as s}from"../../../../store/cart/index.js";import n from"./style.module.scss.js";import r from"../../components/svg/success-circle.js";import i from"../../components/expandable-section/index.js";import c from"../../components/credit-card-form/svg/amex.js";import l from"../../components/credit-card-form/svg/master-card.js";import d from"../../components/credit-card-form/svg/troy.js";import m from"../../components/credit-card-form/svg/visa.js";import"@ikas/storefront-config";import{formatCurrency as u}from"../../../../utils/currency.js";import{useTranslation as p}from"../../../../utils/i18n.js";import"../../../../models/data/blog/category/index.js";import"../../../../models/data/blog/content/index.js";import"../../../../models/data/blog/meta-data/index.js";import"../../../../models/data/blog/tag/index.js";import"../../../../models/data/blog/index.js";import"../../../../models/data/brand/index.js";import{IkasPaymentMethodType as v,IkasPaymentGatewayType as f,IkasOrderPackageStatus as g,IkasTransactionCardAssociation as E}from"@ikas/storefront-models";import"mobx";import"../../../../models/data/campaign-offer/index.js";import"../../../../models/data/cart/campaign-offer/index.js";import"../../../../models/data/cart/index.js";import"../../../../models/data/category/path-item/index.js";import"../../../../models/data/category/index.js";import"../../../../models/data/checkout/index.js";import"../../../../models/data/checkout-settings/index.js";import"../../../../models/data/city/index.js";import"../../../../models/data/country/index.js";import"../../../../models/data/customer/address/region/index.js";import"../../../../models/data/customer/address/index.js";import"../../../../models/data/customer/address/ikas-localized-customer-address.js";import"../../../../models/data/customer/attribute/index.js";import"../../../../models/data/customer/review/summary/index.js";import"../../../../models/data/customer/review/index.js";import"../../../../models/data/customer/index.js";import"../../../../models/data/customer-form-data-input/index.js";import"../../../../models/data/district/index.js";import"../../../../models/data/favorite-product/index.js";import"../../../../models/data/filter-category/index.js";import"../../../../models/data/html-meta-data/index.js";import"../../../../models/data/image/index.js";import"../../../../models/data/order/address/region/index.js";import"../../../../models/data/order/address/index.js";import"../../../../models/data/order/line-item/option/value/index.js";import"../../../../models/data/order/line-item/variant/value/index.js";import"../../../../models/data/order/line-item/variant/index.js";import"../../../../models/data/order/line-item/index.js";import"../../../../models/data/order/order-transaction-with-prices/index.js";import"../../../../models/data/order/package/index.js";import"../../../../models/data/order/transaction/index.js";import"../../../../models/data/order/index.js";import"../../../../models/data/payment-gateway/index.js";import"../../../../models/data/product/attribute-value/index.js";import"../../../../models/data/product/filter/index.js";import"../../../../models/data/product/campaign-offer/index.js";import"../../../../models/data/product/option-set/option/index.js";import"../../../../models/data/product/option-set/index.js";import"../../../../models/data/product/stock-location/index.js";import"../../../../models/data/product/variant/price/index.js";import"../../../../models/data/product/variant/index.js";import"../../../../models/data/variant-type/index.js";import"../../../../models/data/product/index.js";import"../../../../models/data/raffle/index.js";import"../../../../models/data/shipping-zone/state/city/district/region/index.js";import"../../../../models/data/state/index.js";import"../../../../models/data/storefront-popup/storefront-popup-display-settings/index.js";import"../../../../models/data/storefront-popup/storefront-popup-page-filter/index.js";import"../../../../models/data/storefront-popup/index.js";import"../../../../models/data/theme-json/index.js";import"../../../../models/data/theme-json/component/index.js";import"../../../../models/data/theme-json/custom-data/index.js";import"../../../../models/data/variant-type/variant-value/index.js";import"@ikas/localized-address";import"../../../../models/ui/blog-list/index.js";import"../../../../models/ui/blog-category-list/index.js";import"../../../../models/ui/brand-list/index.js";import"../../../../models/ui/category-list/index.js";import"../../../../models/ui/product-list/index.js";import"../../../../models/ui/product-attribute-detail/index.js";import"../../../../models/ui/product-attribute-list/index.js";import"../../../../models/ui/customer-review-list/index.js";import"../../../../models/ui/customer-review-summary-list/index.js";import"../../../../models/ui/validator/index.js";import"../../../../models/ui/validator/rules/index.js";import"../../../../models/ui/validator/form/login.js";import"../../../../models/ui/validator/form/address.js";import"../../../../models/ui/validator/form/ikas-address.js";import"../../../../models/ui/validator/form/register.js";import"../../../../models/ui/validator/form/contact-form.js";import"../../../../models/ui/validator/form/forgot-password.js";import"../../../../models/ui/validator/form/recover-password.js";import"../../../../models/ui/validator/form/account-info.js";import"../../../../models/ui/validator/form/raffle-form.js";import"../../../../models/ui/validator/form/customer-review.js";import"../../../../models/ui/raffle-list/index.js";import h from"../../components/offer-product/index.js";import{MILES_SMILES_PAYMENT_GATEWAY_CODE as x}from"@ikas/storefront-api";import{Analytics as k}from"../../../../analytics/analytics.js";import"../../../../analytics/head/index.js";import{QuickRegistration as y}from"../../components/quick-registration/index.js";import{ProductFiles as j}from"../../components/product-files/index.js";import N from"../../components/offer-product/offer-arrows/index.js";import I from"../../components/offer-product/offer-dots/index.js";import T from"../../components/svg/shopping-bag.js";import{CartSummary as A}from"../../components/cart-summary/index.js";import C from"../../components/offer-product/useCampaignOffer.js";var D="eventSentCartIds",P=a((function(a){var g,D,P,S,L,R,b,M,O,_,F,w,Y,U=a.vm,G=p().t,V=C(U,!0),z=V.setActiveIndex,B=V.setIsActiveOverlay,H=V.handlePrev,K=V.handleNext,Q=V.isActiveOverlay,J=V.activeIndex,q=V.isMobile;t.useEffect((function(){if("undefined"!=typeof localStorage){var t=localStorage.getItem(s),a=localStorage.getItem("eventSentCartIds");if(t&&t===U.checkout.id){if(U.successTransaction){var o=JSON.parse(a||"[]");if(!o.some((function(e){return e===U.checkout.id}))){var n=U.checkout.orderedAt,r=Date.now();Math.floor(Math.abs(r-n)/1e3)<30&&k.purchase(U.checkout,U.successTransaction),localStorage.setItem("eventSentCartIds",JSON.stringify(e(e([],o,!0),[U.checkout.id],!1)))}}localStorage.removeItem(s)}window&&window.handleKlarna&&window.handleKlarna(void 0)}}),[]);var X=((null===(g=U.checkout.customer)||void 0===g?void 0:g.firstName)||"")+" "+((null===(D=U.checkout.customer)||void 0===D?void 0:D.lastName)||""),W=((null===(P=U.checkout.shippingAddress)||void 0===P?void 0:P.firstName)||"")+" "+((null===(S=U.checkout.shippingAddress)||void 0===S?void 0:S.lastName)||""),Z=U.paymentGateways.find((function(e){var t;return e.id===(null===(t=U.successTransaction)||void 0===t?void 0:t.paymentGatewayId)})),$=function(e){var a,o;switch(e||(null===(o=null===(a=U.successTransaction)||void 0===a?void 0:a.paymentMethodDetail)||void 0===o?void 0:o.cardAssociation)){case E.AMERICAN_EXPRESS:return t.createElement(c,null);case E.MASTER_CARD:return t.createElement(l,null);case E.TROY:return t.createElement(d,null);case E.VISA:return t.createElement(m,null);default:return t.createElement("div",null)}},ee=function(e){switch(e){case v.APP_PAYMENT:return G("checkout-page:appPayment");case v.BANK_REDIRECT:return G("checkout-page:bankRedirect");case v.BUY_ONLINE_PAY_AT_STORE:return G("checkout-page:buyOnlinePayAtStore");case v.CASH:return G("checkout-page:cash");case v.CASH_ON_DELIVERY:return G("checkout-page:cashOnDelivery");case v.CREDIT_CARD:return G("checkout-page:creditCard");case v.CREDIT_CARD_ON_DELIVERY:return G("checkout-page:creditCardOnDelivery");case v.DIRECT_DEBIT:return G("checkout-page:directDebit");case v.GIFT_CARD:return G("checkout-page:giftCard");case v.MONEY_ORDER:return G("checkout-page:moneyOrder");case v.OTHER:return G("checkout-page:other");case v.PAY_LATER:return G("checkout-page:payLater");case v.SLICE_IT:return G("checkout-page:sliceIt");case v.WALLET:return G("checkout-page:wallet");default:return""}},te=null===(L=U.successTransaction)||void 0===L?void 0:L.paymentMethodDetail,ae=null===(R=U.successTransaction)||void 0===R?void 0:R.paymentGatewayCode,oe=null===(b=U.successTransactions)||void 0===b?void 0:b.some((function(e){return e.paymentMethod===v.GIFT_CARD})),se=null===(M=U.successTransactions)||void 0===M?void 0:M.some((function(e){return e.paymentGatewayCode===x})),ne=t.useMemo((function(){var e;return null===(e=U.successTransactions)||void 0===e?void 0:e.map((function(e){var a,o,s;return t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},e.paymentGatewayCode===x?"".concat(G("checkout-page:milesSmilesPaymentLabel")," · ").concat(e.formattedAmount):ee(e.paymentMethod)),e.paymentMethod===v.CREDIT_CARD&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},t.createElement("div",{className:n.CardLogoContainer},$(null===(a=e.paymentMethodDetail)||void 0===a?void 0:a.cardAssociation)),t.createElement("span",null,"**** ".concat((null==te?void 0:te.lastFourDigits)||""))),(null===(s=null===(o=e.paymentMethodDetail)||void 0===o?void 0:o.installment)||void 0===s?void 0:s.installmentCount)&&e.paymentMethodDetail.installment.installmentCount>1&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},"".concat(e.paymentMethodDetail.installment.installmentCount," ").concat(G("checkout-page:installments"))),null!==e.paymentMethodDetail.installment.installmentPrice&&t.createElement("div",{className:n.InfoText},"".concat(e.paymentMethodDetail.installment.installmentCount," x ").concat(u(e.paymentMethodDetail.installment.installmentPrice,U.checkout.currencyCode,U.checkout.currencySymbol))))))}))}),[]),re=t.useMemo((function(){var e,a,o,s,r,i,c,l,d,m;return t.createElement("div",{className:[n.InfoGrid].join(" ")},(!U.isFree||se)&&t.createElement("div",{className:n.PaymentMethodMain},t.createElement("div",{className:n.InfoTitle},G("checkout-page:paymentMethod")),oe||se?ne:t.createElement(t.Fragment,null,Z&&t.createElement(t.Fragment,null,!!Z.logoUrl&&t.createElement("div",{className:n.PaymentLogoContainer},t.createElement("img",{src:Z.logoUrl})),!Z.logoUrl&&t.createElement("div",{className:n.InfoText},Z.paymentMethodType===v.CREDIT_CARD&&Z.type===f.INTERNAL?G("checkout-page:creditCard"):Z.name),"STRIPE"!==Z.code&&"STRIPE_EU"!==Z.code&&"PAYPAL"!==Z.code&&"KLARNA"!==Z.code||!(null===(e=U.successTransaction)||void 0===e?void 0:e.paymentMethod)?!!Z.description&&Z.type!==f.EXTERNAL&&t.createElement("div",{className:n.InfoText},t.createElement("div",{dangerouslySetInnerHTML:{__html:Z.description}})):t.createElement("div",{className:n.InfoText},ee(U.successTransaction.paymentMethod))),"E_PAY_KOLAY"===ae&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.EPayKolayLogoContainer},t.createElement("img",{src:"https://cdn.myikas.com/sf/assets/payment/epaykolay.png"})),!!(null===(a=U.successTransaction)||void 0===a?void 0:a.paymentMethod)&&t.createElement("div",{className:n.InfoText},ee(null===(o=U.successTransaction)||void 0===o?void 0:o.paymentMethod))),"E_PAY_KOLAY"!==ae&&"STRIPE"!==ae&&"STRIPE_EU"!==ae&&"PAYPAL"!==ae&&"KLARNA"!==ae&&"CREDIT_CARD"===(null===(s=U.successTransaction)||void 0===s?void 0:s.paymentMethod)&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},t.createElement("div",{className:n.CardLogoContainer},$()),t.createElement("span",null,"**** ".concat((null==te?void 0:te.lastFourDigits)||""))),(null===(r=null==te?void 0:te.installment)||void 0===r?void 0:r.installmentCount)&&te.installment.installmentCount>1&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoText},"".concat(te.installment.installmentCount," ").concat(G("checkout-page:installments"))),null!==te.installment.installmentPrice&&t.createElement("div",{className:n.InfoText},"".concat(te.installment.installmentCount," x ").concat(u(te.installment.installmentPrice,U.checkout.currencyCode,U.checkout.currencySymbol))))))),!!U.isFree&&!!oe&&t.createElement("div",{className:n.PaymentMethodMain},t.createElement("div",{className:n.InfoTitle},G("checkout-page:paymentMethod")),ne),t.createElement("div",null,t.createElement("div",{className:n.InfoTitle},G("checkout-page:billingAddress")),!!(null===(i=U.checkout.billingAddress)||void 0===i?void 0:i.firstName)&&t.createElement("div",{className:[n.InfoText,n.InfoTextPrimary].join(" ")},U.checkout.billingAddress.firstName," ",U.checkout.billingAddress.lastName),!!(null===(c=U.checkout.billingAddress)||void 0===c?void 0:c.company)&&t.createElement("div",{className:n.InfoText},U.checkout.billingAddress.company),(!!(null===(l=U.checkout.billingAddress)||void 0===l?void 0:l.taxOffice)||!!(null===(d=U.checkout.billingAddress)||void 0===d?void 0:d.taxNumber))&&t.createElement("div",{className:n.InfoText},U.checkout.billingAddress.taxOffice," ",U.checkout.billingAddress.taxNumber),t.createElement("div",{className:n.InfoText},null===(m=U.checkout.billingAddress)||void 0===m?void 0:m.addressText)))}),[]),ie=t.useMemo((function(){return t.createElement(A,{vm:U,isSuccessPageSummary:!0})}),[]),ce=t.useMemo((function(){var e,a,o,s,r,i;return t.createElement("div",{className:[n.InfoGrid].join(" ")},t.createElement("div",null,t.createElement("div",{className:n.InfoTitle},G("checkout-page:contactInfo")),t.createElement("div",{className:n.InfoText},null===(e=U.checkout.customer)||void 0===e?void 0:e.email),t.createElement("div",{className:n.InfoText},X),!!(null===(a=U.checkout.shippingAddress)||void 0===a?void 0:a.phone)&&t.createElement("div",{className:n.InfoText},null===(o=U.checkout.shippingAddress)||void 0===o?void 0:o.phone)),t.createElement("div",null,"in-store"===U.deliveryMethod&&t.createElement(t.Fragment,null,t.createElement("div",{className:n.InfoTitle},G("checkout-page:receiver")),t.createElement("div",{className:[n.InfoText,n.withMBottom].join(" ")},W)),t.createElement("div",{className:n.InfoTitle},"address"===U.deliveryMethod?G("checkout-page:shippingAddress"):G("checkout-page:pickUpLocation")),!!(null===(s=U.checkout.shippingAddress)||void 0===s?void 0:s.firstName)&&t.createElement("div",{className:[n.InfoText,n.InfoTextPrimary].join(" ")},U.checkout.shippingAddress.firstName," ",U.checkout.shippingAddress.lastName),!!(null===(r=U.checkout.shippingAddress)||void 0===r?void 0:r.company)&&t.createElement("div",{className:n.InfoText},U.checkout.shippingAddress.company),t.createElement("div",{className:n.InfoText},null===(i=U.checkout.shippingAddress)||void 0===i?void 0:i.addressText)))}),[]),le=!!(null===(O=U.customizationProps)||void 0===O?void 0:O.campaignOffersEnableMiddlePhase)&&!!(null===(_=U.customizationProps)||void 0===_?void 0:_.showCampaignIsBiggerImage)&&q&&Q,de=!!(null===(F=U.customizationProps)||void 0===F?void 0:F.campaignOffersEnableMiddlePhase)&&!!(null===(w=U.customizationProps)||void 0===w?void 0:w.showCampaignIsBiggerImage)&&q&&!Q;return t.createElement(t.Fragment,null,!!(null===(Y=U.customizationProps)||void 0===Y?void 0:Y.campaignOffersEnableMiddlePhase)&&Q&&U.campaignOffers&&U.campaignOffers.length>0&&q&&t.createElement("div",{className:[n.MiddlePhaseOverlay,le?n.MiddlePhaseOverlayPopup:""].join(" ")}),U.campaignOffers&&!!U.campaignOffers.length&&U.isCampaignOfferLoaded&&t.createElement("div",{className:[n.CampaignOfferMain,le?n.OverlayPopupMain:""].join(" ")},t.createElement("div",{className:n.OfferSlider},U.campaignOffers.map((function(e,a){var o;return t.createElement(h,{vm:U,campaignOffer:e,index:a,activeIndex:J,offersLength:(null===(o=U.campaignOffers)||void 0===o?void 0:o.length)||0,handlePrev:H,handleNext:K,setActiveIndex:function(e){return z(e)},isPopupShow:le,closePopup:function(){return B(!1)},isPopupClosed:de,showPopup:function(){return B(!0)},step:U.step})}))),U.campaignOffers.length>1&&t.createElement(N,{handlePrev:H,handleNext:K}),U.campaignOffers.length>1&&t.createElement(I,{isPopupShow:le,vm:U,activeIndex:J})),t.createElement("div",{className:n.StepSuccess},t.createElement("div",{className:n.SuccessTitleContainer},t.createElement(r,{className:n.SuccessCircle}),t.createElement("span",{className:n.SuccessTitle},G("checkout-page:orderSuccessTitle"))),t.createElement("div",{className:n.SuccessSubTitle},G(U.isDigitalOnly?"checkout-page:orderSuccessDigitalOnlyDescription":"address"===U.deliveryMethod?"checkout-page:orderSuccessDescription":"checkout-page:orderSuccessInStoreDeliveryDescription",{customerName:X})),U.productFiles.length>0&&t.createElement(j,{vm:U}),t.createElement("div",null,t.createElement("div",{className:n.OrderSummaryMain},t.createElement("div",null,t.createElement("span",{className:n.InfoTitle},G("checkout-page:orderNo")),t.createElement("span",{className:n.InfoText},"#"+(U.checkout.orderNumber||""))),t.createElement("div",null,t.createElement("span",{className:n.InfoTitle},G("checkout-page:orderDate")),t.createElement("span",{className:n.InfoText},U.checkout.dateStr)),t.createElement("div",{className:n.OrderAmountInfoMain},t.createElement("span",{className:n.InfoTitle},G("checkout-page:orderAmount")),t.createElement("span",{className:n.OrderAmountInfo},t.createElement("span",null,"".concat(u(U.finalPrice||0,U.checkout.currencyCode,U.checkout.currencySymbol))),t.createElement("span",{className:n.Slash},"/"),t.createElement("span",{className:n.OrderItemCount},t.createElement(T,null),t.createElement("span",null," ",U.checkout.itemQuantity," ",G("checkout-page:cartItemProduct"))))))),U.hasQuickRegistration&&t.createElement(y,{vm:U}),t.createElement("div",{className:n.HideOnDesktop},t.createElement(i,{title:G("checkout-page:summary")},ie)),t.createElement(i,{expanded:!0,title:G("checkout-page:paymentSummary")},re),!U.isDigitalOnly&&t.createElement(i,{title:G("checkout-page:shippingSummary")},ce),t.createElement("div",{className:n.Actions},t.createElement("div",{className:n.HelpText},t.createElement("span",null,G("checkout-page:helpCtaQuestion")),t.createElement("span",{style:{marginLeft:"4px"},className:n.Cta,onClick:function(){return U.setContactModalVisible(!0)}},G("checkout-page:helpCta"))),t.createElement(o,{href:U.getBackToShoppingHref(),text:G("checkout-page:actions.backToShopping"),style:{flex:"0 0 auto"}}))))}));a((function(e){var a,o=e.vm,s=p().t,r=n.Yellow;switch(o.checkout.orderPackageStatus){case g.FULFILLED:case g.PARTIALLY_FULFILLED:case g.DELIVERED:case g.PARTIALLY_DELIVERED:r=n.Green;break;case g.CANCELLED:case g.PARTIALLY_CANCELLED:case g.CANCEL_REJECTED:case g.CANCEL_REQUESTED:r=n.Red}return t.createElement("div",{className:[n.OrderStatus,r].join(" ")},o.checkout.orderPackageStatus?null===(a=[{types:[g.UNFULFILLED],text:s("checkout-page:orderPackageStatus.unfulfilled")},{types:[g.READY_FOR_SHIPMENT],text:s("checkout-page:orderPackageStatus.readyForShipment")},{types:[g.PARTIALLY_FULFILLED],text:s("checkout-page:orderPackageStatus.partiallyFulfilled")},{types:[g.FULFILLED],text:s("checkout-page:orderPackageStatus.fulfilled")},{types:[g.DELIVERED],text:s("checkout-page:orderPackageStatus.delivered")},{types:[g.PARTIALLY_DELIVERED],text:s("checkout-page:orderPackageStatus.partiallyDelivered")},{types:[g.UNABLE_TO_DELIVER],text:s("checkout-page:orderPackageStatus.unableToDeliver")},{types:[g.CANCELLED,g.PARTIALLY_CANCELLED],text:s("checkout-page:orderPackageStatus.cancelled")},{types:[g.CANCEL_REJECTED],text:s("checkout-page:orderPackageStatus.cancelRejected")},{types:[g.REFUNDED,g.PARTIALLY_REFUNDED],text:s("checkout-page:orderPackageStatus.refunded")},{types:[g.REFUND_REQUEST_ACCEPTED],text:s("checkout-page:orderPackageStatus.refundRequestAccepted")},{types:[g.REFUND_REJECTED],text:s("checkout-page:orderPackageStatus.refundRejected")},{types:[g.REFUND_REQUESTED],text:s("checkout-page:orderPackageStatus.refundRequested")}].find((function(e){return e.types.includes(o.checkout.orderPackageStatus)})))||void 0===a?void 0:a.text:"")}));export{D as SENT_CART_IDS_LS_KEY,P as StepSuccess};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from'./../../ext/style-inject/dist/style-inject.es.js';var t={CheckoutPage:"style-module_CheckoutPage__ZhJkP",Left:"style-module_Left__Fi9Ka",epaykolay:"style-module_epaykolay__3MlS-",LeftContent:"style-module_LeftContent__9OjX9",Space:"style-module_Space__rZnAy",Footer:"style-module_Footer__x-8Uy",FooterItem:"style-module_FooterItem__33V-M",FooterBullet:"style-module_FooterBullet__ReSoQ",AdressStepInfo:"style-module_AdressStepInfo__n4JGO",Address:"style-module_Address__yS7Ou",Text:"style-module_Text__jEuRS",WithMBottom:"style-module_WithMBottom__4Eb0o",WithMTop:"style-module_WithMTop__I550k",Gray:"style-module_Gray__p6WTS",EditBtn:"style-module_EditBtn__1BG0f",AddressStepInfoMobile:"style-module_AddressStepInfoMobile__7awcG",ErrorContainer:"style-module_ErrorContainer__TAK-J",Header:"style-module_Header__V7Pe2",Logo:"style-module_Logo__y9GGC",LoginText:"style-module_LoginText__OOD8r",LoginBtn:"style-module_LoginBtn__m-qco",CustomerInfo:"style-module_CustomerInfo__ECTKP",Name:"style-module_Name__iIq-v",Email:"style-module_Email__UX6fN",LoginCta:"style-module_LoginCta__TDolx",MobileCartSummary:"style-module_MobileCartSummary__bUmJj",RowPB:"style-module_RowPB__tAM9q",Right:"style-module_Right__1BcGi",RightContent:"style-module_RightContent__qvFkp",PoweredBy:"style-module_PoweredBy__3k1Sx",LightText:"style-module_LightText__IsehB",ReactTooltipWrap:"style-module_ReactTooltipWrap__HX-4g",CouponContainer:"style-module_CouponContainer__75r01",OfferSlider:"style-module_OfferSlider__-XwAY",OfferArrow:"style-module_OfferArrow__xVE-T",OfferArrowLeft:"style-module_OfferArrowLeft__Xravz",OfferArrowRight:"style-module_OfferArrowRight__8dOYq",CampaignOfferMain:"style-module_CampaignOfferMain__YuOGC",FullPageOfferMain:"style-module_FullPageOfferMain__I10XC",FullPageOfferContainer:"style-module_FullPageOfferContainer__C5BUd",OfferSuccessInfo:"style-module_OfferSuccessInfo__dqaz7",OfferSuccessHeader:"style-module_OfferSuccessHeader__XXQT0",SuccessCircle:"style-module_SuccessCircle__MTabL",SuccessTitle:"style-module_SuccessTitle__tCH2A",OfferOrderInfoMain:"style-module_OfferOrderInfoMain__-aqgA",InfoTitle:"style-module_InfoTitle__Zd6Dd",InfoText:"style-module_InfoText__MOjKO",OfferButton:"style-module_OfferButton__0hTNI",MiddlePhaseOverlay:"style-module_MiddlePhaseOverlay__LPV2A",MiddlePhaseOverlayPopup:"style-module_MiddlePhaseOverlayPopup__BNC61",OverlayPopupMain:"style-module_OverlayPopupMain__4PrI0",LogoMain:"style-module_LogoMain__TVrEL"};e('.style-module_CheckoutPage__ZhJkP {\n all: unset;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px !important;\n width: 100%;\n height: 100vh;\n overflow: auto;\n overflow-x: hidden;\n display: flex;\n color: var(--checkout-primary-text-color);\n background-color: var(--checkout-primary-bg-color);\n}\n.style-module_CheckoutPage__ZhJkP input::placeholder,\n.style-module_CheckoutPage__ZhJkP textarea::placeholder {\n all: unset;\n}\n.style-module_CheckoutPage__ZhJkP a,\n.style-module_CheckoutPage__ZhJkP a:hover,\n.style-module_CheckoutPage__ZhJkP a:focus,\n.style-module_CheckoutPage__ZhJkP a:active {\n color: inherit;\n}\n.style-module_CheckoutPage__ZhJkP * {\n box-sizing: border-box !important;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px;\n letter-spacing: normal;\n font-weight: normal;\n line-height: unset;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka {\n width: 50%;\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n padding-left: 20px;\n padding-right: 64px;\n background-color: var(--checkout-primary-bg-color);\n z-index: 1;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka.style-module_epaykolay__3MlS- {\n padding-left: 0;\n padding-right: 0;\n z-index: 2;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 {\n width: 100%;\n min-width: 400px;\n max-width: 600px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-height: 100vh;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Space__rZnAy {\n width: 100%;\n height: 100px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Space__rZnAy {\n height: 48px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy {\n flex: 0 0 auto;\n background-color: transparent;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n padding: 12.205px 0;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n cursor: pointer;\n user-select: none;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M:hover {\n color: var(--checkout-primary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterBullet__ReSoQ {\n margin: 0 12px;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy {\n width: 100%;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M {\n text-align: center;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO {\n display: flex;\n justify-content: space-between;\n padding-left: 78px;\n padding-top: 5px;\n width: 100%;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou {\n font-size: 16px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS {\n font-size: 14px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMBottom__4Eb0o {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMTop__I550k {\n margin-top: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_Gray__p6WTS {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_EditBtn__1BG0f {\n cursor: pointer;\n user-select: none;\n align-self: flex-start;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_EditBtn__1BG0f:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO {\n padding-top: 0;\n justify-content: flex-end;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG {\n display: none;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG {\n display: block;\n padding-top: 16px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou {\n font-size: 16px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS {\n font-size: 14px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMBottom__4Eb0o {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_Gray__p6WTS {\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_ErrorContainer__TAK-J {\n padding: 0 24px;\n }\n}\n@media only screen and (max-width: 480px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_ErrorContainer__TAK-J {\n padding: 0 10px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 {\n width: 100%;\n height: 96px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: 500;\n font-size: 20px;\n margin-bottom: 44px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 a {\n flex: 1 1 auto;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC {\n width: calc(100% - 24px);\n max-width: 200px;\n height: 64px;\n position: relative;\n user-select: none;\n cursor: pointer;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC img {\n object-fit: contain;\n object-position: left;\n pointer-events: none;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC {\n max-width: 150px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r {\n font-size: 14px;\n text-align: right;\n flex: 0 0 auto;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r span {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginBtn__m-qco {\n margin-left: 4px;\n font-weight: bold;\n user-select: none;\n cursor: pointer;\n font-weight: 500;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Name__iIq-v {\n font-size: 20px;\n font-weight: 600;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Email__UX6fN {\n font-weight: 500;\n font-size: 14px;\n user-select: none;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 {\n height: 72px;\n margin-bottom: 0;\n padding: 0 24px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Name__iIq-v {\n font-size: 15px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Email__UX6fN {\n font-size: 13px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r {\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r .style-module_LoginCta__TDolx {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_MobileCartSummary__bUmJj {\n position: sticky;\n top: 0;\n z-index: 10;\n}\n@media only screen and (min-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_MobileCartSummary__bUmJj {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_RowPB__tAM9q {\n padding-bottom: 16px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka {\n width: 100%;\n justify-content: center;\n padding-right: 0px;\n padding-left: 0px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 {\n width: 100%;\n min-width: auto;\n max-width: 100%;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi {\n width: 50%;\n min-height: 100%;\n flex: 0 0 auto;\n background-color: var(--checkout-secondary-bg-color);\n display: flex;\n padding-left: 64px;\n padding-right: 20px;\n position: sticky;\n top: 0;\n overflow-y: auto;\n z-index: 1;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp {\n width: 100%;\n max-width: 600px;\n padding-top: 64px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx {\n width: 100%;\n padding: 16px 0;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--checkout-primary-text-color);\n user-select: none;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx span {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n margin-right: 8px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx a {\n display: flex;\n align-items: center;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi {\n display: none;\n }\n}\n\n.style-module_LightText__IsehB {\n color: var(--checkout-secondary-text-color);\n}\n\n.style-module_ReactTooltipWrap__HX-4g {\n max-width: 300px;\n}\n\n.style-module_CouponContainer__75r01 {\n width: 100%;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CouponContainer__75r01 {\n padding: 0 24px;\n margin-top: 24px;\n }\n}\n\n.style-module_OfferSlider__-XwAY {\n display: flex;\n overflow: hidden;\n position: relative;\n}\n\n.style-module_OfferArrow__xVE-T {\n padding: 10px;\n justify-content: center;\n align-items: center;\n border-radius: 32px;\n border: 1px solid var(--checkout-border-color);\n display: flex;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n cursor: pointer;\n z-index: 9;\n background-color: #fff;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_OfferArrow__xVE-T {\n display: none;\n }\n}\n\n.style-module_OfferArrowLeft__Xravz {\n left: -20px;\n}\n\n.style-module_OfferArrowRight__8dOYq {\n right: -20px;\n}\n\n.style-module_CampaignOfferMain__YuOGC {\n position: relative;\n}\n\n.style-module_FullPageOfferMain__I10XC {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background-color: #fff;\n z-index: 2;\n overflow: auto;\n}\n\n.style-module_FullPageOfferContainer__C5BUd {\n margin: 10% auto;\n max-width: 1048px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 32px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_OfferSuccessHeader__XXQT0 {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_OfferSuccessHeader__XXQT0 svg {\n width: 24px;\n height: 24px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_SuccessCircle__MTabL {\n color: #2dca73;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_SuccessTitle__tCH2A {\n font-size: 20px;\n font-weight: 400;\n line-height: 28px;\n margin-left: 12px;\n}\n\n.style-module_OfferOrderInfoMain__-aqgA {\n display: flex;\n gap: 4px;\n}\n.style-module_OfferOrderInfoMain__-aqgA .style-module_InfoTitle__Zd6Dd {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_OfferOrderInfoMain__-aqgA .style-module_InfoText__MOjKO {\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px;\n color: var(--checkout-primary-text-color);\n}\n\n.style-module_OfferButton__0hTNI {\n font-weight: 500 !important;\n width: 100%;\n height: 52px !important;\n font-size: 16px;\n}\n\n.style-module_MiddlePhaseOverlay__LPV2A {\n position: fixed;\n background-color: var(--checkout-campaign-middle-phase-overlay-color);\n width: 100%;\n height: 100%;\n z-index: 99;\n top: 72px;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: auto;\n}\n\n.style-module_MiddlePhaseOverlayPopup__BNC61 {\n top: 0;\n}\n\n.style-module_CampaignOfferMain__YuOGC {\n position: relative;\n z-index: 100;\n background-color: transparent;\n}\n\n.style-module_OverlayPopupMain__4PrI0 {\n width: 95%;\n margin: 0 auto;\n border-radius: 12px;\n position: fixed;\n top: 5%;\n left: 2.5%;\n height: 80vh;\n overflow: auto;\n}\n\n.style-module_LogoMain__TVrEL {\n margin-bottom: 32px;\n display: flex;\n justify-content: center;\n}\n.style-module_LogoMain__TVrEL .style-module_Logo__y9GGC {\n width: calc(100% - 24px);\n max-width: 200px;\n height: 64px;\n position: relative;\n user-select: none;\n}\n.style-module_LogoMain__TVrEL .style-module_Logo__y9GGC img {\n object-fit: contain;\n pointer-events: none;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_LogoMain__TVrEL .style-module_Logo__y9GGC {\n max-width: 150px;\n }\n}');export{t as default};
|
|
1
|
+
import e from'./../../ext/style-inject/dist/style-inject.es.js';var t={CheckoutPage:"style-module_CheckoutPage__ZhJkP",Left:"style-module_Left__Fi9Ka",epaykolay:"style-module_epaykolay__3MlS-",LeftContent:"style-module_LeftContent__9OjX9",Space:"style-module_Space__rZnAy",Footer:"style-module_Footer__x-8Uy",FooterItem:"style-module_FooterItem__33V-M",FooterBullet:"style-module_FooterBullet__ReSoQ",AdressStepInfo:"style-module_AdressStepInfo__n4JGO",Address:"style-module_Address__yS7Ou",Text:"style-module_Text__jEuRS",WithMBottom:"style-module_WithMBottom__4Eb0o",WithMTop:"style-module_WithMTop__I550k",Gray:"style-module_Gray__p6WTS",EditBtn:"style-module_EditBtn__1BG0f",AddressStepInfoMobile:"style-module_AddressStepInfoMobile__7awcG",ErrorContainer:"style-module_ErrorContainer__TAK-J",Header:"style-module_Header__V7Pe2",Logo:"style-module_Logo__y9GGC",LoginText:"style-module_LoginText__OOD8r",LoginBtn:"style-module_LoginBtn__m-qco",CustomerInfo:"style-module_CustomerInfo__ECTKP",Name:"style-module_Name__iIq-v",Email:"style-module_Email__UX6fN",LoginCta:"style-module_LoginCta__TDolx",MobileCartSummary:"style-module_MobileCartSummary__bUmJj",RowPB:"style-module_RowPB__tAM9q",Right:"style-module_Right__1BcGi",RightContent:"style-module_RightContent__qvFkp",PoweredBy:"style-module_PoweredBy__3k1Sx",LightText:"style-module_LightText__IsehB",ReactTooltipWrap:"style-module_ReactTooltipWrap__HX-4g",CouponContainer:"style-module_CouponContainer__75r01",OfferSlider:"style-module_OfferSlider__-XwAY",OfferArrow:"style-module_OfferArrow__xVE-T",OfferArrowLeft:"style-module_OfferArrowLeft__Xravz",OfferArrowRight:"style-module_OfferArrowRight__8dOYq",CampaignOfferMain:"style-module_CampaignOfferMain__YuOGC",FullPageOfferMain:"style-module_FullPageOfferMain__I10XC",FullPageOfferContainer:"style-module_FullPageOfferContainer__C5BUd",OfferSuccessInfo:"style-module_OfferSuccessInfo__dqaz7",OfferSuccessHeader:"style-module_OfferSuccessHeader__XXQT0",SuccessCircle:"style-module_SuccessCircle__MTabL",SuccessTitle:"style-module_SuccessTitle__tCH2A",OfferOrderInfoMain:"style-module_OfferOrderInfoMain__-aqgA",InfoTitle:"style-module_InfoTitle__Zd6Dd",InfoText:"style-module_InfoText__MOjKO",OfferButton:"style-module_OfferButton__0hTNI",MiddlePhaseOverlay:"style-module_MiddlePhaseOverlay__LPV2A",MiddlePhaseOverlayPopup:"style-module_MiddlePhaseOverlayPopup__BNC61",OverlayPopupMain:"style-module_OverlayPopupMain__4PrI0",LogoMain:"style-module_LogoMain__TVrEL"};e('.style-module_CheckoutPage__ZhJkP {\n all: unset;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px !important;\n width: 100%;\n height: 100dvh;\n overflow: auto;\n overflow-x: hidden;\n display: flex;\n color: var(--checkout-primary-text-color);\n background-color: var(--checkout-primary-bg-color);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.style-module_CheckoutPage__ZhJkP input::placeholder,\n.style-module_CheckoutPage__ZhJkP textarea::placeholder {\n all: unset;\n}\n.style-module_CheckoutPage__ZhJkP a,\n.style-module_CheckoutPage__ZhJkP a:hover,\n.style-module_CheckoutPage__ZhJkP a:focus,\n.style-module_CheckoutPage__ZhJkP a:active {\n color: inherit;\n text-decoration: inherit;\n}\n.style-module_CheckoutPage__ZhJkP * {\n box-sizing: border-box !important;\n font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n font-size: 16px;\n letter-spacing: normal;\n font-weight: normal;\n line-height: unset;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka {\n width: 50%;\n flex: 0 0 auto;\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n padding-left: 20px;\n padding-right: 64px;\n background-color: var(--checkout-primary-bg-color);\n z-index: 1;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka.style-module_epaykolay__3MlS- {\n padding-left: 0;\n padding-right: 0;\n z-index: 2;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 {\n width: 100%;\n min-width: 400px;\n max-width: 600px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-height: 100dvh;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Space__rZnAy {\n width: 100%;\n height: 100px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Space__rZnAy {\n height: 48px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy {\n flex: 0 0 auto;\n background-color: transparent;\n width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n padding: 12.205px 0;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M {\n font-size: 14px;\n color: var(--checkout-secondary-text-color);\n cursor: pointer;\n user-select: none;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M:hover {\n color: var(--checkout-primary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterBullet__ReSoQ {\n margin: 0 12px;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy {\n width: 100%;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_Footer__x-8Uy .style-module_FooterItem__33V-M {\n text-align: center;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO {\n display: flex;\n justify-content: space-between;\n padding-left: 78px;\n padding-top: 5px;\n width: 100%;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou {\n font-size: 16px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS {\n font-size: 14px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMBottom__4Eb0o {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMTop__I550k {\n margin-top: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_Gray__p6WTS {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_EditBtn__1BG0f {\n cursor: pointer;\n user-select: none;\n align-self: flex-start;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_EditBtn__1BG0f:hover {\n text-decoration: underline;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO {\n padding-top: 0;\n justify-content: flex-end;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AdressStepInfo__n4JGO .style-module_Address__yS7Ou {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG {\n display: none;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG {\n display: block;\n padding-top: 16px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou {\n font-size: 16px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS {\n font-size: 14px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_WithMBottom__4Eb0o {\n margin-bottom: 12px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_AddressStepInfoMobile__7awcG .style-module_Address__yS7Ou .style-module_Text__jEuRS.style-module_Gray__p6WTS {\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_ErrorContainer__TAK-J {\n padding: 0 24px;\n }\n}\n@media only screen and (max-width: 480px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 .style-module_ErrorContainer__TAK-J {\n padding: 0 10px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 {\n width: 100%;\n height: 96px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-weight: 500;\n font-size: 20px;\n margin-bottom: 44px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 a {\n flex: 1 1 auto;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC {\n width: calc(100% - 24px);\n max-width: 200px;\n height: 64px;\n position: relative;\n user-select: none;\n cursor: pointer;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC img {\n object-fit: contain;\n object-position: left;\n pointer-events: none;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_Logo__y9GGC {\n max-width: 150px;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r {\n font-size: 14px;\n text-align: right;\n flex: 0 0 auto;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r span {\n color: var(--checkout-secondary-text-color);\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginBtn__m-qco {\n margin-left: 4px;\n font-weight: bold;\n user-select: none;\n cursor: pointer;\n font-weight: 500;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Name__iIq-v {\n font-size: 20px;\n font-weight: 600;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Email__UX6fN {\n font-weight: 500;\n font-size: 14px;\n user-select: none;\n color: var(--checkout-secondary-text-color);\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 {\n height: 72px;\n margin-bottom: 0;\n padding: 0 24px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Name__iIq-v {\n font-size: 15px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_CustomerInfo__ECTKP .style-module_Email__UX6fN {\n font-size: 13px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r {\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_Header__V7Pe2 .style-module_LoginText__OOD8r .style-module_LoginCta__TDolx {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_MobileCartSummary__bUmJj {\n position: sticky;\n top: 0;\n z-index: 10;\n}\n@media only screen and (min-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_MobileCartSummary__bUmJj {\n display: none;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_RowPB__tAM9q {\n padding-bottom: 16px;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka {\n width: 100%;\n justify-content: center;\n padding-right: 0px;\n padding-left: 0px;\n }\n .style-module_CheckoutPage__ZhJkP .style-module_Left__Fi9Ka .style-module_LeftContent__9OjX9 {\n width: 100%;\n min-width: auto;\n max-width: 100%;\n }\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi {\n width: 50%;\n min-height: 100%;\n flex: 0 0 auto;\n background-color: var(--checkout-secondary-bg-color);\n display: flex;\n padding-left: 64px;\n padding-right: 20px;\n position: sticky;\n top: 0;\n overflow-y: auto;\n z-index: 1;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp {\n width: 100%;\n max-width: 600px;\n padding-top: 64px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx {\n width: 100%;\n padding: 16px 0;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--checkout-primary-text-color);\n user-select: none;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx span {\n font-size: 14px;\n line-height: 20px;\n color: var(--checkout-secondary-text-color);\n margin-right: 8px;\n}\n.style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi .style-module_RightContent__qvFkp .style-module_PoweredBy__3k1Sx a {\n display: flex;\n align-items: center;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CheckoutPage__ZhJkP .style-module_Right__1BcGi {\n display: none;\n }\n}\n\n.style-module_LightText__IsehB {\n color: var(--checkout-secondary-text-color);\n}\n\n.style-module_ReactTooltipWrap__HX-4g {\n max-width: 300px;\n}\n\n.style-module_CouponContainer__75r01 {\n width: 100%;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_CouponContainer__75r01 {\n padding: 0 24px;\n margin-top: 24px;\n }\n}\n\n.style-module_OfferSlider__-XwAY {\n display: flex;\n overflow: hidden;\n position: relative;\n}\n\n.style-module_OfferArrow__xVE-T {\n padding: 10px;\n justify-content: center;\n align-items: center;\n border-radius: 32px;\n border: 1px solid var(--checkout-border-color);\n display: flex;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n height: 40px;\n cursor: pointer;\n z-index: 9;\n background-color: #fff;\n}\n@media only screen and (max-width: 1000px) {\n .style-module_OfferArrow__xVE-T {\n display: none;\n }\n}\n\n.style-module_OfferArrowLeft__Xravz {\n left: -20px;\n}\n\n.style-module_OfferArrowRight__8dOYq {\n right: -20px;\n}\n\n.style-module_CampaignOfferMain__YuOGC {\n position: relative;\n}\n\n.style-module_FullPageOfferMain__I10XC {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n background-color: #fff;\n z-index: 2;\n overflow: auto;\n}\n\n.style-module_FullPageOfferContainer__C5BUd {\n margin: 10% auto;\n max-width: 1048px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 32px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_OfferSuccessHeader__XXQT0 {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_OfferSuccessHeader__XXQT0 svg {\n width: 24px;\n height: 24px;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_SuccessCircle__MTabL {\n color: #2dca73;\n}\n.style-module_FullPageOfferContainer__C5BUd .style-module_OfferSuccessInfo__dqaz7 .style-module_SuccessTitle__tCH2A {\n font-size: 20px;\n font-weight: 400;\n line-height: 28px;\n margin-left: 12px;\n}\n\n.style-module_OfferOrderInfoMain__-aqgA {\n display: flex;\n gap: 4px;\n}\n.style-module_OfferOrderInfoMain__-aqgA .style-module_InfoTitle__Zd6Dd {\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n color: var(--checkout-secondary-text-color);\n}\n.style-module_OfferOrderInfoMain__-aqgA .style-module_InfoText__MOjKO {\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px;\n color: var(--checkout-primary-text-color);\n}\n\n.style-module_OfferButton__0hTNI {\n font-weight: 500 !important;\n width: 100%;\n height: 52px !important;\n font-size: 16px;\n}\n\n.style-module_MiddlePhaseOverlay__LPV2A {\n position: fixed;\n background-color: var(--checkout-campaign-middle-phase-overlay-color);\n width: 100%;\n height: 100%;\n z-index: 99;\n top: 72px;\n left: 0;\n right: 0;\n bottom: 0;\n overflow: auto;\n}\n\n.style-module_MiddlePhaseOverlayPopup__BNC61 {\n top: 0;\n}\n\n.style-module_CampaignOfferMain__YuOGC {\n position: relative;\n z-index: 100;\n background-color: transparent;\n}\n\n.style-module_OverlayPopupMain__4PrI0 {\n width: 95%;\n margin: 0 auto;\n border-radius: 12px;\n position: fixed;\n top: 5%;\n left: 2.5%;\n height: 80vh;\n overflow: auto;\n}\n\n.style-module_LogoMain__TVrEL {\n margin-bottom: 32px;\n display: flex;\n justify-content: center;\n}\n.style-module_LogoMain__TVrEL .style-module_Logo__y9GGC {\n width: calc(100% - 24px);\n max-width: 200px;\n height: 64px;\n position: relative;\n user-select: none;\n}\n.style-module_LogoMain__TVrEL .style-module_Logo__y9GGC img {\n object-fit: contain;\n pointer-events: none;\n}\n@media only screen and (max-width: 1280px) {\n .style-module_LogoMain__TVrEL .style-module_Logo__y9GGC {\n max-width: 150px;\n }\n}');export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__rest as
|
|
1
|
+
import{__rest as e,__assign as r}from'./../../ext/tslib/tslib.es6.js';import*as t from"react";import s from"next/image.js";import{IkasImageFunctions as o}from"@ikas/storefront-model-functions";import{IkasStorefrontConfig as a}from"@ikas/storefront-config";var l=[180,360,540,720,900,1080,1296,1512,1728,1950,2560,3840],i=function(i){var m=i.image,n=i.useBlur,u=i.lossless,f=e(i,["image","useBlur","lossless"]),c=o.getDefaultSrc,d=o.getSrc;return m?t.createElement(s,r({},f,{loader:function(e){var r=e.width,t=l.reduce((function(e,t){return Math.abs(t-r)<Math.abs(e-r)?t:e})),s=u||a.getIsLosslessImageEnabled();return d(m,t,s)},quality:100,src:c(m),alt:f.alt||"Image",placeholder:n?"blur":"empty",blurDataURL:n?d(m,10):void 0})):null};export{i as Image};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { IkasPage } from "./page";
|
|
2
2
|
export { IkasPageHead } from "./page/head";
|
|
3
3
|
export { Image } from "./image";
|
|
4
|
+
export { PlainImage } from "./plain-image";
|
|
4
5
|
export { default as Link } from "./link";
|
|
5
6
|
export * from "./page-editor/loader";
|
|
6
7
|
export { GoogleCaptcha } from "../components/google-captcha";
|
|
8
|
+
export { PaypalExpressCheckout } from "../components/paypal-express-checkout";
|
|
9
|
+
export { PayWithIkas } from "./pay-with-ikas";
|