{"id":29,"date":"2025-01-02T22:18:52","date_gmt":"2025-01-02T22:18:52","guid":{"rendered":"https:\/\/soulmate.davidmaiolo.com\/?page_id=29"},"modified":"2025-01-03T16:33:52","modified_gmt":"2025-01-03T16:33:52","slug":"soulmate-finder-2","status":"publish","type":"page","link":"https:\/\/soulmate.davidmaiolo.com\/","title":{"rendered":"Soulmate Finder"},"content":{"rendered":"        <div class=\"openai-single-response-container\" style=\"max-width:600px; margin:0 auto;\">\n            <style>\n                .response-popup {\n                    display: none;\n                    position: fixed;\n                    top: 0; left: 0;\n                    width: 100%; height: 100%;\n                    background-color: rgba(0, 0, 0, 0.5);\n                    z-index: 1000;\n                    align-items: center; justify-content: center;\n                    color: #fff; font-size: 1.5em;\n                }\n                .form-container {\n                    background-color: #fff;\n                    border: 1px solid #ccc;\n                    border-radius: 8px;\n                    padding: 20px; margin: 10px;\n                    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n                }\n                .form-field { margin-bottom: 15px; }\n                .form-field input,\n                .form-field textarea {\n                    width: 100%;\n                    max-width: 100%;\n                    box-sizing: border-box;\n                    margin-top: 5px;\n                }\n                .form-field textarea.expanding { overflow: hidden; resize: vertical; }\n                .response-container {\n                    background-color: #fff;\n                    border: 1px solid #ccc;\n                    border-radius: 8px;\n                    padding: 20px; margin: 20px 0;\n                    box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n                    white-space: pre-wrap;\n                    word-wrap: break-word;\n                }\n            <\/style>\n    \n            <div id=\"response-popup\" class=\"response-popup\">\n                <div>Getting Results...<\/div>\n            <\/div>\n            \n                            <div class=\"form-container\">\n                                                                <p>Let&#039;s find your soulmate!<\/p>\n                        \n                    <form method=\"post\" action=\"\" onsubmit=\"document.getElementById('response-popup').style.display='flex';\">\n                        <input type=\"hidden\" id=\"option_b_nonce\" name=\"option_b_nonce\" value=\"c6356f4437\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/29\" \/>    \n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>Your Birthday:<\/strong><br\/>\n                                    <input type=\"date\" name=\"var_user_birthday\" \/>                                <\/label>\n                            <\/div>\n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>Your Time of Birth:<\/strong><br\/>\n                                    <input type=\"text\" name=\"var_user_birth_time\" \/>                                <\/label>\n                            <\/div>\n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>Your Birth Location:<\/strong><br\/>\n                                    <input type=\"text\" name=\"var_user_birth_location\" \/>                                <\/label>\n                            <\/div>\n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>Describe Yourself:<\/strong><br\/>\n                                    <textarea class=\"expanding\" name=\"var_user_personality_traits\" rows=\"4\"><\/textarea>                                <\/label>\n                            <\/div>\n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>What Are You Looking for in a Soulmate?:<\/strong><br\/>\n                                    <textarea class=\"expanding\" name=\"var_desired_relationship\" rows=\"4\"><\/textarea>                                <\/label>\n                            <\/div>\n                                                    <div class=\"form-field\">\n                                <label>\n                                    <strong>What&#039;s Your Name?:<\/strong><br\/>\n                                    <input type=\"text\" name=\"var_user_name\" \/>                                <\/label>\n                            <\/div>\n                            \n                        <button type=\"submit\" name=\"option_b_submit\" class=\"button button-primary\">\n                            Find Your Soulmate                        <\/button>\n                        \n                    <\/form>\n                    <div style=\"margin-top:15px;\"><a class=\"button button-secondary\" href=\"\/index.php\/wp-json\/wp\/v2\/pages\/29?view_option_b_history=1\">View Previous<\/a><\/div>                <\/div>\n                    <\/div>\n    \n        <script>\n        \/\/ Auto-expand text areas as the user types\n        document.addEventListener('input', function (e) {\n            if (e.target.tagName === 'TEXTAREA' && e.target.classList.contains('expanding')) {\n                e.target.style.height = 'auto';\n                e.target.style.height = e.target.scrollHeight + 'px';\n            }\n        });\n        <\/script>\n        \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-no-title","meta":{"footnotes":""},"class_list":["post-29","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/pages\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":3,"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/pages\/29\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/pages\/29\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/soulmate.davidmaiolo.com\/index.php\/wp-json\/wp\/v2\/media?parent=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}