import { r as registerInstance, h } from './index-25e5af33.js';

const scTestModeInfoCss = "sc-test-mode-info .sc-test-mode-info-content ol{padding-left:1em;margin:0;font-size:12px}sc-test-mode-info .sc-test-mode-info-content ol img{width:320px;margin-top:12px}sc-test-mode-info .sc-test-mode-info-content ul{padding-left:1em}sc-test-mode-info .sc-test-mode-info-footer{display:flex;justify-content:space-between}sc-test-mode-info .sc-test-mode-info-footer sc-button>sc-icon{margin-left:4px}sc-test-mode-info .sc-test-mode-info-footer>span{font-size:var(--sc-button-font-size-small);align-content:center;opacity:0.75}sc-test-mode-info sc-popover{--panel-width:25em}#wpadminbar #wp-admin-bar-sc_change_checkout_mode>.ab-item:before{content:\"\\f186\"/\"\";top:2px}";
const ScTestModeInfoStyle0 = scTestModeInfoCss;

const ScTestModeInfo = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    render() {
        var _a, _b;
        return (h("sc-popover", { key: '5d7352b5721d12395349a401bd4a4d7c100551e6', skidding: 30 }, h("slot", { key: '91791c41e33dd0ce98de5713a24045afc223198f', name: "trigger", slot: "trigger" }), h("span", { key: '8953823771c0be289451c4b760426743c158df99', slot: "title" }, wp.i18n.__('How to switch from Test to Live mode', 'surecart')), h("div", { key: '9503815c94f94c1dc46efebf69283c7fd8023e82', class: "sc-test-mode-info-content", slot: "content" }, h("ol", { key: 'b24b9704f992b0ab5d606a0bf8c838ad82d5f765' }, h("li", { key: 'e532dd45a0425eb51c77e83e52518fdc877a498e' }, wp.i18n.__('From the Admin Bar', 'surecart'), h("ul", { key: '0db25052cc4d81b1da682a2c52cdcba8b52d43ed' }, h("li", { key: '8bc9190170495e6990dd0e7c84f9ebafc2523923' }, wp.i18n.__('Select any product & proceed to its checkout page.', 'surecart')), h("li", { key: '98e2b7f22f1d52596de2f4792234f906bf5f5f73' }, wp.i18n.__('Access the dropdown menu & select the live mode.', 'surecart'))), h("img", { key: 'f35f80d6daf175e5a98e5b29f6545443bc89e81e', src: `${(_a = window === null || window === void 0 ? void 0 : window.scData) === null || _a === void 0 ? void 0 : _a.plugin_url}/images/change-from-adminbar.png`, alt: wp.i18n.__('Screenshot showing how to change mode from the admin bar', 'surecart') })), h("li", { key: '2317a8a38df3c0cbd066940700c292fb327aeb81' }, wp.i18n.__('From the Editor', 'surecart'), h("ul", { key: '60d7484e912fa48b7d4d96e95569887b8b06a6c1' }, h("li", { key: '4f728be99225f4b40bfe6da14e4a46516dfa2a5d' }, wp.i18n.__('Navigate to the custom Forms section under SureCart.', 'surecart')), h("li", { key: '00e4df4edd2a231222cb11ffde6d6aeafe1b975c' }, wp.i18n.__('Select the checkout form.', 'surecart')), h("li", { key: 'fabb63596c0827c73f19459417c54531017a903b' }, wp.i18n.__('Select "Live" from the dropdown. Hit Update!', 'surecart'))), h("img", { key: '568389016fdcbeb77288ddd557960ad6c6230f88', src: `${(_b = window === null || window === void 0 ? void 0 : window.scData) === null || _b === void 0 ? void 0 : _b.plugin_url}/images/change-from-editor.png`, alt: wp.i18n.__('Screenshot showing how to change mode from the editor', 'surecart') })))), h("div", { key: '24e5d09ace43824847bbdb678f91b0883da83c42', class: "sc-test-mode-info-footer", slot: "footer" }, h("sc-button", { key: '96bf1c1ee65b6dc9cd469365434b1f1ed6ab9276', size: "small", type: "link", target: "_blank", href: "https://surecart.com/docs/how-to-make-test-payments/" }, wp.i18n.__('Documentation ', 'surecart'), " ", h("sc-icon", { key: '57ca7678df126fda175ee9f7aec713f82c68a6dd', name: "external-link" })), h("sc-button", { key: '88d300ada2a907e8c25cd81804744df89748b9b0', size: "small", type: "link", target: "_blank", href: "https://surecart.com/contact-us/" }, wp.i18n.__('Open a ticket ', 'surecart'), " ", h("sc-icon", { key: 'cf3843439f069df12000e146de6de1df03816387', name: "external-link" })))));
    }
};
ScTestModeInfo.style = ScTestModeInfoStyle0;

export { ScTestModeInfo as sc_test_mode_info };

//# sourceMappingURL=sc-test-mode-info.entry.js.map