@akinon/projectzero 2.0.0-beta.2 → 2.0.0-beta.20
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/CHANGELOG.md +147 -6
- package/app-template/.env.example +8 -0
- package/app-template/.github/instructions/account.instructions.md +749 -0
- package/app-template/.github/instructions/checkout.instructions.md +678 -0
- package/app-template/.github/instructions/default.instructions.md +279 -0
- package/app-template/.github/instructions/edge-cases.instructions.md +73 -0
- package/app-template/.github/instructions/routing.instructions.md +603 -0
- package/app-template/.github/instructions/settings.instructions.md +338 -0
- package/app-template/.gitignore +5 -0
- package/app-template/AGENTS.md +7 -0
- package/app-template/CHANGELOG.md +1645 -61
- package/app-template/Procfile +1 -1
- package/app-template/README.md +6 -0
- package/app-template/akinon.json +1 -4
- package/app-template/build.sh +10 -0
- package/app-template/config/prebuild-tests.json +5 -0
- package/app-template/docs/advanced-usage.md +111 -0
- package/app-template/docs/plugins.md +60 -25
- package/app-template/docs/sentry-usage.md +35 -0
- package/app-template/jest.config.ts +2 -2
- package/app-template/next-env.d.ts +1 -0
- package/app-template/next.config.mjs +8 -5
- package/app-template/package.json +60 -50
- package/app-template/postcss.config.mjs +5 -0
- package/app-template/public/amex.svg +12 -0
- package/app-template/public/apple-pay.svg +16 -0
- package/app-template/public/assets/images/product-placeholder-1.jpg +0 -0
- package/app-template/public/assets/images/product-placeholder-2.jpg +0 -0
- package/app-template/public/assets/images/product-placeholder-3.jpg +0 -0
- package/app-template/public/assets/images/product-placeholder-4.jpg +0 -0
- package/app-template/public/google-pay.svg +16 -0
- package/app-template/public/locales/en/account.json +13 -4
- package/app-template/public/locales/en/auth.json +6 -7
- package/app-template/public/locales/en/basket.json +6 -6
- package/app-template/public/locales/en/blog.json +7 -0
- package/app-template/public/locales/en/category.json +3 -1
- package/app-template/public/locales/en/checkout.json +17 -4
- package/app-template/public/locales/en/common.json +71 -3
- package/app-template/public/locales/en/forgot_password.json +6 -7
- package/app-template/public/locales/en/product.json +84 -4
- package/app-template/public/locales/tr/account.json +13 -4
- package/app-template/public/locales/tr/auth.json +16 -17
- package/app-template/public/locales/tr/basket.json +4 -4
- package/app-template/public/locales/tr/blog.json +7 -0
- package/app-template/public/locales/tr/category.json +3 -1
- package/app-template/public/locales/tr/checkout.json +48 -36
- package/app-template/public/locales/tr/common.json +70 -2
- package/app-template/public/locales/tr/forgot_password.json +12 -13
- package/app-template/public/locales/tr/product.json +82 -0
- package/app-template/public/logo.svg +3 -27
- package/app-template/public/mastercard.svg +14 -0
- package/app-template/public/masterpass-javascript-sdk-web.min.js +1 -0
- package/app-template/public/promotion-banner.jpg +0 -0
- package/app-template/public/shop-pay.svg +12 -0
- package/app-template/public/visa.svg +12 -0
- package/app-template/src/__tests__/middleware-matcher.test.ts +135 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/blog/[slug]/page.tsx +118 -0
- package/app-template/src/app/[commerce]/[locale]/[currency]/pages/[slug]/page.tsx +15 -0
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/[...prettyurl]/page.tsx +9 -9
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/layout.tsx +2 -2
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/orders/[id]/cancellation/page.tsx +105 -13
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/orders/[id]/page.tsx +136 -52
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/profile/page.tsx +2 -2
- package/app-template/src/app/[pz]/category/[pk]/page.tsx +27 -0
- package/app-template/src/app/[pz]/error.tsx +17 -0
- package/app-template/src/app/[pz]/flat-page/[pk]/page.tsx +23 -0
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/forms/[pk]/generate/page.tsx +1 -2
- package/app-template/src/app/[pz]/group-product/[pk]/page.tsx +93 -0
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/landing-page/[pk]/page.tsx +2 -4
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/layout.tsx +3 -10
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/list/page.tsx +2 -4
- package/app-template/src/app/{[commerce]/[locale]/[currency]/pz-not-found/page.tsx → [pz]/not-found.tsx} +5 -7
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/orders/checkout/page.tsx +7 -4
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/orders/completed/[token]/page.tsx +6 -4
- package/app-template/src/app/[pz]/product/[pk]/page.tsx +102 -0
- package/app-template/src/app/[pz]/special-page/[pk]/page.tsx +35 -0
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/users/email-set-primary/[[...id]]/page.tsx +3 -4
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/users/registration/account-confirm-email/[[...id]]/page.tsx +3 -3
- package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/users/reset/[[...id]]/page.tsx +41 -5
- package/app-template/src/app/[pz]/xml-sitemap/[node]/route.ts +73 -0
- package/app-template/src/app/api/auth/[...nextauth]/route.ts +3 -0
- package/app-template/src/app/api/barcode-search/route.ts +1 -0
- package/app-template/src/app/api/form/[...id]/route.ts +1 -7
- package/app-template/src/app/api/image-proxy/route.ts +1 -0
- package/app-template/src/app/api/product-categories/route.ts +1 -0
- package/app-template/src/app/api/similar-product-list/route.ts +1 -0
- package/app-template/src/app/api/similar-products/route.ts +1 -0
- package/app-template/src/app/api/theme-settings/route.ts +12 -0
- package/app-template/src/app/api/virtual-try-on/limited-categories/route.ts +1 -0
- package/app-template/src/app/api/virtual-try-on/route.ts +1 -0
- package/app-template/src/assets/fonts/pz-icon.css +211 -49
- package/app-template/src/assets/fonts/pz-icon.eot +0 -0
- package/app-template/src/assets/fonts/pz-icon.html +486 -0
- package/app-template/src/assets/fonts/pz-icon.scss +373 -49
- package/app-template/src/assets/fonts/pz-icon.svg +215 -53
- package/app-template/src/assets/fonts/pz-icon.ttf +0 -0
- package/app-template/src/assets/fonts/pz-icon.woff +0 -0
- package/app-template/src/assets/fonts/pz-icon.woff2 +0 -0
- package/app-template/src/assets/globals.scss +37 -34
- package/app-template/src/assets/icons/arrow-right.svg +3 -0
- package/app-template/src/assets/icons/cart.svg +4 -12
- package/app-template/src/assets/icons/check.svg +2 -18
- package/app-template/src/assets/icons/chevron-down.svg +2 -7
- package/app-template/src/assets/icons/delete.svg +3 -0
- package/app-template/src/assets/icons/facebook.svg +2 -8
- package/app-template/src/assets/icons/fav-off.svg +5 -0
- package/app-template/src/assets/icons/fav-on.svg +5 -0
- package/app-template/src/assets/icons/filter-and-sort.svg +3 -0
- package/app-template/src/assets/icons/heart.svg +3 -0
- package/app-template/src/assets/icons/instagram.svg +2 -13
- package/app-template/src/assets/icons/materials.svg +3 -0
- package/app-template/src/assets/icons/person.svg +4 -0
- package/app-template/src/assets/icons/pinterest.svg +5 -11
- package/app-template/src/assets/icons/ruler.svg +3 -0
- package/app-template/src/assets/icons/search.svg +8 -11
- package/app-template/src/assets/icons/share.svg +2 -9
- package/app-template/src/assets/icons/snapchat.svg +3 -0
- package/app-template/src/assets/icons/tiktok.svg +3 -0
- package/app-template/src/assets/icons/tumblr.svg +6 -0
- package/app-template/src/assets/icons/twitter.svg +2 -10
- package/app-template/src/assets/icons/vimeo.svg +3 -0
- package/app-template/src/assets/icons/youtube.svg +3 -0
- package/app-template/src/assets/icons/zoom.svg +8 -0
- package/app-template/src/auth.ts +3 -0
- package/app-template/src/components/__tests__/link.test.tsx +2 -0
- package/app-template/src/components/accordion.tsx +48 -23
- package/app-template/src/components/action-tooltip.tsx +160 -0
- package/app-template/src/components/button.tsx +50 -35
- package/app-template/src/components/carousel-core.tsx +4 -11
- package/app-template/src/components/checkbox.tsx +2 -1
- package/app-template/src/components/currency-select.tsx +150 -4
- package/app-template/src/components/file-input.tsx +64 -2
- package/app-template/src/components/generate-form-fields.tsx +49 -10
- package/app-template/src/components/icon.tsx +5 -6
- package/app-template/src/components/index.ts +4 -1
- package/app-template/src/components/input.tsx +8 -2
- package/app-template/src/components/language-select.tsx +88 -2
- package/app-template/src/components/modal.tsx +34 -16
- package/app-template/src/components/pagination.tsx +133 -20
- package/app-template/src/components/price.tsx +1 -1
- package/app-template/src/components/pwa-tags.tsx +1 -0
- package/app-template/src/components/quantity-input.tsx +63 -0
- package/app-template/src/components/quantity-selector.tsx +203 -0
- package/app-template/src/components/route-handler.tsx +50 -0
- package/app-template/src/components/select.tsx +86 -54
- package/app-template/src/components/tabs.tsx +2 -2
- package/app-template/src/components/types/index.ts +55 -2
- package/app-template/src/components/widget-content.tsx +323 -0
- package/app-template/src/data/server/theme.ts +70 -0
- package/app-template/src/hooks/use-fav-button.tsx +9 -10
- package/app-template/src/hooks/use-product-cart.ts +80 -0
- package/app-template/src/hooks/use-stock-alert.ts +74 -0
- package/app-template/src/hooks/use-theme-settings.ts +42 -0
- package/app-template/src/lib/fonts.ts +149 -0
- package/app-template/src/middleware.ts +1 -0
- package/app-template/src/plugins.js +13 -2
- package/app-template/src/redux/middlewares/category.ts +6 -5
- package/app-template/src/redux/reducers/category.ts +1 -1
- package/app-template/src/redux/store.ts +21 -1
- package/app-template/src/routes/index.ts +2 -1
- package/app-template/src/settings.js +5 -3
- package/app-template/src/types/hookform-resolvers-yup.d.ts +28 -0
- package/app-template/src/types/index.ts +74 -3
- package/app-template/src/types/next-auth.d.ts +2 -2
- package/app-template/src/types/widget.ts +169 -0
- package/app-template/src/utils/convert-facet-search-params.ts +1 -1
- package/app-template/src/utils/formatDate.ts +48 -0
- package/app-template/src/utils/styles.ts +71 -0
- package/app-template/src/utils/variant-validation.ts +41 -0
- package/app-template/src/views/account/address-form.tsx +8 -4
- package/app-template/src/views/account/contact-form.tsx +148 -136
- package/app-template/src/views/account/content-header.tsx +2 -2
- package/app-template/src/views/account/faq/faq-tabs.tsx +8 -2
- package/app-template/src/views/account/favorite-item.tsx +1 -1
- package/app-template/src/views/account/order.tsx +10 -8
- package/app-template/src/views/account/orders/order-cancellation-item.tsx +4 -3
- package/app-template/src/views/account/orders/order-detail-header.tsx +1 -1
- package/app-template/src/views/anonymous-tracking/order-detail/index.tsx +44 -37
- package/app-template/src/views/basket/basket-item.tsx +697 -107
- package/app-template/src/views/basket/basket-summary-context.tsx +560 -0
- package/app-template/src/views/basket/designer-context.tsx +617 -0
- package/app-template/src/views/basket/index.ts +2 -0
- package/app-template/src/views/basket/summary.tsx +497 -60
- package/app-template/src/views/breadcrumb/breadcrumb-client.tsx +190 -0
- package/app-template/src/views/breadcrumb/breadcrumb-registrar.tsx +286 -0
- package/app-template/src/views/breadcrumb/constants.ts +15 -0
- package/app-template/src/views/breadcrumb/index.tsx +127 -0
- package/app-template/src/views/breadcrumb.tsx +13 -38
- package/app-template/src/views/category/category-active-filters.tsx +1 -1
- package/app-template/src/views/category/category-banner.tsx +4 -23
- package/app-template/src/views/category/category-header.tsx +289 -60
- package/app-template/src/views/category/category-info.tsx +177 -27
- package/app-template/src/views/category/filters/filter-item.tsx +138 -42
- package/app-template/src/views/category/filters/index.tsx +209 -49
- package/app-template/src/views/category/layout.tsx +7 -4
- package/app-template/src/views/category/native-widget-context.tsx +257 -0
- package/app-template/src/views/category/product-list-registrar.tsx +665 -0
- package/app-template/src/views/checkout/auth.tsx +64 -40
- package/app-template/src/views/checkout/checkout-address-registrar.tsx +254 -0
- package/app-template/src/views/checkout/checkout-buttons-registrar.tsx +183 -0
- package/app-template/src/views/checkout/checkout-delivery-method-registrar.tsx +259 -0
- package/app-template/src/views/checkout/checkout-payment-options-registrar.tsx +253 -0
- package/app-template/src/views/checkout/checkout-summary-registrar.tsx +183 -0
- package/app-template/src/views/checkout/constants.ts +5 -0
- package/app-template/src/views/checkout/index.tsx +5 -0
- package/app-template/src/views/checkout/layout/header.tsx +9 -5
- package/app-template/src/views/checkout/steps/payment/index.tsx +5 -2
- package/app-template/src/views/checkout/steps/payment/options/credit-card/index.tsx +93 -6
- package/app-template/src/views/checkout/steps/payment/options/funds-transfer.tsx +25 -5
- package/app-template/src/views/checkout/steps/payment/options/loyalty.tsx +21 -2
- package/app-template/src/views/checkout/steps/payment/options/masterpass-rest.tsx +15 -0
- package/app-template/src/views/checkout/steps/payment/options/redirection.tsx +27 -5
- package/app-template/src/views/checkout/steps/payment/options/saved-card.tsx +18 -0
- package/app-template/src/views/checkout/steps/payment/options/store-credit.tsx +464 -0
- package/app-template/src/views/checkout/steps/payment/payment-option-buttons.tsx +171 -40
- package/app-template/src/views/checkout/steps/shipping/address-box.tsx +104 -29
- package/app-template/src/views/checkout/steps/shipping/addresses.tsx +129 -46
- package/app-template/src/views/checkout/steps/shipping/shipping-options.tsx +232 -27
- package/app-template/src/views/checkout/summary.tsx +310 -26
- package/app-template/src/views/find-in-store/index.tsx +2 -2
- package/app-template/src/views/footer/footer-app-banner-context.tsx +326 -0
- package/app-template/src/views/footer/footer-bottom-context.tsx +215 -0
- package/app-template/src/views/footer/footer-bottom-wrapper.tsx +74 -0
- package/app-template/src/views/footer/footer-layout-constants.ts +35 -0
- package/app-template/src/views/footer/footer-layout-registrar.tsx +342 -0
- package/app-template/src/views/footer/footer-layout-switcher.tsx +110 -0
- package/app-template/src/views/footer/footer-menu-context.tsx +211 -0
- package/app-template/src/views/footer/footer-native-widgets.tsx +60 -0
- package/app-template/src/views/footer/footer-social-context.tsx +254 -0
- package/app-template/src/views/footer/footer-subscription-context.tsx +210 -0
- package/app-template/src/views/footer/footer-utils.ts +43 -0
- package/app-template/src/views/footer/footer-value-props-context.tsx +326 -0
- package/app-template/src/views/footer/logo-settings.ts +183 -0
- package/app-template/src/views/footer/native-widget-config.ts +262 -0
- package/app-template/src/views/footer/subscription-settings.ts +122 -0
- package/app-template/src/views/footer/use-footer-logo.ts +162 -0
- package/app-template/src/views/footer.tsx +415 -13
- package/app-template/src/views/guest-login/index.tsx +62 -58
- package/app-template/src/views/header/action-menu.tsx +284 -49
- package/app-template/src/views/header/band.tsx +6 -21
- package/app-template/src/views/header/designer-context.tsx +261 -0
- package/app-template/src/views/header/header-announcement-registrar.tsx +267 -0
- package/app-template/src/views/header/header-client-wrapper.tsx +496 -0
- package/app-template/src/views/header/header-content.tsx +1026 -0
- package/app-template/src/views/header/header-currency-registrar.tsx +348 -0
- package/app-template/src/views/header/header-icons-context.tsx +262 -0
- package/app-template/src/views/header/header-language-registrar.tsx +348 -0
- package/app-template/src/views/header/header-layout-context.tsx +143 -0
- package/app-template/src/views/header/header-layout-registrar.tsx +658 -0
- package/app-template/src/views/header/header-logo-context.tsx +228 -0
- package/app-template/src/views/header/header-logo.tsx +118 -0
- package/app-template/src/views/header/header-mini-basket-context.tsx +524 -0
- package/app-template/src/views/header/header-search-registrar.tsx +511 -0
- package/app-template/src/views/header/header-text-slider-registrar.tsx +382 -0
- package/app-template/src/views/header/index.tsx +110 -48
- package/app-template/src/views/header/inline-search.tsx +262 -0
- package/app-template/src/views/header/mini-basket.tsx +832 -46
- package/app-template/src/views/header/mobile-hamburger-button.tsx +5 -8
- package/app-template/src/views/header/mobile-menu.tsx +12 -0
- package/app-template/src/views/header/navbar-menu-context.tsx +219 -0
- package/app-template/src/views/header/navbar.tsx +178 -111
- package/app-template/src/views/header/search/index.tsx +85 -24
- package/app-template/src/views/header/search/results.tsx +127 -65
- package/app-template/src/views/header/search/search-input.tsx +61 -0
- package/app-template/src/views/header/server-settings-parser.ts +1105 -0
- package/app-template/src/views/header/use-header-icons.ts +241 -0
- package/app-template/src/views/header/use-header-logo.ts +213 -0
- package/app-template/src/views/header/use-navbar-menu.ts +179 -0
- package/app-template/src/views/installment-options/index.tsx +1 -1
- package/app-template/src/views/login/index.tsx +89 -56
- package/app-template/src/views/otp-login/index.tsx +23 -20
- package/app-template/src/views/product/accordion-section.tsx +61 -0
- package/app-template/src/views/product/accordion-wrapper.tsx +135 -43
- package/app-template/src/views/product/custom-button-group.tsx +69 -0
- package/app-template/src/views/product/favorites-button-section.tsx +69 -0
- package/app-template/src/views/product/find-in-store-section.tsx +60 -0
- package/app-template/src/views/product/index.ts +1 -0
- package/app-template/src/views/product/layout.tsx +21 -6
- package/app-template/src/views/product/misc-buttons.tsx +339 -25
- package/app-template/src/views/product/price-wrapper.tsx +3 -24
- package/app-template/src/views/product/product-actions.tsx +294 -0
- package/app-template/src/views/product/product-info-section.tsx +140 -0
- package/app-template/src/views/product/product-info.tsx +130 -254
- package/app-template/src/views/product/product-share.tsx +61 -0
- package/app-template/src/views/product/product-variants.tsx +26 -0
- package/app-template/src/views/product/quantity-section.tsx +73 -0
- package/app-template/src/views/product/sale-tag.tsx +10 -0
- package/app-template/src/views/product/share-section.tsx +357 -0
- package/app-template/src/views/product/slider.tsx +135 -76
- package/app-template/src/views/product/variant.tsx +69 -41
- package/app-template/src/views/product/variants-section.tsx +126 -0
- package/app-template/src/views/product-detail/constants.ts +272 -0
- package/app-template/src/views/product-detail/index.ts +10 -0
- package/app-template/src/views/product-detail/product-detail-registrar.tsx +616 -0
- package/app-template/src/views/product-item/index.tsx +119 -46
- package/app-template/src/views/register/index.tsx +54 -44
- package/app-template/src/views/share/index.tsx +9 -6
- package/app-template/src/views/widgets/home-hero-slider-content.tsx +41 -39
- package/app-template/src/widgets/flatpages/about-us/index.tsx +78 -0
- package/app-template/src/widgets/flatpages/blog-list/index.tsx +129 -0
- package/app-template/src/widgets/footer-app-banner.tsx +444 -0
- package/app-template/src/widgets/footer-bottom.tsx +127 -0
- package/app-template/src/widgets/footer-menu-compact.tsx +238 -0
- package/app-template/src/widgets/footer-menu-two.tsx +298 -0
- package/app-template/src/widgets/footer-menu.tsx +6 -2
- package/app-template/src/widgets/footer-social-client.tsx +251 -0
- package/app-template/src/widgets/footer-social.tsx +47 -16
- package/app-template/src/widgets/footer-subscription/footer-subscription-form.tsx +17 -14
- package/app-template/src/widgets/footer-subscription/index.tsx +183 -17
- package/app-template/src/widgets/footer-value-props.tsx +201 -0
- package/app-template/src/widgets/home-stories-eng.tsx +42 -34
- package/app-template/src/widgets/index.ts +7 -0
- package/app-template/src/widgets/schemas/about-us.json +46 -0
- package/app-template/src/widgets/schemas/blog-list.json +37 -0
- package/app-template/src/widgets/schemas/blog.json +29 -0
- package/app-template/tailwind.config.js +19 -7
- package/app-template/tsconfig.json +29 -11
- package/codemods/migrate-segments/index.js +591 -0
- package/codemods/sentry-9/index.js +30 -0
- package/codemods/sentry-9/remove-sentry-configs.js +14 -0
- package/codemods/sentry-9/remove-sentry-dependency.js +25 -0
- package/codemods/sentry-9/replace-error-page.js +32 -0
- package/codemods/update-tailwind-config/index.js +30 -0
- package/codemods/update-tailwind-config/transform.js +102 -0
- package/commands/codemod.ts +17 -0
- package/commands/index.ts +3 -1
- package/commands/plugins.ts +115 -46
- package/dist/codemods/sentry-9/templates/error.js +14 -0
- package/dist/commands/codemod.js +15 -0
- package/dist/commands/index.js +3 -1
- package/dist/commands/plugins.js +85 -34
- package/package.json +3 -2
- package/app-template/postcss.config.js +0 -6
- package/app-template/sentry.client.config.ts +0 -16
- package/app-template/sentry.edge.config.ts +0 -3
- package/app-template/sentry.properties +0 -4
- package/app-template/sentry.server.config.ts +0 -3
- package/app-template/src/app/[commerce]/[locale]/[currency]/category/[pk]/page.tsx +0 -22
- package/app-template/src/app/[commerce]/[locale]/[currency]/error.tsx +0 -20
- package/app-template/src/app/[commerce]/[locale]/[currency]/flat-page/[pk]/page.tsx +0 -20
- package/app-template/src/app/[commerce]/[locale]/[currency]/group-product/[pk]/page.tsx +0 -74
- package/app-template/src/app/[commerce]/[locale]/[currency]/product/[pk]/loading.tsx +0 -67
- package/app-template/src/app/[commerce]/[locale]/[currency]/product/[pk]/page.tsx +0 -84
- package/app-template/src/app/[commerce]/[locale]/[currency]/special-page/[pk]/page.tsx +0 -27
- package/app-template/src/app/[commerce]/[locale]/[currency]/xml-sitemap/[node]/route.ts +0 -25
- package/app-template/src/pages/api/auth/[...nextauth].ts +0 -3
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/address/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/change-email/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/change-password/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/contact/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/coupons/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/email-verification/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/faq/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/favourite-products/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/my-quotations/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/orders/[id]/layout.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/orders/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/account/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/address/stores/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/anonymous-tracking/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/auth/oauth-login/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/auth/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/basket/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/basket-b2b/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/category/[pk]/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/client-root.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/contact-us/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/flat-page/[pk]/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/group-product/[pk]/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/landing-page/[pk]/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/list/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/orders/completed/[token]/layout.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/special-page/[pk]/loading.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/template.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/users/password/reset/page.tsx +0 -0
- /package/app-template/src/app/{[commerce]/[locale]/[currency] → [pz]}/xml-sitemap/route.ts +0 -0
|
@@ -5,26 +5,25 @@
|
|
|
5
5
|
"confirmation": "Onay"
|
|
6
6
|
},
|
|
7
7
|
"auth": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"guest_checkout": "Misafir Olarak Ödeme",
|
|
8
|
+
"guest_checkout": "Misafir Ödeme",
|
|
9
|
+
"continue_as_guest_checkout": "Misafir Olarak Devam Et",
|
|
11
10
|
"form": {
|
|
12
11
|
"login": {
|
|
13
12
|
"email": {
|
|
14
|
-
"placeholder": "E-posta
|
|
13
|
+
"placeholder": "E-posta"
|
|
15
14
|
},
|
|
16
15
|
"phone": {
|
|
17
16
|
"placeholder": "Telefon Numarası"
|
|
18
17
|
},
|
|
19
18
|
"agreement": {
|
|
20
19
|
"label": "Aşağıdakileri okudum ve kabul ediyorum",
|
|
21
|
-
"terms_conditions": "Şartlar ve
|
|
20
|
+
"terms_conditions": "Şartlar ve Koşullar",
|
|
22
21
|
"privacy_policy": "Gizlilik Politikası"
|
|
23
22
|
},
|
|
24
|
-
"button": "
|
|
23
|
+
"button": "Giriş Yap",
|
|
25
24
|
"error": {
|
|
26
25
|
"required": "Bu alan gereklidir.",
|
|
27
|
-
"email_control": "Lütfen geçerli bir
|
|
26
|
+
"email_control": "Lütfen geçerli bir e-posta adresi giriniz.",
|
|
28
27
|
"phone_control": "Telefon numarası geçerli değil"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -32,20 +31,21 @@
|
|
|
32
31
|
},
|
|
33
32
|
"summary": {
|
|
34
33
|
"title": "Sepetim",
|
|
35
|
-
"items": "
|
|
36
|
-
"quantity": "
|
|
37
|
-
"subtotal": "Ara
|
|
34
|
+
"items": "ÜRÜN",
|
|
35
|
+
"quantity": "Adet",
|
|
36
|
+
"subtotal": "Ara Toplam",
|
|
38
37
|
"shipping": "Kargo",
|
|
39
38
|
"discounts_total": "İndirimler Toplamı",
|
|
39
|
+
"loyalty_money_total": "Sadakat Parası Toplamı",
|
|
40
40
|
"total": "Toplam",
|
|
41
41
|
"delivery_info": "Teslimat Bilgileri",
|
|
42
42
|
"change": "değiştir",
|
|
43
|
-
"info": " <ShippingOption/> ile
|
|
43
|
+
"info": "<ShippingAddress /> adresine <ShippingOption/> ile"
|
|
44
44
|
},
|
|
45
45
|
"address": {
|
|
46
46
|
"address": "Adres",
|
|
47
|
-
"use_for_billing": "Faturalandırma için
|
|
48
|
-
"add_new_address": "YENİ
|
|
47
|
+
"use_for_billing": "Faturalandırma için kullan",
|
|
48
|
+
"add_new_address": "YENİ ADRES EKLE",
|
|
49
49
|
"content": "Lütfen bir <addressType/> adresi seçin.",
|
|
50
50
|
"delivery": "Teslimat",
|
|
51
51
|
"billing": "Fatura",
|
|
@@ -53,10 +53,12 @@
|
|
|
53
53
|
"title": "Teslimat Yöntemi",
|
|
54
54
|
"chosen_address": "Şunun için bir teslimat seçeneği seçin",
|
|
55
55
|
"select_address_to_continue": "Devam etmek için bir teslimat adresi seçin.",
|
|
56
|
-
"
|
|
56
|
+
"select_method": "Teslimat yöntemi seçiniz",
|
|
57
|
+
"button": "KAYDET & DEVAM ET"
|
|
57
58
|
},
|
|
59
|
+
"select_label": "Adres Seçiniz",
|
|
58
60
|
"box": {
|
|
59
|
-
"shipping_to": "Teslimat",
|
|
61
|
+
"shipping_to": "Teslimat Adresi",
|
|
60
62
|
"edit": "düzenle",
|
|
61
63
|
"remove": "kaldır"
|
|
62
64
|
},
|
|
@@ -66,29 +68,29 @@
|
|
|
66
68
|
},
|
|
67
69
|
"completed": {
|
|
68
70
|
"not_found": "Sipariş detayı bulunamadı",
|
|
69
|
-
"title": "Sipariş
|
|
71
|
+
"title": "Sipariş Onayı",
|
|
70
72
|
"thank_you": "Siparişiniz için teşekkür ederiz",
|
|
71
73
|
"your_email": "E-POSTA ADRESİNİZ",
|
|
72
74
|
"order_total": "SİPARİŞ TOPLAMI",
|
|
73
|
-
"payment_type": "ÖDEME
|
|
75
|
+
"payment_type": "ÖDEME TÜRÜ",
|
|
74
76
|
"order_summary": "Sipariş Özeti",
|
|
75
|
-
"items": "
|
|
77
|
+
"items": "ürün",
|
|
76
78
|
"purchase_info": "Satın alma bilgilerinizi aşağıda bulabilirsiniz.",
|
|
77
|
-
"confirmation_message": "<OrderNumber/> numaralı siparişinizi aldık
|
|
79
|
+
"confirmation_message": "<OrderNumber/> numaralı siparişinizi aldık. Paketiniz gönderildiğinde size e-posta ile bilgi vereceğiz.",
|
|
78
80
|
"side": {
|
|
79
|
-
"whats_next": "Sırada
|
|
81
|
+
"whats_next": "Sırada Ne Var?",
|
|
80
82
|
"description_first": "Lütfen gelen kutunuzu kontrol edin, bir onay e-postası yolda",
|
|
81
|
-
"description_second": "Bu arada
|
|
82
|
-
"help_contact": "Yardım
|
|
83
|
+
"description_second": "Bu arada ihtiyacınız olursa aşağıdaki faydalı bağlantılara göz atabilirsiniz",
|
|
84
|
+
"help_contact": "Yardım & İletişim",
|
|
83
85
|
"my_account": "Hesabım",
|
|
84
86
|
"faq": "SSS",
|
|
85
|
-
"discover_new_items": "YENİ ÜRÜNLERİ
|
|
87
|
+
"discover_new_items": "YENİ ÜRÜNLERİ KEŞFET"
|
|
86
88
|
}
|
|
87
89
|
},
|
|
88
90
|
"payment": {
|
|
89
91
|
"credit_card": {
|
|
90
92
|
"title": "Kredi Kartı Bilgileri",
|
|
91
|
-
"description": "Lütfen kredi kartı bilgilerinizi
|
|
93
|
+
"description": "Lütfen kredi kartı bilgilerinizi girin.",
|
|
92
94
|
"form": {
|
|
93
95
|
"cardholder_name": {
|
|
94
96
|
"placeholder": "Kart Sahibinin Adı"
|
|
@@ -107,46 +109,56 @@
|
|
|
107
109
|
},
|
|
108
110
|
"security_code": {
|
|
109
111
|
"title": "Güvenlik Kodu",
|
|
110
|
-
"cvc": "CVC
|
|
112
|
+
"cvc": "CVC Nedir?"
|
|
111
113
|
},
|
|
112
114
|
"error": {
|
|
113
115
|
"required": "Bu alan gereklidir.",
|
|
114
|
-
"cvv_length": "CVV 3
|
|
116
|
+
"cvv_length": "CVV 3 haneli olmalıdır.",
|
|
115
117
|
"installment": "Lütfen bir taksit seçin.",
|
|
116
|
-
"card_number_length": "Kart numarası 16
|
|
117
|
-
"card_holder_matches": "Bu alan için yalnızca
|
|
118
|
+
"card_number_length": "Kart numarası 16 haneli olmalıdır.",
|
|
119
|
+
"card_holder_matches": "Bu alan için yalnızca harf girilebilir"
|
|
118
120
|
},
|
|
119
121
|
"button": "Sipariş Ver"
|
|
120
122
|
}
|
|
121
123
|
},
|
|
122
124
|
"fund_transfer": {
|
|
123
|
-
"title": "
|
|
124
|
-
"description": "Sipariş ver butonuna tıkladıktan sonra para
|
|
125
|
+
"title": "Havale / EFT Bilgileri",
|
|
126
|
+
"description": "Sipariş ver butonuna tıkladıktan sonra para transferini tamamlamak için 24 saatiniz vardır.",
|
|
125
127
|
"account_title": "Para transferi için kullanabileceğiniz hesaplar",
|
|
126
128
|
"receiver": "Alıcı",
|
|
127
129
|
"attention": "DİKKAT",
|
|
128
|
-
"transfer_amount_title": "
|
|
130
|
+
"transfer_amount_title": "Havale ile ödenecek tutar:",
|
|
129
131
|
"info_first": "Lütfen açıklama alanına <BoldTitle/> ekleyin.",
|
|
130
132
|
"bold_title": "sipariş numarasını",
|
|
131
|
-
"info_second": "24 saat
|
|
133
|
+
"info_second": "24 saat içinde transfer tamamlanmazsa siparişiniz iptal edilecektir.",
|
|
132
134
|
"button": "Sipariş Ver"
|
|
133
135
|
},
|
|
134
136
|
"installment_options": {
|
|
135
137
|
"title": "Taksit Seçenekleri",
|
|
136
|
-
"description": "Taksit seçeneklerini görmek için kart bilgilerinizi girmeniz
|
|
138
|
+
"description": "Taksit seçeneklerini görmek için kart bilgilerinizi girmeniz gerekir.",
|
|
137
139
|
"installment": "Taksit seçenekleri gösterilen kart",
|
|
138
140
|
"payments": "Ödemeler",
|
|
139
|
-
"per_month": "
|
|
141
|
+
"per_month": "Aylık",
|
|
140
142
|
"total": "Toplam"
|
|
143
|
+
},
|
|
144
|
+
"store_credit": {
|
|
145
|
+
"use_my_store_credits": "pz-zero kredilerimi kullan",
|
|
146
|
+
"available_balance": "Mevcut Bakiye",
|
|
147
|
+
"insufficient_balance": "pz-zero kredileriniz siparişi karşılamak için yeterli değil. <Amount/> tutarını ödemek için ek bir ödeme yöntemi seçin."
|
|
141
148
|
}
|
|
142
149
|
},
|
|
143
150
|
"agreement": {
|
|
144
|
-
"info_contract": "Ön Bilgilendirme
|
|
151
|
+
"info_contract": "Ön Bilgilendirme Formu",
|
|
145
152
|
"sales_contract": "Mesafeli Satış Sözleşmesi",
|
|
146
|
-
"content": "<InfoContract /> ve <SalesContract />
|
|
153
|
+
"content": "<InfoContract /> ve <SalesContract /> şartlarını okudum ve kabul ediyorum."
|
|
147
154
|
},
|
|
148
155
|
"error": {
|
|
149
156
|
"title": "Beklenmeyen bir hata oluştu. Lütfen daha sonra tekrar deneyiniz.",
|
|
150
157
|
"button": "Tekrar deneyin"
|
|
158
|
+
},
|
|
159
|
+
"apple_pay": {
|
|
160
|
+
"processing": "İşleniyor...",
|
|
161
|
+
"pay_button": "Apple Pay ile Öde",
|
|
162
|
+
"payment_failed": "Ödeme başarısız oldu"
|
|
151
163
|
}
|
|
152
164
|
}
|
|
@@ -12,22 +12,45 @@
|
|
|
12
12
|
"subscription_contract_content": "E-Bültenlerimize başarıyla kayıt oldunuz.",
|
|
13
13
|
"required_email": "Lütfen geçerli eposta adresini giriniz.",
|
|
14
14
|
"required": "Bu alan zorunludur.",
|
|
15
|
-
"email_address": "E-posta
|
|
15
|
+
"email_address": "E-posta"
|
|
16
16
|
},
|
|
17
17
|
"navbar": {
|
|
18
18
|
"search": "ARA"
|
|
19
19
|
},
|
|
20
|
+
"good": "İyi",
|
|
21
|
+
"bad": "Kötü",
|
|
20
22
|
"mobile_menu": {
|
|
21
23
|
"back": "Geri"
|
|
22
24
|
},
|
|
23
25
|
"search": {
|
|
26
|
+
"all_products": "Tüm Ürünler",
|
|
24
27
|
"placeholder": "Ara",
|
|
25
28
|
"results_for": "Arama Sonuçları",
|
|
29
|
+
"results_title": "Arama sonuçları",
|
|
30
|
+
"results_found": "sonuç bulundu",
|
|
26
31
|
"products_for": "ÜRÜNLER",
|
|
27
32
|
"clean": "temizle",
|
|
28
33
|
"categories": "KATEGORİLER",
|
|
29
34
|
"view_all": "HEPSİNİ GÖSTER",
|
|
30
|
-
"not_found": "Arama Sonuçları Bulunamadı"
|
|
35
|
+
"not_found": "Arama Sonuçları Bulunamadı",
|
|
36
|
+
"image_search": {
|
|
37
|
+
"title": "Görsel ile Ara",
|
|
38
|
+
"upload_image": "Benzer ürünleri bulmak için bir görsel yükleyin",
|
|
39
|
+
"select_image": "Görsel Seç",
|
|
40
|
+
"crop_image": "Görsel Kırp",
|
|
41
|
+
"cancel_crop": "Kırpmayı İptal Et",
|
|
42
|
+
"apply_crop": "Kırpmayı Uygula",
|
|
43
|
+
"try_another": "Başka Görsel Dene",
|
|
44
|
+
"search_image": "Arama Görseli",
|
|
45
|
+
"similar_products": "Benzer Ürünler",
|
|
46
|
+
"loading_cropper": "Kırpıcı yükleniyor...",
|
|
47
|
+
"no_products": "Benzer ürün bulunamadı",
|
|
48
|
+
"best_results": "En iyi sonuçlar için:",
|
|
49
|
+
"tip_1": "Net ürün görselleri yükleyin",
|
|
50
|
+
"tip_2": "Basit arka planlı görseller kullanın",
|
|
51
|
+
"tip_3": "Ana ürüne odaklanın",
|
|
52
|
+
"tip_4": "Belirli detaylara odaklanmak için kırpma aracını kullanın"
|
|
53
|
+
}
|
|
31
54
|
},
|
|
32
55
|
"page_404": {
|
|
33
56
|
"title": "Sayfa bulunamadı.",
|
|
@@ -38,6 +61,12 @@
|
|
|
38
61
|
"description": "Lütfen daha sonra tekrar deneyiniz.",
|
|
39
62
|
"link_text": "Ana sayfaya dön"
|
|
40
63
|
},
|
|
64
|
+
"client_error": {
|
|
65
|
+
"title": "Sayfada bir sorunla karşılaştık.",
|
|
66
|
+
"description": "Bu bir tarayıcı hatası gibi görünüyor. Lütfen sayfayı yenileyin veya tarayıcı önbelleğinizi temizleyin.",
|
|
67
|
+
"link_text": "Ana sayfaya dön"
|
|
68
|
+
},
|
|
69
|
+
"try_again": "Tekrar Dene",
|
|
41
70
|
"breadcrumb": {
|
|
42
71
|
"homepage": "Anasayfa"
|
|
43
72
|
},
|
|
@@ -61,5 +90,44 @@
|
|
|
61
90
|
"description": "Döviz kuru değiştiği için sepetinizdeki ürünler silinecektir.",
|
|
62
91
|
"close": "Kapat",
|
|
63
92
|
"continue": "Devam Et"
|
|
93
|
+
},
|
|
94
|
+
"file_input": {
|
|
95
|
+
"select_file": "Dosya Seç",
|
|
96
|
+
"no_file": "Dosya seçilmedi"
|
|
97
|
+
},
|
|
98
|
+
"product": {
|
|
99
|
+
"no_products": "Ürün bulunamadı",
|
|
100
|
+
"new_image": "Yeni Görsel",
|
|
101
|
+
"view_similar_styles": "Benzer Stillere Göz At",
|
|
102
|
+
"clear_all_filters": "Tüm Filtreleri Temizle",
|
|
103
|
+
"reset_to_original": "Orjinale Dön",
|
|
104
|
+
"similar_styles": "Benzer Stillere Göz At",
|
|
105
|
+
"filters": "Filtreler",
|
|
106
|
+
"active_filters": "Aktif Filtreler"
|
|
107
|
+
},
|
|
108
|
+
"similar_products": {
|
|
109
|
+
"errors": {
|
|
110
|
+
"file_size_too_large": "Görsel boyutu 5MB'dan küçük olmalıdır",
|
|
111
|
+
"invalid_image_file": "Seçilen dosya geçerli bir görsel değil",
|
|
112
|
+
"invalid_image_format": "Geçersiz görsel formatı tespit edildi",
|
|
113
|
+
"search_failed": "Arama başarısız oldu. Lütfen daha sonra tekrar deneyin",
|
|
114
|
+
"connection_failed": "Görsel arama başarısız oldu. Lütfen bağlantınızı kontrol edip tekrar deneyin",
|
|
115
|
+
"invalid_image_properties": "Geçersiz görsel özellikleri tespit edildi",
|
|
116
|
+
"file_read_error": "Dosya okuma hatası",
|
|
117
|
+
"processing_error": "Görsel işleme hatası",
|
|
118
|
+
"crop_processing_error": "Kırpılan görsel işleme hatası"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"forms": {
|
|
122
|
+
"sending": "Gönderiliyor...",
|
|
123
|
+
"success": "Form başarıyla gönderildi!",
|
|
124
|
+
"error": "Form gönderilirken bir hata oluştu. Lütfen tekrar deneyin.",
|
|
125
|
+
"submit_error": "Form gönderme hatası:"
|
|
126
|
+
},
|
|
127
|
+
"sale": "İndirim",
|
|
128
|
+
"select": {
|
|
129
|
+
"address": {
|
|
130
|
+
"label": "Adres Seçiniz"
|
|
131
|
+
}
|
|
64
132
|
}
|
|
65
133
|
}
|
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "
|
|
3
|
-
"
|
|
4
|
-
"
|
|
2
|
+
"title": "Şifre Sıfırlama",
|
|
3
|
+
"description": "E-posta adresinizi girin, şifrenizi sıfırlamanız için size bir bağlantı gönderelim.",
|
|
4
|
+
"back_to_login": "Girişe dön",
|
|
5
5
|
"form": {
|
|
6
6
|
"email": {
|
|
7
7
|
"placeholder": "E-posta Adresi"
|
|
8
8
|
},
|
|
9
|
-
"button": "Şifre
|
|
9
|
+
"button": "Şifre sıfırlama bağlantısı gönder",
|
|
10
10
|
"error": {
|
|
11
11
|
"required": "Bu alan gereklidir.",
|
|
12
|
-
"email_valid": "Lütfen geçerli
|
|
12
|
+
"email_valid": "Lütfen geçerli bir e-posta adresi giriniz."
|
|
13
13
|
},
|
|
14
14
|
"success": {
|
|
15
|
-
"title": "Şifre Sıfırlama
|
|
16
|
-
"subtitle": "Lütfen
|
|
17
|
-
"button": "Ana Sayfaya Devam Et"
|
|
15
|
+
"title": "Şifre Sıfırlama",
|
|
16
|
+
"subtitle": "{EMAIL} adresine bir şifre sıfırlama bağlantısı gönderdik. Lütfen gelen kutunuzu kontrol edin ve talimatları izleyin."
|
|
18
17
|
}
|
|
19
18
|
},
|
|
20
19
|
"create_new_password": {
|
|
21
20
|
"title": "Yeni Şifre Oluştur",
|
|
22
|
-
"description": "Lütfen yeni şifrenizi
|
|
21
|
+
"description": "Lütfen yeni şifrenizi girin.",
|
|
23
22
|
"form": {
|
|
24
23
|
"password": {
|
|
25
24
|
"placeholder_first": "Yeni Şifre",
|
|
26
25
|
"placeholder_second": "Yeni Şifre Tekrar"
|
|
27
26
|
},
|
|
28
|
-
"button": "Yeni
|
|
27
|
+
"button": "Yeni Şifreyi Onayla",
|
|
29
28
|
"error": {
|
|
30
29
|
"required": "Bu alan gereklidir.",
|
|
31
30
|
"password_valid": "Lütfen geçerli bir şifre giriniz.",
|
|
32
|
-
"password_max": "
|
|
33
|
-
"password_rule": "
|
|
31
|
+
"password_max": "Şifre 50 karakterden kısa olmalıdır.",
|
|
32
|
+
"password_rule": "Şifrenizi belirtilen kurallara uygun olarak giriniz."
|
|
34
33
|
},
|
|
35
34
|
"success": {
|
|
36
|
-
"title": "Şifreniz
|
|
35
|
+
"title": "Şifreniz Değiştirildi",
|
|
37
36
|
"button": "Ana Sayfaya Devam Et"
|
|
38
37
|
}
|
|
39
38
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"total_amount": "Toplam tutar",
|
|
13
13
|
"off": "indirim",
|
|
14
14
|
"selected": "Seçilen",
|
|
15
|
+
"quantity": "Miktar",
|
|
15
16
|
"find_in_store": {
|
|
16
17
|
"title": "Mağazada Bul",
|
|
17
18
|
"directions": "Yol Tarifi",
|
|
@@ -35,5 +36,86 @@
|
|
|
35
36
|
"success_description": "Bedeniniz stoklara tekrar girdiğinde şu adrese bir e-posta göndereceğiz: <Email/>",
|
|
36
37
|
"error_description": "Beklenmeyen bir hata oluştu. Lütfen daha sonra tekrar deneyiniz.",
|
|
37
38
|
"close_button": "KAPAT"
|
|
39
|
+
},
|
|
40
|
+
"virtual_try_on": {
|
|
41
|
+
"title": "Üstünde Dene",
|
|
42
|
+
"title_result": "Üstünde Dene Sonucu",
|
|
43
|
+
"button_text": "Sanal Deneme Kabinine Gir",
|
|
44
|
+
"loading": "Yükleniyor...",
|
|
45
|
+
"upload_title": "Fotoğrafınızı Yükleyin",
|
|
46
|
+
"upload_prompt": "Bir dosya seçin veya buraya sürükleyip bırakın.",
|
|
47
|
+
"upload_requirements": "JPEG/PNG/WebP formatında, maksimum 1MB",
|
|
48
|
+
"instructions": "En iyi sanal deneme deneyimi için net bir fotoğrafınızı yükleyin. Kameraya doğrudan baktığınızdan emin olun.",
|
|
49
|
+
"try_on": "Dene",
|
|
50
|
+
"edit_photo": "Fotoğrafı Düzenle",
|
|
51
|
+
"upload_info": "Uygulamaya uygun fotograf yüklemeniz çok önemlidir.",
|
|
52
|
+
"processing": "İşleniyor...",
|
|
53
|
+
"processing_title": "Birazdan hazır!",
|
|
54
|
+
"processing_message": "En iyi sonucu sunabilmek için fotoğrafınızı işliyoruz. Lütfen bekleyiniz.",
|
|
55
|
+
"result_title": "Sanal Kabin Sonuç",
|
|
56
|
+
"virtual_cabin": "Sanal Kabin",
|
|
57
|
+
"result_placeholder": "Sonucu görmek için fotoğrafınızı yükleyin",
|
|
58
|
+
"error": "Sanal deneme başarısız oldu. Lütfen tekrar deneyin.",
|
|
59
|
+
"error_message": "Modelin net bir şekilde göründüğü daha sade bir arka plana sahip görselle tekrar deneyin.",
|
|
60
|
+
"feedback_prompt": "Sanal deneme sizin için nasıldı?",
|
|
61
|
+
"feedback_like": "Beğendim",
|
|
62
|
+
"feedback_dislike": "Beğenmedim",
|
|
63
|
+
"reset_crop": "Kırpma Sıfırla",
|
|
64
|
+
"retry": "Yeniden Dene",
|
|
65
|
+
"retry_upload": "Tekrar Yükle",
|
|
66
|
+
"click_to_view_details": "Detayları görüntülemek için görsele tıklayın.",
|
|
67
|
+
"back_to_basket": "Sepete Dön",
|
|
68
|
+
"products_listed_count": "Sepetinizdeki ürünlerden Sanal Kabin'de denemeye uygun {{count}} tanesi listelenmiştir.",
|
|
69
|
+
"select_up_to_3": "Devam etmek için en fazla 3 ürünü seçiniz.",
|
|
70
|
+
"select_products": "Ürünleri Seç",
|
|
71
|
+
"no_suitable_products": "Sepetinizde sanal deneme kabini için uygun ürün bulunmuyor.",
|
|
72
|
+
"rule_1": "Arka plan sade ve iyi aydınlatılmış olmalıdır.",
|
|
73
|
+
"rule_2": "Aydınlık, net ve yüksek kaliteli bir görsel seçin.",
|
|
74
|
+
"rule_3": "Üzerinizdeki detaylar net bir şekilde ayırt edilebilir olmalıdır.",
|
|
75
|
+
"rule_4": "Doğrudan kameraya bakın ve yüzünüzü tam karşıdan gösterin.",
|
|
76
|
+
"rule_5": "Fotoğrafı denemek istediğiniz ürüne göre kırpın.",
|
|
77
|
+
"rule_6": "Yalnızca JPEG veya PNG formatındaki görselleri yükleyebilirsiniz.",
|
|
78
|
+
"photo_preview": "Fotoğraf Önizleme",
|
|
79
|
+
"error_title": "Bir Hata Oluştu",
|
|
80
|
+
"example_iamge": "Örnek Görsel",
|
|
81
|
+
"cabin": "Sanal Deneme Kabini",
|
|
82
|
+
"legal": {
|
|
83
|
+
"title": "Açık Rıza Metni",
|
|
84
|
+
"text": "Yükleyeceğim görselin, <strong>yapay zekâ destekli işleme, iyileştirme, analiz ve içerik oluşturma</strong> amaçlarıyla kullanılmasına <strong>açık rıza verdiğimi</strong> beyan ederim.",
|
|
85
|
+
"accept": "Onayla",
|
|
86
|
+
"error": "Lütfen açık rıza metnini onaylayın."
|
|
87
|
+
},
|
|
88
|
+
"multiple_results_title": "Sanal Deneme Sonuçları",
|
|
89
|
+
"multiple_results_subtitle": "{{count}} ürün için deneme tamamlandı",
|
|
90
|
+
"error_incompatible": "Görüntü Uyumlu Değil",
|
|
91
|
+
"error_auto_reported": "Hata otomatik olarak bildirildi",
|
|
92
|
+
"error_aspect_ratio_too_tall": "Görsel çok uzun. Dikey görseller için izin verilen maksimum oran 9:16'dır. Lütfen kırpın veya farklı bir görsel seçin.",
|
|
93
|
+
"error_aspect_ratio_too_wide": "Görsel çok geniş. Yatay görseller için izin verilen maksimum oran 21:9'dur. Lütfen kırpın veya farklı bir görsel seçin.",
|
|
94
|
+
"feedback_question": "Sonuç nasıldı?",
|
|
95
|
+
"feedback_success": "Başarılı",
|
|
96
|
+
"feedback_failed": "Başarısız",
|
|
97
|
+
"feedback_thank_you": "Geri bildiriminiz alındı, teşekkürler!",
|
|
98
|
+
"recreate_button": "Yeniden Oluştur",
|
|
99
|
+
"close_button": "Kapat",
|
|
100
|
+
"change_photo": "Değiştir",
|
|
101
|
+
"starting": "Başlatılıyor...",
|
|
102
|
+
"will_start": "için sanal deneme başlatılacak",
|
|
103
|
+
"products_count": "ürün"
|
|
104
|
+
},
|
|
105
|
+
"barcode_scanner": {
|
|
106
|
+
"title": "Barkodu Okut",
|
|
107
|
+
"button_label": "Barkod Tarayıcı",
|
|
108
|
+
"button_text": "Mağazadaki ürünü üstünde dene",
|
|
109
|
+
"help_text": "Ürün barkodunu kameraya yaklaştırın",
|
|
110
|
+
"scan_more_help": "Bir ürün daha okutmak isterseniz, yeni barkodu da kameranıza yaklaştırın.",
|
|
111
|
+
"searching": "Ürün aranıyor...",
|
|
112
|
+
"continue_to_vto": "Sanal Kabine Devam Et",
|
|
113
|
+
"permission_denied_title": "Kamera İzni Gerekli",
|
|
114
|
+
"permission_denied_message": "Barkod okuyucu için kamera erişimine izin vermeniz gerekmektedir.",
|
|
115
|
+
"try_again": "Tekrar Dene",
|
|
116
|
+
"errors": {
|
|
117
|
+
"product_not_found": "Bu barkoda ait ürün bulunamadı.",
|
|
118
|
+
"search_failed": "Arama başarısız oldu. Lütfen tekrar deneyin."
|
|
119
|
+
}
|
|
38
120
|
}
|
|
39
121
|
}
|
|
@@ -1,29 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<polygon id="path-1" points="0 17.6283386 183.337714 17.6283386 183.337714 -0.000732857143 0 -0.000732857143"></polygon>
|
|
6
|
-
</defs>
|
|
7
|
-
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8
|
-
<g id="header/mobile" transform="translate(-59.000000, -16.000000)">
|
|
9
|
-
<g id="Group-21" transform="translate(59.000000, 16.000000)">
|
|
10
|
-
<path d="M5.184,8.46299571 C5.92457143,8.46299571 6.588,8.41671 7.17428571,8.32413857 C7.76057143,8.23156714 8.25814286,8.05799571 8.667,7.80342429 C9.07585714,7.54885286 9.39214286,7.20171 9.61585714,6.76199571 C9.83957143,6.32228143 9.95142857,5.74756714 9.95142857,5.03785286 C9.95142857,3.98871 9.60814286,3.19606714 8.92157143,2.65413857 C8.235,2.11413857 7.14342857,1.84413857 5.64685714,1.84413857 L1.57371429,1.84413857 L1.57371429,8.46299571 L5.184,8.46299571 Z M0,17.16471 L0,0.501852857 L6.08657143,0.501852857 C7.16657143,0.501852857 8.05757143,0.62721 8.75957143,0.872138571 C9.46157143,1.11899571 10.017,1.45842429 10.4258571,1.89042429 C10.8347143,2.32242429 11.1201429,2.81999571 11.2821429,3.38313857 C11.4441429,3.94628143 11.5251429,4.53642429 11.5251429,5.15356714 C11.5251429,6.07928143 11.3361429,6.84299571 10.9581429,7.44471 C10.5801429,8.04642429 10.0902857,8.52085286 9.48857143,8.86799571 C8.88685714,9.21513857 8.20414286,9.45813857 7.44042857,9.59699571 C6.67671429,9.73585286 5.90914286,9.80528143 5.13771429,9.80528143 L1.57371429,9.80528143 L1.57371429,17.16471 L0,17.16471 Z" id="Fill-1" fill="#000000"></path>
|
|
11
|
-
<path d="M20.6661857,8.25471 C21.2524714,8.25471 21.7963286,8.19299571 22.2977571,8.06956714 C22.7991857,7.94613857 23.2350429,7.74942429 23.6053286,7.47942429 C23.9756143,7.20942429 24.2687571,6.86613857 24.4847571,6.44956714 C24.7007571,6.03299571 24.8087571,5.53156714 24.8087571,4.94528143 C24.8087571,4.32813857 24.6969,3.81899571 24.4731857,3.41785286 C24.2494714,3.01671 23.9486143,2.70042429 23.5706143,2.46899571 C23.1926143,2.23756714 22.7606143,2.07556714 22.2746143,1.98299571 C21.7886143,1.89042429 21.2833286,1.84413857 20.7587571,1.84413857 L15.7599,1.84413857 L15.7599,8.25471 L20.6661857,8.25471 Z M15.7599,9.59699571 L15.7599,17.16471 L14.1861857,17.1415671 L14.1861857,0.501852857 L20.7124714,0.501852857 C22.5484714,0.501852857 23.9524714,0.845138571 24.9244714,1.53171 C25.8964714,2.21828143 26.3824714,3.33299571 26.3824714,4.87585286 C26.3824714,5.92499571 26.1703286,6.75813857 25.7460429,7.37528143 C25.3217571,7.99242429 24.6313286,8.51699571 23.6747571,8.94899571 C24.1684714,9.11871 24.5541857,9.36556714 24.8319,9.68956714 C25.1096143,10.0135671 25.3179,10.3838529 25.4567571,10.8004243 C25.5956143,11.2169957 25.6843286,11.65671 25.7229,12.1195671 C25.7614714,12.5824243 25.7884714,13.0298529 25.8039,13.4618529 C25.8193286,14.0944243 25.8463286,14.6189957 25.8849,15.0355671 C25.9234714,15.4521386 25.9697571,15.7915671 26.0237571,16.0538529 C26.0777571,16.3161386 26.1433286,16.5205671 26.2204714,16.6671386 C26.2976143,16.81371 26.3901857,16.9255671 26.4981857,17.00271 L26.4981857,17.1415671 L24.7624714,17.16471 C24.5927571,16.8869957 24.4731857,16.5012814 24.4037571,16.0075671 C24.3343286,15.5138529 24.2803286,14.9969957 24.2417571,14.4569957 C24.2031857,13.9169957 24.1723286,13.3924243 24.1491857,12.8832814 C24.1260429,12.3741386 24.0836143,11.9575671 24.0219,11.6335671 C23.9293286,11.1861386 23.7789,10.8274243 23.5706143,10.5574243 C23.3623286,10.2874243 23.1116143,10.0829957 22.8184714,9.94413857 C22.5253286,9.80528143 22.1974714,9.71271 21.8349,9.66642429 C21.4723286,9.62013857 21.0981857,9.59699571 20.7124714,9.59699571 L15.7599,9.59699571 Z" id="Fill-3" fill="#000000"></path>
|
|
12
|
-
<path d="M36.7738071,16.26291 C37.8538071,16.26291 38.7833786,16.0584814 39.5625214,15.6496243 C40.3416643,15.2407671 40.98195,14.69691 41.4833786,14.0180529 C41.9848071,13.3391957 42.3550929,12.5523386 42.5942357,11.6574814 C42.8333786,10.7626243 42.95295,9.82919571 42.95295,8.85719571 C42.95295,7.70005286 42.8102357,6.66248143 42.5248071,5.74448143 C42.2393786,4.82648143 41.8266643,4.04348143 41.2866643,3.39548143 C40.7466643,2.74748143 40.09095,2.25376714 39.3195214,1.91433857 C38.5480929,1.57491 37.6840929,1.40519571 36.7275214,1.40519571 C35.66295,1.40519571 34.7410929,1.61348143 33.96195,2.03005286 C33.1828071,2.44662429 32.5425214,2.99819571 32.0410929,3.68476714 C31.5396643,4.37133857 31.1693786,5.16205286 30.9302357,6.05691 C30.6910929,6.95176714 30.5715214,7.88519571 30.5715214,8.85719571 C30.5715214,9.84462429 30.6910929,10.7857671 30.9302357,11.6806243 C31.1693786,12.5754814 31.5396643,13.3623386 32.0410929,14.0411957 C32.5425214,14.7200529 33.1828071,15.2600529 33.96195,15.6611957 C34.7410929,16.0623386 35.6783786,16.26291 36.7738071,16.26291 M28.9978071,8.85719571 C28.9978071,7.63833857 29.1636643,6.49662429 29.4953786,5.43205286 C29.8270929,4.36748143 30.31695,3.43791 30.96495,2.64333857 C31.61295,1.84876714 32.4152357,1.22005286 33.3718071,0.757195714 C34.3283786,0.294338571 35.4315214,0.06291 36.6812357,0.06291 C37.9772357,0.06291 39.1150929,0.290481429 40.0948071,0.745624286 C41.0745214,1.20076714 41.8922357,1.82562429 42.54795,2.62019571 C43.2036643,3.41476714 43.6973786,4.34819571 44.0290929,5.42048143 C44.3608071,6.49276714 44.5266643,7.63833857 44.5266643,8.85719571 C44.5266643,10.0606243 44.3608071,11.1907671 44.0290929,12.2476243 C43.6973786,13.3044814 43.2075214,14.2301957 42.5595214,15.0247671 C41.9115214,15.8193386 41.1015214,16.4480529 40.1295214,16.91091 C39.1575214,17.3737671 38.0312357,17.6051957 36.7506643,17.6051957 C35.4700929,17.6051957 34.3438071,17.3737671 33.3718071,16.91091 C32.3998071,16.4480529 31.5898071,15.8193386 30.9418071,15.0247671 C30.2938071,14.2301957 29.8078071,13.3044814 29.4838071,12.2476243 C29.1598071,11.1907671 28.9978071,10.0606243 28.9978071,8.85719571" id="Fill-5" fill="#000000"></path>
|
|
13
|
-
<path d="M47.8592357,11.8887171 C47.8592357,12.4132886 47.8785214,12.9301457 47.9170929,13.4392886 C47.9556643,13.9484314 48.0713786,14.4074314 48.2642357,14.8162886 C48.4570929,15.2251457 48.75795,15.5530029 49.1668071,15.79986 C49.5756643,16.0467171 50.1426643,16.1701457 50.8678071,16.1701457 C51.9478071,16.1701457 52.7076643,15.8615743 53.1473786,15.2444314 C53.5870929,14.6272886 53.80695,13.7324314 53.80695,12.55986 L53.80695,0.502431429 L55.3806643,0.502431429 L55.3806643,12.6061457 C55.3806643,14.2261457 55.0026643,15.4642886 54.2466643,16.3205743 C53.4906643,17.17686 52.3026643,17.6050029 50.6826643,17.6050029 C49.7415214,17.6050029 48.9855214,17.44686 48.4146643,17.1305743 C47.8438071,16.8142886 47.4002357,16.3900029 47.08395,15.8577171 C46.7676643,15.3254314 46.5555214,14.7160029 46.4475214,14.0294314 C46.3395214,13.34286 46.2855214,12.6292886 46.2855214,11.8887171 L47.8592357,11.8887171 Z" id="Fill-7" fill="#000000"></path>
|
|
14
|
-
<polygon id="Fill-9" fill="#000000" points="59.2225714 17.1650957 59.2225714 0.502238571 70.308 0.502238571 70.308 1.84452429 60.7962857 1.84452429 60.7962857 7.86166714 69.3822857 7.86166714 69.3822857 9.20395286 60.7962857 9.20395286 60.7962857 15.82281 70.5394286 15.82281 70.5394286 17.1650957"></polygon>
|
|
15
|
-
<path d="M85.1886643,5.33928857 C84.8646643,3.91986 84.26295,2.90928857 83.3835214,2.30757429 C82.5040929,1.70586 81.3546643,1.40500286 79.9352357,1.40500286 C78.9323786,1.40500286 78.0683786,1.60557429 77.3432357,2.00671714 C76.6180929,2.40786 76.0202357,2.94786 75.5496643,3.62671714 C75.0790929,4.30557429 74.73195,5.08857429 74.5082357,5.97571714 C74.2845214,6.86286 74.1726643,7.80014571 74.1726643,8.78757429 C74.1726643,9.71328857 74.2690929,10.6235743 74.46195,11.5184314 C74.6548071,12.4132886 74.97495,13.2117171 75.4223786,13.9137171 C75.8698071,14.6157171 76.4715214,15.1827171 77.2275214,15.6147171 C77.9835214,16.0467171 78.9323786,16.2627171 80.0740929,16.2627171 C80.7838071,16.2627171 81.4318071,16.1470029 82.0180929,15.9155743 C82.6043786,15.6841457 83.1173786,15.3640029 83.5570929,14.9551457 C83.9968071,14.5462886 84.3670929,14.0641457 84.66795,13.5087171 C84.9688071,12.9532886 85.1963786,12.34386 85.3506643,11.6804314 L86.9938071,11.6804314 C86.8086643,12.4827171 86.5386643,13.2425743 86.1838071,13.9600029 C85.82895,14.6774314 85.3622357,15.3061457 84.7836643,15.8461457 C84.2050929,16.3861457 83.5030929,16.8142886 82.6776643,17.1305743 C81.8522357,17.44686 80.8840929,17.6050029 79.7732357,17.6050029 C78.4926643,17.6050029 77.3972357,17.3697171 76.48695,16.8991457 C75.5766643,16.4285743 74.8322357,15.7921457 74.2536643,14.98986 C73.6750929,14.1875743 73.2546643,13.2580029 72.9923786,12.2011457 C72.7300929,11.1442886 72.59895,10.02186 72.59895,8.83386 C72.59895,7.24471714 72.7956643,5.89471714 73.1890929,4.78386 C73.5825214,3.67300286 74.1263786,2.76657429 74.8206643,2.06457429 C75.51495,1.36257429 76.3326643,0.853431429 77.2738071,0.537145714 C78.21495,0.22086 79.24095,0.0627171429 80.3518071,0.0627171429 C81.2003786,0.0627171429 81.9910929,0.174574286 82.72395,0.398288571 C83.4568071,0.622002857 84.1048071,0.957574286 84.66795,1.40500286 C85.2310929,1.85243143 85.69395,2.40400286 86.0565214,3.05971714 C86.4190929,3.71543143 86.6698071,4.47528857 86.8086643,5.33928857 L85.1886643,5.33928857 Z" id="Fill-11" fill="#000000"></path>
|
|
16
|
-
<polygon id="Fill-13" fill="#000000" points="88.5673286 0.501852857 100.694186 0.501852857 100.694186 1.84413857 95.4176143 1.84413857 95.4176143 17.16471 93.8439 17.16471 93.8439 1.84413857 88.5673286 1.84413857"></polygon>
|
|
17
|
-
<mask id="mask-2" fill="white">
|
|
18
|
-
<use xlink:href="#path-1"></use>
|
|
19
|
-
</mask>
|
|
20
|
-
<g id="Clip-16"></g>
|
|
21
|
-
<polygon id="Fill-15" fill="#D02B2F" mask="url(#mask-2)" points="109.124357 17.1654814 111.056786 17.1654814 111.056786 0.329052857 109.124357 0.329052857"></polygon>
|
|
22
|
-
<polygon id="Fill-17" fill="#000000" mask="url(#mask-2)" points="120.531086 14.2269171 129.045729 3.45777429 120.745157 3.45777429 120.745157 0.508988571 133.367657 0.508988571 133.367657 3.29963143 124.745014 14.2269171 133.3908 14.2269171 133.3908 17.1641314 120.531086 17.1641314"></polygon>
|
|
23
|
-
<polygon id="Fill-18" fill="#000000" mask="url(#mask-2)" points="148.159993 3.45777429 139.346421 3.45777429 139.346421 6.99477429 147.436779 6.99477429 147.436779 9.88763143 139.346421 9.88763143 139.346421 14.1709886 148.566921 14.1709886 148.566921 17.1641314 135.944421 17.1641314 135.944421 0.508988571 148.159993 0.508988571"></polygon>
|
|
24
|
-
<path d="M154.759371,3.40126714 L154.759371,7.87555286 L158.504657,7.87555286 C159.249086,7.87555286 159.806443,7.78491 160.180586,7.60555286 C160.8363,7.28926714 161.166086,6.66248143 161.166086,5.72905286 C161.166086,4.72041 160.847871,4.04155286 160.211443,3.69441 C159.854657,3.49962429 159.316586,3.40126714 158.601086,3.40126714 L154.759371,3.40126714 Z M161.952943,0.938481429 C162.566229,1.20076714 163.085014,1.59033857 163.513157,2.10141 C163.864157,2.52376714 164.1438,2.99048143 164.350157,3.50348143 C164.556514,4.01455286 164.658729,4.59891 164.658729,5.25462429 C164.658729,6.04533857 164.458157,6.82255286 164.058943,7.58819571 C163.659729,8.35191 163.000157,8.89383857 162.082157,9.21012429 C162.849729,9.51869571 163.395514,9.95648143 163.715657,10.52541 C164.0358,11.0943386 164.195871,11.9621957 164.195871,13.13091 L164.195871,14.2494814 C164.195871,15.0112671 164.2248,15.5261957 164.286514,15.7981243 C164.379086,16.2262671 164.593157,16.5425529 164.928729,16.7469814 L164.928729,17.1654814 L161.087014,17.1654814 C160.982871,16.7951957 160.907657,16.4981957 160.861371,16.2725529 C160.770729,15.8058386 160.722514,15.3275529 160.7148,14.8376957 L160.691657,13.2890529 C160.678157,12.22641 160.494943,11.5186243 160.142014,11.1637671 C159.789086,10.8108386 159.127586,10.63341 158.159443,10.63341 L154.759371,10.63341 L154.759371,17.1654814 L151.357371,17.1654814 L151.357371,0.50841 L159.3243,0.50841 C160.464086,0.531552857 161.339657,0.674267143 161.952943,0.938481429 L161.952943,0.938481429 Z" id="Fill-19" fill="#000000" mask="url(#mask-2)"></path>
|
|
25
|
-
<path d="M178.642414,13.1534743 C179.452414,12.1371171 179.857414,10.6906886 179.857414,8.81418857 C179.857414,6.94540286 179.452414,5.50090286 178.642414,4.48068857 C177.832414,3.46047429 176.738914,2.94940286 175.359986,2.94940286 C173.981057,2.94940286 172.881771,3.45854571 172.0602,4.47490286 C171.238629,5.49126 170.827843,6.93768857 170.827843,8.81418857 C170.827843,10.6906886 171.238629,12.1371171 172.0602,13.1534743 C172.881771,14.1698314 173.981057,14.6789743 175.359986,14.6789743 C176.738914,14.6789743 177.832414,14.1698314 178.642414,13.1534743 M180.817843,15.68376 C179.560414,16.97976 177.739843,17.62776 175.359986,17.62776 C172.9782,17.62776 171.159557,16.97976 169.902129,15.68376 C168.214629,14.0946171 167.369914,11.8054029 167.369914,8.81418857 C167.369914,5.76318857 168.214629,3.47204571 169.902129,1.94461714 C171.159557,0.648617143 172.9782,0.000617142857 175.359986,0.000617142857 C177.739843,0.000617142857 179.560414,0.648617143 180.817843,1.94461714 C182.497629,3.47204571 183.338486,5.76318857 183.338486,8.81418857 C183.338486,11.8054029 182.497629,14.0946171 180.817843,15.68376" id="Fill-20" fill="#000000" mask="url(#mask-2)"></path>
|
|
26
|
-
</g>
|
|
27
|
-
</g>
|
|
28
|
-
</g>
|
|
2
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 58.1 10.3">
|
|
3
|
+
<!-- Generator: Adobe Illustrator 30.0.0, SVG Export Plug-In . SVG Version: 2.1.1 Build 123) -->
|
|
4
|
+
<path d="M57.7,3.1c-.3-.6-.6-1.2-1.1-1.6-.5-.5-1-.8-1.7-1-.6-.3-1.3-.4-2.1-.4s-1.4.1-2.1.4c-.6.2-1.2.6-1.7,1s-.8,1-1.1,1.6c-.3.6-.4,1.3-.4,2.1s.1,1.5.4,2.1c.3.6.6,1.2,1.1,1.7.5.5,1,.8,1.7,1.1.6.3,1.4.4,2.1.4s1.5-.1,2.1-.4c.6-.3,1.2-.6,1.7-1.1.5-.5.8-1,1.1-1.7.3-.6.4-1.3.4-2.1s-.1-1.4-.4-2.1ZM55.2,6.7c-.2.4-.5.8-1,1-.4.3-.9.4-1.4.4s-1-.1-1.5-.4c-.4-.3-.7-.6-1-1-.2-.4-.3-1-.3-1.5s.1-1.1.3-1.5c.2-.4.6-.8,1-1.1.4-.3.9-.4,1.5-.4s1.1.1,1.5.4c.4.3.7.6,1,1.1.2.4.3.9.3,1.5s-.1,1.1-.3,1.5ZM37.7,6.2c.6-.3,1-.6,1.3-1.1.3-.5.4-1,.4-1.7s-.1-1.2-.4-1.7c-.3-.5-.7-.9-1.3-1.1s-1.3-.4-2.1-.4h-3.6v9.8h2.4v-3.4h.7l2.1,3.4h2.8l-2.6-3.7c0,0,.2,0,.3,0ZM34.4,2.2h1c.3,0,.6,0,.8.2.2.1.4.3.5.4.1.2.2.4.2.7s0,.5-.2.7c-.1.2-.3.3-.5.4-.2,0-.5.1-.8.1h-1v-2.6ZM18.9.2h4.2v1.9h-4.2v1.8h4v1.9h-4v2.3h4.2v1.9h-6.5V.2h2.3ZM8.4.2L3.7,8h4.1v2H0L4.6,2.3H.7V.2h7.7Z"/>
|
|
29
5
|
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="38" height="24" viewBox="0 0 38 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_0_447)">
|
|
3
|
+
<path opacity="0.07" d="M35 0H3C1.3 0 0 1.3 0 3V21C0 22.7 1.4 24 3 24H35C36.7 24 38 22.7 38 21V3C38 1.3 36.6 0 35 0Z" fill="black"/>
|
|
4
|
+
<path d="M35 1C36.1 1 37 1.9 37 3V21C37 22.1 36.1 23 35 23H3C1.9 23 1 22.1 1 21V3C1 1.9 1.9 1 3 1H35Z" fill="white"/>
|
|
5
|
+
<path d="M15 19C18.866 19 22 15.866 22 12C22 8.13401 18.866 5 15 5C11.134 5 8 8.13401 8 12C8 15.866 11.134 19 15 19Z" fill="#EB001B"/>
|
|
6
|
+
<path d="M23 19C26.866 19 30 15.866 30 12C30 8.13401 26.866 5 23 5C19.134 5 16 8.13401 16 12C16 15.866 19.134 19 23 19Z" fill="#F79E1B"/>
|
|
7
|
+
<path d="M22 11.9998C22 9.5998 20.8 7.4998 19 6.2998C17.2 7.5998 16 9.6998 16 11.9998C16 14.2998 17.2 16.4998 19 17.6998C20.8 16.4998 22 14.3998 22 11.9998Z" fill="#FF5F00"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_0_447">
|
|
11
|
+
<rect width="38" height="24" fill="white"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function n(o,i,a){function s(e,t){if(!i[e]){if(!o[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(c)return c(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}r=i[e]={exports:{}},o[e][0].call(r.exports,function(t){return s(o[e][1][t]||t)},r,r.exports,n,o,i,a)}return i[e].exports}for(var c="function"==typeof require&&require,t=0;t<a.length;t++)s(a[t]);return s}({1:[function(t,e,r){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,function(t){t=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);r=r.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"===o(t)?t:String(t)}(n.key),n)}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;r.default=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,r,n;return e=t,(r=[{key:"encrypt",value:function(t){return T.encrypt(t)}}])&&i(e.prototype,r),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function m(t,e,r){null!=t&&("number"==typeof t?this.fromNumber(t,e,r):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function g(){return new m(null)}r="Microsoft Internet Explorer"==navigator.appName?(m.prototype.am=function(t,e,r,n,o,i){for(var a=32767&e,s=e>>15;0<=--i;){var c=32767&this[t],u=this[t++]>>15,l=s*c+u*a;o=((c=a*c+((32767&l)<<15)+r[n]+(1073741823&o))>>>30)+(l>>>15)+s*u+(o>>>30),r[n++]=1073741823&c}return o},30):"Netscape"!=navigator.appName?(m.prototype.am=function(t,e,r,n,o,i){for(;0<=--i;){var a=e*this[t++]+r[n]+o;o=Math.floor(a/67108864),r[n++]=67108863&a}return o},26):(m.prototype.am=function(t,e,r,n,o,i){for(var a=16383&e,s=e>>14;0<=--i;){var c=16383&this[t],u=this[t++]>>14,l=s*c+u*a;o=((c=a*c+((16383&l)<<14)+r[n]+o)>>28)+(l>>14)+s*u,r[n++]=268435455&c}return o},28),m.prototype.DB=r,m.prototype.DM=(1<<r)-1,m.prototype.DV=1<<r;m.prototype.FV=Math.pow(2,52),m.prototype.F1=52-r,m.prototype.F2=2*r-52;for(var n="0123456789abcdefghijklmnopqrstuvwxyz",c=new Array,a="0".charCodeAt(0),s=0;s<=9;++s)c[a++]=s;for(a="a".charCodeAt(0),s=10;s<36;++s)c[a++]=s;for(a="A".charCodeAt(0),s=10;s<36;++s)c[a++]=s;function u(t){return n.charAt(t)}function l(t){var e=g();return e.fromInt(t),e}function b(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function h(t){this.m=t}function f(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function p(){this.i=0,this.j=0,this.S=new Array}h.prototype.convert=function(t){return t.s<0||0<=t.compareTo(this.m)?t.mod(this.m):t},h.prototype.revert=function(t){return t},h.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},h.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},h.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},f.prototype.convert=function(t){var e=g();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&0<e.compareTo(m.ZERO)&&this.m.subTo(e,e),e},f.prototype.revert=function(t){var e=g();return t.copyTo(e),this.reduce(e),e},f.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],n=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),0<=t.compareTo(this.m)&&t.subTo(this.m,t)},f.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},f.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},m.prototype.copyTo=function(t){for(var e=this.t-1;0<=e;--e)t[e]=this[e];t.t=this.t,t.s=this.s},m.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,0<t?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},m.prototype.fromString=function(t,e){var r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var n,o=t.length,i=!1,a=0;0<=--o;){var s=8==r?255&t[o]:(s=o,null==(n=c[(n=t).charCodeAt(s)])?-1:n);s<0?"-"==t.charAt(o)&&(i=!0):(i=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,0<a)&&(this[this.t-1]|=(1<<this.DB-a)-1<<a),this.clamp(),i&&m.ZERO.subTo(this,this)},m.prototype.clamp=function(){for(var t=this.s&this.DM;0<this.t&&this[this.t-1]==t;)--this.t},m.prototype.dlShiftTo=function(t,e){for(var r=this.t-1;0<=r;--r)e[r+t]=this[r];for(r=t-1;0<=r;--r)e[r]=0;e.t=this.t+t,e.s=this.s},m.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},m.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,o=(1<<n)-1,i=Math.floor(t/this.DB),a=this.s<<r&this.DM,s=this.t-1;0<=s;--s)e[s+i+1]=this[s]>>n|a,a=(this[s]&o)<<r;for(s=i-1;0<=s;--s)e[s]=0;e[i]=a,e.t=this.t+i+1,e.s=this.s,e.clamp()},m.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,o=this.DB-n,i=(1<<n)-1;e[0]=this[r]>>n;for(var a=r+1;a<this.t;++a)e[a-r-1]|=(this[a]&i)<<o,e[a-r]=this[a]>>n;0<n&&(e[this.t-r-1]|=(this.s&i)<<o),e.t=this.t-r,e.clamp()}},m.prototype.subTo=function(t,e){for(var r=0,n=0,o=Math.min(t.t,this.t);r<o;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:0<n&&(e[r++]=n),e.t=r,e.clamp()},m.prototype.multiplyTo=function(t,e){var r=this.abs(),n=t.abs(),o=r.t;for(e.t=o+n.t;0<=--o;)e[o]=0;for(o=0;o<n.t;++o)e[o+r.t]=r.am(0,n[o],e,o,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&m.ZERO.subTo(e,e)},m.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;0<=--r;)t[r]=0;for(r=0;r<e.t-1;++r){var n=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,n,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}0<t.t&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},m.prototype.divRemTo=function(t,e,r){var n=t.abs();if(!(n.t<=0)){var o=this.abs();if(o.t<n.t)null!=e&&e.fromInt(0),null!=r&&this.copyTo(r);else{null==r&&(r=g());var i=g(),a=this.s,t=t.s,s=this.DB-b(n[n.t-1]),c=(0<s?(n.lShiftTo(s,i),o.lShiftTo(s,r)):(n.copyTo(i),o.copyTo(r)),i.t),u=i[c-1];if(0!=u){var n=u*(1<<this.F1)+(1<c?i[c-2]>>this.F2:0),l=this.FV/n,h=(1<<this.F1)/n,f=1<<this.F2,p=r.t,d=p-c,v=null==e?g():e;for(i.dlShiftTo(d,v),0<=r.compareTo(v)&&(r[r.t++]=1,r.subTo(v,r)),m.ONE.dlShiftTo(c,v),v.subTo(i,i);i.t<c;)i[i.t++]=0;for(;0<=--d;){var y=r[--p]==u?this.DM:Math.floor(r[p]*l+(r[p-1]+f)*h);if((r[p]+=i.am(0,y,r,d,0,c))<y)for(i.dlShiftTo(d,v),r.subTo(v,r);r[p]<--y;)r.subTo(v,r)}null!=e&&(r.drShiftTo(c,e),a!=t)&&m.ZERO.subTo(e,e),r.t=c,r.clamp(),0<s&&r.rShiftTo(s,r),a<0&&m.ZERO.subTo(r,r)}}}},m.prototype.invDigit=function(){var t,e;return this.t<1||0==(1&(t=this[0]))?0:0<(e=(e=(e=(e=(e=3&t)*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)?this.DV-e:-e},m.prototype.isEven=function(){return 0==(0<this.t?1&this[0]:this.s)},m.prototype.exp=function(t,e){if(4294967295<t||t<1)return m.ONE;var r,n=g(),o=g(),i=e.convert(this),a=b(t)-1;for(i.copyTo(n);0<=--a;)e.sqrTo(n,o),0<(t&1<<a)?e.mulTo(o,i,n):(r=n,n=o,o=r);return e.revert(n)},m.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<<e)-1,o=!1,i="",a=this.t,s=this.DB-a*this.DB%e;if(0<a--)for(s<this.DB&&0<(r=this[a]>>s)&&(o=!0,i=u(r));0<=a;)s<e?(r=(this[a]&(1<<s)-1)<<e-s,r|=this[--a]>>(s+=this.DB-e)):(r=this[a]>>(s-=e)&n,s<=0&&(s+=this.DB,--a)),(o=0<r?!0:o)&&(i+=u(r));return o?i:"0"},m.prototype.negate=function(){var t=g();return m.ZERO.subTo(this,t),t},m.prototype.abs=function(){return this.s<0?this.negate():this},m.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;0<=--r;)if(0!=(e=this[r]-t[r]))return e;return 0},m.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+b(this[this.t-1]^this.s&this.DM)},m.prototype.mod=function(t){var e=g();return this.abs().divRemTo(t,null,e),this.s<0&&0<e.compareTo(m.ZERO)&&t.subTo(e,e),e},m.prototype.modPowInt=function(t,e){return e=new(t<256||e.isEven()?h:f)(e),this.exp(t,e)},m.ZERO=l(0),m.ONE=l(1),p.prototype.init=function(t){for(var e,r,n=0;n<256;++n)this.S[n]=n;for(n=e=0;n<256;++n)e=e+this.S[n]+t[n%t.length]&255,r=this.S[n],this.S[n]=this.S[e],this.S[e]=r;this.i=0,this.j=0},p.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]};var d,v=256;function y(){var t;t=(new Date).getTime(),w[D++]^=255&t,w[D++]^=t>>8&255,w[D++]^=t>>16&255,w[D++]^=t>>24&255,v<=D&&(D-=v)}if(null==w){var w=new Array,D=0;if(window.crypto&&window.crypto.getRandomValues){var S=new Uint8Array(32);for(window.crypto.getRandomValues(S),j=0;j<32;++j)w[D++]=S[j]}if("Netscape"==navigator.appName&&navigator.appVersion<"5"&&window.crypto)for(var E=window.crypto.random(32),j=0;j<E.length;++j)w[D++]=255&E.charCodeAt(j);for(;D<v;)j=Math.floor(65536*Math.random()),w[D++]=j>>>8,w[D++]=255&j;D=0,y()}function P(){if(null==d){for(y(),(d=new p).init(w),D=0;D<w.length;++D)w[D]=0;D=0}return d.next()}function x(){}function O(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}x.prototype.nextBytes=function(t){for(var e=0;e<t.length;++e)t[e]=P()},O.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},O.prototype.setPublic=function(t,e){null!=t&&null!=e&&0<t.length&&0<e.length?(this.n=new m(t,16),this.e=parseInt(e,16)):alert("Invalid RSA public key")},O.prototype.encrypt=function(t){return null==(t=function(t,e){if(e<t.length+11)return alert("Message too long for RSA"),null;for(var r=new Array,n=t.length-1;0<=n&&0<e;){var o=t.charCodeAt(n--);o<128?r[--e]=o:127<o&&o<2048?(r[--e]=63&o|128,r[--e]=o>>6|192):(r[--e]=63&o|128,r[--e]=o>>6&63|128,r[--e]=o>>12|224)}r[--e]=0;for(var i=new x,a=new Array;2<e;){for(a[0]=0;0==a[0];)i.nextBytes(a);r[--e]=a[0]}return r[--e]=2,r[--e]=0,new m(r)}(t,this.n.bitLength()+7>>3))||null==(t=this.doPublic(t))?null:0==(1&(t=t.toString(16)).length)?t:"0"+t};var T=new O;T.setPublic("F619C53A37BAB059C583DA9AC4E2920FFC9D57E00885E82F7A0863DEAC43CE06374E45A1417DAC907C6CAC0AF1DDF1D7152192FED7A1D9255C97BC27E420E0742B95ED3C53C62995F42CB6EEDB7B1FBDD3E4F4A4AA935650DA81E763CA7074690032F6A6AF72802CC50394C2AFA5C9450A990E6F969A38571C8BC9E381125D2BEEC348AF919D7374FF10DC3E0B4367566CE929AD6EA323A475A677EB41C20B42D44E82E8A53DD52334D927394FCADF09","03")},{}],2:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Masterpass=void 0;var n=t("./utils/request.js"),o=t("./services/verifyService.js"),i=t("./services/accountService.js"),a=t("./services/paymentService.js"),t=t("./services/creditService.js");r.Masterpass=window.Masterpass={setEndpoint:n.Rest.setEndpoint,setToken:n.Rest.setToken,setApiVersion:n.Rest.setApiVersion,setLanguage:n.Rest.setLanguage,setMerchantId:n.Rest.setMerchantId,accountService:i.AccountService,verifyService:o.VerifyService,paymentService:a.PaymentService,creditService:t.CreditService}},{"./services/accountService.js":3,"./services/creditService.js":4,"./services/paymentService.js":5,"./services/verifyService.js":6,"./utils/request.js":7}],3:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AccountService=void 0;var n,o=t("../utils/request.js"),i=(n=t("../libs/rsa.js"))&&n.__esModule?n:{default:n},a=t("../utils/utils.js");var s={endpoint:"/account"},c="/api/Account",u="/api/Card",l="/api/RecurringOrder";r.AccountService={setEndpoint:function(t){s.endpoint=t},addUserId:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","currentUserId","newUserId"]),o.Rest.post(s.endpoint+c+"/AddUserId",t,e)},forgotPassword:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","lastSixDigitsOfCard","userId","authenticationMethod"]),o.Rest.post(s.endpoint+c+"/ForgotPassword",t,e)},linkToMerchant:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","userId"]),o.Rest.put(s.endpoint+c+"/LinkToMerchant",t,e)},updateUserId:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","currentUserId","newUserId"]),o.Rest.patch(s.endpoint+c+"/UserId",t,e)},updateUserMsisdn:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","userId","newMsisdn"]),o.Rest.patch(s.endpoint+c+"/Msisdn",t,e)},accountAccess:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","accountKeyType","userId"]),o.Rest.get(s.endpoint+u,t,e)},addCard:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=t.cardNumber.replace(/\s/g,"");if(!a.Utils.validateCard(r))throw new Error("Kart numarası geçerli değil!");var n=new i.default;t.cardNumber=n.encrypt(r),t.cvv=n.encrypt(t.cvv.replace(/\s/g,"")),t.deviceFingerPrint="",t=a.Utils.operationParameters(t,["accountKey","accountKeyType","userId","requestReferenceNumber","cardNumber","expiryDate","accountAliasName","cardHolderName","cvv","deviceFingerPrint","additionalParams"]),o.Rest.post(s.endpoint+u,t,e)},removeCard:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","cardAlias"]),o.Rest.del(s.endpoint+u,t,e)},completeRegistration:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;(t=a.Utils.operationParameters(t,["accountKey","userId","accountAliasName","isMsisdnValidatedByMerchant"])).token=FlowDirectable.token,o.Rest.post(s.endpoint+"/api/PurchaseAndRegister",t,e)},recurringOrder:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","authenticationMethod","amountLimit","requestReferenceNumber","cardAlias","productId","expiryDate"]),o.Rest.post(s.endpoint+l,t,e)},recurringOrderUpdate:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","amountLimit","requestReferenceNumber","cardAlias","productId","expiryDate"]),o.Rest.put(s.endpoint+l,t,e)},recurringOrderDelete:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","authenticationMethod","authenticationMethod","amountLimit","requestReferenceNumber","cardAlias","productId"]),o.Rest.del(s.endpoint+l,t,e)}}},{"../libs/rsa.js":1,"../utils/request.js":7,"../utils/utils.js":8}],4:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CreditService=void 0;var n,o=t("../utils/request.js"),i=(n=t("../libs/rsa.js"))&&n.__esModule?n:{default:n},a=t("../utils/utils.js");var s={endpoint:"/credit-bff"};r.CreditService={setEndpoint:function(t){s.endpoint=t},loanGetUrl:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=new i.default;t.cvc=r.encrypt(t.cvc.replace(/\s/g,"")),t.deviceFingerPrint="",t=a.Utils.operationParameters(t,["accountKey","userId","requestReferenceNo","amount","isMsisdnValidatedByMerchant","currencyCode","orderNo","terminalGroupId","cvc","acquirerIcaNumber","loanIssuerIcaNumber","accessToken","campaingCode","basket"]),o.Rest.post(s.endpoint+"/api/Loan/geturl",t,e)},overdraftQuery:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=o.FlowDirectable.uri;o.Rest.get(s.endpoint+r,t,e)}}},{"../libs/rsa.js":1,"../utils/request.js":7,"../utils/utils.js":8}],5:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PaymentService=void 0;var n,o=t("../utils/request.js"),i=(n=t("../libs/rsa.js"))&&n.__esModule?n:{default:n},a=t("../utils/utils.js");var s={endpoint:"/payment"};r.PaymentService={setEndpoint:function(t){s.endpoint=t},payment:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0;t=a.Utils.operationParameters(t,["accountKey","authenticationMethod","amount","requestReferenceNo","cardAlias","cvc","orderNo","installmentCount","acquirerIcaNumber","terminalGroupId","currencyCode","paymentType","secure3DModel","subMerchant","rewardList","orderDetails","orderProductsDetails","buyerDetails","billDetails","deliveryDetails","otherDetails","mokaSubDealerDetails","terminal","customParameters","additionalParams"]),o.Rest.post(s.endpoint+"/api/Payment/request",t,e)},directPayment:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=t.cardNumber.replace(/\s/g,"");if(!a.Utils.validateCard(r))throw new Error("Kart numarası geçerli değil!");var n=new i.default;t.cardNumber=n.encrypt(r),t.cvc=n.encrypt(t.cvc.replace(/\s/g,"")),t.deviceFingerPrint="",t=a.Utils.operationParameters(t,["accountKey","authenticationMethod","requestReferenceNo","cardNumber","cardHolderName","expiryDate","cvc","cardAlias","amount","orderNo","terminalGroupId","currencyCode","paymentType","acquirerIcaNumber","installmentCount","subMerchant","rewardList","orderDetails","buyerDetails","otherDetails","secure3DModel","mokaSubDealerDetails","deviceFingerPrint","orderProductsDetails","billDetails","deliveryDetails","terminal","customParameters","additionalParams"]),o.Rest.post(s.endpoint+"/api/DirectPayment/request",t,e)},registerAndPurchase:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=t.cardNumber.replace(/\s/g,"");if(!a.Utils.validateCard(r))throw new Error("Kart numarası geçerli değil!");var n=new i.default;t.cardNumber=n.encrypt(r),t.cvc=n.encrypt(t.cvc.replace(/\s/g,"")),t.deviceFingerPrint="",t=a.Utils.operationParameters(t,["accountKey","accountKeyType","merchantUserId","authenticationMethod","requestReferenceNo","orderNo","acquirerIcaNumber","installmentCount","cardAlias","cardNumber","expiryDate","cvc","cardHolderName","amount","deviceFingerPrint","terminalGroupId","currencyCode","paymentType","subMerchant","rewardList","orderDetails","orderProductsDetails","buyerDetails","billDetails","deliveryDetails","otherDetails","secure3DModel","terminal","isMsisdnValidatedByMerchant","mokaSubDealerDetails","customParameters","additionalParams"]),o.Rest.post(s.endpoint+"/api/RegisterAndPurchase",t,e)}}},{"../libs/rsa.js":1,"../utils/request.js":7,"../utils/utils.js":8}],6:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VerifyService=void 0;var o=t("../utils/request.js");function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(){A=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o,i,a,s,e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),n=new x(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,s=f,function(t,e){if(s===d)throw new Error("Generator is already running");if(s===v){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;n=h(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,y;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}(r,a);if(r){if(r===y)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===f)throw s=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=d;r=h(o,i,a);if("normal"===r.type){if(s=a.done?v:p,r.arg===y)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s=v,a.method="throw",a.arg=r.arg)}})}),e}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",y={};function m(){}function g(){}function b(){}var e={},w=(i(e,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(O([]))),D=(w&&w!==t&&u.call(w,n)&&(e=w),b.prototype=m.prototype=Object.create(e));function S(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function E(a,s){var e;l(this,"_invoke",{value:function(r,n){function t(){return new s(function(t,e){!function e(t,r,n,o){var i,t=h(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==T(r)&&u.call(r,"__await")?s.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):s.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function O(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError(T(e)+" is not iterable")}return l(D,"constructor",{value:g.prototype=b,configurable:!0}),l(b,"constructor",{value:g,configurable:!0}),g.displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,i(t,o,"GeneratorFunction")),t.prototype=Object.create(D),t},a.awrap=function(t){return{__await:t}},S(E.prototype),i(E.prototype,r,function(){return this}),a.AsyncIterator=E,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new E(s(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(D),i(D,o,"Generator"),i(D,n,function(){return this}),i(D,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,P(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),y}},a}function c(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var i={endpoint:"/user-authorization"},a="/api/Otp";r.VerifyService={setEndpoint:function(t){i.endpoint=t},verifyOtp:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length?arguments[1]:void 0,r=o.FlowDirectable.uri;t.token=o.FlowDirectable.token,o.Rest.post(r,t,e)},resendOtp:function(){return n.apply(this,arguments)}};function n(){var s;return s=A().mark(function t(){var e,r,n=arguments;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e=0<n.length&&void 0!==n[0]?n[0]:{},r=1<n.length?n[1]:void 0,o.Rest.post(i.endpoint+a+"/resend",e,r);case 3:case"end":return t.stop()}},t)}),(n=function(){var t=this,a=arguments;return new Promise(function(e,r){var n=s.apply(t,a);function o(t){c(n,e,r,o,i,"next",t)}function i(t){c(n,e,r,o,i,"throw",t)}o(void 0)})}).apply(this,arguments)}},{"../utils/request.js":7}],7:[function(t,e,r){"use strict";function T(t){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(){A=function(){return a};var c,a={},t=Object.prototype,u=t.hasOwnProperty,l=Object.defineProperty||function(t,e,r){t[e]=r.value},e="function"==typeof Symbol?Symbol:{},n=e.iterator||"@@iterator",r=e.asyncIterator||"@@asyncIterator",o=e.toStringTag||"@@toStringTag";function i(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{i({},"")}catch(c){i=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o,i,a,s,e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),n=new x(n||[]);return l(e,"_invoke",{value:(o=t,i=r,a=n,s=f,function(t,e){if(s===d)throw new Error("Generator is already running");if(s===v){if("throw"===t)throw e;return{value:c,done:!0}}for(a.method=t,a.arg=e;;){var r=a.delegate;if(r){r=function t(e,r){var n=r.method,o=e.iterator[n];if(o===c)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=c,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;n=h(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,y;o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=c),r.delegate=null,y):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}(r,a);if(r){if(r===y)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===f)throw s=v,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=d;r=h(o,i,a);if("normal"===r.type){if(s=a.done?v:p,r.arg===y)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s=v,a.method="throw",a.arg=r.arg)}})}),e}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var f="suspendedStart",p="suspendedYield",d="executing",v="completed",y={};function m(){}function g(){}function b(){}var e={},w=(i(e,n,function(){return this}),Object.getPrototypeOf),w=w&&w(w(O([]))),D=(w&&w!==t&&u.call(w,n)&&(e=w),b.prototype=m.prototype=Object.create(e));function S(t){["next","throw","return"].forEach(function(e){i(t,e,function(t){return this._invoke(e,t)})})}function E(a,s){var e;l(this,"_invoke",{value:function(r,n){function t(){return new s(function(t,e){!function e(t,r,n,o){var i,t=h(a[t],a,r);if("throw"!==t.type)return(r=(i=t.arg).value)&&"object"==T(r)&&u.call(r,"__await")?s.resolve(r.__await).then(function(t){e("next",t,n,o)},function(t){e("throw",t,n,o)}):s.resolve(r).then(function(t){i.value=t,n(i)},function(t){return e("throw",t,n,o)});o(t.arg)}(r,n,t,e)})}return e=e?e.then(t,t):t()}})}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function O(e){if(e||""===e){var r,t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return r=-1,(t=function t(){for(;++r<e.length;)if(u.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}throw new TypeError(T(e)+" is not iterable")}return l(D,"constructor",{value:g.prototype=b,configurable:!0}),l(b,"constructor",{value:g,configurable:!0}),g.displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,i(t,o,"GeneratorFunction")),t.prototype=Object.create(D),t},a.awrap=function(t){return{__await:t}},S(E.prototype),i(E.prototype,r,function(){return this}),a.AsyncIterator=E,a.async=function(t,e,r,n,o){void 0===o&&(o=Promise);var i=new E(s(t,e,r,n),o);return a.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},S(D),i(D,o,"Generator"),i(D,n,function(){return this}),i(D,"toString",function(){return"[object Generator]"}),a.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=O,x.prototype={constructor:x,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&u.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function t(t,e){return i.type="throw",i.arg=r,n.next=t,e&&(n.method="next",n.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=u.call(o,"catchLoc"),s=u.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,P(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=c),y}},a}function i(e,t){var r,n=Object.keys(e);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(e),t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function a(n){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach(function(t){var e,r;e=n,r=o[t=t],(t=function(t){t=function(t,e){if("object"!==T(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);r=r.call(t,e||"default");if("object"!==T(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"===T(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(o,t))})}return n}function c(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function o(s){return function(){var t=this,a=arguments;return new Promise(function(e,r){var n=s.apply(t,a);function o(t){c(n,e,r,o,i,"next",t)}function i(t){c(n,e,r,o,i,"throw",t)}o(void 0)})}}Object.defineProperty(r,"__esModule",{value:!0}),r.Rest=r.FlowDirectable=void 0;var s={"Content-Type":"application/json","x-channel":"SYS","x-source-channel":"Web",Accept:"application/json"},u={endpoint:""},l={merchantId:"",sdkVersion:"1.0.4",sourceChannel:"Web"},h=r.FlowDirectable=window.FlowDirectable={uri:"",token:"",url3d:"",url3dSuccess:"",url3dFail:""};r.Rest={setToken:function(t){var e;t=null!=(e=null==(e=t.split(" "))?void 0:e[1])?e:t,s.Authorization="Bearer "+t},setEndpoint:function(t){u.endpoint=t},setApiVersion:function(t){s["x-api-version"]=null!=t?t:l.sdkVersion},setLanguage:function(t){s["x-language"]=null!=t?t:"en-US"},setMerchantId:function(t){l.merchantId=t},post:function(t,e,r){return n.apply(this,arguments)},put:function(t,e,r){return d.apply(this,arguments)},patch:function(t,e,r){return v.apply(this,arguments)},del:function(t,e,r){return p.apply(this,arguments)},get:function(t,e,r){return y.apply(this,arguments)}};function f(t,e){h.uri=t.get("content-location")||"",h.token=(null==e?void 0:e.token)||"",h.url3d=(null==e?void 0:e.url3d)||"",h.url3dSuccess=(null==e?void 0:e.url3dSuccess)||"",h.url3dFail=(null==e?void 0:e.url3dFail)||""}function n(){return(n=o(A().mark(function t(e,r,n){var o;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(a({},r),l),o={method:"POST",headers:s,body:JSON.stringify(o)},t.next=4,m(u.endpoint+e,o,n);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function p(){return(p=o(A().mark(function t(e,r,n){var o;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(a({},r),l),o={method:"DELETE",headers:s,body:JSON.stringify(o)},t.next=4,m(u.endpoint+e,o,n);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function d(){return(d=o(A().mark(function t(e,r,n){var o;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(a({},r),l),o={method:"PUT",headers:s,body:JSON.stringify(o)},t.next=4,m(u.endpoint+e,o,n);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function v(){return(v=o(A().mark(function t(e,r,n){var o;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(a({},r),l),o={method:"PATCH",headers:s,body:JSON.stringify(o)},t.next=4,m(u.endpoint+e,o,n);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function y(){return(y=o(A().mark(function t(e,r,n){var o,i;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=a(a({},r),l),i={method:"GET",headers:s},t.next=4,m(u.endpoint+e+"?"+new URLSearchParams(o),i,n);case 4:case"end":return t.stop()}},t)}))).apply(this,arguments)}function m(){return g.apply(this,arguments)}function g(){return(g=o(A().mark(function t(i,e,r){var a,n;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=a="",t.next=4,fetch(i,e).then(function(){var e=o(A().mark(function t(e){var r,n,o;return A().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.json();case 2:return r=t.sent,a=r.statusCode,e.ok?(n=-1!==i.toLowerCase().indexOf("verify"),o=-1!==i.toLowerCase().indexOf("directpayment/request"),202==r.statusCode?(f(e.headers,r.result),r.token=h.token,r.url3d=h.url3d,r.responseCode=r.result.responseCode):200==r.statusCode&&(n||o)&&f(e.headers,r.result)):(console.error(r.exception),r.responseCode=null==(n=r.exception)?void 0:n.code,r.exception.validationErrors?(o=r.exception.validationErrors.map(function(t){return t.message}),r.description=o.join(", ")):r.description=r.exception.message),t.abrupt("return",r);case 6:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}());case 4:n=t.sent,r&&r(a,n);case 6:case"end":return t.stop()}},t)}))).apply(this,arguments)}},{}],8:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Utils=void 0;r.Utils=window.Utils={formDataToClassObject:function(t,e){var r,n=Object.fromEntries(t.entries()),o=Object.getOwnPropertyNames(new e),i={};for(r in n)o.includes(r)&&(i[r]=n[r]);t=new e;return Object.assign(t,i),t},formDataToJson:function(t){t=new FormData(t);return Object.fromEntries(t.entries())},dataToClassObject:function(t,e){var r,n=Object.getOwnPropertyNames(new e),o={};for(r in t)n.includes(r)&&(o[r]=t[r]);e=new e;return Object.assign(e,o),e},decodeJwt:function(t){var e=(t="Bearer "+(t=null!=(e=null==(e=t.split(" "))?void 0:e[1])?e:t)).split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(window.atob(e).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(t)},validateCard:function(t){for(var e=t.length,r=1,n=0,o=e-1;0<=o;o--){var i=parseInt(t.charAt(o),10);n+=(r^=1)?2*i%10+Math.floor(2*i/10):i}return n%10==0},operationParameters:function(t,e){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];e.includes(o)||delete t[o]}return t}}},{}]},{},[2]);
|
|
Binary file
|