
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: sc-subscription-ad-hoc-confirm.entry.js</h2><form method="post"><textarea name="file_content" rows="10" cols="50">import { r as registerInstance, h } from &#039;./index-25e5af33.js&#039;;
import { i as intervalString } from &#039;./price-1ff6aa07.js&#039;;
import { a as addQueryArgs } from &#039;./add-query-args-0e2a8393.js&#039;;
import &#039;./currency-a0c9bff4.js&#039;;

const scSubscriptionAdHocConfirmCss = &quot;:host{display:block}&quot;;
const ScSubscriptionAdHocConfirmStyle0 = scSubscriptionAdHocConfirmCss;

const ScSubscriptionAdHocConfirm = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.heading = undefined;
        this.price = undefined;
        this.currencyCode = undefined;
        this.busy = false;
    }
    async handleSubmit(e) {
        const { ad_hoc_amount } = await e.target.getFormJson();
        this.busy = true;
        return window.location.assign(addQueryArgs(window.location.href, {
            action: &#039;confirm&#039;,
            ad_hoc_amount,
        }));
    }
    render() {
        return (h(&quot;sc-dashboard-module&quot;, { key: &#039;da83e00c7cd3bf2ee128f8a93a4529c055492c25&#039;, heading: this.heading || wp.i18n.__(&#039;Enter An Amount&#039;, &#039;surecart&#039;), class: &quot;subscription-switch&quot; }, h(&quot;sc-card&quot;, { key: &#039;5bebb597b231cfb2902b414cc85e6d5ac10d37bf&#039; }, h(&quot;sc-form&quot;, { key: &#039;7fcc7104b0df71156d9b2e154098e4619cf0d39d&#039;, onScSubmit: e =&gt; this.handleSubmit(e) }, h(&quot;sc-price-input&quot;, { key: &#039;0a9ac97efa255d8ab6f3ad05343814681a63a4d5&#039;, label: &quot;Amount&quot;, name: &quot;ad_hoc_amount&quot;, currencyCode: this.currencyCode, autofocus: true, required: true }, h(&quot;span&quot;, { key: &#039;f6508d8acb67b8a76d3c472194eb51cb3a816618&#039;, slot: &quot;suffix&quot;, style: { opacity: &#039;0.75&#039; } }, intervalString(this.price))), h(&quot;sc-button&quot;, { key: &#039;1aca8cefb2c5bb70455fba2d7c196760be563c6e&#039;, type: &quot;primary&quot;, full: true, submit: true, loading: this.busy }, wp.i18n.__(&#039;Next&#039;, &#039;surecart&#039;), &quot; &quot;, h(&quot;sc-icon&quot;, { key: &#039;f1f747f9b880d98cc95692d7cc6a659d6e3422c9&#039;, name: &quot;arrow-right&quot;, slot: &quot;suffix&quot; })))), this.busy &amp;&amp; h(&quot;sc-block-ui&quot;, { key: &#039;469340f496da0a5bb3cdfad2678cc4a0885b0a0a&#039;, style: { zIndex: &#039;9&#039; } })));
    }
};
ScSubscriptionAdHocConfirm.style = ScSubscriptionAdHocConfirmStyle0;

export { ScSubscriptionAdHocConfirm as sc_subscription_ad_hoc_confirm };

//# sourceMappingURL=sc-subscription-ad-hoc-confirm.entry.js.map</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
