const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
let src_components_pay_toC_PaymentList_payment_credit_card_svg = require("./payment/credit_card.svg");
src_components_pay_toC_PaymentList_payment_credit_card_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_credit_card_svg);
let src_components_pay_toC_PaymentList_payment_wxpay_svg = require("./payment/wxpay.svg");
src_components_pay_toC_PaymentList_payment_wxpay_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_wxpay_svg);
let src_components_pay_toC_PaymentList_payment_alipay_svg = require("./payment/alipay.svg");
src_components_pay_toC_PaymentList_payment_alipay_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_alipay_svg);
let src_components_pay_toC_PaymentList_payment_google_pay_svg = require("./payment/google_pay.svg");
src_components_pay_toC_PaymentList_payment_google_pay_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_google_pay_svg);
let src_components_pay_toC_PaymentList_payment_apple_pay_svg = require("./payment/apple_pay.svg");
src_components_pay_toC_PaymentList_payment_apple_pay_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_apple_pay_svg);
let src_components_pay_toC_PaymentList_payment_stripe_svg = require("./payment/stripe.svg");
src_components_pay_toC_PaymentList_payment_stripe_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_stripe_svg);
let src_components_pay_toC_PaymentList_payment_bank_deposit_svg = require("./payment/bank_deposit.svg");
src_components_pay_toC_PaymentList_payment_bank_deposit_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_bank_deposit_svg);
let src_components_pay_toC_PaymentList_payment_paypal_svg = require("./payment/paypal.svg");
src_components_pay_toC_PaymentList_payment_paypal_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_paypal_svg);
let src_components_pay_toC_PaymentList_payment_custom_svg = require("./payment/custom.svg");
src_components_pay_toC_PaymentList_payment_custom_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_custom_svg);
let src_components_pay_toC_PaymentList_payment_cash_svg = require("./payment/cash.svg");
src_components_pay_toC_PaymentList_payment_cash_svg = require_runtime.__toESM(src_components_pay_toC_PaymentList_payment_cash_svg);
//#region src/components/pay/toC/PaymentList/status.ts
const paymentServices = {
	stripe: { url: src_components_pay_toC_PaymentList_payment_stripe_svg.default },
	"globepay.wechat.jsapi": { url: src_components_pay_toC_PaymentList_payment_wxpay_svg.default },
	"superpay.wechat.h5": {
		url: src_components_pay_toC_PaymentList_payment_wxpay_svg.default,
		channel: ["wx"]
	},
	"globepay.alipay.h5": {
		url: src_components_pay_toC_PaymentList_payment_alipay_svg.default,
		channel: [
			"nowx",
			"phone",
			"ios"
		]
	},
	"globepay.paypal.h5": {
		url: src_components_pay_toC_PaymentList_payment_paypal_svg.default,
		channel: [
			"wx",
			"nowx",
			"phone",
			"ios"
		]
	},
	"globepay.wechat.qrcode": { url: src_components_pay_toC_PaymentList_payment_wxpay_svg.default },
	"globepay.alipay.qrcode": { url: src_components_pay_toC_PaymentList_payment_alipay_svg.default },
	"superpay.alipay.h5": { url: src_components_pay_toC_PaymentList_payment_alipay_svg.default },
	"mw.google": { url: src_components_pay_toC_PaymentList_payment_google_pay_svg.default },
	"mw.apple": { url: src_components_pay_toC_PaymentList_payment_apple_pay_svg.default },
	"mw.credit_card": { url: src_components_pay_toC_PaymentList_payment_credit_card_svg.default },
	"pisell.bank_deposit": { url: src_components_pay_toC_PaymentList_payment_bank_deposit_svg.default },
	"pisell.offline_payment": { url: src_components_pay_toC_PaymentList_payment_cash_svg.default },
	"pisell.other.cashmanual": { url: src_components_pay_toC_PaymentList_payment_cash_svg.default },
	"pisell.custom_payment": { url: src_components_pay_toC_PaymentList_payment_custom_svg.default }
};
const getPaymentTypes = () => {
	let arr = [];
	for (let key in paymentServices) arr.push(require_objectSpread2._objectSpread2({ service: key }, paymentServices[key]));
	return arr;
};
const paymentTypes = getPaymentTypes();
const paymentKeys = Object.keys(paymentServices);
const isCustomPayment = (service) => {
	return service.includes("pisell.custom_payment");
};
//#endregion
exports.isCustomPayment = isCustomPayment;
exports.paymentKeys = paymentKeys;
exports.paymentTypes = paymentTypes;
