Google Authenticator – WordPress Two Factor Authentication (2FA) - Version 5.5.82

Version Description

  • Google Authenticator - Two factor Authentication (2FA, OTP) :
  • OTP over SMS bug fix in setup wizard
  • Updated Trial Request form
Download this release

Release Info

Developer abhishek99rana
Plugin Icon 128x128 Google Authenticator – WordPress Two Factor Authentication (2FA)
Version 5.5.82
Comparing to
See all releases

Code changes from version 5.5.81 to 5.5.82

controllers/trial.php CHANGED
@@ -26,13 +26,22 @@
26
  $email = isset($post['mo2f_trial_email'])? sanitize_email($post['mo2f_trial_email']) : NULL;
27
  $phone = isset($post['mo2f_trial_phone'])? sanitize_text_field($post['mo2f_trial_phone']) : ( $user_phone ? $user_phone : NULL );
28
  $trial_plan = isset($post['mo2f_trial_plan'])? sanitize_text_field($post['mo2f_trial_plan']): NULL;
29
-
30
- if(get_site_option('mo2f_trial_query_sent')){
 
 
 
 
 
 
 
 
 
31
  do_action('wpns_show_message',MoWpnsMessages::showMessage('TRIAL_REQUEST_ALREADY_SENT'),'ERROR');
32
  return;
33
  }
34
 
35
- if(empty($email) || empty($phone) || empty($trial_plan))
36
  {
37
  do_action('wpns_show_message',MoWpnsMessages::showMessage('REQUIRED_FIELDS'),'ERROR');
38
  return;
@@ -41,6 +50,10 @@
41
  do_action('wpns_show_message',MoWpnsMessages::showMessage('INVALID_PHONE'),'ERROR');
42
  return;
43
  }
 
 
 
 
44
  else{
45
  $email = filter_var( $email,FILTER_VALIDATE_EMAIL );
46
  $phone = preg_replace('/[^0-9]/', '', $phone);
@@ -49,7 +62,10 @@
49
  $query .= ' [ Plan Name => ';
50
  $query .= $trial_plan;
51
  $query .= ' | Email => ';
52
- $query .= get_option('mo2f_email').' ]';
 
 
 
53
  $current_user = wp_get_current_user();
54
 
55
 
26
  $email = isset($post['mo2f_trial_email'])? sanitize_email($post['mo2f_trial_email']) : NULL;
27
  $phone = isset($post['mo2f_trial_phone'])? sanitize_text_field($post['mo2f_trial_phone']) : ( $user_phone ? $user_phone : NULL );
28
  $trial_plan = isset($post['mo2f_trial_plan'])? sanitize_text_field($post['mo2f_trial_plan']): NULL;
29
+ $authentication_method = isset($post['mo2f_authentication_method'])? sanitize_text_field($post['mo2f_authentication_method']): NULL;
30
+ for($i = 1; $i <= 3; $i++) {
31
+ if(isset( $post[ 'mo2f_number_of_users_' . $i ] ) && !empty($post[ 'mo2f_number_of_users_' . $i ]) || isset( $post[ 'mo2f_number_of_sites_' . $i ]) && !empty($post[ 'mo2f_number_of_sites_' . $i ])){
32
+
33
+ $number_of_users = isset( $post[ 'mo2f_number_of_users_' . $i ] ) ? intval( $post[ 'mo2f_number_of_users_' . $i ] ) : NULL;
34
+ $number_of_sites = isset( $post[ 'mo2f_number_of_sites_' . $i ] ) ? intval( $post[ 'mo2f_number_of_sites_' . $i ] ) : NULL;
35
+ break;
36
+ }
37
+ }
38
+
39
+ if(get_site_option('mo2f_trial_query_sent')){
40
  do_action('wpns_show_message',MoWpnsMessages::showMessage('TRIAL_REQUEST_ALREADY_SENT'),'ERROR');
41
  return;
42
  }
43
 
44
+ if(empty($email) || empty($phone) || empty($trial_plan) )
45
  {
46
  do_action('wpns_show_message',MoWpnsMessages::showMessage('REQUIRED_FIELDS'),'ERROR');
47
  return;
50
  do_action('wpns_show_message',MoWpnsMessages::showMessage('INVALID_PHONE'),'ERROR');
51
  return;
52
  }
53
+ if(!is_null($number_of_users) && ($number_of_users <= 0 || !is_int($number_of_users)) || !is_null($number_of_sites) && ($number_of_sites <= 0 || !is_int($number_of_sites))) {
54
+ do_action('wpns_show_message',MoWpnsMessages::showMessage('INVALID_INPUT'),'ERROR');
55
+ return;
56
+ }
57
  else{
58
  $email = filter_var( $email,FILTER_VALIDATE_EMAIL );
59
  $phone = preg_replace('/[^0-9]/', '', $phone);
62
  $query .= ' [ Plan Name => ';
63
  $query .= $trial_plan;
64
  $query .= ' | Email => ';
65
+ $query .= get_option('mo2f_email');
66
+ $query .= ' | Users/Sites => ';
67
+ $query .= ($number_of_users ?: 'NA') . '/' . ($number_of_sites ?: 'NA');
68
+ $query .= ' | Method => ' . $authentication_method . ' ]';
69
  $current_user = wp_get_current_user();
70
 
71
 
controllers/twofa/two_factor_ajax.php CHANGED
@@ -50,6 +50,9 @@ class mo_2f_ajax
50
  case 'select_method_setup_wizard':
51
  $this->mo2f_select_method_setup_wizard();
52
  break;
 
 
 
53
  case 'mo_wpns_register_verify_customer':
54
  $this->mo_wpns_register_verify_customer();
55
  break;
@@ -136,34 +139,38 @@ class mo_2f_ajax
136
  function mo_2fa_send_otp_token()
137
  {
138
  $enduser = new Customer_Setup();
139
- $email = sanitize_email($_POST['phone']);
140
  $customer_key = get_site_option('mo2f_customerKey');
141
  $api_key = get_site_option('mo2f_api_key');
142
  $selected_2FA_method = sanitize_text_field($_POST['selected_2FA_method']);
143
  $user_id = wp_get_current_user()->ID;
144
-
145
  if($selected_2FA_method == 'OTP Over Email')
146
  {
147
- update_user_meta($user_id,'tempRegEmail',$email);
148
- if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
 
149
  $emailErr = "Invalid email format";
150
  echo $emailErr;
151
  exit;
152
  }
153
  }
154
- else if($selected_2FA_method == 'OTP Over SMS')
155
  {
156
-
 
157
  }
158
- $content = $enduser->send_otp_token($email,$selected_2FA_method,$customer_key,$api_key);
159
  $content = json_decode($content);
160
 
161
  if($content->status =='SUCCESS')
162
  {
163
  echo 'SUCCESS';
164
  update_user_meta($user_id,'txId',$content->txId);
165
- update_user_meta($user_id,'tempRegPhone',$email);
166
  exit;
 
 
 
167
  }
168
  else
169
  echo "An error has occured while sending the OTP.";
@@ -276,7 +283,8 @@ class mo_2f_ajax
276
  include_once $path;
277
  $obj_google_auth = new Google_auth_onpremise();
278
  update_option('mo2f_google_appname',sanitize_text_field($_SERVER['SERVER_NAME']));
279
- $res = $obj_google_auth->mo_GAuth_get_details(true);
 
280
  return $res;
281
  }
282
  function mo_2fa_configure_OTPOverSMS_setup_wizard()
@@ -286,7 +294,7 @@ class mo_2f_ajax
286
  $mo2f_user_phone = $Mo2fdbQueries->get_user_detail( 'mo2f_user_phone', $user->ID );
287
  $user_phone = $mo2f_user_phone ? $mo2f_user_phone : get_option( 'user_phone_temp' );
288
  $session_id_encrypt = MO2f_Utility::random_str(20);
289
-
290
  ?>
291
  <h4 style="padding:10px; background-color: #a7c5eb;font-weight:normal"> Remaining SMS Transactions: <b><?php echo intval(esc_html(get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z')));?> </b></h4>
292
  <form name="f" method="post" action="" id="mo2f_verifyphone_form">
@@ -296,7 +304,7 @@ class mo_2f_ajax
296
  value="<?php echo esc_html(wp_create_nonce( "mo2f-configure-otp-over-sms-send-otp-nonce" )) ?>"/>
297
 
298
  <div style="display:inline;">
299
- <input class="mo2f_table_textbox_phone" style="width:200px;height: 30px;" type="text" name="phone" id="phone"
300
  value="<?php echo esc_html($user_phone) ?>" pattern="[\+]?[0-9]{1,4}\s?[0-9]{7,12}"
301
  title="<?php echo mo2f_lt( 'Enter phone number without any space or dashes' ); ?>"/><br>
302
  <input type="button" name="mo2f_send_otp" id="mo2f_send_otp" class="miniorange_button"
@@ -322,6 +330,7 @@ class mo_2f_ajax
322
  {
323
  $session_id_encrypt = MO2f_Utility::random_str(20);
324
  $user_email = wp_get_current_user()->user_email;
 
325
  ?>
326
  <h4 style="padding:10px; background-color: #f1f3f5"> Remaining Email Transactions: <b><?php echo intval(esc_html(get_site_option('cmVtYWluaW5nT1RQ')));?> </b></h4>
327
  <form name="f" method="post" action="" id="mo2f_verifyemail_form">
@@ -332,7 +341,7 @@ class mo_2f_ajax
332
 
333
  <div style="display:inline;">
334
  <b>Email Address: </b>
335
- <input class="mo2f_table_textbox" style="width:280px;height: 30px;" type="email" name="verify_phone" id="phone"
336
  value="<?php echo esc_html($user_email) ?>"
337
  title="<?php echo mo2f_lt( 'Enter your email address without any space or dashes' ); ?>"/><br><br>
338
  <input type="button" name="mo2f_send_otp" id="mo2f_send_otp" class="miniorange_button"
@@ -356,6 +365,7 @@ class mo_2f_ajax
356
  }
357
  function mo_2fa_configure_KBA_setup_wizard()
358
  {
 
359
  ?>
360
  <div class="mo2f_kba_header"><?php echo mo2f_lt( 'Please choose 3 questions' ); ?></div>
361
  <br>
@@ -680,7 +690,7 @@ class mo_2f_ajax
680
 
681
  $current_user = wp_get_current_user();
682
  $selected_2FA_method = sanitize_text_field($_POST['mo2f_method']);
683
-
684
  if(!MO2F_IS_ONPREM)
685
  {
686
  update_option('mo_2factor_user_registration_status','REGISTRATION_STARTED');
@@ -711,6 +721,22 @@ class mo_2f_ajax
711
  update_user_meta( $current_user->ID, 'configure_2FA', 1);
712
  wp_send_json("SUCCESS");
713
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
714
  function mo2f_set_miniorange_methods(){
715
  $nonce = sanitize_text_field($_POST['nonce']);
716
  if ( ! wp_verify_nonce( $nonce, 'mo2f-update-mobile-nonce' ) ) {
50
  case 'select_method_setup_wizard':
51
  $this->mo2f_select_method_setup_wizard();
52
  break;
53
+ case 'mo2f_skiptwofactor_wizard':
54
+ $this->mo2f_skiptwofactor_wizard();
55
+ break;
56
  case 'mo_wpns_register_verify_customer':
57
  $this->mo_wpns_register_verify_customer();
58
  break;
139
  function mo_2fa_send_otp_token()
140
  {
141
  $enduser = new Customer_Setup();
 
142
  $customer_key = get_site_option('mo2f_customerKey');
143
  $api_key = get_site_option('mo2f_api_key');
144
  $selected_2FA_method = sanitize_text_field($_POST['selected_2FA_method']);
145
  $user_id = wp_get_current_user()->ID;
146
+ $contact_info = '';
147
  if($selected_2FA_method == 'OTP Over Email')
148
  {
149
+ $contact_info = sanitize_email($_POST['mo2f_contact_info']);
150
+ update_user_meta($user_id,'tempRegEmail',$contact_info);
151
+ if (!filter_var($contact_info, FILTER_VALIDATE_EMAIL)) {
152
  $emailErr = "Invalid email format";
153
  echo $emailErr;
154
  exit;
155
  }
156
  }
157
+ else if(strpos($selected_2FA_method,"SMS") !== false)
158
  {
159
+ $contact_info = sanitize_text_field($_POST['mo2f_contact_info']);
160
+ $contact_info = str_replace(' ', '', $contact_info);
161
  }
162
+ $content = $enduser->send_otp_token($contact_info,$selected_2FA_method,$customer_key,$api_key);
163
  $content = json_decode($content);
164
 
165
  if($content->status =='SUCCESS')
166
  {
167
  echo 'SUCCESS';
168
  update_user_meta($user_id,'txId',$content->txId);
169
+ update_user_meta($user_id,'tempRegPhone',$contact_info);
170
  exit;
171
+ }else if($content->status == "FAILED" && $selected_2FA_method == 'OTP Over Email')
172
+ {
173
+ wp_send_json('SMTPNOTSET');
174
  }
175
  else
176
  echo "An error has occured while sending the OTP.";
283
  include_once $path;
284
  $obj_google_auth = new Google_auth_onpremise();
285
  update_option('mo2f_google_appname',sanitize_text_field($_SERVER['SERVER_NAME']));
286
+ update_option('mo2f_wizard_selected_method', 'GA');
287
+ $res = $obj_google_auth->mo_GAuth_get_details(true);
288
  return $res;
289
  }
290
  function mo_2fa_configure_OTPOverSMS_setup_wizard()
294
  $mo2f_user_phone = $Mo2fdbQueries->get_user_detail( 'mo2f_user_phone', $user->ID );
295
  $user_phone = $mo2f_user_phone ? $mo2f_user_phone : get_option( 'user_phone_temp' );
296
  $session_id_encrypt = MO2f_Utility::random_str(20);
297
+ update_option('mo2f_wizard_selected_method', 'SMS-OTP');
298
  ?>
299
  <h4 style="padding:10px; background-color: #a7c5eb;font-weight:normal"> Remaining SMS Transactions: <b><?php echo intval(esc_html(get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z')));?> </b></h4>
300
  <form name="f" method="post" action="" id="mo2f_verifyphone_form">
304
  value="<?php echo esc_html(wp_create_nonce( "mo2f-configure-otp-over-sms-send-otp-nonce" )) ?>"/>
305
 
306
  <div style="display:inline;">
307
+ <input class="mo2f_table_textbox_phone" style="width:200px;height: 30px;" type="text" name="phone" id="mo2f_contact_info"
308
  value="<?php echo esc_html($user_phone) ?>" pattern="[\+]?[0-9]{1,4}\s?[0-9]{7,12}"
309
  title="<?php echo mo2f_lt( 'Enter phone number without any space or dashes' ); ?>"/><br>
310
  <input type="button" name="mo2f_send_otp" id="mo2f_send_otp" class="miniorange_button"
330
  {
331
  $session_id_encrypt = MO2f_Utility::random_str(20);
332
  $user_email = wp_get_current_user()->user_email;
333
+ update_option('mo2f_wizard_selected_method', 'Email-OTP');
334
  ?>
335
  <h4 style="padding:10px; background-color: #f1f3f5"> Remaining Email Transactions: <b><?php echo intval(esc_html(get_site_option('cmVtYWluaW5nT1RQ')));?> </b></h4>
336
  <form name="f" method="post" action="" id="mo2f_verifyemail_form">
341
 
342
  <div style="display:inline;">
343
  <b>Email Address: </b>
344
+ <input class="mo2f_table_textbox" style="width:280px;height: 30px;" type="email" name="verify_phone" id="mo2f_contact_info"
345
  value="<?php echo esc_html($user_email) ?>"
346
  title="<?php echo mo2f_lt( 'Enter your email address without any space or dashes' ); ?>"/><br><br>
347
  <input type="button" name="mo2f_send_otp" id="mo2f_send_otp" class="miniorange_button"
365
  }
366
  function mo_2fa_configure_KBA_setup_wizard()
367
  {
368
+ update_option('mo2f_wizard_selected_method', 'KBA');
369
  ?>
370
  <div class="mo2f_kba_header"><?php echo mo2f_lt( 'Please choose 3 questions' ); ?></div>
371
  <br>
690
 
691
  $current_user = wp_get_current_user();
692
  $selected_2FA_method = sanitize_text_field($_POST['mo2f_method']);
693
+
694
  if(!MO2F_IS_ONPREM)
695
  {
696
  update_option('mo_2factor_user_registration_status','REGISTRATION_STARTED');
721
  update_user_meta( $current_user->ID, 'configure_2FA', 1);
722
  wp_send_json("SUCCESS");
723
  }
724
+
725
+ function mo2f_skiptwofactor_wizard()
726
+ {
727
+ $nonce = sanitize_text_field($_POST['nonce']);
728
+ if ( ! wp_verify_nonce( $nonce, 'mo2fskiptwofactornonce' ) ) {
729
+ $error = new WP_Error();
730
+ $error->add( 'empty_username', '<strong>' . mo2f_lt( 'ERROR' ) . '</strong>: ' . mo2f_lt( 'Invalid Request.' ) );
731
+ wp_send_json_error($error);
732
+ exit;
733
+ } else{
734
+ $skip_wizard_2fa_stage = sanitize_text_field($_POST['twofactorskippedon']);
735
+
736
+ update_option('mo2f_wizard_skipped', $skip_wizard_2fa_stage);
737
+ }
738
+ }
739
+
740
  function mo2f_set_miniorange_methods(){
741
  $nonce = sanitize_text_field($_POST['nonce']);
742
  if ( ! wp_verify_nonce( $nonce, 'mo2f-update-mobile-nonce' ) ) {
handler/twofa/two_fa_settings.php CHANGED
@@ -1187,7 +1187,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1187
  </table>
1188
  </div>
1189
 
1190
- <br><a href="#skiptwofactor" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1191
  <br />
1192
 
1193
 
@@ -1275,7 +1275,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1275
  </form>
1276
 
1277
 
1278
- <br><a href="#skiptwofactor" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1279
  <br/>
1280
 
1281
 
@@ -1304,7 +1304,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1304
  </div>
1305
  <div id="mo2f_main_content"> </div>
1306
 
1307
- <br><a href="#skiptwofactor" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1308
  <br/>
1309
 
1310
 
@@ -1541,10 +1541,9 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1541
  'mo_2f_two_factor_ajax' : 'mo_2fa_configure_OTPOverSMS_setup_wizard'
1542
  };
1543
  jQuery.post(ajax_url, data, function(response){
1544
-
1545
  document.getElementById('mo2f_loader').style.display = "none";
1546
  document.getElementById('mo2f_main_content').innerHTML = response;
1547
- jQuery("#phone").intlTelInput();
1548
 
1549
  jQuery('#mo2f_send_otp').click(function(e){
1550
  document.getElementById('mo2f_loader').style.display = "block";
@@ -1555,7 +1554,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1555
 
1556
  var data = { 'action':'mo_two_factor_ajax',
1557
  'mo_2f_two_factor_ajax' : 'mo_2fa_send_otp_token',
1558
- 'phone' : jQuery('#phone').val(),
1559
  'selected_2FA_method' : 'SMS'
1560
  };
1561
  var ajax_url = "<?php echo admin_url('admin-ajax.php'); ?>";
@@ -1673,7 +1672,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1673
 
1674
  var data = { 'action':'mo_two_factor_ajax',
1675
  'mo_2f_two_factor_ajax' : 'mo_2fa_send_otp_token',
1676
- 'phone' : jQuery('#phone').val(),
1677
  'mo2f_session_id' : jQuery('#mo2f_session_id').val(),
1678
  'selected_2FA_method' : 'OTP Over Email'
1679
  };
@@ -1684,11 +1683,17 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1684
 
1685
  if(response == 'SUCCESS')
1686
  {
1687
- $message = 'An OTP has been sent to the below email please enter the OTP to set the 2FA';
1688
- document.getElementById('mo2f_configure_success_message').innerHTML = $message;
1689
- document.getElementById('mo2f_success_block_configuration').style.display = "block";
1690
-
1691
- }
 
 
 
 
 
 
1692
  else
1693
  {
1694
  document.getElementById('mo2f_configure_Error_message').innerHTML = response;
@@ -1775,10 +1780,78 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1775
 
1776
  });
1777
 
1778
- jQuery('a[href="#skiptwofactor"]').click(function(e){
1779
- localStorage.setItem("last_tab", 'setup_2fa');
1780
- window.location.href = '<?php echo esc_url(admin_url()."admin.php?page=mo_2fa_two_fa"); ?>';
1781
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1782
 
1783
 
1784
  </script>
@@ -1811,8 +1884,7 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1811
 
1812
  public function setup_wizard_content() {
1813
  $admin_url = is_network_admin() ? network_admin_url() : admin_url();
1814
-
1815
- $this->settings_error_page( 'mo2f-setup-vue-setup-wizard', '<a href="' . esc_url($admin_url).'admin.php?page=mo_2fa_two_fa">' . esc_html__( 'Go back to the Dashboard', 'mo2f-setup' ) . '</a>' );
1816
  $this->settings_inline_js();
1817
  }
1818
 
@@ -1836,7 +1908,6 @@ private function settings_error_page( $id = 'mo2f-setup-vue-site-settings', $foo
1836
 
1837
  do_action( 'mo2f_admin_setup_wizard_load_setup_wizard_before', $this );
1838
  wp_enqueue_script('jquery');
1839
- wp_enqueue_script('wp-mo2f-setup-wizard',plugins_url( 'includes/js/setup-wizard-2fa.js', dirname(dirname(__FILE__))));
1840
 
1841
  wp_localize_script(
1842
  'wp-mo2f-setup-wizard',
1187
  </table>
1188
  </div>
1189
 
1190
+ <br><a href="#skiptwofactor1" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1191
  <br />
1192
 
1193
 
1275
  </form>
1276
 
1277
 
1278
+ <br><a href="#skiptwofactor2" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1279
  <br/>
1280
 
1281
 
1304
  </div>
1305
  <div id="mo2f_main_content"> </div>
1306
 
1307
+ <br><a href="#skiptwofactor3" style="color:#F4D03F ;font-weight:bold;margin-left:45%;"><?php echo __('Skip Setup', 'miniorange-2-factor-authentication'); ?></a>
1308
  <br/>
1309
 
1310
 
1541
  'mo_2f_two_factor_ajax' : 'mo_2fa_configure_OTPOverSMS_setup_wizard'
1542
  };
1543
  jQuery.post(ajax_url, data, function(response){
 
1544
  document.getElementById('mo2f_loader').style.display = "none";
1545
  document.getElementById('mo2f_main_content').innerHTML = response;
1546
+ jQuery("#mo2f_contact_info").intlTelInput();
1547
 
1548
  jQuery('#mo2f_send_otp').click(function(e){
1549
  document.getElementById('mo2f_loader').style.display = "block";
1554
 
1555
  var data = { 'action':'mo_two_factor_ajax',
1556
  'mo_2f_two_factor_ajax' : 'mo_2fa_send_otp_token',
1557
+ 'mo2f_contact_info' : jQuery('#mo2f_contact_info').val(),
1558
  'selected_2FA_method' : 'SMS'
1559
  };
1560
  var ajax_url = "<?php echo admin_url('admin-ajax.php'); ?>";
1672
 
1673
  var data = { 'action':'mo_two_factor_ajax',
1674
  'mo_2f_two_factor_ajax' : 'mo_2fa_send_otp_token',
1675
+ 'mo2f_contact_info' : jQuery('#mo2f_contact_info').val(),
1676
  'mo2f_session_id' : jQuery('#mo2f_session_id').val(),
1677
  'selected_2FA_method' : 'OTP Over Email'
1678
  };
1683
 
1684
  if(response == 'SUCCESS')
1685
  {
1686
+ message = 'An OTP has been sent to the below email please enter the OTP to set the 2FA';
1687
+ document.getElementById('mo2f_configure_success_message').innerHTML = message;
1688
+ document.getElementById('mo2f_success_block_configuration').style.display = "block";
1689
+
1690
+ }
1691
+ else if(response == 'SMTPNOTSET')
1692
+ {
1693
+ message = '<i class="note">NOTE :- If you haven\'t configured SMTP, please set your SMTP to get the OTP over email.</i><a href="https://plugins.miniorange.com/setup-smtp-for-miniorange-two-factor-authentication" target="_blank"><span title="View Setup Guide" class="dashicons dashicons-text-page mo2f-setup-guide"></a></span>';
1694
+ document.getElementById('mo2f_configure_Error_message').innerHTML = message;
1695
+ document.getElementById('mo2f_Error_block_configuration').style.display = "block";
1696
+ }
1697
  else
1698
  {
1699
  document.getElementById('mo2f_configure_Error_message').innerHTML = response;
1780
 
1781
  });
1782
 
1783
+ jQuery('a[href="#skiptwofactor1"]').click(function(){
1784
+
1785
+ localStorage.setItem("last_tab", 'setup_2fa');
1786
+
1787
+ var nonce = "<?php echo esc_js(wp_create_nonce('mo2fskiptwofactornonce')); ?>";
1788
+ var skiptwofactorstage = 'first_page';
1789
+ var data= {
1790
+ 'action' : 'mo_two_factor_ajax',
1791
+ 'mo_2f_two_factor_ajax' : 'mo2f_skiptwofactor_wizard',
1792
+ 'nonce' : nonce,
1793
+ 'twofactorskippedon' : skiptwofactorstage,
1794
+ };
1795
+ var ajax_url = "<?php echo esc_url(admin_url('admin-ajax.php')); ?>";
1796
+
1797
+ jQuery.post(ajax_url, data, function(response){
1798
+ window.location.href = '<?php echo esc_url(admin_url()."admin.php?page=mo_2fa_two_fa"); ?>';
1799
+ });
1800
+
1801
+ });
1802
+ jQuery('#mo2f_go_back_to_dashboard').click(function(){
1803
+ var nonce = "<?php echo esc_js(wp_create_nonce('mo2fskiptwofactornonce')); ?>";
1804
+ var skiptwofactorstage = 'Get_started_page';
1805
+ var data= {
1806
+ 'action' : 'mo_two_factor_ajax',
1807
+ 'mo_2f_two_factor_ajax' : 'mo2f_skiptwofactor_wizard',
1808
+ 'nonce' : nonce,
1809
+ 'twofactorskippedon' : skiptwofactorstage,
1810
+ };
1811
+ var ajax_url = "<?php echo esc_url(admin_url('admin-ajax.php')); ?>";
1812
+
1813
+ jQuery.post(ajax_url, data, function(response){
1814
+ });
1815
+
1816
+ });
1817
+ jQuery('a[href="#skiptwofactor2"]').click(function(){
1818
+
1819
+ localStorage.setItem("last_tab", 'setup_2fa');
1820
+
1821
+ var nonce = "<?php echo esc_js(wp_create_nonce('mo2fskiptwofactornonce')); ?>";
1822
+ var skiptwofactorstage = 'registration/sign-in';
1823
+ var data= {
1824
+ 'action' : 'mo_two_factor_ajax',
1825
+ 'mo_2f_two_factor_ajax' : 'mo2f_skiptwofactor_wizard',
1826
+ 'nonce' : nonce,
1827
+ 'twofactorskippedon' : skiptwofactorstage,
1828
+ };
1829
+ var ajax_url = "<?php echo esc_url(admin_url('admin-ajax.php')); ?>";
1830
+
1831
+ jQuery.post(ajax_url, data, function(response){
1832
+ window.location.href = '<?php echo esc_url(admin_url()."admin.php?page=mo_2fa_two_fa"); ?>';
1833
+ });
1834
+
1835
+ });
1836
+ jQuery('a[href="#skiptwofactor3"]').click(function(){
1837
+
1838
+ localStorage.setItem("last_tab", 'setup_2fa');
1839
+
1840
+ var nonce = "<?php echo esc_js(wp_create_nonce('mo2fskiptwofactornonce')); ?>";
1841
+ var skiptwofactorstage = 'configuration';
1842
+ var data= {
1843
+ 'action' : 'mo_two_factor_ajax',
1844
+ 'mo_2f_two_factor_ajax' : 'mo2f_skiptwofactor_wizard',
1845
+ 'nonce' : nonce,
1846
+ 'twofactorskippedon' : skiptwofactorstage,
1847
+ };
1848
+ var ajax_url = "<?php echo esc_url(admin_url('admin-ajax.php')); ?>";
1849
+
1850
+ jQuery.post(ajax_url, data, function(response){
1851
+ window.location.href = '<?php echo esc_url(admin_url()."admin.php?page=mo_2fa_two_fa"); ?>';
1852
+ });
1853
+
1854
+ });
1855
 
1856
 
1857
  </script>
1884
 
1885
  public function setup_wizard_content() {
1886
  $admin_url = is_network_admin() ? network_admin_url() : admin_url();
1887
+ $this->settings_error_page( 'mo2f-setup-vue-setup-wizard', '<a href="' . esc_url($admin_url).'admin.php?page=mo_2fa_two_fa" id="mo2f_go_back_to_dashboard">' . esc_html__( 'Go back to the Dashboard', 'mo2f-setup' ) . '</a>' );
 
1888
  $this->settings_inline_js();
1889
  }
1890
 
1908
 
1909
  do_action( 'mo2f_admin_setup_wizard_load_setup_wizard_before', $this );
1910
  wp_enqueue_script('jquery');
 
1911
 
1912
  wp_localize_script(
1913
  'wp-mo2f-setup-wizard',
helper/messages.php CHANGED
@@ -95,8 +95,9 @@
95
  const REQUIRED_OTP = 'Please enter a value in OTP field.';
96
  const INVALID_OTP = 'Invalid one time passcode. Please enter a valid passcode.';
97
  const INVALID_PHONE = 'Please enter a valid phone number.';
 
98
  const PASS_MISMATCH = 'Password and Confirm Password do not match.';
99
- const CRON_DB_BACKUP_ENABLE = 'Scheduled Database Backup enabled';
100
  const CRON_DB_BACKUP_DISABLE = 'Scheduled Database Backup disabled';
101
  const CRON_FILE_BACKUP_ENABLE = 'Scheduled File Backup enabled';
102
  const CRON_FILE_BACKUP_DISABLE = 'Scheduled File Backup disabled';
95
  const REQUIRED_OTP = 'Please enter a value in OTP field.';
96
  const INVALID_OTP = 'Invalid one time passcode. Please enter a valid passcode.';
97
  const INVALID_PHONE = 'Please enter a valid phone number.';
98
+ const INVALID_INPUT = 'Please enter a valid value in the input fields.';
99
  const PASS_MISMATCH = 'Password and Confirm Password do not match.';
100
+ const CRON_DB_BACKUP_ENABLE = 'Scheduled Database Backup enabled';
101
  const CRON_DB_BACKUP_DISABLE = 'Scheduled Database Backup disabled';
102
  const CRON_FILE_BACKUP_ENABLE = 'Scheduled File Backup enabled';
103
  const CRON_FILE_BACKUP_DISABLE = 'Scheduled File Backup disabled';
helper/utility.php CHANGED
@@ -358,83 +358,112 @@ class MoWpnsUtility
358
  }
359
  public static function mo_2fa_send_configuration($send_all_configuration=false){
360
  global $Mo2fdbQueries,$moWpnsUtility;
361
- $user_object = wp_get_current_user();
362
- $mo2f_configured_2FA_method = $Mo2fdbQueries->get_user_detail( 'mo2f_configured_2FA_method', $user_object->ID );
363
- $other_methods = $Mo2fdbQueries->get_all_user_2fa_methods();
364
- $key = get_option('mo2f_customerKey');
365
- $is_plugin_active_for_network = is_plugin_active_for_network( MoWpnsConstants::TWO_FACTOR_SETTINGS);
366
- $is_onprem = get_option('is_onprem');
367
- $WAFEnabled = get_site_option('WAFEnabled');
368
- $pricing_page_visits = get_site_option('mo2fa_visit',0);
369
- $WAFLevel = get_site_option('WAF');
370
- $NoOf2faUsers = $Mo2fdbQueries->get_no_of_2fa_users();
371
- $is_inline_used = get_site_option('mo2f_is_inline_used');
372
- $login_with_mfa_use = get_site_option('mo2f_login_with_mfa_use');
373
- $EmailTransactions = MoWpnsUtility::get_mo2f_db_option('cmVtYWluaW5nT1RQ', 'site_option');
374
- $SMSTransactions = get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z')?get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z'):0;
375
- $SQLInjection = get_option('SQLInjection');
376
- $user_profile = get_option('mo2fa_userProfile_method');
377
- $XSSAttack = get_option('XSSAttack');
378
- $RFIAttack = get_option('RFIAttack');
379
- $LFIAttack = get_option('LFIAttack');
380
- $Rate_request = get_option('Rate_request');
381
- $limitAttack = get_option('limitAttack');
382
- $RCEAttack = get_option('RCEAttack');
383
- $mo_wpns_countrycodes = get_option('mo_wpns_countrycodes');
384
- $mo2f_enable_brute_force = get_option('mo2f_enable_brute_force');
385
- $space = "<span>&nbsp;&nbsp;&nbsp;</span>";
386
- $browser = $moWpnsUtility->getCurrentBrowser();
387
- $user_count = isset((count_users())['total_users'])?(count_users())['total_users']:'';
388
- $specific_plugins = array('UM_Functions'=>'Ultimate Member', 'wc_get_product'=>'WooCommerce','pmpro_gateways'=>'Paid MemberShip Pro');
389
- $backup_codes_remaining = get_user_meta($user_object->ID, 'mo2f_backup_codes', true);
390
- if(is_array($backup_codes_remaining)){
391
- $backup_codes_remaining = sizeof($backup_codes_remaining);
392
- }else{
393
- $backup_codes_remaining = 0;
394
- }
395
- $plugin_configuration ="<br><br><I>Plugin Configuration :-</I>".$space."On-premise:".($is_onprem?"Yes":"No"). $space."User Profile 2fa:".($user_profile?$user_profile:"No"). $space."Login with MFA:".($login_with_mfa_use == '1'?"Yes":"No"). $space."Inline Registration:".($is_inline_used == '1'?"Yes":"No"). $space."2FA method:" . ($mo2f_configured_2FA_method==''?"Not selected":$mo2f_configured_2FA_method).$space."No. of 2FA users :".$NoOf2faUsers.$space."Total users : ".$user_count.$space."Methods of users:".($other_methods==''?"NONE":$other_methods).$space."Email transactions:".$EmailTransactions.$space."SMS Transactions:".$SMSTransactions.$space.(is_multisite()?"Multisite:Yes":"Single-site:Yes").((mo2f_is_customer_registered())?($space."Customer Key:".$key):($space."Customer Registered:'No")).$space."Browser:".$browser;
396
- if(get_user_meta($user_object->ID, 'mo_backup_code_generated', true) || get_user_meta($user_object->ID, 'mo_backup_code_downloaded', true))
 
 
 
397
  $plugin_configuration=$plugin_configuration.$space."Backup Codes:".$backup_codes_remaining."/5";
398
- $plugins='';
399
- foreach($specific_plugins as $class_name => $plugin_name){
 
 
400
  if(class_exists($class_name) || function_exists($class_name)){
401
  $plugins = $plugins."<span>&nbsp;</span>'".$plugin_name."'";
402
  }
403
  }
404
- $plugin_configuration=$plugin_configuration.($plugins!=''?$space."Installed Plugins:".$plugins:'');
405
- if(MoWpnsUtility::get_mo2f_db_option('mo_wpns_2fa_with_network_security', 'get_option'))
 
 
406
  $plugin_configuration=$plugin_configuration.$space."WAF enabled:".$WAFEnabled.($WAFEnabled?$space."WAF level : ".$WAFLevel:"").$space."Brute force enabled : ".($mo2f_enable_brute_force?"Yes":"No");
407
- if(is_multisite()){
 
408
  $plugin_configuration = $plugin_configuration.$space.($is_plugin_active_for_network?"Network activated:'Yes":"Site activated:'Yes");
409
  }
 
410
  $plugin_configuration=$plugin_configuration.$space."Pricing Page visits : ".$pricing_page_visits;
411
- if(time()-get_site_option("mo_2fa_pnp")<2592000 && (get_site_option('mo_2fa_plan_type')|| get_site_option('mo_2fa_addon_plan_type'))){
 
412
  $plugin_configuration=$plugin_configuration.$space."Checked plans:'";
413
- if(get_site_option('mo_2fa_plan_type'))
414
- $plugin_configuration=$plugin_configuration.get_site_option('mo_2fa_plan_type')."'";
 
 
415
  if(get_site_option('mo_2fa_addon_plan_type'))
416
  $plugin_configuration=$plugin_configuration."<span>&nbsp;</span>'".get_site_option('mo_2fa_addon_plan_type')."'";
417
  }
418
- $plugin_configuration=$plugin_configuration.$space."PHP_version:" . phpversion().$space."Wordpress_version:" . get_bloginfo('version');
419
- if(!$send_all_configuration)
 
 
 
 
 
 
 
 
 
420
  return $plugin_configuration;
421
- if(get_site_option('enable_form_shortcode')){
 
422
  $forms = array('mo2f_custom_reg_bbpress','mo2f_custom_reg_wocommerce','mo2f_custom_reg_custom');
423
  foreach($forms as $form){
424
  if(get_site_option($form))
425
  $plugin_configuration = $plugin_configuration.$space.$form.":".get_option($form);
426
  }
427
  }
428
- if(!MoWpnsUtility::get_mo2f_db_option('mo_wpns_2fa_with_network_security', 'get_option'))
 
429
  return $plugin_configuration;
430
- $plugin_configuration = $plugin_configuration.$space."SQL Injection:".$SQLInjection .$space."XSS Attack:".$XSSAttack.$space."RFI Attack:".$RFIAttack.$space."Limit Attack:".$limitAttack.$space."RCE Attack:".$RCEAttack;
431
- $plugin_configuration=$plugin_configuration.(get_option('Rate_limiting')?$space."Rate request:".$Rate_request:'');
432
- $plugin_configuration = get_option('mo_wpns_countrycodes')?$plugin_configuration.$space."mo_wpns_countrycodes:".$mo_wpns_countrycodes:$plugin_configuration.$space."Country Blocking:'Disabled";
433
- $browser_block = array('mo_wpns_block_chrome','mo_wpns_block_firefox','mo_wpns_block_ie','mo_wpns_block_safari','mo_wpns_block_opera','mo_wpns_block_edge');
434
- foreach($browser_block as $browser){
 
 
 
 
 
435
  if(get_option($browser))
436
  $plugin_configuration = $plugin_configuration.$space.$browser.":".get_option($browser);
437
  }
 
438
  return $plugin_configuration;
439
  }
440
 
358
  }
359
  public static function mo_2fa_send_configuration($send_all_configuration=false){
360
  global $Mo2fdbQueries,$moWpnsUtility;
361
+ $user_object = wp_get_current_user();
362
+ $mo2f_configured_2FA_method = $Mo2fdbQueries->get_user_detail( 'mo2f_configured_2FA_method', $user_object->ID );
363
+ $other_methods = $Mo2fdbQueries->get_all_user_2fa_methods();
364
+ $key = get_option('mo2f_customerKey');
365
+ $is_plugin_active_for_network = is_plugin_active_for_network( MoWpnsConstants::TWO_FACTOR_SETTINGS);
366
+ $is_onprem = get_option('is_onprem');
367
+ $WAFEnabled = get_site_option('WAFEnabled');
368
+ $pricing_page_visits = get_site_option('mo2fa_visit',0);
369
+ $WAFLevel = get_site_option('WAF');
370
+ $NoOf2faUsers = $Mo2fdbQueries->get_no_of_2fa_users();
371
+ $is_inline_used = get_site_option('mo2f_is_inline_used');
372
+ $login_with_mfa_use = get_site_option('mo2f_login_with_mfa_use');
373
+ $EmailTransactions = MoWpnsUtility::get_mo2f_db_option('cmVtYWluaW5nT1RQ', 'site_option');
374
+ $SMSTransactions = get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z')?get_site_option('cmVtYWluaW5nT1RQVHJhbnNhY3Rpb25z'):0;
375
+ $SQLInjection = get_option('SQLInjection');
376
+ $user_profile = get_option('mo2fa_userProfile_method');
377
+ $XSSAttack = get_option('XSSAttack');
378
+ $RFIAttack = get_option('RFIAttack');
379
+ $LFIAttack = get_option('LFIAttack');
380
+ $Rate_request = get_option('Rate_request');
381
+ $limitAttack = get_option('limitAttack');
382
+ $RCEAttack = get_option('RCEAttack');
383
+ $mo_wpns_countrycodes = get_option('mo_wpns_countrycodes');
384
+ $mo2f_enable_brute_force = get_option('mo2f_enable_brute_force');
385
+ $space = "<span>&nbsp;&nbsp;&nbsp;</span>";
386
+ $browser = $moWpnsUtility->getCurrentBrowser();
387
+ $user_count = isset((count_users())['total_users'])?(count_users())['total_users']:'';
388
+ $specific_plugins = array('UM_Functions'=>'Ultimate Member', 'wc_get_product'=>'WooCommerce','pmpro_gateways'=>'Paid MemberShip Pro', 'MoOTP' => 'OTP');
389
+ $backup_codes_remaining = get_user_meta($user_object->ID, 'mo2f_backup_codes', true);
390
+
391
+ if(is_array($backup_codes_remaining)){
392
+ $backup_codes_remaining = sizeof($backup_codes_remaining);
393
+ }else{
394
+ $backup_codes_remaining = 0;
395
+ }
396
+
397
+ $plugin_configuration ="<br><br><I>Plugin Configuration :-</I>".$space."On-premise:".($is_onprem?"Yes":"No"). $space."User Profile 2fa:".($user_profile?$user_profile:"No"). $space."Login with MFA:".($login_with_mfa_use == '1'?"Yes":"No"). $space."Inline Registration:".($is_inline_used == '1'?"Yes":"No"). $space."2FA method:" . ($mo2f_configured_2FA_method==''?"Not selected":$mo2f_configured_2FA_method).$space."No. of 2FA users :".$NoOf2faUsers.$space."Total users : ".$user_count.$space."Methods of users:".($other_methods==''?"NONE":$other_methods).$space."Email transactions:".$EmailTransactions.$space."SMS Transactions:".$SMSTransactions.$space.(is_multisite()?"Multisite:Yes":"Single-site:Yes").((mo2f_is_customer_registered())?($space."Customer Key:".$key):($space."Customer Registered:'No")).$space."Browser:".$browser;
398
+
399
+ if(get_user_meta($user_object->ID, 'mo_backup_code_generated', true) || get_user_meta($user_object->ID, 'mo_backup_code_downloaded', true))
400
  $plugin_configuration=$plugin_configuration.$space."Backup Codes:".$backup_codes_remaining."/5";
401
+
402
+ $plugins='';
403
+
404
+ foreach($specific_plugins as $class_name => $plugin_name){
405
  if(class_exists($class_name) || function_exists($class_name)){
406
  $plugins = $plugins."<span>&nbsp;</span>'".$plugin_name."'";
407
  }
408
  }
409
+
410
+ $plugin_configuration=$plugin_configuration.($plugins!=''?$space."Installed Plugins:".$plugins:'');
411
+
412
+ if(MoWpnsUtility::get_mo2f_db_option('mo_wpns_2fa_with_network_security', 'get_option'))
413
  $plugin_configuration=$plugin_configuration.$space."WAF enabled:".$WAFEnabled.($WAFEnabled?$space."WAF level : ".$WAFLevel:"").$space."Brute force enabled : ".($mo2f_enable_brute_force?"Yes":"No");
414
+
415
+ if(is_multisite()){
416
  $plugin_configuration = $plugin_configuration.$space.($is_plugin_active_for_network?"Network activated:'Yes":"Site activated:'Yes");
417
  }
418
+
419
  $plugin_configuration=$plugin_configuration.$space."Pricing Page visits : ".$pricing_page_visits;
420
+
421
+ if(time()-get_site_option("mo_2fa_pnp")<2592000 && (get_site_option('mo_2fa_plan_type')|| get_site_option('mo_2fa_addon_plan_type'))){
422
  $plugin_configuration=$plugin_configuration.$space."Checked plans:'";
423
+
424
+ if(get_site_option('mo_2fa_plan_type'))
425
+ $plugin_configuration=$plugin_configuration.get_site_option('mo_2fa_plan_type')."'";
426
+
427
  if(get_site_option('mo_2fa_addon_plan_type'))
428
  $plugin_configuration=$plugin_configuration."<span>&nbsp;</span>'".get_site_option('mo_2fa_addon_plan_type')."'";
429
  }
430
+
431
+ $plugin_configuration = $plugin_configuration.$space."PHP_version:" . phpversion().$space."Wordpress_version:" . get_bloginfo('version');
432
+
433
+ $mo2f_wizard_skipped = get_option( 'mo2f_wizard_selected_method' ) ? esc_html(get_option( 'mo2f_wizard_selected_method' )) : esc_html(get_option('mo2f_wizard_skipped'));
434
+ if( get_option('mo2f_wizard_skipped') ) {
435
+ $plugin_configuration = $plugin_configuration . $space . "Setup Wizard Skipped: " . $mo2f_wizard_skipped;
436
+ }else{
437
+ $plugin_configuration = $plugin_configuration . $space . "Setup Wizard Skipped: No";
438
+ }
439
+
440
+ if(!$send_all_configuration)
441
  return $plugin_configuration;
442
+
443
+ if(get_site_option('enable_form_shortcode')){
444
  $forms = array('mo2f_custom_reg_bbpress','mo2f_custom_reg_wocommerce','mo2f_custom_reg_custom');
445
  foreach($forms as $form){
446
  if(get_site_option($form))
447
  $plugin_configuration = $plugin_configuration.$space.$form.":".get_option($form);
448
  }
449
  }
450
+
451
+ if(!MoWpnsUtility::get_mo2f_db_option('mo_wpns_2fa_with_network_security', 'get_option'))
452
  return $plugin_configuration;
453
+
454
+ $plugin_configuration = $plugin_configuration.$space."SQL Injection:".$SQLInjection .$space."XSS Attack:".$XSSAttack.$space."RFI Attack:".$RFIAttack.$space."Limit Attack:".$limitAttack.$space."RCE Attack:".$RCEAttack;
455
+
456
+ $plugin_configuration=$plugin_configuration.(get_option('Rate_limiting')?$space."Rate request:".$Rate_request:'');
457
+
458
+ $plugin_configuration = get_option('mo_wpns_countrycodes')?$plugin_configuration.$space."mo_wpns_countrycodes:".$mo_wpns_countrycodes:$plugin_configuration.$space."Country Blocking:'Disabled";
459
+
460
+ $browser_block = array('mo_wpns_block_chrome','mo_wpns_block_firefox','mo_wpns_block_ie','mo_wpns_block_safari','mo_wpns_block_opera','mo_wpns_block_edge');
461
+
462
+ foreach($browser_block as $browser){
463
  if(get_option($browser))
464
  $plugin_configuration = $plugin_configuration.$space.$browser.":".get_option($browser);
465
  }
466
+
467
  return $plugin_configuration;
468
  }
469
 
includes/js/setup-wizard-2fa.js DELETED
@@ -1,6572 +0,0 @@
1
- (function(t) {
2
-
3
- for (var s, o, r = e[0], l = e[1], c = e[2], m = 0, u = []; m < r.length; m++) o = r[m], Object.prototype.hasOwnProperty.call(a, o) && a[o] && u.push(a[o][0]), a[o] = 0;
4
- for (s in l) Object.prototype.hasOwnProperty.call(l, s) && (t[s] = l[s]);
5
- p && p(e);
6
- while (u.length) u.shift()();
7
- return n.push.apply(n, c || []), i()
8
- }
9
-
10
- function i() {
11
- for (var t, e = 0; e < n.length; e++) {
12
- for (var i = n[e], s = !0, r = 1; r < i.length; r++) {
13
- var l = i[r];
14
- 0 !== a[l] && (s = !1)
15
- }
16
- s && (n.splice(e--, 1), t = o(o.s = i[0]))
17
- }
18
- return t
19
- }
20
- var s = {},
21
- a = {
22
- wizard: 0
23
- },
24
- n = [];
25
-
26
- function o(e) {
27
- if (s[e]) return s[e].exports;
28
- var i = s[e] = {
29
- i: e,
30
- l: !1,
31
- exports: {}
32
- };
33
- return t[e].call(i.exports, i, i.exports, o), i.l = !0, i.exports
34
- }
35
- o.m = t, o.c = s, o.d = function(t, e, i) {
36
- o.o(t, e) || Object.defineProperty(t, e, {
37
- enumerable: !0,
38
- get: i
39
- })
40
- }, o.r = function(t) {
41
- "undefined" !== typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
42
- value: "Module"
43
- }), Object.defineProperty(t, "__esModule", {
44
- value: !0
45
- })
46
- }, o.t = function(t, e) {
47
- if (1 & e && (t = o(t)), 8 & e) return t;
48
- if (4 & e && "object" === typeof t && t && t.__esModule) return t;
49
- var i = Object.create(null);
50
- if (o.r(i), Object.defineProperty(i, "default", {
51
- enumerable: !0,
52
- value: t
53
- }), 2 & e && "string" != typeof t)
54
- for (var s in t) o.d(i, s, function(e) {
55
- return t[e]
56
- }.bind(null, s));
57
- return i
58
- }, o.n = function(t) {
59
- var e = t && t.__esModule ? function() {
60
- return t["default"]
61
- } : function() {
62
- return t
63
- };
64
- return o.d(e, "a", e), e
65
- }, o.o = function(t, e) {
66
- return Object.prototype.hasOwnProperty.call(t, e)
67
- }, o.p = "http://localhost:8080/";
68
- var r = window["mo2fjsonp"] = window["mo2fjsonp"] || [],
69
- l = r.push.bind(r);
70
- r.push = e, r = r.slice();
71
- for (var c = 0; c < r.length; c++) e(r[c]);
72
- var p = l;
73
- n.push([0, "chunk-vendors"]), i()
74
- })({
75
- 0: function(t, e, i) {
76
- t.exports = i("9f7c")
77
- },
78
- "107e": function(t, e, i) {
79
- t.exports = i.p + "img/long-arrow-alt-right-regular.svg"
80
- },
81
- 1532: function(t, e) {
82
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABlmWCKAAAHYklEQVR4AeVbeVBVVRj/7n1sIqsICIKhIAIKkjCJmgJlKiYuTU4wWZqWMzWauYzmMsVUmk0Gf5SmGU1qizMq2mSbo40RmMjmioiC+JQdHijw4PGW2/kecxF9PO7yFq68M3Pn3nfOd77z/X733HPO953zKDCSgr+YEUjTtJeR4icqW6vTKCvO55TDEdA+bjj1SMbKGPuQcLfVNMWsAqBGP1L2pP9gQKGj4AAoNZ/e2vJvAwunh4CQHdO9KWe7X0nGZLZwcN6ZWo0OkivWnS1AfLQe5GKQUc6yrMEPHtFSI2QU9du4L6f54y89AcHT4pdTQD2LGbaQKAp8GK39Z4hV/wmEZiTkA0XF2gL4hxgZdVcL+FBBaQlO9u5UO2Gl+3N4KDH4nyiYSctcdd42CZ68XtL9XWgtTcsG/6s2jtCs3Z4MpDDaMxBGuo0w3qLESuxMscfJzhEifcfBJL8JEOM/AaL9xoO7kyvoGB2k52bC/sKfTVFvlbqCCPAa4kGARsIkAhavCO+xYC8zVEFTNLw7ZRlklfwBTR0tVgEithFD641oWhmbCmunrgAExyc5yOwhJXI+7L5wkI/4gMnwQuPqMBTWTFnOGzyLJiUqGexp3hyz1ax650W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rd0u8xwyYPEhAevgW3wlMhl8hw4HXF98Ne8j8HL2xCLBCT+PaU/Fkk/yPNS3N/VbHwkwaRo0pj3v3kVY+ctmaFW1GRMxyMfVYmrUfMhK3QsBZjhhMsLF26CNvjIsQgA2dKHqEiw5uhZqSI8YiHSp9jqvZi1GALZe2liuD4gWVl3hZYy5hKoe1HJ2f7YtixKAjTQqm+H1rHWwv+Awr3mfNcyUe1E1d9iO1W9xArAhXCrvyv0Glh5bD3etsDlSSBZmfJNVCGCNwXFh3g8rYF/+T9BlwnY7q8/YvajmqrEig3yrEoCt44Ip/dy3kHRoGZy8ccbsn0UriVfe5OGhskxYnQC24XtkoFr/53bSI5bDieunOENsbD2u+8XaEkGkDhgBLBDcMtt0aickfpcCGecyobL5Hlsk6o4rUSFJMmfYcLbYm/+j/sIDmLhERs8vzDu4X3/gcbBCBkCsKxkCegMpITvReGX8lwm4xsejuBhaCyU+QrDnKPB38+3TTzh/txgKBMQaJEtAbzKaiYN1piJXf7H5eCh7GCEGyXEl7jcexsSjfJdrS4ljzr13yep5IgjobSz7jCDxDLI5ziHTtIr8h8qGE63rtKsnO942SQI51q+kK9POdgLFXLK9TsCoVR3aAnYdsM/WCCBD5TH55pxmPQE3WyCTZOTZDAn4N1qtbiPi7e4BaWc1jFKTTEgoGuwkkBmkQc1oksrXZ99FrD3/GFOckSvd4oIOyhwZJVl6hZMy10FGRhsZ7DPVakip3JB9g8VmLOZMBacnBNO0zp+hZcZkWB2Sv2tVmubb7YpSSLtmcOT9f3LyV1v6G8m6AAAAAElFTkSuQmCC"
83
- },
84
- "1f7f": function(t, e, i) {
85
- "use strict";
86
- i("e8f2")
87
- },
88
- "1fa5": function(t, e, i) {
89
- t.exports = i.p + "img/long-arrow-alt-left-regular.svg"
90
- },
91
- "29b8": function(t, e) {
92
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYd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jFa+8FuXqP/JEMKWgPW8wz8LbcLaGDPTpKPZF+hfaG/Azrj0+ypE5QdS/4tfikUyWFZhTSjsunrGNWvmjOYN2MBxEaT+anut+EcSt9Y/wKYPTFLjUA+DAAAAABJRU5ErkJggg=="
96
- },
97
- "2bc2": function(t, e, i) {
98
- t.exports = i.p + "img/zoho.svg"
99
- },
100
- "2cf42": function(t, e) {
101
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAB2HAAAdhwGP5fFlAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAACT5JREFUeJzNm39wVNUVxz/n7W6I/FDkpwpmd/mRwUIdrfijKNZBOq11xmJhC7tRpKCpta3tWNGx1hoc2yIFrDJOK79FskHiFOSPSmvr4LT4C1qhVgVi2N3EURAoShJIstl3+scmwLK/3r73Qv3+tXvvOd977tn77t57znlCb2NW00VI6ipErgTGAqOA4cBAoH+3VDtwGDiIEkP4ANhFUl+nPnigN82TXmGdFbsaQ2YA3wK+5JBtL8IWUmxmg/8NEHXBwpNwzwFz9wygvc+diNyFcolrvJnYh7KSPrqCtcHP3CB07oBQ43n4PA8APwTOc8xnDccQlqGyhKj/qBMi+w6oUYO9ibsRFgBDnBjhAIcRfYTOwArqJWWHwJ4DwrFxiKwErrWl7z62Y3jmsP7iD0tVNEoeKpy4DZGdfHEmD3AtZmoXkXhVqYrWV0BIPfjiS0HuLXWQs4wnSfrnW30krDlgTqycTqkFvuPEsrOIepJtt1E/vrOYYHEH3NTQh0G+zSjfdMW0s4eXSbZNK+aEwntASD2c79vgwuTbbOgcdjjmTfj6rSeknkJChR3gS/wWmGbTgBPAKtDLiQb6ozITMC3odQJTiAaGojIBYRn2HAgQwpdYVEgg/yMQScwGfc7euNKMeCZRO/KjjOaq+NMoPy6iW0PUvyCjaXZjBV2eHcAwe+ZQRW0gmqsr9wq4rXkM6DO2BgNAX8qaPIBR/hCwv4De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VA3ufpCwGRhYyteNhqqU7pOaVwfDrCKs7eG2JWcQz0+0SDG0pRspdUiyRGoeZaly4nbuAfIHcQ9RcoxM4NBzl+Faris1FZhN0yduc4BDxE1L/a7hulzosc5sQG0mHci+hPcKfM1go+R2Up55x40nbNUjfcq/IIfdof7/FqhLnAeNd4M7EHeIby9uecTrwHvfTydPxyDCIoX0f4MnbeT0xD0xFr+TPIBqL+f7ppJvSWA05H+OMhSOf1pOONlwCVpB+VntfnvaQvXieAJqAZ5D0wd6H6JnWjrFZ92cL/AEdm6o5wcBoEAAAAAElFTkSuQmCC"
102
- },
103
- "2db4": function(t, e, i) {
104
- t.exports = i.p + "img/outlook.svg"
105
- },
106
- "31f1": function(t, e, i) {
107
- var s = {
108
- "./googleAuthenticator.svg": "7de8",
109
- "./AuthyAuthenticator.svg": "ddc9",
110
- "./OTPOverSMS.svg": "776b",
111
- "./OTPOverEmail.svg": "2db4",
112
- "./KBA.svg": "b1c2",
113
- "./DuoPush.svg": "7f3e",
114
- "./OTPOverTelegram.svg": "5f30",
115
- };
116
-
117
- function a(t) {
118
- var e = n(t);
119
- return i(e)
120
- }
121
-
122
- function n(t) {
123
- if (!i.o(s, t)) {
124
- var e = new Error("Cannot find module '" + t + "'");
125
- throw e.code = "MODULE_NOT_FOUND", e
126
- }
127
- return s[t]
128
- }
129
- a.keys = function() {
130
- return Object.keys(s)
131
- }, a.resolve = n, t.exports = a, a.id = "31f1"
132
- },
133
- "3af1": function(t, e, i) {
134
- t.exports = i.p + "img/check-solid.svg"
135
- },
136
- "3dce": function(t, e, i) {
137
- t.exports = i.p + "img/loading-white.svg"
138
- },
139
- "4bd8": function(t, e, i) {
140
- t.exports = i.p + "img/logo.svg"
141
- },
142
- "4e2d": function(t, e, i) {
143
- t.exports = i.p + "img/times-solid.svg"
144
- },
145
- "50bf": function(t, e, i) {
146
- t.exports = i.p + "img/arrow.svg"
147
- },
148
- 5711: function(t, e, i) {
149
- var s = {
150
- "./loading-blue.svg": "8e56",
151
- "./loading-white.svg": "3dce",
152
- "./loading.svg": "8e57"
153
- };
154
-
155
- function a(t) {
156
- var e = n(t);
157
- return i(e)
158
- }
159
-
160
- function n(t) {
161
- if (!i.o(s, t)) {
162
- var e = new Error("Cannot find module '" + t + "'");
163
- throw e.code = "MODULE_NOT_FOUND", e
164
- }
165
- return s[t]
166
- }
167
- a.keys = function() {
168
- return Object.keys(s)
169
- }, a.resolve = n, t.exports = a, a.id = "5711"
170
- },
171
- "5f30": function(t, e, i) {
172
- t.exports = i.p + "img/smtp.svg"
173
- },
174
- "6f43": function(t, e, i) {
175
- t.exports = i.p + "img/star-solid.svg"
176
- },
177
- "776b": function(t, e, i) {
178
- t.exports = i.p + "img/mailgun.svg"
179
- },
180
- "78cb": function(t, e, i) {
181
- t.exports = i.p + "img/smtpcom.svg"
182
- },
183
- "7c9b": function(t, e, i) {
184
- var s = {
185
- "./all-in-one-seo-pack@2x.png": "2cf42",
186
- "./coming-soon@2x.png": "9f86",
187
- "./google-analytics-for-wordpress@2x.png": "82f2",
188
- "./instagram-feed@2x.png": "877f",
189
- "./rafflepress@2x.png": "a1c2",
190
- "./wp-call-button@2x.png": "1532"
191
- };
192
-
193
- function a(t) {
194
- var e = n(t);
195
- return i(e)
196
- }
197
-
198
- function n(t) {
199
- if (!i.o(s, t)) {
200
- var e = new Error("Cannot find module '" + t + "'");
201
- throw e.code = "MODULE_NOT_FOUND", e
202
- }
203
- return s[t]
204
- }
205
- a.keys = function() {
206
- return Object.keys(s)
207
- }, a.resolve = n, t.exports = a, a.id = "7c9b"
208
- },
209
- "7de8": function(t, e, i) {
210
- t.exports = i.p + "img/amazonses.svg"
211
- },
212
- "7f3e": function(t, e, i) {
213
- t.exports = i.p + "img/sendinblue.svg"
214
- },
215
- "827a": function(t, e, i) {
216
- t.exports = i.p + "img/exclamation-circle-solid.svg"
217
- },
218
- "82f2": function(t, e, i) {
219
- t.exports = i.p + "img/google-analytics-for-wordpress@2x.png"
220
- },
221
- 8398: function(t, e, i) {
222
- t.exports = i.p + "img/working.svg"
223
- },
224
- 8475: function(t, e, i) {
225
- t.exports = i.p + "img/question-circle-solid.svg"
226
- },
227
- "84d7": function(t, e, i) {
228
- t.exports = i.p + "img/info-circle-solid.svg"
229
- },
230
- "877f": function(t, e, i) {
231
- t.exports = i.p + "img/instagram-feed@2x.png"
232
- },
233
- "87eb": function(t, e, i) {
234
- t.exports = i.p + "img/pro-badge.svg"
235
- },
236
- 8888: function(t, e, i) {
237
- t.exports = i.p + "img/post-smtp-mailer.png"
238
- },
239
- "8cbb": function(t, e, i) {
240
- "use strict";
241
- i("da18")
242
- },
243
- "8d41": function(t, e) {
244
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABlmWCKAAAJsUlEQVR4AeVbC3ATxxn+93SS/JAtY8DYGDuAbd4QQoEkTRlCmzakEyYhAxRCYAjT6QBJWxIIr5Kp2yktj5KQJiSUPGoKmNSTQEmaZ6e0CQwpBUJJKClYro2NH2DLtmTJ1kl3u/1XVKqEJetOPoFtdjRze//++z++2+e/KwKJToyR775emS8BGU3AMJgwmssI5DEGOW6JWRrbFQUIOAXGGhjAZUJYvcxIreD1fFWxcdxlAILkxCWSCNH3/bbCKpqMIwhlj/ooXUaIkBRJj0ui0NSuRCry0ygDD2ZeAgXeJBIrtxUXOaMyx1mgKwAryq5aqpwd+3wAD6mxJxYAnWQo5O3yWroQXiySOpXFSdAFgMWlVyY0tLlKqcEwggAxqrVFMwB+wcwHlH3FDGSBbXXRebW6ovF1C4AFpXWjmju8zykMZqLjmmXFB8A1VxgQCgzeYwp7umJ9oS2ag7Homo3mAsvKmGGPs2q1F0gxDlIR+3csxby8OwAE5ONg2g7ANtrWFD0foGl5agZg4b7LQ5ol5YjMoEiLoki8egAQlEvhgtck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o0SAy9TYHJDhKYfgCAqAJzhwKODj1lEtgpXS95Ahd7yxLm8gxE2z7au6F9d2dwlALzioSVDd+LF25/jzIB/Beodye88oyttzxQdjmVxTAC4gHeX5m9KFcmTeISo9SpGLP2JKPcSmS6qWDNitxrhwb2AGuY5e6unOST2qRpeNTz67wUo3o0Wp1Q+M/wLNfo5j6oWEBD21qL8oxkmNhzP1MoDtJ7yxADnZ7JRzNfiPLddUwsIOMv/NFXirnrWR4U12C3iPr7VowWg406gwk9xe7sjYJ+WZ1wABBTM3Vc/ptUj7cTT3el45KVZVrcAYIyHZN6XmLK8Zu2ouoBNWp+ajY6kYHFpzYS6dvkdwoRcLfGEuABgzIsb1osyNc6qWj+sKpI9Wmi6AOBXiPdYFhyozGqVxF0Y6QnbckYzSAsAlBEFzzFfbmmSf9K0dZRu55n6ARDi5dyymkxnm3I7Hj/PphSW4hWf1JDiYDYWADx0zYC+imv5j10W+XzjE9eiOEEBOmQSAkCYXdgy7vtd9TCBkgkKY/kKIwPxH+U5isKyPApLc3soRgZxqwqkgRFSiyfWjVilEiM35yLt3sJk6/DyX5qvt56zCsMvAAAAAElFTkSuQmCC"
245
- },
246
- "8e56": function(t, e, i) {
247
- t.exports = i.p + "img/loading-blue.svg"
248
- },
249
- "8e57": function(t, e, i) {
250
- t.exports = i.p + "img/loading.svg"
251
- },
252
- "9a1d": function(t, e, i) {
253
- t.exports = i.p + "img/check-circle-solid.svg"
254
- },
255
- "9da7": function(t, e) {
256
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABKdJREFUWIWtl11sFFUUx39ndqf0C0EhiKVluy01ARuoxMRo1CBBIqKRqNV2C4Sg8cGowQcViUFtFOmDCSYaE9SEqN0tluiDIRBBosYHQlBDowbSwu62fNTKh/JRSnd3jg9TdruzMzsN8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IIga0+NT7hGjtC2P9QKYDv8MFLbT1Tfbh2O07POPDGkGCm+BqQxKt70XY4pN0Mq/Xbx4oQ5kCTB0TtWE3LfGilYQP6Kw+njMAYOpGYH+RtFJa+u1ru3mokmCmEygDyjGtGGsP27tjc4rt1EEqTr+T8zIeKxO3YXEAqPZIHgZ2Y7frYUesH/vFewiv5kY5gcgDREPZu8elLT82HzF2FjFxrfgb1UXEwnmfsFFAi9X1kEotBPn5Bor/RoB7nOLuBgC6G/7h3OhSRNuBS9chfBnhPc6l7s12zQ74/5w2x2diykZgNVAxQeF/EaIEMh3Zy8kD/gayRoYqKbm0HIwHQZtQwti3WxrkDOhx0AOI8Qujxs7sP4QP/gdLfYuNd8XCxgAAAABJRU5ErkJggg=="
257
- },
258
- "9f7c": function(t, e, i) {
259
- "use strict";
260
- i.r(e);
261
- i("e260"), i("e6cf"), i("cca6"), i("a79d");
262
- var s = function() {
263
- var t = this,
264
- e = t.$createElement,
265
- s = t._self._c || e;
266
- return s("div", {
267
- staticClass: "mo2f-setup-admin-page"
268
- }, [s("router-view"), t.blocked ? s("div", {
269
- staticClass: "mo2f-setup-blocked"
270
- }) : t.loading ? s("div", {
271
- staticClass: "mo2f-setup-loading"
272
- }, [s("inline-svg", {
273
- staticClass: "icon",
274
- attrs: {
275
- src: i("c869"),
276
- width: "195"
277
- }
278
- })], 1) : t._e()], 1)
279
- },
280
- a = [],
281
- n = i("5530"),
282
- o = i("8c4f"),
283
- r = function() {
284
- var t = this,
285
- e = t.$createElement,
286
- s = t._self._c || e;
287
- return s("div", {
288
- staticClass: "mo2f-setup-welcome"
289
- }, [s("the-wizard-header"), s("div", {
290
- staticClass: "mo2f-setup-setup-wizard-container"
291
- }, [s("main", {
292
- staticClass: "mo2f-setup-setup-wizard-content"
293
- }, [s("div", {
294
- staticClass: "mo2f-setup-setup-wizard-content-container"
295
- }, [s("content-header", {
296
- attrs: {
297
- title: t.text_header_title,
298
- subtitle: t.text_header_subtitle
299
- }
300
- }), s("button", {
301
- staticClass: "mo2f-setup-button mo2f-setup-button-main mo2f-setup-button-large",
302
- attrs: {
303
- type: "button"
304
- },
305
- on: {
306
- click: function(e) {
307
- return e.preventDefault(), t.nextStep(e)
308
- }
309
- }
310
- }, [s("span", {
311
- staticClass: "text-with-arrow text-with-arrow-right"
312
- }, [t._v(" " + t._s(t.text_button) + " "), s("inline-svg", {
313
- staticClass: "icon",
314
- attrs: {
315
- src: i("107e"),
316
- width: "16",
317
- height: "22"
318
- }
319
- })], 1)])], 1)]), s("footer", [s("p", {
320
- staticClass: "mo2f-setup-exit-link"
321
- }, [s("a", {
322
- attrs: {
323
- href: t.exit_href
324
- }
325
- }, [t._v(t._s(t.text_exit_link))])])])])], 1)
326
- },
327
- l = [],
328
- c = (i("cc99"), i("561c")),
329
- p = function() {
330
- var t = this,
331
- e = t.$createElement,
332
- i = t._self._c || e;
333
- return i("div", {
334
- staticClass: "mo2f-setup-content-header"
335
- }, [i("h2", {
336
- domProps: {
337
- innerHTML: t._s(t.title)
338
- }
339
- }), t.subtitle ? i("p", {
340
- staticClass: "subtitle",
341
- domProps: {
342
- innerHTML: t._s(t.subtitle)
343
- }
344
- }) : t._e()])
345
- },
346
- m = [],
347
- u = {
348
- name: "ContentHeader",
349
- props: {
350
- title: String,
351
- subtitle: String
352
- }
353
- },
354
- d = u,
355
- _ = i("2877"),
356
- f = Object(_["a"])(d, p, m, !1, null, null, null),
357
- h = f.exports,
358
- g = function() {
359
- var t = this,
360
- e = t.$createElement,
361
- s = t._self._c || e;
362
- return s("header", {
363
- staticClass: "mo2f-setup-wizard-header"
364
- }, [s("h1", {
365
- staticClass: "mo2f-setup-setup-wizard-logo"
366
- }, [s("div", {
367
- staticClass: "mo2f-setup-logo"
368
- }, [s("img", {
369
- staticClass: "mo2f-setup-logo-img",
370
- attrs: {
371
- src: i("4bd8"),
372
- alt: t.text_logo_alt
373
- }
374
- })])])])
375
- },
376
- w = [],
377
- b = {
378
- name: "TheWizardHeader",
379
- data: function() {
380
- return {
381
- text_logo_alt: Object(c["a"])("miniOrange 2-Factor Authentication LOGO", "mo2f-setup")
382
- }
383
- }
384
- },
385
- A = b,
386
- v = Object(_["a"])(A, g, w, !1, null, null, null),
387
- x = v.exports,
388
- y = {
389
- name: "SetupWizardWelcome",
390
- components: {
391
- ContentHeader: h,
392
- TheWizardHeader: x
393
- },
394
- data: function() {
395
- return {
396
- text_header_title: Object(c["a"])("Welcome to the 2FA Setup Wizard!", "mo2f-setup"),
397
- text_header_subtitle: Object(c["a"])("This setup guide will take you through all the steps you need to follow to enable the two-factor authentication for your website.", "mo2f-setup"),
398
- text_button: Object(c["a"])("Let's Get Started", "mo2f-setup"),
399
- text_exit_link: Object(c["a"])("Go back to the Dashboard", "mo2f-setup"),
400
- exit_href: this.$wpms.exit_url
401
- }
402
- },
403
- methods: {
404
- nextStep: function() {
405
- this.$router.push({
406
- name: this.$wizard_steps[0]
407
- })
408
- }
409
- }
410
- },
411
- C = y,
412
- k = Object(_["a"])(C, r, l, !1, null, null, null),
413
- O = k.exports,
414
- j = function() {
415
- var t = this,
416
- e = t.$createElement,
417
- i = t._self._c || e;
418
- return i("div", {
419
- staticClass: "mo2f-setup-step"
420
- }, [i("the-wizard-header"), i("the-wizard-timeline"), i("div", {
421
- staticClass: "mo2f-setup-setup-wizard-container"
422
- }, [i("main", {
423
- staticClass: "mo2f-setup-setup-wizard-content"
424
- }, [i("router-view", {
425
- on: {
426
- displayContentBelow: t.displayContentBelow
427
- }
428
- })], 1), i("footer", [t.content_below.length > 0 ? i("div", {
429
- staticClass: "mo2f-setup-step-below-content",
430
- domProps: {
431
- innerHTML: t._s(t.content_below)
432
- }
433
- }) : t._e(), t.display_exit_link ? i("p", {
434
- staticClass: "mo2f-setup-exit-link"
435
- }, [i("a", {
436
- attrs: {
437
- href: t.exit_href
438
- }
439
- }, [t._v(t._s(t.text_exit_link))])]) : t._e()])])], 1)
440
- },
441
- S = [],
442
- P = (i("caad"), i("b0c0"), i("d3b7"), i("2532"), i("3ca3"), i("ddb0"), function() {
443
- var t = this,
444
- e = t.$createElement,
445
- s = t._self._c || e;
446
- return s("div", {
447
- staticClass: "mo2f-setup-setup-wizard-container"
448
- }, [s("div", {
449
- staticClass: "mo2f-setup-setup-wizard-timeline"
450
- }, [t._l(t.steps, (function(e, a) {
451
- return [a > 0 ? s("div", {
452
- key: a + "line",
453
- class: t.lineClass(a)
454
- }) : t._e(), s("div", {
455
- key: a,
456
- class: t.stepClass(a)
457
- }, [s("inline-svg", {
458
- staticClass: "icon icon-success",
459
- attrs: {
460
- src: i("3af1"),
461
- width: "10",
462
- height: "10"
463
- }
464
- }), s("inline-svg", {
465
- staticClass: "icon icon-failed",
466
- attrs: {
467
- src: i("4e2d"),
468
- width: "8",
469
- height: "11"
470
- }
471
- })], 1)]
472
- }))], 2)])
473
- }),
474
- E = [],
475
- T = (i("c740"), {
476
- name: "TheWizardTimeline",
477
- data: function() {
478
- return {
479
- steps: this.$wizard_steps
480
- }
481
- },
482
- methods: {
483
- stepClass: function(t) {
484
- var e = this,
485
- i = "mo2f-setup-setup-wizard-timeline-step",
486
- s = this.steps.findIndex((function(t) {
487
- return e.$route.name.includes(t)
488
- }));
489
- return (t < s || parseInt(s) === this.steps.length - 1 && this.$route.name.includes("_success")) && (i += " mo2f-setup-setup-wizard-timeline-step-completed"), t === s && parseInt(s) === this.steps.length - 1 && this.$route.name.includes("_failure") && (i += " mo2f-setup-setup-wizard-timeline-step-failed"), parseInt(t) === parseInt(s) && (i += " mo2f-setup-setup-wizard-timeline-step-active"), i
490
- },
491
- lineClass: function(t) {
492
- var e = this,
493
- i = "mo2f-setup-setup-wizard-timeline-step-line",
494
- s = this.steps.findIndex((function(t) {
495
- return e.$route.name.includes(t)
496
- }));
497
- return t <= s && (i += " mo2f-setup-setup-wizard-timeline-line-active"), i
498
- }
499
- }
500
- }),
501
- z = T,
502
- B = Object(_["a"])(z, P, E, !1, null, null, null),
503
- I = B.exports,
504
- M = {
505
- name: "SetupWizardSteps",
506
- components: {
507
- TheWizardHeader: x,
508
- TheWizardTimeline: I
509
- },
510
- data: function() {
511
- return {
512
- text_exit_link: Object(c["a"])("Close and exit the Setup Wizard", "mo2f-setup"),
513
- exit_href: this.$wpms.exit_url,
514
- content_below: ""
515
- }
516
- },
517
- computed: {
518
- display_exit_link: function() {
519
- return !this.$route.name.includes("check_configuration_step")
520
- }
521
- },
522
- methods: {
523
- displayContentBelow: function(t) {
524
- this.content_below = t
525
- }
526
- },
527
- mounted: function() {
528
- var t = this;
529
- this.$store.dispatch("$_app/start_loading"), Promise.all([this.$store.dispatch("$_settings/getSettings"), this.$store.dispatch("$_plugins/getPlugins")]).finally((function() {
530
- t.$store.dispatch("$_app/stop_loading")
531
- }))
532
- }
533
- },
534
- D = M,
535
- F = Object(_["a"])(D, j, S, !1, null, null, null),
536
- N = F.exports,
537
- Q = function() {
538
- var t = this,
539
- e = t.$createElement,
540
- s = t._self._c || e;
541
- return s("div", {
542
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-import"
543
- }, [s("div", {
544
- staticClass: "mo2f-setup-setup-wizard-content-container"
545
- }, [s("the-wizard-step-counter"), s("content-header", {
546
- attrs: {
547
- title: t.text_header_title,
548
- subtitle: t.text_header_subtitle
549
- }
550
- }), s("div", {
551
- staticClass: "mo2f-setup-setup-wizard-form"
552
- }, [s("form", [s("div", {
553
- staticClass: "mo2f-setup-setup-wizard-form-row"
554
- }, [s("settings-input-radios-with-icons", {
555
- attrs: {
556
- name: "import_from_plugin",
557
- options: t.options
558
- },
559
- model: {
560
- value: t.selectedImport,
561
- callback: function(e) {
562
- t.selectedImport = e
563
- },
564
- expression: "selectedImport"
565
- }
566
- })], 1)])])], 1), s("div", {
567
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
568
- }), s("div", {
569
- staticClass: "mo2f-setup-setup-wizard-step-footer"
570
- }, [s("a", {
571
- attrs: {
572
- href: "#"
573
- },
574
- on: {
575
- click: function(e) {
576
- return e.preventDefault(), t.previousStep(e)
577
- }
578
- }
579
- }, [s("span", {
580
- staticClass: "text-with-arrow text-with-arrow-left"
581
- }, [s("inline-svg", {
582
- staticClass: "icon",
583
- attrs: {
584
- src: i("1fa5"),
585
- width: "16",
586
- height: "18"
587
- }
588
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
589
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
590
- }, [s("button", {
591
- staticClass: "mo2f-setup-button",
592
- attrs: {
593
- type: "button",
594
- name: "skip_step"
595
- },
596
- domProps: {
597
- textContent: t._s(t.text_skip)
598
- },
599
- on: {
600
- click: function(e) {
601
- return e.preventDefault(), t.nextStep(e)
602
- }
603
- }
604
- }), s("button", {
605
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
606
- attrs: {
607
- type: "submit",
608
- name: "next_step",
609
- disabled: null === t.selectedImport
610
- },
611
- on: {
612
- click: function(e) {
613
- return e.preventDefault(), t.handleSubmit(e)
614
- }
615
- }
616
- }, [s("span", {
617
- staticClass: "text-with-arrow text-with-arrow-right"
618
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
619
- staticClass: "icon",
620
- attrs: {
621
- src: i("107e"),
622
- width: "16",
623
- height: "19"
624
- }
625
- })], 1)])])])])
626
- },
627
- L = [],
628
- W = function() {
629
- var t = this,
630
- e = t.$createElement,
631
- s = t._self._c || e;
632
- return s("div", {
633
- staticClass: "mo2f-setup-input-radios-with-icons"
634
- }, t._l(t.options, (function(e) {
635
- return s("label", {
636
- key: e.value,
637
- class: t.labelClass(e),
638
- attrs: {
639
- for: "mo2f-setup-settings-radio-" + t.name + "[" + e.value + "]"
640
- },
641
- on: {
642
- click: function(i) {
643
- return t.clicked(e)
644
- }
645
- }
646
- }, [s("span", {
647
- class: t.titleClass(e.value)
648
- }, [s("inline-svg", {
649
- staticClass: "icon",
650
- attrs: {
651
- src: i("3af1"),
652
- width: "16",
653
- height: "16"
654
- }
655
- })], 1), e.logo.length ? s("img", {
656
- staticClass: "mo2f-setup-logo-icon",
657
- attrs: {
658
- src: e.logo,
659
- alt: e.label
660
- }
661
- }) : t._e(), s("input", {
662
- directives: [{
663
- name: "model",
664
- rawName: "v-model",
665
- value: t.selectedImport,
666
- expression: "selectedImport"
667
- }],
668
- attrs: {
669
- id: "mo2f-setup-settings-radio-" + t.name + "[" + e.value + "]",
670
- type: "radio",
671
- name: t.name,
672
- autocomplete: "off",
673
- disabled: e.disabled || !1
674
- },
675
- domProps: {
676
- value: e.value,
677
- checked: t.isChecked(e.value),
678
- checked: t._q(t.selectedImport, e.value)
679
- },
680
- on: {
681
- change: function(i) {
682
- t.selectedImport = e.value
683
- }
684
- }
685
- }), s("span", {
686
- staticClass: "mo2f-setup-styled-radio-text",
687
- domProps: {
688
- innerHTML: t._s(e.label)
689
- }
690
- }), e.is_pro ? s("inline-svg", {
691
- staticClass: "mo2f-setup-pro-badge",
692
- attrs: {
693
- src: i("87eb"),
694
- width: "46",
695
- height: "26"
696
- }
697
- }) : t._e()], 1)
698
- })), 0)
699
- },
700
- U = [],
701
- H = {
702
- name: "SettingsInputRadiosWithIcons",
703
- props: {
704
- options: Array,
705
- name: String,
706
- value: String
707
- },
708
- data: function() {
709
- return {
710
- has_error: !1
711
- }
712
- },
713
- computed: {
714
- selectedImport: {
715
- get: function() {
716
- return this.value
717
- },
718
- set: function(t) {
719
- this.$emit("input", t)
720
- }
721
- }
722
- },
723
- methods: {
724
- titleClass: function(t) {
725
- var e = "mo2f-setup-styled-radio";
726
- return this.isChecked(t) && (e += " mo2f-setup-styled-radio-checked"), e
727
- },
728
- labelClass: function(t) {
729
- var e = "";
730
- return this.isChecked(t.value) && (e += " mo2f-setup-styled-radio-label-checked"), t.disabled && (e += " mo2f-setup-styled-radio-label-disabled"), t.readonly && (e += " mo2f-setup-styled-radio-label-readonly"), e
731
- },
732
- isChecked: function(t) {
733
- return t === this.selectedImport
734
- },
735
- clicked: function(t) {
736
- t.disabled && this.$emit("clicked-disabled", t)
737
- }
738
- }
739
- },
740
- R = H,
741
- G = (i("8cbb"), Object(_["a"])(R, W, U, !1, null, "1652957d", null)),
742
- V = G.exports,
743
- Y = function() {
744
- var t = this,
745
- e = t.$createElement,
746
- i = t._self._c || e;
747
- return i("p", {
748
- staticClass: "mo2f-setup-setup-wizard-step-count"
749
- }, [t._v(" " + t._s(t.stepValue) + " ")])
750
- },
751
- J = [],
752
- K = {
753
- name: "TheWizardStepCounter",
754
- computed: {
755
- stepValue: function() {
756
- var t = this,
757
- e = this.$wizard_steps.findIndex((function(e) {
758
- return t.$route.name.includes(e)
759
- })) + 1;
760
- return Object(c["c"])(Object(c["a"])("Step %1$s of %2$s", "mo2f-setup"), e, this.$wizard_steps.length)
761
- }
762
- }
763
- },
764
- q = K,
765
- Z = (i("1f7f"), Object(_["a"])(q, Y, J, !1, null, "44fd4a93", null)),
766
- X = Z.exports,
767
- $ = {
768
- name: "WizardStepImport",
769
- components: {
770
- SettingsInputRadiosWithIcons: V,
771
- ContentHeader: h,
772
- TheWizardStepCounter: X
773
- },
774
- data: function() {
775
- return {
776
- text_header_title: Object(c["a"])("Import data from your current plugins", "mo2f-setup"),
777
- text_header_subtitle: Object(c["a"])("We have detected other 2FA plugins installed on your website. Select which plugin's data you would like to import to miniOrange 2-Factor authentication.", "mo2f-setup"),
778
- text_save: Object(c["a"])("Import Data and Continue", "mo2f-setup"),
779
- text_skip: Object(c["a"])("Skip this Step", "mo2f-setup"),
780
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup"),
781
- options: [{
782
- value: "easy-smtp",
783
- label: Object(c["a"])("Wordfence", "mo2f-setup"),
784
- // logo: i("8d41"),
785
- // disabled: !this.$wpms.other_2FA_plugins.includes("easy-smtp"),
786
- // readonly: !this.$wpms.other_2FA_plugins.includes("easy-smtp")
787
- }, {
788
- value: "post-smtp-mailer",
789
- label: Object(c["a"])("WP 2FA", "mo2f-setup"),
790
- //logo: i("8888"),
791
- // disabled: !this.$wpms.other_2FA_plugins.includes("post-smtp-mailer"),
792
- // readonly: !this.$wpms.other_2FA_plugins.includes("post-smtp-mailer")
793
- }, {
794
- value: "smtp-mailer",
795
- label: Object(c["a"])("Two Factor authentication", "mo2f-setup"),
796
- //logo: i("29b8"),
797
- // disabled: !this.$wpms.other_2FA_plugins.includes("smtp-mailer"),
798
- // readonly: !this.$wpms.other_2FA_plugins.includes("smtp-mailer")
799
- }, {
800
- value: "wp-smtp",
801
- label: Object(c["a"])("Google Authenticator", "mo2f-setup"),
802
- //logo: i("b98f"),
803
- // disabled: !this.$wpms.other_2FA_plugins.includes("wp-smtp"),
804
- // readonly: !this.$wpms.other_2FA_plugins.includes("wp-smtp")
805
- }],
806
- selectedImport: null
807
- }
808
- },
809
- methods: {
810
- handleSubmit: function() {
811
- var t = this;
812
- null !== this.selectedImport && (this.$store.dispatch("$_app/start_loading"), this.$store.dispatch("$_settings/importOtherPlugin", {
813
- value: this.selectedImport
814
- }).then((function(e) {
815
- e ? t.nextStep() : t.$wpms_error_toast({})
816
- })).finally((function() {
817
- t.$store.dispatch("$_app/stop_loading")
818
- })))
819
- },
820
- nextStep: function() {
821
- this.$next_step()
822
- },
823
- previousStep: function() {
824
- this.$previous_step()
825
- }
826
- }
827
- },
828
- tt = $,
829
- et = Object(_["a"])(tt, Q, L, !1, null, null, null),
830
- it = et.exports,
831
- st = function() {
832
- var t = this,
833
- e = t.$createElement,
834
- s = t._self._c || e;
835
- return s("div", {
836
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-choose-mailer"
837
- }, [s("div", {
838
- staticClass: "mo2f-setup-setup-wizard-content-container"
839
- }, [s("the-wizard-step-counter"), s("content-header", {
840
- attrs: {
841
- title: t.text_header_title,
842
- subtitle: t.text_header_subtitle
843
- }
844
- }), s("div", {
845
- staticClass: "mo2f-setup-setup-wizard-form"
846
- }, [s("form", [s("div", {
847
- staticClass: "mo2f-setup-setup-wizard-form-row mo2f-setup-setup-wizard-form-row-highlight"
848
- }, [s("h3", [t._v(t._s(t.text_recommended_mailers))]), s("settings-input-radios-with-icons", {
849
- attrs: {
850
- name: "choose_mailer",
851
- options: t.recommended_options
852
- },
853
- model: {
854
- value: t.selectedMailer,
855
- callback: function(e) {
856
- t.selectedMailer = e
857
- },
858
- expression: "selectedMailer"
859
- }
860
- })], 1), s("div", {
861
- staticClass: "mo2f-setup-setup-wizard-form-row"
862
- }, [s("settings-input-radios-with-icons", {
863
- attrs: {
864
- name: "choose_mailer",
865
- options: t.options
866
- },
867
- on: {
868
- "clicked-disabled": t.clickedDisabledOption
869
- },
870
- model: {
871
- value: t.selectedMailer,
872
- callback: function(e) {
873
- t.selectedMailer = e
874
- },
875
- expression: "selectedMailer"
876
- }
877
- })], 1)])])], 1), s("div", {
878
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
879
- }), s("div", {
880
- staticClass: "mo2f-setup-setup-wizard-step-footer"
881
- }, [s("a", {
882
- attrs: {
883
- href: "#"
884
- },
885
- on: {
886
- click: function(e) {
887
- return e.preventDefault(), t.previousStep(e)
888
- }
889
- }
890
- }, [s("span", {
891
- staticClass: "text-with-arrow text-with-arrow-left"
892
- }, [s("inline-svg", {
893
- staticClass: "icon",
894
- attrs: {
895
- src: i("1fa5"),
896
- width: "16",
897
- height: "18"
898
- }
899
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
900
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
901
- }, [s("button", {
902
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
903
- attrs: {
904
- type: "submit",
905
- name: "next_step",
906
- disabled: null === t.selectedMailer
907
- },
908
- on: {
909
- click: function(e) {
910
- return e.preventDefault(), t.handleSubmit(e)
911
- }
912
- }
913
- }, [s("span", {
914
- staticClass: "text-with-arrow text-with-arrow-right"
915
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
916
- staticClass: "icon",
917
- attrs: {
918
- src: i("107e"),
919
- width: "16",
920
- height: "19"
921
- }
922
- })], 1)])])])])
923
- },
924
- at = [],
925
- nt = (i("99af"), i("7db0"), i("ac1f"), i("5319"), i("2f62")),
926
- ot = {
927
- name: "WizardStepChooseMailer",
928
- components: {
929
- SettingsInputRadiosWithIcons: V,
930
- ContentHeader: h,
931
- TheWizardStepCounter: X
932
- },
933
- data: function() {
934
- return {
935
- text_header_title: Object(c["a"])("Choose Your 2FA method", "mo2f-setup"),
936
- text_header_subtitle: Object(c["c"])(Object(c["a"])("Which method would you like to use for 2-factor authentication? Not sure which method to choose? Reach out to us", "mo2f-setup"), '<a href="https://plugins.miniorange.com/2-factor-authentication-for-wordpress" target="_blank" rel="noopener noreferrer">', "</a>"),
937
- text_save: Object(c["a"])("Save and Continue", "mo2f-setup"),
938
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup"),
939
- text_recommended_mailers: Object(c["a"])("Recommended Methods", "mo2f-setup"),
940
- // recommended_options: [{
941
- // value: "smtpcom",
942
- // label: this.$wpms.mailer_options["smtpcom"].title,
943
- // logo: i("78cb")
944
- // }, {
945
- // value: "sendinblue",
946
- // label: this.$wpms.mailer_options["sendinblue"].title,
947
- // logo: i("7f3e")
948
- // }],
949
- // options: [{
950
- // value: "mailgun",
951
- // label: this.$wpms.mailer_options["mailgun"].title,
952
- // logo: i("776b")
953
- // }, {
954
- // value: "sendgrid",
955
- // label: this.$wpms.mailer_options["sendgrid"].title,
956
- // logo: i("b1c2")
957
- // }, {
958
- // value: "gmail",
959
- // label: this.$wpms.mailer_options["gmail"].title,
960
- // logo: i("ddc9"),
961
- // notice: this.$wpms.mailer_options["gmail"].edu_notice
962
- // }, {
963
- // value: "amazonses",
964
- // label: this.$wpms.mailer_options["amazonses"].title,
965
- // logo: i("7de8"),
966
- // disabled: !this.$wpms.is_pro,
967
- // is_pro: !this.$wpms.is_pro,
968
- // notice: this.$wpms.mailer_options["amazonses"].edu_notice
969
- // }, {
970
- // value: "outlook",
971
- // label: this.$wpms.mailer_options["outlook"].title,
972
- // logo: i("2db4"),
973
- // disabled: !this.$wpms.is_pro,
974
- // is_pro: !this.$wpms.is_pro,
975
- // notice: this.$wpms.mailer_options["outlook"].edu_notice
976
- // }, {
977
- // value: "zoho",
978
- // label: this.$wpms.mailer_options["zoho"].title,
979
- // logo: i("2bc2"),
980
- // disabled: !this.$wpms.is_pro,
981
- // is_pro: !this.$wpms.is_pro
982
- // }, {
983
- // value: "smtp",
984
- // label: this.$wpms.mailer_options["smtp"].title,
985
- // logo: i("5f30")
986
- // }],
987
- // selectedMailer: this.currentMailer
988
- }
989
- },
990
- watch: {
991
- currentMailer: function(t) {
992
- this.selectedMailer = t
993
- }
994
- },
995
- computed: Object(n["a"])(Object(n["a"])({}, Object(nt["b"])({
996
- currentMailer: "$_settings/mailer"
997
- })), {}, {
998
- selectedMailerOptions: function() {
999
- var t = this;
1000
- return this.recommended_options.concat(this.options).find((function(e) {
1001
- return e.value === t.selectedMailer
1002
- }))
1003
- }
1004
- }),
1005
- methods: {
1006
- handleSubmit: function(t) {
1007
- var e = this,
1008
- i = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
1009
- null !== this.selectedMailer && (void 0 === this.selectedMailerOptions.notice || i ? (this.$store.dispatch("$_app/start_loading"), this.$store.dispatch("$_settings/updateSettings", {
1010
- value: {
1011
- mail: {
1012
- mailer: this.selectedMailer
1013
- }
1014
- }
1015
- }).then((function(t) {
1016
- t.success ? (e.$store.dispatch("$_settings/setMailer", e.selectedMailer), e.nextStep()) : e.$wpms_error_toast({})
1017
- })).finally((function() {
1018
- e.$store.dispatch("$_app/stop_loading")
1019
- }))) : this.$swal({
1020
- title: this.selectedMailerOptions.label + " " + Object(c["a"])("Mailer", "mo2f-setup"),
1021
- html: this.selectedMailerOptions.notice,
1022
- width: 650,
1023
- showCloseButton: !0,
1024
- allowOutsideClick: !1,
1025
- allowEscapeKey: !1,
1026
- allowEnterKey: !1,
1027
- customClass: {
1028
- container: "mo2f-setup-swal"
1029
- },
1030
- confirmButtonText: Object(c["a"])("I Understand, Continue", "mo2f-setup"),
1031
- cancelButtonText: Object(c["a"])("Choose a Different Mailer", "mo2f-setup"),
1032
- showCancelButton: !0,
1033
- reverseButtons: !0
1034
- }).then((function(t) {
1035
- t.value ? e.handleSubmit(null, !0) : void 0 !== t.dismiss && "cancel" === t.dismiss && (e.selectedMailer = null)
1036
- })))
1037
- },
1038
- nextStep: function() {
1039
- var t = this,
1040
- e = this.$wizard_steps.findIndex((function(e) {
1041
- return t.$route.name.includes(e)
1042
- })) + 1;
1043
- this.$router.push({
1044
- name: "".concat(this.$wizard_steps[e], "_").concat(this.selectedMailer)
1045
- })
1046
- },
1047
- previousStep: function() {
1048
- this.$previous_step()
1049
- },
1050
- clickedDisabledOption: function(t) {
1051
- this.$swal({
1052
- title: t.label + " " + Object(c["a"])("is a PRO Feature", "mo2f-setup"),
1053
- html: "<p>".concat(this.$wpms.education.upgrade_text.replace("%mailer%", t.label), '</p>\n\t\t\t\t\t\t<p><a href="').concat(this.$wpms.education.upgrade_url + "&utm_content=" + t.value, '" class="mo2f-setup-button mo2f-setup-button-small mo2f-setup-button-main" target="_blank" rel="noopener noreferrer">').concat(this.$wpms.education.upgrade_button, '</a></p>\n\t\t\t\t\t\t<p class="upgrade-bonus"><span class="icon-container"><svg data-v-6d7a07a8="" viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg></span>').concat(this.$wpms.education.upgrade_bonus, "</p>\n\t\t\t\t\t\t<p>").concat(this.$wpms.education.upgrade_doc, "</p>"),
1054
- width: 550,
1055
- imageUrl: i("b32f"),
1056
- imageWidth: 31,
1057
- imageHeight: 35,
1058
- showCloseButton: !0,
1059
- customClass: {
1060
- container: "mo2f-setup-swal mo2f-setup-upgrade-popup"
1061
- },
1062
- showConfirmButton: !1
1063
- })
1064
- }
1065
- },
1066
- mounted: function() {
1067
- this.selectedMailer = this.currentMailer
1068
- }
1069
- },
1070
- rt = ot,
1071
- lt = Object(_["a"])(rt, st, at, !1, null, null, null),
1072
- ct = lt.exports,
1073
- pt = function() {
1074
- var t = this,
1075
- e = t.$createElement,
1076
- s = t._self._c || e;
1077
- return s("div", {
1078
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-configure-mailer"
1079
- }, [s("div", {
1080
- staticClass: "mo2f-setup-setup-wizard-content-container"
1081
- }, [s("div", {
1082
- staticClass: "mo2f-setup-configure-mailer-header"
1083
- }, [s("div", {
1084
- staticClass: "mo2f-setup-configure-mailer-header-container"
1085
- }, [s("the-wizard-step-counter"), s("content-header", {
1086
- attrs: {
1087
- title: t.text_header_title,
1088
- subtitle: t.text_header_subtitle
1089
- }
1090
- })], 1), s("span", {
1091
- staticClass: "mo2f-setup-configure-mailer-logo"
1092
- }, [s("inline-svg", {
1093
- attrs: {
1094
- src: t.logo(t.mailer),
1095
- height: "40"
1096
- }
1097
- })], 1)]), s("div", {
1098
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
1099
- }), s("router-view", {
1100
- ref: "mailerConfiguration"
1101
- })], 1), s("div", {
1102
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
1103
- }), s("div", {
1104
- staticClass: "mo2f-setup-setup-wizard-step-footer"
1105
- }, [s("a", {
1106
- attrs: {
1107
- href: "#"
1108
- },
1109
- on: {
1110
- click: function(e) {
1111
- return e.preventDefault(), t.previousStep(e)
1112
- }
1113
- }
1114
- }, [s("span", {
1115
- staticClass: "text-with-arrow text-with-arrow-left"
1116
- }, [s("inline-svg", {
1117
- staticClass: "icon",
1118
- attrs: {
1119
- src: i("1fa5"),
1120
- width: "16",
1121
- height: "18"
1122
- }
1123
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
1124
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
1125
- }, [s("button", {
1126
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
1127
- attrs: {
1128
- type: "submit",
1129
- name: "next_step",
1130
- disabled: null === t.mailer || !0 === t.blocked_step
1131
- },
1132
- on: {
1133
- click: function(e) {
1134
- return e.preventDefault(), t.handleSubmit(e)
1135
- }
1136
- }
1137
- }, [s("span", {
1138
- staticClass: "text-with-arrow text-with-arrow-right"
1139
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
1140
- staticClass: "icon",
1141
- attrs: {
1142
- src: i("107e"),
1143
- width: "16",
1144
- height: "19"
1145
- }
1146
- })], 1)])])])])
1147
- },
1148
- mt = [],
1149
- ut = i("5935"),
1150
- dt = {
1151
- name: "WizardStepConfigureMailer",
1152
- components: {
1153
- ContentHeader: h,
1154
- TheWizardStepCounter: X
1155
- },
1156
- data: function() {
1157
- return {
1158
- text_header_title: Object(c["a"])("Configure Mailer Settings", "mo2f-setup"),
1159
- text_header_subtitle: Object(c["a"])("Below, we'll show you all of the settings required to set up this mailer.", "mo2f-setup"),
1160
- text_save: Object(c["a"])("Save and Continue", "mo2f-setup"),
1161
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup")
1162
- }
1163
- },
1164
- computed: Object(n["a"])(Object(n["a"])({}, Object(nt["b"])({
1165
- mailer: "$_settings/mailer"
1166
- })), Object(ut["b"])("$_wizard", ["blocked_step"])),
1167
- methods: {
1168
- handleSubmit: function() {
1169
- var t = this;
1170
- return !this.blocked_step && (this.$refs.mailerConfiguration.areRequiredFieldsValid() ? (this.$store.dispatch("$_app/start_loading"), void this.$store.dispatch("$_settings/saveCurrentSettings").then((function(e) {
1171
- e.success ? t.$next_step() : t.$wpms_error_toast({})
1172
- })).finally((function() {
1173
- t.$store.dispatch("$_app/stop_loading")
1174
- }))) : (this.$required_fields_modal(), !1))
1175
- },
1176
- previousStep: function() {
1177
- this.blocked_step = !1, this.$previous_step()
1178
- },
1179
- logo: function(t) {
1180
- return t = "mail" === t ? "smtp" : t, i("31f1")("./".concat(t, ".svg"))
1181
- }
1182
- }
1183
- },
1184
- _t = dt,
1185
- ft = Object(_["a"])(_t, pt, mt, !1, null, null, null),
1186
- ht = ft.exports,
1187
- gt = function() {
1188
- var t = this,
1189
- e = t.$createElement,
1190
- s = t._self._c || e;
1191
- return s("div", {
1192
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-plugin-features"
1193
- }, [s("div", {
1194
- staticClass: "mo2f-setup-setup-wizard-content-container"
1195
- }, [s("div", {
1196
- staticClass: "mo2f-setup-plugin-features-header"
1197
- }, [s("the-wizard-step-counter"), s("content-header", {
1198
- attrs: {
1199
- title: t.text_header_title,
1200
- subtitle: t.text_header_subtitle
1201
- }
1202
- })], 1), s("div", {
1203
- staticClass: "mo2f-setup-plugin-features-list"
1204
- }, [s("settings-input-long-checkbox", {
1205
- attrs: {
1206
- value: !0,
1207
- name: "improved_deliverability",
1208
- label: t.text_improved_email_deliverability,
1209
- description: t.text_improved_email_deliverability_desc,
1210
- disabled: ""
1211
- }
1212
- }), s("settings-input-long-checkbox", {
1213
- attrs: {
1214
- value: !0,
1215
- name: "error_tracking",
1216
- label: t.text_error_tracking,
1217
- description: t.text_error_tracking_desc,
1218
- disabled: ""
1219
- }
1220
- }), t.contact_form_already_installed ? t._e() : s("settings-input-long-checkbox", {
1221
- attrs: {
1222
- name: "smart_contact_form",
1223
- label: t.text_smart_contact_form,
1224
- description: t.text_smart_contact_form_desc
1225
- },
1226
- model: {
1227
- value: t.smart_contact_form,
1228
- callback: function(e) {
1229
- t.smart_contact_form = e
1230
- },
1231
- expression: "smart_contact_form"
1232
- }
1233
- }), s("settings-input-long-checkbox", {
1234
- attrs: {
1235
- name: "email_log",
1236
- label: t.text_email_log,
1237
- description: t.text_email_log_desc,
1238
- show_pro: !t.is_pro
1239
- },
1240
- model: {
1241
- value: t.email_log,
1242
- callback: function(e) {
1243
- t.email_log = e
1244
- },
1245
- expression: "email_log"
1246
- }
1247
- }), t.is_pro ? t._e() : s("settings-input-long-checkbox", {
1248
- attrs: {
1249
- name: "manage_notifications",
1250
- label: t.text_manage_notifications,
1251
- description: t.text_manage_notifications_desc,
1252
- show_pro: !t.is_pro
1253
- },
1254
- model: {
1255
- value: t.manage_notifications,
1256
- callback: function(e) {
1257
- t.manage_notifications = e
1258
- },
1259
- expression: "manage_notifications"
1260
- }
1261
- }), t.is_multisite && !t.is_pro ? s("settings-input-long-checkbox", {
1262
- attrs: {
1263
- name: "network_settings",
1264
- label: t.text_network_settings,
1265
- description: t.text_network_settings_desc,
1266
- show_pro: !t.is_pro
1267
- },
1268
- model: {
1269
- value: t.network_settings,
1270
- callback: function(e) {
1271
- t.network_settings = e
1272
- },
1273
- expression: "network_settings"
1274
- }
1275
- }) : t._e()], 1)]), s("div", {
1276
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
1277
- }), s("div", {
1278
- staticClass: "mo2f-setup-setup-wizard-step-footer"
1279
- }, [s("a", {
1280
- attrs: {
1281
- href: "#"
1282
- },
1283
- on: {
1284
- click: function(e) {
1285
- return e.preventDefault(), t.previousStep(e)
1286
- }
1287
- }
1288
- }, [s("span", {
1289
- staticClass: "text-with-arrow text-with-arrow-left"
1290
- }, [s("inline-svg", {
1291
- staticClass: "icon",
1292
- attrs: {
1293
- src: i("1fa5"),
1294
- width: "16",
1295
- height: "18"
1296
- }
1297
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
1298
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
1299
- }, [s("button", {
1300
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
1301
- attrs: {
1302
- type: "submit",
1303
- name: "next_step"
1304
- },
1305
- on: {
1306
- click: function(e) {
1307
- return e.preventDefault(), t.handleSubmit(e)
1308
- }
1309
- }
1310
- }, [s("span", {
1311
- staticClass: "text-with-arrow text-with-arrow-right"
1312
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
1313
- staticClass: "icon",
1314
- attrs: {
1315
- src: i("107e"),
1316
- width: "16",
1317
- height: "19"
1318
- }
1319
- })], 1)])])])])
1320
- },
1321
- wt = [],
1322
- bt = (i("4de4"), function() {
1323
- var t = this,
1324
- e = t.$createElement,
1325
- s = t._self._c || e;
1326
- return s("label", {
1327
- staticClass: "settings-input-long-checkbox",
1328
- class: {
1329
- "settings-input-long-checkbox-checked": t.value, "settings-input-long-checkbox-disabled": t.disabled
1330
- },
1331
- attrs: {
1332
- for: "mo2f-setup-settings-long-checkbox-" + t.name
1333
- }
1334
- }, [s("div", {
1335
- staticClass: "settings-input-long-checkbox-header"
1336
- }, [s("span", {
1337
- staticClass: "title-container"
1338
- }, [s("span", {
1339
- staticClass: "label",
1340
- domProps: {
1341
- innerHTML: t._s(t.label)
1342
- }
1343
- }), t.show_pro ? s("inline-svg", {
1344
- staticClass: "mo2f-setup-pro-badge",
1345
- attrs: {
1346
- src: i("87eb"),
1347
- width: "46",
1348
- height: "24"
1349
- }
1350
- }) : t._e()], 1), t.description ? s("p", {
1351
- staticClass: "description",
1352
- domProps: {
1353
- innerHTML: t._s(t.description)
1354
- }
1355
- }) : t._e()]), s("span", {
1356
- staticClass: "settings-input-long-checkbox-container"
1357
- }, [s("span", {
1358
- staticClass: "checkbox",
1359
- class: {
1360
- "checkbox-checked": t.value, "checkbox-disabled": t.disabled
1361
- }
1362
- }, [s("inline-svg", {
1363
- staticClass: "icon",
1364
- attrs: {
1365
- src: i("3af1"),
1366
- width: "16",
1367
- height: "16"
1368
- }
1369
- })], 1), s("input", {
1370
- attrs: {
1371
- id: "mo2f-setup-settings-long-checkbox-" + t.name,
1372
- type: "checkbox",
1373
- name: t.name,
1374
- disabled: t.disabled
1375
- },
1376
- domProps: {
1377
- checked: t.value
1378
- },
1379
- on: {
1380
- input: function(e) {
1381
- return t.$emit("input", e.target.checked)
1382
- }
1383
- }
1384
- })])])
1385
- }),
1386
- At = [],
1387
- vt = {
1388
- name: "SettingsInputLongCheckbox",
1389
- props: {
1390
- label: String,
1391
- name: String,
1392
- value: Boolean,
1393
- description: String,
1394
- disabled: Boolean,
1395
- show_pro: Boolean
1396
- }
1397
- },
1398
- xt = vt,
1399
- yt = Object(_["a"])(xt, bt, At, !1, null, null, null),
1400
- Ct = yt.exports,
1401
- kt = {
1402
- name: "WizardStepPluginFeatures",
1403
- components: {
1404
- ContentHeader: h,
1405
- TheWizardStepCounter: X,
1406
- SettingsInputLongCheckbox: Ct
1407
- },
1408
- data: function() {
1409
- return {
1410
- text_header_title: Object(c["a"])("Which email features do you want to enable?", "mo2f-setup"),
1411
- text_header_subtitle: Object(c["a"])("Make sure you're getting the most out of WP Mail SMTP. Just check all of the features you'd like to use, and we'll go ahead and enable those for you.", "mo2f-setup"),
1412
- text_save: Object(c["a"])("Save and Continue", "mo2f-setup"),
1413
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup"),
1414
- text_improved_email_deliverability: Object(c["a"])("Improved Email Deliverability", "mo2f-setup"),
1415
- text_improved_email_deliverability_desc: Object(c["a"])("Ensure your emails are sent successfully and reliably.", "mo2f-setup"),
1416
- text_error_tracking: Object(c["a"])("Email Error Tracking", "mo2f-setup"),
1417
- text_error_tracking_desc: Object(c["a"])("Easily spot errors causing delivery issues.", "mo2f-setup"),
1418
- text_smart_contact_form: Object(c["a"])("Smart Contact Form", "mo2f-setup"),
1419
- text_smart_contact_form_desc: Object(c["a"])("Create beautiful contact forms with just a few clicks.", "mo2f-setup"),
1420
- text_email_log: Object(c["a"])("Detailed Email Logs", "mo2f-setup"),
1421
- text_email_log_desc: Object(c["a"])("Keep records of every email that's sent out from your website.", "mo2f-setup"),
1422
- text_manage_notifications: Object(c["a"])("Manage Default Notifications", "mo2f-setup"),
1423
- text_manage_notifications_desc: Object(c["a"])("Control which email notifications your WordPress site sends.", "mo2f-setup"),
1424
- text_network_settings: Object(c["a"])("Multisite Network Settings", "mo2f-setup"),
1425
- text_network_settings_desc: Object(c["a"])("Save time with powerful WordPress Multisite controls.", "mo2f-setup"),
1426
- is_pro: this.$wpms.is_pro,
1427
- is_multisite: this.$wpms.is_multisite,
1428
- email_log: !1,
1429
- manage_notifications: !1,
1430
- network_settings: !1
1431
- }
1432
- },
1433
- computed: Object(n["a"])(Object(n["a"])({}, Object(nt["b"])({
1434
- contact_form_already_installed: "$_plugins/contact_form_plugin_already_installed",
1435
- email_log_setting: "$_settings/email_log_enabled"
1436
- })), Object(ut["b"])("$_plugins", {
1437
- smart_contact_form: "smart_contact_form_setting"
1438
- })),
1439
- watch: {
1440
- smart_contact_form: function(t) {
1441
- if (this.contact_form_already_installed) return !1;
1442
- this.showWPFormsPluginInstallFooterNotice(t)
1443
- },
1444
- contact_form_already_installed: function(t) {
1445
- t && this.$emit("displayContentBelow", "")
1446
- },
1447
- email_log_setting: function(t) {
1448
- this.email_log = t
1449
- }
1450
- },
1451
- methods: {
1452
- handleSubmit: function() {
1453
- var t = this;
1454
- this.$store.dispatch("$_app/start_loading");
1455
- var e = [];
1456
- if (this.is_pro) {
1457
- var i = {
1458
- value: {
1459
- logs: {
1460
- enabled: this.email_log
1461
- }
1462
- }
1463
- };
1464
- e.push(this.$store.dispatch("$_settings/updateSettings", i)), e.push(this.$store.dispatch("$_settings/setLogs", this.email_log))
1465
- }
1466
- if (this.smart_contact_form && !this.contact_form_already_installed && e.push(this.$store.dispatch("$_plugins/installPlugin", "wpforms-lite")), !this.is_pro) {
1467
- var s = [];
1468
- this.email_log && s.push("email_log"), this.manage_notifications && s.push("manage_notifications"), this.network_settings && s.push("network_settings"), e.push(this.$store.dispatch("$_settings/savePluginFeatures", s))
1469
- }
1470
- Promise.all(e).then((function(e) {
1471
- var i = e.filter((function(t) {
1472
- return t.success
1473
- }));
1474
- i.length === e.length && (t.$emit("displayContentBelow", ""), t.$next_step())
1475
- })).finally((function() {
1476
- t.$store.dispatch("$_app/stop_loading")
1477
- }))
1478
- },
1479
- previousStep: function() {
1480
- var t = this;
1481
- this.$emit("displayContentBelow", "");
1482
- var e = this.$wizard_steps.findIndex((function(e) {
1483
- return t.$route.name.includes(e)
1484
- })) - 1;
1485
- this.$router.push({
1486
- name: "".concat(this.$wizard_steps[e], "_").concat(this.$store.getters["$_settings/mailer"])
1487
- })
1488
- },
1489
- showWPFormsPluginInstallFooterNotice: function(t) {
1490
- var e = t ? "<p> ".concat(Object(c["a"])("The following plugin will be installed for free: WPForms", "mo2f-setup"), "</p>") : "";
1491
- this.$emit("displayContentBelow", e)
1492
- }
1493
- },
1494
- mounted: function() {
1495
- if (this.showWPFormsPluginInstallFooterNotice(this.smart_contact_form && !this.contact_form_already_installed), this.email_log = this.$store.getters["$_settings/email_log_enabled"], !this.$wpms.is_pro) {
1496
- var t = this.$store.getters["$_settings/plugin_features"];
1497
- t.includes("email_log") && (this.email_log = !0), t.includes("manage_notifications") && (this.manage_notifications = !0), t.includes("network_settings") && (this.network_settings = !0)
1498
- }
1499
- }
1500
- },
1501
- Ot = kt,
1502
- jt = Object(_["a"])(Ot, gt, wt, !1, null, null, null),
1503
- St = jt.exports,
1504
- Pt = function() {
1505
- var t = this,
1506
- e = t.$createElement,
1507
- s = t._self._c || e;
1508
- return s("div", {
1509
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-help-improve"
1510
- }, [s("div", {
1511
- staticClass: "mo2f-setup-setup-wizard-content-container"
1512
- }, [s("div", {
1513
- staticClass: "mo2f-setup-help-improve-header"
1514
- }, [s("the-wizard-step-counter"), s("content-header", {
1515
- attrs: {
1516
- title: t.text_header_title,
1517
- subtitle: t.text_header_subtitle
1518
- }
1519
- })], 1), s("settings-input-text", {
1520
- attrs: {
1521
- name: "email",
1522
- type: "email",
1523
- label: t.text_email_label,
1524
- description: t.text_email_description
1525
- },
1526
- model: {
1527
- value: t.email,
1528
- callback: function(e) {
1529
- t.email = e
1530
- },
1531
- expression: "email"
1532
- }
1533
- }), s("settings-input-checkbox", {
1534
- attrs: {
1535
- name: "usage_tracking",
1536
- label: t.text_usage_tracking_label,
1537
- description: t.text_usage_tracking_description,
1538
- tooltip: t.text_usage_tracking_tooltip
1539
- },
1540
- model: {
1541
- value: t.usage_tracking,
1542
- callback: function(e) {
1543
- t.usage_tracking = e
1544
- },
1545
- expression: "usage_tracking"
1546
- }
1547
- })], 1), s("div", {
1548
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
1549
- }), s("div", {
1550
- staticClass: "mo2f-setup-setup-wizard-step-footer"
1551
- }, [s("a", {
1552
- attrs: {
1553
- href: "#"
1554
- },
1555
- on: {
1556
- click: function(e) {
1557
- return e.preventDefault(), t.previousStep(e)
1558
- }
1559
- }
1560
- }, [s("span", {
1561
- staticClass: "text-with-arrow text-with-arrow-left"
1562
- }, [s("inline-svg", {
1563
- staticClass: "icon",
1564
- attrs: {
1565
- src: i("1fa5"),
1566
- width: "16",
1567
- height: "18"
1568
- }
1569
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
1570
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
1571
- }, [s("button", {
1572
- staticClass: "mo2f-setup-button",
1573
- attrs: {
1574
- type: "button",
1575
- name: "skip_step"
1576
- },
1577
- domProps: {
1578
- textContent: t._s(t.text_skip)
1579
- },
1580
- on: {
1581
- click: function(e) {
1582
- return e.preventDefault(), t.nextStep(e)
1583
- }
1584
- }
1585
- }), s("button", {
1586
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
1587
- attrs: {
1588
- type: "submit",
1589
- name: "next_step"
1590
- },
1591
- on: {
1592
- click: function(e) {
1593
- return e.preventDefault(), t.handleSubmit(e)
1594
- }
1595
- }
1596
- }, [s("span", {
1597
- staticClass: "text-with-arrow text-with-arrow-right"
1598
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
1599
- staticClass: "icon",
1600
- attrs: {
1601
- src: i("107e"),
1602
- width: "16",
1603
- height: "19"
1604
- }
1605
- })], 1)])])])])
1606
- },
1607
- Et = [],
1608
- Tt = function() {
1609
- var t = this,
1610
- e = t.$createElement,
1611
- s = t._self._c || e;
1612
- return s("div", {
1613
- staticClass: "settings-input-text",
1614
- class: {
1615
- "settings-input-text-with-copy": t.copy, "input-error": t.has_errors || t.field_error
1616
- }
1617
- }, [s("label", {
1618
- staticClass: "settings-input-label-container",
1619
- attrs: {
1620
- for: t.id
1621
- }
1622
- }, [t.label ? s("span", {
1623
- staticClass: "label",
1624
- domProps: {
1625
- innerHTML: t._s(t.label)
1626
- }
1627
- }) : t._e(), t.tooltip ? s("settings-info-tooltip", {
1628
- attrs: {
1629
- content: t.tooltip
1630
- }
1631
- }) : t._e()], 1), s("span", {
1632
- staticClass: "settings-input-container"
1633
- }, ["checkbox" === t.type ? s("input", {
1634
- directives: [{
1635
- name: "model",
1636
- rawName: "v-model",
1637
- value: t.currentValue,
1638
- expression: "currentValue"
1639
- }],
1640
- ref: "input",
1641
- attrs: {
1642
- id: t.id,
1643
- name: t.name,
1644
- placeholder: t.placeholder,
1645
- readonly: t.readonly,
1646
- disabled: t.disabled,
1647
- type: "checkbox"
1648
- },
1649
- domProps: {
1650
- checked: Array.isArray(t.currentValue) ? t._i(t.currentValue, null) > -1 : t.currentValue
1651
- },
1652
- on: {
1653
- change: [function(e) {
1654
- var i = t.currentValue,
1655
- s = e.target,
1656
- a = !!s.checked;
1657
- if (Array.isArray(i)) {
1658
- var n = null,
1659
- o = t._i(i, n);
1660
- s.checked ? o < 0 && (t.currentValue = i.concat([n])) : o > -1 && (t.currentValue = i.slice(0, o).concat(i.slice(o + 1)))
1661
- } else t.currentValue = a
1662
- }, t.inputUpdate]
1663
- }
1664
- }) : "radio" === t.type ? s("input", {
1665
- directives: [{
1666
- name: "model",
1667
- rawName: "v-model",
1668
- value: t.currentValue,
1669
- expression: "currentValue"
1670
- }],
1671
- ref: "input",
1672
- attrs: {
1673
- id: t.id,
1674
- name: t.name,
1675
- placeholder: t.placeholder,
1676
- readonly: t.readonly,
1677
- disabled: t.disabled,
1678
- type: "radio"
1679
- },
1680
- domProps: {
1681
- checked: t._q(t.currentValue, null)
1682
- },
1683
- on: {
1684
- change: [function(e) {
1685
- t.currentValue = null
1686
- }, t.inputUpdate]
1687
- }
1688
- }) : s("input", {
1689
- directives: [{
1690
- name: "model",
1691
- rawName: "v-model",
1692
- value: t.currentValue,
1693
- expression: "currentValue"
1694
- }],
1695
- ref: "input",
1696
- attrs: {
1697
- id: t.id,
1698
- name: t.name,
1699
- placeholder: t.placeholder,
1700
- readonly: t.readonly,
1701
- disabled: t.disabled,
1702
- type: t.type
1703
- },
1704
- domProps: {
1705
- value: t.currentValue
1706
- },
1707
- on: {
1708
- change: t.inputUpdate,
1709
- input: function(e) {
1710
- e.target.composing || (t.currentValue = e.target.value)
1711
- }
1712
- }
1713
- }), t.copy ? s("button", {
1714
- staticClass: "mo2f-setup-button mo2f-setup-button-small",
1715
- class: {
1716
- "mo2f-setup-button-copied": t.show_copied
1717
- },
1718
- attrs: {
1719
- title: t.text_copy_button
1720
- },
1721
- on: {
1722
- click: function(e) {
1723
- return e.preventDefault(), t.copyValue(e)
1724
- }
1725
- }
1726
- }, [s("span", {
1727
- staticClass: "copy-button-container"
1728
- }, [s("inline-svg", {
1729
- staticClass: "icon",
1730
- class: {
1731
- active: !t.show_copied
1732
- },
1733
- attrs: {
1734
- src: i("d51e"),
1735
- width: "16",
1736
- height: "16"
1737
- }
1738
- }), s("inline-svg", {
1739
- staticClass: "icon copied",
1740
- class: {
1741
- active: t.show_copied
1742
- },
1743
- attrs: {
1744
- src: i("e108"),
1745
- width: "16",
1746
- height: "16"
1747
- }
1748
- })], 1)]) : t._e()]), t.has_errors ? s("p", {
1749
- staticClass: "error"
1750
- }, [s("inline-svg", {
1751
- staticClass: "icon",
1752
- attrs: {
1753
- src: i("827a"),
1754
- width: "16"
1755
- }
1756
- }), s("span", {
1757
- domProps: {
1758
- innerHTML: t._s(t.text_error)
1759
- }
1760
- })], 1) : t._e(), t.description ? s("p", {
1761
- staticClass: "description",
1762
- domProps: {
1763
- innerHTML: t._s(t.description)
1764
- }
1765
- }) : t._e()])
1766
- },
1767
- zt = [],
1768
- Bt = (i("4d63"), i("25f0"), i("4795"), function() {
1769
- var t = this,
1770
- e = t.$createElement,
1771
- s = t._self._c || e;
1772
- return s("span", {
1773
- directives: [{
1774
- name: "tooltip",
1775
- rawName: "v-tooltip",
1776
- value: t.tooltip_data,
1777
- expression: "tooltip_data"
1778
- }],
1779
- staticClass: "mo2f-setup-info",
1780
- attrs: {
1781
- tabindex: "0"
1782
- }
1783
- }, [s("inline-svg", {
1784
- staticClass: "icon",
1785
- attrs: {
1786
- src: i("8475"),
1787
- width: "14",
1788
- height: "14"
1789
- }
1790
- })], 1)
1791
- }),
1792
- It = [],
1793
- Mt = {
1794
- name: "SettingsInfoTooltip",
1795
- props: {
1796
- content: String
1797
- },
1798
- data: function() {
1799
- return {
1800
- tooltip_data: {
1801
- content: this.content,
1802
- autoHide: !1,
1803
- trigger: "hover focus click"
1804
- }
1805
- }
1806
- }
1807
- },
1808
- Dt = Mt,
1809
- Ft = (i("ba75"), Object(_["a"])(Dt, Bt, It, !1, null, "74a4d2ae", null)),
1810
- Nt = Ft.exports,
1811
- Qt = {
1812
- name: "SettingsInputText",
1813
- components: {
1814
- SettingsInfoTooltip: Nt
1815
- },
1816
- props: {
1817
- name: String,
1818
- value: String,
1819
- label: String,
1820
- description: String,
1821
- placeholder: String,
1822
- type: {
1823
- type: String,
1824
- default: "text"
1825
- },
1826
- tooltip: String,
1827
- readonly: Boolean,
1828
- disabled: Boolean,
1829
- format: RegExp,
1830
- error: {
1831
- type: String,
1832
- default: ""
1833
- },
1834
- copy: {
1835
- type: Boolean,
1836
- default: !1
1837
- },
1838
- is_error: Boolean
1839
- },
1840
- data: function() {
1841
- return {
1842
- has_error: !1,
1843
- id: "input-" + this.name,
1844
- text_copy_button: Object(c["a"])("Copy input value", "mo2f-setup"),
1845
- text_copied: Object(c["a"])("Copied!", "mo2f-setup"),
1846
- show_copied: !1
1847
- }
1848
- },
1849
- computed: {
1850
- currentValue: {
1851
- get: function() {
1852
- return this.value
1853
- },
1854
- set: function(t) {
1855
- this.$emit("is_error_update", !1), this.$emit("input", t)
1856
- }
1857
- },
1858
- field_error: {
1859
- get: function() {
1860
- return this.is_error
1861
- },
1862
- set: function(t) {
1863
- this.$emit("is_error_update", t)
1864
- }
1865
- },
1866
- has_errors: function() {
1867
- return this.error.length > 0 || this.has_error
1868
- },
1869
- text_error: function() {
1870
- return this.error.length > 0 ? this.error : Object(c["a"])("The value entered does not match the required format", "mo2f-setup")
1871
- }
1872
- },
1873
- methods: {
1874
- inputUpdate: function(t) {
1875
- return !this.disabled && (this.has_error = !1, this.format && !this.format.test(t.target.value) ? (this.has_error = !0, !1) : void 0)
1876
- },
1877
- copyValue: function() {
1878
- var t = this.$refs.input;
1879
- t.select(), document.execCommand("copy"), this.show_copied = !0;
1880
- var e = this;
1881
- setTimeout((function() {
1882
- e.show_copied = !1
1883
- }), 1e3)
1884
- }
1885
- }
1886
- },
1887
- Lt = Qt,
1888
- Wt = Object(_["a"])(Lt, Tt, zt, !1, null, null, null),
1889
- Ut = Wt.exports,
1890
- Ht = function() {
1891
- var t = this,
1892
- e = t.$createElement,
1893
- s = t._self._c || e;
1894
- return s("div", {
1895
- staticClass: "settings-input-checkbox",
1896
- class: {
1897
- "settings-input-checkbox-checked": t.value, "settings-input-checkbox-disabled": t.disabled
1898
- }
1899
- }, [s("span", {
1900
- staticClass: "settings-input-label-container"
1901
- }, [s("span", {
1902
- staticClass: "label",
1903
- domProps: {
1904
- innerHTML: t._s(t.label)
1905
- }
1906
- }), t.tooltip ? s("settings-info-tooltip", {
1907
- attrs: {
1908
- content: t.tooltip
1909
- }
1910
- }) : t._e()], 1), s("label", {
1911
- staticClass: "settings-input-checkbox-container",
1912
- attrs: {
1913
- for: "mo2f-setup-settings-checkbox-" + t.name
1914
- }
1915
- }, [s("span", {
1916
- staticClass: "checkbox",
1917
- class: {
1918
- "checkbox-checked": t.value, "checkbox-disabled": t.disabled
1919
- }
1920
- }, [s("inline-svg", {
1921
- staticClass: "icon",
1922
- attrs: {
1923
- src: i("3af1"),
1924
- width: "14",
1925
- height: "14"
1926
- }
1927
- })], 1), s("input", {
1928
- attrs: {
1929
- id: "mo2f-setup-settings-checkbox-" + t.name,
1930
- type: "checkbox",
1931
- name: t.name,
1932
- disabled: t.disabled
1933
- },
1934
- domProps: {
1935
- checked: t.value
1936
- },
1937
- on: {
1938
- input: function(e) {
1939
- return t.$emit("input", e.target.checked)
1940
- }
1941
- }
1942
- }), t.description ? s("span", {
1943
- staticClass: "input-label",
1944
- domProps: {
1945
- innerHTML: t._s(t.description)
1946
- }
1947
- }) : t._e()])])
1948
- },
1949
- Rt = [],
1950
- Gt = {
1951
- name: "SettingsInputCheckbox",
1952
- components: {
1953
- SettingsInfoTooltip: Nt
1954
- },
1955
- props: {
1956
- label: String,
1957
- name: String,
1958
- value: Boolean,
1959
- description: String,
1960
- tooltip: String,
1961
- disabled: Boolean
1962
- }
1963
- },
1964
- Vt = Gt,
1965
- Yt = Object(_["a"])(Vt, Ht, Rt, !1, null, null, null),
1966
- Jt = Yt.exports,
1967
- Kt = {
1968
- name: "WizardStepHelpImprove",
1969
- components: {
1970
- ContentHeader: h,
1971
- TheWizardStepCounter: X,
1972
- SettingsInputText: Ut,
1973
- SettingsInputCheckbox: Jt
1974
- },
1975
- data: function() {
1976
- return {
1977
- text_header_title: Object(c["a"])("Help Improve WP Mail SMTP + Smart Recommendations", "mo2f-setup"),
1978
- text_header_subtitle: Object(c["a"])("Get helpful suggestions from WP Mail SMTP on how to optimize your email deliverability and grow your business.", "mo2f-setup"),
1979
- text_save: Object(c["a"])("Save and Continue", "mo2f-setup"),
1980
- text_skip: Object(c["a"])("Skip this Step", "mo2f-setup"),
1981
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup"),
1982
- text_email_label: Object(c["a"])("Your Email Address", "mo2f-setup"),
1983
- text_email_description: Object(c["a"])("Your email is needed, so you can receive recommendations.", "mo2f-setup"),
1984
- text_usage_tracking_label: Object(c["a"])("Help make WP Mail SMTP better for everyone", "mo2f-setup"),
1985
- text_usage_tracking_description: Object(c["a"])("Yes, count me in", "mo2f-setup"),
1986
- text_usage_tracking_tooltip: Object(c["a"])("By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test.", "mo2f-setup"),
1987
- is_pro: this.$wpms.is_pro,
1988
- email: "",
1989
- usage_tracking: !1
1990
- }
1991
- },
1992
- methods: {
1993
- handleSubmit: function() {
1994
- var t = this;
1995
- this.$store.dispatch("$_app/start_loading");
1996
- var e = [];
1997
- if (this.email && e.push(this.$store.dispatch("$_settings/subscribeToNewsletter", this.email)), this.usage_tracking) {
1998
- var i = {
1999
- value: {
2000
- general: {
2001
- "usage-tracking-enabled": !0
2002
- }
2003
- }
2004
- };
2005
- e.push(this.$store.dispatch("$_settings/updateSettings", i))
2006
- }
2007
- Promise.all(e).then((function() {
2008
- t.nextStep()
2009
- })).finally((function() {
2010
- t.$store.dispatch("$_app/stop_loading")
2011
- }))
2012
- },
2013
- nextStep: function() {
2014
- this.$next_step()
2015
- },
2016
- previousStep: function() {
2017
- this.$previous_step()
2018
- }
2019
- }
2020
- },
2021
- qt = Kt,
2022
- Zt = Object(_["a"])(qt, Pt, Et, !1, null, null, null),
2023
- Xt = Zt.exports,
2024
- $t = function() {
2025
- var t = this,
2026
- e = t.$createElement,
2027
- s = t._self._c || e;
2028
- return s("div", {
2029
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-step-license"
2030
- }, [s("div", {
2031
- staticClass: "mo2f-setup-setup-wizard-content-container"
2032
- }, [s("div", {
2033
- staticClass: "mo2f-setup-license-header"
2034
- }, [s("the-wizard-step-counter"), s("content-header", {
2035
- attrs: {
2036
- title: t.text_header_title,
2037
- subtitle: t.text_header_subtitle
2038
- }
2039
- })], 1), t.is_pro ? t._e() : s("div", {
2040
- staticClass: "upgrade-content"
2041
- }, [s("p", {
2042
- staticClass: "medium-bold",
2043
- domProps: {
2044
- innerHTML: t._s(t.text_upgrade_paragraph)
2045
- }
2046
- }), s("div", {
2047
- staticClass: "checked-item-list"
2048
- }, [s("span", {
2049
- staticClass: "checked-item"
2050
- }, [s("inline-svg", {
2051
- staticClass: "icon",
2052
- attrs: {
2053
- src: i("3af1"),
2054
- width: "16",
2055
- height: "16"
2056
- }
2057
- }), t._v(" "), s("span", [t._v(t._s(t.text_email_log))])], 1), s("span", {
2058
- staticClass: "checked-item"
2059
- }, [s("inline-svg", {
2060
- staticClass: "icon",
2061
- attrs: {
2062
- src: i("3af1"),
2063
- width: "16",
2064
- height: "16"
2065
- }
2066
- }), t._v(" "), s("span", [t._v(t._s(t.text_manage_notifications))])], 1), s("span", {
2067
- staticClass: "checked-item"
2068
- }, [s("inline-svg", {
2069
- staticClass: "icon",
2070
- attrs: {
2071
- src: i("3af1"),
2072
- width: "16",
2073
- height: "16"
2074
- }
2075
- }), t._v(" "), s("span", [t._v(t._s(t.text_network_settings))])], 1)])]), t.verified ? s("div", {
2076
- staticClass: "verified-license"
2077
- }, [s("p", {
2078
- domProps: {
2079
- innerHTML: t._s(t.text_verified_license)
2080
- }
2081
- })]) : s("div", {
2082
- staticClass: "license-form",
2083
- class: {
2084
- "license-form-error": t.license_error
2085
- }
2086
- }, [s("p", {
2087
- domProps: {
2088
- innerHTML: t._s(t.text_license_form)
2089
- }
2090
- }), s("div", {
2091
- staticClass: "license-control"
2092
- }, [s("input", {
2093
- directives: [{
2094
- name: "model",
2095
- rawName: "v-model",
2096
- value: t.license,
2097
- expression: "license"
2098
- }],
2099
- attrs: {
2100
- name: "license",
2101
- type: "password",
2102
- placeholder: t.text_license_input_placeholder,
2103
- "aria-label": t.text_aria_label_for_license_input
2104
- },
2105
- domProps: {
2106
- value: t.license
2107
- },
2108
- on: {
2109
- input: function(e) {
2110
- e.target.composing || (t.license = e.target.value)
2111
- }
2112
- }
2113
- }), s("button", {
2114
- staticClass: "mo2f-setup-button mo2f-setup-button-success mo2f-setup-button-small",
2115
- attrs: {
2116
- type: "button"
2117
- },
2118
- on: {
2119
- click: function(e) {
2120
- return e.preventDefault(), t.handleLicenseSubmit(e)
2121
- }
2122
- }
2123
- }, [t._v(" " + t._s(t.text_license_button) + " ")])]), t.license_error ? s("p", {
2124
- staticClass: "error-message",
2125
- domProps: {
2126
- textContent: t._s(t.text_license_error)
2127
- }
2128
- }) : t._e()])]), s("div", {
2129
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
2130
- }), s("div", {
2131
- staticClass: "mo2f-setup-setup-wizard-step-footer"
2132
- }, [s("a", {
2133
- attrs: {
2134
- href: "#"
2135
- },
2136
- on: {
2137
- click: function(e) {
2138
- return e.preventDefault(), t.previousStep(e)
2139
- }
2140
- }
2141
- }, [s("span", {
2142
- staticClass: "text-with-arrow text-with-arrow-left"
2143
- }, [s("inline-svg", {
2144
- staticClass: "icon",
2145
- attrs: {
2146
- src: i("1fa5"),
2147
- width: "16",
2148
- height: "18"
2149
- }
2150
- }), t._v(t._s(t.text_previous_step) + " ")], 1)]), s("div", {
2151
- staticClass: "mo2f-setup-setup-wizard-step-footer-buttons"
2152
- }, [t.verified ? s("button", {
2153
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
2154
- attrs: {
2155
- type: "submit",
2156
- name: "next_step"
2157
- },
2158
- on: {
2159
- click: function(e) {
2160
- return e.preventDefault(), t.handleSubmit(e)
2161
- }
2162
- }
2163
- }, [s("span", {
2164
- staticClass: "text-with-arrow text-with-arrow-right"
2165
- }, [t._v(" " + t._s(t.text_save) + " "), s("inline-svg", {
2166
- staticClass: "icon",
2167
- attrs: {
2168
- src: i("107e"),
2169
- width: "16",
2170
- height: "19"
2171
- }
2172
- })], 1)]) : s("button", {
2173
- staticClass: "mo2f-setup-button",
2174
- attrs: {
2175
- type: "button",
2176
- name: "skip_step"
2177
- },
2178
- domProps: {
2179
- textContent: t._s(t.text_skip)
2180
- },
2181
- on: {
2182
- click: function(e) {
2183
- return e.preventDefault(), t.nextStep(e)
2184
- }
2185
- }
2186
- })])])])
2187
- },
2188
- te = [],
2189
- ee = (i("841c"), i("2b3d"), i("6341")),
2190
- ie = i.n(ee),
2191
- se = {
2192
- name: "WizardStepLicense",
2193
- components: {
2194
- ContentHeader: h,
2195
- TheWizardStepCounter: X
2196
- },
2197
- data: function() {
2198
- return {
2199
- text_header_title: Object(c["a"])("Enter your WP Mail SMTP License Key", "mo2f-setup"),
2200
- text_header_subtitle: this.$wpms.is_pro ? "" : Object(c["c"])(Object(c["a"])("You're currently using %1$sWP Mail SMTP Lite%2$s - no license needed. Enjoy!", "mo2f-setup"), '<span class="medium-bold">', "</span>") + " 🙂",
2201
- text_save: Object(c["a"])("Continue", "mo2f-setup"),
2202
- text_skip: Object(c["a"])("Skip this Step", "mo2f-setup"),
2203
- text_previous_step: Object(c["a"])("Previous Step", "mo2f-setup"),
2204
- text_upgrade_paragraph: Object(c["c"])(Object(c["a"])("To unlock selected features, %1$sUpgrade to Pro%2$s and enter your license key below.", "mo2f-setup"), '<a href="' + this.$wpms.upgrade_link + '" target="_blank" rel="noopener noreferrer">', "</a>"),
2205
- text_network_settings: Object(c["a"])("Multisite Network Settings", "mo2f-setup"),
2206
- text_manage_notifications: Object(c["a"])("Manage Default Notifications", "mo2f-setup"),
2207
- text_email_log: Object(c["a"])("Detailed Email Logs", "mo2f-setup"),
2208
- text_license_form_lite: Object(c["c"])(Object(c["a"])("Already purchased? Enter your license key below to connect with %1$sWP Mail SMTP Pro%2$s!", "mo2f-setup"), "<b>", "</b>"),
2209
- text_license_form_pro: Object(c["a"])("Enter your license key below to unlock plugin updates!", "mo2f-setup"),
2210
- text_license_button: this.$wpms.is_pro ? Object(c["a"])("Verify License Key", "mo2f-setup") : Object(c["a"])("Connect", "mo2f-setup"),
2211
- text_license_error: Object(c["a"])("The License Key format is incorrect. Please enter a valid key and try again.", "mo2f-setup"),
2212
- text_verified_license: Object(c["a"])("Your license was successfully verified! You are ready for the next step.", "mo2f-setup"),
2213
- text_email_log_desc: Object(c["a"])("Keep records of every email that's sent out from your website.", "mo2f-setup"),
2214
- text_manage_notifications_desc: Object(c["a"])("Control which email notifications your WordPress site sends.", "mo2f-setup"),
2215
- text_network_settings_desc: Object(c["a"])("Save time with powerful WordPress Multisite controls.", "mo2f-setup"),
2216
- text_pro_badge: Object(c["a"])("Pro badge", "mo2f-setup"),
2217
- text_aria_label_for_license_input: Object(c["a"])("License key input", "mo2f-setup"),
2218
- text_license_input_placeholder: Object(c["a"])("Paste your license key here", "mo2f-setup"),
2219
- pro_badge: i("87eb"),
2220
- is_pro: this.$wpms.is_pro,
2221
- verified: !1,
2222
- license: "",
2223
- license_error: !1
2224
- }
2225
- },
2226
- computed: Object(n["a"])({
2227
- text_license_form: function() {
2228
- return this.is_pro ? this.text_license_form_pro : this.text_license_form_lite
2229
- }
2230
- }, Object(nt["b"])({
2231
- selectedProFeatures: "$_settings/plugin_features"
2232
- })),
2233
- methods: {
2234
- handleLicenseSubmit: function() {
2235
- var t = this;
2236
- return this.license_error = !1, !(!this.is_pro && 0 === this.license.length) && (this.is_pro && this.license.length < 16 ? (this.license_error = !0, !1) : (this.$store.dispatch("$_app/start_loading"), void(this.is_pro ? this.$store.dispatch("$_settings/verifyLicense", this.license).then((function(e) {
2237
- e.success ? (t.verified = !0, t.$swal({
2238
- title: Object(c["a"])("Successful Verification!", "mo2f-setup"),
2239
- html: e.data.message,
2240
- width: 450,
2241
- showCloseButton: !0,
2242
- customClass: {
2243
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
2244
- }
2245
- })) : t.$swal({
2246
- title: Object(c["a"])("Verification Error!", "mo2f-setup"),
2247
- html: e.data,
2248
- width: 450,
2249
- showCloseButton: !0,
2250
- customClass: {
2251
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
2252
- }
2253
- })
2254
- })).finally((function() {
2255
- t.$store.dispatch("$_app/stop_loading")
2256
- })) : this.$store.dispatch("$_settings/upgradePlugin", this.license).then((function(e) {
2257
- if (e.success && ie()(e, "data.redirect_url")) return window.location = e.data.redirect_url;
2258
- t.$store.dispatch("$_app/stop_loading"), t.$swal({
2259
- title: e.success ? Object(c["a"])("Successful Upgrade!", "mo2f-setup") : Object(c["a"])("Upgrade Failed!", "mo2f-setup"),
2260
- html: e.data,
2261
- width: 450,
2262
- showCloseButton: !0,
2263
- customClass: {
2264
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
2265
- }
2266
- })
2267
- })))))
2268
- },
2269
- handleSubmit: function() {
2270
- this.nextStep()
2271
- },
2272
- nextStep: function() {
2273
- this.$next_step()
2274
- },
2275
- previousStep: function() {
2276
- this.$previous_step()
2277
- },
2278
- prepareLongCheckbox: function(t, e) {
2279
- return '<label for="email_log" class="settings-input-long-checkbox settings-input-long-checkbox-checked settings-input-long-checkbox-disabled">\n\t\t\t\t\t\t<div class="settings-input-long-checkbox-header">\n\t\t\t\t\t\t\t<span class="title-container">\n\t\t\t\t\t\t\t\t<span class="label">\n\t\t\t\t\t\t\t\t\t'.concat(t, '\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<img src="').concat(this.pro_badge, '" alt="').concat(this.text_pro_badge, '" class="mo2f-setup-pro-badge">\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<p class="description">\n\t\t\t\t\t\t\t\t').concat(e, '\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span class="settings-input-long-checkbox-container">\n\t\t\t\t\t\t\t<span class="checkbox checkbox-checked checkbox-disabled">\n\t\t\t\t\t\t\t\t<svg viewBox="0 0 512 512" role="img" class="icon" data-icon="check" data-prefix="fas" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16"><path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg>\n\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t<input id="email_log" type="checkbox" name="email_log" disabled="disabled">\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</label>')
2280
- },
2281
- prepareProFeaturesHtml: function() {
2282
- var t = "<div>";
2283
- return this.selectedProFeatures.includes("email_log") && (t += this.prepareLongCheckbox(this.text_email_log, this.text_email_log_desc)), this.selectedProFeatures.includes("manage_notifications") && (t += this.prepareLongCheckbox(this.text_manage_notifications, this.text_manage_notifications_desc)), this.selectedProFeatures.includes("network_settings") && (t += this.prepareLongCheckbox(this.text_network_settings, this.text_network_settings_desc)), t + "</div>"
2284
- }
2285
- },
2286
- mounted: function() {
2287
- var t = this;
2288
- if (!this.is_pro && this.selectedProFeatures.length > 0) {
2289
- var e = this.prepareProFeaturesHtml();
2290
- this.$swal({
2291
- title: Object(c["a"])("Would you like to purchase the following features now?", "mo2f-setup"),
2292
- html: '<p class="subtitle">'.concat(Object(c["a"])("These features are available as part of WP Mail SMTP Pro plan.", "mo2f-setup"), "</p>\n\t\t\t\t\t\t").concat(e, '\n\t\t\t\t\t\t<p class="bonus">').concat(Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.", "mo2f-setup"), "<b>", "</b>", '<span class="medium-bold">', "</span>", "$50"), "</p>\n\t\t\t\t\t"),
2293
- width: 850,
2294
- showCloseButton: !0,
2295
- allowOutsideClick: !1,
2296
- allowEscapeKey: !1,
2297
- allowEnterKey: !1,
2298
- customClass: {
2299
- container: "mo2f-setup-swal mo2f-setup-swal-plugin-upgrade"
2300
- },
2301
- confirmButtonText: Object(c["a"])("Purchase Now", "mo2f-setup"),
2302
- cancelButtonText: Object(c["a"])("I'll do it later", "mo2f-setup"),
2303
- showCancelButton: !0,
2304
- reverseButtons: !0
2305
- }).then((function(e) {
2306
- if (e.value) {
2307
- var i = window.open(t.$wpms.upgrade_link, "_blank");
2308
- i.focus()
2309
- }
2310
- }))
2311
- }
2312
- this.verified = this.$wpms.license_exists
2313
- },
2314
- created: function() {
2315
- var t = new URLSearchParams(window.location.search);
2316
- this.$wpms.license_exists && !t.has("upgrade-redirect") && this.nextStep()
2317
- }
2318
- },
2319
- ae = se,
2320
- ne = Object(_["a"])(ae, $t, te, !1, null, null, null),
2321
- oe = ne.exports,
2322
- re = function() {
2323
- var t = this,
2324
- e = t.$createElement,
2325
- s = t._self._c || e;
2326
- return s("div", {
2327
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-check-configuration"
2328
- }, [s("div", {
2329
- staticClass: "mo2f-setup-setup-wizard-content-container"
2330
- }, [s("div", {
2331
- staticClass: "mo2f-setup-check-configuration-header"
2332
- }, [s("content-header", {
2333
- attrs: {
2334
- title: t.text_header_title,
2335
- subtitle: t.text_header_subtitle
2336
- }
2337
- })], 1), s("div", {
2338
- staticClass: "check-configuration-loading-image-container"
2339
- }, [s("img", {
2340
- attrs: {
2341
- src: i("8398"),
2342
- alt: t.text_image_alt
2343
- }
2344
- })])])])
2345
- },
2346
- le = [],
2347
- ce = {
2348
- name: "WizardStepCheckConfiguration",
2349
- components: {
2350
- ContentHeader: h
2351
- },
2352
- data: function() {
2353
- return {
2354
- text_header_title: Object(c["a"])("Checking Mailer Configuration", "mo2f-setup"),
2355
- text_header_subtitle: Object(c["a"])("We're running some tests in the background to make sure everything is set up properly.", "mo2f-setup"),
2356
- text_image_alt: Object(c["a"])("Checking mailer configuration image", "mo2f-setup")
2357
- }
2358
- },
2359
- mounted: function() {
2360
- var t = this;
2361
- this.$store.dispatch("$_wizard/checkMailerConfiguration").then((function(e) {
2362
- e.success ? t.$router.push({
2363
- name: "check_configuration_step_success"
2364
- }) : t.$router.push({
2365
- name: "check_configuration_step_failure"
2366
- })
2367
- }))
2368
- }
2369
- },
2370
- pe = ce,
2371
- me = Object(_["a"])(pe, re, le, !1, null, null, null),
2372
- ue = me.exports,
2373
- de = function() {
2374
- var t = this,
2375
- e = t.$createElement,
2376
- s = t._self._c || e;
2377
- return s("div", {
2378
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-configuration-success"
2379
- }, [s("div", {
2380
- staticClass: "mo2f-setup-setup-wizard-content-container"
2381
- }, [s("div", {
2382
- staticClass: "mo2f-setup-configuration-success-header"
2383
- }, [s("the-wizard-step-counter"), s("content-header", {
2384
- attrs: {
2385
- title: t.text_header_title,
2386
- subtitle: t.text_header_subtitle
2387
- }
2388
- })], 1), s("div", {
2389
- staticClass: "plugin-item-container"
2390
- }, [s("p", {
2391
- staticClass: "medium-bold",
2392
- domProps: {
2393
- textContent: t._s(t.text_free_plugins_header)
2394
- }
2395
- }), s("div", t._l(t.plugins, (function(t, e) {
2396
- return s("plugin-item", {
2397
- key: e,
2398
- attrs: {
2399
- name: t.name,
2400
- slug: t.slug,
2401
- is_installed: t.is_installed,
2402
- is_activated: t.is_activated
2403
- }
2404
- })
2405
- })), 1)]), t.is_pro ? t._e() : s("div", {
2406
- staticClass: "upgrade-banner-container"
2407
- }, [s("div", {
2408
- staticClass: "upgrade-banner"
2409
- }, [s("h2", {
2410
- domProps: {
2411
- textContent: t._s(t.text_upgrade_title)
2412
- }
2413
- }), s("p", {
2414
- staticClass: "subtitle",
2415
- domProps: {
2416
- textContent: t._s(t.text_upgrade_subtitle)
2417
- }
2418
- }), s("div", {
2419
- staticClass: "checked-item-list"
2420
- }, [s("span", {
2421
- staticClass: "checked-item"
2422
- }, [s("inline-svg", {
2423
- staticClass: "icon",
2424
- attrs: {
2425
- src: i("3af1"),
2426
- width: "16",
2427
- height: "16"
2428
- }
2429
- }), t._v(" "), s("span", [t._v(t._s(t.text_email_log))])], 1), s("span", {
2430
- staticClass: "checked-item"
2431
- }, [s("inline-svg", {
2432
- staticClass: "icon",
2433
- attrs: {
2434
- src: i("3af1"),
2435
- width: "16",
2436
- height: "16"
2437
- }
2438
- }), t._v(" "), s("span", [t._v(t._s(t.text_manage_notifications))])], 1), s("span", {
2439
- staticClass: "checked-item"
2440
- }, [s("inline-svg", {
2441
- staticClass: "icon",
2442
- attrs: {
2443
- src: i("3af1"),
2444
- width: "16",
2445
- height: "16"
2446
- }
2447
- }), t._v(" "), s("span", [t._v(t._s(t.text_network_settings))])], 1)]), s("button", {
2448
- staticClass: "mo2f-setup-button mo2f-setup-button-success",
2449
- attrs: {
2450
- type: "button"
2451
- },
2452
- domProps: {
2453
- textContent: t._s(t.text_upgrade_button)
2454
- },
2455
- on: {
2456
- click: t.openUpgradePage
2457
- }
2458
- })]), s("p", {
2459
- staticClass: "bonus",
2460
- domProps: {
2461
- innerHTML: t._s(t.text_bonus)
2462
- }
2463
- })])]), s("div", {
2464
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
2465
- }), s("div", {
2466
- staticClass: "mo2f-setup-setup-wizard-step-footer"
2467
- }, [s("button", {
2468
- staticClass: "mo2f-setup-button",
2469
- attrs: {
2470
- type: "button",
2471
- name: "send_test_email"
2472
- },
2473
- domProps: {
2474
- textContent: t._s(t.text_test_email)
2475
- },
2476
- on: {
2477
- click: function(e) {
2478
- return e.preventDefault(), t.handleTestEmail(e)
2479
- }
2480
- }
2481
- }), s("button", {
2482
- staticClass: "mo2f-setup-button",
2483
- attrs: {
2484
- type: "button",
2485
- name: "send_feedback"
2486
- },
2487
- domProps: {
2488
- textContent: t._s(t.text_send_feedback)
2489
- },
2490
- on: {
2491
- click: function(e) {
2492
- return e.preventDefault(), t.handleFeedback(e)
2493
- }
2494
- }
2495
- }), s("button", {
2496
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
2497
- attrs: {
2498
- type: "button",
2499
- name: "finish_setup"
2500
- },
2501
- domProps: {
2502
- textContent: t._s(t.text_finish)
2503
- },
2504
- on: {
2505
- click: function(e) {
2506
- return e.preventDefault(), t.handleFinish(e)
2507
- }
2508
- }
2509
- })])])
2510
- },
2511
- _e = [],
2512
- fe = function() {
2513
- var t = this,
2514
- e = t.$createElement,
2515
- i = t._self._c || e;
2516
- return i("div", {
2517
- class: "mo2f-setup-plugin-item mo2f-setup-plugin-" + t.slug
2518
- }, [i("span", {
2519
- staticClass: "mo2f-setup-plugin-item-title-container"
2520
- }, [t.logo.length ? i("img", {
2521
- staticClass: "mo2f-setup-logo-icon",
2522
- attrs: {
2523
- src: t.logo2x,
2524
- srcset: t.logo_srcset,
2525
- alt: t.name
2526
- }
2527
- }) : t._e(), i("span", {
2528
- domProps: {
2529
- textContent: t._s(t.name)
2530
- }
2531
- })]), i("button", {
2532
- staticClass: "mo2f-setup-button",
2533
- attrs: {
2534
- type: "button",
2535
- disabled: t.is_activated || t.is_installed
2536
- },
2537
- on: {
2538
- click: function(e) {
2539
- return e.preventDefault(), t.handleClick(e)
2540
- }
2541
- }
2542
- }, [t.loading ? i("loader", {
2543
- attrs: {
2544
- color: "white"
2545
- }
2546
- }) : i("span", [t._v(" " + t._s(t.text_button_label) + " ")])], 1)])
2547
- },
2548
- he = [],
2549
- ge = function() {
2550
- var t = this,
2551
- e = t.$createElement,
2552
- i = t._self._c || e;
2553
- return i("img", {
2554
- class: "mo2f-setup-loader mo2f-setup-loader-" + t.size,
2555
- attrs: {
2556
- src: t.image,
2557
- alt: t.text_loading
2558
- }
2559
- })
2560
- },
2561
- we = [],
2562
- be = {
2563
- name: "Loader",
2564
- props: {
2565
- color: {
2566
- type: String,
2567
- default: ""
2568
- },
2569
- size: {
2570
- type: String,
2571
- default: "sm"
2572
- }
2573
- },
2574
- data: function() {
2575
- return {
2576
- image: i("5711")("./loading".concat(this.color.length ? "-" + this.color : "", ".svg")),
2577
- text_loading: Object(c["a"])("Loading", "mo2f-setup")
2578
- }
2579
- }
2580
- },
2581
- Ae = be,
2582
- ve = Object(_["a"])(Ae, ge, we, !1, null, null, null),
2583
- xe = ve.exports,
2584
- ye = {
2585
- name: "PluginItem",
2586
- components: {
2587
- Loader: xe
2588
- },
2589
- props: {
2590
- slug: String,
2591
- name: String,
2592
- is_installed: Boolean,
2593
- is_activated: Boolean
2594
- },
2595
- data: function() {
2596
- return {
2597
- loading: !1,
2598
- logo: i("bbc2")("./".concat(this.slug, ".png")),
2599
- logo2x: i("7c9b")("./".concat(this.slug, "@2x.png"))
2600
- }
2601
- },
2602
- computed: {
2603
- text_button_label: function() {
2604
- var t = Object(c["a"])("Install", "mo2f-setup");
2605
- return this.is_installed && !this.is_activated && (t = Object(c["a"])("Installed", "mo2f-setup")), this.is_activated && (t = Object(c["a"])("Activated", "mo2f-setup")), t
2606
- },
2607
- logo_srcset: function() {
2608
- return "".concat(this.logo, ", ").concat(this.logo2x, " 2x")
2609
- }
2610
- },
2611
- methods: {
2612
- handleClick: function() {
2613
- var t = this;
2614
- this.loading || (this.loading = !0, this.$store.dispatch("$_plugins/installPlugin", this.slug).then((function(e) {
2615
- e.success && t.$wpms_success_toast({
2616
- title: "Plugin: ".concat(t.name, " installed!")
2617
- }), t.loading = !1
2618
- })))
2619
- }
2620
- }
2621
- },
2622
- Ce = ye,
2623
- ke = (i("f8b1"), Object(_["a"])(Ce, fe, he, !1, null, "6b0d8118", null)),
2624
- Oe = ke.exports,
2625
- je = {
2626
- name: "WizardStepConfigurationSuccess",
2627
- components: {
2628
- ContentHeader: h,
2629
- TheWizardStepCounter: X,
2630
- PluginItem: Oe
2631
- },
2632
- data: function() {
2633
- return {
2634
- text_header_title: Object(c["a"])("Congrats, you’ve successfully set up WP Mail SMTP!", "mo2f-setup"),
2635
- text_header_subtitle: Object(c["a"])("Here’s what to do next:", "mo2f-setup"),
2636
- text_free_plugins_header: Object(c["a"])("Check out our other free WordPress plugins:", "mo2f-setup"),
2637
- text_upgrade_title: Object(c["a"])("Upgrade to Unlock Powerful SMTP Features", "mo2f-setup"),
2638
- text_upgrade_subtitle: Object(c["a"])("Upgrade to WP Mail SMTP Pro to unlock more awesome features and experience why WP Mail SMTP is used by over 2,000,000 websites.", "mo2f-setup"),
2639
- text_network_settings: Object(c["a"])("Multisite Network Settings", "mo2f-setup"),
2640
- text_manage_notifications: Object(c["a"])("Manage Default Notifications", "mo2f-setup"),
2641
- text_email_log: Object(c["a"])("Detailed Email Logs", "mo2f-setup"),
2642
- text_upgrade_button: Object(c["a"])("Upgrade to Pro Today", "mo2f-setup"),
2643
- text_test_email: Object(c["a"])("Send a Test Email", "mo2f-setup"),
2644
- text_send_feedback: Object(c["a"])("Send us Feedback", "mo2f-setup"),
2645
- text_finish: Object(c["a"])("Finish Setup", "mo2f-setup"),
2646
- text_bonus: Object(c["c"])(Object(c["a"])("%1$sBonus:%2$s You can upgrade to the Pro plan and %3$ssave %5$s today%4$s, automatically applied at checkout.", "mo2f-setup"), "<b>", "</b>", '<span class="medium-bold">', "</span>", "$50"),
2647
- star_image_html: '<img src="'.concat(i("6f43"), '" alt="').concat(Object(c["a"])("Star icon", "mo2f-setup"), '" class="icon" / >'),
2648
- is_pro: this.$wpms.is_pro
2649
- }
2650
- },
2651
- computed: Object(n["a"])({}, Object(nt["b"])({
2652
- plugins: "$_plugins/partner_plugins"
2653
- })),
2654
- methods: {
2655
- handleTestEmail: function() {
2656
- return window.location = this.$wpms.email_test_tab_url
2657
- },
2658
- goodFeedback: function() {
2659
- this.$swal({
2660
- title: Object(c["a"])("Thanks for the feedback!", "mo2f-setup"),
2661
- html: "".concat(Object(c["c"])(Object(c["a"])("Help us spread the word %1$sby giving WP Mail SMTP a 5-star rating %3$s(%4$s) on WordPress.org%2$s. Thanks for your support and we look forward to bringing you more awesome features.", "mo2f-setup"), '<span class="medium-bold">', "</span>", "<br>", this.star_image_html + "" + this.star_image_html + this.star_image_html + this.star_image_html + this.star_image_html)),
2662
- width: 650,
2663
- showCloseButton: !0,
2664
- allowEnterKey: !1,
2665
- confirmButtonText: Object(c["a"])("Rate on WordPress.org", "mo2f-setup"),
2666
- customClass: {
2667
- container: "mo2f-setup-swal mo2f-setup-swal-feedback-good"
2668
- }
2669
- }).then((function(t) {
2670
- if (t.value) {
2671
- var e = window.open("https://wordpress.org/support/plugin/mo2f-setup/reviews/#new-post", "_blank");
2672
- e.focus()
2673
- }
2674
- }))
2675
- },
2676
- badFeedback: function() {
2677
- var t = this;
2678
- this.$swal({
2679
- title: Object(c["a"])("What could we do to improve?", "mo2f-setup"),
2680
- html: "".concat(Object(c["a"])("We're sorry things didn't go smoothly for you, and want to keep improving. Please let us know any specific parts of this process that you think could be better. We really appreciate any details you're willing to share!", "mo2f-setup"), '\n\t\t\t\t\t\t\t\t<textarea id="feedback" name="feedback" rows="9"></textarea>\n\t\t\t\t\t\t\t\t<span class="permission-container">\n\t\t\t\t\t\t\t\t\t<input type="checkbox" id="permission" name="permission">\n\t\t\t\t\t\t\t\t\t<label for="permission">').concat(Object(c["a"])("Yes, I give WP Mail SMTP permission to contact me for any follow up questions.", "mo2f-setup"), "</label>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t"),
2681
- width: 650,
2682
- showCloseButton: !0,
2683
- allowEnterKey: !1,
2684
- allowOutsideClick: !1,
2685
- allowEscapeKey: !1,
2686
- confirmButtonText: Object(c["a"])("Submit Feedback", "mo2f-setup"),
2687
- customClass: {
2688
- container: "mo2f-setup-swal mo2f-setup-swal-feedback-bad"
2689
- },
2690
- preConfirm: function() {
2691
- return [document.getElementById("feedback").value, document.getElementById("permission").checked]
2692
- }
2693
- }).then((function(e) {
2694
- if (e.value) {
2695
- var i = e.value[0],
2696
- s = e.value[1];
2697
- t.$store.dispatch("$_wizard/sendFeedback", {
2698
- feedback: i,
2699
- permission: s
2700
- })
2701
- }
2702
- }))
2703
- },
2704
- handleFeedback: function() {
2705
- var t = this;
2706
- this.$swal({
2707
- title: Object(c["a"])("How was your WP Mail SMTP setup experience?", "mo2f-setup"),
2708
- text: Object(c["a"])("Our goal is to make your SMTP setup as simple and straightforward as possible. We'd love to know how this process went for you!", "mo2f-setup"),
2709
- width: 650,
2710
- showCloseButton: !0,
2711
- allowEnterKey: !1,
2712
- customClass: {
2713
- container: "mo2f-setup-swal mo2f-setup-swal-feedback"
2714
- },
2715
- showCancelButton: !0
2716
- }).then((function(e) {
2717
- e.value ? t.goodFeedback() : void 0 !== e.dismiss && "cancel" === e.dismiss && t.badFeedback()
2718
- }))
2719
- },
2720
- handleFinish: function() {
2721
- return window.location = this.$wpms.exit_url
2722
- },
2723
- openUpgradePage: function() {
2724
- var t = window.open(this.$wpms.upgrade_link, "_blank");
2725
- t.focus()
2726
- }
2727
- }
2728
- },
2729
- Se = je,
2730
- Pe = Object(_["a"])(Se, de, _e, !1, null, null, null),
2731
- Ee = Pe.exports,
2732
- Te = function() {
2733
- var t = this,
2734
- e = t.$createElement,
2735
- s = t._self._c || e;
2736
- return s("div", {
2737
- staticClass: "mo2f-setup-setup-wizard-step mo2f-setup-setup-wizard-configuration-failure"
2738
- }, [s("div", {
2739
- staticClass: "mo2f-setup-setup-wizard-content-container"
2740
- }, [s("div", {
2741
- staticClass: "mo2f-setup-configuration-failure-header"
2742
- }, [s("the-wizard-step-counter"), s("content-header", {
2743
- attrs: {
2744
- title: t.text_header_title,
2745
- subtitle: t.text_header_subtitle
2746
- }
2747
- })], 1), s("div", {
2748
- staticClass: "start-troubleshooting-arrow-container"
2749
- }, [s("inline-svg", {
2750
- staticClass: "icon",
2751
- attrs: {
2752
- src: i("50bf"),
2753
- width: "112",
2754
- height: "112"
2755
- }
2756
- })], 1)]), s("div", {
2757
- staticClass: "mo2f-setup-separator mo2f-setup-separator-no-margin"
2758
- }), s("div", {
2759
- staticClass: "mo2f-setup-setup-wizard-step-footer"
2760
- }, [s("button", {
2761
- staticClass: "mo2f-setup-button mo2f-setup-button-main",
2762
- attrs: {
2763
- type: "button",
2764
- name: "start_troubleshooting"
2765
- },
2766
- domProps: {
2767
- textContent: t._s(t.text_start_troubleshooting)
2768
- },
2769
- on: {
2770
- click: function(e) {
2771
- return e.preventDefault(), t.handleTroubleshooting(e)
2772
- }
2773
- }
2774
- }), s("button", {
2775
- staticClass: "mo2f-setup-button",
2776
- attrs: {
2777
- type: "button",
2778
- name: "finish_setup"
2779
- },
2780
- domProps: {
2781
- textContent: t._s(t.text_finish)
2782
- },
2783
- on: {
2784
- click: function(e) {
2785
- return e.preventDefault(), t.handleFinish(e)
2786
- }
2787
- }
2788
- })])])
2789
- },
2790
- ze = [],
2791
- Be = {
2792
- name: "WizardStepConfigurationFailure",
2793
- components: {
2794
- ContentHeader: h,
2795
- TheWizardStepCounter: X
2796
- },
2797
- data: function() {
2798
- return {
2799
- text_header_title: Object(c["a"])("Whoops, looks like things aren’t configured properly.", "mo2f-setup"),
2800
- text_header_subtitle: Object(c["a"])("We just tried to send a test email, but something prevented that from working. To see more details about the issue we detected, as well as our suggestions to fix it, please start troubleshooting.", "mo2f-setup"),
2801
- text_start_troubleshooting: Object(c["a"])("Start Troubleshooting", "mo2f-setup"),
2802
- text_send_feedback: Object(c["a"])("Send us Feedback", "mo2f-setup"),
2803
- text_finish: Object(c["a"])("Finish Setup", "mo2f-setup")
2804
- }
2805
- },
2806
- methods: {
2807
- handleTroubleshooting: function() {
2808
- return window.location = "".concat(this.$wpms.email_test_tab_url, "&auto-start=1")
2809
- },
2810
- handleFinish: function() {
2811
- return window.location = this.$wpms.exit_url
2812
- }
2813
- }
2814
- },
2815
- Ie = Be,
2816
- Me = Object(_["a"])(Ie, Te, ze, !1, null, null, null),
2817
- De = Me.exports,
2818
- Fe = function() {
2819
- var t = this,
2820
- e = t.$createElement,
2821
- i = t._self._c || e;
2822
- return i("div", {
2823
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-smtp"
2824
- }, [i("p", {
2825
- staticClass: "mailer-description",
2826
- domProps: {
2827
- innerHTML: t._s(t.description)
2828
- }
2829
- }), i("div", {
2830
- staticClass: "mo2f-setup-setup-wizard-form"
2831
- }, [i("settings-input-text", {
2832
- attrs: {
2833
- name: "host",
2834
- label: t.text_host_label,
2835
- is_error: t.field_errors.includes("host")
2836
- },
2837
- on: {
2838
- is_error_update: function(e) {
2839
- return t.removeFieldError("host")
2840
- }
2841
- },
2842
- model: {
2843
- value: t.host,
2844
- callback: function(e) {
2845
- t.host = e
2846
- },
2847
- expression: "host"
2848
- }
2849
- }), i("settings-input-radio", {
2850
- attrs: {
2851
- name: "encryption",
2852
- label: t.text_encryption_label,
2853
- options: t.encryptionOptions,
2854
- description: t.text_encryption_description
2855
- },
2856
- on: {
2857
- input: t.encryptionChanged
2858
- },
2859
- model: {
2860
- value: t.encryption,
2861
- callback: function(e) {
2862
- t.encryption = e
2863
- },
2864
- expression: "encryption"
2865
- }
2866
- }), i("settings-input-number", {
2867
- attrs: {
2868
- name: "port",
2869
- label: t.text_port_label,
2870
- is_error: t.field_errors.includes("port")
2871
- },
2872
- on: {
2873
- is_error_update: function(e) {
2874
- return t.removeFieldError("port")
2875
- }
2876
- },
2877
- model: {
2878
- value: t.port,
2879
- callback: function(e) {
2880
- t.port = e
2881
- },
2882
- expression: "port"
2883
- }
2884
- }), i("settings-input-switch", {
2885
- directives: [{
2886
- name: "show",
2887
- rawName: "v-show",
2888
- value: t.show_autotls,
2889
- expression: "show_autotls"
2890
- }],
2891
- attrs: {
2892
- name: "autotls",
2893
- title: t.text_autotls_title,
2894
- label: t.text_autotls_label,
2895
- description: t.text_autotls_description
2896
- },
2897
- model: {
2898
- value: t.autotls,
2899
- callback: function(e) {
2900
- t.autotls = e
2901
- },
2902
- expression: "autotls"
2903
- }
2904
- }), i("div", {
2905
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
2906
- }), i("settings-input-switch", {
2907
- attrs: {
2908
- name: "auth",
2909
- title: t.text_auth_title,
2910
- label: t.text_auth_label
2911
- },
2912
- model: {
2913
- value: t.auth,
2914
- callback: function(e) {
2915
- t.auth = e
2916
- },
2917
- expression: "auth"
2918
- }
2919
- }), i("settings-input-text", {
2920
- directives: [{
2921
- name: "show",
2922
- rawName: "v-show",
2923
- value: t.auth,
2924
- expression: "auth"
2925
- }],
2926
- attrs: {
2927
- name: "user",
2928
- label: t.text_user_label,
2929
- is_error: t.field_errors.includes("user")
2930
- },
2931
- on: {
2932
- is_error_update: function(e) {
2933
- return t.removeFieldError("user")
2934
- }
2935
- },
2936
- model: {
2937
- value: t.user,
2938
- callback: function(e) {
2939
- t.user = e
2940
- },
2941
- expression: "user"
2942
- }
2943
- }), i("settings-input-text", {
2944
- directives: [{
2945
- name: "show",
2946
- rawName: "v-show",
2947
- value: t.auth,
2948
- expression: "auth"
2949
- }],
2950
- attrs: {
2951
- name: "pass",
2952
- type: "password",
2953
- label: t.text_pass_label,
2954
- is_error: t.field_errors.includes("pass")
2955
- },
2956
- on: {
2957
- is_error_update: function(e) {
2958
- return t.removeFieldError("pass")
2959
- }
2960
- },
2961
- model: {
2962
- value: t.pass,
2963
- callback: function(e) {
2964
- t.pass = e
2965
- },
2966
- expression: "pass"
2967
- }
2968
- }), i("div", {
2969
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
2970
- }), i("settings-input-text", {
2971
- attrs: {
2972
- name: "from_name",
2973
- label: t.text_from_name_label,
2974
- description: t.text_from_name_description
2975
- },
2976
- model: {
2977
- value: t.from_name,
2978
- callback: function(e) {
2979
- t.from_name = e
2980
- },
2981
- expression: "from_name"
2982
- }
2983
- }), i("settings-input-switch", {
2984
- attrs: {
2985
- classname: "sub_setting",
2986
- name: "from_name_force",
2987
- title: t.text_force_from_name_title,
2988
- label: t.text_force_from_name_label
2989
- },
2990
- model: {
2991
- value: t.from_name_force,
2992
- callback: function(e) {
2993
- t.from_name_force = e
2994
- },
2995
- expression: "from_name_force"
2996
- }
2997
- }), i("settings-input-text", {
2998
- attrs: {
2999
- name: "from_email",
3000
- type: "email",
3001
- label: t.text_from_email_label,
3002
- description: t.text_from_email_description,
3003
- is_error: t.field_errors.includes("from_email")
3004
- },
3005
- on: {
3006
- is_error_update: function(e) {
3007
- return t.removeFieldError("from_email")
3008
- }
3009
- },
3010
- model: {
3011
- value: t.from_email,
3012
- callback: function(e) {
3013
- t.from_email = e
3014
- },
3015
- expression: "from_email"
3016
- }
3017
- }), i("settings-input-switch", {
3018
- attrs: {
3019
- classname: "sub_setting",
3020
- name: "from_email_force",
3021
- title: t.text_force_from_email_title,
3022
- label: t.text_force_from_email_label
3023
- },
3024
- model: {
3025
- value: t.from_email_force,
3026
- callback: function(e) {
3027
- t.from_email_force = e
3028
- },
3029
- expression: "from_email_force"
3030
- }
3031
- })], 1)])
3032
- },
3033
- Ne = [],
3034
- Qe = (i("a4d3"), i("e01a"), function() {
3035
- var t = this,
3036
- e = t.$createElement,
3037
- i = t._self._c || e;
3038
- return i("div", {
3039
- staticClass: "settings-input-radio"
3040
- }, [t.label ? i("span", {
3041
- staticClass: "settings-input-label-container"
3042
- }, [i("span", {
3043
- staticClass: "label",
3044
- domProps: {
3045
- innerHTML: t._s(t.label)
3046
- }
3047
- })]) : t._e(), i("div", {
3048
- staticClass: "settings-input-radio-container"
3049
- }, t._l(t.options, (function(e) {
3050
- return i("label", {
3051
- key: e.value,
3052
- class: t.labelClass(e.value),
3053
- attrs: {
3054
- for: "mo2f-setup-settings-radio-" + t.name + "[" + e.value + "]"
3055
- }
3056
- }, [i("span", {
3057
- class: t.titleClass(e.value)
3058
- }), i("input", {
3059
- directives: [{
3060
- name: "model",
3061
- rawName: "v-model",
3062
- value: t.selected,
3063
- expression: "selected"
3064
- }],
3065
- attrs: {
3066
- id: "mo2f-setup-settings-radio-" + t.name + "[" + e.value + "]",
3067
- type: "radio",
3068
- name: t.name,
3069
- autocomplete: "off",
3070
- readonly: t.disabled
3071
- },
3072
- domProps: {
3073
- value: e.value,
3074
- checked: t.isChecked(e.value),
3075
- checked: t._q(t.selected, e.value)
3076
- },
3077
- on: {
3078
- change: [function(i) {
3079
- t.selected = e.value
3080
- }, t.updateSetting]
3081
- }
3082
- }), i("span", {
3083
- staticClass: "input-label",
3084
- domProps: {
3085
- innerHTML: t._s(e.label)
3086
- }
3087
- })])
3088
- })), 0), t.description ? i("p", {
3089
- staticClass: "description",
3090
- domProps: {
3091
- innerHTML: t._s(t.description)
3092
- }
3093
- }) : t._e()])
3094
- }),
3095
- Le = [],
3096
- We = {
3097
- name: "SettingsInputRadio",
3098
- props: {
3099
- options: Array,
3100
- label: String,
3101
- name: String,
3102
- value: String,
3103
- description: String,
3104
- disabled: Boolean
3105
- },
3106
- data: function() {
3107
- return {
3108
- has_error: !1
3109
- }
3110
- },
3111
- computed: {
3112
- selected: {
3113
- get: function() {
3114
- return this.value
3115
- },
3116
- set: function(t) {
3117
- this.$emit("input", t)
3118
- }
3119
- }
3120
- },
3121
- methods: {
3122
- updateSetting: function() {
3123
- if (this.disabled) return !1
3124
- },
3125
- titleClass: function(t) {
3126
- var e = "mo2f-setup-styled-radio";
3127
- return this.isChecked(t) && (e += " mo2f-setup-styled-radio-checked"), e
3128
- },
3129
- labelClass: function(t) {
3130
- var e = "";
3131
- return this.isChecked(t) && (e += " mo2f-setup-styled-radio-label-checked"), e
3132
- },
3133
- isChecked: function(t) {
3134
- return t === this.selected
3135
- }
3136
- }
3137
- },
3138
- Ue = We,
3139
- He = Object(_["a"])(Ue, Qe, Le, !1, null, null, null),
3140
- Re = He.exports,
3141
- Ge = function() {
3142
- var t = this,
3143
- e = t.$createElement,
3144
- s = t._self._c || e;
3145
- return s("div", {
3146
- staticClass: "settings-input-number",
3147
- class: {
3148
- "settings-input-number-error": t.field_error
3149
- }
3150
- }, [s("label", {
3151
- staticClass: "settings-input-label-container",
3152
- attrs: {
3153
- for: t.id
3154
- }
3155
- }, [t.label ? s("span", {
3156
- staticClass: "label",
3157
- domProps: {
3158
- innerHTML: t._s(t.label)
3159
- }
3160
- }) : t._e(), t.tooltip ? s("settings-info-tooltip", {
3161
- attrs: {
3162
- content: t.tooltip
3163
- }
3164
- }) : t._e()], 1), s("input", {
3165
- directives: [{
3166
- name: "model",
3167
- rawName: "v-model",
3168
- value: t.currentValue,
3169
- expression: "currentValue"
3170
- }],
3171
- attrs: {
3172
- id: t.id,
3173
- type: "number",
3174
- name: t.name,
3175
- placeholder: t.placeholder,
3176
- min: t.min,
3177
- max: t.max,
3178
- step: t.step,
3179
- readonly: t.disabled
3180
- },
3181
- domProps: {
3182
- value: t.currentValue
3183
- },
3184
- on: {
3185
- change: t.inputUpdate,
3186
- input: function(e) {
3187
- e.target.composing || (t.currentValue = e.target.value)
3188
- }
3189
- }
3190
- }), t.has_error ? s("p", {
3191
- staticClass: "error"
3192
- }, [s("inline-svg", {
3193
- staticClass: "icon",
3194
- attrs: {
3195
- src: i("827a"),
3196
- width: "16"
3197
- }
3198
- }), s("span", {
3199
- domProps: {
3200
- innerHTML: t._s(t.has_error)
3201
- }
3202
- })], 1) : t._e(), t.description ? s("p", {
3203
- staticClass: "description",
3204
- domProps: {
3205
- innerHTML: t._s(t.description)
3206
- }
3207
- }) : t._e()])
3208
- },
3209
- Ve = [],
3210
- Ye = (i("a9e3"), {
3211
- name: "SettingsInputNumber",
3212
- components: {
3213
- SettingsInfoTooltip: Nt
3214
- },
3215
- props: {
3216
- name: String,
3217
- value: [Number, String],
3218
- label: String,
3219
- description: String,
3220
- placeholder: String,
3221
- type: {
3222
- type: String,
3223
- default: "text"
3224
- },
3225
- tooltip: String,
3226
- default_value: String,
3227
- min: Number,
3228
- max: Number,
3229
- disabled: Boolean,
3230
- step: {
3231
- type: Number,
3232
- default: 1
3233
- },
3234
- round: {
3235
- type: Boolean,
3236
- default: !1
3237
- },
3238
- is_error: Boolean
3239
- },
3240
- data: function() {
3241
- return {
3242
- has_error: !1,
3243
- id: "input-" + this.name,
3244
- text_error_value: Object(c["c"])(Object(c["a"])("Please enter a value between %1$s and %2$s", "mo2f-setup"), "<strong>" + this.min + "</strong>", "<strong>" + this.max + "</strong>"),
3245
- text_error_round: Object(c["a"])("Value has to be a round number", "mo2f-setup")
3246
- }
3247
- },
3248
- computed: {
3249
- currentValue: {
3250
- get: function() {
3251
- return this.value
3252
- },
3253
- set: function(t) {
3254
- this.$emit("is_error_update", !1), this.$emit("input", parseInt(t, 10))
3255
- }
3256
- },
3257
- field_error: {
3258
- get: function() {
3259
- return this.is_error
3260
- },
3261
- set: function(t) {
3262
- this.$emit("is_error_update", t)
3263
- }
3264
- }
3265
- },
3266
- methods: {
3267
- inputUpdate: function(t) {
3268
- if (this.disabled) return !1;
3269
- this.has_error = !1;
3270
- var e = parseFloat(t.target.value);
3271
- return this.round && e % 1 !== 0 ? (this.has_error = this.text_error_round, !1) : e > this.max || e < this.min ? (this.has_error = this.text_error_value, !1) : void 0
3272
- }
3273
- }
3274
- }),
3275
- Je = Ye,
3276
- Ke = Object(_["a"])(Je, Ge, Ve, !1, null, null, null),
3277
- qe = Ke.exports,
3278
- Ze = function() {
3279
- var t = this,
3280
- e = t.$createElement,
3281
- i = t._self._c || e;
3282
- return i("div", {
3283
- staticClass: "settings-input-switch",
3284
- class: t.classname
3285
- }, [i("label", {
3286
- attrs: {
3287
- for: t.id
3288
- }
3289
- }, [i("span", {
3290
- staticClass: "title settings-input-label-container"
3291
- }, [i("span", {
3292
- staticClass: "label",
3293
- domProps: {
3294
- innerHTML: t._s(t.title)
3295
- }
3296
- }), t.tooltip ? i("settings-info-tooltip", {
3297
- attrs: {
3298
- content: t.tooltip
3299
- }
3300
- }) : t._e()], 1), t.description ? i("p", {
3301
- staticClass: "description",
3302
- domProps: {
3303
- innerHTML: t._s(t.description)
3304
- }
3305
- }) : t._e(), i("span", {
3306
- staticClass: "control"
3307
- }, [i("input", {
3308
- directives: [{
3309
- name: "model",
3310
- rawName: "v-model",
3311
- value: t.currentValue,
3312
- expression: "currentValue"
3313
- }],
3314
- attrs: {
3315
- id: t.id,
3316
- type: "checkbox",
3317
- name: t.name,
3318
- disabled: t.disabled
3319
- },
3320
- domProps: {
3321
- checked: Array.isArray(t.currentValue) ? t._i(t.currentValue, null) > -1 : t.currentValue
3322
- },
3323
- on: {
3324
- change: [function(e) {
3325
- var i = t.currentValue,
3326
- s = e.target,
3327
- a = !!s.checked;
3328
- if (Array.isArray(i)) {
3329
- var n = null,
3330
- o = t._i(i, n);
3331
- s.checked ? o < 0 && (t.currentValue = i.concat([n])) : o > -1 && (t.currentValue = i.slice(0, o).concat(i.slice(o + 1)))
3332
- } else t.currentValue = a
3333
- }, t.inputUpdate]
3334
- }
3335
- }), i("span", {
3336
- class: {
3337
- "toggle-switch": !0, "toggle-switch-with-label": t.label
3338
- }
3339
- }), t.label ? i("span", {
3340
- staticClass: "label-description",
3341
- domProps: {
3342
- innerHTML: t._s(t.label)
3343
- }
3344
- }) : t._e()])])])
3345
- },
3346
- Xe = [],
3347
- $e = {
3348
- name: "SettingsInputSwitch",
3349
- components: {
3350
- SettingsInfoTooltip: Nt
3351
- },
3352
- props: {
3353
- name: String,
3354
- value: Boolean,
3355
- title: String,
3356
- label: String,
3357
- description: String,
3358
- tooltip: String,
3359
- classname: String,
3360
- disabled: Boolean
3361
- },
3362
- data: function() {
3363
- return {
3364
- has_error: !1,
3365
- id: "input-" + this.name
3366
- }
3367
- },
3368
- computed: {
3369
- currentValue: {
3370
- get: function() {
3371
- return this.value
3372
- },
3373
- set: function(t) {
3374
- this.$emit("input", !!t)
3375
- }
3376
- }
3377
- },
3378
- methods: {
3379
- inputUpdate: function() {
3380
- if (this.disabled) return !1
3381
- }
3382
- }
3383
- },
3384
- ti = $e,
3385
- ei = Object(_["a"])(ti, Ze, Xe, !1, null, null, null),
3386
- ii = ei.exports,
3387
- si = {
3388
- name: "WizardStepConfigureMailerSmtp",
3389
- components: {
3390
- SettingsInputText: Ut,
3391
- SettingsInputRadio: Re,
3392
- SettingsInputNumber: qe,
3393
- SettingsInputSwitch: ii
3394
- },
3395
- data: function() {
3396
- return {
3397
- mailer: "smtp",
3398
- text_host_label: Object(c["a"])("SMTP Host", "mo2f-setup"),
3399
- text_encryption_label: Object(c["a"])("Encryption", "mo2f-setup"),
3400
- text_port_label: Object(c["a"])("SMTP Port", "mo2f-setup"),
3401
- text_autotls_title: Object(c["a"])("Auto TLS", "mo2f-setup"),
3402
- text_autotls_label: Object(c["a"])("Enable Auto TLS", "mo2f-setup"),
3403
- text_autotls_description: Object(c["a"])("By default, TLS encryption is automatically used if the server supports it (recommended). In some cases, due to server misconfigurations, this can cause issues and may need to be disabled.", "mo2f-setup"),
3404
- text_auth_title: Object(c["a"])("Authentication", "mo2f-setup"),
3405
- text_auth_label: Object(c["a"])("Enable Authentication", "mo2f-setup"),
3406
- text_user_label: Object(c["a"])("SMTP Username", "mo2f-setup"),
3407
- text_pass_label: Object(c["a"])("SMTP Password", "mo2f-setup"),
3408
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
3409
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
3410
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
3411
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
3412
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
3413
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
3414
- text_encryption_description: Object(c["a"])("For most servers TLS is the recommended option. If your SMTP provider offers both SSL and TLS options, we recommend using TLS.", "mo2f-setup"),
3415
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3416
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3417
- description: this.$wpms.mailer_options.smtp.description,
3418
- encryptionOptions: [{
3419
- label: Object(c["a"])("None", "mo2f-setup"),
3420
- value: "none",
3421
- default_port: 25
3422
- }, {
3423
- label: Object(c["a"])("SSL", "mo2f-setup"),
3424
- value: "ssl",
3425
- default_port: 465
3426
- }, {
3427
- label: Object(c["a"])("TLS", "mo2f-setup"),
3428
- value: "tls",
3429
- default_port: 587
3430
- }],
3431
- show_autotls: !0,
3432
- show_user_and_pass: !0,
3433
- field_errors: []
3434
- }
3435
- },
3436
- computed: Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.smtp.host", "settings.smtp.auth", "settings.smtp.port", "settings.smtp.encryption", "settings.smtp.user", "settings.smtp.pass", "settings.smtp.autotls", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])),
3437
- watch: {
3438
- encryption: function(t) {
3439
- this.show_autotls = "tls" !== t
3440
- }
3441
- },
3442
- methods: {
3443
- getEncryptionDefaultPort: function(t) {
3444
- return this.encryptionOptions.find((function(e) {
3445
- return e.value === t
3446
- })).default_port
3447
- },
3448
- encryptionChanged: function(t) {
3449
- this.port = this.getEncryptionDefaultPort(t)
3450
- },
3451
- areRequiredFieldsValid: function() {
3452
- var t = !0;
3453
- return "" === this.host && (t = !1, this.field_errors.push("host")), ("" === this.port || isNaN(this.port)) && (t = !1, this.field_errors.push("port")), this.auth && ("" === this.user && (t = !1, this.field_errors.push("user")), "" === this.pass && (t = !1, this.field_errors.push("pass"))), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
3454
- },
3455
- removeFieldError: function(t) {
3456
- this.field_errors = this.field_errors.filter((function(e) {
3457
- return e !== t
3458
- }))
3459
- }
3460
- },
3461
- mounted: function() {
3462
- "tls" === this.encryption && (this.show_autotls = !1)
3463
- }
3464
- },
3465
- ai = si,
3466
- ni = Object(_["a"])(ai, Fe, Ne, !1, null, null, null),
3467
- oi = ni.exports,
3468
- ri = function() {
3469
- var t = this,
3470
- e = t.$createElement,
3471
- s = t._self._c || e;
3472
- return s("div", {
3473
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-smtpcom"
3474
- }, [s("p", {
3475
- staticClass: "mailer-description",
3476
- domProps: {
3477
- innerHTML: t._s(t.description)
3478
- }
3479
- }), s("p", {
3480
- staticClass: "mailer-description mailer-description-links"
3481
- }, [s("a", {
3482
- staticClass: "mo2f-setup-button mo2f-setup-button-small mo2f-setup-button-secondary",
3483
- attrs: {
3484
- href: "https://wpmailsmtp.com/go/smtp/",
3485
- target: "_blank",
3486
- rel: "noopener noreferrer"
3487
- }
3488
- }, [s("span", {
3489
- staticClass: "text-with-arrow text-with-arrow-right"
3490
- }, [t._v(" " + t._s(t.text_get_started_button)), s("inline-svg", {
3491
- staticClass: "icon",
3492
- attrs: {
3493
- src: i("107e"),
3494
- width: "16",
3495
- height: "23"
3496
- }
3497
- })], 1)]), s("a", {
3498
- staticClass: "mo2f-setup-link",
3499
- attrs: {
3500
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-smtp-com-mailer-in-mo2f-setup",
3501
- target: "_blank",
3502
- rel: "noopener noreferrer"
3503
- }
3504
- }, [t._v(t._s(t.text_documentation_link))])]), s("div", {
3505
- staticClass: "mo2f-setup-setup-wizard-form"
3506
- }, [s("settings-input-text", {
3507
- attrs: {
3508
- name: "api_key",
3509
- type: "password",
3510
- label: t.text_api_key_label,
3511
- description: t.text_api_key_description,
3512
- is_error: t.field_errors.includes("api_key")
3513
- },
3514
- on: {
3515
- is_error_update: function(e) {
3516
- return t.removeFieldError("api_key")
3517
- }
3518
- },
3519
- model: {
3520
- value: t.api_key,
3521
- callback: function(e) {
3522
- t.api_key = e
3523
- },
3524
- expression: "api_key"
3525
- }
3526
- }), s("settings-input-text", {
3527
- attrs: {
3528
- name: "channel",
3529
- label: t.text_channel_label,
3530
- description: t.text_channel_description,
3531
- is_error: t.field_errors.includes("channel")
3532
- },
3533
- on: {
3534
- is_error_update: function(e) {
3535
- return t.removeFieldError("channel")
3536
- }
3537
- },
3538
- model: {
3539
- value: t.channel,
3540
- callback: function(e) {
3541
- t.channel = e
3542
- },
3543
- expression: "channel"
3544
- }
3545
- }), s("settings-input-text", {
3546
- attrs: {
3547
- name: "from_name",
3548
- label: t.text_from_name_label,
3549
- description: t.text_from_name_description
3550
- },
3551
- model: {
3552
- value: t.from_name,
3553
- callback: function(e) {
3554
- t.from_name = e
3555
- },
3556
- expression: "from_name"
3557
- }
3558
- }), s("settings-input-switch", {
3559
- attrs: {
3560
- classname: "sub_setting",
3561
- name: "from_name_force",
3562
- title: t.text_force_from_name_title,
3563
- label: t.text_force_from_name_label
3564
- },
3565
- model: {
3566
- value: t.from_name_force,
3567
- callback: function(e) {
3568
- t.from_name_force = e
3569
- },
3570
- expression: "from_name_force"
3571
- }
3572
- }), s("settings-input-text", {
3573
- attrs: {
3574
- name: "from_email",
3575
- type: "email",
3576
- label: t.text_from_email_label,
3577
- description: t.text_from_email_description,
3578
- is_error: t.field_errors.includes("from_email")
3579
- },
3580
- on: {
3581
- is_error_update: function(e) {
3582
- return t.removeFieldError("from_email")
3583
- }
3584
- },
3585
- model: {
3586
- value: t.from_email,
3587
- callback: function(e) {
3588
- t.from_email = e
3589
- },
3590
- expression: "from_email"
3591
- }
3592
- }), s("settings-input-switch", {
3593
- attrs: {
3594
- classname: "sub_setting",
3595
- name: "from_email_force",
3596
- title: t.text_force_from_email_title,
3597
- label: t.text_force_from_email_label
3598
- },
3599
- model: {
3600
- value: t.from_email_force,
3601
- callback: function(e) {
3602
- t.from_email_force = e
3603
- },
3604
- expression: "from_email_force"
3605
- }
3606
- })], 1)])
3607
- },
3608
- li = [],
3609
- ci = (i("baa5"), {
3610
- name: "WizardStepConfigureMailerSmtpCom",
3611
- components: {
3612
- SettingsInputText: Ut,
3613
- SettingsInputSwitch: ii
3614
- },
3615
- data: function() {
3616
- return {
3617
- mailer: "smtpcom",
3618
- text_api_key_label: Object(c["a"])("API Key", "mo2f-setup"),
3619
- text_channel_label: Object(c["a"])("Sender Name", "mo2f-setup"),
3620
- text_api_key_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for SMTP.com.", "mo2f-setup"), '<a href="https://my.smtp.com/settings/api" target="_blank" rel="noopener noreferrer">', "</a>"),
3621
- text_channel_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Sender Name for SMTP.com.", "mo2f-setup"), '<a href="https://my.smtp.com/senders/" target="_blank" rel="noopener noreferrer">', "</a>"),
3622
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
3623
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
3624
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
3625
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
3626
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3627
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3628
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
3629
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
3630
- text_get_started_button: Object(c["a"])("Get Started with SMTP.com", "mo2f-setup"),
3631
- text_documentation_link: Object(c["a"])("Read how to set up SMTP.com", "mo2f-setup"),
3632
- description: this.$wpms.mailer_options.smtpcom.description.substr(0, this.$wpms.mailer_options.smtpcom.description.lastIndexOf("<br><br>")),
3633
- field_errors: []
3634
- }
3635
- },
3636
- computed: Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.smtpcom.api_key", "settings.smtpcom.channel", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])),
3637
- methods: {
3638
- areRequiredFieldsValid: function() {
3639
- var t = !0;
3640
- return "" === this.api_key && (t = !1, this.field_errors.push("api_key")), "" === this.channel && (t = !1, this.field_errors.push("channel")), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
3641
- },
3642
- removeFieldError: function(t) {
3643
- this.field_errors = this.field_errors.filter((function(e) {
3644
- return e !== t
3645
- }))
3646
- }
3647
- }
3648
- }),
3649
- pi = ci,
3650
- mi = Object(_["a"])(pi, ri, li, !1, null, null, null),
3651
- ui = mi.exports,
3652
- di = function() {
3653
- var t = this,
3654
- e = t.$createElement,
3655
- s = t._self._c || e;
3656
- return s("div", {
3657
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-sendinblue"
3658
- }, [s("p", {
3659
- staticClass: "mailer-description",
3660
- domProps: {
3661
- innerHTML: t._s(t.description)
3662
- }
3663
- }), s("p", {
3664
- staticClass: "mailer-description mailer-description-links"
3665
- }, [s("a", {
3666
- staticClass: "mo2f-setup-button mo2f-setup-button-small mo2f-setup-button-secondary",
3667
- attrs: {
3668
- href: "https://wpmailsmtp.com/go/sendinblue/",
3669
- target: "_blank",
3670
- rel: "noopener noreferrer"
3671
- }
3672
- }, [s("span", {
3673
- staticClass: "text-with-arrow text-with-arrow-right"
3674
- }, [t._v(" " + t._s(t.text_get_started_button)), s("inline-svg", {
3675
- staticClass: "icon",
3676
- attrs: {
3677
- src: i("107e"),
3678
- width: "16",
3679
- height: "23"
3680
- }
3681
- })], 1)]), s("a", {
3682
- staticClass: "mo2f-setup-link",
3683
- attrs: {
3684
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-mo2f-setup",
3685
- target: "_blank",
3686
- rel: "noopener noreferrer"
3687
- }
3688
- }, [t._v(t._s(t.text_documentation_link))])]), s("div", {
3689
- staticClass: "mo2f-setup-setup-wizard-form"
3690
- }, [s("settings-input-text", {
3691
- attrs: {
3692
- name: "api_key",
3693
- type: "password",
3694
- label: t.text_api_key_label,
3695
- description: t.text_api_key_description,
3696
- is_error: t.field_errors.includes("api_key")
3697
- },
3698
- on: {
3699
- is_error_update: function(e) {
3700
- return t.removeFieldError("api_key")
3701
- }
3702
- },
3703
- model: {
3704
- value: t.api_key,
3705
- callback: function(e) {
3706
- t.api_key = e
3707
- },
3708
- expression: "api_key"
3709
- }
3710
- }), s("settings-input-text", {
3711
- attrs: {
3712
- name: "domain",
3713
- label: t.text_domain_label,
3714
- description: t.text_domain_description
3715
- },
3716
- model: {
3717
- value: t.domain,
3718
- callback: function(e) {
3719
- t.domain = e
3720
- },
3721
- expression: "domain"
3722
- }
3723
- }), s("settings-input-text", {
3724
- attrs: {
3725
- name: "from_name",
3726
- label: t.text_from_name_label,
3727
- description: t.text_from_name_description
3728
- },
3729
- model: {
3730
- value: t.from_name,
3731
- callback: function(e) {
3732
- t.from_name = e
3733
- },
3734
- expression: "from_name"
3735
- }
3736
- }), s("settings-input-switch", {
3737
- attrs: {
3738
- classname: "sub_setting",
3739
- name: "from_name_force",
3740
- title: t.text_force_from_name_title,
3741
- label: t.text_force_from_name_label
3742
- },
3743
- model: {
3744
- value: t.from_name_force,
3745
- callback: function(e) {
3746
- t.from_name_force = e
3747
- },
3748
- expression: "from_name_force"
3749
- }
3750
- }), s("settings-input-text", {
3751
- attrs: {
3752
- name: "from_email",
3753
- type: "email",
3754
- label: t.text_from_email_label,
3755
- description: t.text_from_email_description,
3756
- is_error: t.field_errors.includes("from_email")
3757
- },
3758
- on: {
3759
- is_error_update: function(e) {
3760
- return t.removeFieldError("from_email")
3761
- }
3762
- },
3763
- model: {
3764
- value: t.from_email,
3765
- callback: function(e) {
3766
- t.from_email = e
3767
- },
3768
- expression: "from_email"
3769
- }
3770
- }), s("settings-input-switch", {
3771
- attrs: {
3772
- classname: "sub_setting",
3773
- name: "from_email_force",
3774
- title: t.text_force_from_email_title,
3775
- label: t.text_force_from_email_label
3776
- },
3777
- model: {
3778
- value: t.from_email_force,
3779
- callback: function(e) {
3780
- t.from_email_force = e
3781
- },
3782
- expression: "from_email_force"
3783
- }
3784
- })], 1)])
3785
- },
3786
- _i = [],
3787
- fi = {
3788
- name: "WizardStepConfigureMailerSendinblue",
3789
- components: {
3790
- SettingsInputText: Ut,
3791
- SettingsInputSwitch: ii
3792
- },
3793
- data: function() {
3794
- return {
3795
- mailer: "sendinblue",
3796
- text_api_key_label: Object(c["a"])("API Key", "mo2f-setup"),
3797
- text_domain_label: Object(c["a"])("Sending Domain", "mo2f-setup"),
3798
- text_api_key_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendinblue.", "mo2f-setup"), '<a href="https://account.sendinblue.com/advanced/api" target="_blank" rel="noopener noreferrer">', "</a>"),
3799
- text_domain_description: Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your Sendinblue dashboard. More information can be found in our %1$sSendinblue documentation%2$s", "mo2f-setup"), '<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-mo2f-setup#setup-smtp" target="_blank" rel="noopener noreferrer">', "</a>"),
3800
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
3801
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
3802
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
3803
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
3804
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3805
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3806
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
3807
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
3808
- text_get_started_button: Object(c["a"])("Get Started with Sendinblue", "mo2f-setup"),
3809
- text_documentation_link: Object(c["a"])("Read how to set up Sendinblue", "mo2f-setup"),
3810
- description: this.$wpms.mailer_options.sendinblue.description.substr(0, this.$wpms.mailer_options.sendinblue.description.lastIndexOf("<br><br>")),
3811
- field_errors: []
3812
- }
3813
- },
3814
- computed: Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.sendinblue.api_key", "settings.sendinblue.domain", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])),
3815
- methods: {
3816
- areRequiredFieldsValid: function() {
3817
- var t = !0;
3818
- return "" === this.api_key && (t = !1, this.field_errors.push("api_key")), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
3819
- },
3820
- removeFieldError: function(t) {
3821
- this.field_errors = this.field_errors.filter((function(e) {
3822
- return e !== t
3823
- }))
3824
- }
3825
- }
3826
- },
3827
- hi = fi,
3828
- gi = Object(_["a"])(hi, di, _i, !1, null, null, null),
3829
- wi = gi.exports,
3830
- bi = function() {
3831
- var t = this,
3832
- e = t.$createElement,
3833
- i = t._self._c || e;
3834
- return i("div", {
3835
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-mailgun"
3836
- }, [i("p", {
3837
- staticClass: "mailer-description",
3838
- domProps: {
3839
- innerHTML: t._s(t.description)
3840
- }
3841
- }), i("p", {
3842
- staticClass: "mailer-description mailer-description-links"
3843
- }, [i("a", {
3844
- staticClass: "mo2f-setup-link",
3845
- attrs: {
3846
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-mailgun-mailer-in-mo2f-setup/",
3847
- target: "_blank",
3848
- rel: "noopener noreferrer"
3849
- }
3850
- }, [t._v(t._s(t.text_documentation_link))])]), i("div", {
3851
- staticClass: "mo2f-setup-setup-wizard-form"
3852
- }, [i("settings-input-text", {
3853
- attrs: {
3854
- name: "api_key",
3855
- type: "password",
3856
- label: t.text_api_key_label,
3857
- description: t.text_api_key_description,
3858
- is_error: t.field_errors.includes("api_key")
3859
- },
3860
- on: {
3861
- is_error_update: function(e) {
3862
- return t.removeFieldError("api_key")
3863
- }
3864
- },
3865
- model: {
3866
- value: t.api_key,
3867
- callback: function(e) {
3868
- t.api_key = e
3869
- },
3870
- expression: "api_key"
3871
- }
3872
- }), i("settings-input-text", {
3873
- attrs: {
3874
- name: "domain",
3875
- label: t.text_domain_label,
3876
- description: t.text_domain_description,
3877
- is_error: t.field_errors.includes("domain")
3878
- },
3879
- on: {
3880
- is_error_update: function(e) {
3881
- return t.removeFieldError("domain")
3882
- }
3883
- },
3884
- model: {
3885
- value: t.domain,
3886
- callback: function(e) {
3887
- t.domain = e
3888
- },
3889
- expression: "domain"
3890
- }
3891
- }), i("settings-input-radio", {
3892
- attrs: {
3893
- name: "region",
3894
- label: t.text_region_label,
3895
- options: t.regionOptions,
3896
- description: t.text_region_description
3897
- },
3898
- model: {
3899
- value: t.region,
3900
- callback: function(e) {
3901
- t.region = e
3902
- },
3903
- expression: "region"
3904
- }
3905
- }), i("settings-input-text", {
3906
- attrs: {
3907
- name: "from_name",
3908
- label: t.text_from_name_label,
3909
- description: t.text_from_name_description
3910
- },
3911
- model: {
3912
- value: t.from_name,
3913
- callback: function(e) {
3914
- t.from_name = e
3915
- },
3916
- expression: "from_name"
3917
- }
3918
- }), i("settings-input-switch", {
3919
- attrs: {
3920
- classname: "sub_setting",
3921
- name: "from_name_force",
3922
- title: t.text_force_from_name_title,
3923
- label: t.text_force_from_name_label
3924
- },
3925
- model: {
3926
- value: t.from_name_force,
3927
- callback: function(e) {
3928
- t.from_name_force = e
3929
- },
3930
- expression: "from_name_force"
3931
- }
3932
- }), i("settings-input-text", {
3933
- attrs: {
3934
- name: "from_email",
3935
- type: "email",
3936
- label: t.text_from_email_label,
3937
- description: t.text_from_email_description,
3938
- is_error: t.field_errors.includes("from_email")
3939
- },
3940
- on: {
3941
- is_error_update: function(e) {
3942
- return t.removeFieldError("from_email")
3943
- }
3944
- },
3945
- model: {
3946
- value: t.from_email,
3947
- callback: function(e) {
3948
- t.from_email = e
3949
- },
3950
- expression: "from_email"
3951
- }
3952
- }), i("settings-input-switch", {
3953
- attrs: {
3954
- classname: "sub_setting",
3955
- name: "from_email_force",
3956
- title: t.text_force_from_email_title,
3957
- label: t.text_force_from_email_label
3958
- },
3959
- model: {
3960
- value: t.from_email_force,
3961
- callback: function(e) {
3962
- t.from_email_force = e
3963
- },
3964
- expression: "from_email_force"
3965
- }
3966
- })], 1)])
3967
- },
3968
- Ai = [],
3969
- vi = (i("c975"), {
3970
- name: "WizardStepConfigureMailerMailgun",
3971
- components: {
3972
- SettingsInputText: Ut,
3973
- SettingsInputRadio: Re,
3974
- SettingsInputSwitch: ii
3975
- },
3976
- data: function() {
3977
- return {
3978
- mailer: "mailgun",
3979
- text_api_key_label: Object(c["a"])("API Key", "mo2f-setup"),
3980
- text_domain_label: Object(c["a"])("Domain Name", "mo2f-setup"),
3981
- text_region_label: Object(c["a"])("Region", "mo2f-setup"),
3982
- text_api_key_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key from Mailgun.", "mo2f-setup"), '<a href="https://app.mailgun.com/app/account/security/api_keys" target="_blank" rel="noopener noreferrer">', "</a>"),
3983
- text_domain_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get a Domain Name from Mailgun.", "mo2f-setup"), '<a href="https://app.mailgun.com/app/domains" target="_blank" rel="noopener noreferrer">', "</a>"),
3984
- text_region_description: Object(c["c"])(Object(c["a"])("Define which endpoint you want to use for sending messages. If you are operating under EU laws, you may be required to use EU region. %1$sMore information%2$s on Mailgun.com.", "mo2f-setup"), '<a href="https://www.mailgun.com/regions" target="_blank" rel="noopener noreferrer">', "</a>"),
3985
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
3986
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
3987
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
3988
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
3989
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3990
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
3991
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
3992
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
3993
- text_documentation_link: Object(c["a"])("Read how to set up Mailgun", "mo2f-setup"),
3994
- description: this.$wpms.mailer_options.mailgun.description.substr(0, this.$wpms.mailer_options.mailgun.description.indexOf("<br>")),
3995
- regionOptions: [{
3996
- label: Object(c["a"])("US", "mo2f-setup"),
3997
- value: "US"
3998
- }, {
3999
- label: Object(c["a"])("EU", "mo2f-setup"),
4000
- value: "EU"
4001
- }],
4002
- field_errors: []
4003
- }
4004
- },
4005
- computed: Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.mailgun.api_key", "settings.mailgun.domain", "settings.mailgun.region", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])),
4006
- methods: {
4007
- areRequiredFieldsValid: function() {
4008
- var t = !0;
4009
- return "" === this.api_key && (t = !1, this.field_errors.push("api_key")), "" === this.domain && (t = !1, this.field_errors.push("domain")), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
4010
- },
4011
- removeFieldError: function(t) {
4012
- this.field_errors = this.field_errors.filter((function(e) {
4013
- return e !== t
4014
- }))
4015
- }
4016
- }
4017
- }),
4018
- xi = vi,
4019
- yi = Object(_["a"])(xi, bi, Ai, !1, null, null, null),
4020
- Ci = yi.exports,
4021
- ki = function() {
4022
- var t = this,
4023
- e = t.$createElement,
4024
- i = t._self._c || e;
4025
- return i("div", {
4026
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-sendgrid"
4027
- }, [i("p", {
4028
- staticClass: "mailer-description",
4029
- domProps: {
4030
- innerHTML: t._s(t.description)
4031
- }
4032
- }), i("p", {
4033
- staticClass: "mailer-description mailer-description-links"
4034
- }, [i("a", {
4035
- staticClass: "mo2f-setup-link",
4036
- attrs: {
4037
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-mo2f-setup/",
4038
- target: "_blank",
4039
- rel: "noopener noreferrer"
4040
- }
4041
- }, [t._v(t._s(t.text_documentation_link))])]), i("div", {
4042
- staticClass: "mo2f-setup-setup-wizard-form"
4043
- }, [i("settings-input-text", {
4044
- attrs: {
4045
- name: "api_key",
4046
- type: "password",
4047
- label: t.text_api_key_label,
4048
- description: t.text_api_key_description,
4049
- is_error: t.field_errors.includes("api_key")
4050
- },
4051
- on: {
4052
- is_error_update: function(e) {
4053
- return t.removeFieldError("api_key")
4054
- }
4055
- },
4056
- model: {
4057
- value: t.api_key,
4058
- callback: function(e) {
4059
- t.api_key = e
4060
- },
4061
- expression: "api_key"
4062
- }
4063
- }), i("settings-input-text", {
4064
- attrs: {
4065
- name: "domain",
4066
- label: t.text_domain_label,
4067
- description: t.text_domain_description
4068
- },
4069
- model: {
4070
- value: t.domain,
4071
- callback: function(e) {
4072
- t.domain = e
4073
- },
4074
- expression: "domain"
4075
- }
4076
- }), i("settings-input-text", {
4077
- attrs: {
4078
- name: "from_name",
4079
- label: t.text_from_name_label,
4080
- description: t.text_from_name_description
4081
- },
4082
- model: {
4083
- value: t.from_name,
4084
- callback: function(e) {
4085
- t.from_name = e
4086
- },
4087
- expression: "from_name"
4088
- }
4089
- }), i("settings-input-switch", {
4090
- attrs: {
4091
- classname: "sub_setting",
4092
- name: "from_name_force",
4093
- title: t.text_force_from_name_title,
4094
- label: t.text_force_from_name_label
4095
- },
4096
- model: {
4097
- value: t.from_name_force,
4098
- callback: function(e) {
4099
- t.from_name_force = e
4100
- },
4101
- expression: "from_name_force"
4102
- }
4103
- }), i("settings-input-text", {
4104
- attrs: {
4105
- name: "from_email",
4106
- type: "email",
4107
- label: t.text_from_email_label,
4108
- description: t.text_from_email_description,
4109
- is_error: t.field_errors.includes("from_email")
4110
- },
4111
- on: {
4112
- is_error_update: function(e) {
4113
- return t.removeFieldError("from_email")
4114
- }
4115
- },
4116
- model: {
4117
- value: t.from_email,
4118
- callback: function(e) {
4119
- t.from_email = e
4120
- },
4121
- expression: "from_email"
4122
- }
4123
- }), i("settings-input-switch", {
4124
- attrs: {
4125
- classname: "sub_setting",
4126
- name: "from_email_force",
4127
- title: t.text_force_from_email_title,
4128
- label: t.text_force_from_email_label
4129
- },
4130
- model: {
4131
- value: t.from_email_force,
4132
- callback: function(e) {
4133
- t.from_email_force = e
4134
- },
4135
- expression: "from_email_force"
4136
- }
4137
- })], 1)])
4138
- },
4139
- Oi = [],
4140
- ji = {
4141
- name: "WizardStepConfigureMailerSendgrid",
4142
- components: {
4143
- SettingsInputText: Ut,
4144
- SettingsInputSwitch: ii
4145
- },
4146
- data: function() {
4147
- return {
4148
- mailer: "sendgrid",
4149
- text_api_key_label: Object(c["a"])("API Key", "mo2f-setup"),
4150
- text_domain_label: Object(c["a"])("Sending Domain", "mo2f-setup"),
4151
- text_api_key_description: Object(c["c"])(Object(c["a"])("%1$sFollow this link%2$s to get an API Key for Sendgrid.", "mo2f-setup"), '<a href="https://app.sendgrid.com/settings/api_keys" target="_blank" rel="noopener noreferrer">', "</a>") + "<br>" + Object(c["c"])(Object(c["a"])("To send emails you will need only a %1$sMail Send%2$s access level for this API key.", "mo2f-setup"), "<i>", "</i>"),
4152
- text_domain_description: Object(c["c"])(Object(c["a"])("Please input the sending domain/subdomain you configured in your SendGrid dashboard. More information can be found in our %1$sSendGrid documentation%2$s", "mo2f-setup"), '<a href="https://wpmailsmtp.com/docs/how-to-set-up-the-sendgrid-mailer-in-mo2f-setup/#setup" target="_blank" rel="noopener noreferrer">', "</a>"),
4153
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
4154
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
4155
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
4156
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
4157
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
4158
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
4159
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
4160
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
4161
- text_documentation_link: Object(c["a"])("Read how to set up Sendgrid", "mo2f-setup"),
4162
- description: this.$wpms.mailer_options.sendgrid.description.substr(0, this.$wpms.mailer_options.sendgrid.description.indexOf("<br>")),
4163
- field_errors: []
4164
- }
4165
- },
4166
- computed: Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.sendgrid.api_key", "settings.sendgrid.domain", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])),
4167
- methods: {
4168
- areRequiredFieldsValid: function() {
4169
- var t = !0;
4170
- return "" === this.api_key && (t = !1, this.field_errors.push("api_key")), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
4171
- },
4172
- removeFieldError: function(t) {
4173
- this.field_errors = this.field_errors.filter((function(e) {
4174
- return e !== t
4175
- }))
4176
- }
4177
- }
4178
- },
4179
- Si = ji,
4180
- Pi = Object(_["a"])(Si, ki, Oi, !1, null, null, null),
4181
- Ei = Pi.exports,
4182
- Ti = function() {
4183
- var t = this,
4184
- e = t.$createElement,
4185
- i = t._self._c || e;
4186
- return i("div", {
4187
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-amazonses"
4188
- }, [i("p", {
4189
- staticClass: "mailer-description",
4190
- domProps: {
4191
- innerHTML: t._s(t.description)
4192
- }
4193
- }), i("p", {
4194
- staticClass: "mailer-description mailer-description-links"
4195
- }, [i("b", [i("a", {
4196
- staticClass: "mo2f-setup-link",
4197
- attrs: {
4198
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-amazon-ses-mailer-in-mo2f-setup/",
4199
- target: "_blank",
4200
- rel: "noopener noreferrer"
4201
- }
4202
- }, [t._v(t._s(t.text_documentation_link))])])]), i("div", {
4203
- staticClass: "mo2f-setup-setup-wizard-form"
4204
- }, [i("settings-input-text", {
4205
- attrs: {
4206
- name: "client_id",
4207
- label: t.text_client_id_label,
4208
- is_error: t.field_errors.includes("client_id")
4209
- },
4210
- on: {
4211
- is_error_update: function(e) {
4212
- return t.removeFieldError("client_id")
4213
- }
4214
- },
4215
- model: {
4216
- value: t.client_id,
4217
- callback: function(e) {
4218
- t.client_id = e
4219
- },
4220
- expression: "client_id"
4221
- }
4222
- }), i("settings-input-text", {
4223
- attrs: {
4224
- name: "client_secret",
4225
- type: "password",
4226
- label: t.text_client_secret_label,
4227
- is_error: t.field_errors.includes("client_secret")
4228
- },
4229
- on: {
4230
- is_error_update: function(e) {
4231
- return t.removeFieldError("client_secret")
4232
- }
4233
- },
4234
- model: {
4235
- value: t.client_secret,
4236
- callback: function(e) {
4237
- t.client_secret = e
4238
- },
4239
- expression: "client_secret"
4240
- }
4241
- }), i("settings-input-select", {
4242
- attrs: {
4243
- name: "region",
4244
- label: t.text_region_label,
4245
- options: t.regionOptions,
4246
- description: t.text_region_description,
4247
- is_error: t.field_errors.includes("region")
4248
- },
4249
- on: {
4250
- is_error_update: function(e) {
4251
- return t.removeFieldError("region")
4252
- }
4253
- },
4254
- model: {
4255
- value: t.region,
4256
- callback: function(e) {
4257
- t.region = e
4258
- },
4259
- expression: "region"
4260
- }
4261
- }), t.is_api_auth_missing ? t._e() : i("div", [i("div", {
4262
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
4263
- }), i("settings-amazon-s-e-s-identities", {
4264
- attrs: {
4265
- options: t.identities,
4266
- label: t.text_identities_label,
4267
- columns: t.identities_columns
4268
- }
4269
- }), i("div", {
4270
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
4271
- }), i("settings-input-text", {
4272
- attrs: {
4273
- name: "from_name",
4274
- label: t.text_from_name_label,
4275
- description: t.text_from_name_description
4276
- },
4277
- model: {
4278
- value: t.from_name,
4279
- callback: function(e) {
4280
- t.from_name = e
4281
- },
4282
- expression: "from_name"
4283
- }
4284
- }), i("settings-input-switch", {
4285
- attrs: {
4286
- classname: "sub_setting",
4287
- name: "from_name_force",
4288
- title: t.text_force_from_name_title,
4289
- label: t.text_force_from_name_label
4290
- },
4291
- model: {
4292
- value: t.from_name_force,
4293
- callback: function(e) {
4294
- t.from_name_force = e
4295
- },
4296
- expression: "from_name_force"
4297
- }
4298
- }), i("settings-input-text", {
4299
- attrs: {
4300
- name: "from_email",
4301
- type: "email",
4302
- label: t.text_from_email_label,
4303
- description: t.text_from_email_description,
4304
- is_error: t.field_errors.includes("from_email")
4305
- },
4306
- on: {
4307
- is_error_update: function(e) {
4308
- return t.removeFieldError("from_email")
4309
- }
4310
- },
4311
- model: {
4312
- value: t.from_email,
4313
- callback: function(e) {
4314
- t.from_email = e
4315
- },
4316
- expression: "from_email"
4317
- }
4318
- }), i("settings-input-switch", {
4319
- attrs: {
4320
- classname: "sub_setting",
4321
- name: "from_email_force",
4322
- title: t.text_force_from_email_title,
4323
- label: t.text_force_from_email_label
4324
- },
4325
- model: {
4326
- value: t.from_email_force,
4327
- callback: function(e) {
4328
- t.from_email_force = e
4329
- },
4330
- expression: "from_email_force"
4331
- }
4332
- })], 1)], 1)])
4333
- },
4334
- zi = [],
4335
- Bi = i("f7fe"),
4336
- Ii = i.n(Bi),
4337
- Mi = function() {
4338
- var t = this,
4339
- e = t.$createElement,
4340
- i = t._self._c || e;
4341
- return i("div", {
4342
- staticClass: "settings-input-select",
4343
- class: {
4344
- "settings-input-select-error": t.field_error
4345
- }
4346
- }, [i("label", {
4347
- staticClass: "settings-input-label-container",
4348
- attrs: {
4349
- for: "mo2f-setup-settings-select-" + t.name
4350
- }
4351
- }, [i("span", {
4352
- staticClass: "label",
4353
- domProps: {
4354
- innerHTML: t._s(t.label)
4355
- }
4356
- })]), i("div", {
4357
- staticClass: "settings-input-select-container"
4358
- }, [i("select", {
4359
- directives: [{
4360
- name: "model",
4361
- rawName: "v-model",
4362
- value: t.selected,
4363
- expression: "selected"
4364
- }],
4365
- attrs: {
4366
- id: "mo2f-setup-settings-select-" + t.name,
4367
- name: t.name,
4368
- readonly: t.disabled
4369
- },
4370
- on: {
4371
- change: function(e) {
4372
- var i = Array.prototype.filter.call(e.target.options, (function(t) {
4373
- return t.selected
4374
- })).map((function(t) {
4375
- var e = "_value" in t ? t._value : t.value;
4376
- return e
4377
- }));
4378
- t.selected = e.target.multiple ? i : i[0]
4379
- }
4380
- }
4381
- }, t._l(t.options, (function(e) {
4382
- return i("option", {
4383
- key: e.value,
4384
- domProps: {
4385
- value: e.value
4386
- }
4387
- }, [t._v(" " + t._s(e.label) + " ")])
4388
- })), 0)]), t.description ? i("p", {
4389
- staticClass: "description",
4390
- domProps: {
4391
- innerHTML: t._s(t.description)
4392
- }
4393
- }) : t._e()])
4394
- },
4395
- Di = [],
4396
- Fi = {
4397
- name: "SettingsInputSelect",
4398
- props: {
4399
- options: Array,
4400
- label: String,
4401
- name: String,
4402
- value: String,
4403
- description: String,
4404
- disabled: Boolean,
4405
- is_error: Boolean
4406
- },
4407
- computed: {
4408
- selected: {
4409
- get: function() {
4410
- return this.value
4411
- },
4412
- set: function(t) {
4413
- this.$emit("is_error_update", !1), this.$emit("input", t)
4414
- }
4415
- },
4416
- field_error: {
4417
- get: function() {
4418
- return this.is_error
4419
- },
4420
- set: function(t) {
4421
- this.$emit("is_error_update", t)
4422
- }
4423
- }
4424
- }
4425
- },
4426
- Ni = Fi,
4427
- Qi = Object(_["a"])(Ni, Mi, Di, !1, null, null, null),
4428
- Li = Qi.exports,
4429
- Wi = function() {
4430
- var t = this,
4431
- e = t.$createElement,
4432
- s = t._self._c || e;
4433
- return s("div", {
4434
- staticClass: "settings-amazon-ses-identities"
4435
- }, [s("label", {
4436
- staticClass: "settings-input-label-container"
4437
- }, [s("span", {
4438
- staticClass: "label",
4439
- domProps: {
4440
- innerHTML: t._s(t.label)
4441
- }
4442
- }), t.tooltip ? s("settings-info-tooltip", {
4443
- attrs: {
4444
- content: t.tooltip
4445
- }
4446
- }) : t._e()], 1), t.options ? s("div", [t.options && 0 !== t.options.length ? s("p", {
4447
- staticClass: "description"
4448
- }, [t._v(" " + t._s(t.text_identities_table_description) + " ")]) : s("p", {
4449
- staticClass: "description"
4450
- }, [s("strong", [t._v(t._s(t.text_no_registered_identities_title))]), t._v(" " + t._s(t.text_no_registered_identities_content) + " ")]), s("div", {
4451
- staticClass: "ses-identities-container"
4452
- }, [t.options && t.options.length > 0 ? s("div", {
4453
- staticClass: "ses-identities-table-container"
4454
- }, [s("table", [t.columns ? s("tr", {
4455
- staticClass: "ses-identity-columns"
4456
- }, t._l(t.filtered_columns, (function(e) {
4457
- return s("th", {
4458
- key: e.key,
4459
- class: "ses-identity-column ses-identity-column-" + e.key
4460
- }, [t._v(" " + t._s(e.label) + " ")])
4461
- })), 0) : t._e(), t._l(t.options, (function(e, i) {
4462
- return s("tr", {
4463
- key: i
4464
- }, [s("td", [t._v(" " + t._s(e.value) + " ")]), s("td", [t._v(" " + t._s(e.type) + " ")]), s("td", [t._v(" " + t._s(e.status) + " ")])])
4465
- })), t.show_identity_form ? t._e() : s("button", {
4466
- staticClass: "mo2f-setup-button mo2f-setup-button-main mo2f-setup-button-small",
4467
- attrs: {
4468
- type: "button"
4469
- },
4470
- on: {
4471
- click: function(e) {
4472
- return e.preventDefault(), t.addNewIdentity(e)
4473
- }
4474
- }
4475
- }, [t._v(" " + t._s(t.text_add_new_identity) + " ")])], 2)]) : t._e(), t.show_identity_form || !t.options || 0 === t.options.length ? s("div", {
4476
- staticClass: "mo2f-setup-amazonses-identity-form"
4477
- }, [t.options && 0 !== t.options.length ? t._e() : s("h3", [t._v(" " + t._s(t.text_verify_identity) + " ")]), s("div", {
4478
- directives: [{
4479
- name: "show",
4480
- rawName: "v-show",
4481
- value: 1 === t.verify_identity_step,
4482
- expression: "verify_identity_step === 1"
4483
- }],
4484
- staticClass: "amazonses-identity-form-step"
4485
- }, [s("settings-input-radio", {
4486
- attrs: {
4487
- name: "identity_type",
4488
- options: t.identity_type_options
4489
- },
4490
- model: {
4491
- value: t.identity_type,
4492
- callback: function(e) {
4493
- t.identity_type = e
4494
- },
4495
- expression: "identity_type"
4496
- }
4497
- }), s("p", {
4498
- domProps: {
4499
- textContent: t._s(t.verify_identity_text)
4500
- }
4501
- }), s("settings-input-text", {
4502
- attrs: {
4503
- name: "identity_value",
4504
- placeholder: t.identity_value_placeholder
4505
- },
4506
- model: {
4507
- value: t.identity_value,
4508
- callback: function(e) {
4509
- t.identity_value = e
4510
- },
4511
- expression: "identity_value"
4512
- }
4513
- }), s("button", {
4514
- staticClass: "mo2f-setup-button mo2f-setup-button-main mo2f-setup-button-small mo2f-setup-button-verify",
4515
- attrs: {
4516
- type: "button"
4517
- },
4518
- on: {
4519
- click: function(e) {
4520
- return e.preventDefault(), t.verifyIdentity(e)
4521
- }
4522
- }
4523
- }, [t.loading_verify_identity ? s("loader", {
4524
- attrs: {
4525
- color: "white"
4526
- }
4527
- }) : s("span", [t._v(t._s(t.text_verify))])], 1)], 1), s("div", {
4528
- directives: [{
4529
- name: "show",
4530
- rawName: "v-show",
4531
- value: 2 === t.verify_identity_step && "domain" === t.verify_identity_result.type,
4532
- expression: "verify_identity_step === 2 && verify_identity_result.type === 'domain'"
4533
- }],
4534
- staticClass: "amazonses-identity-form-step amazonses-identity-form-step-domain"
4535
- }, [s("p", {
4536
- domProps: {
4537
- innerHTML: t._s(t.text_verify_identity_step2_domain_text)
4538
- }
4539
- }), s("div", {
4540
- staticClass: "amazonses-domain-identity-added-inputs"
4541
- }, [s("settings-input-text", {
4542
- attrs: {
4543
- value: t.ses_domain_name,
4544
- label: t.text_name,
4545
- name: "ses_domain_name",
4546
- readonly: "",
4547
- copy: ""
4548
- }
4549
- }), s("settings-input-text", {
4550
- attrs: {
4551
- value: t.verify_identity_result.domain_txt,
4552
- label: t.text_value,
4553
- name: "ses_domain_value",
4554
- readonly: "",
4555
- copy: ""
4556
- }
4557
- })], 1)]), s("div", {
4558
- directives: [{
4559
- name: "show",
4560
- rawName: "v-show",
4561
- value: 2 === t.verify_identity_step && "email" === t.verify_identity_result.type,
4562
- expression: "verify_identity_step === 2 && verify_identity_result.type === 'email'"
4563
- }],
4564
- staticClass: "amazonses-identity-form-step"
4565
- }, [s("p", {
4566
- staticClass: "ses-identities-email-success-notice"
4567
- }, [s("inline-svg", {
4568
- staticClass: "icon",
4569
- attrs: {
4570
- src: i("84d7"),
4571
- width: "16",
4572
- height: "16"
4573
- }
4574
- }), t._v(" "), s("span", {
4575
- domProps: {
4576
- innerHTML: t._s(t.text_verify_identity_step2_email_text)
4577
- }
4578
- })], 1)])]) : t._e()])]) : s("loader", {
4579
- attrs: {
4580
- size: "md"
4581
- }
4582
- })], 1)
4583
- },
4584
- Ui = [],
4585
- Hi = {
4586
- name: "SettingsAmazonSESIdentities",
4587
- components: {
4588
- SettingsInfoTooltip: Nt,
4589
- SettingsInputRadio: Re,
4590
- SettingsInputText: Ut,
4591
- Loader: xe
4592
- },
4593
- props: {
4594
- options: Array,
4595
- columns: Array,
4596
- label: String,
4597
- tooltip: String
4598
- },
4599
- computed: {
4600
- filtered_columns: function() {
4601
- return this.columns.filter((function(t) {
4602
- return "action" !== t.key
4603
- }))
4604
- },
4605
- identity_value_placeholder: function() {
4606
- return "domain" === this.identity_type ? Object(c["a"])("Please enter a domain", "mo2f-setup") : Object(c["a"])("Please enter a valid email address", "mo2f-setup")
4607
- },
4608
- verify_identity_text: function() {
4609
- return "domain" === this.identity_type ? Object(c["a"])("Enter the domain name to verify it on Amazon SES and generate the required DNS TXT record.", "mo2f-setup") : Object(c["a"])("Enter a valid email address. A verification email will be sent to the email address you entered.", "mo2f-setup")
4610
- },
4611
- text_verify_identity_step2_email_text: function() {
4612
- return Object(c["c"])(Object(c["a"])("Please check the inbox of <b>%s</b> for a confirmation email.", "mo2f-setup"), this.verify_identity_result.value)
4613
- },
4614
- ses_domain_name: function() {
4615
- return this.verify_identity_result.value ? "_amazonses.".concat(this.verify_identity_result.value) : ""
4616
- },
4617
- text_verify: function() {
4618
- return "domain" === this.identity_type ? Object(c["a"])("Verify Domain", "mo2f-setup") : Object(c["a"])("Verify Email", "mo2f-setup")
4619
- }
4620
- },
4621
- data: function() {
4622
- return {
4623
- text_no_registered_identities_title: Object(c["a"])("No registered domains or emails.", "mo2f-setup"),
4624
- text_no_registered_identities_content: Object(c["a"])("You will not be able to send emails until you verify at least one domain or email address for the selected Amazon SES Region.", "mo2f-setup"),
4625
- text_view_dns: Object(c["a"])("View DNS", "mo2f-setup"),
4626
- text_resend: Object(c["a"])("Resend", "mo2f-setup"),
4627
- text_identities_table_description: Object(c["a"])("Here are the domains and email addresses that have been verified and can be used as the From Email.", "mo2f-setup"),
4628
- text_verify_identity: Object(c["a"])("Verify SES Identity", "mo2f-setup"),
4629
- text_add_new_identity: Object(c["a"])("Add New SES Identity", "mo2f-setup"),
4630
- text_name: Object(c["a"])("Name", "mo2f-setup"),
4631
- text_value: Object(c["a"])("Value", "mo2f-setup"),
4632
- text_verify_identity_step2_domain_text: Object(c["c"])(Object(c["a"])("Please add this TXT record to your domain's DNS settings. For information on how to add TXT DNS records, please refer to the %1$sAmazon SES documentation%2$s.", "mo2f-setup"), '<a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/dns-txt-records.html" target="_blank" rel="noopener noreferrer">', "</a>"),
4633
- show_identity_form: !1,
4634
- identity_type: "domain",
4635
- identity_type_options: [{
4636
- label: Object(c["a"])("Verify Domain", "mo2f-setup"),
4637
- value: "domain"
4638
- }, {
4639
- label: Object(c["a"])("Verify Email Address", "mo2f-setup"),
4640
- value: "email"
4641
- }],
4642
- identity_value: "",
4643
- verify_identity_step: 1,
4644
- verify_identity_result: {},
4645
- loading_verify_identity: !1
4646
- }
4647
- },
4648
- methods: {
4649
- verifyIdentity: function() {
4650
- if (!this.loading_verify_identity) {
4651
- this.loading_verify_identity = !0;
4652
- var t = this;
4653
- this.$store.dispatch("$_settings/amazonSESRegisterIdentity", {
4654
- value: this.identity_value,
4655
- type: this.identity_type
4656
- }).then((function(e) {
4657
- t.loading_verify_identity = !1, e.success && e.data && (t.verify_identity_result = e.data, t.verify_identity_step = 2)
4658
- }))
4659
- }
4660
- },
4661
- addNewIdentity: function() {
4662
- this.show_identity_form = !0
4663
- }
4664
- }
4665
- },
4666
- Ri = Hi,
4667
- Gi = Object(_["a"])(Ri, Wi, Ui, !1, null, null, null),
4668
- Vi = Gi.exports,
4669
- Yi = {
4670
- name: "WizardStepConfigureMailerAmazonSES",
4671
- components: {
4672
- SettingsInputText: Ut,
4673
- SettingsInputSelect: Li,
4674
- SettingsInputSwitch: ii,
4675
- SettingsAmazonSESIdentities: Vi
4676
- },
4677
- data: function() {
4678
- return {
4679
- mailer: "amazonses",
4680
- text_client_id_label: Object(c["a"])("Access Key ID", "mo2f-setup"),
4681
- text_client_secret_label: Object(c["a"])("Secret Access Key", Object({
4682
- NODE_ENV: "production",
4683
- VUE_APP_TEXTDOMAIN: "mo2f-setup",
4684
- VUE_APP_PRODUCT_NAME: "WPMailSMTP",
4685
- BASE_URL: "http://localhost:8080/"
4686
- }).VUE_APP_TEXTclient_id),
4687
- text_region_label: Object(c["a"])("Region", "mo2f-setup"),
4688
- text_identities_label: Object(c["a"])("SES Identities", "mo2f-setup"),
4689
- text_region_description: Object(c["a"])("Please select the Amazon SES API region which is the closest to where your website is hosted. This can help to decrease network latency between your site and Amazon SES, which will speed up email sending.", "mo2f-setup"),
4690
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
4691
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
4692
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
4693
- text_force_from_email_title: Object(c["a"])("Force From Email", "mo2f-setup"),
4694
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
4695
- text_force_from_email_label: Object(c["a"])("If enabled, the From Email setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
4696
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
4697
- text_from_email_description: Object(c["a"])("The email address that emails are sent from.", "mo2f-setup"),
4698
- text_documentation_link: Object(c["a"])("Read how to set up Amazon SES", "mo2f-setup"),
4699
- description: this.$wpms.mailer_options.amazonses.description.substr(0, this.$wpms.mailer_options.amazonses.description.indexOf("<br>")),
4700
- regionOptions: this.$wpms.mailer_options.amazonses.region_options || [],
4701
- fetching_identities: !1,
4702
- field_errors: []
4703
- }
4704
- },
4705
- computed: Object(n["a"])(Object(n["a"])(Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.amazonses.client_id", "settings.amazonses.client_secret", "settings.amazonses.region", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_email_force", "settings.mail.from_name_force"])), Object(ut["b"])("$_settings", {
4706
- identities_columns: "amazonses_identities.columns",
4707
- identities: "amazonses_identities.data"
4708
- })), {}, {
4709
- is_api_auth_missing: function() {
4710
- return !this.client_id || !this.client_secret || !this.region
4711
- }
4712
- }),
4713
- watch: {
4714
- client_id: function() {
4715
- this.getIdentitiesDelayed()
4716
- },
4717
- client_secret: function() {
4718
- this.getIdentitiesDelayed()
4719
- },
4720
- region: function() {
4721
- this.getIdentities()
4722
- }
4723
- },
4724
- methods: {
4725
- getIdentities: function() {
4726
- var t = this;
4727
- this.fetching_identities || this.client_id.length < 20 || this.client_secret.length < 40 || !this.region || (this.fetching_identities = !0, this.$store.dispatch("$_app/start_loading"), this.$store.dispatch("$_settings/getAmazonSESIdentities").then((function() {
4728
- t.fetching_identities = !1
4729
- })).finally((function() {
4730
- t.$store.dispatch("$_app/stop_loading")
4731
- })))
4732
- },
4733
- getIdentitiesDelayed: Ii()((function() {
4734
- this.getIdentities()
4735
- }), 500),
4736
- areRequiredFieldsValid: function() {
4737
- var t = !0;
4738
- return "" === this.client_id && (t = !1, this.field_errors.push("client_id")), "" === this.client_secret && (t = !1, this.field_errors.push("client_secret")), "" === this.region && (t = !1, this.field_errors.push("region")), "" === this.from_email && (t = !1, this.field_errors.push("from_email")), t
4739
- },
4740
- removeFieldError: function(t) {
4741
- this.field_errors = this.field_errors.filter((function(e) {
4742
- return e !== t
4743
- }))
4744
- }
4745
- },
4746
- mounted: function() {
4747
- this.getIdentities()
4748
- }
4749
- },
4750
- Ji = Yi,
4751
- Ki = Object(_["a"])(Ji, Ti, zi, !1, null, null, null),
4752
- qi = Ki.exports,
4753
- Zi = function() {
4754
- var t = this,
4755
- e = t.$createElement,
4756
- i = t._self._c || e;
4757
- return i("div", {
4758
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-gmail"
4759
- }, [i("p", {
4760
- staticClass: "mailer-description",
4761
- domProps: {
4762
- innerHTML: t._s(t.description)
4763
- }
4764
- }), i("p", {
4765
- staticClass: "mailer-description mailer-description-links"
4766
- }, [i("b", [i("a", {
4767
- staticClass: "mo2f-setup-link",
4768
- attrs: {
4769
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-mo2f-setup/#create-app",
4770
- target: "_blank",
4771
- rel: "noopener noreferrer"
4772
- }
4773
- }, [t._v(t._s(t.text_documentation_link))])])]), i("div", {
4774
- staticClass: "mo2f-setup-setup-wizard-form"
4775
- }, [i("settings-input-text", {
4776
- attrs: {
4777
- name: "client_id",
4778
- label: t.text_client_id_label,
4779
- is_error: t.field_errors.includes("client_id")
4780
- },
4781
- on: {
4782
- is_error_update: function(e) {
4783
- return t.removeFieldError("client_id")
4784
- }
4785
- },
4786
- model: {
4787
- value: t.client_id,
4788
- callback: function(e) {
4789
- t.client_id = e
4790
- },
4791
- expression: "client_id"
4792
- }
4793
- }), i("settings-input-text", {
4794
- attrs: {
4795
- name: "client_secret",
4796
- type: "password",
4797
- label: t.text_client_secret_label,
4798
- is_error: t.field_errors.includes("client_secret")
4799
- },
4800
- on: {
4801
- is_error_update: function(e) {
4802
- return t.removeFieldError("client_secret")
4803
- }
4804
- },
4805
- model: {
4806
- value: t.client_secret,
4807
- callback: function(e) {
4808
- t.client_secret = e
4809
- },
4810
- expression: "client_secret"
4811
- }
4812
- }), i("settings-input-text", {
4813
- attrs: {
4814
- value: t.redirect_uri,
4815
- name: "redirect_uri",
4816
- label: t.text_redirect_uri_label,
4817
- copy: "",
4818
- readonly: ""
4819
- }
4820
- }), i("div", {
4821
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
4822
- }), i("settings-o-auth-connection", {
4823
- attrs: {
4824
- label: t.text_authorization_label,
4825
- mailer: t.mailer,
4826
- connected_email: t.connected_email_address,
4827
- is_auth_required: t.is_auth_required,
4828
- client_id: t.client_id,
4829
- client_secret: t.client_secret
4830
- }
4831
- }), t.is_auth_required ? t._e() : i("div", {
4832
- staticClass: "mo2f-setup-setup-wizard-form-general-settings"
4833
- }, [i("div", {
4834
- staticClass: "mo2f-setup-separator mo2f-setup-separator-big-margin"
4835
- }), i("settings-input-text", {
4836
- attrs: {
4837
- name: "from_name",
4838
- label: t.text_from_name_label,
4839
- description: t.text_from_name_description
4840
- },
4841
- model: {
4842
- value: t.from_name,
4843
- callback: function(e) {
4844
- t.from_name = e
4845
- },
4846
- expression: "from_name"
4847
- }
4848
- }), i("settings-input-switch", {
4849
- attrs: {
4850
- classname: "sub_setting",
4851
- name: "from_name_force",
4852
- title: t.text_force_from_name_title,
4853
- label: t.text_force_from_name_label
4854
- },
4855
- model: {
4856
- value: t.from_name_force,
4857
- callback: function(e) {
4858
- t.from_name_force = e
4859
- },
4860
- expression: "from_name_force"
4861
- }
4862
- }), i("settings-input-select", {
4863
- attrs: {
4864
- name: "from_email",
4865
- label: t.text_from_email_label,
4866
- options: t.possible_send_as_emails,
4867
- description: t.text_from_email_description
4868
- },
4869
- model: {
4870
- value: t.from_email,
4871
- callback: function(e) {
4872
- t.from_email = e
4873
- },
4874
- expression: "from_email"
4875
- }
4876
- })], 1)], 1)])
4877
- },
4878
- Xi = [],
4879
- $i = function() {
4880
- var t = this,
4881
- e = t.$createElement,
4882
- s = t._self._c || e;
4883
- return s("div", {
4884
- staticClass: "settings-oauth-connection"
4885
- }, [s("label", {
4886
- staticClass: "settings-input-label-container"
4887
- }, [s("span", {
4888
- staticClass: "label",
4889
- domProps: {
4890
- innerHTML: t._s(t.label)
4891
- }
4892
- }), t.tooltip ? s("settings-info-tooltip", {
4893
- attrs: {
4894
- content: t.tooltip
4895
- }
4896
- }) : t._e()], 1), t.is_auth_required ? s("div", {
4897
- staticClass: "add-authorization-container"
4898
- }, [s("p", {
4899
- staticClass: "description",
4900
- domProps: {
4901
- textContent: t._s(t.text_authorization_button_description)
4902
- }
4903
- }), s("button", {
4904
- staticClass: "mo2f-setup-button mo2f-setup-button-main mo2f-setup-button-small",
4905
- attrs: {
4906
- type: "button",
4907
- disabled: !t.are_client_details_ready
4908
- },
4909
- on: {
4910
- click: function(e) {
4911
- return e.preventDefault(), t.authorize(e)
4912
- }
4913
- }
4914
- }, [t._v(" " + t._s(t.text_authorization_button) + " ")])]) : s("div", {
4915
- staticClass: "remove-authorization-container"
4916
- }, [t.connected_email ? s("p", {
4917
- staticClass: "description connected-as"
4918
- }, [s("span", {
4919
- domProps: {
4920
- innerHTML: t._s(t.text_connected_as_with_email)
4921
- }
4922
- }), t._v(" "), s("inline-svg", {
4923
- staticClass: "icon",
4924
- attrs: {
4925
- src: i("9a1d"),
4926
- width: "16",
4927
- height: "16"
4928
- }
4929
- })], 1) : t._e(), "gmail" === t.mailer ? s("p", {
4930
- staticClass: "description",
4931
- domProps: {
4932
- innerHTML: t._s(t.text_remove_authorization_button_description_google)
4933
- }
4934
- }) : t._e(), s("p", {
4935
- staticClass: "description",
4936
- domProps: {
4937
- innerHTML: t._s(t.text_remove_authorization_button_description)
4938
- }
4939
- }), s("button", {
4940
- staticClass: "mo2f-setup-button mo2f-setup-button-red mo2f-setup-button-small",
4941
- attrs: {
4942
- type: "button"
4943
- },
4944
- on: {
4945
- click: function(e) {
4946
- return e.preventDefault(), t.removeAuthorization(e)
4947
- }
4948
- }
4949
- }, [t._v(" " + t._s(t.text_remove_authorization_button) + " ")])])])
4950
- },
4951
- ts = [],
4952
- es = {
4953
- name: "SettingsOAuthConnection",
4954
- components: {
4955
- SettingsInfoTooltip: Nt
4956
- },
4957
- props: {
4958
- label: String,
4959
- mailer: String,
4960
- connected_email: String,
4961
- is_auth_required: Boolean,
4962
- client_id: String,
4963
- client_secret: String,
4964
- tooltip: String,
4965
- disabled: Boolean
4966
- },
4967
- data: function() {
4968
- return {
4969
- text_allow_button: Object(c["a"])("Connect to %s", "mo2f-setup"),
4970
- text_authorization_button_description_general: Object(c["a"])("Before continuing, you'll need to allow this plugin to send emails using your %s account.", "mo2f-setup"),
4971
- text_remove_authorization_button: Object(c["a"])("Remove Connection", "mo2f-setup"),
4972
- text_remove_authorization_button_description_google: Object(c["c"])(Object(c["a"])("If you want to use a different From Email address you can setup a Google email alias. %1$sFollow these instructions%2$s, then select the alias in the From Email section below.", "mo2f-setup"), '<a href="https://wpmailsmtp.com/gmail-send-from-alias-mo2f-setup/" target="_blank" rel="noopener noreferrer">', "</a>"),
4973
- text_remove_authorization_button_desc_template: Object(c["a"])("Removing this connection will give you the ability to redo the connection or connect to different %s account.", "mo2f-setup"),
4974
- text_connected_as: Object(c["a"])("Connected as", "mo2f-setup")
4975
- }
4976
- },
4977
- computed: {
4978
- are_client_details_ready: function() {
4979
- return !!this.client_id && !!this.client_secret
4980
- },
4981
- mailer_name: function() {
4982
- var t = "Google";
4983
- return "outlook" === this.mailer ? t = "Microsoft Outlook" : "zoho" === this.mailer && (t = "Zoho Mail"), t
4984
- },
4985
- text_authorization_button: function() {
4986
- return Object(c["c"])(this.text_allow_button, this.mailer_name)
4987
- },
4988
- text_authorization_button_description: function() {
4989
- return Object(c["c"])(this.text_authorization_button_description_general, this.mailer_name)
4990
- },
4991
- text_remove_authorization_button_description: function() {
4992
- return Object(c["c"])(this.text_remove_authorization_button_desc_template, this.mailer_name)
4993
- },
4994
- text_connected_as_with_email: function() {
4995
- return "".concat(this.text_connected_as, " <b>").concat(this.connected_email, "</b>")
4996
- }
4997
- },
4998
- methods: {
4999
- authorize: function() {
5000
- var t = this;
5001
- this.$store.dispatch("$_app/start_loading"), this.$store.dispatch("$_settings/getAuthUrl", this.mailer).then((function(t) {
5002
- t.success && t.data.oauth_url && (window.location.href = t.data.oauth_url)
5003
- })).finally((function() {
5004
- t.$store.dispatch("$_app/stop_loading")
5005
- }))
5006
- },
5007
- removeAuthorization: function() {
5008
- var t = this;
5009
- this.$store.dispatch("$_app/start_loading"), this.$store.dispatch("$_settings/removeAuth", this.mailer).finally((function() {
5010
- t.$store.dispatch("$_app/stop_loading")
5011
- }))
5012
- },
5013
- removeUrlParam: function(t, e, i) {
5014
- e.delete(i), t.search = e.toString(), window.history.replaceState({}, document.title, t.toString())
5015
- },
5016
- catchAuthNotice: function() {
5017
- var t = new URL(window.location.href),
5018
- e = new URLSearchParams(t.search),
5019
- i = "",
5020
- s = "",
5021
- a = !1;
5022
- switch (e.has("success") ? (i = e.get("success"), a = !0, this.removeUrlParam(t, e, "success")) : e.has("error") && (i = e.get("error"), this.removeUrlParam(t, e, "error")), i) {
5023
- case "google_access_denied":
5024
- case "zoho_access_denied":
5025
- case "google_no_code_scope":
5026
- case "microsoft_no_code":
5027
- case "zoho_no_code":
5028
- case "zoho_invalid_nonce":
5029
- s = Object(c["a"])("There was an error while processing the authentication request. Please try again.", "mo2f-setup");
5030
- break;
5031
- case "google_no_clients":
5032
- case "zoho_no_clients":
5033
- case "zoho_unsuccessful_oauth":
5034
- case "microsoft_unsuccessful_oauth":
5035
- case "google_unsuccessful_oauth":
5036
- s = Object(c["a"])("There was an error while processing the authentication request. Please recheck your Client ID and Client Secret and try again.", "mo2f-setup");
5037
- break;
5038
- case "google_site_linked":
5039
- s = Object(c["a"])("You have successfully linked the current site with your Google API project. Now you can start sending emails through Gmail.", "mo2f-setup");
5040
- break;
5041
- case "microsoft_site_linked":
5042
- s = Object(c["a"])("You have successfully linked the current site with your Microsoft API project. Now you can start sending emails through Outlook.", "mo2f-setup");
5043
- break;
5044
- case "zoho_site_linked":
5045
- s = Object(c["a"])("You have successfully linked the current site with your Zoho Mail API project. Now you can start sending emails through Zoho Mail.", "mo2f-setup");
5046
- break
5047
- }
5048
- s.length > 0 && this.$swal({
5049
- title: a ? Object(c["a"])("Successful Authorization", "mo2f-setup") : Object(c["a"])("Authorization Error!", "mo2f-setup"),
5050
- text: s,
5051
- width: 550,
5052
- showCloseButton: !0,
5053
- customClass: {
5054
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
5055
- }
5056
- })
5057
- }
5058
- },
5059
- mounted: function() {
5060
- this.catchAuthNotice()
5061
- }
5062
- },
5063
- is = es,
5064
- ss = Object(_["a"])(is, $i, ts, !1, null, null, null),
5065
- as = ss.exports,
5066
- ns = {
5067
- name: "WizardStepConfigureMailerGmail",
5068
- components: {
5069
- SettingsInputText: Ut,
5070
- SettingsInputSwitch: ii,
5071
- SettingsOAuthConnection: as,
5072
- SettingsInputSelect: Li
5073
- },
5074
- data: function() {
5075
- return {
5076
- mailer: "gmail",
5077
- text_client_id_label: Object(c["a"])("Client ID", "mo2f-setup"),
5078
- text_client_secret_label: Object(c["a"])("Client Secret", "mo2f-setup"),
5079
- text_redirect_uri_label: Object(c["a"])("Authorized Redirect URI", "mo2f-setup"),
5080
- text_authorization_label: Object(c["a"])("Authorization", "mo2f-setup"),
5081
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
5082
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
5083
- text_from_email_label: Object(c["a"])("From Email", "mo2f-setup"),
5084
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
5085
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
5086
- text_from_email_description: Object(c["a"])("Select which email address you would like to send your emails from.", "mo2f-setup"),
5087
- text_documentation_link: Object(c["a"])("Read how to set up the Gmail mailer", "mo2f-setup"),
5088
- description: this.$wpms.mailer_options.gmail.description.substr(0, this.$wpms.mailer_options.gmail.description.indexOf("<br>")),
5089
- redirect_uri: this.$wpms.mailer_options.gmail.redirect_uri,
5090
- connected_email_address: null,
5091
- possible_send_as_emails: [],
5092
- field_errors: []
5093
- }
5094
- },
5095
- computed: Object(n["a"])(Object(n["a"])(Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.gmail.client_id", "settings.gmail.client_secret", "settings.gmail.access_token", "settings.gmail.refresh_token", "settings.mail.from_email", "settings.mail.from_name", "settings.mail.from_name_force"])), Object(ut["b"])("$_wizard", ["blocked_step"])), {}, {
5096
- is_auth_required: function() {
5097
- return !this.access_token || !this.refresh_token
5098
- }
5099
- }),
5100
- watch: {
5101
- is_auth_required: function(t) {
5102
- this.blocked_step = t
5103
- }
5104
- },
5105
- methods: {
5106
- getConnectedData: function() {
5107
- var t = this;
5108
- this.$store.dispatch("$_settings/getConnectedData", this.mailer).then((function(e) {
5109
- e.success && e.data && (t.connected_email_address = e.data.connected_email || null, t.possible_send_as_emails = e.data.possible_send_from_addresses || [], t.isEmailInPosibleAddresses(t.from_email) || (t.from_email = t.connected_email_address))
5110
- }))
5111
- },
5112
- isEmailInPosibleAddresses: function(t) {
5113
- return this.possible_send_as_emails.find((function(e) {
5114
- return e.value === t
5115
- }))
5116
- },
5117
- areRequiredFieldsValid: function() {
5118
- var t = !0;
5119
- return "" === this.client_id && (t = !1, this.field_errors.push("client_id")), "" === this.client_secret && (t = !1, this.field_errors.push("client_secret")), t
5120
- },
5121
- removeFieldError: function(t) {
5122
- this.field_errors = this.field_errors.filter((function(e) {
5123
- return e !== t
5124
- }))
5125
- }
5126
- },
5127
- mounted: function() {
5128
- this.getConnectedData(), this.is_auth_required && (this.blocked_step = !0)
5129
- }
5130
- },
5131
- os = ns,
5132
- rs = Object(_["a"])(os, Zi, Xi, !1, null, null, null),
5133
- ls = rs.exports,
5134
- cs = function() {
5135
- var t = this,
5136
- e = t.$createElement,
5137
- i = t._self._c || e;
5138
- return i("div", {
5139
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-outlook"
5140
- }, [i("p", {
5141
- staticClass: "mailer-description",
5142
- domProps: {
5143
- innerHTML: t._s(t.description)
5144
- }
5145
- }), i("p", {
5146
- staticClass: "mailer-description mailer-description-links"
5147
- }, [i("a", {
5148
- staticClass: "mo2f-setup-link",
5149
- attrs: {
5150
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-outlook-mailer-in-mo2f-setup/#microsoft-setup",
5151
- target: "_blank",
5152
- rel: "noopener noreferrer"
5153
- }
5154
- }, [t._v(t._s(t.text_documentation_link))])]), i("div", {
5155
- staticClass: "mo2f-setup-setup-wizard-form"
5156
- }, [i("settings-input-text", {
5157
- attrs: {
5158
- name: "client_id",
5159
- label: t.text_client_id_label,
5160
- is_error: t.field_errors.includes("client_id")
5161
- },
5162
- on: {
5163
- is_error_update: function(e) {
5164
- return t.removeFieldError("client_id")
5165
- }
5166
- },
5167
- model: {
5168
- value: t.client_id,
5169
- callback: function(e) {
5170
- t.client_id = e
5171
- },
5172
- expression: "client_id"
5173
- }
5174
- }), i("settings-input-text", {
5175
- attrs: {
5176
- name: "client_secret",
5177
- type: "password",
5178
- label: t.text_client_secret_label,
5179
- is_error: t.field_errors.includes("client_secret")
5180
- },
5181
- on: {
5182
- is_error_update: function(e) {
5183
- return t.removeFieldError("client_secret")
5184
- }
5185
- },
5186
- model: {
5187
- value: t.client_secret,
5188
- callback: function(e) {
5189
- t.client_secret = e
5190
- },
5191
- expression: "client_secret"
5192
- }
5193
- }), i("settings-input-text", {
5194
- attrs: {
5195
- value: t.redirect_uri,
5196
- name: "redirect_uri",
5197
- label: t.text_redirect_uri_label,
5198
- copy: "",
5199
- readonly: ""
5200
- }
5201
- }), i("settings-o-auth-connection", {
5202
- attrs: {
5203
- - mailer: t.mailer,
5204
- connected_email: t.connected_email_address,
5205
- is_auth_required: t.is_auth_required,
5206
- client_id: t.client_id,
5207
- client_secret: t.client_secret
5208
- }
5209
- })], 1)])
5210
- },
5211
- ps = [],
5212
- ms = {
5213
- name: "WizardStepConfigureMailerOutlook",
5214
- components: {
5215
- SettingsInputText: Ut,
5216
- SettingsOAuthConnection: as
5217
- },
5218
- data: function() {
5219
- return {
5220
- mailer: "outlook",
5221
- text_client_id_label: Object(c["a"])("Application ID", "mo2f-setup"),
5222
- text_client_secret_label: Object(c["a"])("Application Password", "mo2f-setup"),
5223
- text_redirect_uri_label: Object(c["a"])("Redirect URI", "mo2f-setup"),
5224
- text_authorization_label: Object(c["a"])("Authorization", "mo2f-setup"),
5225
- text_documentation_link: Object(c["a"])("Read how to set up Outlook", "mo2f-setup"),
5226
- description: this.$wpms.mailer_options.outlook.description.substr(0, this.$wpms.mailer_options.outlook.description.indexOf("<br>")),
5227
- redirect_uri: this.$wpms.mailer_options.outlook.redirect_uri,
5228
- field_errors: []
5229
- }
5230
- },
5231
- computed: Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.outlook.client_id", "settings.outlook.client_secret", "settings.outlook.access_token", "settings.outlook.refresh_token"])), Object(ut["b"])("$_wizard", ["blocked_step"])), Object(nt["b"])({
5232
- connected_email_address: "$_settings/outlook_email"
5233
- })), {}, {
5234
- is_auth_required: function() {
5235
- return !this.access_token || !this.refresh_token
5236
- }
5237
- }),
5238
- watch: {
5239
- is_auth_required: function(t) {
5240
- this.blocked_step = t
5241
- }
5242
- },
5243
- methods: {
5244
- areRequiredFieldsValid: function() {
5245
- var t = !0;
5246
- return "" === this.client_id && (t = !1, this.field_errors.push("client_id")), "" === this.client_secret && (t = !1, this.field_errors.push("client_secret")), t
5247
- },
5248
- removeFieldError: function(t) {
5249
- this.field_errors = this.field_errors.filter((function(e) {
5250
- return e !== t
5251
- }))
5252
- }
5253
- },
5254
- mounted: function() {
5255
- this.is_auth_required && (this.blocked_step = !0)
5256
- }
5257
- },
5258
- us = ms,
5259
- ds = Object(_["a"])(us, cs, ps, !1, null, null, null),
5260
- _s = ds.exports,
5261
- fs = function() {
5262
- var t = this,
5263
- e = t.$createElement,
5264
- i = t._self._c || e;
5265
- return i("div", {
5266
- staticClass: "mo2f-setup-setup-wizard-step-configure-mailer-settings mo2f-setup-setup-wizard-step-configure-mailer-settings-zoho"
5267
- }, [i("p", {
5268
- staticClass: "mailer-description",
5269
- domProps: {
5270
- innerHTML: t._s(t.description)
5271
- }
5272
- }), i("p", {
5273
- staticClass: "mailer-description mailer-description-links"
5274
- }, [i("a", {
5275
- staticClass: "mo2f-setup-link",
5276
- attrs: {
5277
- href: "https://wpmailsmtp.com/docs/how-to-set-up-the-zoho-mailer-in-mo2f-setup/#zoho-account",
5278
- target: "_blank",
5279
- rel: "noopener noreferrer"
5280
- }
5281
- }, [t._v(t._s(t.text_documentation_link))])]), i("div", {
5282
- staticClass: "mo2f-setup-setup-wizard-form"
5283
- }, [i("settings-input-select", {
5284
- attrs: {
5285
- name: "domain",
5286
- label: t.text_domain_label,
5287
- options: t.domain_options,
5288
- description: t.text_domain_description,
5289
- is_error: t.field_errors.includes("domain")
5290
- },
5291
- on: {
5292
- is_error_update: function(e) {
5293
- return t.removeFieldError("domain")
5294
- }
5295
- },
5296
- model: {
5297
- value: t.domain,
5298
- callback: function(e) {
5299
- t.domain = e
5300
- },
5301
- expression: "domain"
5302
- }
5303
- }), i("settings-input-text", {
5304
- attrs: {
5305
- name: "client_id",
5306
- label: t.text_client_id_label,
5307
- is_error: t.field_errors.includes("client_id")
5308
- },
5309
- on: {
5310
- is_error_update: function(e) {
5311
- return t.removeFieldError("client_id")
5312
- }
5313
- },
5314
- model: {
5315
- value: t.client_id,
5316
- callback: function(e) {
5317
- t.client_id = e
5318
- },
5319
- expression: "client_id"
5320
- }
5321
- }), i("settings-input-text", {
5322
- attrs: {
5323
- name: "client_secret",
5324
- type: "password",
5325
- label: t.text_client_secret_label,
5326
- is_error: t.field_errors.includes("client_secret")
5327
- },
5328
- on: {
5329
- is_error_update: function(e) {
5330
- return t.removeFieldError("client_secret")
5331
- }
5332
- },
5333
- model: {
5334
- value: t.client_secret,
5335
- callback: function(e) {
5336
- t.client_secret = e
5337
- },
5338
- expression: "client_secret"
5339
- }
5340
- }), i("settings-input-text", {
5341
- attrs: {
5342
- value: t.redirect_uri,
5343
- name: "redirect_uri",
5344
- label: t.text_redirect_uri_label,
5345
- copy: "",
5346
- readonly: ""
5347
- }
5348
- }), i("settings-o-auth-connection", {
5349
- attrs: {
5350
- label: t.text_authorization_label,
5351
- mailer: t.mailer,
5352
- connected_email: t.connected_email_address,
5353
- is_auth_required: t.is_auth_required,
5354
- client_id: t.client_id,
5355
- client_secret: t.client_secret
5356
- }
5357
- }), t.is_auth_required ? t._e() : i("div", [i("settings-input-text", {
5358
- attrs: {
5359
- name: "from_name",
5360
- label: t.text_from_name_label,
5361
- description: t.text_from_name_description
5362
- },
5363
- model: {
5364
- value: t.from_name,
5365
- callback: function(e) {
5366
- t.from_name = e
5367
- },
5368
- expression: "from_name"
5369
- }
5370
- }), i("settings-input-switch", {
5371
- attrs: {
5372
- classname: "sub_setting",
5373
- name: "from_name_force",
5374
- title: t.text_force_from_name_title,
5375
- label: t.text_force_from_name_label
5376
- },
5377
- model: {
5378
- value: t.from_name_force,
5379
- callback: function(e) {
5380
- t.from_name_force = e
5381
- },
5382
- expression: "from_name_force"
5383
- }
5384
- })], 1)], 1)])
5385
- },
5386
- hs = [],
5387
- gs = {
5388
- name: "WizardStepConfigureMailerZoho",
5389
- components: {
5390
- SettingsInputText: Ut,
5391
- SettingsInputSwitch: ii,
5392
- SettingsInputSelect: Li,
5393
- SettingsOAuthConnection: as
5394
- },
5395
- data: function() {
5396
- return {
5397
- mailer: "zoho",
5398
- text_domain_label: Object(c["a"])("Region", "mo2f-setup"),
5399
- text_domain_description: Object(c["a"])("The data center location used by your Zoho account.", "mo2f-setup"),
5400
- text_client_id_label: Object(c["a"])("Client ID", "mo2f-setup"),
5401
- text_client_secret_label: Object(c["a"])("Client Secret", "mo2f-setup"),
5402
- text_redirect_uri_label: Object(c["a"])("Redirect URI", "mo2f-setup"),
5403
- text_authorization_label: Object(c["a"])("Authorization", "mo2f-setup"),
5404
- text_from_name_label: Object(c["a"])("From Name", "mo2f-setup"),
5405
- text_force_from_name_title: Object(c["a"])("Force From Name", "mo2f-setup"),
5406
- text_force_from_name_label: Object(c["a"])("If enabled, the From Name setting above will be used for all emails, ignoring values set by other plugins.", "mo2f-setup"),
5407
- text_from_name_description: Object(c["a"])("The name that emails are sent from.", "mo2f-setup"),
5408
- text_documentation_link: Object(c["a"])("Read how to set up Zoho Mail", "mo2f-setup"),
5409
- description: this.$wpms.mailer_options.zoho.description.substr(0, this.$wpms.mailer_options.zoho.description.indexOf("<br>")),
5410
- redirect_uri: this.$wpms.mailer_options.zoho.redirect_uri,
5411
- domain_options: this.$wpms.mailer_options.zoho.domain_options,
5412
- field_errors: []
5413
- }
5414
- },
5415
- computed: Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({}, Object(ut["b"])("$_settings", ["settings.zoho.domain", "settings.zoho.client_id", "settings.zoho.client_secret", "settings.zoho.access_token", "settings.zoho.refresh_token", "settings.mail.from_name", "settings.mail.from_name_force"])), Object(ut["b"])("$_wizard", ["blocked_step"])), Object(nt["b"])({
5416
- connected_email_address: "$_settings/zoho_email"
5417
- })), {}, {
5418
- is_auth_required: function() {
5419
- return !this.access_token || !this.refresh_token
5420
- }
5421
- }),
5422
- watch: {
5423
- is_auth_required: function(t) {
5424
- this.blocked_step = t
5425
- }
5426
- },
5427
- methods: {
5428
- areRequiredFieldsValid: function() {
5429
- var t = !0;
5430
- return "" === this.domain && (t = !1, this.field_errors.push("domain")), "" === this.client_id && (t = !1, this.field_errors.push("client_id")), "" === this.client_secret && (t = !1, this.field_errors.push("client_secret")), t
5431
- },
5432
- removeFieldError: function(t) {
5433
- this.field_errors = this.field_errors.filter((function(e) {
5434
- return e !== t
5435
- }))
5436
- }
5437
- },
5438
- mounted: function() {
5439
- this.is_auth_required && (this.blocked_step = !0)
5440
- }
5441
- },
5442
- ws = gs,
5443
- bs = Object(_["a"])(ws, fs, hs, !1, null, null, null),
5444
- As = bs.exports,
5445
- vs = new o["a"]({
5446
- routes: [{
5447
- path: "*",
5448
- redirect: "/"
5449
- }, {
5450
- path: "/",
5451
- name: "welcome",
5452
- component: O
5453
- }, {
5454
- path: "/step",
5455
- name: "step",
5456
- component: N,
5457
- children: [{
5458
- path: "import",
5459
- name: "import_step",
5460
- component: it
5461
- }, {
5462
- path: "choose_mailer",
5463
- name: "choose_mailer_step",
5464
- component: ct
5465
- }, {
5466
- path: "configure_mailer",
5467
- name: "configure_mailer_step",
5468
- component: ht,
5469
- children: [{
5470
- path: "smtp",
5471
- name: "configure_mailer_step_smtp",
5472
- component: oi
5473
- }, {
5474
- path: "smtpcom",
5475
- name: "configure_mailer_step_smtpcom",
5476
- component: ui
5477
- }, {
5478
- path: "sendinblue",
5479
- name: "configure_mailer_step_sendinblue",
5480
- component: wi
5481
- }, {
5482
- path: "mailgun",
5483
- name: "configure_mailer_step_mailgun",
5484
- component: Ci
5485
- }, {
5486
- path: "sendgrid",
5487
- name: "configure_mailer_step_sendgrid",
5488
- component: Ei
5489
- }, {
5490
- path: "amazoneses",
5491
- name: "configure_mailer_step_amazonses",
5492
- component: qi
5493
- }, {
5494
- path: "gmail",
5495
- name: "configure_mailer_step_gmail",
5496
- component: ls
5497
- }, {
5498
- path: "outlook",
5499
- name: "configure_mailer_step_outlook",
5500
- component: _s
5501
- }, {
5502
- path: "zoho",
5503
- name: "configure_mailer_step_zoho",
5504
- component: As
5505
- }]
5506
- }, {
5507
- path: "plugin_features",
5508
- name: "plugin_features_step",
5509
- component: St
5510
- }, {
5511
- path: "help_improve",
5512
- name: "help_improve_step",
5513
- component: Xt
5514
- }, {
5515
- path: "license",
5516
- name: "license_step",
5517
- component: oe
5518
- }, {
5519
- path: "check_configuration",
5520
- name: "check_configuration_step",
5521
- component: ue
5522
- }, {
5523
- path: "successful_configuration",
5524
- name: "check_configuration_step_success",
5525
- component: Ee
5526
- }, {
5527
- path: "failed_configuration",
5528
- name: "check_configuration_step_failure",
5529
- component: De
5530
- }]
5531
- }],
5532
- scrollBehavior: function() {
5533
- return {
5534
- x: 0,
5535
- y: 0
5536
- }
5537
- }
5538
- }),
5539
- xs = {
5540
- name: "SetupWizardApp",
5541
- router: vs,
5542
- computed: Object(n["a"])({}, Object(nt["b"])({
5543
- blocked: "$_app/blocked",
5544
- loading: "$_app/loading"
5545
- }))
5546
- },
5547
- ys = xs,
5548
- Cs = Object(_["a"])(ys, s, a, !1, null, null, null),
5549
- ks = Cs.exports,
5550
- Os = i("2b0e"),
5551
- js = i("5886"),
5552
- Ss = (i("466d"), {
5553
- install: function(t) {
5554
- window.wp_mail_smtp_vue && (t.prototype.$wpms = window.wp_mail_smtp_vue), t.prototype.$isPro = Ps, t.prototype.$addQueryArg = Es
5555
- }
5556
- });
5557
-
5558
- function Ps() {
5559
- return window.wp_mail_smtp_vue.is_pro
5560
- }
5561
-
5562
- function Es(t, e, i) {
5563
- var s = new RegExp("([?&])" + e + "=.*?(&|#|$)", "i");
5564
- if (t.match(s)) return t.replace(s, "$1" + e + "=" + i + "$2");
5565
- var a = ""; - 1 !== t.indexOf("#") && (a = t.replace(/.*#/, "#"), t = t.replace(/#.*/, ""));
5566
- var n = -1 !== t.indexOf("?") ? "&" : "?";
5567
- return t + n + e + "=" + i + a
5568
- }
5569
- var Ts = Ss,
5570
- zs = {
5571
- install: function(t) {
5572
- t.prototype.$next_step = function() {
5573
- var e = this,
5574
- i = t.prototype.$wizard_steps.findIndex((function(t) {
5575
- return e.$route.name.includes(t)
5576
- })) + 1;
5577
- this.$router.push({
5578
- name: t.prototype.$wizard_steps[i]
5579
- })
5580
- }, t.prototype.$previous_step = function() {
5581
- var e = this,
5582
- i = "welcome",
5583
- s = t.prototype.$wizard_steps.findIndex((function(t) {
5584
- return e.$route.name.includes(t)
5585
- })) - 1;
5586
- s >= 0 && (i = t.prototype.$wizard_steps[s]), this.$router.push({
5587
- name: i
5588
- })
5589
- }, t.prototype.$swal && (t.prototype.$wpms_success_toast = function(e) {
5590
- var i = e.animation,
5591
- s = void 0 !== i && i,
5592
- a = e.toast,
5593
- n = void 0 === a || a,
5594
- o = e.position,
5595
- r = void 0 === o ? "top-end" : o,
5596
- l = e.showConfirmButton,
5597
- p = void 0 !== l && l,
5598
- m = e.icon,
5599
- u = void 0 === m ? "success" : m,
5600
- d = e.timer,
5601
- _ = void 0 === d ? 3e3 : d,
5602
- f = e.showCloseButton,
5603
- h = void 0 === f || f,
5604
- g = e.title,
5605
- w = void 0 === g ? Object(c["a"])("Settings Updated", "mo2f-setup") : g,
5606
- b = e.showCancelButton,
5607
- A = void 0 !== b && b,
5608
- v = e.confirmButtonText,
5609
- x = void 0 === v ? "" : v,
5610
- y = e.cancelButtonText,
5611
- C = void 0 === y ? "" : y,
5612
- k = e.text,
5613
- O = void 0 === k ? "" : k;
5614
- return t.prototype.$swal({
5615
- animation: s,
5616
- toast: n,
5617
- position: r,
5618
- showConfirmButton: p,
5619
- icon: u,
5620
- showCloseButton: h,
5621
- title: w,
5622
- timer: _,
5623
- showCancelButton: A,
5624
- confirmButtonText: x,
5625
- cancelButtonText: C,
5626
- text: O
5627
- })
5628
- }, t.prototype.$wpms_error_toast = function(e) {
5629
- var i = e.animation,
5630
- s = void 0 !== i && i,
5631
- a = e.toast,
5632
- n = void 0 === a || a,
5633
- o = e.position,
5634
- r = void 0 === o ? "top-end" : o,
5635
- l = e.showConfirmButton,
5636
- p = void 0 !== l && l,
5637
- m = e.icon,
5638
- u = void 0 === m ? "error" : m,
5639
- d = e.showCloseButton,
5640
- _ = void 0 === d || d,
5641
- f = e.title,
5642
- h = void 0 === f ? Object(c["a"])("Could Not Save Changes", "mo2f-setup") : f,
5643
- g = e.text,
5644
- w = void 0 === g ? "" : g;
5645
- return t.prototype.$swal({
5646
- animation: s,
5647
- toast: n,
5648
- position: r,
5649
- showConfirmButton: p,
5650
- icon: u,
5651
- showCloseButton: _,
5652
- title: h,
5653
- text: w,
5654
- onOpen: function() {
5655
- t.prototype.$swal.hideLoading()
5656
- }
5657
- })
5658
- }, t.prototype.$wpms_error_modal = function(e) {
5659
- var i = e.position,
5660
- s = void 0 === i ? "center" : i,
5661
- a = e.width,
5662
- n = void 0 === a ? 650 : a,
5663
- o = e.showConfirmButton,
5664
- r = void 0 === o || o,
5665
- l = e.confirmButtonText,
5666
- p = void 0 === l ? Object(c["a"])("Return to Mailer Settings", "mo2f-setup") : l,
5667
- m = e.customClass,
5668
- u = void 0 === m ? {
5669
- container: "mo2f-setup-swal mo2f-setup-swal-error"
5670
- } : m,
5671
- d = e.showCloseButton,
5672
- _ = void 0 === d || d,
5673
- f = e.title,
5674
- h = void 0 === f ? Object(c["a"])("Whoops, we found an issue!", "mo2f-setup") : f,
5675
- g = e.subtitle,
5676
- w = void 0 === g ? Object(c["a"])("It looks like something went wrong...", "mo2f-setup") : g,
5677
- b = e.detailedError,
5678
- A = void 0 === b ? "" : b;
5679
- return t.prototype.$swal({
5680
- position: s,
5681
- width: n,
5682
- showConfirmButton: r,
5683
- confirmButtonText: p,
5684
- customClass: u,
5685
- showCloseButton: _,
5686
- title: h,
5687
- html: '\n\t\t\t\t\t\t<p class="subtitle">'.concat(w, '</p>\n\t\t\t\t\t\t<div class="detailed-error">\n\t\t\t\t\t\t\t<h3>').concat(Object(c["a"])("Error Message:", "mo2f-setup"), "</h3>\n\t\t\t\t\t\t\t<div>").concat(A, "</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t"),
5688
- allowEscapeKey: !1,
5689
- allowOutsideClick: !1,
5690
- onOpen: function() {
5691
- t.prototype.$swal.hideLoading()
5692
- }
5693
- })
5694
- }, t.prototype.$required_fields_modal = function() {
5695
- return t.prototype.$swal({
5696
- position: "center",
5697
- width: 450,
5698
- showConfirmButton: !0,
5699
- confirmButtonText: Object(c["a"])("OK", "mo2f-setup"),
5700
- customClass: {
5701
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
5702
- },
5703
- showCloseButton: !0,
5704
- title: Object(c["a"])("Heads up!", "mo2f-setup"),
5705
- text: Object(c["a"])("Please fill out all the required fields to continue.", "mo2f-setup"),
5706
- allowEscapeKey: !1,
5707
- allowOutsideClick: !1
5708
- })
5709
- })
5710
- }
5711
- },
5712
- Bs = zs,
5713
- Is = i("bc3a"),
5714
- Ms = i.n(Is),
5715
- Ds = function(t, e) {
5716
- return new Promise((function(i, s) {
5717
- var a = new FormData;
5718
- a.append("action", "wp_mail_smtp_vue_install_plugin"), a.append("nonce", Os["a"].prototype.$wpms.nonce), a.append("slug", e), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, a).then((function(e) {
5719
- if (e.data.success) t.commit("PLUGIN_INSTALLED", e.data);
5720
- else {
5721
- var s = "";
5722
- ie()(e.data, "data[0].message") ? s = e.data.data[0].message : ie()(e.data, "data") && (s = e.data.data), Os["a"].prototype.$wpms_error_modal({
5723
- subtitle: Object(c["a"])("It looks like the plugin installation failed!", "mo2f-setup"),
5724
- detailedError: s
5725
- })
5726
- }
5727
- i(e.data)
5728
- })).catch((function(t) {
5729
- if (s(t), t.response) {
5730
- var e = t.response;
5731
- return Os["a"].prototype.$wpms_error_modal({
5732
- subtitle: Object(c["a"])("It looks like we can't install the plugin.", "mo2f-setup"),
5733
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5734
- })
5735
- }
5736
- Os["a"].prototype.$wpms_error_toast({
5737
- title: Object(c["a"])("You appear to be offline. Plugin not installed.", "mo2f-setup")
5738
- })
5739
- }))
5740
- }))
5741
- },
5742
- Fs = function(t) {
5743
- return new Promise((function(e, i) {
5744
- var s = new FormData;
5745
- s.append("action", "wp_mail_smtp_vue_get_partner_plugins_info"), s.append("nonce", Os["a"].prototype.$wpms.nonce), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(i) {
5746
- i.data.success ? t.commit("PLUGINS_FETCHED", i.data) : Os["a"].prototype.$wpms_error_toast({
5747
- title: Object(c["a"])("Can't fetch plugins information.", "mo2f-setup")
5748
- }), e(i.data)
5749
- })).catch((function(t) {
5750
- if (i(t), t.response) {
5751
- var e = t.response;
5752
- return Os["a"].prototype.$wpms_error_modal({
5753
- subtitle: Object(c["a"])("It looks like we can't fetch plugins information.", "mo2f-setup"),
5754
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5755
- })
5756
- }
5757
- Os["a"].prototype.$wpms_error_toast({
5758
- title: Object(c["a"])("You appear to be offline. Plugin information not retrieved.", "mo2f-setup")
5759
- })
5760
- }))
5761
- }))
5762
- },
5763
- Ns = {
5764
- installPlugin: Ds,
5765
- fetchPlugins: Fs
5766
- },
5767
- Qs = function(t, e) {
5768
- return Ns.installPlugin(t, e)
5769
- },
5770
- Ls = function(t) {
5771
- return Ns.fetchPlugins(t)
5772
- },
5773
- Ws = {
5774
- installPlugin: Qs,
5775
- getPlugins: Ls
5776
- },
5777
- Us = function(t) {
5778
- return t.plugins
5779
- },
5780
- Hs = function(t) {
5781
- return t.plugins.filter((function(t) {
5782
- return "wpforms-lite" !== t.slug
5783
- }))
5784
- },
5785
- Rs = function(t) {
5786
- return t.contact_form_plugin_already_installed
5787
- },
5788
- Gs = {
5789
- getField: ut["a"],
5790
- plugins: Us,
5791
- partner_plugins: Hs,
5792
- contact_form_plugin_already_installed: Rs
5793
- },
5794
- Vs = (i("d81d"), function(t, e) {
5795
- t.plugins.map((function(i) {
5796
- return i.slug === e.data.slug && (i.is_installed = e.data.is_installed, i.is_activated = e.data.is_activated), "wpforms-lite" === e.data.slug && (t.contact_form_plugin_already_installed = !0), i
5797
- }))
5798
- }),
5799
- Ys = function(t, e) {
5800
- t.plugins = e.data.plugins, t.contact_form_plugin_already_installed = e.data.contact_form_plugin_already_installed
5801
- },
5802
- Js = {
5803
- updateField: ut["c"],
5804
- PLUGIN_INSTALLED: Vs,
5805
- PLUGINS_FETCHED: Ys
5806
- },
5807
- Ks = {
5808
- plugins: [],
5809
- contact_form_plugin_already_installed: !1,
5810
- smart_contact_form_setting: !0
5811
- },
5812
- qs = {
5813
- namespaced: !0,
5814
- state: Ks,
5815
- actions: Ws,
5816
- getters: Gs,
5817
- mutations: Js
5818
- },
5819
- Zs = (i("b64b"), function(t) {
5820
- return new Promise((function(e, i) {
5821
- var s = new FormData;
5822
- s.append("action", "wp_mail_smtp_vue_get_settings"), s.append("nonce", Os["a"].prototype.$wpms.nonce), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(t) {
5823
- t.data.success ? e(t.data) : i(t.data)
5824
- })).catch((function(e) {
5825
- if (t.dispatch("$_app/block", !1, {
5826
- root: !0
5827
- }), e.response) {
5828
- var i = e.response;
5829
- return Os["a"].prototype.$wpms_error_modal({
5830
- subtitle: Object(c["a"])("It looks like we can't load the settings.", "mo2f-setup"),
5831
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), i.status, i.statusText)
5832
- })
5833
- }
5834
- Os["a"].prototype.$wpms_error_toast({
5835
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
5836
- })
5837
- }))
5838
- }))
5839
- }),
5840
- Xs = function(t, e) {
5841
- return new Promise((function(t, i) {
5842
- var s = new FormData;
5843
- s.append("action", "wp_mail_smtp_vue_get_amazon_ses_identities"), s.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== e && s.append("value", JSON.stringify(e)), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(e) {
5844
- e.data.success ? t(e.data) : i(e.data)
5845
- })).catch((function(t) {
5846
- if (t.response) {
5847
- var e = t.response;
5848
- return Os["a"].prototype.$wpms_error_modal({
5849
- subtitle: Object(c["a"])("It looks like we can't retrieve Amazon SES Identities.", "mo2f-setup"),
5850
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5851
- })
5852
- }
5853
- Os["a"].prototype.$wpms_error_toast({
5854
- title: Object(c["a"])("Can't retrieve Amazon SES Identities.", "mo2f-setup")
5855
- })
5856
- }))
5857
- }))
5858
- },
5859
- $s = function(t, e) {
5860
- return new Promise((function(t, i) {
5861
- var s = new FormData;
5862
- s.append("action", "wp_mail_smtp_vue_amazon_ses_identity_registration"), s.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== e.value && s.append("value", e.value), !1 !== e.value && s.append("type", e.type), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(e) {
5863
- e.data.success ? t(e.data) : i(e.data)
5864
- })).catch((function(t) {
5865
- if (t.response) {
5866
- var e = t.response;
5867
- return Os["a"].prototype.$wpms_error_modal({
5868
- subtitle: Object(c["a"])("It looks like we can't register the Amazon SES Identity.", "mo2f-setup"),
5869
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5870
- })
5871
- }
5872
- Os["a"].prototype.$wpms_error_toast({
5873
- title: Object(c["a"])("Can't register the Amazon SES Identity", "mo2f-setup")
5874
- })
5875
- }))
5876
- }))
5877
- },
5878
- ta = function(t, e) {
5879
- return new Promise((function(t) {
5880
- var i = new FormData;
5881
- i.append("action", "wp_mail_smtp_vue_update_settings"), i.append("nonce", Os["a"].prototype.$wpms.nonce), void 0 !== e.overwrite && i.append("overwrite", e.overwrite), !1 !== e.value && i.append("value", JSON.stringify(e.value)), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, i).then((function(e) {
5882
- t(e.data)
5883
- })).catch((function(t) {
5884
- if (t.response) {
5885
- var e = t.response;
5886
- return Os["a"].prototype.$wpms_error_modal({
5887
- subtitle: Object(c["a"])("It looks like we can't save the settings.", "mo2f-setup"),
5888
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5889
- })
5890
- }
5891
- Os["a"].prototype.$wpms_error_toast({
5892
- title: Object(c["a"])("Network error encountered. Settings not saved.", "mo2f-setup")
5893
- })
5894
- }))
5895
- }))
5896
- },
5897
- ea = function(t, e) {
5898
- return new Promise((function(t) {
5899
- var i = new FormData;
5900
- i.append("action", "wp_mail_smtp_vue_import_settings"), i.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== e.value && i.append("value", e.value), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, i).then((function(e) {
5901
- t(e.data)
5902
- })).catch((function(t) {
5903
- if (t.response) {
5904
- var e = t.response;
5905
- return Os["a"].prototype.$wpms_error_modal({
5906
- subtitle: Object(c["a"])("It looks like we can't import the plugin settings.", "mo2f-setup"),
5907
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5908
- })
5909
- }
5910
- Os["a"].prototype.$wpms_error_toast({
5911
- title: Object(c["a"])("Network error encountered. SMTP plugin import failed!", "mo2f-setup")
5912
- })
5913
- }))
5914
- }))
5915
- },
5916
- ia = function(t, e) {
5917
- return new Promise((function(i, s) {
5918
- var a = new FormData;
5919
- a.append("action", "wp_mail_smtp_vue_get_oauth_url"), a.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== t && a.append("mailer", t), !1 !== e && a.append("settings", JSON.stringify(e)), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, a).then((function(t) {
5920
- t.data.success ? i(t.data) : s(t.data)
5921
- })).catch((function(t) {
5922
- if (t.response) {
5923
- var e = t.response;
5924
- return Os["a"].prototype.$wpms_error_modal({
5925
- subtitle: Object(c["a"])("It looks like we can't load authentication details.", "mo2f-setup"),
5926
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5927
- })
5928
- }
5929
- Os["a"].prototype.$wpms_error_toast({
5930
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
5931
- })
5932
- }))
5933
- }))
5934
- },
5935
- sa = function(t) {
5936
- return new Promise((function(e, i) {
5937
- var s = new FormData;
5938
- s.append("action", "wp_mail_smtp_vue_remove_oauth_connection"), s.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== t && s.append("mailer", t), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(t) {
5939
- t.data.success ? e(t.data) : i(t.data)
5940
- })).catch((function(t) {
5941
- if (t.response) {
5942
- var e = t.response;
5943
- return Os["a"].prototype.$wpms_error_modal({
5944
- subtitle: Object(c["a"])("It looks like we can't remove oAuth connection.", "mo2f-setup"),
5945
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5946
- })
5947
- }
5948
- Os["a"].prototype.$wpms_error_toast({
5949
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
5950
- })
5951
- }))
5952
- }))
5953
- },
5954
- aa = function(t) {
5955
- return new Promise((function(e, i) {
5956
- var s = new FormData;
5957
- s.append("action", "wp_mail_smtp_vue_get_connected_data"), s.append("nonce", Os["a"].prototype.$wpms.nonce), !1 !== t && s.append("mailer", t), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, s).then((function(t) {
5958
- t.data.success ? e(t.data) : i(t.data)
5959
- })).catch((function(t) {
5960
- if (t.response) {
5961
- var e = t.response;
5962
- return Os["a"].prototype.$wpms_error_modal({
5963
- subtitle: Object(c["a"])("It looks like we can't load oAuth connected data.", "mo2f-setup"),
5964
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
5965
- })
5966
- }
5967
- Os["a"].prototype.$wpms_error_toast({
5968
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
5969
- })
5970
- }))
5971
- }))
5972
- },
5973
- na = function(t) {
5974
- return new Promise((function(e) {
5975
- var i = new FormData;
5976
- i.append("action", "wp_mail_smtp_vue_subscribe_to_newsletter"), i.append("nonce", Os["a"].prototype.$wpms.nonce), i.append("email", t), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, i).then((function(t) {
5977
- e(t.data)
5978
- }))
5979
- }))
5980
- },
5981
- oa = function(t) {
5982
- return new Promise((function(e) {
5983
- var i = new FormData;
5984
- i.append("action", "wp_mail_smtp_vue_verify_license_key"), i.append("nonce", Os["a"].prototype.$wpms.nonce), i.append("license_key", t), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, i).then((function(t) {
5985
- e(t.data)
5986
- }))
5987
- }))
5988
- },
5989
- ra = function(t) {
5990
- return new Promise((function(e) {
5991
- var i = new FormData;
5992
- i.append("action", "wp_mail_smtp_vue_upgrade_plugin"), i.append("nonce", Os["a"].prototype.$wpms.nonce), i.append("license_key", t), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, i).then((function(t) {
5993
- e(t.data)
5994
- }))
5995
- }))
5996
- },
5997
- la = {
5998
- fetchSettings: Zs,
5999
- saveSettings: ta,
6000
- importOtherPluginSettings: ea,
6001
- fetchAmazonSESIdentities: Xs,
6002
- amazonSESRegisterIdentity: $s,
6003
- getAuthRedirect: ia,
6004
- removeAuth: sa,
6005
- getConnectedData: aa,
6006
- subscribeToNewsletter: na,
6007
- verifyLicense: oa,
6008
- upgradePlugin: ra
6009
- },
6010
- ca = function(t) {
6011
- return la.fetchSettings(t).then((function(e) {
6012
- t.commit("SETTINGS_UPDATED", e.data)
6013
- })).catch((function(t) {
6014
- if (t.data) return Os["a"].prototype.$wpms_error_modal({
6015
- subtitle: Object(c["a"])("It looks like we can't load existing settings.", "mo2f-setup"),
6016
- detailedError: t.data
6017
- })
6018
- }))
6019
- },
6020
- pa = function(t) {
6021
- var e = t.getters.settings.amazonses;
6022
- if (0 !== Object.keys(e).length) return la.fetchAmazonSESIdentities(t, e).then((function(e) {
6023
- t.commit("AMAZONSES_IDENTITIES_UPDATED", e), Os["a"].swal.close()
6024
- })).catch((function(t) {
6025
- Os["a"].prototype.$wpms_error_modal({
6026
- subtitle: Object(c["a"])("It looks like we can't retrieve the Amazon SES Identities.", "mo2f-setup"),
6027
- detailedError: t.data ? t.data : ""
6028
- })
6029
- }))
6030
- },
6031
- ma = function(t, e) {
6032
- return la.amazonSESRegisterIdentity(t, e).catch((function(t) {
6033
- Os["a"].prototype.$wpms_error_modal({
6034
- subtitle: Object(c["a"])("It looks like we can't register the Amazon SES Identity.", "mo2f-setup"),
6035
- detailedError: t.data
6036
- })
6037
- }))
6038
- },
6039
- ua = function(t, e) {
6040
- t.commit("MAILER_UPDATE", e)
6041
- },
6042
- da = function(t, e) {
6043
- return new Promise((function(i) {
6044
- t.commit("LOGS_UPDATE", e), i({
6045
- success: !0
6046
- })
6047
- }))
6048
- },
6049
- _a = function(t, e) {
6050
- t.commit("SETTINGS_SAVE_START");
6051
- var i = la.saveSettings(t, e);
6052
- return i.then((function() {
6053
- t.commit("SETTINGS_SAVE_END")
6054
- })), i
6055
- },
6056
- fa = function(t) {
6057
- var e = t.getters.settings;
6058
- t.commit("SETTINGS_SAVE_START");
6059
- var i = la.saveSettings(t, {
6060
- value: e
6061
- });
6062
- return i.then((function() {
6063
- t.commit("SETTINGS_SAVE_END")
6064
- })), i
6065
- },
6066
- ha = function(t, e) {
6067
- return t.commit("SETTINGS_SAVE_START"), new Promise((function(i) {
6068
- la.importOtherPluginSettings(t, e).then((function(e) {
6069
- t.commit("SETTINGS_SAVE_END"), e.success ? ca(t).then((function() {
6070
- i(!0)
6071
- })) : i(!1)
6072
- }))
6073
- }))
6074
- },
6075
- ga = function(t, e) {
6076
- return la.getAuthRedirect(e, t.getters.settings[e]).catch((function(t) {
6077
- Os["a"].prototype.$wpms_error_modal({
6078
- subtitle: Object(c["a"])("It looks like we can't load oAuth redirect.", "mo2f-setup"),
6079
- detailedError: t.data
6080
- })
6081
- }))
6082
- },
6083
- wa = function(t, e) {
6084
- return la.getConnectedData(e).catch((function(t) {
6085
- Os["a"].prototype.$wpms_error_modal({
6086
- subtitle: Object(c["a"])("It looks like we can't load oAuth connected data.", "mo2f-setup"),
6087
- detailedError: t.data
6088
- })
6089
- }))
6090
- },
6091
- ba = function(t, e) {
6092
- return la.removeAuth(e).then((function() {
6093
- t.commit("SETTINGS_REMOVE_AUTH", e)
6094
- })).catch((function(t) {
6095
- Os["a"].prototype.$wpms_error_modal({
6096
- subtitle: Object(c["a"])("It looks like we can't remove oAuth connection.", "mo2f-setup"),
6097
- detailedError: t.data
6098
- })
6099
- }))
6100
- },
6101
- Aa = function(t, e) {
6102
- return new Promise((function(i) {
6103
- t.commit("SETTINGS_SAVE_PLUGIN_FEATURES", e), i({
6104
- success: !0,
6105
- features: e
6106
- })
6107
- }))
6108
- },
6109
- va = function(t, e) {
6110
- return la.subscribeToNewsletter(e)
6111
- },
6112
- xa = function(t, e) {
6113
- return la.verifyLicense(e)
6114
- },
6115
- ya = function(t, e) {
6116
- return la.upgradePlugin(e)
6117
- },
6118
- Ca = {
6119
- getSettings: ca,
6120
- updateSettings: _a,
6121
- importOtherPlugin: ha,
6122
- setMailer: ua,
6123
- setLogs: da,
6124
- saveCurrentSettings: fa,
6125
- getAmazonSESIdentities: pa,
6126
- amazonSESRegisterIdentity: ma,
6127
- getAuthUrl: ga,
6128
- removeAuth: ba,
6129
- getConnectedData: wa,
6130
- savePluginFeatures: Aa,
6131
- subscribeToNewsletter: va,
6132
- verifyLicense: xa,
6133
- upgradePlugin: ya
6134
- },
6135
- ka = (i("4160"), i("1276"), i("159b"), function(t) {
6136
- return t.settings
6137
- }),
6138
- Oa = function(t) {
6139
- return t.settings.mail.mailer
6140
- },
6141
- ja = function(t) {
6142
- return t.settings.outlook.user_details ? t.settings.outlook.user_details.email : null
6143
- },
6144
- Sa = function(t) {
6145
- return t.settings.zoho.user_details ? t.settings.zoho.user_details.email : null
6146
- },
6147
- Pa = function(t) {
6148
- return t.plugin_features
6149
- },
6150
- Ea = function(t) {
6151
- return !!t.settings.logs.enabled && t.settings.logs.enabled
6152
- },
6153
- Ta = function(t) {
6154
- return function(e) {
6155
- var i = !1,
6156
- s = t.amazonses_identities.data,
6157
- a = e.split("@").pop();
6158
- return void 0 !== s && (s.forEach((function(t) {
6159
- ("email" === t.type && t.value === e || "domain" === t.type && t.value === a) && (i = !0)
6160
- })), i)
6161
- }
6162
- },
6163
- za = {
6164
- getField: ut["a"],
6165
- settings: ka,
6166
- mailer: Oa,
6167
- outlook_email: ja,
6168
- zoho_email: Sa,
6169
- plugin_features: Pa,
6170
- amazonses_is_email_registered: Ta,
6171
- email_log_enabled: Ea
6172
- },
6173
- Ba = i("da81"),
6174
- Ia = i.n(Ba),
6175
- Ma = function(t, e) {
6176
- t.is_saving = !1, t.settings = Ia()(t.settings, e)
6177
- },
6178
- Da = function(t, e) {
6179
- t.amazonses_identities = e.data
6180
- },
6181
- Fa = function(t, e) {
6182
- t.settings.mail.mailer = e
6183
- },
6184
- Na = function(t, e) {
6185
- t.settings.logs.enabled = e
6186
- },
6187
- Qa = function(t) {
6188
- t.is_saving = !0
6189
- },
6190
- La = function(t) {
6191
- t.is_saving = !1
6192
- },
6193
- Wa = function(t, e) {
6194
- var i = t.settings[e];
6195
- t.settings[e] = {
6196
- client_id: i.client_id,
6197
- client_secret: i.client_secret
6198
- }, "zoho" === e && (t.settings[e].domain = i.domain)
6199
- },
6200
- Ua = function(t, e) {
6201
- t.plugin_features = e
6202
- },
6203
- Ha = {
6204
- updateField: ut["c"],
6205
- SETTINGS_UPDATED: Ma,
6206
- SETTINGS_SAVE_START: Qa,
6207
- SETTINGS_SAVE_END: La,
6208
- MAILER_UPDATE: Fa,
6209
- LOGS_UPDATE: Na,
6210
- AMAZONSES_IDENTITIES_UPDATED: Da,
6211
- SETTINGS_REMOVE_AUTH: Wa,
6212
- SETTINGS_SAVE_PLUGIN_FEATURES: Ua
6213
- },
6214
- Ra = {
6215
- settings: {
6216
- mail: {
6217
- mailer: "mail",
6218
- from_email: "",
6219
- from_name: "",
6220
- return_path: !1,
6221
- from_email_force: !0,
6222
- from_name_force: !1
6223
- },
6224
- smtp: {
6225
- host: "",
6226
- port: "587",
6227
- encryption: "tls",
6228
- autotls: !0,
6229
- auth: !0,
6230
- user: "",
6231
- pass: ""
6232
- },
6233
- smtpcom: {
6234
- api_key: "",
6235
- channel: ""
6236
- },
6237
- sendinblue: {
6238
- api_key: "",
6239
- domain: ""
6240
- },
6241
- mailgun: {
6242
- api_key: "",
6243
- domain: "",
6244
- region: "US"
6245
- },
6246
- sendgrid: {
6247
- api_key: "",
6248
- domain: ""
6249
- },
6250
- amazonses: {
6251
- client_id: "",
6252
- client_secret: "",
6253
- region: "us-east-1"
6254
- },
6255
- gmail: {
6256
- client_id: "",
6257
- client_secret: "",
6258
- access_token: {},
6259
- refresh_token: ""
6260
- },
6261
- outlook: {
6262
- client_id: "",
6263
- client_secret: "",
6264
- access_token: {},
6265
- refresh_token: "",
6266
- user_details: {
6267
- email: ""
6268
- }
6269
- },
6270
- zoho: {
6271
- client_id: "",
6272
- client_secret: "",
6273
- domain: "com",
6274
- access_token: {},
6275
- refresh_token: "",
6276
- user_details: {
6277
- email: ""
6278
- }
6279
- },
6280
- logs: {
6281
- enabled: !1
6282
- }
6283
- },
6284
- amazonses_identities: {},
6285
- plugin_features: []
6286
- },
6287
- Ga = {
6288
- namespaced: !0,
6289
- state: Ra,
6290
- actions: Ca,
6291
- getters: za,
6292
- mutations: Ha
6293
- },
6294
- Va = function() {
6295
- return new Promise((function(t) {
6296
- var e = new FormData;
6297
- e.append("action", "wp_mail_smtp_vue_check_mailer_configuration"), e.append("nonce", Os["a"].prototype.$wpms.nonce), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, e).then((function(e) {
6298
- t(e.data)
6299
- })).catch((function(t) {
6300
- if (t.response) {
6301
- var e = t.response;
6302
- return Os["a"].prototype.$wpms_error_modal({
6303
- subtitle: Object(c["a"])("It looks like we can't perform the mailer configuration check.", "mo2f-setup"),
6304
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
6305
- })
6306
- }
6307
- Os["a"].prototype.$wpms_error_toast({
6308
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
6309
- })
6310
- }))
6311
- }))
6312
- },
6313
- Ya = function(t) {
6314
- var e = new FormData;
6315
- e.append("action", "wp_mail_smtp_vue_send_feedback"), e.append("nonce", Os["a"].prototype.$wpms.nonce), e.append("data", JSON.stringify(t)), Ms.a.post(Os["a"].prototype.$wpms.ajax_url, e).catch((function(t) {
6316
- if (t.response) {
6317
- var e = t.response;
6318
- return Os["a"].prototype.$wpms_error_modal({
6319
- subtitle: Object(c["a"])("It looks like we can't send the feedback.", "mo2f-setup"),
6320
- detailedError: Object(c["c"])(Object(c["a"])("%1$s, %2$s", "mo2f-setup"), e.status, e.statusText)
6321
- })
6322
- }
6323
- Os["a"].prototype.$wpms_error_toast({
6324
- title: Object(c["a"])("You appear to be offline.", "mo2f-setup")
6325
- })
6326
- }))
6327
- },
6328
- Ja = {
6329
- checkMailerConfiguration: Va,
6330
- sendFeedback: Ya
6331
- },
6332
- Ka = function() {
6333
- return Ja.checkMailerConfiguration()
6334
- },
6335
- qa = function(t, e) {
6336
- Ja.sendFeedback(e)
6337
- },
6338
- Za = {
6339
- checkMailerConfiguration: Ka,
6340
- sendFeedback: qa
6341
- },
6342
- Xa = function(t) {
6343
- return t.blocked_step
6344
- },
6345
- $a = {
6346
- getField: ut["a"],
6347
- blocked_step: Xa
6348
- },
6349
- tn = {
6350
- updateField: ut["c"]
6351
- },
6352
- en = {
6353
- blocked_step: !1
6354
- },
6355
- sn = {
6356
- namespaced: !0,
6357
- state: en,
6358
- actions: Za,
6359
- getters: $a,
6360
- mutations: tn
6361
- },
6362
- an = function(t) {
6363
- t.commit("INIT")
6364
- },
6365
- nn = function(t) {
6366
- t.commit("BLOCK_APP")
6367
- },
6368
- on = function(t) {
6369
- t.commit("UNBLOCK_APP")
6370
- },
6371
- rn = function(t) {
6372
- t.commit("APP_LOADING_START")
6373
- },
6374
- ln = function(t) {
6375
- t.commit("APP_LOADING_STOP")
6376
- },
6377
- cn = {
6378
- init: an,
6379
- block: nn,
6380
- unblock: on,
6381
- start_loading: rn,
6382
- stop_loading: ln
6383
- },
6384
- pn = function(t) {
6385
- return t.blocked
6386
- },
6387
- mn = function(t) {
6388
- return t.loading
6389
- },
6390
- un = function(t) {
6391
- return t.wpms
6392
- },
6393
- dn = {
6394
- blocked: pn,
6395
- loading: mn,
6396
- wpms: un
6397
- },
6398
- _n = function() {},
6399
- fn = function(t) {
6400
- t.blocked = !0
6401
- },
6402
- hn = function(t) {
6403
- t.blocked = !1
6404
- },
6405
- gn = function(t) {
6406
- t.loading = !0
6407
- },
6408
- wn = function(t) {
6409
- t.loading = !1
6410
- },
6411
- bn = {
6412
- INIT: _n,
6413
- BLOCK_APP: fn,
6414
- UNBLOCK_APP: hn,
6415
- APP_LOADING_START: gn,
6416
- APP_LOADING_STOP: wn
6417
- },
6418
- An = {
6419
- blocked: !1,
6420
- loading: !1,
6421
- wpms: window.wp_mail_smtp_vue ? window.wp_mail_smtp_vue : {}
6422
- },
6423
- vn = {
6424
- namespaced: !0,
6425
- state: An,
6426
- actions: cn,
6427
- getters: dn,
6428
- mutations: bn
6429
- },
6430
- xn = function(t) {
6431
- t.subscribe((function(e, i) {
6432
- if ("$_app/INIT" === e.type) {
6433
- var s = i["$_app"].wpms.versions,
6434
- a = "",
6435
- n = "";
6436
- s.php_version_below_55 ? (a = Object(c["a"])("Yikes! PHP Update Required", "mo2f-setup"), n = Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. WordPress stopped supporting your PHP version in April, 2019. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure.", "mo2f-setup"), s.php_version, "7.4")) : s.php_version_below_56 ? (a = Object(c["a"])("Yikes! PHP Update Required", "mo2f-setup"), n = Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated, insecure version of PHP (%1$s). Some mailers require at least PHP version 5.6. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure.", "mo2f-setup"), s.php_version, "7.4")) : s.wp_version_below_49 && (a = Object(c["a"])("Yikes! WordPress Update Required", "mo2f-setup"), n = Object(c["c"])(Object(c["a"])("WP Mail SMTP has detected that your site is running an outdated version of WordPress (%s). WP Mail SMTP requires at least WordPress version 4.9.", "mo2f-setup"), s.wp_version)), Os["a"].prototype.$swal && a.length && (t.dispatch("$_app/block"), Os["a"].prototype.$swal.close(), Os["a"].prototype.$swal({
6437
- title: a,
6438
- html: "<p>".concat(n, '</p><p><a href="').concat(Os["a"].prototype.$wpms.exit_url, '">').concat(Object(c["a"])("Return to Plugin Settings", "mo2f-setup"), "</a></p>"),
6439
- customClass: {
6440
- container: "mo2f-setup-swal mo2f-setup-swal-alert"
6441
- },
6442
- allowOutsideClick: !1,
6443
- allowEscapeKey: !1,
6444
- allowEnterKey: !1,
6445
- showConfirmButton: !1,
6446
- onOpen: function() {
6447
- Os["a"].prototype.$swal.hideLoading()
6448
- }
6449
- }))
6450
- }
6451
- }))
6452
- },
6453
- yn = xn;
6454
- Os["a"].use(nt["a"]);
6455
- var Cn = [yn],
6456
- kn = new nt["a"].Store({
6457
- modules: {
6458
- $_app: vn,
6459
- $_plugins: qs,
6460
- $_settings: Ga,
6461
- $_wizard: sn
6462
- },
6463
- plugins: Cn
6464
- }),
6465
- On = i("e37d"),
6466
- jn = (i("6c6b"), i("6d5e")),
6467
- Sn = document.getElementById("mo2f-setup-vue-setup-wizard");
6468
- Os["a"].config.productionTip = !1, i.p = window.wp_mail_smtp_vue.public_url, Os["a"].use(jn["InlineSvgPlugin"]), Os["a"].use(o["a"]), Os["a"].use(js["a"]), Os["a"].use(On["a"], {
6469
- defaultTemplate: '<div class="mo2f-setup-tooltip" role="tooltip"><div class="mo2f-setup-tooltip-arrow"></div><div class="mo2f-setup-tooltip-inner"></div></div>',
6470
- defaultArrowSelector: ".mo2f-setup-tooltip-arrow, .mo2f-setup-tooltip__arrow",
6471
- defaultInnerSelector: ".mo2f-setup-tooltip-inner, .mo2f-setup-tooltip__inner"
6472
- }), Os["a"].use(Ts), Object(c["b"])(window.wp_mail_smtp_vue.translations, "mo2f-setup");
6473
- var Pn = {
6474
- install: function(t) {
6475
- t.prototype.$wizard_steps = [], t.prototype.$wpms && t.prototype.$wpms.other_2FA_plugins.length > 0 && t.prototype.$wizard_steps.push("import_step"), t.prototype.$wizard_steps.push("choose_mailer_step"), t.prototype.$wizard_steps.push("configure_mailer_step"), t.prototype.$wizard_steps.push("plugin_features_step"), t.prototype.$wpms && !t.prototype.$wpms.is_pro && t.prototype.$wizard_steps.push("help_improve_step"), t.prototype.$wizard_steps.push("license_step"), t.prototype.$wizard_steps.push("check_configuration_step")
6476
- }
6477
- };
6478
- Os["a"].use(Pn), Os["a"].use(Bs), new Os["a"]({
6479
- store: kn,
6480
- mounted: function() {
6481
- kn.dispatch("$_app/init")
6482
- },
6483
- render: function(t) {
6484
- return t(ks)
6485
- }
6486
- }).$mount(Sn)
6487
- },
6488
- "9f86": function(t, e) {
6489
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAB8dAAAdhwGkh9VpAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAADg1JREFUeJzdm3mQVdWdx7+/37mvN5pFERdkaRqj7bCESUMZkxAagjGMoKJCJW2cCs5ACpW1UWqmUvomTvgjxoWJJjGVqINLFEUyg2B0TEDWoHaCtguCvu7GBiQgTUM3Tb93lvxx33LXd18vaNX8qrrueXf53XM+9/s753fOvU2N1533qTKiQ2srYYxIKFgJra3DWotDUFZi3DcamigOjf+nRs3XD3pHG2ucMgJaW9DGgjIC2ljpP5FUWrRoYx3WsA4pbSW0EQlpYgklkRjU2frJxPr61BfdkJ4afTK7/0vaiGuUsdIARBqCs5yDo41IH0sf1xaUEa3aWAljYgllKKFM0WGtxCFNnOiA3P/93U+f/KIbGmYWk2y2iwQwYIudYLxnEmWLrmMMGI1zAKrWQDXDgkEKEAbQFspMDC9M+tej2ljNGtYBpUWz1lazhtUEQwc0lTTO2xM/cTYbmc8sZnUA2m6cAVwNzRnBZOHk9uWK7mtM5ngO6BAAQ2Aw0ZDJ7tcQMDqJ3467+2/aiL3axN5J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- a1c2: function(t, e) {
6493
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAQKADAAQAAAABAAAAQAAAAABlmWCKAAAL5klEQVR4AdVbeZQUxRn/qqt7ZnZml2U5FjfKsQQBWY41ERRwg4iBEMEH5CIaiT4SQUHRCDwIEk3y8rzgD+UwmgMFjRxCfMEYjFFRFIJRiQi8hMilyLUKLOwxM31Uqnq2Zrt7urt6pmfJS723W1VffUfVr+v46hgEFziQKVU91cpeq6V003BJwsr5Tz8GVNHtmFTVc0Ni12sPoK1w9kJWCV0oY+qNl34NKrqulFqaapAkZc0yALKhpFTHfYZslA/tWhjbePJglt6OiXYHQP1B/2tISWKdTIxKt3bYALAwSL0Hva2cP3lr7NkDFoQsDEVKthsA6oyhY4CQ57Ghd/WrqxcAXAZfevlOBdRbost3/IvTihkXHQD2xSFeul7UcNYIQgg0nq4HaD4nbJPUp3aH0nBsWrF7RNEAUG/uP4rEEuu9urq1hYZBAK78BhjTfwVnk2mIbF0HaO0jAPWfWtlc01L1wG1K/cFbijVHhAZAnVpdB6UV6zGQi1xrbCHqsgLo8msB3/agSVV1wwSAsyhvrAXppScBDu/lJM9Y6tHvDfnEf6aXbG445MkUoKBgANhypl3UczNOpwaJ7LCGSzfMBGn8rTZWJwC8UN63HfA62iP2bOckzxj3u2JNYvcbdxW6fBYEgDpj2OuSmhptXc7caujVcM7rBQAvx3vfAXn9o2IgYgkN9+j7WOmyt+Zy2aBxXgCo88c9hD4/Pp86ML5yoobzyokA4HwMCIUCQUQ9omPX5siAYTNL7l+7hsuKYt+GcGHt3rHjSUP9ixggwmlucdCGc9mgAHB+NjRkOjREQND54VikU+ex0YdfEU4mQgDU2Vfvk5rPX+bX3dmsjq67EaTvz+N1DRTnCwBXKr+7BfCqRQCnfFaNeJmBew/aULr0lalczi32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t, e, i) {
6497
- t.exports = i.p + "img/sendgrid.svg"
6498
- },
6499
- b32f: function(t, e, i) {
6500
- t.exports = i.p + "img/lock-solid.svg"
6501
- },
6502
- b98f: function(t, e, i) {
6503
- t.exports = i.p + "img/wp-smtp.png"
6504
- },
6505
- ba75: function(t, e, i) {
6506
- "use strict";
6507
- i("b0d2")
6508
- },
6509
- bbc2: function(t, e, i) {
6510
- var s = {
6511
- "./all-in-one-seo-pack.png": "9da7",
6512
- "./all-in-one-seo-pack@2x.png": "2cf42",
6513
- "./coming-soon.png": "d686",
6514
- "./coming-soon@2x.png": "9f86",
6515
- "./google-analytics-for-wordpress.png": "c2d9",
6516
- "./google-analytics-for-wordpress@2x.png": "82f2",
6517
- "./instagram-feed.png": "e0ed",
6518
- "./instagram-feed@2x.png": "877f",
6519
- "./rafflepress.png": "d3f3",
6520
- "./rafflepress@2x.png": "a1c2",
6521
- "./wp-call-button.png": "2adc",
6522
- "./wp-call-button@2x.png": "1532"
6523
- };
6524
-
6525
- function a(t) {
6526
- var e = n(t);
6527
- return i(e)
6528
- }
6529
-
6530
- function n(t) {
6531
- if (!i.o(s, t)) {
6532
- var e = new Error("Cannot find module '" + t + "'");
6533
- throw e.code = "MODULE_NOT_FOUND", e
6534
- }
6535
- return s[t]
6536
- }
6537
- a.keys = function() {
6538
- return Object.keys(s)
6539
- }, a.resolve = n, t.exports = a, a.id = "bbc2"
6540
- },
6541
- c2d9: function(t, e) {
6542
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAJO0lEQVRYCY1Xa3AT1xX+VruSVm/Jkh8E22Cbh20CY9K0QHhYQGDAkCm0hB/pDIHpJM1k0tTpn7QznUD/tdMfmB9N25RJITOdTDrJ0AAFCrQYUhJIeJinAWOMj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CVwlWHsePP1iT2mDiKhMP7a9j5mmJplqd8zV9A4LciUM6Ib9QRVz3Kj61oUcWosXD4rkhQXzGzxHgnx2JPRXlf2HLr7L+G9t9/Fuh9tRNXMGfSrxp0bt9Bx4QJuXOjEioZN8LumWa5GQh8I/jLbmqlabQ4LtVJZKkS5ZBQLp1HX6KPynEVWpR5hfJ4354rU1LX5MQNRWdKIW8dv4tjAWWjmJJyiC9d7vsR83xbcvSjDtwIwi8ILgkkwTWMLmf+ZgmIUj6bhof6PJ0Pl60MxualzVkEEA2Idm4XKOjdlLA59/feoyZ6OZEJC6GGSlfqEYHeYjRrLzM9yP+uKuq5GWTMpWaymXDTSzunxG2KmYGTVktFI6MmO97G6/yiTUZJSQql92BvGXHEruuLHMce7BiPUQ2TS2gGhuzMc0TW/n/mXtVzMBi6q40MPxv5AJy73BmxvsA+OBHVJeZLJRamEsp+s0UHfAbtZf5gn0U6NLOX9aCTz1e7PV7/A5t/ZeOJfLp/YkpDisAul1KRwCA9GUw7d/2tTSk5eu3a554ur5wdx+/oARf3wJ333wtRgZiI+v/0Nf5kDgQonXU0XWKvNyGhSOO4+dZwd+YaFNaVMhsmW0Bp/mX0J+3Ji8rsPr9mQiKg73Db/kUHlXPpu4gTi8vBrrEUT9LS6gxPFmJQaO6br6u8++OKVf25f8cl9yNqh6Ii4Iqtnt/gCDoQGYxDFyUaTbTyVFErTAw+S8Je66HakkIiqt5HmJnpAasn3kfy+hqYlrY+yHcFB+fJZtv7bQ5lxiX62+uB5XdNKeYF3q5oas1kdRr6lkNlH7A7KnW1MLi2nKnjOFKDiRI07whk1u2pf++YJAEymGP0f66rSztLaxrAAAAAASUVORK5CYII="
6543
- },
6544
- c869: function(t, e, i) {
6545
- t.exports = i.p + "img/loading-pattie.svg"
6546
- },
6547
- cc99: function(t, e, i) {},
6548
- d3f3: function(t, e) {
6549
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4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Zcgg3M7QGFftSxJCYBPYDqzefi4AU/Z+uGZik2Rufzexw+kYC4CBj1n9YIUwR6FH3hsq6XXk702T9Xy0FLGTRSHEIvH3VTFQjdbaazureM7owGrgnniSD0rJOkFNM3mhLXCmiX+0Dt+oaLg+UEEFxuDmMGohVPHBlk5pJtcqfvDBYU5cKSHosdgYZXQdaXPV6hRUn4aEdc3lj69ua5aJ7aHz8vLzkLRknEswoxt0C7eJ6FNFr9ptSvabsIRZsApWVxMB78jbMjGRwBMnrJ6TMywGH4w9MgNPaCakkmV70OSUc6IPkTPqHjdNBIyHZnGASISqdFBZ/vgCDd76jiXmF0E8G5CvZxyFaeE04dBThx0HBDK9OMamZ8WcG01Uel22P7gT5IhJEhUGvXA6raC7hilz0mBPY9SY+YByT97C9+mMp3jaBe6QfNNjttsYKKQ90g0sSEvhkMSUwmUvFTb0DLZf5Jhnx32jAh5tTUlHsB0r0gXFr6oFj/C+xsSWUt4LkZIL+cNLtwdu4tOXMN/yQze6kSepTeoI9S7vOwunB6NAJWR5R6nyI9+sTSj1Krs/4sV9bmn5VmprOteCQ9JgG63GLuhjZ3T9trcT3LrUmMl/KC7xQtVklW3KpHIyAUbR6SVrir2QvYOo7pEV4RrCvc6r9m2ujwCTHgTw6jIS0SAT2xK694z//+NbMni0TESoD+nP5Ff063R5uxPWZcK2AfpG8NmfN9KQTmV/qmxlXhwaKB5SZmMf8F4cLeesegrcIAAAAASUVORK5CYII="
6550
- },
6551
- d51e: function(t, e, i) {
6552
- t.exports = i.p + "img/copy-solid.svg"
6553
- },
6554
- d686: function(t, e) {
6555
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA+OAAAOwwHS3rpiAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABpdJREFUWIW1l2tsHNUVx//n3nN3dh0nTRxLAeQUg3GVlCREclFUtbgOMpFSEQXUYEirRlDaD0nqBFNQ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g/EvhN3YOmyI0j9cf0viS/aZy8IpPkAAAAASUVORK5CYII="
6556
- },
6557
- da18: function(t, e, i) {},
6558
- ddc9: function(t, e, i) {
6559
- t.exports = i.p + "img/gmail.svg"
6560
- },
6561
- e0ed: function(t, e) {
6562
- t.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAGaElEQVRYCY1Xy24cRRS9/ZgZP+JH7NgOCTE2CIiiECFZwBpFrPkAWPFV/AY7VkhZIMQCIR4iQQRsOcRMYmNP/BrPTE8X55yq6umxY6A93VV97617bt1XtZMnH88645Xw5oMjbzxqYxLf03O8tCYXeRglH3kaIVfxwxrQSRoB1edj4EEmKoi8CEDjIg+jNzaAyPDaPK7B6JdFZf8KXgOI8lHRZeCVQQG8kudmPLiBlsuM/wKPoBwbTUuaE7hbZhr9PGm0LMkbZriTBkeozjDHu7PShgd/WtF+5MGjcTAkJ3Y91um1m5bNL0uJFERledMsgzh3bEOzsoRijK60xDGNSs8jGzQrBhAbmCtAwC+7esNc79DKw7+8XPAIzKQBXihfu2v54g2zfleLxJOyvjko03XOlaP1Xod/p07clSxeBl1LZ5esPGqP6FUIKAwjGsur5rpHWuywv932nh12OtZoNW3l5nWbmJ4KhmFBa9JShoCu582QaAQtJ61h/ae/mDvdD2swMETRKI3KgWCtLGYK+/fNx1vm5l+x9U8+s+2vvrBHP/xotzfu2sREy5pvvm/5yjpEIUx5XtXoJw5DevDEht1oAAjICckFcFZOFQKFtiwk0O2eWWe/Y6sb9+3q2/es6J3Z/sPvrb391NZuv2HDoz1LWvDGsIcYh3vYR9wZqnAXZ+CDRnsUYpjLHKqBk64qEDgebggDsGLQx0KE4MXvcGHprLu7IyVFgaSDwrKzY8MSOVFzfzo1q/did9PcyZ7k6uCaozI0xiqg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Wn4RlB/gSdoNx7jSQhC7Oeuf2zFi6cSUouGEinil+3xczsbnHgQVo52jRoP9d3f+lrrZDyRBIahMYmvqZ0KnPTxPgBCebxn2RzKDTXd/+OblyqihrLbgTeAyB6AA0b9A3NpRxgdQ4nvCz/yHfOjJ9D/rKZTZQhXxArAWB62rZxZUA8wAlAJ22tUisOIyhK4tqRXgovV8TBXFQVPjHtg5PboER+CGjgJPDWL9kOc+/wvJhqHSVQa5NWAyKeLow7NAy3ywkiWZDWO5v40lAIPPqYw0EfgXIjfBcCRwhEIBT39MnDyQxn+X3DKjRRXhhGBYHUe30G/FBxsLvoHJCM5JyU1x+sAAAAASUVORK5CYII="
6563
- },
6564
- e108: function(t, e, i) {
6565
- t.exports = i.p + "img/check-circle-solid-white.svg"
6566
- },
6567
- e8f2: function(t, e, i) {},
6568
- f8b1: function(t, e, i) {
6569
- "use strict";
6570
- i("9fec")
6571
- }
6572
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
miniorange_2_factor_settings.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This TFA plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 3 User in the free version of the plugin.
6
- * Version: 5.5.81
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * Text Domain: miniorange-2-factor-authentication
@@ -14,7 +14,7 @@
14
  require dirname(__FILE__).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'email-IPaddress.php';
15
 
16
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
17
- define( 'MO2F_VERSION', '5.5.81' );
18
  define( 'MO2F_PLUGIN_URL', (plugin_dir_url(__FILE__)));
19
  define( 'MO2F_TEST_MODE', false );
20
  define( 'MO2F_IS_ONPREM', get_option('is_onprem'));
@@ -275,7 +275,8 @@
275
  $mo2fa_hook_page = add_users_page ('Reset 2nd Factor', null , 'manage_options', 'reset', array( $this, 'mo_reset_2fa_for_users_by_admin' ),66);
276
 
277
  global $Mo2fdbQueries;
278
- $is_customer_registered = $Mo2fdbQueries->get_user_detail( 'user_registration_with_miniorange', wp_get_current_user()->ID ) == 'SUCCESS' ? true : false;
 
279
  if(!$is_customer_registered)
280
  add_submenu_page($menu_slug, 'miniOrange 2-Factor', 'Request Trial' ,'administrator','mo_2fa_account', array( $this, 'mo_wpns'), 20);
281
  else
@@ -359,13 +360,14 @@
359
  function mo_wpns_deactivate()
360
  {
361
  update_option('mo2f_activate_plugin', 1);
362
-
363
  if(!MO2F_IS_ONPREM)
364
  {
365
  delete_option('mo2f_customerKey');
366
  delete_option('mo2f_api_key');
367
  delete_option('mo2f_customer_token');
368
  }
 
 
369
  $two_fa_settings = new Miniorange_Authentication();
370
  $two_fa_settings->mo_auth_deactivate();
371
  $timestamp = wp_next_scheduled( 'mo2f_realtime_ip_block_free_hook' );
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This TFA plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 3 User in the free version of the plugin.
6
+ * Version: 5.5.82
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * Text Domain: miniorange-2-factor-authentication
14
  require dirname(__FILE__).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'email-IPaddress.php';
15
 
16
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
17
+ define( 'MO2F_VERSION', '5.5.82' );
18
  define( 'MO2F_PLUGIN_URL', (plugin_dir_url(__FILE__)));
19
  define( 'MO2F_TEST_MODE', false );
20
  define( 'MO2F_IS_ONPREM', get_option('is_onprem'));
275
  $mo2fa_hook_page = add_users_page ('Reset 2nd Factor', null , 'manage_options', 'reset', array( $this, 'mo_reset_2fa_for_users_by_admin' ),66);
276
 
277
  global $Mo2fdbQueries;
278
+ $is_customer_registered = get_option('mo_2factor_user_registration_status') == 'MO_2_FACTOR_PLUGIN_SETTINGS';
279
+
280
  if(!$is_customer_registered)
281
  add_submenu_page($menu_slug, 'miniOrange 2-Factor', 'Request Trial' ,'administrator','mo_2fa_account', array( $this, 'mo_wpns'), 20);
282
  else
360
  function mo_wpns_deactivate()
361
  {
362
  update_option('mo2f_activate_plugin', 1);
 
363
  if(!MO2F_IS_ONPREM)
364
  {
365
  delete_option('mo2f_customerKey');
366
  delete_option('mo2f_api_key');
367
  delete_option('mo2f_customer_token');
368
  }
369
+ delete_option('mo2f_wizard_selected_method');
370
+ delete_option('mo2f_wizard_skipped');
371
  $two_fa_settings = new Miniorange_Authentication();
372
  $two_fa_settings->mo_auth_deactivate();
373
  $timestamp = wp_next_scheduled( 'mo2f_realtime_ip_block_free_hook' );
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://miniorange.com/
6
  Requires at least: 3.0.1
7
  Tested up to: 6.0.1
8
  Requires PHP: 5.3.0
9
- Stable tag: 5.5.81
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -221,6 +221,11 @@ You should go to <b>Setup Two-Factor (2FA) </b> Tab and click on <b>Reconfigure<
221
 
222
  == Changelog ==
223
 
 
 
 
 
 
224
  = 5.5.81 =
225
  * Google Authenticator - Two factor Authentication (2FA, OTP) :
226
  * Introduced new BASIC plan
@@ -1003,4 +1008,4 @@ More descriptive setup messages and UI changes.
1003
  * Google Authenticator - Two Factor Authentication ( 2FA ): Added email ID verification during registration.
1004
 
1005
  = 1.0.0 =
1006
- * First version of Google Authenticator - Two Factor Authentication ( 2FA ) plugin supported with mobile authentication for admins only.
6
  Requires at least: 3.0.1
7
  Tested up to: 6.0.1
8
  Requires PHP: 5.3.0
9
+ Stable tag: 5.5.82
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
221
 
222
  == Changelog ==
223
 
224
+ = 5.5.82 =
225
+ * Google Authenticator - Two factor Authentication (2FA, OTP) :
226
+ * OTP over SMS bug fix in setup wizard
227
+ * Updated Trial Request form
228
+
229
  = 5.5.81 =
230
  * Google Authenticator - Two factor Authentication (2FA, OTP) :
231
  * Introduced new BASIC plan
1008
  * Google Authenticator - Two Factor Authentication ( 2FA ): Added email ID verification during registration.
1009
 
1010
  = 1.0.0 =
1011
+ * First version of Google Authenticator - Two Factor Authentication ( 2FA ) plugin supported with mobile authentication for admins only.
uninstall.php CHANGED
@@ -11,7 +11,7 @@
11
 
12
  delete_option('mo2f_trial_dismiss');
13
  delete_option('mo2f_donot_show_trial_notice_always');
14
-
15
 
16
  delete_option('mo2f_customerKey');
17
  delete_option('mo2f_api_key');
11
 
12
  delete_option('mo2f_trial_dismiss');
13
  delete_option('mo2f_donot_show_trial_notice_always');
14
+ delete_option('mo2f_wizard_selected_method');
15
 
16
  delete_option('mo2f_customerKey');
17
  delete_option('mo2f_api_key');
views/feedback_form.php CHANGED
@@ -98,7 +98,7 @@ $plugins = MO2f_Utility::get_all_plugins_installed();
98
  <input type="submit" name="miniorange_feedback_submit"
99
  class="button button-primary button-large" style="float:left" value="Submit"/>
100
  <input type="button" name="miniorange_feedback_skip"
101
- class="button button-primary button-large" style="float:right" value="Skip"
102
  onclick="document.getElementById('mo_wpns_feedback_form_close').submit();"/>
103
  </div>
104
  <br><br>
98
  <input type="submit" name="miniorange_feedback_submit"
99
  class="button button-primary button-large" style="float:left" value="Submit"/>
100
  <input type="button" name="miniorange_feedback_skip"
101
+ class="button button-primary button-large" style="float:right" value="Skip and Deactivate"
102
  onclick="document.getElementById('mo_wpns_feedback_form_close').submit();"/>
103
  </div>
104
  <br><br>
views/trial.php CHANGED
@@ -11,21 +11,36 @@
11
  <table cellpadding="4" cellspacing="4">
12
  <tr>
13
  <td><strong>Email ID : </strong></td>
14
- <td><input required type="email" name="mo2f_trial_email" style="width: 100%;" value="<?php echo esc_html(get_option('mo2f_email'));?>" placeholder="Email id" /></td>
15
  </tr>
16
  <tr>
17
  <td><strong>Phone No. : </strong></td>
18
- <td><input required type="tel" name="mo2f_trial_phone" style="width: 100%;" id= "mo2f_phone" value="<?php echo esc_html($user_phone); ?>" /></td>
19
  </tr>
20
  <tr>
21
  <td valign=top ><strong>Request a Trial for : </strong></td>
22
  <td>
23
  <p style = "margin-top:0px">
24
- <input type= 'radio' name= 'mo2f_trial_plan' value="All Inclusive" required >All Inclusive (Unlimited Users + Advanced Features)<br>
 
25
  </p>
26
- <p><input type= 'radio' name= 'mo2f_trial_plan' value="Enterprise" required >Enterprise(Unlimited sites)<br></p>
27
- <p><input type= 'radio' name= 'mo2f_trial_plan' value="notSure" required >I am confused!!<br></p>
28
- <a href="<?php echo esc_url($upgrade_url); ?>" target="_blank">Checkout our Plans</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  </td>
31
  </tr>
@@ -39,9 +54,20 @@
39
  </form>
40
  </div>
41
  <script>
 
42
  jQuery("#mo2f_phone").intlTelInput();
43
 
 
 
 
 
 
 
 
 
 
44
  jQuery(document).ready(function(){
 
45
  var mo2f_trial_query_sent = "<?php echo esc_html(get_site_option('mo2f_trial_query_sent')) ?>"
46
  if(mo2f_trial_query_sent == 1){
47
  jQuery(':input[type="submit"]').prop('disabled', true);
@@ -49,5 +75,6 @@
49
  jQuery(':input[type="submit"]').css('color', 'white');
50
  jQuery(':input[type="submit"]').css('box-shadow', 'none');
51
  }
 
52
  });
53
  </script>
11
  <table cellpadding="4" cellspacing="4">
12
  <tr>
13
  <td><strong>Email ID : </strong></td>
14
+ <td><input required type="email" name="mo2f_trial_email" style="width: 300px;" value="<?php echo esc_html(get_option('mo2f_email'));?>" placeholder="Email id" /></td>
15
  </tr>
16
  <tr>
17
  <td><strong>Phone No. : </strong></td>
18
+ <td><input required type="tel" name="mo2f_trial_phone" style="width: 300px;" id= "mo2f_phone" value="<?php echo esc_html($user_phone); ?>" /></td>
19
  </tr>
20
  <tr>
21
  <td valign=top ><strong>Request a Trial for : </strong></td>
22
  <td>
23
  <p style = "margin-top:0px">
24
+ <input type= 'radio' name= 'mo2f_trial_plan' id="mo2f_sites_for_2fa" onchange="mo2f_display_field(this)" value="All Inclusive" required >All Inclusive (Unlimited Users + Advanced Features)<br>
25
+ <div id="mo2f_sites_for_2fa_field" name= 'mo2f_trial_plan_field' style="display: none">&emsp;Number of sites on which you intend to enable 2FA : <input type="number" min="1" name="mo2f_number_of_sites_1" style="width: 20%;" value="1" disabled required/></div>
26
  </p>
27
+ <p><input type= 'radio' name= 'mo2f_trial_plan' id="mo2f_users_for_2fa" onchange="mo2f_display_field(this)" value="Enterprise" required >Enterprise(Unlimited sites)<br></p>
28
+ <div id="mo2f_users_for_2fa_field" name= 'mo2f_trial_plan_field'style="display: none">&emsp;Number of users who will use 2FA : <input type="number" min="5" name="mo2f_number_of_users_2" style="width: 20%;" value="5" disabled required/></div>
29
+
30
+ <p><input type= 'radio' name= 'mo2f_trial_plan' id="mo2f_confused" onchange="mo2f_display_field(this)" value="notSure" required >Need help in choosing the plan?<br>
31
+ <div id="mo2f_confused_field" name= 'mo2f_trial_plan_field' style="display: none"><table disabled ><td>&emsp;Number of users who will use 2FA : </td><td><input type="number" min="5" name="mo2f_number_of_users_3" style="width: 40%;" value="5" required/></td>
32
+ <td>&emsp;Number of sites on which you intend to enable 2FA : </td><td><input type="number" min="1" name="mo2f_number_of_sites_3" style="width: 40%;" id= "mo2f_number_of_sites" value="1" required/></td></table></div>
33
+ </p>
34
+ <p>
35
+ Authentication method you prefer to use : <select name="mo2f_authentication_method" id="mo2f_authentication_method">
36
+ <option value="TOTP">Time- based OTP</option>
37
+ <option value="SMS">SMS based Authentication</option>
38
+ <option value="Email">Email based Authentication</option>
39
+ <option value="Others">Whatsapp, Telegram and Others</option>
40
+ </select>
41
+
42
+ </p>
43
+ <a href="<?php echo esc_url($upgrade_url); ?>" target="_blank">Check out our Plans</a>
44
 
45
  </td>
46
  </tr>
54
  </form>
55
  </div>
56
  <script>
57
+
58
  jQuery("#mo2f_phone").intlTelInput();
59
 
60
+ function mo2f_display_field(elmt){
61
+ var inputValue = elmt.id;
62
+ var targetBox = jQuery("#" + inputValue + "_field");
63
+ jQuery("div[name='mo2f_trial_plan_field']").not(targetBox).hide();
64
+ jQuery(targetBox).show();
65
+ jQuery(targetBox).children().removeAttr('disabled');
66
+ jQuery("div[name='mo2f_trial_plan_field']").not(targetBox).children().prop('disabled', true);
67
+ }
68
+
69
  jQuery(document).ready(function(){
70
+
71
  var mo2f_trial_query_sent = "<?php echo esc_html(get_site_option('mo2f_trial_query_sent')) ?>"
72
  if(mo2f_trial_query_sent == 1){
73
  jQuery(':input[type="submit"]').prop('disabled', true);
75
  jQuery(':input[type="submit"]').css('color', 'white');
76
  jQuery(':input[type="submit"]').css('box-shadow', 'none');
77
  }
78
+
79
  });
80
  </script>