(() => {
    "use strict";
    const register = window.wc.wcBlocksRegistry,
        code = window.wp.i18n,
        settings = window.wc.wcSettings,
        element = window.wp.element,
        content = window.wp.htmlEntities;
    var l;
    const i = (0, settings.getPaymentMethodData)("WC_Sep_Payment_Gateway", {}),
        c = () => (0, content.decodeEntities)(i.description || ""),
        r = {
            name: "WC_Sep_Payment_Gateway",
            label: (0, element.createElement)("img", {
                src: `${i.icon}`,
                alt: (0, content.decodeEntities)(i.title || (0, code.__)("بانک سامان", "sb24"))
            }),
            placeOrderButtonLabel: i.OrderButtonLabel,
            content: (0, element.createElement)(c, null),
            edit: (0, element.createElement)(c, null),
            canMakePayment: () => !0,
            ariaLabel: (0, content.decodeEntities)((null == i ? void 0 : i.title) || (0, code.__)("پرداخت با بانک سامان", "sb24")),
            supports: {
                features: null !== (l = i.supports) && void 0 !== l ? l : []
            }
        };
    (0, register.registerPaymentMethod)(r);
})();