Version Description
Download this release
Release Info
Developer | extendify |
Plugin | Extendify — Gutenberg Patterns and Templates |
Version | 0.8.4 |
Comparing to | |
See all releases |
Code changes from version 0.8.3 to 0.8.4
- app/Config.php +3 -1
- app/Library/Admin.php +5 -1
- app/Library/Welcome.php +7 -1
- app/Onboarding/Admin.php +4 -1
- app/Onboarding/Controllers/DataController.php +8 -5
- app/Onboarding/Controllers/WPController.php +1 -32
- app/Onboarding/Helpers/ThemeJson.php +0 -27
- extendify.php +1 -1
- public/build/extendify-onboarding.css +1 -1
- public/build/extendify-onboarding.js +1 -1
- public/build/extendify.css +1 -1
- readme.txt +5 -1
- routes/api.php +1 -2
- src/Onboarding/Onboarding.js +22 -11
- src/Onboarding/api/DataApi.js +21 -3
- src/Onboarding/api/WPApi.js +73 -5
- src/Onboarding/app.css +1 -1
- src/Onboarding/components/PageControl.js +6 -4
- src/Onboarding/components/PagePreview.js +15 -13
- src/Onboarding/components/ProgressBar.js +1 -1
- src/Onboarding/components/StyledPreview.js +48 -16
- src/Onboarding/hooks/useFetch.js +5 -1
- src/Onboarding/hooks/useTelemetry.js +100 -0
- src/Onboarding/layouts/PageLayout.js +3 -2
- src/Onboarding/lib/pages.js +7 -6
- src/Onboarding/lib/wp.js +4 -3
- src/Onboarding/pages/CreatingSite.js +12 -36
- src/Onboarding/pages/Finished.js +1 -1
- src/Onboarding/pages/Goals.js +18 -16
- src/Onboarding/pages/Landing.js +3 -3
- src/Onboarding/pages/{CreateError.js → NeedsTheme.js} +5 -5
- src/Onboarding/pages/SiteInformation.js +1 -1
- src/Onboarding/pages/SitePages.js +39 -40
- src/Onboarding/pages/SiteStyle.js +10 -28
- src/Onboarding/pages/SiteSummary.js +9 -9
- src/Onboarding/pages/SiteTypeSelect.js +4 -6
- src/Onboarding/pages/SuggestedPlugins.js +2 -5
- src/Onboarding/state/Global.js +15 -3
- src/Onboarding/state/Pages.js +2 -2
- src/Onboarding/state/UserSelections.js +12 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +3 -3
app/Config.php
CHANGED
@@ -92,6 +92,9 @@ class Config
|
|
92 |
self::$sdkPartner = $GLOBALS['extendify_sdk_partner'];
|
93 |
}
|
94 |
|
|
|
|
|
|
|
95 |
// Always use the partner name if set as a constant.
|
96 |
if (defined('EXTENDIFY_PARTNER_NAME')) {
|
97 |
self::$sdkPartner = constant('EXTENDIFY_PARTNER_NAME');
|
@@ -111,7 +114,6 @@ class Config
|
|
111 |
$isDev = is_readable(EXTENDIFY_PATH . 'public/build/.devbuild');
|
112 |
self::$environment = $isDev ? 'DEVELOPMENT' : 'PRODUCTION';
|
113 |
|
114 |
-
self::$standalone = self::$sdkPartner === 'standalone';
|
115 |
self::$showOnboarding = $this->showOnboarding();
|
116 |
|
117 |
// Add the config.
|
92 |
self::$sdkPartner = $GLOBALS['extendify_sdk_partner'];
|
93 |
}
|
94 |
|
95 |
+
// Set up whether this is the standalone plugin instead of integrated.
|
96 |
+
self::$standalone = self::$sdkPartner === 'standalone';
|
97 |
+
|
98 |
// Always use the partner name if set as a constant.
|
99 |
if (defined('EXTENDIFY_PARTNER_NAME')) {
|
100 |
self::$sdkPartner = constant('EXTENDIFY_PARTNER_NAME');
|
114 |
$isDev = is_readable(EXTENDIFY_PATH . 'public/build/.devbuild');
|
115 |
self::$environment = $isDev ? 'DEVELOPMENT' : 'PRODUCTION';
|
116 |
|
|
|
117 |
self::$showOnboarding = $this->showOnboarding();
|
118 |
|
119 |
// Add the config.
|
app/Library/Admin.php
CHANGED
@@ -50,7 +50,11 @@ class Admin
|
|
50 |
$theme = get_option('template');
|
51 |
$label = esc_html__('Upgrade', 'extendify');
|
52 |
|
53 |
-
$links['upgrade'] = sprintf(
|
|
|
|
|
|
|
|
|
54 |
|
55 |
return $links;
|
56 |
}
|
50 |
$theme = get_option('template');
|
51 |
$label = esc_html__('Upgrade', 'extendify');
|
52 |
|
53 |
+
$links['upgrade'] = sprintf(
|
54 |
+
'<a href="%1$s" target="_blank"><b>%2$s</b></a>',
|
55 |
+
"https://extendify.com/pricing?utm_source=extendify-plugin&utm_medium=wp-dash&utm_campaign=action-link&utm_content=$label&utm_term=$theme",
|
56 |
+
$label
|
57 |
+
);
|
58 |
|
59 |
return $links;
|
60 |
}
|
app/Library/Welcome.php
CHANGED
@@ -76,7 +76,13 @@ class Welcome
|
|
76 |
<div class="welcome-section has-2-columns has-gutters is-wider-right">
|
77 |
<div class="column is-edge-to-edge">
|
78 |
<h3>
|
79 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
</h3>
|
81 |
<p>
|
82 |
<?php \esc_html_e("When editing a page or post within the block editor, you'll see the Extendify library button within the editor's header", 'extendify'); ?>
|
76 |
<div class="welcome-section has-2-columns has-gutters is-wider-right">
|
77 |
<div class="column is-edge-to-edge">
|
78 |
<h3>
|
79 |
+
<?php
|
80 |
+
echo sprintf(
|
81 |
+
/* translators: %s: Extendify Library term */
|
82 |
+
\esc_html__('1. Open the %s', 'extendify'),
|
83 |
+
'Extendify Library'
|
84 |
+
);
|
85 |
+
?>
|
86 |
</h3>
|
87 |
<p>
|
88 |
<?php \esc_html_e("When editing a page or post within the block editor, you'll see the Extendify library button within the editor's header", 'extendify'); ?>
|
app/Onboarding/Admin.php
CHANGED
@@ -149,15 +149,18 @@ class Admin
|
|
149 |
\wp_add_inline_script(
|
150 |
Config::$slug . '-onboarding-scripts',
|
151 |
'window.extOnbData = ' . wp_json_encode([
|
|
|
152 |
'site' => \esc_url_raw(\get_site_url()),
|
153 |
'adminUrl' => \esc_url_raw(\admin_url()),
|
154 |
'pluginUrl' => \esc_url_raw(EXTENDIFY_BASE_URL),
|
155 |
'home' => \esc_url_raw(\get_home_url()),
|
156 |
'root' => \esc_url_raw(\rest_url(Config::$slug . '/' . Config::$apiVersion)),
|
|
|
157 |
'wpRoot' => \esc_url_raw(\rest_url()),
|
158 |
'nonce' => \wp_create_nonce('wp_rest'),
|
159 |
'partnerLogo' => defined('EXTENDIFY_PARTNER_LOGO') ? constant('EXTENDIFY_PARTNER_LOGO') : null,
|
160 |
'partnerName' => defined('EXTENDIFY_PARTNER_NAME') ? constant('EXTENDIFY_PARTNER_NAME') : null,
|
|
|
161 |
]),
|
162 |
'before'
|
163 |
);
|
@@ -171,7 +174,7 @@ class Admin
|
|
171 |
$version,
|
172 |
'all'
|
173 |
);
|
174 |
-
$bg = defined('EXTENDIFY_ONBOARDING_BG') ? constant('EXTENDIFY_ONBOARDING_BG') : '
|
175 |
$txt = defined('EXTENDIFY_ONBOARDING_TXT') ? constant('EXTENDIFY_ONBOARDING_TXT') : '#ffffff';
|
176 |
\wp_add_inline_style(Config::$slug . '-onboarding-styles', "body {
|
177 |
--ext-partner-theme-primary-bg: {$bg};
|
149 |
\wp_add_inline_script(
|
150 |
Config::$slug . '-onboarding-scripts',
|
151 |
'window.extOnbData = ' . wp_json_encode([
|
152 |
+
'globalStylesPostID' => \WP_Theme_JSON_Resolver::get_user_global_styles_post_id(),
|
153 |
'site' => \esc_url_raw(\get_site_url()),
|
154 |
'adminUrl' => \esc_url_raw(\admin_url()),
|
155 |
'pluginUrl' => \esc_url_raw(EXTENDIFY_BASE_URL),
|
156 |
'home' => \esc_url_raw(\get_home_url()),
|
157 |
'root' => \esc_url_raw(\rest_url(Config::$slug . '/' . Config::$apiVersion)),
|
158 |
+
'config' => Config::$config,
|
159 |
'wpRoot' => \esc_url_raw(\rest_url()),
|
160 |
'nonce' => \wp_create_nonce('wp_rest'),
|
161 |
'partnerLogo' => defined('EXTENDIFY_PARTNER_LOGO') ? constant('EXTENDIFY_PARTNER_LOGO') : null,
|
162 |
'partnerName' => defined('EXTENDIFY_PARTNER_NAME') ? constant('EXTENDIFY_PARTNER_NAME') : null,
|
163 |
+
'devbuild' => \esc_attr(Config::$environment === 'DEVELOPMENT'),
|
164 |
]),
|
165 |
'before'
|
166 |
);
|
174 |
$version,
|
175 |
'all'
|
176 |
);
|
177 |
+
$bg = defined('EXTENDIFY_ONBOARDING_BG') ? constant('EXTENDIFY_ONBOARDING_BG') : '#3e58e1';
|
178 |
$txt = defined('EXTENDIFY_ONBOARDING_TXT') ? constant('EXTENDIFY_ONBOARDING_TXT') : '#ffffff';
|
179 |
\wp_add_inline_style(Config::$slug . '-onboarding-styles', "body {
|
180 |
--ext-partner-theme-primary-bg: {$bg};
|
app/Onboarding/Controllers/DataController.php
CHANGED
@@ -36,7 +36,11 @@ class DataController
|
|
36 |
public static function getStyles($request)
|
37 |
{
|
38 |
$siteType = $request->get_param('siteType');
|
39 |
-
$
|
|
|
|
|
|
|
|
|
40 |
return new \WP_REST_Response($response);
|
41 |
}
|
42 |
/**
|
@@ -90,14 +94,13 @@ class DataController
|
|
90 |
}
|
91 |
|
92 |
/**
|
93 |
-
*
|
94 |
*
|
95 |
-
* @param \WP_REST_Request $request - The request.
|
96 |
* @return \WP_REST_Response
|
97 |
*/
|
98 |
-
public static function createOrder(
|
99 |
{
|
100 |
-
$response = Http::post('/create-order'
|
101 |
return new \WP_REST_Response($response);
|
102 |
}
|
103 |
}
|
36 |
public static function getStyles($request)
|
37 |
{
|
38 |
$siteType = $request->get_param('siteType');
|
39 |
+
$styles = $request->get_param('styles');
|
40 |
+
$response = Http::get('/styles', [
|
41 |
+
'siteType' => $siteType,
|
42 |
+
'styles' => $styles,
|
43 |
+
]);
|
44 |
return new \WP_REST_Response($response);
|
45 |
}
|
46 |
/**
|
94 |
}
|
95 |
|
96 |
/**
|
97 |
+
* Create an order.
|
98 |
*
|
|
|
99 |
* @return \WP_REST_Response
|
100 |
*/
|
101 |
+
public static function createOrder()
|
102 |
{
|
103 |
+
$response = Http::post('/create-order');
|
104 |
return new \WP_REST_Response($response);
|
105 |
}
|
106 |
}
|
app/Onboarding/Controllers/WPController.php
CHANGED
@@ -5,8 +5,6 @@
|
|
5 |
|
6 |
namespace Extendify\Onboarding\Controllers;
|
7 |
|
8 |
-
use Extendify\Onboarding\Helpers\ThemeJson;
|
9 |
-
|
10 |
if (!defined('ABSPATH')) {
|
11 |
die('No direct access.');
|
12 |
}
|
@@ -29,42 +27,13 @@ class WPController
|
|
29 |
return new \WP_Error('invalid_theme_json', __('Invalid Theme.json file', 'extendify'));
|
30 |
}
|
31 |
|
32 |
-
$themeJson = new
|
33 |
return new \WP_REST_Response([
|
34 |
'success' => true,
|
35 |
'styles' => $themeJson->get_stylesheet(),
|
36 |
], 200);
|
37 |
}
|
38 |
|
39 |
-
/**
|
40 |
-
* Persist the data
|
41 |
-
*
|
42 |
-
* @param \WP_REST_Request $request - The request.
|
43 |
-
* @return \WP_REST_Response
|
44 |
-
*/
|
45 |
-
public static function saveThemeJson($request)
|
46 |
-
{
|
47 |
-
if (!$request->get_param('themeJson')) {
|
48 |
-
return new \WP_Error('invalid_theme_json', __('Invalid Theme.json file', 'extendify'));
|
49 |
-
}
|
50 |
-
|
51 |
-
$themeJson = ThemeJson::justSanitize(json_decode($request->get_param('themeJson'), true));
|
52 |
-
|
53 |
-
require_once ABSPATH . '/wp-admin/includes/file.php';
|
54 |
-
$maybeError = \wp_edit_theme_plugin_file([
|
55 |
-
'theme' => \get_option('template'),
|
56 |
-
'file' => 'theme.json',
|
57 |
-
'newcontent' => \wp_json_encode($themeJson, JSON_PRETTY_PRINT),
|
58 |
-
'nonce' => \wp_create_nonce('edit-theme_' . \get_option('template') . '_theme.json'),
|
59 |
-
]);
|
60 |
-
|
61 |
-
if (\is_wp_error($maybeError)) {
|
62 |
-
return new \WP_Error('invalid_theme_json', __('Error creating theme.json file', 'extendify'));
|
63 |
-
}
|
64 |
-
|
65 |
-
return new \WP_REST_Response(['success' => true], 200);
|
66 |
-
}
|
67 |
-
|
68 |
/**
|
69 |
* Persist the data
|
70 |
*
|
5 |
|
6 |
namespace Extendify\Onboarding\Controllers;
|
7 |
|
|
|
|
|
8 |
if (!defined('ABSPATH')) {
|
9 |
die('No direct access.');
|
10 |
}
|
27 |
return new \WP_Error('invalid_theme_json', __('Invalid Theme.json file', 'extendify'));
|
28 |
}
|
29 |
|
30 |
+
$themeJson = new \WP_Theme_JSON(json_decode($request->get_param('themeJson'), true), '');
|
31 |
return new \WP_REST_Response([
|
32 |
'success' => true,
|
33 |
'styles' => $themeJson->get_stylesheet(),
|
34 |
], 200);
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
/**
|
38 |
* Persist the data
|
39 |
*
|
app/Onboarding/Helpers/ThemeJson.php
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
namespace Extendify\Onboarding\Helpers;
|
4 |
-
|
5 |
-
if (!defined('ABSPATH')) {
|
6 |
-
die('No direct access.');
|
7 |
-
}
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Class used to expose some WP protectod methods
|
11 |
-
*/
|
12 |
-
class ThemeJson extends \WP_Theme_JSON
|
13 |
-
{
|
14 |
-
/**
|
15 |
-
* Expose the protected sanitize function to make sure the theme.json is OK.
|
16 |
-
*
|
17 |
-
* @param array $themeJson - parsed theme.json array.
|
18 |
-
* @return array
|
19 |
-
*/
|
20 |
-
public static function justSanitize($themeJson)
|
21 |
-
{
|
22 |
-
$themeJson = \WP_Theme_JSON_Schema::migrate($themeJson);
|
23 |
-
$validBlockNames = array_keys(static::get_blocks_metadata());
|
24 |
-
$validElementNames = array_keys(static::ELEMENTS);
|
25 |
-
return static::sanitize($themeJson, $validBlockNames, $validElementNames);
|
26 |
-
}
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extendify.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
6 |
* Author: Extendify
|
7 |
* Author URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
8 |
-
* Version: 0.8.
|
9 |
* License: GPL-2.0-or-later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: extendify
|
5 |
* Plugin URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
6 |
* Author: Extendify
|
7 |
* Author URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
8 |
+
* Version: 0.8.4
|
9 |
* License: GPL-2.0-or-later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: extendify
|
public/build/extendify-onboarding.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div.extendify-onboarding .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify-onboarding .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify-onboarding .pointer-events-none{pointer-events:none!important}div.extendify-onboarding .invisible{visibility:hidden!important}div.extendify-onboarding .group:focus .group-focus\:visible,div.extendify-onboarding .group:hover .group-hover\:visible{visibility:visible!important}div.extendify-onboarding .static{position:static!important}div.extendify-onboarding .fixed{position:fixed!important}div.extendify-onboarding .absolute{position:absolute!important}div.extendify-onboarding .relative{position:relative!important}div.extendify-onboarding .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify-onboarding .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify-onboarding .top-0{top:0!important}div.extendify-onboarding .top-2{top:.5rem!important}div.extendify-onboarding .top-4{top:1rem!important}div.extendify-onboarding .-top-1\/4{top:-25%!important}div.extendify-onboarding .right-0{right:0!important}div.extendify-onboarding .right-1{right:.25rem!important}div.extendify-onboarding .right-2{right:.5rem!important}div.extendify-onboarding .right-3{right:.75rem!important}div.extendify-onboarding .right-4{right:1rem!important}div.extendify-onboarding .right-2\.5{right:.625rem!important}div.extendify-onboarding .bottom-0{bottom:0!important}div.extendify-onboarding .bottom-4{bottom:1rem!important}div.extendify-onboarding .-bottom-2{bottom:-.5rem!important}div.extendify-onboarding .left-0{left:0!important}div.extendify-onboarding .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .z-10{z-index:10!important}div.extendify-onboarding .z-20{z-index:20!important}div.extendify-onboarding .z-30{z-index:30!important}div.extendify-onboarding .z-40{z-index:40!important}div.extendify-onboarding .z-50{z-index:50!important}div.extendify-onboarding .z-high{z-index:99999!important}div.extendify-onboarding .z-max{z-index:2147483647!important}div.extendify-onboarding .m-0{margin:0!important}div.extendify-onboarding .m-6{margin:1.5rem!important}div.extendify-onboarding .m-8{margin:2rem!important}div.extendify-onboarding .m-auto{margin:auto!important}div.extendify-onboarding .-m-2{margin:-.5rem!important}div.extendify-onboarding .-m-6{margin:-1.5rem!important}div.extendify-onboarding .-m-8{margin:-2rem!important}div.extendify-onboarding .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify-onboarding .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify-onboarding .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify-onboarding .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify-onboarding .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify-onboarding .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify-onboarding .mt-0{margin-top:0!important}div.extendify-onboarding .mt-2{margin-top:.5rem!important}div.extendify-onboarding .mt-4{margin-top:1rem!important}div.extendify-onboarding .mt-8{margin-top:2rem!important}div.extendify-onboarding .mt-px{margin-top:1px!important}div.extendify-onboarding .-mt-2{margin-top:-.5rem!important}div.extendify-onboarding .-mt-5{margin-top:-1.25rem!important}div.extendify-onboarding .mr-1{margin-right:.25rem!important}div.extendify-onboarding .mr-2{margin-right:.5rem!important}div.extendify-onboarding .mr-6{margin-right:1.5rem!important}div.extendify-onboarding .-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .-mr-1\.5{margin-right:-.375rem!important}div.extendify-onboarding .mb-0{margin-bottom:0!important}div.extendify-onboarding .mb-1{margin-bottom:.25rem!important}div.extendify-onboarding .mb-2{margin-bottom:.5rem!important}div.extendify-onboarding .mb-3{margin-bottom:.75rem!important}div.extendify-onboarding .mb-4{margin-bottom:1rem!important}div.extendify-onboarding .mb-5{margin-bottom:1.25rem!important}div.extendify-onboarding .mb-8{margin-bottom:2rem!important}div.extendify-onboarding .mb-10{margin-bottom:2.5rem!important}div.extendify-onboarding .ml-1{margin-left:.25rem!important}div.extendify-onboarding .ml-2{margin-left:.5rem!important}div.extendify-onboarding .ml-4{margin-left:1rem!important}div.extendify-onboarding .ml-12{margin-left:3rem!important}div.extendify-onboarding .-ml-1{margin-left:-.25rem!important}div.extendify-onboarding .-ml-2{margin-left:-.5rem!important}div.extendify-onboarding .-ml-6{margin-left:-1.5rem!important}div.extendify-onboarding .-ml-px{margin-left:-1px!important}div.extendify-onboarding .-ml-1\.5{margin-left:-.375rem!important}div.extendify-onboarding .block{display:block!important}div.extendify-onboarding .inline-block{display:inline-block!important}div.extendify-onboarding .flex{display:flex!important}div.extendify-onboarding .inline-flex{display:inline-flex!important}div.extendify-onboarding .table{display:table!important}div.extendify-onboarding .grid{display:grid!important}div.extendify-onboarding .hidden{display:none!important}div.extendify-onboarding .h-0{height:0!important}div.extendify-onboarding .h-2{height:.5rem!important}div.extendify-onboarding .h-4{height:1rem!important}div.extendify-onboarding .h-8{height:2rem!important}div.extendify-onboarding .h-12{height:3rem!important}div.extendify-onboarding .h-32{height:8rem!important}div.extendify-onboarding .h-64{height:16rem!important}div.extendify-onboarding .h-auto{height:auto!important}div.extendify-onboarding .h-full{height:100%!important}div.extendify-onboarding .h-screen{height:100vh!important}div.extendify-onboarding .max-h-96{max-height:24rem!important}div.extendify-onboarding .min-h-screen{min-height:100vh!important}div.extendify-onboarding .w-0{width:0!important}div.extendify-onboarding .w-4{width:1rem!important}div.extendify-onboarding .w-6{width:1.5rem!important}div.extendify-onboarding .w-8{width:2rem!important}div.extendify-onboarding .w-10{width:2.5rem!important}div.extendify-onboarding .w-16{width:4rem!important}div.extendify-onboarding .w-20{width:5rem!important}div.extendify-onboarding .w-28{width:7rem!important}div.extendify-onboarding .w-32{width:8rem!important}div.extendify-onboarding .w-72{width:18rem!important}div.extendify-onboarding .w-80{width:20rem!important}div.extendify-onboarding .w-96{width:24rem!important}div.extendify-onboarding .w-auto{width:auto!important}div.extendify-onboarding .w-6\/12{width:50%!important}div.extendify-onboarding .w-7\/12{width:58.333333%!important}div.extendify-onboarding .w-full{width:100%!important}div.extendify-onboarding .w-screen{width:100vw!important}div.extendify-onboarding .min-w-0{min-width:0!important}div.extendify-onboarding .min-w-sm{min-width:7rem!important}div.extendify-onboarding .max-w-sm{max-width:24rem!important}div.extendify-onboarding .max-w-md{max-width:28rem!important}div.extendify-onboarding .max-w-lg{max-width:32rem!important}div.extendify-onboarding .max-w-xl{max-width:36rem!important}div.extendify-onboarding .max-w-2xl{max-width:42rem!important}div.extendify-onboarding .max-w-full{max-width:100%!important}div.extendify-onboarding .max-w-screen-4xl{max-width:1920px!important}div.extendify-onboarding .flex-1{flex:1 1 0%!important}div.extendify-onboarding .flex-shrink-0{flex-shrink:0!important}div.extendify-onboarding .flex-grow-0{flex-grow:0!important}div.extendify-onboarding .flex-grow{flex-grow:1!important}div.extendify-onboarding .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify-onboarding .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify-onboarding .translate-y-0{--tw-translate-y:0px!important}div.extendify-onboarding .translate-y-4{--tw-translate-y:1rem!important}div.extendify-onboarding .-translate-y-px{--tw-translate-y:-1px!important}div.extendify-onboarding .-translate-y-full{--tw-translate-y:-100%!important}div.extendify-onboarding .rotate-90{--tw-rotate:90deg!important}div.extendify-onboarding .cursor-pointer{cursor:pointer!important}div.extendify-onboarding .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify-onboarding .flex-col{flex-direction:column!important}div.extendify-onboarding .flex-wrap{flex-wrap:wrap!important}div.extendify-onboarding .items-start{align-items:flex-start!important}div.extendify-onboarding .items-end{align-items:flex-end!important}div.extendify-onboarding .items-center{align-items:center!important}div.extendify-onboarding .justify-end{justify-content:flex-end!important}div.extendify-onboarding .justify-center{justify-content:center!important}div.extendify-onboarding .justify-between{justify-content:space-between!important}div.extendify-onboarding .justify-evenly{justify-content:space-evenly!important}div.extendify-onboarding .gap-4{gap:1rem!important}div.extendify-onboarding .gap-6{gap:1.5rem!important}div.extendify-onboarding .gap-8{gap:2rem!important}div.extendify-onboarding .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify-onboarding .self-start{align-self:flex-start!important}div.extendify-onboarding .overflow-hidden{overflow:hidden!important}div.extendify-onboarding .overflow-y-auto{overflow-y:auto!important}div.extendify-onboarding .overflow-x-hidden{overflow-x:hidden!important}div.extendify-onboarding .whitespace-nowrap{white-space:nowrap!important}div.extendify-onboarding .rounded-sm{border-radius:.125rem!important}div.extendify-onboarding .rounded{border-radius:.25rem!important}div.extendify-onboarding .rounded-md{border-radius:.375rem!important}div.extendify-onboarding .rounded-lg{border-radius:.5rem!important}div.extendify-onboarding .rounded-full{border-radius:9999px!important}div.extendify-onboarding .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify-onboarding .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify-onboarding .border-0{border-width:0!important}div.extendify-onboarding .border-2{border-width:2px!important}div.extendify-onboarding .border-8{border-width:8px!important}div.extendify-onboarding .border{border-width:1px!important}div.extendify-onboarding .border-r{border-right-width:1px!important}div.extendify-onboarding .border-b-0{border-bottom-width:0!important}div.extendify-onboarding .border-b{border-bottom-width:1px!important}div.extendify-onboarding .border-l-8{border-left-width:8px!important}div.extendify-onboarding .border-solid{border-style:solid!important}div.extendify-onboarding .border-none{border-style:none!important}div.extendify-onboarding .border-transparent{border-color:transparent!important}div.extendify-onboarding .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-600{--tw-border-opacity:1!important;border-color:rgba(148,148,148,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify-onboarding .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify-onboarding .focus\:border-transparent:focus{border-color:transparent!important}div.extendify-onboarding .bg-transparent{background-color:transparent!important}div.extendify-onboarding .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify-onboarding .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify-onboarding .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-gray-200:hover{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify-onboarding .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify-onboarding .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify-onboarding .bg-cover{background-size:cover!important}div.extendify-onboarding .bg-clip-padding{background-clip:padding-box!important}div.extendify-onboarding .fill-current{fill:currentColor!important}div.extendify-onboarding .stroke-current{stroke:currentColor!important}div.extendify-onboarding .p-0{padding:0!important}div.extendify-onboarding .p-1{padding:.25rem!important}div.extendify-onboarding .p-2{padding:.5rem!important}div.extendify-onboarding .p-3{padding:.75rem!important}div.extendify-onboarding .p-4{padding:1rem!important}div.extendify-onboarding .p-6{padding:1.5rem!important}div.extendify-onboarding .p-8{padding:2rem!important}div.extendify-onboarding .p-10{padding:2.5rem!important}div.extendify-onboarding .p-12{padding:3rem!important}div.extendify-onboarding .p-0\.5{padding:.125rem!important}div.extendify-onboarding .p-1\.5{padding:.375rem!important}div.extendify-onboarding .p-3\.5{padding:.875rem!important}div.extendify-onboarding .px-0{padding-left:0!important;padding-right:0!important}div.extendify-onboarding .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify-onboarding .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify-onboarding .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify-onboarding .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify-onboarding .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify-onboarding .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify-onboarding .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify-onboarding .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify-onboarding .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify-onboarding .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify-onboarding .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify-onboarding .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify-onboarding .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify-onboarding .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify-onboarding .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify-onboarding .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify-onboarding .pt-0{padding-top:0!important}div.extendify-onboarding .pt-2{padding-top:.5rem!important}div.extendify-onboarding .pt-4{padding-top:1rem!important}div.extendify-onboarding .pt-6{padding-top:1.5rem!important}div.extendify-onboarding .pt-px{padding-top:1px!important}div.extendify-onboarding .pt-0\.5{padding-top:.125rem!important}div.extendify-onboarding .pr-3{padding-right:.75rem!important}div.extendify-onboarding .pr-8{padding-right:2rem!important}div.extendify-onboarding .pb-2{padding-bottom:.5rem!important}div.extendify-onboarding .pb-8{padding-bottom:2rem!important}div.extendify-onboarding .pb-20{padding-bottom:5rem!important}div.extendify-onboarding .pb-36{padding-bottom:9rem!important}div.extendify-onboarding .pb-40{padding-bottom:10rem!important}div.extendify-onboarding .pl-0{padding-left:0!important}div.extendify-onboarding .pl-2{padding-left:.5rem!important}div.extendify-onboarding .pl-6{padding-left:1.5rem!important}div.extendify-onboarding .text-left{text-align:left!important}div.extendify-onboarding .text-center{text-align:center!important}div.extendify-onboarding .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify-onboarding .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify-onboarding .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify-onboarding .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-xss{font-size:11px!important}div.extendify-onboarding .font-light{font-weight:300!important}div.extendify-onboarding .font-normal{font-weight:400!important}div.extendify-onboarding .font-medium{font-weight:500!important}div.extendify-onboarding .font-semibold{font-weight:600!important}div.extendify-onboarding .font-bold{font-weight:700!important}div.extendify-onboarding .uppercase{text-transform:uppercase!important}div.extendify-onboarding .italic{font-style:italic!important}div.extendify-onboarding .leading-none{line-height:1!important}div.extendify-onboarding .tracking-tight{letter-spacing:-.025em!important}div.extendify-onboarding .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify-onboarding .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify-onboarding .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify-onboarding .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify-onboarding .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify-onboarding .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify-onboarding .underline{text-decoration:underline!important}div.extendify-onboarding .no-underline{text-decoration:none!important}div.extendify-onboarding .hover\:underline:hover{text-decoration:underline!important}div.extendify-onboarding .hover\:no-underline:hover{text-decoration:none!important}div.extendify-onboarding .opacity-0{opacity:0!important}div.extendify-onboarding .opacity-30{opacity:.3!important}div.extendify-onboarding .opacity-50{opacity:.5!important}div.extendify-onboarding .opacity-70{opacity:.7!important}div.extendify-onboarding .opacity-75{opacity:.75!important}div.extendify-onboarding .focus\:opacity-100:focus,div.extendify-onboarding .group:focus .group-focus\:opacity-100,div.extendify-onboarding .group:hover .group-hover\:opacity-100,div.extendify-onboarding .hover\:opacity-100:hover,div.extendify-onboarding .opacity-100{opacity:1!important}div.extendify-onboarding .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify-onboarding .shadow-md,div.extendify-onboarding .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify-onboarding .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify-onboarding .shadow-2xl,div.extendify-onboarding .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify-onboarding .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .focus\:outline-none:focus,div.extendify-onboarding .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify-onboarding .focus\:ring-wp:focus,div.extendify-onboarding .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify-onboarding .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify-onboarding .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify-onboarding .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify-onboarding .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify-onboarding .blur{--tw-blur:blur(8px)!important}div.extendify-onboarding .invert{--tw-invert:invert(100%)!important}div.extendify-onboarding .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify-onboarding .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify-onboarding .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify-onboarding .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .delay-200{transition-delay:.2s!important}div.extendify-onboarding .duration-100{transition-duration:.1s!important}div.extendify-onboarding .duration-200{transition-duration:.2s!important}div.extendify-onboarding .duration-300{transition-duration:.3s!important}div.extendify-onboarding .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify-onboarding .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify-onboarding{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important}.extendify-onboarding *,.extendify-onboarding :after,.extendify-onboarding :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify-onboarding{-webkit-font-smoothing:antialiased!important}.extendify-onboarding .search-panel .icon-search{position:absolute!important;right:16px!important}.extendify-onboarding .button-focus{background-color:transparent!important;border-radius:.5rem!important;cursor:pointer!important;font-size:1rem!important;line-height:1.5rem!important;text-align:center!important;text-decoration:none!important}.extendify-onboarding .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .button-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .input-focus{border-radius:.5rem!important;font-size:1rem!important;line-height:1.5rem!important}.extendify-onboarding .input-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .input-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .input-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .input-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .button-card{border-width:1px!important;display:block!important;flex:1 1 0%!important;margin:0!important;overflow:hidden!important;padding:1rem!important}.extendify-onboarding .preview-container .block-editor-block-preview__content{max-height:none!important}.extendify-onboarding .spin{-webkit-animation:extendify-loading-spinner 2.5s linear infinite;animation:extendify-loading-spinner 2.5s linear infinite}@-webkit-keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.extendify-onboarding .components-checkbox-control__input[type=checkbox]{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important;border-width:1px!important}.extendify-onboarding .components-checkbox-control__input[type=checkbox]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .components-checkbox-control__input[type=checkbox]:checked{background-color:var(--ext-partner-theme-primary-bg,#007cba)!important}.extendify-onboarding .goal-select .components-base-control__field{margin-bottom:0!important}@media (min-width:480px){div.extendify-onboarding .xs\:inline{display:inline!important}div.extendify-onboarding .xs\:h-9{height:2.25rem!important}div.extendify-onboarding .xs\:pr-3{padding-right:.75rem!important}div.extendify-onboarding .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify-onboarding .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify-onboarding .sm\:mt-0{margin-top:0!important}div.extendify-onboarding .sm\:mb-8{margin-bottom:2rem!important}div.extendify-onboarding .sm\:ml-2{margin-left:.5rem!important}div.extendify-onboarding .sm\:block{display:block!important}div.extendify-onboarding .sm\:flex{display:flex!important}div.extendify-onboarding .sm\:h-auto{height:auto!important}div.extendify-onboarding .sm\:w-72{width:18rem!important}div.extendify-onboarding .sm\:w-auto{width:auto!important}div.extendify-onboarding .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify-onboarding .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .sm\:p-0{padding:0!important}div.extendify-onboarding .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .sm\:pt-0{padding-top:0!important}div.extendify-onboarding .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify-onboarding .md\:m-0{margin:0!important}div.extendify-onboarding .md\:-ml-8{margin-left:-2rem!important}div.extendify-onboarding .md\:block{display:block!important}div.extendify-onboarding .md\:flex{display:flex!important}div.extendify-onboarding .md\:hidden{display:none!important}div.extendify-onboarding .md\:h-screen{height:100vh!important}div.extendify-onboarding .md\:w-40vw{width:40vw!important}div.extendify-onboarding .md\:max-w-md{max-width:28rem!important}div.extendify-onboarding .md\:max-w-2xl{max-width:42rem!important}div.extendify-onboarding .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify-onboarding .md\:flex-row{flex-direction:row!important}div.extendify-onboarding .md\:gap-8{gap:2rem!important}div.extendify-onboarding .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .md\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .md\:p-8{padding:2rem!important}div.extendify-onboarding .md\:px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .md\:pl-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify-onboarding .lg\:absolute{position:absolute!important}div.extendify-onboarding .lg\:-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .lg\:block{display:block!important}div.extendify-onboarding .lg\:flex{display:flex!important}div.extendify-onboarding .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify-onboarding .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .lg\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .lg\:p-16{padding:4rem!important}div.extendify-onboarding .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
|
1 |
+
div.extendify-onboarding .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify-onboarding .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify-onboarding .pointer-events-none{pointer-events:none!important}div.extendify-onboarding .invisible{visibility:hidden!important}div.extendify-onboarding .group:focus .group-focus\:visible,div.extendify-onboarding .group:hover .group-hover\:visible{visibility:visible!important}div.extendify-onboarding .static{position:static!important}div.extendify-onboarding .fixed{position:fixed!important}div.extendify-onboarding .absolute{position:absolute!important}div.extendify-onboarding .relative{position:relative!important}div.extendify-onboarding .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify-onboarding .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify-onboarding .top-0{top:0!important}div.extendify-onboarding .top-2{top:.5rem!important}div.extendify-onboarding .top-4{top:1rem!important}div.extendify-onboarding .-top-1\/4{top:-25%!important}div.extendify-onboarding .right-0{right:0!important}div.extendify-onboarding .right-1{right:.25rem!important}div.extendify-onboarding .right-2{right:.5rem!important}div.extendify-onboarding .right-3{right:.75rem!important}div.extendify-onboarding .right-4{right:1rem!important}div.extendify-onboarding .right-2\.5{right:.625rem!important}div.extendify-onboarding .bottom-0{bottom:0!important}div.extendify-onboarding .bottom-4{bottom:1rem!important}div.extendify-onboarding .-bottom-2{bottom:-.5rem!important}div.extendify-onboarding .left-0{left:0!important}div.extendify-onboarding .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .z-10{z-index:10!important}div.extendify-onboarding .z-20{z-index:20!important}div.extendify-onboarding .z-30{z-index:30!important}div.extendify-onboarding .z-40{z-index:40!important}div.extendify-onboarding .z-50{z-index:50!important}div.extendify-onboarding .z-high{z-index:99999!important}div.extendify-onboarding .z-max{z-index:2147483647!important}div.extendify-onboarding .m-0{margin:0!important}div.extendify-onboarding .m-6{margin:1.5rem!important}div.extendify-onboarding .m-8{margin:2rem!important}div.extendify-onboarding .m-auto{margin:auto!important}div.extendify-onboarding .-m-2{margin:-.5rem!important}div.extendify-onboarding .-m-6{margin:-1.5rem!important}div.extendify-onboarding .-m-px{margin:-1px!important}div.extendify-onboarding .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify-onboarding .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify-onboarding .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify-onboarding .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify-onboarding .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify-onboarding .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify-onboarding .mt-0{margin-top:0!important}div.extendify-onboarding .mt-2{margin-top:.5rem!important}div.extendify-onboarding .mt-4{margin-top:1rem!important}div.extendify-onboarding .mt-8{margin-top:2rem!important}div.extendify-onboarding .mt-px{margin-top:1px!important}div.extendify-onboarding .-mt-2{margin-top:-.5rem!important}div.extendify-onboarding .-mt-5{margin-top:-1.25rem!important}div.extendify-onboarding .mr-1{margin-right:.25rem!important}div.extendify-onboarding .mr-2{margin-right:.5rem!important}div.extendify-onboarding .mr-6{margin-right:1.5rem!important}div.extendify-onboarding .-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .-mr-1\.5{margin-right:-.375rem!important}div.extendify-onboarding .mb-0{margin-bottom:0!important}div.extendify-onboarding .mb-1{margin-bottom:.25rem!important}div.extendify-onboarding .mb-2{margin-bottom:.5rem!important}div.extendify-onboarding .mb-3{margin-bottom:.75rem!important}div.extendify-onboarding .mb-4{margin-bottom:1rem!important}div.extendify-onboarding .mb-5{margin-bottom:1.25rem!important}div.extendify-onboarding .mb-8{margin-bottom:2rem!important}div.extendify-onboarding .mb-10{margin-bottom:2.5rem!important}div.extendify-onboarding .mb-12{margin-bottom:3rem!important}div.extendify-onboarding .ml-1{margin-left:.25rem!important}div.extendify-onboarding .ml-2{margin-left:.5rem!important}div.extendify-onboarding .ml-4{margin-left:1rem!important}div.extendify-onboarding .ml-12{margin-left:3rem!important}div.extendify-onboarding .-ml-1{margin-left:-.25rem!important}div.extendify-onboarding .-ml-2{margin-left:-.5rem!important}div.extendify-onboarding .-ml-6{margin-left:-1.5rem!important}div.extendify-onboarding .-ml-px{margin-left:-1px!important}div.extendify-onboarding .-ml-1\.5{margin-left:-.375rem!important}div.extendify-onboarding .block{display:block!important}div.extendify-onboarding .inline-block{display:inline-block!important}div.extendify-onboarding .flex{display:flex!important}div.extendify-onboarding .inline-flex{display:inline-flex!important}div.extendify-onboarding .table{display:table!important}div.extendify-onboarding .grid{display:grid!important}div.extendify-onboarding .hidden{display:none!important}div.extendify-onboarding .h-0{height:0!important}div.extendify-onboarding .h-2{height:.5rem!important}div.extendify-onboarding .h-4{height:1rem!important}div.extendify-onboarding .h-8{height:2rem!important}div.extendify-onboarding .h-12{height:3rem!important}div.extendify-onboarding .h-32{height:8rem!important}div.extendify-onboarding .h-64{height:16rem!important}div.extendify-onboarding .h-auto{height:auto!important}div.extendify-onboarding .h-full{height:100%!important}div.extendify-onboarding .h-screen{height:100vh!important}div.extendify-onboarding .max-h-96{max-height:24rem!important}div.extendify-onboarding .min-h-screen{min-height:100vh!important}div.extendify-onboarding .w-0{width:0!important}div.extendify-onboarding .w-4{width:1rem!important}div.extendify-onboarding .w-6{width:1.5rem!important}div.extendify-onboarding .w-8{width:2rem!important}div.extendify-onboarding .w-10{width:2.5rem!important}div.extendify-onboarding .w-16{width:4rem!important}div.extendify-onboarding .w-20{width:5rem!important}div.extendify-onboarding .w-28{width:7rem!important}div.extendify-onboarding .w-32{width:8rem!important}div.extendify-onboarding .w-72{width:18rem!important}div.extendify-onboarding .w-80{width:20rem!important}div.extendify-onboarding .w-96{width:24rem!important}div.extendify-onboarding .w-auto{width:auto!important}div.extendify-onboarding .w-6\/12{width:50%!important}div.extendify-onboarding .w-7\/12{width:58.333333%!important}div.extendify-onboarding .w-full{width:100%!important}div.extendify-onboarding .w-screen{width:100vw!important}div.extendify-onboarding .min-w-0{min-width:0!important}div.extendify-onboarding .min-w-sm{min-width:7rem!important}div.extendify-onboarding .max-w-sm{max-width:24rem!important}div.extendify-onboarding .max-w-md{max-width:28rem!important}div.extendify-onboarding .max-w-lg{max-width:32rem!important}div.extendify-onboarding .max-w-xl{max-width:36rem!important}div.extendify-onboarding .max-w-2xl{max-width:42rem!important}div.extendify-onboarding .max-w-full{max-width:100%!important}div.extendify-onboarding .max-w-screen-4xl{max-width:1920px!important}div.extendify-onboarding .flex-1{flex:1 1 0%!important}div.extendify-onboarding .flex-shrink-0{flex-shrink:0!important}div.extendify-onboarding .flex-grow-0{flex-grow:0!important}div.extendify-onboarding .flex-grow{flex-grow:1!important}div.extendify-onboarding .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify-onboarding .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify-onboarding .translate-y-0{--tw-translate-y:0px!important}div.extendify-onboarding .translate-y-4{--tw-translate-y:1rem!important}div.extendify-onboarding .-translate-y-px{--tw-translate-y:-1px!important}div.extendify-onboarding .-translate-y-full{--tw-translate-y:-100%!important}div.extendify-onboarding .rotate-90{--tw-rotate:90deg!important}div.extendify-onboarding .cursor-pointer{cursor:pointer!important}div.extendify-onboarding .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify-onboarding .flex-col{flex-direction:column!important}div.extendify-onboarding .flex-wrap{flex-wrap:wrap!important}div.extendify-onboarding .items-start{align-items:flex-start!important}div.extendify-onboarding .items-end{align-items:flex-end!important}div.extendify-onboarding .items-center{align-items:center!important}div.extendify-onboarding .justify-end{justify-content:flex-end!important}div.extendify-onboarding .justify-center{justify-content:center!important}div.extendify-onboarding .justify-between{justify-content:space-between!important}div.extendify-onboarding .justify-evenly{justify-content:space-evenly!important}div.extendify-onboarding .gap-4{gap:1rem!important}div.extendify-onboarding .gap-6{gap:1.5rem!important}div.extendify-onboarding .gap-8{gap:2rem!important}div.extendify-onboarding .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify-onboarding .self-start{align-self:flex-start!important}div.extendify-onboarding .overflow-hidden{overflow:hidden!important}div.extendify-onboarding .overflow-y-auto{overflow-y:auto!important}div.extendify-onboarding .overflow-x-hidden{overflow-x:hidden!important}div.extendify-onboarding .whitespace-nowrap{white-space:nowrap!important}div.extendify-onboarding .rounded-sm{border-radius:.125rem!important}div.extendify-onboarding .rounded{border-radius:.25rem!important}div.extendify-onboarding .rounded-md{border-radius:.375rem!important}div.extendify-onboarding .rounded-lg{border-radius:.5rem!important}div.extendify-onboarding .rounded-full{border-radius:9999px!important}div.extendify-onboarding .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify-onboarding .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify-onboarding .border-0{border-width:0!important}div.extendify-onboarding .border-2{border-width:2px!important}div.extendify-onboarding .border-8{border-width:8px!important}div.extendify-onboarding .border{border-width:1px!important}div.extendify-onboarding .border-t{border-top-width:1px!important}div.extendify-onboarding .border-r{border-right-width:1px!important}div.extendify-onboarding .border-b-0{border-bottom-width:0!important}div.extendify-onboarding .border-b{border-bottom-width:1px!important}div.extendify-onboarding .border-l-8{border-left-width:8px!important}div.extendify-onboarding .border-solid{border-style:solid!important}div.extendify-onboarding .border-none{border-style:none!important}div.extendify-onboarding .border-transparent{border-color:transparent!important}div.extendify-onboarding .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify-onboarding .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-600{--tw-border-opacity:1!important;border-color:rgba(148,148,148,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify-onboarding .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify-onboarding .focus\:border-transparent:focus{border-color:transparent!important}div.extendify-onboarding .bg-transparent{background-color:transparent!important}div.extendify-onboarding .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify-onboarding .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-gray-200:hover{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify-onboarding .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify-onboarding .bg-cover{background-size:cover!important}div.extendify-onboarding .bg-clip-padding{background-clip:padding-box!important}div.extendify-onboarding .fill-current{fill:currentColor!important}div.extendify-onboarding .stroke-current{stroke:currentColor!important}div.extendify-onboarding .p-0{padding:0!important}div.extendify-onboarding .p-1{padding:.25rem!important}div.extendify-onboarding .p-2{padding:.5rem!important}div.extendify-onboarding .p-3{padding:.75rem!important}div.extendify-onboarding .p-4{padding:1rem!important}div.extendify-onboarding .p-6{padding:1.5rem!important}div.extendify-onboarding .p-8{padding:2rem!important}div.extendify-onboarding .p-10{padding:2.5rem!important}div.extendify-onboarding .p-12{padding:3rem!important}div.extendify-onboarding .p-0\.5{padding:.125rem!important}div.extendify-onboarding .p-1\.5{padding:.375rem!important}div.extendify-onboarding .p-3\.5{padding:.875rem!important}div.extendify-onboarding .px-0{padding-left:0!important;padding-right:0!important}div.extendify-onboarding .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify-onboarding .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify-onboarding .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify-onboarding .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify-onboarding .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify-onboarding .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify-onboarding .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify-onboarding .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify-onboarding .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify-onboarding .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify-onboarding .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify-onboarding .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify-onboarding .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify-onboarding .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify-onboarding .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify-onboarding .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify-onboarding .pt-0{padding-top:0!important}div.extendify-onboarding .pt-2{padding-top:.5rem!important}div.extendify-onboarding .pt-4{padding-top:1rem!important}div.extendify-onboarding .pt-6{padding-top:1.5rem!important}div.extendify-onboarding .pt-px{padding-top:1px!important}div.extendify-onboarding .pt-0\.5{padding-top:.125rem!important}div.extendify-onboarding .pr-3{padding-right:.75rem!important}div.extendify-onboarding .pr-8{padding-right:2rem!important}div.extendify-onboarding .pb-2{padding-bottom:.5rem!important}div.extendify-onboarding .pb-8{padding-bottom:2rem!important}div.extendify-onboarding .pb-20{padding-bottom:5rem!important}div.extendify-onboarding .pb-36{padding-bottom:9rem!important}div.extendify-onboarding .pb-40{padding-bottom:10rem!important}div.extendify-onboarding .pl-0{padding-left:0!important}div.extendify-onboarding .pl-2{padding-left:.5rem!important}div.extendify-onboarding .pl-6{padding-left:1.5rem!important}div.extendify-onboarding .text-left{text-align:left!important}div.extendify-onboarding .text-center{text-align:center!important}div.extendify-onboarding .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify-onboarding .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify-onboarding .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify-onboarding .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-xss{font-size:11px!important}div.extendify-onboarding .font-light{font-weight:300!important}div.extendify-onboarding .font-normal{font-weight:400!important}div.extendify-onboarding .font-medium{font-weight:500!important}div.extendify-onboarding .font-semibold{font-weight:600!important}div.extendify-onboarding .font-bold{font-weight:700!important}div.extendify-onboarding .uppercase{text-transform:uppercase!important}div.extendify-onboarding .italic{font-style:italic!important}div.extendify-onboarding .leading-none{line-height:1!important}div.extendify-onboarding .tracking-tight{letter-spacing:-.025em!important}div.extendify-onboarding .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify-onboarding .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify-onboarding .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify-onboarding .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify-onboarding .underline{text-decoration:underline!important}div.extendify-onboarding .no-underline{text-decoration:none!important}div.extendify-onboarding .hover\:underline:hover{text-decoration:underline!important}div.extendify-onboarding .hover\:no-underline:hover{text-decoration:none!important}div.extendify-onboarding .opacity-0{opacity:0!important}div.extendify-onboarding .opacity-30{opacity:.3!important}div.extendify-onboarding .opacity-50{opacity:.5!important}div.extendify-onboarding .opacity-70{opacity:.7!important}div.extendify-onboarding .opacity-75{opacity:.75!important}div.extendify-onboarding .focus\:opacity-100:focus,div.extendify-onboarding .group:focus .group-focus\:opacity-100,div.extendify-onboarding .group:hover .group-hover\:opacity-100,div.extendify-onboarding .hover\:opacity-100:hover,div.extendify-onboarding .opacity-100{opacity:1!important}div.extendify-onboarding .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify-onboarding .shadow-md,div.extendify-onboarding .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify-onboarding .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify-onboarding .shadow-2xl,div.extendify-onboarding .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify-onboarding .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .focus\:outline-none:focus,div.extendify-onboarding .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify-onboarding .focus\:ring-wp:focus,div.extendify-onboarding .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify-onboarding .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify-onboarding .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify-onboarding .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify-onboarding .blur{--tw-blur:blur(8px)!important}div.extendify-onboarding .invert{--tw-invert:invert(100%)!important}div.extendify-onboarding .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify-onboarding .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify-onboarding .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify-onboarding .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .delay-200{transition-delay:.2s!important}div.extendify-onboarding .duration-100{transition-duration:.1s!important}div.extendify-onboarding .duration-200{transition-duration:.2s!important}div.extendify-onboarding .duration-300{transition-duration:.3s!important}div.extendify-onboarding .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify-onboarding .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify-onboarding{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}.extendify-onboarding *,.extendify-onboarding :after,.extendify-onboarding :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify-onboarding{-webkit-font-smoothing:antialiased!important}.extendify-onboarding .search-panel .icon-search{position:absolute!important;right:16px!important}.extendify-onboarding .button-focus{background-color:transparent!important;border-radius:.5rem!important;cursor:pointer!important;font-size:1rem!important;line-height:1.5rem!important;text-align:center!important;text-decoration:none!important}.extendify-onboarding .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .button-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .input-focus{border-radius:.5rem!important;font-size:1rem!important;line-height:1.5rem!important}.extendify-onboarding .input-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .input-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .input-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .input-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .button-card{border-width:1px!important;display:block!important;flex:1 1 0%!important;margin:0!important;overflow:hidden!important;padding:1rem!important}.extendify-onboarding .preview-container .block-editor-block-preview__content{max-height:none!important}.extendify-onboarding .spin{-webkit-animation:extendify-loading-spinner 2.5s linear infinite;animation:extendify-loading-spinner 2.5s linear infinite}@-webkit-keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.extendify-onboarding .components-checkbox-control__input[type=checkbox]{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important;border-width:1px!important}.extendify-onboarding .components-checkbox-control__input[type=checkbox]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .components-checkbox-control__input[type=checkbox]:checked{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}.extendify-onboarding .goal-select .components-base-control__field{margin-bottom:0!important}@media (min-width:480px){div.extendify-onboarding .xs\:inline{display:inline!important}div.extendify-onboarding .xs\:h-9{height:2.25rem!important}div.extendify-onboarding .xs\:pr-3{padding-right:.75rem!important}div.extendify-onboarding .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify-onboarding .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify-onboarding .sm\:mt-0{margin-top:0!important}div.extendify-onboarding .sm\:mb-8{margin-bottom:2rem!important}div.extendify-onboarding .sm\:ml-2{margin-left:.5rem!important}div.extendify-onboarding .sm\:block{display:block!important}div.extendify-onboarding .sm\:flex{display:flex!important}div.extendify-onboarding .sm\:h-auto{height:auto!important}div.extendify-onboarding .sm\:w-72{width:18rem!important}div.extendify-onboarding .sm\:w-auto{width:auto!important}div.extendify-onboarding .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify-onboarding .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .sm\:p-0{padding:0!important}div.extendify-onboarding .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .sm\:pt-0{padding-top:0!important}div.extendify-onboarding .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify-onboarding .md\:m-0{margin:0!important}div.extendify-onboarding .md\:-ml-8{margin-left:-2rem!important}div.extendify-onboarding .md\:block{display:block!important}div.extendify-onboarding .md\:flex{display:flex!important}div.extendify-onboarding .md\:hidden{display:none!important}div.extendify-onboarding .md\:h-screen{height:100vh!important}div.extendify-onboarding .md\:w-40vw{width:40vw!important}div.extendify-onboarding .md\:max-w-md{max-width:28rem!important}div.extendify-onboarding .md\:max-w-2xl{max-width:42rem!important}div.extendify-onboarding .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify-onboarding .md\:flex-row{flex-direction:row!important}div.extendify-onboarding .md\:gap-8{gap:2rem!important}div.extendify-onboarding .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .md\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .md\:p-8{padding:2rem!important}div.extendify-onboarding .md\:px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .md\:pl-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify-onboarding .lg\:absolute{position:absolute!important}div.extendify-onboarding .lg\:-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .lg\:block{display:block!important}div.extendify-onboarding .lg\:flex{display:flex!important}div.extendify-onboarding .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify-onboarding .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .lg\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .lg\:p-16{padding:4rem!important}div.extendify-onboarding .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
|
public/build/extendify-onboarding.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see extendify-onboarding.js.LICENSE.txt */
|
2 |
-
(()=>{var e={7135:(e,t,r)=>{e.exports=r(6248)},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),o=r(4570),i=r(2940),a=r(581),s=r(574),u=r(3845),c=r(8338),l=r(4832),f=r(7354),d=r(8870),h=r(4906);e.exports=function(e){return new Promise((function(t,r){var p,y=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(y)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+x)}var j=s(e.baseURL,e.url);function O(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(j,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(j))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(v[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(v,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),m&&"json"!==m&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(r(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),y||(y=null);var S=h(j);S&&-1===["http","https","file"].indexOf(S)?r(new f("Unsupported protocol "+S+":",f.ERR_BAD_REQUEST,e)):b.send(y)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),o=r(875),i=r(5029),a=r(4941);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=i,s.CanceledError=r(8870),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.toFormData=r(1020),s.AxiosError=r(7354),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},4603:(e,t,r)=>{"use strict";var n=r(8870);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},8870:(e,t,r)=>{"use strict";var n=r(7354);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(7485).inherits(o,n,{__CANCEL__:!0}),e.exports=o},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),o=r(581),i=r(8096),a=r(5009),s=r(4941),u=r(574),c=r(6144),l=c.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;n.length;){var h=n.shift(),p=n.shift();try{d=h(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},7354:(e,t,r)=>{"use strict";var n=r(7485);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,r,a,s,u){var c=Object.create(i);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=o},8096:(e,t,r)=>{"use strict";var n=r(7485);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},574:(e,t,r)=>{"use strict";var n=r(2642),o=r(2288);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5009:(e,t,r)=>{"use strict";var n=r(7485),o=r(9212),i=r(1475),a=r(8396),s=r(8870);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function u(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},4570:(e,t,r)=>{"use strict";var n=r(7354);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),o=r(8396);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),o=r(7485),i=r(1446),a=r(7354),s=r(4832),u=r(1020),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=r(4387)),f),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=o.isObject(e),a=t&&t["Content-Type"];if((r=o.isFileList(e))||n&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,s&&new s)}return n||"application/json"===a?(l(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(8750)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(c)})),e.exports=d},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.27.2"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},8750:e=>{e.exports=null},3845:(e,t,r)=>{"use strict";var n=r(7485),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},4906:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1020:(e,t,r)=>{"use strict";var n=r(816).Buffer,o=r(7485);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e}return function e(n,a){if(o.isPlainObject(n)||o.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),o.forEach(n,(function(r,n){if(!o.isUndefined(r)){var s,u=a?a+"."+n:n;if(r&&!a&&"object"==typeof r)if(o.endsWith(n,"{}"))r=JSON.stringify(r);else if(o.endsWith(n,"[]")&&(s=o.toArray(r)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(u,i(e))}));e(r,u)}})),r.pop()}else t.append(a,i(n))}(e),t}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,o=r(7354),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(i(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},7485:(e,t,r)=>{"use strict";var n,o=r(875),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var l=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),p=s("File"),y=s("Blob"),v=s("FileList");function m(e){return"[object Function]"===i.call(e)}var g=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:c,isDate:h,isFile:p,isBlob:y,isFunction:m,isStream:function(e){return f(e)&&m(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function r(r,n){d(t[n])&&d(r)?t[n]=e(t[n],r):d(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)b(arguments[n],r);return t},extend:function(e,t,r){return b(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,a={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=n[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:x,isFileList:v}},4782:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(c(e,s,s+a>u?u:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},816:(e,t,r)=>{"use strict";var n=r(4782),o=r(8898),i=r(5182);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|h(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|h(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|h(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return _(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return Y(H(t,e.length-r),e,r,n)}function x(e,t,r,n){return Y(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function j(e,t,r,n){return x(e,t,r,n)}function O(e,t,r,n){return Y(V(t),e,r,n)}function E(e,t,r,n){return Y(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function _(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=P));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?_(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function N(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function A(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=F(e[i]);return o}function T(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function R(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function k(e,t,r,n,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function D(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return i||D(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||D(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||R(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||k(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);k(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);k(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=u.isBuffer(e)?e:H(new u(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}},42:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8898:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=p,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=p,a/=256,c-=8);e[r+h-p]|=128*y}},5182:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},7061:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||c||a(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1426:(e,t,r)=>{"use strict";r(2525);var n=r(7363),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},6248:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?p:d,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",h="executing",p="completed",y={};function v(){}function m(){}function g(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=g.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function N(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return m.prototype=g,u(j,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},O(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(j),u(j,s,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),P(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7363:e=>{"use strict";e.exports=React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=wp.element,t=wp.i18n;var n=r(7363);function o(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var a,s=function(){},u=s(),c=Object,l=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return c.assign({},e,t)},h="undefined",p=function(){return typeof window!=h},y=new WeakMap,v=0,m=function(e){var t,r,n=typeof e,o=e&&e.constructor,i=o==Date;if(c(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=y.get(e))return t;if(t=++v+"~",y.set(e,t),o==Array){for(t="@",r=0;r<e.length;r++)t+=m(e[r])+",";y.set(e,t)}if(o==c){t="#";for(var a=c.keys(e).sort();!l(r=a.pop());)l(e[r])||(t+=r+":"+m(e[r])+",");y.set(e,t)}}return t},g=!0,b=p(),w=typeof document!=h,x=b&&window.addEventListener?window.addEventListener.bind(window):s,j=w?document.addEventListener.bind(document):s,O=b&&window.removeEventListener?window.removeEventListener.bind(window):s,E=w?document.removeEventListener.bind(document):s,S={isOnline:function(){return g},isVisible:function(){var e=w&&document.visibilityState;return l(e)||"hidden"!==e}},_={initFocus:function(e){return j("visibilitychange",e),x("focus",e),function(){E("visibilitychange",e),O("focus",e)}},initReconnect:function(e){var t=function(){g=!0,e()},r=function(){g=!1};return x("online",t),x("offline",r),function(){O("online",t),O("offline",r)}}},P=!p()||"Deno"in window,C=function(e){return p()&&typeof window.requestAnimationFrame!=h?window.requestAnimationFrame(e):setTimeout(e,1)},N=P?n.useEffect:n.useLayoutEffect,A="undefined"!=typeof navigator&&navigator.connection,T=!P&&A&&(["slow-2g","2g"].includes(A.effectiveType)||A.saveData),R=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t,e?"$swr$"+e:""]},k=new WeakMap,L=function(e,t,r,n,o,i,a){void 0===a&&(a=!0);var s=k.get(e),u=s[0],c=s[1],l=s[3],f=u[t],d=c[t];if(a&&d)for(var h=0;h<d.length;++h)d[h](r,n,o);return i&&(delete l[t],f&&f[0])?f[0](2).then((function(){return e.get(t)})):e.get(t)},I=0,D=function(){return++I},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(void 0,void 0,void 0,(function(){var t,r,n,o,a,s,c,h,p,y,v,m,g,b,w,x,j,O,E,S,_;return i(this,(function(i){switch(i.label){case 0:if(t=e[0],r=e[1],n=e[2],o=e[3],s=!!l((a="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||a.populateCache,c=!1!==a.revalidate,h=!1!==a.rollbackOnError,p=a.optimisticData,y=R(r),v=y[0],m=y[2],!v)return[2];if(g=k.get(t),b=g[2],e.length<3)return[2,L(t,v,t.get(v),u,u,c,!0)];if(w=n,j=D(),b[v]=[j,0],O=!l(p),E=t.get(v),O&&(S=f(p)?p(E):p,t.set(v,S),L(t,v,S)),f(w))try{w=w(t.get(v))}catch(e){x=e}return w&&f(w.then)?[4,w.catch((function(e){x=e}))]:[3,2];case 1:if(w=i.sent(),j!==b[v][0]){if(x)throw x;return[2,w]}x&&O&&h&&(s=!0,w=E,t.set(v,E)),i.label=2;case 2:return s&&(x||(f(s)&&(w=s(w,E)),t.set(v,w)),t.set(m,d(t.get(m),{error:x}))),b[v][1]=D(),[4,L(t,v,w,x,u,c,!!s)];case 3:if(_=i.sent(),x)throw x;return[2,s?_:w]}}))}))},B=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},U=function(e,t){if(!k.has(e)){var r=d(_,t),n={},o=M.bind(u,e),i=s;if(k.set(e,[n,{},{},{},o]),!P){var a=r.initFocus(setTimeout.bind(u,B.bind(u,n,0))),c=r.initReconnect(setTimeout.bind(u,B.bind(u,n,1)));i=function(){a&&a(),c&&c(),k.delete(e)}}return[e,o,i]}return[e,k.get(e)[4]]},F=U(new Map),H=F[0],V=F[1],Y=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,r,n,o){var i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(i)&&a>i||setTimeout(n,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:T?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:T?5e3:3e3,compare:function(e,t){return m(e)==m(t)},isPaused:function(){return!1},cache:H,mutate:V,fallback:{}},S),z=function(e,t){var r=d(e,t);if(t){var n=e.use,o=e.fallback,i=t.use,a=t.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},W=(0,n.createContext)({}),q=function(e){return f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},Z=function(){return d(Y,(0,n.useContext)(W))},J=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},X={dedupe:!0},$=c.defineProperty((function(e){var t=e.value,r=z((0,n.useContext)(W),t),o=t&&t.provider,i=(0,n.useState)((function(){return o?U(o(r.cache||H),t):u}))[0];return i&&(r.cache=i[0],r.mutate=i[1]),N((function(){return i?i[2]:u}),[]),(0,n.createElement)(W.Provider,d(e,{value:r}))}),"default",{value:Y}),G=(a=function(e,t,r){var a=r.cache,s=r.compare,c=r.fallbackData,h=r.suspense,p=r.revalidateOnMount,y=r.refreshInterval,v=r.refreshWhenHidden,m=r.refreshWhenOffline,g=k.get(a),b=g[0],w=g[1],x=g[2],j=g[3],O=R(e),E=O[0],S=O[1],_=O[2],A=(0,n.useRef)(!1),T=(0,n.useRef)(!1),I=(0,n.useRef)(E),B=(0,n.useRef)(t),U=(0,n.useRef)(r),F=function(){return U.current},H=function(){return F().isVisible()&&F().isOnline()},V=function(e){return a.set(_,d(a.get(_),e))},Y=a.get(E),z=l(c)?r.fallback[E]:c,W=l(Y)?z:Y,q=a.get(_)||{},Z=q.error,$=!A.current,G=function(){return $&&!l(p)?p:!F().isPaused()&&(h?!l(W)&&r.revalidateIfStale:l(W)||r.revalidateIfStale)},K=!(!E||!t)&&(!!q.isValidating||$&&G()),Q=function(e,t){var r=(0,n.useState)({})[1],o=(0,n.useRef)(e),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)((function(e){var n=!1,a=o.current;for(var s in e){var u=s;a[u]!==e[u]&&(a[u]=e[u],i.current[u]&&(n=!0))}n&&!t.current&&r({})}),[]);return N((function(){o.current=e})),[o,i.current,a]}({data:W,error:Z,isValidating:K},T),ee=Q[0],te=Q[1],re=Q[2],ne=(0,n.useCallback)((function(e){return o(void 0,void 0,void 0,(function(){var t,n,o,c,d,h,p,y,v,m,g,b,w;return i(this,(function(i){switch(i.label){case 0:if(t=B.current,!E||!t||T.current||F().isPaused())return[2,!1];c=!0,d=e||{},h=!j[E]||!d.dedupe,p=function(){return!T.current&&E===I.current&&A.current},y=function(){var e=j[E];e&&e[1]===o&&delete j[E]},v={isValidating:!1},m=function(){V({isValidating:!1}),p()&&re(v)},V({isValidating:!0}),re({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),h&&(L(a,E,ee.current.data,ee.current.error,!0),r.loadingTimeout&&!a.get(E)&&setTimeout((function(){c&&p()&&F().onLoadingSlow(E,r)}),r.loadingTimeout),j[E]=[t.apply(void 0,S),D()]),w=j[E],n=w[0],o=w[1],[4,n];case 2:return n=i.sent(),h&&setTimeout(y,r.dedupingInterval),j[E]&&j[E][1]===o?(V({error:u}),v.error=u,g=x[E],!l(g)&&(o<=g[0]||o<=g[1]||0===g[1])?(m(),h&&p()&&F().onDiscarded(E),[2,!1]):(s(ee.current.data,n)?v.data=ee.current.data:v.data=n,s(a.get(E),n)||a.set(E,n),h&&p()&&F().onSuccess(n,E,r),[3,4])):(h&&p()&&F().onDiscarded(E),[2,!1]);case 3:return b=i.sent(),y(),F().isPaused()||(V({error:b}),v.error=b,h&&p()&&(F().onError(b,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&H()&&F().onErrorRetry(b,E,r,ne,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,m(),p()&&h&&L(a,E,v.data,v.error,!1),[2,!0]}}))}))}),[E]),oe=(0,n.useCallback)(M.bind(u,a,(function(){return I.current})),[]);if(N((function(){B.current=t,U.current=r})),N((function(){if(E){var e=E!==I.current,t=ne.bind(u,X),r=0,n=J(E,w,(function(e,t,r){re(d({error:t,isValidating:r},s(ee.current.data,e)?u:{data:e}))})),o=J(E,b,(function(e){if(0==e){var n=Date.now();F().revalidateOnFocus&&n>r&&H()&&(r=n+F().focusThrottleInterval,t())}else if(1==e)F().revalidateOnReconnect&&H()&&t();else if(2==e)return ne()}));return T.current=!1,I.current=E,A.current=!0,e&&re({data:W,error:Z,isValidating:K}),G()&&(l(W)||P?t():C(t)),function(){T.current=!0,n(),o()}}}),[E,ne]),N((function(){var e;function t(){var t=f(y)?y(W):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){ee.current.error||!v&&!F().isVisible()||!m&&!F().isOnline()?t():ne(X).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[y,v,m,ne]),(0,n.useDebugValue)(W),h&&l(W)&&E)throw B.current=t,U.current=r,T.current=!1,l(Z)?ne(X):Z;return{mutate:oe,get data(){return te.data=!0,W},get error(){return te.error=!0,Z},get isValidating(){return te.isValidating=!0,K}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Z(),n=q(e),o=n[0],i=n[1],s=n[2],u=z(r,s),c=a,l=u.use;if(l)for(var f=l.length;f-- >0;)c=l[f](c);return c(o,i||u.fetcher,u)});const K=wp.components;var Q=r(4246),ee=function(){return(0,Q.jsx)("div",{className:"extendify-onboarding w-full fixed bottom-4 px-4 flex justify-end z-max",children:(0,Q.jsx)("div",{className:"shadow-2xl",children:(0,Q.jsx)(K.Snackbar,{children:(0,t.__)("Just a moment, this is taking longer than expected.","extendify")})})})};const te=wp.data;var re=r(7135),ne=r.n(re),oe=r(4206),ie=r.n(oe)().create({baseURL:window.extOnbData.root,headers:{"X-WP-Nonce":window.extOnbData.nonce,"X-Requested-With":"XMLHttpRequest","X-Extendify-Onboarding":!0,"X-Extendify":!0}});function ae(e){return Object.prototype.hasOwnProperty.call(e,"data")?e.data:e}ie.interceptors.response.use((function(e){return ae(e)}),(function(e){return function(e){if(e.response)return console.error(e.response),Promise.reject(ae(e.response))}(e)})),ie.interceptors.request.use((function(e){return function(e){return e.headers["X-Extendify-Onboarding-Dev-Mode"]=window.location.search.indexOf("DEVMODE")>-1,e.headers["X-Extendify-Onboarding-Local-Mode"]=window.location.search.indexOf("LOCALMODE")>-1,e}(e)}),(function(e){return e}));var se=function(e){return ie.get("onboarding/template",{params:e})};function ue(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function ce(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ue(i,n,o,a,s,"next",e)}function s(e){ue(i,n,o,a,s,"throw",e)}a(void 0)}))}}var le=function(e,t){return ie.post("onboarding/options",{option:e,value:t})},fe=function(){var e=ce(ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/options",{params:{option:t}});case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de=function(){var e=ce(ne().mark((function e(t){var r,n,o,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify(t)},n="".concat(window.extOnbData.wpRoot,"wp/v2/pages"),e.next=4,fetch(n,r);case 4:return o=e.sent,e.next=7,o.json();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=ce(ne().mark((function e(t){var r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return r={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},n="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=6,fetch(n,{method:"POST",headers:r,body:JSON.stringify({slug:t,status:"active"})});case 6:if(!((o=e.sent).status>=200&&o.status<300)){e.next=11;break}return e.next=10,o.json();case 10:case 13:return e.abrupt("return",e.sent);case 11:return e.next=13,pe(t);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pe=function(){var e=ce(ne().mark((function e(t){var r,n,o,i,a,s,u;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},i="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=4,fetch("".concat(i,"?search=").concat(t),{headers:o});case 4:return a=e.sent,e.next=7,a.json();case 7:if(e.t1=r=e.sent,e.t0=null===e.t1,e.t0){e.next=11;break}e.t0=void 0===r;case 11:if(!e.t0){e.next=15;break}e.t2=void 0,e.next=16;break;case 15:e.t2=null===(n=r[0])||void 0===n?void 0:n.plugin;case 16:return s=e.t2,e.next=19,fetch("".concat(i,"/").concat(s),{method:"POST",headers:o,body:JSON.stringify({status:"active"})});case 19:return u=e.sent,e.next=22,u.json();case 22:return e.abrupt("return",e.sent);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=function(){var e=ce(ne().mark((function e(r,n){var o,i,a,s;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({slug:"".concat(r),theme:"extendable",type:"wp_template_part",status:"publish",description:(0,t.__)("Added by Extendify Launch","extendify"),content:n})},e.prev=1,i="".concat(window.extOnbData.wpRoot,"wp/v2/template-parts/").concat(r),e.next=5,fetch(i,o);case 5:return a=e.sent,e.next=8,a.json();case 8:return s=e.sent,e.abrupt("return",s);case 12:e.prev=12,e.t0=e.catch(1);case 14:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r){return e.apply(this,arguments)}}(),ve=function(e){var t=e.currentPageIndex,r=e.totalPages,n=Math.round((t+1)/r*100),o="(".concat(t+1,"/").concat(r,")");return(0,Q.jsxs)("div",{className:"flex-1 hidden md:flex justify-center items-center",children:[(0,Q.jsx)("div",{role:"progressbar","aria-valuenow":n,"aria-valuemin":"0","aria-valuetext":o,"aria-valuemax":"100",className:"w-32 bg-gray-200 h-2 rounded-full",children:(0,Q.jsx)("div",{className:"rounded-full bg-partner-primary-bg h-2",style:{width:"".concat(n,"%")}})}),(0,Q.jsx)("div",{className:"pl-2 flex justify-center",children:o})]})};function me(e){let t;const r=new Set,n=(e,n)=>{const o="function"==typeof e?e(t):e;if(o!==t){const e=t;t=n?o:Object.assign({},t,o),r.forEach((r=>r(t,e)))}},o=()=>t,i={setState:n,getState:o,subscribe:(e,n,i)=>n||i?((e,n=o,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=n(t);function s(){const r=n(t);if(!i(a,r)){const t=a;e(a=r,t)}}return r.add(s),()=>r.delete(s)})(e,n,i):(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,o,i),i}const ge="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function be(e){const t="function"==typeof e?me(e):e,r=(e=t.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((e=>e+1),0),i=t.getState(),a=(0,n.useRef)(i),s=(0,n.useRef)(e),u=(0,n.useRef)(r),c=(0,n.useRef)(!1),l=(0,n.useRef)();let f;void 0===l.current&&(l.current=e(i));let d=!1;(a.current!==i||s.current!==e||u.current!==r||c.current)&&(f=e(i),d=!r(l.current,f)),ge((()=>{d&&(l.current=f),a.current=i,s.current=e,u.current=r,c.current=!1}));const h=(0,n.useRef)(i);ge((()=>{const e=()=>{try{const e=t.getState(),r=s.current(e);u.current(l.current,r)||(a.current=e,l.current=r,o())}catch(e){c.current=!0,o()}},r=t.subscribe(e);return t.getState()!==h.current&&e(),r}),[]);const p=d?f:l.current;return(0,n.useDebugValue)(p),p};return Object.assign(r,t),r[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[r,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},r}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function we(e,t){return(r,n,o)=>{var i;let a=!1;"string"!=typeof t||a||(console.warn("[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead"),a=!0);const s=void 0===t?{name:void 0,anonymousActionType:void 0}:"string"==typeof t?{name:t}:t;let u;void 0!==(null==(i=null==s?void 0:s.serialize)?void 0:i.options)&&console.warn("[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`");try{u=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return"undefined"!=typeof window&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,o);let c=Object.create(u.connect(s)),l=!1;Object.defineProperty(o,"devtools",{get:()=>(l||(console.warn("[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c),set:e=>{l||(console.warn("[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c=e}});let f=!1;Object.defineProperty(c,"prefix",{get:()=>(f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0),""),set:()=>{f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0)}});let d=!0;o.setState=(e,t,o)=>{r(e,t),d&&c.send(void 0===o?{type:s.anonymousActionType||"anonymous"}:"string"==typeof o?{type:o}:o,n())};const h=(...e)=>{const t=d;d=!1,r(...e),d=t},p=e(o.setState,n,o);if(c.init(p),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return c.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):xe(e.payload,(e=>{"__setState"!==e.type?o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e):h(e.state)}));case"DISPATCH":switch(e.payload.type){case"RESET":return h(p),c.init(o.getState());case"COMMIT":return c.init(o.getState());case"ROLLBACK":return xe(e.state,(e=>{h(e),c.init(o.getState())}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return xe(e.state,(e=>{h(e)}));case"IMPORT_STATE":{const{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;return h(n),void c.send(null,r)}case"PAUSE_RECORDING":return d=!d}return}})),p}}const xe=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};var je=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,_e=(e,t,r)=>t in e?je(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pe=(e,t)=>{for(var r in t||(t={}))Ee.call(t,r)&&_e(e,r,t[r]);if(Oe)for(var r of Oe(t))Se.call(t,r)&&_e(e,r,t[r]);return e};const Ce=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then:e=>Ce(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>Ce(t)(e)}}};var Ne=be(we((function(){return{generating:!1,generatedPages:{}}}))),Ae=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=G(e,t,n),i=o.data,a=o.error,s=null!==(r=null==i?void 0:i.data)&&void 0!==r?r:i;return{data:s,loading:!s&&!a,error:a}};function Te(e){return function(e){if(Array.isArray(e))return Re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Re(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Re(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(r),!0).forEach((function(t){Ie(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var De,Me,Be={siteType:{},siteInformation:{title:""},style:null,pages:[],plugins:[],goals:[]},Ue=be((De=we((function(e,t){return Le(Le({},Be),{},{setSiteType:function(t){e({siteType:t})},setSiteInformation:function(r,n){var o=Le(Le({},t().siteInformation),{},Ie({},r,n));e({siteInformation:o})},has:function(e,r){return!(null==r||!r.id)&&t()[e].some((function(e){return e.id===r.id}))},add:function(r,n){t().has(r,n)||e(Ie({},r,[].concat(Te(t()[r]),[n])))},remove:function(r,n){e(Ie({},r,t()[r].filter((function(e){return e.id!==n.id}))))},toggle:function(e,r){t().has(e,r)?t().remove(e,r):t().add(e,r)},setStyle:function(t){e({style:t})},canLaunch:function(){var e,r,n,o,i,a,s,u;return(null===(e=Object.keys(null!==(r=null===(n=t())||void 0===n?void 0:n.siteType)&&void 0!==r?r:{}))||void 0===e?void 0:e.length)>0&&(null===(o=Object.keys(null!==(i=null===(a=t())||void 0===a?void 0:a.style)&&void 0!==i?i:{}))||void 0===o?void 0:o.length)>0&&(null===(s=t())||void 0===s||null===(u=s.pages)||void 0===u?void 0:u.length)>0},resetState:function(){e(Be)}})})),Me={name:"extendify",getStorage:function(){return sessionStorage}},(e,t,r)=>{let n=Pe({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>Pe(Pe({},t),e)},Me);(n.blacklist||n.whitelist)&&console.warn(`The ${n.blacklist?"blacklist":"whitelist"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);let o=!1;const i=new Set,a=new Set;let s;try{s=n.getStorage()}catch(e){}if(!s)return De(((...t)=>{console.warn(`[zustand persist middleware] Unable to update item '${n.name}', the given storage is currently unavailable.`),e(...t)}),t,r);s.removeItem||console.warn(`[zustand persist middleware] The given storage for item '${n.name}' does not contain a 'removeItem' method, which will be required in v4.`);const u=Ce(n.serialize),c=()=>{const e=n.partialize(Pe({},t()));let r;n.whitelist&&Object.keys(e).forEach((t=>{var r;!(null==(r=n.whitelist)?void 0:r.includes(t))&&delete e[t]})),n.blacklist&&n.blacklist.forEach((t=>delete e[t]));const o=u({state:e,version:n.version}).then((e=>s.setItem(n.name,e))).catch((e=>{r=e}));if(r)throw r;return o},l=r.setState;r.setState=(e,t)=>{l(e,t),c()};const f=De(((...t)=>{e(...t),c()}),t,r);let d;const h=()=>{var r;if(!s)return;o=!1,i.forEach((e=>e(t())));const u=(null==(r=n.onRehydrateStorage)?void 0:r.call(n,t()))||void 0;return Ce(s.getItem.bind(s))(n.name).then((e=>{if(e)return n.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===n.version)return e.state;if(n.migrate)return n.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((r=>{var o;return d=n.merge(r,null!=(o=t())?o:f),e(d,!0),c()})).then((()=>{null==u||u(d,void 0),o=!0,a.forEach((e=>e(d)))})).catch((e=>{null==u||u(void 0,e)}))};return r.persist={setOptions:e=>{n=Pe(Pe({},n),e),e.getStorage&&(s=e.getStorage())},clearStorage:()=>{var e;null==(e=null==s?void 0:s.removeItem)||e.call(s,n.name)},rehydrate:()=>h(),hasHydrated:()=>o,onHydrate:e=>(i.add(e),()=>{i.delete(e)}),onFinishHydration:e=>(a.add(e),()=>{a.delete(e)})},h(),d||f})),Fe=function(){return ie.get("onboarding/goals")},He=function(){return{key:"goals"}};function Ve(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Ye(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var ze=function(){var e,t=(e=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe("blogname");case 2:return t=e.sent,e.abrupt("return",{title:t});case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ye(i,n,o,a,s,"next",e)}function s(e){Ye(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),We=function(){return{key:"site-info"}},qe=r(42),Ze=r.n(qe);const Je=wp.blockEditor,Xe=wp.blocks;var $e=function(e){var t,r;return[null==e||null===(t=e.template)||void 0===t?void 0:t.code,null==e||null===(r=e.template)||void 0===r?void 0:r.code2].filter(Boolean).join("")},Ge=["className"];function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const rt=(0,e.memo)((function(e){var t=e.className,r=tt(e,Ge);return(0,Q.jsx)("svg",Qe(Qe({className:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,Q.jsx)("path",{d:"M8.72912 13.7449L5.77536 10.7911L4.76953 11.7899L8.72912 15.7495L17.2291 7.24948L16.2304 6.25073L8.72912 13.7449Z",fill:"currentColor"})}))}));var nt=["className"];function ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(r),!0).forEach((function(t){at(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function st(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const ut=(0,e.memo)((function(e){var t=e.className,r=st(e,nt);return(0,Q.jsx)("svg",it(it({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,Q.jsx)("path",{d:"M10 17.5L15 12L10 6.5",stroke:"#1f1f1f",strokeWidth:"1.75"})}))}));var ct=["className"];function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ht(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const pt=(0,e.memo)((function(e){var t=e.className,r=ht(e,ct);return(0,Q.jsxs)("svg",ft(ft({className:t,viewBox:"0 0 2524 492",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Q.jsx)("path",{d:"M609.404 378.5C585.07 378.5 563.404 373 544.404 362C525.737 350.667 511.07 335.333 500.404 316C489.737 296.333 484.404 273.833 484.404 248.5C484.404 222.833 489.57 200.167 499.904 180.5C510.237 160.833 524.737 145.5 543.404 134.5C562.07 123.167 583.404 117.5 607.404 117.5C632.404 117.5 653.904 122.833 671.904 133.5C689.904 143.833 703.737 158.333 713.404 177C723.404 195.667 728.404 218 728.404 244V262.5L516.404 263L517.404 224H667.904C667.904 207 662.404 193.333 651.404 183C640.737 172.667 626.237 167.5 607.904 167.5C593.57 167.5 581.404 170.5 571.404 176.5C561.737 182.5 554.404 191.5 549.404 203.5C544.404 215.5 541.904 230.167 541.904 247.5C541.904 274.167 547.57 294.333 558.904 308C570.57 321.667 587.737 328.5 610.404 328.5C627.07 328.5 640.737 325.333 651.404 319C662.404 312.667 669.57 303.667 672.904 292H729.404C724.07 319 710.737 340.167 689.404 355.5C668.404 370.833 641.737 378.5 609.404 378.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M797.529 372H728.029L813.029 251L728.029 125H799.029L853.529 209L906.029 125H974.529L890.529 250.5L972.029 372H902.029L849.029 290.5L797.529 372Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M994.142 125H1150.14V176H994.142V125ZM1102.64 372H1041.64V48H1102.64V372Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M1278.62 378.5C1254.29 378.5 1232.62 373 1213.62 362C1194.96 350.667 1180.29 335.333 1169.62 316C1158.96 296.333 1153.62 273.833 1153.62 248.5C1153.62 222.833 1158.79 200.167 1169.12 180.5C1179.46 160.833 1193.96 145.5 1212.62 134.5C1231.29 123.167 1252.62 117.5 1276.62 117.5C1301.62 117.5 1323.12 122.833 1341.12 133.5C1359.12 143.833 1372.96 158.333 1382.62 177C1392.62 195.667 1397.62 218 1397.62 244V262.5L1185.62 263L1186.62 224H1337.12C1337.12 207 1331.62 193.333 1320.62 183C1309.96 172.667 1295.46 167.5 1277.12 167.5C1262.79 167.5 1250.62 170.5 1240.62 176.5C1230.96 182.5 1223.62 191.5 1218.62 203.5C1213.62 215.5 1211.12 230.167 1211.12 247.5C1211.12 274.167 1216.79 294.333 1228.12 308C1239.79 321.667 1256.96 328.5 1279.62 328.5C1296.29 328.5 1309.96 325.333 1320.62 319C1331.62 312.667 1338.79 303.667 1342.12 292H1398.62C1393.29 319 1379.96 340.167 1358.62 355.5C1337.62 370.833 1310.96 378.5 1278.62 378.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M1484.44 372H1423.44V125H1479.94L1484.94 157C1492.61 144.667 1503.44 135 1517.44 128C1531.78 121 1547.28 117.5 1563.94 117.5C1594.94 117.5 1618.28 126.667 1633.94 145C1649.94 163.333 1657.94 188.333 1657.94 220V372H1596.94V234.5C1596.94 213.833 1592.28 198.5 1582.94 188.5C1573.61 178.167 1560.94 173 1544.94 173C1525.94 173 1511.11 179 1500.44 191C1489.78 203 1484.44 219 1484.44 239V372Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M1798.38 378.5C1774.38 378.5 1753.71 373.167 1736.38 362.5C1719.38 351.5 1706.04 336.333 1696.38 317C1687.04 297.667 1682.38 275.167 1682.38 249.5C1682.38 223.833 1687.04 201.167 1696.38 181.5C1706.04 161.5 1719.88 145.833 1737.88 134.5C1755.88 123.167 1777.21 117.5 1801.88 117.5C1819.21 117.5 1835.04 121 1849.38 128C1863.71 134.667 1874.71 144.167 1882.38 156.5V0H1942.88V372H1886.88L1882.88 333.5C1875.54 347.5 1864.21 358.5 1848.88 366.5C1833.88 374.5 1817.04 378.5 1798.38 378.5ZM1811.88 322.5C1826.21 322.5 1838.54 319.5 1848.88 313.5C1859.21 307.167 1867.21 298.333 1872.88 287C1878.88 275.333 1881.88 262.167 1881.88 247.5C1881.88 232.5 1878.88 219.5 1872.88 208.5C1867.21 197.167 1859.21 188.333 1848.88 182C1838.54 175.333 1826.21 172 1811.88 172C1797.88 172 1785.71 175.333 1775.38 182C1765.04 188.333 1757.04 197.167 1751.38 208.5C1746.04 219.833 1743.38 232.833 1743.38 247.5C1743.38 262.167 1746.04 275.167 1751.38 286.5C1757.04 297.833 1765.04 306.667 1775.38 313C1785.71 319.333 1797.88 322.5 1811.88 322.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M1996.45 372V125H2057.45V372H1996.45ZM2026.45 75.5C2016.11 75.5 2007.28 72 1999.95 65C1992.95 57.6667 1989.45 48.8333 1989.45 38.5C1989.45 28.1667 1992.95 19.5 1999.95 12.5C2007.28 5.50001 2016.11 2.00002 2026.45 2.00002C2036.78 2.00002 2045.45 5.50001 2052.45 12.5C2059.78 19.5 2063.45 28.1667 2063.45 38.5C2063.45 48.8333 2059.78 57.6667 2052.45 65C2045.45 72 2036.78 75.5 2026.45 75.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M2085.97 125H2240.97V176H2085.97V125ZM2241.47 2.5V54.5C2238.14 54.5 2234.64 54.5 2230.97 54.5C2227.64 54.5 2224.14 54.5 2220.47 54.5C2205.14 54.5 2194.8 58.1667 2189.47 65.5C2184.47 72.8333 2181.97 82.6667 2181.97 95V372H2121.47V95C2121.47 72.3333 2125.14 54.1667 2132.47 40.5C2139.8 26.5 2150.14 16.3333 2163.47 10C2176.8 3.33334 2192.3 0 2209.97 0C2214.97 0 2220.14 0.166671 2225.47 0.5C2231.14 0.833329 2236.47 1.49999 2241.47 2.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{d:"M2330.4 125L2410.9 353L2377.9 415.5L2265.9 125H2330.4ZM2272.4 486.5V436H2308.9C2316.9 436 2323.9 435 2329.9 433C2335.9 431.333 2341.24 428 2345.9 423C2350.9 418 2355.07 410.667 2358.4 401L2460.9 125H2523.9L2402.9 427C2393.9 449.667 2382.57 466.167 2368.9 476.5C2355.24 486.833 2338.24 492 2317.9 492C2309.24 492 2301.07 491.5 2293.4 490.5C2286.07 489.833 2279.07 488.5 2272.4 486.5Z",fill:"currentColor"}),(0,Q.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M226.926 25.1299H310.197C333.783 25.1299 342.32 27.5938 350.948 32.1932C359.576 36.8108 366.326 43.5822 370.941 52.1969C375.556 60.8298 378 69.3715 378 92.9707V176.289C378 199.888 375.537 208.43 370.941 217.063C366.326 225.696 359.558 232.449 350.948 237.066C347.091 239.131 343.244 240.83 338.064 242.047V308.355C338.064 344.802 334.261 357.994 327.162 371.327C320.034 384.66 309.583 395.09 296.285 402.221C282.96 409.353 269.775 413.13 233.349 413.13H104.744C68.3172 413.13 55.1327 409.325 41.8073 402.221C28.4819 395.09 18.0583 384.632 10.9308 371.327C3.80323 358.023 0 344.802 0 308.355V179.706C0 143.259 3.80323 130.067 10.9026 116.734C18.0301 103.401 28.4819 92.9431 41.8073 85.8116C55.1045 78.7082 68.3172 74.9028 104.744 74.9028H159.808C160.841 64.0747 162.996 58.1666 166.165 52.2151C170.78 43.5822 177.547 36.8108 186.175 32.1932C194.785 27.5938 203.34 25.1299 226.926 25.1299ZM184.128 78.1641C184.128 62.7001 196.658 50.1641 212.114 50.1641H324.991C340.448 50.1641 352.978 62.7001 352.978 78.1641V191.096C352.978 206.56 340.448 219.096 324.991 219.096H212.114C196.658 219.096 184.128 206.56 184.128 191.096V78.1641Z",fill:"currentColor"})]}))}));var yt=["className"];function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){gt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(0,e.memo)((function(e){var t=e.className,r=bt(e,yt);return(0,Q.jsx)("svg",mt(mt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,Q.jsx)("path",{fill:"currentColor",d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"})}))}));var wt=["className"];function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){Ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Et(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const St=(0,e.memo)((function(e){var t=e.className,r=Et(e,wt);return(0,Q.jsxs)("svg",jt(jt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Q.jsx)("path",{d:"M8 18.5504L12 14.8899",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,Q.jsx)("path",{d:"M20.25 11.7523C20.25 14.547 18.092 16.7546 15.5 16.7546C12.908 16.7546 10.75 14.547 10.75 11.7523C10.75 8.95754 12.908 6.75 15.5 6.75C18.092 6.75 20.25 8.95754 20.25 11.7523Z",stroke:"#1E1E1E",strokeWidth:"1.5"})]}))}));var _t=["className"];function Pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(r),!0).forEach((function(t){Nt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function At(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Tt=(0,e.memo)((function(e){var t=e.className,r=At(e,_t);return(0,Q.jsxs)("svg",Ct(Ct({className:t,width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Q.jsx)("path",{d:"M87.5 48.8281H75V51.1719H87.5V48.8281Z",fill:"black"}),(0,Q.jsx)("path",{d:"M25 48.8281H12.5V51.1719H25V48.8281Z",fill:"black"}),(0,Q.jsx)("path",{d:"M51.1719 75H48.8281V87.5H51.1719V75Z",fill:"black"}),(0,Q.jsx)("path",{d:"M51.1719 12.5H48.8281V25H51.1719V12.5Z",fill:"black"}),(0,Q.jsx)("path",{d:"M77.3433 75.6868L69.4082 67.7517L67.7511 69.4088L75.6862 77.344L77.3433 75.6868Z",fill:"black"}),(0,Q.jsx)("path",{d:"M32.2457 30.5897L24.3105 22.6545L22.6534 24.3117L30.5885 32.2468L32.2457 30.5897Z",fill:"black"}),(0,Q.jsx)("path",{d:"M77.3407 24.3131L75.6836 22.656L67.7485 30.5911L69.4056 32.2483L77.3407 24.3131Z",fill:"black"}),(0,Q.jsx)("path",{d:"M32.2431 69.4074L30.5859 67.7502L22.6508 75.6854L24.3079 77.3425L32.2431 69.4074Z",fill:"black"})]}))}));function Rt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return kt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Lt=function(r){var n=r.style,o=r.selectStyle,i=r.blockHeight,a=r.onHover,s=void 0===a?null:a,u=Ue((function(e){return e.siteType})),c=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),l=Rt((0,e.useState)(""),2),f=l[0],d=l[1],h=Rt((0,e.useState)(""),2),p=h[0],y=h[1],v=Rt((0,e.useState)(!1),2),m=v[0],g=v[1],b=Rt((0,e.useState)(!1),2),w=b[0],x=b[1],j=Rt((0,e.useState)(null),2),O=j[0],E=j[1],S=(0,e.useRef)(null),_=(0,e.useRef)(null),P=(0,e.useRef)(null),C=(0,e.useRef)(null),N=(0,e.useMemo)((function(){return(0,Xe.rawHandler)({HTML:(e=f,e.replace(/\w+:\/\/\S*(w=(\d*))&\w+\S*"/g,(function(e,t,r){return e.replace(t,"w="+Math.floor(Number(r))+"&q=10")})))});var e}),[f]),A=(0,e.useMemo)((function(){return(0,Je.transformStyles)([{css:p}],".editor-styles-wrapper")}),[p]);return(0,e.useEffect)((function(){null!=n&&n.themeJson?function(e){return ie.post("onboarding/parse-theme-json",{themeJson:e})}(n.themeJson).then((function(e){var t;y(null!==(t=null==e?void 0:e.styles)&&void 0!==t?t:"{}")})):y("{}")}),[null==n?void 0:n.themeJson]),(0,e.useEffect)((function(){if(p&&null!=n&&n.code){var e=[null==n?void 0:n.headerCode,null==n?void 0:n.code,null==n?void 0:n.footerCode].filter(Boolean).join("").replace(/<!-- wp:navigation {(.|\n)*?(\/wp:navigation -->|} \/-->)/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e');d(e)}}),[null==u?void 0:u.slug,p,n]),(0,e.useEffect)((function(){var e,t;if(_.current&&m){var r=S.current,n=r.offsetWidth/1400,o=_.current.contentDocument.body;null!=o&&o.style&&(o.style.transitionProperty="all",o.style.top=0);var a=function(){var t,r;if(o.offsetHeight){var a=(null!==(t=null==P||null===(r=P.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==t?t:i)-32,s=o.getBoundingClientRect().height-a/n;o.style.transitionDuration=Math.max(2*s,3e3)+"ms",e=window.requestAnimationFrame((function(){o.style.top=-1*Math.max(0,s)+"px"}))}},s=function(){var e,r;if(o.offsetHeight){var a=(null!==(e=null==P||null===(r=P.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==e?e:i)-32,s=o.offsetHeight-a/n;o.style.transitionDuration=s+"ms",t=window.requestAnimationFrame((function(){o.style.top=0}))}};return r.addEventListener("focus",a),r.addEventListener("mouseenter",a),r.addEventListener("blur",s),r.addEventListener("mouseleave",s),function(){window.cancelAnimationFrame(e),window.cancelAnimationFrame(t),r.removeEventListener("focus",a),r.removeEventListener("mouseenter",a),r.removeEventListener("blur",s),r.removeEventListener("mouseleave",s)}}}),[i,m]),(0,e.useEffect)((function(){if(null!=N&&N.length&&w){var e,t=function(){var t,r,n;null!==(t=e.contentDocument)&&void 0!==t&&t.getElementById("ext-tj")||(null===(r=e.contentDocument)||void 0===r||null===(n=r.head)||void 0===n||n.insertAdjacentHTML("beforeend",'<style id="ext-tj">'.concat(A,"</style>")));_.current=e,setTimeout((function(){c.current&&g(!0)}),500)},r=new MutationObserver((function(){(e=S.current.querySelector("iframe[title]")).addEventListener("load",t),setTimeout((function(){t()}),2e3),r.disconnect()}));return r.observe(S.current,{attributes:!1,childList:!0,subtree:!1}),function(){var n;r.disconnect(),null===(n=e)||void 0===n||n.removeEventListener("load",t)}}}),[N,A,c,w]),(0,e.useEffect)((function(){return C.current||(C.current=new IntersectionObserver((function(e){e[0].isIntersecting&&x(!0)}))),C.current.observe(P.current),function(){C.current.disconnect()}}),[]),(0,Q.jsxs)(Q.Fragment,{children:[m&&f?null:(0,Q.jsx)("div",{className:"m-6 absolute inset-0 bg-gray-50 flex items-center justify-center",children:(0,Q.jsx)(Tt,{className:"spin w-8"})}),(0,Q.jsx)("div",{ref:P,role:o?"button":void 0,tabIndex:o?0:void 0,"aria-label":o?(0,t.__)("Press to select","extendify"):void 0,className:Ze()("w-full overflow-hidden bg-transparent z-10",{relative:m,"absolute opacity-0":!m,"button-focus button-card":o}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&o&&o(n)},onMouseEnter:function(){s&&E(s)},onMouseLeave:function(){O&&(O(),E(null))},onClick:o?function(){return o(n)}:function(){},children:(0,Q.jsx)("div",{ref:S,className:"relative rounded-lg",children:w?(0,Q.jsx)(Je.BlockPreview,{blocks:N,viewportWidth:1400,live:!1}):null})})]})};function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){Mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt=function(e){return se(e)},Ut=function(e){var r=e.page,n=e.blockHeight,o=e.lock,i=void 0!==o&&o,a=e.displayOnly,s=void 0!==a&&a,u=Ue(),c=u.siteType,l=u.style,f=u.toggle,d=u.has,h="home"===(null==r?void 0:r.slug),p=Ae({siteType:c.slug,layoutType:r.slug,baseLayout:h?null==l?void 0:l.homeBaseLayout:null,kit:"home"!==r.slug?null==l?void 0:l.kit:null},Bt).data;return s?(0,Q.jsxs)("div",{className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100",children:[(0,Q.jsx)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm",children:r.title}),(0,Q.jsx)(Lt,{blockHeight:n,style:Dt(Dt({},l),{},{code:$e({template:p})})},null==l?void 0:l.recordId)]}):(0,Q.jsx)("div",{children:(0,Q.jsxs)("div",{role:"button",tabIndex:0,"aria-label":(0,t.__)("Press to select","extendify"),disabled:i,className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 button-focus",title:i?(0,t.__)("This page is required","extendify"):null,onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(i||f("pages",r))},onClick:function(){return i||f("pages",r)},children:[(0,Q.jsxs)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm",children:[(0,Q.jsxs)("div",{className:Ze()("flex items-center",{"text-gray-700":!d("pages",r)}),children:[(0,Q.jsx)("span",{children:r.title}),i&&(0,Q.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),d("pages",r)&&(0,Q.jsx)(rt,{className:"text-partner-primary-bg w-6"})]}),(0,Q.jsx)(Lt,{blockHeight:n,style:Dt(Dt({},l),{},{code:$e({template:p})})},null==l?void 0:l.recordId)]})})};function Ft(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Vt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ht(e){return function(e){if(Array.isArray(e))return Yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Vt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vt(e,t){if(e){if("string"==typeof e)return Yt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yt(e,t):void 0}}function Yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zt(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var Wt=function(){var e,t=(e=ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/layout-types");case 2:if(n=e.sent,null!=(o=null==n||null===(t=n.data)||void 0===t?void 0:t.map((function(e){return{id:e.id,slug:e.slug,title:e.title}})))&&o.length){e.next=6;break}throw new Error("Error fetching pages");case 6:return i=o[0],a=null===(r=o.slice(1))||void 0===r?void 0:r.sort((function(e,t){return e.title>t.title?1:-1})),e.abrupt("return",[i].concat(Ht(null!=a?a:[])));case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){zt(i,n,o,a,s,"next",e)}function s(e){zt(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),qt=function(){return{key:"layout-types"}};function Zt(e){return function(e){if(Array.isArray(e))return Kt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jt(e)}function Xt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Gt(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function $t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Gt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gt(e,t){if(e){if("string"==typeof e)return Kt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kt(e,t):void 0}}function Kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qt(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function er(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Qt(i,n,o,a,s,"next",e)}function s(e){Qt(i,n,o,a,s,"throw",e)}a(void 0)}))}}var tr=function(){var e=er(ne().mark((function e(t){var r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i=t,ie.get("onboarding/styles",{params:i});case 2:return o=e.sent,e.abrupt("return",null==o||null===(r=o.data)||void 0===r||null===(n=r.map((function(e){return{label:e.title,slug:e.slug,recordId:e.id,themeJson:null==e?void 0:e.themeJson,homeBaseLayout:null==e?void 0:e.homeBaseLayout,header:null==e?void 0:e.header,footer:null==e?void 0:e.footer,kit:null==e?void 0:e.kit,headerCode:null==e?void 0:e.headerCode,footerCode:null==e?void 0:e.footerCode,code:$e(e)}})))||void 0===n?void 0:n.filter((function(e){return e.code})));case 4:case"end":return e.stop()}var i}),e)})));return function(t){return e.apply(this,arguments)}}(),rr=function(e){var t,r,n;return{key:"site-style",siteType:null!==(r=null===(n=e=null!==(t=e)&&void 0!==t?t:null==Ue?void 0:Ue.getState().siteType)||void 0===n?void 0:n.slug)&&void 0!==r?r:"default"}},nr=function(e){var t=e.image,r=e.heading,n=e.name,o=e.description,i=e.selected,a=e.onClick,s=e.lock;return(0,Q.jsxs)("div",{role:s?void 0:"button",tabIndex:s?void 0:0,"aria-label":s?void 0:n,className:Ze()("text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100",{"button-focus":!s}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(s||a())},onClick:function(){s||a()},children:[(0,Q.jsxs)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm",children:[(0,Q.jsxs)("div",{className:Ze()("flex items-center",{"text-gray-700":!i}),children:[(0,Q.jsx)("span",{children:n}),s&&(0,Q.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),(s||i)&&(0,Q.jsx)(rt,{className:"text-partner-primary-bg w-6"})]}),(0,Q.jsxs)("div",{className:"flex flex-col",children:[(0,Q.jsx)("div",{style:{backgroundImage:"url(".concat(t,")")},className:"h-32 bg-cover"}),(0,Q.jsxs)("div",{className:"p-6 text-left",children:[(0,Q.jsx)("div",{className:"text-base font-bold mb-2",children:r}),(0,Q.jsx)("div",{className:"text-sm",children:o})]})]})]})};function or(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function ir(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ar(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ar(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var sr=function(){return ie.get("onboarding/site-types")},ur=function(){return{key:"site-types"}},cr=function(t){var r=t.option,n=t.selectSiteType,o=(0,e.useRef)(0);return(0,Q.jsxs)("button",{onClick:function(){return n(r)},onMouseEnter:function(){window.clearTimeout(o.current),o.current=window.setTimeout((function(){var e=function(){return rr(r)};V(e,(function(t){return null!=t&&t.length?t:tr(e())}))}),100)},onMouseLeave:function(){window.clearTimeout(o.current)},className:"flex bg-gray-100 hover:bg-gray-200 items-center justify-between mb-2 p-4 py-3 relative w-full button-focus",children:[(0,Q.jsx)("span",{children:r.title}),(0,Q.jsx)(ut,{})]})},lr=[["landing",{component:function(){var r=fr((function(e){return e.nextPage})),n=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return n.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[n]);var o=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,le("extendify_onboarding_skipped",(new Date).toISOString());case 3:location.href=window.extOnbData.adminUrl;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ve(i,n,o,a,s,"next",e)}function s(e){Ve(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("Welcome to Your WordPress Site","extendify")}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("Design and launch your site with our guided experience, or jump right to the WordPress dashboard if you already know what you're doing.","extendify")})]}),(0,Q.jsxs)("div",{className:"",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("Pick one:","extendify")}),(0,Q.jsxs)("div",{className:"lg:flex lg:space-x-8",children:[(0,Q.jsxs)("button",{onClick:r,ref:n,type:"button","aria-label":(0,t.__)("Press to continue","extendify"),className:"button-card max-w-sm button-focus",children:[(0,Q.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/extendify-preview.png)")}}),(0,Q.jsx)("p",{className:"font-bold text-lg text-gray-900",children:(0,t.__)("Extendify Launch","extendify")}),(0,Q.jsx)("p",{className:"text-base text-gray-900",children:(0,t.__)("Create a super-fast, beautiful, and fully customized site in minutes. Simply answer a few questions and pick a design to get started. Then, everything can be fully customized in the core WordPress editor.","extendify")})]}),(0,Q.jsxs)("a",{onClick:function(e){return o(e)},className:"button-card max-w-sm button-focus",children:[(0,Q.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/wp-admin.png)")}}),(0,Q.jsx)("p",{className:"font-bold text-lg text-gray-900",children:(0,t.__)("WordPress Dashboard","extendify")}),(0,Q.jsx)("p",{className:"text-base text-gray-900",children:(0,t.__)("Are you a WordPress developer and want to go straight to the admin dashboard?","extendify")})]})]})]})]})}}],["site-information",{component:function(){var r,n=Ue(),o=n.siteInformation,i=n.setSiteInformation,a=(0,e.useRef)(null),s=fr((function(e){return e.nextPage})),u=Ae(We,ze).data;return(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return a.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[a]),(0,e.useEffect)((function(){null!=u&&u.title&&i("title",u.title)}),[u,i]),(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("What's the name of your new site?","extendify")}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("You can change this later.","extendify")})]}),(0,Q.jsx)("div",{className:"w-full",children:(0,Q.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},children:[(0,Q.jsx)("label",{htmlFor:"extendify-site-title-input",className:"block mt-0 mb-8 text-base",children:(0,t.__)("What's the name of your site?","extendify")}),(0,Q.jsx)("div",{className:"mb-8",children:(0,Q.jsx)("input",{autoComplete:"off",ref:a,type:"text",name:"site-title-input",id:"extendify-site-title-input",className:"w-96 max-w-full border h-12 input-focus",value:null!==(r=null==o?void 0:o.title)&&void 0!==r?r:"",onChange:function(e){return i("title",e.target.value)},placeholder:(0,t.__)("Enter your preferred site title...","extendify")})})]})})]})},fetcher:ze,fetchData:We}],["site-type-select",{component:function(){var r=Ue((function(e){return e.siteType})),n=fr((function(e){return e.nextPage})),o=ir((0,e.useState)([]),2),i=o[0],a=o[1],s=ir((0,e.useState)(""),2),u=s[0],c=s[1],l=ir((0,e.useState)(!0),2),f=l[0],d=l[1],h=(0,e.useRef)(null),p=Ae(ur,sr),y=p.data,v=p.loading;(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return h.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[h]),(0,e.useEffect)((function(){if(!(v||null!=r&&r.slug)){var e=null==y?void 0:y.find((function(e){return"default"===e.slug}));e&&Ue.getState().setSiteType({label:e.title,recordId:e.id,slug:e.slug})}}),[v,null==r?void 0:r.slug,y]),(0,e.useEffect)((function(){v||((null==u?void 0:u.length)>0?a(null==y?void 0:y.filter((function(e){var t=e.title,r=e.keywords,n=null==u?void 0:u.toLowerCase();return!n||(t.toLowerCase().indexOf(n)>-1||!(null==r||!r.length)&&r.find((function(e){return e.toLowerCase().indexOf(n)>-1})))}))):(a(null==y?void 0:y.filter((function(e){return e.featured}))),d(!0)))}),[y,u,v]),(0,e.useEffect)((function(){v||a(f?y.filter((function(e){return e.featured})):y)}),[y,f,v]);var m=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ue.getState().setSiteType({label:t.title,recordId:t.id,slug:t.slug}),window.localStorage.removeItem("extendify-global-state"),e.next=4,r={siteType:{title:t.title,slug:t.slug}},ie.post("library/site-type",r);case 4:n();case 5:case"end":return e.stop()}var r}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){or(i,n,o,a,s,"next",e)}function s(e){or(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("What is your site about?","extendify")}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("Search for the industry that best suits your site.","extendify")})]}),(0,Q.jsxs)("div",{className:"w-80",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("Choose a site industry:","extendify")}),(0,Q.jsxs)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:[(0,Q.jsx)("input",{ref:h,type:"text",className:"w-full border h-12 input-focus",value:u,onChange:function(e){return c(e.target.value)},placeholder:(0,t.__)("Search...","extendify")}),(0,Q.jsx)(St,{className:"icon-search"})]}),v&&(0,Q.jsx)("p",{children:(0,t.__)("Loading...","extendify")}),(null==i?void 0:i.length)>0&&(0,Q.jsxs)("div",{children:[(0,Q.jsxs)("div",{className:"flex justify-between mb-3",children:[(0,Q.jsx)("p",{className:"text-left uppercase text-xss m-0",children:(0,t.__)("Industries","extendify")}),(null==u?void 0:u.length)>0?null:(0,Q.jsx)("button",{type:"button",className:"bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline",onClick:function(){d((function(e){return!e})),h.current.focus()},children:f?(0,t.__)("Show all","extendify"):(0,t.__)("Show less","extendify")})]}),(0,Q.jsx)("div",{className:"overflow-y-auto p-2 -m-2",style:{maxHeight:"360px"},children:i.map((function(e){return(0,Q.jsx)(cr,{selectSiteType:m,option:e},e.id)}))})]})]})]})},fetcher:sr,fetchData:ur}],["goals",{component:function(){var r=Ae(He,Fe),n=r.data,o=r.loading,i=Ue(),a=i.toggle,s=i.has,u=fr((function(e){return e.nextPage})),c=(0,e.useRef)();return(0,e.useEffect)((function(){if(c.current){var e=requestAnimationFrame((function(){return c.current.querySelector("input").focus()}));return function(){return cancelAnimationFrame(e)}}}),[c]),(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("What do you want to accomplish with this new site?","extendify")}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("You can change these later.","extendify")})]}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("Select the goals relevant to your site:","extendify")}),o?(0,Q.jsx)("p",{children:(0,t.__)("Loading...","extendify")}):(0,Q.jsxs)("form",{onSubmit:function(e){e.preventDefault(),u()},className:"w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select",children:[(0,Q.jsx)("input",{type:"submit",className:"hidden"}),n&&(null==n?void 0:n.map((function(e,t){return(0,Q.jsx)("div",{className:"border p-4",ref:0===t?c:void 0,children:(0,Q.jsx)(K.CheckboxControl,{label:e.title,checked:s("goals",e),onChange:function(){return a("goals",e)}})},e.id)})))]})]})]})},fetcher:Fe,fetchData:He}],["site-style-select",{component:function(){var r,n=Ue((function(e){return e.siteType})),o=fr((function(e){return e.nextPage})),i=Ae(rr,tr),a=i.data,s=i.loading,u=function(){var t=(0,e.useRef)(!1);return(0,e.useLayoutEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),c=(0,e.useCallback)((function(e){Ue.getState().setStyle(e),o()}),[o]),l=$t((0,e.useState)([]),2),f=l[0],d=l[1];return(0,e.useEffect)((function(){null!=a&&a.length&&er(ne().mark((function e(){var t,r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Xt(a),e.prev=1,n=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.value,u.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return d((function(e){return[].concat(Zt(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,1e3)}));case 6:case"end":return e.stop()}}),e)})),t.s();case 4:if((r=t.n()).done){e.next=11;break}return e.delegateYield(n(),"t0",6);case 6:if("object"!==Jt(o=e.t0)){e.next=9;break}return e.abrupt("return",o.v);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(1),t.e(e.t1);case 16:return e.prev=16,t.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,13,16,19]])})))()}),[a,u]),(0,e.useEffect)((function(){null!=f&&f.length&&!Ue.getState().style&&Ue.getState().setStyle(f[0])}),[f]),(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.sprintf)((0,t.__)("Now pick a design for your new %s site.","extendify"),null==n||null===(r=n.label)||void 0===r?void 0:r.toLowerCase())}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("You can personalize this later.","extendify")})]}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:s?(0,t.__)("Please wait a moment while we generate style previews...","extendify"):(0,t.__)("Pick your style","extendify")}),(0,Q.jsxs)("div",{className:"lg:flex space-y-6 -m-6 lg:space-y-0 flex-wrap",children:[null==f?void 0:f.map((function(e){return(0,Q.jsx)("div",{className:"p-6 relative",style:{height:590,width:425},children:(0,Q.jsx)(Lt,{style:e,selectStyle:c,blockHeight:590})},e.recordId)})),null==a?void 0:a.slice(null==f?void 0:f.length).map((function(e){return(0,Q.jsx)("div",{style:{height:590,width:425},className:"p-6 relative",children:(0,Q.jsx)("div",{className:"bg-gray-50 h-full w-full flex items-center justify-center",children:(0,Q.jsx)(Tt,{className:"spin w-8"})})},e.slug)}))]})]})]})}}],["site-pages-select",{component:function(){var r=Ae(qt,Wt).data,n=Ft((0,e.useState)(!1),2),o=n[0],i=n[1],a=Ue(),s=a.pages,u=a.add,c=a.remove;return(0,e.useEffect)((function(){i((null==s?void 0:s.length)===(null==r?void 0:r.length))}),[s,r]),(0,e.useEffect)((function(){null==r||r.map((function(e){return u("pages",e)}))}),[r,u]),(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("What pages do you want on this site?","extendify")}),(0,Q.jsx)("p",{className:"text-base opacity-70",children:(0,t.__)("You may add more later","extendify")})]}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsxs)("div",{className:"flex justify-between",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("Pick the pages you'd like to add to your site","extendify")}),(0,Q.jsx)(K.CheckboxControl,{label:(0,t.__)("Include all pages","extendify"),checked:o,onChange:function(){null==r||r.map((function(e){"home"!==e.slug&&(o?c("pages",e):u("pages",e))}))}})]}),(0,Q.jsx)("div",{className:"lg:flex space-y-6 -m-8 lg:space-y-0 flex-wrap",children:null==r?void 0:r.map((function(e){return(0,Q.jsx)("div",{className:"p-8 relative",style:{height:442.5,width:318.75},children:(0,Q.jsx)(Ut,{lock:"home"===(null==e?void 0:e.slug),page:e,blockHeight:442.5})},e.id)}))})]})]})},fetcher:Wt,fetchData:qt}],["site-summary",{component:function(){var e=Ue(),r=e.siteType,n=e.style,o=e.pages,i=e.plugins,a=fr((function(e){return e.setPage}));return(0,Q.jsxs)(hr,{children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("Let's launch your site!","extendify")}),(0,Q.jsx)("p",{className:"text-base",children:(0,t.__)("Review your site configuration.","extendify")})]}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("Site settings","extendify")}),(0,Q.jsxs)("div",{className:"flex flex-col space-y-8",children:[(0,Q.jsxs)("div",{className:"flex items-center",children:[(0,Q.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,t.__)("Industry:","extendify")}),null!=r&&r.label?(0,Q.jsx)("div",{className:"p-4 py-2 rounded-lg text-base flex bg-transparent border border-gray-600 cursor-pointer",onClick:function(){return a("site-type-select")},title:(0,t.__)("Press to change the site type","extendify"),children:r.label}):(0,Q.jsx)("button",{onClick:function(){return a("site-type-select")},className:"bg-transparent text-partner-primary underline text-base",children:(0,t.__)("Press to set a site type","extendify")})]}),(0,Q.jsxs)("div",{className:"flex items-start",children:[(0,Q.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,t.__)("Style:","extendify")}),null!=n&&n.label?(0,Q.jsx)("div",{className:"cursor-pointer overflow-hidden border rounded-lg",onClick:function(){return a("site-style-select")},title:(0,t.__)("Press to change the site style","extendify"),children:(0,Q.jsx)("div",{className:"p-2 relative",style:{height:354,width:255},children:(0,Q.jsx)(Lt,{style:n,blockHeight:354})},n.recordId)}):(0,Q.jsx)("button",{onClick:function(){return a("site-style-select")},className:"bg-transparent text-partner-primary underline text-base",children:(0,t.__)("Press to set a style type","extendify")})]}),(0,Q.jsxs)("div",{className:"flex items-start",children:[(0,Q.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,t.__)("Pages:","extendify")}),o.length>0?(0,Q.jsx)("div",{className:"flex items-start space-x-2 cursor-pointer w-full",onClick:function(){return a("site-pages-select")},title:(0,t.__)("Press to change the selected pages","extendify"),children:(0,Q.jsx)("div",{className:"lg:flex space-y-6 -m-8 lg:space-y-0 flex-wrap",children:null==o?void 0:o.map((function(e){return(0,Q.jsx)("div",{className:"p-8 relative",style:{height:354,width:255},children:(0,Q.jsx)(Ut,{displayOnly:!0,page:e,blockHeight:175})},e.id)}))})}):(0,Q.jsx)("button",{onClick:function(){return a("site-pages-select")},className:"bg-transparent text-partner-primary underline text-base",children:(0,t.__)("Press to set your pages","extendify")})]}),i.length>0?(0,Q.jsxs)("div",{className:"flex items-start",children:[(0,Q.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,t.__)("Plugins:","extendify")}),(0,Q.jsx)("div",{className:"flex items-start space-x-2 cursor-pointer w-full",onClick:function(){return a("suggested-plugins")},title:(0,t.__)("Press to change the selected plugins","extendify"),children:(0,Q.jsx)("div",{className:"grid w-full grid-cols-3 gap-4",children:i.map((function(e){return(0,Q.jsx)(nr,{lock:!0,image:(t=e.previewImage,null==t||null===(r=t[0])||void 0===r||null===(n=r.url)||void 0===n||null===(o=n.split(/[?#]/))||void 0===o?void 0:o[0]),name:e.name,heading:e.heading,description:e.description},e.id);var t,r,n,o}))})})]}):null]})]})]})}}]],fr=be(we((function(e,t){return{pages:new Map(lr),currentPageIndex:0,count:function(){return t().pages.size},pageOrder:function(){return Array.from(t().pages.keys())},currentPageData:function(){return t().pages.get(t().pageOrder()[t().currentPageIndex])},nextPageData:function(){var e=t().currentPageIndex+1;return e>t().pageOrder().length-1?{}:t().pages.get(t().pageOrder()[e])},setPage:function(r){"string"==typeof r&&(r=t().pageOrder().indexOf(r)),r>t().pageOrder().length-1||r<0||e({currentPageIndex:r})},nextPage:function(){t().setPage(t().currentPageIndex+1)},previousPage:function(){t().setPage(t().currentPageIndex-1)}}}))),dr=function(){var e=fr((function(e){return e.nextPage})),r=fr((function(e){return e.previousPage})),n=fr((function(e){return e.currentPageIndex})),o=fr((function(e){return e.count()})),i=Ue((function(e){return e.canLaunch()})),a=n===o-1,s=0===n;return(0,Q.jsxs)("div",{className:"flex items-center justify-between space-x-2",children:[(0,Q.jsx)("div",{className:"flex-1"}),(0,Q.jsx)(ve,{currentPageIndex:n,totalPages:o}),(0,Q.jsxs)("div",{className:"flex space-x-2 flex-1 justify-end",children:[s||(0,Q.jsx)("button",{className:"px-4 py-3 bg-transparent hover:bg-gray-200 font-medium button-focus focus:bg-gray-100",type:"button",onClick:r,children:(0,t.__)("Previous","extendify")}),i&&a?(0,Q.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:function(){return Ne.setState({generating:!0})},children:(0,t.__)("Launch site","extendify")}):(0,Q.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:e,children:(0,t.__)("Next","extendify")})]})]})},hr=function(e){var r,n,o,i=e.children,a=e.includeNav,s=void 0===a||a;return(0,Q.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,Q.jsxs)("div",{className:"bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0",children:[(0,Q.jsxs)("div",{className:"max-w-sm pr-8",children:[(null===(r=window.extOnbData)||void 0===r?void 0:r.partnerLogo)&&(0,Q.jsx)("div",{className:"pb-8",children:(0,Q.jsx)("img",{src:window.extOnbData.partnerLogo,alt:null!==(n=null===(o=window.extOnbData)||void 0===o?void 0:o.partnerName)&&void 0!==n?n:""})}),i[0]]}),(0,Q.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,Q.jsx)("span",{className:"opacity-70 text-xs",children:(0,t.__)("Powered by","extendify")}),(0,Q.jsxs)("span",{className:"relative",children:[(0,Q.jsx)(pt,{className:"logo text-white w-28"}),(0,Q.jsx)("span",{className:"absolute -bottom-2 right-3 font-semibold tracking-tight",children:(0,t.__)("Launch","extendify")})]})]})]}),(0,Q.jsxs)("div",{className:"flex-grow md:h-screen md:overflow-y-scroll",children:[s?(0,Q.jsx)("div",{className:"py-4 px-8 sticky top-0 bg-white z-50",children:(0,Q.jsx)(dr,{})}):null,(0,Q.jsx)("div",{className:"mt-8 p-8 lg:px-12 flex justify-center",children:i[1]})]})]})};function pr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return yr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yr(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function yr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function vr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var mr=function(){var e,t=(e=ne().mark((function e(t,r,n){var o,i,a,s,u,c,l,f,d,h;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o={},i=pr(t),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=18;break}return s=a.value,e.next=8,se({siteType:r.slug,layoutType:s.slug,baseLayout:"home"===s.slug?null==n?void 0:n.homeBaseLayout:null,kit:"home"!==s.slug?null==n?void 0:n.kit:null});case 8:return u=e.sent,c="",null!=u&&u.data&&(c=[null==u||null===(l=u.data)||void 0===l?void 0:l.code,null==u||null===(f=u.data)||void 0===f?void 0:f.code2].filter(Boolean).join("")),d=s.slug,e.next=14,de({title:s.title,name:d,status:"publish",content:c});case 14:h=e.sent,o[d]={id:h.id,title:s.title};case 16:e.next=4;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(2),i.e(e.t0);case 23:return e.prev=23,i.f(),e.finish(23);case 26:if(null==o||!o.home){e.next=34;break}return e.next=29,le("show_on_front","page");case 29:return e.next=31,le("page_on_front",o.home.id);case 31:if(null==o||!o.blog){e.next=34;break}return e.next=34,le("page_for_posts",o.blog);case 34:return e.next=36,le("extendify_onboarding_completed",(new Date).toISOString());case 36:return e.abrupt("return",o);case 37:case"end":return e.stop()}}),e,null,[[2,20,23,26]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){vr(i,n,o,a,s,"next",e)}function s(e){vr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}(),gr=function(e){return function(e){return ie.post("onboarding/save-theme-json",{themeJson:e})}(e.themeJson)},br=function(){return(0,Q.jsxs)(hr,{includeNav:!1,children:[(0,Q.jsx)("div",{children:(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("We encountered an error.","extendify")})}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,t.__)("We encountered an error that we can't recover from. You can attempt to start over by pressing the button below.","extendify")}),(0,Q.jsx)("div",{className:"flex flex-col items-start space-y-4 text-base",children:(0,Q.jsx)("a",{href:"".concat(window.extOnbData.site,"/wp-admin/post-new.php?extendify=onboarding"),children:(0,t.__)("Start over")})})]})]})};function wr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function xr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){wr(i,n,o,a,s,"next",e)}function s(e){wr(i,n,o,a,s,"throw",e)}a(void 0)}))}}function jr(e){return function(e){if(Array.isArray(e))return Sr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Er(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Or(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Er(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Er(e,t){if(e){if("string"==typeof e)return Sr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sr(e,t):void 0}}function Sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _r=function(){var r=Ue((function(e){return e.canLaunch()})),n=Ue(),o=n.siteType,i=n.siteInformation,a=n.pages,s=n.style,u=n.goals,c=n.plugins,l=Or((0,e.useState)([]),2),f=l[0],d=l[1],h=(0,te.useSelect)((function(e){return e("core").getCurrentTheme()})),p=function(e){return d((function(t){return[e].concat(jr(t))}))};(0,e.useEffect)((function(){var e=function(e){return e.preventDefault(),e.returnValue=""},t={capture:!0};return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}}),[]);var y=(0,e.useCallback)(xr(ne().mark((function e(){var n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}throw new Error((0,t.__)("Site is not ready to launch.","extendify"));case 2:return p((0,t.__)("Preparing your website","extendify")),e.next=5,le("blogname",i.title);case 5:return e.next=7,new Promise((function(e){return setTimeout(e,2e3)}));case 7:return p((0,t.__)("Installing your theme","extendify")),e.next=10,gr(s);case 10:if(null==c||!c.length){e.next=14;break}return p((0,t.__)("Installing plugins","extendify")),e.next=14,Promise.all([].concat(jr(c.map((function(e){return he(e.wordpressSlug)}))),[new Promise((function(e){return setTimeout(e,2e3)}))]));case 14:return e.next=16,gr(s);case 16:return e.next=18,new Promise((function(e){return setTimeout(e,2e3)}));case 18:return p((0,t.__)("Inserting header area","extendify")),e.next=21,ye("".concat(null==h?void 0:h.stylesheet,"//header"),null==s?void 0:s.headerCode);case 21:return e.next=23,new Promise((function(e){return setTimeout(e,2e3)}));case 23:return p((0,t.__)("Generating page content","extendify")),e.next=26,mr(a,o,s);case 26:return n=e.sent,e.next=29,new Promise((function(e){return setTimeout(e,2e3)}));case 29:return p((0,t.__)("Inserting footer area","extendify")),e.next=32,ye("".concat(null==h?void 0:h.stylesheet,"//footer"),null==s?void 0:s.footerCode);case 32:return e.next=34,new Promise((function(e){return setTimeout(e,2e3)}));case 34:return p((0,t.__)("Finalizing your site","extendify")),e.next=37,l={siteType:[o.recordId],style:[s.recordId],pages:null==a?void 0:a.map((function(e){return e.id})),goals:null==u?void 0:u.map((function(e){return e.id}))},ie.post("onboarding/orders",l);case 37:return e.abrupt("return",n);case 38:case"end":return e.stop()}var l}),e)}))),[a,u,c,o,s,r,null==h?void 0:h.stylesheet,i.title]);return(0,e.useEffect)((function(){null!=h&&h.stylesheet&&y().then((function(e){Ne.setState({generatedPages:e})}))}),[y,null==h?void 0:h.stylesheet]),r?(0,Q.jsxs)(hr,{includeNav:!1,children:[(0,Q.jsxs)("div",{children:[(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.__)("Building your site now!","extendify")}),(0,Q.jsx)("p",{className:"text-base",children:(0,t.__)("Please don't close the window.","extendify")})]}),(0,Q.jsx)("div",{className:"w-full",children:(0,Q.jsx)("div",{className:"flex flex-col items-start space-y-4",children:f.map((function(e,r){return r?(0,Q.jsxs)("div",{className:"ml-12 text-base text-gray-500 flex",children:[(0,Q.jsx)(rt,{className:"text-green-500 w-6 mr-1"}),(0,t.sprintf)(e,"...")]},e):(0,Q.jsxs)("div",{className:"text-4xl flex space-x-4 items-center",children:[(0,Q.jsx)(Tt,{className:"spin w-10 mr-2"}),(0,t.sprintf)(e,"...")]},e)}))})})]}):(0,Q.jsx)(br,{})};function Pr(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(decodeURIComponent);if(r){!function(e,t,r){const n=t.length,o=n-1;for(let i=0;i<n;i++){let n=t[i];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const a=!isNaN(Number(t[i+1]));e[n]=i===o?r:e[n]||(a?[]:{}),Array.isArray(e[n])&&!a&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n)}return e}),Object.create(null))}function Cr(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function Nr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(Pr(e),t),r=r.substr(0,n)),r+"?"+Cr(t)}var Ar={};!function e(t,r,n,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function s(e){var n=r.exports.Promise,o=void 0!==n?n:t.Promise;return"function"==typeof o?new o(e):(e(a,a),null)}var u,c,l,f,d,h,p,y,v,m=(l=Math.floor(1e3/60),f={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(u=function(e){var t=Math.random();return f[t]=requestAnimationFrame((function r(n){d===n||d+l-1<n?(d=n,delete f[t],e()):f[t]=requestAnimationFrame(r)})),t},c=function(e){f[e]&&cancelAnimationFrame(f[e])}):(u=function(e){return setTimeout(e,l)},c=function(e){return clearTimeout(e)}),{frame:u,cancel:c}),g=(y={},function(){if(h)return h;if(!n&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,o){if(p)return t(r,null),p;var i=Math.random().toString(36).slice(2);return p=s((function(n){function a(t){t.data.callback===i&&(delete y[i],e.removeEventListener("message",a),p=null,o(),n())}e.addEventListener("message",a),t(r,i),y[i]=a.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),y)y[t](),delete y[t]}}(h)}return h}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function w(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:b[t],r)}function x(e){return e<0?0:Math.floor(e)}function j(e){return parseInt(e,16)}function O(e){return e.map(E)}function E(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:j(t.substring(0,2)),g:j(t.substring(2,4)),b:j(t.substring(4,6))}}function S(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function _(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function P(e,t,r,i,a){var u,c,l=t.slice(),f=e.getContext("2d"),d=s((function(t){function s(){u=c=null,f.clearRect(0,0,i.width,i.height),a(),t()}u=m.frame((function t(){!n||i.width===o.width&&i.height===o.height||(i.width=e.width=o.width,i.height=e.height=o.height),i.width||i.height||(r(e),i.width=e.width,i.height=e.height),f.clearRect(0,0,i.width,i.height),l=l.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=t.wobbleSpeed,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),"circle"===t.shape?e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,o,i,a,s,u){e.save(),e.translate(t,r),e.rotate(i),e.scale(n,o),e.arc(0,0,1,a,s,u),e.restore()}(e,t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(i),Math.floor(a)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY))),e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})),l.length?u=m.frame(t):s()})),c=s}));return{addFettis:function(e){return l=l.concat(e),d},canvas:e,promise:d,reset:function(){u&&m.cancel(u),c&&c()}}}function C(e,r){var n,o=!e,a=!!w(r||{},"resize"),u=w(r,"disableForReducedMotion",Boolean),c=i&&!!w(r||{},"useWorker")?g():null,l=o?S:_,f=!(!e||!c)&&!!e.__confetti_initialized,d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(t,r,o){for(var i,a,s,u,c,f=w(t,"particleCount",x),d=w(t,"angle",Number),h=w(t,"spread",Number),p=w(t,"startVelocity",Number),y=w(t,"decay",Number),v=w(t,"gravity",Number),m=w(t,"drift",Number),g=w(t,"colors",O),b=w(t,"ticks",Number),j=w(t,"shapes"),E=w(t,"scalar"),S=function(e){var t=w(e,"origin",Object);return t.x=w(t,"x",Number),t.y=w(t,"y",Number),t}(t),_=f,C=[],N=e.width*S.x,A=e.height*S.y;_--;)C.push((i={x:N,y:A,angle:d,spread:h,startVelocity:p,color:g[_%g.length],shape:j[(u=0,c=j.length,Math.floor(Math.random()*(c-u))+u)],ticks:b,decay:y,gravity:v,drift:m,scalar:E},a=void 0,s=void 0,a=i.angle*(Math.PI/180),s=i.spread*(Math.PI/180),{x:i.x,y:i.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*i.startVelocity+Math.random()*i.startVelocity,angle2D:-a+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:i.color,shape:i.shape,tick:0,totalTicks:i.ticks,decay:i.decay,drift:i.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*i.gravity,ovalScalar:.6,scalar:i.scalar}));return n?n.addFettis(C):(n=P(e,C,l,r,o)).promise}function p(r){var i=u||w(r,"disableForReducedMotion",Boolean),p=w(r,"zIndex",Number);if(i&&d)return s((function(e){e()}));o&&n?e=n.canvas:o&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(p),document.body.appendChild(e)),a&&!f&&l(e);var y={width:e.width,height:e.height};function v(){if(c){var t={getBoundingClientRect:function(){if(!o)return e.getBoundingClientRect()}};return l(t),void c.postMessage({resize:{width:t.width,height:t.height}})}y.width=y.height=null}function m(){n=null,a&&t.removeEventListener("resize",v),o&&e&&(document.body.removeChild(e),e=null,f=!1)}return c&&!f&&c.init(e),f=!0,c&&(e.__confetti_initialized=!0),a&&t.addEventListener("resize",v,!1),c?c.fire(r,y,m):h(r,y,m)}return p.reset=function(){c&&c.reset(),n&&n.reset()},p}function N(){return v||(v=C(null,{useWorker:!0,resize:!0})),v}r.exports=function(){return N().apply(this,arguments)},r.exports.reset=function(){N().reset()},r.exports.create=C}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Ar,!1);const Tr=Ar.exports;Ar.exports.create;function Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(r),!0).forEach((function(t){Lr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ir=function(){var r,n,o=Ne((function(e){return e.generatedPages})),i=Ue((function(e){return e.siteType}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,e.useEffect)((function(){var e=Date.now()+r;!function r(){Tr(kr(kr({},t),{},{disableForReducedMotion:!0,zIndex:1e5})),Date.now()<e&&requestAnimationFrame(r)}()}),[t,r])}({particleCount:2,angle:60,spread:55,origin:{x:0,y:.7},colors:["var(--ext-partner-theme-primary-text, #ffffff)"]},3e3),(0,Q.jsxs)(hr,{includeNav:!1,children:[(0,Q.jsx)("div",{children:(0,Q.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,t.sprintf)((0,t.__)("Your site has been successfully created. Enjoy!","extendify"),null==i||null===(r=i.label)||void 0===r?void 0:r.toLowerCase())})}),(0,Q.jsxs)("div",{className:"w-full",children:[(0,Q.jsx)("p",{className:"mt-0 mb-8 text-base text-center",children:(0,t.__)("Your site is ready! You can now go to your site and start editing content.","extendify")}),(0,Q.jsxs)("div",{className:"text-center w-360 flex flex-col justify-center items-center -mt-150",children:[(0,Q.jsx)(rt,{className:"w-16 bg-partner-primary-bg text-partner-primary-text rounded-full"}),(0,Q.jsx)("h3",{className:"mb-8",children:(0,t.__)("All Done","extendify")}),(0,Q.jsx)("div",{className:"flex space-x-4",children:(0,Q.jsx)("a",{className:"px-4 py-3 rounded-md bg-gray-200 text-black no-underline hover:bg-partner-primary-bg hover:text-partner-primary-text font-medium",target:"_blank",rel:"noreferrer",href:window.extOnbData.home,children:(0,t.__)("View Site","extendify")})}),(0,Q.jsxs)("div",{className:"text-left self-start px-10 py-4 w-full",children:[(0,Q.jsx)("h4",{className:"",children:(0,t.__)("New Pages:","extendify")}),(0,Q.jsx)("div",{className:"",children:null===(n=Object.values(o))||void 0===n?void 0:n.map((function(e){return(0,Q.jsxs)("div",{className:"flex items-center mb-2",children:[(0,Q.jsx)(rt,{className:"w-6 text-green-500"}),(0,Q.jsx)("a",{target:"_blank",href:Nr("post.php",{post:e.id,action:"edit"}),className:"text-primary no-underline hover:underline ml-2 text-base",rel:"noreferrer",children:e.title})]},e.id)}))})]})]})]})]})};function Dr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Mr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Br,Ur=function(){var r,n,o=Ue((function(e){return e.resetState})),i=Dr((0,e.useState)(!1),2),a=i[0],s=i[1],u=fr((function(e){return e.currentPageData()})).component,c=fr((function(e){return e.nextPageData()})),l=c.fetcher,f=c.fetchData,d=Z().mutate,h=Ne((function(e){return e.generating})),p=Ne((function(e){return e.generatedPages})),y=Dr((0,e.useState)(!1),2),v=y[0],m=y[1];return n=(0,te.useSelect)((function(e){return e("core/edit-post").isFeatureActive("welcomeGuide")}),[]),(0,e.useEffect)((function(){n&&(0,te.dispatch)("core/edit-post").toggleFeature("welcomeGuide")}),[n]),(0,e.useLayoutEffect)((function(){var e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){return document.body.style.overflow=e}}),[]),(0,e.useEffect)((function(){if(v){var e=setTimeout((function(){window.dispatchEvent(new CustomEvent("extendify::close-library",{bubbles:!0}))}),0);return document.title=(0,t.__)("Extendify Launch","extendify"),function(){return clearTimeout(e)}}}),[v]),(0,e.useEffect)((function(){o();var e=new URLSearchParams(window.location.search);m(["onboarding"].includes(e.get("extendify")))}),[o]),(0,e.useEffect)((function(){l&&d(f,l)}),[l,d,f]),v?null!==(r=Object.keys(p))&&void 0!==r&&r.length?(0,Q.jsx)("div",{className:"h-screen w-screen fixed z-high inset-0 overflow-y-auto md:overflow-hidden bg-white",children:(0,Q.jsx)(Ir,{})}):(0,Q.jsxs)($,{value:{errorRetryInterval:1e3,onErrorRetry:function(e,t){var r;console.error(t,e),403!==(null==e||null===(r=e.data)||void 0===r?void 0:r.status)?a||(s(!0),setTimeout((function(){s(!1)}),5e3)):window.location.reload()}},children:[(0,Q.jsx)("div",{style:{zIndex:1e5},className:"h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white",children:h?(0,Q.jsx)(_r,{}):(0,Q.jsx)(u,{})}),a&&(0,Q.jsx)(ee,{})]}):null},Fr=Object.assign(document.createElement("div"),{id:"extendify-onboarding-root",className:"extendify-onboarding"});document.body.append(Fr),Br=function(){window._wpLoadBlockEditor&&(0,e.render)((0,Q.jsx)(Ur,{}),Fr)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Br):Br())})()})();
|
1 |
/*! For license information please see extendify-onboarding.js.LICENSE.txt */
|
2 |
+
(()=>{var e={7135:(e,t,r)=>{e.exports=r(6248)},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),o=r(4570),i=r(2940),a=r(581),s=r(574),u=r(3845),c=r(8338),l=r(4832),f=r(7354),d=r(8870),p=r(4906);e.exports=function(e){return new Promise((function(t,r){var h,y=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(y)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+x)}var j=s(e.baseURL,e.url);function O(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(j,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(j))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(v[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(v,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),m&&"json"!==m&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(r(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),y||(y=null);var S=p(j);S&&-1===["http","https","file"].indexOf(S)?r(new f("Unsupported protocol "+S+":",f.ERR_BAD_REQUEST,e)):b.send(y)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),o=r(875),i=r(5029),a=r(4941);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=i,s.CanceledError=r(8870),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.toFormData=r(1020),s.AxiosError=r(7354),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},4603:(e,t,r)=>{"use strict";var n=r(8870);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},8870:(e,t,r)=>{"use strict";var n=r(7354);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(7485).inherits(o,n,{__CANCEL__:!0}),e.exports=o},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),o=r(581),i=r(8096),a=r(5009),s=r(4941),u=r(574),c=r(6144),l=c.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},7354:(e,t,r)=>{"use strict";var n=r(7485);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,r,a,s,u){var c=Object.create(i);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=o},8096:(e,t,r)=>{"use strict";var n=r(7485);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},574:(e,t,r)=>{"use strict";var n=r(2642),o=r(2288);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5009:(e,t,r)=>{"use strict";var n=r(7485),o=r(9212),i=r(1475),a=r(8396),s=r(8870);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function u(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},4570:(e,t,r)=>{"use strict";var n=r(7354);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),o=r(8396);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),o=r(7485),i=r(1446),a=r(7354),s=r(4832),u=r(1020),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=r(4387)),f),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=o.isObject(e),a=t&&t["Content-Type"];if((r=o.isFileList(e))||n&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,s&&new s)}return n||"application/json"===a?(l(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(8750)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(c)})),e.exports=d},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.27.2"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},8750:e=>{e.exports=null},3845:(e,t,r)=>{"use strict";var n=r(7485),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},4906:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1020:(e,t,r)=>{"use strict";var n=r(816).Buffer,o=r(7485);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e}return function e(n,a){if(o.isPlainObject(n)||o.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),o.forEach(n,(function(r,n){if(!o.isUndefined(r)){var s,u=a?a+"."+n:n;if(r&&!a&&"object"==typeof r)if(o.endsWith(n,"{}"))r=JSON.stringify(r);else if(o.endsWith(n,"[]")&&(s=o.toArray(r)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(u,i(e))}));e(r,u)}})),r.pop()}else t.append(a,i(n))}(e),t}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,o=r(7354),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(i(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},7485:(e,t,r)=>{"use strict";var n,o=r(875),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var l=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=s("Date"),h=s("File"),y=s("Blob"),v=s("FileList");function m(e){return"[object Function]"===i.call(e)}var g=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:c,isDate:p,isFile:h,isBlob:y,isFunction:m,isStream:function(e){return f(e)&&m(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function r(r,n){d(t[n])&&d(r)?t[n]=e(t[n],r):d(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)b(arguments[n],r);return t},extend:function(e,t,r){return b(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,a={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=n[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:x,isFileList:v}},4782:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(c(e,s,s+a>u?u:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},816:(e,t,r)=>{"use strict";var n=r(4782),o=r(8898),i=r(5182);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|p(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|p(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return Y(H(t,e.length-r),e,r,n)}function x(e,t,r,n){return Y(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function j(e,t,r,n){return x(e,t,r,n)}function O(e,t,r,n){return Y(V(t),e,r,n)}function E(e,t,r,n){return Y(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function P(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=_));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function N(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function A(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=F(e[i]);return o}function T(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function k(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,n,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function L(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function D(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return i||D(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||D(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=u.isBuffer(e)?e:H(new u(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}},42:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8898:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,d=r?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*y}},5182:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},7061:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1426:(e,t,r)=>{"use strict";r(2525);var n=r(7363),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},6248:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?h:d,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=h,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",y={};function v(){}function m(){}function g(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=g.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function N(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return m.prototype=g,u(j,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},O(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(j),u(j,s,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7363:e=>{"use strict";e.exports=React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=wp.element,t=wp.data;var n=r(7363);function o(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var a,s=function(){},u=s(),c=Object,l=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return c.assign({},e,t)},p="undefined",h=function(){return typeof window!=p},y=new WeakMap,v=0,m=function(e){var t,r,n=typeof e,o=e&&e.constructor,i=o==Date;if(c(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=y.get(e))return t;if(t=++v+"~",y.set(e,t),o==Array){for(t="@",r=0;r<e.length;r++)t+=m(e[r])+",";y.set(e,t)}if(o==c){t="#";for(var a=c.keys(e).sort();!l(r=a.pop());)l(e[r])||(t+=r+":"+m(e[r])+",");y.set(e,t)}}return t},g=!0,b=h(),w=typeof document!=p,x=b&&window.addEventListener?window.addEventListener.bind(window):s,j=w?document.addEventListener.bind(document):s,O=b&&window.removeEventListener?window.removeEventListener.bind(window):s,E=w?document.removeEventListener.bind(document):s,S={isOnline:function(){return g},isVisible:function(){var e=w&&document.visibilityState;return l(e)||"hidden"!==e}},P={initFocus:function(e){return j("visibilitychange",e),x("focus",e),function(){E("visibilitychange",e),O("focus",e)}},initReconnect:function(e){var t=function(){g=!0,e()},r=function(){g=!1};return x("online",t),x("offline",r),function(){O("online",t),O("offline",r)}}},_=!h()||"Deno"in window,C=function(e){return h()&&typeof window.requestAnimationFrame!=p?window.requestAnimationFrame(e):setTimeout(e,1)},N=_?n.useEffect:n.useLayoutEffect,A="undefined"!=typeof navigator&&navigator.connection,T=!_&&A&&(["slow-2g","2g"].includes(A.effectiveType)||A.saveData),k=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t,e?"$swr$"+e:""]},R=new WeakMap,L=function(e,t,r,n,o,i,a){void 0===a&&(a=!0);var s=R.get(e),u=s[0],c=s[1],l=s[3],f=u[t],d=c[t];if(a&&d)for(var p=0;p<d.length;++p)d[p](r,n,o);return i&&(delete l[t],f&&f[0])?f[0](2).then((function(){return e.get(t)})):e.get(t)},I=0,D=function(){return++I},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(void 0,void 0,void 0,(function(){var t,r,n,o,a,s,c,p,h,y,v,m,g,b,w,x,j,O,E,S,P;return i(this,(function(i){switch(i.label){case 0:if(t=e[0],r=e[1],n=e[2],o=e[3],s=!!l((a="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||a.populateCache,c=!1!==a.revalidate,p=!1!==a.rollbackOnError,h=a.optimisticData,y=k(r),v=y[0],m=y[2],!v)return[2];if(g=R.get(t),b=g[2],e.length<3)return[2,L(t,v,t.get(v),u,u,c,!0)];if(w=n,j=D(),b[v]=[j,0],O=!l(h),E=t.get(v),O&&(S=f(h)?h(E):h,t.set(v,S),L(t,v,S)),f(w))try{w=w(t.get(v))}catch(e){x=e}return w&&f(w.then)?[4,w.catch((function(e){x=e}))]:[3,2];case 1:if(w=i.sent(),j!==b[v][0]){if(x)throw x;return[2,w]}x&&O&&p&&(s=!0,w=E,t.set(v,E)),i.label=2;case 2:return s&&(x||(f(s)&&(w=s(w,E)),t.set(v,w)),t.set(m,d(t.get(m),{error:x}))),b[v][1]=D(),[4,L(t,v,w,x,u,c,!!s)];case 3:if(P=i.sent(),x)throw x;return[2,s?P:w]}}))}))},B=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},U=function(e,t){if(!R.has(e)){var r=d(P,t),n={},o=M.bind(u,e),i=s;if(R.set(e,[n,{},{},{},o]),!_){var a=r.initFocus(setTimeout.bind(u,B.bind(u,n,0))),c=r.initReconnect(setTimeout.bind(u,B.bind(u,n,1)));i=function(){a&&a(),c&&c(),R.delete(e)}}return[e,o,i]}return[e,R.get(e)[4]]},F=U(new Map),H=F[0],V=F[1],Y=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,r,n,o){var i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(i)&&a>i||setTimeout(n,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:T?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:T?5e3:3e3,compare:function(e,t){return m(e)==m(t)},isPaused:function(){return!1},cache:H,mutate:V,fallback:{}},S),z=function(e,t){var r=d(e,t);if(t){var n=e.use,o=e.fallback,i=t.use,a=t.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},W=(0,n.createContext)({}),q=function(e){return f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},Z=function(){return d(Y,(0,n.useContext)(W))},X=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},J={dedupe:!0},$=c.defineProperty((function(e){var t=e.value,r=z((0,n.useContext)(W),t),o=t&&t.provider,i=(0,n.useState)((function(){return o?U(o(r.cache||H),t):u}))[0];return i&&(r.cache=i[0],r.mutate=i[1]),N((function(){return i?i[2]:u}),[]),(0,n.createElement)(W.Provider,d(e,{value:r}))}),"default",{value:Y}),G=(a=function(e,t,r){var a=r.cache,s=r.compare,c=r.fallbackData,p=r.suspense,h=r.revalidateOnMount,y=r.refreshInterval,v=r.refreshWhenHidden,m=r.refreshWhenOffline,g=R.get(a),b=g[0],w=g[1],x=g[2],j=g[3],O=k(e),E=O[0],S=O[1],P=O[2],A=(0,n.useRef)(!1),T=(0,n.useRef)(!1),I=(0,n.useRef)(E),B=(0,n.useRef)(t),U=(0,n.useRef)(r),F=function(){return U.current},H=function(){return F().isVisible()&&F().isOnline()},V=function(e){return a.set(P,d(a.get(P),e))},Y=a.get(E),z=l(c)?r.fallback[E]:c,W=l(Y)?z:Y,q=a.get(P)||{},Z=q.error,$=!A.current,G=function(){return $&&!l(h)?h:!F().isPaused()&&(p?!l(W)&&r.revalidateIfStale:l(W)||r.revalidateIfStale)},K=!(!E||!t)&&(!!q.isValidating||$&&G()),Q=function(e,t){var r=(0,n.useState)({})[1],o=(0,n.useRef)(e),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)((function(e){var n=!1,a=o.current;for(var s in e){var u=s;a[u]!==e[u]&&(a[u]=e[u],i.current[u]&&(n=!0))}n&&!t.current&&r({})}),[]);return N((function(){o.current=e})),[o,i.current,a]}({data:W,error:Z,isValidating:K},T),ee=Q[0],te=Q[1],re=Q[2],ne=(0,n.useCallback)((function(e){return o(void 0,void 0,void 0,(function(){var t,n,o,c,d,p,h,y,v,m,g,b,w;return i(this,(function(i){switch(i.label){case 0:if(t=B.current,!E||!t||T.current||F().isPaused())return[2,!1];c=!0,d=e||{},p=!j[E]||!d.dedupe,h=function(){return!T.current&&E===I.current&&A.current},y=function(){var e=j[E];e&&e[1]===o&&delete j[E]},v={isValidating:!1},m=function(){V({isValidating:!1}),h()&&re(v)},V({isValidating:!0}),re({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),p&&(L(a,E,ee.current.data,ee.current.error,!0),r.loadingTimeout&&!a.get(E)&&setTimeout((function(){c&&h()&&F().onLoadingSlow(E,r)}),r.loadingTimeout),j[E]=[t.apply(void 0,S),D()]),w=j[E],n=w[0],o=w[1],[4,n];case 2:return n=i.sent(),p&&setTimeout(y,r.dedupingInterval),j[E]&&j[E][1]===o?(V({error:u}),v.error=u,g=x[E],!l(g)&&(o<=g[0]||o<=g[1]||0===g[1])?(m(),p&&h()&&F().onDiscarded(E),[2,!1]):(s(ee.current.data,n)?v.data=ee.current.data:v.data=n,s(a.get(E),n)||a.set(E,n),p&&h()&&F().onSuccess(n,E,r),[3,4])):(p&&h()&&F().onDiscarded(E),[2,!1]);case 3:return b=i.sent(),y(),F().isPaused()||(V({error:b}),v.error=b,p&&h()&&(F().onError(b,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&H()&&F().onErrorRetry(b,E,r,ne,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,m(),h()&&p&&L(a,E,v.data,v.error,!1),[2,!0]}}))}))}),[E]),oe=(0,n.useCallback)(M.bind(u,a,(function(){return I.current})),[]);if(N((function(){B.current=t,U.current=r})),N((function(){if(E){var e=E!==I.current,t=ne.bind(u,J),r=0,n=X(E,w,(function(e,t,r){re(d({error:t,isValidating:r},s(ee.current.data,e)?u:{data:e}))})),o=X(E,b,(function(e){if(0==e){var n=Date.now();F().revalidateOnFocus&&n>r&&H()&&(r=n+F().focusThrottleInterval,t())}else if(1==e)F().revalidateOnReconnect&&H()&&t();else if(2==e)return ne()}));return T.current=!1,I.current=E,A.current=!0,e&&re({data:W,error:Z,isValidating:K}),G()&&(l(W)||_?t():C(t)),function(){T.current=!0,n(),o()}}}),[E,ne]),N((function(){var e;function t(){var t=f(y)?y(W):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){ee.current.error||!v&&!F().isVisible()||!m&&!F().isOnline()?t():ne(J).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[y,v,m,ne]),(0,n.useDebugValue)(W),p&&l(W)&&E)throw B.current=t,U.current=r,T.current=!1,l(Z)?ne(J):Z;return{mutate:oe,get data(){return te.data=!0,W},get error(){return te.error=!0,Z},get isValidating(){return te.isValidating=!0,K}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Z(),n=q(e),o=n[0],i=n[1],s=n[2],u=z(r,s),c=a,l=u.use;if(l)for(var f=l.length;f-- >0;)c=l[f](c);return c(o,i||u.fetcher,u)});const K=wp.components,Q=wp.i18n;var ee=r(4246),te=function(){return(0,ee.jsx)("div",{className:"extendify-onboarding w-full fixed bottom-4 px-4 flex justify-end z-max",children:(0,ee.jsx)("div",{className:"shadow-2xl",children:(0,ee.jsx)(K.Snackbar,{children:(0,Q.__)("Just a moment, this is taking longer than expected.","extendify")})})})},re=r(7135),ne=r.n(re),oe=r(4206),ie=r.n(oe)().create({baseURL:window.extOnbData.root,headers:{"X-WP-Nonce":window.extOnbData.nonce,"X-Requested-With":"XMLHttpRequest","X-Extendify-Onboarding":!0,"X-Extendify":!0}});function ae(e){return Object.prototype.hasOwnProperty.call(e,"data")?e.data:e}function se(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function ue(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){se(i,n,o,a,s,"next",e)}function s(e){se(i,n,o,a,s,"throw",e)}a(void 0)}))}}ie.interceptors.response.use((function(e){return ae(e)}),(function(e){return function(e){if(e.response)return console.error(e.response),Promise.reject(ae(e.response))}(e)})),ie.interceptors.request.use((function(e){return function(e){return e.headers["X-Extendify-Onboarding-Dev-Mode"]=window.location.search.indexOf("DEVMODE")>-1,e.headers["X-Extendify-Onboarding-Local-Mode"]=window.location.search.indexOf("LOCALMODE")>-1,e}(e)}),(function(e){return e}));var ce=function(e){return ie.post("onboarding/parse-theme-json",{themeJson:e})},le=function(e,t){return ie.post("onboarding/options",{option:e,value:t})},fe=function(){var e=ue(ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/options",{params:{option:t}});case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de=function(){var e=ue(ne().mark((function e(t){var r,n,o,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify(t)},n="".concat(window.extOnbData.wpRoot,"wp/v2/pages"),e.next=4,fetch(n,r);case 4:return o=e.sent,e.next=7,o.json();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pe=function(){var e=ue(ne().mark((function e(t){var r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return r={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},n="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=6,fetch(n,{method:"POST",headers:r,body:JSON.stringify({slug:t,status:"active"})});case 6:if(!((o=e.sent).status>=200&&o.status<300)){e.next=11;break}return e.next=10,o.json();case 10:case 13:return e.abrupt("return",e.sent);case 11:return e.next=13,he(t);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=ue(ne().mark((function e(t){var r,n,o,i,a,s,u;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},i="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=4,fetch("".concat(i,"?search=").concat(t),{headers:o});case 4:return a=e.sent,e.next=7,a.json();case 7:if(e.t1=r=e.sent,e.t0=null===e.t1,e.t0){e.next=11;break}e.t0=void 0===r;case 11:if(!e.t0){e.next=15;break}e.t2=void 0,e.next=16;break;case 15:e.t2=null===(n=r[0])||void 0===n?void 0:n.plugin;case 16:return s=e.t2,e.next=19,fetch("".concat(i,"/").concat(s),{method:"POST",headers:o,body:JSON.stringify({status:"active"})});case 19:return u=e.sent,e.next=22,u.json();case 22:return e.abrupt("return",e.sent);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=function(){var e=ue(ne().mark((function e(t,r){var n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({slug:"".concat(t),theme:"extendable",type:"wp_template_part",status:"publish",description:(0,Q.sprintf)((0,Q.__)("Added by %s","extendify"),"Extendify Launch"),content:r})},e.prev=1,o="".concat(window.extOnbData.wpRoot,"wp/v2/template-parts/").concat(t),e.next=5,fetch(o,n);case 5:return i=e.sent,e.next=8,i.json();case 8:return a=e.sent,e.abrupt("return",a);case 12:e.prev=12,e.t0=e.catch(1);case 14:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r){return e.apply(this,arguments)}}(),ve=function(){var e=ue(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,me();case 2:return o=e.sent,o=null===(t=o)||void 0===t?void 0:t.filter((function(e){return"extendable"===e.theme})),i=null===(r=o)||void 0===r?void 0:r.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("header")})),a=null===(n=o)||void 0===n?void 0:n.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("footer")})),e.abrupt("return",{headers:i,footers:a});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),me=function(){var e=ue(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/template-parts",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),ge=function(){var e=ue(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/global-styles/themes/extendable/variations",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),be=function(){var e=ue(ne().mark((function e(t,r){var n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(window.extOnbData.wpRoot,"wp/v2/global-styles/").concat(t),{method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({id:t,settings:r.settings,styles:r.styles})});case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),we=function(e){var t=e.currentPageIndex,r=e.totalPages,n=Math.round((t+1)/r*100),o="(".concat(t,"/").concat(r-1,")");return(0,ee.jsxs)("div",{className:"flex-1 hidden md:flex justify-center items-center",children:[(0,ee.jsx)("div",{role:"progressbar","aria-valuenow":n,"aria-valuemin":"0","aria-valuetext":o,"aria-valuemax":"100",className:"w-32 bg-gray-200 h-2 rounded-full",children:(0,ee.jsx)("div",{className:"rounded-full bg-partner-primary-bg h-2",style:{width:"".concat(n,"%")}})}),(0,ee.jsx)("div",{className:"pl-2 flex justify-center",children:o})]})};function xe(e){let t;const r=new Set,n=(e,n)=>{const o="function"==typeof e?e(t):e;if(o!==t){const e=t;t=n?o:Object.assign({},t,o),r.forEach((r=>r(t,e)))}},o=()=>t,i={setState:n,getState:o,subscribe:(e,n,i)=>n||i?((e,n=o,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=n(t);function s(){const r=n(t);if(!i(a,r)){const t=a;e(a=r,t)}}return r.add(s),()=>r.delete(s)})(e,n,i):(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,o,i),i}const je="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function Oe(e){const t="function"==typeof e?xe(e):e,r=(e=t.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((e=>e+1),0),i=t.getState(),a=(0,n.useRef)(i),s=(0,n.useRef)(e),u=(0,n.useRef)(r),c=(0,n.useRef)(!1),l=(0,n.useRef)();let f;void 0===l.current&&(l.current=e(i));let d=!1;(a.current!==i||s.current!==e||u.current!==r||c.current)&&(f=e(i),d=!r(l.current,f)),je((()=>{d&&(l.current=f),a.current=i,s.current=e,u.current=r,c.current=!1}));const p=(0,n.useRef)(i);je((()=>{const e=()=>{try{const e=t.getState(),r=s.current(e);u.current(l.current,r)||(a.current=e,l.current=r,o())}catch(e){c.current=!0,o()}},r=t.subscribe(e);return t.getState()!==p.current&&e(),r}),[]);const h=d?f:l.current;return(0,n.useDebugValue)(h),h};return Object.assign(r,t),r[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[r,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},r}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Ee(e,t){return(r,n,o)=>{var i;let a=!1;"string"!=typeof t||a||(console.warn("[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead"),a=!0);const s=void 0===t?{name:void 0,anonymousActionType:void 0}:"string"==typeof t?{name:t}:t;let u;void 0!==(null==(i=null==s?void 0:s.serialize)?void 0:i.options)&&console.warn("[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`");try{u=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return"undefined"!=typeof window&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,o);let c=Object.create(u.connect(s)),l=!1;Object.defineProperty(o,"devtools",{get:()=>(l||(console.warn("[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c),set:e=>{l||(console.warn("[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c=e}});let f=!1;Object.defineProperty(c,"prefix",{get:()=>(f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0),""),set:()=>{f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0)}});let d=!0;o.setState=(e,t,o)=>{r(e,t),d&&c.send(void 0===o?{type:s.anonymousActionType||"anonymous"}:"string"==typeof o?{type:o}:o,n())};const p=(...e)=>{const t=d;d=!1,r(...e),d=t},h=e(o.setState,n,o);if(c.init(h),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return c.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):Se(e.payload,(e=>{"__setState"!==e.type?o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e):p(e.state)}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),c.init(o.getState());case"COMMIT":return c.init(o.getState());case"ROLLBACK":return Se(e.state,(e=>{p(e),c.init(o.getState())}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Se(e.state,(e=>{p(e)}));case"IMPORT_STATE":{const{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;return p(n),void c.send(null,r)}case"PAUSE_RECORDING":return d=!d}return}})),h}}const Se=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};var Pe=Object.defineProperty,_e=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ae=(e,t,r)=>t in e?Pe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Te=(e,t)=>{for(var r in t||(t={}))Ce.call(t,r)&&Ae(e,r,t[r]);if(_e)for(var r of _e(t))Ne.call(t,r)&&Ae(e,r,t[r]);return e};const ke=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then:e=>ke(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>ke(t)(e)}}},Re=(e,t)=>(r,n,o)=>{let i=Te({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>Te(Te({},t),e)},t);(i.blacklist||i.whitelist)&&console.warn(`The ${i.blacklist?"blacklist":"whitelist"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);let a=!1;const s=new Set,u=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)}),n,o);c.removeItem||console.warn(`[zustand persist middleware] The given storage for item '${i.name}' does not contain a 'removeItem' method, which will be required in v4.`);const l=ke(i.serialize),f=()=>{const e=i.partialize(Te({},n()));let t;i.whitelist&&Object.keys(e).forEach((t=>{var r;!(null==(r=i.whitelist)?void 0:r.includes(t))&&delete e[t]})),i.blacklist&&i.blacklist.forEach((t=>delete e[t]));const r=l({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return r},d=o.setState;o.setState=(e,t)=>{d(e,t),f()};const p=e(((...e)=>{r(...e),f()}),n,o);let h;const y=()=>{var e;if(!c)return;a=!1,s.forEach((e=>e(n())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,n()))||void 0;return ke(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return h=i.merge(e,null!=(t=n())?t:p),r(h,!0),f()})).then((()=>{null==t||t(h,void 0),a=!0,u.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i=Te(Te({},i),e),e.getStorage&&(c=e.getStorage())},clearStorage:()=>{var e;null==(e=null==c?void 0:c.removeItem)||e.call(c,i.name)},rehydrate:()=>y(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},y(),h||p};var Le=Oe(Re(Ee((function(e){return{generating:!1,generatedPages:{},orderId:null,setOrderId:function(t){e({orderId:t})}}})),{name:"extendify-launch-globals",getStorage:function(){return localStorage},partialize:function(e){var t;return{orderId:null!==(t=null==e?void 0:e.orderId)&&void 0!==t?t:null}}}));function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Be(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var Ue=function(){var e,t=(e=ne().mark((function e(t){var r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/styles",{params:t});case 2:return n=e.sent,e.next=5,ve();case 5:return o=e.sent,i=o.headers,a=o.footers,e.abrupt("return",null==n||null===(r=n.data)||void 0===r?void 0:r.map((function(e){var t,r,n,o,s,u,c=null==i?void 0:i.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.headerSlug))&&void 0!==r?r:"header"})),l=null==a?void 0:a.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.footerSlug))&&void 0!==r?r:"footer"}));return De(De({},e),{},{headerCode:null!==(t=null==c||null===(r=c.content)||void 0===r||null===(n=r.raw)||void 0===n?void 0:n.trim())&&void 0!==t?t:"",footerCode:null!==(o=null==l||null===(s=l.content)||void 0===s||null===(u=s.raw)||void 0===u?void 0:u.trim())&&void 0!==o?o:""})})));case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Be(i,n,o,a,s,"next",e)}function s(e){Be(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Fe=function(e){return ie.get("onboarding/template",{params:e})};function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){Ye(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=G(e,t,Ve({dedupingInterval:6e4,refreshInterval:0},n)),i=o.data,a=o.error,s=null!==(r=null==i?void 0:i.data)&&void 0!==r?r:i;return{data:s,loading:!s&&!a,error:a}};function We(e){return function(e){if(Array.isArray(e))return qe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){Je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $e={siteType:{},siteInformation:{title:""},style:null,pages:[],plugins:[],goals:[]},Ge=Oe(Re(Ee((function(e,t){return Xe(Xe({},$e),{},{setSiteType:function(t){e({siteType:t})},setSiteInformation:function(r,n){var o=Xe(Xe({},t().siteInformation),{},Je({},r,n));e({siteInformation:o})},has:function(e,r){return!(null==r||!r.id)&&t()[e].some((function(e){return e.id===r.id}))},add:function(r,n){t().has(r,n)||e(Je({},r,[].concat(We(t()[r]),[n])))},remove:function(r,n){e(Je({},r,t()[r].filter((function(e){return e.id!==n.id}))))},reset:function(t){e(Je({},t,[]))},toggle:function(e,r){t().has(e,r)?t().remove(e,r):t().add(e,r)},setStyle:function(t){e({style:t})},canLaunch:function(){var e,r,n,o,i,a,s,u;return(null===(e=Object.keys(null!==(r=null===(n=t())||void 0===n?void 0:n.siteType)&&void 0!==r?r:{}))||void 0===e?void 0:e.length)>0&&(null===(o=Object.keys(null!==(i=null===(a=t())||void 0===a?void 0:a.style)&&void 0!==i?i:{}))||void 0===o?void 0:o.length)>0&&(null===(s=t())||void 0===s||null===(u=s.pages)||void 0===u?void 0:u.length)>0},resetState:function(){e($e)}})})),{name:"extendify-site-selection",getStorage:function(){return sessionStorage},partialize:function(e){var t,r,n,o,i,a;return{orderId:null!==(t=null==e?void 0:e.orderId)&&void 0!==t?t:null,siteType:null!==(r=null==e?void 0:e.siteType)&&void 0!==r?r:{},style:null!==(n=null==e?void 0:e.style)&&void 0!==n?n:null,pages:null!==(o=null==e?void 0:e.pages)&&void 0!==o?o:[],plugins:null!==(i=null==e?void 0:e.plugins)&&void 0!==i?i:[],goals:null!==(a=null==e?void 0:e.goals)&&void 0!==a?a:[]}}})),Ke=function(){return ie.get("onboarding/goals")},Qe=function(){return{key:"goals"}};function et(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function tt(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var rt=function(){var e,t=(e=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe("blogname");case 2:return t=e.sent,e.abrupt("return",{title:t});case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){tt(i,n,o,a,s,"next",e)}function s(e){tt(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),nt=function(){return{key:"site-info"}};var ot=r(42),it=r.n(ot);const at=wp.blockEditor,st=wp.blocks;var ut=function(e){var t,r;return[null==e||null===(t=e.template)||void 0===t?void 0:t.code,null==e||null===(r=e.template)||void 0===r?void 0:r.code2].filter(Boolean).join("")},ct=["className"];function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const ht=(0,e.memo)((function(e){var t=e.className,r=pt(e,ct);return(0,ee.jsx)("svg",ft(ft({className:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M8.72912 13.7449L5.77536 10.7911L4.76953 11.7899L8.72912 15.7495L17.2291 7.24948L16.2304 6.25073L8.72912 13.7449Z",fill:"currentColor"})}))}));var yt=["className"];function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){gt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const wt=(0,e.memo)((function(e){var t=e.className,r=bt(e,yt);return(0,ee.jsx)("svg",mt(mt({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M10 17.5L15 12L10 6.5",stroke:"#1f1f1f",strokeWidth:"1.75"})}))}));var xt=["className"];function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Et(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Et(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Pt=(0,e.memo)((function(e){var t=e.className,r=St(e,xt);return(0,ee.jsxs)("svg",Ot(Ot({className:t,viewBox:"0 0 2524 492",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M609.404 378.5C585.07 378.5 563.404 373 544.404 362C525.737 350.667 511.07 335.333 500.404 316C489.737 296.333 484.404 273.833 484.404 248.5C484.404 222.833 489.57 200.167 499.904 180.5C510.237 160.833 524.737 145.5 543.404 134.5C562.07 123.167 583.404 117.5 607.404 117.5C632.404 117.5 653.904 122.833 671.904 133.5C689.904 143.833 703.737 158.333 713.404 177C723.404 195.667 728.404 218 728.404 244V262.5L516.404 263L517.404 224H667.904C667.904 207 662.404 193.333 651.404 183C640.737 172.667 626.237 167.5 607.904 167.5C593.57 167.5 581.404 170.5 571.404 176.5C561.737 182.5 554.404 191.5 549.404 203.5C544.404 215.5 541.904 230.167 541.904 247.5C541.904 274.167 547.57 294.333 558.904 308C570.57 321.667 587.737 328.5 610.404 328.5C627.07 328.5 640.737 325.333 651.404 319C662.404 312.667 669.57 303.667 672.904 292H729.404C724.07 319 710.737 340.167 689.404 355.5C668.404 370.833 641.737 378.5 609.404 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M797.529 372H728.029L813.029 251L728.029 125H799.029L853.529 209L906.029 125H974.529L890.529 250.5L972.029 372H902.029L849.029 290.5L797.529 372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M994.142 125H1150.14V176H994.142V125ZM1102.64 372H1041.64V48H1102.64V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1278.62 378.5C1254.29 378.5 1232.62 373 1213.62 362C1194.96 350.667 1180.29 335.333 1169.62 316C1158.96 296.333 1153.62 273.833 1153.62 248.5C1153.62 222.833 1158.79 200.167 1169.12 180.5C1179.46 160.833 1193.96 145.5 1212.62 134.5C1231.29 123.167 1252.62 117.5 1276.62 117.5C1301.62 117.5 1323.12 122.833 1341.12 133.5C1359.12 143.833 1372.96 158.333 1382.62 177C1392.62 195.667 1397.62 218 1397.62 244V262.5L1185.62 263L1186.62 224H1337.12C1337.12 207 1331.62 193.333 1320.62 183C1309.96 172.667 1295.46 167.5 1277.12 167.5C1262.79 167.5 1250.62 170.5 1240.62 176.5C1230.96 182.5 1223.62 191.5 1218.62 203.5C1213.62 215.5 1211.12 230.167 1211.12 247.5C1211.12 274.167 1216.79 294.333 1228.12 308C1239.79 321.667 1256.96 328.5 1279.62 328.5C1296.29 328.5 1309.96 325.333 1320.62 319C1331.62 312.667 1338.79 303.667 1342.12 292H1398.62C1393.29 319 1379.96 340.167 1358.62 355.5C1337.62 370.833 1310.96 378.5 1278.62 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1484.44 372H1423.44V125H1479.94L1484.94 157C1492.61 144.667 1503.44 135 1517.44 128C1531.78 121 1547.28 117.5 1563.94 117.5C1594.94 117.5 1618.28 126.667 1633.94 145C1649.94 163.333 1657.94 188.333 1657.94 220V372H1596.94V234.5C1596.94 213.833 1592.28 198.5 1582.94 188.5C1573.61 178.167 1560.94 173 1544.94 173C1525.94 173 1511.11 179 1500.44 191C1489.78 203 1484.44 219 1484.44 239V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1798.38 378.5C1774.38 378.5 1753.71 373.167 1736.38 362.5C1719.38 351.5 1706.04 336.333 1696.38 317C1687.04 297.667 1682.38 275.167 1682.38 249.5C1682.38 223.833 1687.04 201.167 1696.38 181.5C1706.04 161.5 1719.88 145.833 1737.88 134.5C1755.88 123.167 1777.21 117.5 1801.88 117.5C1819.21 117.5 1835.04 121 1849.38 128C1863.71 134.667 1874.71 144.167 1882.38 156.5V0H1942.88V372H1886.88L1882.88 333.5C1875.54 347.5 1864.21 358.5 1848.88 366.5C1833.88 374.5 1817.04 378.5 1798.38 378.5ZM1811.88 322.5C1826.21 322.5 1838.54 319.5 1848.88 313.5C1859.21 307.167 1867.21 298.333 1872.88 287C1878.88 275.333 1881.88 262.167 1881.88 247.5C1881.88 232.5 1878.88 219.5 1872.88 208.5C1867.21 197.167 1859.21 188.333 1848.88 182C1838.54 175.333 1826.21 172 1811.88 172C1797.88 172 1785.71 175.333 1775.38 182C1765.04 188.333 1757.04 197.167 1751.38 208.5C1746.04 219.833 1743.38 232.833 1743.38 247.5C1743.38 262.167 1746.04 275.167 1751.38 286.5C1757.04 297.833 1765.04 306.667 1775.38 313C1785.71 319.333 1797.88 322.5 1811.88 322.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1996.45 372V125H2057.45V372H1996.45ZM2026.45 75.5C2016.11 75.5 2007.28 72 1999.95 65C1992.95 57.6667 1989.45 48.8333 1989.45 38.5C1989.45 28.1667 1992.95 19.5 1999.95 12.5C2007.28 5.50001 2016.11 2.00002 2026.45 2.00002C2036.78 2.00002 2045.45 5.50001 2052.45 12.5C2059.78 19.5 2063.45 28.1667 2063.45 38.5C2063.45 48.8333 2059.78 57.6667 2052.45 65C2045.45 72 2036.78 75.5 2026.45 75.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2085.97 125H2240.97V176H2085.97V125ZM2241.47 2.5V54.5C2238.14 54.5 2234.64 54.5 2230.97 54.5C2227.64 54.5 2224.14 54.5 2220.47 54.5C2205.14 54.5 2194.8 58.1667 2189.47 65.5C2184.47 72.8333 2181.97 82.6667 2181.97 95V372H2121.47V95C2121.47 72.3333 2125.14 54.1667 2132.47 40.5C2139.8 26.5 2150.14 16.3333 2163.47 10C2176.8 3.33334 2192.3 0 2209.97 0C2214.97 0 2220.14 0.166671 2225.47 0.5C2231.14 0.833329 2236.47 1.49999 2241.47 2.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2330.4 125L2410.9 353L2377.9 415.5L2265.9 125H2330.4ZM2272.4 486.5V436H2308.9C2316.9 436 2323.9 435 2329.9 433C2335.9 431.333 2341.24 428 2345.9 423C2350.9 418 2355.07 410.667 2358.4 401L2460.9 125H2523.9L2402.9 427C2393.9 449.667 2382.57 466.167 2368.9 476.5C2355.24 486.833 2338.24 492 2317.9 492C2309.24 492 2301.07 491.5 2293.4 490.5C2286.07 489.833 2279.07 488.5 2272.4 486.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M226.926 25.1299H310.197C333.783 25.1299 342.32 27.5938 350.948 32.1932C359.576 36.8108 366.326 43.5822 370.941 52.1969C375.556 60.8298 378 69.3715 378 92.9707V176.289C378 199.888 375.537 208.43 370.941 217.063C366.326 225.696 359.558 232.449 350.948 237.066C347.091 239.131 343.244 240.83 338.064 242.047V308.355C338.064 344.802 334.261 357.994 327.162 371.327C320.034 384.66 309.583 395.09 296.285 402.221C282.96 409.353 269.775 413.13 233.349 413.13H104.744C68.3172 413.13 55.1327 409.325 41.8073 402.221C28.4819 395.09 18.0583 384.632 10.9308 371.327C3.80323 358.023 0 344.802 0 308.355V179.706C0 143.259 3.80323 130.067 10.9026 116.734C18.0301 103.401 28.4819 92.9431 41.8073 85.8116C55.1045 78.7082 68.3172 74.9028 104.744 74.9028H159.808C160.841 64.0747 162.996 58.1666 166.165 52.2151C170.78 43.5822 177.547 36.8108 186.175 32.1932C194.785 27.5938 203.34 25.1299 226.926 25.1299ZM184.128 78.1641C184.128 62.7001 196.658 50.1641 212.114 50.1641H324.991C340.448 50.1641 352.978 62.7001 352.978 78.1641V191.096C352.978 206.56 340.448 219.096 324.991 219.096H212.114C196.658 219.096 184.128 206.56 184.128 191.096V78.1641Z",fill:"currentColor"})]}))}));var _t=["className"];function Ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(r),!0).forEach((function(t){At(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(0,e.memo)((function(e){var t=e.className,r=Tt(e,_t);return(0,ee.jsx)("svg",Nt(Nt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{fill:"currentColor",d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"})}))}));var kt=["className"];function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach((function(t){It(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Mt=(0,e.memo)((function(e){var t=e.className,r=Dt(e,kt);return(0,ee.jsxs)("svg",Lt(Lt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M8 18.5504L12 14.8899",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,ee.jsx)("path",{d:"M20.25 11.7523C20.25 14.547 18.092 16.7546 15.5 16.7546C12.908 16.7546 10.75 14.547 10.75 11.7523C10.75 8.95754 12.908 6.75 15.5 6.75C18.092 6.75 20.25 8.95754 20.25 11.7523Z",stroke:"#1E1E1E",strokeWidth:"1.5"})]}))}));var Bt=["className"];function Ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(r),!0).forEach((function(t){Ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Yt=(0,e.memo)((function(e){var t=e.className,r=Vt(e,Bt);return(0,ee.jsxs)("svg",Ft(Ft({className:t,width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M87.5 48.8281H75V51.1719H87.5V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M25 48.8281H12.5V51.1719H25V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 75H48.8281V87.5H51.1719V75Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 12.5H48.8281V25H51.1719V12.5Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3433 75.6868L69.4082 67.7517L67.7511 69.4088L75.6862 77.344L77.3433 75.6868Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2457 30.5897L24.3105 22.6545L22.6534 24.3117L30.5885 32.2468L32.2457 30.5897Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3407 24.3131L75.6836 22.656L67.7485 30.5911L69.4056 32.2483L77.3407 24.3131Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2431 69.4074L30.5859 67.7502L22.6508 75.6854L24.3079 77.3425L32.2431 69.4074Z",fill:"black"})]}))}));function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){qt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Xt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xt(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Jt(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var $t=function(){var e,t=(e=ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return","{}");case 2:return e.next=4,ce(JSON.stringify(t));case 4:return n=e.sent,e.abrupt("return",null!==(r=null==n?void 0:n.styles)&&void 0!==r?r:"{}");case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Jt(i,n,o,a,s,"next",e)}function s(e){Jt(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Gt=function(t){var r,n,o=t.style,i=t.selectStyle,a=t.blockHeight,s=t.onHover,u=void 0===s?null:s,c=Ge((function(e){return e.siteType})),l=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),f=Zt((0,e.useState)(""),2),d=f[0],p=f[1],h=Zt((0,e.useState)(!1),2),y=h[0],v=h[1],m=Zt((0,e.useState)(!1),2),g=m[0],b=m[1],w=Zt((0,e.useState)(null),2),x=w[0],j=w[1],O=Zt((0,e.useState)(),2),E=O[0],S=O[1],P=(0,e.useRef)(null),_=(0,e.useRef)(null),C=(0,e.useRef)(null),N=(0,e.useRef)(null),A=ze(g&&E?E:null,$t).data,T=ze("variations",ge).data,k=(0,e.useMemo)((function(){return(0,st.rawHandler)({HTML:(e=d,e.replace(/\w+:\/\/\S*(w=(\d*))&\w+\S*"/g,(function(e,t,r){return e.replace(t,"w="+Math.floor(Number(r))+"&q=10")})))});var e}),[d]),R=(0,e.useMemo)((function(){return A?(0,at.transformStyles)([{css:A}],".editor-styles-wrapper"):null}),[A]);return(0,e.useEffect)((function(){if(null!=T&&T.length){var e=T.find((function(e){return e.title===o.label}));S(e)}}),[o,T]),(0,e.useEffect)((function(){if(A&&null!=o&&o.code){var e=[null==o?void 0:o.headerCode,null==o?void 0:o.code,null==o?void 0:o.footerCode].filter(Boolean).join("").replace(/<!-- wp:navigation[.\S\s]*?\/wp:navigation -->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e').replace(/<!-- wp:navigation.*\/-->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e');p(e)}}),[null==c?void 0:c.slug,A,o]),(0,e.useEffect)((function(){var e,t;if(_.current&&y){var r=P.current,n=r.offsetWidth/1400,o=_.current.contentDocument.body;null!=o&&o.style&&(o.style.transitionProperty="all",o.style.top=0);var i=function(){var t,r;if(o.offsetHeight){var i=(null!==(t=null==C||null===(r=C.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==t?t:a)-32,s=o.getBoundingClientRect().height-i/n;o.style.transitionDuration=Math.max(2*s,3e3)+"ms",e=window.requestAnimationFrame((function(){o.style.top=-1*Math.max(0,s)+"px"}))}},s=function(){var e,r;if(o.offsetHeight){var i=(null!==(e=null==C||null===(r=C.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==e?e:a)-32,s=o.offsetHeight-i/n;o.style.transitionDuration=s+"ms",t=window.requestAnimationFrame((function(){o.style.top=0}))}};return r.addEventListener("focus",i),r.addEventListener("mouseenter",i),r.addEventListener("blur",s),r.addEventListener("mouseleave",s),function(){window.cancelAnimationFrame(e),window.cancelAnimationFrame(t),r.removeEventListener("focus",i),r.removeEventListener("mouseenter",i),r.removeEventListener("blur",s),r.removeEventListener("mouseleave",s)}}}),[a,y]),(0,e.useEffect)((function(){if(null!=k&&k.length&&g){var e,t=function(){var t,r,n;null!==(t=e.contentDocument)&&void 0!==t&&t.getElementById("ext-tj")||(null===(r=e.contentDocument)||void 0===r||null===(n=r.head)||void 0===n||n.insertAdjacentHTML("beforeend",'<style id="ext-tj">'.concat(R,"</style>")));_.current=e,setTimeout((function(){l.current&&v(!0)}),500)},r=new MutationObserver((function(){(e=P.current.querySelector("iframe[title]")).addEventListener("load",t),setTimeout((function(){t()}),2e3),r.disconnect()}));return r.observe(P.current,{attributes:!1,childList:!0,subtree:!1}),function(){var n;r.disconnect(),null===(n=e)||void 0===n||n.removeEventListener("load",t)}}}),[k,R,l,g]),(0,e.useEffect)((function(){return N.current||(N.current=new IntersectionObserver((function(e){e[0].isIntersecting&&b(!0)}))),N.current.observe(C.current),function(){N.current.disconnect()}}),[]),(0,ee.jsxs)(ee.Fragment,{children:[y&&d?null:(0,ee.jsx)("div",{className:"m-6 absolute inset-0 bg-gray-50 flex items-center justify-center",children:(0,ee.jsx)(Yt,{className:"spin w-8"})}),(0,ee.jsxs)("div",{ref:C,role:i?"button":void 0,tabIndex:i?0:void 0,"aria-label":i?(0,Q.__)("Press to select","extendify"):void 0,className:it()("group w-full overflow-hidden bg-transparent z-10",{relative:y,"absolute opacity-0":!y,"button-focus button-card":i}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&i&&i(Wt(Wt({},o),{},{variation:E}))},onMouseEnter:function(){u&&j(u)},onMouseLeave:function(){x&&(x(),j(null))},onClick:i?function(){return i(Wt(Wt({},o),{},{variation:E}))}:function(){},children:[null!==(r=window)&&void 0!==r&&null!==(n=r.extOnbData)&&void 0!==n&&n.devbuild?(0,ee.jsx)("div",{className:"-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300",children:null==o?void 0:o.label}):null,(0,ee.jsx)("div",{ref:P,className:"relative rounded-lg",children:g?(0,ee.jsx)(at.BlockPreview,{blocks:k,viewportWidth:1400,live:!1}):null})]})]})};function Kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Kt(Object(r),!0).forEach((function(t){er(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tr=function(e){return Fe(e)},rr=function(e){var t=e.page,r=e.blockHeight,n=e.lock,o=void 0!==n&&n,i=e.displayOnly,a=void 0!==i&&i,s=Ge(),u=s.siteType,c=s.style,l=s.toggle,f=s.has,d="home"===(null==t?void 0:t.slug),p=ze({siteType:u.slug,layoutType:t.slug,baseLayout:d?null==c?void 0:c.homeBaseLayout:null,kit:"home"!==t.slug?null==c?void 0:c.kit:null},tr).data;return a?(0,ee.jsxs)("div",{className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 mb-2",children:[(0,ee.jsx)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm",children:t.title}),(0,ee.jsx)(Gt,{blockHeight:r,style:Qt(Qt({},c),{},{code:ut({template:p})})},null==c?void 0:c.recordId)]}):(0,ee.jsx)("div",{children:(0,ee.jsxs)("div",{role:"button",tabIndex:0,"aria-label":(0,Q.__)("Press to select","extendify"),disabled:o,className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 button-focus",title:o?(0,Q.__)("This page is required","extendify"):null,onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(o||l("pages",t))},onClick:function(){return o||l("pages",t)},children:[(0,ee.jsx)("div",{className:"border-gray-100 border-b min-w-sm z-30 relative bg-white",children:(0,ee.jsxs)("div",{className:"p-2 flex justify-between",children:[(0,ee.jsxs)("div",{className:it()("flex items-center",{"text-gray-700":!f("pages",t)}),children:[(0,ee.jsx)("span",{children:t.title}),o&&(0,ee.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),f("pages",t)&&(0,ee.jsx)(ht,{className:"text-partner-primary-bg w-6"})]})}),(0,ee.jsx)(Gt,{blockHeight:r,style:Qt(Qt({},c),{},{code:ut({template:p})})},null==c?void 0:c.recordId)]})})};function nr(e){return nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nr(e)}function or(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=sr(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function ir(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||sr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(e){return function(e){if(Array.isArray(e))return ur(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sr(e,t){if(e){if("string"==typeof e)return ur(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ur(e,t):void 0}}function ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function lr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){cr(i,n,o,a,s,"next",e)}function s(e){cr(i,n,o,a,s,"throw",e)}a(void 0)}))}}var fr=function(){var e=lr(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/layout-types");case 2:if(n=e.sent,null!=(o=null!==(t=null==n?void 0:n.data)&&void 0!==t?t:[])&&o.length){e.next=6;break}throw new Error("Error fetching pages");case 6:return i=o[0],a=null===(r=o.slice(1))||void 0===r?void 0:r.sort((function(e,t){return e.title>t.title?1:-1})),e.abrupt("return",[i].concat(ar(null!=a?a:[])));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),dr=function(){return{key:"layout-types"}};function pr(e){return function(e){if(Array.isArray(e))return br(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hr(e){return hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hr(e)}function yr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=gr(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function vr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function mr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||gr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gr(e,t){if(e){if("string"==typeof e)return br(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?br(e,t):void 0}}function br(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var wr=function(e){return Ue(e)},xr=function(e){var t,r,n,o,i;return{key:"site-style",siteType:null!==(r=null===(n=e=null!==(t=e)&&void 0!==t?t:null==Ge?void 0:Ge.getState().siteType)||void 0===n?void 0:n.slug)&&void 0!==r?r:"default",styles:null!==(o=null===(i=e)||void 0===i?void 0:i.styles)&&void 0!==o?o:[]}},jr=function(e){var t=e.image,r=e.heading,n=e.name,o=e.description,i=e.selected,a=e.onClick,s=e.lock;return(0,ee.jsxs)("div",{role:s?void 0:"button",tabIndex:s?void 0:0,"aria-label":s?void 0:n,className:it()("text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100",{"button-focus":!s}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(s||a())},onClick:function(){s||a()},children:[(0,ee.jsxs)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm",children:[(0,ee.jsxs)("div",{className:it()("flex items-center",{"text-gray-700":!i}),children:[(0,ee.jsx)("span",{children:n}),s&&(0,ee.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),(s||i)&&(0,ee.jsx)(ht,{className:"text-partner-primary-bg w-6"})]}),(0,ee.jsxs)("div",{className:"flex flex-col",children:[(0,ee.jsx)("div",{style:{backgroundImage:"url(".concat(t,")")},className:"h-32 bg-cover"}),(0,ee.jsxs)("div",{className:"p-6 text-left",children:[(0,ee.jsx)("div",{className:"text-base font-bold mb-2",children:r}),(0,ee.jsx)("div",{className:"text-sm",children:o})]})]})]})};function Or(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Er(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pr=function(){return ie.get("onboarding/site-types")},_r=function(){return{key:"site-types"}},Cr=function(t){var r=t.option,n=t.selectSiteType,o=(0,e.useRef)(0);return(0,ee.jsxs)("button",{onClick:function(){return n(r)},onMouseEnter:function(){window.clearTimeout(o.current),o.current=window.setTimeout((function(){var e=function(){return xr(r)};V(e,(function(t){return null!=t&&t.length?t:wr(e())}))}),100)},onMouseLeave:function(){window.clearTimeout(o.current)},className:"flex bg-gray-100 hover:bg-gray-200 items-center justify-between mb-2 p-4 py-3 relative w-full button-focus",children:[(0,ee.jsx)("span",{className:"text-left",children:r.title}),(0,ee.jsx)(wt,{})]})},Nr=[["welcome",{component:function(){var t=Ar((function(e){return e.nextPage})),r=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return r.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[r]);var n=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,le("extendify_onboarding_skipped",(new Date).toISOString());case 3:location.href=window.extOnbData.adminUrl;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){et(i,n,o,a,s,"next",e)}function s(e){et(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Welcome to Your WordPress Site","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.","extendify")})]}),(0,ee.jsxs)("div",{className:"",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Pick one:","extendify")}),(0,ee.jsxs)("div",{className:"lg:flex lg:space-x-8",children:[(0,ee.jsxs)("button",{onClick:t,ref:r,type:"button","aria-label":(0,Q.__)("Press to continue","extendify"),className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/extendify-preview.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:"Extendify Launch"}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Create a super-fast, beautiful, and fully customized site in minutes. Simply answer a few questions and pick a design to get started. Then, everything can be fully customized in the core WordPress editor.","extendify")})]}),(0,ee.jsxs)("a",{onClick:function(e){return n(e)},className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/wp-admin.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:(0,Q.__)("WordPress Dashboard","extendify")}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Are you a WordPress developer and want to go straight to the admin dashboard?","extendify")})]})]})]})]})}}],["site-title",{component:function(){var t,r=Ge(),n=r.siteInformation,o=r.setSiteInformation,i=(0,e.useRef)(null),a=Ar((function(e){return e.nextPage})),s=ze(nt,rt).data;return(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return i.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[i]),(0,e.useEffect)((function(){null!=s&&s.title&&o("title",s.title)}),[s,o]),(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What's the name of your new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can change this later.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a()},children:[(0,ee.jsx)("label",{htmlFor:"extendify-site-title-input",className:"block mt-0 mb-8 text-base",children:(0,Q.__)("What's the name of your site?","extendify")}),(0,ee.jsx)("div",{className:"mb-8",children:(0,ee.jsx)("input",{autoComplete:"off",ref:i,type:"text",name:"site-title-input",id:"extendify-site-title-input",className:"w-96 max-w-full border h-12 input-focus",value:null!==(t=null==n?void 0:n.title)&&void 0!==t?t:"",onChange:function(e){return o("title",e.target.value)},placeholder:(0,Q.__)("Enter your preferred site title...","extendify")})})]})})]})},fetcher:rt,fetchData:nt}],["site-type",{component:function(){var t=Ge((function(e){return e.siteType})),r=Ar((function(e){return e.nextPage})),n=Er((0,e.useState)([]),2),o=n[0],i=n[1],a=Er((0,e.useState)(""),2),s=a[0],u=a[1],c=Er((0,e.useState)(!0),2),l=c[0],f=c[1],d=(0,e.useRef)(null),p=ze(_r,Pr),h=p.data,y=p.loading;(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return d.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[d]),(0,e.useEffect)((function(){if(!(y||null!=t&&t.slug)){var e=null==h?void 0:h.find((function(e){return"default"===e.slug}));e&&Ge.getState().setSiteType({label:e.title,recordId:e.id,slug:e.slug})}}),[y,null==t?void 0:t.slug,h]),(0,e.useEffect)((function(){y||((null==s?void 0:s.length)>0?i(null==h?void 0:h.filter((function(e){var t=e.title,r=e.keywords,n=null==s?void 0:s.toLowerCase();return!n||(t.toLowerCase().indexOf(n)>-1||!(null==r||!r.length)&&r.find((function(e){return e.toLowerCase().indexOf(n)>-1})))}))):(i(null==h?void 0:h.filter((function(e){return e.featured}))),f(!0)))}),[h,s,y]),(0,e.useEffect)((function(){y||i(l?h.filter((function(e){return e.featured})):h)}),[h,l,y]);var v=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ge.getState().setSiteType({label:t.title,recordId:t.id,slug:t.slug,styles:t.styles}),window.localStorage.removeItem("extendify-global-state"),e.next=4,n={siteType:{title:t.title,slug:t.slug}},ie.post("library/site-type",n);case 4:r();case 5:case"end":return e.stop()}var n}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Or(i,n,o,a,s,"next",e)}function s(e){Or(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What is your site about?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("Search for your site industry.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-80",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Choose a site industry:","extendify")}),(0,ee.jsxs)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:[(0,ee.jsx)("input",{ref:d,type:"text",className:"w-full border h-12 input-focus",value:s,onChange:function(e){return u(e.target.value)},placeholder:(0,Q.__)("Search...","extendify")}),(0,ee.jsx)(Mt,{className:"icon-search"})]}),y&&(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}),(null==o?void 0:o.length)>0&&(0,ee.jsxs)("div",{children:[(0,ee.jsxs)("div",{className:"flex justify-between mb-3",children:[(0,ee.jsx)("p",{className:"text-left uppercase text-xss m-0",children:(0,Q.__)("Industries","extendify")}),(null==s?void 0:s.length)>0?null:(0,ee.jsx)("button",{type:"button",className:"bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline",onClick:function(){f((function(e){return!e})),d.current.focus()},children:l?(0,Q.__)("Show all","extendify"):(0,Q.__)("Show less","extendify")})]}),(0,ee.jsx)("div",{className:"overflow-y-auto p-2 -m-2",style:{maxHeight:"360px"},children:o.map((function(e){return(0,ee.jsx)(Cr,{selectSiteType:v,option:e},e.id)}))})]})]})]})},fetcher:Pr,fetchData:_r}],["goals",{component:function(){var t=ze(Qe,Ke),r=t.data,n=t.loading,o=Ge(),i=o.toggle,a=o.has,s=Ar((function(e){return e.nextPage})),u=(0,e.useRef)();return(0,e.useEffect)((function(){if(u.current){var e=requestAnimationFrame((function(){return u.current.querySelector("input").focus()}));return function(){return cancelAnimationFrame(e)}}}),[u]),(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What do you want to accomplish with this new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can change these later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Select the goals relevant to your site:","extendify")}),n?(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}):(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},className:"w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select",children:[(0,ee.jsx)("input",{type:"submit",className:"hidden"}),r&&(null==r?void 0:r.length)>0?null==r?void 0:r.map((function(e,t){return(0,ee.jsx)("div",{className:"border p-4",ref:0===t?u:void 0,children:(0,ee.jsx)(K.CheckboxControl,{label:e.title,checked:a("goals",e),onChange:function(){return i("goals",e)}})},e.id)})):null]})]})]})},fetcher:Ke,fetchData:Qe}],["style",{component:function(){var t,r=Ge((function(e){return e.siteType})),n=Ar((function(e){return e.nextPage})),o=ze(xr,wr),i=o.data,a=o.loading,s=function(){var t=(0,e.useRef)(!1);return(0,e.useLayoutEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),u=(0,e.useCallback)((function(e){Ge.getState().setStyle(e),n()}),[n]),c=mr((0,e.useState)([]),2),l=c[0],f=c[1];return(0,e.useEffect)((function(){var e;null!=i&&i.length&&(e=ne().mark((function e(){var t,r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=yr(i),e.prev=1,n=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.value,s.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return f((function(e){return[].concat(pr(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,1e3)}));case 6:case"end":return e.stop()}}),e)})),t.s();case 4:if((r=t.n()).done){e.next=11;break}return e.delegateYield(n(),"t0",6);case 6:if("object"!==hr(o=e.t0)){e.next=9;break}return e.abrupt("return",o.v);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(1),t.e(e.t1);case 16:return e.prev=16,t.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,13,16,19]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){vr(i,n,o,a,s,"next",e)}function s(e){vr(i,n,o,a,s,"throw",e)}a(void 0)}))})()}),[i,s]),(0,e.useEffect)((function(){null!=l&&l.length&&!Ge.getState().style&&Ge.getState().setStyle(l[0])}),[l]),(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Now pick a design for your new %s site.","extendify"),null==r||null===(t=r.label)||void 0===t?void 0:t.toLowerCase())}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can personalize this later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:a?(0,Q.__)("Please wait a moment while we generate style previews...","extendify"):(0,Q.__)("Pick your style","extendify")}),(0,ee.jsxs)("div",{className:"lg:flex space-y-6 -m-6 lg:space-y-0 flex-wrap",children:[null==l?void 0:l.map((function(e){return(0,ee.jsx)("div",{className:"p-6 relative",style:{height:590,width:425},children:(0,ee.jsx)(Gt,{style:e,selectStyle:u,blockHeight:590})},e.recordId)})),null==i?void 0:i.slice(null==l?void 0:l.length).map((function(e){return(0,ee.jsx)("div",{style:{height:590,width:425},className:"p-6 relative",children:(0,ee.jsx)("div",{className:"bg-gray-50 h-full w-full flex items-center justify-center",children:(0,ee.jsx)(Yt,{className:"spin w-8"})})},e.slug)}))]})]})]})}}],["pages",{component:function(){var t=ze(dr,fr).data,r=ir((0,e.useState)([]),2),n=r[0],o=r[1],i=Ge(),a=i.add,s=i.goals,u=i.reset,c=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}();return(0,e.useEffect)((function(){if(null!=t&&t.length){var e=t.filter((function(e){var t,r,n;return null==s||!s.length||(null==e||null===(t=e.goals)||void 0===t||!t.length||(null===(r=null==e||null===(n=e.goals)||void 0===n?void 0:n.some((function(e){return s.some((function(t){return e==t.id}))})))||void 0===r||r))}));lr(ne().mark((function t(){var r,n,i,a;return ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=or(e),t.prev=1,i=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.value,c.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return o((function(e){return[].concat(ar(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,100)}));case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",6);case 6:if("object"!==nr(a=t.t0)){t.next=9;break}return t.abrupt("return",a.v);case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(1),r.e(t.t1);case 16:return t.prev=16,r.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[1,13,16,19]])})))()}}),[t,s,c]),(0,e.useEffect)((function(){u("pages"),null==n||n.map((function(e){return a("pages",e)}))}),[n,a,u]),(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What pages do you want on this site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You may add more later","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Pick the pages you'd like to add to your site","extendify")}),(0,ee.jsx)("div",{className:"lg:flex space-y-6 -m-6 mt-0 mb-12 lg:space-y-0 flex-wrap",children:null==n?void 0:n.map((function(e){return(0,ee.jsx)("div",{className:"p-6 relative",style:{height:442.5,width:318.75},children:(0,ee.jsx)(rr,{lock:"home"===(null==e?void 0:e.slug),page:e,blockHeight:442.5})},e.id)}))})]})]})},fetcher:fr,fetchData:dr}],["confirmation",{component:function(){var e=Ge(),t=e.siteType,r=e.style,n=e.pages,o=e.plugins,i=Ar((function(e){return e.setPage}));return(0,ee.jsxs)(kr,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Let's launch your site!","extendify")}),(0,ee.jsx)("p",{className:"text-base",children:(0,Q.__)("Review your site configuration.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Site settings","extendify")}),(0,ee.jsxs)("div",{className:"flex flex-col space-y-8",children:[(0,ee.jsxs)("div",{className:"flex items-center",children:[(0,ee.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,Q.__)("Industry:","extendify")}),null!=t&&t.label?(0,ee.jsx)("div",{className:"p-4 py-2 rounded-lg text-base flex bg-transparent border border-gray-600 cursor-pointer",onClick:function(){return i("site-type")},title:(0,Q.__)("Press to change the site type","extendify"),children:t.label}):(0,ee.jsx)("button",{onClick:function(){return i("site-type")},className:"bg-transparent text-partner-primary underline text-base",children:(0,Q.__)("Press to set a site type","extendify")})]}),(0,ee.jsxs)("div",{className:"flex items-start",children:[(0,ee.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,Q.__)("Style:","extendify")}),null!=r&&r.label?(0,ee.jsx)("div",{className:"cursor-pointer overflow-hidden border rounded-lg",onClick:function(){return i("style")},title:(0,Q.__)("Press to change the site style","extendify"),children:(0,ee.jsx)("div",{className:"p-2 relative",style:{height:354,width:255},children:(0,ee.jsx)(Gt,{style:r,blockHeight:354})},r.recordId)}):(0,ee.jsx)("button",{onClick:function(){return i("style")},className:"bg-transparent text-partner-primary underline text-base",children:(0,Q.__)("Press to set a style type","extendify")})]}),(0,ee.jsxs)("div",{className:"flex items-start",children:[(0,ee.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,Q.__)("Pages:","extendify")}),n.length>0?(0,ee.jsx)("div",{className:"flex items-start space-x-2 cursor-pointer w-full",onClick:function(){return i("pages")},title:(0,Q.__)("Press to change the selected pages","extendify"),children:(0,ee.jsx)("div",{className:"lg:flex space-y-6 -m-6 lg:space-y-0 flex-wrap",children:null==n?void 0:n.map((function(e){return(0,ee.jsx)("div",{className:"p-6 relative",style:{height:354,width:255},children:(0,ee.jsx)(rr,{displayOnly:!0,page:e,blockHeight:175})},e.id)}))})}):(0,ee.jsx)("button",{onClick:function(){return i("pages")},className:"bg-transparent text-partner-primary underline text-base",children:(0,Q.__)("Press to set your pages","extendify")})]}),o.length>0?(0,ee.jsxs)("div",{className:"flex items-start",children:[(0,ee.jsx)("div",{className:"w-20 flex-shrink-0 text-base",children:(0,Q.__)("Plugins:","extendify")}),(0,ee.jsx)("div",{className:"flex items-start space-x-2 cursor-pointer w-full",onClick:function(){return i("suggested-plugins")},title:(0,Q.__)("Press to change the selected plugins","extendify"),children:(0,ee.jsx)("div",{className:"grid w-full grid-cols-3 gap-4",children:o.map((function(e){return(0,ee.jsx)(jr,{lock:!0,image:(t=e.previewImage,null==t||null===(r=t[0])||void 0===r||null===(n=r.url)||void 0===n||null===(o=n.split(/[?#]/))||void 0===o?void 0:o[0]),name:e.name,heading:e.heading,description:e.description},e.id);var t,r,n,o}))})})]}):null]})]})]})}}]],Ar=Oe(Ee((function(e,t){return{pages:new Map(Nr),currentPageIndex:0,count:function(){return t().pages.size},pageOrder:function(){return Array.from(t().pages.keys())},currentPageData:function(){return t().pages.get(t().pageOrder()[t().currentPageIndex])},nextPageData:function(){var e=t().currentPageIndex+1;return e>t().count()-1?{}:t().pages.get(t().pageOrder()[e])},setPage:function(r){"string"==typeof r&&(r=t().pageOrder().indexOf(r)),r>t().count()-1||r<0||e({currentPageIndex:r})},nextPage:function(){t().setPage(t().currentPageIndex+1)},previousPage:function(){t().setPage(t().currentPageIndex-1)}}}))),Tr=function(){var e=Ar((function(e){return e.nextPage})),t=Ar((function(e){return e.previousPage})),r=Ar((function(e){return e.currentPageIndex})),n=Ar((function(e){return e.count()})),o=Ge((function(e){return e.canLaunch()})),i=r===n-1,a=0===r;return(0,ee.jsxs)("div",{className:"flex items-center justify-between space-x-2",children:[(0,ee.jsx)("div",{className:"flex-1"}),a||(0,ee.jsx)(we,{currentPageIndex:r,totalPages:n}),(0,ee.jsxs)("div",{className:"flex space-x-2 flex-1 justify-end",children:[a||(0,ee.jsx)("button",{className:"px-4 py-3 bg-transparent hover:bg-gray-200 font-medium button-focus focus:bg-gray-100",type:"button",onClick:t,children:(0,Q.__)("Previous","extendify")}),o&&i?(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:function(){return Le.setState({generating:!0})},children:(0,Q.__)("Launch site","extendify")}):(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:e,children:(0,Q.__)("Next","extendify")})]})]})},kr=function(e){var t,r,n,o=e.children,i=e.includeNav,a=void 0===i||i;return(0,ee.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,ee.jsxs)("div",{className:"bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0",children:[(0,ee.jsxs)("div",{className:"max-w-sm pr-8",children:[(null===(t=window.extOnbData)||void 0===t?void 0:t.partnerLogo)&&(0,ee.jsx)("div",{className:"pb-8",children:(0,ee.jsx)("img",{style:{maxWidth:"200px"},src:window.extOnbData.partnerLogo,alt:null!==(r=null===(n=window.extOnbData)||void 0===n?void 0:n.partnerName)&&void 0!==r?r:""})}),o[0]]}),(0,ee.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,ee.jsx)("span",{className:"opacity-70 text-xs",children:(0,Q.__)("Powered by","extendify")}),(0,ee.jsxs)("span",{className:"relative",children:[(0,ee.jsx)(Pt,{className:"logo text-partner-primary-text w-28"}),(0,ee.jsx)("span",{className:"absolute -bottom-2 right-3 font-semibold tracking-tight",children:"Launch"})]})]})]}),(0,ee.jsxs)("div",{className:"flex-grow md:h-screen md:overflow-y-scroll",children:[a?(0,ee.jsx)("div",{className:"py-4 px-8 sticky top-0 bg-white z-50",children:(0,ee.jsx)(Tr,{})}):null,(0,ee.jsx)("div",{className:"mt-8 p-8 lg:px-12 flex justify-center",children:o[1]})]})]})};function Rr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Lr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lr(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ir(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var Dr=function(){var e,t=(e=ne().mark((function e(t,r,n){var o,i,a,s,u,c,l,f,d,p;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o={},i=Rr(t),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=18;break}return s=a.value,e.next=8,Fe({siteType:r.slug,layoutType:s.slug,baseLayout:"home"===s.slug?null==n?void 0:n.homeBaseLayout:null,kit:"home"!==s.slug?null==n?void 0:n.kit:null});case 8:return u=e.sent,c="",null!=u&&u.data&&(c=[null==u||null===(l=u.data)||void 0===l?void 0:l.code,null==u||null===(f=u.data)||void 0===f?void 0:f.code2].filter(Boolean).join("")),d=s.slug,e.next=14,de({title:s.title,name:d,status:"publish",content:c,template:"no-title"});case 14:p=e.sent,o[d]={id:p.id,title:s.title};case 16:e.next=4;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(2),i.e(e.t0);case 23:return e.prev=23,i.f(),e.finish(23);case 26:if(null==o||!o.home){e.next=34;break}return e.next=29,le("show_on_front","page");case 29:return e.next=31,le("page_on_front",o.home.id);case 31:if(null==o||!o.blog){e.next=34;break}return e.next=34,le("page_for_posts",o.blog);case 34:return e.next=36,le("extendify_onboarding_completed",(new Date).toISOString());case 36:return e.abrupt("return",o);case 37:case"end":return e.stop()}}),e,null,[[2,20,23,26]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ir(i,n,o,a,s,"next",e)}function s(e){Ir(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();function Mr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Br(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Mr(i,n,o,a,s,"next",e)}function s(e){Mr(i,n,o,a,s,"throw",e)}a(void 0)}))}}function Ur(e){return function(e){if(Array.isArray(e))return Vr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Hr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e,t){if(e){if("string"==typeof e)return Vr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vr(e,t):void 0}}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Yr=function(){var t=Ge((function(e){return e.canLaunch()})),r=Ge(),n=r.siteType,o=r.siteInformation,i=r.pages,a=r.style,s=r.plugins,u=Fr((0,e.useState)([]),2),c=u[0],l=u[1],f=function(e){return l((function(t){return[e].concat(Ur(t))}))};(0,e.useEffect)((function(){var e=function(e){return e.preventDefault(),e.returnValue=""},t={capture:!0};return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}}),[]);var d=(0,e.useCallback)(Br(ne().mark((function e(){var r;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error((0,Q.__)("Site is not ready to launch.","extendify"));case 2:return f((0,Q.__)("Preparing your website","extendify")),e.next=5,le("blogname",o.title);case 5:return e.next=7,new Promise((function(e){return setTimeout(e,2e3)}));case 7:return f((0,Q.__)("Installing your theme","extendify")),e.next=10,u=a.variation,be(window.extOnbData.globalStylesPostID,u);case 10:if(null==s||!s.length){e.next=14;break}return f((0,Q.__)("Installing plugins","extendify")),e.next=14,Promise.all([].concat(Ur(s.map((function(e){return pe(e.wordpressSlug)}))),[new Promise((function(e){return setTimeout(e,2e3)}))]));case 14:return e.next=16,new Promise((function(e){return setTimeout(e,2e3)}));case 16:return f((0,Q.__)("Inserting header area","extendify")),e.next=19,ye("extendable//header",null==a?void 0:a.headerCode);case 19:return e.next=21,new Promise((function(e){return setTimeout(e,2e3)}));case 21:return f((0,Q.__)("Generating page content","extendify")),e.next=24,Dr(i,n,a);case 24:return r=e.sent,e.next=27,new Promise((function(e){return setTimeout(e,2e3)}));case 27:return f((0,Q.__)("Inserting footer area","extendify")),e.next=30,ye("extendable//footer",null==a?void 0:a.footerCode);case 30:return e.next=32,new Promise((function(e){return setTimeout(e,2e3)}));case 32:return f((0,Q.__)("Finalizing your site","extendify")),e.abrupt("return",r);case 34:case"end":return e.stop()}var u}),e)}))),[i,s,n,a,t,o.title]);return(0,e.useEffect)((function(){d().then((function(e){Le.setState({generatedPages:e})}))}),[d]),(0,ee.jsxs)(kr,{includeNav:!1,children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Building your site now!","extendify")}),(0,ee.jsx)("p",{className:"text-base",children:(0,Q.__)("Please don't close the window.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4",children:c.map((function(e,t){return t?(0,ee.jsxs)("div",{className:"ml-12 text-base text-gray-500 flex",children:[(0,ee.jsx)(ht,{className:"text-green-500 w-6 mr-1"}),(0,Q.sprintf)(e,"...")]},e):(0,ee.jsxs)("div",{className:"text-4xl flex space-x-4 items-center",children:[(0,ee.jsx)(Yt,{className:"spin w-10 mr-2"}),(0,Q.sprintf)(e,"...")]},e)}))})})]})};function zr(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(decodeURIComponent);if(r){!function(e,t,r){const n=t.length,o=n-1;for(let i=0;i<n;i++){let n=t[i];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const a=!isNaN(Number(t[i+1]));e[n]=i===o?r:e[n]||(a?[]:{}),Array.isArray(e[n])&&!a&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n)}return e}),Object.create(null))}function Wr(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function qr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(zr(e),t),r=r.substr(0,n)),r+"?"+Wr(t)}var Zr={};!function e(t,r,n,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function s(e){var n=r.exports.Promise,o=void 0!==n?n:t.Promise;return"function"==typeof o?new o(e):(e(a,a),null)}var u,c,l,f,d,p,h,y,v,m=(l=Math.floor(1e3/60),f={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(u=function(e){var t=Math.random();return f[t]=requestAnimationFrame((function r(n){d===n||d+l-1<n?(d=n,delete f[t],e()):f[t]=requestAnimationFrame(r)})),t},c=function(e){f[e]&&cancelAnimationFrame(f[e])}):(u=function(e){return setTimeout(e,l)},c=function(e){return clearTimeout(e)}),{frame:u,cancel:c}),g=(y={},function(){if(p)return p;if(!n&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,o){if(h)return t(r,null),h;var i=Math.random().toString(36).slice(2);return h=s((function(n){function a(t){t.data.callback===i&&(delete y[i],e.removeEventListener("message",a),h=null,o(),n())}e.addEventListener("message",a),t(r,i),y[i]=a.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),y)y[t](),delete y[t]}}(p)}return p}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function w(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:b[t],r)}function x(e){return e<0?0:Math.floor(e)}function j(e){return parseInt(e,16)}function O(e){return e.map(E)}function E(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:j(t.substring(0,2)),g:j(t.substring(2,4)),b:j(t.substring(4,6))}}function S(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function P(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function _(e,t,r,i,a){var u,c,l=t.slice(),f=e.getContext("2d"),d=s((function(t){function s(){u=c=null,f.clearRect(0,0,i.width,i.height),a(),t()}u=m.frame((function t(){!n||i.width===o.width&&i.height===o.height||(i.width=e.width=o.width,i.height=e.height=o.height),i.width||i.height||(r(e),i.width=e.width,i.height=e.height),f.clearRect(0,0,i.width,i.height),l=l.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=t.wobbleSpeed,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),"circle"===t.shape?e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,o,i,a,s,u){e.save(),e.translate(t,r),e.rotate(i),e.scale(n,o),e.arc(0,0,1,a,s,u),e.restore()}(e,t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(i),Math.floor(a)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY))),e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})),l.length?u=m.frame(t):s()})),c=s}));return{addFettis:function(e){return l=l.concat(e),d},canvas:e,promise:d,reset:function(){u&&m.cancel(u),c&&c()}}}function C(e,r){var n,o=!e,a=!!w(r||{},"resize"),u=w(r,"disableForReducedMotion",Boolean),c=i&&!!w(r||{},"useWorker")?g():null,l=o?S:P,f=!(!e||!c)&&!!e.__confetti_initialized,d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function p(t,r,o){for(var i,a,s,u,c,f=w(t,"particleCount",x),d=w(t,"angle",Number),p=w(t,"spread",Number),h=w(t,"startVelocity",Number),y=w(t,"decay",Number),v=w(t,"gravity",Number),m=w(t,"drift",Number),g=w(t,"colors",O),b=w(t,"ticks",Number),j=w(t,"shapes"),E=w(t,"scalar"),S=function(e){var t=w(e,"origin",Object);return t.x=w(t,"x",Number),t.y=w(t,"y",Number),t}(t),P=f,C=[],N=e.width*S.x,A=e.height*S.y;P--;)C.push((i={x:N,y:A,angle:d,spread:p,startVelocity:h,color:g[P%g.length],shape:j[(u=0,c=j.length,Math.floor(Math.random()*(c-u))+u)],ticks:b,decay:y,gravity:v,drift:m,scalar:E},a=void 0,s=void 0,a=i.angle*(Math.PI/180),s=i.spread*(Math.PI/180),{x:i.x,y:i.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*i.startVelocity+Math.random()*i.startVelocity,angle2D:-a+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:i.color,shape:i.shape,tick:0,totalTicks:i.ticks,decay:i.decay,drift:i.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*i.gravity,ovalScalar:.6,scalar:i.scalar}));return n?n.addFettis(C):(n=_(e,C,l,r,o)).promise}function h(r){var i=u||w(r,"disableForReducedMotion",Boolean),h=w(r,"zIndex",Number);if(i&&d)return s((function(e){e()}));o&&n?e=n.canvas:o&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(h),document.body.appendChild(e)),a&&!f&&l(e);var y={width:e.width,height:e.height};function v(){if(c){var t={getBoundingClientRect:function(){if(!o)return e.getBoundingClientRect()}};return l(t),void c.postMessage({resize:{width:t.width,height:t.height}})}y.width=y.height=null}function m(){n=null,a&&t.removeEventListener("resize",v),o&&e&&(document.body.removeChild(e),e=null,f=!1)}return c&&!f&&c.init(e),f=!0,c&&(e.__confetti_initialized=!0),a&&t.addEventListener("resize",v,!1),c?c.fire(r,y,m):p(r,y,m)}return h.reset=function(){c&&c.reset(),n&&n.reset()},h}function N(){return v||(v=C(null,{useWorker:!0,resize:!0})),v}r.exports=function(){return N().apply(this,arguments)},r.exports.reset=function(){N().reset()},r.exports.create=C}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Zr,!1);const Xr=Zr.exports;Zr.exports.create;function Jr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jr(Object(r),!0).forEach((function(t){Gr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kr=function(){var t,r,n=Le((function(e){return e.generatedPages})),o=Ge((function(e){return e.siteType}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,e.useEffect)((function(){var e=Date.now()+r;!function r(){Xr($r($r({},t),{},{disableForReducedMotion:!0,zIndex:1e5})),Date.now()<e&&requestAnimationFrame(r)}()}),[t,r])}({particleCount:2,angle:60,spread:55,origin:{x:0,y:.7},colors:["var(--ext-partner-theme-primary-text, #ffffff)"]},3e3),(0,ee.jsxs)(kr,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Your site has been successfully created. Enjoy!","extendify"),null==o||null===(t=o.label)||void 0===t?void 0:t.toLowerCase())})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base text-center",children:(0,Q.__)("Your site is ready! You can now go to your site and start editing content.","extendify")}),(0,ee.jsxs)("div",{className:"text-center w-360 flex flex-col justify-center items-center -mt-150",children:[(0,ee.jsx)(ht,{className:"w-16 bg-partner-primary-bg text-partner-primary-text rounded-full"}),(0,ee.jsx)("h3",{className:"mb-8",children:(0,Q.__)("All Done","extendify")}),(0,ee.jsx)("div",{className:"flex space-x-4",children:(0,ee.jsx)("a",{className:"px-4 py-3 rounded-md bg-gray-200 text-black no-underline hover:bg-partner-primary-bg hover:text-partner-primary-text font-medium",target:"_blank",rel:"noreferrer",href:window.extOnbData.home,children:(0,Q.__)("View Site","extendify")})}),(0,ee.jsxs)("div",{className:"text-left self-start px-10 py-4 w-full",children:[(0,ee.jsx)("h4",{className:"",children:(0,Q.__)("New Pages:","extendify")}),(0,ee.jsx)("div",{className:"",children:null===(r=Object.values(n))||void 0===r?void 0:r.map((function(e){return(0,ee.jsxs)("div",{className:"flex items-center mb-2",children:[(0,ee.jsx)(ht,{className:"w-6 text-green-500"}),(0,ee.jsx)("a",{target:"_blank",href:qr("post.php",{post:e.id,action:"edit"}),className:"text-primary no-underline hover:underline ml-2 text-base",rel:"noreferrer",children:e.title})]},e.id)}))})]})]})]})]})};function Qr(e){return function(e){if(Array.isArray(e))return rn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||tn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function en(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||tn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){if(e){if("string"==typeof e)return rn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rn(e,t):void 0}}function rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var nn=function(){var t=Ge(),r=t.goals,n=t.pages,o=t.plugins,i=t.siteType,a=t.style,s=Le(),u=s.orderId,c=s.setOrderId,l=s.generating,f=Ar(),d=f.pages,p=f.currentPageIndex,h=en((0,e.useState)(),2),y=h[0],v=h[1],m=en((0,e.useState)([]),2),g=m[0],b=m[1],w=en((0,e.useState)(new Set),2),x=w[0],j=w[1];(0,e.useEffect)((function(){var e=Qr(d).map((function(e){return e[0]}));b((function(t){return(null==t?void 0:t.at(-1))===e[p]?t:[].concat(Qr(t),[e[p]])}))}),[p,d]),(0,e.useEffect)((function(){l&&b((function(e){return[].concat(Qr(e),["launched"])}))}),[l]),(0,e.useEffect)((function(){var e;null!==(e=Object.keys(null!=a?a:{}))&&void 0!==e&&e.length&&j((function(e){var t=new Set(e);return t.add(a.recordId),t}))}),[a]),(0,e.useEffect)((function(){var e,t,r,n,o="onboarding",i=null===(e=window.location)||void 0===e?void 0:e.search;o=(null==i?void 0:i.indexOf("DEVMODE"))>-1?"onboarding-dev":o,o=(null==i?void 0:i.indexOf("LOCALMODE"))>-1?"onboarding-local":o,v(null===(t=window)||void 0===t||null===(r=t.extOnbData)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.api[o])}),[]),(0,e.useEffect)((function(){!y||null!=u&&u.length||ie.post("onboarding/create-order").then((function(e){c(e.data.id)}))}),[y,c,u]),(0,e.useEffect)((function(){if(y&&u){var e;return e=window.setTimeout((function(){fetch("".concat(y,"/progress"),{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({orderId:u,selectedGoals:null==r?void 0:r.map((function(e){return e.id})),selectedPages:null==n?void 0:n.map((function(e){return e.id})),selectedPlugins:o,selectedSiteType:null!=i&&i.recordId?[i.recordId]:[],selectedStyle:null!=a&&a.recordId?[a.recordId]:[],stepProgress:g,pages:d,viewedStyles:Qr(x).slice(1)})})}),1e3),function(){return window.clearTimeout(e)}}}),[y,r,n,o,i,a,d,u,g,x])},on=function(){return(0,ee.jsxs)(kr,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,Q.__)("Hey, one more thing before we start.","extendify")})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Hey there, Launch is powered by Extendable and is required to proceed. You can install it from the link below and start over once activated.","extendify")}),(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4 text-base",children:(0,ee.jsx)("a",{href:"".concat(window.extOnbData.site,"/wp-admin/theme-install.php?theme=extendable"),children:(0,Q.__)("Take me there")})})]})]})};function an(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return sn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return sn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var un,cn=function(){var r,n=Ge((function(e){return e.resetState})),o=an((0,e.useState)(!1),2),i=o[0],a=o[1],s=Ar((function(e){return e.currentPageData()})).component,u=Ar((function(e){return e.nextPageData()})),c=u.fetcher,l=u.fetchData,f=Z().mutate,d=Le((function(e){return e.generating})),p=Le((function(e){return e.generatedPages})),h=an((0,e.useState)(!1),2),y=h[0],v=h[1],m=an((0,e.useState)(!1),2),g=m[0],b=m[1],w=(0,t.useSelect)((function(e){return e("core").getCurrentTheme()}));r=(0,t.useSelect)((function(e){return e("core/edit-post").isFeatureActive("welcomeGuide")}),[]),(0,e.useEffect)((function(){r&&(0,t.dispatch)("core/edit-post").toggleFeature("welcomeGuide")}),[r]),(0,e.useLayoutEffect)((function(){var e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){return document.body.style.overflow=e}}),[]),nn();var x;return(0,e.useEffect)((function(){null!=w&&w.textdomain&&"extendable"!==(null==w?void 0:w.textdomain)&&b(!0)}),[w]),(0,e.useEffect)((function(){if(y){var e=setTimeout((function(){window.dispatchEvent(new CustomEvent("extendify::close-library",{bubbles:!0}))}),0);return document.title="Extendify Launch",function(){return clearTimeout(e)}}}),[y]),(0,e.useEffect)((function(){n();var e=new URLSearchParams(window.location.search);v(["onboarding"].includes(e.get("extendify")))}),[n]),(0,e.useEffect)((function(){c&&f(l,c)}),[c,f,l]),y?(0,ee.jsxs)($,{value:{errorRetryInterval:1e3,onErrorRetry:function(e,t){var r;console.error(t,e),403!==(null==e||null===(r=e.data)||void 0===r?void 0:r.status)?i||(a(!0),setTimeout((function(){a(!1)}),5e3)):window.location.reload()}},children:[(0,ee.jsx)("div",{style:{zIndex:1e5},className:"h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white",children:g?(0,ee.jsx)(on,{}):null!==(x=Object.keys(p))&&void 0!==x&&x.length?(0,ee.jsx)(Kr,{}):d?(0,ee.jsx)(Yr,{}):(0,ee.jsx)(s,{})}),i&&(0,ee.jsx)(te,{})]}):null},ln=Object.assign(document.createElement("div"),{id:"extendify-onboarding-root",className:"extendify-onboarding"});document.body.append(ln),un=function(){window._wpLoadBlockEditor&&(0,e.render)((0,ee.jsx)(cn,{}),ln)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",un):un())})()})();
|
public/build/extendify.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div.extendify .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify .pointer-events-none{pointer-events:none!important}div.extendify .invisible{visibility:hidden!important}div.extendify .group:focus .group-focus\:visible,div.extendify .group:hover .group-hover\:visible{visibility:visible!important}div.extendify .static{position:static!important}div.extendify .fixed{position:fixed!important}div.extendify .absolute{position:absolute!important}div.extendify .relative{position:relative!important}div.extendify .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify .top-0{top:0!important}div.extendify .top-2{top:.5rem!important}div.extendify .top-4{top:1rem!important}div.extendify .-top-1\/4{top:-25%!important}div.extendify .right-0{right:0!important}div.extendify .right-1{right:.25rem!important}div.extendify .right-2{right:.5rem!important}div.extendify .right-3{right:.75rem!important}div.extendify .right-4{right:1rem!important}div.extendify .right-2\.5{right:.625rem!important}div.extendify .bottom-0{bottom:0!important}div.extendify .bottom-4{bottom:1rem!important}div.extendify .-bottom-2{bottom:-.5rem!important}div.extendify .left-0{left:0!important}div.extendify .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify .z-10{z-index:10!important}div.extendify .z-20{z-index:20!important}div.extendify .z-30{z-index:30!important}div.extendify .z-40{z-index:40!important}div.extendify .z-50{z-index:50!important}div.extendify .z-high{z-index:99999!important}div.extendify .z-max{z-index:2147483647!important}div.extendify .m-0{margin:0!important}div.extendify .m-6{margin:1.5rem!important}div.extendify .m-8{margin:2rem!important}div.extendify .m-auto{margin:auto!important}div.extendify .-m-2{margin:-.5rem!important}div.extendify .-m-6{margin:-1.5rem!important}div.extendify .-m-8{margin:-2rem!important}div.extendify .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify .mt-0{margin-top:0!important}div.extendify .mt-2{margin-top:.5rem!important}div.extendify .mt-4{margin-top:1rem!important}div.extendify .mt-8{margin-top:2rem!important}div.extendify .mt-px{margin-top:1px!important}div.extendify .-mt-2{margin-top:-.5rem!important}div.extendify .-mt-5{margin-top:-1.25rem!important}div.extendify .mr-1{margin-right:.25rem!important}div.extendify .mr-2{margin-right:.5rem!important}div.extendify .mr-6{margin-right:1.5rem!important}div.extendify .-mr-1{margin-right:-.25rem!important}div.extendify .-mr-1\.5{margin-right:-.375rem!important}div.extendify .mb-0{margin-bottom:0!important}div.extendify .mb-1{margin-bottom:.25rem!important}div.extendify .mb-2{margin-bottom:.5rem!important}div.extendify .mb-3{margin-bottom:.75rem!important}div.extendify .mb-4{margin-bottom:1rem!important}div.extendify .mb-5{margin-bottom:1.25rem!important}div.extendify .mb-8{margin-bottom:2rem!important}div.extendify .mb-10{margin-bottom:2.5rem!important}div.extendify .ml-1{margin-left:.25rem!important}div.extendify .ml-2{margin-left:.5rem!important}div.extendify .ml-4{margin-left:1rem!important}div.extendify .ml-12{margin-left:3rem!important}div.extendify .-ml-1{margin-left:-.25rem!important}div.extendify .-ml-2{margin-left:-.5rem!important}div.extendify .-ml-6{margin-left:-1.5rem!important}div.extendify .-ml-px{margin-left:-1px!important}div.extendify .-ml-1\.5{margin-left:-.375rem!important}div.extendify .block{display:block!important}div.extendify .inline-block{display:inline-block!important}div.extendify .flex{display:flex!important}div.extendify .inline-flex{display:inline-flex!important}div.extendify .table{display:table!important}div.extendify .grid{display:grid!important}div.extendify .hidden{display:none!important}div.extendify .h-0{height:0!important}div.extendify .h-2{height:.5rem!important}div.extendify .h-4{height:1rem!important}div.extendify .h-8{height:2rem!important}div.extendify .h-12{height:3rem!important}div.extendify .h-32{height:8rem!important}div.extendify .h-64{height:16rem!important}div.extendify .h-auto{height:auto!important}div.extendify .h-full{height:100%!important}div.extendify .h-screen{height:100vh!important}div.extendify .max-h-96{max-height:24rem!important}div.extendify .min-h-screen{min-height:100vh!important}div.extendify .w-0{width:0!important}div.extendify .w-4{width:1rem!important}div.extendify .w-6{width:1.5rem!important}div.extendify .w-8{width:2rem!important}div.extendify .w-10{width:2.5rem!important}div.extendify .w-16{width:4rem!important}div.extendify .w-20{width:5rem!important}div.extendify .w-28{width:7rem!important}div.extendify .w-32{width:8rem!important}div.extendify .w-72{width:18rem!important}div.extendify .w-80{width:20rem!important}div.extendify .w-96{width:24rem!important}div.extendify .w-auto{width:auto!important}div.extendify .w-6\/12{width:50%!important}div.extendify .w-7\/12{width:58.333333%!important}div.extendify .w-full{width:100%!important}div.extendify .w-screen{width:100vw!important}div.extendify .min-w-0{min-width:0!important}div.extendify .min-w-sm{min-width:7rem!important}div.extendify .max-w-sm{max-width:24rem!important}div.extendify .max-w-md{max-width:28rem!important}div.extendify .max-w-lg{max-width:32rem!important}div.extendify .max-w-xl{max-width:36rem!important}div.extendify .max-w-2xl{max-width:42rem!important}div.extendify .max-w-full{max-width:100%!important}div.extendify .max-w-screen-4xl{max-width:1920px!important}div.extendify .flex-1{flex:1 1 0%!important}div.extendify .flex-shrink-0{flex-shrink:0!important}div.extendify .flex-grow-0{flex-grow:0!important}div.extendify .flex-grow{flex-grow:1!important}div.extendify .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify .translate-y-0{--tw-translate-y:0px!important}div.extendify .translate-y-4{--tw-translate-y:1rem!important}div.extendify .-translate-y-px{--tw-translate-y:-1px!important}div.extendify .-translate-y-full{--tw-translate-y:-100%!important}div.extendify .rotate-90{--tw-rotate:90deg!important}div.extendify .cursor-pointer{cursor:pointer!important}div.extendify .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify .flex-col{flex-direction:column!important}div.extendify .flex-wrap{flex-wrap:wrap!important}div.extendify .items-start{align-items:flex-start!important}div.extendify .items-end{align-items:flex-end!important}div.extendify .items-center{align-items:center!important}div.extendify .justify-end{justify-content:flex-end!important}div.extendify .justify-center{justify-content:center!important}div.extendify .justify-between{justify-content:space-between!important}div.extendify .justify-evenly{justify-content:space-evenly!important}div.extendify .gap-4{gap:1rem!important}div.extendify .gap-6{gap:1.5rem!important}div.extendify .gap-8{gap:2rem!important}div.extendify .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify .self-start{align-self:flex-start!important}div.extendify .overflow-hidden{overflow:hidden!important}div.extendify .overflow-y-auto{overflow-y:auto!important}div.extendify .overflow-x-hidden{overflow-x:hidden!important}div.extendify .whitespace-nowrap{white-space:nowrap!important}div.extendify .rounded-sm{border-radius:.125rem!important}div.extendify .rounded{border-radius:.25rem!important}div.extendify .rounded-md{border-radius:.375rem!important}div.extendify .rounded-lg{border-radius:.5rem!important}div.extendify .rounded-full{border-radius:9999px!important}div.extendify .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify .border-0{border-width:0!important}div.extendify .border-2{border-width:2px!important}div.extendify .border-8{border-width:8px!important}div.extendify .border{border-width:1px!important}div.extendify .border-r{border-right-width:1px!important}div.extendify .border-b-0{border-bottom-width:0!important}div.extendify .border-b{border-bottom-width:1px!important}div.extendify .border-l-8{border-left-width:8px!important}div.extendify .border-solid{border-style:solid!important}div.extendify .border-none{border-style:none!important}div.extendify .border-transparent{border-color:transparent!important}div.extendify .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify .border-gray-600{--tw-border-opacity:1!important;border-color:rgba(148,148,148,var(--tw-border-opacity))!important}div.extendify .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify .focus\:border-transparent:focus{border-color:transparent!important}div.extendify .bg-transparent{background-color:transparent!important}div.extendify .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-gray-200:hover{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify .bg-cover{background-size:cover!important}div.extendify .bg-clip-padding{background-clip:padding-box!important}div.extendify .fill-current{fill:currentColor!important}div.extendify .stroke-current{stroke:currentColor!important}div.extendify .p-0{padding:0!important}div.extendify .p-1{padding:.25rem!important}div.extendify .p-2{padding:.5rem!important}div.extendify .p-3{padding:.75rem!important}div.extendify .p-4{padding:1rem!important}div.extendify .p-6{padding:1.5rem!important}div.extendify .p-8{padding:2rem!important}div.extendify .p-10{padding:2.5rem!important}div.extendify .p-12{padding:3rem!important}div.extendify .p-0\.5{padding:.125rem!important}div.extendify .p-1\.5{padding:.375rem!important}div.extendify .p-3\.5{padding:.875rem!important}div.extendify .px-0{padding-left:0!important;padding-right:0!important}div.extendify .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify .pt-0{padding-top:0!important}div.extendify .pt-2{padding-top:.5rem!important}div.extendify .pt-4{padding-top:1rem!important}div.extendify .pt-6{padding-top:1.5rem!important}div.extendify .pt-px{padding-top:1px!important}div.extendify .pt-0\.5{padding-top:.125rem!important}div.extendify .pr-3{padding-right:.75rem!important}div.extendify .pr-8{padding-right:2rem!important}div.extendify .pb-2{padding-bottom:.5rem!important}div.extendify .pb-8{padding-bottom:2rem!important}div.extendify .pb-20{padding-bottom:5rem!important}div.extendify .pb-36{padding-bottom:9rem!important}div.extendify .pb-40{padding-bottom:10rem!important}div.extendify .pl-0{padding-left:0!important}div.extendify .pl-2{padding-left:.5rem!important}div.extendify .pl-6{padding-left:1.5rem!important}div.extendify .text-left{text-align:left!important}div.extendify .text-center{text-align:center!important}div.extendify .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify .text-xss{font-size:11px!important}div.extendify .font-light{font-weight:300!important}div.extendify .font-normal{font-weight:400!important}div.extendify .font-medium{font-weight:500!important}div.extendify .font-semibold{font-weight:600!important}div.extendify .font-bold{font-weight:700!important}div.extendify .uppercase{text-transform:uppercase!important}div.extendify .italic{font-style:italic!important}div.extendify .leading-none{line-height:1!important}div.extendify .tracking-tight{letter-spacing:-.025em!important}div.extendify .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify .underline{text-decoration:underline!important}div.extendify .no-underline{text-decoration:none!important}div.extendify .hover\:underline:hover{text-decoration:underline!important}div.extendify .hover\:no-underline:hover{text-decoration:none!important}div.extendify .opacity-0{opacity:0!important}div.extendify .opacity-30{opacity:.3!important}div.extendify .opacity-50{opacity:.5!important}div.extendify .opacity-70{opacity:.7!important}div.extendify .opacity-75{opacity:.75!important}div.extendify .focus\:opacity-100:focus,div.extendify .group:focus .group-focus\:opacity-100,div.extendify .group:hover .group-hover\:opacity-100,div.extendify .hover\:opacity-100:hover,div.extendify .opacity-100{opacity:1!important}div.extendify .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify .shadow-md,div.extendify .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify .shadow-2xl,div.extendify .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .focus\:outline-none:focus,div.extendify .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify .focus\:ring-wp:focus,div.extendify .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#007cba)!important}div.extendify .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify .blur{--tw-blur:blur(8px)!important}div.extendify .invert{--tw-invert:invert(100%)!important}div.extendify .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .delay-200{transition-delay:.2s!important}div.extendify .duration-100{transition-duration:.1s!important}div.extendify .duration-200{transition-duration:.2s!important}div.extendify .duration-300{transition-duration:.3s!important}div.extendify .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--wp-admin-theme-color)!important}.extendify *,.extendify :after,.extendify :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify button.extendify-skip-to-sr-link:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important;padding:1rem!important;position:fixed!important;top:0!important;z-index:99999!important}.button-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important;border-radius:.25rem!important;cursor:pointer!important;white-space:nowrap!important}.button-extendify-main:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}.button-extendify-main:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}.button-extendify-main{font-size:1rem!important;line-height:1.5rem!important;padding:.375rem .75rem!important}.button-extendify-main,.button-extendify-main:active,.button-extendify-main:focus,.button-extendify-main:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}.button-extendify-main{text-decoration:none!important;transition-duration:.15s!important;transition-duration:.2s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify .button-extendify-main:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-extendify-main{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-extendify-main:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify input.button-extendify-main:focus,.extendify input.button-focus:focus,.extendify select.button-extendify-main:focus,.extendify select.button-focus:focus{--tw-shadow:0 0 #0000!important;border-color:transparent!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;outline:2px solid transparent!important;outline-offset:2px!important}#extendify-search-input:not(:-moz-placeholder-shown)~svg{display:none!important}#extendify-search-input:not(:-ms-input-placeholder)~svg{display:none!important}#extendify-search-input:focus~svg,#extendify-search-input:not(:placeholder-shown)~svg{display:none!important}#extendify-search-input::-webkit-textfield-decoration-container{margin-right:.75rem!important}.extendify .components-panel__body>.components-panel__body-title{background-color:transparent!important;border-bottom:1px solid #e0e0e0!important}.extendify .components-modal__header{--tw-border-opacity:1!important;border-bottom-width:1px!important;border-color:rgba(221,221,221,var(--tw-border-opacity))!important}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.ext{max-width:none!important}.extendify .block-editor-block-preview__container{-webkit-animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;opacity:0}.extendify .is-root-container>[data-align=full],.extendify .is-root-container>[data-align=full]>.wp-block,.extendify .is-root-container>[data-block]{margin-bottom:0!important;margin-top:0!important}.editor-styles-wrapper:not(.block-editor-writing-flow)>.is-root-container :where(.wp-block)[data-align=full]{margin-bottom:0!important;margin-top:0!important}@-webkit-keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}@keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}.extendify .with-light-shadow:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.025)!important;border-width:0!important;bottom:0!important;content:""!important;left:0!important;position:absolute!important;right:0!important;top:0!important}.extendify .with-light-shadow:after,.extendify .with-light-shadow:hover:after{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .with-light-shadow:hover:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 3px 15px -3px rgba(0,0,0,.025),0 0 1px rgba(0,0,0,.02)!important}@supports not (((-webkit-backdrop-filter:saturate(2) blur(24px)) or (backdrop-filter:saturate(2) blur(24px)))){div.extendify .bg-extendify-transparent-white{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}}.components-panel__body.ext-type-control .components-panel__body-title{border-bottom-width:0!important;margin:0 -1rem!important;padding-left:1.25rem!important;padding-right:1.25rem!important}.extendify .animate-pulse{-webkit-animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite;animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite}@-webkit-keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}.is-template--in-review:before,.is-template--inactive:before{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important;border-style:solid!important;border-width:8px!important;bottom:0!important;content:""!important;height:100%!important;left:0!important;position:absolute!important;right:0!important;top:0!important;width:100%!important;z-index:40!important}.is-template--inactive:before{border-color:#fdeab6!important}.extendify-tooltip-default:not(.is-without-arrow)[data-y-axis=bottom]:after{border-bottom-color:#1e1e1e!important}.extendify-tooltip-default:not(.is-without-arrow):before{border-color:transparent!important}.extendify-tooltip-default:not(.is-without-arrow) .components-popover__content{--tw-bg-opacity:1!important;--tw-text-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important;border-color:transparent!important;color:rgba(255,255,255,var(--tw-text-opacity))!important;min-width:250px!important;padding:1rem!important}.extendify-bottom-arrow:after{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;--tw-translate-y:-1px!important;border-color:#1e1e1e transparent transparent!important;border-width:8px!important;bottom:-15px!important;content:""!important;display:inline-block!important;height:0!important;position:absolute!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;width:0!important}@media (min-width:480px){div.extendify .xs\:inline{display:inline!important}div.extendify .xs\:h-9{height:2.25rem!important}div.extendify .xs\:pr-3{padding-right:.75rem!important}div.extendify .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify .sm\:mt-0{margin-top:0!important}div.extendify .sm\:mb-8{margin-bottom:2rem!important}div.extendify .sm\:ml-2{margin-left:.5rem!important}div.extendify .sm\:block{display:block!important}div.extendify .sm\:flex{display:flex!important}div.extendify .sm\:h-auto{height:auto!important}div.extendify .sm\:w-72{width:18rem!important}div.extendify .sm\:w-auto{width:auto!important}div.extendify .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .sm\:p-0{padding:0!important}div.extendify .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .sm\:pt-0{padding-top:0!important}div.extendify .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify .md\:m-0{margin:0!important}div.extendify .md\:-ml-8{margin-left:-2rem!important}div.extendify .md\:block{display:block!important}div.extendify .md\:flex{display:flex!important}div.extendify .md\:hidden{display:none!important}div.extendify .md\:h-screen{height:100vh!important}div.extendify .md\:w-40vw{width:40vw!important}div.extendify .md\:max-w-md{max-width:28rem!important}div.extendify .md\:max-w-2xl{max-width:42rem!important}div.extendify .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify .md\:flex-row{flex-direction:row!important}div.extendify .md\:gap-8{gap:2rem!important}div.extendify .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .md\:overflow-hidden{overflow:hidden!important}div.extendify .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify .md\:p-8{padding:2rem!important}div.extendify .md\:px-8{padding-right:2rem!important}div.extendify .md\:pl-8,div.extendify .md\:px-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify .lg\:absolute{position:absolute!important}div.extendify .lg\:-mr-1{margin-right:-.25rem!important}div.extendify .lg\:block{display:block!important}div.extendify .lg\:flex{display:flex!important}div.extendify .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify .lg\:overflow-hidden{overflow:hidden!important}div.extendify .lg\:p-16{padding:4rem!important}div.extendify .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
|
1 |
+
div.extendify .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify .pointer-events-none{pointer-events:none!important}div.extendify .invisible{visibility:hidden!important}div.extendify .group:focus .group-focus\:visible,div.extendify .group:hover .group-hover\:visible{visibility:visible!important}div.extendify .static{position:static!important}div.extendify .fixed{position:fixed!important}div.extendify .absolute{position:absolute!important}div.extendify .relative{position:relative!important}div.extendify .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify .top-0{top:0!important}div.extendify .top-2{top:.5rem!important}div.extendify .top-4{top:1rem!important}div.extendify .-top-1\/4{top:-25%!important}div.extendify .right-0{right:0!important}div.extendify .right-1{right:.25rem!important}div.extendify .right-2{right:.5rem!important}div.extendify .right-3{right:.75rem!important}div.extendify .right-4{right:1rem!important}div.extendify .right-2\.5{right:.625rem!important}div.extendify .bottom-0{bottom:0!important}div.extendify .bottom-4{bottom:1rem!important}div.extendify .-bottom-2{bottom:-.5rem!important}div.extendify .left-0{left:0!important}div.extendify .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify .z-10{z-index:10!important}div.extendify .z-20{z-index:20!important}div.extendify .z-30{z-index:30!important}div.extendify .z-40{z-index:40!important}div.extendify .z-50{z-index:50!important}div.extendify .z-high{z-index:99999!important}div.extendify .z-max{z-index:2147483647!important}div.extendify .m-0{margin:0!important}div.extendify .m-6{margin:1.5rem!important}div.extendify .m-8{margin:2rem!important}div.extendify .m-auto{margin:auto!important}div.extendify .-m-2{margin:-.5rem!important}div.extendify .-m-6{margin:-1.5rem!important}div.extendify .-m-px{margin:-1px!important}div.extendify .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify .mt-0{margin-top:0!important}div.extendify .mt-2{margin-top:.5rem!important}div.extendify .mt-4{margin-top:1rem!important}div.extendify .mt-8{margin-top:2rem!important}div.extendify .mt-px{margin-top:1px!important}div.extendify .-mt-2{margin-top:-.5rem!important}div.extendify .-mt-5{margin-top:-1.25rem!important}div.extendify .mr-1{margin-right:.25rem!important}div.extendify .mr-2{margin-right:.5rem!important}div.extendify .mr-6{margin-right:1.5rem!important}div.extendify .-mr-1{margin-right:-.25rem!important}div.extendify .-mr-1\.5{margin-right:-.375rem!important}div.extendify .mb-0{margin-bottom:0!important}div.extendify .mb-1{margin-bottom:.25rem!important}div.extendify .mb-2{margin-bottom:.5rem!important}div.extendify .mb-3{margin-bottom:.75rem!important}div.extendify .mb-4{margin-bottom:1rem!important}div.extendify .mb-5{margin-bottom:1.25rem!important}div.extendify .mb-8{margin-bottom:2rem!important}div.extendify .mb-10{margin-bottom:2.5rem!important}div.extendify .mb-12{margin-bottom:3rem!important}div.extendify .ml-1{margin-left:.25rem!important}div.extendify .ml-2{margin-left:.5rem!important}div.extendify .ml-4{margin-left:1rem!important}div.extendify .ml-12{margin-left:3rem!important}div.extendify .-ml-1{margin-left:-.25rem!important}div.extendify .-ml-2{margin-left:-.5rem!important}div.extendify .-ml-6{margin-left:-1.5rem!important}div.extendify .-ml-px{margin-left:-1px!important}div.extendify .-ml-1\.5{margin-left:-.375rem!important}div.extendify .block{display:block!important}div.extendify .inline-block{display:inline-block!important}div.extendify .flex{display:flex!important}div.extendify .inline-flex{display:inline-flex!important}div.extendify .table{display:table!important}div.extendify .grid{display:grid!important}div.extendify .hidden{display:none!important}div.extendify .h-0{height:0!important}div.extendify .h-2{height:.5rem!important}div.extendify .h-4{height:1rem!important}div.extendify .h-8{height:2rem!important}div.extendify .h-12{height:3rem!important}div.extendify .h-32{height:8rem!important}div.extendify .h-64{height:16rem!important}div.extendify .h-auto{height:auto!important}div.extendify .h-full{height:100%!important}div.extendify .h-screen{height:100vh!important}div.extendify .max-h-96{max-height:24rem!important}div.extendify .min-h-screen{min-height:100vh!important}div.extendify .w-0{width:0!important}div.extendify .w-4{width:1rem!important}div.extendify .w-6{width:1.5rem!important}div.extendify .w-8{width:2rem!important}div.extendify .w-10{width:2.5rem!important}div.extendify .w-16{width:4rem!important}div.extendify .w-20{width:5rem!important}div.extendify .w-28{width:7rem!important}div.extendify .w-32{width:8rem!important}div.extendify .w-72{width:18rem!important}div.extendify .w-80{width:20rem!important}div.extendify .w-96{width:24rem!important}div.extendify .w-auto{width:auto!important}div.extendify .w-6\/12{width:50%!important}div.extendify .w-7\/12{width:58.333333%!important}div.extendify .w-full{width:100%!important}div.extendify .w-screen{width:100vw!important}div.extendify .min-w-0{min-width:0!important}div.extendify .min-w-sm{min-width:7rem!important}div.extendify .max-w-sm{max-width:24rem!important}div.extendify .max-w-md{max-width:28rem!important}div.extendify .max-w-lg{max-width:32rem!important}div.extendify .max-w-xl{max-width:36rem!important}div.extendify .max-w-2xl{max-width:42rem!important}div.extendify .max-w-full{max-width:100%!important}div.extendify .max-w-screen-4xl{max-width:1920px!important}div.extendify .flex-1{flex:1 1 0%!important}div.extendify .flex-shrink-0{flex-shrink:0!important}div.extendify .flex-grow-0{flex-grow:0!important}div.extendify .flex-grow{flex-grow:1!important}div.extendify .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify .translate-y-0{--tw-translate-y:0px!important}div.extendify .translate-y-4{--tw-translate-y:1rem!important}div.extendify .-translate-y-px{--tw-translate-y:-1px!important}div.extendify .-translate-y-full{--tw-translate-y:-100%!important}div.extendify .rotate-90{--tw-rotate:90deg!important}div.extendify .cursor-pointer{cursor:pointer!important}div.extendify .grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify .flex-col{flex-direction:column!important}div.extendify .flex-wrap{flex-wrap:wrap!important}div.extendify .items-start{align-items:flex-start!important}div.extendify .items-end{align-items:flex-end!important}div.extendify .items-center{align-items:center!important}div.extendify .justify-end{justify-content:flex-end!important}div.extendify .justify-center{justify-content:center!important}div.extendify .justify-between{justify-content:space-between!important}div.extendify .justify-evenly{justify-content:space-evenly!important}div.extendify .gap-4{gap:1rem!important}div.extendify .gap-6{gap:1.5rem!important}div.extendify .gap-8{gap:2rem!important}div.extendify .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify .self-start{align-self:flex-start!important}div.extendify .overflow-hidden{overflow:hidden!important}div.extendify .overflow-y-auto{overflow-y:auto!important}div.extendify .overflow-x-hidden{overflow-x:hidden!important}div.extendify .whitespace-nowrap{white-space:nowrap!important}div.extendify .rounded-sm{border-radius:.125rem!important}div.extendify .rounded{border-radius:.25rem!important}div.extendify .rounded-md{border-radius:.375rem!important}div.extendify .rounded-lg{border-radius:.5rem!important}div.extendify .rounded-full{border-radius:9999px!important}div.extendify .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify .border-0{border-width:0!important}div.extendify .border-2{border-width:2px!important}div.extendify .border-8{border-width:8px!important}div.extendify .border{border-width:1px!important}div.extendify .border-t{border-top-width:1px!important}div.extendify .border-r{border-right-width:1px!important}div.extendify .border-b-0{border-bottom-width:0!important}div.extendify .border-b{border-bottom-width:1px!important}div.extendify .border-l-8{border-left-width:8px!important}div.extendify .border-solid{border-style:solid!important}div.extendify .border-none{border-style:none!important}div.extendify .border-transparent{border-color:transparent!important}div.extendify .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify .border-gray-600{--tw-border-opacity:1!important;border-color:rgba(148,148,148,var(--tw-border-opacity))!important}div.extendify .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify .focus\:border-transparent:focus{border-color:transparent!important}div.extendify .bg-transparent{background-color:transparent!important}div.extendify .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-gray-200:hover{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify .bg-cover{background-size:cover!important}div.extendify .bg-clip-padding{background-clip:padding-box!important}div.extendify .fill-current{fill:currentColor!important}div.extendify .stroke-current{stroke:currentColor!important}div.extendify .p-0{padding:0!important}div.extendify .p-1{padding:.25rem!important}div.extendify .p-2{padding:.5rem!important}div.extendify .p-3{padding:.75rem!important}div.extendify .p-4{padding:1rem!important}div.extendify .p-6{padding:1.5rem!important}div.extendify .p-8{padding:2rem!important}div.extendify .p-10{padding:2.5rem!important}div.extendify .p-12{padding:3rem!important}div.extendify .p-0\.5{padding:.125rem!important}div.extendify .p-1\.5{padding:.375rem!important}div.extendify .p-3\.5{padding:.875rem!important}div.extendify .px-0{padding-left:0!important;padding-right:0!important}div.extendify .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify .pt-0{padding-top:0!important}div.extendify .pt-2{padding-top:.5rem!important}div.extendify .pt-4{padding-top:1rem!important}div.extendify .pt-6{padding-top:1.5rem!important}div.extendify .pt-px{padding-top:1px!important}div.extendify .pt-0\.5{padding-top:.125rem!important}div.extendify .pr-3{padding-right:.75rem!important}div.extendify .pr-8{padding-right:2rem!important}div.extendify .pb-2{padding-bottom:.5rem!important}div.extendify .pb-8{padding-bottom:2rem!important}div.extendify .pb-20{padding-bottom:5rem!important}div.extendify .pb-36{padding-bottom:9rem!important}div.extendify .pb-40{padding-bottom:10rem!important}div.extendify .pl-0{padding-left:0!important}div.extendify .pl-2{padding-left:.5rem!important}div.extendify .pl-6{padding-left:1.5rem!important}div.extendify .text-left{text-align:left!important}div.extendify .text-center{text-align:center!important}div.extendify .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify .text-xss{font-size:11px!important}div.extendify .font-light{font-weight:300!important}div.extendify .font-normal{font-weight:400!important}div.extendify .font-medium{font-weight:500!important}div.extendify .font-semibold{font-weight:600!important}div.extendify .font-bold{font-weight:700!important}div.extendify .uppercase{text-transform:uppercase!important}div.extendify .italic{font-style:italic!important}div.extendify .leading-none{line-height:1!important}div.extendify .tracking-tight{letter-spacing:-.025em!important}div.extendify .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify .underline{text-decoration:underline!important}div.extendify .no-underline{text-decoration:none!important}div.extendify .hover\:underline:hover{text-decoration:underline!important}div.extendify .hover\:no-underline:hover{text-decoration:none!important}div.extendify .opacity-0{opacity:0!important}div.extendify .opacity-30{opacity:.3!important}div.extendify .opacity-50{opacity:.5!important}div.extendify .opacity-70{opacity:.7!important}div.extendify .opacity-75{opacity:.75!important}div.extendify .focus\:opacity-100:focus,div.extendify .group:focus .group-focus\:opacity-100,div.extendify .group:hover .group-hover\:opacity-100,div.extendify .hover\:opacity-100:hover,div.extendify .opacity-100{opacity:1!important}div.extendify .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify .shadow-md,div.extendify .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify .shadow-2xl,div.extendify .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .focus\:outline-none:focus,div.extendify .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify .focus\:ring-wp:focus,div.extendify .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify .blur{--tw-blur:blur(8px)!important}div.extendify .invert{--tw-invert:invert(100%)!important}div.extendify .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .delay-200{transition-delay:.2s!important}div.extendify .duration-100{transition-duration:.1s!important}div.extendify .duration-200{transition-duration:.2s!important}div.extendify .duration-300{transition-duration:.3s!important}div.extendify .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--wp-admin-theme-color)!important}.extendify *,.extendify :after,.extendify :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify button.extendify-skip-to-sr-link:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important;padding:1rem!important;position:fixed!important;top:0!important;z-index:99999!important}.button-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important;border-radius:.25rem!important;cursor:pointer!important;white-space:nowrap!important}.button-extendify-main:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}.button-extendify-main:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}.button-extendify-main{font-size:1rem!important;line-height:1.5rem!important;padding:.375rem .75rem!important}.button-extendify-main,.button-extendify-main:active,.button-extendify-main:focus,.button-extendify-main:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}.button-extendify-main{text-decoration:none!important;transition-duration:.15s!important;transition-duration:.2s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify .button-extendify-main:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-extendify-main{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-extendify-main:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify input.button-extendify-main:focus,.extendify input.button-focus:focus,.extendify select.button-extendify-main:focus,.extendify select.button-focus:focus{--tw-shadow:0 0 #0000!important;border-color:transparent!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;outline:2px solid transparent!important;outline-offset:2px!important}#extendify-search-input:not(:-moz-placeholder-shown)~svg{display:none!important}#extendify-search-input:not(:-ms-input-placeholder)~svg{display:none!important}#extendify-search-input:focus~svg,#extendify-search-input:not(:placeholder-shown)~svg{display:none!important}#extendify-search-input::-webkit-textfield-decoration-container{margin-right:.75rem!important}.extendify .components-panel__body>.components-panel__body-title{background-color:transparent!important;border-bottom:1px solid #e0e0e0!important}.extendify .components-modal__header{--tw-border-opacity:1!important;border-bottom-width:1px!important;border-color:rgba(221,221,221,var(--tw-border-opacity))!important}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.ext{max-width:none!important}.extendify .block-editor-block-preview__container{-webkit-animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;opacity:0}.extendify .is-root-container>[data-align=full],.extendify .is-root-container>[data-align=full]>.wp-block,.extendify .is-root-container>[data-block]{margin-bottom:0!important;margin-top:0!important}.editor-styles-wrapper:not(.block-editor-writing-flow)>.is-root-container :where(.wp-block)[data-align=full]{margin-bottom:0!important;margin-top:0!important}@-webkit-keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}@keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}.extendify .with-light-shadow:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.025)!important;border-width:0!important;bottom:0!important;content:""!important;left:0!important;position:absolute!important;right:0!important;top:0!important}.extendify .with-light-shadow:after,.extendify .with-light-shadow:hover:after{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .with-light-shadow:hover:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 3px 15px -3px rgba(0,0,0,.025),0 0 1px rgba(0,0,0,.02)!important}@supports not (((-webkit-backdrop-filter:saturate(2) blur(24px)) or (backdrop-filter:saturate(2) blur(24px)))){div.extendify .bg-extendify-transparent-white{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}}.components-panel__body.ext-type-control .components-panel__body-title{border-bottom-width:0!important;margin:0 -1rem!important;padding-left:1.25rem!important;padding-right:1.25rem!important}.extendify .animate-pulse{-webkit-animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite;animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite}@-webkit-keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}.is-template--in-review:before,.is-template--inactive:before{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important;border-style:solid!important;border-width:8px!important;bottom:0!important;content:""!important;height:100%!important;left:0!important;position:absolute!important;right:0!important;top:0!important;width:100%!important;z-index:40!important}.is-template--inactive:before{border-color:#fdeab6!important}.extendify-tooltip-default:not(.is-without-arrow)[data-y-axis=bottom]:after{border-bottom-color:#1e1e1e!important}.extendify-tooltip-default:not(.is-without-arrow):before{border-color:transparent!important}.extendify-tooltip-default:not(.is-without-arrow) .components-popover__content{--tw-bg-opacity:1!important;--tw-text-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important;border-color:transparent!important;color:rgba(255,255,255,var(--tw-text-opacity))!important;min-width:250px!important;padding:1rem!important}.extendify-bottom-arrow:after{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;--tw-translate-y:-1px!important;border-color:#1e1e1e transparent transparent!important;border-width:8px!important;bottom:-15px!important;content:""!important;display:inline-block!important;height:0!important;position:absolute!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;width:0!important}@media (min-width:480px){div.extendify .xs\:inline{display:inline!important}div.extendify .xs\:h-9{height:2.25rem!important}div.extendify .xs\:pr-3{padding-right:.75rem!important}div.extendify .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify .sm\:mt-0{margin-top:0!important}div.extendify .sm\:mb-8{margin-bottom:2rem!important}div.extendify .sm\:ml-2{margin-left:.5rem!important}div.extendify .sm\:block{display:block!important}div.extendify .sm\:flex{display:flex!important}div.extendify .sm\:h-auto{height:auto!important}div.extendify .sm\:w-72{width:18rem!important}div.extendify .sm\:w-auto{width:auto!important}div.extendify .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .sm\:p-0{padding:0!important}div.extendify .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .sm\:pt-0{padding-top:0!important}div.extendify .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify .md\:m-0{margin:0!important}div.extendify .md\:-ml-8{margin-left:-2rem!important}div.extendify .md\:block{display:block!important}div.extendify .md\:flex{display:flex!important}div.extendify .md\:hidden{display:none!important}div.extendify .md\:h-screen{height:100vh!important}div.extendify .md\:w-40vw{width:40vw!important}div.extendify .md\:max-w-md{max-width:28rem!important}div.extendify .md\:max-w-2xl{max-width:42rem!important}div.extendify .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}div.extendify .md\:flex-row{flex-direction:row!important}div.extendify .md\:gap-8{gap:2rem!important}div.extendify .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .md\:overflow-hidden{overflow:hidden!important}div.extendify .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify .md\:p-8{padding:2rem!important}div.extendify .md\:px-8{padding-right:2rem!important}div.extendify .md\:pl-8,div.extendify .md\:px-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify .lg\:absolute{position:absolute!important}div.extendify .lg\:-mr-1{margin-right:-.25rem!important}div.extendify .lg\:block{display:block!important}div.extendify .lg\:flex{display:flex!important}div.extendify .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify .lg\:overflow-hidden{overflow:hidden!important}div.extendify .lg\:p-16{padding:4rem!important}div.extendify .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: extendify, richtabor, kbat82, clubkert, arturgrabo
|
|
3 |
Tags: templates, patterns, layouts, blocks, gutenberg
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 0.8.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -128,6 +128,10 @@ Nope! Extendify imports lightweight block-based content that is served directly
|
|
128 |
- Add API language support
|
129 |
- Various bug fixes and updates
|
130 |
|
|
|
|
|
|
|
|
|
131 |
= 0.8.2 - 2022-05-26 =
|
132 |
- Various bug fixes and updates
|
133 |
|
3 |
Tags: templates, patterns, layouts, blocks, gutenberg
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 0.8.4
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
128 |
- Add API language support
|
129 |
- Various bug fixes and updates
|
130 |
|
131 |
+
= 0.8.3 - 2022-06-27 =
|
132 |
+
- Minor translation updates
|
133 |
+
- Various bug fixes and updates
|
134 |
+
|
135 |
= 0.8.2 - 2022-05-26 =
|
136 |
- Various bug fixes and updates
|
137 |
|
routes/api.php
CHANGED
@@ -52,7 +52,6 @@ use Extendify\Library\Controllers\SiteSettingsController;
|
|
52 |
// Onboarding.
|
53 |
ApiRouter::post('/onboarding/options', [WPController::class, 'updateOption']);
|
54 |
ApiRouter::get('/onboarding/options', [WPController::class, 'getOption']);
|
55 |
-
ApiRouter::post('/onboarding/save-theme-json', [WPController::class, 'saveThemeJson']);
|
56 |
ApiRouter::post('/onboarding/parse-theme-json', [WPController::class, 'parseThemeJson']);
|
57 |
|
58 |
ApiRouter::get('/onboarding/site-types', [DataController::class, 'getSiteTypes']);
|
@@ -61,7 +60,7 @@ use Extendify\Library\Controllers\SiteSettingsController;
|
|
61 |
ApiRouter::get('/onboarding/goals', [DataController::class, 'getGoals']);
|
62 |
ApiRouter::get('/onboarding/suggested-plugins', [DataController::class, 'getSuggestedPlugins']);
|
63 |
ApiRouter::get('/onboarding/template', [DataController::class, 'getTemplate']);
|
64 |
-
ApiRouter::post('/onboarding/
|
65 |
|
66 |
// TODO: consider merging this route into the library.
|
67 |
ApiRouter::post('/library/site-type', [LibraryController::class, 'updateSiteType']);
|
52 |
// Onboarding.
|
53 |
ApiRouter::post('/onboarding/options', [WPController::class, 'updateOption']);
|
54 |
ApiRouter::get('/onboarding/options', [WPController::class, 'getOption']);
|
|
|
55 |
ApiRouter::post('/onboarding/parse-theme-json', [WPController::class, 'parseThemeJson']);
|
56 |
|
57 |
ApiRouter::get('/onboarding/site-types', [DataController::class, 'getSiteTypes']);
|
60 |
ApiRouter::get('/onboarding/goals', [DataController::class, 'getGoals']);
|
61 |
ApiRouter::get('/onboarding/suggested-plugins', [DataController::class, 'getSuggestedPlugins']);
|
62 |
ApiRouter::get('/onboarding/template', [DataController::class, 'getTemplate']);
|
63 |
+
ApiRouter::post('/onboarding/create-order', [DataController::class, 'createOrder']);
|
64 |
|
65 |
// TODO: consider merging this route into the library.
|
66 |
ApiRouter::post('/library/site-type', [LibraryController::class, 'updateSiteType']);
|
src/Onboarding/Onboarding.js
CHANGED
@@ -1,5 +1,5 @@
|
|
|
|
1 |
import { useEffect, useState } from '@wordpress/element'
|
2 |
-
import { __ } from '@wordpress/i18n'
|
3 |
import { SWRConfig, useSWRConfig } from 'swr'
|
4 |
import { RetryNotice } from '@onboarding/components/RetryNotice'
|
5 |
import { useDisableWelcomeGuide } from '@onboarding/hooks/useDisableWelcomeGuide'
|
@@ -9,6 +9,8 @@ import { Finished } from '@onboarding/pages/Finished'
|
|
9 |
import { useGlobalStore } from '@onboarding/state/Global'
|
10 |
import { usePagesStore } from '@onboarding/state/Pages'
|
11 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
|
|
|
|
12 |
|
13 |
export const Onboarding = () => {
|
14 |
const resetState = useUserSelectionStore((state) => state.resetState)
|
@@ -23,8 +25,25 @@ export const Onboarding = () => {
|
|
23 |
const generating = useGlobalStore((state) => state.generating)
|
24 |
const generatedPages = useGlobalStore((state) => state.generatedPages)
|
25 |
const [show, setShow] = useState(false)
|
|
|
|
|
26 |
useDisableWelcomeGuide()
|
27 |
useBodyScrollLock()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
useEffect(() => {
|
30 |
if (!show) return
|
@@ -34,7 +53,7 @@ export const Onboarding = () => {
|
|
34 |
new CustomEvent('extendify::close-library', { bubbles: true }),
|
35 |
)
|
36 |
}, 0)
|
37 |
-
document.title =
|
38 |
return () => clearTimeout(timeout)
|
39 |
}, [show])
|
40 |
|
@@ -52,14 +71,6 @@ export const Onboarding = () => {
|
|
52 |
|
53 |
if (!show) return null
|
54 |
|
55 |
-
if (Object.keys(generatedPages)?.length) {
|
56 |
-
return (
|
57 |
-
<div className="h-screen w-screen fixed z-high inset-0 overflow-y-auto md:overflow-hidden bg-white">
|
58 |
-
<Finished />
|
59 |
-
</div>
|
60 |
-
)
|
61 |
-
}
|
62 |
-
|
63 |
return (
|
64 |
<SWRConfig
|
65 |
value={{
|
@@ -81,7 +92,7 @@ export const Onboarding = () => {
|
|
81 |
<div
|
82 |
style={{ zIndex: 99999 + 1 }} // 1 more than the library
|
83 |
className="h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white">
|
84 |
-
{
|
85 |
</div>
|
86 |
{retrying && <RetryNotice />}
|
87 |
</SWRConfig>
|
1 |
+
import { useSelect } from '@wordpress/data'
|
2 |
import { useEffect, useState } from '@wordpress/element'
|
|
|
3 |
import { SWRConfig, useSWRConfig } from 'swr'
|
4 |
import { RetryNotice } from '@onboarding/components/RetryNotice'
|
5 |
import { useDisableWelcomeGuide } from '@onboarding/hooks/useDisableWelcomeGuide'
|
9 |
import { useGlobalStore } from '@onboarding/state/Global'
|
10 |
import { usePagesStore } from '@onboarding/state/Pages'
|
11 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
12 |
+
import { useTelemetry } from './hooks/useTelemetry'
|
13 |
+
import { NeedsTheme } from './pages/NeedsTheme'
|
14 |
|
15 |
export const Onboarding = () => {
|
16 |
const resetState = useUserSelectionStore((state) => state.resetState)
|
25 |
const generating = useGlobalStore((state) => state.generating)
|
26 |
const generatedPages = useGlobalStore((state) => state.generatedPages)
|
27 |
const [show, setShow] = useState(false)
|
28 |
+
const [needsTheme, setNeedsTheme] = useState(false)
|
29 |
+
const theme = useSelect((select) => select('core').getCurrentTheme())
|
30 |
useDisableWelcomeGuide()
|
31 |
useBodyScrollLock()
|
32 |
+
useTelemetry()
|
33 |
+
|
34 |
+
const page = () => {
|
35 |
+
if (needsTheme) return <NeedsTheme />
|
36 |
+
if (Object.keys(generatedPages)?.length) return <Finished />
|
37 |
+
if (generating) return <CreatingSite />
|
38 |
+
return <CurrentPage />
|
39 |
+
}
|
40 |
+
|
41 |
+
useEffect(() => {
|
42 |
+
// Check that the textdomain came back and that it's extendable
|
43 |
+
if (!theme?.textdomain) return
|
44 |
+
if (theme?.textdomain === 'extendable') return
|
45 |
+
setNeedsTheme(true)
|
46 |
+
}, [theme])
|
47 |
|
48 |
useEffect(() => {
|
49 |
if (!show) return
|
53 |
new CustomEvent('extendify::close-library', { bubbles: true }),
|
54 |
)
|
55 |
}, 0)
|
56 |
+
document.title = 'Extendify Launch' // Don't translate
|
57 |
return () => clearTimeout(timeout)
|
58 |
}, [show])
|
59 |
|
71 |
|
72 |
if (!show) return null
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
return (
|
75 |
<SWRConfig
|
76 |
value={{
|
92 |
<div
|
93 |
style={{ zIndex: 99999 + 1 }} // 1 more than the library
|
94 |
className="h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white">
|
95 |
+
{page()}
|
96 |
</div>
|
97 |
{retrying && <RetryNotice />}
|
98 |
</SWRConfig>
|
src/Onboarding/api/DataApi.js
CHANGED
@@ -1,9 +1,27 @@
|
|
|
|
1 |
import { Axios as api } from './axios'
|
2 |
|
3 |
export const getSiteTypes = () => api.get('onboarding/site-types')
|
4 |
|
5 |
-
export const getStyles = (data) =>
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
export const getGoals = () => api.get('onboarding/goals')
|
9 |
export const getSuggestedPlugins = () => api.get('onboarding/suggested-plugins')
|
@@ -13,4 +31,4 @@ export const getLayoutTypes = () => api.get('onboarding/layout-types')
|
|
13 |
export const getTemplate = (data) =>
|
14 |
api.get('onboarding/template', { params: data })
|
15 |
|
16 |
-
export const createOrder = (
|
1 |
+
import { getHeadersAndFooters } from './WPApi'
|
2 |
import { Axios as api } from './axios'
|
3 |
|
4 |
export const getSiteTypes = () => api.get('onboarding/site-types')
|
5 |
|
6 |
+
export const getStyles = async (data) => {
|
7 |
+
// First get the header and footer code
|
8 |
+
const styles = await api.get('onboarding/styles', { params: data })
|
9 |
+
const { headers, footers } = await getHeadersAndFooters()
|
10 |
+
return styles?.data?.map((style) => {
|
11 |
+
const header = headers?.find(
|
12 |
+
(h) => h?.slug === style?.headerSlug ?? 'header',
|
13 |
+
)
|
14 |
+
const footer = footers?.find(
|
15 |
+
(f) => f?.slug === style?.footerSlug ?? 'footer',
|
16 |
+
)
|
17 |
+
|
18 |
+
return {
|
19 |
+
...style,
|
20 |
+
headerCode: header?.content?.raw?.trim() ?? '',
|
21 |
+
footerCode: footer?.content?.raw?.trim() ?? '',
|
22 |
+
}
|
23 |
+
})
|
24 |
+
}
|
25 |
|
26 |
export const getGoals = () => api.get('onboarding/goals')
|
27 |
export const getSuggestedPlugins = () => api.get('onboarding/suggested-plugins')
|
31 |
export const getTemplate = (data) =>
|
32 |
api.get('onboarding/template', { params: data })
|
33 |
|
34 |
+
export const createOrder = () => api.post('onboarding/create-order')
|
src/Onboarding/api/WPApi.js
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
-
import { __ } from '@wordpress/i18n'
|
2 |
import { Axios as api } from './axios'
|
3 |
|
4 |
-
export const saveThemeJson = (themeJson) =>
|
5 |
-
api.post('onboarding/save-theme-json', { themeJson })
|
6 |
-
|
7 |
export const parseThemeJson = (themeJson) =>
|
8 |
api.post('onboarding/parse-theme-json', { themeJson })
|
9 |
|
@@ -81,7 +78,10 @@ export const updateTemplatePart = async (part, content) => {
|
|
81 |
theme: 'extendable',
|
82 |
type: 'wp_template_part',
|
83 |
status: 'publish',
|
84 |
-
description:
|
|
|
|
|
|
|
85 |
content,
|
86 |
}),
|
87 |
}
|
@@ -95,3 +95,71 @@ export const updateTemplatePart = async (part, content) => {
|
|
95 |
// Fail gracefully for now
|
96 |
}
|
97 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { __, sprintf } from '@wordpress/i18n'
|
2 |
import { Axios as api } from './axios'
|
3 |
|
|
|
|
|
|
|
4 |
export const parseThemeJson = (themeJson) =>
|
5 |
api.post('onboarding/parse-theme-json', { themeJson })
|
6 |
|
78 |
theme: 'extendable',
|
79 |
type: 'wp_template_part',
|
80 |
status: 'publish',
|
81 |
+
description: sprintf(
|
82 |
+
__('Added by %s', 'extendify'),
|
83 |
+
'Extendify Launch',
|
84 |
+
),
|
85 |
content,
|
86 |
}),
|
87 |
}
|
95 |
// Fail gracefully for now
|
96 |
}
|
97 |
}
|
98 |
+
export const getHeadersAndFooters = async () => {
|
99 |
+
let patterns = await getTemplateParts()
|
100 |
+
patterns = patterns?.filter((p) => p.theme === 'extendable')
|
101 |
+
const headers = patterns?.filter((p) => p?.slug?.includes('header'))
|
102 |
+
const footers = patterns?.filter((p) => p?.slug?.includes('footer'))
|
103 |
+
return { headers, footers }
|
104 |
+
}
|
105 |
+
|
106 |
+
const getTemplateParts = async () => {
|
107 |
+
try {
|
108 |
+
const parts = await fetch(
|
109 |
+
window.extOnbData.wpRoot + 'wp/v2/template-parts',
|
110 |
+
{
|
111 |
+
headers: {
|
112 |
+
'Content-type': 'application/json',
|
113 |
+
'X-WP-Nonce': window.extOnbData.nonce,
|
114 |
+
},
|
115 |
+
},
|
116 |
+
)
|
117 |
+
if (!parts.ok) return
|
118 |
+
return await parts.json()
|
119 |
+
} catch (e) {
|
120 |
+
// Fail gracefully for now
|
121 |
+
}
|
122 |
+
}
|
123 |
+
|
124 |
+
export const getThemeVariations = async () => {
|
125 |
+
try {
|
126 |
+
const variations = await fetch(
|
127 |
+
window.extOnbData.wpRoot +
|
128 |
+
'wp/v2/global-styles/themes/extendable/variations',
|
129 |
+
{
|
130 |
+
headers: {
|
131 |
+
'Content-type': 'application/json',
|
132 |
+
'X-WP-Nonce': window.extOnbData.nonce,
|
133 |
+
},
|
134 |
+
},
|
135 |
+
)
|
136 |
+
if (!variations.ok) return
|
137 |
+
return await variations.json()
|
138 |
+
} catch (e) {
|
139 |
+
// Fail gracefully for now
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
export const updateThemeVariation = async (id, variation) => {
|
144 |
+
try {
|
145 |
+
const response = await fetch(
|
146 |
+
`${window.extOnbData.wpRoot}wp/v2/global-styles/${id}`,
|
147 |
+
{
|
148 |
+
method: 'POST',
|
149 |
+
headers: {
|
150 |
+
'Content-type': 'application/json',
|
151 |
+
'X-WP-Nonce': window.extOnbData.nonce,
|
152 |
+
},
|
153 |
+
body: JSON.stringify({
|
154 |
+
id,
|
155 |
+
settings: variation.settings,
|
156 |
+
styles: variation.styles,
|
157 |
+
}),
|
158 |
+
},
|
159 |
+
)
|
160 |
+
if (!response.ok) return
|
161 |
+
return await response.json()
|
162 |
+
} catch (e) {
|
163 |
+
// Fail gracefully for now
|
164 |
+
}
|
165 |
+
}
|
src/Onboarding/app.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
|
8 |
--tw-ring-offset-width: 0px;
|
9 |
--tw-ring-offset-color: transparent;
|
10 |
-
--tw-ring-color: var(--ext-partner-theme-primary-bg, #
|
11 |
}
|
12 |
|
13 |
.extendify-onboarding *,
|
7 |
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
|
8 |
--tw-ring-offset-width: 0px;
|
9 |
--tw-ring-offset-color: transparent;
|
10 |
+
--tw-ring-color: var(--ext-partner-theme-primary-bg, #3e58e1);
|
11 |
}
|
12 |
|
13 |
.extendify-onboarding *,
|
src/Onboarding/components/PageControl.js
CHANGED
@@ -16,10 +16,12 @@ export const PageControl = () => {
|
|
16 |
return (
|
17 |
<div className="flex items-center justify-between space-x-2">
|
18 |
<div className="flex-1"></div>
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
23 |
<div className="flex space-x-2 flex-1 justify-end">
|
24 |
{onFirstPage || (
|
25 |
<button
|
16 |
return (
|
17 |
<div className="flex items-center justify-between space-x-2">
|
18 |
<div className="flex-1"></div>
|
19 |
+
{onFirstPage || (
|
20 |
+
<ProgressBar
|
21 |
+
currentPageIndex={currentPageIndex}
|
22 |
+
totalPages={totalPages}
|
23 |
+
/>
|
24 |
+
)}
|
25 |
<div className="flex space-x-2 flex-1 justify-end">
|
26 |
{onFirstPage || (
|
27 |
<button
|
src/Onboarding/components/PagePreview.js
CHANGED
@@ -3,9 +3,9 @@ import classNames from 'classnames'
|
|
3 |
import { getTemplate } from '@onboarding/api/DataApi'
|
4 |
import { StylePreview } from '@onboarding/components/StyledPreview'
|
5 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
|
|
6 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
7 |
import { Checkmark } from '@onboarding/svg'
|
8 |
-
import { findTheCode } from '../lib/util'
|
9 |
|
10 |
export const fetcher = (data) => getTemplate(data)
|
11 |
export const PagePreview = ({
|
@@ -27,7 +27,7 @@ export const PagePreview = ({
|
|
27 |
)
|
28 |
if (displayOnly) {
|
29 |
return (
|
30 |
-
<div className="text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100">
|
31 |
<div className="border-gray-100 border-b p-2 flex justify-between min-w-sm">
|
32 |
{page.title}
|
33 |
</div>
|
@@ -58,19 +58,21 @@ export const PagePreview = ({
|
|
58 |
}
|
59 |
}}
|
60 |
onClick={() => lock || toggle('pages', page)}>
|
61 |
-
<div className="border-gray-100 border-b
|
62 |
-
<div
|
63 |
-
|
64 |
-
'
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
69 |
)}
|
70 |
</div>
|
71 |
-
{has('pages', page) && (
|
72 |
-
<Checkmark className="text-partner-primary-bg w-6" />
|
73 |
-
)}
|
74 |
</div>
|
75 |
<StylePreview
|
76 |
blockHeight={blockHeight}
|
3 |
import { getTemplate } from '@onboarding/api/DataApi'
|
4 |
import { StylePreview } from '@onboarding/components/StyledPreview'
|
5 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
6 |
+
import { findTheCode } from '@onboarding/lib/util'
|
7 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
8 |
import { Checkmark } from '@onboarding/svg'
|
|
|
9 |
|
10 |
export const fetcher = (data) => getTemplate(data)
|
11 |
export const PagePreview = ({
|
27 |
)
|
28 |
if (displayOnly) {
|
29 |
return (
|
30 |
+
<div className="text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 mb-2">
|
31 |
<div className="border-gray-100 border-b p-2 flex justify-between min-w-sm">
|
32 |
{page.title}
|
33 |
</div>
|
58 |
}
|
59 |
}}
|
60 |
onClick={() => lock || toggle('pages', page)}>
|
61 |
+
<div className="border-gray-100 border-b min-w-sm z-30 relative bg-white">
|
62 |
+
<div className="p-2 flex justify-between">
|
63 |
+
<div
|
64 |
+
className={classNames('flex items-center', {
|
65 |
+
'text-gray-700': !has('pages', page),
|
66 |
+
})}>
|
67 |
+
<span>{page.title}</span>
|
68 |
+
{lock && (
|
69 |
+
<span className="w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"></span>
|
70 |
+
)}
|
71 |
+
</div>
|
72 |
+
{has('pages', page) && (
|
73 |
+
<Checkmark className="text-partner-primary-bg w-6" />
|
74 |
)}
|
75 |
</div>
|
|
|
|
|
|
|
76 |
</div>
|
77 |
<StylePreview
|
78 |
blockHeight={blockHeight}
|
src/Onboarding/components/ProgressBar.js
CHANGED
@@ -2,7 +2,7 @@ export const ProgressBar = ({ currentPageIndex, totalPages }) => {
|
|
2 |
const currentProgress = Math.round(
|
3 |
((currentPageIndex + 1) / totalPages) * 100,
|
4 |
)
|
5 |
-
const currentPageText = `(${currentPageIndex
|
6 |
|
7 |
return (
|
8 |
<div className="flex-1 hidden md:flex justify-center items-center">
|
2 |
const currentProgress = Math.round(
|
3 |
((currentPageIndex + 1) / totalPages) * 100,
|
4 |
)
|
5 |
+
const currentPageText = `(${currentPageIndex}/${totalPages - 1})`
|
6 |
|
7 |
return (
|
8 |
<div className="flex-1 hidden md:flex justify-center items-center">
|
src/Onboarding/components/StyledPreview.js
CHANGED
@@ -3,12 +3,18 @@ import { rawHandler } from '@wordpress/blocks'
|
|
3 |
import { useState, useRef, useEffect, useMemo } from '@wordpress/element'
|
4 |
import { __ } from '@wordpress/i18n'
|
5 |
import classNames from 'classnames'
|
6 |
-
import { parseThemeJson } from '@onboarding/api/WPApi'
|
|
|
7 |
import { useIsMounted } from '@onboarding/hooks/useIsMounted'
|
8 |
import { lowerImageQuality } from '@onboarding/lib/util'
|
9 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
10 |
import { SpinnerIcon } from '@onboarding/svg'
|
11 |
|
|
|
|
|
|
|
|
|
|
|
12 |
export const StylePreview = ({
|
13 |
style,
|
14 |
selectStyle,
|
@@ -18,33 +24,44 @@ export const StylePreview = ({
|
|
18 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
19 |
const isMounted = useIsMounted()
|
20 |
const [code, setCode] = useState('')
|
21 |
-
const [themeJson, setThemeJson] = useState('')
|
22 |
const [loaded, setLoaded] = useState(false)
|
23 |
const [inView, setInView] = useState(false)
|
24 |
const [hoverCleanup, setHoverCleanup] = useState(null)
|
|
|
25 |
const previewContainer = useRef(null)
|
26 |
const content = useRef(null)
|
27 |
const blockRef = useRef(null)
|
28 |
const observer = useRef(null)
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
const blocks = useMemo(
|
30 |
() => rawHandler({ HTML: lowerImageQuality(code) }),
|
31 |
[code],
|
32 |
)
|
33 |
const transformedStyles = useMemo(
|
34 |
-
() =>
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
[themeJson],
|
36 |
)
|
37 |
|
38 |
useEffect(() => {
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
}, [style?.themeJson])
|
48 |
|
49 |
useEffect(() => {
|
50 |
if (!themeJson || !style?.code) return
|
@@ -52,7 +69,13 @@ export const StylePreview = ({
|
|
52 |
.filter(Boolean)
|
53 |
.join('')
|
54 |
.replace(
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
'<!-- wp:paragraph {"className":"tmp-nav"} --><p class="tmp-nav">Home | About | Contact</p ><!-- /wp:paragraph -->',
|
57 |
)
|
58 |
setCode(code)
|
@@ -176,7 +199,7 @@ export const StylePreview = ({
|
|
176 |
selectStyle ? __('Press to select', 'extendify') : undefined
|
177 |
}
|
178 |
className={classNames(
|
179 |
-
'w-full overflow-hidden bg-transparent z-10',
|
180 |
{
|
181 |
relative: loaded,
|
182 |
'absolute opacity-0': !loaded,
|
@@ -185,7 +208,7 @@ export const StylePreview = ({
|
|
185 |
)}
|
186 |
onKeyDown={(e) => {
|
187 |
if (['Enter', 'Space', ' '].includes(e.key)) {
|
188 |
-
selectStyle && selectStyle(style)
|
189 |
}
|
190 |
}}
|
191 |
onMouseEnter={() => {
|
@@ -198,7 +221,16 @@ export const StylePreview = ({
|
|
198 |
setHoverCleanup(null)
|
199 |
}
|
200 |
}}
|
201 |
-
onClick={
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
<div ref={previewContainer} className="relative rounded-lg">
|
203 |
{inView ? (
|
204 |
<BlockPreview
|
3 |
import { useState, useRef, useEffect, useMemo } from '@wordpress/element'
|
4 |
import { __ } from '@wordpress/i18n'
|
5 |
import classNames from 'classnames'
|
6 |
+
import { getThemeVariations, parseThemeJson } from '@onboarding/api/WPApi'
|
7 |
+
import { useFetch } from '@onboarding/hooks/useFetch'
|
8 |
import { useIsMounted } from '@onboarding/hooks/useIsMounted'
|
9 |
import { lowerImageQuality } from '@onboarding/lib/util'
|
10 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
11 |
import { SpinnerIcon } from '@onboarding/svg'
|
12 |
|
13 |
+
const fetcher = async (themeJson) => {
|
14 |
+
if (!themeJson) return '{}'
|
15 |
+
const res = await parseThemeJson(JSON.stringify(themeJson))
|
16 |
+
return res?.styles ?? '{}'
|
17 |
+
}
|
18 |
export const StylePreview = ({
|
19 |
style,
|
20 |
selectStyle,
|
24 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
25 |
const isMounted = useIsMounted()
|
26 |
const [code, setCode] = useState('')
|
|
|
27 |
const [loaded, setLoaded] = useState(false)
|
28 |
const [inView, setInView] = useState(false)
|
29 |
const [hoverCleanup, setHoverCleanup] = useState(null)
|
30 |
+
const [variation, setVariation] = useState()
|
31 |
const previewContainer = useRef(null)
|
32 |
const content = useRef(null)
|
33 |
const blockRef = useRef(null)
|
34 |
const observer = useRef(null)
|
35 |
+
const { data: themeJson } = useFetch(
|
36 |
+
inView && variation ? variation : null,
|
37 |
+
fetcher,
|
38 |
+
)
|
39 |
+
const { data: variations } = useFetch('variations', getThemeVariations)
|
40 |
+
|
41 |
const blocks = useMemo(
|
42 |
() => rawHandler({ HTML: lowerImageQuality(code) }),
|
43 |
[code],
|
44 |
)
|
45 |
const transformedStyles = useMemo(
|
46 |
+
() =>
|
47 |
+
themeJson
|
48 |
+
? transformStyles(
|
49 |
+
[{ css: themeJson }],
|
50 |
+
'.editor-styles-wrapper',
|
51 |
+
)
|
52 |
+
: null,
|
53 |
[themeJson],
|
54 |
)
|
55 |
|
56 |
useEffect(() => {
|
57 |
+
if (!variations?.length) return
|
58 |
+
|
59 |
+
// Grab the styles from the theme.json variation
|
60 |
+
const variation = variations.find(
|
61 |
+
(theme) => theme.title === style.label,
|
62 |
+
)
|
63 |
+
setVariation(variation)
|
64 |
+
}, [style, variations])
|
|
|
65 |
|
66 |
useEffect(() => {
|
67 |
if (!themeJson || !style?.code) return
|
69 |
.filter(Boolean)
|
70 |
.join('')
|
71 |
.replace(
|
72 |
+
// <!-- wp:navigation --> <!-- /wp:navigation -->
|
73 |
+
/<!-- wp:navigation[.\S\s]*?\/wp:navigation -->/g,
|
74 |
+
'<!-- wp:paragraph {"className":"tmp-nav"} --><p class="tmp-nav">Home | About | Contact</p ><!-- /wp:paragraph -->',
|
75 |
+
)
|
76 |
+
.replace(
|
77 |
+
// <!-- wp:navigation /-->
|
78 |
+
/<!-- wp:navigation.*\/-->/g,
|
79 |
'<!-- wp:paragraph {"className":"tmp-nav"} --><p class="tmp-nav">Home | About | Contact</p ><!-- /wp:paragraph -->',
|
80 |
)
|
81 |
setCode(code)
|
199 |
selectStyle ? __('Press to select', 'extendify') : undefined
|
200 |
}
|
201 |
className={classNames(
|
202 |
+
'group w-full overflow-hidden bg-transparent z-10',
|
203 |
{
|
204 |
relative: loaded,
|
205 |
'absolute opacity-0': !loaded,
|
208 |
)}
|
209 |
onKeyDown={(e) => {
|
210 |
if (['Enter', 'Space', ' '].includes(e.key)) {
|
211 |
+
selectStyle && selectStyle({ ...style, variation })
|
212 |
}
|
213 |
}}
|
214 |
onMouseEnter={() => {
|
221 |
setHoverCleanup(null)
|
222 |
}
|
223 |
}}
|
224 |
+
onClick={
|
225 |
+
selectStyle
|
226 |
+
? () => selectStyle({ ...style, variation })
|
227 |
+
: () => {}
|
228 |
+
}>
|
229 |
+
{window?.extOnbData?.devbuild ? (
|
230 |
+
<div className="-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300">
|
231 |
+
{style?.label}
|
232 |
+
</div>
|
233 |
+
) : null}
|
234 |
<div ref={previewContainer} className="relative rounded-lg">
|
235 |
{inView ? (
|
236 |
<BlockPreview
|
src/Onboarding/hooks/useFetch.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import useSWR from 'swr'
|
2 |
|
3 |
export const useFetch = (params, fetcher, options = {}) => {
|
4 |
-
const { data: fetchedData, error } = useSWR(params, fetcher,
|
|
|
|
|
|
|
|
|
5 |
const data = fetchedData?.data ?? fetchedData
|
6 |
return { data, loading: !data && !error, error }
|
7 |
}
|
1 |
import useSWR from 'swr'
|
2 |
|
3 |
export const useFetch = (params, fetcher, options = {}) => {
|
4 |
+
const { data: fetchedData, error } = useSWR(params, fetcher, {
|
5 |
+
dedupingInterval: 60_000,
|
6 |
+
refreshInterval: 0,
|
7 |
+
...options,
|
8 |
+
})
|
9 |
const data = fetchedData?.data ?? fetchedData
|
10 |
return { data, loading: !data && !error, error }
|
11 |
}
|
src/Onboarding/hooks/useTelemetry.js
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { useEffect, useState } from '@wordpress/element'
|
2 |
+
import { createOrder } from '@onboarding/api/DataApi'
|
3 |
+
import { useGlobalStore } from '@onboarding/state/Global'
|
4 |
+
import { usePagesStore } from '@onboarding/state/Pages'
|
5 |
+
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
6 |
+
|
7 |
+
export const useTelemetry = () => {
|
8 |
+
const {
|
9 |
+
goals: selectedGoals,
|
10 |
+
pages: selectedPages,
|
11 |
+
plugins: selectedPlugins,
|
12 |
+
siteType: selectedSiteType,
|
13 |
+
style: selectedStyle,
|
14 |
+
} = useUserSelectionStore()
|
15 |
+
const { orderId, setOrderId, generating } = useGlobalStore()
|
16 |
+
const { pages, currentPageIndex } = usePagesStore()
|
17 |
+
const [url, setUrl] = useState()
|
18 |
+
const [stepProgress, setStepProgress] = useState([])
|
19 |
+
const [viewedStyles, setViewedStyles] = useState(new Set())
|
20 |
+
|
21 |
+
useEffect(() => {
|
22 |
+
const p = [...pages].map((p) => p[0])
|
23 |
+
// Add pages as they move around
|
24 |
+
setStepProgress((progress) =>
|
25 |
+
progress?.at(-1) === p[currentPageIndex]
|
26 |
+
? progress
|
27 |
+
: [...progress, p[currentPageIndex]],
|
28 |
+
)
|
29 |
+
}, [currentPageIndex, pages])
|
30 |
+
|
31 |
+
useEffect(() => {
|
32 |
+
if (!generating) return
|
33 |
+
// They pressed Launch
|
34 |
+
setStepProgress((progress) => [...progress, 'launched'])
|
35 |
+
}, [generating])
|
36 |
+
|
37 |
+
useEffect(() => {
|
38 |
+
if (!Object.keys(selectedStyle ?? {})?.length) return
|
39 |
+
// Add selectedStyle to the set
|
40 |
+
setViewedStyles((styles) => {
|
41 |
+
const newStyles = new Set(styles)
|
42 |
+
newStyles.add(selectedStyle.recordId)
|
43 |
+
return newStyles
|
44 |
+
})
|
45 |
+
}, [selectedStyle])
|
46 |
+
|
47 |
+
useEffect(() => {
|
48 |
+
let mode = 'onboarding'
|
49 |
+
const search = window.location?.search
|
50 |
+
mode = search?.indexOf('DEVMODE') > -1 ? 'onboarding-dev' : mode
|
51 |
+
mode = search?.indexOf('LOCALMODE') > -1 ? 'onboarding-local' : mode
|
52 |
+
setUrl(window?.extOnbData?.config?.api[mode])
|
53 |
+
}, [])
|
54 |
+
|
55 |
+
useEffect(() => {
|
56 |
+
if (!url || orderId?.length) return
|
57 |
+
// Create a order that persists over local storage
|
58 |
+
createOrder().then((response) => {
|
59 |
+
setOrderId(response.data.id)
|
60 |
+
})
|
61 |
+
}, [url, setOrderId, orderId])
|
62 |
+
|
63 |
+
useEffect(() => {
|
64 |
+
if (!url || !orderId) return
|
65 |
+
let id = 0
|
66 |
+
id = window.setTimeout(() => {
|
67 |
+
fetch(`${url}/progress`, {
|
68 |
+
method: 'POST',
|
69 |
+
headers: { 'Content-type': 'application/json' },
|
70 |
+
body: JSON.stringify({
|
71 |
+
orderId,
|
72 |
+
selectedGoals: selectedGoals?.map((g) => g.id),
|
73 |
+
selectedPages: selectedPages?.map((p) => p.id),
|
74 |
+
selectedPlugins,
|
75 |
+
selectedSiteType: selectedSiteType?.recordId
|
76 |
+
? [selectedSiteType.recordId]
|
77 |
+
: [],
|
78 |
+
selectedStyle: selectedStyle?.recordId
|
79 |
+
? [selectedStyle.recordId]
|
80 |
+
: [],
|
81 |
+
stepProgress,
|
82 |
+
pages,
|
83 |
+
viewedStyles: [...viewedStyles].slice(1),
|
84 |
+
}),
|
85 |
+
})
|
86 |
+
}, 1000)
|
87 |
+
return () => window.clearTimeout(id)
|
88 |
+
}, [
|
89 |
+
url,
|
90 |
+
selectedGoals,
|
91 |
+
selectedPages,
|
92 |
+
selectedPlugins,
|
93 |
+
selectedSiteType,
|
94 |
+
selectedStyle,
|
95 |
+
pages,
|
96 |
+
orderId,
|
97 |
+
stepProgress,
|
98 |
+
viewedStyles,
|
99 |
+
])
|
100 |
+
}
|
src/Onboarding/layouts/PageLayout.js
CHANGED
@@ -10,6 +10,7 @@ export const PageLayout = ({ children, includeNav = true }) => {
|
|
10 |
{window.extOnbData?.partnerLogo && (
|
11 |
<div className="pb-8">
|
12 |
<img
|
|
|
13 |
src={window.extOnbData.partnerLogo}
|
14 |
alt={window.extOnbData?.partnerName ?? ''}
|
15 |
/>
|
@@ -23,9 +24,9 @@ export const PageLayout = ({ children, includeNav = true }) => {
|
|
23 |
{__('Powered by', 'extendify')}
|
24 |
</span>
|
25 |
<span className="relative">
|
26 |
-
<Logo className="logo text-
|
27 |
<span className="absolute -bottom-2 right-3 font-semibold tracking-tight">
|
28 |
-
|
29 |
</span>
|
30 |
</span>
|
31 |
</div>
|
10 |
{window.extOnbData?.partnerLogo && (
|
11 |
<div className="pb-8">
|
12 |
<img
|
13 |
+
style={{ maxWidth: '200px' }}
|
14 |
src={window.extOnbData.partnerLogo}
|
15 |
alt={window.extOnbData?.partnerName ?? ''}
|
16 |
/>
|
24 |
{__('Powered by', 'extendify')}
|
25 |
</span>
|
26 |
<span className="relative">
|
27 |
+
<Logo className="logo text-partner-primary-text w-28" />
|
28 |
<span className="absolute -bottom-2 right-3 font-semibold tracking-tight">
|
29 |
+
Launch
|
30 |
</span>
|
31 |
</span>
|
32 |
</div>
|
src/Onboarding/lib/pages.js
CHANGED
@@ -28,10 +28,11 @@ import {
|
|
28 |
// fetchData as suggestedPluginsData,
|
29 |
// } from '@onboarding/pages/SuggestedPlugins'
|
30 |
|
|
|
31 |
export const pages = [
|
32 |
-
['
|
33 |
[
|
34 |
-
'site-
|
35 |
{
|
36 |
component: SiteInformation,
|
37 |
fetcher: siteInfoFetcher,
|
@@ -47,7 +48,7 @@ export const pages = [
|
|
47 |
// },
|
48 |
// ],
|
49 |
[
|
50 |
-
'site-type
|
51 |
{
|
52 |
component: SiteTypeSelect,
|
53 |
fetcher: siteTypeFetcher,
|
@@ -62,14 +63,14 @@ export const pages = [
|
|
62 |
fetchData: goalsData,
|
63 |
},
|
64 |
],
|
65 |
-
['
|
66 |
[
|
67 |
-
'
|
68 |
{
|
69 |
component: SitePages,
|
70 |
fetcher: availablePagesFetcher,
|
71 |
fetchData: availablePagesData,
|
72 |
},
|
73 |
],
|
74 |
-
['
|
75 |
]
|
28 |
// fetchData as suggestedPluginsData,
|
29 |
// } from '@onboarding/pages/SuggestedPlugins'
|
30 |
|
31 |
+
// pages added here will need to match the orders table on the Styles base
|
32 |
export const pages = [
|
33 |
+
['welcome', { component: Landing }],
|
34 |
[
|
35 |
+
'site-title',
|
36 |
{
|
37 |
component: SiteInformation,
|
38 |
fetcher: siteInfoFetcher,
|
48 |
// },
|
49 |
// ],
|
50 |
[
|
51 |
+
'site-type',
|
52 |
{
|
53 |
component: SiteTypeSelect,
|
54 |
fetcher: siteTypeFetcher,
|
63 |
fetchData: goalsData,
|
64 |
},
|
65 |
],
|
66 |
+
['style', { component: SiteStyle }],
|
67 |
[
|
68 |
+
'pages',
|
69 |
{
|
70 |
component: SitePages,
|
71 |
fetcher: availablePagesFetcher,
|
72 |
fetchData: availablePagesData,
|
73 |
},
|
74 |
],
|
75 |
+
['confirmation', { component: SiteSummary }],
|
76 |
]
|
src/Onboarding/lib/wp.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import { getTemplate } from '@onboarding/api/DataApi'
|
2 |
import {
|
3 |
updateOption,
|
4 |
-
saveThemeJson as saveThemeJsonWP,
|
5 |
createPage,
|
|
|
6 |
} from '@onboarding/api/WPApi'
|
7 |
|
8 |
export const createWordpressPages = async (pages, siteType, style) => {
|
@@ -28,7 +28,7 @@ export const createWordpressPages = async (pages, siteType, style) => {
|
|
28 |
name,
|
29 |
status: 'publish',
|
30 |
content: content,
|
31 |
-
|
32 |
})
|
33 |
pageIds[name] = { id: result.id, title: page.title }
|
34 |
}
|
@@ -47,4 +47,5 @@ export const createWordpressPages = async (pages, siteType, style) => {
|
|
47 |
return pageIds
|
48 |
}
|
49 |
|
50 |
-
export const
|
|
1 |
import { getTemplate } from '@onboarding/api/DataApi'
|
2 |
import {
|
3 |
updateOption,
|
|
|
4 |
createPage,
|
5 |
+
updateThemeVariation,
|
6 |
} from '@onboarding/api/WPApi'
|
7 |
|
8 |
export const createWordpressPages = async (pages, siteType, style) => {
|
28 |
name,
|
29 |
status: 'publish',
|
30 |
content: content,
|
31 |
+
template: 'no-title',
|
32 |
})
|
33 |
pageIds[name] = { id: result.id, title: page.title }
|
34 |
}
|
47 |
return pageIds
|
48 |
}
|
49 |
|
50 |
+
export const updateGlobalStyleVariant = (variation) =>
|
51 |
+
updateThemeVariation(window.extOnbData.globalStylesPostID, variation)
|
src/Onboarding/pages/CreatingSite.js
CHANGED
@@ -1,25 +1,25 @@
|
|
1 |
-
import { useSelect } from '@wordpress/data'
|
2 |
import { useEffect, useState, useCallback } from '@wordpress/element'
|
3 |
import { __, sprintf } from '@wordpress/i18n'
|
4 |
-
import { createOrder } from '@onboarding/api/DataApi'
|
5 |
import { installPlugin, updateTemplatePart } from '@onboarding/api/WPApi'
|
6 |
import { updateOption } from '@onboarding/api/WPApi'
|
7 |
import { useWarnOnLeave } from '@onboarding/hooks/useWarnOnLeave'
|
8 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
9 |
-
import {
|
10 |
-
|
|
|
|
|
11 |
import { useGlobalStore } from '@onboarding/state/Global'
|
12 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
13 |
import { Checkmark, SpinnerIcon } from '@onboarding/svg'
|
14 |
|
15 |
export const CreatingSite = () => {
|
16 |
const canLaunch = useUserSelectionStore((state) => state.canLaunch())
|
17 |
-
const { siteType, siteInformation, pages, style,
|
18 |
useUserSelectionStore()
|
19 |
const [info, setInfo] = useState([])
|
20 |
-
const theme = useSelect((select) => select('core').getCurrentTheme())
|
21 |
const inform = (msg) => setInfo((info) => [msg, ...info])
|
22 |
useWarnOnLeave()
|
|
|
23 |
const doEverything = useCallback(async () => {
|
24 |
if (!canLaunch) {
|
25 |
throw new Error(__('Site is not ready to launch.', 'extendify'))
|
@@ -28,7 +28,7 @@ export const CreatingSite = () => {
|
|
28 |
await updateOption('blogname', siteInformation.title)
|
29 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
30 |
inform(__('Installing your theme', 'extendify'))
|
31 |
-
await
|
32 |
if (plugins?.length) {
|
33 |
inform(__('Installing plugins', 'extendify'))
|
34 |
await Promise.all([
|
@@ -36,55 +36,31 @@ export const CreatingSite = () => {
|
|
36 |
new Promise((resolve) => setTimeout(resolve, 2000)),
|
37 |
])
|
38 |
}
|
39 |
-
await saveThemeJson(style)
|
40 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
41 |
inform(__('Inserting header area', 'extendify'))
|
42 |
-
await updateTemplatePart(
|
43 |
-
`${theme?.stylesheet}//header`,
|
44 |
-
style?.headerCode,
|
45 |
-
)
|
46 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
47 |
inform(__('Generating page content', 'extendify'))
|
48 |
const pageIds = await createWordpressPages(pages, siteType, style)
|
49 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
50 |
inform(__('Inserting footer area', 'extendify'))
|
51 |
-
await updateTemplatePart(
|
52 |
-
`${theme?.stylesheet}//footer`,
|
53 |
-
style?.footerCode,
|
54 |
-
)
|
55 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
56 |
inform(__('Finalizing your site', 'extendify'))
|
57 |
-
await createOrder({
|
58 |
-
siteType: [siteType.recordId],
|
59 |
-
style: [style.recordId],
|
60 |
-
pages: pages?.map((p) => p.id),
|
61 |
-
goals: goals?.map((g) => g.id),
|
62 |
-
})
|
63 |
return pageIds
|
64 |
-
}, [
|
65 |
-
pages,
|
66 |
-
goals,
|
67 |
-
plugins,
|
68 |
-
siteType,
|
69 |
-
style,
|
70 |
-
canLaunch,
|
71 |
-
theme?.stylesheet,
|
72 |
-
siteInformation.title,
|
73 |
-
])
|
74 |
|
75 |
useEffect(() => {
|
76 |
-
if (!theme?.stylesheet) return
|
77 |
doEverything().then((pageIds) => {
|
78 |
// This will load up the finished page
|
79 |
useGlobalStore.setState({ generatedPages: pageIds })
|
80 |
})
|
81 |
-
}, [doEverything
|
82 |
|
83 |
-
if (!canLaunch) return <CreateError />
|
84 |
return (
|
85 |
<PageLayout includeNav={false}>
|
86 |
<div>
|
87 |
-
<h1 className="text-3xl text-
|
88 |
{__('Building your site now!', 'extendify')}
|
89 |
</h1>
|
90 |
<p className="text-base">
|
|
|
1 |
import { useEffect, useState, useCallback } from '@wordpress/element'
|
2 |
import { __, sprintf } from '@wordpress/i18n'
|
|
|
3 |
import { installPlugin, updateTemplatePart } from '@onboarding/api/WPApi'
|
4 |
import { updateOption } from '@onboarding/api/WPApi'
|
5 |
import { useWarnOnLeave } from '@onboarding/hooks/useWarnOnLeave'
|
6 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
7 |
+
import {
|
8 |
+
createWordpressPages,
|
9 |
+
updateGlobalStyleVariant,
|
10 |
+
} from '@onboarding/lib/wp'
|
11 |
import { useGlobalStore } from '@onboarding/state/Global'
|
12 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
13 |
import { Checkmark, SpinnerIcon } from '@onboarding/svg'
|
14 |
|
15 |
export const CreatingSite = () => {
|
16 |
const canLaunch = useUserSelectionStore((state) => state.canLaunch())
|
17 |
+
const { siteType, siteInformation, pages, style, plugins } =
|
18 |
useUserSelectionStore()
|
19 |
const [info, setInfo] = useState([])
|
|
|
20 |
const inform = (msg) => setInfo((info) => [msg, ...info])
|
21 |
useWarnOnLeave()
|
22 |
+
|
23 |
const doEverything = useCallback(async () => {
|
24 |
if (!canLaunch) {
|
25 |
throw new Error(__('Site is not ready to launch.', 'extendify'))
|
28 |
await updateOption('blogname', siteInformation.title)
|
29 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
30 |
inform(__('Installing your theme', 'extendify'))
|
31 |
+
await updateGlobalStyleVariant(style.variation)
|
32 |
if (plugins?.length) {
|
33 |
inform(__('Installing plugins', 'extendify'))
|
34 |
await Promise.all([
|
36 |
new Promise((resolve) => setTimeout(resolve, 2000)),
|
37 |
])
|
38 |
}
|
|
|
39 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
40 |
inform(__('Inserting header area', 'extendify'))
|
41 |
+
await updateTemplatePart('extendable//header', style?.headerCode)
|
|
|
|
|
|
|
42 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
43 |
inform(__('Generating page content', 'extendify'))
|
44 |
const pageIds = await createWordpressPages(pages, siteType, style)
|
45 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
46 |
inform(__('Inserting footer area', 'extendify'))
|
47 |
+
await updateTemplatePart('extendable//footer', style?.footerCode)
|
|
|
|
|
|
|
48 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
49 |
inform(__('Finalizing your site', 'extendify'))
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
return pageIds
|
51 |
+
}, [pages, plugins, siteType, style, canLaunch, siteInformation.title])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
|
53 |
useEffect(() => {
|
|
|
54 |
doEverything().then((pageIds) => {
|
55 |
// This will load up the finished page
|
56 |
useGlobalStore.setState({ generatedPages: pageIds })
|
57 |
})
|
58 |
+
}, [doEverything])
|
59 |
|
|
|
60 |
return (
|
61 |
<PageLayout includeNav={false}>
|
62 |
<div>
|
63 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
64 |
{__('Building your site now!', 'extendify')}
|
65 |
</h1>
|
66 |
<p className="text-base">
|
src/Onboarding/pages/Finished.js
CHANGED
@@ -24,7 +24,7 @@ export const Finished = () => {
|
|
24 |
return (
|
25 |
<PageLayout includeNav={false}>
|
26 |
<div>
|
27 |
-
<h1 className="text-3xl text-
|
28 |
{sprintf(
|
29 |
__(
|
30 |
'Your site has been successfully created. Enjoy!',
|
24 |
return (
|
25 |
<PageLayout includeNav={false}>
|
26 |
<div>
|
27 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
28 |
{sprintf(
|
29 |
__(
|
30 |
'Your site has been successfully created. Enjoy!',
|
src/Onboarding/pages/Goals.js
CHANGED
@@ -26,7 +26,7 @@ export const Goals = () => {
|
|
26 |
return (
|
27 |
<PageLayout>
|
28 |
<div>
|
29 |
-
<h1 className="text-3xl text-
|
30 |
{__(
|
31 |
'What do you want to accomplish with this new site?',
|
32 |
'extendify',
|
@@ -51,21 +51,23 @@ export const Goals = () => {
|
|
51 |
className="w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select">
|
52 |
{/* Added so forms can be submitted by pressing Enter */}
|
53 |
<input type="submit" className="hidden" />
|
54 |
-
{
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
|
|
69 |
</form>
|
70 |
)}
|
71 |
</div>
|
26 |
return (
|
27 |
<PageLayout>
|
28 |
<div>
|
29 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
30 |
{__(
|
31 |
'What do you want to accomplish with this new site?',
|
32 |
'extendify',
|
51 |
className="w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select">
|
52 |
{/* Added so forms can be submitted by pressing Enter */}
|
53 |
<input type="submit" className="hidden" />
|
54 |
+
{/* Seems excessive but this keeps failing and crashing randomly */}
|
55 |
+
{goals && goals?.length > 0
|
56 |
+
? goals?.map((goal, index) => (
|
57 |
+
<div
|
58 |
+
key={goal.id}
|
59 |
+
className="border p-4"
|
60 |
+
ref={
|
61 |
+
index === 0 ? initialFocus : undefined
|
62 |
+
}>
|
63 |
+
<CheckboxControl
|
64 |
+
label={goal.title}
|
65 |
+
checked={has('goals', goal)}
|
66 |
+
onChange={() => toggle('goals', goal)}
|
67 |
+
/>
|
68 |
+
</div>
|
69 |
+
))
|
70 |
+
: null}
|
71 |
</form>
|
72 |
)}
|
73 |
</div>
|
src/Onboarding/pages/Landing.js
CHANGED
@@ -28,12 +28,12 @@ export const Landing = () => {
|
|
28 |
return (
|
29 |
<PageLayout>
|
30 |
<div>
|
31 |
-
<h1 className="text-3xl text-
|
32 |
{__('Welcome to Your WordPress Site', 'extendify')}
|
33 |
</h1>
|
34 |
<p className="text-base opacity-70">
|
35 |
{__(
|
36 |
-
|
37 |
'extendify',
|
38 |
)}
|
39 |
</p>
|
@@ -56,7 +56,7 @@ export const Landing = () => {
|
|
56 |
}}
|
57 |
/>
|
58 |
<p className="font-bold text-lg text-gray-900">
|
59 |
-
|
60 |
</p>
|
61 |
<p className="text-base text-gray-900">
|
62 |
{__(
|
28 |
return (
|
29 |
<PageLayout>
|
30 |
<div>
|
31 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
32 |
{__('Welcome to Your WordPress Site', 'extendify')}
|
33 |
</h1>
|
34 |
<p className="text-base opacity-70">
|
35 |
{__(
|
36 |
+
'Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.',
|
37 |
'extendify',
|
38 |
)}
|
39 |
</p>
|
56 |
}}
|
57 |
/>
|
58 |
<p className="font-bold text-lg text-gray-900">
|
59 |
+
Extendify Launch
|
60 |
</p>
|
61 |
<p className="text-base text-gray-900">
|
62 |
{__(
|
src/Onboarding/pages/{CreateError.js → NeedsTheme.js}
RENAMED
@@ -1,25 +1,25 @@
|
|
1 |
import { __ } from '@wordpress/i18n'
|
2 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
3 |
|
4 |
-
export const
|
5 |
return (
|
6 |
<PageLayout includeNav={false}>
|
7 |
<div>
|
8 |
<h1 className="text-3xl text-white mb-4 mt-0">
|
9 |
-
{__('
|
10 |
</h1>
|
11 |
</div>
|
12 |
<div className="w-full">
|
13 |
<p className="mt-0 mb-8 text-base">
|
14 |
{__(
|
15 |
-
|
16 |
'extendify',
|
17 |
)}
|
18 |
</p>
|
19 |
<div className="flex flex-col items-start space-y-4 text-base">
|
20 |
<a
|
21 |
-
href={`${window.extOnbData.site}/wp-admin/
|
22 |
-
{__('
|
23 |
</a>
|
24 |
</div>
|
25 |
</div>
|
1 |
import { __ } from '@wordpress/i18n'
|
2 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
3 |
|
4 |
+
export const NeedsTheme = () => {
|
5 |
return (
|
6 |
<PageLayout includeNav={false}>
|
7 |
<div>
|
8 |
<h1 className="text-3xl text-white mb-4 mt-0">
|
9 |
+
{__('Hey, one more thing before we start.', 'extendify')}
|
10 |
</h1>
|
11 |
</div>
|
12 |
<div className="w-full">
|
13 |
<p className="mt-0 mb-8 text-base">
|
14 |
{__(
|
15 |
+
'Hey there, Launch is powered by Extendable and is required to proceed. You can install it from the link below and start over once activated.',
|
16 |
'extendify',
|
17 |
)}
|
18 |
</p>
|
19 |
<div className="flex flex-col items-start space-y-4 text-base">
|
20 |
<a
|
21 |
+
href={`${window.extOnbData.site}/wp-admin/theme-install.php?theme=extendable`}>
|
22 |
+
{__('Take me there')}
|
23 |
</a>
|
24 |
</div>
|
25 |
</div>
|
src/Onboarding/pages/SiteInformation.js
CHANGED
@@ -31,7 +31,7 @@ export const SiteInformation = () => {
|
|
31 |
return (
|
32 |
<PageLayout>
|
33 |
<div>
|
34 |
-
<h1 className="text-3xl text-
|
35 |
{__("What's the name of your new site?", 'extendify')}
|
36 |
</h1>
|
37 |
<p className="text-base opacity-70">
|
31 |
return (
|
32 |
<PageLayout>
|
33 |
<div>
|
34 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
35 |
{__("What's the name of your new site?", 'extendify')}
|
36 |
</h1>
|
37 |
<p className="text-base opacity-70">
|
src/Onboarding/pages/SitePages.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
import { CheckboxControl } from '@wordpress/components'
|
2 |
import { useState, useEffect } from '@wordpress/element'
|
3 |
import { __ } from '@wordpress/i18n'
|
|
|
4 |
import { getLayoutTypes } from '@onboarding/api/DataApi'
|
5 |
import { PagePreview } from '@onboarding/components/PagePreview'
|
6 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
@@ -8,13 +8,8 @@ import { PageLayout } from '@onboarding/layouts/PageLayout'
|
|
8 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
9 |
|
10 |
export const fetcher = async () => {
|
11 |
-
// TODO: these transforms should be moved to the server eventually
|
12 |
const layoutTypes = await getLayoutTypes()
|
13 |
-
const pageRecords = layoutTypes?.data
|
14 |
-
id: record.id,
|
15 |
-
slug: record.slug,
|
16 |
-
title: record.title,
|
17 |
-
}))
|
18 |
if (!pageRecords?.length) throw new Error('Error fetching pages')
|
19 |
|
20 |
// Home first and sort the other pages
|
@@ -29,31 +24,43 @@ export const fetchData = () => {
|
|
29 |
}
|
30 |
export const SitePages = () => {
|
31 |
const { data: availablePages } = useFetch(fetchData, fetcher)
|
32 |
-
const [
|
33 |
-
const {
|
|
|
34 |
|
35 |
-
// Toggle all pages on/off (except home)
|
36 |
-
const updateToggleStatus = () => {
|
37 |
-
availablePages?.map((page) => {
|
38 |
-
if (page.slug === 'home') return
|
39 |
-
toggleAllPages ? remove('pages', page) : add('pages', page)
|
40 |
-
})
|
41 |
-
}
|
42 |
-
|
43 |
-
// Every time the number of selected pages changes, update the checkbox value
|
44 |
useEffect(() => {
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
// Select all pages by default
|
49 |
useEffect(() => {
|
50 |
-
|
51 |
-
|
|
|
52 |
|
53 |
return (
|
54 |
<PageLayout>
|
55 |
<div>
|
56 |
-
<h1 className="text-3xl text-
|
57 |
{__('What pages do you want on this site?', 'extendify')}
|
58 |
</h1>
|
59 |
<p className="text-base opacity-70">
|
@@ -61,25 +68,17 @@ export const SitePages = () => {
|
|
61 |
</p>
|
62 |
</div>
|
63 |
<div className="w-full">
|
64 |
-
<
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
<CheckboxControl
|
73 |
-
label={__('Include all pages', 'extendify')}
|
74 |
-
checked={toggleAllPages}
|
75 |
-
onChange={updateToggleStatus}
|
76 |
-
/>
|
77 |
-
</div>
|
78 |
-
<div className="lg:flex space-y-6 -m-8 lg:space-y-0 flex-wrap">
|
79 |
-
{availablePages?.map((page) => {
|
80 |
return (
|
81 |
<div
|
82 |
-
className="p-
|
83 |
style={{ height: 442.5, width: 318.75 }}
|
84 |
key={page.id}>
|
85 |
<PagePreview
|
|
|
1 |
import { useState, useEffect } from '@wordpress/element'
|
2 |
import { __ } from '@wordpress/i18n'
|
3 |
+
import { useIsMounted } from '@library/hooks/helpers'
|
4 |
import { getLayoutTypes } from '@onboarding/api/DataApi'
|
5 |
import { PagePreview } from '@onboarding/components/PagePreview'
|
6 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
8 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
9 |
|
10 |
export const fetcher = async () => {
|
|
|
11 |
const layoutTypes = await getLayoutTypes()
|
12 |
+
const pageRecords = layoutTypes?.data ?? []
|
|
|
|
|
|
|
|
|
13 |
if (!pageRecords?.length) throw new Error('Error fetching pages')
|
14 |
|
15 |
// Home first and sort the other pages
|
24 |
}
|
25 |
export const SitePages = () => {
|
26 |
const { data: availablePages } = useFetch(fetchData, fetcher)
|
27 |
+
const [pagesToShow, setPagesToShow] = useState([])
|
28 |
+
const { add, goals, reset } = useUserSelectionStore()
|
29 |
+
const isMounted = useIsMounted()
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
useEffect(() => {
|
32 |
+
if (!availablePages?.length) return
|
33 |
+
const pagesbyGoal = availablePages.filter((page) => {
|
34 |
+
// Show all if the user hasn't selected any goals
|
35 |
+
if (!goals?.length) return true
|
36 |
+
// If this page has no associated goals, show it
|
37 |
+
if (!page?.goals?.length) return true
|
38 |
+
// If this page has goals that the user has selected, show it
|
39 |
+
return (
|
40 |
+
// Check whether the goals intersect
|
41 |
+
page?.goals?.some((goal) => goals.some((g) => goal == g.id)) ??
|
42 |
+
true
|
43 |
+
)
|
44 |
+
})
|
45 |
+
;(async () => {
|
46 |
+
for (const page of pagesbyGoal) {
|
47 |
+
if (!isMounted.current) return
|
48 |
+
setPagesToShow((pages) => [...pages, page])
|
49 |
+
await new Promise((resolve) => setTimeout(resolve, 100))
|
50 |
+
}
|
51 |
+
})()
|
52 |
+
}, [availablePages, goals, isMounted])
|
53 |
|
54 |
// Select all pages by default
|
55 |
useEffect(() => {
|
56 |
+
reset('pages')
|
57 |
+
pagesToShow?.map((page) => add('pages', page))
|
58 |
+
}, [pagesToShow, add, reset])
|
59 |
|
60 |
return (
|
61 |
<PageLayout>
|
62 |
<div>
|
63 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
64 |
{__('What pages do you want on this site?', 'extendify')}
|
65 |
</h1>
|
66 |
<p className="text-base opacity-70">
|
68 |
</p>
|
69 |
</div>
|
70 |
<div className="w-full">
|
71 |
+
<p className="mt-0 mb-8 text-base">
|
72 |
+
{__(
|
73 |
+
"Pick the pages you'd like to add to your site",
|
74 |
+
'extendify',
|
75 |
+
)}
|
76 |
+
</p>
|
77 |
+
<div className="lg:flex space-y-6 -m-6 mt-0 mb-12 lg:space-y-0 flex-wrap">
|
78 |
+
{pagesToShow?.map((page) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
return (
|
80 |
<div
|
81 |
+
className="p-6 relative"
|
82 |
style={{ height: 442.5, width: 318.75 }}
|
83 |
key={page.id}>
|
84 |
<PagePreview
|
src/Onboarding/pages/SiteStyle.js
CHANGED
@@ -5,43 +5,24 @@ import { StylePreview } from '@onboarding/components/StyledPreview'
|
|
5 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
6 |
import { useIsMountedLayout } from '@onboarding/hooks/useIsMounted'
|
7 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
8 |
-
import { findTheCode } from '@onboarding/lib/util'
|
9 |
import { usePagesStore } from '@onboarding/state/Pages'
|
10 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
11 |
import { SpinnerIcon } from '@onboarding/svg'
|
12 |
|
13 |
-
export const fetcher =
|
14 |
-
const res = await getStyles(params)
|
15 |
-
// TODO: these transforms should be moved to the server eventually
|
16 |
-
return res?.data
|
17 |
-
?.map((style) => {
|
18 |
-
return {
|
19 |
-
label: style.title,
|
20 |
-
slug: style.slug,
|
21 |
-
recordId: style.id,
|
22 |
-
themeJson: style?.themeJson,
|
23 |
-
homeBaseLayout: style?.homeBaseLayout,
|
24 |
-
header: style?.header,
|
25 |
-
footer: style?.footer,
|
26 |
-
kit: style?.kit,
|
27 |
-
headerCode: style?.headerCode,
|
28 |
-
footerCode: style?.footerCode,
|
29 |
-
code: findTheCode(style),
|
30 |
-
}
|
31 |
-
})
|
32 |
-
?.filter((style) => style.code)
|
33 |
-
}
|
34 |
export const fetchData = (siteType) => {
|
35 |
siteType = siteType ?? useUserSelectionStore?.getState().siteType
|
36 |
return {
|
37 |
key: 'site-style',
|
38 |
siteType: siteType?.slug ?? 'default',
|
|
|
39 |
}
|
40 |
}
|
41 |
export const SiteStyle = () => {
|
42 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
43 |
const nextPage = usePagesStore((state) => state.nextPage)
|
44 |
-
const { data, loading } = useFetch(fetchData, fetcher)
|
|
|
45 |
const isMounted = useIsMountedLayout()
|
46 |
const selectStyle = useCallback(
|
47 |
(style) => {
|
@@ -53,15 +34,15 @@ export const SiteStyle = () => {
|
|
53 |
const [styles, setStyles] = useState([])
|
54 |
|
55 |
useEffect(() => {
|
56 |
-
if (!
|
57 |
;(async () => {
|
58 |
-
for (const style of
|
59 |
if (!isMounted.current) return
|
60 |
setStyles((styles) => [...styles, style])
|
61 |
await new Promise((resolve) => setTimeout(resolve, 1000))
|
62 |
}
|
63 |
})()
|
64 |
-
}, [
|
65 |
|
66 |
useEffect(() => {
|
67 |
if (styles?.length && !useUserSelectionStore.getState().style) {
|
@@ -72,7 +53,7 @@ export const SiteStyle = () => {
|
|
72 |
return (
|
73 |
<PageLayout>
|
74 |
<div>
|
75 |
-
<h1 className="text-3xl text-
|
76 |
{sprintf(
|
77 |
__(
|
78 |
'Now pick a design for your new %s site.',
|
@@ -107,7 +88,8 @@ export const SiteStyle = () => {
|
|
107 |
/>
|
108 |
</div>
|
109 |
))}
|
110 |
-
{
|
|
|
111 |
<div
|
112 |
key={data.slug}
|
113 |
style={{ height: 590, width: 425 }}
|
5 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
6 |
import { useIsMountedLayout } from '@onboarding/hooks/useIsMounted'
|
7 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
|
|
8 |
import { usePagesStore } from '@onboarding/state/Pages'
|
9 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
10 |
import { SpinnerIcon } from '@onboarding/svg'
|
11 |
|
12 |
+
export const fetcher = (params) => getStyles(params)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
export const fetchData = (siteType) => {
|
14 |
siteType = siteType ?? useUserSelectionStore?.getState().siteType
|
15 |
return {
|
16 |
key: 'site-style',
|
17 |
siteType: siteType?.slug ?? 'default',
|
18 |
+
styles: siteType?.styles ?? [],
|
19 |
}
|
20 |
}
|
21 |
export const SiteStyle = () => {
|
22 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
23 |
const nextPage = usePagesStore((state) => state.nextPage)
|
24 |
+
const { data: styleData, loading } = useFetch(fetchData, fetcher)
|
25 |
+
|
26 |
const isMounted = useIsMountedLayout()
|
27 |
const selectStyle = useCallback(
|
28 |
(style) => {
|
34 |
const [styles, setStyles] = useState([])
|
35 |
|
36 |
useEffect(() => {
|
37 |
+
if (!styleData?.length) return
|
38 |
;(async () => {
|
39 |
+
for (const style of styleData) {
|
40 |
if (!isMounted.current) return
|
41 |
setStyles((styles) => [...styles, style])
|
42 |
await new Promise((resolve) => setTimeout(resolve, 1000))
|
43 |
}
|
44 |
})()
|
45 |
+
}, [styleData, isMounted])
|
46 |
|
47 |
useEffect(() => {
|
48 |
if (styles?.length && !useUserSelectionStore.getState().style) {
|
53 |
return (
|
54 |
<PageLayout>
|
55 |
<div>
|
56 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
57 |
{sprintf(
|
58 |
__(
|
59 |
'Now pick a design for your new %s site.',
|
88 |
/>
|
89 |
</div>
|
90 |
))}
|
91 |
+
{/* Budget skeleton loaders */}
|
92 |
+
{styleData?.slice(styles?.length).map((data) => (
|
93 |
<div
|
94 |
key={data.slug}
|
95 |
style={{ height: 590, width: 425 }}
|
src/Onboarding/pages/SiteSummary.js
CHANGED
@@ -14,7 +14,7 @@ export const SiteSummary = () => {
|
|
14 |
return (
|
15 |
<PageLayout>
|
16 |
<div>
|
17 |
-
<h1 className="text-3xl text-
|
18 |
{__("Let's launch your site!", 'extendify')}
|
19 |
</h1>
|
20 |
<p className="text-base">
|
@@ -33,7 +33,7 @@ export const SiteSummary = () => {
|
|
33 |
{siteType?.label ? (
|
34 |
<div
|
35 |
className="p-4 py-2 rounded-lg text-base flex bg-transparent border border-gray-600 cursor-pointer"
|
36 |
-
onClick={() => setPage('site-type
|
37 |
title={__(
|
38 |
'Press to change the site type',
|
39 |
'extendify',
|
@@ -42,7 +42,7 @@ export const SiteSummary = () => {
|
|
42 |
</div>
|
43 |
) : (
|
44 |
<button
|
45 |
-
onClick={() => setPage('site-type
|
46 |
className="bg-transparent text-partner-primary underline text-base">
|
47 |
{__('Press to set a site type', 'extendify')}
|
48 |
</button>
|
@@ -55,7 +55,7 @@ export const SiteSummary = () => {
|
|
55 |
{style?.label ? (
|
56 |
<div
|
57 |
className="cursor-pointer overflow-hidden border rounded-lg"
|
58 |
-
onClick={() => setPage('
|
59 |
title={__(
|
60 |
'Press to change the site style',
|
61 |
'extendify',
|
@@ -72,7 +72,7 @@ export const SiteSummary = () => {
|
|
72 |
</div>
|
73 |
) : (
|
74 |
<button
|
75 |
-
onClick={() => setPage('
|
76 |
className="bg-transparent text-partner-primary underline text-base">
|
77 |
{__('Press to set a style type', 'extendify')}
|
78 |
</button>
|
@@ -85,16 +85,16 @@ export const SiteSummary = () => {
|
|
85 |
{pages.length > 0 ? (
|
86 |
<div
|
87 |
className="flex items-start space-x-2 cursor-pointer w-full"
|
88 |
-
onClick={() => setPage('
|
89 |
title={__(
|
90 |
'Press to change the selected pages',
|
91 |
'extendify',
|
92 |
)}>
|
93 |
-
<div className="lg:flex space-y-6 -m-
|
94 |
{pages?.map((page) => {
|
95 |
return (
|
96 |
<div
|
97 |
-
className="p-
|
98 |
style={{
|
99 |
height: 354,
|
100 |
width: 255,
|
@@ -112,7 +112,7 @@ export const SiteSummary = () => {
|
|
112 |
</div>
|
113 |
) : (
|
114 |
<button
|
115 |
-
onClick={() => setPage('
|
116 |
className="bg-transparent text-partner-primary underline text-base">
|
117 |
{__('Press to set your pages', 'extendify')}
|
118 |
</button>
|
14 |
return (
|
15 |
<PageLayout>
|
16 |
<div>
|
17 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
18 |
{__("Let's launch your site!", 'extendify')}
|
19 |
</h1>
|
20 |
<p className="text-base">
|
33 |
{siteType?.label ? (
|
34 |
<div
|
35 |
className="p-4 py-2 rounded-lg text-base flex bg-transparent border border-gray-600 cursor-pointer"
|
36 |
+
onClick={() => setPage('site-type')}
|
37 |
title={__(
|
38 |
'Press to change the site type',
|
39 |
'extendify',
|
42 |
</div>
|
43 |
) : (
|
44 |
<button
|
45 |
+
onClick={() => setPage('site-type')}
|
46 |
className="bg-transparent text-partner-primary underline text-base">
|
47 |
{__('Press to set a site type', 'extendify')}
|
48 |
</button>
|
55 |
{style?.label ? (
|
56 |
<div
|
57 |
className="cursor-pointer overflow-hidden border rounded-lg"
|
58 |
+
onClick={() => setPage('style')}
|
59 |
title={__(
|
60 |
'Press to change the site style',
|
61 |
'extendify',
|
72 |
</div>
|
73 |
) : (
|
74 |
<button
|
75 |
+
onClick={() => setPage('style')}
|
76 |
className="bg-transparent text-partner-primary underline text-base">
|
77 |
{__('Press to set a style type', 'extendify')}
|
78 |
</button>
|
85 |
{pages.length > 0 ? (
|
86 |
<div
|
87 |
className="flex items-start space-x-2 cursor-pointer w-full"
|
88 |
+
onClick={() => setPage('pages')}
|
89 |
title={__(
|
90 |
'Press to change the selected pages',
|
91 |
'extendify',
|
92 |
)}>
|
93 |
+
<div className="lg:flex space-y-6 -m-6 lg:space-y-0 flex-wrap">
|
94 |
{pages?.map((page) => {
|
95 |
return (
|
96 |
<div
|
97 |
+
className="p-6 relative"
|
98 |
style={{
|
99 |
height: 354,
|
100 |
width: 255,
|
112 |
</div>
|
113 |
) : (
|
114 |
<button
|
115 |
+
onClick={() => setPage('pages')}
|
116 |
className="bg-transparent text-partner-primary underline text-base">
|
117 |
{__('Press to set your pages', 'extendify')}
|
118 |
</button>
|
src/Onboarding/pages/SiteTypeSelect.js
CHANGED
@@ -78,6 +78,7 @@ export const SiteTypeSelect = () => {
|
|
78 |
label: optionValue.title,
|
79 |
recordId: optionValue.id,
|
80 |
slug: optionValue.slug,
|
|
|
81 |
})
|
82 |
|
83 |
// Update the site type in the library
|
@@ -94,14 +95,11 @@ export const SiteTypeSelect = () => {
|
|
94 |
return (
|
95 |
<PageLayout>
|
96 |
<div>
|
97 |
-
<h1 className="text-3xl text-
|
98 |
{__('What is your site about?', 'extendify')}
|
99 |
</h1>
|
100 |
<p className="text-base opacity-70">
|
101 |
-
{__(
|
102 |
-
'Search for the industry that best suits your site.',
|
103 |
-
'extendify',
|
104 |
-
)}
|
105 |
</p>
|
106 |
</div>
|
107 |
<div className="w-80">
|
@@ -180,7 +178,7 @@ const SelectButton = ({ option, selectSiteType }) => {
|
|
180 |
window.clearTimeout(hoveringTimeout.current)
|
181 |
}}
|
182 |
className="flex bg-gray-100 hover:bg-gray-200 items-center justify-between mb-2 p-4 py-3 relative w-full button-focus">
|
183 |
-
<span>{option.title}</span>
|
184 |
<LeftArrowIcon />
|
185 |
</button>
|
186 |
)
|
78 |
label: optionValue.title,
|
79 |
recordId: optionValue.id,
|
80 |
slug: optionValue.slug,
|
81 |
+
styles: optionValue.styles,
|
82 |
})
|
83 |
|
84 |
// Update the site type in the library
|
95 |
return (
|
96 |
<PageLayout>
|
97 |
<div>
|
98 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
99 |
{__('What is your site about?', 'extendify')}
|
100 |
</h1>
|
101 |
<p className="text-base opacity-70">
|
102 |
+
{__('Search for your site industry.', 'extendify')}
|
|
|
|
|
|
|
103 |
</p>
|
104 |
</div>
|
105 |
<div className="w-80">
|
178 |
window.clearTimeout(hoveringTimeout.current)
|
179 |
}}
|
180 |
className="flex bg-gray-100 hover:bg-gray-200 items-center justify-between mb-2 p-4 py-3 relative w-full button-focus">
|
181 |
+
<span className="text-left">{option.title}</span>
|
182 |
<LeftArrowIcon />
|
183 |
</button>
|
184 |
)
|
src/Onboarding/pages/SuggestedPlugins.js
CHANGED
@@ -13,10 +13,7 @@ export const fetchData = () => ({ key: 'suggested-plugins' })
|
|
13 |
export const SuggestedPlugins = () => {
|
14 |
// Airtable will tag the image url with a timestamp thus forcing a re-render on every fetch
|
15 |
// This will slow down revalidation to only occur if they are idle for 10 minutes
|
16 |
-
const { data: suggestedPlugins } = useFetch(fetchData, fetcher
|
17 |
-
dedupingInterval: 60_000,
|
18 |
-
refreshInterval: 0,
|
19 |
-
})
|
20 |
const { plugins, goals, toggle, has, add, remove } = useUserSelectionStore()
|
21 |
|
22 |
const nothingToRecommend = useMemo(() => {
|
@@ -61,7 +58,7 @@ export const SuggestedPlugins = () => {
|
|
61 |
return (
|
62 |
<PageLayout>
|
63 |
<div>
|
64 |
-
<h1 className="text-3xl text-
|
65 |
{__('Choose from these recommended plugins', 'extendify')}
|
66 |
</h1>
|
67 |
<p className="text-base opacity-70">
|
13 |
export const SuggestedPlugins = () => {
|
14 |
// Airtable will tag the image url with a timestamp thus forcing a re-render on every fetch
|
15 |
// This will slow down revalidation to only occur if they are idle for 10 minutes
|
16 |
+
const { data: suggestedPlugins } = useFetch(fetchData, fetcher)
|
|
|
|
|
|
|
17 |
const { plugins, goals, toggle, has, add, remove } = useUserSelectionStore()
|
18 |
|
19 |
const nothingToRecommend = useMemo(() => {
|
58 |
return (
|
59 |
<PageLayout>
|
60 |
<div>
|
61 |
+
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
62 |
{__('Choose from these recommended plugins', 'extendify')}
|
63 |
</h1>
|
64 |
<p className="text-base opacity-70">
|
src/Onboarding/state/Global.js
CHANGED
@@ -1,8 +1,20 @@
|
|
1 |
import create from 'zustand'
|
2 |
-
import { devtools } from 'zustand/middleware'
|
3 |
|
4 |
-
const store = () => ({
|
5 |
generating: false,
|
6 |
generatedPages: {},
|
|
|
|
|
|
|
|
|
7 |
})
|
8 |
-
export const useGlobalStore = create(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import create from 'zustand'
|
2 |
+
import { devtools, persist } from 'zustand/middleware'
|
3 |
|
4 |
+
const store = (set) => ({
|
5 |
generating: false,
|
6 |
generatedPages: {},
|
7 |
+
orderId: null,
|
8 |
+
setOrderId(orderId) {
|
9 |
+
set({ orderId })
|
10 |
+
},
|
11 |
})
|
12 |
+
export const useGlobalStore = create(
|
13 |
+
persist(devtools(store), {
|
14 |
+
name: 'extendify-launch-globals',
|
15 |
+
getStorage: () => localStorage,
|
16 |
+
partialize: (state) => ({
|
17 |
+
orderId: state?.orderId ?? null,
|
18 |
+
}),
|
19 |
+
}),
|
20 |
+
)
|
src/Onboarding/state/Pages.js
CHANGED
@@ -16,7 +16,7 @@ const store = (set, get) => ({
|
|
16 |
},
|
17 |
nextPageData() {
|
18 |
const nextIndex = get().currentPageIndex + 1
|
19 |
-
if (nextIndex > get().
|
20 |
return get().pages.get(get().pageOrder()[nextIndex])
|
21 |
},
|
22 |
setPage(page) {
|
@@ -24,7 +24,7 @@ const store = (set, get) => ({
|
|
24 |
if (typeof page === 'string') {
|
25 |
page = get().pageOrder().indexOf(page)
|
26 |
}
|
27 |
-
if (page > get().
|
28 |
if (page < 0) return
|
29 |
set({ currentPageIndex: page })
|
30 |
},
|
16 |
},
|
17 |
nextPageData() {
|
18 |
const nextIndex = get().currentPageIndex + 1
|
19 |
+
if (nextIndex > get().count() - 1) return {}
|
20 |
return get().pages.get(get().pageOrder()[nextIndex])
|
21 |
},
|
22 |
setPage(page) {
|
24 |
if (typeof page === 'string') {
|
25 |
page = get().pageOrder().indexOf(page)
|
26 |
}
|
27 |
+
if (page > get().count() - 1) return
|
28 |
if (page < 0) return
|
29 |
set({ currentPageIndex: page })
|
30 |
},
|
src/Onboarding/state/UserSelections.js
CHANGED
@@ -31,6 +31,9 @@ const store = (set, get) => ({
|
|
31 |
remove(type, item) {
|
32 |
set({ [type]: get()[type].filter((t) => t.id !== item.id) })
|
33 |
},
|
|
|
|
|
|
|
34 |
toggle(type, item) {
|
35 |
if (get().has(type, item)) {
|
36 |
get().remove(type, item)
|
@@ -55,7 +58,15 @@ const store = (set, get) => ({
|
|
55 |
})
|
56 |
export const useUserSelectionStore = create(
|
57 |
persist(devtools(store), {
|
58 |
-
name: 'extendify',
|
59 |
getStorage: () => sessionStorage,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
}),
|
61 |
)
|
31 |
remove(type, item) {
|
32 |
set({ [type]: get()[type].filter((t) => t.id !== item.id) })
|
33 |
},
|
34 |
+
reset(type) {
|
35 |
+
set({ [type]: [] })
|
36 |
+
},
|
37 |
toggle(type, item) {
|
38 |
if (get().has(type, item)) {
|
39 |
get().remove(type, item)
|
58 |
})
|
59 |
export const useUserSelectionStore = create(
|
60 |
persist(devtools(store), {
|
61 |
+
name: 'extendify-site-selection',
|
62 |
getStorage: () => sessionStorage,
|
63 |
+
partialize: (state) => ({
|
64 |
+
orderId: state?.orderId ?? null,
|
65 |
+
siteType: state?.siteType ?? {},
|
66 |
+
style: state?.style ?? null,
|
67 |
+
pages: state?.pages ?? [],
|
68 |
+
plugins: state?.plugins ?? [],
|
69 |
+
goals: state?.goals ?? [],
|
70 |
+
}),
|
71 |
}),
|
72 |
)
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitb8dce3fe5fcd647f7816dc5b2f349b32::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitca3a0e826f8d4d56f78ebacbdecfa86d
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitb8dce3fe5fcd647f7816dc5b2f349b32
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitb8dce3fe5fcd647f7816dc5b2f349b32', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb8dce3fe5fcd647f7816dc5b2f349b32', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitb8dce3fe5fcd647f7816dc5b2f349b32::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'E' =>
|
@@ -23,8 +23,8 @@ class ComposerStaticInitca3a0e826f8d4d56f78ebacbdecfa86d
|
|
23 |
public static function getInitializer(ClassLoader $loader)
|
24 |
{
|
25 |
return \Closure::bind(function () use ($loader) {
|
26 |
-
$loader->prefixLengthsPsr4 =
|
27 |
-
$loader->prefixDirsPsr4 =
|
28 |
|
29 |
}, null, ClassLoader::class);
|
30 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitb8dce3fe5fcd647f7816dc5b2f349b32
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'E' =>
|
23 |
public static function getInitializer(ClassLoader $loader)
|
24 |
{
|
25 |
return \Closure::bind(function () use ($loader) {
|
26 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitb8dce3fe5fcd647f7816dc5b2f349b32::$prefixLengthsPsr4;
|
27 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitb8dce3fe5fcd647f7816dc5b2f349b32::$prefixDirsPsr4;
|
28 |
|
29 |
}, null, ClassLoader::class);
|
30 |
}
|