var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/pay/toC/PaymentList/status.ts
var status_exports = {};
__export(status_exports, {
  isCustomPayment: () => isCustomPayment,
  paymentKeys: () => paymentKeys,
  paymentServices: () => paymentServices,
  paymentTypes: () => paymentTypes
});
module.exports = __toCommonJS(status_exports);
var import_credit_card = __toESM(require("./payment/credit_card.svg"));
var import_wxpay = __toESM(require("./payment/wxpay.svg"));
var import_alipay = __toESM(require("./payment/alipay.svg"));
var import_google_pay = __toESM(require("./payment/google_pay.svg"));
var import_apple_pay = __toESM(require("./payment/apple_pay.svg"));
var import_stripe = __toESM(require("./payment/stripe.svg"));
var import_bank_deposit = __toESM(require("./payment/bank_deposit.svg"));
var import_paypal = __toESM(require("./payment/paypal.svg"));
var import_custom = __toESM(require("./payment/custom.svg"));
var import_cash = __toESM(require("./payment/cash.svg"));
var paymentServices = {
  // stripe支付
  stripe: {
    url: import_stripe.default
  },
  // 微信支付
  "globepay.wechat.jsapi": {
    url: import_wxpay.default
  },
  // 微信H5支付
  "superpay.wechat.h5": {
    url: import_wxpay.default,
    channel: ["wx"]
  },
  // 支付包H5支付
  "globepay.alipay.h5": {
    url: import_alipay.default,
    channel: ["nowx", "phone", "ios"]
  },
  "globepay.paypal.h5": {
    url: import_paypal.default,
    channel: ["wx", "nowx", "phone", "ios"]
  },
  "globepay.wechat.qrcode": {
    url: import_wxpay.default
  },
  "globepay.alipay.qrcode": {
    url: import_alipay.default
  },
  "superpay.alipay.h5": {
    url: import_alipay.default
  },
  "mw.google": {
    url: import_google_pay.default
  },
  "mw.apple": {
    url: import_apple_pay.default
  },
  "mw.credit_card": {
    url: import_credit_card.default
  },
  "pisell.bank_deposit": {
    url: import_bank_deposit.default
  },
  "pisell.offline_payment": {
    url: import_cash.default
  },
  "pisell.other.cashmanual": {
    url: import_cash.default
  },
  "pisell.custom_payment": {
    url: import_custom.default
  }
  // 'pisell.other.productvoucher': {
  //   url: custom,
  // },
  // "pisell.other.giftcard": {
  //   url: custom,
  // },
  // 'pisell.wallet_pass': {
  //   url: custom,
  // },
};
var getPaymentTypes = () => {
  let arr = [];
  for (let key in paymentServices) {
    arr.push({
      service: key,
      ...paymentServices[key]
    });
  }
  return arr;
};
var paymentTypes = getPaymentTypes();
var paymentKeys = Object.keys(paymentServices);
var isCustomPayment = (service) => {
  return service.includes("pisell.custom_payment");
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  isCustomPayment,
  paymentKeys,
  paymentServices,
  paymentTypes
});
