Coming Soon Page & Maintenance Mode by SeedProd - Version 6.13.0

Version Description

Download this release

Release Info

Developer seedprod
Plugin Icon 128x128 Coming Soon Page & Maintenance Mode by SeedProd
Version 6.13.0
Comparing to
See all releases

Code changes from version 6.12.2 to 6.13.0

README.txt CHANGED
@@ -1,11 +1,11 @@
1
- === Website Builder by SeedProd — Custom Theme Builder, Landing Page Builder, Coming Soon, Maintenance Mode & more ===
2
  Contributors: seedprod, smub
3
  Donate link: http://www.seedprod.com
4
  Tags: maintenance mode, coming soon page, landing page, website builder, page builder
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 6.12.0
9
  Text Domain: coming-soon
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
1
+ === Website Builder by SeedProd — Theme Builder, Landing Page Builder, Coming Soon Page, Maintenance Mode ===
2
  Contributors: seedprod, smub
3
  Donate link: http://www.seedprod.com
4
  Tags: maintenance mode, coming soon page, landing page, website builder, page builder
5
  Requires at least: 5.0
6
  Tested up to: 6.0
7
  Requires PHP: 5.6
8
+ Stable tag: 6.12.2
9
  Text Domain: coming-soon
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
app/license.php CHANGED
@@ -32,7 +32,19 @@ function seedprod_lite_welcome_screen_do_activation_redirect() {
32
  }
33
 
34
  // Redirect to our page
35
- wp_safe_redirect( add_query_arg( array( 'page' => 'seedprod_lite' ), admin_url( 'admin.php' ) ) . '#/welcome' );
 
 
 
 
 
 
 
 
 
 
 
 
36
  }
37
 
38
 
32
  }
33
 
34
  // Redirect to our page
35
+ $seedprod_dismiss_setup_wizard = get_option( 'seedprod_dismiss_setup_wizard' );
36
+ $seedprod_over_time = get_option( 'seedprod_over_time' );
37
+ if(!empty($seedprod_over_time)){
38
+ if(!empty( $seedprod_over_time['installed_version']) && version_compare( $seedprod_over_time['installed_version'], "6.12.2") === 1){
39
+ // run new onboarding flow
40
+ if(empty($seedprod_dismiss_setup_wizard)){
41
+ update_option( 'seedprod_dismiss_setup_wizard', true );
42
+ wp_safe_redirect( add_query_arg( array( 'page' => 'seedprod_lite' ), admin_url( 'admin.php' ) ) . '#/welcome' );
43
+ }
44
+ }
45
+
46
+ }
47
+
48
  }
49
 
50
 
app/load_controller.php CHANGED
@@ -16,6 +16,7 @@ require_once SEEDPROD_PLUGIN_PATH . 'app/render-csp-mm.php';
16
 
17
  require_once SEEDPROD_PLUGIN_PATH . 'app/nestednavmenu.php';
18
 
 
19
  require_once SEEDPROD_PLUGIN_PATH . 'app/backwards/backwards_compatibility.php';
20
  require_once SEEDPROD_PLUGIN_PATH . 'app/subscriber.php';
21
  add_action( 'plugins_loaded', array( 'SeedProd_Lite_Render', 'get_instance' ) );
16
 
17
  require_once SEEDPROD_PLUGIN_PATH . 'app/nestednavmenu.php';
18
 
19
+ require_once SEEDPROD_PLUGIN_PATH . 'app/setup-wizard.php';
20
  require_once SEEDPROD_PLUGIN_PATH . 'app/backwards/backwards_compatibility.php';
21
  require_once SEEDPROD_PLUGIN_PATH . 'app/subscriber.php';
22
  add_action( 'plugins_loaded', array( 'SeedProd_Lite_Render', 'get_instance' ) );
app/lpage.php CHANGED
@@ -980,7 +980,8 @@ function seedprod_lite_get_namespaced_custom_css() {
980
  require_once SEEDPROD_PLUGIN_PATH . 'app/includes/seedprod_lessc.inc.php';
981
  $less = new seedprod_lessc();
982
  $style = $less->parse( '.sp-html {' . $css . '}' );
983
- echo $style; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
 
984
  exit();
985
  }
986
  }
980
  require_once SEEDPROD_PLUGIN_PATH . 'app/includes/seedprod_lessc.inc.php';
981
  $less = new seedprod_lessc();
982
  $style = $less->parse( '.sp-html {' . $css . '}' );
983
+ //echo $style; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
984
+ echo '';
985
  exit();
986
  }
987
  }
app/routes.php CHANGED
@@ -53,12 +53,13 @@ function seedprod_lite_create_menus() {
53
  'seedprod_lite_theme_templates_page'
54
  );
55
 
56
- add_theme_page(
57
- __( 'Theme Builder', 'coming-soon' ),
58
- __( 'Theme Builder', 'coming-soon' ),
59
- apply_filters( 'seedprod_theme_templates_menu_capability', 'edit_others_posts' ),
60
- 'seedprod_lite_theme_templates',
61
- 'seedprod_lite_theme_templates_page'
 
62
  );
63
 
