{"id":31,"date":"2014-02-11T07:28:28","date_gmt":"2014-02-11T07:28:28","guid":{"rendered":"https:\/\/melaniewong.ca\/?page_id=31"},"modified":"2021-10-11T22:29:23","modified_gmt":"2021-10-11T22:29:23","slug":"contact","status":"publish","type":"page","link":"https:\/\/melaniewong.ca\/?page_id=31","title":{"rendered":"Contact Me"},"content":{"rendered":"<script type=\"text\/javascript\">\n function cp_easyform_refreshCaptcha(id)\n {\n    var $dexQuery = jQuery;\n    var $img = $dexQuery(\"#captchaimg\" + id);\n    if ($img.length) {\n        var baseSrc = $img.attr('data-base-src') || $img.attr('src').replace(\/&r=\\d+\/g, '');\n        $img.attr('src', baseSrc + '&r=' + Math.floor((Math.random() * 999999) + 1));\n    }\n    $dexQuery(\"#hdcaptchaefb\" + id).val('').removeClass('cpefb_error error');\n    $dexQuery(\"#hdcaptchaefb_error\" + id).hide();\n }\n function cp_easyform_pform_doValidate_1(form)\n {\n    form.cp_ref_page.value = document.location;\n        var $dexQuery = jQuery;\n    if (form.hdcaptchaefb.value.trim() == '') {\n        cp_easyform_cerror('_1');\n        return false;\n    }\n    var result = $dexQuery.ajax({\n        type: \"GET\",\n        url: \"https:\/\/melaniewong.ca\/?ps=_1&cp_easyform_pform_process=2&hdcaptchaefb=\" + encodeURIComponent(form.hdcaptchaefb.value.trim()),\n        async: false\n    }).responseText;\n    if (result.trim() == \"captchafailed\") {\n        cp_easyform_refreshCaptcha('_1');\n        cp_easyform_cerror('_1');\n        return false;\n    } else     {\n        document.getElementById(\"form_structure_1\").value = '';\n        return true;\n    }\n }\n function cp_easyform_cerror(id)\n {\n    var $dexQuery = jQuery;\n    $dexQuery(\"#hdcaptchaefb\" + id).addClass(\"cpefb_error\").attr(\"aria-invalid\", \"true\").focus();\n    $dexQuery(\"#hdcaptchaefb_error\" + id).css(\"display\", \"flex\");\n }\n<\/script>\n<form class=\"cpp_form\" name=\"cp_easyform_pform_1\" id=\"cp_easyform_pform_1\" action=\"https:\/\/melaniewong.ca\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return cp_easyform_pform_doValidate_1(this);\">\n    <input type=\"hidden\" name=\"cp_pform_psequence\" value=\"_1\" \/>\n    <input type=\"hidden\" name=\"cp_easyform_pform_process\" value=\"1\" \/>\n    <input type=\"hidden\" name=\"cp_easyform_id\" value=\"1\" \/>\n    <input type=\"hidden\" name=\"cp_ref_page\" value=\"https:\/\/melaniewong.ca\" \/>\n    <input type=\"hidden\" name=\"form_structure_1\" id=\"form_structure_1\" size=\"180\" value=\"[[{&quot;name&quot;:&quot;email&quot;,&quot;index&quot;:0,&quot;title&quot;:&quot;Email&quot;,&quot;ftype&quot;:&quot;femail&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;required&quot;:true,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;predefinedClick&quot;:false,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;subject&quot;,&quot;index&quot;:1,&quot;title&quot;:&quot;Subject&quot;,&quot;required&quot;:true,&quot;ftype&quot;:&quot;ftext&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;message&quot;,&quot;index&quot;:2,&quot;size&quot;:&quot;large&quot;,&quot;required&quot;:true,&quot;title&quot;:&quot;Message&quot;,&quot;ftype&quot;:&quot;ftextarea&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:false,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;}],[{&quot;title&quot;:&quot;Email me&quot;,&quot;description&quot;:&quot;You can use the following form to contact me.&quot;,&quot;formlayout&quot;:&quot;top_aligned&quot;}]]\" \/>\n    <div id=\"fbuilder\">\n        <div id=\"fbuilder_1\">\n            <div id=\"formheader_1\"><\/div>\n            <div id=\"fieldlist_1\"><\/div>\n        <\/div>\n    <\/div>\n    <div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\">\n            <div class=\"cpefb-captcha-wrap\">\n            <div class=\"cpefb-captcha-header\">\n                <span class=\"cpefb-captcha-title\">Please enter the security code:<\/span>\n            <\/div>\n            <div class=\"cpefb-captcha-visual\">\n                <img decoding=\"async\" src=\"https:\/\/melaniewong.ca\/?cp_easyformcaptcha=captcha&#038;ps=_1&#038;width=180&#038;height=60&#038;letter_count=5&#038;min_size=25&#038;max_size=35&#038;noise=200&#038;noiselength=4&#038;bcolor=ffffff&#038;border=000000&#038;font=font-1.ttf\" data-base-src=\"https:\/\/melaniewong.ca\/?cp_easyformcaptcha=captcha&#038;ps=_1&#038;width=180&#038;height=60&#038;letter_count=5&#038;min_size=25&#038;max_size=35&#038;noise=200&#038;noiselength=4&#038;bcolor=ffffff&#038;border=000000&#038;font=font-1.ttf\" id=\"captchaimg_1\" alt=\"Security code\" class=\"skip-lazy cpefb-captcha-img\" \/>\n                <button type=\"button\" class=\"cpefb-captcha-refresh\" onclick=\"cp_easyform_refreshCaptcha('_1');\" title=\"Generate a new code\" aria-label=\"Generate a new security code\">\n                    <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"\/><path d=\"M3 3v5h5\"\/><path d=\"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16\"\/><path d=\"M16 16h5v5\"\/><\/svg>\n                    <span>Refresh<\/span>\n                <\/button>\n            <\/div>\n            <label for=\"hdcaptchaefb_1\" class=\"cpefb-captcha-label\">Security Code:<\/label>\n            <div class=\"dfield\">\n                <input type=\"text\" class=\"cpefb-captcha-input\" size=\"20\" name=\"hdcaptchaefb\" id=\"hdcaptchaefb_1\" value=\"\" autocomplete=\"off\" autocapitalize=\"none\" spellcheck=\"false\" placeholder=\"Type the letters shown above\" \/>\n                <div class=\"cpefb_error message\" id=\"hdcaptchaefb_error_1\" generated=\"true\" style=\"display:none;\">Please enter a valid captcha code.<\/div>\n            <\/div>\n        <\/div>\n        <\/div>\n    <div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Submit<\/div>\n    <div class=\"clearer\"><\/div>\n<\/form>\n\n<hr \/>\n<p><a class=\"twitter-timeline\" href=\"https:\/\/twitter.com\/melaniemwong\" data-widget-id=\"433360842260639744\">Tweets by @melaniemwong<\/a><br \/>\n<script>\/\/ <![CDATA[ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=\/^http:\/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\":\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\"); \/\/ ]]><\/script><\/p>\n<hr \/>\n<p>\u00a9 2019 Melanie M. Wong<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tweets by @melaniemwong \u00a9 2019 Melanie M. Wong<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"two_page_speed":[],"footnotes":""},"class_list":["post-31","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/pages\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/melaniewong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=31"}],"version-history":[{"count":32,"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/pages\/31\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/melaniewong.ca\/index.php?rest_route=\/wp\/v2\/pages\/31\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/melaniewong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}