!function(){function e(){"undefined"==typeof jQuery||"undefined"==typeof Prototype?setTimeout(e,50):(jQuery.ajax({url:"http://"+assetsBase+"/javascript/site/placeholder_labels.js",dataType:"script"}),jQuery.ajax({url:"http://"+productionBase+"/weebly/libraries/weebly_ensure_account.js",dataType:"script",success:t,fail:e}))}function t(){var e=jQuery("#weebly-name");if("undefined"==typeof Weebly||!Weebly.login||!jQuery.fn.placeholder_labels)return setTimeout(t,50);jQuery(window).on("message",function(t){"expanded"==t.originalEvent.data&&e.focus()}),jQuery("#weebly-footer-signup input[placeholder]").placeholder_labels(),window.DISABLE_SIGNUP_CAPTCHA=!0;var i=new Weebly.login({signup_form:"weebly-footer-signup",require_tos_check:!1,suggest_email:!0,submit_form_onSuccess:!0,signup_name_field:"weebly-name",email_is_username:!0,signup_only:!0,signup_error_handler:function(e,t){var n;i.params.hide_signup_error(),n=jQuery(void 0==t?"#weebly-footer-signup #signup-button:visible":t),void 0!=t&&n.addClass("error"),n.next(".error-text").html(e)},hide_signup_error:function(){jQuery("#weebly-footer-signup .error-text").html("").prev("input").removeClass("error")},showSignup:function(){i.params.hide_signup_error(),e.focus()},hideSignup:function(){i.params.hide_signup_error()},onLoadingStart:function(){},onLoadingStop:function(){},onLoginInstead:function(){i.params.signup_error_handler("This email address has already been used.",jQuery("#weebly-email"))},onSignupSuccess:function(){window.top.location.href="/weebly/userHome.php"},urlBase:"http://"+productionBase})}_wAMD={define:function(){}},window.waitForDependencies=e}(),_wAMD.define("site/footerSignupFrame",function(){});