janrain.capture.ui.handleCaptureResponse({"stat":"ok","result":{"status":"success","statusMessage":"success","transactionId":"loading","action":"load"}},function () { janrain.capture.ui.render({"screens":{"signIn":{"source":"client","layout":"signIn","screenConditionals":{"if":{"compare":"cookie:janrainLastAuthMethod","to":"socialSignin","withOperator":"==="},"then":{"render":{"screen":"returnSocial"}},"else":{"if":{"compare":"cookie:janrainLastAuthMethod","to":"traditionalSignin","withOperator":"==="},"then":{"render":{"screen":"returnTraditional"}}}},"modal":true},"changePassword":{"source":"client","layout":"changePassword","modal":true},"resetPasswordSuccess":{"source":"client","layout":"resetPasswordSuccess","modal":true},"traditionalAuthenticateMerge":{"source":"client","layout":"traditionalAuthenticateMerge","modal":true,"type":"traditionalMergeAccounts"},"resetPasswordRequestCode":{"next":{"type":"server","render":{"screen":"resetPassword"}},"source":"client","layout":"resetPasswordRequestCode","modalLoadOnLoad":true,"modal":true,"dataType":"changePasswordLink","messages":{"errors":{"invalidForgotPasswordCode":"That code is invalid"}}},"termsAgreement":{"postLogin":{"versionKey":"terms_version"},"source":"client","layout":"termsAgreement","modal":true},"verifyEmail":{"next":{"type":"server","render":{"screen":"verifyEmailSuccess"}},"source":"client","layout":"verifyEmail","modalLoadOnLoad":true,"modal":true,"dataType":"verifyEmail"},"emailVerificationNotification":{"postLogin":{"trigger":{"blank":"emailVerified"}},"source":"client","layout":"emailVerificationNotification","modal":true,"displayData":["email"]},"verifyEmailSuccess":{"source":"client","layout":"verifyEmailSuccess","modalLoadOnLoad":true,"modal":true},"forgotPassword":{"source":"client","layout":"forgotPassword","modal":true},"resetPasswordRequestCodeSuccess":{"source":"client","layout":"resetPasswordRequestCodeSuccess","modal":true},"mergeAccounts":{"source":"client","layout":"mergeAccounts","modal":true,"type":"mergeAccounts"},"socialRegistration":{"source":"client","layout":"socialRegistration","modal":true,"validateOnRender":true},"resendVerification":{"source":"client","layout":"resendVerification","modalLoadOnLoad":true,"modal":true},"traditionalRegistration":{"source":"client","layout":"traditionalRegistration","modal":true,"validateOnRender":true},"editProfile":{"hasUserData":true,"source":"client","layout":"editProfile","modal":false},"returnSocial":{"source":"client","layout":"returnSocial","modal":true},"resendVerificationSuccess":{"source":"client","layout":"resendVerificationSuccess","modal":true},"returnTraditional":{"source":"client","layout":"returnTraditional","modal":true},"confirmAccountDeactivation":{"source":"client","layout":"confirmAccountDeactivation","modal":true},"forgotPasswordSuccess":{"source":"client","layout":"forgotPasswordSuccess","modal":true},"accountDeactivated":{"source":"client","layout":"accountDeactivated","modal":true},"resetPassword":{"source":"client","layout":"resetPassword","modalLoadOnLoad":true,"modal":true}},"controls":{"resendVerificationEmail":{"if":{"compare":"emailVerified","to":null,"withOperator":"=="},"then":{"sendMail":{"mail":"registrationVerification"}},"type":"server"}},"userData":["email","displayName","givenName"],"postLogin":{"screenOrder":["emailVerificationNotification","termsAgreement"]},"mails":{"emailAddressChanged":{"failure":{"statusMessage":"Failed to send email","reset":true},"htmlBody":"\u003cp\u003e\nHi {*#user*}{*givenName*}{*/user*},\n\n  Thank you for updating your email. You must verify your new address to complete this change. Please click on the URL below or paste it into a browser.\n\u003c/p\u003e\n\u003cp\u003e\n\u003ca href=\u0022{*email_verification_url*}\u0022\u003e{*email_verification_url*}\u003c/a\u003e\n\u003c/p\u003e\n {*#settings*}{*&site_name*}{*/settings*}\n","subject":"Please verify your new email for The Atlantic","success":{"statusMessage":"Successfully sent email"},"type":"resend_email_verification","textBody":"Hi {*#user*}{*&givenName*}{*/user*},\n\nThank you for updating your email. You must verify your new address to complete this change. Please click on the URL below or paste it into a browser.\n\n{*&email_verification_url*}\n\n{*#settings*}{*&site_name*}{*/settings*}"},"registrationVerification":{"failure":{"statusMessage":"Failed to send email","deleteUser":true},"htmlBody":"\u003cp\u003e\nHi {*#user*}{*&givenName*}{*/user*},\n\nWelcome to {*#settings*}{*site_name*}{*/settings*}. You must verify your email to complete your new registration. Please click on the URL below or paste it into a browser.\n\u003c/p\u003e\n\u003cp\u003e\n\u003ca href=\u0022{*email_verification_url*}\u0022\u003e{*email_verification_url*}\u003c/a\u003e\n\u003c/p\u003e\n {*#settings*}{*&site_name*}{*/settings*}\n","subject":"Please complete your online registration with The Atlantic","success":{"statusMessage":"Successfully sent email"},"type":"new_email_verification","textBody":"Hi {*#user*}{*&givenName*}{*/user*},\n\nWelcome to {*#settings*}{*&site_name*}{*/settings*}. You must verify your email to complete your new registration. Please click on the URL below or paste it into a browser.\n\n{*&email_verification_url*}\n {*#settings*}{*&site_name*}{*/settings*}\n"},"passwordRecover":{"failure":{"statusMessage":"Failed to send email"},"htmlBody":"\u003cp\u003e\nHi {*#user*}{*&givenName*}{*/user*},\n\u003c/p\u003e\n\u003cp\u003e\nWe received a request to reset the password associated with this email address. To create a new password, please click on the link below or paste it into a browser.\n\u003c/p\u003e\n\u003cp\u003e\n\u003ca href=\u0022{*password_recover_url*}\u0022\u003eReset Password.\n\u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\nIf you did not request to have your password reset, you can safely ignore this email.\n\u003c/p\u003e\n\u003cp\u003e\nRest assured that your customer account is safe.\n\u003c/p\u003e\n\u003cp\u003e\n{*#settings*}{*site_name*}{*/settings*}\n\u003c/p\u003e\n","subject":"Reset your password for The Atlantic","success":{"statusMessage":"Successfully sent email"},"type":"password_recover","textBody":"Hi {*#user*}{*&givenName*}{*/user*},\n\nWe received a request to reset the password associated with this email address. To create a new password, please click on the link below or paste it into a browser.\n\n{*&password_recover_url*}\n\nIf you did not request to have your password reset, you can safely ignore this email.\n\nRest assured that your customer account is safe.\n\n{*#settings*}{*&site_name*}{*/settings*}\n"}},"version":"838e8827-0719-4abd-bbdc-5feacaf30ea7","defaultScreen":"signIn","name":"registration flow","fields":{"changePasswordForm":{"next":{"type":"server","render":{"screen":"editProfile"}},"fields":["newPassword","newPasswordConfirm"],"authFields":["currentPassword"],"element":"form","action":"widget/profile.jsonp","messages":{"errors":{"invalidCredentials":"Current password is incorrect. Try again."}}},"photoManager":{"customText":{"editPhotoButtonTextPhotoManager":"Save","editProfilePhotoTitlePhotoManager":"Profile Photo","uploadNextStepInstructionPhotoManager":"","uploadPhotoButtonTextPhotoManager":"Upload","chooseDifferentPhotoLinkPhotoManager":"Choose a different photo","editProfileInstructionPhotoManager":"Select a region of the image to use for your photo","profilePhotoTitlePhotoManager":"Profile Photo","editPhotoPreviewTitlePhotoManager":"","chooseNewPhotoLinkPhotoManager":"Choose new photo","editPhotoLinkPhotoManager":"Edit photo","uploadNewPhotoInstructionPhotoManager":"","removePhotoButtonTextPhotoManager":"Remove","removePhotoCancelButtonTextPhotoManager":"Cancel","removePhotoLinkPhotoManager":"Remove photo"},"schemaId":"photos","element":"capture","validation":{"validFileTypes":["image/jpeg","image/gif","image/jpg","image/png"],"messages":{"validFileTypes":"You may only upload a .jpg, .gif or .png"}},"type":"photoManager"},"cds_email":{"schemaId":"cds.email","element":"data","type":"string"},"socialRegistrationForm":{"next":{"if":{"compare":"emailVerified","to":null,"withOperator":"=="},"then":{"sendMail":{"mail":"registrationVerification"}},"type":"server"},"fields":["firstName","lastName","addressPostalCode","emailAddress","displayName"],"element":"form","action":"widget/social_register.jsonp"},"resendVerificationForm":{"next":{"if":{"compare":"emailVerified","to":null,"withOperator":"!="},"then":{"error":{"message":"Your email is already verified. You may sign in.","render":{"screen":"verifyEmail"}}},"else":{"sendMail":{"mail":"registrationVerification"},"render":{"screen":"resendVerificationSuccess"}},"type":"server"},"fields":["signInEmailAddress"],"element":"form","action":"widget/verify_email.jsonp","messages":{"errors":{"invalidCredentials":"We don\u0027t recognize that email address. Try again."}}},"birthdate":{"format":["month","day","year"],"schemaId":"birthday","label":"Birthdate","element":"capture","validation":{"isDate":true,"minYears":16,"messages":{"isDate":"This is not a valid date","minYears":"You\u0027re too young"}},"type":"dateselect"},"linkAccountContainer":{"element":"div"},"addressPostalCode":{"placeholder":"","schemaId":"primaryAddress.zip","label":"Postal Code","element":"input","validation":{"required":true,"messages":{"required":"Postal Code is required."}},"type":"text","tip":""},"forgotPasswordForm":{"next":{"if":{"compare":"password","to":null,"withOperator":"=="},"then":{"error":{"message":"that account is social signin only"}},"else":{"sendMail":{"mail":"passwordRecover"},"render":{"screen":"forgotPasswordSuccess"}},"type":"server"},"fields":["signInEmailAddress"],"element":"form","action":"widget/recover_password.jsonp","messages":{"errors":{"rateLimitExceeded":"Too many failed password recovery attempts. Please try again later.","invalidIdentifier":"No account with that email address."}},"checkIdentifier":true},"currentPassword":{"placeholder":"","schemaId":"password","label":"Current Password","element":"input","validation":{"required":true,"messages":{"required":"Password is required."}},"type":"password"},"changePasswordFormNoAuth":{"next":{"type":"server","render":{"screen":"resetPasswordSuccess"}},"fields":["newPassword","newPasswordConfirm"],"element":"form","action":"widget/profile.jsonp"},"addressStreetAddress2":{"placeholder":"","schemaId":"primaryAddress.address2","label":"Street Address 2","element":"input","type":"text","tip":""},"welcomeName":{"element":"data","cookieName":"welcome_info_name","type":"engageCookie"},"acceptTerms":{"label":"I am over the age of 13 and I agree to the \u003ca href=\u0022http://www.theatlantic.com/terms-and-conditions/\u0022\u003eterms\u003c/a\u003e of this site.","element":"input","validation":{"required":true,"messages":{"required":"Required."}},"type":"checkbox"},"mergeAccounts":{"traditionalMergeScreen":"traditionalAuthenticateMerge","engageData":{"current_displayName":"profile.displayName","current_provider":"profile.providerName","current_emailAddress":"profile.verifiedEmail","current_photo":"profile.photo"},"customText":{"moreInfo":"More Info ?","createButton":"Create","connectRadio":"Connect this session with your existing account","foundExistingAccount":"We found an existing account for","connectButton":"Connect","moreInfoHover":"You\u0027re seeing this screen because you\u0027ve registered with us previously.","createRadio":"Create a new account using","connectLegacyRadio":"Connect this session with your existing account. You will need to sign in to your existing account to claim it."},"schemaId":{"existing_provider_displayName":"profiles.profile.displayName","existing_displayName":"displayName","existing_siteName":"profiles.domain","existing_createdDate":"created","existing_provider":"profiles.identifier","existing_emailAddress":"email","existing_provider_photo":"profiles.profile.photos","existing_provider_emailAddress":"profiles.profile.emails","existing_photo":"photos"},"element":"capture","type":"mergeAccounts"},"signInForm":{"fields":["signInEmailAddress","currentPassword"],"element":"form","action":"widget/traditional_signin.jsonp","messages":{"errors":{"invalidPassword":"Incorrect username or password. Try again.","rateLimitExceeded":"Too many failed login attempts. Please try again later.","invalidCredentials":"Incorrect username or password. Try again."}}},"gender":{"options":[{"disabled":true,"value":"","text":"--"},{"value":"Not Specified","text":"Not Specified"},{"value":"male","text":"Male"},{"value":"female","text":"Female"}],"schemaId":"gender","label":"Gender","element":"select"},"deactivateAccountForm":{"element":"form","action":"widget/deactivate_account.jsonp"},"registrationForm":{"next":{"if":{"compare":"emailVerified","to":null,"withOperator":"=="},"then":{"sendMail":{"mail":"registrationVerification"}},"type":"server"},"fields":["firstName","lastName","addressPostalCode","emailAddress","displayName","newPassword","newPasswordConfirm"],"element":"form","action":"widget/traditional_register.jsonp"},"cds_lastSynced":{"schemaId":"cds.lastSynced","element":"data","type":"string"},"resetPasswordForm":{"next":{"if":{"compare":"password","to":null,"withOperator":"=="},"then":{"error":{"message":"That account is social signin only"}},"else":{"sendMail":{"mail":"passwordRecover"},"render":{"screen":"resetPasswordRequestCodeSuccess"}},"type":"server"},"fields":["signInEmailAddress"],"element":"form","action":"widget/recover_password.jsonp","messages":{"errors":{"rateLimitExceeded":"Too many failed password recovery attempts. Please try again later.","invalidIdentifier":"No account with that email address."}},"checkIdentifier":true},"cds_name":{"schemaId":"cds.name","element":"data","type":"string"},"phone":{"placeholder":"","schemaId":"primaryAddress.phone","label":"Phone","element":"input","type":"text"},"cds_accountNumber":{"schemaId":"cds.accountNumber","element":"data","type":"string"},"addressCity":{"placeholder":"","schemaId":"primaryAddress.city","label":"City","element":"input","type":"text","tip":""},"editProfileForm":{"next":{"if":{"becameUnverified":true},"then":{"sendMail":{"mail":"emailAddressChanged"},"render":{"screen":"editProfile"}},"else":{"render":{"screen":"editProfile"}},"type":"server"},"fields":["firstName","lastName","gender","birthdate","displayName","emailAddress","phone","addressStreetAddress1","addressStreetAddress2","addressCity","addressPostalCode","addressState","addressCountry"],"element":"form","action":"widget/profile.jsonp"},"newPasswordConfirm":{"placeholder":"","schemaId":"password","label":"Confirm New Password","element":"input","validation":{"required":true,"match":"newPassword","messages":{"required":"Password is required.","match":"Passwords do not match."}},"type":"password","tip":""},"addressState":{"schemaId":"primaryAddress.stateAbbreviation","label":"State","element":"capture","type":"stateSelect","tip":""},"signInEmailAddress":{"placeholder":"","schemaId":"email","label":"Email Address","element":"input","validation":{"required":true,"format":"email","messages":{"required":"Email address is required.","format":"Email address is not formatted correctly."}},"type":"email"},"addressCountry":{"schemaId":"primaryAddress.country","label":"Country","element":"capture","value":"United States","type":"countrySelect","tip":""},"linkedAccounts":{"linkAccountContainer":"linkAccountContainer","customText":{"linkAnotherAccount":"Link account"},"schemaId":{"displayNames":"profiles.profile.displayName","identifiers":"profiles.identifier"},"displayFormat":"{| provider |}","element":"capture","type":"linkAccounts","messages":{"errors":{"linkError":"That account is already in use."}},"displayFormatKnown":"{| displayName |}"},"newPassword":{"elementAttributes":{"autocomplete":"off"},"placeholder":"","schemaId":"password","label":"New Password","element":"input","validation":{"required":true,"minLength":6,"messages":{"required":"Password is required.","minLength":"Must be at least 6 characters"}},"type":"password","tip":""},"resendLink":{"elementAttributes":{"data-capturecontrol":"resendVerificationEmail"},"elementHref":"#","displayCondition":{"compare":"emailVerified","to":null,"withOperator":"=="},"element":"anchor","elementText":"Resend confirmation email"},"addressStreetAddress1":{"placeholder":"","schemaId":"primaryAddress.address1","label":"Street Address","element":"input","type":"text","tip":""},"termsAgreementForm":{"fields":[],"element":"form","action":"widget/post_login_confirmation.jsonp"},"displayName":{"engageData":"profile.displayName","placeholder":"","schemaId":"displayName","label":"Display Name","element":"input","validation":{"required":true,"unique":true,"messages":{"required":"Display name is required.","unique":"That display name is already taken."}},"type":"text","tip":""},"firstName":{"engageData":"profile.name.givenName","placeholder":"","schemaId":"givenName","label":"First Name","element":"input","validation":{"required":true,"messages":{"required":"First name is required."}},"type":"text","tip":""},"lastName":{"engageData":"profile.name.familyName","placeholder":"","schemaId":"familyName","label":"Last Name","element":"input","validation":{"required":true,"messages":{"required":"Last name is required."}},"type":"text","tip":""},"emailAddress":{"engageData":"profile.email","placeholder":"","schemaId":"email","label":"Email Address","element":"input","validation":{"required":true,"minLength":3,"unique":true,"format":"email","maxLength":128,"messages":{"required":"Email address is required.","minLength":"Must be at least 3 characters.","unique":"Email address is already being used.","format":"Email address is not formatted correctly.","maxLength":"Cannot be more than 128 characters."}},"type":"email","tip":""},"emailAddressData":{"schemaId":"email","element":"data","type":"string","justString":true}},"authProfileData":["name","verifiedEmail","identifier"],"engageMapping":{"familyName":{"origin":"profile.name.familyName","when":["thinSocialRegistration"]},"friends":{"origin":"friends","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","profileUpdate"]},"identifier":{"origin":"profile.identifier","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","profileUpdate"]},"domain":{"origin":"profile.identifier","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","profileUpdate"],"process":"domainFromIdentifier"},"photos":{"origin":"merged_poco.photos","when":["thinSocialRegistration","socialRegistration"],"process":"normalizeProfilePhoto"},"email":{"origin":"profile.email","when":["thinSocialRegistration"]},"givenName":{"origin":"profile.name.givenName","when":["thinSocialRegistration"]},"accessCredentials":{"origin":"accessCredentials","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","engageUpdate","profileUpdate"]},"following":{"origin":"following","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","profileUpdate"]},"profile":{"origin":"merged_poco","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","engageUpdate","profileUpdate"]},"displayName":{"origin":"profile.displayName","when":["thinSocialRegistration"]},"followers":{"origin":"followers","plural":"profiles","when":["thinSocialRegistration","socialRegistration","addSignin","profileUpdate"]}},"i18nStrings":{"invalidForgotPasswordCode":"That code is invalid.","confirmRemoveLinkedMessage":"Are you sure you want to remove this linked account?","invalidPassword":"Incorrect password. Try again.","humanReadableGenericErrorMessage":"Error displaying information","registrationRateLimitExceeded":"Too many registration attempts. Please try again later.","invalidImageFormatError":"Not an image file.","unexpectedError":"An unexpected internal error has occurred; we are notified when this occurs.","confirmRemoveLinkedYesText":"Yes","modalConfirmText":"Are you sure you want to quit?","modalConfirmLinkText":"Yes, quit","confirmRemoveLinkedNoText":"Cancel","invalidCredentials":"Incorrect username or password. Try again.","validatingText":"Validating","accessDenied":"Sorry. Access denied.","processing":"Processing","linkError":"That account is already in use.","modalCancelLinkText":"No, stay","savedProfileMessage":"Your profile has been saved.","confirmRemoveLinkedTitle":"Remove Linked Account?","retrievingUserData":"Please wait while we retrieve your user data.","invalidIdentifier":"No account with that email address."},"schema_info":{"paths":{"post_login_confirmation":"post_login_confirmation","accounts_plural":"profiles","identifier":"profiles.identifier","photo_plural":"photos","deactivated_account":"deactivateAccount","password":"password","name":"displayName","email":"email","public_display":"display","account_emails":"profile.emails","photo_url_sub":"value","created":"created","public_profile_key":"displayName","email_verified":"emailVerified"}},"computedFields":{"termsAgreement":{"plural":[{"compute":"object","attributes":{"approved_at":{"compute":"dateTime.now"},"version":{"setting":"terms_version","compute":"setting"},"screen_name":{"compute":"literal","value":"termsAgreement"},"client_id":{"compute":"clientId"}}}],"compute":"plural","schemaId":"post_login_confirmation","forms":["registrationForm","socialRegistrationForm"]},"lastLogin":{"compute":"dateTime.now","schemaId":"lastLogin","when":["socialSignIn","socialRegistration","thinSocialRegistration","traditionalRegistration","traditionalSignin"]}}}); });