64
  if ( 'lite' === SEEDPROD_BUILD ) {
@@ -192,6 +193,10 @@ function seedprod_lite_remove_menus() {
192
  remove_submenu_page( 'seedprod_lite', 'seedprod_lite_template' );
193
  remove_submenu_page( 'seedprod_lite', 'sp_pro_importexport' );
194
  remove_submenu_page( 'seedprod_lite', 'sp_pro_debug' );
 
 
 
 
195
  }
196
 
197
  /**
@@ -277,6 +282,11 @@ function seedprod_lite_update_selected_page_in_submenu() {
277
  jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>']" ).parent().removeClass('current');
278
  jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>_about_us']" ).parent().addClass('current');
279
  }
 
 
 
 
 
280
  }
281
  });
282
  </script>
@@ -340,6 +350,24 @@ function seedprod_lite_redirect_to_site() {
340
  exit();
341
  }
342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  // feature request page
344
  if ( isset( $_GET['page'] ) && 'seedprod_lite_featurerequest' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
345
  wp_redirect( 'https://www.seedprod.com/suggest-a-feature/?utm_source=wordpress&utm_medium=plugin-sidebar&utm_campaign=suggest-a-feature' ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
@@ -408,6 +436,9 @@ if ( defined( 'DOING_AJAX' ) ) {
408
  add_action( 'wp_ajax_seedprod_lite_update_subscriber_count', 'seedprod_lite_update_subscriber_count' );
409
  add_action( 'wp_ajax_seedprod_lite_subscribers_datatable', 'seedprod_lite_subscribers_datatable' );
410
 
 
 
 
411
  add_action( 'wp_ajax_seedprod_lite_get_plugins_list', 'seedprod_lite_get_plugins_list' );
412
 
413
  add_action( 'wp_ajax_seedprod_lite_install_addon', 'seedprod_lite_install_addon' );
53
  'seedprod_lite_theme_templates_page'
54
  );
55
 
56
+ add_submenu_page(
57
+ 'seedprod_lite',
58
+ __('Setup', 'coming-soon'),
59
+ __('Setup', 'coming-soon'),
60
+ apply_filters('seedprod_setup_menu_capability', 'edit_others_posts'),
61
+ 'seedprod_lite_setup',
62
+ 'seedprod_lite_setup_page'
63
  );
64
 
65
  if ( 'lite' === SEEDPROD_BUILD ) {
193
  remove_submenu_page( 'seedprod_lite', 'seedprod_lite_template' );
194
  remove_submenu_page( 'seedprod_lite', 'sp_pro_importexport' );
195
  remove_submenu_page( 'seedprod_lite', 'sp_pro_debug' );
196
+ $dimiss_setup = get_option( 'seedprod_dismiss_setup' );
197
+ if ( !empty( $dimiss_setup ) ) {
198
+ remove_submenu_page( 'seedprod_lite', 'seedprod_lite_setup' );
199
+ }
200
  }
201
 
202
  /**
282
  jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>']" ).parent().removeClass('current');
283
  jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>_about_us']" ).parent().addClass('current');
284
  }
285
+ // Setup
286
+ if(location.hash.indexOf('#/setup') >= 0){
287
+ jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>']" ).parent().removeClass('current');
288
+ jQuery( "a[href^='admin.php?page=seedprod_<?php echo esc_attr( SEEDPROD_BUILD ); ?>_setup']" ).parent().addClass('current');
289
+ }
290
  }
291
  });
292
  </script>
350
  exit();
351
  }
352
 
353
+ // setup page
354
+ if ( isset( $_GET['page'] ) && 'seedprod_lite_setup' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
355
+ if( !empty( $_GET[ 'sp_setup_dismiss' ] ) ){
356
+ update_option( 'seedprod_dismiss_setup', 1 );
357
+ }
358
+
359
+ $dimiss_setup = get_option( 'seedprod_dismiss_setup' );
360
+
361
+ if( !empty( $dimiss_setup ) ){
362
+ wp_safe_redirect( 'admin.php?page=seedprod_lite#/' );
363
+ exit();
364
+ }else{
365
+ wp_safe_redirect( 'admin.php?page=seedprod_lite#/setup' );
366
+ exit();
367
+ }
368
+
369
+ }
370
+
371
  // feature request page
372
  if ( isset( $_GET['page'] ) && 'seedprod_lite_featurerequest' === $_GET['page'] ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
373
  wp_redirect( 'https://www.seedprod.com/suggest-a-feature/?utm_source=wordpress&utm_medium=plugin-sidebar&utm_campaign=suggest-a-feature' ); // phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
436
  add_action( 'wp_ajax_seedprod_lite_update_subscriber_count', 'seedprod_lite_update_subscriber_count' );
437
  add_action( 'wp_ajax_seedprod_lite_subscribers_datatable', 'seedprod_lite_subscribers_datatable' );
438
 
439
+ add_action( 'wp_ajax_seedprod_lite_install_addon_setup', 'seedprod_lite_install_addon_setup' );
440
+ add_action( 'wp_ajax_seedprod_lite_complete_setup_wizard', 'seedprod_lite_complete_setup_wizard' );
441
+
442
  add_action( 'wp_ajax_seedprod_lite_get_plugins_list', 'seedprod_lite_get_plugins_list' );
443
 
444
  add_action( 'wp_ajax_seedprod_lite_install_addon', 'seedprod_lite_install_addon' );
app/settings.php CHANGED
@@ -93,11 +93,25 @@ function seedprod_lite_save_app_settings() {
93
  // security: create new settings array so we make sure we only set/allow our settings
94
  $new_app_settings = array();
95
 
 
96
  if ( isset( $app_settings['disable_seedprod_button'] ) && 'true' === $app_settings['disable_seedprod_button'] ) {
97
  $new_app_settings['disable_seedprod_button'] = true;
 
98
  } else {
99
  $new_app_settings['disable_seedprod_button'] = false;
 
100
  }
 
 
 
 
 
 
 
 
 
 
 
101
  $new_app_settings['facebook_g_app_id'] = sanitize_text_field( $app_settings['facebook_g_app_id'] );
102
  $app_settings_encode = wp_json_encode( $new_app_settings );
103
 
93
  // security: create new settings array so we make sure we only set/allow our settings
94
  $new_app_settings = array();
95
 
96
+ // Edit Button
97
  if ( isset( $app_settings['disable_seedprod_button'] ) && 'true' === $app_settings['disable_seedprod_button'] ) {
98
  $new_app_settings['disable_seedprod_button'] = true;
99
+ update_option( 'seedprod_allow_usage_tracking' , true );
100
  } else {
101
  $new_app_settings['disable_seedprod_button'] = false;
102
+ update_option( 'seedprod_allow_usage_tracking' , false );
103
  }
104
+
105
+ // Usage Tracking
106
+ if ( isset( $app_settings['enable_usage_tracking'] ) && 'true' === $app_settings['enable_usage_tracking'] ) {
107
+ $new_app_settings['enable_usage_tracking'] = true;
108
+ update_option('seedprod_allow_usage_tracking' , true);
109
+ } else {
110
+ $new_app_settings['enable_usage_tracking'] = false;
111
+ update_option('seedprod_allow_usage_tracking' , false);
112
+ }
113
+
114
+ // Facebook ID
115
  $new_app_settings['facebook_g_app_id'] = sanitize_text_field( $app_settings['facebook_g_app_id'] );
116
  $app_settings_encode = wp_json_encode( $new_app_settings );
117
 
app/setup-wizard.php ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Complete Setup Wizard
5
+ */
6
+ function seedprod_lite_complete_setup_wizard() {
7
+ if ( check_ajax_referer( 'seedprod_lite_complete_setup_wizard' ) ) {
8
+ if ( ! current_user_can( apply_filters( 'seedprod_lpage_capability', 'edit_others_posts' ) ) ) {
9
+ wp_send_json_error();
10
+ }
11
+ $wizard_id = isset( $_POST['wizard_id'] ) ? wp_unslash( $_POST['wizard_id'] ) : null;
12
+
13
+ // get the wizard data with id and token
14
+ $site_token = get_option( 'seedprod_token' );
15
+
16
+ $data = array(
17
+ 'wizard_id' => $wizard_id,
18
+ 'site_token' => $site_token,
19
+ );
20
+
21
+ $headers = array();
22
+
23
+ // Build the headers of the request.
24
+ $headers = wp_parse_args(
25
+ $headers,
26
+ array(
27
+ 'Accept' => 'application/json',
28
+ )
29
+ );
30
+
31
+ $url = SEEDPROD_API_URL . 'get-wizard-data';
32
+ $response = wp_remote_post(
33
+ $url,
34
+ array(
35
+ 'body' => $data,
36
+ 'headers' => $headers,
37
+ )
38
+ );
39
+
40
+ $status_code = wp_remote_retrieve_response_code( $response );
41
+
42
+ // manually install code if error
43
+ if ( is_wp_error( $response ) ) {
44
+ $response = array(
45
+ 'status' => 'false',
46
+ 'ip' => seedprod_lite_get_ip(),
47
+ 'msg' => $response->get_error_message(),
48
+ );
49
+ wp_send_json( $response );
50
+ }
51
+
52
+ if ( 200 !== $status_code ) {
53
+ $response = array(
54
+ 'status' => 'false',
55
+ 'ip' => seedprod_lite_get_ip(),
56
+ 'msg' => $response['response']['message'],
57
+ );
58
+ wp_send_json( $response );
59
+ }
60
+
61
+ $body = wp_remote_retrieve_body( $response );
62
+
63
+ if ( ! empty( $body ) ) {
64
+ $body = json_decode( $body );
65
+ }
66
+
67
+ // store the wizard id and data locally
68
+ $onboarding = $body->onboarding;
69
+
70
+ // store the wizard verify plugins
71
+ update_option('seedprod_verify_wizard_options',$onboarding->options);
72
+
73
+ // set tracking if they have opted in
74
+ if(!empty($onboarding->allow_usagetracking)){
75
+ update_option( 'seedprod_allow_usage_tracking', true );
76
+ }
77
+
78
+ // free templates
79
+ if(!empty($onboarding->email)){
80
+ update_option( 'seedprod_free_templates_subscribed', true );
81
+ }
82
+
83
+
84
+ // get template type that was setup in the onboarding
85
+ $type = 'lp';
86
+ if ( !empty( $onboarding->sp_type ) ) {
87
+ $type = $onboarding->sp_type;
88
+ }
89
+
90
+ // create a landoing page
91
+ if($type == 'lp' || $type == 'cs' || $type == 'mm' || $type == 'p404' || $type == 'loginp' ){
92
+
93
+ // install themplate
94
+ $cpt = 'page';
95
+ // seedprod ctp types
96
+ $cpt_types = array(
97
+ 'cs',
98
+ 'mm',
99
+ 'p404',
100
+ 'header',
101
+ 'footer',
102
+ 'part',
103
+ 'page');
104
+
105
+ if (in_array($type, $cpt_types)) {
106
+ $cpt = 'seedprod';
107
+ }
108
+
109
+
110
+ // base page settings
111
+ require_once SEEDPROD_PLUGIN_PATH . 'resources/data-templates/basic-page.php';
112
+ $basic_settings = json_decode( $seedprod_basic_lpage , true );
113
+ $basic_settings['is_new'] = true;
114
+ $basic_settings['page_type'] = $type;
115
+
116
+ // slug
117
+ if ('cs' == $type) {
118
+ $slug = 'sp-cs';
119
+ $lpage_name = $slug;
120
+ $basic_settings['no_conflict_mode'] = true;
121
+ }
122
+ if ('mm' == $type) {
123
+ $slug = 'sp-mm';
124
+ $lpage_name = $slug;
125
+ $basic_settings['no_conflict_mode'] = true;
126
+ }
127
+ if ('p404' == $type) {
128
+ $slug = 'sp-p404';
129
+ $lpage_name = $slug;
130
+ $basic_settings['no_conflict_mode'] = true;
131
+ }
132
+ if ('loginp' == $type) {
133
+ $slug = 'sp-login';
134
+ $lpage_name = $slug;
135
+ $basic_settings['no_conflict_mode'] = true;
136
+ }
137
+
138
+ // insert page code
139
+ $code = '';
140
+ if(!empty($onboarding->code)){
141
+ $code = base64_decode($onboarding->code);
142
+ }
143
+
144
+ $code = json_decode( $code , true );
145
+
146
+ // merge in code
147
+ if(!empty($slug)){
148
+ $basic_settings['post_title'] = $slug;
149
+ $basic_settings['post_name'] = $slug;
150
+ }
151
+ $basic_settings['template_id'] = intval($onboarding->template_id);
152
+ if ( 99999 != $onboarding->template_id ) {
153
+ unset( $basic_settings['document'] );
154
+ if ( is_array( $code ) ) {
155
+ $new_settings = $basic_settings + $code;
156
+ }
157
+ }
158
+
159
+ $id = wp_insert_post(
160
+ array(
161
+ 'comment_status' => 'closed',
162
+ 'ping_status' => 'closed',
163
+ 'post_content' => '',
164
+ 'post_status' => 'draft',
165
+ 'post_title' => 'seedprod',
166
+ 'post_type' => $cpt,
167
+ 'post_name' => $slug,
168
+ 'post_content_filtered' => wp_json_encode($new_settings),
169
+ 'meta_input' => array(
170
+ '_seedprod_page' => true,
171
+ '_seedprod_page_uuid' => wp_generate_uuid4(),
172
+ '_seedprod_page_template_type' => $type,
173
+ ),
174
+ ),
175
+ true
176
+ );
177
+
178
+ // update pointer
179
+ // record coming soon page_id
180
+ if ( 'cs' == $type ) {
181
+ update_option( 'seedprod_coming_soon_page_id', $id );
182
+ }
183
+ if ( 'mm' == $type ) {
184
+ update_option( 'seedprod_maintenance_mode_page_id', $id );
185
+ }
186
+ if ( 'p404' == $type ) {
187
+ update_option( 'seedprod_404_page_id', $id );
188
+ }
189
+ if ( 'loginp' == $type ) {
190
+ update_option( 'seedprod_login_page_id', $id );
191
+ }
192
+
193
+ // If landing page set a temp name
194
+
195
+ if ( 'lp' == $type ) {
196
+ if ( is_numeric( $id ) ) {
197
+ $lpage_name = esc_html__( 'New Page', 'coming-soon' ) . " (ID #$id)";
198
+ } else {
199
+ $lpage_name = esc_html__( 'New Page', 'coming-soon' );
200
+ }
201
+ }
202
+
203
+ wp_update_post(
204
+ array(
205
+ 'ID' => $id,
206
+ 'post_title' => $lpage_name,
207
+ )
208
+ );
209
+
210
+ }
211
+
212
+ // install theme if theme is the type
213
+ if ($type == 'websitebuilder' || $type == 'woocommerce') {
214
+ $template_id = $onboarding->template_id;
215
+ seedprod_lite_theme_import( $template_id );
216
+ }
217
+
218
+
219
+
220
+ // install plugins
221
+
222
+
223
+ $reponse = array(
224
+ 'status' => 'true',
225
+ 'type' => $type,
226
+ 'id' => $id,
227
+ 'options'=> $onboarding->options,
228
+ );
229
+
230
+
231
+
232
+ wp_send_json_success($reponse);
233
+ }
234
+
235
+ }
236
+
237
+
238
+
239
+ // Install Plugins Request During Setup
240
+ // function seedprod_lite_complete_setup_wizard_plugins(){
241
+ // if( !empty( $_GET['site_token'] ) ){
242
+ // $site_token = get_option( 'seedprod_token' );
243
+ // if( $_GET['site_token'] == $site_token ){
244
+ // if ( !empty( $_GET['seedprod_verify'] ) ) {
245
+ // $seedprod_verify = json_decode( wp_unslash( urldecode( $_GET['seedprod_verify'] ) ) );
246
+ // // if we get here see what plugins the user wants to install
247
+ // $paths_map = array(
248
+ // 'rafflepress' => 'rafflepress/rafflepress.php',
249
+ // 'allinoneseo' => 'all-in-one-seo-pack/all_in_one_seo_pack.php',
250
+ // 'ga' => 'google-analytics-for-wordpress/googleanalytics.php',
251
+ // 'wpforms' => 'wpforms-lite/wpforms.php',
252
+ // 'optinmonster' => 'optinmonster/optin-monster-wp-api.php',
253
+ // );
254
+ // $options = get_option('seedprod_verify_wizard_options');
255
+ // if ( ! empty( $options ) ) {
256
+ // $options = json_decode( $options );
257
+ // foreach($options as $p){
258
+ // if(in_array($p,$seedprod_verify)){
259
+ // if(!empty($paths_map[$p])){
260
+ // $plugin = $paths_map[$p];
261
+ // error_log($plugin);
262
+ // }
263
+
264
+ // }
265
+ // }
266
+ // }
267
+ // exit();
268
+ // }
269
+ // }
270
+ // }
271
+ // }
272
+ // add_action( 'init', 'seedprod_lite_complete_setup_wizard_plugins' );
273
+
274
+ function seedprod_lite_install_addon_setup(){
275
+ // Run a security check.
276
+ check_ajax_referer( 'seedprod_lite_install_addon_setup', 'nonce' );
277
+
278
+ // Check for permissions.
279
+ if ( ! current_user_can( 'install_plugins' ) ) {
280
+ wp_send_json_error();
281
+ }
282
+
283
+ // if we get here see what plugins the user wants to install
284
+ $paths_map = array(
285
+ 'rafflepress' => array('slug'=>'rafflepress/rafflepress.php','url'=>'https://downloads.wordpress.org/plugin/rafflepress.zip'),
286
+ 'allinoneseo' => array('slug'=>'all-in-one-seo-pack/all_in_one_seo_pack.php','url'=>'https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip'),
287
+ 'ga' => array('slug'=>'google-analytics-for-wordpress/googleanalytics.php','url'=>'https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip'),
288
+ 'wpforms' => array('slug'=>'wpforms-lite/wpforms.php','url'=>'https://downloads.wordpress.org/plugin/wpforms-lite.zip'),
289
+ 'optinmonster' => array('slug'=>'optinmonster/optin-monster-wp-api.php','url'=>'https://downloads.wordpress.org/plugin/optinmonster.zip'),
290
+ );
291
+ $options = get_option('seedprod_verify_wizard_options');
292
+ $options = json_decode( $options );
293
+ // this allows us to do one at a time
294
+ if (isset($_POST['plugin'])) {
295
+ $plugin = sanitize_text_field( wp_unslash( $_POST['plugin'] ) );
296
+ $options = array($plugin);
297
+ }
298
+ $install_plugins = array();
299
+
300
+ $all_plugins = get_plugins();
301
+
302
+ // purge options to make sure we don't install plugin with conflicts
303
+ if(in_array('allinoneseo',$options)){
304
+ if(
305
+ isset($all_plugins['all-in-one-seo-pack/all_in_one_seo_pack.php']) ||
306
+ isset($all_plugins['all-in-one-seo-pack-pro/all_in_one_seo_pack.php']) ||
307
+ isset($all_plugins['seo-by-rank-math/rank-math.php']) ||
308
+ isset($all_plugins['wordpress-seo/wp-seo.php']) ||
309
+ isset($all_plugins['wordpress-seo-premium/wp-seo-premium.php']) ||
310
+ isset($all_plugins['autodescription/autodescription.php'])
311
+ ){
312
+ if (($key = array_search('allinoneseo', $options)) !== false) {
313
+ unset($options[$key]);
314
+ }
315
+ }
316
+ }
317
+ if(in_array('rafflepress',$options)){
318
+ if(
319
+ isset($all_plugins['rafflepress/rafflepress.php']) ||
320
+ isset($all_plugins['rafflepress-pro/rafflepress-pro.php'])
321
+ ){
322
+ if (($key = array_search('rafflepress', $options)) !== false) {
323
+ unset($options[$key]);
324
+ }
325
+ }
326
+ }
327
+ if(in_array('wpforms',$options)){
328
+ if(
329
+ isset($all_plugins['wpforms-lite/wpforms.php']) ||
330
+ isset($all_plugins['wpforms/wpforms.php'])
331
+ ){
332
+ if (($key = array_search('wpforms', $options)) !== false) {
333
+ unset($options[$key]);
334
+ }
335
+ }
336
+ }
337
+ if(in_array('monsterinsights',$options)){
338
+ if(
339
+ isset($all_plugins['google-analytics-for-wordpress/googleanalytics.php']) ||
340
+ isset($all_plugins['google-analytics-premium/googleanalytics-premium.php'])
341
+ ){
342
+ if (($key = array_search('monsterinsights', $options)) !== false) {
343
+ unset($options[$key]);
344
+ }
345
+ }
346
+ }
347
+
348
+
349
+
350
+
351
+ // install plugins
352
+ if ( ! empty( $options ) ) {
353
+ foreach($options as $p){
354
+ if(!empty($paths_map[$p])){
355
+ $plugin = $paths_map[$p]['slug'];
356
+ $download_url = $paths_map[$p]['url'];
357
+
358
+ global $hook_suffix;
359
+
360
+ // Set the current screen to avoid undefined notices.
361
+ set_current_screen();
362
+
363
+ // Prepare variables.
364
+ $method = '';
365
+ $url = add_query_arg(
366
+ array(
367
+ 'page' => 'seedprod_lite',
368
+ ),
369
+ admin_url( 'admin.php' )
370
+ );
371
+ $url = esc_url( $url );
372
+
373
+ // Start output bufferring to catch the filesystem form if credentials are needed.
374
+ $creds = request_filesystem_credentials( $url, $method, false, false, null );
375
+ if ( false === $creds ) {
376
+ wp_send_json_error();
377
+ }
378
+
379
+ // If we are not authenticated, make it happen now.
380
+ if ( ! WP_Filesystem( $creds ) ) {
381
+ request_filesystem_credentials( $url, $method, true, false, null );
382
+ $form = ob_get_clean();
383
+ return;
384
+ }
385
+
386
+ // We do not need any extra credentials if we have gotten this far, so let's install the plugin.
387
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
388
+ global $wp_version;
389
+ if ( version_compare( $wp_version, '5.3.0' ) >= 0 ) {
390
+ require_once SEEDPROD_PLUGIN_PATH . 'app/includes/skin53.php';
391
+ } else {
392
+ require_once SEEDPROD_PLUGIN_PATH . 'app/includes/skin.php';
393
+ }
394
+
395
+ // Create the plugin upgrader with our custom skin.
396
+ ob_start();
397
+ $installer = new Plugin_Upgrader( new SeedProd_Skin() );
398
+ $installer->install( $download_url );
399
+ $output = ob_get_clean();
400
+
401
+
402
+ // Flush the cache and return the newly installed plugin basename.
403
+ wp_cache_flush();
404
+ if ( $installer->plugin_info() ) {
405
+ $plugin_basename = $installer->plugin_info();
406
+ $install_plugins[] = $plugin_basename;
407
+ }
408
+
409
+ }
410
+ }
411
+ }
412
+ // activate plugins
413
+ foreach($install_plugins as $ip){
414
+ activate_plugin($ip, '', false, true);
415
+ }
416
+ wp_send_json_success($install_plugins);
417
+
418
+
419
+
420
+ }
coming-soon.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd
4
  Plugin URI: https://www.seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugin-uri-link
5
  Description: The Easiest WordPress Drag & Drop Page Builder that allows you to build your webiste, create Landing Pages, Coming Soon Pages, Maintenance Mode Pages and more.
6
- Version: 6.12.2
7
  Author: SeedProd
8
  Author URI: https://www.seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=author-uri-link
9
  TextDomain: coming-soon
@@ -16,7 +16,7 @@ License: GPLv2 or later
16
  */
17
  define( 'SEEDPROD_BUILD', 'lite' );
18
  define( 'SEEDPROD_SLUG', 'coming-soon/coming-soon.php' );
19
- define( 'SEEDPROD_VERSION', '6.12.2' );
20
  define( 'SEEDPROD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
21
  // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seedprod/
22
  define( 'SEEDPROD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
3
  Plugin Name: Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd
4
  Plugin URI: https://www.seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugin-uri-link
5
  Description: The Easiest WordPress Drag & Drop Page Builder that allows you to build your webiste, create Landing Pages, Coming Soon Pages, Maintenance Mode Pages and more.
6
+ Version: 6.13.0
7
  Author: SeedProd
8
  Author URI: https://www.seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=author-uri-link
9
  TextDomain: coming-soon
16
  */
17
  define( 'SEEDPROD_BUILD', 'lite' );
18
  define( 'SEEDPROD_SLUG', 'coming-soon/coming-soon.php' );
19
+ define( 'SEEDPROD_VERSION', '6.13.0' );
20
  define( 'SEEDPROD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
21
  // Example output: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/seedprod/
22
  define( 'SEEDPROD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
public/lite/vue-backend/js/admin.js CHANGED
@@ -1 +1 @@
1
- (function(t){function s(s){for(var a,i,r=s[0],p=s[1],l=s[2],d=0,u=[];d<r.length;d++)i=r[d],n[i]&&u.push(n[i][0]),n[i]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(t[a]=p[a]);c&&c(s);while(u.length)u.shift()();return o.push.apply(o,l||[]),e()}function e(){for(var t,s=0;s<o.length;s++){for(var e=o[s],a=!0,r=1;r<e.length;r++){var p=e[r];0!==n[p]&&(a=!1)}a&&(o.splice(s--,1),t=i(i.s=e[0]))}return t}var a={},n={admin:0},o=[];function i(s){if(a[s])return a[s].exports;var e=a[s]={i:s,l:!1,exports:{}};return t[s].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=t,i.c=a,i.d=function(t,s,e){i.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:e})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,s){if(1&s&&(t=i(t)),8&s)return t;if(4&s&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&s&&"string"!=typeof t)for(var a in t)i.d(e,a,function(s){return t[s]}.bind(null,a));return e},i.n=function(t){var s=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(s,"a",s),s},i.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},i.p="/wp-content/plugins/seedprod-pro/public/lite/vue-backend/";var r=window["webpackJsonp"]=window["webpackJsonp"]||[],p=r.push.bind(r);r.push=s,r=r.slice();for(var l=0;l<r.length;l++)s(r[l]);var c=p;o.push([1,"chunk-vendors","chunk-common"]),e()})({1:function(t,s,e){t.exports=e("9150")},9150:function(t,s,e){"use strict";e.r(s);e("7f7f"),e("cadf"),e("551c"),e("f751"),e("097d");var a,n=e("2b0e"),o=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"seedprod-app seedprod sp-antialiased sp-font-display"},["seedprod_lite"==t.shared.page_path&&t.shared.show_topbar_cta?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-2 sp-px-8 sp-text-sm sp-flex sp-justify-center sp-leading-normal sp-relative"},[t._v("\n You’re using SeedProd Lite. To unlock more features consider\n "),e("a",{staticClass:"sp-ml-1 sp-text-white hover:sp-text-white sp-no-underline sp-border-0 sp-border-b sp-border-white sp-border-dotted",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugintopbar",target:"_blank"}},[t._v("upgrading to Pro")]),e("span",{staticClass:"sp-text-white sp-absolute sp-cursor-pointer sp-right-0 sp-top-0 sp-opacity-75 sp-mt-2 sp-mr-1",on:{click:t.dismiss_upsell}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])])]):t._e(),"seedprod_pro"==t.shared.page_path&&!1===t.shared.active_license&&"welcome"!=t.$route.name?e("div",{staticClass:"sp--ml-5 sp-bg-red sp-text-white sp-py-2 sp-px-8 sp-text-sm sp-flex sp-justify-center sp-leading-normal sp-relative sp-uppercase sp-font-semibold"},[t._v("\n Your license key is invalid!\n "),"settings_general"!=t.$route.name?e("a",{staticClass:"sp-ml-1 sp-text-white hover:sp-text-white sp-no-underline sp-border-0 sp-border-b sp-border-white sp-border-dotted",attrs:{href:"admin.php?page=seedprod_pro#/settings"}},[t._v("Click Here to Enter Your License Key")]):t._e()]):t._e(),!1===t.shared.seedprod_csp4_migrated&&1==t.shared.seedprod_csp4_imported?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-4 sp-px-8 sp-text-lg sp-flex sp-justify-center sp-leading-normal"},[e("svg",{staticClass:"sp-fill-current sp-w-20 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM11 5h2v6h-2zm0 8h2v2h-2z"}})]),t._m(0)]):t._e(),!1===t.shared.seedprod_cspv5_migrated&&1==t.shared.seedprod_cspv5_imported?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-4 sp-px-8 sp-text-lg sp-flex sp-justify-center sp-leading-normal"},[e("svg",{staticClass:"sp-fill-current sp-w-20 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM11 5h2v6h-2zm0 8h2v2h-2z"}})]),e("div",[t._v("\n We have migrated your page settings from the old version to our new builder. Don't worry nothing has changed with your pages. However, a lot has changed in the plugin.\n "),e("a",{staticClass:"sp-text-white sp-font-bold",attrs:{href:"https://www.seedprod.com/docs/migrating-from-the-previous-pro-version/?dep="+t.shared.seedprod_unsupported_feature,target:"_blank"}},[t._v("Learn more about the all new SeedProd plugin and how to complete the migration process.")])])]):t._e(),"welcome"!=t.$router.currentRoute.name?e("div",{staticClass:"sp-bg-white sp--ml-5 sp-pt-6 sp-pb-8 sp-px-8 sp-text-neutral sp-flex sp-items-end sp-justify-between"},[e("div",{staticClass:"sp-flex sp-items-end sp-flex-1"},[e("img",{attrs:{id:"seedprod-logo",src:t.shared.plugin_path+"public/svg/seedprod-logo.svg",alt:t.txt_6}}),e("span",{staticClass:"sp-inline-block sp-px-6 sp-flex sp-items-end"},[e("svg",{attrs:{width:"12",height:"29",viewBox:"0 0 12 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M1 28L11 0.999998",stroke:"#D3CED2"}})])]),"pages"==this.$route.name||"dashboard"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_1)+"\n ")]):t._e(),"growthtools"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_2)+"\n ")]):t._e(),"aboutus_aboutus"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_3)+"\n ")]):t._e(),"subscribers"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_4)+"\n ")]):t._e(),"settings_general"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_5)+"\n ")]):t._e(),"theme-templates"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_9)+"\n ")]):t._e(),"exportimport-templates"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_10)+"\n ")]):t._e()]),e("div",[e("a",{staticClass:"sp-bg-neutral-10 hover:sp-bg-neutral-15 sp-rounded-full sp-flex sp-items-center sp-justify-center sp-p-c63 sp-text-neutral-60",attrs:{href:"https://www.seedprod.com/docs/",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}})])])])]):t._e(),t.shared.notifications.length>0?e("div",{staticClass:"sp-notifications-custom sp-ml-3 sp-rounded sp-p-4 sp-mt-4 sp-mr-4 sp-flex"},[t.shared.notifications[t.notification_index].img?e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.notifications[t.notification_index].img}}):e("img",{staticClass:"sp-mr-4 sp-mb-10",attrs:{src:t.shared.plugin_path+"public/svg/bell-orange.svg"}}),e("div",{staticClass:"sp-flex-1"},[e("div",{staticClass:"sp-text-lg sp-font-semibold sp-mb-2 sp-flex sp-justify-between"},[t._v("\n "+t._s(t.shared.notifications[t.notification_index].title)+"\n "),e("span",{staticClass:"sp-cursor-pointer sp-text-neutral-40 hover:sp-text-red",on:{click:function(s){return t.dismiss_notifications(t.shared.notifications[t.notification_index].id)}}},[e("svg",{staticClass:"sp-fill-current sp-w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])])]),e("div",{staticClass:"sp-mb-3 sp-text-base",domProps:{innerHTML:t._s(t.shared.notifications[t.notification_index].content)}}),e("div",{staticClass:"sp-flex sp-justify-between sp-items-center"},[e("div",[t.shared.notifications[t.notification_index].btns.main?e("a",{staticClass:"button sp-notification-button sp-px-3 sp-py-1 sp-text-sm sp-mr-2",attrs:{href:t.shared.notifications[t.notification_index].btns.main.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.main.text))]):t._e(),t.shared.notifications[t.notification_index].btns.alt?e("a",{staticClass:"button sp-notification-alt-button sp-px-3 sp-alt-notification-button-y sp-text-sm sp-mr-2",attrs:{href:t.shared.notifications[t.notification_index].btns.alt.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.alt.text))]):t._e()]),e("div",[e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40 sp-mr-1",class:{"sp-invisible":0==t.notification_index},attrs:{title:t.txt_7},on:{click:function(s){return s.preventDefault(),t.scroll_notifications("prev")}}},[e("i",{staticClass:"fa fa-chevron-left",attrs:{"aria-hidden":"true"}})]),e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40",class:{"sp-invisible":t.notification_index==t.shared.notifications.length-1},attrs:{title:t.txt_8},on:{click:function(s){return s.preventDefault(),t.scroll_notifications("next")}}},[e("i",{staticClass:"fa fa-chevron-right",attrs:{"aria-hidden":"true"}})])])])])]):t._e(),e("div",{staticClass:"sp-pl-3 sp-pr-8"},[e("keep-alive",[e("router-view")],1)],1)])},i=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t._v('\n We have migrated your page settings from the old version to our new builder. Don\'t worry nothing has changed with your page. Your old version will continue to display until you click "Edit" on the Coming Soon or Maintenance Page and then "Save". After Saving the new version will be displayed.\n '),e("br"),e("a",{staticClass:"sp-text-white sp-font-bold",attrs:{href:"https://www.seedprod.com/docs/migrating-from-the-previous-free-version/",target:"_blank"}},[t._v("Learn more about the all new SeedProd plugin and how to complete the migration process.")])])}],r=e("4328"),p=e.n(r),l=(e("2ef0"),e("561c")),c={data:function(){return{txt_1:Object(l["a"])("Pages","coming-soon"),txt_2:Object(l["a"])("Growth Tools","coming-soon"),txt_3:Object(l["a"])("About Us","coming-soon"),txt_4:Object(l["a"])("Subscribers","coming-soon"),txt_5:Object(l["a"])("Settings","coming-soon"),txt_6:Object(l["a"])("SeedProd Logo","coming-soon"),txt_7:Object(l["a"])("Previous message ","coming-soon"),txt_8:Object(l["a"])("Next message","coming-soon"),txt_9:Object(l["a"])("Theme Builder","coming-soon"),txt_10:Object(l["a"])("Import / Export","coming-soon"),notification_index:0,shared:seedprod_store_admin}},mounted:function(){},watch:{$route:function(t,s){jQuery("html").scrollTop(0)}},methods:{dismiss_upsell:function(){var t=p.a.stringify({id:1});this.axios.post(seedprod_dismiss_upsell,t,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.status&&location.reload()})},dismiss_notifications:function(t){var s=this,e=p.a.stringify({id:t});s.$delete(s.shared.notifications,s.notification_index),0<s.notification_index?s.notification_index=s.notification_index-1:1<s.notification_index.length&&0==s.notification_index?s.notification_index=s.notification_index+1:s.notification_index=0,this.axios.post(seedprod_notification_dismiss,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.success&&location.reload()})},scroll_notifications:function(t){"prev"==t&&this.notification_index--,"next"==t&&this.notification_index++},goto_settings:function(){this.$router.push({name:"settings"}).catch(function(t){})},show_upgrade_notice:function(t,s){var e=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n?(t="Upgrade to PRO",s="Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features."):(t+=" is a PRO Feature",s="We're sorry, the "+s+" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."),this.$swal({title:t,text:s,type:"success",showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE TO PRO"}).then(function(t){t.value&&(window.open(e.shared.upgrade_link+a,"_blank"),e.$swal.fire("","Thanks for your interest in SeedProd Pro!<br>If you have any questions or issues just <a href='https://www.seedprod.com/?contact=1' target='_blank'>let us know</a>.<br><br>After purchasing SeedProd Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)","info"))})}}},d=c,u=e("2877"),g=Object(u["a"])(d,o,i,!1,null,null,null),m=g.exports,h=e("8c4f"),b=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{staticClass:"clearfix",attrs:{id:"post-body-content"}},[e("div",{staticClass:"sp-flex sp-mt-8 sp-overflow-x-scroll sp-pb-2"},[e("div",{staticClass:"sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/cs-page.svg",alt:t.txt_29}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_3)+"\n ")]),""==t.shared.csp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_4))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_5))]),1!=t.shared.seedprod_csp4_imported?e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:t.shared.csp_preview_url,target:"_blank"}},[t._v(t._s(t.txt_6))]):t._e()]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0},on:{change:function(s){return t.enable_mode(1)}},model:{value:t.shared.settings.enable_coming_soon_mode,callback:function(s){t.$set(t.shared.settings,"enable_coming_soon_mode",s)},expression:"shared.settings.enable_coming_soon_mode"}}),t._v(" \n "),t.shared.settings.enable_coming_soon_mode?e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-green sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_7))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/mm-page.svg",alt:t.txt_30}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_9)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_10)+"\n ")]),""==t.shared.mmp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_11))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_5))]),1!=t.shared.seedprod_csp4_imported?e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:t.shared.mmp_preview_url,target:"_blank"}},[t._v(t._s(t.txt_6))]):t._e()]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0},on:{change:function(s){return t.enable_mode(2)}},model:{value:t.shared.settings.enable_maintenance_mode,callback:function(s){t.$set(t.shared.settings,"enable_maintenance_mode",s)},expression:"shared.settings.enable_maintenance_mode"}}),t._v(" \n "),t.shared.settings.enable_maintenance_mode?e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-green sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_7))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0 sp-relative",on:{mouseenter:function(s){t.show_loginp_upgrade=!0},mouseleave:function(s){t.show_loginp_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-right-0 sp-text-green sp-rounded sp-z-20 sp-px-1 sp-text-10px sp-font-semibold sp-mt-2 sp-mr-1"},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_loginp_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginloginpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"sp-pro-only"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/login-page.svg",alt:t.txt_31}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_33)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_34)+"\n ")]),""==t.shared.loginp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_35))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_5))]),e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_6))])]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0}}),t._v(" \n\n "),e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)])]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0 sp-relative",on:{mouseenter:function(s){t.show_404_upgrade=!0},mouseleave:function(s){t.show_404_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-right-0 sp-text-green sp-rounded sp-z-20 sp-px-1 sp-text-10px sp-font-semibold sp-mt-2 sp-mr-1"},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_404_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugin404page",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"sp-pro-only"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/404-page.svg",alt:t.txt_31}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_14)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_15)+"\n ")]),""==t.shared.p404_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_16))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_5))]),e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_6))])]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0}}),t._v(" \n\n "),e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)])])]),e("div",{staticClass:"sp-mt-8 sp-font-semibold"},[e("hr",{staticClass:"sp-border-b-0 sp-border-neutral-15 sp-mb-10"}),e("div",{staticClass:"sp-flex sp-items-center sp-mb-6"},[e("h3",{staticClass:"sp-text-2xl sp-text-neutral sp-m-0 sp-font-bold"},[t._v("\n "+t._s(t.txt_17)+"\n ")]),e("i",{directives:[{name:"tooltip",rawName:"v-tooltip.top-left",value:{content:t.txt_32},expression:"{\n content: txt_32\n }",modifiers:{"top-left":!0}}],staticClass:"fas fa-question-circle sp-ml-2 sp-mr-6 sp-text-xs"}),0!=t.shared.page_count?e("a",{staticClass:"sp-font-semibold sp-text-xs sp-flex sp-items-center sp-inline-block sp-bg-primary sp-px-3 sp-py-2 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path+"_template&id=0#/template"}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}})]),t._v("\n "+t._s(t.txt_18)+"\n ")]):t._e()]),0!=t.shared.page_count?e("div",[e("ul",{staticClass:"subsubsub"},t._l(t.filters,function(s,a){return e("li",{key:a},[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n ("+t._s(s.count)+")\n "),"archived"!=a?e("span",[t._v("|")]):t._e()])}),0),e("p",{staticClass:"search-box"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.txt_2))]),e("span",{staticClass:"sp-relative sp-inline-flex sp-items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"sp-rounded sp-border-solid sp-border sp-border-neutral-15 sp-outline-none",staticStyle:{padding:"6px 10px"},attrs:{id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.loadItems("search")},input:function(s){s.target.composing||(t.search=s.target.value)}}}),t._v(" \n "),t.search.length>0?e("i",{staticClass:"fas fa-times-circle sp-absolute sp-text-neutral-20 sp-right-0 sp-mr-2",attrs:{id:"seedprod-search-close"},on:{click:function(s){return s.preventDefault(),t.clear_search(s)}}}):t._e()]),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.txt_2},on:{click:function(s){return s.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"lpagedt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.filter_bulk(t.bulkactions),"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order,filter:t.filter},on:{pagination:t.goToPage,rowOver:t.rowOver,rowOut:t.rowOut,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback},scopedSlots:t._u([{key:"subscribers",fn:function(s){return[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_subscribers(s.row.id)}}},[t._v(t._s(s.row.subscribers))])]}},{key:"url",fn:function(s){return["trash"!=s.row.post_status?e("a",{attrs:{href:s.row.url,target:"_blank"}},[t._v(t._s(s.row.url))]):e("span")]}},{key:"name",fn:function(s){return[e("span",{staticClass:"sp-text-sm"},[e("a",{staticClass:"sp-font-bold",attrs:{href:"?page="+t.shared.page_path+"_builder&id="+s.row.id+"#/setup/"+s.row.id+"/block-options"}},[t._v(t._s(s.row.name))]),"publish"!=s.row.post_status?e("span",{staticClass:"post-state sp-font-bold"},[t._v(" – "+t._s(s.row.status))]):t._e()]),"trash"!=s.row.post_status?e("div",{staticClass:"row-actions",class:{"sp-invisible":t.show_row!=s.row.id}},[e("span",{staticClass:"setup"},[e("a",{attrs:{href:"?page="+t.shared.page_path+"_builder&id="+s.row.id+"#/setup/"+s.row.id+"/block-options"}},[t._v(t._s(t.txt_19))]),t._v("\n |\n ")]),e("span",{staticClass:"subscribers"},[e("a",{attrs:{href:"?page="+t.shared.page_path+"#/subscribers/"+s.row.id}},[t._v(t._s(t.txt_20))]),t._v("\n |\n ")]),e("span",{staticClass:"publish2"},[e("a",{attrs:{href:t.shared.home_url+"?page_id="+s.row.id,target:"_blank"}},[t._v(t._s(t.txt_6))]),t._v("\n |\n ")]),e("span",{staticClass:"duplicate"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.duplicate(s.row)}}},[t._v(t._s(t.txt_21))]),t._v("\n |\n ")]),e("span",{staticClass:"delete"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archive(s.row.id)}}},[t._v(t._s(t.txt_22))])])]):e("div",{staticClass:"row-actions",class:{"sp-invisible":t.show_row!=s.row.id}},[e("span",{},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchive(s.row.id)}}},[t._v(t._s(t.txt_27))]),t._v("\n |\n ")]),e("span",{staticClass:"delete"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.trash(s.row.id)}}},[t._v(t._s(t.txt_28))])])])]}},{key:"date",fn:function(s){return["publish"==s.row.post_status?e("div",{staticClass:"sp-font-semibold date column-date sp-w-full"},[t._v("\n "+t._s(t.txt_23)+"\n "),e("br"),e("span",{attrs:{title:s.row.posted_at}},[t._v(t._s(s.row.posted_at))])]):t._e(),"draft"==s.row.post_status||"trash"==s.row.post_status?e("div",{staticClass:"sp-font-semibold column-date sp-w-full"},[t._v("\n "+t._s(t.txt_24)+"\n "),e("br"),e("span",{attrs:{title:s.row.modified_at}},[t._v(t._s(s.row.modified_at))])]):t._e()]}}],null,!1,3456503522)})],1):e("div",{staticClass:"sp-bg-neutral-10 sp-flex sp-justify-center sp-flex-col sp-items-center sp-h-64"},[e("div",{staticClass:"sp-font-bold sp-text-xl sp-mb-4"},[t._v(t._s(t.txt_25))]),e("a",{staticClass:"sp-font-semibold sp-text-sm sp-inline-flex sp-items-center sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path+"_template&id=0#/template"}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}})]),t._v("\n "+t._s(t.txt_26)+"\n ")])])])])])])])},f=[],x=e("bd86"),v=e("e814"),w=e.n(v),C=(e("6b54"),e("386d"),e("f499")),y=e.n(C),k=e("323e"),j=e.n(k),O=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{class:{"table-loading":t.loading}},[t.loading?e("div",{staticClass:"table-loader-wrap"},[e("div",{staticClass:"table-loader-center"},[e("div",{staticClass:"table-loader"}),e("div",{staticClass:"table-loader-txt"},[t._v(t._s(t.txt_1)+"...")])])]):t._e(),e("div",{staticClass:"tablenav top"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v(t._s(t.txt_2))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-top"},on:{change:function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.bulkLocal=s.target.multiple?e:e[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.txt_3))]),t._l(t.bulkActions,function(s){return e("option",{domProps:{value:s.key}},[t._v(t._s(s.label))])})],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length&&-1===this.bulkLocal.indexOf("all")},on:{click:function(s){return s.preventDefault(),t.handleBulkAction(s)}}},[t._v("\n\t\t\t\t"+t._s(t.txt_4)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"alignleft actions"},[t._t("filters")],2),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.txt_5))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.goToCustomPage(s)}}}),t._v("\n\t\t\t\t\t\tof\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])]),e("table",{class:t.tableClass},[e("thead",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(s){var e=t.selectAll,a=s.target,n=!!a.checked;if(Array.isArray(e)){var o=null,i=t._i(e,o);a.checked?i<0&&(t.selectAll=e.concat([o])):i>-1&&(t.selectAll=e.slice(0,i).concat(e.slice(i+1)))}else t.selectAll=n}}})]):t._e(),t._l(t.columns,function(s,a){return e("th",{key:a,class:["column",a,{sortable:t.isSortable(s)},{sorted:t.isSorted(a)},{asc:t.isSorted(a)&&"asc"===t.sortOrder},{desc:t.isSorted(a)&&"desc"===t.sortOrder}]},[t.isSortable(s)?e("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.handleSortBy(a)}}},[e("span",[t._v(t._s(s.label))]),e("span",{staticClass:"sorting-indicator"})]):[t._v("\n\t\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t\t")]],2)})],2)]),e("tfoot",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(s){var e=t.selectAll,a=s.target,n=!!a.checked;if(Array.isArray(e)){var o=null,i=t._i(e,o);a.checked?i<0&&(t.selectAll=e.concat([o])):i>-1&&(t.selectAll=e.slice(0,i).concat(e.slice(i+1)))}else t.selectAll=n}}})]):t._e(),t._l(t.columns,function(s,a){return e("th",{key:a,class:["column",a]},[t._v("\n\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t")])})],2)]),e("tbody",[t.rows.length?t._l(t.rows,function(s){return e("tr",{key:s[t.index],class:s["class"],on:{mouseover:function(e){return t.rowOver(s)},mouseleave:function(e){return t.rowOut(s)}}},[t.showCb?e("th",{staticClass:"check-column",attrs:{scope:"row"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.checkedItems,expression:"checkedItems"}],attrs:{type:"checkbox",name:"item[]"},domProps:{value:s[t.index],checked:Array.isArray(t.checkedItems)?t._i(t.checkedItems,s[t.index])>-1:t.checkedItems},on:{change:function(e){var a=t.checkedItems,n=e.target,o=!!n.checked;if(Array.isArray(a)){var i=s[t.index],r=t._i(a,i);n.checked?r<0&&(t.checkedItems=a.concat([i])):r>-1&&(t.checkedItems=a.slice(0,r).concat(a.slice(r+1)))}else t.checkedItems=o}}})]):t._e(),t._l(t.columns,function(a,n){return e("td",{key:n,class:["column",n]},[t._t(n,[t._v(t._s(s[n]))],{row:s}),t.actionColumn===n&&t.hasActions?e("div",{staticClass:"row-actions"},[t._t("row-actions",t._l(t.actions,function(a,n){return"archived"!=t.filter?e("span",{key:n,class:a.key},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionClicked(a.key,s)}}},[t._v(t._s(a.label))]),t.hideActionSeparator(a.key)?t._e():[t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t")]],2):t._e()}),{row:s})],2):t._e()],2)})],2)}):e("tr",[e("td",{attrs:{colspan:t.colspan}},[t._v(t._s(t.txt_6))])])],2)]),e("div",{staticClass:"tablenav bottom"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-bottom"}},[t._v(t._s(t.txt_7))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-bottom"},on:{change:function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.bulkLocal=s.target.multiple?e:e[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.txt_3))]),t._l(t.bulkActions,function(s,a){return e("option",{key:a,domProps:{value:s.key}},[t._v(t._s(s.label))])})],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length},on:{click:function(s){return s.preventDefault(),t.handleBulkAction(s)}}},[t._v("\n\t\t\t\t"+t._s(t.txt_4)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.txt_5))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.goToCustomPage(s)}}}),t._v("\n\t\t\t\t\t\tof\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])])])},P=[],S=(e("ac6a"),e("a4bb")),L=e.n(S),M=(e("c5f6"),{name:"ListTable",props:{filter:{type:String,default:""},columns:{type:Object,required:!0,default:function(){return{}}},rows:{type:Array,required:!0,default:function(){return[]}},index:{type:String,default:"id"},showCb:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},actionColumn:{type:String,default:""},actions:{type:Array,required:!1,default:function(){return[]}},bulkActions:{type:Array,required:!1,default:function(){return[]}},tableClass:{type:String,default:"wp-list-table widefat fixed striped"},notFound:{type:String,default:"No items found."},totalItems:{type:Number,default:0},totalPages:{type:Number,default:1},perPage:{type:Number,default:20},currentPage:{type:Number,default:1},sortBy:{type:String,default:null},sortOrder:{type:String,default:"asc"}},data:function(){return{txt_1:Object(l["a"])("Loading","coming-soon"),txt_2:Object(l["a"])("Select bulk action","coming-soon"),txt_3:Object(l["a"])("Bulk Actions","coming-soon"),txt_4:Object(l["a"])("Apply","coming-soon"),txt_5:Object(l["a"])("items","coming-soon"),txt_6:Object(l["a"])("No items found.","coming-soon"),txt_7:Object(l["a"])("Select bulk action","coming-soon"),txt_8:Object(l["a"])("Select bulk action","coming-soon"),bulkLocal:"-1",checkedItems:[],shared:seedprod_store_admin}},computed:{hasActions:function(){return 0<this.actions.length},hasBulkActions:function(){return this.bulkLocal="-1",0<this.bulkActions.length},itemsTotal:function(){return this.totalItems||this.rows.length},hasPagination:function(){return this.itemsTotal>this.perPage},disableFirst:function(){return 1===this.currentPage||2===this.currentPage},disablePrev:function(){return 1===this.currentPage},disableNext:function(){return this.currentPage===this.totalPages},disableLast:function(){return this.currentPage===this.totalPages||this.currentPage==this.totalPages-1},colspan:function(){var t=L()(this.columns).length;return this.showCb&&(t+=1),t},selectAll:{get:function(){return!!this.rows.length&&(!!this.rows&&this.checkedItems.length==this.rows.length)},set:function(t){var s=[],e=this;t&&this.rows.forEach(function(t){void 0!==t[e.index]?s.push(t[e.index]):s.push(t.id)}),this.checkedItems=s}}},methods:{hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.$emit("rowOver",t)},rowOut:function(t){this.$emit("rowOut",t)},actionClicked:function(t,s){this.$emit("action:click",t,s)},goToPage:function(t){this.$emit("pagination",t)},goToCustomPage:function(t){var s=w()(t.target.value);!isNaN(s)&&0<s&&s<=this.totalPages&&this.$emit("pagination",s)},handleBulkAction:function(){"-1"!==this.bulkLocal&&this.$emit("bulk:click",this.bulkLocal,this.checkedItems)},clear_checked:function(){this.checkedItems=[]},isSortable:function(t){return!(!t.hasOwnProperty("sortable")||!0!==t.sortable)},isSorted:function(t){return t===this.sortBy},handleSortBy:function(t){var s="asc"===this.sortOrder?"desc":"asc";this.$emit("sort",t,s)}}}),T=M,z=Object(u["a"])(T,O,P,!1,null,null,null),B=z.exports,A={name:"Dashboard",components:{ListTable:B},data:function(){return{txt_1:Object(l["a"])("Coming Soon Mode","coming-soon"),txt_2:Object(l["a"])("Search Landing Pages","coming-soon"),txt_3:Object(l["a"])("The Coming Soon Page will be available to search engines if your site is not private.","coming-soon"),txt_4:Object(l["a"])("Set up a Coming Soon Page","coming-soon"),txt_5:Object(l["a"])("Edit Page","coming-soon"),txt_6:Object(l["a"])("Preview","coming-soon"),txt_7:Object(l["a"])("Active","coming-soon"),txt_8:Object(l["a"])("Inactive","coming-soon"),txt_9:Object(l["a"])("Maintenance Mode","coming-soon"),txt_10:Object(l["a"])("The Maintenance Mode Page will notify search engines that the site is unavailable.","coming-soon"),txt_11:Object(l["a"])("Set up a Maintenance Mode Page","coming-soon"),txt_14:Object(l["a"])("404 Page","coming-soon"),txt_15:Object(l["a"])("Replace your default theme 404 page with a custom high converting 404 page.","coming-soon"),txt_16:Object(l["a"])("Set up a 404 Page","coming-soon"),txt_17:Object(l["a"])("Landing Pages","coming-soon"),txt_18:Object(l["a"])("Add New Landing Page","coming-soon"),txt_19:Object(l["a"])("Edit","coming-soon"),txt_20:Object(l["a"])("Subscribers","coming-soon"),txt_21:Object(l["a"])("Duplicate","coming-soon"),txt_22:Object(l["a"])("Trash","coming-soon"),txt_23:Object(l["a"])("Published","coming-soon"),txt_24:Object(l["a"])("Last Modified","coming-soon"),txt_25:Object(l["a"])("You do not have any landing pages yet.","coming-soon"),txt_26:Object(l["a"])("Create New Landing Page","coming-soon"),txt_27:Object(l["a"])("Restore","coming-soon"),txt_28:Object(l["a"])("Delete Permanently","coming-soon"),txt_29:Object(l["a"])("SeedProd Coming Soon Page","coming-soon"),txt_30:Object(l["a"])("SeedProd Maintenance Page","coming-soon"),txt_31:Object(l["a"])("SeedProd 404 Page","coming-soon"),txt_32:Object(l["a"])("Create Optin, Sales, Webinar, Thank You or any type of Landing Page you need.","coming-soon"),txt_33:Object(l["a"])("Login Page","coming-soon"),txt_34:Object(l["a"])("Create a Custom Login Page for your website. Optionally replace the default login page.","coming-soon"),txt_35:Object(l["a"])("Set up a Login Page","coming-soon"),txt_36:Object(l["a"])("SeedProd Login Page","coming-soon"),shared:seedprod_store_admin,show_404_upgrade:!1,show_loginp_upgrade:!1,show_row:!1,show_action:!1,loading:!0,search:"",showcb:!0,totalitems:0,totalpages:0,perpage:10,actioncol:"name",currentpage:1,orderby:"",order:"",filter:"all",filters:{all:{label:Object(l["a"])("All","coming-soon"),count:0},published:{label:Object(l["a"])("Published","coming-soon"),count:0},drafts:{label:Object(l["a"])("Drafts","coming-soon"),count:0},archived:{label:Object(l["a"])("Trash","coming-soon"),count:0}},bulkactions:[{key:"archive_selected_lpages",label:Object(l["a"])("Move To Trash","coming-soon")},{key:"unarchive_selected_lpages",label:Object(l["a"])("Restore","coming-soon")},{key:"delete_all_archived_lpages",label:Object(l["a"])("Delete Permanently","coming-soon")}],columns:{name:{label:Object(l["a"])("Name","coming-soon"),sortable:!0},url:{label:Object(l["a"])("URL","coming-soon"),sortable:!1},date:{label:Object(l["a"])("Date","coming-soon"),sortable:!0}},actions:[],rows:[{name:Object(l["a"])("Loading","coming-soon")+" ...",status:"",type:"",subscribers:"",entries:"",active:""}]}},methods:(a={show_actions:function(t){this.show_action=t},create_edit_page:function(t){var s=!1;"cs"==t&&(s=this.shared.csp_id),"mm"==t&&(s=this.shared.mmp_id),"p404"==t&&(s=this.shared.p404_id),"loginp"==t&&(s=this.shared.loginp_id),s?location.href="?page="+this.shared.page_path+"_builder&id="+s+"#/setup/"+s+"/block-options":("cs"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=cs#/template"),"mm"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=mm#/template"),"p404"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=p404#/template"),"loginp"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=loginp#/template"))},enable_mode:function(t){var s=t;j.a.start(),1==t&&!0===this.shared.settings.enable_maintenance_mode&&(this.shared.settings.enable_maintenance_mode=!1),2==t&&!0===this.shared.settings.enable_coming_soon_mode&&(this.shared.settings.enable_coming_soon_mode=!1);var e=p.a.stringify({settings:y()(this.shared.settings)}),a="admin-ajax.php?action="+this.shared.page_path+"_save_settings&_wpnonce="+seedprod_nonce;this.axios.post(a,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){j.a.done(),1!=s&&2!=s||location.reload()})},filter_bulk:function(t){var s=[];return s="archived"==this.filter?t.slice(1):t.slice(0,1),s},hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.show_row=t.id},rowOut:function(t){this.show_row=!1},enable_disable:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_enable_disable_lpage_ajax_url+"&id="+t.id+"&current_state="+t.active).then(function(e){s.loading=!1,"enabled"==e.data.status&&(t.active=!0,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Page Enabled",toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3})),"disabled"==e.data.status&&(t.active=!1,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Page Disabled",toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}))})},status_action:function(t,s){"needs_setup"==s&&(location.href="?page="+this.shared.page_path+"_builder&id="+t+"#/setup/"+t)},goto_dashboard:function(){this.$router.push({name:"dashboard"})},clear_search:function(){this.search,this.loadItems()},archive:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_archive_selected_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){s.loading=!1,s.$refs.lpagedt.clear_checked(),t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Moved to Trash.","coming-soon"),toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.loadItems())})},unarchive:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_unarchive_selected_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){s.loading=!1,s.$refs.lpagedt.clear_checked(),t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Restored.","coming-soon"),customClass:"sp-toast-success",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),s.loadItems())})},trash:function(t){var s=this,e=this;this.$swal({title:Object(l["a"])("Are you sure?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:Object(l["a"])("Yes, empty trash!","coming-soon")}).then(function(a){a.value&&(e.loading=!0,s.axios.get(seedprod_delete_archived_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){e.loading=!1,e.$refs.lpagedt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Deleted!","coming-soon"),toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))})},duplicate:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_duplicate_lpage_url+"&id="+t.id).then(function(t){s.loading=!1,t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Page Duplicated","coming-soon"),toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),s.orderby="",s.loadItems())})},loadItems:function(t){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";var s=this;s.loading=!0,j.a.start(),this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_lpage_datatable&_wpnonce="+seedprod_nonce+"&current_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+this.search).then(function(t){s.loading=!1,j.a.done(),s.rows=t.data.rows,s.totalitems=w()(t.data.totalitems),s.totalpages=w()(t.data.totalpages),s.currentpage=w()(t.data.currentpage),null!=t.data.views&&(s.filters.all.count=w()(t.data.views.all),s.filters.archived.count=w()(t.data.views.archived),s.filters.published.count=w()(t.data.views.published),s.filters.drafts.count=w()(t.data.views.drafts))})},filter_table:function(t){this.filter=t,0==this.filters[t].count?this.rows=[]:this.loadItems()}},Object(x["a"])(a,"show_actions",function(t){this.show_action=t}),Object(x["a"])(a,"goto_subscribers",function(t){this.$router.push({name:"subscribers",params:{id:t}})}),Object(x["a"])(a,"goToPage",function(t){this.currentpage=t,this.loadItems()}),Object(x["a"])(a,"actionClicked",function(t,s){this.onActionClick(t,s)}),Object(x["a"])(a,"onActionClick",function(t,s){"duplicate"==t&&this.duplicate(s),"delete"==t&&this.archive(s.id),"setup"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+s.id+"#/setup/"+s.id+"/block-options"),"publish2"==t&&window.open(this.shared.home_url+"?p="+s.id+"&preview=true","_blank"),"subscribers"==t&&this.$router.push({name:"subscribers",params:{id:s.id}})}),Object(x["a"])(a,"onBulkAction",function(t,s){"archive_selected_lpages"==t&&this.archive(s),"unarchive_selected_lpages"==t&&this.unarchive(s),"delete_all_archived_lpages"==t&&this.trash(s)}),Object(x["a"])(a,"sortCallback",function(t,s){this.orderby=t,this.order=s,this.loadItems()}),Object(x["a"])(a,"setWithExpiry",function(t,s,e){var a=new Date,n={value:s,expiry:a.getTime()+e};localStorage.setItem(t,y()(n))}),Object(x["a"])(a,"getWithExpiry",function(t){var s=localStorage.getItem(t);if(!s)return null;var e=JSON.parse(s),a=new Date;return a.getTime()>e.expiry?(localStorage.removeItem(t),null):e.value}),a),created:function(){this.loadItems()}},$=A,U=Object(u["a"])($,b,f,!1,null,null,null),D=U.exports,E=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-grid sp-grid-cols-1 lg:sp-grid-cols-2 xl:sp-grid-cols-3 sp-gap-6 sp-mt-10 "},t._l(t.plugins,function(s,a){return e("div",{key:a,staticClass:"sp-w-full sp-bg-white sp-border-neutral-15 sp-border sp-border-solid sp-py-10 sp-px-8 sp-flex sp-justify-between sp-flex-col"},[e("div",{staticClass:"seedprod-plugin-recommendations-block sp-flex sp-flex-col"},[e("div",{staticClass:"sp-flex sp-items-center sp-flex-col"},[e("div",[e("img",{staticClass:"sp-w-16",attrs:{src:s.icon}})]),e("div",{staticClass:"sp-text-center sp-text-neutral-80"},[e("h3",{staticClass:"sp-text-neutral-80 sp-text-xl"},[t._v("\n "+t._s(s.name)+"\n ")]),e("p",{staticClass:"sp-text-sm",domProps:{innerHTML:t._s(s.desc)}})])])]),e("div",[t.shared.doing_ajax==a||"all"==t.shared.doing_ajax?e("div",[t._m(0,!0)]):e("div",{staticClass:"sp-flex sp-flex-col sp-items-center"},[!0===s.is_pro?e("div",[t._v("\n "+t._s(t.plugins["wpforms-pro"])+"\n "),e("strong",[t._v(t._s(t.txt_1)+":")]),t._v(" "+t._s(t.txt_2)+"\n ")]):e("div",{staticClass:"sp-flex sp-flex-col sp-items-center"},[e("div",[e("strong",[t._v(t._s(t.txt_1)+":")]),t._v("\n "+t._s(s.status)+"\n ")]),e("button",{staticClass:"sp-mt-1 sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-base hover:sp-bg-primary-lighter sp-cursor-pointer sp-font-semibold",on:{click:function(s){return t.plugin_action(a)}}},[t._v("\n "+t._s(t.plugin_btn_txt(s))+"\n ")])])])])])}),0)])},H=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticStyle:{"text-align":"center",flex:"1"}},[e("i",{staticClass:"fas fa-spinner fa-spin"})])}],I={name:"GrowthTools",components:{},data:function(){return{txt_1:Object(l["a"])("Status","coming-soon"),txt_2:Object(l["a"])("PRO Version installed","coming-soon"),all_plugins:{},plugins:{rafflepress:{slug_base:"rafflepress",slug:"rafflepress/rafflepress.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-rp.png",name:"RafflePress",desc:"Turn your visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with powerful viral giveaways & contests.",url:"https://downloads.wordpress.org/plugin/rafflepress.zip",status:"",status_code:"",is_pro:!1},wpforms:{slug_base:"wpforms-lite",slug:"wpforms-lite/wpforms.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-wpforms.png",name:"WPForms",desc:"The most beginner friendly drag & drop WordPress forms plugin allowing you to create beautifdivcontact forms, subscription forms, payment forms, and more in minutes, not hours!",url:"https://downloads.wordpress.org/plugin/wpforms-lite.zip",status:"",status_code:"",is_pro:!1},optinmonster:{slug_base:"optinmonster",slug:"optinmonster/optin-monster-wp-api.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-om.png",name:"OptinMonster",desc:"Our high-converting optin forms like Exit-Intent® popups, Fullscreen Welcome Mats, and Scroll boxes help you dramatically boost conversions and get more email subscribers.",url:"https://downloads.wordpress.org/plugin/optinmonster.zip",status:"",status_code:"",is_pro:!1},wpmailsmtp:{slug_base:"wp-mail-smtp",slug:"wp-mail-smtp/wp_mail_smtp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-smtp.png",name:"WP Mail SMTP",desc:"SMTP (Simple Mail Transfer Protocol) is an industry standard for sending emails. SMTP helps increase email deliverability by using proper authentication.",url:"https://downloads.wordpress.org/plugin/wp-mail-smtp.zip",status:"",status_code:"",is_pro:!1},monsterinsights:{slug_base:"google-analytics-for-wordpress",slug:"google-analytics-for-wordpress/googleanalytics.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-mi.png",name:"MonsterInsights",desc:"MonsterInsights makes it “effortless” to properly connect your WordPress site with Google Analytics, so you can start making data-driven decisions to grow your business.",url:"https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip",status:"",status_code:"",is_pro:!1},trustpulse:{slug_base:"trustpulse-api",slug:"trustpulse-api/trustpulse.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-trustpulse.png",name:"TrustPulse",desc:"TrustPulse uses FOMO (Fear of Missing Out) to boost your sales and conversions with social proof notifications. Use it to boost sales on your Woocommerce store, increase signups on your membership site, get more email subscribers, and more.",url:"https://downloads.wordpress.org/plugin/coming-soon.zip",status:"",status_code:"",is_pro:!1},"all-in-one":{slug_base:"all-in-one-seo-pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-aioseo.png",name:"All in One SEO",desc:"The original WordPress SEO plugin. Improve your WordPress SEO rankings and traffic with our comprehensive SEO tools and smart SEO optimizations.",url:"https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip",status:"",status_code:"",is_pro:!1},exactmetrics:{slug_base:"google-analytics-dashboard-for-wp",slug:"google-analytics-dashboard-for-wp/gadwp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-exactmetrics.png",name:"ExactMetrics",desc:"The ExactMetrics Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.",url:"https://downloads.wordpress.org/plugin/google-analytics-dashboard-for-wp.zip",status:"",status_code:"",is_pro:!1},instagramfeed:{slug_base:"instagram-feed",slug:"instagram-feed/instagram-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-social-photo-feed.png",name:"Smash Balloon Social Photo Feed",desc:"Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.",url:"https://downloads.wordpress.org/plugin/instagram-feed.zip",status:"",status_code:"",is_pro:!1},customfacebookfeed:{slug_base:"custom-facebook-feed",slug:"custom-facebook-feed/custom-facebook-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-custom-facebook-feed.png",name:"Smash Balloon Social Post Feed",desc:"Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.",url:"https://downloads.wordpress.org/plugin/custom-facebook-feed.zip",status:"",status_code:"",is_pro:!1},customtwitterfeeds:{slug_base:"custom-twitter-feeds",slug:"custom-twitter-feeds/custom-twitter-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-custom-twitter-feeds.png",name:"Smash Balloon Twitter Feeds",desc:"Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.",url:"https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip",status:"",status_code:"",is_pro:!1},feedsforyoutube:{slug_base:"feeds-for-youtube",slug:"feeds-for-youtube/youtube-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-feeds-for-youtube.png",name:"Smash Balloon YouTube Feeds",desc:"Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.",url:"https://downloads.wordpress.org/plugin/feeds-for-youtube.zip",status:"",status_code:"",is_pro:!1},pushengage:{slug_base:"pushengage",slug:"pushengage/main.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-pushengage.png",name:"PushEngage",desc:"Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.",url:"https://downloads.wordpress.org/plugin/pushengage.zip",status:"",status_code:"",is_pro:!1},sugarcalendar:{slug_base:"sugar-calendar-lite",slug:"sugar-calendar-lite/sugar-calendar-lite.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-sugarcalendar.png",name:"Sugar Calendar",desc:"A simple & powerful event calendar plugin for WordPress that comes with all the event management features including payments, scheduling, timezones, ticketing, recurring events, and more.",url:"https://downloads.wordpress.org/plugin/sugar-calendar-lite.zip",status:"",status_code:"",is_pro:!1},wpsimplepay:{slug_base:"stripe",slug:"stripe/stripe-checkout.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-stripe.png",name:"WP Simple Pay",desc:"The #1 Stripe payments plugin for WordPress. Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required.",url:"https://downloads.wordpress.org/plugin/stripe.zip",status:"",status_code:"",is_pro:!1},easydigitaldownloads:{slug_base:"easy-digital-downloads",slug:"easy-digital-downloads/easy-digital-downloads.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-easydigitaldownloads.png",name:"Easy Digital Downloads",desc:"The best WordPress eCommerce plugin for selling digital downloads. Start selling eBooks, software, music, digital art, and more within minutes. Accept payments, manage subscriptions, advanced access control, and more.",url:"https://downloads.wordpress.org/plugin/easy-digital-downloads.zip",status:"",status_code:"",is_pro:!1},searchwp:{slug_base:"searchwp",slug:"searchwp/index.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-searchwp.svg",name:"SearchWP",desc:"The most advanced WordPress search plugin. Customize your WordPress search algorithm, reorder search results, track search metrics, and everything you need to leverage search to grow your business.",url:"https://searchwp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0},affiliatewp:{slug_base:"affiliate-wp",slug:"affiliate-wp/affiliate-wp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-affiliatewp.png",name:"AffiliateWP",desc:"The #1 affiliate management plugin for WordPress. Easily create an affiliate program for your eCommerce store or membership site within minutes and start growing your sales with the power of referral marketing.",url:"https://affiliatewp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0}},shared:seedprod_store_admin}},methods:{plugin_action:function(t){var s=this;this.doing_ajax=!0;var e="",a="",n=t;s.shared.doing_ajax=t;var o="";0===this.plugins[t].status_code&&(e=seedprod_get_install_addon_url,o=p.a.stringify({plugin:this.plugins[t].url,type:"plugin"}),a="install"),1===this.plugins[t].status_code&&(e=seedprod_deactivate_addon_url,o=p.a.stringify({plugin:this.plugins[t].slug,type:"plugin"}),a="deactivate"),2===this.plugins[t].status_code&&(e=seedprod_activate_addon_url,o=p.a.stringify({plugin:this.plugins[t].slug,type:"plugin"}),a="activate"),"install"===a&&this.plugins[t].redirect_to_installation_page?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Opening plugin installation page...",toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),window.open(this.plugins[t].url+"?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=seedprod&utm_content=growth-tools","_blank"),s.shared.doing_ajax=!1):this.axios.post(e,o,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(e){if(s.shared.doing_ajax=!1,"install"==a)if(e.data.error){s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.error,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3});var o=p.a.stringify({plugin:s.plugins[n].slug_base});s.axios.post(seedprod_plugin_nonce_url,o,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data&&window.open("update.php?action=install-plugin&plugin="+s.plugins[n].slug_base+"&_wpnonce="+t.data,"_blank")})}else s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Plugin Installed, click Activate",toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Inactive",s.plugins[t].status_code=2,s.$forceUpdate();"activate"==a&&(e.data.success?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:e.data.data,toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Active",s.plugins[t].status_code=1,s.$forceUpdate()):s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.data,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})),"deactivate"==a&&(e.data.success?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:e.data.data,toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Inactive",s.plugins[t].status_code=2,s.$forceUpdate()):s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.data,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3}))}).catch(function(t){s.shared.doing_ajax=!1,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:t,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3})})},plugin_btn_txt:function(t){var s="";return"Not Installed"==t.status&&(s=Object(l["a"])("Install","coming-soon")),"Active"==t.status&&(s=Object(l["a"])("Deactivate","coming-soon")),"Inactive"==t.status&&(s=Object(l["a"])("Activate","coming-soon")),s}},mounted:function(){var t=this;t.shared.doing_ajax="all",this.axios.get(seedprod_get_plugins_list_url).then(function(s){if(t.shared.doing_ajax=!1,s.data)for(var e in s.data)void 0!==t.plugins[e]&&("wpforms"==e&&0!==s.data["wpforms-pro"].status&&(t.plugins[e].is_pro=!0),"rafflepress"==e&&0!==s.data["rafflepress-pro"].status&&(t.plugins[e].is_pro=!0),"monsterinsights"==e&&0!==s.data["monsterinsights-pro"].status&&(t.plugins[e].is_pro=!0),"wpmailsmtp"==e&&0!==s.data["wpmailsmtp-pro"].status&&(t.plugins[e].is_pro=!0),"exactmetrics"==e&&0!==s.data["exactmetrics-pro"].status&&(t.plugins[e].is_pro=!0),"instagramfeed"==e&&0!==s.data["instagramfeed-pro"].status&&(t.plugins[e].is_pro=!0),"customfacebookfeed"==e&&0!==s.data["customfacebookfeed-pro"].status&&(t.plugins[e].is_pro=!0),"customtwitterfeeds"==e&&0!==s.data["customtwitterfeeds-pro"].status&&(t.plugins[e].is_pro=!0),"feedsforyoutube"==e&&0!==s.data["feedsforyoutube-pro"].status&&(t.plugins[e].is_pro=!0),"all-in-one"==e&&0!==s.data["all-in-one-pro"].status&&(t.plugins[e].is_pro=!0),"sugarcalendar"==e&&0!==s.data["sugarcalendar-pro"].status&&(t.plugins[e].is_pro=!0),"wpsimplepay"==e&&0!==s.data["wpsimplepay-pro"].status&&(t.plugins[e].is_pro=!0),t.plugins[e].status=s.data[e].label,t.plugins[e].status_code=s.data[e].status)}).catch(function(s){t.shared.doing_ajax=!1,t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})})},created:function(){}},W=I,F=Object(u["a"])(W,E,H,!1,null,null,null),N=F.exports,R=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-absolute sp-z-10 sp-w-full sp-flex sp-justify-center"},[e("LiteCTASubscribers")],1),e("div",{staticStyle:{filter:"blur(3px)"},attrs:{id:"seedprod-users"}},[e("div",{staticClass:"md:sp-flex sp-mt-10"},[e("div",{staticClass:"sp-w-full md:sp-w-1/2 sp-flex sp-items-center"},[e("h1",{staticClass:"sp-text-neutral sp-font-bold sp-text-2xl sp-m-0"},[t._v(t._s(t.txt_1))])]),0!=t.shared.subscriber_count?e("div",{staticClass:"sp-w-full md:sp-w-1/2 sp-flex sp-items-center sp-justify-end"},[e("a",{staticClass:"sp-inline-block sp-bg-neutral-15 hover:sp-bg-neutral-20 sp-h-40px sp-px-4 sp-rounded sp-leading-none sp-text-neutral-80 sp-no-underline sp-text-sm sp-cursor-pointer sp-font-semibold sp-flex sp-items-center sp-mr-2",attrs:{href:"#",target:"_blank"},on:{click:function(s){return s.preventDefault(),t.export_subscribers(s)}}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n "+t._s(t.txt_2)+"\n ")]),e("div",{staticClass:"sp-relative"},[e("div",{staticClass:"sp-bg-white sp-border sp-border-neutral-20 sp-border-solid sp-rounded-sm sp-h-40px sp-w-275 sp-cursor-pointer"},[e("span",{staticClass:"sp-flex sp-items-center sp-h-40px sp-justify-between sp-text-neutral-80 sp-px-3 sp-text-base sp-truncate",on:{click:function(s){return s.preventDefault(),t.toggle_lpage_list(s)}}},[t._v("\n "+t._s(t.lpage_name)+"\n "),e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7 10l5 5 5-5z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])]),t.show_lpage_list?e("div",{staticClass:"sp-absolute sp-bg-white sp-border sp-border-neutral-20 sp-border-solid sp-rounded-sm sp-z-20 sp-w-275 sp-h-275 sp-overflow-y-auto sp-shadow-lg sp-px-1 sp-py-1"},[e("ul",{staticClass:"sp-m-0"},[0==t.lpage_list.length&&0!=t.shared.page_count?e("li",{staticClass:"sp-m-0 sp-py-1"},[e("span",{staticClass:"sp-px-2 sp-text-neutral-80 sp-text-sm sp-font-bold"},[t._v("\n "+t._s(t.txt_3)+"\n "),e("i",{staticClass:"fas fa-spinner fa-spin"})])]):t._e(),e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(0,0,"All Pages")}}},[t._v(t._s(t.txt_4))])]),""!=t.shared.csp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.csp_id,t.shared.csp_uuid,"Coming Soon Page")}}},[t._v(t._s(t.txt_5))])]):t._e(),""!=t.shared.mmp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.mmp_id,t.shared.mmp_uuid,"Maintenance Mode Page")}}},[t._v(t._s(t.txt_6))])]):t._e(),""!=t.shared.loginp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.loginp_id,t.shared.loginp_uuid,"Login Page")}}},[t._v(t._s(t.txt_13))])]):t._e(),""!=t.shared.p404_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.p404_id,t.shared.p404_uuid,"404 Page")}}},[t._v(t._s(t.txt_7))])]):t._e(),0!=t.lpage_list.length?e("hr",{staticClass:"sp-border sp-border-neutral-20 sp-border-b-0"}):t._e(),0!=t.lpage_list.length?e("li",{staticClass:"sp-m-0 sp-py-1"},[e("span",{staticClass:"sp-px-2 sp-text-neutral-40 sp-font-bold sp-uppercase sp-tracking-wide sp-text-12px"},[t._v(t._s(t.txt_8))])]):t._e(),t._l(t.lpage_list,function(s,a){return e("li",{key:a,staticClass:"sp-m-0"},[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-1 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.load_lpage_users(s.id,s.uuid,s.name)}}},[t._v(t._s(s.name))])])})],2)]):t._e()]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.chart_timeframe,expression:"chart_timeframe"}],staticClass:"sp-form-select sp-h-40px sp-border sp-border-neutral-20 sp-border-solid sp-ml-2",on:{change:[function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.chart_timeframe=s.target.multiple?e:e[0]},t.loadItems]}},[e("option",{attrs:{value:"7"}},[t._v("7 "+t._s(t.txt_9))]),e("option",{attrs:{value:"30"}},[t._v("30 "+t._s(t.txt_9))])])]):t._e()]),0!=t.shared.subscriber_count?e("div",[e("div",{staticClass:"sp-border sp-border-neutral-20 sp-border-solid sp-mt-5 sp-mb-3"},[e("GChart",{attrs:{type:"AreaChart",data:t.chartData,options:t.chartOptions}})],1),e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{staticClass:"clearfix",attrs:{id:"post-body-content"}},[e("ul",{staticClass:"subsubsub"},t._l(t.filters,function(s,a){return e("li",{key:a},[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n ("+t._s(s.count)+")\n "),"invalid"!=a?e("span",[t._v("|")]):t._e()])}),0),e("p",{staticClass:"search-box sp-hidden"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.txt_12))]),e("span",{staticClass:"sp-relative sp-inline-flex sp-items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"sp-rounded sp-border-solid sp-border sp-border-neutral-15 sp-outline-none",staticStyle:{padding:"6px 10px"},attrs:{id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.loadItems("search")},input:function(s){s.target.composing||(t.search=s.target.value)}}}),t._v(" \n "),t.search.length>0?e("i",{staticClass:"fas fa-times-circle sp-absolute sp-text-neutral-20 sp-right-0 sp-mr-2",attrs:{id:"seedprod-search-close"},on:{click:function(s){return s.preventDefault(),t.clear_search(s)}}}):t._e()]),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.txt_12},on:{click:function(s){return s.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"subscribersdt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.bulkactions,"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback}})],1)]),e("br",{staticClass:"clear"})])]):e("div",{staticClass:"sp-mt-6 sp-bg-neutral-10 sp-flex sp-justify-center sp-flex-col sp-items-center sp-h-64"},[e("div",{staticClass:"sp-font-bold sp-text-xl sp-mb-4"},[t._v(t._s(t.txt_10))]),e("a",{staticClass:"sp-font-semibold sp-text-sm sp-inline-flex sp-items-center sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path}},[t._v(t._s(t.txt_11))])])])])},V=[],G=e("a745"),Y=e.n(G),q=e("b132"),K=e("cb43"),J=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-mt-6 sp-bg-white sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-px-10 sp-py-10 sp-text-center",staticStyle:{width:"650px"}},[e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),e("h1",{staticClass:"sp-mt-4 sp-mb-8 sp-leading-tight sp-text-34px sp-font-bold sp-text-neutral"},[t._v("\n\n Start Collecting Emails with SeedProd Pro\n ")]),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n "+t._s(t.txt_995)+"\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_996))])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9910))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9911))])])])]),e("a",{staticClass:"sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginsubscriberpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v(" Upgrade to SeedProd PRO Now\n ")])])])])},Q=[],X={name:"LiteCTASubscribers",data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Filter by Page","coming-soon"),txt_996:Object(l["a"])("Export to a CSV File","coming-soon"),txt_997:Object(l["a"])("Premium Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Page Access Controls","coming-soon"),txt_9910:Object(l["a"])("Subscribers Over Time","coming-soon"),txt_9911:Object(l["a"])("See Name and Emails","coming-soon"),txt_9912:Object(l["a"])("Email Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss:function(){var t=this,s=p.a.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},Z=X,tt=Object(u["a"])(Z,J,Q,!1,null,null,null),st=tt.exports;window.lodash=_.noConflict();var et={name:"Subscribers",mixins:[q["a"]],components:{ListTable:B,GChart:K["GChart"],LiteCTASubscribers:st},data:function(){var t;return t={txt_1:Object(l["a"])("Subscribers Overview","coming-soon"),txt_2:Object(l["a"])("Export to CSV","coming-soon"),txt_3:Object(l["a"])("Loading","coming-soon"),txt_4:Object(l["a"])("All Pages","coming-soon"),txt_5:Object(l["a"])("Coming Soon Page","coming-soon"),txt_6:Object(l["a"])("Maintenance Mode Page","coming-soon"),txt_7:Object(l["a"])("404 Page","coming-soon"),txt_8:Object(l["a"])("Landing Pages","coming-soon"),txt_9:Object(l["a"])("Days","coming-soon"),chart_timeframe:7,txt_10:Object(l["a"])("You do not have any subscribers yet.","coming-soon"),txt_11:Object(l["a"])("Go to Pages","coming-soon"),txt_12:Object(l["a"])("Search Emails","coming-soon"),txt_13:Object(l["a"])("Login Page","coming-soon")},Object(x["a"])(t,"chart_timeframe",7),Object(x["a"])(t,"chartData",[]),Object(x["a"])(t,"chartOptions",{chart:{title:"Subsribers Overview",subtitle:"Subscribers"},colors:["#DD4A1F"]}),Object(x["a"])(t,"enable_confirmation_email",!1),Object(x["a"])(t,"show_lpage_list",!1),Object(x["a"])(t,"shared",seedprod_store_admin),Object(x["a"])(t,"lpage_name","All Pages"),Object(x["a"])(t,"show_action",!1),Object(x["a"])(t,"lpage_uuid",""),Object(x["a"])(t,"lpage_id",this.$route.params.id),Object(x["a"])(t,"loading",!0),Object(x["a"])(t,"search",""),Object(x["a"])(t,"showcb",!0),Object(x["a"])(t,"totalitems",0),Object(x["a"])(t,"totalpages",0),Object(x["a"])(t,"perpage",100),Object(x["a"])(t,"actioncol","email"),Object(x["a"])(t,"currentpage",1),Object(x["a"])(t,"orderby",""),Object(x["a"])(t,"order",""),Object(x["a"])(t,"filter","all"),Object(x["a"])(t,"seedprod_remote_api",seedprod_remote_api),Object(x["a"])(t,"filters",{}),Object(x["a"])(t,"bulkactions",[{key:"delete_subscribers",label:"Delete Subscribers"}]),Object(x["a"])(t,"columns",{email:{label:Object(l["a"])("Email","coming-soon"),sortable:!1},full_name:{label:Object(l["a"])("Name","coming-soon"),sortable:!1},created_at:{label:Object(l["a"])("Created","coming-soon"),sortable:!1}}),Object(x["a"])(t,"actions",[{key:"delete",label:Object(l["a"])("Delete","coming-soon")}]),Object(x["a"])(t,"lpage_list",[]),Object(x["a"])(t,"rows",[{name:Object(l["a"])("Loading","coming-soon")+" ...",status:"",type:"",subscribers:"",entries:"",active:""}]),t},methods:{load_lpages:function(){var t=this;this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_get_lpage_list&_wpnonce="+seedprod_nonce).then(function(s){s.data&&(t.lpage_list=s.data,lodash.each(t.lpage_list,function(s,e){s.id==t.$route.params.id&&""==t.lpage_uuid&&(t.lpage_uuid=s.uuid,t.lpage_name=s.name,t.load_lpage_users(s.id,s.uuid,s.name,!1))}))})},load_lpage_users:function(t,s,e){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.show_lpage_list=!1,this.lpage_id=t,this.lpage_uuid=s,this.lpage_name=e,a?this.$router.push({name:"subscribers",params:{id:t}}):this.loadItems()},clear_search:function(){this.search,this.loadItems()},toggle_lpage_list:function(){!1===this.show_lpage_list&&this.load_lpages(),this.show_lpage_list=!this.show_lpage_list},trash:function(t){var s=this,e=this,a="";Y()(t)&&(a="s"),this.$swal({title:Object(l["a"])("Are you sure?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:"Yes, delete user"+a+"!"}).then(function(a){if(a.value){e.loading=!0;var n=seedprod_delete_subscribers_url,o=p.a.stringify({items:t,api_token:e.shared.api_token});s.axios.post(n,o,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){e.loading=!1,e.$refs.subscribersdt.clear_checked(),(0<t.data||1==t.data.success)&&(e.$swal({imageUrl:e.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Subscribers Deleted","coming-soon"),toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}).catch(function(t){j.a.done(),console.log(t),e.shared.doing_ajax=!1,e.$swal({imageUrl:e.shared.plugin_path+"public/svg/error-24px-white.svg",text:t.response.data.message,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:5e3})})}})},export_subscribers:function(){location.href="admin.php?page="+this.shared.page_path+"&action="+this.shared.page_path+"_export_subscribers&id="+this.lpage_id+"&page_uuid="+this.lpage_uuid+"&_wpnonce="+seedprod_nonce,this.$swal({imageUrl:this.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Exported Started","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})},loadItems:function(t,s){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";seedprod_remote_api;var e=this;e.loading=!0,j.a.start(),this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_subscribers_datatable&_wpnonce="+seedprod_nonce+"&current_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+this.search+"&id="+this.lpage_uuid+"&interval="+this.chart_timeframe).then(function(t){e.loading=!1,j.a.done(),t.data.lpage_name&&(e.lpage_name=t.data.lpage_name),"all"==e.filter&&0==e.shared.subscriber_count?(e.shared.subscriber_count=t.data.subscribers.total,e.axios.get(seedprod_update_subscriber_count)):e.shared.subscriber_count=1,e.rows=t.data.rows,e.totalitems=w()(t.data.totalitems),e.totalpages=w()(t.data.totalpages),e.currentpage=w()(t.data.currentpage),e.chartData=t.data.recent_subscribers})},goToPage:function(t){this.currentpage=t,this.loadItems()},onActionClick:function(t,s){"delete"==t&&this.trash(s.id)},onBulkAction:function(t,s){"delete_subscribers"==t&&this.trash(s)},sortCallback:function(t,s){this.orderby=t,this.order=s,this.loadItems()}},created:function(){0==this.$route.params.id&&this.loadItems(),this.load_lpages()},watch:{$route:function(t,s){this.filter="all",this.loadItems("",t.params.id)}}},at=et,nt=Object(u["a"])(at,R,V,!1,null,null,null),ot=nt.exports,it=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{attrs:{id:"seedprod-settings"}},[e("router-view",{attrs:{name:"main"}})],1)])},rt=[],pt={name:"Settings",data:function(){return{txt_1:Object(l["a"])("General","coming-soon"),txt_2:Object(l["a"])("Emails","coming-soon"),txt_3:Object(l["a"])("Integrations","coming-soon"),shared:seedprod_store_admin}},created:function(){},methods:{}},lt=pt,ct=Object(u["a"])(lt,it,rt,!1,null,null,null),dt=ct.exports,ut=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("table",{staticClass:"form-table sp-text-neutral-80"},[e("tbody",[e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_1))]),"seedprod_pro"==t.shared.page_path?e("p",[t._v("\n\t\t\t\t\t\t"+t._s(t.txt_2)+"\n\t\t\t\t\t")]):t._e(),"seedprod_lite"==t.shared.page_path?e("p",[e("span",{domProps:{innerHTML:t._s(t.txt_3)}}),e("img",{staticClass:"emoji",attrs:{draggable:"false",alt:"🙂",src:"https://s.w.org/images/core/emoji/11.2.0/svg/1f642.svg"}})]):t._e(),"seedprod_lite"==t.shared.page_path?e("p",{staticClass:"sp-mt-2",domProps:{innerHTML:t._s(t.txt_4)}}):t._e(),"seedprod_lite"==t.shared.page_path?e("p",{staticStyle:{"margin-top":"12px"},domProps:{innerHTML:t._s(t.txt_5)}}):t._e()])]),e("tr",{staticClass:"seedprod-settings-form sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80",domProps:{innerHTML:t._s(t.txt_6)}})]),e("td",[e("form",{staticClass:"form-inline"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.api_key,expression:"shared.settings_page_meta.api_key"}],staticClass:"sp-form-input sp-w-64 sp-m-0",staticStyle:{"margin-bottom":"5px"},attrs:{type:"password",autocomplete:"off",placeholder:t.txt_7},domProps:{value:t.shared.settings_page_meta.api_key},on:{input:function(s){s.target.composing||t.$set(t.shared.settings_page_meta,"api_key",s.target.value)}}}),e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-primary sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-white sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button},on:{click:function(s){return s.preventDefault(),t.save_api_key(s)}}},[t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),t.shared.license_name?e("span",[t._v(t._s(t.txt_8))]):e("span",[t._v(t._s(t.txt_9))])]),t.shared.license_name&&"seedprod_pro"==t.shared.page_path?e("span",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-neutral-80 sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-neutral-15 sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button},on:{click:function(s){return s.preventDefault(),t.deactivate_api_key(s)}}},[t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),e("span",[t._v(t._s(t.txt_10))])])]):t._e(),t._v("\n\t\t\t\t\t\t \n\t\t\t\t\t\t"),"seedprod_lite"==t.shared.page_path&&t.show_unlock?e("span",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-neutral-80 sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-neutral-15 sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button},on:{click:t.start_free_to_pro_upgrade}},[t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.txt_11)+"\n\t\t\t\t\t\t\t")])]):t._e()]),t.shared.license_name?e("div",{staticClass:"sp-text-neutral-80",staticStyle:{"margin-top":"2px"},domProps:{innerHTML:t._s(t.txt_12)}}):t._e()])]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_15))])])]),"seedprod_lite"!=t.shared.page_path?e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"},[t._v(t._s(t.txt_14))])]),e("td",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.app_settings.facebook_g_app_id,expression:"shared.app_settings.facebook_g_app_id"}],staticClass:"sp-form-input sp-w-64 sp-m-0",staticStyle:{"margin-bottom":"5px"},attrs:{type:"text",autocomplete:"off",placeholder:t.txt_16},domProps:{value:t.shared.app_settings.facebook_g_app_id},on:{input:function(s){s.target.composing||t.$set(t.shared.app_settings,"facebook_g_app_id",s.target.value)}}})])]):t._e(),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"},[t._v(t._s(t.txt_18))])]),e("td",[e("toggle-button",{staticStyle:{"margin-bottom":"0"},attrs:{width:40,sync:!0},model:{value:t.shared.app_settings.disable_seedprod_button,callback:function(s){t.$set(t.shared.app_settings,"disable_seedprod_button",s)},expression:"shared.app_settings.disable_seedprod_button"}}),t._v(" \n\t\t\t\t\t\t\t"),t.shared.app_settings.disable_seedprod_button?e("span",{staticClass:"sp-text-11px sp-uppercase sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__2))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__3))])],1)]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[t._m(0),e("td",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-primary sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-white sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer",on:{click:function(s){return s.preventDefault(),t.save_app_settings(s)}}},[e("span",[t._v(t._s(t.txt_17))])])])]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_13))]),e("a",{attrs:{href:"admin.php?page=sp_pro_debug"}},[t._v("View Debug Information")])])])])]),"seedprod_lite"==t.shared.page_path&&t.shared.show_inline_cta?e("div",[e("SettingsLiteCTA")],1):t._e()])},gt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"})])}],_t=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-mt-6 sp-bg-white sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-px-10 sp-py-10 sp-text-center sp-relative"},[e("span",{staticClass:"sp-neutral-60 sp-absolute sp-cursor-pointer sp-right-0 sp-top-0 sp-opacity-75 sp-mt-2 sp-mr-1",on:{click:t.dismiss_upsell}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])]),e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),t._m(0),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n "+t._s(t.txt_995)+"\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_996))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_997))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_998))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_999))])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9910))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9911))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9912))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9913))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9914))])])])]),e("a",{staticClass:"sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginsettingsabout",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v(" Upgrade to SeedProd PRO Now\n ")])])])])},mt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("h1",{staticClass:"sp-mt-4 sp-mb-8 sp-leading-tight sp-text-34px sp-font-bold sp-text-neutral"},[t._v("\n Upgrade to SeedProd Pro\n "),e("br"),t._v("Today and Save\n ")])}],ht={name:"SettingsLiteCTA",data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Powerful Page Editor","coming-soon"),txt_996:Object(l["a"])("20+ PRO Page Blocks","coming-soon"),txt_997:Object(l["a"])("Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Access Controls","coming-soon"),txt_9910:Object(l["a"])("100+ PRO Page Templates","coming-soon"),txt_9911:Object(l["a"])("PRO Smart Sections","coming-soon"),txt_9912:Object(l["a"])("Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss_upsell:function(){var t=p.a.stringify({id:3});this.axios.post(seedprod_dismiss_upsell,t,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.status&&location.reload()})},dismiss:function(){var t=this,s=p.a.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},bt=ht,ft=Object(u["a"])(bt,_t,mt,!1,null,null,null),xt=ft.exports,vt={name:"SettingsGeneral",mixins:[q["a"]],data:function(){return{txt_1:Object(l["a"])("License","coming-soon"),txt_2:Object(l["a"])("Your license key provides access to updates and addons.","coming-soon"),txt_3:Object(l["a"])("You're using <strong>SeedProd Lite</strong> - No License needed. Enjoy!","coming-soon"),txt_4:Object(l["b"])(Object(l["a"])("To unlock more features consider <a href='%s' target='_blank'>upgrading to PRO</a> . As a valued SeedProd Lite user you'll receive <strong>a discount off the regular price</strong>, automatically applied at checkout! ","coming-soon"),"https://www.seedprod.com/lite-upgrade/?discount=LITEUPGRADE&amp;utm_source=WordPress&amp;utm_medium=seedprod-license-page&amp;utm_campaign=liteplugin"),txt_5:Object(l["b"])(Object(l["a"])("If you already have a license key for <a href='%s' target='_blank'>SeedProd Pro</a>, please enter it to Upgrade to the Pro Features. An External Service will be used to verify and connect you to SeedProd.","coming-soon"),seedprod_store_admin.upgrade_link+"welcome"),txt_6:Object(l["a"])("License Key","coming-soon"),txt_7:Object(l["a"])("Enter Your License Key Here","coming-soon"),txt_8:Object(l["a"])("Recheck Key","coming-soon"),txt_9:Object(l["a"])("Verify Key","coming-soon"),txt_10:Object(l["a"])("Deactivate Key","coming-soon"),txt_11:Object(l["a"])("Connect to SeedProd","coming-soon"),txt_12:Object(l["b"])(Object(l["a"])("You currently have the <strong>%s</strong> license.","coming-soon"),seedprod_store_admin.license_name),txt_13:Object(l["a"])("Debug Information","coming-soon"),txt_14:Object(l["a"])("Facebook APP ID","coming-soon"),txt_15:Object(l["a"])("Global Settings","coming-soon"),txt_16:Object(l["a"])("","coming-soon"),txt_17:Object(l["a"])("Save Settings","coming-soon"),txt_18:Object(l["a"])("Disable Edit SeedProd Button","coming-soon"),txt__2:Object(l["a"])("Yes","coming-soon"),txt__3:Object(l["a"])("No","coming-soon"),show_unlock:!1,shared:seedprod_store_admin}},computed:{slug:function(){var t=this.slugify(this.page_meta.upgrade_feature);return t}},mounted:function(){},methods:{goto_dashboard:function(){this.$router.push({name:"dashboard"})},start_free_to_pro_upgrade:function(){var t=this;j.a.start();var s=p.a.stringify({});t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="unlock",t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Preparing to Unlock... Please wait...",toast:!0,customClass:"sp-toast-success",type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),this.axios.post(seedprod_upgrade_license_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,s.data.success?location.href=s.data.data.url:t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.data.data.message,toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s,toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})},save_settings:function(){var t=this;j.a.start(),this.$validator.validateAll().then(function(s){if(s){var e=p.a.stringify({settings:t.shared.settings});return t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="settings",void t.axios.post(seedprod_save_settings_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){j.a.done(),t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Saved!","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Could not be saved. Please contact Support if you continue to experience this issue.","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})}var a="";t.errors.all().forEach(function(t){a=a+t+"\n"}),a+="",t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:a,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})},save_app_settings:function(){var t=this;j.a.start(),this.$validator.validateAll().then(function(s){if(s){var e=p.a.stringify({app_settings:t.shared.app_settings});return t.shared.doing_ajax=!0,void t.axios.post(seedprod_save_app_settings_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){j.a.done(),t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Saved!","coming-soon"),toast:!0,customClass:"sp-toast-success",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){j.a.done(),t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Looks like you don't have permission to save.","coming-soon"),toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})}alert("else save app settings")})},deactivate_api_key:function(){var t=this,s=p.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,j.a.start(),t.shared.settings_page_meta.button="deactivate_api_key",t.axios.post(seedprod_api_key_deactivate_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){if(j.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==s.data.status){var e="success";t.shared.license_name="",t.shared.settings_page_meta.api_key=""}else e="error";t.$swal({imageUrl:t.shared.plugin_path+"public/svg/"+e+"-24px-white.svg",text:s.data.msg,toast:!0,type:null,customClass:"sp-toast-"+e,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.response.data.message,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3})})},save_api_key:function(){var t=this,s=p.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,j.a.start(),t.shared.settings_page_meta.button="api_key";var e="admin-ajax.php?action="+this.shared.page_path+"_save_api_key&_wpnonce="+seedprod_nonce;t.axios.post(e,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){if(j.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.shared.license_name=1,t.txt_12=s.data.license_name,"true"==s.data.status){t.show_unlock=!0;var e="success";s.data.body.plugin_name&&(t.shared.license_name=s.data.body.plugin_name),"seedprod_lite"!=shared.page_path&&!1===t.shared.active_license&&setTimeout(location.reload(),3e3)}else{e="error";t.shared.license_name=""}t.$swal({imageUrl:t.shared.plugin_path+"public/svg/"+e+"-24px-white.svg",text:s.data.msg,toast:!0,type:null,customClass:"sp-toast-"+e,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){console.log(s),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.response.data.message,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})})}},components:{SettingsLiteCTA:xt}},wt=vt,Ct=Object(u["a"])(wt,ut,gt,!1,null,null,null),yt=Ct.exports,kt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{attrs:{id:"sp-welcome"}},[e("div",[e("div",{staticClass:"sp-bg-white sp--ml-5 sp-flex sp-flex-col sp-items-center",attrs:{id:"sp-welcome-top"}},[e("div",{staticClass:"robbie"},[e("img",{staticClass:"sp-mt-16",attrs:{id:"seedprod-welcome-logo",src:t.shared.plugin_path+"public/svg/seedprod-logo.svg",alt:t.txt_14}})]),e("div",{staticClass:"sp-mx-auto sp-text-center sp-text-15px sp-w-460 sp-font-semibold sp-text-neutral-80 sp-mb-6 sp-mt-5 sp-leading-relaxed"},[t._v(t._s(t.txt_1))]),e("div",{staticClass:"sp-mb-32 sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-p-10 sp-w-580 sp-z-20 sp-bg-white sp-shadow-2xl"},["seedprod_lite"==t.shared.page_path?e("div",{staticClass:"sp-font-bold sp-text-base sp-text-neutral"},[e("span",{domProps:{innerHTML:t._s(t.txt_2)}}),e("img",{staticClass:"emoji",attrs:{draggable:"false",alt:"🙂",src:"https://s.w.org/images/core/emoji/11.2.0/svg/1f642.svg"}})]):t._e(),"seedprod_pro"==t.shared.page_path?e("div",{staticClass:"sp-font-bold sp-text-base sp-text-neutral sp-text-center ",attrs:{id:"license-sub"}},[t._v("\n "+t._s(t.txt_3)+"\n ")]):t._e(),"seedprod_pro"==t.shared.page_path?e("form",{staticClass:"sp-flex sp-mt-6"},[e("div",{staticClass:"sp-flex sp-mx-auto"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.api_key,expression:"\n\t\t\t\t\t\t\t\t\t\t\tshared.settings_page_meta.api_key\n\t\t\t\t\t\t\t\t\t\t"}],staticClass:"sp-form-input sp-h-48px",staticStyle:{"min-width":"300px"},attrs:{type:"password",name:"name",placeholder:t.txt_5,autocomplete:"off"},domProps:{value:t.shared.settings_page_meta.api_key},on:{input:function(s){s.target.composing||t.$set(t.shared.settings_page_meta,"api_key",s.target.value)}}}),e("button",{staticClass:"sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-4 sp-py-4 sp-rounded-sm sp-leading-none sp-text-white sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer sp-border-none",attrs:{disabled:!!t.shared.doing_ajax},on:{click:function(s){return s.preventDefault(),t.save_api_key(s)}}},[t.shared.doing_ajax?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v("\n  "+t._s(t.txt_6)+"\n ")])])]):t._e(),e("div",{staticClass:"sp-text-15px sp-text-neutral-80 sp-text-center sp-mt-2",domProps:{innerHTML:t._s(t.txt_7)}})])]),e("div",[e("a",{staticClass:"play-video sp-mx-auto sp-block sp-text-center sp--mt-40",attrs:{href:"#",title:t.txt_15},on:{click:function(s){return s.preventDefault(),t.watch_video(s)}}},[e("img",{staticClass:"video-thumbnail",attrs:{src:t.shared.plugin_path+"public/img/welcome-video.png",alt:t.txt_13}})]),e("div",[e("div",{staticClass:"sp-text-lg sp-text-neutral-80 sp-w-full sp-leading-relaxed sp-mt-8 sp-mx-auto sp-text-center",domProps:{innerHTML:t._s(t.txt_8)}}),e("div",{staticClass:"sp-flex sp-justify-center sp-pb-3 sp-pt-6"},[e("div",{staticClass:"sp-mr-1"},[e("a",{staticClass:"sp-mb-4 sp-inline-block sp-bg-primary sp-px-5 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer sp-font-semibold",attrs:{id:"first-step",href:"admin.php?page="+t.shared.page_path}},[t._v(t._s(t.txt_9))])]),e("div",{staticClass:"sp-ml-1"},[e("a",{staticClass:"sp-mb-4 sp-inline-block sp-bg-neutral-10 hover:sp-bg-neutral-20 sp-px-5 sp-py-4 sp-rounded sp-leading-none sp-text-neutral-80 sp-no-underline sp-text-17px sp-ml-1 sp-cursor-pointer sp-font-semibold",attrs:{href:"https://seedprod.com/docs/creating-your-first-lpage/?utm_source=WordPress&utm_medium=link&utm_campaign=liteplugin",target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.txt_10))])])])]),e("div",[e("hr",{staticClass:"sp-border sp-border-neutral-20 sp-border-b-0 sp-w-24 sp-mb-8"}),e("h1",{staticClass:"sp-text-center sp-font-bold sp-text-34px sp-text-neutral sp-mt-2 sp-leading-normal sp-tracking-tight",domProps:{innerHTML:t._s(t.txt_11)}}),e("div",{staticClass:"sp-text-17px sp-text-neutral-80 sp-mx-auto sp-w-580 sp-leading-relaxed sp-mt-8 sp-text-center sp-w-full sp-mb-12",domProps:{innerHTML:t._s(t.txt_12)}}),e("div",{staticClass:"sm:sp-flex sp-w-690 sp-mx-auto sp-text-neutral-80 sp-mb-6"},[e("div",{staticClass:"sp-flex sp-items-start sm:sp-mr-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold",domProps:{innerHTML:t._s(t.txt_16)}}),e("p",{staticClass:"sp-text-15px"},[t._v("\n "+t._s(t.txt_22)+"\n ")])])]),e("div",{staticClass:"sp-flex sp-items-start sm:sp-ml-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold"},[t._v(t._s(t.txt_27))]),e("p",{staticClass:"sp-text-15px"},[t._v("\n\t\t\t\t "+t._s(t.txt_28)+"\n ")])])])]),e("div",{staticClass:"sm:sp-flex sp-w-690 sp-mx-auto sp-text-neutral-80 sp-mb-6"},[e("div",{staticClass:"sp-flex sp-items-start sm:sp-mr-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold"},[t._v(t._s(t.txt_29))]),e("p",{staticClass:"sp-text-15px"},[t._v("\n "+t._s(t.txt_30)+"\n ")])])]),e("div",{staticClass:"sp-flex sp-items-start sm:sp-ml-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold"},[t._v(t._s(t.txt_31))]),e("p",{staticClass:"sp-text-15px"},[t._v("\n "+t._s(t.txt_32)+"\n ")])])])]),e("div",{staticClass:"sm:sp-flex sp-w-690 sp-mx-auto sp-text-neutral-80 sp-mb-6"},[e("div",{staticClass:"sp-flex sp-items-start sm:sp-mr-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold"},[t._v(t._s(t.txt_33))]),e("p",{staticClass:"sp-text-15px"},[t._v("\n "+t._s(t.txt_34)+"\n ")])])]),e("div",{staticClass:"sp-flex sp-items-start sm:sp-ml-8 sp-w-1/2"},[e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.plugin_path+"public/svg/green-check.svg"}}),e("div",[e("h5",{staticClass:"sp-m-0 sp-text-15px sp-font-bold"},[t._v(t._s(t.txt_35))]),e("p",{staticClass:"sp-text-15px"},[t._v("\n "+t._s(t.txt_36)+"\n ")])])])]),"seedprod_lite"==t.shared.page_path?e("div",{staticClass:"sp-mt-6 sp-bg-white sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-w-720 sp-mx-auto sp-px-10 sp-py-10 sp-text-center"},[e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v(t._s(t.txt_17))]),e("h1",{staticClass:"sp-mt-4 sp-mb-8 sp-leading-tight sp-text-34px sp-font-bold sp-text-neutral",domProps:{innerHTML:t._s(t.txt_23)}},[e("span",{staticClass:"sp-text-primary"},[t._v(t._s(t.txt_18))])]),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n "+t._s(t.txt_995)+"\n ")]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_996))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_997))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_998))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_999))])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9910))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9911))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9912))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9913))]),e("li",{staticClass:"sp-font-bold"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9914))])])])]),e("a",{staticClass:"sp-inline-block sp-bg-green sp-px-6 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-flex sp-items-center sp-justify-center",attrs:{href:this.shared.upgrade_link+"pluginwelcomepage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v(" "+t._s(t.txt_24)+"\n ")])])]):t._e(),e("div",{staticClass:"sm:sp-flex sp-w-720 sp-mx-auto sp-mt-2 sp-mb-20"},[e("div",{staticClass:"sp-testimonial sm:sp-mr-3 sp-w-1/2"},[e("p",{staticClass:"sp-bg-white sp-rounded-md sp-py-5 sp-px-6 sp-text-neutral-80 sp-text-15px sp-mb-0 sp-relative sp-leading-relaxed "},[t._v(t._s(t.txt_21))]),e("div",{staticClass:"sp-flex sp-items-center sp-mt-6 sp-pl-5"},[e("img",{staticClass:"sp-w-10 sp-rounded-full sp-mr-5",attrs:{src:t.shared.plugin_path+"public/img/chris-ducker.jpg"}}),t._m(0)])]),e("div",{staticClass:"sp-testimonial sm:sp-ml-3 sp-w-1/2"},[e("p",{staticClass:"sp-bg-white sp-rounded-md sp-py-5 sp-px-6 sp-text-neutral-80 sp-text-15px sp-mb-0 sp-relative sp-leading-relaxed "},[t._v(t._s(t.txt_26))]),e("div",{staticClass:"sp-flex sp-items-center sp-mt-6 sp-pl-5"},[e("img",{staticClass:"sp-w-10 sp-rounded-full sp-mr-5",attrs:{src:t.shared.plugin_path+"public/img/ruthie-unaegbu.jpg"}}),t._m(1)])])])])])])])},jt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"sp-text-neutral-80 sp-text-xs"},[e("strong",{staticClass:"sp-font-bold"},[t._v("Chris Ducker")]),e("p",{staticClass:"sp-m-0 sp-text-neutral-60 sp-mt-1"},[t._v("Author of #1 Bestselling Book 'Virtual Freedom'")])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"sp-text-neutral-80 sp-text-xs"},[e("strong",{staticClass:"sp-font-bold"},[t._v("Ruthie Unaegbu")]),e("p",{staticClass:"sp-m-0 sp-text-neutral-60 sp-mt-1"},[t._v("WordPress Freelancer")])])}],Ot={name:"Welcome",mixins:[q["a"]],data:function(){return{txt_1:Object(l["a"])("Thank you for choosing SeedProd - Easy Drag & Drop Page Builder. A complete solution to create a WordPress Website, Custom Themes, Landing Pages, Coming Soon & Maintenance Mode Pages.","coming-soon"),txt_2:Object(l["a"])("You're using <strong>SeedProd Lite</strong> - No License needed. Enjoy!","coming-soon"),txt_3:Object(l["a"])("Enter your license key to enable all the features of the plugin.","coming-soon"),txt_4:Object(l["b"])(Object(l["a"])("If you already have a license key for <a href='%s' target='_blank'>SeedProd Pro</a>, please enter it to Upgrade to the Pro Features.","coming-soon"),seedprod_store_admin.upgrade_link+"welcome"),txt_5:Object(l["a"])("Enter Your License Key Here","coming-soon"),txt_6:Object(l["a"])("Verify key","coming-soon"),txt_7:Object(l["b"])(Object(l["a"])("Don't have a license key or need to renew? Visit <a href='%s' target='_blank' class='sp-text-primary'>seedprod.com</a>","coming-soon"),"https://www.seedprod.com?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginwelcomelicense"),txt_8:Object(l["a"])("SeedProd makes it easy to create landing pages in WordPress.<br>You can watch the video tutorial or read our guide on how create your first page.","coming-soon"),txt_9:Object(l["a"])("Create Your First Page","coming-soon"),txt_10:Object(l["a"])("Read the Full Guide","coming-soon"),txt_11:Object(l["a"])("SeedProd Features &amp; Solutions","coming-soon"),txt_12:Object(l["a"])("SeedProd is both easy to use and extremely powerful. We have tons of<br />helpful features to help you create a successful landing page.","coming-soon"),txt_13:Object(l["a"])("Watch how to create your first landing page","coming-soon"),txt_14:Object(l["a"])("Robbie the Rabbit the SeedProd mascot","coming-soon"),txt_15:Object(l["a"])("Watch how to create your first page","coming-soon"),txt_16:Object(l["a"])("Drag &amp; Drop Page Builder","coming-soon"),txt_17:Object(l["a"])("Special Upgrade Offer - Save 50% Off","coming-soon"),txt_18:Object(l["a"])("Save 20%","coming-soon"),txt_19:Object(l["a"])("Pro","coming-soon"),txt_20:Object(l["a"])("per year","coming-soon"),txt_21:Object(l["a"])("\"Want to create a great looking 'coming soon' landing page and grab emails easily? Check out SeedProd\"","coming-soon"),txt_22:Object(l["a"])("Our Drag & Drop Page Builder lets you create great looking pages and layouts fast so you can get your landing page up in minutes. No coding required!","coming-soon"),txt_23:Object(l["a"])("Upgrade to SeedProd Pro<br />Today and Save","coming-soon"),txt_24:Object(l["a"])("Upgrade to PRO Now","coming-soon"),txt_25:Object(l["a"])("List","coming-soon"),txt_26:Object(l["a"])('"Just gotta say how awesome SeedProd really is! WordPress freelancers really need this in their repertoire!"',"coming-soon"),txt_27:Object(l["a"])("Landing Page Templates","coming-soon"),txt_28:Object(l["a"])("Create a variety of landing pages including sales, optin, coming soon, maintenance mode, webinar, and thank you pages. New templates added regularly.","coming-soon"),txt_29:Object(l["a"])("Smart Sections","coming-soon"),txt_30:Object(l["a"])("We created professionally designed pre-built sections like headers, calls to action, so you don't need to be a designer to create beautiful layouts.","coming-soon"),txt_31:Object(l["a"])("Premium Integrations","coming-soon"),txt_32:Object(l["a"])("Collect emails with your favorite 3rd party email marketing service providers including MailChimp, ActiveCampaign, ConvertKit, Constant Contact and more...","coming-soon"),txt_33:Object(l["a"])("No Coding Skills Needed","coming-soon"),txt_34:Object(l["a"])("We've eliminated all the technical barries that keep you from building the perfect landing page.","coming-soon"),txt_35:Object(l["a"])("Super Fast Loading Pages","coming-soon"),txt_36:Object(l["a"])("Bloat free code results in faster loading pages which means your page converts higher.","coming-soon"),txt_995:Object(l["a"])("Drag & Drop Page Builder","coming-soon"),txt_996:Object(l["a"])("20+ PRO Page Blocks","coming-soon"),txt_997:Object(l["a"])("Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Page Access Controls","coming-soon"),txt_9910:Object(l["a"])("100+ PRO Page Templates","coming-soon"),txt_9911:Object(l["a"])("PRO Smart Sections","coming-soon"),txt_9912:Object(l["a"])("Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),shared:seedprod_store_admin}},methods:{watch_video:function(){this.$swal({width:600,html:'<iframe width="100%" height="315" src="https://www.youtube.com/embed/MUXoqm3VpRo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>',toast:!1,customContainerClass:"seedprod-welcome-video"})},save_api_key:function(){var t=this,s=p.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,j.a.start(),t.shared.settings_page_meta.button="api_key";var e="admin-ajax.php?action="+this.shared.page_path+"_save_api_key&_wpnonce="+seedprod_nonce;t.axios.post(e,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){if(j.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==s.data.status)var e="success";else e="error";t.$swal({imageUrl:t.shared.plugin_path+"public/svg/"+e+"-24px-white.svg",text:s.data.msg,toast:!0,type:null,customClass:"sp-toast-"+e,position:"top-end",showConfirmButton:!1,timer:3e4});var a=document.getElementById("first-step");a.scrollIntoView(!1)}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.response.data.message,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3})})}}},Pt=Ot,St=Object(u["a"])(Pt,kt,jt,!1,null,null,null),Lt=St.exports,Mt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{attrs:{id:"seedprod-aboutus"}},[e("nav",{staticClass:"sp-hidden"},[e("ul",{},[e("router-link",{attrs:{tag:"li",to:{name:"aboutus_aboutus"}}},[e("a",[e("span",[t._v(t._s(t.txt_1))])])]),e("router-link",{attrs:{tag:"li",to:{name:"aboutus_gettingstarted"}}},[e("a",[e("span",[t._v(t._s(t.txt_2))])])]),"seedprod_lite"==t.shared.page_path?e("router-link",{attrs:{tag:"li",to:{name:"aboutus_litevspro"}}},[e("a",[e("span",[t._v(t._s(t.txt_3))])])]):t._e()],1)]),e("div",[e("router-view",{attrs:{name:"main"}})],1)])},Tt=[],zt={name:"Aboutus",data:function(){return{txt_1:Object(l["a"])("About Us","coming-soon"),txt_2:Object(l["a"])("Getting Started","coming-soon"),txt_3:Object(l["a"])("Lite vs Pro","coming-soon"),shared:seedprod_store_admin}},computed:{},created:function(){},methods:{}},Bt=zt,At=Object(u["a"])(Bt,Mt,Tt,!1,null,null,null),$t=At.exports,Ut=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"lg:sp-flex sp-mt-10 sp-a"},[e("div",{staticClass:"sp-mr-20"},[e("h3",{staticClass:"sp-mt-0 sp-text-neutral sp-text-xl sp-leading-normal"},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_2)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_3)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_4)+"\n "),e("a",{attrs:{href:"https://www.wpbeginner.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPBeginner")]),t._v(", "+t._s(t.txt_6)+",\n "),e("a",{attrs:{href:"https://optinmonster.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("OptinMonster")]),t._v(", "+t._s(t.txt_7)+",\n "),e("a",{attrs:{href:"https://www.monsterinsights.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("MonsterInsights")]),t._v(", "+t._s(t.txt_8)+",\n "),e("a",{attrs:{href:"https://www.wpforms.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPForms")]),t._v(", "+t._s(t.txt_9)+",\n "),e("a",{attrs:{href:"https://rafflepress.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("RafflePress")]),t._v(", "+t._s(t.txt_10)+",\n "),e("a",{attrs:{href:"https://trustpulse.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("TrustPulse")]),t._v(".\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_5)+"\n ")])]),e("div",{},[e("img",{staticClass:"sp-rounded",attrs:{src:t.shared.plugin_path+"public/img/team.jpg",alt:t.txt_11}}),e("figcaption",{staticClass:"sp-text-neutral-80 sp-text-15px sp-text-center sp-mt-6"},[t._v("\n "+t._s(t.txt_12)+": Syed, John & Thomas"),e("br")])])]),"seedprod_lite"==t.shared.page_path&&t.shared.show_inline_cta?e("div",[e("SettingsLiteCTA")],1):t._e()])},Dt=[],Et={name:"AboutusAbout",data:function(){return{txt_1:Object(l["a"])("Hello and welcome to SeedProd, the most beginner friendly drag & drop WordPress landing page plugin. At SeedProd, we build software that helps you create beautiful responsive landing pages for your website in minutes.","coming-soon"),txt_2:Object(l["a"])("Over the years, we found that most WordPress landing page plugins were bloated, buggy, slow, and very hard to use. So we started with a simple goal: build a WordPress landing page plugin that’s both easy and powerful.","coming-soon"),txt_3:Object(l["a"])("Our goal is to take the pain out of creating landing pages and make it easy.","coming-soon"),txt_4:Object(l["a"])("SeedProd is brought to you by the same team that’s behind the largest WordPress resource site,","coming-soon"),txt_5:Object(l["a"])("Yup, we know a thing or two about building awesome products that customers love.","coming-soon"),txt_6:Object(l["a"])("the most popular lead-generation software","coming-soon"),txt_7:Object(l["a"])("the best WordPress analytics plugin","coming-soon"),txt_8:Object(l["a"])("the best WordPress forms plugin","coming-soon"),txt_9:Object(l["a"])("the best WordPress giveaway plugin","coming-soon"),txt_10:Object(l["a"])("and finally the best WordPress FOMO plugin","coming-soon"),txt_11:Object(l["a"])("SeedProd Team photo","coming-soon"),txt_12:Object(l["a"])("The SeedProd Team","coming-soon"),shared:seedprod_store_admin}},methods:{},components:{SettingsLiteCTA:xt}},Ht=Et,It=Object(u["a"])(Ht,Ut,Dt,!1,null,null,null),Wt=It.exports,Ft=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("ThemeBuilderUpsell")],1)},Nt=[],Rt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("img",{staticStyle:{margin:"auto","margin-top":"30px",position:"absolute","z-index":"0",left:"0",right:"0"},attrs:{src:t.shared.plugin_path+"public/img/theme-builder.png"}}),e("div",{staticStyle:{display:"flex","justify-content":"center","align-items":"center","padding-top":"30px"}},[e("div",{staticClass:"\n sp-mt-6\n sp-bg-white\n sp-border-neutral-15\n sp-border\n sp-rounded\n sp-border-solid\n sp-px-10\n sp-py-10\n sp-text-center\n ",staticStyle:{width:"650px",position:"relative"}},[e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),e("h1",{staticClass:"\n sp-mt-4\n sp-mb-8\n sp-leading-tight\n sp-text-34px\n sp-font-bold\n sp-text-neutral\n "},[t._v("\n Use SeedProd to Build Your Entire Website and Create Your Theme\n ")]),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n Create Headers & Footers\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Create Global Parts\n ")])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Includes Starter Theme\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Create Pages and Posts\n ")])])])]),e("a",{staticClass:"\n sp-bg-green\n sp-px-8\n sp-py-4\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n sp-text-17px\n hover:sp-bg-green-lighter\n sp-cursor-pointer\n sp-font-semibold\n sp-inline-flex\n sp-items-center\n sp-justify-center\n ",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=themebuilderpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to SeedProd PRO Now\n ")])])])])])},Vt=[],Gt={name:"ThemeBuilderUpsell",components:{},data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Filter by Page","coming-soon"),txt_996:Object(l["a"])("Export to a CSV File","coming-soon"),txt_997:Object(l["a"])("Premium Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Page Access Controls","coming-soon"),txt_9910:Object(l["a"])("Subscribers Over Time","coming-soon"),txt_9911:Object(l["a"])("See Name and Emails","coming-soon"),txt_9912:Object(l["a"])("Email Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss:function(){var t=this,s=qs.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},Yt=Gt,qt=Object(u["a"])(Yt,Rt,Vt,!1,null,null,null),Kt=qt.exports,Jt={name:"ThemeBuilder",components:{ThemeBuilderUpsell:Kt},data:function(){return{shared:seedprod_store_admin}},methods:{}},Qt=Jt,Xt=Object(u["a"])(Qt,Ft,Nt,!1,null,null,null),Zt=Xt.exports,ts=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},ss=[],es={name:"ExportImportTemplates",components:{},data:function(){return{shared:seedprod_store_admin}},methods:{}},as=es,ns=Object(u["a"])(as,ts,ss,!1,null,null,null),os=ns.exports;n["default"].use(h["a"]);var is=new h["a"]({routes:[{name:"dashboard",path:"/",component:D},{name:"growthtools",path:"/growth-tools",component:N},{name:"subscribers",path:"/subscribers/:id",component:ot},{name:"theme-templates",path:"/theme-templates",component:Zt},{name:"exportimport-templates",path:"/exportimport-templates",component:os},{path:"/settings",component:dt,children:[{name:"settings_general",path:"",components:{main:yt}}]},{path:"/aboutus",component:$t,children:[{name:"aboutus_aboutus",path:"",components:{main:Wt}}]},{name:"welcome",path:"/welcome",component:Lt}],linkActiveClass:"active"}),rs=is,ps=e("619c"),ls=e("e37d"),cs=e("bc3a"),ds=e.n(cs),us=e("a7fe"),gs=e.n(us),_s=e("7bb1"),ms=e("f206"),hs=e("3f9b"),bs=e("95ae");n["default"].use(hs["a"]),n["default"].use(bs["a"]),n["default"].component("ToggleButton",ms["ToggleButton"]),n["default"].use(ps["a"]),n["default"].use(_s["a"]),n["default"].use(ls["a"],{defaultClass:"seedprod-tooltip"}),n["default"].use(gs.a,ds.a),n["default"].config.productionTip=!1;var fs={plugin_version:seedprod_data_admin.plugin_version,show_on_front:seedprod_data_admin.show_on_front,page_for_posts:seedprod_data_admin.page_for_posts,page_on_front:seedprod_data_admin.page_on_front,is_woocommerce_active:seedprod_data_admin.is_woocommerce_active,site_token:seedprod_data_admin.site_token,theme_preview_mode:seedprod_data_admin.theme_preview_mode,seedprod_theme_enabled:seedprod_data_admin.seedprod_theme_enabled,conditions:seedprod_data_admin.conditions,active_license:seedprod_data_admin.active_license,lmsg:seedprod_data_admin.lmsg,show_topbar_cta:seedprod_data_admin.show_topbar_cta,show_inline_cta:seedprod_data_admin.show_inline_cta,seedprod_unsupported_feature:seedprod_data_admin.seedprod_unsupported_feature,seedprod_csp4_migrated:seedprod_data_admin.seedprod_csp4_migrated,seedprod_csp4_imported:seedprod_data_admin.seedprod_csp4_imported,seedprod_cspv5_migrated:seedprod_data_admin.seedprod_cspv5_migrated,seedprod_cspv5_imported:seedprod_data_admin.seedprod_cspv5_imported,page_count:seedprod_data_admin.page_count,subscriber_count:seedprod_data_admin.subscriber_count,notifications:seedprod_data_admin.notifications,csp_id:seedprod_data_admin.csp_id,mmp_id:seedprod_data_admin.mmp_id,p404_id:seedprod_data_admin.p404_id,loginp_id:seedprod_data_admin.loginp_id,csp_uuid:seedprod_data_admin.csp_uuid,mmp_uuid:seedprod_data_admin.mmp_uuid,p404_uuid:seedprod_data_admin.p404_uuid,loginp_uuid:seedprod_data_admin.loginp_uuid,csp_preview_url:seedprod_data_admin.csp_preview_url,mmp_preview_url:seedprod_data_admin.mmp_preview_url,p404_preview_url:seedprod_data_admin.p404_preview_url,loginp_preview_url:seedprod_data_admin.loginp_preview_url,api_token:seedprod_data_admin.api_token,license_key:seedprod_data_admin.license_key,license_name:seedprod_data_admin.license_name,per:seedprod_data_admin.per,page_path:seedprod_data_admin.page_path,name:seedprod_data_admin.name,email:seedprod_data_admin.email,upgrade_link:seedprod_data_admin.upgrade_link,doing_ajax:!1,plugin_path:seedprod_data_admin.plugin_path,home_url:seedprod_data_admin.home_url,settings:seedprod_data_admin.settings,app_settings:seedprod_data_admin.app_settings,template_dev_mode:seedprod_data_admin.template_dev_mode,theme_dev_mode:seedprod_data_admin.theme_dev_mode,settings_page_meta:{lclass:seedprod_data_admin.lclass,lmsg:seedprod_data_admin.lmsg,button:"",api_key:seedprod_data_admin.api_key,timezones:seedprod_data_admin.timezones,dismiss_settings_lite_cta:seedprod_data_admin.dismiss_settings_lite_cta}};window.seedprod_store_admin=fs;new n["default"]({router:rs,mounted:function(){},render:function(t){return t(m)}}).$mount("#seedprod-vue-app");var xs=function(){iFrameResize({log:!1,checkOrigin:!1},"#inline-help")};window.help_iframe=xs}});
1
+ (function(t){function s(s){for(var a,o,r=s[0],p=s[1],l=s[2],d=0,u=[];d<r.length;d++)o=r[d],n[o]&&u.push(n[o][0]),n[o]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(t[a]=p[a]);c&&c(s);while(u.length)u.shift()();return i.push.apply(i,l||[]),e()}function e(){for(var t,s=0;s<i.length;s++){for(var e=i[s],a=!0,r=1;r<e.length;r++){var p=e[r];0!==n[p]&&(a=!1)}a&&(i.splice(s--,1),t=o(o.s=e[0]))}return t}var a={},n={admin:0},i=[];function o(s){if(a[s])return a[s].exports;var e=a[s]={i:s,l:!1,exports:{}};return t[s].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=t,o.c=a,o.d=function(t,s,e){o.o(t,s)||Object.defineProperty(t,s,{enumerable:!0,get:e})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,s){if(1&s&&(t=o(t)),8&s)return t;if(4&s&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&s&&"string"!=typeof t)for(var a in t)o.d(e,a,function(s){return t[s]}.bind(null,a));return e},o.n=function(t){var s=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(s,"a",s),s},o.o=function(t,s){return Object.prototype.hasOwnProperty.call(t,s)},o.p="/wp-content/plugins/seedprod-pro/public/lite/vue-backend/";var r=window["webpackJsonp"]=window["webpackJsonp"]||[],p=r.push.bind(r);r.push=s,r=r.slice();for(var l=0;l<r.length;l++)s(r[l]);var c=p;i.push([1,"chunk-vendors","chunk-common"]),e()})({1:function(t,s,e){t.exports=e("9150")},9150:function(t,s,e){"use strict";e.r(s);e("7f7f"),e("cadf"),e("551c"),e("f751"),e("097d");var a,n=e("2b0e"),i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"seedprod-app seedprod sp-antialiased sp-font-display"},["seedprod_lite"==t.shared.page_path&&t.shared.show_topbar_cta?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-2 sp-px-8 sp-text-sm sp-flex sp-justify-center sp-leading-normal sp-relative"},[t._v("\n You’re using SeedProd Lite. To unlock more features consider\n "),e("a",{staticClass:"sp-ml-1 sp-text-white hover:sp-text-white sp-no-underline sp-border-0 sp-border-b sp-border-white sp-border-dotted",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugintopbar",target:"_blank"}},[t._v("upgrading to Pro")]),e("span",{staticClass:"sp-text-white sp-absolute sp-cursor-pointer sp-right-0 sp-top-0 sp-opacity-75 sp-mt-2 sp-mr-1",on:{click:t.dismiss_upsell}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])])]):t._e(),"seedprod_pro"==t.shared.page_path&&!1===t.shared.active_license&&"welcome"!=t.$route.name?e("div",{staticClass:"sp--ml-5 sp-bg-red sp-text-white sp-py-2 sp-px-8 sp-text-sm sp-flex sp-justify-center sp-leading-normal sp-relative sp-uppercase sp-font-semibold"},[t._v("\n Your license key is invalid!\n "),"settings_general"!=t.$route.name?e("a",{staticClass:"sp-ml-1 sp-text-white hover:sp-text-white sp-no-underline sp-border-0 sp-border-b sp-border-white sp-border-dotted",attrs:{href:"admin.php?page=seedprod_pro#/settings"}},[t._v("Click Here to Enter Your License Key")]):t._e()]):t._e(),!1===t.shared.seedprod_csp4_migrated&&1==t.shared.seedprod_csp4_imported?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-4 sp-px-8 sp-text-lg sp-flex sp-justify-center sp-leading-normal"},[e("svg",{staticClass:"sp-fill-current sp-w-20 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM11 5h2v6h-2zm0 8h2v2h-2z"}})]),t._m(0)]):t._e(),!1===t.shared.seedprod_cspv5_migrated&&1==t.shared.seedprod_cspv5_imported?e("div",{staticClass:"sp--ml-5 sp-bg-green sp-text-white sp-py-4 sp-px-8 sp-text-lg sp-flex sp-justify-center sp-leading-normal"},[e("svg",{staticClass:"sp-fill-current sp-w-20 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM11 5h2v6h-2zm0 8h2v2h-2z"}})]),e("div",[t._v("\n We have migrated your page settings from the old version to our new builder. Don't worry nothing has changed with your pages. However, a lot has changed in the plugin.\n "),e("a",{staticClass:"sp-text-white sp-font-bold",attrs:{href:"https://www.seedprod.com/docs/migrating-from-the-previous-pro-version/?dep="+t.shared.seedprod_unsupported_feature,target:"_blank"}},[t._v("Learn more about the all new SeedProd plugin and how to complete the migration process.")])])]):t._e(),"welcome"!=t.$router.currentRoute.name?e("div",{staticClass:"sp-bg-white sp--ml-5 sp-pt-6 sp-pb-8 sp-px-8 sp-text-neutral sp-flex sp-items-end sp-justify-between"},[e("div",{staticClass:"sp-flex sp-items-end sp-flex-1"},[e("img",{attrs:{id:"seedprod-logo",src:t.shared.plugin_path+"public/svg/seedprod-logo.svg",alt:t.txt_6}}),e("span",{staticClass:"sp-inline-block sp-px-6 sp-flex sp-items-end"},[e("svg",{attrs:{width:"12",height:"29",viewBox:"0 0 12 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M1 28L11 0.999998",stroke:"#D3CED2"}})])]),"pages"==this.$route.name||"dashboard"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_1)+"\n ")]):t._e(),"growthtools"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_2)+"\n ")]):t._e(),"aboutus_aboutus"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_3)+"\n ")]):t._e(),"subscribers"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_4)+"\n ")]):t._e(),"settings_general"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_5)+"\n ")]):t._e(),"theme-templates"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_9)+"\n ")]):t._e(),"exportimport-templates"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_10)+"\n ")]):t._e(),"setup"==this.$route.name?e("div",{staticClass:"sp-text-2xl sp-font-semibold"},[t._v("\n "+t._s(t.txt_11)+"\n ")]):t._e()]),e("div",[e("a",{staticClass:"sp-bg-neutral-10 hover:sp-bg-neutral-15 sp-rounded-full sp-flex sp-items-center sp-justify-center sp-p-c63 sp-text-neutral-60",attrs:{href:"https://www.seedprod.com/docs/",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}})])])])]):t._e(),t.shared.notifications.length>0?e("div",{staticClass:"sp-notifications-custom sp-ml-3 sp-rounded sp-p-4 sp-mt-4 sp-mr-4 sp-flex"},[t.shared.notifications[t.notification_index].img?e("img",{staticClass:"sp-mr-4",attrs:{src:t.shared.notifications[t.notification_index].img}}):e("img",{staticClass:"sp-mr-4 sp-mb-10",attrs:{src:t.shared.plugin_path+"public/svg/bell-orange.svg"}}),e("div",{staticClass:"sp-flex-1"},[e("div",{staticClass:"sp-text-lg sp-font-semibold sp-mb-2 sp-flex sp-justify-between"},[t._v("\n "+t._s(t.shared.notifications[t.notification_index].title)+"\n "),e("span",{staticClass:"sp-cursor-pointer sp-text-neutral-40 hover:sp-text-red",on:{click:function(s){return t.dismiss_notifications(t.shared.notifications[t.notification_index].id)}}},[e("svg",{staticClass:"sp-fill-current sp-w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])])]),e("div",{staticClass:"sp-mb-3 sp-text-base",domProps:{innerHTML:t._s(t.shared.notifications[t.notification_index].content)}}),e("div",{staticClass:"sp-flex sp-justify-between sp-items-center"},[e("div",[t.shared.notifications[t.notification_index].btns.main?e("a",{staticClass:"button sp-notification-button sp-px-3 sp-py-1 sp-text-sm sp-mr-2",attrs:{href:t.shared.notifications[t.notification_index].btns.main.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.main.text))]):t._e(),t.shared.notifications[t.notification_index].btns.alt?e("a",{staticClass:"button sp-notification-alt-button sp-px-3 sp-alt-notification-button-y sp-text-sm sp-mr-2",attrs:{href:t.shared.notifications[t.notification_index].btns.alt.url,target:"_blank"}},[t._v(t._s(t.shared.notifications[t.notification_index].btns.alt.text))]):t._e()]),e("div",[e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40 sp-mr-1",class:{"sp-invisible":0==t.notification_index},attrs:{title:t.txt_7},on:{click:function(s){return s.preventDefault(),t.scroll_notifications("prev")}}},[e("i",{staticClass:"fa fa-chevron-left",attrs:{"aria-hidden":"true"}})]),e("a",{staticClass:"sp-cursor-pointer sp-border sp-border-neutral-20 sp-border-solid sp-rounded sp-p-2 sp-text-10px sp-text-neutral-40 hover:sp-border-neutral-40 hover:sp-text-40",class:{"sp-invisible":t.notification_index==t.shared.notifications.length-1},attrs:{title:t.txt_8},on:{click:function(s){return s.preventDefault(),t.scroll_notifications("next")}}},[e("i",{staticClass:"fa fa-chevron-right",attrs:{"aria-hidden":"true"}})])])])])]):t._e(),e("div",{staticClass:"sp-pl-3 sp-pr-8"},[e("keep-alive",[e("router-view")],1)],1)])},o=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t._v('\n We have migrated your page settings from the old version to our new builder. Don\'t worry nothing has changed with your page. Your old version will continue to display until you click "Edit" on the Coming Soon or Maintenance Page and then "Save". After Saving the new version will be displayed.\n '),e("br"),e("a",{staticClass:"sp-text-white sp-font-bold",attrs:{href:"https://www.seedprod.com/docs/migrating-from-the-previous-free-version/",target:"_blank"}},[t._v("Learn more about the all new SeedProd plugin and how to complete the migration process.")])])}],r=e("4328"),p=e.n(r),l=(e("2ef0"),e("561c")),c={data:function(){return{txt_1:Object(l["a"])("Pages","coming-soon"),txt_2:Object(l["a"])("Growth Tools","coming-soon"),txt_3:Object(l["a"])("About Us","coming-soon"),txt_4:Object(l["a"])("Subscribers","coming-soon"),txt_5:Object(l["a"])("Settings","coming-soon"),txt_6:Object(l["a"])("SeedProd Logo","coming-soon"),txt_7:Object(l["a"])("Previous message ","coming-soon"),txt_8:Object(l["a"])("Next message","coming-soon"),txt_9:Object(l["a"])("Theme Builder","coming-soon"),txt_10:Object(l["a"])("Import / Export","coming-soon"),txt_11:Object(l["a"])("Setup","coming-soon"),notification_index:0,shared:seedprod_store_admin}},mounted:function(){},watch:{$route:function(t,s){jQuery("html").scrollTop(0)}},methods:{dismiss_upsell:function(){var t=p.a.stringify({id:1});this.axios.post(seedprod_dismiss_upsell,t,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.status&&location.reload()})},dismiss_notifications:function(t){var s=this,e=p.a.stringify({id:t});s.$delete(s.shared.notifications,s.notification_index),0<s.notification_index?s.notification_index=s.notification_index-1:1<s.notification_index.length&&0==s.notification_index?s.notification_index=s.notification_index+1:s.notification_index=0,this.axios.post(seedprod_notification_dismiss,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.success&&location.reload()})},scroll_notifications:function(t){"prev"==t&&this.notification_index--,"next"==t&&this.notification_index++},goto_settings:function(){this.$router.push({name:"settings"}).catch(function(t){})},show_upgrade_notice:function(t,s){var e=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n?(t="Upgrade to PRO",s="Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features."):(t+=" is a PRO Feature",s="We're sorry, the "+s+" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features."),this.$swal({title:t,text:s,type:"success",showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE TO PRO"}).then(function(t){t.value&&(window.open(e.shared.upgrade_link+a,"_blank"),e.$swal.fire("","Thanks for your interest in SeedProd Pro!<br>If you have any questions or issues just <a href='https://www.seedprod.com/?contact=1' target='_blank'>let us know</a>.<br><br>After purchasing SeedProd Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)","info"))})}}},d=c,u=e("2877"),g=Object(u["a"])(d,i,o,!1,null,null,null),m=g.exports,h=e("8c4f"),b=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{staticClass:"clearfix",attrs:{id:"post-body-content"}},[e("div",{staticClass:"sp-flex sp-mt-8 sp-overflow-x-scroll sp-pb-2"},[e("div",{staticClass:"sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/cs-page.svg",alt:t.txt_29}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_3)+"\n ")]),""==t.shared.csp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_4))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_5))]),1!=t.shared.seedprod_csp4_imported?e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:t.shared.csp_preview_url,target:"_blank"}},[t._v(t._s(t.txt_6))]):t._e()]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0},on:{change:function(s){return t.enable_mode(1)}},model:{value:t.shared.settings.enable_coming_soon_mode,callback:function(s){t.$set(t.shared.settings,"enable_coming_soon_mode",s)},expression:"shared.settings.enable_coming_soon_mode"}}),t._v(" \n "),t.shared.settings.enable_coming_soon_mode?e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-green sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_7))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/mm-page.svg",alt:t.txt_30}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_9)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_10)+"\n ")]),""==t.shared.mmp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_11))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_5))]),1!=t.shared.seedprod_csp4_imported?e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:t.shared.mmp_preview_url,target:"_blank"}},[t._v(t._s(t.txt_6))]):t._e()]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0},on:{change:function(s){return t.enable_mode(2)}},model:{value:t.shared.settings.enable_maintenance_mode,callback:function(s){t.$set(t.shared.settings,"enable_maintenance_mode",s)},expression:"shared.settings.enable_maintenance_mode"}}),t._v(" \n "),t.shared.settings.enable_maintenance_mode?e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-green sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_7))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0 sp-relative",on:{mouseenter:function(s){t.show_loginp_upgrade=!0},mouseleave:function(s){t.show_loginp_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-right-0 sp-text-green sp-rounded sp-z-20 sp-px-1 sp-text-10px sp-font-semibold sp-mt-2 sp-mr-1"},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_loginp_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginloginpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"sp-pro-only"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/login-page.svg",alt:t.txt_31}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_33)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_34)+"\n ")]),""==t.shared.loginp_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_35))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_5))]),e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_6))])]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0}}),t._v(" \n\n "),e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)])]),e("div",{staticClass:"sp-ml-4 sp-border sp-border-neutral-15 sp-border-solid sp-bg-white sp-w-275 sp-text-center sp-flex-shrink-0 sp-relative",on:{mouseenter:function(s){t.show_404_upgrade=!0},mouseleave:function(s){t.show_404_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-right-0 sp-text-green sp-rounded sp-z-20 sp-px-1 sp-text-10px sp-font-semibold sp-mt-2 sp-mr-1"},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_404_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugin404page",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"sp-pro-only"},[e("img",{staticClass:"sp-mx-auto sp-block sp-mt-8 sp-mb-5",attrs:{src:t.shared.plugin_path+"public/svg/404-page.svg",alt:t.txt_31}}),e("div",{staticClass:"sp-text-xl sp-text-center sp-font-bold sp-mb-6 sp-text-neutral"},[t._v("\n "+t._s(t.txt_14)+"\n ")]),e("p",{staticClass:"sp-px-5 sp-text-15px sp-text-center sp-my-4 sp-text-neutral"},[t._v("\n "+t._s(t.txt_15)+"\n ")]),""==t.shared.p404_id?e("div",[e("a",{staticClass:"sp-font-semibold sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_16))])]):e("div",[e("a",{staticClass:"sp-font-semibold sp-mr-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_5))]),e("a",{staticClass:"sp-font-semibold sp-ml-1 sp-mb-4 sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-3 sp-py-3 sp-rounded-md sp-leading-none sp-text-neutral-80 sp-no-underline hover:sp-bg-neutral-15",attrs:{href:"javascript:void(0);"}},[t._v(t._s(t.txt_6))])]),e("div",{staticClass:"sp-bg-neutral-5 sp-h-8 sp-flex sp-items-center sp-justify-center"},[e("toggle-button",{attrs:{width:40,sync:!0}}),t._v(" \n\n "),e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt_8))])],1)])])]),e("div",{staticClass:"sp-mt-8 sp-font-semibold"},[e("hr",{staticClass:"sp-border-b-0 sp-border-neutral-15 sp-mb-10"}),e("div",{staticClass:"sp-flex sp-items-center sp-mb-6"},[e("h3",{staticClass:"sp-text-2xl sp-text-neutral sp-m-0 sp-font-bold"},[t._v("\n "+t._s(t.txt_17)+"\n ")]),e("i",{directives:[{name:"tooltip",rawName:"v-tooltip.top-left",value:{content:t.txt_32},expression:"{\n content: txt_32\n }",modifiers:{"top-left":!0}}],staticClass:"fas fa-question-circle sp-ml-2 sp-mr-6 sp-text-xs"}),0!=t.shared.page_count?e("a",{staticClass:"sp-font-semibold sp-text-xs sp-flex sp-items-center sp-inline-block sp-bg-primary sp-px-3 sp-py-2 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path+"_template&id=0#/template"}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-1",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}})]),t._v("\n "+t._s(t.txt_18)+"\n ")]):t._e()]),0!=t.shared.page_count?e("div",[e("ul",{staticClass:"subsubsub"},t._l(t.filters,function(s,a){return e("li",{key:a},[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n ("+t._s(s.count)+")\n "),"archived"!=a?e("span",[t._v("|")]):t._e()])}),0),e("p",{staticClass:"search-box"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.txt_2))]),e("span",{staticClass:"sp-relative sp-inline-flex sp-items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"sp-rounded sp-border-solid sp-border sp-border-neutral-15 sp-outline-none",staticStyle:{padding:"6px 10px"},attrs:{id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.loadItems("search")},input:function(s){s.target.composing||(t.search=s.target.value)}}}),t._v(" \n "),t.search.length>0?e("i",{staticClass:"fas fa-times-circle sp-absolute sp-text-neutral-20 sp-right-0 sp-mr-2",attrs:{id:"seedprod-search-close"},on:{click:function(s){return s.preventDefault(),t.clear_search(s)}}}):t._e()]),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.txt_2},on:{click:function(s){return s.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"lpagedt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.filter_bulk(t.bulkactions),"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order,filter:t.filter},on:{pagination:t.goToPage,rowOver:t.rowOver,rowOut:t.rowOut,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback},scopedSlots:t._u([{key:"subscribers",fn:function(s){return[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto_subscribers(s.row.id)}}},[t._v(t._s(s.row.subscribers))])]}},{key:"url",fn:function(s){return["trash"!=s.row.post_status?e("a",{attrs:{href:s.row.url,target:"_blank"}},[t._v(t._s(s.row.url))]):e("span")]}},{key:"name",fn:function(s){return[e("span",{staticClass:"sp-text-sm"},[e("a",{staticClass:"sp-font-bold",attrs:{href:"?page="+t.shared.page_path+"_builder&id="+s.row.id+"#/setup/"+s.row.id+"/block-options"}},[t._v(t._s(s.row.name))]),"publish"!=s.row.post_status?e("span",{staticClass:"post-state sp-font-bold"},[t._v(" – "+t._s(s.row.status))]):t._e()]),"trash"!=s.row.post_status?e("div",{staticClass:"row-actions",class:{"sp-invisible":t.show_row!=s.row.id}},[e("span",{staticClass:"setup"},[e("a",{attrs:{href:"?page="+t.shared.page_path+"_builder&id="+s.row.id+"#/setup/"+s.row.id+"/block-options"}},[t._v(t._s(t.txt_19))]),t._v("\n |\n ")]),e("span",{staticClass:"subscribers"},[e("a",{attrs:{href:"?page="+t.shared.page_path+"#/subscribers/"+s.row.id}},[t._v(t._s(t.txt_20))]),t._v("\n |\n ")]),e("span",{staticClass:"publish2"},[e("a",{attrs:{href:t.shared.home_url+"?page_id="+s.row.id,target:"_blank"}},[t._v(t._s(t.txt_6))]),t._v("\n |\n ")]),e("span",{staticClass:"duplicate"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.duplicate(s.row)}}},[t._v(t._s(t.txt_21))]),t._v("\n |\n ")]),e("span",{staticClass:"delete"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archive(s.row.id)}}},[t._v(t._s(t.txt_22))])])]):e("div",{staticClass:"row-actions",class:{"sp-invisible":t.show_row!=s.row.id}},[e("span",{},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchive(s.row.id)}}},[t._v(t._s(t.txt_27))]),t._v("\n |\n ")]),e("span",{staticClass:"delete"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.trash(s.row.id)}}},[t._v(t._s(t.txt_28))])])])]}},{key:"date",fn:function(s){return["publish"==s.row.post_status?e("div",{staticClass:"sp-font-semibold date column-date sp-w-full"},[t._v("\n "+t._s(t.txt_23)+"\n "),e("br"),e("span",{attrs:{title:s.row.posted_at}},[t._v(t._s(s.row.posted_at))])]):t._e(),"draft"==s.row.post_status||"trash"==s.row.post_status?e("div",{staticClass:"sp-font-semibold column-date sp-w-full"},[t._v("\n "+t._s(t.txt_24)+"\n "),e("br"),e("span",{attrs:{title:s.row.modified_at}},[t._v(t._s(s.row.modified_at))])]):t._e()]}}],null,!1,3456503522)})],1):e("div",{staticClass:"sp-bg-neutral-10 sp-flex sp-justify-center sp-flex-col sp-items-center sp-h-64"},[e("div",{staticClass:"sp-font-bold sp-text-xl sp-mb-4"},[t._v(t._s(t.txt_25))]),e("a",{staticClass:"sp-font-semibold sp-text-sm sp-inline-flex sp-items-center sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path+"_template&id=0#/template"}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}})]),t._v("\n "+t._s(t.txt_26)+"\n ")])])])])])])])},f=[],x=e("bd86"),v=e("e814"),w=e.n(v),y=(e("6b54"),e("386d"),e("f499")),C=e.n(y),k=e("323e"),j=e.n(k),O=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{class:{"table-loading":t.loading}},[t.loading?e("div",{staticClass:"table-loader-wrap"},[e("div",{staticClass:"table-loader-center"},[e("div",{staticClass:"table-loader"}),e("div",{staticClass:"table-loader-txt"},[t._v(t._s(t.txt_1)+"...")])])]):t._e(),e("div",{staticClass:"tablenav top"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-top"}},[t._v(t._s(t.txt_2))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-top"},on:{change:function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.bulkLocal=s.target.multiple?e:e[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.txt_3))]),t._l(t.bulkActions,function(s){return e("option",{domProps:{value:s.key}},[t._v(t._s(s.label))])})],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length&&-1===this.bulkLocal.indexOf("all")},on:{click:function(s){return s.preventDefault(),t.handleBulkAction(s)}}},[t._v("\n\t\t\t\t"+t._s(t.txt_4)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"alignleft actions"},[t._t("filters")],2),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.txt_5))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.goToCustomPage(s)}}}),t._v("\n\t\t\t\t\t\tof\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])]),e("table",{class:t.tableClass},[e("thead",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(s){var e=t.selectAll,a=s.target,n=!!a.checked;if(Array.isArray(e)){var i=null,o=t._i(e,i);a.checked?o<0&&(t.selectAll=e.concat([i])):o>-1&&(t.selectAll=e.slice(0,o).concat(e.slice(o+1)))}else t.selectAll=n}}})]):t._e(),t._l(t.columns,function(s,a){return e("th",{key:a,class:["column",a,{sortable:t.isSortable(s)},{sorted:t.isSorted(a)},{asc:t.isSorted(a)&&"asc"===t.sortOrder},{desc:t.isSorted(a)&&"desc"===t.sortOrder}]},[t.isSortable(s)?e("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.handleSortBy(a)}}},[e("span",[t._v(t._s(s.label))]),e("span",{staticClass:"sorting-indicator"})]):[t._v("\n\t\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t\t")]],2)})],2)]),e("tfoot",[e("tr",[t.showCb?e("td",{staticClass:"manage-column column-cb check-column"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectAll,expression:"selectAll"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selectAll)?t._i(t.selectAll,null)>-1:t.selectAll},on:{change:function(s){var e=t.selectAll,a=s.target,n=!!a.checked;if(Array.isArray(e)){var i=null,o=t._i(e,i);a.checked?o<0&&(t.selectAll=e.concat([i])):o>-1&&(t.selectAll=e.slice(0,o).concat(e.slice(o+1)))}else t.selectAll=n}}})]):t._e(),t._l(t.columns,function(s,a){return e("th",{key:a,class:["column",a]},[t._v("\n\t\t\t\t\t"+t._s(s.label)+"\n\t\t\t\t")])})],2)]),e("tbody",[t.rows.length?t._l(t.rows,function(s){return e("tr",{key:s[t.index],class:s["class"],on:{mouseover:function(e){return t.rowOver(s)},mouseleave:function(e){return t.rowOut(s)}}},[t.showCb?e("th",{staticClass:"check-column",attrs:{scope:"row"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.checkedItems,expression:"checkedItems"}],attrs:{type:"checkbox",name:"item[]"},domProps:{value:s[t.index],checked:Array.isArray(t.checkedItems)?t._i(t.checkedItems,s[t.index])>-1:t.checkedItems},on:{change:function(e){var a=t.checkedItems,n=e.target,i=!!n.checked;if(Array.isArray(a)){var o=s[t.index],r=t._i(a,o);n.checked?r<0&&(t.checkedItems=a.concat([o])):r>-1&&(t.checkedItems=a.slice(0,r).concat(a.slice(r+1)))}else t.checkedItems=i}}})]):t._e(),t._l(t.columns,function(a,n){return e("td",{key:n,class:["column",n]},[t._t(n,[t._v(t._s(s[n]))],{row:s}),t.actionColumn===n&&t.hasActions?e("div",{staticClass:"row-actions"},[t._t("row-actions",t._l(t.actions,function(a,n){return"archived"!=t.filter?e("span",{key:n,class:a.key},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionClicked(a.key,s)}}},[t._v(t._s(a.label))]),t.hideActionSeparator(a.key)?t._e():[t._v("\n\t\t\t\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t\t\t")]],2):t._e()}),{row:s})],2):t._e()],2)})],2)}):e("tr",[e("td",{attrs:{colspan:t.colspan}},[t._v(t._s(t.txt_6))])])],2)]),e("div",{staticClass:"tablenav bottom"},[t.hasBulkActions?e("div",{staticClass:"alignleft actions bulkactions"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"bulk-action-selector-bottom"}},[t._v(t._s(t.txt_7))]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.bulkLocal,expression:"bulkLocal"}],attrs:{name:"action",id:"bulk-action-selector-bottom"},on:{change:function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.bulkLocal=s.target.multiple?e:e[0]}}},[e("option",{attrs:{value:"-1"}},[t._v(t._s(t.txt_3))]),t._l(t.bulkActions,function(s,a){return e("option",{key:a,domProps:{value:s.key}},[t._v(t._s(s.label))])})],2),e("button",{staticClass:"button action",staticStyle:{"margin-bottom":"1px"},attrs:{disabled:!t.checkedItems.length},on:{click:function(s){return s.preventDefault(),t.handleBulkAction(s)}}},[t._v("\n\t\t\t\t"+t._s(t.txt_4)+"\n\t\t\t")])]):t._e(),e("div",{staticClass:"tablenav-pages"},[e("span",{staticClass:"displaying-num"},[t._v(t._s(t.itemsTotal)+" "+t._s(t.txt_5))]),t.hasPagination?e("span",{staticClass:"pagination-links"},[t.disableFirst?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("«")]):e("a",{staticClass:"first-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("«")])]),t.disablePrev?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("‹")]):e("a",{staticClass:"prev-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage-1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("‹")])]),e("span",{staticClass:"paging-input"},[e("span",{staticClass:"tablenav-paging-text"},[e("input",{staticClass:"current-page",attrs:{type:"text",name:"paged","aria-describedby":"table-paging",size:"1"},domProps:{value:t.currentPage},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.goToCustomPage(s)}}}),t._v("\n\t\t\t\t\t\tof\n\t\t\t\t\t\t"),e("span",{staticClass:"total-pages"},[t._v(t._s(t.totalPages))])])]),t.disableNext?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("›")]):e("a",{staticClass:"next-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.currentPage+1)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("›")])]),t.disableLast?e("span",{staticClass:"tablenav-pages-navspan button disabled",attrs:{"aria-hidden":"true"}},[t._v("»")]):e("a",{staticClass:"last-page",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPage(t.totalPages)}}},[e("span",{staticClass:"tablenav-pages-navspan button",attrs:{"aria-hidden":"true"}},[t._v("»")])])]):t._e()])])])},P=[],S=(e("ac6a"),e("a4bb")),L=e.n(S),z=(e("c5f6"),{name:"ListTable",props:{filter:{type:String,default:""},columns:{type:Object,required:!0,default:function(){return{}}},rows:{type:Array,required:!0,default:function(){return[]}},index:{type:String,default:"id"},showCb:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},actionColumn:{type:String,default:""},actions:{type:Array,required:!1,default:function(){return[]}},bulkActions:{type:Array,required:!1,default:function(){return[]}},tableClass:{type:String,default:"wp-list-table widefat fixed striped"},notFound:{type:String,default:"No items found."},totalItems:{type:Number,default:0},totalPages:{type:Number,default:1},perPage:{type:Number,default:20},currentPage:{type:Number,default:1},sortBy:{type:String,default:null},sortOrder:{type:String,default:"asc"}},data:function(){return{txt_1:Object(l["a"])("Loading","coming-soon"),txt_2:Object(l["a"])("Select bulk action","coming-soon"),txt_3:Object(l["a"])("Bulk Actions","coming-soon"),txt_4:Object(l["a"])("Apply","coming-soon"),txt_5:Object(l["a"])("items","coming-soon"),txt_6:Object(l["a"])("No items found.","coming-soon"),txt_7:Object(l["a"])("Select bulk action","coming-soon"),txt_8:Object(l["a"])("Select bulk action","coming-soon"),bulkLocal:"-1",checkedItems:[],shared:seedprod_store_admin}},computed:{hasActions:function(){return 0<this.actions.length},hasBulkActions:function(){return this.bulkLocal="-1",0<this.bulkActions.length},itemsTotal:function(){return this.totalItems||this.rows.length},hasPagination:function(){return this.itemsTotal>this.perPage},disableFirst:function(){return 1===this.currentPage||2===this.currentPage},disablePrev:function(){return 1===this.currentPage},disableNext:function(){return this.currentPage===this.totalPages},disableLast:function(){return this.currentPage===this.totalPages||this.currentPage==this.totalPages-1},colspan:function(){var t=L()(this.columns).length;return this.showCb&&(t+=1),t},selectAll:{get:function(){return!!this.rows.length&&(!!this.rows&&this.checkedItems.length==this.rows.length)},set:function(t){var s=[],e=this;t&&this.rows.forEach(function(t){void 0!==t[e.index]?s.push(t[e.index]):s.push(t.id)}),this.checkedItems=s}}},methods:{hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.$emit("rowOver",t)},rowOut:function(t){this.$emit("rowOut",t)},actionClicked:function(t,s){this.$emit("action:click",t,s)},goToPage:function(t){this.$emit("pagination",t)},goToCustomPage:function(t){var s=w()(t.target.value);!isNaN(s)&&0<s&&s<=this.totalPages&&this.$emit("pagination",s)},handleBulkAction:function(){"-1"!==this.bulkLocal&&this.$emit("bulk:click",this.bulkLocal,this.checkedItems)},clear_checked:function(){this.checkedItems=[]},isSortable:function(t){return!(!t.hasOwnProperty("sortable")||!0!==t.sortable)},isSorted:function(t){return t===this.sortBy},handleSortBy:function(t){var s="asc"===this.sortOrder?"desc":"asc";this.$emit("sort",t,s)}}}),M=z,T=Object(u["a"])(M,O,P,!1,null,null,null),B=T.exports,A={name:"Dashboard",components:{ListTable:B},data:function(){return{txt_1:Object(l["a"])("Coming Soon Mode","coming-soon"),txt_2:Object(l["a"])("Search Landing Pages","coming-soon"),txt_3:Object(l["a"])("The Coming Soon Page will be available to search engines if your site is not private.","coming-soon"),txt_4:Object(l["a"])("Set up a Coming Soon Page","coming-soon"),txt_5:Object(l["a"])("Edit Page","coming-soon"),txt_6:Object(l["a"])("Preview","coming-soon"),txt_7:Object(l["a"])("Active","coming-soon"),txt_8:Object(l["a"])("Inactive","coming-soon"),txt_9:Object(l["a"])("Maintenance Mode","coming-soon"),txt_10:Object(l["a"])("The Maintenance Mode Page will notify search engines that the site is unavailable.","coming-soon"),txt_11:Object(l["a"])("Set up a Maintenance Mode Page","coming-soon"),txt_14:Object(l["a"])("404 Page","coming-soon"),txt_15:Object(l["a"])("Replace your default theme 404 page with a custom high converting 404 page.","coming-soon"),txt_16:Object(l["a"])("Set up a 404 Page","coming-soon"),txt_17:Object(l["a"])("Landing Pages","coming-soon"),txt_18:Object(l["a"])("Add New Landing Page","coming-soon"),txt_19:Object(l["a"])("Edit","coming-soon"),txt_20:Object(l["a"])("Subscribers","coming-soon"),txt_21:Object(l["a"])("Duplicate","coming-soon"),txt_22:Object(l["a"])("Trash","coming-soon"),txt_23:Object(l["a"])("Published","coming-soon"),txt_24:Object(l["a"])("Last Modified","coming-soon"),txt_25:Object(l["a"])("You do not have any landing pages yet.","coming-soon"),txt_26:Object(l["a"])("Create New Landing Page","coming-soon"),txt_27:Object(l["a"])("Restore","coming-soon"),txt_28:Object(l["a"])("Delete Permanently","coming-soon"),txt_29:Object(l["a"])("SeedProd Coming Soon Page","coming-soon"),txt_30:Object(l["a"])("SeedProd Maintenance Page","coming-soon"),txt_31:Object(l["a"])("SeedProd 404 Page","coming-soon"),txt_32:Object(l["a"])("Create Optin, Sales, Webinar, Thank You or any type of Landing Page you need.","coming-soon"),txt_33:Object(l["a"])("Login Page","coming-soon"),txt_34:Object(l["a"])("Create a Custom Login Page for your website. Optionally replace the default login page.","coming-soon"),txt_35:Object(l["a"])("Set up a Login Page","coming-soon"),txt_36:Object(l["a"])("SeedProd Login Page","coming-soon"),shared:seedprod_store_admin,show_404_upgrade:!1,show_loginp_upgrade:!1,show_row:!1,show_action:!1,loading:!0,search:"",showcb:!0,totalitems:0,totalpages:0,perpage:10,actioncol:"name",currentpage:1,orderby:"",order:"",filter:"all",filters:{all:{label:Object(l["a"])("All","coming-soon"),count:0},published:{label:Object(l["a"])("Published","coming-soon"),count:0},drafts:{label:Object(l["a"])("Drafts","coming-soon"),count:0},archived:{label:Object(l["a"])("Trash","coming-soon"),count:0}},bulkactions:[{key:"archive_selected_lpages",label:Object(l["a"])("Move To Trash","coming-soon")},{key:"unarchive_selected_lpages",label:Object(l["a"])("Restore","coming-soon")},{key:"delete_all_archived_lpages",label:Object(l["a"])("Delete Permanently","coming-soon")}],columns:{name:{label:Object(l["a"])("Name","coming-soon"),sortable:!0},url:{label:Object(l["a"])("URL","coming-soon"),sortable:!1},date:{label:Object(l["a"])("Date","coming-soon"),sortable:!0}},actions:[],rows:[{name:Object(l["a"])("Loading","coming-soon")+" ...",status:"",type:"",subscribers:"",entries:"",active:""}]}},methods:(a={show_actions:function(t){this.show_action=t},create_edit_page:function(t){var s=!1;"cs"==t&&(s=this.shared.csp_id),"mm"==t&&(s=this.shared.mmp_id),"p404"==t&&(s=this.shared.p404_id),"loginp"==t&&(s=this.shared.loginp_id),s?location.href="?page="+this.shared.page_path+"_builder&id="+s+"#/setup/"+s+"/block-options":("cs"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=cs#/template"),"mm"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=mm#/template"),"p404"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=p404#/template"),"loginp"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=loginp#/template"))},enable_mode:function(t){var s=t;j.a.start(),1==t&&!0===this.shared.settings.enable_maintenance_mode&&(this.shared.settings.enable_maintenance_mode=!1),2==t&&!0===this.shared.settings.enable_coming_soon_mode&&(this.shared.settings.enable_coming_soon_mode=!1);var e=p.a.stringify({settings:C()(this.shared.settings)}),a="admin-ajax.php?action="+this.shared.page_path+"_save_settings&_wpnonce="+seedprod_nonce;this.axios.post(a,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){j.a.done(),1!=s&&2!=s||location.reload()})},filter_bulk:function(t){var s=[];return s="archived"==this.filter?t.slice(1):t.slice(0,1),s},hideActionSeparator:function(t){return t===this.actions[this.actions.length-1].key},rowOver:function(t){this.show_row=t.id},rowOut:function(t){this.show_row=!1},enable_disable:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_enable_disable_lpage_ajax_url+"&id="+t.id+"&current_state="+t.active).then(function(e){s.loading=!1,"enabled"==e.data.status&&(t.active=!0,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Page Enabled",toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3})),"disabled"==e.data.status&&(t.active=!1,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Page Disabled",toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}))})},status_action:function(t,s){"needs_setup"==s&&(location.href="?page="+this.shared.page_path+"_builder&id="+t+"#/setup/"+t)},goto_dashboard:function(){this.$router.push({name:"dashboard"})},clear_search:function(){this.search,this.loadItems()},archive:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_archive_selected_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){s.loading=!1,s.$refs.lpagedt.clear_checked(),t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Moved to Trash.","coming-soon"),toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.loadItems())})},unarchive:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_unarchive_selected_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){s.loading=!1,s.$refs.lpagedt.clear_checked(),t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Restored.","coming-soon"),customClass:"sp-toast-success",toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),s.loadItems())})},trash:function(t){var s=this,e=this;this.$swal({title:Object(l["a"])("Are you sure?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:Object(l["a"])("Yes, empty trash!","coming-soon")}).then(function(a){a.value&&(e.loading=!0,s.axios.get(seedprod_delete_archived_lpages+"&ids="+encodeURIComponent(t.toString())).then(function(t){e.loading=!1,e.$refs.lpagedt.clear_checked(),t.data.status&&(e.$swal({imageUrl:e.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Pages Deleted!","coming-soon"),toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}))})},duplicate:function(t){var s=this;s.loading=!0,this.axios.get(seedprod_duplicate_lpage_url+"&id="+t.id).then(function(t){s.loading=!1,t.data.status&&(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Page Duplicated","coming-soon"),toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),s.orderby="",s.loadItems())})},loadItems:function(t){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";var s=this;s.loading=!0,j.a.start(),this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_lpage_datatable&_wpnonce="+seedprod_nonce+"&current_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+this.search).then(function(t){s.loading=!1,j.a.done(),s.rows=t.data.rows,s.totalitems=w()(t.data.totalitems),s.totalpages=w()(t.data.totalpages),s.currentpage=w()(t.data.currentpage),null!=t.data.views&&(s.filters.all.count=w()(t.data.views.all),s.filters.archived.count=w()(t.data.views.archived),s.filters.published.count=w()(t.data.views.published),s.filters.drafts.count=w()(t.data.views.drafts))})},filter_table:function(t){this.filter=t,0==this.filters[t].count?this.rows=[]:this.loadItems()}},Object(x["a"])(a,"show_actions",function(t){this.show_action=t}),Object(x["a"])(a,"goto_subscribers",function(t){this.$router.push({name:"subscribers",params:{id:t}})}),Object(x["a"])(a,"goToPage",function(t){this.currentpage=t,this.loadItems()}),Object(x["a"])(a,"actionClicked",function(t,s){this.onActionClick(t,s)}),Object(x["a"])(a,"onActionClick",function(t,s){"duplicate"==t&&this.duplicate(s),"delete"==t&&this.archive(s.id),"setup"==t&&(location.href="?page="+this.shared.page_path+"_builder&id="+s.id+"#/setup/"+s.id+"/block-options"),"publish2"==t&&window.open(this.shared.home_url+"?p="+s.id+"&preview=true","_blank"),"subscribers"==t&&this.$router.push({name:"subscribers",params:{id:s.id}})}),Object(x["a"])(a,"onBulkAction",function(t,s){"archive_selected_lpages"==t&&this.archive(s),"unarchive_selected_lpages"==t&&this.unarchive(s),"delete_all_archived_lpages"==t&&this.trash(s)}),Object(x["a"])(a,"sortCallback",function(t,s){this.orderby=t,this.order=s,this.loadItems()}),Object(x["a"])(a,"setWithExpiry",function(t,s,e){var a=new Date,n={value:s,expiry:a.getTime()+e};localStorage.setItem(t,C()(n))}),Object(x["a"])(a,"getWithExpiry",function(t){var s=localStorage.getItem(t);if(!s)return null;var e=JSON.parse(s),a=new Date;return a.getTime()>e.expiry?(localStorage.removeItem(t),null):e.value}),a),created:function(){this.loadItems()}},$=A,H=Object(u["a"])($,b,f,!1,null,null,null),U=H.exports,E=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-grid sp-grid-cols-1 lg:sp-grid-cols-2 xl:sp-grid-cols-3 sp-gap-6 sp-mt-10 "},t._l(t.plugins,function(s,a){return e("div",{key:a,staticClass:"sp-w-full sp-bg-white sp-border-neutral-15 sp-border sp-border-solid sp-py-10 sp-px-8 sp-flex sp-justify-between sp-flex-col"},[e("div",{staticClass:"seedprod-plugin-recommendations-block sp-flex sp-flex-col"},[e("div",{staticClass:"sp-flex sp-items-center sp-flex-col"},[e("div",[e("img",{staticClass:"sp-w-16",attrs:{src:s.icon}})]),e("div",{staticClass:"sp-text-center sp-text-neutral-80"},[e("h3",{staticClass:"sp-text-neutral-80 sp-text-xl"},[t._v("\n "+t._s(s.name)+"\n ")]),e("p",{staticClass:"sp-text-sm",domProps:{innerHTML:t._s(s.desc)}})])])]),e("div",[t.shared.doing_ajax==a||"all"==t.shared.doing_ajax?e("div",[t._m(0,!0)]):e("div",{staticClass:"sp-flex sp-flex-col sp-items-center"},[!0===s.is_pro?e("div",[t._v("\n "+t._s(t.plugins["wpforms-pro"])+"\n "),e("strong",[t._v(t._s(t.txt_1)+":")]),t._v(" "+t._s(t.txt_2)+"\n ")]):e("div",{staticClass:"sp-flex sp-flex-col sp-items-center"},[e("div",[e("strong",[t._v(t._s(t.txt_1)+":")]),t._v("\n "+t._s(s.status)+"\n ")]),e("button",{staticClass:"sp-mt-1 sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-base hover:sp-bg-primary-lighter sp-cursor-pointer sp-font-semibold",on:{click:function(s){return t.plugin_action(a)}}},[t._v("\n "+t._s(t.plugin_btn_txt(s))+"\n ")])])])])])}),0)])},D=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticStyle:{"text-align":"center",flex:"1"}},[e("i",{staticClass:"fas fa-spinner fa-spin"})])}],I={name:"GrowthTools",components:{},data:function(){return{txt_1:Object(l["a"])("Status","coming-soon"),txt_2:Object(l["a"])("PRO Version installed","coming-soon"),all_plugins:{},plugins:{rafflepress:{slug_base:"rafflepress",slug:"rafflepress/rafflepress.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-rp.png",name:"RafflePress",desc:"Turn your visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with powerful viral giveaways & contests.",url:"https://downloads.wordpress.org/plugin/rafflepress.zip",status:"",status_code:"",is_pro:!1},wpforms:{slug_base:"wpforms-lite",slug:"wpforms-lite/wpforms.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-wpforms.png",name:"WPForms",desc:"The most beginner friendly drag & drop WordPress forms plugin allowing you to create beautifdivcontact forms, subscription forms, payment forms, and more in minutes, not hours!",url:"https://downloads.wordpress.org/plugin/wpforms-lite.zip",status:"",status_code:"",is_pro:!1},optinmonster:{slug_base:"optinmonster",slug:"optinmonster/optin-monster-wp-api.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-om.png",name:"OptinMonster",desc:"Our high-converting optin forms like Exit-Intent® popups, Fullscreen Welcome Mats, and Scroll boxes help you dramatically boost conversions and get more email subscribers.",url:"https://downloads.wordpress.org/plugin/optinmonster.zip",status:"",status_code:"",is_pro:!1},wpmailsmtp:{slug_base:"wp-mail-smtp",slug:"wp-mail-smtp/wp_mail_smtp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-smtp.png",name:"WP Mail SMTP",desc:"SMTP (Simple Mail Transfer Protocol) is an industry standard for sending emails. SMTP helps increase email deliverability by using proper authentication.",url:"https://downloads.wordpress.org/plugin/wp-mail-smtp.zip",status:"",status_code:"",is_pro:!1},monsterinsights:{slug_base:"google-analytics-for-wordpress",slug:"google-analytics-for-wordpress/googleanalytics.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-mi.png",name:"MonsterInsights",desc:"MonsterInsights makes it “effortless” to properly connect your WordPress site with Google Analytics, so you can start making data-driven decisions to grow your business.",url:"https://downloads.wordpress.org/plugin/google-analytics-for-wordpress.zip",status:"",status_code:"",is_pro:!1},trustpulse:{slug_base:"trustpulse-api",slug:"trustpulse-api/trustpulse.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-trustpulse.png",name:"TrustPulse",desc:"TrustPulse uses FOMO (Fear of Missing Out) to boost your sales and conversions with social proof notifications. Use it to boost sales on your Woocommerce store, increase signups on your membership site, get more email subscribers, and more.",url:"https://downloads.wordpress.org/plugin/coming-soon.zip",status:"",status_code:"",is_pro:!1},"all-in-one":{slug_base:"all-in-one-seo-pack",slug:"all-in-one-seo-pack/all_in_one_seo_pack.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-aioseo.png",name:"All in One SEO",desc:"The original WordPress SEO plugin. Improve your WordPress SEO rankings and traffic with our comprehensive SEO tools and smart SEO optimizations.",url:"https://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip",status:"",status_code:"",is_pro:!1},exactmetrics:{slug_base:"google-analytics-dashboard-for-wp",slug:"google-analytics-dashboard-for-wp/gadwp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-exactmetrics.png",name:"ExactMetrics",desc:"The ExactMetrics Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.",url:"https://downloads.wordpress.org/plugin/google-analytics-dashboard-for-wp.zip",status:"",status_code:"",is_pro:!1},instagramfeed:{slug_base:"instagram-feed",slug:"instagram-feed/instagram-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-social-photo-feed.png",name:"Smash Balloon Social Photo Feed",desc:"Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.",url:"https://downloads.wordpress.org/plugin/instagram-feed.zip",status:"",status_code:"",is_pro:!1},customfacebookfeed:{slug_base:"custom-facebook-feed",slug:"custom-facebook-feed/custom-facebook-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-custom-facebook-feed.png",name:"Smash Balloon Social Post Feed",desc:"Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.",url:"https://downloads.wordpress.org/plugin/custom-facebook-feed.zip",status:"",status_code:"",is_pro:!1},customtwitterfeeds:{slug_base:"custom-twitter-feeds",slug:"custom-twitter-feeds/custom-twitter-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-custom-twitter-feeds.png",name:"Smash Balloon Twitter Feeds",desc:"Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.",url:"https://downloads.wordpress.org/plugin/custom-twitter-feeds.zip",status:"",status_code:"",is_pro:!1},feedsforyoutube:{slug_base:"feeds-for-youtube",slug:"feeds-for-youtube/youtube-feed.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-feeds-for-youtube.png",name:"Smash Balloon YouTube Feeds",desc:"Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.",url:"https://downloads.wordpress.org/plugin/feeds-for-youtube.zip",status:"",status_code:"",is_pro:!1},pushengage:{slug_base:"pushengage",slug:"pushengage/main.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-pushengage.png",name:"PushEngage",desc:"Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.",url:"https://downloads.wordpress.org/plugin/pushengage.zip",status:"",status_code:"",is_pro:!1},sugarcalendar:{slug_base:"sugar-calendar-lite",slug:"sugar-calendar-lite/sugar-calendar-lite.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-sugarcalendar.png",name:"Sugar Calendar",desc:"A simple & powerful event calendar plugin for WordPress that comes with all the event management features including payments, scheduling, timezones, ticketing, recurring events, and more.",url:"https://downloads.wordpress.org/plugin/sugar-calendar-lite.zip",status:"",status_code:"",is_pro:!1},wpsimplepay:{slug_base:"stripe",slug:"stripe/stripe-checkout.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-stripe.png",name:"WP Simple Pay",desc:"The #1 Stripe payments plugin for WordPress. Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required.",url:"https://downloads.wordpress.org/plugin/stripe.zip",status:"",status_code:"",is_pro:!1},easydigitaldownloads:{slug_base:"easy-digital-downloads",slug:"easy-digital-downloads/easy-digital-downloads.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-easydigitaldownloads.png",name:"Easy Digital Downloads",desc:"The best WordPress eCommerce plugin for selling digital downloads. Start selling eBooks, software, music, digital art, and more within minutes. Accept payments, manage subscriptions, advanced access control, and more.",url:"https://downloads.wordpress.org/plugin/easy-digital-downloads.zip",status:"",status_code:"",is_pro:!1},searchwp:{slug_base:"searchwp",slug:"searchwp/index.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-searchwp.svg",name:"SearchWP",desc:"The most advanced WordPress search plugin. Customize your WordPress search algorithm, reorder search results, track search metrics, and everything you need to leverage search to grow your business.",url:"https://searchwp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0},affiliatewp:{slug_base:"affiliate-wp",slug:"affiliate-wp/affiliate-wp.php",icon:seedprod_store_admin.plugin_path+"public/img/plugin-affiliatewp.png",name:"AffiliateWP",desc:"The #1 affiliate management plugin for WordPress. Easily create an affiliate program for your eCommerce store or membership site within minutes and start growing your sales with the power of referral marketing.",url:"https://affiliatewp.com/",status:"",status_code:"",is_pro:!1,redirect_to_installation_page:!0}},shared:seedprod_store_admin}},methods:{plugin_action:function(t){var s=this;this.doing_ajax=!0;var e="",a="",n=t;s.shared.doing_ajax=t;var i="";0===this.plugins[t].status_code&&(e=seedprod_get_install_addon_url,i=p.a.stringify({plugin:this.plugins[t].url,type:"plugin"}),a="install"),1===this.plugins[t].status_code&&(e=seedprod_deactivate_addon_url,i=p.a.stringify({plugin:this.plugins[t].slug,type:"plugin"}),a="deactivate"),2===this.plugins[t].status_code&&(e=seedprod_activate_addon_url,i=p.a.stringify({plugin:this.plugins[t].slug,type:"plugin"}),a="activate"),"install"===a&&this.plugins[t].redirect_to_installation_page?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Opening plugin installation page...",toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),window.open(this.plugins[t].url+"?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=seedprod&utm_content=growth-tools","_blank"),s.shared.doing_ajax=!1):this.axios.post(e,i,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(e){if(s.shared.doing_ajax=!1,"install"==a)if(e.data.error){s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.error,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3});var i=p.a.stringify({plugin:s.plugins[n].slug_base});s.axios.post(seedprod_plugin_nonce_url,i,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data&&window.open("update.php?action=install-plugin&plugin="+s.plugins[n].slug_base+"&_wpnonce="+t.data,"_blank")})}else s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Plugin Installed, click Activate",toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Inactive",s.plugins[t].status_code=2,s.$forceUpdate();"activate"==a&&(e.data.success?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:e.data.data,toast:!0,type:null,position:"top-end",customClass:"sp-toast-success",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Active",s.plugins[t].status_code=1,s.$forceUpdate()):s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.data,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})),"deactivate"==a&&(e.data.success?(s.$swal({imageUrl:s.shared.plugin_path+"public/svg/success-24px-white.svg",text:e.data.data,toast:!0,type:null,customClass:"sp-toast-success",position:"top-end",showConfirmButton:!1,timer:3e3}),s.plugins[t].status="Inactive",s.plugins[t].status_code=2,s.$forceUpdate()):s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:e.data.data,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3}))}).catch(function(t){s.shared.doing_ajax=!1,s.$swal({imageUrl:s.shared.plugin_path+"public/svg/error-24px-white.svg",text:t,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3})})},plugin_btn_txt:function(t){var s="";return"Not Installed"==t.status&&(s=Object(l["a"])("Install","coming-soon")),"Active"==t.status&&(s=Object(l["a"])("Deactivate","coming-soon")),"Inactive"==t.status&&(s=Object(l["a"])("Activate","coming-soon")),s}},mounted:function(){var t=this;t.shared.doing_ajax="all",this.axios.get(seedprod_get_plugins_list_url).then(function(s){if(t.shared.doing_ajax=!1,s.data)for(var e in s.data)void 0!==t.plugins[e]&&("wpforms"==e&&0!==s.data["wpforms-pro"].status&&(t.plugins[e].is_pro=!0),"rafflepress"==e&&0!==s.data["rafflepress-pro"].status&&(t.plugins[e].is_pro=!0),"monsterinsights"==e&&0!==s.data["monsterinsights-pro"].status&&(t.plugins[e].is_pro=!0),"wpmailsmtp"==e&&0!==s.data["wpmailsmtp-pro"].status&&(t.plugins[e].is_pro=!0),"exactmetrics"==e&&0!==s.data["exactmetrics-pro"].status&&(t.plugins[e].is_pro=!0),"instagramfeed"==e&&0!==s.data["instagramfeed-pro"].status&&(t.plugins[e].is_pro=!0),"customfacebookfeed"==e&&0!==s.data["customfacebookfeed-pro"].status&&(t.plugins[e].is_pro=!0),"customtwitterfeeds"==e&&0!==s.data["customtwitterfeeds-pro"].status&&(t.plugins[e].is_pro=!0),"feedsforyoutube"==e&&0!==s.data["feedsforyoutube-pro"].status&&(t.plugins[e].is_pro=!0),"all-in-one"==e&&0!==s.data["all-in-one-pro"].status&&(t.plugins[e].is_pro=!0),"sugarcalendar"==e&&0!==s.data["sugarcalendar-pro"].status&&(t.plugins[e].is_pro=!0),"wpsimplepay"==e&&0!==s.data["wpsimplepay-pro"].status&&(t.plugins[e].is_pro=!0),t.plugins[e].status=s.data[e].label,t.plugins[e].status_code=s.data[e].status)}).catch(function(s){t.shared.doing_ajax=!1,t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})})},created:function(){}},W=I,F=Object(u["a"])(W,E,D,!1,null,null,null),V=F.exports,N=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-absolute sp-z-10 sp-w-full sp-flex sp-justify-center"},[e("LiteCTASubscribers")],1),e("div",{staticStyle:{filter:"blur(3px)"},attrs:{id:"seedprod-users"}},[e("div",{staticClass:"md:sp-flex sp-mt-10"},[e("div",{staticClass:"sp-w-full md:sp-w-1/2 sp-flex sp-items-center"},[e("h1",{staticClass:"sp-text-neutral sp-font-bold sp-text-2xl sp-m-0"},[t._v(t._s(t.txt_1))])]),0!=t.shared.subscriber_count?e("div",{staticClass:"sp-w-full md:sp-w-1/2 sp-flex sp-items-center sp-justify-end"},[e("a",{staticClass:"sp-inline-block sp-bg-neutral-15 hover:sp-bg-neutral-20 sp-h-40px sp-px-4 sp-rounded sp-leading-none sp-text-neutral-80 sp-no-underline sp-text-sm sp-cursor-pointer sp-font-semibold sp-flex sp-items-center sp-mr-2",attrs:{href:"#",target:"_blank"},on:{click:function(s){return s.preventDefault(),t.export_subscribers(s)}}},[e("svg",{staticClass:"sp-fill-current sp-w-4 sp-h-4 sp-mr-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n "+t._s(t.txt_2)+"\n ")]),e("div",{staticClass:"sp-relative"},[e("div",{staticClass:"sp-bg-white sp-border sp-border-neutral-20 sp-border-solid sp-rounded-sm sp-h-40px sp-w-275 sp-cursor-pointer"},[e("span",{staticClass:"sp-flex sp-items-center sp-h-40px sp-justify-between sp-text-neutral-80 sp-px-3 sp-text-base sp-truncate",on:{click:function(s){return s.preventDefault(),t.toggle_lpage_list(s)}}},[t._v("\n "+t._s(t.lpage_name)+"\n "),e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7 10l5 5 5-5z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})])])]),t.show_lpage_list?e("div",{staticClass:"sp-absolute sp-bg-white sp-border sp-border-neutral-20 sp-border-solid sp-rounded-sm sp-z-20 sp-w-275 sp-h-275 sp-overflow-y-auto sp-shadow-lg sp-px-1 sp-py-1"},[e("ul",{staticClass:"sp-m-0"},[0==t.lpage_list.length&&0!=t.shared.page_count?e("li",{staticClass:"sp-m-0 sp-py-1"},[e("span",{staticClass:"sp-px-2 sp-text-neutral-80 sp-text-sm sp-font-bold"},[t._v("\n "+t._s(t.txt_3)+"\n "),e("i",{staticClass:"fas fa-spinner fa-spin"})])]):t._e(),e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(0,0,"All Pages")}}},[t._v(t._s(t.txt_4))])]),""!=t.shared.csp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.csp_id,t.shared.csp_uuid,"Coming Soon Page")}}},[t._v(t._s(t.txt_5))])]):t._e(),""!=t.shared.mmp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.mmp_id,t.shared.mmp_uuid,"Maintenance Mode Page")}}},[t._v(t._s(t.txt_6))])]):t._e(),""!=t.shared.loginp_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.loginp_id,t.shared.loginp_uuid,"Login Page")}}},[t._v(t._s(t.txt_13))])]):t._e(),""!=t.shared.p404_id?e("li",[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-0 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.load_lpage_users(t.shared.p404_id,t.shared.p404_uuid,"404 Page")}}},[t._v(t._s(t.txt_7))])]):t._e(),0!=t.lpage_list.length?e("hr",{staticClass:"sp-border sp-border-neutral-20 sp-border-b-0"}):t._e(),0!=t.lpage_list.length?e("li",{staticClass:"sp-m-0 sp-py-1"},[e("span",{staticClass:"sp-px-2 sp-text-neutral-40 sp-font-bold sp-uppercase sp-tracking-wide sp-text-12px"},[t._v(t._s(t.txt_8))])]):t._e(),t._l(t.lpage_list,function(s,a){return e("li",{key:a,staticClass:"sp-m-0"},[e("a",{staticClass:"sp-rounded-sm sp-block sp-py-1 sp-text-neutral-80 sp-text-sm sp-no-underline sp-font-semibold sp-cursor-pointer hover:sp-bg-neutral-10 sp-px-2",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.load_lpage_users(s.id,s.uuid,s.name)}}},[t._v(t._s(s.name))])])})],2)]):t._e()]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.chart_timeframe,expression:"chart_timeframe"}],staticClass:"sp-form-select sp-h-40px sp-border sp-border-neutral-20 sp-border-solid sp-ml-2",on:{change:[function(s){var e=Array.prototype.filter.call(s.target.options,function(t){return t.selected}).map(function(t){var s="_value"in t?t._value:t.value;return s});t.chart_timeframe=s.target.multiple?e:e[0]},t.loadItems]}},[e("option",{attrs:{value:"7"}},[t._v("7 "+t._s(t.txt_9))]),e("option",{attrs:{value:"30"}},[t._v("30 "+t._s(t.txt_9))])])]):t._e()]),0!=t.shared.subscriber_count?e("div",[e("div",{staticClass:"sp-border sp-border-neutral-20 sp-border-solid sp-mt-5 sp-mb-3"},[e("GChart",{attrs:{type:"AreaChart",data:t.chartData,options:t.chartOptions}})],1),e("div",{attrs:{id:"poststuff"}},[e("div",{staticClass:"metabox-holder columns-1",attrs:{id:"post-body"}},[e("div",{staticClass:"clearfix",attrs:{id:"post-body-content"}},[e("ul",{staticClass:"subsubsub"},t._l(t.filters,function(s,a){return e("li",{key:a},[e("a",{class:{current:t.filter==a},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.filter_table(a)}}},[t._v(t._s(s.label))]),t._v("\n ("+t._s(s.count)+")\n "),"invalid"!=a?e("span",[t._v("|")]):t._e()])}),0),e("p",{staticClass:"search-box sp-hidden"},[e("label",{staticClass:"screen-reader-text",attrs:{for:"order-search-input"}},[t._v(t._s(t.txt_12))]),e("span",{staticClass:"sp-relative sp-inline-flex sp-items-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"sp-rounded sp-border-solid sp-border sp-border-neutral-15 sp-outline-none",staticStyle:{padding:"6px 10px"},attrs:{id:"order-search-input"},domProps:{value:t.search},on:{keyup:function(s){return!s.type.indexOf("key")&&t._k(s.keyCode,"enter",13,s.key,"Enter")?null:t.loadItems("search")},input:function(s){s.target.composing||(t.search=s.target.value)}}}),t._v(" \n "),t.search.length>0?e("i",{staticClass:"fas fa-times-circle sp-absolute sp-text-neutral-20 sp-right-0 sp-mr-2",attrs:{id:"seedprod-search-close"},on:{click:function(s){return s.preventDefault(),t.clear_search(s)}}}):t._e()]),e("input",{staticClass:"button",attrs:{type:"submit",id:"search-submit"},domProps:{value:t.txt_12},on:{click:function(s){return s.preventDefault(),t.loadItems("search")}}})]),e("list-table",{ref:"subscribersdt",attrs:{columns:t.columns,loading:t.loading,rows:t.rows,actions:t.actions,"show-cb":t.showcb,"total-items":t.totalitems,"bulk-actions":t.bulkactions,"total-pages":t.totalpages,"per-page":t.perpage,"current-page":t.currentpage,"action-column":t.actioncol,"sort-by":t.orderby,"sort-order":t.order},on:{pagination:t.goToPage,"action:click":t.onActionClick,"bulk:click":t.onBulkAction,sort:t.sortCallback}})],1)]),e("br",{staticClass:"clear"})])]):e("div",{staticClass:"sp-mt-6 sp-bg-neutral-10 sp-flex sp-justify-center sp-flex-col sp-items-center sp-h-64"},[e("div",{staticClass:"sp-font-bold sp-text-xl sp-mb-4"},[t._v(t._s(t.txt_10))]),e("a",{staticClass:"sp-font-semibold sp-text-sm sp-inline-flex sp-items-center sp-inline-block sp-bg-primary sp-px-5 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter",attrs:{href:"admin.php?page="+t.shared.page_path}},[t._v(t._s(t.txt_11))])])])])},R=[],G=e("a745"),Y=e.n(G),q=e("b132"),J=e("cb43"),K=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-mt-6 sp-bg-white sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-px-10 sp-py-10 sp-text-center",staticStyle:{width:"650px"}},[e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),e("h1",{staticClass:"sp-mt-4 sp-mb-8 sp-leading-tight sp-text-34px sp-font-bold sp-text-neutral"},[t._v("\n\n Start Collecting Emails with SeedProd Pro\n ")]),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n "+t._s(t.txt_995)+"\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_996))])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9910))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9911))])])])]),e("a",{staticClass:"sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginsubscriberpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v(" Upgrade to SeedProd PRO Now\n ")])])])])},Q=[],X={name:"LiteCTASubscribers",data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Filter by Page","coming-soon"),txt_996:Object(l["a"])("Export to a CSV File","coming-soon"),txt_997:Object(l["a"])("Premium Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Page Access Controls","coming-soon"),txt_9910:Object(l["a"])("Subscribers Over Time","coming-soon"),txt_9911:Object(l["a"])("See Name and Emails","coming-soon"),txt_9912:Object(l["a"])("Email Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss:function(){var t=this,s=p.a.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},Z=X,tt=Object(u["a"])(Z,K,Q,!1,null,null,null),st=tt.exports;window.lodash=_.noConflict();var et={name:"Subscribers",mixins:[q["a"]],components:{ListTable:B,GChart:J["GChart"],LiteCTASubscribers:st},data:function(){var t;return t={txt_1:Object(l["a"])("Subscribers Overview","coming-soon"),txt_2:Object(l["a"])("Export to CSV","coming-soon"),txt_3:Object(l["a"])("Loading","coming-soon"),txt_4:Object(l["a"])("All Pages","coming-soon"),txt_5:Object(l["a"])("Coming Soon Page","coming-soon"),txt_6:Object(l["a"])("Maintenance Mode Page","coming-soon"),txt_7:Object(l["a"])("404 Page","coming-soon"),txt_8:Object(l["a"])("Landing Pages","coming-soon"),txt_9:Object(l["a"])("Days","coming-soon"),chart_timeframe:7,txt_10:Object(l["a"])("You do not have any subscribers yet.","coming-soon"),txt_11:Object(l["a"])("Go to Pages","coming-soon"),txt_12:Object(l["a"])("Search Emails","coming-soon"),txt_13:Object(l["a"])("Login Page","coming-soon")},Object(x["a"])(t,"chart_timeframe",7),Object(x["a"])(t,"chartData",[]),Object(x["a"])(t,"chartOptions",{chart:{title:"Subsribers Overview",subtitle:"Subscribers"},colors:["#DD4A1F"]}),Object(x["a"])(t,"enable_confirmation_email",!1),Object(x["a"])(t,"show_lpage_list",!1),Object(x["a"])(t,"shared",seedprod_store_admin),Object(x["a"])(t,"lpage_name","All Pages"),Object(x["a"])(t,"show_action",!1),Object(x["a"])(t,"lpage_uuid",""),Object(x["a"])(t,"lpage_id",this.$route.params.id),Object(x["a"])(t,"loading",!0),Object(x["a"])(t,"search",""),Object(x["a"])(t,"showcb",!0),Object(x["a"])(t,"totalitems",0),Object(x["a"])(t,"totalpages",0),Object(x["a"])(t,"perpage",100),Object(x["a"])(t,"actioncol","email"),Object(x["a"])(t,"currentpage",1),Object(x["a"])(t,"orderby",""),Object(x["a"])(t,"order",""),Object(x["a"])(t,"filter","all"),Object(x["a"])(t,"seedprod_remote_api",seedprod_remote_api),Object(x["a"])(t,"filters",{}),Object(x["a"])(t,"bulkactions",[{key:"delete_subscribers",label:"Delete Subscribers"}]),Object(x["a"])(t,"columns",{email:{label:Object(l["a"])("Email","coming-soon"),sortable:!1},full_name:{label:Object(l["a"])("Name","coming-soon"),sortable:!1},created_at:{label:Object(l["a"])("Created","coming-soon"),sortable:!1}}),Object(x["a"])(t,"actions",[{key:"delete",label:Object(l["a"])("Delete","coming-soon")}]),Object(x["a"])(t,"lpage_list",[]),Object(x["a"])(t,"rows",[{name:Object(l["a"])("Loading","coming-soon")+" ...",status:"",type:"",subscribers:"",entries:"",active:""}]),t},methods:{load_lpages:function(){var t=this;this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_get_lpage_list&_wpnonce="+seedprod_nonce).then(function(s){s.data&&(t.lpage_list=s.data,lodash.each(t.lpage_list,function(s,e){s.id==t.$route.params.id&&""==t.lpage_uuid&&(t.lpage_uuid=s.uuid,t.lpage_name=s.name,t.load_lpage_users(s.id,s.uuid,s.name,!1))}))})},load_lpage_users:function(t,s,e){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.show_lpage_list=!1,this.lpage_id=t,this.lpage_uuid=s,this.lpage_name=e,a?this.$router.push({name:"subscribers",params:{id:t}}):this.loadItems()},clear_search:function(){this.search,this.loadItems()},toggle_lpage_list:function(){!1===this.show_lpage_list&&this.load_lpages(),this.show_lpage_list=!this.show_lpage_list},trash:function(t){var s=this,e=this,a="";Y()(t)&&(a="s"),this.$swal({title:Object(l["a"])("Are you sure?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:"Yes, delete user"+a+"!"}).then(function(a){if(a.value){e.loading=!0;var n=seedprod_delete_subscribers_url,i=p.a.stringify({items:t,api_token:e.shared.api_token});s.axios.post(n,i,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){e.loading=!1,e.$refs.subscribersdt.clear_checked(),(0<t.data||1==t.data.success)&&(e.$swal({imageUrl:e.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Subscribers Deleted","coming-soon"),toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),e.loadItems())}).catch(function(t){j.a.done(),console.log(t),e.shared.doing_ajax=!1,e.$swal({imageUrl:e.shared.plugin_path+"public/svg/error-24px-white.svg",text:t.response.data.message,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:5e3})})}})},export_subscribers:function(){location.href="admin.php?page="+this.shared.page_path+"&action="+this.shared.page_path+"_export_subscribers&id="+this.lpage_id+"&page_uuid="+this.lpage_uuid+"&_wpnonce="+seedprod_nonce,this.$swal({imageUrl:this.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Exported Started","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})},loadItems:function(t,s){"search"==t?(this.currentpage=1,this.orderby="",this.order="",this.filter=""):this.search="";seedprod_remote_api;var e=this;e.loading=!0,j.a.start(),this.axios.get("admin-ajax.php?action="+this.shared.page_path+"_subscribers_datatable&_wpnonce="+seedprod_nonce+"&current_page="+this.currentpage+"&orderby="+this.orderby+"&order="+this.order+"&filter="+this.filter+"&s="+this.search+"&id="+this.lpage_uuid+"&interval="+this.chart_timeframe).then(function(t){e.loading=!1,j.a.done(),t.data.lpage_name&&(e.lpage_name=t.data.lpage_name),"all"==e.filter&&0==e.shared.subscriber_count?(e.shared.subscriber_count=t.data.subscribers.total,e.axios.get(seedprod_update_subscriber_count)):e.shared.subscriber_count=1,e.rows=t.data.rows,e.totalitems=w()(t.data.totalitems),e.totalpages=w()(t.data.totalpages),e.currentpage=w()(t.data.currentpage),e.chartData=t.data.recent_subscribers})},goToPage:function(t){this.currentpage=t,this.loadItems()},onActionClick:function(t,s){"delete"==t&&this.trash(s.id)},onBulkAction:function(t,s){"delete_subscribers"==t&&this.trash(s)},sortCallback:function(t,s){this.orderby=t,this.order=s,this.loadItems()}},created:function(){0==this.$route.params.id&&this.loadItems(),this.load_lpages()},watch:{$route:function(t,s){this.filter="all",this.loadItems("",t.params.id)}}},at=et,nt=Object(u["a"])(at,N,R,!1,null,null,null),it=nt.exports,ot=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{attrs:{id:"seedprod-settings"}},[e("router-view",{attrs:{name:"main"}})],1)])},rt=[],pt={name:"Settings",data:function(){return{txt_1:Object(l["a"])("General","coming-soon"),txt_2:Object(l["a"])("Emails","coming-soon"),txt_3:Object(l["a"])("Integrations","coming-soon"),shared:seedprod_store_admin}},created:function(){},methods:{}},lt=pt,ct=Object(u["a"])(lt,ot,rt,!1,null,null,null),dt=ct.exports,ut=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("table",{staticClass:"form-table sp-text-neutral-80"},[e("tbody",[e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_1))]),"seedprod_pro"==t.shared.page_path?e("p",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.txt_2)+"\n\t\t\t\t\t\t")]):t._e(),"seedprod_lite"==t.shared.page_path?e("p",[e("span",{domProps:{innerHTML:t._s(t.txt_3)}}),e("img",{staticClass:"emoji",attrs:{draggable:"false",alt:"🙂",src:"https://s.w.org/images/core/emoji/11.2.0/svg/1f642.svg"}})]):t._e(),"seedprod_lite"==t.shared.page_path?e("p",{staticClass:"sp-mt-2",domProps:{innerHTML:t._s(t.txt_4)}}):t._e(),"seedprod_lite"==t.shared.page_path?e("p",{staticStyle:{"margin-top":"12px"},domProps:{innerHTML:t._s(t.txt_5)}}):t._e()])]),e("tr",{staticClass:"seedprod-settings-form sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80",domProps:{innerHTML:t._s(t.txt_6)}})]),e("td",[e("form",{staticClass:"form-inline"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.settings_page_meta.api_key,expression:"shared.settings_page_meta.api_key"}],staticClass:"sp-form-input sp-w-64 sp-m-0",staticStyle:{"margin-bottom":"5px"},attrs:{type:"password",autocomplete:"off",placeholder:t.txt_7},domProps:{value:t.shared.settings_page_meta.api_key},on:{input:function(s){s.target.composing||t.$set(t.shared.settings_page_meta,"api_key",s.target.value)}}}),e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-primary sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-white sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button},on:{click:function(s){return s.preventDefault(),t.save_api_key(s)}}},[t.shared.doing_ajax&&"api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),t.shared.license_name?e("span",[t._v(t._s(t.txt_8))]):e("span",[t._v(t._s(t.txt_9))])]),t.shared.license_name&&"seedprod_pro"==t.shared.page_path?e("span",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-neutral-80 sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-neutral-15 sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button},on:{click:function(s){return s.preventDefault(),t.deactivate_api_key(s)}}},[t.shared.doing_ajax&&"deactivate_api_key"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "),e("span",[t._v(t._s(t.txt_10))])])]):t._e(),t._v("\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t"),"seedprod_lite"==t.shared.page_path&&t.show_unlock?e("span",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-neutral-10 sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-neutral-80 sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-neutral-15 sp-cursor-pointer",attrs:{disabled:t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button},on:{click:t.start_free_to_pro_upgrade}},[t.shared.doing_ajax&&"unlock"==t.shared.settings_page_meta.button?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e(),t._v(" "+t._s(t.txt_11)+"\n\t\t\t\t\t\t\t\t")])]):t._e()]),t.shared.license_name?e("div",{staticClass:"sp-text-neutral-80",staticStyle:{"margin-top":"2px"},domProps:{innerHTML:t._s(t.txt_12)}}):t._e()])]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_15))])])]),"seedprod_lite"!=t.shared.page_path?e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"},[t._v(t._s(t.txt_14))])]),e("td",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.shared.app_settings.facebook_g_app_id,expression:"shared.app_settings.facebook_g_app_id"}],staticClass:"sp-form-input sp-w-64 sp-m-0",staticStyle:{"margin-bottom":"5px"},attrs:{type:"text",autocomplete:"off",placeholder:t.txt_16},domProps:{value:t.shared.app_settings.facebook_g_app_id},on:{input:function(s){s.target.composing||t.$set(t.shared.app_settings,"facebook_g_app_id",s.target.value)}}})])]):t._e(),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"},[t._v(t._s(t.txt_18))])]),e("td",[e("toggle-button",{staticStyle:{"margin-bottom":"0"},attrs:{width:40,sync:!0},model:{value:t.shared.app_settings.disable_seedprod_button,callback:function(s){t.$set(t.shared.app_settings,"disable_seedprod_button",s)},expression:"shared.app_settings.disable_seedprod_button"}}),t._v(" \n\t\t\t\t\t\t\t\t"),t.shared.app_settings.disable_seedprod_button?e("span",{staticClass:"sp-text-11px sp-uppercase sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__2))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__3))])],1)]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"},[t._v(t._s(t.txt_19))]),t._m(0)]),e("td",[e("toggle-button",{staticStyle:{"margin-bottom":"0"},attrs:{width:40,sync:!0},model:{value:t.shared.app_settings.enable_usage_tracking,callback:function(s){t.$set(t.shared.app_settings,"enable_usage_tracking",s)},expression:"shared.app_settings.enable_usage_tracking"}}),t._v(" \n\t\t\t\t\t\t\t\t"),t.shared.app_settings.enable_usage_tracking?e("span",{staticClass:"sp-text-11px sp-uppercase sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__2))]):e("span",{staticClass:"sp-text-11px sp-uppercase sp-text-neutral-40 sp-pl-1 sp-font-bold"},[t._v(t._s(t.txt__3))])],1)]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[t._m(1),e("td",[e("button",{staticClass:"sp-inline-block sp-text-sm sp-bg-primary sp-px-4 sp-py-3 sp-rounded-sm sp-leading-none sp-text-white sp-no-underline sp-rounded-md sp-text-base sp-ml-1 hover:sp-bg-primary-lighter sp-cursor-pointer",on:{click:function(s){return s.preventDefault(),t.save_app_settings(s)}}},[e("span",[t._v(t._s(t.txt_17))])])])]),e("tr",{staticClass:"seedprod-settings-title",attrs:{valign:"top"}},[e("td",{staticClass:"sp-p-0 sp-border-b sp-border-t-0 sp-border-l-0 sp-border-r-0 sp-border-neutral-10 sp-border-solid sp-pb-5",attrs:{colspan:"2"}},[e("h4",{staticClass:"sp-text-xl sp-mt-4 sp-mb-1"},[t._v(t._s(t.txt_13))]),e("a",{attrs:{href:"admin.php?page=sp_pro_debug"}},[t._v("View Debug Information")])])])])]),"seedprod_lite"==t.shared.page_path&&t.shared.show_inline_cta?e("div",[e("SettingsLiteCTA")],1):t._e()])},gt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"sp-flex sp-items-center sp-text-neutral-80"},[e("small",[e("a",{attrs:{href:"https://www.seedprod.com/docs/usage-tracking/",target:"_blank"}},[t._v("Learn More")])])])},function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("th",{attrs:{scope:"row"}},[e("strong",{staticClass:"sp-text-neutral-80"})])}],_t=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"sp-mt-6 sp-bg-white sp-border-neutral-15 sp-border sp-rounded sp-border-solid sp-px-10 sp-py-10 sp-text-center sp-relative"},[e("span",{staticClass:"sp-neutral-60 sp-absolute sp-cursor-pointer sp-right-0 sp-top-0 sp-opacity-75 sp-mt-2 sp-mr-1",on:{click:t.dismiss_upsell}},[e("svg",{staticClass:"sp-fill-current sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),e("path",{attrs:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}})])]),e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),t._m(0),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n "+t._s(t.txt_995)+"\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_996))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_997))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_998))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_999))])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9910))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9911))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9912))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9913))]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v(t._s(t.txt_9914))])])])]),e("a",{staticClass:"sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginsettingsabout",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v(" Upgrade to SeedProd PRO Now\n ")])])])])},mt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("h1",{staticClass:"sp-mt-4 sp-mb-8 sp-leading-tight sp-text-34px sp-font-bold sp-text-neutral"},[t._v("\n Upgrade to SeedProd Pro\n "),e("br"),t._v("Today and Save\n ")])}],ht={name:"SettingsLiteCTA",data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Powerful Page Editor","coming-soon"),txt_996:Object(l["a"])("20+ PRO Page Blocks","coming-soon"),txt_997:Object(l["a"])("Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Access Controls","coming-soon"),txt_9910:Object(l["a"])("100+ PRO Page Templates","coming-soon"),txt_9911:Object(l["a"])("PRO Smart Sections","coming-soon"),txt_9912:Object(l["a"])("Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss_upsell:function(){var t=p.a.stringify({id:3});this.axios.post(seedprod_dismiss_upsell,t,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){t.data.status&&location.reload()})},dismiss:function(){var t=this,s=p.a.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},bt=ht,ft=Object(u["a"])(bt,_t,mt,!1,null,null,null),xt=ft.exports,vt={name:"SettingsGeneral",mixins:[q["a"]],data:function(){return{txt_1:Object(l["a"])("License","coming-soon"),txt_2:Object(l["a"])("Your license key provides access to updates and addons.","coming-soon"),txt_3:Object(l["a"])("You're using <strong>SeedProd Lite</strong> - No License needed. Enjoy!","coming-soon"),txt_4:Object(l["b"])(Object(l["a"])("To unlock more features consider <a href='%s' target='_blank'>upgrading to PRO</a> . As a valued SeedProd Lite user you'll receive <strong>a discount off the regular price</strong>, automatically applied at checkout! ","coming-soon"),"https://www.seedprod.com/lite-upgrade/?discount=LITEUPGRADE&amp;utm_source=WordPress&amp;utm_medium=seedprod-license-page&amp;utm_campaign=liteplugin"),txt_5:Object(l["b"])(Object(l["a"])("If you already have a license key for <a href='%s' target='_blank'>SeedProd Pro</a>, please enter it to Upgrade to the Pro Features. An External Service will be used to verify and connect you to SeedProd.","coming-soon"),seedprod_store_admin.upgrade_link+"welcome"),txt_6:Object(l["a"])("License Key","coming-soon"),txt_7:Object(l["a"])("Enter Your License Key Here","coming-soon"),txt_8:Object(l["a"])("Recheck Key","coming-soon"),txt_9:Object(l["a"])("Verify Key","coming-soon"),txt_10:Object(l["a"])("Deactivate Key","coming-soon"),txt_11:Object(l["a"])("Connect to SeedProd","coming-soon"),txt_12:Object(l["b"])(Object(l["a"])("You currently have the <strong>%s</strong> license.","coming-soon"),seedprod_store_admin.license_name),txt_13:Object(l["a"])("Debug Information","coming-soon"),txt_14:Object(l["a"])("Facebook APP ID","coming-soon"),txt_15:Object(l["a"])("Global Settings","coming-soon"),txt_16:Object(l["a"])("","coming-soon"),txt_17:Object(l["a"])("Save Settings","coming-soon"),txt_18:Object(l["a"])("Disable Edit SeedProd Button","coming-soon"),txt_19:Object(l["a"])("Enable Usage Tracking","coming-soon"),txt__2:Object(l["a"])("Yes","coming-soon"),txt__3:Object(l["a"])("No","coming-soon"),show_unlock:!1,shared:seedprod_store_admin}},computed:{slug:function(){var t=this.slugify(this.page_meta.upgrade_feature);return t}},mounted:function(){},methods:{goto_dashboard:function(){this.$router.push({name:"dashboard"})},start_free_to_pro_upgrade:function(){var t=this;j.a.start();var s=p.a.stringify({});t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="unlock",t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Preparing to Unlock... Please wait...",toast:!0,customClass:"sp-toast-success",type:null,position:"top-end",showConfirmButton:!1,timer:3e3}),this.axios.post(seedprod_upgrade_license_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,s.data.success?location.href=s.data.data.url:t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.data.data.message,toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s,toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})},save_settings:function(){var t=this;j.a.start(),this.$validator.validateAll().then(function(s){if(s){var e=p.a.stringify({settings:t.shared.settings});return t.shared.doing_ajax=!0,t.shared.settings_page_meta.button="settings",void t.axios.post(seedprod_save_settings_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){j.a.done(),t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Saved!","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Could not be saved. Please contact Support if you continue to experience this issue.","coming-soon"),toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})}var a="";t.errors.all().forEach(function(t){a=a+t+"\n"}),a+="",t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:a,toast:!0,type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})},save_app_settings:function(){var t=this;j.a.start(),this.$validator.validateAll().then(function(s){if(s){var e=p.a.stringify({app_settings:t.shared.app_settings});return t.shared.doing_ajax=!0,void t.axios.post(seedprod_save_app_settings_ajax_url,e,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){j.a.done(),t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:Object(l["a"])("Saved!","coming-soon"),toast:!0,customClass:"sp-toast-success",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){j.a.done(),t.shared.doing_ajax=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:Object(l["a"])("Looks like you don't have permission to save.","coming-soon"),toast:!0,customClass:"sp-toast-error",type:null,position:"top-end",showConfirmButton:!1,timer:3e3})})}alert("else save app settings")})},deactivate_api_key:function(){var t=this,s=p.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,j.a.start(),t.shared.settings_page_meta.button="deactivate_api_key",t.axios.post(seedprod_api_key_deactivate_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){if(j.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,"true"==s.data.status){var e="success";t.shared.license_name="",t.shared.settings_page_meta.api_key=""}else e="error";t.$swal({imageUrl:t.shared.plugin_path+"public/svg/"+e+"-24px-white.svg",text:s.data.msg,toast:!0,type:null,customClass:"sp-toast-"+e,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.response.data.message,toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3})})},save_api_key:function(){var t=this,s=p.a.stringify({api_key:t.shared.settings_page_meta.api_key});t.shared.doing_ajax=!0,j.a.start(),t.shared.settings_page_meta.button="api_key";var e="admin-ajax.php?action="+this.shared.page_path+"_save_api_key&_wpnonce="+seedprod_nonce;t.axios.post(e,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){if(j.a.done(),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.shared.license_name=1,t.txt_12=s.data.license_name,"true"==s.data.status){t.show_unlock=!0;var e="success";s.data.body.plugin_name&&(t.shared.license_name=s.data.body.plugin_name),"seedprod_lite"!=shared.page_path&&!1===t.shared.active_license&&setTimeout(location.reload(),3e3)}else{e="error";t.shared.license_name=""}t.$swal({imageUrl:t.shared.plugin_path+"public/svg/"+e+"-24px-white.svg",text:s.data.msg,toast:!0,type:null,customClass:"sp-toast-"+e,position:"top-end",showConfirmButton:!1,timer:3e3})}).catch(function(s){console.log(s),t.shared.doing_ajax=!1,t.shared.settings_page_meta.button=!1,t.$swal({imageUrl:t.shared.plugin_path+"public/svg/error-24px-white.svg",text:s.response.data.message,toast:!0,type:null,position:"top-end",customClass:"sp-toast-error",showConfirmButton:!1,timer:3e3})})}},components:{SettingsLiteCTA:xt}},wt=vt,yt=Object(u["a"])(wt,ut,gt,!1,null,null,null),Ct=yt.exports,kt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"\n sp-fixed\n sp-bg-white\n sp-top-0\n sp-left-0\n sp-w-full\n sp-h-full\n sp-overflow-auto\n ",staticStyle:{"z-index":"99999"},attrs:{id:"sp-welcome"}},[e("div",{staticClass:"sp-text-center"},[e("div",{staticClass:"sp-bg-white sp--ml-5 sp-flex sp-flex-col sp-items-center",attrs:{id:"sp-welcome-top"}},[e("div",[e("img",{staticClass:"sp-mt-16",attrs:{id:"seedprod-welcome-logo",src:t.shared.plugin_path+"public/svg/seedprod-logo.svg"}})]),e("div",{staticClass:"\n sp-mx-auto\n sp-text-center\n sp-text-15px\n sp-w-460\n sp-font-semibold\n sp-text-neutral-80\n sp-mb-6\n sp-mt-5\n sp-leading-relaxed\n "},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("div",{staticClass:"\n sp-mb-16\n sp-border-neutral-15\n sp-border\n sp-rounded\n sp-border-solid\n sp-p-10\n sp-w-580\n sp-z-20\n sp-bg-white\n sp-shadow-2xl\n "},[e("div",{staticClass:"sp-font-bold sp-text-base sp-text-neutral sp-text-center",attrs:{id:"license-sub"},domProps:{innerHTML:t._s(this.welcome_txt)}}),e("a",{staticClass:"\n sp-mt-8\n sp-mx-auto\n sp-block\n sp-text-sm\n sp-bg-primary\n sp-px-12\n sp-py-6\n sp-rounded-sm\n sp-leading-none\n sp-text-white\n sp-no-underline\n sp-rounded-md\n sp-text-xl\n hover:sp-bg-primary-lighter\n sp-cursor-pointer sp-border-none sp-font-semibold\n ",attrs:{href:"https://app.seedprod.com/setup-wizard-"+t.shared.page_path+"?token="+t.shared.site_token+"&return="+t.shared.admin_url+"&version="+t.shared.plugin_version+"&utm_campaign=onboarding_"+t.shared.page_path+"&email="+encodeURIComponent(t.shared.email)+"&upgrade_to_pro_url="+encodeURIComponent(t.comp_seedprod_onboarding_upgrade_url),rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.txt_6)+"  \n "),t.shared.doing_ajax?e("i",{staticClass:"fas fa-spinner fa-spin"}):t._e()])])]),void 0===this.$route.params.id?e("a",{staticClass:"\n sp-text-center sp-text-neutral-60 sp-inline-block\n ",attrs:{href:"admin.php?page="+t.shared.page_path+"#/"},domProps:{innerHTML:t._s(t.txt_5)},on:{click:function(s){return s.preventDefault(),t.are_you_sure(s)}}}):t._e(),e("br"),e("p",{staticClass:"sp-text-center sp-text-neutral-60"},[t._v(t._s(t.txt_7))])])])},jt=[],Ot={name:"Welcome",mixins:[q["a"]],data:function(){return Object(x["a"])({txt_1:Object(l["a"])("Thank you for choosing SeedProd - The Best Website Builder, Landing Page Builder, Coming Soon, Maintenance Mode & more...","coming-soon"),txt_6:Object(l["a"])("Get Started →","coming-soon"),txt_5:Object(l["a"])("← Exit Setup","coming-soon"),txt_7:Object(l["a"])("Note: You will be transfered to an external service to complete the setup wizard.","coming-soon"),shared:seedprod_store_admin},"shared",seedprod_store_admin)},computed:{comp_seedprod_onboarding_upgrade_url:function(){return seedprod_onboarding_upgrade_url},welcome_txt:function(){var t="";return t="seedprod_lite"==this.shared.page_path?Object(l["a"])("Use our setup wizard to get started in less than 2 minutes and unlock free templates!","coming-soon"):Object(l["a"])("Use our setup wizard to get started in less than 2 minutes!","coming-soon"),t}},methods:{are_you_sure:function(t){var s="";s="seedprod_lite"==this.shared.page_path?Object(l["a"])("Are you sure you want to exit the setup wizard?\n\nYou will miss out on our free templates. 😬","coming-soon"):Object(l["a"])("Are you sure you want to exit the setup wizard? 😬","coming-soon"),confirm(s)&&(window.location.href="admin.php?page="+this.shared.page_path)}}},Pt=Ot,St=Object(u["a"])(Pt,kt,jt,!1,null,null,null),Lt=St.exports,zt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[1==t.show_installing?e("div",{staticClass:"sp-absolute sp-inset-0 sp-flex sp-items-start sp-justify-center",staticStyle:{background:"rgba(0,0,0,0.5)","z-index":"999","margin-left":"-20px"}},[e("div",{staticClass:"\n sp-mt-32\n sp-mb-32\n sp-border-neutral-15\n sp-border\n sp-rounded\n sp-border-solid\n sp-p-10\n sp-w-580\n sp-z-20\n sp-bg-white\n sp-shadow-2xl\n "},[0==t.completed_setup?e("div",[e("div",{staticClass:"sp-font-bold sp-text-base sp-text-neutral sp-text-center",domProps:{innerHTML:t._s(this.finish_txt)}}),t._m(0)]):e("div",[e("div",{staticClass:"sp-font-bold sp-text-base sp-text-neutral sp-text-center",domProps:{innerHTML:t._s(this.finish_next_step_txt)}}),""!=t.plugins_to_be_installed?e("div",[e("p",{staticClass:"sp-text-sm sp-text-neutral"},[t._v(t._s(t.txt_23)+" "+t._s(t.plugins_to_be_installed))]),e("div",{staticClass:"sp-text-center"},[e("button",{staticClass:"sp-w-64 sp-text-center sp-font-semibold sp-mb-4 sp-mt-4 sp-inline-block sp-text-sm sp-bg-primary sp-px-3 sp-py-3 sp-rounded sp-leading-none sp-text-white sp-no-underline hover:sp-bg-primary-lighter sp-cursor-pointer",attrs:{disabled:!!t.installing_doing_ajax},domProps:{innerHTML:t._s(t.txt_22)},on:{click:t.install_and_activate_plugins}}),e("p",{staticClass:"sp-text-sm sp-text-neutral"},[e("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.do_it_later(s)}}},[t._v(t._s(t.txt_21))])])])]):e("div",{staticClass:"sp-text-center"},[e("p",{staticClass:"sp-text-sm sp-text-neutral",domProps:{innerHTML:t._s(t.txt_25)}}),e("p",{staticClass:"sp-text-sm sp-text-neutral"},[e("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.do_it_later(s)}}},[t._v(t._s(t.txt_24))])])])])])]):t._e(),e("div",{attrs:{id:"seedprod-setup"}},[e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-8\n sp-p-8\n sp-py-6\n sp-flex\n "},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/cs-page.svg",alt:"Coming Soon Page"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral",class:{"sp-line-through":""!=t.shared.csp_id}},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_2))])]),""==t.shared.csp_id?e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_1))])]):e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("cs")}}},[t._v(t._s(t.txt_3))])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-flex\n "},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/mm-page.svg",alt:"Maintenance Mode Page"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral",class:{"sp-line-through":""!=t.shared.mmp_id}},[t._v("\n "+t._s(t.txt_4)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_5))])]),""==t.shared.mmp_id?e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_4))])]):e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.create_edit_page("mm")}}},[t._v(t._s(t.txt_3))])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-flex\n "},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/website.svg",alt:"Landing Page"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral",class:{"sp-line-through":t.shared.landing_page_count>0}},[t._v("\n "+t._s(t.txt_6)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_7))])]),0==t.shared.landing_page_count?e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"admin.php?page="+t.shared.page_path+"_template&id=0#/template"}},[t._v(t._s(t.txt_6))])]):e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"admin.php?page="+t.shared.page_path+"#/"}},[t._v(t._s(t.txt_8))])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-relative\n ",on:{mouseenter:function(s){t.show_website_upgrade=!0},mouseleave:function(s){t.show_website_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_website_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginwebsitepage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-right-0\n sp-text-green\n sp-rounded\n sp-z-20\n sp-px-1\n sp-text-10px\n sp-font-semibold\n sp-mt-2\n sp-mr-1\n "},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-pro-only sp-flex"},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/landingpage.svg",alt:"Website"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral"},[t._v("\n "+t._s(t.txt_9)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_10))])]),e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"}},[t._v(t._s(t.txt_11))])])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-relative\n ",on:{mouseenter:function(s){t.show_woocommerce_upgrade=!0},mouseleave:function(s){t.show_woocommerce_upgrade=!1}}},[e("div",{staticClass:"sp-absolute sp-top-0 sp-left-0 sp-right-0 sp-bottom-0 sp-flex sp-items-center sp-justify-center sp-z-20 ",class:{"sp-hidden":!t.show_woocommerce_upgrade}},[e("a",{staticClass:"mt-20 sp-bg-green sp-px-8 sp-py-4 sp-rounded sp-leading-none sp-text-white sp-no-underline sp-text-17px hover:sp-bg-green-lighter sp-cursor-pointer sp-font-semibold sp-inline-flex sp-items-center sp-justify-center",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginwoocommercepage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-right-0\n sp-text-green\n sp-rounded\n sp-z-20\n sp-px-1\n sp-text-10px\n sp-font-semibold\n sp-mt-2\n sp-mr-1\n "},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-pro-only sp-flex"},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/woocommerce.svg",alt:"WooCommerce Store"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral"},[t._v("\n "+t._s(t.txt_13)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_14))])]),e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"}},[t._v(t._s(t.txt_15))])])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-relative\n ",on:{mouseenter:function(s){t.show_loginp_upgrade=!0},mouseleave:function(s){t.show_loginp_upgrade=!1}}},[e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-left-0\n sp-right-0\n sp-bottom-0\n sp-flex\n sp-items-center\n sp-justify-center\n sp-z-20\n ",class:{"sp-hidden":!t.show_loginp_upgrade}},[e("a",{staticClass:"\n mt-20\n sp-bg-green\n sp-px-8\n sp-py-4\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n sp-text-17px\n hover:sp-bg-green-lighter\n sp-cursor-pointer\n sp-font-semibold\n sp-inline-flex\n sp-items-center\n sp-justify-center\n ",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=pluginloginpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-right-0\n sp-text-green\n sp-rounded\n sp-z-20\n sp-px-1\n sp-text-10px\n sp-font-semibold\n sp-mt-2\n sp-mr-1\n "},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-pro-only sp-flex"},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/login-page.svg",alt:"Login Page"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral"},[t._v("\n "+t._s(t.txt_16)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_17))])]),e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"}},[t._v(t._s(t.txt_16))])])])]),e("div",{staticClass:"\n sp-border\n sp-border-neutral-15\n sp-border-solid\n sp-bg-white\n sp-flex-shrink-0\n sp-mt-4\n sp-p-8\n sp-py-6\n sp-relative\n ",on:{mouseenter:function(s){t.show_404_upgrade=!0},mouseleave:function(s){t.show_404_upgrade=!1}}},[e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-left-0\n sp-right-0\n sp-bottom-0\n sp-flex\n sp-items-center\n sp-justify-center\n sp-z-20\n ",class:{"sp-hidden":!t.show_404_upgrade}},[e("a",{staticClass:"\n mt-20\n sp-bg-green\n sp-px-8\n sp-py-4\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n sp-text-17px\n hover:sp-bg-green-lighter\n sp-cursor-pointer\n sp-font-semibold\n sp-inline-flex\n sp-items-center\n sp-justify-center\n ",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=plugin404page",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to PRO\n ")])]),e("div",{staticClass:"\n sp-absolute\n sp-top-0\n sp-right-0\n sp-text-green\n sp-rounded\n sp-z-20\n sp-px-1\n sp-text-10px\n sp-font-semibold\n sp-mt-2\n sp-mr-1\n "},[e("svg",{staticClass:"sp-fill-current sp-w-3",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("g",{attrs:{fill:"none"}},[e("path",{attrs:{d:"M0 0h24v24H0V0z"}}),e("path",{attrs:{d:"M0 0h24v24H0V0z",opacity:".87"}})]),e("path",{attrs:{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}})])]),e("div",{staticClass:"sp-pro-only sp-flex"},[e("img",{staticClass:"sp-block sp-mr-8 sp-w-32",attrs:{src:t.shared.plugin_path+"public/svg/404-page.svg",alt:"404 Page"}}),e("div",{staticClass:"sp-flex-grow sp-pr-4"},[e("div",{staticClass:"sp-text-xl sp-font-bold sp-mb-4 sp-mt-1 sp-text-neutral"},[t._v("\n "+t._s(t.txt_18)+"\n ")]),e("p",{staticClass:"sp-text-15px sp-text-neutral"},[t._v(t._s(t.txt_19))])]),e("div",{staticClass:"sp-flex sp-items-center sp-justify-center"},[e("a",{staticClass:"\n sp-w-64\n sp-text-center\n sp-font-semibold\n sp-mb-4\n sp-inline-block\n sp-text-sm\n sp-bg-primary\n sp-px-3\n sp-py-3\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n hover:sp-bg-primary-lighter\n ",staticStyle:{"white-space":"nowrap"},attrs:{href:"#"}},[t._v(t._s(t.txt_18))])])])]),e("div",{staticClass:"sp-mt-8 sp-text-center"},[e("a",{attrs:{href:"admin.php?page="+t.shared.page_path+"_setup&sp_setup_dismiss=1"}},[t._v(t._s(t.txt_20))])])])])},Mt=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"sp-mt-4 sp-text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin sp-text-xl sp-text-neutral"})])}],Tt=(e("6762"),e("2fdb"),{name:"Settings",data:function(){return Object(x["a"])({installing_doing_ajax:!1,install_list:[],install_step:0,finish_next_step_txt:Object(l["a"])("<h1 class='sp-text-2xl sp-text-neutral sp-m-0 sp-mb-4 sp-font-bold'>Template Setup Complete</h1>","coming-soon"),txt_25:Object(l["a"])("You can close this window and get started editing you page<br> or setup a new page.","coming-soon"),txt_24:Object(l["a"])("Close","coming-soon"),txt_23:Object(l["a"])("Click the button below to install and activate the following free plugins:","coming-soon"),txt_22:Object(l["a"])("Install and Activate Plugins","coming-soon"),txt_21:Object(l["a"])("I'll do it later","coming-soon"),show_installing:!1,completed_setup:!1,wizard_id:!1,page_id:!1,install_options:!1,finish_txt:Object(l["a"])('<h1 class="sp-text-2xl sp-text-neutral sp-m-0 sp-mb-4 sp-font-bold">Finishing Up!</h1><p class="sp-text-sm sp-text-neutral sp-font-normal">Please do not refresh or exit this page<br>until this process is complete.<p>',"coming-soon"),show_woocommerce_upgrade:!1,show_website_upgrade:!1,show_loginp_upgrade:!1,show_404_upgrade:!1,txt_1:Object(l["a"])("Setup a Coming Soon Page","coming-soon"),txt_2:Object(l["a"])("A Coming Soon Page will hide your site from public but you'll still be able to see it and work on it if logged in.","coming-soon"),txt_3:Object(l["a"])("Edit Page","coming-soon"),shared:seedprod_store_admin,txt_4:Object(l["a"])("Setup a Maintenance Page","coming-soon"),txt_5:Object(l["a"])("A Maintenance Page will notify search engines that the site is unavailable.","coming-soon"),txt_6:Object(l["a"])("Setup a Landing Page","coming-soon"),txt_7:Object(l["a"])("Landing Pages are meant to be standalone pages seperate from the design of your site and theme.","coming-soon"),txt_8:Object(l["a"])("Edit Landing Pages","coming-soon"),txt_9:Object(l["a"])("Build a Website","coming-soon"),txt_10:Object(l["a"])("Build your enite Website. Create Headers, Footers, Pages, Posts, Archives, Sidebars, and more.","coming-soon"),txt_11:Object(l["a"])("Select a Theme for my Website","coming-soon"),txt_12:Object(l["a"])("Edit Theme","coming-soon"),txt_13:Object(l["a"])("Build a WooCommerce Store","coming-soon"),txt_14:Object(l["a"])("Create an entire WooCommerce store. Customize product pages, checkout, cart, product grids, and more.","coming-soon"),txt_15:Object(l["a"])("Select a Theme for my Store","coming-soon"),txt_16:Object(l["a"])("Setup a Login Page","coming-soon"),txt_17:Object(l["a"])("Create a custom Login page for your website.","coming-soon"),txt_18:Object(l["a"])("Setup a 404 Page","coming-soon"),txt_19:Object(l["a"])("Create a custom 404 page for your website.","coming-soon"),txt_20:Object(l["a"])("Dismiss Setup","coming-soon")},"shared",seedprod_store_admin)},mounted:function(){if(void 0!==this.$route.params.id){j.a.start();var t=this;t.show_installing=!0,t.wizard_id=this.$route.params.id;var s=p.a.stringify({wizard_id:this.$route.params.id});this.axios.post(seedprod_complete_setup_wizard_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(s){s.data.success?(j.a.done(),t.completed_setup=!0,t.page_id=s.data.data.id,t.install_options=JSON.parse(s.data.data.options)):(j.a.done(),t.completed_setup=!0,t.show_installing=!1,alert(Object(l["a"])("There was an issue completing the setup. Please refresh the page and try again.","coming-soon")))}).catch(function(t){console.log(t),alert(C()(t,null,"\t")),alert(C()(JSON.parse(t),null,2))})}},created:function(){},computed:{plugins_to_be_installed:function(){var t=[];return Y()(this.install_options)?(this.install_options.includes("rafflepress")&&t.push("RafflePress"),this.install_options.includes("allinoneseo")&&t.push("All In One SEO Pack"),this.install_options.includes("wpforms")&&t.push("WPForms"),this.install_options.includes("ga")&&t.push("MonsterInsights"),this.install_options.includes("optinmonster")&&t.push("OptinMonster"),t.join(", ")):""}},methods:{do_it_later:function(){this.show_installing=!1,window.location.href="admin.php?page="+this.shared.page_path+"#/setup",window.location.reload()},install_and_activate_plugins:function(){var t=this,s=["rafflepress","allinoneseo","wpforms","ga","optinmonster"];this.install_options.forEach(function(e){s.includes(e)&&t.install_list.push(e)}),this.installing_doing_ajax=!0,this.install(this.install_list[this.install_step])},install:function(t){var s=this,e={rafflepress:"RafflePress",allinoneseo:"All-in-One SEO Pack",wpforms:"WPForms",ga:"MonsterInsights",optinmonster:"OptinMonster"},a=seedprod_get_install_addon_setup_url,n=p.a.stringify({wizard_id:s.wizard_id,plugin:t});this.txt_22="Installing "+e[t]+' <i class="fas fa-spinner fa-spin sp-text-sm sp-text-white" />',this.axios.post(a,n,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){var e=s.install_step++;void 0!==s.install_list[e]?s.install(s.install_list[e]):(s.show_installing=!1,s.installing_doing_ajax=!1,window.location.href="admin.php?page="+s.shared.page_path+"#/setup",window.location.reload())}).catch(function(t){alert("This was an error installing and activating the plugins."),s.installing_doing_ajax=!1,window.location.href="admin.php?page="+s.shared.page_path+"#/setup",window.location.reload()})},create_edit_page:function(t){var s=!1;"cs"==t&&(s=this.shared.csp_id),"mm"==t&&(s=this.shared.mmp_id),"p404"==t&&(s=this.shared.p404_id),"loginp"==t&&(s=this.shared.loginp_id),s?location.href="?page="+this.shared.page_path+"_builder&id="+s+"#/setup/"+s+"/block-options":("cs"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=cs#/template"),"mm"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=mm#/template"),"p404"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=p404#/template"),"loginp"==t&&(location.href="?page="+this.shared.page_path+"_template&id=0&type=loginp#/template"))}}}),Bt=Tt,At=Object(u["a"])(Bt,zt,Mt,!1,null,null,null),$t=At.exports,Ht=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{attrs:{id:"seedprod-aboutus"}},[e("nav",{staticClass:"sp-hidden"},[e("ul",{},[e("router-link",{attrs:{tag:"li",to:{name:"aboutus_aboutus"}}},[e("a",[e("span",[t._v(t._s(t.txt_1))])])]),e("router-link",{attrs:{tag:"li",to:{name:"aboutus_gettingstarted"}}},[e("a",[e("span",[t._v(t._s(t.txt_2))])])]),"seedprod_lite"==t.shared.page_path?e("router-link",{attrs:{tag:"li",to:{name:"aboutus_litevspro"}}},[e("a",[e("span",[t._v(t._s(t.txt_3))])])]):t._e()],1)]),e("div",[e("router-view",{attrs:{name:"main"}})],1)])},Ut=[],Et={name:"Aboutus",data:function(){return{txt_1:Object(l["a"])("About Us","coming-soon"),txt_2:Object(l["a"])("Getting Started","coming-soon"),txt_3:Object(l["a"])("Lite vs Pro","coming-soon"),shared:seedprod_store_admin}},computed:{},created:function(){},methods:{}},Dt=Et,It=Object(u["a"])(Dt,Ht,Ut,!1,null,null,null),Wt=It.exports,Ft=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("div",{staticClass:"lg:sp-flex sp-mt-10 sp-a"},[e("div",{staticClass:"sp-mr-20"},[e("h3",{staticClass:"sp-mt-0 sp-text-neutral sp-text-xl sp-leading-normal"},[t._v("\n "+t._s(t.txt_1)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_2)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_3)+"\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_4)+"\n "),e("a",{attrs:{href:"https://www.wpbeginner.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPBeginner")]),t._v(", "+t._s(t.txt_6)+",\n "),e("a",{attrs:{href:"https://optinmonster.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("OptinMonster")]),t._v(", "+t._s(t.txt_7)+",\n "),e("a",{attrs:{href:"https://www.monsterinsights.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("MonsterInsights")]),t._v(", "+t._s(t.txt_8)+",\n "),e("a",{attrs:{href:"https://www.wpforms.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("WPForms")]),t._v(", "+t._s(t.txt_9)+",\n "),e("a",{attrs:{href:"https://rafflepress.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("RafflePress")]),t._v(", "+t._s(t.txt_10)+",\n "),e("a",{attrs:{href:"https://trustpulse.com/?utm_source=seedprodplugin&utm_medium=pluginaboutpage&utm_campaign=aboutseedprod",target:"_blank",rel:"noopener noreferrer"}},[t._v("TrustPulse")]),t._v(".\n ")]),e("p",{staticClass:"sp-text-neutral-80 sp-text-17px"},[t._v("\n "+t._s(t.txt_5)+"\n ")])]),e("div",{},[e("img",{staticClass:"sp-rounded",attrs:{src:t.shared.plugin_path+"public/img/team.jpg",alt:t.txt_11}}),e("figcaption",{staticClass:"sp-text-neutral-80 sp-text-15px sp-text-center sp-mt-6"},[t._v("\n "+t._s(t.txt_12)+": Syed, John & Thomas"),e("br")])])]),"seedprod_lite"==t.shared.page_path&&t.shared.show_inline_cta?e("div",[e("SettingsLiteCTA")],1):t._e()])},Vt=[],Nt={name:"AboutusAbout",data:function(){return{txt_1:Object(l["a"])("Hello and welcome to SeedProd, the most beginner friendly drag & drop WordPress landing page plugin. At SeedProd, we build software that helps you create beautiful responsive landing pages for your website in minutes.","coming-soon"),txt_2:Object(l["a"])("Over the years, we found that most WordPress landing page plugins were bloated, buggy, slow, and very hard to use. So we started with a simple goal: build a WordPress landing page plugin that’s both easy and powerful.","coming-soon"),txt_3:Object(l["a"])("Our goal is to take the pain out of creating landing pages and make it easy.","coming-soon"),txt_4:Object(l["a"])("SeedProd is brought to you by the same team that’s behind the largest WordPress resource site,","coming-soon"),txt_5:Object(l["a"])("Yup, we know a thing or two about building awesome products that customers love.","coming-soon"),txt_6:Object(l["a"])("the most popular lead-generation software","coming-soon"),txt_7:Object(l["a"])("the best WordPress analytics plugin","coming-soon"),txt_8:Object(l["a"])("the best WordPress forms plugin","coming-soon"),txt_9:Object(l["a"])("the best WordPress giveaway plugin","coming-soon"),txt_10:Object(l["a"])("and finally the best WordPress FOMO plugin","coming-soon"),txt_11:Object(l["a"])("SeedProd Team photo","coming-soon"),txt_12:Object(l["a"])("The SeedProd Team","coming-soon"),shared:seedprod_store_admin}},methods:{},components:{SettingsLiteCTA:xt}},Rt=Nt,Gt=Object(u["a"])(Rt,Ft,Vt,!1,null,null,null),Yt=Gt.exports,qt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("ThemeBuilderUpsell")],1)},Jt=[],Kt=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("img",{staticStyle:{margin:"auto","margin-top":"30px",position:"absolute","z-index":"0",left:"0",right:"0"},attrs:{src:t.shared.plugin_path+"public/img/theme-builder.png"}}),e("div",{staticStyle:{display:"flex","justify-content":"center","align-items":"center","padding-top":"30px"}},[e("div",{staticClass:"\n sp-mt-6\n sp-bg-white\n sp-border-neutral-15\n sp-border\n sp-rounded\n sp-border-solid\n sp-px-10\n sp-py-10\n sp-text-center\n ",staticStyle:{width:"650px",position:"relative"}},[e("div",[e("span",{staticClass:"sp-text-primary sp-text-lg sp-font-bold"},[t._v("Special Upgrade Offer - Save 50% Off")]),e("h1",{staticClass:"\n sp-mt-4\n sp-mb-8\n sp-leading-tight\n sp-text-34px\n sp-font-bold\n sp-text-neutral\n "},[t._v("\n Use SeedProd to Build Your Entire Website and Create Your Theme\n ")]),e("div",{staticClass:"sp-text-center sp-mb-4 sp-text-base"},[e("div",{staticClass:"sp-inline-flex sp-text-left"},[e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("\n Create Headers & Footers\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Create Global Parts\n ")])]),e("ul",{staticClass:"sp-px-4"},[e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Includes Starter Theme\n ")]),e("li",{staticClass:"sp-font-normal"},[e("span",{staticClass:"sp-text-green sp-mr-2"},[e("svg",{staticClass:"sp-fill-current sp-w-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}}),e("path",{attrs:{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}})])]),t._v("Create Pages and Posts\n ")])])])]),e("a",{staticClass:"\n sp-bg-green\n sp-px-8\n sp-py-4\n sp-rounded\n sp-leading-none\n sp-text-white\n sp-no-underline\n sp-text-17px\n hover:sp-bg-green-lighter\n sp-cursor-pointer\n sp-font-semibold\n sp-inline-flex\n sp-items-center\n sp-justify-center\n ",attrs:{href:"https://seedprod.com/lite-upgrade/?utm_source=WordPress&utm_campaign=liteplugin&utm_medium=themebuilderpage",target:"_blank"}},[e("svg",{staticClass:"sp-fill-current sp-mr-2 sp-w-5 sp-h-5",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}}),e("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]),t._v("\n Upgrade to SeedProd PRO Now\n ")])])])])])},Qt=[],Xt={name:"ThemeBuilderUpsell",components:{},data:function(){return{txt_1:Object(l["a"])("Dismiss this message","coming-soon"),txt_2:Object(l["a"])("Get SeedProd Pro and Unlock all the Powerful Features","coming-soon"),txt_3:Object(l["a"])("Thanks for being a loyal SeedProd Lite user. Upgrade to\nSeedProd Pro to unlock all the awesome features and\nexperience why SeedProd is the best WordPress landing\npage plugin.","coming-soon"),txt_4:Object(l["a"])("Pro Features:","coming-soon"),txt_995:Object(l["a"])("Filter by Page","coming-soon"),txt_996:Object(l["a"])("Export to a CSV File","coming-soon"),txt_997:Object(l["a"])("Premium Email Marketing Integrations","coming-soon"),txt_998:Object(l["a"])("Custom 404 Pages","coming-soon"),txt_999:Object(l["a"])("Page Access Controls","coming-soon"),txt_9910:Object(l["a"])("Subscribers Over Time","coming-soon"),txt_9911:Object(l["a"])("See Name and Emails","coming-soon"),txt_9912:Object(l["a"])("Email Subscriber Management","coming-soon"),txt_9913:Object(l["a"])("Saved Templates","coming-soon"),txt_9914:Object(l["a"])("Plus much more...","coming-soon"),txt_15:Object(l["a"])("Bonus:","coming-soon"),txt_16:Object(l["a"])("SeedProd Lite users get","coming-soon"),txt_17:Object(l["a"])("a discount off the regular price","coming-soon"),txt_18:Object(l["a"])("automatically applied at checkout.","coming-soon"),txt_19:Object(l["a"])("Get SeedProd Pro Today and Unlock all the Powerful Features »","coming-soon"),shared:seedprod_store_admin}},methods:{dismiss:function(){var t=this,s=qs.stringify({dismiss:!0});this.shared.settings_page_meta.dismiss_settings_lite_cta=!0,t.axios.post(seedprod_dismiss_settings_lite_cta_url,s,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"})}}},Zt=Xt,ts=Object(u["a"])(Zt,Kt,Qt,!1,null,null,null),ss=ts.exports,es={name:"ThemeBuilder",components:{ThemeBuilderUpsell:ss},data:function(){return{shared:seedprod_store_admin}},methods:{}},as=es,ns=Object(u["a"])(as,qt,Jt,!1,null,null,null),is=ns.exports,os=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},rs=[],ps={name:"ExportImportTemplates",components:{},data:function(){return{shared:seedprod_store_admin}},methods:{}},ls=ps,cs=Object(u["a"])(ls,os,rs,!1,null,null,null),ds=cs.exports;n["default"].use(h["a"]);var us=new h["a"]({routes:[{name:"dashboard",path:"/",component:U},{name:"growthtools",path:"/growth-tools",component:V},{name:"subscribers",path:"/subscribers/:id",component:it},{name:"theme-templates",path:"/theme-templates/:new?",component:is},{name:"exportimport-templates",path:"/exportimport-templates",component:ds},{path:"/settings",component:dt,children:[{name:"settings_general",path:"",components:{main:Ct}}]},{path:"/aboutus",component:Wt,children:[{name:"aboutus_aboutus",path:"",components:{main:Yt}}]},{name:"welcome",path:"/welcome/:id?",component:Lt},{name:"setup",path:"/setup/:id?",component:$t}],linkActiveClass:"active"}),gs=us,_s=e("619c"),ms=e("e37d"),hs=e("bc3a"),bs=e.n(hs),fs=e("a7fe"),xs=e.n(fs),vs=e("7bb1"),ws=e("f206"),ys=e("3f9b"),Cs=e("95ae");n["default"].use(ys["a"]),n["default"].use(Cs["a"]),n["default"].component("ToggleButton",ws["ToggleButton"]),n["default"].use(_s["a"]),n["default"].use(vs["a"]),n["default"].use(ms["a"],{defaultClass:"seedprod-tooltip"}),n["default"].use(xs.a,bs.a),n["default"].config.productionTip=!1;var ks={admin_url:seedprod_data_admin.admin_url,landing_page_count:seedprod_data_admin.landing_page_count,plugin_version:seedprod_data_admin.plugin_version,show_on_front:seedprod_data_admin.show_on_front,page_for_posts:seedprod_data_admin.page_for_posts,page_on_front:seedprod_data_admin.page_on_front,is_woocommerce_active:seedprod_data_admin.is_woocommerce_active,site_token:seedprod_data_admin.site_token,theme_preview_mode:seedprod_data_admin.theme_preview_mode,seedprod_theme_enabled:seedprod_data_admin.seedprod_theme_enabled,conditions:seedprod_data_admin.conditions,active_license:seedprod_data_admin.active_license,lmsg:seedprod_data_admin.lmsg,show_topbar_cta:seedprod_data_admin.show_topbar_cta,show_inline_cta:seedprod_data_admin.show_inline_cta,seedprod_unsupported_feature:seedprod_data_admin.seedprod_unsupported_feature,seedprod_csp4_migrated:seedprod_data_admin.seedprod_csp4_migrated,seedprod_csp4_imported:seedprod_data_admin.seedprod_csp4_imported,seedprod_cspv5_migrated:seedprod_data_admin.seedprod_cspv5_migrated,seedprod_cspv5_imported:seedprod_data_admin.seedprod_cspv5_imported,page_count:seedprod_data_admin.page_count,subscriber_count:seedprod_data_admin.subscriber_count,notifications:seedprod_data_admin.notifications,csp_id:seedprod_data_admin.csp_id,mmp_id:seedprod_data_admin.mmp_id,p404_id:seedprod_data_admin.p404_id,loginp_id:seedprod_data_admin.loginp_id,csp_uuid:seedprod_data_admin.csp_uuid,mmp_uuid:seedprod_data_admin.mmp_uuid,p404_uuid:seedprod_data_admin.p404_uuid,loginp_uuid:seedprod_data_admin.loginp_uuid,csp_preview_url:seedprod_data_admin.csp_preview_url,mmp_preview_url:seedprod_data_admin.mmp_preview_url,p404_preview_url:seedprod_data_admin.p404_preview_url,loginp_preview_url:seedprod_data_admin.loginp_preview_url,api_token:seedprod_data_admin.api_token,license_key:seedprod_data_admin.license_key,license_name:seedprod_data_admin.license_name,per:seedprod_data_admin.per,page_path:seedprod_data_admin.page_path,name:seedprod_data_admin.name,email:seedprod_data_admin.email,upgrade_link:seedprod_data_admin.upgrade_link,doing_ajax:!1,plugin_path:seedprod_data_admin.plugin_path,home_url:seedprod_data_admin.home_url,settings:seedprod_data_admin.settings,app_settings:seedprod_data_admin.app_settings,template_dev_mode:seedprod_data_admin.template_dev_mode,theme_dev_mode:seedprod_data_admin.theme_dev_mode,settings_page_meta:{lclass:seedprod_data_admin.lclass,lmsg:seedprod_data_admin.lmsg,button:"",api_key:seedprod_data_admin.api_key,timezones:seedprod_data_admin.timezones,dismiss_settings_lite_cta:seedprod_data_admin.dismiss_settings_lite_cta}};window.seedprod_store_admin=ks;new n["default"]({router:gs,mounted:function(){},render:function(t){return t(m)}}).$mount("#seedprod-vue-app");var js=function(){iFrameResize({log:!1,checkOrigin:!1},"#inline-help")};window.help_iframe=js}});
public/lite/vue-backend/js/chunk-common.js CHANGED
@@ -1 +1 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{b132:function(t,e,s){"use strict";s.d(e,"a",function(){return w});var i,o=s("bd86"),n=s("a4bb"),a=s.n(n),r=s("7618"),l=s("a745"),c=s.n(l),d=s("75fc"),h=(s("4917"),s("7f7f"),s("96cf"),s("3b8d")),u=s("f499"),p=s.n(u),g=(s("28a5"),s("ac6a"),s("6762"),s("2fdb"),s("a481"),s("e814")),m=s.n(g),b=(s("6b54"),s("66cb")),f=s.n(b),v=s("2ef0"),_=s.n(v),y=s("4328"),x=s.n(y),j=s("561c"),w={methods:(i={set_default_val:function(t,e,s){void 0==t[e]&&this.$set(t,e,s)},update_head_css:_.a.debounce(function(t){var e=f()(this.shared.settings.document.settings.linkColor).darken().toString();this.shared.settings.document.settings.linkDarkerColor=e;var s="";if(""!=this.shared.settings.document.settings.bgImage&&(s="url('"+this.shared.settings.document.settings.bgImage+"')"),""!=this.shared.settings.document.settings.bgImage&&""!=this.shared.settings.document.settings.bgDimming){var i=.01*this.shared.settings.document.settings.bgDimming;s="linear-gradient(0deg, rgba(0,0,0,"+i+"), rgba(0,0,0,"+i+")),url('"+this.shared.settings.document.settings.bgImage+"')"}""==s&&"g"==this.shared.settings.document.settings.bgStyle&&(s="linear"==this.shared.settings.document.settings.bgGradient.type?"linear-gradient("+this.shared.settings.document.settings.bgGradient.angle+"deg, "+this.shared.settings.document.settings.bgGradient.color1+" "+this.shared.settings.document.settings.bgGradient.color1location+"%, "+this.shared.settings.document.settings.bgGradient.color2+" "+this.shared.settings.document.settings.bgGradient.color2location+"%)":"radial-gradient(circle at "+this.shared.settings.document.settings.bgGradient.position+", "+this.shared.settings.document.settings.bgGradient.color1+" "+this.shared.settings.document.settings.bgGradient.color1location+"%, "+this.shared.settings.document.settings.bgGradient.color2+" "+this.shared.settings.document.settings.bgGradient.color2location+"%)");var o="#sp-page{color:"+this.shared.settings.document.settings.textColor+"} #sp-page .sp-header-tag-h1,#sp-page .sp-header-tag-h2,#sp-page .sp-header-tag-h3,#sp-page .sp-header-tag-h4,#sp-page .sp-header-tag-h5,#sp-page .sp-header-tag-h6{color:"+this.shared.settings.document.settings.headerColor+"}#sp-page h1,#sp-page h2,#sp-page h3,#sp-page h4,#sp-page h5,#sp-page h6{color:"+this.shared.settings.document.settings.headerColor+"; font-family:"+this.font_render(this.shared.settings.document.settings.headerFont)+";font-weight:"+this.font_variant_render(this.shared.settings.document.settings.headerFontVariant,"weight")+";font-style:"+this.font_variant_render(this.shared.settings.document.settings.headerFontVariant,"style")+"} #sp-page a{color:"+this.shared.settings.document.settings.linkColor+"} #sp-page a:hover{color:"+e+"}#sp-page .btn{background-color:"+this.shared.settings.document.settings.buttonColor+"}body{background-color:"+this.shared.settings.document.settings.bgColor+"; background-image:"+s+";}",n=this,a="";if(!0===this.shared.is_landing_page){var r=x.a.stringify({css:this.shared.settings.document.settings.customCss});n.axios.post(seedprod_get_namespaced_custom_css_url,r,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){a=t.data,jQuery("#tmp-custom-css-style").remove(),jQuery("head").append("<style id='tmp-custom-css-style' type='text/css'></style>"),jQuery("#tmp-custom-css-style").html(o+a)})}this.shared.settings.document.settings.headCss=o},100),highlight_option_target:function(t){this.shared.highlight_option_target=t},moving:function(t,e){},scroll:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){var e=jQuery("#seedprod-builder-view").scrollTop();jQuery("#seedprod-builder-view").scrollTop(e+t),this.shared.stop||setTimeout(function(){scroll(t)},20)}),start_move:function(){this.shared.is_moving=!0},end_move:function(t){this.shared.is_moving=!1,this.shared.stop=!1},mousePosition:function(t){console.log("event",t)},width_height_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^\d+$/.test(t)&&(t+="px"),t},text_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="",o="0,0,0",n=f()(e);return n.getLuminance(),1==t&&(i="1px 1px 0px rgba("+o+",0.5)"),2==t&&(i="1px 1px 3px rgba("+o+",0.5)"),3==t&&(i="2px 2px 4px rgba("+o+",0.4)"),4==t&&(i="3px 3px 6px rgba("+o+",0.3)"),5==t&&(i="3px 4px 12px rgba("+o+",0.3)"),6==t&&(i="5px 5px 20px rgba("+o+",0.3)"),"custom"==t&&(i=s),i},divider_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="";return 1==t&&(e="0 1px 1px rgba(0,0,0,0.2)"),2==t&&(e="0 2px 2px rgba(0,0,0,0.4)"),3==t&&(e="0 4px 4px rgba(0,0,0,0.4)"),4==t&&(e="0 6px 6px rgba(0,0,0,0.4)"),e},box_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s="";return 1==t&&(s="0 1px 2px 0 rgba(0, 0, 0, 0.5)"),2==t&&(s="0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.6)"),3==t&&(s="0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.6)"),4==t&&(s="0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.5)"),5==t&&(s="0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.4)"),6==t&&(s="0 25px 50px -12px rgba(0, 0, 0, 0.25)"),7==t&&(s="0 10px 6px -6px #777"),"custom"==t&&(s=e),s},border_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return""==t&&(t="1px"),""==e&&(e="solid"),"#666666"==s&&(s="#666666"),t+"px "+e+" "+s},font_variant_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"weight",s="",i="";return""!=t&&("weight"==e&&(s=m()(t)),"style"==e&&(i=t.replace(/[0-9]/g,""),""==i&&(i="normal"))),"weight"==e?s:i},font_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!=t&&!1===t.includes(",")&&(t="'"+t+"'"),t}},Object(o["a"])(i,"border_render",function(t,e,s){return""==t||0==t||""==s?"":t+"px "+e+" "+s}),Object(o["a"])(i,"padding_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(this.shared.is_theme_template&&this.shared.is_theme_template,""):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"margin_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(t=0,s=0,i=0,e=0,t+"px "+e+"px "+s+"px "+i+"px "):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"border_radius_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(t=0,s=0,i=0,e=0,t+"px "+e+"px "+s+"px "+i+"px "):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"align_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"align",s="";return"align"==e&&("left"==t&&(s="left"),"right"==t&&(s="right"),"center"==t&&(s="center")),"width"==e&&(s="full"==this.block.settings.align?"100%":"auto"),s}),Object(o["a"])(i,"align_flex_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"align",s="";return"align"==e&&("left"==t&&(s="flex-start"),"right"==t&&(s="flex-end"),"center"==t&&(s="center")),"width"==e&&(s="full"==this.block.settings.align?"100%":"auto"),s}),Object(o["a"])(i,"load_font",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""!=t&&this.shared.setup_page_meta.googlefonts["Google Fonts"][t]){if(""!=e){var s={},i=!1;try{this.shared.setup_page_meta.googlefonts["Google Fonts"][t].variants.forEach(function(t){if(t.id==e)throw s})}catch(a){i=!0}!1===i&&(e="")}var o="https://fonts.googleapis.com/css?family="+t.split(" ").join("+")+":"+e+"&display=swap",n=document.createElement("link");n.rel="stylesheet",n.href=o,document.head.appendChild(n)}}),Object(o["a"])(i,"add_section",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s={id:this.uid(),type:"section",rows:[],settings:JSON.parse(p()(this.shared.block_templates.section))};this.shared.settings.document.sections.splice(e+1,0,s),this.focus_block(s.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"focus_layout",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",s=!0;"bottom"===e&&(s=!1),this.$nextTick(function(){this.shared.layout_container;if(void 0!==t&&null!==t)try{document.querySelector("#sp-nav-"+t).scrollIntoView(s)}catch(e){}})}),Object(o["a"])(i,"focus_block",function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e){var s,i,o=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:s=o.length>1&&void 0!==o[1]?o[1]:"top",i=!0,"bottom"===s&&(i=!1),this.$nextTick(function(){var t=this.shared.code_container;if(void 0!==e&&null!==e)try{t.querySelector("#sp-"+e).scrollIntoView(i)}catch(s){}});case 4:case"end":return t.stop()}},t,this)}));function e(e){return t.apply(this,arguments)}return e}()),Object(o["a"])(i,"add_row",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={id:this.uid(),type:"row",colType:"1-col",cols:[],settings:JSON.parse(p()(this.shared.block_templates.row))};this.shared.settings.document.sections[e].rows.splice(s+1,0,i),this.focus_block(i.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"add_col",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o={id:this.uid(),type:"col",blocks:[],settings:JSON.parse(p()(this.shared.block_templates.col))};this.shared.settings.document.sections[e].rows[s].cols.splice(i+1,0,o),this.focus_block(o.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"generate_cols",function(t){var e,s;"1-col"==t&&(e=1),"2-col"!=t&&"left-sidebar"!=t&&"right-sidebar"!=t||(e=2),"3-col"==t&&(e=3),"4-col"==t&&(e=4),"5-col"==t&&(e=5),"6-col"==t&&(e=6);var i=[];for(s=0;s<e;s++){var o={id:this.uid(),type:"col",blocks:[],settings:JSON.parse(p()(this.shared.block_templates.col))};("left-sidebar"==t&&0==s||"right-sidebar"==t&&1==s)&&(o.settings.colWidth=35),("left-sidebar"==t&&1==s||"right-sidebar"==t&&0==s)&&(o.settings.colWidth=65),i.push(o)}return i}),Object(o["a"])(i,"add_cols",function(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.generate_cols(t);this.shared.settings.document.sections[s].rows[i].cols=o}),Object(o["a"])(i,"goto",function(t){this.$route.name!==t&&this.$router.push({name:t})}),Object(o["a"])(i,"add_block",function(){this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"duplicate_element",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=JSON.parse(p()(t));if(null!==e&&null!==s&&null!==i&&null!==o)a.id=this.uid(),this.shared.settings.document.sections[e].rows[s].cols[i].blocks.splice(o+1,0,a);else if(null!==e&&null!==s&&null!==i){var r=this;a.id=this.uid(),a.blocks.forEach(function(t){t.id=r.uid()}),this.shared.settings.document.sections[e].rows[s].cols.splice(i+1,0,a)}else if(null!==e&&null!==s){var l=this;a.id=this.uid(),a.cols.forEach(function(t){t.id=l.uid(),t.blocks.forEach(function(t){t.id=l.uid()})}),this.shared.settings.document.sections[e].rows.splice(s+1,0,a)}else if(null!==e){var c=this;a.id=this.uid(),a.rows.forEach(function(t){t.id=c.uid(),t.cols.forEach(function(t){t.id=c.uid(),t.blocks.forEach(function(t){t.id=c.uid()})})}),this.shared.settings.document.sections.splice(e+1,0,a)}!1===n&&(this.focus_block(a.id),this.edit_block(a.id,null,!0))}),Object(o["a"])(i,"delete_blank_element",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3];null!==t&&null!==e?this.$delete(this.shared.settings.document.sections[t].rows,e):null!==t&&this.$delete(this.shared.settings.document.sections,t)}),Object(o["a"])(i,"delete_element",function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.$swal({title:Object(j["a"])("Are you sure you want to delete?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:Object(j["a"])("Yes, delete it!","coming-soon")}).then(function(n){n.value&&(null!==e&&null!==s&&null!==i&&null!==o?t.$delete(t.shared.settings.document.sections[e].rows[s].cols[i].blocks,o):null!==e&&null!==s&&null!==i?1==t.shared.settings.document.sections[e].rows[s].cols.length?t.shared.settings.document.sections[e].rows[0].cols=[]:t.$delete(t.shared.settings.document.sections[e].rows[s].cols,i):null!==e&&null!==s?1==t.shared.settings.document.sections[e].rows.length?t.shared.settings.document.sections[e].rows[0].cols=[]:t.$delete(t.shared.settings.document.sections[e].rows,s):null!==e&&t.$delete(t.shared.settings.document.sections,e),t.$router.push({name:"setup_block_options"}),t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Deleted",toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3}))})}),Object(o["a"])(i,"edit_block",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return 0==i&&this.focus_layout(t),(this.shared.highlight_option_target==t||!1!==s)&&(0!==e&&void(this.$route.params.blockid!=t&&this.$router.push({name:"setup_block_options",params:{id:this.shared.lpage.id,blockid:t}})))}),Object(o["a"])(i,"uid",function(){var t=String.fromCharCode(97+Math.floor(26*Math.random()))+Math.random().toString(36).substring(2,7).toLowerCase();return t}),Object(o["a"])(i,"help_iframe",function(t){var e=t.split("#"),s="";e[1]&&(t=e[0],s=e[1]),this.$swal({width:600,html:"<iframe class='iframe_loading' id='inline-help' src='https://staging.seedprod.com/docs/"+t+"?iframe=1&hash="+s+"' style='width:100%;' onload='help_iframe()'></iframe>",toast:!1,showCancelButton:!0,cancelButtonText:"Close",confirmButtonText:Object(j["a"])('Visit Docs&nbsp;<i class="fas fa-external-link-alt"></i>',"coming-soon")}).then(function(e){if(e.value){var i="https://staging.seedprod.com/docs/"+t+"#"+s;window.open(i,"_blank")}})}),Object(o["a"])(i,"show_upgrade_notice",function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=this;o?(t=Object(j["a"])("Upgrade to PRO","coming-soon"),e=Object(j["a"])("Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features.","coming-soon")):(t+=Object(j["a"])(" is a PRO Feature","coming-soon"),e=Object(j["a"])("We're sorry, the ","coming-soon")+e+Object(j["a"])(" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features.","coming-soon")),this.$swal({customContainerClass:"seedprod-upgrade-popup",imageUrl:n.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:Object(j["a"])("UPGRADE TO PRO","coming-soon"),showCloseButton:!0,footer:'<i class="fas fa-check-circle"></i><div style="text-align:center;margin-left:40px;margin-right:40px;">'+Object(j["a"])("<strong>Bonus:</strong>&nbsp;SeedProd Lite users get a discount off the regular price, automatically applied at checkout.","coming-soon")+"</div>"}).then(function(t){t.value&&(window.open(s.shared.upgrade_link+i,"_blank"),s.$swal.fire({customContainerClass:"seedprod-moreinfo-popup",imageUrl:n.shared.plugin_path+"public/img/info-with-circle.svg",type:null,html:Object(j["a"])("Thanks for your interest in SeedProd Pro!<br>If you have any questions or issues just <a href='https://www.seedprod.com/?contact=1' target='_blank'>let us know</a>.<br><br>After purchasing SeedProd Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)","coming-soon")}))})}),Object(o["a"])(i,"show_uplock_notice",function(t,e){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this;s?(t=Object(j["a"])("Upgrade to PRO","coming-soon"),e=Object(j["a"])("Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features.","coming-soon")):(t=Object(j["a"])("Upgrade to Unlock ","coming-soon")+t,e=Object(j["a"])("We're sorry, the ","coming-soon")+e+Object(j["a"])(" feature is not available on your plan. Please upgrade your plan to unlock this feature and more!","coming-soon")),this.$swal({customContainerClass:"seedprod-upgrade-popup",imageUrl:i.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE",showCloseButton:!0,footer:Object(j["a"])("Upgrade with just a click of a button!","coming-soon")}).then(function(t){t.value&&window.open("https://app.seedprod.com/upgrade-license?license_key="+i.shared.license_key+"&api_token="+i.shared.api_token,"_blank")})}),Object(o["a"])(i,"debounce_update_mobile_css",_.a.debounce(function(t){jQuery("#tmp-custom-mobile-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-css-style").html(this.generate_mobile_css())},100)),Object(o["a"])(i,"update_mobile_css",function(){jQuery("#tmp-custom-mobile-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-css-style").html(this.generate_mobile_css())}),Object(o["a"])(i,"generate_mobile_css",function(){var t=document.documentElement.innerHTML,e=/data-mobile-css="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){for(var s=e[1].split("|"),o=s[0],n=s[1],a=o.split(","),r=a.length,l="",d=0;d<r;d++)lodash.isEmpty(a[d])||(l+=0===d?".sp-mobile-view ".concat(a[d]):", .sp-mobile-view ".concat(a[d]));for(var h=n.split(";"),u=h.length,p="".concat(l," {"),g=0;g<u;g++)lodash.isEmpty(h[g])||(p+="".concat(h[g].replace(";","")," !important;"));p+="}",i+=p}}),this.shared.settings.document.settings.mobileCss=i,i}),Object(o["a"])(i,"generate_mobile_css_old",function(){var t="",e=this.traverse(seedprod_store.settings.document,this.process);return e.forEach(function(e){var s=e.split(",");if(!1===lodash.isEmpty(s[2])){i=="sp-"+s[0]&&!1;var i="sp-"+s[0],o=lodash.kebabCase(s[1].replace("_mobile","")),n=s[2];t=t+".sp-mobile-view #"+i+".sp-css-target{",t="line-height"==o?t+o+":"+n+" !important;":t+o+":"+n+"px !important;",t+=" }",t=t+".sp-mobile-view #"+i+" .sp-css-target{",t="line-height"==o?t+o+":"+n+" !important;":t+o+":"+n+"px !important;",t+=" }"}}),this.shared.settings.document.settings.mobileCss=t,t}),Object(o["a"])(i,"process",function(t,e,s,i){-1!==t.indexOf("_mobile")&&!1===!!~i.indexOf(e)&&i.push(s+","+t+","+e)}),Object(o["a"])(i,"traverse",function(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];for(var o in t)0===o.indexOf("id")&&(s=t[o]),e.apply(this,[o,t[o],s,i]),null!==t[o]&&"object"==Object(r["a"])(t[o])&&this.traverse(t[o],e,s,i);return i}),Object(o["a"])(i,"debounce_update_mobile_visibility_css",_.a.debounce(function(t){jQuery("#tmp-custom-mobile-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-visibility-css-style").html(this.generate_mobile_visibility_css())},100)),Object(o["a"])(i,"update_mobile_visibility_css",function(){jQuery("#tmp-custom-mobile-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-visibility-css-style").html(this.generate_mobile_visibility_css())}),Object(o["a"])(i,"generate_mobile_visibility_css",function(){var t=document.documentElement.innerHTML,e=/data-mobile-visibility="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="",o="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){var s=e[1].split("|"),n=s[0],a=s[1];"true"===a&&(i+=".sp-mobile-view ".concat(n," {"),i+="opacity: .2;",i+="border: 1px solid rgba(0,0,0,.02);",i+="}",o+="".concat(n," {"),o+="display: none !important;",o+="}")}}),this.shared.settings.document.settings.mobileVisibilityCss=o,i}),Object(o["a"])(i,"debounce_update_desktop_visibility_css",_.a.debounce(function(t){jQuery("#tmp-custom-desktop-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-desktop-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-desktop-visibility-css-style").html(this.generate_desktop_visibility_css())},100)),Object(o["a"])(i,"update_desktop_visibility_css",function(){jQuery("#tmp-custom-desktop-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-desktop-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-desktop-visibility-css-style").html(this.generate_desktop_visibility_css())}),Object(o["a"])(i,"generate_desktop_visibility_css",function(){var t=document.documentElement.innerHTML,e=/data-desktop-visibility="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="",o="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){var s=e[1].split("|"),n=s[0],a=s[1];"true"===a&&(i+=".sp-desktop-view ".concat(n," {"),i+="opacity: .2;",i+="border: 1px solid rgba(0,0,0,.02);",i+="}",o+="".concat(n," {"),o+="display: none !important;",o+="}")}}),this.shared.settings.document.settings.desktopVisibilityCss=o,i}),Object(o["a"])(i,"debounce_update_placeholder_css",_.a.debounce(function(t){jQuery("#tmp-custom-placeholder-css-style").remove(),jQuery("head").append("<style id='tmp-custom-placeholder-css-style' type='text/css'></style>"),jQuery("#tmp-custom-placeholder-css-style").html(this.generate_placeholder_css())},100)),Object(o["a"])(i,"update_placeholder_css",function(){jQuery("#tmp-custom-placeholder-css-style").remove(),jQuery("head").append("<style id='tmp-custom-placeholder-css-style' type='text/css'></style>"),jQuery("#tmp-custom-placeholder-css-style").html(this.generate_placeholder_css())}),Object(o["a"])(i,"generate_placeholder_css",function(){var t="",e=this.traverse(seedprod_store.settings.document,this.process_placeholder);return e.forEach(function(e){var s=e.split(",");if(!1===lodash.isEmpty(s[2])){i=="sp-"+s[0]&&!1;var i="sp-"+s[0],o=s[2],n=f()(o).setAlpha(.7);t=t+"input::placeholder, #"+i+" input::placeholder {",t=t+"color:"+n,t+=" }"}}),this.shared.settings.document.settings.placeholderCss=t,t}),Object(o["a"])(i,"process_placeholder",function(t,e,s,i){-1!==t.indexOf("fieldTextColor")&&!1===!!~i.indexOf(e)&&i.push(s+","+t+","+e)}),Object(o["a"])(i,"generate_css_from_object",function(t){var e=JSON.parse(p()(t));return a()(e).forEach(function(t){return!e[t]&&void 0!==e[t]&&delete e[t]}),p()(e).replace(/['"]+/g,"").replace(/[,]+/g,";")}),i)}}}]);
1
+ (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{b132:function(t,e,s){"use strict";s.d(e,"a",function(){return w});var i,o=s("bd86"),n=s("a4bb"),a=s.n(n),r=s("7618"),l=s("a745"),c=s.n(l),d=s("75fc"),h=(s("4917"),s("7f7f"),s("96cf"),s("3b8d")),u=s("f499"),p=s.n(u),g=(s("28a5"),s("ac6a"),s("6762"),s("2fdb"),s("a481"),s("e814")),m=s.n(g),b=(s("6b54"),s("cadf"),s("551c"),s("f751"),s("097d"),s("66cb")),f=s.n(b),v=s("2ef0"),_=s.n(v),y=s("4328"),x=s.n(y),j=s("561c"),w={methods:(i={set_default_val:function(t,e,s){void 0==t[e]&&this.$set(t,e,s)},update_head_css:_.a.debounce(function(t){var e=f()(this.shared.settings.document.settings.linkColor).darken().toString();this.shared.settings.document.settings.linkDarkerColor=e;var s="";if(""!=this.shared.settings.document.settings.bgImage&&(s="url('"+this.shared.settings.document.settings.bgImage+"')"),""!=this.shared.settings.document.settings.bgImage&&""!=this.shared.settings.document.settings.bgDimming){var i=.01*this.shared.settings.document.settings.bgDimming;s="linear-gradient(0deg, rgba(0,0,0,"+i+"), rgba(0,0,0,"+i+")),url('"+this.shared.settings.document.settings.bgImage+"')"}""==s&&"g"==this.shared.settings.document.settings.bgStyle&&(s="linear"==this.shared.settings.document.settings.bgGradient.type?"linear-gradient("+this.shared.settings.document.settings.bgGradient.angle+"deg, "+this.shared.settings.document.settings.bgGradient.color1+" "+this.shared.settings.document.settings.bgGradient.color1location+"%, "+this.shared.settings.document.settings.bgGradient.color2+" "+this.shared.settings.document.settings.bgGradient.color2location+"%)":"radial-gradient(circle at "+this.shared.settings.document.settings.bgGradient.position+", "+this.shared.settings.document.settings.bgGradient.color1+" "+this.shared.settings.document.settings.bgGradient.color1location+"%, "+this.shared.settings.document.settings.bgGradient.color2+" "+this.shared.settings.document.settings.bgGradient.color2location+"%)");var o="#sp-page{color:"+this.shared.settings.document.settings.textColor+"} #sp-page .sp-header-tag-h1,#sp-page .sp-header-tag-h2,#sp-page .sp-header-tag-h3,#sp-page .sp-header-tag-h4,#sp-page .sp-header-tag-h5,#sp-page .sp-header-tag-h6{color:"+this.shared.settings.document.settings.headerColor+"}#sp-page h1,#sp-page h2,#sp-page h3,#sp-page h4,#sp-page h5,#sp-page h6{color:"+this.shared.settings.document.settings.headerColor+"; font-family:"+this.font_render(this.shared.settings.document.settings.headerFont)+";font-weight:"+this.font_variant_render(this.shared.settings.document.settings.headerFontVariant,"weight")+";font-style:"+this.font_variant_render(this.shared.settings.document.settings.headerFontVariant,"style")+"} #sp-page a{color:"+this.shared.settings.document.settings.linkColor+"} #sp-page a:hover{color:"+e+"}#sp-page .btn{background-color:"+this.shared.settings.document.settings.buttonColor+"}body{background-color:"+this.shared.settings.document.settings.bgColor+"; background-image:"+s+";}",n=this,a="";if(!0===this.shared.is_landing_page){var r=x.a.stringify({css:this.shared.settings.document.settings.customCss});n.axios.post(seedprod_get_namespaced_custom_css_url,r,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}).then(function(t){a=t.data,jQuery("#tmp-custom-css-style").remove(),jQuery("head").append("<style id='tmp-custom-css-style' type='text/css'></style>"),jQuery("#tmp-custom-css-style").html(o+a)})}this.shared.settings.document.settings.headCss=o},100),highlight_option_target:function(t){this.shared.highlight_option_target=t},moving:function(t,e){},scroll:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){var e=jQuery("#seedprod-builder-view").scrollTop();jQuery("#seedprod-builder-view").scrollTop(e+t),this.shared.stop||setTimeout(function(){scroll(t)},20)}),start_move:function(){this.shared.is_moving=!0},end_move:function(t){this.shared.is_moving=!1,this.shared.stop=!1},mousePosition:function(t){console.log("event",t)},width_height_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return/^\d+$/.test(t)&&(t+="px"),t},text_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="",o="0,0,0",n=f()(e);return n.getLuminance(),1==t&&(i="1px 1px 0px rgba("+o+",0.5)"),2==t&&(i="1px 1px 3px rgba("+o+",0.5)"),3==t&&(i="2px 2px 4px rgba("+o+",0.4)"),4==t&&(i="3px 3px 6px rgba("+o+",0.3)"),5==t&&(i="3px 4px 12px rgba("+o+",0.3)"),6==t&&(i="5px 5px 20px rgba("+o+",0.3)"),"custom"==t&&(i=s),i},divider_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="";return 1==t&&(e="0 1px 1px rgba(0,0,0,0.2)"),2==t&&(e="0 2px 2px rgba(0,0,0,0.4)"),3==t&&(e="0 4px 4px rgba(0,0,0,0.4)"),4==t&&(e="0 6px 6px rgba(0,0,0,0.4)"),e},box_shadow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s="";return 1==t&&(s="0 1px 2px 0 rgba(0, 0, 0, 0.5)"),2==t&&(s="0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.6)"),3==t&&(s="0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.6)"),4==t&&(s="0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.5)"),5==t&&(s="0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.4)"),6==t&&(s="0 25px 50px -12px rgba(0, 0, 0, 0.25)"),7==t&&(s="0 10px 6px -6px #777"),"custom"==t&&(s=e),s},border_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return""==t&&(t="1px"),""==e&&(e="solid"),"#666666"==s&&(s="#666666"),t+"px "+e+" "+s},font_variant_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"weight",s="",i="";return""!=t&&("weight"==e&&(s=m()(t)),"style"==e&&(i=t.replace(/[0-9]/g,""),""==i&&(i="normal"))),"weight"==e?s:i},font_render:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!=t&&!1===t.includes(",")&&(t="'"+t+"'"),t}},Object(o["a"])(i,"border_render",function(t,e,s){return""==t||0==t||""==s?"":t+"px "+e+" "+s}),Object(o["a"])(i,"padding_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(this.shared.is_theme_template&&this.shared.is_theme_template,""):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"margin_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(t=0,s=0,i=0,e=0,t+"px "+e+"px "+s+"px "+i+"px "):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"border_radius_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return""==t&&""==e&&""==s&&""==i?(t=0,s=0,i=0,e=0,t+"px "+e+"px "+s+"px "+i+"px "):(""==t&&(t=0),""==e&&(e=0),""==s&&(s=0),""==i&&(i=0),t+"px "+e+"px "+s+"px "+i+"px ")}),Object(o["a"])(i,"align_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"align",s="";return"align"==e&&("left"==t&&(s="left"),"right"==t&&(s="right"),"center"==t&&(s="center")),"width"==e&&(s="full"==this.block.settings.align?"100%":"auto"),s}),Object(o["a"])(i,"align_flex_render",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"align",s="";return"align"==e&&("left"==t&&(s="flex-start"),"right"==t&&(s="flex-end"),"center"==t&&(s="center")),"width"==e&&(s="full"==this.block.settings.align?"100%":"auto"),s}),Object(o["a"])(i,"load_font",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""!=t&&this.shared.setup_page_meta.googlefonts["Google Fonts"][t]){if(""!=e){var s={},i=!1;try{this.shared.setup_page_meta.googlefonts["Google Fonts"][t].variants.forEach(function(t){if(t.id==e)throw s})}catch(a){i=!0}!1===i&&(e="")}var o="https://fonts.googleapis.com/css?family="+t.split(" ").join("+")+":"+e+"&display=swap",n=document.createElement("link");n.rel="stylesheet",n.href=o,document.head.appendChild(n)}}),Object(o["a"])(i,"add_section",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s={id:this.uid(),type:"section",rows:[],settings:JSON.parse(p()(this.shared.block_templates.section))};this.shared.settings.document.sections.splice(e+1,0,s),this.focus_block(s.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"focus_layout",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",s=!0;"bottom"===e&&(s=!1),this.$nextTick(function(){this.shared.layout_container;if(void 0!==t&&null!==t)try{document.querySelector("#sp-nav-"+t).scrollIntoView(s)}catch(e){}})}),Object(o["a"])(i,"focus_block",function(){var t=Object(h["a"])(regeneratorRuntime.mark(function t(e){var s,i,o=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:s=o.length>1&&void 0!==o[1]?o[1]:"top",i=!0,"bottom"===s&&(i=!1),this.$nextTick(function(){var t=this.shared.code_container;if(void 0!==e&&null!==e)try{t.querySelector("#sp-"+e).scrollIntoView(i)}catch(s){}});case 4:case"end":return t.stop()}},t,this)}));function e(e){return t.apply(this,arguments)}return e}()),Object(o["a"])(i,"add_row",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={id:this.uid(),type:"row",colType:"1-col",cols:[],settings:JSON.parse(p()(this.shared.block_templates.row))};this.shared.settings.document.sections[e].rows.splice(s+1,0,i),this.focus_block(i.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"add_col",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o={id:this.uid(),type:"col",blocks:[],settings:JSON.parse(p()(this.shared.block_templates.col))};this.shared.settings.document.sections[e].rows[s].cols.splice(i+1,0,o),this.focus_block(o.id,"bottom"),this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"generate_cols",function(t){var e,s;"1-col"==t&&(e=1),"2-col"!=t&&"left-sidebar"!=t&&"right-sidebar"!=t||(e=2),"3-col"==t&&(e=3),"4-col"==t&&(e=4),"5-col"==t&&(e=5),"6-col"==t&&(e=6);var i=[];for(s=0;s<e;s++){var o={id:this.uid(),type:"col",blocks:[],settings:JSON.parse(p()(this.shared.block_templates.col))};("left-sidebar"==t&&0==s||"right-sidebar"==t&&1==s)&&(o.settings.colWidth=35),("left-sidebar"==t&&1==s||"right-sidebar"==t&&0==s)&&(o.settings.colWidth=65),i.push(o)}return i}),Object(o["a"])(i,"add_cols",function(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.generate_cols(t);this.shared.settings.document.sections[s].rows[i].cols=o}),Object(o["a"])(i,"goto",function(t){this.$route.name!==t&&this.$router.push({name:t})}),Object(o["a"])(i,"add_block",function(){this.$router.push({name:"setup_block_options"})}),Object(o["a"])(i,"duplicate_element",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=JSON.parse(p()(t));if(null!==e&&null!==s&&null!==i&&null!==o)a.id=this.uid(),this.shared.settings.document.sections[e].rows[s].cols[i].blocks.splice(o+1,0,a);else if(null!==e&&null!==s&&null!==i){var r=this;a.id=this.uid(),a.blocks.forEach(function(t){t.id=r.uid()}),this.shared.settings.document.sections[e].rows[s].cols.splice(i+1,0,a)}else if(null!==e&&null!==s){var l=this;a.id=this.uid(),a.cols.forEach(function(t){t.id=l.uid(),t.blocks.forEach(function(t){t.id=l.uid()})}),this.shared.settings.document.sections[e].rows.splice(s+1,0,a)}else if(null!==e){var c=this;a.id=this.uid(),a.rows.forEach(function(t){t.id=c.uid(),t.cols.forEach(function(t){t.id=c.uid(),t.blocks.forEach(function(t){t.id=c.uid()})})}),this.shared.settings.document.sections.splice(e+1,0,a)}!1===n&&(this.focus_block(a.id),this.edit_block(a.id,null,!0))}),Object(o["a"])(i,"delete_blank_element",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3];null!==t&&null!==e?this.$delete(this.shared.settings.document.sections[t].rows,e):null!==t&&this.$delete(this.shared.settings.document.sections,t)}),Object(o["a"])(i,"delete_element",function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.$swal({title:Object(j["a"])("Are you sure you want to delete?","coming-soon"),type:null,showCancelButton:!0,confirmButtonColor:"#d33",confirmButtonText:Object(j["a"])("Yes, delete it!","coming-soon")}).then(function(n){n.value&&(null!==e&&null!==s&&null!==i&&null!==o?t.$delete(t.shared.settings.document.sections[e].rows[s].cols[i].blocks,o):null!==e&&null!==s&&null!==i?1==t.shared.settings.document.sections[e].rows[s].cols.length?t.shared.settings.document.sections[e].rows[0].cols=[]:t.$delete(t.shared.settings.document.sections[e].rows[s].cols,i):null!==e&&null!==s?1==t.shared.settings.document.sections[e].rows.length?t.shared.settings.document.sections[e].rows[0].cols=[]:t.$delete(t.shared.settings.document.sections[e].rows,s):null!==e&&t.$delete(t.shared.settings.document.sections,e),t.$router.push({name:"setup_block_options"}),t.$swal({imageUrl:t.shared.plugin_path+"public/svg/success-24px-white.svg",text:"Deleted",toast:!0,type:null,customClass:"sp-toast-error",position:"top-end",showConfirmButton:!1,timer:3e3}))})}),Object(o["a"])(i,"edit_block",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return 0==i&&this.focus_layout(t),(this.shared.highlight_option_target==t||!1!==s)&&(0!==e&&void(this.$route.params.blockid!=t&&this.$router.push({name:"setup_block_options",params:{id:this.shared.lpage.id,blockid:t}})))}),Object(o["a"])(i,"uid",function(){var t=String.fromCharCode(97+Math.floor(26*Math.random()))+Math.random().toString(36).substring(2,7).toLowerCase();return t}),Object(o["a"])(i,"help_iframe",function(t){var e=t.split("#"),s="";e[1]&&(t=e[0],s=e[1]),this.$swal({width:600,html:"<iframe class='iframe_loading' id='inline-help' src='https://staging.seedprod.com/docs/"+t+"?iframe=1&hash="+s+"' style='width:100%;' onload='help_iframe()'></iframe>",toast:!1,showCancelButton:!0,cancelButtonText:"Close",confirmButtonText:Object(j["a"])('Visit Docs&nbsp;<i class="fas fa-external-link-alt"></i>',"coming-soon")}).then(function(e){if(e.value){var i="https://staging.seedprod.com/docs/"+t+"#"+s;window.open(i,"_blank")}})}),Object(o["a"])(i,"show_upgrade_notice",function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"link",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=this;o?(t=Object(j["a"])("Upgrade to PRO","coming-soon"),e=Object(j["a"])("Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features.","coming-soon")):(t+=Object(j["a"])(" is a PRO Feature","coming-soon"),e=Object(j["a"])("We're sorry, the ","coming-soon")+e+Object(j["a"])(" feature is not available on your plan. Please upgrade to the PRO plan to unlock all these awesome features.","coming-soon")),this.$swal({customContainerClass:"seedprod-upgrade-popup",imageUrl:n.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:Object(j["a"])("UPGRADE TO PRO","coming-soon"),showCloseButton:!0,footer:'<i class="fas fa-check-circle"></i><div style="text-align:center;margin-left:40px;margin-right:40px;">'+Object(j["a"])("<strong>Bonus:</strong>&nbsp;SeedProd Lite users get a discount off the regular price, automatically applied at checkout.","coming-soon")+"</div>"}).then(function(t){t.value&&(window.open(s.shared.upgrade_link+i,"_blank"),s.$swal.fire({customContainerClass:"seedprod-moreinfo-popup",imageUrl:n.shared.plugin_path+"public/img/info-with-circle.svg",type:null,html:Object(j["a"])("Thanks for your interest in SeedProd Pro!<br>If you have any questions or issues just <a href='https://www.seedprod.com/?contact=1' target='_blank'>let us know</a>.<br><br>After purchasing SeedProd Pro, you'll need to download and install the Pro version of the plugin, and then remove the free plugin. <br><br>(Don't worry, all your settings will be preserved.)","coming-soon")}))})}),Object(o["a"])(i,"show_uplock_notice",function(t,e){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this;s?(t=Object(j["a"])("Upgrade to PRO","coming-soon"),e=Object(j["a"])("Increase traffic, engagement, and get more email subscribers. Click below to learn more about all our awesome features.","coming-soon")):(t=Object(j["a"])("Upgrade to Unlock ","coming-soon")+t,e=Object(j["a"])("We're sorry, the ","coming-soon")+e+Object(j["a"])(" feature is not available on your plan. Please upgrade your plan to unlock this feature and more!","coming-soon")),this.$swal({customContainerClass:"seedprod-upgrade-popup",imageUrl:i.shared.plugin_path+"public/img/lock.svg",title:t,text:e,type:null,showCancelButton:!1,confirmButtonColor:"#4CAF50",cancelButtonColor:"#d33",confirmButtonText:"UPGRADE",showCloseButton:!0,footer:Object(j["a"])("Upgrade with just a click of a button!","coming-soon")}).then(function(t){t.value&&window.open("https://app.seedprod.com/upgrade-license?license_key="+i.shared.license_key+"&api_token="+i.shared.api_token,"_blank")})}),Object(o["a"])(i,"debounce_update_mobile_css",_.a.debounce(function(t){jQuery("#tmp-custom-mobile-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-css-style").html(this.generate_mobile_css())},100)),Object(o["a"])(i,"update_mobile_css",function(){jQuery("#tmp-custom-mobile-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-css-style").html(this.generate_mobile_css())}),Object(o["a"])(i,"generate_mobile_css",function(){var t=document.documentElement.innerHTML,e=/data-mobile-css="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){for(var s=e[1].split("|"),o=s[0],n=s[1],a=o.split(","),r=a.length,l="",d=0;d<r;d++)lodash.isEmpty(a[d])||(l+=0===d?".sp-mobile-view ".concat(a[d]):", .sp-mobile-view ".concat(a[d]));for(var h=n.split(";"),u=h.length,p="".concat(l," {"),g=0;g<u;g++)lodash.isEmpty(h[g])||(p+="".concat(h[g].replace(";","")," !important;"));p+="}",i+=p}}),this.shared.settings.document.settings.mobileCss=i,i}),Object(o["a"])(i,"generate_mobile_css_old",function(){var t="",e=this.traverse(seedprod_store.settings.document,this.process);return e.forEach(function(e){var s=e.split(",");if(!1===lodash.isEmpty(s[2])){i=="sp-"+s[0]&&!1;var i="sp-"+s[0],o=lodash.kebabCase(s[1].replace("_mobile","")),n=s[2];t=t+".sp-mobile-view #"+i+".sp-css-target{",t="line-height"==o?t+o+":"+n+" !important;":t+o+":"+n+"px !important;",t+=" }",t=t+".sp-mobile-view #"+i+" .sp-css-target{",t="line-height"==o?t+o+":"+n+" !important;":t+o+":"+n+"px !important;",t+=" }"}}),this.shared.settings.document.settings.mobileCss=t,t}),Object(o["a"])(i,"process",function(t,e,s,i){-1!==t.indexOf("_mobile")&&!1===!!~i.indexOf(e)&&i.push(s+","+t+","+e)}),Object(o["a"])(i,"traverse",function(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];for(var o in t)0===o.indexOf("id")&&(s=t[o]),e.apply(this,[o,t[o],s,i]),null!==t[o]&&"object"==Object(r["a"])(t[o])&&this.traverse(t[o],e,s,i);return i}),Object(o["a"])(i,"debounce_update_mobile_visibility_css",_.a.debounce(function(t){jQuery("#tmp-custom-mobile-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-visibility-css-style").html(this.generate_mobile_visibility_css())},100)),Object(o["a"])(i,"update_mobile_visibility_css",function(){jQuery("#tmp-custom-mobile-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-mobile-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-mobile-visibility-css-style").html(this.generate_mobile_visibility_css())}),Object(o["a"])(i,"generate_mobile_visibility_css",function(){var t=document.documentElement.innerHTML,e=/data-mobile-visibility="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="",o="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){var s=e[1].split("|"),n=s[0],a=s[1];"true"===a&&(i+=".sp-mobile-view ".concat(n," {"),i+="opacity: .2;",i+="border: 1px solid rgba(0,0,0,.02);",i+="}",o+="".concat(n," {"),o+="display: none !important;",o+="}")}}),this.shared.settings.document.settings.mobileVisibilityCss=o,i}),Object(o["a"])(i,"debounce_update_desktop_visibility_css",_.a.debounce(function(t){jQuery("#tmp-custom-desktop-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-desktop-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-desktop-visibility-css-style").html(this.generate_desktop_visibility_css())},100)),Object(o["a"])(i,"update_desktop_visibility_css",function(){jQuery("#tmp-custom-desktop-visibility-css-style").remove(),jQuery("head").append("<style id='tmp-custom-desktop-visibility-css-style' type='text/css'></style>"),jQuery("#tmp-custom-desktop-visibility-css-style").html(this.generate_desktop_visibility_css())}),Object(o["a"])(i,"generate_desktop_visibility_css",function(){var t=document.documentElement.innerHTML,e=/data-desktop-visibility="([^"]*)"/g,s=[];lodash.isEmpty(t.match(e))||(s=Object(d["a"])(t.match(e)));var i="",o="";return lodash.isEmpty(s)||s.forEach(function(t){var e=t.match(/"([^"]+)"/);if(c()(e)){var s=e[1].split("|"),n=s[0],a=s[1];"true"===a&&(i+=".sp-desktop-view ".concat(n," {"),i+="opacity: .2;",i+="border: 1px solid rgba(0,0,0,.02);",i+="}",o+="".concat(n," {"),o+="display: none !important;",o+="}")}}),this.shared.settings.document.settings.desktopVisibilityCss=o,i}),Object(o["a"])(i,"debounce_update_placeholder_css",_.a.debounce(function(t){jQuery("#tmp-custom-placeholder-css-style").remove(),jQuery("head").append("<style id='tmp-custom-placeholder-css-style' type='text/css'></style>"),jQuery("#tmp-custom-placeholder-css-style").html(this.generate_placeholder_css())},100)),Object(o["a"])(i,"update_placeholder_css",function(){jQuery("#tmp-custom-placeholder-css-style").remove(),jQuery("head").append("<style id='tmp-custom-placeholder-css-style' type='text/css'></style>"),jQuery("#tmp-custom-placeholder-css-style").html(this.generate_placeholder_css())}),Object(o["a"])(i,"generate_placeholder_css",function(){var t="",e=this.traverse(seedprod_store.settings.document,this.process_placeholder);return e.forEach(function(e){var s=e.split(",");if(!1===lodash.isEmpty(s[2])){i=="sp-"+s[0]&&!1;var i="sp-"+s[0],o=s[2],n=f()(o).setAlpha(.7);t=t+"input::placeholder, #"+i+" input::placeholder {",t=t+"color:"+n,t+=" }"}}),this.shared.settings.document.settings.placeholderCss=t,t}),Object(o["a"])(i,"process_placeholder",function(t,e,s,i){-1!==t.indexOf("fieldTextColor")&&!1===!!~i.indexOf(e)&&i.push(s+","+t+","+e)}),Object(o["a"])(i,"generate_css_from_object",function(t){var e=JSON.parse(p()(t));return a()(e).forEach(function(t){return!e[t]&&void 0!==e[t]&&delete e[t]}),p()(e).replace(/['"]+/g,"").replace(/[,]+/g,";")}),i)}}}]);
public/svg/landingpage.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg fill="none" height="106" viewBox="0 0 171 106" width="171" xmlns="http://www.w3.org/2000/svg"><rect fill="#f7f6f7" height="106" rx="5" width="171"/><rect fill="#d3ced2" height="7" rx="3" width="20" x="75" y="41"/><rect fill="#fff" height="6" rx="3" width="142" x="16" y="4"/><path d="m6 8.5-1-1.5 1-1.5" stroke="#d3ced2" stroke-linecap="round" stroke-linejoin="round"/><path d="m10 8.5 1-1.5-1-1.5" stroke="#d3ced2" stroke-linecap="round" stroke-linejoin="round"/><g fill="#d3ced2"><path clip-rule="evenodd" d="m165.75 5c0 .27614-.224.5-.5.5h-3c-.276 0-.5-.22386-.5-.5s.224-.5.5-.5h3c.276 0 .5.22386.5.5zm0 2c0 .27614-.224.5-.5.5h-3c-.276 0-.5-.22386-.5-.5s.224-.5.5-.5h3c.276 0 .5.22386.5.5zm-.5 2.5c.276 0 .5-.22386.5-.5s-.224-.5-.5-.5h-3c-.276 0-.5.22386-.5.5s.224.5.5.5z" fill-rule="evenodd"/><rect height="5" rx="2.5" width="55" x="58" y="21"/><rect height="5" rx="2.5" width="81" x="45" y="29"/></g><rect fill="#fff" height="40" rx="5" width="48" x="34" y="55"/><path d="m47.9412 75.4138-8.9412 11.5862h38l-12.2941-16-9.5 12.1379z" fill="#d3ced2"/><rect fill="#fff" height="40" rx="5" width="48" x="89" y="55"/><path d="m102.941 75.4138-8.941 11.5862h38l-12.294-16-9.5 12.1379z" fill="#d3ced2"/></svg>
public/svg/website.svg ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="171" height="106" viewBox="0 0 171 106" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="171" height="106" rx="5" fill="#F7F6F7"/>
3
+ <rect x="16" y="4" width="142" height="6" rx="3" fill="white"/>
4
+ <rect x="28" y="38" width="37" height="5" rx="2.5" fill="#D3CED2"/>
5
+ <rect x="28" y="46" width="55" height="5" rx="2.5" fill="#D3CED2"/>
6
+ <path d="M6 8.5L5 7L6 5.5" stroke="#D3CED2" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <rect x="28.5" y="61" width="20" height="7" rx="3" fill="#D3CED2"/>
8
+ <path d="M10 8.5L11 7L10 5.5" stroke="#D3CED2" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M165.75 5C165.75 5.27614 165.526 5.5 165.25 5.5L162.25 5.5C161.974 5.5 161.75 5.27614 161.75 5C161.75 4.72386 161.974 4.5 162.25 4.5H165.25C165.526 4.5 165.75 4.72386 165.75 5ZM165.75 7C165.75 7.27614 165.526 7.5 165.25 7.5L162.25 7.5C161.974 7.5 161.75 7.27614 161.75 7C161.75 6.72386 161.974 6.5 162.25 6.5L165.25 6.5C165.526 6.5 165.75 6.72386 165.75 7ZM165.25 9.5C165.526 9.5 165.75 9.27614 165.75 9C165.75 8.72386 165.526 8.5 165.25 8.5L162.25 8.5C161.974 8.5 161.75 8.72386 161.75 9C161.75 9.27614 161.974 9.5 162.25 9.5H165.25Z" fill="#D3CED2"/>
10
+ <rect x="97" y="31" width="48" height="44" rx="5" fill="white"/>
11
+ <path d="M110.941 55.4138L102 67H140L127.706 51L118.206 63.1379L110.941 55.4138Z" fill="#D3CED2"/>
12
+ </svg>
public/svg/woocommerce.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="171" height="106" viewBox="0 0 171 106" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="171" height="106" rx="5" fill="#F7F6F7"/>
3
+ <rect x="16" y="4" width="142" height="6" rx="3" fill="white"/>
4
+ <path d="M6 8.5L5 7L6 5.5" stroke="#D3CED2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M10 8.5L11 7L10 5.5" stroke="#D3CED2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M165.75 5C165.75 5.27614 165.526 5.5 165.25 5.5L162.25 5.5C161.974 5.5 161.75 5.27614 161.75 5C161.75 4.72386 161.974 4.5 162.25 4.5H165.25C165.526 4.5 165.75 4.72386 165.75 5ZM165.75 7C165.75 7.27614 165.526 7.5 165.25 7.5L162.25 7.5C161.974 7.5 161.75 7.27614 161.75 7C161.75 6.72386 161.974 6.5 162.25 6.5L165.25 6.5C165.526 6.5 165.75 6.72386 165.75 7ZM165.25 9.5C165.526 9.5 165.75 9.27614 165.75 9C165.75 8.72386 165.526 8.5 165.25 8.5L162.25 8.5C161.974 8.5 161.75 8.72386 161.75 9C161.75 9.27614 161.974 9.5 162.25 9.5H165.25Z" fill="#D3CED2"/>
7
+ <rect x="28" y="23" width="36" height="41" rx="5" fill="white"/>
8
+ <rect x="32" y="71" width="28" height="3" rx="1.5" fill="#D3CED2"/>
9
+ <path d="M38.5882 49.0345L32 57H60L50.9412 46L43.9412 54.3448L38.5882 49.0345Z" fill="#D3CED2"/>
10
+ <rect x="36" y="78" width="20" height="7" rx="3" fill="#D3CED2"/>
11
+ <rect x="68" y="23" width="36" height="41" rx="5" fill="white"/>
12
+ <rect x="72" y="71" width="28" height="3" rx="1.5" fill="#D3CED2"/>
13
+ <path d="M78.5882 49.0345L72 57H100L90.9412 46L83.9412 54.3448L78.5882 49.0345Z" fill="#D3CED2"/>
14
+ <rect x="76" y="78" width="20" height="7" rx="3" fill="#D3CED2"/>
15
+ <rect x="109" y="23" width="36" height="41" rx="5" fill="white"/>
16
+ <rect x="113" y="71" width="28" height="3" rx="1.5" fill="#D3CED2"/>
17
+ <path d="M119.588 49.0345L113 57H141L131.941 46L124.941 54.3448L119.588 49.0345Z" fill="#D3CED2"/>
18
+ <rect x="117" y="78" width="20" height="7" rx="3" fill="#D3CED2"/>
19
+ </svg>
resources/views/dashboard.php CHANGED
@@ -34,6 +34,18 @@ if ( empty( $page_count ) ) {
34
  $page_count = 0;
35
  }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  $subscriber_count = get_option( 'seedprod_subscriber_count' );
39
  if ( empty( $subscriber_count ) ) {
@@ -69,6 +81,12 @@ if ( false === $seedprod_api_key ) {
69
  $seedprod_app_settings = get_option( 'seedprod_app_settings' );
70
  if ( ! empty( $seedprod_app_settings ) ) {
71
  $seedprod_app_settings = json_decode( stripslashes( $seedprod_app_settings ) );
 
 
 
 
 
 
72
  } else {
73
  // fail safe incase settings go missing
74
  require_once SEEDPROD_PLUGIN_PATH . 'resources/data-templates/default-settings.php';
@@ -93,6 +111,7 @@ $csp_id = get_option( 'seedprod_coming_soon_page_id' );
93
  $mmp_id = get_option( 'seedprod_maintenance_mode_page_id' );
94
  $p404_id = get_option( 'seedprod_404_page_id' );
95
  $loginp_id = get_option( 'seedprod_login_page_id' );
 
96
 
97
  $csp_uuid = get_post_meta( $csp_id, '_seedprod_page_uuid', true );
98
  $mmp_uuid = get_post_meta( $mmp_id, '_seedprod_page_uuid', true );
@@ -216,6 +235,9 @@ var seedprod_update_theme_template_preview_mode_url = <?php echo wp_json_encode(
216
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_update_seedprod_theme_enabled', 'seedprod_lite_update_seedprod_theme_enabled' ) ); ?>
217
  var seedprod_update_seedprod_theme_enabled_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
218
 
 
 
 
219
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_get_plugins_list', 'seedprod_lite_get_plugins_list' ) ); ?>
220
  var seedprod_get_plugins_list_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
221
 
@@ -276,6 +298,38 @@ var seedprod_export_landingpages_url = <?php echo wp_json_encode( esc_url_raw( $
276
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_import_landing_pages', 'seedprod_lite_import_landing_pages' ) ); ?>
277
  var seedprod_import_landingpages_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  <?php
280
  $seedprod_unsupported_feature = get_option( 'seedprod_unsupported_feature' );
281
  if ( ! empty( $seedprod_unsupported_feature ) ) {
@@ -292,6 +346,7 @@ var seedprod_data_admin =
292
  <?php
293
  echo wp_json_encode(
294
  array(
 
295
  'plugin_version' => SEEDPROD_VERSION,
296
  'show_on_front' => $show_on_front,
297
  'page_for_posts' => $page_for_posts,
@@ -309,8 +364,10 @@ var seedprod_data_admin =
309
  'seedprod_cspv5_migrated' => $seedprod_cspv5_migrated,
310
  'seedprod_cspv5_imported' => $seedprod_cspv5_imported,
311
  'page_count' => $page_count,
 
312
  'subscriber_count' => $subscriber_count,
313
  'notifications' => $notifications,
 
314
  'csp_id' => $csp_id,
315
  'csp_uuid' => $csp_uuid,
316
  'csp_preview_url' => $csp_preview_url,
34
  $page_count = 0;
35
  }
36
 
37
+ $landing_pages_created = 0;
38
+ $lpresults = $wpdb->get_var(
39
+ "SELECT COUNT(`ID`) `hits`
40
+ FROM {$wpdb->posts} `p`
41
+ LEFT JOIN {$wpdb->postmeta} `pm` ON(`p`.`ID` = `pm`.`post_id`)
42
+ WHERE `p`.`post_type` = 'page'
43
+ AND `pm`.`meta_key` = '_seedprod_page';"
44
+ );
45
+ if(!empty($lpresults)){
46
+ $landing_pages_created = $lpresults;
47
+ }
48
+
49
 
50
  $subscriber_count = get_option( 'seedprod_subscriber_count' );
51
  if ( empty( $subscriber_count ) ) {
81
  $seedprod_app_settings = get_option( 'seedprod_app_settings' );
82
  if ( ! empty( $seedprod_app_settings ) ) {
83
  $seedprod_app_settings = json_decode( stripslashes( $seedprod_app_settings ) );
84
+ $enable_usage_tracking = get_option('seedprod_allow_usage_tracking');
85
+ if(empty($enable_usage_tracking)){
86
+ $seedprod_app_settings->enable_usage_tracking = false;
87
+ }else{
88
+ $seedprod_app_settings->enable_usage_tracking = true;
89
+ }
90
  } else {
91
  // fail safe incase settings go missing
92
  require_once SEEDPROD_PLUGIN_PATH . 'resources/data-templates/default-settings.php';
111
  $mmp_id = get_option( 'seedprod_maintenance_mode_page_id' );
112
  $p404_id = get_option( 'seedprod_404_page_id' );
113
  $loginp_id = get_option( 'seedprod_login_page_id' );
114
+ $seedprod_theme_id = get_option( 'seedprod_theme_id' );
115
 
116
  $csp_uuid = get_post_meta( $csp_id, '_seedprod_page_uuid', true );
117
  $mmp_uuid = get_post_meta( $mmp_id, '_seedprod_page_uuid', true );
235
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_update_seedprod_theme_enabled', 'seedprod_lite_update_seedprod_theme_enabled' ) ); ?>
236
  var seedprod_update_seedprod_theme_enabled_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
237
 
238
+ <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_install_addon_setup', 'seedprod_lite_install_addon_setup' ) ); ?>
239
+ var seedprod_get_install_addon_setup_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
240
+
241
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_get_plugins_list', 'seedprod_lite_get_plugins_list' ) ); ?>
242
  var seedprod_get_plugins_list_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
243
 
298
  <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_import_landing_pages', 'seedprod_lite_import_landing_pages' ) ); ?>
299
  var seedprod_import_landingpages_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
300
 
301
+ <?php $ajax_url = html_entity_decode( wp_nonce_url( 'admin-ajax.php?action=seedprod_lite_complete_setup_wizard', 'seedprod_lite_complete_setup_wizard' ) ); ?>
302
+ var seedprod_complete_setup_wizard_url = <?php echo wp_json_encode( esc_url_raw( $ajax_url ) ); ?>;
303
+
304
+ <?php
305
+ // get onboarding url if lite
306
+ $seedprod_onboarding_upgrade_url = '';
307
+ if(SEEDPROD_BUILD == 'lite'){
308
+ $oth = hash( 'sha512', wp_rand() );
309
+ update_option( 'seedprod_one_click_upgrade', $oth );
310
+ $version = SEEDPROD_VERSION;
311
+ $file = 'REPLACE_DOWNLOAD_LINK';
312
+ $siteurl = admin_url();
313
+ $endpoint = admin_url( 'admin-ajax.php' );
314
+ $redirect = admin_url( 'admin.php?page=seedprod_lite#/settings' );
315
+
316
+ $seedprod_onboarding_upgrade_url = add_query_arg(
317
+ array(
318
+ 'api_token' => 'REPLACE_API_TOKEN',
319
+ 'license_key' => 'REPLACE_LICENSE_KEY',
320
+ 'oth' => $oth,
321
+ 'endpoint' => $endpoint,
322
+ 'version' => $version,
323
+ 'siteurl' => $siteurl,
324
+ 'redirect' => rawurldecode( base64_encode( $redirect ) ),
325
+ 'file' => rawurldecode( base64_encode( $file ) ),
326
+ ),
327
+ SEEDPROD_WEB_API_URL . 'upgrade-free-to-pro'
328
+ );
329
+ }
330
+ ?>
331
+ var seedprod_onboarding_upgrade_url = <?php echo wp_json_encode( esc_url_raw( $seedprod_onboarding_upgrade_url ) ); ?>;
332
+
333
  <?php
334
  $seedprod_unsupported_feature = get_option( 'seedprod_unsupported_feature' );
335
  if ( ! empty( $seedprod_unsupported_feature ) ) {
346
  <?php
347
  echo wp_json_encode(
348
  array(
349
+ 'admin_url' => rawurldecode( base64_encode(admin_url())),
350
  'plugin_version' => SEEDPROD_VERSION,
351
  'show_on_front' => $show_on_front,
352
  'page_for_posts' => $page_for_posts,
364
  'seedprod_cspv5_migrated' => $seedprod_cspv5_migrated,
365
  'seedprod_cspv5_imported' => $seedprod_cspv5_imported,
366
  'page_count' => $page_count,
367
+ 'landing_page_count' => $landing_pages_created,
368
  'subscriber_count' => $subscriber_count,
369
  'notifications' => $notifications,
370
+ 'seedprod_theme_id' => $seedprod_theme_id,
371
  'csp_id' => $csp_id,
372
  'csp_uuid' => $csp_uuid,
373
  'csp_preview_url' => $csp_preview_url,