<%= stylesheet(
'admin.css'
)%>
<%= do_action('mailpoet_styles_admin_after') %>
<% if is_rtl() %>
<%= stylesheet('rtl.css') %>
<% endif %>
<% block after_css %><% endblock %>
<%= javascript(
'vendor.js',
'mailpoet.js'
)%>
<%= localize({
'ajaxFailedErrorMessage': __('An error has happened while performing a request, the server has responded with response code %d'),
'senderEmailAddressWarning1': _x('You might not reach the inbox of your subscribers if you use this email address.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'),
'senderEmailAddressWarning2': _x('Use an address like %1$s for the Sender and put %2$s in the Reply-to field below.', 'In the last step, before sending a newsletter. URL: ?page=mailpoet-newsletters#/send/2'),
'senderEmailAddressWarning3': _x('Read more.'),
'mailerSendingResumedNotice': __('Sending has been resumed.'),
'spfCheckTitle': _x('Oops! You might not receive your own emails.', 'DNS SPF Record check'),
'spfCheckMsgWhy': _x("Why? You have an SPF entry for %s, but it's incomplete.", 'DNS SPF Record check'),
'spfCheckMsgEdit': _x('If you send with MailPoet, edit the SPF record in your DNS and add %s to it, so it looks like this:', 'DNS SPF Record check'),
'spfCheckMsgAllow': _x('This will allow MailPoet to send emails from %s addresses.', 'DNS SPF Record check'),
'spfCheckReadMore': _x('Read more about SPF', 'DNS SPF Record check'),
}) %>
<% block translations %><% endblock %>
<% block after_translations %><% endblock %>
<%= javascript(
'admin_vendor_chunk.js',
'admin_vendor.js'
)%>
<%= do_action('mailpoet_scripts_admin_before') %>
<%= javascript(
'admin.js'
)%>
<%= javascript('lib/analytics.js') %>
<% set has_valid_premium_key = mailpoet_has_valid_premium_key() %>
<% set helpscout_form_id = '1c666cab-c0f6-4614-bc06-e5d0ad78db2b' %>
<%if has_valid_premium_key %>
<% set helpscout_form_id = 'e93d0423-1fa6-4bbc-9df9-c174f823c35f' %>
<% endif %>
<% block after_javascript %><% endblock %>